@ironsource/shared-ui 2.0.2-rc.1 → 2.0.2-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_44158e5f_lang.css +1 -0
  2. package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +1 -0
  3. package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +1 -0
  4. package/components/ThemeWrapper/index.d.ts +2 -2
  5. package/components/ThemeWrapper/index.js +4 -4
  6. package/components/appHeader/AppHeader.vue.d.ts +49 -0
  7. package/components/appHeader/AppHeader.vue.js +7 -0
  8. package/components/appHeader/AppHeader.vue2.js +58 -0
  9. package/components/appHeader/index.d.ts +61 -0
  10. package/components/appHeader/index.js +6 -0
  11. package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
  12. package/components/appTrigger/index.d.ts +20 -20
  13. package/components/banner/Banner.vue.d.ts +3 -3
  14. package/components/banner/index.d.ts +7 -7
  15. package/components/button/v3/Button.vue.d.ts +6 -6
  16. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  17. package/components/button/v3/ScrollButton.vue.d.ts +1 -1
  18. package/components/button/v3/index.d.ts +23 -23
  19. package/components/button/v4/ButtonV4.vue.d.ts +12 -12
  20. package/components/button/v4/IconButtonV4.vue.d.ts +8 -8
  21. package/components/button/v4/index.d.ts +116 -116
  22. package/components/checkbox/v3/index.d.ts +12 -12
  23. package/components/checkbox/v4/index.d.ts +12 -12
  24. package/components/chip/v3/Chip.vue.d.ts +1 -1
  25. package/components/chip/v3/index.d.ts +20 -20
  26. package/components/chip/v4/ChipV4.vue.d.ts +1 -1
  27. package/components/chip/v4/index.d.ts +20 -20
  28. package/components/dateRange/DateRange.vue.d.ts +1 -1
  29. package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
  30. package/components/dateRange/index.d.ts +20 -20
  31. package/components/dialog/v3/Dialog.vue.d.ts +2 -2
  32. package/components/dialog/v3/index.d.ts +25 -25
  33. package/components/dialog/v4/DialogV4.vue.d.ts +2 -2
  34. package/components/dialog/v4/index.d.ts +25 -25
  35. package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
  36. package/components/dropdown/v3/Option.vue.d.ts +1 -1
  37. package/components/dropdown/v3/index.d.ts +111 -111
  38. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +7 -7
  39. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  40. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +6 -6
  41. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
  42. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +13 -13
  43. package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -11
  44. package/components/dropdown/v4/OptionV4.vue.d.ts +4 -4
  45. package/components/dropdown/v4/index.d.ts +324 -324
  46. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  47. package/components/emptyState/v3/index.d.ts +7 -7
  48. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  49. package/components/filterDropdown/index.d.ts +9 -9
  50. package/components/icon/v4/IconV4.vue.d.ts +3 -3
  51. package/components/icon/v4/index.d.ts +7 -7
  52. package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
  53. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
  54. package/components/includeExclude/index.d.ts +101 -101
  55. package/components/inlineCopy/InlineCopy.vue.d.ts +39 -0
  56. package/components/inlineCopy/InlineCopy.vue.js +7 -0
  57. package/components/inlineCopy/InlineCopy.vue2.js +60 -0
  58. package/components/inlineCopy/index.d.ts +39 -0
  59. package/components/inlineCopy/index.js +6 -0
  60. package/components/input/v3/Input.vue.d.ts +2 -2
  61. package/components/input/v3/index.d.ts +69 -69
  62. package/components/input/v4/TextField.vue.d.ts +2 -2
  63. package/components/input/v4/index.d.ts +53 -53
  64. package/components/layout/FoldableSection.vue.d.ts +1 -1
  65. package/components/layout/index.d.ts +20 -20
  66. package/components/menu/Menu.vue.d.ts +1 -1
  67. package/components/menu/index.d.ts +20 -20
  68. package/components/multibar/MultiBar.vue.d.ts +1 -1
  69. package/components/multibar/index.d.ts +12 -12
  70. package/components/popover/Popover.vue.d.ts +5 -5
  71. package/components/popover/index.d.ts +58 -58
  72. package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
  73. package/components/radioButton/v3/RadioGroup.vue.d.ts +2 -2
  74. package/components/radioButton/v3/index.d.ts +42 -42
  75. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +1 -1
  76. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +2 -2
  77. package/components/radioButton/v4/index.d.ts +42 -42
  78. package/components/search/v3/Search.vue.d.ts +2 -2
  79. package/components/search/v3/index.d.ts +16 -16
  80. package/components/search/v4/SearchV4.vue.d.ts +1 -1
  81. package/components/search/v4/index.d.ts +9 -9
  82. package/components/shared/FieldHelpText.vue.d.ts +1 -1
  83. package/components/shared/FieldLabel.vue.d.ts +1 -1
  84. package/components/snackbar/common/snackbar.common.d.ts +1 -1
  85. package/components/snackbar/v3/Snackbar.vue.d.ts +6 -6
  86. package/components/snackbar/v4/SnackbarV4.vue.d.ts +43 -43
  87. package/components/table/v3/index.d.ts +16 -16
  88. package/components/table/v4/index.d.ts +16 -16
  89. package/components/tabs/v3/Tabs.vue.d.ts +1 -1
  90. package/components/tabs/v3/index.d.ts +20 -20
  91. package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
  92. package/components/tabs/v4/index.d.ts +20 -20
  93. package/components/textArea/TextArea.vue.d.ts +1 -1
  94. package/components/textArea/index.d.ts +9 -9
  95. package/components/toggle/v3/Toggle.vue.d.ts +1 -1
  96. package/components/toggle/v3/index.d.ts +9 -9
  97. package/components/toggle/v4/ToggleV4.vue.d.ts +7 -7
  98. package/components/toggle/v4/index.d.ts +34 -34
  99. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  100. package/components/tooltip/v3/index.d.ts +34 -34
  101. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  102. package/components/tooltip/v4/index.d.ts +34 -34
  103. package/components/typography/Heading.vue.d.ts +1 -1
  104. package/components/typography/index.d.ts +20 -20
  105. package/composables/useStorage.js +10 -9
  106. package/index.d.ts +1832 -1640
  107. package/index.js +109 -105
  108. package/package.json +10 -2
  109. package/testids/index.d.ts +8 -0
  110. package/testids/index.js +13 -11
  111. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_28bb325a_lang.css +0 -1
@@ -7,12 +7,12 @@ declare const TooltipTypes: () => ({
7
7
  header: string;
8
8
  text: string;
9
9
  theme: string;
10
+ disabled: boolean;
10
11
  testId: string;
11
12
  delay: number;
12
- triggers: ("hover" | "click" | "focus" | "touch")[];
13
+ triggers: ("touch" | "click" | "focus" | "hover")[];
13
14
  forceShowWithTruncate: boolean;
14
- placement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
15
- disabled: boolean;
15
+ placement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
16
16
  distance: string | number;
17
17
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
18
18
  header: {
@@ -27,6 +27,10 @@ declare const TooltipTypes: () => ({
27
27
  type: import("vue").PropType<string>;
28
28
  default: string;
29
29
  };
30
+ disabled: {
31
+ type: import("vue").PropType<boolean>;
32
+ default: boolean;
33
+ };
30
34
  testId: {
31
35
  type: import("vue").PropType<string>;
32
36
  default: string;
@@ -36,7 +40,7 @@ declare const TooltipTypes: () => ({
36
40
  default: number;
37
41
  };
38
42
  triggers: {
39
- type: import("vue").PropType<("hover" | "click" | "focus" | "touch")[]>;
43
+ type: import("vue").PropType<("touch" | "click" | "focus" | "hover")[]>;
40
44
  default: () => string[];
41
45
  };
42
46
  forceShowWithTruncate: {
@@ -44,18 +48,14 @@ declare const TooltipTypes: () => ({
44
48
  default: boolean;
45
49
  };
46
50
  placement: {
47
- type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
51
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
48
52
  default: string;
49
53
  };
50
- disabled: {
51
- type: import("vue").PropType<boolean>;
52
- default: boolean;
53
- };
54
54
  distance: {
55
55
  type: import("vue").PropType<string | number>;
56
56
  default: string;
57
57
  };
58
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance">;
58
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "disabled" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "distance">;
59
59
  $attrs: {
60
60
  [x: string]: unknown;
61
61
  };
@@ -82,6 +82,10 @@ declare const TooltipTypes: () => ({
82
82
  type: import("vue").PropType<string>;
83
83
  default: string;
84
84
  };
85
+ disabled: {
86
+ type: import("vue").PropType<boolean>;
87
+ default: boolean;
88
+ };
85
89
  testId: {
86
90
  type: import("vue").PropType<string>;
87
91
  default: string;
@@ -91,7 +95,7 @@ declare const TooltipTypes: () => ({
91
95
  default: number;
92
96
  };
93
97
  triggers: {
94
- type: import("vue").PropType<("hover" | "click" | "focus" | "touch")[]>;
98
+ type: import("vue").PropType<("touch" | "click" | "focus" | "hover")[]>;
95
99
  default: () => string[];
96
100
  };
97
101
  forceShowWithTruncate: {
@@ -99,13 +103,9 @@ declare const TooltipTypes: () => ({
99
103
  default: boolean;
100
104
  };
101
105
  placement: {
102
- type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
106
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
103
107
  default: string;
104
108
  };
105
- disabled: {
106
- type: import("vue").PropType<boolean>;
107
- default: boolean;
108
- };
109
109
  distance: {
110
110
  type: import("vue").PropType<string | number>;
111
111
  default: string;
@@ -114,12 +114,12 @@ declare const TooltipTypes: () => ({
114
114
  header: string;
115
115
  text: string;
116
116
  theme: string;
117
+ disabled: boolean;
117
118
  testId: string;
118
119
  delay: number;
119
- triggers: ("hover" | "click" | "focus" | "touch")[];
120
+ triggers: ("touch" | "click" | "focus" | "hover")[];
120
121
  forceShowWithTruncate: boolean;
121
- placement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
122
- disabled: boolean;
122
+ placement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
123
123
  distance: string | number;
124
124
  }, {}, string> & {
125
125
  beforeCreate?: (() => void) | (() => void)[];
@@ -154,6 +154,10 @@ declare const TooltipTypes: () => ({
154
154
  type: import("vue").PropType<string>;
155
155
  default: string;
156
156
  };
157
+ disabled: {
158
+ type: import("vue").PropType<boolean>;
159
+ default: boolean;
160
+ };
157
161
  testId: {
158
162
  type: import("vue").PropType<string>;
159
163
  default: string;
@@ -163,7 +167,7 @@ declare const TooltipTypes: () => ({
163
167
  default: number;
164
168
  };
165
169
  triggers: {
166
- type: import("vue").PropType<("hover" | "click" | "focus" | "touch")[]>;
170
+ type: import("vue").PropType<("touch" | "click" | "focus" | "hover")[]>;
167
171
  default: () => string[];
168
172
  };
169
173
  forceShowWithTruncate: {
@@ -171,13 +175,9 @@ declare const TooltipTypes: () => ({
171
175
  default: boolean;
172
176
  };
173
177
  placement: {
174
- type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
178
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
175
179
  default: string;
176
180
  };
177
- disabled: {
178
- type: import("vue").PropType<boolean>;
179
- default: boolean;
180
- };
181
181
  distance: {
182
182
  type: import("vue").PropType<string | number>;
183
183
  default: string;
@@ -199,6 +199,10 @@ declare const TooltipTypes: () => ({
199
199
  type: import("vue").PropType<string>;
200
200
  default: string;
201
201
  };
202
+ disabled: {
203
+ type: import("vue").PropType<boolean>;
204
+ default: boolean;
205
+ };
202
206
  testId: {
203
207
  type: import("vue").PropType<string>;
204
208
  default: string;
@@ -208,7 +212,7 @@ declare const TooltipTypes: () => ({
208
212
  default: number;
209
213
  };
210
214
  triggers: {
211
- type: import("vue").PropType<("hover" | "click" | "focus" | "touch")[]>;
215
+ type: import("vue").PropType<("touch" | "click" | "focus" | "hover")[]>;
212
216
  default: () => string[];
213
217
  };
214
218
  forceShowWithTruncate: {
@@ -216,13 +220,9 @@ declare const TooltipTypes: () => ({
216
220
  default: boolean;
217
221
  };
218
222
  placement: {
219
- type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
223
+ type: import("vue").PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
220
224
  default: string;
221
225
  };
222
- disabled: {
223
- type: import("vue").PropType<boolean>;
224
- default: boolean;
225
- };
226
226
  distance: {
227
227
  type: import("vue").PropType<string | number>;
228
228
  default: string;
@@ -231,12 +231,12 @@ declare const TooltipTypes: () => ({
231
231
  header: string;
232
232
  text: string;
233
233
  theme: string;
234
+ disabled: boolean;
234
235
  testId: string;
235
236
  delay: number;
236
- triggers: ("hover" | "click" | "focus" | "touch")[];
237
+ triggers: ("touch" | "click" | "focus" | "hover")[];
237
238
  forceShowWithTruncate: boolean;
238
- placement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
239
- disabled: boolean;
239
+ placement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
240
240
  distance: string | number;
241
241
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
242
242
  $slots: {
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  level: string;
14
14
  testId: string;
15
15
  }>>>, {
16
- level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
17
16
  testId: string;
17
+ level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
18
18
  }>, {
19
19
  default?(_: {}): any;
20
20
  }>;
@@ -3,21 +3,21 @@ declare const TypographyTypes: () => (({
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
7
6
  testId: string;
7
+ level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
8
8
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
9
9
  isTruncated: {
10
10
  type: import("vue").PropType<boolean>;
11
11
  };
12
- level: {
13
- type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
14
- default: string;
15
- };
16
12
  testId: {
17
13
  type: import("vue").PropType<string>;
18
14
  default: string;
19
15
  };
20
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "level" | "testId">;
16
+ level: {
17
+ type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
18
+ default: string;
19
+ };
20
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "level">;
21
21
  $attrs: {
22
22
  [x: string]: unknown;
23
23
  };
@@ -35,17 +35,17 @@ declare const TypographyTypes: () => (({
35
35
  isTruncated: {
36
36
  type: import("vue").PropType<boolean>;
37
37
  };
38
- level: {
39
- type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
40
- default: string;
41
- };
42
38
  testId: {
43
39
  type: import("vue").PropType<string>;
44
40
  default: string;
45
41
  };
42
+ level: {
43
+ type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
44
+ default: string;
45
+ };
46
46
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
47
- level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
48
47
  testId: string;
48
+ level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
49
49
  }, {}, string> & {
50
50
  beforeCreate?: (() => void) | (() => void)[];
51
51
  created?: (() => void) | (() => void)[];
@@ -70,14 +70,14 @@ declare const TypographyTypes: () => (({
70
70
  isTruncated: {
71
71
  type: import("vue").PropType<boolean>;
72
72
  };
73
- level: {
74
- type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
75
- default: string;
76
- };
77
73
  testId: {
78
74
  type: import("vue").PropType<string>;
79
75
  default: string;
80
76
  };
77
+ level: {
78
+ type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
79
+ default: string;
80
+ };
81
81
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
82
82
  __isFragment?: never;
83
83
  __isTeleport?: never;
@@ -86,17 +86,17 @@ declare const TypographyTypes: () => (({
86
86
  isTruncated: {
87
87
  type: import("vue").PropType<boolean>;
88
88
  };
89
- level: {
90
- type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
91
- default: string;
92
- };
93
89
  testId: {
94
90
  type: import("vue").PropType<string>;
95
91
  default: string;
96
92
  };
93
+ level: {
94
+ type: import("vue").PropType<"label" | "1" | "2" | "3" | "4" | "5" | "6">;
95
+ default: string;
96
+ };
97
97
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
98
- level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
99
98
  testId: string;
99
+ level: "label" | "1" | "2" | "3" | "4" | "5" | "6";
100
100
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
101
101
  $slots: {
102
102
  default?(_: {}): any;
@@ -1,31 +1,32 @@
1
- import { ref as s, watch as l } from "vue";
1
+ import { ref as c, watch as d } from "vue";
2
2
  function p(o, i = 1, e = null) {
3
3
  const n = i === 0 ? localStorage : sessionStorage, r = a();
4
- r ? e = s(r) : (e = s(e), u()), l(e, () => {
4
+ r ? e = c(r) : (e = c(e), u()), d(e, () => {
5
5
  u();
6
6
  });
7
7
  function a() {
8
8
  const t = n.getItem(o);
9
- return t ? JSON.parse(d(t)) : null;
9
+ return t ? JSON.parse(m(t)) : null;
10
10
  }
11
11
  function u() {
12
12
  if (e.value === "" || e.value === null) {
13
13
  n.removeItem(o);
14
14
  return;
15
- }
16
- n.setItem(o, m(JSON.stringify(e.value)));
15
+ } else if (n.getItem(o) !== null)
16
+ return;
17
+ n.setItem(o, l(JSON.stringify(e.value)));
17
18
  }
18
- function m(t) {
19
+ function l(t) {
19
20
  return btoa(
20
21
  encodeURIComponent(t).replace(
21
22
  /%([0-9A-F]{2})/g,
22
- (c, f) => String.fromCharCode(+("0x" + f))
23
+ (s, f) => String.fromCharCode(+("0x" + f))
23
24
  )
24
25
  );
25
26
  }
26
- function d(t) {
27
+ function m(t) {
27
28
  return decodeURIComponent(
28
- atob(t).split("").map((c) => "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2)).join("")
29
+ atob(t).split("").map((s) => "%" + ("00" + s.charCodeAt(0).toString(16)).slice(-2)).join("")
29
30
  );
30
31
  }
31
32
  return e;