@mirai/core 0.4.51 → 0.4.52

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 (1137) hide show
  1. package/build/Core.Notifications.js +1 -4
  2. package/build/Core.Notifications.js.map +1 -1
  3. package/build/Core.constants.js +1 -4
  4. package/build/Core.constants.js.map +1 -1
  5. package/build/Core.js +1 -4
  6. package/build/Core.js.map +1 -1
  7. package/build/Core.provider.js +1 -4
  8. package/build/Core.provider.js.map +1 -1
  9. package/build/components/BannerLoyalty/BannerLoyalty.constants.js +1 -4
  10. package/build/components/BannerLoyalty/BannerLoyalty.constants.js.map +1 -1
  11. package/build/components/BannerLoyalty/BannerLoyalty.js +1 -4
  12. package/build/components/BannerLoyalty/BannerLoyalty.js.map +1 -1
  13. package/build/components/BannerLoyalty/BannerLoyalty.l10n.js +1 -4
  14. package/build/components/BannerLoyalty/BannerLoyalty.l10n.js.map +1 -1
  15. package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js +1 -4
  16. package/build/components/BannerLoyalty/BannerLoyalty.skeleton.js.map +1 -1
  17. package/build/components/BannerLoyalty/index.js +1 -4
  18. package/build/components/BannerLoyalty/index.js.map +1 -1
  19. package/build/components/Booking/Booking.constants.js +1 -4
  20. package/build/components/Booking/Booking.constants.js.map +1 -1
  21. package/build/components/Booking/Booking.js +1 -4
  22. package/build/components/Booking/Booking.js.map +1 -1
  23. package/build/components/Booking/Booking.l10n.js +1 -4
  24. package/build/components/Booking/Booking.l10n.js.map +1 -1
  25. package/build/components/Booking/Booking.skeleton.js +1 -4
  26. package/build/components/Booking/Booking.skeleton.js.map +1 -1
  27. package/build/components/Booking/components/Field/Field.js +1 -4
  28. package/build/components/Booking/components/Field/Field.js.map +1 -1
  29. package/build/components/Booking/components/Field/Field.l10n.js +1 -4
  30. package/build/components/Booking/components/Field/Field.l10n.js.map +1 -1
  31. package/build/components/Booking/components/Field/index.js +1 -4
  32. package/build/components/Booking/components/Field/index.js.map +1 -1
  33. package/build/components/Booking/components/Hotelverse/Hotelverse.js +1 -4
  34. package/build/components/Booking/components/Hotelverse/Hotelverse.js.map +1 -1
  35. package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js +1 -4
  36. package/build/components/Booking/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
  37. package/build/components/Booking/components/Hotelverse/index.js +1 -4
  38. package/build/components/Booking/components/Hotelverse/index.js.map +1 -1
  39. package/build/components/Booking/components/index.js +1 -4
  40. package/build/components/Booking/components/index.js.map +1 -1
  41. package/build/components/Booking/helpers/getButtonPaymentKey.js +1 -4
  42. package/build/components/Booking/helpers/getButtonPaymentKey.js.map +1 -1
  43. package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js +1 -4
  44. package/build/components/Booking/helpers/getButtonPaymentKey.l10n.js.map +1 -1
  45. package/build/components/Booking/helpers/index.js +1 -4
  46. package/build/components/Booking/helpers/index.js.map +1 -1
  47. package/build/components/Booking/index.js +1 -4
  48. package/build/components/Booking/index.js.map +1 -1
  49. package/build/components/Booking/partials/Booking.FormCancel.js +1 -4
  50. package/build/components/Booking/partials/Booking.FormCancel.js.map +1 -1
  51. package/build/components/Booking/partials/Booking.FormEdit.js +1 -4
  52. package/build/components/Booking/partials/Booking.FormEdit.js.map +1 -1
  53. package/build/components/Booking/partials/Booking.FormResend.js +1 -4
  54. package/build/components/Booking/partials/Booking.FormResend.js.map +1 -1
  55. package/build/components/Booking/partials/Booking.Information.js +1 -4
  56. package/build/components/Booking/partials/Booking.Information.js.map +1 -1
  57. package/build/components/Booking/partials/Booking.Menu.js +1 -4
  58. package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
  59. package/build/components/Booking/partials/Booking.Modal.js +1 -4
  60. package/build/components/Booking/partials/Booking.Modal.js.map +1 -1
  61. package/build/components/Booking/partials/Booking.ModalAgency.js +1 -4
  62. package/build/components/Booking/partials/Booking.ModalAgency.js.map +1 -1
  63. package/build/components/Booking/partials/Booking.Payment.js +1 -4
  64. package/build/components/Booking/partials/Booking.Payment.js.map +1 -1
  65. package/build/components/Booking/partials/index.js +1 -4
  66. package/build/components/Booking/partials/index.js.map +1 -1
  67. package/build/components/BookingQuery/BookingQuery.constants.js +1 -4
  68. package/build/components/BookingQuery/BookingQuery.constants.js.map +1 -1
  69. package/build/components/BookingQuery/BookingQuery.js +1 -4
  70. package/build/components/BookingQuery/BookingQuery.js.map +1 -1
  71. package/build/components/BookingQuery/BookingQuery.l10n.js +1 -4
  72. package/build/components/BookingQuery/BookingQuery.l10n.js.map +1 -1
  73. package/build/components/BookingQuery/helpers/getErrorText.js +1 -4
  74. package/build/components/BookingQuery/helpers/getErrorText.js.map +1 -1
  75. package/build/components/BookingQuery/helpers/index.js +1 -4
  76. package/build/components/BookingQuery/helpers/index.js.map +1 -1
  77. package/build/components/BookingQuery/index.js +1 -4
  78. package/build/components/BookingQuery/index.js.map +1 -1
  79. package/build/components/ButtonFinder/ButtonFinder.js +1 -4
  80. package/build/components/ButtonFinder/ButtonFinder.js.map +1 -1
  81. package/build/components/ButtonFinder/ButtonFinder.l10n.js +1 -4
  82. package/build/components/ButtonFinder/ButtonFinder.l10n.js.map +1 -1
  83. package/build/components/ButtonFinder/index.js +1 -4
  84. package/build/components/ButtonFinder/index.js.map +1 -1
  85. package/build/components/Chat/Chat.ButtonAvatar.js +1 -4
  86. package/build/components/Chat/Chat.ButtonAvatar.js.map +1 -1
  87. package/build/components/Chat/Chat.Header.js +1 -4
  88. package/build/components/Chat/Chat.Header.js.map +1 -1
  89. package/build/components/Chat/Chat.constants.js +1 -4
  90. package/build/components/Chat/Chat.constants.js.map +1 -1
  91. package/build/components/Chat/Chat.js +1 -4
  92. package/build/components/Chat/Chat.js.map +1 -1
  93. package/build/components/Chat/Chat.l10n.js +1 -4
  94. package/build/components/Chat/Chat.l10n.js.map +1 -1
  95. package/build/components/Chat/components/Avatar/Avatar.js +1 -4
  96. package/build/components/Chat/components/Avatar/Avatar.js.map +1 -1
  97. package/build/components/Chat/components/Avatar/index.js +1 -4
  98. package/build/components/Chat/components/Avatar/index.js.map +1 -1
  99. package/build/components/Chat/components/Input/Input.js +1 -4
  100. package/build/components/Chat/components/Input/Input.js.map +1 -1
  101. package/build/components/Chat/components/Input/Input.l10n.js +1 -4
  102. package/build/components/Chat/components/Input/Input.l10n.js.map +1 -1
  103. package/build/components/Chat/components/Input/index.js +1 -4
  104. package/build/components/Chat/components/Input/index.js.map +1 -1
  105. package/build/components/Chat/components/InputRich/InputRich.List.js +1 -4
  106. package/build/components/Chat/components/InputRich/InputRich.List.js.map +1 -1
  107. package/build/components/Chat/components/InputRich/InputRich.js +1 -4
  108. package/build/components/Chat/components/InputRich/InputRich.js.map +1 -1
  109. package/build/components/Chat/components/InputRich/InputRich.l10n.js +1 -4
  110. package/build/components/Chat/components/InputRich/InputRich.l10n.js.map +1 -1
  111. package/build/components/Chat/components/InputRich/helpers/getVerboseList.js +1 -4
  112. package/build/components/Chat/components/InputRich/helpers/getVerboseList.js.map +1 -1
  113. package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js +1 -4
  114. package/build/components/Chat/components/InputRich/helpers/getVerboseOccupation.js.map +1 -1
  115. package/build/components/Chat/components/InputRich/helpers/index.js +1 -4
  116. package/build/components/Chat/components/InputRich/helpers/index.js.map +1 -1
  117. package/build/components/Chat/components/InputRich/index.js +1 -4
  118. package/build/components/Chat/components/InputRich/index.js.map +1 -1
  119. package/build/components/Chat/components/Message/Message.constants.js +1 -4
  120. package/build/components/Chat/components/Message/Message.constants.js.map +1 -1
  121. package/build/components/Chat/components/Message/Message.js +1 -4
  122. package/build/components/Chat/components/Message/Message.js.map +1 -1
  123. package/build/components/Chat/components/Message/components/Booking.js +1 -4
  124. package/build/components/Chat/components/Message/components/Booking.js.map +1 -1
  125. package/build/components/Chat/components/Message/components/Card.js +1 -4
  126. package/build/components/Chat/components/Message/components/Card.js.map +1 -1
  127. package/build/components/Chat/components/Message/components/Environment.js +1 -4
  128. package/build/components/Chat/components/Message/components/Environment.js.map +1 -1
  129. package/build/components/Chat/components/Message/components/Typewriter.js +1 -4
  130. package/build/components/Chat/components/Message/components/Typewriter.js.map +1 -1
  131. package/build/components/Chat/components/Message/components/index.js +1 -4
  132. package/build/components/Chat/components/Message/components/index.js.map +1 -1
  133. package/build/components/Chat/components/Message/helpers/getActionIcon.js +1 -4
  134. package/build/components/Chat/components/Message/helpers/getActionIcon.js.map +1 -1
  135. package/build/components/Chat/components/Message/helpers/getTime.js +1 -4
  136. package/build/components/Chat/components/Message/helpers/getTime.js.map +1 -1
  137. package/build/components/Chat/components/Message/helpers/index.js +1 -4
  138. package/build/components/Chat/components/Message/helpers/index.js.map +1 -1
  139. package/build/components/Chat/components/Message/index.js +1 -4
  140. package/build/components/Chat/components/Message/index.js.map +1 -1
  141. package/build/components/Chat/components/Message/intents/BookingQuery.js +1 -4
  142. package/build/components/Chat/components/Message/intents/BookingQuery.js.map +1 -1
  143. package/build/components/Chat/components/Message/intents/HotelInfo.js +1 -4
  144. package/build/components/Chat/components/Message/intents/HotelInfo.js.map +1 -1
  145. package/build/components/Chat/components/Message/intents/Offers.js +1 -4
  146. package/build/components/Chat/components/Message/intents/Offers.js.map +1 -1
  147. package/build/components/Chat/components/Message/intents/Unknown.js +1 -4
  148. package/build/components/Chat/components/Message/intents/Unknown.js.map +1 -1
  149. package/build/components/Chat/components/Message/intents/index.js +1 -4
  150. package/build/components/Chat/components/Message/intents/index.js.map +1 -1
  151. package/build/components/Chat/components/index.js +1 -4
  152. package/build/components/Chat/components/index.js.map +1 -1
  153. package/build/components/Chat/helpers/audioNotification.js +1 -4
  154. package/build/components/Chat/helpers/audioNotification.js.map +1 -1
  155. package/build/components/Chat/helpers/getVerboseDate.js +1 -4
  156. package/build/components/Chat/helpers/getVerboseDate.js.map +1 -1
  157. package/build/components/Chat/helpers/index.js +1 -4
  158. package/build/components/Chat/helpers/index.js.map +1 -1
  159. package/build/components/Chat/index.js +1 -4
  160. package/build/components/Chat/index.js.map +1 -1
  161. package/build/components/Checkout/Checkout.constants.js +1 -4
  162. package/build/components/Checkout/Checkout.constants.js.map +1 -1
  163. package/build/components/Checkout/Checkout.js +1 -4
  164. package/build/components/Checkout/Checkout.js.map +1 -1
  165. package/build/components/Checkout/Checkout.l10n.js +1 -4
  166. package/build/components/Checkout/Checkout.l10n.js.map +1 -1
  167. package/build/components/Checkout/Checkout.skeleton.js +1 -4
  168. package/build/components/Checkout/Checkout.skeleton.js.map +1 -1
  169. package/build/components/Checkout/components/InputRadio/InputRadio.js +1 -4
  170. package/build/components/Checkout/components/InputRadio/InputRadio.js.map +1 -1
  171. package/build/components/Checkout/components/InputRadio/index.js +1 -4
  172. package/build/components/Checkout/components/InputRadio/index.js.map +1 -1
  173. package/build/components/Checkout/components/index.js +1 -4
  174. package/build/components/Checkout/components/index.js.map +1 -1
  175. package/build/components/Checkout/helpers/getButtonPaymentKey.js +1 -4
  176. package/build/components/Checkout/helpers/getButtonPaymentKey.js.map +1 -1
  177. package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js +1 -4
  178. package/build/components/Checkout/helpers/getButtonPaymentKey.l10n.js.map +1 -1
  179. package/build/components/Checkout/helpers/getFieldProps.js +1 -4
  180. package/build/components/Checkout/helpers/getFieldProps.js.map +1 -1
  181. package/build/components/Checkout/helpers/getSchemaProps.js +1 -4
  182. package/build/components/Checkout/helpers/getSchemaProps.js.map +1 -1
  183. package/build/components/Checkout/helpers/getVariant.js +1 -4
  184. package/build/components/Checkout/helpers/getVariant.js.map +1 -1
  185. package/build/components/Checkout/helpers/index.js +1 -4
  186. package/build/components/Checkout/helpers/index.js.map +1 -1
  187. package/build/components/Checkout/helpers/testDNI.js +1 -4
  188. package/build/components/Checkout/helpers/testDNI.js.map +1 -1
  189. package/build/components/Checkout/index.js +1 -4
  190. package/build/components/Checkout/index.js.map +1 -1
  191. package/build/components/Checkout/partials/Checkout.Confirmation.js +1 -4
  192. package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
  193. package/build/components/Checkout/partials/Checkout.Form.js +1 -4
  194. package/build/components/Checkout/partials/Checkout.Form.js.map +1 -1
  195. package/build/components/Checkout/partials/index.js +1 -4
  196. package/build/components/Checkout/partials/index.js.map +1 -1
  197. package/build/components/Deals/Deals.Calendar.js +1 -4
  198. package/build/components/Deals/Deals.Calendar.js.map +1 -1
  199. package/build/components/Deals/Deals.constants.js +1 -4
  200. package/build/components/Deals/Deals.constants.js.map +1 -1
  201. package/build/components/Deals/Deals.js +1 -4
  202. package/build/components/Deals/Deals.js.map +1 -1
  203. package/build/components/Deals/Deals.l10n.js +1 -4
  204. package/build/components/Deals/Deals.l10n.js.map +1 -1
  205. package/build/components/Deals/Deals.skeleton.js +1 -4
  206. package/build/components/Deals/Deals.skeleton.js.map +1 -1
  207. package/build/components/Deals/helpers/calcFromDate.js +1 -4
  208. package/build/components/Deals/helpers/calcFromDate.js.map +1 -1
  209. package/build/components/Deals/helpers/calcMinStay.js +1 -4
  210. package/build/components/Deals/helpers/calcMinStay.js.map +1 -1
  211. package/build/components/Deals/helpers/calcNightWithDeals.js +1 -4
  212. package/build/components/Deals/helpers/calcNightWithDeals.js.map +1 -1
  213. package/build/components/Deals/helpers/calcToDate.js +1 -4
  214. package/build/components/Deals/helpers/calcToDate.js.map +1 -1
  215. package/build/components/Deals/helpers/calcTooltips.js +1 -4
  216. package/build/components/Deals/helpers/calcTooltips.js.map +1 -1
  217. package/build/components/Deals/helpers/getCurrency.js +1 -4
  218. package/build/components/Deals/helpers/getCurrency.js.map +1 -1
  219. package/build/components/Deals/helpers/index.js +1 -4
  220. package/build/components/Deals/helpers/index.js.map +1 -1
  221. package/build/components/Deals/helpers/validate.js +1 -4
  222. package/build/components/Deals/helpers/validate.js.map +1 -1
  223. package/build/components/Deals/index.js +1 -4
  224. package/build/components/Deals/index.js.map +1 -1
  225. package/build/components/Environment/Environment.State.js +1 -4
  226. package/build/components/Environment/Environment.State.js.map +1 -1
  227. package/build/components/Environment/Environment.js +1 -4
  228. package/build/components/Environment/Environment.js.map +1 -1
  229. package/build/components/Environment/index.js +1 -4
  230. package/build/components/Environment/index.js.map +1 -1
  231. package/build/components/Finder/Finder.compact.js +1 -4
  232. package/build/components/Finder/Finder.compact.js.map +1 -1
  233. package/build/components/Finder/Finder.constants.js +1 -4
  234. package/build/components/Finder/Finder.constants.js.map +1 -1
  235. package/build/components/Finder/Finder.js +1 -4
  236. package/build/components/Finder/Finder.js.map +1 -1
  237. package/build/components/Finder/Finder.l10n.js +1 -4
  238. package/build/components/Finder/Finder.l10n.js.map +1 -1
  239. package/build/components/Finder/components/Calendar/Calendar.constants.js +1 -4
  240. package/build/components/Finder/components/Calendar/Calendar.constants.js.map +1 -1
  241. package/build/components/Finder/components/Calendar/Calendar.js +1 -4
  242. package/build/components/Finder/components/Calendar/Calendar.js.map +1 -1
  243. package/build/components/Finder/components/Calendar/Calendar.l10n.js +1 -4
  244. package/build/components/Finder/components/Calendar/Calendar.l10n.js.map +1 -1
  245. package/build/components/Finder/components/Calendar/helpers/calcMinStay.js +1 -4
  246. package/build/components/Finder/components/Calendar/helpers/calcMinStay.js.map +1 -1
  247. package/build/components/Finder/components/Calendar/helpers/calcTooltips.js +1 -4
  248. package/build/components/Finder/components/Calendar/helpers/calcTooltips.js.map +1 -1
  249. package/build/components/Finder/components/Calendar/helpers/fetchPrices.js +1 -4
  250. package/build/components/Finder/components/Calendar/helpers/fetchPrices.js.map +1 -1
  251. package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js +1 -4
  252. package/build/components/Finder/components/Calendar/helpers/getVisibleDate.js.map +1 -1
  253. package/build/components/Finder/components/Calendar/helpers/index.js +1 -4
  254. package/build/components/Finder/components/Calendar/helpers/index.js.map +1 -1
  255. package/build/components/Finder/components/Calendar/index.js +1 -4
  256. package/build/components/Finder/components/Calendar/index.js.map +1 -1
  257. package/build/components/Finder/components/Places/Places.js +1 -4
  258. package/build/components/Finder/components/Places/Places.js.map +1 -1
  259. package/build/components/Finder/components/Places/Places.l10n.js +1 -4
  260. package/build/components/Finder/components/Places/Places.l10n.js.map +1 -1
  261. package/build/components/Finder/components/Places/helpers/calcColumns.js +1 -4
  262. package/build/components/Finder/components/Places/helpers/calcColumns.js.map +1 -1
  263. package/build/components/Finder/components/Places/helpers/index.js +1 -4
  264. package/build/components/Finder/components/Places/helpers/index.js.map +1 -1
  265. package/build/components/Finder/components/Places/index.js +1 -4
  266. package/build/components/Finder/components/Places/index.js.map +1 -1
  267. package/build/components/Finder/components/index.js +1 -4
  268. package/build/components/Finder/components/index.js.map +1 -1
  269. package/build/components/Finder/helpers/getAvailableWidth.js +1 -4
  270. package/build/components/Finder/helpers/getAvailableWidth.js.map +1 -1
  271. package/build/components/Finder/helpers/getDataSource.js +1 -4
  272. package/build/components/Finder/helpers/getDataSource.js.map +1 -1
  273. package/build/components/Finder/helpers/getFieldPosition.js +1 -4
  274. package/build/components/Finder/helpers/getFieldPosition.js.map +1 -1
  275. package/build/components/Finder/helpers/getForwarderUrl.js +1 -4
  276. package/build/components/Finder/helpers/getForwarderUrl.js.map +1 -1
  277. package/build/components/Finder/helpers/getHotels.js +1 -4
  278. package/build/components/Finder/helpers/getHotels.js.map +1 -1
  279. package/build/components/Finder/helpers/getOccupationDataSource.js +1 -4
  280. package/build/components/Finder/helpers/getOccupationDataSource.js.map +1 -1
  281. package/build/components/Finder/helpers/getPlaceCaption.js +1 -4
  282. package/build/components/Finder/helpers/getPlaceCaption.js.map +1 -1
  283. package/build/components/Finder/helpers/getPlacesOptions.js +1 -4
  284. package/build/components/Finder/helpers/getPlacesOptions.js.map +1 -1
  285. package/build/components/Finder/helpers/index.js +1 -4
  286. package/build/components/Finder/helpers/index.js.map +1 -1
  287. package/build/components/Finder/helpers/parseCalendarProps.js +1 -4
  288. package/build/components/Finder/helpers/parseCalendarProps.js.map +1 -1
  289. package/build/components/Finder/helpers/parseValue.js +1 -4
  290. package/build/components/Finder/helpers/parseValue.js.map +1 -1
  291. package/build/components/Finder/helpers/setStorage.js +1 -4
  292. package/build/components/Finder/helpers/setStorage.js.map +1 -1
  293. package/build/components/Finder/helpers/validate.js +1 -4
  294. package/build/components/Finder/helpers/validate.js.map +1 -1
  295. package/build/components/Finder/index.js +1 -4
  296. package/build/components/Finder/index.js.map +1 -1
  297. package/build/components/Header/Header.js +1 -4
  298. package/build/components/Header/Header.js.map +1 -1
  299. package/build/components/Header/Header.l10n.js +1 -4
  300. package/build/components/Header/Header.l10n.js.map +1 -1
  301. package/build/components/Header/components/BookingProcess/BookingProcess.js +1 -4
  302. package/build/components/Header/components/BookingProcess/BookingProcess.js.map +1 -1
  303. package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js +1 -4
  304. package/build/components/Header/components/BookingProcess/BookingProcess.l10n.js.map +1 -1
  305. package/build/components/Header/components/BookingProcess/index.js +1 -4
  306. package/build/components/Header/components/BookingProcess/index.js.map +1 -1
  307. package/build/components/Header/components/index.js +1 -4
  308. package/build/components/Header/components/index.js.map +1 -1
  309. package/build/components/Header/index.js +1 -4
  310. package/build/components/Header/index.js.map +1 -1
  311. package/build/components/Profile/Profile.constants.js +1 -4
  312. package/build/components/Profile/Profile.constants.js.map +1 -1
  313. package/build/components/Profile/Profile.js +1 -4
  314. package/build/components/Profile/Profile.js.map +1 -1
  315. package/build/components/Profile/components/Bookings/Bookings.Search.js +1 -4
  316. package/build/components/Profile/components/Bookings/Bookings.Search.js.map +1 -1
  317. package/build/components/Profile/components/Bookings/Bookings.constants.js +1 -4
  318. package/build/components/Profile/components/Bookings/Bookings.constants.js.map +1 -1
  319. package/build/components/Profile/components/Bookings/Bookings.js +1 -4
  320. package/build/components/Profile/components/Bookings/Bookings.js.map +1 -1
  321. package/build/components/Profile/components/Bookings/Bookings.l10n.js +1 -4
  322. package/build/components/Profile/components/Bookings/Bookings.l10n.js.map +1 -1
  323. package/build/components/Profile/components/Bookings/helpers/groupDatasource.js +1 -4
  324. package/build/components/Profile/components/Bookings/helpers/groupDatasource.js.map +1 -1
  325. package/build/components/Profile/components/Bookings/helpers/index.js +1 -4
  326. package/build/components/Profile/components/Bookings/helpers/index.js.map +1 -1
  327. package/build/components/Profile/components/Bookings/index.js +1 -4
  328. package/build/components/Profile/components/Bookings/index.js.map +1 -1
  329. package/build/components/Profile/components/Settings/Settings.Account.js +1 -4
  330. package/build/components/Profile/components/Settings/Settings.Account.js.map +1 -1
  331. package/build/components/Profile/components/Settings/Settings.Password.js +1 -4
  332. package/build/components/Profile/components/Settings/Settings.Password.js.map +1 -1
  333. package/build/components/Profile/components/Settings/Settings.Signout.js +1 -4
  334. package/build/components/Profile/components/Settings/Settings.Signout.js.map +1 -1
  335. package/build/components/Profile/components/Settings/Settings.constants.js +1 -4
  336. package/build/components/Profile/components/Settings/Settings.constants.js.map +1 -1
  337. package/build/components/Profile/components/Settings/Settings.js +1 -4
  338. package/build/components/Profile/components/Settings/Settings.js.map +1 -1
  339. package/build/components/Profile/components/Settings/Settings.l10n.js +1 -4
  340. package/build/components/Profile/components/Settings/Settings.l10n.js.map +1 -1
  341. package/build/components/Profile/components/Settings/index.js +1 -4
  342. package/build/components/Profile/components/Settings/index.js.map +1 -1
  343. package/build/components/Profile/components/index.js +1 -4
  344. package/build/components/Profile/components/index.js.map +1 -1
  345. package/build/components/Profile/index.js +1 -4
  346. package/build/components/Profile/index.js.map +1 -1
  347. package/build/components/Rates/Rates.Content.js +1 -4
  348. package/build/components/Rates/Rates.Content.js.map +1 -1
  349. package/build/components/Rates/Rates.Footer.js +1 -4
  350. package/build/components/Rates/Rates.Footer.js.map +1 -1
  351. package/build/components/Rates/Rates.Header.js +1 -4
  352. package/build/components/Rates/Rates.Header.js.map +1 -1
  353. package/build/components/Rates/Rates.RoomSelector.js +1 -4
  354. package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
  355. package/build/components/Rates/Rates.Skeleton.js +1 -4
  356. package/build/components/Rates/Rates.Skeleton.js.map +1 -1
  357. package/build/components/Rates/Rates.Unavailability.js +1 -4
  358. package/build/components/Rates/Rates.Unavailability.js.map +1 -1
  359. package/build/components/Rates/Rates.constants.js +1 -4
  360. package/build/components/Rates/Rates.constants.js.map +1 -1
  361. package/build/components/Rates/Rates.js +1 -4
  362. package/build/components/Rates/Rates.js.map +1 -1
  363. package/build/components/Rates/Rates.l10n.js +1 -4
  364. package/build/components/Rates/Rates.l10n.js.map +1 -1
  365. package/build/components/Rates/components/CardHotel/CardHotel.js +1 -4
  366. package/build/components/Rates/components/CardHotel/CardHotel.js.map +1 -1
  367. package/build/components/Rates/components/CardHotel/CardHotel.l10n.js +1 -4
  368. package/build/components/Rates/components/CardHotel/CardHotel.l10n.js.map +1 -1
  369. package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js +1 -4
  370. package/build/components/Rates/components/CardHotel/helpers/getHotelUrl.js.map +1 -1
  371. package/build/components/Rates/components/CardHotel/helpers/index.js +1 -4
  372. package/build/components/Rates/components/CardHotel/helpers/index.js.map +1 -1
  373. package/build/components/Rates/components/CardHotel/index.js +1 -4
  374. package/build/components/Rates/components/CardHotel/index.js.map +1 -1
  375. package/build/components/Rates/components/Filters/Filters.Amenity.js +1 -4
  376. package/build/components/Rates/components/Filters/Filters.Amenity.js.map +1 -1
  377. package/build/components/Rates/components/Filters/Filters.BookingOption.js +1 -4
  378. package/build/components/Rates/components/Filters/Filters.BookingOption.js.map +1 -1
  379. package/build/components/Rates/components/Filters/Filters.Button.js +1 -4
  380. package/build/components/Rates/components/Filters/Filters.Button.js.map +1 -1
  381. package/build/components/Rates/components/Filters/Filters.constants.js +1 -4
  382. package/build/components/Rates/components/Filters/Filters.constants.js.map +1 -1
  383. package/build/components/Rates/components/Filters/Filters.js +1 -4
  384. package/build/components/Rates/components/Filters/Filters.js.map +1 -1
  385. package/build/components/Rates/components/Filters/Filters.l10n.js +1 -4
  386. package/build/components/Rates/components/Filters/Filters.l10n.js.map +1 -1
  387. package/build/components/Rates/components/Filters/components/InputRange/InputRange.js +1 -4
  388. package/build/components/Rates/components/Filters/components/InputRange/InputRange.js.map +1 -1
  389. package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js +1 -4
  390. package/build/components/Rates/components/Filters/components/InputRange/InputRange.l10n.js.map +1 -1
  391. package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js +1 -4
  392. package/build/components/Rates/components/Filters/components/InputRange/helpers/getHistogram.js.map +1 -1
  393. package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js +1 -4
  394. package/build/components/Rates/components/Filters/components/InputRange/helpers/index.js.map +1 -1
  395. package/build/components/Rates/components/Filters/components/InputRange/index.js +1 -4
  396. package/build/components/Rates/components/Filters/components/InputRange/index.js.map +1 -1
  397. package/build/components/Rates/components/Filters/components/index.js +1 -4
  398. package/build/components/Rates/components/Filters/components/index.js.map +1 -1
  399. package/build/components/Rates/components/Filters/helpers/countFilters.js +1 -4
  400. package/build/components/Rates/components/Filters/helpers/countFilters.js.map +1 -1
  401. package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js +1 -4
  402. package/build/components/Rates/components/Filters/helpers/getAvailableFilters.js.map +1 -1
  403. package/build/components/Rates/components/Filters/helpers/getStrictSearch.js +1 -4
  404. package/build/components/Rates/components/Filters/helpers/getStrictSearch.js.map +1 -1
  405. package/build/components/Rates/components/Filters/helpers/index.js +1 -4
  406. package/build/components/Rates/components/Filters/helpers/index.js.map +1 -1
  407. package/build/components/Rates/components/Filters/index.js +1 -4
  408. package/build/components/Rates/components/Filters/index.js.map +1 -1
  409. package/build/components/Rates/components/Hotelverse/Hotelverse.js +1 -4
  410. package/build/components/Rates/components/Hotelverse/Hotelverse.js.map +1 -1
  411. package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js +1 -4
  412. package/build/components/Rates/components/Hotelverse/Hotelverse.l10n.js.map +1 -1
  413. package/build/components/Rates/components/Hotelverse/index.js +1 -4
  414. package/build/components/Rates/components/Hotelverse/index.js.map +1 -1
  415. package/build/components/Rates/components/Item/Item.Preview.js +1 -4
  416. package/build/components/Rates/components/Item/Item.Preview.js.map +1 -1
  417. package/build/components/Rates/components/Item/Item.Rates.js +1 -4
  418. package/build/components/Rates/components/Item/Item.Rates.js.map +1 -1
  419. package/build/components/Rates/components/Item/Item.Summary.js +1 -4
  420. package/build/components/Rates/components/Item/Item.Summary.js.map +1 -1
  421. package/build/components/Rates/components/Item/Item.js +1 -4
  422. package/build/components/Rates/components/Item/Item.js.map +1 -1
  423. package/build/components/Rates/components/Item/Item.l10n.js +1 -4
  424. package/build/components/Rates/components/Item/Item.l10n.js.map +1 -1
  425. package/build/components/Rates/components/Item/components/Amenities/Amenities.js +1 -4
  426. package/build/components/Rates/components/Item/components/Amenities/Amenities.js.map +1 -1
  427. package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js +1 -4
  428. package/build/components/Rates/components/Item/components/Amenities/Amenities.l10n.js.map +1 -1
  429. package/build/components/Rates/components/Item/components/Amenities/index.js +1 -4
  430. package/build/components/Rates/components/Item/components/Amenities/index.js.map +1 -1
  431. package/build/components/Rates/components/Item/components/Countdown/Countdown.js +1 -4
  432. package/build/components/Rates/components/Item/components/Countdown/Countdown.js.map +1 -1
  433. package/build/components/Rates/components/Item/components/Countdown/index.js +1 -4
  434. package/build/components/Rates/components/Item/components/Countdown/index.js.map +1 -1
  435. package/build/components/Rates/components/Item/components/Features/Features.js +1 -4
  436. package/build/components/Rates/components/Item/components/Features/Features.js.map +1 -1
  437. package/build/components/Rates/components/Item/components/Features/index.js +1 -4
  438. package/build/components/Rates/components/Item/components/Features/index.js.map +1 -1
  439. package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js +1 -4
  440. package/build/components/Rates/components/Item/components/ModalCancellationInfo/ModalCancellationInfo.js.map +1 -1
  441. package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js +1 -4
  442. package/build/components/Rates/components/Item/components/ModalCancellationInfo/index.js.map +1 -1
  443. package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js +1 -4
  444. package/build/components/Rates/components/Item/components/ModalInfo/ModalInfo.js.map +1 -1
  445. package/build/components/Rates/components/Item/components/ModalInfo/index.js +1 -4
  446. package/build/components/Rates/components/Item/components/ModalInfo/index.js.map +1 -1
  447. package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js +1 -4
  448. package/build/components/Rates/components/Item/components/ModalOfferInfo/ModalOfferInfo.js.map +1 -1
  449. package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js +1 -4
  450. package/build/components/Rates/components/Item/components/ModalOfferInfo/index.js.map +1 -1
  451. package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js +1 -4
  452. package/build/components/Rates/components/Item/components/ModalUrl/ModalUrl.js.map +1 -1
  453. package/build/components/Rates/components/Item/components/ModalUrl/index.js +1 -4
  454. package/build/components/Rates/components/Item/components/ModalUrl/index.js.map +1 -1
  455. package/build/components/Rates/components/Item/components/Option/Option.js +1 -4
  456. package/build/components/Rates/components/Item/components/Option/Option.js.map +1 -1
  457. package/build/components/Rates/components/Item/components/Option/index.js +1 -4
  458. package/build/components/Rates/components/Item/components/Option/index.js.map +1 -1
  459. package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js +1 -4
  460. package/build/components/Rates/components/Item/components/PriceDetails/PriceDetails.js.map +1 -1
  461. package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js +1 -4
  462. package/build/components/Rates/components/Item/components/PriceDetails/helpers/getPrices.js.map +1 -1
  463. package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js +1 -4
  464. package/build/components/Rates/components/Item/components/PriceDetails/helpers/index.js.map +1 -1
  465. package/build/components/Rates/components/Item/components/PriceDetails/index.js +1 -4
  466. package/build/components/Rates/components/Item/components/PriceDetails/index.js.map +1 -1
  467. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js +1 -4
  468. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.constants.js.map +1 -1
  469. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js +1 -4
  470. package/build/components/Rates/components/Item/components/RateDetails/RateDetails.js.map +1 -1
  471. package/build/components/Rates/components/Item/components/RateDetails/index.js +1 -4
  472. package/build/components/Rates/components/Item/components/RateDetails/index.js.map +1 -1
  473. package/build/components/Rates/components/Item/components/Slider/Slider.js +1 -4
  474. package/build/components/Rates/components/Item/components/Slider/Slider.js.map +1 -1
  475. package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js +1 -4
  476. package/build/components/Rates/components/Item/components/Slider/Slider.l10n.js.map +1 -1
  477. package/build/components/Rates/components/Item/components/Slider/index.js +1 -4
  478. package/build/components/Rates/components/Item/components/Slider/index.js.map +1 -1
  479. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js +1 -4
  480. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.constants.js.map +1 -1
  481. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js +1 -4
  482. package/build/components/Rates/components/Item/components/TooltipDates/TooltipDates.js.map +1 -1
  483. package/build/components/Rates/components/Item/components/TooltipDates/index.js +1 -4
  484. package/build/components/Rates/components/Item/components/TooltipDates/index.js.map +1 -1
  485. package/build/components/Rates/components/Item/components/index.js +1 -4
  486. package/build/components/Rates/components/Item/components/index.js.map +1 -1
  487. package/build/components/Rates/components/Item/index.js +1 -4
  488. package/build/components/Rates/components/Item/index.js.map +1 -1
  489. package/build/components/Rates/components/ModalClubRate/ModalClubRate.js +1 -4
  490. package/build/components/Rates/components/ModalClubRate/ModalClubRate.js.map +1 -1
  491. package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js +1 -4
  492. package/build/components/Rates/components/ModalClubRate/ModalClubRate.l10n.js.map +1 -1
  493. package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js +1 -4
  494. package/build/components/Rates/components/ModalClubRate/helpers/getDiscount.js.map +1 -1
  495. package/build/components/Rates/components/ModalClubRate/helpers/index.js +1 -4
  496. package/build/components/Rates/components/ModalClubRate/helpers/index.js.map +1 -1
  497. package/build/components/Rates/components/ModalClubRate/index.js +1 -4
  498. package/build/components/Rates/components/ModalClubRate/index.js.map +1 -1
  499. package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js +1 -4
  500. package/build/components/Rates/components/ModalExtras/ModalExtras.constants.js.map +1 -1
  501. package/build/components/Rates/components/ModalExtras/ModalExtras.js +1 -4
  502. package/build/components/Rates/components/ModalExtras/ModalExtras.js.map +1 -1
  503. package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js +1 -4
  504. package/build/components/Rates/components/ModalExtras/ModalExtras.l10n.js.map +1 -1
  505. package/build/components/Rates/components/ModalExtras/helpers/getCaption.js +1 -4
  506. package/build/components/Rates/components/ModalExtras/helpers/getCaption.js.map +1 -1
  507. package/build/components/Rates/components/ModalExtras/helpers/index.js +1 -4
  508. package/build/components/Rates/components/ModalExtras/helpers/index.js.map +1 -1
  509. package/build/components/Rates/components/ModalExtras/index.js +1 -4
  510. package/build/components/Rates/components/ModalExtras/index.js.map +1 -1
  511. package/build/components/Rates/components/ModalMapView/ModalMapView.js +1 -4
  512. package/build/components/Rates/components/ModalMapView/ModalMapView.js.map +1 -1
  513. package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js +1 -4
  514. package/build/components/Rates/components/ModalMapView/ModalMapView.l10n.js.map +1 -1
  515. package/build/components/Rates/components/ModalMapView/helpers/customMarker.js +1 -4
  516. package/build/components/Rates/components/ModalMapView/helpers/customMarker.js.map +1 -1
  517. package/build/components/Rates/components/ModalMapView/helpers/index.js +1 -4
  518. package/build/components/Rates/components/ModalMapView/helpers/index.js.map +1 -1
  519. package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js +1 -4
  520. package/build/components/Rates/components/ModalMapView/helpers/loadGMaps.js.map +1 -1
  521. package/build/components/Rates/components/ModalMapView/index.js +1 -4
  522. package/build/components/Rates/components/ModalMapView/index.js.map +1 -1
  523. package/build/components/Rates/components/index.js +1 -4
  524. package/build/components/Rates/components/index.js.map +1 -1
  525. package/build/components/Rates/helpers/fetchRates.js +1 -4
  526. package/build/components/Rates/helpers/fetchRates.js.map +1 -1
  527. package/build/components/Rates/helpers/filterItem.js +1 -4
  528. package/build/components/Rates/helpers/filterItem.js.map +1 -1
  529. package/build/components/Rates/helpers/getBoard.js +1 -4
  530. package/build/components/Rates/helpers/getBoard.js.map +1 -1
  531. package/build/components/Rates/helpers/getCheckoutParams.js +1 -4
  532. package/build/components/Rates/helpers/getCheckoutParams.js.map +1 -1
  533. package/build/components/Rates/helpers/getClubInclude.js +1 -4
  534. package/build/components/Rates/helpers/getClubInclude.js.map +1 -1
  535. package/build/components/Rates/helpers/getClubRate.js +1 -4
  536. package/build/components/Rates/helpers/getClubRate.js.map +1 -1
  537. package/build/components/Rates/helpers/getFeatures.js +1 -4
  538. package/build/components/Rates/helpers/getFeatures.js.map +1 -1
  539. package/build/components/Rates/helpers/getFinderParams.js +1 -4
  540. package/build/components/Rates/helpers/getFinderParams.js.map +1 -1
  541. package/build/components/Rates/helpers/getForwarderUrl.js +1 -4
  542. package/build/components/Rates/helpers/getForwarderUrl.js.map +1 -1
  543. package/build/components/Rates/helpers/getLabelTaxes.js +1 -4
  544. package/build/components/Rates/helpers/getLabelTaxes.js.map +1 -1
  545. package/build/components/Rates/helpers/index.js +1 -4
  546. package/build/components/Rates/helpers/index.js.map +1 -1
  547. package/build/components/Rates/helpers/select.js +1 -4
  548. package/build/components/Rates/helpers/select.js.map +1 -1
  549. package/build/components/Rates/helpers/showClubRate.js +1 -4
  550. package/build/components/Rates/helpers/showClubRate.js.map +1 -1
  551. package/build/components/Rates/helpers/signout.js +1 -4
  552. package/build/components/Rates/helpers/signout.js.map +1 -1
  553. package/build/components/Rates/index.js +1 -4
  554. package/build/components/Rates/index.js.map +1 -1
  555. package/build/components/Session/Session.Account.Info.js +1 -4
  556. package/build/components/Session/Session.Account.Info.js.map +1 -1
  557. package/build/components/Session/Session.Account.js +1 -4
  558. package/build/components/Session/Session.Account.js.map +1 -1
  559. package/build/components/Session/Session.Login.Modal.js +1 -4
  560. package/build/components/Session/Session.Login.Modal.js.map +1 -1
  561. package/build/components/Session/Session.Login.js +1 -4
  562. package/build/components/Session/Session.Login.js.map +1 -1
  563. package/build/components/Session/Session.constants.js +1 -4
  564. package/build/components/Session/Session.constants.js.map +1 -1
  565. package/build/components/Session/Session.js +1 -4
  566. package/build/components/Session/Session.js.map +1 -1
  567. package/build/components/Session/Session.l10n.js +1 -4
  568. package/build/components/Session/Session.l10n.js.map +1 -1
  569. package/build/components/Session/helpers/getDomain.js +1 -4
  570. package/build/components/Session/helpers/getDomain.js.map +1 -1
  571. package/build/components/Session/helpers/getProfileUrl.js +1 -4
  572. package/build/components/Session/helpers/getProfileUrl.js.map +1 -1
  573. package/build/components/Session/helpers/getSignupUrl.js +1 -4
  574. package/build/components/Session/helpers/getSignupUrl.js.map +1 -1
  575. package/build/components/Session/helpers/index.js +1 -4
  576. package/build/components/Session/helpers/index.js.map +1 -1
  577. package/build/components/Session/index.js +1 -4
  578. package/build/components/Session/index.js.map +1 -1
  579. package/build/components/Signup/Signup.constants.js +1 -4
  580. package/build/components/Signup/Signup.constants.js.map +1 -1
  581. package/build/components/Signup/Signup.js +1 -4
  582. package/build/components/Signup/Signup.js.map +1 -1
  583. package/build/components/Signup/Signup.l10n.js +1 -4
  584. package/build/components/Signup/Signup.l10n.js.map +1 -1
  585. package/build/components/Signup/index.js +1 -4
  586. package/build/components/Signup/index.js.map +1 -1
  587. package/build/components/__shared__/BookingDates/BookingDates.constants.js +1 -4
  588. package/build/components/__shared__/BookingDates/BookingDates.constants.js.map +1 -1
  589. package/build/components/__shared__/BookingDates/BookingDates.js +1 -4
  590. package/build/components/__shared__/BookingDates/BookingDates.js.map +1 -1
  591. package/build/components/__shared__/BookingDates/BookingDates.l10n.js +1 -4
  592. package/build/components/__shared__/BookingDates/BookingDates.l10n.js.map +1 -1
  593. package/build/components/__shared__/BookingDates/index.js +1 -4
  594. package/build/components/__shared__/BookingDates/index.js.map +1 -1
  595. package/build/components/__shared__/BookingDetails/BookingDetails.constants.js +1 -4
  596. package/build/components/__shared__/BookingDetails/BookingDetails.constants.js.map +1 -1
  597. package/build/components/__shared__/BookingDetails/BookingDetails.js +1 -4
  598. package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -1
  599. package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js +1 -4
  600. package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js.map +1 -1
  601. package/build/components/__shared__/BookingDetails/index.js +1 -4
  602. package/build/components/__shared__/BookingDetails/index.js.map +1 -1
  603. package/build/components/__shared__/BookingSummary/BookingSummary.constants.js +1 -4
  604. package/build/components/__shared__/BookingSummary/BookingSummary.constants.js.map +1 -1
  605. package/build/components/__shared__/BookingSummary/BookingSummary.js +1 -4
  606. package/build/components/__shared__/BookingSummary/BookingSummary.js.map +1 -1
  607. package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js +1 -4
  608. package/build/components/__shared__/BookingSummary/BookingSummary.l10n.js.map +1 -1
  609. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js +1 -4
  610. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.constants.test.js.map +1 -1
  611. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js +1 -4
  612. package/build/components/__shared__/BookingSummary/_tests__/BookingSummary.test.js.map +1 -1
  613. package/build/components/__shared__/BookingSummary/index.js +1 -4
  614. package/build/components/__shared__/BookingSummary/index.js.map +1 -1
  615. package/build/components/__shared__/BookingTable/BookingTable.Row.js +1 -4
  616. package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
  617. package/build/components/__shared__/BookingTable/BookingTable.constants.js +1 -4
  618. package/build/components/__shared__/BookingTable/BookingTable.constants.js.map +1 -1
  619. package/build/components/__shared__/BookingTable/BookingTable.js +1 -4
  620. package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
  621. package/build/components/__shared__/BookingTable/BookingTable.l10n.js +1 -4
  622. package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -1
  623. package/build/components/__shared__/BookingTable/index.js +1 -4
  624. package/build/components/__shared__/BookingTable/index.js.map +1 -1
  625. package/build/components/__shared__/BookingTerms/BookingTerms.js +1 -4
  626. package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
  627. package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js +1 -4
  628. package/build/components/__shared__/BookingTerms/BookingTerms.l10n.js.map +1 -1
  629. package/build/components/__shared__/BookingTerms/index.js +1 -4
  630. package/build/components/__shared__/BookingTerms/index.js.map +1 -1
  631. package/build/components/__shared__/ButtonMore/ButtonMore.js +1 -4
  632. package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
  633. package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js +1 -4
  634. package/build/components/__shared__/ButtonMore/ButtonMore.l10n.js.map +1 -1
  635. package/build/components/__shared__/ButtonMore/index.js +1 -4
  636. package/build/components/__shared__/ButtonMore/index.js.map +1 -1
  637. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +1 -4
  638. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
  639. package/build/components/__shared__/ButtonPayment/ButtonPayment.js +1 -4
  640. package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
  641. package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js +1 -4
  642. package/build/components/__shared__/ButtonPayment/ButtonPayment.l10n.js.map +1 -1
  643. package/build/components/__shared__/ButtonPayment/components/Form/Form.js +1 -4
  644. package/build/components/__shared__/ButtonPayment/components/Form/Form.js.map +1 -1
  645. package/build/components/__shared__/ButtonPayment/components/Form/index.js +1 -4
  646. package/build/components/__shared__/ButtonPayment/components/Form/index.js.map +1 -1
  647. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js +1 -4
  648. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.js.map +1 -1
  649. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js +1 -4
  650. package/build/components/__shared__/ButtonPayment/components/FormAddon/FormAddon.l10n.js.map +1 -1
  651. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js +1 -4
  652. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/getCtaKey.js.map +1 -1
  653. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js +1 -4
  654. package/build/components/__shared__/ButtonPayment/components/FormAddon/helpers/index.js.map +1 -1
  655. package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js +1 -4
  656. package/build/components/__shared__/ButtonPayment/components/FormAddon/index.js.map +1 -1
  657. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js +1 -4
  658. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.constants.js.map +1 -1
  659. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js +1 -4
  660. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.js.map +1 -1
  661. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js +1 -4
  662. package/build/components/__shared__/ButtonPayment/components/FormCheckout/FormCheckout.l10n.js.map +1 -1
  663. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js +1 -4
  664. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/getStyle.js.map +1 -1
  665. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js +1 -4
  666. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/index.js.map +1 -1
  667. package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js +1 -4
  668. package/build/components/__shared__/ButtonPayment/components/FormCheckout/index.js.map +1 -1
  669. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js +1 -4
  670. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.constants.js.map +1 -1
  671. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js +1 -4
  672. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.js.map +1 -1
  673. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js +1 -4
  674. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/FormPaycomet.l10n.js.map +1 -1
  675. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js +1 -4
  676. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/index.js.map +1 -1
  677. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js +1 -4
  678. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/helpers/useMutationObserver.js.map +1 -1
  679. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js +1 -4
  680. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/index.js.map +1 -1
  681. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js +1 -4
  682. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.constants.js.map +1 -1
  683. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js +1 -4
  684. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.js.map +1 -1
  685. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js +1 -4
  686. package/build/components/__shared__/ButtonPayment/components/FormSipay/FormSipay.l10n.js.map +1 -1
  687. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js +1 -4
  688. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/getStyle.js.map +1 -1
  689. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js +1 -4
  690. package/build/components/__shared__/ButtonPayment/components/FormSipay/helpers/index.js.map +1 -1
  691. package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js +1 -4
  692. package/build/components/__shared__/ButtonPayment/components/FormSipay/index.js.map +1 -1
  693. package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js +1 -4
  694. package/build/components/__shared__/ButtonPayment/components/InputField/InputField.js.map +1 -1
  695. package/build/components/__shared__/ButtonPayment/components/InputField/index.js +1 -4
  696. package/build/components/__shared__/ButtonPayment/components/InputField/index.js.map +1 -1
  697. package/build/components/__shared__/ButtonPayment/components/index.js +1 -4
  698. package/build/components/__shared__/ButtonPayment/components/index.js.map +1 -1
  699. package/build/components/__shared__/ButtonPayment/helpers/getComponent.js +1 -4
  700. package/build/components/__shared__/ButtonPayment/helpers/getComponent.js.map +1 -1
  701. package/build/components/__shared__/ButtonPayment/helpers/getUrl.js +1 -4
  702. package/build/components/__shared__/ButtonPayment/helpers/getUrl.js.map +1 -1
  703. package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js +1 -4
  704. package/build/components/__shared__/ButtonPayment/helpers/getUrlBooking.js.map +1 -1
  705. package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js +1 -4
  706. package/build/components/__shared__/ButtonPayment/helpers/getUrlCriptan.js.map +1 -1
  707. package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js +1 -4
  708. package/build/components/__shared__/ButtonPayment/helpers/getUrlTpv.js.map +1 -1
  709. package/build/components/__shared__/ButtonPayment/helpers/index.js +1 -4
  710. package/build/components/__shared__/ButtonPayment/helpers/index.js.map +1 -1
  711. package/build/components/__shared__/ButtonPayment/helpers/loadScript.js +1 -4
  712. package/build/components/__shared__/ButtonPayment/helpers/loadScript.js.map +1 -1
  713. package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js +1 -4
  714. package/build/components/__shared__/ButtonPayment/helpers/toUrlParams.js.map +1 -1
  715. package/build/components/__shared__/ButtonPayment/index.js +1 -4
  716. package/build/components/__shared__/ButtonPayment/index.js.map +1 -1
  717. package/build/components/__shared__/Card/Card.js +1 -4
  718. package/build/components/__shared__/Card/Card.js.map +1 -1
  719. package/build/components/__shared__/Card/Cards.js +1 -4
  720. package/build/components/__shared__/Card/Cards.js.map +1 -1
  721. package/build/components/__shared__/Card/index.js +1 -4
  722. package/build/components/__shared__/Card/index.js.map +1 -1
  723. package/build/components/__shared__/Countdown/Countdown.js +1 -4
  724. package/build/components/__shared__/Countdown/Countdown.js.map +1 -1
  725. package/build/components/__shared__/Countdown/Countdown.l10n.js +1 -4
  726. package/build/components/__shared__/Countdown/Countdown.l10n.js.map +1 -1
  727. package/build/components/__shared__/Countdown/index.js +1 -4
  728. package/build/components/__shared__/Countdown/index.js.map +1 -1
  729. package/build/components/__shared__/Field/Field.js +1 -4
  730. package/build/components/__shared__/Field/Field.js.map +1 -1
  731. package/build/components/__shared__/Field/index.js +1 -4
  732. package/build/components/__shared__/Field/index.js.map +1 -1
  733. package/build/components/__shared__/FieldOccupation/FieldOccupation.js +1 -4
  734. package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -1
  735. package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js +1 -4
  736. package/build/components/__shared__/FieldOccupation/FieldOccupation.l10n.js.map +1 -1
  737. package/build/components/__shared__/FieldOccupation/index.js +1 -4
  738. package/build/components/__shared__/FieldOccupation/index.js.map +1 -1
  739. package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js +1 -4
  740. package/build/components/__shared__/FieldPromocode/FieldPromocode.constants.js.map +1 -1
  741. package/build/components/__shared__/FieldPromocode/FieldPromocode.js +1 -4
  742. package/build/components/__shared__/FieldPromocode/FieldPromocode.js.map +1 -1
  743. package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js +1 -4
  744. package/build/components/__shared__/FieldPromocode/FieldPromocode.l10n.js.map +1 -1
  745. package/build/components/__shared__/FieldPromocode/index.js +1 -4
  746. package/build/components/__shared__/FieldPromocode/index.js.map +1 -1
  747. package/build/components/__shared__/Footer/Footer.js +1 -4
  748. package/build/components/__shared__/Footer/Footer.js.map +1 -1
  749. package/build/components/__shared__/Footer/Footer.l10n.js +1 -4
  750. package/build/components/__shared__/Footer/Footer.l10n.js.map +1 -1
  751. package/build/components/__shared__/Footer/index.js +1 -4
  752. package/build/components/__shared__/Footer/index.js.map +1 -1
  753. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js +1 -4
  754. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.js.map +1 -1
  755. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js +1 -4
  756. package/build/components/__shared__/NotificationRequiredFields/NotificationRequiredFields.l10n.js.map +1 -1
  757. package/build/components/__shared__/NotificationRequiredFields/index.js +1 -4
  758. package/build/components/__shared__/NotificationRequiredFields/index.js.map +1 -1
  759. package/build/components/__shared__/Occupation/Occupation.Group.js +1 -4
  760. package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
  761. package/build/components/__shared__/Occupation/Occupation.constants.js +1 -4
  762. package/build/components/__shared__/Occupation/Occupation.constants.js.map +1 -1
  763. package/build/components/__shared__/Occupation/Occupation.js +1 -4
  764. package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
  765. package/build/components/__shared__/Occupation/Occupation.l10n.js +1 -4
  766. package/build/components/__shared__/Occupation/Occupation.l10n.js.map +1 -1
  767. package/build/components/__shared__/Occupation/helpers/checkRoom.js +1 -4
  768. package/build/components/__shared__/Occupation/helpers/checkRoom.js.map +1 -1
  769. package/build/components/__shared__/Occupation/helpers/consolidateValue.js +1 -4
  770. package/build/components/__shared__/Occupation/helpers/consolidateValue.js.map +1 -1
  771. package/build/components/__shared__/Occupation/helpers/getAgeOptions.js +1 -4
  772. package/build/components/__shared__/Occupation/helpers/getAgeOptions.js.map +1 -1
  773. package/build/components/__shared__/Occupation/helpers/getScrollHeight.js +1 -4
  774. package/build/components/__shared__/Occupation/helpers/getScrollHeight.js.map +1 -1
  775. package/build/components/__shared__/Occupation/helpers/index.js +1 -4
  776. package/build/components/__shared__/Occupation/helpers/index.js.map +1 -1
  777. package/build/components/__shared__/Occupation/helpers/toParties.js +1 -4
  778. package/build/components/__shared__/Occupation/helpers/toParties.js.map +1 -1
  779. package/build/components/__shared__/Occupation/index.js +1 -4
  780. package/build/components/__shared__/Occupation/index.js.map +1 -1
  781. package/build/components/__shared__/Payment/Payment.constants.js +1 -4
  782. package/build/components/__shared__/Payment/Payment.constants.js.map +1 -1
  783. package/build/components/__shared__/Payment/Payment.js +1 -4
  784. package/build/components/__shared__/Payment/Payment.js.map +1 -1
  785. package/build/components/__shared__/Payment/Payment.l10n.js +1 -4
  786. package/build/components/__shared__/Payment/Payment.l10n.js.map +1 -1
  787. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js +1 -4
  788. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.constants.js.map +1 -1
  789. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +1 -4
  790. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
  791. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js +1 -4
  792. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.l10n.js.map +1 -1
  793. package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js +1 -4
  794. package/build/components/__shared__/Payment/components/AmazonPay/helpers/getScriptUrl.js.map +1 -1
  795. package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js +1 -4
  796. package/build/components/__shared__/Payment/components/AmazonPay/helpers/index.js.map +1 -1
  797. package/build/components/__shared__/Payment/components/AmazonPay/index.js +1 -4
  798. package/build/components/__shared__/Payment/components/AmazonPay/index.js.map +1 -1
  799. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +1 -4
  800. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
  801. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js +1 -4
  802. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.l10n.js.map +1 -1
  803. package/build/components/__shared__/Payment/components/Aplazame/index.js +1 -4
  804. package/build/components/__shared__/Payment/components/Aplazame/index.js.map +1 -1
  805. package/build/components/__shared__/Payment/components/Card/Card.constants.js +1 -4
  806. package/build/components/__shared__/Payment/components/Card/Card.constants.js.map +1 -1
  807. package/build/components/__shared__/Payment/components/Card/Card.js +1 -4
  808. package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
  809. package/build/components/__shared__/Payment/components/Card/Card.l10n.js +1 -4
  810. package/build/components/__shared__/Payment/components/Card/Card.l10n.js.map +1 -1
  811. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js +1 -4
  812. package/build/components/__shared__/Payment/components/Card/helpers/formatValues.js.map +1 -1
  813. package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js +1 -4
  814. package/build/components/__shared__/Payment/components/Card/helpers/getCardConfig.js.map +1 -1
  815. package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js +1 -4
  816. package/build/components/__shared__/Payment/components/Card/helpers/getCardType.js.map +1 -1
  817. package/build/components/__shared__/Payment/components/Card/helpers/index.js +1 -4
  818. package/build/components/__shared__/Payment/components/Card/helpers/index.js.map +1 -1
  819. package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js +1 -4
  820. package/build/components/__shared__/Payment/components/Card/helpers/testCVV.js.map +1 -1
  821. package/build/components/__shared__/Payment/components/Card/helpers/testCard.js +1 -4
  822. package/build/components/__shared__/Payment/components/Card/helpers/testCard.js.map +1 -1
  823. package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js +1 -4
  824. package/build/components/__shared__/Payment/components/Card/helpers/testExpire.js.map +1 -1
  825. package/build/components/__shared__/Payment/components/Card/index.js +1 -4
  826. package/build/components/__shared__/Payment/components/Card/index.js.map +1 -1
  827. package/build/components/__shared__/Payment/components/PCI/PCI.constants.js +1 -4
  828. package/build/components/__shared__/Payment/components/PCI/PCI.constants.js.map +1 -1
  829. package/build/components/__shared__/Payment/components/PCI/PCI.js +1 -4
  830. package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
  831. package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js +1 -4
  832. package/build/components/__shared__/Payment/components/PCI/PCI.l10n.js.map +1 -1
  833. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js +1 -4
  834. package/build/components/__shared__/Payment/components/PCI/helpers/formatValues.js.map +1 -1
  835. package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js +1 -4
  836. package/build/components/__shared__/Payment/components/PCI/helpers/getStyle.js.map +1 -1
  837. package/build/components/__shared__/Payment/components/PCI/helpers/index.js +1 -4
  838. package/build/components/__shared__/Payment/components/PCI/helpers/index.js.map +1 -1
  839. package/build/components/__shared__/Payment/components/PCI/index.js +1 -4
  840. package/build/components/__shared__/Payment/components/PCI/index.js.map +1 -1
  841. package/build/components/__shared__/Payment/components/Tpv/Tpv.js +1 -4
  842. package/build/components/__shared__/Payment/components/Tpv/Tpv.js.map +1 -1
  843. package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js +1 -4
  844. package/build/components/__shared__/Payment/components/Tpv/Tpv.l10n.js.map +1 -1
  845. package/build/components/__shared__/Payment/components/Tpv/index.js +1 -4
  846. package/build/components/__shared__/Payment/components/Tpv/index.js.map +1 -1
  847. package/build/components/__shared__/Payment/components/index.js +1 -4
  848. package/build/components/__shared__/Payment/components/index.js.map +1 -1
  849. package/build/components/__shared__/Payment/helpers/formatExpire.js +1 -4
  850. package/build/components/__shared__/Payment/helpers/formatExpire.js.map +1 -1
  851. package/build/components/__shared__/Payment/helpers/getCaption.js +1 -4
  852. package/build/components/__shared__/Payment/helpers/getCaption.js.map +1 -1
  853. package/build/components/__shared__/Payment/helpers/getComponent.js +1 -4
  854. package/build/components/__shared__/Payment/helpers/getComponent.js.map +1 -1
  855. package/build/components/__shared__/Payment/helpers/getImage.js +1 -4
  856. package/build/components/__shared__/Payment/helpers/getImage.js.map +1 -1
  857. package/build/components/__shared__/Payment/helpers/index.js +1 -4
  858. package/build/components/__shared__/Payment/helpers/index.js.map +1 -1
  859. package/build/components/__shared__/Payment/index.js +1 -4
  860. package/build/components/__shared__/Payment/index.js.map +1 -1
  861. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +1 -4
  862. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -1
  863. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js +1 -4
  864. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.js.map +1 -1
  865. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js +1 -4
  866. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.l10n.js.map +1 -1
  867. package/build/components/__shared__/PriceBreakdown/index.js +1 -4
  868. package/build/components/__shared__/PriceBreakdown/index.js.map +1 -1
  869. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js +1 -4
  870. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.constants.js.map +1 -1
  871. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js +1 -4
  872. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.js.map +1 -1
  873. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js +1 -4
  874. package/build/components/__shared__/SelectEnvironment/SelectEnvironment.l10n.js.map +1 -1
  875. package/build/components/__shared__/SelectEnvironment/index.js +1 -4
  876. package/build/components/__shared__/SelectEnvironment/index.js.map +1 -1
  877. package/build/components/__shared__/Skeleton/Skeleton.js +1 -4
  878. package/build/components/__shared__/Skeleton/Skeleton.js.map +1 -1
  879. package/build/components/__shared__/Skeleton/index.js +1 -4
  880. package/build/components/__shared__/Skeleton/index.js.map +1 -1
  881. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js +1 -4
  882. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.js.map +1 -1
  883. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js +1 -4
  884. package/build/components/__shared__/TextRequiredFields/TextRequiredFields.l10n.js.map +1 -1
  885. package/build/components/__shared__/TextRequiredFields/index.js +1 -4
  886. package/build/components/__shared__/TextRequiredFields/index.js.map +1 -1
  887. package/build/components/__shared__/index.js +1 -4
  888. package/build/components/__shared__/index.js.map +1 -1
  889. package/build/components/helpers/ICON.AMENITIES.js +1 -4
  890. package/build/components/helpers/ICON.AMENITIES.js.map +1 -1
  891. package/build/components/helpers/ICON.js +1 -4
  892. package/build/components/helpers/ICON.js.map +1 -1
  893. package/build/components/helpers/addScript.js +1 -4
  894. package/build/components/helpers/addScript.js.map +1 -1
  895. package/build/components/helpers/constants.js +1 -4
  896. package/build/components/helpers/constants.js.map +1 -1
  897. package/build/components/helpers/generateId.js +1 -4
  898. package/build/components/helpers/generateId.js.map +1 -1
  899. package/build/components/helpers/getAccommodationLabel.js +1 -4
  900. package/build/components/helpers/getAccommodationLabel.js.map +1 -1
  901. package/build/components/helpers/getAccommodationType.js +1 -4
  902. package/build/components/helpers/getAccommodationType.js.map +1 -1
  903. package/build/components/helpers/getAgeRange.js +1 -4
  904. package/build/components/helpers/getAgeRange.js.map +1 -1
  905. package/build/components/helpers/getCalendarCaption.js +1 -4
  906. package/build/components/helpers/getCalendarCaption.js.map +1 -1
  907. package/build/components/helpers/getCountryCode.js +1 -4
  908. package/build/components/helpers/getCountryCode.js.map +1 -1
  909. package/build/components/helpers/getGuestLabel.js +1 -4
  910. package/build/components/helpers/getGuestLabel.js.map +1 -1
  911. package/build/components/helpers/getNormalizedLocale.js +1 -4
  912. package/build/components/helpers/getNormalizedLocale.js.map +1 -1
  913. package/build/components/helpers/getOccupationLabel.js +1 -4
  914. package/build/components/helpers/getOccupationLabel.js.map +1 -1
  915. package/build/components/helpers/getOccupationSummary.js +1 -4
  916. package/build/components/helpers/getOccupationSummary.js.map +1 -1
  917. package/build/components/helpers/getOccupationTotals.js +1 -4
  918. package/build/components/helpers/getOccupationTotals.js.map +1 -1
  919. package/build/components/helpers/getRoomNumber.js +1 -4
  920. package/build/components/helpers/getRoomNumber.js.map +1 -1
  921. package/build/components/helpers/getRoomOccupationLabel.js +1 -4
  922. package/build/components/helpers/getRoomOccupationLabel.js.map +1 -1
  923. package/build/components/helpers/index.js +1 -4
  924. package/build/components/helpers/index.js.map +1 -1
  925. package/build/components/helpers/isJest.js +1 -4
  926. package/build/components/helpers/isJest.js.map +1 -1
  927. package/build/components/helpers/opacity.js +1 -4
  928. package/build/components/helpers/opacity.js.map +1 -1
  929. package/build/components/helpers/parseHtml.js +1 -4
  930. package/build/components/helpers/parseHtml.js.map +1 -1
  931. package/build/components/helpers/parseToParties.js +1 -4
  932. package/build/components/helpers/parseToParties.js.map +1 -1
  933. package/build/components/helpers/parseValue.js +1 -4
  934. package/build/components/helpers/parseValue.js.map +1 -1
  935. package/build/components/helpers/replaceUrlParams.js +1 -4
  936. package/build/components/helpers/replaceUrlParams.js.map +1 -1
  937. package/build/components/helpers/template.js +1 -4
  938. package/build/components/helpers/template.js.map +1 -1
  939. package/build/components/helpers/testPassword.js +1 -4
  940. package/build/components/helpers/testPassword.js.map +1 -1
  941. package/build/components/helpers/toQueryString.js +1 -4
  942. package/build/components/helpers/toQueryString.js.map +1 -1
  943. package/build/components/helpers/toUrlParams.js +1 -4
  944. package/build/components/helpers/toUrlParams.js.map +1 -1
  945. package/build/components/helpers/trace.js +1 -4
  946. package/build/components/helpers/trace.js.map +1 -1
  947. package/build/components/helpers/valueFormat.js +1 -4
  948. package/build/components/helpers/valueFormat.js.map +1 -1
  949. package/build/components/index.js +1 -4
  950. package/build/components/index.js.map +1 -1
  951. package/build/contexts/EventManager/EventManager.constants.js +1 -4
  952. package/build/contexts/EventManager/EventManager.constants.js.map +1 -1
  953. package/build/contexts/EventManager/EventManager.js +1 -4
  954. package/build/contexts/EventManager/EventManager.js.map +1 -1
  955. package/build/contexts/EventManager/index.js +1 -4
  956. package/build/contexts/EventManager/index.js.map +1 -1
  957. package/build/contexts/PerformanceManager/PerformanceManager.constants.js +1 -4
  958. package/build/contexts/PerformanceManager/PerformanceManager.constants.js.map +1 -1
  959. package/build/contexts/PerformanceManager/PerformanceManager.events.js +1 -4
  960. package/build/contexts/PerformanceManager/PerformanceManager.events.js.map +1 -1
  961. package/build/contexts/PerformanceManager/PerformanceManager.js +1 -4
  962. package/build/contexts/PerformanceManager/PerformanceManager.js.map +1 -1
  963. package/build/contexts/PerformanceManager/PerformanceManager.scripts.js +1 -4
  964. package/build/contexts/PerformanceManager/PerformanceManager.scripts.js.map +1 -1
  965. package/build/contexts/PerformanceManager/helpers/dataLayerPush.js +1 -4
  966. package/build/contexts/PerformanceManager/helpers/dataLayerPush.js.map +1 -1
  967. package/build/contexts/PerformanceManager/helpers/getConsentMode.js +1 -4
  968. package/build/contexts/PerformanceManager/helpers/getConsentMode.js.map +1 -1
  969. package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js +1 -4
  970. package/build/contexts/PerformanceManager/helpers/getPerformanceLabel.js.map +1 -1
  971. package/build/contexts/PerformanceManager/helpers/index.js +1 -4
  972. package/build/contexts/PerformanceManager/helpers/index.js.map +1 -1
  973. package/build/contexts/PerformanceManager/index.js +1 -4
  974. package/build/contexts/PerformanceManager/index.js.map +1 -1
  975. package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js +1 -4
  976. package/build/contexts/PerformanceManager/providers/affilired/bookingResponse.js.map +1 -1
  977. package/build/contexts/PerformanceManager/providers/affilired/index.js +1 -4
  978. package/build/contexts/PerformanceManager/providers/affilired/index.js.map +1 -1
  979. package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js +1 -4
  980. package/build/contexts/PerformanceManager/providers/analytics/bookingCancel.js.map +1 -1
  981. package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js +1 -4
  982. package/build/contexts/PerformanceManager/providers/analytics/bookingResponse.js.map +1 -1
  983. package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js +1 -4
  984. package/build/contexts/PerformanceManager/providers/analytics/checkoutForm.js.map +1 -1
  985. package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js +1 -4
  986. package/build/contexts/PerformanceManager/providers/analytics/checkoutResponse.js.map +1 -1
  987. package/build/contexts/PerformanceManager/providers/analytics/finderReady.js +1 -4
  988. package/build/contexts/PerformanceManager/providers/analytics/finderReady.js.map +1 -1
  989. package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js +1 -4
  990. package/build/contexts/PerformanceManager/providers/analytics/helpers/index.js.map +1 -1
  991. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js +1 -4
  992. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseCommon.js.map +1 -1
  993. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js +1 -4
  994. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseItems.js.map +1 -1
  995. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js +1 -4
  996. package/build/contexts/PerformanceManager/providers/analytics/helpers/parseRate.js.map +1 -1
  997. package/build/contexts/PerformanceManager/providers/analytics/index.js +1 -4
  998. package/build/contexts/PerformanceManager/providers/analytics/index.js.map +1 -1
  999. package/build/contexts/PerformanceManager/providers/analytics/logged.js +1 -4
  1000. package/build/contexts/PerformanceManager/providers/analytics/logged.js.map +1 -1
  1001. package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js +1 -4
  1002. package/build/contexts/PerformanceManager/providers/analytics/ratesAddToCart.js.map +1 -1
  1003. package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js +1 -4
  1004. package/build/contexts/PerformanceManager/providers/analytics/ratesResponse.js.map +1 -1
  1005. package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js +1 -4
  1006. package/build/contexts/PerformanceManager/providers/bing/bookingResponse.js.map +1 -1
  1007. package/build/contexts/PerformanceManager/providers/bing/index.js +1 -4
  1008. package/build/contexts/PerformanceManager/providers/bing/index.js.map +1 -1
  1009. package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js +1 -4
  1010. package/build/contexts/PerformanceManager/providers/facebook/bookingResponse.js.map +1 -1
  1011. package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js +1 -4
  1012. package/build/contexts/PerformanceManager/providers/facebook/checkoutResponse.js.map +1 -1
  1013. package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js +1 -4
  1014. package/build/contexts/PerformanceManager/providers/facebook/helpers/getCookies.js.map +1 -1
  1015. package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js +1 -4
  1016. package/build/contexts/PerformanceManager/providers/facebook/helpers/index.js.map +1 -1
  1017. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js +1 -4
  1018. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseCustomData.js.map +1 -1
  1019. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js +1 -4
  1020. package/build/contexts/PerformanceManager/providers/facebook/helpers/parseUserData.js.map +1 -1
  1021. package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js +1 -4
  1022. package/build/contexts/PerformanceManager/providers/facebook/helpers/sendData.js.map +1 -1
  1023. package/build/contexts/PerformanceManager/providers/facebook/index.js +1 -4
  1024. package/build/contexts/PerformanceManager/providers/facebook/index.js.map +1 -1
  1025. package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js +1 -4
  1026. package/build/contexts/PerformanceManager/providers/facebook/ratesAddToCart.js.map +1 -1
  1027. package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js +1 -4
  1028. package/build/contexts/PerformanceManager/providers/facebook/ratesResponse.js.map +1 -1
  1029. package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js +1 -4
  1030. package/build/contexts/PerformanceManager/providers/googleAds/bookingResponse.js.map +1 -1
  1031. package/build/contexts/PerformanceManager/providers/googleAds/index.js +1 -4
  1032. package/build/contexts/PerformanceManager/providers/googleAds/index.js.map +1 -1
  1033. package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js +1 -4
  1034. package/build/contexts/PerformanceManager/providers/gtm/bookingCancel.js.map +1 -1
  1035. package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js +1 -4
  1036. package/build/contexts/PerformanceManager/providers/gtm/bookingResponse.js.map +1 -1
  1037. package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js +1 -4
  1038. package/build/contexts/PerformanceManager/providers/gtm/checkoutResponse.js.map +1 -1
  1039. package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js +1 -4
  1040. package/build/contexts/PerformanceManager/providers/gtm/duetto/bookingResponse.js.map +1 -1
  1041. package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js +1 -4
  1042. package/build/contexts/PerformanceManager/providers/gtm/duetto/index.js.map +1 -1
  1043. package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js +1 -4
  1044. package/build/contexts/PerformanceManager/providers/gtm/duetto/ratesResponse.js.map +1 -1
  1045. package/build/contexts/PerformanceManager/providers/gtm/finderReady.js +1 -4
  1046. package/build/contexts/PerformanceManager/providers/gtm/finderReady.js.map +1 -1
  1047. package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js +1 -4
  1048. package/build/contexts/PerformanceManager/providers/gtm/helpers/getInitEvent.js.map +1 -1
  1049. package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js +1 -4
  1050. package/build/contexts/PerformanceManager/providers/gtm/helpers/index.js.map +1 -1
  1051. package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js +1 -4
  1052. package/build/contexts/PerformanceManager/providers/gtm/helpers/parseRate.js.map +1 -1
  1053. package/build/contexts/PerformanceManager/providers/gtm/index.js +1 -4
  1054. package/build/contexts/PerformanceManager/providers/gtm/index.js.map +1 -1
  1055. package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js +1 -4
  1056. package/build/contexts/PerformanceManager/providers/gtm/ratesResponse.js.map +1 -1
  1057. package/build/contexts/PerformanceManager/providers/helpers/SHA256.js +1 -4
  1058. package/build/contexts/PerformanceManager/providers/helpers/SHA256.js.map +1 -1
  1059. package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js +1 -4
  1060. package/build/contexts/PerformanceManager/providers/helpers/getFirstOccupationOption.js.map +1 -1
  1061. package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js +1 -4
  1062. package/build/contexts/PerformanceManager/providers/helpers/getRatesPriceRange.js.map +1 -1
  1063. package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js +1 -4
  1064. package/build/contexts/PerformanceManager/providers/helpers/getRoomPriceRange.js.map +1 -1
  1065. package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js +1 -4
  1066. package/build/contexts/PerformanceManager/providers/helpers/getRoomsPriceRange.js.map +1 -1
  1067. package/build/contexts/PerformanceManager/providers/helpers/index.js +1 -4
  1068. package/build/contexts/PerformanceManager/providers/helpers/index.js.map +1 -1
  1069. package/build/contexts/PerformanceManager/providers/helpers/legacy.js +1 -4
  1070. package/build/contexts/PerformanceManager/providers/helpers/legacy.js.map +1 -1
  1071. package/build/contexts/PerformanceManager/providers/index.js +1 -4
  1072. package/build/contexts/PerformanceManager/providers/index.js.map +1 -1
  1073. package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js +1 -4
  1074. package/build/contexts/PerformanceManager/providers/mirai/bookingResponse.js.map +1 -1
  1075. package/build/contexts/PerformanceManager/providers/mirai/index.js +1 -4
  1076. package/build/contexts/PerformanceManager/providers/mirai/index.js.map +1 -1
  1077. package/build/contexts/index.js +1 -4
  1078. package/build/contexts/index.js.map +1 -1
  1079. package/build/helpers/checkSession.js +1 -4
  1080. package/build/helpers/checkSession.js.map +1 -1
  1081. package/build/helpers/consolidateStore.js +1 -4
  1082. package/build/helpers/consolidateStore.js.map +1 -1
  1083. package/build/helpers/debounce.js +1 -4
  1084. package/build/helpers/debounce.js.map +1 -1
  1085. package/build/helpers/fetchConfig.js +1 -4
  1086. package/build/helpers/fetchConfig.js.map +1 -1
  1087. package/build/helpers/fetchCookies.js +1 -4
  1088. package/build/helpers/fetchCookies.js.map +1 -1
  1089. package/build/helpers/fetchCurrency.js +1 -4
  1090. package/build/helpers/fetchCurrency.js.map +1 -1
  1091. package/build/helpers/fetchSession.js +1 -4
  1092. package/build/helpers/fetchSession.js.map +1 -1
  1093. package/build/helpers/fetchUrlParams.js +1 -4
  1094. package/build/helpers/fetchUrlParams.js.map +1 -1
  1095. package/build/helpers/findComponents.js +1 -4
  1096. package/build/helpers/findComponents.js.map +1 -1
  1097. package/build/helpers/findDangerousCSSRules.js +1 -4
  1098. package/build/helpers/findDangerousCSSRules.js.map +1 -1
  1099. package/build/helpers/findInstance.js +1 -4
  1100. package/build/helpers/findInstance.js.map +1 -1
  1101. package/build/helpers/getAccommodationType.js +1 -4
  1102. package/build/helpers/getAccommodationType.js.map +1 -1
  1103. package/build/helpers/getClubUrl.js +1 -4
  1104. package/build/helpers/getClubUrl.js.map +1 -1
  1105. package/build/helpers/getContents.js +1 -4
  1106. package/build/helpers/getContents.js.map +1 -1
  1107. package/build/helpers/getGhost.js +1 -4
  1108. package/build/helpers/getGhost.js.map +1 -1
  1109. package/build/helpers/getLocale.js +1 -4
  1110. package/build/helpers/getLocale.js.map +1 -1
  1111. package/build/helpers/getMetaRates.js +1 -4
  1112. package/build/helpers/getMetaRates.js.map +1 -1
  1113. package/build/helpers/getPerformance.js +1 -4
  1114. package/build/helpers/getPerformance.js.map +1 -1
  1115. package/build/helpers/getTags.js +1 -4
  1116. package/build/helpers/getTags.js.map +1 -1
  1117. package/build/helpers/index.js +1 -4
  1118. package/build/helpers/index.js.map +1 -1
  1119. package/build/helpers/loadEnvironment.js +1 -4
  1120. package/build/helpers/loadEnvironment.js.map +1 -1
  1121. package/build/helpers/loadScript.js +1 -4
  1122. package/build/helpers/loadScript.js.map +1 -1
  1123. package/build/helpers/loadSentry.js +1 -4
  1124. package/build/helpers/loadSentry.js.map +1 -1
  1125. package/build/helpers/prepareRoom.js +1 -4
  1126. package/build/helpers/prepareRoom.js.map +1 -1
  1127. package/build/helpers/sanitizeComponent.js +1 -4
  1128. package/build/helpers/sanitizeComponent.js.map +1 -1
  1129. package/build/helpers/theme.js +1 -4
  1130. package/build/helpers/theme.js.map +1 -1
  1131. package/build/helpers/themeDirection.js +1 -4
  1132. package/build/helpers/themeDirection.js.map +1 -1
  1133. package/build/helpers/toOccupation.js +1 -4
  1134. package/build/helpers/toOccupation.js.map +1 -1
  1135. package/build/index.js +1 -4
  1136. package/build/index.js.map +1 -1
  1137. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"calcTooltips.js","sources":["../../../../../../src/components/Finder/components/Calendar/helpers/calcTooltips.js"],"sourcesContent":["import { dateFormat, isDate, translate as translateBase } from '@mirai/locale';\n\nimport { calcMinStay } from './calcMinStay';\nimport { CALENDAR_FORMAT as format } from '../../../../helpers';\nimport { L10N } from '../Calendar.l10n';\n\nexport const calcTooltips = ({\n from,\n minStayDates,\n minStayType,\n rangeMinDays: propRangeMinDays,\n to,\n translate = translateBase,\n} = {}) => {\n if (!isDate(from) || (to && !isDate(to))) return;\n\n const value = {};\n const rangeMinDays = calcMinStay({ from, minStayDates, minStayType, rangeMinDays: propRangeMinDays, to });\n\n if (minStayType !== undefined && from && !to && rangeMinDays > 1) {\n value[dateFormat(from, { format })] = {\n text: translate(L10N.LABEL_MIN_NIGHTS, { value: rangeMinDays }),\n pressable: false,\n };\n }\n\n return value;\n};\n"],"names":["_locale","require","_calcMinStay","_helpers","_Calendar","calcTooltips","from","minStayDates","minStayType","rangeMinDays","propRangeMinDays","to","translate","translateBase","arguments","length","undefined","isDate","value","calcMinStay","dateFormat","format","text","L10N","LABEL_MIN_NIGHTS","pressable","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEO,MAAMI,YAAY,GAAG,SAAAA,CAAA,EAOjB;EAAA,IAPkB;IAC3BC,IAAI;IACJC,YAAY;IACZC,WAAW;IACXC,YAAY,EAAEC,gBAAgB;IAC9BC,EAAE;IACFC,SAAS,GAAGC;EACd,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACJ,IAAI,CAAC,IAAAG,cAAM,EAACX,IAAI,CAAC,IAAKK,EAAE,IAAI,CAAC,IAAAM,cAAM,EAACN,EAAE,CAAE,EAAE;EAE1C,MAAMO,KAAK,GAAG,CAAC,CAAC;EAChB,MAAMT,YAAY,GAAG,IAAAU,wBAAW,EAAC;IAAEb,IAAI;IAAEC,YAAY;IAAEC,WAAW;IAAEC,YAAY,EAAEC,gBAAgB;IAAEC;EAAG,CAAC,CAAC;EAEzG,IAAIH,WAAW,KAAKQ,SAAS,IAAIV,IAAI,IAAI,CAACK,EAAE,IAAIF,YAAY,GAAG,CAAC,EAAE;IAChES,KAAK,CAAC,IAAAE,kBAAU,EAACd,IAAI,EAAE;MAAEe,MAAM,EAANA;IAAO,CAAC,CAAC,CAAC,GAAG;MACpCC,IAAI,EAAEV,SAAS,CAACW,cAAI,CAACC,gBAAgB,EAAE;QAAEN,KAAK,EAAET;MAAa,CAAC,CAAC;MAC/DgB,SAAS,EAAE;IACb,CAAC;EACH;EAEA,OAAOP,KAAK;AACd,CAAC;AAACQ,OAAA,CAAArB,YAAA,GAAAA,YAAA","debug_id":"183f67e9-f8a9-54e3-9b77-0e0f2d2ead52"}
1
+ {"version":3,"file":"calcTooltips.js","names":["_locale","require","_calcMinStay","_helpers","_Calendar","calcTooltips","from","minStayDates","minStayType","rangeMinDays","propRangeMinDays","to","translate","translateBase","arguments","length","undefined","isDate","value","calcMinStay","dateFormat","format","text","L10N","LABEL_MIN_NIGHTS","pressable","exports"],"sources":["../../../../../../src/components/Finder/components/Calendar/helpers/calcTooltips.js"],"sourcesContent":["import { dateFormat, isDate, translate as translateBase } from '@mirai/locale';\n\nimport { calcMinStay } from './calcMinStay';\nimport { CALENDAR_FORMAT as format } from '../../../../helpers';\nimport { L10N } from '../Calendar.l10n';\n\nexport const calcTooltips = ({\n from,\n minStayDates,\n minStayType,\n rangeMinDays: propRangeMinDays,\n to,\n translate = translateBase,\n} = {}) => {\n if (!isDate(from) || (to && !isDate(to))) return;\n\n const value = {};\n const rangeMinDays = calcMinStay({ from, minStayDates, minStayType, rangeMinDays: propRangeMinDays, to });\n\n if (minStayType !== undefined && from && !to && rangeMinDays > 1) {\n value[dateFormat(from, { format })] = {\n text: translate(L10N.LABEL_MIN_NIGHTS, { value: rangeMinDays }),\n pressable: false,\n };\n }\n\n return value;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAEO,MAAMI,YAAY,GAAG,SAAAA,CAAA,EAOjB;EAAA,IAPkB;IAC3BC,IAAI;IACJC,YAAY;IACZC,WAAW;IACXC,YAAY,EAAEC,gBAAgB;IAC9BC,EAAE;IACFC,SAAS,GAAGC;EACd,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACJ,IAAI,CAAC,IAAAG,cAAM,EAACX,IAAI,CAAC,IAAKK,EAAE,IAAI,CAAC,IAAAM,cAAM,EAACN,EAAE,CAAE,EAAE;EAE1C,MAAMO,KAAK,GAAG,CAAC,CAAC;EAChB,MAAMT,YAAY,GAAG,IAAAU,wBAAW,EAAC;IAAEb,IAAI;IAAEC,YAAY;IAAEC,WAAW;IAAEC,YAAY,EAAEC,gBAAgB;IAAEC;EAAG,CAAC,CAAC;EAEzG,IAAIH,WAAW,KAAKQ,SAAS,IAAIV,IAAI,IAAI,CAACK,EAAE,IAAIF,YAAY,GAAG,CAAC,EAAE;IAChES,KAAK,CAAC,IAAAE,kBAAU,EAACd,IAAI,EAAE;MAAEe,MAAM,EAANA;IAAO,CAAC,CAAC,CAAC,GAAG;MACpCC,IAAI,EAAEV,SAAS,CAACW,cAAI,CAACC,gBAAgB,EAAE;QAAEN,KAAK,EAAET;MAAa,CAAC,CAAC;MAC/DgB,SAAS,EAAE;IACb,CAAC;EACH;EAEA,OAAOP,KAAK;AACd,CAAC;AAACQ,OAAA,CAAArB,YAAA,GAAAA,YAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b3f9f9ef-8ef8-51bd-afdc-01451c310dcd")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -48,5 +46,4 @@ const fetchPrices = async function () {
48
46
  return next;
49
47
  };
50
48
  exports.fetchPrices = fetchPrices;
51
- //# sourceMappingURL=fetchPrices.js.map
52
- //# debugId=b3f9f9ef-8ef8-51bd-afdc-01451c310dcd
49
+ //# sourceMappingURL=fetchPrices.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetchPrices.js","sources":["../../../../../../src/components/Finder/components/Calendar/helpers/fetchPrices.js"],"sourcesContent":["import { currencyFormat, dateCalc, dateFormat } from '@mirai/locale';\nimport { ServicePricing } from '@mirai/services';\n\nimport { CALENDAR_FORMAT } from '../../../../helpers';\n\nconst MONTHS = 1;\n\nexport const fetchPrices = async ({ currency, from, id, locale, rangeMonths = 2 } = {}) => {\n const responses = await Promise.all(\n Array.from(Array(rangeMonths).keys()).map((index) =>\n ServicePricing.getStatic(\n id,\n dateFormat(index ? dateCalc(new Date(from?.getFullYear(), from?.getMonth(), 1), index, 'months') : from, {\n format: CALENDAR_FORMAT,\n }),\n MONTHS,\n currency,\n ).catch(() => ({})),\n ),\n );\n\n const next = { currency, values: {} };\n\n responses.forEach(({ currency, prices = {} } = {}) => {\n const common = { currency, fancy: true, locale, symbol: true };\n\n if (currency) next.currency = currency;\n\n Object.entries(prices).forEach(([date, price]) => {\n if (price) next.values[date] = currencyFormat({ ...common, value: price });\n });\n });\n\n return next;\n};\n"],"names":["_locale","require","_services","_helpers","MONTHS","fetchPrices","currency","from","id","locale","rangeMonths","arguments","length","undefined","responses","Promise","all","Array","keys","map","index","ServicePricing","getStatic","dateFormat","dateCalc","Date","getFullYear","getMonth","format","CALENDAR_FORMAT","catch","next","values","forEach","prices","common","fancy","symbol","Object","entries","_ref","date","price","currencyFormat","value","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AAEA,MAAMG,MAAM,GAAG,CAAC;AAET,MAAMC,WAAW,GAAG,eAAAA,CAAA,EAAgE;EAAA,IAAzD;IAAEC,QAAQ;IAAEC,IAAI;IAAEC,EAAE;IAAEC,MAAM;IAAEC,WAAW,GAAG;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACpF,MAAMG,SAAS,GAAG,MAAMC,OAAO,CAACC,GAAG,CACjCC,KAAK,CAACV,IAAI,CAACU,KAAK,CAACP,WAAW,CAAC,CAACQ,IAAI,CAAC,CAAC,CAAC,CAACC,GAAG,CAAEC,KAAK,IAC9CC,wBAAc,CAACC,SAAS,CACtBd,EAAE,EACF,IAAAe,kBAAU,EAACH,KAAK,GAAG,IAAAI,gBAAQ,EAAC,IAAIC,IAAI,CAAClB,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEmB,WAAW,CAAC,CAAC,EAAEnB,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEoB,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,EAAEP,KAAK,EAAE,QAAQ,CAAC,GAAGb,IAAI,EAAE;IACvGqB,MAAM,EAAEC;EACV,CAAC,CAAC,EACFzB,MAAM,EACNE,QACF,CAAC,CAACwB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CACpB,CACF,CAAC;EAED,MAAMC,IAAI,GAAG;IAAEzB,QAAQ;IAAE0B,MAAM,EAAE,CAAC;EAAE,CAAC;EAErClB,SAAS,CAACmB,OAAO,CAAC,YAAoC;IAAA,IAAnC;MAAE3B,QAAQ;MAAE4B,MAAM,GAAG,CAAC;IAAE,CAAC,GAAAvB,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;IAC/C,MAAMwB,MAAM,GAAG;MAAE7B,QAAQ;MAAE8B,KAAK,EAAE,IAAI;MAAE3B,MAAM;MAAE4B,MAAM,EAAE;IAAK,CAAC;IAE9D,IAAI/B,QAAQ,EAAEyB,IAAI,CAACzB,QAAQ,GAAGA,QAAQ;IAEtCgC,MAAM,CAACC,OAAO,CAACL,MAAM,CAAC,CAACD,OAAO,CAACO,IAAA,IAAmB;MAAA,IAAlB,CAACC,IAAI,EAAEC,KAAK,CAAC,GAAAF,IAAA;MAC3C,IAAIE,KAAK,EAAEX,IAAI,CAACC,MAAM,CAACS,IAAI,CAAC,GAAG,IAAAE,sBAAc,EAAC;QAAE,GAAGR,MAAM;QAAES,KAAK,EAAEF;MAAM,CAAC,CAAC;IAC5E,CAAC,CAAC;EACJ,CAAC,CAAC;EAEF,OAAOX,IAAI;AACb,CAAC;AAACc,OAAA,CAAAxC,WAAA,GAAAA,WAAA","debug_id":"b3f9f9ef-8ef8-51bd-afdc-01451c310dcd"}
1
+ {"version":3,"file":"fetchPrices.js","names":["_locale","require","_services","_helpers","MONTHS","fetchPrices","currency","from","id","locale","rangeMonths","arguments","length","undefined","responses","Promise","all","Array","keys","map","index","ServicePricing","getStatic","dateFormat","dateCalc","Date","getFullYear","getMonth","format","CALENDAR_FORMAT","catch","next","values","forEach","prices","common","fancy","symbol","Object","entries","_ref","date","price","currencyFormat","value","exports"],"sources":["../../../../../../src/components/Finder/components/Calendar/helpers/fetchPrices.js"],"sourcesContent":["import { currencyFormat, dateCalc, dateFormat } from '@mirai/locale';\nimport { ServicePricing } from '@mirai/services';\n\nimport { CALENDAR_FORMAT } from '../../../../helpers';\n\nconst MONTHS = 1;\n\nexport const fetchPrices = async ({ currency, from, id, locale, rangeMonths = 2 } = {}) => {\n const responses = await Promise.all(\n Array.from(Array(rangeMonths).keys()).map((index) =>\n ServicePricing.getStatic(\n id,\n dateFormat(index ? dateCalc(new Date(from?.getFullYear(), from?.getMonth(), 1), index, 'months') : from, {\n format: CALENDAR_FORMAT,\n }),\n MONTHS,\n currency,\n ).catch(() => ({})),\n ),\n );\n\n const next = { currency, values: {} };\n\n responses.forEach(({ currency, prices = {} } = {}) => {\n const common = { currency, fancy: true, locale, symbol: true };\n\n if (currency) next.currency = currency;\n\n Object.entries(prices).forEach(([date, price]) => {\n if (price) next.values[date] = currencyFormat({ ...common, value: price });\n });\n });\n\n return next;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AAEA,MAAMG,MAAM,GAAG,CAAC;AAET,MAAMC,WAAW,GAAG,eAAAA,CAAA,EAAgE;EAAA,IAAzD;IAAEC,QAAQ;IAAEC,IAAI;IAAEC,EAAE;IAAEC,MAAM;IAAEC,WAAW,GAAG;EAAE,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACpF,MAAMG,SAAS,GAAG,MAAMC,OAAO,CAACC,GAAG,CACjCC,KAAK,CAACV,IAAI,CAACU,KAAK,CAACP,WAAW,CAAC,CAACQ,IAAI,CAAC,CAAC,CAAC,CAACC,GAAG,CAAEC,KAAK,IAC9CC,wBAAc,CAACC,SAAS,CACtBd,EAAE,EACF,IAAAe,kBAAU,EAACH,KAAK,GAAG,IAAAI,gBAAQ,EAAC,IAAIC,IAAI,CAAClB,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEmB,WAAW,CAAC,CAAC,EAAEnB,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEoB,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,EAAEP,KAAK,EAAE,QAAQ,CAAC,GAAGb,IAAI,EAAE;IACvGqB,MAAM,EAAEC;EACV,CAAC,CAAC,EACFzB,MAAM,EACNE,QACF,CAAC,CAACwB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CACpB,CACF,CAAC;EAED,MAAMC,IAAI,GAAG;IAAEzB,QAAQ;IAAE0B,MAAM,EAAE,CAAC;EAAE,CAAC;EAErClB,SAAS,CAACmB,OAAO,CAAC,YAAoC;IAAA,IAAnC;MAAE3B,QAAQ;MAAE4B,MAAM,GAAG,CAAC;IAAE,CAAC,GAAAvB,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;IAC/C,MAAMwB,MAAM,GAAG;MAAE7B,QAAQ;MAAE8B,KAAK,EAAE,IAAI;MAAE3B,MAAM;MAAE4B,MAAM,EAAE;IAAK,CAAC;IAE9D,IAAI/B,QAAQ,EAAEyB,IAAI,CAACzB,QAAQ,GAAGA,QAAQ;IAEtCgC,MAAM,CAACC,OAAO,CAACL,MAAM,CAAC,CAACD,OAAO,CAACO,IAAA,IAAmB;MAAA,IAAlB,CAACC,IAAI,EAAEC,KAAK,CAAC,GAAAF,IAAA;MAC3C,IAAIE,KAAK,EAAEX,IAAI,CAACC,MAAM,CAACS,IAAI,CAAC,GAAG,IAAAE,sBAAc,EAAC;QAAE,GAAGR,MAAM;QAAES,KAAK,EAAEF;MAAM,CAAC,CAAC;IAC5E,CAAC,CAAC;EACJ,CAAC,CAAC;EAEF,OAAOX,IAAI;AACb,CAAC;AAACc,OAAA,CAAAxC,WAAA,GAAAA,WAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b5ab276e-18de-530a-8494-da5e1a85957e")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -17,5 +15,4 @@ const getVisibleDate = (scrollPercentage, maxDate) => {
17
15
  return months ? (0, _locale.dateCalc)(today, months, 'months') : today;
18
16
  };
19
17
  exports.getVisibleDate = getVisibleDate;
20
- //# sourceMappingURL=getVisibleDate.js.map
21
- //# debugId=b5ab276e-18de-530a-8494-da5e1a85957e
18
+ //# sourceMappingURL=getVisibleDate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getVisibleDate.js","sources":["../../../../../../src/components/Finder/components/Calendar/helpers/getVisibleDate.js"],"sourcesContent":["import { dateCalc, dateDiff, parseDate } from '@mirai/locale';\n\nimport { MONTHS_IN_MOBILE } from '../../../../helpers';\n\nexport const getVisibleDate = (scrollPercentage, maxDate) => {\n if (scrollPercentage === undefined) return;\n\n const today = new Date();\n const maxMonths = (maxDate && dateDiff(today, parseDate(maxDate))?.months) || MONTHS_IN_MOBILE;\n const months = Math.round((scrollPercentage * maxMonths - 1) / 100);\n\n return months ? dateCalc(today, months, 'months') : today;\n};\n"],"names":["_locale","require","_helpers","getVisibleDate","scrollPercentage","maxDate","_dateDiff","undefined","today","Date","maxMonths","dateDiff","parseDate","months","MONTHS_IN_MOBILE","Math","round","dateCalc","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAEO,MAAME,cAAc,GAAGA,CAACC,gBAAgB,EAAEC,OAAO,KAAK;EAAA,IAAAC,SAAA;EAC3D,IAAIF,gBAAgB,KAAKG,SAAS,EAAE;EAEpC,MAAMC,KAAK,GAAG,IAAIC,IAAI,CAAC,CAAC;EACxB,MAAMC,SAAS,GAAIL,OAAO,MAAAC,SAAA,GAAI,IAAAK,gBAAQ,EAACH,KAAK,EAAE,IAAAI,iBAAS,EAACP,OAAO,CAAC,CAAC,cAAAC,SAAA,uBAAnCA,SAAA,CAAqCO,MAAM,KAAKC,yBAAgB;EAC9F,MAAMD,MAAM,GAAGE,IAAI,CAACC,KAAK,CAAC,CAACZ,gBAAgB,GAAGM,SAAS,GAAG,CAAC,IAAI,GAAG,CAAC;EAEnE,OAAOG,MAAM,GAAG,IAAAI,gBAAQ,EAACT,KAAK,EAAEK,MAAM,EAAE,QAAQ,CAAC,GAAGL,KAAK;AAC3D,CAAC;AAACU,OAAA,CAAAf,cAAA,GAAAA,cAAA","debug_id":"b5ab276e-18de-530a-8494-da5e1a85957e"}
1
+ {"version":3,"file":"getVisibleDate.js","names":["_locale","require","_helpers","getVisibleDate","scrollPercentage","maxDate","_dateDiff","undefined","today","Date","maxMonths","dateDiff","parseDate","months","MONTHS_IN_MOBILE","Math","round","dateCalc","exports"],"sources":["../../../../../../src/components/Finder/components/Calendar/helpers/getVisibleDate.js"],"sourcesContent":["import { dateCalc, dateDiff, parseDate } from '@mirai/locale';\n\nimport { MONTHS_IN_MOBILE } from '../../../../helpers';\n\nexport const getVisibleDate = (scrollPercentage, maxDate) => {\n if (scrollPercentage === undefined) return;\n\n const today = new Date();\n const maxMonths = (maxDate && dateDiff(today, parseDate(maxDate))?.months) || MONTHS_IN_MOBILE;\n const months = Math.round((scrollPercentage * maxMonths - 1) / 100);\n\n return months ? dateCalc(today, months, 'months') : today;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAEO,MAAME,cAAc,GAAGA,CAACC,gBAAgB,EAAEC,OAAO,KAAK;EAAA,IAAAC,SAAA;EAC3D,IAAIF,gBAAgB,KAAKG,SAAS,EAAE;EAEpC,MAAMC,KAAK,GAAG,IAAIC,IAAI,CAAC,CAAC;EACxB,MAAMC,SAAS,GAAIL,OAAO,MAAAC,SAAA,GAAI,IAAAK,gBAAQ,EAACH,KAAK,EAAE,IAAAI,iBAAS,EAACP,OAAO,CAAC,CAAC,cAAAC,SAAA,uBAAnCA,SAAA,CAAqCO,MAAM,KAAKC,yBAAgB;EAC9F,MAAMD,MAAM,GAAGE,IAAI,CAACC,KAAK,CAAC,CAACZ,gBAAgB,GAAGM,SAAS,GAAG,CAAC,IAAI,GAAG,CAAC;EAEnE,OAAOG,MAAM,GAAG,IAAAI,gBAAQ,EAACT,KAAK,EAAEK,MAAM,EAAE,QAAQ,CAAC,GAAGL,KAAK;AAC3D,CAAC;AAACU,OAAA,CAAAf,cAAA,GAAAA,cAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a076a5f5-4945-5709-befc-21f3f7492ecb")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -49,5 +47,4 @@ Object.keys(_getVisibleDate).forEach(function (key) {
49
47
  }
50
48
  });
51
49
  });
52
- //# sourceMappingURL=index.js.map
53
- //# debugId=a076a5f5-4945-5709-befc-21f3f7492ecb
50
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/components/Finder/components/Calendar/helpers/index.js"],"sourcesContent":["export * from './calcMinStay';\nexport * from './calcTooltips';\nexport * from './fetchPrices';\nexport * from './getVisibleDate';\n"],"names":["_calcMinStay","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_calcTooltips","_fetchPrices","_getVisibleDate"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAA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,"file":"index.js","names":["_calcMinStay","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_calcTooltips","_fetchPrices","_getVisibleDate"],"sources":["../../../../../../src/components/Finder/components/Calendar/helpers/index.js"],"sourcesContent":["export * from './calcMinStay';\nexport * from './calcTooltips';\nexport * from './fetchPrices';\nexport * from './getVisibleDate';\n"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,aAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,aAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,aAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,aAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,YAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,YAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,YAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,YAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,eAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,eAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,eAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,eAAA,CAAAP,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="82c33eae-8783-536e-8ecb-941ef363c78f")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -16,5 +14,4 @@ Object.keys(_Calendar).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
- //# sourceMappingURL=index.js.map
20
- //# debugId=82c33eae-8783-536e-8ecb-941ef363c78f
17
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/Finder/components/Calendar/index.js"],"sourcesContent":["export * from './Calendar';\n"],"names":["_Calendar","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","debug_id":"82c33eae-8783-536e-8ecb-941ef363c78f"}
1
+ {"version":3,"file":"index.js","names":["_Calendar","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../src/components/Finder/components/Calendar/index.js"],"sourcesContent":["export * from './Calendar';\n"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6d8ce86c-3db2-5553-9152-473ac67d8cac")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -123,5 +121,4 @@ Places.propTypes = {
123
121
  onChange: _propTypes.default.func,
124
122
  onSubmit: _propTypes.default.func
125
123
  };
126
- //# sourceMappingURL=Places.js.map
127
- //# debugId=6d8ce86c-3db2-5553-9152-473ac67d8cac
124
+ //# sourceMappingURL=Places.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Places.js","sources":["../../../../../src/components/Finder/components/Places/Places.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Button, Icon, Input, Pressable, styles, ScrollView, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { calcColumns } from './helpers';\nimport { L10N } from './Places.l10n';\nimport * as style from './Places.module.css';\nimport { ICON } from '../../../helpers';\n\nconst Places = ({ autoColumn = true, dataSource = [], text, value, onChange = () => {}, onSubmit, ...others }) => {\n const device = useDevice();\n const { translate } = useLocale();\n\n const [columns, setColumns] = useState();\n const [search, setSearch] = useState();\n\n useEffect(() => {\n const { isMobile } = device;\n\n if (!isMobile && autoColumn)\n setColumns(autoColumn ? calcColumns({ dataSource, device, hasSubmit: !!onSubmit }) : undefined);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [autoColumn, device, dataSource]);\n\n const { testId } = others;\n\n const results = search\n ? dataSource.filter((item = {}) => JSON.stringify(item).toLowerCase().includes(search.toLowerCase()))\n : dataSource;\n\n return (\n <View role=\"places\" className={styles(style.container, onSubmit && style.withSubmit)}>\n {dataSource.length >= 10 && (\n <View row className={style.header}>\n <Icon value={ICON.SEARCH} />\n <Input\n placeholder={`${translate(L10N.ACTION_SEARCH)}...`}\n type=\"search\"\n value={search}\n onChange={setSearch}\n className={style.input}\n />\n </View>\n )}\n\n {results.length > 0 ? (\n <ScrollView\n snap\n tag=\"ul\"\n className={styles(style.scrollview, columns && style.columns, columns && style[`columns${columns}`])}\n testId={testId}\n >\n {results.map((item = {}, index) => {\n const { id: [idHotel] = [], isHotel, level, title, value: itemValue } = item;\n\n return React.createElement(\n itemValue ? Pressable : View,\n {\n key: `place:${index}`,\n tag: 'li',\n className: styles(style.item, itemValue ? itemValue === value && style.selected : style.head),\n ...(itemValue ? { onPress: () => onChange(item) } : { row: true }),\n ...(isHotel ? { ['data-hotel-id']: idHotel } : undefined),\n testId: testId ? `${testId}-item-${index}` : undefined,\n },\n <Text action={level !== 0} bold={!isHotel} markdown={false} className={style.title}>\n {'\\u00A0'.repeat(level)}\n {title}\n </Text>,\n );\n })}\n </ScrollView>\n ) : null}\n\n {onSubmit && (\n <View className={style.footer}>\n <Button disabled={!value} onPress={onSubmit} testId={testId ? `${testId}-submit` : undefined}>\n {text || translate(L10N.ACTION_SEARCH)}\n </Button>\n </View>\n )}\n </View>\n );\n};\n\nPlaces.displayName = 'Mirai:Core:Finder:Places';\n\nPlaces.propTypes = {\n autoColumn: PropTypes.bool,\n dataSource: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.arrayOf(PropTypes.string).isRequired,\n isHotel: PropTypes.bool,\n level: PropTypes.number,\n title: PropTypes.string.isRequired,\n value: PropTypes.number.isRequired,\n }),\n ),\n text: PropTypes.string,\n value: PropTypes.number,\n onChange: PropTypes.func,\n onSubmit: PropTypes.func,\n};\n\nexport { Places };\n"],"names":["_locale","require","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_helpers","_Places","style","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","Places","_ref","autoColumn","dataSource","text","value","onChange","onSubmit","others","device","useDevice","translate","useLocale","columns","setColumns","useState","search","setSearch","useEffect","isMobile","calcColumns","hasSubmit","undefined","testId","results","filter","item","arguments","length","JSON","stringify","toLowerCase","includes","createElement","View","role","className","styles","container","withSubmit","row","header","Icon","ICON","SEARCH","Input","placeholder","concat","L10N","ACTION_SEARCH","type","input","ScrollView","snap","tag","scrollview","map","index","id","idHotel","isHotel","level","title","itemValue","React","Pressable","key","selected","head","onPress","Text","action","bold","markdown","repeat","footer","Button","disabled","exports","displayName","propTypes","PropTypes","bool","arrayOf","shape","string","isRequired","number","func"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,GAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAC,uBAAA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ACtB,CAAC","debug_id":"6d8ce86c-3db2-5553-9152-473ac67d8cac"}
1
+ {"version":3,"file":"Places.js","names":["_locale","require","_ui","_propTypes","_interopRequireDefault","_react","_interopRequireWildcard","_helpers","_Places","style","_helpers2","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","Places","_ref","autoColumn","dataSource","text","value","onChange","onSubmit","others","device","useDevice","translate","useLocale","columns","setColumns","useState","search","setSearch","useEffect","isMobile","calcColumns","hasSubmit","undefined","testId","results","filter","item","arguments","length","JSON","stringify","toLowerCase","includes","createElement","View","role","className","styles","container","withSubmit","row","header","Icon","ICON","SEARCH","Input","placeholder","concat","L10N","ACTION_SEARCH","type","input","ScrollView","snap","tag","scrollview","map","index","id","idHotel","isHotel","level","title","itemValue","React","Pressable","key","selected","head","onPress","Text","action","bold","markdown","repeat","footer","Button","disabled","exports","displayName","propTypes","PropTypes","bool","arrayOf","shape","string","isRequired","number","func"],"sources":["../../../../../src/components/Finder/components/Places/Places.jsx"],"sourcesContent":["import { useLocale } from '@mirai/locale';\nimport { Button, Icon, Input, Pressable, styles, ScrollView, Text, useDevice, View } from '@mirai/ui';\nimport PropTypes from 'prop-types';\nimport React, { useEffect, useState } from 'react';\n\nimport { calcColumns } from './helpers';\nimport { L10N } from './Places.l10n';\nimport * as style from './Places.module.css';\nimport { ICON } from '../../../helpers';\n\nconst Places = ({ autoColumn = true, dataSource = [], text, value, onChange = () => {}, onSubmit, ...others }) => {\n const device = useDevice();\n const { translate } = useLocale();\n\n const [columns, setColumns] = useState();\n const [search, setSearch] = useState();\n\n useEffect(() => {\n const { isMobile } = device;\n\n if (!isMobile && autoColumn)\n setColumns(autoColumn ? calcColumns({ dataSource, device, hasSubmit: !!onSubmit }) : undefined);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [autoColumn, device, dataSource]);\n\n const { testId } = others;\n\n const results = search\n ? dataSource.filter((item = {}) => JSON.stringify(item).toLowerCase().includes(search.toLowerCase()))\n : dataSource;\n\n return (\n <View role=\"places\" className={styles(style.container, onSubmit && style.withSubmit)}>\n {dataSource.length >= 10 && (\n <View row className={style.header}>\n <Icon value={ICON.SEARCH} />\n <Input\n placeholder={`${translate(L10N.ACTION_SEARCH)}...`}\n type=\"search\"\n value={search}\n onChange={setSearch}\n className={style.input}\n />\n </View>\n )}\n\n {results.length > 0 ? (\n <ScrollView\n snap\n tag=\"ul\"\n className={styles(style.scrollview, columns && style.columns, columns && style[`columns${columns}`])}\n testId={testId}\n >\n {results.map((item = {}, index) => {\n const { id: [idHotel] = [], isHotel, level, title, value: itemValue } = item;\n\n return React.createElement(\n itemValue ? Pressable : View,\n {\n key: `place:${index}`,\n tag: 'li',\n className: styles(style.item, itemValue ? itemValue === value && style.selected : style.head),\n ...(itemValue ? { onPress: () => onChange(item) } : { row: true }),\n ...(isHotel ? { ['data-hotel-id']: idHotel } : undefined),\n testId: testId ? `${testId}-item-${index}` : undefined,\n },\n <Text action={level !== 0} bold={!isHotel} markdown={false} className={style.title}>\n {'\\u00A0'.repeat(level)}\n {title}\n </Text>,\n );\n })}\n </ScrollView>\n ) : null}\n\n {onSubmit && (\n <View className={style.footer}>\n <Button disabled={!value} onPress={onSubmit} testId={testId ? `${testId}-submit` : undefined}>\n {text || translate(L10N.ACTION_SEARCH)}\n </Button>\n </View>\n )}\n </View>\n );\n};\n\nPlaces.displayName = 'Mirai:Core:Finder:Places';\n\nPlaces.propTypes = {\n autoColumn: PropTypes.bool,\n dataSource: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.arrayOf(PropTypes.string).isRequired,\n isHotel: PropTypes.bool,\n level: PropTypes.number,\n title: PropTypes.string.isRequired,\n value: PropTypes.number.isRequired,\n }),\n ),\n text: PropTypes.string,\n value: PropTypes.number,\n onChange: PropTypes.func,\n onSubmit: PropTypes.func,\n};\n\nexport { Places };\n"],"mappings":";;;;;;AAAA,IAAA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MAAM;EACtBhF,KAAK,EAAE4E,kBAAS,CAACM,MAAM;EACvBjF,QAAQ,EAAE2E,kBAAS,CAACO,IAAI;EACxBjF,QAAQ,EAAE0E,kBAAS,CAACO;AACtB,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e0baae7f-3659-59eb-be62-ec837f1ce877")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -11,5 +9,4 @@ const L10N = exports.L10N = {
11
9
  id: 'common.action.search'
12
10
  }
13
11
  };
14
- //# sourceMappingURL=Places.l10n.js.map
15
- //# debugId=e0baae7f-3659-59eb-be62-ec837f1ce877
12
+ //# sourceMappingURL=Places.l10n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Places.l10n.js","sources":["../../../../../src/components/Finder/components/Places/Places.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_SEARCH: { id: 'common.action.search' },\n};\n"],"names":["L10N","exports","ACTION_SEARCH","id"],"mappings":";;;;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,aAAa,EAAE;IAAEC,EAAE,EAAE;EAAuB;AAC9C,CAAC","debug_id":"e0baae7f-3659-59eb-be62-ec837f1ce877"}
1
+ {"version":3,"file":"Places.l10n.js","names":["L10N","exports","ACTION_SEARCH","id"],"sources":["../../../../../src/components/Finder/components/Places/Places.l10n.js"],"sourcesContent":["export const L10N = {\n ACTION_SEARCH: { id: 'common.action.search' },\n};\n"],"mappings":";;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,aAAa,EAAE;IAAEC,EAAE,EAAE;EAAuB;AAC9C,CAAC"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b6b05ac7-8051-5f7a-a07b-07fcafdaef8c")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -34,5 +32,4 @@ const calcColumns = function () {
34
32
  return columns;
35
33
  };
36
34
  exports.calcColumns = calcColumns;
37
- //# sourceMappingURL=calcColumns.js.map
38
- //# debugId=b6b05ac7-8051-5f7a-a07b-07fcafdaef8c
35
+ //# sourceMappingURL=calcColumns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"calcColumns.js","sources":["../../../../../../src/components/Finder/components/Places/helpers/calcColumns.js"],"sourcesContent":["import { Theme } from '@mirai/ui';\n\nconst ITEMS_PER_COLUMN = 18;\nconst ITEM_WIDTH = '300px';\nconst MAX_COLUMNS = 3;\nconst THEME_KEY = '--mirai-places';\n\nconst sanitizePx = (value = '') => parseInt(value.replace('px', ''), 10);\n\nexport const calcColumns = ({ dataSource: { length: items } = [], device: { width: deviceWidth } = {} } = {}) => {\n const { ItemsPerColumn: itemsPerColumn = ITEMS_PER_COLUMN, ItemWidth: itemWidth = ITEM_WIDTH } = Theme.get(THEME_KEY);\n\n let columns = items > itemsPerColumn ? Math.floor(items / itemsPerColumn) : undefined;\n if (columns * sanitizePx(itemWidth) > deviceWidth * 0.8) columns = Math.floor(deviceWidth / sanitizePx(itemWidth));\n if (columns >= MAX_COLUMNS) columns = MAX_COLUMNS;\n\n return columns;\n};\n"],"names":["_ui","require","ITEMS_PER_COLUMN","ITEM_WIDTH","MAX_COLUMNS","THEME_KEY","sanitizePx","value","arguments","length","undefined","parseInt","replace","calcColumns","dataSource","items","device","width","deviceWidth","ItemsPerColumn","itemsPerColumn","ItemWidth","itemWidth","Theme","get","columns","Math","floor","exports"],"mappings":";;;;;;;;AAAA,IAAAA,GAAA,GAAAC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_id":"b6b05ac7-8051-5f7a-a07b-07fcafdaef8c"}
1
+ {"version":3,"file":"calcColumns.js","names":["_ui","require","ITEMS_PER_COLUMN","ITEM_WIDTH","MAX_COLUMNS","THEME_KEY","sanitizePx","value","arguments","length","undefined","parseInt","replace","calcColumns","dataSource","items","device","width","deviceWidth","ItemsPerColumn","itemsPerColumn","ItemWidth","itemWidth","Theme","get","columns","Math","floor","exports"],"sources":["../../../../../../src/components/Finder/components/Places/helpers/calcColumns.js"],"sourcesContent":["import { Theme } from '@mirai/ui';\n\nconst ITEMS_PER_COLUMN = 18;\nconst ITEM_WIDTH = '300px';\nconst MAX_COLUMNS = 3;\nconst THEME_KEY = '--mirai-places';\n\nconst sanitizePx = (value = '') => parseInt(value.replace('px', ''), 10);\n\nexport const calcColumns = ({ dataSource: { length: items } = [], device: { width: deviceWidth } = {} } = {}) => {\n const { ItemsPerColumn: itemsPerColumn = ITEMS_PER_COLUMN, ItemWidth: itemWidth = ITEM_WIDTH } = Theme.get(THEME_KEY);\n\n let columns = items > itemsPerColumn ? Math.floor(items / itemsPerColumn) : undefined;\n if (columns * sanitizePx(itemWidth) > deviceWidth * 0.8) columns = Math.floor(deviceWidth / sanitizePx(itemWidth));\n if (columns >= MAX_COLUMNS) columns = MAX_COLUMNS;\n\n return columns;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AAEA,MAAMC,gBAAgB,GAAG,EAAE;AAC3B,MAAMC,UAAU,GAAG,OAAO;AAC1B,MAAMC,WAAW,GAAG,CAAC;AACrB,MAAMC,SAAS,GAAG,gBAAgB;AAElC,MAAMC,UAAU,GAAG,SAAAA,CAAA;EAAA,IAACC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,OAAKG,QAAQ,CAACJ,KAAK,CAACK,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;AAAA;AAEjE,MAAMC,WAAW,GAAG,SAAAA,CAAA,EAAsF;EAAA,IAArF;IAAEC,UAAU,EAAE;MAAEL,MAAM,EAAEM;IAAM,CAAC,GAAG,EAAE;IAAEC,MAAM,EAAE;MAAEC,KAAK,EAAEC;IAAY,CAAC,GAAG,CAAC;EAAE,CAAC,GAAAV,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAC1G,MAAM;IAAEW,cAAc,EAAEC,cAAc,GAAGlB,gBAAgB;IAAEmB,SAAS,EAAEC,SAAS,GAAGnB;EAAW,CAAC,GAAGoB,SAAK,CAACC,GAAG,CAACnB,SAAS,CAAC;EAErH,IAAIoB,OAAO,GAAGV,KAAK,GAAGK,cAAc,GAAGM,IAAI,CAACC,KAAK,CAACZ,KAAK,GAAGK,cAAc,CAAC,GAAGV,SAAS;EACrF,IAAIe,OAAO,GAAGnB,UAAU,CAACgB,SAAS,CAAC,GAAGJ,WAAW,GAAG,GAAG,EAAEO,OAAO,GAAGC,IAAI,CAACC,KAAK,CAACT,WAAW,GAAGZ,UAAU,CAACgB,SAAS,CAAC,CAAC;EAClH,IAAIG,OAAO,IAAIrB,WAAW,EAAEqB,OAAO,GAAGrB,WAAW;EAEjD,OAAOqB,OAAO;AAChB,CAAC;AAACG,OAAA,CAAAf,WAAA,GAAAA,WAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="01167c32-076e-5121-88a2-1b4a97bd1623")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -16,5 +14,4 @@ Object.keys(_calcColumns).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
- //# sourceMappingURL=index.js.map
20
- //# debugId=01167c32-076e-5121-88a2-1b4a97bd1623
17
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/components/Finder/components/Places/helpers/index.js"],"sourcesContent":["export * from './calcColumns';\n"],"names":["_calcColumns","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","debug_id":"01167c32-076e-5121-88a2-1b4a97bd1623"}
1
+ {"version":3,"file":"index.js","names":["_calcColumns","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../../src/components/Finder/components/Places/helpers/index.js"],"sourcesContent":["export * from './calcColumns';\n"],"mappings":";;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,YAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d0e0adcf-3b79-5f3e-baaf-755b9648aa6b")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -16,5 +14,4 @@ Object.keys(_Places).forEach(function (key) {
16
14
  }
17
15
  });
18
16
  });
19
- //# sourceMappingURL=index.js.map
20
- //# debugId=d0e0adcf-3b79-5f3e-baaf-755b9648aa6b
17
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../src/components/Finder/components/Places/index.js"],"sourcesContent":["export * from './Places';\n"],"names":["_Places","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"mappings":";;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,OAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,OAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,OAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","debug_id":"d0e0adcf-3b79-5f3e-baaf-755b9648aa6b"}
1
+ {"version":3,"file":"index.js","names":["_Places","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["../../../../../src/components/Finder/components/Places/index.js"],"sourcesContent":["export * from './Places';\n"],"mappings":";;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,OAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,OAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,OAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b9fad12d-d587-5b8c-8873-dd531bf2539a")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -27,5 +25,4 @@ Object.keys(_Places).forEach(function (key) {
27
25
  }
28
26
  });
29
27
  });
30
- //# sourceMappingURL=index.js.map
31
- //# debugId=b9fad12d-d587-5b8c-8873-dd531bf2539a
28
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/Finder/components/index.js"],"sourcesContent":["export * from './Calendar';\nexport * from './Places';\n"],"names":["_Calendar","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Places"],"mappings":";;;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,OAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,OAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,OAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,OAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","debug_id":"b9fad12d-d587-5b8c-8873-dd531bf2539a"}
1
+ {"version":3,"file":"index.js","names":["_Calendar","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Places"],"sources":["../../../../src/components/Finder/components/index.js"],"sourcesContent":["export * from './Calendar';\nexport * from './Places';\n"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,OAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,OAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,OAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,OAAA,CAAAL,GAAA;IAAA;EAAA;AAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dd416567-77e6-58bc-9114-e857afb4282b")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -17,5 +15,4 @@ const getAvailableWidth = el => {
17
15
  return parseFloat(width) - (parseFloat(paddingLeft) + parseFloat(paddingRight)) - (parseFloat(borderLeftWidth) + parseFloat(borderRightWidth));
18
16
  };
19
17
  exports.getAvailableWidth = getAvailableWidth;
20
- //# sourceMappingURL=getAvailableWidth.js.map
21
- //# debugId=dd416567-77e6-58bc-9114-e857afb4282b
18
+ //# sourceMappingURL=getAvailableWidth.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAvailableWidth.js","sources":["../../../../src/components/Finder/helpers/getAvailableWidth.js"],"sourcesContent":["export const getAvailableWidth = (el) => {\n const { width, paddingLeft, paddingRight, borderLeftWidth, borderRightWidth } = window.getComputedStyle(el);\n\n return (\n parseFloat(width) -\n (parseFloat(paddingLeft) + parseFloat(paddingRight)) -\n (parseFloat(borderLeftWidth) + parseFloat(borderRightWidth))\n );\n};\n"],"names":["getAvailableWidth","el","width","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth","window","getComputedStyle","parseFloat","exports"],"mappings":";;;;;;;;AAAO,MAAMA,iBAAiB,GAAIC,EAAE,IAAK;EACvC,MAAM;IAAEC,KAAK;IAAEC,WAAW;IAAEC,YAAY;IAAEC,eAAe;IAAEC;EAAiB,CAAC,GAAGC,MAAM,CAACC,gBAAgB,CAACP,EAAE,CAAC;EAE3G,OACEQ,UAAU,CAACP,KAAK,CAAC,IAChBO,UAAU,CAACN,WAAW,CAAC,GAAGM,UAAU,CAACL,YAAY,CAAC,CAAC,IACnDK,UAAU,CAACJ,eAAe,CAAC,GAAGI,UAAU,CAACH,gBAAgB,CAAC,CAAC;AAEhE,CAAC;AAACI,OAAA,CAAAV,iBAAA,GAAAA,iBAAA","debug_id":"dd416567-77e6-58bc-9114-e857afb4282b"}
1
+ {"version":3,"file":"getAvailableWidth.js","names":["getAvailableWidth","el","width","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth","window","getComputedStyle","parseFloat","exports"],"sources":["../../../../src/components/Finder/helpers/getAvailableWidth.js"],"sourcesContent":["export const getAvailableWidth = (el) => {\n const { width, paddingLeft, paddingRight, borderLeftWidth, borderRightWidth } = window.getComputedStyle(el);\n\n return (\n parseFloat(width) -\n (parseFloat(paddingLeft) + parseFloat(paddingRight)) -\n (parseFloat(borderLeftWidth) + parseFloat(borderRightWidth))\n );\n};\n"],"mappings":";;;;;;AAAO,MAAMA,iBAAiB,GAAIC,EAAE,IAAK;EACvC,MAAM;IAAEC,KAAK;IAAEC,WAAW;IAAEC,YAAY;IAAEC,eAAe;IAAEC;EAAiB,CAAC,GAAGC,MAAM,CAACC,gBAAgB,CAACP,EAAE,CAAC;EAE3G,OACEQ,UAAU,CAACP,KAAK,CAAC,IAChBO,UAAU,CAACN,WAAW,CAAC,GAAGM,UAAU,CAACL,YAAY,CAAC,CAAC,IACnDK,UAAU,CAACJ,eAAe,CAAC,GAAGI,UAAU,CAACH,gBAAgB,CAAC,CAAC;AAEhE,CAAC;AAACI,OAAA,CAAAV,iBAAA,GAAAA,iBAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ad5579f0-ae88-596b-99dd-772884dc9efb")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -51,5 +49,4 @@ const getDataSource = function () {
51
49
  };
52
50
  };
53
51
  exports.getDataSource = getDataSource;
54
- //# sourceMappingURL=getDataSource.js.map
55
- //# debugId=ad5579f0-ae88-596b-99dd-772884dc9efb
52
+ //# sourceMappingURL=getDataSource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDataSource.js","sources":["../../../../src/components/Finder/helpers/getDataSource.js"],"sourcesContent":["import { getPlacesOptions } from './getPlacesOptions';\nimport { TYPE } from '../Finder.constants';\n\nexport const getDataSource = ({\n config: {\n accomodation: { calendar = {}, occupation, rooms: { maxOccupation: maxRooms } = {}, variants = [] } = {},\n chainSelector,\n } = {},\n language,\n promo,\n type = TYPE.HOTEL,\n} = {}) => {\n let places;\n let placesSource;\n if (type === TYPE.CHAIN && chainSelector) {\n const { placeHolder = {}, trees = [] } = chainSelector;\n places = { options: getPlacesOptions(trees, language), placeholder: placeHolder[language] };\n placesSource = trees;\n }\n\n return {\n calendar,\n occupation,\n places,\n placesSource,\n promo: promo ? { code: promo.code } : undefined,\n maxRooms,\n variants,\n };\n};\n"],"names":["_getPlacesOptions","require","_Finder","getDataSource","config","accomodation","calendar","occupation","rooms","maxOccupation","maxRooms","variants","chainSelector","language","promo","type","TYPE","HOTEL","arguments","length","undefined","places","placesSource","CHAIN","placeHolder","trees","options","getPlacesOptions","placeholder","code","exports"],"mappings":";;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAEO,MAAME,aAAa,GAAG,SAAAA,CAAA,EAQlB;EAAA,IARmB;IAC5BC,MAAM,EAAE;MACNC,YAAY,EAAE;QAAEC,QAAQ,GAAG,CAAC,CAAC;QAAEC,UAAU;QAAEC,KAAK,EAAE;UAAEC,aAAa,EAAEC;QAAS,CAAC,GAAG,CAAC,CAAC;QAAEC,QAAQ,GAAG;MAAG,CAAC,GAAG,CAAC,CAAC;MACxGC;IACF,CAAC,GAAG,CAAC,CAAC;IACNC,QAAQ;IACRC,KAAK;IACLC,IAAI,GAAGC,YAAI,CAACC;EACd,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACJ,IAAIG,MAAM;EACV,IAAIC,YAAY;EAChB,IAAIP,IAAI,KAAKC,YAAI,CAACO,KAAK,IAAIX,aAAa,EAAE;IACxC,MAAM;MAAEY,WAAW,GAAG,CAAC,CAAC;MAAEC,KAAK,GAAG;IAAG,CAAC,GAAGb,aAAa;IACtDS,MAAM,GAAG;MAAEK,OAAO,EAAE,IAAAC,kCAAgB,EAACF,KAAK,EAAEZ,QAAQ,CAAC;MAAEe,WAAW,EAAEJ,WAAW,CAACX,QAAQ;IAAE,CAAC;IAC3FS,YAAY,GAAGG,KAAK;EACtB;EAEA,OAAO;IACLnB,QAAQ;IACRC,UAAU;IACVc,MAAM;IACNC,YAAY;IACZR,KAAK,EAAEA,KAAK,GAAG;MAAEe,IAAI,EAAEf,KAAK,CAACe;IAAK,CAAC,GAAGT,SAAS;IAC/CV,QAAQ;IACRC;EACF,CAAC;AACH,CAAC;AAACmB,OAAA,CAAA3B,aAAA,GAAAA,aAAA","debug_id":"ad5579f0-ae88-596b-99dd-772884dc9efb"}
1
+ {"version":3,"file":"getDataSource.js","names":["_getPlacesOptions","require","_Finder","getDataSource","config","accomodation","calendar","occupation","rooms","maxOccupation","maxRooms","variants","chainSelector","language","promo","type","TYPE","HOTEL","arguments","length","undefined","places","placesSource","CHAIN","placeHolder","trees","options","getPlacesOptions","placeholder","code","exports"],"sources":["../../../../src/components/Finder/helpers/getDataSource.js"],"sourcesContent":["import { getPlacesOptions } from './getPlacesOptions';\nimport { TYPE } from '../Finder.constants';\n\nexport const getDataSource = ({\n config: {\n accomodation: { calendar = {}, occupation, rooms: { maxOccupation: maxRooms } = {}, variants = [] } = {},\n chainSelector,\n } = {},\n language,\n promo,\n type = TYPE.HOTEL,\n} = {}) => {\n let places;\n let placesSource;\n if (type === TYPE.CHAIN && chainSelector) {\n const { placeHolder = {}, trees = [] } = chainSelector;\n places = { options: getPlacesOptions(trees, language), placeholder: placeHolder[language] };\n placesSource = trees;\n }\n\n return {\n calendar,\n occupation,\n places,\n placesSource,\n promo: promo ? { code: promo.code } :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typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1a0319cd-fd9f-59a2-abc6-02f20b3bc65c")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -22,5 +20,4 @@ const getFieldPosition = ref => {
22
20
  };
23
21
  };
24
22
  exports.getFieldPosition = getFieldPosition;
25
- //# sourceMappingURL=getFieldPosition.js.map
26
- //# debugId=1a0319cd-fd9f-59a2-abc6-02f20b3bc65c
23
+ //# sourceMappingURL=getFieldPosition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFieldPosition.js","sources":["../../../../src/components/Finder/helpers/getFieldPosition.js"],"sourcesContent":["const MANDATORY_HEIGHT = 420;\n\nexport const getFieldPosition = (ref) => {\n if (!ref?.current) return;\n\n const { bottom, top } = ref.current.getBoundingClientRect();\n const spaceAbove = top;\n const spaceBelow = window.innerHeight - bottom;\n\n return spaceAbove >= MANDATORY_HEIGHT && spaceBelow < MANDATORY_HEIGHT ? { top: true } : { bottom: true };\n};\n"],"names":["MANDATORY_HEIGHT","getFieldPosition","ref","current","bottom","top","getBoundingClientRect","spaceAbove","spaceBelow","window","innerHeight","exports"],"mappings":";;;;;;;;AAAA,MAAMA,gBAAgB,GAAG,GAAG;AAErB,MAAMC,gBAAgB,GAAIC,GAAG,IAAK;EACvC,IAAI,EAACA,GAAG,aAAHA,GAAG,eAAHA,GAAG,CAAEC,OAAO,GAAE;EAEnB,MAAM;IAAEC,MAAM;IAAEC;EAAI,CAAC,GAAGH,GAAG,CAACC,OAAO,CAACG,qBAAqB,CAAC,CAAC;EAC3D,MAAMC,UAAU,GAAGF,GAAG;EACtB,MAAMG,UAAU,GAAGC,MAAM,CAACC,WAAW,GAAGN,MAAM;EAE9C,OAAOG,UAAU,IAAIP,gBAAgB,IAAIQ,UAAU,GAAGR,gBAAgB,GAAG;IAAEK,GAAG,EAAE;EAAK,CAAC,GAAG;IAAED,MAAM,EAAE;EAAK,CAAC;AAC3G,CAAC;AAACO,OAAA,CAAAV,gBAAA,GAAAA,gBAAA","debug_id":"1a0319cd-fd9f-59a2-abc6-02f20b3bc65c"}
1
+ {"version":3,"file":"getFieldPosition.js","names":["MANDATORY_HEIGHT","getFieldPosition","ref","current","bottom","top","getBoundingClientRect","spaceAbove","spaceBelow","window","innerHeight","exports"],"sources":["../../../../src/components/Finder/helpers/getFieldPosition.js"],"sourcesContent":["const MANDATORY_HEIGHT = 420;\n\nexport const getFieldPosition = (ref) => {\n if (!ref?.current) return;\n\n const { bottom, top } = ref.current.getBoundingClientRect();\n const spaceAbove = top;\n const spaceBelow = window.innerHeight - bottom;\n\n return spaceAbove >= MANDATORY_HEIGHT && spaceBelow < MANDATORY_HEIGHT ? { top: true } : { bottom: true };\n};\n"],"mappings":";;;;;;AAAA,MAAMA,gBAAgB,GAAG,GAAG;AAErB,MAAMC,gBAAgB,GAAIC,GAAG,IAAK;EACvC,IAAI,EAACA,GAAG,aAAHA,GAAG,eAAHA,GAAG,CAAEC,OAAO,GAAE;EAEnB,MAAM;IAAEC,MAAM;IAAEC;EAAI,CAAC,GAAGH,GAAG,CAACC,OAAO,CAACG,qBAAqB,CAAC,CAAC;EAC3D,MAAMC,UAAU,GAAGF,GAAG;EACtB,MAAMG,UAAU,GAAGC,MAAM,CAACC,WAAW,GAAGN,MAAM;EAE9C,OAAOG,UAAU,IAAIP,gBAAgB,IAAIQ,UAAU,GAAGR,gBAAgB,GAAG;IAAEK,GAAG,EAAE;EAAK,CAAC,GAAG;IAAED,MAAM,EAAE;EAAK,CAAC;AAC3G,CAAC;AAACO,OAAA,CAAAV,gBAAA,GAAAA,gBAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2134dea3-fbc2-57de-b6ab-6b82824bb361")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -73,5 +71,4 @@ const getForwarderUrl = function () {
73
71
  return "".concat(url).concat((0, _helpers.toUrlParams)(params));
74
72
  };
75
73
  exports.getForwarderUrl = getForwarderUrl;
76
- //# sourceMappingURL=getForwarderUrl.js.map
77
- //# debugId=2134dea3-fbc2-57de-b6ab-6b82824bb361
74
+ //# sourceMappingURL=getForwarderUrl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getForwarderUrl.js","sources":["../../../../src/components/Finder/helpers/getForwarderUrl.js"],"sourcesContent":["import { dateDiff, dateFormat, DEFAULT_CURRENCY, DEFAULT_LOCALE, parseDate } from '@mirai/locale';\n\nimport { TYPE } from '../../../Core.constants';\nimport { parseToParties, toUrlParams } from '../../helpers';\n\nexport const getForwarderUrl = ({\n calendar: [checkIn, checkOut] = [],\n occupation = [],\n place: { id: ids = [], isHotel, value } = {},\n promocode: clientCode = '',\n locale = DEFAULT_LOCALE,\n currency = DEFAULT_CURRENCY,\n forwarder: { rates: url } = {},\n store: {\n hotel: { id } = {},\n id: idchain,\n origin: { commissionCode: hsri = '' } = {},\n urlParams: { miraiId, uid } = {},\n } = {},\n type,\n} = {}) => {\n const dateCheckIn = checkIn instanceof Date ? checkIn : parseDate(checkIn);\n const dateCheckOut = checkOut instanceof Date ? checkOut : parseDate(checkOut);\n const hotelId = ids.length === 1 ? ids[0] : id;\n const params = {\n chainSelectorValue: value,\n checkin: dateFormat(dateCheckIn, { format: 'DD/MM/YYYY' }),\n ...(value && !isHotel ? { hotelIds: ids.join(',') } : { idtokenprovider: hotelId }),\n ...(type === TYPE.CHAIN ? { idchain } : undefined),\n clientCode,\n currency,\n hsri,\n lang: locale.split('-')[0],\n miraiId,\n nights: dateDiff(dateCheckIn, dateCheckOut).days,\n parties: parseToParties(occupation),\n type,\n uid,\n // ? TODO: Is this mandatory?\n // clientCodeStrictSearch: true\n // deviceType: \"DESKTOP_TABLET\"\n // env: \"mario\"\n // home: \"https://www.hotel-moderno.com/\"\n };\n\n return `${url}${toUrlParams(params)}`;\n};\n"],"names":["_locale","require","_Core","_helpers","getForwarderUrl","calendar","checkIn","checkOut","occupation","place","id","ids","isHotel","value","promocode","clientCode","locale","DEFAULT_LOCALE","currency","DEFAULT_CURRENCY","forwarder","rates","url","store","hotel","idchain","origin","commissionCode","hsri","urlParams","miraiId","uid","type","arguments","length","undefined","dateCheckIn","Date","parseDate","dateCheckOut","hotelId","params","chainSelectorValue","checkin","dateFormat","format","hotelIds","join","idtokenprovider","TYPE","CHAIN","lang","split","nights","dateDiff","days","parties","parseToParties","concat","toUrlParams","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEO,MAAMG,eAAe,GAAG,SAAAA,CAAA,EAepB;EAAA,IAfqB;IAC9BC,QAAQ,EAAE,CAACC,OAAO,EAAEC,QAAQ,CAAC,GAAG,EAAE;IAClCC,UAAU,GAAG,EAAE;IACfC,KAAK,EAAE;MAAEC,EAAE,EAAEC,GAAG,GAAG,EAAE;MAAEC,OAAO;MAAEC;IAAM,CAAC,GAAG,CAAC,CAAC;IAC5CC,SAAS,EAAEC,UAAU,GAAG,EAAE;IAC1BC,MAAM,GAAGC,sBAAc;IACvBC,QAAQ,GAAGC,wBAAgB;IAC3BC,SAAS,EAAE;MAAEC,KAAK,EAAEC;IAAI,CAAC,GAAG,CAAC,CAAC;IAC9BC,KAAK,EAAE;MACLC,KAAK,EAAE;QAAEd;MAAG,CAAC,GAAG,CAAC,CAAC;MAClBA,EAAE,EAAEe,OAAO;MACXC,MAAM,EAAE;QAAEC,cAAc,EAAEC,IAAI,GAAG;MAAG,CAAC,GAAG,CAAC,CAAC;MAC1CC,SAAS,EAAE;QAAEC,OAAO;QAAEC;MAAI,CAAC,GAAG,CA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C,oBAAW,EAAClB,MAAM,CAAC;AACrC,CAAC;AAACmB,OAAA,CAAAxD,eAAA,GAAAA,eAAA","debug_id":"2134dea3-fbc2-57de-b6ab-6b82824bb361"}
1
+ {"version":3,"file":"getForwarderUrl.js","names":["_locale","require","_Core","_helpers","getForwarderUrl","calendar","checkIn","checkOut","occupation","place","id","ids","isHotel","value","promocode","clientCode","locale","DEFAULT_LOCALE","currency","DEFAULT_CURRENCY","forwarder","rates","url","store","hotel","idchain","origin","commissionCode","hsri","urlParams","miraiId","uid","type","arguments","length","undefined","dateCheckIn","Date","parseDate","dateCheckOut","hotelId","params","chainSelectorValue","checkin","dateFormat","format","hotelIds","join","idtokenprovider","TYPE","CHAIN","lang","split","nights","dateDiff","days","parties","parseToParties","concat","toUrlParams","exports"],"sources":["../../../../src/components/Finder/helpers/getForwarderUrl.js"],"sourcesContent":["import { dateDiff, dateFormat, DEFAULT_CURRENCY, DEFAULT_LOCALE, parseDate } from '@mirai/locale';\n\nimport { TYPE } from '../../../Core.constants';\nimport { parseToParties, toUrlParams } from '../../helpers';\n\nexport const getForwarderUrl = ({\n calendar: [checkIn, checkOut] = [],\n occupation = [],\n place: { id: ids = [], isHotel, value } = {},\n promocode: clientCode = '',\n locale = DEFAULT_LOCALE,\n currency = DEFAULT_CURRENCY,\n forwarder: { rates: url } = {},\n store: {\n hotel: { id } = {},\n id: idchain,\n origin: { commissionCode: hsri = '' } = {},\n urlParams: { miraiId, uid } = {},\n } = {},\n type,\n} = {}) => {\n const dateCheckIn = checkIn instanceof Date ? checkIn : parseDate(checkIn);\n const dateCheckOut = checkOut instanceof Date ? checkOut : parseDate(checkOut);\n const hotelId = ids.length === 1 ? ids[0] : id;\n const params = {\n chainSelectorValue: value,\n checkin: dateFormat(dateCheckIn, { format: 'DD/MM/YYYY' }),\n ...(value && !isHotel ? { hotelIds: ids.join(',') } : { idtokenprovider: hotelId }),\n ...(type === TYPE.CHAIN ? { idchain } : undefined),\n clientCode,\n currency,\n hsri,\n lang: locale.split('-')[0],\n miraiId,\n nights: dateDiff(dateCheckIn, dateCheckOut).days,\n parties: parseToParties(occupation),\n type,\n uid,\n // ? TODO: Is this mandatory?\n // clientCodeStrictSearch: true\n // deviceType: \"DESKTOP_TABLET\"\n // env: \"mario\"\n // home: \"https://www.hotel-moderno.com/\"\n };\n\n return `${url}${toUrlParams(params)}`;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEO,MAAMG,eAAe,GAAG,SAAAA,CAAA,EAepB;EAAA,IAfqB;IAC9BC,QAAQ,EAAE,CAACC,OAAO,EAAEC,QAAQ,CAAC,GAAG,EAAE;IAClCC,UAAU,GAAG,EAAE;IACfC,KAAK,EAAE;MAAEC,EAAE,EAAEC,GAAG,GAAG,EAAE;MAAEC,OAAO;MAAEC;IAAM,CAAC,GAAG,CAAC,CAAC;IAC5CC,SAAS,EAAEC,UAAU,GAAG,EAAE;IAC1BC,MAAM,GAAGC,sBAAc;IACvBC,QAAQ,GAAGC,wBAAgB;IAC3BC,SAAS,EAAE;MAAEC,KAAK,EAAEC;IAAI,CAAC,GAAG,CAAC,CAAC;IAC9BC,KAAK,EAAE;MACLC,KAAK,EAAE;QAAEd;MAAG,CAAC,GAAG,CAAC,CAAC;MAClBA,EAAE,EAAEe,OAAO;MACXC,MAAM,EAAE;QAAEC,cAAc,EAAEC,IAAI,GAAG;MAAG,CAAC,GAAG,CAAC,CAAC;MAC1CC,SAAS,EAAE;QAAEC,OAAO;QAAEC;MAAI,CAAC,GAAG,CAAC;IACjC,CAAC,GAAG,CAAC,CAAC;IACNC;EACF,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACJ,MAAMG,WAAW,GAAG9B,OAAO,YAAY+B,IAAI,GAAG/B,OAAO,GAAG,IAAAgC,iBAAS,EAAChC,OAAO,CAAC;EAC1E,MAAMiC,YAAY,GAAGhC,QAAQ,YAAY8B,IAAI,GAAG9B,QAAQ,GAAG,IAAA+B,iBAAS,EAAC/B,QAAQ,CAAC;EAC9E,MAAMiC,OAAO,GAAG7B,GAAG,CAACuB,MAAM,KAAK,CAAC,GAAGvB,GAAG,CAAC,CAAC,CAAC,GAAGD,EAAE;EAC9C,MAAM+B,MAAM,GAAG;IACbC,kBAAkB,EAAE7B,KAAK;IACzB8B,OAAO,EAAE,IAAAC,kBAAU,EAACR,WAAW,EAAE;MAAES,MAAM,EAAE;IAAa,CAAC,CAAC;IAC1D,IAAIhC,KAAK,IAAI,CAACD,OAAO,GAAG;MAAEkC,QAAQ,EAAEnC,GAAG,CAACoC,IAAI,CAAC,GAAG;IAAE,CAAC,GAAG;MAAEC,eAAe,EAAER;IAAQ,CAAC,CAAC;IACnF,IAAIR,IAAI,KAAKiB,UAAI,CAACC,KAAK,GAAG;MAAEzB;IAAQ,CAAC,GAAGU,SAAS,CAAC;IAClDpB,UAAU;IACVG,QAAQ;IACRU,IAAI;IACJuB,IAAI,EAAEnC,MAAM,CAACoC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAC1BtB,OAAO;IACPuB,MAAM,EAAE,IAAAC,gBAAQ,EAAClB,WAAW,EAAEG,YAAY,CAAC,CAACgB,IAAI;IAChDC,OAAO,EAAE,IAAAC,uBAAc,EAACjD,UAAU,CAAC;IACnCwB,IAAI;IACJD;IACA;IACA;IACA;IACA;IACA;EACF,CAAC;EAED,UAAA2B,MAAA,CAAUpC,GAAG,EAAAoC,MAAA,CAAG,IAAAC,oBAAW,EAAClB,MAAM,CAAC;AACrC,CAAC;AAACmB,OAAA,CAAAxD,eAAA,GAAAA,eAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="29d388a6-8e0d-5b90-8098-c9d1e5d90e79")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -28,5 +26,4 @@ const getHotels = function () {
28
26
  return hotels;
29
27
  };
30
28
  exports.getHotels = getHotels;
31
- //# sourceMappingURL=getHotels.js.map
32
- //# debugId=29d388a6-8e0d-5b90-8098-c9d1e5d90e79
29
+ //# sourceMappingURL=getHotels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHotels.js","sources":["../../../../src/components/Finder/helpers/getHotels.js"],"sourcesContent":["export const getHotels = (dataSource = [], id) => {\n if (!id) return;\n\n let hotels;\n for (const { ids = [], tagId, tags = [] } of dataSource) {\n if ((!tagId || tagId !== id) && tags.length > 0) {\n hotels = getHotels(tags, id);\n\n if (hotels?.length > 0) break;\n } else if (tagId === id) {\n hotels = ids;\n break;\n }\n }\n return hotels;\n};\n"],"names":["getHotels","dataSource","arguments","length","undefined","id","hotels","ids","tagId","tags","_hotels","exports"],"mappings":";;;;;;;;AAAO,MAAMA,SAAS,GAAG,SAAAA,CAAA,EAAyB;EAAA,IAAxBC,UAAU,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEG,EAAE,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EAC3C,IAAI,CAACC,EAAE,EAAE;EAET,IAAIC,MAAM;EACV,KAAK,MAAM;IAAEC,GAAG,GAAG,EAAE;IAAEC,KAAK;IAAEC,IAAI,GAAG;EAAG,CAAC,IAAIR,UAAU,EAAE;IACvD,IAAI,CAAC,CAACO,KAAK,IAAIA,KAAK,KAAKH,EAAE,KAAKI,IAAI,CAACN,MAAM,GAAG,CAAC,EAAE;MAAA,IAAAO,OAAA;MAC/CJ,MAAM,GAAGN,SAAS,CAACS,IAAI,EAAEJ,EAAE,CAAC;MAE5B,IAAI,EAAAK,OAAA,GAAAJ,MAAM,cAAAI,OAAA,uBAANA,OAAA,CAAQP,MAAM,IAAG,CAAC,EAAE;IAC1B,CAAC,MAAM,IAAIK,KAAK,KAAKH,EAAE,EAAE;MACvBC,MAAM,GAAGC,GAAG;MACZ;IACF;EACF;EACA,OAAOD,MAAM;AACf,CAAC;AAACK,OAAA,CAAAX,SAAA,GAAAA,SAAA","debug_id":"29d388a6-8e0d-5b90-8098-c9d1e5d90e79"}
1
+ {"version":3,"file":"getHotels.js","names":["getHotels","dataSource","arguments","length","undefined","id","hotels","ids","tagId","tags","_hotels","exports"],"sources":["../../../../src/components/Finder/helpers/getHotels.js"],"sourcesContent":["export const getHotels = (dataSource = [], id) => {\n if (!id) return;\n\n let hotels;\n for (const { ids = [], tagId, tags = [] } of dataSource) {\n if ((!tagId || tagId !== id) && tags.length > 0) {\n hotels = getHotels(tags, id);\n\n if (hotels?.length > 0) break;\n } else if (tagId === id) {\n hotels = ids;\n break;\n }\n }\n return hotels;\n};\n"],"mappings":";;;;;;AAAO,MAAMA,SAAS,GAAG,SAAAA,CAAA,EAAyB;EAAA,IAAxBC,UAAU,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEG,EAAE,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EAC3C,IAAI,CAACC,EAAE,EAAE;EAET,IAAIC,MAAM;EACV,KAAK,MAAM;IAAEC,GAAG,GAAG,EAAE;IAAEC,KAAK;IAAEC,IAAI,GAAG;EAAG,CAAC,IAAIR,UAAU,EAAE;IACvD,IAAI,CAAC,CAACO,KAAK,IAAIA,KAAK,KAAKH,EAAE,KAAKI,IAAI,CAACN,MAAM,GAAG,CAAC,EAAE;MAAA,IAAAO,OAAA;MAC/CJ,MAAM,GAAGN,SAAS,CAACS,IAAI,EAAEJ,EAAE,CAAC;MAE5B,IAAI,EAAAK,OAAA,GAAAJ,MAAM,cAAAI,OAAA,uBAANA,OAAA,CAAQP,MAAM,IAAG,CAAC,EAAE;IAC1B,CAAC,MAAM,IAAIK,KAAK,KAAKH,EAAE,EAAE;MACvBC,MAAM,GAAGC,GAAG;MACZ;IACF;EACF;EACA,OAAOD,MAAM;AACf,CAAC;AAACK,OAAA,CAAAX,SAAA,GAAAA,SAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a5a67f57-b1dd-5e4d-9428-78ee39338c4c")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -92,5 +90,4 @@ const getOccupationDataSource = function () {
92
90
  return dataSource || occupation;
93
91
  };
94
92
  exports.getOccupationDataSource = getOccupationDataSource;
95
- //# sourceMappingURL=getOccupationDataSource.js.map
96
- //# debugId=a5a67f57-b1dd-5e4d-9428-78ee39338c4c
93
+ //# sourceMappingURL=getOccupationDataSource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getOccupationDataSource.js","sources":["../../../../src/components/Finder/helpers/getOccupationDataSource.js"],"sourcesContent":["import { DATASOURCE as OCCUPATION, TYPE } from '../../__shared__/Occupation/Occupation.constants';\n\nconst { GUEST, ADULT, CHILD } = TYPE;\n\nconst findOccupation = (variants = [], id) =>\n variants.find(({ id: variantId = '' }) => variantId.toString() === id)?.occupation;\n\nexport const getOccupationDataSource = ({ occupation = OCCUPATION, place, places = [], variants = [] } = {}) => {\n const { id: [placeId] = [], isHotel, level } = places.find(({ value }) => value === place) || {};\n let dataSource;\n\n if (isHotel) {\n dataSource = findOccupation(variants, placeId);\n } else {\n const placeIndex = places.findIndex((item) => item.value === place);\n let children = [];\n\n places\n .filter((_, index) => index > placeIndex)\n .some((item) => {\n if (item.level > level) children.push(item);\n return item.level === level;\n });\n\n if (!children.length) children = places;\n\n if (children.length === 1) {\n dataSource = findOccupation(variants, children[0].id[0]);\n } else {\n const types = {};\n const group = {};\n\n children.forEach(({ id: [id] = [] }) => {\n (findOccupation(variants, id) || occupation).forEach((item) => {\n const { age: [minAge, maxAge] = [], max, min, type } = item;\n\n if (\n !types[type] ||\n (type === ADULT && minAge > types[type].age[0]) ||\n (type === CHILD && maxAge > types[type].age[1])\n )\n types[type] = { ...item };\n\n group[type] = group[type] || { min: 99, max: 0 };\n if (min < group[type].min) group[type].min = min;\n if (max > group[type].max) group[type].max = max;\n });\n });\n\n if (Object.values(types).length) {\n if (types[CHILD]) types[CHILD].age = [types[CHILD].age[0], types[ADULT].age[0] - 1];\n\n if (types[ADULT]) delete types[GUEST];\n\n Object.keys(types).forEach((type) => (types[type] = { ...types[type], ...group[type] }));\n\n dataSource = Object.values(types);\n }\n }\n }\n\n return dataSource || occupation;\n};\n"],"names":["_Occupation","require","GUEST","ADULT","CHILD","TYPE","findOccupation","_variants$find","variants","arguments","length","undefined","id","find","_ref","variantId","toString","occupation","getOccupationDataSource","OCCUPATION","place","places","placeId","isHotel","level","_ref2","value","dataSource","placeIndex","findIndex","item","children","filter","_","index","some","push","types","group","forEach","_ref3","age","minAge","maxAge","max","min","type","Object","values","keys","exports"],"mappings":";;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAEA,MAAM;EAAEC,KAAK;EAAEC,KAAK;EAAEC;AAAM,CAAC,GAAGC,gBAAI;AAEpC,MAAMC,cAAc,GAAG,SAAAA,CAAA;EAAA,IAAAC,cAAA;EAAA,IAACC,QAAQ,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEG,EAAE,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EAAA,QAAAJ,cAAA,GACvCC,QAAQ,CAACK,IAAI,CAACC,IAAA;IAAA,IAAC;MAAEF,EAAE,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,KAAK,CAACQ,IAAI,CAAC,CAACF,GAAG,EAAEN,KAAK,CAACQ,IAAI,CAAC,CAACF,GAAG,GAAGA,GAAG;QAClD,CAAC,CAAC;MACJ,CAAC,CAAC;MAEF,IAAIG,MAAM,CAACC,MAAM,CAACX,KAAK,CAAC,CAAC3B,MAAM,EAAE;QAC/B,IAAI2B,KAAK,CAACjC,KAAK,CAAC,EAAEiC,KAAK,CAACjC,KAAK,CAAC,CAACqC,GAAG,GAAG,CAACJ,KAAK,CAACjC,KAAK,CAAC,CAACqC,GAAG,CAAC,CAAC,CAAC,EAAEJ,KAAK,CAAClC,KAAK,CAAC,CAACsC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAEnF,IAAIJ,KAAK,CAAClC,KAAK,CAAC,EAAE,OAAOkC,KAAK,CAACnC,KAAK,CAAC;QAErC6C,MAAM,CAACE,IAAI,CAACZ,KAAK,CAAC,CAACE,OAAO,CAAEO,IAAI,IAAMT,KAAK,CAACS,IAAI,CAAC,GAAG;UAAE,GAAGT,KAAK,CAACS,IAAI,CAAC;UAAE,GAAGR,KAAK,CAACQ,IAAI;QAAE,CAAE,CAAC;QAExFnB,UAAU,GAAGoB,MAAM,CAACC,MAAM,CAACX,KAAK,CAAC;MACnC;IACF;EACF;EAEA,OAAOV,UAAU,IAAIV,UAAU;AACjC,CAAC;AAACiC,OAAA,CAAAhC,uBAAA,GAAAA,uBAAA","debug_id":"a5a67f57-b1dd-5e4d-9428-78ee39338c4c"}
1
+ {"version":3,"file":"getOccupationDataSource.js","names":["_Occupation","require","GUEST","ADULT","CHILD","TYPE","findOccupation","_variants$find","variants","arguments","length","undefined","id","find","_ref","variantId","toString","occupation","getOccupationDataSource","OCCUPATION","place","places","placeId","isHotel","level","_ref2","value","dataSource","placeIndex","findIndex","item","children","filter","_","index","some","push","types","group","forEach","_ref3","age","minAge","maxAge","max","min","type","Object","values","keys","exports"],"sources":["../../../../src/components/Finder/helpers/getOccupationDataSource.js"],"sourcesContent":["import { DATASOURCE as OCCUPATION, TYPE } from '../../__shared__/Occupation/Occupation.constants';\n\nconst { GUEST, ADULT, CHILD } = TYPE;\n\nconst findOccupation = (variants = [], id) =>\n variants.find(({ id: variantId = '' }) => variantId.toString() === id)?.occupation;\n\nexport const getOccupationDataSource = ({ occupation = OCCUPATION, place, places = [], variants = [] } = {}) => {\n const { id: [placeId] = [], isHotel, level } = places.find(({ value }) => value === place) || {};\n let dataSource;\n\n if (isHotel) {\n dataSource = findOccupation(variants, placeId);\n } else {\n const placeIndex = places.findIndex((item) => item.value === place);\n let children = [];\n\n places\n .filter((_, index) => index > placeIndex)\n .some((item) => {\n if (item.level > level) children.push(item);\n return item.level === level;\n });\n\n if (!children.length) children = places;\n\n if (children.length === 1) {\n dataSource = findOccupation(variants, children[0].id[0]);\n } else {\n const types = {};\n const group = {};\n\n children.forEach(({ id: [id] = [] }) => {\n (findOccupation(variants, id) || occupation).forEach((item) => {\n const { age: [minAge, maxAge] = [], max, min, type } = item;\n\n if (\n !types[type] ||\n (type === ADULT && minAge > types[type].age[0]) ||\n (type === CHILD && maxAge > types[type].age[1])\n )\n types[type] = { ...item };\n\n group[type] = group[type] || { min: 99, max: 0 };\n if (min < group[type].min) group[type].min = min;\n if (max > group[type].max) group[type].max = max;\n });\n });\n\n if (Object.values(types).length) {\n if (types[CHILD]) types[CHILD].age = [types[CHILD].age[0], types[ADULT].age[0] - 1];\n\n if (types[ADULT]) delete types[GUEST];\n\n Object.keys(types).forEach((type) => (types[type] = { ...types[type], ...group[type] }));\n\n dataSource = Object.values(types);\n }\n }\n }\n\n return dataSource || occupation;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAEA,MAAM;EAAEC,KAAK;EAAEC,KAAK;EAAEC;AAAM,CAAC,GAAGC,gBAAI;AAEpC,MAAMC,cAAc,GAAG,SAAAA,CAAA;EAAA,IAAAC,cAAA;EAAA,IAACC,QAAQ,GAAAC,SAAA,CAAAC,MAAA,QAA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AAI;YAAED,GAAG,EAAE,EAAE;YAAED,GAAG,EAAE;UAAE,CAAC;UAChD,IAAIC,GAAG,GAAGP,KAAK,CAACQ,IAAI,CAAC,CAACD,GAAG,EAAEP,KAAK,CAACQ,IAAI,CAAC,CAACD,GAAG,GAAGA,GAAG;UAChD,IAAID,GAAG,GAAGN,KAAK,CAACQ,IAAI,CAAC,CAACF,GAAG,EAAEN,KAAK,CAACQ,IAAI,CAAC,CAACF,GAAG,GAAGA,GAAG;QAClD,CAAC,CAAC;MACJ,CAAC,CAAC;MAEF,IAAIG,MAAM,CAACC,MAAM,CAACX,KAAK,CAAC,CAAC3B,MAAM,EAAE;QAC/B,IAAI2B,KAAK,CAACjC,KAAK,CAAC,EAAEiC,KAAK,CAACjC,KAAK,CAAC,CAACqC,GAAG,GAAG,CAACJ,KAAK,CAACjC,KAAK,CAAC,CAACqC,GAAG,CAAC,CAAC,CAAC,EAAEJ,KAAK,CAAClC,KAAK,CAAC,CAACsC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAEnF,IAAIJ,KAAK,CAAClC,KAAK,CAAC,EAAE,OAAOkC,KAAK,CAACnC,KAAK,CAAC;QAErC6C,MAAM,CAACE,IAAI,CAACZ,KAAK,CAAC,CAACE,OAAO,CAAEO,IAAI,IAAMT,KAAK,CAACS,IAAI,CAAC,GAAG;UAAE,GAAGT,KAAK,CAACS,IAAI,CAAC;UAAE,GAAGR,KAAK,CAACQ,IAAI;QAAE,CAAE,CAAC;QAExFnB,UAAU,GAAGoB,MAAM,CAACC,MAAM,CAACX,KAAK,CAAC;MACnC;IACF;EACF;EAEA,OAAOV,UAAU,IAAIV,UAAU;AACjC,CAAC;AAACiC,OAAA,CAAAhC,uBAAA,GAAAA,uBAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8627e2d9-cf4f-528a-b0c4-f1fc6755deab")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -14,5 +12,4 @@ const getPlaceCaption = function (value) {
14
12
  return title;
15
13
  };
16
14
  exports.getPlaceCaption = getPlaceCaption;
17
- //# sourceMappingURL=getPlaceCaption.js.map
18
- //# debugId=8627e2d9-cf4f-528a-b0c4-f1fc6755deab
15
+ //# sourceMappingURL=getPlaceCaption.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPlaceCaption.js","sources":["../../../../src/components/Finder/helpers/getPlaceCaption.js"],"sourcesContent":["export const getPlaceCaption = (value, dataSource = []) => {\n const { title } = dataSource.find((item) => value && item.value === value) || {};\n\n return title;\n};\n"],"names":["getPlaceCaption","value","dataSource","arguments","length","undefined","title","find","item","exports"],"mappings":";;;;;;;;AAAO,MAAMA,eAAe,GAAG,SAAAA,CAACC,KAAK,EAAsB;EAAA,IAApBC,UAAU,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACpD,MAAM;IAAEG;EAAM,CAAC,GAAGJ,UAAU,CAACK,IAAI,CAAEC,IAAI,IAAKP,KAAK,IAAIO,IAAI,CAACP,KAAK,KAAKA,KAAK,CAAC,IAAI,CAAC,CAAC;EAEhF,OAAOK,KAAK;AACd,CAAC;AAACG,OAAA,CAAAT,eAAA,GAAAA,eAAA","debug_id":"8627e2d9-cf4f-528a-b0c4-f1fc6755deab"}
1
+ {"version":3,"file":"getPlaceCaption.js","names":["getPlaceCaption","value","dataSource","arguments","length","undefined","title","find","item","exports"],"sources":["../../../../src/components/Finder/helpers/getPlaceCaption.js"],"sourcesContent":["export const getPlaceCaption = (value, dataSource = []) => {\n const { title } = dataSource.find((item) => value && item.value === value) || {};\n\n return title;\n};\n"],"mappings":";;;;;;AAAO,MAAMA,eAAe,GAAG,SAAAA,CAACC,KAAK,EAAsB;EAAA,IAApBC,UAAU,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EACpD,MAAM;IAAEG;EAAM,CAAC,GAAGJ,UAAU,CAACK,IAAI,CAAEC,IAAI,IAAKP,KAAK,IAAIO,IAAI,CAACP,KAAK,KAAKA,KAAK,CAAC,IAAI,CAAC,CAAC;EAEhF,OAAOK,KAAK;AACd,CAAC;AAACG,OAAA,CAAAT,eAAA,GAAAA,eAAA"}
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e5c8d636-455f-5d55-890f-124885f7435f")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -43,5 +41,4 @@ const getPlacesOptions = function () {
43
41
  return options;
44
42
  };
45
43
  exports.getPlacesOptions = getPlacesOptions;
46
- //# sourceMappingURL=getPlacesOptions.js.map
47
- //# debugId=e5c8d636-455f-5d55-890f-124885f7435f
44
+ //# sourceMappingURL=getPlacesOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPlacesOptions.js","sources":["../../../../src/components/Finder/helpers/getPlacesOptions.js"],"sourcesContent":["import { DEFAULT_LOCALE } from '@mirai/locale';\n\nconst [DEFAULT_LANGUAGE] = DEFAULT_LOCALE.split('-');\n\nexport const getPlacesOptions = (items = [], language) => {\n let options = [];\n\n const parseItems = (items = [], level = 0) => {\n items.forEach((item = {}) => {\n const { visible, isHotel, tags = [] } = item;\n\n if (visible || isHotel === false) {\n const { ids: id = [], name: title = {}, tagId: value } = item;\n options.push({\n id,\n isHotel,\n level,\n title: title[language] || title[DEFAULT_LANGUAGE],\n value,\n });\n }\n\n if (tags.length > 0) parseItems(tags, level + 1);\n });\n };\n\n parseItems(items);\n\n return options;\n};\n"],"names":["_locale","require","DEFAULT_LANGUAGE","DEFAULT_LOCALE","split","getPlacesOptions","items","arguments","length","undefined","language","options","parseItems","level","forEach","item","visible","isHotel","tags","ids","id","name","title","tagId","value","push","exports"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,MAAM,CAACC,gBAAgB,CAAC,GAAGC,sBAAc,CAACC,KAAK,CAAC,GAAG,CAAC;AAE7C,MAAMC,gBAAgB,GAAG,SAAAA,CAAA,EAA0B;EAAA,IAAzBC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEG,QAAQ,GAAAH,SAAA,CAAAC,MAAA,OAAAD,SAAA,MAAAE,SAAA;EACnD,IAAIE,OAAO,GAAG,EAAE;EAEhB,MAAMC,UAAU,GAAG,SAAAA,CAAA,EAA2B;IAAA,IAA1BN,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;IAAA,IAAEM,KAAK,GAAAN,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;IACvCD,KAAK,CAACQ,OAAO,CAAC,YAAe;MAAA,IAAdC,IAAI,GAAAR,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;MACtB,MAAM;QAAES,OAAO;QAAEC,OAAO;QAAEC,IAAI,GAAG;MAAG,CAAC,GAAGH,IAAI;MAE5C,IAAIC,OAAO,IAAIC,OAAO,KAAK,KAAK,EAAE;QAChC,MAAM;UAAEE,GAAG,EAAEC,EAAE,GAAG,EAAE;UAAEC,IAAI,EAAEC,KAAK,GAAG,CAAC,CAAC;UAAEC,KAAK,EAAEC;QAAM,CAAC,GAAGT,IAAI;QAC7DJ,OAAO,CAACc,IAAI,CAAC;UACXL,EAAE;UACFH,OAAO;UACPJ,KAAK;UACLS,KAAK,EAAEA,KAAK,CAACZ,QAAQ,CAAC,IAAIY,KAAK,CAACpB,gBAAgB,CAAC;UACjDsB;QACF,CAAC,CAAC;MACJ;MAEA,IAAIN,IAAI,CAACV,MAAM,GAAG,CAAC,EAAEI,UAAU,CAACM,IAAI,EAAEL,KAAK,GAAG,CAAC,CAAC;IAClD,CAAC,CAAC;EACJ,CAAC;EAEDD,UAAU,CAACN,KAAK,CAAC;EAEjB,OAAOK,OAAO;AAChB,CAAC;AAACe,OAAA,CAAArB,gBAAA,GAAAA,gBAAA","debug_id":"e5c8d636-455f-5d55-890f-124885f7435f"}
1
+ {"version":3,"file":"getPlacesOptions.js","names":["_locale","require","DEFAULT_LANGUAGE","DEFAULT_LOCALE","split","getPlacesOptions","items","arguments","length","undefined","language","options","parseItems","level","forEach","item","visible","isHotel","tags","ids","id","name","title","tagId","value","push","exports"],"sources":["../../../../src/components/Finder/helpers/getPlacesOptions.js"],"sourcesContent":["import { DEFAULT_LOCALE } from '@mirai/locale';\n\nconst [DEFAULT_LANGUAGE] = DEFAULT_LOCALE.split('-');\n\nexport const getPlacesOptions = (items = [], language) => {\n let options = [];\n\n const parseItems = (items = [], level = 0) => {\n items.forEach((item = {}) => {\n const { visible, isHotel, tags = [] } = item;\n\n if (visible || isHotel === false) {\n const { ids: id = [], name: title = {}, tagId: value } = item;\n options.push({\n id,\n isHotel,\n level,\n title: title[language] || title[DEFAULT_LANGUAGE],\n value,\n });\n }\n\n if (tags.length > 0) parseItems(tags, level + 1);\n });\n };\n\n parseItems(items);\n\n return options;\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,MAAM,CAACC,gBAAgB,CAAC,GAAGC,sBAAc,CAACC,KAAK,CAAC,GAAG,CAAC;AAE7C,MAAMC,gBAAgB,GAAG,SAAAA,CAAA,EAA0B;EAAA,IAAzBC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAA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 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="55a8167b-a7f7-597f-9159-f800d3cd5565")}catch(e){}}();
3
-
4
2
 
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
@@ -126,5 +124,4 @@ Object.keys(_validate).forEach(function (key) {
126
124
  }
127
125
  });
128
126
  });
129
- //# sourceMappingURL=index.js.map
130
- //# debugId=55a8167b-a7f7-597f-9159-f800d3cd5565
127
+ //# sourceMappingURL=index.js.map