@revolugo/elements 5.23.3-rc.0 → 5.23.3

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/index.min.js CHANGED
@@ -8,33 +8,33 @@ When provided and successfully geocoded, this address is used as the center loca
8
8
 
9
9
  For sourcing availability within certain markets, a source market option may be used to get more accurate prices and to reduce booking errors.
10
10
 
11
- You may use any valid ISO Alpha-2 country code, e.g. JP`,name:"source-market",table:{defaultValue:{summary:"undefined"}}}};var _e=(e=>(e.HotelDescriptionViewDialog="HotelDescriptionViewDialog",e.HotelRoomOfferList="HotelRoomOfferList",e.HotelRoomOffersViewDialog="HotelRoomOffersViewDialog",e.RoomsDetails="RoomsDetails",e))(_e||{});const ja={HotelDescriptionViewDialog:!1,HotelRoomOfferList:!1,HotelRoomOffersViewDialog:!1,RoomsDetails:!0},On={FiltersBar:!0,HotelOfferSearchMenu:!1,TermsAndConditionsFooter:!0,HotelOfferItem:ja},so=`<div>**HotelDescriptionViewDialog**: Display the hotel description dialog when clicking on the hotel name,</div>
12
- <div>**HotelRoomOfferList**: Display the room offer list when clicking on the item (not applicable in some cases, e.g.: HotelOffersMap),</div>
13
- <div>**HotelRoomOffersViewDialog**: Display the room offers dialog when clicking on the hotel name or on the room offer item,</div>
14
- <div>**RoomDetails**: Display the room details on each Hotel Offer item</div>`,tb={...io,features:On,height:"600px",hotelOfferRequestId:"",limit:Ie},lo=`<div>**FiltersBar**: Display the filters bar at the top of the component,</div>
15
- <div>**HotelOfferSearchMenu**: Display the search menu at the top of the component,</div>
16
- <div>**TermsAndConditionsFooter**: Display the terms and conditions footer at the bottom of the component,</div>
17
- <div><ins>**HotelOfferItem**:</ins></div>
18
- <div style="padding-left: 20px">${so}</div>`,ib={...oo,features:{control:{type:"object"},description:`This object controls which features are enabled/disabled within the component. Set to true to enable a feature, false to disable it.
11
+ You may use any valid ISO Alpha-2 country code, e.g. JP`,name:"source-market",table:{defaultValue:{summary:"undefined"}}}};var _e=(e=>(e.HotelDescriptionViewDialog="HotelDescriptionViewDialog",e.HotelRoomOfferList="HotelRoomOfferList",e.HotelRoomOffersViewDialog="HotelRoomOffersViewDialog",e.RoomsDetails="RoomsDetails",e))(_e||{});const ja={HotelDescriptionViewDialog:!1,HotelRoomOfferList:!1,HotelRoomOffersViewDialog:!1,RoomsDetails:!0},On={FiltersBar:!0,HotelOfferSearchMenu:!1,TermsAndConditionsFooter:!0,HotelOfferItem:ja},so=`<p>**HotelDescriptionViewDialog**: Display the hotel description dialog when clicking on the hotel name,</p>
12
+ <p>**HotelRoomOfferList**: Display the room offer list when clicking on the item (not applicable in some cases, e.g.: HotelOffersMap),</p>
13
+ <p>**HotelRoomOffersViewDialog**: Display the room offers dialog when clicking on the hotel name or on the room offer item,</p>
14
+ <p>**RoomDetails**: Display the room details on each Hotel Offer item</p>`,tb={...io,features:On,height:"600px",hotelOfferRequestId:"",limit:Ie},lo=`<p>**FiltersBar**: Display the filters bar at the top of the component,</p>
15
+ <p>**HotelOfferSearchMenu**: Display the search menu at the top of the component,</p>
16
+ <p>**TermsAndConditionsFooter**: Display the terms and conditions footer at the bottom of the component,</p>
17
+ <p><ins>**HotelOfferItem**:</ins></p>
18
+ <p style="padding-left: 20px">${so}</p>`,ib={...oo,features:{control:{type:"object"},description:`This object controls which features are enabled/disabled within the component. Set to true to enable a feature, false to disable it.
19
19
 
20
20
  ***Available features***:
21
21
 
22
- ${lo}`,name:"features",table:{defaultValue:{summary:JSON.stringify(On,null,4)}}},height:{control:{type:"text"},description:"Height of the hotel offer list component expressed in any valid CSS unit (px, %, em, rem, vh, vw, etc.)",name:"height",table:{defaultValue:{summary:"600px"}}},hotelOfferRequestId:{control:{type:"text"},description:"id of a previously created **Hotel Offer Request**.<br />When provided, the combination of **adult-count/check-in-date/check-out-date/latitude/longitude** props takes precedence over any provided **hotel-offer-request-id** and a new **hotel-offer-request-id** will be created.",name:"hotel-offer-request-id",table:{defaultValue:{summary:"undefined"}}},limit:{control:{type:"number"},description:"Limit the number of Hotel Offers returned. Limit can range between 1 and 100.",table:{defaultValue:{summary:Ie}}}};var Ha=(e=>(e.FiltersMenu="FiltersMenu",e.LocationInput="LocationInput",e.SearchAreaButton="SearchAreaButton",e))(Ha||{});const an={FiltersMenu:!0,LocationInput:!0,SearchAreaButton:!0,HotelOfferItem:{[_e.HotelDescriptionViewDialog]:!1,[_e.HotelRoomOffersViewDialog]:!1,[_e.RoomsDetails]:!0}},ob={...io,features:an,height:"500px",limit:Ie,markers:[{latitude:48.8584,longitude:2.2945,icon:"tower-cell",pulse:!1,tooltip:"La tour Eiffel",size:80},{latitude:48.8606,longitude:2.3376,imgUrl:"https://via.placeholder.com/500"},{latitude:48.8421,longitude:2.322}],venue:{latitude:48.8508305,longitude:2.2844643,imgUrl:"https://via.placeholder.com/500",tooltip:"Venue tooltip",size:70}},co=`<div>**FiltersMenu**: Display the filters bar at the top of the component,</div>
23
- <div>**LocationInput**: Display the location input at the top of the component,</div>
24
- <div>**SearchAreaButton**: Display the search area button at the top of the component,</div>
25
- <div><ins> **HotelOfferItem**:</ins></div>
26
- <div style="margin-left: 20px;">
27
- ${so}</div>`,sb={...oo,features:{control:{type:"object"},description:`This object controls which features are enabled/disabled within the component. Set to true to enable a feature, false to disable it.
22
+ ${lo}`,name:"features",table:{defaultValue:{summary:JSON.stringify(On,null,4)}}},height:{control:{type:"text"},description:"Height of the hotel offer list component expressed in any valid CSS unit (px, %, em, rem, vh, vw, etc.)",name:"height",table:{defaultValue:{summary:"600px"}}},hotelOfferRequestId:{control:{type:"text"},description:"id of a previously created **Hotel Offer Request**.<br />When provided, the combination of **adult-count/check-in-date/check-out-date/latitude/longitude** props takes precedence over any provided **hotel-offer-request-id** and a new **hotel-offer-request-id** will be created.",name:"hotel-offer-request-id",table:{defaultValue:{summary:"undefined"}}},limit:{control:{type:"number"},description:"Limit the number of Hotel Offers returned. Limit can range between 1 and 100.",table:{defaultValue:{summary:Ie}}}};var Ha=(e=>(e.FiltersMenu="FiltersMenu",e.LocationInput="LocationInput",e.SearchAreaButton="SearchAreaButton",e))(Ha||{});const an={FiltersMenu:!0,LocationInput:!0,SearchAreaButton:!0,HotelOfferItem:{[_e.HotelDescriptionViewDialog]:!1,[_e.HotelRoomOffersViewDialog]:!1,[_e.RoomsDetails]:!0}},ob={...io,features:an,height:"500px",limit:Ie,markers:[{latitude:48.8584,longitude:2.2945,icon:"tower-cell",pulse:!1,tooltip:"La tour Eiffel",size:80},{latitude:48.8606,longitude:2.3376,imgUrl:"https://via.placeholder.com/500"},{latitude:48.8421,longitude:2.322}],venue:{latitude:48.8508305,longitude:2.2844643,imgUrl:"https://via.placeholder.com/500",tooltip:"Venue tooltip",size:70}},co=`<p>**FiltersMenu**: Display the filters bar at the top of the component,</p>
23
+ <p>**LocationInput**: Display the location input at the top of the component,</p>
24
+ <p>**SearchAreaButton**: Display the search area button at the top of the component,</p>
25
+ <p><ins> **HotelOfferItem**:</ins></p>
26
+ <p style="margin-left: 20px;">
27
+ ${so}</p>`,sb={...oo,features:{control:{type:"object"},description:`This object controls which features are enabled/disabled within the component. Set to true to enable a feature, false to disable it.
28
28
 
29
29
  ***Available features***:
30
30
 
31
- ${co}`,name:"features",table:{defaultValue:{summary:JSON.stringify(an,null,2)}}},height:{control:{type:"text"},description:"Height of the map component. Can be any valid css size, e.g. `500px` or `100%`. If not specified, the map will take the full height of its container, if specified.",name:"height",table:{defaultValue:{summary:"undefined"}}},limit:{control:{type:"number"},description:"Limit the number of Hotel Offers returned. Limit can range between 1 and 100.",table:{defaultValue:{summary:Ie}}},markers:{description:"Array of markers if you want to highlight special places around the event. Required prop: <b>lat, lng</b>",control:{type:"array"},table:{defaultValue:{summary:"[]"}}},venue:{control:{type:"object"},description:"Venue object to display a marker for the venue. Required prop: <b>lat, lng</b>",name:"venue",table:{defaultValue:{summary:"undefined"}}}},Bn={PreferencesMenu:!0,HotelOfferList:On,HotelOffersMap:{...an,[Ha.FiltersMenu]:!1}},lb={...fe(tb,["rounded"]),...fe(ob,["height"]),features:Bn},uo=`<div>**PreferencesMenu**: Display the filters bar at the top of the component,</div>
32
- <div><ins>**HotelOfferList**</ins>:</div>
33
- <div style="margin-left: 20px;">
34
- ${lo}</div>
35
- <div><ins> **HotelOffersMap**:</ins></div>
36
- <div style="margin-left: 20px;">
37
- ${co}</div>`,cb={...fe(ib,["limit","rounded"]),...fe(sb,["height","withFilters"]),features:{control:{type:"object"},description:`This object controls which features are enabled/disabled within the component. Set to true to enable a feature, false to disable it.
31
+ ${co}`,name:"features",table:{defaultValue:{summary:JSON.stringify(an,null,2)}}},height:{control:{type:"text"},description:"Height of the map component. Can be any valid css size, e.g. `500px` or `100%`. If not specified, the map will take the full height of its container, if specified.",name:"height",table:{defaultValue:{summary:"undefined"}}},limit:{control:{type:"number"},description:"Limit the number of Hotel Offers returned. Limit can range between 1 and 100.",table:{defaultValue:{summary:Ie}}},markers:{description:"Array of markers if you want to highlight special places around the event. Required prop: <b>lat, lng</b>",control:{type:"array"},table:{defaultValue:{summary:"[]"}}},venue:{control:{type:"object"},description:"Venue object to display a marker for the venue. Required prop: <b>lat, lng</b>",name:"venue",table:{defaultValue:{summary:"undefined"}}}},Bn={PreferencesMenu:!0,HotelOfferList:On,HotelOffersMap:{...an,[Ha.FiltersMenu]:!1}},lb={...fe(tb,["rounded"]),...fe(ob,["height"]),features:Bn},uo=`<p>**PreferencesMenu**: Display the filters bar at the top of the component,</p>
32
+ <p><ins>**HotelOfferList**</ins>:</p>
33
+ <p style="margin-left: 20px;">
34
+ ${lo}</p>
35
+ <p><ins> **HotelOffersMap**:</ins></p>
36
+ <p style="margin-left: 20px;">
37
+ ${co}</p>`,cb={...fe(ib,["limit","rounded"]),...fe(sb,["height","withFilters"]),features:{control:{type:"object"},description:`This object controls which features are enabled/disabled within the component. Set to true to enable a feature, false to disable it.
38
38
 
39
39
  ***Available features***:
40
40
 
@@ -62,5 +62,5 @@ You may use any valid ISO Alpha-2 country code, e.g. JP`,name:"source-market",ta
62
62
 
63
63
  ${Co}`,name:"features",table:{defaultValue:{summary:JSON.stringify(Pn,null,2)}}}},Va={HotelRoomOffersView:Pn,PrebookForm:rn};({...gb,...fe(go,["bookingId","bookingPolicyId","hotelRoomOffer"])});const pb=`>**HotelRoomOffersView**: ${Co}
64
64
 
65
- >**PrebookForm**: ${Ya}`;({...mb,...fe(mo,["bookingId","bookingPolicyId","hotelRoomOffer"]),features:(`${pb}`,JSON.stringify(Va,null,2))});const _o={bookingId:{type:String},bookingPolicyId:{type:String},hotelRoomOffer:{type:Object},adultCount:{type:Number},roomCount:{type:Number},checkInDate:{type:String},checkOutDate:{type:String},emailAddress:{default:"",type:String},features:{default:()=>rn,type:[Object,String]},firstName:{default:"",type:String},lastName:{default:"",type:String},nationality:{default:"",type:String},organizationName:{default:"",type:String},organizationAddress:{default:"",type:String},organizationCity:{default:"",type:String},organizationCountry:{default:"",type:String},organizationState:{default:"",type:String},organizationZipCode:{default:"",type:String},organizationVatNumber:{default:"",type:String},paymentMethods:{default:no.CreditCard,type:String},phoneCountry:{default:"FR",type:String},phoneNumber:{default:"",type:String},specialRequests:{default:"",type:String},title:{default:"",type:String}},vo={address:{type:String},adultCount:{type:Number},checkInDate:{required:!0,type:String},checkOutDate:{required:!0,type:String},children:{default:null,type:String},hotelOfferRequestId:{type:String},latitude:{required:!0,type:Number},longitude:{required:!0,type:Number},roomCount:{required:!0,type:Number},sourceMarket:{required:!0,type:String}},hb={...vo,features:{default:()=>On,type:[Object,String]},height:{default:"600px",type:[Number,String]},hotelRoomOffersLimit:{type:Number},loadingBarEnabled:{type:Boolean,default:!0},limit:{type:Number,default:Ie},maxHeight:{default:"90vh",type:[Number,String]},rounded:{type:Boolean,default:!0}},fb={...vo,features:{default:()=>an,type:[Object,String]},height:{default:"600px",type:[Number,String]},hoveredHotel:{type:String,default:""},limit:{type:Number,default:Ie},loadingBarEnabled:{type:Boolean,default:!0},maxHeight:{default:"90vh",type:[Number,String]},venue:{type:[String,Object]},markers:{type:[String,Array],default:()=>[]}};({...{...hb,...fb,features:{default:()=>Bn,type:[Object,String]}},...fe(_o,["bookingId"])});const Ao={adultCount:{type:Number},checkInDate:{required:!0,type:String},checkOutDate:{required:!0,type:String},children:{default:null,type:String},hotelId:{required:!0,type:String},hotelRoomOfferRequestId:{type:String},roomCount:{required:!0,type:Number},sourceMarket:{required:!0,type:String}},yb={...Ao,features:{default:()=>bo,type:[Object,String]},limit:{default:()=>0,type:Number}};({...{...Ao,...fe(yb,"features"),features:{default:()=>Pn,type:[Object,String]}},...fe(_o,["bookingId","bookingPolicyId","hotelRoomOffer"])},la.en_US),mt.LOCAL,rg.EUR.code,la.en_US;const bb=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),Cb=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),_b=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),vb=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),Ab=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),Sb=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),Mb=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),Db=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),zb=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),wb=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),Rb=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Tb=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Ob=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Bb=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Pb=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Eb=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Nb=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Lb=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Gb=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Kb=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"}),Za=Object.freeze({red:bb,pink:Cb,purple:_b,deepPurple:vb,indigo:Ab,blue:Sb,lightBlue:Mb,cyan:Db,teal:zb,green:wb,lightGreen:Rb,lime:Tb,yellow:Ob,amber:Bb,orange:Pb,deepOrange:Eb,brown:Nb,blueGrey:Lb,grey:Gb,shades:Kb});Za.red.accent3,Za.blue.lighten2,Za.green.base;const Ub=e=>{var n;window.RevolugoElements={...window.RevolugoElements,ready:t=>{var i;const o=(i=window.RevolugoElements)==null?void 0:i._ready;window.RevolugoElements._ready=()=>{o&&o(),t()}}};const a=document.createElement("script");a.src=e,a.type="module",a.async=!1;const[r]=document.querySelectorAll("script");return r?(n=r==null?void 0:r.parentNode)==null||n.insertBefore(a,r):document.head.append(a),a};(()=>{const e="https://cdn.jsdelivr.net/npm/@revolugo/elements@rc/dist/revolugo.min.js".replace("%V","5.23.3"),n=[...document.querySelectorAll("script")].find(a=>a.src.includes(e));return new Promise(a=>{if(n){a(!0);return}Ub(e).addEventListener("load",()=>{a(!0)})})})().catch(e=>console.error(e))});
65
+ >**PrebookForm**: ${Ya}`;({...mb,...fe(mo,["bookingId","bookingPolicyId","hotelRoomOffer"]),features:(`${pb}`,JSON.stringify(Va,null,2))});const _o={bookingId:{type:String},bookingPolicyId:{type:String},hotelRoomOffer:{type:Object},adultCount:{type:Number},roomCount:{type:Number},checkInDate:{type:String},checkOutDate:{type:String},emailAddress:{default:"",type:String},features:{default:()=>rn,type:[Object,String]},firstName:{default:"",type:String},lastName:{default:"",type:String},nationality:{default:"",type:String},organizationName:{default:"",type:String},organizationAddress:{default:"",type:String},organizationCity:{default:"",type:String},organizationCountry:{default:"",type:String},organizationState:{default:"",type:String},organizationZipCode:{default:"",type:String},organizationVatNumber:{default:"",type:String},paymentMethods:{default:no.CreditCard,type:String},phoneCountry:{default:"FR",type:String},phoneNumber:{default:"",type:String},specialRequests:{default:"",type:String},title:{default:"",type:String}},vo={address:{type:String},adultCount:{type:Number},checkInDate:{required:!0,type:String},checkOutDate:{required:!0,type:String},children:{default:null,type:String},hotelOfferRequestId:{type:String},latitude:{required:!0,type:Number},longitude:{required:!0,type:Number},roomCount:{required:!0,type:Number},sourceMarket:{required:!0,type:String}},hb={...vo,features:{default:()=>On,type:[Object,String]},height:{default:"600px",type:[Number,String]},hotelRoomOffersLimit:{type:Number},loadingBarEnabled:{type:Boolean,default:!0},limit:{type:Number,default:Ie},maxHeight:{default:"90vh",type:[Number,String]},rounded:{type:Boolean,default:!0}},fb={...vo,features:{default:()=>an,type:[Object,String]},height:{default:"600px",type:[Number,String]},hoveredHotel:{type:String,default:""},limit:{type:Number,default:Ie},loadingBarEnabled:{type:Boolean,default:!0},maxHeight:{default:"90vh",type:[Number,String]},venue:{type:[String,Object]},markers:{type:[String,Array],default:()=>[]}};({...{...hb,...fb,features:{default:()=>Bn,type:[Object,String]}},...fe(_o,["bookingId"])});const Ao={adultCount:{type:Number},checkInDate:{required:!0,type:String},checkOutDate:{required:!0,type:String},children:{default:null,type:String},hotelId:{required:!0,type:String},hotelRoomOfferRequestId:{type:String},roomCount:{required:!0,type:Number},sourceMarket:{required:!0,type:String}},yb={...Ao,features:{default:()=>bo,type:[Object,String]},limit:{default:()=>0,type:Number}};({...{...Ao,...fe(yb,"features"),features:{default:()=>Pn,type:[Object,String]}},...fe(_o,["bookingId","bookingPolicyId","hotelRoomOffer"])},la.en_US),mt.LOCAL,rg.EUR.code,la.en_US;const bb=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),Cb=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),_b=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),vb=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),Ab=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),Sb=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),Mb=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),Db=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),zb=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),wb=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),Rb=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Tb=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Ob=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Bb=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Pb=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Eb=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Nb=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Lb=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Gb=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Kb=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"}),Za=Object.freeze({red:bb,pink:Cb,purple:_b,deepPurple:vb,indigo:Ab,blue:Sb,lightBlue:Mb,cyan:Db,teal:zb,green:wb,lightGreen:Rb,lime:Tb,yellow:Ob,amber:Bb,orange:Pb,deepOrange:Eb,brown:Nb,blueGrey:Lb,grey:Gb,shades:Kb});Za.red.accent3,Za.blue.lighten2,Za.green.base;const Ub=e=>{var n;window.RevolugoElements={...window.RevolugoElements,ready:t=>{var i;const o=(i=window.RevolugoElements)==null?void 0:i._ready;window.RevolugoElements._ready=()=>{o&&o(),t()}}};const a=document.createElement("script");a.src=e,a.type="module",a.async=!1;const[r]=document.querySelectorAll("script");return r?(n=r==null?void 0:r.parentNode)==null||n.insertBefore(a,r):document.head.append(a),a};(()=>{const e="https://cdn.jsdelivr.net/npm/@revolugo/elements@%V/dist/revolugo.min.js".replace("%V","5.23.3"),n=[...document.querySelectorAll("script")].find(a=>a.src.includes(e));return new Promise(a=>{if(n){a(!0);return}Ub(e).addEventListener("load",()=>{a(!0)})})})().catch(e=>console.error(e))});
66
66
  //# sourceMappingURL=index.min.js.map