bromcom-ui 2.9.0-rc.8 → 2.9.0-rc.9

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 (386) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/global/global.js +6 -0
  4. package/dist/bromcom-ui/{p-bd51d347.entry.js → p-01416407.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-499bb928.entry.js → p-0261a41f.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-4aa0e6b1.js → p-034bbcdd.js} +1 -1
  7. package/dist/bromcom-ui/{p-fb4b5224.entry.js → p-041d35e1.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-73ca7c0a.entry.js → p-0b390d63.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-5c3e9ac9.entry.js → p-123d6355.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-0cb5a92d.entry.js → p-13c84181.entry.js} +1 -1
  11. package/dist/bromcom-ui/p-14c7e2a8.js +297 -0
  12. package/dist/bromcom-ui/p-170cf07d.js +6 -0
  13. package/dist/bromcom-ui/{p-1be22601.entry.js → p-173a5459.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-8ded5483.entry.js → p-228c74e9.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-a429e85b.js → p-23c35e1b.js} +1 -1
  16. package/dist/bromcom-ui/{p-45767d1d.entry.js → p-27089653.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-f58c1fbe.entry.js → p-27c24ba2.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-81eeccfa.entry.js → p-28f78dd4.entry.js} +1 -1
  19. package/dist/bromcom-ui/p-2a9053d8.js +5 -0
  20. package/dist/bromcom-ui/{p-af0a447d.entry.js → p-2ad0514a.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-2d4a0a66.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-89e1d8c5.entry.js → p-3078fcd2.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-3182df7e.js +10 -0
  24. package/dist/bromcom-ui/{p-2a7bdc8b.entry.js → p-33cb3b7a.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-65f01d32.entry.js → p-3788e33d.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-a82f2b2a.entry.js → p-39342bfb.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-6ca980dd.entry.js → p-3960cae8.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-f4538abb.entry.js → p-3a06c6b1.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-54c0916c.js → p-3ade1099.js} +1 -1
  30. package/dist/bromcom-ui/{p-e5a0d8f6.entry.js → p-3bcaa275.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-ebee9f45.entry.js → p-3d730230.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-3f67e615.js +5 -0
  33. package/dist/bromcom-ui/{p-0f52bab9.entry.js → p-41143361.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-b1c83bb8.entry.js → p-44ca28fa.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-b4ac5904.js → p-477c5bae.js} +1 -1
  36. package/dist/bromcom-ui/{p-2fc584c4.js → p-4798d827.js} +1 -1
  37. package/dist/bromcom-ui/{p-d389b202.entry.js → p-485d801c.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-7c6e3ae5.entry.js → p-4e33341b.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-52989d8c.entry.js +5 -0
  40. package/dist/bromcom-ui/{p-4484ed7d.entry.js → p-55309a20.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-d0bb9a84.entry.js → p-55b60edb.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-5600c817.js +5 -0
  43. package/dist/bromcom-ui/{p-9fe802bc.entry.js → p-620aa5b0.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-065e0f32.entry.js → p-626c26aa.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-62ea396b.entry.js +5 -0
  46. package/dist/bromcom-ui/{p-235023cc.entry.js → p-667876ac.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-03134b6f.entry.js → p-67343ad8.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-fdc3e5b8.entry.js → p-68bf022e.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-f331e009.entry.js → p-6ab403d2.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-24f0e23a.entry.js → p-6cc47ae0.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-c799b397.entry.js → p-6f375d08.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-908b1b5d.js → p-7236f21c.js} +1 -1
  53. package/dist/bromcom-ui/{p-3cde7f38.js → p-74e6d2b6.js} +1 -1
  54. package/dist/bromcom-ui/{p-dc2c4b14.entry.js → p-7b486021.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-d995750a.entry.js → p-7c5763cc.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-2caa75a4.entry.js → p-7cb2df5d.entry.js} +1 -1
  57. package/dist/bromcom-ui/p-7e3209a0.js +14 -0
  58. package/dist/bromcom-ui/{p-240151d4.entry.js → p-7f1612df.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-4fd78dbb.entry.js → p-7f22af84.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-8fcb5846.js → p-81d6b4a9.js} +1 -1
  61. package/dist/bromcom-ui/{p-ec36d0c0.entry.js → p-81f7a8cf.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-ec6b45ba.entry.js → p-833b0234.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-32028f4f.entry.js → p-875dcc4e.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-d7f10f7f.js → p-8b7f2c93.js} +1 -1
  65. package/dist/bromcom-ui/{p-7ddaedb7.entry.js → p-8c3535b6.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-9166c160.entry.js +5 -0
  67. package/dist/bromcom-ui/{p-6c3e9e10.entry.js → p-9314d7ed.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-a9692ed3.entry.js → p-9682f59f.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-8bcfe3b3.entry.js → p-9d12a9da.entry.js} +1 -1
  70. package/dist/bromcom-ui/p-a231503d.js +5 -0
  71. package/dist/bromcom-ui/{p-5d89f348.entry.js → p-a2f55c7e.entry.js} +1 -1
  72. package/dist/bromcom-ui/{p-503feae9.entry.js → p-a3837b59.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-61c4745d.entry.js → p-a7bc8330.entry.js} +1 -1
  74. package/dist/bromcom-ui/p-a9842acd.entry.js +5 -0
  75. package/dist/bromcom-ui/{p-ea4d8a18.entry.js → p-ae57f046.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-f619f9f9.entry.js → p-b284e383.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-b82685e4.js +12 -0
  78. package/dist/bromcom-ui/{p-e4477593.entry.js → p-ba3c6657.entry.js} +1 -1
  79. package/dist/bromcom-ui/p-ba7e96a8.entry.js +5 -0
  80. package/dist/bromcom-ui/p-ba89b896.entry.js +5 -0
  81. package/dist/bromcom-ui/p-bed627ab.js +11 -0
  82. package/dist/bromcom-ui/{p-c42dffea.entry.js → p-c05f56ab.entry.js} +1 -1
  83. package/dist/bromcom-ui/p-c0d7b05e.js +5 -0
  84. package/dist/bromcom-ui/{p-6aeaef2a.entry.js → p-c5c61430.entry.js} +1 -1
  85. package/dist/bromcom-ui/p-c7757dd5.entry.js +5 -0
  86. package/dist/bromcom-ui/{p-6bcaf906.entry.js → p-c82fc2b1.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-c75519d5.js → p-c87ea210.js} +1 -1
  88. package/dist/bromcom-ui/{p-1b1f4b44.entry.js → p-cea71a01.entry.js} +1 -1
  89. package/dist/bromcom-ui/{p-8d0ca8c2.js → p-cff8ef93.js} +1 -1
  90. package/dist/bromcom-ui/p-d0b993c1.entry.js +5 -0
  91. package/dist/bromcom-ui/{p-7f529bbe.entry.js → p-d20f131e.entry.js} +1 -1
  92. package/dist/bromcom-ui/{p-f5bed571.entry.js → p-d88bc175.entry.js} +1 -1
  93. package/dist/bromcom-ui/{p-ff48f5b2.entry.js → p-da4bd91f.entry.js} +1 -1
  94. package/dist/bromcom-ui/{p-b60bcecf.js → p-dc8305dc.js} +1 -1
  95. package/dist/bromcom-ui/p-de6dcf0d.entry.js +5 -0
  96. package/dist/bromcom-ui/{p-48f85544.entry.js → p-df185078.entry.js} +1 -1
  97. package/dist/bromcom-ui/{p-dbc4c30c.js → p-e1689f47.js} +1 -1
  98. package/dist/bromcom-ui/p-e1877ee9.js +5 -0
  99. package/dist/bromcom-ui/p-e45c1546.js +5 -0
  100. package/dist/bromcom-ui/p-e705fda8.entry.js +5 -0
  101. package/dist/bromcom-ui/{p-4f8b00bc.entry.js → p-ec04b3a4.entry.js} +1 -1
  102. package/dist/bromcom-ui/p-f3fb3196.entry.js +5 -0
  103. package/dist/bromcom-ui/{p-2acd6bee.entry.js → p-f6e549ce.entry.js} +1 -1
  104. package/dist/cjs/{_commonjsHelpers-bd20f4c0.js → _commonjsHelpers-ed84c3ca.js} +16 -0
  105. package/dist/cjs/ag-grid-enterprise.auto.esm-cf48f6b2.js +111638 -0
  106. package/dist/cjs/bcm-accordion.cjs.entry.js +5 -5
  107. package/dist/cjs/bcm-alert.cjs.entry.js +9 -9
  108. package/dist/cjs/bcm-attendance.cjs.entry.js +5 -5
  109. package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
  110. package/dist/cjs/bcm-avatar.cjs.entry.js +10 -10
  111. package/dist/cjs/bcm-badge_15.cjs.entry.js +17 -17
  112. package/dist/cjs/bcm-box.cjs.entry.js +1 -1
  113. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -6
  114. package/dist/cjs/bcm-button-group.cjs.entry.js +8 -8
  115. package/dist/cjs/bcm-card.cjs.entry.js +10 -10
  116. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +12 -12
  117. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +7 -7
  118. package/dist/cjs/bcm-checkbox.cjs.entry.js +12 -12
  119. package/dist/cjs/bcm-chip-group.cjs.entry.js +14 -14
  120. package/dist/cjs/bcm-chip.cjs.entry.js +7 -7
  121. package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
  122. package/dist/cjs/bcm-collapse.cjs.entry.js +6 -6
  123. package/dist/cjs/bcm-color-input.cjs.entry.js +10 -10
  124. package/dist/cjs/{bcm-colorful.cjs.entry.js → bcm-colorful_2.cjs.entry.js} +363 -3
  125. package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
  126. package/dist/cjs/bcm-content.cjs.entry.js +1 -1
  127. package/dist/cjs/bcm-date-picker.cjs.entry.js +8 -8
  128. package/dist/cjs/bcm-date.cjs.entry.js +124 -0
  129. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +12 -12
  130. package/dist/cjs/bcm-default.cjs.entry.js +5 -5
  131. package/dist/cjs/bcm-drawer.cjs.entry.js +11 -11
  132. package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
  133. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -9
  134. package/dist/cjs/{bcm-ab921827.js → bcm-fd724fe9.js} +1 -0
  135. package/dist/cjs/bcm-form-2.cjs.entry.js +12 -9
  136. package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
  137. package/dist/cjs/bcm-form.cjs.entry.js +7 -6
  138. package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -6
  139. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +218 -0
  140. package/dist/cjs/bcm-label.cjs.entry.js +10 -10
  141. package/dist/cjs/bcm-link.cjs.entry.js +4 -4
  142. package/dist/cjs/bcm-list_3.cjs.entry.js +147 -1671
  143. package/dist/cjs/bcm-message.cjs.entry.js +3 -3
  144. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -11
  145. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -10
  146. package/dist/cjs/bcm-modal-2.cjs.entry.js +11 -11
  147. package/dist/cjs/bcm-modal.cjs.entry.js +9 -9
  148. package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
  149. package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
  150. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
  151. package/dist/cjs/bcm-overlay_2.cjs.entry.js +4 -4
  152. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +10 -10
  153. package/dist/cjs/bcm-popconfirm.cjs.entry.js +7 -7
  154. package/dist/cjs/bcm-progress.cjs.entry.js +8 -8
  155. package/dist/cjs/bcm-radio-group.cjs.entry.js +13 -13
  156. package/dist/cjs/bcm-radio.cjs.entry.js +11 -11
  157. package/dist/cjs/bcm-range.cjs.entry.js +7 -7
  158. package/dist/cjs/bcm-rc-picker.cjs.entry.js +8120 -0
  159. package/dist/cjs/bcm-result.cjs.entry.js +3 -3
  160. package/dist/cjs/bcm-select-group.cjs.entry.js +3 -3
  161. package/dist/cjs/bcm-select-option.cjs.entry.js +3 -3
  162. package/dist/cjs/bcm-select.cjs.entry.js +5 -5
  163. package/dist/cjs/bcm-skeleton.cjs.entry.js +5 -5
  164. package/dist/cjs/bcm-step.cjs.entry.js +8 -8
  165. package/dist/cjs/bcm-stepper.cjs.entry.js +13 -13
  166. package/dist/cjs/bcm-switch.cjs.entry.js +9 -9
  167. package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
  168. package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
  169. package/dist/cjs/bcm-table.cjs.entry.js +236 -38
  170. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
  171. package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
  172. package/dist/cjs/bcm-tag.cjs.entry.js +8 -8
  173. package/dist/cjs/bcm-textarea.cjs.entry.js +10 -10
  174. package/dist/cjs/bcm-time-picker.cjs.entry.js +8 -8
  175. package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
  176. package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
  177. package/dist/cjs/bcm-toast.cjs.entry.js +8 -8
  178. package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
  179. package/dist/cjs/bromcom-ui.cjs.js +5 -4
  180. package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
  181. package/dist/cjs/{color-helper-7ab15732.js → color-helper-c3a819ea.js} +1 -1
  182. package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
  183. package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-5f42f872.js} +1 -1
  184. package/dist/cjs/{generate-cae9c0fb.js → generate-7e161828.js} +2 -2
  185. package/dist/cjs/{global-3ce50f9f.js → global-01094a23.js} +6 -1
  186. package/dist/cjs/index-3d67f613.js +1610 -0
  187. package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
  188. package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
  189. package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
  190. package/dist/cjs/{index-906fb4e5.js → index-e05a7c6f.js} +6 -1
  191. package/dist/cjs/{input-template-a7f8f2e9.js → input-template-c8d5ae30.js} +4 -4
  192. package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-7575fbd2.js} +1 -1
  193. package/dist/cjs/{json-parse-decarator-34a3d26e.js → json-parse-decarator-d9d1452c.js} +2 -2
  194. package/dist/cjs/{label-template-4d5f99a5.js → label-template-8738acbd.js} +4 -4
  195. package/dist/cjs/loader.cjs.js +5 -4
  196. package/dist/cjs/moment-c1a71617.js +5689 -0
  197. package/dist/cjs/{number-helper-101d8aa8.js → number-helper-c26ca8a7.js} +1 -1
  198. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -11
  199. package/dist/cjs/old-bcm-popover.cjs.entry.js +7 -7
  200. package/dist/cjs/{package-ed8b3296.js → package-016f287a.js} +1 -1
  201. package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-2161105e.js} +1 -1
  202. package/dist/cjs/{slot-template-d70ea082.js → slot-template-bc4e1c50.js} +2 -2
  203. package/dist/cjs/{stepper-states-308c8d3e.js → stepper-states-2a864ea5.js} +3 -3
  204. package/dist/cjs/{string-helper-d681e5c7.js → string-helper-c432b17c.js} +2 -2
  205. package/dist/cjs/{validators-26badb68.js → validators-5ca90062.js} +1 -1
  206. package/dist/collection/assets/csv.svg +9 -0
  207. package/dist/collection/assets/excel.svg +9 -0
  208. package/dist/collection/assets/pdf.svg +9 -0
  209. package/dist/collection/collection-manifest.json +5 -2
  210. package/dist/collection/components/{other/data-table/table.css → molecules/input-dropdown/input-dropdown.css} +4 -5
  211. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +664 -0
  212. package/dist/collection/components/molecules/linked/linked.js +2 -2
  213. package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
  214. package/dist/collection/components/molecules/popover/popover.js +1 -1
  215. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  216. package/dist/collection/components/organism/form/form.js +1 -0
  217. package/dist/collection/components/organism/form-2/bcm-form-components.js +4 -1
  218. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +1 -1
  219. package/dist/collection/components/third-parts/rc-picker/date.js +572 -0
  220. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +366 -0
  221. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +228 -0
  222. package/dist/collection/components/third-parts/table/table-definations.js +42 -0
  223. package/dist/collection/components/third-parts/table/table.css +7169 -0
  224. package/dist/collection/components/third-parts/table/table.js +284 -0
  225. package/dist/collection/global/global.js +6 -0
  226. package/dist/collection/models/bcm.js +1 -0
  227. package/dist/collection/templates/index.js +2 -0
  228. package/dist/collection/templates/toolbar-hamburger-template.js +14 -0
  229. package/dist/collection/templates/toolbar-template.js +15 -0
  230. package/dist/components/_commonjsHelpers.js +16 -1
  231. package/dist/components/bcm-date.d.ts +11 -0
  232. package/dist/components/bcm-date.js +161 -0
  233. package/dist/components/bcm-form-2.js +4 -1
  234. package/dist/components/bcm-form.js +1 -0
  235. package/dist/components/bcm-input-dropdown.d.ts +11 -0
  236. package/dist/components/bcm-input-dropdown.js +296 -0
  237. package/dist/components/bcm-rc-picker.d.ts +11 -0
  238. package/dist/components/bcm-rc-picker.js +10 -0
  239. package/dist/components/bcm-table.js +111873 -41
  240. package/dist/components/bcm.js +1 -0
  241. package/dist/components/colors2.js +1 -1
  242. package/dist/components/generate.js +1 -1
  243. package/dist/components/index.d.ts +4 -1
  244. package/dist/components/index.js +9 -1
  245. package/dist/components/index3.js +5 -1
  246. package/dist/components/linked.js +1 -1
  247. package/dist/components/raf.js +1594 -0
  248. package/dist/components/rc-overflow.js +32 -1557
  249. package/dist/components/rc-picker.js +13821 -0
  250. package/dist/esm/{_commonjsHelpers-3016b722.js → _commonjsHelpers-be0d4ec8.js} +16 -1
  251. package/dist/esm/ag-grid-enterprise.auto.esm-9c29ba78.js +111635 -0
  252. package/dist/esm/{bcm-9f50af9c.js → bcm-ac17222c.js} +1 -0
  253. package/dist/esm/bcm-accordion.entry.js +5 -5
  254. package/dist/esm/bcm-alert.entry.js +9 -9
  255. package/dist/esm/bcm-attendance.entry.js +5 -5
  256. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  257. package/dist/esm/bcm-avatar.entry.js +10 -10
  258. package/dist/esm/bcm-badge_15.entry.js +17 -17
  259. package/dist/esm/bcm-box.entry.js +1 -1
  260. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  261. package/dist/esm/bcm-button-group.entry.js +8 -8
  262. package/dist/esm/bcm-card.entry.js +10 -10
  263. package/dist/esm/bcm-checkbox-group.entry.js +12 -12
  264. package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -7
  265. package/dist/esm/bcm-checkbox.entry.js +12 -12
  266. package/dist/esm/bcm-chip-group.entry.js +14 -14
  267. package/dist/esm/bcm-chip.entry.js +7 -7
  268. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  269. package/dist/esm/bcm-collapse.entry.js +6 -6
  270. package/dist/esm/bcm-color-input.entry.js +10 -10
  271. package/dist/esm/{bcm-colorful.entry.js → bcm-colorful_2.entry.js} +363 -4
  272. package/dist/esm/bcm-colorpicker.entry.js +3 -3
  273. package/dist/esm/bcm-content.entry.js +1 -1
  274. package/dist/esm/bcm-date-picker.entry.js +8 -8
  275. package/dist/esm/bcm-date.entry.js +120 -0
  276. package/dist/esm/bcm-datetime-picker.entry.js +12 -12
  277. package/dist/esm/bcm-default.entry.js +5 -5
  278. package/dist/esm/bcm-drawer.entry.js +11 -11
  279. package/dist/esm/bcm-error-layout.entry.js +3 -3
  280. package/dist/esm/bcm-expansion-panel.entry.js +9 -9
  281. package/dist/esm/bcm-form-2.entry.js +12 -9
  282. package/dist/esm/bcm-form-group.entry.js +1 -1
  283. package/dist/esm/bcm-form.entry.js +7 -6
  284. package/dist/esm/bcm-input-custom.entry.js +6 -6
  285. package/dist/esm/bcm-input-dropdown.entry.js +214 -0
  286. package/dist/esm/bcm-label.entry.js +10 -10
  287. package/dist/esm/bcm-link.entry.js +4 -4
  288. package/dist/esm/bcm-list_3.entry.js +85 -1609
  289. package/dist/esm/bcm-message.entry.js +3 -3
  290. package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
  291. package/dist/esm/bcm-modal-2-header.entry.js +10 -10
  292. package/dist/esm/bcm-modal-2.entry.js +11 -11
  293. package/dist/esm/bcm-modal.entry.js +9 -9
  294. package/dist/esm/bcm-notification.entry.js +3 -3
  295. package/dist/esm/bcm-old-input.entry.js +4 -4
  296. package/dist/esm/bcm-old-tag_2.entry.js +3 -3
  297. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  298. package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
  299. package/dist/esm/bcm-popconfirm.entry.js +7 -7
  300. package/dist/esm/bcm-progress.entry.js +8 -8
  301. package/dist/esm/bcm-radio-group.entry.js +13 -13
  302. package/dist/esm/bcm-radio.entry.js +11 -11
  303. package/dist/esm/bcm-range.entry.js +7 -7
  304. package/dist/esm/bcm-rc-picker.entry.js +8116 -0
  305. package/dist/esm/bcm-result.entry.js +3 -3
  306. package/dist/esm/bcm-select-group.entry.js +3 -3
  307. package/dist/esm/bcm-select-option.entry.js +3 -3
  308. package/dist/esm/bcm-select.entry.js +5 -5
  309. package/dist/esm/bcm-skeleton.entry.js +5 -5
  310. package/dist/esm/bcm-step.entry.js +8 -8
  311. package/dist/esm/bcm-stepper.entry.js +13 -13
  312. package/dist/esm/bcm-switch.entry.js +9 -9
  313. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  314. package/dist/esm/bcm-tab.entry.js +3 -3
  315. package/dist/esm/bcm-table.entry.js +236 -38
  316. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  317. package/dist/esm/bcm-tabs.entry.js +3 -3
  318. package/dist/esm/bcm-tag.entry.js +8 -8
  319. package/dist/esm/bcm-textarea.entry.js +10 -10
  320. package/dist/esm/bcm-time-picker.entry.js +8 -8
  321. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  322. package/dist/esm/bcm-timeline.entry.js +3 -3
  323. package/dist/esm/bcm-toast.entry.js +8 -8
  324. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  325. package/dist/esm/bromcom-ui.js +6 -5
  326. package/dist/esm/{caption-template-34a1cb44.js → caption-template-e973a48c.js} +2 -2
  327. package/dist/esm/{color-helper-116755ed.js → color-helper-c4fa9ebc.js} +1 -1
  328. package/dist/esm/{colors-44c95e7e.js → colors-e1c31f79.js} +1 -1
  329. package/dist/esm/{floating-ui-e7341329.js → floating-ui-54c52eaa.js} +1 -1
  330. package/dist/esm/{generate-e008f24f.js → generate-903ca965.js} +2 -2
  331. package/dist/esm/{global-9c04f017.js → global-9b1304a4.js} +6 -1
  332. package/dist/esm/{index-348b16ad.js → index-0615c2b8.js} +3 -1
  333. package/dist/esm/{index-0052017c.js → index-7e71bbc8.js} +1 -1
  334. package/dist/esm/{index-6310a048.js → index-a6d9d0af.js} +6 -2
  335. package/dist/esm/{index-ed9652af.js → index-b84bc8c9.js} +1 -1
  336. package/dist/esm/index-c4568336.js +1594 -0
  337. package/dist/esm/{input-template-0bdd4dda.js → input-template-332be34e.js} +4 -4
  338. package/dist/esm/{is-load-decorator-07d3502a.js → is-load-decorator-6784aa87.js} +1 -1
  339. package/dist/esm/{json-parse-decarator-40fc5701.js → json-parse-decarator-498602a3.js} +2 -2
  340. package/dist/esm/{label-template-98dafeb3.js → label-template-f156f33f.js} +4 -4
  341. package/dist/esm/loader.js +6 -5
  342. package/dist/esm/moment-24231dde.js +5686 -0
  343. package/dist/esm/{number-helper-ddce4326.js → number-helper-3809b83b.js} +1 -1
  344. package/dist/esm/old-bcm-popover-box.entry.js +11 -11
  345. package/dist/esm/old-bcm-popover.entry.js +7 -7
  346. package/dist/esm/{package-00ece356.js → package-9887f1c0.js} +1 -1
  347. package/dist/esm/{popover-placement-78f86f15.js → popover-placement-018109c4.js} +1 -1
  348. package/dist/esm/{slot-template-672e941d.js → slot-template-46035685.js} +2 -2
  349. package/dist/esm/{stepper-states-56644bc7.js → stepper-states-372c3c9c.js} +3 -3
  350. package/dist/esm/{string-helper-6bd24967.js → string-helper-4a28f775.js} +2 -2
  351. package/dist/esm/{validators-77fbe47e.js → validators-c8f34de9.js} +1 -1
  352. package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +54 -0
  353. package/dist/types/components/third-parts/rc-picker/date.d.ts +46 -0
  354. package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +20 -0
  355. package/dist/types/components/third-parts/table/table-definations.d.ts +28 -0
  356. package/dist/types/components/third-parts/table/table.d.ts +37 -0
  357. package/dist/types/components.d.ts +170 -3
  358. package/dist/types/models/bcm.d.ts +9 -1
  359. package/dist/types/templates/index.d.ts +2 -0
  360. package/dist/types/templates/toolbar-hamburger-template.d.ts +12 -0
  361. package/dist/types/templates/toolbar-template.d.ts +13 -0
  362. package/package.json +7 -3
  363. package/dist/bromcom-ui/p-019b44bb.entry.js +0 -5
  364. package/dist/bromcom-ui/p-01a50abe.entry.js +0 -5
  365. package/dist/bromcom-ui/p-15758356.entry.js +0 -5
  366. package/dist/bromcom-ui/p-1eabd5dc.js +0 -10
  367. package/dist/bromcom-ui/p-3a68eca1.js +0 -5
  368. package/dist/bromcom-ui/p-663766cf.entry.js +0 -5
  369. package/dist/bromcom-ui/p-6d7fe687.js +0 -6
  370. package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
  371. package/dist/bromcom-ui/p-74b2d896.js +0 -5
  372. package/dist/bromcom-ui/p-a19320bb.entry.js +0 -13
  373. package/dist/bromcom-ui/p-a56e8c98.js +0 -5
  374. package/dist/bromcom-ui/p-a8033cda.entry.js +0 -5
  375. package/dist/bromcom-ui/p-bddbd954.entry.js +0 -5
  376. package/dist/bromcom-ui/p-c49d038e.js +0 -5
  377. package/dist/bromcom-ui/p-cf0ab7f0.entry.js +0 -5
  378. package/dist/bromcom-ui/p-d65a1e21.js +0 -11
  379. package/dist/bromcom-ui/p-e09fa0dc.entry.js +0 -5
  380. package/dist/bromcom-ui/p-e32d9cfc.js +0 -5
  381. package/dist/bromcom-ui/p-e9842c26.js +0 -5
  382. package/dist/bromcom-ui/p-f645d9ae.entry.js +0 -5
  383. package/dist/cjs/bcm-input.cjs.entry.js +0 -371
  384. package/dist/collection/components/other/data-table/table.js +0 -88
  385. package/dist/esm/bcm-input.entry.js +0 -367
  386. package/dist/types/components/other/data-table/table.d.ts +0 -8
@@ -1,13 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{h as t,r as e,c as i,H as n,g as c}from"./p-6d7fe687.js";import{I as o}from"./p-54c0916c.js";import{J as r}from"./p-c75519d5.js";import"./p-2fc584c4.js";import"./p-626a65e9.js";import{s,G as l}from"./p-e9842c26.js";import{N as a}from"./p-3a68eca1.js";import{S as h}from"./p-8d0ca8c2.js";import{V as m}from"./p-d7f10f7f.js";import"./p-5ae0a59b.js";import{g as b,s as d}from"./p-dbc4c30c.js";import{p as u,d as p}from"./p-3c7a0345.js";import{a as f,B as x}from"./p-a429e85b.js";import{C as _}from"./p-a56e8c98.js";import{c as v}from"./p-d65a1e21.js";import"./p-3fac58f7.js";import{L as g}from"./p-c49d038e.js";import"./p-2e73d572.js";import{c as y}from"./p-3cde7f38.js";import{r as w,a as k}from"./p-1eabd5dc.js";import{c as z}from"./p-6f56f8ca.js";import{I as j}from"./p-b4ac5904.js";import"./p-436364c8.js";import"./p-4aa0e6b1.js";import"./p-908b1b5d.js";import"./p-74b2d896.js";const O=({disabled:e,checked:i,readonly:n,required:c,indeterminate:o,hidden:r,captionType:s,_id:l})=>{const a=v("bcm-checkbox","bcm-checkbox__type-default","bcm-checkbox-size-medium",{error:s==f.Status.error,hidden:r,checked:i,disabled:e,required:c,readonly:n}),h=v("bcm-checkbox__label-icon","bcm-checkbox__label-icon-lite","bcm-checkbox__label-icon-"+o,{"bcm-checkbox__label-icon-checked":i}),m=v("bcm-checkbox__label");return t("div",{class:a},t("input",{tabindex:"-1",id:l,type:"checkbox",checked:i,disabled:e,required:c,readonly:n}),t("label",{class:m,htmlFor:l},t("span",{class:h},t("bcm-icon",{icon:"far fa-check"}))))},I=({selected:e,total:i,found:n,multiple:c,variableText:o})=>(i=i||0,o=o?u(o,i):"items",t("footer",{class:"bcm-info-footer"},t("bcm-text",{scale:"size-1",color:"grey-8"},c&&e>0&&` ( ${e} selected ) `,` Total ${i} `,null!=n&&` / ${n} `,` ${o} found. `))),S=({item:e,treeview:i,highlight:n,checkboxes:c,size:o,selectedItem:r,openGroup:s,checkedItem:l,focusItem:a,searchIsOnlyChilds:m})=>{const b=e.items&&e.items.length>0;var d=h.htmlEntities(e.text);let u=[];if(n&&h.slugify(d).includes(h.slugify(n))&&(m&&(!m||b&&(i||"group"==e.type))||(d=h.highlight(d,n))),"group"!=e.type&&e.template){const t=e.template.replace(/\s/g,"").match(/\{{[^}}]+\}/g).map((t=>t.replace(/[{}]/g,""))),i=Object.keys(e.itemObject);u=t.filter((t=>i.includes(t)))}d=e.isHtmlContent?e.isHtmlContent:e.template&&u.length>0?h.templateParser(e.template,Object.assign(Object.assign({},e.itemObject),{text:d})):d;const p=!i&&"group"==e.type&&!e.clickable,f=e.disabled,x=e.readonly,_=()=>{e.open=e.isSearching,s(e.id)};return t("div",{id:e.id,hidden:e.hidden,"on-focus":t=>!p&&!f&&a(t),class:v("bcm-list__item","bcm-list__item-"+o,{"bcm-list__item--group":!i&&"group"==e.type,"bcm-list__item--readonly":x})},t("div",{class:v("bcm-list__item-content",!c&&e.selected&&"selected",{disabled:f})},i&&t("div",{class:"bcm-list__item-content-collapse-icon",onClick:()=>_()},b&&t("bcm-icon",{icon:v("fas fa-caret-"+(e.isSearching||e.open?"down":"right"))})),t("div",{class:v("bcm-list__item-content-text",{treeview:i}),onClick:t=>{var i;((i=t).path||i.composedPath()).filter((t=>t.attributes&&t.attributes.getNamedItem("unlinked")))[0]||(x&&_(),!p&&!f&&!x&&(c?l(e.id):r(e.id)))}},c&&(i||!i&&"group"!=e.type)&&t("div",{class:"bcm-list__item-content-text-checkbox"},t(O,{indeterminate:e.indeterminate,checked:e.checked,disabled:e.disabled})),t("span",Object.assign({class:"bcm-list__item-content-text-inner"},e.title&&{title:e.title},{innerHTML:d})))),(i||!i&&"group"==e.type)&&b&&t("div",{class:"bcm-list__item-childs"},(e.isSearching||e.open||!i&&"group"==e.type)&&e.items.map((e=>t(S,{highlight:n,item:e,searchIsOnlyChilds:m,treeview:i,checkboxes:c,size:o,selectedItem:r,checkedItem:l,openGroup:t=>s(t),focusItem:t=>a(t)})))))},C=({highlight:e,selectAllItem:i,bcmListContainer:n,treeview:c,checkboxes:o,checkAll:r,infoFooter:s,value:l,totalData:a,searchFound:h,variableText:m,_id:b,data:d,width:u,height:p,size:f,searchPlaceholder:x,minSearchLength:_,selectedItem:v,openGroup:g,checkedItem:y,onScrollEvent:w,focusItem:k,items:z,searchable:j,searchIsOnlyChilds:O,emptyText:C,emptyIcon:E})=>{const M=!(c&&h>0||h>0);return t("div",{id:`bcm-list-${b}`,class:n,style:{"--height":p,"--width":u}},d&&j&&t("section",{class:"bcm-list__container-search"},t("bcm-search",{size:f,id:`bcm-list-${b}-search`,data:d,clearable:!0,placeholder:x,"min-search-length":_,searchIsOnlyChilds:O})),t("main",{onScroll:t=>w(t),class:"scrolling",style:{"overscroll-behavior":"none"}},t("div",{style:{"min-height":`${(null==h?c?z.length:a:h)*("small"===f?28:"medium"===f?36:48)||0}px`,"overscroll-behavior":"none",height:"100%",display:"flex","flex-direction":"column"}},r&&0!=h&&z&&z.length>0&&o&&M&&t("section",{class:"bcm-list__container-select-all"},t(S,{size:f,item:i,treeview:!1,checkboxes:!0,selectedItem:t=>v(t),checkedItem:t=>y(t),openGroup:t=>g(t),focusItem:t=>k(t)})),z.map((i=>t(S,{highlight:e,size:f,item:i,searchIsOnlyChilds:O,treeview:c,checkboxes:o,selectedItem:t=>v(t),checkedItem:t=>y(t),openGroup:t=>g(t),focusItem:t=>k(t)}))),(!z||0===z.length)&&0!=h&&t("section",{class:"bcm-list__container-no-data"},t("bcm-empty",{style:{height:"auto"},icon:E},t("span",{innerHTML:C||"No data"}))),0==h&&t("section",{class:"bcm-list__container-no-data"},t("bcm-empty",{style:{height:"auto"},icon:E},t("span",{innerHTML:C||"No Data Found"}))))),s&&d&&d.length>0&&t(I,{selected:null==l?void 0:l.length,total:a,found:h,multiple:o,variableText:m}))},{state:E}=y({value:new Map}),M=(t,e,i,n="0.")=>{let c=[];return t&&t.length>0&&(c=t.map(((t,c)=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({itemObject:t},t),e),{parentId:s((()=>i),null),open:e.allOpen||t.open||!1}),(e.treeview||!e.treeview&&"group"==t.type)&&t.items&&t.items.length>0?{items:s((()=>M(t.items,e,t.id,`${n}${c}`)),[])}:{items:[]}),{ct:`${n}${c}`})))),c},T=t=>s((()=>E.value.get(t)),{}),R=(t,e)=>{let i=0;return t.forEach((t=>{(e||!e&&"group"!=t.type)&&(i+=1),(e||!e&&"group"==t.type)&&t.items&&(i+=R(t.items,e))})),i},$=(t,e,i,n)=>{let c;c=i||T(t).dataSource,c&&c.forEach((i=>{null!=n?i.open=n:i.id==e?(i.open=!i.open,i.isSearching=i.open,!i.open&&i.items&&$(t,e,i.items,!1)):i.items&&$(t,e,i.items)}))},D=(t,e,i)=>{i&&i.forEach((i=>{i.id==e?(i.checked=!1,i.itemObject.checked=!1,A(t,i.parentId)):i.items&&D(t,e,i.items)}))},F=(t,e)=>{P(t,e)},P=(t,e,i)=>{let n;e=Array.isArray(e)?e:[e],n=i||T(t).dataSource,n&&n.forEach((i=>{e.includes(i.id)?(N(t,i),i.parentId&&A(t,i.parentId)):i.items&&P(t,e,i.items)}))},N=(t,e,i)=>{const n=T(t);if(n){const c=n.options.treeview;e&&((c||!c&&"group"!=e.type)&&(e.disabled||(e.checked=null!=i?i:!e.checked,e.itemObject.checked=e.checked,e.indeterminate=e.checked?"determinate":"uncheck")),e.items&&e.items.forEach((n=>{N(t,n,null==i?e.checked:i)})))}},A=(t,e,i)=>{let n;n=i||T(t).dataSource,n&&n.forEach((i=>{if(i.id==e){let e=!0,n=!0;i.items&&i.items.map((t=>{(t.checked||"indeterminate"===t.indeterminate)&&(n=!1),!t.checked&&(e=!1)}));const c=e||n?e?"determinate":"uncheck":"indeterminate";i.indeterminate=c,i.checked="determinate"==c,i.itemObject.checked=i.checked,i.parentId&&A(t,i.parentId)}else i.items&&A(t,e,i.items)}))},L=(t,e,i,n)=>{let c,o=[],r=[];return T(t).isSearchOtherTag=n,c=i||T(t).dataSource,c&&c.forEach((i=>{if(e){var c;i.hidden=!0;for(let t=0;t<e.length;t++)if(e[t].id===i.id){c=e[t];break}if(c&&(i.hidden=!1,T(t).isSearchOtherTag||(i.isSearching=!0),r.push(i),i.checked&&o.push(i),c.items)){const{checkedItems:e,visibledItems:s}=L(t,c.items,i.items,n);e&&(o=[...new Set([...o,...e])]),s&&(r=[...new Set([...r,...s])])}}else i.hidden=!1,i.items&&L(t,null,i.items),r.push(i),i.isSearching=!1})),{checkedItems:null!=o?o:[],visibledItems:null!=r?r:[]}},V=(t,e)=>{let i,n=null;return i=e||T(t).dataSource,i&&i.forEach((e=>{if(e.selected)n=e.itemObject;else if(e.items){const i=V(t,e.items);i&&(n=i)}})),n},q=(t,e)=>{let i,n=[],c=[];return i=e||T(t).dataSource,i&&i.forEach((e=>{var i;const o=Object.assign(Object.assign({},e.itemObject),{ct:e.ct});let r=[],s=[];if(e.checked&&(n.push(o),s.push(Object.assign(Object.assign({},o),{items:[]}))),e.items){const c=q(t,e.items);(null===(i=null==c?void 0:c.checkedList)||void 0===i?void 0:i.length)>0&&(n=[...n,...c.checkedList]),c.nestedResult.length>0&&(r=c.nestedResult)}r.length>0?(0==s.length&&s.push(Object.assign(Object.assign({},o),{items:[]})),s[0].items=r,c.push(s[0])):s.length>0&&(s[0].items=r,c.push(s[0]))})),{checkedList:(null==n?void 0:n.length)>0?n:null,nestedResult:c}},W=(t,e,i)=>{let n,c=[];return n=i||T(t).dataSource,n&&n.forEach((i=>{if(e&&(i.id==e?(i.selected=!0,i.itemObject.selected=i.selected):i.selected&&(i.selected=!1,i.itemObject.selected=i.selected)),i.items){const n=W(t,e,i.items);(null==n?void 0:n.length)>0&&(c=[...c,...n])}i.selected&&c.push(i.itemObject)})),c&&c.length>0?c:null},G=(t,e)=>{let i;i=e||T(t).dataSource,i&&i.forEach((e=>{var i,n,c;e.checked&&(e.checked=!1),e.selected&&(e.selected=!1),e.indeterminate&&(e.indeterminate="uncheck"),(null===(i=e.itemObject)||void 0===i?void 0:i.checked)&&(e.itemObject.checked=!1),(null===(n=e.itemObject)||void 0===n?void 0:n.selected)&&(e.itemObject.selected=!1),(null===(c=e.itemObject)||void 0===c?void 0:c.indeterminate)&&(e.itemObject.indeterminate="uncheck"),e.items&&G(t,e.items)}))},H={setValue:t=>{const{id:e,dataSource:i,options:n}=t,{type:c,treeview:o,checkboxes:r,searchable:a,value:h,name:m,label:b,size:d,disabled:u,readonly:p,highlight:f,required:x,hidden:_,fullWidth:v,height:g,maxHeight:y,minHeight:w,width:k,infoFooter:z,variableText:j,template:O,allOpen:I,keyControl:S,checkAll:C,linkedComponent:T,placeholder:$,searchPlaceholder:D,searchIsOnlyChilds:F,clearable:P,caption:N,noCaption:A,captionType:L,captionError:V,placement:q}=n,W={size:d,checkboxes:r,template:O,allOpen:I,highlight:f,treeview:o},G={id:s((()=>e),l.UID),dataSource:i&&i.length>0&&M(i,W),options:{type:c,treeview:o,checkboxes:r,searchable:a,value:h,name:m,label:b,size:d,disabled:u,readonly:p,highlight:f,required:x,hidden:_,fullWidth:v,height:g,maxHeight:y,minHeight:w,width:k,infoFooter:z,variableText:j,template:O,allOpen:I,keyControl:S,checkAll:C,linkedComponent:T,placeholder:$,searchPlaceholder:D,searchIsOnlyChilds:F,clearable:P,caption:N,noCaption:A,captionType:L,captionError:V,placement:q},totalItems:(null==i?void 0:i.length)>0&&R(i,n.treeview),totalRoots:null==i?void 0:i.length};E.value.set(G.id,G)},removeValue:t=>{E.value.delete(t)},getValue:T,getData:t=>{let e=[];const i=T(t);if(i){const{dataSource:t}=i;e=t}return e},getDataPagination:(t,e=3,i)=>{let n=[];const c=T(t);if(c){const{dataSource:t}=c;n=i?t.filter((t=>i.indexOf(t.id)>-1)).slice(0,e):t.slice(0,e)}return n},openGroup:$,checkedItem:F,filterData:L,getSelected:V,getCheckedList:q,selectedItem:W,addChecked:(t,e)=>{T(t)&&e.forEach((e=>{F(t,e)}))},setClear:G,selectAll:(t,e)=>{const i=T(t).dataSource;i&&i.forEach((i=>{N(t,i,e)}))},removeOtherTags:(t,e,i)=>{let n;if(e=Array.isArray(e)?e:[e],i)n=i;else{const e=T(t);n=e.dataSource}n&&e.forEach((e=>{n.forEach((i=>{i.id==e?(i.checked=!1,i.itemObject.checked=!1):i.items&&D(t,e,i.items)}))}))},onRemoveItems:D,updateOptions:(t,e)=>{Object.keys(T(t).options).forEach((i=>{T(t).options[i]=e[i]}))},removeState:t=>Promise.resolve(E.value.delete(t))};class B{constructor(t,e,i,n){this.elementName="",this.childElementName="",this.keyCode=t,this.element=e,this.elementName=i,this.childElementName=n}getKeyCode(){return this.keyCode}getElementName(){return this.elementName}getChildElementName(){return this.childElementName}getFocusedElementName(){return this.getElementName()+".focused"}getFocusedElement(){return this.element.querySelectorAll(this.getFocusedElementName())[0]||null}getFirstElement(){return this.element.querySelectorAll(this.getElementName())[0]||null}getNextElement(){var t;return(null===(t=this.getFocusedElement())||void 0===t?void 0:t.nextElementSibling)||this.getFirstElement()}getPreviousElement(){var t;return(null===(t=this.getFocusedElement())||void 0===t?void 0:t.previousElementSibling)||this.getFirstElement()}getChildElement(){var t;return(null===(t=this.getFocusedElement())||void 0===t?void 0:t.querySelectorAll(this.getChildElementName())[0])||null}getParentElement(t){if(t&&t)return t&&t.attributes["data-isroot"]?t:this.getParentElement(t.parentNode)}focusElementIsOpen(){var t;return(null===(t=this.getFocusedElement())||void 0===t?void 0:t.classList.contains("bcm-list__item--open"))||!1}isRootElement(){var t;return(null===(t=this.getFocusedElement())||void 0===t?void 0:t.querySelectorAll(this.getChildElementName()).length)>0}isRootElementIsOpen(){return this.getFocusedElement().classList.contains("bcm-list__item--open")}getFocusedChildElement(){var t;return(null===(t=this.getChildElement())||void 0===t?void 0:t.querySelectorAll(".focused")[0])||null}isLastElement(){var t;return null===(null===(t=this.getFocusedElement())||void 0===t?void 0:t.nextElementSibling)}focusParentElementFirstChild(){var t,e;return this.setFocus(null===(e=null===(t=this.getFocusedElement())||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.firstChild)}isFirstElement(){var t;return null===(null===(t=this.getFocusedElement())||void 0===t?void 0:t.previousElementSibling)}focusRootElement(){var t,e,i;return this.setFocus(null===(i=null===(e=null===(t=this.getFocusedElement())||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.parentElement)||void 0===i?void 0:i.firstChild)}nextRootElement(){var t,e,i;return this.setFocus(null===(i=null===(e=null===(t=this.getFocusedElement())||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.parentElement)||void 0===i?void 0:i.nextElementSibling)}findFocusElementParent(){return this.getFocusedElement().parentNode.querySelectorAll(".bcm-list__item--open")}getLastElement(){return this.element.querySelectorAll(this.getElementName())[this.element.querySelectorAll(this.getElementName()).length-1]||null}setFocus(t){t.focus()}}class K extends B{constructor(t,e,i,n){super(t,e,".bcm-list__item",".bcm-list__item-childs"),this.isTreeview=!1,this.isCheckBoxes=!1,this.isTreeview=i,this.isCheckBoxes=n}keyUpControl(){this.isTreeview?this.keyUpTreeview():this.isFirstElement()?this.setFocus(this.getLastElement()):this.setFocus(this.getPreviousElement())}keyDownTreeView(){var t;if(this.isTreeview)if(this.isRootElement()&&this.isRootElementIsOpen()){const t=this.getChildElement();t&&this.setFocus(t.firstChild)}else this.isLastElement()&&this.getParentElement(this.getFocusedElement())?this.setFocus(null===(t=this.getParentElement(this.getFocusedElement()))||void 0===t?void 0:t.nextElementSibling):this.setFocus(this.getNextElement())}keyUpTreeview(){if(this.isFirstElement()){const t=this.getParentElement(this.getFocusedElement());this.setFocus(t)}else{const t=this.getPreviousElement();if(t)if(t.classList.contains("bcm-list__item--open")){const e=t.querySelectorAll(this.getChildElementName())[0];console.log({getChildElement:e}),this.setFocus(e.lastChild)}else this.setFocus(t)}}keyDownControl(){this.isTreeview?this.keyDownTreeView():this.isLastElement()?this.setFocus(this.getFirstElement()):this.setFocus(this.getNextElement())}keyRightControl(){if(this.isTreeview&&!this.isRootElementIsOpen()&&this.isRootElement()){const{id:t}=this.getFocusedElement();this.openGroup(t)}}keyLeftControl(){if(this.isTreeview&&this.isRootElementIsOpen()&&this.isRootElement()){const{id:t}=this.getFocusedElement();this.openGroup(t)}}keyEnterControl(){}keySpaceControl(){if(this.isCheckBoxes){const{id:t}=this.getFocusedElement();this.checkedItem(t)}}keyDown(){switch(this.getKeyCode()){case f.KeyCode.up:this.keyUpControl();break;case f.KeyCode.down:this.keyDownControl();break;case f.KeyCode.left:this.keyLeftControl();break;case f.KeyCode.right:this.keyRightControl();break;case f.KeyCode.enter:this.keyEnterControl();break;case f.KeyCode.space:this.keySpaceControl()}}keyUp(){}}var U=function(t,e,i,n){var c,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(r=(o<3?c(r):o>3?c(e,i,r):c(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const Y=class{constructor(t){e(this,t),this.bcmChecklist=i(this,"bcm-checklist",7),this.bcmSelected=i(this,"bcm-selected",7),this.change=i(this,"bcm-change",7),this.open=i(this,"bcm-open",7),this.close=i(this,"bcm-close",7),this.debounce=null,this.debounceHandler=l.debounceInput((()=>this.listenResize()),300,!1),this._id=l.UID(),this.type=x.ListType.listbox,this.treeview=!1,this.checkboxes=!1,this.searchable=!1,this.value=null,this.inputText=void 0,this.name=void 0,this.label=void 0,this.size=x.Size.medium,this.disabled=!1,this.readonly=!1,this.highlight=!1,this.highlightText=void 0,this.required=!1,this.hidden=!1,this.fullWidth=!1,this.height="256px",this.maxHeight="500px",this.minHeight="150px",this.width="256px",this.infoFooter=!1,this.variableText="item",this.template=void 0,this.allOpen=!1,this.keyControl=!1,this.checkAll=!0,this.stopDeepClean=!1,this.linkedComponent=void 0,this.isOpen=!1,this.calculatedViewport=!1,this.isSelectedOther=!1,this.isHaveOtherTag=!1,this.placeholder="Choose an option",this.searchPlaceholder="Search",this.searchIsOnlyChilds=!1,this.minSearchLength=2,this.clearable=!1,this.caption=void 0,this.noCaption=!1,this.captionType=x.Status.default,this.captionError=void 0,this.emptyText=void 0,this.emptyIcon="fad fa-folder-open",this.captionCache=void 0,this.captionTypeCache=void 0,this.tick={},this.totalData=0,this.totalRootData=0,this.limit=20,this.searchGetParents=void 0,this.searchResultLimit=20,this.searchFound=null,this.returnFilterData={},this.returnOtherData={},this.options={rootMargin:"30px"},this.tagContainerWidth=0,this.selectAllItem={id:"select-all",text:"Select All",value:"select-all",checked:!1,disabled:!1,icon:"",status:x.Status.default,indeterminate:"uncheck"},this.placement=x.Placement["bottom-start"],this.data=[]}connectedCallback(){"256px"!=this.height&&(this.limit=this.height.indexOf("px")>-1?Math.floor(+this.height.replace("px","")/10):Math.floor(+window.innerHeight/10),this.searchResultLimit=this.limit,this.markForCheck());const t=document.querySelectorAll(`#bcm-list-${this._id}`);(null==t?void 0:t.length)>1&&t.forEach(((t,e)=>e>0&&t.remove()))}componentWillRender(){this.calculateLocation()}componentShouldUpdate(t,e,i){Object.keys(this.getOptions()).indexOf(i)>-1&&t!==e&&this.updateOptions()}get containerWidth(){var t,e;return null===(e=null===(t=this.el)||void 0===t?void 0:t.getBoundingClientRect())||void 0===e?void 0:e.width}get tagCount(){return this.containerWidth>0?Math.floor(+(this.containerWidth-100)/85):0}get tagData(){return s((()=>{var t;return null===(t=this.value)||void 0===t?void 0:t.map((t=>({value:t.id,label:h.textLimitter(t.text,7),text:t.tooltipMessage||t.tagTitle||t.text})))}),[])}async componentDidLoad(){if(await this.initState(),"select"==this.type||"autocomplete"==this.type||this.linkedComponent){const t=this.el.querySelector(`#bcm-list-${this._id}`);t&&document.body.appendChild(t)}}disconnectedCallback(){if(this.isOpen=!1,!this.stopDeepClean&&(H.removeState(this._id),this.el.innerHTML="","select"==this.type||"autocomplete"==this.type||this.linkedComponent)){const t=document.querySelectorAll(`#bcm-list-${this._id}`);(null==t?void 0:t.length)&&(t.forEach((t=>t.remove())),this.el.remove())}}watchId(t,e){H.removeState(e),this.initState()}handleValueChange(t,e){var i;l.objectIsEmpty(this.returnFilterData)&&this.handleIndeterminate((null===(i=this.value)||void 0===i?void 0:i.length)||0,this.totalData),this.checkboxes?m.compareTwoArrayIsSame(t,e)||(this.bcmChecklist.emit(this.value),this.change.emit(this.value)):(null==t?void 0:t.id)!=(null==e?void 0:e.id)&&this.change.emit(this.value)}watchReturnFilterData(t){var e;const{checkedItems:i,visibledItems:n}=t;i&&n?this.handleIndeterminate(i.length,n.length):this.handleIndeterminate((null===(e=this.value)||void 0===e?void 0:e.length)||0,this.totalData)}async handleOpen(){this.isOpen?(this.open.emit(),this.calculateLocation(),this.onSelectSearch()):(this.listScrollToTop(),this.close.emit(),await p(100),this.unSelectOther())}listScrollToTop(){const t=document.querySelector(`#bcm-list-${this._id}`);t&&(t.querySelector(".scrolling").scrollTop=0)}async dataChanged(t,e){m.compareTwoArrayIsSame(t,e)||await this.initState()}isIntersecting(t){const e=null==t?void 0:t.target;e&&e.id===this._id&&this.listenResize()}handleSlotItems(t){var e;(null===(e=null==t?void 0:t.detail)||void 0===e?void 0:e.length)>0&&(this.data=t.detail)}handleChange(t){t.target.id==`bcm-list-input-tag-container-${this._id}-autocomplete-input`&&t.stopImmediatePropagation()}handleResize(){this.calculateLocation(),this.debounceHandler()}handleWheel(t){if(this.isOpen){const e=document.querySelector(`#bcm-list-${this._id}`);e&&l.findEventPath(t,e)?("select"==this.type||"autocomplete"==this.type||this.linkedComponent)&&this.calculateLocation():this.hide()}}clearAutocomplete(){if("autocomplete"==this.type){const t=this.getAutoCompleteInput();t&&t.handleClear(!1)}}async handleSelectOtherTag(t){if(this.disabled)return;const{id:e,checked:i}=t.detail;this.isSelectedOther=i,e&&(i?this.filterOtherList(e):this.unSelectOther(),this.isOpen=!0)}async handleDeleteTag(t){var e;if(this.disabled)return;const{id:i}=t.detail;this.isSelectedOther&&this.unSelectOther(),Array.isArray(i)?H.removeOtherTags(this._id,i):H.checkedItem(this._id,i),this.value=(await this.getCheckedList()).checkedList,this.handleIndeterminate((null===(e=this.value)||void 0===e?void 0:e.length)||0,this.totalData)}async handleSelectTag(t){this.disabled||(this.clearAutocomplete(),this.onSelectSearch(),this.unSelectOther())}handleClick(t){var e;if(this.disabled)return;const i=document.querySelector(`#bcm-list-${this._id}`),n=l.findEventPath(t,this.el)||i&&l.findEventPath(t,i);if(n&&(null!==this.debounce&&(t.preventDefault(),t.stopPropagation(),clearTimeout(this.debounce),this.debounce=null),this.debounce=setTimeout((()=>{this.debounce=null}),300)),!n&&"autocomplete"==this.type){const t=this.getAutoCompleteInput();t&&t.setValue(this.checkboxes?"":(null===(e=this.value)||void 0===e?void 0:e.text)||"")}const c=l.findEventPathWithKey(t,"className",["bcm-tag"]),o=l.findEventPathWithKey(t,"className",["bcm-tag bcm-tag--other"]),r=l.findEventPathWithKey(t,"id",[`bcm-list-input-${this._id}`,`bcm-list-label-${this._id}`]),s=l.findEventPathWithKey(t,"className",["right close-button"]);r&&!s&&"autocomplete"!=this.type&&(this.isOpen=!(!c&&!o&&this.isOpen)),i&&this.isOpen&&(i.contains(t.target)||this.el.contains(t.target)||(this.isOpen=!1))}bcmOnSearchClear(t){var e,i;"autocomplete"==this.type&&((null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.id)!==`bcm-list-${this._id}-search`&&(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.id)!==`bcm-list-input-tag-container-${this._id}-autocomplete-input`||t.detail&&this.setClear())}bcmOnSearch(t){var e,i,n,c,o,r;(null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.id)!==`bcm-list-${this._id}-search`&&(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.id)!==`bcm-list-input-tag-container-${this._id}-autocomplete-input`||(this.searchGetParents=s((()=>{var e;return null===(e=t.detail)||void 0===e?void 0:e.parentIndex}),null),this.searchResultLimit=10,this.searchFound=null!=(null===(n=t.detail)||void 0===n?void 0:n.matching)?null===(c=t.detail)||void 0===c?void 0:c.matching.length:null,this.returnFilterData=H.filterData(this._id,null===(o=t.detail)||void 0===o?void 0:o.nestedResult),this.searchFound>0&&this.highlight&&(this.highlightText=null===(r=t.detail)||void 0===r?void 0:r.value),"autocomplete"==this.type&&(this.isOpen=!0),t.detail.result||("autocomplete"==this.type?this.isOpen=!1:(this.returnFilterData={},H.filterData(this._id,null)),this.searchResultLimit=null,this.highlightText=null),this.markForCheck())}handleKeyDown(t){const e=t.keyCode||t.which;if(e===x.KeyCode.escape&&this.isOpen&&(this.isOpen=!1,t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()),this.keyControl){const t=new K(e,this.el,this.treeview,this.checkboxes);t.openGroup=t=>{this.openGroup(t)},t.checkedItem=t=>{this.checkedItem(t)},t.keyDown()}}handleKeyUp(t){if(this.keyControl&&l.findEventPath(t,this.el)){const t=document.getElementById(`bcm-list-${this._id}`);if(t){const e=t.querySelectorAll(".bcm-list__item.focused");if(e.length>0){const i=t.querySelector("main"),n=e[0].offsetHeight,c=i.offsetHeight,o=e[0].offsetTop;o>c&&(i.scrollTop=o-c/2+n/2),o<c&&(i.scrollTop=o-c/2-n/2)}}}}async set(t){t?(Array.isArray(t)&&this.addChecked(t),"string"!=typeof t&&"number"!=typeof t||this.selectedItem(t)):this.setClear()}async get(){var t,e;return this.value?this.checkboxes?null===(e=null===(t=await this.getCheckedList())||void 0===t?void 0:t.checkedList)||void 0===e?void 0:e.map((t=>t.id)):this.value.id:null}async getCheckedList(){return Promise.resolve(H.getCheckedList(this._id))}async getSelected(){return Promise.resolve(H.getSelected(this._id))}async getValue(){return Promise.resolve(this.value)}async addChecked(t=[],e=!1,i=!0){return t&&t.length>0&&(e||(H.setClear(this._id),await p(10)),await H.addChecked(this._id,t),await p(10),i&&(this.value=(await this.getCheckedList()).checkedList),this.markForCheck()),Promise.resolve(this.value)}async selected(t){return!!t&&Promise.resolve(await this.selectedItem(t))}async setClear(t){return H.setClear(this._id),this.value=null,this.inputText="",this.isOpen=!1,this.selectAllItem.indeterminate="uncheck",this.markForCheck(),t&&(t.stopPropagation(),t.preventDefault()),await p(10),Promise.resolve()}async resetCaption(){return await p(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await p(10),Promise.resolve()}async show(){return this.isOpen=!0,Promise.resolve()}async hide(){return this.isOpen=!1,Promise.resolve()}updateOptions(){H.updateOptions(this._id,this)}handleIndeterminate(t,e){this.selectAllItem=Object.assign(Object.assign({},this.selectAllItem),{indeterminate:this.checkboxes&&t>0?t===e?"check":"indeterminate":"uncheck",checked:!!(this.checkboxes&&t>0)&&t===e})}listenResize(){this.calculateLocation(),this.markForCheck()}async unSelectOther(){return await this.onClearSearch(),this.isSelectedOther=!1,this.searchFound=null,this.returnFilterData={},H.filterData(this._id,null),await p(10),Promise.resolve()}async onClearSearch(){const t=document.getElementById(`bcm-list-${this._id}-search`);return t&&await t.handleClear(),Promise.resolve()}async onSelectSearch(){const t=document.getElementById(`bcm-list-${this._id}-search`);t&&(await p(100),t.onBcmFocus(),t.onBcmSelect())}async filterOtherList(t){const e=(await this.getCheckedList()).nestedResult,i=l.convertIdsToNestedData(t,e);this.returnFilterData=await H.filterData(this._id,i,null,!0),this.searchFound=(null==t?void 0:t.length)||0,this.limit=500,this.searchGetParents=null,await p(1e3),this.markForCheck()}async initState(){var t,e,i;this.onClearSearch(),await H.setValue({id:this._id,dataSource:this.data&&s((()=>"string"==typeof this.data?JSON.parse(this.data):this.data),[]),options:this});const{totalRoots:n,totalItems:c}=H.getValue(this._id);if(this.totalData=c,this.totalRootData=n,this.value=this.checkboxes?(await this.getCheckedList()).checkedList:H.selectedItem(this._id)?H.selectedItem(this._id)[0]:null,this.checkboxes||(this.inputText=(null===(t=this.value)||void 0===t?void 0:t.text)||null),this.checkboxes&&(null===(e=this.value)||void 0===e?void 0:e.length)>0){const t=[];this.value.forEach((e=>{e.items&&0!==e.items.length||t.push(e.id)})),await this.addChecked(t,!1,!1)}await this.handleIndeterminate(null===(i=this.value)||void 0===i?void 0:i.length,this.totalData),await this.markForCheck()}async markForCheck(){await p(10),this.tick=l.UID()}getOptions(){return s((()=>H.getValue(this._id).options),{})}getItems(){return this.isSelectedOther?this.returnFilterData.checkedItems:s((()=>H.getData(this._id)),[])}getLimitedItems(t){return s((()=>H.getDataPagination(this._id,this.searchResultLimit||this.limit,t)),[])}openGroup(t){H.openGroup(this._id,t),this.markForCheck()}focusItem(t){if(t.target.classList.contains("bcm-list__item")){const e=t.target,i=document.getElementById(`bcm-list-${this._id}`);if(i&&i.querySelectorAll(".bcm-list__item").length>0){const t=i.querySelector(".bcm-list__item.focused");t&&t.classList.remove("focused"),e.classList.add("focused")}}}async selectedItem(t){var e;if(!this.checkboxes&&(this.value=H.selectedItem(this._id,t)?H.selectedItem(this._id,t)[0]:null,this.inputText=(null===(e=this.value)||void 0===e?void 0:e.text)||null,this.isOpen=!1,this.markForCheck(),"autocomplete"==this.type&&this.value)){const t=this.getAutoCompleteInput();t&&setTimeout((()=>{var e;t.setValue((null===(e=this.value)||void 0===e?void 0:e.text)||""),this.isOpen=!1}),100)}return Promise.resolve(this.value)}async checkedItem(t){"select-all"===t?H.selectAll(this._id,!this.selectAllItem.checked):H.checkedItem(this._id,t),this.value=(await this.getCheckedList()).checkedList,this.changeVisibleCheckeds(),this.markForCheck()}changeVisibleCheckeds(){const{visibledItems:t}=this.returnFilterData;this.returnFilterData={visibledItems:t,checkedItems:t&&t.filter((t=>t.checked))||[]}}getAutoCompleteInput(){return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`)}dataScrollEvent(t){let e=0,i=new IntersectionObserver((t=>{0===e&&(e++,t[0].isIntersecting&&(this.limit+=15,this.searchResultLimit+=15,i.disconnect(),i=null))}),this.options);i.observe(t.target.lastElementChild)}async calculateLocation(){var t,e;if("select"==this.type||"autocomplete"==this.type||this.linkedComponent){const n=document.getElementById(`bcm-list-${this._id}`);var i=this.placement;const c=document.getElementById(this.linkedComponent?this.linkedComponent:`bcm-list-input-${this._id}`);if(n&&c){b(n,c,i,(t=>i=t)),await p(10);let o=d(i,c),r=0,s=0;if(this.linkedComponent){const i=document.getElementById(this.linkedComponent);if(i){if(!i.noCaption){const e=(null===(t=i.shadowRoot)||void 0===t?void 0:t.querySelector(".bcm-caption-area"))||i.querySelector(".bcm-caption-area");e&&(r=e.offsetHeight||e.clientHeight)}const n=(null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelector(".bcm-label"))||i.querySelector(".bcm-label");n&&(s=n.offsetHeight||n.clientHeight)}}n.style.width=this.fullWidth?c.offsetWidth+"px":this.width||"auto",n.style.height=this.height.indexOf("%")>-1?.01*a.toNumber(this.height)*window.innerHeight-o[0]-50+"px":this.height,n.style.minHeight=this.minHeight;const l="top"==i.split("-")[0]?window.innerHeight-(window.innerHeight-o[0])-50:window.innerHeight-o[0]-50;n.style.maxHeight=this.maxHeight.indexOf("%")>-1?.01*a.toNumber(this.maxHeight)*l+"px":a.toNumber(this.maxHeight)<l?this.maxHeight:l+"px",b(n,c,i,(t=>i=t)),await p(10),o=d(i,c),n.style.top=("top"==i.split("-")[0]?o[0]-n.offsetHeight+s:o[0]-r)+"px",n.style.left="end"==i.split("-")[1]?o[1]-n.offsetWidth+"px":o[1]+"px",n.classList.toggle("bcm-list--top","top"==i.split("-")[0]),this.calculatedViewport=!0}}}render(){const{checkboxes:e,treeview:i,label:c,size:o,disabled:r,readonly:s,required:l,hidden:a,fullWidth:h,searchable:m}=this.getOptions(),b=v("bcm-list",`bcm-list__size-${o}`,`bcm-list__${this.type}`,"large"===o?"size-3":"size-2",{error:this.captionType==x.Status.error,"full-width":h,"bcm-list__linked":this.linkedComponent,hidden:a,readonly:s,disabled:r}),d=v("bcm-list__container",this.linkedComponent?"bcm-list__type-linked-component":`bcm-list__type-${this.type}`,{"is-open":this.isOpen&&this.calculatedViewport,error:this.captionType==x.Status.error,"full-width":h,hidden:a,readonly:s,disabled:r}),u=v("bcm-list__input"),p="select"==this.type||"autocomplete"==this.type||this.linkedComponent;return t(n,{class:b,tabindex:"0",style:{"--width":h?"100%":this.width,"--height":p?"100%":this.height,"--max-height":p?"inherit":this.maxHeight,"--min-height":p?"inherit":this.minHeight}},t("div",{id:`bcm-list-label-${this._id}`,class:"bcm-list__label"},c&&t("div",null,t(g,{size:this.size,type:this.captionType,value:c,required:l,htmlFor:this._id}))),"select"==this.type&&t("div",{id:`bcm-list-input-${this._id}`,class:u},t("span",{class:v("bcm-list__input-container",{"type-single":!e,"value-empty":!this.value})},this.checkboxes?this.value&&this.value.length>0?t("bcm-rc-overflow",{data:this.tagData,maxCount:this.tagCount}):t("span",{class:"bcm-list__input-placeholder"},this.placeholder):this.value?this.inputText:t("span",{class:"bcm-list__input-placeholder"},this.placeholder)),t("span",{class:v("bcm-list__input-buttons",{disabled:r})},this.clearable&&this.value&&t("div",{class:"bcm-list__input-buttons-button"},t("bcm-icon",{icon:"fal fa-times",onClick:t=>!r&&this.setClear(t)})),t("div",{class:`bcm-list__input-buttons-button caret-is ${this.isOpen&&this.calculatedViewport&&"caret-is-open"}`},t("bcm-icon",{icon:"far fa-angle-down"})))),"autocomplete"===this.type&&t("div",{id:`bcm-list-input-${this._id}`,class:v(u,{"bcm-list__input-autocomplete":"autocomplete"==this.type})},t("span",{class:"bcm-list__input-container",id:`bcm-list-input-tag-container-${this._id}`},this.checkboxes&&t("span",{class:"bcm-list__input-tag-container",id:`bcm-list-input-tag-container-${this._id}-autocomplete`}),t("bcm-search",{id:`bcm-list-input-tag-container-${this._id}-autocomplete-input`,class:"bcm-list__autocomplete",data:this.data,clearable:!0,"full-width":!0,"no-caption":!0,placeholder:this.placeholder}))),t(C,{highlight:this.highlightText,searchable:"autocomplete"!=this.type&&m,bcmListContainer:d,checkboxes:e,treeview:i,infoFooter:this.infoFooter,value:this.value,totalData:this.totalData,searchFound:this.searchFound,variableText:this.variableText,searchPlaceholder:this.searchPlaceholder,minSearchLength:this.minSearchLength,searchIsOnlyChilds:this.searchIsOnlyChilds,_id:this._id,checkAll:this.checkAll,data:this.getItems(),width:this.width,height:this.height,size:this.size,selectAllItem:this.selectAllItem,onScrollEvent:t=>this.dataScrollEvent(t),items:this.getLimitedItems(this.searchGetParents),selectedItem:t=>this.selectedItem(t),checkedItem:t=>this.checkedItem(t),openGroup:t=>this.openGroup(t),focusItem:t=>this.focusItem(t),emptyText:this.emptyText,emptyIcon:this.emptyIcon}),t(_,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}))}get el(){return c(this)}static get watchers(){return{_id:["watchId"],value:["handleValueChange"],returnFilterData:["watchReturnFilterData"],isOpen:["handleOpen"],data:["dataChanged"]}}};function J(){return J=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},J.apply(this,arguments)}function Q(t){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(t)}function X(t,e,i){return(e=function(t){var e=function(t){if("object"!==Q(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!==Q(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Q(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Z(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function tt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(i),!0).forEach((function(e){X(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Z(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function et(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function it(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,c,o,r,s=[],l=!0,a=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){a=!0,c=t}finally{try{if(!l&&null!=i.return&&(r=i.return(),Object(r)!==r))return}finally{if(a)throw c}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return et(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?et(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nt(t,e){if(null==t)return{};var i,n,c=function(t,e){if(null==t)return{};var i,n,c={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(i=o[n])>=0||(c[i]=t[i]);return c}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)e.indexOf(i=o[n])>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(c[i]=t[i])}return c}function ct(){return ct=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},ct.apply(this,arguments)}
6
- /** @license React v16.13.1
7
- * react-is.production.min.js
8
- *
9
- * Copyright (c) Facebook, Inc. and its affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */U([o()],Y.prototype,"el",void 0),U([r("data",!0)],Y.prototype,"dataChanged",null),Y.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:"";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}.bcm-list{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;--width:256px;--height:256px;--max-height:inherit;--min-height:inherit;min-width:90px;display:flex;flex-direction:column;margin:0 0 8px 0}.bcm-list__listbox .bcm-list__container{height:var(--height);max-height:var(--max-height);min-height:var(--min-height)}.bcm-list.full-width{width:100%}.bcm-list__size-small .bcm-list__input{height:24px;font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-small .bcm-list__input .bcm-tag__content.dismissable{font-size:10px;line-height:calc(10px + 8px)}.bcm-list__size-medium .bcm-list__input{height:32px;font-size:14px;line-height:calc(14px + 8px)}.bcm-list__size-medium .bcm-list__input .bcm-tag__content.dismissable{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-large .bcm-list__input{height:40px;font-size:16px;line-height:calc(16px + 8px)}.bcm-list__size-large .bcm-list__input .bcm-tag__content.dismissable{font-size:14px;line-height:calc(14px + 8px)}.bcm-list:hover{outline:none}.bcm-list:hover .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list:focus-visible{outline:none}.bcm-list:focus-visible .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);background-color:var(--bcm-new-ds-color-white)}.bcm-list:active{outline:none}.bcm-list:active .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list__container{--width:256px;--height:256px;width:var(--width);height:var(--height);background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;padding-top:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:4px}.bcm-list__container main{scroll-behavior:smooth;padding:0 8px;flex:1;overflow:auto;display:flex;flex-direction:column}.bcm-list__container-search{margin:0 8px}.bcm-list__container-search:after{margin:4px 0}.bcm-list__container-no-data{flex:1;display:flex;justify-content:stretch;align-items:stretch;padding-bottom:4px}.bcm-list__container.error{border-color:var(--bcm-color-red-6)}.bcm-list__container.full-width{width:100%}.bcm-list__container.bcm-list__type-linked-component,.bcm-list__container.bcm-list__type-select,.bcm-list__container.bcm-list__type-autocomplete{opacity:0;visibility:hidden;position:absolute;top:0;left:0;height:0;width:0;transform:translateY(10%);z-index:10800;transition:visibility 0s linear 400ms, opacity 100ms, transform 200ms}.bcm-list__container.bcm-list__type-linked-component.bcm-list--top,.bcm-list__container.bcm-list__type-select.bcm-list--top,.bcm-list__container.bcm-list__type-autocomplete.bcm-list--top{transform:translateY(-10%)}.bcm-list__container.bcm-list__type-linked-component.is-open,.bcm-list__container.bcm-list__type-select.is-open,.bcm-list__container.bcm-list__type-autocomplete.is-open{opacity:1;transform:translateY(0);visibility:visible;transition:visibility 0s linear 0s, opacity 100ms, transform 100ms}.bcm-list__container.bcm-list__type-linked-component{margin-top:2px}.bcm-list__label{line-height:1}.bcm-list__input{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-white);user-select:none;cursor:pointer;padding:0 8px;height:32px;overflow:hidden;position:relative;transition:background-color 100ms, border-color 100ms}.bcm-list__input-spinner{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bcm-color-grey-1);opacity:0;visibility:hidden;transition:opacity 0.2s ease-in-out;z-index:-1}.bcm-list__input-spinner.is-open{opacity:1;visibility:visible;z-index:1}.bcm-list__input-container{flex:1;display:block;overflow:hidden}.bcm-list__input-container.value-empty{color:var(--bcm-color-grey-6)}.bcm-list__input-container.type-single,.bcm-list__input-container.value-empty{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-list__input-placeholder{color:var(--bcm-color-grey-6)}.bcm-list__input-tag-container{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;grid-gap:2px;line-height:1}.bcm-list__input-buttons{display:flex;align-items:center;justify-content:flex-end;grid-gap:4px}.bcm-list__input-buttons-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:4px 4px 0 4px;font-size:16px;color:var(--bcm-new-ds-color-slate-500)}.bcm-list__input-buttons-button.caret-is{transform:rotate(360deg);transition:transform 0.2s ease-in-out}.bcm-list__input-buttons-button.caret-is-open{transform:rotate(180deg)}.bcm-list__input-buttons:not(.disabled) .bcm-list__input-buttons-button:hover{cursor:pointer;color:var(--bcm-new-ds-color-slate-600)}.bcm-list__input-autocomplete{position:relative;padding-right:0}.bcm-list__input-autocomplete .bcm-list-input-selected-text{background-color:#ffffff;display:flex;align-items:center;justify-content:flex-start;width:calc(100% - 24px);height:100%;padding:0 calc(8px + 4px);position:absolute;top:0;left:0}.bcm-list__input-autocomplete .bcm-list__input-container{height:100%;display:flex;flex-direction:row}.bcm-list__input-autocomplete .bcm-list__input-container .bcm-list__input-tag-container{width:auto}.bcm-list__input-autocomplete .bcm-input,.bcm-list__input-autocomplete .bcm-list__autocomplete{height:100%;min-width:70px;width:100%}.bcm-list__input-autocomplete .bcm-input__container,.bcm-list__input-autocomplete .bcm-list__autocomplete__container{height:100%;border:none;padding:0;width:100%}.bcm-list__input-autocomplete .bcm-input__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-input__container:not(.disabled):hover,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled):hover{border:none;box-shadow:none}.bcm-list__autocomplete{width:100%;position:relative}.bcm-list.full-width .bcm-list__container,.bcm-list.full-width .bcm-list__input{width:100%}.bcm-list.error .bcm-list__input{border-color:var(--bcm-color-red-6)}.bcm-list.disabled .bcm-list__container,.bcm-list.disabled .bcm-list__input{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-list.disabled .bcm-tag__content.dismissable .close-button{cursor:default}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button bcm-icon{color:var(--bcm-new-ds-color-slate-100)}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button:hover bcm-icon{color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:hover{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list:not(.disabled) .bcm-list__input:hover .bcm-tag__content.dismissable:not(.checked){background-color:var(--bcm-new-ds-color-slate-200);border-color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:focus-visible{border-color:var(--bcm-new-ds-color-blue-500);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list:not(.disabled) .bcm-list__input:active{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item{padding:2px 0}.bcm-list__item.disabled{user-select:none}.bcm-list__item:focus{outline:none}.bcm-list__item:focus-visible>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item:focus-visible>.bcm-list__item-content:not(.disabled){color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item-content{display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;cursor:pointer;border-radius:4px;padding:0;padding-left:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-50);transition:background-color 0.2s ease}.bcm-list__item-content.disabled{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);user-select:none;cursor:not-allowed}.bcm-list__item-content.selected{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item-content.selected:hover:not(.disabled){color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item-content:hover:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item-content:active:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item-content-collapse-icon{width:16px;padding:0 8px;display:flex;align-items:center;justify-content:center;font-size:16px}.bcm-list__item-content-collapse-icon.child{cursor:pointer}.bcm-list__item-content-text{user-select:none;padding:8px;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.bcm-list__item-content-text.treeview{padding:8px 0}.bcm-list__item-content-text-checkbox{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;margin-right:8px}.bcm-list__item-content-text-checkbox .bcm-checkbox{margin:0}.bcm-list__item-content-text-inner{width:100%}.bcm-list__item-content-text mark{padding:0;margin:0;font-size:inherit;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-yellow-4)}.bcm-list__item-childs{padding-left:16px}.bcm-list__item-small{padding:2px 0 2px 8px;font-size:10px;line-height:calc(10px + 8px)}.bcm-list__item-small .bcm-list__item-content-text{padding:3px 4px}.bcm-list__item-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__item-medium .bcm-list__item-content-text{padding:6px 4px}.bcm-list__item-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-list__item-large .bcm-list__item-content-text{padding:9px 4px}.bcm-list__item--readonly:focus>.bcm-list__item-content:not(.disabled),.bcm-list__item--readonly.focused>.bcm-list__item-content:not(.disabled){color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content{color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content:hover,.bcm-list__item--readonly>.bcm-list__item-content:focus{color:var(--bcm-color-grey-7)}.bcm-list__item--group{border-radius:4px}.bcm-list__item--group:focus>.bcm-list__item-content:not(.disabled){background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);border-radius:4px 4px 0 0;cursor:default;font-size:14px;line-height:calc(14px + 8px);font-weight:500;position:sticky;top:0}.bcm-list__item--group>.bcm-list__item-content>.bcm-list__item-content-text{padding:4px 8px 4px 16px}.bcm-list__item--group>.bcm-list__item-content:hover,.bcm-list__item--group>.bcm-list__item-content:focus{color:var(--bcm-new-ds-color-slate-800);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-content-unclickable:hover{color:var(--bcm-new-ds-color-slate-700);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-childs{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);padding-bottom:8px;border-radius:0 0 4px 4px;padding-left:8px}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content{background-color:var(--bcm-new-ds-color-white);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:hover{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:active{background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:focus-visible{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected{background-color:var(--bcm-new-ds-color-blue-500);color:var(--bcm-new-ds-color-white)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:hover{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:active{background-color:var(--bcm-new-ds-color-blue-700)}.bcm-list__linked{display:none}.bcm-list .bcm-tag--other .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-info-footer{text-align:right;padding:4px 8px;background-color:var(--bcm-new-ds-color-slate-100);color:var(--bcm-new-ds-color-slate-600);border-radius:0 0 4px 4px}';var ot="function"==typeof Symbol&&Symbol.for,rt=ot?Symbol.for("react.element"):60103,st=ot?Symbol.for("react.portal"):60106,lt=ot?Symbol.for("react.fragment"):60107,at=ot?Symbol.for("react.strict_mode"):60108,ht=ot?Symbol.for("react.profiler"):60114,mt=ot?Symbol.for("react.provider"):60109,bt=ot?Symbol.for("react.context"):60110,dt=ot?Symbol.for("react.async_mode"):60111,ut=ot?Symbol.for("react.concurrent_mode"):60111,pt=ot?Symbol.for("react.forward_ref"):60112,ft=ot?Symbol.for("react.suspense"):60113,xt=ot?Symbol.for("react.suspense_list"):60120,_t=ot?Symbol.for("react.memo"):60115,vt=ot?Symbol.for("react.lazy"):60116,gt=ot?Symbol.for("react.block"):60121,yt=ot?Symbol.for("react.fundamental"):60117,wt=ot?Symbol.for("react.responder"):60118,kt=ot?Symbol.for("react.scope"):60119;function zt(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case rt:switch(t=t.type){case dt:case ut:case lt:case ht:case at:case ft:return t;default:switch(t=t&&t.$$typeof){case bt:case pt:case vt:case _t:case mt:return t;default:return e}}case st:return e}}}function jt(t){return zt(t)===ut}var Ot={AsyncMode:dt,ConcurrentMode:ut,ContextConsumer:bt,ContextProvider:mt,Element:rt,ForwardRef:pt,Fragment:lt,Lazy:vt,Memo:_t,Portal:st,Profiler:ht,StrictMode:at,Suspense:ft,isAsyncMode:function(t){return jt(t)||zt(t)===dt},isConcurrentMode:jt,isContextConsumer:function(t){return zt(t)===bt},isContextProvider:function(t){return zt(t)===mt},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===rt},isForwardRef:function(t){return zt(t)===pt},isFragment:function(t){return zt(t)===lt},isLazy:function(t){return zt(t)===vt},isMemo:function(t){return zt(t)===_t},isPortal:function(t){return zt(t)===st},isProfiler:function(t){return zt(t)===ht},isStrictMode:function(t){return zt(t)===at},isSuspense:function(t){return zt(t)===ft},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===lt||t===ut||t===ht||t===at||t===ft||t===xt||"object"==typeof t&&null!==t&&(t.$$typeof===vt||t.$$typeof===_t||t.$$typeof===mt||t.$$typeof===bt||t.$$typeof===pt||t.$$typeof===yt||t.$$typeof===wt||t.$$typeof===kt||t.$$typeof===gt)},typeOf:zt};z((function(){}));var It=z((function(t){t.exports=Ot}));function St(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[];return w.Children.forEach(t,(function(t){(null!=t||e.keepEmpty)&&(Array.isArray(t)?i=i.concat(St(t)):It.isFragment(t)&&t.props?i=i.concat(St(t.props.children,e)):i.push(t))})),i}function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function Et(t){var e=function(t){if("object"!==Ct(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!==Ct(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Ct(e)?e:String(e)}function Mt(t,e,i){return(e=Et(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Rt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Tt(Object(i),!0).forEach((function(e){Mt(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Tt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function $t(t){return $t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$t(t)}function Dt(t,e){"function"==typeof t?t(e):"object"===$t(t)&&t&&"current"in t&&(t.current=e)}function Ft(t){return function(t){return t instanceof HTMLElement||t instanceof SVGElement}(t)?t:t instanceof w.Component?k.findDOMNode(t):null}var Pt=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var i=-1;return t.some((function(t,n){return t[0]===e&&(i=n,!0)})),i}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var i=t(this.__entries__,e),n=this.__entries__[i];return n&&n[1]},e.prototype.set=function(e,i){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=i:this.__entries__.push([e,i])},e.prototype.delete=function(e){var i=this.__entries__,n=t(i,e);~n&&i.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var i=0,n=this.__entries__;i<n.length;i++){var c=n[i];t.call(e,c[1],c[0])}},e}()}(),Nt="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,At="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Lt="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(At):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},Vt=["top","right","bottom","left","width","height","size","weight"],qt="undefined"!=typeof MutationObserver,Wt=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t){var e=!1,i=!1,n=0;function c(){e&&(e=!1,t()),i&&r()}function o(){Lt(c)}function r(){var t=Date.now();if(e){if(t-n<2)return;i=!0}else e=!0,i=!1,setTimeout(o,20);n=t}return r}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,i=e.indexOf(t);~i&&e.splice(i,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){Nt&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),qt?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){Nt&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=void 0===e?"":e;Vt.some((function(t){return!!~i.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),Gt=function(t,e){for(var i=0,n=Object.keys(e);i<n.length;i++){var c=n[i];Object.defineProperty(t,c,{value:e[c],enumerable:!1,writable:!1,configurable:!0})}return t},Ht=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||At},Bt=Qt(0,0,0,0);function Kt(t){return parseFloat(t)||0}function Ut(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return e.reduce((function(e,i){return e+Kt(t["border-"+i+"-width"])}),0)}var Yt="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof Ht(t).SVGGraphicsElement}:function(t){return t instanceof Ht(t).SVGElement&&"function"==typeof t.getBBox};function Jt(t){return Nt?Yt(t)?function(t){var e=t.getBBox();return Qt(0,0,e.width,e.height)}(t):function(t){var e=t.clientWidth,i=t.clientHeight;if(!e&&!i)return Bt;var n=Ht(t).getComputedStyle(t),c=function(t){for(var e={},i=0,n=["top","right","bottom","left"];i<n.length;i++){var c=n[i];e[c]=Kt(t["padding-"+c])}return e}(n),o=c.left+c.right,r=c.top+c.bottom,s=Kt(n.width),l=Kt(n.height);if("border-box"===n.boxSizing&&(Math.round(s+o)!==e&&(s-=Ut(n,"left","right")+o),Math.round(l+r)!==i&&(l-=Ut(n,"top","bottom")+r)),!function(t){return t===Ht(t).document.documentElement}(t)){var a=Math.round(s+o)-e,h=Math.round(l+r)-i;1!==Math.abs(a)&&(s-=a),1!==Math.abs(h)&&(l-=h)}return Qt(c.left,c.top,s,l)}(t):Bt}function Qt(t,e,i,n){return{x:t,y:e,width:i,height:n}}var Xt=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Qt(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=Jt(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),Zt=function(t,e){var i=function(t){var e=t.x,i=t.y,n=t.width,c=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,r=Object.create(o.prototype);return Gt(r,{x:e,y:i,width:n,height:c,top:i,right:e+n,bottom:c+i,left:e}),r}(e);Gt(this,{target:t,contentRect:i})},te=function(){function t(t,e,i){if(this.activeObservations_=[],this.observations_=new Pt,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Ht(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new Xt(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof Ht(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new Zt(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),ee="undefined"!=typeof WeakMap?new WeakMap:new Pt,ie=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=Wt.getInstance(),n=new te(e,i,this);ee.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){ie.prototype[t]=function(){var e;return(e=ee.get(this))[t].apply(e,arguments)}}));var ne=void 0!==At.ResizeObserver?At.ResizeObserver:ie,ce=new Map,oe=new ne((function(t){t.forEach((function(t){var e,i=t.target;null===(e=ce.get(i))||void 0===e||e.forEach((function(t){return t(i)}))}))}));function re(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function se(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Et(n.key),n)}}function le(t,e){return le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},le(t,e)}function ae(t){return ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ae(t)}function he(t,e){if(e&&("object"===Ct(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}var me=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&le(t,e)}(o,w.Component);var t,e,i,n,c=(i=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ae(i);if(n){var c=ae(this).constructor;t=Reflect.construct(e,arguments,c)}else t=e.apply(this,arguments);return he(this,t)});function o(){return re(this,o),c.apply(this,arguments)}return t=o,(e=[{key:"render",value:function(){return this.props.children}}])&&se(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),o}(),be=w.createContext(null);function de(t,e){var i,n,c,o,r=t.children,s=t.disabled,l=w.useRef(null),a=w.useRef(null),h=w.useContext(be),m="function"==typeof r,b=m?r(l):r,d=w.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),u=!m&&w.isValidElement(b)&&!!("function"!=typeof(o=It.isMemo(i=b)?i.type.type:i.type)||null!==(n=o.prototype)&&void 0!==n&&n.render)&&!!("function"!=typeof i||null!==(c=i.prototype)&&void 0!==c&&c.render),p=u?b.ref:null,f=w.useMemo((function(){return function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e.filter((function(t){return t}));return n.length<=1?n[0]:function(t){e.forEach((function(e){Dt(e,t)}))}}(p,l)}),[p,l]),x=function(){return Ft(l.current)||Ft(a.current)};w.useImperativeHandle(e,(function(){return x()}));var _=w.useRef(t);_.current=t;var v=w.useCallback((function(t){var e=_.current,i=e.onResize,n=e.data,c=t.getBoundingClientRect(),o=c.width,r=c.height,s=t.offsetWidth,l=t.offsetHeight,a=Math.floor(o),m=Math.floor(r);if(d.current.width!==a||d.current.height!==m||d.current.offsetWidth!==s||d.current.offsetHeight!==l){var b={width:a,height:m,offsetWidth:s,offsetHeight:l};d.current=b;var u=s===Math.round(o)?o:s,p=l===Math.round(r)?r:l,f=Rt(Rt({},b),{},{offsetWidth:u,offsetHeight:p});null==h||h(f,t,n),i&&Promise.resolve().then((function(){i(f,t)}))}}),[]);return w.useEffect((function(){var t,e,i=x();return i&&!s&&(e=v,ce.has(t=i)||(ce.set(t,new Set),oe.observe(t)),ce.get(t).add(e)),function(){return function(t,e){ce.has(t)&&(ce.get(t).delete(e),ce.get(t).size||(oe.unobserve(t),ce.delete(t)))}(i,v)}}),[l.current,s]),w.createElement(me,{ref:a},u?w.cloneElement(b,{ref:f}):b)}var ue=w.forwardRef(de);function pe(t,e){var i=t.children;return("function"==typeof i?[i]:St(i)).map((function(i,n){var c=(null==i?void 0:i.key)||"".concat("rc-observer-key","-").concat(n);return w.createElement(ue,ct({},t,{key:c,ref:0===n?e:void 0}),i)}))}var fe=w.forwardRef(pe);fe.Collection=function(t){var e=t.children,i=t.onBatchResize,n=w.useRef(0),c=w.useRef([]),o=w.useContext(be),r=w.useCallback((function(t,e,r){n.current+=1;var s=n.current;c.current.push({size:t,element:e,data:r}),Promise.resolve().then((function(){s===n.current&&(null==i||i(c.current),c.current=[])})),null==o||o(t,e,r)}),[i,o]);return w.createElement(be.Provider,{value:r},e)};var xe="undefined"!=typeof window&&window.document&&window.document.createElement?w.useLayoutEffect:w.useEffect,_e=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ve=void 0;function ge(t,e){var i=t.prefixCls,n=t.invalidate,c=t.item,o=t.renderItem,r=t.responsive,s=t.responsiveDisabled,l=t.registerSize,a=t.itemKey,h=t.className,m=t.style,b=t.children,d=t.display,u=t.order,p=t.component,f=void 0===p?"div":p,x=nt(t,_e),_=r&&!d;function g(t){l(a,t)}w.useEffect((function(){return function(){g(null)}}),[]);var y,k=o&&c!==ve?o(c):b;n||(y={opacity:_?0:1,height:_?0:ve,overflowY:_?"hidden":ve,order:r?u:ve,pointerEvents:_?"none":ve,position:_?"absolute":ve});var z={};_&&(z["aria-hidden"]=!0);var j=w.createElement(f,J({className:v(!n&&i,h),style:tt(tt({},y),m)},z,x,{ref:e}),k);return r&&(j=w.createElement(fe,{onResize:function(t){g(t.offsetWidth)},disabled:s},j)),j}var ye=w.forwardRef(ge);ye.displayName="Item";var we=function(t){return+setTimeout(t,16)},ke=function(t){return clearTimeout(t)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(we=function(t){return window.requestAnimationFrame(t)},ke=function(t){return window.cancelAnimationFrame(t)});var ze=0,je=new Map;function Oe(t){je.delete(t)}var Ie=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=ze+=1;function n(e){if(0===e)Oe(i),t();else{var c=we((function(){n(e-1)}));je.set(i,c)}}return n(e),i};function Se(t,e){var i=it(w.useState(e),2),n=i[0],c=i[1],o=function(){var e=w.useRef();e.current=function(e){t((function(){c(e)}))};var i=w.useCallback((function(){for(var t,i=arguments.length,n=new Array(i),c=0;c<i;c++)n[c]=arguments[c];return null===(t=e.current)||void 0===t?void 0:t.call.apply(t,[e].concat(n))}),[]);return i}();return[n,o]}Ie.cancel=function(t){var e=je.get(t);return Oe(e),ke(e)};var Ce=w.createContext(null),Ee=["component"],Me=["className"],Te=["className"],Re=function(t,e){var i=w.useContext(Ce);if(!i){var n=t.component,c=void 0===n?"div":n,o=nt(t,Ee);return w.createElement(c,J({},o,{ref:e}))}var r=i.className,s=nt(i,Me),l=t.className,a=nt(t,Te);return w.createElement(Ce.Provider,{value:null},w.createElement(ye,J({ref:e,className:v(r,l)},s,a)))},$e=w.forwardRef(Re);$e.displayName="RawItem";var De=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Fe="responsive",Pe="invalidate";function Ne(t){return"+ ".concat(t.length," ...")}function Ae(t,e){var i,n,c,o,r=t.prefixCls,s=void 0===r?"rc-overflow":r,l=t.data,a=void 0===l?[]:l,h=t.renderItem,m=t.renderRawItem,b=t.itemKey,d=t.itemWidth,u=void 0===d?10:d,p=t.ssr,f=t.style,x=t.className,_=t.maxCount,g=t.renderRest,y=t.renderRawRest,z=t.suffix,j=t.component,O=void 0===j?"div":j,I=t.itemComponent,S=t.onVisibleChange,C=nt(t,De),E="full"===p,M=(o=w.useRef(null),function(t){o.current||(o.current=[],function(t){if("undefined"==typeof MessageChannel)Ie(t);else{var e=new MessageChannel;e.port1.onmessage=function(){return t()},e.port2.postMessage(void 0)}}((function(){k.unstable_batchedUpdates((function(){o.current.forEach((function(t){t()})),o.current=null}))}))),o.current.push(t)}),T=it(Se(M,null),2),R=T[0],$=T[1],D=R||0,F=it(Se(M,new Map),2),P=F[0],N=F[1],A=it(Se(M,0),2),L=A[0],V=A[1],q=it(Se(M,0),2),W=q[0],G=q[1],H=it(Se(M,0),2),B=H[0],K=H[1],U=it(w.useState(null),2),Y=U[0],Q=U[1],X=it(w.useState(null),2),Z=X[0],et=X[1],ct=w.useMemo((function(){return null===Z&&E?Number.MAX_SAFE_INTEGER:Z||0}),[Z,R]),ot=it(w.useState(!1),2),rt=ot[0],st=ot[1],lt="".concat(s,"-item"),at=Math.max(L,W),ht=_===Fe,mt=a.length&&ht,bt=_===Pe,dt=mt||"number"==typeof _&&a.length>_,ut=w.useMemo((function(){var t=a;return mt?t=null===R&&E?a:a.slice(0,Math.min(a.length,D/u)):"number"==typeof _&&(t=a.slice(0,_)),t}),[a,u,R,_,mt]),pt=w.useMemo((function(){return a.slice(mt?ct+1:ut.length)}),[a,ut,mt,ct]),ft=w.useCallback((function(t,e){var i;return"function"==typeof b?b(t):null!==(i=b&&(null==t?void 0:t[b]))&&void 0!==i?i:e}),[b]),xt=w.useCallback(h||function(t){return t},[h]);function _t(t,e,i){(Z!==t||void 0!==e&&e!==Y)&&(et(t),i||(st(t<a.length-1),null==S||S(t)),void 0!==e&&Q(e))}function vt(t,e){N((function(i){var n=new Map(i);return null===e?n.delete(t):n.set(t,e),n}))}function gt(t){return P.get(ft(ut[t],t))}i=function(){if(D&&"number"==typeof at&&ut){var t=B,e=ut.length,i=e-1;if(!e)return void _t(0,null);for(var n=0;n<e;n+=1){var c=gt(n);if(E&&(c=c||0),void 0===c){_t(n-1,void 0,!0);break}if(t+=c,0===i&&t<=D||n===i-1&&t+gt(i)<=D){_t(i,null);break}if(t+at>D){_t(n-1,t-c-B+W);break}}z&&gt(0)+B>D&&Q(null)}},n=[D,P,W,B,ft,ut],c=w.useRef(!0),xe((function(){return i()}),n),xe((function(){return c.current=!1,function(){c.current=!0}}),[]);var yt=rt&&!!pt.length,wt={};null!==Y&&mt&&(wt={position:"absolute",left:Y,top:0});var kt,zt={prefixCls:lt,responsive:mt,component:I,invalidate:bt},jt=m?function(t,e){var i=ft(t,e);return w.createElement(Ce.Provider,{key:i,value:tt(tt({},zt),{},{order:e,item:t,itemKey:i,registerSize:vt,display:e<=ct})},m(t,e))}:function(t,e){var i=ft(t,e);return w.createElement(ye,J({},zt,{order:e,key:i,item:t,renderItem:xt,itemKey:i,registerSize:vt,display:e<=ct}))},Ot={order:yt?ct:Number.MAX_SAFE_INTEGER,className:"".concat(lt,"-rest"),registerSize:function(t,e){G(e),V(W)},display:yt};if(y)y&&(kt=w.createElement(Ce.Provider,{value:tt(tt({},zt),Ot)},y(pt)));else{var It=g||Ne;kt=w.createElement(ye,J({},zt,Ot),"function"==typeof It?It(pt):It)}var St=w.createElement(O,J({className:v(!bt&&s,x),style:f,ref:e},C),ut.map(jt),dt?kt:null,z&&w.createElement(ye,J({},zt,{responsive:ht,responsiveDisabled:!mt,order:ct,className:"".concat(lt,"-suffix"),registerSize:function(t,e){K(e)},display:!0,style:wt}),z));return ht&&(St=w.createElement(fe,{onResize:function(t,e){$(e.clientWidth)},disabled:!mt},St)),St}var Le=w.forwardRef(Ae);Le.displayName="Overflow",Le.Item=$e,Le.RESPONSIVE=Fe,Le.INVALIDATE=Pe;const Ve=class{constructor(t){e(this,t),this.selectOtherTag=i(this,"bcm-select-other-tag",7),this.selectTag=i(this,"bcm-select-tag",7),this.deleteTag=i(this,"bcm-delete-tag",7),this.renderItem=t=>w.createElement("bcm-tooltip",{placement:"bottom",message:t.text,trigger:"hover"},w.createElement("div",{id:t.value+"-tag",className:"bcm-tag",onClick:({target:e})=>this.onClickControl(e,t,!1)},w.createElement("span",{className:"bcm-tag__content dismissable"},w.createElement("div",{className:"value tw-block tw-max-w-[38px] tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap"},t.text),w.createElement("span",{className:"right close-button"},w.createElement("bcm-icon",{icon:"fa fa-times"}))))),this.renderRest=t=>{const e=(null==t?void 0:t.sort(((t,e)=>+t.ct-+e.ct)).slice(0,15).map((t=>h.textLimitter(t.text,40,!0))).toString().split(",").join("\r\n"))+(t.length>15?"\r\n...":"");return w.createElement("bcm-tooltip",{placement:"bottom",message:e,trigger:"hover"},w.createElement("div",{className:"bcm-tag bcm-tag--other",onClick:({target:e})=>this.onClickControl(e,t,!0)},w.createElement("span",{className:"bcm-tag__content dismissable "+(this.checked?"checkable checked":"")},w.createElement("span",{className:"value"},`+${null==t?void 0:t.length}`),w.createElement("span",{className:"right close-button"},w.createElement("bcm-icon",{icon:"fa fa-times"})))))},this._id=l.UID(),this.maxCount=1,this.data=[],this.checked=!1}isClickDismiss(t){return"BCM-ICON"===t["s-hn"]}onClickControl(t,e,i=!1){const n=this.isClickDismiss(t);n&&this.deleteTag.emit({id:Array.isArray(e)?e.map((t=>t.value)):e.value})&&this.checked&&(this.checked=!1),!i&&this.selectTag.emit({id:e.value})&&this.checked&&(this.checked=!1),i&&!n&&(this.checked=!this.checked,this.selectOtherTag.emit({id:null==e?void 0:e.map((t=>t.value)),checked:this.checked}))}componentWillRender(){const{data:t,renderItem:e,renderRest:i,maxCount:n}=this;this.overflowInstance=w.createElement(Le,{data:t,renderItem:e,renderRest:i,maxCount:n}),k.render(this.overflowInstance,this.el)}get el(){return c(this)}};Ve.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.rc-overflow{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.rc-overflow-item{transition:all 0.3s ease;padding:0 2px;display:flex;align-items:center;justify-content:center}';const{state:qe}=y({value:new Map}),We=(t,e)=>{let i=[];return t&&(i=t.map((t=>Object.assign(Object.assign(Object.assign({},t),{parentId:s((()=>e),null)}),t.items&&t.items.length>0&&{items:s((()=>We(t.items,t.id)),[])})))),i},Ge=t=>s((()=>qe.value.get(t)),{}),He=(t,e,i)=>{let n=[],c=[],o=[],r=[];const{searchIsOnlyChilds:s}=Ge(t);return e&&e.length>0&&e.forEach((e=>{let l=s&&null!==e.parentId;if((h.slugify(e.text).indexOf(h.slugify(i))>-1||e.keywords&&h.slugify(e.keywords).indexOf(h.slugify(i))>-1)&&(!s||s&&l)){if(o.push(e.id),n.push(e.id),c.push(e.id),r.push({id:e.id,text:e.text,parentId:e.parentId}),e.items&&e.items.length>0){const c=He(t,e.items,i);c.matching.length>0&&c.matching.forEach((t=>{n.push(t)}))}}else if(e.items&&e.items.length>0){const s=He(t,e.items,i);s.result.length>0&&(s.result.forEach((t=>{o.push(t)})),o.push(e.id),c.push(e.id),r.push({id:e.id,text:e.text,parentId:e.parentId,items:s.nestedResult})),s.matching.length>0&&n.push(...s.matching)}})),{result:o,matching:n,parentIndex:c,nestedResult:r}},Be=(t,e,i)=>{let n;n=i&&i.length>0?i:Ge(t).dataSource;let c=[];return n&&c.push(He(t,n,e)),{result:s((()=>l.flatArray(c[0].result)),[]),matching:s((()=>c[0].matching),[]),parentIndex:s((()=>c[0].parentIndex),[]),nestedResult:s((()=>c[0].nestedResult),[])}},Ke=class{constructor(t){e(this,t),this.bcmOnSearch=i(this,"bcm-on-search",7),this.bcmOnSearchClear=i(this,"bcm-on-search-clear",7),this.debounceHandler=l.debounceInput((t=>this.onSearchValue(t,this)),300,!1,(()=>{var t,e;this.isActiveClearable=(null===(e=null===(t=this.inputElement)||void 0===t?void 0:t.value)||void 0===e?void 0:e.length)>0&&this.clearable})),this._id=l.UID(),this.placeholder="Search",this.disabled=!1,this.readonly=!1,this.clearable=!0,this.size=f.Size.medium,this.limit=10,this.searchIsOnlyChilds=!1,this.minSearchLength=2,this.data=[],this.tick={},this.isActiveClearable=!1}async componentDidLoad(){await this.initState()}async dataChanged(t,e){t!==e&&await this.initState()}async initState(){await(t=>{const{id:e,dataSource:i}=t,n={id:s((()=>e),l.UID),dataSource:i&&i.length>0&&We(i),searchIsOnlyChilds:t.searchIsOnlyChilds};qe.value.set(n.id,n)})({id:this._id+"-input",dataSource:this.data,searchIsOnlyChilds:this.searchIsOnlyChilds}),await this.markForCheck()}markForCheck(){this.tick=l.UID()}handleInput(){}async onBcmFocus(){this.inputElement.focus()}async onBcmBlur(){this.inputElement.blur()}async onBcmSelect(){this.inputElement.select()}async setValue(t){this.inputElement.value=t}handleFocus(){}handleBlur(){}handleChange(){}async handleClear(t=!0){this.inputElement.value="";const{value:e,id:i}=this.inputElement;return Be(i,e),this.isActiveClearable=!1,this.bcmOnSearch.emit({result:null,value:null,matching:null,parentIndex:null}),this.bcmOnSearchClear.emit(t),await p(10),Promise.resolve()}onSearchValue(t,e){const{value:i,id:n}=t.target,c=(null==i?void 0:i.length)>=this.minSearchLength?Be(n,i,null):null,{bcmOnSearch:o,inputElement:r}=e;o.emit({result:null==c?void 0:c.result,value:null==r?void 0:r.value,matching:null==c?void 0:c.matching,parentIndex:null==c?void 0:c.parentIndex,nestedResult:null==c?void 0:c.nestedResult})}render(){const{_id:e,placeholder:i,disabled:c,readonly:o}=this;return t(n,{onClick:()=>{this.onBcmFocus(),this.onBcmSelect()}},t(j,{size:this.size,id:e,type:"search",placeholder:i,disabled:c,"full-width":!0,readonly:o,clearable:this.isActiveClearable,handleFocus:()=>this.handleFocus(),handleBlur:()=>this.handleBlur(),handleChange:()=>this.handleChange(),handleClear:()=>this.handleClear(),handleInput:this.debounceHandler,ref:t=>this.inputElement=t}))}get el(){return c(this)}static get watchers(){return{data:["dataChanged"]}}};Ke.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:"Inter", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:"Inter", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}';export{Y as bcm_list,Ve as bcm_rc_overflow,Ke as bcm_search}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{h as a}from"./p-6d7fe687.js";import{c as s}from"./p-d65a1e21.js";const o=({noCaption:o,captionType:n,captionClasses:e,caption:r,captionError:t,customErrorMessage:p,size:c,maxLength:i,value:l})=>{const m=s("bcm-caption-area","bcm-caption-area__size-"+(c=c||"medium")),u="bcm-caption-area__text",$=`${u} default ${e}`;return(0==o||i)&&a("div",{class:m},a("span",{class:`${u} ${n} ${e}`},"error"==n?a("span",null," ",p||t," "):r&&a("span",null," ",r," ")),i&&a("span",{class:$}," ",`${(null==l?void 0:l.length)||0}/${i}`," "))};export{o as C}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{r as t,c as i,h as e,H as n}from"./p-6d7fe687.js";import{G as o}from"./p-e9842c26.js";import{N as r}from"./p-3a68eca1.js";import{S as a}from"./p-8d0ca8c2.js";import{V as s}from"./p-d7f10f7f.js";import{a as c}from"./p-a429e85b.js";import{C as p}from"./p-a56e8c98.js";import{I as l}from"./p-b4ac5904.js";import{c as h}from"./p-d65a1e21.js";import{d as m}from"./p-3c7a0345.js";import{I as u}from"./p-54c0916c.js";import"./p-908b1b5d.js";import"./p-4aa0e6b1.js";import"./p-6f56f8ca.js";import"./p-3fac58f7.js";const b=class{constructor(e){t(this,e),this.focus=i(this,"bcm-focus",7),this.blur=i(this,"bcm-blur",7),this.clear=i(this,"bcm-clear",7),this.change=i(this,"bcm-change",7),this.input=i(this,"bcm-input",7),this.isBlur=!1,this._id=o.UID(),this._internal_id=o.UID(),this.value="",this.size=c.Size.medium,this.label=void 0,this.pattern=void 0,this.tooltip=void 0,this.placeholder=void 0,this.disabled=!1,this.readonly=!1,this.clearable=!1,this.autocomplete=!1,this.name=void 0,this.type=c.InputType.text,this.hidden=!1,this.required=!1,this.fullWidth=!1,this.noDefaultIcon=void 0,this.disableWatchValue=!1,this.passwordToggle=!1,this.maxLength=null,this.unitPrefix=null,this.unit=void 0,this.decimal=!0,this.min=void 0,this.max=void 0,this.step=void 0,this.caption=void 0,this.noCaption=!1,this.captionType=c.Status.default,this.captionError=void 0,this.customErrorMessage=void 0,this._prefix=void 0,this._suffix=void 0,this.captionCache=void 0,this.captionTypeCache=void 0,this.inValid=!1,this.valueCache="",this.focused=!1,this.isPasswordVisible=!1}connectedCallback(){this.valueCache=this.value,this.captionCache=this.caption,this.captionTypeCache=this.captionType}componentWillRender(){const{type:t,isBlur:i,value:e}=this;if(e)switch(this.value.length>0&&this.checkPattern(),t){case"number":!this.checkValid("number")&&this.validationRange();break;case"email":i&&this.checkValid("email");break;case"tel":i&&this.checkValid("phone")}else!this.required&&this.resetCaption()}async onBcmFocus(){this.inputElement.focus()}async onBcmBlur(){this.inputElement.blur()}async onBcmSelect(){this.inputElement.select()}async set(t){await this.setValue(t)}async get(){return this.value||null}async setValue(t){return this.inputElement.value=t,this.handleChange(),t}async setClear(){return this.inputElement.value="",this.value="",await m(10),Promise.resolve()}async resetCaption(){return await m(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,this.inValid=!1,await m(10),Promise.resolve()}async getValue(){return this.value}watchValue(t){this.inputElement.value=t,this.disableWatchValue||"number"==this.type||this.handleChange()}listenKeyDown(t){if(!this.disabled&&!this.readonly&&(this.onBcmFocus(),"number"==this.type)){var i=t.which||0,e=t.key;38==i&&(t.preventDefault(),this.stepUpOrDown("up")),40==i&&(t.preventDefault(),this.stepUpOrDown("down")),(190==i||110==i||"."==e)&&this.value.indexOf(".")>-1&&t.preventDefault(),189!=i&&109!=i&&"-"!=e||("-"==this.value.charAt(0)||this.value.indexOf("-")>-1)&&t.preventDefault()}}handleFocus(){this.focused=!0,this.focus.emit(),this.whatchHasFocus()}handleBlur(){this.focused=!1,this.isBlur=!0,this.whatchHasFocus(),this.blur.emit()}handleChange(){this.valueSync()}handleInput(){if("number"==this.type&&this.maxLength){const t=this.inputElement.value;t&&t.length>0&&t.length>this.maxLength&&(this.inputElement.value=t.substring(0,this.maxLength))}this.valueSync()}valueSync(){return this.value!=this.inputElement.value?(this.value=this.inputElement.value,this.change.emit(this.value),!0):(this.input.emit(this.value),!1)}handleClear(t){this.inputElement.value="",this.value="",this.inputElement.focus(),this.clear.emit(t),this.change.emit(this.value),t.stopPropagation()}changePasswordVisibility(){this.isPasswordVisible=!this.isPasswordVisible}setCaption(t=null,i=null){this.caption=t||this.captionCache,this.captionType=i||this.captionTypeCache,this.captionError="error"==i?t:null}stepUpOrDown(t){if(!this.inValid&&!this.disabled&&!this.readonly){let i=+this.step||1,e=+this.value;e="up"==t?+(e+i):+(e-i),this.value=e.toString(),this.change.emit(this.value)}}validationRange(){const{min:t,max:i,value:e}=this;if(void 0!==e)if(void 0!==t&&void 0!==i){if(e<t||e>i)return this.setCaption(a.getMessage("between",[t,i]),"error"),!1}else if(void 0!==t){if(e<t)return this.setCaption(a.getMessage("min",[t]),"error"),!1}else if(void 0!==i&&e>i)return this.setCaption(a.getMessage("max",[i]),"error"),!1;return this.setCaption(),!0}checkPattern(){const{pattern:t,value:i}=this;t&&(s.pattern(i,t)?(this.setCaption(),this.inValid=!1):(this.setCaption(a.getMessage("pattern"),"error"),this.inValid=!0))}checkValid(t){const{value:i}=this;return s.isValidate(i,t)?(this.setCaption(),this.inValid=!1):(this.setCaption(a.getMessage(t),"error"),this.inValid=!0),this.inValid}whatchHasFocus(){const{type:t,focused:i,valueCache:e,inValid:n}=this;t==c.InputType.number&&n&&(console.log("whatchHasFocus"),this.value=i?"":a.isNullOrEmpty(this.value)?e:this.value?this.fixToNumber(this.value):"")}fixToNumber(t){if(t){const i=r.getDecimalLength(this.step);return i>0?r.parseFloatFixed(t,i):t}return t}eyeDropper(){(new window.EyeDropper).open().then((t=>{console.log("color: ",t.sRGBHex),this.setValue(t.sRGBHex)})).catch((t=>{"NotAllowedError"===t.name?console.log("Permission to access sensor was denied."):"NotSupportedError"===t.name&&console.log("Sensor not supported.")}))}isEyeDropperSupported(){return"undefined"!=typeof window&&"EyeDropper"in window}toggleLinked(){const t=document.getElementById(`${this._id}-linked`);t&&t.toggle()}render(){const{value:t,size:i,label:o,type:r,captionType:a,caption:s,captionError:m,placeholder:u,fullWidth:b,disabled:d,readonly:x,clearable:g,passwordToggle:f,isPasswordVisible:_,noDefaultIcon:w,unit:y,inValid:v,focused:z,unitPrefix:k,noCaption:j,required:I,hidden:C,_id:D,autocomplete:V}=this,P=(null==t?void 0:t.length)>0&&g,E=h("bcm-input",`bcm-input__container--${i}`,{hidden:C,"full-width":b});return e(n,{onfocus:()=>this.onBcmFocus(),class:E,onClick:()=>this.onBcmFocus()},o&&e("bcm-label",{onClick:()=>this.toggleLinked(),tooltip:this.tooltip,type:a,value:o,required:I,htmlFor:D}),e(l,{id:D,type:r,value:t,pattern:this.pattern,placeholder:u,disabled:d,readonly:x,clearable:P,passwordToggle:f,isPasswordVisible:_,noDefaultIcon:w,focused:z,inValid:v,unitPrefix:k,maxLength:this.maxLength,internalId:this._internal_id,captionType:a,unit:y,size:i,handleFocus:()=>this.handleFocus(),handleBlur:()=>this.handleBlur(),handleChange:()=>this.handleChange(),handleInput:()=>this.handleInput(),steps:t=>this.stepUpOrDown(t),changePasswordVisibility:()=>this.changePasswordVisibility(),handleClear:t=>this.handleClear(t),eyeDropper:()=>this.eyeDropper(),isEyeDropperSupported:()=>this.isEyeDropperSupported(),ref:t=>this.inputElement=t,_suffix:this._suffix,_prefix:this._prefix,autocomplete:V}),e(p,{noCaption:j,captionType:a,captionError:m,caption:s,customErrorMessage:this.customErrorMessage}),r==c.InputType.color&&e("bcm-linked",{targetId:this._id+"-container",id:this._id+"-linked"},e("bcm-colorful",{id:this._id+"-picker",color:this.value,onBcmChange:t=>this.setValue(t.detail)})))}static get watchers(){return{value:["watchValue"]}}};(function(t,i,e,n){var o,r=arguments.length,a=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,e,a):o(i,e))||a);r>3&&a&&Object.defineProperty(i,e,a)})([u()],b.prototype,"inputElement",void 0),b.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:"Inter", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:"Inter", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}';export{b as bcm_input}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{h as s,r as t,c as i,g as e}from"./p-6d7fe687.js";import{G as o}from"./p-e9842c26.js";import{a as c}from"./p-a429e85b.js";import{c as h}from"./p-d65a1e21.js";import{N as a}from"./p-3a68eca1.js";import{e as r}from"./p-3c7a0345.js";import{C as l}from"./p-436364c8.js";import{C as n}from"./p-2e73d572.js";import"./p-908b1b5d.js";import"./p-4aa0e6b1.js";import"./p-6f56f8ca.js";const d=({_id:t,color:i,customStyle:e,size:o,checked:d,hidden:m,value:p,type:b,onDismiss:f,onSelect:u})=>{!o&&(o=c.FontSize["size-1"]);const j=h(((s,t=!1)=>(a.isNumber(s)&&(s=c.FontSize["size-"+s]||c.FontSize["size-4"]),t?+(c.FontSizeValue[s]||c.FontSizeValue["size-4"])+2:s))(o),"bcm-tag__content",b),k=h("bcm-tag",{hidden:m});return s("div",{id:t,class:h(k,{checked:d})},s("span",{hidden:!0},s("slot",null)),s("span",{class:j,style:(s=>{if((b===c.TagType.basic||b==c.TagType.dismissable)&&n[s])return{color:r(l,n[s]+"-6"),borderColor:r(l,n[s]+"-3"),backgroundColor:r(l,n[s]+"-1")}})(i),onClick:s=>u(s)},b===c.TagType.add&&s("span",{class:"left"},s("bcm-icon",{icon:"far fa-plus"})),b===c.TagType.checkable&&s("input",{type:"checkbox",checked:d}),s("span",{class:"value",style:e},p),b===c.TagType.dismissable&&s("span",{class:"right close-button",onClick:s=>f(s)},s("bcm-icon",{icon:"fal fa-times"}))))},m=class{constructor(s){t(this,s),this.change=i(this,"bcm-change",7),this.tagDismissable=i(this,"bcm-tag-dismissable",7),this.bcmTagSelect=i(this,"bcm-tag-select",7),this._id=o.UID(),this._internal_id=o.UID(),this.hidden=!1,this.value="",this.type=c.TagType.basic,this.checked=!1,this.color=void 0,this.customStyle=void 0,this.itemObject=void 0,this.size=c.FontSize["size-1"],this.closeFunc=s=>s,this.selectFunc=s=>s}handleClick(){this.type===c.TagType.checkable&&this.handleChecked()}handleClose(){this.tagDismissable.emit(this.el)}handleChecked(){this.checked=!this.checked,this.change.emit(this.checked)}render(){const{type:t,color:i,value:e,customStyle:o,size:h,hidden:a,checked:r}=this;return s(d,{size:h,hidden:a,color:i,customStyle:o,checked:r,value:e,type:c.TagType[t],onSelect:s=>{this.bcmTagSelect.emit(s),this.selectFunc({event:s,id:this._id})},onDismiss:s=>{this.handleClose(),this.closeFunc(s)}})}get el(){return e(this)}};export{m as bcm_tag}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{h as e}from"./p-6d7fe687.js";import{c as m}from"./p-d65a1e21.js";import{a as r}from"./p-a429e85b.js";import{S as o}from"./p-74b2d896.js";const t=({required:t,value:a,size:s,form:l,htmlFor:p,type:b})=>{const i=m("bcm-label__text","bcm-label__text-"+(b=b||r.Status.default),"bcm-label__size-"+(s=s||"medium"));return e("label",{form:l,htmlFor:p,class:i}," ",e(o,{value:a})," ",t&&"*")};export{t as L}
@@ -1,5 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{r as n,c as r,g as t}from"./p-6d7fe687.js";import{r as e,a as u}from"./p-1eabd5dc.js";import{c as i,a as o}from"./p-6f56f8ca.js";function c(){return(c=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n}).apply(this,arguments)}function f(n,r){if(null==n)return{};var t,e,u={},i=Object.keys(n);for(e=0;e<i.length;e++)r.indexOf(t=i[e])>=0||(u[t]=n[t]);return u}function a(n){var r=e.useRef(n),t=e.useRef((function(n){r.current&&r.current(n)}));return r.current=n,t.current}var l=function(n,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),n>t?t:n<r?r:n},s=function(n){return"touches"in n},v=function(n){return n&&n.ownerDocument.defaultView||self},p=function(n,r,t){var e=n.getBoundingClientRect(),u=s(r)?function(n,r){for(var t=0;t<n.length;t++)if(n[t].identifier===r)return n[t];return n[0]}(r.touches,t):r;return{left:l((u.pageX-(e.left+v(n).pageXOffset))/e.width),top:l((u.pageY-(e.top+v(n).pageYOffset))/e.height)}},h=function(n){!s(n)&&n.preventDefault()},b=e.memo((function(n){var r=n.onMove,t=n.onKey,u=f(n,["onMove","onKey"]),i=e.useRef(null),o=a(r),l=a(t),b=e.useRef(null),m=e.useRef(!1),d=e.useMemo((function(){var n=function(n){h(n),(s(n)?n.touches.length>0:n.buttons>0)&&i.current?o(p(i.current,n,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var e=m.current,u=v(i.current),o=t?u.addEventListener:u.removeEventListener;o(e?"touchmove":"mousemove",n),o(e?"touchend":"mouseup",r)}return[function(n){var r=n.nativeEvent,e=i.current;if(e&&(h(r),!function(n,r){return r&&!s(n)}(r,m.current)&&e)){if(s(r)){m.current=!0;var u=r.changedTouches||[];u.length&&(b.current=u[0].identifier)}e.focus(),o(p(e,r,b.current)),t(!0)}},function(n){var r=n.which||n.keyCode;r<37||r>40||(n.preventDefault(),l({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[l,o]),g=d[0],x=d[1],_=d[2];return e.useEffect((function(){return _}),[_]),e.createElement("div",c({},u,{onTouchStart:g,onMouseDown:g,className:"react-colorful__interactive",ref:i,onKeyDown:x,tabIndex:0,role:"slider"}))})),m=function(n){return n.filter(Boolean).join(" ")},d=function(n){var r=n.color,t=n.left,u=n.top,i=void 0===u?.5:u,o=m(["react-colorful__pointer",n.className]);return e.createElement("div",{className:o,style:{top:100*i+"%",left:100*t+"%"}},e.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:r}}))},g=function(n,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*n)/t},x=function(n){return"#"===n[0]&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:4===n.length?g(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:8===n.length?g(parseInt(n.substring(6,8),16)/255,2):1}},_=function(n){var r=function(n){var r=n.s,t=n.v,e=n.a,u=(200-r)*t/100;return{h:g(n.h),s:g(u>0&&u<200?r*t/100/(u<=100?u:200-u)*100:0),l:g(u/2),a:g(e,2)}}(n);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},w=function(n){var r=n.toString(16);return r.length<2?"0"+r:r},y=e.memo((function(n){var r=n.hue,t=n.onChange,u=m(["react-colorful__hue",n.className]);return e.createElement("div",{className:u},e.createElement(b,{onMove:function(n){t({h:360*n.left})},onKey:function(n){t({h:l(r+360*n.left,0,360)})},"aria-label":"Hue","aria-valuenow":g(r),"aria-valuemax":"360","aria-valuemin":"0"},e.createElement(d,{className:"react-colorful__hue-pointer",left:r/360,color:_({h:r,s:100,v:100,a:1})})))})),z=e.memo((function(n){var r=n.hsva,t=n.onChange,u={backgroundColor:_({h:r.h,s:100,v:100,a:1})};return e.createElement("div",{className:"react-colorful__saturation",style:u},e.createElement(b,{onMove:function(n){t({s:100*n.left,v:100-100*n.top})},onKey:function(n){t({s:l(r.s+100*n.left,0,100),v:l(r.v-100*n.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+g(r.s)+"%, Brightness "+g(r.v)+"%"},e.createElement(d,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:_(r)})))})),j=function(n,r){if(n===r)return!0;for(var t in n)if(n[t]!==r[t])return!1;return!0};function k(n,r,t){var u=a(t),i=e.useState((function(){return n.toHsva(r)})),o=i[0],c=i[1],f=e.useRef({color:r,hsva:o});e.useEffect((function(){if(!n.equal(r,f.current.color)){var t=n.toHsva(r);f.current={hsva:t,color:r},c(t)}}),[r,n]),e.useEffect((function(){var r;j(o,f.current.hsva)||n.equal(r=n.fromHsva(o),f.current.color)||(f.current={hsva:o,color:r},u(r))}),[o,n,u]);var l=e.useCallback((function(n){c((function(r){return Object.assign({},r,n)}))}),[]);return[o,l]}var A="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,I=new Map,R=function(n){var r,t=n.className,u=n.colorModel,i=n.color,o=void 0===i?u.defaultColor:i,a=n.onChange,l=f(n,["className","colorModel","color","onChange"]),s=e.useRef(null);r=s,A((function(){var n=r.current?r.current.ownerDocument:document;if(void 0!==n&&!I.has(n)){var t=n.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',I.set(n,t);var e="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0;e&&t.setAttribute("nonce",e),n.head.appendChild(t)}}),[]);var v=k(u,o,a),p=v[0],h=v[1],b=m(["react-colorful",t]);return e.createElement("div",c({},l,{ref:s,className:b}),e.createElement(z,{hsva:p,onChange:h}),e.createElement(y,{hue:p.h,onChange:h,className:"react-colorful__last-control"}))},E={defaultColor:"000",toHsva:function(n){return function(n){var r=n.r,t=n.g,e=n.b,u=n.a,i=Math.max(r,t,e),o=i-Math.min(r,t,e),c=o?i===r?(t-e)/o:i===t?2+(e-r)/o:4+(r-t)/o:0;return{h:g(60*(c<0?c+6:c)),s:g(i?o/i*100:0),v:g(i/255*100),a:u}}(x(n))},fromHsva:function(n){return function(n){return function(n){var r=n.r,t=n.g,e=n.b,u=n.a,i=u<1?w(g(255*u)):"";return"#"+w(r)+w(t)+w(e)+i}(function(n){var r=n.h,t=n.s,e=n.v,u=n.a;r=r/360*6,t/=100,e/=100;var i=Math.floor(r),o=e*(1-t),c=e*(1-(r-i)*t),f=e*(1-(1-r+i)*t),a=i%6;return{r:g(255*[e,c,o,o,f,e][a]),g:g(255*[f,e,e,c,o,o][a]),b:g(255*[o,o,f,e,e,c][a]),a:g(u,2)}}(n))}({h:n.h,s:n.s,v:n.v,a:1})},equal:function(n,r){return n.toLowerCase()===r.toLowerCase()||j(x(n),x(r))}},$=function(n){return e.createElement(R,c({},n,{colorModel:E}))},M=i((function(n,r){(function(){var t,e="Expected a function",u="__lodash_hash_undefined__",i="__lodash_placeholder__",c=32,f=128,a=1/0,l=9007199254740991,s=NaN,v=4294967295,p=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",c],["partialRight",64],["rearg",256]],h="[object Arguments]",b="[object Array]",m="[object Boolean]",d="[object Date]",g="[object Error]",x="[object Function]",_="[object GeneratorFunction]",w="[object Map]",y="[object Number]",z="[object Object]",j="[object Promise]",k="[object RegExp]",A="[object Set]",I="[object String]",R="[object Symbol]",E="[object WeakMap]",$="[object ArrayBuffer]",M="[object DataView]",U="[object Float32Array]",S="[object Float64Array]",D="[object Int8Array]",O="[object Int16Array]",C="[object Int32Array]",N="[object Uint8Array]",T="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",Z=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,B=/[&<>"']/g,P=RegExp(K.source),q=RegExp(B.source),G=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nn=/[\\^$.*+?()[\]{}|]/g,rn=RegExp(nn.source),tn=/^\s+/,en=/\s/,un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,on=/\{\n\/\* \[wrapped with (.+)\] \*/,cn=/,? & /,fn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,an=/[()=,{}\[\]\/\s]/,ln=/\\(\\)?/g,sn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vn=/\w*$/,pn=/^[-+]0x[0-9a-f]+$/i,hn=/^0b[01]+$/i,bn=/^\[object .+?Constructor\]$/,mn=/^0o[0-7]+$/i,dn=/^(?:0|[1-9]\d*)$/,gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xn=/($^)/,_n=/['\n\r\u2028\u2029\\]/g,wn="\\ud800-\\udfff",yn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",zn="\\u2700-\\u27bf",jn="a-z\\xdf-\\xf6\\xf8-\\xff",kn="A-Z\\xc0-\\xd6\\xd8-\\xde",An="\\ufe0e\\ufe0f",In="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Rn="["+wn+"]",En="["+In+"]",$n="["+yn+"]",Mn="\\d+",Un="["+zn+"]",Sn="["+jn+"]",Dn="[^"+wn+In+Mn+zn+jn+kn+"]",On="\\ud83c[\\udffb-\\udfff]",Cn="[^"+wn+"]",Nn="(?:\\ud83c[\\udde6-\\uddff]){2}",Tn="[\\ud800-\\udbff][\\udc00-\\udfff]",Fn="["+kn+"]",Ln="\\u200d",Zn="(?:"+Sn+"|"+Dn+")",Wn="(?:"+Fn+"|"+Dn+")",Hn="(?:['’](?:d|ll|m|re|s|t|ve))?",Kn="(?:['’](?:D|LL|M|RE|S|T|VE))?",Bn="(?:"+$n+"|"+On+")?",Pn="["+An+"]?",qn=Pn+Bn+"(?:"+Ln+"(?:"+[Cn,Nn,Tn].join("|")+")"+Pn+Bn+")*",Gn="(?:"+[Un,Nn,Tn].join("|")+")"+qn,Vn="(?:"+[Cn+$n+"?",$n,Nn,Tn,Rn].join("|")+")",Yn=RegExp("['’]","g"),Jn=RegExp($n,"g"),Qn=RegExp(On+"(?="+On+")|"+Vn+qn,"g"),Xn=RegExp([Fn+"?"+Sn+"+"+Hn+"(?="+[En,Fn,"$"].join("|")+")",Wn+"+"+Kn+"(?="+[En,Fn+Zn,"$"].join("|")+")",Fn+"?"+Zn+"+"+Hn,Fn+"+"+Kn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mn,Gn].join("|"),"g"),nr=RegExp("["+Ln+wn+yn+An+"]"),rr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],er=-1,ur={};ur[U]=ur[S]=ur[D]=ur[O]=ur[C]=ur[N]=ur[T]=ur[F]=ur[L]=!0,ur[h]=ur[b]=ur[$]=ur[m]=ur[M]=ur[d]=ur[g]=ur[x]=ur[w]=ur[y]=ur[z]=ur[k]=ur[A]=ur[I]=ur[E]=!1;var ir={};ir[h]=ir[b]=ir[$]=ir[M]=ir[m]=ir[d]=ir[U]=ir[S]=ir[D]=ir[O]=ir[C]=ir[w]=ir[y]=ir[z]=ir[k]=ir[A]=ir[I]=ir[R]=ir[N]=ir[T]=ir[F]=ir[L]=!0,ir[g]=ir[x]=ir[E]=!1;var or={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},cr=parseFloat,fr=parseInt,ar="object"==typeof o&&o&&o.Object===Object&&o,lr="object"==typeof self&&self&&self.Object===Object&&self,sr=ar||lr||Function("return this")(),vr=r&&!r.nodeType&&r,pr=vr&&n&&!n.nodeType&&n,hr=pr&&pr.exports===vr,br=hr&&ar.process,mr=function(){try{return pr&&pr.require&&pr.require("util").types||br&&br.binding&&br.binding("util")}catch(n){}}(),dr=mr&&mr.isArrayBuffer,gr=mr&&mr.isDate,xr=mr&&mr.isMap,_r=mr&&mr.isRegExp,wr=mr&&mr.isSet,yr=mr&&mr.isTypedArray;function zr(n,r,t){switch(t.length){case 0:return n.call(r);case 1:return n.call(r,t[0]);case 2:return n.call(r,t[0],t[1]);case 3:return n.call(r,t[0],t[1],t[2])}return n.apply(r,t)}function jr(n,r,t,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];r(e,o,t(o),n)}return e}function kr(n,r){for(var t=-1,e=null==n?0:n.length;++t<e&&!1!==r(n[t],t,n););return n}function Ar(n,r){for(var t=null==n?0:n.length;t--&&!1!==r(n[t],t,n););return n}function Ir(n,r){for(var t=-1,e=null==n?0:n.length;++t<e;)if(!r(n[t],t,n))return!1;return!0}function Rr(n,r){for(var t=-1,e=null==n?0:n.length,u=0,i=[];++t<e;){var o=n[t];r(o,t,n)&&(i[u++]=o)}return i}function Er(n,r){return!(null==n||!n.length)&&Fr(n,r,0)>-1}function $r(n,r,t){for(var e=-1,u=null==n?0:n.length;++e<u;)if(t(r,n[e]))return!0;return!1}function Mr(n,r){for(var t=-1,e=null==n?0:n.length,u=Array(e);++t<e;)u[t]=r(n[t],t,n);return u}function Ur(n,r){for(var t=-1,e=r.length,u=n.length;++t<e;)n[u+t]=r[t];return n}function Sr(n,r,t,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(t=n[++u]);++u<i;)t=r(t,n[u],u,n);return t}function Dr(n,r,t,e){var u=null==n?0:n.length;for(e&&u&&(t=n[--u]);u--;)t=r(t,n[u],u,n);return t}function Or(n,r){for(var t=-1,e=null==n?0:n.length;++t<e;)if(r(n[t],t,n))return!0;return!1}var Cr=Hr("length");function Nr(n,r,t){var e;return t(n,(function(n,t,u){if(r(n,t,u))return e=t,!1})),e}function Tr(n,r,t,e){for(var u=n.length,i=t+(e?1:-1);e?i--:++i<u;)if(r(n[i],i,n))return i;return-1}function Fr(n,r,t){return r==r?function(n,r,t){for(var e=t-1,u=n.length;++e<u;)if(n[e]===r)return e;return-1}(n,r,t):Tr(n,Zr,t)}function Lr(n,r,t,e){for(var u=t-1,i=n.length;++u<i;)if(e(n[u],r))return u;return-1}function Zr(n){return n!=n}function Wr(n,r){var t=null==n?0:n.length;return t?Pr(n,r)/t:s}function Hr(n){return function(r){return null==r?t:r[n]}}function Kr(n){return function(r){return null==n?t:n[r]}}function Br(n,r,t,e,u){return u(n,(function(n,u,i){t=e?(e=!1,n):r(t,n,u,i)})),t}function Pr(n,r){for(var e,u=-1,i=n.length;++u<i;){var o=r(n[u]);o!==t&&(e=e===t?o:e+o)}return e}function qr(n,r){for(var t=-1,e=Array(n);++t<n;)e[t]=r(t);return e}function Gr(n){return n?n.slice(0,vt(n)+1).replace(tn,""):n}function Vr(n){return function(r){return n(r)}}function Yr(n,r){return Mr(r,(function(r){return n[r]}))}function Jr(n,r){return n.has(r)}function Qr(n,r){for(var t=-1,e=n.length;++t<e&&Fr(r,n[t],0)>-1;);return t}function Xr(n,r){for(var t=n.length;t--&&Fr(r,n[t],0)>-1;);return t}function nt(n,r){for(var t=n.length,e=0;t--;)n[t]===r&&++e;return e}var rt=Kr({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tt=Kr({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function et(n){return"\\"+or[n]}function ut(n){return nr.test(n)}function it(n){var r=-1,t=Array(n.size);return n.forEach((function(n,e){t[++r]=[e,n]})),t}function ot(n,r){return function(t){return n(r(t))}}function ct(n,r){for(var t=-1,e=n.length,u=0,o=[];++t<e;){var c=n[t];c!==r&&c!==i||(n[t]=i,o[u++]=t)}return o}function ft(n){var r=-1,t=Array(n.size);return n.forEach((function(n){t[++r]=n})),t}function at(n){var r=-1,t=Array(n.size);return n.forEach((function(n){t[++r]=[n,n]})),t}function lt(n){return ut(n)?function(n){for(var r=Qn.lastIndex=0;Qn.test(n);)++r;return r}(n):Cr(n)}function st(n){return ut(n)?function(n){return n.match(Qn)||[]}(n):function(n){return n.split("")}(n)}function vt(n){for(var r=n.length;r--&&en.test(n.charAt(r)););return r}var pt=Kr({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),ht=function n(r){var o,en=(r=null==r?sr:ht.defaults(sr.Object(),r,ht.pick(sr,tr))).Array,wn=r.Date,yn=r.Error,zn=r.Function,jn=r.Math,kn=r.Object,An=r.RegExp,In=r.String,Rn=r.TypeError,En=en.prototype,$n=kn.prototype,Mn=r["__core-js_shared__"],Un=zn.prototype.toString,Sn=$n.hasOwnProperty,Dn=0,On=(o=/[^.]+$/.exec(Mn&&Mn.keys&&Mn.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",Cn=$n.toString,Nn=Un.call(kn),Tn=sr._,Fn=An("^"+Un.call(Sn).replace(nn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ln=hr?r.Buffer:t,Zn=r.Symbol,Wn=r.Uint8Array,Hn=Ln?Ln.allocUnsafe:t,Kn=ot(kn.getPrototypeOf,kn),Bn=kn.create,Pn=$n.propertyIsEnumerable,qn=En.splice,Gn=Zn?Zn.isConcatSpreadable:t,Vn=Zn?Zn.iterator:t,Qn=Zn?Zn.toStringTag:t,nr=function(){try{var n=fi(kn,"defineProperty");return n({},"",{}),n}catch(n){}}(),or=r.clearTimeout!==sr.clearTimeout&&r.clearTimeout,ar=wn&&wn.now!==sr.Date.now&&wn.now,lr=r.setTimeout!==sr.setTimeout&&r.setTimeout,vr=jn.ceil,pr=jn.floor,br=kn.getOwnPropertySymbols,mr=Ln?Ln.isBuffer:t,Cr=r.isFinite,Kr=En.join,bt=ot(kn.keys,kn),mt=jn.max,dt=jn.min,gt=wn.now,xt=r.parseInt,_t=jn.random,wt=En.reverse,yt=fi(r,"DataView"),zt=fi(r,"Map"),jt=fi(r,"Promise"),kt=fi(r,"Set"),At=fi(r,"WeakMap"),It=fi(kn,"create"),Rt=At&&new At,Et={},$t=Ni(yt),Mt=Ni(zt),Ut=Ni(jt),St=Ni(kt),Dt=Ni(At),Ot=Zn?Zn.prototype:t,Ct=Ot?Ot.valueOf:t,Nt=Ot?Ot.toString:t;function Tt(n){if(rc(n)&&!Ko(n)&&!(n instanceof Wt)){if(n instanceof Zt)return n;if(Sn.call(n,"__wrapped__"))return Ti(n)}return new Zt(n)}var Ft=function(){function n(){}return function(r){if(!nc(r))return{};if(Bn)return Bn(r);n.prototype=r;var e=new n;return n.prototype=t,e}}();function Lt(){}function Zt(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function Wt(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Ht(n){var r=-1,t=null==n?0:n.length;for(this.clear();++r<t;){var e=n[r];this.set(e[0],e[1])}}function Kt(n){var r=-1,t=null==n?0:n.length;for(this.clear();++r<t;){var e=n[r];this.set(e[0],e[1])}}function Bt(n){var r=-1,t=null==n?0:n.length;for(this.clear();++r<t;){var e=n[r];this.set(e[0],e[1])}}function Pt(n){var r=-1,t=null==n?0:n.length;for(this.__data__=new Bt;++r<t;)this.add(n[r])}function qt(n){var r=this.__data__=new Kt(n);this.size=r.size}function Gt(n,r){var t=Ko(n),e=!t&&Ho(n),u=!t&&!e&&Go(n),i=!t&&!e&&!u&&ac(n),o=t||e||u||i,c=o?qr(n.length,In):[],f=c.length;for(var a in n)!r&&!Sn.call(n,a)||o&&("length"==a||u&&("offset"==a||"parent"==a)||i&&("buffer"==a||"byteLength"==a||"byteOffset"==a)||bi(a,f))||c.push(a);return c}function Vt(n){var r=n.length;return r?n[Be(0,r-1)]:t}function Yt(n,r){return Ui(Au(n),ie(r,0,n.length))}function Jt(n){return Ui(Au(n))}function Qt(n,r,e){(e!==t&&!Lo(n[r],e)||e===t&&!(r in n))&&ee(n,r,e)}function Xt(n,r,e){var u=n[r];Sn.call(n,r)&&Lo(u,e)&&(e!==t||r in n)||ee(n,r,e)}function ne(n,r){for(var t=n.length;t--;)if(Lo(n[t][0],r))return t;return-1}function re(n,r,t,e){return le(n,(function(n,u,i){r(e,n,t(n),i)})),e}function te(n,r){return n&&Iu(r,Mc(r),n)}function ee(n,r,t){"__proto__"==r&&nr?nr(n,r,{configurable:!0,enumerable:!0,value:t,writable:!0}):n[r]=t}function ue(n,r){for(var e=-1,u=r.length,i=en(u),o=null==n;++e<u;)i[e]=o?t:Ac(n,r[e]);return i}function ie(n,r,e){return n==n&&(e!==t&&(n=n<=e?n:e),r!==t&&(n=n>=r?n:r)),n}function oe(n,r,e,u,i,o){var c,f=1&r,a=2&r,l=4&r;if(e&&(c=i?e(n,u,i,o):e(n)),c!==t)return c;if(!nc(n))return n;var s=Ko(n);if(s){if(c=function(n){var r=n.length,t=new n.constructor(r);return r&&"string"==typeof n[0]&&Sn.call(n,"index")&&(t.index=n.index,t.input=n.input),t}(n),!f)return Au(n,c)}else{var v=si(n),p=v==x||v==_;if(Go(n))return _u(n,f);if(v==z||v==h||p&&!i){if(c=a||p?{}:pi(n),!f)return a?function(n,r){return Iu(n,li(n),r)}(n,function(n,r){return n&&Iu(r,Uc(r),n)}(c,n)):function(n,r){return Iu(n,ai(n),r)}(n,te(c,n))}else{if(!ir[v])return i?n:{};c=function(n,r,t){var e=n.constructor;switch(r){case $:return wu(n);case m:case d:return new e(+n);case M:return function(n,r){var t=r?wu(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}(n,t);case U:case S:case D:case O:case C:case N:case T:case F:case L:return yu(n,t);case w:return new e;case y:case I:return new e(n);case k:return function(n){var r=new n.constructor(n.source,vn.exec(n));return r.lastIndex=n.lastIndex,r}(n);case A:return new e;case R:return Ct?kn(Ct.call(n)):{}}}(n,v,f)}}o||(o=new qt);var b=o.get(n);if(b)return b;o.set(n,c),oc(n)?n.forEach((function(t){c.add(oe(t,r,e,t,n,o))})):tc(n)&&n.forEach((function(t,u){c.set(u,oe(t,r,e,u,n,o))}));var g=s?t:(l?a?ri:ni:a?Uc:Mc)(n);return kr(g||n,(function(t,u){g&&(t=n[u=t]),Xt(c,u,oe(t,r,e,u,n,o))})),c}function ce(n,r,e){var u=e.length;if(null==n)return!u;for(n=kn(n);u--;){var i=e[u],o=n[i];if(o===t&&!(i in n)||!(0,r[i])(o))return!1}return!0}function fe(n,r,u){if("function"!=typeof n)throw new Rn(e);return Ri((function(){n.apply(t,u)}),r)}function ae(n,r,t,e){var u=-1,i=Er,o=!0,c=n.length,f=[],a=r.length;if(!c)return f;t&&(r=Mr(r,Vr(t))),e?(i=$r,o=!1):r.length>=200&&(i=Jr,o=!1,r=new Pt(r));n:for(;++u<c;){var l=n[u],s=null==t?l:t(l);if(l=e||0!==l?l:0,o&&s==s){for(var v=a;v--;)if(r[v]===s)continue n;f.push(l)}else i(r,s,e)||f.push(l)}return f}Tt.templateSettings={escape:G,evaluate:V,interpolate:Y,variable:"",imports:{_:Tt}},(Tt.prototype=Lt.prototype).constructor=Tt,(Zt.prototype=Ft(Lt.prototype)).constructor=Zt,(Wt.prototype=Ft(Lt.prototype)).constructor=Wt,Ht.prototype.clear=function(){this.__data__=It?It(null):{},this.size=0},Ht.prototype.delete=function(n){var r=this.has(n)&&delete this.__data__[n];return this.size-=r?1:0,r},Ht.prototype.get=function(n){var r=this.__data__;if(It){var e=r[n];return e===u?t:e}return Sn.call(r,n)?r[n]:t},Ht.prototype.has=function(n){var r=this.__data__;return It?r[n]!==t:Sn.call(r,n)},Ht.prototype.set=function(n,r){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=It&&r===t?u:r,this},Kt.prototype.clear=function(){this.__data__=[],this.size=0},Kt.prototype.delete=function(n){var r=this.__data__,t=ne(r,n);return!(t<0||(t==r.length-1?r.pop():qn.call(r,t,1),--this.size,0))},Kt.prototype.get=function(n){var r=this.__data__,e=ne(r,n);return e<0?t:r[e][1]},Kt.prototype.has=function(n){return ne(this.__data__,n)>-1},Kt.prototype.set=function(n,r){var t=this.__data__,e=ne(t,n);return e<0?(++this.size,t.push([n,r])):t[e][1]=r,this},Bt.prototype.clear=function(){this.size=0,this.__data__={hash:new Ht,map:new(zt||Kt),string:new Ht}},Bt.prototype.delete=function(n){var r=oi(this,n).delete(n);return this.size-=r?1:0,r},Bt.prototype.get=function(n){return oi(this,n).get(n)},Bt.prototype.has=function(n){return oi(this,n).has(n)},Bt.prototype.set=function(n,r){var t=oi(this,n),e=t.size;return t.set(n,r),this.size+=t.size==e?0:1,this},Pt.prototype.add=Pt.prototype.push=function(n){return this.__data__.set(n,u),this},Pt.prototype.has=function(n){return this.__data__.has(n)},qt.prototype.clear=function(){this.__data__=new Kt,this.size=0},qt.prototype.delete=function(n){var r=this.__data__,t=r.delete(n);return this.size=r.size,t},qt.prototype.get=function(n){return this.__data__.get(n)},qt.prototype.has=function(n){return this.__data__.has(n)},qt.prototype.set=function(n,r){var t=this.__data__;if(t instanceof Kt){var e=t.__data__;if(!zt||e.length<199)return e.push([n,r]),this.size=++t.size,this;t=this.__data__=new Bt(e)}return t.set(n,r),this.size=t.size,this};var le=$u(ge),se=$u(xe,!0);function ve(n,r){var t=!0;return le(n,(function(n,e,u){return t=!!r(n,e,u)})),t}function pe(n,r,e){for(var u=-1,i=n.length;++u<i;){var o=n[u],c=r(o);if(null!=c&&(f===t?c==c&&!fc(c):e(c,f)))var f=c,a=o}return a}function he(n,r){var t=[];return le(n,(function(n,e,u){r(n,e,u)&&t.push(n)})),t}function be(n,r,t,e,u){var i=-1,o=n.length;for(t||(t=hi),u||(u=[]);++i<o;){var c=n[i];r>0&&t(c)?r>1?be(c,r-1,t,e,u):Ur(u,c):e||(u[u.length]=c)}return u}var me=Mu(),de=Mu(!0);function ge(n,r){return n&&me(n,r,Mc)}function xe(n,r){return n&&de(n,r,Mc)}function _e(n,r){return Rr(r,(function(r){return Jo(n[r])}))}function we(n,r){for(var e=0,u=(r=mu(r,n)).length;null!=n&&e<u;)n=n[Ci(r[e++])];return e&&e==u?n:t}function ye(n,r,t){var e=r(n);return Ko(n)?e:Ur(e,t(n))}function ze(n){return null==n?n===t?"[object Undefined]":"[object Null]":Qn&&Qn in kn(n)?function(n){var r=Sn.call(n,Qn),e=n[Qn];try{n[Qn]=t;var u=!0}catch(n){}var i=Cn.call(n);return u&&(r?n[Qn]=e:delete n[Qn]),i}(n):function(n){return Cn.call(n)}(n)}function je(n,r){return n>r}function ke(n,r){return null!=n&&Sn.call(n,r)}function Ae(n,r){return null!=n&&r in kn(n)}function Ie(n,r,e){for(var u=e?$r:Er,i=n[0].length,o=n.length,c=o,f=en(o),a=1/0,l=[];c--;){var s=n[c];c&&r&&(s=Mr(s,Vr(r))),a=dt(s.length,a),f[c]=!e&&(r||i>=120&&s.length>=120)?new Pt(c&&s):t}s=n[0];var v=-1,p=f[0];n:for(;++v<i&&l.length<a;){var h=s[v],b=r?r(h):h;if(h=e||0!==h?h:0,!(p?Jr(p,b):u(l,b,e))){for(c=o;--c;){var m=f[c];if(!(m?Jr(m,b):u(n[c],b,e)))continue n}p&&p.push(b),l.push(h)}}return l}function Re(n,r,e){var u=null==(n=ji(n,r=mu(r,n)))?n:n[Ci(Vi(r))];return null==u?t:zr(u,n,e)}function Ee(n){return rc(n)&&ze(n)==h}function $e(n,r,e,u,i){return n===r||(null==n||null==r||!rc(n)&&!rc(r)?n!=n&&r!=r:function(n,r,e,u,i,o){var c=Ko(n),f=Ko(r),a=c?b:si(n),l=f?b:si(r),s=(a=a==h?z:a)==z,v=(l=l==h?z:l)==z,p=a==l;if(p&&Go(n)){if(!Go(r))return!1;c=!0,s=!1}if(p&&!s)return o||(o=new qt),c||ac(n)?Qu(n,r,e,u,i,o):function(n,r,t,e,u,i,o){switch(t){case M:if(n.byteLength!=r.byteLength||n.byteOffset!=r.byteOffset)return!1;n=n.buffer,r=r.buffer;case $:return!(n.byteLength!=r.byteLength||!i(new Wn(n),new Wn(r)));case m:case d:case y:return Lo(+n,+r);case g:return n.name==r.name&&n.message==r.message;case k:case I:return n==r+"";case w:var c=it;case A:if(c||(c=ft),n.size!=r.size&&!(1&e))return!1;var f=o.get(n);if(f)return f==r;e|=2,o.set(n,r);var a=Qu(c(n),c(r),e,u,i,o);return o.delete(n),a;case R:if(Ct)return Ct.call(n)==Ct.call(r)}return!1}(n,r,a,e,u,i,o);if(!(1&e)){var x=s&&Sn.call(n,"__wrapped__"),_=v&&Sn.call(r,"__wrapped__");if(x||_){var j=x?n.value():n,E=_?r.value():r;return o||(o=new qt),i(j,E,e,u,o)}}return!!p&&(o||(o=new qt),function(n,r,e,u,i,o){var c=1&e,f=ni(n),a=f.length;if(a!=ni(r).length&&!c)return!1;for(var l=a;l--;){var s=f[l];if(!(c?s in r:Sn.call(r,s)))return!1}var v=o.get(n),p=o.get(r);if(v&&p)return v==r&&p==n;var h=!0;o.set(n,r),o.set(r,n);for(var b=c;++l<a;){var m=n[s=f[l]],d=r[s];if(u)var g=c?u(d,m,s,r,n,o):u(m,d,s,n,r,o);if(!(g===t?m===d||i(m,d,e,u,o):g)){h=!1;break}b||(b="constructor"==s)}if(h&&!b){var x=n.constructor,_=r.constructor;x==_||!("constructor"in n)||!("constructor"in r)||"function"==typeof x&&x instanceof x&&"function"==typeof _&&_ instanceof _||(h=!1)}return o.delete(n),o.delete(r),h}(n,r,e,u,i,o))}(n,r,e,u,$e,i))}function Me(n,r,e,u){var i=e.length,o=i,c=!u;if(null==n)return!o;for(n=kn(n);i--;){var f=e[i];if(c&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++i<o;){var a=(f=e[i])[0],l=n[a],s=f[1];if(c&&f[2]){if(l===t&&!(a in n))return!1}else{var v=new qt;if(u)var p=u(l,s,a,n,r,v);if(!(p===t?$e(s,l,3,u,v):p))return!1}}return!0}function Ue(n){return!(!nc(n)||(r=n,On&&On in r))&&(Jo(n)?Fn:bn).test(Ni(n));var r}function Se(n){return"function"==typeof n?n:null==n?ef:"object"==typeof n?Ko(n)?Te(n[0],n[1]):Ne(n):pf(n)}function De(n){if(!_i(n))return bt(n);var r=[];for(var t in kn(n))Sn.call(n,t)&&"constructor"!=t&&r.push(t);return r}function Oe(n,r){return n<r}function Ce(n,r){var t=-1,e=Po(n)?en(n.length):[];return le(n,(function(n,u,i){e[++t]=r(n,u,i)})),e}function Ne(n){var r=ci(n);return 1==r.length&&r[0][2]?yi(r[0][0],r[0][1]):function(t){return t===n||Me(t,n,r)}}function Te(n,r){return di(n)&&wi(r)?yi(Ci(n),r):function(e){var u=Ac(e,n);return u===t&&u===r?Ic(e,n):$e(r,u,3)}}function Fe(n,r,e,u,i){n!==r&&me(r,(function(o,c){if(i||(i=new qt),nc(o))!function(n,r,e,u,i,o,c){var f=Ai(n,e),a=Ai(r,e),l=c.get(a);if(l)Qt(n,e,l);else{var s=o?o(f,a,e+"",n,r,c):t,v=s===t;if(v){var p=Ko(a),h=!p&&Go(a),b=!p&&!h&&ac(a);s=a,p||h||b?Ko(f)?s=f:qo(f)?s=Au(f):h?(v=!1,s=_u(a,!0)):b?(v=!1,s=yu(a,!0)):s=[]:uc(a)||Ho(a)?(s=f,Ho(f)?s=dc(f):nc(f)&&!Jo(f)||(s=pi(a))):v=!1}v&&(c.set(a,s),i(s,a,u,o,c),c.delete(a)),Qt(n,e,s)}}(n,r,c,e,Fe,u,i);else{var f=u?u(Ai(n,c),o,c+"",n,r,i):t;f===t&&(f=o),Qt(n,c,f)}}),Uc)}function Le(n,r){var e=n.length;if(e)return bi(r+=r<0?e:0,e)?n[r]:t}function Ze(n,r,t){r=r.length?Mr(r,(function(n){return Ko(n)?function(r){return we(r,1===n.length?n[0]:n)}:n})):[ef];var e=-1;r=Mr(r,Vr(ii()));var u=Ce(n,(function(n){var t=Mr(r,(function(r){return r(n)}));return{criteria:t,index:++e,value:n}}));return function(n){var r=n.length;for(n.sort((function(n,r){return function(n,r,t){for(var e=-1,u=n.criteria,i=r.criteria,o=u.length,c=t.length;++e<o;){var f=zu(u[e],i[e]);if(f)return e>=c?f:f*("desc"==t[e]?-1:1)}return n.index-r.index}(n,r,t)}));r--;)n[r]=n[r].value;return n}(u)}function We(n,r,t){for(var e=-1,u=r.length,i={};++e<u;){var o=r[e],c=we(n,o);t(c,o)&&Ye(i,mu(o,n),c)}return i}function He(n,r,t,e){var u=e?Lr:Fr,i=-1,o=r.length,c=n;for(n===r&&(r=Au(r)),t&&(c=Mr(n,Vr(t)));++i<o;)for(var f=0,a=r[i],l=t?t(a):a;(f=u(c,l,f,e))>-1;)c!==n&&qn.call(c,f,1),qn.call(n,f,1);return n}function Ke(n,r){for(var t=n?r.length:0,e=t-1;t--;){var u=r[t];if(t==e||u!==i){var i=u;bi(u)?qn.call(n,u,1):fu(n,u)}}return n}function Be(n,r){return n+pr(_t()*(r-n+1))}function Pe(n,r){var t="";if(!n||r<1||r>l)return t;do{r%2&&(t+=n),(r=pr(r/2))&&(n+=n)}while(r);return t}function qe(n,r){return Ei(zi(n,r,ef),n+"")}function Ge(n){return Vt(Lc(n))}function Ve(n,r){var t=Lc(n);return Ui(t,ie(r,0,t.length))}function Ye(n,r,e,u){if(!nc(n))return n;for(var i=-1,o=(r=mu(r,n)).length,c=o-1,f=n;null!=f&&++i<o;){var a=Ci(r[i]),l=e;if("__proto__"===a||"constructor"===a||"prototype"===a)return n;if(i!=c){var s=f[a];(l=u?u(s,a,f):t)===t&&(l=nc(s)?s:bi(r[i+1])?[]:{})}Xt(f,a,l),f=f[a]}return n}var Je=Rt?function(n,r){return Rt.set(n,r),n}:ef,Qe=nr?function(n,r){return nr(n,"toString",{configurable:!0,enumerable:!1,value:nf(r),writable:!0})}:ef;function Xe(n){return Ui(Lc(n))}function nu(n,r,t){var e=-1,u=n.length;r<0&&(r=-r>u?0:u+r),(t=t>u?u:t)<0&&(t+=u),u=r>t?0:t-r>>>0,r>>>=0;for(var i=en(u);++e<u;)i[e]=n[e+r];return i}function ru(n,r){var t;return le(n,(function(n,e,u){return!(t=r(n,e,u))})),!!t}function tu(n,r,t){var e=0,u=null==n?e:n.length;if("number"==typeof r&&r==r&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!fc(o)&&(t?o<=r:o<r)?e=i+1:u=i}return u}return eu(n,r,ef,t)}function eu(n,r,e,u){var i=0,o=null==n?0:n.length;if(0===o)return 0;for(var c=(r=e(r))!=r,f=null===r,a=fc(r),l=r===t;i<o;){var s=pr((i+o)/2),v=e(n[s]),p=v!==t,h=null===v,b=v==v,m=fc(v);if(c)var d=u||b;else d=l?b&&(u||p):f?b&&p&&(u||!h):a?b&&p&&!h&&(u||!m):!h&&!m&&(u?v<=r:v<r);d?i=s+1:o=s}return dt(o,4294967294)}function uu(n,r){for(var t=-1,e=n.length,u=0,i=[];++t<e;){var o=n[t],c=r?r(o):o;if(!t||!Lo(c,f)){var f=c;i[u++]=0===o?0:o}}return i}function iu(n){return"number"==typeof n?n:fc(n)?s:+n}function ou(n){if("string"==typeof n)return n;if(Ko(n))return Mr(n,ou)+"";if(fc(n))return Nt?Nt.call(n):"";var r=n+"";return"0"==r&&1/n==-1/0?"-0":r}function cu(n,r,t){var e=-1,u=Er,i=n.length,o=!0,c=[],f=c;if(t)o=!1,u=$r;else if(i>=200){var a=r?null:Pu(n);if(a)return ft(a);o=!1,u=Jr,f=new Pt}else f=r?[]:c;n:for(;++e<i;){var l=n[e],s=r?r(l):l;if(l=t||0!==l?l:0,o&&s==s){for(var v=f.length;v--;)if(f[v]===s)continue n;r&&f.push(s),c.push(l)}else u(f,s,t)||(f!==c&&f.push(s),c.push(l))}return c}function fu(n,r){return null==(n=ji(n,r=mu(r,n)))||delete n[Ci(Vi(r))]}function au(n,r,t,e){return Ye(n,r,t(we(n,r)),e)}function lu(n,r,t,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&r(n[i],i,n););return t?nu(n,e?0:i,e?i+1:u):nu(n,e?i+1:0,e?u:i)}function su(n,r){var t=n;return t instanceof Wt&&(t=t.value()),Sr(r,(function(n,r){return r.func.apply(r.thisArg,Ur([n],r.args))}),t)}function vu(n,r,t){var e=n.length;if(e<2)return e?cu(n[0]):[];for(var u=-1,i=en(e);++u<e;)for(var o=n[u],c=-1;++c<e;)c!=u&&(i[u]=ae(i[u]||o,n[c],r,t));return cu(be(i,1),r,t)}function pu(n,r,e){for(var u=-1,i=n.length,o=r.length,c={};++u<i;)e(c,n[u],u<o?r[u]:t);return c}function hu(n){return qo(n)?n:[]}function bu(n){return"function"==typeof n?n:ef}function mu(n,r){return Ko(n)?n:di(n,r)?[n]:Oi(gc(n))}var du=qe;function gu(n,r,e){var u=n.length;return e=e===t?u:e,!r&&e>=u?n:nu(n,r,e)}var xu=or||function(n){return sr.clearTimeout(n)};function _u(n,r){if(r)return n.slice();var t=n.length,e=Hn?Hn(t):new n.constructor(t);return n.copy(e),e}function wu(n){var r=new n.constructor(n.byteLength);return new Wn(r).set(new Wn(n)),r}function yu(n,r){var t=r?wu(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}function zu(n,r){if(n!==r){var e=n!==t,u=null===n,i=n==n,o=fc(n),c=r!==t,f=null===r,a=r==r,l=fc(r);if(!f&&!l&&!o&&n>r||o&&c&&a&&!f&&!l||u&&c&&a||!e&&a||!i)return 1;if(!u&&!o&&!l&&n<r||l&&e&&i&&!u&&!o||f&&e&&i||!c&&i||!a)return-1}return 0}function ju(n,r,t,e){for(var u=-1,i=n.length,o=t.length,c=-1,f=r.length,a=mt(i-o,0),l=en(f+a),s=!e;++c<f;)l[c]=r[c];for(;++u<o;)(s||u<i)&&(l[t[u]]=n[u]);for(;a--;)l[c++]=n[u++];return l}function ku(n,r,t,e){for(var u=-1,i=n.length,o=-1,c=t.length,f=-1,a=r.length,l=mt(i-c,0),s=en(l+a),v=!e;++u<l;)s[u]=n[u];for(var p=u;++f<a;)s[p+f]=r[f];for(;++o<c;)(v||u<i)&&(s[p+t[o]]=n[u++]);return s}function Au(n,r){var t=-1,e=n.length;for(r||(r=en(e));++t<e;)r[t]=n[t];return r}function Iu(n,r,e,u){var i=!e;e||(e={});for(var o=-1,c=r.length;++o<c;){var f=r[o],a=u?u(e[f],n[f],f,e,n):t;a===t&&(a=n[f]),i?ee(e,f,a):Xt(e,f,a)}return e}function Ru(n,r){return function(t,e){var u=Ko(t)?jr:re,i=r?r():{};return u(t,n,ii(e,2),i)}}function Eu(n){return qe((function(r,e){var u=-1,i=e.length,o=i>1?e[i-1]:t,c=i>2?e[2]:t;for(o=n.length>3&&"function"==typeof o?(i--,o):t,c&&mi(e[0],e[1],c)&&(o=i<3?t:o,i=1),r=kn(r);++u<i;){var f=e[u];f&&n(r,f,u,o)}return r}))}function $u(n,r){return function(t,e){if(null==t)return t;if(!Po(t))return n(t,e);for(var u=t.length,i=r?u:-1,o=kn(t);(r?i--:++i<u)&&!1!==e(o[i],i,o););return t}}function Mu(n){return function(r,t,e){for(var u=-1,i=kn(r),o=e(r),c=o.length;c--;){var f=o[n?c:++u];if(!1===t(i[f],f,i))break}return r}}function Uu(n){return function(r){var e=ut(r=gc(r))?st(r):t,u=e?e[0]:r.charAt(0),i=e?gu(e,1).join(""):r.slice(1);return u[n]()+i}}function Su(n){return function(r){return Sr(Jc(Hc(r).replace(Yn,"")),n,"")}}function Du(n){return function(){var r=arguments;switch(r.length){case 0:return new n;case 1:return new n(r[0]);case 2:return new n(r[0],r[1]);case 3:return new n(r[0],r[1],r[2]);case 4:return new n(r[0],r[1],r[2],r[3]);case 5:return new n(r[0],r[1],r[2],r[3],r[4]);case 6:return new n(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new n(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var t=Ft(n.prototype),e=n.apply(t,r);return nc(e)?e:t}}function Ou(n){return function(r,e,u){var i=kn(r);if(!Po(r)){var o=ii(e,3);r=Mc(r),e=function(n){return o(i[n],n,i)}}var c=n(r,e,u);return c>-1?i[o?r[c]:c]:t}}function Cu(n){return Xu((function(r){var u=r.length,i=u,o=Zt.prototype.thru;for(n&&r.reverse();i--;){var c=r[i];if("function"!=typeof c)throw new Rn(e);if(o&&!f&&"wrapper"==ei(c))var f=new Zt([],!0)}for(i=f?i:u;++i<u;){var a=ei(c=r[i]),l="wrapper"==a?ti(c):t;f=l&&gi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?f[ei(l[0])].apply(f,l[3]):1==c.length&&gi(c)?f[a]():f.thru(c)}return function(){var n=arguments,t=n[0];if(f&&1==n.length&&Ko(t))return f.plant(t).value();for(var e=0,i=u?r[e].apply(this,n):t;++e<u;)i=r[e].call(this,i);return i}}))}function Nu(n,r,e,u,i,o,c,a,l,s){var v=r&f,p=1&r,h=2&r,b=24&r,m=512&r,d=h?t:Du(n);return function t(){for(var f=arguments.length,g=en(f),x=f;x--;)g[x]=arguments[x];if(b)var _=ui(t),w=nt(g,_);if(u&&(g=ju(g,u,i,b)),o&&(g=ku(g,o,c,b)),f-=w,b&&f<s){var y=ct(g,_);return Ku(n,r,Nu,t.placeholder,e,g,y,a,l,s-f)}var z=p?e:this,j=h?z[n]:n;return f=g.length,a?g=ki(g,a):m&&f>1&&g.reverse(),v&&l<f&&(g.length=l),this&&this!==sr&&this instanceof t&&(j=d||Du(j)),j.apply(z,g)}}function Tu(n,r){return function(t,e){return function(n,r,t,e){return ge(n,(function(n,u,i){r(e,t(n),u,i)})),e}(t,n,r(e),{})}}function Fu(n,r){return function(e,u){var i;if(e===t&&u===t)return r;if(e!==t&&(i=e),u!==t){if(i===t)return u;"string"==typeof e||"string"==typeof u?(e=ou(e),u=ou(u)):(e=iu(e),u=iu(u)),i=n(e,u)}return i}}function Lu(n){return Xu((function(r){return r=Mr(r,Vr(ii())),qe((function(t){var e=this;return n(r,(function(n){return zr(n,e,t)}))}))}))}function Zu(n,r){var e=(r=r===t?" ":ou(r)).length;if(e<2)return e?Pe(r,n):r;var u=Pe(r,vr(n/lt(r)));return ut(r)?gu(st(u),0,n).join(""):u.slice(0,n)}function Wu(n){return function(r,e,u){return u&&"number"!=typeof u&&mi(r,e,u)&&(e=u=t),r=pc(r),e===t?(e=r,r=0):e=pc(e),function(n,r,t,e){for(var u=-1,i=mt(vr((r-n)/(t||1)),0),o=en(i);i--;)o[e?i:++u]=n,n+=t;return o}(r,e,u=u===t?r<e?1:-1:pc(u),n)}}function Hu(n){return function(r,t){return"string"==typeof r&&"string"==typeof t||(r=mc(r),t=mc(t)),n(r,t)}}function Ku(n,r,e,u,i,o,f,a,l,s){var v=8&r;r|=v?c:64,4&(r&=~(v?64:c))||(r&=-4);var p=[n,r,i,v?o:t,v?f:t,v?t:o,v?t:f,a,l,s],h=e.apply(t,p);return gi(n)&&Ii(h,p),h.placeholder=u,$i(h,n,r)}function Bu(n){var r=jn[n];return function(n,t){if(n=mc(n),(t=null==t?0:dt(hc(t),292))&&Cr(n)){var e=(gc(n)+"e").split("e");return+((e=(gc(r(e[0]+"e"+(+e[1]+t)))+"e").split("e"))[0]+"e"+(+e[1]-t))}return r(n)}}var Pu=kt&&1/ft(new kt([,-0]))[1]==a?function(n){return new kt(n)}:af;function qu(n){return function(r){var t=si(r);return t==w?it(r):t==A?at(r):function(n,r){return Mr(r,(function(r){return[r,n[r]]}))}(r,n(r))}}function Gu(n,r,u,o,a,l,s,v){var p=2&r;if(!p&&"function"!=typeof n)throw new Rn(e);var h=o?o.length:0;if(h||(r&=-97,o=a=t),s=s===t?s:mt(hc(s),0),v=v===t?v:hc(v),h-=a?a.length:0,64&r){var b=o,m=a;o=a=t}var d=p?t:ti(n),g=[n,r,u,o,a,b,m,l,s,v];if(d&&function(n,r){var t=n[1],e=r[1],u=t|e;if(!(u<131||(e==f&&8==t||e==f&&256==t&&n[7].length<=r[8]||384==e&&r[7].length<=r[8]&&8==t)))return n;1&e&&(n[2]=r[2],u|=1&t?0:4);var o=r[3];if(o){var c=n[3];n[3]=c?ju(c,o,r[4]):o,n[4]=c?ct(n[3],i):r[4]}(o=r[5])&&(n[5]=(c=n[5])?ku(c,o,r[6]):o,n[6]=c?ct(n[5],i):r[6]),(o=r[7])&&(n[7]=o),e&f&&(n[8]=null==n[8]?r[8]:dt(n[8],r[8])),null==n[9]&&(n[9]=r[9]),n[0]=r[0],n[1]=u}(g,d),n=g[0],r=g[1],u=g[2],o=g[3],a=g[4],!(v=g[9]=g[9]===t?p?0:n.length:mt(g[9]-h,0))&&24&r&&(r&=-25),r&&1!=r)x=8==r||16==r?function(n,r,e){var u=Du(n);return function i(){for(var o=arguments.length,c=en(o),f=o,a=ui(i);f--;)c[f]=arguments[f];var l=o<3&&c[0]!==a&&c[o-1]!==a?[]:ct(c,a);return(o-=l.length)<e?Ku(n,r,Nu,i.placeholder,t,c,l,t,t,e-o):zr(this&&this!==sr&&this instanceof i?u:n,this,c)}}(n,r,v):r!=c&&33!=r||a.length?Nu.apply(t,g):function(n,r,t,e){var u=1&r,i=Du(n);return function r(){for(var o=-1,c=arguments.length,f=-1,a=e.length,l=en(a+c),s=this&&this!==sr&&this instanceof r?i:n;++f<a;)l[f]=e[f];for(;c--;)l[f++]=arguments[++o];return zr(s,u?t:this,l)}}(n,r,u,o);else var x=function(n,r,t){var e=1&r,u=Du(n);return function r(){return(this&&this!==sr&&this instanceof r?u:n).apply(e?t:this,arguments)}}(n,r,u);return $i((d?Je:Ii)(x,g),n,r)}function Vu(n,r,e,u){return n===t||Lo(n,$n[e])&&!Sn.call(u,e)?r:n}function Yu(n,r,e,u,i,o){return nc(n)&&nc(r)&&(o.set(r,n),Fe(n,r,t,Yu,o),o.delete(r)),n}function Ju(n){return uc(n)?t:n}function Qu(n,r,e,u,i,o){var c=1&e,f=n.length,a=r.length;if(f!=a&&!(c&&a>f))return!1;var l=o.get(n),s=o.get(r);if(l&&s)return l==r&&s==n;var v=-1,p=!0,h=2&e?new Pt:t;for(o.set(n,r),o.set(r,n);++v<f;){var b=n[v],m=r[v];if(u)var d=c?u(m,b,v,r,n,o):u(b,m,v,n,r,o);if(d!==t){if(d)continue;p=!1;break}if(h){if(!Or(r,(function(n,r){if(!Jr(h,r)&&(b===n||i(b,n,e,u,o)))return h.push(r)}))){p=!1;break}}else if(b!==m&&!i(b,m,e,u,o)){p=!1;break}}return o.delete(n),o.delete(r),p}function Xu(n){return Ei(zi(n,t,Ki),n+"")}function ni(n){return ye(n,Mc,ai)}function ri(n){return ye(n,Uc,li)}var ti=Rt?function(n){return Rt.get(n)}:af;function ei(n){for(var r=n.name+"",t=Et[r],e=Sn.call(Et,r)?t.length:0;e--;){var u=t[e],i=u.func;if(null==i||i==n)return u.name}return r}function ui(n){return(Sn.call(Tt,"placeholder")?Tt:n).placeholder}function ii(){var n=Tt.iteratee||uf;return n=n===uf?Se:n,arguments.length?n(arguments[0],arguments[1]):n}function oi(n,r){var t,e,u=n.__data__;return("string"==(e=typeof(t=r))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t)?u["string"==typeof r?"string":"hash"]:u.map}function ci(n){for(var r=Mc(n),t=r.length;t--;){var e=r[t],u=n[e];r[t]=[e,u,wi(u)]}return r}function fi(n,r){var e=function(n,r){return null==n?t:n[r]}(n,r);return Ue(e)?e:t}var ai=br?function(n){return null==n?[]:(n=kn(n),Rr(br(n),(function(r){return Pn.call(n,r)})))}:mf,li=br?function(n){for(var r=[];n;)Ur(r,ai(n)),n=Kn(n);return r}:mf,si=ze;function vi(n,r,t){for(var e=-1,u=(r=mu(r,n)).length,i=!1;++e<u;){var o=Ci(r[e]);if(!(i=null!=n&&t(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&Xo(u)&&bi(o,u)&&(Ko(n)||Ho(n))}function pi(n){return"function"!=typeof n.constructor||_i(n)?{}:Ft(Kn(n))}function hi(n){return Ko(n)||Ho(n)||!!(Gn&&n&&n[Gn])}function bi(n,r){var t=typeof n;return!!(r=null==r?l:r)&&("number"==t||"symbol"!=t&&dn.test(n))&&n>-1&&n%1==0&&n<r}function mi(n,r,t){if(!nc(t))return!1;var e=typeof r;return!!("number"==e?Po(t)&&bi(r,t.length):"string"==e&&r in t)&&Lo(t[r],n)}function di(n,r){if(Ko(n))return!1;var t=typeof n;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=n&&!fc(n))||Q.test(n)||!J.test(n)||null!=r&&n in kn(r)}function gi(n){var r=ei(n),t=Tt[r];if("function"!=typeof t||!(r in Wt.prototype))return!1;if(n===t)return!0;var e=ti(t);return!!e&&n===e[0]}(yt&&si(new yt(new ArrayBuffer(1)))!=M||zt&&si(new zt)!=w||jt&&si(jt.resolve())!=j||kt&&si(new kt)!=A||At&&si(new At)!=E)&&(si=function(n){var r=ze(n),e=r==z?n.constructor:t,u=e?Ni(e):"";if(u)switch(u){case $t:return M;case Mt:return w;case Ut:return j;case St:return A;case Dt:return E}return r});var xi=Mn?Jo:df;function _i(n){var r=n&&n.constructor;return n===("function"==typeof r&&r.prototype||$n)}function wi(n){return n==n&&!nc(n)}function yi(n,r){return function(e){return null!=e&&e[n]===r&&(r!==t||n in kn(e))}}function zi(n,r,e){return r=mt(r===t?n.length-1:r,0),function(){for(var t=arguments,u=-1,i=mt(t.length-r,0),o=en(i);++u<i;)o[u]=t[r+u];u=-1;for(var c=en(r+1);++u<r;)c[u]=t[u];return c[r]=e(o),zr(n,this,c)}}function ji(n,r){return r.length<2?n:we(n,nu(r,0,-1))}function ki(n,r){for(var e=n.length,u=dt(r.length,e),i=Au(n);u--;){var o=r[u];n[u]=bi(o,e)?i[o]:t}return n}function Ai(n,r){if(("constructor"!==r||"function"!=typeof n[r])&&"__proto__"!=r)return n[r]}var Ii=Mi(Je),Ri=lr||function(n,r){return sr.setTimeout(n,r)},Ei=Mi(Qe);function $i(n,r,t){var e=r+"";return Ei(n,function(n,r){var t=r.length;if(!t)return n;var e=t-1;return r[e]=(t>1?"& ":"")+r[e],r=r.join(t>2?", ":" "),n.replace(un,"{\n/* [wrapped with "+r+"] */\n")}(e,function(n,r){return kr(p,(function(t){var e="_."+t[0];r&t[1]&&!Er(n,e)&&n.push(e)})),n.sort()}(function(n){var r=n.match(on);return r?r[1].split(cn):[]}(e),t)))}function Mi(n){var r=0,e=0;return function(){var u=gt(),i=16-(u-e);if(e=u,i>0){if(++r>=800)return arguments[0]}else r=0;return n.apply(t,arguments)}}function Ui(n,r){var e=-1,u=n.length,i=u-1;for(r=r===t?u:r;++e<r;){var o=Be(e,i),c=n[o];n[o]=n[e],n[e]=c}return n.length=r,n}var Si,Di,Oi=(Si=Do((function(n){var r=[];return 46===n.charCodeAt(0)&&r.push(""),n.replace(X,(function(n,t,e,u){r.push(e?u.replace(ln,"$1"):t||n)})),r}),(function(n){return 500===Di.size&&Di.clear(),n})),Di=Si.cache,Si);function Ci(n){if("string"==typeof n||fc(n))return n;var r=n+"";return"0"==r&&1/n==-1/0?"-0":r}function Ni(n){if(null!=n){try{return Un.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Ti(n){if(n instanceof Wt)return n.clone();var r=new Zt(n.__wrapped__,n.__chain__);return r.__actions__=Au(n.__actions__),r.__index__=n.__index__,r.__values__=n.__values__,r}var Fi=qe((function(n,r){return qo(n)?ae(n,be(r,1,qo,!0)):[]})),Li=qe((function(n,r){var e=Vi(r);return qo(e)&&(e=t),qo(n)?ae(n,be(r,1,qo,!0),ii(e,2)):[]})),Zi=qe((function(n,r){var e=Vi(r);return qo(e)&&(e=t),qo(n)?ae(n,be(r,1,qo,!0),t,e):[]}));function Wi(n,r,t){var e=null==n?0:n.length;if(!e)return-1;var u=null==t?0:hc(t);return u<0&&(u=mt(e+u,0)),Tr(n,ii(r,3),u)}function Hi(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u-1;return e!==t&&(i=hc(e),i=e<0?mt(u+i,0):dt(i,u-1)),Tr(n,ii(r,3),i,!0)}function Ki(n){return null!=n&&n.length?be(n,1):[]}function Bi(n){return n&&n.length?n[0]:t}var Pi=qe((function(n){var r=Mr(n,hu);return r.length&&r[0]===n[0]?Ie(r):[]})),qi=qe((function(n){var r=Vi(n),e=Mr(n,hu);return r===Vi(e)?r=t:e.pop(),e.length&&e[0]===n[0]?Ie(e,ii(r,2)):[]})),Gi=qe((function(n){var r=Vi(n),e=Mr(n,hu);return(r="function"==typeof r?r:t)&&e.pop(),e.length&&e[0]===n[0]?Ie(e,t,r):[]}));function Vi(n){var r=null==n?0:n.length;return r?n[r-1]:t}var Yi=qe(Ji);function Ji(n,r){return n&&n.length&&r&&r.length?He(n,r):n}var Qi=Xu((function(n,r){var t=null==n?0:n.length,e=ue(n,r);return Ke(n,Mr(r,(function(n){return bi(n,t)?+n:n})).sort(zu)),e}));function Xi(n){return null==n?n:wt.call(n)}var no=qe((function(n){return cu(be(n,1,qo,!0))})),ro=qe((function(n){var r=Vi(n);return qo(r)&&(r=t),cu(be(n,1,qo,!0),ii(r,2))})),to=qe((function(n){var r=Vi(n);return r="function"==typeof r?r:t,cu(be(n,1,qo,!0),t,r)}));function eo(n){if(!n||!n.length)return[];var r=0;return n=Rr(n,(function(n){if(qo(n))return r=mt(n.length,r),!0})),qr(r,(function(r){return Mr(n,Hr(r))}))}function uo(n,r){if(!n||!n.length)return[];var e=eo(n);return null==r?e:Mr(e,(function(n){return zr(r,t,n)}))}var io=qe((function(n,r){return qo(n)?ae(n,r):[]})),oo=qe((function(n){return vu(Rr(n,qo))})),co=qe((function(n){var r=Vi(n);return qo(r)&&(r=t),vu(Rr(n,qo),ii(r,2))})),fo=qe((function(n){var r=Vi(n);return r="function"==typeof r?r:t,vu(Rr(n,qo),t,r)})),ao=qe(eo),lo=qe((function(n){var r=n.length,e=r>1?n[r-1]:t;return e="function"==typeof e?(n.pop(),e):t,uo(n,e)}));function so(n){var r=Tt(n);return r.__chain__=!0,r}function vo(n,r){return r(n)}var po=Xu((function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(r){return ue(r,n)};return!(r>1||this.__actions__.length)&&u instanceof Wt&&bi(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:vo,args:[i],thisArg:t}),new Zt(u,this.__chain__).thru((function(n){return r&&!n.length&&n.push(t),n}))):this.thru(i)})),ho=Ru((function(n,r,t){Sn.call(n,t)?++n[t]:ee(n,t,1)})),bo=Ou(Wi),mo=Ou(Hi);function go(n,r){return(Ko(n)?kr:le)(n,ii(r,3))}function xo(n,r){return(Ko(n)?Ar:se)(n,ii(r,3))}var _o=Ru((function(n,r,t){Sn.call(n,t)?n[t].push(r):ee(n,t,[r])})),wo=qe((function(n,r,t){var e=-1,u="function"==typeof r,i=Po(n)?en(n.length):[];return le(n,(function(n){i[++e]=u?zr(r,n,t):Re(n,r,t)})),i})),yo=Ru((function(n,r,t){ee(n,t,r)}));function zo(n,r){return(Ko(n)?Mr:Ce)(n,ii(r,3))}var jo=Ru((function(n,r,t){n[t?0:1].push(r)}),(function(){return[[],[]]})),ko=qe((function(n,r){if(null==n)return[];var t=r.length;return t>1&&mi(n,r[0],r[1])?r=[]:t>2&&mi(r[0],r[1],r[2])&&(r=[r[0]]),Ze(n,be(r,1),[])})),Ao=ar||function(){return sr.Date.now()};function Io(n,r,e){return r=e?t:r,Gu(n,f,t,t,t,t,r=n&&null==r?n.length:r)}function Ro(n,r){var u;if("function"!=typeof r)throw new Rn(e);return n=hc(n),function(){return--n>0&&(u=r.apply(this,arguments)),n<=1&&(r=t),u}}var Eo=qe((function(n,r,t){var e=1;if(t.length){var u=ct(t,ui(Eo));e|=c}return Gu(n,e,r,t,u)})),$o=qe((function(n,r,t){var e=3;if(t.length){var u=ct(t,ui($o));e|=c}return Gu(r,e,n,t,u)}));function Mo(n,r,u){var i,o,c,f,a,l,s=0,v=!1,p=!1,h=!0;if("function"!=typeof n)throw new Rn(e);function b(r){var e=i,u=o;return i=o=t,s=r,f=n.apply(u,e)}function m(n){return s=n,a=Ri(g,r),v?b(n):f}function d(n){var e=n-l;return l===t||e>=r||e<0||p&&n-s>=c}function g(){var n=Ao();if(d(n))return x(n);a=Ri(g,function(n){var t=r-(n-l);return p?dt(t,c-(n-s)):t}(n))}function x(n){return a=t,h&&i?b(n):(i=o=t,f)}function _(){var n=Ao(),e=d(n);if(i=arguments,o=this,l=n,e){if(a===t)return m(l);if(p)return xu(a),a=Ri(g,r),b(l)}return a===t&&(a=Ri(g,r)),f}return r=mc(r)||0,nc(u)&&(v=!!u.leading,c=(p="maxWait"in u)?mt(mc(u.maxWait)||0,r):c,h="trailing"in u?!!u.trailing:h),_.cancel=function(){a!==t&&xu(a),s=0,i=l=o=a=t},_.flush=function(){return a===t?f:x(Ao())},_}var Uo=qe((function(n,r){return fe(n,1,r)})),So=qe((function(n,r,t){return fe(n,mc(r)||0,t)}));function Do(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new Rn(e);var t=function(){var e=arguments,u=r?r.apply(this,e):e[0],i=t.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return t.cache=i.set(u,o)||i,o};return t.cache=new(Do.Cache||Bt),t}function Oo(n){if("function"!=typeof n)throw new Rn(e);return function(){var r=arguments;switch(r.length){case 0:return!n.call(this);case 1:return!n.call(this,r[0]);case 2:return!n.call(this,r[0],r[1]);case 3:return!n.call(this,r[0],r[1],r[2])}return!n.apply(this,r)}}Do.Cache=Bt;var Co=du((function(n,r){var t=(r=1==r.length&&Ko(r[0])?Mr(r[0],Vr(ii())):Mr(be(r,1),Vr(ii()))).length;return qe((function(e){for(var u=-1,i=dt(e.length,t);++u<i;)e[u]=r[u].call(this,e[u]);return zr(n,this,e)}))})),No=qe((function(n,r){var e=ct(r,ui(No));return Gu(n,c,t,r,e)})),To=qe((function(n,r){var e=ct(r,ui(To));return Gu(n,64,t,r,e)})),Fo=Xu((function(n,r){return Gu(n,256,t,t,t,r)}));function Lo(n,r){return n===r||n!=n&&r!=r}var Zo=Hu(je),Wo=Hu((function(n,r){return n>=r})),Ho=Ee(function(){return arguments}())?Ee:function(n){return rc(n)&&Sn.call(n,"callee")&&!Pn.call(n,"callee")},Ko=en.isArray,Bo=dr?Vr(dr):function(n){return rc(n)&&ze(n)==$};function Po(n){return null!=n&&Xo(n.length)&&!Jo(n)}function qo(n){return rc(n)&&Po(n)}var Go=mr||df,Vo=gr?Vr(gr):function(n){return rc(n)&&ze(n)==d};function Yo(n){if(!rc(n))return!1;var r=ze(n);return r==g||"[object DOMException]"==r||"string"==typeof n.message&&"string"==typeof n.name&&!uc(n)}function Jo(n){if(!nc(n))return!1;var r=ze(n);return r==x||r==_||"[object AsyncFunction]"==r||"[object Proxy]"==r}function Qo(n){return"number"==typeof n&&n==hc(n)}function Xo(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=l}function nc(n){var r=typeof n;return null!=n&&("object"==r||"function"==r)}function rc(n){return null!=n&&"object"==typeof n}var tc=xr?Vr(xr):function(n){return rc(n)&&si(n)==w};function ec(n){return"number"==typeof n||rc(n)&&ze(n)==y}function uc(n){if(!rc(n)||ze(n)!=z)return!1;var r=Kn(n);if(null===r)return!0;var t=Sn.call(r,"constructor")&&r.constructor;return"function"==typeof t&&t instanceof t&&Un.call(t)==Nn}var ic=_r?Vr(_r):function(n){return rc(n)&&ze(n)==k},oc=wr?Vr(wr):function(n){return rc(n)&&si(n)==A};function cc(n){return"string"==typeof n||!Ko(n)&&rc(n)&&ze(n)==I}function fc(n){return"symbol"==typeof n||rc(n)&&ze(n)==R}var ac=yr?Vr(yr):function(n){return rc(n)&&Xo(n.length)&&!!ur[ze(n)]},lc=Hu(Oe),sc=Hu((function(n,r){return n<=r}));function vc(n){if(!n)return[];if(Po(n))return cc(n)?st(n):Au(n);if(Vn&&n[Vn])return function(n){for(var r,t=[];!(r=n.next()).done;)t.push(r.value);return t}(n[Vn]());var r=si(n);return(r==w?it:r==A?ft:Lc)(n)}function pc(n){return n?(n=mc(n))===a||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function hc(n){var r=pc(n),t=r%1;return r==r?t?r-t:r:0}function bc(n){return n?ie(hc(n),0,v):0}function mc(n){if("number"==typeof n)return n;if(fc(n))return s;if(nc(n)){var r="function"==typeof n.valueOf?n.valueOf():n;n=nc(r)?r+"":r}if("string"!=typeof n)return 0===n?n:+n;n=Gr(n);var t=hn.test(n);return t||mn.test(n)?fr(n.slice(2),t?2:8):pn.test(n)?s:+n}function dc(n){return Iu(n,Uc(n))}function gc(n){return null==n?"":ou(n)}var xc=Eu((function(n,r){if(_i(r)||Po(r))Iu(r,Mc(r),n);else for(var t in r)Sn.call(r,t)&&Xt(n,t,r[t])})),_c=Eu((function(n,r){Iu(r,Uc(r),n)})),wc=Eu((function(n,r,t,e){Iu(r,Uc(r),n,e)})),yc=Eu((function(n,r,t,e){Iu(r,Mc(r),n,e)})),zc=Xu(ue),jc=qe((function(n,r){n=kn(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&mi(r[0],r[1],i)&&(u=1);++e<u;)for(var o=r[e],c=Uc(o),f=-1,a=c.length;++f<a;){var l=c[f],s=n[l];(s===t||Lo(s,$n[l])&&!Sn.call(n,l))&&(n[l]=o[l])}return n})),kc=qe((function(n){return n.push(t,Yu),zr(Dc,t,n)}));function Ac(n,r,e){var u=null==n?t:we(n,r);return u===t?e:u}function Ic(n,r){return null!=n&&vi(n,r,Ae)}var Rc=Tu((function(n,r,t){null!=r&&"function"!=typeof r.toString&&(r=Cn.call(r)),n[r]=t}),nf(ef)),Ec=Tu((function(n,r,t){null!=r&&"function"!=typeof r.toString&&(r=Cn.call(r)),Sn.call(n,r)?n[r].push(t):n[r]=[t]}),ii),$c=qe(Re);function Mc(n){return Po(n)?Gt(n):De(n)}function Uc(n){return Po(n)?Gt(n,!0):function(n){if(!nc(n))return function(n){var r=[];if(null!=n)for(var t in kn(n))r.push(t);return r}(n);var r=_i(n),t=[];for(var e in n)("constructor"!=e||!r&&Sn.call(n,e))&&t.push(e);return t}(n)}var Sc=Eu((function(n,r,t){Fe(n,r,t)})),Dc=Eu((function(n,r,t,e){Fe(n,r,t,e)})),Oc=Xu((function(n,r){var t={};if(null==n)return t;var e=!1;r=Mr(r,(function(r){return r=mu(r,n),e||(e=r.length>1),r})),Iu(n,ri(n),t),e&&(t=oe(t,7,Ju));for(var u=r.length;u--;)fu(t,r[u]);return t})),Cc=Xu((function(n,r){return null==n?{}:function(n,r){return We(n,r,(function(r,t){return Ic(n,t)}))}(n,r)}));function Nc(n,r){if(null==n)return{};var t=Mr(ri(n),(function(n){return[n]}));return r=ii(r),We(n,t,(function(n,t){return r(n,t[0])}))}var Tc=qu(Mc),Fc=qu(Uc);function Lc(n){return null==n?[]:Yr(n,Mc(n))}var Zc=Su((function(n,r,t){return r=r.toLowerCase(),n+(t?Wc(r):r)}));function Wc(n){return Yc(gc(n).toLowerCase())}function Hc(n){return(n=gc(n))&&n.replace(gn,rt).replace(Jn,"")}var Kc=Su((function(n,r,t){return n+(t?"-":"")+r.toLowerCase()})),Bc=Su((function(n,r,t){return n+(t?" ":"")+r.toLowerCase()})),Pc=Uu("toLowerCase"),qc=Su((function(n,r,t){return n+(t?"_":"")+r.toLowerCase()})),Gc=Su((function(n,r,t){return n+(t?" ":"")+Yc(r)})),Vc=Su((function(n,r,t){return n+(t?" ":"")+r.toUpperCase()})),Yc=Uu("toUpperCase");function Jc(n,r,e){return n=gc(n),(r=e?t:r)===t?function(n){return rr.test(n)}(n)?function(n){return n.match(Xn)||[]}(n):function(n){return n.match(fn)||[]}(n):n.match(r)||[]}var Qc=qe((function(n,r){try{return zr(n,t,r)}catch(n){return Yo(n)?n:new yn(n)}})),Xc=Xu((function(n,r){return kr(r,(function(r){r=Ci(r),ee(n,r,Eo(n[r],n))})),n}));function nf(n){return function(){return n}}var rf=Cu(),tf=Cu(!0);function ef(n){return n}function uf(n){return Se("function"==typeof n?n:oe(n,1))}var of=qe((function(n,r){return function(t){return Re(t,n,r)}})),cf=qe((function(n,r){return function(t){return Re(n,t,r)}}));function ff(n,r,t){var e=Mc(r),u=_e(r,e);null!=t||nc(r)&&(u.length||!e.length)||(t=r,r=n,n=this,u=_e(r,Mc(r)));var i=!(nc(t)&&"chain"in t&&!t.chain),o=Jo(n);return kr(u,(function(t){var e=r[t];n[t]=e,o&&(n.prototype[t]=function(){var r=this.__chain__;if(i||r){var t=n(this.__wrapped__),u=t.__actions__=Au(this.__actions__);return u.push({func:e,args:arguments,thisArg:n}),t.__chain__=r,t}return e.apply(n,Ur([this.value()],arguments))})})),n}function af(){}var lf=Lu(Mr),sf=Lu(Ir),vf=Lu(Or);function pf(n){return di(n)?Hr(Ci(n)):function(n){return function(r){return we(r,n)}}(n)}var hf=Wu(),bf=Wu(!0);function mf(){return[]}function df(){return!1}var gf,xf=Fu((function(n,r){return n+r}),0),_f=Bu("ceil"),wf=Fu((function(n,r){return n/r}),1),yf=Bu("floor"),zf=Fu((function(n,r){return n*r}),1),jf=Bu("round"),kf=Fu((function(n,r){return n-r}),0);return Tt.after=function(n,r){if("function"!=typeof r)throw new Rn(e);return n=hc(n),function(){if(--n<1)return r.apply(this,arguments)}},Tt.ary=Io,Tt.assign=xc,Tt.assignIn=_c,Tt.assignInWith=wc,Tt.assignWith=yc,Tt.at=zc,Tt.before=Ro,Tt.bind=Eo,Tt.bindAll=Xc,Tt.bindKey=$o,Tt.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Ko(n)?n:[n]},Tt.chain=so,Tt.chunk=function(n,r,e){r=(e?mi(n,r,e):r===t)?1:mt(hc(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,c=en(vr(u/r));i<u;)c[o++]=nu(n,i,i+=r);return c},Tt.compact=function(n){for(var r=-1,t=null==n?0:n.length,e=0,u=[];++r<t;){var i=n[r];i&&(u[e++]=i)}return u},Tt.concat=function(){var n=arguments.length;if(!n)return[];for(var r=en(n-1),t=arguments[0],e=n;e--;)r[e-1]=arguments[e];return Ur(Ko(t)?Au(t):[t],be(r,1))},Tt.cond=function(n){var r=null==n?0:n.length,t=ii();return n=r?Mr(n,(function(n){if("function"!=typeof n[1])throw new Rn(e);return[t(n[0]),n[1]]})):[],qe((function(t){for(var e=-1;++e<r;){var u=n[e];if(zr(u[0],this,t))return zr(u[1],this,t)}}))},Tt.conforms=function(n){return function(n){var r=Mc(n);return function(t){return ce(t,n,r)}}(oe(n,1))},Tt.constant=nf,Tt.countBy=ho,Tt.create=function(n,r){var t=Ft(n);return null==r?t:te(t,r)},Tt.curry=function n(r,e,u){var i=Gu(r,8,t,t,t,t,t,e=u?t:e);return i.placeholder=n.placeholder,i},Tt.curryRight=function n(r,e,u){var i=Gu(r,16,t,t,t,t,t,e=u?t:e);return i.placeholder=n.placeholder,i},Tt.debounce=Mo,Tt.defaults=jc,Tt.defaultsDeep=kc,Tt.defer=Uo,Tt.delay=So,Tt.difference=Fi,Tt.differenceBy=Li,Tt.differenceWith=Zi,Tt.drop=function(n,r,e){var u=null==n?0:n.length;return u?nu(n,(r=e||r===t?1:hc(r))<0?0:r,u):[]},Tt.dropRight=function(n,r,e){var u=null==n?0:n.length;return u?nu(n,0,(r=u-(r=e||r===t?1:hc(r)))<0?0:r):[]},Tt.dropRightWhile=function(n,r){return n&&n.length?lu(n,ii(r,3),!0,!0):[]},Tt.dropWhile=function(n,r){return n&&n.length?lu(n,ii(r,3),!0):[]},Tt.fill=function(n,r,e,u){var i=null==n?0:n.length;return i?(e&&"number"!=typeof e&&mi(n,r,e)&&(e=0,u=i),function(n,r,e,u){var i=n.length;for((e=hc(e))<0&&(e=-e>i?0:i+e),(u=u===t||u>i?i:hc(u))<0&&(u+=i),u=e>u?0:bc(u);e<u;)n[e++]=r;return n}(n,r,e,u)):[]},Tt.filter=function(n,r){return(Ko(n)?Rr:he)(n,ii(r,3))},Tt.flatMap=function(n,r){return be(zo(n,r),1)},Tt.flatMapDeep=function(n,r){return be(zo(n,r),a)},Tt.flatMapDepth=function(n,r,e){return e=e===t?1:hc(e),be(zo(n,r),e)},Tt.flatten=Ki,Tt.flattenDeep=function(n){return null!=n&&n.length?be(n,a):[]},Tt.flattenDepth=function(n,r){return null!=n&&n.length?be(n,r=r===t?1:hc(r)):[]},Tt.flip=function(n){return Gu(n,512)},Tt.flow=rf,Tt.flowRight=tf,Tt.fromPairs=function(n){for(var r=-1,t=null==n?0:n.length,e={};++r<t;){var u=n[r];e[u[0]]=u[1]}return e},Tt.functions=function(n){return null==n?[]:_e(n,Mc(n))},Tt.functionsIn=function(n){return null==n?[]:_e(n,Uc(n))},Tt.groupBy=_o,Tt.initial=function(n){return null!=n&&n.length?nu(n,0,-1):[]},Tt.intersection=Pi,Tt.intersectionBy=qi,Tt.intersectionWith=Gi,Tt.invert=Rc,Tt.invertBy=Ec,Tt.invokeMap=wo,Tt.iteratee=uf,Tt.keyBy=yo,Tt.keys=Mc,Tt.keysIn=Uc,Tt.map=zo,Tt.mapKeys=function(n,r){var t={};return r=ii(r,3),ge(n,(function(n,e,u){ee(t,r(n,e,u),n)})),t},Tt.mapValues=function(n,r){var t={};return r=ii(r,3),ge(n,(function(n,e,u){ee(t,e,r(n,e,u))})),t},Tt.matches=function(n){return Ne(oe(n,1))},Tt.matchesProperty=function(n,r){return Te(n,oe(r,1))},Tt.memoize=Do,Tt.merge=Sc,Tt.mergeWith=Dc,Tt.method=of,Tt.methodOf=cf,Tt.mixin=ff,Tt.negate=Oo,Tt.nthArg=function(n){return n=hc(n),qe((function(r){return Le(r,n)}))},Tt.omit=Oc,Tt.omitBy=function(n,r){return Nc(n,Oo(ii(r)))},Tt.once=function(n){return Ro(2,n)},Tt.orderBy=function(n,r,e,u){return null==n?[]:(Ko(r)||(r=null==r?[]:[r]),Ko(e=u?t:e)||(e=null==e?[]:[e]),Ze(n,r,e))},Tt.over=lf,Tt.overArgs=Co,Tt.overEvery=sf,Tt.overSome=vf,Tt.partial=No,Tt.partialRight=To,Tt.partition=jo,Tt.pick=Cc,Tt.pickBy=Nc,Tt.property=pf,Tt.propertyOf=function(n){return function(r){return null==n?t:we(n,r)}},Tt.pull=Yi,Tt.pullAll=Ji,Tt.pullAllBy=function(n,r,t){return n&&n.length&&r&&r.length?He(n,r,ii(t,2)):n},Tt.pullAllWith=function(n,r,e){return n&&n.length&&r&&r.length?He(n,r,t,e):n},Tt.pullAt=Qi,Tt.range=hf,Tt.rangeRight=bf,Tt.rearg=Fo,Tt.reject=function(n,r){return(Ko(n)?Rr:he)(n,Oo(ii(r,3)))},Tt.remove=function(n,r){var t=[];if(!n||!n.length)return t;var e=-1,u=[],i=n.length;for(r=ii(r,3);++e<i;){var o=n[e];r(o,e,n)&&(t.push(o),u.push(e))}return Ke(n,u),t},Tt.rest=function(n,r){if("function"!=typeof n)throw new Rn(e);return qe(n,r=r===t?r:hc(r))},Tt.reverse=Xi,Tt.sampleSize=function(n,r,e){return r=(e?mi(n,r,e):r===t)?1:hc(r),(Ko(n)?Yt:Ve)(n,r)},Tt.set=function(n,r,t){return null==n?n:Ye(n,r,t)},Tt.setWith=function(n,r,e,u){return u="function"==typeof u?u:t,null==n?n:Ye(n,r,e,u)},Tt.shuffle=function(n){return(Ko(n)?Jt:Xe)(n)},Tt.slice=function(n,r,e){var u=null==n?0:n.length;return u?(e&&"number"!=typeof e&&mi(n,r,e)?(r=0,e=u):(r=null==r?0:hc(r),e=e===t?u:hc(e)),nu(n,r,e)):[]},Tt.sortBy=ko,Tt.sortedUniq=function(n){return n&&n.length?uu(n):[]},Tt.sortedUniqBy=function(n,r){return n&&n.length?uu(n,ii(r,2)):[]},Tt.split=function(n,r,e){return e&&"number"!=typeof e&&mi(n,r,e)&&(r=e=t),(e=e===t?v:e>>>0)?(n=gc(n))&&("string"==typeof r||null!=r&&!ic(r))&&!(r=ou(r))&&ut(n)?gu(st(n),0,e):n.split(r,e):[]},Tt.spread=function(n,r){if("function"!=typeof n)throw new Rn(e);return r=null==r?0:mt(hc(r),0),qe((function(t){var e=t[r],u=gu(t,0,r);return e&&Ur(u,e),zr(n,this,u)}))},Tt.tail=function(n){var r=null==n?0:n.length;return r?nu(n,1,r):[]},Tt.take=function(n,r,e){return n&&n.length?nu(n,0,(r=e||r===t?1:hc(r))<0?0:r):[]},Tt.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?nu(n,(r=u-(r=e||r===t?1:hc(r)))<0?0:r,u):[]},Tt.takeRightWhile=function(n,r){return n&&n.length?lu(n,ii(r,3),!1,!0):[]},Tt.takeWhile=function(n,r){return n&&n.length?lu(n,ii(r,3)):[]},Tt.tap=function(n,r){return r(n),n},Tt.throttle=function(n,r,t){var u=!0,i=!0;if("function"!=typeof n)throw new Rn(e);return nc(t)&&(u="leading"in t?!!t.leading:u,i="trailing"in t?!!t.trailing:i),Mo(n,r,{leading:u,maxWait:r,trailing:i})},Tt.thru=vo,Tt.toArray=vc,Tt.toPairs=Tc,Tt.toPairsIn=Fc,Tt.toPath=function(n){return Ko(n)?Mr(n,Ci):fc(n)?[n]:Au(Oi(gc(n)))},Tt.toPlainObject=dc,Tt.transform=function(n,r,t){var e=Ko(n),u=e||Go(n)||ac(n);if(r=ii(r,4),null==t){var i=n&&n.constructor;t=u?e?new i:[]:nc(n)&&Jo(i)?Ft(Kn(n)):{}}return(u?kr:ge)(n,(function(n,e,u){return r(t,n,e,u)})),t},Tt.unary=function(n){return Io(n,1)},Tt.union=no,Tt.unionBy=ro,Tt.unionWith=to,Tt.uniq=function(n){return n&&n.length?cu(n):[]},Tt.uniqBy=function(n,r){return n&&n.length?cu(n,ii(r,2)):[]},Tt.uniqWith=function(n,r){return r="function"==typeof r?r:t,n&&n.length?cu(n,t,r):[]},Tt.unset=function(n,r){return null==n||fu(n,r)},Tt.unzip=eo,Tt.unzipWith=uo,Tt.update=function(n,r,t){return null==n?n:au(n,r,bu(t))},Tt.updateWith=function(n,r,e,u){return u="function"==typeof u?u:t,null==n?n:au(n,r,bu(e),u)},Tt.values=Lc,Tt.valuesIn=function(n){return null==n?[]:Yr(n,Uc(n))},Tt.without=io,Tt.words=Jc,Tt.wrap=function(n,r){return No(bu(r),n)},Tt.xor=oo,Tt.xorBy=co,Tt.xorWith=fo,Tt.zip=ao,Tt.zipObject=function(n,r){return pu(n||[],r||[],Xt)},Tt.zipObjectDeep=function(n,r){return pu(n||[],r||[],Ye)},Tt.zipWith=lo,Tt.entries=Tc,Tt.entriesIn=Fc,Tt.extend=_c,Tt.extendWith=wc,ff(Tt,Tt),Tt.add=xf,Tt.attempt=Qc,Tt.camelCase=Zc,Tt.capitalize=Wc,Tt.ceil=_f,Tt.clamp=function(n,r,e){return e===t&&(e=r,r=t),e!==t&&(e=(e=mc(e))==e?e:0),r!==t&&(r=(r=mc(r))==r?r:0),ie(mc(n),r,e)},Tt.clone=function(n){return oe(n,4)},Tt.cloneDeep=function(n){return oe(n,5)},Tt.cloneDeepWith=function(n,r){return oe(n,5,r="function"==typeof r?r:t)},Tt.cloneWith=function(n,r){return oe(n,4,r="function"==typeof r?r:t)},Tt.conformsTo=function(n,r){return null==r||ce(n,r,Mc(r))},Tt.deburr=Hc,Tt.defaultTo=function(n,r){return null==n||n!=n?r:n},Tt.divide=wf,Tt.endsWith=function(n,r,e){n=gc(n),r=ou(r);var u=n.length,i=e=e===t?u:ie(hc(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},Tt.eq=Lo,Tt.escape=function(n){return(n=gc(n))&&q.test(n)?n.replace(B,tt):n},Tt.escapeRegExp=function(n){return(n=gc(n))&&rn.test(n)?n.replace(nn,"\\$&"):n},Tt.every=function(n,r,e){var u=Ko(n)?Ir:ve;return e&&mi(n,r,e)&&(r=t),u(n,ii(r,3))},Tt.find=bo,Tt.findIndex=Wi,Tt.findKey=function(n,r){return Nr(n,ii(r,3),ge)},Tt.findLast=mo,Tt.findLastIndex=Hi,Tt.findLastKey=function(n,r){return Nr(n,ii(r,3),xe)},Tt.floor=yf,Tt.forEach=go,Tt.forEachRight=xo,Tt.forIn=function(n,r){return null==n?n:me(n,ii(r,3),Uc)},Tt.forInRight=function(n,r){return null==n?n:de(n,ii(r,3),Uc)},Tt.forOwn=function(n,r){return n&&ge(n,ii(r,3))},Tt.forOwnRight=function(n,r){return n&&xe(n,ii(r,3))},Tt.get=Ac,Tt.gt=Zo,Tt.gte=Wo,Tt.has=function(n,r){return null!=n&&vi(n,r,ke)},Tt.hasIn=Ic,Tt.head=Bi,Tt.identity=ef,Tt.includes=function(n,r,t,e){n=Po(n)?n:Lc(n),t=t&&!e?hc(t):0;var u=n.length;return t<0&&(t=mt(u+t,0)),cc(n)?t<=u&&n.indexOf(r,t)>-1:!!u&&Fr(n,r,t)>-1},Tt.indexOf=function(n,r,t){var e=null==n?0:n.length;if(!e)return-1;var u=null==t?0:hc(t);return u<0&&(u=mt(e+u,0)),Fr(n,r,u)},Tt.inRange=function(n,r,e){return r=pc(r),e===t?(e=r,r=0):e=pc(e),function(n,r,t){return n>=dt(r,t)&&n<mt(r,t)}(n=mc(n),r,e)},Tt.invoke=$c,Tt.isArguments=Ho,Tt.isArray=Ko,Tt.isArrayBuffer=Bo,Tt.isArrayLike=Po,Tt.isArrayLikeObject=qo,Tt.isBoolean=function(n){return!0===n||!1===n||rc(n)&&ze(n)==m},Tt.isBuffer=Go,Tt.isDate=Vo,Tt.isElement=function(n){return rc(n)&&1===n.nodeType&&!uc(n)},Tt.isEmpty=function(n){if(null==n)return!0;if(Po(n)&&(Ko(n)||"string"==typeof n||"function"==typeof n.splice||Go(n)||ac(n)||Ho(n)))return!n.length;var r=si(n);if(r==w||r==A)return!n.size;if(_i(n))return!De(n).length;for(var t in n)if(Sn.call(n,t))return!1;return!0},Tt.isEqual=function(n,r){return $e(n,r)},Tt.isEqualWith=function(n,r,e){var u=(e="function"==typeof e?e:t)?e(n,r):t;return u===t?$e(n,r,t,e):!!u},Tt.isError=Yo,Tt.isFinite=function(n){return"number"==typeof n&&Cr(n)},Tt.isFunction=Jo,Tt.isInteger=Qo,Tt.isLength=Xo,Tt.isMap=tc,Tt.isMatch=function(n,r){return n===r||Me(n,r,ci(r))},Tt.isMatchWith=function(n,r,e){return e="function"==typeof e?e:t,Me(n,r,ci(r),e)},Tt.isNaN=function(n){return ec(n)&&n!=+n},Tt.isNative=function(n){if(xi(n))throw new yn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ue(n)},Tt.isNil=function(n){return null==n},Tt.isNull=function(n){return null===n},Tt.isNumber=ec,Tt.isObject=nc,Tt.isObjectLike=rc,Tt.isPlainObject=uc,Tt.isRegExp=ic,Tt.isSafeInteger=function(n){return Qo(n)&&n>=-9007199254740991&&n<=l},Tt.isSet=oc,Tt.isString=cc,Tt.isSymbol=fc,Tt.isTypedArray=ac,Tt.isUndefined=function(n){return n===t},Tt.isWeakMap=function(n){return rc(n)&&si(n)==E},Tt.isWeakSet=function(n){return rc(n)&&"[object WeakSet]"==ze(n)},Tt.join=function(n,r){return null==n?"":Kr.call(n,r)},Tt.kebabCase=Kc,Tt.last=Vi,Tt.lastIndexOf=function(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==t&&(i=(i=hc(e))<0?mt(u+i,0):dt(i,u-1)),r==r?function(n,r,t){for(var e=t+1;e--;)if(n[e]===r)return e;return e}(n,r,i):Tr(n,Zr,i,!0)},Tt.lowerCase=Bc,Tt.lowerFirst=Pc,Tt.lt=lc,Tt.lte=sc,Tt.max=function(n){return n&&n.length?pe(n,ef,je):t},Tt.maxBy=function(n,r){return n&&n.length?pe(n,ii(r,2),je):t},Tt.mean=function(n){return Wr(n,ef)},Tt.meanBy=function(n,r){return Wr(n,ii(r,2))},Tt.min=function(n){return n&&n.length?pe(n,ef,Oe):t},Tt.minBy=function(n,r){return n&&n.length?pe(n,ii(r,2),Oe):t},Tt.stubArray=mf,Tt.stubFalse=df,Tt.stubObject=function(){return{}},Tt.stubString=function(){return""},Tt.stubTrue=function(){return!0},Tt.multiply=zf,Tt.nth=function(n,r){return n&&n.length?Le(n,hc(r)):t},Tt.noConflict=function(){return sr._===this&&(sr._=Tn),this},Tt.noop=af,Tt.now=Ao,Tt.pad=function(n,r,t){n=gc(n);var e=(r=hc(r))?lt(n):0;if(!r||e>=r)return n;var u=(r-e)/2;return Zu(pr(u),t)+n+Zu(vr(u),t)},Tt.padEnd=function(n,r,t){n=gc(n);var e=(r=hc(r))?lt(n):0;return r&&e<r?n+Zu(r-e,t):n},Tt.padStart=function(n,r,t){n=gc(n);var e=(r=hc(r))?lt(n):0;return r&&e<r?Zu(r-e,t)+n:n},Tt.parseInt=function(n,r,t){return t||null==r?r=0:r&&(r=+r),xt(gc(n).replace(tn,""),r||0)},Tt.random=function(n,r,e){if(e&&"boolean"!=typeof e&&mi(n,r,e)&&(r=e=t),e===t&&("boolean"==typeof r?(e=r,r=t):"boolean"==typeof n&&(e=n,n=t)),n===t&&r===t?(n=0,r=1):(n=pc(n),r===t?(r=n,n=0):r=pc(r)),n>r){var u=n;n=r,r=u}if(e||n%1||r%1){var i=_t();return dt(n+i*(r-n+cr("1e-"+((i+"").length-1))),r)}return Be(n,r)},Tt.reduce=function(n,r,t){var e=Ko(n)?Sr:Br,u=arguments.length<3;return e(n,ii(r,4),t,u,le)},Tt.reduceRight=function(n,r,t){var e=Ko(n)?Dr:Br,u=arguments.length<3;return e(n,ii(r,4),t,u,se)},Tt.repeat=function(n,r,e){return r=(e?mi(n,r,e):r===t)?1:hc(r),Pe(gc(n),r)},Tt.replace=function(){var n=arguments,r=gc(n[0]);return n.length<3?r:r.replace(n[1],n[2])},Tt.result=function(n,r,e){var u=-1,i=(r=mu(r,n)).length;for(i||(i=1,n=t);++u<i;){var o=null==n?t:n[Ci(r[u])];o===t&&(u=i,o=e),n=Jo(o)?o.call(n):o}return n},Tt.round=jf,Tt.runInContext=n,Tt.sample=function(n){return(Ko(n)?Vt:Ge)(n)},Tt.size=function(n){if(null==n)return 0;if(Po(n))return cc(n)?lt(n):n.length;var r=si(n);return r==w||r==A?n.size:De(n).length},Tt.snakeCase=qc,Tt.some=function(n,r,e){var u=Ko(n)?Or:ru;return e&&mi(n,r,e)&&(r=t),u(n,ii(r,3))},Tt.sortedIndex=function(n,r){return tu(n,r)},Tt.sortedIndexBy=function(n,r,t){return eu(n,r,ii(t,2))},Tt.sortedIndexOf=function(n,r){var t=null==n?0:n.length;if(t){var e=tu(n,r);if(e<t&&Lo(n[e],r))return e}return-1},Tt.sortedLastIndex=function(n,r){return tu(n,r,!0)},Tt.sortedLastIndexBy=function(n,r,t){return eu(n,r,ii(t,2),!0)},Tt.sortedLastIndexOf=function(n,r){if(null!=n&&n.length){var t=tu(n,r,!0)-1;if(Lo(n[t],r))return t}return-1},Tt.startCase=Gc,Tt.startsWith=function(n,r,t){return n=gc(n),t=null==t?0:ie(hc(t),0,n.length),r=ou(r),n.slice(t,t+r.length)==r},Tt.subtract=kf,Tt.sum=function(n){return n&&n.length?Pr(n,ef):0},Tt.sumBy=function(n,r){return n&&n.length?Pr(n,ii(r,2)):0},Tt.template=function(n,r,e){var u=Tt.templateSettings;e&&mi(n,r,e)&&(r=t),n=gc(n),r=wc({},r,u,Vu);var i,o,c=wc({},r.imports,u.imports,Vu),f=Mc(c),a=Yr(c,f),l=0,s=r.interpolate||xn,v="__p += '",p=An((r.escape||xn).source+"|"+s.source+"|"+(s===Y?sn:xn).source+"|"+(r.evaluate||xn).source+"|$","g"),h="//# sourceURL="+(Sn.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++er+"]")+"\n";n.replace(p,(function(r,t,e,u,c,f){return e||(e=u),v+=n.slice(l,f).replace(_n,et),t&&(i=!0,v+="' +\n__e("+t+") +\n'"),c&&(o=!0,v+="';\n"+c+";\n__p += '"),e&&(v+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),l=f+r.length,r})),v+="';\n";var b=Sn.call(r,"variable")&&r.variable;if(b){if(an.test(b))throw new yn("Invalid `variable` option passed into `_.template`")}else v="with (obj) {\n"+v+"\n}\n";v=(o?v.replace(Z,""):v).replace(W,"$1").replace(H,"$1;"),v="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+v+"return __p\n}";var m=Qc((function(){return zn(f,h+"return "+v).apply(t,a)}));if(m.source=v,Yo(m))throw m;return m},Tt.times=function(n,r){if((n=hc(n))<1||n>l)return[];var t=v,e=dt(n,v);r=ii(r),n-=v;for(var u=qr(e,r);++t<n;)r(t);return u},Tt.toFinite=pc,Tt.toInteger=hc,Tt.toLength=bc,Tt.toLower=function(n){return gc(n).toLowerCase()},Tt.toNumber=mc,Tt.toSafeInteger=function(n){return n?ie(hc(n),-9007199254740991,l):0===n?n:0},Tt.toString=gc,Tt.toUpper=function(n){return gc(n).toUpperCase()},Tt.trim=function(n,r,e){if((n=gc(n))&&(e||r===t))return Gr(n);if(!n||!(r=ou(r)))return n;var u=st(n),i=st(r);return gu(u,Qr(u,i),Xr(u,i)+1).join("")},Tt.trimEnd=function(n,r,e){if((n=gc(n))&&(e||r===t))return n.slice(0,vt(n)+1);if(!n||!(r=ou(r)))return n;var u=st(n);return gu(u,0,Xr(u,st(r))+1).join("")},Tt.trimStart=function(n,r,e){if((n=gc(n))&&(e||r===t))return n.replace(tn,"");if(!n||!(r=ou(r)))return n;var u=st(n);return gu(u,Qr(u,st(r))).join("")},Tt.truncate=function(n,r){var e=30,u="...";if(nc(r)){var i="separator"in r?r.separator:i;e="length"in r?hc(r.length):e,u="omission"in r?ou(r.omission):u}var o=(n=gc(n)).length;if(ut(n)){var c=st(n);o=c.length}if(e>=o)return n;var f=e-lt(u);if(f<1)return u;var a=c?gu(c,0,f).join(""):n.slice(0,f);if(i===t)return a+u;if(c&&(f+=a.length-f),ic(i)){if(n.slice(f).search(i)){var l,s=a;for(i.global||(i=An(i.source,gc(vn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var v=l.index;a=a.slice(0,v===t?f:v)}}else if(n.indexOf(ou(i),f)!=f){var p=a.lastIndexOf(i);p>-1&&(a=a.slice(0,p))}return a+u},Tt.unescape=function(n){return(n=gc(n))&&P.test(n)?n.replace(K,pt):n},Tt.uniqueId=function(n){var r=++Dn;return gc(n)+r},Tt.upperCase=Vc,Tt.upperFirst=Yc,Tt.each=go,Tt.eachRight=xo,Tt.first=Bi,ff(Tt,(gf={},ge(Tt,(function(n,r){Sn.call(Tt.prototype,r)||(gf[r]=n)})),gf),{chain:!1}),Tt.VERSION="4.17.21",kr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Tt[n].placeholder=Tt})),kr(["drop","take"],(function(n,r){Wt.prototype[n]=function(e){e=e===t?1:mt(hc(e),0);var u=this.__filtered__&&!r?new Wt(this):this.clone();return u.__filtered__?u.__takeCount__=dt(e,u.__takeCount__):u.__views__.push({size:dt(e,v),type:n+(u.__dir__<0?"Right":"")}),u},Wt.prototype[n+"Right"]=function(r){return this.reverse()[n](r).reverse()}})),kr(["filter","map","takeWhile"],(function(n,r){var t=r+1,e=1==t||3==t;Wt.prototype[n]=function(n){var r=this.clone();return r.__iteratees__.push({iteratee:ii(n,3),type:t}),r.__filtered__=r.__filtered__||e,r}})),kr(["head","last"],(function(n,r){var t="take"+(r?"Right":"");Wt.prototype[n]=function(){return this[t](1).value()[0]}})),kr(["initial","tail"],(function(n,r){var t="drop"+(r?"":"Right");Wt.prototype[n]=function(){return this.__filtered__?new Wt(this):this[t](1)}})),Wt.prototype.compact=function(){return this.filter(ef)},Wt.prototype.find=function(n){return this.filter(n).head()},Wt.prototype.findLast=function(n){return this.reverse().find(n)},Wt.prototype.invokeMap=qe((function(n,r){return"function"==typeof n?new Wt(this):this.map((function(t){return Re(t,n,r)}))})),Wt.prototype.reject=function(n){return this.filter(Oo(ii(n)))},Wt.prototype.slice=function(n,r){n=hc(n);var e=this;return e.__filtered__&&(n>0||r<0)?new Wt(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),r!==t&&(e=(r=hc(r))<0?e.dropRight(-r):e.take(r-n)),e)},Wt.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Wt.prototype.toArray=function(){return this.take(v)},ge(Wt.prototype,(function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=Tt[u?"take"+("last"==r?"Right":""):r],o=u||/^find/.test(r);i&&(Tt.prototype[r]=function(){var r=this.__wrapped__,c=u?[1]:arguments,f=r instanceof Wt,a=c[0],l=f||Ko(r),s=function(n){var r=i.apply(Tt,Ur([n],c));return u&&v?r[0]:r};l&&e&&"function"==typeof a&&1!=a.length&&(f=l=!1);var v=this.__chain__,p=!!this.__actions__.length,h=o&&!v,b=f&&!p;if(!o&&l){r=b?r:new Wt(this);var m=n.apply(r,c);return m.__actions__.push({func:vo,args:[s],thisArg:t}),new Zt(m,v)}return h&&b?n.apply(this,c):(m=this.thru(s),h?u?m.value()[0]:m.value():m)})})),kr(["pop","push","shift","sort","splice","unshift"],(function(n){var r=En[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Tt.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return r.apply(Ko(u)?u:[],n)}return this[t]((function(t){return r.apply(Ko(t)?t:[],n)}))}})),ge(Wt.prototype,(function(n,r){var t=Tt[r];if(t){var e=t.name+"";Sn.call(Et,e)||(Et[e]=[]),Et[e].push({name:r,func:t})}})),Et[Nu(t,2).name]=[{name:"wrapper",func:t}],Wt.prototype.clone=function(){var n=new Wt(this.__wrapped__);return n.__actions__=Au(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Au(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Au(this.__views__),n},Wt.prototype.reverse=function(){if(this.__filtered__){var n=new Wt(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Wt.prototype.value=function(){var n=this.__wrapped__.value(),r=this.__dir__,t=Ko(n),e=r<0,u=t?n.length:0,i=function(n,r,t){for(var e=-1,u=t.length;++e<u;){var i=t[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":r-=o;break;case"take":r=dt(r,n+o);break;case"takeRight":n=mt(n,r-o)}}return{start:n,end:r}}(0,u,this.__views__),o=i.start,c=i.end,f=c-o,a=e?c:o-1,l=this.__iteratees__,s=l.length,v=0,p=dt(f,this.__takeCount__);if(!t||!e&&u==f&&p==f)return su(n,this.__actions__);var h=[];n:for(;f--&&v<p;){for(var b=-1,m=n[a+=r];++b<s;){var d=l[b],g=d.type,x=(0,d.iteratee)(m);if(2==g)m=x;else if(!x){if(1==g)continue n;break n}}h[v++]=m}return h},Tt.prototype.at=po,Tt.prototype.chain=function(){return so(this)},Tt.prototype.commit=function(){return new Zt(this.value(),this.__chain__)},Tt.prototype.next=function(){this.__values__===t&&(this.__values__=vc(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},Tt.prototype.plant=function(n){for(var r,e=this;e instanceof Lt;){var u=Ti(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},Tt.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Wt){var r=n;return this.__actions__.length&&(r=new Wt(this)),(r=r.reverse()).__actions__.push({func:vo,args:[Xi],thisArg:t}),new Zt(r,this.__chain__)}return this.thru(Xi)},Tt.prototype.toJSON=Tt.prototype.valueOf=Tt.prototype.value=function(){return su(this.__wrapped__,this.__actions__)},Tt.prototype.first=Tt.prototype.head,Vn&&(Tt.prototype[Vn]=function(){return this}),Tt}();pr?((pr.exports=ht)._=ht,vr._=ht):sr._=ht}).call(o)}));const U=class{constructor(t){n(this,t),this.bcmChange=r(this,"bcmChange",7),this.color="#3b82f6"}handleChange(n){this.bcmChange.emit(n)}componentDidRender(){const{color:n}=this;u.render(e.createElement($,{color:n,onChange:M.debounce(this.handleChange.bind(this),150)}),this.el)}get el(){return t(this)}};U.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:"Inter", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:"Inter", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}bcm-colorful{display:flex;flex-direction:column;width:256px;padding:8px;background-color:#fff;border-radius:4px}bcm-colorful .react-colorful{width:100%;gap:4px}bcm-colorful .react-colorful__saturation{margin:0 0 4px 0;border-radius:2px;border-bottom:none}bcm-colorful .react-colorful__hue,bcm-colorful .react-colorful__alpha{height:20px;border-radius:2px}bcm-colorful .react-colorful__hue-pointer,bcm-colorful .react-colorful__alpha-pointer{width:15px;height:15px}bcm-colorful .react-colorful__saturation-pointer{width:20px;height:20px}';export{U as bcm_colorful}
@@ -1,11 +0,0 @@
1
- /*!
2
- * Built with Stencil
3
- * Copyright (c) Bromcom.
4
- */
5
- import{c as r}from"./p-6f56f8ca.js";var f=r((function(r){
6
- /*!
7
- Copyright (c) 2018 Jed Watson.
8
- Licensed under the MIT License (MIT), see
9
- http://jedwatson.github.io/classnames
10
- */
11
- !function(){var f={}.hasOwnProperty;function i(){for(var r=[],n=0;n<arguments.length;n++){var e=arguments[n];if(e){var o=typeof e;if("string"===o||"number"===o)r.push(e);else if(Array.isArray(e)){if(e.length){var a=i.apply(null,e);a&&r.push(a)}}else if("object"===o){if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]")){r.push(e.toString());continue}for(var t in e)f.call(e,t)&&e[t]&&r.push(t)}}}return r.join(" ")}r.exports?(i.default=i,r.exports=i):window.classNames=i}()}));export{f as c}