@revolugo/elements 6.8.2-beta.8 → 6.8.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +1 -1
  2. package/dist/css/{revolugo.bdaterangepicker.BLYZnPjh.css → revolugo.bdaterangepicker.CHUExWGL.css} +1 -1
  3. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +1 -0
  4. package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.DWuzEuGF.css} +1 -1
  5. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +1 -0
  6. package/dist/css/{revolugo.hotelroomofferlist.DI_s2G5c.css → revolugo.hotelroomofferlist.DpLXIpgU.css} +1 -1
  7. package/dist/index.es.min.js +496 -564
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +6 -6
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  12. package/dist/{revolugo.banktransferdetails.BX7OeQZV.min.js → revolugo.banktransferdetails.BdulCgI5.min.js} +9 -9
  13. package/dist/{revolugo.bdaterangepicker.CD21jpXB.min.js → revolugo.bdaterangepicker.XZNoMSi5.min.js} +8 -8
  14. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +61 -0
  15. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +4685 -0
  16. package/dist/{revolugo.bhotelroomsdetails.BLqYw-sq.min.js → revolugo.bhotelroomsdetails.orWBBD_o.min.js} +28 -28
  17. package/dist/{revolugo.bhotelsearchbar.BNSMxrNp.min.js → revolugo.bhotelsearchbar.DxxqZWkN.min.js} +16 -16
  18. package/dist/{revolugo.bimagecarousel.Bbu1M-_U.min.js → revolugo.bimagecarousel.DIPN99VA.min.js} +31 -31
  19. package/dist/{revolugo.bookingdetailssidebar.CokqW6fy.min.js → revolugo.bookingdetailssidebar.CD4SMOkC.min.js} +4 -4
  20. package/dist/{revolugo.bookingdetailssidebar.BvK3BXHf.min.js → revolugo.bookingdetailssidebar.JOU68R1_.min.js} +11 -11
  21. package/dist/{revolugo.bookingmanager.Cb3omaKY.min.js → revolugo.bookingmanager.B5cM9Mi5.min.js} +20 -20
  22. package/dist/{revolugo.bpricesummaryskeleton.C8B8KuR2.min.js → revolugo.bpricesummaryskeleton.YKfKKB5n.min.js} +4 -4
  23. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CIoChEf4.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js} +93 -82
  24. package/dist/{revolugo.btag.BGoOCm1Z.min.js → revolugo.btag.DjjDRtQ7.min.js} +22 -22
  25. package/dist/{revolugo.cancellationpoliciesbadge.CzdZk9wC.min.js → revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js} +14 -14
  26. package/dist/{revolugo.cancellationpoliciesbadge.Clx08Izl.min.js → revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js} +4 -4
  27. package/dist/{revolugo.cancellationpolicieslist.DkdBqk_D.min.js → revolugo.cancellationpolicieslist.CZImqgN3.min.js} +4 -4
  28. package/dist/{revolugo.cancellationpolicieslist.D_blsTpt.min.js → revolugo.cancellationpolicieslist.D097ASNF.min.js} +4 -4
  29. package/dist/{revolugo.case-transformers.yF9LmSh2.min.js → revolugo.case-transformers.Dr1oSJkZ.min.js} +6 -6
  30. package/dist/{revolugo.creditcardform.DLGGNiOj.min.js → revolugo.creditcardform.DNOMVOgZ.min.js} +32 -32
  31. package/dist/{revolugo.creditcardform.dhkDslgQ.min.js → revolugo.creditcardform.DvHcDx2P.min.js} +4 -4
  32. package/dist/{revolugo.creditcardpayment.Dk1qZNdM.min.js → revolugo.creditcardpayment.BLP3RXk4.min.js} +58 -59
  33. package/dist/{revolugo.creditcardpayment.BI07MXqq.min.js → revolugo.creditcardpayment.D3lPKmx1.min.js} +4 -4
  34. package/dist/{revolugo.currencypicker.Dg7-2SvP.min.js → revolugo.currencypicker.CzzS1Adp.min.js} +6 -6
  35. package/dist/{revolugo.currencypickerbtn.B1hFei3f.min.js → revolugo.currencypickerbtn.ChUEouGw.min.js} +17 -17
  36. package/dist/{revolugo.currencypickerbtn.C4BppGp4.min.js → revolugo.currencypickerbtn.DWnyc54P.min.js} +4 -4
  37. package/dist/{revolugo.dialog-attach.CkEej6wS.min.js → revolugo.dialog-attach.O2HXPGzj.min.js} +2 -2
  38. package/dist/{revolugo.dialog-transition.uNfpHJql.min.js → revolugo.dialog-transition.C6S7Ci1s.min.js} +5 -5
  39. package/dist/{revolugo.fastbookingflow.B6XARfWY.min.js → revolugo.fastbookingflow.ChNa4jgv.min.js} +4 -4
  40. package/dist/{revolugo.fullbookingflow.BZLx73dx.min.js → revolugo.fullbookingflow.ByKmNqgi.min.js} +80 -79
  41. package/dist/{revolugo.hoteldescriptionview.yCtPdRFO.min.js → revolugo.hoteldescriptionview.CbtxEPGG.min.js} +754 -677
  42. package/dist/{revolugo.hoteldescriptionview.BCzUzk_E.min.js → revolugo.hoteldescriptionview.D3JTbFxn.min.js} +4 -4
  43. package/dist/{revolugo.hotelofferitemlayout.DO-TA9ts.min.js → revolugo.hotelofferitemlayout.tBOOIdeT.min.js} +6 -6
  44. package/dist/{revolugo.hotelofferlist.CannqNZQ.min.js → revolugo.hotelofferlist.BVySEYbq.min.js} +821 -847
  45. package/dist/{revolugo.hotelofferlist.CBRnlb3a.min.js → revolugo.hotelofferlist.puK2FNBR.min.js} +4 -4
  46. package/dist/{revolugo.hotelofferrequestcreator.Ccc9h3wS.min.js → revolugo.hotelofferrequestcreator.CbCau_4i.min.js} +15 -16
  47. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +46 -0
  48. package/dist/{revolugo.hoteloffersmap.61vs2XAi.min.js → revolugo.hoteloffersmap.BRVm5s6N.min.js} +374 -371
  49. package/dist/{revolugo.hoteloffersmap.BGAjS-vH.min.js → revolugo.hoteloffersmap.DqKpfjbt.min.js} +4 -4
  50. package/dist/{revolugo.hoteloffersview.DNumSw2r.min.js → revolugo.hoteloffersview.3LJ-m6BY.min.js} +132 -131
  51. package/dist/{revolugo.hoteloffersview.CWq5dZCG.min.js → revolugo.hoteloffersview.DsGyT5s7.min.js} +4 -4
  52. package/dist/{revolugo.hotelroomofferlist.cmfjmRwH.min.js → revolugo.hotelroomofferlist.DdMr5qEZ.min.js} +4 -4
  53. package/dist/{revolugo.hotelroomofferlist.5_UL7OSw.min.js → revolugo.hotelroomofferlist.M-3bowQa.min.js} +198 -198
  54. package/dist/{revolugo.hotelroomofferrequestcreator.props.C4FwM136.min.js → revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js} +2 -2
  55. package/dist/{revolugo.hotelroomoffersbookingflow.BQD6GxXC.min.js → revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js} +83 -83
  56. package/dist/{revolugo.hotelroomoffersearchmenu.DtfalJtl.min.js → revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js} +5 -5
  57. package/dist/{revolugo.hotelroomoffersearchmenu.5tW36-zQ.min.js → revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js} +7 -7
  58. package/dist/{revolugo.hotelroomoffersview.BDcWZXrg.min.js → revolugo.hotelroomoffersview.BSth8Xsz.min.js} +46 -46
  59. package/dist/{revolugo.hotelroomoffersview.z6aOfmaM.min.js → revolugo.hotelroomoffersview.oxTgBMSk.min.js} +4 -4
  60. package/dist/revolugo.index.D0uSQdJV.min.js +13 -0
  61. package/dist/{revolugo.index.Cl_q_UjY.min.js → revolugo.index.gIPq0z7C.min.js} +104 -104
  62. package/dist/{revolugo.index.wc.BmozE9Vv.min.js → revolugo.index.wc.7I5uexuc.min.js} +15225 -14780
  63. package/dist/{revolugo.langpicker.vHHfpOMW.min.js → revolugo.langpicker.CLdiic9k.min.js} +7 -7
  64. package/dist/{revolugo.langpickerbtn.DqM5hWXl.min.js → revolugo.langpickerbtn.BIHQAnjv.min.js} +4 -4
  65. package/dist/{revolugo.langpickerbtn.DBxEuVPS.min.js → revolugo.langpickerbtn.DF-m4pCF.min.js} +9 -9
  66. package/dist/revolugo.min.js +1 -1
  67. package/dist/{revolugo.position.DtKVN8Dm.min.js → revolugo.position.hqKd4K_h.min.js} +35 -35
  68. package/dist/{revolugo.prebookform.B__ne_5e.min.js → revolugo.prebookform.B8aMLMuG.min.js} +58 -58
  69. package/dist/{revolugo.prebookform.DNGu-Yse.min.js → revolugo.prebookform.CxK0iSDo.min.js} +4 -4
  70. package/dist/{revolugo.roominglisteditor.B2aeWLHf.min.js → revolugo.roominglisteditor.D7WzDtw6.min.js} +4 -4
  71. package/dist/{revolugo.roominglisteditor.B80_0zLe.min.js → revolugo.roominglisteditor.Do-pe811.min.js} +11 -11
  72. package/dist/{revolugo.rounded.BXIsUmTy.min.js → revolugo.rounded.Dnxang6X.min.js} +2 -2
  73. package/dist/{revolugo.ssrboot.BIjLx7yH.min.js → revolugo.ssrboot.ByGq44eI.min.js} +2 -2
  74. package/dist/{revolugo.storybooktoolbar.Dkb9K5kX.min.js → revolugo.storybooktoolbar.DY_mbXuP.min.js} +149 -153
  75. package/dist/{revolugo.termsandconditions.BALwQNzD.min.js → revolugo.termsandconditions.DXNFR45_.min.js} +4 -4
  76. package/dist/{revolugo.termsandconditions.DE2JCEFT.min.js → revolugo.termsandconditions.DfGTVPYa.min.js} +4 -4
  77. package/dist/{revolugo.use-breakpoint-service.B7ZCEdsL.min.js → revolugo.use-breakpoint-service.CJltQiSH.min.js} +14 -14
  78. package/dist/{revolugo.vautocomplete.Wzbe0OaU.min.js → revolugo.vautocomplete.BjPSa1jg.min.js} +76 -76
  79. package/dist/{revolugo.vbadge.DSCygmIX.min.js → revolugo.vbadge.D1RCkHoZ.min.js} +20 -20
  80. package/dist/{revolugo.vbtn.DznliZzR.min.js → revolugo.vbtn.CQ9EDLRJ.min.js} +51 -51
  81. package/dist/{revolugo.vcard.h_EXlxhg.min.js → revolugo.vcard.DNU4i52n.min.js} +15 -15
  82. package/dist/{revolugo.vcheckboxbtn.DUhHPAp0.min.js → revolugo.vcheckboxbtn.De-k8-O3.min.js} +74 -74
  83. package/dist/{revolugo.vdialog.Bt220-tR.min.js → revolugo.vdialog.CjEajxIC.min.js} +23 -23
  84. package/dist/{revolugo.vdivider.C-iQpm6s.min.js → revolugo.vdivider.Cp9bHPnI.min.js} +3 -3
  85. package/dist/{revolugo.vexpansionpanels.HBdcYsbX.min.js → revolugo.vexpansionpanels.L2ZpX4zd.min.js} +32 -32
  86. package/dist/{revolugo.vform.D-Xypuf6.min.js → revolugo.vform.Bw9rddZZ.min.js} +4 -4
  87. package/dist/{revolugo.vinput.Svg6lkwC.min.js → revolugo.vinput.P34xrpIC.min.js} +55 -55
  88. package/dist/{revolugo.vlabel.Bhm6Zd00.min.js → revolugo.vlabel.CLHrAz78.min.js} +3 -3
  89. package/dist/{revolugo.vlist.DMMPJbxQ.min.js → revolugo.vlist.hRQlcp5M.min.js} +109 -109
  90. package/dist/{revolugo.vmenu.-0zeBGoy.min.js → revolugo.vmenu.BRFw3Jzk.min.js} +25 -25
  91. package/dist/{revolugo.vselect.Bo-j_DVa.min.js → revolugo.vselect.u2C25NCe.min.js} +61 -61
  92. package/dist/{revolugo.vsheet.QeecLFsP.min.js → revolugo.vsheet.8UeU7qQn.min.js} +8 -8
  93. package/dist/{revolugo.vskeletonloader.EgTyxJfJ.min.js → revolugo.vskeletonloader.Dk0enVo6.min.js} +6 -6
  94. package/dist/{revolugo.vsnackbar.B_Wq8MGf.min.js → revolugo.vsnackbar.18JqJsZ2.min.js} +38 -38
  95. package/dist/revolugo.vspacer.CPbtu_-W.min.js +7 -0
  96. package/dist/{revolugo.vtextarea.DDc8gnKI.min.js → revolugo.vtextarea.Cjuqcka5.min.js} +61 -61
  97. package/dist/{revolugo.vtextfield.BchqqdJO.min.js → revolugo.vtextfield.BUNcwTRK.min.js} +69 -69
  98. package/dist/{revolugo.vtoolbar.DTHYPxEN.min.js → revolugo.vtoolbar.CvbAGFXR.min.js} +20 -20
  99. package/dist/{revolugo.vtooltip.D5Wd79J1.min.js → revolugo.vtooltip.CsXJFD-V.min.js} +39 -39
  100. package/dist/{revolugo.vwindowitem.BllQGIpD.min.js → revolugo.vwindowitem.DGRfRU3q.min.js} +34 -34
  101. package/dist/{revolugo.watch-list.By-bpBU3.min.js → revolugo.watch-list.D0FxBTWy.min.js} +2 -2
  102. package/dist/{revolugo.webcomponentwrapper.eF3pik3C.min.js → revolugo.webcomponentwrapper.DFYGhYzz.min.js} +268 -268
  103. package/package.json +3 -3
  104. package/dist/css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css +0 -1
  105. package/dist/css/revolugo.hoteloffersview.oDGeJCwG.css +0 -1
  106. package/dist/revolugo._baseiteratee.MzUQeAWT.min.js +0 -247
  107. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CHRvRFko.min.js +0 -149
  108. package/dist/revolugo.bhoteloffersfilterbar.DaG82sI1.min.js +0 -4826
  109. package/dist/revolugo.defaultsdeep._CHFDoDm.min.js +0 -104
  110. package/dist/revolugo.hotel-offer-request.DW3cTCiu.min.js +0 -98
  111. package/dist/revolugo.hoteloffersearchmenu.CX6iHCJ-.min.js +0 -47
  112. package/dist/revolugo.vspacer.BdpvYtXu.min.js +0 -7
@@ -1,4826 +0,0 @@
1
- import { al as da, am as le, an as It, ao as Ot, ap as De, aq as xt, ab as pe, P as rt, ar as fa, as as st, E as Pe, at as Y, d as te, D as h, C as U, L as Z, Q as Ie, u as ne, c as j, o as P, w as n, a as r, f as $, y as ee, z as va, b as ma, K as pa, r as ba, A as Tt, R as ha, m as ga, k as ya, S as Ne, q as wa, e as q, g as J, t as O, J as w, H as We, I as Et, j as ka, i as W, v as Re, F as se, au as Ba, x as ge, W as Ve, av as Be, N as _a, aw as ve, M as Sa, ax as Ra, n as Ma, h as Va, Y as Me, ay as ot, az as ze, a9 as ie, a3 as de, a5 as Lt, aA as Je, ai as Ca, X as Oe, ag as At, aB as Pa, a7 as he, aC as Fa, a0 as et, aD as nt, aE as Ia, aa as Oa, aF as $t, aG as xa, aH as Dt, Z as ut, aI as Ta, aJ as we, aK as Ea, aL as La, U as Ht, aM as Aa, aN as Ae, a6 as $a, aO as Da, aP as Ha, aQ as Na, aR as za, aS as Ua } from "./revolugo.index.wc.BmozE9Vv.min.js";
2
- import { C as qa } from "./revolugo.cancellationpoliciesbadge.CzdZk9wC.min.js";
3
- import { H as ja } from "./revolugo.hotelofferitemlayout.DO-TA9ts.min.js";
4
- import { B as Ka, a as Ga } from "./revolugo.bhotelroomsdetails.BLqYw-sq.min.js";
5
- import { _ as oe, B as Ya, c as Wa, d as Za, u as xe, m as Ue, b as He, V as ce, a as Q, e as Nt, f as Xa, g as Qa, t as Ja, h as ei, i as ti, j as ai, k as ii } from "./revolugo.webcomponentwrapper.eF3pik3C.min.js";
6
- import { V as fe, c as li, R as ri, d as si, m as oi, e as ni, f as ui, a as ci } from "./revolugo.index.Cl_q_UjY.min.js";
7
- import { a as K, b as di } from "./revolugo.vbtn.DznliZzR.min.js";
8
- import { B as fi, r as vi } from "./revolugo.hotelroomofferlist.5_UL7OSw.min.js";
9
- import { B as mi, _ as pi } from "./revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CIoChEf4.min.js";
10
- import { B as ct } from "./revolugo.btag.BGoOCm1Z.min.js";
11
- import { B as bi, H as hi } from "./revolugo.hoteldescriptionview.yCtPdRFO.min.js";
12
- import { B as gi, m as yi, V as wi } from "./revolugo.bimagecarousel.Bbu1M-_U.min.js";
13
- import { a as ki, p as Bi, u as _i } from "./revolugo.use-breakpoint-service.B7ZCEdsL.min.js";
14
- import { u as Fe } from "./revolugo.hotel-offer-request.DW3cTCiu.min.js";
15
- import { H as Si } from "./revolugo.hotelroomoffersview.BDcWZXrg.min.js";
16
- import { V as qe } from "./revolugo.vtooltip.D5Wd79J1.min.js";
17
- import { V as Ri } from "./revolugo.vdialog.Bt220-tR.min.js";
18
- import { V as Te, a as tt, b as at, c as Mi } from "./revolugo.vcard.h_EXlxhg.min.js";
19
- import { V as Vi } from "./revolugo.vautocomplete.Wzbe0OaU.min.js";
20
- import { V as Ze, a as Ci, b as dt } from "./revolugo.vlist.DMMPJbxQ.min.js";
21
- import { M as Pi, d as ft, g as Fi, f as vt } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CHRvRFko.min.js";
22
- import { u as Ii, V as mt, m as Oi, a as xi } from "./revolugo.vinput.Svg6lkwC.min.js";
23
- import { m as zt, a as Ut, u as qt, b as jt, c as Ti, d as Ei } from "./revolugo.rounded.BXIsUmTy.min.js";
24
- import { V as Li } from "./revolugo.vlabel.Bhm6Zd00.min.js";
25
- import { V as pt } from "./revolugo.vtextfield.BchqqdJO.min.js";
26
- import { V as $e } from "./revolugo.vdivider.C-iQpm6s.min.js";
27
- import { V as je } from "./revolugo.vmenu.-0zeBGoy.min.js";
28
- import { V as Ke } from "./revolugo.vbadge.DSCygmIX.min.js";
29
- import { u as Ai } from "./revolugo.ssrboot.BIjLx7yH.min.js";
30
- import { b as $i } from "./revolugo._baseiteratee.MzUQeAWT.min.js";
31
- function ca(e) {
32
- try {
33
- if (typeof document < "u") {
34
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
35
- sheets: [],
36
- components: []
37
- };
38
- const t = import.meta.url, l = t.slice(0, t.lastIndexOf("/") + 1) + e;
39
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(l);
40
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
41
- i(l);
42
- if (e.indexOf("fonts") >= 0) {
43
- const i = document.createElement("link");
44
- i.rel = "stylesheet", linK.href = l, document.head.appendChild(i);
45
- }
46
- }
47
- } catch (t) {
48
- console.error("[revolugo-elements] ", t);
49
- }
50
- }
51
- const Ir = 50;
52
- function Di(e, t) {
53
- return e && e.length ? da(e, $i(t)) : [];
54
- }
55
- function Ce(e, t = le.Info) {
56
- switch (t) {
57
- case le.Trace: {
58
- console.debug(`[TRACE] ${e}`);
59
- break;
60
- }
61
- case le.Debug: {
62
- console.debug(`[DEBUG] ${e}`);
63
- break;
64
- }
65
- case le.Info: {
66
- console.info(`[INFO] ${e}`);
67
- break;
68
- }
69
- case le.Warn: {
70
- console.warn(`[WARN] ${e}`);
71
- break;
72
- }
73
- case le.Error: {
74
- console.error(`[ERROR] ${e}`);
75
- break;
76
- }
77
- default: {
78
- console.log(`[${le[t]}] ${e}`);
79
- break;
80
- }
81
- }
82
- }
83
- const bt = {
84
- trace: (e) => Ce(e, le.Trace),
85
- debug: (e) => Ce(e, le.Debug),
86
- info: (e) => Ce(e, le.Info),
87
- warn: (e) => Ce(e, le.Warn),
88
- error: (e) => Ce(e, le.Error)
89
- }, Hi = It("hotelImages", {
90
- actions: {
91
- async retrieveHotelImages({
92
- hotelId: e,
93
- locale: t
94
- }) {
95
- var l;
96
- try {
97
- if ((l = this.hotels[e]) != null && l.hotelImages)
98
- return;
99
- this.hotels[e] = { hotelImages: [], isLoading: !0 };
100
- const i = Ot();
101
- if (!i)
102
- return;
103
- const a = await i.hotelImages.retrieve({
104
- id: e,
105
- lang: t
106
- });
107
- this.hotels[e] = { hotelImages: a, isLoading: !1 };
108
- } catch (i) {
109
- console.error("Cannot retrieve hotel images:", i);
110
- }
111
- }
112
- },
113
- getters: {
114
- hotel: (e) => (t) => e.hotels[t]
115
- },
116
- state: () => ({
117
- hotels: {}
118
- })
119
- }), Ni = It("hotelOffers", {
120
- actions: {
121
- addHotelOffers(e) {
122
- this.hotelOffers = Di(
123
- [...this.hotelOffers ?? [], ...e],
124
- "id"
125
- );
126
- },
127
- resetFilters() {
128
- this.filters = {
129
- ...De,
130
- [Y.SortBy]: this.filters[Y.SortBy]
131
- };
132
- },
133
- resetHotelOffers() {
134
- this.hotelOffers = [];
135
- },
136
- // eslint-disable-next-line max-lines-per-function
137
- async retrieveHotelOffers(e) {
138
- var l, i, a, o;
139
- if (!e.hotelOfferRequestId)
140
- return;
141
- const t = Ot();
142
- if (t) {
143
- const c = {
144
- ...e,
145
- currency: window.RevolugoElements.config.currency,
146
- filterByPrice: (l = this.transformFilterPrices) == null ? void 0 : l.join("-"),
147
- filterByReviewRating: this.filters.review_rating || void 0,
148
- filterByStar: this.filters.rating || void 0,
149
- lang: window.RevolugoElements.config.lang,
150
- onlyRecommendedHotelOffers: ((i = this.filters.sort_by) == null ? void 0 : i.value) === pe.TopPicks,
151
- priceHistogramStepCount: fa,
152
- sortBy: (a = this.filters.sort_by) == null ? void 0 : a.value,
153
- sortByOrder: (o = this.filters.sort_by) == null ? void 0 : o.direction
154
- };
155
- if (this.isPolling && rt(this.pollingPayload, c))
156
- return;
157
- st.$emit(Pe.HotelOffersPollingStarted), this.isPolling = !0, this.pollingPayload = c, this.hasError = !1, e.startingAfter || (this.hotelOffers = []), this.hotelOffersCurrency = void 0, await (t == null ? void 0 : t.hotelOffers.list(
158
- c,
159
- (p, m) => {
160
- var u, s;
161
- if (!rt(this.pollingPayload, c))
162
- return;
163
- if (p) {
164
- this.isPolling = !1, this.hasError = !0, console.error("Cannot retrieve hotel offers:", p);
165
- return;
166
- }
167
- if (this.isPolling = (((u = m == null ? void 0 : m.meta) == null ? void 0 : u.status) ?? "").toLowerCase() !== "complete", !((s = m == null ? void 0 : m.data) != null && s.hotelOffers))
168
- return;
169
- e.startingAfter ? this.addHotelOffers(m.data.hotelOffers) : this.hotelOffers = m.data.hotelOffers, st.$emit(
170
- Pe.HotelOffersRetrieved,
171
- m.data.hotelOffers
172
- ), this.hotelOffersCurrency = m.data.currency, this.priceHistogram = m.data.priceHistogram, this.priceMin = m.data.priceMin, this.priceMax = m.data.priceMax, this.startingAfter = m.meta.startingAfter;
173
- const v = (d) => {
174
- const g = this.getPriceMin, _ = this.getPriceMax;
175
- return g === _ && g === 0 ? !0 : d >= g && d <= _;
176
- }, f = v(
177
- this.filters.price[0]
178
- ) ? this.filters.price[0] : 0, b = v(
179
- this.filters.price[1]
180
- ) ? this.filters.price[1] : 0;
181
- this.filters = {
182
- ...this.filters,
183
- [Y.Price]: [f, b]
184
- };
185
- },
186
- {
187
- maxCallCount: 10
188
- }
189
- ).catch((p) => {
190
- this.isPolling = !1, this.hasError = !0, console.error("Cannot retrieve hotel offers:", p);
191
- }));
192
- }
193
- },
194
- saveFilters(e) {
195
- this.filters = {
196
- ...this.filters,
197
- ...e
198
- };
199
- }
200
- },
201
- /* debounce: {
202
- retrieveHotelOffers: 100,
203
- },*/
204
- getters: {
205
- activeFiltersNumber() {
206
- return [
207
- this.isPriceFilterActive,
208
- this.isStarRatingFilterActive,
209
- this.isReviewRatingFilterActive
210
- ].filter(Boolean).length;
211
- },
212
- getPriceMax(e) {
213
- const t = Fe();
214
- return !e.priceMax || !e.hotelOffersCurrency ? 0 : Math.round(
215
- ft({
216
- amount: e.priceMax,
217
- currency: e.hotelOffersCurrency
218
- }) / t.nightCount / t.roomCount
219
- );
220
- },
221
- getPriceMin(e) {
222
- const t = Fe();
223
- return !e.priceMin || !e.hotelOffersCurrency ? 0 : Math.round(
224
- ft({
225
- amount: e.priceMin,
226
- currency: e.hotelOffersCurrency
227
- }) / t.nightCount / t.roomCount
228
- );
229
- },
230
- isPriceFilterActive(e) {
231
- return e.filters.price[0] !== 0 || e.filters.price[1] !== 0;
232
- },
233
- isReviewRatingFilterActive(e) {
234
- return e.filters.review_rating !== xt;
235
- },
236
- isStarRatingFilterActive(e) {
237
- return e.filters.rating !== "";
238
- },
239
- priceHistogramStepCount(e) {
240
- return e.priceHistogram ? e.priceHistogram.length : 0;
241
- },
242
- transformFilterPrices(e) {
243
- const t = Fe();
244
- if (!(!e.filters.price || e.filters.price[0] === 0 && e.filters.price[1] === 0))
245
- return e.filters.price.map(
246
- (l) => new Pi({
247
- amount: l * t.nightCount * t.roomCount,
248
- currency: window.RevolugoElements.config.currency
249
- }).normalize().floor().getAmount()
250
- );
251
- }
252
- },
253
- state: () => ({
254
- filters: De,
255
- hasError: !1,
256
- hotelOffers: [],
257
- hotelOffersCurrency: void 0,
258
- isPolling: !1,
259
- pollingPayload: void 0,
260
- priceHistogram: [],
261
- priceMax: 0,
262
- priceMin: 0,
263
- startingAfter: null
264
- })
265
- });
266
- function zi(e) {
267
- return /^([+-]?\d*\.?\d+([Ee][+-]?\d+)?|[+-]?\d*\.?\d+)(px|em|rem|vw|vh|vmin|vmax|%|cm|mm|in|pt|pc|ch|ex|q)$/u.test(
268
- e
269
- );
270
- }
271
- function Xe(e) {
272
- if (e)
273
- return typeof e == "number" ? `${e}px` : typeof e == "string" && (zi(e) || e.startsWith("var")) ? e : Number.isNaN(e) ? "100%" : `${e}px`;
274
- }
275
- const Or = te({
276
- data() {
277
- return {
278
- parsedHeight: Xe(this.height)
279
- };
280
- },
281
- watch: {
282
- height: {
283
- handler(e) {
284
- this.parsedHeight = Xe(e);
285
- },
286
- immediate: !0
287
- }
288
- }
289
- }), xr = (e) => h(() => Xe(e.value));
290
- function Ui(e) {
291
- const t = ki(e), l = U(void 0);
292
- return Z(e, () => {
293
- Ie(() => {
294
- var i;
295
- l.value = ((i = t.value) == null ? void 0 : i.querySelector(".v-application")) ?? void 0;
296
- });
297
- }), {
298
- $dialogAttach: l
299
- };
300
- }
301
- var be = /* @__PURE__ */ ((e) => (e.DialogFullscreen = "DialogFullscreen", e.HotelDescriptionViewDialog = "HotelDescriptionViewDialog", e.HotelRoomOfferList = "HotelRoomOfferList", e.HotelRoomOffersViewDialog = "HotelRoomOffersViewDialog", e.RoomsDetails = "RoomsDetails", e))(be || {});
302
- const qi = {
303
- DialogFullscreen: !0,
304
- HotelDescriptionViewDialog: !1,
305
- HotelRoomOfferList: !1,
306
- HotelRoomOffersViewDialog: !1,
307
- RoomsDetails: !0
308
- }, ji = te({
309
- name: "BBtnCloseDialog",
310
- setup() {
311
- const { t: e } = ne();
312
- return {
313
- t: e
314
- };
315
- }
316
- });
317
- function Ki(e, t, l, i, a, o) {
318
- return P(), j(K, ee(e.$attrs, {
319
- class: "close-btn",
320
- dark: "",
321
- icon: "",
322
- variant: "flat"
323
- }), {
324
- default: n(() => [
325
- r(fe, null, {
326
- default: n(() => t[0] || (t[0] = [
327
- $("fas fa-times")
328
- ])),
329
- _: 1,
330
- __: [0]
331
- })
332
- ]),
333
- _: 1
334
- }, 16);
335
- }
336
- const Gi = /* @__PURE__ */ oe(ji, [["render", Ki]]), Yi = {
337
- adultCount: {
338
- type: Number
339
- },
340
- checkInDate: {
341
- type: String
342
- },
343
- compact: {
344
- type: Boolean
345
- },
346
- features: {
347
- default: () => qi,
348
- type: Object
349
- },
350
- hideAction: {
351
- default: !1,
352
- type: Boolean
353
- },
354
- hotelOffer: {
355
- required: !0,
356
- type: Object
357
- },
358
- imageCountLimit: {
359
- type: Number
360
- },
361
- isNoLongerAvail: {
362
- default: !1,
363
- type: Boolean
364
- },
365
- nightCount: {
366
- type: Number
367
- },
368
- singleOffer: {
369
- default: !1,
370
- type: Boolean
371
- }
372
- }, Wi = {
373
- clickable: {
374
- default: !1,
375
- type: Boolean
376
- },
377
- height: { type: String },
378
- imageUrls: { required: !0, type: Array },
379
- isLoading: { default: !1, type: Boolean },
380
- lazy: {
381
- default: 0,
382
- type: Number
383
- },
384
- limit: {
385
- default: 80,
386
- type: Number
387
- },
388
- rounded: { type: Boolean },
389
- showThumbnails: { type: Boolean },
390
- slide: { type: Number },
391
- thumbnailUrls: { type: Array },
392
- thumbnailsHeight: {
393
- type: [String, Number]
394
- },
395
- width: { type: String }
396
- }, Zi = {
397
- ...va(Wi, "imageUrls"),
398
- hotelOffer: {
399
- required: !0,
400
- type: Object
401
- },
402
- imageCountLimit: {
403
- type: Number
404
- }
405
- }, Xi = te({
406
- components: {
407
- BImageCarousel: gi
408
- },
409
- computed: {
410
- ...pa(Hi),
411
- carouselStyle() {
412
- return {
413
- borderBottomLeftRadius: "0px",
414
- borderTopLeftRadius: "0px",
415
- borderTopRightRadius: "0px"
416
- };
417
- },
418
- hotel() {
419
- return this.$store.get("hotelImages/hotel", this.hotelId);
420
- },
421
- hotelId() {
422
- var e;
423
- return (e = this.hotelOffer) == null ? void 0 : e.id;
424
- },
425
- imageUrls() {
426
- return yi(this.hotel.hotelImages || []);
427
- }
428
- },
429
- created() {
430
- this.dispatch("hotelImages/retrieveHotelImages", {
431
- hotelId: this.hotelId,
432
- locale: this.$i18n.locale
433
- });
434
- },
435
- mixins: [ma, Bi()],
436
- name: "HotelOfferItem",
437
- props: Zi,
438
- setup() {
439
- const { t: e } = ne();
440
- return {
441
- t: e
442
- };
443
- }
444
- });
445
- function Qi(e, t, l, i, a, o) {
446
- var p, m, v;
447
- const c = ba("BImageCarousel");
448
- return P(), j(c, {
449
- clickable: "",
450
- height: e.height,
451
- "image-urls": ((m = (p = e.imageUrls) == null ? void 0 : p.lowres) == null ? void 0 : m.slice(0, e.imageCountLimit)) || [],
452
- "is-loading": !((v = e.hotel) != null && v.hotelImages) || e.hotel.isLoading,
453
- lazy: 2,
454
- limit: 15,
455
- rounded: "",
456
- style: Tt(e.carouselStyle),
457
- width: e.width
458
- }, null, 8, ["height", "image-urls", "is-loading", "style", "width"]);
459
- }
460
- const Ji = /* @__PURE__ */ oe(Xi, [["render", Qi]]), el = {
461
- key: 1,
462
- class: "hotel-name text-subtitle-1 font-weight-black mr-1 text-primary cursor-pointer"
463
- }, tl = {
464
- key: 0,
465
- class: "text-grey-darken-2 text-caption mt-n1 d-block"
466
- }, al = { key: 0 }, il = { class: "footer bg-white" }, ll = {
467
- class: "mt-2",
468
- style: { cursor: "auto" }
469
- }, Kt = /* @__PURE__ */ te({
470
- __name: "HotelOfferItem",
471
- props: Yi,
472
- setup(e) {
473
- const t = e, { t: l } = ne(), i = U(!1), a = U(!1), o = U(!1), c = Fe(), { adultCount: p, checkInDate: m, nightCount: v } = ha(
474
- Fe()
475
- ), f = h(
476
- () => t.adultCount || p.value
477
- ), b = h(
478
- () => {
479
- var y, E;
480
- return ((E = (y = t.hotelOffer) == null ? void 0 : y.tags) == null ? void 0 : E.filter((M) => M.name.length > 30)) || [];
481
- }
482
- ), u = h(
483
- () => t.checkInDate || m.value
484
- ), s = h(() => {
485
- if (t.features[be.HotelRoomOffersViewDialog])
486
- return "hotel-room-offers-view";
487
- if (t.features[be.HotelDescriptionViewDialog])
488
- return "hotel-description-view";
489
- }), d = h(
490
- () => t.hotelOffer.distance ? Math.round(t.hotelOffer.distance / 1e3 * 100) / 100 : 0
491
- ), g = h(() => t.hotelOffer.id), _ = h(() => c.$state), k = h(
492
- () => t.hotelOffer.hotelRoomOffers[0]
493
- ), F = h(
494
- () => ga({
495
- bookingDatetime: ya().format(),
496
- cancellationPolicies: k.value.cancellationPolicies,
497
- checkInDate: u.value,
498
- timezone: t.hotelOffer.timezone
499
- }) === 0
500
- ), A = h(
501
- () => t.nightCount || v.value
502
- ), D = h(
503
- () => {
504
- var y;
505
- return ((y = k.value) == null ? void 0 : y.hotelRooms.reduce(
506
- (E, M) => E + (M.count || 0),
507
- 0
508
- )) || 0;
509
- }
510
- ), H = h(
511
- () => {
512
- var y, E;
513
- return ((E = (y = t.hotelOffer) == null ? void 0 : y.tags) == null ? void 0 : E.filter((M) => M.name.length <= 30)) || [];
514
- }
515
- ), B = h(() => {
516
- var y;
517
- return (y = t.hotelOffer) == null ? void 0 : y.venues;
518
- });
519
- function I() {
520
- window.RevolugoElements.eventBus.$emit(
521
- Pe.HotelOffersItemClick,
522
- t.hotelOffer
523
- ), t.features[be.HotelRoomOfferList] ? a.value ? (a.value = !1, setTimeout(() => {
524
- i.value = !1;
525
- }, 500)) : (i.value = !0, Ie(() => {
526
- a.value = !0;
527
- })) : (t.features[be.HotelDescriptionViewDialog] || t.features[be.HotelRoomOffersViewDialog]) && (o.value = !0);
528
- }
529
- function x() {
530
- window.RevolugoElements.eventBus.$emit(
531
- Pe.HotelOffersItemClick,
532
- t.hotelOffer
533
- ), o.value = !0, t.features[be.HotelRoomOffersViewDialog] && (a.value = !1, i.value = !1);
534
- }
535
- Ne(() => {
536
- t.features[be.HotelRoomOffersViewDialog] && window.RevolugoElements.eventBus.$on(Pe.BookingPolicyCreated, () => {
537
- setTimeout(() => {
538
- o.value = !1;
539
- }, 350);
540
- });
541
- });
542
- const V = h(
543
- () => {
544
- var y;
545
- return (y = k.value) == null ? void 0 : y.hotelRooms;
546
- }
547
- ), C = U(null), { $breakpointService: R } = _i(C), { $dialogAttach: S } = Ui(C);
548
- return (y, E) => (P(), j(ja, {
549
- ref_key: "root",
550
- ref: C,
551
- class: "hover-card",
552
- compact: y.compact,
553
- "is-rooms-details-visible": y.features.RoomsDetails,
554
- "onClick:hotelOfferItem": I
555
- }, wa({
556
- "hotel-description-view-dialog": n(() => [
557
- s.value ? (P(), j(Ri, {
558
- key: 0,
559
- modelValue: o.value,
560
- "onUpdate:modelValue": E[1] || (E[1] = (M) => o.value = M),
561
- attach: w(S),
562
- class: "z-index-over-map",
563
- fullscreen: y.features.DialogFullscreen,
564
- light: "",
565
- transition: "slide-x-reverse-transition"
566
- }, {
567
- default: n(() => [
568
- r(Wa, { "at-root": "" }, {
569
- default: n(() => [
570
- r(Te, {
571
- class: ge(["overflow-y-auto", {
572
- rounded: !y.features.DialogFullscreen,
573
- "hotel-dialog-card": !y.features.DialogFullscreen
574
- }]),
575
- tile: ""
576
- }, {
577
- default: n(() => [
578
- r(tt, null, {
579
- default: n(() => [
580
- s.value === "hotel-room-offers-view" ? (P(), j(Si, ee({
581
- key: 0,
582
- class: "pt-2 pa-md-6",
583
- "hotel-id": g.value
584
- }, _.value), null, 16, ["hotel-id"])) : s.value === "hotel-description-view" ? (P(), j(hi, ee({
585
- key: 1,
586
- class: "pt-2 pa-md-6",
587
- "hotel-id": g.value
588
- }, _.value), null, 16, ["hotel-id"])) : J("", !0)
589
- ]),
590
- _: 1
591
- })
592
- ]),
593
- _: 1
594
- }, 8, ["class"])
595
- ]),
596
- _: 1
597
- }),
598
- r(Gi, {
599
- class: ge(y.features.DialogFullscreen ? "close-btn-fullscreen" : ""),
600
- onClick: E[0] || (E[0] = (M) => o.value = !1)
601
- }, null, 8, ["class"])
602
- ]),
603
- _: 1
604
- }, 8, ["modelValue", "attach", "fullscreen"])) : J("", !0)
605
- ]),
606
- carousel: n(() => [
607
- r(wi, {
608
- height: y.features.RoomsDetails ? "175px" : "140px",
609
- width: !w(R).xs && !y.compact ? "175px" : "100%"
610
- }, {
611
- default: n(() => [
612
- r(Ji, {
613
- height: y.features.RoomsDetails ? "175px" : "140px",
614
- "hotel-offer": y.hotelOffer,
615
- "image-count-limit": y.imageCountLimit,
616
- width: !w(R).xs && !y.compact ? "175px" : "100%"
617
- }, null, 8, ["height", "hotel-offer", "image-count-limit", "width"])
618
- ]),
619
- _: 1
620
- }, 8, ["height", "width"])
621
- ]),
622
- heading: n(() => {
623
- var M;
624
- return [
625
- s.value && y.features.HotelRoomOfferList ? (P(), j(qe, {
626
- key: 0,
627
- attach: (M = y.$el) == null ? void 0 : M.parent,
628
- location: "bottom"
629
- }, {
630
- activator: n(({ props: G }) => [
631
- q("span", ee({ class: "hotel-name text-subtitle-1 font-weight-black mr-1 text-primary cursor-pointer" }, G, {
632
- onClick: Ba(x, ["stop"])
633
- }), O(y.hotelOffer.name), 17)
634
- ]),
635
- default: n(() => [
636
- $(O(w(l)("HotelOfferItem.openDialogTooltip", {
637
- value: d.value
638
- })) + " ", 1)
639
- ]),
640
- _: 1
641
- }, 8, ["attach"])) : (P(), W("span", el, O(y.hotelOffer.name), 1)),
642
- r(pi, {
643
- count: y.hotelOffer.rating
644
- }, null, 8, ["count"])
645
- ];
646
- }),
647
- "review-rating": n(() => [
648
- r(mi, {
649
- features: {
650
- ReviewRatingDetails: !1
651
- },
652
- hotel: y.hotelOffer,
653
- "tooltip-position": "bottom"
654
- }, null, 8, ["hotel"])
655
- ]),
656
- distance: n(() => [
657
- isNaN(d.value) ? J("", !0) : (P(), W("span", tl, O(w(l)("HotelOfferItem.distance", { value: d.value })), 1)),
658
- B.value ? (P(), j(bi, {
659
- key: 1,
660
- class: "my-n1",
661
- "venue-travel-times": B.value
662
- }, null, 8, ["venue-travel-times"])) : J("", !0)
663
- ]),
664
- "big-tags": n(() => [
665
- (P(!0), W(se, null, Re(b.value, (M, G) => (P(), W("div", {
666
- key: G,
667
- class: "align-self-center d-inline-flex flex-wrap",
668
- style: { gap: "0.3em" }
669
- }, [
670
- r(ct, {
671
- color: M.bg,
672
- "pre-icon": `fas fa-${M.faIcon}`,
673
- "text-color": M.color,
674
- "tooltip-content": M.description ?? void 0
675
- }, {
676
- default: n(() => [
677
- $(O(M.name), 1)
678
- ]),
679
- _: 2
680
- }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"])
681
- ]))), 128))
682
- ]),
683
- tags: n(() => [
684
- (P(!0), W(se, null, Re(H.value, (M, G) => (P(), W("div", {
685
- key: G,
686
- class: "align-self-center d-inline-flex flex-wrap",
687
- style: { gap: "0.3em" }
688
- }, [
689
- r(ct, {
690
- color: M.bg,
691
- "pre-icon": `fas fa-${M.faIcon}`,
692
- "text-color": M.color,
693
- "tooltip-content": M.description ?? void 0
694
- }, {
695
- default: n(() => [
696
- $(O(M.name), 1)
697
- ]),
698
- _: 2
699
- }, 1032, ["color", "pre-icon", "text-color", "tooltip-content"])
700
- ]))), 128))
701
- ]),
702
- "breakfast-option-badge": n(() => [
703
- k.value.breakfastOption === "INCLUDED" ? (P(), j(Ga, {
704
- key: 0,
705
- "breakfast-option": k.value.breakfastOption
706
- }, null, 8, ["breakfast-option"])) : J("", !0)
707
- ]),
708
- "package-details": n(() => [
709
- r(Ka, { "hotel-rooms": V.value }, null, 8, ["hotel-rooms"])
710
- ]),
711
- "price-summary": n(() => [
712
- k.value.price ? (P(), W("div", al, [
713
- r(fi, {
714
- "adult-count": f.value,
715
- "is-starting-price": "",
716
- "is-tax-included": "",
717
- "night-count": A.value,
718
- price: k.value.price,
719
- "room-count": D.value,
720
- "round-mode": "round",
721
- "tax-included-price": k.value.taxIncludedPrice
722
- }, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"])
723
- ])) : J("", !0)
724
- ]),
725
- footer: n(() => [
726
- q("div", il, [
727
- y.isNoLongerAvail ? (P(), j(Ya, { key: 0 }, {
728
- title: n(() => [
729
- $(O(w(l)("HotelOfferItem.noLongerAvailable")), 1)
730
- ]),
731
- _: 1
732
- })) : i.value ? (P(), j(li, { key: 1 }, {
733
- default: n(() => [
734
- We(q("div", ll, [
735
- i.value ? ka(y.$slots, "default", { key: 0 }, void 0, !0) : J("", !0)
736
- ], 512), [
737
- [Et, y.features.HotelRoomOfferList && a.value]
738
- ])
739
- ]),
740
- _: 3
741
- })) : J("", !0)
742
- ])
743
- ]),
744
- _: 2
745
- }, [
746
- F.value ? {
747
- name: "cancellation-policies-badge",
748
- fn: n(() => [
749
- r(qa, {
750
- "cancellation-policies": k.value.cancellationPolicies,
751
- "check-in-date": u.value,
752
- timezone: y.hotelOffer.timezone
753
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
754
- ]),
755
- key: "0"
756
- } : void 0
757
- ]), 1032, ["compact", "is-rooms-details-visible"]));
758
- }
759
- });
760
- function ht(e) {
761
- const t = e;
762
- t.__i18n = t.__i18n || [], t.__i18n.push({
763
- locale: "",
764
- resource: {
765
- "en-US": {
766
- HotelOfferItem: {
767
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km from venue" }] } },
768
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotel Offer No Longer available" } },
769
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Best value" }, { t: 2, i: [{ t: 3 }], s: "Best value for your group" }] } },
770
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Click here to open hotel details" } },
771
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "See availability" } },
772
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Show details" } }
773
- }
774
- },
775
- "fr-FR": {
776
- HotelOfferItem: {
777
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km du lieu" }] } },
778
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cette offre n'est plus disponible" } },
779
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Meilleur offre" }, { t: 2, i: [{ t: 3 }], s: "Meilleur offre pour votre groupe" }] } },
780
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cliquer pour voir les détails" } },
781
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voir les disponibilités" } },
782
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Afficher les détails" } }
783
- }
784
- },
785
- "de-DE": {
786
- HotelOfferItem: {
787
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km vom Veranstaltungsort" }] } },
788
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotelangebot nicht mehr verfügbar" } },
789
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Bestes Preis-Leistungs-Verhältnis" }, { t: 2, i: [{ t: 3 }], s: "Bestes Preis-Leistungs-Verhältnis für Ihre Gruppe" }] } },
790
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hier klicken, um Hoteldetails zu öffnen" } },
791
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Verfügbarkeit prüfen" } },
792
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Details anzeigen" } }
793
- }
794
- },
795
- "es-ES": {
796
- HotelOfferItem: {
797
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km del lugar" }] } },
798
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La oferta del hotel ya no está disponible" } },
799
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Mejor precio" }, { t: 2, i: [{ t: 3 }], s: "Mejor precio para tu grupo" }] } },
800
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Haz clic aquí para abrir los detalles del hotel" } },
801
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ver disponibilidad" } },
802
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar detalles" } }
803
- }
804
- },
805
- "it-IT": {
806
- HotelOfferItem: {
807
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km dalla sede" }] } },
808
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Offerta Hotel non più disponibile" } },
809
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Miglior rapporto qualità/prezzo" }, { t: 2, i: [{ t: 3 }], s: "Miglior rapporto qualità/prezzo per il tuo gruppo" }] } },
810
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clicca qui per aprire i dettagli dell'hotel" } },
811
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Vedi disponibilità" } },
812
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostra dettagli" } }
813
- }
814
- },
815
- "nl-NL": {
816
- HotelOfferItem: {
817
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km van de locatie" }] } },
818
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hotelaanbieding niet meer beschikbaar" } },
819
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Beste waarde" }, { t: 2, i: [{ t: 3 }], s: "Beste waarde voor uw groep" }] } },
820
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Klik hier om hoteldetails te openen" } },
821
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bekijk beschikbaarheid" } },
822
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toon details" } }
823
- }
824
- },
825
- "pt-PT": {
826
- HotelOfferItem: {
827
- distance: { t: 0, b: { t: 2, i: [{ t: 4, k: "value" }, { t: 3, v: "km do local" }] } },
828
- noLongerAvailable: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Oferta de Hotel Indisponível" } },
829
- offerTag: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Melhor preço" }, { t: 2, i: [{ t: 3 }], s: "Melhor preço para o seu grupo" }] } },
830
- openDialogTooltip: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clique aqui para abrir os detalhes do hotel" } },
831
- seeRooms: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ver disponibilidade" } },
832
- showDetails: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mostrar detalhes" } }
833
- }
834
- }
835
- }
836
- });
837
- }
838
- typeof ht == "function" && ht(Kt);
839
- const Tr = /* @__PURE__ */ oe(Kt, [["__scopeId", "data-v-9620c51d"]]);
840
- function rl(e, t, l, i) {
841
- function a(o) {
842
- return o instanceof l ? o : new l(function(c) {
843
- c(o);
844
- });
845
- }
846
- return new (l || (l = Promise))(function(o, c) {
847
- function p(f) {
848
- try {
849
- v(i.next(f));
850
- } catch (b) {
851
- c(b);
852
- }
853
- }
854
- function m(f) {
855
- try {
856
- v(i.throw(f));
857
- } catch (b) {
858
- c(b);
859
- }
860
- }
861
- function v(f) {
862
- f.done ? o(f.value) : a(f.value).then(p, m);
863
- }
864
- v((i = i.apply(e, [])).next());
865
- });
866
- }
867
- function sl(e) {
868
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
869
- }
870
- var Ye, gt;
871
- function ol() {
872
- return gt || (gt = 1, Ye = function e(t, l) {
873
- if (t === l) return !0;
874
- if (t && l && typeof t == "object" && typeof l == "object") {
875
- if (t.constructor !== l.constructor) return !1;
876
- var i, a, o;
877
- if (Array.isArray(t)) {
878
- if (i = t.length, i != l.length) return !1;
879
- for (a = i; a-- !== 0; )
880
- if (!e(t[a], l[a])) return !1;
881
- return !0;
882
- }
883
- if (t.constructor === RegExp) return t.source === l.source && t.flags === l.flags;
884
- if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === l.valueOf();
885
- if (t.toString !== Object.prototype.toString) return t.toString() === l.toString();
886
- if (o = Object.keys(t), i = o.length, i !== Object.keys(l).length) return !1;
887
- for (a = i; a-- !== 0; )
888
- if (!Object.prototype.hasOwnProperty.call(l, o[a])) return !1;
889
- for (a = i; a-- !== 0; ) {
890
- var c = o[a];
891
- if (!e(t[c], l[c])) return !1;
892
- }
893
- return !0;
894
- }
895
- return t !== t && l !== l;
896
- }), Ye;
897
- }
898
- var nl = ol(), ul = /* @__PURE__ */ sl(nl);
899
- const yt = "__googleMapsScriptId";
900
- var Se;
901
- (function(e) {
902
- e[e.INITIALIZED = 0] = "INITIALIZED", e[e.LOADING = 1] = "LOADING", e[e.SUCCESS = 2] = "SUCCESS", e[e.FAILURE = 3] = "FAILURE";
903
- })(Se || (Se = {}));
904
- class ke {
905
- /**
906
- * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
907
- * using this library, instead the defaults are set by the Google Maps
908
- * JavaScript API server.
909
- *
910
- * ```
911
- * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
912
- * ```
913
- */
914
- constructor({ apiKey: t, authReferrerPolicy: l, channel: i, client: a, id: o = yt, language: c, libraries: p = [], mapIds: m, nonce: v, region: f, retries: b = 3, url: u = "https://maps.googleapis.com/maps/api/js", version: s }) {
915
- if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = t, this.authReferrerPolicy = l, this.channel = i, this.client = a, this.id = o || yt, this.language = c, this.libraries = p, this.mapIds = m, this.nonce = v, this.region = f, this.retries = b, this.url = u, this.version = s, ke.instance) {
916
- if (!ul(this.options, ke.instance.options))
917
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(ke.instance.options)}`);
918
- return ke.instance;
919
- }
920
- ke.instance = this;
921
- }
922
- get options() {
923
- return {
924
- version: this.version,
925
- apiKey: this.apiKey,
926
- channel: this.channel,
927
- client: this.client,
928
- id: this.id,
929
- libraries: this.libraries,
930
- language: this.language,
931
- region: this.region,
932
- mapIds: this.mapIds,
933
- nonce: this.nonce,
934
- url: this.url,
935
- authReferrerPolicy: this.authReferrerPolicy
936
- };
937
- }
938
- get status() {
939
- return this.errors.length ? Se.FAILURE : this.done ? Se.SUCCESS : this.loading ? Se.LOADING : Se.INITIALIZED;
940
- }
941
- get failed() {
942
- return this.done && !this.loading && this.errors.length >= this.retries + 1;
943
- }
944
- /**
945
- * CreateUrl returns the Google Maps JavaScript API script url given the [[LoaderOptions]].
946
- *
947
- * @ignore
948
- * @deprecated
949
- */
950
- createUrl() {
951
- let t = this.url;
952
- return t += "?callback=__googleMapsCallback&loading=async", this.apiKey && (t += `&key=${this.apiKey}`), this.channel && (t += `&channel=${this.channel}`), this.client && (t += `&client=${this.client}`), this.libraries.length > 0 && (t += `&libraries=${this.libraries.join(",")}`), this.language && (t += `&language=${this.language}`), this.region && (t += `&region=${this.region}`), this.version && (t += `&v=${this.version}`), this.mapIds && (t += `&map_ids=${this.mapIds.join(",")}`), this.authReferrerPolicy && (t += `&auth_referrer_policy=${this.authReferrerPolicy}`), t;
953
- }
954
- deleteScript() {
955
- const t = document.getElementById(this.id);
956
- t && t.remove();
957
- }
958
- /**
959
- * Load the Google Maps JavaScript API script and return a Promise.
960
- * @deprecated, use importLibrary() instead.
961
- */
962
- load() {
963
- return this.loadPromise();
964
- }
965
- /**
966
- * Load the Google Maps JavaScript API script and return a Promise.
967
- *
968
- * @ignore
969
- * @deprecated, use importLibrary() instead.
970
- */
971
- loadPromise() {
972
- return new Promise((t, l) => {
973
- this.loadCallback((i) => {
974
- i ? l(i.error) : t(window.google);
975
- });
976
- });
977
- }
978
- importLibrary(t) {
979
- return this.execute(), google.maps.importLibrary(t);
980
- }
981
- /**
982
- * Load the Google Maps JavaScript API script with a callback.
983
- * @deprecated, use importLibrary() instead.
984
- */
985
- loadCallback(t) {
986
- this.callbacks.push(t), this.execute();
987
- }
988
- /**
989
- * Set the script on document.
990
- */
991
- setScript() {
992
- var t, l;
993
- if (document.getElementById(this.id)) {
994
- this.callback();
995
- return;
996
- }
997
- const i = {
998
- key: this.apiKey,
999
- channel: this.channel,
1000
- client: this.client,
1001
- libraries: this.libraries.length && this.libraries,
1002
- v: this.version,
1003
- mapIds: this.mapIds,
1004
- language: this.language,
1005
- region: this.region,
1006
- authReferrerPolicy: this.authReferrerPolicy
1007
- };
1008
- Object.keys(i).forEach(
1009
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1010
- (o) => !i[o] && delete i[o]
1011
- ), !((l = (t = window == null ? void 0 : window.google) === null || t === void 0 ? void 0 : t.maps) === null || l === void 0) && l.importLibrary || ((o) => {
1012
- let c, p, m, v = "The Google Maps JavaScript API", f = "google", b = "importLibrary", u = "__ib__", s = document, d = window;
1013
- d = d[f] || (d[f] = {});
1014
- const g = d.maps || (d.maps = {}), _ = /* @__PURE__ */ new Set(), k = new URLSearchParams(), F = () => (
1015
- // @ts-ignore
1016
- c || (c = new Promise((A, D) => rl(this, void 0, void 0, function* () {
1017
- var H;
1018
- yield p = s.createElement("script"), p.id = this.id, k.set("libraries", [..._] + "");
1019
- for (m in o)
1020
- k.set(m.replace(/[A-Z]/g, (B) => "_" + B[0].toLowerCase()), o[m]);
1021
- k.set("callback", f + ".maps." + u), p.src = this.url + "?" + k, g[u] = A, p.onerror = () => c = D(Error(v + " could not load.")), p.nonce = this.nonce || ((H = s.querySelector("script[nonce]")) === null || H === void 0 ? void 0 : H.nonce) || "", s.head.append(p);
1022
- })))
1023
- );
1024
- g[b] ? console.warn(v + " only loads once. Ignoring:", o) : g[b] = (A, ...D) => _.add(A) && F().then(() => g[b](A, ...D));
1025
- })(i);
1026
- const a = this.libraries.map((o) => this.importLibrary(o));
1027
- a.length || a.push(this.importLibrary("core")), Promise.all(a).then(() => this.callback(), (o) => {
1028
- const c = new ErrorEvent("error", { error: o });
1029
- this.loadErrorCallback(c);
1030
- });
1031
- }
1032
- /**
1033
- * Reset the loader state.
1034
- */
1035
- reset() {
1036
- this.deleteScript(), this.done = !1, this.loading = !1, this.errors = [], this.onerrorEvent = null;
1037
- }
1038
- resetIfRetryingFailed() {
1039
- this.failed && this.reset();
1040
- }
1041
- loadErrorCallback(t) {
1042
- if (this.errors.push(t), this.errors.length <= this.retries) {
1043
- const l = this.errors.length * Math.pow(2, this.errors.length);
1044
- console.error(`Failed to load Google Maps script, retrying in ${l} ms.`), setTimeout(() => {
1045
- this.deleteScript(), this.setScript();
1046
- }, l);
1047
- } else
1048
- this.onerrorEvent = t, this.callback();
1049
- }
1050
- callback() {
1051
- this.done = !0, this.loading = !1, this.callbacks.forEach((t) => {
1052
- t(this.onerrorEvent);
1053
- }), this.callbacks = [];
1054
- }
1055
- execute() {
1056
- if (this.resetIfRetryingFailed(), !this.loading)
1057
- if (this.done)
1058
- this.callback();
1059
- else {
1060
- if (window.google && window.google.maps && window.google.maps.version) {
1061
- console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."), this.callback();
1062
- return;
1063
- }
1064
- this.loading = !0, this.setScript();
1065
- }
1066
- }
1067
- }
1068
- const cl = (e) => {
1069
- switch (e) {
1070
- case Ve.Production:
1071
- return "AIzaSyDipOKl8MebRQ5FFK_LgUn6YXiSW45KeEU";
1072
- case Ve.Sandbox:
1073
- case Ve.Staging:
1074
- case Ve.CiCd:
1075
- case Ve.Local:
1076
- default:
1077
- return "AIzaSyDrGcYsSX4u-28bi3vFlQ_D5Lz92GHupP8";
1078
- }
1079
- }, dl = {
1080
- isFlat: {
1081
- default: !0,
1082
- type: Boolean
1083
- },
1084
- locationContext: {
1085
- default: null,
1086
- type: Object
1087
- },
1088
- modelValue: {
1089
- default: null,
1090
- type: Object
1091
- },
1092
- outlined: {
1093
- default: !1,
1094
- type: Boolean
1095
- },
1096
- withDetails: {
1097
- default: !1,
1098
- type: Boolean
1099
- }
1100
- };
1101
- function fl(e) {
1102
- switch (e) {
1103
- case "accounting":
1104
- return "fas fa-calculator";
1105
- case "airport":
1106
- return "fas fa-plane";
1107
- case "amusement_park":
1108
- return "fas fa-funnel-dollar";
1109
- case "aquarium":
1110
- return "fas fa-fish";
1111
- case "art_gallery":
1112
- return "fas fa-paint-brush";
1113
- case "atm":
1114
- return "fas fa-money";
1115
- case "bakery":
1116
- return "fas fa-bread-slice";
1117
- case "bank":
1118
- return "fas fa-university";
1119
- case "bar":
1120
- return "fas fa-cocktail";
1121
- case "beauty_salon":
1122
- return "fas fa-cut";
1123
- case "bicycle_store":
1124
- return "fas fa-bicycle";
1125
- case "book_store":
1126
- return "fas fa-book";
1127
- case "bowling_alley":
1128
- return "fas fa-bowling-ball";
1129
- case "bus_station":
1130
- return "fas fa-bus";
1131
- case "cafe":
1132
- return "fas fa-coffee";
1133
- case "campground":
1134
- return "fas fa-campground";
1135
- case "car_dealer":
1136
- return "fas fa-car";
1137
- case "car_rental":
1138
- return "fas fa-car";
1139
- case "car_repair":
1140
- return "fas fa-wrench";
1141
- case "car_wash":
1142
- return "fas fa-car-wash";
1143
- case "casino":
1144
- return "fas fa-dice";
1145
- case "cemetery":
1146
- return "fas fa-cross";
1147
- case "church":
1148
- return "fas fa-church";
1149
- case "city_hall":
1150
- return "fas fa-city";
1151
- case "clothing_store":
1152
- return "fas fa-tshirt";
1153
- case "convenience_store":
1154
- return "fas fa-shopping-basket";
1155
- case "courthouse":
1156
- return "fas fa-balance-scale";
1157
- case "dentist":
1158
- return "fas fa-tooth";
1159
- case "department_store":
1160
- return "fas fa-store";
1161
- case "doctor":
1162
- return "fas fa-user-md";
1163
- case "drugstore":
1164
- return "fas fa-prescription-bottle-alt";
1165
- case "electrician":
1166
- return "fas fa-bolt";
1167
- case "electronics_store":
1168
- return "fas fa-tv";
1169
- case "embassy":
1170
- return "fas fa-flag";
1171
- case "fire_station":
1172
- return "fas fa-fire-extinguisher";
1173
- case "florist":
1174
- return "fas fa-seedling";
1175
- case "funeral_home":
1176
- return "fas fa-cross";
1177
- case "furniture_store":
1178
- return "fas fa-chair";
1179
- case "gas_station":
1180
- return "fas fa-gas-pump";
1181
- case "gym":
1182
- return "fas fa-dumbbell";
1183
- case "hair_care":
1184
- return "fas fa-cut";
1185
- case "hardware_store":
1186
- return "fas fa-tools";
1187
- case "hindu_temple":
1188
- return "fas fa-om";
1189
- case "home_goods_store":
1190
- return "fas fa-home";
1191
- case "hospital":
1192
- return "fas fa-hospital";
1193
- case "insurance_agency":
1194
- return "fas fa-shield-alt";
1195
- case "jewelry_store":
1196
- return "fas fa-gem";
1197
- case "laundry":
1198
- return "fas fa-tshirt";
1199
- case "lawyer":
1200
- return "fas fa-balance-scale";
1201
- case "library":
1202
- return "fas fa-book-open";
1203
- case "light_rail_station":
1204
- return "fas fa-train";
1205
- case "liquor_store":
1206
- return "fas fa-wine-bottle";
1207
- case "local_government_office":
1208
- return "fas fa-landmark";
1209
- case "locksmith":
1210
- return "fas fa-lock";
1211
- case "lodging":
1212
- return "fas fa-hotel";
1213
- case "meal_delivery":
1214
- return "fas fa-truck";
1215
- case "meal_takeaway":
1216
- return "fas fa-box";
1217
- case "mosque":
1218
- return "fas fa-mosque";
1219
- case "movie_rental":
1220
- return "fas fa-film";
1221
- case "movie_theater":
1222
- return "fas fa-film";
1223
- case "moving_company":
1224
- return "fas fa-truck";
1225
- case "museum":
1226
- return "fas fa-university";
1227
- case "night_club":
1228
- return "fas fa-glass-martini-alt";
1229
- case "painter":
1230
- return "fas fa-paint-roller";
1231
- case "park":
1232
- return "fas fa-tree";
1233
- case "parking":
1234
- return "fas fa-parking";
1235
- case "pet_store":
1236
- return "fas fa-paw";
1237
- case "pharmacy":
1238
- return "fas fa-prescription-bottle-alt";
1239
- case "physiotherapist":
1240
- return "fas fa-briefcase-medical";
1241
- case "plumber":
1242
- return "fas fa-wrench";
1243
- case "police":
1244
- return "fas fa-police";
1245
- case "post_office":
1246
- return "fas fa-mail-bulk";
1247
- case "primary_school":
1248
- return "fas fa-school";
1249
- case "real_estate_agency":
1250
- return "fas fa-building";
1251
- case "restaurant":
1252
- return "fas fa-utensils";
1253
- case "roofing_contractor":
1254
- return "fas fa-tools";
1255
- case "rv_park":
1256
- return "fas fa-campground";
1257
- case "school":
1258
- return "fas fa-graduation-cap";
1259
- case "secondary_school":
1260
- return "fas fa-school";
1261
- case "shoe_store":
1262
- return "fas fa-shoe-prints";
1263
- case "shopping_mall":
1264
- return "fas fa-shopping-mall";
1265
- case "spa":
1266
- return "fas fa-spa";
1267
- case "stadium":
1268
- return "fas fa-stadium";
1269
- case "storage":
1270
- return "fas fa-warehouse";
1271
- case "store":
1272
- return "fas fa-store";
1273
- case "subway_station":
1274
- return "fas fa-subway";
1275
- case "supermarket":
1276
- return "fas fa-shopping-cart";
1277
- case "synagogue":
1278
- return "fas fa-synagogue";
1279
- case "taxi_stand":
1280
- return "fas fa-taxi";
1281
- case "tourist_attraction":
1282
- return "fas fa-map-marked-alt";
1283
- case "train_station":
1284
- return "fas fa-train";
1285
- case "transit_station":
1286
- return "fas fa-bus";
1287
- case "travel_agency":
1288
- return "fas fa-map-marked-alt";
1289
- case "university":
1290
- return "fas fa-graduation-cap";
1291
- case "veterinary_care":
1292
- return "fas fa-paw";
1293
- case "zoo":
1294
- return "fas fa-paw";
1295
- case void 0:
1296
- default:
1297
- return "fas fa-location-dot";
1298
- }
1299
- }
1300
- const Gt = /* @__PURE__ */ te({
1301
- __name: "BSearchLocationInput",
1302
- props: /* @__PURE__ */ Be(dl, {
1303
- modelValue: {},
1304
- modelModifiers: {}
1305
- }),
1306
- emits: ["update:modelValue"],
1307
- setup(e) {
1308
- function t(s) {
1309
- return fl(s == null ? void 0 : s[0]);
1310
- }
1311
- const { t: l } = ne(), { config: i } = _a(), a = ve(e, "modelValue"), o = U(""), c = U([]), p = U(!1), m = U(!1), v = h(() => cl(i.value.apiEnvironment)), f = e;
1312
- function b() {
1313
- return new Promise((s) => {
1314
- new ke({
1315
- apiKey: v.value,
1316
- libraries: ["places"],
1317
- version: "quarterly"
1318
- }).importLibrary("places").then(({ PlacesService: g }) => {
1319
- const _ = new g(document.createElement("div"));
1320
- if (o.value || s([]), f.locationContext) {
1321
- const k = {
1322
- location: {
1323
- lat: f.locationContext.latitude,
1324
- lng: f.locationContext.longitude
1325
- },
1326
- query: o.value,
1327
- radius: 1e4
1328
- };
1329
- _.textSearch(k, (F) => {
1330
- s(F ?? []);
1331
- });
1332
- } else {
1333
- const k = {
1334
- fields: ["name", "geometry", "types", "formatted_address"],
1335
- query: o.value
1336
- };
1337
- _.findPlaceFromQuery(k, (F) => {
1338
- s(F ?? []);
1339
- });
1340
- }
1341
- }).catch((g) => {
1342
- bt.error(g), s([]);
1343
- });
1344
- });
1345
- }
1346
- const u = Sa(async () => {
1347
- try {
1348
- p.value = !0;
1349
- const s = await b();
1350
- return c.value = s.filter((d) => {
1351
- var g;
1352
- return !!((g = d.geometry) != null && g.location);
1353
- }).map((d) => ({
1354
- icon: t(d.types),
1355
- latitude: d.geometry.location.lat(),
1356
- longitude: d.geometry.location.lng(),
1357
- raw: d,
1358
- subtitle: d.formatted_address ?? "",
1359
- title: Ra([d.name]).join(" ")
1360
- })), p.value = !1, c.value;
1361
- } catch (s) {
1362
- return bt.error(s), p.value = !1, [];
1363
- }
1364
- }, 500);
1365
- return Z(o, async (s) => {
1366
- if (!s) {
1367
- c.value = [];
1368
- return;
1369
- }
1370
- await u();
1371
- }), Ne(() => {
1372
- Ie(() => {
1373
- var s, d;
1374
- o.value = ((d = (s = a.value) == null ? void 0 : s.raw) == null ? void 0 : d.name) || "";
1375
- }).catch((s) => {
1376
- console.error(s);
1377
- });
1378
- }), (s, d) => (P(), j(Vi, {
1379
- class: ge(["search-location-input", { focused: m.value }]),
1380
- density: "compact",
1381
- flat: s.isFlat,
1382
- "hide-details": !s.withDetails,
1383
- "hide-no-data": "",
1384
- "item-title": "title",
1385
- items: c.value,
1386
- placeholder: w(l)("BSearchLocationInput.placeholder"),
1387
- loading: p.value,
1388
- "no-filter": "",
1389
- outlined: s.outlined,
1390
- "return-object": "",
1391
- modelValue: a.value,
1392
- "onUpdate:modelValue": d[0] || (d[0] = (g) => a.value = g),
1393
- search: o.value,
1394
- "onUpdate:search": d[1] || (d[1] = (g) => o.value = g),
1395
- focused: m.value,
1396
- "onUpdate:focused": d[2] || (d[2] = (g) => m.value = g),
1397
- variant: s.outlined ? void 0 : "solo",
1398
- color: "primary",
1399
- "menu-props": {
1400
- contentClass: "elevation-1"
1401
- },
1402
- "list-props": {
1403
- elevation: 0,
1404
- class: "mt-1"
1405
- }
1406
- }, {
1407
- "prepend-inner": n(() => [
1408
- r(fe, { size: "15" }, {
1409
- default: n(() => d[3] || (d[3] = [
1410
- $("fas fa-solid fa-magnifying-glass")
1411
- ])),
1412
- _: 1,
1413
- __: [3]
1414
- })
1415
- ]),
1416
- item: n(({ item: g, props: _ }) => [
1417
- r(Ze, Ma(Va(_)), {
1418
- prepend: n(() => [
1419
- r(fe, {
1420
- color: "primary",
1421
- size: "25"
1422
- }, {
1423
- default: n(() => [
1424
- $(O(g.raw.icon), 1)
1425
- ]),
1426
- _: 2
1427
- }, 1024)
1428
- ]),
1429
- _: 2
1430
- }, 1040)
1431
- ]),
1432
- _: 1
1433
- }, 8, ["flat", "hide-details", "items", "placeholder", "loading", "outlined", "modelValue", "search", "focused", "variant", "class"]));
1434
- }
1435
- });
1436
- function wt(e) {
1437
- const t = e;
1438
- t.__i18n = t.__i18n || [], t.__i18n.push({
1439
- locale: "",
1440
- resource: {
1441
- "en-US": {
1442
- BSearchLocationInput: {
1443
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Location" } },
1444
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Search for a location" } },
1445
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No locations found" } }
1446
- }
1447
- },
1448
- "fr-FR": {
1449
- BSearchLocationInput: {
1450
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Adresse" } },
1451
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Entrer une adresse" } },
1452
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aucun résultat trouvé" } }
1453
- }
1454
- },
1455
- "de-DE": {
1456
- BSearchLocationInput: {
1457
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ort" } },
1458
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Suche nach einem Ort" } },
1459
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Keine Orte gefunden" } }
1460
- }
1461
- },
1462
- "es-ES": {
1463
- BSearchLocationInput: {
1464
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ubicación" } },
1465
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Buscar una ubicación" } },
1466
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "No se encontraron ubicaciones" } }
1467
- }
1468
- },
1469
- "it-IT": {
1470
- BSearchLocationInput: {
1471
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Luogo" } },
1472
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cerca una località" } },
1473
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nessuna località trovata" } }
1474
- }
1475
- },
1476
- "nl-NL": {
1477
- BSearchLocationInput: {
1478
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Locatie" } },
1479
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zoek naar een locatie" } },
1480
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geen locaties gevonden" } }
1481
- }
1482
- },
1483
- "pt-PT": {
1484
- BSearchLocationInput: {
1485
- label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Localização" } },
1486
- placeholder: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pesquisar por uma localização" } },
1487
- noDataText: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nenhuma localização encontrada" } }
1488
- }
1489
- }
1490
- }
1491
- });
1492
- }
1493
- typeof wt == "function" && wt(Gt);
1494
- const Er = /* @__PURE__ */ oe(Gt, [["__scopeId", "data-v-17cff640"]]), it = Symbol.for("vuetify:v-slider");
1495
- function Qe(e, t, l) {
1496
- const i = l === "vertical", a = t.getBoundingClientRect(), o = "touches" in e ? e.touches[0] : e;
1497
- return i ? o.clientY - (a.top + a.height / 2) : o.clientX - (a.left + a.width / 2);
1498
- }
1499
- function vl(e, t) {
1500
- return "touches" in e && e.touches.length ? e.touches[0][t] : "changedTouches" in e && e.changedTouches.length ? e.changedTouches[0][t] : e[t];
1501
- }
1502
- const ml = Me({
1503
- disabled: {
1504
- type: Boolean,
1505
- default: null
1506
- },
1507
- error: Boolean,
1508
- readonly: {
1509
- type: Boolean,
1510
- default: null
1511
- },
1512
- max: {
1513
- type: [Number, String],
1514
- default: 100
1515
- },
1516
- min: {
1517
- type: [Number, String],
1518
- default: 0
1519
- },
1520
- step: {
1521
- type: [Number, String],
1522
- default: 0
1523
- },
1524
- thumbColor: String,
1525
- thumbLabel: {
1526
- type: [Boolean, String],
1527
- default: void 0,
1528
- validator: (e) => typeof e == "boolean" || e === "always"
1529
- },
1530
- thumbSize: {
1531
- type: [Number, String],
1532
- default: 20
1533
- },
1534
- showTicks: {
1535
- type: [Boolean, String],
1536
- default: !1,
1537
- validator: (e) => typeof e == "boolean" || e === "always"
1538
- },
1539
- ticks: {
1540
- type: [Array, Object]
1541
- },
1542
- tickSize: {
1543
- type: [Number, String],
1544
- default: 2
1545
- },
1546
- color: String,
1547
- trackColor: String,
1548
- trackFillColor: String,
1549
- trackSize: {
1550
- type: [Number, String],
1551
- default: 4
1552
- },
1553
- direction: {
1554
- type: String,
1555
- default: "horizontal",
1556
- validator: (e) => ["vertical", "horizontal"].includes(e)
1557
- },
1558
- reverse: Boolean,
1559
- ...Ut(),
1560
- ...zt({
1561
- elevation: 2
1562
- }),
1563
- ripple: {
1564
- type: Boolean,
1565
- default: !0
1566
- }
1567
- }, "Slider"), pl = (e) => {
1568
- const t = h(() => parseFloat(e.min)), l = h(() => parseFloat(e.max)), i = h(() => Number(e.step) > 0 ? parseFloat(e.step) : 0), a = h(() => Math.max(ot(i.value), ot(t.value)));
1569
- function o(c) {
1570
- if (c = parseFloat(c), i.value <= 0) return c;
1571
- const p = Je(c, t.value, l.value), m = t.value % i.value, v = Math.round((p - m) / i.value) * i.value + m;
1572
- return parseFloat(Math.min(v, l.value).toFixed(a.value));
1573
- }
1574
- return {
1575
- min: t,
1576
- max: l,
1577
- step: i,
1578
- decimals: a,
1579
- roundValue: o
1580
- };
1581
- }, bl = (e) => {
1582
- let {
1583
- props: t,
1584
- steps: l,
1585
- onSliderStart: i,
1586
- onSliderMove: a,
1587
- onSliderEnd: o,
1588
- getActiveThumb: c
1589
- } = e;
1590
- const {
1591
- isRtl: p
1592
- } = ze(), m = ie(t, "reverse"), v = h(() => t.direction === "vertical"), f = h(() => v.value !== m.value), {
1593
- min: b,
1594
- max: u,
1595
- step: s,
1596
- decimals: d,
1597
- roundValue: g
1598
- } = l, _ = h(() => parseInt(t.thumbSize, 10)), k = h(() => parseInt(t.tickSize, 10)), F = h(() => parseInt(t.trackSize, 10)), A = h(() => (u.value - b.value) / s.value), D = ie(t, "disabled"), H = h(() => t.error || t.disabled ? void 0 : t.thumbColor ?? t.color), B = h(() => t.error || t.disabled ? void 0 : t.trackColor ?? t.color), I = h(() => t.error || t.disabled ? void 0 : t.trackFillColor ?? t.color), x = de(!1), V = de(0), C = U(), R = U();
1599
- function S(T) {
1600
- var lt;
1601
- const z = (lt = C.value) == null ? void 0 : lt.$el;
1602
- if (!z) return;
1603
- const ye = t.direction === "vertical", la = ye ? "top" : "left", ra = ye ? "height" : "width", sa = ye ? "clientY" : "clientX", {
1604
- [la]: oa,
1605
- [ra]: na
1606
- } = z.getBoundingClientRect(), ua = vl(T, sa);
1607
- let Ge = Math.min(Math.max((ua - oa - V.value) / na, 0), 1) || 0;
1608
- return (ye ? f.value : f.value !== p.value) && (Ge = 1 - Ge), g(b.value + Ge * (u.value - b.value));
1609
- }
1610
- const y = (T) => {
1611
- const z = S(T);
1612
- z != null && o({
1613
- value: z
1614
- }), x.value = !1, V.value = 0;
1615
- }, E = (T) => {
1616
- const z = S(T);
1617
- R.value = c(T), R.value && (x.value = !0, R.value.contains(T.target) ? V.value = Qe(T, R.value, t.direction) : (V.value = 0, z != null && a({
1618
- value: z
1619
- })), z != null && i({
1620
- value: z
1621
- }), Ie(() => {
1622
- var ye;
1623
- return (ye = R.value) == null ? void 0 : ye.focus();
1624
- }));
1625
- }, M = {
1626
- passive: !0,
1627
- capture: !0
1628
- };
1629
- function G(T) {
1630
- const z = S(T);
1631
- z != null && a({
1632
- value: z
1633
- });
1634
- }
1635
- function X(T) {
1636
- T.stopPropagation(), T.preventDefault(), y(T), window.removeEventListener("mousemove", G, M), window.removeEventListener("mouseup", X);
1637
- }
1638
- function ae(T) {
1639
- var z;
1640
- y(T), window.removeEventListener("touchmove", G, M), (z = T.target) == null || z.removeEventListener("touchend", ae);
1641
- }
1642
- function re(T) {
1643
- var z;
1644
- E(T), window.addEventListener("touchmove", G, M), (z = T.target) == null || z.addEventListener("touchend", ae, {
1645
- passive: !1
1646
- });
1647
- }
1648
- function L(T) {
1649
- T.button === 0 && (T.preventDefault(), E(T), window.addEventListener("mousemove", G, M), window.addEventListener("mouseup", X, {
1650
- passive: !1
1651
- }));
1652
- }
1653
- const N = (T) => {
1654
- const z = (T - b.value) / (u.value - b.value) * 100;
1655
- return Je(isNaN(z) ? 0 : z, 0, 100);
1656
- }, ue = ie(t, "showTicks"), me = h(() => ue.value ? t.ticks ? Array.isArray(t.ticks) ? t.ticks.map((T) => ({
1657
- value: T,
1658
- position: N(T),
1659
- label: T.toString()
1660
- })) : Object.keys(t.ticks).map((T) => ({
1661
- value: parseFloat(T),
1662
- position: N(parseFloat(T)),
1663
- label: t.ticks[T]
1664
- })) : A.value !== 1 / 0 ? Lt(A.value + 1).map((T) => {
1665
- const z = b.value + T * s.value;
1666
- return {
1667
- value: z,
1668
- position: N(z)
1669
- };
1670
- }) : [] : []), Ee = h(() => me.value.some((T) => {
1671
- let {
1672
- label: z
1673
- } = T;
1674
- return !!z;
1675
- })), Le = {
1676
- activeThumbRef: R,
1677
- color: ie(t, "color"),
1678
- decimals: d,
1679
- disabled: D,
1680
- direction: ie(t, "direction"),
1681
- elevation: ie(t, "elevation"),
1682
- hasLabels: Ee,
1683
- isReversed: m,
1684
- indexFromEnd: f,
1685
- min: b,
1686
- max: u,
1687
- mousePressed: x,
1688
- numTicks: A,
1689
- onSliderMousedown: L,
1690
- onSliderTouchstart: re,
1691
- parsedTicks: me,
1692
- parseMouseMove: S,
1693
- position: N,
1694
- readonly: ie(t, "readonly"),
1695
- rounded: ie(t, "rounded"),
1696
- roundValue: g,
1697
- showTicks: ue,
1698
- startOffset: V,
1699
- step: s,
1700
- thumbSize: _,
1701
- thumbColor: H,
1702
- thumbLabel: ie(t, "thumbLabel"),
1703
- ticks: ie(t, "ticks"),
1704
- tickSize: k,
1705
- trackColor: B,
1706
- trackContainerRef: C,
1707
- trackFillColor: I,
1708
- trackSize: F,
1709
- vertical: v
1710
- };
1711
- return Ca(it, Le), Le;
1712
- }, hl = Me({
1713
- focused: Boolean,
1714
- max: {
1715
- type: Number,
1716
- required: !0
1717
- },
1718
- min: {
1719
- type: Number,
1720
- required: !0
1721
- },
1722
- modelValue: {
1723
- type: Number,
1724
- required: !0
1725
- },
1726
- position: {
1727
- type: Number,
1728
- required: !0
1729
- },
1730
- ripple: {
1731
- type: [Boolean, Object],
1732
- default: !0
1733
- },
1734
- name: String,
1735
- ...Ue()
1736
- }, "VSliderThumb"), kt = Oe()({
1737
- name: "VSliderThumb",
1738
- directives: {
1739
- Ripple: ri
1740
- },
1741
- props: hl(),
1742
- emits: {
1743
- "update:modelValue": (e) => !0
1744
- },
1745
- setup(e, t) {
1746
- let {
1747
- slots: l,
1748
- emit: i
1749
- } = t;
1750
- const a = At(it), {
1751
- isRtl: o,
1752
- rtlClasses: c
1753
- } = ze();
1754
- if (!a) throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");
1755
- const {
1756
- thumbColor: p,
1757
- step: m,
1758
- disabled: v,
1759
- thumbSize: f,
1760
- thumbLabel: b,
1761
- direction: u,
1762
- isReversed: s,
1763
- vertical: d,
1764
- readonly: g,
1765
- elevation: _,
1766
- mousePressed: k,
1767
- decimals: F,
1768
- indexFromEnd: A
1769
- } = a, D = h(() => v.value ? void 0 : _.value), {
1770
- elevationClasses: H
1771
- } = qt(D), {
1772
- textColorClasses: B,
1773
- textColorStyles: I
1774
- } = Za(p), {
1775
- pageup: x,
1776
- pagedown: V,
1777
- end: C,
1778
- home: R,
1779
- left: S,
1780
- right: y,
1781
- down: E,
1782
- up: M
1783
- } = Pa, G = [x, V, C, R, S, y, E, M], X = h(() => m.value ? [1, 2, 3] : [1, 5, 10]);
1784
- function ae(L, N) {
1785
- if (!G.includes(L.key)) return;
1786
- L.preventDefault();
1787
- const ue = m.value || 0.1, me = (e.max - e.min) / ue;
1788
- if ([S, y, E, M].includes(L.key)) {
1789
- const Le = (d.value ? [o.value ? S : y, s.value ? E : M] : A.value !== o.value ? [S, M] : [y, M]).includes(L.key) ? 1 : -1, T = L.shiftKey ? 2 : L.ctrlKey ? 1 : 0;
1790
- N = N + Le * ue * X.value[T];
1791
- } else if (L.key === R)
1792
- N = e.min;
1793
- else if (L.key === C)
1794
- N = e.max;
1795
- else {
1796
- const Ee = L.key === V ? 1 : -1;
1797
- N = N - Ee * ue * (me > 100 ? me / 10 : 10);
1798
- }
1799
- return Math.max(e.min, Math.min(e.max, N));
1800
- }
1801
- function re(L) {
1802
- const N = ae(L, e.modelValue);
1803
- N != null && i("update:modelValue", N);
1804
- }
1805
- return xe(() => {
1806
- const L = he(A.value ? 100 - e.position : e.position, "%");
1807
- return r("div", {
1808
- class: ["v-slider-thumb", {
1809
- "v-slider-thumb--focused": e.focused,
1810
- "v-slider-thumb--pressed": e.focused && k.value
1811
- }, e.class, c.value],
1812
- style: [{
1813
- "--v-slider-thumb-position": L,
1814
- "--v-slider-thumb-size": he(f.value)
1815
- }, e.style],
1816
- role: "slider",
1817
- tabindex: v.value ? -1 : 0,
1818
- "aria-label": e.name,
1819
- "aria-valuemin": e.min,
1820
- "aria-valuemax": e.max,
1821
- "aria-valuenow": e.modelValue,
1822
- "aria-readonly": !!g.value,
1823
- "aria-orientation": u.value,
1824
- onKeydown: g.value ? void 0 : re
1825
- }, [r("div", {
1826
- class: ["v-slider-thumb__surface", B.value, H.value],
1827
- style: {
1828
- ...I.value
1829
- }
1830
- }, null), We(r("div", {
1831
- class: ["v-slider-thumb__ripple", B.value],
1832
- style: I.value
1833
- }, null), [[Fa("ripple"), e.ripple, null, {
1834
- circle: !0,
1835
- center: !0
1836
- }]]), r(si, {
1837
- origin: "bottom center"
1838
- }, {
1839
- default: () => {
1840
- var N;
1841
- return [We(r("div", {
1842
- class: "v-slider-thumb__label-container"
1843
- }, [r("div", {
1844
- class: ["v-slider-thumb__label"]
1845
- }, [r("div", null, [((N = l["thumb-label"]) == null ? void 0 : N.call(l, {
1846
- modelValue: e.modelValue
1847
- })) ?? e.modelValue.toFixed(m.value ? F.value : 1)])])]), [[Et, b.value && e.focused || b.value === "always"]])];
1848
- }
1849
- })]);
1850
- }), {};
1851
- }
1852
- }), gl = Me({
1853
- start: {
1854
- type: Number,
1855
- required: !0
1856
- },
1857
- stop: {
1858
- type: Number,
1859
- required: !0
1860
- },
1861
- ...Ue()
1862
- }, "VSliderTrack"), yl = Oe()({
1863
- name: "VSliderTrack",
1864
- props: gl(),
1865
- emits: {},
1866
- setup(e, t) {
1867
- let {
1868
- slots: l
1869
- } = t;
1870
- const i = At(it);
1871
- if (!i) throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");
1872
- const {
1873
- color: a,
1874
- parsedTicks: o,
1875
- rounded: c,
1876
- showTicks: p,
1877
- tickSize: m,
1878
- trackColor: v,
1879
- trackFillColor: f,
1880
- trackSize: b,
1881
- vertical: u,
1882
- min: s,
1883
- max: d,
1884
- indexFromEnd: g
1885
- } = i, {
1886
- roundedClasses: _
1887
- } = jt(c), {
1888
- backgroundColorClasses: k,
1889
- backgroundColorStyles: F
1890
- } = He(f), {
1891
- backgroundColorClasses: A,
1892
- backgroundColorStyles: D
1893
- } = He(v), H = h(() => `inset-${u.value ? "block" : "inline"}-${g.value ? "end" : "start"}`), B = h(() => u.value ? "height" : "width"), I = h(() => ({
1894
- [H.value]: "0%",
1895
- [B.value]: "100%"
1896
- })), x = h(() => e.stop - e.start), V = h(() => ({
1897
- [H.value]: he(e.start, "%"),
1898
- [B.value]: he(x.value, "%")
1899
- })), C = h(() => p.value ? (u.value ? o.value.slice().reverse() : o.value).map((S, y) => {
1900
- var M;
1901
- const E = S.value !== s.value && S.value !== d.value ? he(S.position, "%") : void 0;
1902
- return r("div", {
1903
- key: S.value,
1904
- class: ["v-slider-track__tick", {
1905
- "v-slider-track__tick--filled": S.position >= e.start && S.position <= e.stop,
1906
- "v-slider-track__tick--first": S.value === s.value,
1907
- "v-slider-track__tick--last": S.value === d.value
1908
- }],
1909
- style: {
1910
- [H.value]: E
1911
- }
1912
- }, [(S.label || l["tick-label"]) && r("div", {
1913
- class: "v-slider-track__tick-label"
1914
- }, [((M = l["tick-label"]) == null ? void 0 : M.call(l, {
1915
- tick: S,
1916
- index: y
1917
- })) ?? S.label])]);
1918
- }) : []);
1919
- return xe(() => r("div", {
1920
- class: ["v-slider-track", _.value, e.class],
1921
- style: [{
1922
- "--v-slider-track-size": he(b.value),
1923
- "--v-slider-tick-size": he(m.value)
1924
- }, e.style]
1925
- }, [r("div", {
1926
- class: ["v-slider-track__background", A.value, {
1927
- "v-slider-track__background--opacity": !!a.value || !f.value
1928
- }],
1929
- style: {
1930
- ...I.value,
1931
- ...D.value
1932
- }
1933
- }, null), r("div", {
1934
- class: ["v-slider-track__fill", k.value],
1935
- style: {
1936
- ...V.value,
1937
- ...F.value
1938
- }
1939
- }, null), p.value && r("div", {
1940
- class: ["v-slider-track__ticks", {
1941
- "v-slider-track__ticks--always-show": p.value === "always"
1942
- }]
1943
- }, [C.value])])), {};
1944
- }
1945
- }), wl = Me({
1946
- ...xi(),
1947
- ...Oi(),
1948
- ...ml(),
1949
- strict: Boolean,
1950
- modelValue: {
1951
- type: Array,
1952
- default: () => [0, 0]
1953
- }
1954
- }, "VRangeSlider"), kl = Oe()({
1955
- name: "VRangeSlider",
1956
- props: wl(),
1957
- emits: {
1958
- "update:focused": (e) => !0,
1959
- "update:modelValue": (e) => !0,
1960
- end: (e) => !0,
1961
- start: (e) => !0
1962
- },
1963
- setup(e, t) {
1964
- let {
1965
- slots: l,
1966
- emit: i
1967
- } = t;
1968
- const a = U(), o = U(), c = U(), {
1969
- rtlClasses: p
1970
- } = ze();
1971
- function m(C) {
1972
- if (!a.value || !o.value) return;
1973
- const R = Qe(C, a.value.$el, e.direction), S = Qe(C, o.value.$el, e.direction), y = Math.abs(R), E = Math.abs(S);
1974
- return y < E || y === E && R < 0 ? a.value.$el : o.value.$el;
1975
- }
1976
- const v = pl(e), f = et(e, "modelValue", void 0, (C) => C != null && C.length ? C.map((R) => v.roundValue(R)) : [0, 0]), {
1977
- activeThumbRef: b,
1978
- hasLabels: u,
1979
- max: s,
1980
- min: d,
1981
- mousePressed: g,
1982
- onSliderMousedown: _,
1983
- onSliderTouchstart: k,
1984
- position: F,
1985
- trackContainerRef: A,
1986
- readonly: D
1987
- } = bl({
1988
- props: e,
1989
- steps: v,
1990
- onSliderStart: () => {
1991
- i("start", f.value);
1992
- },
1993
- onSliderEnd: (C) => {
1994
- var y;
1995
- let {
1996
- value: R
1997
- } = C;
1998
- const S = b.value === ((y = a.value) == null ? void 0 : y.$el) ? [R, f.value[1]] : [f.value[0], R];
1999
- !e.strict && S[0] < S[1] && (f.value = S), i("end", f.value);
2000
- },
2001
- onSliderMove: (C) => {
2002
- var E, M, G, X;
2003
- let {
2004
- value: R
2005
- } = C;
2006
- const [S, y] = f.value;
2007
- !e.strict && S === y && S !== d.value && (b.value = R > S ? (E = o.value) == null ? void 0 : E.$el : (M = a.value) == null ? void 0 : M.$el, (G = b.value) == null || G.focus()), b.value === ((X = a.value) == null ? void 0 : X.$el) ? f.value = [Math.min(R, y), y] : f.value = [S, Math.max(S, R)];
2008
- },
2009
- getActiveThumb: m
2010
- }), {
2011
- isFocused: H,
2012
- focus: B,
2013
- blur: I
2014
- } = Ii(e), x = h(() => F(f.value[0])), V = h(() => F(f.value[1]));
2015
- return xe(() => {
2016
- const C = mt.filterProps(e), R = !!(e.label || l.label || l.prepend);
2017
- return r(mt, ee({
2018
- class: ["v-slider", "v-range-slider", {
2019
- "v-slider--has-labels": !!l["tick-label"] || u.value,
2020
- "v-slider--focused": H.value,
2021
- "v-slider--pressed": g.value,
2022
- "v-slider--disabled": e.disabled
2023
- }, p.value, e.class],
2024
- style: e.style,
2025
- ref: c
2026
- }, C, {
2027
- focused: H.value
2028
- }), {
2029
- ...l,
2030
- prepend: R ? (S) => {
2031
- var y, E;
2032
- return r(se, null, [((y = l.label) == null ? void 0 : y.call(l, S)) ?? (e.label ? r(Li, {
2033
- class: "v-slider__label",
2034
- text: e.label
2035
- }, null) : void 0), (E = l.prepend) == null ? void 0 : E.call(l, S)]);
2036
- } : void 0,
2037
- default: (S) => {
2038
- var M, G;
2039
- let {
2040
- id: y,
2041
- messagesId: E
2042
- } = S;
2043
- return r("div", {
2044
- class: "v-slider__container",
2045
- onMousedown: D.value ? void 0 : _,
2046
- onTouchstartPassive: D.value ? void 0 : k
2047
- }, [r("input", {
2048
- id: `${y.value}_start`,
2049
- name: e.name || y.value,
2050
- disabled: !!e.disabled,
2051
- readonly: !!e.readonly,
2052
- tabindex: "-1",
2053
- value: f.value[0]
2054
- }, null), r("input", {
2055
- id: `${y.value}_stop`,
2056
- name: e.name || y.value,
2057
- disabled: !!e.disabled,
2058
- readonly: !!e.readonly,
2059
- tabindex: "-1",
2060
- value: f.value[1]
2061
- }, null), r(yl, {
2062
- ref: A,
2063
- start: x.value,
2064
- stop: V.value
2065
- }, {
2066
- "tick-label": l["tick-label"]
2067
- }), r(kt, {
2068
- ref: a,
2069
- "aria-describedby": E.value,
2070
- focused: H && b.value === ((M = a.value) == null ? void 0 : M.$el),
2071
- modelValue: f.value[0],
2072
- "onUpdate:modelValue": (X) => f.value = [X, f.value[1]],
2073
- onFocus: (X) => {
2074
- var ae, re, L, N;
2075
- B(), b.value = (ae = a.value) == null ? void 0 : ae.$el, s.value !== d.value && f.value[0] === f.value[1] && f.value[1] === d.value && X.relatedTarget !== ((re = o.value) == null ? void 0 : re.$el) && ((L = a.value) == null || L.$el.blur(), (N = o.value) == null || N.$el.focus());
2076
- },
2077
- onBlur: () => {
2078
- I(), b.value = void 0;
2079
- },
2080
- min: d.value,
2081
- max: f.value[1],
2082
- position: x.value,
2083
- ripple: e.ripple
2084
- }, {
2085
- "thumb-label": l["thumb-label"]
2086
- }), r(kt, {
2087
- ref: o,
2088
- "aria-describedby": E.value,
2089
- focused: H && b.value === ((G = o.value) == null ? void 0 : G.$el),
2090
- modelValue: f.value[1],
2091
- "onUpdate:modelValue": (X) => f.value = [f.value[0], X],
2092
- onFocus: (X) => {
2093
- var ae, re, L, N;
2094
- B(), b.value = (ae = o.value) == null ? void 0 : ae.$el, s.value !== d.value && f.value[0] === f.value[1] && f.value[0] === s.value && X.relatedTarget !== ((re = a.value) == null ? void 0 : re.$el) && ((L = o.value) == null || L.$el.blur(), (N = a.value) == null || N.$el.focus());
2095
- },
2096
- onBlur: () => {
2097
- I(), b.value = void 0;
2098
- },
2099
- min: f.value[0],
2100
- max: s.value,
2101
- position: V.value,
2102
- ripple: e.ripple
2103
- }, {
2104
- "thumb-label": l["thumb-label"]
2105
- })]);
2106
- }
2107
- });
2108
- }), {};
2109
- }
2110
- }), Bl = { style: { "max-width": "400px" } }, _l = {
2111
- key: 0,
2112
- class: "chart"
2113
- }, Sl = {
2114
- key: 1,
2115
- class: "chart"
2116
- }, Rl = { class: "text-caption" }, Yt = /* @__PURE__ */ te({
2117
- __name: "BFilterByPrice",
2118
- props: /* @__PURE__ */ Be({
2119
- currency: {},
2120
- disabled: { type: Boolean },
2121
- isLoading: { type: Boolean },
2122
- priceHistogram: {},
2123
- priceMax: {},
2124
- priceMin: {},
2125
- step: { default: 1 }
2126
- }, {
2127
- modelValue: {
2128
- default: () => [0, 0]
2129
- },
2130
- modelModifiers: {}
2131
- }),
2132
- emits: ["update:modelValue"],
2133
- setup(e) {
2134
- const { t } = ne(), l = e, i = ve(e, "modelValue"), a = h(
2135
- () => nt([l.priceMin, l.priceMax], (u) => u)
2136
- ), o = h({
2137
- get() {
2138
- return i.value && (i.value[0] || i.value[1]) ? i.value : [a.value[0], a.value[1]];
2139
- },
2140
- set(u) {
2141
- i.value = u;
2142
- }
2143
- }), c = h({
2144
- get() {
2145
- return i.value && i.value[0] || a.value[0];
2146
- },
2147
- set(u) {
2148
- u >= i.value[1] ? i.value = [i.value[1], i.value[1]] : u <= a.value[0] ? i.value = [a.value[0], i.value[1]] : i.value = [u, i.value[1]];
2149
- }
2150
- }), p = h({
2151
- get() {
2152
- return i.value && i.value[1] || a.value[1];
2153
- },
2154
- set(u) {
2155
- u <= i.value[0] ? i.value = [i.value[0], i.value[0]] : a.value[1] <= u ? i.value = [i.value[0], a.value[1]] : i.value = [i.value[0], u];
2156
- }
2157
- }), m = (u) => `${Math.log(u + 1) / Math.log(Math.max(...l.priceHistogram || [])) * 40}px`, v = h(() => Fi(l.currency)), f = () => {
2158
- i.value = [a.value[0], i.value[1]];
2159
- }, b = () => {
2160
- i.value = [i.value[0], a.value[1]];
2161
- };
2162
- return Z(
2163
- a,
2164
- (u, s) => {
2165
- i.value && (i.value[0] || i.value[1]) && (s && (u[0] >= s[1] || u[1] <= s[0]) ? i.value = [0, 0] : i.value = nt(
2166
- [
2167
- Math.max(i.value[0], u[0]),
2168
- Math.min(i.value[1], u[1])
2169
- ],
2170
- (d) => d
2171
- ));
2172
- },
2173
- {
2174
- deep: !0,
2175
- immediate: !0
2176
- }
2177
- ), (u, s) => (P(), W("div", Bl, [
2178
- r(ce, { "no-gutters": "" }, {
2179
- default: n(() => [
2180
- r(Q, null, {
2181
- default: n(() => [
2182
- r(tt, {
2183
- class: ge(["filter-price-slider pa-0", u.disabled && "cursor-not-allowed"])
2184
- }, {
2185
- default: n(() => [
2186
- u.isLoading ? (P(), W("ul", _l, [
2187
- (P(!0), W(se, null, Re(Array.from(
2188
- { length: 30 },
2189
- () => Math.random() * 35 + 5
2190
- ), () => (P(), W("li", null, s[3] || (s[3] = [
2191
- q("span", { class: "loader" }, null, -1)
2192
- ])))), 256))
2193
- ])) : (P(), W("ul", Sl, [
2194
- (P(!0), W(se, null, Re(u.priceHistogram, (d) => (P(), W("li", null, [
2195
- q("span", {
2196
- style: Tt({ height: m(d), width: "95%" })
2197
- }, null, 4)
2198
- ]))), 256))
2199
- ])),
2200
- r(kl, {
2201
- ref: "range-slider",
2202
- modelValue: o.value,
2203
- "onUpdate:modelValue": s[0] || (s[0] = (d) => o.value = d),
2204
- disabled: u.disabled || u.isLoading,
2205
- max: a.value[1],
2206
- min: a.value[0],
2207
- readonly: u.disabled || u.isLoading,
2208
- step: u.step,
2209
- "thumb-label": !1,
2210
- style: {
2211
- marginInline: "0px",
2212
- marginTop: "-17px"
2213
- },
2214
- "track-color": "#e2e2e2",
2215
- "track-size": "3",
2216
- "thumb-size": "13",
2217
- color: "primary",
2218
- "hide-details": ""
2219
- }, null, 8, ["modelValue", "disabled", "max", "min", "readonly", "step"])
2220
- ]),
2221
- _: 1
2222
- }, 8, ["class"])
2223
- ]),
2224
- _: 1
2225
- })
2226
- ]),
2227
- _: 1
2228
- }),
2229
- r(ce, { "no-gutters": "" }, {
2230
- default: n(() => [
2231
- r(Q, null, {
2232
- default: n(() => [
2233
- r(pt, {
2234
- ref: "price-min",
2235
- modelValue: c.value,
2236
- "onUpdate:modelValue": s[1] || (s[1] = (d) => c.value = d),
2237
- clearable: c.value !== a.value[0],
2238
- density: "compact",
2239
- disabled: u.disabled || u.isLoading,
2240
- label: "Min",
2241
- max: p.value,
2242
- min: a.value[0],
2243
- variant: "outlined",
2244
- prefix: v.value,
2245
- step: u.step,
2246
- "hide-details": "",
2247
- type: "number",
2248
- "onClick:clear": f
2249
- }, null, 8, ["modelValue", "clearable", "disabled", "max", "min", "prefix", "step"])
2250
- ]),
2251
- _: 1
2252
- }),
2253
- r(Q, {
2254
- class: "d-flex align-center",
2255
- cols: "1"
2256
- }, {
2257
- default: n(() => [
2258
- r($e)
2259
- ]),
2260
- _: 1
2261
- }),
2262
- r(Q, null, {
2263
- default: n(() => [
2264
- r(pt, {
2265
- ref: "price-max",
2266
- modelValue: p.value,
2267
- "onUpdate:modelValue": s[2] || (s[2] = (d) => p.value = d),
2268
- clearable: p.value !== a.value[1],
2269
- density: "compact",
2270
- disabled: u.disabled || u.isLoading,
2271
- label: "Max",
2272
- max: a.value[1],
2273
- min: c.value,
2274
- variant: "outlined",
2275
- prefix: v.value,
2276
- step: u.step,
2277
- "hide-details": "",
2278
- type: "number",
2279
- "onClick:clear": b
2280
- }, null, 8, ["modelValue", "clearable", "disabled", "max", "min", "prefix", "step"])
2281
- ]),
2282
- _: 1
2283
- })
2284
- ]),
2285
- _: 1
2286
- }),
2287
- r(ce, { "no-gutters": "" }, {
2288
- default: n(() => [
2289
- r(Q, { class: "text-center" }, {
2290
- default: n(() => [
2291
- q("small", Rl, O(w(t)("BFilterByPrice.pricePerRoomPerNight")), 1)
2292
- ]),
2293
- _: 1
2294
- })
2295
- ]),
2296
- _: 1
2297
- })
2298
- ]));
2299
- }
2300
- });
2301
- function Bt(e) {
2302
- const t = e;
2303
- t.__i18n = t.__i18n || [], t.__i18n.push({
2304
- locale: "",
2305
- resource: {
2306
- "en-US": {
2307
- BFilterByPrice: {
2308
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price Per Room Per Night" } }
2309
- }
2310
- },
2311
- "fr-FR": {
2312
- BFilterByPrice: {
2313
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } }
2314
- }
2315
- },
2316
- "de-DE": {
2317
- BFilterByPrice: {
2318
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } }
2319
- }
2320
- },
2321
- "es-ES": {
2322
- BFilterByPrice: {
2323
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } }
2324
- }
2325
- },
2326
- "it-IT": {
2327
- BFilterByPrice: {
2328
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera per notte" } }
2329
- }
2330
- },
2331
- "nl-NL": {
2332
- BFilterByPrice: {
2333
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } }
2334
- }
2335
- },
2336
- "pt-PT": {
2337
- BFilterByPrice: {
2338
- pricePerRoomPerNight: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } }
2339
- }
2340
- }
2341
- }
2342
- });
2343
- }
2344
- typeof Bt == "function" && Bt(Yt);
2345
- const Wt = /* @__PURE__ */ oe(Yt, [["__scopeId", "data-v-084f7f17"]]), Ml = { class: "text-center px-10 pt-4" }, Vl = { class: "font-weight-bold" }, Zt = /* @__PURE__ */ te({
2346
- __name: "BFilterByPriceMenu",
2347
- props: /* @__PURE__ */ Be({
2348
- currency: {},
2349
- disabled: { type: Boolean },
2350
- isLoading: { type: Boolean },
2351
- priceHistogram: {},
2352
- priceMax: {},
2353
- priceMin: {},
2354
- step: {}
2355
- }, {
2356
- modelValue: {},
2357
- modelModifiers: {}
2358
- }),
2359
- emits: ["update:modelValue"],
2360
- setup(e) {
2361
- const { locale: t, t: l } = ne(), i = e, a = ve(e, "modelValue"), o = U([0, 0]), c = U(!1), p = h(
2362
- () => {
2363
- var s;
2364
- return vt({
2365
- amount: ((s = a.value) == null ? void 0 : s[1]) || i.priceMax,
2366
- currency: i.currency,
2367
- locale: t.value
2368
- });
2369
- }
2370
- ), m = h(
2371
- () => {
2372
- var s;
2373
- return vt({
2374
- amount: ((s = a.value) == null ? void 0 : s[0]) || i.priceMin,
2375
- currency: i.currency,
2376
- locale: t.value
2377
- });
2378
- }
2379
- ), v = () => {
2380
- a.value = [...o.value], c.value = !1;
2381
- }, f = () => {
2382
- o.value = [...a.value], c.value = !1;
2383
- }, b = () => {
2384
- c.value = !1, a.value = [0, 0];
2385
- }, u = h(() => Ia[i.currency].symbol);
2386
- return Z(
2387
- a,
2388
- (s) => {
2389
- s && (o.value = [...s]);
2390
- },
2391
- { immediate: !0 }
2392
- ), Z(c, (s) => {
2393
- s || (o.value = [...a.value]);
2394
- }), (s, d) => {
2395
- var g;
2396
- return P(), j(je, ee(s.$attrs, {
2397
- modelValue: c.value,
2398
- "onUpdate:modelValue": d[1] || (d[1] = (_) => c.value = _),
2399
- attach: (g = s.$parent) == null ? void 0 : g.$el,
2400
- persistent: !1,
2401
- "close-on-content-click": !1,
2402
- "max-width": "400px",
2403
- "open-on-click": "",
2404
- location: "bottom"
2405
- }), {
2406
- activator: n(({ props: _ }) => {
2407
- var k, F;
2408
- return [
2409
- r(Ke, {
2410
- color: "grey",
2411
- icon: "fas fa-times",
2412
- style: { cursor: "pointer" },
2413
- "model-value": ((k = a.value) == null ? void 0 : k[0]) !== 0 || ((F = a.value) == null ? void 0 : F[1]) !== 0,
2414
- onClick: b
2415
- }, {
2416
- default: n(() => {
2417
- var A;
2418
- return [
2419
- r(qe, {
2420
- attach: (A = s.$el) == null ? void 0 : A.parent,
2421
- location: "bottom",
2422
- color: "grey-darken-3"
2423
- }, {
2424
- activator: n(({ props: D }) => [
2425
- r(K, ee({
2426
- color: "grey",
2427
- variant: "tonal",
2428
- size: "small"
2429
- }, {
2430
- ..._,
2431
- ...D
2432
- }), {
2433
- default: n(() => [
2434
- q("span", null, [
2435
- q("b", null, O(u.value), 1)
2436
- ])
2437
- ]),
2438
- _: 2
2439
- }, 1040)
2440
- ]),
2441
- default: n(() => [
2442
- s.priceMin !== 0 || s.priceMax !== 0 ? (P(), W(se, { key: 0 }, [
2443
- $(O(w(l)("BFilterByPriceMenu.tooltip", {
2444
- min: m.value,
2445
- max: p.value
2446
- })), 1)
2447
- ], 64)) : J("", !0)
2448
- ]),
2449
- _: 2
2450
- }, 1032, ["attach"])
2451
- ];
2452
- }),
2453
- _: 2
2454
- }, 1032, ["model-value"])
2455
- ];
2456
- }),
2457
- default: n(() => [
2458
- r(Te, { elevation: "1" }, {
2459
- default: n(() => [
2460
- q("div", Ml, [
2461
- q("p", Vl, O(w(l)("BFilterByPriceMenu.title")), 1),
2462
- r(Wt, {
2463
- modelValue: o.value,
2464
- "onUpdate:modelValue": d[0] || (d[0] = (_) => o.value = _),
2465
- currency: s.currency,
2466
- "price-min": s.priceMin,
2467
- "price-max": s.priceMax,
2468
- "price-histogram": s.priceHistogram,
2469
- disabled: s.disabled,
2470
- "is-loading": s.isLoading
2471
- }, null, 8, ["modelValue", "currency", "price-min", "price-max", "price-histogram", "disabled", "is-loading"])
2472
- ]),
2473
- r(at, { class: "justify-end mt-2" }, {
2474
- default: n(() => [
2475
- r(K, {
2476
- class: "text-right",
2477
- color: "grey",
2478
- elevation: "0",
2479
- size: "small",
2480
- variant: "text",
2481
- onClick: f
2482
- }, {
2483
- default: n(() => [
2484
- $(O(w(l)("BFilterByPriceMenu.cancel")), 1)
2485
- ]),
2486
- _: 1
2487
- }),
2488
- r(K, {
2489
- class: "text-right",
2490
- color: "error",
2491
- elevation: "0",
2492
- loading: s.isLoading,
2493
- size: "small",
2494
- variant: "text",
2495
- onClick: b
2496
- }, {
2497
- default: n(() => [
2498
- $(O(w(l)("BFilterByPriceMenu.reset")), 1)
2499
- ]),
2500
- _: 1
2501
- }, 8, ["loading"]),
2502
- r(K, {
2503
- class: "text-right",
2504
- color: "success",
2505
- elevation: "0",
2506
- loading: s.isLoading,
2507
- size: "small",
2508
- variant: "flat",
2509
- onClick: v
2510
- }, {
2511
- default: n(() => [
2512
- $(O(w(l)("BFilterByPriceMenu.apply")), 1)
2513
- ]),
2514
- _: 1
2515
- }, 8, ["loading"])
2516
- ]),
2517
- _: 1
2518
- })
2519
- ]),
2520
- _: 1
2521
- })
2522
- ]),
2523
- _: 1
2524
- }, 16, ["modelValue", "attach"]);
2525
- };
2526
- }
2527
- });
2528
- function _t(e) {
2529
- const t = e;
2530
- t.__i18n = t.__i18n || [], t.__i18n.push({
2531
- locale: "",
2532
- resource: {
2533
- "en-US": {
2534
- BFilterByPriceMenu: {
2535
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
2536
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
2537
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2538
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price" } },
2539
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "What's your budget ?" } },
2540
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Price from " }, { t: 4, k: "min" }, { t: 3, v: " to " }, { t: 4, k: "max" }, { t: 3, v: " per room per night" }] } }
2541
- }
2542
- },
2543
- "fr-FR": {
2544
- BFilterByPriceMenu: {
2545
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
2546
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
2547
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
2548
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix" } },
2549
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Quel est votre budget ?" } },
2550
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prix de " }, { t: 4, k: "min" }, { t: 3, v: " à " }, { t: 4, k: "max" }, { t: 3, v: " par chambre par nuit" }] } }
2551
- }
2552
- },
2553
- "de-DE": {
2554
- BFilterByPriceMenu: {
2555
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
2556
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
2557
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
2558
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis" } },
2559
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Was ist Ihr Budget?" } },
2560
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Preis von " }, { t: 4, k: "min" }, { t: 3, v: " bis " }, { t: 4, k: "max" }, { t: 3, v: " pro Zimmer pro Nacht" }] } }
2561
- }
2562
- },
2563
- "es-ES": {
2564
- BFilterByPriceMenu: {
2565
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2566
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2567
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
2568
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio" } },
2569
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "¿Cuál es tu presupuesto?" } },
2570
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Precio de " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " por habitación por noche" }] } }
2571
- }
2572
- },
2573
- "it-IT": {
2574
- BFilterByPriceMenu: {
2575
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
2576
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
2577
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
2578
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo" } },
2579
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qual è il tuo budget?" } },
2580
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prezzo da " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " per camera per notte" }] } }
2581
- }
2582
- },
2583
- "nl-NL": {
2584
- BFilterByPriceMenu: {
2585
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
2586
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
2587
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2588
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs" } },
2589
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wat is uw budget?" } },
2590
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Prijs van " }, { t: 4, k: "min" }, { t: 3, v: " tot " }, { t: 4, k: "max" }, { t: 3, v: " per kamer per nacht" }] } }
2591
- }
2592
- },
2593
- "pt-PT": {
2594
- BFilterByPriceMenu: {
2595
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2596
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2597
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
2598
- cta: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço" } },
2599
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Qual é o seu orçamento?" } },
2600
- tooltip: { t: 0, b: { t: 2, i: [{ t: 3, v: "Preço de " }, { t: 4, k: "min" }, { t: 3, v: " a " }, { t: 4, k: "max" }, { t: 3, v: " por quarto por noite" }] } }
2601
- }
2602
- }
2603
- }
2604
- });
2605
- }
2606
- typeof _t == "function" && _t(Zt);
2607
- const Cl = /* @__PURE__ */ oe(Zt, [["__scopeId", "data-v-ceee1657"]]), Xt = /* @__PURE__ */ te({
2608
- __name: "BFilterByReview",
2609
- props: /* @__PURE__ */ Be({
2610
- disabled: { type: Boolean }
2611
- }, {
2612
- modelValue: {},
2613
- modelModifiers: {}
2614
- }),
2615
- emits: ["update:modelValue"],
2616
- setup(e) {
2617
- const t = ve(e, "modelValue"), l = [
2618
- { label: "3+", value: 3 },
2619
- { label: "3.5+", value: 3.5 },
2620
- { label: "4+", value: 4 },
2621
- { label: "4.5+", value: 4.5 }
2622
- ];
2623
- return (i, a) => (P(), j(di, {
2624
- modelValue: t.value,
2625
- "onUpdate:modelValue": a[0] || (a[0] = (o) => t.value = o),
2626
- class: "d-flex flex-row justify-center",
2627
- divided: ""
2628
- }, {
2629
- default: n(() => [
2630
- (P(), W(se, null, Re(l, (o, c) => r(K, {
2631
- key: c,
2632
- class: ge(["px-0", i.disabled && "cursor-not-allowed"]),
2633
- color: "primary",
2634
- disabled: i.disabled,
2635
- variant: "outlined",
2636
- size: "small",
2637
- value: o.value
2638
- }, {
2639
- default: n(() => [
2640
- $(O(o.label), 1)
2641
- ]),
2642
- _: 2
2643
- }, 1032, ["class", "disabled", "value"])), 64))
2644
- ]),
2645
- _: 1
2646
- }, 8, ["modelValue"]));
2647
- }
2648
- }), Pl = { class: "text-center px-10 py-4" }, Fl = { class: "font-weight-bold pb-4" }, Qt = /* @__PURE__ */ te({
2649
- __name: "BFilterByReviewMenu",
2650
- props: {
2651
- modelValue: {},
2652
- modelModifiers: {}
2653
- },
2654
- emits: ["update:modelValue"],
2655
- setup(e) {
2656
- const { t } = ne(), l = U(!1), i = ve(e, "modelValue"), a = U(), o = () => {
2657
- a.value = i.value, l.value = !1;
2658
- }, c = () => {
2659
- i.value = void 0, l.value = !1;
2660
- }, p = () => {
2661
- i.value = a.value, l.value = !1;
2662
- };
2663
- return Z(
2664
- i,
2665
- (m) => {
2666
- a.value = m;
2667
- },
2668
- {
2669
- immediate: !0
2670
- }
2671
- ), Z(l, () => {
2672
- a.value = i.value;
2673
- }), (m, v) => {
2674
- var f;
2675
- return P(), j(je, ee(m.$attrs, {
2676
- modelValue: l.value,
2677
- "onUpdate:modelValue": v[1] || (v[1] = (b) => l.value = b),
2678
- attach: (f = m.$parent) == null ? void 0 : f.$el,
2679
- location: "bottom",
2680
- "close-on-content-click": !1,
2681
- "content-class": "pa-0",
2682
- "open-on-click": ""
2683
- }), {
2684
- activator: n(({ props: b }) => [
2685
- r(Ke, {
2686
- color: "grey",
2687
- icon: "fas fa-times",
2688
- style: { cursor: "pointer" },
2689
- "model-value": !!i.value,
2690
- onClick: c
2691
- }, {
2692
- default: n(() => {
2693
- var u;
2694
- return [
2695
- r(qe, {
2696
- attach: (u = m.$el) == null ? void 0 : u.parent,
2697
- location: "bottom",
2698
- color: "grey-darken-3"
2699
- }, {
2700
- activator: n(({ props: s }) => [
2701
- r(K, ee({
2702
- ...b,
2703
- ...s
2704
- }, {
2705
- color: "grey",
2706
- variant: "tonal",
2707
- size: "small"
2708
- }), {
2709
- default: n(() => [
2710
- q("span", null, [
2711
- q("b", null, O(i.value || 1) + "+", 1)
2712
- ])
2713
- ]),
2714
- _: 2
2715
- }, 1040)
2716
- ]),
2717
- default: n(() => [
2718
- $(" " + O(w(t)("BFilterByReviewMenu.tooltip", i.value || 0, {
2719
- named: { score: i.value }
2720
- })), 1)
2721
- ]),
2722
- _: 2
2723
- }, 1032, ["attach"])
2724
- ];
2725
- }),
2726
- _: 2
2727
- }, 1032, ["model-value"])
2728
- ]),
2729
- default: n(() => [
2730
- r(Te, { elevation: "1" }, {
2731
- default: n(() => [
2732
- q("div", Pl, [
2733
- q("p", Fl, O(w(t)("BFilterByReviewMenu.title")), 1),
2734
- r(Xt, {
2735
- modelValue: a.value,
2736
- "onUpdate:modelValue": v[0] || (v[0] = (b) => a.value = b)
2737
- }, null, 8, ["modelValue"])
2738
- ]),
2739
- r(at, { class: "justify-end pa-2" }, {
2740
- default: n(() => [
2741
- r(K, {
2742
- class: "text-right",
2743
- color: "grey",
2744
- elevation: "0",
2745
- size: "small",
2746
- variant: "text",
2747
- onClick: o
2748
- }, {
2749
- default: n(() => [
2750
- $(O(w(t)("BFilterByReviewMenu.cancel")), 1)
2751
- ]),
2752
- _: 1
2753
- }),
2754
- r(K, {
2755
- class: "text-right",
2756
- color: "error",
2757
- elevation: "0",
2758
- size: "small",
2759
- variant: "text",
2760
- onClick: c
2761
- }, {
2762
- default: n(() => [
2763
- $(O(w(t)("BFilterByReviewMenu.reset")), 1)
2764
- ]),
2765
- _: 1
2766
- }),
2767
- r(K, {
2768
- class: "text-right",
2769
- color: "success",
2770
- elevation: "0",
2771
- variant: "flat",
2772
- size: "small",
2773
- onClick: p
2774
- }, {
2775
- default: n(() => [
2776
- $(O(w(t)("BFilterByReviewMenu.apply")), 1)
2777
- ]),
2778
- _: 1
2779
- })
2780
- ]),
2781
- _: 1
2782
- })
2783
- ]),
2784
- _: 1
2785
- })
2786
- ]),
2787
- _: 1
2788
- }, 16, ["modelValue", "attach"]);
2789
- };
2790
- }
2791
- });
2792
- function St(e) {
2793
- const t = e;
2794
- t.__i18n = t.__i18n || [], t.__i18n.push({
2795
- locale: "",
2796
- resource: {
2797
- "en-US": {
2798
- BFilterByReviewMenu: {
2799
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
2800
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
2801
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2802
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Customer Review Score" } },
2803
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No customer reviews filter active" }, { t: 2, i: [{ t: 3, v: "Customer reviews above " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Customer reviews above " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2804
- }
2805
- },
2806
- "fr-FR": {
2807
- BFilterByReviewMenu: {
2808
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
2809
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
2810
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
2811
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Note des clients" } },
2812
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Aucun filtre de notes des clients" }, { t: 2, i: [{ t: 3, v: "Note des clients au dessus de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Note des clients au dessus de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2813
- }
2814
- },
2815
- "de-DE": {
2816
- BFilterByReviewMenu: {
2817
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
2818
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
2819
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
2820
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kundenbewertung" } },
2821
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Keine Kundenbewertungen" }, { t: 2, i: [{ t: 3, v: "Kundenbewertungen über " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Kundenbewertungen über " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2822
- }
2823
- },
2824
- "es-ES": {
2825
- BFilterByReviewMenu: {
2826
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2827
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2828
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
2829
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reseña de clientes" } },
2830
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No hay filtro de reseñas de clientes" }, { t: 2, i: [{ t: 3, v: "Reseñas de clientes por encima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Reseñas de clientes por encima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2831
- }
2832
- },
2833
- "it-IT": {
2834
- BFilterByReviewMenu: {
2835
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
2836
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
2837
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
2838
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Recensione dei clienti" } },
2839
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nessun filtro di recensioni dei clienti" }, { t: 2, i: [{ t: 3, v: "Recensioni dei clienti sopra " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Recensioni dei clienti sopra " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2840
- }
2841
- },
2842
- "nl-NL": {
2843
- BFilterByReviewMenu: {
2844
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
2845
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
2846
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
2847
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Klantbeoordeling" } },
2848
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Geen klantbeoordelingen" }, { t: 2, i: [{ t: 3, v: "Klantbeoordelingen boven " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Klantbeoordelingen boven " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2849
- }
2850
- },
2851
- "pt-PT": {
2852
- BFilterByReviewMenu: {
2853
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
2854
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
2855
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
2856
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação de clientes" } },
2857
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nenhuma avaliação de clientes" }, { t: 2, i: [{ t: 3, v: "Avaliações de clientes acima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }, { t: 2, i: [{ t: 3, v: "Avaliações de clientes acima de " }, { t: 4, k: "score" }, { t: 3, v: "/5" }] }] } }
2858
- }
2859
- }
2860
- }
2861
- });
2862
- }
2863
- typeof St == "function" && St(Qt);
2864
- const Il = /* @__PURE__ */ oe(Qt, [["__scopeId", "data-v-50071678"]]), Ol = Me({
2865
- name: String,
2866
- itemAriaLabel: {
2867
- type: String,
2868
- default: "$vuetify.rating.ariaLabel.item"
2869
- },
2870
- activeColor: String,
2871
- color: String,
2872
- clearable: Boolean,
2873
- disabled: Boolean,
2874
- emptyIcon: {
2875
- type: ut,
2876
- default: "$ratingEmpty"
2877
- },
2878
- fullIcon: {
2879
- type: ut,
2880
- default: "$ratingFull"
2881
- },
2882
- halfIncrements: Boolean,
2883
- hover: Boolean,
2884
- length: {
2885
- type: [Number, String],
2886
- default: 5
2887
- },
2888
- readonly: Boolean,
2889
- modelValue: {
2890
- type: [Number, String],
2891
- default: 0
2892
- },
2893
- itemLabels: Array,
2894
- itemLabelPosition: {
2895
- type: String,
2896
- default: "top",
2897
- validator: (e) => ["top", "bottom"].includes(e)
2898
- },
2899
- ripple: Boolean,
2900
- ...Ue(),
2901
- ...ni(),
2902
- ...oi(),
2903
- ...Nt(),
2904
- ...Dt()
2905
- }, "VRating"), xl = Oe()({
2906
- name: "VRating",
2907
- props: Ol(),
2908
- emits: {
2909
- "update:modelValue": (e) => !0
2910
- },
2911
- setup(e, t) {
2912
- let {
2913
- slots: l
2914
- } = t;
2915
- const {
2916
- t: i
2917
- } = Oa(), {
2918
- themeClasses: a
2919
- } = $t(e), o = et(e, "modelValue"), c = h(() => Je(parseFloat(o.value), 0, Number(e.length))), p = h(() => Lt(Number(e.length), 1)), m = h(() => p.value.flatMap((g) => e.halfIncrements ? [g - 0.5, g] : [g])), v = de(-1), f = h(() => m.value.map((g) => {
2920
- const _ = e.hover && v.value > -1, k = c.value >= g, F = v.value >= g, D = (_ ? F : k) ? e.fullIcon : e.emptyIcon, H = e.activeColor ?? e.color, B = k || F ? H : e.color;
2921
- return {
2922
- isFilled: k,
2923
- isHovered: F,
2924
- icon: D,
2925
- color: B
2926
- };
2927
- })), b = h(() => [0, ...m.value].map((g) => {
2928
- function _() {
2929
- v.value = g;
2930
- }
2931
- function k() {
2932
- v.value = -1;
2933
- }
2934
- function F() {
2935
- e.disabled || e.readonly || (o.value = c.value === g && e.clearable ? 0 : g);
2936
- }
2937
- return {
2938
- onMouseenter: e.hover ? _ : void 0,
2939
- onMouseleave: e.hover ? k : void 0,
2940
- onClick: F
2941
- };
2942
- })), u = h(() => e.name ?? `v-rating-${xa()}`);
2943
- function s(g) {
2944
- var x, V;
2945
- let {
2946
- value: _,
2947
- index: k,
2948
- showStar: F = !0
2949
- } = g;
2950
- const {
2951
- onMouseenter: A,
2952
- onMouseleave: D,
2953
- onClick: H
2954
- } = b.value[k + 1], B = `${u.value}-${String(_).replace(".", "-")}`, I = {
2955
- color: (x = f.value[k]) == null ? void 0 : x.color,
2956
- density: e.density,
2957
- disabled: e.disabled,
2958
- icon: (V = f.value[k]) == null ? void 0 : V.icon,
2959
- ripple: e.ripple,
2960
- size: e.size,
2961
- variant: "plain"
2962
- };
2963
- return r(se, null, [r("label", {
2964
- for: B,
2965
- class: {
2966
- "v-rating__item--half": e.halfIncrements && _ % 1 > 0,
2967
- "v-rating__item--full": e.halfIncrements && _ % 1 === 0
2968
- },
2969
- onMouseenter: A,
2970
- onMouseleave: D,
2971
- onClick: H
2972
- }, [r("span", {
2973
- class: "v-rating__hidden"
2974
- }, [i(e.itemAriaLabel, _, e.length)]), F ? l.item ? l.item({
2975
- ...f.value[k],
2976
- props: I,
2977
- value: _,
2978
- index: k,
2979
- rating: c.value
2980
- }) : r(K, ee({
2981
- "aria-label": i(e.itemAriaLabel, _, e.length)
2982
- }, I), null) : void 0]), r("input", {
2983
- class: "v-rating__hidden",
2984
- name: u.value,
2985
- id: B,
2986
- type: "radio",
2987
- value: _,
2988
- checked: c.value === _,
2989
- tabindex: -1,
2990
- readonly: e.readonly,
2991
- disabled: e.disabled
2992
- }, null)]);
2993
- }
2994
- function d(g) {
2995
- return l["item-label"] ? l["item-label"](g) : g.label ? r("span", null, [g.label]) : r("span", null, [$(" ")]);
2996
- }
2997
- return xe(() => {
2998
- var _;
2999
- const g = !!((_ = e.itemLabels) != null && _.length) || l["item-label"];
3000
- return r(e.tag, {
3001
- class: ["v-rating", {
3002
- "v-rating--hover": e.hover,
3003
- "v-rating--readonly": e.readonly
3004
- }, a.value, e.class],
3005
- style: e.style
3006
- }, {
3007
- default: () => [r(s, {
3008
- value: 0,
3009
- index: -1,
3010
- showStar: !1
3011
- }, null), p.value.map((k, F) => {
3012
- var A, D;
3013
- return r("div", {
3014
- class: "v-rating__wrapper"
3015
- }, [g && e.itemLabelPosition === "top" ? d({
3016
- value: k,
3017
- index: F,
3018
- label: (A = e.itemLabels) == null ? void 0 : A[F]
3019
- }) : void 0, r("div", {
3020
- class: "v-rating__item"
3021
- }, [e.halfIncrements ? r(se, null, [r(s, {
3022
- value: k - 0.5,
3023
- index: F * 2
3024
- }, null), r(s, {
3025
- value: k,
3026
- index: F * 2 + 1
3027
- }, null)]) : r(s, {
3028
- value: k,
3029
- index: F
3030
- }, null)]), g && e.itemLabelPosition === "bottom" ? d({
3031
- value: k,
3032
- index: F,
3033
- label: (D = e.itemLabels) == null ? void 0 : D[F]
3034
- }) : void 0]);
3035
- })]
3036
- });
3037
- }), {};
3038
- }
3039
- }), Jt = /* @__PURE__ */ te({
3040
- __name: "BFilterByStar",
3041
- props: /* @__PURE__ */ Be({
3042
- disabled: { type: Boolean }
3043
- }, {
3044
- modelValue: {},
3045
- modelModifiers: {}
3046
- }),
3047
- emits: ["update:modelValue"],
3048
- setup(e) {
3049
- var o;
3050
- const t = e, l = ve(e, "modelValue"), i = U(Number((o = l.value) == null ? void 0 : o.split(",")[0])), a = h(() => t.disabled ? "grey lighten-1" : "orange");
3051
- return Z(i, (c) => {
3052
- l.value = vi(c, 6).join(",");
3053
- }), Z(l, (c) => {
3054
- i.value = Number(c == null ? void 0 : c.split(",")[0]);
3055
- }), (c, p) => (P(), j(xl, {
3056
- modelValue: i.value,
3057
- "onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
3058
- color: a.value,
3059
- class: ge(c.disabled && "cursor-not-allowed"),
3060
- "active-color": a.value,
3061
- density: "compact",
3062
- disabled: c.disabled,
3063
- "empty-icon": "$ratingEmpty",
3064
- hover: "",
3065
- readonly: c.disabled,
3066
- size: "24"
3067
- }, null, 8, ["modelValue", "color", "class", "active-color", "disabled", "readonly"]));
3068
- }
3069
- }), Tl = { class: "text-center px-10 pt-4" }, El = { class: "font-weight-bold pb-4" }, ea = /* @__PURE__ */ te({
3070
- __name: "BFilterByStarMenu",
3071
- props: {
3072
- modelValue: { required: !0 },
3073
- modelModifiers: {}
3074
- },
3075
- emits: ["update:modelValue"],
3076
- setup(e) {
3077
- const { t } = ne(), l = U(!1), i = ve(e, "modelValue"), a = U(""), o = () => {
3078
- a.value = i.value, l.value = !1;
3079
- }, c = () => {
3080
- i.value = "", l.value = !1;
3081
- }, p = () => {
3082
- i.value = a.value, l.value = !1;
3083
- };
3084
- return Z(
3085
- i,
3086
- (m) => {
3087
- a.value = m;
3088
- },
3089
- {
3090
- immediate: !0
3091
- }
3092
- ), Z(l, () => {
3093
- a.value = i.value;
3094
- }), (m, v) => {
3095
- var f;
3096
- return P(), j(je, {
3097
- modelValue: l.value,
3098
- "onUpdate:modelValue": v[1] || (v[1] = (b) => l.value = b),
3099
- attach: (f = m.$parent) == null ? void 0 : f.$el,
3100
- "close-on-content-click": !1,
3101
- "content-class": "pa-0",
3102
- location: "bottom",
3103
- "open-on-click": ""
3104
- }, {
3105
- activator: n(({ props: b }) => [
3106
- r(Ke, {
3107
- color: "grey",
3108
- icon: "fas fa-times",
3109
- style: { cursor: "pointer" },
3110
- "model-value": !!i.value && i.value !== w(Ta),
3111
- onClick: c
3112
- }, {
3113
- default: n(() => {
3114
- var u;
3115
- return [
3116
- r(qe, {
3117
- attach: (u = m.$el) == null ? void 0 : u.parent,
3118
- color: "grey-darken-3",
3119
- location: "bottom"
3120
- }, {
3121
- activator: n(({ props: s }) => [
3122
- r(K, ee({
3123
- ...b,
3124
- ...s
3125
- }, {
3126
- color: "grey",
3127
- elevation: 0,
3128
- variant: "tonal",
3129
- size: "small"
3130
- }), {
3131
- default: n(() => [
3132
- q("span", null, [
3133
- q("span", null, O(i.value.split(",")[0]), 1),
3134
- r(fe, { id: "star-icon" }, {
3135
- default: n(() => v[2] || (v[2] = [
3136
- $(" fas fa-solid fa-star ")
3137
- ])),
3138
- _: 1,
3139
- __: [2]
3140
- })
3141
- ])
3142
- ]),
3143
- _: 2
3144
- }, 1040)
3145
- ]),
3146
- default: n(() => [
3147
- $(" " + O(w(t)(
3148
- "BFilterByStarMenu.tooltip",
3149
- i.value.split(",")[0] && Number(i.value.split(",")[0]) || 0,
3150
- {
3151
- named: {
3152
- rating: i.value.split(",")[0]
3153
- }
3154
- }
3155
- )), 1)
3156
- ]),
3157
- _: 2
3158
- }, 1032, ["attach"])
3159
- ];
3160
- }),
3161
- _: 2
3162
- }, 1032, ["model-value"])
3163
- ]),
3164
- default: n(() => [
3165
- r(Te, { elevation: "1" }, {
3166
- default: n(() => [
3167
- q("div", Tl, [
3168
- q("p", El, O(w(t)("BFilterByStarMenu.title")), 1),
3169
- r(Jt, {
3170
- modelValue: a.value,
3171
- "onUpdate:modelValue": v[0] || (v[0] = (b) => a.value = b)
3172
- }, null, 8, ["modelValue"])
3173
- ]),
3174
- r(at, { class: "justify-end" }, {
3175
- default: n(() => [
3176
- r(K, {
3177
- class: "text-right",
3178
- color: "grey",
3179
- elevation: "0",
3180
- size: "small",
3181
- variant: "text",
3182
- onClick: o
3183
- }, {
3184
- default: n(() => [
3185
- $(O(w(t)("BFilterByStarMenu.cancel")), 1)
3186
- ]),
3187
- _: 1
3188
- }),
3189
- r(K, {
3190
- class: "text-right",
3191
- color: "error",
3192
- size: "small",
3193
- variant: "text",
3194
- onClick: c
3195
- }, {
3196
- default: n(() => [
3197
- $(O(w(t)("BFilterByStarMenu.reset")), 1)
3198
- ]),
3199
- _: 1
3200
- }),
3201
- r(K, {
3202
- class: "text-right",
3203
- color: "success",
3204
- size: "small",
3205
- variant: "flat",
3206
- onClick: p
3207
- }, {
3208
- default: n(() => [
3209
- $(O(w(t)("BFilterByStarMenu.apply")), 1)
3210
- ]),
3211
- _: 1
3212
- })
3213
- ]),
3214
- _: 1
3215
- })
3216
- ]),
3217
- _: 1
3218
- })
3219
- ]),
3220
- _: 1
3221
- }, 8, ["modelValue", "attach"]);
3222
- };
3223
- }
3224
- });
3225
- function Rt(e) {
3226
- const t = e;
3227
- t.__i18n = t.__i18n || [], t.__i18n.push({
3228
- locale: "",
3229
- resource: {
3230
- "en-US": {
3231
- BFilterByStarMenu: {
3232
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
3233
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
3234
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
3235
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } },
3236
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No star rating filter active" }, { t: 2, i: [{ t: 3, v: "From " }, { t: 4, k: "rating" }, { t: 3, v: " stars" }] }, { t: 2, i: [{ t: 3, v: "From " }, { t: 4, k: "rating" }, { t: 3, v: " stars" }] }] } }
3237
- }
3238
- },
3239
- "fr-FR": {
3240
- BFilterByStarMenu: {
3241
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
3242
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
3243
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
3244
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } },
3245
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Aucun filtre d'étoiles" }, { t: 2, i: [{ t: 3, v: "À partir de " }, { t: 4, k: "rating" }, { t: 3, v: " étoiles" }] }, { t: 2, i: [{ t: 3, v: "À partir de " }, { t: 4, k: "rating" }, { t: 3, v: " étoiles" }] }] } }
3246
- }
3247
- },
3248
- "de-DE": {
3249
- BFilterByStarMenu: {
3250
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
3251
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
3252
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
3253
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } },
3254
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Keine Sternebewertung" }, { t: 2, i: [{ t: 3, v: "Von " }, { t: 4, k: "rating" }, { t: 3, v: " Sternen" }] }, { t: 2, i: [{ t: 3, v: "Von " }, { t: 4, k: "rating" }, { t: 3, v: " Sternen" }] }] } }
3255
- }
3256
- },
3257
- "es-ES": {
3258
- BFilterByStarMenu: {
3259
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
3260
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
3261
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
3262
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Puntuación de estrellas" } },
3263
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "No hay filtro de estrellas" }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrellas" }] }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrellas" }] }] } }
3264
- }
3265
- },
3266
- "it-IT": {
3267
- BFilterByStarMenu: {
3268
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
3269
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
3270
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
3271
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione stelle" } },
3272
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nessun filtro di stelle" }, { t: 2, i: [{ t: 3, v: "Da " }, { t: 4, k: "rating" }, { t: 3, v: " stelle" }] }, { t: 2, i: [{ t: 3, v: "Da " }, { t: 4, k: "rating" }, { t: 3, v: " stelle" }] }] } }
3273
- }
3274
- },
3275
- "nl-NL": {
3276
- BFilterByStarMenu: {
3277
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
3278
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
3279
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Resetten" } },
3280
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenbeoordeling" } },
3281
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Geen sterrenbeoordeling" }, { t: 2, i: [{ t: 3, v: "Van " }, { t: 4, k: "rating" }, { t: 3, v: " sterren" }] }, { t: 2, i: [{ t: 3, v: "Van " }, { t: 4, k: "rating" }, { t: 3, v: " sterren" }] }] } }
3282
- }
3283
- },
3284
- "pt-PT": {
3285
- BFilterByStarMenu: {
3286
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
3287
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
3288
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
3289
- title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação por estrelas" } },
3290
- tooltip: { t: 0, b: { t: 1, c: [{ t: 2, i: [{ t: 3 }], s: "Nenhuma classificação de estrelas" }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrelas" }] }, { t: 2, i: [{ t: 3, v: "De " }, { t: 4, k: "rating" }, { t: 3, v: " estrelas" }] }] } }
3291
- }
3292
- }
3293
- }
3294
- });
3295
- }
3296
- typeof Rt == "function" && Rt(ea);
3297
- const Ll = /* @__PURE__ */ oe(ea, [["__scopeId", "data-v-6a3f5ba0"]]), Al = { class: "px-4 font-weight-bold" }, $l = { class: "text-grey-darken-3" }, ta = /* @__PURE__ */ te({
3298
- __name: "BSortByMenu",
3299
- props: /* @__PURE__ */ Be({
3300
- attach: { type: Boolean }
3301
- }, {
3302
- modelValue: {
3303
- default: {
3304
- direction: La,
3305
- value: Ea
3306
- }
3307
- },
3308
- modelModifiers: {}
3309
- }),
3310
- emits: ["update:modelValue"],
3311
- setup(e) {
3312
- const { t } = ne(), l = U(!1), i = [
3313
- {
3314
- direction: we.Asc,
3315
- value: pe.TopPicks
3316
- },
3317
- {
3318
- direction: we.Asc,
3319
- value: pe.Distance
3320
- },
3321
- {
3322
- direction: we.Asc,
3323
- value: pe.Price
3324
- },
3325
- {
3326
- direction: we.Desc,
3327
- value: pe.Price
3328
- },
3329
- {
3330
- direction: we.Asc,
3331
- value: pe.Rating
3332
- },
3333
- {
3334
- direction: we.Desc,
3335
- value: pe.Rating
3336
- },
3337
- {
3338
- direction: we.Desc,
3339
- value: pe.ReviewRating
3340
- }
3341
- ], a = ve(e, "modelValue"), o = h({
3342
- get() {
3343
- const p = i.findIndex(
3344
- (m) => m.value === a.value.value && m.direction === a.value.direction
3345
- );
3346
- return p === -1 ? 0 : p;
3347
- },
3348
- set(p) {
3349
- a.value = i[p];
3350
- }
3351
- }), c = (p) => {
3352
- a.value = p;
3353
- };
3354
- return (p, m) => (P(), j(je, {
3355
- modelValue: l.value,
3356
- "onUpdate:modelValue": m[1] || (m[1] = (v) => l.value = v),
3357
- attach: p.attach,
3358
- eager: "",
3359
- location: "bottom",
3360
- width: 260,
3361
- transition: "scroll-y-transition"
3362
- }, {
3363
- activator: n(({ props: v }) => [
3364
- r(K, ee(v, {
3365
- color: "secondary",
3366
- elevation: 0,
3367
- size: "small"
3368
- }), {
3369
- default: n(() => [
3370
- q("span", null, [
3371
- w(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.icon`).length ? (P(), j(fe, {
3372
- key: 0,
3373
- class: ge([
3374
- "mr-1",
3375
- w(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.style`)
3376
- ]),
3377
- size: "12"
3378
- }, {
3379
- default: n(() => [
3380
- $(O(w(t)(`BSortByMenu.options.${a.value.value}.${a.value.direction}.icon`)), 1)
3381
- ]),
3382
- _: 1
3383
- }, 8, ["class"])) : J("", !0),
3384
- $(" " + O(w(t)(`BSortByMenu.options.${a.value.value}.name`)) + " ", 1),
3385
- r(fe, { size: "10" }, {
3386
- default: n(() => m[2] || (m[2] = [
3387
- $("fas fa-chevron-down")
3388
- ])),
3389
- _: 1,
3390
- __: [2]
3391
- })
3392
- ])
3393
- ]),
3394
- _: 2
3395
- }, 1040)
3396
- ]),
3397
- default: n(() => [
3398
- r(Ci, null, {
3399
- default: n(() => [
3400
- r(Ze, {
3401
- modelValue: o.value,
3402
- "onUpdate:modelValue": m[0] || (m[0] = (v) => o.value = v),
3403
- class: "bg-white pa-0",
3404
- mandatory: ""
3405
- }, {
3406
- default: n(() => [
3407
- r(dt, { class: "pt-2" }, {
3408
- default: n(() => [
3409
- q("small", Al, O(w(t)("BSortByMenu.prefix")), 1)
3410
- ]),
3411
- _: 1
3412
- }),
3413
- (P(), W(se, null, Re(i, (v, f) => r(Ze, {
3414
- key: f,
3415
- class: "px-3",
3416
- onClick: (b) => c(v)
3417
- }, {
3418
- default: n(() => [
3419
- r(dt, null, {
3420
- default: n(() => [
3421
- q("small", $l, [
3422
- w(t)(`BSortByMenu.options.${v.value}.${v.direction}.icon`).length ? (P(), j(fe, {
3423
- key: 0,
3424
- class: ge([
3425
- "text-grey-darken-3",
3426
- w(t)(`BSortByMenu.options.${v.value}.${v.direction}.style`)
3427
- ]),
3428
- size: "14",
3429
- style: { "min-width": "24px" }
3430
- }, {
3431
- default: n(() => [
3432
- $(O(w(t)(`BSortByMenu.options.${v.value}.${v.direction}.icon`)), 1)
3433
- ]),
3434
- _: 2
3435
- }, 1032, ["class"])) : J("", !0),
3436
- $(" " + O(w(t)(`BSortByMenu.options.${v.value}.name`)) + " " + O(w(t)(`BSortByMenu.options.${v.value}.${v.direction}.wording`)), 1)
3437
- ])
3438
- ]),
3439
- _: 2
3440
- }, 1024)
3441
- ]),
3442
- _: 2
3443
- }, 1032, ["onClick"])), 64))
3444
- ]),
3445
- _: 1
3446
- }, 8, ["modelValue"])
3447
- ]),
3448
- _: 1
3449
- })
3450
- ]),
3451
- _: 1
3452
- }, 8, ["modelValue", "attach"]));
3453
- }
3454
- });
3455
- function Mt(e) {
3456
- const t = e;
3457
- t.__i18n = t.__i18n || [], t.__i18n.push({
3458
- locale: "",
3459
- resource: {
3460
- "en-US": {
3461
- BSortByMenu: {
3462
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by : " } },
3463
- options: {
3464
- top_picks: {
3465
- asc: {
3466
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3467
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3468
- },
3469
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Our Top Picks" } }
3470
- },
3471
- price: {
3472
- asc: {
3473
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(lowest first)" } },
3474
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3475
- },
3476
- desc: {
3477
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(highest first)" } },
3478
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3479
- },
3480
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price" } }
3481
- },
3482
- distance: {
3483
- asc: {
3484
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3485
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3486
- },
3487
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Closest" } }
3488
- },
3489
- rating: {
3490
- asc: {
3491
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(low to high)" } },
3492
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3493
- },
3494
- desc: {
3495
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(high to low)" } },
3496
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3497
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3498
- },
3499
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stars" } }
3500
- },
3501
- review_rating: {
3502
- desc: {
3503
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3504
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3505
- },
3506
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Best Reviewed" } }
3507
- }
3508
- }
3509
- }
3510
- },
3511
- "fr-FR": {
3512
- BSortByMenu: {
3513
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trié par : " } },
3514
- options: {
3515
- top_picks: {
3516
- asc: {
3517
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3518
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3519
- },
3520
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nos préférés" } }
3521
- },
3522
- price: {
3523
- asc: {
3524
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(du moins cher au plus cher)" } },
3525
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3526
- },
3527
- desc: {
3528
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(du plus cher au moins cher)" } },
3529
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3530
- },
3531
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tarif" } }
3532
- },
3533
- distance: {
3534
- asc: {
3535
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3536
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3537
- },
3538
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Proche" } }
3539
- },
3540
- rating: {
3541
- asc: {
3542
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(croissant)" } },
3543
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3544
- },
3545
- desc: {
3546
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(décroissant)" } },
3547
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3548
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3549
- },
3550
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nombre d'étoiles" } }
3551
- },
3552
- review_rating: {
3553
- desc: {
3554
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3555
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3556
- },
3557
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Meilleure note" } }
3558
- }
3559
- }
3560
- }
3561
- },
3562
- "de-DE": {
3563
- BSortByMenu: {
3564
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach: " } },
3565
- options: {
3566
- top_picks: {
3567
- asc: {
3568
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3569
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3570
- },
3571
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Unsere Top-Empfehlungen" } }
3572
- },
3573
- price: {
3574
- asc: {
3575
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(niedrigster zuerst)" } },
3576
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3577
- },
3578
- desc: {
3579
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(höchster zuerst)" } },
3580
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3581
- },
3582
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis" } }
3583
- },
3584
- distance: {
3585
- asc: {
3586
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3587
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3588
- },
3589
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Am nächsten" } }
3590
- },
3591
- rating: {
3592
- asc: {
3593
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(niedrig bis hoch)" } },
3594
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3595
- },
3596
- desc: {
3597
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoch bis niedrig)" } },
3598
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3599
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3600
- },
3601
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterne" } }
3602
- },
3603
- review_rating: {
3604
- desc: {
3605
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3606
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3607
- },
3608
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Am besten bewertet" } }
3609
- }
3610
- }
3611
- }
3612
- },
3613
- "es-ES": {
3614
- BSortByMenu: {
3615
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por: " } },
3616
- options: {
3617
- top_picks: {
3618
- asc: {
3619
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3620
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3621
- },
3622
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nuestras recomendaciones" } }
3623
- },
3624
- price: {
3625
- asc: {
3626
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(más bajo primero)" } },
3627
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3628
- },
3629
- desc: {
3630
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(más alto primero)" } },
3631
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3632
- },
3633
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio" } }
3634
- },
3635
- distance: {
3636
- asc: {
3637
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3638
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3639
- },
3640
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Más cercano" } }
3641
- },
3642
- rating: {
3643
- asc: {
3644
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(de menor a mayor)" } },
3645
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3646
- },
3647
- desc: {
3648
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(de mayor a menor)" } },
3649
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3650
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3651
- },
3652
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Estrellas" } }
3653
- },
3654
- review_rating: {
3655
- desc: {
3656
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3657
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3658
- },
3659
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mejor valorados" } }
3660
- }
3661
- }
3662
- }
3663
- },
3664
- "it-IT": {
3665
- BSortByMenu: {
3666
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per: " } },
3667
- options: {
3668
- top_picks: {
3669
- asc: {
3670
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3671
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3672
- },
3673
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "I nostri preferiti" } }
3674
- },
3675
- price: {
3676
- asc: {
3677
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(più basso)" } },
3678
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3679
- },
3680
- desc: {
3681
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(più alto)" } },
3682
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3683
- },
3684
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo" } }
3685
- },
3686
- distance: {
3687
- asc: {
3688
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3689
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3690
- },
3691
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Più vicino" } }
3692
- },
3693
- rating: {
3694
- asc: {
3695
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(dal più basso al più alto)" } },
3696
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3697
- },
3698
- desc: {
3699
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(dal più alto al più basso)" } },
3700
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3701
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3702
- },
3703
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Stelle" } }
3704
- },
3705
- review_rating: {
3706
- desc: {
3707
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3708
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3709
- },
3710
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Migliori recensioni" } }
3711
- }
3712
- }
3713
- }
3714
- },
3715
- "nl-NL": {
3716
- BSortByMenu: {
3717
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op: " } },
3718
- options: {
3719
- top_picks: {
3720
- asc: {
3721
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3722
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3723
- },
3724
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Onze favorieten" } }
3725
- },
3726
- price: {
3727
- asc: {
3728
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(laagste eerst)" } },
3729
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3730
- },
3731
- desc: {
3732
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoogste eerst)" } },
3733
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3734
- },
3735
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs" } }
3736
- },
3737
- distance: {
3738
- asc: {
3739
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3740
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3741
- },
3742
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dichtstbijzijnd" } }
3743
- },
3744
- rating: {
3745
- asc: {
3746
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(laag naar hoog)" } },
3747
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3748
- },
3749
- desc: {
3750
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(hoog naar laag)" } },
3751
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3752
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3753
- },
3754
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterren" } }
3755
- },
3756
- review_rating: {
3757
- desc: {
3758
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3759
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3760
- },
3761
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Best beoordeeld" } }
3762
- }
3763
- }
3764
- }
3765
- },
3766
- "pt-PT": {
3767
- BSortByMenu: {
3768
- prefix: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por: " } },
3769
- options: {
3770
- top_picks: {
3771
- asc: {
3772
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3773
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-heart" } }
3774
- },
3775
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "As nossas escolhas" } }
3776
- },
3777
- price: {
3778
- asc: {
3779
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(o mais baixo primeiro)" } },
3780
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-up" } }
3781
- },
3782
- desc: {
3783
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(o mais alto primeiro)" } },
3784
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-arrow-trend-down" } }
3785
- },
3786
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço" } }
3787
- },
3788
- distance: {
3789
- asc: {
3790
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3791
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-person-walking" } }
3792
- },
3793
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mais perto" } }
3794
- },
3795
- rating: {
3796
- asc: {
3797
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(baixo para alto)" } },
3798
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } }
3799
- },
3800
- desc: {
3801
- wording: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "(alto para baixo)" } },
3802
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-star-half-stroke" } },
3803
- style: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "mirror" } }
3804
- },
3805
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Estrelas" } }
3806
- },
3807
- review_rating: {
3808
- desc: {
3809
- wording: { t: 0, b: { static: "", t: 2, i: [] } },
3810
- icon: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "fas fa-solid fa-thumbs-up" } }
3811
- },
3812
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Melhor avaliado" } }
3813
- }
3814
- }
3815
- }
3816
- }
3817
- }
3818
- });
3819
- }
3820
- typeof Mt == "function" && Mt(ta);
3821
- const Dl = /* @__PURE__ */ oe(ta, [["__scopeId", "data-v-13d63649"]]);
3822
- function Hl(e) {
3823
- let {
3824
- rootEl: t,
3825
- isSticky: l,
3826
- layoutItemStyles: i
3827
- } = e;
3828
- const a = de(!1), o = de(0), c = h(() => {
3829
- const v = typeof a.value == "boolean" ? "top" : a.value;
3830
- return [l.value ? {
3831
- top: "auto",
3832
- bottom: "auto",
3833
- height: void 0
3834
- } : void 0, a.value ? {
3835
- [v]: he(o.value)
3836
- } : {
3837
- top: i.value.top
3838
- }];
3839
- });
3840
- Ne(() => {
3841
- Z(l, (v) => {
3842
- v ? window.addEventListener("scroll", m, {
3843
- passive: !0
3844
- }) : window.removeEventListener("scroll", m);
3845
- }, {
3846
- immediate: !0
3847
- });
3848
- }), Ht(() => {
3849
- window.removeEventListener("scroll", m);
3850
- });
3851
- let p = 0;
3852
- function m() {
3853
- const v = p > window.scrollY ? "up" : "down", f = t.value.getBoundingClientRect(), b = parseFloat(i.value.top ?? 0), u = window.scrollY - Math.max(0, o.value - b), s = f.height + Math.max(o.value, b) - window.scrollY - window.innerHeight, d = parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y")) || 0;
3854
- f.height < window.innerHeight - b ? (a.value = "top", o.value = b) : v === "up" && a.value === "bottom" || v === "down" && a.value === "top" ? (o.value = window.scrollY + f.top - d, a.value = !0) : v === "down" && s <= 0 ? (o.value = 0, a.value = "bottom") : v === "up" && u <= 0 && (d ? a.value !== "top" && (o.value = -u + d + b, a.value = "top") : (o.value = f.top + u, a.value = "top")), p = window.scrollY;
3855
- }
3856
- return {
3857
- isStuck: a,
3858
- stickyStyles: c
3859
- };
3860
- }
3861
- const Nl = 100, zl = 20;
3862
- function Vt(e) {
3863
- return (e < 0 ? -1 : 1) * Math.sqrt(Math.abs(e)) * 1.41421356237;
3864
- }
3865
- function Ct(e) {
3866
- if (e.length < 2)
3867
- return 0;
3868
- if (e.length === 2)
3869
- return e[1].t === e[0].t ? 0 : (e[1].d - e[0].d) / (e[1].t - e[0].t);
3870
- let t = 0;
3871
- for (let l = e.length - 1; l > 0; l--) {
3872
- if (e[l].t === e[l - 1].t)
3873
- continue;
3874
- const i = Vt(t), a = (e[l].d - e[l - 1].d) / (e[l].t - e[l - 1].t);
3875
- t += (a - i) * Math.abs(a), l === e.length - 1 && (t *= 0.5);
3876
- }
3877
- return Vt(t) * 1e3;
3878
- }
3879
- function Ul() {
3880
- const e = {};
3881
- function t(a) {
3882
- Array.from(a.changedTouches).forEach((o) => {
3883
- (e[o.identifier] ?? (e[o.identifier] = new Aa(zl))).push([a.timeStamp, o]);
3884
- });
3885
- }
3886
- function l(a) {
3887
- Array.from(a.changedTouches).forEach((o) => {
3888
- delete e[o.identifier];
3889
- });
3890
- }
3891
- function i(a) {
3892
- var v;
3893
- const o = (v = e[a]) == null ? void 0 : v.values().reverse();
3894
- if (!o)
3895
- throw new Error(`No samples for touch id ${a}`);
3896
- const c = o[0], p = [], m = [];
3897
- for (const f of o) {
3898
- if (c[0] - f[0] > Nl) break;
3899
- p.push({
3900
- t: f[0],
3901
- d: f[1].clientX
3902
- }), m.push({
3903
- t: f[0],
3904
- d: f[1].clientY
3905
- });
3906
- }
3907
- return {
3908
- x: Ct(p),
3909
- y: Ct(m),
3910
- get direction() {
3911
- const {
3912
- x: f,
3913
- y: b
3914
- } = this, [u, s] = [Math.abs(f), Math.abs(b)];
3915
- return u > s && f >= 0 ? "right" : u > s && f <= 0 ? "left" : s > u && b >= 0 ? "down" : s > u && b <= 0 ? "up" : ql();
3916
- }
3917
- };
3918
- }
3919
- return {
3920
- addMovement: t,
3921
- endTouch: l,
3922
- getVelocity: i
3923
- };
3924
- }
3925
- function ql() {
3926
- throw new Error();
3927
- }
3928
- function jl(e) {
3929
- let {
3930
- el: t,
3931
- isActive: l,
3932
- isTemporary: i,
3933
- width: a,
3934
- touchless: o,
3935
- position: c
3936
- } = e;
3937
- Ne(() => {
3938
- window.addEventListener("touchstart", F, {
3939
- passive: !0
3940
- }), window.addEventListener("touchmove", A, {
3941
- passive: !1
3942
- }), window.addEventListener("touchend", D, {
3943
- passive: !0
3944
- });
3945
- }), Ht(() => {
3946
- window.removeEventListener("touchstart", F), window.removeEventListener("touchmove", A), window.removeEventListener("touchend", D);
3947
- });
3948
- const p = h(() => ["left", "right"].includes(c.value)), {
3949
- addMovement: m,
3950
- endTouch: v,
3951
- getVelocity: f
3952
- } = Ul();
3953
- let b = !1;
3954
- const u = de(!1), s = de(0), d = de(0);
3955
- let g;
3956
- function _(B, I) {
3957
- return (c.value === "left" ? B : c.value === "right" ? document.documentElement.clientWidth - B : c.value === "top" ? B : c.value === "bottom" ? document.documentElement.clientHeight - B : _e()) - (I ? a.value : 0);
3958
- }
3959
- function k(B) {
3960
- let I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
3961
- const x = c.value === "left" ? (B - d.value) / a.value : c.value === "right" ? (document.documentElement.clientWidth - B - d.value) / a.value : c.value === "top" ? (B - d.value) / a.value : c.value === "bottom" ? (document.documentElement.clientHeight - B - d.value) / a.value : _e();
3962
- return I ? Math.max(0, Math.min(1, x)) : x;
3963
- }
3964
- function F(B) {
3965
- if (o.value) return;
3966
- const I = B.changedTouches[0].clientX, x = B.changedTouches[0].clientY, V = 25, C = c.value === "left" ? I < V : c.value === "right" ? I > document.documentElement.clientWidth - V : c.value === "top" ? x < V : c.value === "bottom" ? x > document.documentElement.clientHeight - V : _e(), R = l.value && (c.value === "left" ? I < a.value : c.value === "right" ? I > document.documentElement.clientWidth - a.value : c.value === "top" ? x < a.value : c.value === "bottom" ? x > document.documentElement.clientHeight - a.value : _e());
3967
- (C || R || l.value && i.value) && (g = [I, x], d.value = _(p.value ? I : x, l.value), s.value = k(p.value ? I : x), b = d.value > -20 && d.value < 80, v(B), m(B));
3968
- }
3969
- function A(B) {
3970
- const I = B.changedTouches[0].clientX, x = B.changedTouches[0].clientY;
3971
- if (b) {
3972
- if (!B.cancelable) {
3973
- b = !1;
3974
- return;
3975
- }
3976
- const C = Math.abs(I - g[0]), R = Math.abs(x - g[1]);
3977
- (p.value ? C > R && C > 3 : R > C && R > 3) ? (u.value = !0, b = !1) : (p.value ? R : C) > 3 && (b = !1);
3978
- }
3979
- if (!u.value) return;
3980
- B.preventDefault(), m(B);
3981
- const V = k(p.value ? I : x, !1);
3982
- s.value = Math.max(0, Math.min(1, V)), V > 1 ? d.value = _(p.value ? I : x, !0) : V < 0 && (d.value = _(p.value ? I : x, !1));
3983
- }
3984
- function D(B) {
3985
- if (b = !1, !u.value) return;
3986
- m(B), u.value = !1;
3987
- const I = f(B.changedTouches[0].identifier), x = Math.abs(I.x), V = Math.abs(I.y);
3988
- (p.value ? x > V && x > 400 : V > x && V > 3) ? l.value = I.direction === ({
3989
- left: "right",
3990
- right: "left",
3991
- top: "down",
3992
- bottom: "up"
3993
- }[c.value] || _e()) : l.value = s.value > 0.5;
3994
- }
3995
- const H = h(() => u.value ? {
3996
- transform: c.value === "left" ? `translateX(calc(-100% + ${s.value * a.value}px))` : c.value === "right" ? `translateX(calc(100% - ${s.value * a.value}px))` : c.value === "top" ? `translateY(calc(-100% + ${s.value * a.value}px))` : c.value === "bottom" ? `translateY(calc(100% - ${s.value * a.value}px))` : _e(),
3997
- transition: "none"
3998
- } : void 0);
3999
- return Ae(u, () => {
4000
- var x, V;
4001
- const B = ((x = t.value) == null ? void 0 : x.style.transform) ?? null, I = ((V = t.value) == null ? void 0 : V.style.transition) ?? null;
4002
- $a(() => {
4003
- var C, R, S, y;
4004
- (R = t.value) == null || R.style.setProperty("transform", ((C = H.value) == null ? void 0 : C.transform) || "none"), (y = t.value) == null || y.style.setProperty("transition", ((S = H.value) == null ? void 0 : S.transition) || null);
4005
- }), Da(() => {
4006
- var C, R;
4007
- (C = t.value) == null || C.style.setProperty("transform", B), (R = t.value) == null || R.style.setProperty("transition", I);
4008
- });
4009
- }), {
4010
- isDragging: u,
4011
- dragProgress: s,
4012
- dragStyles: H
4013
- };
4014
- }
4015
- function _e() {
4016
- throw new Error();
4017
- }
4018
- const Kl = ["start", "end", "left", "right", "top", "bottom"], Gl = Me({
4019
- color: String,
4020
- disableResizeWatcher: Boolean,
4021
- disableRouteWatcher: Boolean,
4022
- expandOnHover: Boolean,
4023
- floating: Boolean,
4024
- modelValue: {
4025
- type: Boolean,
4026
- default: null
4027
- },
4028
- permanent: Boolean,
4029
- rail: {
4030
- type: Boolean,
4031
- default: null
4032
- },
4033
- railWidth: {
4034
- type: [Number, String],
4035
- default: 56
4036
- },
4037
- scrim: {
4038
- type: [Boolean, String],
4039
- default: !0
4040
- },
4041
- image: String,
4042
- temporary: Boolean,
4043
- persistent: Boolean,
4044
- touchless: Boolean,
4045
- width: {
4046
- type: [Number, String],
4047
- default: 256
4048
- },
4049
- location: {
4050
- type: String,
4051
- default: "start",
4052
- validator: (e) => Kl.includes(e)
4053
- },
4054
- sticky: Boolean,
4055
- ...Ei(),
4056
- ...Ue(),
4057
- ...ai(),
4058
- ...za({
4059
- mobile: null
4060
- }),
4061
- ...zt(),
4062
- ...ti(),
4063
- ...Ut(),
4064
- ...Nt({
4065
- tag: "nav"
4066
- }),
4067
- ...Dt()
4068
- }, "VNavigationDrawer"), Yl = Oe()({
4069
- name: "VNavigationDrawer",
4070
- props: Gl(),
4071
- emits: {
4072
- "update:modelValue": (e) => !0,
4073
- "update:rail": (e) => !0
4074
- },
4075
- setup(e, t) {
4076
- let {
4077
- attrs: l,
4078
- emit: i,
4079
- slots: a
4080
- } = t;
4081
- const {
4082
- isRtl: o
4083
- } = ze(), {
4084
- themeClasses: c
4085
- } = $t(e), {
4086
- borderClasses: p
4087
- } = Ti(e), {
4088
- backgroundColorClasses: m,
4089
- backgroundColorStyles: v
4090
- } = He(ie(e, "color")), {
4091
- elevationClasses: f
4092
- } = qt(e), {
4093
- displayClasses: b,
4094
- mobile: u
4095
- } = Ha(e), {
4096
- roundedClasses: s
4097
- } = jt(e), d = Xa(), g = et(e, "modelValue", null, (L) => !!L), {
4098
- ssrBootStyles: _
4099
- } = Ai(), {
4100
- scopeId: k
4101
- } = Qa(), F = U(), A = de(!1), {
4102
- runOpenDelay: D,
4103
- runCloseDelay: H
4104
- } = ii(e, (L) => {
4105
- A.value = L;
4106
- }), B = h(() => e.rail && e.expandOnHover && A.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), I = h(() => Ja(e.location, o.value)), x = h(() => e.persistent), V = h(() => !e.permanent && (u.value || e.temporary)), C = h(() => e.sticky && !V.value && I.value !== "bottom");
4107
- Ae(() => e.expandOnHover && e.rail != null, () => {
4108
- Z(A, (L) => i("update:rail", !L));
4109
- }), Ae(() => !e.disableResizeWatcher, () => {
4110
- Z(V, (L) => !e.permanent && Ie(() => g.value = !L));
4111
- }), Ae(() => !e.disableRouteWatcher && !!d, () => {
4112
- Z(d.currentRoute, () => V.value && (g.value = !1));
4113
- }), Z(() => e.permanent, (L) => {
4114
- L && (g.value = !0);
4115
- }), e.modelValue == null && !V.value && (g.value = e.permanent || !u.value);
4116
- const {
4117
- isDragging: R,
4118
- dragProgress: S
4119
- } = jl({
4120
- el: F,
4121
- isActive: g,
4122
- isTemporary: V,
4123
- width: B,
4124
- touchless: ie(e, "touchless"),
4125
- position: I
4126
- }), y = h(() => {
4127
- const L = V.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) : B.value;
4128
- return R.value ? L * S.value : L;
4129
- }), {
4130
- layoutItemStyles: E,
4131
- layoutItemScrimStyles: M
4132
- } = ei({
4133
- id: e.name,
4134
- order: h(() => parseInt(e.order, 10)),
4135
- position: I,
4136
- layoutSize: y,
4137
- elementSize: B,
4138
- active: h(() => g.value || R.value),
4139
- disableTransitions: h(() => R.value),
4140
- absolute: h(() => (
4141
- // eslint-disable-next-line @typescript-eslint/no-use-before-define
4142
- e.absolute || C.value && typeof G.value != "string"
4143
- ))
4144
- }), {
4145
- isStuck: G,
4146
- stickyStyles: X
4147
- } = Hl({
4148
- rootEl: F,
4149
- isSticky: C,
4150
- layoutItemStyles: E
4151
- }), ae = He(h(() => typeof e.scrim == "string" ? e.scrim : null)), re = h(() => ({
4152
- ...R.value ? {
4153
- opacity: S.value * 0.2,
4154
- transition: "none"
4155
- } : void 0,
4156
- ...M.value
4157
- }));
4158
- return Na({
4159
- VList: {
4160
- bgColor: "transparent"
4161
- }
4162
- }), xe(() => {
4163
- const L = a.image || e.image;
4164
- return r(se, null, [r(e.tag, ee({
4165
- ref: F,
4166
- onMouseenter: D,
4167
- onMouseleave: H,
4168
- class: ["v-navigation-drawer", `v-navigation-drawer--${I.value}`, {
4169
- "v-navigation-drawer--expand-on-hover": e.expandOnHover,
4170
- "v-navigation-drawer--floating": e.floating,
4171
- "v-navigation-drawer--is-hovering": A.value,
4172
- "v-navigation-drawer--rail": e.rail,
4173
- "v-navigation-drawer--temporary": V.value,
4174
- "v-navigation-drawer--persistent": x.value,
4175
- "v-navigation-drawer--active": g.value,
4176
- "v-navigation-drawer--sticky": C.value
4177
- }, c.value, m.value, p.value, b.value, f.value, s.value, e.class],
4178
- style: [v.value, E.value, _.value, X.value, e.style]
4179
- }, k, l), {
4180
- default: () => {
4181
- var N, ue, me;
4182
- return [L && r("div", {
4183
- key: "image",
4184
- class: "v-navigation-drawer__img"
4185
- }, [a.image ? r(ci, {
4186
- key: "image-defaults",
4187
- disabled: !e.image,
4188
- defaults: {
4189
- VImg: {
4190
- alt: "",
4191
- cover: !0,
4192
- height: "inherit",
4193
- src: e.image
4194
- }
4195
- }
4196
- }, a.image) : r(ui, {
4197
- key: "image-img",
4198
- alt: "",
4199
- cover: !0,
4200
- height: "inherit",
4201
- src: e.image
4202
- }, null)]), a.prepend && r("div", {
4203
- class: "v-navigation-drawer__prepend"
4204
- }, [(N = a.prepend) == null ? void 0 : N.call(a)]), r("div", {
4205
- class: "v-navigation-drawer__content"
4206
- }, [(ue = a.default) == null ? void 0 : ue.call(a)]), a.append && r("div", {
4207
- class: "v-navigation-drawer__append"
4208
- }, [(me = a.append) == null ? void 0 : me.call(a)])];
4209
- }
4210
- }), r(Ua, {
4211
- name: "fade-transition"
4212
- }, {
4213
- default: () => [V.value && (R.value || g.value) && !!e.scrim && r("div", ee({
4214
- class: ["v-navigation-drawer__scrim", ae.backgroundColorClasses.value],
4215
- style: [re.value, ae.backgroundColorStyles.value],
4216
- onClick: () => {
4217
- x.value || (g.value = !1);
4218
- }
4219
- }, k), null)]
4220
- })]);
4221
- }), {
4222
- isStuck: G
4223
- };
4224
- }
4225
- }), Wl = { class: "" }, Zl = { class: "font-weight-bold" }, Xl = { class: "font-weight-bold" }, Ql = { class: "font-weight-bold" }, aa = /* @__PURE__ */ te({
4226
- __name: "HotelOffersFilterBarUI",
4227
- props: /* @__PURE__ */ Be({
4228
- currency: {},
4229
- disabled: { type: Boolean },
4230
- isLoading: { type: Boolean },
4231
- priceHistogram: {},
4232
- priceMax: {},
4233
- priceMin: {},
4234
- step: {}
4235
- }, {
4236
- modelValue: { required: !0 },
4237
- modelModifiers: {}
4238
- }),
4239
- emits: ["update:modelValue"],
4240
- setup(e) {
4241
- const { t } = ne(), l = U(!1), i = ve(e, "modelValue"), a = U({
4242
- ...i.value
4243
- }), o = () => {
4244
- i.value = { ...a.value }, l.value = !1;
4245
- }, c = h(
4246
- () => {
4247
- var u, s;
4248
- return ((u = i == null ? void 0 : i.value) == null ? void 0 : u.price[0]) !== 0 || ((s = i == null ? void 0 : i.value) == null ? void 0 : s.price[1]) !== 0;
4249
- }
4250
- ), p = h(
4251
- () => {
4252
- var u;
4253
- return ((u = i == null ? void 0 : i.value) == null ? void 0 : u[Y.ReviewRating]) !== xt;
4254
- }
4255
- ), m = h(
4256
- () => {
4257
- var u;
4258
- return ((u = i == null ? void 0 : i.value) == null ? void 0 : u[Y.Rating]) !== "";
4259
- }
4260
- ), v = h(
4261
- () => [
4262
- c.value,
4263
- m.value,
4264
- p.value
4265
- ].filter(Boolean).length
4266
- ), f = () => {
4267
- a.value = { ...i.value }, l.value = !1;
4268
- }, b = () => {
4269
- i.value = { ...De }, l.value = !1;
4270
- };
4271
- return Z(
4272
- i,
4273
- (u) => {
4274
- a.value = { ...u };
4275
- },
4276
- {
4277
- deep: !0,
4278
- immediate: !0
4279
- }
4280
- ), Z(
4281
- l,
4282
- () => {
4283
- a.value = { ...i.value };
4284
- },
4285
- {
4286
- deep: !0,
4287
- immediate: !0
4288
- }
4289
- ), (u, s) => (P(), W("div", null, [
4290
- r(Yl, {
4291
- modelValue: l.value,
4292
- "onUpdate:modelValue": s[3] || (s[3] = (d) => l.value = d),
4293
- temporary: "",
4294
- width: 450
4295
- }, {
4296
- default: n(() => [
4297
- r(Te, {
4298
- elevation: "0",
4299
- light: ""
4300
- }, {
4301
- default: n(() => [
4302
- r(Mi, {
4303
- class: "py-1",
4304
- style: { "background-color": "#fff", "z-index": "1", position: "fixed", top: "0", width: "100%" }
4305
- }, {
4306
- default: n(() => [
4307
- r(ce, { "no-gutters": "" }, {
4308
- default: n(() => [
4309
- r(Q, { cols: "auto" }, {
4310
- default: n(() => [
4311
- r(K, {
4312
- icon: "",
4313
- variant: "text",
4314
- onClick: f,
4315
- size: "small"
4316
- }, {
4317
- default: n(() => [
4318
- r(fe, null, {
4319
- default: n(() => s[9] || (s[9] = [
4320
- $(" fas fa-arrow-left ")
4321
- ])),
4322
- _: 1,
4323
- __: [9]
4324
- })
4325
- ]),
4326
- _: 1
4327
- }),
4328
- q("small", Wl, O(w(t)("BHotelFiltersMenu.filterBy")), 1)
4329
- ]),
4330
- _: 1
4331
- }),
4332
- r(Q, {
4333
- align: "end",
4334
- class: "flex align-center justify-end"
4335
- }, {
4336
- default: n(() => [
4337
- r(K, {
4338
- class: "mr-2",
4339
- color: "primary",
4340
- size: "small",
4341
- variant: "text",
4342
- onClick: f
4343
- }, {
4344
- default: n(() => [
4345
- $(O(w(t)("BHotelFiltersMenu.cancel")), 1)
4346
- ]),
4347
- _: 1
4348
- }),
4349
- r(K, {
4350
- class: "mr-2",
4351
- color: "error",
4352
- size: "small",
4353
- variant: "text",
4354
- onClick: b
4355
- }, {
4356
- default: n(() => [
4357
- $(O(w(t)("BHotelFiltersMenu.reset")), 1)
4358
- ]),
4359
- _: 1
4360
- }),
4361
- r(K, {
4362
- color: "success",
4363
- elevation: "0",
4364
- size: "small",
4365
- onClick: o
4366
- }, {
4367
- default: n(() => [
4368
- $(O(w(t)("BHotelFiltersMenu.apply")), 1)
4369
- ]),
4370
- _: 1
4371
- })
4372
- ]),
4373
- _: 1
4374
- })
4375
- ]),
4376
- _: 1
4377
- })
4378
- ]),
4379
- _: 1
4380
- }),
4381
- r($e, { class: "mt-12" }),
4382
- r(tt, null, {
4383
- default: n(() => [
4384
- r(ce, { class: "my-8" }, {
4385
- default: n(() => [
4386
- r(Q, {
4387
- align: "center",
4388
- class: "px-8",
4389
- cols: "12"
4390
- }, {
4391
- default: n(() => [
4392
- q("p", Zl, O(w(t)("BHotelFiltersMenu.price")), 1),
4393
- r(Wt, {
4394
- modelValue: a.value[w(Y).Price],
4395
- "onUpdate:modelValue": s[0] || (s[0] = (d) => a.value[w(Y).Price] = d),
4396
- currency: u.currency,
4397
- "is-loading": u.isLoading,
4398
- "price-histogram": u.priceHistogram,
4399
- "price-max": u.priceMax,
4400
- "price-min": u.priceMin
4401
- }, null, 8, ["modelValue", "currency", "is-loading", "price-histogram", "price-max", "price-min"])
4402
- ]),
4403
- _: 1
4404
- })
4405
- ]),
4406
- _: 1
4407
- }),
4408
- r($e, { class: "my-6 mx-12" }),
4409
- r(ce, { class: "my-8" }, {
4410
- default: n(() => [
4411
- r(Q, {
4412
- align: "center",
4413
- cols: "12"
4414
- }, {
4415
- default: n(() => [
4416
- q("p", Xl, O(w(t)("BHotelFiltersMenu.star")), 1),
4417
- r(Jt, {
4418
- modelValue: a.value[w(Y).Rating],
4419
- "onUpdate:modelValue": s[1] || (s[1] = (d) => a.value[w(Y).Rating] = d)
4420
- }, null, 8, ["modelValue"])
4421
- ]),
4422
- _: 1
4423
- })
4424
- ]),
4425
- _: 1
4426
- }),
4427
- r($e, { class: "my-6 mx-12" }),
4428
- r(ce, { class: "my-8" }, {
4429
- default: n(() => [
4430
- r(Q, {
4431
- align: "center",
4432
- class: "py-4",
4433
- cols: "12"
4434
- }, {
4435
- default: n(() => [
4436
- q("p", Ql, O(w(t)("BHotelFiltersMenu.review")), 1),
4437
- r(Xt, {
4438
- modelValue: a.value[w(Y).ReviewRating],
4439
- "onUpdate:modelValue": s[2] || (s[2] = (d) => a.value[w(Y).ReviewRating] = d)
4440
- }, null, 8, ["modelValue"])
4441
- ]),
4442
- _: 1
4443
- })
4444
- ]),
4445
- _: 1
4446
- })
4447
- ]),
4448
- _: 1
4449
- })
4450
- ]),
4451
- _: 1
4452
- })
4453
- ]),
4454
- _: 1
4455
- }, 8, ["modelValue"]),
4456
- r(ce, {
4457
- class: "pa-2",
4458
- justify: "space-between"
4459
- }, {
4460
- default: n(() => [
4461
- r(Q, { cols: "auto" }, {
4462
- default: n(() => [
4463
- r(ce, { dense: "" }, {
4464
- default: n(() => [
4465
- r(Q, null, {
4466
- default: n(() => [
4467
- r(Ke, {
4468
- bordered: "",
4469
- color: "secondary",
4470
- content: v.value > 0 ? v.value : void 0,
4471
- icon: v.value > 0 ? void 0 : "fas fa-x",
4472
- "model-value": v.value > 0,
4473
- style: { cursor: "pointer" }
4474
- }, {
4475
- default: n(() => [
4476
- r(K, {
4477
- "data-attr": "hotel-offers-filter-bar-filters",
4478
- color: "secondary",
4479
- elevation: 0,
4480
- size: "small",
4481
- onClick: s[4] || (s[4] = (d) => l.value = !0)
4482
- }, {
4483
- default: n(() => [
4484
- r(fe, {
4485
- class: "mr-1",
4486
- size: "14"
4487
- }, {
4488
- default: n(() => s[10] || (s[10] = [
4489
- $(" fas fa-sliders ")
4490
- ])),
4491
- _: 1,
4492
- __: [10]
4493
- }),
4494
- $(O(w(t)("BHotelFiltersMenu.filters")), 1)
4495
- ]),
4496
- _: 1
4497
- })
4498
- ]),
4499
- _: 1
4500
- }, 8, ["content", "icon", "model-value"])
4501
- ]),
4502
- _: 1
4503
- }),
4504
- c.value ? (P(), j(Q, {
4505
- key: 0,
4506
- class: "mx-1"
4507
- }, {
4508
- default: n(() => [
4509
- r(Cl, {
4510
- modelValue: i.value[w(Y).Price],
4511
- "onUpdate:modelValue": s[5] || (s[5] = (d) => i.value[w(Y).Price] = d),
4512
- currency: u.currency,
4513
- "is-loading": u.isLoading,
4514
- "price-histogram": u.priceHistogram,
4515
- "price-max": u.priceMax,
4516
- "price-min": u.priceMin
4517
- }, null, 8, ["modelValue", "currency", "is-loading", "price-histogram", "price-max", "price-min"])
4518
- ]),
4519
- _: 1
4520
- })) : J("", !0),
4521
- m.value ? (P(), j(Q, {
4522
- key: 1,
4523
- class: "mx-1"
4524
- }, {
4525
- default: n(() => [
4526
- r(Ll, {
4527
- modelValue: i.value[w(Y).Rating],
4528
- "onUpdate:modelValue": s[6] || (s[6] = (d) => i.value[w(Y).Rating] = d)
4529
- }, null, 8, ["modelValue"])
4530
- ]),
4531
- _: 1
4532
- })) : J("", !0),
4533
- p.value ? (P(), j(Q, {
4534
- key: 2,
4535
- class: "mx-1"
4536
- }, {
4537
- default: n(() => [
4538
- r(Il, {
4539
- modelValue: i.value[w(Y).ReviewRating],
4540
- "onUpdate:modelValue": s[7] || (s[7] = (d) => i.value[w(Y).ReviewRating] = d)
4541
- }, null, 8, ["modelValue"])
4542
- ]),
4543
- _: 1
4544
- })) : J("", !0),
4545
- v.value > 1 ? (P(), j(Q, {
4546
- key: 3,
4547
- class: "mx-1"
4548
- }, {
4549
- default: n(() => [
4550
- r(K, {
4551
- color: "grey",
4552
- size: "small",
4553
- variant: "text",
4554
- onClick: b
4555
- }, {
4556
- default: n(() => s[11] || (s[11] = [
4557
- $(" Reset ")
4558
- ])),
4559
- _: 1,
4560
- __: [11]
4561
- })
4562
- ]),
4563
- _: 1
4564
- })) : J("", !0)
4565
- ]),
4566
- _: 1
4567
- })
4568
- ]),
4569
- _: 1
4570
- }),
4571
- r(Q, { cols: "auto" }, {
4572
- default: n(() => [
4573
- r(Dl, {
4574
- modelValue: i.value[w(Y).SortBy],
4575
- "onUpdate:modelValue": s[8] || (s[8] = (d) => i.value[w(Y).SortBy] = d),
4576
- attach: u.$el
4577
- }, null, 8, ["modelValue", "attach"])
4578
- ]),
4579
- _: 1
4580
- })
4581
- ]),
4582
- _: 1
4583
- })
4584
- ]));
4585
- }
4586
- });
4587
- function Pt(e) {
4588
- const t = e;
4589
- t.__i18n = t.__i18n || [], t.__i18n.push({
4590
- locale: "",
4591
- resource: {
4592
- "en-US": {
4593
- BHotelFiltersMenu: {
4594
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
4595
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
4596
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4597
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter by" } },
4598
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price per room per night" } },
4599
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4600
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guest Rating" } },
4601
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by" } },
4602
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } }
4603
- }
4604
- },
4605
- "fr-FR": {
4606
- BHotelFiltersMenu: {
4607
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
4608
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
4609
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtres" } },
4610
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrer par" } },
4611
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } },
4612
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
4613
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notes" } },
4614
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trier par" } },
4615
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } }
4616
- }
4617
- },
4618
- "de-DE": {
4619
- BHotelFiltersMenu: {
4620
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
4621
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
4622
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter" } },
4623
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtern nach" } },
4624
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } },
4625
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
4626
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gästebewertung" } },
4627
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach" } },
4628
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } }
4629
- }
4630
- },
4631
- "es-ES": {
4632
- BHotelFiltersMenu: {
4633
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4634
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4635
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4636
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4637
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } },
4638
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
4639
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valoración de los huéspedes" } },
4640
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4641
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clasificación por estrellas" } }
4642
- }
4643
- },
4644
- "it-IT": {
4645
- BHotelFiltersMenu: {
4646
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
4647
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
4648
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtri" } },
4649
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtra per" } },
4650
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera a notte" } },
4651
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
4652
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione degli ospiti" } },
4653
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per" } },
4654
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificazione stelle" } }
4655
- }
4656
- },
4657
- "nl-NL": {
4658
- BHotelFiltersMenu: {
4659
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
4660
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
4661
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4662
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filteren op" } },
4663
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } },
4664
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4665
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Beoordeling" } },
4666
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op" } },
4667
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenclassificatie" } }
4668
- }
4669
- },
4670
- "pt-PT": {
4671
- BHotelFiltersMenu: {
4672
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4673
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4674
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4675
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4676
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } },
4677
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
4678
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação dos hóspedes" } },
4679
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4680
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação de estrelas" } }
4681
- }
4682
- }
4683
- }
4684
- });
4685
- }
4686
- typeof Pt == "function" && Pt(aa);
4687
- const Jl = /* @__PURE__ */ oe(aa, [["__scopeId", "data-v-533cff01"]]), er = { ref: "root" }, ia = /* @__PURE__ */ te({
4688
- __name: "BHotelOffersFilterBar",
4689
- setup(e) {
4690
- const t = Ni(), l = U(De);
4691
- return Z(
4692
- l,
4693
- (i) => {
4694
- t.saveFilters(i);
4695
- },
4696
- {
4697
- deep: !0,
4698
- immediate: !0
4699
- }
4700
- ), (i, a) => (P(), W("div", er, [
4701
- r(Jl, {
4702
- modelValue: l.value,
4703
- "onUpdate:modelValue": a[0] || (a[0] = (o) => l.value = o),
4704
- currency: i.config.currency,
4705
- "is-loading": w(t).isPolling && !w(t).hotelOffers.length,
4706
- "price-max": w(t).getPriceMax,
4707
- "price-min": w(t).getPriceMin,
4708
- "price-histogram": w(t).priceHistogram
4709
- }, null, 8, ["modelValue", "currency", "is-loading", "price-max", "price-min", "price-histogram"])
4710
- ], 512));
4711
- }
4712
- });
4713
- function Ft(e) {
4714
- const t = e;
4715
- t.__i18n = t.__i18n || [], t.__i18n.push({
4716
- locale: "",
4717
- resource: {
4718
- "en-US": {
4719
- BHotelFiltersMenu: {
4720
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Apply" } },
4721
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancel" } },
4722
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4723
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter by" } },
4724
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Price per room per night" } },
4725
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4726
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Guest Rating" } },
4727
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sort by" } },
4728
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Star Rating" } }
4729
- }
4730
- },
4731
- "fr-FR": {
4732
- BHotelFiltersMenu: {
4733
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Appliquer" } },
4734
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuler" } },
4735
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtres" } },
4736
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrer par" } },
4737
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prix par chambre par nuit" } },
4738
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Réinitialiser" } },
4739
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Notes" } },
4740
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trier par" } },
4741
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Étoiles" } }
4742
- }
4743
- },
4744
- "de-DE": {
4745
- BHotelFiltersMenu: {
4746
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Anwenden" } },
4747
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Abbrechen" } },
4748
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filter" } },
4749
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtern nach" } },
4750
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preis pro Zimmer pro Nacht" } },
4751
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zurücksetzen" } },
4752
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Gästebewertung" } },
4753
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sortieren nach" } },
4754
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sternebewertung" } }
4755
- }
4756
- },
4757
- "es-ES": {
4758
- BHotelFiltersMenu: {
4759
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4760
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4761
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4762
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4763
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Precio por habitación por noche" } },
4764
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Restablecer" } },
4765
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valoración de los huéspedes" } },
4766
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4767
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Clasificación por estrellas" } }
4768
- }
4769
- },
4770
- "it-IT": {
4771
- BHotelFiltersMenu: {
4772
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Applica" } },
4773
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annulla" } },
4774
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtri" } },
4775
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtra per" } },
4776
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prezzo per camera a notte" } },
4777
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ripristina" } },
4778
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valutazione degli ospiti" } },
4779
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordina per" } },
4780
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificazione stelle" } }
4781
- }
4782
- },
4783
- "nl-NL": {
4784
- BHotelFiltersMenu: {
4785
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toepassen" } },
4786
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Annuleren" } },
4787
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filters" } },
4788
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filteren op" } },
4789
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Prijs per kamer per nacht" } },
4790
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Reset" } },
4791
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Beoordeling" } },
4792
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sorteren op" } },
4793
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sterrenclassificatie" } }
4794
- }
4795
- },
4796
- "pt-PT": {
4797
- BHotelFiltersMenu: {
4798
- apply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aplicar" } },
4799
- cancel: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Cancelar" } },
4800
- filters: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtros" } },
4801
- filterBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Filtrar por" } },
4802
- price: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preço por quarto por noite" } },
4803
- reset: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Repor" } },
4804
- review: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Avaliação dos hóspedes" } },
4805
- sortBy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ordenar por" } },
4806
- star: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Classificação de estrelas" } }
4807
- }
4808
- }
4809
- }
4810
- });
4811
- }
4812
- typeof Ft == "function" && Ft(ia);
4813
- const Lr = /* @__PURE__ */ oe(ia, [["__scopeId", "data-v-548e6303"]]);
4814
- ca("css/revolugo.bhoteloffersfilterbar.PIn4y3L4.css");
4815
- export {
4816
- Er as B,
4817
- Ir as D,
4818
- qi as H,
4819
- be as a,
4820
- xr as b,
4821
- Tr as c,
4822
- Lr as d,
4823
- Or as p,
4824
- Ni as u
4825
- };
4826
- //# sourceMappingURL=revolugo.bhoteloffersfilterbar.DaG82sI1.min.js.map