@revolugo/elements 5.5.5-rc.9 → 5.5.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/revolugo.0.min.css +5 -0
- package/dist/css/revolugo.1.min.css +1 -0
- package/dist/css/revolugo.11.min.css +1 -0
- package/dist/css/revolugo.12.min.css +1 -0
- package/dist/css/revolugo.13.min.css +1 -0
- package/dist/css/revolugo.14.min.css +1 -0
- package/dist/css/revolugo.15.min.css +1 -0
- package/dist/css/revolugo.16.min.css +1 -0
- package/dist/css/revolugo.17.min.css +1 -0
- package/dist/css/revolugo.18.min.css +1 -0
- package/dist/css/revolugo.19.min.css +1 -0
- package/dist/css/revolugo.2.min.css +1 -0
- package/dist/css/revolugo.20.min.css +1 -0
- package/dist/css/revolugo.21.min.css +1 -0
- package/dist/css/revolugo.22.min.css +1 -0
- package/dist/css/revolugo.23.min.css +1 -0
- package/dist/css/revolugo.24.min.css +1 -0
- package/dist/css/revolugo.25.min.css +1 -0
- package/dist/css/revolugo.26.min.css +1 -0
- package/dist/css/revolugo.27.min.css +1 -0
- package/dist/css/revolugo.28.min.css +1 -0
- package/dist/css/revolugo.29.min.css +1 -0
- package/dist/css/revolugo.30.min.css +1 -0
- package/dist/css/revolugo.31.min.css +1 -0
- package/dist/css/revolugo.32.min.css +1 -0
- package/dist/css/revolugo.33.min.css +1 -0
- package/dist/css/revolugo.34.min.css +1 -0
- package/dist/css/revolugo.35.min.css +1 -0
- package/dist/css/revolugo.4.min.css +1 -0
- package/dist/css/revolugo.5.min.css +1 -0
- package/dist/css/revolugo.6.min.css +1 -0
- package/dist/css/revolugo.7.min.css +1 -0
- package/dist/css/revolugo.fonts.min.css +1 -0
- package/dist/fonts/amenities.2aad1d12.woff +0 -0
- package/dist/fonts/amenities.9adae269.ttf +0 -0
- package/dist/fonts/amenities.a9bf50f8.svg +42 -0
- package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
- package/dist/fonts/beds.2b8e38c8.svg +12 -0
- package/dist/img/apst.c1092975.png +0 -0
- package/dist/img/apst.ec7669f2.png +0 -0
- package/dist/img/atout-france.72107e30.png +0 -0
- package/dist/img/atout-france.df038f22.png +0 -0
- package/dist/img/revolugo.179c459d.png +0 -0
- package/dist/img/revolugo.e0879dcc.png +0 -0
- package/dist/img/stripe.405543e2.png +0 -0
- package/dist/img/stripe.c3e16f9f.png +0 -0
- package/dist/index.min.js +1 -65
- package/dist/revolugo.0.min.js +18 -0
- package/dist/revolugo.1.min.js +1 -0
- package/dist/revolugo.11.min.js +134 -0
- package/dist/revolugo.12.min.js +19 -0
- package/dist/revolugo.13.min.js +14 -0
- package/dist/revolugo.14.min.js +14 -0
- package/dist/revolugo.15.min.js +19 -0
- package/dist/revolugo.16.min.js +139 -0
- package/dist/revolugo.17.min.js +14 -0
- package/dist/revolugo.18.min.js +14 -0
- package/dist/revolugo.19.min.js +1 -0
- package/dist/revolugo.2.min.js +1 -0
- package/dist/revolugo.20.min.js +1 -0
- package/dist/revolugo.21.min.js +1 -0
- package/dist/revolugo.22.min.js +116 -0
- package/dist/revolugo.23.min.js +1 -0
- package/dist/revolugo.24.min.js +1 -0
- package/dist/revolugo.25.min.js +1 -0
- package/dist/revolugo.26.min.js +1 -0
- package/dist/revolugo.27.min.js +1 -0
- package/dist/revolugo.28.min.js +1 -0
- package/dist/revolugo.29.min.js +116 -0
- package/dist/revolugo.30.min.js +1 -0
- package/dist/revolugo.31.min.js +1 -0
- package/dist/revolugo.32.min.js +1 -0
- package/dist/revolugo.33.min.js +1 -0
- package/dist/revolugo.34.min.js +1 -0
- package/dist/revolugo.35.min.js +1 -0
- package/dist/revolugo.36.min.js +1 -0
- package/dist/revolugo.37.min.js +1 -0
- package/dist/revolugo.4.min.js +1 -0
- package/dist/revolugo.5.min.js +1 -0
- package/dist/revolugo.6.min.js +1 -0
- package/dist/revolugo.7.min.js +1 -0
- package/dist/revolugo.en-US.min.js +1 -0
- package/dist/revolugo.fonts.min.js +1 -0
- package/dist/revolugo.fr-FR.min.js +1 -0
- package/dist/revolugo.min.js +7 -260
- package/package.json +30 -23
- package/dist/css/fonts.css +0 -1
- package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +0 -1
- package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +0 -1
- package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +0 -1
- package/dist/css/revolugo.bstarrating.nzH7iii4.css +0 -1
- package/dist/css/revolugo.btag.Bdbqb_8a.css +0 -1
- package/dist/css/revolugo.common.BSIsYREh.css +0 -1
- package/dist/css/revolugo.creditcardform.BGPUxkRC.css +0 -1
- package/dist/css/revolugo.creditcardpayment.0MNnDloZ.css +0 -1
- package/dist/css/revolugo.currencypicker.BRYsKdMu.css +0 -1
- package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +0 -1
- package/dist/css/revolugo.hotel-offer.CEd50mBT.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.0LnWfOu_.css +0 -1
- package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.xJfKaofV.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.css +0 -1
- package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +0 -1
- package/dist/css/revolugo.index.BMkl7a3p.css +0 -1
- package/dist/css/revolugo.index.CFW4Oklv.css +0 -1
- package/dist/css/revolugo.index.vq4xksqn.css +0 -1
- package/dist/css/revolugo.langpicker.B3TsOwUq.css +0 -1
- package/dist/css/revolugo.parsed-height.Xzhpy3D3.css +0 -1
- package/dist/css/revolugo.parsed-props.C3kOvm7T.css +0 -1
- package/dist/css/revolugo.prebookform.DBm2B4rS.css +0 -1
- package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +0 -5
- package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +0 -1
- package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +0 -1
- package/dist/css/revolugo.valert.BzcMswjJ.css +0 -1
- package/dist/css/revolugo.vautocomplete.OMX_yAge.css +0 -1
- package/dist/css/revolugo.vbadge.CiK_DSkI.css +0 -1
- package/dist/css/revolugo.vbtn.By46MJOU.css +0 -1
- package/dist/css/revolugo.vcard.DmB53ZNL.css +0 -1
- package/dist/css/revolugo.vchip.BdAdP6lC.css +0 -1
- package/dist/css/revolugo.vdialog.C02Cvwul.css +0 -1
- package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +0 -1
- package/dist/css/revolugo.vinput.SfhpXNi0.css +0 -1
- package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +0 -1
- package/dist/css/revolugo.vlistitem.BzwNE1YK.css +0 -1
- package/dist/css/revolugo.vmenu.BKE0IO4q.css +0 -1
- package/dist/css/revolugo.vselect.DljSkk6y.css +0 -1
- package/dist/css/revolugo.vsheet.Dtdo2Rps.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +0 -1
- package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +0 -1
- package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +0 -1
- package/dist/css/revolugo.vtextfield.BliJY6uv.css +0 -1
- package/dist/css/revolugo.vtoolbar.DQsezjcM.css +0 -1
- package/dist/css/revolugo.vtooltip.B_oOB9pj.css +0 -1
- package/dist/css/revolugo.vuetify.BpIoHlAi.css +0 -1
- package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +0 -1
- package/dist/index.es.min.js +0 -14203
- package/dist/index.es.min.js.map +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist/revolugo.banktransferdetails.BizR-rRI.min.js +0 -105
- package/dist/revolugo.bbreakfastoptionbadge.B7i2HO4j.min.js +0 -62
- package/dist/revolugo.bdaterangepicker.S6or4pKG.min.js +0 -1351
- package/dist/revolugo.bformattedamount.b9Kq7aJt.min.js +0 -82
- package/dist/revolugo.bhotelroomsdetails.CZnD6K9I.min.js +0 -213
- package/dist/revolugo.bhotelsearchbar.BqvoePCQ.min.js +0 -446
- package/dist/revolugo.booking-api-client.DiqqOOFv.min.js +0 -7680
- package/dist/revolugo.bookingdetailssidebar.Bfbk59f9.min.js +0 -242
- package/dist/revolugo.bookingdetailssidebar.d7t71nic.min.js +0 -28
- package/dist/revolugo.bookingmanager.DKrJHtvs.min.js +0 -404
- package/dist/revolugo.bphoneinput.BZevDjso.min.js +0 -1935
- package/dist/revolugo.bpricesummaryskeleton.Dr-IXzQj.min.js +0 -47
- package/dist/revolugo.breakpoint-service.Bdi4f4LL.min.js +0 -65
- package/dist/revolugo.bstarrating.C1e3VjIg.min.js +0 -173
- package/dist/revolugo.btag.ynoHdYtY.min.js +0 -68
- package/dist/revolugo.cancellationpoliciesbadge.DZay7gI5.min.js +0 -28
- package/dist/revolugo.cancellationpoliciesbadge.Doo8xToy.min.js +0 -76
- package/dist/revolugo.cancellationpolicieslist.CZEYlDTa.min.js +0 -28
- package/dist/revolugo.cancellationpolicieslist.DXv5Z9hC.min.js +0 -316
- package/dist/revolugo.common.B8ukCAYr.min.js +0 -34
- package/dist/revolugo.creditcardform.7gTSzV5W.min.js +0 -2047
- package/dist/revolugo.creditcardform.SmEMmTLR.min.js +0 -28
- package/dist/revolugo.creditcardpayment.DQlxkhJS.min.js +0 -288
- package/dist/revolugo.creditcardpayment.DtXrvXH4.min.js +0 -28
- package/dist/revolugo.currencypicker.BCNyv5ii.min.js +0 -122
- package/dist/revolugo.currencypickerbtn.BF9FgIdV.min.js +0 -121
- package/dist/revolugo.currencypickerbtn.BWgg2zFw.min.js +0 -28
- package/dist/revolugo.dialog-attach.CLehyi_Z.min.js +0 -27
- package/dist/revolugo.en-us.BP-UxrRq.min.js +0 -1171
- package/dist/revolugo.event-bus.CYLYgD3Y.min.js +0 -37
- package/dist/revolugo.fastbookingflow.CBRdWsow.min.js +0 -37
- package/dist/revolugo.fr-fr.CF_knN5b.min.js +0 -1177
- package/dist/revolugo.fullbookingflow.BJd4ny2A.min.js +0 -239
- package/dist/revolugo.hotel-offer.DzBqMuPb.min.js +0 -608
- package/dist/revolugo.hoteldescriptionview.CGdmUTg0.min.js +0 -28
- package/dist/revolugo.hoteldescriptionview.lCnbS6b4.min.js +0 -2174
- package/dist/revolugo.hotelofferitemlayout.DXXrORSY.min.js +0 -64
- package/dist/revolugo.hotelofferlist.BxfZD-Hx.min.js +0 -28
- package/dist/revolugo.hotelofferlist.DKU3x1vK.min.js +0 -3779
- package/dist/revolugo.hotelofferrequestcreator.BKtwbR1c.min.js +0 -225
- package/dist/revolugo.hoteloffersearchmenu.YDC-swcZ.min.js +0 -54
- package/dist/revolugo.hoteloffersmap.ChURKCgn.min.js +0 -28
- package/dist/revolugo.hoteloffersmap.DJMCqwEM.min.js +0 -8737
- package/dist/revolugo.hoteloffersview.BWW1PvKj.min.js +0 -157
- package/dist/revolugo.hoteloffersview.DeV2kko1.min.js +0 -28
- package/dist/revolugo.hotelroomofferlist.CQxO5ol9.min.js +0 -28
- package/dist/revolugo.hotelroomofferlist.wOCXtTfR.min.js +0 -1336
- package/dist/revolugo.hotelroomofferrequestcreator.D-DxsDfm.min.js +0 -225
- package/dist/revolugo.hotelroomoffersbookingflow.CWjPCnhZ.min.js +0 -679
- package/dist/revolugo.hotelroomoffersearchmenu.Cwq9AvP9.min.js +0 -38
- package/dist/revolugo.hotelroomoffersearchmenu.D1Dm7gll.min.js +0 -29
- package/dist/revolugo.hotelroomoffersview.CurXk1Qa.min.js +0 -28
- package/dist/revolugo.hotelroomoffersview.DSLdqExT.min.js +0 -124
- package/dist/revolugo.i18n.CRsrl-Pc.min.js +0 -11271
- package/dist/revolugo.index.BDiaVuDm.min.js +0 -13
- package/dist/revolugo.index.BKI-x0X1.min.js +0 -15
- package/dist/revolugo.index.BaOVjjbA.min.js +0 -270
- package/dist/revolugo.index.Bd4gj7lY.min.js +0 -281
- package/dist/revolugo.index.CaW0A4-I.min.js +0 -128
- package/dist/revolugo.index.ChwgO4PY.min.js +0 -9
- package/dist/revolugo.index.CrUqCwlt.min.js +0 -43
- package/dist/revolugo.index.D9oFW8GL.min.js +0 -142
- package/dist/revolugo.index.DdfBQ-Rf.min.js +0 -68
- package/dist/revolugo.index.Dzk2SkvT.min.js +0 -322
- package/dist/revolugo.index.EYgmKzgP.min.js +0 -161
- package/dist/revolugo.index.XyUtDK9P.min.js +0 -9
- package/dist/revolugo.index.m6ONybqj.min.js +0 -390
- package/dist/revolugo.index.tMtdwus3.min.js +0 -42
- package/dist/revolugo.langpicker.l4d8BoJv.min.js +0 -103
- package/dist/revolugo.langpickerbtn.9pVysmgl.min.js +0 -111
- package/dist/revolugo.langpickerbtn.KLFzIU2U.min.js +0 -28
- package/dist/revolugo.localizedformat.kGeR9TO1.min.js +0 -47
- package/dist/revolugo.parsed-height.RjM3ROVm.min.js +0 -2492
- package/dist/revolugo.parsed-props.CeKdpJq1.min.js +0 -95
- package/dist/revolugo.prebookform.B9hptGJt.min.js +0 -483
- package/dist/revolugo.prebookform.C20WiiJU.min.js +0 -28
- package/dist/revolugo.revolugo-config.BBCvt4tY.min.js +0 -1707
- package/dist/revolugo.roominglisteditor.BQFRMTqN.min.js +0 -28
- package/dist/revolugo.roominglisteditor.DKudFq9U.min.js +0 -201
- package/dist/revolugo.sentry.xhJk8885.min.js +0 -12206
- package/dist/revolugo.store.Dg4TGX2q.min.js +0 -1718
- package/dist/revolugo.storybooktoolbar.6FB21Mqr.min.js +0 -300
- package/dist/revolugo.termsandconditions.AVL5ZYgL.min.js +0 -27
- package/dist/revolugo.termsandconditions.eAt9qptD.min.js +0 -162
- package/dist/revolugo.typed-mixins.CXpTuH4X.min.js +0 -8
- package/dist/revolugo.valert.C1kuupGe.min.js +0 -194
- package/dist/revolugo.vautocomplete.C4l-Ka2p.min.js +0 -255
- package/dist/revolugo.vbadge.BBQRY5xR.min.js +0 -172
- package/dist/revolugo.vbtn.DeuwYrz5.min.js +0 -286
- package/dist/revolugo.vcard.BKxRQQ01.min.js +0 -80
- package/dist/revolugo.vchip.CEc65kMd.min.js +0 -157
- package/dist/revolugo.vdialog.C9783vta.min.js +0 -341
- package/dist/revolugo.vexpansionpanelheader.Cr3QVtbD.min.js +0 -263
- package/dist/revolugo.vform.CsA6cOOm.min.js +0 -98
- package/dist/revolugo.vinput.B2IMBlIc.min.js +0 -509
- package/dist/revolugo.vitemgroup.D3TxEClV.min.js +0 -168
- package/dist/revolugo.vlistitem.KnCHREOd.min.js +0 -204
- package/dist/revolugo.vmenu.wrYJ1_Jd.min.js +0 -349
- package/dist/revolugo.vselect.C2jjNX-T.min.js +0 -859
- package/dist/revolugo.vsheet.DfK-4KUu.min.js +0 -120
- package/dist/revolugo.vskeletonloader.CNAsjf23.min.js +0 -172
- package/dist/revolugo.vslidegroup.k_V57iVz.min.js +0 -650
- package/dist/revolugo.vsnackbar.C0_FaHQ5.min.js +0 -178
- package/dist/revolugo.vtextfield.BI1xVkms.min.js +0 -438
- package/dist/revolugo.vtoolbar.CQGrg3aT.min.js +0 -364
- package/dist/revolugo.vtooltip.CiB9pLhM.min.js +0 -168
- package/dist/revolugo.vuetify.CTFxOcuS.min.js +0 -865
- package/dist/revolugo.watch-list.DwvyzUAT.min.js +0 -44
- package/dist/revolugo.webcomponentwrapper.DUSo7NhW.min.js +0 -777
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[34],{2347:function(e,t,i){},"34c1":function(e,t,i){function s(e,t,i){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const s=t.modifiers||{},a=t.value,{handler:n,options:o}="object"===typeof a?a:{handler:a,options:{}},l=new IntersectionObserver((a=[],o)=>{var l;const c=null===(l=e._observe)||void 0===l?void 0:l[i.context._uid];if(!c)return;const h=a.some(e=>e.isIntersecting);!n||s.quiet&&!c.init||s.once&&!h&&!c.init||n(a,o,h),h&&s.once?r(e,t,i):c.init=!0},o);e._observe=Object(e._observe),e._observe[i.context._uid]={init:!1,observer:l},l.observe(e)}function r(e,t,i){var s;const r=null===(s=e._observe)||void 0===s?void 0:s[i.context._uid];r&&(r.observer.unobserve(e),delete e._observe[i.context._uid])}const a={inserted:s,unbind:r};t["a"]=a},"358c":function(e,t,i){},"3e5d":function(e,t,i){i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"d",(function(){return l}));var s=i("804f"),r=i("db34");const a=Object(r["i"])("v-card__actions"),n=Object(r["i"])("v-card__subtitle"),o=Object(r["i"])("v-card__text"),l=Object(r["i"])("v-card__title");s["a"]},"4cb8":function(e,t,i){var s=i("cc45");t["a"]=s["a"]},"5c62":function(e,t,i){var s=i("db34"),r=i("2a49");t["a"]=r["a"].extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const e={},t=Object(s["g"])(this.height),i=Object(s["g"])(this.minHeight),r=Object(s["g"])(this.minWidth),a=Object(s["g"])(this.maxHeight),n=Object(s["g"])(this.maxWidth),o=Object(s["g"])(this.width);return t&&(e.height=t),i&&(e.minHeight=i),r&&(e.minWidth=r),a&&(e.maxHeight=a),n&&(e.maxWidth=n),o&&(e.width=o),e}}})},"68d1":function(e,t,i){var s=i("2a49"),r=i("da97");t["a"]=s["a"].extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(r["a"],{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},"700f":function(e,t,i){},"804f":function(e,t,i){i("e068");var s=i("4cb8"),r=i("68d1"),a=i("aad5"),n=i("739f");t["a"]=Object(n["a"])(r["a"],a["a"],s["a"]).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},raised:Boolean},computed:{classes(){return{"v-card":!0,...a["a"].options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--raised":this.raised,...s["a"].options.computed.classes.call(this)}},styles(){const e={...s["a"].options.computed.styles.call(this)};return this.img&&(e.background=`url("${this.img}") center center / cover no-repeat`),e}},methods:{genProgress(){const e=r["a"].options.methods.genProgress.call(this);return e?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[e]):null}},render(e){const{tag:t,data:i}=this.generateRouteLink();return i.style=this.styles,this.isClickable&&(i.attrs=i.attrs||{},i.attrs.tabindex=0),e(t,this.setBackgroundColor(this.color,i),[this.genProgress(),this.$slots.default])}})},"973d":function(e,t,i){i("2347");var s=i("2f1f"),r=i("34c1"),a=i("eebb"),n=i("a3f1"),o=i("a3bf"),l=i("0f79"),c=i("db34"),h=i("739f");const d=Object(h["a"])(a["a"],Object(n["b"])(["absolute","fixed","top","bottom"]),o["a"],l["a"]);t["a"]=d.extend({name:"v-progress-linear",directives:{intersect:r["a"]},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:Object(c["g"])(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:Object(c["g"])(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const e=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:e,[this.isReversed?"right":"left"]:Object(c["g"])(this.normalizedValue,"%"),width:Object(c["g"])(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?s["d"]:s["f"]},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const e={};return this.active||(e.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(e.width=Object(c["g"])(this.normalizedBuffer,"%")),e}},methods:{genContent(){const e=Object(c["o"])(this,"default",{value:this.internalLazyValue});return e?this.$createElement("div",{staticClass:"v-progress-linear__content"},e):null},genListeners(){const e=this.$listeners;return this.reactive&&(e.click=this.onClick),e},genProgressBar(e){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[e]:!0}}))},onClick(e){if(!this.reactive)return;const{width:t}=this.$el.getBoundingClientRect();this.internalValue=e.offsetX/t*100},onObserve(e,t,i){this.isVisible=i},normalize(e){return e<0?0:e>100?100:parseFloat(e)}},render(e){const t={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?Object(c["g"])(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return e("div",t,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}})},a3bf:function(e,t,i){var s=i("2a49");function r(e="value",t="change"){return s["a"].extend({name:"proxyable",model:{prop:e,event:t},props:{[e]:{required:!1}},data(){return{internalLazyValue:this[e]}},computed:{internalValue:{get(){return this.internalLazyValue},set(e){e!==this.internalLazyValue&&(this.internalLazyValue=e,this.$emit(t,e))}}},watch:{[e](e){this.internalLazyValue=e}}})}const a=r();t["a"]=a},cc45:function(e,t,i){i("700f");var s=i("9de8"),r=i("eebb"),a=i("f8aa"),n=i("5c62"),o=i("f8e6"),l=i("0f79"),c=i("739f");t["a"]=Object(c["a"])(s["a"],r["a"],a["a"],n["a"],o["a"],l["a"]).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(e){const t={class:this.classes,style:this.styles,on:this.listeners$};return e(this.tag,this.setBackgroundColor(this.color,t),this.$slots.default)}})},d69e:function(e,t,i){i("358c");var s=i("cc45"),r=i("eebb"),a=i("0f79"),n=i("c700"),o=i("a3f1"),l=i("739f"),c=i("db34"),h=i("2038");t["a"]=Object(l["a"])(s["a"],r["a"],n["a"],Object(o["b"])(["absolute","bottom","left","right","top"])).extend({name:"v-snackbar",props:{app:Boolean,centered:Boolean,contentClass:{type:String,default:""},multiLine:Boolean,text:Boolean,timeout:{type:[Number,String],default:5e3},transition:{type:[Boolean,String],default:"v-snack-transition",validator:e=>"string"===typeof e||!1===e},vertical:Boolean},data:()=>({activeTimeout:-1}),computed:{classes(){return{"v-snack--absolute":this.absolute,"v-snack--active":this.isActive,"v-snack--bottom":this.bottom||!this.top,"v-snack--centered":this.centered,"v-snack--has-background":this.hasBackground,"v-snack--left":this.left,"v-snack--multi-line":this.multiLine&&!this.vertical,"v-snack--right":this.right,"v-snack--text":this.text,"v-snack--top":this.top,"v-snack--vertical":this.vertical}},hasBackground(){return!this.text&&!this.outlined},isDark(){return this.hasBackground?!this.light:a["a"].options.computed.isDark.call(this)},styles(){if(this.absolute||!this.app)return{};const{bar:e,bottom:t,footer:i,insetFooter:s,left:r,right:a,top:n}=this.$vuetify.application;return{paddingBottom:Object(c["g"])(t+i+s),paddingLeft:Object(c["g"])(r),paddingRight:Object(c["g"])(a),paddingTop:Object(c["g"])(e+n)}}},watch:{isActive:"setTimeout",timeout:"setTimeout"},mounted(){this.isActive&&this.setTimeout()},created(){this.$attrs.hasOwnProperty("auto-height")&&Object(h["e"])("auto-height",this),0==this.timeout&&Object(h["d"])('timeout="0"',"-1",this)},methods:{genActions(){return this.$createElement("div",{staticClass:"v-snack__action "},[Object(c["o"])(this,"action",{attrs:{class:"v-snack__btn"}})])},genContent(){return this.$createElement("div",{staticClass:"v-snack__content",class:{[this.contentClass]:!0},attrs:{role:"status","aria-live":"polite"}},[Object(c["o"])(this)])},genWrapper(){const e=this.hasBackground?this.setBackgroundColor:this.setTextColor,t=e(this.color,{staticClass:"v-snack__wrapper",class:s["a"].options.computed.classes.call(this),style:s["a"].options.computed.styles.call(this),directives:[{name:"show",value:this.isActive}],on:{pointerenter:()=>window.clearTimeout(this.activeTimeout),pointerleave:this.setTimeout}});return this.$createElement("div",t,[this.genContent(),this.genActions()])},genTransition(){return this.$createElement("transition",{props:{name:this.transition}},[this.genWrapper()])},setTimeout(){window.clearTimeout(this.activeTimeout);const e=Number(this.timeout);this.isActive&&![0,-1].includes(e)&&(this.activeTimeout=window.setTimeout(()=>{this.isActive=!1},e))}},render(e){return e("div",{staticClass:"v-snack",class:this.classes,style:this.styles},[!1!==this.transition?this.genTransition():this.genWrapper()])}})},da97:function(e,t,i){var s=i("973d");t["a"]=s["a"]},e068:function(e,t,i){},f8aa:function(e,t,i){var s=i("2a49");t["a"]=s["a"].extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const e=this.computedElevation;return null==e||isNaN(parseInt(e))?{}:{["elevation-"+this.elevation]:!0}}}})},f8e6:function(e,t,i){i("c3d6");var s=i("2a49");t["a"]=s["a"].extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const e=[],t="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)e.push("rounded-0");else if("string"===typeof t){const i=t.split(" ");for(const t of i)e.push("rounded-"+t)}else t&&e.push("rounded");return e.length>0?{[e.join(" ")]:!0}:{}}}})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[35],{"02ba":function(e,n,t){!function(n,t){e.exports=t()}(0,(function(){return function(e,n,t){n.prototype.isBetween=function(e,n,l,o){var i=t(e),c=t(n),a="("===(o=o||"()")[0],s=")"===o[1];return(a?this.isAfter(i,l):!this.isBefore(i,l))&&(s?this.isBefore(c,l):!this.isAfter(c,l))||(a?this.isBefore(i,l):!this.isAfter(i,l))&&(s?this.isAfter(c,l):!this.isBefore(c,l))}}}))},"49af":function(e,n,t){var l=t("2038"),o=t("2a49");n["a"]=o["a"].extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&Object(l["e"])("lazy",this)},methods:{showLazyContent(e){return this.hasContent&&e?e():[this.$createElement()]}}})},"57b9":function(e,n,t){var l=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("ul",[e._l(e.sanitizedCancellationPolicies,(function(t,l){return[n("section",{key:l},[0===l&&0===t.penaltyPercentage?[n("li",{staticClass:"success--text text--lighten-1",domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.freeCancellationBefore",{date:e.formatDate(t.dateTo)}))}})]:0===t.penaltyPercentage?[n("li",{staticClass:"success--text text--lighten-1",domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.freeCancellationBetween",{from:e.formatDate(t.dateFrom),to:e.formatDate(t.dateTo)}))}})]:100===t.penaltyPercentage&&l===e.cancellationPolicies.length-1?[n("li",{domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.nonRefundableAfter",{from:e.formatDate(t.dateFrom)}))}})]:[n("li",{domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.partiallyRefundableCondition",{percentage:t.penaltyPercentage,from:e.formatDate(t.dateFrom),to:e.formatDate(t.dateTo)}))}})]],2)]})),100!==e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length-1].penaltyPercentage?[n("li",{domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.nonRefundableAfter",{from:e.formatDate(e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length-1].dateTo)}))}})]:e._e()],2)},o=[],i=t("05ef"),c=t("de4e"),a=t("26a6"),s=t.n(a),r=t("2a49"),u=t("6337"),m=t("5b96");function d(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts",n="e9db3926314468e1e34ddb1b79005ffc20099087",t=new Function("return this")(),l="__coverage__",o={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts",statementMap:{0:{start:{line:13,column:12},end:{line:20,column:13}},1:{start:{line:14,column:16},end:{line:19,column:17}},2:{start:{line:15,column:20},end:{line:15,column:65}},3:{start:{line:18,column:20},end:{line:18,column:30}},4:{start:{line:21,column:12},end:{line:21,column:45}},5:{start:{line:24,column:12},end:{line:29,column:16}},6:{start:{line:34,column:12},end:{line:40,column:15}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:12,column:8},end:{line:12,column:9}},loc:{start:{line:12,column:42},end:{line:22,column:9}},line:12},1:{name:"(anonymous_1)",decl:{start:{line:23,column:8},end:{line:23,column:9}},loc:{start:{line:23,column:40},end:{line:30,column:9}},line:23},2:{name:"(anonymous_2)",decl:{start:{line:33,column:8},end:{line:33,column:9}},loc:{start:{line:33,column:24},end:{line:41,column:9}},line:33}},branchMap:{0:{loc:{start:{line:13,column:12},end:{line:20,column:13}},type:"if",locations:[{start:{line:13,column:12},end:{line:20,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:13},1:{loc:{start:{line:25,column:33},end:{line:25,column:69}},type:"binary-expr",locations:[{start:{line:25,column:33},end:{line:25,column:49}},{start:{line:25,column:53},end:{line:25,column:69}}],line:25}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},f:{0:0,1:0,2:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e9db3926314468e1e34ddb1b79005ffc20099087"},i=t[l]||(t[l]={});i[e]&&i[e].hash===n||(i[e]=o);var c=i[e];return d=function(){return c},c}d();var h=r["a"].extend({name:"CancellationPoliciesList",mixins:[Object(u["a"])("components/RevolugoElements/CancellationPoliciesList")],props:m["a"],computed:{parsedInputCancellationPolicies(){if(d().f[0]++,d().s[0]++,"string"===typeof this.cancellationPolicies){d().b[0][0]++,d().s[1]++;try{return d().s[2]++,JSON.parse(this.cancellationPolicies)}catch{return d().s[3]++,[]}}else d().b[0][1]++;return d().s[4]++,this.cancellationPolicies},sanitizedCancellationPolicies(){return d().f[1]++,d().s[5]++,Object(c["a"])(Object(i["c"])({bookingDatetime:(d().b[1][0]++,this.initialDate||(d().b[1][1]++,s()().format())),cancellationPolicies:this.parsedInputCancellationPolicies,checkInDate:this.checkInDate,timezone:this.timezone}))}},methods:{formatDate(e){return d().f[2]++,d().s[6]++,new Date(e).toLocaleTimeString(this.$i18n.locale,{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}}}),p=h,f=t("4b7c"),b=Object(f["a"])(p,l,o,!1,null,null,null,!0);n["a"]=b.exports},"5b96":function(e,n,t){function l(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts",n="6cd6a0f51e8c512c28eb0bbdb35eb00e324f1db9",t=new Function("return this")(),o="__coverage__",i={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts",statementMap:{0:{start:{line:1,column:45},end:{line:17,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"6cd6a0f51e8c512c28eb0bbdb35eb00e324f1db9"},c=t[o]||(t[o]={});c[e]&&c[e].hash===n||(c[e]=i);var a=c[e];return l=function(){return a},a}t.d(n,"a",(function(){return o})),l();const o=(l().s[0]++,{cancellationPolicies:{required:!0,type:[String,Array]},checkInDate:{required:!0,type:String},initialDate:{type:String},timezone:{required:!0,type:String}})},"8d22":function(e,n,t){t.r(n);var l=t("e912");for(var o in l)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return l[e]}))}(o)},"92c6":function(e,n,t){var l=t("5ada");n["a"]=l["a"]},9720:function(e,n,t){t.d(n,"a",(function(){return i}));var l=t("5b96");function o(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.props.ts",n="bc008747a34291443a49ae76b8481d7aa915bc65",t=new Function("return this")(),l="__coverage__",i={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.props.ts",statementMap:{0:{start:{line:2,column:46},end:{line:5,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"bc008747a34291443a49ae76b8481d7aa915bc65"},c=t[l]||(t[l]={});c[e]&&c[e].hash===n||(c[e]=i);var a=c[e];return o=function(){return a},a}o();const i=(o().s[0]++,{...l["a"],tagClasses:{type:String}})},"9ed2":function(e,n,t){var l=function(){var e,n=this,t=n._self._c;n._self._setupProxy;return t("span",{staticClass:"d-inline-block"},[t("v-tooltip",{attrs:{attach:(null===(e=n.$el)||void 0===e?void 0:e.parent)||n.$el,"content-class":"text-left",disabled:!n.isTooltipEnabled,"open-delay":n.openDelay,top:""},scopedSlots:n._u([{key:"activator",fn:function({on:e,attrs:l}){return[t("v-chip",n._g(n._b({staticClass:"d-inline-block text-caption",style:{height:n.regular?void 0:"20px",cursor:n.isTooltipEnabled?"help":void 0},attrs:{label:"","x-small":!n.regular}},"v-chip",{...l,...n.$attrs},!1),e),[n.preIcon?t("v-icon",{attrs:{left:""}},[n._v(" "+n._s(n.preIcon)+" ")]):n._e(),n._t("default"),n.postIcon?t("v-icon",{staticClass:"ml-1",attrs:{right:""}},[n._v(" "+n._s(n.postIcon)+" ")]):n._e()],2)]}}],null,!0)},[n._t("tooltipContent",(function(){return[n._v(" "+n._s(n.tooltipContent)+" ")]}))],2)],1)},o=[],i=t("2a49");function c(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/ui/BTag/BTag.ts",n="8729393c75055e5f4cfe049f6989d61273cca7c2",t=new Function("return this")(),l="__coverage__",o={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/ui/BTag/BTag.ts",statementMap:{0:{start:{line:2,column:21},end:{line:8,column:1}},1:{start:{line:15,column:12},end:{line:15,column:190}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:13,column:8},end:{line:13,column:9}},loc:{start:{line:13,column:27},end:{line:16,column:9}},line:13}},branchMap:{0:{loc:{start:{line:15,column:20},end:{line:15,column:188}},type:"binary-expr",locations:[{start:{line:15,column:20},end:{line:15,column:97}},{start:{line:15,column:101},end:{line:15,column:188}}],line:15},1:{loc:{start:{line:15,column:23},end:{line:15,column:96}},type:"cond-expr",locations:[{start:{line:15,column:78},end:{line:15,column:84}},{start:{line:15,column:87},end:{line:15,column:96}}],line:15},2:{loc:{start:{line:15,column:23},end:{line:15,column:75}},type:"binary-expr",locations:[{start:{line:15,column:23},end:{line:15,column:58}},{start:{line:15,column:62},end:{line:15,column:75}}],line:15},3:{loc:{start:{line:15,column:104},end:{line:15,column:187}},type:"cond-expr",locations:[{start:{line:15,column:169},end:{line:15,column:175}},{start:{line:15,column:178},end:{line:15,column:187}}],line:15},4:{loc:{start:{line:15,column:104},end:{line:15,column:166}},type:"binary-expr",locations:[{start:{line:15,column:104},end:{line:15,column:149}},{start:{line:15,column:153},end:{line:15,column:166}}],line:15}},s:{0:0,1:0},f:{0:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"8729393c75055e5f4cfe049f6989d61273cca7c2"},i=t[l]||(t[l]={});i[e]&&i[e].hash===n||(i[e]=o);var a=i[e];return c=function(){return a},a}c();const a=(c().s[0]++,{postIcon:{type:String},preIcon:{type:String},regular:{type:Boolean},tooltipContent:{type:String},openDelay:{type:Number}});var s=i["a"].extend({name:"BTag",props:a,computed:{isTooltipEnabled(){var e,n;return c().f[0]++,c().s[1]++,c().b[0][0]++,c().b[2][0]++,!!(null===(e=this.tooltipContent)||(c().b[2][1]++,void 0===e)?void c().b[1][0]++:(c().b[1][1]++,e.length))||(c().b[0][1]++,c().b[4][0]++,!!(null===(n=this.$slots["tooltipContent"])||(c().b[4][1]++,void 0===n)?void c().b[3][0]++:(c().b[3][1]++,n.length)))}}}),r=s,u=t("4b7c"),m=t("d13c"),d=t.n(m),h=t("aaa0"),p=t("5ada"),f=t("5e0e");function b(e){var n=t("8d22");n.__inject__&&n.__inject__(e)}var g=Object(u["a"])(r,l,o,!1,b,"3b4c40ea",null,!0);n["a"]=g.exports;d()(g,{VChip:h["a"],VIcon:p["a"],VTooltip:f["a"]})},d406:function(e,n,t){var l=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("b-tag",{staticClass:"pr-1",attrs:{color:e.color,outlined:!e.isRefundable,"post-icon":"fa-circle-info","pre-icon":e.preIcon,"text-color":e.isRefundable?"white":void 0},scopedSlots:e._u([{key:"tooltipContent",fn:function(){return[n("div",[n("b",[e._v(e._s(e.$t("CancellationPoliciesBadge.cancellationPolicies")))])]),n("cancellation-policies-list",{attrs:{"cancellation-policies":e.sanitizedCancellationPolicies,"check-in-date":e.checkInDate,"initial-date":e.initialDate,timezone:e.timezone}})]},proxy:!0}])},[0===e.currentCancellationPolicy.penaltyPercentage?n("span",[e._v(" "+e._s(e.$t("CancellationPoliciesBadge.freeCancellationBefore"))+" ")]):100===e.currentCancellationPolicy.penaltyPercentage?n("span",[e._v(" "+e._s(e.$t("CancellationPoliciesBadge.nonRefundable"))+" ")]):n("span",[e._v(" "+e._s(e.$t("CancellationPoliciesBadge.partiallyRefundable"))+" ")])])},o=[],i=t("05ef"),c=t("de4e"),a=t("26a6"),s=t.n(a),r=t("02ba"),u=t.n(r),m=t("2a49"),d=t("57b9"),h=t("9ed2"),p=t("6337"),f=t("9720");function b(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.ts",n="70a11e651d8e1df915ddbc0f7d91a429a62d078e",t=new Function("return this")(),l="__coverage__",o={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesBadge/CancellationPoliciesBadge.ts",statementMap:{0:{start:{line:10,column:0},end:{line:10,column:18}},1:{start:{line:21,column:12},end:{line:28,column:13}},2:{start:{line:22,column:16},end:{line:27,column:17}},3:{start:{line:23,column:20},end:{line:23,column:65}},4:{start:{line:26,column:20},end:{line:26,column:30}},5:{start:{line:29,column:12},end:{line:29,column:45}},6:{start:{line:32,column:12},end:{line:37,column:16}},7:{start:{line:41,column:12},end:{line:43,column:13}},8:{start:{line:42,column:16},end:{line:42,column:34}},9:{start:{line:44,column:12},end:{line:46,column:13}},10:{start:{line:45,column:16},end:{line:45,column:26}},11:{start:{line:47,column:12},end:{line:47,column:36}},12:{start:{line:50,column:12},end:{line:50,column:58}},13:{start:{line:53,column:12},end:{line:53,column:177}},14:{start:{line:53,column:70},end:{line:53,column:133}},15:{start:{line:57,column:12},end:{line:57,column:165}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:20,column:8},end:{line:20,column:9}},loc:{start:{line:20,column:37},end:{line:30,column:9}},line:20},1:{name:"(anonymous_1)",decl:{start:{line:31,column:8},end:{line:31,column:9}},loc:{start:{line:31,column:40},end:{line:38,column:9}},line:31},2:{name:"(anonymous_2)",decl:{start:{line:39,column:8},end:{line:39,column:9}},loc:{start:{line:39,column:18},end:{line:48,column:9}},line:39},3:{name:"(anonymous_3)",decl:{start:{line:49,column:8},end:{line:49,column:9}},loc:{start:{line:49,column:16},end:{line:51,column:9}},line:49},4:{name:"(anonymous_4)",decl:{start:{line:52,column:8},end:{line:52,column:9}},loc:{start:{line:52,column:36},end:{line:54,column:9}},line:52},5:{name:"(anonymous_5)",decl:{start:{line:53,column:60},end:{line:53,column:61}},loc:{start:{line:53,column:70},end:{line:53,column:133}},line:53},6:{name:"(anonymous_6)",decl:{start:{line:55,column:8},end:{line:55,column:9}},loc:{start:{line:55,column:23},end:{line:58,column:9}},line:55}},branchMap:{0:{loc:{start:{line:21,column:12},end:{line:28,column:13}},type:"if",locations:[{start:{line:21,column:12},end:{line:28,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:21},1:{loc:{start:{line:33,column:33},end:{line:33,column:69}},type:"binary-expr",locations:[{start:{line:33,column:33},end:{line:33,column:49}},{start:{line:33,column:53},end:{line:33,column:69}}],line:33},2:{loc:{start:{line:41,column:12},end:{line:43,column:13}},type:"if",locations:[{start:{line:41,column:12},end:{line:43,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:41},3:{loc:{start:{line:41,column:17},end:{line:41,column:112}},type:"cond-expr",locations:[{start:{line:41,column:83},end:{line:41,column:89}},{start:{line:41,column:92},end:{line:41,column:112}}],line:41},4:{loc:{start:{line:41,column:17},end:{line:41,column:80}},type:"binary-expr",locations:[{start:{line:41,column:17},end:{line:41,column:63}},{start:{line:41,column:67},end:{line:41,column:80}}],line:41},5:{loc:{start:{line:44,column:12},end:{line:46,column:13}},type:"if",locations:[{start:{line:44,column:12},end:{line:46,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:44},6:{loc:{start:{line:44,column:17},end:{line:44,column:112}},type:"cond-expr",locations:[{start:{line:44,column:83},end:{line:44,column:89}},{start:{line:44,column:92},end:{line:44,column:112}}],line:44},7:{loc:{start:{line:44,column:17},end:{line:44,column:80}},type:"binary-expr",locations:[{start:{line:44,column:17},end:{line:44,column:63}},{start:{line:44,column:67},end:{line:44,column:80}}],line:44},8:{loc:{start:{line:50,column:19},end:{line:50,column:57}},type:"cond-expr",locations:[{start:{line:50,column:39},end:{line:50,column:48}},{start:{line:50,column:51},end:{line:50,column:57}}],line:50},9:{loc:{start:{line:53,column:20},end:{line:53,column:175}},type:"binary-expr",locations:[{start:{line:53,column:20},end:{line:53,column:134}},{start:{line:53,column:138},end:{line:53,column:175}}],line:53},10:{loc:{start:{line:57,column:20},end:{line:57,column:157}},type:"cond-expr",locations:[{start:{line:57,column:151},end:{line:57,column:153}},{start:{line:57,column:156},end:{line:57,column:157}}],line:57},11:{loc:{start:{line:57,column:20},end:{line:57,column:148}},type:"binary-expr",locations:[{start:{line:57,column:20},end:{line:57,column:131}},{start:{line:57,column:135},end:{line:57,column:148}}],line:57},12:{loc:{start:{line:57,column:26},end:{line:57,column:121}},type:"cond-expr",locations:[{start:{line:57,column:92},end:{line:57,column:98}},{start:{line:57,column:101},end:{line:57,column:121}}],line:57},13:{loc:{start:{line:57,column:26},end:{line:57,column:89}},type:"binary-expr",locations:[{start:{line:57,column:26},end:{line:57,column:72}},{start:{line:57,column:76},end:{line:57,column:89}}],line:57}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0],5:[0,0],6:[0,0],7:[0,0],8:[0,0],9:[0,0],10:[0,0],11:[0,0],12:[0,0],13:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"70a11e651d8e1df915ddbc0f7d91a429a62d078e"},i=t[l]||(t[l]={});i[e]&&i[e].hash===n||(i[e]=o);var c=i[e];return b=function(){return c},c}b(),b().s[0]++,Object(a["extend"])(u.a);var g=m["a"].extend({name:"CancellationPolicyBadge",components:{BTag:h["a"],CancellationPoliciesList:d["a"]},mixins:[Object(p["a"])("components/RevolugoElements/CancellationPoliciesBadge")],props:f["a"],computed:{parsedCancellationPolicies(){if(b().f[0]++,b().s[1]++,"string"===typeof this.cancellationPolicies){b().b[0][0]++,b().s[2]++;try{return b().s[3]++,JSON.parse(this.cancellationPolicies)}catch{return b().s[4]++,[]}}else b().b[0][1]++;return b().s[5]++,this.cancellationPolicies},sanitizedCancellationPolicies(){return b().f[1]++,b().s[6]++,Object(c["a"])(Object(i["c"])({bookingDatetime:(b().b[1][0]++,this.initialDate||(b().b[1][1]++,s()().format())),cancellationPolicies:this.parsedCancellationPolicies,checkInDate:this.checkInDate,timezone:this.timezone}))},preIcon(){var e,n;return b().f[2]++,b().s[7]++,0===(b().b[4][0]++,null===(e=this.currentCancellationPolicy)||(b().b[4][1]++,void 0===e)?void b().b[3][0]++:(b().b[3][1]++,e.penaltyPercentage))?(b().b[2][0]++,b().s[8]++,"fa-check"):(b().b[2][1]++,b().s[9]++,100===(b().b[7][0]++,null===(n=this.currentCancellationPolicy)||(b().b[7][1]++,void 0===n)?void b().b[6][0]++:(b().b[6][1]++,n.penaltyPercentage))?(b().b[5][0]++,b().s[10]++,""):(b().b[5][1]++,b().s[11]++,"fa-info-circle"))},color(){return b().f[3]++,b().s[12]++,this.isRefundable?(b().b[8][0]++,"success"):(b().b[8][1]++,"grey")},currentCancellationPolicy(){return b().f[4]++,b().s[13]++,b().b[9][0]++,this.sanitizedCancellationPolicies.find(e=>(b().f[5]++,b().s[14]++,s()().isBetween(s()(e.dateFrom),s()(e.dateTo))))||(b().b[9][1]++,this.sanitizedCancellationPolicies[0])},isRefundable(){var e,n;return b().f[6]++,b().s[15]++,b().b[11][0]++,(null!==(b().b[13][0]++,n=null===(e=this.currentCancellationPolicy)||(b().b[13][1]++,void 0===e)?void b().b[12][0]++:(b().b[12][1]++,e.penaltyPercentage))&&(b().b[11][1]++,void 0!==n)?(b().b[10][0]++,n):(b().b[10][1]++,0))<100}}}),v=g,_=t("4b7c"),y=Object(_["a"])(v,l,o,!1,null,null,null,!0);n["a"]=y.exports},de4e:function(e,n,t){t.d(n,"a",(function(){return E}));const l=e=>"object"===typeof e&&null!==e,o=e=>l(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),i=Symbol("mapObjectSkip"),c=(e,n,t,l=new WeakMap)=>{if(t={deep:!1,target:{},...t},l.has(e))return l.get(e);l.set(e,t.target);const{target:a}=t;delete t.target;const s=e=>e.map(e=>o(e)?c(e,n,t,l):e);if(Array.isArray(e))return s(e);for(const[r,u]of Object.entries(e)){const m=n(r,u,e);if(m===i)continue;let[d,h,{shouldRecurse:p=!0}={}]=m;"__proto__"!==d&&(t.deep&&p&&o(h)&&(h=Array.isArray(h)?s(h):c(h,n,t,l)),a[d]=h)}return a};function a(e,n,t){if(!l(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return c(e,n,t)}const s=/[\p{Lu}]/u,r=/[\p{Ll}]/u,u=/^[\p{Lu}](?![\p{Lu}])/gu,m=/([\p{Alpha}\p{N}_]|$)/u,d=/[_.\- ]+/,h=new RegExp("^"+d.source),p=new RegExp(d.source+m.source,"gu"),f=new RegExp("\\d+"+m.source,"gu"),b=(e,n,t,l)=>{let o=!1,i=!1,c=!1,a=!1;for(let u=0;u<e.length;u++){const m=e[u];a=!(u>2)||"-"===e[u-3],o&&s.test(m)?(e=e.slice(0,u)+"-"+e.slice(u),o=!1,c=i,i=!0,u++):i&&c&&r.test(m)&&(!a||l)?(e=e.slice(0,u-1)+"-"+e.slice(u-1),c=i,i=!1,o=!0):(o=n(m)===m&&t(m)!==m,c=i,i=t(m)===m&&n(m)!==m)}return e},g=(e,n)=>(u.lastIndex=0,e.replaceAll(u,e=>n(e))),v=(e,n)=>(p.lastIndex=0,f.lastIndex=0,e.replaceAll(f,(t,l,o)=>["_","-"].includes(e.charAt(o+t.length))?t:n(t)).replaceAll(p,(e,t)=>n(t)));function _(e,n){if("string"!==typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(n={pascalCase:!1,preserveConsecutiveUppercase:!1,...n},e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim(),0===e.length)return"";const t=!1===n.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(n.locale),l=!1===n.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(n.locale);if(1===e.length)return d.test(e)?"":n.pascalCase?l(e):t(e);const o=e!==t(e);return o&&(e=b(e,t,l,n.preserveConsecutiveUppercase)),e=e.replace(h,""),e=n.preserveConsecutiveUppercase?g(e,t):t(e),n.pascalCase&&(e=l(e.charAt(0))+e.slice(1)),v(e,l)}class y extends Map{constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"===typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"===typeof this.onEviction)for(const[n,t]of e)this.onEviction(n,t.value)}_deleteIfExpired(e,n){return"number"===typeof n.expiry&&n.expiry<=Date.now()&&("function"===typeof this.onEviction&&this.onEviction(e,n.value),this.delete(e))}_getOrDeleteIfExpired(e,n){const t=this._deleteIfExpired(e,n);if(!1===t)return n.value}_getItemValue(e,n){return n.expiry?this._getOrDeleteIfExpired(e,n):n.value}_peek(e,n){const t=n.get(e);return this._getItemValue(e,t)}_set(e,n){this.cache.set(e,n),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,n){this.oldCache.delete(e),this._set(e,n)}*_entriesAscending(){for(const e of this.oldCache){const[n,t]=e;if(!this.cache.has(n)){const l=this._deleteIfExpired(n,t);!1===l&&(yield e)}}for(const e of this.cache){const[n,t]=e,l=this._deleteIfExpired(n,t);!1===l&&(yield e)}}get(e){if(this.cache.has(e)){const n=this.cache.get(e);return this._getItemValue(e,n)}if(this.oldCache.has(e)){const n=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,n))return this._moveToRecent(e,n),n.value}}set(e,n,{maxAge:t=this.maxAge}={}){const l="number"===typeof t&&t!==Number.POSITIVE_INFINITY?Date.now()+t:void 0;return this.cache.has(e)?this.cache.set(e,{value:n,expiry:l}):this._set(e,{value:n,expiry:l}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const n=this.cache.delete(e);return n&&this._size--,this.oldCache.delete(e)||n}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const n=[...this._entriesAscending()],t=n.length-e;t<0?(this.cache=new Map(n),this.oldCache=new Map,this._size=n.length):(t>0&&this._emitEvictions(n.slice(0,t)),this.oldCache=new Map(n.slice(t)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[n,t]=e,l=this._deleteIfExpired(n,t);!1===l&&(yield[n,t.value])}for(const e of this.oldCache){const[n,t]=e;if(!this.cache.has(n)){const e=this._deleteIfExpired(n,t);!1===e&&(yield[n,t.value])}}}*entriesDescending(){let e=[...this.cache];for(let n=e.length-1;n>=0;--n){const t=e[n],[l,o]=t,i=this._deleteIfExpired(l,o);!1===i&&(yield[l,o.value])}e=[...this.oldCache];for(let n=e.length-1;n>=0;--n){const t=e[n],[l,o]=t;if(!this.cache.has(l)){const e=this._deleteIfExpired(l,o);!1===e&&(yield[l,o.value])}}}*entriesAscending(){for(const[e,n]of this._entriesAscending())yield[e,n.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const n of this.oldCache.keys())this.cache.has(n)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e,n=this){for(const[t,l]of this.entriesAscending())e.call(n,l,t,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const C=(e,n)=>e.some(e=>"string"===typeof e?e===n:(e.lastIndex=0,e.test(n))),x=new y({maxSize:1e5}),P=e=>"object"===typeof e&&null!==e&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),w=(e,n={})=>{if(!P(e))return e;const{exclude:t,pascalCase:l=!1,stopPaths:o,deep:i=!1,preserveConsecutiveUppercase:c=!1}=n,s=new Set(o),r=e=>(n,o)=>{if(i&&P(o)){const t=void 0===e?n:`${e}.${n}`;s.has(t)||(o=a(o,r(t)))}if(!t||!C(t,n)){const e=l?n+"_":n;if(x.has(e))n=x.get(e);else{const t=_(n,{pascalCase:l,locale:!1,preserveConsecutiveUppercase:c});n.length<100&&x.set(e,t),n=t}}return[n,o]};return a(e,r(void 0))};function E(e,n){return Array.isArray(e)?Object.keys(e).map(t=>w(e[t],n)):w(e,n)}},e912:function(e,n,t){},ee1a:function(e,n,t){t.r(n);var l=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("web-component-wrapper",[n("cancellation-policies-badge",e._b({},"cancellation-policies-badge",e.$props,!1))],1)},o=[],i=t("2a49"),c=t("9720"),a=t("d406"),s=t("9825");function r(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.ts",n="2fbd01f40d71e8d10ff0adcc1309eb7320d1f304",t=new Function("return this")(),l="__coverage__",o={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.ts",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"2fbd01f40d71e8d10ff0adcc1309eb7320d1f304"},i=t[l]||(t[l]={});i[e]&&i[e].hash===n||(i[e]=o);var c=i[e];return r=function(){return c},c}r();var u=i["a"].extend({components:{CancellationPoliciesBadge:a["a"],WebComponentWrapper:s["a"]},props:c["a"]}),m=u,d=t("4b7c"),h=Object(d["a"])(m,l,o,!1,null,null,null,!0);n["default"]=h.exports}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[36],{"0614":function(n,e,o){o.d(e,"a",(function(){return t}));var l=o("2a49");function a(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/mixins/dialog-attach.ts",e="ffd8e3dec069f5f83f0548b4f9fda09d61fdb504",o=new Function("return this")(),l="__coverage__",t={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/mixins/dialog-attach.ts",statementMap:{0:{start:{line:2,column:33},end:{line:23,column:2}},1:{start:{line:4,column:8},end:{line:6,column:10}},2:{start:{line:10,column:12},end:{line:10,column:37}},3:{start:{line:14,column:8},end:{line:16,column:11}},4:{start:{line:15,column:12},end:{line:15,column:36}},5:{start:{line:20,column:12},end:{line:20,column:79}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:3,column:4},end:{line:3,column:5}},loc:{start:{line:3,column:11},end:{line:7,column:5}},line:3},1:{name:"(anonymous_1)",decl:{start:{line:9,column:8},end:{line:9,column:9}},loc:{start:{line:9,column:24},end:{line:11,column:9}},line:9},2:{name:"(anonymous_2)",decl:{start:{line:13,column:4},end:{line:13,column:5}},loc:{start:{line:13,column:14},end:{line:17,column:5}},line:13},3:{name:"(anonymous_3)",decl:{start:{line:14,column:23},end:{line:14,column:24}},loc:{start:{line:14,column:29},end:{line:16,column:9}},line:14},4:{name:"(anonymous_4)",decl:{start:{line:19,column:8},end:{line:19,column:9}},loc:{start:{line:19,column:27},end:{line:21,column:9}},line:19}},branchMap:{},s:{0:0,1:0,2:0,3:0,4:0,5:0},f:{0:0,1:0,2:0,3:0,4:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"ffd8e3dec069f5f83f0548b4f9fda09d61fdb504"},c=o[l]||(o[l]={});c[n]&&c[n].hash===e||(c[n]=t);var r=c[n];return a=function(){return r},r}a();const t=(a().s[0]++,l["a"].extend({data(){return a().f[0]++,a().s[1]++,{dialogAttach:null}},computed:{$dialogAttach(){return a().f[1]++,a().s[2]++,this.dialogAttach}},mounted(){a().f[2]++,a().s[3]++,this.$nextTick(()=>{a().f[3]++,a().s[4]++,this.dialogAttachInit()})},methods:{dialogAttachInit(){a().f[4]++,a().s[5]++,this.dialogAttach=this.$root.$el.querySelector(".v-application")}}}))},"1df7":function(n,e,o){function l(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerBtn/LangPickerBtn.props.ts",e="119b184fc954ba60d9e3f3df64448eefe5ceaccc",o=new Function("return this")(),a="__coverage__",t={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerBtn/LangPickerBtn.props.ts",statementMap:{0:{start:{line:1,column:34},end:{line:10,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"119b184fc954ba60d9e3f3df64448eefe5ceaccc"},c=o[a]||(o[a]={});c[n]&&c[n].hash===e||(c[n]=t);var r=c[n];return l=function(){return r},r}o.d(e,"a",(function(){return a})),l();const a=(l().s[0]++,{dialog:{type:Boolean,default:!1},elevation:{type:[String,Number],default:0}})},"925e":function(n,e,o){o.r(e);var l=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("web-component-wrapper",[e("lang-picker-btn",n._b({},"lang-picker-btn",n.$props,!1))],1)},a=[],t=o("2a49"),c=o("1df7"),r=o("9f89"),i=o("9825");function s(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/web-components/LangPickerBtn/LangPickerBtn.ts",e="9f70b900a194efe71292df6c9ce8ad00b5f4b1a2",o=new Function("return this")(),l="__coverage__",a={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/web-components/LangPickerBtn/LangPickerBtn.ts",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"9f70b900a194efe71292df6c9ce8ad00b5f4b1a2"},t=o[l]||(o[l]={});t[n]&&t[n].hash===e||(t[n]=a);var c=t[n];return s=function(){return c},c}s();var u=t["a"].extend({components:{LangPickerBtn:r["a"],WebComponentWrapper:i["a"]},props:c["a"]}),m=u,d=o("4b7c"),g=Object(d["a"])(m,l,a,!1,null,null,null,!0);e["default"]=g.exports},"98da":function(n,e,o){var l=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("v-list",[e("v-toolbar",{attrs:{color:"white",elevation:"0"}},[e("h4",{staticClass:"grey--text text--darken-2"},[n._v(" "+n._s(n.$t("LangPicker.title"))+" ")]),n._t("toolbar-right")],2),n._l(Object.values(n.locales),(function(o){return e("v-list-item",{key:o.name,class:n.config.lang===o.code?"grey lighten-4":null,attrs:{link:""},on:{click:function(e){return n.onItemClick(o.code)}}},[e("v-avatar",[e("v-img",{attrs:{"max-height":"34","max-width":"34",src:`https://flagcdn.com/h60/${o.countryCode.toLowerCase()}.png`,srcset:`https://flagcdn.com/h80/${o.countryCode.toLowerCase()}.png 2x,\n https://flagcdn.com/h120/${o.countryCode.toLowerCase()}.png 3x`},on:{click:function(e){e.stopPropagation(),n.dialog=!0}}})],1),e("span",{class:n.config.lang===o.code?"font-weight-bold":""},[n._v(" "+n._s(o.name)+" ")])],1)}))],2)},a=[],t=o("f6d7"),c=o("2a49"),r=o("6337");function i(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPicker/LangPicker.ts",e="97abb6d15eeeddeb0bce370f641fe73c3c5f8379",o=new Function("return this")(),l="__coverage__",a={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPicker/LangPicker.ts",statementMap:{0:{start:{line:9,column:12},end:{line:9,column:39}},1:{start:{line:14,column:12},end:{line:14,column:34}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:8,column:8},end:{line:8,column:9}},loc:{start:{line:8,column:18},end:{line:10,column:9}},line:8},1:{name:"(anonymous_1)",decl:{start:{line:13,column:8},end:{line:13,column:9}},loc:{start:{line:13,column:26},end:{line:15,column:9}},line:13}},branchMap:{},s:{0:0,1:0},f:{0:0,1:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"97abb6d15eeeddeb0bce370f641fe73c3c5f8379"},t=o[l]||(o[l]={});t[n]&&t[n].hash===e||(t[n]=a);var c=t[n];return i=function(){return c},c}i();var s=c["a"].extend({name:"LangPicker",mixins:[Object(r["a"])("components/RevolugoElements/LangPicker")],computed:{locales(){return i().f[0]++,i().s[0]++,t["h"]}},methods:{onItemClick(n){i().f[1]++,i().s[1]++,this.updateLang(n)}}}),u=s,m=o("4b7c"),d=o("d13c"),g=o.n(d),f=o("a5a5"),h=o("5a6d"),p=o("57b8"),b=o("a591"),v=o("116c"),_=Object(m["a"])(u,l,a,!1,null,null,null,!0);e["a"]=_.exports;g()(_,{VAvatar:f["a"],VImg:h["a"],VList:p["a"],VListItem:b["a"],VToolbar:v["a"]})},"9f89":function(n,e,o){var l=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("v-btn",{class:"elevation-"+n.elevation,attrs:{color:"secondary",fab:"",outlined:"",text:"","x-small":""},on:{click:n.onClick}},[e("v-avatar",[e("v-img",{attrs:{"max-height":"28","max-width":"28",src:`https://flagcdn.com/h60/${n.locales[n.config.lang].countryCode.toLowerCase()}.png`,srcset:`https://flagcdn.com/h80/${n.locales[n.config.lang].countryCode.toLowerCase()}.png 2x,\n https://flagcdn.com/h120/${n.locales[n.config.lang].countryCode.toLowerCase()}.png 3x`}})],1),n.dialog?e("lang-picker-dialog",{model:{value:n.langPickerDialog,callback:function(e){n.langPickerDialog=e},expression:"langPickerDialog"}}):n._e()],1)},a=[],t=o("f6d7"),c=o("2a49"),r=o("fb5a"),i=o("0614"),s=o("1df7");function u(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerBtn/LangPickerBtn.ts",e="6e1ac4b1aa5d995a5e3e5387a86eb0361ba07ad2",o=new Function("return this")(),l="__coverage__",a={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerBtn/LangPickerBtn.ts",statementMap:{0:{start:{line:14,column:8},end:{line:16,column:10}},1:{start:{line:20,column:12},end:{line:20,column:39}},2:{start:{line:25,column:12},end:{line:27,column:13}},3:{start:{line:26,column:16},end:{line:26,column:45}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:13,column:4},end:{line:13,column:5}},loc:{start:{line:13,column:11},end:{line:17,column:5}},line:13},1:{name:"(anonymous_1)",decl:{start:{line:19,column:8},end:{line:19,column:9}},loc:{start:{line:19,column:18},end:{line:21,column:9}},line:19},2:{name:"(anonymous_2)",decl:{start:{line:24,column:8},end:{line:24,column:9}},loc:{start:{line:24,column:18},end:{line:28,column:9}},line:24}},branchMap:{0:{loc:{start:{line:25,column:12},end:{line:27,column:13}},type:"if",locations:[{start:{line:25,column:12},end:{line:27,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:25}},s:{0:0,1:0,2:0,3:0},f:{0:0,1:0,2:0},b:{0:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"6e1ac4b1aa5d995a5e3e5387a86eb0361ba07ad2"},t=o[l]||(o[l]={});t[n]&&t[n].hash===e||(t[n]=a);var c=t[n];return u=function(){return c},c}u();var m=c["a"].extend({name:"LangPickerBtn",components:{LangPickerDialog:r["a"]},mixins:[i["a"]],props:s["a"],data(){return u().f[0]++,u().s[0]++,{langPickerDialog:!1}},computed:{locales(){return u().f[1]++,u().s[1]++,t["h"]}},methods:{onClick(){u().f[2]++,u().s[2]++,this.dialog?(u().b[0][0]++,u().s[3]++,this.langPickerDialog=!0):u().b[0][1]++}}}),d=m,g=o("4b7c"),f=o("d13c"),h=o.n(f),p=o("a5a5"),b=o("a9c3"),v=o("5a6d"),_=Object(g["a"])(d,l,a,!1,null,null,null,!0);e["a"]=_.exports;h()(_,{VAvatar:p["a"],VBtn:b["a"],VImg:v["a"]})},fb5a:function(n,e,o){var l=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("v-dialog",{attrs:{attach:n.$dialogAttach,"max-width":"290"},model:{value:n.open,callback:function(e){n.open=e},expression:"open"}},[e("lang-picker",{scopedSlots:n._u([{key:"toolbar-right",fn:function(){return[e("v-spacer"),e("v-btn",{staticClass:"mx-1",attrs:{fab:"",icon:"",text:"","x-small":""},on:{click:function(e){n.open=!1}}},[e("v-icon",{attrs:{color:"dark"}},[n._v(" fa-times ")])],1)]},proxy:!0}])})],1)},a=[],t=o("2a49"),c=o("98da"),r=o("0614");function i(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerDialog/LangPickerDialog.props.ts",e="352574df703db94cc3daa8750b2968e5b0a31b79",o=new Function("return this")(),l="__coverage__",a={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerDialog/LangPickerDialog.props.ts",statementMap:{0:{start:{line:1,column:37},end:{line:5,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"352574df703db94cc3daa8750b2968e5b0a31b79"},t=o[l]||(o[l]={});t[n]&&t[n].hash===e||(t[n]=a);var c=t[n];return i=function(){return c},c}i();const s=(i().s[0]++,{value:{type:Boolean}});function u(){var n="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerDialog/LangPickerDialog.ts",e="0f5e301d656bbe0310c4d094cc4ce5d667812ccb",o=new Function("return this")(),l="__coverage__",a={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/LangPickerDialog/LangPickerDialog.ts",statementMap:{0:{start:{line:13,column:8},end:{line:15,column:10}},1:{start:{line:19,column:12},end:{line:21,column:13}},2:{start:{line:20,column:16},end:{line:20,column:34}},3:{start:{line:24,column:12},end:{line:24,column:37}},4:{start:{line:27,column:12},end:{line:27,column:28}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:12,column:4},end:{line:12,column:5}},loc:{start:{line:12,column:11},end:{line:16,column:5}},line:12},1:{name:"(anonymous_1)",decl:{start:{line:18,column:8},end:{line:18,column:9}},loc:{start:{line:18,column:27},end:{line:22,column:9}},line:18},2:{name:"(anonymous_2)",decl:{start:{line:23,column:8},end:{line:23,column:9}},loc:{start:{line:23,column:18},end:{line:25,column:9}},line:23},3:{name:"(anonymous_3)",decl:{start:{line:26,column:8},end:{line:26,column:9}},loc:{start:{line:26,column:19},end:{line:28,column:9}},line:26}},branchMap:{0:{loc:{start:{line:19,column:12},end:{line:21,column:13}},type:"if",locations:[{start:{line:19,column:12},end:{line:21,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:19}},s:{0:0,1:0,2:0,3:0,4:0},f:{0:0,1:0,2:0,3:0},b:{0:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"0f5e301d656bbe0310c4d094cc4ce5d667812ccb"},t=o[l]||(o[l]={});t[n]&&t[n].hash===e||(t[n]=a);var c=t[n];return u=function(){return c},c}u();var m=t["a"].extend({name:"LangPickerDialog",components:{LangPicker:c["a"]},mixins:[r["a"]],props:s,data(){return u().f[0]++,u().s[0]++,{open:this.value}},watch:{"config.lang"(n){u().f[1]++,u().s[1]++,n?(u().b[0][0]++,u().s[2]++,this.open=!1):u().b[0][1]++},open(n){u().f[2]++,u().s[3]++,this.$emit("input",n)},value(n){u().f[3]++,u().s[4]++,this.open=n}}}),d=m,g=o("4b7c"),f=o("d13c"),h=o.n(f),p=o("a9c3"),b=o("6a1c"),v=o("5ada"),_=o("eff4"),k=Object(g["a"])(d,l,a,!1,null,null,null,!0);e["a"]=k.exports;h()(k,{VBtn:p["a"],VDialog:b["a"],VIcon:v["a"],VSpacer:_["a"]})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[37],{"57b9":function(e,t,n){var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",[e._l(e.sanitizedCancellationPolicies,(function(n,i){return[t("section",{key:i},[0===i&&0===n.penaltyPercentage?[t("li",{staticClass:"success--text text--lighten-1",domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.freeCancellationBefore",{date:e.formatDate(n.dateTo)}))}})]:0===n.penaltyPercentage?[t("li",{staticClass:"success--text text--lighten-1",domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.freeCancellationBetween",{from:e.formatDate(n.dateFrom),to:e.formatDate(n.dateTo)}))}})]:100===n.penaltyPercentage&&i===e.cancellationPolicies.length-1?[t("li",{domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.nonRefundableAfter",{from:e.formatDate(n.dateFrom)}))}})]:[t("li",{domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.partiallyRefundableCondition",{percentage:n.penaltyPercentage,from:e.formatDate(n.dateFrom),to:e.formatDate(n.dateTo)}))}})]],2)]})),100!==e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length-1].penaltyPercentage?[t("li",{domProps:{innerHTML:e._s(e.$t("CancellationPoliciesList.nonRefundableAfter",{from:e.formatDate(e.sanitizedCancellationPolicies[e.sanitizedCancellationPolicies.length-1].dateTo)}))}})]:e._e()],2)},o=[],s=n("05ef"),a=n("de4e"),c=n("26a6"),l=n.n(c),r=n("2a49"),h=n("6337"),u=n("5b96");function p(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts",t="e9db3926314468e1e34ddb1b79005ffc20099087",n=new Function("return this")(),i="__coverage__",o={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.ts",statementMap:{0:{start:{line:13,column:12},end:{line:20,column:13}},1:{start:{line:14,column:16},end:{line:19,column:17}},2:{start:{line:15,column:20},end:{line:15,column:65}},3:{start:{line:18,column:20},end:{line:18,column:30}},4:{start:{line:21,column:12},end:{line:21,column:45}},5:{start:{line:24,column:12},end:{line:29,column:16}},6:{start:{line:34,column:12},end:{line:40,column:15}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:12,column:8},end:{line:12,column:9}},loc:{start:{line:12,column:42},end:{line:22,column:9}},line:12},1:{name:"(anonymous_1)",decl:{start:{line:23,column:8},end:{line:23,column:9}},loc:{start:{line:23,column:40},end:{line:30,column:9}},line:23},2:{name:"(anonymous_2)",decl:{start:{line:33,column:8},end:{line:33,column:9}},loc:{start:{line:33,column:24},end:{line:41,column:9}},line:33}},branchMap:{0:{loc:{start:{line:13,column:12},end:{line:20,column:13}},type:"if",locations:[{start:{line:13,column:12},end:{line:20,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:13},1:{loc:{start:{line:25,column:33},end:{line:25,column:69}},type:"binary-expr",locations:[{start:{line:25,column:33},end:{line:25,column:49}},{start:{line:25,column:53},end:{line:25,column:69}}],line:25}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},f:{0:0,1:0,2:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"e9db3926314468e1e34ddb1b79005ffc20099087"},s=n[i]||(n[i]={});s[e]&&s[e].hash===t||(s[e]=o);var a=s[e];return p=function(){return a},a}p();var d=r["a"].extend({name:"CancellationPoliciesList",mixins:[Object(h["a"])("components/RevolugoElements/CancellationPoliciesList")],props:u["a"],computed:{parsedInputCancellationPolicies(){if(p().f[0]++,p().s[0]++,"string"===typeof this.cancellationPolicies){p().b[0][0]++,p().s[1]++;try{return p().s[2]++,JSON.parse(this.cancellationPolicies)}catch{return p().s[3]++,[]}}else p().b[0][1]++;return p().s[4]++,this.cancellationPolicies},sanitizedCancellationPolicies(){return p().f[1]++,p().s[5]++,Object(a["a"])(Object(s["c"])({bookingDatetime:(p().b[1][0]++,this.initialDate||(p().b[1][1]++,l()().format())),cancellationPolicies:this.parsedInputCancellationPolicies,checkInDate:this.checkInDate,timezone:this.timezone}))}},methods:{formatDate(e){return p().f[2]++,p().s[6]++,new Date(e).toLocaleTimeString(this.$i18n.locale,{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})}}}),m=d,f=n("4b7c"),g=Object(f["a"])(m,i,o,!1,null,null,null,!0);t["a"]=g.exports},"5b96":function(e,t,n){function i(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts",t="6cd6a0f51e8c512c28eb0bbdb35eb00e324f1db9",n=new Function("return this")(),o="__coverage__",s={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/RevolugoElements/CancellationPoliciesList/CancellationPoliciesList.props.ts",statementMap:{0:{start:{line:1,column:45},end:{line:17,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"6cd6a0f51e8c512c28eb0bbdb35eb00e324f1db9"},a=n[o]||(n[o]={});a[e]&&a[e].hash===t||(a[e]=s);var c=a[e];return i=function(){return c},c}n.d(t,"a",(function(){return o})),i();const o=(i().s[0]++,{cancellationPolicies:{required:!0,type:[String,Array]},checkInDate:{required:!0,type:String},initialDate:{type:String},timezone:{required:!0,type:String}})},8306:function(e,t,n){n.r(t);var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("web-component-wrapper",[t("cancellation-policies-list",e._b({},"cancellation-policies-list",e.$props,!1))],1)},o=[],s=n("2a49"),a=n("5b96"),c=n("57b9"),l=n("9825");function r(){var e="/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/web-components/CancellationPoliciesList/CancellationPoliciesList.ts",t="d1027ab855968a84ec122c4d115ffe7c9ccf9a2e",n=new Function("return this")(),i="__coverage__",o={path:"/home/runner/work/revolugo/revolugo/libs/elements/core/src/components/web-components/CancellationPoliciesList/CancellationPoliciesList.ts",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"d1027ab855968a84ec122c4d115ffe7c9ccf9a2e"},s=n[i]||(n[i]={});s[e]&&s[e].hash===t||(s[e]=o);var a=s[e];return r=function(){return a},a}r();var h=s["a"].extend({components:{CancellationPoliciesList:c["a"],WebComponentWrapper:l["a"]},props:a["a"]}),u=h,p=n("4b7c"),d=Object(p["a"])(u,i,o,!1,null,null,null,!0);t["default"]=d.exports},de4e:function(e,t,n){n.d(t,"a",(function(){return E}));const i=e=>"object"===typeof e&&null!==e,o=e=>i(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),s=Symbol("mapObjectSkip"),a=(e,t,n,i=new WeakMap)=>{if(n={deep:!1,target:{},...n},i.has(e))return i.get(e);i.set(e,n.target);const{target:c}=n;delete n.target;const l=e=>e.map(e=>o(e)?a(e,t,n,i):e);if(Array.isArray(e))return l(e);for(const[r,h]of Object.entries(e)){const u=t(r,h,e);if(u===s)continue;let[p,d,{shouldRecurse:m=!0}={}]=u;"__proto__"!==p&&(n.deep&&m&&o(d)&&(d=Array.isArray(d)?l(d):a(d,t,n,i)),c[p]=d)}return c};function c(e,t,n){if(!i(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return a(e,t,n)}const l=/[\p{Lu}]/u,r=/[\p{Ll}]/u,h=/^[\p{Lu}](?![\p{Lu}])/gu,u=/([\p{Alpha}\p{N}_]|$)/u,p=/[_.\- ]+/,d=new RegExp("^"+p.source),m=new RegExp(p.source+u.source,"gu"),f=new RegExp("\\d+"+u.source,"gu"),g=(e,t,n,i)=>{let o=!1,s=!1,a=!1,c=!1;for(let h=0;h<e.length;h++){const u=e[h];c=!(h>2)||"-"===e[h-3],o&&l.test(u)?(e=e.slice(0,h)+"-"+e.slice(h),o=!1,a=s,s=!0,h++):s&&a&&r.test(u)&&(!c||i)?(e=e.slice(0,h-1)+"-"+e.slice(h-1),a=s,s=!1,o=!0):(o=t(u)===u&&n(u)!==u,a=s,s=n(u)===u&&t(u)!==u)}return e},_=(e,t)=>(h.lastIndex=0,e.replaceAll(h,e=>t(e))),b=(e,t)=>(m.lastIndex=0,f.lastIndex=0,e.replaceAll(f,(n,i,o)=>["_","-"].includes(e.charAt(o+n.length))?n:t(n)).replaceAll(m,(e,n)=>t(n)));function v(e,t){if("string"!==typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim(),0===e.length)return"";const n=!1===t.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t.locale),i=!1===t.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t.locale);if(1===e.length)return p.test(e)?"":t.pascalCase?i(e):n(e);const o=e!==n(e);return o&&(e=g(e,n,i,t.preserveConsecutiveUppercase)),e=e.replace(d,""),e=t.preserveConsecutiveUppercase?_(e,n):n(e),t.pascalCase&&(e=i(e.charAt(0))+e.slice(1)),b(e,i)}class y extends Map{constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"===typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"===typeof this.onEviction)for(const[t,n]of e)this.onEviction(t,n.value)}_deleteIfExpired(e,t){return"number"===typeof t.expiry&&t.expiry<=Date.now()&&("function"===typeof this.onEviction&&this.onEviction(e,t.value),this.delete(e))}_getOrDeleteIfExpired(e,t){const n=this._deleteIfExpired(e,t);if(!1===n)return t.value}_getItemValue(e,t){return t.expiry?this._getOrDeleteIfExpired(e,t):t.value}_peek(e,t){const n=t.get(e);return this._getItemValue(e,n)}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,t){this.oldCache.delete(e),this._set(e,t)}*_entriesAscending(){for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){const i=this._deleteIfExpired(t,n);!1===i&&(yield e)}}for(const e of this.cache){const[t,n]=e,i=this._deleteIfExpired(t,n);!1===i&&(yield e)}}get(e){if(this.cache.has(e)){const t=this.cache.get(e);return this._getItemValue(e,t)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,t))return this._moveToRecent(e,t),t.value}}set(e,t,{maxAge:n=this.maxAge}={}){const i="number"===typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.cache.has(e)?this.cache.set(e,{value:t,expiry:i}):this._set(e,{value:t,expiry:i}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this._entriesAscending()],n=t.length-e;n<0?(this.cache=new Map(t),this.oldCache=new Map,this._size=t.length):(n>0&&this._emitEvictions(t.slice(0,n)),this.oldCache=new Map(t.slice(n)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[t,n]=e,i=this._deleteIfExpired(t,n);!1===i&&(yield[t,n.value])}for(const e of this.oldCache){const[t,n]=e;if(!this.cache.has(t)){const e=this._deleteIfExpired(t,n);!1===e&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.cache];for(let t=e.length-1;t>=0;--t){const n=e[t],[i,o]=n,s=this._deleteIfExpired(i,o);!1===s&&(yield[i,o.value])}e=[...this.oldCache];for(let t=e.length-1;t>=0;--t){const n=e[t],[i,o]=n;if(!this.cache.has(i)){const e=this._deleteIfExpired(i,o);!1===e&&(yield[i,o.value])}}}*entriesAscending(){for(const[e,t]of this._entriesAscending())yield[e,t.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e,t=this){for(const[n,i]of this.entriesAscending())e.call(t,i,n,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const C=(e,t)=>e.some(e=>"string"===typeof e?e===t:(e.lastIndex=0,e.test(t))),x=new y({maxSize:1e5}),P=e=>"object"===typeof e&&null!==e&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),w=(e,t={})=>{if(!P(e))return e;const{exclude:n,pascalCase:i=!1,stopPaths:o,deep:s=!1,preserveConsecutiveUppercase:a=!1}=t,l=new Set(o),r=e=>(t,o)=>{if(s&&P(o)){const n=void 0===e?t:`${e}.${t}`;l.has(n)||(o=c(o,r(n)))}if(!n||!C(n,t)){const e=i?t+"_":t;if(x.has(e))t=x.get(e);else{const n=v(t,{pascalCase:i,locale:!1,preserveConsecutiveUppercase:a});t.length<100&&x.set(e,n),t=n}}return[t,o]};return c(e,r(void 0))};function E(e,t){return Array.isArray(e)?Object.keys(e).map(n=>w(e[n],t)):w(e,t)}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[4],{1861:function(e,t,i){i("c3d6"),i("d142");var s=i("a26a"),n=(i("bb54"),i("0f79")),o=i("739f"),l=Object(o["a"])(n["a"]).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(e,t){const{props:i}=t,s=parseInt(i.max,10),o=parseInt(i.value,10),l=s?`${o} / ${s}`:String(i.value),r=s&&o>s;return e("div",{staticClass:"v-counter",class:{"error--text":r,...Object(n["b"])(t)}},l)}}),r=l,a=i("8d40"),h=i("34c1"),u=i("2038"),d=i("2a49");function c(e){return d["a"].extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){h["a"].inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){h["a"].unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(t,i,s){if(this.isIntersecting=s,s)for(let n=0,o=e.onVisible.length;n<o;n++){const t=this[e.onVisible[n]];"function"!==typeof t?Object(u["c"])(e.onVisible[n]+" method is not available on the instance but referenced in intersectable mixin options"):t()}}}})}var p=i("68d1"),f=i("9734"),b=i("fa5f"),g=i("66c1"),v=i("f732"),m=i("db34");const $=Object(o["a"])(s["a"],c({onVisible:["onResize","tryAutofocus"]}),p["a"]),x=["color","file","time","date","datetime-local","week","month"];t["a"]=$.extend().extend({name:"v-text-field",directives:{resize:b["a"],ripple:g["a"]},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...s["a"].options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const e=f["a"].options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":e},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return s["a"].options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",this.lazyValue)}},isDirty(){var e;return(null===(e=this.lazyValue)||void 0===e?void 0:e.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||x.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let e=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(e-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:e,right:"auto"}:{left:"auto",right:e}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(e){this.lazyValue=e}},created(){this.$attrs.hasOwnProperty("box")&&Object(u["a"])("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&Object(u["a"])("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&Object(u["c"])("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(e){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const e=[];return this.$slots["append-outer"]?e.push(this.$slots["append-outer"]):this.appendOuterIcon&&e.push(this.genIcon("appendOuter")),this.genSlot("append","outer",e)},genPrependInnerSlot(){const e=[];return this.$slots["prepend-inner"]?e.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&e.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",e)},genIconSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","inner",e)},genInputSlot(){const e=s["a"].options.methods.genInputSlot.call(this),t=this.genPrependInnerSlot();return t&&(e.children=e.children||[],e.children.unshift(t)),e},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var e,t,i;if(!this.hasCounter)return null;const s=!0===this.counter?this.attrs$.maxlength:this.counter,n={dark:this.dark,light:this.light,max:s,value:this.computedCounterValue};return null!==(i=null===(t=(e=this.$scopedSlots).counter)||void 0===t?void 0:t.call(e,{props:n}))&&void 0!==i?i:this.$createElement(r,{props:n})},genControl(){return s["a"].options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const e={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(a["a"],e,this.$slots.label||this.label)},genLegend(){const e=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,t=this.$createElement("span",{domProps:{innerHTML:"​"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:Object(m["g"])(e)}},[t])},genInput(){const e=Object.assign({},this.listeners$);delete e.change;const{title:t,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(e,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const e=s["a"].options.methods.genMessages.call(this),t=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[e,t])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(e){return this.$createElement("div",{class:"v-text-field__"+e,ref:e},this[e])},onBlur(e){this.isFocused=!1,e&&this.$nextTick(()=>this.$emit("blur",e))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(e){if(!this.$refs.input)return;const t=Object(v["a"])(this.$el);return t?t.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,e&&this.$emit("focus",e))):void 0},onInput(e){const t=e.target;this.internalValue=t.value,this.badInput=t.validity&&t.validity.badInput},onKeyDown(e){e.keyCode===m["s"].enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",e)},onMouseDown(e){e.target!==this.$refs.input&&(e.preventDefault(),e.stopPropagation()),s["a"].options.methods.onMouseDown.call(this,e)},onMouseUp(e){this.hasMouseDown&&this.focus(),s["a"].options.methods.onMouseUp.call(this,e)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const e=Object(v["a"])(this.$el);return!(!e||e.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(e){this.hasColor=e,e?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}})},"49af":function(e,t,i){var s=i("2038"),n=i("2a49");t["a"]=n["a"].extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&Object(s["e"])("lazy",this)},methods:{showLazyContent(e){return this.hasContent&&e?e():[this.$createElement()]}}})},bb54:function(e,t,i){},d142:function(e,t,i){},f732:function(e,t,i){function s(e){if("function"!==typeof e.getRootNode){while(e.parentNode)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}i.d(t,"a",(function(){return s}))},fa5f:function(e,t,i){function s(e,t,i){const s=t.value,n=t.options||{passive:!0};window.addEventListener("resize",s,n),e._onResize=Object(e._onResize),e._onResize[i.context._uid]={callback:s,options:n},t.modifiers&&t.modifiers.quiet||s()}function n(e,t,i){var s;if(!(null===(s=e._onResize)||void 0===s?void 0:s[i.context._uid]))return;const{callback:n,options:o}=e._onResize[i.context._uid];window.removeEventListener("resize",n,o),delete e._onResize[i.context._uid]}const o={inserted:s,unbind:n};t["a"]=o}}]);
|