adp-web-components 0.0.28 → 0.0.29

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 (140) hide show
  1. package/dist/cjs/{Loading-df2a9144.js → Loading-6f4f0127.js} +1 -1
  2. package/dist/cjs/dead-stock-lookup.cjs.entry.js +5 -5
  3. package/dist/cjs/distributor-lookup.cjs.entry.js +5 -5
  4. package/dist/cjs/dynamic-claim_6.cjs.entry.js +129 -94
  5. package/dist/cjs/dynamic-redeem.cjs.entry.js +21 -9
  6. package/dist/cjs/form-input.cjs.entry.js +1 -1
  7. package/dist/cjs/general-inquiry-form.cjs.entry.js +1 -1
  8. package/dist/cjs/get-local-language-42973450.js +153 -0
  9. package/dist/cjs/{index-d2dc29e0.js → index-846c93d2.js} +0 -7
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/manufacturer-lookup.cjs.entry.js +5 -5
  12. package/dist/cjs/{partInformation-07651204.js → partInformation-2b4e0593.js} +1 -1
  13. package/dist/cjs/shift-components.cjs.js +2 -2
  14. package/dist/cjs/vehicle-lookup.cjs.entry.js +6 -5
  15. package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
  16. package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
  17. package/dist/collection/components/part-lookup/manufacturer-lookup.js +2 -2
  18. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +3 -2
  19. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +3 -2
  20. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
  21. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +1 -1
  22. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +53 -13
  23. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +1 -1
  24. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +49 -10
  25. package/dist/collection/components/vehicle-lookup/paint-thickness.js +47 -8
  26. package/dist/collection/components/vehicle-lookup/service-history.js +42 -3
  27. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +48 -9
  28. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +44 -19
  29. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +42 -3
  30. package/dist/collection/components/vehicle-lookup/warranty-details.js +13 -13
  31. package/dist/collection/global/api/partInformation.js +1 -1
  32. package/dist/collection/global/api/vehicleInformation.js +2 -2
  33. package/dist/collection/global/lib/get-local-language.js +19 -0
  34. package/dist/collection/global/types/locales/error-schema.js +9 -0
  35. package/dist/collection/global/types/locales/index.js +22 -0
  36. package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +13 -0
  37. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +21 -0
  38. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +28 -0
  39. package/dist/collection/global/types/locales/vehicle-lookup/index.js +21 -0
  40. package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +14 -0
  41. package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +15 -0
  42. package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +14 -0
  43. package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +23 -0
  44. package/dist/components/dead-stock-lookup.js +1 -1
  45. package/dist/components/distributor-lookup.js +1 -1
  46. package/dist/components/dynamic-claim.js +1 -1
  47. package/dist/components/dynamic-redeem.js +1 -1
  48. package/dist/components/manufacturer-lookup.js +1 -1
  49. package/dist/components/p-0ae60f32.js +5 -0
  50. package/dist/components/p-1a626dfd.js +5 -0
  51. package/dist/components/{p-c2815a66.js → p-1d80419b.js} +1 -1
  52. package/dist/components/p-1ea3089a.js +5 -0
  53. package/dist/components/p-2e747eb3.js +5 -0
  54. package/dist/components/p-4f99745c.js +5 -0
  55. package/dist/components/{p-c4fad245.js → p-609c2470.js} +1 -1
  56. package/dist/components/p-6c064413.js +5 -0
  57. package/dist/components/p-7360f9b1.js +5 -0
  58. package/dist/components/p-79ea7639.js +5 -0
  59. package/dist/components/p-a21e2e2e.js +5 -0
  60. package/dist/components/p-eb89583a.js +5 -0
  61. package/dist/components/p-f691e103.js +5 -0
  62. package/dist/components/paint-thickness.js +1 -1
  63. package/dist/components/service-history.js +1 -1
  64. package/dist/components/vehicle-accessories.js +1 -1
  65. package/dist/components/vehicle-lookup.js +1 -1
  66. package/dist/components/vehicle-specification.js +1 -1
  67. package/dist/components/warranty-details.js +1 -1
  68. package/dist/esm/{Loading-3a10eb05.js → Loading-f4d666ee.js} +1 -1
  69. package/dist/esm/dead-stock-lookup.entry.js +5 -5
  70. package/dist/esm/distributor-lookup.entry.js +5 -5
  71. package/dist/esm/dynamic-claim_6.entry.js +127 -92
  72. package/dist/esm/dynamic-redeem.entry.js +21 -9
  73. package/dist/esm/form-input.entry.js +1 -1
  74. package/dist/esm/general-inquiry-form.entry.js +1 -1
  75. package/dist/esm/get-local-language-85ed0b3b.js +150 -0
  76. package/dist/esm/{index-c3d67367.js → index-33ae6859.js} +1 -7
  77. package/dist/esm/loader.js +3 -3
  78. package/dist/esm/manufacturer-lookup.entry.js +5 -5
  79. package/dist/esm/{partInformation-096a8f55.js → partInformation-f40b1fe6.js} +1 -1
  80. package/dist/esm/shift-components.js +3 -3
  81. package/dist/esm/vehicle-lookup.entry.js +6 -5
  82. package/dist/locales/ar.json +101 -1
  83. package/dist/locales/en.json +101 -1
  84. package/dist/locales/ku.json +101 -1
  85. package/dist/shift-components/p-062cd94b.entry.js +5 -0
  86. package/dist/shift-components/p-0e0b69a1.entry.js +5 -0
  87. package/dist/shift-components/p-0f0e54c1.js +6 -0
  88. package/dist/shift-components/p-10aae582.entry.js +5 -0
  89. package/dist/shift-components/p-1de8531d.entry.js +5 -0
  90. package/dist/shift-components/p-2e747eb3.js +5 -0
  91. package/dist/shift-components/{p-02ec4905.entry.js → p-496a721b.entry.js} +1 -1
  92. package/dist/shift-components/{p-0394e29f.entry.js → p-832fd942.entry.js} +1 -1
  93. package/dist/shift-components/p-9120c049.entry.js +5 -0
  94. package/dist/shift-components/{p-89d232e9.js → p-99d314b5.js} +1 -1
  95. package/dist/shift-components/p-c4efbdc3.js +5 -0
  96. package/dist/shift-components/p-d49f73db.entry.js +5 -0
  97. package/dist/shift-components/shift-components.esm.js +1 -1
  98. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +3 -1
  99. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +3 -1
  100. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +3 -1
  101. package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +10 -5
  102. package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +10 -5
  103. package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +6 -1
  104. package/dist/types/components/vehicle-lookup/service-history.d.ts +6 -1
  105. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -1
  106. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +5 -3
  107. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -1
  108. package/dist/types/components/vehicle-lookup/warranty-details.d.ts +4 -4
  109. package/dist/types/components.d.ts +16 -2
  110. package/dist/types/global/lib/get-local-language.d.ts +2 -0
  111. package/dist/types/global/types/locales/error-schema.d.ts +7 -0
  112. package/dist/types/global/types/locales/index.d.ts +220 -0
  113. package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +15 -0
  114. package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +31 -0
  115. package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +45 -0
  116. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +189 -0
  117. package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +17 -0
  118. package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +19 -0
  119. package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +17 -0
  120. package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +35 -0
  121. package/package.json +1 -1
  122. package/dist/collection/global/types/locale-schema.js +0 -30
  123. package/dist/components/p-0be9e62f.js +0 -5
  124. package/dist/components/p-0e4c747d.js +0 -5
  125. package/dist/components/p-4f08bcb8.js +0 -5
  126. package/dist/components/p-5f03cbe9.js +0 -5
  127. package/dist/components/p-719499ff.js +0 -5
  128. package/dist/components/p-7aec104e.js +0 -5
  129. package/dist/components/p-a3d447f9.js +0 -5
  130. package/dist/components/p-d07331eb.js +0 -5
  131. package/dist/components/p-ec05b4cd.js +0 -5
  132. package/dist/shift-components/p-1265a8ec.entry.js +0 -5
  133. package/dist/shift-components/p-1f46b4d0.entry.js +0 -5
  134. package/dist/shift-components/p-4f08bcb8.js +0 -5
  135. package/dist/shift-components/p-7a17c535.entry.js +0 -5
  136. package/dist/shift-components/p-9d6b2cfb.entry.js +0 -5
  137. package/dist/shift-components/p-bf83fa95.entry.js +0 -5
  138. package/dist/shift-components/p-d0683e92.entry.js +0 -5
  139. package/dist/shift-components/p-dbaab71c.js +0 -6
  140. package/dist/types/global/types/locale-schema.d.ts +0 -21
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built by ShiftSoftware
3
- * Copyright (c)
4
- */
5
- import{r as t,h as e,H as i,g as a}from"./p-dbaab71c.js";import{c as o}from"./p-98d9e7ab.js";const r=class{constructor(e){t(this,e),this.activeElement="",this.baseUrl="",this.isDev=!1,this.queryString="",this.loadingStateChanged=void 0,this.blazorOnLoadingStateChange="",this.wrapperErrorState="",this.errorStateListener=void 0,this.blazorErrorStateListener="",this.blazorRef=void 0}async componentDidLoad(){const t=this.el.getElementsByTagName("vehicle-specification")[0],e=this.el.getElementsByTagName("vehicle-accessories")[0],i=this.el.getElementsByTagName("warranty-details")[0],a=this.el.getElementsByTagName("service-history")[0],o=this.el.getElementsByTagName("paint-thickness")[0],r=this.el.getElementsByTagName("dynamic-claim")[0];this.componentsList={"vehicle-specification":t,"vehicle-accessories":e,"warranty-details":i,"service-history":a,"paint-thickness":o,"dynamic-claim":r},Object.values(this.componentsList).forEach((t=>{t&&(this.loadingStateChanged&&(t.loadingStateChange=this.loadingStateChanged),t.loadedResponse=e=>this.handleLoadData(e,t))}))}async errorListener(t){this.errorStateListener&&this.errorStateListener(t),this.blazorRef&&this.blazorErrorStateListener&&this.blazorRef.invokeMethodAsync(this.blazorErrorStateListener,t)}async handleLoadingListenerPropChange(t){Object.values(this.componentsList).forEach((e=>{e&&(e.loadingStateChange=t)}))}async handleBlazorLoadingRefChange(t){this.blazorRef&&Object.values(this.componentsList).forEach((e=>{e&&(e.loadingStateChange=e=>this.blazorRef.invokeMethodAsync(t,e))}))}async setBlazorRef(t){this.blazorRef=t,this.blazorOnLoadingStateChange&&Object.values(this.componentsList).forEach((t=>{t&&(t.loadingStateChange=t=>this.blazorRef.invokeMethodAsync(this.blazorOnLoadingStateChange,t))}))}async fetchVin(t,e={}){const i=this.componentsList[this.activeElement]||null;if(this.wrapperErrorState="",i)return""==t?this.wrapperErrorState="VIN is required":function(t){const e={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9},i=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2];let a=0,o=!0;for(let r=0;r<t.length;r++){const s=e[t[r].toUpperCase()];if(void 0===s){o=!1;break}a+=s*i[r]}let r=(a%11).toString();return"10"===r&&(r="X"),t[8]!=r&&(o=!1),o}(t)?void i.fetchData(t,e):this.wrapperErrorState="Invalid VIN"}async getPageContext(){return{componentsList:this.componentsList}}handleLoadData(t,e){Object.values(this.componentsList).forEach((i=>{null!==i&&i!==e&&t&&i.setData(t)}))}render(){return e(i,{key:"c0ae0086435cd2bfc4a4838223c29796960bbbf6"},e("div",{key:"c989c8199a556448887c2018cae79eed02813f46",class:o("w-full",{hidden:"vehicle-specification"!==this.activeElement})},e("vehicle-specification",{key:"dc99a0489d6a8c0306cb7aaef7749997553e023b",isDev:this.isDev,"base-url":this.baseUrl,"query-string":this.queryString})),e("div",{key:"c8a8a7eec552f9fd0234dab9d85df14e43102041",class:o("w-full",{hidden:"vehicle-accessories"!==this.activeElement})},e("vehicle-accessories",{key:"624acb4beb19b22e82d79250594e350a21e7f8bf",isDev:this.isDev,"base-url":this.baseUrl,"query-string":this.queryString})),e("div",{key:"834807eace640d41d904f7511003ede16b2bfc95",class:o("w-full",{hidden:"warranty-details"!==this.activeElement})},e("warranty-details",{key:"a74777497db827ce84dcea65823f467af80fa5fa","show-ssc":"true","show-warranty":"true",isDev:this.isDev,"base-url":this.baseUrl,"query-string":this.queryString},e("slot",{key:"c4f0f9387d20481c503d6fe9c38532ede6f71a95"}))),e("div",{key:"33b0b26eb268027789d8d8cecc00247f073a333a",class:o("w-full",{hidden:"service-history"!==this.activeElement})},e("service-history",{key:"2d4315c0e2091666e4514ce3b24c8f9f3120850c",isDev:this.isDev,"base-url":this.baseUrl,"query-string":this.queryString})),e("div",{key:"21620c7e04ade2da21a8d4aee3c28eb1f8d1e8fa",class:o("w-full",{hidden:"paint-thickness"!==this.activeElement})},e("paint-thickness",{key:"93e0597fbf83490189fa448fd9765b6fa76cf214",isDev:this.isDev,"base-url":this.baseUrl,"query-string":this.queryString})),e("div",{key:"d5b2313cb8faac74fc9304c1e4c311b766c57259",class:o("w-full",{hidden:"dynamic-claim"!==this.activeElement})},e("dynamic-claim",{key:"10e9015d5288618f10fd92e5a72774ac0d8a7f59",isDev:this.isDev,"base-url":this.baseUrl,"query-string":this.queryString})))}get el(){return a(this)}static get watchers(){return{wrapperErrorState:["errorListener"],onLoadingStateChanged:["handleLoadingListenerPropChange"],blazorOnLoadingStateChange:["handleBlazorLoadingRefChange"]}}};r.style='*,: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{display:block}.static{position:static}.hidden{display:none}.w-full{width:100%}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.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))}.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)}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}';export{r as vehicle_lookup}
@@ -1,6 +0,0 @@
1
- /*!
2
- * Built by ShiftSoftware
3
- * Copyright (c)
4
- */
5
- var e=Object.defineProperty,t={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},n=new WeakMap,o=e=>n.get(e),l=(e,t)=>n.set(t.t=e,t),s=(e,t)=>t in e,i=(e,t)=>(0,console.error)(e,t),r=new Map,c=new Map,f="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},h=a.document||{head:{}},d={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},p=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),v=!1,y=[],w=[],$=(e,t)=>n=>{e.push(n),v||(v=!0,t&&4&d.o?S(g):d.raf(g))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){i(e)}e.length=0},g=()=>{b(y),b(w),(v=y.length>0)&&d.raf(g)},S=e=>p().then(e),k=$(w,!0),j={},O=e=>"object"==(e=typeof e)||"function"===e;function E(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>C,map:()=>M,ok:()=>x,unwrap:()=>A,unwrapErr:()=>D});var x=e=>({isOk:!0,isErr:!1,value:e}),C=e=>({isOk:!1,isErr:!0,value:e});function M(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>x(e))):x(n)}if(e.isErr)return C(e.value);throw"should never get here"}var P,R,T,A=e=>{if(e.isOk)return e.value;throw e.value},D=e=>{if(e.isErr)return e.value;throw e.value},H=(e,t,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!O(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?L(null,o):o),r=i)};if(f(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,U);const u=L(e,null);return u.u=t,c.length>0&&(u.h=c),u.p=l,u.m=s,u},L=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),N={},U={forEach:(e,t)=>e.map(W).forEach(t),map:(e,t)=>e.map(W).map(t).map(B)},W=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),B=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),H(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},F=e=>o(e).$hostElement$,q=(e,t,n)=>{const o=F(e);return{emit:e=>G(o,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},G=(e,t,n)=>{const o=d.ce(t,n);return e.dispatchEvent(o),o},I=new WeakMap,V=e=>"sc-"+e.S,_=(e,t,n,o,l,i)=>{if(n!==o){let r=s(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=J(n),s=J(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const s=O(o);if((r||s&&null!==o)&&!l)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!r||4&i||l)&&!s&&(o=!0===o?"":o,f?e.setAttributeNS(u,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):s(a,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(K);t=t.replace(Q,""),n&&d.rel(e,t,n,l),o&&d.ael(e,t,o,l)}}},z=/\s/,J=e=>e?e.split(z):[],K="Capture",Q=RegExp(K+"$"),X=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||j,s=t.u||j;for(const e of Y(Object.keys(l)))e in s||_(o,e,l[e],void 0,n,t.o);for(const e of Y(Object.keys(s)))_(o,e,l[e],s[e],n,t.o)};function Y(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Z=!1,ee=!1,te=!1,ne=!1,oe=(e,t,n,o)=>{var l;const s=t.h[n];let i,r,c,f=0;if(Z||(te=!0,"slot"===s.v&&(P&&o.classList.add(P+"-s"),s.o|=s.h?2:1)),null!==s.i)i=s.$=h.createTextNode(s.i);else if(1&s.o)i=s.$=h.createTextNode("");else{if(ne||(ne="svg"===s.v),i=s.$=h.createElementNS(ne?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Z&&2&s.o?"slot-fb":s.v),ne&&"foreignObject"===s.v&&(ne=!1),X(null,s,ne),i.getRootNode().querySelector("body"),s.h)for(f=0;f<s.h.length;++f)r=oe(e,s,f,i),r&&i.appendChild(r);"svg"===s.v?ne=!1:"foreignObject"===i.tagName&&(ne=!0)}return i["s-hn"]=T,3&s.o&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&le(e.$,!1)),i},le=(e,t)=>{d.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==T&&o["s-ol"]&&(ve(fe(o),o,ce(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,te=!0),t&&le(o,t)}d.o&=-2},se=(e,t,n,o,l,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=oe(null,n,l,e),i&&(o[l].$=i,ve(r,i,ce(t))))},ie=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;me(t),e&&(ee=!0,e["s-ol"]?e["s-ol"].remove():le(e,!0),e.remove())}}},re=(e,t,n=!1)=>!(e.v!==t.v||("slot"===e.v?"k"in e&&n&&8!==e.$.nodeType||e.m!==t.m:!n&&e.p!==t.p)),ce=e=>e&&e["s-ol"]||e,fe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ue=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,i=t.v,r=t.i;let c;null===r?(ne="svg"===i||"foreignObject"!==i&&ne,("slot"!==i||Z)&&X(e,t,ne),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,h=t[0],d=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==h)h=t[++r];else if(null==d)d=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(re(h,m,l))ue(h,m,l),h=t[++r],m=o[++c];else if(re(d,v,l))ue(d,v,l),d=t[--a],v=o[--p];else if(re(h,v,l))"slot"!==h.v&&"slot"!==v.v||le(h.$.parentNode,!1),ue(h,v,l),ve(e,h.$,d.$.nextSibling),h=t[++r],v=o[--p];else if(re(d,m,l))"slot"!==h.v&&"slot"!==v.v||le(d.$.parentNode,!1),ue(d,m,l),ve(e,d.$,h.$),d=t[--a],m=o[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].p&&t[u].p===m.p){f=u;break}f>=0?(i=t[f],i.v!==m.v?s=oe(t&&t[c],n,f,e):(ue(i,m,l),t[f]=void 0,s=i.$),m=o[++c]):(s=oe(t&&t[c],n,c,e),m=o[++c]),s&&ve(fe(h.$),s,ce(h.$))}r>a?se(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&ie(t,r,a)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),se(o,null,t,s,0,s.length-1)):!n&&null!==l&&ie(l,0,l.length-1),ne&&"svg"===i&&(ne=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:e.i!==r&&(o.data=r)},ae=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}ae(e)}},he=[],de=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(pe(t,e)){let n=he.find((e=>e.j===t));ee=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=l["s-hn"],n.O=l):(t["s-sh"]=l["s-hn"],he.push({O:l,j:t})),t["s-sr"]&&he.map((e=>{pe(e.j,t["s-sn"])&&(n=he.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else he.some((e=>e.j===t))||he.push({j:t})}1===l.nodeType&&de(l)}},pe=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,me=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(me)},ve=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ye=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},we=(e,t)=>{if(e.o|=16,!(4&e.o))return ye(e,e.M),k((()=>$e(e,t)));e.o|=512},$e=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(o=Ee(n,"componentWillLoad")),be(o,(()=>Se(e,n,t)))},be=(e,t)=>ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Se=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=V(t),l=c.get(o);if(e=11===e.nodeType?e:h,l)if("string"==typeof l){let s,i=I.get(e=e.head||e);if(i||I.set(e,i=new Set),!i.has(o)){{s=h.createElement("style"),s.innerHTML=l;const o=null!=(n=d.R)?n:E(h);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(m){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=f),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ke(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>je(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ke=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,i;const r=e.$hostElement$,c=e.P,f=e.T||L(null,null),u=(e=>e&&e.v===N)(t)?t:H(null,null,t);if(T=r.tagName,n&&u.u)for(const e of Object.keys(u.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=r[e]);if(u.v=null,u.o|=4,e.T=u,u.$=f.$=r.shadowRoot||r,P=r["s-sc"],Z=!!(1&c.o),R=r["s-cr"],ee=!1,ue(f,u,n),d.o|=1,te){de(u.$);for(const e of he){const t=e.j;if(!t["s-ol"]){const e=h.createTextNode("");e["s-nr"]=t,ve(t.parentNode,t["s-ol"]=e,t)}}for(const e of he){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ve(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}ee&&ae(u.$),d.o&=-2,he.length=0,R=void 0})(e,t,o)}catch(t){i(t,e.$hostElement$)}return null},je=e=>{const t=e.$hostElement$,n=e.t,o=e.M;64&e.o||(e.o|=64,xe(t),Ee(n,"componentDidLoad"),e.A(t),o||Oe()),e.D(t),e.C&&(e.C(),e.C=void 0),512&e.o&&S((()=>we(e,!1))),e.o&=-517},Oe=()=>{xe(h.documentElement),S((()=>G(a,"appload",{detail:{namespace:"shift-components"}})))},Ee=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){i(e)}},xe=e=>e.classList.add("hydrated"),Ce=(e,t,n)=>{var l,s;const r=e.prototype;if(t.H||t.L||e.watchers){e.watchers&&!t.L&&(t.L=e.watchers);const c=Object.entries(null!=(l=t.H)?l:{});if(c.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(r,e,{get(){return((e,t)=>o(this).N.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=o(e);if(!s)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.$hostElement$,c=s.N.get(t),f=s.o,u=s.t;if(n=((e,t)=>null==e||O(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(n,l.H[t][0]),(!(8&f)||void 0===c)&&n!==c&&(!Number.isNaN(c)||!Number.isNaN(n))&&(s.N.set(t,n),u)){if(l.L&&128&f){const e=l.L[t];e&&e.map((e=>{try{u[e](n,c,t)}catch(e){i(e,r)}}))}2==(18&f)&&we(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(r,e,{value(...t){var n;const l=o(this);return null==(n=null==l?void 0:l.U)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&n){const n=new Map;r.attributeChangedCallback=function(e,l,s){d.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=o(this),r=null==n?void 0:n.o;if(r&&!(8&r)&&128&r&&s!==l){const o=n.t,r=null==(i=t.L)?void 0:i[e];null==r||r.forEach((t=>{null!=o[t]&&o[t].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.L)?s:{}),...c.filter((([e,t])=>15&t[0])).map((([e,t])=>{const o=t[1]||e;return n.set(o,e),o}))]))}}return e},Me=(e,t={})=>{var l;const s=[],u=t.exclude||[],p=a.customElements,v=h.head,y=v.querySelector("meta[charset]"),w=h.createElement("style"),$=[];let b,g=!0;Object.assign(d,t),d.l=new URL(t.resourcesUrl||"./",h.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((t=>{var l;const f={o:t[0],S:t[1],H:t[2],W:t[3]};4&f.o&&(S=!0),f.H=t[2],f.L=null!=(l=t[4])?l:{};const a=f.S,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const o={o:0,$hostElement$:e,P:t,N:new Map};o.U=new Promise((e=>o.D=e)),o.B=new Promise((e=>o.A=e)),e["s-p"]=[],e["s-rc"]=[],n.set(e,o)})(e=this,f),1&f.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${f.S}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?$.push(this):d.jmp((()=>(e=>{if(!(1&d.o)){const t=o(e),n=t.P,l=()=>{};if(1&t.o)(null==t?void 0:t.t)||(null==t?void 0:t.B)&&t.B.then((()=>{}));else{t.o|=1,12&n.o&&(e=>{const t=e["s-cr"]=h.createComment("");t["s-cn"]=!0,ve(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ye(t,t.M=n);break}}n.H&&Object.entries(n.H).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.F){const e=(e=>{const t=e.S.replace(/-/g,"_"),n=e.F;if(!n)return;const o=r.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),i)
6
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.S}#${t.q}" was not found`);o.isProxied||(n.L=o.watchers,Ce(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){i(e)}t.o&=-9,t.o|=128,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=V(n);if(!c.has(t)){const o=()=>{};((e,t,n)=>{let o=c.get(e);m&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,c.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.M,s=()=>we(t,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()})(e,t,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const e=o(this);(null==e?void 0:e.t)||(null==e?void 0:e.B)&&e.B.then((()=>{}))}})()))}componentOnReady(){return o(this).B}};f.F=e[0],u.includes(a)||p.get(a)||(s.push(a),p.define(a,Ce(v,f,1)))}))})),s.length>0&&(S&&(w.textContent+=f),w.textContent+=s.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(l=d.R)?l:E(h);null!=e&&w.setAttribute("nonce",e),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):d.jmp((()=>b=setTimeout(Oe,30)))},Pe=e=>d.R=e;export{t as B,N as H,Me as b,q as c,F as g,H as h,p,l as r,Pe as s}
@@ -1,21 +0,0 @@
1
- import { InferType } from 'yup';
2
- export declare const ARABIC_JSON_FILE = "ar.json";
3
- export declare const ENGLISH_JSON_FILE = "en.json";
4
- export declare const KURDISH_JSON_FILE = "ku.json";
5
- export type LanguageKeys = 'en' | 'ar' | 'ku';
6
- export declare const languageMapper: {
7
- ar: string;
8
- en: string;
9
- ku: string;
10
- };
11
- export declare const localeSchema: import("yup").ObjectSchema<{
12
- lang: string;
13
- language: string;
14
- direction: string;
15
- }, import("yup").AnyObject, {
16
- lang: undefined;
17
- language: undefined;
18
- direction: undefined;
19
- }, "">;
20
- export type Locale = InferType<typeof localeSchema>;
21
- export declare const getLocaleLanguage: (fileKey: string) => Promise<Locale>;