adp-web-components 0.0.90 → 0.0.92

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 (340) hide show
  1. package/dist/cjs/contact-us-form.cjs.entry.js +4 -4
  2. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +282 -325
  3. package/dist/cjs/empty-table-icon-PdTX6gpI.js +16 -0
  4. package/dist/cjs/flexible-container.cjs.entry.js +43 -46
  5. package/dist/cjs/form-dialog_8.cjs.entry.js +12 -12
  6. package/dist/cjs/{get-local-language-XsAJEAsO.js → get-local-language-Ch7javM0.js} +38 -38
  7. package/dist/cjs/information-table.cjs.entry.js +6 -3
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
  10. package/dist/cjs/material-card-Cd0L1Get.js +43 -0
  11. package/dist/cjs/part-lookup.cjs.entry.js +32 -11
  12. package/dist/cjs/print-icon-C4ASnhAO.js +106 -0
  13. package/dist/cjs/service-booking-form.cjs.entry.js +4 -4
  14. package/dist/cjs/shift-components.cjs.js +1 -1
  15. package/dist/cjs/shift-tab-content.cjs.entry.js +42 -0
  16. package/dist/cjs/shift-tabs_2.cjs.entry.js +277 -234
  17. package/dist/cjs/{vehicle-info-layout-BSAeLW7e.js → type-BG4jir8r.js} +45 -9
  18. package/dist/cjs/{type-BAD2dFzP.js → type-BpPQE0Ww.js} +1 -1
  19. package/dist/cjs/{type-DT5vXP0E.js → type-DB__lcA9.js} +1 -1
  20. package/dist/cjs/vehicle-accessories_6.cjs.entry.js +1115 -0
  21. package/dist/cjs/vehicle-info-layout-Dp2Po_uc.js +16 -0
  22. package/dist/cjs/vehicle-lookup.cjs.entry.js +19 -16
  23. package/dist/cjs/vin-extractor.cjs.entry.js +3 -3
  24. package/dist/collection/components/components/flexible-container.css +1 -1
  25. package/dist/collection/components/components/flexible-container.js +34 -36
  26. package/dist/collection/components/components/information-table.css +1 -1
  27. package/dist/collection/components/components/information-table.js +45 -2
  28. package/dist/collection/components/components/loading-spinner.css +1 -1
  29. package/dist/collection/components/components/material-card.js +2 -2
  30. package/dist/collection/components/components/shift-tab-content.css +1 -1
  31. package/dist/collection/components/components/shift-tab-content.js +1 -1
  32. package/dist/collection/components/components/shift-tabs.css +1 -1
  33. package/dist/collection/components/form-elements/form-dialog.js +6 -6
  34. package/dist/collection/components/form-elements/form-input.js +4 -4
  35. package/dist/collection/components/form-elements/form-select.js +6 -6
  36. package/dist/collection/components/form-elements/form-structure-error.js +4 -4
  37. package/dist/collection/components/form-elements/form-structure.js +3 -3
  38. package/dist/collection/components/form-elements/form-submit.js +5 -5
  39. package/dist/collection/components/form-elements/form-text-area.js +4 -4
  40. package/dist/collection/components/forms/contact-us/element-mapper.js +1 -1
  41. package/dist/collection/components/forms/contact-us-form.js +4 -4
  42. package/dist/collection/components/forms/service-booking/element-mapper.js +1 -1
  43. package/dist/collection/components/forms/service-booking-form.js +4 -4
  44. package/dist/collection/components/part-lookup/components/dead-stock-item.js +15 -0
  45. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  46. package/dist/collection/components/part-lookup/dead-stock-lookup.js +153 -175
  47. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  48. package/dist/collection/components/part-lookup/distributor-lookup.js +192 -224
  49. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  50. package/dist/collection/components/part-lookup/manufacturer-lookup.js +165 -224
  51. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  52. package/dist/collection/components/part-lookup/part-lookup.js +127 -57
  53. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +1 -1
  54. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
  55. package/dist/collection/components/vehicle-lookup/components/claimable-item-popover.js +73 -0
  56. package/dist/collection/components/vehicle-lookup/components/claimable-item.js +27 -0
  57. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  58. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +108 -187
  59. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  60. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +369 -507
  61. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  62. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +271 -345
  63. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  64. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +59 -56
  65. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  66. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +106 -192
  67. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -3
  68. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +106 -176
  69. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -3
  70. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +104 -168
  71. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -3
  72. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +198 -274
  73. package/dist/collection/components/vin-extractor/vin-extractor.js +13 -4
  74. package/dist/collection/{global/lib/image-expansion.js → features/image-viewer/image-viewer-logic.js} +15 -11
  75. package/dist/collection/features/image-viewer/image-viewer.js +9 -0
  76. package/dist/collection/features/image-viewer/index.js +7 -0
  77. package/dist/collection/features/image-viewer/interface.js +1 -0
  78. package/dist/collection/{global/lib → features/multi-lingual}/get-local-language.js +1 -5
  79. package/dist/collection/features/multi-lingual/index.js +7 -0
  80. package/dist/collection/features/multi-lingual/interface.js +1 -0
  81. package/dist/collection/{global/types/locale.js → features/multi-lingual/types.js} +6 -0
  82. package/dist/collection/features/part-lookup-components/index.js +7 -0
  83. package/dist/collection/features/part-lookup-components/interface.js +1 -0
  84. package/dist/collection/features/part-lookup-components/part-lookup-api-integration.js +84 -0
  85. package/dist/collection/features/part-lookup-components/types.js +1 -0
  86. package/dist/collection/features/vehicle-info-layout/index.js +6 -0
  87. package/dist/collection/features/vehicle-info-layout/interface.js +1 -0
  88. package/dist/collection/{components/components → features/vehicle-info-layout}/vehicle-info-layout.js +1 -1
  89. package/dist/collection/features/vehicle-lookup-component/index.js +7 -0
  90. package/dist/collection/features/vehicle-lookup-component/interface.js +1 -0
  91. package/dist/collection/features/vehicle-lookup-component/types.js +17 -0
  92. package/dist/collection/features/vehicle-lookup-component/vehicle-lookup-api-integration.js +87 -0
  93. package/dist/collection/global/assets/activation-icon.js +6 -0
  94. package/dist/collection/global/assets/add-icon.js +6 -0
  95. package/dist/collection/global/assets/alert-icon.js +6 -0
  96. package/dist/collection/global/assets/arrow-up-icon.js +6 -0
  97. package/dist/collection/global/assets/attach-icon.js +6 -0
  98. package/dist/collection/global/assets/check-icon.js +6 -0
  99. package/dist/collection/global/assets/empty-table-icon.js +6 -0
  100. package/dist/collection/global/assets/form-submit-svg.js +6 -0
  101. package/dist/collection/global/assets/print-icon.js +6 -0
  102. package/dist/collection/global/assets/question-mark.js +6 -0
  103. package/dist/collection/global/assets/triangle-icon.js +6 -0
  104. package/dist/collection/global/lib/parents-with-tag.js +22 -0
  105. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-item-warning.js +1 -0
  106. package/dist/collection/locales/vehicleLookup/claimableItems/type.js +4 -6
  107. package/dist/collection/templates/part-lookup/mock-data.js +85 -2
  108. package/dist/collection/templates/vehicle-lookup/mock-data.js +39 -0
  109. package/dist/components/contact-us-form.js +1 -1
  110. package/dist/components/dead-stock-lookup.js +1 -1
  111. package/dist/components/distributor-lookup.js +1 -1
  112. package/dist/components/flexible-container.js +1 -1
  113. package/dist/components/form-dialog.js +1 -1
  114. package/dist/components/form-input.js +1 -1
  115. package/dist/components/form-select.js +1 -1
  116. package/dist/components/form-structure-error.js +1 -1
  117. package/dist/components/form-structure.js +1 -1
  118. package/dist/components/form-submit.js +1 -1
  119. package/dist/components/form-text-area.js +1 -1
  120. package/dist/components/information-table.js +1 -1
  121. package/dist/components/loading-spinner.js +1 -1
  122. package/dist/components/manufacturer-lookup.js +1 -1
  123. package/dist/components/p-4O0gfpsm.js +5 -0
  124. package/dist/components/p-8hUwcL5D.js +5 -0
  125. package/dist/components/p-9BQXTBdQ.js +5 -0
  126. package/dist/components/p-B1fdQNyr.js +5 -0
  127. package/dist/components/p-B2EAhWbD.js +5 -0
  128. package/dist/components/p-B9RSECb0.js +5 -0
  129. package/dist/components/p-BDCoLRVe.js +5 -0
  130. package/dist/components/p-BG8YXzND.js +5 -0
  131. package/dist/components/p-BNhO80aE.js +5 -0
  132. package/dist/components/p-Be1vlY8X.js +5 -0
  133. package/dist/components/p-BhjL0HMA.js +5 -0
  134. package/dist/components/p-C4zpDhOi.js +5 -0
  135. package/dist/components/p-CHE0gMDU.js +5 -0
  136. package/dist/components/p-CMweaUDZ.js +5 -0
  137. package/dist/components/p-COU68JDH.js +5 -0
  138. package/dist/components/p-Ce4X3l8Z.js +5 -0
  139. package/dist/components/p-CeUz_77J.js +5 -0
  140. package/dist/components/{p-D7yku_Qi.js → p-CgRbul8P.js} +1 -1
  141. package/dist/components/{p-JtBlsz4j.js → p-CiosiH6q.js} +1 -1
  142. package/dist/components/p-CnCnKZ25.js +5 -0
  143. package/dist/components/{p-C-4kx8qU.js → p-CqvK2B_Z.js} +1 -1
  144. package/dist/components/{p-B6QhQCZi.js → p-D6AC01Wg.js} +1 -1
  145. package/dist/components/p-DOoqf10k.js +5 -0
  146. package/dist/components/{p-BaJpYztb.js → p-DRdEUWsa.js} +1 -1
  147. package/dist/components/p-DSNyMvnc.js +5 -0
  148. package/dist/components/{p-CjWDXQ_q.js → p-DhxirzfQ.js} +1 -1
  149. package/dist/components/p-DiG3vhi6.js +5 -0
  150. package/dist/{shift-components/p-CIU9c3pi.js → components/p-DnMCq3Mw.js} +1 -1
  151. package/dist/components/p-Dt-24vpn.js +5 -0
  152. package/dist/components/p-DxBcoZIg.js +5 -0
  153. package/dist/components/{p-D63WC2_Y.js → p-pYVYeitk.js} +1 -1
  154. package/dist/components/p-piZ41_ho.js +5 -0
  155. package/dist/components/part-lookup.js +1 -1
  156. package/dist/components/service-booking-form.js +1 -1
  157. package/dist/components/shift-accordion.js +1 -1
  158. package/dist/components/shift-slider.js +1 -1
  159. package/dist/components/shift-tab-content.js +1 -1
  160. package/dist/components/shift-tabs.js +1 -1
  161. package/dist/components/vehicle-accessories.js +1 -1
  162. package/dist/components/vehicle-claimable-items.js +1 -1
  163. package/dist/components/vehicle-item-claim-form.js +1 -1
  164. package/dist/components/vehicle-lookup.js +1 -1
  165. package/dist/components/vehicle-paint-thickness.js +1 -1
  166. package/dist/components/vehicle-service-history.js +1 -1
  167. package/dist/components/vehicle-specification.js +1 -1
  168. package/dist/components/vehicle-warranty-details.js +1 -1
  169. package/dist/components/vin-extractor.js +1 -1
  170. package/dist/esm/contact-us-form.entry.js +4 -4
  171. package/dist/esm/dead-stock-lookup_3.entry.js +283 -326
  172. package/dist/esm/empty-table-icon-DvQk12N9.js +14 -0
  173. package/dist/esm/flexible-container.entry.js +43 -46
  174. package/dist/esm/form-dialog_8.entry.js +12 -12
  175. package/dist/esm/{get-local-language-BPo-xYwK.js → get-local-language-KsoLM3LI.js} +38 -38
  176. package/dist/esm/information-table.entry.js +6 -3
  177. package/dist/esm/loader.js +1 -1
  178. package/dist/esm/loading-spinner.entry.js +1 -1
  179. package/dist/esm/material-card-DiAl-884.js +40 -0
  180. package/dist/esm/part-lookup.entry.js +32 -11
  181. package/dist/esm/print-icon-Dn5kQmLo.js +99 -0
  182. package/dist/esm/service-booking-form.entry.js +4 -4
  183. package/dist/esm/shift-components.js +1 -1
  184. package/dist/esm/shift-tab-content.entry.js +40 -0
  185. package/dist/esm/shift-tabs_2.entry.js +277 -234
  186. package/dist/esm/type-BAXhU7Vq.js +79 -0
  187. package/dist/esm/{type-DHujxJVp.js → type-CAfIkrCW.js} +1 -1
  188. package/dist/esm/{type-D9Rd8Kcd.js → type-CoXoa4w8.js} +1 -1
  189. package/dist/esm/vehicle-accessories_6.entry.js +1108 -0
  190. package/dist/esm/vehicle-info-layout-CNGGKAia.js +14 -0
  191. package/dist/esm/vehicle-lookup.entry.js +14 -11
  192. package/dist/esm/vin-extractor.entry.js +3 -3
  193. package/dist/locales/vehicleLookup/claimableItems/ar.json +5 -6
  194. package/dist/locales/vehicleLookup/claimableItems/en.json +5 -6
  195. package/dist/locales/vehicleLookup/claimableItems/ku.json +5 -6
  196. package/dist/locales/vehicleLookup/claimableItems/ru.json +5 -6
  197. package/dist/locales/vehicleLookup/claimableItems/type.ts +4 -6
  198. package/dist/shift-components/p-03f093e0.entry.js +5 -0
  199. package/dist/shift-components/p-277c8a5b.entry.js +5 -0
  200. package/dist/shift-components/p-42218765.entry.js +5 -0
  201. package/dist/shift-components/p-55c5a5ea.entry.js +5 -0
  202. package/dist/shift-components/p-5906834e.entry.js +5 -0
  203. package/dist/shift-components/p-5bd460db.entry.js +5 -0
  204. package/dist/shift-components/p-701e3fb0.entry.js +5 -0
  205. package/dist/shift-components/p-98cb9ff7.entry.js +5 -0
  206. package/dist/{components/p-CK4E5G0i.js → shift-components/p-BBKhY55u.js} +1 -1
  207. package/dist/shift-components/{p-DHb8KxaG.js → p-BGyVhGdx.js} +1 -1
  208. package/dist/shift-components/p-BSpTbUWi.js +5 -0
  209. package/dist/shift-components/p-BnTnweSV.js +5 -0
  210. package/dist/shift-components/{p-CuQ84qxe.js → p-D7OEt6rC.js} +1 -1
  211. package/dist/shift-components/p-DzSZ47FV.js +5 -0
  212. package/dist/shift-components/p-Wtw8qj6x.js +5 -0
  213. package/dist/shift-components/p-a137e4bb.entry.js +5 -0
  214. package/dist/shift-components/{p-f282c740.entry.js → p-c4c88519.entry.js} +1 -1
  215. package/dist/shift-components/{p-b6497f63.entry.js → p-dee5dd04.entry.js} +1 -1
  216. package/dist/shift-components/p-e428aabb.entry.js +5 -0
  217. package/dist/shift-components/p-ff79b92b.entry.js +5 -0
  218. package/dist/shift-components/p-fyqwD4fB.js +5 -0
  219. package/dist/shift-components/shift-components.esm.js +1 -1
  220. package/dist/types/components/components/flexible-container.d.ts +2 -5
  221. package/dist/types/components/components/information-table.d.ts +2 -0
  222. package/dist/types/components/components/material-card.d.ts +1 -1
  223. package/dist/types/components/form-elements/form-dialog.d.ts +1 -2
  224. package/dist/types/components/form-elements/form-input.d.ts +1 -2
  225. package/dist/types/components/form-elements/form-select.d.ts +1 -2
  226. package/dist/types/components/form-elements/form-structure-error.d.ts +1 -2
  227. package/dist/types/components/form-elements/form-structure.d.ts +2 -3
  228. package/dist/types/components/form-elements/form-submit.d.ts +1 -1
  229. package/dist/types/components/form-elements/form-text-area.d.ts +1 -1
  230. package/dist/types/components/forms/contact-us-form.d.ts +1 -1
  231. package/dist/types/components/forms/service-booking-form.d.ts +1 -1
  232. package/dist/types/components/part-lookup/components/dead-stock-item.d.ts +14 -0
  233. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +25 -23
  234. package/dist/types/components/part-lookup/distributor-lookup.d.ts +23 -24
  235. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +23 -25
  236. package/dist/types/components/part-lookup/part-lookup.d.ts +17 -12
  237. package/dist/types/components/vehicle-lookup/components/claimable-item-popover.d.ts +17 -0
  238. package/dist/types/components/vehicle-lookup/components/claimable-item.d.ts +12 -0
  239. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +23 -28
  240. package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +53 -55
  241. package/dist/types/components/vehicle-lookup/vehicle-item-claim-form.d.ts +39 -55
  242. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +8 -9
  243. package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +23 -29
  244. package/dist/types/components/vehicle-lookup/vehicle-service-history.d.ts +20 -23
  245. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +20 -22
  246. package/dist/types/components/vehicle-lookup/vehicle-warranty-details.d.ts +27 -31
  247. package/dist/types/components/vin-extractor/vin-extractor.d.ts +2 -2
  248. package/dist/types/components.d.ts +143 -169
  249. package/dist/types/features/image-viewer/image-viewer-logic.d.ts +3 -0
  250. package/dist/types/features/image-viewer/image-viewer.d.ts +10 -0
  251. package/dist/types/features/image-viewer/index.d.ts +3 -0
  252. package/dist/types/features/image-viewer/interface.d.ts +5 -0
  253. package/dist/types/features/multi-lingual/get-local-language.d.ts +4 -0
  254. package/dist/types/features/multi-lingual/index.d.ts +3 -0
  255. package/dist/types/features/multi-lingual/interface.d.ts +8 -0
  256. package/dist/types/{global/lib/get-local-language.d.ts → features/multi-lingual/types.d.ts} +17 -6
  257. package/dist/types/features/part-lookup-components/index.d.ts +3 -0
  258. package/dist/types/features/part-lookup-components/interface.d.ts +25 -0
  259. package/dist/types/features/part-lookup-components/part-lookup-api-integration.d.ts +14 -0
  260. package/dist/types/features/part-lookup-components/types.d.ts +3 -0
  261. package/dist/types/features/vehicle-info-layout/index.d.ts +2 -0
  262. package/dist/types/features/vehicle-info-layout/interface.d.ts +3 -0
  263. package/dist/types/{components/components → features/vehicle-info-layout}/vehicle-info-layout.d.ts +3 -3
  264. package/dist/types/features/vehicle-lookup-component/index.d.ts +3 -0
  265. package/dist/types/features/vehicle-lookup-component/interface.d.ts +24 -0
  266. package/dist/types/features/vehicle-lookup-component/types.d.ts +17 -0
  267. package/dist/types/features/vehicle-lookup-component/vehicle-lookup-api-integration.d.ts +15 -0
  268. package/dist/types/global/assets/activation-icon.d.ts +6 -0
  269. package/dist/types/global/assets/add-icon.d.ts +6 -0
  270. package/dist/types/global/assets/alert-icon.d.ts +6 -0
  271. package/dist/types/global/assets/arrow-up-icon.d.ts +6 -0
  272. package/dist/types/global/assets/attach-icon.d.ts +6 -0
  273. package/dist/types/global/assets/check-icon.d.ts +6 -0
  274. package/dist/types/global/assets/empty-table-icon.d.ts +6 -0
  275. package/dist/types/global/assets/form-submit-svg.d.ts +6 -0
  276. package/dist/types/global/assets/print-icon.d.ts +6 -0
  277. package/dist/types/global/assets/question-mark.d.ts +6 -0
  278. package/dist/types/global/assets/triangle-icon.d.ts +6 -0
  279. package/dist/types/global/lib/parents-with-tag.d.ts +1 -0
  280. package/dist/types/global/lib/recaptcha.d.ts +1 -1
  281. package/dist/types/global/types/components.d.ts +0 -1
  282. package/dist/types/global/types/forms.d.ts +1 -1
  283. package/dist/types/global/types/generated/vehicle-lookup/vehicle-item-warning.d.ts +7 -0
  284. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +3 -0
  285. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
  286. package/dist/types/locales/vehicleLookup/claimableItems/type.d.ts +18 -26
  287. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -2
  288. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +14 -18
  289. package/package.json +1 -2
  290. package/dist/cjs/shift-tab-content_7.cjs.entry.js +0 -1487
  291. package/dist/cjs/type-CCsnwaKp.js +0 -56
  292. package/dist/collection/global/api/partInformation.js +0 -32
  293. package/dist/collection/global/api/vehicleInformation.js +0 -48
  294. package/dist/components/p-1vy-Ba6r.js +0 -5
  295. package/dist/components/p-B5YdqGVm.js +0 -5
  296. package/dist/components/p-BDkK65_1.js +0 -5
  297. package/dist/components/p-BT4rhLRL.js +0 -5
  298. package/dist/components/p-C1F_f1WE.js +0 -5
  299. package/dist/components/p-CACnUI7c.js +0 -5
  300. package/dist/components/p-CDOvd2iD.js +0 -5
  301. package/dist/components/p-CGzOJT7g.js +0 -5
  302. package/dist/components/p-CINfIgzX.js +0 -5
  303. package/dist/components/p-CJpwqpuQ.js +0 -5
  304. package/dist/components/p-CUqXnLyM.js +0 -5
  305. package/dist/components/p-Cl9ct-bZ.js +0 -5
  306. package/dist/components/p-CqGVdvFp.js +0 -5
  307. package/dist/components/p-D2bxjSGr.js +0 -5
  308. package/dist/components/p-DXHx6lre.js +0 -5
  309. package/dist/components/p-DXj5zsQK.js +0 -5
  310. package/dist/components/p-DsCtgcZn.js +0 -5
  311. package/dist/components/p-DxjQlmaz.js +0 -5
  312. package/dist/components/p-nxlqujKv.js +0 -5
  313. package/dist/components/p-vvHN2Olh.js +0 -5
  314. package/dist/components/p-yQ70lKV2.js +0 -5
  315. package/dist/esm/shift-tab-content_7.entry.js +0 -1479
  316. package/dist/esm/type-CfLRnI1J.js +0 -53
  317. package/dist/esm/vehicle-info-layout-D1bvY1nt.js +0 -43
  318. package/dist/shift-components/p-389f444c.entry.js +0 -5
  319. package/dist/shift-components/p-5dd208de.entry.js +0 -5
  320. package/dist/shift-components/p-5f91eb5f.entry.js +0 -5
  321. package/dist/shift-components/p-76dd44e9.entry.js +0 -5
  322. package/dist/shift-components/p-9a51dae0.entry.js +0 -5
  323. package/dist/shift-components/p-BAMA88Mr.js +0 -5
  324. package/dist/shift-components/p-Br0JD1CD.js +0 -5
  325. package/dist/shift-components/p-af44ca99.entry.js +0 -5
  326. package/dist/shift-components/p-d0e6cd78.entry.js +0 -5
  327. package/dist/shift-components/p-f1225504.entry.js +0 -5
  328. package/dist/shift-components/p-faabbd23.entry.js +0 -5
  329. package/dist/shift-components/p-ff0fec09.entry.js +0 -5
  330. package/dist/types/global/api/partInformation.d.ts +0 -19
  331. package/dist/types/global/api/vehicleInformation.d.ts +0 -33
  332. package/dist/types/global/lib/image-expansion.d.ts +0 -9
  333. package/dist/types/global/types/locale.d.ts +0 -11
  334. /package/dist/collection/{components/vehicle-lookup → global}/assets/activationRequired.svg +0 -0
  335. /package/dist/collection/{components/vehicle-lookup → global}/assets/cancelled.svg +0 -0
  336. /package/dist/collection/{components/vehicle-lookup → global}/assets/check.svg +0 -0
  337. /package/dist/collection/{components/vehicle-lookup → global}/assets/expired.svg +0 -0
  338. /package/dist/collection/{components/vehicle-lookup → global}/assets/pending.svg +0 -0
  339. /package/dist/collection/{components/vehicle-lookup → global}/assets/processed.svg +0 -0
  340. /package/dist/collection/{components/vehicle-lookup → global}/assets/x-mark.svg +0 -0
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import"./index.js";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e,r,n,s,i,u=function(){if(r)return e;function t(t){this._maxSize=t,this.clear()}r=1,t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(t){return this._values[t]},t.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),t in this._values||this._size++,this._values[t]=e};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,s=/^\d+$/,i=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,o=new t(512),l=new t(512),c=new t(512);function f(t){return o.get(t)||o.set(t,h(t).map((function(t){return t.replace(a,"$2")})))}function h(t){return t.match(n)||[""]}function d(t){return"string"==typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function p(t){return!d(t)&&(function(t){return t.match(i)&&!t.match(s)}(t)||function(t){return u.test(t)}(t))}return e={Cache:t,split:h,normalizePath:f,setter:function(t){var e=f(t);return l.get(t)||l.set(t,(function(t,r){for(var n=0,s=e.length,i=t;n<s-1;){var u=e[n];if("__proto__"===u||"constructor"===u||"prototype"===u)return t;i=i[e[n++]]}i[e[n]]=r}))},getter:function(t,e){var r=f(t);return c.get(t)||c.set(t,(function(t){for(var n=0,s=r.length;n<s;){if(null==t&&e)return;t=t[r[n++]]}return t}))},join:function(t){return t.reduce((function(t,e){return t+(d(e)||s.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,r){!function(t,e,r){var n,s,i,u,a=t.length;for(s=0;s<a;s++)(n=t[s])&&(p(n)&&(n='"'+n+'"'),i=!(u=d(n))&&/^\d+$/.test(n),e.call(r,n,u,i,s,t))}(Array.isArray(t)?t:h(t),e,r)}}}(),a=function(){if(s)return n;s=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,e=e=>e.match(t)||[],r=t=>t[0].toUpperCase()+t.slice(1),i=(t,r)=>e(t).join(r).toLowerCase(),u=t=>e(t).reduce(((t,e)=>`${t}${t?e[0].toUpperCase()+e.slice(1).toLowerCase():e.toLowerCase()}`),"");return n={words:e,upperFirst:r,camelCase:u,pascalCase:t=>r(u(t)),snakeCase:t=>i(t,"_"),kebabCase:t=>i(t,"-"),sentenceCase:t=>r(i(t," ")),titleCase:t=>e(t).map(r).join(" ")}}(),o={exports:{}},l=function(){if(i)return o.exports;function t(t,e){var r=t.length,n=new Array(r),s={},i=r,u=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++){var s=t[r];e.has(s[0])||e.set(s[0],new Set),e.has(s[1])||e.set(s[1],new Set),e.get(s[0]).add(s[1])}return e}(e),a=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}(t);for(e.forEach((function(t){if(!a.has(t[0])||!a.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)s[i]||o(t[i],i,new Set);return n;function o(t,e,i){if(i.has(t)){var l;try{l=", node was:"+JSON.stringify(t)}catch(t){l=""}throw new Error("Cyclic dependency"+l)}if(!a.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!s[e]){s[e]=!0;var c=u.get(t)||new Set;if(e=(c=Array.from(c)).length){i.add(t);do{var f=c[--e];o(f,a.get(f),i)}while(e);i.delete(t)}n[--r]=t}}}return i=1,o.exports=function(e){return t(function(t){for(var e=new Set,r=0,n=t.length;r<n;r++){var s=t[r];e.add(s[0]),e.add(s[1])}return Array.from(e)}(e),e)},o.exports.array=t,o.exports}(),c=t(l);const f=Object.prototype.toString,h=Error.prototype.toString,d=RegExp.prototype.toString,p="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",m=/^Symbol\((.*)\)(.*)$/;function b(t,e=!1){if(null==t||!0===t||!1===t)return""+t;const r=typeof t;if("number"===r)return function(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}(t);if("string"===r)return e?`"${t}"`:t;if("function"===r)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===r)return p.call(t).replace(m,"Symbol($1)");const n=f.call(t).slice(8,-1);return"Date"===n?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===n||t instanceof Error?"["+h.call(t)+"]":"RegExp"===n?d.call(t):null}function v(t,e){let r=b(t,e);return null!==r?r:JSON.stringify(t,(function(t,r){let n=b(this[t],e);return null!==n?n:r}),2)}function x(t){return null==t?[]:[].concat(t)}let F,y,g,w=/\$\{\s*(\w+)\s*\}/g;F=Symbol.toStringTag;class ${constructor(t,e,r,n){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[F]="Error",this.name="ValidationError",this.value=e,this.path=r,this.type=n,this.errors=[],this.inner=[],x(t).forEach((t=>{k.isError(t)?(this.errors.push(...t.errors),this.inner.push(...t.inner.length?t.inner:[t])):this.errors.push(t)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}y=Symbol.hasInstance,g=Symbol.toStringTag;class k extends Error{static formatError(t,e){return e=Object.assign({},e,{path:e.label||e.path||"this",originalPath:e.path}),"string"==typeof t?t.replace(w,((t,r)=>v(e[r]))):"function"==typeof t?t(e):t}static isError(t){return t&&"ValidationError"===t.name}constructor(t,e,r,n,s){const i=new $(t,e,r,n);if(s)return i;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[g]="Error",this.name=i.name,this.message=i.message,this.type=i.type,this.value=i.value,this.path=i.path,this.errors=i.errors,this.inner=i.inner,Error.captureStackTrace&&Error.captureStackTrace(this,k)}static[y](t){return $[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let O={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:e,value:r,originalValue:n})=>{const s=null!=n&&n!==r?` (cast from the value \`${v(n,!0)}\`).`:".";return"mixed"!==e?`${t} must be a \`${e}\` type, but the final value was: \`${v(r,!0)}\``+s:`${t} must match the configured type. The validated value was: \`${v(r,!0)}\``+s}},j={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},E={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},A={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},D={notType:t=>{const{path:e,value:r,spec:n}=t,s=n.types.length;if(Array.isArray(r)){if(r.length<s)return`${e} tuple value has too few items, expected a length of ${s} but got ${r.length} for value: \`${v(r,!0)}\``;if(r.length>s)return`${e} tuple value has too many items, expected a length of ${s} but got ${r.length} for value: \`${v(r,!0)}\``}return k.formatError(O.notType,t)}};Object.assign(Object.create(null),{mixed:O,string:j,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:E,object:A,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"},tuple:D});const S=t=>t&&t.__isYupSchema__;class T{static fromOptions(t,e){if(!e.then&&!e.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:n,otherwise:s}=e,i="function"==typeof r?r:(...t)=>t.every((t=>t===r));return new T(t,((t,e)=>{var r;let u=i(...t)?n:s;return null!=(r=null==u?void 0:u(e))?r:e}))}constructor(t,e){this.fn=void 0,this.refs=t,this.refs=t,this.fn=e}resolve(t,e){let r=this.refs.map((t=>t.getValue(null==e?void 0:e.value,null==e?void 0:e.parent,null==e?void 0:e.context))),n=this.fn(r,t,e);if(void 0===n||n===t)return t;if(!S(n))throw new TypeError("conditions must return a schema object");return n.resolve(e)}}class L{constructor(t,e={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue,this.path=this.key.slice((this.isContext?"$":this.isValue?".":"").length),this.getter=this.path&&u.getter(this.path,!0),this.map=e.map}getValue(t,e,r){let n=this.isContext?r:this.isValue?t:e;return this.getter&&(n=this.getter(n||{})),this.map&&(n=this.map(n)),n}cast(t,e){return this.getValue(t,null==e?void 0:e.parent,null==e?void 0:e.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}L.prototype.__isYupRef=!0;const z=t=>null==t;function _(t){function e({value:e,path:r="",options:n,originalValue:s,schema:i},u,a){const{name:o,test:l,params:c,message:f,skipAbsent:h}=t;let{parent:d,context:p,abortEarly:m=i.spec.abortEarly,disableStackTrace:b=i.spec.disableStackTrace}=n;function v(t){return L.isRef(t)?t.getValue(e,d,p):t}function x(t={}){const n=Object.assign({value:e,originalValue:s,label:i.spec.label,path:t.path||r,spec:i.spec,disableStackTrace:t.disableStackTrace||b},c,t.params);for(const t of Object.keys(n))n[t]=v(n[t]);const u=new k(k.formatError(t.message||f,n),e,n.path,t.type||o,n.disableStackTrace);return u.params=n,u}const F=m?u:a;let y={path:r,parent:d,type:o,from:n.from,createError:x,resolve:v,options:n,originalValue:s,schema:i};const g=t=>{k.isError(t)?F(t):t?a(null):F(x())},w=t=>{k.isError(t)?F(t):u(t)};if(h&&z(e))return g(!0);let $;try{var O;if($=l.call(y,e,y),"function"==typeof(null==(O=$)?void 0:O.then)){if(n.sync)throw new Error(`Validation test of type: "${y.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve($).then(g,w)}}catch(t){return void w(t)}g($)}return e.OPTIONS=t,e}function C(t,e,r,n=r){let s,i,a;return e?(u.forEach(e,((u,o,l)=>{let c=o?u.slice(1,u.length-1):u,f="tuple"===(t=t.resolve({context:n,parent:s,value:r})).type,h=l?parseInt(c,10):0;if(t.innerType||f){if(f&&!l)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(r&&h>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${u}, in the path: ${e}. because there is no value at that index. `);s=r,r=r&&r[h],t=f?t.spec.types[h]:t.innerType}if(!l){if(!t.fields||!t.fields[c])throw new Error(`The schema does not contain the path: ${e}. (failed at: ${a} which is a type: "${t.type}")`);s=r,r=r&&r[c],t=t.fields[c]}i=c,a=o?"["+u+"]":"."+u})),{schema:t,parent:s,parentPath:i}):{parent:s,parentPath:e,schema:t}}class V extends Set{describe(){const t=[];for(const e of this.values())t.push(L.isRef(e)?e.describe():e);return t}resolveAll(t){let e=[];for(const r of this.values())e.push(t(r));return e}clone(){return new V(this.values())}merge(t,e){const r=this.clone();return t.forEach((t=>r.add(t))),e.forEach((t=>r.delete(t))),r}}function Z(t,e=new Map){if(S(t)||!t||"object"!=typeof t)return t;if(e.has(t))return e.get(t);let r;if(t instanceof Date)r=new Date(t.getTime()),e.set(t,r);else if(t instanceof RegExp)r=new RegExp(t),e.set(t,r);else if(Array.isArray(t)){r=new Array(t.length),e.set(t,r);for(let n=0;n<t.length;n++)r[n]=Z(t[n],e)}else if(t instanceof Map){r=new Map,e.set(t,r);for(const[n,s]of t.entries())r.set(n,Z(s,e))}else if(t instanceof Set){r=new Set,e.set(t,r);for(const n of t)r.add(Z(n,e))}else{if(!(t instanceof Object))throw Error(`Unable to clone ${t}`);r={},e.set(t,r);for(const[n,s]of Object.entries(t))r[n]=Z(s,e)}return r}class N{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new V,this._blacklist=new V,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(O.notType)})),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==t?void 0:t.spec),this.withMutation((t=>{t.nonNullable()}))}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const e=Object.create(Object.getPrototypeOf(this));return e.type=this.type,e._typeCheck=this._typeCheck,e._whitelist=this._whitelist.clone(),e._blacklist=this._blacklist.clone(),e.internalTests=Object.assign({},this.internalTests),e.exclusiveTests=Object.assign({},this.exclusiveTests),e.deps=[...this.deps],e.conditions=[...this.conditions],e.tests=[...this.tests],e.transforms=[...this.transforms],e.spec=Z(Object.assign({},this.spec,t)),e}label(t){let e=this.clone();return e.spec.label=t,e}meta(...t){if(0===t.length)return this.spec.meta;let e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},t[0]),e}withMutation(t){let e=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=e,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let e=this,r=t.clone();const n=Object.assign({},e.spec,r.spec);return r.spec=n,r.internalTests=Object.assign({},e.internalTests,r.internalTests),r._whitelist=e._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=e._blacklist.merge(t._blacklist,t._whitelist),r.tests=e.tests,r.exclusiveTests=e.exclusiveTests,r.withMutation((e=>{t.tests.forEach((t=>{e.test(t.OPTIONS)}))})),r.transforms=[...e.transforms,...r.transforms],r}isType(t){return null==t?!(!this.spec.nullable||null!==t)||!(!this.spec.optional||void 0!==t):this._typeCheck(t)}resolve(t){let e=this;if(e.conditions.length){let r=e.conditions;e=e.clone(),e.conditions=[],e=r.reduce(((e,r)=>r.resolve(e,t)),e),e=e.resolve(t)}return e}resolveOptions(t){var e,r,n,s;return Object.assign({},t,{from:t.from||[],strict:null!=(e=t.strict)?e:this.spec.strict,abortEarly:null!=(r=t.abortEarly)?r:this.spec.abortEarly,recursive:null!=(n=t.recursive)?n:this.spec.recursive,disableStackTrace:null!=(s=t.disableStackTrace)?s:this.spec.disableStackTrace})}cast(t,e={}){let r=this.resolve(Object.assign({value:t},e)),n="ignore-optionality"===e.assert,s=r._cast(t,e);if(!1!==e.assert&&!r.isType(s)){if(n&&z(s))return s;let i=v(t),u=v(s);throw new TypeError(`The value of ${e.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". \n\nattempted value: ${i} \n`+(u!==i?`result of cast: ${u}`:""))}return s}_cast(t,e){let r=void 0===t?t:this.transforms.reduce(((e,r)=>r.call(this,e,t,this)),t);return void 0===r&&(r=this.getDefault(e)),r}_validate(t,e={},r,n){let{path:s,originalValue:i=t,strict:u=this.spec.strict}=e,a=t;u||(a=this._cast(a,Object.assign({assert:!1},e)));let o=[];for(let t of Object.values(this.internalTests))t&&o.push(t);this.runTests({path:s,value:a,originalValue:i,options:e,tests:o},r,(t=>{if(t.length)return n(t,a);this.runTests({path:s,value:a,originalValue:i,options:e,tests:this.tests},r,n)}))}runTests(t,e,r){let n=!1,{tests:s,value:i,originalValue:u,path:a,options:o}=t,l=t=>{n||(n=!0,e(t,i))},c=t=>{n||(n=!0,r(t,i))},f=s.length,h=[];if(!f)return c([]);let d={value:i,originalValue:u,path:a,options:o,schema:this};for(let t=0;t<s.length;t++)(0,s[t])(d,l,(function(t){t&&(Array.isArray(t)?h.push(...t):h.push(t)),--f<=0&&c(h)}))}asNestedTest({key:t,index:e,parent:r,parentPath:n,originalParent:s,options:i}){const u=null!=t?t:e;if(null==u)throw TypeError("Must include `key` or `index` for nested validations");const a="number"==typeof u;let o=r[u];const l=Object.assign({},i,{strict:!0,parent:r,value:o,originalValue:s[u],key:void 0,[a?"index":"key"]:u,path:a||u.includes(".")?`${n||""}[${a?u:`"${u}"`}]`:(n?`${n}.`:"")+t});return(t,e,r)=>this.resolve(l)._validate(o,l,e,r)}validate(t,e){var r;let n=this.resolve(Object.assign({},e,{value:t})),s=null!=(r=null==e?void 0:e.disableStackTrace)?r:n.spec.disableStackTrace;return new Promise(((r,i)=>n._validate(t,e,((t,e)=>{k.isError(t)&&(t.value=e),i(t)}),((t,e)=>{t.length?i(new k(t,e,void 0,void 0,s)):r(e)}))))}validateSync(t,e){var r;let n,s=this.resolve(Object.assign({},e,{value:t})),i=null!=(r=null==e?void 0:e.disableStackTrace)?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},e,{sync:!0}),((t,e)=>{throw k.isError(t)&&(t.value=e),t}),((e,r)=>{if(e.length)throw new k(e,t,void 0,void 0,i);n=r})),n}isValid(t,e){return this.validate(t,e).then((()=>!0),(t=>{if(k.isError(t))return!1;throw t}))}isValidSync(t,e){try{return this.validateSync(t,e),!0}catch(t){if(k.isError(t))return!1;throw t}}_getDefault(t){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this,t):Z(e)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return 0===arguments.length?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,e){const r=this.clone({nullable:t});return r.internalTests.nullable=_({message:e,name:"nullable",test(t){return null!==t||this.schema.spec.nullable}}),r}optionality(t,e){const r=this.clone({optional:t});return r.internalTests.optionality=_({message:e,name:"optionality",test(t){return void 0!==t||this.schema.spec.optional}}),r}optional(){return this.optionality(!0)}defined(t=O.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=O.notNull){return this.nullability(!1,t)}required(t=O.required){return this.clone().withMutation((e=>e.nonNullable(t).defined(t)))}notRequired(){return this.clone().withMutation((t=>t.nullable().optional()))}transform(t){let e=this.clone();return e.transforms.push(t),e}test(...t){let e;if(e=1===t.length?"function"==typeof t[0]?{test:t[0]}:t[0]:2===t.length?{name:t[0],test:t[1]}:{name:t[0],message:t[1],test:t[2]},void 0===e.message&&(e.message=O.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");let r=this.clone(),n=_(e),s=e.exclusive||e.name&&!0===r.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(r.exclusiveTests[e.name]=!!e.exclusive),r.tests=r.tests.filter((t=>{if(t.OPTIONS.name===e.name){if(s)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),r.tests.push(n),r}when(t,e){Array.isArray(t)||"string"==typeof t||(e=t,t=".");let r=this.clone(),n=x(t).map((t=>new L(t)));return n.forEach((t=>{t.isSibling&&r.deps.push(t.key)})),r.conditions.push("function"==typeof e?new T(n,e):T.fromOptions(n,e)),r}typeError(t){let e=this.clone();return e.internalTests.typeError=_({message:t,name:"typeError",skipAbsent:!0,test(t){return!!this.schema._typeCheck(t)||this.createError({params:{type:this.schema.type}})}}),e}oneOf(t,e=O.oneOf){let r=this.clone();return t.forEach((t=>{r._whitelist.add(t),r._blacklist.delete(t)})),r.internalTests.whiteList=_({message:e,name:"oneOf",skipAbsent:!0,test(t){let e=this.schema._whitelist,r=e.resolveAll(this.resolve);return!!r.includes(t)||this.createError({params:{values:Array.from(e).join(", "),resolved:r}})}}),r}notOneOf(t,e=O.notOneOf){let r=this.clone();return t.forEach((t=>{r._blacklist.add(t),r._whitelist.delete(t)})),r.internalTests.blacklist=_({message:e,name:"notOneOf",test(t){let e=this.schema._blacklist,r=e.resolveAll(this.resolve);return!r.includes(t)||this.createError({params:{values:Array.from(e).join(", "),resolved:r}})}}),r}strip(t=!0){let e=this.clone();return e.spec.strip=t,e}describe(t){const e=(t?this.resolve(t):this).clone(),{label:r,meta:n,optional:s,nullable:i}=e.spec;return{meta:n,label:r,optional:s,nullable:i,default:e.getDefault(t),type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((t=>({name:t.OPTIONS.name,params:t.OPTIONS.params}))).filter(((t,e,r)=>r.findIndex((e=>e.name===t.name))===e))}}}N.prototype.__isYupSchema__=!0;for(const t of["validate","validateSync"])N.prototype[`${t}At`]=function(e,r,n={}){const{parent:s,parentPath:i,schema:u}=C(this,e,r,n.context);return u[t](s&&s[i],Object.assign({},n,{parent:s,path:e}))};for(const t of["equals","is"])N.prototype[t]=N.prototype.oneOf;for(const t of["not","nope"])N.prototype[t]=N.prototype.notOneOf;const q=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function P(t){var e,r;const n=q.exec(t);return n?{year:R(n[1]),month:R(n[2],1)-1,day:R(n[3],1),hour:R(n[4]),minute:R(n[5]),second:R(n[6]),millisecond:n[7]?R(n[7].substring(0,3)):0,precision:null!=(e=null==(r=n[7])?void 0:r.length)?e:void 0,z:n[8]||void 0,plusMinus:n[9]||void 0,hourOffset:R(n[10]),minuteOffset:R(n[11])}:null}function R(t,e=0){return Number(t)||e}let U=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,M=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,I=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,H=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),J=t=>z(t)||t===t.trim(),Y={}.toString();function B(){return new K}class K extends N{constructor(){super({type:"string",check:t=>(t instanceof String&&(t=t.valueOf()),"string"==typeof t)}),this.withMutation((()=>{this.transform(((t,e,r)=>{if(!r.spec.coerce||r.isType(t))return t;if(Array.isArray(t))return t;const n=null!=t&&t.toString?t.toString():t;return n===Y?t:n}))}))}required(t){return super.required(t).withMutation((e=>e.test({message:t||O.required,name:"required",skipAbsent:!0,test:t=>!!t.length})))}notRequired(){return super.notRequired().withMutation((t=>(t.tests=t.tests.filter((t=>"required"!==t.OPTIONS.name)),t)))}length(t,e=j.length){return this.test({message:e,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(e){return e.length===this.resolve(t)}})}min(t,e=j.min){return this.test({message:e,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(e){return e.length>=this.resolve(t)}})}max(t,e=j.max){return this.test({name:"max",exclusive:!0,message:e,params:{max:t},skipAbsent:!0,test(e){return e.length<=this.resolve(t)}})}matches(t,e){let r,n,s=!1;return e&&("object"==typeof e?({excludeEmptyString:s=!1,message:r,name:n}=e):r=e),this.test({name:n||"matches",message:r||j.matches,params:{regex:t},skipAbsent:!0,test:e=>""===e&&s||-1!==e.search(t)})}email(t=j.email){return this.matches(U,{name:"email",message:t,excludeEmptyString:!0})}url(t=j.url){return this.matches(M,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=j.uuid){return this.matches(I,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let e,r,n="";return t&&("object"==typeof t?({message:n="",allowOffset:e=!1,precision:r}=t):n=t),this.matches(H,{name:"datetime",message:n||j.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||j.datetime_offset,params:{allowOffset:e},skipAbsent:!0,test:t=>{if(!t||e)return!0;const r=P(t);return!!r&&!!r.z}}).test({name:"datetime_precision",message:n||j.datetime_precision,params:{precision:r},skipAbsent:!0,test:t=>{if(!t||null==r)return!0;const e=P(t);return!!e&&e.precision===r}})}ensure(){return this.default("").transform((t=>null===t?"":t))}trim(t=j.trim){return this.transform((t=>null!=t?t.trim():t)).test({message:t,name:"trim",test:J})}lowercase(t=j.lowercase){return this.transform((t=>z(t)?t:t.toLowerCase())).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>z(t)||t===t.toLowerCase()})}uppercase(t=j.uppercase){return this.transform((t=>z(t)?t:t.toUpperCase())).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>z(t)||t===t.toUpperCase()})}}B.prototype=K.prototype;let G=new Date("");class Q extends N{constructor(){super({type:"date",check:t=>"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())}),this.withMutation((()=>{this.transform(((t,e,r)=>!r.spec.coerce||r.isType(t)||null===t?t:(t=function(t){const e=P(t);if(!e)return Date.parse?Date.parse(t):Number.NaN;if(void 0===e.z&&void 0===e.plusMinus)return new Date(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond).valueOf();let r=0;return"Z"!==e.z&&void 0!==e.plusMinus&&(r=60*e.hourOffset+e.minuteOffset,"+"===e.plusMinus&&(r=0-r)),Date.UTC(e.year,e.month,e.day,e.hour,e.minute+r,e.second,e.millisecond)}(t),isNaN(t)?Q.INVALID_DATE:new Date(t))))}))}prepareParam(t,e){let r;if(L.isRef(t))r=t;else{let n=this.cast(t);if(!this._typeCheck(n))throw new TypeError(`\`${e}\` must be a Date or a value that can be \`cast()\` to a Date`);r=n}return r}min(t,e=E.min){let r=this.prepareParam(t,"min");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(t){return t>=this.resolve(r)}})}max(t,e=E.max){let r=this.prepareParam(t,"max");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(t){return t<=this.resolve(r)}})}}function W(t,e){let r=1/0;return t.some(((t,n)=>{var s;if(null!=(s=e.path)&&s.includes(t))return r=n,!0})),r}function X(t){return(e,r)=>W(t,e)-W(t,r)}Q.INVALID_DATE=G;const tt=(t,e,r)=>{if("string"!=typeof t)return t;let n=t;try{n=JSON.parse(t)}catch(t){}return r.isType(n)?n:t};function et(t){if("fields"in t){const e={};for(const[r,n]of Object.entries(t.fields))e[r]=et(n);return t.setFields(e)}if("array"===t.type){const e=t.optional();return e.innerType&&(e.innerType=et(e.innerType)),e}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(et)}):"optional"in t?t.optional():t}let rt=t=>"[object Object]"===Object.prototype.toString.call(t);function nt(t,e){let r=Object.keys(t.fields);return Object.keys(e).filter((t=>-1===r.indexOf(t)))}const st=X([]);function it(t){return new ut(t)}class ut extends N{constructor(t){super({type:"object",check:t=>rt(t)||"function"==typeof t}),this.fields=Object.create(null),this._sortErrors=st,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{t&&this.shape(t)}))}_cast(t,e={}){var r;let n=super._cast(t,e);if(void 0===n)return this.getDefault(e);if(!this._typeCheck(n))return n;let s=this.fields,i=null!=(r=e.stripUnknown)?r:this.spec.noUnknown,u=[].concat(this._nodes,Object.keys(n).filter((t=>!this._nodes.includes(t)))),a={},o=Object.assign({},e,{parent:a,__validating:e.__validating||!1}),l=!1;for(const t of u){let r=s[t],u=t in n;if(r){let s,i=n[t];o.path=(e.path?`${e.path}.`:"")+t,r=r.resolve({value:i,context:e.context,parent:a});let u=r instanceof N?r.spec:void 0,c=null==u?void 0:u.strict;if(null!=u&&u.strip){l=l||t in n;continue}s=e.__validating&&c?n[t]:r.cast(n[t],o),void 0!==s&&(a[t]=s)}else u&&!i&&(a[t]=n[t]);u===t in a&&a[t]===n[t]||(l=!0)}return l?a:n}_validate(t,e={},r,n){let{from:s=[],originalValue:i=t,recursive:u=this.spec.recursive}=e;e.from=[{schema:this,value:i},...s],e.__validating=!0,e.originalValue=i,super._validate(t,e,r,((t,s)=>{if(!u||!rt(s))return void n(t,s);i=i||s;let a=[];for(let t of this._nodes){let r=this.fields[t];r&&!L.isRef(r)&&a.push(r.asNestedTest({options:e,key:t,parent:s,parentPath:e.path,originalParent:i}))}this.runTests({tests:a,value:s,originalValue:i,options:e},r,(e=>{n(e.sort(this._sortErrors).concat(t),s)}))}))}clone(t){const e=super.clone(t);return e.fields=Object.assign({},this.fields),e._nodes=this._nodes,e._excludedEdges=this._excludedEdges,e._sortErrors=this._sortErrors,e}concat(t){let e=super.concat(t),r=e.fields;for(let[t,e]of Object.entries(this.fields)){const n=r[t];r[t]=void 0===n?e:n}return e.withMutation((e=>e.setFields(r,[...this._excludedEdges,...t._excludedEdges])))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let e={};return this._nodes.forEach((r=>{var n;const s=this.fields[r];let i=t;null!=(n=i)&&n.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[r]})),e[r]=s&&"getDefault"in s?s.getDefault(i):void 0})),e}setFields(t,e){let r=this.clone();return r.fields=t,r._nodes=function(t,e=[]){let r=[],n=new Set,s=new Set(e.map((([t,e])=>`${t}-${e}`)));function i(t,e){let i=u.split(t)[0];n.add(i),s.has(`${e}-${i}`)||r.push([e,i])}for(const e of Object.keys(t)){let r=t[e];n.add(e),L.isRef(r)&&r.isSibling?i(r.path,e):S(r)&&"deps"in r&&r.deps.forEach((t=>i(t,e)))}return c.array(Array.from(n),r).reverse()}(t,e),r._sortErrors=X(Object.keys(t)),e&&(r._excludedEdges=e),r}shape(t,e=[]){return this.clone().withMutation((r=>{let n=r._excludedEdges;return e.length&&(Array.isArray(e[0])||(e=[e]),n=[...r._excludedEdges,...e]),r.setFields(Object.assign(r.fields,t),n)}))}partial(){const t={};for(const[e,r]of Object.entries(this.fields))t[e]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return et(this)}pick(t){const e={};for(const r of t)this.fields[r]&&(e[r]=this.fields[r]);return this.setFields(e,this._excludedEdges.filter((([e,r])=>t.includes(e)&&t.includes(r))))}omit(t){const e=[];for(const r of Object.keys(this.fields))t.includes(r)||e.push(r);return this.pick(e)}from(t,e,r){let n=u.getter(t,!0);return this.transform((s=>{if(!s)return s;let i=s;return((t,e)=>{const r=[...u.normalizePath(e)];if(1===r.length)return r[0]in t;let n=r.pop(),s=u.getter(u.join(r),!0)(t);return!(!s||!(n in s))})(s,t)&&(i=Object.assign({},s),r||delete i[t],i[e]=n(s)),i}))}json(){return this.transform(tt)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||A.exact,test(t){if(null==t)return!0;const e=nt(this.schema,t);return 0===e.length||this.createError({params:{properties:e.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,e=A.noUnknown){"boolean"!=typeof t&&(e=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:e,test(e){if(null==e)return!0;const r=nt(this.schema,e);return!t||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,e=A.noUnknown){return this.noUnknown(!t,e)}transformKeys(t){return this.transform((e=>{if(!e)return e;const r={};for(const n of Object.keys(e))r[t(n)]=e[n];return r}))}camelCase(){return this.transformKeys(a.camelCase)}snakeCase(){return this.transformKeys(a.snakeCase)}constantCase(){return this.transformKeys((t=>a.snakeCase(t).toUpperCase()))}describe(t){const e=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[s,i]of Object.entries(e.fields)){var n;let e=t;null!=(n=e)&&n.value&&(e=Object.assign({},e,{parent:e.value,value:e.value[s]})),r.fields[s]=i.describe(e)}return r}}it.prototype=ut.prototype;const at={"-":["locales/"],errors:["locales/errors/"],forms:["locales/forms/","locales/forms/contactUs/"],"forms.contactUs":["locales/forms/contactUs/"],general:["locales/general/"],generalTicketTypes:["locales/generalTicketTypes/"],"partLookup.deadStock":["locales/partLookup/deadStock/"],partLookup:["locales/partLookup/deadStock/","locales/partLookup/distributor/","locales/partLookup/manufacturer/"],"partLookup.distributor":["locales/partLookup/distributor/"],"partLookup.manufacturer":["locales/partLookup/manufacturer/"],"vehicleLookup.accessories":["locales/vehicleLookup/accessories/"],vehicleLookup:["locales/vehicleLookup/accessories/","locales/vehicleLookup/claimableItems/","locales/vehicleLookup/paintThickness/","locales/vehicleLookup/serviceHistory/","locales/vehicleLookup/specification/","locales/vehicleLookup/warranty/"],"vehicleLookup.claimableItems":["locales/vehicleLookup/claimableItems/"],"vehicleLookup.paintThickness":["locales/vehicleLookup/paintThickness/"],"vehicleLookup.serviceHistory":["locales/vehicleLookup/serviceHistory/"],"vehicleLookup.specification":["locales/vehicleLookup/specification/"],"vehicleLookup.warranty":["locales/vehicleLookup/warranty/"],"forms*":["locales/forms/"]},ot={ar:"ar.json",en:"en.json",ku:"ku.json",ru:"ru.json"};function lt(t){return it(t.reduce(((t,e)=>(t[e]=B().required().default(""),t)),{}))}const ct=lt(["lang","direction","language","noData"]),ft=lt(["noBaseUrl","invalidVin","vinNumberRequired","partNumberRequired","wrongResponseFormat","noPartsFound","noServiceAvailable","wrongFormStructure","wildCard","requestFailedPleaseTryAgainLater"]),ht=it({errors:ft}).concat(ct),dt={};async function pt(t){const[e,r]=await Promise.all([mt(t,"errors",ft),mt(t,"-",ct)]);return Object.assign({errors:e},r)}async function mt(t,e,r){const n=ot[t]||ot.en,s=at[e];if(!s||!s.length)throw new Error(`Locale file not found for component: ${e}`);if(1===s.length){const t=s[0]+n,e=await xt(t);try{r.validateSync(e,{strict:!0,abortEarly:!1})}catch(e){console.error(`Failed to parse locale file: ${t}`),console.error(e)}return e}{const t=s.map((t=>xt(t+n))),i=await Promise.all(t),u={};vt(e,r.getDefault(),u,n);try{r.validateSync(u,{strict:!0,abortEarly:!1})}catch(t){console.error(`Failed to parse locale file component: ${e}`),console.error(t)}return i}}function bt(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function vt(t,e,r,n){let s=!1;Object.entries(e).forEach((([e,i])=>{if("string"!=typeof i||s){if(bt(i)){const s=t+"."+e;if(Object.entries(i).some((([t,e])=>bt(e))))r[e]={},vt(s,i,r[e],n);else if(at[s]&&at[s].length){const t=at[s][0]+n;dt[t]&&(r[e]=dt[t])}}}else{if(at[t]){const e=at[t][0]+n;dt[e]&&Object.assign(r,dt[e])}s=!0}}))}async function xt(t){if(dt[t])return await dt[t];try{const e=fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@0.0.90/dist/${t}`).then((e=>(e.ok||delete dt[t],e.json())));dt[t]=e;const r=await e;return dt[t]=r,r}catch(e){return delete dt[t],{}}}export{pt as a,B as b,it as c,mt as g,ht as s,lt as y}
5
+ import"./index.js";function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var e,r,n,s,i,u=function(){if(r)return e;function t(t){this._maxSize=t,this.clear()}r=1,t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(t){return this._values[t]},t.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),t in this._values||this._size++,this._values[t]=e};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,s=/^\d+$/,i=/^\d/,u=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,o=new t(512),l=new t(512),c=new t(512);function f(t){return o.get(t)||o.set(t,h(t).map((function(t){return t.replace(a,"$2")})))}function h(t){return t.match(n)||[""]}function d(t){return"string"==typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function p(t){return!d(t)&&(function(t){return t.match(i)&&!t.match(s)}(t)||function(t){return u.test(t)}(t))}return e={Cache:t,split:h,normalizePath:f,setter:function(t){var e=f(t);return l.get(t)||l.set(t,(function(t,r){for(var n=0,s=e.length,i=t;n<s-1;){var u=e[n];if("__proto__"===u||"constructor"===u||"prototype"===u)return t;i=i[e[n++]]}i[e[n]]=r}))},getter:function(t,e){var r=f(t);return c.get(t)||c.set(t,(function(t){for(var n=0,s=r.length;n<s;){if(null==t&&e)return;t=t[r[n++]]}return t}))},join:function(t){return t.reduce((function(t,e){return t+(d(e)||s.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,r){!function(t,e,r){var n,s,i,u,a=t.length;for(s=0;s<a;s++)(n=t[s])&&(p(n)&&(n='"'+n+'"'),i=!(u=d(n))&&/^\d+$/.test(n),e.call(r,n,u,i,s,t))}(Array.isArray(t)?t:h(t),e,r)}}}(),a=function(){if(s)return n;s=1;const t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,e=e=>e.match(t)||[],r=t=>t[0].toUpperCase()+t.slice(1),i=(t,r)=>e(t).join(r).toLowerCase(),u=t=>e(t).reduce(((t,e)=>`${t}${t?e[0].toUpperCase()+e.slice(1).toLowerCase():e.toLowerCase()}`),"");return n={words:e,upperFirst:r,camelCase:u,pascalCase:t=>r(u(t)),snakeCase:t=>i(t,"_"),kebabCase:t=>i(t,"-"),sentenceCase:t=>r(i(t," ")),titleCase:t=>e(t).map(r).join(" ")}}(),o={exports:{}},l=function(){if(i)return o.exports;function t(t,e){var r=t.length,n=new Array(r),s={},i=r,u=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++){var s=t[r];e.has(s[0])||e.set(s[0],new Set),e.has(s[1])||e.set(s[1],new Set),e.get(s[0]).add(s[1])}return e}(e),a=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}(t);for(e.forEach((function(t){if(!a.has(t[0])||!a.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)s[i]||o(t[i],i,new Set);return n;function o(t,e,i){if(i.has(t)){var l;try{l=", node was:"+JSON.stringify(t)}catch(t){l=""}throw new Error("Cyclic dependency"+l)}if(!a.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!s[e]){s[e]=!0;var c=u.get(t)||new Set;if(e=(c=Array.from(c)).length){i.add(t);do{var f=c[--e];o(f,a.get(f),i)}while(e);i.delete(t)}n[--r]=t}}}return i=1,o.exports=function(e){return t(function(t){for(var e=new Set,r=0,n=t.length;r<n;r++){var s=t[r];e.add(s[0]),e.add(s[1])}return Array.from(e)}(e),e)},o.exports.array=t,o.exports}(),c=t(l);const f=Object.prototype.toString,h=Error.prototype.toString,d=RegExp.prototype.toString,p="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",m=/^Symbol\((.*)\)(.*)$/;function b(t,e=!1){if(null==t||!0===t||!1===t)return""+t;const r=typeof t;if("number"===r)return function(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}(t);if("string"===r)return e?`"${t}"`:t;if("function"===r)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===r)return p.call(t).replace(m,"Symbol($1)");const n=f.call(t).slice(8,-1);return"Date"===n?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===n||t instanceof Error?"["+h.call(t)+"]":"RegExp"===n?d.call(t):null}function v(t,e){let r=b(t,e);return null!==r?r:JSON.stringify(t,(function(t,r){let n=b(this[t],e);return null!==n?n:r}),2)}function x(t){return null==t?[]:[].concat(t)}let F,y,g,w=/\$\{\s*(\w+)\s*\}/g;F=Symbol.toStringTag;class ${constructor(t,e,r,n){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[F]="Error",this.name="ValidationError",this.value=e,this.path=r,this.type=n,this.errors=[],this.inner=[],x(t).forEach((t=>{k.isError(t)?(this.errors.push(...t.errors),this.inner.push(...t.inner.length?t.inner:[t])):this.errors.push(t)})),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}y=Symbol.hasInstance,g=Symbol.toStringTag;class k extends Error{static formatError(t,e){return e=Object.assign({},e,{path:e.label||e.path||"this",originalPath:e.path}),"string"==typeof t?t.replace(w,((t,r)=>v(e[r]))):"function"==typeof t?t(e):t}static isError(t){return t&&"ValidationError"===t.name}constructor(t,e,r,n,s){const i=new $(t,e,r,n);if(s)return i;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[g]="Error",this.name=i.name,this.message=i.message,this.type=i.type,this.value=i.value,this.path=i.path,this.errors=i.errors,this.inner=i.inner,Error.captureStackTrace&&Error.captureStackTrace(this,k)}static[y](t){return $[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let O={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:t,type:e,value:r,originalValue:n})=>{const s=null!=n&&n!==r?` (cast from the value \`${v(n,!0)}\`).`:".";return"mixed"!==e?`${t} must be a \`${e}\` type, but the final value was: \`${v(r,!0)}\``+s:`${t} must match the configured type. The validated value was: \`${v(r,!0)}\``+s}},j={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},E={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},A={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"},D={notType:t=>{const{path:e,value:r,spec:n}=t,s=n.types.length;if(Array.isArray(r)){if(r.length<s)return`${e} tuple value has too few items, expected a length of ${s} but got ${r.length} for value: \`${v(r,!0)}\``;if(r.length>s)return`${e} tuple value has too many items, expected a length of ${s} but got ${r.length} for value: \`${v(r,!0)}\``}return k.formatError(O.notType,t)}};Object.assign(Object.create(null),{mixed:O,string:j,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:E,object:A,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"},tuple:D});const S=t=>t&&t.__isYupSchema__;class T{static fromOptions(t,e){if(!e.then&&!e.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:n,otherwise:s}=e,i="function"==typeof r?r:(...t)=>t.every((t=>t===r));return new T(t,((t,e)=>{var r;let u=i(...t)?n:s;return null!=(r=null==u?void 0:u(e))?r:e}))}constructor(t,e){this.fn=void 0,this.refs=t,this.refs=t,this.fn=e}resolve(t,e){let r=this.refs.map((t=>t.getValue(null==e?void 0:e.value,null==e?void 0:e.parent,null==e?void 0:e.context))),n=this.fn(r,t,e);if(void 0===n||n===t)return t;if(!S(n))throw new TypeError("conditions must return a schema object");return n.resolve(e)}}class L{constructor(t,e={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue,this.path=this.key.slice((this.isContext?"$":this.isValue?".":"").length),this.getter=this.path&&u.getter(this.path,!0),this.map=e.map}getValue(t,e,r){let n=this.isContext?r:this.isValue?t:e;return this.getter&&(n=this.getter(n||{})),this.map&&(n=this.map(n)),n}cast(t,e){return this.getValue(t,null==e?void 0:e.parent,null==e?void 0:e.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}L.prototype.__isYupRef=!0;const z=t=>null==t;function _(t){function e({value:e,path:r="",options:n,originalValue:s,schema:i},u,a){const{name:o,test:l,params:c,message:f,skipAbsent:h}=t;let{parent:d,context:p,abortEarly:m=i.spec.abortEarly,disableStackTrace:b=i.spec.disableStackTrace}=n;function v(t){return L.isRef(t)?t.getValue(e,d,p):t}function x(t={}){const n=Object.assign({value:e,originalValue:s,label:i.spec.label,path:t.path||r,spec:i.spec,disableStackTrace:t.disableStackTrace||b},c,t.params);for(const t of Object.keys(n))n[t]=v(n[t]);const u=new k(k.formatError(t.message||f,n),e,n.path,t.type||o,n.disableStackTrace);return u.params=n,u}const F=m?u:a;let y={path:r,parent:d,type:o,from:n.from,createError:x,resolve:v,options:n,originalValue:s,schema:i};const g=t=>{k.isError(t)?F(t):t?a(null):F(x())},w=t=>{k.isError(t)?F(t):u(t)};if(h&&z(e))return g(!0);let $;try{var O;if($=l.call(y,e,y),"function"==typeof(null==(O=$)?void 0:O.then)){if(n.sync)throw new Error(`Validation test of type: "${y.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve($).then(g,w)}}catch(t){return void w(t)}g($)}return e.OPTIONS=t,e}function C(t,e,r,n=r){let s,i,a;return e?(u.forEach(e,((u,o,l)=>{let c=o?u.slice(1,u.length-1):u,f="tuple"===(t=t.resolve({context:n,parent:s,value:r})).type,h=l?parseInt(c,10):0;if(t.innerType||f){if(f&&!l)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(r&&h>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${u}, in the path: ${e}. because there is no value at that index. `);s=r,r=r&&r[h],t=f?t.spec.types[h]:t.innerType}if(!l){if(!t.fields||!t.fields[c])throw new Error(`The schema does not contain the path: ${e}. (failed at: ${a} which is a type: "${t.type}")`);s=r,r=r&&r[c],t=t.fields[c]}i=c,a=o?"["+u+"]":"."+u})),{schema:t,parent:s,parentPath:i}):{parent:s,parentPath:e,schema:t}}class V extends Set{describe(){const t=[];for(const e of this.values())t.push(L.isRef(e)?e.describe():e);return t}resolveAll(t){let e=[];for(const r of this.values())e.push(t(r));return e}clone(){return new V(this.values())}merge(t,e){const r=this.clone();return t.forEach((t=>r.add(t))),e.forEach((t=>r.delete(t))),r}}function Z(t,e=new Map){if(S(t)||!t||"object"!=typeof t)return t;if(e.has(t))return e.get(t);let r;if(t instanceof Date)r=new Date(t.getTime()),e.set(t,r);else if(t instanceof RegExp)r=new RegExp(t),e.set(t,r);else if(Array.isArray(t)){r=new Array(t.length),e.set(t,r);for(let n=0;n<t.length;n++)r[n]=Z(t[n],e)}else if(t instanceof Map){r=new Map,e.set(t,r);for(const[n,s]of t.entries())r.set(n,Z(s,e))}else if(t instanceof Set){r=new Set,e.set(t,r);for(const n of t)r.add(Z(n,e))}else{if(!(t instanceof Object))throw Error(`Unable to clone ${t}`);r={},e.set(t,r);for(const[n,s]of Object.entries(t))r[n]=Z(s,e)}return r}class N{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new V,this._blacklist=new V,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation((()=>{this.typeError(O.notType)})),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==t?void 0:t.spec),this.withMutation((t=>{t.nonNullable()}))}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const e=Object.create(Object.getPrototypeOf(this));return e.type=this.type,e._typeCheck=this._typeCheck,e._whitelist=this._whitelist.clone(),e._blacklist=this._blacklist.clone(),e.internalTests=Object.assign({},this.internalTests),e.exclusiveTests=Object.assign({},this.exclusiveTests),e.deps=[...this.deps],e.conditions=[...this.conditions],e.tests=[...this.tests],e.transforms=[...this.transforms],e.spec=Z(Object.assign({},this.spec,t)),e}label(t){let e=this.clone();return e.spec.label=t,e}meta(...t){if(0===t.length)return this.spec.meta;let e=this.clone();return e.spec.meta=Object.assign(e.spec.meta||{},t[0]),e}withMutation(t){let e=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=e,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let e=this,r=t.clone();const n=Object.assign({},e.spec,r.spec);return r.spec=n,r.internalTests=Object.assign({},e.internalTests,r.internalTests),r._whitelist=e._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=e._blacklist.merge(t._blacklist,t._whitelist),r.tests=e.tests,r.exclusiveTests=e.exclusiveTests,r.withMutation((e=>{t.tests.forEach((t=>{e.test(t.OPTIONS)}))})),r.transforms=[...e.transforms,...r.transforms],r}isType(t){return null==t?!(!this.spec.nullable||null!==t)||!(!this.spec.optional||void 0!==t):this._typeCheck(t)}resolve(t){let e=this;if(e.conditions.length){let r=e.conditions;e=e.clone(),e.conditions=[],e=r.reduce(((e,r)=>r.resolve(e,t)),e),e=e.resolve(t)}return e}resolveOptions(t){var e,r,n,s;return Object.assign({},t,{from:t.from||[],strict:null!=(e=t.strict)?e:this.spec.strict,abortEarly:null!=(r=t.abortEarly)?r:this.spec.abortEarly,recursive:null!=(n=t.recursive)?n:this.spec.recursive,disableStackTrace:null!=(s=t.disableStackTrace)?s:this.spec.disableStackTrace})}cast(t,e={}){let r=this.resolve(Object.assign({value:t},e)),n="ignore-optionality"===e.assert,s=r._cast(t,e);if(!1!==e.assert&&!r.isType(s)){if(n&&z(s))return s;let i=v(t),u=v(s);throw new TypeError(`The value of ${e.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". \n\nattempted value: ${i} \n`+(u!==i?`result of cast: ${u}`:""))}return s}_cast(t,e){let r=void 0===t?t:this.transforms.reduce(((e,r)=>r.call(this,e,t,this)),t);return void 0===r&&(r=this.getDefault(e)),r}_validate(t,e={},r,n){let{path:s,originalValue:i=t,strict:u=this.spec.strict}=e,a=t;u||(a=this._cast(a,Object.assign({assert:!1},e)));let o=[];for(let t of Object.values(this.internalTests))t&&o.push(t);this.runTests({path:s,value:a,originalValue:i,options:e,tests:o},r,(t=>{if(t.length)return n(t,a);this.runTests({path:s,value:a,originalValue:i,options:e,tests:this.tests},r,n)}))}runTests(t,e,r){let n=!1,{tests:s,value:i,originalValue:u,path:a,options:o}=t,l=t=>{n||(n=!0,e(t,i))},c=t=>{n||(n=!0,r(t,i))},f=s.length,h=[];if(!f)return c([]);let d={value:i,originalValue:u,path:a,options:o,schema:this};for(let t=0;t<s.length;t++)(0,s[t])(d,l,(function(t){t&&(Array.isArray(t)?h.push(...t):h.push(t)),--f<=0&&c(h)}))}asNestedTest({key:t,index:e,parent:r,parentPath:n,originalParent:s,options:i}){const u=null!=t?t:e;if(null==u)throw TypeError("Must include `key` or `index` for nested validations");const a="number"==typeof u;let o=r[u];const l=Object.assign({},i,{strict:!0,parent:r,value:o,originalValue:s[u],key:void 0,[a?"index":"key"]:u,path:a||u.includes(".")?`${n||""}[${a?u:`"${u}"`}]`:(n?`${n}.`:"")+t});return(t,e,r)=>this.resolve(l)._validate(o,l,e,r)}validate(t,e){var r;let n=this.resolve(Object.assign({},e,{value:t})),s=null!=(r=null==e?void 0:e.disableStackTrace)?r:n.spec.disableStackTrace;return new Promise(((r,i)=>n._validate(t,e,((t,e)=>{k.isError(t)&&(t.value=e),i(t)}),((t,e)=>{t.length?i(new k(t,e,void 0,void 0,s)):r(e)}))))}validateSync(t,e){var r;let n,s=this.resolve(Object.assign({},e,{value:t})),i=null!=(r=null==e?void 0:e.disableStackTrace)?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},e,{sync:!0}),((t,e)=>{throw k.isError(t)&&(t.value=e),t}),((e,r)=>{if(e.length)throw new k(e,t,void 0,void 0,i);n=r})),n}isValid(t,e){return this.validate(t,e).then((()=>!0),(t=>{if(k.isError(t))return!1;throw t}))}isValidSync(t,e){try{return this.validateSync(t,e),!0}catch(t){if(k.isError(t))return!1;throw t}}_getDefault(t){let e=this.spec.default;return null==e?e:"function"==typeof e?e.call(this,t):Z(e)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return 0===arguments.length?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,e){const r=this.clone({nullable:t});return r.internalTests.nullable=_({message:e,name:"nullable",test(t){return null!==t||this.schema.spec.nullable}}),r}optionality(t,e){const r=this.clone({optional:t});return r.internalTests.optionality=_({message:e,name:"optionality",test(t){return void 0!==t||this.schema.spec.optional}}),r}optional(){return this.optionality(!0)}defined(t=O.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=O.notNull){return this.nullability(!1,t)}required(t=O.required){return this.clone().withMutation((e=>e.nonNullable(t).defined(t)))}notRequired(){return this.clone().withMutation((t=>t.nullable().optional()))}transform(t){let e=this.clone();return e.transforms.push(t),e}test(...t){let e;if(e=1===t.length?"function"==typeof t[0]?{test:t[0]}:t[0]:2===t.length?{name:t[0],test:t[1]}:{name:t[0],message:t[1],test:t[2]},void 0===e.message&&(e.message=O.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");let r=this.clone(),n=_(e),s=e.exclusive||e.name&&!0===r.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(r.exclusiveTests[e.name]=!!e.exclusive),r.tests=r.tests.filter((t=>{if(t.OPTIONS.name===e.name){if(s)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),r.tests.push(n),r}when(t,e){Array.isArray(t)||"string"==typeof t||(e=t,t=".");let r=this.clone(),n=x(t).map((t=>new L(t)));return n.forEach((t=>{t.isSibling&&r.deps.push(t.key)})),r.conditions.push("function"==typeof e?new T(n,e):T.fromOptions(n,e)),r}typeError(t){let e=this.clone();return e.internalTests.typeError=_({message:t,name:"typeError",skipAbsent:!0,test(t){return!!this.schema._typeCheck(t)||this.createError({params:{type:this.schema.type}})}}),e}oneOf(t,e=O.oneOf){let r=this.clone();return t.forEach((t=>{r._whitelist.add(t),r._blacklist.delete(t)})),r.internalTests.whiteList=_({message:e,name:"oneOf",skipAbsent:!0,test(t){let e=this.schema._whitelist,r=e.resolveAll(this.resolve);return!!r.includes(t)||this.createError({params:{values:Array.from(e).join(", "),resolved:r}})}}),r}notOneOf(t,e=O.notOneOf){let r=this.clone();return t.forEach((t=>{r._blacklist.add(t),r._whitelist.delete(t)})),r.internalTests.blacklist=_({message:e,name:"notOneOf",test(t){let e=this.schema._blacklist,r=e.resolveAll(this.resolve);return!r.includes(t)||this.createError({params:{values:Array.from(e).join(", "),resolved:r}})}}),r}strip(t=!0){let e=this.clone();return e.spec.strip=t,e}describe(t){const e=(t?this.resolve(t):this).clone(),{label:r,meta:n,optional:s,nullable:i}=e.spec;return{meta:n,label:r,optional:s,nullable:i,default:e.getDefault(t),type:e.type,oneOf:e._whitelist.describe(),notOneOf:e._blacklist.describe(),tests:e.tests.map((t=>({name:t.OPTIONS.name,params:t.OPTIONS.params}))).filter(((t,e,r)=>r.findIndex((e=>e.name===t.name))===e))}}}N.prototype.__isYupSchema__=!0;for(const t of["validate","validateSync"])N.prototype[`${t}At`]=function(e,r,n={}){const{parent:s,parentPath:i,schema:u}=C(this,e,r,n.context);return u[t](s&&s[i],Object.assign({},n,{parent:s,path:e}))};for(const t of["equals","is"])N.prototype[t]=N.prototype.oneOf;for(const t of["not","nope"])N.prototype[t]=N.prototype.notOneOf;const q=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function P(t){var e,r;const n=q.exec(t);return n?{year:R(n[1]),month:R(n[2],1)-1,day:R(n[3],1),hour:R(n[4]),minute:R(n[5]),second:R(n[6]),millisecond:n[7]?R(n[7].substring(0,3)):0,precision:null!=(e=null==(r=n[7])?void 0:r.length)?e:void 0,z:n[8]||void 0,plusMinus:n[9]||void 0,hourOffset:R(n[10]),minuteOffset:R(n[11])}:null}function R(t,e=0){return Number(t)||e}let U=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,M=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,I=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,H=new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),J=t=>z(t)||t===t.trim(),Y={}.toString();function B(){return new K}class K extends N{constructor(){super({type:"string",check:t=>(t instanceof String&&(t=t.valueOf()),"string"==typeof t)}),this.withMutation((()=>{this.transform(((t,e,r)=>{if(!r.spec.coerce||r.isType(t))return t;if(Array.isArray(t))return t;const n=null!=t&&t.toString?t.toString():t;return n===Y?t:n}))}))}required(t){return super.required(t).withMutation((e=>e.test({message:t||O.required,name:"required",skipAbsent:!0,test:t=>!!t.length})))}notRequired(){return super.notRequired().withMutation((t=>(t.tests=t.tests.filter((t=>"required"!==t.OPTIONS.name)),t)))}length(t,e=j.length){return this.test({message:e,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(e){return e.length===this.resolve(t)}})}min(t,e=j.min){return this.test({message:e,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(e){return e.length>=this.resolve(t)}})}max(t,e=j.max){return this.test({name:"max",exclusive:!0,message:e,params:{max:t},skipAbsent:!0,test(e){return e.length<=this.resolve(t)}})}matches(t,e){let r,n,s=!1;return e&&("object"==typeof e?({excludeEmptyString:s=!1,message:r,name:n}=e):r=e),this.test({name:n||"matches",message:r||j.matches,params:{regex:t},skipAbsent:!0,test:e=>""===e&&s||-1!==e.search(t)})}email(t=j.email){return this.matches(U,{name:"email",message:t,excludeEmptyString:!0})}url(t=j.url){return this.matches(M,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=j.uuid){return this.matches(I,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let e,r,n="";return t&&("object"==typeof t?({message:n="",allowOffset:e=!1,precision:r}=t):n=t),this.matches(H,{name:"datetime",message:n||j.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||j.datetime_offset,params:{allowOffset:e},skipAbsent:!0,test:t=>{if(!t||e)return!0;const r=P(t);return!!r&&!!r.z}}).test({name:"datetime_precision",message:n||j.datetime_precision,params:{precision:r},skipAbsent:!0,test:t=>{if(!t||null==r)return!0;const e=P(t);return!!e&&e.precision===r}})}ensure(){return this.default("").transform((t=>null===t?"":t))}trim(t=j.trim){return this.transform((t=>null!=t?t.trim():t)).test({message:t,name:"trim",test:J})}lowercase(t=j.lowercase){return this.transform((t=>z(t)?t:t.toLowerCase())).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>z(t)||t===t.toLowerCase()})}uppercase(t=j.uppercase){return this.transform((t=>z(t)?t:t.toUpperCase())).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:t=>z(t)||t===t.toUpperCase()})}}B.prototype=K.prototype;let G=new Date("");class Q extends N{constructor(){super({type:"date",check:t=>"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())}),this.withMutation((()=>{this.transform(((t,e,r)=>!r.spec.coerce||r.isType(t)||null===t?t:(t=function(t){const e=P(t);if(!e)return Date.parse?Date.parse(t):Number.NaN;if(void 0===e.z&&void 0===e.plusMinus)return new Date(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond).valueOf();let r=0;return"Z"!==e.z&&void 0!==e.plusMinus&&(r=60*e.hourOffset+e.minuteOffset,"+"===e.plusMinus&&(r=0-r)),Date.UTC(e.year,e.month,e.day,e.hour,e.minute+r,e.second,e.millisecond)}(t),isNaN(t)?Q.INVALID_DATE:new Date(t))))}))}prepareParam(t,e){let r;if(L.isRef(t))r=t;else{let n=this.cast(t);if(!this._typeCheck(n))throw new TypeError(`\`${e}\` must be a Date or a value that can be \`cast()\` to a Date`);r=n}return r}min(t,e=E.min){let r=this.prepareParam(t,"min");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(t){return t>=this.resolve(r)}})}max(t,e=E.max){let r=this.prepareParam(t,"max");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(t){return t<=this.resolve(r)}})}}function W(t,e){let r=1/0;return t.some(((t,n)=>{var s;if(null!=(s=e.path)&&s.includes(t))return r=n,!0})),r}function X(t){return(e,r)=>W(t,e)-W(t,r)}Q.INVALID_DATE=G;const tt=(t,e,r)=>{if("string"!=typeof t)return t;let n=t;try{n=JSON.parse(t)}catch(t){}return r.isType(n)?n:t};function et(t){if("fields"in t){const e={};for(const[r,n]of Object.entries(t.fields))e[r]=et(n);return t.setFields(e)}if("array"===t.type){const e=t.optional();return e.innerType&&(e.innerType=et(e.innerType)),e}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(et)}):"optional"in t?t.optional():t}let rt=t=>"[object Object]"===Object.prototype.toString.call(t);function nt(t,e){let r=Object.keys(t.fields);return Object.keys(e).filter((t=>-1===r.indexOf(t)))}const st=X([]);function it(t){return new ut(t)}class ut extends N{constructor(t){super({type:"object",check:t=>rt(t)||"function"==typeof t}),this.fields=Object.create(null),this._sortErrors=st,this._nodes=[],this._excludedEdges=[],this.withMutation((()=>{t&&this.shape(t)}))}_cast(t,e={}){var r;let n=super._cast(t,e);if(void 0===n)return this.getDefault(e);if(!this._typeCheck(n))return n;let s=this.fields,i=null!=(r=e.stripUnknown)?r:this.spec.noUnknown,u=[].concat(this._nodes,Object.keys(n).filter((t=>!this._nodes.includes(t)))),a={},o=Object.assign({},e,{parent:a,__validating:e.__validating||!1}),l=!1;for(const t of u){let r=s[t],u=t in n;if(r){let s,i=n[t];o.path=(e.path?`${e.path}.`:"")+t,r=r.resolve({value:i,context:e.context,parent:a});let u=r instanceof N?r.spec:void 0,c=null==u?void 0:u.strict;if(null!=u&&u.strip){l=l||t in n;continue}s=e.__validating&&c?n[t]:r.cast(n[t],o),void 0!==s&&(a[t]=s)}else u&&!i&&(a[t]=n[t]);u===t in a&&a[t]===n[t]||(l=!0)}return l?a:n}_validate(t,e={},r,n){let{from:s=[],originalValue:i=t,recursive:u=this.spec.recursive}=e;e.from=[{schema:this,value:i},...s],e.__validating=!0,e.originalValue=i,super._validate(t,e,r,((t,s)=>{if(!u||!rt(s))return void n(t,s);i=i||s;let a=[];for(let t of this._nodes){let r=this.fields[t];r&&!L.isRef(r)&&a.push(r.asNestedTest({options:e,key:t,parent:s,parentPath:e.path,originalParent:i}))}this.runTests({tests:a,value:s,originalValue:i,options:e},r,(e=>{n(e.sort(this._sortErrors).concat(t),s)}))}))}clone(t){const e=super.clone(t);return e.fields=Object.assign({},this.fields),e._nodes=this._nodes,e._excludedEdges=this._excludedEdges,e._sortErrors=this._sortErrors,e}concat(t){let e=super.concat(t),r=e.fields;for(let[t,e]of Object.entries(this.fields)){const n=r[t];r[t]=void 0===n?e:n}return e.withMutation((e=>e.setFields(r,[...this._excludedEdges,...t._excludedEdges])))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let e={};return this._nodes.forEach((r=>{var n;const s=this.fields[r];let i=t;null!=(n=i)&&n.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[r]})),e[r]=s&&"getDefault"in s?s.getDefault(i):void 0})),e}setFields(t,e){let r=this.clone();return r.fields=t,r._nodes=function(t,e=[]){let r=[],n=new Set,s=new Set(e.map((([t,e])=>`${t}-${e}`)));function i(t,e){let i=u.split(t)[0];n.add(i),s.has(`${e}-${i}`)||r.push([e,i])}for(const e of Object.keys(t)){let r=t[e];n.add(e),L.isRef(r)&&r.isSibling?i(r.path,e):S(r)&&"deps"in r&&r.deps.forEach((t=>i(t,e)))}return c.array(Array.from(n),r).reverse()}(t,e),r._sortErrors=X(Object.keys(t)),e&&(r._excludedEdges=e),r}shape(t,e=[]){return this.clone().withMutation((r=>{let n=r._excludedEdges;return e.length&&(Array.isArray(e[0])||(e=[e]),n=[...r._excludedEdges,...e]),r.setFields(Object.assign(r.fields,t),n)}))}partial(){const t={};for(const[e,r]of Object.entries(this.fields))t[e]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return et(this)}pick(t){const e={};for(const r of t)this.fields[r]&&(e[r]=this.fields[r]);return this.setFields(e,this._excludedEdges.filter((([e,r])=>t.includes(e)&&t.includes(r))))}omit(t){const e=[];for(const r of Object.keys(this.fields))t.includes(r)||e.push(r);return this.pick(e)}from(t,e,r){let n=u.getter(t,!0);return this.transform((s=>{if(!s)return s;let i=s;return((t,e)=>{const r=[...u.normalizePath(e)];if(1===r.length)return r[0]in t;let n=r.pop(),s=u.getter(u.join(r),!0)(t);return!(!s||!(n in s))})(s,t)&&(i=Object.assign({},s),r||delete i[t],i[e]=n(s)),i}))}json(){return this.transform(tt)}exact(t){return this.test({name:"exact",exclusive:!0,message:t||A.exact,test(t){if(null==t)return!0;const e=nt(this.schema,t);return 0===e.length||this.createError({params:{properties:e.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(t=!0,e=A.noUnknown){"boolean"!=typeof t&&(e=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:e,test(e){if(null==e)return!0;const r=nt(this.schema,e);return!t||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,e=A.noUnknown){return this.noUnknown(!t,e)}transformKeys(t){return this.transform((e=>{if(!e)return e;const r={};for(const n of Object.keys(e))r[t(n)]=e[n];return r}))}camelCase(){return this.transformKeys(a.camelCase)}snakeCase(){return this.transformKeys(a.snakeCase)}constantCase(){return this.transformKeys((t=>a.snakeCase(t).toUpperCase()))}describe(t){const e=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[s,i]of Object.entries(e.fields)){var n;let e=t;null!=(n=e)&&n.value&&(e=Object.assign({},e,{parent:e.value,value:e.value[s]})),r.fields[s]=i.describe(e)}return r}}function at(t){return it(t.reduce(((t,e)=>(t[e]=B().required().default(""),t)),{}))}it.prototype=ut.prototype;const ot=at(["lang","direction","language","noData"]),lt=at(["noBaseUrl","invalidVin","vinNumberRequired","partNumberRequired","wrongResponseFormat","noPartsFound","noServiceAvailable","wrongFormStructure","wildCard","requestFailedPleaseTryAgainLater"]),ct=it({errors:lt}).concat(ot),ft={ar:"ar.json",en:"en.json",ku:"ku.json",ru:"ru.json"},ht={"-":["locales/"],errors:["locales/errors/"],forms:["locales/forms/","locales/forms/contactUs/"],"forms.contactUs":["locales/forms/contactUs/"],general:["locales/general/"],generalTicketTypes:["locales/generalTicketTypes/"],"partLookup.deadStock":["locales/partLookup/deadStock/"],partLookup:["locales/partLookup/deadStock/","locales/partLookup/distributor/","locales/partLookup/manufacturer/"],"partLookup.distributor":["locales/partLookup/distributor/"],"partLookup.manufacturer":["locales/partLookup/manufacturer/"],"vehicleLookup.accessories":["locales/vehicleLookup/accessories/"],vehicleLookup:["locales/vehicleLookup/accessories/","locales/vehicleLookup/claimableItems/","locales/vehicleLookup/paintThickness/","locales/vehicleLookup/serviceHistory/","locales/vehicleLookup/specification/","locales/vehicleLookup/warranty/"],"vehicleLookup.claimableItems":["locales/vehicleLookup/claimableItems/"],"vehicleLookup.paintThickness":["locales/vehicleLookup/paintThickness/"],"vehicleLookup.serviceHistory":["locales/vehicleLookup/serviceHistory/"],"vehicleLookup.specification":["locales/vehicleLookup/specification/"],"vehicleLookup.warranty":["locales/vehicleLookup/warranty/"],"forms*":["locales/forms/"]},dt={};async function pt(t){const[e,r]=await Promise.all([mt(t,"errors",lt),mt(t,"-",ot)]);return Object.assign({errors:e},r)}async function mt(t,e,r){const n=ft[t]||ft.en,s=ht[e];if(!s||!s.length)throw new Error(`Locale file not found for component: ${e}`);if(1===s.length){const t=s[0]+n,e=await xt(t);try{r.validateSync(e,{strict:!0,abortEarly:!1})}catch(e){console.error(`Failed to parse locale file: ${t}`),console.error(e)}return e}{const t=s.map((t=>xt(t+n))),i=await Promise.all(t),u={};vt(e,r.getDefault(),u,n);try{r.validateSync(u,{strict:!0,abortEarly:!1})}catch(t){console.error(`Failed to parse locale file component: ${e}`),console.error(t)}return i}}function bt(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function vt(t,e,r,n){let s=!1;Object.entries(e).forEach((([e,i])=>{if("string"!=typeof i||s){if(bt(i)){const s=t+"."+e;if(Object.entries(i).some((([t,e])=>bt(e))))r[e]={},vt(s,i,r[e],n);else if(ht[s]&&ht[s].length){const t=ht[s][0]+n;dt[t]&&(r[e]=dt[t])}}}else{if(ht[t]){const e=ht[t][0]+n;dt[e]&&Object.assign(r,dt[e])}s=!0}}))}async function xt(t){if(dt[t])return await dt[t];try{const e=fetch(`https://cdn.jsdelivr.net/npm/adp-web-components@0.0.92/dist/${t}`).then((e=>(e.ok||delete dt[t],e.json())));dt[t]=e;const r=await e;return dt[t]=r,r}catch(e){return delete dt[t],{}}}export{pt as a,B as b,it as c,mt as g,ct as s,at as y}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ import{h as t,p as e,H as a,a as o}from"./index.js";import{c as r}from"./p-BK16Cn81.js";import{V as i}from"./p-B1fdQNyr.js";import{s,a as l}from"./p-C4zpDhOi.js";import{y as n,c,s as d,a as p,g as w}from"./p-CiosiH6q.js";import{A as b,d as g,P as h}from"./p-B2EAhWbD.js";import{E as x}from"./p-Ce4X3l8Z.js";import{d as v}from"./p-COU68JDH.js";import{d as m}from"./p-4O0gfpsm.js";const f={expired:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjAiIC8+CiAgICA8ZyBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI4IiBmaWxsLW9wYWNpdHk9IjAuMjQiIGZpbGw9ImJsYWNrIiBzdHJva2U9ImJsYWNrIiAvPgogICAgICAgIDxwYXRoIGQ9Ik0xNiAxNkw4IDgiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2U9ImJsYWNrIiAvPgogICAgICAgIDxwYXRoIGQ9Ik0xNiA4TDggMTYiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2U9ImJsYWNrIiAvPgogICAgPC9nPgo8L3N2Zz4=",pending:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjAiIC8+CiAgICA8ZyBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI4IiBmaWxsLW9wYWNpdHk9IjAuMjQiIGZpbGw9IiNhMWExYTEiIHN0cm9rZT0iI2ExYTFhMSIgLz4KICAgICAgICA8cmVjdCB4PSI5LjUiIHk9IjgiIHdpZHRoPSIyIiBoZWlnaHQ9IjgiIGZpbGw9IiNhMWExYTEiIC8+CiAgICAgICAgPHJlY3QgeD0iMTIuNSIgeT0iOCIgd2lkdGg9IjIiIGhlaWdodD0iOCIgZmlsbD0iI2ExYTFhMSIgLz4KICAgIDwvZz4KPC9zdmc+",processed:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjAiIC8+CiAgICA8ZyBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI4IiBmaWxsLW9wYWNpdHk9IjAuMjQiIGZpbGw9IiMzMDcxYTkiIHN0cm9rZT0iIzMwNzFhOSIgLz4KICAgICAgICA8cGF0aCBkPSJNOC41IDExTDExLjM5MzkgMTMuODkzOUMxMS40NTI1IDEzLjk1MjUgMTEuNTQ3NSAxMy45NTI1IDExLjYwNjEgMTMuODkzOUwxOS41IDYiIHN0cm9rZT0iIzMwNzFhOSIKICAgICAgICAgICAgc3Ryb2tlLXdpZHRoPSIxLjIiIC8+CiAgICA8L2c+Cjwvc3ZnPg==",cancelled:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzBweCIgaGVpZ2h0PSIzMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjAiIC8+CiAgICA8ZyBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI4IiBmaWxsLW9wYWNpdHk9IjAuMjQiIGZpbGw9IiNhODAwMDAiIHN0cm9rZT0iI2E4MDAwMCIgLz4KICAgICAgICA8cGF0aCBkPSJNMTggMThMNiA2IiBzdHJva2Utd2lkdGg9IjEuMiIgc3Ryb2tlPSIjYTgwMDAwIiAvPgogICAgPC9nPgo8L3N2Zz4=",activationRequired:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9InJnYigxNTgsIDE1OCwgMTU4KSIKICAgIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1sb2FkZXIiPgogICAgPHBhdGggZD0iTTEyIDJ2NCIgLz4KICAgIDxwYXRoIGQ9Im0xNi4yIDcuOCAyLjktMi45IiAvPgogICAgPHBhdGggZD0iTTE4IDEyaDQiIC8+CiAgICA8cGF0aCBkPSJtMTYuMiAxNi4yIDIuOSAyLjkiIC8+CiAgICA8cGF0aCBkPSJNMTIgMTh2NCIgLz4KICAgIDxwYXRoIGQ9Im00LjkgMTkuMSAyLjktMi45IiAvPgogICAgPHBhdGggZD0iTTIgMTJoNCIgLz4KICAgIDxwYXRoIGQ9Im00LjkgNC45IDIuOSAyLjkiIC8+Cjwvc3ZnPgo="},y=({item:e,locale:a,addStatusClass:o,setClaimableItemPopover:i})=>{const s=t=>{t.target.classList.remove("load-animation")},l=t=>i(!0,e,null==t?void 0:t.target),n=()=>i(!1);return t("div",{class:r("claimable-item",{[e.status]:o})},t("div",{class:"claimable-item-container"},t("div",{onBlur:n,onClick:l,onMouseEnter:l,onMouseLeave:n,onAnimationEnd:s,class:"claimable-item-header load-animation"},t("img",{src:f[e.status],alt:"status icon"}),t("div",null,a[null==e?void 0:e.status])),t("div",{onAnimationEnd:s,class:"claimable-item-circle load-animation"}),t("div",{onAnimationEnd:s,class:"claimable-item-footer load-animation"},null==e?void 0:e.name)))},u=e=>t("svg",{fill:"none","stroke-width":"2",class:e.class,viewBox:"0 0 32 18",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M17.8 2a2 2 0 0 0-3.6 0L3 16h26L17.8 2Z"})),k=[{label:"serviceType",key:"type",formatter:t=>t.type.charAt(0).toUpperCase()+t.type.slice(1)},{label:"activationDate",key:"activatedAt"},{label:"expireDate",key:"expiresAt"},{label:"claimAt",key:"claimDate"},{label:"claimingCompany",key:"companyName"},{label:"invoiceNumber",key:"invoiceNumber"},{label:"jobNumber",key:"jobNumber"},{label:"packageCode",key:"packageCode"}],I=({locale:e,item:a,targetLocation:o,showPopover:i,claim:s})=>{let l=o.bottom+19;const n=(null==a?void 0:a.claimable)?378:322,c=n+l+10>window.innerHeight;c&&(l=o.top-n-19),o.left<41&&(o.left=41),o.left>window.innerWidth-41&&(o.left=window.innerWidth-41);let d=o.left-200,p=0;const w=o.left-200,g=o.left+200;return w-16<0&&(p+=16-w),g+16>window.innerWidth&&(p-=g+16-window.innerWidth),t("div",{"aria-expanded":i.toString(),dir:e.sharedLocales.direction,style:{top:`${l}px`,left:`${d}px`},class:"claimable-item-popover"},t("div",{class:"popover-relative-container"},t("div",{class:r("popover-arrow-icon",{flipped:c})},t(u,{class:"popover-arrow-icon-svg"}),t("div",{class:"popover-arrow-bottom-line"})),t("div",{style:{transform:`translateX(${p}px)`},class:"popover-body"},k.map((o=>t("div",{class:"popover-info-row"},t("b",null,e[o.label]),t("div",null,a?(null==o?void 0:o.formatter)?o.formatter(a):a[o.key]:"")))),(null==a?void 0:a.claimable)&&t("button",{onClick:()=>s&&s(a),class:"claim-button"},t(b,null),t("span",null,e.claim)))))},C=c({claimForm:n(["uploadSingleDocument","uploadMultipleDocument","serviceType","name","print","expand","documentLimitError","documentRequiredError","activationDate","expireDate","packageCode","scanTheVoucher","qrCode","processing","enterServiceInfo","invoice","jobNumber","claim"])}).concat(n(["serviceType","activationDate","expireDate","claimAt","claimingCompany","invoiceNumber","jobNumber","packageCode","claim","processed","expired","cancelled","pending","warning","activateNow","print","successFulClaimMessage","activationRequired","warrantyAndServicesNotActivated"]));const z=e(class extends a{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.language="en",this.locale=Object.assign({sharedLocales:d.getDefault()},C.getDefault()),this.coreOnly=!1,this.headers={},this.queryString="",this.uploadMultipleDocumentsAtTheForm=!0,this.isError=!1,this.isLoading=!1,this.maximumDocumentFileSizeInMb=30,this.claimEndPoint="api/vehicle/swift-claim",this.activeTab="",this.showPrintBox=!1,this.tabAnimationLoading=!1,this.lastSuccessfulClaimResponse=null,this.showClaimableItemPopover=!1,this.tabs=[],this.popoverTargetLocation={left:0,bottom:0,top:0},this.getServiceItems=()=>{var t,e,a,o,r;return(null===(e=null===(t=this.vehicleLookup)||void 0===t?void 0:t.serviceItems)||void 0===e?void 0:e.length)?(null===(a=this.tabs)||void 0===a?void 0:a.length)?null===(r=this.vehicleLookup)||void 0===r?void 0:r.serviceItems.filter((t=>{var e;return(null===(e=null==t?void 0:t.group)||void 0===e?void 0:e.name)===this.activeTab})):null===(o=this.vehicleLookup)||void 0===o?void 0:o.serviceItems:[]},this.parseGroupData=t=>{var e;if(null===(e=null==t?void 0:t.serviceItems)||void 0===e?void 0:e.length){let e=[];const a=[];t.serviceItems.forEach((({group:t})=>{(null==t?void 0:t.name)&&([...e,...a].find((e=>(null==e?void 0:e.name)===(null==t?void 0:t.name)))||((null==t?void 0:t.isDefault)&&(this.activeTab=null==t?void 0:t.name),"number"==typeof(null==t?void 0:t.tabOrder)?e.push(t):a.push(t)))})),a.length||e.length?(e=e.sort(((t,e)=>t.tabOrder-e.tabOrder)),this.tabs=[...e,...a],this.activeTab||(this.activeTab=this.tabs[0].name)):(this.tabs=[],this.activeTab="")}else this.tabs=[],this.activeTab="";return t},this.updateProgressBar=async t=>{var e,a;if(t||(this.progressBar.style.transitionDuration="0s",this.progressBar.style.opacity="0",this.progressBar.style.width="0%",await new Promise((t=>setTimeout(t,10)))),this.progressBar.style.transitionDuration="1s",this.progressBar.style.opacity="1",!this.vehicleLookup)return;if((null===(e=this.tabs)||void 0===e?void 0:e.length)&&this.tabs.find((t=>t.name===this.activeTab))&&!(null===(a=this.tabs.find((t=>t.name===this.activeTab)))||void 0===a?void 0:a.isSequential))return;const o=this.getServiceItems(),r=o.findIndex((t=>"pending"===t.status));if(-1!==r){const t=this.el.shadowRoot.querySelectorAll(".claimable-item")[r],e=this.el.shadowRoot.querySelector(".progress-lane"),{left:a}=t.getBoundingClientRect(),{width:i,left:s}=e.getBoundingClientRect();this.progressBar.style.width=`${((a-s)/i*100).toFixed(2)}%`,r===o.length-1?this.claimableItemsBox.scrollTo({left:this.claimableItemsBox.scrollWidth,behavior:"smooth"}):function(t,e){const a=t.getBoundingClientRect(),o=e.getBoundingClientRect();(a.left<o.left||a.right>o.right)&&e.scrollTo({left:t.offsetLeft-e.clientWidth/2+t.clientWidth/2,behavior:"smooth"})}(t,this.claimableItemsBox)}else 0!==o.length&&o.filter((t=>"activationRequired"===t.status)).length!==o.length&&(this.progressBar.style.width="100%",this.claimableItemsBox.scrollTo({left:this.claimableItemsBox.scrollWidth,behavior:"smooth"}))},this.onActiveTabChange=({label:t})=>{this.tabAnimationLoading=!0,clearTimeout(this.tabAnimationTimeoutRef),this.tabAnimationTimeoutRef=setTimeout((()=>{this.activeTab=t,setTimeout((()=>{this.tabAnimationLoading=!1,this.updateProgressBar()}),50)}),750)},this.activateClaimItem=()=>{this.activate&&this.activate(this.vehicleLookup)},this.printLastClaimResponse=()=>{this.print?this.print(this.lastSuccessfulClaimResponse):this.lastSuccessfulClaimResponse.PrintURL&&window.open(this.lastSuccessfulClaimResponse.PrintURL,"_blank").focus()},this.updatePopoverLocation=()=>{if(!this.claimableItemPopoverRef)return;const{left:t,bottom:e,width:a,top:o}=this.claimableItemPopoverRef.getBoundingClientRect();this.popoverTargetLocation={left:t+a/2,bottom:e,top:o}},this.setClaimableItemPopover=(t,e,a)=>{t?(this.claimableItemPopoverRef=a,this.updatePopoverLocation(),this.selectedClaimItem=e,this.showClaimableItemPopover=!0):this.showClaimableItemPopover=!1},this.handleClaim=async t=>{var{documents:e}=t,a=function(t,e){var a={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(a[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(a[o[r]]=t[o[r]])}return a}(t,["documents"]);try{const t=new FormData;t.append("payload",JSON.stringify(Object.assign(Object.assign({},a),{vin:this.vehicleLookup.vin,serviceItem:this.claimForm.item,saleInformation:this.vehicleLookup.saleInformation}))),e&&e.length>0&&e.forEach((e=>{t.append("document",e)})),await new Promise(((e,a)=>{const o=new XMLHttpRequest;o.open("POST",this.claimEndPoint),Object.entries(this.headers||{}).forEach((([t,e])=>{o.setRequestHeader(t,e)})),o.upload.onprogress=t=>{t.lengthComputable&&this.claimForm.setFileUploadProgression(Math.round(t.loaded/t.total*100))},o.onload=()=>{if(200===o.status){try{const t=JSON.parse(o.responseText);this.completeClaim(t),e()}catch(t){console.error("Response is not valid JSON",{rawResponse:o.responseText,error:t}),a(new Error("Upload succeeded but response is not valid JSON"))}e()}else try{const t=JSON.parse(o.responseText);alert(t.Message)}catch(t){a(new Error(`Upload failed with status ${o.status}`))}},o.onerror=t=>{console.log(t),a(new Error("Network error"))},o.send(t)}))}catch(t){console.error(t),alert(this.locale.sharedLocales.errors.requestFailedPleaseTryAgainLater)}},this.handleDevClaim=async({documents:t})=>{if(t&&t.length>0){this.claimForm.setFileUploadProgression(0);let t=20;for(let e=0;e<t;e++){const a=Math.round((e+1)/t*100);await new Promise((t=>setTimeout(t,200))),this.claimForm.setFileUploadProgression(a)}}await new Promise((t=>setTimeout(t,1e3))),this.completeClaim({Success:!0,ID:"11223344",PrintURL:"http://localhost/test/print/1122"})}}async componentWillLoad(){await this.changeLanguage(this.language)}async changeLanguage(t){const[e,a]=await Promise.all([p(t),w(t,"vehicleLookup.claimableItems",C)]);this.locale=Object.assign({sharedLocales:e},a)}async setMockData(t){this.mockData=t}async fetchData(t,e={}){await s(this,t,e,{beforeAssignment:async t=>(this.showPrintBox=!1,await this.parseGroupData(t),t)})}async setErrorMessage(t){l(this,t)}onLoadingChange(t){this.loadingStateChange&&this.loadingStateChange(t)}async componentDidLoad(){this.progressBar=this.el.shadowRoot.querySelector(".progress-bar"),this.claimForm=this.el.shadowRoot.querySelector(".vehicle-item-claim-form"),this.claimableItemsBox=this.el.shadowRoot.querySelector(".claimable-items-box"),window.addEventListener("resize",this.updateProgressBar),this.claimableItemsBox&&this.claimableItemsBox.addEventListener("scroll",this.updatePopoverLocation),window.addEventListener("scroll",this.updatePopoverLocation),window.addEventListener("resize",this.updatePopoverLocation)}async disconnectedCallback(){window.removeEventListener("resize",this.updateProgressBar),this.claimableItemsBox&&this.claimableItemsBox.removeEventListener("scroll",this.updatePopoverLocation),window.removeEventListener("scroll",this.updatePopoverLocation),window.removeEventListener("resize",this.updatePopoverLocation)}async onVehicleChange(){setTimeout((()=>{this.updateProgressBar()}),50)}async completeClaim(t){const e=this.getServiceItems(),a=this.selectedClaimItem,o=JSON.parse(JSON.stringify(e)),r=e.indexOf(a),i=o.slice(0,r).filter((t=>"pending"===t.status));o[r].claimable=!1,o[r].status="processed",i.forEach((function(t){t.status="cancelled"}));const s=JSON.parse(JSON.stringify(this.vehicleLookup));s.serviceItems=o,this.vehicleLookup=JSON.parse(JSON.stringify(s)),this.showPrintBox=!0,this.lastSuccessfulClaimResponse=t}async claim(t){var e;const a=this.getServiceItems(),o=JSON.parse(JSON.stringify(a)),r=a.indexOf(t);this.selectedClaimItem=t,o.slice(0,r).filter((t=>"pending"===t.status)),this.claimForm.item=t,this.claimForm.vin=null===(e=this.vehicleLookup)||void 0===e?void 0:e.vin,this.claimForm.handleClaiming=this.isDev?this.handleDevClaim.bind(this):this.handleClaim.bind(this),this.claimForm.open()}render(){var e;const a=this.getServiceItems(),s=!this.isLoading&&this.vehicleLookup&&!a.length,l=this.isLoading||this.isError||!this.tabs.length||!a.length,n=this.tabs.map((t=>t.name)),c=a.filter((t=>"activationRequired"===t.status)).length>0;return t(o,{key:"420836fe97f84d0c85c03c30442d2893fca3f8ba"},t("vehicle-item-claim-form",{key:"a8d947cf4ab32179c86bfb4683920069fc799a68",class:"vehicle-item-claim-form",maximumDocumentFileSizeInMb:this.maximumDocumentFileSizeInMb,uploadMultipleDocuments:this.uploadMultipleDocumentsAtTheForm,locale:Object.assign({sharedLocales:this.locale.sharedLocales},this.locale.claimForm)}),t(I,{key:"191bc792eddd6ab4852d12857a7ca664752b9bcf",locale:this.locale,claim:this.claim.bind(this),item:this.selectedClaimItem,showPopover:this.showClaimableItemPopover,targetLocation:this.popoverTargetLocation}),t(i,{key:"d22f93480af931843c3eca6af382f41947b1de84",isError:this.isError,coreOnly:this.coreOnly,header:null===(e=this.vehicleLookup)||void 0===e?void 0:e.vin,direction:this.locale.sharedLocales.direction,isLoading:this.isLoading||this.tabAnimationLoading,errorMessage:this.locale.sharedLocales.errors[this.errorMessage]||this.locale.sharedLocales.errors.wildCard},t("div",{key:"d37a20ac1c8b391b88fe0d4bc4735cbbcb48331e",dir:"ltr",class:r("relative flex items-center h-[320px] transition-all duration-300",{loading:this.isLoading||this.tabAnimationLoading})},t("div",{key:"b5cd132511def343a95e136826e5e60d7b1887a8",dir:this.locale.sharedLocales.direction,class:"absolute top-0 z-10 w-full pt-[16px]"},t("div",{key:"b37bfd31d0a0971782da446054020331c3ee0800",class:r("duration-300",{"translate-y-[-50%] opacity-0":l})},t("shift-tabs",{key:"5657c8726e556c4e263f8beaf97bc0e03dbb5792",activeTabLabel:this.activeTab,changeActiveTab:this.onActiveTabChange,tabs:n}))),t("div",{key:"b3a916499dd50965e2e1bbb3941bbe3aca446dd3",class:r("absolute w-[calc(100%-60px)] left-[30px] progress-container-style opacity-0",{"opacity-100":this.isLoading||this.tabAnimationLoading})},t("div",{key:"642cb0e00a9639c80ed2260b1e934e2ee2f6dec9",class:"w-full h-full rounded-[4px] overflow-x-hidden absolute left-0 top-0"},t("div",{key:"b5e07aaafe87a5b4e99badb35013140665cfa6bd",class:"absolute opacity-0 bg-[#1a1a1a] w-[150%] h-full"}),t("div",{key:"b40bb1d459c19585913afccf5b2a929f75abf6fd",class:"absolute h-full bg-[linear-gradient(to_bottom,_#428bca_0%,_#3071a9_100%)] lane-inc"}),t("div",{key:"8833ad2dae76e0b4a9df6c14b0040af5ca66ed8d",class:"absolute h-full bg-[linear-gradient(to_bottom,_#428bca_0%,_#3071a9_100%)] lane-dec"}))),t("div",{key:"fbd0c6c826753ad7bc7d63d5349598aa75bbdf39",dir:this.locale.sharedLocales.direction,class:r("absolute w-[90%] z-10 pointer-events-none border opacity-0 translate-y-[-5px] scale-[70%] text-[#8a6d3b] bg-[#fcf8e3] border-[#faebcc] p-[25px] text-[16px] rounded-[6px] flex items-center justify-between left-1/2 -translate-x-1/2 h-10 bottom-[40px] transition duration-500",{"opacity-100 pointer-events-auto translate-y-0 scale-100":!this.isLoading&&this.vehicleLookup&&!this.tabAnimationLoading&&(c||this.showPrintBox)})},t("span",{key:"2af47dd3e74425ebf33e8c4541513a383aa91094",class:"font-semibold"},this.showPrintBox?this.locale.successFulClaimMessage:this.locale.warrantyAndServicesNotActivated),t("button",{key:"4636341286d8e242ca7a8f6c7f79ecf344481af2",class:"claim-button",onClick:this.showPrintBox?this.printLastClaimResponse:this.activateClaimItem},t(this.showPrintBox?h:b,{class:"size-[30px] duration-200"}),t("span",{key:"0ed0f78745db4b036079bd3b6b29989d58e0f2ca"},this.showPrintBox?this.locale.print:this.locale.activateNow))),t("div",{key:"e83d05efabd56909beb7e3e090ddd72ac778b75d",class:"claimable-items-box px-[30px] min-w-full relative overflow-x-scroll h-full overflow-y-hidden"},t("div",{key:"75df6fd87dfbdf36e8a96344f15954d59f40b8ed",class:"flex relative w-fit min-w-full items-center h-full [&_*]:shrink-0 gap-[250px] justify-between"},t("div",{key:"4c5116ce0f5111887c4351631e904051d6d64724",class:r("progress-container-style progress-lane absolute overflow-hidden w-[calc(100%-0px)] translate-y-0 opacity-100",{"opacity-0":this.isLoading||this.tabAnimationLoading||s||!this.vehicleLookup})},t("div",{key:"383a47e72978b4fa81210eb59b4bfd95166c3a7f",part:"progress-bar",class:"progress-bar transition-all w-1/2 h-full bg-[linear-gradient(to_bottom,_#428bca_0%,_#3071a9_100%)]"})),t("div",{key:"1b788c61a3910e659cc19e122d5b708cb1cb2b25",class:"ml-[-125px]"}),a.map(((e,o)=>t(y,{item:e,locale:this.locale,setClaimableItemPopover:this.setClaimableItemPopover,addStatusClass:"pending"!==e.status||a.findIndex((t=>"pending"===t.status))===o}))),t("div",{key:"4d7130b602882354ab73bdac1dd03c51704fd9aa",class:"ml-[-125px]"})),t("div",{key:"e1d3a01cc8caa27d297ca8ad5bbd8bd7f646c146",dir:this.locale.sharedLocales.direction,class:r("absolute top-0 left-0 pointer-events-none size-full box-content flex flex-col justify-center opacity-0 transition duration-500 items-center text-slate-700",{"opacity-100 scale-100":s})},t(x,{key:"57054dfaa04a58b1a2accb0174f5d45265660293",class:"size-[90px]"}),t("div",{key:"1a5d4dc74a5e1aa755f31d68ed3505d8f7e9f2ac",class:"text-[22px]"},this.locale.sharedLocales.errors.noServiceAvailable))))))}get el(){return this}static get watchers(){return{language:["changeLanguage"],isLoading:["onLoadingChange"],vehicleLookup:["onVehicleChange"]}}static get style(){return'*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}/*! 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}.\\!pointer-events-auto{pointer-events:auto!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.\\!relative{position:relative!important}.relative{position:relative}.bottom-\\[12px\\]{bottom:12px}.bottom-\\[calc\\(100\\%-12px\\)\\]{bottom:calc(100% - 12px)}.bottom-full{bottom:100%}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[4\\.5px\\]{left:4.5px}.top-0{top:0}.top-\\[27\\.75px\\]{top:27.75px}.top-full{top:100%}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mb-\\[16px\\]{margin-bottom:16px}.mt-\\[16px\\]{margin-top:16px}.mt-\\[1px\\]{margin-top:1px}.mt-\\[8px\\]{margin-top:8px}.block{display:block}.flex{display:flex}.hidden{display:none}.size-0{height:0;width:0}.size-\\[30px\\]{height:30px;width:30px}.size-\\[40px\\]{height:40px;width:40px}.h-0{height:0}.h-\\[1\\.5px\\]{height:1.5px}.h-\\[10px\\]{height:10px}.h-\\[35px\\]{height:35px}.w-0{width:0}.w-\\[220px\\]{width:220px}.w-\\[30px\\]{width:30px}.w-\\[400px\\]{width:400px}.w-\\[80\\%\\]{width:80%}.w-fit{width:fit-content}.origin-left{transform-origin:left}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{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))}.-translate-y-1\\/2{--tw-translate-y:-50%}.translate-y-\\[-5px\\]{--tw-translate-y:-5px}.translate-y-\\[-5px\\],.translate-y-\\[10px\\]{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))}.translate-y-\\[10px\\]{--tw-translate-y:10px}.rotate-180{--tw-rotate:180deg}.rotate-180,.scale-\\[150\\%\\]{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))}.scale-\\[150\\%\\]{--tw-scale-x:150%;--tw-scale-y:150%}.scale-\\[70\\%\\]{--tw-scale-x:70%;--tw-scale-y:70%}.scale-\\[70\\%\\],.transform{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))}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[3px\\]{gap:3px}.\\!overflow-hidden{overflow:hidden!important}.\\!rounded-\\[4px\\]{border-radius:4px!important}.rounded-\\[5px\\]{border-radius:5px}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-\\[10px\\]{border-width:10px}.border-\\[5px\\]{border-width:5px}.border-b{border-bottom-width:1px}.border-t-0{border-top-width:0}.border-double{border-style:double}.border-\\[\\#27ae60\\]{--tw-border-opacity:1;border-color:rgb(39 174 96/var(--tw-border-opacity,1))}.border-\\[\\#ddd\\],.border-\\[\\#dddddd\\]{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity,1))}.border-\\[\\#ececec\\]{--tw-border-opacity:1;border-color:rgb(236 236 236/var(--tw-border-opacity,1))}.\\!border-b-\\[\\#dddddd\\]{--tw-border-opacity:1!important;border-bottom-color:rgb(221 221 221/var(--tw-border-opacity,1))!important}.\\!border-b-\\[\\#f9f9f9\\]{--tw-border-opacity:1!important;border-bottom-color:rgb(249 249 249/var(--tw-border-opacity,1))!important}.bg-\\[\\#00a300\\]{--tw-bg-opacity:1;background-color:rgb(0 163 0/var(--tw-bg-opacity,1))}.bg-\\[\\#282828\\]{--tw-bg-opacity:1;background-color:rgb(40 40 40/var(--tw-bg-opacity,1))}.bg-\\[\\#3071a9\\]{--tw-bg-opacity:1;background-color:rgb(48 113 169/var(--tw-bg-opacity,1))}.bg-\\[\\#a1a1a1\\]{--tw-bg-opacity:1;background-color:rgb(161 161 161/var(--tw-bg-opacity,1))}.bg-\\[\\#a80000\\]{--tw-bg-opacity:1;background-color:rgb(168 0 0/var(--tw-bg-opacity,1))}.bg-\\[\\#f2f2f2\\]{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))}.bg-\\[\\#f9f9f9\\]{--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}.bg-slate-400{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.fill-\\[\\#27ae60\\]{fill:#27ae60}.fill-\\[\\#f9f9f9\\]{fill:#f9f9f9}.stroke-\\[\\#27ae60\\]{stroke:#27ae60}.stroke-\\[0\\.5px\\]{stroke-width:.5px}.p-\\[20px\\]{padding:20px}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.py-\\[4px\\]{padding-bottom:4px;padding-top:4px}.pt-\\[2px\\]{padding-top:2px}.text-center{text-align:center}.text-start{text-align:start}.text-\\[16px\\]{font-size:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-\\[\\#00a300\\]{--tw-text-opacity:1;color:rgb(0 163 0/var(--tw-text-opacity,1))}.text-\\[\\#27ae60\\]{--tw-text-opacity:1;color:rgb(39 174 96/var(--tw-text-opacity,1))}.text-\\[\\#282828\\]{--tw-text-opacity:1;color:rgb(40 40 40/var(--tw-text-opacity,1))}.text-\\[\\#3071a9\\]{--tw-text-opacity:1;color:rgb(48 113 169/var(--tw-text-opacity,1))}.text-\\[\\#a80000\\]{--tw-text-opacity:1;color:rgb(168 0 0/var(--tw-text-opacity,1))}.text-\\[\\#ddd\\]{--tw-text-opacity:1;color:rgb(221 221 221/var(--tw-text-opacity,1))}.\\!opacity-100{opacity:1!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.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)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.shift-skeleton{border-radius:4px!important;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-size:300% 300%;border-radius:4px!important;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;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))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.claimable-item{height:0;position:relative;width:0}.claimable-item *{transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.loading .claimable-item{pointer-events:none}.claimable-item-container{--tw-translate-x:-50%;--tw-translate-y:-50%;--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity,1));position:relative;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))}.claimable-item-container,.claimable-item-header{align-items:center;display:flex;justify-content:center}.claimable-item-header{bottom:100%;flex-direction:column;font-size:16px;font-weight:700;margin-bottom:16px;position:absolute}.claimable-item-header>div{text-align:center;width:220px}.claimable-item-header img{height:40px;transition-duration:1s;width:40px}.claimable-item-header:hover img{--tw-rotate:360deg;--tw-scale-x:125%;--tw-scale-y:125%}.claimable-item-header:hover img,.loading .claimable-item-header{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))}.loading .claimable-item-header{--tw-translate-y:-5px;--tw-scale-x:70%;--tw-scale-y:70%;opacity:0}.claimable-item-header.load-animation{animation:item-header-fade-in .5s ease forwards}@keyframes item-header-fade-in{0%{opacity:0;transform:translateY(-5px) scale(70%)}to{opacity:1;transform:translateY(0) scale(100%)}}.claimable-item-circle{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(161 161 161/var(--tw-bg-opacity,1));border-color:rgb(236 236 236/var(--tw-border-opacity,1));border-radius:9999px;border-style:double;border-width:5px;height:30px;width:30px}.loading .claimable-item-circle{--tw-scale-x:150%;--tw-scale-y:150%;opacity: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))}.claimable-item-circle.load-animation{animation:item-circle-fade-in .5s ease forwards}@keyframes item-circle-fade-in{0%{opacity:0;transform:scale(150%)}to{opacity:1;transform:scale(100%)}}.claimable-item-footer{font-size:16px;font-weight:500;margin-top:8px;position:absolute;text-align:center;top:100%;width:220px}.loading .claimable-item-footer{--tw-translate-y:10px;--tw-scale-x:70%;--tw-scale-y:70%;opacity: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))}.claimable-item-footer.load-animation{animation:item-footer-fade-in .5s ease forwards}@keyframes item-footer-fade-in{0%{opacity:0;transform:translateY(10px) scale(70%);visibility:hidden}to{opacity:1;transform:translateY(0) scale(100%);visibility:visible}}.processed .claimable-item-circle{--tw-bg-opacity:1;background-color:rgb(48 113 169/var(--tw-bg-opacity,1))}.processed .claimable-item-header{--tw-text-opacity:1;color:rgb(48 113 169/var(--tw-text-opacity,1))}.expired .claimable-item-circle{--tw-bg-opacity:1;background-color:rgb(40 40 40/var(--tw-bg-opacity,1))}.expired .claimable-item-header{--tw-text-opacity:1;color:rgb(40 40 40/var(--tw-text-opacity,1))}.cancelled .claimable-item-circle{--tw-bg-opacity:1;background-color:rgb(168 0 0/var(--tw-bg-opacity,1))}.cancelled .claimable-item-header{--tw-text-opacity:1;color:rgb(168 0 0/var(--tw-text-opacity,1))}.pending .claimable-item-circle{--tw-bg-opacity:1;background-color:rgb(0 163 0/var(--tw-bg-opacity,1))}.pending .claimable-item-header{--tw-text-opacity:1;color:rgb(0 163 0/var(--tw-text-opacity,1))}.activationRequired .claimable-item-header{color:#9e9e9e}.claimable-item-popover{display:block;opacity:0;pointer-events:none;position:fixed;transition-duration:.5s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);width:fit-content;z-index:50}.claimable-item-popover:hover,.claimable-item-popover[aria-expanded=true]{opacity:1!important;pointer-events:auto!important}.claimable-item-popover:hover *,.claimable-item-popover[aria-expanded=true] *{pointer-events:auto!important}.popover-relative-container{position:relative;width:fit-content}.popover-arrow-1{border-color:transparent;border-bottom-color:rgb(221 221 221/var(--tw-border-opacity,1))!important;border-width:0 10px 10px}.popover-arrow-1,.popover-arrow-2{--tw-border-opacity:1!important;height:0;position:absolute;width:0}.popover-arrow-2{border-color:transparent;border-bottom-color:rgb(249 249 249/var(--tw-border-opacity,1))!important;border-width:0 10px 10px;margin-top:1px}.popover-body{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--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);background-color:rgb(249 249 249/var(--tw-bg-opacity,1));border-color:rgb(221 221 221/var(--tw-border-opacity,1));border-radius:5px;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(40 40 40/var(--tw-text-opacity,1));padding:20px;position:relative;width:400px;z-index:10}.popover-body button{display:flex;justify-content:center;margin:16px auto auto;padding-bottom:4px;padding-top:4px;width:80%}.popover-body button svg{height:30px;pointer-events:none!important;width:30px}.popover-info-row{align-items:center;border-bottom-width:1px;display:flex;font-size:16px;height:35px;padding-top:2px;text-align:start}.popover-info-row *{flex:1 1 0%;flex-shrink:0}.popover-arrow-icon{--tw-translate-x:-50%;bottom:calc(100% - 12px);left:50%;position:absolute;z-index:50}.popover-arrow-icon,.popover-arrow-icon.flipped{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))}.popover-arrow-icon.flipped{--tw-translate-y:100%;--tw-rotate:180deg;bottom:12px}.popover-arrow-icon-svg{fill:#f9f9f9;stroke-width:.5px;--tw-text-opacity:1;color:rgb(221 221 221/var(--tw-text-opacity,1));height:40px;width:40px}.popover-arrow-bottom-line{--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1));height:1.5px;left:4.5px;position:absolute;top:27.75px;width:30px}.claimable-item-popover .claim-button{--tw-border-opacity:1;fill:#27ae60;stroke:#27ae60;--tw-text-opacity:1;align-items:center;background-color:transparent;border-color:rgb(39 174 96/var(--tw-border-opacity,1));border-radius:5px;border-width:1px;color:rgb(39 174 96/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-weight:700;gap:3px;outline:2px solid transparent;outline-offset:2px;padding-left:10px;padding-right:10px;transition-duration:.2s}.claimable-item-popover .claim-button:hover{--tw-bg-opacity:1;fill:#fff;stroke:#fff;--tw-text-opacity:1;background-color:rgb(46 204 113/var(--tw-bg-opacity,1));color:rgb(255 255 255/var(--tw-text-opacity,1))}.claimable-item-popover .claim-button:active{--tw-bg-opacity:1;background-color:rgb(39 174 96/var(--tw-bg-opacity,1))}.claimable-item-popover .claim-button circle{fill:#2ecc71}.claimable-item-popover .claim-button circle:hover{fill:#fff}.claimable-item-popover .claim-button svg:active{--tw-scale-x:125%;--tw-scale-y:125%;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))}.claimable-item-popover .claim-button path{transition:.2s}.claimable-item-popover .claim-button:hover path{fill:#2ecc71}.vehicle-info-container{background-color:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;text-align:center}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{all:initial!important;display:block}*{font-family:Arial}.progress-container-style{--tw-translate-y:-50%;--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity,1));border-color:rgb(221 221 221/var(--tw-border-opacity,1));border-radius:9999px;border-width:1px;height:10px;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));transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.loading .lane-inc{animation:lane-increase 2.5s ease infinite}.loading .lane-dec{animation:lane-decrease 2.5s ease 1s infinite}@keyframes lane-increase{0%{left:-5%;width:5%}to{left:130%;width:100%}}@keyframes lane-decrease{0%{left:-80%;width:80%}to{left:110%;width:10%}}.claim-button{--tw-border-opacity:1;fill:#27ae60;stroke:#27ae60;--tw-text-opacity:1;align-items:center;background-color:transparent;border-color:rgb(39 174 96/var(--tw-border-opacity,1));border-radius:5px;border-width:1px;color:rgb(39 174 96/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-weight:700;gap:3px;outline:2px solid transparent;outline-offset:2px;padding-left:10px;padding-right:10px;transition-duration:.2s}.claim-button:hover{--tw-bg-opacity:1;fill:#fff;stroke:#fff;--tw-text-opacity:1;background-color:rgb(46 204 113/var(--tw-bg-opacity,1));color:rgb(255 255 255/var(--tw-text-opacity,1))}.claim-button:active{--tw-bg-opacity:1;background-color:rgb(39 174 96/var(--tw-bg-opacity,1))}.claim-button circle{fill:#2ecc71}.claim-button circle:hover{fill:#fff}.claim-button svg:active{--tw-scale-x:125%;--tw-scale-y:125%;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))}.claim-button path{transition:.2s}.claim-button:hover path{fill:#2ecc71}.hover\\:bg-\\[\\#2ecc71\\]:hover{--tw-bg-opacity:1;background-color:rgb(46 204 113/var(--tw-bg-opacity,1))}.hover\\:fill-white:hover{fill:#fff}.hover\\:stroke-white:hover{stroke:#fff}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.active\\:bg-\\[\\#27ae60\\]:active{--tw-bg-opacity:1;background-color:rgb(39 174 96/var(--tw-bg-opacity,1))}.\\[\\&\\>div\\]\\:w-\\[220px\\]>div{width:220px}.\\[\\&_\\*\\]\\:flex-1 *{flex:1 1 0%}.\\[\\&_\\*\\]\\:shrink-0 *{flex-shrink:0}.\\[\\&_\\*\\]\\:transition *{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&_circle\\]\\:fill-\\[\\#2ecc71\\] circle{fill:#2ecc71}.hover\\:\\[\\&_circle\\]\\:fill-white circle:hover{fill:#fff}.\\[\\&_img\\]\\:size-\\[40px\\] img{height:40px;width:40px}.\\[\\&_img\\]\\:rotate-\\[360deg\\] img{--tw-rotate:360deg}.\\[\\&_img\\]\\:rotate-\\[360deg\\] img,.\\[\\&_img\\]\\:scale-\\[125\\%\\] img{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))}.\\[\\&_img\\]\\:scale-\\[125\\%\\] img{--tw-scale-x:125%;--tw-scale-y:125%}.\\[\\&_img\\]\\:duration-1000 img{transition-duration:1s}.\\[\\&_svg\\]\\:size-\\[30px\\] svg{height:30px;width:30px}.active\\:\\[\\&_svg\\]\\:scale-\\[125\\%\\] svg:active{--tw-scale-x:125%;--tw-scale-y:125%;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))}.static{position:static}.h-\\[200px\\]{height:200px}.w-full{width:100%}.text-\\[26px\\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.pointer-events-none{pointer-events:none}.mx-auto{margin-left:auto;margin-right:auto}.size-full{height:100%;width:100%}.h-\\[150px\\]{height:150px}.w-\\[84px\\]{width:84px}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.flex-wrap{flex-wrap:wrap}.gap-\\[16px\\]{gap:16px}.gap-\\[4px\\]{gap:4px}.gap-\\[8px\\]{gap:8px}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.bg-black\\/40{background-color:rgba(0,0,0,.4)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.p-\\[12px\\]{padding:12px}.p-\\[6px\\]{padding:6px}.px-\\[24px\\]{padding-left:24px;padding-right:24px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.duration-300{transition-duration:.3s}.hover\\:opacity-100:hover{opacity:1}.\\[\\&_div\\]\\:hover\\:\\!opacity-100:hover div{opacity:1!important}.\\[\\&_img\\]\\:hover\\:shadow-lg:hover img{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.my-2{margin-bottom:.5rem;margin-top:.5rem}.grow{flex-grow:1}.items-stretch{align-items:stretch}.overflow-auto{overflow:auto}.p-\\[16px\\]{padding:16px}@media (min-width:768px){.md\\:justify-between{justify-content:space-between}}.\\[\\&\\>div\\]\\:grow>div{flex-grow:1}.mt-\\[32px\\]{margin-top:32px}.h-\\[25px\\]{height:25px}.h-\\[50px\\]{height:50px}.h-\\[8px\\]{height:8px}.bg-\\[\\#f6f6f6\\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.pt-\\[16px\\]{padding-top:16px}.pt-\\[40px\\]{padding-top:40px}.text-\\[18px\\]{font-size:18px}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.pointer-events-auto{pointer-events:auto}.bottom-\\[40px\\]{bottom:40px}.left-\\[30px\\]{left:30px}.ml-\\[-125px\\]{margin-left:-125px}.box-content{box-sizing:content-box}.size-\\[90px\\]{height:90px;width:90px}.h-10{height:2.5rem}.h-\\[320px\\]{height:320px}.h-full{height:100%}.w-1\\/2{width:50%}.w-\\[150\\%\\]{width:150%}.w-\\[90\\%\\]{width:90%}.w-\\[calc\\(100\\%-0px\\)\\]{width:100%}.w-\\[calc\\(100\\%-60px\\)\\]{width:calc(100% - 60px)}.min-w-full{min-width:100%}.-translate-x-1\\/2,.translate-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))}.translate-y-0{--tw-translate-y:0px}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%}.translate-y-\\[-50\\%\\],.translate-y-\\[-5px\\]{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))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-\\[70\\%\\]{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))}.resize{resize:both}.justify-between{justify-content:space-between}.gap-\\[250px\\]{gap:250px}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[6px\\]{border-radius:6px}.border-\\[\\#faebcc\\]{--tw-border-opacity:1;border-color:rgb(250 235 204/var(--tw-border-opacity,1))}.bg-\\[\\#1a1a1a\\]{--tw-bg-opacity:1;background-color:rgb(26 26 26/var(--tw-bg-opacity,1))}.bg-\\[\\#fcf8e3\\]{--tw-bg-opacity:1;background-color:rgb(252 248 227/var(--tw-bg-opacity,1))}.bg-\\[linear-gradient\\(to_bottom\\2c _\\#428bca_0\\%\\2c _\\#3071a9_100\\%\\)\\]{background-image:linear-gradient(180deg,#428bca,#3071a9)}.p-\\[25px\\]{padding:25px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.text-\\[22px\\]{font-size:22px}.text-\\[\\#8a6d3b\\]{--tw-text-opacity:1;color:rgb(138 109 59/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.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)}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.-left-full{left:-100%}.end-\\[16px\\]{inset-inline-end:16px}.left-full{left:100%}.right-\\[50px\\]{right:50px}.z-20{z-index:20}.z-\\[999\\]{z-index:999}.my-auto{margin-bottom:auto;margin-top:auto}.mt-\\[20px\\]{margin-top:20px}.mt-\\[50px\\]{margin-top:50px}.box-border{box-sizing:border-box}.size-\\[100px\\]{height:100px;width:100px}.size-\\[18px\\]{height:18px;width:18px}.size-\\[20px\\]{height:20px;width:20px}.size-\\[24px\\]{height:24px;width:24px}.size-\\[25px\\]{height:25px;width:25px}.size-\\[32px\\]{height:32px;width:32px}.size-\\[35px\\]{height:35px;width:35px}.h-\\[100dvh\\]{height:100dvh}.h-\\[140px\\]{height:140px}.h-\\[16px\\]{height:16px}.h-\\[30px\\]{height:30px}.h-\\[32px\\]{height:32px}.h-\\[36px\\]{height:36px}.h-\\[40px\\]{height:40px}.h-auto{height:auto}.h-fit{height:fit-content}.max-h-\\[200px\\]{max-height:200px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.w-auto{width:auto}.min-w-\\[100dvw\\]{min-width:100dvw}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[250px\\]{max-width:250px}.max-w-\\[400px\\]{max-width:400px}.flex-1{flex:1 1 0%}.-translate-y-\\[32px\\]{--tw-translate-y:-32px}.-translate-y-\\[32px\\],.translate-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))}.translate-y-\\[32px\\]{--tw-translate-y:32px}.rotate-\\[45deg\\],.translate-y-\\[32px\\]{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))}.rotate-\\[45deg\\]{--tw-rotate:45deg}.scale-100,.scale-\\[110\\%\\]{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))}.scale-\\[110\\%\\]{--tw-scale-x:110%;--tw-scale-y:110%}.cursor-default{cursor:default}.select-none{user-select:none}.gap-\\[10px\\]{gap:10px}.gap-\\[12px\\]{gap:12px}.gap-\\[20px\\]{gap:20px}.gap-\\[32px\\]{gap:32px}.gap-\\[75px\\]{gap:75px}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\\[8px\\]{border-radius:8px}.border-\\[2px\\]{border-width:2px}.border-\\[\\#3071a9\\]{--tw-border-opacity:1;border-color:rgb(48 113 169/var(--tw-border-opacity,1))}.border-\\[\\#dcdcdc\\]{--tw-border-opacity:1;border-color:rgb(220 220 220/var(--tw-border-opacity,1))}.border-\\[\\#ddd\\]{--tw-border-opacity:1;border-color:rgb(221 221 221/var(--tw-border-opacity,1))}.border-\\[\\#f4f4f4\\]{--tw-border-opacity:1;border-color:rgb(244 244 244/var(--tw-border-opacity,1))}.border-\\[\\#ff9100\\]{--tw-border-opacity:1;border-color:rgb(255 145 0/var(--tw-border-opacity,1))}.border-\\[\\#ffb74d\\]{--tw-border-opacity:1;border-color:rgb(255 183 77/var(--tw-border-opacity,1))}.border-\\[\\#ffd28f\\]{--tw-border-opacity:1;border-color:rgb(255 210 143/var(--tw-border-opacity,1))}.bg-\\[\\#275e8f\\]{--tw-bg-opacity:1;background-color:rgb(39 94 143/var(--tw-bg-opacity,1))}.bg-\\[\\#32b267\\]{--tw-bg-opacity:1;background-color:rgb(50 178 103/var(--tw-bg-opacity,1))}.bg-\\[\\#d5d5d5\\]{--tw-bg-opacity:1;background-color:rgb(213 213 213/var(--tw-bg-opacity,1))}.bg-\\[\\#f4f4f4\\]{--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity,1))}.bg-\\[\\#ff91001a\\]{background-color:#ff91001a}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.fill-\\[\\#3071a9\\]{fill:#3071a9}.stroke-white{stroke:#fff}.stroke-\\[1\\.5px\\]{stroke-width:1.5px}.p-\\[22px\\]{padding:22px}.p-\\[50px\\]{padding:50px}.p-\\[7px\\]{padding:7px}.px-\\[22px\\]{padding-left:22px;padding-right:22px}.px-\\[8px\\]{padding-left:8px;padding-right:8px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.ps-\\[16px\\]{padding-inline-start:16px}.ps-\\[4px\\]{padding-inline-start:4px}.ps-\\[8px\\]{padding-inline-start:8px}.pt-\\[8px\\]{padding-top:8px}.text-\\[14px\\]{font-size:14px}.text-\\[\\#424242\\]{--tw-text-opacity:1;color:rgb(66 66 66/var(--tw-text-opacity,1))}.text-\\[\\#663c00\\]{--tw-text-opacity:1;color:rgb(102 60 0/var(--tw-text-opacity,1))}.text-\\[\\#ff9100\\]{--tw-text-opacity:1;color:rgb(255 145 0/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity,1))}.text-transparent{color:transparent}.opacity-50{opacity:.5}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.transition-\\[width\\]{transition-duration:.15s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-700{transition-duration:.7s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:bg-\\[\\#3071a9\\]:hover{--tw-bg-opacity:1;background-color:rgb(48 113 169/var(--tw-bg-opacity,1))}.hover\\:bg-\\[\\#fff8e1\\]:hover{--tw-bg-opacity:1;background-color:rgb(255 248 225/var(--tw-bg-opacity,1))}.hover\\:bg-red-600:hover{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity,1))}.focus\\:-translate-y-\\[8px\\]:focus{--tw-translate-y:-8px}.focus\\:-translate-y-\\[8px\\]:focus,.focus\\:scale-110:focus{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))}.focus\\:scale-110:focus{--tw-scale-x:1.1;--tw-scale-y:1.1}.focus\\:border-\\[\\#3071a9\\]:focus{--tw-border-opacity:1;border-color:rgb(48 113 169/var(--tw-border-opacity,1))}.active\\:bg-\\[\\#223f57\\]:active{--tw-bg-opacity:1;background-color:rgb(34 63 87/var(--tw-bg-opacity,1))}.enabled\\:shadow:enabled{--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)}.enabled\\:hover\\:rotate-\\[135deg\\]:hover:enabled{--tw-rotate:135deg}.enabled\\:hover\\:rotate-\\[135deg\\]:hover:enabled,.enabled\\:hover\\:scale-110:hover:enabled{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))}.enabled\\:hover\\:scale-110:hover:enabled{--tw-scale-x:1.1;--tw-scale-y:1.1}.enabled\\:hover\\:scale-\\[150\\%\\]:hover:enabled{--tw-scale-x:150%;--tw-scale-y:150%;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))}.enabled\\:hover\\:border-\\[\\#27ae5fc1\\]:hover:enabled{border-color:#27ae5fc1}.enabled\\:hover\\:bg-\\[\\#32b267c7\\]:hover:enabled{background-color:#32b267c7}.enabled\\:hover\\:bg-red-200:hover:enabled{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity,1))}.enabled\\:hover\\:text-red-400:hover:enabled{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.disabled\\:opacity-50:disabled{opacity:.5}.peer:checked~.peer-checked\\:border-\\[\\#ff9100\\]{--tw-border-opacity:1;border-color:rgb(255 145 0/var(--tw-border-opacity,1))}.peer:checked~.peer-checked\\:bg-\\[\\#ff9100\\]{--tw-bg-opacity:1;background-color:rgb(255 145 0/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:768px){.md\\:flex-row{flex-direction:row}}.\\[\\&_circle\\]\\:fill-white circle{fill:#fff}.\\[\\&_div\\]\\:min-w-\\[200px\\] div{min-width:200px}.transform{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))}'}},[1,"vehicle-claimable-items",{language:[1],coreOnly:[4,"core-only"],isDev:[4,"is-dev"],baseUrl:[1,"base-url"],headers:[16],queryString:[1,"query-string"],uploadMultipleDocumentsAtTheForm:[4,"upload-multiple-documents-at-the-form"],errorCallback:[16,"error-callback"],loadingStateChange:[16,"loading-state-change"],loadedResponse:[16,"loaded-response"],print:[16],maximumDocumentFileSizeInMb:[2,"maximum-document-file-size-in-mb"],claimEndPoint:[1,"claim-end-point"],activate:[16],locale:[32],isError:[32],errorMessage:[32],isLoading:[32],vehicleLookup:[32],activeTab:[32],showPrintBox:[32],tabAnimationLoading:[32],lastSuccessfulClaimResponse:[32],showClaimableItemPopover:[32],selectedClaimItem:[32],tabs:[32],popoverTargetLocation:[32],setMockData:[64],fetchData:[64],setErrorMessage:[64],completeClaim:[64],claim:[64]},void 0,{language:["changeLanguage"],isLoading:["onLoadingChange"],vehicleLookup:["onVehicleChange"]}]);function A(){"undefined"!=typeof customElements&&["vehicle-claimable-items","flexible-container","shift-tabs","vehicle-item-claim-form"].forEach((t=>{switch(t){case"vehicle-claimable-items":customElements.get(t)||customElements.define(t,z);break;case"flexible-container":customElements.get(t)||v();break;case"shift-tabs":customElements.get(t)||m();break;case"vehicle-item-claim-form":customElements.get(t)||g()}}))}A();export{z as V,C as c,A as d}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{p as t,H as a,h as e}from"./index.js";import{c as r}from"./p-BK16Cn81.js";import{g as o}from"./p-JtBlsz4j.js";import{g as i}from"./p-Cl9ct-bZ.js";const n=t(class extends a{constructor(){super(),this.__registerHost(),this.params={},this.language="en",this.generalLocale=i.getDefault()}async componentWillLoad(){await this.changeLanguage(this.language)}async changeLanguage(t){this.generalLocale=await o(t,"general",i)}render(){var t,a;return e("button",Object.assign({key:"c94f7e2115cde49626240fb41cd5ffc2f59dc140",type:"submit"},this.params,{disabled:this.isLoading,id:this.structureElement.id,class:r("h-[38px] relative overflow-hidden px-4 enabled:hover:bg-slate-600 transition-colors duration-300 bg-slate-700 enabled:active:bg-slate-800 rounded text-white flex items-center",this.structureElement.class,{"bg-slate-600":this.isLoading})}),e("div",{key:"9ee9ff6643a14d33704c3702ae83a94e5ba8d0ea",class:"opacity-0"},this.generalLocale[null===(t=this.structureElement.class)||void 0===t?void 0:t.toLowerCase()]||this.structureElement.class),e("div",{key:"e8babfc5e31a4603c0e77dd65f0b23337a2868c6",class:r("absolute size-full top-0 left-0 flex items-center justify-center transition !duration-1000",{"translate-y-full":this.isLoading})},this.generalLocale[null===(a=this.structureElement.class)||void 0===a?void 0:a.toLowerCase()]||this.structureElement.class),e("div",{key:"fad2038a43045dacb8af9b0e4c46311d48edd73e",class:r("absolute flex justify-center items-center top-0 left-0 size-full transition !duration-1000 -translate-y-full",{"translate-y-0":this.isLoading})},e("img",{key:"90ae6be2efe5c6bb3748f30e0db13cba36a4ad2f",class:"spin-slow size-[22px]",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIgogICAgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxvYWRlciI+CiAgICA8cGF0aCBkPSJNMTIgMnY0IiAvPgogICAgPHBhdGggZD0ibTE2LjIgNy44IDIuOS0yLjkiIC8+CiAgICA8cGF0aCBkPSJNMTggMTJoNCIgLz4KICAgIDxwYXRoIGQ9Im0xNi4yIDE2LjIgMi45IDIuOSIgLz4KICAgIDxwYXRoIGQ9Ik0xMiAxOHY0IiAvPgogICAgPHBhdGggZD0ibTQuOSAxOS4xIDIuOS0yLjkiIC8+CiAgICA8cGF0aCBkPSJNMiAxMmg0IiAvPgogICAgPHBhdGggZD0ibTQuOSA0LjkgMi45IDIuOSIgLz4KPC9zdmc+"})))}static get watchers(){return{language:["changeLanguage"]}}static get style(){return'*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}/*! 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}.transform{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))}:host{all:initial!important;display:block}*{font-family:Arial}@keyframes spin{to{transform:rotate(1turn)}}.spin-slow{animation:spin 2s linear infinite}.static{position:static}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[9999999999\\]{z-index:9999999999}.flex{display:flex}.h-\\[100dvh\\]{height:100dvh}.h-\\[32px\\]{height:32px}.w-\\[100dvw\\]{width:100dvw}.min-w-\\[322px\\]{min-width:322px}.max-w-\\[80dvw\\]{max-width:80dvw}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-50{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))}.scale-50{--tw-scale-x:.5;--tw-scale-y:.5}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.gap-\\[16px\\]{gap:16px}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.bg-black\\/50{background-color:rgba(0,0,0,.5)}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\\[20px\\]{padding:20px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.text-justify{text-align:justify}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-40{opacity:.4}.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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:bg-red-400:hover{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity,1))}.hover\\:opacity-100:hover{opacity:1}.active\\:bg-red-700:active{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.absolute{position:absolute}.bottom-0{bottom:0}.-z-10{z-index:-10}.mb-\\[4px\\]{margin-bottom:4px}.ms-0\\.5{margin-inline-start:.125rem}.inline-flex{display:inline-flex}.h-\\[38px\\]{height:38px}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-y-\\[4px\\]{--tw-translate-y:-4px}.-translate-y-\\[4px\\],.translate-y-full{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))}.translate-y-full{--tw-translate-y:100%}.appearance-none{appearance:none}.rounded-md{border-radius:.375rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity,1))!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.pt-\\[1px\\]{padding-top:1px}.text-\\[12px\\]{font-size:12px}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-75{opacity:.75}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:border-slate-600:focus{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(239\\2c 68\\2c 68\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(239,68,68,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:bg-white:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button,.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{appearance:none}.z-\\[10\\]{z-index:10}.-mt-\\[8px\\]{margin-top:-8px}.mt-\\[8px\\]{margin-top:8px}.size-5{height:1.25rem;width:1.25rem}.size-6{height:1.5rem;width:1.5rem}.size-\\[22px\\]{height:22px;width:22px}.h-\\[100px\\]{height:100px}.max-h-\\[250px\\]{max-height:250px}.-translate-y-\\[4px\\],.-translate-y-full{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))}.-translate-y-full{--tw-translate-y:-100%}.translate-y-\\[38px\\]{--tw-translate-y:38px}.rotate-180,.translate-y-\\[38px\\],.translate-y-full{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))}.rotate-180{--tw-rotate:180deg}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-\\[\\#9CA3AF\\]{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.enabled\\:border-slate-600:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.enabled\\:focus\\:border-slate-600:focus:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:opacity-75:disabled{opacity:.75}.hidden{display:none}.size-\\[70px\\]{height:70px;width:70px}.size-full{height:100%;width:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.translate-x-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))}.translate-x-0{--tw-translate-x:0px}.translate-x-full{--tw-translate-x:100%;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))}.stroke-green-700{stroke:#15803d}.text-\\[20px\\]{font-size:20px}.duration-1000{transition-duration:1s}.mx-auto{margin-left:auto;margin-right:auto}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.rounded-\\[8px\\]{border-radius:8px}.border-\\[\\#f2aeb5\\]{--tw-border-opacity:1;border-color:rgb(242 174 181/var(--tw-border-opacity,1))}.bg-\\[\\#f7d7d8\\]{--tw-bg-opacity:1;background-color:rgb(247 215 216/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-\\[\\#58151c\\]{--tw-text-opacity:1;color:rgb(88 21 28/var(--tw-text-opacity,1))}.-translate-y-full,.translate-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))}.translate-y-0{--tw-translate-y:0px}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.\\!duration-1000{transition-duration:1s!important}.enabled\\:hover\\:bg-slate-600:hover:enabled{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.enabled\\:active\\:bg-slate-800:active:enabled{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.-mt-\\[4px\\]{margin-top:-4px}.h-\\[200px\\]{height:200px}.-translate-y-\\[10px\\]{--tw-translate-y:-10px}.-translate-y-\\[10px\\],.translate-y-\\[calc\\(100\\%-5px\\)\\]{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))}.translate-y-\\[calc\\(100\\%-5px\\)\\]{--tw-translate-y:calc(100% - 5px)}.resize-none{resize:none}'}},[0,"form-submit",{isLoading:[4,"is-loading"],params:[16],language:[1],structureElement:[16,"structure-element"],generalLocale:[32]},void 0,{language:["changeLanguage"]}]);function s(){"undefined"!=typeof customElements&&["form-submit"].forEach((t=>{"form-submit"===t&&(customElements.get(t)||customElements.define(t,n))}))}s();export{n as F,s as d}
5
+ import{p as t,H as a,h as e}from"./index.js";import{c as r}from"./p-BK16Cn81.js";import{g as o}from"./p-CiosiH6q.js";import{g as i}from"./p-9BQXTBdQ.js";const n=t(class extends a{constructor(){super(),this.__registerHost(),this.params={},this.language="en",this.generalLocale=i.getDefault()}async componentWillLoad(){await this.changeLanguage(this.language)}async changeLanguage(t){this.generalLocale=await o(t,"general",i)}render(){var t,a;return e("button",Object.assign({key:"965577fe800f9aa3a1e3c7b784609ddeb1553b08",type:"submit"},this.params,{disabled:this.isLoading,id:this.structureElement.id,class:r("h-[38px] relative overflow-hidden px-4 enabled:hover:bg-slate-600 transition-colors duration-300 bg-slate-700 enabled:active:bg-slate-800 rounded text-white flex items-center",this.structureElement.class,{"bg-slate-600":this.isLoading})}),e("div",{key:"d381e6820070d4eec74e1a0c756907d1fefcd391",class:"opacity-0"},this.generalLocale[null===(t=this.structureElement.class)||void 0===t?void 0:t.toLowerCase()]||this.structureElement.class),e("div",{key:"5414110e972725bcc4de42f729e5421690d36142",class:r("absolute size-full top-0 left-0 flex items-center justify-center transition !duration-1000",{"translate-y-full":this.isLoading})},this.generalLocale[null===(a=this.structureElement.class)||void 0===a?void 0:a.toLowerCase()]||this.structureElement.class),e("div",{key:"a55712d90bae88d4c46a441e84b3c0dc39d86742",class:r("absolute flex justify-center items-center top-0 left-0 size-full transition !duration-1000 -translate-y-full",{"translate-y-0":this.isLoading})},e("img",{key:"c74c8bcf121755f5228fa678a630814d2fc0b973",class:"spin-slow size-[22px]",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIgogICAgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxvYWRlciI+CiAgICA8cGF0aCBkPSJNMTIgMnY0IiAvPgogICAgPHBhdGggZD0ibTE2LjIgNy44IDIuOS0yLjkiIC8+CiAgICA8cGF0aCBkPSJNMTggMTJoNCIgLz4KICAgIDxwYXRoIGQ9Im0xNi4yIDE2LjIgMi45IDIuOSIgLz4KICAgIDxwYXRoIGQ9Ik0xMiAxOHY0IiAvPgogICAgPHBhdGggZD0ibTQuOSAxOS4xIDIuOS0yLjkiIC8+CiAgICA8cGF0aCBkPSJNMiAxMmg0IiAvPgogICAgPHBhdGggZD0ibTQuOSA0LjkgMi45IDIuOSIgLz4KPC9zdmc+"})))}static get watchers(){return{language:["changeLanguage"]}}static get style(){return'*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}/*! 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}.transform{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))}:host{all:initial!important;display:block}*{font-family:Arial}@keyframes spin{to{transform:rotate(1turn)}}.spin-slow{animation:spin 2s linear infinite}.static{position:static}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[9999999999\\]{z-index:9999999999}.flex{display:flex}.h-\\[100dvh\\]{height:100dvh}.h-\\[32px\\]{height:32px}.w-\\[100dvw\\]{width:100dvw}.min-w-\\[322px\\]{min-width:322px}.max-w-\\[80dvw\\]{max-width:80dvw}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-50{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))}.scale-50{--tw-scale-x:.5;--tw-scale-y:.5}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.gap-\\[16px\\]{gap:16px}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.bg-black\\/50{background-color:rgba(0,0,0,.5)}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\\[20px\\]{padding:20px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.text-justify{text-align:justify}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-40{opacity:.4}.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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:bg-red-400:hover{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity,1))}.hover\\:opacity-100:hover{opacity:1}.active\\:bg-red-700:active{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.absolute{position:absolute}.bottom-0{bottom:0}.-z-10{z-index:-10}.mb-\\[4px\\]{margin-bottom:4px}.ms-0\\.5{margin-inline-start:.125rem}.inline-flex{display:inline-flex}.h-\\[38px\\]{height:38px}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-y-\\[4px\\]{--tw-translate-y:-4px}.-translate-y-\\[4px\\],.translate-y-full{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))}.translate-y-full{--tw-translate-y:100%}.appearance-none{appearance:none}.rounded-md{border-radius:.375rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity,1))!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.pt-\\[1px\\]{padding-top:1px}.text-\\[12px\\]{font-size:12px}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-75{opacity:.75}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:border-slate-600:focus{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(239\\2c 68\\2c 68\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(239,68,68,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:bg-white:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button,.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{appearance:none}.z-\\[10\\]{z-index:10}.-mt-\\[8px\\]{margin-top:-8px}.mt-\\[8px\\]{margin-top:8px}.size-5{height:1.25rem;width:1.25rem}.size-6{height:1.5rem;width:1.5rem}.size-\\[22px\\]{height:22px;width:22px}.h-\\[100px\\]{height:100px}.max-h-\\[250px\\]{max-height:250px}.-translate-y-\\[4px\\],.-translate-y-full{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))}.-translate-y-full{--tw-translate-y:-100%}.translate-y-\\[38px\\]{--tw-translate-y:38px}.rotate-180,.translate-y-\\[38px\\],.translate-y-full{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))}.rotate-180{--tw-rotate:180deg}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-\\[\\#9CA3AF\\]{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.enabled\\:border-slate-600:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.enabled\\:focus\\:border-slate-600:focus:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:opacity-75:disabled{opacity:.75}.hidden{display:none}.size-\\[70px\\]{height:70px;width:70px}.size-full{height:100%;width:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.translate-x-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))}.translate-x-0{--tw-translate-x:0px}.translate-x-full{--tw-translate-x:100%;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))}.stroke-green-700{stroke:#15803d}.text-\\[20px\\]{font-size:20px}.duration-1000{transition-duration:1s}.mx-auto{margin-left:auto;margin-right:auto}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.rounded-\\[8px\\]{border-radius:8px}.border-\\[\\#f2aeb5\\]{--tw-border-opacity:1;border-color:rgb(242 174 181/var(--tw-border-opacity,1))}.bg-\\[\\#f7d7d8\\]{--tw-bg-opacity:1;background-color:rgb(247 215 216/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-\\[\\#58151c\\]{--tw-text-opacity:1;color:rgb(88 21 28/var(--tw-text-opacity,1))}.-translate-y-full,.translate-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))}.translate-y-0{--tw-translate-y:0px}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.\\!duration-1000{transition-duration:1s!important}.enabled\\:hover\\:bg-slate-600:hover:enabled{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.enabled\\:active\\:bg-slate-800:active:enabled{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.-mt-\\[4px\\]{margin-top:-4px}.h-\\[200px\\]{height:200px}.-translate-y-\\[10px\\]{--tw-translate-y:-10px}.-translate-y-\\[10px\\],.translate-y-\\[calc\\(100\\%-5px\\)\\]{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))}.translate-y-\\[calc\\(100\\%-5px\\)\\]{--tw-translate-y:calc(100% - 5px)}.resize-none{resize:none}'}},[0,"form-submit",{isLoading:[4,"is-loading"],params:[16],language:[1],structureElement:[16,"structure-element"],generalLocale:[32]},void 0,{language:["changeLanguage"]}]);function s(){"undefined"!=typeof customElements&&["form-submit"].forEach((t=>{"form-submit"===t&&(customElements.get(t)||customElements.define(t,n))}))}s();export{n as F,s as d}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{p as t,H as e,h as a,a as r}from"./index.js";import{c as o}from"./p-BK16Cn81.js";import{s as i,g as s,a as n}from"./p-JtBlsz4j.js";import{f as l,a as c}from"./p-BaJpYztb.js";const d=t(class extends e{constructor(){super(),this.__registerHost(),this.language="en",this.sharedLocales=i.getDefault(),this.locale=l.getDefault()}async componentWillLoad(){this.form.subscribe(this.inputParams.name,this),await this.changeLanguage(this.language)}async componentDidLoad(){this.inputRef=this.el.getElementsByClassName("form-input-"+this.inputParams.name)[0]}async disconnectedCallback(){this.form.unsubscribe(this.inputParams.name)}async changeLanguage(t){const e=l.fields[this.formLocaleName],a=await Promise.all([s(t,"forms*",c),n(t),s(t,"forms."+this.formLocaleName,e)]);Object.assign(this.locale,a[0]),Object.assign(this.locale[this.formLocaleName],a[2]),this.sharedLocales=a[1]}reset(t){var e;const a=t||(null===(e=this.inputParams)||void 0===e?void 0:e.defaultValue)||"";this.inputRef.value=a}render(){var t;const{class:e,label:i,isError:s,errorMessage:n,isRequired:l}=this,c=this.el.getElementsByClassName("prefix")[0],d=c?c.getBoundingClientRect().width:0,p=this.locale[this.formLocaleName];return a(r,{key:"b0cac5ae28b82ee1c401cb0d88a16ec1d5ab2931"},a("label",{key:"003c6a9df43f26c09014ef991378ae5ab44f32fb",id:this.wrapperId,class:o("relative w-full inline-flex flex-col",this.wrapperClass)},i&&a("div",{key:"a4e71b0b9cf769a87365ca76f0cbd2aa32d0102d",class:"mb-[4px]"},p[i]||i,l&&a("span",{key:"9b6979bd4464859dc6624a735cb5b200f5ea7464",class:"ms-0.5 text-red-600"},"*")),a("div",{key:"8152e0ba42bbda04dbca1e464e55b69546dd2daa",dir:this.numberDirection?"ltr":this.sharedLocales.direction,class:o("relative",{"opacity-75":null===(t=this.inputParams)||void 0===t?void 0:t.disabled})},this.inputPreFix&&a("div",{key:"fe9f842609675fd21b7e79ae2c043983e1f4ae67",class:"prefix absolute h-[38px] px-2 left-0 top-0 pointer-events-none items-center justify-center flex"},this.inputPreFix),a("input",Object.assign({key:"0f08ee5d3d5af2e6c972b8e30d00c9d850b4576b"},this.inputParams,{style:Object.assign({},d?{paddingLeft:`${d}px`}:{}),placeholder:p[this.inputParams.placeholder]||this.inputParams.placeholder,class:o("border appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none form-input disabled:bg-white flex-1 py-[6px] px-[12px] transition duration-300 rounded-md outline-none focus:border-slate-600 focus:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)] w-full","form-input-"+this.inputParams.name,{"!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]":s,"rtl-form-input":"rtl"===this.sharedLocales.direction&&this.numberDirection},e)}))),a("div",{key:"275578dc457285802848e376f43ccc29182acc10",class:o("absolute text-[12px] pt-[1px] -z-10 text-red-500 opacity-0 -translate-y-[4px] bottom-0 transition duration-300",{"translate-y-full error-message opacity-100":s})},p[n]||this.locale.inputValueIsIncorrect||n)))}get el(){return this}static get watchers(){return{language:["changeLanguage"]}}static get style(){return'*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}/*! 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}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[9999999999\\]{z-index:9999999999}.flex{display:flex}.h-\\[100dvh\\]{height:100dvh}.h-\\[32px\\]{height:32px}.w-\\[100dvw\\]{width:100dvw}.min-w-\\[322px\\]{min-width:322px}.max-w-\\[80dvw\\]{max-width:80dvw}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-50{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))}.scale-50{--tw-scale-x:.5;--tw-scale-y:.5}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.gap-\\[16px\\]{gap:16px}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.bg-black\\/50{background-color:rgba(0,0,0,.5)}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\\[20px\\]{padding:20px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.text-justify{text-align:justify}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-40{opacity:.4}.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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:bg-red-400:hover{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity,1))}.hover\\:opacity-100:hover{opacity:1}.active\\:bg-red-700:active{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.absolute{position:absolute}.bottom-0{bottom:0}.-z-10{z-index:-10}.mb-\\[4px\\]{margin-bottom:4px}.ms-0\\.5{margin-inline-start:.125rem}.inline-flex{display:inline-flex}.h-\\[38px\\]{height:38px}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-y-\\[4px\\]{--tw-translate-y:-4px}.-translate-y-\\[4px\\],.translate-y-full{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))}.translate-y-full{--tw-translate-y:100%}.appearance-none{appearance:none}.rounded-md{border-radius:.375rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity,1))!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.pt-\\[1px\\]{padding-top:1px}.text-\\[12px\\]{font-size:12px}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-75{opacity:.75}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:border-slate-600:focus{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(239\\2c 68\\2c 68\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(239,68,68,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:bg-white:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button,.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{appearance:none}.z-\\[10\\]{z-index:10}.-mt-\\[8px\\]{margin-top:-8px}.mt-\\[8px\\]{margin-top:8px}.size-5{height:1.25rem;width:1.25rem}.size-6{height:1.5rem;width:1.5rem}.size-\\[22px\\]{height:22px;width:22px}.h-\\[100px\\]{height:100px}.max-h-\\[250px\\]{max-height:250px}.-translate-y-\\[4px\\],.-translate-y-full{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))}.-translate-y-full{--tw-translate-y:-100%}.translate-y-\\[38px\\]{--tw-translate-y:38px}.rotate-180,.translate-y-\\[38px\\],.translate-y-full{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))}.rotate-180{--tw-rotate:180deg}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-\\[\\#9CA3AF\\]{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.enabled\\:border-slate-600:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.enabled\\:focus\\:border-slate-600:focus:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:opacity-75:disabled{opacity:.75}.hidden{display:none}.size-\\[70px\\]{height:70px;width:70px}.size-full{height:100%;width:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.translate-x-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))}.translate-x-0{--tw-translate-x:0px}.translate-x-full{--tw-translate-x:100%;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))}.stroke-green-700{stroke:#15803d}.text-\\[20px\\]{font-size:20px}.duration-1000{transition-duration:1s}.mx-auto{margin-left:auto;margin-right:auto}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.rounded-\\[8px\\]{border-radius:8px}.border-\\[\\#f2aeb5\\]{--tw-border-opacity:1;border-color:rgb(242 174 181/var(--tw-border-opacity,1))}.bg-\\[\\#f7d7d8\\]{--tw-bg-opacity:1;background-color:rgb(247 215 216/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-\\[\\#58151c\\]{--tw-text-opacity:1;color:rgb(88 21 28/var(--tw-text-opacity,1))}.-translate-y-full,.translate-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))}.translate-y-0{--tw-translate-y:0px}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.\\!duration-1000{transition-duration:1s!important}.enabled\\:hover\\:bg-slate-600:hover:enabled{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.enabled\\:active\\:bg-slate-800:active:enabled{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.-mt-\\[4px\\]{margin-top:-4px}.h-\\[200px\\]{height:200px}.-translate-y-\\[10px\\]{--tw-translate-y:-10px}.-translate-y-\\[10px\\],.translate-y-\\[calc\\(100\\%-5px\\)\\]{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))}.translate-y-\\[calc\\(100\\%-5px\\)\\]{--tw-translate-y:calc(100% - 5px)}.resize-none{resize:none}'}},[0,"form-input",{label:[1],class:[1],isError:[4,"is-error"],wrapperId:[1,"wrapper-id"],form:[16],inputPreFix:[1,"input-pre-fix"],isRequired:[4,"is-required"],errorMessage:[1,"error-message"],wrapperClass:[1,"wrapper-class"],inputParams:[16,"input-params"],numberDirection:[4,"number-direction"],language:[1],formLocaleName:[1,"form-locale-name"],sharedLocales:[32],locale:[32]},void 0,{language:["changeLanguage"]}]);function p(){"undefined"!=typeof customElements&&["form-input"].forEach((t=>{"form-input"===t&&(customElements.get(t)||customElements.define(t,d))}))}p();export{d as F,p as d}
5
+ import{p as t,H as e,h as a,a as r}from"./index.js";import{c as o}from"./p-BK16Cn81.js";import{f as i,a as s}from"./p-DRdEUWsa.js";import{s as n,g as l,a as c}from"./p-CiosiH6q.js";const d=t(class extends e{constructor(){super(),this.__registerHost(),this.language="en",this.sharedLocales=n.getDefault(),this.locale=i.getDefault()}async componentWillLoad(){this.form.subscribe(this.inputParams.name,this),await this.changeLanguage(this.language)}async componentDidLoad(){this.inputRef=this.el.getElementsByClassName("form-input-"+this.inputParams.name)[0]}async disconnectedCallback(){this.form.unsubscribe(this.inputParams.name)}async changeLanguage(t){const e=i.fields[this.formLocaleName],a=await Promise.all([l(t,"forms*",s),c(t),l(t,"forms."+this.formLocaleName,e)]);Object.assign(this.locale,a[0]),Object.assign(this.locale[this.formLocaleName],a[2]),this.sharedLocales=a[1]}reset(t){var e;const a=t||(null===(e=this.inputParams)||void 0===e?void 0:e.defaultValue)||"";this.inputRef.value=a}render(){var t;const{class:e,label:i,isError:s,errorMessage:n,isRequired:l}=this,c=this.el.getElementsByClassName("prefix")[0],d=c?c.getBoundingClientRect().width:0,p=this.locale[this.formLocaleName];return a(r,{key:"c9eaa6bd3ff872a07a909f19034ce4094d25bda9"},a("label",{key:"ad6f696d064113a06cb89c30c283eb03d7326b76",id:this.wrapperId,class:o("relative w-full inline-flex flex-col",this.wrapperClass)},i&&a("div",{key:"863d1fbb904feae2580ca441cfa34802c337b3a8",class:"mb-[4px]"},p[i]||i,l&&a("span",{key:"5762e7998e748da3ac41ac245afc69914953713a",class:"ms-0.5 text-red-600"},"*")),a("div",{key:"5bf3f8f8e87266f8dd5292f6046e6d73750eb9c5",dir:this.numberDirection?"ltr":this.sharedLocales.direction,class:o("relative",{"opacity-75":null===(t=this.inputParams)||void 0===t?void 0:t.disabled})},this.inputPreFix&&a("div",{key:"0d976cd349f84f93ef7dfbaf618d43e470826afd",class:"prefix absolute h-[38px] px-2 left-0 top-0 pointer-events-none items-center justify-center flex"},this.inputPreFix),a("input",Object.assign({key:"9dfc5dd54d8a83fbbc887525f626a3ff4ae78f9e"},this.inputParams,{style:Object.assign({},d?{paddingLeft:`${d}px`}:{}),placeholder:p[this.inputParams.placeholder]||this.inputParams.placeholder,class:o("border appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none form-input disabled:bg-white flex-1 py-[6px] px-[12px] transition duration-300 rounded-md outline-none focus:border-slate-600 focus:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)] w-full","form-input-"+this.inputParams.name,{"!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]":s,"rtl-form-input":"rtl"===this.sharedLocales.direction&&this.numberDirection},e)}))),a("div",{key:"1333e928fd100bf701d40b0942f742ff7e11f032",class:o("absolute text-[12px] pt-[1px] -z-10 text-red-500 opacity-0 -translate-y-[4px] bottom-0 transition duration-300",{"translate-y-full error-message opacity-100":s})},p[n]||this.locale.inputValueIsIncorrect||n)))}get el(){return this}static get watchers(){return{language:["changeLanguage"]}}static get style(){return'*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}/*! 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}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[9999999999\\]{z-index:9999999999}.flex{display:flex}.h-\\[100dvh\\]{height:100dvh}.h-\\[32px\\]{height:32px}.w-\\[100dvw\\]{width:100dvw}.min-w-\\[322px\\]{min-width:322px}.max-w-\\[80dvw\\]{max-width:80dvw}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-50{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))}.scale-50{--tw-scale-x:.5;--tw-scale-y:.5}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.gap-\\[16px\\]{gap:16px}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.bg-black\\/50{background-color:rgba(0,0,0,.5)}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\\[20px\\]{padding:20px}.px-\\[14px\\]{padding-left:14px;padding-right:14px}.text-justify{text-align:justify}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-40{opacity:.4}.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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:bg-red-400:hover{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity,1))}.hover\\:opacity-100:hover{opacity:1}.active\\:bg-red-700:active{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.absolute{position:absolute}.bottom-0{bottom:0}.-z-10{z-index:-10}.mb-\\[4px\\]{margin-bottom:4px}.ms-0\\.5{margin-inline-start:.125rem}.inline-flex{display:inline-flex}.h-\\[38px\\]{height:38px}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-y-\\[4px\\]{--tw-translate-y:-4px}.-translate-y-\\[4px\\],.translate-y-full{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))}.translate-y-full{--tw-translate-y:100%}.appearance-none{appearance:none}.rounded-md{border-radius:.375rem}.border{border-width:1px}.\\!border-red-500{--tw-border-opacity:1!important;border-color:rgb(239 68 68/var(--tw-border-opacity,1))!important}.px-2{padding-left:.5rem;padding-right:.5rem}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.py-\\[6px\\]{padding-bottom:6px;padding-top:6px}.pt-\\[1px\\]{padding-top:1px}.text-\\[12px\\]{font-size:12px}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-75{opacity:.75}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:border-slate-600:focus{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(239\\2c 68\\2c 68\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(239,68,68,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:bg-white:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button,.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{appearance:none}.z-\\[10\\]{z-index:10}.-mt-\\[8px\\]{margin-top:-8px}.mt-\\[8px\\]{margin-top:8px}.size-5{height:1.25rem;width:1.25rem}.size-6{height:1.5rem;width:1.5rem}.size-\\[22px\\]{height:22px;width:22px}.h-\\[100px\\]{height:100px}.max-h-\\[250px\\]{max-height:250px}.-translate-y-\\[4px\\],.-translate-y-full{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))}.-translate-y-full{--tw-translate-y:-100%}.translate-y-\\[38px\\]{--tw-translate-y:38px}.rotate-180,.translate-y-\\[38px\\],.translate-y-full{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))}.rotate-180{--tw-rotate:180deg}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-\\[\\#9CA3AF\\]{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.enabled\\:border-slate-600:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.enabled\\:focus\\:border-slate-600:focus:enabled{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.enabled\\:focus\\:shadow-\\[0_0_0_0\\.2rem_rgba\\(71\\2c 85\\2c 105\\2c 0\\.25\\)\\]:focus:enabled{--tw-shadow:0 0 0 0.2rem rgba(71,85,105,.25);--tw-shadow-colored:0 0 0 0.2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.disabled\\:opacity-75:disabled{opacity:.75}.hidden{display:none}.size-\\[70px\\]{height:70px;width:70px}.size-full{height:100%;width:100%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.translate-x-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))}.translate-x-0{--tw-translate-x:0px}.translate-x-full{--tw-translate-x:100%;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))}.stroke-green-700{stroke:#15803d}.text-\\[20px\\]{font-size:20px}.duration-1000{transition-duration:1s}.mx-auto{margin-left:auto;margin-right:auto}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.rounded-\\[8px\\]{border-radius:8px}.border-\\[\\#f2aeb5\\]{--tw-border-opacity:1;border-color:rgb(242 174 181/var(--tw-border-opacity,1))}.bg-\\[\\#f7d7d8\\]{--tw-bg-opacity:1;background-color:rgb(247 215 216/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-\\[\\#58151c\\]{--tw-text-opacity:1;color:rgb(88 21 28/var(--tw-text-opacity,1))}.-translate-y-full,.translate-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))}.translate-y-0{--tw-translate-y:0px}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.\\!duration-1000{transition-duration:1s!important}.enabled\\:hover\\:bg-slate-600:hover:enabled{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.enabled\\:active\\:bg-slate-800:active:enabled{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.-mt-\\[4px\\]{margin-top:-4px}.h-\\[200px\\]{height:200px}.-translate-y-\\[10px\\]{--tw-translate-y:-10px}.-translate-y-\\[10px\\],.translate-y-\\[calc\\(100\\%-5px\\)\\]{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))}.translate-y-\\[calc\\(100\\%-5px\\)\\]{--tw-translate-y:calc(100% - 5px)}.resize-none{resize:none}'}},[0,"form-input",{label:[1],class:[1],isError:[4,"is-error"],wrapperId:[1,"wrapper-id"],form:[16],inputPreFix:[1,"input-pre-fix"],isRequired:[4,"is-required"],errorMessage:[1,"error-message"],wrapperClass:[1,"wrapper-class"],inputParams:[16,"input-params"],numberDirection:[4,"number-direction"],language:[1],formLocaleName:[1,"form-locale-name"],sharedLocales:[32],locale:[32]},void 0,{language:["changeLanguage"]}]);function p(){"undefined"!=typeof customElements&&["form-input"].forEach((t=>{"form-input"===t&&(customElements.get(t)||customElements.define(t,d))}))}p();export{d as F,p as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ import{p as t,H as i,h as e,a as o}from"./index.js";import{y as a,s as n,a as r,g as s}from"./p-CiosiH6q.js";import{M as d,a as l}from"./p-piZ41_ho.js";import{V as c}from"./p-B1fdQNyr.js";import{s as p,a as h}from"./p-C4zpDhOi.js";import{d as f}from"./p-COU68JDH.js";const g=a(["vehicleSpecification","noData","model","variant","katashiki","modelYear","sfx","productionDate"]),w=t(class extends i{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.language="en",this.locale=Object.assign({sharedLocales:n.getDefault()},g.getDefault()),this.coreOnly=!1,this.headers={},this.queryString="",this.isError=!1,this.isLoading=!1}async componentWillLoad(){await this.changeLanguage(this.language)}async changeLanguage(t){const[i,e]=await Promise.all([r(t),s(t,"vehicleLookup.specification",g)]);this.locale=Object.assign({sharedLocales:i},e)}async setMockData(t){this.mockData=t}async fetchData(t,i={}){await p(this,t,i)}async setErrorMessage(t){h(this,t)}onLoadingChange(t){this.loadingStateChange&&this.loadingStateChange(t)}render(){var t,i,a,n,r,s,p,h,f,g,w,u,b,v,x,m,y,k,z,j,L,C,M,E,D,S,W,O,Y,q,U,X,I,N,_,A,H,R,V;const B=this.locale;let F=null;try{(null===(i=null===(t=this.vehicleLookup)||void 0===t?void 0:t.vehicleSpecification)||void 0===i?void 0:i.productionDate)&&(F=new Date(null===(n=null===(a=this.vehicleLookup)||void 0===a?void 0:a.vehicleSpecification)||void 0===n?void 0:n.productionDate).toLocaleDateString(this.locale.sharedLocales.language,{year:"numeric",month:"long"}))}catch(t){F=null}return e(o,{key:"4dd2a0833f9ec6fb6373de9695101ec7920f8b57"},e(c,{key:"623db7b73e5ba602cd347433107ebd60aa84bb4f",isError:this.isError,coreOnly:this.coreOnly,isLoading:this.isLoading,header:null===(r=this.vehicleLookup)||void 0===r?void 0:r.vin,direction:this.locale.sharedLocales.direction,errorMessage:this.locale.sharedLocales.errors[this.errorMessage]||this.locale.sharedLocales.errors.wildCard},e("flexible-container",{key:"e09a8f6389267f210883dbeb1993cafe5855668d"},e("div",{key:"72160db9d59c847c81539225707ac93df0ec8f05",class:"flex p-[16px] [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap"},e(d,{key:"7a3081aa95fe1245b13a72c0048c0c34bb80e262",class:"grow",title:null==B?void 0:B.model,minWidth:"300px"},e(l,{key:"3814d9af70bcf5822e998e341a541d15b35f8311",class:"text-center",hidden:!(null===(h=null===(p=null===(s=null==this?void 0:this.vehicleLookup)||void 0===s?void 0:s.vehicleVariantInfo)||void 0===p?void 0:p.modelCode)||void 0===h?void 0:h.trim())&&!(null===(w=null===(g=null===(f=null==this?void 0:this.vehicleLookup)||void 0===f?void 0:f.vehicleSpecification)||void 0===g?void 0:g.modelDescription)||void 0===w?void 0:w.trim())},(null===(v=null===(b=null===(u=null==this?void 0:this.vehicleLookup)||void 0===u?void 0:u.vehicleVariantInfo)||void 0===b?void 0:b.modelCode)||void 0===v?void 0:v.trim())||""," ",e("br",{key:"b284879a552fe933450b6a30fbe919eaafc86946",class:"my-2"}),(null===(y=null===(m=null===(x=null==this?void 0:this.vehicleLookup)||void 0===x?void 0:x.vehicleSpecification)||void 0===m?void 0:m.modelDescription)||void 0===y?void 0:y.trim())||"")),e(d,{key:"1bcc6fb204424f2251d798f073b0ad95a27572e1",class:"grow",title:null==B?void 0:B.variant,minWidth:"300px"},e(l,{key:"fddc7998dcd4478536a7e951b670895e35dfc78b",class:"text-center",hidden:!(null===(j=null===(z=null===(k=null==this?void 0:this.vehicleLookup)||void 0===k?void 0:k.identifiers)||void 0===z?void 0:z.variant)||void 0===j?void 0:j.trim())&&!(null===(M=null===(C=null===(L=null==this?void 0:this.vehicleLookup)||void 0===L?void 0:L.vehicleSpecification)||void 0===C?void 0:C.variantDescription)||void 0===M?void 0:M.trim())},(null===(S=null===(D=null===(E=null==this?void 0:this.vehicleLookup)||void 0===E?void 0:E.identifiers)||void 0===D?void 0:D.variant)||void 0===S?void 0:S.trim())||""," ",e("br",{key:"a02fbaf4fc618bd7919bfdd3af1494e3e50bef73"}),(null===(Y=null===(O=null===(W=null==this?void 0:this.vehicleLookup)||void 0===W?void 0:W.vehicleSpecification)||void 0===O?void 0:O.variantDescription)||void 0===Y?void 0:Y.trim())||"")),e(d,{key:"5603fc09bf23d3df065428310f431d121c69d39c",desc:(null===(X=null===(U=null===(q=null==this?void 0:this.vehicleLookup)||void 0===q?void 0:q.identifiers)||void 0===U?void 0:U.katashiki)||void 0===X?void 0:X.trim())||"",title:null==B?void 0:B.katashiki,minWidth:"250px"}),e(d,{key:"9b52bdf96cdc83289e5bc556e348815449aef98b",desc:(null===(A=null===(_=null===(N=null===(I=null==this?void 0:this.vehicleLookup)||void 0===I?void 0:I.vehicleVariantInfo)||void 0===N?void 0:N.modelYear)||void 0===_?void 0:_.toString())||void 0===A?void 0:A.trim())||"",title:null==B?void 0:B.modelYear,minWidth:"250px"}),e(d,{key:"7f88b44b9ab717a54a4d0544c111318a94a2f085",desc:F||"",title:null==B?void 0:B.productionDate,minWidth:"250px"}),e(d,{key:"34e3948ea4f5e441d37550a5a24bb6e42487a9d0",desc:(null===(V=null===(R=null===(H=null==this?void 0:this.vehicleLookup)||void 0===H?void 0:H.vehicleVariantInfo)||void 0===R?void 0:R.sfx)||void 0===V?void 0:V.trim())||"",title:null==B?void 0:B.sfx,minWidth:"250px"})))))}get el(){return this}static get watchers(){return{language:["changeLanguage"],isLoading:["onLoadingChange"]}}static get style(){return'*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}/*! 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}.absolute{position:absolute}.\\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.block{display:block}.flex{display:flex}.hidden{display:none}.origin-left{transform-origin:left}.transform{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))}.\\!overflow-hidden{overflow:hidden!important}.\\!rounded-\\[4px\\]{border-radius:4px!important}.border{border-width:1px}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.shift-skeleton{border-radius:4px!important;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-size:300% 300%;border-radius:4px!important;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;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))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.vehicle-info-container{background-color:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;text-align:center}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.h-\\[200px\\]{height:200px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.text-\\[26px\\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.pointer-events-none{pointer-events:none}.mx-auto{margin-left:auto;margin-right:auto}.size-full{height:100%;width:100%}.h-\\[150px\\]{height:150px}.w-\\[84px\\]{width:84px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-\\[16px\\]{gap:16px}.gap-\\[4px\\]{gap:4px}.gap-\\[8px\\]{gap:8px}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.border-b{border-bottom-width:1px}.bg-black\\/40{background-color:rgba(0,0,0,.4)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.p-\\[12px\\]{padding:12px}.p-\\[6px\\]{padding:6px}.px-\\[24px\\]{padding-left:24px;padding-right:24px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.text-center{text-align:center}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.duration-300{transition-duration:.3s}.hover\\:opacity-100:hover{opacity:1}.\\[\\&_div\\]\\:hover\\:\\!opacity-100:hover div{opacity:1!important}.\\[\\&_img\\]\\:hover\\:shadow-lg:hover img{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.my-2{margin-bottom:.5rem;margin-top:.5rem}.grow{flex-grow:1}.items-stretch{align-items:stretch}.overflow-auto{overflow:auto}.p-\\[16px\\]{padding:16px}@media (min-width:768px){.md\\:justify-between{justify-content:space-between}}.\\[\\&\\>div\\]\\:grow>div{flex-grow:1}.mt-\\[32px\\]{margin-top:32px}.h-\\[25px\\]{height:25px}.h-\\[50px\\]{height:50px}.h-\\[8px\\]{height:8px}.bg-\\[\\#f6f6f6\\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.pt-\\[16px\\]{padding-top:16px}.pt-\\[40px\\]{padding-top:40px}.text-\\[18px\\]{font-size:18px}.font-bold{font-weight:700}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}'}},[1,"vehicle-specification",{language:[1],coreOnly:[4,"core-only"],isDev:[4,"is-dev"],baseUrl:[1,"base-url"],headers:[16],queryString:[1,"query-string"],errorCallback:[16,"error-callback"],loadingStateChange:[16,"loading-state-change"],loadedResponse:[16,"loaded-response"],locale:[32],isError:[32],errorMessage:[32],isLoading:[32],vehicleLookup:[32],setMockData:[64],fetchData:[64],setErrorMessage:[64]},void 0,{language:["changeLanguage"],isLoading:["onLoadingChange"]}]);function u(){"undefined"!=typeof customElements&&["vehicle-specification","flexible-container"].forEach((t=>{switch(t){case"vehicle-specification":customElements.get(t)||customElements.define(t,w);break;case"flexible-container":customElements.get(t)||f()}}))}u();export{w as V,u as d,g as s}
@@ -2,4 +2,4 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import{y as e,c as s}from"./p-JtBlsz4j.js";const i=e(["reCaptchaIsRequired","inputValueIsIncorrect"]),r=s({contactUs:e(["fullName","fullNameIsRequired","fullNameMinimum","emailAddress","emailAddressNotValid","city","selectCity","cityIsRequired","phoneNumber","phoneNumberIsRequired","phoneNumberFormatInvalid","inquiryType","selectInquiryType","inquiryTypeIsRequired","writeAMessage","leaveUsMessage","messageIsRequired"])}).concat(i);export{i as a,r as f}
5
+ import{y as e,c as s}from"./p-CiosiH6q.js";const i=e(["reCaptchaIsRequired","inputValueIsIncorrect"]),r=s({contactUs:e(["fullName","fullNameIsRequired","fullNameMinimum","emailAddress","emailAddressNotValid","city","selectCity","cityIsRequired","phoneNumber","phoneNumberIsRequired","phoneNumberFormatInvalid","inquiryType","selectInquiryType","inquiryTypeIsRequired","writeAMessage","leaveUsMessage","messageIsRequired"])}).concat(i);export{i as a,r as f}