@bikdotai/bik-widgets 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/.eslintrc +22 -0
  2. package/.eslintrc.js +19 -0
  3. package/.github/workflows/main.yml +293 -0
  4. package/.prettierignore +13 -0
  5. package/.prettierrc +10 -0
  6. package/README.md +128 -0
  7. package/cypress/apiHelper/endpoints.ts +21 -0
  8. package/cypress/apiHelper/executor.ts +42 -0
  9. package/cypress/e2e/bottomDrawer.cy.ts +49 -0
  10. package/cypress/e2e/directReward.cy.ts +67 -0
  11. package/cypress/e2e/scratchTheCard.cy.ts +68 -0
  12. package/cypress/e2e/stw.cy.ts +82 -0
  13. package/cypress/e2e/waRedirection.cy.ts +46 -0
  14. package/cypress/fixtures/payloads.ts +330 -0
  15. package/cypress/support/commands.ts +37 -0
  16. package/cypress/support/e2e.ts +20 -0
  17. package/cypress.staging.config.ts +23 -0
  18. package/jsconfig.json +6 -0
  19. package/localtest.sh +10 -0
  20. package/log-server.js +86 -0
  21. package/package.json +79 -0
  22. package/postcss.config.js +8 -0
  23. package/src/Globals.d.ts +2 -0
  24. package/src/assets/lottie/santa.json +11722 -0
  25. package/src/assets/svg/CalendarClockIcon.tsx +30 -0
  26. package/src/assets/svg/CalendarIcon.tsx +24 -0
  27. package/src/assets/svg/CheckIcon.tsx +17 -0
  28. package/src/assets/svg/ChevronIcon.tsx +21 -0
  29. package/src/assets/svg/Close.tsx +39 -0
  30. package/src/assets/svg/Confetti.tsx +140 -0
  31. package/src/assets/svg/Copy.tsx +26 -0
  32. package/src/assets/svg/DropdownCheckIcon.tsx +35 -0
  33. package/src/assets/svg/ErrorIcon.tsx +27 -0
  34. package/src/assets/svg/RadioIcon.tsx +25 -0
  35. package/src/assets/svg/UncheckedCheckboxIcon.tsx +28 -0
  36. package/src/assets/svg/UncheckedRadioIcon.tsx +26 -0
  37. package/src/assets/svg/info.tsx +30 -0
  38. package/src/assets/svg/qrcode.svg +14 -0
  39. package/src/bootstrap.tsx +8 -0
  40. package/src/components/CtaCard/index.tsx +37 -0
  41. package/src/components/CtaCard/preview.module.css +32 -0
  42. package/src/components/CtaCard/style.module.css +32 -0
  43. package/src/components/EmailInput/emailInputBox.tsx +95 -0
  44. package/src/components/Fab/index.tsx +224 -0
  45. package/src/components/Fab/preview.module.css +28 -0
  46. package/src/components/Fab/style.module.css +37 -0
  47. package/src/components/Icons/Call.tsx +26 -0
  48. package/src/components/Icons/Cross.tsx +24 -0
  49. package/src/components/Icons/Gmail.tsx +61 -0
  50. package/src/components/Icons/Instagram.tsx +60 -0
  51. package/src/components/Icons/LiveChat.tsx +43 -0
  52. package/src/components/Icons/Messenger.tsx +57 -0
  53. package/src/components/Icons/Send.tsx +22 -0
  54. package/src/components/Icons/Whatsapp.tsx +24 -0
  55. package/src/components/Shimmer/index.tsx +12 -0
  56. package/src/components/Shimmer/style.module.css +37 -0
  57. package/src/components/SmsInput/smsInputBox.tsx +135 -0
  58. package/src/components/UserDetailsV2/userDetailsV2.desktop.module.css +52 -0
  59. package/src/components/UserDetailsV2/userDetailsV2.mobile.module.css +52 -0
  60. package/src/components/UserDetailsV2/userDetailsV2.module.css +81 -0
  61. package/src/components/UserDetailsV2/userDetailsV2.tsx +527 -0
  62. package/src/components/WhatsappInput/Spinner.tsx +26 -0
  63. package/src/components/WhatsappInput/whatsappInput.module.css +106 -0
  64. package/src/components/WhatsappInput/whatsappInputBox.tsx +155 -0
  65. package/src/components/WhatsappInput/whatsappInputPreviewDesktop.module.css +71 -0
  66. package/src/components/WhatsappInput/whatsappInputPreviewMobile.module.css +65 -0
  67. package/src/components/checkbox/checkbox.module.css +19 -0
  68. package/src/components/checkbox/checkbox.tsx +88 -0
  69. package/src/components/countryCodePicker/countriesDropdown.module.css +77 -0
  70. package/src/components/countryCodePicker/countriesDropdown.tsx +81 -0
  71. package/src/components/couponDetails/coupon.module.css +208 -0
  72. package/src/components/couponDetails/coupon.tsx +210 -0
  73. package/src/components/couponDetails/couponPreviewDesktop.module.css +158 -0
  74. package/src/components/couponDetails/couponPreviewMobile.module.css +164 -0
  75. package/src/components/index.ts +3 -0
  76. package/src/components/inputComponents/Checkbox.module.css +197 -0
  77. package/src/components/inputComponents/Checkbox.tsx +85 -0
  78. package/src/components/inputComponents/DatePicker.module.css +565 -0
  79. package/src/components/inputComponents/DatePicker.tsx +278 -0
  80. package/src/components/inputComponents/Dropdown.module.css +796 -0
  81. package/src/components/inputComponents/Dropdown.tsx +630 -0
  82. package/src/components/inputComponents/InputBox.module.css +401 -0
  83. package/src/components/inputComponents/InputBox.tsx +209 -0
  84. package/src/components/selectedCountry/selectedCountry.module.css +76 -0
  85. package/src/components/selectedCountry/selectedCountry.tsx +76 -0
  86. package/src/components/selectedCountry/selectedCountryPreviewDesktop.module.css +56 -0
  87. package/src/components/selectedCountry/selectedCountryPreviewMobile.module.css +57 -0
  88. package/src/components/userDetailsForm/RenderCustomFields.tsx +333 -0
  89. package/src/components/userDetailsForm/userDetailsForm.tsx +675 -0
  90. package/src/hooks/index.ts +4 -0
  91. package/src/hooks/useExitIntent.ts +452 -0
  92. package/src/hooks/useIsMobile.tsx +21 -0
  93. package/src/hooks/useMessageEvent.ts +8 -0
  94. package/src/hooks/useTriggeredIntentDetails.ts +43 -0
  95. package/src/hooks/useUrlListerner.ts +30 -0
  96. package/src/hooks/useWebSocketLogger.ts +59 -0
  97. package/src/hooks/useWindowEvent.ts +8 -0
  98. package/src/icons/copyIcon.tsx +26 -0
  99. package/src/icons/crossIconDesktop.tsx +20 -0
  100. package/src/icons/crossIconMobile.tsx +20 -0
  101. package/src/index.html +30 -0
  102. package/src/index.ts +32 -0
  103. package/src/index.tsx +1 -0
  104. package/src/repo/widgetRepo.ts +21 -0
  105. package/src/types/customFields.ts +73 -0
  106. package/src/utilities/cookie.ts +70 -0
  107. package/src/utilities/customFieldTypeMapping.ts +67 -0
  108. package/src/utilities/customFieldValidation.ts +201 -0
  109. package/src/utilities/encryption.ts +21 -0
  110. package/src/utilities/exitIntentUtils.ts +31 -0
  111. package/src/utilities/global.css +11 -0
  112. package/src/utilities/languageUtilities.ts +235 -0
  113. package/src/utilities/localRunner.js +26 -0
  114. package/src/utilities/localRunner.ts +27 -0
  115. package/src/utilities/localStorage.ts +40 -0
  116. package/src/utilities/script.tsx +15 -0
  117. package/src/utilities/stringUtils.ts +5 -0
  118. package/src/utilities/styleUtils.ts +134 -0
  119. package/src/utilities/variables.ts +11 -0
  120. package/src/utilities/widgetUtils.js +342 -0
  121. package/src/utilities/widgetUtils.ts +313 -0
  122. package/src/widgets/BottomDrawer/config.ts +41 -0
  123. package/src/widgets/BottomDrawer/index.tsx +116 -0
  124. package/src/widgets/BottomDrawer/modal.tsx +286 -0
  125. package/src/widgets/BottomDrawer/preview.module.css +122 -0
  126. package/src/widgets/BottomDrawer/previewMobile.module.css +124 -0
  127. package/src/widgets/BottomDrawer/style.module.css +279 -0
  128. package/src/widgets/CaptivateBanner/captivateBanner.tsx +200 -0
  129. package/src/widgets/CaptivateBanner/config.ts +72 -0
  130. package/src/widgets/CaptivateBanner/index.tsx +204 -0
  131. package/src/widgets/CaptivateBanner/previewDesktop.module.css +51 -0
  132. package/src/widgets/CaptivateBanner/previewMobile.module.css +51 -0
  133. package/src/widgets/CaptivateBanner/style.module.css +77 -0
  134. package/src/widgets/CaptivateBanner/utils.ts +104 -0
  135. package/src/widgets/CentrallyAlignedPopup/config.ts +42 -0
  136. package/src/widgets/CentrallyAlignedPopup/index.tsx +109 -0
  137. package/src/widgets/CentrallyAlignedPopup/modal.tsx +269 -0
  138. package/src/widgets/CentrallyAlignedPopup/preview.module.css +153 -0
  139. package/src/widgets/CentrallyAlignedPopup/previewMobile.module.css +153 -0
  140. package/src/widgets/CentrallyAlignedPopup/style.module.css +283 -0
  141. package/src/widgets/DirectReward/components/couponDetails.tsx +265 -0
  142. package/src/widgets/DirectReward/components/userDetails.tsx +117 -0
  143. package/src/widgets/DirectReward/config.ts +186 -0
  144. package/src/widgets/DirectReward/directReward.tsx +350 -0
  145. package/src/widgets/DirectReward/index.tsx +579 -0
  146. package/src/widgets/DirectReward/previewStyles/thankYouPreviewDesktop.module.css +276 -0
  147. package/src/widgets/DirectReward/previewStyles/thankYouPreviewMobile.module.css +303 -0
  148. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewDesktop.module.css +511 -0
  149. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewMobile.module.css +462 -0
  150. package/src/widgets/DirectReward/style.module.css +836 -0
  151. package/src/widgets/ExitIntentHook.tsx +28 -0
  152. package/src/widgets/STW/api.ts +70 -0
  153. package/src/widgets/STW/components/svgFactory.tsx +44 -0
  154. package/src/widgets/STW/config.ts +193 -0
  155. package/src/widgets/STW/context.ts +7 -0
  156. package/src/widgets/STW/couponDetails.tsx +121 -0
  157. package/src/widgets/STW/index.tsx +733 -0
  158. package/src/widgets/STW/previewStyles/thankyouPreviewDesktop.module.css +215 -0
  159. package/src/widgets/STW/previewStyles/thankyouPreviewMobile.module.css +205 -0
  160. package/src/widgets/STW/previewStyles/userInputsPreviewDesktop.module.css +732 -0
  161. package/src/widgets/STW/previewStyles/userInputsPreviewMobile.module.css +661 -0
  162. package/src/widgets/STW/previewStyles/wheelPreviewDesktop.module.css +498 -0
  163. package/src/widgets/STW/previewStyles/wheelPreviewMobile.module.css +497 -0
  164. package/src/widgets/STW/stw1.tsx +119 -0
  165. package/src/widgets/STW/stw2Components/wheelDesign.tsx +183 -0
  166. package/src/widgets/STW/stw2Pages/couponDetails.tsx +72 -0
  167. package/src/widgets/STW/stw2Pages/stw2.tsx +212 -0
  168. package/src/widgets/STW/stw2Pages/style.module.css +1226 -0
  169. package/src/widgets/STW/stw2Pages/userDetails.tsx +86 -0
  170. package/src/widgets/STW/stw2Pages/wheel.tsx +117 -0
  171. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewDesktop.module.css +835 -0
  172. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewMobile.module.css +787 -0
  173. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewDesktop.module.css +867 -0
  174. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewMobile.module.css +798 -0
  175. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewDesktop.module.css +572 -0
  176. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewMobile.module.css +559 -0
  177. package/src/widgets/STW/style.module.css +901 -0
  178. package/src/widgets/STW/userDetails.tsx +150 -0
  179. package/src/widgets/STW/utility.ts +664 -0
  180. package/src/widgets/STW/wheel.tsx +304 -0
  181. package/src/widgets/ScratchCard/ScratchOff/scratchOff.tsx +157 -0
  182. package/src/widgets/ScratchCard/config.ts +152 -0
  183. package/src/widgets/ScratchCard/globalStyle.module.css +931 -0
  184. package/src/widgets/ScratchCard/index.tsx +546 -0
  185. package/src/widgets/ScratchCard/modal.tsx +225 -0
  186. package/src/widgets/ScratchCard/preview.module.css +250 -0
  187. package/src/widgets/ScratchCard/previewMobile.module.css +247 -0
  188. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewDesktop.module.css +537 -0
  189. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewMobile.module.css +463 -0
  190. package/src/widgets/ScratchCard/style.module.css +220 -0
  191. package/src/widgets/ShopifyForm/config.ts +168 -0
  192. package/src/widgets/ShopifyForm/index.tsx +214 -0
  193. package/src/widgets/ShopifyForm/previewDesktop.module.css +117 -0
  194. package/src/widgets/ShopifyForm/previewMobile.module.css +131 -0
  195. package/src/widgets/ShopifyForm/shopifyForm.tsx +445 -0
  196. package/src/widgets/ShopifyForm/style.module.css +161 -0
  197. package/src/widgets/SingleButtonRedirection/config.ts +47 -0
  198. package/src/widgets/SingleButtonRedirection/index.tsx +121 -0
  199. package/src/widgets/WebStories/config.ts +105 -0
  200. package/src/widgets/WebStories/index.css +3 -0
  201. package/src/widgets/WebStories/index.tsx +282 -0
  202. package/src/widgets/WebStories/style.module.css +26 -0
  203. package/src/widgets/index.tsx +3 -0
  204. package/src/widgets/utility.ts +31 -0
  205. package/tsconfig.json +12 -0
  206. package/webpack.config.js +239 -0
@@ -0,0 +1,931 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
2
+
3
+ body.bik-overflow-hidden {
4
+ overflow: hidden;
5
+ }
6
+
7
+ .loader {
8
+ border: 2px solid rgba(255, 255, 255, 0.3);
9
+ border-top: 2px solid #fff;
10
+ border-left: 2px solid #fff;
11
+ border-radius: 50%;
12
+ width: 20px;
13
+ height: 20px;
14
+ display: block !important;
15
+ animation: spin 1.3s linear infinite;
16
+ }
17
+
18
+ .userDetailsTitleWrapper {
19
+ display: flex;
20
+ justify-content: center;
21
+ text-align: center;
22
+ font-family: inherit;
23
+ }
24
+
25
+ .userDetailsTitleWrapper * {
26
+ font-family: inherit;
27
+ }
28
+
29
+ .bikSpinOverlay {
30
+ width: 100%;
31
+ height: 100%;
32
+ position: fixed;
33
+ top: 0;
34
+ left: 0;
35
+ background-color: rgba(0, 0, 0, 0.5);
36
+ display: block !important;
37
+ z-index: 9999999999999;
38
+ }
39
+
40
+ .bikCloseBtnWrapper {
41
+ width: 100%;
42
+ display: flex;
43
+ justify-content: flex-end;
44
+ align-items: center;
45
+ }
46
+
47
+ .bikCloseBtn {
48
+ width: 32px;
49
+ height: 32px;
50
+ border-radius: 50%;
51
+ background-color: #fff;
52
+ margin-bottom: 10px;
53
+ display: flex;
54
+ justify-content: center;
55
+ align-items: center;
56
+ cursor: pointer;
57
+ }
58
+
59
+ #phone-field:focus-visible {
60
+ box-shadow: unset;
61
+ }
62
+
63
+ .bikCloseBtn svg {
64
+ width: 24px;
65
+ height: 24px;
66
+ }
67
+
68
+ .bikMainWrapper {
69
+ position: absolute;
70
+ transform: translate(-50%, -50%);
71
+ top: 50%;
72
+ left: 50%;
73
+ width: 50%;
74
+ max-width: 700px;
75
+ min-height: calc(54% + 32px + 28px);
76
+ z-index: 9999;
77
+ }
78
+
79
+ .bikWrapper {
80
+ width: 100%;
81
+ height: calc(100% - 32px - 28px);
82
+ background-color: #ffffff;
83
+ display: flex;
84
+ border-radius: 8px;
85
+ padding: 20px 0;
86
+ box-shadow: 0 4em 5em rgba(27, 8, 53, 0.2);
87
+ flex-direction: column;
88
+ align-items: center;
89
+ justify-content: space-evenly;
90
+ min-height: 400px;
91
+ }
92
+
93
+ .bikWrapper > svg {
94
+ margin-bottom: 8px;
95
+ }
96
+
97
+ .bikHeaderContainer {
98
+ display: flex;
99
+ flex-direction: column;
100
+ width: 100%;
101
+ }
102
+
103
+ #bikHeader {
104
+ font-style: normal;
105
+ font-weight: 400;
106
+ font-size: 20px;
107
+ line-height: 24px;
108
+ text-align: center;
109
+ font-feature-settings:
110
+ 'tnum' on,
111
+ 'lnum' on,
112
+ 'case' on,
113
+ 'ss04' on;
114
+ color: #212121;
115
+ margin: 0;
116
+ font-family: inherit;
117
+ }
118
+
119
+ #bikSubheader {
120
+ font-feature-settings:
121
+ 'tnum' on,
122
+ 'lnum' on,
123
+ 'case' on,
124
+ 'ss04' on;
125
+ color: #616161;
126
+ text-align: center;
127
+ margin: 0;
128
+ margin-bottom: 24px;
129
+ margin-top: 8px;
130
+ font-family: inherit;
131
+ font-size: 12px;
132
+ }
133
+
134
+ #bikHeader p,
135
+ #bikSubheader p {
136
+ font-family: inherit;
137
+ margin-bottom: 0;
138
+ }
139
+
140
+ .bikSegmentDivider {
141
+ background-color: white;
142
+ height: 2px;
143
+ width: 400%;
144
+ transform: rotate(-60deg);
145
+ box-shadow: 0px 0px 11px 2px #00000082;
146
+ position: absolute;
147
+ top: calc(100% - 2px);
148
+ }
149
+
150
+ .poweredBy {
151
+ display: flex;
152
+ justify-content: flex-end;
153
+ align-items: center;
154
+ margin-left: auto;
155
+ text-align: center;
156
+ font-weight: 400;
157
+ font-size: 12px;
158
+ line-height: 16px;
159
+ color: #9e9e9e;
160
+ font-family: 'Inter';
161
+ margin-top: 20px;
162
+ cursor: pointer;
163
+ padding-right: 20px;
164
+ }
165
+
166
+ .poweredBy a {
167
+ text-decoration: none;
168
+ color: #9e9e9e;
169
+ margin-right: 8px;
170
+ }
171
+
172
+ .poweredBy svg {
173
+ stroke: none !important;
174
+ fill: none !important;
175
+ height: unset !important;
176
+ width: unset !important;
177
+ }
178
+
179
+ .spinTopAligned {
180
+ position: absolute;
181
+ top: -18%;
182
+ height: 400px;
183
+ width: 400px;
184
+ }
185
+
186
+ .bikContainerPadding {
187
+ padding-top: 316px;
188
+ }
189
+
190
+ .containerPaddingThankYouPage {
191
+ padding-top: 33px;
192
+ }
193
+
194
+ #bikUserDetails {
195
+ width: 364px;
196
+ margin: 0 auto;
197
+ font-family: inherit;
198
+ }
199
+
200
+ .bikInputWrapper {
201
+ width: 100%;
202
+ display: flex;
203
+ flex-direction: column;
204
+ font-family: inherit;
205
+ }
206
+
207
+ .bikInputWrapper span {
208
+ font-family: inherit;
209
+ }
210
+
211
+ .bikInputWrapper input {
212
+ border: none;
213
+ outline: none;
214
+ padding: 12px 24px;
215
+ background: #ffffff;
216
+ border: 1px solid #e0e0e0;
217
+ border-radius: 4px !important;
218
+ width: 100%;
219
+ font-family: inherit;
220
+ height: 48px;
221
+ box-shadow: none;
222
+ font-family: inherit;
223
+ }
224
+
225
+ input.bikStwSpinInputText::-webkit-outer-spin-button,
226
+ input.bikStwSpinInputText::-webkit-inner-spin-button {
227
+ -webkit-appearance: none;
228
+ margin: 0;
229
+ }
230
+
231
+ #bikErrorWrapper {
232
+ margin: 0 !important;
233
+ color: #b92321 !important;
234
+ font-weight: 400 !important;
235
+ font-size: 12px !important;
236
+ line-height: 16px !important;
237
+ margin-top: 8px !important;
238
+ font-family: inherit !important;
239
+ }
240
+
241
+ #bikayiBtn {
242
+ position: relative;
243
+ border: none;
244
+ padding: 14px 0;
245
+ background: #731dcf;
246
+ border-radius: 8px;
247
+ outline: none;
248
+ width: 100%;
249
+ color: #fff;
250
+ font-weight: 600;
251
+ font-size: 16px;
252
+ line-height: 20px;
253
+ margin-top: 20px;
254
+ cursor: pointer;
255
+ height: 48px;
256
+ font-family: inherit;
257
+ margin-bottom: 8px;
258
+ display: flex;
259
+ justify-content: center;
260
+ align-items: center;
261
+ }
262
+
263
+ .font14 {
264
+ font-size: 14px;
265
+ line-height: 20px;
266
+ }
267
+
268
+ .font16 {
269
+ font-size: 16px !important;
270
+ line-height: 24px;
271
+ }
272
+
273
+ .font28 {
274
+ font-size: 28px;
275
+ line-height: 40px;
276
+ }
277
+
278
+ .fontWeight400 {
279
+ font-weight: 400;
280
+ }
281
+
282
+ .fontWeight600 {
283
+ font-weight: 600;
284
+ }
285
+
286
+ #bikWheel {
287
+ height: 100%;
288
+ width: 100%;
289
+ top: 0;
290
+ padding: 0;
291
+ border-radius: 50%;
292
+ box-shadow: 0px 5.75051px 51.7546px rgb(0 0 0 / 24%);
293
+ border: 21px solid #fff;
294
+ }
295
+
296
+ .top58 {
297
+ top: 58%;
298
+ }
299
+
300
+ .top55 {
301
+ top: -55px;
302
+ }
303
+
304
+ @keyframes rotate {
305
+ 100% {
306
+ transform: rotate(360deg);
307
+ }
308
+ }
309
+
310
+ @keyframes spin {
311
+ 0% {
312
+ transform: rotate(0deg);
313
+ }
314
+
315
+ 100% {
316
+ transform: rotate(360deg);
317
+ }
318
+ }
319
+
320
+ #bikSpinBtn {
321
+ position: absolute;
322
+ transform: translate(-50%, -50%);
323
+ top: 50%;
324
+ left: 50%;
325
+ border: 10px solid #fff !important;
326
+ width: 23%;
327
+ height: 23%;
328
+ border-radius: 50%;
329
+ cursor: pointer;
330
+ border: 0;
331
+ background: #fbbb18;
332
+ color: #664006;
333
+ text-transform: uppercase;
334
+ font-family: 'Poppins';
335
+ font-style: normal;
336
+ font-weight: 700;
337
+ font-size: 24px;
338
+ line-height: 35px;
339
+ text-align: center;
340
+ }
341
+
342
+ .bikWidgetCTAHide {
343
+ display: none !important;
344
+ }
345
+
346
+ .bikWidgetCTAShow {
347
+ display: flex !important;
348
+ }
349
+
350
+ #bikSpinWidgetCTA {
351
+ width: 70px;
352
+ height: 70px;
353
+ border-radius: 50%;
354
+ background: #fce49b;
355
+ display: flex;
356
+ justify-content: center;
357
+ align-items: center;
358
+ position: fixed;
359
+ z-index: 9999;
360
+ cursor: pointer;
361
+ box-shadow:
362
+ rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
363
+ rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
364
+ opacity: 1;
365
+ animation: pulse 0.7s ease-in forwards;
366
+ }
367
+
368
+ #bikSpinWidgetCTA svg {
369
+ fill: #fff;
370
+ }
371
+
372
+ .bikStwError {
373
+ font-style: normal;
374
+ font-weight: 400;
375
+ font-size: 12px;
376
+ line-height: 16px;
377
+ color: #b92321;
378
+ margin-top: 8px;
379
+ display: block;
380
+ }
381
+
382
+ #bikFooter2 {
383
+ display: block;
384
+ flex-direction: column;
385
+ }
386
+
387
+ .bikStwWaCheckboxContainer {
388
+ display: flex;
389
+ flex-direction: row;
390
+ gap: 8px;
391
+ margin: 8px 0;
392
+ font-family: inherit;
393
+ align-items: center;
394
+ }
395
+
396
+ .bikStwWaCheckboxContainer h2 {
397
+ margin: 0;
398
+ color: #616161;
399
+ font-family: inherit;
400
+ }
401
+
402
+ .bikStwWaCheckboxContainer a {
403
+ font-family: inherit;
404
+ }
405
+
406
+ .bikStwCountryCodeContainer {
407
+ gap: 8px;
408
+ display: flex;
409
+ align-items: center;
410
+ flex-direction: row;
411
+ font-family: inherit;
412
+ }
413
+
414
+ #bikFooter2 > h1 {
415
+ font-family: inherit;
416
+ font-style: normal;
417
+ font-weight: 600;
418
+ font-size: 28px;
419
+ line-height: 40px;
420
+ text-align: center;
421
+ font-feature-settings:
422
+ 'tnum' on,
423
+ 'lnum' on,
424
+ 'case' on,
425
+ 'ss04' on;
426
+ color: #212121;
427
+ }
428
+
429
+ #bikFooter2 > h2 {
430
+ font-family: inherit;
431
+ font-style: normal;
432
+ font-weight: 400;
433
+ font-size: 14px;
434
+ line-height: 16px;
435
+ text-align: center;
436
+ font-feature-settings:
437
+ 'tnum' on,
438
+ 'lnum' on,
439
+ 'case' on,
440
+ 'ss04' on;
441
+ color: #212121;
442
+ margin-top: 8px;
443
+ margin-bottom: 24px;
444
+ }
445
+
446
+ .bikStwH2 {
447
+ font-family: inherit;
448
+ font-style: normal;
449
+ font-weight: 400;
450
+ font-size: 14px;
451
+ line-height: 20px;
452
+ font-feature-settings:
453
+ 'tnum' on,
454
+ 'lnum' on,
455
+ 'case' on,
456
+ 'ss04' on;
457
+ color: #212121;
458
+ margin-bottom: 8px;
459
+ }
460
+
461
+ .dropdownContent {
462
+ display: inline-block;
463
+ position: absolute;
464
+ background-color: #fff;
465
+ border: 1px solid #e0e0e0;
466
+ border-radius: 4px;
467
+ height: 110px;
468
+ overflow: scroll;
469
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
470
+ z-index: 1;
471
+ font-family: inherit;
472
+ }
473
+
474
+ .dropdownContent a {
475
+ color: black;
476
+ padding: 12px 16px;
477
+ text-decoration: none;
478
+ border-bottom: 1px solid #e0e0e0;
479
+ display: block;
480
+ font-family: inherit;
481
+ }
482
+
483
+ .bikDropDownItem {
484
+ display: flex;
485
+ flex-direction: row;
486
+ align-items: center;
487
+ border-bottom: 1px solid #e0e0e0;
488
+ gap: 8px;
489
+ padding: 12px 8px;
490
+ font-family: inherit;
491
+ }
492
+
493
+ .bikDropDownItem:hover {
494
+ background-color: #e0e0e0;
495
+ cursor: pointer;
496
+ }
497
+
498
+ .bikStwPhoneInputRow {
499
+ display: flex;
500
+ flex-direction: row;
501
+ margin-top: 24px;
502
+ width: 100%;
503
+ font-family: inherit;
504
+ }
505
+
506
+ .bikStwPhoneInputRow > div {
507
+ font-family: inherit;
508
+ }
509
+
510
+ .bikStwCountryCodePicker {
511
+ height: 48px;
512
+ border-radius: 8px;
513
+ margin-top: 8px;
514
+ border-width: 1px;
515
+ border-style: solid;
516
+ align-items: center;
517
+ border-color: #e0e0e0;
518
+ padding: 12px 8px;
519
+ gap: 8px;
520
+ display: flex;
521
+ flex-direction: row;
522
+ font-family: inherit;
523
+ }
524
+
525
+ .bikStwCountryCodePicker h2 {
526
+ margin: 0;
527
+ }
528
+
529
+ .bikStwDownArrow {
530
+ width: 0;
531
+ height: 0;
532
+ border-left: 5px solid transparent;
533
+ border-right: 5px solid transparent;
534
+ border-top: 7px solid #616161;
535
+ font-size: 0;
536
+ line-height: 0;
537
+ float: left;
538
+ display: block !important;
539
+ }
540
+
541
+ .bikStwCountryFlag {
542
+ width: 24px;
543
+ height: 24px;
544
+ }
545
+
546
+ .bikStwPhoneInput {
547
+ margin-left: 16px;
548
+ flex: 2;
549
+ font-family: inherit;
550
+ }
551
+
552
+ #bikStwOptPhone {
553
+ display: flex;
554
+ margin: 12px 0;
555
+ }
556
+
557
+ #bikStwOptWa {
558
+ display: flex;
559
+ margin: 12px 0;
560
+ }
561
+
562
+ #bikStwOptEmail {
563
+ display: block;
564
+ margin: 12px 0;
565
+ }
566
+
567
+ #bikStwMandWa {
568
+ display: flex;
569
+ margin: 12px 0;
570
+ }
571
+
572
+ #bikStwMandEmail {
573
+ display: flex;
574
+ margin: 12px 0;
575
+ }
576
+
577
+ #bikStwMandPhone {
578
+ display: flex;
579
+ margin: 12px 0;
580
+ }
581
+
582
+ #bikStwWaCheckboxLayout {
583
+ display: flex;
584
+ }
585
+
586
+ #bikStwPhoneCheckboxLayout {
587
+ display: flex;
588
+ }
589
+
590
+ .bikEmailInputMain {
591
+ display: block;
592
+ margin: 12px 0;
593
+ font-family: inherit;
594
+ }
595
+
596
+ .bikInputMain {
597
+ display: flex;
598
+ margin: 12px 0;
599
+ }
600
+
601
+ input::-webkit-outer-spin-button,
602
+ input::-webkit-inner-spin-button {
603
+ -webkit-appearance: none;
604
+ margin: 0;
605
+ }
606
+
607
+ /* Firefox */
608
+ input[type='number'] {
609
+ -moz-appearance: textfield;
610
+ }
611
+
612
+ @keyframes pulse {
613
+ 0% {
614
+ opacity: 0;
615
+ }
616
+
617
+ 100% {
618
+ opacity: 1;
619
+ }
620
+ }
621
+
622
+ .bikContainerSpinner {
623
+ position: relative;
624
+ height: 400px;
625
+ width: 400px;
626
+ border-radius: 50%;
627
+ /* margin: 50px auto;
628
+ */
629
+ display: flex;
630
+ align-items: center;
631
+ justify-content: center;
632
+ overflow: hidden;
633
+ pointer-events: none;
634
+ box-shadow: 0px 5.75051px 51.7546px rgba(0, 0, 0, 0.24);
635
+ }
636
+
637
+ .bikContainerInner {
638
+ position: relative;
639
+ height: 100%;
640
+ width: 100%;
641
+ display: flex;
642
+ align-items: center;
643
+ justify-content: center;
644
+ }
645
+
646
+ .bikContainerOverlay {
647
+ height: 100%;
648
+ width: 100%;
649
+ border-radius: 50%;
650
+ border: 20px solid white;
651
+ box-shadow:
652
+ inset 5px 5px 25px 0px #00000010,
653
+ inset -5px -5px 25px 0 #00000010;
654
+ z-index: 13;
655
+ position: relative;
656
+ display: block !important;
657
+ }
658
+
659
+ .bikSegment {
660
+ position: absolute;
661
+ clip-path: polygon(100% 0, 0 0, 50% 100%);
662
+ height: 180px;
663
+ width: 300px;
664
+ bottom: 50%;
665
+ transform-origin: bottom center;
666
+ display: flex;
667
+ align-items: flex-start;
668
+ justify-content: center;
669
+ pointer-events: none;
670
+ font-family: inherit;
671
+ padding-top: 34px;
672
+ }
673
+
674
+ .bikCouponText {
675
+ width: 50%;
676
+ text-align: center;
677
+ font-family: inherit;
678
+ }
679
+
680
+ .bikContainerSpin {
681
+ position: absolute;
682
+ display: flex;
683
+ align-items: center;
684
+ justify-content: center;
685
+ }
686
+
687
+ .bikSpinArrow {
688
+ position: absolute;
689
+ background: white;
690
+ width: 31px;
691
+ height: 46px;
692
+ bottom: 45px;
693
+ clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
694
+ display: block !important;
695
+ }
696
+
697
+ .bikSpinContent {
698
+ height: 115px;
699
+ width: 115px;
700
+ position: absolute;
701
+ z-index: 1;
702
+ border: 10px solid white;
703
+ border-radius: 50%;
704
+ background-color: #f8bb19;
705
+ display: flex;
706
+ align-items: center;
707
+ justify-content: center;
708
+ box-shadow: 0px 0px 25px 1px #00000052;
709
+ cursor: pointer;
710
+ }
711
+
712
+ .bikSpinLogo {
713
+ font-family: 'Poppins';
714
+ font-style: normal;
715
+ font-weight: 700;
716
+ font-size: 25px;
717
+ line-height: 35px;
718
+ text-align: center;
719
+ font-feature-settings:
720
+ 'tnum' on,
721
+ 'lnum' on;
722
+ color: #ffffff;
723
+ }
724
+
725
+ .bikSegment.one {
726
+ background-color: #a1deed;
727
+ }
728
+
729
+ .bikSegment.two {
730
+ background-color: #d97559;
731
+ transform: rotate(60deg);
732
+ }
733
+
734
+ .bikSegment.three {
735
+ background-color: #fad56e;
736
+ transform: rotate(120deg);
737
+ }
738
+
739
+ .bikSegment.four {
740
+ background-color: #a1deed;
741
+ transform: rotate(180deg);
742
+ }
743
+
744
+ .bikSegment.five {
745
+ background-color: #d97559;
746
+ transform: rotate(240deg);
747
+ }
748
+
749
+ .bikSegment.six {
750
+ background-color: #fad56e;
751
+ transform: rotate(300deg);
752
+ }
753
+
754
+ .bikMainContainer {
755
+ display: flex;
756
+ justify-content: center;
757
+ align-items: center;
758
+ position: absolute;
759
+ top: -50px;
760
+ }
761
+
762
+ .bikCouponText {
763
+ font-weight: 900;
764
+ font-size: 14px;
765
+ }
766
+
767
+ .cliam-btn--loading::after {
768
+ content: '';
769
+ position: absolute;
770
+ width: 28px;
771
+ height: 28px;
772
+ top: 0;
773
+ left: 0;
774
+ right: 0;
775
+ bottom: 0;
776
+ margin: auto;
777
+ border: 4px solid transparent;
778
+ border-top-color: #ffffff;
779
+ border-radius: 50%;
780
+ animation: button-loading-spinner 1s ease infinite;
781
+ }
782
+
783
+ @keyframes button-loading-spinner {
784
+ from {
785
+ transform: rotate(0turn);
786
+ }
787
+
788
+ to {
789
+ transform: rotate(1turn);
790
+ }
791
+ }
792
+
793
+ @media only screen and (max-width: 768px) {
794
+ .bikMainWrapper {
795
+ width: 100%;
796
+ bottom: 0;
797
+ min-height: unset;
798
+ transform: unset;
799
+ top: unset;
800
+ left: unset;
801
+ display: flex;
802
+ flex-direction: column;
803
+ }
804
+
805
+ #bikFooter2 {
806
+ padding: 0 18px;
807
+ }
808
+
809
+ #bikFooter2 > h1 {
810
+ font-size: 24px;
811
+ }
812
+
813
+ .bikStwH2 {
814
+ font-size: 12px;
815
+ }
816
+
817
+ .bikContainerPadding {
818
+ padding: 187px 10px 10px 10px;
819
+ }
820
+
821
+ .bikContainerPaddingThankYouPage {
822
+ padding-top: 41px;
823
+ }
824
+
825
+ .bikWrapper {
826
+ position: unset;
827
+ border-radius: 8px 8px 0 0;
828
+ }
829
+
830
+ .bikContainerSpinner {
831
+ height: 320px;
832
+ width: 320px;
833
+ }
834
+
835
+ .bikSegment {
836
+ padding-bottom: 0;
837
+ padding-top: 30px;
838
+ height: 148px;
839
+ }
840
+
841
+ .bikSpinContent {
842
+ width: 76px;
843
+ height: 76px;
844
+ border: 7px solid white;
845
+ }
846
+
847
+ .bikSpinLogo {
848
+ font-size: 14px;
849
+ line-height: 15px;
850
+ font-weight: bolder;
851
+ }
852
+
853
+ .bikContainerOverlay {
854
+ border: 12px solid #fff;
855
+ }
856
+
857
+ .bikSpinArrow {
858
+ width: 19px;
859
+ height: 26px;
860
+ bottom: 35px;
861
+ }
862
+
863
+ #bikHeader {
864
+ font-weight: 400;
865
+ font-size: 16px;
866
+ line-height: 24px;
867
+ }
868
+
869
+ #bikSubheader {
870
+ font-weight: 600;
871
+ font-size: 14px;
872
+ line-height: 24px;
873
+ margin-bottom: 16px;
874
+ }
875
+
876
+ #bikHeader p,
877
+ #bikSubheader p {
878
+ font-family: inherit;
879
+ }
880
+
881
+ #bikFooter2 p:nth-child(2) {
882
+ font-weight: 600;
883
+ font-size: 20px;
884
+ line-height: 24px;
885
+ color: #212121;
886
+ font-family: inherit;
887
+ }
888
+
889
+ #bikFooter2 p:nth-child(1) {
890
+ font-weight: 400;
891
+ font-size: 16px;
892
+ line-height: 24px;
893
+ font-family: inherit;
894
+ }
895
+
896
+ #bikayiBtn {
897
+ margin-top: 16px;
898
+ }
899
+
900
+ .bikCloseBtnWrapper {
901
+ justify-content: center;
902
+ }
903
+
904
+ .bikCloseAbsolute {
905
+ position: absolute;
906
+ top: -70%;
907
+ }
908
+
909
+ .bikMainContainer {
910
+ top: -160px;
911
+ }
912
+
913
+ #bikUserDetails {
914
+ width: 90%;
915
+ font-family: inherit;
916
+ }
917
+
918
+ .top15 {
919
+ top: -15% !important;
920
+ }
921
+
922
+ .bikPadding20 {
923
+ padding: 20px;
924
+ }
925
+
926
+ .poweredBy {
927
+ margin-left: 0;
928
+ margin-top: 10px;
929
+ justify-content: center;
930
+ }
931
+ }