var language = {"dynamicdetail_room":"Room","Add-Ons":"Supplements","More":"more","dynamicsearch_lowestPrice":"Lowest Price","searchbox_childrenAge":"Children\u0027s age at the return date","MealPlan":"MealPlan","Agency name":"Agency name","New AgentID":"New AgentID","dynamicsearch_accommodationType":"Accommodation Type ","Back":"Back","Return":"Return","activating your account...":"activating your account...","e-mail address doesn\u0027t match":"e-mail address doesn\u0027t match","dynamicsearch_highestPrice":"Highest Price","dynamicdetail_selectTransfer":"Select Transfer","dynamicdetail_stop":"stop","payments":"Payments","Commission":"Commission","Your preference":"Your preference","Agent ID or e-mail":"agent id or e-mail","select":"select","City":"City","next":"next","dynamicFlight_selectFare":"Select Fare","dynamicdetail_flight":"Flight","Supplement":"supplement","Sign up an agent":"Sign up an agent","Agency sign up":"Agency sign up","searchbox_addRoom":"Add Room","price":"Price","searchbox_nights":"Nights","dynamicBook_yourPackage":"Your Package","Accommodation":"Accommodation","Package":"Package","select_pax":"select_pax","Create a new account":"create a new account","AddTransferForXAmount":"Add transfer for {0} amount","Ext":"ext","From":"from","dynamicsearch_inboundDirectFlight":"inbound direct flight","None":"none","dynamicsearch_accommodationCategory":"Category","Included":"Included","Property":"Property","Add":"Add","TripAdvisor Traveler Rating":"Tripadvisor Traveler Rating","dynamicFlight_selectFlight":"Select","dynamicdetail_to":"to","send password":"send password","Please enter your last name":"Please enter your last name","DateFormat":"MM-d yyyy","IATA number":"IATA number","Creator":"Creator","dynamicFlight_returnFlights":"Return Flights","Outbound":"outbound","Provide agency name":"Provide agency name","dynamicFlight_selectReturnFlight":"Select Return Flight","Filter":"filter","Reviews":"Reviews","Reservations":"Reservations","Hotel":"Hotel","Provide either your AgentID or e-mail address associated with your account":"provide either your agentid or e-mail address associated with your account","dynamicdetail_stops":"stops","name":"name","paid_to_date":"paid to date","Cancel":"Cancel","re-type signin_password":"re-type signin password","dynamicdetail_transfers":"Transfers","XResultsOutOfY":"{0} results out of {1}","close":"close","dynamicdetail_tripDetails":"Travel Details","Change your Agent ID":"Change your Agent ID","Package Total":"Package Total","all_locations":"all locations","dynamicsearch_arrivalAirports":"Arrival Airports","Update your AgentID":"Update your AgentID","Flight":"Flight","RoundTrip":"Roundtrip","enter frequent flyer number":"enter frequent flyer number","e-mail":"e-mail","Enter your current password":"Enter your current password","login_page_activation_title":"Account activation","dynamicFlight_fareOptions":"fare options","My Account":"My account","add":"Add","provide your password":"provide your password","no_voucher_with_us":"no voucher with us","Round Trip":"round trip","Confirmed":"Confirmed","dynamicsearch_stopCount":"{0} stop count","logout":"Logout","dynamicdetail_facility_indfee":"Some services shall be paid at the establishment","dynamicFlight_checkMessage":"dynamicFlight_checkMessage","Itinerary":"Itinerary","dynamicFlight_acceptPriceChange":"dynamicFlight_acceptPriceChange","dynamicdetail_direct":"direct","login_page_signin_title":"Sign In","update":"Update","Unlimited":"Unlimited","dynamicsearch_accommodationSegments":"Establishment profile","First Name":"First Name","dynamicsearch_directFlight":"Direct flight","create an account":"create an account","dynamicdetail_stopFlight":"stop flight","new_account_text":"Please enter your e-mail address and password you choose below. Password should be 6-20 characters long, no spaces allowed.","Sign in":"Sign in","Lead passenger":"Lead passenger","Installment Info":"Installment Info","no_payments_yet":"No payment received!","Fax number":"Fax number","account_activation_description":"if you have booking(s) with us but not yet registered, please enter e-mail which you have provided during your booking to complete your registration and be able to access your account page","Select at least one component to add":"Select at least one component to add","dynamicsearch_mealPlan":"Board","Title":"Title","Close":"close","Continue":"continue","Pay":"pay","Pax":"pax","dynamicdetail_select":"Select","WhereDoYouWantToGo":"WhereDoYouWantToGo","Golf":"Golf","dynamicdetail_facility_distances":"Distance","dynamicsearch_outboundDirectFlight":"outbound direct flight","ok":"ok","dynamicFlight_fares":"Fares","Current password":"Current password","dynamicdetail_flights":"Flights","searchbox_destination":"Destination","Memberships":"Memberships","continue":"continue","dynamicdetail_selectFlight":"Select Flight","Please enter your first name":"Please enter your first name","searchbox_done":"Done","send_forgot_password_message":"Please enter your registered e-mail address below, then press send password button. \u003cbr/\u003eYour new password will be sent to your e-mail address shortly.","GDPR_TEXT":"","buy_for":"Buy For","Agency":"Agency","dynamicdetail_roundTripFlight":"round trip flight","searchbox_durationOfStay":"Duration of Stay","Travelers":"Travelers","dynamicFlight_checkTitle":"dynamicFlight_checkTitle","Confirmation document":"Confirmation Document","Please retype e-mail address":"Please retype e-mail address","Cell phone number":"Cell phone number","Personal info":"Personal info","email":"email","Duration":"duration","no_reservation_with_us":"No reservation with us.","searchbox_selectRoom":"Select Room","Sign in as agent":"Sign in as agent","dynamicdetail_travelTime":"Travel time","reseting your password...":"reseting your password...","Zip":"Postal code","dynamicdetail_inboundFlight":"inbound flight","per_unit":"p/unit","dynamicFlight_validationFailed":"dynamicFlight_validationFailed","Paid by":"Paid by","dynamicdetail_waitingTime":"Waiting time","change":"Change","Booking date":"Booking date","Please enter the same password in both password boxes":"Please enter the same password in both password boxes","Sign up":"Sign Up","New password":"New password","You did not select baggage supplements for travellers below":"You did not select baggage supplements for travellers below","Phone":"Phone","MoneyFormat":"{0:#,##0}","login_page_signup_title":"Sign Up","Your memberships":"Your memberships","dynamicsearch_stars":"Stars","dynamicdetail_outboundFlight":"outbound flight","Loading":"Loading","Transfer":"Transfer","Night":"night","View my reservation":"View my reservation","Nights":"nights","Register to newsletter":"Register to newsletter","Country":"Country","dynamicsearch_outbound":"Outbound","Room":"Room","Last Name":"Last Name","hotels":"Hotels","Birth Date":"birth date","Provide e-mail address":"Provide e-mail address","Denotes required field":"Denotes required field","searchbox_selectDate":"Select Date","dynamic_hotel_amenities":"Amenities","Surname":"Surname","searchbox_child":"Child","save":"save","Your name":"Your name","balance_due":"balance due","Password should not contain space":"Password should not contain space","select_date":"Select Date","e-mail address":"e-mail address","Your reservations":"Your reservations","signin_email":"E-mail","AddSupplement":"AddSupplement","Out of stock":"Out of stock","Paid":"paid","price_from_pp":"price_from_pp","hotel_resort":"resort","dynamicsearch_resortName":"Resort","dynamicdetail_transfer":"Transfer","Start date":"Start date","Inbound":"inbound","dynamicsearch_recommended":"Recommended","Pricing":"Pricing","provide your e-mail address and password":"provide your e-mail address and password","send_forgot_password":"Send my password/Forgot Password","Frequent flyer number":"Frequent flyer number","GreenFee":"Greenfee","Please enter your e-mail address":"Please enter your e-mail address","Remove":"remove","No Supplement":"No Supplement","First name required":"First name required","pending_payment":"pending_payment","Total Price":"Total price","Activate my account":"Activate my account","add membership":"add membership","Please enter e-mail address":"please enter e-mail address","State":"State","Update":"Update","Please select your zip code":"Please select your zip code","Supplements":"supplements","provide your AgentID and password":"provide your agentid and password","dynamicFlight_returnFLightOptions":"return flight options","signin_password":"Password","Payment Form":"Payment form","dynamicsearch_byName":"By Name","dynamicdetail_from":"from","TimeFormat":"hh:mm tt","dynamicFlight_priceChanged":"dynamicFlight_priceChanged","continue_as_guest_e":"continue booking without registration","installments":"Installments","Current_Balance":"Current Balance","Your personal information":"your personal information","searchbox_children":"Children","Voucher":"Voucher","Reservation number":"Reservation number","searchbox_adult":"Adult","Number":"number","searchbox_room":"Room","provide your AgentID":"provide your AgentID","dynamicdetail_perNight":"per night","dynamicFlight_changeFlight":"Change Flight","Retype e-mail":"Retype e-mail","dynamicdetail_noTransfer":"No Transfer","Agency reservations":"Agency reservations","Frequent flyer":"Frequent flyer","dynamicdetail_map":"Map","Provide your name":"Provide your name","_where_from_":"Departure Airport","Continue as guest":"Continue as guest","Agent sign up":"Agent sign up","Price":"Price","all_destinations":"all destinations","complete_for_signup":"You have not registered with us earlier and this is your first attempt. OK, very good… then please fill in the following information:","MessageSent":"MessageSent","date":"date","dynamicFlightCheck_validateError":"Selected flight is changed. Please select a new one.","GreenFees":"GreenFees","Amount":"amount","dynamicFlight_departureFlights":"Departure Flights","golfclubs":"golfclubs","Departure":"departure","Please enter valid phone number":"please enter valid phone number","NoAllocationLeftForXDate":"No allocation left for {0}","searchbox_origin":"Origin","Preferences":"Preferences","select_property":"select_property","dynamicdetail_samePrice":"Same price","dynamicdetail_hotelInformation":"Hotel Information","Retype new password":"Retype new password","dynamicdetail_perPerson":"per person","Provide new AgentID. AgentID must consist of at least 8 alphanumeric characters.":"Provide new AgentID. AgentID must consist of at least 8 alphanumeric characters.","frequent flyer number":"Frequent flyer number","Provide phone number":"Provide phone number","Change password":"Change password","Book Now":"book now","dynamicdetail_included":"Included","Home/work phone":"Home/work phone","Total amount":"Total amount","dynamicsearch_header":"Displaying {0} hotels","dynamicFlight_selectDepartureFlight":"Select Departure Flight","dynamicdetail_facility_interestpoint":"Tourist Attractions","Please enter your current password":"Please enter your current password","not_need_for":"Not Need For","Gender":"Gender","Total":"Total","dynamicdetail_stopsFlight":"stops flight","dynamicdetail_oneWayFlight":"one-way flight","Date":"date","dynamicdetail_directFlight":"Direct flight","dynamicFlight_tryAnotherItinerary":"dynamicFlight_tryAnotherItinerary","dynamicsearch_duration":"Duration","Requested":"Requested","To":"to","dynamicsearch_hotelName":"Hotel Name","Status":"Status","Done":"Done","Mandatory supplement":"Mandatory supplement","remember me":"Remember me","Address":"Address","Change e-mail address":"Change e-mail address","dynamicFlight_selectedFlight":"Selected Flight","Book":"book","dynamicsearch_inbound":"Inbound","dynamic_hotel_rooms":"rooms","per_person":"per person price","Minimum password lenght allowed is 6 characters":"Minimum password lenght allowed is 6 characters","You did not select golf supplements for golfers below":"You did not select golf supplements for golfers below","dynamicdetail_nights":"nights","dynamicsearch_nightCount":"{0} nights"}; var deadlanguage = ["Login"]; if (typeof Vue != "undefined") { Vue.prototype.language = window.language ? window.language : {}; } language.date = function (value) { var d = value; if (typeof value == "string") d = new Date(value); return kendo.toString(d, language.DateFormat); }; language.time = function (value) { var d = value; if (typeof value == "string") d = new Date(value); return kendo.toString(d, language.TimeFormat); }; language.capitilizeFirstLetter = function (value) { return value.charAt(0).toUpperCase() + value.slice(1); }; language.capitilizeLetters = function (value) { const arr = value.split(" "); for (var i = 0; i < arr.length; i++) { arr[i] = arr[i].charAt(0).toUpperCase() + arr[i].slice(1); } return arr.join(" "); }; language.currencyFormatter = function (value, properties) { var formatter = Intl.NumberFormat("en-US", Object.assign({ style: "currency", currency: "USD" }, properties)); return formatter.format(value) }; language.vinetDates = { days: ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], daysShort: ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"], months: ["January","February","March","April","May","June","July","August","September","October","November","December"], monthsShort: ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"], };