primeng 17.11.0 → 17.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (654) hide show
  1. package/accordion/accordion.d.ts +5 -0
  2. package/animateonscroll/animateonscroll.d.ts +2 -0
  3. package/api/messageservice.d.ts +1 -1
  4. package/api/translation.d.ts +2 -0
  5. package/api/translationkeys.d.ts +1 -0
  6. package/api/treenode.d.ts +1 -0
  7. package/autocomplete/autocomplete.d.ts +27 -0
  8. package/autocomplete/autocomplete.interface.d.ts +1 -1
  9. package/autofocus/autofocus.d.ts +1 -0
  10. package/badge/badge.d.ts +1 -0
  11. package/baseicon/baseicon.d.ts +1 -0
  12. package/blockui/blockui.d.ts +2 -0
  13. package/button/button.d.ts +58 -4
  14. package/calendar/calendar.d.ts +41 -10
  15. package/carousel/carousel.d.ts +4 -0
  16. package/cascadeselect/cascadeselect.d.ts +11 -2
  17. package/chart/chart.d.ts +1 -0
  18. package/checkbox/checkbox.d.ts +5 -0
  19. package/chip/chip.d.ts +1 -0
  20. package/chips/chips.d.ts +12 -0
  21. package/colorpicker/colorpicker.d.ts +4 -0
  22. package/confirmdialog/confirmdialog.d.ts +11 -0
  23. package/confirmpopup/confirmpopup.d.ts +2 -0
  24. package/contextmenu/contextmenu.d.ts +11 -0
  25. package/dataview/dataview.d.ts +16 -0
  26. package/dialog/dialog.d.ts +19 -1
  27. package/dragdrop/dragdrop.d.ts +1 -0
  28. package/dropdown/dropdown.d.ts +23 -0
  29. package/dynamicdialog/dialogservice.d.ts +3 -3
  30. package/dynamicdialog/dynamicdialog-ref.d.ts +9 -3
  31. package/dynamicdialog/dynamicdialog.d.ts +1 -0
  32. package/editor/editor.d.ts +8 -8
  33. package/esm2022/accordion/accordion.mjs +22 -17
  34. package/esm2022/animate/animate.mjs +7 -7
  35. package/esm2022/animateonscroll/animateonscroll.mjs +13 -11
  36. package/esm2022/api/confirmationservice.mjs +3 -3
  37. package/esm2022/api/contextmenuservice.mjs +3 -3
  38. package/esm2022/api/filterservice.mjs +3 -3
  39. package/esm2022/api/messageservice.mjs +5 -5
  40. package/esm2022/api/overlayservice.mjs +3 -3
  41. package/esm2022/api/primengconfig.mjs +7 -5
  42. package/esm2022/api/shared.mjs +13 -13
  43. package/esm2022/api/translation.mjs +1 -1
  44. package/esm2022/api/translationkeys.mjs +2 -1
  45. package/esm2022/api/treedragdropservice.mjs +3 -3
  46. package/esm2022/api/treenode.mjs +1 -1
  47. package/esm2022/autocomplete/autocomplete.interface.mjs +1 -1
  48. package/esm2022/autocomplete/autocomplete.mjs +73 -43
  49. package/esm2022/autofocus/autofocus.mjs +11 -10
  50. package/esm2022/avatar/avatar.mjs +7 -7
  51. package/esm2022/avatargroup/avatargroup.mjs +7 -7
  52. package/esm2022/badge/badge.mjs +14 -13
  53. package/esm2022/baseicon/baseicon.mjs +7 -6
  54. package/esm2022/blockui/blockui.mjs +13 -11
  55. package/esm2022/breadcrumb/breadcrumb.mjs +7 -7
  56. package/esm2022/button/button.mjs +120 -21
  57. package/esm2022/buttongroup/buttongroup.mjs +7 -7
  58. package/esm2022/calendar/calendar.mjs +128 -111
  59. package/esm2022/card/card.mjs +7 -7
  60. package/esm2022/carousel/carousel.mjs +17 -13
  61. package/esm2022/cascadeselect/cascadeselect.mjs +41 -31
  62. package/esm2022/chart/chart.mjs +11 -10
  63. package/esm2022/checkbox/checkbox.mjs +19 -14
  64. package/esm2022/chip/chip.mjs +37 -16
  65. package/esm2022/chips/chips.mjs +29 -17
  66. package/esm2022/colorpicker/colorpicker.mjs +17 -13
  67. package/esm2022/confirmdialog/confirmdialog.mjs +35 -24
  68. package/esm2022/confirmpopup/confirmpopup.mjs +14 -12
  69. package/esm2022/contextmenu/contextmenu.mjs +36 -25
  70. package/esm2022/dataview/dataview.mjs +45 -29
  71. package/esm2022/defer/defer.mjs +7 -7
  72. package/esm2022/dialog/dialog.mjs +55 -33
  73. package/esm2022/divider/divider.mjs +7 -7
  74. package/esm2022/dock/dock.mjs +7 -7
  75. package/esm2022/dragdrop/dragdrop.mjs +14 -13
  76. package/esm2022/dropdown/dropdown.mjs +70 -46
  77. package/esm2022/dynamicdialog/dialogservice.mjs +6 -6
  78. package/esm2022/dynamicdialog/dynamicdialog-ref.mjs +8 -2
  79. package/esm2022/dynamicdialog/dynamicdialog.mjs +15 -11
  80. package/esm2022/dynamicdialog/dynamicdialogcontent.mjs +3 -3
  81. package/esm2022/editor/editor.mjs +55 -51
  82. package/esm2022/fieldset/fieldset.mjs +13 -11
  83. package/esm2022/fileupload/fileupload.mjs +82 -25
  84. package/esm2022/floatlabel/floatlabel.mjs +7 -7
  85. package/esm2022/focustrap/focustrap.mjs +11 -10
  86. package/esm2022/galleria/galleria.mjs +71 -46
  87. package/esm2022/iconfield/iconfield.mjs +7 -7
  88. package/esm2022/icons/angledoubledown/angledoubledown.mjs +3 -3
  89. package/esm2022/icons/angledoubleleft/angledoubleleft.mjs +3 -3
  90. package/esm2022/icons/angledoubleright/angledoubleright.mjs +3 -3
  91. package/esm2022/icons/angledoubleup/angledoubleup.mjs +3 -3
  92. package/esm2022/icons/angledown/angledown.mjs +3 -3
  93. package/esm2022/icons/angleleft/angleleft.mjs +3 -3
  94. package/esm2022/icons/angleright/angleright.mjs +3 -3
  95. package/esm2022/icons/angleup/angleup.mjs +3 -3
  96. package/esm2022/icons/arrowdown/arrowdown.mjs +3 -3
  97. package/esm2022/icons/arrowdownleft/arrowdownleft.mjs +3 -3
  98. package/esm2022/icons/arrowdownright/arrowdownright.mjs +3 -3
  99. package/esm2022/icons/arrowleft/arrowleft.mjs +3 -3
  100. package/esm2022/icons/arrowright/arrowright.mjs +3 -3
  101. package/esm2022/icons/arrowup/arrowup.mjs +3 -3
  102. package/esm2022/icons/ban/ban.mjs +3 -3
  103. package/esm2022/icons/bars/bars.mjs +3 -3
  104. package/esm2022/icons/calendar/calendar.mjs +3 -3
  105. package/esm2022/icons/caretleft/caretleft.mjs +3 -3
  106. package/esm2022/icons/caretright/caretright.mjs +3 -3
  107. package/esm2022/icons/check/check.mjs +3 -3
  108. package/esm2022/icons/chevrondown/chevrondown.mjs +3 -3
  109. package/esm2022/icons/chevronleft/chevronleft.mjs +3 -3
  110. package/esm2022/icons/chevronright/chevronright.mjs +3 -3
  111. package/esm2022/icons/chevronup/chevronup.mjs +3 -3
  112. package/esm2022/icons/exclamationtriangle/exclamationtriangle.mjs +3 -3
  113. package/esm2022/icons/eye/eye.mjs +3 -3
  114. package/esm2022/icons/eyeslash/eyeslash.mjs +3 -3
  115. package/esm2022/icons/filter/filter.mjs +3 -3
  116. package/esm2022/icons/filterslash/filterslash.mjs +3 -3
  117. package/esm2022/icons/home/home.mjs +3 -3
  118. package/esm2022/icons/infocircle/infocircle.mjs +3 -3
  119. package/esm2022/icons/minus/minus.mjs +3 -3
  120. package/esm2022/icons/pencil/pencil.mjs +3 -3
  121. package/esm2022/icons/plus/plus.mjs +3 -3
  122. package/esm2022/icons/refresh/refresh.mjs +3 -3
  123. package/esm2022/icons/search/search.mjs +3 -3
  124. package/esm2022/icons/searchminus/searchminus.mjs +3 -3
  125. package/esm2022/icons/searchplus/searchplus.mjs +3 -3
  126. package/esm2022/icons/sortalt/sortalt.mjs +3 -3
  127. package/esm2022/icons/sortamountdown/sortamountdown.mjs +3 -3
  128. package/esm2022/icons/sortamountupalt/sortamountupalt.mjs +3 -3
  129. package/esm2022/icons/spinner/spinner.mjs +3 -3
  130. package/esm2022/icons/star/star.mjs +3 -3
  131. package/esm2022/icons/starfill/starfill.mjs +3 -3
  132. package/esm2022/icons/thlarge/thlarge.mjs +3 -3
  133. package/esm2022/icons/times/times.mjs +3 -3
  134. package/esm2022/icons/timescircle/timescircle.mjs +3 -3
  135. package/esm2022/icons/trash/trash.mjs +3 -3
  136. package/esm2022/icons/undo/undo.mjs +3 -3
  137. package/esm2022/icons/upload/upload.mjs +3 -3
  138. package/esm2022/icons/windowmaximize/windowmaximize.mjs +3 -3
  139. package/esm2022/icons/windowminimize/windowminimize.mjs +3 -3
  140. package/esm2022/image/image.mjs +11 -10
  141. package/esm2022/inplace/inplace.mjs +24 -20
  142. package/esm2022/inputgroup/inputgroup.mjs +7 -7
  143. package/esm2022/inputgroupaddon/inputgroupaddon.mjs +7 -7
  144. package/esm2022/inputicon/inputicon.mjs +7 -7
  145. package/esm2022/inputmask/inputmask.mjs +31 -20
  146. package/esm2022/inputnumber/inputnumber.interface.mjs +1 -1
  147. package/esm2022/inputnumber/inputnumber.mjs +52 -26
  148. package/esm2022/inputotp/inputotp.interface.mjs +2 -0
  149. package/esm2022/inputotp/inputotp.mjs +358 -0
  150. package/esm2022/inputotp/primeng-inputotp.mjs +5 -0
  151. package/esm2022/inputotp/public_api.mjs +3 -0
  152. package/esm2022/inputswitch/inputswitch.mjs +15 -12
  153. package/esm2022/inputtext/inputtext.mjs +7 -7
  154. package/esm2022/inputtextarea/inputtextarea.mjs +11 -10
  155. package/esm2022/keyfilter/keyfilter.mjs +11 -10
  156. package/esm2022/knob/knob.mjs +27 -18
  157. package/esm2022/listbox/listbox.mjs +48 -26
  158. package/esm2022/megamenu/megamenu.mjs +24 -18
  159. package/esm2022/menu/menu.mjs +23 -29
  160. package/esm2022/menubar/menubar.mjs +37 -26
  161. package/esm2022/message/message.mjs +11 -10
  162. package/esm2022/messages/messages.mjs +24 -12
  163. package/esm2022/metergroup/metergroup.mjs +13 -13
  164. package/esm2022/multiselect/multiselect.mjs +92 -58
  165. package/esm2022/orderlist/orderlist.mjs +24 -17
  166. package/esm2022/organizationchart/organizationchart.mjs +20 -16
  167. package/esm2022/overlay/overlay.mjs +7 -7
  168. package/esm2022/overlaypanel/overlaypanel.mjs +19 -14
  169. package/esm2022/paginator/paginator.mjs +48 -18
  170. package/esm2022/panel/panel.mjs +15 -12
  171. package/esm2022/panelmenu/panelmenu.mjs +51 -38
  172. package/esm2022/password/password.mjs +27 -21
  173. package/esm2022/picklist/picklist.mjs +61 -68
  174. package/esm2022/progressbar/progressbar.mjs +13 -11
  175. package/esm2022/progressspinner/progressspinner.mjs +7 -7
  176. package/esm2022/radiobutton/radiobutton.mjs +16 -14
  177. package/esm2022/rating/rating.mjs +23 -19
  178. package/esm2022/ripple/ripple.mjs +7 -7
  179. package/esm2022/scroller/scroller.mjs +9 -9
  180. package/esm2022/scrollpanel/scrollpanel.mjs +11 -10
  181. package/esm2022/scrolltop/scrolltop.mjs +11 -10
  182. package/esm2022/selectbutton/selectbutton.mjs +19 -14
  183. package/esm2022/sidebar/sidebar.mjs +23 -16
  184. package/esm2022/skeleton/skeleton.mjs +7 -7
  185. package/esm2022/slidemenu/slidemenu.mjs +46 -29
  186. package/esm2022/slider/slider.mjs +23 -16
  187. package/esm2022/speeddial/speeddial.interface.mjs +1 -1
  188. package/esm2022/speeddial/speeddial.mjs +100 -80
  189. package/esm2022/spinner/spinner.mjs +29 -19
  190. package/esm2022/splitbutton/splitbutton.mjs +158 -24
  191. package/esm2022/splitter/splitter.mjs +15 -12
  192. package/esm2022/stepper/primeng-stepper.mjs +5 -0
  193. package/esm2022/stepper/public_api.mjs +3 -0
  194. package/esm2022/stepper/stepper.interface.mjs +2 -0
  195. package/esm2022/stepper/stepper.mjs +685 -0
  196. package/esm2022/steps/steps.mjs +21 -24
  197. package/esm2022/styleclass/styleclass.mjs +13 -11
  198. package/esm2022/table/table.mjs +268 -167
  199. package/esm2022/tabmenu/tabmenu.mjs +13 -11
  200. package/esm2022/tabview/tabview.mjs +26 -19
  201. package/esm2022/tag/tag.mjs +24 -12
  202. package/esm2022/terminal/terminal.mjs +7 -7
  203. package/esm2022/terminal/terminalservice.mjs +3 -3
  204. package/esm2022/tieredmenu/tieredmenu.mjs +53 -38
  205. package/esm2022/timeline/timeline.mjs +7 -7
  206. package/esm2022/toast/toast.mjs +26 -19
  207. package/esm2022/togglebutton/togglebutton.mjs +15 -13
  208. package/esm2022/toolbar/toolbar.mjs +7 -7
  209. package/esm2022/tooltip/tooltip.mjs +27 -18
  210. package/esm2022/tree/tree.mjs +54 -32
  211. package/esm2022/treeselect/treeselect.mjs +57 -22
  212. package/esm2022/treetable/treetable.mjs +334 -147
  213. package/esm2022/tristatecheckbox/tristatecheckbox.mjs +15 -12
  214. package/esm2022/virtualscroller/virtualscroller.mjs +15 -12
  215. package/fesm2022/primeng-accordion.mjs +21 -16
  216. package/fesm2022/primeng-accordion.mjs.map +1 -1
  217. package/fesm2022/primeng-animate.mjs +7 -7
  218. package/fesm2022/primeng-animateonscroll.mjs +12 -10
  219. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  220. package/fesm2022/primeng-api.mjs +39 -36
  221. package/fesm2022/primeng-api.mjs.map +1 -1
  222. package/fesm2022/primeng-autocomplete.mjs +72 -42
  223. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  224. package/fesm2022/primeng-autofocus.mjs +10 -9
  225. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  226. package/fesm2022/primeng-avatar.mjs +7 -7
  227. package/fesm2022/primeng-avatargroup.mjs +7 -7
  228. package/fesm2022/primeng-badge.mjs +13 -12
  229. package/fesm2022/primeng-badge.mjs.map +1 -1
  230. package/fesm2022/primeng-baseicon.mjs +6 -5
  231. package/fesm2022/primeng-baseicon.mjs.map +1 -1
  232. package/fesm2022/primeng-blockui.mjs +12 -10
  233. package/fesm2022/primeng-blockui.mjs.map +1 -1
  234. package/fesm2022/primeng-breadcrumb.mjs +7 -7
  235. package/fesm2022/primeng-button.mjs +119 -20
  236. package/fesm2022/primeng-button.mjs.map +1 -1
  237. package/fesm2022/primeng-buttongroup.mjs +7 -7
  238. package/fesm2022/primeng-calendar.mjs +127 -110
  239. package/fesm2022/primeng-calendar.mjs.map +1 -1
  240. package/fesm2022/primeng-card.mjs +7 -7
  241. package/fesm2022/primeng-carousel.mjs +16 -12
  242. package/fesm2022/primeng-carousel.mjs.map +1 -1
  243. package/fesm2022/primeng-cascadeselect.mjs +40 -30
  244. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  245. package/fesm2022/primeng-chart.mjs +10 -9
  246. package/fesm2022/primeng-chart.mjs.map +1 -1
  247. package/fesm2022/primeng-checkbox.mjs +18 -13
  248. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  249. package/fesm2022/primeng-chip.mjs +36 -15
  250. package/fesm2022/primeng-chip.mjs.map +1 -1
  251. package/fesm2022/primeng-chips.mjs +28 -16
  252. package/fesm2022/primeng-chips.mjs.map +1 -1
  253. package/fesm2022/primeng-colorpicker.mjs +16 -12
  254. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  255. package/fesm2022/primeng-confirmdialog.mjs +34 -23
  256. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  257. package/fesm2022/primeng-confirmpopup.mjs +13 -11
  258. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  259. package/fesm2022/primeng-contextmenu.mjs +35 -24
  260. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  261. package/fesm2022/primeng-dataview.mjs +44 -28
  262. package/fesm2022/primeng-dataview.mjs.map +1 -1
  263. package/fesm2022/primeng-defer.mjs +7 -7
  264. package/fesm2022/primeng-dialog.mjs +54 -32
  265. package/fesm2022/primeng-dialog.mjs.map +1 -1
  266. package/fesm2022/primeng-divider.mjs +7 -7
  267. package/fesm2022/primeng-dock.mjs +7 -7
  268. package/fesm2022/primeng-dragdrop.mjs +13 -12
  269. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  270. package/fesm2022/primeng-dropdown.mjs +69 -45
  271. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  272. package/fesm2022/primeng-dynamicdialog.mjs +29 -19
  273. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  274. package/fesm2022/primeng-editor.mjs +54 -49
  275. package/fesm2022/primeng-editor.mjs.map +1 -1
  276. package/fesm2022/primeng-fieldset.mjs +12 -10
  277. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  278. package/fesm2022/primeng-fileupload.mjs +81 -24
  279. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  280. package/fesm2022/primeng-floatlabel.mjs +7 -7
  281. package/fesm2022/primeng-focustrap.mjs +10 -9
  282. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  283. package/fesm2022/primeng-galleria.mjs +70 -45
  284. package/fesm2022/primeng-galleria.mjs.map +1 -1
  285. package/fesm2022/primeng-iconfield.mjs +7 -7
  286. package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
  287. package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
  288. package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
  289. package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
  290. package/fesm2022/primeng-icons-angledown.mjs +3 -3
  291. package/fesm2022/primeng-icons-angleleft.mjs +3 -3
  292. package/fesm2022/primeng-icons-angleright.mjs +3 -3
  293. package/fesm2022/primeng-icons-angleup.mjs +3 -3
  294. package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
  295. package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
  296. package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
  297. package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
  298. package/fesm2022/primeng-icons-arrowright.mjs +3 -3
  299. package/fesm2022/primeng-icons-arrowup.mjs +3 -3
  300. package/fesm2022/primeng-icons-ban.mjs +3 -3
  301. package/fesm2022/primeng-icons-bars.mjs +3 -3
  302. package/fesm2022/primeng-icons-calendar.mjs +3 -3
  303. package/fesm2022/primeng-icons-caretleft.mjs +3 -3
  304. package/fesm2022/primeng-icons-caretright.mjs +3 -3
  305. package/fesm2022/primeng-icons-check.mjs +3 -3
  306. package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
  307. package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
  308. package/fesm2022/primeng-icons-chevronright.mjs +3 -3
  309. package/fesm2022/primeng-icons-chevronup.mjs +3 -3
  310. package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
  311. package/fesm2022/primeng-icons-eye.mjs +3 -3
  312. package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
  313. package/fesm2022/primeng-icons-filter.mjs +3 -3
  314. package/fesm2022/primeng-icons-filterslash.mjs +3 -3
  315. package/fesm2022/primeng-icons-home.mjs +3 -3
  316. package/fesm2022/primeng-icons-infocircle.mjs +3 -3
  317. package/fesm2022/primeng-icons-minus.mjs +3 -3
  318. package/fesm2022/primeng-icons-pencil.mjs +3 -3
  319. package/fesm2022/primeng-icons-plus.mjs +3 -3
  320. package/fesm2022/primeng-icons-refresh.mjs +3 -3
  321. package/fesm2022/primeng-icons-search.mjs +3 -3
  322. package/fesm2022/primeng-icons-searchminus.mjs +3 -3
  323. package/fesm2022/primeng-icons-searchplus.mjs +3 -3
  324. package/fesm2022/primeng-icons-sortalt.mjs +3 -3
  325. package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
  326. package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
  327. package/fesm2022/primeng-icons-spinner.mjs +3 -3
  328. package/fesm2022/primeng-icons-star.mjs +3 -3
  329. package/fesm2022/primeng-icons-starfill.mjs +3 -3
  330. package/fesm2022/primeng-icons-thlarge.mjs +3 -3
  331. package/fesm2022/primeng-icons-times.mjs +3 -3
  332. package/fesm2022/primeng-icons-timescircle.mjs +3 -3
  333. package/fesm2022/primeng-icons-trash.mjs +3 -3
  334. package/fesm2022/primeng-icons-undo.mjs +3 -3
  335. package/fesm2022/primeng-icons-upload.mjs +3 -3
  336. package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
  337. package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
  338. package/fesm2022/primeng-image.mjs +10 -9
  339. package/fesm2022/primeng-image.mjs.map +1 -1
  340. package/fesm2022/primeng-inplace.mjs +23 -19
  341. package/fesm2022/primeng-inplace.mjs.map +1 -1
  342. package/fesm2022/primeng-inputgroup.mjs +7 -7
  343. package/fesm2022/primeng-inputgroupaddon.mjs +7 -7
  344. package/fesm2022/primeng-inputicon.mjs +7 -7
  345. package/fesm2022/primeng-inputmask.mjs +30 -19
  346. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  347. package/fesm2022/primeng-inputnumber.mjs +51 -25
  348. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  349. package/fesm2022/primeng-inputotp.mjs +365 -0
  350. package/fesm2022/primeng-inputotp.mjs.map +1 -0
  351. package/fesm2022/primeng-inputswitch.mjs +14 -11
  352. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  353. package/fesm2022/primeng-inputtext.mjs +7 -7
  354. package/fesm2022/primeng-inputtextarea.mjs +10 -9
  355. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  356. package/fesm2022/primeng-keyfilter.mjs +10 -9
  357. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  358. package/fesm2022/primeng-knob.mjs +26 -17
  359. package/fesm2022/primeng-knob.mjs.map +1 -1
  360. package/fesm2022/primeng-listbox.mjs +47 -25
  361. package/fesm2022/primeng-listbox.mjs.map +1 -1
  362. package/fesm2022/primeng-megamenu.mjs +23 -17
  363. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  364. package/fesm2022/primeng-menu.mjs +22 -28
  365. package/fesm2022/primeng-menu.mjs.map +1 -1
  366. package/fesm2022/primeng-menubar.mjs +36 -25
  367. package/fesm2022/primeng-menubar.mjs.map +1 -1
  368. package/fesm2022/primeng-message.mjs +10 -9
  369. package/fesm2022/primeng-message.mjs.map +1 -1
  370. package/fesm2022/primeng-messages.mjs +23 -11
  371. package/fesm2022/primeng-messages.mjs.map +1 -1
  372. package/fesm2022/primeng-metergroup.mjs +12 -12
  373. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  374. package/fesm2022/primeng-multiselect.mjs +91 -57
  375. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  376. package/fesm2022/primeng-orderlist.mjs +23 -16
  377. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  378. package/fesm2022/primeng-organizationchart.mjs +19 -15
  379. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  380. package/fesm2022/primeng-overlay.mjs +7 -7
  381. package/fesm2022/primeng-overlaypanel.mjs +18 -13
  382. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  383. package/fesm2022/primeng-paginator.mjs +47 -17
  384. package/fesm2022/primeng-paginator.mjs.map +1 -1
  385. package/fesm2022/primeng-panel.mjs +14 -11
  386. package/fesm2022/primeng-panel.mjs.map +1 -1
  387. package/fesm2022/primeng-panelmenu.mjs +50 -37
  388. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  389. package/fesm2022/primeng-password.mjs +26 -20
  390. package/fesm2022/primeng-password.mjs.map +1 -1
  391. package/fesm2022/primeng-picklist.mjs +60 -67
  392. package/fesm2022/primeng-picklist.mjs.map +1 -1
  393. package/fesm2022/primeng-progressbar.mjs +12 -10
  394. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  395. package/fesm2022/primeng-progressspinner.mjs +7 -7
  396. package/fesm2022/primeng-radiobutton.mjs +15 -13
  397. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  398. package/fesm2022/primeng-rating.mjs +22 -18
  399. package/fesm2022/primeng-rating.mjs.map +1 -1
  400. package/fesm2022/primeng-ripple.mjs +7 -7
  401. package/fesm2022/primeng-scroller.mjs +8 -8
  402. package/fesm2022/primeng-scroller.mjs.map +1 -1
  403. package/fesm2022/primeng-scrollpanel.mjs +10 -9
  404. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  405. package/fesm2022/primeng-scrolltop.mjs +10 -9
  406. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  407. package/fesm2022/primeng-selectbutton.mjs +18 -13
  408. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  409. package/fesm2022/primeng-sidebar.mjs +22 -15
  410. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  411. package/fesm2022/primeng-skeleton.mjs +7 -7
  412. package/fesm2022/primeng-slidemenu.mjs +45 -28
  413. package/fesm2022/primeng-slidemenu.mjs.map +1 -1
  414. package/fesm2022/primeng-slider.mjs +22 -15
  415. package/fesm2022/primeng-slider.mjs.map +1 -1
  416. package/fesm2022/primeng-speeddial.mjs +99 -79
  417. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  418. package/fesm2022/primeng-spinner.mjs +28 -18
  419. package/fesm2022/primeng-spinner.mjs.map +1 -1
  420. package/fesm2022/primeng-splitbutton.mjs +157 -23
  421. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  422. package/fesm2022/primeng-splitter.mjs +14 -11
  423. package/fesm2022/primeng-splitter.mjs.map +1 -1
  424. package/fesm2022/primeng-stepper.mjs +692 -0
  425. package/fesm2022/primeng-stepper.mjs.map +1 -0
  426. package/fesm2022/primeng-steps.mjs +20 -23
  427. package/fesm2022/primeng-steps.mjs.map +1 -1
  428. package/fesm2022/primeng-styleclass.mjs +12 -10
  429. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  430. package/fesm2022/primeng-table.mjs +267 -166
  431. package/fesm2022/primeng-table.mjs.map +1 -1
  432. package/fesm2022/primeng-tabmenu.mjs +12 -10
  433. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  434. package/fesm2022/primeng-tabview.mjs +25 -18
  435. package/fesm2022/primeng-tabview.mjs.map +1 -1
  436. package/fesm2022/primeng-tag.mjs +23 -11
  437. package/fesm2022/primeng-tag.mjs.map +1 -1
  438. package/fesm2022/primeng-terminal.mjs +10 -10
  439. package/fesm2022/primeng-tieredmenu.mjs +52 -37
  440. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  441. package/fesm2022/primeng-timeline.mjs +7 -7
  442. package/fesm2022/primeng-toast.mjs +25 -18
  443. package/fesm2022/primeng-toast.mjs.map +1 -1
  444. package/fesm2022/primeng-togglebutton.mjs +14 -12
  445. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  446. package/fesm2022/primeng-toolbar.mjs +7 -7
  447. package/fesm2022/primeng-tooltip.mjs +26 -17
  448. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  449. package/fesm2022/primeng-tree.mjs +53 -31
  450. package/fesm2022/primeng-tree.mjs.map +1 -1
  451. package/fesm2022/primeng-treeselect.mjs +56 -21
  452. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  453. package/fesm2022/primeng-treetable.mjs +333 -146
  454. package/fesm2022/primeng-treetable.mjs.map +1 -1
  455. package/fesm2022/primeng-tristatecheckbox.mjs +14 -11
  456. package/fesm2022/primeng-tristatecheckbox.mjs.map +1 -1
  457. package/fesm2022/primeng-virtualscroller.mjs +14 -11
  458. package/fesm2022/primeng-virtualscroller.mjs.map +1 -1
  459. package/fieldset/fieldset.d.ts +2 -0
  460. package/fileupload/fileupload.d.ts +11 -0
  461. package/focustrap/focustrap.d.ts +1 -0
  462. package/galleria/galleria.d.ts +25 -0
  463. package/image/image.d.ts +1 -0
  464. package/inplace/inplace.d.ts +4 -0
  465. package/inputmask/inputmask.d.ts +11 -0
  466. package/inputnumber/inputnumber.d.ts +17 -0
  467. package/inputnumber/inputnumber.interface.d.ts +1 -1
  468. package/inputotp/index.d.ts +5 -0
  469. package/inputotp/inputotp.d.ts +115 -0
  470. package/inputotp/inputotp.interface.d.ts +65 -0
  471. package/inputotp/public_api.d.ts +2 -0
  472. package/inputswitch/inputswitch.d.ts +3 -0
  473. package/inputtextarea/inputtextarea.d.ts +1 -0
  474. package/keyfilter/keyfilter.d.ts +1 -0
  475. package/knob/knob.d.ts +9 -0
  476. package/listbox/listbox.d.ts +22 -2
  477. package/megamenu/megamenu.d.ts +6 -0
  478. package/menu/menu.d.ts +4 -0
  479. package/menubar/menubar.d.ts +11 -0
  480. package/message/message.d.ts +1 -0
  481. package/messages/messages.d.ts +10 -1
  482. package/metergroup/metergroup.d.ts +2 -2
  483. package/multiselect/multiselect.d.ts +23 -1
  484. package/orderlist/orderlist.d.ts +7 -0
  485. package/organizationchart/organizationchart.d.ts +4 -0
  486. package/overlaypanel/overlaypanel.d.ts +5 -0
  487. package/package.json +106 -94
  488. package/paginator/paginator.d.ts +19 -2
  489. package/panel/panel.d.ts +3 -0
  490. package/panelmenu/panelmenu.d.ts +11 -1
  491. package/password/password.d.ts +6 -0
  492. package/picklist/picklist.d.ts +14 -3
  493. package/progressbar/progressbar.d.ts +2 -0
  494. package/radiobutton/radiobutton.d.ts +2 -0
  495. package/rating/rating.d.ts +4 -0
  496. package/resources/components/calendar/calendar.css +1 -0
  497. package/resources/components/cascadeselect/cascadeselect.css +1 -0
  498. package/resources/components/inputotp/inputotp.css +3 -0
  499. package/resources/components/rating/rating.css +2 -0
  500. package/resources/components/stepper/stepper.css +9 -0
  501. package/resources/themes/arya-blue/fonts/Inter-italic.var.woff2 +0 -0
  502. package/resources/themes/arya-blue/fonts/Inter-roman.var.woff2 +0 -0
  503. package/resources/themes/arya-blue/theme.css +287 -431
  504. package/resources/themes/arya-green/fonts/Inter-italic.var.woff2 +0 -0
  505. package/resources/themes/arya-green/fonts/Inter-roman.var.woff2 +0 -0
  506. package/resources/themes/arya-green/theme.css +287 -431
  507. package/resources/themes/arya-orange/fonts/Inter-italic.var.woff2 +0 -0
  508. package/resources/themes/arya-orange/fonts/Inter-roman.var.woff2 +0 -0
  509. package/resources/themes/arya-orange/theme.css +287 -431
  510. package/resources/themes/arya-purple/fonts/Inter-italic.var.woff2 +0 -0
  511. package/resources/themes/arya-purple/fonts/Inter-roman.var.woff2 +0 -0
  512. package/resources/themes/arya-purple/theme.css +287 -431
  513. package/resources/themes/aura-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  514. package/resources/themes/aura-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  515. package/resources/themes/aura-dark-amber/theme.css +7724 -0
  516. package/resources/themes/aura-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  517. package/resources/themes/aura-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  518. package/resources/themes/aura-dark-blue/theme.css +7724 -0
  519. package/resources/themes/aura-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  520. package/resources/themes/aura-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  521. package/resources/themes/aura-dark-cyan/theme.css +7724 -0
  522. package/resources/themes/aura-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  523. package/resources/themes/aura-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  524. package/resources/themes/aura-dark-green/theme.css +7724 -0
  525. package/resources/themes/aura-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  526. package/resources/themes/aura-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  527. package/resources/themes/aura-dark-indigo/theme.css +7724 -0
  528. package/resources/themes/aura-dark-lime/fonts/Inter-italic.var.woff2 +0 -0
  529. package/resources/themes/aura-dark-lime/fonts/Inter-roman.var.woff2 +0 -0
  530. package/resources/themes/aura-dark-lime/theme.css +7724 -0
  531. package/resources/themes/aura-dark-noir/fonts/Inter-italic.var.woff2 +0 -0
  532. package/resources/themes/aura-dark-noir/fonts/Inter-roman.var.woff2 +0 -0
  533. package/resources/themes/aura-dark-noir/theme.css +7724 -0
  534. package/resources/themes/aura-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  535. package/resources/themes/aura-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  536. package/resources/themes/aura-dark-pink/theme.css +7724 -0
  537. package/resources/themes/aura-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  538. package/resources/themes/aura-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  539. package/resources/themes/aura-dark-purple/theme.css +7724 -0
  540. package/resources/themes/aura-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  541. package/resources/themes/aura-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  542. package/resources/themes/aura-dark-teal/theme.css +7724 -0
  543. package/resources/themes/aura-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  544. package/resources/themes/aura-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  545. package/resources/themes/aura-light-amber/theme.css +7726 -0
  546. package/resources/themes/aura-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  547. package/resources/themes/aura-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  548. package/resources/themes/aura-light-blue/theme.css +7726 -0
  549. package/resources/themes/aura-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  550. package/resources/themes/aura-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  551. package/resources/themes/aura-light-cyan/theme.css +7726 -0
  552. package/resources/themes/aura-light-green/fonts/Inter-italic.var.woff2 +0 -0
  553. package/resources/themes/aura-light-green/fonts/Inter-roman.var.woff2 +0 -0
  554. package/resources/themes/aura-light-green/theme.css +7726 -0
  555. package/resources/themes/aura-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  556. package/resources/themes/aura-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  557. package/resources/themes/aura-light-indigo/theme.css +7726 -0
  558. package/resources/themes/aura-light-lime/fonts/Inter-italic.var.woff2 +0 -0
  559. package/resources/themes/aura-light-lime/fonts/Inter-roman.var.woff2 +0 -0
  560. package/resources/themes/aura-light-lime/theme.css +7726 -0
  561. package/resources/themes/aura-light-noir/fonts/Inter-italic.var.woff2 +0 -0
  562. package/resources/themes/aura-light-noir/fonts/Inter-roman.var.woff2 +0 -0
  563. package/resources/themes/aura-light-noir/theme.css +7734 -0
  564. package/resources/themes/aura-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  565. package/resources/themes/aura-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  566. package/resources/themes/aura-light-pink/theme.css +7726 -0
  567. package/resources/themes/aura-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  568. package/resources/themes/aura-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  569. package/resources/themes/aura-light-purple/theme.css +7726 -0
  570. package/resources/themes/aura-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  571. package/resources/themes/aura-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  572. package/resources/themes/aura-light-teal/theme.css +7726 -0
  573. package/resources/themes/bootstrap4-dark-blue/theme.css +287 -431
  574. package/resources/themes/bootstrap4-dark-purple/theme.css +287 -431
  575. package/resources/themes/bootstrap4-light-blue/theme.css +287 -431
  576. package/resources/themes/bootstrap4-light-purple/theme.css +287 -431
  577. package/resources/themes/fluent-light/theme.css +281 -431
  578. package/resources/themes/lara-dark-amber/theme.css +649 -448
  579. package/resources/themes/lara-dark-blue/theme.css +336 -431
  580. package/resources/themes/lara-dark-cyan/theme.css +649 -448
  581. package/resources/themes/lara-dark-green/theme.css +649 -448
  582. package/resources/themes/lara-dark-indigo/theme.css +336 -431
  583. package/resources/themes/lara-dark-pink/theme.css +649 -448
  584. package/resources/themes/lara-dark-purple/theme.css +336 -431
  585. package/resources/themes/lara-dark-teal/theme.css +336 -431
  586. package/resources/themes/lara-light-amber/theme.css +619 -467
  587. package/resources/themes/lara-light-blue/theme.css +287 -431
  588. package/resources/themes/lara-light-cyan/theme.css +619 -467
  589. package/resources/themes/lara-light-green/theme.css +619 -467
  590. package/resources/themes/lara-light-indigo/theme.css +287 -431
  591. package/resources/themes/lara-light-pink/theme.css +619 -467
  592. package/resources/themes/lara-light-purple/theme.css +287 -431
  593. package/resources/themes/lara-light-teal/theme.css +287 -431
  594. package/resources/themes/luna-amber/theme.css +287 -431
  595. package/resources/themes/luna-blue/theme.css +287 -431
  596. package/resources/themes/luna-green/theme.css +287 -431
  597. package/resources/themes/luna-pink/theme.css +287 -431
  598. package/resources/themes/md-dark-deeppurple/theme.css +370 -431
  599. package/resources/themes/md-dark-indigo/theme.css +370 -431
  600. package/resources/themes/md-light-deeppurple/theme.css +370 -431
  601. package/resources/themes/md-light-indigo/theme.css +370 -431
  602. package/resources/themes/mdc-dark-deeppurple/theme.css +370 -431
  603. package/resources/themes/mdc-dark-indigo/theme.css +370 -431
  604. package/resources/themes/mdc-light-deeppurple/theme.css +370 -431
  605. package/resources/themes/mdc-light-indigo/theme.css +370 -431
  606. package/resources/themes/mira/theme.css +287 -431
  607. package/resources/themes/nano/theme.css +287 -431
  608. package/resources/themes/nova/theme.css +287 -431
  609. package/resources/themes/nova-accent/theme.css +287 -431
  610. package/resources/themes/nova-alt/theme.css +287 -431
  611. package/resources/themes/rhea/theme.css +287 -431
  612. package/resources/themes/saga-blue/theme.css +287 -431
  613. package/resources/themes/saga-green/theme.css +287 -431
  614. package/resources/themes/saga-orange/theme.css +287 -431
  615. package/resources/themes/saga-purple/theme.css +287 -431
  616. package/resources/themes/soho-dark/theme.css +287 -431
  617. package/resources/themes/soho-light/theme.css +287 -431
  618. package/resources/themes/tailwind-light/theme.css +285 -431
  619. package/resources/themes/vela-blue/theme.css +287 -431
  620. package/resources/themes/vela-green/theme.css +287 -431
  621. package/resources/themes/vela-orange/theme.css +287 -431
  622. package/resources/themes/vela-purple/theme.css +287 -431
  623. package/resources/themes/viva-dark/theme.css +287 -431
  624. package/resources/themes/viva-light/theme.css +287 -431
  625. package/scrollpanel/scrollpanel.d.ts +1 -0
  626. package/scrolltop/scrolltop.d.ts +1 -0
  627. package/selectbutton/selectbutton.d.ts +5 -0
  628. package/sidebar/sidebar.d.ts +7 -0
  629. package/slidemenu/slidemenu.d.ts +17 -0
  630. package/slider/slider.d.ts +7 -0
  631. package/speeddial/speeddial.d.ts +7 -0
  632. package/speeddial/speeddial.interface.d.ts +17 -0
  633. package/spinner/spinner.d.ts +10 -0
  634. package/splitbutton/splitbutton.d.ts +72 -6
  635. package/splitter/splitter.d.ts +3 -0
  636. package/stepper/index.d.ts +5 -0
  637. package/stepper/public_api.d.ts +2 -0
  638. package/stepper/stepper.d.ts +125 -0
  639. package/stepper/stepper.interface.d.ts +26 -0
  640. package/steps/steps.d.ts +3 -0
  641. package/styleclass/styleclass.d.ts +2 -0
  642. package/table/table.d.ts +73 -2
  643. package/tabmenu/tabmenu.d.ts +2 -0
  644. package/tabview/tabview.d.ts +7 -0
  645. package/tag/tag.d.ts +11 -2
  646. package/tieredmenu/tieredmenu.d.ts +15 -3
  647. package/toast/toast.d.ts +7 -0
  648. package/togglebutton/togglebutton.d.ts +2 -0
  649. package/tooltip/tooltip.d.ts +9 -0
  650. package/tree/tree.d.ts +20 -0
  651. package/treeselect/treeselect.d.ts +25 -2
  652. package/treetable/treetable.d.ts +62 -4
  653. package/tristatecheckbox/tristatecheckbox.d.ts +3 -0
  654. package/virtualscroller/virtualscroller.d.ts +3 -0
@@ -1,5 +1,5 @@
1
1
  import { CommonModule, isPlatformBrowser } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Input, NgModule, Output, PLATFORM_ID, ViewChild, ViewChildren, ViewEncapsulation, signal } from '@angular/core';
2
+ import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Inject, Input, NgModule, Output, PLATFORM_ID, ViewChild, ViewChildren, ViewEncapsulation, booleanAttribute, signal } from '@angular/core';
3
3
  import { RouterModule } from '@angular/router';
4
4
  import { PrimeTemplate, SharedModule } from 'primeng/api';
5
5
  import { DomHandler } from 'primeng/dom';
@@ -327,8 +327,8 @@ export class TabMenu {
327
327
  });
328
328
  }
329
329
  }
330
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabMenu, deps: [{ token: PLATFORM_ID }, { token: i1.Router }, { token: i1.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
331
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", type: TabMenu, selector: "p-tabMenu", inputs: { model: "model", activeItem: "activeItem", scrollable: "scrollable", popup: "popup", style: "style", styleClass: "styleClass", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy" }, outputs: { activeItemChange: "activeItemChange" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "navbar", first: true, predicate: ["navbar"], descendants: true }, { propertyName: "inkbar", first: true, predicate: ["inkbar"], descendants: true }, { propertyName: "prevBtn", first: true, predicate: ["prevBtn"], descendants: true }, { propertyName: "nextBtn", first: true, predicate: ["nextBtn"], descendants: true }, { propertyName: "tabLink", predicate: ["tabLink"], descendants: true }, { propertyName: "tab", predicate: ["tab"], descendants: true }], ngImport: i0, template: `
330
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TabMenu, deps: [{ token: PLATFORM_ID }, { token: i1.Router }, { token: i1.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
331
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.1", type: TabMenu, selector: "p-tabMenu", inputs: { model: "model", activeItem: "activeItem", scrollable: ["scrollable", "scrollable", booleanAttribute], popup: ["popup", "popup", booleanAttribute], style: "style", styleClass: "styleClass", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy" }, outputs: { activeItemChange: "activeItemChange" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "navbar", first: true, predicate: ["navbar"], descendants: true }, { propertyName: "inkbar", first: true, predicate: ["inkbar"], descendants: true }, { propertyName: "prevBtn", first: true, predicate: ["prevBtn"], descendants: true }, { propertyName: "nextBtn", first: true, predicate: ["nextBtn"], descendants: true }, { propertyName: "tabLink", predicate: ["tabLink"], descendants: true }, { propertyName: "tab", predicate: ["tab"], descendants: true }], ngImport: i0, template: `
332
332
  <div [ngClass]="{ 'p-tabmenu p-component': true, 'p-tabmenu-scrollable': scrollable }" [ngStyle]="style" [class]="styleClass">
333
333
  <div class="p-tabmenu-nav-container">
334
334
  <button *ngIf="scrollable && !backwardIsDisabled" #prevBtn class="p-tabmenu-nav-prev p-tabmenu-nav-btn p-link" (click)="navBackward()" type="button" role="navigation" pRipple>
@@ -414,7 +414,7 @@ export class TabMenu {
414
414
  </div>
415
415
  `, isInline: true, styles: ["@layer primeng{.p-tabmenu-nav-container{position:relative}.p-tabmenu-scrollable .p-tabmenu-nav-container{overflow:hidden}.p-tabmenu-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain auto}.p-tabmenu-nav-btn{position:absolute;top:0;z-index:2;height:100%;display:flex;align-items:center;justify-content:center}.p-tabmenu-nav-prev{left:0}.p-tabmenu-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}.p-tabmenu-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:nowrap}.p-tabmenu-nav a{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1;white-space:nowrap}.p-tabmenu-ink-bar{display:none;z-index:1}.p-tabmenu-nav-content::-webkit-scrollbar{display:none}.p-tabmenuitem:not(.p-hidden){display:flex}}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => i1.RouterLink), selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i0.forwardRef(() => i1.RouterLinkActive), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i0.forwardRef(() => i3.Ripple), selector: "[pRipple]" }, { kind: "directive", type: i0.forwardRef(() => i4.Tooltip), selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i0.forwardRef(() => ChevronLeftIcon), selector: "ChevronLeftIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "ChevronRightIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
416
416
  }
417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabMenu, decorators: [{
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TabMenu, decorators: [{
418
418
  type: Component,
419
419
  args: [{ selector: 'p-tabMenu', template: `
420
420
  <div [ngClass]="{ 'p-tabmenu p-component': true, 'p-tabmenu-scrollable': scrollable }" [ngStyle]="style" [class]="styleClass">
@@ -511,9 +511,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
511
511
  }], activeItem: [{
512
512
  type: Input
513
513
  }], scrollable: [{
514
- type: Input
514
+ type: Input,
515
+ args: [{ transform: booleanAttribute }]
515
516
  }], popup: [{
516
- type: Input
517
+ type: Input,
518
+ args: [{ transform: booleanAttribute }]
517
519
  }], style: [{
518
520
  type: Input
519
521
  }], styleClass: [{
@@ -550,11 +552,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
550
552
  args: [PrimeTemplate]
551
553
  }] } });
552
554
  export class TabMenuModule {
553
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
554
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.2", ngImport: i0, type: TabMenuModule, declarations: [TabMenu], imports: [CommonModule, RouterModule, SharedModule, RippleModule, TooltipModule, ChevronLeftIcon, ChevronRightIcon], exports: [TabMenu, RouterModule, SharedModule, TooltipModule] });
555
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabMenuModule, imports: [CommonModule, RouterModule, SharedModule, RippleModule, TooltipModule, ChevronLeftIcon, ChevronRightIcon, RouterModule, SharedModule, TooltipModule] });
555
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TabMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
556
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: TabMenuModule, declarations: [TabMenu], imports: [CommonModule, RouterModule, SharedModule, RippleModule, TooltipModule, ChevronLeftIcon, ChevronRightIcon], exports: [TabMenu, RouterModule, SharedModule, TooltipModule] });
557
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TabMenuModule, imports: [CommonModule, RouterModule, SharedModule, RippleModule, TooltipModule, ChevronLeftIcon, ChevronRightIcon, RouterModule, SharedModule, TooltipModule] });
556
558
  }
557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: TabMenuModule, decorators: [{
559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TabMenuModule, decorators: [{
558
560
  type: NgModule,
559
561
  args: [{
560
562
  imports: [CommonModule, RouterModule, SharedModule, RippleModule, TooltipModule, ChevronLeftIcon, ChevronRightIcon],
@@ -562,4 +564,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImpor
562
564
  declarations: [TabMenu]
563
565
  }]
564
566
  }] });
565
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibWVudS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy90YWJtZW51L3RhYm1lbnUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ2xFLE9BQU8sRUFJSCx1QkFBdUIsRUFFdkIsU0FBUyxFQUNULGVBQWUsRUFFZixZQUFZLEVBQ1osTUFBTSxFQUNOLEtBQUssRUFDTCxRQUFRLEVBRVIsTUFBTSxFQUNOLFdBQVcsRUFHWCxTQUFTLEVBQ1QsWUFBWSxFQUNaLGlCQUFpQixFQUNqQixNQUFNLEVBQ1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUEwQixZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN2RSxPQUFPLEVBQVksYUFBYSxFQUFFLFlBQVksRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNwRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNL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FwiIChzY3JvbGwpPVwib25TY3JvbGwoJGV2ZW50KVwiPlxuICAgICAgICAgICAgICAgICAgICA8dWwgI25hdmJhciBjbGFzcz1cInAtdGFibWVudS1uYXYgcC1yZXNldFwiIHJvbGU9XCJtZW51YmFyXCIgW2F0dHIuYXJpYS1sYWJlbGxlZGJ5XT1cImFyaWFMYWJlbGxlZEJ5XCIgW2F0dHIuYXJpYS1sYWJlbF09XCJhcmlhTGFiZWxcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxsaVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICN0YWJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgaXRlbSBvZiBmb2N1c2FibGVJdGVtczsgbGV0IGkgPSBpbmRleFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcm9sZT1cInByZXNlbnRhdGlvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nU3R5bGVdPVwiaXRlbS5zdHlsZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NsYXNzXT1cIml0ZW0uc3R5bGVDbGFzc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuZGF0YS1wLWRpc2FibGVkXT1cImRpc2FibGVkKGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5kYXRhLXAtaGlnaGxpZ2h0XT1cImZvY3VzZWRJdGVtSW5mbygpID09PSBpdGVtXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiaXRlbUNsaWNrKCRldmVudCwgaXRlbSlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChrZXlkb3duKT1cIm9uS2V5ZG93bkl0ZW0oJGV2ZW50LCBpLCBpdGVtKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZvY3VzKT1cIm9uTWVudUl0ZW1Gb2N1cyhpdGVtKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwieyAncC10YWJtZW51aXRlbSc6IHRydWUsICdwLWRpc2FibGVkJzogZ2V0SXRlbVByb3AoaXRlbSwgJ2Rpc2FibGVkJyksICdwLWhpZ2hsaWdodCc6IGlzQWN0aXZlKGl0ZW0pLCAncC1oaWRkZW4nOiBpdGVtLnZpc2libGUgPT09IGZhbHNlIH1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBUb29sdGlwXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Rvb2x0aXBPcHRpb25zXT1cIml0ZW0udG9vbHRpcE9wdGlvbnNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICN0YWJMaW5rXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiIWl0ZW0ucm91dGVyTGluayAmJiAhaXRlbVRlbXBsYXRlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJwLW1lbnVpdGVtLWxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByb2xlPVwibWVudWl0ZW1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5ocmVmXT1cImdldEl0ZW1Qcm9wKGl0ZW0sICd1cmwnKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmlkXT1cImdldEl0ZW1Qcm9wKGl0ZW0sICdpZCcpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1kaXNhYmxlZF09XCJkaXNhYmxlZChpdGVtKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmFyaWEtbGFiZWxdPVwiZ2V0SXRlbVByb3AoaXRlbSwgJ2xhYmVsJylcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci50YWJpbmRleF09XCJkaXNhYmxlZChpdGVtKSA/IC0xIDogMFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0YXJnZXRdPVwiZ2V0SXRlbVByb3AoaXRlbSwgJ3RhcmdldCcpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcFJpcHBsZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicC1tZW51aXRlbS1pY29uXCIgW25nQ2xhc3NdPVwiaXRlbS5pY29uXCIgKm5nSWY9XCJpdGVtLmljb25cIiBbbmdTdHlsZV09XCJpdGVtLmljb25TdHlsZVwiPjwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicC1tZW51aXRlbS10ZXh0XCIgKm5nSWY9XCJpdGVtLmVzY2FwZSAhPT0gZmFsc2U7IGVsc2UgaHRtbExhYmVsXCI+e3sgZ2V0SXRlbVByb3AoaXRlbSwgJ2xhYmVsJykgfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2h0bWxMYWJlbD48c3BhbiBjbGFzcz1cInAtbWVudWl0ZW0tdGV4dFwiIFtpbm5lckhUTUxdPVwiZ2V0SXRlbVByb3AoaXRlbSwgJ2xhYmVsJylcIj48L3NwYW4+PC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicC1tZW51aXRlbS1iYWRnZVwiICpuZ0lmPVwiaXRlbS5iYWRnZVwiIFtuZ0NsYXNzXT1cIml0ZW0uYmFkZ2VTdHlsZUNsYXNzXCI+e3sgZ2V0SXRlbVByb3AoaXRlbSwgJ2JhZGdlJykgfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjdGFiTGlua1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0ucm91dGVyTGluayAmJiAhaXRlbVRlbXBsYXRlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3JvdXRlckxpbmtdPVwiaXRlbS5yb3V0ZXJMaW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3F1ZXJ5UGFyYW1zXT1cIml0ZW0ucXVlcnlQYXJhbXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcm91dGVyTGlua0FjdGl2ZV09XCIncC1tZW51aXRlbS1saW5rLWFjdGl2ZSdcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcm91dGVyTGlua0FjdGl2ZU9wdGlvbnNdPVwiaXRlbS5yb3V0ZXJMaW5rQWN0aXZlT3B0aW9ucyB8fCB7IGV4YWN0OiBmYWxzZSB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcm9sZT1cIm1lbnVpdGVtXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJwLW1lbnVpdGVtLWxpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGFyZ2V0XT1cIml0ZW0udGFyZ2V0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuaWRdPVwiZ2V0SXRlbVByb3AoaXRlbSwgJ2lkJylcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5hcmlhLWRpc2FibGVkXT1cImRpc2FibGVkKGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJnZXRJdGVtUHJvcChpdGVtLCAnbGFiZWwnKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLnRhYmluZGV4XT1cImRpc2FibGVkKGl0ZW0pID8gLTEgOiAwXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2ZyYWdtZW50XT1cIml0ZW0uZnJhZ21lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcXVlcnlQYXJhbXNIYW5kbGluZ109XCJpdGVtLnF1ZXJ5UGFyYW1zSGFuZGxpbmdcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcHJlc2VydmVGcmFnbWVudF09XCJpdGVtLnByZXNlcnZlRnJhZ21lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2tpcExvY2F0aW9uQ2hhbmdlXT1cIml0ZW0uc2tpcExvY2F0aW9uQ2hhbmdlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3JlcGxhY2VVcmxdPVwiaXRlbS5yZXBsYWNlVXJsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3N0YXRlXT1cIml0ZW0uc3RhdGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwUmlwcGxlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJwLW1lbnVpdGVtLWljb25cIiBbYXR0ci5hcmlhLWhpZGRlbl09XCJ0cnVlXCIgW25nQ2xhc3NdPVwiaXRlbS5pY29uXCIgKm5nSWY9XCJpdGVtLmljb25cIiBbbmdTdHls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VjdG9yUmVmKSB7fVxuXG4gICAgbmdBZnRlckNvbnRlbnRJbml0KCkge1xuICAgICAgICB0aGlzLnRlbXBsYXRlcz8uZm9yRWFjaCgoaXRlbSkgPT4ge1xuICAgICAgICAgICAgc3dpdGNoIChpdGVtLmdldFR5cGUoKSkge1xuICAgICAgICAgICAgICAgIGNhc2UgJ2l0ZW0nOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLml0ZW1UZW1wbGF0ZSA9IGl0ZW0udGVtcGxhdGU7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgY2FzZSAnbmV4dGljb24nOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLm5leHRJY29uVGVtcGxhdGUgPSBpdGVtLnRlbXBsYXRlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgIGNhc2UgJ3ByZXZpb3VzaWNvbic6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucHJldmlvdXNJY29uVGVtcGxhdGUgPSBpdGVtLnRlbXBsYXRlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaXRlbVRlbXBsYXRlID0gaXRlbS50ZW1wbGF0ZTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICAgICAgaWYgKGlzUGxhdGZvcm1Ccm93c2VyKHRoaXMucGxhdGZvcm1JZCkpIHtcbiAgICAgICAgICAgIHRoaXMudXBkYXRlSW5rQmFyKCk7XG4gICAgICAgICAgICB0aGlzLmluaXRBdXRvU2Nyb2xsRm9yQWN0aXZlSXRlbSgpO1xuICAgICAgICAgICAgdGhpcy5pbml0QnV0dG9uU3RhdGUoKTtcbiAgICAgICAgfV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oYW5nZWQgPSB0cnVlO1xuICAgICAgICB0aGlzLmNkLm1hcmtGb3JDaGVjaygpO1xuICAgIH1cblxuICAgIG9uS2V5ZG93bkl0ZW0oZXZlbnQsIGluZGV4LCBpdGVtKSB7XG4gICAgICAgIGxldCBpID0gaW5kZXg7XG5cbiAgICAgICAgbGV0IGZvdW5kRWxlbWVudCA9IHt9O1xuICAgICAgICBjb25zdCB0YWJMaW5rcyA9IHRoaXMudGFiTGluay50b0FycmF5KCk7XG4gICAgICAgIGNvbnN0IHRhYnMgPSB0aGlzLnRhYi50b0FycmF5KCk7XG5cbiAgICAgICAgc3dpdGNoIChldmVudC5jb2RlKSB7XG4gICAgICAgICAgICBjYXNlICdBcnJvd1JpZ2h0JzpcbiAgICAgICAgICAgICAgICBmb3VuZEVsZW1lbnQgPSB0aGlzLmZpbmROZXh0SXRlbSh0YWJzLCBpKTtcbiAgICAgICAgICAgICAgICBpID0gZm91bmRFbGVtZW50WydpJ107XG4gICAgICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgICAgIGNhc2UgJ0Fycm93TGVmdCc6XG4gICAgICAgICAgICAgICAgZm91bmRFbGVtZW50ID0gdGhpcy5maW5kUHJldkl0ZW0odGFicywgaSk7XG4gICAgICAgICAgICAgICAgaSA9IGZvdW5kRWxlbWVudFsnaSddO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICBjYXNlICdFbmQnOlxuICAgICAgICAgICAgICAgIGZvdW5kRWxlbWVudCA9IHRoaXMuZmluZFByZXZJdGVtKHRhYnMsIHRoaXMubW9kZWwubGVuZ3RoKTtcbiAgICAgICAgICAgICAgICBpID0gZm91bmRFbGVtZW50WydpJ107XG5cbiAgICAgICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICBjYXNlICdIb21lJzpcbiAgICAgICAgICAgICAgICBmb3VuZEVsZW1lbnQgPSB0aGlzLmZpbmROZXh0SXRlbSh0YWJzLCAtMSk7XG4gICAgICAgICAgICAgICAgaSA9IGZvdW5kRWxlbWVudFsnaSddO1xuXG4gICAgICAgICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgY2FzZSAnU3BhY2UnOlxuICAgICAgICAgICAgY2FzZSAnRW50ZXInOlxuICAgICAgICAgICAgICAgIHRoaXMuaXRlbUNsaWNrKGV2ZW50LCBpdGVtKTtcbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgY2FzZSAnVGFiJzpcbiAgICAgICAgICAgICAgICB0aGlzLm9uVGFiS2V5RG93bih0YWJMaW5rcyk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGFiTGlua3NbaV0gJiYgdGFiTGlua3NbaW5kZXhdKSB7XG4gICAgICAgICAgICB0YWJMaW5rc1tpbmRleF0ubmF0aXZlRWxlbWVudC50YWJJbmRleCA9ICctMSc7XG4gICAgICAgICAgICB0YWJMaW5rc1tpXS5uYXRpdmVFbGVtZW50LnRhYkluZGV4ID0gJzAnO1xuICAgICAgICAgICAgdGFiTGlua3NbaV0ubmF0aXZlRWxlbWVudC5mb2N1cygpO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMuY2QubWFya0ZvckNoZWNrKCk7XG4gICAgfVxuXG4gICAgb25UYWJLZXlEb3duKHRhYkxpbmtzKSB7XG4gICAgICAgIHRhYkxpbmtzLmZvckVhY2goKGl0ZW0pID0+IHtcbiAgICAgICAgICAgIGl0ZW0ubmF0aXZlRWxlbWVudC50YWJJbmRleCA9IERvbUhhbmRsZXIuZ2V0QXR0cmlidXRlKGl0ZW0ubmF0aXZlRWxlbWVudC5wYXJlbnRFbGVtZW50LCAnZGF0YS1wLWhp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xhdGVcIiBbYXR0ci5hcmlhLWhpZGRlbl09XCJ0cnVlXCIgLz5cbiAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICpuZ1RlbXBsYXRlT3V0bGV0PVwicHJldmlvdXNJY29uVGVtcGxhdGVcIj48L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDxkaXYgI2NvbnRlbnQgY2xhc3M9XCJwLXRhYm1lbnUtbmF2LWNvbnRlbnRcIiAoc2Nyb2xsKT1cIm9uU2Nyb2xsKCRldmVudClcIj5cbiAgICAgICAgICAgICAgICAgICAgPHVsICNuYXZiYXIgY2xhc3M9XCJwLXRhYm1lbnUtbmF2IHAtcmVzZXRcIiByb2xlPVwibWVudWJhclwiIFthdHRyLmFyaWEtbGFiZWxsZWRieV09XCJhcmlhTGFiZWxsZWRCeVwiIFthdHRyLmFyaWEtbGFiZWxdPVwiYXJpYUxhYmVsXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bGlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAjdGFiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nRm9yPVwibGV0IGl0ZW0gb2YgZm9jdXNhYmxlSXRlbXM7IGxldCBpID0gaW5kZXhcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvbGU9XCJwcmVzZW50YXRpb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ1N0eWxlXT1cIml0ZW0uc3R5bGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjbGFzc109XCJpdGVtLnN0eWxlQ2xhc3NcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmRhdGEtcC1kaXNhYmxlZF09XCJkaXNhYmxlZChpdGVtKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuZGF0YS1wLWhpZ2hsaWdodF09XCJmb2N1c2VkSXRlbUluZm8oKSA9PT0gaXRlbVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIml0ZW1DbGljaygkZXZlbnQsIGl0ZW0pXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoa2V5ZG93bik9XCJvbktleWRvd25JdGVtKCRldmVudCwgaSwgaXRlbSlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmb2N1cyk9XCJvbk1lbnVJdGVtRm9jdXMoaXRlbSlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cInsgJ3AtdGFibWVudWl0ZW0nOiB0cnVlLCAncC1kaXNhYmxlZCc6IGdldEl0ZW1Qcm9wKGl0ZW0sICdkaXNhYmxlZCcpLCAncC1oaWdobGlnaHQnOiBpc0FjdGl2ZShpdGVtKSwgJ3AtaGlkZGVuJzogaXRlbS52aXNpYmxlID09PSBmYWxzZSB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwVG9vbHRpcFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0b29sdGlwT3B0aW9uc109XCJpdGVtLnRvb2x0aXBPcHRpb25zXCJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjdGFiTGlua1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIiFpdGVtLnJvdXRlckxpbmsgJiYgIWl0ZW1UZW1wbGF0ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwicC1tZW51aXRlbS1saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcm9sZT1cIm1lbnVpdGVtXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuaHJlZl09XCJnZXRJdGVtUHJvcChpdGVtLCAndXJsJylcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5pZF09XCJnZXRJdGVtUHJvcChpdGVtLCAnaWQnKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmFyaWEtZGlzYWJsZWRdPVwiZGlzYWJsZWQoaXRlbSlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cImdldEl0ZW1Qcm9wKGl0ZW0sICdsYWJlbCcpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIudGFiaW5kZXhdPVwiZGlzYWJsZWQoaXRlbSkgPyAtMSA6IDBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGFyZ2V0XT1cImdldEl0ZW1Qcm9wKGl0ZW0sICd0YXJnZXQnKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBSaXBwbGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInAtbWVudWl0ZW0taWNvblwiIFtuZ0NsYXNzXT1cIml0ZW0uaWNvblwiICpuZ0lmPVwiaXRlbS5pY29uXCIgW25nU3R5bGVdPVwiaXRlbS5pY29uU3R5bGVcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInAtbWVudWl0ZW0tdGV4dFwiICpuZ0lmPVwiaXRlbS5lc2NhcGUgIT09IGZhbHNlOyBlbHNlIGh0bWxMYWJlbFwiPnt7IGdldEl0ZW1Qcm9wKGl0ZW0sICdsYWJlbCcpIH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNodG1sTGFiZWw+PHNwYW4gY2xhc3M9XCJwLW1lbnVpdGVtLXRleHRcIiBbaW5uZXJIVE1MXT1cImdldEl0ZW1Qcm9wKGl0ZW0sICdsYWJlbCcpXCI+PC9zcGFuPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInAtbWVudWl0ZW0tYmFkZ2VcIiAqbmdJZj1cIml0ZW0uYmFkZ2VcIiBbbmdDbGFzc109XCJpdGVtLmJhZGdlU3R5bGVDbGFzc1wiPnt7IGdldEl0ZW1Qcm9wKGl0ZW0sICdiYWRnZScpIH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI3RhYkxpbmtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJpdGVtLnJvdXRlckxpbmsgJiYgIWl0ZW1UZW1wbGF0ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtyb3V0ZXJMaW5rXT1cIml0ZW0ucm91dGVyTGlua1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtxdWVyeVBhcmFtc109XCJpdGVtLnF1ZXJ5UGFyYW1zXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3JvdXRlckxpbmtBY3RpdmVdPVwiJ3AtbWVudWl0ZW0tbGluay1hY3RpdmUnXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3JvdXRlckxpbmtBY3RpdmVPcHRpb25zXT1cIml0ZW0ucm91dGVyTGlua0FjdGl2ZU9wdGlvbnMgfHwgeyBleGFjdDogZmFsc2UgfVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJvbGU9XCJtZW51aXRlbVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwicC1tZW51aXRlbS1saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3RhcmdldF09XCJpdGVtLnRhcmdldFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmlkXT1cImdldEl0ZW1Qcm9wKGl0ZW0sICdpZCcpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1kaXNhYmxlZF09XCJkaXNhYmxlZChpdGVtKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmFyaWEtbGFiZWxdPVwiZ2V0SXRlbVByb3AoaXRlbSwgJ2xhYmVsJylcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci50YWJpbmRleF09XCJkaXNhYmxlZChpdGVtKSA/IC0xIDogMFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmcmFnbWVudF09XCJpdGVtLmZyYWdtZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3F1ZXJ5UGFyYW1zSGFuZGxpbmddPVwiaXRlbS5xdWVyeVBhcmFtc0hhbmRsaW5nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3ByZXNlcnZlRnJhZ21lbnRdPVwiaXRlbS5wcmVzZXJ2ZUZyYWdtZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NraXBMb2NhdGlvbkNoYW5nZV09XCJpdGVtLnNraXBMb2NhdGlvbkNoYW5nZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtyZXBsYWNlVXJsXT1cIml0ZW0ucmVwbGFjZVVybFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzdGF0ZV09XCJpdGVtLnN0YXRlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcFJpcHBsZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicC1tZW51aXRlbS1pY29uXCIgW2F0dHIuYXJpYS1oaWRkZW5dPVwidHJ1ZVwiIFtuZ0NsYXNzXT1cIml0ZW0uaWNvblwiICpuZ0lmPVwiaXRlbS5pY29uXCIgW25nU3R5bGVdPVwiaXRlbS5pY29uU3R5bGVcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInAtbWVudWl0ZW0tdGV4dFwiICpuZ0lmPVwiaXRlbS5lc2NhcGUgIT09IGZhbHNlOyBlbHNlIGh0bWxSb3V0ZUxhYmVsXCI+e3sgZ2V0SXRlbVByb3AoaXRlbSwgJ2xhYmVsJykgfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgI2h0bWxSb3V0ZUxhYmVsPjxzcGFuIGNsYXNzPVwicC1tZW51aXRlbS10ZXh0XCIgW2lubmVySFRNTF09XCJnZXRJdGVtUHJvcChpdGVtLCAnbGFiZWwnKVwiPjwvc3Bhbj48L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJwLW1lbnVpdGVtLWJhZGdlXCIgKm5nSWY9XCJpdGVtLmJhZGdlXCIgW25nQ2xhc3NdPVwiaXRlbS5iYWRnZVN0eWxlQ2xhc3NcIj57eyBnZXRJdGVtUHJvcChpdGVtLCAnYmFkZ2UnKSB9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICA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VtKSA9PiB7XG4gICAgICAgICAgICAgICAgcmVzdWx0LnB1c2goaXRlbSk7XG5cbiAgICAgICAgICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgICAgICAgICAgfSwgW10pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB0aGlzLl9mb2N1c2FibGVJdGVtcztcbiAgICB9XG5cbiAgICBjb25zdHJ1Y3RvcihASW5qZWN0KFBMQVRGT1JNX0lEKSBwcml2YXRlIHBsYXRmb3JtSWQ6IGFueSwgcHJpdmF0ZSByb3V0ZXI6IFJvdXRlciwgcHJpdmF0ZSByb3V0ZTogQWN0aXZhdGVkUm91dGUsIHByaXZhdGUgY2Q6IENoYW5nZURldGVjdG9yUmVmKSB7fVxuXG4gICAgbmdBZnRlckNvbnRlbnRJbml0KCkge1xuICAgICAgICB0aGlzLnRlbXBsYXRlcz8uZm9yRWFjaCgoaXRlbSkgPT4ge1xuICAgICAgICAgICAgc3dpdGNoIChpdGVtLmdldFR5cGUoKSkge1xuICAgICAgICAgICAgICAgIGNhc2UgJ2l0ZW0nOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLml0ZW1UZW1wbGF0ZSA9IGl0ZW0udGVtcGxhdGU7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgY2FzZSAnbmV4dGljb24nOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLm5leHRJY29uVGVtcGxhdGUgPSBpdGVtLnRlbXBsYXRlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgIGNhc2UgJ3ByZXZpb3VzaWNvbic6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucHJldmlvdXNJY29uVGVtcGxhdGUgPSBpdGVtLnRlbXBsYXRlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaXRlbVRlbXBsYXRlID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KSB7XG4gICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGl0ZW0uY29tbWFuZCkge1xuICAgICAgICAgICAgaXRlbS5jb21tYW5kKHtcbiAgICAgICAgICAgICAgICBvcmlnaW5hbEV2ZW50OiBldmVudCxcbiAgICAgICAgICAgICAgICBpdGVtOiBpdGVtXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuYWN0aXZlSXRlbSA9IGl0ZW07XG4gICAgICAgIHRoaXMuYWN0aXZlSXRlbUNoYW5nZS5lbWl0KGl0ZW0pO1xuICAgICAgICB0aGlzLnRhYkNoYW5nZWQgPSB0cnVlO1xuICAgICAgICB0aGlzLmNkLm1hcmtGb3JDaGVjaygpO1xuICAgIH1cblxuICAgIG9uS2V5ZG93bkl0ZW0oZXZlbnQsIGluZGV4LCBpdGVtKSB7XG4gICAgICAgIGxldCBpID0gaW5kZXg7XG5cbiAgICAgICAgbGV0IGZvdW5kRWxlbWVudCA9IHt9O1xuICAgICAgICBjb25zdCB0YWJMaW5rcyA9IHRoaXMudGFiTGluay50b0FycmF5KCk7XG4gICAgICAgIGNvbnN0IHRhYnMgPSB0aGlzLnRhYi50b0FycmF5KCk7XG5cbiAgICAgICAgc3dpdGNoIChldmVudC5jb2RlKSB7XG4gICAgICAgICAgICBjYXNlICdBcnJvd1JpZ2h0JzpcbiAgICAgICAgICAgICAgICBmb3VuZEVsZW1lbnQgPSB0aGlzLmZpbmROZXh0SXRlbSh0YWJzLCBpKTtcbiAgICAgICAgICAgICAgICBpID0gZm91bmRFbGVtZW50WydpJ107XG4gICAgICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgICAgIGNhc2UgJ0Fycm93TGVmdCc6XG4gICAgICAgICAgICAgICAgZm91bmRFbGVtZW50ID0gdGhpcy5maW5kUHJldkl0ZW0odGFicywgaSk7XG4gICAgICAgICAgICAgICAgaSA9IGZvdW5kRWxlbWVudFsnaSddO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICBjYXNlICdFbmQnOlxuICAgICAgICAgICAgICAgIGZvdW5kRWxlbWVudCA9IHRoaXMuZmluZFByZXZJdGVtKHRhYnMsIHRoaXMubW9kZWwubGVuZ3RoKTtcbiAgICAgICAgICAgICAgICBpID0gZm91bmRFbGVtZW50WydpJ107XG5cbiAgICAgICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICBjYXNlICdIb21lJzpcbiAgICAgICAgICAgICAgICBmb3VuZEVsZW1lbnQgPSB0aGlzLmZpbmROZXh0SXRlbSh0YWJzLCAtMSk7XG4gICAgICAgICAgICAgICAgaSA9IGZvdW5kRWxlbWVudFsnaSddO1xuXG4gICAgICAgICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgY2FzZSAnU3BhY2UnOlxuICAgICAgICAgICAgY2FzZSAnRW50ZXInOlxuICAgICAgICAgICAgICAgIHRoaXMuaXRlbUNsaWNrKGV2ZW50LCBpdGVtKTtcbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgY2FzZSAnVGFiJzpcbiAgICAgICAgICAgICAgICB0aGlzLm9uVGFiS2V5RG93bih0YWJMaW5rcyk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGFiTGlua3NbaV0gJiYgdGFiTGlua3NbaW5kZXhdKSB7XG4gICAgICAgICAgICB0YWJMaW5rc1tpbmRleF0ubmF0aXZlRWxlbWVudC50YWJJbmRleCA9ICctMSc7XG4gICAgICAgICAgICB0YWJMaW5rc1tpXS5uYXRpdmVFbGVtZW50LnRh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