q2-tecton-elements 1.60.2 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/bundle-report.json +16580 -15448
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/q2-action-group_2.cjs.entry.js +1 -1
  4. package/dist/cjs/q2-action-sheet.cjs.entry.js +1 -1
  5. package/dist/cjs/q2-badge.cjs.entry.js +82 -0
  6. package/dist/cjs/q2-badge.cjs.entry.js.map +1 -0
  7. package/dist/cjs/q2-badge.entry.cjs.js.map +1 -0
  8. package/dist/cjs/q2-btn.q2-loading.entry.cjs.js.map +1 -0
  9. package/dist/cjs/q2-btn_2.cjs.entry.js +432 -0
  10. package/dist/cjs/q2-btn_2.cjs.entry.js.map +1 -0
  11. package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-data-table.cjs.entry.js.map +1 -1
  13. package/dist/cjs/q2-data-table.entry.cjs.js.map +1 -1
  14. package/dist/cjs/q2-file-picker.cjs.entry.js +15 -3
  15. package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
  16. package/dist/cjs/q2-file-picker.entry.cjs.js.map +1 -1
  17. package/dist/cjs/q2-grid-area.cjs.entry.js +2 -2
  18. package/dist/cjs/q2-grid-area.cjs.entry.js.map +1 -1
  19. package/dist/cjs/q2-grid-area.entry.cjs.js.map +1 -1
  20. package/dist/cjs/q2-icon.cjs.entry.js +715 -0
  21. package/dist/cjs/q2-icon.cjs.entry.js.map +1 -0
  22. package/dist/cjs/q2-icon.entry.cjs.js.map +1 -0
  23. package/dist/cjs/q2-input.cjs.entry.js +3556 -0
  24. package/dist/cjs/q2-input.cjs.entry.js.map +1 -0
  25. package/dist/cjs/q2-input.entry.cjs.js.map +1 -0
  26. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  27. package/dist/cjs/q2-legend.cjs.entry.js.map +1 -1
  28. package/dist/cjs/q2-legend.entry.cjs.js.map +1 -1
  29. package/dist/cjs/q2-link.q2-list.entry.cjs.js.map +1 -1
  30. package/dist/cjs/q2-link_2.cjs.entry.js +1 -1
  31. package/dist/cjs/q2-link_2.cjs.entry.js.map +1 -1
  32. package/dist/cjs/q2-meter.cjs.entry.js +109 -0
  33. package/dist/cjs/q2-meter.cjs.entry.js.map +1 -0
  34. package/dist/cjs/q2-meter.entry.cjs.js.map +1 -0
  35. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  36. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-pagination.cjs.entry.js +23 -10
  38. package/dist/cjs/q2-pagination.cjs.entry.js.map +1 -1
  39. package/dist/cjs/q2-pagination.entry.cjs.js.map +1 -1
  40. package/dist/cjs/q2-pill.cjs.entry.js +36 -12
  41. package/dist/cjs/q2-pill.cjs.entry.js.map +1 -1
  42. package/dist/cjs/q2-pill.entry.cjs.js.map +1 -1
  43. package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
  44. package/dist/cjs/q2-section.cjs.entry.js +2 -2
  45. package/dist/cjs/q2-select.cjs.entry.js +6 -3
  46. package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
  47. package/dist/cjs/q2-select.entry.cjs.js.map +1 -1
  48. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
  49. package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
  50. package/dist/cjs/q2-tab-container.cjs.entry.js +280 -0
  51. package/dist/cjs/q2-tab-container.cjs.entry.js.map +1 -0
  52. package/dist/cjs/q2-tab-container.entry.cjs.js.map +1 -0
  53. package/dist/cjs/q2-tab-pane.cjs.entry.js +34 -0
  54. package/dist/cjs/q2-tab-pane.cjs.entry.js.map +1 -0
  55. package/dist/cjs/q2-tab-pane.entry.cjs.js.map +1 -0
  56. package/dist/cjs/q2-tag.cjs.entry.js +1 -1
  57. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  58. package/dist/cjs/{sanitize-html-string-BtI99lfg.js → sanitize-html-string-DPqrzfM9.js} +61 -27
  59. package/dist/cjs/sanitize-html-string-DPqrzfM9.js.map +1 -0
  60. package/dist/cjs/sprites-DZZE7UFT.js +22 -0
  61. package/dist/cjs/sprites-DZZE7UFT.js.map +1 -0
  62. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  63. package/dist/collection/collection-manifest.json +1 -0
  64. package/dist/collection/components/q2-data-table/q2-data-table.css +23 -2
  65. package/dist/collection/components/q2-file-picker/q2-file-picker.css +5 -0
  66. package/dist/collection/components/q2-file-picker/q2-file-picker.js +33 -2
  67. package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
  68. package/dist/collection/components/q2-grid-area/q2-grid-area.js +15 -15
  69. package/dist/collection/components/q2-grid-area/q2-grid-area.js.map +1 -1
  70. package/dist/collection/components/q2-icon/assets/brand.symbol.svg +1 -1
  71. package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
  72. package/dist/collection/components/q2-legend/q2-legend.css +7 -7
  73. package/dist/collection/components/q2-link/q2-link.css +3 -3
  74. package/dist/collection/components/q2-meter/q2-meter.css +230 -0
  75. package/dist/collection/components/q2-meter/q2-meter.js +384 -0
  76. package/dist/collection/components/q2-meter/q2-meter.js.map +1 -0
  77. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  78. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  79. package/dist/collection/components/q2-pagination/q2-pagination.js +29 -15
  80. package/dist/collection/components/q2-pagination/q2-pagination.js.map +1 -1
  81. package/dist/collection/components/q2-pill/q2-pill.css +10 -4
  82. package/dist/collection/components/q2-pill/q2-pill.js +35 -11
  83. package/dist/collection/components/q2-pill/q2-pill.js.map +1 -1
  84. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  85. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  86. package/dist/collection/components/q2-section/q2-section.js +2 -2
  87. package/dist/collection/components/q2-select/q2-select.js +6 -3
  88. package/dist/collection/components/q2-select/q2-select.js.map +1 -1
  89. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  90. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  91. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  92. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  93. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  94. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  95. package/dist/components/index.js +2 -0
  96. package/dist/components/index.js.map +1 -1
  97. package/dist/components/q2-data-table.js +1 -1
  98. package/dist/components/q2-data-table.js.map +1 -1
  99. package/dist/components/q2-file-picker.js +16 -3
  100. package/dist/components/q2-file-picker.js.map +1 -1
  101. package/dist/components/q2-grid-area.js +8 -8
  102. package/dist/components/q2-grid-area.js.map +1 -1
  103. package/dist/components/q2-legend2.js +1 -1
  104. package/dist/components/q2-legend2.js.map +1 -1
  105. package/dist/components/q2-link2.js +1 -1
  106. package/dist/components/q2-link2.js.map +1 -1
  107. package/dist/components/q2-meter.d.ts +11 -0
  108. package/dist/components/q2-meter.js +145 -0
  109. package/dist/components/q2-meter.js.map +1 -0
  110. package/dist/components/q2-modal.js +1 -1
  111. package/dist/components/q2-optgroup2.js +1 -1
  112. package/dist/components/q2-pagination.js +24 -11
  113. package/dist/components/q2-pagination.js.map +1 -1
  114. package/dist/components/q2-pill.js +36 -12
  115. package/dist/components/q2-pill.js.map +1 -1
  116. package/dist/components/q2-relative-time.js +1 -1
  117. package/dist/components/q2-resize-observer2.js +1 -1
  118. package/dist/components/q2-section.js +2 -2
  119. package/dist/components/q2-select2.js +6 -3
  120. package/dist/components/q2-select2.js.map +1 -1
  121. package/dist/components/q2-stepper-vertical.js +1 -1
  122. package/dist/components/q2-stepper.js +1 -1
  123. package/dist/components/q2-tab-container.js +1 -1
  124. package/dist/components/q2-tab-pane.js +1 -1
  125. package/dist/components/q2-tag.js +1 -1
  126. package/dist/components/q2-tooltip.js +1 -127
  127. package/dist/components/q2-tooltip.js.map +1 -1
  128. package/dist/components/q2-tooltip2.js +132 -0
  129. package/dist/components/q2-tooltip2.js.map +1 -0
  130. package/dist/components/sanitize-html-string.js +59 -25
  131. package/dist/components/sanitize-html-string.js.map +1 -1
  132. package/dist/components/tecton-tab-pane.js +2 -2
  133. package/dist/esm/{index-xCuy-dFb.js → index-LNnzUeDP.js} +3 -3
  134. package/dist/esm/{index-xCuy-dFb.js.map → index-LNnzUeDP.js.map} +1 -1
  135. package/dist/esm/loader.js +1 -1
  136. package/dist/esm/q2-action-group_2.entry.js +2 -2
  137. package/dist/esm/q2-action-sheet.entry.js +2 -2
  138. package/dist/esm/q2-badge.entry.js +80 -0
  139. package/dist/esm/q2-badge.entry.js.map +1 -0
  140. package/dist/esm/q2-btn.q2-loading.entry.js.map +1 -0
  141. package/dist/esm/q2-btn_2.entry.js +429 -0
  142. package/dist/esm/q2-btn_2.entry.js.map +1 -0
  143. package/dist/esm/q2-calendar.entry.js +1 -1
  144. package/dist/esm/q2-card.entry.js +1 -1
  145. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  146. package/dist/esm/q2-carousel.entry.js +1 -1
  147. package/dist/esm/q2-chart-area.entry.js +1 -1
  148. package/dist/esm/q2-chart-bar.entry.js +1 -1
  149. package/dist/esm/q2-chart-donut.entry.js +1 -1
  150. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  151. package/dist/esm/q2-checkbox.entry.js +1 -1
  152. package/dist/esm/q2-context.entry.js +1 -1
  153. package/dist/esm/q2-data-table.entry.js +2 -2
  154. package/dist/esm/q2-data-table.entry.js.map +1 -1
  155. package/dist/esm/q2-detail.entry.js +1 -1
  156. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  157. package/dist/esm/q2-dropdown.entry.js +1 -1
  158. package/dist/esm/q2-editable-field.entry.js +1 -1
  159. package/dist/esm/q2-file-picker.entry.js +16 -4
  160. package/dist/esm/q2-file-picker.entry.js.map +1 -1
  161. package/dist/esm/q2-grid-area.entry.js +2 -2
  162. package/dist/esm/q2-grid-area.entry.js.map +1 -1
  163. package/dist/esm/q2-icon.entry.js +713 -0
  164. package/dist/esm/q2-icon.entry.js.map +1 -0
  165. package/dist/esm/q2-input.entry.js +3554 -0
  166. package/dist/esm/q2-input.entry.js.map +1 -0
  167. package/dist/esm/q2-item.entry.js +1 -1
  168. package/dist/esm/q2-legend.entry.js +1 -1
  169. package/dist/esm/q2-legend.entry.js.map +1 -1
  170. package/dist/esm/q2-link.q2-list.entry.js.map +1 -1
  171. package/dist/esm/q2-link_2.entry.js +2 -2
  172. package/dist/esm/q2-link_2.entry.js.map +1 -1
  173. package/dist/esm/q2-loc.entry.js +1 -1
  174. package/dist/esm/q2-message.entry.js +1 -1
  175. package/dist/esm/q2-meter.entry.js +107 -0
  176. package/dist/esm/q2-meter.entry.js.map +1 -0
  177. package/dist/esm/q2-modal.entry.js +3 -3
  178. package/dist/esm/q2-month-picker.entry.js +1 -1
  179. package/dist/esm/q2-optgroup.entry.js +2 -2
  180. package/dist/esm/q2-option-list_2.entry.js +1 -1
  181. package/dist/esm/q2-option.entry.js +1 -1
  182. package/dist/esm/q2-pagination.entry.js +24 -11
  183. package/dist/esm/q2-pagination.entry.js.map +1 -1
  184. package/dist/esm/q2-pill.entry.js +37 -13
  185. package/dist/esm/q2-pill.entry.js.map +1 -1
  186. package/dist/esm/q2-radio-group.entry.js +1 -1
  187. package/dist/esm/q2-radio.entry.js +1 -1
  188. package/dist/esm/q2-relative-time.entry.js +2 -2
  189. package/dist/esm/q2-section.entry.js +3 -3
  190. package/dist/esm/q2-select.entry.js +7 -4
  191. package/dist/esm/q2-select.entry.js.map +1 -1
  192. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  193. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  194. package/dist/esm/q2-stepper.entry.js +2 -2
  195. package/dist/esm/q2-tab-container.entry.js +278 -0
  196. package/dist/esm/q2-tab-container.entry.js.map +1 -0
  197. package/dist/esm/q2-tab-pane.entry.js +32 -0
  198. package/dist/esm/q2-tab-pane.entry.js.map +1 -0
  199. package/dist/esm/q2-tag.entry.js +2 -2
  200. package/dist/esm/q2-tecton-elements.js +1 -1
  201. package/dist/esm/q2-textarea.entry.js +1 -1
  202. package/dist/esm/q2-tooltip.entry.js +1 -1
  203. package/dist/esm/{sanitize-html-string-DL0kgllh.js → sanitize-html-string-DOVERJq5.js} +61 -27
  204. package/dist/esm/sanitize-html-string-DOVERJq5.js.map +1 -0
  205. package/dist/esm/sprites-jG2RmiwF.js +20 -0
  206. package/dist/esm/sprites-jG2RmiwF.js.map +1 -0
  207. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  208. package/dist/q2-tecton-elements/assets/brand.symbol.svg +1 -1
  209. package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
  210. package/dist/q2-tecton-elements/{index-xCuy-dFb.js → index-LNnzUeDP.js} +3 -3
  211. package/dist/q2-tecton-elements/{index-xCuy-dFb.js.map → index-LNnzUeDP.js.map} +1 -1
  212. package/dist/q2-tecton-elements/q2-action-group_2.entry.js +2 -2
  213. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +2 -2
  214. package/dist/q2-tecton-elements/q2-badge.entry.esm.js.map +1 -0
  215. package/dist/q2-tecton-elements/q2-badge.entry.js +84 -0
  216. package/dist/q2-tecton-elements/q2-badge.entry.js.map +1 -0
  217. package/dist/q2-tecton-elements/q2-btn.q2-loading.entry.esm.js.map +1 -0
  218. package/dist/q2-tecton-elements/q2-btn_2.entry.js +453 -0
  219. package/dist/q2-tecton-elements/q2-btn_2.entry.js.map +1 -0
  220. package/dist/q2-tecton-elements/q2-calendar.entry.js +1 -1
  221. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  222. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +1 -1
  223. package/dist/q2-tecton-elements/q2-carousel.entry.js +5 -5
  224. package/dist/q2-tecton-elements/q2-chart-area.entry.js +1 -1
  225. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +1 -1
  226. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +9 -9
  227. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +1 -1
  228. package/dist/q2-tecton-elements/q2-checkbox.entry.js +1 -1
  229. package/dist/q2-tecton-elements/q2-context.entry.js +1 -1
  230. package/dist/q2-tecton-elements/q2-data-table.entry.esm.js.map +1 -1
  231. package/dist/q2-tecton-elements/q2-data-table.entry.js +109 -109
  232. package/dist/q2-tecton-elements/q2-data-table.entry.js.map +1 -1
  233. package/dist/q2-tecton-elements/q2-detail.entry.js +1 -1
  234. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +4 -4
  235. package/dist/q2-tecton-elements/q2-dropdown.entry.js +1 -1
  236. package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
  237. package/dist/q2-tecton-elements/q2-file-picker.entry.esm.js.map +1 -1
  238. package/dist/q2-tecton-elements/q2-file-picker.entry.js +112 -93
  239. package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
  240. package/dist/q2-tecton-elements/q2-grid-area.entry.esm.js.map +1 -1
  241. package/dist/q2-tecton-elements/q2-grid-area.entry.js +3 -3
  242. package/dist/q2-tecton-elements/q2-grid-area.entry.js.map +1 -1
  243. package/dist/q2-tecton-elements/q2-icon.entry.esm.js.map +1 -0
  244. package/dist/q2-tecton-elements/q2-icon.entry.js +870 -0
  245. package/dist/q2-tecton-elements/q2-icon.entry.js.map +1 -0
  246. package/dist/q2-tecton-elements/q2-input.entry.esm.js.map +1 -0
  247. package/dist/q2-tecton-elements/q2-input.entry.js +3883 -0
  248. package/dist/q2-tecton-elements/q2-input.entry.js.map +1 -0
  249. package/dist/q2-tecton-elements/q2-item.entry.js +1 -1
  250. package/dist/q2-tecton-elements/q2-legend.entry.esm.js.map +1 -1
  251. package/dist/q2-tecton-elements/q2-legend.entry.js +1 -1
  252. package/dist/q2-tecton-elements/q2-legend.entry.js.map +1 -1
  253. package/dist/q2-tecton-elements/q2-link.q2-list.entry.esm.js.map +1 -1
  254. package/dist/q2-tecton-elements/q2-link_2.entry.js +2 -2
  255. package/dist/q2-tecton-elements/q2-link_2.entry.js.map +1 -1
  256. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  257. package/dist/q2-tecton-elements/q2-message.entry.js +1 -1
  258. package/dist/q2-tecton-elements/q2-meter.entry.esm.js.map +1 -0
  259. package/dist/q2-tecton-elements/q2-meter.entry.js +176 -0
  260. package/dist/q2-tecton-elements/q2-meter.entry.js.map +1 -0
  261. package/dist/q2-tecton-elements/q2-modal.entry.js +24 -24
  262. package/dist/q2-tecton-elements/q2-month-picker.entry.js +1 -1
  263. package/dist/q2-tecton-elements/q2-optgroup.entry.js +5 -5
  264. package/dist/q2-tecton-elements/q2-option-list_2.entry.js +15 -15
  265. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  266. package/dist/q2-tecton-elements/q2-pagination.entry.esm.js.map +1 -1
  267. package/dist/q2-tecton-elements/q2-pagination.entry.js +43 -33
  268. package/dist/q2-tecton-elements/q2-pagination.entry.js.map +1 -1
  269. package/dist/q2-tecton-elements/q2-pill.entry.esm.js.map +1 -1
  270. package/dist/q2-tecton-elements/q2-pill.entry.js +57 -36
  271. package/dist/q2-tecton-elements/q2-pill.entry.js.map +1 -1
  272. package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
  273. package/dist/q2-tecton-elements/q2-radio.entry.js +4 -4
  274. package/dist/q2-tecton-elements/q2-relative-time.entry.js +2 -2
  275. package/dist/q2-tecton-elements/q2-section.entry.js +21 -21
  276. package/dist/q2-tecton-elements/q2-select.entry.esm.js.map +1 -1
  277. package/dist/q2-tecton-elements/q2-select.entry.js +7 -4
  278. package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
  279. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +1 -1
  280. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +19 -19
  281. package/dist/q2-tecton-elements/q2-stepper.entry.js +13 -13
  282. package/dist/q2-tecton-elements/q2-tab-container.entry.esm.js.map +1 -0
  283. package/dist/q2-tecton-elements/q2-tab-container.entry.js +348 -0
  284. package/dist/q2-tecton-elements/q2-tab-container.entry.js.map +1 -0
  285. package/dist/q2-tecton-elements/q2-tab-pane.entry.esm.js.map +1 -0
  286. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +44 -0
  287. package/dist/q2-tecton-elements/q2-tab-pane.entry.js.map +1 -0
  288. package/dist/q2-tecton-elements/q2-tag.entry.js +57 -57
  289. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  290. package/dist/q2-tecton-elements/q2-textarea.entry.js +1 -1
  291. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  292. package/dist/q2-tecton-elements/{sanitize-html-string-DL0kgllh.js → sanitize-html-string-DOVERJq5.js} +314 -282
  293. package/dist/q2-tecton-elements/sanitize-html-string-DOVERJq5.js.map +1 -0
  294. package/dist/q2-tecton-elements/sprites-jG2RmiwF.js +18 -0
  295. package/dist/q2-tecton-elements/sprites-jG2RmiwF.js.map +1 -0
  296. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
  297. package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +5 -0
  298. package/dist/types/components/q2-grid-area/q2-grid-area.d.ts +6 -6
  299. package/dist/types/components/q2-meter/q2-meter.d.ts +70 -0
  300. package/dist/types/components/q2-pagination/q2-pagination.d.ts +2 -1
  301. package/dist/types/components/q2-pill/q2-pill.d.ts +8 -1
  302. package/dist/types/components.d.ts +147 -4
  303. package/package.json +3 -3
  304. package/dist/cjs/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.cjs.js.map +0 -1
  305. package/dist/cjs/q2-badge_7.cjs.entry.js +0 -5074
  306. package/dist/cjs/q2-badge_7.cjs.entry.js.map +0 -1
  307. package/dist/cjs/sanitize-html-string-BtI99lfg.js.map +0 -1
  308. package/dist/esm/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.js.map +0 -1
  309. package/dist/esm/q2-badge_7.entry.js +0 -5066
  310. package/dist/esm/q2-badge_7.entry.js.map +0 -1
  311. package/dist/esm/sanitize-html-string-DL0kgllh.js.map +0 -1
  312. package/dist/q2-tecton-elements/q2-badge.q2-btn.q2-icon.q2-input.q2-loading.q2-tab-container.q2-tab-pane.entry.esm.js.map +0 -1
  313. package/dist/q2-tecton-elements/q2-badge_7.entry.js +0 -5659
  314. package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +0 -1
  315. package/dist/q2-tecton-elements/sanitize-html-string-DL0kgllh.js.map +0 -1
@@ -0,0 +1,3883 @@
1
+ import { r as t, c as r, h as a, F as e, H as i, g as s } from "./index-CGkHOjh1.js";
2
+
3
+ import { c as o, j as n, s as p, e as c, o as f, a as d, v as u, h as l, l as m, n as h, r as x, g as v } from "./index-LNnzUeDP.js";
4
+
5
+ function formatNumber(t = "", r = {
6
+ prefix: "",
7
+ suffix: "",
8
+ decimals: 0,
9
+ decimalSeparator: ".",
10
+ thousandsSeparator: "",
11
+ allowDecimal: false,
12
+ allowNegative: true
13
+ }, a = false) {
14
+ const e = t[0] === "-";
15
+ let i = t;
16
+ const s = !!r.allowDecimal && !!r.decimals;
17
+ if (a) {
18
+ const t = i.replace(/[^\d.]/g, "");
19
+ i = t && Number(t).toFixed(s ? r.decimals : 0) || "";
20
+ }
21
+ i = i.replace(/[^\d]/g, "");
22
+ let {integerString: o, decimalString: n} = splitValue(i, s, r.decimals);
23
+ // define decimalString
24
+ let p = r.decimalSeparator;
25
+ if (!s) {
26
+ p = "";
27
+ n = "";
28
+ }
29
+ // define negative
30
+ const c = r.allowNegative && e ? "-" : "";
31
+ i = `${c}${o}${p}${n}`;
32
+ // format integerString
33
+ o = o.replace(/\B(?=(\d{3})+(?!\d))/g, r.thousandsSeparator);
34
+ const f = c || o ? `${c}${o}${p}${n}` : "";
35
+ const d = c || o ? `${c}${r.prefix}${o}${p}${n}${r.suffix}` : "";
36
+ let u = f.length - i.length;
37
+ if (p) {
38
+ u = u + r.decimalSeparator.length;
39
+ }
40
+ const l = r.prefix || r.suffix;
41
+ const m = Number.MAX_SAFE_INTEGER.toString().length + u + n.length;
42
+ const h = `${o.replace(/[^0-9]/g, "")}${n}`.replace(/^0+/, "");
43
+ return {
44
+ value: i,
45
+ formattedValue: f,
46
+ fullyFormattedValue: d,
47
+ prefix: l,
48
+ suffix: "",
49
+ formattingCharacterCount: u,
50
+ maxlength: m,
51
+ unformattedValue: h
52
+ };
53
+ }
54
+
55
+ function splitValue(t, r = false, a) {
56
+ if (!r) {
57
+ return {
58
+ integerString: t,
59
+ decimalString: ""
60
+ };
61
+ }
62
+ const e = t.length - a;
63
+ let i = t.substring(0, e).padStart(1, "0");
64
+ if (i.length > 1 && i[0] === "0") {
65
+ i = i.substring(1);
66
+ }
67
+ const s = t.substring(e).padStart(a, "0");
68
+ return {
69
+ integerString: i,
70
+ decimalString: s
71
+ };
72
+ }
73
+
74
+ function formatValue(t = "", r = "", a) {
75
+ const e = a && a.prefix || "";
76
+ const i = a && a.suffix || "";
77
+ if (!t || !r) {
78
+ const r = `${e}${t}${i}`;
79
+ return {
80
+ value: t,
81
+ formattedValue: t,
82
+ fullyFormattedValue: r,
83
+ prefix: e.trim() || i.trim(),
84
+ formattingCharacterCount: 0,
85
+ unformattedValue: t
86
+ };
87
+ }
88
+ const {unformattedValue: s, formattedValue: o, formattingCharacterCount: n} = generateMask(t, r);
89
+ const p = `${e}${o}${i}`;
90
+ const c = r.length;
91
+ const f = getMinimumFormattedLength(r, e, i);
92
+ return {
93
+ value: s,
94
+ formattedValue: o,
95
+ fullyFormattedValue: p,
96
+ prefix: e.trim() || i.trim(),
97
+ formattingCharacterCount: n,
98
+ maxlength: c,
99
+ minFormattedLength: f,
100
+ unformattedValue: s
101
+ };
102
+ }
103
+
104
+ const b = [ "?" ];
105
+
106
+ function isOptionalValidatingChar(t) {
107
+ return b.includes(t);
108
+ }
109
+
110
+ const S = [ "#", "@", "*", ...b ];
111
+
112
+ function isKnownValidatingChar(t) {
113
+ return S.includes(t);
114
+ }
115
+
116
+ function getStaticFormattingChars(t) {
117
+ const r = S.join("|");
118
+ const a = t.replace(new RegExp(`[${r}]`, "g"), "").split("");
119
+ return new Set(a);
120
+ }
121
+
122
+ function isStaticFormattingChar(t, r) {
123
+ return r.has(t);
124
+ }
125
+
126
+ function getValidatedChar(t, r) {
127
+ switch (r) {
128
+ case "#":
129
+ t = t.replace(/[^\d]/g, "");
130
+ break;
131
+
132
+ case "@":
133
+ t = t.toUpperCase().replace(/[^A-Z]+/g, "");
134
+ // allows only upper case
135
+ break;
136
+
137
+ case "*":
138
+ t = t.toUpperCase().replace(/[^\dA-Z]+/g, "");
139
+ break;
140
+
141
+ case "?":
142
+ t = t.replace(/[^\d]/g, "");
143
+ break;
144
+
145
+ default:
146
+ return t;
147
+ }
148
+ return t;
149
+ }
150
+
151
+ function generateMask(t, r) {
152
+ const a = r.split("");
153
+ const e = getStaticFormattingChars(r);
154
+ let i = 0;
155
+ let s = 0;
156
+ let o = "";
157
+ const n = a.reduce(((r, a) => {
158
+ if (i >= t.length) {
159
+ return r;
160
+ }
161
+ if (isOptionalValidatingChar(a) && isStaticFormattingChar(t[i], e)) {
162
+ return r;
163
+ }
164
+ if (isKnownValidatingChar(a)) {
165
+ // Step value index if formatting character pushed out of place by user input
166
+ i = getNextNonFormattingCharIndex(t, i, e);
167
+ if (i >= t.length) {
168
+ return r;
169
+ }
170
+ const s = getValidatedChar(t[i], a);
171
+ r += s;
172
+ o += s;
173
+ i++;
174
+ } else {
175
+ // Static formatting characters added directly to formatted string
176
+ r += a;
177
+ s++;
178
+ if (a === t[i]) {
179
+ // Continue to walk value if next value at this index matches formatting character
180
+ i++;
181
+ }
182
+ }
183
+ return r;
184
+ }), "");
185
+ return {
186
+ unformattedValue: o,
187
+ formattedValue: n,
188
+ formattingCharacterCount: s
189
+ };
190
+ }
191
+
192
+ function getNextNonFormattingCharIndex(t, r, a) {
193
+ if (isStaticFormattingChar(t[r], a)) {
194
+ r++;
195
+ return getNextNonFormattingCharIndex(t, r, a);
196
+ }
197
+ return r;
198
+ }
199
+
200
+ function getMinimumFormattedLength(t, r, a) {
201
+ return t.replace(new RegExp(`[${b.join("|")}]`, "g"), "").length + r.length + a.length;
202
+ }
203
+
204
+ // decimal data source: http://www.iso.org/iso/home/standards/currency_codes.htm 09/Nov/2016
205
+ const g = {
206
+ AED: {
207
+ prefix: "",
208
+ suffix: "د.إ",
209
+ decimals: 2,
210
+ decimalSeparator: ".",
211
+ thousandsSeparator: ","
212
+ },
213
+ // '9,999.99د.إ'
214
+ AFN: {
215
+ prefix: "¤",
216
+ suffix: "",
217
+ decimals: 2,
218
+ decimalSeparator: ".",
219
+ thousandsSeparator: ","
220
+ },
221
+ // '¤9,999.99'
222
+ ALL: {
223
+ prefix: "L",
224
+ suffix: "",
225
+ decimals: 2,
226
+ decimalSeparator: ".",
227
+ thousandsSeparator: ","
228
+ },
229
+ // 'L9,999.99'
230
+ AMD: {
231
+ prefix: "դր.",
232
+ suffix: "",
233
+ decimals: 2,
234
+ decimalSeparator: ".",
235
+ thousandsSeparator: ","
236
+ },
237
+ // 'դր.9,999.99'
238
+ ANG: {
239
+ prefix: "ƒ",
240
+ suffix: "",
241
+ decimals: 2,
242
+ decimalSeparator: ".",
243
+ thousandsSeparator: ","
244
+ },
245
+ // 'ƒ9,999.99'
246
+ AOA: {
247
+ prefix: "Kz",
248
+ suffix: "",
249
+ decimals: 2,
250
+ decimalSeparator: ".",
251
+ thousandsSeparator: ","
252
+ },
253
+ // 'Kz9,999.99'
254
+ ARS: {
255
+ prefix: "$",
256
+ suffix: "",
257
+ decimals: 2,
258
+ decimalSeparator: ".",
259
+ thousandsSeparator: ","
260
+ },
261
+ // '$9,999.99'
262
+ AUD: {
263
+ prefix: "$",
264
+ suffix: "",
265
+ decimals: 2,
266
+ decimalSeparator: ".",
267
+ thousandsSeparator: ","
268
+ },
269
+ // '$9,999.99'
270
+ AWG: {
271
+ prefix: "ƒ",
272
+ suffix: "",
273
+ decimals: 2,
274
+ decimalSeparator: ".",
275
+ thousandsSeparator: ","
276
+ },
277
+ // 'ƒ9,999.99'
278
+ AZN: {
279
+ prefix: "¤",
280
+ suffix: "",
281
+ decimals: 2,
282
+ decimalSeparator: ".",
283
+ thousandsSeparator: ","
284
+ },
285
+ // '¤9,999.99'
286
+ BAM: {
287
+ prefix: "КМ",
288
+ suffix: "",
289
+ decimals: 2,
290
+ decimalSeparator: ".",
291
+ thousandsSeparator: ","
292
+ },
293
+ // 'КМ9,999.99'
294
+ BBD: {
295
+ prefix: "$",
296
+ suffix: "",
297
+ decimals: 2,
298
+ decimalSeparator: ".",
299
+ thousandsSeparator: ","
300
+ },
301
+ // '$9,999.99'
302
+ BDT: {
303
+ prefix: "৳",
304
+ suffix: "",
305
+ decimals: 2,
306
+ decimalSeparator: ".",
307
+ thousandsSeparator: ","
308
+ },
309
+ // '৳9,999.99'
310
+ BGN: {
311
+ prefix: "৳",
312
+ suffix: "",
313
+ decimals: 2,
314
+ decimalSeparator: ".",
315
+ thousandsSeparator: ","
316
+ },
317
+ // '৳9,999.99'
318
+ BHD: {
319
+ prefix: "",
320
+ suffix: "ب.د",
321
+ decimals: 3,
322
+ decimalSeparator: ".",
323
+ thousandsSeparator: ","
324
+ },
325
+ // '9,999.999ب.د'
326
+ BIF: {
327
+ prefix: "Fr",
328
+ suffix: "",
329
+ decimals: 0,
330
+ decimalSeparator: ".",
331
+ thousandsSeparator: ","
332
+ },
333
+ // 'Fr9,999'
334
+ BMD: {
335
+ prefix: "$",
336
+ suffix: "",
337
+ decimals: 2,
338
+ decimalSeparator: ".",
339
+ thousandsSeparator: ","
340
+ },
341
+ // '$9,999.99'
342
+ BND: {
343
+ prefix: "$",
344
+ suffix: "",
345
+ decimals: 2,
346
+ decimalSeparator: ".",
347
+ thousandsSeparator: ","
348
+ },
349
+ // '$9,999.99'
350
+ BOB: {
351
+ prefix: "Bs.",
352
+ suffix: "",
353
+ decimals: 2,
354
+ decimalSeparator: ".",
355
+ thousandsSeparator: ","
356
+ },
357
+ // 'Bs.9,999.99'
358
+ BRL: {
359
+ prefix: "R$",
360
+ suffix: "",
361
+ decimals: 2,
362
+ decimalSeparator: ".",
363
+ thousandsSeparator: ","
364
+ },
365
+ // 'R$9,999.99'
366
+ BSD: {
367
+ prefix: "$",
368
+ suffix: "",
369
+ decimals: 2,
370
+ decimalSeparator: ".",
371
+ thousandsSeparator: ","
372
+ },
373
+ // '$9,999.99'
374
+ BTN: {
375
+ prefix: "¤",
376
+ suffix: "",
377
+ decimals: 2,
378
+ decimalSeparator: ".",
379
+ thousandsSeparator: ","
380
+ },
381
+ // '¤9,999.99'
382
+ BWP: {
383
+ prefix: "P",
384
+ suffix: "",
385
+ decimals: 2,
386
+ decimalSeparator: ".",
387
+ thousandsSeparator: ","
388
+ },
389
+ // 'P9,999.99'
390
+ BYN: {
391
+ prefix: "Br",
392
+ suffix: "",
393
+ decimals: 0,
394
+ decimalSeparator: ".",
395
+ thousandsSeparator: ","
396
+ },
397
+ // 'Br9,999'
398
+ BZD: {
399
+ prefix: "$",
400
+ suffix: "",
401
+ decimals: 2,
402
+ decimalSeparator: ".",
403
+ thousandsSeparator: ","
404
+ },
405
+ // '$9,999.99'
406
+ CAD: {
407
+ prefix: "$",
408
+ suffix: "",
409
+ decimals: 2,
410
+ decimalSeparator: ".",
411
+ thousandsSeparator: ","
412
+ },
413
+ // '$9,999.99'
414
+ CDF: {
415
+ prefix: "Fr",
416
+ suffix: "",
417
+ decimals: 2,
418
+ decimalSeparator: ".",
419
+ thousandsSeparator: ","
420
+ },
421
+ // 'Fr9,999.99'
422
+ CHF: {
423
+ prefix: "Fr",
424
+ suffix: "",
425
+ decimals: 2,
426
+ decimalSeparator: ".",
427
+ thousandsSeparator: ","
428
+ },
429
+ // 'Fr9,999.99'
430
+ CLF: {
431
+ prefix: "Fr",
432
+ suffix: "",
433
+ decimals: 4,
434
+ decimalSeparator: ".",
435
+ thousandsSeparator: ","
436
+ },
437
+ // 'Fr9.999.9999'
438
+ CLP: {
439
+ prefix: "$",
440
+ suffix: "",
441
+ decimals: 0,
442
+ decimalSeparator: ".",
443
+ thousandsSeparator: ","
444
+ },
445
+ // '$9,999'
446
+ CNY: {
447
+ prefix: "¥",
448
+ suffix: "",
449
+ decimals: 2,
450
+ decimalSeparator: ".",
451
+ thousandsSeparator: ","
452
+ },
453
+ // '¥9,999.99'
454
+ COP: {
455
+ prefix: "$",
456
+ suffix: "",
457
+ decimals: 2,
458
+ decimalSeparator: ".",
459
+ thousandsSeparator: ","
460
+ },
461
+ // '$9,999.99'
462
+ CRC: {
463
+ prefix: "₡",
464
+ suffix: "",
465
+ decimals: 2,
466
+ decimalSeparator: ".",
467
+ thousandsSeparator: ","
468
+ },
469
+ // '₡9,999.99'
470
+ CUC: {
471
+ prefix: "$",
472
+ suffix: "",
473
+ decimals: 2,
474
+ decimalSeparator: ".",
475
+ thousandsSeparator: ","
476
+ },
477
+ // '$9,999.99'
478
+ CUP: {
479
+ prefix: "$",
480
+ suffix: "",
481
+ decimals: 2,
482
+ decimalSeparator: ".",
483
+ thousandsSeparator: ","
484
+ },
485
+ // '$9,999.99'
486
+ CVE: {
487
+ prefix: "$",
488
+ suffix: "",
489
+ decimals: 0,
490
+ decimalSeparator: ".",
491
+ thousandsSeparator: ","
492
+ },
493
+ // '$9,999'
494
+ CZK: {
495
+ prefix: "Kč",
496
+ suffix: "",
497
+ decimals: 2,
498
+ decimalSeparator: ".",
499
+ thousandsSeparator: ","
500
+ },
501
+ // 'Kč9,999.99'
502
+ DJF: {
503
+ prefix: "Fr",
504
+ suffix: "",
505
+ decimals: 0,
506
+ decimalSeparator: ".",
507
+ thousandsSeparator: ","
508
+ },
509
+ // 'Fr9,999'
510
+ DKK: {
511
+ prefix: "kr",
512
+ suffix: "",
513
+ decimals: 2,
514
+ decimalSeparator: ".",
515
+ thousandsSeparator: ","
516
+ },
517
+ // 'kr9,999.99'
518
+ DOP: {
519
+ prefix: "$",
520
+ suffix: "",
521
+ decimals: 2,
522
+ decimalSeparator: ".",
523
+ thousandsSeparator: ","
524
+ },
525
+ // '$9,999.99'
526
+ DZD: {
527
+ prefix: "",
528
+ suffix: "د.ج",
529
+ decimals: 2,
530
+ decimalSeparator: ".",
531
+ thousandsSeparator: ","
532
+ },
533
+ // '9,999.99د.ج'
534
+ EEK: {
535
+ prefix: "KR",
536
+ suffix: "",
537
+ decimals: 2,
538
+ decimalSeparator: ".",
539
+ thousandsSeparator: ","
540
+ },
541
+ // 'KR9,999.99'
542
+ EGP: {
543
+ prefix: "£",
544
+ suffix: "",
545
+ decimals: 2,
546
+ decimalSeparator: ".",
547
+ thousandsSeparator: ","
548
+ },
549
+ // '£9,999.99'
550
+ ERN: {
551
+ prefix: "Nfk",
552
+ suffix: "",
553
+ decimals: 2,
554
+ decimalSeparator: ".",
555
+ thousandsSeparator: ","
556
+ },
557
+ // 'Nfk9,999.99'
558
+ ETB: {
559
+ prefix: "¤",
560
+ suffix: "",
561
+ decimals: 2,
562
+ decimalSeparator: ".",
563
+ thousandsSeparator: ","
564
+ },
565
+ // '¤9,999.99'
566
+ EUR: {
567
+ prefix: "€",
568
+ suffix: "",
569
+ decimals: 2,
570
+ decimalSeparator: ".",
571
+ thousandsSeparator: ","
572
+ },
573
+ // '€9,999.99'
574
+ FJD: {
575
+ prefix: "$",
576
+ suffix: "",
577
+ decimals: 2,
578
+ decimalSeparator: ".",
579
+ thousandsSeparator: ","
580
+ },
581
+ // '$9,999.99'
582
+ FKP: {
583
+ prefix: "£",
584
+ suffix: "",
585
+ decimals: 2,
586
+ decimalSeparator: ".",
587
+ thousandsSeparator: ","
588
+ },
589
+ // '£9,999.99'
590
+ GBP: {
591
+ prefix: "£",
592
+ suffix: "",
593
+ decimals: 2,
594
+ decimalSeparator: ".",
595
+ thousandsSeparator: ","
596
+ },
597
+ // '£9,999.99'
598
+ GEL: {
599
+ prefix: "ლ",
600
+ suffix: "",
601
+ decimals: 2,
602
+ decimalSeparator: ".",
603
+ thousandsSeparator: ","
604
+ },
605
+ // 'ლ9,999.99'
606
+ GHS: {
607
+ prefix: "¤",
608
+ suffix: "",
609
+ decimals: 2,
610
+ decimalSeparator: ".",
611
+ thousandsSeparator: ","
612
+ },
613
+ // '¤9,999.99'
614
+ GIP: {
615
+ prefix: "£",
616
+ suffix: "",
617
+ decimals: 2,
618
+ decimalSeparator: ".",
619
+ thousandsSeparator: ","
620
+ },
621
+ // '£9,999.99'
622
+ GMD: {
623
+ prefix: "D",
624
+ suffix: "",
625
+ decimals: 2,
626
+ decimalSeparator: ".",
627
+ thousandsSeparator: ","
628
+ },
629
+ // 'D9,999.99'
630
+ GNF: {
631
+ prefix: "Fr",
632
+ suffix: "",
633
+ decimals: 0,
634
+ decimalSeparator: ".",
635
+ thousandsSeparator: ","
636
+ },
637
+ // 'Fr9,999'
638
+ GTQ: {
639
+ prefix: "Q",
640
+ suffix: "",
641
+ decimals: 2,
642
+ decimalSeparator: ".",
643
+ thousandsSeparator: ","
644
+ },
645
+ // 'Q9,999.99'
646
+ GYD: {
647
+ prefix: "$",
648
+ suffix: "",
649
+ decimals: 2,
650
+ decimalSeparator: ".",
651
+ thousandsSeparator: ","
652
+ },
653
+ // '$9,999.99'
654
+ HKD: {
655
+ prefix: "$",
656
+ suffix: "",
657
+ decimals: 2,
658
+ decimalSeparator: ".",
659
+ thousandsSeparator: ","
660
+ },
661
+ // '$9,999.9'
662
+ HNL: {
663
+ prefix: "L",
664
+ suffix: "",
665
+ decimals: 2,
666
+ decimalSeparator: ".",
667
+ thousandsSeparator: ","
668
+ },
669
+ // 'L9,999.99'
670
+ HRK: {
671
+ prefix: "kn",
672
+ suffix: "",
673
+ decimals: 2,
674
+ decimalSeparator: ".",
675
+ thousandsSeparator: ","
676
+ },
677
+ // 'kn9,999.99'
678
+ HTG: {
679
+ prefix: "G",
680
+ suffix: "",
681
+ decimals: 2,
682
+ decimalSeparator: ".",
683
+ thousandsSeparator: ","
684
+ },
685
+ // 'G9,999.99'
686
+ HUF: {
687
+ prefix: "Ft",
688
+ suffix: "",
689
+ decimals: 2,
690
+ decimalSeparator: ".",
691
+ thousandsSeparator: ","
692
+ },
693
+ // 'Ft9,999.99'
694
+ IDR: {
695
+ prefix: "Rs",
696
+ suffix: "",
697
+ decimals: 2,
698
+ decimalSeparator: ".",
699
+ thousandsSeparator: ","
700
+ },
701
+ // 'Rs9,999.99'
702
+ ILS: {
703
+ prefix: "₪",
704
+ suffix: "",
705
+ decimals: 2,
706
+ decimalSeparator: ".",
707
+ thousandsSeparator: ","
708
+ },
709
+ // '₪9,999.99'
710
+ INR: {
711
+ prefix: "₨",
712
+ suffix: "",
713
+ decimals: 2,
714
+ decimalSeparator: ".",
715
+ thousandsSeparator: ","
716
+ },
717
+ // '₨9,999.99'
718
+ IQD: {
719
+ prefix: "",
720
+ suffix: "ع.د",
721
+ decimals: 3,
722
+ decimalSeparator: ".",
723
+ thousandsSeparator: ","
724
+ },
725
+ // '9,999.999ع.د'
726
+ IRR: {
727
+ prefix: "¤",
728
+ suffix: "",
729
+ decimals: 2,
730
+ decimalSeparator: ".",
731
+ thousandsSeparator: ","
732
+ },
733
+ // '¤9,999.99'
734
+ ISK: {
735
+ prefix: "kr",
736
+ suffix: "",
737
+ decimals: 0,
738
+ decimalSeparator: ".",
739
+ thousandsSeparator: ","
740
+ },
741
+ // 'kr9,999'
742
+ JMD: {
743
+ prefix: "$",
744
+ suffix: "",
745
+ decimals: 2,
746
+ decimalSeparator: ".",
747
+ thousandsSeparator: ","
748
+ },
749
+ // '$9,999.99'
750
+ JOD: {
751
+ prefix: "",
752
+ suffix: "د.ا",
753
+ decimals: 3,
754
+ decimalSeparator: ".",
755
+ thousandsSeparator: ","
756
+ },
757
+ // '9,999.99د.ا'
758
+ JPY: {
759
+ prefix: "¥",
760
+ suffix: "",
761
+ decimals: 0,
762
+ decimalSeparator: ".",
763
+ thousandsSeparator: ","
764
+ },
765
+ // '¥9,999'
766
+ KES: {
767
+ prefix: "Sh",
768
+ suffix: "",
769
+ decimals: 2,
770
+ decimalSeparator: ".",
771
+ thousandsSeparator: ","
772
+ },
773
+ // 'Sh9,999.99'
774
+ KGS: {
775
+ prefix: "¤",
776
+ suffix: "",
777
+ decimals: 2,
778
+ decimalSeparator: ".",
779
+ thousandsSeparator: ","
780
+ },
781
+ // '¤9,999.99'
782
+ KHR: {
783
+ prefix: "¤",
784
+ suffix: "",
785
+ decimals: 2,
786
+ decimalSeparator: ".",
787
+ thousandsSeparator: ","
788
+ },
789
+ // '¤9,999.99'
790
+ KMF: {
791
+ prefix: "Fr",
792
+ suffix: "",
793
+ decimals: 0,
794
+ decimalSeparator: ".",
795
+ thousandsSeparator: ","
796
+ },
797
+ // 'Fr9,999'
798
+ KPW: {
799
+ prefix: "₩",
800
+ suffix: "",
801
+ decimals: 2,
802
+ decimalSeparator: ".",
803
+ thousandsSeparator: ","
804
+ },
805
+ // '₩9,999.99'
806
+ KRW: {
807
+ prefix: "₩",
808
+ suffix: "",
809
+ decimals: 0,
810
+ decimalSeparator: ".",
811
+ thousandsSeparator: ","
812
+ },
813
+ // '₩9,999.99'
814
+ KWD: {
815
+ prefix: "د.ك",
816
+ suffix: "",
817
+ decimals: 3,
818
+ decimalSeparator: ".",
819
+ thousandsSeparator: ","
820
+ },
821
+ // '9,999.999د.ك'
822
+ KYD: {
823
+ prefix: "$",
824
+ suffix: "",
825
+ decimals: 2,
826
+ decimalSeparator: ".",
827
+ thousandsSeparator: ","
828
+ },
829
+ // '$9,999.99'
830
+ KZT: {
831
+ prefix: "〒",
832
+ suffix: "",
833
+ decimals: 2,
834
+ decimalSeparator: ".",
835
+ thousandsSeparator: ","
836
+ },
837
+ // '〒9,999.99'
838
+ LAK: {
839
+ prefix: "₭",
840
+ suffix: "",
841
+ decimals: 2,
842
+ decimalSeparator: ".",
843
+ thousandsSeparator: ","
844
+ },
845
+ // '₭9,999.99'
846
+ LBP: {
847
+ prefix: "",
848
+ suffix: "ل.ل",
849
+ decimals: 2,
850
+ decimalSeparator: ".",
851
+ thousandsSeparator: ","
852
+ },
853
+ // 'ل.ل9,999.99'
854
+ LKR: {
855
+ prefix: "Rs",
856
+ suffix: "",
857
+ decimals: 2,
858
+ decimalSeparator: ".",
859
+ thousandsSeparator: ","
860
+ },
861
+ // 'Rs9,999.99'
862
+ LRD: {
863
+ prefix: "$",
864
+ suffix: "",
865
+ decimals: 2,
866
+ decimalSeparator: ".",
867
+ thousandsSeparator: ","
868
+ },
869
+ // '$9,999.99'
870
+ LSL: {
871
+ prefix: "L",
872
+ suffix: "",
873
+ decimals: 2,
874
+ decimalSeparator: ".",
875
+ thousandsSeparator: ","
876
+ },
877
+ // 'L9,999.99'
878
+ LTL: {
879
+ prefix: "Lt",
880
+ suffix: "",
881
+ decimals: 2,
882
+ decimalSeparator: ".",
883
+ thousandsSeparator: ","
884
+ },
885
+ // 'Lt9,999.99'
886
+ LVL: {
887
+ prefix: "Ls",
888
+ suffix: "",
889
+ decimals: 2,
890
+ decimalSeparator: ".",
891
+ thousandsSeparator: ","
892
+ },
893
+ // 'Ls9,999.99'
894
+ LYD: {
895
+ prefix: "",
896
+ suffix: "ل.د",
897
+ decimals: 3,
898
+ decimalSeparator: ".",
899
+ thousandsSeparator: ","
900
+ },
901
+ // '9,999.999ل.د'
902
+ MAD: {
903
+ prefix: "",
904
+ suffix: "د.م.",
905
+ decimals: 2,
906
+ decimalSeparator: ".",
907
+ thousandsSeparator: ","
908
+ },
909
+ // '9,999.99د.م.'
910
+ MDL: {
911
+ prefix: "L",
912
+ suffix: "",
913
+ decimals: 2,
914
+ decimalSeparator: ".",
915
+ thousandsSeparator: ","
916
+ },
917
+ // 'L9,999.99'
918
+ MGA: {
919
+ prefix: "¤",
920
+ suffix: "",
921
+ decimals: 1,
922
+ decimalSeparator: ".",
923
+ thousandsSeparator: ","
924
+ },
925
+ // '¤9,999.9'
926
+ MKD: {
927
+ prefix: "ден",
928
+ suffix: "",
929
+ decimals: 2,
930
+ decimalSeparator: ".",
931
+ thousandsSeparator: ","
932
+ },
933
+ // 'ден9,999.99'
934
+ MMK: {
935
+ prefix: "K",
936
+ suffix: "",
937
+ decimals: 2,
938
+ decimalSeparator: ".",
939
+ thousandsSeparator: ","
940
+ },
941
+ // 'K9,999.99'
942
+ MNT: {
943
+ prefix: "₮",
944
+ suffix: "",
945
+ decimals: 2,
946
+ decimalSeparator: ".",
947
+ thousandsSeparator: ","
948
+ },
949
+ // '₮9,999.99'
950
+ MOP: {
951
+ prefix: "P",
952
+ suffix: "",
953
+ decimals: 2,
954
+ decimalSeparator: ".",
955
+ thousandsSeparator: ","
956
+ },
957
+ // 'P9,999.99'
958
+ MRU: {
959
+ prefix: "UM",
960
+ suffix: "",
961
+ decimals: 1,
962
+ decimalSeparator: ".",
963
+ thousandsSeparator: ","
964
+ },
965
+ // 'UM9,999.9'
966
+ MUR: {
967
+ prefix: "₨",
968
+ suffix: "",
969
+ decimals: 2,
970
+ decimalSeparator: ".",
971
+ thousandsSeparator: ","
972
+ },
973
+ // '₨9,999.99'
974
+ MVR: {
975
+ prefix: "¤",
976
+ suffix: "",
977
+ decimals: 2,
978
+ decimalSeparator: ".",
979
+ thousandsSeparator: ","
980
+ },
981
+ // '¤9,999.99'
982
+ MWK: {
983
+ prefix: "MK",
984
+ suffix: "",
985
+ decimals: 2,
986
+ decimalSeparator: ".",
987
+ thousandsSeparator: ","
988
+ },
989
+ // 'MK9,999.99'
990
+ MXN: {
991
+ prefix: "$",
992
+ suffix: "",
993
+ decimals: 2,
994
+ decimalSeparator: ".",
995
+ thousandsSeparator: ","
996
+ },
997
+ // '$9,999.99'
998
+ MYR: {
999
+ prefix: "RM",
1000
+ suffix: "",
1001
+ decimals: 2,
1002
+ decimalSeparator: ".",
1003
+ thousandsSeparator: ","
1004
+ },
1005
+ // 'RM9,999.99'
1006
+ MZN: {
1007
+ prefix: "MTn",
1008
+ suffix: "",
1009
+ decimals: 2,
1010
+ decimalSeparator: ".",
1011
+ thousandsSeparator: ","
1012
+ },
1013
+ // 'MTn9,999.99'
1014
+ NAD: {
1015
+ prefix: "$",
1016
+ suffix: "",
1017
+ decimals: 2,
1018
+ decimalSeparator: ".",
1019
+ thousandsSeparator: ","
1020
+ },
1021
+ // '$9,999.99'
1022
+ NGN: {
1023
+ prefix: "₦",
1024
+ suffix: "",
1025
+ decimals: 2,
1026
+ decimalSeparator: ".",
1027
+ thousandsSeparator: ","
1028
+ },
1029
+ // '₦9,999.99'
1030
+ NIO: {
1031
+ prefix: "C$",
1032
+ suffix: "",
1033
+ decimals: 2,
1034
+ decimalSeparator: ".",
1035
+ thousandsSeparator: ","
1036
+ },
1037
+ // 'C$9,999.99'
1038
+ NOK: {
1039
+ prefix: "kr",
1040
+ suffix: "",
1041
+ decimals: 2,
1042
+ decimalSeparator: ".",
1043
+ thousandsSeparator: ","
1044
+ },
1045
+ // 'kr9,999.99'
1046
+ NPR: {
1047
+ prefix: "₨",
1048
+ suffix: "",
1049
+ decimals: 2,
1050
+ decimalSeparator: ".",
1051
+ thousandsSeparator: ","
1052
+ },
1053
+ // '₨9,999.99'
1054
+ NZD: {
1055
+ prefix: "$",
1056
+ suffix: "",
1057
+ decimals: 2,
1058
+ decimalSeparator: ".",
1059
+ thousandsSeparator: ","
1060
+ },
1061
+ // '$9,999.99'
1062
+ OMR: {
1063
+ prefix: "",
1064
+ suffix: "ر.ع.",
1065
+ decimals: 3,
1066
+ decimalSeparator: ".",
1067
+ thousandsSeparator: ","
1068
+ },
1069
+ // '9,999.999ر.ع.'
1070
+ PAB: {
1071
+ prefix: "B/.",
1072
+ suffix: "",
1073
+ decimals: 2,
1074
+ decimalSeparator: ".",
1075
+ thousandsSeparator: ","
1076
+ },
1077
+ // 'B/.9,999.99'
1078
+ PEN: {
1079
+ prefix: "S/.",
1080
+ suffix: "",
1081
+ decimals: 2,
1082
+ decimalSeparator: ".",
1083
+ thousandsSeparator: ","
1084
+ },
1085
+ // 'S/.9,999.99'
1086
+ PGK: {
1087
+ prefix: "K",
1088
+ suffix: "",
1089
+ decimals: 2,
1090
+ decimalSeparator: ".",
1091
+ thousandsSeparator: ","
1092
+ },
1093
+ // 'K9,999.99'
1094
+ PHP: {
1095
+ prefix: "p",
1096
+ suffix: "",
1097
+ decimals: 2,
1098
+ decimalSeparator: ".",
1099
+ thousandsSeparator: ","
1100
+ },
1101
+ // 'p9,999.99'
1102
+ PKR: {
1103
+ prefix: "₨",
1104
+ suffix: "",
1105
+ decimals: 2,
1106
+ decimalSeparator: ".",
1107
+ thousandsSeparator: ","
1108
+ },
1109
+ // '₨9,999.99'
1110
+ PLN: {
1111
+ prefix: "zł",
1112
+ suffix: "",
1113
+ decimals: 2,
1114
+ decimalSeparator: ".",
1115
+ thousandsSeparator: ","
1116
+ },
1117
+ // 'zł9,999.99'
1118
+ PYG: {
1119
+ prefix: "¤",
1120
+ suffix: "",
1121
+ decimals: 0,
1122
+ decimalSeparator: ".",
1123
+ thousandsSeparator: ","
1124
+ },
1125
+ // '¤9,999'
1126
+ QAR: {
1127
+ prefix: "",
1128
+ suffix: "ر.ق",
1129
+ decimals: 2,
1130
+ decimalSeparator: ".",
1131
+ thousandsSeparator: ","
1132
+ },
1133
+ // '9,999.99ر.ق'
1134
+ RON: {
1135
+ prefix: "L",
1136
+ suffix: "",
1137
+ decimals: 2,
1138
+ decimalSeparator: ".",
1139
+ thousandsSeparator: ","
1140
+ },
1141
+ // 'L9,999.99'
1142
+ RSD: {
1143
+ prefix: "дин.",
1144
+ suffix: "",
1145
+ decimals: 2,
1146
+ decimalSeparator: ".",
1147
+ thousandsSeparator: ","
1148
+ },
1149
+ // 'дин.9,999.99'
1150
+ RUB: {
1151
+ prefix: "руб.",
1152
+ suffix: "",
1153
+ decimals: 2,
1154
+ decimalSeparator: ".",
1155
+ thousandsSeparator: ","
1156
+ },
1157
+ // 'руб.9,999.99'
1158
+ RWF: {
1159
+ prefix: "Fr",
1160
+ suffix: "",
1161
+ decimals: 0,
1162
+ decimalSeparator: ".",
1163
+ thousandsSeparator: ","
1164
+ },
1165
+ // 'Fr9,999'
1166
+ SAR: {
1167
+ prefix: "",
1168
+ suffix: "ر.س",
1169
+ decimals: 2,
1170
+ decimalSeparator: ".",
1171
+ thousandsSeparator: ","
1172
+ },
1173
+ // '9,999.99ر.س'
1174
+ SBD: {
1175
+ prefix: "$",
1176
+ suffix: "",
1177
+ decimals: 2,
1178
+ decimalSeparator: ".",
1179
+ thousandsSeparator: ","
1180
+ },
1181
+ // '$9,999.99'
1182
+ SCR: {
1183
+ prefix: "₨",
1184
+ suffix: "",
1185
+ decimals: 2,
1186
+ decimalSeparator: ".",
1187
+ thousandsSeparator: ","
1188
+ },
1189
+ // '₨9,999.99'
1190
+ SDG: {
1191
+ prefix: "£",
1192
+ suffix: "",
1193
+ decimals: 2,
1194
+ decimalSeparator: ".",
1195
+ thousandsSeparator: ","
1196
+ },
1197
+ // '£9,999.99'
1198
+ SEK: {
1199
+ prefix: "kr",
1200
+ suffix: "",
1201
+ decimals: 2,
1202
+ decimalSeparator: ".",
1203
+ thousandsSeparator: ","
1204
+ },
1205
+ // 'kr9,999.99'
1206
+ SGD: {
1207
+ prefix: "$",
1208
+ suffix: "",
1209
+ decimals: 2,
1210
+ decimalSeparator: ".",
1211
+ thousandsSeparator: ","
1212
+ },
1213
+ // '$9,999.99'
1214
+ SHP: {
1215
+ prefix: "£",
1216
+ suffix: "",
1217
+ decimals: 2,
1218
+ decimalSeparator: ".",
1219
+ thousandsSeparator: ","
1220
+ },
1221
+ // '£9,999.99'
1222
+ SKK: {
1223
+ prefix: "Sk",
1224
+ suffix: "",
1225
+ decimals: 2,
1226
+ decimalSeparator: ".",
1227
+ thousandsSeparator: ","
1228
+ },
1229
+ // 'Sk9,999.99'
1230
+ SLL: {
1231
+ prefix: "Le",
1232
+ suffix: "",
1233
+ decimals: 2,
1234
+ decimalSeparator: ".",
1235
+ thousandsSeparator: ","
1236
+ },
1237
+ // 'Le9,999.99'
1238
+ SOS: {
1239
+ prefix: "Sh",
1240
+ suffix: "",
1241
+ decimals: 2,
1242
+ decimalSeparator: ".",
1243
+ thousandsSeparator: ","
1244
+ },
1245
+ // 'Sh9,999.99'
1246
+ SRD: {
1247
+ prefix: "$",
1248
+ suffix: "",
1249
+ decimals: 2,
1250
+ decimalSeparator: ".",
1251
+ thousandsSeparator: ","
1252
+ },
1253
+ // '$9,999.99'
1254
+ STN: {
1255
+ prefix: "Db",
1256
+ suffix: "",
1257
+ decimals: 2,
1258
+ decimalSeparator: ".",
1259
+ thousandsSeparator: ","
1260
+ },
1261
+ // 'Db9,999.99'
1262
+ SVC: {
1263
+ prefix: "₡",
1264
+ suffix: "",
1265
+ decimals: 2,
1266
+ decimalSeparator: ".",
1267
+ thousandsSeparator: ","
1268
+ },
1269
+ // '₡9,999.99'
1270
+ SYP: {
1271
+ prefix: "£",
1272
+ suffix: "",
1273
+ decimals: 2,
1274
+ decimalSeparator: ".",
1275
+ thousandsSeparator: ","
1276
+ },
1277
+ // '£9,999.99'
1278
+ SZL: {
1279
+ prefix: "L",
1280
+ suffix: "",
1281
+ decimals: 2,
1282
+ decimalSeparator: ".",
1283
+ thousandsSeparator: ","
1284
+ },
1285
+ // 'L9,999.99'
1286
+ THB: {
1287
+ prefix: "฿",
1288
+ suffix: "",
1289
+ decimals: 2,
1290
+ decimalSeparator: ".",
1291
+ thousandsSeparator: ","
1292
+ },
1293
+ // '฿9,999.99'
1294
+ TJS: {
1295
+ prefix: "ЅМ",
1296
+ suffix: "",
1297
+ decimals: 2,
1298
+ decimalSeparator: ".",
1299
+ thousandsSeparator: ","
1300
+ },
1301
+ // 'ЅМ9,999.99'
1302
+ TMM: {
1303
+ prefix: "m",
1304
+ suffix: "",
1305
+ decimals: 2,
1306
+ decimalSeparator: ".",
1307
+ thousandsSeparator: ","
1308
+ },
1309
+ // 'm9,999.99'
1310
+ TND: {
1311
+ prefix: "",
1312
+ suffix: "د.ت",
1313
+ decimals: 3,
1314
+ decimalSeparator: ".",
1315
+ thousandsSeparator: ","
1316
+ },
1317
+ // '9,999.999د.ت'
1318
+ TOP: {
1319
+ prefix: "T$",
1320
+ suffix: "",
1321
+ decimals: 2,
1322
+ decimalSeparator: ".",
1323
+ thousandsSeparator: ","
1324
+ },
1325
+ // 'T$9,999.99'
1326
+ TRY: {
1327
+ prefix: "YTL",
1328
+ suffix: "",
1329
+ decimals: 2,
1330
+ decimalSeparator: ".",
1331
+ thousandsSeparator: ","
1332
+ },
1333
+ // 'YTL9,999.99'
1334
+ TTD: {
1335
+ prefix: "$",
1336
+ suffix: "",
1337
+ decimals: 2,
1338
+ decimalSeparator: ".",
1339
+ thousandsSeparator: ","
1340
+ },
1341
+ // '$9,999.99'
1342
+ TWD: {
1343
+ prefix: "$",
1344
+ suffix: "",
1345
+ decimals: 2,
1346
+ decimalSeparator: ".",
1347
+ thousandsSeparator: ","
1348
+ },
1349
+ // '$9,999.99'
1350
+ TZS: {
1351
+ prefix: "Sh",
1352
+ suffix: "",
1353
+ decimals: 2,
1354
+ decimalSeparator: ".",
1355
+ thousandsSeparator: ","
1356
+ },
1357
+ // 'Sh9,999.99'
1358
+ UAH: {
1359
+ prefix: "¤",
1360
+ suffix: "",
1361
+ decimals: 2,
1362
+ decimalSeparator: ".",
1363
+ thousandsSeparator: ","
1364
+ },
1365
+ // '¤9,999.99'
1366
+ UGX: {
1367
+ prefix: "Sh",
1368
+ suffix: "",
1369
+ decimals: 0,
1370
+ decimalSeparator: ".",
1371
+ thousandsSeparator: ","
1372
+ },
1373
+ // 'Sh9,999'
1374
+ USD: {
1375
+ prefix: "$",
1376
+ suffix: "",
1377
+ decimals: 2,
1378
+ decimalSeparator: ".",
1379
+ thousandsSeparator: ","
1380
+ },
1381
+ // '$9,999.99'
1382
+ UYU: {
1383
+ prefix: "$",
1384
+ suffix: "",
1385
+ decimals: 0,
1386
+ decimalSeparator: ".",
1387
+ thousandsSeparator: ","
1388
+ },
1389
+ // '$9,999'
1390
+ UZS: {
1391
+ prefix: "¤",
1392
+ suffix: "",
1393
+ decimals: 2,
1394
+ decimalSeparator: ".",
1395
+ thousandsSeparator: ","
1396
+ },
1397
+ // '¤9,999.99'
1398
+ VEF: {
1399
+ prefix: "Bs F",
1400
+ suffix: "",
1401
+ decimals: 2,
1402
+ decimalSeparator: ".",
1403
+ thousandsSeparator: ","
1404
+ },
1405
+ // 'Bs F9,999.99'
1406
+ VND: {
1407
+ prefix: "₫",
1408
+ suffix: "",
1409
+ decimals: 0,
1410
+ decimalSeparator: ".",
1411
+ thousandsSeparator: ","
1412
+ },
1413
+ // '₫9,999'
1414
+ VUV: {
1415
+ prefix: "Vt",
1416
+ suffix: "",
1417
+ decimals: 0,
1418
+ decimalSeparator: ".",
1419
+ thousandsSeparator: ","
1420
+ },
1421
+ // 'Vt9,999'
1422
+ WST: {
1423
+ prefix: "T",
1424
+ suffix: "",
1425
+ decimals: 2,
1426
+ decimalSeparator: ".",
1427
+ thousandsSeparator: ","
1428
+ },
1429
+ // 'T9,999.99'
1430
+ XAF: {
1431
+ prefix: "Fr",
1432
+ suffix: "",
1433
+ decimals: 0,
1434
+ decimalSeparator: ".",
1435
+ thousandsSeparator: ","
1436
+ },
1437
+ // 'Fr9,999'
1438
+ XCD: {
1439
+ prefix: "$",
1440
+ suffix: "",
1441
+ decimals: 2,
1442
+ decimalSeparator: ".",
1443
+ thousandsSeparator: ","
1444
+ },
1445
+ // '$9,999.99'
1446
+ XOF: {
1447
+ prefix: "Fr",
1448
+ suffix: "",
1449
+ decimals: 0,
1450
+ decimalSeparator: ".",
1451
+ thousandsSeparator: ","
1452
+ },
1453
+ // 'Fr9,999'
1454
+ XPF: {
1455
+ prefix: "Fr",
1456
+ suffix: "",
1457
+ decimals: 0,
1458
+ decimalSeparator: ".",
1459
+ thousandsSeparator: ","
1460
+ },
1461
+ // 'Fr9,999'
1462
+ YER: {
1463
+ prefix: "¤",
1464
+ suffix: "",
1465
+ decimals: 2,
1466
+ decimalSeparator: ".",
1467
+ thousandsSeparator: ","
1468
+ },
1469
+ // '¤9,999.99'
1470
+ ZAR: {
1471
+ prefix: "R",
1472
+ suffix: "",
1473
+ decimals: 2,
1474
+ decimalSeparator: ".",
1475
+ thousandsSeparator: ","
1476
+ },
1477
+ // 'R9,999.99'
1478
+ ZMW: {
1479
+ prefix: "ZK",
1480
+ suffix: "",
1481
+ decimals: 2,
1482
+ decimalSeparator: ".",
1483
+ thousandsSeparator: ","
1484
+ },
1485
+ // 'ZK9,999.99'
1486
+ ZWD: {
1487
+ prefix: "$",
1488
+ suffix: "",
1489
+ decimals: 2,
1490
+ decimalSeparator: ".",
1491
+ thousandsSeparator: ","
1492
+ }
1493
+ };
1494
+
1495
+ function formatCurrency(t, r = "USD", a = false) {
1496
+ let e = r || "";
1497
+ let i = true;
1498
+ if (e.includes("-integer")) {
1499
+ e = e.split("-integer")[0];
1500
+ i = false;
1501
+ }
1502
+ const s = g[e];
1503
+ if (!s) {
1504
+ return formatValue(t);
1505
+ }
1506
+ const o = Object.assign(Object.assign({}, s), {
1507
+ allowDecimal: i && s.decimals > 0,
1508
+ allowNegative: false
1509
+ });
1510
+ return formatNumber(t, o, a);
1511
+ }
1512
+
1513
+ const k = {
1514
+ AF: {
1515
+ mask: "(##) #######",
1516
+ prefix: "+93 "
1517
+ },
1518
+ AL: {
1519
+ mask: "#######",
1520
+ prefix: "+355 "
1521
+ },
1522
+ DZ: {
1523
+ mask: "(##) ###-###",
1524
+ prefix: "+213 "
1525
+ },
1526
+ // AS
1527
+ AD: {
1528
+ mask: "(#) #####",
1529
+ prefix: "+376 "
1530
+ },
1531
+ AO: {
1532
+ mask: "#########",
1533
+ prefix: "+244 "
1534
+ },
1535
+ AI: {
1536
+ mask: "(###) ###-####",
1537
+ prefix: "+1 "
1538
+ },
1539
+ AG: {
1540
+ mask: "(###) ###-####",
1541
+ prefix: "+1 "
1542
+ },
1543
+ AR: {
1544
+ mask: "##########",
1545
+ prefix: "+54 "
1546
+ },
1547
+ AM: {
1548
+ mask: "########",
1549
+ prefix: "+375 "
1550
+ },
1551
+ AQ: {
1552
+ mask: "##-####",
1553
+ prefix: "+672 "
1554
+ },
1555
+ AW: {
1556
+ mask: "###-####",
1557
+ prefix: "+297 "
1558
+ },
1559
+ AU: {
1560
+ mask: "(##) ####-####",
1561
+ prefix: "+61 "
1562
+ },
1563
+ /* AT: {
1564
+ mask:'####?????????',
1565
+ prefix: ''
1566
+ }, */
1567
+ AT: {
1568
+ mask: "#############",
1569
+ prefix: "+43 "
1570
+ },
1571
+ /* AZ: {
1572
+ mask:'########?',
1573
+ prefix: ''
1574
+ }, */
1575
+ AZ: {
1576
+ mask: "#########",
1577
+ prefix: "+994 "
1578
+ },
1579
+ BS: {
1580
+ mask: "(###) ###-####",
1581
+ prefix: "+1 "
1582
+ },
1583
+ BH: {
1584
+ mask: "####-####",
1585
+ prefix: "+973 "
1586
+ },
1587
+ /* BD: {
1588
+ mask:'#######??',
1589
+ prefix: ''
1590
+ }, */
1591
+ BD: {
1592
+ mask: "#########",
1593
+ prefix: "+880 "
1594
+ },
1595
+ BB: {
1596
+ mask: "(###) ###-####",
1597
+ prefix: "+1 "
1598
+ },
1599
+ BY: {
1600
+ mask: "#########",
1601
+ prefix: "+375 "
1602
+ },
1603
+ BE: {
1604
+ mask: "########??",
1605
+ prefix: "+32 "
1606
+ },
1607
+ BZ: {
1608
+ mask: "#######",
1609
+ prefix: "+501 "
1610
+ },
1611
+ BJ: {
1612
+ mask: "(##) ###-###",
1613
+ prefix: "+229 "
1614
+ },
1615
+ BM: {
1616
+ mask: "(###) ###-####",
1617
+ prefix: "+1 "
1618
+ },
1619
+ BT: {
1620
+ mask: "(#) ###-###",
1621
+ prefix: "+975 "
1622
+ },
1623
+ BO: {
1624
+ mask: "(#) ###-####",
1625
+ prefix: "+591 "
1626
+ },
1627
+ BA: {
1628
+ mask: "(##) ##-##-##",
1629
+ prefix: "+387 "
1630
+ },
1631
+ /* BW: {
1632
+ mask:'#######?',
1633
+ prefix: ''
1634
+ }, */
1635
+ BW: {
1636
+ mask: "########",
1637
+ prefix: "+267 "
1638
+ },
1639
+ BR: {
1640
+ mask: "(##) ####-####",
1641
+ prefix: "+55 "
1642
+ },
1643
+ BN: {
1644
+ mask: "###-####",
1645
+ prefix: "+673 "
1646
+ },
1647
+ BG: {
1648
+ mask: "#######?",
1649
+ prefix: "+359 "
1650
+ },
1651
+ BF: {
1652
+ mask: "##-##-##-##",
1653
+ prefix: "+226 "
1654
+ },
1655
+ BI: {
1656
+ mask: "####-####",
1657
+ prefix: "+257 "
1658
+ },
1659
+ KH: {
1660
+ mask: "(##) ######",
1661
+ prefix: "+855 "
1662
+ },
1663
+ CM: {
1664
+ mask: "####-####",
1665
+ prefix: "+237 "
1666
+ },
1667
+ CA: {
1668
+ mask: "(###) ###-####",
1669
+ prefix: "+1 "
1670
+ },
1671
+ CV: {
1672
+ mask: "###-####",
1673
+ prefix: "+238 "
1674
+ },
1675
+ KY: {
1676
+ mask: "(###) ###-####",
1677
+ prefix: "+1 "
1678
+ },
1679
+ CF: {
1680
+ mask: "###-###",
1681
+ prefix: "+236 "
1682
+ },
1683
+ TD: {
1684
+ mask: "###-##-##",
1685
+ prefix: "+235 "
1686
+ },
1687
+ /* CL: {
1688
+ mask:'########?',
1689
+ prefix: ''
1690
+ }, */
1691
+ CL: {
1692
+ mask: "#########",
1693
+ prefix: "+56 "
1694
+ },
1695
+ /* CN: {
1696
+ mask:'########???',
1697
+ prefix: ''
1698
+ }, */
1699
+ CN: {
1700
+ mask: "###########",
1701
+ prefix: "+86 "
1702
+ },
1703
+ /* CO: {
1704
+ mask:'########??',
1705
+ prefix: ''
1706
+ }, */
1707
+ CO: {
1708
+ mask: "##########",
1709
+ prefix: "57 "
1710
+ },
1711
+ KM: {
1712
+ mask: "###-####",
1713
+ prefix: "+269 "
1714
+ },
1715
+ CD: {
1716
+ mask: "###-####",
1717
+ prefix: "+243 "
1718
+ },
1719
+ CG: {
1720
+ mask: "###-####",
1721
+ prefix: "+242 "
1722
+ },
1723
+ // CK
1724
+ CR: {
1725
+ mask: "####-####",
1726
+ prefix: "+506 "
1727
+ },
1728
+ CI: {
1729
+ mask: "####-####",
1730
+ prefix: "+225 "
1731
+ },
1732
+ HR: {
1733
+ mask: "########?",
1734
+ prefix: "+385 "
1735
+ },
1736
+ /* CU: {
1737
+ mask:'#####?ID:?????',
1738
+ prefix: ''
1739
+ }, */
1740
+ CU: {
1741
+ mask: "###########",
1742
+ prefix: "+53 "
1743
+ },
1744
+ CY: {
1745
+ mask: "####-####",
1746
+ prefix: "+357 "
1747
+ },
1748
+ CZ: {
1749
+ mask: "#########",
1750
+ prefix: "+420 "
1751
+ },
1752
+ DK: {
1753
+ mask: "####-####",
1754
+ prefix: "+45 "
1755
+ },
1756
+ DJ: {
1757
+ mask: "##-##-##-##",
1758
+ prefix: "+253 "
1759
+ },
1760
+ DM: {
1761
+ mask: "(###) ###-####",
1762
+ prefix: "+1 "
1763
+ },
1764
+ DO: {
1765
+ mask: "(###) ###-####",
1766
+ prefix: "+1 "
1767
+ },
1768
+ TL: {
1769
+ mask: "###-####",
1770
+ prefix: "+670 "
1771
+ },
1772
+ EC: {
1773
+ mask: "(##) ###-####",
1774
+ prefix: "+593 "
1775
+ },
1776
+ /* EG: {
1777
+ mask:'########??',
1778
+ prefix: ''
1779
+ }, */
1780
+ EG: {
1781
+ mask: "##########",
1782
+ prefix: "+20 "
1783
+ },
1784
+ SV: {
1785
+ mask: "####-####",
1786
+ prefix: "+503 "
1787
+ },
1788
+ GQ: {
1789
+ mask: "##-####",
1790
+ prefix: "+240 "
1791
+ },
1792
+ // ER:
1793
+ EE: {
1794
+ mask: "#######?",
1795
+ prefix: "+372 "
1796
+ },
1797
+ ET: {
1798
+ mask: "(##) ###-####",
1799
+ prefix: "+251 "
1800
+ },
1801
+ FK: {
1802
+ mask: "#####",
1803
+ prefix: "+500 "
1804
+ },
1805
+ FO: {
1806
+ mask: "######",
1807
+ prefix: "+298 "
1808
+ },
1809
+ FJ: {
1810
+ mask: "###-####",
1811
+ prefix: "+679 "
1812
+ },
1813
+ /* FI: {
1814
+ mask:'#####???????',
1815
+ prefix: ''
1816
+ }, */
1817
+ FI: {
1818
+ mask: "############",
1819
+ prefix: "+358 "
1820
+ },
1821
+ FR: {
1822
+ mask: "#########",
1823
+ prefix: "+33 "
1824
+ },
1825
+ /* GF: {
1826
+ mask:'#########?',
1827
+ prefix: ''
1828
+ }, */
1829
+ GF: {
1830
+ mask: "##########",
1831
+ prefix: "+594 "
1832
+ },
1833
+ PF: {
1834
+ mask: "######",
1835
+ prefix: "+689 "
1836
+ },
1837
+ GA: {
1838
+ mask: "######?",
1839
+ prefix: "+241 "
1840
+ },
1841
+ GM: {
1842
+ mask: "###-####",
1843
+ prefix: "+220 "
1844
+ },
1845
+ GE: {
1846
+ mask: "########?",
1847
+ prefix: "+995 "
1848
+ },
1849
+ /* DE: {
1850
+ mask:'######?????',
1851
+ prefix: ''
1852
+ }, */
1853
+ DE: {
1854
+ mask: "###########",
1855
+ prefix: "+49 "
1856
+ },
1857
+ /* GH: {
1858
+ mask:'########?',
1859
+ prefix: ''
1860
+ }, */
1861
+ GH: {
1862
+ mask: "#########",
1863
+ prefix: "+233 "
1864
+ },
1865
+ GI: {
1866
+ mask: "####-####",
1867
+ prefix: "+350 "
1868
+ },
1869
+ GR: {
1870
+ mask: "##########",
1871
+ prefix: "+30 "
1872
+ },
1873
+ GL: {
1874
+ mask: "###-###",
1875
+ prefix: "+299 "
1876
+ },
1877
+ GD: {
1878
+ mask: "(###) ###-####",
1879
+ prefix: "+1 "
1880
+ },
1881
+ GP: {
1882
+ mask: "##########",
1883
+ prefix: "+590 "
1884
+ },
1885
+ GU: {
1886
+ mask: "(###) ###-####",
1887
+ prefix: "+1 "
1888
+ },
1889
+ GT: {
1890
+ mask: "####-####",
1891
+ prefix: "+502 "
1892
+ },
1893
+ GN: {
1894
+ mask: "####-####",
1895
+ prefix: "+224 "
1896
+ },
1897
+ GW: {
1898
+ mask: "###-####",
1899
+ prefix: "+245 "
1900
+ },
1901
+ GY: {
1902
+ mask: "(###) ####",
1903
+ prefix: "+592 "
1904
+ },
1905
+ HK: {
1906
+ mask: "####-####",
1907
+ prefix: "+852 "
1908
+ },
1909
+ HN: {
1910
+ mask: "########",
1911
+ prefix: "+504 "
1912
+ },
1913
+ HT: {
1914
+ mask: "####-####",
1915
+ prefix: "+509 "
1916
+ },
1917
+ HU: {
1918
+ mask: "########??",
1919
+ prefix: "+36 "
1920
+ },
1921
+ /* IS: {
1922
+ mask:'#######??',
1923
+ prefix: ''
1924
+ }, */
1925
+ IS: {
1926
+ mask: "#########",
1927
+ prefix: "+354 "
1928
+ },
1929
+ IN: {
1930
+ mask: "##########",
1931
+ prefix: "+91 "
1932
+ },
1933
+ /* ID: {
1934
+ mask:'#######???',
1935
+ prefix: ''
1936
+ }, */
1937
+ ID: {
1938
+ mask: "#######??????",
1939
+ // allows 7 ~ 13 digits
1940
+ prefix: "+62 "
1941
+ },
1942
+ IR: {
1943
+ mask: "##########",
1944
+ prefix: "+98 "
1945
+ },
1946
+ /* IQ: {
1947
+ mask:'########??',
1948
+ prefix: ''
1949
+ }, */
1950
+ IQ: {
1951
+ mask: "##########",
1952
+ prefix: "+964 "
1953
+ },
1954
+ /* IE: {
1955
+ mask:'#######??',
1956
+ prefix: ''
1957
+ }, */
1958
+ IE: {
1959
+ mask: "#########",
1960
+ prefix: "+353 "
1961
+ },
1962
+ /* IL: {
1963
+ mask:'########?',
1964
+ prefix: ''
1965
+ }, */
1966
+ IL: {
1967
+ mask: "#########",
1968
+ prefix: "+972 "
1969
+ },
1970
+ /* IT: {
1971
+ mask:'######????',
1972
+ prefix: ''
1973
+ }, */
1974
+ IT: {
1975
+ mask: "##########",
1976
+ prefix: "+39 "
1977
+ },
1978
+ JM: {
1979
+ mask: "(###) ###-####",
1980
+ prefix: "+1 "
1981
+ },
1982
+ JP: {
1983
+ mask: "#########??",
1984
+ prefix: "+81 "
1985
+ },
1986
+ /* JO: {
1987
+ mask:'#######??',
1988
+ prefix: ''
1989
+ }, */
1990
+ JO: {
1991
+ mask: "#########",
1992
+ prefix: "+962 "
1993
+ },
1994
+ KZ: {
1995
+ mask: "(###) ####-###",
1996
+ prefix: "+7 "
1997
+ },
1998
+ /* KE: {
1999
+ mask:'######????',
2000
+ prefix: ''
2001
+ }, */
2002
+ KE: {
2003
+ mask: "##########",
2004
+ prefix: "+254 "
2005
+ },
2006
+ KI: {
2007
+ mask: "##-###",
2008
+ prefix: "+686 "
2009
+ },
2010
+ // kp
2011
+ /* KR: {
2012
+ mask:'####??????',
2013
+ prefix: ''
2014
+ }, */
2015
+ KR: {
2016
+ mask: "##########",
2017
+ prefix: "+82 "
2018
+ },
2019
+ KW: {
2020
+ mask: "####-####",
2021
+ prefix: "+965 "
2022
+ },
2023
+ KG: {
2024
+ mask: "#########",
2025
+ prefix: "+996 "
2026
+ },
2027
+ LA: {
2028
+ mask: "########?",
2029
+ prefix: "+856 "
2030
+ },
2031
+ LV: {
2032
+ mask: "####-####",
2033
+ prefix: "+371 "
2034
+ },
2035
+ LB: {
2036
+ mask: "#######?",
2037
+ prefix: "+961 "
2038
+ },
2039
+ LS: {
2040
+ mask: "##-###-###",
2041
+ prefix: "+266 "
2042
+ },
2043
+ // LR
2044
+ /* LY: {
2045
+ mask:'########?',
2046
+ prefix: ''
2047
+ }, */
2048
+ LY: {
2049
+ mask: "########?",
2050
+ prefix: "+218 "
2051
+ },
2052
+ LI: {
2053
+ mask: "###-####",
2054
+ prefix: "+423 "
2055
+ },
2056
+ LT: {
2057
+ mask: "########",
2058
+ prefix: "+370 "
2059
+ },
2060
+ /* LU: {
2061
+ mask:'#####??????',
2062
+ prefix: '+352 '
2063
+ }, */
2064
+ LU: {
2065
+ mask: "###########",
2066
+ prefix: "+352 "
2067
+ },
2068
+ MO: {
2069
+ mask: "####-####",
2070
+ prefix: "+853 "
2071
+ },
2072
+ MK: {
2073
+ mask: "########",
2074
+ prefix: "+389 "
2075
+ },
2076
+ MG: {
2077
+ mask: "##-##-###-##",
2078
+ prefix: "+261 "
2079
+ },
2080
+ /* MW: {
2081
+ mask:'#######??',
2082
+ prefix: '+265 '
2083
+ }, */
2084
+ MW: {
2085
+ mask: "#########",
2086
+ prefix: "+265 "
2087
+ },
2088
+ /* MY: {
2089
+ mask:'#######???',
2090
+ prefix: '+60 '
2091
+ }, */
2092
+ MY: {
2093
+ mask: "##########",
2094
+ prefix: "+60 "
2095
+ },
2096
+ MV: {
2097
+ mask: "###-####",
2098
+ prefix: "+960 "
2099
+ },
2100
+ ML: {
2101
+ mask: "####-####",
2102
+ prefix: "+223 "
2103
+ },
2104
+ MT: {
2105
+ mask: "##-##-##-##",
2106
+ prefix: "+356 "
2107
+ },
2108
+ MH: {
2109
+ mask: "###-####",
2110
+ prefix: "+692 "
2111
+ },
2112
+ MQ: {
2113
+ mask: "###-######",
2114
+ prefix: "+596 "
2115
+ },
2116
+ // MR
2117
+ MU: {
2118
+ mask: "###-####",
2119
+ prefix: "+230 "
2120
+ },
2121
+ // YT
2122
+ MX: {
2123
+ mask: "(###) ###-####",
2124
+ prefix: "+52 "
2125
+ },
2126
+ // FM
2127
+ MD: {
2128
+ mask: "########",
2129
+ prefix: "+373 "
2130
+ },
2131
+ MC: {
2132
+ mask: "####-####",
2133
+ prefix: "+377 "
2134
+ },
2135
+ /* MN: {
2136
+ mask:'######?????',
2137
+ prefix: '+976 '
2138
+ }, */
2139
+ MN: {
2140
+ mask: "###########",
2141
+ prefix: "+976 "
2142
+ },
2143
+ MS: {
2144
+ mask: "(###) ###-####",
2145
+ prefix: "+1 "
2146
+ },
2147
+ MA: {
2148
+ mask: "#########?",
2149
+ // allows 9 ~ 10 digits
2150
+ prefix: "+212 "
2151
+ },
2152
+ /* MZ: {
2153
+ mask:'########?',
2154
+ prefix: '+258 '
2155
+ }, */
2156
+ MZ: {
2157
+ mask: "#########",
2158
+ prefix: "+258 "
2159
+ },
2160
+ /* MM: {
2161
+ mask:'#######?',
2162
+ prefix: '+95 '
2163
+ }, */
2164
+ MM: {
2165
+ mask: "########",
2166
+ prefix: "+95 "
2167
+ },
2168
+ /* NA: {
2169
+ mask:'######????',
2170
+ prefix: '+264 '
2171
+ }, */
2172
+ NA: {
2173
+ mask: "##########",
2174
+ prefix: "+264 "
2175
+ },
2176
+ // NR
2177
+ /* NP: {
2178
+ mask:'########??',
2179
+ prefix: '+977 '
2180
+ }, */
2181
+ NP: {
2182
+ mask: "##########",
2183
+ prefix: "+977 "
2184
+ },
2185
+ NL: {
2186
+ mask: "#########",
2187
+ prefix: "+31 "
2188
+ },
2189
+ /* AN: {
2190
+ mask:'#######?',
2191
+ prefix: '+599 '
2192
+ }, */
2193
+ AN: {
2194
+ mask: "########",
2195
+ prefix: "+599 "
2196
+ },
2197
+ NC: {
2198
+ mask: "###-###",
2199
+ prefix: "+687 "
2200
+ },
2201
+ /* NZ: {
2202
+ mask:'########??',
2203
+ prefix: '+64 '
2204
+ }, */
2205
+ NZ: {
2206
+ mask: "##########",
2207
+ prefix: "+64 "
2208
+ },
2209
+ NI: {
2210
+ mask: "####-####",
2211
+ prefix: "+505 "
2212
+ },
2213
+ NE: {
2214
+ mask: "##-###-###",
2215
+ prefix: "+227 "
2216
+ },
2217
+ /* NG: {
2218
+ mask:'########??',
2219
+ prefix: '+234 '
2220
+ }, */
2221
+ NG: {
2222
+ mask: "##########",
2223
+ prefix: "+234 "
2224
+ },
2225
+ // NU
2226
+ MP: {
2227
+ mask: "(###) ###-####",
2228
+ prefix: "+1 "
2229
+ },
2230
+ NO: {
2231
+ mask: "####-####",
2232
+ prefix: "+47 "
2233
+ },
2234
+ OM: {
2235
+ mask: "####-####",
2236
+ prefix: "+968 "
2237
+ },
2238
+ /* PK: {
2239
+ mask:'#########?',
2240
+ prefix: '+92 '
2241
+ }, */
2242
+ PK: {
2243
+ mask: "##########",
2244
+ prefix: "+92 "
2245
+ },
2246
+ PW: {
2247
+ mask: "###-####",
2248
+ prefix: "+680 "
2249
+ },
2250
+ /* PA: {
2251
+ mask:'#######?',
2252
+ prefix: '+507 '
2253
+ }, */
2254
+ PA: {
2255
+ mask: "########",
2256
+ prefix: "+507 "
2257
+ },
2258
+ /* PG: {
2259
+ mask:'#######?',
2260
+ prefix: '+675 '
2261
+ }, */
2262
+ PG: {
2263
+ mask: "########",
2264
+ prefix: "+675 "
2265
+ },
2266
+ // PY
2267
+ /* PE: {
2268
+ mask:'#######????',
2269
+ prefix: '+51 '
2270
+ }, */
2271
+ PE: {
2272
+ mask: "###########",
2273
+ prefix: "+51 "
2274
+ },
2275
+ /* PH: {
2276
+ mask:'########??',
2277
+ prefix: '+63 '
2278
+ }, */
2279
+ PH: {
2280
+ mask: "##########",
2281
+ prefix: "+63 "
2282
+ },
2283
+ PL: {
2284
+ mask: "#########",
2285
+ prefix: "+48 "
2286
+ },
2287
+ PT: {
2288
+ mask: "#-####-####",
2289
+ prefix: "+351 "
2290
+ },
2291
+ PR: {
2292
+ mask: "(###) ###-####",
2293
+ prefix: "+1 "
2294
+ },
2295
+ QA: {
2296
+ mask: "###-####",
2297
+ prefix: "+974 "
2298
+ },
2299
+ RE: {
2300
+ mask: "###-###-###",
2301
+ prefix: "+262 "
2302
+ },
2303
+ RO: {
2304
+ mask: "#########",
2305
+ prefix: "+40 "
2306
+ },
2307
+ RU: {
2308
+ mask: "##########",
2309
+ prefix: "+7 "
2310
+ },
2311
+ RW: {
2312
+ mask: "###-###-###",
2313
+ prefix: "+250 "
2314
+ },
2315
+ SH: {
2316
+ mask: "#-###",
2317
+ prefix: "+290 "
2318
+ },
2319
+ // PM
2320
+ KN: {
2321
+ mask: "(###) ###-####",
2322
+ prefix: "+1 "
2323
+ },
2324
+ LC: {
2325
+ mask: "(###) ###-####",
2326
+ prefix: "+1 "
2327
+ },
2328
+ VC: {
2329
+ mask: "(###) ###-####",
2330
+ prefix: "+1 "
2331
+ },
2332
+ // WS
2333
+ // SM
2334
+ ST: {
2335
+ mask: "##-####",
2336
+ prefix: "+239 "
2337
+ },
2338
+ /* SA: {
2339
+ mask:'########?',
2340
+ prefix: '+966 '
2341
+ }, */
2342
+ SA: {
2343
+ mask: "#########",
2344
+ prefix: "+966 "
2345
+ },
2346
+ SN: {
2347
+ mask: "##-###-####",
2348
+ prefix: "+221 "
2349
+ },
2350
+ SC: {
2351
+ mask: "###-###",
2352
+ prefix: "+248 "
2353
+ },
2354
+ SL: {
2355
+ mask: "(##) ###-###",
2356
+ prefix: "+232 "
2357
+ },
2358
+ SG: {
2359
+ mask: "####-####",
2360
+ prefix: "+65 "
2361
+ },
2362
+ SK: {
2363
+ mask: "#########",
2364
+ prefix: "+421 "
2365
+ },
2366
+ SI: {
2367
+ mask: "########",
2368
+ prefix: "+386 "
2369
+ },
2370
+ SB: {
2371
+ mask: "##-###",
2372
+ prefix: "+677 "
2373
+ },
2374
+ // SO
2375
+ ZA: {
2376
+ mask: "(##) ###-####",
2377
+ prefix: "+27 "
2378
+ },
2379
+ ES: {
2380
+ mask: "###-###-###",
2381
+ prefix: "+34 "
2382
+ },
2383
+ LK: {
2384
+ mask: "(##) ###-####",
2385
+ prefix: "+94 "
2386
+ },
2387
+ SD: {
2388
+ mask: "##-###-####",
2389
+ prefix: "+249 "
2390
+ },
2391
+ SR: {
2392
+ mask: "######?",
2393
+ prefix: "+597 "
2394
+ },
2395
+ SZ: {
2396
+ mask: "###-####",
2397
+ prefix: "+268 "
2398
+ },
2399
+ /* SE: {
2400
+ mask:'######?????',
2401
+ prefix: '+46 '
2402
+ }, */
2403
+ SE: {
2404
+ mask: "###########",
2405
+ prefix: "+46 "
2406
+ },
2407
+ CH: {
2408
+ mask: "(##) ###-####",
2409
+ prefix: "+41 "
2410
+ },
2411
+ /* SY: {
2412
+ mask:'########?',
2413
+ prefix: '+963 '
2414
+ }, */
2415
+ SY: {
2416
+ mask: "#########",
2417
+ prefix: "+963 "
2418
+ },
2419
+ TJ: {
2420
+ mask: "#########",
2421
+ prefix: "+992 "
2422
+ },
2423
+ TZ: {
2424
+ mask: "#########",
2425
+ prefix: "+255 "
2426
+ },
2427
+ /* TH: {
2428
+ mask:'########?',
2429
+ prefix: '+66 '
2430
+ }, */
2431
+ TH: {
2432
+ mask: "#########",
2433
+ prefix: "+66 "
2434
+ },
2435
+ TG: {
2436
+ mask: "###-####",
2437
+ prefix: "+228 "
2438
+ },
2439
+ // TK
2440
+ // TO
2441
+ TT: {
2442
+ mask: "(###) ###-####",
2443
+ prefix: "+1 "
2444
+ },
2445
+ TN: {
2446
+ mask: "##-###-###",
2447
+ prefix: "+216 "
2448
+ },
2449
+ TR: {
2450
+ mask: "(###) ###-####",
2451
+ prefix: "+90 "
2452
+ },
2453
+ TM: {
2454
+ mask: "########",
2455
+ prefix: "+993 "
2456
+ },
2457
+ TC: {
2458
+ mask: "(###) ###-####",
2459
+ prefix: "+1 "
2460
+ },
2461
+ // TV
2462
+ UG: {
2463
+ mask: "#########",
2464
+ prefix: "+256 "
2465
+ },
2466
+ UA: {
2467
+ mask: "(##) ###-####",
2468
+ prefix: "+380 "
2469
+ },
2470
+ /* AE: {
2471
+ mask:'########?',
2472
+ prefix: '+971 '
2473
+ }, */
2474
+ AE: {
2475
+ mask: "#########",
2476
+ prefix: "+971 "
2477
+ },
2478
+ /* GB: {
2479
+ mask:'##########???',
2480
+ prefix: '+44 '
2481
+ }, */
2482
+ GB: {
2483
+ mask: "#########????",
2484
+ prefix: "+44 "
2485
+ },
2486
+ UY: {
2487
+ mask: "########?",
2488
+ prefix: "+598 "
2489
+ },
2490
+ UZ: {
2491
+ mask: "(##) ###-####",
2492
+ prefix: "+998 "
2493
+ },
2494
+ // VU
2495
+ // VA
2496
+ VE: {
2497
+ mask: "(###) ###-####",
2498
+ prefix: "+58 "
2499
+ },
2500
+ VN: {
2501
+ mask: "#######????",
2502
+ prefix: "+84 "
2503
+ },
2504
+ VG: {
2505
+ mask: "(###) ###-####",
2506
+ prefix: "+1 "
2507
+ },
2508
+ VI: {
2509
+ mask: "(###) ###-####",
2510
+ prefix: "+1 "
2511
+ },
2512
+ // WF
2513
+ /* YE: {
2514
+ mask:'#######??',
2515
+ prefix: '+967 '
2516
+ }, */
2517
+ YE: {
2518
+ mask: "#########",
2519
+ prefix: "+967 "
2520
+ },
2521
+ // YU
2522
+ ZM: {
2523
+ mask: "#########",
2524
+ prefix: "+260 "
2525
+ },
2526
+ /* ZW: {
2527
+ mask:'####?????',
2528
+ prefix: '+263 '
2529
+ }, */
2530
+ ZW: {
2531
+ mask: "#########",
2532
+ prefix: "+263 "
2533
+ },
2534
+ AC: {
2535
+ mask: "####",
2536
+ prefix: "+247 "
2537
+ },
2538
+ ME: {
2539
+ mask: "(##) ###-###?",
2540
+ prefix: "+382 "
2541
+ },
2542
+ /* PS: {
2543
+ mask:'########?',
2544
+ prefix: '+970 '
2545
+ }, */
2546
+ PS: {
2547
+ mask: "#########",
2548
+ prefix: "+970 "
2549
+ },
2550
+ /* RS: {
2551
+ mask:'#######??',
2552
+ prefix: '+381 '
2553
+ }, */
2554
+ RS: {
2555
+ mask: "#########",
2556
+ prefix: "+381 "
2557
+ },
2558
+ /* TW: {
2559
+ mask:'########?',
2560
+ prefix: '+886 '
2561
+ }, */
2562
+ TW: {
2563
+ mask: "#########",
2564
+ prefix: "+886 "
2565
+ },
2566
+ CW: {
2567
+ mask: "#-###-####",
2568
+ prefix: "+599 "
2569
+ },
2570
+ US: {
2571
+ mask: "(###) ###-####",
2572
+ prefix: ""
2573
+ }
2574
+ };
2575
+
2576
+ function formatPhoneNumber(t, r = "US") {
2577
+ const {mask: a, prefix: e} = k[r] || k.US;
2578
+ const i = {
2579
+ prefix: e
2580
+ };
2581
+ const s = t || "";
2582
+ // Brazil need edge case handle, mobile: (xx) xxxxx-xxxx, land phone: (xx) xxxx-xxxx
2583
+ if (r === "BR" && s.replace(/[^0-9]/g, "").length === 11) {
2584
+ return formatValue(s, "(##) #####-####", i);
2585
+ } else {
2586
+ return formatValue(s, a, i);
2587
+ }
2588
+ }
2589
+
2590
+ function formatSSN(t) {
2591
+ return formatValue(t, "###-##-####");
2592
+ }
2593
+
2594
+ function formatTIN(t) {
2595
+ return formatValue(t, "##-#######");
2596
+ }
2597
+
2598
+ function formatAlphanumeric(t) {
2599
+ const r = (t || "").replace(/[^\da-zA-Z]/g, "");
2600
+ return formatValue(r);
2601
+ }
2602
+
2603
+ function formatAlpha(t, r) {
2604
+ let a = t || "";
2605
+ if (r === "spaced") {
2606
+ a = a.replace(/[^a-zA-Z ]/g, "");
2607
+ } else {
2608
+ a = a.replace(/[^a-zA-Z]/g, "");
2609
+ }
2610
+ return formatValue(a);
2611
+ }
2612
+
2613
+ function getNumberFormat(t) {
2614
+ const r = {
2615
+ prefix: "",
2616
+ suffix: "",
2617
+ decimals: 0,
2618
+ decimalSeparator: ".",
2619
+ thousandsSeparator: "",
2620
+ allowDecimal: false,
2621
+ allowNegative: true
2622
+ };
2623
+ const a = t.split("-");
2624
+ // handle deprecated formats
2625
+ if (a[0] === "delimited") {
2626
+ // `delimited` - to be replaced by `integer-delimited`
2627
+ r.thousandsSeparator = ",";
2628
+ } else if (a[0].match(/^[0-9]+dec$/)) {
2629
+ // `Ndec` - to be replaced by `Ndecimal`
2630
+ r.decimals = Number(a[0].replace("dec", ""));
2631
+ r.allowDecimal = true;
2632
+ r.thousandsSeparator = ",";
2633
+ } else {
2634
+ // determine number type
2635
+ if (a[0].includes("decimal")) {
2636
+ r.decimals = Number(a[0].replace("decimal", ""));
2637
+ r.allowDecimal = true;
2638
+ } else if (a[0] !== "integer") {
2639
+ // Ignore any formats that don't start with Ndecimal or integer
2640
+ return;
2641
+ }
2642
+ // determine if negative numbers are allowed
2643
+ if (a.includes("positive")) {
2644
+ r.allowNegative = false;
2645
+ }
2646
+ // determine if number is delimited
2647
+ if (a.includes("delimited")) {
2648
+ r.thousandsSeparator = ",";
2649
+ }
2650
+ }
2651
+ return r;
2652
+ }
2653
+
2654
+ function formatNumeric(t = "", r = "", a = false) {
2655
+ const e = getNumberFormat(r);
2656
+ if (!e) {
2657
+ const r = (t || "").replace(/[^\d.,-]/g, "");
2658
+ return formatValue(r);
2659
+ }
2660
+ return formatNumber(t, e, a);
2661
+ }
2662
+
2663
+ function formatPercentage(t = "", r = "", a = false) {
2664
+ const e = getNumberFormat(r);
2665
+ if (!e) {
2666
+ const r = (t || "").replace(/[^\d.,-]/g, "");
2667
+ return formatValue(r, undefined, {
2668
+ suffix: "%"
2669
+ });
2670
+ }
2671
+ e.suffix = "%";
2672
+ return formatNumber(t, e, a);
2673
+ }
2674
+
2675
+ const w = {
2676
+ AF: "####",
2677
+ AL: "####",
2678
+ DZ: "#####",
2679
+ AC: "ASCN 1ZZ",
2680
+ AD: "AD###",
2681
+ // pre
2682
+ AR: "####",
2683
+ "AR+": "@####@@@",
2684
+ AI: "AI-2640",
2685
+ AM: "####",
2686
+ AS: "#####",
2687
+ "AS+4": "#####-####",
2688
+ AU: "####",
2689
+ AT: "####",
2690
+ AZ: "AZ ####",
2691
+ // pre
2692
+ BH: "###?",
2693
+ BD: "####",
2694
+ BB: "BB#####",
2695
+ // pre
2696
+ BY: "######",
2697
+ BE: "####",
2698
+ BM: "@@ **",
2699
+ BT: "#####",
2700
+ BA: "######",
2701
+ BR: "#####",
2702
+ "BR+3": "#####-###",
2703
+ VG: "VG####",
2704
+ // pre
2705
+ BN: "@@####",
2706
+ BG: "####",
2707
+ KH: "#####",
2708
+ KY: "KY#-####",
2709
+ // pre
2710
+ CA: "@#@ #@#",
2711
+ CL: "###-####",
2712
+ CN: "######",
2713
+ CX: "####",
2714
+ CC: "####",
2715
+ CO: "######",
2716
+ CR: "#####",
2717
+ "CR+4": "#####-####",
2718
+ CV: "####",
2719
+ HR: "#####",
2720
+ CU: "#####",
2721
+ CY: "####",
2722
+ CZ: "### ##",
2723
+ DK: "####",
2724
+ DO: "#####",
2725
+ EC: "######",
2726
+ SV: "####",
2727
+ EG: "#####",
2728
+ EE: "#####",
2729
+ ET: "####",
2730
+ FK: "FIQQ 1ZZ",
2731
+ FO: "###",
2732
+ FI: "#####",
2733
+ FR: "#####",
2734
+ GF: "973##",
2735
+ // pre?
2736
+ PF: "987##",
2737
+ // pre?
2738
+ GI: "GX11 1AA",
2739
+ GE: "####",
2740
+ DE: "#####",
2741
+ GR: "### ##",
2742
+ GL: "####",
2743
+ GP: "971##",
2744
+ // pre?
2745
+ GU: "#####",
2746
+ "GU+4": "#####-####",
2747
+ GT: "#####",
2748
+ GG: "GY#? #@@",
2749
+ GN: "###",
2750
+ GS: "SIQQ 1ZZ",
2751
+ GW: "####",
2752
+ HT: "####",
2753
+ HN: "@@####",
2754
+ "HN-": "#####",
2755
+ HU: "####",
2756
+ IS: "###",
2757
+ IN: "### ###",
2758
+ ID: "#####",
2759
+ IE: "*** ****",
2760
+ IR: "##########",
2761
+ IQ: "#####",
2762
+ IM: "IM#? #@@",
2763
+ // pre
2764
+ IL: "#######",
2765
+ IT: "#####",
2766
+ JM: "##",
2767
+ JP: "###-####",
2768
+ JE: "JE#? #@@",
2769
+ // pre
2770
+ JO: "#####",
2771
+ KZ: "######",
2772
+ KE: "#####",
2773
+ KR: "#####",
2774
+ KN: "KN####",
2775
+ XK: "#####",
2776
+ KW: "#####",
2777
+ KG: "######",
2778
+ LA: "#####",
2779
+ LV: "LV-####",
2780
+ // pre
2781
+ LB: "####? ????",
2782
+ // also 00000
2783
+ LS: "###",
2784
+ LR: "####",
2785
+ LI: "####",
2786
+ LT: "#####",
2787
+ // pre-
2788
+ LU: "####",
2789
+ MK: "####",
2790
+ MG: "###",
2791
+ MY: "#####",
2792
+ MV: "#####",
2793
+ MT: "@@@ ####",
2794
+ MH: "#####",
2795
+ "MH+4": "#####-####",
2796
+ MU: "#####",
2797
+ MQ: "972##",
2798
+ // pre?
2799
+ MW: "######",
2800
+ YT: "976##",
2801
+ // pre?
2802
+ MX: "#####",
2803
+ FM: "#####",
2804
+ "FM+4": "#####-####",
2805
+ MD: "####",
2806
+ // pre
2807
+ MC: "980##",
2808
+ // pre?
2809
+ MN: "#####",
2810
+ ME: "#####",
2811
+ MA: "#####",
2812
+ MZ: "####",
2813
+ MM: "#####",
2814
+ NA: "#####",
2815
+ NP: "#####",
2816
+ NC: "988##",
2817
+ // pre?
2818
+ NZ: "####",
2819
+ NI: "#####",
2820
+ NE: "####",
2821
+ NG: "######",
2822
+ NF: "####",
2823
+ MP: "#####",
2824
+ NO: "####",
2825
+ OM: "###",
2826
+ PK: "#####",
2827
+ PW: "#####",
2828
+ "PW+4": "#####-####",
2829
+ PS: "###",
2830
+ PA: "####",
2831
+ PG: "###",
2832
+ PY: "####",
2833
+ PE: "#####",
2834
+ "PE+": "####",
2835
+ // pre
2836
+ PH: "####",
2837
+ PL: "##-###",
2838
+ PT: "####",
2839
+ "PT+3": "####-###",
2840
+ PR: "#####",
2841
+ "PR+4": "#####-####",
2842
+ RE: "974##",
2843
+ // pre?
2844
+ PM: "975##",
2845
+ PN: "PCRN 1ZZ",
2846
+ RO: "######",
2847
+ RU: "######",
2848
+ LC: "LC## ###",
2849
+ // pre
2850
+ VC: "####",
2851
+ // pre
2852
+ WS: "####",
2853
+ // pre
2854
+ SM: "4879#",
2855
+ // pre?
2856
+ SA: "#####",
2857
+ "SA+4": "#####-####",
2858
+ SN: "#####",
2859
+ RS: "#####",
2860
+ SG: "######",
2861
+ SH: "@@@@ 1ZZ",
2862
+ SK: "### ##",
2863
+ SI: "####",
2864
+ // pre?
2865
+ SO: "@@ #####",
2866
+ ZA: "####",
2867
+ ES: "#####",
2868
+ LK: "#####",
2869
+ SD: "#####",
2870
+ SZ: "@###",
2871
+ SE: "### ##",
2872
+ CH: "####",
2873
+ SJ: "####",
2874
+ TW: "###",
2875
+ "TW+2": "###-##?",
2876
+ TJ: "######",
2877
+ TZ: "#####",
2878
+ TH: "#####",
2879
+ TT: "######",
2880
+ TN: "####",
2881
+ TR: "#####",
2882
+ TM: "######",
2883
+ UA: "#####",
2884
+ UY: "#####",
2885
+ VI: "#####",
2886
+ "VI+4": "#####-####",
2887
+ UZ: "######",
2888
+ VE: "####",
2889
+ "VE-": "####-@",
2890
+ VN: "#####?",
2891
+ YU: "#####",
2892
+ WF: "986##",
2893
+ // pre?
2894
+ ZM: "#####",
2895
+ US: "#####",
2896
+ "US+4": "#####-####"
2897
+ };
2898
+
2899
+ function formatPostalCode(t, r = "US") {
2900
+ const a = w[r];
2901
+ if (!a) {
2902
+ return formatAlphanumeric(t);
2903
+ }
2904
+ return formatValue(t, a);
2905
+ }
2906
+
2907
+ const y = {
2908
+ "MM/DD/YYYY": "##/##/####",
2909
+ "M/D/YYYY": "#?/#?/####",
2910
+ "MM/DD/YY": "##/##/##",
2911
+ "M/D/YY": "#?/#?/##",
2912
+ "MM/YY": "##/##",
2913
+ "M/YY": "#?/##",
2914
+ "DD/MM/YYYY": "##/##/####",
2915
+ "D/M/YYYY": "#?/#?/####",
2916
+ "DD/MM/YY": "##/##/##",
2917
+ "D/M/YY": "#?/#?/##",
2918
+ "MM-DD-YYYY": "##-##-####",
2919
+ "M-D-YYYY": "#?-#?-####",
2920
+ "MM-DD-YY": "##-##-##",
2921
+ "M-D-YY": "#?-#?-##",
2922
+ "MM-YY": "##-##",
2923
+ "M-YY": "#?-##",
2924
+ "DD-MM-YYYY": "##-##-####",
2925
+ "D-M-YYYY": "#?-#?-####",
2926
+ "DD-MM-YY": "##-##-##",
2927
+ "D-M-YY": "#?-#?-##"
2928
+ };
2929
+
2930
+ function formatDate(t, r = "MM/DD/YYYY") {
2931
+ const a = y[r === null || r === void 0 ? void 0 : r.toUpperCase()] || y["MM/DD/YYYY"];
2932
+ const e = formatValue(t, a);
2933
+ return Object.assign(Object.assign({}, e), {
2934
+ value: e.formattedValue
2935
+ });
2936
+ }
2937
+
2938
+ function format(t) {
2939
+ // have a initial generic mask which then converts to specific mask
2940
+ const r = I.detectCreditCardTypeFromValue(t);
2941
+ const a = L[r](t);
2942
+ if (t.length < 2 && r === "unknown") {
2943
+ a.leftIcon = "card";
2944
+ }
2945
+ return a;
2946
+ }
2947
+
2948
+ const C = function unknownFn(t) {
2949
+ const r = formatValue(t, "#### #### #### ####");
2950
+ return Object.assign(Object.assign({}, r), {
2951
+ type: "unknown",
2952
+ leftIcon: "card-unknown",
2953
+ leftIconMuted: t.length < 16
2954
+ });
2955
+ };
2956
+
2957
+ const M = function amexFn(t) {
2958
+ const r = formatValue(t, "#### ###### #####");
2959
+ return Object.assign(Object.assign({}, r), {
2960
+ type: "amex",
2961
+ leftIcon: "card-amex-color",
2962
+ leftIconMuted: t.length < 15
2963
+ });
2964
+ };
2965
+
2966
+ const D = function discoverFn(t) {
2967
+ const r = formatValue(t, "#### #### #### ####");
2968
+ return Object.assign(Object.assign({}, r), {
2969
+ type: "discover",
2970
+ leftIcon: "card-discover-color",
2971
+ leftIconMuted: t.length < 16
2972
+ });
2973
+ };
2974
+
2975
+ const A = function masterCardFn(t) {
2976
+ const r = formatValue(t, "#### #### #### ####");
2977
+ return Object.assign(Object.assign({}, r), {
2978
+ type: "masterCard",
2979
+ leftIcon: "card-mastercard-color",
2980
+ leftIconMuted: t.length < 16
2981
+ });
2982
+ };
2983
+
2984
+ const N = function visaFn(t) {
2985
+ const r = formatValue(t, "#### #### #### ####");
2986
+ return Object.assign(Object.assign({}, r), {
2987
+ type: "visa",
2988
+ leftIcon: "card-visa-color",
2989
+ leftIconMuted: t.length < 16
2990
+ });
2991
+ };
2992
+
2993
+ const F = function dinersClub(t) {
2994
+ const r = formatValue(t, "#### ###### ####");
2995
+ return Object.assign(Object.assign({}, r), {
2996
+ type: "dinersClub",
2997
+ leftIcon: "card-dinersclub-color",
2998
+ leftIconMuted: t.length < 14
2999
+ });
3000
+ };
3001
+
3002
+ const L = {
3003
+ discover: D,
3004
+ amex: M,
3005
+ masterCard: A,
3006
+ visa: N,
3007
+ dinersClub: F,
3008
+ unknown: C
3009
+ };
3010
+
3011
+ /* tslint:disable:cyclomatic-complexity */ function detectCreditCardTypeFromValue(t) {
3012
+ // use value and some algorithm from the internet to detect and return card type based on string
3013
+ // return string 'unknown' if algorithm cannot detect or returns a type that is not one of our 5 supported types
3014
+ const r = parseInt(t.charAt(0));
3015
+ const a = parseInt(t.charAt(1));
3016
+ switch (r) {
3017
+ case 2:
3018
+ if (a > 1 && a < 8) {
3019
+ if (t.length >= 4) {
3020
+ const r = parseInt(t.substr(0, 4));
3021
+ if (r >= 2221 && r < 2721) {
3022
+ return "masterCard";
3023
+ }
3024
+ } else {
3025
+ return "masterCard";
3026
+ }
3027
+ }
3028
+ break;
3029
+
3030
+ case 3:
3031
+ if (a === 4 || a === 7) {
3032
+ return "amex";
3033
+ }
3034
+ if (a === 0) {
3035
+ if (t.length > 2) {
3036
+ const r = parseInt(t.charAt(2));
3037
+ if (r < 6 || r === 9) {
3038
+ return "dinersClub";
3039
+ }
3040
+ } else {
3041
+ return "dinersClub";
3042
+ }
3043
+ }
3044
+ if (a === 6 || a === 8 || a === 9) {
3045
+ return "dinersClub";
3046
+ }
3047
+ break;
3048
+
3049
+ case 4:
3050
+ return "visa";
3051
+
3052
+ case 5:
3053
+ if (a > 0 && a < 6) {
3054
+ return "masterCard";
3055
+ }
3056
+ break;
3057
+
3058
+ case 6:
3059
+ if (a === 0) {
3060
+ if (t.length > 3) {
3061
+ const r = t.substr(0, 4);
3062
+ if (r === "6011") {
3063
+ return "discover";
3064
+ }
3065
+ } else {
3066
+ return "discover";
3067
+ }
3068
+ }
3069
+ if (a === 4) {
3070
+ if (t.length > 2) {
3071
+ const r = parseInt(t.substr(0, 3));
3072
+ if (r > 643) {
3073
+ return "discover";
3074
+ }
3075
+ } else {
3076
+ return "discover";
3077
+ }
3078
+ }
3079
+ if (a === 5) {
3080
+ return "discover";
3081
+ }
3082
+ if (a === 2) {
3083
+ if (t.length > 5) {
3084
+ const r = parseInt(t.substr(0, 6));
3085
+ if (r >= 622126 && r <= 622925) {
3086
+ return "discover";
3087
+ }
3088
+ } else {
3089
+ return "discover";
3090
+ }
3091
+ }
3092
+ break;
3093
+
3094
+ default:
3095
+ return "unknown";
3096
+ }
3097
+ return "unknown";
3098
+ }
3099
+
3100
+ /* tslint:enable:cyclomatic-complexity */ const I = {
3101
+ detectCreditCardTypeFromValue,
3102
+ format,
3103
+ amexFormatter: M,
3104
+ dinersClubInternationalFormatter: F,
3105
+ discoverFormatter: D,
3106
+ masterCardFormatter: A,
3107
+ visaFormatter: N,
3108
+ unknownFormatter: C
3109
+ };
3110
+
3111
+ const V = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{--comp-default-input-margin:var(--tct-input-margin-top, var(--t-input-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-input-margin-bottom, var(--t-input-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-input-margin, var(--comp-default-input-margin));font-size:var(--tct-input-font-size, var(--t-input-font-size, var(--app-font-size, inherit)))}:host([hidden]){display:none}.field-container,.input-container{position:relative}.field-container{--comp-input-tween:var(--tct-input-tween, var(--t-input-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease))))}.field-container.is-small .btn-clear{--tct-btn-icon-width:20px;--tct-icon-size:17px}.input-label{--comp-label-padding:var(--tct-input-label-padding, 0 var(--tct-input-label-padding-right, var(--t-input-label-padding-right, 0)) 0 var(--tct-input-label-padding-left, var(--t-input-label-padding-left, 0)));display:block;padding:var(--comp-label-padding);color:var(--tct-input-label-font-color, var(--t-input-label-font-color, inherit));font-size:var(--tct-input-label-font-size, var(--t-input-label-font-size, inherit));font-weight:var(--tct-input-label-font-weight, var(--t-input-label-font-weight, 600));text-transform:var(--tct-input-label-text-transform, var(--t-input-label-text-transform, none));letter-spacing:var(--tct-input-label-letter-spacing, var(--t-input-label-letter-spacing, inherit));transition:color var(--comp-input-tween)}.optional-tag{--comp-label-optional-margin:var(--tct-input-label-optional-margin, 0 0 0 var(--tct-input-label-optional-margin-left, var(--t-input-label-optional-margin-left, var(--tct-scale-1, var(--app-scale-1x, 5px)))));margin:var(--comp-label-optional-margin);color:var(--tct-input-label-optional-font-color, var(--t-input-label-optional-font-color, var(--t-textA, var(--t-a11y-gray-color, rgba(77, 77, 77, 0.77)))));font-size:var(--tct-input-label-optional-font-size, var(--t-input-label-optional-font-size, var(--app-font-size-small, 12px)));font-weight:var(--tct-input-label-optional-font-weight, var(--t-input-label-optional-font-weight, 400));line-height:1em}.count-tag{color:var(--tct-input-count-font-color, var(--t-textA, var(--t-a11y-gray-color, rgba(77, 77, 77, 0.77))));font-size:var(--tct-input-count-font-size, var(--app-font-size-small, 12px));font-weight:var(--tct-input-count-font-weight, 400);text-align:right;width:var(--tct-input-count-width, auto)}.label-wrapper{--comp-label-margin:var(--tct-input-label-margin, var(--tct-input-label-margin-top, var(--t-input-label-margin-top, 0)) 0 var(--tct-input-label-margin-bottom, var(--t-input-label-margin-bottom, var(--tct-scale-1, var(--app-scale-1x, 5px)))));display:flex;gap:var(--tct-input-label-gap, var(--app-scale-2x, 10px));justify-content:space-between;align-items:end;margin:var(--comp-label-margin);line-height:var(--tct-input-label-line-height, var(--t-input-label-line-height, inherit))}.label-wrapper:has(label.sr){margin:0}.input-container{--comp-input-background:var(--tct-input-background, var(--tct-input-bg, var(--t-input-bg, var(--t-gray-14, #fcfcfd))));--comp-input-backdrop-filter:var(--tct-input-backdrop-filter, none);--comp-input-horizontal-gap:var(--tct-input-horizontal-gap, var(--t-input-horizontal-gap, 0));--comp-input-border-top-left-radius:var(--tct-input-border-top-left-radius, var(--t-input-border-top-left-radius, var(--tct-border-radius-1, var(--app-border-radius-1, 4px))));--comp-input-border-top-right-radius:var(--tct-input-border-top-right-radius, var(--t-input-border-top-right-radius, var(--tct-border-radius-1, var(--app-border-radius-1, 4px))));--comp-input-border-bottom-right-radius:var(--tct-input-border-bottom-right-radius, var(--t-input-border-bottom-right-radius, var(--tct-border-radius-1, var(--app-border-radius-1, 4px))));--comp-input-border-bottom-left-radius:var(--tct-input-border-bottom-left-radius, var(--t-input-border-bottom-left-radius, var(--tct-border-radius-1, var(--app-border-radius-1, 4px))));--comp-input-border-radius:var(--comp-input-border-top-left-radius) var(--comp-input-border-top-right-radius)\n var(--comp-input-border-bottom-right-radius) var(--comp-input-border-bottom-left-radius);--comp-input-border-width:var(--tct-input-border-top-width, 1px) var(--tct-input-border-right-width, 1px)\n var(--tct-input-border-bottom-width, 1px) var(--tct-input-border-left-width, 1px);--comp-input-border-color:var(--tct-input-border-color, var(--t-input-border-color, var(--t-a11y-gray-color-AA, #404040)));--comp-input-prefix-clearance:calc(3 * var(--tct-input-prefix-font-size, 14px) + var(--tct-scale-1, 5px));--comp-input-icon-clearance:34px;--comp-input-min-height:var(--tct-input-min-height, var(--t-input-min-height, 44px));--comp-input-max-height:var(--tct-input-max-height, var(--t-input-max-height));--comp-input-hover-ring-color:var(--tct-input-hover-ring-color, var(--t-input-hover-ring-color));--comp-input-hover-ring:0 0 0 2px var(--t-base), 0 0 0 4px var(--comp-input-hover-ring-color), var(--tct-input-hover-box-shadow, var(--t-input-hover-box-shadow, 0 0 transparent));background:var(--comp-input-background);backdrop-filter:var(--comp-input-backdrop-filter);display:flex;align-items:center;gap:var(--tct-input-container-gap, var(--app-scale-2x, 10px));padding-inline:var(--tct-input-container-padding-inline);border-width:var(--comp-input-border-width);border-style:solid;border-color:var(--comp-input-border-color);border-radius:var(--comp-input-border-radius);box-shadow:var(--tct-input-box-shadow, var(--t-input-box-shadow, none));transition:background var(--comp-input-tween), backdrop-filter var(--comp-input-tween), border-width var(--comp-input-tween), border-color var(--comp-input-tween), box-shadow var(--comp-input-tween)}:host([disabled]:not([disabled=false])) .input-container{cursor:not-allowed;opacity:var(--tct-input-disabled-opacity, var(--t-input-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))));backdrop-filter:var(--tct-input-disabled-backdrop-filter, var(--comp-input-backdrop-filter))}.has-error .input-container{border-color:var(--tct-input-error-border-color, var(--const-stoplight-alert, #d20a0a));backdrop-filter:var(--tct-input-error-backdrop-filter, var(--comp-input-backdrop-filter));background:var(--tct-input-error-background, var(--comp-input-background));box-shadow:var(--tct-input-error-box-shadow, var(--comp-input-hover-ring))}.input-container:hover{border-color:var(--tct-input-hover-border-color, var(--comp-input-border-color));background:var(--tct-input-hover-background, var(--comp-input-background));backdrop-filter:var(--tct-input-hover-backdrop-filter, var(--comp-input-backdrop-filter));box-shadow:var(--tct-input-hover-box-shadow, var(--comp-input-hover-ring))}.has-error .input-container:hover{border-color:var(--tct-input-error-hover-border-color, var(--tct-input-error-border-color, var(--const-stoplight-alert, #d20a0a)));backdrop-filter:var(--tct-input-error-hover-backdrop-filter, var(--tct-input-error-backdrop-filter, var(--tct-input-hover-backdrop-filter, var(--comp-input-backdrop-filter))));background:var(--tct-input-error-hover-background, var(--tct-input-error-background, var(--comp-input-background)));box-shadow:var(--tct-input-error-hover-box-shadow, var(--tct-input-error-box-shadow, var(--comp-input-hover-ring)))}.has-focus .input-container{border-color:var(--tct-input-focus-border-color, var(--t-input-focus-border-color, var(--comp-input-border-color)));background:var(--tct-input-focus-background, var(--comp-input-background));backdrop-filter:var(--tct-input-focus-backdrop-filter, var(--comp-input-backdrop-filter));box-shadow:var(--tct-input-focus-box-shadow, var(--const-double-focus-ring))}.has-focus.has-error .input-container,.has-focus.has-error .input-container:hover{border-color:var(--tct-input-error-focus-border-color, var(--tct-input-error-border-color, var(--const-stoplight-alert, #d20a0a)));backdrop-filter:var(--tct-input-error-focus-backdrop-filter, var(--tct-input-error-backdrop-filter, var(--tct-input-focus-backdrop-filter, var(--comp-input-backdrop-filter))));background:var(--tct-input-error-focus-background, var(--tct-input-error-background, var(--comp-input-background)));box-shadow:var(--tct-input-error-focus-box-shadow, var(--tct-input-error-box-shadow, var(--const-double-focus-ring)))}.input-container:has(.input-field:is(:-webkit-autofill,:autofill)){background:var(--tct-input-autofill-background, #faffbc);color:var(--tct-input-autofill-font-color, var(--t-text, inherit))}.input-container:has(.input-field:is(:-webkit-autofill,:autofill)) .input-field{box-shadow:0 0 0 1000px var(--tct-input-autofill-background, #faffbc) inset;color:var(--tct-input-autofill-font-color, var(--t-text, inherit));-webkit-text-fill-color:var(--tct-input-autofill-font-color, var(--t-text, inherit))}.input-field{flex:1;border:0;-webkit-appearance:none;appearance:none;box-sizing:border-box;min-height:var(--comp-input-min-height);max-height:var(--comp-input-max-height);overflow-y:hidden;height:var(--tct-input-height, var(--t-input-height, 44px));width:100%;padding:var(--tct-input-padding, 0);background:transparent;color:var(--tct-input-font-color, var(--t-input-font-color, var(--t-text, inherit)));display:inline-block;text-align:var(--tct-input-align, "start");font-weight:var(--tct-input-font-weight, var(--t-input-font-weight, 400));letter-spacing:var(--tct-input-letter-spacing, var(--t-input-letter-spacing, inherit));}.input-field:focus{outline:none;box-shadow:none}.input-field::-webkit-outer-spin-button,.input-field::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.input-field[type=number]{-moz-appearance:textfield}.input-field::-ms-reveal,.input-field::-ms-clear{display:none}.input-field[type=search]::-webkit-search-decoration,.input-field[type=search]::-webkit-search-cancel-button,.input-field[type=search]::-webkit-search-results-button,.input-field[type=search]::-webkit-search-results-decoration{display:none}.input-field[disabled]:not([disabled=false]){cursor:not-allowed}.right-aligned .input-field{text-align:right}.input-field:is(input){flex:1}.input-field:is(button){display:inline-flex;align-items:center}.has-custom-display .input-field:is(button){height:auto;padding:0}.input-field:is(button) span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.custom-display-container{max-width:100%}.has-custom-display .custom-display-container{--comp-default-padding:var(--app-scale-2x, 10px) var(--app-scale-2x, 10px) var(--app-scale-3x, 15px);padding:var(--tct-input-padding, var(--t-input-padding, var(--comp-default-padding)));width:100%}.input-field::placeholder,.placeholder-text{color:var(--tct-input-placeholder-font-color, var(--t-input-placeholder-font-color, var(--t-textA, var(--app-gray-d1, rgba(77, 77, 77, 0.77)))))}.pseudo-input-container{min-width:0;flex:1}.input-icons-container-left,.input-icons-container-right{--tct-btn-icon-hover-background:var(--tct-input-btn-hover-background);--tct-btn-hover-background:var(--tct-input-btn-hover-background);display:flex;flex-direction:row;align-items:center;gap:var(--comp-input-horizontal-gap)}.input-icons-container-left>div:not(.vertical-separator),.input-icons-container-right>div:not(.vertical-separator){min-width:var(--tct-input-icon-container-icon-min-width, 44px);display:flex;justify-content:center;align-items:center;font-size:var(--tct-input-icon-container-font-size, inherit)}.input-icons-container-left:empty,.input-icons-container-right:empty{display:var(--tct-input-icon-container-empty-display, block)}.input-icons-container-left{padding-left:var(--comp-input-horizontal-gap)}.input-icons-container-right{padding-right:var(--comp-input-horizontal-gap);--comp-visibility-toggle-padding:0px var(--app-scale-2x, 10px)}.input-icons-container-right .btn-visibility-toggle{--tct-btn-height:var(--comp-input-min-height);--tct-btn-padding-inline:var(--tct-input-visibility-toggle-padding, var(--app-scale-2x, 10px));--tct-btn-font-weight:var(--tct-input-visibility-toggle-font-weight, 400);color:var(--tct-input-visibility-toggle-font-color, var(--t-primary, #0079c1));font-size:var(--tct-input-visibility-toggle-font-size, var(--app-font-size-small, 12px))}q2-icon{margin-top:calc(var(--tct-input-border-top-width, var(--t-input-border-top-width, 1px)) / 2);margin-bottom:calc(var(--tct-input-border-bottom-width, var(--t-input-border-bottom-width, 1px)) / 2);pointer-events:none;color:var(--tct-input-icon-stroke-primary, var(--t-input-icon-stroke-primary, var(--t-a11y-gray-color, var(--t-textA, var(--app-gray, #747474)))));--tct-icon-stroke-primary:var(--tct-input-icon-stroke-primary, var(--t-input-icon-stroke-primary, var(--t-a11y-gray-color, var(--t-textA, var(--app-gray, #747474)))))}.icon-left-muted{opacity:0.5}.input-prefix,.input-suffix{min-height:var(--comp-input-min-height);max-height:var(--comp-input-max-height);height:var(--tct-input-height, var(--t-input-height, 44px));font-size:var(--tct-input-prefix-font-size, var(--t-input-prefix-font-size, inherit));font-weight:var(--tct-input-prefix-font-weight, 400);color:var(--tct-input-prefix-font-color, var(--t-input-prefix-font-color, inherit));background:var(--tct-input-prefix-background, var(--tct-input-prefix-bg, var(--t-input-prefix-bg, var(--tct-input-background, var(--tct-input-bg, var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, #f2f2f2))))))));transition:color var(--comp-input-tween), background var(--comp-input-tween)}.input-prefix{border-top-left-radius:calc(\n var(--comp-input-border-top-left-radius) - var(--tct-input-border-top-width, var(--t-input-border-top-width, 1px)) - var(--tct-input-border-left-width, var(--t-input-border-left-width, 1px))\n );border-bottom-left-radius:calc(\n var(--comp-input-border-bottom-left-radius) - var(--tct-input-border-bottom-width, var(--t-input-border-bottom-width, 1px)) - var(--tct-input-border-left-width, var(--t-input-border-left-width, 1px))\n );pointer-events:none;}.input-suffix{border-top-right-radius:calc(\n var(--comp-input-border-top-right-radius) - var(--tct-input-border-top-width, var(--t-input-border-top-width, 1px)) - var(--tct-input-border-right-width, var(--t-input-border-right-width, 1px))\n );border-bottom-right-radius:calc(\n var(--comp-input-border-bottom-right-radius) - var(--tct-input-border-bottom-width, var(--t-input-border-bottom-width, 1px)) - var(--tct-input-border-right-width, var(--t-input-border-right-width, 1px))\n )}.icon-error{color:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a));--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, #d20a0a))}.messages-container{height:0px;overflow:hidden;background:var(--tct-message-background, var(--tct-message-bg, var(--t-message-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2)))))));box-shadow:var(--tct-input-message-box-shadow, var(--t-input-message-box-shadow, var(--tct-box-shadow-1, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)))));transition:height var(--tct-input-messages-tween, var(--t-input-messages-tween, var(--tct-tween-1, var(--app-tween-1, 0.2s ease))));margin-top:var(--tct-input-messages-margin-top, 2px);z-index:var(--tct-input-messages-z-index, 5);position:absolute;width:100%;color:var(--tct-input-messages-font-color, var(--t-input-messages-font-color, inherit));border-radius:var(--tct-message-border-radius, --app-border-radius-1, inherit)}.has-error label{color:var(--tct-input-error-label-font-color, var(--t-input-error-label-font-color, var(--tct-input-label-font-color, var(--t-input-label-font-color, inherit))))}.has-error:not(.has-focus) .input-prefix,.has-error:not(.has-focus) .input-suffix{color:var(--tct-input-error-prefix-font-color, var(--t-input-error-prefix-font-color, inherit));background:var(--tct-input-error-prefix-background, var(--tct-input-error-prefix-bg, var(--t-input-error-prefix-bg, var(--tct-input-background, var(--tct-input-bg, var(--t-input-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))))))))}.icon-left{width:26px;height:26px}.vertical-separator{height:calc(var(--comp-input-min-height) - 2px);border-right-width:var(--tct-input-prefix-border-width, 1px);border-right-style:solid;border-right-color:var(--tct-input-prefix-border-color, var(--t-input-prefix-border-color, var(--tct-input-border-color, var(--t-input-border-color, var(--t-a11y-gray-color-AA, #404040)))))}';
3112
+
3113
+ const O = {
3114
+ text: "text",
3115
+ tel: "tel",
3116
+ number: "number",
3117
+ password: "text",
3118
+ search: "search",
3119
+ url: "url",
3120
+ email: "email",
3121
+ currency: "text",
3122
+ phone: "tel",
3123
+ ssn: "text",
3124
+ alphanumeric: "text",
3125
+ alpha: "text",
3126
+ numeric: "text",
3127
+ percentage: "text",
3128
+ postal: "text",
3129
+ date: "text",
3130
+ "credit-card": "text"
3131
+ };
3132
+
3133
+ const Y = class {
3134
+ constructor(a) {
3135
+ t(this, a);
3136
+ this.change = r(this, "change", 7);
3137
+ this.clear = r(this, "clear", 7);
3138
+ this.formatted = r(this, "formatted", 7);
3139
+ this.input = r(this, "input", 7);
3140
+ this.invalid = r(this, "invalid", 7);
3141
+ // #region Own Properties
3142
+ this.guid = o();
3143
+ this.isClickEvent = false;
3144
+ this.isMobile = n();
3145
+ this.scheduledAfterRender = [];
3146
+ // #endregion
3147
+ // #region State Properties
3148
+ this.checkSlotCount = 0;
3149
+ this.isSmall = false;
3150
+ // #endregion
3151
+ // #region Public Property API
3152
+ /**
3153
+ * Sets readonly to true on the input without adding the "read only" label.
3154
+ *
3155
+ * Can be used to prevent user input while still presenting the necessary information for assistive technology.
3156
+ * @private
3157
+ */ this._preventEntry = undefined;
3158
+ /**
3159
+ * Allows for correct semantics of q2-input element when aria-expanded.
3160
+ * @private
3161
+ * Defaults to undefined
3162
+ * Will assign role to combobox when used inside q2-select and q2-calendar.
3163
+ */ this._role = undefined;
3164
+ /** Indicates the field cannot be focused or interacted with. */ this.disabled = false;
3165
+ /**
3166
+ * Displays a toggle button at the end of the input field which shows or hides the actual value.
3167
+ * @info
3168
+ * Only applicable when `type` is `text`, `password`, or `ssn`.
3169
+ */ this.showVisibilityToggle = false;
3170
+ /** Specifies the field's expected [input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types), and provides the optimal keyboard on mobile devices. */ this.type = "text";
3171
+ /**
3172
+ * Sets textSelectedForDeletion to true if the user has selected text for deletion
3173
+ * This is used to prevent other logic from running when text is deleted
3174
+ */ this.handleCurrencyKeydown = t => {
3175
+ if (![ "Backspace", "Delete" ].includes(t.key)) return;
3176
+ const r = this.inputField;
3177
+ this.textSelectedForDeletion = r.selectionStart !== r.selectionEnd;
3178
+ };
3179
+ this.handleValueAndCursor = () => {
3180
+ // ORDER IMPORTANT: calculate cursor position -> set value -> set cursor position
3181
+ const t = this.calculateCursorPositionOnInput();
3182
+ // when type=number: returns only valid decimal on input event, should not update itself (e.g. typing "1." )
3183
+ if (this.type !== "number") this.inputField.value = this.formattedValueObject.formattedValue;
3184
+ this.input.emit(Object.assign({
3185
+ value: this.formattedValueObject.value,
3186
+ formattedValue: this.formattedValueObject.fullyFormattedValue,
3187
+ minFormattedLength: this.formattedValueObject.minFormattedLength
3188
+ }, this.formattedValueObject.type && {
3189
+ type: this.formattedValueObject.type
3190
+ }));
3191
+ if (!this.formattedValueObject.value) {
3192
+ this.clear.emit();
3193
+ }
3194
+ this.setCursorPosition(t);
3195
+ };
3196
+ this.initMutationObserver = () => {
3197
+ if (!("MutationObserver" in window)) return;
3198
+ const t = new MutationObserver(this.onMutationObserved);
3199
+ t.observe(this.hostElement, {
3200
+ childList: true
3201
+ });
3202
+ this.mutationObserver = t;
3203
+ };
3204
+ this.onClearInput = () => {
3205
+ const t = {
3206
+ value: "",
3207
+ formattedValue: "",
3208
+ minFormattedLength: this.formattedValueObject.minFormattedLength
3209
+ };
3210
+ this.input.emit(t);
3211
+ this.change.emit(t);
3212
+ this.clear.emit();
3213
+ this.inputField.focus();
3214
+ };
3215
+ this.onInputBlur = () => {
3216
+ this.hasFocus = false;
3217
+ p(this);
3218
+ if (this.valueOnFocus !== this.formattedValueObject.value) {
3219
+ this.valueOnFocus = this.formattedValueObject.value;
3220
+ this.change.emit(Object.assign({
3221
+ value: this.formattedValueObject.value,
3222
+ formattedValue: this.formattedValueObject.fullyFormattedValue,
3223
+ minFormattedLength: this.formattedValueObject.minFormattedLength
3224
+ }, this.formattedValueObject.type && {
3225
+ type: this.formattedValueObject.type
3226
+ }));
3227
+ }
3228
+ };
3229
+ this.onInputClick = () => {
3230
+ if (this.shouldCursorStayAtEnd) this.placeCursorAtEnd();
3231
+ };
3232
+ this.onInputFocus = () => {
3233
+ if (this.inputField.tagName === "INPUT") {
3234
+ this.scheduledAfterRender.push((() => {
3235
+ if (this.isClickEvent && this.shouldCursorStartAtEnd) {
3236
+ this.placeCursorAtEnd();
3237
+ } else {
3238
+ this.setCursorPosition(this.calculateCursorPositionOnFocus());
3239
+ }
3240
+ this.isClickEvent = false;
3241
+ }));
3242
+ }
3243
+ this.hasFocus = true;
3244
+ p(this);
3245
+ this.valueOnFocus = this.value;
3246
+ };
3247
+ this.onInputInput = t => {
3248
+ t.stopPropagation();
3249
+ if (this.type === "currency") this.handleCurrencyDeletion(t);
3250
+ const r = this.getFormattedValue(t.target.value, false);
3251
+ this.handleDataInput(r);
3252
+ this.validateInput();
3253
+ };
3254
+ this.onInputKeydown = t => {
3255
+ const r = [ "ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End" ];
3256
+ const {key: a} = t;
3257
+ if (this.type === "currency") this.handleCurrencyKeydown(t);
3258
+ if (this.shouldCursorStayAtEnd && r.includes(a)) t.preventDefault();
3259
+ if (a === "Enter" && this.valueOnFocus !== this.formattedValueObject.value) {
3260
+ this.valueOnFocus = this.formattedValueObject.value;
3261
+ this.change.emit(Object.assign({
3262
+ value: this.formattedValueObject.value,
3263
+ formattedValue: this.formattedValueObject.fullyFormattedValue,
3264
+ minFormattedLength: this.formattedValueObject.minFormattedLength
3265
+ }, this.formattedValueObject.type && {
3266
+ type: this.formattedValueObject.type
3267
+ }));
3268
+ }
3269
+ };
3270
+ this.onInputMousedown = () => {
3271
+ this.isClickEvent = true;
3272
+ };
3273
+ this.onInputPaste = t => {
3274
+ if (this.type === "currency") {
3275
+ const r = t.clipboardData.getData("text");
3276
+ const a = this.getFormattedValue(r, true);
3277
+ t.preventDefault();
3278
+ this.handleDataInput(a);
3279
+ }
3280
+ };
3281
+ this.onMutationObserved = () => {
3282
+ // Updating checkSlotCount to force re-render when slot content changes
3283
+ this.checkSlotCount = this.checkSlotCount + 1;
3284
+ };
3285
+ this.onRefocusInput = () => {
3286
+ if (this.showMessages) {
3287
+ this.inputField.focus();
3288
+ p(this);
3289
+ }
3290
+ };
3291
+ this.onToggleVisibility = () => {
3292
+ this.hostElement.dispatchEvent(new FocusEvent("focus"));
3293
+ this.textHidden = !this.textHidden;
3294
+ };
3295
+ this.validateInput = () => {
3296
+ var t, r, a;
3297
+ this.validity = (t = this.inputRef) === null || t === void 0 ? void 0 : t.validity;
3298
+ if (((r = this.validity) === null || r === void 0 ? void 0 : r.valid) === false) {
3299
+ this.invalid.emit();
3300
+ }
3301
+ return !!((a = this.validity) === null || a === void 0 ? void 0 : a.valid);
3302
+ };
3303
+ }
3304
+ // #endregion
3305
+ // #region Component Lifecycle Events
3306
+ disconnectedCallback() {
3307
+ var t;
3308
+ this.manageClearableResizeObserver();
3309
+ (t = this.mutationObserver) === null || t === void 0 ? void 0 : t.disconnect();
3310
+ this.mutationObserver = null;
3311
+ }
3312
+ componentWillLoad() {
3313
+ if (isNaN(this.maxlength)) {
3314
+ this.maxlength = undefined;
3315
+ }
3316
+ this.formattedValueObject = this.getFormattedValue(this.stringValue, true);
3317
+ Object.defineProperty(this.hostElement, "formattedValue", {
3318
+ get: () => {
3319
+ var t, r;
3320
+ return (r = (t = this.formattedValueObject) === null || t === void 0 ? void 0 : t.formattedValue) !== null && r !== void 0 ? r : "";
3321
+ }
3322
+ });
3323
+ c(this);
3324
+ if (this.textHidden === undefined) {
3325
+ this.textHidden = this.type === "password";
3326
+ }
3327
+ this.manageClearableResizeObserver(this.clearable);
3328
+ }
3329
+ componentDidLoad() {
3330
+ f(this.hostElement);
3331
+ if (!this.pseudo) this.inputField.value = this.formattedValueObject.formattedValue;
3332
+ if (!!this.autofocus) this.inputField.focus();
3333
+ this.initMutationObserver();
3334
+ }
3335
+ componentDidRender() {
3336
+ this.scheduledAfterRender.forEach((t => t()));
3337
+ this.scheduledAfterRender = [];
3338
+ }
3339
+ // #endregion
3340
+ // #region Listeners
3341
+ onHostElementChange(t) {
3342
+ if (!(t instanceof CustomEvent)) {
3343
+ t.stopPropagation();
3344
+ return;
3345
+ }
3346
+ if (t.target === this.hostElement && !this.hostElement.onchange) {
3347
+ this.value = t.detail.value;
3348
+ }
3349
+ }
3350
+ onHostElementFocus(t) {
3351
+ if (!d(t, this.hostElement)) return;
3352
+ this.inputField.focus();
3353
+ }
3354
+ // #endregion
3355
+ // #region Public Methods API
3356
+ /**
3357
+ * Emulates firing checkValidity on `<input>`, emits `invalid` event if validation failed.
3358
+ */
3359
+ async checkValidity() {
3360
+ this.inputRef.checkValidity();
3361
+ return this.validateInput();
3362
+ }
3363
+ /**
3364
+ * Emulates clicking the clear button when the input is clearable.
3365
+ *
3366
+ * @warning
3367
+ * Only applicable when the input is clearable.
3368
+ *
3369
+ * @testOnly
3370
+ */ async clearValue() {
3371
+ if (!this.clearable) return;
3372
+ this.onClearInput();
3373
+ }
3374
+ /**
3375
+ * Emulates focusing the `<input>`, entering the provided value, and emitting an `input` event.
3376
+ *
3377
+ * This method leaves the focus on the `<input>` and as a result does not trigger the `change` event. If you want
3378
+ * to trigger the` change` event, move the focus to another element after calling this method.
3379
+ *
3380
+ * @testOnly
3381
+ */ setValue(t) {
3382
+ const {inputField: r} = this;
3383
+ r.focus();
3384
+ r.dispatchEvent(new FocusEvent("focus"));
3385
+ r.value = t;
3386
+ r.dispatchEvent(new InputEvent("input"));
3387
+ }
3388
+ // #endregion
3389
+ // #region Watchers
3390
+ ariaLabelObserver() {
3391
+ c(this);
3392
+ }
3393
+ manageClearableResizeObserver(t) {
3394
+ var r;
3395
+ if ("ResizeObserver" in window === false) return;
3396
+ const a = 190;
3397
+ if (t) {
3398
+ if (this.resizeObserver) return;
3399
+ if (typeof ResizeObserver === "undefined") return;
3400
+ this.resizeObserver = new ResizeObserver((([t]) => {
3401
+ this.isSmall = a > t.contentRect.width;
3402
+ }));
3403
+ this.resizeObserver.observe(this.hostElement);
3404
+ } else {
3405
+ this.isSmall = false;
3406
+ (r = this.resizeObserver) === null || r === void 0 ? void 0 : r.unobserve(this.hostElement);
3407
+ this.resizeObserver = null;
3408
+ }
3409
+ }
3410
+ errorsObserver() {
3411
+ this.hasFocus && this.scheduledAfterRender.push((() => p(this)));
3412
+ }
3413
+ formatModifierObserver() {
3414
+ this.formatAndUpdateValueFromProp();
3415
+ }
3416
+ formattedValueObjectObserver() {
3417
+ this.formatted.emit(this.formattedValueObject);
3418
+ }
3419
+ hintsObserver() {
3420
+ this.hasFocus && this.scheduledAfterRender.push((() => p(this)));
3421
+ }
3422
+ typeObserver() {
3423
+ this.formatAndUpdateValueFromProp();
3424
+ }
3425
+ valueObserver() {
3426
+ this.formatAndUpdateValueFromProp();
3427
+ }
3428
+ // #endregion
3429
+ // #region Local Methods
3430
+ get ariaAttributes() {
3431
+ return {
3432
+ ariaActivedescendant: u(this.ariaActivedescendant),
3433
+ ariaControls: u(this.ariaControls),
3434
+ ariaExpanded: u(this.ariaExpanded, [ "true", "false" ]),
3435
+ ariaHaspopup: u(this.ariaHaspopup, [ "true", "false", "menu", "listbox", "tree", "grid", "dialog" ]),
3436
+ ariaOwns: u(this.ariaOwns)
3437
+ };
3438
+ }
3439
+ get canSetSelection() {
3440
+ // email and number type don't support setSelectionRange
3441
+ return ![ "email", "number" ].includes(this.computedType);
3442
+ }
3443
+ get clearClasses() {
3444
+ var t;
3445
+ const r = [ "btn-clear" ];
3446
+ if (!this.clearable || !(((t = this.inputField) === null || t === void 0 ? void 0 : t.value) || this.value)) {
3447
+ r.push("hidden");
3448
+ }
3449
+ return r;
3450
+ }
3451
+ get computedAutocomplete() {
3452
+ // force off for currency type
3453
+ if (this.type === "currency") return "transaction-amount";
3454
+ return this.autocomplete || "off";
3455
+ }
3456
+ get computedClassForIconLeft() {
3457
+ let t = "icon-left";
3458
+ if (this.formattedValueObject.leftIconMuted) {
3459
+ t += " icon-left-muted";
3460
+ }
3461
+ return t;
3462
+ }
3463
+ get computedIconLeft() {
3464
+ if (this.formattedValueObject.prefix) {
3465
+ return;
3466
+ }
3467
+ if (this.type === "search") {
3468
+ return "search";
3469
+ }
3470
+ if (this.formattedValueObject.leftIcon) {
3471
+ return this.formattedValueObject.leftIcon;
3472
+ }
3473
+ return this.iconLeft;
3474
+ }
3475
+ get computedType() {
3476
+ if ([ "password", "text", "ssn" ].includes(this.type) && this.textHidden) {
3477
+ return "password";
3478
+ } else {
3479
+ return this.type && O[this.type] || "text";
3480
+ }
3481
+ }
3482
+ get hasCustomDisplaySlot() {
3483
+ return l(this.hostElement, "custom-display");
3484
+ }
3485
+ get hasError() {
3486
+ return Array.isArray(this.errors) && this.errors.length > 0;
3487
+ }
3488
+ get hasInputLeftSlot() {
3489
+ return l(this.hostElement, "input-left");
3490
+ }
3491
+ get hasInputRightSlot() {
3492
+ return l(this.hostElement, "input-right");
3493
+ }
3494
+ get inputDescribedBy() {
3495
+ return this.showMessages ? `${this.inputId}-description` : undefined;
3496
+ }
3497
+ get inputField() {
3498
+ return this.hostElement.shadowRoot.querySelector(".input-field");
3499
+ }
3500
+ get inputId() {
3501
+ return `input-guid-${this.guid}`;
3502
+ }
3503
+ get inputMode() {
3504
+ const t = {
3505
+ currency: "numeric",
3506
+ ssn: "numeric",
3507
+ tin: "numeric",
3508
+ numeric: "decimal",
3509
+ percentage: "decimal",
3510
+ date: "numeric",
3511
+ "credit-card": "numeric"
3512
+ };
3513
+ return this.type && t[this.type] || undefined;
3514
+ }
3515
+ get isMaskedType() {
3516
+ const t = [ "currency", "phone", "ssn", "tin", "alphanumeric", "alpha", "numeric", "percentage", "postal", "date", "credit-card" ];
3517
+ return t.includes(this.type);
3518
+ }
3519
+ get messages() {
3520
+ return this.errors && this.errors.length > 0 && this.errors || this.hints && this.hints.length > 0 && this.hints || [];
3521
+ }
3522
+ get shouldCursorStartAtEnd() {
3523
+ return this.type === "currency";
3524
+ }
3525
+ get shouldCursorStayAtEnd() {
3526
+ return this.isMobile && this.type === "currency";
3527
+ }
3528
+ get showIconSeparator() {
3529
+ return this.type === "credit-card" || !!this.formattedValueObject.prefix;
3530
+ }
3531
+ get showMessages() {
3532
+ return this.messages.length > 0 && !this.hideMessages;
3533
+ }
3534
+ get stringValue() {
3535
+ const t = Object.prototype.toString.call(this.value) === "[object Object]";
3536
+ return t ? "" : this.value && String(this.value) || "";
3537
+ }
3538
+ get visibilityToggleAriaLabel() {
3539
+ return `tecton.element.input.toggleAriaLabel.${this.textHidden ? "show" : "hide"}`;
3540
+ }
3541
+ get visibilityToggleText() {
3542
+ return m(`tecton.element.input.toggle.${this.textHidden ? "show" : "hide"}`);
3543
+ }
3544
+ get wrapperClasses() {
3545
+ const t = [ "field-container" ];
3546
+ if (this.hasError) t.push("has-error");
3547
+ if (!!this.value) t.push("has-value");
3548
+ if (this.clearable && !!this.value) t.push("has-clear");
3549
+ if (this.hasFocus) t.push("has-focus");
3550
+ if (this.isSmall) t.push("is-small");
3551
+ if (this.formattedValueObject.prefix) t.push("has-prefix");
3552
+ if (this.computedIconLeft) t.push("has-icon-left");
3553
+ if (this.showIconSeparator) t.push("has-icon-separator");
3554
+ if (this.formattedValueObject.suffix) t.push("has-suffix");
3555
+ if (!this.formattedValueObject.suffix && this.iconRight) t.push("has-icon-right");
3556
+ if (this.type === "currency") t.push("right-aligned"); else t.push("left-aligned");
3557
+ if (this.hasCustomDisplaySlot) t.push("has-custom-display");
3558
+ return t.join(" ");
3559
+ }
3560
+ calculateCursorPositionOnFocus() {
3561
+ var t, r, a;
3562
+ const {inputField: e} = this;
3563
+ const i = (r = (t = e === null || e === void 0 ? void 0 : e.value) === null || t === void 0 ? void 0 : t.length) !== null && r !== void 0 ? r : 0;
3564
+ const s = (a = e === null || e === void 0 ? void 0 : e.selectionStart) !== null && a !== void 0 ? a : i;
3565
+ return {
3566
+ startingPosition: s,
3567
+ valueLength: i,
3568
+ previousValueLength: i,
3569
+ hasSelection: window.getSelection().toString().length > 0
3570
+ };
3571
+ }
3572
+ calculateCursorPositionOnInput() {
3573
+ const t = this.inputField;
3574
+ const r = this.formattedValueObject.formattedValue.length;
3575
+ const a = t.value.length;
3576
+ const e = this.type === "currency" ? r : 0;
3577
+ return {
3578
+ startingPosition: t && t.selectionStart || e,
3579
+ valueLength: r,
3580
+ previousValueLength: t && a,
3581
+ hasSelection: false
3582
+ };
3583
+ }
3584
+ formatAndUpdateValueFromProp() {
3585
+ this.formattedValueObject = this.getFormattedValue(this.stringValue, true);
3586
+ if (!this.pseudo) {
3587
+ const setValue = () => {
3588
+ this.inputField.value = this.formattedValueObject.formattedValue;
3589
+ };
3590
+ this.inputField ? setValue() : this.scheduledAfterRender.push((() => setValue()));
3591
+ }
3592
+ }
3593
+ getFormattedValue(t, r) {
3594
+ const a = {
3595
+ currency: formatCurrency,
3596
+ phone: formatPhoneNumber,
3597
+ ssn: formatSSN,
3598
+ tin: formatTIN,
3599
+ alphanumeric: formatAlphanumeric,
3600
+ alpha: formatAlpha,
3601
+ numeric: formatNumeric,
3602
+ percentage: formatPercentage,
3603
+ postal: formatPostalCode,
3604
+ date: formatDate,
3605
+ "credit-card": I.format
3606
+ };
3607
+ if (a[this.type]) {
3608
+ return a[this.type](t, this.formatModifier, r);
3609
+ }
3610
+ return {
3611
+ value: t,
3612
+ formattedValue: t,
3613
+ fullyFormattedValue: t,
3614
+ formattingCharacterCount: 0,
3615
+ unformattedValue: t
3616
+ };
3617
+ }
3618
+ handleCurrencyDeletion(t) {
3619
+ // Don't do anything if text was selected for deletion
3620
+ if (this.textSelectedForDeletion) {
3621
+ this.textSelectedForDeletion = false;
3622
+ return;
3623
+ }
3624
+ // We only care about "Backspace" and "Delete" events
3625
+ if (![ "deleteContentBackward", "deleteContentForward" ].includes(t.inputType)) return;
3626
+ const r = t.target;
3627
+ const a = r.selectionStart;
3628
+ const {formattedValue: e} = this.formattedValueObject;
3629
+ if (a === null) return;
3630
+ let i;
3631
+ switch (t.inputType) {
3632
+ case "deleteContentBackward":
3633
+ const t = e.substring(0, a + 1);
3634
+ const r = /[a-zA-Z0-9]$/.test(t);
3635
+ i = {
3636
+ leftIndex: r ? a : a - 1,
3637
+ rightIndex: r ? a + 1 : a,
3638
+ afterCursorOffset: 0,
3639
+ newCursorOffset: 1
3640
+ };
3641
+ break;
3642
+
3643
+ case "deleteContentForward":
3644
+ const s = e.substring(a);
3645
+ const o = /^[a-zA-Z0-9]/.test(s);
3646
+ i = {
3647
+ leftIndex: o ? a : a + 1,
3648
+ rightIndex: o ? a + 1 : a + 2,
3649
+ afterCursorOffset: 1,
3650
+ newCursorOffset: 0
3651
+ };
3652
+ break;
3653
+
3654
+ default:
3655
+ return;
3656
+ }
3657
+ // Ensure the cursor doesn't move with a newly formatted value
3658
+ const s = [ e.substring(0, i.leftIndex), e.substring(i.rightIndex) ].join("");
3659
+ const o = e.length - a - i.afterCursorOffset;
3660
+ const n = this.getFormattedValue(s, false).formattedValue;
3661
+ const p = Math.max(n.length - o + i.newCursorOffset, 0);
3662
+ r.value = n;
3663
+ r.setSelectionRange(p, p);
3664
+ // This handles a runtime issue when a character is deleted from the beginning of the input
3665
+ if (p === 0) {
3666
+ h((() => r.setSelectionRange(p, p)));
3667
+ }
3668
+ }
3669
+ handleDataInput(t) {
3670
+ if (this.maxlength === undefined || t.unformattedValue.length <= this.maxlength || t.unformattedValue.length <= this.formattedValueObject.unformattedValue.length) {
3671
+ this.formattedValueObject = t;
3672
+ } else if (this.maxlength) {
3673
+ t = this.getFormattedValue(t.unformattedValue.substring(0, this.maxlength), false);
3674
+ this.formattedValueObject = t;
3675
+ }
3676
+ this.handleValueAndCursor();
3677
+ }
3678
+ placeCursorAtEnd() {
3679
+ const {inputField: t} = this;
3680
+ t.selectionStart = t.selectionEnd = t.value.length;
3681
+ }
3682
+ setCursorPosition(t) {
3683
+ if (this.canSetSelection && !t.hasSelection) {
3684
+ const r = this.inputField;
3685
+ const {valueLength: a, previousValueLength: e, startingPosition: i} = t;
3686
+ if (this.type === "currency") {
3687
+ if (e - a === 1) {
3688
+ r.setSelectionRange(i - 1, i - 1);
3689
+ } else {
3690
+ const t = e - a;
3691
+ r.setSelectionRange(i - t, i - t);
3692
+ }
3693
+ }
3694
+ if (this.type !== "currency") {
3695
+ const t = a - e;
3696
+ // Never allow the cursor to move in reverse
3697
+ const s = i + (t > 0 ? t : 0);
3698
+ r.setSelectionRange(s, s);
3699
+ }
3700
+ }
3701
+ }
3702
+ // #endregion
3703
+ // #region Render Methods
3704
+ renderCountDOM() {
3705
+ if (!this.showCount) return;
3706
+ const {maxlength: t, formattedValueObject: r} = this;
3707
+ return a("div", {
3708
+ class: "count-tag"
3709
+ }, r.unformattedValue.length, t && `/${t}`);
3710
+ }
3711
+ renderInputContainerDOM() {
3712
+ const {hasInputLeftSlot: t, hasInputRightSlot: r} = this;
3713
+ return a("div", {
3714
+ class: "input-container",
3715
+ tabindex: -1,
3716
+ "test-id": "inputContainer"
3717
+ }, a("div", {
3718
+ class: "input-icons-container-left"
3719
+ }, this.formattedValueObject.prefix && a("div", {
3720
+ class: "input-prefix"
3721
+ }, this.formattedValueObject.prefix), this.computedIconLeft && a("div", null, a("q2-icon", {
3722
+ type: this.computedIconLeft,
3723
+ class: this.computedClassForIconLeft
3724
+ })), t && a("slot", {
3725
+ name: "input-left"
3726
+ }), this.showIconSeparator && a("div", {
3727
+ class: "vertical-separator"
3728
+ }), this.hasError && this.type === "currency" && a("div", {
3729
+ "test-id": "divIconError",
3730
+ onClick: this.onRefocusInput
3731
+ }, a("q2-icon", {
3732
+ type: "error",
3733
+ class: "icon-error",
3734
+ "test-id": "iconError"
3735
+ }))), this.pseudo ? this.renderPseudoInputDOM() : this.renderStandardInputDOM(), a("div", {
3736
+ class: "input-icons-container-right"
3737
+ }, a("q2-btn", {
3738
+ class: this.clearClasses.join(" "),
3739
+ label: m("tecton.element.input.clear", [ this.label ]),
3740
+ hideLabel: true,
3741
+ "test-id": "clearButton",
3742
+ onClick: this.onClearInput,
3743
+ onKeyDown: t => t.stopPropagation()
3744
+ }, a("q2-icon", {
3745
+ type: "close",
3746
+ class: "icon-clear"
3747
+ })), [ "password", "text", "ssn", "tin" ].includes(this.type) && this.showVisibilityToggle && a("q2-btn", {
3748
+ class: "btn-visibility-toggle",
3749
+ "test-id": "toggleVisibilityButton",
3750
+ onClick: this.onToggleVisibility,
3751
+ label: m(this.visibilityToggleAriaLabel, {
3752
+ label: this.label
3753
+ }),
3754
+ "hide-label": true
3755
+ }, this.visibilityToggleText), this.formattedValueObject.suffix && a("span", {
3756
+ class: "input-suffix"
3757
+ }, this.formattedValueObject.suffix), this.badgeValue && a("q2-badge", {
3758
+ size: "large",
3759
+ theme: this.badgeTheme
3760
+ }, this.badgeValue), this.hasError && this.type !== "currency" && a("div", {
3761
+ "test-id": "divIconError",
3762
+ onClick: this.onRefocusInput
3763
+ }, a("q2-icon", {
3764
+ type: "error",
3765
+ class: "icon-error",
3766
+ "test-id": "iconError"
3767
+ })), this.iconRight && !this.formattedValueObject.suffix && a("div", null, a("q2-icon", {
3768
+ type: this.iconRight,
3769
+ class: "icon-right"
3770
+ })), r && a("slot", {
3771
+ name: "input-right"
3772
+ })));
3773
+ }
3774
+ renderPseudoInputDOM() {
3775
+ const t = !this.value && !!this.placeholder;
3776
+ const {ariaOwns: r, ariaHaspopup: e, ariaExpanded: i, ariaActivedescendant: s} = this.ariaAttributes;
3777
+ return a("div", {
3778
+ class: "pseudo-input-container"
3779
+ }, a("button", {
3780
+ class: "input-field",
3781
+ type: "button",
3782
+ id: this.inputId,
3783
+ "aria-describedby": this.inputDescribedBy,
3784
+ "aria-invalid": `${this.hasError}`,
3785
+ "aria-owns": r,
3786
+ "aria-haspopup": e,
3787
+ "aria-expanded": i,
3788
+ "aria-activedescendant": s,
3789
+ role: this.role && `${this.role}` || "textbox",
3790
+ disabled: !!this.disabled,
3791
+ "test-id": "q2InputInnerClearButton",
3792
+ onFocus: this.onInputFocus,
3793
+ onBlur: this.onInputBlur
3794
+ }, a("div", {
3795
+ class: "custom-display-container"
3796
+ }, a("slot", {
3797
+ name: "custom-display"
3798
+ }, a("span", {
3799
+ class: t ? "placeholder-text" : ""
3800
+ }, t ? m(this.placeholder) : m(this.value))))));
3801
+ }
3802
+ renderStandardInputDOM() {
3803
+ const {hasCustomDisplaySlot: t} = this;
3804
+ const r = [ "input-field" ];
3805
+ const {ariaOwns: i, ariaHaspopup: s, ariaActivedescendant: o} = this.ariaAttributes;
3806
+ if (t) r.push("sr");
3807
+ return a(e, null, t && a("div", {
3808
+ class: "custom-display-container"
3809
+ }, a("slot", {
3810
+ name: "custom-display"
3811
+ })), a("input", {
3812
+ ref: t => this.inputRef = t,
3813
+ class: r.join(" "),
3814
+ id: this.inputId,
3815
+ type: this.computedType,
3816
+ size: this.formattedValueObject.prefix ? 10 : undefined,
3817
+ maxlength: [ "date", "currency" ].includes(this.type) ? undefined : this.maxlength || undefined,
3818
+ max: this.max,
3819
+ min: this.min,
3820
+ step: this.step,
3821
+ "aria-current": this.current || undefined,
3822
+ "aria-describedby": this.inputDescribedBy,
3823
+ "aria-required": `${!this.optional}`,
3824
+ "aria-invalid": `${this.hasError}`,
3825
+ "aria-owns": i,
3826
+ "aria-haspopup": s,
3827
+ "aria-activedescendant": o,
3828
+ autocomplete: this.computedAutocomplete,
3829
+ autocapitalize: this.autocapitalize,
3830
+ autocorrect: this.autocorrect === "on" ? "on" : "off",
3831
+ autofocus: this.autofocus,
3832
+ placeholder: this.placeholder && m(this.placeholder) || undefined,
3833
+ "test-id": "inputField",
3834
+ readonly: this.readonly || this._preventEntry,
3835
+ disabled: !!this.disabled,
3836
+ onFocus: this.onInputFocus,
3837
+ onBlur: this.onInputBlur,
3838
+ onClick: this.onInputClick,
3839
+ onKeyDown: this.onInputKeydown,
3840
+ onMouseDown: this.onInputMousedown,
3841
+ onInput: this.onInputInput,
3842
+ onPaste: this.onInputPaste,
3843
+ inputmode: this.inputMode,
3844
+ pattern: this.pattern || undefined
3845
+ }));
3846
+ }
3847
+ render() {
3848
+ const {ariaControls: t, ariaExpanded: r} = this.ariaAttributes;
3849
+ return a(i, {
3850
+ key: "ac1668b4b57fe26794243fdac33d3cb9ba74d7c7",
3851
+ role: this._role,
3852
+ "aria-controls": t,
3853
+ "aria-expanded": r
3854
+ }, a("div", {
3855
+ key: "aaa97e165fdda3dfb95326bcdc635e8ad56a791a",
3856
+ class: this.wrapperClasses
3857
+ }, a("div", {
3858
+ key: "7c8fe4e94bc2e0b22465b794aaa773ebb53ec83f",
3859
+ class: "label-wrapper"
3860
+ }, x(this), this.renderCountDOM()), this.renderInputContainerDOM(), v(this)));
3861
+ }
3862
+ get hostElement() {
3863
+ return s(this);
3864
+ }
3865
+ static get watchers() {
3866
+ return {
3867
+ ariaLabel: [ "ariaLabelObserver" ],
3868
+ clearable: [ "manageClearableResizeObserver" ],
3869
+ errors: [ "errorsObserver" ],
3870
+ formatModifier: [ "formatModifierObserver" ],
3871
+ formattedValueObject: [ "formattedValueObjectObserver" ],
3872
+ hints: [ "hintsObserver" ],
3873
+ type: [ "typeObserver" ],
3874
+ value: [ "valueObserver" ]
3875
+ };
3876
+ }
3877
+ };
3878
+
3879
+ Y.style = V;
3880
+
3881
+ export { Y as q2_input };
3882
+ //# sourceMappingURL=q2-input.entry.esm.js.map
3883
+ //# sourceMappingURL=q2-input.entry.js.map