@shrfe/assets 1.0.73 → 1.0.74-staging.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,37 +1,37 @@
1
1
  :root {
2
2
  --sfe-shadow-small-offset-x: 0px;
3
- --sfe-shadow-small-blur: 0px;
4
- --sfe-shadow-small-spread: 0px;
5
- --sfe-shadow-small-color: 0px;
6
- --sfe-shadow-small-offset-y: 0px;
3
+ --sfe-shadow-small-blur: 3px;
4
+ --sfe-shadow-small-spread: -1px;
5
+ --sfe-shadow-small-color: #0000000f;
6
+ --sfe-shadow-small-offset-y: 1px;
7
7
  --sfe-shadow-medium-offset-x: 0px;
8
- --sfe-shadow-medium-blur: 0px;
9
- --sfe-shadow-medium-spread: 0px;
10
- --sfe-shadow-medium-color: 0px;
11
- --sfe-shadow-medium-offset-y: 0px;
8
+ --sfe-shadow-medium-blur: 10px;
9
+ --sfe-shadow-medium-spread: -3px;
10
+ --sfe-shadow-medium-color: #0000001a;
11
+ --sfe-shadow-medium-offset-y: 4px;
12
12
  --sfe-shadow-xxlarge-offset-x: 0px;
13
- --sfe-shadow-xxlarge-blur: 0px;
14
- --sfe-shadow-xxlarge-spread: 0px;
15
- --sfe-shadow-xxlarge-color: 0px;
16
- --sfe-shadow-xxlarge-offset-y: 0px;
13
+ --sfe-shadow-xxlarge-blur: 52px;
14
+ --sfe-shadow-xxlarge-spread: -12px;
15
+ --sfe-shadow-xxlarge-color: #0000002e;
16
+ --sfe-shadow-xxlarge-offset-y: 24px;
17
17
  --sfe-shadow-inner-offset-x: 0px;
18
- --sfe-shadow-inner-blur: 0px;
18
+ --sfe-shadow-inner-blur: 3px;
19
19
  --sfe-shadow-inner-spread: 0px;
20
- --sfe-shadow-inner-color: 0px;
21
- --sfe-shadow-inner-offset-y: 0px;
20
+ --sfe-shadow-inner-color: #00000014;
21
+ --sfe-shadow-inner-offset-y: 1px;
22
22
  --sfe-shadow-focus-ring-offset-x: 0px;
23
23
  --sfe-shadow-focus-ring-blur: 0px;
24
- --sfe-shadow-focus-ring-spread: 0px;
25
- --sfe-shadow-focus-ring-color: 0px;
24
+ --sfe-shadow-focus-ring-spread: 3px;
25
+ --sfe-shadow-focus-ring-color: #9747ff;
26
26
  --sfe-shadow-focus-ring-offset-y: 0px;
27
27
  --sfe-shadow-large-offset-x: 0px;
28
- --sfe-shadow-large-blur: 0px;
29
- --sfe-shadow-large-spread: 0px;
30
- --sfe-shadow-large-color: 0px;
31
- --sfe-shadow-large-offset-y: 0px;
28
+ --sfe-shadow-large-blur: 20px;
29
+ --sfe-shadow-large-spread: -5px;
30
+ --sfe-shadow-large-color: #0000001f;
31
+ --sfe-shadow-large-offset-y: 8px;
32
32
  --sfe-shadow-xlarge-offset-x: 0px;
33
- --sfe-shadow-xlarge-blur: 0px;
34
- --sfe-shadow-xlarge-spread: 0px;
35
- --sfe-shadow-xlarge-color: 0px;
36
- --sfe-shadow-xlarge-offset-y: 0px;
33
+ --sfe-shadow-xlarge-blur: 32px;
34
+ --sfe-shadow-xlarge-spread: -8px;
35
+ --sfe-shadow-xlarge-color: #00000024;
36
+ --sfe-shadow-xlarge-offset-y: 14px;
37
37
  }
@@ -1,4 +1,61 @@
1
1
  :root {
2
+ --sfe-sizing-gap-1: 1px;
3
+ --sfe-sizing-gap-2: 2px;
4
+ --sfe-sizing-gap-4: 4px;
5
+ --sfe-sizing-gap-6: 6px;
6
+ --sfe-sizing-gap-8: 8px;
7
+ --sfe-sizing-gap-10: 10px;
8
+ --sfe-sizing-gap-12: 12px;
9
+ --sfe-sizing-gap-14: 14px;
10
+ --sfe-sizing-gap-16: 16px;
11
+ --sfe-sizing-gap-18: 18px;
12
+ --sfe-sizing-gap-20: 20px;
13
+ --sfe-sizing-gap-22: 22px;
14
+ --sfe-sizing-gap-24: 24px;
15
+ --sfe-sizing-gap-26: 26px;
16
+ --sfe-sizing-gap-28: 28px;
17
+ --sfe-sizing-gap-30: 30px;
18
+ --sfe-sizing-gap-32: 32px;
19
+ --sfe-sizing-gap-36: 36px;
20
+ --sfe-sizing-gap-40: 40px;
21
+ --sfe-sizing-gap-44: 44px;
22
+ --sfe-sizing-gap-48: 48px;
23
+ --sfe-sizing-gap-52: 52px;
24
+ --sfe-sizing-gap-56: 56px;
25
+ --sfe-sizing-gap-60: 60px;
26
+ --sfe-sizing-gap-64: 64px;
27
+ --sfe-sizing-gap-68: 68px;
28
+ --sfe-sizing-gap-72: 72px;
29
+ --sfe-sizing-gap-76: 76px;
30
+ --sfe-sizing-gap-80: 80px;
31
+ --sfe-sizing-gap-84: 84px;
32
+ --sfe-sizing-gap-88: 88px;
33
+ --sfe-sizing-gap-92: 92px;
34
+ --sfe-sizing-gap-96: 96px;
35
+ --sfe-sizing-gap-100: 100px;
36
+ --sfe-sizing-gap-104: 104px;
37
+ --sfe-sizing-gap-108: 108px;
38
+ --sfe-sizing-gap-112: 112px;
39
+ --sfe-sizing-gap-116: 116px;
40
+ --sfe-sizing-gap-120: 120px;
41
+ --sfe-sizing-gap-128: 128px;
42
+ --sfe-sizing-gap-136: 136px;
43
+ --sfe-sizing-gap-144: 144px;
44
+ --sfe-sizing-gap-152: 152px;
45
+ --sfe-sizing-gap-160: 160px;
46
+ --sfe-sizing-gap-168: 168px;
47
+ --sfe-sizing-gap-176: 176px;
48
+ --sfe-sizing-gap-184: 184px;
49
+ --sfe-sizing-gap-192: 192px;
50
+ --sfe-sizing-gap-200: 200px;
51
+ --sfe-sizing-gap-216: 216px;
52
+ --sfe-sizing-gap-232: 232px;
53
+ --sfe-sizing-gap-248: 248px;
54
+ --sfe-sizing-gap-264: 264px;
55
+ --sfe-sizing-gap-280: 280px;
56
+ --sfe-sizing-gap-296: 296px;
57
+ --sfe-sizing-gap-312: 312px;
58
+ --sfe-sizing-gap-320: 320px;
2
59
  --sfe-sizing-gap-null: 0px;
3
60
  --sfe-sizing-gap-xxsmall: 2px;
4
61
  --sfe-sizing-gap-xsmall: 4px;
@@ -21,6 +78,63 @@
21
78
  --sfe-sizing-radius-large: 12px;
22
79
  --sfe-sizing-radius-xlarge: 16px;
23
80
  --sfe-sizing-radius-round: 99999px;
81
+ --sfe-sizing-padding-1: 1px;
82
+ --sfe-sizing-padding-2: 2px;
83
+ --sfe-sizing-padding-4: 4px;
84
+ --sfe-sizing-padding-6: 6px;
85
+ --sfe-sizing-padding-8: 8px;
86
+ --sfe-sizing-padding-10: 10px;
87
+ --sfe-sizing-padding-12: 12px;
88
+ --sfe-sizing-padding-14: 14px;
89
+ --sfe-sizing-padding-16: 16px;
90
+ --sfe-sizing-padding-18: 18px;
91
+ --sfe-sizing-padding-20: 20px;
92
+ --sfe-sizing-padding-22: 22px;
93
+ --sfe-sizing-padding-24: 24px;
94
+ --sfe-sizing-padding-26: 26px;
95
+ --sfe-sizing-padding-28: 28px;
96
+ --sfe-sizing-padding-30: 30px;
97
+ --sfe-sizing-padding-32: 32px;
98
+ --sfe-sizing-padding-36: 36px;
99
+ --sfe-sizing-padding-40: 40px;
100
+ --sfe-sizing-padding-44: 44px;
101
+ --sfe-sizing-padding-48: 48px;
102
+ --sfe-sizing-padding-52: 52px;
103
+ --sfe-sizing-padding-56: 56px;
104
+ --sfe-sizing-padding-60: 60px;
105
+ --sfe-sizing-padding-64: 64px;
106
+ --sfe-sizing-padding-68: 68px;
107
+ --sfe-sizing-padding-72: 72px;
108
+ --sfe-sizing-padding-76: 76px;
109
+ --sfe-sizing-padding-80: 80px;
110
+ --sfe-sizing-padding-84: 84px;
111
+ --sfe-sizing-padding-88: 88px;
112
+ --sfe-sizing-padding-92: 92px;
113
+ --sfe-sizing-padding-96: 96px;
114
+ --sfe-sizing-padding-100: 100px;
115
+ --sfe-sizing-padding-104: 104px;
116
+ --sfe-sizing-padding-108: 108px;
117
+ --sfe-sizing-padding-112: 112px;
118
+ --sfe-sizing-padding-116: 116px;
119
+ --sfe-sizing-padding-120: 120px;
120
+ --sfe-sizing-padding-128: 128px;
121
+ --sfe-sizing-padding-136: 136px;
122
+ --sfe-sizing-padding-144: 144px;
123
+ --sfe-sizing-padding-152: 152px;
124
+ --sfe-sizing-padding-160: 160px;
125
+ --sfe-sizing-padding-168: 168px;
126
+ --sfe-sizing-padding-176: 176px;
127
+ --sfe-sizing-padding-184: 184px;
128
+ --sfe-sizing-padding-192: 192px;
129
+ --sfe-sizing-padding-200: 200px;
130
+ --sfe-sizing-padding-216: 216px;
131
+ --sfe-sizing-padding-232: 232px;
132
+ --sfe-sizing-padding-248: 248px;
133
+ --sfe-sizing-padding-264: 264px;
134
+ --sfe-sizing-padding-280: 280px;
135
+ --sfe-sizing-padding-296: 296px;
136
+ --sfe-sizing-padding-312: 312px;
137
+ --sfe-sizing-padding-320: 320px;
24
138
  --sfe-sizing-padding-null: 0px;
25
139
  --sfe-sizing-padding-xxsmall: 2px;
26
140
  --sfe-sizing-padding-xsmall: 4px;
@@ -29,7 +143,24 @@
29
143
  --sfe-sizing-padding-default: 16px;
30
144
  --sfe-sizing-padding-large: 24px;
31
145
  --sfe-sizing-padding-xlarge: 32px;
32
- --sfe-sizing-size-120: 12px;
146
+ --sfe-sizing-padding-xxlarge: 40px;
147
+ --sfe-sizing-size-2: 2px;
148
+ --sfe-sizing-size-4: 4px;
149
+ --sfe-sizing-size-8: 8px;
150
+ --sfe-sizing-size-12: 12px;
151
+ --sfe-sizing-size-16: 16px;
152
+ --sfe-sizing-size-20: 20px;
153
+ --sfe-sizing-size-24: 24px;
154
+ --sfe-sizing-size-28: 28px;
155
+ --sfe-sizing-size-32: 32px;
156
+ --sfe-sizing-size-36: 36px;
157
+ --sfe-sizing-size-40: 40px;
158
+ --sfe-sizing-size-44: 44px;
159
+ --sfe-sizing-size-48: 48px;
160
+ --sfe-sizing-size-56: 56px;
161
+ --sfe-sizing-size-64: 64px;
162
+ --sfe-sizing-size-72: 72px;
163
+ --sfe-sizing-size-120: 120px;
33
164
  --sfe-sizing-size-160: 16px;
34
165
  --sfe-sizing-size-200: 20px;
35
166
  --sfe-sizing-size-240: 24px;
@@ -47,4 +178,22 @@
47
178
  --sfe-sizing-size-020: 2px;
48
179
  --sfe-sizing-size-040: 4px;
49
180
  --sfe-sizing-size-080: 8px;
181
+ --sfe-sizing-padding-x-null: 0px;
182
+ --sfe-sizing-padding-x-xxsmall: 2px;
183
+ --sfe-sizing-padding-x-xsmall: 4px;
184
+ --sfe-sizing-padding-x-small: 8px;
185
+ --sfe-sizing-padding-x-mid: 12px;
186
+ --sfe-sizing-padding-x-default: 16px;
187
+ --sfe-sizing-padding-x-large: 24px;
188
+ --sfe-sizing-padding-x-xlarge: 32px;
189
+ --sfe-sizing-padding-x-xxlarge: 40px;
190
+ --sfe-sizing-padding-y-null: 0px;
191
+ --sfe-sizing-padding-y-xxsmall: 2px;
192
+ --sfe-sizing-padding-y-xsmall: 4px;
193
+ --sfe-sizing-padding-y-small: 8px;
194
+ --sfe-sizing-padding-y-mid: 12px;
195
+ --sfe-sizing-padding-y-default: 16px;
196
+ --sfe-sizing-padding-y-large: 24px;
197
+ --sfe-sizing-padding-y-xlarge: 32px;
198
+ --sfe-sizing-padding-y-xxlarge: 40px;
50
199
  }
@@ -7,27 +7,28 @@
7
7
  --sfe-typography-font-windows-system: Segoe UI;
8
8
  --sfe-typography-font-ios-system: SF Pro;
9
9
  --sfe-typography-font-old-font: Rubik;
10
- --sfe-typography-font-size-body-small: 12px;
11
- --sfe-typography-font-size-body-default: 14px;
12
- --sfe-typography-font-size-body-large: 16px;
10
+ --sfe-typography-font-size-body-small: 14px;
11
+ --sfe-typography-font-size-body-default: 16px;
12
+ --sfe-typography-font-size-body-large: 18px;
13
13
  --sfe-typography-font-size-body-xlarge: 20px;
14
- --sfe-typography-font-size-body-xsmall: 10px;
14
+ --sfe-typography-font-size-body-xsmall: 12px;
15
+ --sfe-typography-font-size-body-xxlarge: 24px;
15
16
  --sfe-typography-font-size-subtitle-xsmall: 14px;
16
17
  --sfe-typography-font-size-subtitle-small: 16px;
17
18
  --sfe-typography-font-size-subtitle-default: 20px;
18
19
  --sfe-typography-font-size-subtitle-large: 24px;
19
20
  --sfe-typography-font-size-subtitle-xlarge: 32px;
20
- --sfe-typography-font-size-label-xsmall: 10px;
21
+ --sfe-typography-font-size-label-xsmall: 11px;
21
22
  --sfe-typography-font-size-label-small: 12px;
22
23
  --sfe-typography-font-size-label-default: 14px;
23
24
  --sfe-typography-font-size-label-large: 16px;
24
25
  --sfe-typography-font-size-label-xlarge: 18px;
25
- --sfe-typography-font-size-heading-small: 16px;
26
- --sfe-typography-font-size-heading-large: 24px;
27
- --sfe-typography-font-size-heading-xlarge: 32px;
26
+ --sfe-typography-font-size-heading-small: 18px;
27
+ --sfe-typography-font-size-heading-large: 32px;
28
+ --sfe-typography-font-size-heading-xlarge: 40px;
28
29
  --sfe-typography-font-size-heading-xxlarge: 48px;
29
- --sfe-typography-font-size-heading-xxxlarge: 52px;
30
- --sfe-typography-font-size-heading-medium: 20px;
30
+ --sfe-typography-font-size-heading-xxxlarge: 56px;
31
+ --sfe-typography-font-size-heading-medium: 24px;
31
32
  --sfe-typography-font-size-caption-xsmall: 10px;
32
33
  --sfe-typography-font-size-caption-default: 12px;
33
34
  --sfe-typography-font-size-caption-large: 14px;
@@ -36,9 +37,10 @@
36
37
  --sfe-typography-font-size-display-small: 72px;
37
38
  --sfe-typography-font-size-display-medium: 80px;
38
39
  --sfe-typography-font-size-display-large: 88px;
39
- --sfe-typography-font-size-display-xlarge: 92px;
40
- --sfe-typography-font-size-display-xxlarge: 96px;
41
- --sfe-typography-font-size-display-xxxlarge: 98px;
40
+ --sfe-typography-font-size-display-xlarge: 96px;
41
+ --sfe-typography-font-size-display-xxlarge: 104px;
42
+ --sfe-typography-font-size-display-xxxlarge: 112px;
43
+ --sfe-typography-font-size-display-xsmall: 36px;
42
44
  --sfe-typography-space-letter-10: 1px;
43
45
  --sfe-typography-space-letter-15: 1.5px;
44
46
  --sfe-typography-space-letter-20: 2px;
@@ -48,6 +50,7 @@
48
50
  --sfe-typography-space-letter-40: 4px;
49
51
  --sfe-typography-space-letter-null: 0px;
50
52
  --sfe-typography-space-letter-05: 0.5px;
53
+ --sfe-typography-space-letter-negative-10: -1px;
51
54
  --sfe-typography-space-list-null: 0px;
52
55
  --sfe-typography-space-list-small: 4px;
53
56
  --sfe-typography-space-list-medium: 8px;
@@ -64,32 +67,35 @@
64
67
  --sfe-typography-line-height-heading-medium: 32px;
65
68
  --sfe-typography-line-height-heading-large: 40px;
66
69
  --sfe-typography-line-height-heading-xlarge: 48px;
67
- --sfe-typography-line-height-heading-xxlarge: 52px;
70
+ --sfe-typography-line-height-heading-xxlarge: 56px;
68
71
  --sfe-typography-line-height-heading-xxxlarge: 64px;
69
72
  --sfe-typography-line-height-body-xsmall: 16px;
70
- --sfe-typography-line-height-body-small: 16px;
73
+ --sfe-typography-line-height-body-small: 20px;
71
74
  --sfe-typography-line-height-body-default: 24px;
72
75
  --sfe-typography-line-height-body-large: 24px;
73
- --sfe-typography-line-height-body-xlarge: 32px;
74
- --sfe-typography-line-height-subtitle-xsmall: 16px;
75
- --sfe-typography-line-height-subtitle-small: 20px;
76
- --sfe-typography-line-height-subtitle-default: 24px;
77
- --sfe-typography-line-height-subtitle-large: 28px;
78
- --sfe-typography-line-height-subtitle-xlarge: 36px;
79
- --sfe-typography-line-height-label-xsmall: 14px;
76
+ --sfe-typography-line-height-body-xlarge: 28px;
77
+ --sfe-typography-line-height-subtitle-xsmall: 20px;
78
+ --sfe-typography-line-height-subtitle-small: 24px;
79
+ --sfe-typography-line-height-subtitle-default: 28px;
80
+ --sfe-typography-line-height-subtitle-large: 32px;
81
+ --sfe-typography-line-height-subtitle-xlarge: 40px;
82
+ --sfe-typography-line-height-label-xsmall: 16px;
80
83
  --sfe-typography-line-height-label-small: 16px;
81
84
  --sfe-typography-line-height-label-default: 20px;
82
85
  --sfe-typography-line-height-label-large: 24px;
83
- --sfe-typography-line-height-label-xlarge: 28px;
86
+ --sfe-typography-line-height-label-xlarge: 24px;
87
+ --sfe-typography-line-height-label-action-xsmall-underline: 14px;
84
88
  --sfe-typography-line-height-caption-xsmall: 12px;
85
89
  --sfe-typography-line-height-caption-small: 16px;
86
90
  --sfe-typography-line-height-caption-default: 16px;
87
91
  --sfe-typography-line-height-caption-large: 20px;
88
92
  --sfe-typography-line-height-caption-xlarge: 20px;
89
- --sfe-typography-line-height-display-small: 72px;
90
- --sfe-typography-line-height-display-medium: 80px;
91
- --sfe-typography-line-height-display-large: 88px;
92
- --sfe-typography-line-height-display-xlarge: 92px;
93
- --sfe-typography-line-height-display-xxlarge: 96px;
94
- --sfe-typography-line-height-display-xxxlarge: 98px;
93
+ --sfe-typography-line-height-caption-xxlarge: 24px;
94
+ --sfe-typography-line-height-display-small: 80px;
95
+ --sfe-typography-line-height-display-medium: 88px;
96
+ --sfe-typography-line-height-display-large: 96px;
97
+ --sfe-typography-line-height-display-xlarge: 104px;
98
+ --sfe-typography-line-height-display-xxlarge: 112px;
99
+ --sfe-typography-line-height-display-xxxlarge: 120px;
100
+ --sfe-typography-line-height-display-xsmall: 44px;
95
101
  }
@@ -9,6 +9,8 @@
9
9
  @import './ds/semantics/typography/typography.css';
10
10
  @import './ds/semantics/shadow/shadow.css';
11
11
  @import './ds/component.css';
12
+ @import './ds/brand/system.css';
13
+ @import './ds/brands.css';
12
14
  :root {
13
15
  --fallback-font:
14
16
  -apple-system, blinkmacsystemfont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI Variable Text',
@@ -191,7 +193,6 @@ sup {
191
193
 
192
194
  a {
193
195
  color: #0d6efd;
194
- text-decoration: underline;
195
196
  background-color: transparent;
196
197
  }
197
198
 
@@ -29766,6 +29766,7 @@ __webpack_require__.r(__webpack_exports__);
29766
29766
  // EXPORTS
29767
29767
  __webpack_require__.d(__webpack_exports__, {
29768
29768
  AlertService: function() { return /* reexport */ alert_service_namespaceObject; },
29769
+ BrandService: function() { return /* reexport */ brand_service_namespaceObject; },
29769
29770
  CustomerIoService: function() { return /* reexport */ customerio_service; },
29770
29771
  DataModifierService: function() { return /* reexport */ data_modifier_service_namespaceObject; },
29771
29772
  DraggableService: function() { return /* reexport */ draggable_service; },
@@ -29835,6 +29836,14 @@ __webpack_require__.r(data_modifier_service_namespaceObject);
29835
29836
  __webpack_require__.d(data_modifier_service_namespaceObject, {
29836
29837
  alterUsersForProfileStrip: function() { return alterUsersForProfileStrip; } });
29837
29838
 
29839
+ // NAMESPACE OBJECT: ./src/services/brand-service.ts
29840
+ var brand_service_namespaceObject = {};
29841
+ __webpack_require__.r(brand_service_namespaceObject);
29842
+ __webpack_require__.d(brand_service_namespaceObject, {
29843
+ isBrand: function() { return isBrand; },
29844
+ resolveBrand: function() { return resolveBrand; },
29845
+ setBrand: function() { return setBrand; } });
29846
+
29838
29847
 
29839
29848
  ;// CONCATENATED MODULE: ./src/services/draggable-service.ts
29840
29849
  /*
@@ -36655,11 +36664,13 @@ const PROFILE_KEY_MAP = {
36655
36664
  // Renamed or ambiguous attributes: the stored key differs from the Customer.io name, or its leaf
36656
36665
  // ("id", "name") repeats across the tree, so each is pinned to an exact flattened key.
36657
36666
  const CUSTOMER_IO_ATTRIBUTE_SOURCES = {
36658
- employee_phone: 'phone_number',
36659
- employee_id: 'employee_id',
36660
- employee_ums_user_id: 'breeze_user_id',
36667
+ ums_user_id: 'breeze_user_id',
36668
+ id: 'employee_id',
36669
+ phone: 'phone_number',
36661
36670
  jobrole_name: 'job_title',
36662
- company_name: 'employer_name'
36671
+ company_name: 'employer_name',
36672
+ company_oms_company_id: 'oms_company',
36673
+ client_oms_client_id: 'oms_client'
36663
36674
  };
36664
36675
  // Attributes a module stores under their own name; caught wherever they sit once flattened.
36665
36676
  const CUSTOMER_IO_ATTRIBUTES = [
@@ -36681,7 +36692,8 @@ const CUSTOMER_IO_ATTRIBUTES = [
36681
36692
  'total_amount_eligible',
36682
36693
  'repayment_status',
36683
36694
  'device',
36684
- 'number_of_loans'
36695
+ 'number_of_loans',
36696
+ 'last_login'
36685
36697
  ];
36686
36698
  // Where the SDK persists the identified person (localStorage and cookies).
36687
36699
  const STORED_IDENTITY_KEYS = [
@@ -36749,7 +36761,7 @@ const isEventAllowed = (eventName)=>{
36749
36761
  return false;
36750
36762
  }
36751
36763
  };
36752
- // The login payload nests attributes (employee.first_name, employee.company.name), so flatten to
36764
+ // The logged-in user nests some attributes (company.name, client.oms_client_id), so flatten to
36753
36765
  // parent_leaf keys the map can match. Only the immediate parent prefixes; later siblings win a clash.
36754
36766
  const flattenProfile = (source, containerKey = '', result = {})=>{
36755
36767
  Object.entries(source).forEach(([key, value])=>{
@@ -37269,12 +37281,12 @@ class HTTPBaseService {
37269
37281
  return Promise.reject(error.response || error);
37270
37282
  };
37271
37283
  async refreshToken() {
37272
- let refreshTokenPath = this.authService.getRefreshTokenPath();
37284
+ const refreshTokenPath = this.authService.getRefreshTokenPath();
37273
37285
  //if (!refreshTokenPath) throw new Error('refreshTokenPath is not configured')
37274
37286
  // Add this temporarily for breeze to work
37275
37287
  if (!refreshTokenPath) {
37276
37288
  setLocalStorageItem('refresh-token-path-not-found', true);
37277
- refreshTokenPath = `${location.origin}/api/v2/auth/refresh-token-web`;
37289
+ //refreshTokenPath = `${location.origin}/api/v2/auth/refresh-token-web`
37278
37290
  }
37279
37291
  const refreshTokenRequest = {
37280
37292
  refresh_token: this.tokenService.getRefreshToken(),
@@ -39880,6 +39892,62 @@ function traverse(value, depth = Infinity, seen) {
39880
39892
  }
39881
39893
  };
39882
39894
 
39895
+ ;// CONCATENATED MODULE: ./src/services/brand-service.ts
39896
+ const DEFAULT_BRAND = 'system';
39897
+ // Must match design-tokens/raw/brand/<slug>.json (each builds ds/brand/<slug>.css).
39898
+ const BRANDS = [
39899
+ 'system',
39900
+ 'accelerex',
39901
+ 'access-pension',
39902
+ 'arm',
39903
+ 'asiko-energy',
39904
+ 'brand-star',
39905
+ 'chapel-hill-denham',
39906
+ 'coronation',
39907
+ 'custodian',
39908
+ 'fmdq',
39909
+ 'grant-thornton',
39910
+ 'julius-berger',
39911
+ 'providus',
39912
+ 'sterling',
39913
+ 'titan-trust',
39914
+ 'vdl',
39915
+ 'wema-bank',
39916
+ 'zebet'
39917
+ ];
39918
+ // Full-hostname match: covers clients on their own domains, and subdomains that don't equal the slug.
39919
+ // A client's branch hosts all map to the same brand.
39920
+ const BRAND_HOSTS = {
39921
+ 'globalaccelerex.seamlesshrms.com': 'accelerex',
39922
+ 'gt.seamlesshrms.com': 'grant-thornton',
39923
+ 'nairabet.seamlesshrms.com': 'brand-star',
39924
+ 'asikoenergy.seamlesshrms.com': 'asiko-energy',
39925
+ 'custodian.seamlesshrms.com': 'custodian',
39926
+ 'access-armpensions.seamlesshrms.com': 'access-pension',
39927
+ 'arm.seamlesshrms.com': 'arm',
39928
+ 'jbnrecruitment.seamlesshiring.com': 'julius-berger',
39929
+ 'hrms.providusbank.com': 'providus',
39930
+ 'vdl.seamlesshrms.com': 'vdl',
39931
+ 'coronation.seamlesshrms.com': 'coronation',
39932
+ 'hchub.sterling.ng': 'sterling',
39933
+ 'wemabank.seamlesshrms.com': 'wema-bank',
39934
+ 'humancapital.chapelhilldenham.com': 'chapel-hill-denham',
39935
+ // For internal testing
39936
+ 'unstable-reco.seamlesshrms.com': 'wema-bank'
39937
+ };
39938
+ function isBrand(slug) {
39939
+ return !!slug && BRANDS.includes(slug);
39940
+ }
39941
+ function resolveBrand(slug, hostname = globalThis.location?.hostname) {
39942
+ if (isBrand(slug)) return slug;
39943
+ return BRAND_HOSTS[hostname?.toLowerCase() ?? ''] ?? DEFAULT_BRAND;
39944
+ }
39945
+ function setBrand(slug) {
39946
+ const brand = resolveBrand(slug);
39947
+ document.documentElement.dataset.brand = brand;
39948
+ return brand;
39949
+ }
39950
+
39883
39951
  ;// CONCATENATED MODULE: ./src/services/event-bus.ts
39884
39952
  /*
39885
39953
  import {ShrEventBus} from '....'
@@ -72574,6 +72642,9 @@ MixpanelService.trackEvent = (nodeEnv, eventName, payload)=>{
72574
72642
 
72575
72643
 
72576
72644
 
72645
+ // Runs synchronously from the <head> script tag, so data-brand is set before first paint.
72646
+ setBrand();
72647
+
72577
72648
  /* export default */ var main_umd = ({});
72578
72649
 
72579
72650
  }();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shrfe/assets",
3
- "version": "1.0.73",
3
+ "version": "1.0.74-staging.1",
4
4
  "description": "The assets used in SeamlessHR products",
5
5
  "author": "SeamlessHR LTD <oludayo@seamlesshr.com>",
6
6
  "license": "ISC",
@@ -1 +1 @@
1
- import{r as e,d as s,h as r,H as l}from"./p-BoRgucbk.js";import{s as a}from"./p-DFCAnQFT.js";const i=class{constructor(r){new.target===i&&e(this,r),this.uploadStart=s(this,"uploadStart",7),this.uploadRetry=s(this,"uploadRetry",7),this.uploadError=s(this,"uploadError",7),this.fileChange=s(this,"fileChange",7)}disabled=!1;extended=!0;thumbnail="file";inverted=!1;hasError=!1;progress=0;multiple=!1;type="draggable";maxFileSize=.5;accepts=[];testId="";uploadStart;uploadRetry;uploadError;fileChange;fileInputRef;files=[];selectedFileIndex=null;get fileDetails(){return this.files.map((e=>({name:e.name,size:(e.size/1024/1024).toFixed(2)})))}get formattedAcceptedFileTypes(){if(!Array.isArray(this.accepts)||0===this.accepts.length)return"";const e=this.accepts.map((e=>e.replace(".","").toUpperCase())),s=e.pop();return 1===this.accepts.length?`${s}.`:`${e.join(", ")} or ${s}.`}get maxFileSizeInfo(){return this.maxFileSize?`Max size of ${this.maxFileSize} MB`:""}resetInputValueToNull=e=>{e.target.value=""};replaceMultipleFile=e=>{const s=e.target,r=s.files?s.files[0]:null;r&&null!==this.selectedFileIndex&&(this.files=this.files.map(((e,s)=>this.selectedFileIndex==s?r:e)),this.selectedFileIndex=null),this.resetInputValueToNull(e),this.checkMaxFileSize()};onChange=e=>{this.uploadStart.emit();const s=this.fileInputRef?.files,r=s?Array.from(s):[];this.multiple&&null!==this.selectedFileIndex&&r.length>0&&this.replaceMultipleFile(e),!this.multiple&&r.length>1&&(this.uploadError.emit("Only one file can be uploaded when multiple is disabled."),a("error","Error","Only one file can be uploaded when multiple is disabled.")),this.files=this.multiple?[...this.files,...r]:r,this.checkMaxFileSize()};triggerFileInput=e=>{e.preventDefault(),this.fileInputRef.click()};dragOver=e=>{e.preventDefault();const s=e.currentTarget;s.classList.contains("sfe-light-blue")||this.disabled||s.classList.add("sfe-light-blue")};dragLeave=e=>{e.preventDefault(),e.currentTarget.classList.remove("sfe-light-blue")};drop=e=>{e.preventDefault(),!this.disabled&&e.dataTransfer&&(this.fileInputRef.files=e.dataTransfer.files,this.onChange(e),e.currentTarget.classList.remove("sfe-light-blue"))};checkMaxFileSize=()=>{if(this.maxFileSize>0){const e=new Set,s=[];this.files.forEach((r=>{r.size/1024/1024>this.maxFileSize?s.push(r):e.add(r)})),s.length>0&&(this.uploadError.emit(`Some files exceed the size limit of ${this.maxFileSize} MB.`),a("error","Error",`The following files exceed the size limit of ${this.maxFileSize} MB: ${s.map((e=>e.name)).join(", ")}`)),this.files=Array.from(e),this.fileChange.emit(this.files)}};removeFile=e=>{const s=e.detail;s>-1&&s<this.files.length&&(this.files=this.files.filter(((e,r)=>r!==s)),this.fileChange.emit(this.files))};handleFileReplace=e=>{const s=e.target;this.selectedFileIndex=e.detail,s.value="",this.triggerFileInput(e)};render(){return r(l,{key:"24d4ab5832d0a046610763be664f4b64cd28cbce"},r("div",{key:"308f054f0dba4c0c1a41b8a178b15127b68f66db",class:"d-block","data-testid":`swc-file-uploader-${this.testId}`},r("input",{key:"514123946a5996e5073bb52007b98932fabc5693",ref:e=>this.fileInputRef=e,type:"file",multiple:this.multiple,disabled:this.disabled,accept:this.accepts.join(","),style:{display:"none"},onClick:this.resetInputValueToNull,onChange:this.onChange}),(!!this.multiple||0===this.fileDetails.length)&&r("div",{key:"76c12b5d3e2c98e0ab24a9d72168d87767d98510"},"basic"===this.type&&r("button",{key:"8c96ba6a0068771a00a1786f85ca9c76efb6349f","aria-label":"choose file",disabled:this.disabled,class:{"basic-uploader":!0,"has-error":this.hasError},onClick:this.triggerFileInput},r("span",{key:"65195dc38a5f3d985cb5970798605e0a4e0c0703",class:"chooser d-flex align-items-center"},"Choose file...")),"basic"!==this.type&&r("button",{key:"1ca12416d714fb2b2df7b3efd0361c1584fa8add",class:{"drag-area":!0,disabled:this.disabled,"not-extended":!this.extended,"has-error":this.hasError},disabled:this.disabled,onDragOver:this.dragOver,onDragLeave:this.dragLeave,onDrop:this.drop,onClick:this.triggerFileInput},r("div",{key:"22474fef95e90c13953abeffb31fcb15c1ee1a25"},r("div",{key:"2752598014bead5f620ead025e69c56147fa5411",class:"drag-label"},"Drag & Drop or ",r("span",{key:"e382460f3730be82dea2dbd5729d89dd1868c66b",class:"choose-file"},"Choose file")," to upload"),this.extended&&r("small",{key:"8cc16c611e8c15dee3cb029e0054819ca78addaf",class:"formats"},this.formattedAcceptedFileTypes," ",this.maxFileSizeInfo)))),!this.multiple&&this.fileDetails.length>0&&r("swc-single-file",{key:"4eaaf838e74f3ddcbc27f992ac8e3cb638702d51",inverted:this.inverted,hasError:this.hasError,fileInfo:this.files,extended:this.extended,thumbnail:this.thumbnail,progress:this.progress,onUpdateRemove:this.removeFile,onUpdateReplace:this.triggerFileInput,onUploadRetry:()=>this.uploadRetry.emit()}),this.multiple&&this.fileDetails.length>0&&r("swc-multiple-file",{key:"da223f93e19c5261df218c856135f7b0e6184f17",inverted:this.inverted,hasError:this.hasError,fileInfo:this.files,progress:this.progress,onUpdateRemove:this.removeFile,onUpdateReplace:this.handleFileReplace,onUploadRetry:()=>this.uploadRetry.emit()})))}};i.style=".sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader{border-radius:var(--sfe-sizing-radius-default, 8px);border:1px dashed var(--sfe-color-border-neutral-subtle, #dee3e7);background-color:var(--sfe-color-fill-backround, #fafbff);color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-style:normal;font-weight:400;display:block;width:100%;height:122px;transition:border-color 0.3s ease}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader:hover{border-color:var(--sfe-btn-color-border-solid-brand-hover, #206edd)}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-btn-color-border-solid-brand-hover, #206edd);outline-offset:1px}.sc-swc-file-uploader-h .drag-area.disabled.sc-swc-file-uploader{opacity:0.5;border:1px dashed var(--sfe-color-border-neutral-subtle, #dee3e7)}.sc-swc-file-uploader-h .drag-area.has-error.sc-swc-file-uploader{border-radius:var(--sfe-sizing-radius-default, 8px);border:1px dashed var(--sfe-color-border-critical-solid, #a22827) !important;background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-file-uploader-h .drag-area.has-error.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-color-non-semantic-content-blue-subtle, #1e50c0);outline-offset:1px}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader{font-size:var(--sfe-typography-font-size-label-default, 0.875rem);line-height:16px;margin-top:16px}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader span.choose-file.sc-swc-file-uploader{color:var(--sfe-color-text-default-brand, #004ca6)}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader small.formats.sc-swc-file-uploader{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-size:var(--sfe-typography-font-size-label-small, 0.75rem);line-height:14px}.sc-swc-file-uploader-h .drag-area.not-extended.sc-swc-file-uploader{display:flex;align-items:center;justify-content:center;padding:8px 16px;height:36px}.sc-swc-file-uploader-h .drag-area.not-extended.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader{margin-top:0;margin-left:8px;white-space:nowrap}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader{width:fit-content;height:42px;border-radius:var(--sfe-sizing-radius-default, 8px);border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-surface, #fff);box-shadow:0 1px 2px 0 rgba(27, 36, 44, 0.12);padding:8px var(--sfe-sizing-gap-large, 16px);transition:border-color 0.5s ease}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-btn-color-border-solid-brand-hover, #206edd);outline-offset:1px}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader:hover{border-color:var(--sfe-btn-color-border-solid-brand-hover, #206edd)}.sc-swc-file-uploader-h .basic-uploader.has-error.sc-swc-file-uploader{border:1px solid var(--sfe-color-border-critical-solid, #a22827)}.sc-swc-file-uploader-h .basic-uploader.has-error.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-color-non-semantic-content-blue-subtle, #1e50c0);outline-offset:1px}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader .chooser.sc-swc-file-uploader{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:450;line-height:24px;letter-spacing:0.28px;color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-file-uploader-h .sfe-light-blue.sc-swc-file-uploader{border:2px solid var(--sfe-color-border-brand-solid, #0064db);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9)}.sc-swc-file-uploader-h .d-block.sc-swc-file-uploader{display:block}.sc-swc-file-uploader-h .d-flex.sc-swc-file-uploader{display:flex}.sc-swc-file-uploader-h .align-items-center.sc-swc-file-uploader{align-items:center}.sc-swc-file-uploader-h .justify-content-end.sc-swc-file-uploader{justify-content:flex-end}.sc-swc-file-uploader-h .justify-content-between.sc-swc-file-uploader{justify-content:space-between}";export{i as swc_file_uploader}
1
+ import{r as e,d as s,h as r,H as l}from"./p-BoRgucbk.js";import{s as a}from"./p-DFCAnQFT.js";const i=class{constructor(r){new.target===i&&e(this,r),this.uploadStart=s(this,"uploadStart",7),this.uploadRetry=s(this,"uploadRetry",7),this.uploadError=s(this,"uploadError",7),this.fileChange=s(this,"fileChange",7)}disabled=!1;extended=!0;thumbnail="file";inverted=!1;hasError=!1;progress=0;multiple=!1;type="draggable";maxFileSize=.5;accepts=[];testId="";uploadStart;uploadRetry;uploadError;fileChange;fileInputRef;files=[];selectedFileIndex=null;get fileDetails(){return this.files.map((e=>({name:e.name,size:(e.size/1024/1024).toFixed(2)})))}get formattedAcceptedFileTypes(){if(!Array.isArray(this.accepts)||0===this.accepts.length)return"";const e=this.accepts.map((e=>e.replace(".","").toUpperCase())),s=e.pop();return 1===this.accepts.length?`${s}.`:`${e.join(", ")} or ${s}.`}get maxFileSizeInfo(){return this.maxFileSize?`Max size of ${this.maxFileSize} MB`:""}resetInputValueToNull=e=>{e.target.value=""};replaceMultipleFile=e=>{const s=e.target,r=s.files?s.files[0]:null;r&&null!==this.selectedFileIndex&&(this.files=this.files.map(((e,s)=>this.selectedFileIndex==s?r:e)),this.selectedFileIndex=null),this.resetInputValueToNull(e),this.checkMaxFileSize()};onChange=e=>{this.uploadStart.emit();const s=this.fileInputRef?.files,r=s?Array.from(s):[];this.multiple&&null!==this.selectedFileIndex&&r.length>0&&this.replaceMultipleFile(e),!this.multiple&&r.length>1&&(this.uploadError.emit("Only one file can be uploaded when multiple is disabled."),a("error","Error","Only one file can be uploaded when multiple is disabled.")),this.files=this.multiple?[...this.files,...r]:r,this.checkMaxFileSize()};triggerFileInput=e=>{e.preventDefault(),this.fileInputRef.click()};dragOver=e=>{e.preventDefault();const s=e.currentTarget;s.classList.contains("sfe-light-blue")||this.disabled||s.classList.add("sfe-light-blue")};dragLeave=e=>{e.preventDefault(),e.currentTarget.classList.remove("sfe-light-blue")};drop=e=>{e.preventDefault(),!this.disabled&&e.dataTransfer&&(this.fileInputRef.files=e.dataTransfer.files,this.onChange(e),e.currentTarget.classList.remove("sfe-light-blue"))};checkMaxFileSize=()=>{if(this.maxFileSize>0){const e=new Set,s=[];this.files.forEach((r=>{r.size/1024/1024>this.maxFileSize?s.push(r):e.add(r)})),s.length>0&&(this.uploadError.emit(`Some files exceed the size limit of ${this.maxFileSize} MB.`),a("error","Error",`The following files exceed the size limit of ${this.maxFileSize} MB: ${s.map((e=>e.name)).join(", ")}`)),this.files=Array.from(e),this.fileChange.emit(this.files)}};removeFile=e=>{const s=e.detail;s>-1&&s<this.files.length&&(this.files=this.files.filter(((e,r)=>r!==s)),this.fileChange.emit(this.files))};handleFileReplace=e=>{const s=e.target;this.selectedFileIndex=e.detail,s.value="",this.triggerFileInput(e)};render(){return r(l,{key:"24d4ab5832d0a046610763be664f4b64cd28cbce"},r("div",{key:"308f054f0dba4c0c1a41b8a178b15127b68f66db",class:"d-block","data-testid":`swc-file-uploader-${this.testId}`},r("input",{key:"514123946a5996e5073bb52007b98932fabc5693",ref:e=>this.fileInputRef=e,type:"file",multiple:this.multiple,disabled:this.disabled,accept:this.accepts.join(","),style:{display:"none"},onClick:this.resetInputValueToNull,onChange:this.onChange}),(!!this.multiple||0===this.fileDetails.length)&&r("div",{key:"76c12b5d3e2c98e0ab24a9d72168d87767d98510"},"basic"===this.type&&r("button",{key:"8c96ba6a0068771a00a1786f85ca9c76efb6349f","aria-label":"choose file",disabled:this.disabled,class:{"basic-uploader":!0,"has-error":this.hasError},onClick:this.triggerFileInput},r("span",{key:"65195dc38a5f3d985cb5970798605e0a4e0c0703",class:"chooser d-flex align-items-center"},"Choose file...")),"basic"!==this.type&&r("button",{key:"1ca12416d714fb2b2df7b3efd0361c1584fa8add",class:{"drag-area":!0,disabled:this.disabled,"not-extended":!this.extended,"has-error":this.hasError},disabled:this.disabled,onDragOver:this.dragOver,onDragLeave:this.dragLeave,onDrop:this.drop,onClick:this.triggerFileInput},r("div",{key:"22474fef95e90c13953abeffb31fcb15c1ee1a25"},r("div",{key:"2752598014bead5f620ead025e69c56147fa5411",class:"drag-label"},"Drag & Drop or ",r("span",{key:"e382460f3730be82dea2dbd5729d89dd1868c66b",class:"choose-file"},"Choose file")," to upload"),this.extended&&r("small",{key:"8cc16c611e8c15dee3cb029e0054819ca78addaf",class:"formats"},this.formattedAcceptedFileTypes," ",this.maxFileSizeInfo)))),!this.multiple&&this.fileDetails.length>0&&r("swc-single-file",{key:"4eaaf838e74f3ddcbc27f992ac8e3cb638702d51",inverted:this.inverted,hasError:this.hasError,fileInfo:this.files,extended:this.extended,thumbnail:this.thumbnail,progress:this.progress,onUpdateRemove:this.removeFile,onUpdateReplace:this.triggerFileInput,onUploadRetry:()=>this.uploadRetry.emit()}),this.multiple&&this.fileDetails.length>0&&r("swc-multiple-file",{key:"da223f93e19c5261df218c856135f7b0e6184f17",inverted:this.inverted,hasError:this.hasError,fileInfo:this.files,progress:this.progress,onUpdateRemove:this.removeFile,onUpdateReplace:this.handleFileReplace,onUploadRetry:()=>this.uploadRetry.emit()})))}};i.style=".sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader{border-radius:var(--sfe-sizing-radius-default, 8px);border:1px dashed var(--sfe-color-border-neutral-subtle, #dee3e7);background-color:var(--sfe-color-fill-background, #fafbff);color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-style:normal;font-weight:400;display:block;width:100%;height:122px;transition:border-color 0.3s ease}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader:hover{border-color:var(--sfe-btn-color-border-solid-brand-hover, #206edd)}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-btn-color-border-solid-brand-hover, #206edd);outline-offset:1px}.sc-swc-file-uploader-h .drag-area.disabled.sc-swc-file-uploader{opacity:0.5;border:1px dashed var(--sfe-color-border-neutral-subtle, #dee3e7)}.sc-swc-file-uploader-h .drag-area.has-error.sc-swc-file-uploader{border-radius:var(--sfe-sizing-radius-default, 8px);border:1px dashed var(--sfe-color-border-critical-solid, #a22827) !important;background:var(--sfe-color-fill-background, #fafbff)}.sc-swc-file-uploader-h .drag-area.has-error.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-color-non-semantic-content-blue-subtle, #1e50c0);outline-offset:1px}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader{font-size:var(--sfe-typography-font-size-label-default, 0.875rem);line-height:16px;margin-top:16px}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader span.choose-file.sc-swc-file-uploader{color:var(--sfe-color-text-default-brand, #004ca6)}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader small.formats.sc-swc-file-uploader{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-size:var(--sfe-typography-font-size-label-small, 0.75rem);line-height:14px}.sc-swc-file-uploader-h .drag-area.not-extended.sc-swc-file-uploader{display:flex;align-items:center;justify-content:center;padding:8px 16px;height:36px}.sc-swc-file-uploader-h .drag-area.not-extended.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader{margin-top:0;margin-left:8px;white-space:nowrap}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader{width:fit-content;height:42px;border-radius:var(--sfe-sizing-radius-default, 8px);border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-surface, #fff);box-shadow:0 1px 2px 0 rgba(27, 36, 44, 0.12);padding:8px var(--sfe-sizing-gap-large, 16px);transition:border-color 0.5s ease}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-btn-color-border-solid-brand-hover, #206edd);outline-offset:1px}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader:hover{border-color:var(--sfe-btn-color-border-solid-brand-hover, #206edd)}.sc-swc-file-uploader-h .basic-uploader.has-error.sc-swc-file-uploader{border:1px solid var(--sfe-color-border-critical-solid, #a22827)}.sc-swc-file-uploader-h .basic-uploader.has-error.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-color-non-semantic-content-blue-subtle, #1e50c0);outline-offset:1px}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader .chooser.sc-swc-file-uploader{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:450;line-height:24px;letter-spacing:0.28px;color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-file-uploader-h .sfe-light-blue.sc-swc-file-uploader{border:2px solid var(--sfe-color-border-brand-solid, #0064db);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9)}.sc-swc-file-uploader-h .d-block.sc-swc-file-uploader{display:block}.sc-swc-file-uploader-h .d-flex.sc-swc-file-uploader{display:flex}.sc-swc-file-uploader-h .align-items-center.sc-swc-file-uploader{align-items:center}.sc-swc-file-uploader-h .justify-content-end.sc-swc-file-uploader{justify-content:flex-end}.sc-swc-file-uploader-h .justify-content-between.sc-swc-file-uploader{justify-content:space-between}";export{i as swc_file_uploader}