asamap 1.0.5 → 1.0.7
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/README.md +47 -0
- package/dist/index.mjs +343 -244
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,2 +1,49 @@
|
|
|
1
1
|
# Asa Map
|
|
2
2
|
|
|
3
|
+
This is a standardized dictionary data management plugin designed specifically for Asa projects or technology stacks, aimed at solving the maintenance and usage issues of mapping relationships such as enumeration values, status codes, and type options that frequently occur during the development process. It pre integrates about 80% of commonly used static dictionaries in the Asa system (such as status, type, classification, region, etc.) and provides a consistent and convenient way to call them, significantly reducing duplicate definitions and improving development efficiency and code consistency.
|
|
4
|
+
|
|
5
|
+
## core functionality
|
|
6
|
+
### 📚 High coverage dictionary set
|
|
7
|
+
Carefully selected and built-in with over 80% of commonly used mapping relationships in Asa business scenarios, covering user status, order type, business classification, universal identification, etc., eliminating the need for manual maintenance from scratch.
|
|
8
|
+
|
|
9
|
+
### 🔄 Dual mode output, suitable for different scenarios
|
|
10
|
+
Each dictionary provides two data structures, Array and Object:
|
|
11
|
+
|
|
12
|
+
Array mode: suitable for scenes that directly consume arrays, such as drop-down selection boxes, single selection groups, list rendering, etc., with formats such as [{label: 'enable', value: 1},...].
|
|
13
|
+
|
|
14
|
+
Object mode: suitable for quick key value lookup, mapping echo, logical judgment, etc., with formats such as {1: 'enable', 0: 'disable'}, supporting quick tag retrieval through values.
|
|
15
|
+
|
|
16
|
+
### 🎯 Ready to use, unified management
|
|
17
|
+
Dictionary dataset maintenance, decoupled from the project but easy to call. There is no need to repeatedly define the same state mapping in multiple business modules, ensuring that dictionary values with the same meaning are completely consistent throughout the entire system.
|
|
18
|
+
|
|
19
|
+
### ⚙️ Lightweight and type friendly
|
|
20
|
+
Provide good type hints for TypeScript, which can obtain complete value type and tag type inference when called, improving development experience and code security.
|
|
21
|
+
|
|
22
|
+
## Typical usage scenarios
|
|
23
|
+
Form dropdown options: directly obtain the Array format dictionary and bind it to components such as el select and a-select.
|
|
24
|
+
|
|
25
|
+
Table status display: Based on the values in the data, quickly map the corresponding display labels using Object format.
|
|
26
|
+
|
|
27
|
+
Logical judgment and filtering: Directly reference dictionary constants in the code to avoid magic numbers or strings.
|
|
28
|
+
|
|
29
|
+
Unified data format: Ensure that the meaning and display of fields such as status and type remain consistent during front-end and back-end interaction.
|
|
30
|
+
|
|
31
|
+
## Why do we need it?
|
|
32
|
+
In the development of the Asa project, different modules often use the same state enumeration (such as "0=not enabled, 1=enabled"). If each developer or module defines themselves, it will result in:
|
|
33
|
+
|
|
34
|
+
Distributed definition, difficult maintenance
|
|
35
|
+
|
|
36
|
+
Easy to generate duplicate definitions with inconsistent meanings
|
|
37
|
+
|
|
38
|
+
Repetitive writing of echo logic
|
|
39
|
+
|
|
40
|
+
This plugin standardizes and centralizes these dictionaries, providing a set of call schemes that are superior to configuration. You no longer need to manually maintain these mapping arrays, nor do you have to worry about inconsistent state labels between different pages.
|
|
41
|
+
|
|
42
|
+
## Precautions
|
|
43
|
+
This plugin is highly customized for Asa technology stack or business system, and the dictionary content is based on its conventional business abstraction, which may not be fully applicable to other projects with completely different architectures.
|
|
44
|
+
|
|
45
|
+
The remaining 20% are very business specific dictionaries, and it is recommended that they be managed by the project itself in the same way to maintain consistency in usage habits.
|
|
46
|
+
|
|
47
|
+
The plugin itself does not provide asynchronous dictionary retrieval or dynamic update functions, but focuses on the management and use of static dictionaries.
|
|
48
|
+
|
|
49
|
+
By using this plugin, Asa project developers can bid farewell to trivial dictionary definitions and focus more on business logic implementation, while ensuring that the dictionary data of the entire system is clear, consistent, and easy to maintain.
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const m = [
|
|
2
2
|
{
|
|
3
3
|
label: "Today Tab",
|
|
4
4
|
value: "APPSTORE_TODAY_TAB",
|
|
@@ -23,17 +23,17 @@ const h = [
|
|
|
23
23
|
description: "Reach users when they're browsing apps.",
|
|
24
24
|
description1: "Reach users when they're browsing apps. Your ad will appear at the top of the You Might Also Like list to users who have scrolled to the bottom of relevant product pages."
|
|
25
25
|
}
|
|
26
|
-
],
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
], z = {};
|
|
27
|
+
m.forEach((e) => {
|
|
28
|
+
z[e.value] = e;
|
|
29
29
|
});
|
|
30
|
-
const
|
|
31
|
-
arr:
|
|
32
|
-
obj:
|
|
33
|
-
},
|
|
30
|
+
const oe = {
|
|
31
|
+
arr: m,
|
|
32
|
+
obj: z
|
|
33
|
+
}, ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
34
|
__proto__: null,
|
|
35
|
-
default:
|
|
36
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
35
|
+
default: oe
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), A = [
|
|
37
37
|
{
|
|
38
38
|
label: 18,
|
|
39
39
|
value: 18
|
|
@@ -222,26 +222,26 @@ const _e = {
|
|
|
222
222
|
label: 64,
|
|
223
223
|
value: 64
|
|
224
224
|
}
|
|
225
|
-
],
|
|
225
|
+
], ue = [
|
|
226
226
|
{
|
|
227
227
|
label: "All",
|
|
228
228
|
value: "All"
|
|
229
229
|
},
|
|
230
|
-
...
|
|
231
|
-
],
|
|
230
|
+
...A
|
|
231
|
+
], be = [
|
|
232
232
|
// ...minOptions,
|
|
233
|
-
...
|
|
233
|
+
...A,
|
|
234
234
|
{
|
|
235
235
|
label: "65+",
|
|
236
236
|
value: 65
|
|
237
237
|
}
|
|
238
|
-
],
|
|
239
|
-
minOptions:
|
|
240
|
-
maxOptions:
|
|
238
|
+
], re = {
|
|
239
|
+
minOptions: ue,
|
|
240
|
+
maxOptions: be
|
|
241
241
|
}, se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
242
242
|
__proto__: null,
|
|
243
|
-
default:
|
|
244
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
243
|
+
default: re
|
|
244
|
+
}, Symbol.toStringTag, { value: "Module" })), b = [
|
|
245
245
|
{
|
|
246
246
|
label: "All Categories",
|
|
247
247
|
value: 0,
|
|
@@ -472,42 +472,42 @@ const _e = {
|
|
|
472
472
|
value: 7019,
|
|
473
473
|
label_zh_cn: "字谜"
|
|
474
474
|
}
|
|
475
|
-
],
|
|
475
|
+
], p = {
|
|
476
476
|
label: "App",
|
|
477
477
|
value: 5e3,
|
|
478
478
|
children: []
|
|
479
|
-
},
|
|
479
|
+
}, o = {
|
|
480
480
|
label: "Game",
|
|
481
481
|
value: 6014,
|
|
482
482
|
children: []
|
|
483
483
|
};
|
|
484
|
-
|
|
485
|
-
e.label.includes("Game") ? e.label !== "Games" ?
|
|
484
|
+
b.forEach((e) => {
|
|
485
|
+
e.label.includes("Game") ? e.label !== "Games" ? o.children.push(e) : o.value = e.value : e.value && p.children.push(e);
|
|
486
486
|
});
|
|
487
|
-
|
|
487
|
+
o.children.unshift({
|
|
488
488
|
label: "Game",
|
|
489
489
|
value: 6014,
|
|
490
490
|
label_zh_cn: "游戏"
|
|
491
491
|
});
|
|
492
|
-
const
|
|
492
|
+
const te = [
|
|
493
493
|
{
|
|
494
494
|
label: "All Categories",
|
|
495
495
|
value: 0
|
|
496
496
|
},
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
],
|
|
500
|
-
|
|
501
|
-
|
|
497
|
+
p,
|
|
498
|
+
o
|
|
499
|
+
], g = {};
|
|
500
|
+
b.forEach((e) => {
|
|
501
|
+
g[e.value] = e;
|
|
502
502
|
});
|
|
503
|
-
const
|
|
504
|
-
arr:
|
|
505
|
-
tree:
|
|
506
|
-
obj:
|
|
507
|
-
},
|
|
503
|
+
const de = {
|
|
504
|
+
arr: b,
|
|
505
|
+
tree: te,
|
|
506
|
+
obj: g
|
|
507
|
+
}, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
508
508
|
__proto__: null,
|
|
509
|
-
default:
|
|
510
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
509
|
+
default: de
|
|
510
|
+
}, Symbol.toStringTag, { value: "Module" })), f = [
|
|
511
511
|
{
|
|
512
512
|
label: "All categories",
|
|
513
513
|
value: "All categories"
|
|
@@ -520,14 +520,14 @@ const te = {
|
|
|
520
520
|
label: "Other categories",
|
|
521
521
|
value: "Other categories"
|
|
522
522
|
}
|
|
523
|
-
],
|
|
524
|
-
|
|
525
|
-
|
|
523
|
+
], T = {};
|
|
524
|
+
f.forEach((e) => {
|
|
525
|
+
T[e.value] = e;
|
|
526
526
|
});
|
|
527
|
-
const
|
|
527
|
+
const he = { arr: f, obj: T }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
528
528
|
__proto__: null,
|
|
529
|
-
default:
|
|
530
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
529
|
+
default: he
|
|
530
|
+
}, Symbol.toStringTag, { value: "Module" })), w = [
|
|
531
531
|
{
|
|
532
532
|
label: "All Users",
|
|
533
533
|
value: "All Users"
|
|
@@ -536,8 +536,8 @@ const ve = { arr: g, obj: f }, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ *
|
|
|
536
536
|
label: "New Users",
|
|
537
537
|
value: "New Users"
|
|
538
538
|
}
|
|
539
|
-
],
|
|
540
|
-
...
|
|
539
|
+
], M = [
|
|
540
|
+
...w,
|
|
541
541
|
{
|
|
542
542
|
label: "Users of my other apps",
|
|
543
543
|
value: "Users of my other apps"
|
|
@@ -547,12 +547,12 @@ const ve = { arr: g, obj: f }, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ *
|
|
|
547
547
|
value: "Returning Users"
|
|
548
548
|
}
|
|
549
549
|
], E = {};
|
|
550
|
-
|
|
550
|
+
M.forEach((e) => {
|
|
551
551
|
E[e.value] = e;
|
|
552
552
|
});
|
|
553
|
-
const
|
|
553
|
+
const ze = { normal: w, all: M, obj: E }, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
554
554
|
__proto__: null,
|
|
555
|
-
default:
|
|
555
|
+
default: ze
|
|
556
556
|
}, Symbol.toStringTag, { value: "Module" })), S = [
|
|
557
557
|
{
|
|
558
558
|
label: "iPhone",
|
|
@@ -564,14 +564,14 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
|
|
|
564
564
|
value: "IPAD",
|
|
565
565
|
icon: "im-ipad"
|
|
566
566
|
}
|
|
567
|
-
],
|
|
567
|
+
], pe = [
|
|
568
568
|
{
|
|
569
569
|
label: "iPhone & iPad",
|
|
570
570
|
value: "IPHONE,IPAD",
|
|
571
571
|
icon: "im-iphone_ipad"
|
|
572
572
|
},
|
|
573
573
|
...S
|
|
574
|
-
],
|
|
574
|
+
], ge = {
|
|
575
575
|
"IPHONE,IPAD": {
|
|
576
576
|
label: "iPhone & iPad",
|
|
577
577
|
value: "IPHONE,IPAD",
|
|
@@ -587,10 +587,10 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
|
|
|
587
587
|
value: "IPAD",
|
|
588
588
|
icon: "im-ipad"
|
|
589
589
|
}
|
|
590
|
-
},
|
|
590
|
+
}, fe = { arr: S, all: pe, obj: ge }, Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
591
591
|
__proto__: null,
|
|
592
|
-
default:
|
|
593
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
592
|
+
default: fe
|
|
593
|
+
}, Symbol.toStringTag, { value: "Module" })), y = [
|
|
594
594
|
{
|
|
595
595
|
label: "Male",
|
|
596
596
|
value: "M",
|
|
@@ -601,14 +601,14 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
|
|
|
601
601
|
value: "F",
|
|
602
602
|
icon: "im-female"
|
|
603
603
|
}
|
|
604
|
-
],
|
|
604
|
+
], we = [
|
|
605
605
|
{
|
|
606
606
|
label: "All",
|
|
607
607
|
value: "M,F",
|
|
608
608
|
icon: "im-male_female"
|
|
609
609
|
},
|
|
610
|
-
...
|
|
611
|
-
],
|
|
610
|
+
...y
|
|
611
|
+
], Me = {
|
|
612
612
|
"M,F": {
|
|
613
613
|
label: "All",
|
|
614
614
|
value: "M,F",
|
|
@@ -624,10 +624,10 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
|
|
|
624
624
|
value: "F",
|
|
625
625
|
icon: "im-female"
|
|
626
626
|
}
|
|
627
|
-
}, Ee = { normal:
|
|
627
|
+
}, Ee = { normal: y, all: we, obj: Me }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
628
628
|
__proto__: null,
|
|
629
629
|
default: Ee
|
|
630
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
630
|
+
}, Symbol.toStringTag, { value: "Module" })), ye = [
|
|
631
631
|
{
|
|
632
632
|
label: "None",
|
|
633
633
|
label_en_us: "None",
|
|
@@ -670,10 +670,10 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
|
|
|
670
670
|
value: 5,
|
|
671
671
|
color: "txt-orange-i"
|
|
672
672
|
}
|
|
673
|
-
],
|
|
673
|
+
], Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
674
674
|
__proto__: null,
|
|
675
|
-
default:
|
|
676
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
675
|
+
default: ye
|
|
676
|
+
}, Symbol.toStringTag, { value: "Module" })), P = [
|
|
677
677
|
{
|
|
678
678
|
label: "Exact",
|
|
679
679
|
value: "EXACT"
|
|
@@ -682,17 +682,84 @@ const me = { normal: T, all: w, obj: E }, ze = /* @__PURE__ */ Object.freeze(/*
|
|
|
682
682
|
label: "Broad",
|
|
683
683
|
value: "BROAD"
|
|
684
684
|
}
|
|
685
|
-
],
|
|
686
|
-
|
|
687
|
-
|
|
685
|
+
], C = {};
|
|
686
|
+
P.forEach((e) => {
|
|
687
|
+
C[e.value] = e;
|
|
688
688
|
});
|
|
689
|
-
const
|
|
690
|
-
normal:
|
|
691
|
-
obj:
|
|
692
|
-
},
|
|
689
|
+
const Ce = {
|
|
690
|
+
normal: P,
|
|
691
|
+
obj: C
|
|
692
|
+
}, ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
693
|
+
__proto__: null,
|
|
694
|
+
default: Ce
|
|
695
|
+
}, Symbol.toStringTag, { value: "Module" })), i = [
|
|
696
|
+
{
|
|
697
|
+
label: "Pre-Orders",
|
|
698
|
+
visible: !0,
|
|
699
|
+
chartType: "line",
|
|
700
|
+
value: "tapPreOrders",
|
|
701
|
+
width: 144,
|
|
702
|
+
align: "right",
|
|
703
|
+
formatter: (e) => e.tapPreOrders || 0
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
label: "View Pre-Orders",
|
|
707
|
+
visible: !0,
|
|
708
|
+
chartType: "line",
|
|
709
|
+
value: "viewPreOrders",
|
|
710
|
+
width: 144,
|
|
711
|
+
align: "right",
|
|
712
|
+
formatter: (e) => e.viewPreOrders || 0
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
label: "Total Pre-Orders",
|
|
716
|
+
visible: !0,
|
|
717
|
+
chartType: "line",
|
|
718
|
+
value: "totalPreOrders",
|
|
719
|
+
width: 144,
|
|
720
|
+
align: "right",
|
|
721
|
+
formatter: (e) => e.totalPreOrders || 0
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
label: "Avg CPA Pre-Orders(Tap Through)",
|
|
725
|
+
visible: !0,
|
|
726
|
+
chartType: "line",
|
|
727
|
+
value: "cpaTapPreOrders",
|
|
728
|
+
width: 160,
|
|
729
|
+
align: "right",
|
|
730
|
+
formatter: (e) => e.cpaTapPreOrders || 0
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
label: "Avg CPA Pre-Orders(Total)",
|
|
734
|
+
visible: !0,
|
|
735
|
+
chartType: "line",
|
|
736
|
+
value: "cpaTotalPreOrders",
|
|
737
|
+
width: 160,
|
|
738
|
+
align: "right",
|
|
739
|
+
formatter: (e) => e.cpaTotalPreOrders || 0
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
label: "CR Pre-Orders(Tap Through)",
|
|
743
|
+
visible: !0,
|
|
744
|
+
chartType: "line",
|
|
745
|
+
value: "crTapPreOrders",
|
|
746
|
+
width: 160,
|
|
747
|
+
align: "right",
|
|
748
|
+
formatter: (e) => e.crTapPreOrders || 0
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
label: "CR Pre-Orders(Total)",
|
|
752
|
+
visible: !0,
|
|
753
|
+
chartType: "line",
|
|
754
|
+
value: "crTotalPreOrders",
|
|
755
|
+
width: 160,
|
|
756
|
+
align: "right",
|
|
757
|
+
formatter: (e) => e.crTotalPreOrders || 0
|
|
758
|
+
}
|
|
759
|
+
], Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
693
760
|
__proto__: null,
|
|
694
|
-
default:
|
|
695
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
761
|
+
default: i
|
|
762
|
+
}, Symbol.toStringTag, { value: "Module" })), k = [
|
|
696
763
|
{
|
|
697
764
|
label: "Spend",
|
|
698
765
|
unit: "currency",
|
|
@@ -760,12 +827,13 @@ const Pe = {
|
|
|
760
827
|
visible: !0,
|
|
761
828
|
chartType: "line",
|
|
762
829
|
value: "ttr"
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
830
|
+
},
|
|
831
|
+
...i
|
|
832
|
+
], G = {};
|
|
833
|
+
k.forEach((e) => {
|
|
834
|
+
G[e.value] = e;
|
|
767
835
|
});
|
|
768
|
-
const
|
|
836
|
+
const D = [
|
|
769
837
|
{
|
|
770
838
|
label: "Spend",
|
|
771
839
|
unit: "currency",
|
|
@@ -866,6 +934,7 @@ const G = [
|
|
|
866
934
|
align: "right",
|
|
867
935
|
formatter: (e) => e.ttrFormat || "0"
|
|
868
936
|
},
|
|
937
|
+
...i,
|
|
869
938
|
{
|
|
870
939
|
label: "MMP Installs",
|
|
871
940
|
precision: 0,
|
|
@@ -977,14 +1046,14 @@ const G = [
|
|
|
977
1046
|
value: "viewReDownloads",
|
|
978
1047
|
formatter: (e) => e.viewReDownloadsFormat || "0"
|
|
979
1048
|
}
|
|
980
|
-
],
|
|
981
|
-
|
|
982
|
-
|
|
1049
|
+
], I = {};
|
|
1050
|
+
D.forEach((e) => {
|
|
1051
|
+
I[e.value] = e;
|
|
983
1052
|
});
|
|
984
|
-
const
|
|
1053
|
+
const De = { base8: k, base8Obj: G, all: D, allObj: I }, Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
985
1054
|
__proto__: null,
|
|
986
|
-
default:
|
|
987
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1055
|
+
default: De
|
|
1056
|
+
}, Symbol.toStringTag, { value: "Module" })), Re = [
|
|
988
1057
|
{
|
|
989
1058
|
label: "Spend",
|
|
990
1059
|
label_en_us: "Spend",
|
|
@@ -1218,10 +1287,10 @@ const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Ob
|
|
|
1218
1287
|
value: "viewReDownloads",
|
|
1219
1288
|
formatter: (e) => e.viewReDownloadsFormat || 0
|
|
1220
1289
|
}
|
|
1221
|
-
],
|
|
1290
|
+
], Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1222
1291
|
__proto__: null,
|
|
1223
|
-
default:
|
|
1224
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1292
|
+
default: Re
|
|
1293
|
+
}, Symbol.toStringTag, { value: "Module" })), Ne = [
|
|
1225
1294
|
{
|
|
1226
1295
|
label: "MMP CPI",
|
|
1227
1296
|
value: "mmpCPI",
|
|
@@ -1453,12 +1522,12 @@ const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Ob
|
|
|
1453
1522
|
align: "right",
|
|
1454
1523
|
visible: !1
|
|
1455
1524
|
}
|
|
1456
|
-
],
|
|
1457
|
-
arr:
|
|
1458
|
-
},
|
|
1525
|
+
], je = {
|
|
1526
|
+
arr: Ne
|
|
1527
|
+
}, Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1459
1528
|
__proto__: null,
|
|
1460
|
-
default:
|
|
1461
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1529
|
+
default: je
|
|
1530
|
+
}, Symbol.toStringTag, { value: "Module" })), Ke = [
|
|
1462
1531
|
{
|
|
1463
1532
|
label: "None",
|
|
1464
1533
|
value: 0
|
|
@@ -1475,18 +1544,18 @@ const ke = { base8: C, base8Obj: k, all: G, allObj: D }, Ge = /* @__PURE__ */ Ob
|
|
|
1475
1544
|
label: "Generic",
|
|
1476
1545
|
value: 3
|
|
1477
1546
|
}
|
|
1478
|
-
],
|
|
1547
|
+
], Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1479
1548
|
__proto__: null,
|
|
1480
|
-
default:
|
|
1481
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1482
|
-
Object.keys(
|
|
1549
|
+
default: Ke
|
|
1550
|
+
}, Symbol.toStringTag, { value: "Module" })), t = /* @__PURE__ */ Object.assign({ "./asa/adplacement.js": ce, "./asa/age.js": se, "./asa/appCategory.js": ve, "./asa/category.js": me, "./asa/customerType.js": Ae, "./asa/device.js": Te, "./asa/gender.js": Se, "./asa/level.js": Pe, "./asa/matchType.js": ke, "./asa/metric.js": Ie, "./asa/metricAsa.js": Be, "./asa/metricEX.js": Ge, "./asa/metricMmp.js": Oe, "./asa/tag.js": Le }), R = {};
|
|
1551
|
+
Object.keys(t).map((e) => {
|
|
1483
1552
|
const a = e.match(/asa\/(\S*).js/)[1];
|
|
1484
|
-
|
|
1553
|
+
R[a] = t[e].default;
|
|
1485
1554
|
});
|
|
1486
|
-
const
|
|
1555
|
+
const Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1487
1556
|
__proto__: null,
|
|
1488
|
-
default:
|
|
1489
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1557
|
+
default: R
|
|
1558
|
+
}, Symbol.toStringTag, { value: "Module" })), Ve = [
|
|
1490
1559
|
{
|
|
1491
1560
|
label: "ASA Knowledge Base Q&A",
|
|
1492
1561
|
value: "AIBtnValue1"
|
|
@@ -1510,10 +1579,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1510
1579
|
sub: "Need Choose an App",
|
|
1511
1580
|
value: "AIBtnValue4"
|
|
1512
1581
|
}
|
|
1513
|
-
],
|
|
1582
|
+
], Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1514
1583
|
__proto__: null,
|
|
1515
|
-
default:
|
|
1516
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1584
|
+
default: Ve
|
|
1585
|
+
}, Symbol.toStringTag, { value: "Module" })), He = [
|
|
1517
1586
|
{
|
|
1518
1587
|
label: "All",
|
|
1519
1588
|
value: 36
|
|
@@ -1702,10 +1771,10 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1702
1771
|
}
|
|
1703
1772
|
]
|
|
1704
1773
|
}
|
|
1705
|
-
],
|
|
1774
|
+
], xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1706
1775
|
__proto__: null,
|
|
1707
|
-
default:
|
|
1708
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1776
|
+
default: He
|
|
1777
|
+
}, Symbol.toStringTag, { value: "Module" })), Ye = {
|
|
1709
1778
|
RMB: {
|
|
1710
1779
|
symbol: "¥",
|
|
1711
1780
|
code: "CNY"
|
|
@@ -1722,18 +1791,18 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1722
1791
|
symbol: "$",
|
|
1723
1792
|
code: "JPY"
|
|
1724
1793
|
}
|
|
1725
|
-
},
|
|
1794
|
+
}, Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1726
1795
|
__proto__: null,
|
|
1727
|
-
default:
|
|
1728
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1796
|
+
default: Ye
|
|
1797
|
+
}, Symbol.toStringTag, { value: "Module" })), Ze = {
|
|
1729
1798
|
RMB: "¥",
|
|
1730
1799
|
CNY: "¥",
|
|
1731
1800
|
USD: "$",
|
|
1732
1801
|
JPY: "¥"
|
|
1733
|
-
},
|
|
1802
|
+
}, We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1734
1803
|
__proto__: null,
|
|
1735
|
-
default:
|
|
1736
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1804
|
+
default: Ze
|
|
1805
|
+
}, Symbol.toStringTag, { value: "Module" })), $e = [
|
|
1737
1806
|
{
|
|
1738
1807
|
label: "Day",
|
|
1739
1808
|
value: "day"
|
|
@@ -1742,16 +1811,16 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1742
1811
|
label: "Week",
|
|
1743
1812
|
value: "week"
|
|
1744
1813
|
}
|
|
1745
|
-
],
|
|
1814
|
+
], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1746
1815
|
__proto__: null,
|
|
1747
|
-
dayOrWeekOption:
|
|
1748
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1816
|
+
dayOrWeekOption: $e
|
|
1817
|
+
}, Symbol.toStringTag, { value: "Module" })), Qe = {
|
|
1749
1818
|
data: "No Data",
|
|
1750
1819
|
selection: "No Selection"
|
|
1751
|
-
},
|
|
1820
|
+
}, Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1752
1821
|
__proto__: null,
|
|
1753
|
-
default:
|
|
1754
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1822
|
+
default: Qe
|
|
1823
|
+
}, Symbol.toStringTag, { value: "Module" })), ea = {
|
|
1755
1824
|
id: "3701322",
|
|
1756
1825
|
name: "iADBrain",
|
|
1757
1826
|
font_family: "imicon",
|
|
@@ -2816,18 +2885,18 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2816
2885
|
unicode_decimal: 58952
|
|
2817
2886
|
}
|
|
2818
2887
|
]
|
|
2819
|
-
},
|
|
2888
|
+
}, aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2820
2889
|
__proto__: null,
|
|
2821
|
-
default:
|
|
2822
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2890
|
+
default: ea
|
|
2891
|
+
}, Symbol.toStringTag, { value: "Module" })), la = {
|
|
2823
2892
|
zh_cn: "zh_CN",
|
|
2824
2893
|
en_us: "en_US",
|
|
2825
2894
|
ja_jp: "ja_JP",
|
|
2826
2895
|
ko_kr: "ko_KR"
|
|
2827
|
-
},
|
|
2896
|
+
}, na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2828
2897
|
__proto__: null,
|
|
2829
|
-
default:
|
|
2830
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2898
|
+
default: la
|
|
2899
|
+
}, Symbol.toStringTag, { value: "Module" })), B = [
|
|
2831
2900
|
{
|
|
2832
2901
|
code: "af_",
|
|
2833
2902
|
name: "Afrikaans"
|
|
@@ -5416,17 +5485,17 @@ const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5416
5485
|
code: "zh_Hant",
|
|
5417
5486
|
name: "Chinese Traditional"
|
|
5418
5487
|
}
|
|
5419
|
-
],
|
|
5420
|
-
|
|
5421
|
-
|
|
5488
|
+
], N = {};
|
|
5489
|
+
B.forEach((e) => {
|
|
5490
|
+
N[e.code] = e;
|
|
5422
5491
|
});
|
|
5423
|
-
const
|
|
5424
|
-
arr:
|
|
5425
|
-
obj:
|
|
5426
|
-
},
|
|
5492
|
+
const ia = {
|
|
5493
|
+
arr: B,
|
|
5494
|
+
obj: N
|
|
5495
|
+
}, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5427
5496
|
__proto__: null,
|
|
5428
|
-
default:
|
|
5429
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5497
|
+
default: ia
|
|
5498
|
+
}, Symbol.toStringTag, { value: "Module" })), r = [
|
|
5430
5499
|
{
|
|
5431
5500
|
label: "Spend",
|
|
5432
5501
|
label_en_us: "Spend",
|
|
@@ -5686,18 +5755,19 @@ const la = {
|
|
|
5686
5755
|
align: "right",
|
|
5687
5756
|
value: "viewReDownloads",
|
|
5688
5757
|
formatter: (e) => e.viewReDownloadsFormat || "0"
|
|
5689
|
-
}
|
|
5690
|
-
|
|
5758
|
+
},
|
|
5759
|
+
...i
|
|
5760
|
+
], oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5691
5761
|
__proto__: null,
|
|
5692
|
-
default:
|
|
5693
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5694
|
-
|
|
5695
|
-
|
|
5762
|
+
default: r
|
|
5763
|
+
}, Symbol.toStringTag, { value: "Module" })), u = [];
|
|
5764
|
+
r.forEach((e) => {
|
|
5765
|
+
u.filter((a) => a.value === e.value).length === 0 && u.push(e);
|
|
5696
5766
|
});
|
|
5697
|
-
const
|
|
5767
|
+
const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5698
5768
|
__proto__: null,
|
|
5699
|
-
default:
|
|
5700
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5769
|
+
default: u
|
|
5770
|
+
}, Symbol.toStringTag, { value: "Module" })), j = [
|
|
5701
5771
|
{
|
|
5702
5772
|
label: "Spend",
|
|
5703
5773
|
label_en_us: "Spend",
|
|
@@ -5929,22 +5999,23 @@ const _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5929
5999
|
type: "base",
|
|
5930
6000
|
value: "viewReDownloads",
|
|
5931
6001
|
formatter: (e) => e.viewReDownloadsFormat || "0"
|
|
5932
|
-
}
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
6002
|
+
},
|
|
6003
|
+
...i
|
|
6004
|
+
], O = {};
|
|
6005
|
+
j.forEach((e) => {
|
|
6006
|
+
O[e.value] = e;
|
|
5936
6007
|
});
|
|
5937
6008
|
const K = {
|
|
5938
|
-
arr:
|
|
5939
|
-
obj:
|
|
5940
|
-
},
|
|
6009
|
+
arr: j,
|
|
6010
|
+
obj: O
|
|
6011
|
+
}, ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5941
6012
|
__proto__: null,
|
|
5942
6013
|
default: K
|
|
5943
6014
|
}, Symbol.toStringTag, { value: "Module" })), L = {};
|
|
5944
|
-
[...K.arr, ...
|
|
6015
|
+
[...K.arr, ...r].forEach((e) => {
|
|
5945
6016
|
L[e.value] = e;
|
|
5946
6017
|
});
|
|
5947
|
-
const
|
|
6018
|
+
const ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5948
6019
|
__proto__: null,
|
|
5949
6020
|
default: L
|
|
5950
6021
|
}, Symbol.toStringTag, { value: "Module" })), F = [
|
|
@@ -6211,17 +6282,17 @@ const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6211
6282
|
align: "right",
|
|
6212
6283
|
formatter: (e) => e.revenueFormat || "0"
|
|
6213
6284
|
}
|
|
6214
|
-
],
|
|
6285
|
+
], V = {};
|
|
6215
6286
|
F.forEach((e) => {
|
|
6216
|
-
|
|
6287
|
+
V[e.value] = e;
|
|
6217
6288
|
});
|
|
6218
|
-
const
|
|
6289
|
+
const ra = {
|
|
6219
6290
|
arr: F,
|
|
6220
|
-
obj:
|
|
6221
|
-
},
|
|
6291
|
+
obj: V
|
|
6292
|
+
}, sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6222
6293
|
__proto__: null,
|
|
6223
|
-
default:
|
|
6224
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6294
|
+
default: ra
|
|
6295
|
+
}, Symbol.toStringTag, { value: "Module" })), U = [
|
|
6225
6296
|
{
|
|
6226
6297
|
label: "MMP CPI",
|
|
6227
6298
|
value: "mmpCPI",
|
|
@@ -6301,17 +6372,17 @@ const ua = {
|
|
|
6301
6372
|
align: "right",
|
|
6302
6373
|
visible: !0
|
|
6303
6374
|
}
|
|
6304
|
-
],
|
|
6305
|
-
|
|
6306
|
-
|
|
6375
|
+
], H = {};
|
|
6376
|
+
U.forEach((e) => {
|
|
6377
|
+
H[e.value] = e;
|
|
6307
6378
|
});
|
|
6308
|
-
const
|
|
6309
|
-
arr:
|
|
6310
|
-
obj:
|
|
6311
|
-
},
|
|
6379
|
+
const ta = {
|
|
6380
|
+
arr: U,
|
|
6381
|
+
obj: H
|
|
6382
|
+
}, da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6312
6383
|
__proto__: null,
|
|
6313
|
-
default:
|
|
6314
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6384
|
+
default: ta
|
|
6385
|
+
}, Symbol.toStringTag, { value: "Module" })), va = [
|
|
6315
6386
|
{
|
|
6316
6387
|
label: "View",
|
|
6317
6388
|
label_en_us: "View",
|
|
@@ -6376,10 +6447,10 @@ const sa = {
|
|
|
6376
6447
|
tips: "You Can Create Monitor"
|
|
6377
6448
|
}
|
|
6378
6449
|
// { icon: 'imicon im-cohort txt-purple', tips: 'From OAuth' },
|
|
6379
|
-
],
|
|
6450
|
+
], ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6380
6451
|
__proto__: null,
|
|
6381
|
-
default:
|
|
6382
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6452
|
+
default: va
|
|
6453
|
+
}, Symbol.toStringTag, { value: "Module" })), ma = [
|
|
6383
6454
|
{
|
|
6384
6455
|
label: "IOS",
|
|
6385
6456
|
value: 0,
|
|
@@ -6392,10 +6463,10 @@ const sa = {
|
|
|
6392
6463
|
icon: "im-android",
|
|
6393
6464
|
color: "#20c997"
|
|
6394
6465
|
}
|
|
6395
|
-
],
|
|
6466
|
+
], za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6396
6467
|
__proto__: null,
|
|
6397
|
-
default:
|
|
6398
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6468
|
+
default: ma
|
|
6469
|
+
}, Symbol.toStringTag, { value: "Module" })), Aa = [
|
|
6399
6470
|
"America/Anchorage",
|
|
6400
6471
|
"America/Los_Angeles",
|
|
6401
6472
|
"America/Chicago",
|
|
@@ -6413,23 +6484,23 @@ const sa = {
|
|
|
6413
6484
|
"Asia/Jerusalem",
|
|
6414
6485
|
"Pacific/Auckland",
|
|
6415
6486
|
"Pacific/Fiji"
|
|
6416
|
-
],
|
|
6417
|
-
if (
|
|
6487
|
+
], pa = (e) => {
|
|
6488
|
+
if (Aa.indexOf(e) === -1)
|
|
6418
6489
|
return !1;
|
|
6419
6490
|
{
|
|
6420
|
-
const a = /* @__PURE__ */ new Date(),
|
|
6491
|
+
const a = /* @__PURE__ */ new Date(), n = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), c = (ee) => {
|
|
6421
6492
|
var s;
|
|
6422
|
-
const
|
|
6493
|
+
const ae = ((s = new Intl.DateTimeFormat("en-US", {
|
|
6423
6494
|
timeZone: e,
|
|
6424
6495
|
timeZoneName: "longOffset"
|
|
6425
|
-
}).formatToParts(
|
|
6496
|
+
}).formatToParts(ee).find((_e) => _e.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : s[0]) || "+00:00", [xa, le, ne, ie] = ae.match(
|
|
6426
6497
|
/([+-])(\d{2})(?::?(\d{2}))?/
|
|
6427
6498
|
);
|
|
6428
|
-
return (
|
|
6429
|
-
},
|
|
6430
|
-
return
|
|
6499
|
+
return (le === "+" ? -1 : 1) * (parseInt(ne) * 60 + parseInt(ie || "00"));
|
|
6500
|
+
}, q = c(a), Q = c(n), X = c(l);
|
|
6501
|
+
return q < Math.max(Q, X);
|
|
6431
6502
|
}
|
|
6432
|
-
},
|
|
6503
|
+
}, ga = [
|
|
6433
6504
|
{
|
|
6434
6505
|
label_zh_cn: "Etc/GMT+12",
|
|
6435
6506
|
label_en_us: "Etc/GMT+12",
|
|
@@ -10637,10 +10708,10 @@ const sa = {
|
|
|
10637
10708
|
zone: 14,
|
|
10638
10709
|
label: "Pacific/Kiritimati"
|
|
10639
10710
|
}
|
|
10640
|
-
].map((e) => (
|
|
10711
|
+
].map((e) => (pa(e.label) && (e.value += 1, e.zone += 1), e)), fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10641
10712
|
__proto__: null,
|
|
10642
|
-
default:
|
|
10643
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10713
|
+
default: ga
|
|
10714
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = [
|
|
10644
10715
|
{
|
|
10645
10716
|
label: "Etc/GMT 0",
|
|
10646
10717
|
description_en_us: "Africa/Casablanca,Atlantic/Reykjavik,Europe/London,Etc/GMT",
|
|
@@ -10823,10 +10894,10 @@ const sa = {
|
|
|
10823
10894
|
value: -1,
|
|
10824
10895
|
zone: -1
|
|
10825
10896
|
}
|
|
10826
|
-
],
|
|
10897
|
+
], wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10827
10898
|
__proto__: null,
|
|
10828
|
-
default:
|
|
10829
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10899
|
+
default: Ta
|
|
10900
|
+
}, Symbol.toStringTag, { value: "Module" })), Ma = [
|
|
10830
10901
|
{ value: "-12:00", label: "Etc/GMT+12" },
|
|
10831
10902
|
{ value: "-11:00", label: "Etc/GMT+11" },
|
|
10832
10903
|
{ value: "-11:00", label: "Pacific/Midway" },
|
|
@@ -11414,10 +11485,10 @@ const sa = {
|
|
|
11414
11485
|
{ value: "+13:00", label: "Pacific/Tongatapu" },
|
|
11415
11486
|
{ value: "+14:00", label: "Etc/GMT-14" },
|
|
11416
11487
|
{ value: "+14:00", label: "Pacific/Kiritimati" }
|
|
11417
|
-
],
|
|
11488
|
+
], Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11418
11489
|
__proto__: null,
|
|
11419
|
-
default:
|
|
11420
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11490
|
+
default: Ma
|
|
11491
|
+
}, Symbol.toStringTag, { value: "Module" })), Sa = [
|
|
11421
11492
|
{
|
|
11422
11493
|
label_zh_cn: "Etc/GMT+12",
|
|
11423
11494
|
label_en_us: "Etc/GMT+12",
|
|
@@ -12104,10 +12175,10 @@ const sa = {
|
|
|
12104
12175
|
value: 13,
|
|
12105
12176
|
zone: 13
|
|
12106
12177
|
}
|
|
12107
|
-
],
|
|
12178
|
+
], ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12108
12179
|
__proto__: null,
|
|
12109
|
-
default:
|
|
12110
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12180
|
+
default: Sa
|
|
12181
|
+
}, Symbol.toStringTag, { value: "Module" })), Pa = {
|
|
12111
12182
|
Running: {
|
|
12112
12183
|
label: "Running",
|
|
12113
12184
|
label_en_us: "Running",
|
|
@@ -12233,18 +12304,18 @@ const sa = {
|
|
|
12233
12304
|
label_en_us: "Enable this row of data",
|
|
12234
12305
|
label_zh_cn: "启用这条数据"
|
|
12235
12306
|
}
|
|
12236
|
-
},
|
|
12307
|
+
}, Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12237
12308
|
__proto__: null,
|
|
12238
|
-
default:
|
|
12239
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12240
|
-
Object.keys(
|
|
12309
|
+
default: Pa
|
|
12310
|
+
}, Symbol.toStringTag, { value: "Module" })), d = /* @__PURE__ */ Object.assign({ "./common/aibtn.js": Ue, "./common/category.js": xe, "./common/currency.js": Je, "./common/currencyMap.js": We, "./common/dayOrWeek.js": qe, "./common/emptyMap.js": Xe, "./common/iconMap.js": aa, "./common/lang.js": na, "./common/langAll.js": _a, "./common/metricAll.js": ca, "./common/metricAllObj.js": ba, "./common/metricAsa.js": oa, "./common/metricAsaChart.js": ua, "./common/metricFormat.js": sa, "./common/metricMmpChart.js": da, "./common/permissionOptions.js": ha, "./common/platform.js": za, "./common/timezone.js": fa, "./common/timezoneCombine.js": wa, "./common/timezoneNew.js": Ea, "./common/timezoneOptions.js": ya, "./common/txtMap.js": Ca }), x = {};
|
|
12311
|
+
Object.keys(d).map((e) => {
|
|
12241
12312
|
const a = e.match(/common\/(\S*).js/)[1];
|
|
12242
|
-
|
|
12313
|
+
x[a] = d[e].default;
|
|
12243
12314
|
});
|
|
12244
|
-
const
|
|
12315
|
+
const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12245
12316
|
__proto__: null,
|
|
12246
|
-
default:
|
|
12247
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12317
|
+
default: x
|
|
12318
|
+
}, Symbol.toStringTag, { value: "Module" })), Y = [
|
|
12248
12319
|
{
|
|
12249
12320
|
label: "Albania",
|
|
12250
12321
|
label_en_us: "Albania",
|
|
@@ -12875,17 +12946,17 @@ const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12875
12946
|
lang: "en,vi",
|
|
12876
12947
|
value_upper: "VN"
|
|
12877
12948
|
}
|
|
12878
|
-
],
|
|
12949
|
+
], Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12879
12950
|
__proto__: null,
|
|
12880
|
-
default:
|
|
12881
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12882
|
-
|
|
12883
|
-
|
|
12951
|
+
default: Y
|
|
12952
|
+
}, Symbol.toStringTag, { value: "Module" })), J = {};
|
|
12953
|
+
Y.forEach((e) => {
|
|
12954
|
+
J[e.value] = e;
|
|
12884
12955
|
});
|
|
12885
|
-
const
|
|
12956
|
+
const Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12886
12957
|
__proto__: null,
|
|
12887
|
-
default:
|
|
12888
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12958
|
+
default: J
|
|
12959
|
+
}, Symbol.toStringTag, { value: "Module" })), Ia = {
|
|
12889
12960
|
Asia: [
|
|
12890
12961
|
{
|
|
12891
12962
|
label: "Afghanistan",
|
|
@@ -13888,10 +13959,10 @@ const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13888
13959
|
value: "GS"
|
|
13889
13960
|
}
|
|
13890
13961
|
]
|
|
13891
|
-
},
|
|
13962
|
+
}, Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13892
13963
|
__proto__: null,
|
|
13893
|
-
default:
|
|
13894
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13964
|
+
default: Ia
|
|
13965
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = [
|
|
13895
13966
|
{
|
|
13896
13967
|
label: "China",
|
|
13897
13968
|
label_en_us: "China",
|
|
@@ -15147,18 +15218,34 @@ const ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15147
15218
|
value: "MA",
|
|
15148
15219
|
value_lower: "ma",
|
|
15149
15220
|
alpha3: "MAR"
|
|
15221
|
+
},
|
|
15222
|
+
{
|
|
15223
|
+
label: "Myanmar",
|
|
15224
|
+
label_en_us: "Myanmar",
|
|
15225
|
+
label_zh_cn: "缅甸",
|
|
15226
|
+
value: "MM",
|
|
15227
|
+
value_lower: "mm",
|
|
15228
|
+
alpha3: "MMR"
|
|
15229
|
+
},
|
|
15230
|
+
{
|
|
15231
|
+
label: "Maldives",
|
|
15232
|
+
label_en_us: "Maldives",
|
|
15233
|
+
label_zh_cn: "马尔代夫",
|
|
15234
|
+
value: "MV",
|
|
15235
|
+
value_lower: "mv",
|
|
15236
|
+
alpha3: "MDV"
|
|
15150
15237
|
}
|
|
15151
|
-
],
|
|
15238
|
+
], Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15152
15239
|
__proto__: null,
|
|
15153
|
-
default:
|
|
15154
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15155
|
-
|
|
15156
|
-
|
|
15240
|
+
default: Z
|
|
15241
|
+
}, Symbol.toStringTag, { value: "Module" })), W = {};
|
|
15242
|
+
Z.forEach((e) => {
|
|
15243
|
+
W[e.value_lower] = e;
|
|
15157
15244
|
});
|
|
15158
|
-
const
|
|
15245
|
+
const Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15159
15246
|
__proto__: null,
|
|
15160
|
-
default:
|
|
15161
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15247
|
+
default: W
|
|
15248
|
+
}, Symbol.toStringTag, { value: "Module" })), ja = [
|
|
15162
15249
|
{
|
|
15163
15250
|
title: "Hot",
|
|
15164
15251
|
children: [
|
|
@@ -15303,7 +15390,7 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15303
15390
|
{
|
|
15304
15391
|
id: "143587",
|
|
15305
15392
|
code: "la",
|
|
15306
|
-
label: "
|
|
15393
|
+
label: "Laos",
|
|
15307
15394
|
hide: !1
|
|
15308
15395
|
},
|
|
15309
15396
|
{
|
|
@@ -15419,9 +15506,21 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15419
15506
|
code: "ye",
|
|
15420
15507
|
label: "Yemen",
|
|
15421
15508
|
hide: !1
|
|
15509
|
+
},
|
|
15510
|
+
{
|
|
15511
|
+
id: "143570",
|
|
15512
|
+
code: "mm",
|
|
15513
|
+
label: "Myanmar",
|
|
15514
|
+
hide: !1
|
|
15515
|
+
},
|
|
15516
|
+
{
|
|
15517
|
+
id: "143488",
|
|
15518
|
+
code: "mv",
|
|
15519
|
+
label: "Maldives",
|
|
15520
|
+
hide: !1
|
|
15422
15521
|
}
|
|
15423
15522
|
],
|
|
15424
|
-
filters:
|
|
15523
|
+
filters: 36
|
|
15425
15524
|
},
|
|
15426
15525
|
{
|
|
15427
15526
|
title: "Europe",
|
|
@@ -16143,18 +16242,18 @@ const Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16143
16242
|
],
|
|
16144
16243
|
filters: 33
|
|
16145
16244
|
}
|
|
16146
|
-
],
|
|
16245
|
+
], Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16147
16246
|
__proto__: null,
|
|
16148
|
-
default:
|
|
16149
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16150
|
-
Object.keys(
|
|
16247
|
+
default: ja
|
|
16248
|
+
}, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.assign({ "./country/asa.js": Ga, "./country/asaObj.js": Da, "./country/continent.js": Ra, "./country/countryAll.js": Ba, "./country/countryAllObj.js": Na, "./country/group.js": Oa }), $ = {};
|
|
16249
|
+
Object.keys(v).map((e) => {
|
|
16151
16250
|
const a = e.match(/country\/(\S*).js/)[1];
|
|
16152
|
-
|
|
16251
|
+
$[a] = v[e].default;
|
|
16153
16252
|
});
|
|
16154
|
-
const
|
|
16253
|
+
const Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16155
16254
|
__proto__: null,
|
|
16156
|
-
default:
|
|
16157
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16255
|
+
default: $
|
|
16256
|
+
}, Symbol.toStringTag, { value: "Module" })), La = [
|
|
16158
16257
|
"af",
|
|
16159
16258
|
"sq",
|
|
16160
16259
|
"ar-SA",
|
|
@@ -16275,10 +16374,10 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16275
16374
|
"xh",
|
|
16276
16375
|
"ji",
|
|
16277
16376
|
"zu"
|
|
16278
|
-
],
|
|
16377
|
+
], Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16279
16378
|
__proto__: null,
|
|
16280
|
-
default:
|
|
16281
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16379
|
+
default: La
|
|
16380
|
+
}, Symbol.toStringTag, { value: "Module" })), Va = {
|
|
16282
16381
|
RUNNING: {
|
|
16283
16382
|
class: "imicon im-dot txt-green txt-shadow-green-008",
|
|
16284
16383
|
button_class: "fs16-i hover no-shadow im-play-fill",
|
|
@@ -16562,26 +16661,26 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16562
16661
|
value: "Denied",
|
|
16563
16662
|
sort: 40
|
|
16564
16663
|
}
|
|
16565
|
-
},
|
|
16664
|
+
}, Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16566
16665
|
__proto__: null,
|
|
16567
|
-
default:
|
|
16568
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16569
|
-
for (const e in
|
|
16666
|
+
default: Va
|
|
16667
|
+
}, Symbol.toStringTag, { value: "Module" })), h = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Fe, "./chip/common.js": ka, "./chip/country.js": Ka, "./chip/lang.js": Fa, "./chip/statusMap.js": Ua }), _ = {};
|
|
16668
|
+
for (const e in h) {
|
|
16570
16669
|
const a = e.match(/chip\/(\S*).js/)[1];
|
|
16571
|
-
|
|
16670
|
+
_[a] = h[e].default;
|
|
16572
16671
|
}
|
|
16573
|
-
const
|
|
16672
|
+
const Ya = (e) => {
|
|
16574
16673
|
if (!e)
|
|
16575
|
-
return
|
|
16674
|
+
return _;
|
|
16576
16675
|
const a = e.split(".");
|
|
16577
16676
|
if (a.length > 1) {
|
|
16578
|
-
let
|
|
16579
|
-
for (let
|
|
16580
|
-
|
|
16581
|
-
return
|
|
16677
|
+
let n = _;
|
|
16678
|
+
for (let l = 0; l < a.length; l++)
|
|
16679
|
+
n[a[l]] ? n = n[a[l]] : console.error(`No Map node at ${a[l]} in ${e}`);
|
|
16680
|
+
return n;
|
|
16582
16681
|
} else
|
|
16583
|
-
return
|
|
16682
|
+
return _[e];
|
|
16584
16683
|
};
|
|
16585
16684
|
export {
|
|
16586
|
-
|
|
16685
|
+
Ya as useMap
|
|
16587
16686
|
};
|