adp-web-components 0.0.65 → 0.0.66

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 (317) hide show
  1. package/dist/cjs/app-globals-4aa8f46f.js +46 -0
  2. package/dist/cjs/cn-f559f9e5.js +2588 -0
  3. package/dist/cjs/contact-us-form.cjs.entry.js +209 -0
  4. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +445 -0
  5. package/dist/cjs/dynamic-claim_6.cjs.entry.js +1179 -0
  6. package/dist/cjs/dynamic-redeem.cjs.entry.js +156 -0
  7. package/dist/cjs/form-dialog_8.cjs.entry.js +503 -0
  8. package/dist/cjs/get-local-language-1bd9662d.js +2381 -0
  9. package/dist/cjs/index-603d8f32.js +1610 -0
  10. package/dist/cjs/index.cjs.js +6 -0
  11. package/dist/cjs/loader-baf2418b.js +9 -0
  12. package/dist/cjs/loader.cjs.js +19 -0
  13. package/dist/cjs/loading-spinner.cjs.entry.js +27 -0
  14. package/dist/cjs/part-lookup.cjs.entry.js +129 -0
  15. package/dist/cjs/service-booking-form.cjs.entry.js +209 -0
  16. package/dist/cjs/shift-components.cjs.js +29 -0
  17. package/dist/cjs/urls-9077b31c.js +4874 -0
  18. package/dist/cjs/vehicle-lookup.cjs.entry.js +202 -0
  19. package/dist/collection/collection-manifest.json +35 -0
  20. package/dist/collection/components/components/loading-spinner.css +1 -0
  21. package/dist/collection/components/components/loading-spinner.js +47 -0
  22. package/dist/collection/components/form-elements/form-dialog.css +1 -0
  23. package/dist/collection/components/form-elements/form-dialog.js +137 -0
  24. package/dist/collection/components/form-elements/form-input.css +1 -0
  25. package/dist/collection/components/form-elements/form-input.js +323 -0
  26. package/dist/collection/components/form-elements/form-select.css +1 -0
  27. package/dist/collection/components/form-elements/form-select.js +400 -0
  28. package/dist/collection/components/form-elements/form-shadow-input.css +1 -0
  29. package/dist/collection/components/form-elements/form-shadow-input.js +100 -0
  30. package/dist/collection/components/form-elements/form-structure-error.css +1 -0
  31. package/dist/collection/components/form-elements/form-structure-error.js +72 -0
  32. package/dist/collection/components/form-elements/form-structure.css +1 -0
  33. package/dist/collection/components/form-elements/form-structure.js +269 -0
  34. package/dist/collection/components/form-elements/form-submit.css +1 -0
  35. package/dist/collection/components/form-elements/form-submit.js +140 -0
  36. package/dist/collection/components/form-elements/form-text-area.css +1 -0
  37. package/dist/collection/components/form-elements/form-text-area.js +264 -0
  38. package/dist/collection/components/forms/contact-us/element-mapper.js +87 -0
  39. package/dist/collection/components/forms/contact-us/form.css +1 -0
  40. package/dist/collection/components/forms/contact-us/validations.js +19 -0
  41. package/dist/collection/components/forms/contact-us-form.js +280 -0
  42. package/dist/collection/components/forms/service-booking/element-mapper.js +87 -0
  43. package/dist/collection/components/forms/service-booking/form.css +1 -0
  44. package/dist/collection/components/forms/service-booking/validations.js +19 -0
  45. package/dist/collection/components/forms/service-booking-form.js +280 -0
  46. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -0
  47. package/dist/collection/components/part-lookup/dead-stock-lookup.js +405 -0
  48. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -0
  49. package/dist/collection/components/part-lookup/distributor-lookup.js +470 -0
  50. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -0
  51. package/dist/collection/components/part-lookup/manufacturer-lookup.js +468 -0
  52. package/dist/collection/components/part-lookup/part-lookup.css +1 -0
  53. package/dist/collection/components/part-lookup/part-lookup.js +376 -0
  54. package/dist/collection/components/vehicle-lookup/assets/cancelled.svg +8 -0
  55. package/dist/collection/components/vehicle-lookup/assets/check.svg +4 -0
  56. package/dist/collection/components/vehicle-lookup/assets/expired.svg +9 -0
  57. package/dist/collection/components/vehicle-lookup/assets/loader.svg +11 -0
  58. package/dist/collection/components/vehicle-lookup/assets/pending.svg +9 -0
  59. package/dist/collection/components/vehicle-lookup/assets/processed.svg +9 -0
  60. package/dist/collection/components/vehicle-lookup/assets/x-mark.svg +4 -0
  61. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +13 -0
  62. package/dist/collection/components/vehicle-lookup/components/Loading.js +10 -0
  63. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +16 -0
  64. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +11 -0
  65. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +1 -0
  66. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +625 -0
  67. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +1 -0
  68. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +373 -0
  69. package/dist/collection/components/vehicle-lookup/paint-thickness.css +1 -0
  70. package/dist/collection/components/vehicle-lookup/paint-thickness.js +410 -0
  71. package/dist/collection/components/vehicle-lookup/service-history.css +1 -0
  72. package/dist/collection/components/vehicle-lookup/service-history.js +393 -0
  73. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -0
  74. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +414 -0
  75. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -0
  76. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +405 -0
  77. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -0
  78. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +405 -0
  79. package/dist/collection/components/vehicle-lookup/warranty-details.css +1 -0
  80. package/dist/collection/components/vehicle-lookup/warranty-details.js +780 -0
  81. package/dist/collection/global/api/partInformation.js +32 -0
  82. package/dist/collection/global/api/urls.js +6 -0
  83. package/dist/collection/global/api/vehicleInformation.js +48 -0
  84. package/dist/collection/global/assets/eye.svg +5 -0
  85. package/dist/collection/global/assets/loader.svg +11 -0
  86. package/dist/collection/global/assets/white-loader.svg +11 -0
  87. package/dist/collection/global/lib/cn.js +9 -0
  88. package/dist/collection/global/lib/form-hook.js +162 -0
  89. package/dist/collection/global/lib/general.js +9 -0
  90. package/dist/collection/global/lib/get-local-language.js +20 -0
  91. package/dist/collection/global/lib/image-expansion.js +69 -0
  92. package/dist/collection/global/lib/middleware.js +39 -0
  93. package/dist/collection/global/lib/recaptcha.js +25 -0
  94. package/dist/collection/global/lib/utils.js +7 -0
  95. package/dist/collection/global/lib/validate-form-structure.js +47 -0
  96. package/dist/collection/global/lib/validate-vin.js +62 -0
  97. package/dist/collection/global/types/components.js +1 -0
  98. package/dist/collection/global/types/forms.js +1 -0
  99. package/dist/collection/global/types/general.js +1 -0
  100. package/dist/collection/global/types/locales/error-schema.js +17 -0
  101. package/dist/collection/global/types/locales/forms/contact-us-schema.js +24 -0
  102. package/dist/collection/global/types/locales/forms/index.js +11 -0
  103. package/dist/collection/global/types/locales/general.js +11 -0
  104. package/dist/collection/global/types/locales/index.js +33 -0
  105. package/dist/collection/global/types/locales/inquiryTypes.js +15 -0
  106. package/dist/collection/global/types/locales/part-lookup/dead-stock-schema.js +10 -0
  107. package/dist/collection/global/types/locales/part-lookup/distributor-schema.js +21 -0
  108. package/dist/collection/global/types/locales/part-lookup/index.js +13 -0
  109. package/dist/collection/global/types/locales/part-lookup/manufacturer-schema.js +22 -0
  110. package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +13 -0
  111. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +21 -0
  112. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +19 -0
  113. package/dist/collection/global/types/locales/vehicle-lookup/index.js +21 -0
  114. package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +14 -0
  115. package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +15 -0
  116. package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +15 -0
  117. package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +23 -0
  118. package/dist/collection/global/types/part-information.js +1 -0
  119. package/dist/collection/global/types/vehicle-information.js +5 -0
  120. package/dist/collection/index.js +1 -0
  121. package/dist/collection/templates/part-lookup/mock-data.js +199 -0
  122. package/dist/collection/templates/vehicle-lookup/mock-data.js +4165 -0
  123. package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +285 -0
  124. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +3064 -0
  125. package/dist/components/contact-us-form.d.ts +11 -0
  126. package/dist/components/contact-us-form.js +5 -0
  127. package/dist/components/dead-stock-lookup.d.ts +11 -0
  128. package/dist/components/dead-stock-lookup.js +5 -0
  129. package/dist/components/distributor-lookup.d.ts +11 -0
  130. package/dist/components/distributor-lookup.js +5 -0
  131. package/dist/components/dynamic-claim.d.ts +11 -0
  132. package/dist/components/dynamic-claim.js +5 -0
  133. package/dist/components/dynamic-redeem.d.ts +11 -0
  134. package/dist/components/dynamic-redeem.js +5 -0
  135. package/dist/components/form-dialog.d.ts +11 -0
  136. package/dist/components/form-dialog.js +5 -0
  137. package/dist/components/form-input.d.ts +11 -0
  138. package/dist/components/form-input.js +5 -0
  139. package/dist/components/form-select.d.ts +11 -0
  140. package/dist/components/form-select.js +5 -0
  141. package/dist/components/form-shadow-input.d.ts +11 -0
  142. package/dist/components/form-shadow-input.js +5 -0
  143. package/dist/components/form-structure-error.d.ts +11 -0
  144. package/dist/components/form-structure-error.js +5 -0
  145. package/dist/components/form-structure.d.ts +11 -0
  146. package/dist/components/form-structure.js +5 -0
  147. package/dist/components/form-submit.d.ts +11 -0
  148. package/dist/components/form-submit.js +5 -0
  149. package/dist/components/form-text-area.d.ts +11 -0
  150. package/dist/components/form-text-area.js +5 -0
  151. package/dist/components/index.d.ts +33 -0
  152. package/dist/components/index.js +5 -0
  153. package/dist/components/loading-spinner.d.ts +11 -0
  154. package/dist/components/loading-spinner.js +5 -0
  155. package/dist/components/manufacturer-lookup.d.ts +11 -0
  156. package/dist/components/manufacturer-lookup.js +5 -0
  157. package/dist/components/p-052096ca.js +5 -0
  158. package/dist/components/p-1e0220d8.js +5 -0
  159. package/dist/components/p-276072d6.js +5 -0
  160. package/dist/components/p-2ecc6382.js +5 -0
  161. package/dist/components/p-2f40bc45.js +5 -0
  162. package/dist/components/p-3115916e.js +5 -0
  163. package/dist/components/p-687e3edf.js +5 -0
  164. package/dist/components/p-68905104.js +5 -0
  165. package/dist/components/p-696dc6e8.js +5 -0
  166. package/dist/components/p-6d9d89d2.js +5 -0
  167. package/dist/components/p-6e258875.js +5 -0
  168. package/dist/components/p-75476014.js +5 -0
  169. package/dist/components/p-8175feb0.js +5 -0
  170. package/dist/components/p-853de183.js +5 -0
  171. package/dist/components/p-8b1d90d7.js +5 -0
  172. package/dist/components/p-8f9c80ed.js +5 -0
  173. package/dist/components/p-927296bb.js +5 -0
  174. package/dist/components/p-932ff922.js +5 -0
  175. package/dist/components/p-96455129.js +5 -0
  176. package/dist/components/p-980e2b72.js +5 -0
  177. package/dist/components/p-98d9e7ab.js +5 -0
  178. package/dist/components/p-a21e2e2e.js +5 -0
  179. package/dist/components/p-a3455344.js +5 -0
  180. package/dist/components/p-b0e5a9a2.js +5 -0
  181. package/dist/components/p-b173a699.js +5 -0
  182. package/dist/components/p-d5ff7544.js +5 -0
  183. package/dist/components/p-fab97ac7.js +5 -0
  184. package/dist/components/paint-thickness.d.ts +11 -0
  185. package/dist/components/paint-thickness.js +5 -0
  186. package/dist/components/part-lookup.d.ts +11 -0
  187. package/dist/components/part-lookup.js +5 -0
  188. package/dist/components/service-booking-form.d.ts +11 -0
  189. package/dist/components/service-booking-form.js +5 -0
  190. package/dist/components/service-history.d.ts +11 -0
  191. package/dist/components/service-history.js +5 -0
  192. package/dist/components/vehicle-accessories.d.ts +11 -0
  193. package/dist/components/vehicle-accessories.js +5 -0
  194. package/dist/components/vehicle-lookup.d.ts +11 -0
  195. package/dist/components/vehicle-lookup.js +5 -0
  196. package/dist/components/vehicle-specification.d.ts +11 -0
  197. package/dist/components/vehicle-specification.js +5 -0
  198. package/dist/components/warranty-details.d.ts +11 -0
  199. package/dist/components/warranty-details.js +5 -0
  200. package/dist/esm/app-globals-68faa233.js +44 -0
  201. package/dist/esm/cn-cc419b94.js +2586 -0
  202. package/dist/esm/contact-us-form.entry.js +205 -0
  203. package/dist/esm/dead-stock-lookup_3.entry.js +439 -0
  204. package/dist/esm/dynamic-claim_6.entry.js +1170 -0
  205. package/dist/esm/dynamic-redeem.entry.js +152 -0
  206. package/dist/esm/form-dialog_8.entry.js +492 -0
  207. package/dist/esm/get-local-language-b7774134.js +2376 -0
  208. package/dist/esm/index-cac905b0.js +1581 -0
  209. package/dist/esm/index.js +4 -0
  210. package/dist/esm/loader-027b88af.js +7 -0
  211. package/dist/esm/loader.js +15 -0
  212. package/dist/esm/loading-spinner.entry.js +23 -0
  213. package/dist/esm/part-lookup.entry.js +125 -0
  214. package/dist/esm/service-booking-form.entry.js +205 -0
  215. package/dist/esm/shift-components.js +24 -0
  216. package/dist/esm/urls-e22234f9.js +4870 -0
  217. package/dist/esm/vehicle-lookup.entry.js +198 -0
  218. package/dist/index.cjs.js +1 -0
  219. package/dist/index.js +1 -0
  220. package/dist/locales/ar.json +185 -0
  221. package/dist/locales/en.json +185 -0
  222. package/dist/locales/ku.json +185 -0
  223. package/dist/locales/ru.json +185 -0
  224. package/dist/shift-components/index.esm.js +4 -0
  225. package/dist/shift-components/p-3601fde1.entry.js +5 -0
  226. package/dist/shift-components/p-446d908d.js +5 -0
  227. package/dist/shift-components/p-65102e7a.js +6 -0
  228. package/dist/shift-components/p-6b5de2b4.entry.js +5 -0
  229. package/dist/shift-components/p-7a95ce0a.entry.js +5 -0
  230. package/dist/shift-components/p-932ff922.js +5 -0
  231. package/dist/shift-components/p-98d9e7ab.js +5 -0
  232. package/dist/shift-components/p-9b664248.entry.js +5 -0
  233. package/dist/shift-components/p-a21e2e2e.js +5 -0
  234. package/dist/shift-components/p-ade77e74.entry.js +5 -0
  235. package/dist/shift-components/p-b43b884e.entry.js +5 -0
  236. package/dist/shift-components/p-c451136b.entry.js +5 -0
  237. package/dist/shift-components/p-d2a71388.entry.js +5 -0
  238. package/dist/shift-components/p-d5a81c37.entry.js +5 -0
  239. package/dist/shift-components/p-f0d94591.js +5 -0
  240. package/dist/shift-components/shift-components.esm.js +5 -0
  241. package/dist/types/components/components/loading-spinner.d.ts +4 -0
  242. package/dist/types/components/form-elements/form-dialog.d.ts +13 -0
  243. package/dist/types/components/form-elements/form-input.d.ts +28 -0
  244. package/dist/types/components/form-elements/form-select.d.ts +39 -0
  245. package/dist/types/components/form-elements/form-shadow-input.d.ts +9 -0
  246. package/dist/types/components/form-elements/form-structure-error.d.ts +8 -0
  247. package/dist/types/components/form-elements/form-structure.d.ts +23 -0
  248. package/dist/types/components/form-elements/form-submit.d.ts +12 -0
  249. package/dist/types/components/form-elements/form-text-area.d.ts +24 -0
  250. package/dist/types/components/forms/contact-us/element-mapper.d.ts +3 -0
  251. package/dist/types/components/forms/contact-us/validations.d.ts +26 -0
  252. package/dist/types/components/forms/contact-us-form.d.ts +32 -0
  253. package/dist/types/components/forms/service-booking/element-mapper.d.ts +3 -0
  254. package/dist/types/components/forms/service-booking/validations.d.ts +26 -0
  255. package/dist/types/components/forms/service-booking-form.d.ts +32 -0
  256. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +31 -0
  257. package/dist/types/components/part-lookup/distributor-lookup.d.ts +32 -0
  258. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +33 -0
  259. package/dist/types/components/part-lookup/part-lookup.d.ts +43 -0
  260. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +10 -0
  261. package/dist/types/components/vehicle-lookup/components/Loading.d.ts +5 -0
  262. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +8 -0
  263. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +12 -0
  264. package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +55 -0
  265. package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +39 -0
  266. package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +35 -0
  267. package/dist/types/components/vehicle-lookup/service-history.d.ts +30 -0
  268. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +35 -0
  269. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +53 -0
  270. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +29 -0
  271. package/dist/types/components/vehicle-lookup/warranty-details.d.ts +57 -0
  272. package/dist/types/components.d.ts +760 -0
  273. package/dist/types/global/api/partInformation.d.ts +19 -0
  274. package/dist/types/global/api/urls.d.ts +2 -0
  275. package/dist/types/global/api/vehicleInformation.d.ts +33 -0
  276. package/dist/types/global/lib/cn.d.ts +2 -0
  277. package/dist/types/global/lib/form-hook.d.ts +47 -0
  278. package/dist/types/global/lib/general.d.ts +1 -0
  279. package/dist/types/global/lib/get-local-language.d.ts +2 -0
  280. package/dist/types/global/lib/image-expansion.d.ts +9 -0
  281. package/dist/types/global/lib/middleware.d.ts +0 -0
  282. package/dist/types/global/lib/recaptcha.d.ts +16 -0
  283. package/dist/types/global/lib/utils.d.ts +1 -0
  284. package/dist/types/global/lib/validate-form-structure.d.ts +3 -0
  285. package/dist/types/global/lib/validate-vin.d.ts +1 -0
  286. package/dist/types/global/types/components.d.ts +7 -0
  287. package/dist/types/global/types/forms.d.ts +63 -0
  288. package/dist/types/global/types/general.d.ts +23 -0
  289. package/dist/types/global/types/locales/error-schema.d.ts +23 -0
  290. package/dist/types/global/types/locales/forms/contact-us-schema.d.ts +37 -0
  291. package/dist/types/global/types/locales/forms/index.d.ts +45 -0
  292. package/dist/types/global/types/locales/general.d.ts +11 -0
  293. package/dist/types/global/types/locales/index.d.ts +382 -0
  294. package/dist/types/global/types/locales/inquiryTypes.d.ts +19 -0
  295. package/dist/types/global/types/locales/part-lookup/dead-stock-schema.d.ts +9 -0
  296. package/dist/types/global/types/locales/part-lookup/distributor-schema.d.ts +31 -0
  297. package/dist/types/global/types/locales/part-lookup/index.d.ts +79 -0
  298. package/dist/types/global/types/locales/part-lookup/manufacturer-schema.d.ts +33 -0
  299. package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +15 -0
  300. package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +31 -0
  301. package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +27 -0
  302. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +173 -0
  303. package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +17 -0
  304. package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +19 -0
  305. package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +19 -0
  306. package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +35 -0
  307. package/dist/types/global/types/part-information.d.ts +53 -0
  308. package/dist/types/global/types/vehicle-information.d.ts +172 -0
  309. package/dist/types/index.d.ts +10 -0
  310. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  311. package/loader/cdn.js +5 -0
  312. package/loader/index.cjs.js +5 -0
  313. package/loader/index.d.ts +24 -0
  314. package/loader/index.es2017.js +5 -0
  315. package/loader/index.js +6 -0
  316. package/loader/package.json +11 -0
  317. package/package.json +1 -1
@@ -0,0 +1,470 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ import { Host, h } from "@stencil/core";
6
+ import cn from "../../global/lib/cn";
7
+ import { getLocaleLanguage } from "../../global/lib/get-local-language";
8
+ import { localeSchema } from "../../global/types/locales/index";
9
+ import { getPartInformation } from "../../global/api/partInformation";
10
+ let mockData = {};
11
+ export class DistributorLookup {
12
+ constructor() {
13
+ this.baseUrl = '';
14
+ this.isDev = false;
15
+ this.queryString = '';
16
+ this.hiddenFields = '';
17
+ this.language = 'en';
18
+ this.localizationName = '';
19
+ this.errorCallback = undefined;
20
+ this.loadingStateChange = undefined;
21
+ this.loadedResponse = undefined;
22
+ this.state = 'idle';
23
+ this.errorMessage = null;
24
+ this.partInformation = undefined;
25
+ this.externalPartNumber = null;
26
+ this.locale = localeSchema.getDefault();
27
+ }
28
+ async componentWillLoad() {
29
+ await this.changeLanguage(this.language);
30
+ }
31
+ async changeLanguage(newLanguage) {
32
+ this.locale = await getLocaleLanguage(newLanguage);
33
+ }
34
+ handleSettingData(response) {
35
+ this.partInformation = response;
36
+ }
37
+ async setData(newData, headers = {}) {
38
+ clearTimeout(this.networkTimeoutRef);
39
+ if (this.abortController)
40
+ this.abortController.abort();
41
+ this.abortController = new AbortController();
42
+ let scopedTimeoutRef;
43
+ const isPartNumberRequest = typeof newData === 'string';
44
+ const partNumber = isPartNumberRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.partNumber;
45
+ this.externalPartNumber = partNumber;
46
+ try {
47
+ if (!partNumber || partNumber.trim().length === 0) {
48
+ this.state = 'idle';
49
+ return;
50
+ }
51
+ if (this.state === 'data' || this.state === 'error') {
52
+ this.state = (this.state + '-loading');
53
+ }
54
+ else
55
+ this.state = 'loading';
56
+ await new Promise(r => {
57
+ scopedTimeoutRef = setTimeout(r, 700);
58
+ this.networkTimeoutRef = scopedTimeoutRef;
59
+ });
60
+ const partResponse = isPartNumberRequest ? await getPartInformation(this, { scopedTimeoutRef, partNumber, mockData }, headers) : newData;
61
+ if (this.networkTimeoutRef === scopedTimeoutRef) {
62
+ if (!partResponse)
63
+ throw new Error('wrongResponseFormat');
64
+ this.handleSettingData(partResponse);
65
+ }
66
+ this.errorMessage = null;
67
+ this.state = 'data';
68
+ }
69
+ catch (error) {
70
+ if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
71
+ return;
72
+ if (this.errorCallback)
73
+ this.errorCallback(error.message);
74
+ console.error(error);
75
+ this.setErrorMessage(error.message);
76
+ }
77
+ }
78
+ async setErrorMessage(message) {
79
+ this.state = 'error';
80
+ this.partInformation = null;
81
+ this.errorMessage = message;
82
+ }
83
+ async fetchData(partNumber = this.externalPartNumber, headers = {}) {
84
+ await this.setData(partNumber, headers);
85
+ }
86
+ async loadingListener() {
87
+ if (this.loadingStateChange)
88
+ this.loadingStateChange(this.state.includes('loading'));
89
+ }
90
+ async setMockData(newMockData) {
91
+ mockData = newMockData;
92
+ }
93
+ render() {
94
+ var _a, _b, _c, _d, _e, _f;
95
+ const texts = this.locale.partLookup.distributor;
96
+ const localName = this.partInformation ? this.localizationName || 'russian' : 'russian';
97
+ const hiddenFields = this.partInformation ? ((_a = this.hiddenFields.split(',')) === null || _a === void 0 ? void 0 : _a.map(field => field.trim())) || [] : [];
98
+ const partsInformation = this.partInformation
99
+ ? [
100
+ { label: texts.description, key: 'partDescription', value: this.partInformation.partDescription },
101
+ { label: texts.productGroup, key: 'group', value: this.partInformation.group },
102
+ {
103
+ label: texts.localDescription.replace('$', localName),
104
+ key: 'localDescription',
105
+ value: this.partInformation.localDescription,
106
+ },
107
+ {
108
+ label: texts.dealerPurchasePrice,
109
+ key: 'purchasePrice',
110
+ value: null,
111
+ values: (_b = this.partInformation.prices) === null || _b === void 0 ? void 0 : _b.map(price => {
112
+ var _a;
113
+ return { header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.purchasePrice) === null || _a === void 0 ? void 0 : _a.formattedValue };
114
+ }),
115
+ },
116
+ {
117
+ label: texts.recommendedRetailPrice,
118
+ key: 'retailPrice',
119
+ value: null,
120
+ values: (_c = this.partInformation.prices) === null || _c === void 0 ? void 0 : _c.map(price => {
121
+ var _a;
122
+ return { header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.retailPrice) === null || _a === void 0 ? void 0 : _a.formattedValue };
123
+ }),
124
+ },
125
+ {
126
+ label: texts.supersessions,
127
+ key: 'supersededTo',
128
+ value: null,
129
+ values: (_d = this.partInformation.supersededTo) === null || _d === void 0 ? void 0 : _d.map(part => {
130
+ return { header: null, body: part };
131
+ }),
132
+ },
133
+ ]
134
+ : [];
135
+ const displayedFields = partsInformation.filter(part => !hiddenFields.includes(part.key));
136
+ const displayDistributer = this.partInformation
137
+ ? !this.partInformation.stockParts.some(({ quantityLookUpResult }) => quantityLookUpResult === 'LookupIsSkipped' || quantityLookUpResult === 'QuantityNotWithinLookupThreshold')
138
+ : false;
139
+ return (h(Host, null, h("div", { dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", null, h("loading-spinner", { isLoading: this.state.includes('loading') }), h("div", { class: cn('transition-all !duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (h("div", { class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (h("div", null, h("div", { class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.info), h("div", { class: "py-[10px] px-[30px] flex flex-col gap-[15px]" }, h("div", { class: "grid grid-cols-3 gap-[50px]" }, displayedFields.map(({ label, value, values, key }) => (h("div", { key: key, class: "flex flex-col flex-1" }, h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), values ? (h("div", null, values
140
+ .filter(x => x.body)
141
+ .map(x => (h("span", { key: x.header + x.body, class: "inline-flex items-center bg-red-50 text-red-800 text-sm font-medium px-3 py-1 me-1 mt-2 rounded-lg border border-red-300" }, x.header && h("span", { class: "font-semibold" }, x.header, ":"), h("span", { class: "ml-1" }, x.body)))))) : (h("div", { class: "py-[10px] px-0" }, value)))))))), displayDistributer && (h("div", { class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.distributorStock), h("div", { class: "flex flex-col gap-[15px]" }, h("table", { class: "w-full overflow-auto relative border-collapse" }, h("thead", { class: "top-0 font-bold sticky bg-white" }, h("tr", null, [texts.location, texts.availability].map(title => (h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, title))))), h("tbody", null, (_f = (_e = this.partInformation) === null || _e === void 0 ? void 0 : _e.stockParts) === null || _f === void 0 ? void 0 : _f.map(stock => (h("tr", { class: "transition-colors duration-100 border-b border-[#d6d8dc] last:border-none hover:bg-slate-100", key: stock.locationID }, h("td", { class: cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, stock.locationName), h("td", { class: cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, h("div", { class: cn('text-[red]', {
142
+ 'text-[green]': stock.quantityLookUpResult === 'Available',
143
+ 'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
144
+ }) }, h("strong", null, stock.quantityLookUpResult === 'Available'
145
+ ? texts.available
146
+ : stock.quantityLookUpResult === 'PartiallyAvailable'
147
+ ? texts.partiallyAvailable
148
+ : texts.notAvailable))))))))))))))))));
149
+ }
150
+ static get is() { return "distributor-lookup"; }
151
+ static get encapsulation() { return "shadow"; }
152
+ static get originalStyleUrls() {
153
+ return {
154
+ "$": ["distributor-lookup.css"]
155
+ };
156
+ }
157
+ static get styleUrls() {
158
+ return {
159
+ "$": ["distributor-lookup.css"]
160
+ };
161
+ }
162
+ static get properties() {
163
+ return {
164
+ "baseUrl": {
165
+ "type": "string",
166
+ "mutable": false,
167
+ "complexType": {
168
+ "original": "string",
169
+ "resolved": "string",
170
+ "references": {}
171
+ },
172
+ "required": false,
173
+ "optional": false,
174
+ "docs": {
175
+ "tags": [],
176
+ "text": ""
177
+ },
178
+ "attribute": "base-url",
179
+ "reflect": false,
180
+ "defaultValue": "''"
181
+ },
182
+ "isDev": {
183
+ "type": "boolean",
184
+ "mutable": false,
185
+ "complexType": {
186
+ "original": "boolean",
187
+ "resolved": "boolean",
188
+ "references": {}
189
+ },
190
+ "required": false,
191
+ "optional": false,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": ""
195
+ },
196
+ "attribute": "is-dev",
197
+ "reflect": false,
198
+ "defaultValue": "false"
199
+ },
200
+ "queryString": {
201
+ "type": "string",
202
+ "mutable": false,
203
+ "complexType": {
204
+ "original": "string",
205
+ "resolved": "string",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": false,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": ""
213
+ },
214
+ "attribute": "query-string",
215
+ "reflect": false,
216
+ "defaultValue": "''"
217
+ },
218
+ "hiddenFields": {
219
+ "type": "string",
220
+ "mutable": false,
221
+ "complexType": {
222
+ "original": "string",
223
+ "resolved": "string",
224
+ "references": {}
225
+ },
226
+ "required": false,
227
+ "optional": true,
228
+ "docs": {
229
+ "tags": [],
230
+ "text": ""
231
+ },
232
+ "attribute": "hidden-fields",
233
+ "reflect": false,
234
+ "defaultValue": "''"
235
+ },
236
+ "language": {
237
+ "type": "string",
238
+ "mutable": false,
239
+ "complexType": {
240
+ "original": "LanguageKeys",
241
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
242
+ "references": {
243
+ "LanguageKeys": {
244
+ "location": "import",
245
+ "path": "~types/locales",
246
+ "id": "src/global/types/locales/index.ts::LanguageKeys"
247
+ }
248
+ }
249
+ },
250
+ "required": false,
251
+ "optional": false,
252
+ "docs": {
253
+ "tags": [],
254
+ "text": ""
255
+ },
256
+ "attribute": "language",
257
+ "reflect": false,
258
+ "defaultValue": "'en'"
259
+ },
260
+ "localizationName": {
261
+ "type": "string",
262
+ "mutable": false,
263
+ "complexType": {
264
+ "original": "string",
265
+ "resolved": "string",
266
+ "references": {}
267
+ },
268
+ "required": false,
269
+ "optional": true,
270
+ "docs": {
271
+ "tags": [],
272
+ "text": ""
273
+ },
274
+ "attribute": "localization-name",
275
+ "reflect": false,
276
+ "defaultValue": "''"
277
+ },
278
+ "errorCallback": {
279
+ "type": "unknown",
280
+ "mutable": false,
281
+ "complexType": {
282
+ "original": "(errorMessage: string) => void",
283
+ "resolved": "(errorMessage: string) => void",
284
+ "references": {}
285
+ },
286
+ "required": false,
287
+ "optional": false,
288
+ "docs": {
289
+ "tags": [],
290
+ "text": ""
291
+ }
292
+ },
293
+ "loadingStateChange": {
294
+ "type": "unknown",
295
+ "mutable": false,
296
+ "complexType": {
297
+ "original": "(isLoading: boolean) => void",
298
+ "resolved": "(isLoading: boolean) => void",
299
+ "references": {}
300
+ },
301
+ "required": false,
302
+ "optional": true,
303
+ "docs": {
304
+ "tags": [],
305
+ "text": ""
306
+ }
307
+ },
308
+ "loadedResponse": {
309
+ "type": "unknown",
310
+ "mutable": false,
311
+ "complexType": {
312
+ "original": "(response: PartInformation) => void",
313
+ "resolved": "(response: PartInformation) => void",
314
+ "references": {
315
+ "PartInformation": {
316
+ "location": "import",
317
+ "path": "~types/part-information",
318
+ "id": "src/global/types/part-information.ts::PartInformation"
319
+ }
320
+ }
321
+ },
322
+ "required": false,
323
+ "optional": true,
324
+ "docs": {
325
+ "tags": [],
326
+ "text": ""
327
+ }
328
+ }
329
+ };
330
+ }
331
+ static get states() {
332
+ return {
333
+ "state": {},
334
+ "errorMessage": {},
335
+ "partInformation": {},
336
+ "externalPartNumber": {},
337
+ "locale": {}
338
+ };
339
+ }
340
+ static get methods() {
341
+ return {
342
+ "setData": {
343
+ "complexType": {
344
+ "signature": "(newData: PartInformation | string, headers?: any) => Promise<void>",
345
+ "parameters": [{
346
+ "name": "newData",
347
+ "type": "string | PartInformation",
348
+ "docs": ""
349
+ }, {
350
+ "name": "headers",
351
+ "type": "any",
352
+ "docs": ""
353
+ }],
354
+ "references": {
355
+ "Promise": {
356
+ "location": "global",
357
+ "id": "global::Promise"
358
+ },
359
+ "PartInformation": {
360
+ "location": "import",
361
+ "path": "~types/part-information",
362
+ "id": "src/global/types/part-information.ts::PartInformation"
363
+ },
364
+ "ReturnType": {
365
+ "location": "global",
366
+ "id": "global::ReturnType"
367
+ }
368
+ },
369
+ "return": "Promise<void>"
370
+ },
371
+ "docs": {
372
+ "text": "",
373
+ "tags": []
374
+ }
375
+ },
376
+ "setErrorMessage": {
377
+ "complexType": {
378
+ "signature": "(message: ErrorKeys) => Promise<void>",
379
+ "parameters": [{
380
+ "name": "message",
381
+ "type": "OptionalKeys<{ wildCard: string; noBaseUrl: string; invalidVin: string; noPartsFound: string; vinNumberRequired: string; wrongFormStructure: string; partNumberRequired: string; noServiceAvailable: string; wrongResponseFormat: string; requestFailedPleaseTryAgainLater: string; }>",
382
+ "docs": ""
383
+ }],
384
+ "references": {
385
+ "Promise": {
386
+ "location": "global",
387
+ "id": "global::Promise"
388
+ },
389
+ "ErrorKeys": {
390
+ "location": "import",
391
+ "path": "~types/locales",
392
+ "id": "src/global/types/locales/index.ts::ErrorKeys"
393
+ }
394
+ },
395
+ "return": "Promise<void>"
396
+ },
397
+ "docs": {
398
+ "text": "",
399
+ "tags": []
400
+ }
401
+ },
402
+ "fetchData": {
403
+ "complexType": {
404
+ "signature": "(partNumber?: string, headers?: any) => Promise<void>",
405
+ "parameters": [{
406
+ "name": "partNumber",
407
+ "type": "string",
408
+ "docs": ""
409
+ }, {
410
+ "name": "headers",
411
+ "type": "any",
412
+ "docs": ""
413
+ }],
414
+ "references": {
415
+ "Promise": {
416
+ "location": "global",
417
+ "id": "global::Promise"
418
+ }
419
+ },
420
+ "return": "Promise<void>"
421
+ },
422
+ "docs": {
423
+ "text": "",
424
+ "tags": []
425
+ }
426
+ },
427
+ "setMockData": {
428
+ "complexType": {
429
+ "signature": "(newMockData: MockJson<PartInformation>) => Promise<void>",
430
+ "parameters": [{
431
+ "name": "newMockData",
432
+ "type": "{ [key: string]: PartInformation; }",
433
+ "docs": ""
434
+ }],
435
+ "references": {
436
+ "Promise": {
437
+ "location": "global",
438
+ "id": "global::Promise"
439
+ },
440
+ "MockJson": {
441
+ "location": "import",
442
+ "path": "~types/components",
443
+ "id": "src/global/types/components.ts::MockJson"
444
+ },
445
+ "PartInformation": {
446
+ "location": "import",
447
+ "path": "~types/part-information",
448
+ "id": "src/global/types/part-information.ts::PartInformation"
449
+ }
450
+ },
451
+ "return": "Promise<void>"
452
+ },
453
+ "docs": {
454
+ "text": "",
455
+ "tags": []
456
+ }
457
+ }
458
+ };
459
+ }
460
+ static get elementRef() { return "el"; }
461
+ static get watchers() {
462
+ return [{
463
+ "propName": "language",
464
+ "methodName": "changeLanguage"
465
+ }, {
466
+ "propName": "state",
467
+ "methodName": "loadingListener"
468
+ }];
469
+ }
470
+ }
@@ -0,0 +1 @@
1
+ *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.hidden{display:none}.w-full{width:100%}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.me-1{margin-inline-end:.25rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mt-\[12px\]{margin-top:12px}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-\[40px\]{height:40px}.min-h-\[100px\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\[15px\]{gap:15px}.gap-\[50px\]{gap:50px}.overflow-hidden{overflow:hidden}.rounded-\[4px\]{border-radius:4px}.rounded-\[8px\]{border-radius:8px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\[\#d6d8dc\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.border-b-\[gray\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\[\#e1e3e5\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[30px\]{padding-left:30px;padding-right:30px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\[\#383c43\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-700{transition-duration:.7s!important}.duration-300{transition-duration:.3s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}