@pod-os/elements 0.26.0 → 0.26.1-rc.2078d14.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 (453) hide show
  1. package/dist/cjs/elements.cjs.js +1 -1
  2. package/dist/cjs/ion-icon_31.cjs.entry.js +312 -461
  3. package/dist/cjs/ion-icon_31.cjs.entry.js.map +1 -1
  4. package/dist/cjs/ion-searchbar.cjs.entry.js +430 -0
  5. package/dist/cjs/ion-searchbar.cjs.entry.js.map +1 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/apps/pos-app-browser/pos-app-browser.css +8 -15
  8. package/dist/collection/apps/pos-app-browser/pos-app-browser.js +12 -3
  9. package/dist/collection/apps/pos-app-browser/pos-app-browser.js.map +1 -1
  10. package/dist/collection/collection-manifest.json +2 -1
  11. package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.css +2 -2
  12. package/dist/collection/components/pos-make-findable/pos-make-findable.css +7 -4
  13. package/dist/collection/components/pos-navigation/__test/typeToSearch.js +12 -0
  14. package/dist/collection/components/pos-navigation/__test/typeToSearch.js.map +1 -0
  15. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.css +28 -0
  16. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js +102 -0
  17. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js.map +1 -0
  18. package/dist/collection/components/pos-navigation/pos-navigation.css +115 -0
  19. package/dist/collection/components/{pos-navigation-bar/pos-navigation-bar.js → pos-navigation/pos-navigation.js} +75 -18
  20. package/dist/collection/components/pos-navigation/pos-navigation.js.map +1 -0
  21. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  22. package/dist/collection/components/pos-rich-link/pos-rich-link.css +1 -1
  23. package/dist/collection/components/pos-rich-link/pos-rich-link.js +2 -2
  24. package/dist/collection/components/pos-router/pos-router.css +1 -1
  25. package/dist/collection/components/pos-router/pos-router.js +1 -1
  26. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  27. package/dist/components/Subject.js +700 -0
  28. package/dist/components/Subject.js.map +1 -0
  29. package/dist/components/ion-searchbar.js +475 -1
  30. package/dist/components/ion-searchbar.js.map +1 -1
  31. package/dist/components/pos-add-new-thing2.js +1 -1
  32. package/dist/components/pos-add-new-thing2.js.map +1 -1
  33. package/dist/components/pos-app-browser.js +49 -40
  34. package/dist/components/pos-app-browser.js.map +1 -1
  35. package/dist/components/pos-app2.js +1 -697
  36. package/dist/components/pos-app2.js.map +1 -1
  37. package/dist/components/pos-make-findable2.js +1 -1
  38. package/dist/components/pos-make-findable2.js.map +1 -1
  39. package/dist/components/pos-navigation-bar2.js +21 -109
  40. package/dist/components/pos-navigation-bar2.js.map +1 -1
  41. package/dist/components/pos-navigation.d.ts +11 -0
  42. package/dist/components/pos-navigation.js +8 -0
  43. package/dist/components/pos-navigation.js.map +1 -0
  44. package/dist/components/pos-navigation2.js +394 -0
  45. package/dist/components/pos-navigation2.js.map +1 -0
  46. package/dist/components/pos-new-thing-form2.js +1 -1
  47. package/dist/components/pos-rich-link2.js +3 -3
  48. package/dist/components/pos-rich-link2.js.map +1 -1
  49. package/dist/components/pos-router2.js +2 -2
  50. package/dist/components/pos-router2.js.map +1 -1
  51. package/dist/components/pos-select-term2.js +1 -1
  52. package/dist/elements/elements.esm.js +1 -1
  53. package/dist/elements/elements.esm.js.map +1 -1
  54. package/dist/elements/{p-a6c03ce8.js → p-01adc2b7.js} +2 -2
  55. package/dist/elements/{p-7190d53c.entry.js → p-09ff1516.entry.js} +2 -2
  56. package/dist/elements/{p-307d1531.js → p-0a6631d5.js} +2 -2
  57. package/dist/elements/{p-c698ab8e.entry.js → p-0b3d14ec.entry.js} +3 -3
  58. package/dist/elements/{p-d8818bb3.entry.js → p-0d4f129d.entry.js} +2 -2
  59. package/dist/elements/p-104fee38.entry.js +2 -0
  60. package/dist/elements/{p-6cc9961e.entry.js → p-11466af2.entry.js} +2 -2
  61. package/dist/elements/{p-3e6ffc13.entry.js → p-11845ff3.entry.js} +2 -2
  62. package/dist/elements/p-13b1d6fe.entry.js +2 -0
  63. package/dist/elements/{p-d358565a.entry.js.map → p-13b1d6fe.entry.js.map} +1 -1
  64. package/dist/elements/p-14bf4c7a.entry.js +2 -0
  65. package/dist/elements/{p-66a58eb0.entry.js.map → p-14bf4c7a.entry.js.map} +1 -1
  66. package/dist/elements/{p-a507d627.entry.js → p-151d1ec8.entry.js} +2 -2
  67. package/dist/elements/{p-89aef852.js → p-1930ffd5.js} +2 -2
  68. package/dist/elements/{p-aa7d93f1.entry.js → p-1a1222a3.entry.js} +2 -2
  69. package/dist/elements/{p-4dd65d40.entry.js → p-1e05efd7.entry.js} +2 -2
  70. package/dist/elements/{p-f50c3045.entry.js → p-1faf2d02.entry.js} +2 -2
  71. package/dist/elements/{p-a421bbe5.entry.js → p-21e90439.entry.js} +2 -2
  72. package/dist/elements/p-220cce23.entry.js +2 -0
  73. package/dist/{components/searchbar.js.map → elements/p-220cce23.entry.js.map} +1 -1
  74. package/dist/elements/{p-552a9992.entry.js → p-22c21319.entry.js} +2 -2
  75. package/dist/elements/{p-66973c59.entry.js → p-24d93ddd.entry.js} +2 -2
  76. package/dist/elements/p-2551eb06.entry.js +2 -0
  77. package/dist/elements/{p-bca341ba.entry.js.map → p-2551eb06.entry.js.map} +1 -1
  78. package/dist/elements/p-258f2385.entry.js +2 -0
  79. package/dist/elements/{p-72a9cbdc.entry.js → p-27bd8113.entry.js} +2 -2
  80. package/dist/elements/{p-c350af00.entry.js → p-2948d57b.entry.js} +2 -2
  81. package/dist/elements/{p-41bb9792.entry.js → p-2cdaf88b.entry.js} +2 -2
  82. package/dist/elements/{p-fa0be1d8.entry.js → p-2e08ee3a.entry.js} +2 -2
  83. package/dist/elements/{p-239442f9.entry.js → p-2e0c20e7.entry.js} +2 -2
  84. package/dist/elements/p-2ec92ff9.entry.js +2 -0
  85. package/dist/elements/p-2f3623f1.entry.js +2 -0
  86. package/dist/elements/{p-c01a4a79.entry.js.map → p-2f3623f1.entry.js.map} +1 -1
  87. package/dist/elements/{p-8e8881a8.entry.js → p-30834f34.entry.js} +2 -2
  88. package/dist/elements/p-30cd90ec.js +6 -0
  89. package/dist/elements/{p-ae984107.entry.js → p-3585f786.entry.js} +2 -2
  90. package/dist/elements/{p-d08312dd.entry.js → p-35f84573.entry.js} +2 -2
  91. package/dist/elements/p-3e130681.entry.js +2 -0
  92. package/dist/elements/{p-bdea20c4.entry.js.map → p-3e130681.entry.js.map} +1 -1
  93. package/dist/elements/{p-ffa8c481.entry.js → p-3f02cc92.entry.js} +2 -2
  94. package/dist/elements/{p-71ee259b.js → p-3f316fc4.js} +2 -2
  95. package/dist/elements/{p-bc675b21.entry.js → p-3f3b74e6.entry.js} +2 -2
  96. package/dist/elements/p-40a2d567.entry.js +2 -0
  97. package/dist/elements/{p-e78cf007.entry.js → p-4dc7c524.entry.js} +2 -2
  98. package/dist/elements/{p-c191e6df.js → p-4e8c31fa.js} +8 -8
  99. package/dist/elements/{p-a45b1964.entry.js → p-5051d2a6.entry.js} +2 -2
  100. package/dist/elements/{p-e0de7c6a.entry.js → p-5a061ddb.entry.js} +2 -2
  101. package/dist/elements/{p-061819d1.js → p-5a8e7149.js} +3 -3
  102. package/dist/elements/p-5bf4c45a.js +5 -0
  103. package/dist/elements/{p-b9dcf3b2.js → p-5e8a3893.js} +2 -2
  104. package/dist/elements/{p-300ec095.entry.js → p-602861f4.entry.js} +3 -3
  105. package/dist/elements/{p-4a370bdc.entry.js → p-627d5e73.entry.js} +2 -2
  106. package/dist/elements/{p-406df11a.entry.js → p-648dac6c.entry.js} +2 -2
  107. package/dist/elements/{p-07d2bd5a.entry.js → p-650db824.entry.js} +2 -2
  108. package/dist/elements/{p-cb550d04.entry.js → p-682dd0f9.entry.js} +2 -2
  109. package/dist/elements/{p-59ec8b76.entry.js → p-689a5c54.entry.js} +3 -3
  110. package/dist/elements/{p-d6394ee4.entry.js → p-6a701de0.entry.js} +2 -2
  111. package/dist/elements/{p-f4035b4a.entry.js → p-6ca9bad7.entry.js} +2 -2
  112. package/dist/elements/{p-25926b66.entry.js → p-6cae9207.entry.js} +2 -2
  113. package/dist/elements/{p-6119b57a.entry.js → p-6e5c902a.entry.js} +2 -2
  114. package/dist/elements/{p-0ddcbecd.entry.js → p-72ba182e.entry.js} +2 -2
  115. package/dist/elements/p-7c14c1f9.entry.js +20 -0
  116. package/dist/elements/p-7c14c1f9.entry.js.map +1 -0
  117. package/dist/elements/{p-1b2d32c1.entry.js → p-8619a806.entry.js} +2 -2
  118. package/dist/elements/{p-4383e1bb.entry.js → p-87af433a.entry.js} +2 -2
  119. package/dist/elements/{p-f96384f2.entry.js → p-87eb06bc.entry.js} +2 -2
  120. package/dist/elements/p-8a691722.entry.js +2 -0
  121. package/dist/elements/{p-95161a5d.entry.js.map → p-8a691722.entry.js.map} +1 -1
  122. package/dist/elements/{p-e8268c7a.entry.js → p-8c13ce70.entry.js} +2 -2
  123. package/dist/elements/{p-b64a85bf.entry.js → p-8f6d4374.entry.js} +2 -2
  124. package/dist/elements/{p-949b115f.js → p-91025a2c.js} +3 -3
  125. package/dist/elements/{p-71835d6f.entry.js → p-95036276.entry.js} +2 -2
  126. package/dist/elements/{p-42169e41.js → p-97889672.js} +2 -2
  127. package/dist/elements/p-97fa472f.entry.js +2 -0
  128. package/dist/elements/{p-a06d93c7.entry.js.map → p-97fa472f.entry.js.map} +1 -1
  129. package/dist/elements/{p-8b209e66.entry.js → p-9840f300.entry.js} +2 -2
  130. package/dist/elements/p-98b2844f.js +5 -0
  131. package/dist/elements/{p-fa19a3e9.entry.js → p-9d23baee.entry.js} +2 -2
  132. package/dist/elements/{p-7e8b8df1.entry.js → p-9d6c94d3.entry.js} +2 -2
  133. package/dist/elements/{p-41854c8f.entry.js → p-9d81c061.entry.js} +2 -2
  134. package/dist/elements/{p-dadb557e.entry.js → p-a19fb8fa.entry.js} +4 -4
  135. package/dist/elements/{p-9a4bf79e.entry.js → p-a7c9aa13.entry.js} +2 -2
  136. package/dist/elements/{p-0ee8b7a7.js → p-acfa402f.js} +2 -2
  137. package/dist/elements/{p-facc0ac5.entry.js → p-af03cfbe.entry.js} +2 -2
  138. package/dist/elements/{p-b8bd7745.entry.js → p-af2b9ecb.entry.js} +2 -2
  139. package/dist/elements/{p-cbf050d6.js → p-b110cb49.js} +2 -2
  140. package/dist/elements/{p-09d80405.entry.js → p-b1292dde.entry.js} +2 -2
  141. package/dist/elements/{p-4ccdbcbf.entry.js → p-b1de75a4.entry.js} +2 -2
  142. package/dist/elements/p-b2c94853.entry.js +2 -0
  143. package/dist/elements/{p-250d4bf1.entry.js.map → p-b2c94853.entry.js.map} +1 -1
  144. package/dist/elements/{p-a376351f.entry.js → p-b34203cd.entry.js} +2 -2
  145. package/dist/elements/{p-dc709055.entry.js → p-b954a40f.entry.js} +2 -2
  146. package/dist/elements/{p-1fc8e557.js → p-bde7428a.js} +2 -2
  147. package/dist/elements/{p-734e5a97.js → p-bf5335d4.js} +2 -2
  148. package/dist/elements/p-c1df6af7.js +8 -0
  149. package/dist/elements/{p-cbae963d.js → p-c30eb80f.js} +3 -3
  150. package/dist/elements/{p-4c078751.entry.js → p-c4332c66.entry.js} +2 -2
  151. package/dist/elements/{p-8e1c68eb.entry.js → p-c466d5bf.entry.js} +2 -2
  152. package/dist/elements/{p-36caf749.entry.js → p-c4894c44.entry.js} +2 -2
  153. package/dist/elements/{p-87c81685.entry.js → p-c4e1867e.entry.js} +2 -2
  154. package/dist/elements/{p-645632a8.entry.js → p-c7db2b55.entry.js} +5 -5
  155. package/dist/elements/p-cb3e5072.entry.js +2 -0
  156. package/dist/elements/{p-49fcec88.entry.js → p-d54d552d.entry.js} +6 -6
  157. package/dist/elements/{p-2a548485.entry.js → p-d7b597ed.entry.js} +2 -2
  158. package/dist/elements/p-da0c771e.js +5 -0
  159. package/dist/elements/{p-7183a9ca.entry.js → p-dbb94429.entry.js} +2 -2
  160. package/dist/elements/{p-c9604122.entry.js → p-de6d7967.entry.js} +2 -2
  161. package/dist/elements/p-e05f218c.entry.js +2 -0
  162. package/dist/elements/{p-2f0509be.entry.js.map → p-e05f218c.entry.js.map} +1 -1
  163. package/dist/elements/{p-b5f6b322.entry.js → p-e15ff70c.entry.js} +2 -2
  164. package/dist/elements/p-e43d654c.js +5 -0
  165. package/dist/elements/{p-01981011.entry.js → p-e7fbd427.entry.js} +2 -2
  166. package/dist/elements/{p-d61d280b.js → p-e912617c.js} +3 -3
  167. package/dist/elements/{p-da0d920d.js → p-ebe1c8ca.js} +2 -2
  168. package/dist/elements/{p-d872fe3e.entry.js → p-ec283f66.entry.js} +2 -2
  169. package/dist/elements/p-ec7a6c44.js +2 -0
  170. package/dist/elements/{p-f40b3ec6.entry.js → p-ed22dcc0.entry.js} +2 -2
  171. package/dist/elements/{p-05fff093.entry.js → p-eeaffc3b.entry.js} +2 -2
  172. package/dist/elements/p-f2c0c8a9.js +5 -0
  173. package/dist/elements/{p-c186950b.entry.js → p-f3bf8ff7.entry.js} +2 -2
  174. package/dist/elements/{p-5441ae35.entry.js → p-fb740291.entry.js} +2 -2
  175. package/dist/elements/{p-5bf40440.entry.js → p-fbff274c.entry.js} +2 -2
  176. package/dist/elements/{p-266d2934.entry.js → p-fd84af22.entry.js} +2 -2
  177. package/dist/elements/{p-a08f0446.entry.js → p-ff684bff.entry.js} +2 -2
  178. package/dist/esm/{BrokenFile-d387a173.js → BrokenFile-0b9882ef.js} +2 -2
  179. package/dist/esm/{BrokenFile-d387a173.js.map → BrokenFile-0b9882ef.js.map} +1 -1
  180. package/dist/esm/{animation-43b39c85.js → animation-756697b9.js} +2 -2
  181. package/dist/esm/{animation-43b39c85.js.map → animation-756697b9.js.map} +1 -1
  182. package/dist/esm/{app-globals-f420d326.js → app-globals-31ecda4c.js} +2 -2
  183. package/dist/esm/{app-globals-f420d326.js.map → app-globals-31ecda4c.js.map} +1 -1
  184. package/dist/esm/elements.js +5 -5
  185. package/dist/esm/{form-controller-3b50bf52.js → form-controller-8a54002c.js} +2 -2
  186. package/dist/esm/{form-controller-3b50bf52.js.map → form-controller-8a54002c.js.map} +1 -1
  187. package/dist/esm/{framework-delegate-c5179013.js → framework-delegate-65b5c396.js} +2 -2
  188. package/dist/esm/{framework-delegate-c5179013.js.map → framework-delegate-65b5c396.js.map} +1 -1
  189. package/dist/esm/{hardware-back-button-12e771ad.js → hardware-back-button-87b1549b.js} +3 -3
  190. package/dist/esm/{hardware-back-button-12e771ad.js.map → hardware-back-button-87b1549b.js.map} +1 -1
  191. package/dist/esm/{helpers-c51da066.js → helpers-bc137989.js} +2 -2
  192. package/dist/esm/{helpers-c51da066.js.map → helpers-bc137989.js.map} +1 -1
  193. package/dist/esm/{index-9725d917.js → index-46d8987d.js} +2 -2
  194. package/dist/esm/{index-9725d917.js.map → index-46d8987d.js.map} +1 -1
  195. package/dist/esm/{index-12e18dab.js → index-81865f43.js} +2 -2
  196. package/dist/esm/{index-12e18dab.js.map → index-81865f43.js.map} +1 -1
  197. package/dist/esm/{index-9edae53a.js → index-a51d17dd.js} +2 -2
  198. package/dist/esm/{index-9edae53a.js.map → index-a51d17dd.js.map} +1 -1
  199. package/dist/esm/{index-7462d21e.js → index-cbb71797.js} +5 -5
  200. package/dist/esm/{index-7462d21e.js.map → index-cbb71797.js.map} +1 -1
  201. package/dist/esm/{index-842e2941.js → index-e7f761c9.js} +2 -2
  202. package/dist/esm/{index-842e2941.js.map → index-e7f761c9.js.map} +1 -1
  203. package/dist/esm/{index-ccbcf170.js → index-fa9f8152.js} +5 -5
  204. package/dist/esm/{index-ccbcf170.js.map → index-fa9f8152.js.map} +1 -1
  205. package/dist/esm/{input-shims-0cb1bad1.js → input-shims-10923fa6.js} +3 -3
  206. package/dist/esm/{input-shims-0cb1bad1.js.map → input-shims-10923fa6.js.map} +1 -1
  207. package/dist/esm/{input.utils-0e2bf61a.js → input.utils-5fe0312f.js} +2 -2
  208. package/dist/esm/{input.utils-0e2bf61a.js.map → input.utils-5fe0312f.js.map} +1 -1
  209. package/dist/esm/ion-accordion-group.entry.js +2 -2
  210. package/dist/esm/ion-accordion.entry.js +4 -4
  211. package/dist/esm/ion-action-sheet_3.entry.js +7 -7
  212. package/dist/esm/ion-app.entry.js +7 -7
  213. package/dist/esm/ion-avatar.entry.js +2 -2
  214. package/dist/esm/ion-back-button.entry.js +4 -4
  215. package/dist/esm/ion-backdrop.entry.js +2 -2
  216. package/dist/esm/ion-badge_5.entry.js +2 -2
  217. package/dist/esm/ion-breadcrumb.entry.js +4 -4
  218. package/dist/esm/ion-breadcrumbs.entry.js +2 -2
  219. package/dist/esm/ion-button_4.entry.js +3 -3
  220. package/dist/esm/ion-card-content.entry.js +2 -2
  221. package/dist/esm/ion-card-header.entry.js +2 -2
  222. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  223. package/dist/esm/ion-card-title.entry.js +2 -2
  224. package/dist/esm/ion-card.entry.js +3 -3
  225. package/dist/esm/ion-checkbox_7.entry.js +5 -5
  226. package/dist/esm/ion-chip.entry.js +2 -2
  227. package/dist/esm/ion-col.entry.js +2 -2
  228. package/dist/esm/ion-content.entry.js +3 -3
  229. package/dist/esm/ion-datetime-button.entry.js +3 -3
  230. package/dist/esm/ion-datetime.entry.js +4 -4
  231. package/dist/esm/ion-fab-button.entry.js +4 -4
  232. package/dist/esm/ion-fab-list.entry.js +2 -2
  233. package/dist/esm/ion-fab.entry.js +2 -2
  234. package/dist/esm/ion-footer.entry.js +4 -4
  235. package/dist/esm/ion-grid.entry.js +2 -2
  236. package/dist/esm/ion-header.entry.js +4 -4
  237. package/dist/esm/ion-icon_31.entry.js +302 -451
  238. package/dist/esm/ion-icon_31.entry.js.map +1 -1
  239. package/dist/esm/ion-img.entry.js +3 -3
  240. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  241. package/dist/esm/ion-infinite-scroll.entry.js +4 -4
  242. package/dist/esm/ion-input.entry.js +7 -7
  243. package/dist/esm/ion-item-divider.entry.js +2 -2
  244. package/dist/esm/ion-item-group.entry.js +2 -2
  245. package/dist/esm/ion-item-option.entry.js +2 -2
  246. package/dist/esm/ion-item-options.entry.js +3 -3
  247. package/dist/esm/ion-item-sliding.entry.js +4 -4
  248. package/dist/esm/ion-loading.entry.js +7 -7
  249. package/dist/esm/ion-menu-button.entry.js +8 -8
  250. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  251. package/dist/esm/ion-menu.entry.js +8 -8
  252. package/dist/esm/ion-modal.entry.js +9 -9
  253. package/dist/esm/ion-nav-link.entry.js +1 -1
  254. package/dist/esm/ion-nav.entry.js +6 -6
  255. package/dist/esm/ion-note.entry.js +2 -2
  256. package/dist/esm/ion-picker-column.entry.js +3 -3
  257. package/dist/esm/ion-picker.entry.js +7 -7
  258. package/dist/esm/ion-popover.entry.js +8 -8
  259. package/dist/esm/ion-range.entry.js +5 -5
  260. package/dist/esm/ion-refresher-content.entry.js +6 -6
  261. package/dist/esm/ion-refresher.entry.js +6 -6
  262. package/dist/esm/ion-reorder-group.entry.js +4 -4
  263. package/dist/esm/ion-reorder.entry.js +3 -3
  264. package/dist/esm/ion-route-redirect.entry.js +1 -1
  265. package/dist/esm/ion-route.entry.js +1 -1
  266. package/dist/esm/ion-router-link.entry.js +2 -2
  267. package/dist/esm/ion-router-outlet.entry.js +6 -6
  268. package/dist/esm/ion-router.entry.js +2 -2
  269. package/dist/esm/ion-row.entry.js +2 -2
  270. package/dist/{components/searchbar.js → esm/ion-searchbar.entry.js} +17 -70
  271. package/dist/esm/ion-searchbar.entry.js.map +1 -0
  272. package/dist/esm/ion-segment-button.entry.js +3 -3
  273. package/dist/esm/ion-segment.entry.js +3 -3
  274. package/dist/esm/ion-select-option.entry.js +2 -2
  275. package/dist/esm/ion-select.entry.js +9 -9
  276. package/dist/esm/ion-spinner.entry.js +2 -2
  277. package/dist/esm/ion-split-pane.entry.js +2 -2
  278. package/dist/esm/ion-tab-bar.entry.js +2 -2
  279. package/dist/esm/ion-tab-button.entry.js +3 -3
  280. package/dist/esm/ion-tab.entry.js +3 -3
  281. package/dist/esm/ion-tabs.entry.js +1 -1
  282. package/dist/esm/ion-text.entry.js +2 -2
  283. package/dist/esm/ion-textarea.entry.js +6 -6
  284. package/dist/esm/ion-thumbnail.entry.js +2 -2
  285. package/dist/esm/ion-title.entry.js +2 -2
  286. package/dist/esm/ion-toggle.entry.js +5 -5
  287. package/dist/esm/ion-toolbar.entry.js +2 -2
  288. package/dist/esm/{ionic-global-07f989af.js → ionic-global-dc58df6a.js} +2 -2
  289. package/dist/esm/{ionic-global-07f989af.js.map → ionic-global-dc58df6a.js.map} +1 -1
  290. package/dist/esm/{ios.transition-02b5b74a.js → ios.transition-cd6a57b8.js} +5 -5
  291. package/dist/esm/{ios.transition-02b5b74a.js.map → ios.transition-cd6a57b8.js.map} +1 -1
  292. package/dist/esm/loader.js +5 -5
  293. package/dist/esm/{md.transition-0e6cf607.js → md.transition-a2999731.js} +5 -5
  294. package/dist/esm/{md.transition-0e6cf607.js.map → md.transition-a2999731.js.map} +1 -1
  295. package/dist/esm/{menu-toggle-util-6257f7b5.js → menu-toggle-util-5d79b187.js} +2 -2
  296. package/dist/esm/{menu-toggle-util-6257f7b5.js.map → menu-toggle-util-5d79b187.js.map} +1 -1
  297. package/dist/esm/{notch-controller-79926902.js → notch-controller-ce206c7f.js} +2 -2
  298. package/dist/esm/{notch-controller-79926902.js.map → notch-controller-ce206c7f.js.map} +1 -1
  299. package/dist/esm/{overlays-ef03d5bd.js → overlays-d7fc4ce2.js} +5 -5
  300. package/dist/esm/{overlays-ef03d5bd.js.map → overlays-d7fc4ce2.js.map} +1 -1
  301. package/dist/esm/pos-app-document-viewer.entry.js +1 -1
  302. package/dist/esm/pos-app-generic.entry.js +1 -1
  303. package/dist/esm/pos-app-image-viewer.entry.js +1 -1
  304. package/dist/esm/pos-app-ldp-container.entry.js +1 -1
  305. package/dist/esm/pos-app-rdf-document.entry.js +1 -1
  306. package/dist/esm/pos-container-contents.entry.js +1 -1
  307. package/dist/esm/pos-container-item.entry.js +1 -1
  308. package/dist/esm/pos-document.entry.js +2 -2
  309. package/dist/esm/pos-list.entry.js +1 -1
  310. package/dist/esm/pos-relations_2.entry.js +1 -1
  311. package/dist/esm/pos-subjects.entry.js +1 -1
  312. package/dist/esm/pos-value.entry.js +1 -1
  313. package/dist/esm/{refresher.utils-d191622d.js → refresher.utils-e60a7dd8.js} +4 -4
  314. package/dist/esm/{refresher.utils-d191622d.js.map → refresher.utils-e60a7dd8.js.map} +1 -1
  315. package/dist/esm/{status-tap-cdf580e7.js → status-tap-a4c12279.js} +4 -4
  316. package/dist/esm/{status-tap-cdf580e7.js.map → status-tap-a4c12279.js.map} +1 -1
  317. package/dist/esm/{swipe-back-698e6532.js → swipe-back-c940b28a.js} +2 -2
  318. package/dist/esm/{swipe-back-698e6532.js.map → swipe-back-c940b28a.js.map} +1 -1
  319. package/dist/types/apps/pos-app-browser/pos-app-browser.d.ts +2 -1
  320. package/dist/types/components/pos-navigation/__test/typeToSearch.d.ts +1 -0
  321. package/dist/types/components/pos-navigation/bar/pos-navigation-bar.d.ts +10 -0
  322. package/dist/types/components/pos-navigation/pos-navigation.d.ts +44 -0
  323. package/dist/types/components.d.ts +48 -7
  324. package/package.json +1 -1
  325. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.css +0 -51
  326. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js.map +0 -1
  327. package/dist/elements/p-07773ed5.entry.js +0 -2
  328. package/dist/elements/p-250d4bf1.entry.js +0 -2
  329. package/dist/elements/p-2f0509be.entry.js +0 -2
  330. package/dist/elements/p-4c78c8c9.js +0 -5
  331. package/dist/elements/p-523432d1.js +0 -2
  332. package/dist/elements/p-627826b0.entry.js +0 -2
  333. package/dist/elements/p-66a58eb0.entry.js +0 -2
  334. package/dist/elements/p-7f53778f.entry.js +0 -2
  335. package/dist/elements/p-8f6d1cbe.entry.js +0 -2
  336. package/dist/elements/p-932de51e.js +0 -8
  337. package/dist/elements/p-95161a5d.entry.js +0 -2
  338. package/dist/elements/p-a06d93c7.entry.js +0 -2
  339. package/dist/elements/p-a13569cf.entry.js +0 -2
  340. package/dist/elements/p-a37a2712.js +0 -5
  341. package/dist/elements/p-b34f1af4.entry.js +0 -20
  342. package/dist/elements/p-b34f1af4.entry.js.map +0 -1
  343. package/dist/elements/p-bca341ba.entry.js +0 -2
  344. package/dist/elements/p-bdea20c4.entry.js +0 -2
  345. package/dist/elements/p-c01a4a79.entry.js +0 -2
  346. package/dist/elements/p-c452a2e9.js +0 -5
  347. package/dist/elements/p-d1e7b393.js +0 -5
  348. package/dist/elements/p-d358565a.entry.js +0 -2
  349. package/dist/elements/p-eba70ed1.js +0 -6
  350. package/dist/elements/p-f67bba50.js +0 -5
  351. package/dist/types/components/pos-navigation-bar/pos-navigation-bar.d.ts +0 -25
  352. /package/dist/elements/{p-a6c03ce8.js.map → p-01adc2b7.js.map} +0 -0
  353. /package/dist/elements/{p-7190d53c.entry.js.map → p-09ff1516.entry.js.map} +0 -0
  354. /package/dist/elements/{p-307d1531.js.map → p-0a6631d5.js.map} +0 -0
  355. /package/dist/elements/{p-c698ab8e.entry.js.map → p-0b3d14ec.entry.js.map} +0 -0
  356. /package/dist/elements/{p-d8818bb3.entry.js.map → p-0d4f129d.entry.js.map} +0 -0
  357. /package/dist/elements/{p-07773ed5.entry.js.map → p-104fee38.entry.js.map} +0 -0
  358. /package/dist/elements/{p-6cc9961e.entry.js.map → p-11466af2.entry.js.map} +0 -0
  359. /package/dist/elements/{p-3e6ffc13.entry.js.map → p-11845ff3.entry.js.map} +0 -0
  360. /package/dist/elements/{p-a507d627.entry.js.map → p-151d1ec8.entry.js.map} +0 -0
  361. /package/dist/elements/{p-89aef852.js.map → p-1930ffd5.js.map} +0 -0
  362. /package/dist/elements/{p-aa7d93f1.entry.js.map → p-1a1222a3.entry.js.map} +0 -0
  363. /package/dist/elements/{p-4dd65d40.entry.js.map → p-1e05efd7.entry.js.map} +0 -0
  364. /package/dist/elements/{p-f50c3045.entry.js.map → p-1faf2d02.entry.js.map} +0 -0
  365. /package/dist/elements/{p-a421bbe5.entry.js.map → p-21e90439.entry.js.map} +0 -0
  366. /package/dist/elements/{p-552a9992.entry.js.map → p-22c21319.entry.js.map} +0 -0
  367. /package/dist/elements/{p-66973c59.entry.js.map → p-24d93ddd.entry.js.map} +0 -0
  368. /package/dist/elements/{p-8f6d1cbe.entry.js.map → p-258f2385.entry.js.map} +0 -0
  369. /package/dist/elements/{p-72a9cbdc.entry.js.map → p-27bd8113.entry.js.map} +0 -0
  370. /package/dist/elements/{p-c350af00.entry.js.map → p-2948d57b.entry.js.map} +0 -0
  371. /package/dist/elements/{p-41bb9792.entry.js.map → p-2cdaf88b.entry.js.map} +0 -0
  372. /package/dist/elements/{p-fa0be1d8.entry.js.map → p-2e08ee3a.entry.js.map} +0 -0
  373. /package/dist/elements/{p-239442f9.entry.js.map → p-2e0c20e7.entry.js.map} +0 -0
  374. /package/dist/elements/{p-627826b0.entry.js.map → p-2ec92ff9.entry.js.map} +0 -0
  375. /package/dist/elements/{p-8e8881a8.entry.js.map → p-30834f34.entry.js.map} +0 -0
  376. /package/dist/elements/{p-eba70ed1.js.map → p-30cd90ec.js.map} +0 -0
  377. /package/dist/elements/{p-ae984107.entry.js.map → p-3585f786.entry.js.map} +0 -0
  378. /package/dist/elements/{p-d08312dd.entry.js.map → p-35f84573.entry.js.map} +0 -0
  379. /package/dist/elements/{p-ffa8c481.entry.js.map → p-3f02cc92.entry.js.map} +0 -0
  380. /package/dist/elements/{p-71ee259b.js.map → p-3f316fc4.js.map} +0 -0
  381. /package/dist/elements/{p-bc675b21.entry.js.map → p-3f3b74e6.entry.js.map} +0 -0
  382. /package/dist/elements/{p-7f53778f.entry.js.map → p-40a2d567.entry.js.map} +0 -0
  383. /package/dist/elements/{p-e78cf007.entry.js.map → p-4dc7c524.entry.js.map} +0 -0
  384. /package/dist/elements/{p-c191e6df.js.map → p-4e8c31fa.js.map} +0 -0
  385. /package/dist/elements/{p-a45b1964.entry.js.map → p-5051d2a6.entry.js.map} +0 -0
  386. /package/dist/elements/{p-e0de7c6a.entry.js.map → p-5a061ddb.entry.js.map} +0 -0
  387. /package/dist/elements/{p-061819d1.js.map → p-5a8e7149.js.map} +0 -0
  388. /package/dist/elements/{p-4c78c8c9.js.map → p-5bf4c45a.js.map} +0 -0
  389. /package/dist/elements/{p-b9dcf3b2.js.map → p-5e8a3893.js.map} +0 -0
  390. /package/dist/elements/{p-300ec095.entry.js.map → p-602861f4.entry.js.map} +0 -0
  391. /package/dist/elements/{p-4a370bdc.entry.js.map → p-627d5e73.entry.js.map} +0 -0
  392. /package/dist/elements/{p-406df11a.entry.js.map → p-648dac6c.entry.js.map} +0 -0
  393. /package/dist/elements/{p-07d2bd5a.entry.js.map → p-650db824.entry.js.map} +0 -0
  394. /package/dist/elements/{p-cb550d04.entry.js.map → p-682dd0f9.entry.js.map} +0 -0
  395. /package/dist/elements/{p-59ec8b76.entry.js.map → p-689a5c54.entry.js.map} +0 -0
  396. /package/dist/elements/{p-d6394ee4.entry.js.map → p-6a701de0.entry.js.map} +0 -0
  397. /package/dist/elements/{p-f4035b4a.entry.js.map → p-6ca9bad7.entry.js.map} +0 -0
  398. /package/dist/elements/{p-25926b66.entry.js.map → p-6cae9207.entry.js.map} +0 -0
  399. /package/dist/elements/{p-6119b57a.entry.js.map → p-6e5c902a.entry.js.map} +0 -0
  400. /package/dist/elements/{p-0ddcbecd.entry.js.map → p-72ba182e.entry.js.map} +0 -0
  401. /package/dist/elements/{p-1b2d32c1.entry.js.map → p-8619a806.entry.js.map} +0 -0
  402. /package/dist/elements/{p-4383e1bb.entry.js.map → p-87af433a.entry.js.map} +0 -0
  403. /package/dist/elements/{p-f96384f2.entry.js.map → p-87eb06bc.entry.js.map} +0 -0
  404. /package/dist/elements/{p-e8268c7a.entry.js.map → p-8c13ce70.entry.js.map} +0 -0
  405. /package/dist/elements/{p-b64a85bf.entry.js.map → p-8f6d4374.entry.js.map} +0 -0
  406. /package/dist/elements/{p-949b115f.js.map → p-91025a2c.js.map} +0 -0
  407. /package/dist/elements/{p-71835d6f.entry.js.map → p-95036276.entry.js.map} +0 -0
  408. /package/dist/elements/{p-42169e41.js.map → p-97889672.js.map} +0 -0
  409. /package/dist/elements/{p-8b209e66.entry.js.map → p-9840f300.entry.js.map} +0 -0
  410. /package/dist/elements/{p-a37a2712.js.map → p-98b2844f.js.map} +0 -0
  411. /package/dist/elements/{p-fa19a3e9.entry.js.map → p-9d23baee.entry.js.map} +0 -0
  412. /package/dist/elements/{p-7e8b8df1.entry.js.map → p-9d6c94d3.entry.js.map} +0 -0
  413. /package/dist/elements/{p-41854c8f.entry.js.map → p-9d81c061.entry.js.map} +0 -0
  414. /package/dist/elements/{p-dadb557e.entry.js.map → p-a19fb8fa.entry.js.map} +0 -0
  415. /package/dist/elements/{p-9a4bf79e.entry.js.map → p-a7c9aa13.entry.js.map} +0 -0
  416. /package/dist/elements/{p-0ee8b7a7.js.map → p-acfa402f.js.map} +0 -0
  417. /package/dist/elements/{p-facc0ac5.entry.js.map → p-af03cfbe.entry.js.map} +0 -0
  418. /package/dist/elements/{p-b8bd7745.entry.js.map → p-af2b9ecb.entry.js.map} +0 -0
  419. /package/dist/elements/{p-cbf050d6.js.map → p-b110cb49.js.map} +0 -0
  420. /package/dist/elements/{p-09d80405.entry.js.map → p-b1292dde.entry.js.map} +0 -0
  421. /package/dist/elements/{p-4ccdbcbf.entry.js.map → p-b1de75a4.entry.js.map} +0 -0
  422. /package/dist/elements/{p-a376351f.entry.js.map → p-b34203cd.entry.js.map} +0 -0
  423. /package/dist/elements/{p-dc709055.entry.js.map → p-b954a40f.entry.js.map} +0 -0
  424. /package/dist/elements/{p-1fc8e557.js.map → p-bde7428a.js.map} +0 -0
  425. /package/dist/elements/{p-734e5a97.js.map → p-bf5335d4.js.map} +0 -0
  426. /package/dist/elements/{p-932de51e.js.map → p-c1df6af7.js.map} +0 -0
  427. /package/dist/elements/{p-cbae963d.js.map → p-c30eb80f.js.map} +0 -0
  428. /package/dist/elements/{p-4c078751.entry.js.map → p-c4332c66.entry.js.map} +0 -0
  429. /package/dist/elements/{p-8e1c68eb.entry.js.map → p-c466d5bf.entry.js.map} +0 -0
  430. /package/dist/elements/{p-36caf749.entry.js.map → p-c4894c44.entry.js.map} +0 -0
  431. /package/dist/elements/{p-87c81685.entry.js.map → p-c4e1867e.entry.js.map} +0 -0
  432. /package/dist/elements/{p-645632a8.entry.js.map → p-c7db2b55.entry.js.map} +0 -0
  433. /package/dist/elements/{p-a13569cf.entry.js.map → p-cb3e5072.entry.js.map} +0 -0
  434. /package/dist/elements/{p-49fcec88.entry.js.map → p-d54d552d.entry.js.map} +0 -0
  435. /package/dist/elements/{p-2a548485.entry.js.map → p-d7b597ed.entry.js.map} +0 -0
  436. /package/dist/elements/{p-c452a2e9.js.map → p-da0c771e.js.map} +0 -0
  437. /package/dist/elements/{p-7183a9ca.entry.js.map → p-dbb94429.entry.js.map} +0 -0
  438. /package/dist/elements/{p-c9604122.entry.js.map → p-de6d7967.entry.js.map} +0 -0
  439. /package/dist/elements/{p-b5f6b322.entry.js.map → p-e15ff70c.entry.js.map} +0 -0
  440. /package/dist/elements/{p-f67bba50.js.map → p-e43d654c.js.map} +0 -0
  441. /package/dist/elements/{p-01981011.entry.js.map → p-e7fbd427.entry.js.map} +0 -0
  442. /package/dist/elements/{p-d61d280b.js.map → p-e912617c.js.map} +0 -0
  443. /package/dist/elements/{p-da0d920d.js.map → p-ebe1c8ca.js.map} +0 -0
  444. /package/dist/elements/{p-d872fe3e.entry.js.map → p-ec283f66.entry.js.map} +0 -0
  445. /package/dist/elements/{p-523432d1.js.map → p-ec7a6c44.js.map} +0 -0
  446. /package/dist/elements/{p-f40b3ec6.entry.js.map → p-ed22dcc0.entry.js.map} +0 -0
  447. /package/dist/elements/{p-05fff093.entry.js.map → p-eeaffc3b.entry.js.map} +0 -0
  448. /package/dist/elements/{p-d1e7b393.js.map → p-f2c0c8a9.js.map} +0 -0
  449. /package/dist/elements/{p-c186950b.entry.js.map → p-f3bf8ff7.entry.js.map} +0 -0
  450. /package/dist/elements/{p-5441ae35.entry.js.map → p-fb740291.entry.js.map} +0 -0
  451. /package/dist/elements/{p-5bf40440.entry.js.map → p-fbff274c.entry.js.map} +0 -0
  452. /package/dist/elements/{p-266d2934.entry.js.map → p-fd84af22.entry.js.map} +0 -0
  453. /package/dist/elements/{p-a08f0446.entry.js.map → p-ff684bff.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["textareaIosCss","IonTextareaIosStyle0","textareaMdCss","IonTextareaMdStyle0","Textarea","constructor","hostRef","this","inputId","textareaIds","didTextareaClearOnEdit","inheritedAttributes","hasLoggedDeprecationWarning","onInput","ev","input","target","value","emitInputChange","onChange","emitValueChange","onFocus","hasFocus","focusedValue","focusChange","ionFocus","emit","onBlur","ionBlur","onKeyDown","checkClearOnEdit","color","undefined","autocapitalize","autofocus","clearOnEdit","debounce","disabled","fill","inputmode","enterkeyhint","maxlength","minlength","name","placeholder","readonly","required","spellcheck","cols","rows","wrap","autoGrow","counter","counterFormatter","errorText","helperText","label","labelPlacement","legacy","shape","debounceChanged","ionInput","originalIonInput","debounceEvent","disabledChanged","emitStyle","valueChanged","nativeInput","getValue","runAutoGrow","connectedCallback","el","legacyFormController","createLegacyFormController","slotMutationController","createSlotMutationController","forceUpdate","notchController","createNotchController","notchSpacerEl","labelSlot","document","dispatchEvent","CustomEvent","detail","disconnectedCallback","destroy","componentWillLoad","Object","assign","inheritAriaAttributes","inheritAttributes","componentDidLoad","componentDidRender","_a","calculateNotchWidth","setFocus","focus","getInputElement","Promise","resolve","componentOnReady","hasLegacyControl","ionStyle","interactive","textarea","hasValue","event","newValue","toString","ionChange","writeTask","textareaWrapper","dataset","replicatedValue","IGNORED_KEYS","pressedIgnoredKey","includes","key","renderLegacyTextarea","printIonWarning","mode","getIonMode","labelId","findItemLabel","id","h","Host","class","createColorClasses","ref","autoCapitalize","autoFocus","enterKeyHint","inputMode","maxLength","minLength","readOnly","renderLabel","hasLabel","querySelector","renderLabelContainer","hasOutlineFill","renderHintText","renderCounter","getCounterText","renderBottomContent","hasHintText","hasCounter","renderTextarea","inItem","hostContext","shouldRenderHighlight","hasStartEndSlots","labelShouldFloat","htmlFor","render"],"sources":["../node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css?tag=ion-textarea&mode=ios&encapsulation=scoped","../node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css?tag=ion-textarea&mode=md&encapsulation=scoped","../node_modules/@ionic/core/dist/collection/components/textarea/textarea.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --background: Background of the textarea\n *\n * @prop --border-radius: Border radius of the textarea\n * @prop --border-color: Color of the border below the textarea when using helper text, error text, or counter\n * @prop --border-radius: Radius of the textarea border. A large radius may display unevenly when using fill=\"outline\"; if needed, use shape=\"round\" instead or increase --padding-start.\n * @prop --border-style: Style of the border below the textarea when using helper text, error text, or counter\n * @prop --border-width: Width of the border below the textarea when using helper text, error text, or counter\n *\n * @prop --color: Color of the text\n *\n * @prop --placeholder-color: Color of the placeholder text\n * @prop --placeholder-font-style: Style of the placeholder text\n * @prop --placeholder-font-weight: Weight of the placeholder text\n * @prop --placeholder-opacity: Opacity of the placeholder text\n *\n * @prop --highlight-color-focused: The color of the highlight on the textarea when focused\n * @prop --highlight-color-valid: The color of the highlight on the textarea when valid\n * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid\n *\n * @prop --padding-top: Top padding of the textarea\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the textarea\n * @prop --padding-bottom: Bottom padding of the textarea\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the textarea\n */\n --background: initial;\n --color: initial;\n --placeholder-color: initial;\n --placeholder-font-style: initial;\n --placeholder-font-weight: initial;\n --placeholder-opacity: 0.6;\n --padding-top: 0;\n --padding-end: 0;\n --padding-bottom: 0;\n --padding-start: 0;\n --border-radius: 0;\n --border-style: solid;\n --highlight-color-focused: var(--ion-color-primary, #3880ff);\n --highlight-color-valid: var(--ion-color-success, #2dd36f);\n --highlight-color-invalid: var(--ion-color-danger, #eb445a);\n /**\n * This is a private API that is used to switch\n * out the highlight color based on the state\n * of the component without having to write\n * different selectors for different fill variants.\n */\n --highlight-color: var(--highlight-color-focused);\n display: block;\n position: relative;\n width: 100%;\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n z-index: 2;\n box-sizing: border-box;\n}\n\n:host(:not(.legacy-textarea)) {\n min-height: 44px;\n}\n\n/**\n * Since the label sits on top of the element,\n * the component needs to be taller otherwise the\n * label will appear too close to the textarea text.\n * Also, floating and stacked labels should not\n * push the label down since it it\n * sits on top of the textarea.\n */\n:host(.textarea-label-placement-floating),\n:host(.textarea-label-placement-stacked) {\n --padding-top: 0px;\n min-height: 56px;\n}\n\n/**\n * When the cols property is set we should\n * respect that width instead of defaulting\n * to taking up the entire line.\n * Requires both the cols and autoGrow\n * properties to be reflected as attributes\n * on the host.\n *\n * cols does not work with autoGrow because\n * autoGrow would prevent line breaks from naturally\n * occurring until the textarea takes up the entire line width.\n */\n:host([cols]:not([auto-grow])) {\n width: fit-content;\n}\n\n:host(.legacy-textarea) {\n flex: 1;\n background: var(--background);\n white-space: pre-wrap;\n}\n\n:host(.legacy-textarea.ion-color) {\n color: var(--ion-color-base);\n}\n\n:host(:not(.legacy-textarea)) {\n --padding-bottom: 8px;\n}\n\n:host(.ion-color) {\n --highlight-color-focused: var(--ion-color-base);\n background: initial;\n}\n\n:host-context(ion-item) {\n align-self: baseline;\n}\n\n:host-context(ion-item:not(.item-label)) {\n --padding-start: 0;\n}\n\n:host-context(ion-item)[slot=start],\n:host-context(ion-item)[slot=end] {\n width: auto;\n}\n\n.native-textarea {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n display: block;\n position: relative;\n flex: 1;\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n white-space: pre-wrap;\n /**\n * This ensures the textarea\n * remains on top of any decoration\n * that we render (particularly the\n * outline border when fill=\"outline\").\n * If we did not do this then Axe would\n * be unable to determine the color\n * contrast of the textarea.\n */\n z-index: 1;\n box-sizing: border-box;\n resize: none;\n appearance: none;\n}\n.native-textarea::placeholder {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n color: var(--placeholder-color);\n font-family: inherit;\n font-style: var(--placeholder-font-style);\n font-weight: var(--placeholder-font-weight);\n opacity: var(--placeholder-opacity);\n}\n\n:host(.legacy-textarea) .native-textarea {\n white-space: inherit;\n}\n\n:host(.legacy-textarea) .native-textarea,\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n border-radius: var(--border-radius);\n}\n\n.native-textarea {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.cloned-input {\n top: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n}\n@supports (inset-inline-start: 0) {\n .cloned-input {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n .cloned-input {\n left: 0;\n }\n :host-context([dir=rtl]) .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n [dir=rtl] .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n .cloned-input:dir(rtl) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n/**\n * The cloned input needs to be disabled on\n * Android otherwise the viewport will still\n * shift when running scroll assist.\n */\n.cloned-input:disabled {\n opacity: 1;\n}\n\n:host(.legacy-textarea[auto-grow]) .cloned-input {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host([auto-grow]) .cloned-input {\n height: 100%;\n}\n\n:host([auto-grow]) .native-textarea {\n overflow: hidden;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {\n opacity: 0;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {\n transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 1;\n}\n\n.textarea-wrapper {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 0px;\n padding-bottom: 0px;\n border-radius: var(--border-radius);\n display: flex;\n position: relative;\n flex-grow: 1;\n align-items: flex-start;\n height: inherit;\n min-height: inherit;\n transition: background-color 15ms linear;\n background: var(--background);\n line-height: normal;\n}\n\n.native-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n:host(.has-focus) textarea {\n caret-color: var(--highlight-color);\n}\n\n.native-wrapper textarea {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n}\n\n.native-wrapper,\n.textarea-legacy-wrapper {\n display: grid;\n min-width: inherit;\n max-width: inherit;\n min-height: inherit;\n max-height: inherit;\n /**\n * This avoids a WebKit bug where\n * the height of the inner textarea\n * is incorrect and flows outside the\n * parent container: https://bugs.webkit.org/show_bug.cgi?id=256781\n * TODO FW-4734\n */\n grid-auto-rows: 100%;\n}\n.native-wrapper::after,\n.textarea-legacy-wrapper::after {\n white-space: pre-wrap;\n content: attr(data-replicated-value) \" \";\n visibility: hidden;\n}\n\n.native-wrapper::after {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-radius: var(--border-radius);\n /**\n * Note: Do not use @include text-inherit()\n * as that sets white-space: inherit\n * Instead, we use white-space: pre-wrap above.\n */\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.textarea-wrapper-inner {\n display: flex;\n width: 100%;\n min-height: inherit;\n}\n\n:host(.ion-touched.ion-invalid) {\n --highlight-color: var(--highlight-color-invalid);\n}\n\n/**\n * The component highlight is only shown\n * on focus, so we can safely set the valid\n * color state when touched/valid. If we\n * set it when .has-focus is present then\n * the highlight color would change\n * from the valid color to the component's\n * color during the transition after the\n * component loses focus.\n */\n:host(.ion-valid) {\n --highlight-color: var(--highlight-color-valid);\n}\n\n.textarea-bottom {\n /**\n * The bottom content should take on the start and end\n * padding so it is always aligned with either the label\n * or the start of the textarea.\n */\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 5px;\n padding-bottom: 0;\n display: flex;\n justify-content: space-between;\n border-top: var(--border-width) var(--border-style) var(--border-color);\n font-size: 0.75rem;\n}\n\n/**\n * If the textarea has a validity state, the\n * border and label should reflect that as a color.\n */\n:host(.has-focus.ion-valid),\n:host(.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n/**\n * Error text should only be shown when .ion-invalid is\n * present on the textarea. Otherwise the helper text should\n * be shown.\n */\n.textarea-bottom .error-text {\n display: none;\n color: var(--highlight-color-invalid);\n}\n\n.textarea-bottom .helper-text {\n display: block;\n color: var(--ion-color-step-550, #737373);\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {\n display: block;\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .helper-text {\n display: none;\n}\n\n.textarea-bottom .counter {\n /**\n * Counter should always be at\n * the end of the container even\n * when no helper/error texts are used.\n */\n -webkit-margin-start: auto;\n margin-inline-start: auto;\n color: var(--ion-color-step-550, #737373);\n white-space: nowrap;\n padding-inline-start: 16px;\n}\n\n.label-text-wrapper {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n * However, we do not set the max\n * width to 100% because then\n * only the label would show and users\n * would not be able to see what they are typing.\n */\n max-width: 200px;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n /**\n * This ensures that double tapping this text\n * clicks the <label> and focuses the textarea\n * when a screen reader is enabled.\n */\n pointer-events: none;\n}\n\n/**\n * We need to use two elements instead of\n * one. The .label-text-wrapper is responsible\n * for centering the label text vertically regardless\n * of the textarea height using flexbox.\n *\n * The .label-text element is responsible for controlling\n * overflow when label-placement=\"fixed\".\n * We want the ellipses to show up when the\n * fixed label overflows, but text-overflow: ellipsis only\n * works on block-level elements. A flex item is\n * considered blockified (https://www.w3.org/TR/css-display-3/#blockify).\n */\n.label-text,\n::slotted([slot=label]) {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n/**\n * If no label text is placed into the slot\n * then the element should be hidden otherwise\n * there will be additional margins added.\n */\n.label-text-wrapper-hidden,\n.textarea-outline-notch-hidden {\n display: none;\n}\n\n.textarea-wrapper textarea {\n /**\n * When the floating label appears on top of the\n * textarea, we need to fade the textarea out so that the\n * label does not overlap with the placeholder.\n */\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL.\n */\n:host(.textarea-label-placement-start) .textarea-wrapper {\n flex-direction: row;\n}\n\n:host(.textarea-label-placement-start) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the right of the textarea in LTR and\n * on the left in RTL.\n */\n:host(.textarea-label-placement-end) .textarea-wrapper {\n flex-direction: row-reverse;\n}\n\n/**\n * The margin between the label and\n * the textarea should be on the start\n * when the label sits at the end.\n */\n:host(.textarea-label-placement-end) .label-text-wrapper {\n -webkit-margin-start: 16px;\n margin-inline-start: 16px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host(.textarea-label-placement-fixed) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL. Label also has a fixed width.\n */\n:host(.textarea-label-placement-fixed) .label-text {\n flex: 0 0 100px;\n width: 100px;\n min-width: 100px;\n max-width: 200px;\n}\n\n/**\n * Stacked: Label sits above the textarea and is scaled down.\n * Floating: Label sits over the textarea when the textarea has no\n * value and is blurred. Label sits above the textarea and is scaled\n * down when the textarea is focused or has a value.\n *\n */\n:host(.textarea-label-placement-stacked) .textarea-wrapper,\n:host(.textarea-label-placement-floating) .textarea-wrapper {\n flex-direction: column;\n align-items: start;\n}\n\n/**\n * Ensures that the label animates\n * up and to the left in LTR or\n * up and to the right in RTL.\n */\n:host(.textarea-label-placement-stacked) .label-text-wrapper,\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform-origin: left top;\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n max-width: 100%;\n /**\n * The 2 ensures the label\n * remains on top of any browser\n * autofill background too.\n */\n z-index: 2;\n}\n:host-context([dir=rtl]):host(.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-floating .label-text-wrapper {\n transform-origin: right top;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {\n transform-origin: right top;\n }\n}\n\n/**\n * Ensures the textarea does not\n * overlap the label.\n */\n:host(.textarea-label-placement-stacked) textarea,\n:host(.textarea-label-placement-floating) textarea,\n:host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,\n:host(.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {\n -webkit-margin-start: 0px;\n margin-inline-start: 0px;\n -webkit-margin-end: 0px;\n margin-inline-end: 0px;\n margin-top: 8px;\n margin-bottom: 0px;\n}\n\n:host(.textarea-label-placement-stacked) ::slotted([slot=start]),\n:host(.textarea-label-placement-stacked) ::slotted([slot=end]),\n:host(.textarea-label-placement-floating) ::slotted([slot=start]),\n:host(.textarea-label-placement-floating) ::slotted([slot=end]) {\n margin-top: 8px;\n}\n\n/**\n * This makes the label sit over the textarea\n * when the textarea is blurred and has no value.\n */\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform: translateY(100%) scale(1);\n}\n\n/**\n * The textarea should be hidden when the label\n * is on top of the textarea. This prevents the label\n * from overlapping any placeholder value.\n */\n:host(.textarea-label-placement-floating) textarea {\n opacity: 0;\n}\n\n:host(.has-focus.textarea-label-placement-floating) textarea,\n:host(.has-value.textarea-label-placement-floating) textarea {\n opacity: 1;\n}\n\n/**\n * This makes the label sit above the textarea.\n */\n:host(.label-floating) .label-text-wrapper {\n transform: translateY(50%) scale(0.75);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% / 0.75);\n}\n\n.start-slot-wrapper, .end-slot-wrapper {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n display: flex;\n flex-shrink: 0;\n align-self: start;\n}\n\n::slotted([slot=start]),\n::slotted([slot=end]) {\n margin-top: 0;\n}\n\n::slotted([slot=start]) {\n margin-inline-end: 16px;\n margin-inline-start: 0;\n}\n\n::slotted([slot=end]) {\n margin-inline-start: 16px;\n margin-inline-end: 0;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n --border-width: 0.55px;\n --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));\n --padding-top: 10px;\n --padding-end: 0px;\n --padding-bottom: 8px;\n --padding-start: 0px;\n font-size: inherit;\n}\n\n:host(.legacy-textarea) {\n --padding-top: 10px;\n --padding-end: 8px;\n --padding-bottom: 10px;\n --padding-start: 0;\n}\n\n:host-context(.item-label-stacked),\n:host-context(.item-label-floating) {\n --padding-top: 8px;\n --padding-bottom: 8px;\n --padding-start: 0px;\n}\n\n:host(.legacy-textarea) .native-textarea[disabled],\n:host(.textarea-disabled) {\n opacity: 0.3;\n}\n\n/**\n * Slotted buttons have a lot of default padding that can\n * cause them to look misaligned from other pieces such\n * as the control's label, especially when using a clear\n * fill. We also make them circular to ensure that non-\n * clear buttons and the focus/hover state on clear ones\n * don't look too crowded.\n */\n::slotted(ion-button[slot=start].button-has-icon-only),\n::slotted(ion-button[slot=end].button-has-icon-only) {\n --border-radius: 50%;\n --padding-start: 0;\n --padding-end: 0;\n --padding-top: 0;\n --padding-bottom: 0;\n aspect-ratio: 1;\n}","/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --background: Background of the textarea\n *\n * @prop --border-radius: Border radius of the textarea\n * @prop --border-color: Color of the border below the textarea when using helper text, error text, or counter\n * @prop --border-radius: Radius of the textarea border. A large radius may display unevenly when using fill=\"outline\"; if needed, use shape=\"round\" instead or increase --padding-start.\n * @prop --border-style: Style of the border below the textarea when using helper text, error text, or counter\n * @prop --border-width: Width of the border below the textarea when using helper text, error text, or counter\n *\n * @prop --color: Color of the text\n *\n * @prop --placeholder-color: Color of the placeholder text\n * @prop --placeholder-font-style: Style of the placeholder text\n * @prop --placeholder-font-weight: Weight of the placeholder text\n * @prop --placeholder-opacity: Opacity of the placeholder text\n *\n * @prop --highlight-color-focused: The color of the highlight on the textarea when focused\n * @prop --highlight-color-valid: The color of the highlight on the textarea when valid\n * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid\n *\n * @prop --padding-top: Top padding of the textarea\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the textarea\n * @prop --padding-bottom: Bottom padding of the textarea\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the textarea\n */\n --background: initial;\n --color: initial;\n --placeholder-color: initial;\n --placeholder-font-style: initial;\n --placeholder-font-weight: initial;\n --placeholder-opacity: 0.6;\n --padding-top: 0;\n --padding-end: 0;\n --padding-bottom: 0;\n --padding-start: 0;\n --border-radius: 0;\n --border-style: solid;\n --highlight-color-focused: var(--ion-color-primary, #3880ff);\n --highlight-color-valid: var(--ion-color-success, #2dd36f);\n --highlight-color-invalid: var(--ion-color-danger, #eb445a);\n /**\n * This is a private API that is used to switch\n * out the highlight color based on the state\n * of the component without having to write\n * different selectors for different fill variants.\n */\n --highlight-color: var(--highlight-color-focused);\n display: block;\n position: relative;\n width: 100%;\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n z-index: 2;\n box-sizing: border-box;\n}\n\n:host(:not(.legacy-textarea)) {\n min-height: 44px;\n}\n\n/**\n * Since the label sits on top of the element,\n * the component needs to be taller otherwise the\n * label will appear too close to the textarea text.\n * Also, floating and stacked labels should not\n * push the label down since it it\n * sits on top of the textarea.\n */\n:host(.textarea-label-placement-floating),\n:host(.textarea-label-placement-stacked) {\n --padding-top: 0px;\n min-height: 56px;\n}\n\n/**\n * When the cols property is set we should\n * respect that width instead of defaulting\n * to taking up the entire line.\n * Requires both the cols and autoGrow\n * properties to be reflected as attributes\n * on the host.\n *\n * cols does not work with autoGrow because\n * autoGrow would prevent line breaks from naturally\n * occurring until the textarea takes up the entire line width.\n */\n:host([cols]:not([auto-grow])) {\n width: fit-content;\n}\n\n:host(.legacy-textarea) {\n flex: 1;\n background: var(--background);\n white-space: pre-wrap;\n}\n\n:host(.legacy-textarea.ion-color) {\n color: var(--ion-color-base);\n}\n\n:host(:not(.legacy-textarea)) {\n --padding-bottom: 8px;\n}\n\n:host(.ion-color) {\n --highlight-color-focused: var(--ion-color-base);\n background: initial;\n}\n\n:host-context(ion-item) {\n align-self: baseline;\n}\n\n:host-context(ion-item:not(.item-label)) {\n --padding-start: 0;\n}\n\n:host-context(ion-item)[slot=start],\n:host-context(ion-item)[slot=end] {\n width: auto;\n}\n\n.native-textarea {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n display: block;\n position: relative;\n flex: 1;\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n white-space: pre-wrap;\n /**\n * This ensures the textarea\n * remains on top of any decoration\n * that we render (particularly the\n * outline border when fill=\"outline\").\n * If we did not do this then Axe would\n * be unable to determine the color\n * contrast of the textarea.\n */\n z-index: 1;\n box-sizing: border-box;\n resize: none;\n appearance: none;\n}\n.native-textarea::placeholder {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n color: var(--placeholder-color);\n font-family: inherit;\n font-style: var(--placeholder-font-style);\n font-weight: var(--placeholder-font-weight);\n opacity: var(--placeholder-opacity);\n}\n\n:host(.legacy-textarea) .native-textarea {\n white-space: inherit;\n}\n\n:host(.legacy-textarea) .native-textarea,\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n border-radius: var(--border-radius);\n}\n\n.native-textarea {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.cloned-input {\n top: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n}\n@supports (inset-inline-start: 0) {\n .cloned-input {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n .cloned-input {\n left: 0;\n }\n :host-context([dir=rtl]) .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n [dir=rtl] .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n .cloned-input:dir(rtl) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n/**\n * The cloned input needs to be disabled on\n * Android otherwise the viewport will still\n * shift when running scroll assist.\n */\n.cloned-input:disabled {\n opacity: 1;\n}\n\n:host(.legacy-textarea[auto-grow]) .cloned-input {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host([auto-grow]) .cloned-input {\n height: 100%;\n}\n\n:host([auto-grow]) .native-textarea {\n overflow: hidden;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {\n opacity: 0;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {\n transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 1;\n}\n\n.textarea-wrapper {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 0px;\n padding-bottom: 0px;\n border-radius: var(--border-radius);\n display: flex;\n position: relative;\n flex-grow: 1;\n align-items: flex-start;\n height: inherit;\n min-height: inherit;\n transition: background-color 15ms linear;\n background: var(--background);\n line-height: normal;\n}\n\n.native-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n:host(.has-focus) textarea {\n caret-color: var(--highlight-color);\n}\n\n.native-wrapper textarea {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n}\n\n.native-wrapper,\n.textarea-legacy-wrapper {\n display: grid;\n min-width: inherit;\n max-width: inherit;\n min-height: inherit;\n max-height: inherit;\n /**\n * This avoids a WebKit bug where\n * the height of the inner textarea\n * is incorrect and flows outside the\n * parent container: https://bugs.webkit.org/show_bug.cgi?id=256781\n * TODO FW-4734\n */\n grid-auto-rows: 100%;\n}\n.native-wrapper::after,\n.textarea-legacy-wrapper::after {\n white-space: pre-wrap;\n content: attr(data-replicated-value) \" \";\n visibility: hidden;\n}\n\n.native-wrapper::after {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-radius: var(--border-radius);\n /**\n * Note: Do not use @include text-inherit()\n * as that sets white-space: inherit\n * Instead, we use white-space: pre-wrap above.\n */\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.textarea-wrapper-inner {\n display: flex;\n width: 100%;\n min-height: inherit;\n}\n\n:host(.ion-touched.ion-invalid) {\n --highlight-color: var(--highlight-color-invalid);\n}\n\n/**\n * The component highlight is only shown\n * on focus, so we can safely set the valid\n * color state when touched/valid. If we\n * set it when .has-focus is present then\n * the highlight color would change\n * from the valid color to the component's\n * color during the transition after the\n * component loses focus.\n */\n:host(.ion-valid) {\n --highlight-color: var(--highlight-color-valid);\n}\n\n.textarea-bottom {\n /**\n * The bottom content should take on the start and end\n * padding so it is always aligned with either the label\n * or the start of the textarea.\n */\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 5px;\n padding-bottom: 0;\n display: flex;\n justify-content: space-between;\n border-top: var(--border-width) var(--border-style) var(--border-color);\n font-size: 0.75rem;\n}\n\n/**\n * If the textarea has a validity state, the\n * border and label should reflect that as a color.\n */\n:host(.has-focus.ion-valid),\n:host(.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n/**\n * Error text should only be shown when .ion-invalid is\n * present on the textarea. Otherwise the helper text should\n * be shown.\n */\n.textarea-bottom .error-text {\n display: none;\n color: var(--highlight-color-invalid);\n}\n\n.textarea-bottom .helper-text {\n display: block;\n color: var(--ion-color-step-550, #737373);\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {\n display: block;\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .helper-text {\n display: none;\n}\n\n.textarea-bottom .counter {\n /**\n * Counter should always be at\n * the end of the container even\n * when no helper/error texts are used.\n */\n -webkit-margin-start: auto;\n margin-inline-start: auto;\n color: var(--ion-color-step-550, #737373);\n white-space: nowrap;\n padding-inline-start: 16px;\n}\n\n.label-text-wrapper {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n * However, we do not set the max\n * width to 100% because then\n * only the label would show and users\n * would not be able to see what they are typing.\n */\n max-width: 200px;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n /**\n * This ensures that double tapping this text\n * clicks the <label> and focuses the textarea\n * when a screen reader is enabled.\n */\n pointer-events: none;\n}\n\n/**\n * We need to use two elements instead of\n * one. The .label-text-wrapper is responsible\n * for centering the label text vertically regardless\n * of the textarea height using flexbox.\n *\n * The .label-text element is responsible for controlling\n * overflow when label-placement=\"fixed\".\n * We want the ellipses to show up when the\n * fixed label overflows, but text-overflow: ellipsis only\n * works on block-level elements. A flex item is\n * considered blockified (https://www.w3.org/TR/css-display-3/#blockify).\n */\n.label-text,\n::slotted([slot=label]) {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n/**\n * If no label text is placed into the slot\n * then the element should be hidden otherwise\n * there will be additional margins added.\n */\n.label-text-wrapper-hidden,\n.textarea-outline-notch-hidden {\n display: none;\n}\n\n.textarea-wrapper textarea {\n /**\n * When the floating label appears on top of the\n * textarea, we need to fade the textarea out so that the\n * label does not overlap with the placeholder.\n */\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL.\n */\n:host(.textarea-label-placement-start) .textarea-wrapper {\n flex-direction: row;\n}\n\n:host(.textarea-label-placement-start) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the right of the textarea in LTR and\n * on the left in RTL.\n */\n:host(.textarea-label-placement-end) .textarea-wrapper {\n flex-direction: row-reverse;\n}\n\n/**\n * The margin between the label and\n * the textarea should be on the start\n * when the label sits at the end.\n */\n:host(.textarea-label-placement-end) .label-text-wrapper {\n -webkit-margin-start: 16px;\n margin-inline-start: 16px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host(.textarea-label-placement-fixed) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL. Label also has a fixed width.\n */\n:host(.textarea-label-placement-fixed) .label-text {\n flex: 0 0 100px;\n width: 100px;\n min-width: 100px;\n max-width: 200px;\n}\n\n/**\n * Stacked: Label sits above the textarea and is scaled down.\n * Floating: Label sits over the textarea when the textarea has no\n * value and is blurred. Label sits above the textarea and is scaled\n * down when the textarea is focused or has a value.\n *\n */\n:host(.textarea-label-placement-stacked) .textarea-wrapper,\n:host(.textarea-label-placement-floating) .textarea-wrapper {\n flex-direction: column;\n align-items: start;\n}\n\n/**\n * Ensures that the label animates\n * up and to the left in LTR or\n * up and to the right in RTL.\n */\n:host(.textarea-label-placement-stacked) .label-text-wrapper,\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform-origin: left top;\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n max-width: 100%;\n /**\n * The 2 ensures the label\n * remains on top of any browser\n * autofill background too.\n */\n z-index: 2;\n}\n:host-context([dir=rtl]):host(.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-floating .label-text-wrapper {\n transform-origin: right top;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {\n transform-origin: right top;\n }\n}\n\n/**\n * Ensures the textarea does not\n * overlap the label.\n */\n:host(.textarea-label-placement-stacked) textarea,\n:host(.textarea-label-placement-floating) textarea,\n:host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,\n:host(.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {\n -webkit-margin-start: 0px;\n margin-inline-start: 0px;\n -webkit-margin-end: 0px;\n margin-inline-end: 0px;\n margin-top: 8px;\n margin-bottom: 0px;\n}\n\n:host(.textarea-label-placement-stacked) ::slotted([slot=start]),\n:host(.textarea-label-placement-stacked) ::slotted([slot=end]),\n:host(.textarea-label-placement-floating) ::slotted([slot=start]),\n:host(.textarea-label-placement-floating) ::slotted([slot=end]) {\n margin-top: 8px;\n}\n\n/**\n * This makes the label sit over the textarea\n * when the textarea is blurred and has no value.\n */\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform: translateY(100%) scale(1);\n}\n\n/**\n * The textarea should be hidden when the label\n * is on top of the textarea. This prevents the label\n * from overlapping any placeholder value.\n */\n:host(.textarea-label-placement-floating) textarea {\n opacity: 0;\n}\n\n:host(.has-focus.textarea-label-placement-floating) textarea,\n:host(.has-value.textarea-label-placement-floating) textarea {\n opacity: 1;\n}\n\n/**\n * This makes the label sit above the textarea.\n */\n:host(.label-floating) .label-text-wrapper {\n transform: translateY(50%) scale(0.75);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% / 0.75);\n}\n\n.start-slot-wrapper, .end-slot-wrapper {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n display: flex;\n flex-shrink: 0;\n align-self: start;\n}\n\n::slotted([slot=start]),\n::slotted([slot=end]) {\n margin-top: 0;\n}\n\n::slotted([slot=start]) {\n margin-inline-end: 16px;\n margin-inline-start: 0;\n}\n\n::slotted([slot=end]) {\n margin-inline-start: 16px;\n margin-inline-end: 0;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host(.textarea-fill-solid) {\n --background: var(--ion-color-step-50, #f2f2f2);\n --border-color: var(--ion-color-step-500, gray);\n --border-radius: 4px;\n --padding-start: 16px;\n --padding-end: 16px;\n min-height: 56px;\n}\n\n/**\n * The solid fill style has a border\n * at the bottom of the textarea wrapper.\n * As a result, the border on the \"bottom\n * content\" is not needed.\n */\n:host(.textarea-fill-solid) .textarea-wrapper {\n border-bottom: var(--border-width) var(--border-style) var(--border-color);\n}\n\n/**\n * If the textarea has a validity state, the\n * border should reflect that as a color.\n */\n:host(.has-focus.textarea-fill-solid.ion-valid),\n:host(.textarea-fill-solid.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n:host(.textarea-fill-solid) .textarea-bottom {\n border-top: none;\n}\n\n/**\n * Background and border should be\n * slightly darker on hover.\n */\n@media (any-hover: hover) {\n :host(.textarea-fill-solid:hover) {\n --background: var(--ion-color-step-100, #e6e6e6);\n --border-color: var(--ion-color-step-750, #404040);\n }\n}\n/**\n * Background and border should be\n * much darker on focus.\n */\n:host(.textarea-fill-solid.has-focus) {\n --background: var(--ion-color-step-150, #d9d9d9);\n --border-color: var(--ion-color-step-750, #404040);\n}\n\n:host(.textarea-fill-solid) .textarea-wrapper {\n /**\n * Only the top left and top right borders should.\n * have a radius when using a solid fill.\n */\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n:host-context([dir=rtl]):host(.textarea-fill-solid) .textarea-wrapper, :host-context([dir=rtl]).textarea-fill-solid .textarea-wrapper {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-solid:dir(rtl)) .textarea-wrapper {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n }\n}\n\n:host(.label-floating.textarea-fill-solid) .label-text-wrapper {\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% / 0.75);\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host(.textarea-fill-outline) {\n --border-color: var(--ion-color-step-300, #b3b3b3);\n --border-radius: 4px;\n --padding-start: 16px;\n --padding-end: 16px;\n min-height: 56px;\n}\n\n:host(.textarea-fill-outline.textarea-shape-round) {\n --border-radius: 28px;\n --padding-start: 32px;\n --padding-end: 32px;\n}\n\n/**\n * If the textarea has a validity state, the\n * border should reflect that as a color.\n */\n:host(.has-focus.textarea-fill-outline.ion-valid),\n:host(.textarea-fill-outline.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n/**\n * Border should be\n * slightly darker on hover.\n */\n@media (any-hover: hover) {\n :host(.textarea-fill-outline:hover) {\n --border-color: var(--ion-color-step-750, #404040);\n }\n}\n/**\n * The border should get thicker\n * and take on component color when\n * the textarea is focused.\n */\n:host(.textarea-fill-outline.has-focus) {\n --border-width: 2px;\n --border-color: var(--highlight-color);\n}\n\n/**\n * The bottom content should never have\n * a border with the outline style.\n */\n:host(.textarea-fill-outline) .textarea-bottom {\n border-top: none;\n}\n\n/**\n * Outline textarea do not have a bottom border.\n * Instead, they have a border that wraps the\n * textarea + label.\n */\n:host(.textarea-fill-outline) .textarea-wrapper {\n border-bottom: none;\n}\n\n:host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper,\n:host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper {\n transform-origin: left top;\n position: absolute;\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% - var(--padding-start) - var(--padding-end));\n}\n:host-context([dir=rtl]):host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-fill-outline.textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-fill-outline.textarea-label-placement-floating .label-text-wrapper {\n transform-origin: right top;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-outline.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-fill-outline.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {\n transform-origin: right top;\n }\n}\n\n/**\n * The label should appear on top of an outline\n * container that overlaps it so it is always clickable.\n */\n:host(.textarea-fill-outline) .label-text-wrapper,\n:host(.textarea-fill-outline) .label-text-wrapper {\n position: relative;\n}\n\n/**\n * This makes the label sit above the textarea.\n */\n:host(.label-floating.textarea-fill-outline) .label-text-wrapper {\n transform: translateY(-32%) scale(0.75);\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n );\n}\n\n/**\n * This ensures that the textarea does not\n * overlap the floating label while still\n * remaining visually centered.\n */\n:host(.textarea-fill-outline.textarea-label-placement-stacked) textarea,\n:host(.textarea-fill-outline.textarea-label-placement-floating) textarea,\n:host(.textarea-fill-outline.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,\n:host(.textarea-fill-outline.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {\n -webkit-margin-start: 0px;\n margin-inline-start: 0px;\n -webkit-margin-end: 0px;\n margin-inline-end: 0px;\n margin-top: 12px;\n margin-bottom: 0px;\n}\n\n:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot=start]),\n:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot=end]),\n:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot=start]),\n:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot=end]) {\n margin-top: 12px;\n}\n\n:host(.textarea-fill-outline) .textarea-outline-container {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n:host(.textarea-fill-outline) .textarea-outline-start,\n:host(.textarea-fill-outline) .textarea-outline-end {\n pointer-events: none;\n}\n\n/**\n * By default, each piece of the container should have\n * a top and bottom border. This gives the appearance\n * of a unified container with a border.\n */\n:host(.textarea-fill-outline) .textarea-outline-start,\n:host(.textarea-fill-outline) .textarea-outline-notch,\n:host(.textarea-fill-outline) .textarea-outline-end {\n border-top: var(--border-width) var(--border-style) var(--border-color);\n border-bottom: var(--border-width) var(--border-style) var(--border-color);\n}\n\n/**\n * Ensures long labels do not cause the notch to flow\n * out of bounds.\n */\n:host(.textarea-fill-outline) .textarea-outline-notch {\n max-width: calc(100% - var(--padding-start) - var(--padding-end));\n}\n\n/**\n * This element ensures that the notch used\n * the size of the scaled text so that the\n * border cut out is the correct width.\n * The text in this element should not\n * be interactive.\n */\n:host(.textarea-fill-outline) .notch-spacer {\n /**\n * We need $textarea-md-floating-label-padding of padding on the right.\n * However, we also subtracted $textarea-md-floating-label-padding from\n * the width of .textarea-outline-start\n * to create space, so we need to take\n * that into consideration here.\n */\n -webkit-padding-end: 8px;\n padding-inline-end: 8px;\n font-size: calc(1em * 0.75);\n opacity: 0;\n pointer-events: none;\n /**\n * The spacer currently inherits\n * border-box sizing from the Ionic reset styles.\n * However, we do not want to include padding in\n * the calculation of the element dimensions.\n * This code can be removed if textarea is updated\n * to use the Shadow DOM.\n */\n box-sizing: content-box;\n}\n\n:host(.textarea-fill-outline) .textarea-outline-start {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: var(--border-radius);\n -webkit-border-start: var(--border-width) var(--border-style) var(--border-color);\n border-inline-start: var(--border-width) var(--border-style) var(--border-color);\n /**\n * There should be spacing between the translated text\n * and .textarea-outline-start. However, we can't add this\n * spacing onto the notch because it would cause the\n * label to look like it is not aligned with the\n * text textarea. Instead, we subtract a few pixels from\n * this element.\n */\n width: calc(var(--padding-start) - 4px);\n}\n:host-context([dir=rtl]):host(.textarea-fill-outline) .textarea-outline-start, :host-context([dir=rtl]).textarea-fill-outline .textarea-outline-start {\n border-top-left-radius: 0px;\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n border-bottom-left-radius: 0px;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-start {\n border-top-left-radius: 0px;\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n border-bottom-left-radius: 0px;\n }\n}\n\n:host(.textarea-fill-outline) .textarea-outline-end {\n -webkit-border-end: var(--border-width) var(--border-style) var(--border-color);\n border-inline-end: var(--border-width) var(--border-style) var(--border-color);\n border-top-left-radius: 0px;\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n border-bottom-left-radius: 0px;\n /**\n * The ending outline fragment\n * should take up the remaining free space.\n */\n flex-grow: 1;\n}\n:host-context([dir=rtl]):host(.textarea-fill-outline) .textarea-outline-end, :host-context([dir=rtl]).textarea-fill-outline .textarea-outline-end {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: var(--border-radius);\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-end {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: var(--border-radius);\n }\n}\n\n/**\n * When the textarea either has focus or a value,\n * there should be a \"cut out\" at the top for\n * the floating/stacked label. We simulate this \"cut out\"\n * by removing the top border from the notch fragment.\n */\n:host(.label-floating.textarea-fill-outline) .textarea-outline-notch {\n border-top: none;\n}\n\n:host {\n --border-width: 1px;\n --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));\n --padding-top: 18px;\n --padding-end: 0px;\n --padding-bottom: 8px;\n --padding-start: 0px;\n font-size: inherit;\n}\n\n:host(.legacy-textarea) {\n --padding-top: 10px;\n --padding-end: 0;\n --padding-bottom: 11px;\n --padding-start: 8px;\n margin-left: 0;\n margin-right: 0;\n margin-top: 8px;\n margin-bottom: 0;\n}\n\n:host-context(.item-label-stacked),\n:host-context(.item-label-floating) {\n --padding-top: 8px;\n --padding-bottom: 8px;\n --padding-start: 0;\n}\n\n.textarea-bottom .counter {\n letter-spacing: 0.0333333333em;\n}\n\n/**\n * When the textarea is focused the label should\n * take on the highlight color. This should\n * only apply to floating or stacked labels.\n */\n:host(.textarea-label-placement-floating.has-focus) .label-text-wrapper,\n:host(.textarea-label-placement-stacked.has-focus) .label-text-wrapper {\n color: var(--highlight-color);\n}\n\n:host(.has-focus.textarea-label-placement-floating.ion-valid) .label-text-wrapper,\n:host(.textarea-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,\n:host(.has-focus.textarea-label-placement-stacked.ion-valid) .label-text-wrapper,\n:host(.textarea-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper {\n color: var(--highlight-color);\n}\n\n:host(.legacy-textarea) .native-textarea[disabled],\n:host(.textarea-disabled) {\n opacity: 0.38;\n}\n\n.textarea-highlight {\n bottom: -1px;\n position: absolute;\n width: 100%;\n height: 2px;\n transform: scale(0);\n transition: transform 200ms;\n background: var(--highlight-color);\n}\n@supports (inset-inline-start: 0) {\n .textarea-highlight {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n .textarea-highlight {\n left: 0;\n }\n :host-context([dir=rtl]) .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n [dir=rtl] .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n .textarea-highlight:dir(rtl) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n:host(.has-focus) .textarea-highlight {\n transform: scale(1);\n}\n\n/**\n * Adjust the highlight up by 1px\n * so it is not cut off by the\n * the item's line (if one is present).\n */\n:host(.in-item) .textarea-highlight {\n bottom: 0;\n}\n@supports (inset-inline-start: 0) {\n :host(.in-item) .textarea-highlight {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n :host(.in-item) .textarea-highlight {\n left: 0;\n }\n :host-context([dir=rtl]):host(.in-item) .textarea-highlight, :host-context([dir=rtl]).in-item .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n :host(.in-item:dir(rtl)) .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n:host(.textarea-shape-round) {\n --border-radius: 16px;\n}\n\n/**\n * Slotted buttons have a lot of default padding that can\n * cause them to look misaligned from other pieces such\n * as the control's label, especially when using a clear\n * fill. We also make them circular to ensure that non-\n * clear buttons and the focus/hover state on clear ones\n * don't look too crowded.\n */\n::slotted(ion-button[slot=start].button-has-icon-only),\n::slotted(ion-button[slot=end].button-has-icon-only) {\n --border-radius: 50%;\n --padding-start: 8px;\n --padding-end: 8px;\n --padding-top: 8px;\n --padding-bottom: 8px;\n aspect-ratio: 1;\n min-height: 40px;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Build, Host, forceUpdate, h, writeTask, } from \"@stencil/core\";\nimport { createLegacyFormController, createNotchController } from \"../../utils/forms/index\";\nimport { inheritAriaAttributes, debounceEvent, findItemLabel, inheritAttributes, componentOnReady, } from \"../../utils/helpers\";\nimport { printIonWarning } from \"../../utils/logging/index\";\nimport { createSlotMutationController } from \"../../utils/slot-mutation-controller\";\nimport { createColorClasses, hostContext } from \"../../utils/theme\";\nimport { getIonMode } from \"../../global/ionic-global\";\nimport { getCounterText } from \"../input/input.utils\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @slot label - The label text to associate with the textarea. Use the `labelPlacement` property to control where the label is placed relative to the textarea. Use this if you need to render a label with custom HTML. (EXPERIMENTAL)\n * @slot start - Content to display at the leading edge of the textarea. (EXPERIMENTAL)\n * @slot end - Content to display at the trailing edge of the textarea. (EXPERIMENTAL)\n */\nexport class Textarea {\n constructor() {\n this.inputId = `ion-textarea-${textareaIds++}`;\n /**\n * `true` if the textarea was cleared as a result of the user typing\n * with `clearOnEdit` enabled.\n *\n * Resets when the textarea loses focus.\n */\n this.didTextareaClearOnEdit = false;\n this.inheritedAttributes = {};\n // This flag ensures we log the deprecation warning at most once.\n this.hasLoggedDeprecationWarning = false;\n // `Event` type is used instead of `InputEvent`\n // since the types from Stencil are not derived\n // from the element (e.g. textarea and input\n // should be InputEvent, but all other elements\n // should be Event).\n this.onInput = (ev) => {\n const input = ev.target;\n if (input) {\n this.value = input.value || '';\n }\n this.emitInputChange(ev);\n };\n this.onChange = (ev) => {\n this.emitValueChange(ev);\n };\n this.onFocus = (ev) => {\n this.hasFocus = true;\n this.focusedValue = this.value;\n this.focusChange();\n this.ionFocus.emit(ev);\n };\n this.onBlur = (ev) => {\n this.hasFocus = false;\n this.focusChange();\n if (this.focusedValue !== this.value) {\n /**\n * Emits the `ionChange` event when the textarea value\n * is different than the value when the textarea was focused.\n */\n this.emitValueChange(ev);\n }\n this.didTextareaClearOnEdit = false;\n this.ionBlur.emit(ev);\n };\n this.onKeyDown = (ev) => {\n this.checkClearOnEdit(ev);\n };\n this.hasFocus = false;\n this.color = undefined;\n this.autocapitalize = 'none';\n this.autofocus = false;\n this.clearOnEdit = false;\n this.debounce = undefined;\n this.disabled = false;\n this.fill = undefined;\n this.inputmode = undefined;\n this.enterkeyhint = undefined;\n this.maxlength = undefined;\n this.minlength = undefined;\n this.name = this.inputId;\n this.placeholder = undefined;\n this.readonly = false;\n this.required = false;\n this.spellcheck = false;\n this.cols = undefined;\n this.rows = undefined;\n this.wrap = undefined;\n this.autoGrow = false;\n this.value = '';\n this.counter = false;\n this.counterFormatter = undefined;\n this.errorText = undefined;\n this.helperText = undefined;\n this.label = undefined;\n this.labelPlacement = 'start';\n this.legacy = undefined;\n this.shape = undefined;\n }\n debounceChanged() {\n const { ionInput, debounce, originalIonInput } = this;\n /**\n * If debounce is undefined, we have to manually revert the ionInput emitter in case\n * debounce used to be set to a number. Otherwise, the event would stay debounced.\n */\n this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);\n }\n disabledChanged() {\n this.emitStyle();\n }\n /**\n * Update the native input element when the value changes\n */\n valueChanged() {\n const nativeInput = this.nativeInput;\n const value = this.getValue();\n if (nativeInput && nativeInput.value !== value) {\n nativeInput.value = value;\n }\n this.runAutoGrow();\n this.emitStyle();\n }\n connectedCallback() {\n const { el } = this;\n this.legacyFormController = createLegacyFormController(el);\n this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate(this));\n this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);\n this.emitStyle();\n this.debounceChanged();\n if (Build.isBrowser) {\n document.dispatchEvent(new CustomEvent('ionInputDidLoad', {\n detail: el,\n }));\n }\n }\n disconnectedCallback() {\n if (Build.isBrowser) {\n document.dispatchEvent(new CustomEvent('ionInputDidUnload', {\n detail: this.el,\n }));\n }\n if (this.slotMutationController) {\n this.slotMutationController.destroy();\n this.slotMutationController = undefined;\n }\n if (this.notchController) {\n this.notchController.destroy();\n this.notchController = undefined;\n }\n }\n componentWillLoad() {\n this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el, ['data-form-type', 'title', 'tabindex']));\n }\n componentDidLoad() {\n this.originalIonInput = this.ionInput;\n this.runAutoGrow();\n }\n componentDidRender() {\n var _a;\n (_a = this.notchController) === null || _a === void 0 ? void 0 : _a.calculateNotchWidth();\n }\n /**\n * Sets focus on the native `textarea` in `ion-textarea`. Use this method instead of the global\n * `textarea.focus()`.\n *\n * See [managing focus](/docs/developing/managing-focus) for more information.\n */\n async setFocus() {\n if (this.nativeInput) {\n this.nativeInput.focus();\n }\n }\n /**\n * Returns the native `<textarea>` element used under the hood.\n */\n async getInputElement() {\n /**\n * If this gets called in certain early lifecycle hooks (ex: Vue onMounted),\n * nativeInput won't be defined yet with the custom elements build, so wait for it to load in.\n */\n if (!this.nativeInput) {\n await new Promise((resolve) => componentOnReady(this.el, resolve));\n }\n return Promise.resolve(this.nativeInput);\n }\n emitStyle() {\n if (this.legacyFormController.hasLegacyControl()) {\n this.ionStyle.emit({\n interactive: true,\n textarea: true,\n input: true,\n 'interactive-disabled': this.disabled,\n 'has-placeholder': this.placeholder !== undefined,\n 'has-value': this.hasValue(),\n 'has-focus': this.hasFocus,\n // TODO(FW-2876): remove this\n legacy: !!this.legacy,\n });\n }\n }\n /**\n * Emits an `ionChange` event.\n *\n * This API should be called for user committed changes.\n * This API should not be used for external value changes.\n */\n emitValueChange(event) {\n const { value } = this;\n // Checks for both null and undefined values\n const newValue = value == null ? value : value.toString();\n // Emitting a value change should update the internal state for tracking the focused value\n this.focusedValue = newValue;\n this.ionChange.emit({ value: newValue, event });\n }\n /**\n * Emits an `ionInput` event.\n */\n emitInputChange(event) {\n const { value } = this;\n this.ionInput.emit({ value, event });\n }\n runAutoGrow() {\n if (this.nativeInput && this.autoGrow) {\n writeTask(() => {\n var _a;\n if (this.textareaWrapper) {\n // Replicated value is an attribute to be used in the stylesheet\n // to set the inner contents of a pseudo element.\n this.textareaWrapper.dataset.replicatedValue = (_a = this.value) !== null && _a !== void 0 ? _a : '';\n }\n });\n }\n }\n /**\n * Check if we need to clear the text input if clearOnEdit is enabled\n */\n checkClearOnEdit(ev) {\n if (!this.clearOnEdit) {\n return;\n }\n /**\n * The following keys do not modify the\n * contents of the input. As a result, pressing\n * them should not edit the textarea.\n *\n * We can't check to see if the value of the textarea\n * was changed because we call checkClearOnEdit\n * in a keydown listener, and the key has not yet\n * been added to the textarea.\n *\n * Unlike ion-input, the \"Enter\" key does modify the\n * textarea by adding a new line, so \"Enter\" is not\n * included in the IGNORED_KEYS array.\n */\n const IGNORED_KEYS = ['Tab', 'Shift', 'Meta', 'Alt', 'Control'];\n const pressedIgnoredKey = IGNORED_KEYS.includes(ev.key);\n /**\n * Clear the textarea if the control has not been previously cleared\n * during focus.\n */\n if (!this.didTextareaClearOnEdit && this.hasValue() && !pressedIgnoredKey) {\n this.value = '';\n this.emitInputChange(ev);\n }\n /**\n * Pressing an IGNORED_KEYS first and\n * then an allowed key will cause the input to not\n * be cleared.\n */\n if (!pressedIgnoredKey) {\n this.didTextareaClearOnEdit = true;\n }\n }\n focusChange() {\n this.emitStyle();\n }\n hasValue() {\n return this.getValue() !== '';\n }\n getValue() {\n return this.value || '';\n }\n // TODO: FW-2876 - Remove this render function\n renderLegacyTextarea() {\n if (!this.hasLoggedDeprecationWarning) {\n printIonWarning(`ion-textarea now requires providing a label with either the \"label\" property or the \"aria-label\" attribute. To migrate, remove any usage of \"ion-label\" and pass the label text to either the \"label\" property or the \"aria-label\" attribute.\n\nExample: <ion-textarea label=\"Comments\"></ion-textarea>\nExample with aria-label: <ion-textarea aria-label=\"Comments\"></ion-textarea>\n\nFor textareas that do not render the label immediately next to the input, developers may continue to use \"ion-label\" but must manually associate the label with the textarea by using \"aria-labelledby\".\n\nDevelopers can use the \"legacy\" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.`, this.el);\n this.hasLoggedDeprecationWarning = true;\n }\n const mode = getIonMode(this);\n const value = this.getValue();\n const labelId = this.inputId + '-lbl';\n const label = findItemLabel(this.el);\n if (label) {\n label.id = labelId;\n }\n return (h(Host, { \"aria-disabled\": this.disabled ? 'true' : null, class: createColorClasses(this.color, {\n [mode]: true,\n 'legacy-textarea': true,\n }) }, h(\"div\", { class: \"textarea-legacy-wrapper\", ref: (el) => (this.textareaWrapper = el) }, h(\"textarea\", Object.assign({ class: \"native-textarea\", \"aria-labelledby\": label ? label.id : null, ref: (el) => (this.nativeInput = el), autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, disabled: this.disabled, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value))));\n }\n renderLabel() {\n const { label } = this;\n return (h(\"div\", { class: {\n 'label-text-wrapper': true,\n 'label-text-wrapper-hidden': !this.hasLabel,\n } }, label === undefined ? h(\"slot\", { name: \"label\" }) : h(\"div\", { class: \"label-text\" }, label)));\n }\n /**\n * Gets any content passed into the `label` slot,\n * not the <slot> definition.\n */\n get labelSlot() {\n return this.el.querySelector('[slot=\"label\"]');\n }\n /**\n * Returns `true` if label content is provided\n * either by a prop or a content. If you want\n * to get the plaintext value of the label use\n * the `labelText` getter instead.\n */\n get hasLabel() {\n return this.label !== undefined || this.labelSlot !== null;\n }\n /**\n * Renders the border container when fill=\"outline\".\n */\n renderLabelContainer() {\n const mode = getIonMode(this);\n const hasOutlineFill = mode === 'md' && this.fill === 'outline';\n if (hasOutlineFill) {\n /**\n * The outline fill has a special outline\n * that appears around the textarea and the label.\n * Certain stacked and floating label placements cause the\n * label to translate up and create a \"cut out\"\n * inside of that border by using the notch-spacer element.\n */\n return [\n h(\"div\", { class: \"textarea-outline-container\" }, h(\"div\", { class: \"textarea-outline-start\" }), h(\"div\", { class: {\n 'textarea-outline-notch': true,\n 'textarea-outline-notch-hidden': !this.hasLabel,\n } }, h(\"div\", { class: \"notch-spacer\", \"aria-hidden\": \"true\", ref: (el) => (this.notchSpacerEl = el) }, this.label)), h(\"div\", { class: \"textarea-outline-end\" })),\n this.renderLabel(),\n ];\n }\n /**\n * If not using the outline style,\n * we can render just the label.\n */\n return this.renderLabel();\n }\n /**\n * Renders the helper text or error text values\n */\n renderHintText() {\n const { helperText, errorText } = this;\n return [h(\"div\", { class: \"helper-text\" }, helperText), h(\"div\", { class: \"error-text\" }, errorText)];\n }\n renderCounter() {\n const { counter, maxlength, counterFormatter, value } = this;\n if (counter !== true || maxlength === undefined) {\n return;\n }\n return h(\"div\", { class: \"counter\" }, getCounterText(value, maxlength, counterFormatter));\n }\n /**\n * Responsible for rendering helper text,\n * error text, and counter. This element should only\n * be rendered if hint text is set or counter is enabled.\n */\n renderBottomContent() {\n const { counter, helperText, errorText, maxlength } = this;\n /**\n * undefined and empty string values should\n * be treated as not having helper/error text.\n */\n const hasHintText = !!helperText || !!errorText;\n const hasCounter = counter === true && maxlength !== undefined;\n if (!hasHintText && !hasCounter) {\n return;\n }\n return (h(\"div\", { class: \"textarea-bottom\" }, this.renderHintText(), this.renderCounter()));\n }\n renderTextarea() {\n const { inputId, disabled, fill, shape, labelPlacement, el, hasFocus } = this;\n const mode = getIonMode(this);\n const value = this.getValue();\n const inItem = hostContext('ion-item', this.el);\n const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;\n const hasValue = this.hasValue();\n const hasStartEndSlots = el.querySelector('[slot=\"start\"], [slot=\"end\"]') !== null;\n /**\n * If the label is stacked, it should always sit above the textarea.\n * For floating labels, the label should move above the textarea if\n * the textarea has a value, is focused, or has anything in either\n * the start or end slot.\n *\n * If there is content in the start slot, the label would overlap\n * it if not forced to float. This is also applied to the end slot\n * because with the default or solid fills, the textarea is not\n * vertically centered in the container, but the label is. This\n * causes the slots and label to appear vertically offset from each\n * other when the label isn't floating above the input. This doesn't\n * apply to the outline fill, but this was not accounted for to keep\n * things consistent.\n *\n * TODO(FW-5592): Remove hasStartEndSlots condition\n */\n const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));\n return (h(Host, { class: createColorClasses(this.color, {\n [mode]: true,\n 'has-value': hasValue,\n 'has-focus': hasFocus,\n 'label-floating': labelShouldFloat,\n [`textarea-fill-${fill}`]: fill !== undefined,\n [`textarea-shape-${shape}`]: shape !== undefined,\n [`textarea-label-placement-${labelPlacement}`]: true,\n 'textarea-disabled': disabled,\n }) }, h(\"label\", { class: \"textarea-wrapper\", htmlFor: inputId }, this.renderLabelContainer(), h(\"div\", { class: \"textarea-wrapper-inner\" }, h(\"div\", { class: \"start-slot-wrapper\" }, h(\"slot\", { name: \"start\" })), h(\"div\", { class: \"native-wrapper\", ref: (el) => (this.textareaWrapper = el) }, h(\"textarea\", Object.assign({ class: \"native-textarea\", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h(\"div\", { class: \"end-slot-wrapper\" }, h(\"slot\", { name: \"end\" }))), shouldRenderHighlight && h(\"div\", { class: \"textarea-highlight\" })), this.renderBottomContent()));\n }\n render() {\n const { legacyFormController } = this;\n return legacyFormController.hasLegacyControl() ? this.renderLegacyTextarea() : this.renderTextarea();\n }\n static get is() { return \"ion-textarea\"; }\n static get encapsulation() { return \"scoped\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"textarea.ios.scss\"],\n \"md\": [\"textarea.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"textarea.ios.css\"],\n \"md\": [\"textarea.md.css\"]\n };\n }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Color\",\n \"resolved\": \"\\\"danger\\\" | \\\"dark\\\" | \\\"light\\\" | \\\"medium\\\" | \\\"primary\\\" | \\\"secondary\\\" | \\\"success\\\" | \\\"tertiary\\\" | \\\"warning\\\" | string & Record<never, never> | undefined\",\n \"references\": {\n \"Color\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::Color\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use from your application's color palette.\\nDefault options are: `\\\"primary\\\"`, `\\\"secondary\\\"`, `\\\"tertiary\\\"`, `\\\"success\\\"`, `\\\"warning\\\"`, `\\\"danger\\\"`, `\\\"light\\\"`, `\\\"medium\\\"`, and `\\\"dark\\\"`.\\nFor more information on colors, see [theming](/docs/theming/basics).\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"autocapitalize\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\\nAvailable options: `\\\"off\\\"`, `\\\"none\\\"`, `\\\"on\\\"`, `\\\"sentences\\\"`, `\\\"words\\\"`, `\\\"characters\\\"`.\"\n },\n \"attribute\": \"autocapitalize\",\n \"reflect\": false,\n \"defaultValue\": \"'none'\"\n },\n \"autofocus\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.\\n\\nThis may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.\"\n },\n \"attribute\": \"autofocus\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"clearOnEdit\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the value will be cleared after focus upon edit.\"\n },\n \"attribute\": \"clear-on-edit\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"debounce\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Set the amount of time, in milliseconds, to wait to trigger the `ionInput` event after each keystroke.\"\n },\n \"attribute\": \"debounce\",\n \"reflect\": false\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot interact with the textarea.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"fill\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'outline' | 'solid'\",\n \"resolved\": \"\\\"outline\\\" | \\\"solid\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The fill for the item. If `\\\"solid\\\"` the item will have a background. If\\n`\\\"outline\\\"` the item will be transparent with a border. Only available in `md` mode.\"\n },\n \"attribute\": \"fill\",\n \"reflect\": false\n },\n \"inputmode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'\",\n \"resolved\": \"\\\"decimal\\\" | \\\"email\\\" | \\\"none\\\" | \\\"numeric\\\" | \\\"search\\\" | \\\"tel\\\" | \\\"text\\\" | \\\"url\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A hint to the browser for which keyboard to display.\\nPossible values: `\\\"none\\\"`, `\\\"text\\\"`, `\\\"tel\\\"`, `\\\"url\\\"`,\\n`\\\"email\\\"`, `\\\"numeric\\\"`, `\\\"decimal\\\"`, and `\\\"search\\\"`.\"\n },\n \"attribute\": \"inputmode\",\n \"reflect\": false\n },\n \"enterkeyhint\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'\",\n \"resolved\": \"\\\"done\\\" | \\\"enter\\\" | \\\"go\\\" | \\\"next\\\" | \\\"previous\\\" | \\\"search\\\" | \\\"send\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A hint to the browser for which enter key to display.\\nPossible values: `\\\"enter\\\"`, `\\\"done\\\"`, `\\\"go\\\"`, `\\\"next\\\"`,\\n`\\\"previous\\\"`, `\\\"search\\\"`, and `\\\"send\\\"`.\"\n },\n \"attribute\": \"enterkeyhint\",\n \"reflect\": false\n },\n \"maxlength\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This attribute specifies the maximum number of characters that the user can enter.\"\n },\n \"attribute\": \"maxlength\",\n \"reflect\": false\n },\n \"minlength\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This attribute specifies the minimum number of characters that the user can enter.\"\n },\n \"attribute\": \"minlength\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The name of the control, which is submitted with the form data.\"\n },\n \"attribute\": \"name\",\n \"reflect\": false,\n \"defaultValue\": \"this.inputId\"\n },\n \"placeholder\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Instructional text that shows before the input has a value.\"\n },\n \"attribute\": \"placeholder\",\n \"reflect\": false\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot modify the value.\"\n },\n \"attribute\": \"readonly\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"required\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user must fill in a value before submitting a form.\"\n },\n \"attribute\": \"required\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"spellcheck\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the element will have its spelling and grammar checked.\"\n },\n \"attribute\": \"spellcheck\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"cols\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer.\"\n },\n \"attribute\": \"cols\",\n \"reflect\": true\n },\n \"rows\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The number of visible text lines for the control.\"\n },\n \"attribute\": \"rows\",\n \"reflect\": false\n },\n \"wrap\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'hard' | 'soft' | 'off'\",\n \"resolved\": \"\\\"hard\\\" | \\\"off\\\" | \\\"soft\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates how the control wraps text.\"\n },\n \"attribute\": \"wrap\",\n \"reflect\": false\n },\n \"autoGrow\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the textarea container will grow and shrink based\\non the contents of the textarea.\"\n },\n \"attribute\": \"auto-grow\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string | null\",\n \"resolved\": \"null | string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value of the textarea.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"''\"\n },\n \"counter\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, a character counter will display the ratio of characters used and the total character limit.\\nDevelopers must also set the `maxlength` property for the counter to be calculated correctly.\"\n },\n \"attribute\": \"counter\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"counterFormatter\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"(inputLength: number, maxLength: number) => string\",\n \"resolved\": \"((inputLength: number, maxLength: number) => string) | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A callback used to format the counter text.\\nBy default the counter text is set to \\\"itemLength / maxLength\\\".\\n\\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\\nif you need to access `this` from within the callback.\"\n }\n },\n \"errorText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Text that is placed under the textarea and displayed when an error is detected.\"\n },\n \"attribute\": \"error-text\",\n \"reflect\": false\n },\n \"helperText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Text that is placed under the textarea and displayed when no error is detected.\"\n },\n \"attribute\": \"helper-text\",\n \"reflect\": false\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The visible label associated with the textarea.\\n\\nUse this if you need to render a plaintext label.\\n\\nThe `label` property will take priority over the `label` slot if both are used.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"labelPlacement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'start' | 'end' | 'floating' | 'stacked' | 'fixed'\",\n \"resolved\": \"\\\"end\\\" | \\\"fixed\\\" | \\\"floating\\\" | \\\"stacked\\\" | \\\"start\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Where to place the label relative to the textarea.\\n`\\\"start\\\"`: The label will appear to the left of the textarea in LTR and to the right in RTL.\\n`\\\"end\\\"`: The label will appear to the right of the textarea in LTR and to the left in RTL.\\n`\\\"floating\\\"`: The label will appear smaller and above the textarea when the textarea is focused or it has a value. Otherwise it will appear on top of the textarea.\\n`\\\"stacked\\\"`: The label will appear smaller and above the textarea regardless even when the textarea is blurred or has no value.\\n`\\\"fixed\\\"`: The label has the same behavior as `\\\"start\\\"` except it also has a fixed width. Long text will be truncated with ellipses (\\\"...\\\").\"\n },\n \"attribute\": \"label-placement\",\n \"reflect\": false,\n \"defaultValue\": \"'start'\"\n },\n \"legacy\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Set the `legacy` property to `true` to forcibly use the legacy form control markup.\\nIonic will only opt components in to the modern form markup when they are\\nusing either the `aria-label` attribute or the default slot that contains\\nthe label text. As a result, the `legacy` property should only be used as\\nan escape hatch when you want to avoid this automatic opt-in behavior.\\nNote that this property will be removed in an upcoming major release\\nof Ionic, and all form components will be opted-in to using the modern form markup.\"\n },\n \"attribute\": \"legacy\",\n \"reflect\": false\n },\n \"shape\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'round'\",\n \"resolved\": \"\\\"round\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The shape of the textarea. If \\\"round\\\" it will have an increased border radius.\"\n },\n \"attribute\": \"shape\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"hasFocus\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionChange\",\n \"name\": \"ionChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The `ionChange` event is fired when the user modifies the textarea's value.\\nUnlike the `ionInput` event, the `ionChange` event is fired when\\nthe element loses focus after its value has been modified.\"\n },\n \"complexType\": {\n \"original\": \"TextareaChangeEventDetail\",\n \"resolved\": \"TextareaChangeEventDetail\",\n \"references\": {\n \"TextareaChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./textarea-interface\",\n \"id\": \"src/components/textarea/textarea-interface.ts::TextareaChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionInput\",\n \"name\": \"ionInput\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The `ionInput` event is fired each time the user modifies the textarea's value.\\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\\nto the textarea's value. This typically happens for each keystroke as the user types.\\n\\nWhen `clearOnEdit` is enabled, the `ionInput` event will be fired when\\nthe user clears the textarea by performing a keydown event.\"\n },\n \"complexType\": {\n \"original\": \"TextareaInputEventDetail\",\n \"resolved\": \"TextareaInputEventDetail\",\n \"references\": {\n \"TextareaInputEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./textarea-interface\",\n \"id\": \"src/components/textarea/textarea-interface.ts::TextareaInputEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionStyle\",\n \"name\": \"ionStyle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the styles change.\"\n },\n \"complexType\": {\n \"original\": \"StyleEventDetail\",\n \"resolved\": \"StyleEventDetail\",\n \"references\": {\n \"StyleEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::StyleEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionBlur\",\n \"name\": \"ionBlur\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the input loses focus.\"\n },\n \"complexType\": {\n \"original\": \"FocusEvent\",\n \"resolved\": \"FocusEvent\",\n \"references\": {\n \"FocusEvent\": {\n \"location\": \"global\",\n \"id\": \"global::FocusEvent\"\n }\n }\n }\n }, {\n \"method\": \"ionFocus\",\n \"name\": \"ionFocus\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the input has focus.\"\n },\n \"complexType\": {\n \"original\": \"FocusEvent\",\n \"resolved\": \"FocusEvent\",\n \"references\": {\n \"FocusEvent\": {\n \"location\": \"global\",\n \"id\": \"global::FocusEvent\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the native `textarea` in `ion-textarea`. Use this method instead of the global\\n`textarea.focus()`.\\n\\nSee [managing focus](/docs/developing/managing-focus) for more information.\",\n \"tags\": []\n }\n },\n \"getInputElement\": {\n \"complexType\": {\n \"signature\": \"() => Promise<HTMLTextAreaElement>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLTextAreaElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLTextAreaElement\"\n }\n },\n \"return\": \"Promise<HTMLTextAreaElement>\"\n },\n \"docs\": {\n \"text\": \"Returns the native `<textarea>` element used under the hood.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"debounce\",\n \"methodName\": \"debounceChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueChanged\"\n }];\n }\n}\nlet textareaIds = 0;\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["textareaIosCss","IonTextareaIosStyle0","textareaMdCss","IonTextareaMdStyle0","Textarea","constructor","hostRef","this","inputId","textareaIds","didTextareaClearOnEdit","inheritedAttributes","hasLoggedDeprecationWarning","onInput","ev","input","target","value","emitInputChange","onChange","emitValueChange","onFocus","hasFocus","focusedValue","focusChange","ionFocus","emit","onBlur","ionBlur","onKeyDown","checkClearOnEdit","color","undefined","autocapitalize","autofocus","clearOnEdit","debounce","disabled","fill","inputmode","enterkeyhint","maxlength","minlength","name","placeholder","readonly","required","spellcheck","cols","rows","wrap","autoGrow","counter","counterFormatter","errorText","helperText","label","labelPlacement","legacy","shape","debounceChanged","ionInput","originalIonInput","debounceEvent","disabledChanged","emitStyle","valueChanged","nativeInput","getValue","runAutoGrow","connectedCallback","el","legacyFormController","createLegacyFormController","slotMutationController","createSlotMutationController","forceUpdate","notchController","createNotchController","notchSpacerEl","labelSlot","document","dispatchEvent","CustomEvent","detail","disconnectedCallback","destroy","componentWillLoad","Object","assign","inheritAriaAttributes","inheritAttributes","componentDidLoad","componentDidRender","_a","calculateNotchWidth","setFocus","focus","getInputElement","Promise","resolve","componentOnReady","hasLegacyControl","ionStyle","interactive","textarea","hasValue","event","newValue","toString","ionChange","writeTask","textareaWrapper","dataset","replicatedValue","IGNORED_KEYS","pressedIgnoredKey","includes","key","renderLegacyTextarea","printIonWarning","mode","getIonMode","labelId","findItemLabel","id","h","Host","class","createColorClasses","ref","autoCapitalize","autoFocus","enterKeyHint","inputMode","maxLength","minLength","readOnly","renderLabel","hasLabel","querySelector","renderLabelContainer","hasOutlineFill","renderHintText","renderCounter","getCounterText","renderBottomContent","hasHintText","hasCounter","renderTextarea","inItem","hostContext","shouldRenderHighlight","hasStartEndSlots","labelShouldFloat","htmlFor","render"],"sources":["../node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css?tag=ion-textarea&mode=ios&encapsulation=scoped","../node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css?tag=ion-textarea&mode=md&encapsulation=scoped","../node_modules/@ionic/core/dist/collection/components/textarea/textarea.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --background: Background of the textarea\n *\n * @prop --border-radius: Border radius of the textarea\n * @prop --border-color: Color of the border below the textarea when using helper text, error text, or counter\n * @prop --border-radius: Radius of the textarea border. A large radius may display unevenly when using fill=\"outline\"; if needed, use shape=\"round\" instead or increase --padding-start.\n * @prop --border-style: Style of the border below the textarea when using helper text, error text, or counter\n * @prop --border-width: Width of the border below the textarea when using helper text, error text, or counter\n *\n * @prop --color: Color of the text\n *\n * @prop --placeholder-color: Color of the placeholder text\n * @prop --placeholder-font-style: Style of the placeholder text\n * @prop --placeholder-font-weight: Weight of the placeholder text\n * @prop --placeholder-opacity: Opacity of the placeholder text\n *\n * @prop --highlight-color-focused: The color of the highlight on the textarea when focused\n * @prop --highlight-color-valid: The color of the highlight on the textarea when valid\n * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid\n *\n * @prop --padding-top: Top padding of the textarea\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the textarea\n * @prop --padding-bottom: Bottom padding of the textarea\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the textarea\n */\n --background: initial;\n --color: initial;\n --placeholder-color: initial;\n --placeholder-font-style: initial;\n --placeholder-font-weight: initial;\n --placeholder-opacity: 0.6;\n --padding-top: 0;\n --padding-end: 0;\n --padding-bottom: 0;\n --padding-start: 0;\n --border-radius: 0;\n --border-style: solid;\n --highlight-color-focused: var(--ion-color-primary, #3880ff);\n --highlight-color-valid: var(--ion-color-success, #2dd36f);\n --highlight-color-invalid: var(--ion-color-danger, #eb445a);\n /**\n * This is a private API that is used to switch\n * out the highlight color based on the state\n * of the component without having to write\n * different selectors for different fill variants.\n */\n --highlight-color: var(--highlight-color-focused);\n display: block;\n position: relative;\n width: 100%;\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n z-index: 2;\n box-sizing: border-box;\n}\n\n:host(:not(.legacy-textarea)) {\n min-height: 44px;\n}\n\n/**\n * Since the label sits on top of the element,\n * the component needs to be taller otherwise the\n * label will appear too close to the textarea text.\n * Also, floating and stacked labels should not\n * push the label down since it it\n * sits on top of the textarea.\n */\n:host(.textarea-label-placement-floating),\n:host(.textarea-label-placement-stacked) {\n --padding-top: 0px;\n min-height: 56px;\n}\n\n/**\n * When the cols property is set we should\n * respect that width instead of defaulting\n * to taking up the entire line.\n * Requires both the cols and autoGrow\n * properties to be reflected as attributes\n * on the host.\n *\n * cols does not work with autoGrow because\n * autoGrow would prevent line breaks from naturally\n * occurring until the textarea takes up the entire line width.\n */\n:host([cols]:not([auto-grow])) {\n width: fit-content;\n}\n\n:host(.legacy-textarea) {\n flex: 1;\n background: var(--background);\n white-space: pre-wrap;\n}\n\n:host(.legacy-textarea.ion-color) {\n color: var(--ion-color-base);\n}\n\n:host(:not(.legacy-textarea)) {\n --padding-bottom: 8px;\n}\n\n:host(.ion-color) {\n --highlight-color-focused: var(--ion-color-base);\n background: initial;\n}\n\n:host-context(ion-item) {\n align-self: baseline;\n}\n\n:host-context(ion-item:not(.item-label)) {\n --padding-start: 0;\n}\n\n:host-context(ion-item)[slot=start],\n:host-context(ion-item)[slot=end] {\n width: auto;\n}\n\n.native-textarea {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n display: block;\n position: relative;\n flex: 1;\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n white-space: pre-wrap;\n /**\n * This ensures the textarea\n * remains on top of any decoration\n * that we render (particularly the\n * outline border when fill=\"outline\").\n * If we did not do this then Axe would\n * be unable to determine the color\n * contrast of the textarea.\n */\n z-index: 1;\n box-sizing: border-box;\n resize: none;\n appearance: none;\n}\n.native-textarea::placeholder {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n color: var(--placeholder-color);\n font-family: inherit;\n font-style: var(--placeholder-font-style);\n font-weight: var(--placeholder-font-weight);\n opacity: var(--placeholder-opacity);\n}\n\n:host(.legacy-textarea) .native-textarea {\n white-space: inherit;\n}\n\n:host(.legacy-textarea) .native-textarea,\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n border-radius: var(--border-radius);\n}\n\n.native-textarea {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.cloned-input {\n top: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n}\n@supports (inset-inline-start: 0) {\n .cloned-input {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n .cloned-input {\n left: 0;\n }\n :host-context([dir=rtl]) .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n [dir=rtl] .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n .cloned-input:dir(rtl) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n/**\n * The cloned input needs to be disabled on\n * Android otherwise the viewport will still\n * shift when running scroll assist.\n */\n.cloned-input:disabled {\n opacity: 1;\n}\n\n:host(.legacy-textarea[auto-grow]) .cloned-input {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host([auto-grow]) .cloned-input {\n height: 100%;\n}\n\n:host([auto-grow]) .native-textarea {\n overflow: hidden;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {\n opacity: 0;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {\n transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 1;\n}\n\n.textarea-wrapper {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 0px;\n padding-bottom: 0px;\n border-radius: var(--border-radius);\n display: flex;\n position: relative;\n flex-grow: 1;\n align-items: flex-start;\n height: inherit;\n min-height: inherit;\n transition: background-color 15ms linear;\n background: var(--background);\n line-height: normal;\n}\n\n.native-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n:host(.has-focus) textarea {\n caret-color: var(--highlight-color);\n}\n\n.native-wrapper textarea {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n}\n\n.native-wrapper,\n.textarea-legacy-wrapper {\n display: grid;\n min-width: inherit;\n max-width: inherit;\n min-height: inherit;\n max-height: inherit;\n /**\n * This avoids a WebKit bug where\n * the height of the inner textarea\n * is incorrect and flows outside the\n * parent container: https://bugs.webkit.org/show_bug.cgi?id=256781\n * TODO FW-4734\n */\n grid-auto-rows: 100%;\n}\n.native-wrapper::after,\n.textarea-legacy-wrapper::after {\n white-space: pre-wrap;\n content: attr(data-replicated-value) \" \";\n visibility: hidden;\n}\n\n.native-wrapper::after {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-radius: var(--border-radius);\n /**\n * Note: Do not use @include text-inherit()\n * as that sets white-space: inherit\n * Instead, we use white-space: pre-wrap above.\n */\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.textarea-wrapper-inner {\n display: flex;\n width: 100%;\n min-height: inherit;\n}\n\n:host(.ion-touched.ion-invalid) {\n --highlight-color: var(--highlight-color-invalid);\n}\n\n/**\n * The component highlight is only shown\n * on focus, so we can safely set the valid\n * color state when touched/valid. If we\n * set it when .has-focus is present then\n * the highlight color would change\n * from the valid color to the component's\n * color during the transition after the\n * component loses focus.\n */\n:host(.ion-valid) {\n --highlight-color: var(--highlight-color-valid);\n}\n\n.textarea-bottom {\n /**\n * The bottom content should take on the start and end\n * padding so it is always aligned with either the label\n * or the start of the textarea.\n */\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 5px;\n padding-bottom: 0;\n display: flex;\n justify-content: space-between;\n border-top: var(--border-width) var(--border-style) var(--border-color);\n font-size: 0.75rem;\n}\n\n/**\n * If the textarea has a validity state, the\n * border and label should reflect that as a color.\n */\n:host(.has-focus.ion-valid),\n:host(.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n/**\n * Error text should only be shown when .ion-invalid is\n * present on the textarea. Otherwise the helper text should\n * be shown.\n */\n.textarea-bottom .error-text {\n display: none;\n color: var(--highlight-color-invalid);\n}\n\n.textarea-bottom .helper-text {\n display: block;\n color: var(--ion-color-step-550, #737373);\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {\n display: block;\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .helper-text {\n display: none;\n}\n\n.textarea-bottom .counter {\n /**\n * Counter should always be at\n * the end of the container even\n * when no helper/error texts are used.\n */\n -webkit-margin-start: auto;\n margin-inline-start: auto;\n color: var(--ion-color-step-550, #737373);\n white-space: nowrap;\n padding-inline-start: 16px;\n}\n\n.label-text-wrapper {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n * However, we do not set the max\n * width to 100% because then\n * only the label would show and users\n * would not be able to see what they are typing.\n */\n max-width: 200px;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n /**\n * This ensures that double tapping this text\n * clicks the <label> and focuses the textarea\n * when a screen reader is enabled.\n */\n pointer-events: none;\n}\n\n/**\n * We need to use two elements instead of\n * one. The .label-text-wrapper is responsible\n * for centering the label text vertically regardless\n * of the textarea height using flexbox.\n *\n * The .label-text element is responsible for controlling\n * overflow when label-placement=\"fixed\".\n * We want the ellipses to show up when the\n * fixed label overflows, but text-overflow: ellipsis only\n * works on block-level elements. A flex item is\n * considered blockified (https://www.w3.org/TR/css-display-3/#blockify).\n */\n.label-text,\n::slotted([slot=label]) {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n/**\n * If no label text is placed into the slot\n * then the element should be hidden otherwise\n * there will be additional margins added.\n */\n.label-text-wrapper-hidden,\n.textarea-outline-notch-hidden {\n display: none;\n}\n\n.textarea-wrapper textarea {\n /**\n * When the floating label appears on top of the\n * textarea, we need to fade the textarea out so that the\n * label does not overlap with the placeholder.\n */\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL.\n */\n:host(.textarea-label-placement-start) .textarea-wrapper {\n flex-direction: row;\n}\n\n:host(.textarea-label-placement-start) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the right of the textarea in LTR and\n * on the left in RTL.\n */\n:host(.textarea-label-placement-end) .textarea-wrapper {\n flex-direction: row-reverse;\n}\n\n/**\n * The margin between the label and\n * the textarea should be on the start\n * when the label sits at the end.\n */\n:host(.textarea-label-placement-end) .label-text-wrapper {\n -webkit-margin-start: 16px;\n margin-inline-start: 16px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host(.textarea-label-placement-fixed) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL. Label also has a fixed width.\n */\n:host(.textarea-label-placement-fixed) .label-text {\n flex: 0 0 100px;\n width: 100px;\n min-width: 100px;\n max-width: 200px;\n}\n\n/**\n * Stacked: Label sits above the textarea and is scaled down.\n * Floating: Label sits over the textarea when the textarea has no\n * value and is blurred. Label sits above the textarea and is scaled\n * down when the textarea is focused or has a value.\n *\n */\n:host(.textarea-label-placement-stacked) .textarea-wrapper,\n:host(.textarea-label-placement-floating) .textarea-wrapper {\n flex-direction: column;\n align-items: start;\n}\n\n/**\n * Ensures that the label animates\n * up and to the left in LTR or\n * up and to the right in RTL.\n */\n:host(.textarea-label-placement-stacked) .label-text-wrapper,\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform-origin: left top;\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n max-width: 100%;\n /**\n * The 2 ensures the label\n * remains on top of any browser\n * autofill background too.\n */\n z-index: 2;\n}\n:host-context([dir=rtl]):host(.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-floating .label-text-wrapper {\n transform-origin: right top;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {\n transform-origin: right top;\n }\n}\n\n/**\n * Ensures the textarea does not\n * overlap the label.\n */\n:host(.textarea-label-placement-stacked) textarea,\n:host(.textarea-label-placement-floating) textarea,\n:host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,\n:host(.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {\n -webkit-margin-start: 0px;\n margin-inline-start: 0px;\n -webkit-margin-end: 0px;\n margin-inline-end: 0px;\n margin-top: 8px;\n margin-bottom: 0px;\n}\n\n:host(.textarea-label-placement-stacked) ::slotted([slot=start]),\n:host(.textarea-label-placement-stacked) ::slotted([slot=end]),\n:host(.textarea-label-placement-floating) ::slotted([slot=start]),\n:host(.textarea-label-placement-floating) ::slotted([slot=end]) {\n margin-top: 8px;\n}\n\n/**\n * This makes the label sit over the textarea\n * when the textarea is blurred and has no value.\n */\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform: translateY(100%) scale(1);\n}\n\n/**\n * The textarea should be hidden when the label\n * is on top of the textarea. This prevents the label\n * from overlapping any placeholder value.\n */\n:host(.textarea-label-placement-floating) textarea {\n opacity: 0;\n}\n\n:host(.has-focus.textarea-label-placement-floating) textarea,\n:host(.has-value.textarea-label-placement-floating) textarea {\n opacity: 1;\n}\n\n/**\n * This makes the label sit above the textarea.\n */\n:host(.label-floating) .label-text-wrapper {\n transform: translateY(50%) scale(0.75);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% / 0.75);\n}\n\n.start-slot-wrapper, .end-slot-wrapper {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n display: flex;\n flex-shrink: 0;\n align-self: start;\n}\n\n::slotted([slot=start]),\n::slotted([slot=end]) {\n margin-top: 0;\n}\n\n::slotted([slot=start]) {\n margin-inline-end: 16px;\n margin-inline-start: 0;\n}\n\n::slotted([slot=end]) {\n margin-inline-start: 16px;\n margin-inline-end: 0;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n --border-width: 0.55px;\n --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));\n --padding-top: 10px;\n --padding-end: 0px;\n --padding-bottom: 8px;\n --padding-start: 0px;\n font-size: inherit;\n}\n\n:host(.legacy-textarea) {\n --padding-top: 10px;\n --padding-end: 8px;\n --padding-bottom: 10px;\n --padding-start: 0;\n}\n\n:host-context(.item-label-stacked),\n:host-context(.item-label-floating) {\n --padding-top: 8px;\n --padding-bottom: 8px;\n --padding-start: 0px;\n}\n\n:host(.legacy-textarea) .native-textarea[disabled],\n:host(.textarea-disabled) {\n opacity: 0.3;\n}\n\n/**\n * Slotted buttons have a lot of default padding that can\n * cause them to look misaligned from other pieces such\n * as the control's label, especially when using a clear\n * fill. We also make them circular to ensure that non-\n * clear buttons and the focus/hover state on clear ones\n * don't look too crowded.\n */\n::slotted(ion-button[slot=start].button-has-icon-only),\n::slotted(ion-button[slot=end].button-has-icon-only) {\n --border-radius: 50%;\n --padding-start: 0;\n --padding-end: 0;\n --padding-top: 0;\n --padding-bottom: 0;\n aspect-ratio: 1;\n}","/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --background: Background of the textarea\n *\n * @prop --border-radius: Border radius of the textarea\n * @prop --border-color: Color of the border below the textarea when using helper text, error text, or counter\n * @prop --border-radius: Radius of the textarea border. A large radius may display unevenly when using fill=\"outline\"; if needed, use shape=\"round\" instead or increase --padding-start.\n * @prop --border-style: Style of the border below the textarea when using helper text, error text, or counter\n * @prop --border-width: Width of the border below the textarea when using helper text, error text, or counter\n *\n * @prop --color: Color of the text\n *\n * @prop --placeholder-color: Color of the placeholder text\n * @prop --placeholder-font-style: Style of the placeholder text\n * @prop --placeholder-font-weight: Weight of the placeholder text\n * @prop --placeholder-opacity: Opacity of the placeholder text\n *\n * @prop --highlight-color-focused: The color of the highlight on the textarea when focused\n * @prop --highlight-color-valid: The color of the highlight on the textarea when valid\n * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid\n *\n * @prop --padding-top: Top padding of the textarea\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the textarea\n * @prop --padding-bottom: Bottom padding of the textarea\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the textarea\n */\n --background: initial;\n --color: initial;\n --placeholder-color: initial;\n --placeholder-font-style: initial;\n --placeholder-font-weight: initial;\n --placeholder-opacity: 0.6;\n --padding-top: 0;\n --padding-end: 0;\n --padding-bottom: 0;\n --padding-start: 0;\n --border-radius: 0;\n --border-style: solid;\n --highlight-color-focused: var(--ion-color-primary, #3880ff);\n --highlight-color-valid: var(--ion-color-success, #2dd36f);\n --highlight-color-invalid: var(--ion-color-danger, #eb445a);\n /**\n * This is a private API that is used to switch\n * out the highlight color based on the state\n * of the component without having to write\n * different selectors for different fill variants.\n */\n --highlight-color: var(--highlight-color-focused);\n display: block;\n position: relative;\n width: 100%;\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n z-index: 2;\n box-sizing: border-box;\n}\n\n:host(:not(.legacy-textarea)) {\n min-height: 44px;\n}\n\n/**\n * Since the label sits on top of the element,\n * the component needs to be taller otherwise the\n * label will appear too close to the textarea text.\n * Also, floating and stacked labels should not\n * push the label down since it it\n * sits on top of the textarea.\n */\n:host(.textarea-label-placement-floating),\n:host(.textarea-label-placement-stacked) {\n --padding-top: 0px;\n min-height: 56px;\n}\n\n/**\n * When the cols property is set we should\n * respect that width instead of defaulting\n * to taking up the entire line.\n * Requires both the cols and autoGrow\n * properties to be reflected as attributes\n * on the host.\n *\n * cols does not work with autoGrow because\n * autoGrow would prevent line breaks from naturally\n * occurring until the textarea takes up the entire line width.\n */\n:host([cols]:not([auto-grow])) {\n width: fit-content;\n}\n\n:host(.legacy-textarea) {\n flex: 1;\n background: var(--background);\n white-space: pre-wrap;\n}\n\n:host(.legacy-textarea.ion-color) {\n color: var(--ion-color-base);\n}\n\n:host(:not(.legacy-textarea)) {\n --padding-bottom: 8px;\n}\n\n:host(.ion-color) {\n --highlight-color-focused: var(--ion-color-base);\n background: initial;\n}\n\n:host-context(ion-item) {\n align-self: baseline;\n}\n\n:host-context(ion-item:not(.item-label)) {\n --padding-start: 0;\n}\n\n:host-context(ion-item)[slot=start],\n:host-context(ion-item)[slot=end] {\n width: auto;\n}\n\n.native-textarea {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n display: block;\n position: relative;\n flex: 1;\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n white-space: pre-wrap;\n /**\n * This ensures the textarea\n * remains on top of any decoration\n * that we render (particularly the\n * outline border when fill=\"outline\").\n * If we did not do this then Axe would\n * be unable to determine the color\n * contrast of the textarea.\n */\n z-index: 1;\n box-sizing: border-box;\n resize: none;\n appearance: none;\n}\n.native-textarea::placeholder {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n color: var(--placeholder-color);\n font-family: inherit;\n font-style: var(--placeholder-font-style);\n font-weight: var(--placeholder-font-weight);\n opacity: var(--placeholder-opacity);\n}\n\n:host(.legacy-textarea) .native-textarea {\n white-space: inherit;\n}\n\n:host(.legacy-textarea) .native-textarea,\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n border-radius: var(--border-radius);\n}\n\n.native-textarea {\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n:host(.legacy-textarea) .textarea-legacy-wrapper::after {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.cloned-input {\n top: 0;\n bottom: 0;\n position: absolute;\n pointer-events: none;\n}\n@supports (inset-inline-start: 0) {\n .cloned-input {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n .cloned-input {\n left: 0;\n }\n :host-context([dir=rtl]) .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n [dir=rtl] .cloned-input {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n .cloned-input:dir(rtl) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n/**\n * The cloned input needs to be disabled on\n * Android otherwise the viewport will still\n * shift when running scroll assist.\n */\n.cloned-input:disabled {\n opacity: 1;\n}\n\n:host(.legacy-textarea[auto-grow]) .cloned-input {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host([auto-grow]) .cloned-input {\n height: 100%;\n}\n\n:host([auto-grow]) .native-textarea {\n overflow: hidden;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {\n opacity: 0;\n}\n\n:host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {\n transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 1;\n}\n\n.textarea-wrapper {\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 0px;\n padding-bottom: 0px;\n border-radius: var(--border-radius);\n display: flex;\n position: relative;\n flex-grow: 1;\n align-items: flex-start;\n height: inherit;\n min-height: inherit;\n transition: background-color 15ms linear;\n background: var(--background);\n line-height: normal;\n}\n\n.native-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n:host(.has-focus) textarea {\n caret-color: var(--highlight-color);\n}\n\n.native-wrapper textarea {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n}\n\n.native-wrapper,\n.textarea-legacy-wrapper {\n display: grid;\n min-width: inherit;\n max-width: inherit;\n min-height: inherit;\n max-height: inherit;\n /**\n * This avoids a WebKit bug where\n * the height of the inner textarea\n * is incorrect and flows outside the\n * parent container: https://bugs.webkit.org/show_bug.cgi?id=256781\n * TODO FW-4734\n */\n grid-auto-rows: 100%;\n}\n.native-wrapper::after,\n.textarea-legacy-wrapper::after {\n white-space: pre-wrap;\n content: attr(data-replicated-value) \" \";\n visibility: hidden;\n}\n\n.native-wrapper::after {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n border-radius: var(--border-radius);\n /**\n * Note: Do not use @include text-inherit()\n * as that sets white-space: inherit\n * Instead, we use white-space: pre-wrap above.\n */\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n grid-area: 1/1/2/2;\n word-break: break-word;\n}\n\n.textarea-wrapper-inner {\n display: flex;\n width: 100%;\n min-height: inherit;\n}\n\n:host(.ion-touched.ion-invalid) {\n --highlight-color: var(--highlight-color-invalid);\n}\n\n/**\n * The component highlight is only shown\n * on focus, so we can safely set the valid\n * color state when touched/valid. If we\n * set it when .has-focus is present then\n * the highlight color would change\n * from the valid color to the component's\n * color during the transition after the\n * component loses focus.\n */\n:host(.ion-valid) {\n --highlight-color: var(--highlight-color-valid);\n}\n\n.textarea-bottom {\n /**\n * The bottom content should take on the start and end\n * padding so it is always aligned with either the label\n * or the start of the textarea.\n */\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: 5px;\n padding-bottom: 0;\n display: flex;\n justify-content: space-between;\n border-top: var(--border-width) var(--border-style) var(--border-color);\n font-size: 0.75rem;\n}\n\n/**\n * If the textarea has a validity state, the\n * border and label should reflect that as a color.\n */\n:host(.has-focus.ion-valid),\n:host(.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n/**\n * Error text should only be shown when .ion-invalid is\n * present on the textarea. Otherwise the helper text should\n * be shown.\n */\n.textarea-bottom .error-text {\n display: none;\n color: var(--highlight-color-invalid);\n}\n\n.textarea-bottom .helper-text {\n display: block;\n color: var(--ion-color-step-550, #737373);\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {\n display: block;\n}\n\n:host(.ion-touched.ion-invalid) .textarea-bottom .helper-text {\n display: none;\n}\n\n.textarea-bottom .counter {\n /**\n * Counter should always be at\n * the end of the container even\n * when no helper/error texts are used.\n */\n -webkit-margin-start: auto;\n margin-inline-start: auto;\n color: var(--ion-color-step-550, #737373);\n white-space: nowrap;\n padding-inline-start: 16px;\n}\n\n.label-text-wrapper {\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n * However, we do not set the max\n * width to 100% because then\n * only the label would show and users\n * would not be able to see what they are typing.\n */\n max-width: 200px;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n /**\n * This ensures that double tapping this text\n * clicks the <label> and focuses the textarea\n * when a screen reader is enabled.\n */\n pointer-events: none;\n}\n\n/**\n * We need to use two elements instead of\n * one. The .label-text-wrapper is responsible\n * for centering the label text vertically regardless\n * of the textarea height using flexbox.\n *\n * The .label-text element is responsible for controlling\n * overflow when label-placement=\"fixed\".\n * We want the ellipses to show up when the\n * fixed label overflows, but text-overflow: ellipsis only\n * works on block-level elements. A flex item is\n * considered blockified (https://www.w3.org/TR/css-display-3/#blockify).\n */\n.label-text,\n::slotted([slot=label]) {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n/**\n * If no label text is placed into the slot\n * then the element should be hidden otherwise\n * there will be additional margins added.\n */\n.label-text-wrapper-hidden,\n.textarea-outline-notch-hidden {\n display: none;\n}\n\n.textarea-wrapper textarea {\n /**\n * When the floating label appears on top of the\n * textarea, we need to fade the textarea out so that the\n * label does not overlap with the placeholder.\n */\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL.\n */\n:host(.textarea-label-placement-start) .textarea-wrapper {\n flex-direction: row;\n}\n\n:host(.textarea-label-placement-start) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the right of the textarea in LTR and\n * on the left in RTL.\n */\n:host(.textarea-label-placement-end) .textarea-wrapper {\n flex-direction: row-reverse;\n}\n\n/**\n * The margin between the label and\n * the textarea should be on the start\n * when the label sits at the end.\n */\n:host(.textarea-label-placement-end) .label-text-wrapper {\n -webkit-margin-start: 16px;\n margin-inline-start: 16px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n:host(.textarea-label-placement-fixed) .label-text-wrapper {\n /**\n * The margin between the label and\n * the textarea should be on the end\n * when the label sits at the start.\n */\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 16px;\n margin-inline-end: 16px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n/**\n * Label is on the left of the textarea in LTR and\n * on the right in RTL. Label also has a fixed width.\n */\n:host(.textarea-label-placement-fixed) .label-text {\n flex: 0 0 100px;\n width: 100px;\n min-width: 100px;\n max-width: 200px;\n}\n\n/**\n * Stacked: Label sits above the textarea and is scaled down.\n * Floating: Label sits over the textarea when the textarea has no\n * value and is blurred. Label sits above the textarea and is scaled\n * down when the textarea is focused or has a value.\n *\n */\n:host(.textarea-label-placement-stacked) .textarea-wrapper,\n:host(.textarea-label-placement-floating) .textarea-wrapper {\n flex-direction: column;\n align-items: start;\n}\n\n/**\n * Ensures that the label animates\n * up and to the left in LTR or\n * up and to the right in RTL.\n */\n:host(.textarea-label-placement-stacked) .label-text-wrapper,\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform-origin: left top;\n -webkit-padding-start: 0px;\n padding-inline-start: 0px;\n -webkit-padding-end: 0px;\n padding-inline-end: 0px;\n padding-top: 0px;\n padding-bottom: 0px;\n max-width: 100%;\n /**\n * The 2 ensures the label\n * remains on top of any browser\n * autofill background too.\n */\n z-index: 2;\n}\n:host-context([dir=rtl]):host(.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-floating .label-text-wrapper {\n transform-origin: right top;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {\n transform-origin: right top;\n }\n}\n\n/**\n * Ensures the textarea does not\n * overlap the label.\n */\n:host(.textarea-label-placement-stacked) textarea,\n:host(.textarea-label-placement-floating) textarea,\n:host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,\n:host(.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {\n -webkit-margin-start: 0px;\n margin-inline-start: 0px;\n -webkit-margin-end: 0px;\n margin-inline-end: 0px;\n margin-top: 8px;\n margin-bottom: 0px;\n}\n\n:host(.textarea-label-placement-stacked) ::slotted([slot=start]),\n:host(.textarea-label-placement-stacked) ::slotted([slot=end]),\n:host(.textarea-label-placement-floating) ::slotted([slot=start]),\n:host(.textarea-label-placement-floating) ::slotted([slot=end]) {\n margin-top: 8px;\n}\n\n/**\n * This makes the label sit over the textarea\n * when the textarea is blurred and has no value.\n */\n:host(.textarea-label-placement-floating) .label-text-wrapper {\n transform: translateY(100%) scale(1);\n}\n\n/**\n * The textarea should be hidden when the label\n * is on top of the textarea. This prevents the label\n * from overlapping any placeholder value.\n */\n:host(.textarea-label-placement-floating) textarea {\n opacity: 0;\n}\n\n:host(.has-focus.textarea-label-placement-floating) textarea,\n:host(.has-value.textarea-label-placement-floating) textarea {\n opacity: 1;\n}\n\n/**\n * This makes the label sit above the textarea.\n */\n:host(.label-floating) .label-text-wrapper {\n transform: translateY(50%) scale(0.75);\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% / 0.75);\n}\n\n.start-slot-wrapper, .end-slot-wrapper {\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n display: flex;\n flex-shrink: 0;\n align-self: start;\n}\n\n::slotted([slot=start]),\n::slotted([slot=end]) {\n margin-top: 0;\n}\n\n::slotted([slot=start]) {\n margin-inline-end: 16px;\n margin-inline-start: 0;\n}\n\n::slotted([slot=end]) {\n margin-inline-start: 16px;\n margin-inline-end: 0;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host(.textarea-fill-solid) {\n --background: var(--ion-color-step-50, #f2f2f2);\n --border-color: var(--ion-color-step-500, gray);\n --border-radius: 4px;\n --padding-start: 16px;\n --padding-end: 16px;\n min-height: 56px;\n}\n\n/**\n * The solid fill style has a border\n * at the bottom of the textarea wrapper.\n * As a result, the border on the \"bottom\n * content\" is not needed.\n */\n:host(.textarea-fill-solid) .textarea-wrapper {\n border-bottom: var(--border-width) var(--border-style) var(--border-color);\n}\n\n/**\n * If the textarea has a validity state, the\n * border should reflect that as a color.\n */\n:host(.has-focus.textarea-fill-solid.ion-valid),\n:host(.textarea-fill-solid.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n:host(.textarea-fill-solid) .textarea-bottom {\n border-top: none;\n}\n\n/**\n * Background and border should be\n * slightly darker on hover.\n */\n@media (any-hover: hover) {\n :host(.textarea-fill-solid:hover) {\n --background: var(--ion-color-step-100, #e6e6e6);\n --border-color: var(--ion-color-step-750, #404040);\n }\n}\n/**\n * Background and border should be\n * much darker on focus.\n */\n:host(.textarea-fill-solid.has-focus) {\n --background: var(--ion-color-step-150, #d9d9d9);\n --border-color: var(--ion-color-step-750, #404040);\n}\n\n:host(.textarea-fill-solid) .textarea-wrapper {\n /**\n * Only the top left and top right borders should.\n * have a radius when using a solid fill.\n */\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n:host-context([dir=rtl]):host(.textarea-fill-solid) .textarea-wrapper, :host-context([dir=rtl]).textarea-fill-solid .textarea-wrapper {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-solid:dir(rtl)) .textarea-wrapper {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 0px;\n }\n}\n\n:host(.label-floating.textarea-fill-solid) .label-text-wrapper {\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% / 0.75);\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host(.textarea-fill-outline) {\n --border-color: var(--ion-color-step-300, #b3b3b3);\n --border-radius: 4px;\n --padding-start: 16px;\n --padding-end: 16px;\n min-height: 56px;\n}\n\n:host(.textarea-fill-outline.textarea-shape-round) {\n --border-radius: 28px;\n --padding-start: 32px;\n --padding-end: 32px;\n}\n\n/**\n * If the textarea has a validity state, the\n * border should reflect that as a color.\n */\n:host(.has-focus.textarea-fill-outline.ion-valid),\n:host(.textarea-fill-outline.ion-touched.ion-invalid) {\n --border-color: var(--highlight-color);\n}\n\n/**\n * Border should be\n * slightly darker on hover.\n */\n@media (any-hover: hover) {\n :host(.textarea-fill-outline:hover) {\n --border-color: var(--ion-color-step-750, #404040);\n }\n}\n/**\n * The border should get thicker\n * and take on component color when\n * the textarea is focused.\n */\n:host(.textarea-fill-outline.has-focus) {\n --border-width: 2px;\n --border-color: var(--highlight-color);\n}\n\n/**\n * The bottom content should never have\n * a border with the outline style.\n */\n:host(.textarea-fill-outline) .textarea-bottom {\n border-top: none;\n}\n\n/**\n * Outline textarea do not have a bottom border.\n * Instead, they have a border that wraps the\n * textarea + label.\n */\n:host(.textarea-fill-outline) .textarea-wrapper {\n border-bottom: none;\n}\n\n:host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper,\n:host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper {\n transform-origin: left top;\n position: absolute;\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(100% - var(--padding-start) - var(--padding-end));\n}\n:host-context([dir=rtl]):host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-fill-outline.textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-fill-outline.textarea-label-placement-floating .label-text-wrapper {\n transform-origin: right top;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-outline.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-fill-outline.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {\n transform-origin: right top;\n }\n}\n\n/**\n * The label should appear on top of an outline\n * container that overlaps it so it is always clickable.\n */\n:host(.textarea-fill-outline) .label-text-wrapper,\n:host(.textarea-fill-outline) .label-text-wrapper {\n position: relative;\n}\n\n/**\n * This makes the label sit above the textarea.\n */\n:host(.label-floating.textarea-fill-outline) .label-text-wrapper {\n transform: translateY(-32%) scale(0.75);\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n /**\n * Label text should not extend\n * beyond the bounds of the textarea.\n */\n max-width: calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n );\n}\n\n/**\n * This ensures that the textarea does not\n * overlap the floating label while still\n * remaining visually centered.\n */\n:host(.textarea-fill-outline.textarea-label-placement-stacked) textarea,\n:host(.textarea-fill-outline.textarea-label-placement-floating) textarea,\n:host(.textarea-fill-outline.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,\n:host(.textarea-fill-outline.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {\n -webkit-margin-start: 0px;\n margin-inline-start: 0px;\n -webkit-margin-end: 0px;\n margin-inline-end: 0px;\n margin-top: 12px;\n margin-bottom: 0px;\n}\n\n:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot=start]),\n:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot=end]),\n:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot=start]),\n:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot=end]) {\n margin-top: 12px;\n}\n\n:host(.textarea-fill-outline) .textarea-outline-container {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n:host(.textarea-fill-outline) .textarea-outline-start,\n:host(.textarea-fill-outline) .textarea-outline-end {\n pointer-events: none;\n}\n\n/**\n * By default, each piece of the container should have\n * a top and bottom border. This gives the appearance\n * of a unified container with a border.\n */\n:host(.textarea-fill-outline) .textarea-outline-start,\n:host(.textarea-fill-outline) .textarea-outline-notch,\n:host(.textarea-fill-outline) .textarea-outline-end {\n border-top: var(--border-width) var(--border-style) var(--border-color);\n border-bottom: var(--border-width) var(--border-style) var(--border-color);\n}\n\n/**\n * Ensures long labels do not cause the notch to flow\n * out of bounds.\n */\n:host(.textarea-fill-outline) .textarea-outline-notch {\n max-width: calc(100% - var(--padding-start) - var(--padding-end));\n}\n\n/**\n * This element ensures that the notch used\n * the size of the scaled text so that the\n * border cut out is the correct width.\n * The text in this element should not\n * be interactive.\n */\n:host(.textarea-fill-outline) .notch-spacer {\n /**\n * We need $textarea-md-floating-label-padding of padding on the right.\n * However, we also subtracted $textarea-md-floating-label-padding from\n * the width of .textarea-outline-start\n * to create space, so we need to take\n * that into consideration here.\n */\n -webkit-padding-end: 8px;\n padding-inline-end: 8px;\n font-size: calc(1em * 0.75);\n opacity: 0;\n pointer-events: none;\n /**\n * The spacer currently inherits\n * border-box sizing from the Ionic reset styles.\n * However, we do not want to include padding in\n * the calculation of the element dimensions.\n * This code can be removed if textarea is updated\n * to use the Shadow DOM.\n */\n box-sizing: content-box;\n}\n\n:host(.textarea-fill-outline) .textarea-outline-start {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: var(--border-radius);\n -webkit-border-start: var(--border-width) var(--border-style) var(--border-color);\n border-inline-start: var(--border-width) var(--border-style) var(--border-color);\n /**\n * There should be spacing between the translated text\n * and .textarea-outline-start. However, we can't add this\n * spacing onto the notch because it would cause the\n * label to look like it is not aligned with the\n * text textarea. Instead, we subtract a few pixels from\n * this element.\n */\n width: calc(var(--padding-start) - 4px);\n}\n:host-context([dir=rtl]):host(.textarea-fill-outline) .textarea-outline-start, :host-context([dir=rtl]).textarea-fill-outline .textarea-outline-start {\n border-top-left-radius: 0px;\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n border-bottom-left-radius: 0px;\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-start {\n border-top-left-radius: 0px;\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n border-bottom-left-radius: 0px;\n }\n}\n\n:host(.textarea-fill-outline) .textarea-outline-end {\n -webkit-border-end: var(--border-width) var(--border-style) var(--border-color);\n border-inline-end: var(--border-width) var(--border-style) var(--border-color);\n border-top-left-radius: 0px;\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n border-bottom-left-radius: 0px;\n /**\n * The ending outline fragment\n * should take up the remaining free space.\n */\n flex-grow: 1;\n}\n:host-context([dir=rtl]):host(.textarea-fill-outline) .textarea-outline-end, :host-context([dir=rtl]).textarea-fill-outline .textarea-outline-end {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: var(--border-radius);\n}\n\n@supports selector(:dir(rtl)) {\n :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-end {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: var(--border-radius);\n }\n}\n\n/**\n * When the textarea either has focus or a value,\n * there should be a \"cut out\" at the top for\n * the floating/stacked label. We simulate this \"cut out\"\n * by removing the top border from the notch fragment.\n */\n:host(.label-floating.textarea-fill-outline) .textarea-outline-notch {\n border-top: none;\n}\n\n:host {\n --border-width: 1px;\n --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));\n --padding-top: 18px;\n --padding-end: 0px;\n --padding-bottom: 8px;\n --padding-start: 0px;\n font-size: inherit;\n}\n\n:host(.legacy-textarea) {\n --padding-top: 10px;\n --padding-end: 0;\n --padding-bottom: 11px;\n --padding-start: 8px;\n margin-left: 0;\n margin-right: 0;\n margin-top: 8px;\n margin-bottom: 0;\n}\n\n:host-context(.item-label-stacked),\n:host-context(.item-label-floating) {\n --padding-top: 8px;\n --padding-bottom: 8px;\n --padding-start: 0;\n}\n\n.textarea-bottom .counter {\n letter-spacing: 0.0333333333em;\n}\n\n/**\n * When the textarea is focused the label should\n * take on the highlight color. This should\n * only apply to floating or stacked labels.\n */\n:host(.textarea-label-placement-floating.has-focus) .label-text-wrapper,\n:host(.textarea-label-placement-stacked.has-focus) .label-text-wrapper {\n color: var(--highlight-color);\n}\n\n:host(.has-focus.textarea-label-placement-floating.ion-valid) .label-text-wrapper,\n:host(.textarea-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,\n:host(.has-focus.textarea-label-placement-stacked.ion-valid) .label-text-wrapper,\n:host(.textarea-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper {\n color: var(--highlight-color);\n}\n\n:host(.legacy-textarea) .native-textarea[disabled],\n:host(.textarea-disabled) {\n opacity: 0.38;\n}\n\n.textarea-highlight {\n bottom: -1px;\n position: absolute;\n width: 100%;\n height: 2px;\n transform: scale(0);\n transition: transform 200ms;\n background: var(--highlight-color);\n}\n@supports (inset-inline-start: 0) {\n .textarea-highlight {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n .textarea-highlight {\n left: 0;\n }\n :host-context([dir=rtl]) .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n [dir=rtl] .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n .textarea-highlight:dir(rtl) {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n:host(.has-focus) .textarea-highlight {\n transform: scale(1);\n}\n\n/**\n * Adjust the highlight up by 1px\n * so it is not cut off by the\n * the item's line (if one is present).\n */\n:host(.in-item) .textarea-highlight {\n bottom: 0;\n}\n@supports (inset-inline-start: 0) {\n :host(.in-item) .textarea-highlight {\n inset-inline-start: 0;\n }\n}\n@supports not (inset-inline-start: 0) {\n :host(.in-item) .textarea-highlight {\n left: 0;\n }\n :host-context([dir=rtl]):host(.in-item) .textarea-highlight, :host-context([dir=rtl]).in-item .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n @supports selector(:dir(rtl)) {\n :host(.in-item:dir(rtl)) .textarea-highlight {\n left: unset;\n right: unset;\n right: 0;\n }\n }\n}\n\n:host(.textarea-shape-round) {\n --border-radius: 16px;\n}\n\n/**\n * Slotted buttons have a lot of default padding that can\n * cause them to look misaligned from other pieces such\n * as the control's label, especially when using a clear\n * fill. We also make them circular to ensure that non-\n * clear buttons and the focus/hover state on clear ones\n * don't look too crowded.\n */\n::slotted(ion-button[slot=start].button-has-icon-only),\n::slotted(ion-button[slot=end].button-has-icon-only) {\n --border-radius: 50%;\n --padding-start: 8px;\n --padding-end: 8px;\n --padding-top: 8px;\n --padding-bottom: 8px;\n aspect-ratio: 1;\n min-height: 40px;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Build, Host, forceUpdate, h, writeTask, } from \"@stencil/core\";\nimport { createLegacyFormController, createNotchController } from \"../../utils/forms/index\";\nimport { inheritAriaAttributes, debounceEvent, findItemLabel, inheritAttributes, componentOnReady, } from \"../../utils/helpers\";\nimport { printIonWarning } from \"../../utils/logging/index\";\nimport { createSlotMutationController } from \"../../utils/slot-mutation-controller\";\nimport { createColorClasses, hostContext } from \"../../utils/theme\";\nimport { getIonMode } from \"../../global/ionic-global\";\nimport { getCounterText } from \"../input/input.utils\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @slot label - The label text to associate with the textarea. Use the `labelPlacement` property to control where the label is placed relative to the textarea. Use this if you need to render a label with custom HTML. (EXPERIMENTAL)\n * @slot start - Content to display at the leading edge of the textarea. (EXPERIMENTAL)\n * @slot end - Content to display at the trailing edge of the textarea. (EXPERIMENTAL)\n */\nexport class Textarea {\n constructor() {\n this.inputId = `ion-textarea-${textareaIds++}`;\n /**\n * `true` if the textarea was cleared as a result of the user typing\n * with `clearOnEdit` enabled.\n *\n * Resets when the textarea loses focus.\n */\n this.didTextareaClearOnEdit = false;\n this.inheritedAttributes = {};\n // This flag ensures we log the deprecation warning at most once.\n this.hasLoggedDeprecationWarning = false;\n // `Event` type is used instead of `InputEvent`\n // since the types from Stencil are not derived\n // from the element (e.g. textarea and input\n // should be InputEvent, but all other elements\n // should be Event).\n this.onInput = (ev) => {\n const input = ev.target;\n if (input) {\n this.value = input.value || '';\n }\n this.emitInputChange(ev);\n };\n this.onChange = (ev) => {\n this.emitValueChange(ev);\n };\n this.onFocus = (ev) => {\n this.hasFocus = true;\n this.focusedValue = this.value;\n this.focusChange();\n this.ionFocus.emit(ev);\n };\n this.onBlur = (ev) => {\n this.hasFocus = false;\n this.focusChange();\n if (this.focusedValue !== this.value) {\n /**\n * Emits the `ionChange` event when the textarea value\n * is different than the value when the textarea was focused.\n */\n this.emitValueChange(ev);\n }\n this.didTextareaClearOnEdit = false;\n this.ionBlur.emit(ev);\n };\n this.onKeyDown = (ev) => {\n this.checkClearOnEdit(ev);\n };\n this.hasFocus = false;\n this.color = undefined;\n this.autocapitalize = 'none';\n this.autofocus = false;\n this.clearOnEdit = false;\n this.debounce = undefined;\n this.disabled = false;\n this.fill = undefined;\n this.inputmode = undefined;\n this.enterkeyhint = undefined;\n this.maxlength = undefined;\n this.minlength = undefined;\n this.name = this.inputId;\n this.placeholder = undefined;\n this.readonly = false;\n this.required = false;\n this.spellcheck = false;\n this.cols = undefined;\n this.rows = undefined;\n this.wrap = undefined;\n this.autoGrow = false;\n this.value = '';\n this.counter = false;\n this.counterFormatter = undefined;\n this.errorText = undefined;\n this.helperText = undefined;\n this.label = undefined;\n this.labelPlacement = 'start';\n this.legacy = undefined;\n this.shape = undefined;\n }\n debounceChanged() {\n const { ionInput, debounce, originalIonInput } = this;\n /**\n * If debounce is undefined, we have to manually revert the ionInput emitter in case\n * debounce used to be set to a number. Otherwise, the event would stay debounced.\n */\n this.ionInput = debounce === undefined ? originalIonInput !== null && originalIonInput !== void 0 ? originalIonInput : ionInput : debounceEvent(ionInput, debounce);\n }\n disabledChanged() {\n this.emitStyle();\n }\n /**\n * Update the native input element when the value changes\n */\n valueChanged() {\n const nativeInput = this.nativeInput;\n const value = this.getValue();\n if (nativeInput && nativeInput.value !== value) {\n nativeInput.value = value;\n }\n this.runAutoGrow();\n this.emitStyle();\n }\n connectedCallback() {\n const { el } = this;\n this.legacyFormController = createLegacyFormController(el);\n this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate(this));\n this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);\n this.emitStyle();\n this.debounceChanged();\n if (Build.isBrowser) {\n document.dispatchEvent(new CustomEvent('ionInputDidLoad', {\n detail: el,\n }));\n }\n }\n disconnectedCallback() {\n if (Build.isBrowser) {\n document.dispatchEvent(new CustomEvent('ionInputDidUnload', {\n detail: this.el,\n }));\n }\n if (this.slotMutationController) {\n this.slotMutationController.destroy();\n this.slotMutationController = undefined;\n }\n if (this.notchController) {\n this.notchController.destroy();\n this.notchController = undefined;\n }\n }\n componentWillLoad() {\n this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el, ['data-form-type', 'title', 'tabindex']));\n }\n componentDidLoad() {\n this.originalIonInput = this.ionInput;\n this.runAutoGrow();\n }\n componentDidRender() {\n var _a;\n (_a = this.notchController) === null || _a === void 0 ? void 0 : _a.calculateNotchWidth();\n }\n /**\n * Sets focus on the native `textarea` in `ion-textarea`. Use this method instead of the global\n * `textarea.focus()`.\n *\n * See [managing focus](/docs/developing/managing-focus) for more information.\n */\n async setFocus() {\n if (this.nativeInput) {\n this.nativeInput.focus();\n }\n }\n /**\n * Returns the native `<textarea>` element used under the hood.\n */\n async getInputElement() {\n /**\n * If this gets called in certain early lifecycle hooks (ex: Vue onMounted),\n * nativeInput won't be defined yet with the custom elements build, so wait for it to load in.\n */\n if (!this.nativeInput) {\n await new Promise((resolve) => componentOnReady(this.el, resolve));\n }\n return Promise.resolve(this.nativeInput);\n }\n emitStyle() {\n if (this.legacyFormController.hasLegacyControl()) {\n this.ionStyle.emit({\n interactive: true,\n textarea: true,\n input: true,\n 'interactive-disabled': this.disabled,\n 'has-placeholder': this.placeholder !== undefined,\n 'has-value': this.hasValue(),\n 'has-focus': this.hasFocus,\n // TODO(FW-2876): remove this\n legacy: !!this.legacy,\n });\n }\n }\n /**\n * Emits an `ionChange` event.\n *\n * This API should be called for user committed changes.\n * This API should not be used for external value changes.\n */\n emitValueChange(event) {\n const { value } = this;\n // Checks for both null and undefined values\n const newValue = value == null ? value : value.toString();\n // Emitting a value change should update the internal state for tracking the focused value\n this.focusedValue = newValue;\n this.ionChange.emit({ value: newValue, event });\n }\n /**\n * Emits an `ionInput` event.\n */\n emitInputChange(event) {\n const { value } = this;\n this.ionInput.emit({ value, event });\n }\n runAutoGrow() {\n if (this.nativeInput && this.autoGrow) {\n writeTask(() => {\n var _a;\n if (this.textareaWrapper) {\n // Replicated value is an attribute to be used in the stylesheet\n // to set the inner contents of a pseudo element.\n this.textareaWrapper.dataset.replicatedValue = (_a = this.value) !== null && _a !== void 0 ? _a : '';\n }\n });\n }\n }\n /**\n * Check if we need to clear the text input if clearOnEdit is enabled\n */\n checkClearOnEdit(ev) {\n if (!this.clearOnEdit) {\n return;\n }\n /**\n * The following keys do not modify the\n * contents of the input. As a result, pressing\n * them should not edit the textarea.\n *\n * We can't check to see if the value of the textarea\n * was changed because we call checkClearOnEdit\n * in a keydown listener, and the key has not yet\n * been added to the textarea.\n *\n * Unlike ion-input, the \"Enter\" key does modify the\n * textarea by adding a new line, so \"Enter\" is not\n * included in the IGNORED_KEYS array.\n */\n const IGNORED_KEYS = ['Tab', 'Shift', 'Meta', 'Alt', 'Control'];\n const pressedIgnoredKey = IGNORED_KEYS.includes(ev.key);\n /**\n * Clear the textarea if the control has not been previously cleared\n * during focus.\n */\n if (!this.didTextareaClearOnEdit && this.hasValue() && !pressedIgnoredKey) {\n this.value = '';\n this.emitInputChange(ev);\n }\n /**\n * Pressing an IGNORED_KEYS first and\n * then an allowed key will cause the input to not\n * be cleared.\n */\n if (!pressedIgnoredKey) {\n this.didTextareaClearOnEdit = true;\n }\n }\n focusChange() {\n this.emitStyle();\n }\n hasValue() {\n return this.getValue() !== '';\n }\n getValue() {\n return this.value || '';\n }\n // TODO: FW-2876 - Remove this render function\n renderLegacyTextarea() {\n if (!this.hasLoggedDeprecationWarning) {\n printIonWarning(`ion-textarea now requires providing a label with either the \"label\" property or the \"aria-label\" attribute. To migrate, remove any usage of \"ion-label\" and pass the label text to either the \"label\" property or the \"aria-label\" attribute.\n\nExample: <ion-textarea label=\"Comments\"></ion-textarea>\nExample with aria-label: <ion-textarea aria-label=\"Comments\"></ion-textarea>\n\nFor textareas that do not render the label immediately next to the input, developers may continue to use \"ion-label\" but must manually associate the label with the textarea by using \"aria-labelledby\".\n\nDevelopers can use the \"legacy\" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.`, this.el);\n this.hasLoggedDeprecationWarning = true;\n }\n const mode = getIonMode(this);\n const value = this.getValue();\n const labelId = this.inputId + '-lbl';\n const label = findItemLabel(this.el);\n if (label) {\n label.id = labelId;\n }\n return (h(Host, { \"aria-disabled\": this.disabled ? 'true' : null, class: createColorClasses(this.color, {\n [mode]: true,\n 'legacy-textarea': true,\n }) }, h(\"div\", { class: \"textarea-legacy-wrapper\", ref: (el) => (this.textareaWrapper = el) }, h(\"textarea\", Object.assign({ class: \"native-textarea\", \"aria-labelledby\": label ? label.id : null, ref: (el) => (this.nativeInput = el), autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, disabled: this.disabled, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value))));\n }\n renderLabel() {\n const { label } = this;\n return (h(\"div\", { class: {\n 'label-text-wrapper': true,\n 'label-text-wrapper-hidden': !this.hasLabel,\n } }, label === undefined ? h(\"slot\", { name: \"label\" }) : h(\"div\", { class: \"label-text\" }, label)));\n }\n /**\n * Gets any content passed into the `label` slot,\n * not the <slot> definition.\n */\n get labelSlot() {\n return this.el.querySelector('[slot=\"label\"]');\n }\n /**\n * Returns `true` if label content is provided\n * either by a prop or a content. If you want\n * to get the plaintext value of the label use\n * the `labelText` getter instead.\n */\n get hasLabel() {\n return this.label !== undefined || this.labelSlot !== null;\n }\n /**\n * Renders the border container when fill=\"outline\".\n */\n renderLabelContainer() {\n const mode = getIonMode(this);\n const hasOutlineFill = mode === 'md' && this.fill === 'outline';\n if (hasOutlineFill) {\n /**\n * The outline fill has a special outline\n * that appears around the textarea and the label.\n * Certain stacked and floating label placements cause the\n * label to translate up and create a \"cut out\"\n * inside of that border by using the notch-spacer element.\n */\n return [\n h(\"div\", { class: \"textarea-outline-container\" }, h(\"div\", { class: \"textarea-outline-start\" }), h(\"div\", { class: {\n 'textarea-outline-notch': true,\n 'textarea-outline-notch-hidden': !this.hasLabel,\n } }, h(\"div\", { class: \"notch-spacer\", \"aria-hidden\": \"true\", ref: (el) => (this.notchSpacerEl = el) }, this.label)), h(\"div\", { class: \"textarea-outline-end\" })),\n this.renderLabel(),\n ];\n }\n /**\n * If not using the outline style,\n * we can render just the label.\n */\n return this.renderLabel();\n }\n /**\n * Renders the helper text or error text values\n */\n renderHintText() {\n const { helperText, errorText } = this;\n return [h(\"div\", { class: \"helper-text\" }, helperText), h(\"div\", { class: \"error-text\" }, errorText)];\n }\n renderCounter() {\n const { counter, maxlength, counterFormatter, value } = this;\n if (counter !== true || maxlength === undefined) {\n return;\n }\n return h(\"div\", { class: \"counter\" }, getCounterText(value, maxlength, counterFormatter));\n }\n /**\n * Responsible for rendering helper text,\n * error text, and counter. This element should only\n * be rendered if hint text is set or counter is enabled.\n */\n renderBottomContent() {\n const { counter, helperText, errorText, maxlength } = this;\n /**\n * undefined and empty string values should\n * be treated as not having helper/error text.\n */\n const hasHintText = !!helperText || !!errorText;\n const hasCounter = counter === true && maxlength !== undefined;\n if (!hasHintText && !hasCounter) {\n return;\n }\n return (h(\"div\", { class: \"textarea-bottom\" }, this.renderHintText(), this.renderCounter()));\n }\n renderTextarea() {\n const { inputId, disabled, fill, shape, labelPlacement, el, hasFocus } = this;\n const mode = getIonMode(this);\n const value = this.getValue();\n const inItem = hostContext('ion-item', this.el);\n const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;\n const hasValue = this.hasValue();\n const hasStartEndSlots = el.querySelector('[slot=\"start\"], [slot=\"end\"]') !== null;\n /**\n * If the label is stacked, it should always sit above the textarea.\n * For floating labels, the label should move above the textarea if\n * the textarea has a value, is focused, or has anything in either\n * the start or end slot.\n *\n * If there is content in the start slot, the label would overlap\n * it if not forced to float. This is also applied to the end slot\n * because with the default or solid fills, the textarea is not\n * vertically centered in the container, but the label is. This\n * causes the slots and label to appear vertically offset from each\n * other when the label isn't floating above the input. This doesn't\n * apply to the outline fill, but this was not accounted for to keep\n * things consistent.\n *\n * TODO(FW-5592): Remove hasStartEndSlots condition\n */\n const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));\n return (h(Host, { class: createColorClasses(this.color, {\n [mode]: true,\n 'has-value': hasValue,\n 'has-focus': hasFocus,\n 'label-floating': labelShouldFloat,\n [`textarea-fill-${fill}`]: fill !== undefined,\n [`textarea-shape-${shape}`]: shape !== undefined,\n [`textarea-label-placement-${labelPlacement}`]: true,\n 'textarea-disabled': disabled,\n }) }, h(\"label\", { class: \"textarea-wrapper\", htmlFor: inputId }, this.renderLabelContainer(), h(\"div\", { class: \"textarea-wrapper-inner\" }, h(\"div\", { class: \"start-slot-wrapper\" }, h(\"slot\", { name: \"start\" })), h(\"div\", { class: \"native-wrapper\", ref: (el) => (this.textareaWrapper = el) }, h(\"textarea\", Object.assign({ class: \"native-textarea\", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value)), h(\"div\", { class: \"end-slot-wrapper\" }, h(\"slot\", { name: \"end\" }))), shouldRenderHighlight && h(\"div\", { class: \"textarea-highlight\" })), this.renderBottomContent()));\n }\n render() {\n const { legacyFormController } = this;\n return legacyFormController.hasLegacyControl() ? this.renderLegacyTextarea() : this.renderTextarea();\n }\n static get is() { return \"ion-textarea\"; }\n static get encapsulation() { return \"scoped\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"textarea.ios.scss\"],\n \"md\": [\"textarea.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"textarea.ios.css\"],\n \"md\": [\"textarea.md.css\"]\n };\n }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Color\",\n \"resolved\": \"\\\"danger\\\" | \\\"dark\\\" | \\\"light\\\" | \\\"medium\\\" | \\\"primary\\\" | \\\"secondary\\\" | \\\"success\\\" | \\\"tertiary\\\" | \\\"warning\\\" | string & Record<never, never> | undefined\",\n \"references\": {\n \"Color\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::Color\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use from your application's color palette.\\nDefault options are: `\\\"primary\\\"`, `\\\"secondary\\\"`, `\\\"tertiary\\\"`, `\\\"success\\\"`, `\\\"warning\\\"`, `\\\"danger\\\"`, `\\\"light\\\"`, `\\\"medium\\\"`, and `\\\"dark\\\"`.\\nFor more information on colors, see [theming](/docs/theming/basics).\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"autocapitalize\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\\nAvailable options: `\\\"off\\\"`, `\\\"none\\\"`, `\\\"on\\\"`, `\\\"sentences\\\"`, `\\\"words\\\"`, `\\\"characters\\\"`.\"\n },\n \"attribute\": \"autocapitalize\",\n \"reflect\": false,\n \"defaultValue\": \"'none'\"\n },\n \"autofocus\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the [`autofocus` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) on the native input element.\\n\\nThis may not be sufficient for the element to be focused on page load. See [managing focus](/docs/developing/managing-focus) for more information.\"\n },\n \"attribute\": \"autofocus\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"clearOnEdit\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the value will be cleared after focus upon edit.\"\n },\n \"attribute\": \"clear-on-edit\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"debounce\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Set the amount of time, in milliseconds, to wait to trigger the `ionInput` event after each keystroke.\"\n },\n \"attribute\": \"debounce\",\n \"reflect\": false\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot interact with the textarea.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"fill\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'outline' | 'solid'\",\n \"resolved\": \"\\\"outline\\\" | \\\"solid\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The fill for the item. If `\\\"solid\\\"` the item will have a background. If\\n`\\\"outline\\\"` the item will be transparent with a border. Only available in `md` mode.\"\n },\n \"attribute\": \"fill\",\n \"reflect\": false\n },\n \"inputmode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search'\",\n \"resolved\": \"\\\"decimal\\\" | \\\"email\\\" | \\\"none\\\" | \\\"numeric\\\" | \\\"search\\\" | \\\"tel\\\" | \\\"text\\\" | \\\"url\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A hint to the browser for which keyboard to display.\\nPossible values: `\\\"none\\\"`, `\\\"text\\\"`, `\\\"tel\\\"`, `\\\"url\\\"`,\\n`\\\"email\\\"`, `\\\"numeric\\\"`, `\\\"decimal\\\"`, and `\\\"search\\\"`.\"\n },\n \"attribute\": \"inputmode\",\n \"reflect\": false\n },\n \"enterkeyhint\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'\",\n \"resolved\": \"\\\"done\\\" | \\\"enter\\\" | \\\"go\\\" | \\\"next\\\" | \\\"previous\\\" | \\\"search\\\" | \\\"send\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A hint to the browser for which enter key to display.\\nPossible values: `\\\"enter\\\"`, `\\\"done\\\"`, `\\\"go\\\"`, `\\\"next\\\"`,\\n`\\\"previous\\\"`, `\\\"search\\\"`, and `\\\"send\\\"`.\"\n },\n \"attribute\": \"enterkeyhint\",\n \"reflect\": false\n },\n \"maxlength\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This attribute specifies the maximum number of characters that the user can enter.\"\n },\n \"attribute\": \"maxlength\",\n \"reflect\": false\n },\n \"minlength\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This attribute specifies the minimum number of characters that the user can enter.\"\n },\n \"attribute\": \"minlength\",\n \"reflect\": false\n },\n \"name\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The name of the control, which is submitted with the form data.\"\n },\n \"attribute\": \"name\",\n \"reflect\": false,\n \"defaultValue\": \"this.inputId\"\n },\n \"placeholder\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Instructional text that shows before the input has a value.\"\n },\n \"attribute\": \"placeholder\",\n \"reflect\": false\n },\n \"readonly\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot modify the value.\"\n },\n \"attribute\": \"readonly\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"required\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user must fill in a value before submitting a form.\"\n },\n \"attribute\": \"required\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"spellcheck\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the element will have its spelling and grammar checked.\"\n },\n \"attribute\": \"spellcheck\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"cols\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer.\"\n },\n \"attribute\": \"cols\",\n \"reflect\": true\n },\n \"rows\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The number of visible text lines for the control.\"\n },\n \"attribute\": \"rows\",\n \"reflect\": false\n },\n \"wrap\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'hard' | 'soft' | 'off'\",\n \"resolved\": \"\\\"hard\\\" | \\\"off\\\" | \\\"soft\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates how the control wraps text.\"\n },\n \"attribute\": \"wrap\",\n \"reflect\": false\n },\n \"autoGrow\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the textarea container will grow and shrink based\\non the contents of the textarea.\"\n },\n \"attribute\": \"auto-grow\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string | null\",\n \"resolved\": \"null | string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value of the textarea.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"''\"\n },\n \"counter\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, a character counter will display the ratio of characters used and the total character limit.\\nDevelopers must also set the `maxlength` property for the counter to be calculated correctly.\"\n },\n \"attribute\": \"counter\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"counterFormatter\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"(inputLength: number, maxLength: number) => string\",\n \"resolved\": \"((inputLength: number, maxLength: number) => string) | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"A callback used to format the counter text.\\nBy default the counter text is set to \\\"itemLength / maxLength\\\".\\n\\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\\nif you need to access `this` from within the callback.\"\n }\n },\n \"errorText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Text that is placed under the textarea and displayed when an error is detected.\"\n },\n \"attribute\": \"error-text\",\n \"reflect\": false\n },\n \"helperText\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Text that is placed under the textarea and displayed when no error is detected.\"\n },\n \"attribute\": \"helper-text\",\n \"reflect\": false\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The visible label associated with the textarea.\\n\\nUse this if you need to render a plaintext label.\\n\\nThe `label` property will take priority over the `label` slot if both are used.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"labelPlacement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'start' | 'end' | 'floating' | 'stacked' | 'fixed'\",\n \"resolved\": \"\\\"end\\\" | \\\"fixed\\\" | \\\"floating\\\" | \\\"stacked\\\" | \\\"start\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Where to place the label relative to the textarea.\\n`\\\"start\\\"`: The label will appear to the left of the textarea in LTR and to the right in RTL.\\n`\\\"end\\\"`: The label will appear to the right of the textarea in LTR and to the left in RTL.\\n`\\\"floating\\\"`: The label will appear smaller and above the textarea when the textarea is focused or it has a value. Otherwise it will appear on top of the textarea.\\n`\\\"stacked\\\"`: The label will appear smaller and above the textarea regardless even when the textarea is blurred or has no value.\\n`\\\"fixed\\\"`: The label has the same behavior as `\\\"start\\\"` except it also has a fixed width. Long text will be truncated with ellipses (\\\"...\\\").\"\n },\n \"attribute\": \"label-placement\",\n \"reflect\": false,\n \"defaultValue\": \"'start'\"\n },\n \"legacy\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Set the `legacy` property to `true` to forcibly use the legacy form control markup.\\nIonic will only opt components in to the modern form markup when they are\\nusing either the `aria-label` attribute or the default slot that contains\\nthe label text. As a result, the `legacy` property should only be used as\\nan escape hatch when you want to avoid this automatic opt-in behavior.\\nNote that this property will be removed in an upcoming major release\\nof Ionic, and all form components will be opted-in to using the modern form markup.\"\n },\n \"attribute\": \"legacy\",\n \"reflect\": false\n },\n \"shape\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'round'\",\n \"resolved\": \"\\\"round\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The shape of the textarea. If \\\"round\\\" it will have an increased border radius.\"\n },\n \"attribute\": \"shape\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"hasFocus\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionChange\",\n \"name\": \"ionChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The `ionChange` event is fired when the user modifies the textarea's value.\\nUnlike the `ionInput` event, the `ionChange` event is fired when\\nthe element loses focus after its value has been modified.\"\n },\n \"complexType\": {\n \"original\": \"TextareaChangeEventDetail\",\n \"resolved\": \"TextareaChangeEventDetail\",\n \"references\": {\n \"TextareaChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./textarea-interface\",\n \"id\": \"src/components/textarea/textarea-interface.ts::TextareaChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionInput\",\n \"name\": \"ionInput\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The `ionInput` event is fired each time the user modifies the textarea's value.\\nUnlike the `ionChange` event, the `ionInput` event is fired for each alteration\\nto the textarea's value. This typically happens for each keystroke as the user types.\\n\\nWhen `clearOnEdit` is enabled, the `ionInput` event will be fired when\\nthe user clears the textarea by performing a keydown event.\"\n },\n \"complexType\": {\n \"original\": \"TextareaInputEventDetail\",\n \"resolved\": \"TextareaInputEventDetail\",\n \"references\": {\n \"TextareaInputEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./textarea-interface\",\n \"id\": \"src/components/textarea/textarea-interface.ts::TextareaInputEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionStyle\",\n \"name\": \"ionStyle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the styles change.\"\n },\n \"complexType\": {\n \"original\": \"StyleEventDetail\",\n \"resolved\": \"StyleEventDetail\",\n \"references\": {\n \"StyleEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::StyleEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionBlur\",\n \"name\": \"ionBlur\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the input loses focus.\"\n },\n \"complexType\": {\n \"original\": \"FocusEvent\",\n \"resolved\": \"FocusEvent\",\n \"references\": {\n \"FocusEvent\": {\n \"location\": \"global\",\n \"id\": \"global::FocusEvent\"\n }\n }\n }\n }, {\n \"method\": \"ionFocus\",\n \"name\": \"ionFocus\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the input has focus.\"\n },\n \"complexType\": {\n \"original\": \"FocusEvent\",\n \"resolved\": \"FocusEvent\",\n \"references\": {\n \"FocusEvent\": {\n \"location\": \"global\",\n \"id\": \"global::FocusEvent\"\n }\n }\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the native `textarea` in `ion-textarea`. Use this method instead of the global\\n`textarea.focus()`.\\n\\nSee [managing focus](/docs/developing/managing-focus) for more information.\",\n \"tags\": []\n }\n },\n \"getInputElement\": {\n \"complexType\": {\n \"signature\": \"() => Promise<HTMLTextAreaElement>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLTextAreaElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLTextAreaElement\"\n }\n },\n \"return\": \"Promise<HTMLTextAreaElement>\"\n },\n \"docs\": {\n \"text\": \"Returns the native `<textarea>` element used under the hood.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"debounce\",\n \"methodName\": \"debounceChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueChanged\"\n }];\n }\n}\nlet textareaIds = 0;\n"],"mappings":"4YAAA,MAAMA,EAAiB,0odACvB,MAAAC,EAAeD,ECDf,MAAME,EAAgB,k82BACtB,MAAAC,EAAeD,E,MCiBFE,EAAQ,MACjB,WAAAC,CAAAC,G,yLACIC,KAAKC,QAAU,gBAAgBC,MAO/BF,KAAKG,uBAAyB,MAC9BH,KAAKI,oBAAsB,GAE3BJ,KAAKK,4BAA8B,MAMnCL,KAAKM,QAAWC,IACZ,MAAMC,EAAQD,EAAGE,OACjB,GAAID,EAAO,CACPR,KAAKU,MAAQF,EAAME,OAAS,E,CAEhCV,KAAKW,gBAAgBJ,EAAG,EAE5BP,KAAKY,SAAYL,IACbP,KAAKa,gBAAgBN,EAAG,EAE5BP,KAAKc,QAAWP,IACZP,KAAKe,SAAW,KAChBf,KAAKgB,aAAehB,KAAKU,MACzBV,KAAKiB,cACLjB,KAAKkB,SAASC,KAAKZ,EAAG,EAE1BP,KAAKoB,OAAUb,IACXP,KAAKe,SAAW,MAChBf,KAAKiB,cACL,GAAIjB,KAAKgB,eAAiBhB,KAAKU,MAAO,CAKlCV,KAAKa,gBAAgBN,E,CAEzBP,KAAKG,uBAAyB,MAC9BH,KAAKqB,QAAQF,KAAKZ,EAAG,EAEzBP,KAAKsB,UAAaf,IACdP,KAAKuB,iBAAiBhB,EAAG,EAE7BP,KAAKe,SAAW,MAChBf,KAAKwB,MAAQC,UACbzB,KAAK0B,eAAiB,OACtB1B,KAAK2B,UAAY,MACjB3B,KAAK4B,YAAc,MACnB5B,KAAK6B,SAAWJ,UAChBzB,KAAK8B,SAAW,MAChB9B,KAAK+B,KAAON,UACZzB,KAAKgC,UAAYP,UACjBzB,KAAKiC,aAAeR,UACpBzB,KAAKkC,UAAYT,UACjBzB,KAAKmC,UAAYV,UACjBzB,KAAKoC,KAAOpC,KAAKC,QACjBD,KAAKqC,YAAcZ,UACnBzB,KAAKsC,SAAW,MAChBtC,KAAKuC,SAAW,MAChBvC,KAAKwC,WAAa,MAClBxC,KAAKyC,KAAOhB,UACZzB,KAAK0C,KAAOjB,UACZzB,KAAK2C,KAAOlB,UACZzB,KAAK4C,SAAW,MAChB5C,KAAKU,MAAQ,GACbV,KAAK6C,QAAU,MACf7C,KAAK8C,iBAAmBrB,UACxBzB,KAAK+C,UAAYtB,UACjBzB,KAAKgD,WAAavB,UAClBzB,KAAKiD,MAAQxB,UACbzB,KAAKkD,eAAiB,QACtBlD,KAAKmD,OAAS1B,UACdzB,KAAKoD,MAAQ3B,S,CAEjB,eAAA4B,GACI,MAAMC,SAAEA,EAAQzB,SAAEA,EAAQ0B,iBAAEA,GAAqBvD,KAKjDA,KAAKsD,SAAWzB,IAAaJ,UAAY8B,IAAqB,MAAQA,SAA0B,EAAIA,EAAmBD,EAAWE,EAAcF,EAAUzB,E,CAE9J,eAAA4B,GACIzD,KAAK0D,W,CAKT,YAAAC,GACI,MAAMC,EAAc5D,KAAK4D,YACzB,MAAMlD,EAAQV,KAAK6D,WACnB,GAAID,GAAeA,EAAYlD,QAAUA,EAAO,CAC5CkD,EAAYlD,MAAQA,C,CAExBV,KAAK8D,cACL9D,KAAK0D,W,CAET,iBAAAK,GACI,MAAMC,GAAEA,GAAOhE,KACfA,KAAKiE,qBAAuBC,EAA2BF,GACvDhE,KAAKmE,uBAAyBC,EAA6BJ,EAAI,CAAC,QAAS,QAAS,QAAQ,IAAMK,EAAYrE,QAC5GA,KAAKsE,gBAAkBC,EAAsBP,GAAI,IAAMhE,KAAKwE,gBAAe,IAAMxE,KAAKyE,YACtFzE,KAAK0D,YACL1D,KAAKqD,kBACgB,CACjBqB,SAASC,cAAc,IAAIC,YAAY,kBAAmB,CACtDC,OAAQb,I,EAIpB,oBAAAc,GACyB,CACjBJ,SAASC,cAAc,IAAIC,YAAY,oBAAqB,CACxDC,OAAQ7E,KAAKgE,K,CAGrB,GAAIhE,KAAKmE,uBAAwB,CAC7BnE,KAAKmE,uBAAuBY,UAC5B/E,KAAKmE,uBAAyB1C,S,CAElC,GAAIzB,KAAKsE,gBAAiB,CACtBtE,KAAKsE,gBAAgBS,UACrB/E,KAAKsE,gBAAkB7C,S,EAG/B,iBAAAuD,GACIhF,KAAKI,oBAAsB6E,OAAOC,OAAOD,OAAOC,OAAO,GAAIC,EAAsBnF,KAAKgE,KAAMoB,EAAkBpF,KAAKgE,GAAI,CAAC,iBAAkB,QAAS,a,CAEvJ,gBAAAqB,GACIrF,KAAKuD,iBAAmBvD,KAAKsD,SAC7BtD,KAAK8D,a,CAET,kBAAAwB,GACI,IAAIC,GACHA,EAAKvF,KAAKsE,mBAAqB,MAAQiB,SAAY,OAAS,EAAIA,EAAGC,qB,CAQxE,cAAMC,GACF,GAAIzF,KAAK4D,YAAa,CAClB5D,KAAK4D,YAAY8B,O,EAMzB,qBAAMC,GAKF,IAAK3F,KAAK4D,YAAa,OACb,IAAIgC,SAASC,GAAYC,EAAiB9F,KAAKgE,GAAI6B,I,CAE7D,OAAOD,QAAQC,QAAQ7F,KAAK4D,Y,CAEhC,SAAAF,GACI,GAAI1D,KAAKiE,qBAAqB8B,mBAAoB,CAC9C/F,KAAKgG,SAAS7E,KAAK,CACf8E,YAAa,KACbC,SAAU,KACV1F,MAAO,KACP,uBAAwBR,KAAK8B,SAC7B,kBAAmB9B,KAAKqC,cAAgBZ,UACxC,YAAazB,KAAKmG,WAClB,YAAanG,KAAKe,SAElBoC,SAAUnD,KAAKmD,Q,EAU3B,eAAAtC,CAAgBuF,GACZ,MAAM1F,MAAEA,GAAUV,KAElB,MAAMqG,EAAW3F,GAAS,KAAOA,EAAQA,EAAM4F,WAE/CtG,KAAKgB,aAAeqF,EACpBrG,KAAKuG,UAAUpF,KAAK,CAAET,MAAO2F,EAAUD,S,CAK3C,eAAAzF,CAAgByF,GACZ,MAAM1F,MAAEA,GAAUV,KAClBA,KAAKsD,SAASnC,KAAK,CAAET,QAAO0F,S,CAEhC,WAAAtC,GACI,GAAI9D,KAAK4D,aAAe5D,KAAK4C,SAAU,CACnC4D,GAAU,KACN,IAAIjB,EACJ,GAAIvF,KAAKyG,gBAAiB,CAGtBzG,KAAKyG,gBAAgBC,QAAQC,iBAAmBpB,EAAKvF,KAAKU,SAAW,MAAQ6E,SAAY,EAAIA,EAAK,E,MAQlH,gBAAAhE,CAAiBhB,GACb,IAAKP,KAAK4B,YAAa,CACnB,M,CAgBJ,MAAMgF,EAAe,CAAC,MAAO,QAAS,OAAQ,MAAO,WACrD,MAAMC,EAAoBD,EAAaE,SAASvG,EAAGwG,KAKnD,IAAK/G,KAAKG,wBAA0BH,KAAKmG,aAAeU,EAAmB,CACvE7G,KAAKU,MAAQ,GACbV,KAAKW,gBAAgBJ,E,CAOzB,IAAKsG,EAAmB,CACpB7G,KAAKG,uBAAyB,I,EAGtC,WAAAc,GACIjB,KAAK0D,W,CAET,QAAAyC,GACI,OAAOnG,KAAK6D,aAAe,E,CAE/B,QAAAA,GACI,OAAO7D,KAAKU,OAAS,E,CAGzB,oBAAAsG,GACI,IAAKhH,KAAKK,4BAA6B,CACnC4G,EAAgB,wxBAOsLjH,KAAKgE,IAC3MhE,KAAKK,4BAA8B,I,CAEvC,MAAM6G,EAAOC,EAAWnH,MACxB,MAAMU,EAAQV,KAAK6D,WACnB,MAAMuD,EAAUpH,KAAKC,QAAU,OAC/B,MAAMgD,EAAQoE,EAAcrH,KAAKgE,IACjC,GAAIf,EAAO,CACPA,EAAMqE,GAAKF,C,CAEf,OAAQG,EAAEC,EAAM,CAAE,gBAAiBxH,KAAK8B,SAAW,OAAS,KAAM2F,MAAOC,EAAmB1H,KAAKwB,MAAO,CAChG0F,CAACA,GAAO,KACR,kBAAmB,QACjBK,EAAE,MAAO,CAAEE,MAAO,0BAA2BE,IAAM3D,GAAQhE,KAAKyG,gBAAkBzC,GAAOuD,EAAE,WAAYtC,OAAOC,OAAO,CAAEuC,MAAO,kBAAmB,kBAAmBxE,EAAQA,EAAMqE,GAAK,KAAMK,IAAM3D,GAAQhE,KAAK4D,YAAcI,EAAK4D,eAAgB5H,KAAK0B,eAAgBmG,UAAW7H,KAAK2B,UAAWmG,aAAc9H,KAAKiC,aAAc8F,UAAW/H,KAAKgC,UAAWF,SAAU9B,KAAK8B,SAAUkG,UAAWhI,KAAKkC,UAAW+F,UAAWjI,KAAKmC,UAAWC,KAAMpC,KAAKoC,KAAMC,YAAarC,KAAKqC,aAAe,GAAI6F,SAAUlI,KAAKsC,SAAUC,SAAUvC,KAAKuC,SAAUC,WAAYxC,KAAKwC,WAAYC,KAAMzC,KAAKyC,KAAMC,KAAM1C,KAAK0C,KAAMC,KAAM3C,KAAK2C,KAAMrC,QAASN,KAAKM,QAASM,SAAUZ,KAAKY,SAAUQ,OAAQpB,KAAKoB,OAAQN,QAASd,KAAKc,QAASQ,UAAWtB,KAAKsB,WAAatB,KAAKI,qBAAsBM,I,CAExwB,WAAAyH,GACI,MAAMlF,MAAEA,GAAUjD,KAClB,OAAQuH,EAAE,MAAO,CAAEE,MAAO,CAClB,qBAAsB,KACtB,6BAA8BzH,KAAKoI,WAClCnF,IAAUxB,UAAY8F,EAAE,OAAQ,CAAEnF,KAAM,UAAamF,EAAE,MAAO,CAAEE,MAAO,cAAgBxE,G,CAMpG,aAAIwB,GACA,OAAOzE,KAAKgE,GAAGqE,cAAc,iB,CAQjC,YAAID,GACA,OAAOpI,KAAKiD,QAAUxB,WAAazB,KAAKyE,YAAc,I,CAK1D,oBAAA6D,GACI,MAAMpB,EAAOC,EAAWnH,MACxB,MAAMuI,EAAiBrB,IAAS,MAAQlH,KAAK+B,OAAS,UACtD,GAAIwG,EAAgB,CAQhB,MAAO,CACHhB,EAAE,MAAO,CAAEE,MAAO,8BAAgCF,EAAE,MAAO,CAAEE,MAAO,2BAA6BF,EAAE,MAAO,CAAEE,MAAO,CAC3G,yBAA0B,KAC1B,iCAAkCzH,KAAKoI,WACtCb,EAAE,MAAO,CAAEE,MAAO,eAAgB,cAAe,OAAQE,IAAM3D,GAAQhE,KAAKwE,cAAgBR,GAAOhE,KAAKiD,QAASsE,EAAE,MAAO,CAAEE,MAAO,0BAC5IzH,KAAKmI,c,CAOb,OAAOnI,KAAKmI,a,CAKhB,cAAAK,GACI,MAAMxF,WAAEA,EAAUD,UAAEA,GAAc/C,KAClC,MAAO,CAACuH,EAAE,MAAO,CAAEE,MAAO,eAAiBzE,GAAauE,EAAE,MAAO,CAAEE,MAAO,cAAgB1E,G,CAE9F,aAAA0F,GACI,MAAM5F,QAAEA,EAAOX,UAAEA,EAASY,iBAAEA,EAAgBpC,MAAEA,GAAUV,KACxD,GAAI6C,IAAY,MAAQX,IAAcT,UAAW,CAC7C,M,CAEJ,OAAO8F,EAAE,MAAO,CAAEE,MAAO,WAAaiB,EAAehI,EAAOwB,EAAWY,G,CAO3E,mBAAA6F,GACI,MAAM9F,QAAEA,EAAOG,WAAEA,EAAUD,UAAEA,EAASb,UAAEA,GAAclC,KAKtD,MAAM4I,IAAgB5F,KAAgBD,EACtC,MAAM8F,EAAahG,IAAY,MAAQX,IAAcT,UACrD,IAAKmH,IAAgBC,EAAY,CAC7B,M,CAEJ,OAAQtB,EAAE,MAAO,CAAEE,MAAO,mBAAqBzH,KAAKwI,iBAAkBxI,KAAKyI,gB,CAE/E,cAAAK,GACI,MAAM7I,QAAEA,EAAO6B,SAAEA,EAAQC,KAAEA,EAAIqB,MAAEA,EAAKF,eAAEA,EAAcc,GAAEA,EAAEjD,SAAEA,GAAaf,KACzE,MAAMkH,EAAOC,EAAWnH,MACxB,MAAMU,EAAQV,KAAK6D,WACnB,MAAMkF,EAASC,EAAY,WAAYhJ,KAAKgE,IAC5C,MAAMiF,EAAwB/B,IAAS,MAAQnF,IAAS,YAAcgH,EACtE,MAAM5C,EAAWnG,KAAKmG,WACtB,MAAM+C,EAAmBlF,EAAGqE,cAAc,kCAAoC,KAkB9E,MAAMc,EAAmBjG,IAAmB,WAAcA,IAAmB,aAAeiD,GAAYpF,GAAYmI,GACpH,OAAQ3B,EAAEC,EAAM,CAAEC,MAAOC,EAAmB1H,KAAKwB,MAAO,CAChD0F,CAACA,GAAO,KACR,YAAaf,EACb,YAAapF,EACb,iBAAkBoI,EAClB,CAAC,iBAAiBpH,KAASA,IAASN,UACpC,CAAC,kBAAkB2B,KAAUA,IAAU3B,UACvC,CAAC,4BAA4ByB,KAAmB,KAChD,oBAAqBpB,KACnByF,EAAE,QAAS,CAAEE,MAAO,mBAAoB2B,QAASnJ,GAAWD,KAAKsI,uBAAwBf,EAAE,MAAO,CAAEE,MAAO,0BAA4BF,EAAE,MAAO,CAAEE,MAAO,sBAAwBF,EAAE,OAAQ,CAAEnF,KAAM,WAAamF,EAAE,MAAO,CAAEE,MAAO,iBAAkBE,IAAM3D,GAAQhE,KAAKyG,gBAAkBzC,GAAOuD,EAAE,WAAYtC,OAAOC,OAAO,CAAEuC,MAAO,kBAAmBE,IAAM3D,GAAQhE,KAAK4D,YAAcI,EAAKsD,GAAIrH,EAAS6B,SAAUA,EAAU8F,eAAgB5H,KAAK0B,eAAgBmG,UAAW7H,KAAK2B,UAAWmG,aAAc9H,KAAKiC,aAAc8F,UAAW/H,KAAKgC,UAAWiG,UAAWjI,KAAKmC,UAAW6F,UAAWhI,KAAKkC,UAAWE,KAAMpC,KAAKoC,KAAMC,YAAarC,KAAKqC,aAAe,GAAI6F,SAAUlI,KAAKsC,SAAUC,SAAUvC,KAAKuC,SAAUC,WAAYxC,KAAKwC,WAAYC,KAAMzC,KAAKyC,KAAMC,KAAM1C,KAAK0C,KAAMC,KAAM3C,KAAK2C,KAAMrC,QAASN,KAAKM,QAASM,SAAUZ,KAAKY,SAAUQ,OAAQpB,KAAKoB,OAAQN,QAASd,KAAKc,QAASQ,UAAWtB,KAAKsB,WAAatB,KAAKI,qBAAsBM,IAAS6G,EAAE,MAAO,CAAEE,MAAO,oBAAsBF,EAAE,OAAQ,CAAEnF,KAAM,UAAY6G,GAAyB1B,EAAE,MAAO,CAAEE,MAAO,wBAA0BzH,KAAK2I,sB,CAEpkC,MAAAU,GACI,MAAMpF,qBAAEA,GAAyBjE,KACjC,OAAOiE,EAAqB8B,mBAAqB/F,KAAKgH,uBAAyBhH,KAAK8I,gB,0IA2rB5F,IAAI5I,EAAc,E","ignoreList":[]}