@revolugo/elements 6.8.3 → 6.9.0-rc.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 (198) hide show
  1. package/README.md +1 -1
  2. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +1 -0
  3. package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +1 -0
  4. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
  5. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
  6. package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
  7. package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.T7X_iIkW.css} +1 -1
  8. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
  9. package/dist/css/{revolugo.hoteldescriptionview.DWuzEuGF.css → revolugo.hoteldescriptionview.Dfi-84To.css} +1 -1
  10. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
  11. package/dist/css/{revolugo.hoteloffersmap.2oSkomDb.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
  12. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +1 -0
  13. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +1 -0
  14. package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
  15. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
  16. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
  17. package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
  18. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
  19. package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
  20. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
  21. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  22. package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
  23. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  24. package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
  25. package/dist/css/{revolugo.vtextarea.HYL6WUNS.css → revolugo.vtextarea.Dxy6uSvm.css} +1 -1
  26. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  27. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +2 -2
  28. package/dist/index.es.min.js +2081 -2223
  29. package/dist/index.es.min.js.map +1 -1
  30. package/dist/index.min.js +6 -6
  31. package/dist/index.min.js.map +1 -1
  32. package/dist/revolugo._baseiteratee.BQAqIqmD.min.js +247 -0
  33. package/dist/{revolugo.banktransferdetails.BdulCgI5.min.js → revolugo.banktransferdetails.0j9oc308.min.js} +9 -9
  34. package/dist/revolugo.bdaterangepicker.CuXt5m8k.min.js +8324 -0
  35. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.1LgvMIpZ.min.js +143 -0
  36. package/dist/revolugo.bhoteloffersfilterbar.JyThxTJT.min.js +4896 -0
  37. package/dist/{revolugo.bhotelroomsdetails.orWBBD_o.min.js → revolugo.bhotelroomsdetails.ziCA0uqt.min.js} +359 -407
  38. package/dist/revolugo.bimagecarousel.LON3YyDv.min.js +566 -0
  39. package/dist/{revolugo.bookingdetailssidebar.CD4SMOkC.min.js → revolugo.bookingdetailssidebar.CLb15O8T.min.js} +4 -4
  40. package/dist/{revolugo.bookingdetailssidebar.JOU68R1_.min.js → revolugo.bookingdetailssidebar.CQF8f2p5.min.js} +207 -221
  41. package/dist/{revolugo.bookingmanager.B5cM9Mi5.min.js → revolugo.bookingmanager.BEFqmO93.min.js} +426 -460
  42. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.k5o2Io4n.min.js +91 -0
  43. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BnT8lMCQ.min.js} +164 -183
  44. package/dist/revolugo.btag.CZ9KR3bN.min.js +375 -0
  45. package/dist/revolugo.cancellationpoliciesbadge.KxXb8ZYt.min.js +28 -0
  46. package/dist/revolugo.cancellationpoliciesbadge.gXl0amBL.min.js +198 -0
  47. package/dist/{revolugo.cancellationpolicieslist.D097ASNF.min.js → revolugo.cancellationpolicieslist.BYH8J8e1.min.js} +70 -98
  48. package/dist/revolugo.cancellationpolicieslist.CVTMLJs5.min.js +25 -0
  49. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
  50. package/dist/revolugo.case-transformers.Ca4kmzjy.min.js +123 -0
  51. package/dist/{revolugo.creditcardform.DvHcDx2P.min.js → revolugo.creditcardform.8N0BWYbc.min.js} +4 -4
  52. package/dist/{revolugo.creditcardform.DNOMVOgZ.min.js → revolugo.creditcardform.DawvObHo.min.js} +81 -94
  53. package/dist/{revolugo.creditcardpayment.BLP3RXk4.min.js → revolugo.creditcardpayment.-uEi7Rky.min.js} +152 -160
  54. package/dist/{revolugo.creditcardpayment.D3lPKmx1.min.js → revolugo.creditcardpayment.CYrmSY04.min.js} +4 -4
  55. package/dist/{revolugo.currencypicker.CzzS1Adp.min.js → revolugo.currencypicker.sqbxVvvs.min.js} +15 -15
  56. package/dist/{revolugo.currencypickerbtn.DWnyc54P.min.js → revolugo.currencypickerbtn.BSUDuF7M.min.js} +4 -4
  57. package/dist/{revolugo.currencypickerbtn.ChUEouGw.min.js → revolugo.currencypickerbtn.BoXjqXbM.min.js} +41 -47
  58. package/dist/revolugo.dates.CE3ChILc.min.js +31 -0
  59. package/dist/revolugo.defaultsdeep.ChES_MUh.min.js +104 -0
  60. package/dist/{revolugo.dialog-attach.O2HXPGzj.min.js → revolugo.dialog-attach.BogqVGDT.min.js} +5 -6
  61. package/dist/revolugo.dialog-transition.EGNOTJLZ.min.js +111 -0
  62. package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.Crr6eF_n.min.js} +6 -6
  63. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
  64. package/dist/revolugo.fullbookingflow.CzofWe_h.min.js +429 -0
  65. package/dist/revolugo.hotel-offer-request.BrgYCPvB.min.js +98 -0
  66. package/dist/{revolugo.hoteldescriptionview.CbtxEPGG.min.js → revolugo.hoteldescriptionview.BaN6Jn_K.min.js} +801 -937
  67. package/dist/{revolugo.hoteldescriptionview.D3JTbFxn.min.js → revolugo.hoteldescriptionview.BfUYrAbK.min.js} +4 -4
  68. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.B0aPs9nv.min.js +241 -0
  69. package/dist/{revolugo.hotelofferlist.BVySEYbq.min.js → revolugo.hotelofferlist.CEtclWHx.min.js} +1485 -1590
  70. package/dist/{revolugo.hotelofferlist.puK2FNBR.min.js → revolugo.hotelofferlist.DGO-YnB3.min.js} +4 -4
  71. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
  72. package/dist/revolugo.hoteloffersearchmenu.9ePsLejx.min.js +202 -0
  73. package/dist/revolugo.hoteloffersearchmenuui.Dq3SUHsn.min.js +829 -0
  74. package/dist/{revolugo.hoteloffersmap.BRVm5s6N.min.js → revolugo.hoteloffersmap.DFUv89P-.min.js} +799 -864
  75. package/dist/{revolugo.hoteloffersmap.DqKpfjbt.min.js → revolugo.hoteloffersmap.DbfMieYw.min.js} +4 -4
  76. package/dist/{revolugo.hoteloffersview.DsGyT5s7.min.js → revolugo.hoteloffersview.CMQC6sEW.min.js} +4 -4
  77. package/dist/{revolugo.hoteloffersview.3LJ-m6BY.min.js → revolugo.hoteloffersview.DR-NQds9.min.js} +163 -169
  78. package/dist/{revolugo.hotelroomofferlist.M-3bowQa.min.js → revolugo.hotelroomofferlist.BDmmTZzY.min.js} +1316 -1439
  79. package/dist/{revolugo.hotelroomofferlist.DdMr5qEZ.min.js → revolugo.hotelroomofferlist.VfQvHfAJ.min.js} +4 -4
  80. package/dist/{revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js → revolugo.hotelroomofferrequestcreator.props.BkEQaSSo.min.js} +6 -6
  81. package/dist/{revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js → revolugo.hotelroomoffersbookingflow.BdI11kxD.min.js} +333 -358
  82. package/dist/{revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js → revolugo.hotelroomoffersearchmenu.Be69MN7I.min.js} +35 -36
  83. package/dist/{revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js → revolugo.hotelroomoffersearchmenu.i97dxjV4.min.js} +5 -5
  84. package/dist/{revolugo.hotelroomoffersview.oxTgBMSk.min.js → revolugo.hotelroomoffersview.CZRrXMrq.min.js} +4 -4
  85. package/dist/{revolugo.hotelroomoffersview.BSth8Xsz.min.js → revolugo.hotelroomoffersview.QIikXLmz.min.js} +141 -156
  86. package/dist/revolugo.index.BkZCIWDs.min.js +67 -0
  87. package/dist/revolugo.index.EVacDza9.min.js +1232 -0
  88. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.B-VISNof.min.js} +12139 -12346
  89. package/dist/revolugo.langpicker.Dqh1HLSM.min.js +99 -0
  90. package/dist/revolugo.langpickerbtn.BHidyFm0.min.js +29 -0
  91. package/dist/revolugo.langpickerbtn.D2BROzmF.min.js +131 -0
  92. package/dist/revolugo.min.js +1 -1
  93. package/dist/revolugo.pathify.Cj2pWNwI.min.js +36 -0
  94. package/dist/{revolugo.prebookform.CxK0iSDo.min.js → revolugo.prebookform.BEoRLmXN.min.js} +4 -4
  95. package/dist/{revolugo.prebookform.B8aMLMuG.min.js → revolugo.prebookform.DJtQZk4h.min.js} +130 -134
  96. package/dist/{revolugo.roominglisteditor.D7WzDtw6.min.js → revolugo.roominglisteditor.Bde6fZE4.min.js} +4 -4
  97. package/dist/{revolugo.roominglisteditor.Do-pe811.min.js → revolugo.roominglisteditor.DOIoiZUZ.min.js} +98 -104
  98. package/dist/{revolugo.rounded.Dnxang6X.min.js → revolugo.rounded.CuDW7ReX.min.js} +2 -2
  99. package/dist/{revolugo.ssrboot.ByGq44eI.min.js → revolugo.ssrboot.BkAAdgIG.min.js} +2 -2
  100. package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.BrYrYQ9u.min.js} +142 -143
  101. package/dist/revolugo.termsandconditions.DdFCvyY1.min.js +405 -0
  102. package/dist/{revolugo.termsandconditions.DfGTVPYa.min.js → revolugo.termsandconditions.DsQqeMuQ.min.js} +4 -4
  103. package/dist/revolugo.use-breakpoint-service.Bd-iL63O.min.js +39 -0
  104. package/dist/revolugo.use-dialog-attach.CQ3SJvi2.min.js +16 -0
  105. package/dist/revolugo.use-html-element.DSBxvQwo.min.js +11 -0
  106. package/dist/revolugo.vautocomplete.3H62FFlI.min.js +445 -0
  107. package/dist/revolugo.vbadge.DIKTZfYf.min.js +112 -0
  108. package/dist/revolugo.vbtn.ikEGbF2M.min.js +398 -0
  109. package/dist/revolugo.vcard.k3F27b0_.min.js +313 -0
  110. package/dist/revolugo.vcheckboxbtn.DUDck9Jj.min.js +478 -0
  111. package/dist/revolugo.vdialog.I9viR6u_.min.js +133 -0
  112. package/dist/{revolugo.vdivider.Cp9bHPnI.min.js → revolugo.vdivider.BU_Qpn1Y.min.js} +8 -8
  113. package/dist/revolugo.vexpansionpanels.BlsPrY5r.min.js +262 -0
  114. package/dist/revolugo.vform.BuY4c-jG.min.js +46 -0
  115. package/dist/revolugo.vicon.0oYbTzMR.min.js +105 -0
  116. package/dist/revolugo.vinput.BhulYzYM.min.js +463 -0
  117. package/dist/revolugo.vlabel.C7Tnm2IP.min.js +48 -0
  118. package/dist/revolugo.vlist.Ds4pFDgs.min.js +1299 -0
  119. package/dist/revolugo.vmenu.DQI1PK0w.min.js +145 -0
  120. package/dist/revolugo.vselect.rRp_6FBN.min.js +660 -0
  121. package/dist/{revolugo.vsheet.8UeU7qQn.min.js → revolugo.vsheet.n_e1sEwZ.min.js} +14 -14
  122. package/dist/{revolugo.vskeletonloader.Dk0enVo6.min.js → revolugo.vskeletonloader.nVyGxNEH.min.js} +54 -55
  123. package/dist/revolugo.vslidegroup.CTyaEfLB.min.js +325 -0
  124. package/dist/revolugo.vsnackbar.DTgtMyMg.min.js +198 -0
  125. package/dist/revolugo.vspacer.0M0DbPqW.min.js +7 -0
  126. package/dist/{revolugo.vtextarea.Cjuqcka5.min.js → revolugo.vtextarea.mqbZT0AH.min.js} +354 -364
  127. package/dist/revolugo.vtextfield.C3PH47E4.min.js +501 -0
  128. package/dist/revolugo.vtoolbar.BTinlkeA.min.js +180 -0
  129. package/dist/revolugo.vtooltip.CvIhH6aP.min.js +89 -0
  130. package/dist/revolugo.vwindowitem.Cf667i7i.min.js +317 -0
  131. package/dist/revolugo.watch-list.BVepdYEA.min.js +16 -0
  132. package/dist/revolugo.webcomponentwrapper.BZSwKZDU.min.js +2088 -0
  133. package/package.json +5 -5
  134. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  135. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  136. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  137. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  138. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  139. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  140. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  141. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  142. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  143. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  144. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  145. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  146. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  147. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  148. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  149. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  150. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  151. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  152. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  153. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  154. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  155. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  156. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  157. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  158. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  159. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  160. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  161. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  162. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  163. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  164. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  165. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  166. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  167. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  168. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  169. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  170. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  171. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  172. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  173. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  174. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  175. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  176. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  177. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  178. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  179. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  180. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  181. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  182. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  183. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  184. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  185. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  186. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  187. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  188. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  189. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  190. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  191. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  192. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  193. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  194. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  195. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  196. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  197. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  198. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,11 +1,11 @@
1
- import { d as c0, u as h0, C as O, D as R, bD as Od, M as A, i as v0, e as D, a as y, w as W, x as g0, J as td, y as X, n as y0, h as m0, t as rd, f as p0, o as b0, Z as P0, _ as N0, a2 as O0, a5 as _0, a8 as C0, V as E0, W as I0, b2 as x0, R as nd, a9 as F0, ay as w0, F as $d, H as _d, aA as S0, bE as T0, bF as A0 } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { V as R0 } from "./revolugo.vautocomplete.BjPSa1jg.min.js";
3
- import { V as L0, a as Cd, m as D0, b as M0 } from "./revolugo.vtextfield.BUNcwTRK.min.js";
4
- import { V as G0 } from "./revolugo.vlist.hRQlcp5M.min.js";
5
- import { _ as B0, u as k0 } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
6
- import { u as V0, V as Ed, m as U0 } from "./revolugo.vinput.P34xrpIC.min.js";
7
- import { f as j0 } from "./revolugo.forwardrefs.-bfQnFea.min.js";
8
- import { I as H0 } from "./revolugo.index.gIPq0z7C.min.js";
1
+ import { d as c0, u as h0, k as N, H as T, bW as Nd, O as S, i as v0, e as R, a as y, w as H, C as g0, p as ed, D as K, n as y0, h as m0, t as td, f as p0, o as b0, a1 as P0, a2 as N0, a6 as O0, a9 as _0, ac as C0, X as E0, Y as I0, b5 as x0, W as rd, ad as F0, aF as w0, F as nd, J as Od, aH as S0, bX as T0, bY as A0 } from "./revolugo.index.wc.B-VISNof.min.js";
2
+ import { V as R0 } from "./revolugo.vautocomplete.3H62FFlI.min.js";
3
+ import { V as L0, a as _d, m as D0, b as M0 } from "./revolugo.vtextfield.C3PH47E4.min.js";
4
+ import { V as G0 } from "./revolugo.vlist.Ds4pFDgs.min.js";
5
+ import { _ as B0, u as k0 } from "./revolugo.webcomponentwrapper.BZSwKZDU.min.js";
6
+ import { u as V0, V as Cd, m as U0 } from "./revolugo.vinput.BhulYzYM.min.js";
7
+ import { f as j0 } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
8
+ import { I as H0 } from "./revolugo.index.EVacDza9.min.js";
9
9
  function f0(d) {
10
10
  try {
11
11
  if (typeof document < "u") {
@@ -43,7 +43,7 @@ function X0(d, e) {
43
43
  var t = Array.prototype.slice.call(e);
44
44
  return t.push(W0), d.apply(this, t);
45
45
  }
46
- function Id(d, e) {
46
+ function Ed(d, e) {
47
47
  d = d.split("-"), e = e.split("-");
48
48
  for (var t = d[0].split("."), r = e[0].split("."), n = 0; n < 3; n++) {
49
49
  var $ = Number(t[n]), a = Number(r[n]);
@@ -55,18 +55,18 @@ function Id(d, e) {
55
55
  return d[1] && e[1] ? d[1] > e[1] ? 1 : d[1] < e[1] ? -1 : 0 : !d[1] && e[1] ? 1 : d[1] && !e[1] ? -1 : 0;
56
56
  }
57
57
  var Y0 = {}.constructor;
58
- function G(d) {
58
+ function D(d) {
59
59
  return d != null && d.constructor === Y0;
60
60
  }
61
- function od(d) {
61
+ function id(d) {
62
62
  "@babel/helpers - typeof";
63
- return od = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
63
+ return id = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
64
64
  return typeof e;
65
65
  } : function(e) {
66
66
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
67
- }, od(d);
67
+ }, id(d);
68
68
  }
69
- function q(d, e) {
69
+ function Z(d, e) {
70
70
  if (!(d instanceof e))
71
71
  throw new TypeError("Cannot call a class as a function");
72
72
  }
@@ -76,14 +76,14 @@ function Z0(d, e) {
76
76
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(d, r.key, r);
77
77
  }
78
78
  }
79
- function z(d, e, t) {
79
+ function J(d, e, t) {
80
80
  return e && Z0(d.prototype, e), Object.defineProperty(d, "prototype", { writable: !1 }), d;
81
81
  }
82
- var J0 = "1.2.0", q0 = "1.7.35", xd = " ext. ", z0 = /^\d+$/, v = /* @__PURE__ */ function() {
82
+ var J0 = "1.2.0", q0 = "1.7.35", Id = " ext. ", z0 = /^\d+$/, h = /* @__PURE__ */ function() {
83
83
  function d(e) {
84
- q(this, d), Qd(e), this.metadata = e, d0.call(this, e);
84
+ Z(this, d), zd(e), this.metadata = e, Qd.call(this, e);
85
85
  }
86
- return z(d, [{
86
+ return J(d, [{
87
87
  key: "getCountries",
88
88
  value: function() {
89
89
  return Object.keys(this.metadata.countries).filter(function(t) {
@@ -137,11 +137,11 @@ var J0 = "1.2.0", q0 = "1.7.35", xd = " ext. ", z0 = /^\d+$/, v = /* @__PURE__ *
137
137
  if (t && z0.test(t) && (r = t, t = null), t && t !== "001") {
138
138
  if (!this.hasCountry(t))
139
139
  throw new Error("Unknown country: ".concat(t));
140
- this.numberingPlan = new Fd(this.getCountryMetadata(t), this);
140
+ this.numberingPlan = new xd(this.getCountryMetadata(t), this);
141
141
  } else if (r) {
142
142
  if (!this.hasCallingCode(r))
143
143
  throw new Error("Unknown calling code: ".concat(r));
144
- this.numberingPlan = new Fd(this.getNumberingPlanMetadata(r), this);
144
+ this.numberingPlan = new xd(this.getNumberingPlanMetadata(r), this);
145
145
  } else
146
146
  this.numberingPlan = void 0;
147
147
  return this;
@@ -265,11 +265,11 @@ var J0 = "1.2.0", q0 = "1.7.35", xd = " ext. ", z0 = /^\d+$/, v = /* @__PURE__ *
265
265
  return this.numberingPlan !== void 0;
266
266
  }
267
267
  }]), d;
268
- }(), Fd = /* @__PURE__ */ function() {
268
+ }(), xd = /* @__PURE__ */ function() {
269
269
  function d(e, t) {
270
- q(this, d), this.globalMetadataObject = t, this.metadata = e, d0.call(this, t.metadata);
270
+ Z(this, d), this.globalMetadataObject = t, this.metadata = e, Qd.call(this, t.metadata);
271
271
  }
272
- return z(d, [{
272
+ return J(d, [{
273
273
  key: "callingCode",
274
274
  value: function() {
275
275
  return this.metadata[0];
@@ -392,20 +392,20 @@ var J0 = "1.2.0", q0 = "1.7.35", xd = " ext. ", z0 = /^\d+$/, v = /* @__PURE__ *
392
392
  }, {
393
393
  key: "type",
394
394
  value: function(t) {
395
- if (this.hasTypes() && wd(this.types(), t))
396
- return new e1(wd(this.types(), t), this);
395
+ if (this.hasTypes() && Fd(this.types(), t))
396
+ return new e1(Fd(this.types(), t), this);
397
397
  }
398
398
  }, {
399
399
  key: "ext",
400
400
  value: function() {
401
- return this.v1 || this.v2 ? xd : this.metadata[13] || xd;
401
+ return this.v1 || this.v2 ? Id : this.metadata[13] || Id;
402
402
  }
403
403
  }]), d;
404
404
  }(), Q0 = /* @__PURE__ */ function() {
405
405
  function d(e, t) {
406
- q(this, d), this._format = e, this.metadata = t;
406
+ Z(this, d), this._format = e, this.metadata = t;
407
407
  }
408
- return z(d, [{
408
+ return J(d, [{
409
409
  key: "pattern",
410
410
  value: function() {
411
411
  return this._format[0];
@@ -450,9 +450,9 @@ var J0 = "1.2.0", q0 = "1.7.35", xd = " ext. ", z0 = /^\d+$/, v = /* @__PURE__ *
450
450
  }]), d;
451
451
  }(), d1 = /^\(?\$1\)?$/, e1 = /* @__PURE__ */ function() {
452
452
  function d(e, t) {
453
- q(this, d), this.type = e, this.metadata = t;
453
+ Z(this, d), this.type = e, this.metadata = t;
454
454
  }
455
- return z(d, [{
455
+ return J(d, [{
456
456
  key: "pattern",
457
457
  value: function() {
458
458
  return this.metadata.v1 ? this.type : this.type[0];
@@ -465,7 +465,7 @@ var J0 = "1.2.0", q0 = "1.7.35", xd = " ext. ", z0 = /^\d+$/, v = /* @__PURE__ *
465
465
  }
466
466
  }]), d;
467
467
  }();
468
- function wd(d, e) {
468
+ function Fd(d, e) {
469
469
  switch (e) {
470
470
  case "FIXED_LINE":
471
471
  return d[0];
@@ -489,28 +489,28 @@ function wd(d, e) {
489
489
  return d[9];
490
490
  }
491
491
  }
492
- function Qd(d) {
492
+ function zd(d) {
493
493
  if (!d)
494
494
  throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
495
- if (!G(d) || !G(d.countries))
496
- throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(G(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + t1(d) + ": " + d, "."));
495
+ if (!D(d) || !D(d.countries))
496
+ throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(D(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + t1(d) + ": " + d, "."));
497
497
  }
498
498
  var t1 = function(e) {
499
- return od(e);
499
+ return id(e);
500
500
  };
501
- function hd(d, e) {
502
- if (e = new v(e), e.hasCountry(d))
501
+ function cd(d, e) {
502
+ if (e = new h(e), e.hasCountry(d))
503
503
  return e.country(d).countryCallingCode();
504
504
  throw new Error("Unknown country: ".concat(d));
505
505
  }
506
506
  function r1(d, e) {
507
507
  return e.countries.hasOwnProperty(d);
508
508
  }
509
- function d0(d) {
509
+ function Qd(d) {
510
510
  var e = d.version;
511
- typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? Id(e, J0) === -1 ? this.v2 = !0 : Id(e, q0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
511
+ typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? Ed(e, J0) === -1 ? this.v2 = !0 : Ed(e, q0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
512
512
  }
513
- function vd(d, e) {
513
+ function hd(d, e) {
514
514
  return n1(d, void 0, e);
515
515
  }
516
516
  function n1(d, e, t) {
@@ -521,7 +521,7 @@ function n1(d, e, t) {
521
521
  return a === $ ? "IS_POSSIBLE" : a > $ ? "TOO_SHORT" : n[n.length - 1] < $ ? "TOO_LONG" : n.indexOf($, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
522
522
  }
523
523
  function $1(d, e, t) {
524
- if (e === void 0 && (e = {}), t = new v(t), e.v2) {
524
+ if (e === void 0 && (e = {}), t = new h(t), e.v2) {
525
525
  if (!d.countryCallingCode)
526
526
  throw new Error("Invalid phone number object passed");
527
527
  t.selectNumberingPlan(d.countryCallingCode);
@@ -539,13 +539,13 @@ function $1(d, e, t) {
539
539
  }
540
540
  }
541
541
  if (t.possibleLengths())
542
- return e0(d.phone || d.nationalNumber, t);
542
+ return d0(d.phone || d.nationalNumber, t);
543
543
  if (d.countryCallingCode && t.isNonGeographicCallingCode(d.countryCallingCode))
544
544
  return !0;
545
545
  throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
546
546
  }
547
- function e0(d, e) {
548
- switch (vd(d, e)) {
547
+ function d0(d, e) {
548
+ switch (hd(d, e)) {
549
549
  case "IS_POSSIBLE":
550
550
  return !0;
551
551
  // This library ignores "local-only" phone numbers (for simplicity).
@@ -556,7 +556,7 @@ function e0(d, e) {
556
556
  return !1;
557
557
  }
558
558
  }
559
- function I(d, e) {
559
+ function C(d, e) {
560
560
  return d = d || "", new RegExp("^(?:" + e + ")$").test(d);
561
561
  }
562
562
  function a1(d, e) {
@@ -574,57 +574,57 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
574
574
  }
575
575
  function i1(d, e) {
576
576
  if (d) {
577
- if (typeof d == "string") return Sd(d, e);
577
+ if (typeof d == "string") return wd(d, e);
578
578
  var t = Object.prototype.toString.call(d).slice(8, -1);
579
579
  if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
580
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Sd(d, e);
580
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return wd(d, e);
581
581
  }
582
582
  }
583
- function Sd(d, e) {
583
+ function wd(d, e) {
584
584
  (e == null || e > d.length) && (e = d.length);
585
585
  for (var t = 0, r = new Array(e); t < e; t++)
586
586
  r[t] = d[t];
587
587
  return r;
588
588
  }
589
589
  var o1 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
590
- function gd(d, e, t) {
590
+ function vd(d, e, t) {
591
591
  if (e = e || {}, !(!d.country && !d.countryCallingCode)) {
592
- t = new v(t), t.selectNumberingPlan(d.country, d.countryCallingCode);
592
+ t = new h(t), t.selectNumberingPlan(d.country, d.countryCallingCode);
593
593
  var r = e.v2 ? d.nationalNumber : d.phone;
594
- if (I(r, t.nationalNumberPattern())) {
595
- if (ad(r, "FIXED_LINE", t))
596
- return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || ad(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
594
+ if (C(r, t.nationalNumberPattern())) {
595
+ if ($d(r, "FIXED_LINE", t))
596
+ return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || $d(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
597
597
  for (var n = a1(o1), $; !($ = n()).done; ) {
598
598
  var a = $.value;
599
- if (ad(r, a, t))
599
+ if ($d(r, a, t))
600
600
  return a;
601
601
  }
602
602
  }
603
603
  }
604
604
  }
605
- function ad(d, e, t) {
606
- return e = t.type(e), !e || !e.pattern() || e.possibleLengths() && e.possibleLengths().indexOf(d.length) < 0 ? !1 : I(d, e.pattern());
605
+ function $d(d, e, t) {
606
+ return e = t.type(e), !e || !e.pattern() || e.possibleLengths() && e.possibleLengths().indexOf(d.length) < 0 ? !1 : C(d, e.pattern());
607
607
  }
608
608
  function u1(d, e, t) {
609
- if (e = e || {}, t = new v(t), t.selectNumberingPlan(d.country, d.countryCallingCode), t.hasTypes())
610
- return gd(d, e, t.metadata) !== void 0;
609
+ if (e = e || {}, t = new h(t), t.selectNumberingPlan(d.country, d.countryCallingCode), t.hasTypes())
610
+ return vd(d, e, t.metadata) !== void 0;
611
611
  var r = e.v2 ? d.nationalNumber : d.phone;
612
- return I(r, t.nationalNumberPattern());
612
+ return C(r, t.nationalNumberPattern());
613
613
  }
614
614
  function l1(d, e, t) {
615
- var r = new v(t), n = r.getCountryCodesForCallingCode(d);
615
+ var r = new h(t), n = r.getCountryCodesForCallingCode(d);
616
616
  return n ? n.filter(function($) {
617
617
  return s1(e, $, t);
618
618
  }) : [];
619
619
  }
620
620
  function s1(d, e, t) {
621
- var r = new v(t);
621
+ var r = new h(t);
622
622
  return r.selectNumberingPlan(e), r.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
623
623
  }
624
- var yd = 2, f1 = 17, c1 = 3, N = "0-90-9٠-٩۰-۹", h1 = "-‐-―−ー-", v1 = "//", g1 = "..", y1 = "  ­​⁠ ", m1 = "()()[]\\[\\]", p1 = "~⁓∼~", Z = "".concat(h1).concat(v1).concat(g1).concat(y1).concat(m1).concat(p1), md = "++", b1 = new RegExp("([" + N + "])");
624
+ var gd = 2, f1 = 17, c1 = 3, P = "0-90-9٠-٩۰-۹", h1 = "-‐-―−ー-", v1 = "//", g1 = "..", y1 = "  ­​⁠ ", m1 = "()()[]\\[\\]", p1 = "~⁓∼~", X = "".concat(h1).concat(v1).concat(g1).concat(y1).concat(m1).concat(p1), yd = "++", b1 = new RegExp("([" + P + "])");
625
625
  function P1(d, e, t, r) {
626
626
  if (e) {
627
- var n = new v(r);
627
+ var n = new h(r);
628
628
  n.selectNumberingPlan(e, t);
629
629
  var $ = new RegExp(n.IDDPrefix());
630
630
  if (d.search($) === 0) {
@@ -648,8 +648,8 @@ function N1(d, e) {
648
648
  }
649
649
  var u;
650
650
  if (i) {
651
- var s = d.indexOf(r[1]), p = d.slice(0, s);
652
- p === e.numberingPlan.nationalPrefix() && (u = e.numberingPlan.nationalPrefix());
651
+ var l = d.indexOf(r[1]), m = d.slice(0, l);
652
+ m === e.numberingPlan.nationalPrefix() && (u = e.numberingPlan.nationalPrefix());
653
653
  } else
654
654
  u = r[0];
655
655
  return {
@@ -663,7 +663,7 @@ function N1(d, e) {
663
663
  nationalNumber: d
664
664
  };
665
665
  }
666
- function ud(d, e) {
666
+ function od(d, e) {
667
667
  var t = N1(d, e), r = t.carrierCode, n = t.nationalNumber;
668
668
  if (n !== d) {
669
669
  if (!O1(d, n, e))
@@ -681,10 +681,10 @@ function ud(d, e) {
681
681
  };
682
682
  }
683
683
  function O1(d, e, t) {
684
- return !(I(d, t.nationalNumberPattern()) && !I(e, t.nationalNumberPattern()));
684
+ return !(C(d, t.nationalNumberPattern()) && !C(e, t.nationalNumberPattern()));
685
685
  }
686
686
  function _1(d, e) {
687
- switch (vd(d, e)) {
687
+ switch (hd(d, e)) {
688
688
  case "TOO_SHORT":
689
689
  case "INVALID_LENGTH":
690
690
  return !1;
@@ -693,11 +693,11 @@ function _1(d, e) {
693
693
  }
694
694
  }
695
695
  function C1(d, e, t, r) {
696
- var n = e ? hd(e, r) : t;
696
+ var n = e ? cd(e, r) : t;
697
697
  if (d.indexOf(n) === 0) {
698
- r = new v(r), r.selectNumberingPlan(e, t);
699
- var $ = d.slice(n.length), a = ud($, r), i = a.nationalNumber, o = ud(d, r), u = o.nationalNumber;
700
- if (!I(u, r.nationalNumberPattern()) && I(i, r.nationalNumberPattern()) || vd(u, r) === "TOO_LONG")
698
+ r = new h(r), r.selectNumberingPlan(e, t);
699
+ var $ = d.slice(n.length), a = od($, r), i = a.nationalNumber, o = od(d, r), u = o.nationalNumber;
700
+ if (!C(u, r.nationalNumberPattern()) && C(i, r.nationalNumberPattern()) || hd(u, r) === "TOO_LONG")
701
701
  return {
702
702
  countryCallingCode: n,
703
703
  number: $
@@ -707,7 +707,7 @@ function C1(d, e, t, r) {
707
707
  number: d
708
708
  };
709
709
  }
710
- function t0(d, e, t, r) {
710
+ function e0(d, e, t, r) {
711
711
  if (!d)
712
712
  return {};
713
713
  var n;
@@ -734,13 +734,13 @@ function t0(d, e, t, r) {
734
734
  }
735
735
  if (d[1] === "0")
736
736
  return {};
737
- r = new v(r);
737
+ r = new h(r);
738
738
  for (var u = 2; u - 1 <= c1 && u <= d.length; ) {
739
- var s = d.slice(1, u);
740
- if (r.hasCallingCode(s))
741
- return r.selectNumberingPlan(s), {
739
+ var l = d.slice(1, u);
740
+ if (r.hasCallingCode(l))
741
+ return r.selectNumberingPlan(l), {
742
742
  countryCallingCodeSource: n ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
743
- countryCallingCode: s,
743
+ countryCallingCode: l,
744
744
  number: d.slice(u)
745
745
  };
746
746
  u++;
@@ -748,7 +748,7 @@ function t0(d, e, t, r) {
748
748
  return {};
749
749
  }
750
750
  function E1(d) {
751
- return d.replace(new RegExp("[".concat(Z, "]+"), "g"), " ").trim();
751
+ return d.replace(new RegExp("[".concat(X, "]+"), "g"), " ").trim();
752
752
  }
753
753
  var I1 = /(\$\d)/;
754
754
  function x1(d, e, t) {
@@ -772,27 +772,27 @@ function x1(d, e, t) {
772
772
  }
773
773
  var F1 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
774
774
  function w1(d, e, t) {
775
- var r = new v(t);
775
+ var r = new h(t);
776
776
  if (r.selectNumberingPlan(d, e), r.defaultIDDPrefix())
777
777
  return r.defaultIDDPrefix();
778
778
  if (F1.test(r.IDDPrefix()))
779
779
  return r.IDDPrefix();
780
780
  }
781
- var S1 = ";ext=", M = function(e) {
782
- return "([".concat(N, "]{1,").concat(e, "})");
781
+ var S1 = ";ext=", L = function(e) {
782
+ return "([".concat(P, "]{1,").concat(e, "})");
783
783
  };
784
- function r0(d) {
785
- var e = "20", t = "15", r = "9", n = "6", $ = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", i = "#?", o = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", s = "[- ]+", p = "[  \\t]*", h = "(?:,{2}|;)", g = S1 + M(e), b = $ + o + a + M(e) + i, _ = $ + u + a + M(r) + i, B = s + M(n) + "#", T = p + h + a + M(t) + i, k = p + "(?:,)+" + a + M(r) + i;
786
- return g + "|" + b + "|" + _ + "|" + B + "|" + T + "|" + k;
784
+ function t0(d) {
785
+ var e = "20", t = "15", r = "9", n = "6", $ = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", i = "#?", o = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", l = "[- ]+", m = "[  \\t]*", c = "(?:,{2}|;)", v = S1 + L(e), p = $ + o + a + L(e) + i, O = $ + u + a + L(r) + i, M = l + L(n) + "#", w = m + c + a + L(t) + i, G = m + "(?:,)+" + a + L(r) + i;
786
+ return v + "|" + p + "|" + O + "|" + M + "|" + w + "|" + G;
787
787
  }
788
- var T1 = "[" + N + "]{" + yd + "}", A1 = "[" + md + "]{0,1}(?:[" + Z + "]*[" + N + "]){3,}[" + Z + N + "]*", R1 = new RegExp("^[" + md + "]{0,1}(?:[" + Z + "]*[" + N + "]){1,2}$", "i"), L1 = A1 + // Phone number extensions
789
- "(?:" + r0() + ")?", D1 = new RegExp(
788
+ var T1 = "[" + P + "]{" + gd + "}", A1 = "[" + yd + "]{0,1}(?:[" + X + "]*[" + P + "]){3,}[" + X + P + "]*", R1 = new RegExp("^[" + yd + "]{0,1}(?:[" + X + "]*[" + P + "]){1,2}$", "i"), L1 = A1 + // Phone number extensions
789
+ "(?:" + t0() + ")?", D1 = new RegExp(
790
790
  // Either a short two-digit-only phone number
791
791
  "^" + T1 + "$|^" + L1 + "$",
792
792
  "i"
793
793
  );
794
794
  function M1(d) {
795
- return d.length >= yd && D1.test(d);
795
+ return d.length >= gd && D1.test(d);
796
796
  }
797
797
  function G1(d) {
798
798
  return R1.test(d);
@@ -820,19 +820,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
820
820
  }
821
821
  function V1(d, e) {
822
822
  if (d) {
823
- if (typeof d == "string") return Td(d, e);
823
+ if (typeof d == "string") return Sd(d, e);
824
824
  var t = Object.prototype.toString.call(d).slice(8, -1);
825
825
  if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
826
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Td(d, e);
826
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Sd(d, e);
827
827
  }
828
828
  }
829
- function Td(d, e) {
829
+ function Sd(d, e) {
830
830
  (e == null || e > d.length) && (e = d.length);
831
831
  for (var t = 0, r = new Array(e); t < e; t++)
832
832
  r[t] = d[t];
833
833
  return r;
834
834
  }
835
- function Ad(d, e) {
835
+ function Td(d, e) {
836
836
  var t = Object.keys(d);
837
837
  if (Object.getOwnPropertySymbols) {
838
838
  var r = Object.getOwnPropertySymbols(d);
@@ -842,12 +842,12 @@ function Ad(d, e) {
842
842
  }
843
843
  return t;
844
844
  }
845
- function Rd(d) {
845
+ function Ad(d) {
846
846
  for (var e = 1; e < arguments.length; e++) {
847
847
  var t = arguments[e] != null ? arguments[e] : {};
848
- e % 2 ? Ad(Object(t), !0).forEach(function(r) {
848
+ e % 2 ? Td(Object(t), !0).forEach(function(r) {
849
849
  U1(d, r, t[r]);
850
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Ad(Object(t)).forEach(function(r) {
850
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Td(Object(t)).forEach(function(r) {
851
851
  Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
852
852
  });
853
853
  }
@@ -856,13 +856,13 @@ function Rd(d) {
856
856
  function U1(d, e, t) {
857
857
  return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
858
858
  }
859
- var Ld = {
859
+ var Rd = {
860
860
  formatExtension: function(e, t, r) {
861
861
  return "".concat(e).concat(r.ext()).concat(t);
862
862
  }
863
863
  };
864
864
  function j1(d, e, t, r) {
865
- if (t ? t = Rd(Rd({}, Ld), t) : t = Ld, r = new v(r), d.country && d.country !== "001") {
865
+ if (t ? t = Ad(Ad({}, Rd), t) : t = Rd, r = new h(r), d.country && d.country !== "001") {
866
866
  if (!r.hasCountry(d.country))
867
867
  throw new Error("Unknown country: ".concat(d.country));
868
868
  r.country(d.country);
@@ -872,9 +872,9 @@ function j1(d, e, t, r) {
872
872
  var n = r.countryCallingCode(), $ = t.v2 ? d.nationalNumber : d.phone, a;
873
873
  switch (e) {
874
874
  case "NATIONAL":
875
- return $ ? (a = J($, d.carrierCode, "NATIONAL", r, t), id(a, d.ext, r, t.formatExtension)) : "";
875
+ return $ ? (a = Y($, d.carrierCode, "NATIONAL", r, t), ad(a, d.ext, r, t.formatExtension)) : "";
876
876
  case "INTERNATIONAL":
877
- return $ ? (a = J($, null, "INTERNATIONAL", r, t), a = "+".concat(n, " ").concat(a), id(a, d.ext, r, t.formatExtension)) : "+".concat(n);
877
+ return $ ? (a = Y($, null, "INTERNATIONAL", r, t), a = "+".concat(n, " ").concat(a), ad(a, d.ext, r, t.formatExtension)) : "+".concat(n);
878
878
  case "E.164":
879
879
  return "+".concat(n).concat($);
880
880
  case "RFC3966":
@@ -890,12 +890,12 @@ function j1(d, e, t, r) {
890
890
  if (!t.fromCountry)
891
891
  return;
892
892
  var i = K1($, d.carrierCode, n, t.fromCountry, r);
893
- return id(i, d.ext, r, t.formatExtension);
893
+ return ad(i, d.ext, r, t.formatExtension);
894
894
  default:
895
895
  throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e, '"'));
896
896
  }
897
897
  }
898
- function J(d, e, t, r, n) {
898
+ function Y(d, e, t, r, n) {
899
899
  var $ = H1(r.formats(), d);
900
900
  return $ ? x1(d, $, {
901
901
  useInternationalFormat: t === "INTERNATIONAL",
@@ -910,24 +910,24 @@ function H1(d, e) {
910
910
  if (e.search($) !== 0)
911
911
  continue;
912
912
  }
913
- if (I(e, n.pattern()))
913
+ if (C(e, n.pattern()))
914
914
  return n;
915
915
  }
916
916
  }
917
- function id(d, e, t, r) {
917
+ function ad(d, e, t, r) {
918
918
  return e ? r(d, e, t) : d;
919
919
  }
920
920
  function K1(d, e, t, r, n) {
921
- var $ = hd(r, n.metadata);
921
+ var $ = cd(r, n.metadata);
922
922
  if ($ === t) {
923
- var a = J(d, e, "NATIONAL", n);
923
+ var a = Y(d, e, "NATIONAL", n);
924
924
  return t === "1" ? t + " " + a : a;
925
925
  }
926
926
  var i = w1(r, void 0, n.metadata);
927
927
  if (i)
928
- return "".concat(i, " ").concat(t, " ").concat(J(d, null, "INTERNATIONAL", n));
928
+ return "".concat(i, " ").concat(t, " ").concat(Y(d, null, "INTERNATIONAL", n));
929
929
  }
930
- function Dd(d, e) {
930
+ function Ld(d, e) {
931
931
  var t = Object.keys(d);
932
932
  if (Object.getOwnPropertySymbols) {
933
933
  var r = Object.getOwnPropertySymbols(d);
@@ -937,12 +937,12 @@ function Dd(d, e) {
937
937
  }
938
938
  return t;
939
939
  }
940
- function Md(d) {
940
+ function Dd(d) {
941
941
  for (var e = 1; e < arguments.length; e++) {
942
942
  var t = arguments[e] != null ? arguments[e] : {};
943
- e % 2 ? Dd(Object(t), !0).forEach(function(r) {
943
+ e % 2 ? Ld(Object(t), !0).forEach(function(r) {
944
944
  W1(d, r, t[r]);
945
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Dd(Object(t)).forEach(function(r) {
945
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Ld(Object(t)).forEach(function(r) {
946
946
  Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
947
947
  });
948
948
  }
@@ -973,12 +973,12 @@ var J1 = /* @__PURE__ */ function() {
973
973
  if (typeof e == "string") {
974
974
  if (e[0] === "+" && !t)
975
975
  throw new TypeError("`metadata` argument not passed");
976
- if (G(t) && G(t.countries)) {
976
+ if (D(t) && D(t.countries)) {
977
977
  r = t;
978
978
  var n = e;
979
979
  if (!Q1.test(n))
980
980
  throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
981
- var $ = t0(n, void 0, void 0, r), a = $.countryCallingCode, i = $.number;
981
+ var $ = e0(n, void 0, void 0, r), a = $.countryCallingCode, i = $.number;
982
982
  if (t = i, e = a, !t)
983
983
  throw new Error("Invalid `number` argument passed: too short");
984
984
  }
@@ -987,9 +987,9 @@ var J1 = /* @__PURE__ */ function() {
987
987
  throw new TypeError("`nationalNumber` argument is required");
988
988
  if (typeof t != "string")
989
989
  throw new TypeError("`nationalNumber` argument must be a string");
990
- Qd(r);
991
- var o = z1(e, r), u = o.country, s = o.countryCallingCode;
992
- this.country = u, this.countryCallingCode = s, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
990
+ zd(r);
991
+ var o = z1(e, r), u = o.country, l = o.countryCallingCode;
992
+ this.country = u, this.countryCallingCode = l, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
993
993
  return r;
994
994
  };
995
995
  }
@@ -1020,7 +1020,7 @@ var J1 = /* @__PURE__ */ function() {
1020
1020
  }, {
1021
1021
  key: "isNonGeographic",
1022
1022
  value: function() {
1023
- var t = new v(this.getMetadata());
1023
+ var t = new h(this.getMetadata());
1024
1024
  return t.isNonGeographicCallingCode(this.countryCallingCode);
1025
1025
  }
1026
1026
  }, {
@@ -1045,14 +1045,14 @@ var J1 = /* @__PURE__ */ function() {
1045
1045
  }, {
1046
1046
  key: "getType",
1047
1047
  value: function() {
1048
- return gd(this, {
1048
+ return vd(this, {
1049
1049
  v2: !0
1050
1050
  }, this.getMetadata());
1051
1051
  }
1052
1052
  }, {
1053
1053
  key: "format",
1054
1054
  value: function(t, r) {
1055
- return j1(this, t, r ? Md(Md({}, r), {}, {
1055
+ return j1(this, t, r ? Dd(Dd({}, r), {}, {
1056
1056
  v2: !0
1057
1057
  }) : {
1058
1058
  v2: !0
@@ -1078,20 +1078,20 @@ var J1 = /* @__PURE__ */ function() {
1078
1078
  return /^[A-Z]{2}$/.test(e);
1079
1079
  };
1080
1080
  function z1(d, e) {
1081
- var t, r, n = new v(e);
1081
+ var t, r, n = new h(e);
1082
1082
  return q1(d) ? (t = d, n.selectNumberingPlan(t), r = n.countryCallingCode()) : r = d, {
1083
1083
  country: t,
1084
1084
  countryCallingCode: r
1085
1085
  };
1086
1086
  }
1087
1087
  var Q1 = /^\+\d+$/;
1088
- function ld(d) {
1088
+ function ud(d) {
1089
1089
  "@babel/helpers - typeof";
1090
- return ld = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1090
+ return ud = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1091
1091
  return typeof e;
1092
1092
  } : function(e) {
1093
1093
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1094
- }, ld(d);
1094
+ }, ud(d);
1095
1095
  }
1096
1096
  function d2(d, e, t) {
1097
1097
  return Object.defineProperty(d, "prototype", { writable: !1 }), d;
@@ -1103,14 +1103,14 @@ function e2(d, e) {
1103
1103
  function t2(d, e) {
1104
1104
  if (typeof e != "function" && e !== null)
1105
1105
  throw new TypeError("Super expression must either be null or a function");
1106
- d.prototype = Object.create(e && e.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), e && V(d, e);
1106
+ d.prototype = Object.create(e && e.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), e && B(d, e);
1107
1107
  }
1108
1108
  function r2(d) {
1109
- var e = $0();
1109
+ var e = n0();
1110
1110
  return function() {
1111
- var r = U(d), n;
1111
+ var r = k(d), n;
1112
1112
  if (e) {
1113
- var $ = U(this).constructor;
1113
+ var $ = k(this).constructor;
1114
1114
  n = Reflect.construct(r, arguments, $);
1115
1115
  } else
1116
1116
  n = r.apply(this, arguments);
@@ -1118,20 +1118,20 @@ function r2(d) {
1118
1118
  };
1119
1119
  }
1120
1120
  function n2(d, e) {
1121
- if (e && (ld(e) === "object" || typeof e == "function"))
1121
+ if (e && (ud(e) === "object" || typeof e == "function"))
1122
1122
  return e;
1123
1123
  if (e !== void 0)
1124
1124
  throw new TypeError("Derived constructors may only return object or undefined");
1125
- return n0(d);
1125
+ return r0(d);
1126
1126
  }
1127
- function n0(d) {
1127
+ function r0(d) {
1128
1128
  if (d === void 0)
1129
1129
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1130
1130
  return d;
1131
1131
  }
1132
- function sd(d) {
1132
+ function ld(d) {
1133
1133
  var e = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
1134
- return sd = function(r) {
1134
+ return ld = function(r) {
1135
1135
  if (r === null || !$2(r)) return r;
1136
1136
  if (typeof r != "function")
1137
1137
  throw new TypeError("Super expression must either be null or a function");
@@ -1140,20 +1140,20 @@ function sd(d) {
1140
1140
  e.set(r, n);
1141
1141
  }
1142
1142
  function n() {
1143
- return Y(r, arguments, U(this).constructor);
1143
+ return W(r, arguments, k(this).constructor);
1144
1144
  }
1145
- return n.prototype = Object.create(r.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), V(n, r);
1146
- }, sd(d);
1145
+ return n.prototype = Object.create(r.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), B(n, r);
1146
+ }, ld(d);
1147
1147
  }
1148
- function Y(d, e, t) {
1149
- return $0() ? Y = Reflect.construct : Y = function(n, $, a) {
1148
+ function W(d, e, t) {
1149
+ return n0() ? W = Reflect.construct : W = function(n, $, a) {
1150
1150
  var i = [null];
1151
1151
  i.push.apply(i, $);
1152
1152
  var o = Function.bind.apply(n, i), u = new o();
1153
- return a && V(u, a.prototype), u;
1154
- }, Y.apply(null, arguments);
1153
+ return a && B(u, a.prototype), u;
1154
+ }, W.apply(null, arguments);
1155
1155
  }
1156
- function $0() {
1156
+ function n0() {
1157
1157
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
1158
1158
  if (typeof Proxy == "function") return !0;
1159
1159
  try {
@@ -1166,30 +1166,30 @@ function $0() {
1166
1166
  function $2(d) {
1167
1167
  return Function.toString.call(d).indexOf("[native code]") !== -1;
1168
1168
  }
1169
- function V(d, e) {
1170
- return V = Object.setPrototypeOf || function(r, n) {
1169
+ function B(d, e) {
1170
+ return B = Object.setPrototypeOf || function(r, n) {
1171
1171
  return r.__proto__ = n, r;
1172
- }, V(d, e);
1172
+ }, B(d, e);
1173
1173
  }
1174
- function U(d) {
1175
- return U = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1174
+ function k(d) {
1175
+ return k = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1176
1176
  return t.__proto__ || Object.getPrototypeOf(t);
1177
- }, U(d);
1177
+ }, k(d);
1178
1178
  }
1179
- var E = /* @__PURE__ */ function(d) {
1179
+ var _ = /* @__PURE__ */ function(d) {
1180
1180
  t2(t, d);
1181
1181
  var e = r2(t);
1182
1182
  function t(r) {
1183
1183
  var n;
1184
- return e2(this, t), n = e.call(this, r), Object.setPrototypeOf(n0(n), t.prototype), n.name = n.constructor.name, n;
1184
+ return e2(this, t), n = e.call(this, r), Object.setPrototypeOf(r0(n), t.prototype), n.name = n.constructor.name, n;
1185
1185
  }
1186
1186
  return d2(t);
1187
- }(/* @__PURE__ */ sd(Error)), Gd = new RegExp("(?:" + r0() + ")$", "i");
1187
+ }(/* @__PURE__ */ ld(Error)), Md = new RegExp("(?:" + t0() + ")$", "i");
1188
1188
  function a2(d) {
1189
- var e = d.search(Gd);
1189
+ var e = d.search(Md);
1190
1190
  if (e < 0)
1191
1191
  return {};
1192
- for (var t = d.slice(0, e), r = d.match(Gd), n = 1; n < r.length; ) {
1192
+ for (var t = d.slice(0, e), r = d.match(Md), n = 1; n < r.length; ) {
1193
1193
  if (r[n])
1194
1194
  return {
1195
1195
  number: t,
@@ -1288,19 +1288,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1288
1288
  }
1289
1289
  function l2(d, e) {
1290
1290
  if (d) {
1291
- if (typeof d == "string") return Bd(d, e);
1291
+ if (typeof d == "string") return Gd(d, e);
1292
1292
  var t = Object.prototype.toString.call(d).slice(8, -1);
1293
1293
  if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
1294
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Bd(d, e);
1294
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Gd(d, e);
1295
1295
  }
1296
1296
  }
1297
- function Bd(d, e) {
1297
+ function Gd(d, e) {
1298
1298
  (e == null || e > d.length) && (e = d.length);
1299
1299
  for (var t = 0, r = new Array(e); t < e; t++)
1300
1300
  r[t] = d[t];
1301
1301
  return r;
1302
1302
  }
1303
- function kd(d) {
1303
+ function Bd(d) {
1304
1304
  for (var e = "", t = u2(d.split("")), r; !(r = t()).done; ) {
1305
1305
  var n = r.value;
1306
1306
  e += s2(n, e) || "";
@@ -1325,13 +1325,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1325
1325
  }
1326
1326
  function c2(d, e) {
1327
1327
  if (d) {
1328
- if (typeof d == "string") return Vd(d, e);
1328
+ if (typeof d == "string") return kd(d, e);
1329
1329
  var t = Object.prototype.toString.call(d).slice(8, -1);
1330
1330
  if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
1331
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Vd(d, e);
1331
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return kd(d, e);
1332
1332
  }
1333
1333
  }
1334
- function Vd(d, e) {
1334
+ function kd(d, e) {
1335
1335
  (e == null || e > d.length) && (e = d.length);
1336
1336
  for (var t = 0, r = new Array(e); t < e; t++)
1337
1337
  r[t] = d[t];
@@ -1339,13 +1339,13 @@ function Vd(d, e) {
1339
1339
  }
1340
1340
  function h2(d, e) {
1341
1341
  var t = e.countries, r = e.metadata;
1342
- r = new v(r);
1342
+ r = new h(r);
1343
1343
  for (var n = f2(t), $; !($ = n()).done; ) {
1344
1344
  var a = $.value;
1345
1345
  if (r.country(a), r.leadingDigits()) {
1346
1346
  if (d && d.search(r.leadingDigits()) === 0)
1347
1347
  return a;
1348
- } else if (gd({
1348
+ } else if (vd({
1349
1349
  phone: d,
1350
1350
  country: a
1351
1351
  }, void 0, r.metadata))
@@ -1360,12 +1360,12 @@ function v2(d, e) {
1360
1360
  metadata: r.metadata
1361
1361
  });
1362
1362
  }
1363
- var a0 = "+", g2 = "[\\-\\.\\(\\)]?", Ud = "([" + N + "]|" + g2 + ")", y2 = "^\\" + a0 + Ud + "*[" + N + "]" + Ud + "*$", m2 = new RegExp(y2, "g"), fd = N, p2 = "[" + fd + "]+((\\-)*[" + fd + "])*", b2 = "a-zA-Z", P2 = "[" + b2 + "]+((\\-)*[" + fd + "])*", N2 = "^(" + p2 + "\\.)*" + P2 + "\\.?$", O2 = new RegExp(N2, "g"), jd = "tel:", cd = ";phone-context=", _2 = ";isub=";
1363
+ var $0 = "+", g2 = "[\\-\\.\\(\\)]?", Vd = "([" + P + "]|" + g2 + ")", y2 = "^\\" + $0 + Vd + "*[" + P + "]" + Vd + "*$", m2 = new RegExp(y2, "g"), sd = P, p2 = "[" + sd + "]+((\\-)*[" + sd + "])*", b2 = "a-zA-Z", P2 = "[" + b2 + "]+((\\-)*[" + sd + "])*", N2 = "^(" + p2 + "\\.)*" + P2 + "\\.?$", O2 = new RegExp(N2, "g"), Ud = "tel:", fd = ";phone-context=", _2 = ";isub=";
1364
1364
  function C2(d) {
1365
- var e = d.indexOf(cd);
1365
+ var e = d.indexOf(fd);
1366
1366
  if (e < 0)
1367
1367
  return null;
1368
- var t = e + cd.length;
1368
+ var t = e + fd.length;
1369
1369
  if (t >= d.length)
1370
1370
  return "";
1371
1371
  var r = d.indexOf(";", t);
@@ -1377,67 +1377,67 @@ function E2(d) {
1377
1377
  function I2(d, e) {
1378
1378
  var t = e.extractFormattedPhoneNumber, r = C2(d);
1379
1379
  if (!E2(r))
1380
- throw new E("NOT_A_NUMBER");
1380
+ throw new _("NOT_A_NUMBER");
1381
1381
  var n;
1382
1382
  if (r === null)
1383
1383
  n = t(d) || "";
1384
1384
  else {
1385
- n = "", r.charAt(0) === a0 && (n += r);
1386
- var $ = d.indexOf(jd), a;
1387
- $ >= 0 ? a = $ + jd.length : a = 0;
1388
- var i = d.indexOf(cd);
1385
+ n = "", r.charAt(0) === $0 && (n += r);
1386
+ var $ = d.indexOf(Ud), a;
1387
+ $ >= 0 ? a = $ + Ud.length : a = 0;
1388
+ var i = d.indexOf(fd);
1389
1389
  n += d.substring(a, i);
1390
1390
  }
1391
1391
  var o = n.indexOf(_2);
1392
1392
  if (o > 0 && (n = n.substring(0, o)), n !== "")
1393
1393
  return n;
1394
1394
  }
1395
- var x2 = 250, F2 = new RegExp("[" + md + N + "]"), w2 = new RegExp("[^" + N + "#]+$");
1395
+ var x2 = 250, F2 = new RegExp("[" + yd + P + "]"), w2 = new RegExp("[^" + P + "#]+$");
1396
1396
  function S2(d, e, t) {
1397
- if (e = e || {}, t = new v(t), e.defaultCountry && !t.hasCountry(e.defaultCountry))
1398
- throw e.v2 ? new E("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
1397
+ if (e = e || {}, t = new h(t), e.defaultCountry && !t.hasCountry(e.defaultCountry))
1398
+ throw e.v2 ? new _("INVALID_COUNTRY") : new Error("Unknown country: ".concat(e.defaultCountry));
1399
1399
  var r = A2(d, e.v2, e.extract), n = r.number, $ = r.ext, a = r.error;
1400
1400
  if (!n) {
1401
1401
  if (e.v2)
1402
- throw a === "TOO_SHORT" ? new E("TOO_SHORT") : new E("NOT_A_NUMBER");
1402
+ throw a === "TOO_SHORT" ? new _("TOO_SHORT") : new _("NOT_A_NUMBER");
1403
1403
  return {};
1404
1404
  }
1405
- var i = L2(n, e.defaultCountry, e.defaultCallingCode, t), o = i.country, u = i.nationalNumber, s = i.countryCallingCode, p = i.countryCallingCodeSource, h = i.carrierCode;
1405
+ var i = L2(n, e.defaultCountry, e.defaultCallingCode, t), o = i.country, u = i.nationalNumber, l = i.countryCallingCode, m = i.countryCallingCodeSource, c = i.carrierCode;
1406
1406
  if (!t.hasSelectedNumberingPlan()) {
1407
1407
  if (e.v2)
1408
- throw new E("INVALID_COUNTRY");
1408
+ throw new _("INVALID_COUNTRY");
1409
1409
  return {};
1410
1410
  }
1411
- if (!u || u.length < yd) {
1411
+ if (!u || u.length < gd) {
1412
1412
  if (e.v2)
1413
- throw new E("TOO_SHORT");
1413
+ throw new _("TOO_SHORT");
1414
1414
  return {};
1415
1415
  }
1416
1416
  if (u.length > f1) {
1417
1417
  if (e.v2)
1418
- throw new E("TOO_LONG");
1418
+ throw new _("TOO_LONG");
1419
1419
  return {};
1420
1420
  }
1421
1421
  if (e.v2) {
1422
- var g = new J1(s, u, t.metadata);
1423
- return o && (g.country = o), h && (g.carrierCode = h), $ && (g.ext = $), g.__countryCallingCodeSource = p, g;
1422
+ var v = new J1(l, u, t.metadata);
1423
+ return o && (v.country = o), c && (v.carrierCode = c), $ && (v.ext = $), v.__countryCallingCodeSource = m, v;
1424
1424
  }
1425
- var b = (e.extended ? t.hasSelectedNumberingPlan() : o) ? I(u, t.nationalNumberPattern()) : !1;
1425
+ var p = (e.extended ? t.hasSelectedNumberingPlan() : o) ? C(u, t.nationalNumberPattern()) : !1;
1426
1426
  return e.extended ? {
1427
1427
  country: o,
1428
- countryCallingCode: s,
1429
- carrierCode: h,
1430
- valid: b,
1431
- possible: b ? !0 : !!(e.extended === !0 && t.possibleLengths() && e0(u, t)),
1428
+ countryCallingCode: l,
1429
+ carrierCode: c,
1430
+ valid: p,
1431
+ possible: p ? !0 : !!(e.extended === !0 && t.possibleLengths() && d0(u, t)),
1432
1432
  phone: u,
1433
1433
  ext: $
1434
- } : b ? R2(o, u, $) : {};
1434
+ } : p ? R2(o, u, $) : {};
1435
1435
  }
1436
1436
  function T2(d, e, t) {
1437
1437
  if (d) {
1438
1438
  if (d.length > x2) {
1439
1439
  if (t)
1440
- throw new E("TOO_LONG");
1440
+ throw new _("TOO_LONG");
1441
1441
  return;
1442
1442
  }
1443
1443
  if (e === !1)
@@ -1472,30 +1472,30 @@ function R2(d, e, t) {
1472
1472
  return t && (r.ext = t), r;
1473
1473
  }
1474
1474
  function L2(d, e, t, r) {
1475
- var n = t0(kd(d), e, t, r.metadata), $ = n.countryCallingCodeSource, a = n.countryCallingCode, i = n.number, o;
1475
+ var n = e0(Bd(d), e, t, r.metadata), $ = n.countryCallingCodeSource, a = n.countryCallingCode, i = n.number, o;
1476
1476
  if (a)
1477
1477
  r.selectNumberingPlan(a);
1478
1478
  else if (i && (e || t))
1479
- r.selectNumberingPlan(e, t), e && (o = e), a = t || hd(e, r.metadata);
1479
+ r.selectNumberingPlan(e, t), e && (o = e), a = t || cd(e, r.metadata);
1480
1480
  else return {};
1481
1481
  if (!i)
1482
1482
  return {
1483
1483
  countryCallingCodeSource: $,
1484
1484
  countryCallingCode: a
1485
1485
  };
1486
- var u = ud(kd(i), r), s = u.nationalNumber, p = u.carrierCode, h = v2(a, {
1487
- nationalNumber: s,
1486
+ var u = od(Bd(i), r), l = u.nationalNumber, m = u.carrierCode, c = v2(a, {
1487
+ nationalNumber: l,
1488
1488
  metadata: r
1489
1489
  });
1490
- return h && (o = h, h === "001" || r.country(o)), {
1490
+ return c && (o = c, c === "001" || r.country(o)), {
1491
1491
  country: o,
1492
1492
  countryCallingCode: a,
1493
1493
  countryCallingCodeSource: $,
1494
- nationalNumber: s,
1495
- carrierCode: p
1494
+ nationalNumber: l,
1495
+ carrierCode: m
1496
1496
  };
1497
1497
  }
1498
- function Hd(d, e) {
1498
+ function jd(d, e) {
1499
1499
  var t = Object.keys(d);
1500
1500
  if (Object.getOwnPropertySymbols) {
1501
1501
  var r = Object.getOwnPropertySymbols(d);
@@ -1505,12 +1505,12 @@ function Hd(d, e) {
1505
1505
  }
1506
1506
  return t;
1507
1507
  }
1508
- function Kd(d) {
1508
+ function Hd(d) {
1509
1509
  for (var e = 1; e < arguments.length; e++) {
1510
1510
  var t = arguments[e] != null ? arguments[e] : {};
1511
- e % 2 ? Hd(Object(t), !0).forEach(function(r) {
1511
+ e % 2 ? jd(Object(t), !0).forEach(function(r) {
1512
1512
  D2(d, r, t[r]);
1513
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Hd(Object(t)).forEach(function(r) {
1513
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : jd(Object(t)).forEach(function(r) {
1514
1514
  Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
1515
1515
  });
1516
1516
  }
@@ -1520,11 +1520,11 @@ function D2(d, e, t) {
1520
1520
  return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
1521
1521
  }
1522
1522
  function M2(d, e, t) {
1523
- return S2(d, Kd(Kd({}, e), {}, {
1523
+ return S2(d, Hd(Hd({}, e), {}, {
1524
1524
  v2: !0
1525
1525
  }), t);
1526
1526
  }
1527
- function Wd(d, e) {
1527
+ function Kd(d, e) {
1528
1528
  var t = Object.keys(d);
1529
1529
  if (Object.getOwnPropertySymbols) {
1530
1530
  var r = Object.getOwnPropertySymbols(d);
@@ -1537,9 +1537,9 @@ function Wd(d, e) {
1537
1537
  function G2(d) {
1538
1538
  for (var e = 1; e < arguments.length; e++) {
1539
1539
  var t = arguments[e] != null ? arguments[e] : {};
1540
- e % 2 ? Wd(Object(t), !0).forEach(function(r) {
1540
+ e % 2 ? Kd(Object(t), !0).forEach(function(r) {
1541
1541
  B2(d, r, t[r]);
1542
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Wd(Object(t)).forEach(function(r) {
1542
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Kd(Object(t)).forEach(function(r) {
1543
1543
  Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
1544
1544
  });
1545
1545
  }
@@ -1557,13 +1557,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1557
1557
  }
1558
1558
  function U2(d, e) {
1559
1559
  if (d) {
1560
- if (typeof d == "string") return Xd(d, e);
1560
+ if (typeof d == "string") return Wd(d, e);
1561
1561
  var t = Object.prototype.toString.call(d).slice(8, -1);
1562
1562
  if (t === "Object" && d.constructor && (t = d.constructor.name), t === "Map" || t === "Set") return Array.from(d);
1563
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Xd(d, e);
1563
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Wd(d, e);
1564
1564
  }
1565
1565
  }
1566
- function Xd(d, e) {
1566
+ function Wd(d, e) {
1567
1567
  (e == null || e > d.length) && (e = d.length);
1568
1568
  for (var t = 0, r = new Array(e); t < e; t++)
1569
1569
  r[t] = d[t];
@@ -1600,7 +1600,7 @@ function K2(d) {
1600
1600
  a ? (o = $, u = a) : (o = void 0, u = $), n && (o = G2({
1601
1601
  defaultCountry: n
1602
1602
  }, o));
1603
- else if (G(n))
1603
+ else if (D(n))
1604
1604
  $ ? (o = n, u = $) : u = n;
1605
1605
  else throw new Error("Invalid second argument: ".concat(n));
1606
1606
  return {
@@ -1609,7 +1609,7 @@ function K2(d) {
1609
1609
  metadata: u
1610
1610
  };
1611
1611
  }
1612
- function Yd(d, e) {
1612
+ function Xd(d, e) {
1613
1613
  var t = Object.keys(d);
1614
1614
  if (Object.getOwnPropertySymbols) {
1615
1615
  var r = Object.getOwnPropertySymbols(d);
@@ -1619,12 +1619,12 @@ function Yd(d, e) {
1619
1619
  }
1620
1620
  return t;
1621
1621
  }
1622
- function Zd(d) {
1622
+ function Yd(d) {
1623
1623
  for (var e = 1; e < arguments.length; e++) {
1624
1624
  var t = arguments[e] != null ? arguments[e] : {};
1625
- e % 2 ? Yd(Object(t), !0).forEach(function(r) {
1625
+ e % 2 ? Xd(Object(t), !0).forEach(function(r) {
1626
1626
  W2(d, r, t[r]);
1627
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Yd(Object(t)).forEach(function(r) {
1627
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Xd(Object(t)).forEach(function(r) {
1628
1628
  Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
1629
1629
  });
1630
1630
  }
@@ -1634,16 +1634,16 @@ function W2(d, e, t) {
1634
1634
  return e in d ? Object.defineProperty(d, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : d[e] = t, d;
1635
1635
  }
1636
1636
  function X2(d, e, t) {
1637
- e && e.defaultCountry && !r1(e.defaultCountry, t) && (e = Zd(Zd({}, e), {}, {
1637
+ e && e.defaultCountry && !r1(e.defaultCountry, t) && (e = Yd(Yd({}, e), {}, {
1638
1638
  defaultCountry: void 0
1639
1639
  }));
1640
1640
  try {
1641
1641
  return M2(d, e, t);
1642
1642
  } catch (r) {
1643
- if (!(r instanceof E)) throw r;
1643
+ if (!(r instanceof _)) throw r;
1644
1644
  }
1645
1645
  }
1646
- function Jd(d, e) {
1646
+ function Zd(d, e) {
1647
1647
  var t = Object.keys(d);
1648
1648
  if (Object.getOwnPropertySymbols) {
1649
1649
  var r = Object.getOwnPropertySymbols(d);
@@ -1653,12 +1653,12 @@ function Jd(d, e) {
1653
1653
  }
1654
1654
  return t;
1655
1655
  }
1656
- function qd(d) {
1656
+ function Jd(d) {
1657
1657
  for (var e = 1; e < arguments.length; e++) {
1658
1658
  var t = arguments[e] != null ? arguments[e] : {};
1659
- e % 2 ? Jd(Object(t), !0).forEach(function(r) {
1659
+ e % 2 ? Zd(Object(t), !0).forEach(function(r) {
1660
1660
  Y2(d, r, t[r]);
1661
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Jd(Object(t)).forEach(function(r) {
1661
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(t)) : Zd(Object(t)).forEach(function(r) {
1662
1662
  Object.defineProperty(d, r, Object.getOwnPropertyDescriptor(t, r));
1663
1663
  });
1664
1664
  }
@@ -1669,7 +1669,7 @@ function Y2(d, e, t) {
1669
1669
  }
1670
1670
  function Z2() {
1671
1671
  var d = K2(arguments), e = d.text, t = d.options, r = d.metadata;
1672
- t = qd(qd({}, t), {}, {
1672
+ t = Jd(Jd({}, t), {}, {
1673
1673
  extract: !1
1674
1674
  });
1675
1675
  var n = X2(e, t, r);
@@ -1678,7 +1678,7 @@ function Z2() {
1678
1678
  function J2() {
1679
1679
  return X0(Z2, arguments);
1680
1680
  }
1681
- const q2 = { class: "w-100 d-flex flex-nowrap mx-auto" }, z2 = { class: "pb-0" }, Q2 = ["alt", "src"], de = ["alt", "src"], ee = { class: "mx-2" }, te = { class: "w-100 pl-1 pb-0" }, i0 = /* @__PURE__ */ c0({
1681
+ const q2 = { class: "w-100 d-flex flex-nowrap mx-auto" }, z2 = { class: "pb-0" }, Q2 = ["alt", "src"], de = ["alt", "src"], ee = { class: "mx-2" }, te = { class: "w-100 pl-1 pb-0" }, a0 = /* @__PURE__ */ c0({
1682
1682
  __name: "BPhoneInput",
1683
1683
  props: {
1684
1684
  phoneNumber: { default: "" },
@@ -1687,94 +1687,90 @@ const q2 = { class: "w-100 d-flex flex-nowrap mx-auto" }, z2 = { class: "pb-0" }
1687
1687
  },
1688
1688
  emits: ["input"],
1689
1689
  setup(d, { expose: e, emit: t }) {
1690
- const r = d, n = t, { t: $ } = h0(), a = O(r.phoneNumber), i = O(r.phoneCountry), o = O(r.readonly), u = O([]), s = O(null), p = R(
1691
- () => Object.values(Od).sort(
1692
- (f, x) => f.name.localeCompare(x.name)
1690
+ const r = d, n = t, { t: $ } = h0(), a = N(r.phoneNumber), i = N(r.phoneCountry), o = N(r.readonly), u = N([]), l = N(null), m = T(
1691
+ () => Object.values(Nd).sort(
1692
+ (g, E) => g.name.localeCompare(E.name)
1693
1693
  )
1694
- ), h = R(
1695
- () => i.value ? `+${Od[i.value].dialCode}` : ""
1696
- ), g = R(() => ({
1694
+ ), c = T(
1695
+ () => i.value ? `+${Nd[i.value].dialCode}` : ""
1696
+ ), v = T(() => ({
1697
1697
  appendOuterIcon: o.value ? "fas fa-edit" : void 0,
1698
1698
  class: { "v-input--is-disabled": o.value },
1699
1699
  clearable: !o.value,
1700
1700
  readonly: o.value
1701
- })), b = () => {
1701
+ })), p = () => {
1702
1702
  u.value = [
1703
- (f) => K0.required(f) || $("BPhoneInput.rules.required"),
1704
- (f) => J2(
1705
- h.value + f,
1703
+ (g) => K0.required(g) || $("BPhoneInput.rules.required"),
1704
+ (g) => J2(
1705
+ c.value + g,
1706
1706
  i.value
1707
1707
  ) || $("BPhoneInput.rules.format")
1708
1708
  ];
1709
- }, _ = () => {
1710
- const f = {
1709
+ }, O = () => {
1710
+ const g = {
1711
1711
  phoneCountry: i.value,
1712
1712
  phoneNumber: a.value,
1713
- phonePrefix: h.value
1713
+ phonePrefix: c.value
1714
1714
  };
1715
- n("input", f);
1716
- }, B = () => {
1715
+ n("input", g);
1716
+ }, M = () => {
1717
1717
  o.value && (o.value = !1);
1718
- }, T = () => {
1719
- var f;
1720
- return ((f = s.value) == null ? void 0 : f.validate()) ?? !1;
1721
- }, k = () => {
1722
- var f;
1723
- (f = s.value) == null || f.reset();
1718
+ }, w = () => l.value?.validate() ?? !1, G = () => {
1719
+ l.value?.reset();
1724
1720
  };
1725
- return A(
1721
+ return S(
1726
1722
  () => i.value,
1727
1723
  () => {
1728
1724
  if (i.value) {
1729
- const f = s.value;
1730
- f && (f.hasFocused = !0, f.validate(), b());
1725
+ const g = l.value;
1726
+ g && (g.hasFocused = !0, g.validate(), p());
1731
1727
  }
1732
- _();
1728
+ O();
1733
1729
  }
1734
- ), A(
1730
+ ), S(
1735
1731
  () => a.value,
1736
1732
  () => {
1737
- b(), _();
1733
+ p(), O();
1738
1734
  },
1739
1735
  { immediate: !0 }
1740
1736
  ), e({
1741
- reset: k,
1742
- validate: T
1743
- }), (f, x) => (b0(), v0("div", q2, [
1744
- D("div", z2, [
1737
+ reset: G,
1738
+ validate: w
1739
+ }), (g, E) => (b0(), v0("div", q2, [
1740
+ R("div", z2, [
1745
1741
  y(R0, {
1746
1742
  ref: "phoneCountryMenu",
1747
1743
  modelValue: i.value,
1748
- "onUpdate:modelValue": x[0] || (x[0] = (c) => i.value = c),
1744
+ "onUpdate:modelValue": E[0] || (E[0] = (f) => i.value = f),
1749
1745
  class: g0(["phone-prefix-input", { "v-input--is-disabled": r.readonly }]),
1750
1746
  density: "compact",
1751
1747
  "hide-details": "",
1752
- "item-title": (c) => `${c.iso2} ${c.name} +${c.dialCode}`,
1748
+ "item-title": (f) => `${f.iso2} ${f.name} +${f.dialCode}`,
1753
1749
  "item-value": "iso2",
1754
- items: p.value,
1755
- "no-data-text": td($)("BPhoneInput.noDataText"),
1750
+ items: m.value,
1751
+ "no-data-text": ed($)("BPhoneInput.noDataText"),
1756
1752
  variant: "outlined",
1757
1753
  readonly: o.value,
1758
1754
  color: "primary"
1759
1755
  }, {
1760
- selection: W(({ item: c }) => [
1761
- D("img", {
1762
- alt: c.raw.iso2,
1756
+ selection: H(({ item: f }) => [
1757
+ R("img", {
1758
+ alt: f.raw.iso2,
1763
1759
  class: "mr-2",
1764
- src: c.raw.icon,
1760
+ src: f.raw.icon,
1765
1761
  width: "20"
1766
1762
  }, null, 8, Q2)
1767
1763
  ]),
1768
- item: W(({ item: c, props: F }) => [
1769
- y(G0, y0(m0(F)), {
1770
- title: W(() => [
1771
- D("img", {
1772
- alt: c.raw.iso2,
1773
- src: c.raw.icon,
1764
+ item: H(({ item: f, props: I }) => [
1765
+ y(G0, y0(m0(I)), {
1766
+ title: H(() => [
1767
+ R("img", {
1768
+ alt: f.raw.iso2,
1769
+ src: f.raw.icon,
1774
1770
  width: "20"
1775
1771
  }, null, 8, de),
1776
- D("span", ee, rd(c.raw.name), 1),
1777
- D("b", null, "+" + rd(c.raw.dialCode), 1)
1772
+ R("span", ee, td(f.raw.name), 1),
1773
+ R("b", null, "+" + td(f.raw.dialCode), 1)
1778
1774
  ]),
1779
1775
  _: 2
1780
1776
  }, 1040)
@@ -1782,26 +1778,26 @@ const q2 = { class: "w-100 d-flex flex-nowrap mx-auto" }, z2 = { class: "pb-0" }
1782
1778
  _: 1
1783
1779
  }, 8, ["modelValue", "class", "item-title", "items", "no-data-text", "readonly"])
1784
1780
  ]),
1785
- D("div", te, [
1786
- y(L0, X({
1781
+ R("div", te, [
1782
+ y(L0, K({
1787
1783
  ref_key: "phoneNumber",
1788
- ref: s,
1784
+ ref: l,
1789
1785
  modelValue: a.value,
1790
- "onUpdate:modelValue": x[1] || (x[1] = (c) => a.value = c),
1786
+ "onUpdate:modelValue": E[1] || (E[1] = (f) => a.value = f),
1791
1787
  autocomplete: "on",
1792
1788
  autocompletetype: "phone"
1793
- }, g.value, {
1789
+ }, v.value, {
1794
1790
  density: "compact",
1795
- label: td($)("BPhoneInput.label"),
1791
+ label: ed($)("BPhoneInput.label"),
1796
1792
  name: "phone",
1797
1793
  variant: "outlined",
1798
- prefix: h.value,
1794
+ prefix: c.value,
1799
1795
  rules: u.value,
1800
- "onClick:append": B,
1796
+ "onClick:append": M,
1801
1797
  color: "primary"
1802
1798
  }), {
1803
- message: W(({ message: c }) => [
1804
- p0(rd(td($)(c)), 1)
1799
+ message: H(({ message: f }) => [
1800
+ p0(td(ed($)(f)), 1)
1805
1801
  ]),
1806
1802
  _: 1
1807
1803
  }, 16, ["modelValue", "label", "prefix", "rules"])
@@ -1809,7 +1805,7 @@ const q2 = { class: "w-100 d-flex flex-nowrap mx-auto" }, z2 = { class: "pb-0" }
1809
1805
  ]));
1810
1806
  }
1811
1807
  });
1812
- function zd(d) {
1808
+ function qd(d) {
1813
1809
  const e = d;
1814
1810
  e.__i18n = e.__i18n || [], e.__i18n.push({
1815
1811
  locale: "",
@@ -1887,8 +1883,8 @@ function zd(d) {
1887
1883
  }
1888
1884
  });
1889
1885
  }
1890
- typeof zd == "function" && zd(i0);
1891
- const fe = /* @__PURE__ */ B0(i0, [["__scopeId", "data-v-cbe41185"]]), re = N0({
1886
+ typeof qd == "function" && qd(a0);
1887
+ const fe = /* @__PURE__ */ B0(a0, [["__scopeId", "data-v-668bddf2"]]), re = N0({
1892
1888
  autoGrow: Boolean,
1893
1889
  autofocus: Boolean,
1894
1890
  counter: [Boolean, Number, String],
@@ -1934,67 +1930,64 @@ const fe = /* @__PURE__ */ B0(i0, [["__scopeId", "data-v-cbe41185"]]), re = N0({
1934
1930
  isFocused: a,
1935
1931
  focus: i,
1936
1932
  blur: o
1937
- } = V0(d), u = R(() => typeof d.counterValue == "function" ? d.counterValue($.value) : ($.value || "").toString().length), s = R(() => {
1933
+ } = V0(d), u = T(() => typeof d.counterValue == "function" ? d.counterValue($.value) : ($.value || "").toString().length), l = T(() => {
1938
1934
  if (t.maxlength) return t.maxlength;
1939
1935
  if (!(!d.counter || typeof d.counter != "number" && typeof d.counter != "string"))
1940
1936
  return d.counter;
1941
1937
  });
1942
- function p(l, P) {
1943
- var m, C;
1944
- !d.autofocus || !l || (C = (m = P[0].target) == null ? void 0 : m.focus) == null || C.call(m);
1938
+ function m(s, b) {
1939
+ !d.autofocus || !s || b[0].target?.focus?.();
1945
1940
  }
1946
- const h = O(), g = O(), b = _0(""), _ = O(), B = R(() => d.persistentPlaceholder || a.value || d.active);
1947
- function T() {
1948
- var l;
1949
- _.value !== document.activeElement && ((l = _.value) == null || l.focus()), a.value || i();
1941
+ const c = N(), v = N(), p = _0(""), O = N(), M = T(() => d.persistentPlaceholder || a.value || d.active);
1942
+ function w() {
1943
+ O.value !== document.activeElement && O.value?.focus(), a.value || i();
1950
1944
  }
1951
- function k(l) {
1952
- T(), r("click:control", l);
1945
+ function G(s) {
1946
+ w(), r("click:control", s);
1953
1947
  }
1954
- function f(l) {
1955
- r("mousedown:control", l);
1948
+ function g(s) {
1949
+ r("mousedown:control", s);
1956
1950
  }
1957
- function x(l) {
1958
- l.stopPropagation(), T(), nd(() => {
1959
- $.value = "", A0(d["onClick:clear"], l);
1951
+ function E(s) {
1952
+ s.stopPropagation(), w(), rd(() => {
1953
+ $.value = "", A0(d["onClick:clear"], s);
1960
1954
  });
1961
1955
  }
1962
- function c(l) {
1963
- var m;
1964
- const P = l.target;
1965
- if ($.value = P.value, (m = d.modelModifiers) != null && m.trim) {
1966
- const C = [P.selectionStart, P.selectionEnd];
1967
- nd(() => {
1968
- P.selectionStart = C[0], P.selectionEnd = C[1];
1956
+ function f(s) {
1957
+ const b = s.target;
1958
+ if ($.value = b.value, d.modelModifiers?.trim) {
1959
+ const x = [b.selectionStart, b.selectionEnd];
1960
+ rd(() => {
1961
+ b.selectionStart = x[0], b.selectionEnd = x[1];
1969
1962
  });
1970
1963
  }
1971
1964
  }
1972
- const F = O(), j = O(Number(d.rows)), Q = R(() => ["plain", "underlined"].includes(d.variant));
1965
+ const I = N(), V = N(Number(d.rows)), q = T(() => ["plain", "underlined"].includes(d.variant));
1973
1966
  C0(() => {
1974
- d.autoGrow || (j.value = Number(d.rows));
1967
+ d.autoGrow || (V.value = Number(d.rows));
1975
1968
  });
1976
- function L() {
1977
- d.autoGrow && nd(() => {
1978
- if (!F.value || !g.value) return;
1979
- const l = getComputedStyle(F.value), P = getComputedStyle(g.value.$el), m = parseFloat(l.getPropertyValue("--v-field-padding-top")) + parseFloat(l.getPropertyValue("--v-input-padding-top")) + parseFloat(l.getPropertyValue("--v-field-padding-bottom")), C = F.value.scrollHeight, H = parseFloat(l.lineHeight), dd = Math.max(parseFloat(d.rows) * H + m, parseFloat(P.getPropertyValue("--v-input-control-height"))), ed = parseFloat(d.maxRows) * H + m || 1 / 0, S = w0(C ?? 0, dd, ed);
1980
- j.value = Math.floor((S - m) / H), b.value = F0(S);
1969
+ function A() {
1970
+ d.autoGrow && rd(() => {
1971
+ if (!I.value || !v.value) return;
1972
+ const s = getComputedStyle(I.value), b = getComputedStyle(v.value.$el), x = parseFloat(s.getPropertyValue("--v-field-padding-top")) + parseFloat(s.getPropertyValue("--v-input-padding-top")) + parseFloat(s.getPropertyValue("--v-field-padding-bottom")), z = I.value.scrollHeight, j = parseFloat(s.lineHeight), Q = Math.max(parseFloat(d.rows) * j + x, parseFloat(b.getPropertyValue("--v-input-control-height"))), dd = parseFloat(d.maxRows) * j + x || 1 / 0, F = w0(z ?? 0, Q, dd);
1973
+ V.value = Math.floor((F - x) / j), p.value = F0(F);
1981
1974
  });
1982
1975
  }
1983
- E0(L), A($, L), A(() => d.rows, L), A(() => d.maxRows, L), A(() => d.density, L);
1984
- let w;
1985
- return A(F, (l) => {
1986
- l ? (w = new ResizeObserver(L), w.observe(F.value)) : w == null || w.disconnect();
1976
+ E0(A), S($, A), S(() => d.rows, A), S(() => d.maxRows, A), S(() => d.density, A);
1977
+ let U;
1978
+ return S(I, (s) => {
1979
+ s ? (U = new ResizeObserver(A), U.observe(I.value)) : U?.disconnect();
1987
1980
  }), I0(() => {
1988
- w == null || w.disconnect();
1981
+ U?.disconnect();
1989
1982
  }), k0(() => {
1990
- const l = !!(n.counter || d.counter || d.counterValue), P = !!(l || n.details), [m, C] = x0(t), {
1991
- modelValue: H,
1992
- ...dd
1993
- } = Ed.filterProps(d), ed = Cd.filterProps(d);
1994
- return y(Ed, X({
1995
- ref: h,
1983
+ const s = !!(n.counter || d.counter || d.counterValue), b = !!(s || n.details), [x, z] = x0(t), {
1984
+ modelValue: j,
1985
+ ...Q
1986
+ } = Cd.filterProps(d), dd = _d.filterProps(d);
1987
+ return y(Cd, K({
1988
+ ref: c,
1996
1989
  modelValue: $.value,
1997
- "onUpdate:modelValue": (S) => $.value = S,
1990
+ "onUpdate:modelValue": (F) => $.value = F,
1998
1991
  class: ["v-textarea v-text-field", {
1999
1992
  "v-textarea--prefixed": d.prefix,
2000
1993
  "v-textarea--suffixed": d.suffix,
@@ -2002,38 +1995,38 @@ const fe = /* @__PURE__ */ B0(i0, [["__scopeId", "data-v-cbe41185"]]), re = N0({
2002
1995
  "v-text-field--suffixed": d.suffix,
2003
1996
  "v-textarea--auto-grow": d.autoGrow,
2004
1997
  "v-textarea--no-resize": d.noResize || d.autoGrow,
2005
- "v-input--plain-underlined": Q.value
1998
+ "v-input--plain-underlined": q.value
2006
1999
  }, d.class],
2007
2000
  style: d.style
2008
- }, m, dd, {
2009
- centerAffix: j.value === 1 && !Q.value,
2001
+ }, x, Q, {
2002
+ centerAffix: V.value === 1 && !q.value,
2010
2003
  focused: a.value
2011
2004
  }), {
2012
2005
  ...n,
2013
- default: (S) => {
2006
+ default: (F) => {
2014
2007
  let {
2015
- id: K,
2016
- isDisabled: pd,
2017
- isDirty: bd,
2008
+ id: i0,
2009
+ isDisabled: md,
2010
+ isDirty: pd,
2018
2011
  isReadonly: o0,
2019
2012
  isValid: u0
2020
- } = S;
2021
- return y(Cd, X({
2022
- ref: g,
2013
+ } = F;
2014
+ return y(_d, K({
2015
+ ref: v,
2023
2016
  style: {
2024
- "--v-textarea-control-height": b.value
2017
+ "--v-textarea-control-height": p.value
2025
2018
  },
2026
- onClick: k,
2027
- onMousedown: f,
2028
- "onClick:clear": x,
2019
+ onClick: G,
2020
+ onMousedown: g,
2021
+ "onClick:clear": E,
2029
2022
  "onClick:prependInner": d["onClick:prependInner"],
2030
2023
  "onClick:appendInner": d["onClick:appendInner"]
2031
- }, ed, {
2032
- id: K.value,
2033
- active: B.value || bd.value,
2034
- centerAffix: j.value === 1 && !Q.value,
2035
- dirty: bd.value || d.dirty,
2036
- disabled: pd.value,
2024
+ }, dd, {
2025
+ id: i0.value,
2026
+ active: M.value || pd.value,
2027
+ centerAffix: V.value === 1 && !q.value,
2028
+ dirty: pd.value || d.dirty,
2029
+ disabled: md.value,
2037
2030
  focused: a.value,
2038
2031
  error: u0.value === !1
2039
2032
  }), {
@@ -2041,34 +2034,34 @@ const fe = /* @__PURE__ */ B0(i0, [["__scopeId", "data-v-cbe41185"]]), re = N0({
2041
2034
  default: (l0) => {
2042
2035
  let {
2043
2036
  props: {
2044
- class: Pd,
2045
- ...Nd
2037
+ class: bd,
2038
+ ...Pd
2046
2039
  }
2047
2040
  } = l0;
2048
- return y($d, null, [d.prefix && y("span", {
2041
+ return y(nd, null, [d.prefix && y("span", {
2049
2042
  class: "v-text-field__prefix"
2050
- }, [d.prefix]), _d(y("textarea", X({
2051
- ref: _,
2052
- class: Pd,
2043
+ }, [d.prefix]), Od(y("textarea", K({
2044
+ ref: O,
2045
+ class: bd,
2053
2046
  value: $.value,
2054
- onInput: c,
2047
+ onInput: f,
2055
2048
  autofocus: d.autofocus,
2056
2049
  readonly: o0.value,
2057
- disabled: pd.value,
2050
+ disabled: md.value,
2058
2051
  placeholder: d.placeholder,
2059
2052
  rows: d.rows,
2060
2053
  name: d.name,
2061
- onFocus: T,
2054
+ onFocus: w,
2062
2055
  onBlur: o
2063
- }, Nd, C), null), [[S0("intersect"), {
2064
- handler: p
2056
+ }, Pd, z), null), [[S0("intersect"), {
2057
+ handler: m
2065
2058
  }, null, {
2066
2059
  once: !0
2067
- }]]), d.autoGrow && _d(y("textarea", {
2068
- class: [Pd, "v-textarea__sizer"],
2069
- id: `${Nd.id}-sizer`,
2060
+ }]]), d.autoGrow && Od(y("textarea", {
2061
+ class: [bd, "v-textarea__sizer"],
2062
+ id: `${Pd.id}-sizer`,
2070
2063
  "onUpdate:modelValue": (s0) => $.value = s0,
2071
- ref: F,
2064
+ ref: I,
2072
2065
  readonly: !0,
2073
2066
  "aria-hidden": "true"
2074
2067
  }, null), [[T0, $.value]]), d.suffix && y("span", {
@@ -2077,20 +2070,17 @@ const fe = /* @__PURE__ */ B0(i0, [["__scopeId", "data-v-cbe41185"]]), re = N0({
2077
2070
  }
2078
2071
  });
2079
2072
  },
2080
- details: P ? (S) => {
2081
- var K;
2082
- return y($d, null, [(K = n.details) == null ? void 0 : K.call(n, S), l && y($d, null, [y("span", null, null), y(M0, {
2083
- active: d.persistentCounter || a.value,
2084
- value: u.value,
2085
- max: s.value,
2086
- disabled: d.disabled
2087
- }, n.counter)])]);
2088
- } : void 0
2073
+ details: b ? (F) => y(nd, null, [n.details?.(F), s && y(nd, null, [y("span", null, null), y(M0, {
2074
+ active: d.persistentCounter || a.value,
2075
+ value: u.value,
2076
+ max: l.value,
2077
+ disabled: d.disabled
2078
+ }, n.counter)])]) : void 0
2089
2079
  });
2090
- }), j0({}, h, g, _);
2080
+ }), j0({}, c, v, O);
2091
2081
  }
2092
2082
  });
2093
- f0("css/revolugo.vtextarea.HYL6WUNS.css");
2083
+ f0("css/revolugo.vtextarea.Dxy6uSvm.css");
2094
2084
  export {
2095
2085
  fe as B,
2096
2086
  ce as V,
@@ -2099,4 +2089,4 @@ export {
2099
2089
  K0 as v,
2100
2090
  X0 as w
2101
2091
  };
2102
- //# sourceMappingURL=revolugo.vtextarea.Cjuqcka5.min.js.map
2092
+ //# sourceMappingURL=revolugo.vtextarea.mqbZT0AH.min.js.map