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