Blog
4×4 rent a car

4×4 rent a car


200&&(c=c.substring(0,Math.min(c.length,200))+”…”),i.withScope(function(e){e.setTag(“logger”,n),e.setExtra(“jQueryEvent”,c),i.captureException(a)})}else i.withScope(function(e){e.setTag(“logger”,n),i.captureException(r)})}else o&&setTimeout(function(){t(e,r,n,!1)},1e4)}function n(){require([“ta/util/Error”],function(r){for(;g.length;){var n=g.shift();n.msg.match(/(^|[^w.])ta .*defin/)||(r.record(n.error,”window.onerror:: “+n.msg,n.evt,n.data,e(n.error),{isglobal:!0}),t(n.msg,n.error,”PageLoad”,!0))}s=!0})}function o(){l=null,E=!1,d=u=null}function i(e,t,n,i,a,c){var f=c&&c.target;if(E){if((!d||a&&a.stack)&&(d=a),!w)try{w=arguments.callee}catch(e){}l?f=l:(!f||u&&f==window)&&(f=u),r(e,t,n,i,d,{target:f,callee:w}),o()}else{d=a,E=!0,u=f;try{w=arguments.callee}catch(e){}}}function a(e){e=e||window.event,i(e.message,e.filename,e.lineno,e.colno,e.error||e,e)}function c(e){e=e||window.event,l=e.target||e.srcElement,f&&clearTimeout(f),f=setTimeout(function(){f=0,l=null},1)}var d,u,l,w,f,s=!1,g=[],E=!1;window.__scriptLoadError=function(e,r){if(e instanceof HTMLScriptElement){var t=e.getAttribute(“data-rup”);if(t){r&&window.define&&window.define(t,[],function(){return{}});var n=new Error(“Error loading script tag for: “+t);throw n.level=”WARN”,n}}},window.onerror=function(e,r,t,n,o){return i(e,r,t,n,o,window.event),!window.IS_DEBUG},window.addEventListener?(window.addEventListener(“error”,a,!1),window.addEventListener(“click”,c,!0),window.addEventListener(“load”,n)):window.attachEvent&&(window.attachEvent(“onerror”,a),document.attachEvent(“onmouseup”,c),window.attachEvent(“onload”,n))}(); !function(){var e,n,t=0,a=5e3;window.uiOverlay=function(l){if(document.readyState in{complete:1,loaded:1}){var i=arguments;require([“trjs!overlays/uiOverlay”],function(e){e.apply(null,i)})}else document.addEventListener&&(e=[].slice.call(arguments),t=(new Date).getTime(),n||(n=!0,document.addEventListener(“DOMContentLoaded”,function(){Date.now()-t0;)define.apply(e,t.d.shift());for(;t.r.length>0;)require.apply(e,t.r.shift());e.getRequireJSQueue=null}l&&+new Date-i<5e3&&a.apply(e,l)}if(!e||!e.requireCallLast){var l,i,u=!1,a=e.requireCallLast=function(e,r){l=null;var a=[].slice.call(arguments,2);t(e)?n(require(e),r,a):t("trjs")?require(["trjs!"+e],function(e){n(e,r,a)}):u||(i=+new Date,l=[].slice.call(arguments))},c=e.requireCallIfReady=function(n){t(n)&&a.apply(e,arguments)},o=function(t,n,r,l){var i=c;return!r||"click"!==r.type&&"submit"!==r.type||(i=a,r.preventDefault&&r.preventDefault()),l.unshift(n),l.unshift(t),i.apply(e,l),!1};e.remoteModule=function(e,t){return o("remoteModule",null,e,[].slice.call(arguments))},e.requireEvCall=function(e,t,n,r){return e=e.match(/^((?:[^/]+/)*[^/.]+).([^/]*)?$/),o(e[1],e[2],t,[].slice.call(arguments,1))},e.widgetEvCall=function(e,t,n,r){return o("ta/prwidgets","call",t,[].slice.call(arguments))},e.placementEvCall=function(e,t,n,r,l){return o("ta/p13n/placements","evCall",n,[].slice.call(arguments))},document.addEventListener?document.addEventListener("DOMContentLoaded",r):e.addEventListener?e.addEventListener("load",r):e.attachEvent&&e.attachEvent("onload",r)}}(window); ]]> 4×4 rent a car – Costa Rica Forum – Tripadvisor Privacy Policy.”; var JS_coppa_deleted = “Your account has been deleted.”; var JS_close = “Close”; var JS_close_image = “https://static.tacdn.com/img2/buttons/closeButton.gif”; var JS_CHANGES_SAVED = “Changes saved”; var JS_community_on = “Community has been enabled”; var lang_Close = JS_close; var JS_UpdatingYourResults = “Updating your results …”; var JS_OwnerPhoto_heading = “Thank you for submitting your request to Tripadvisor. “; var JS_OwnerPhoto_subheading = “We process most listings and changes within 5 business days. “; var JS_OwnerPhoto_more = “Add more photos to your listing”; var JS_OwnerPhoto_return = “Return to your Owner’s Center”; var JS_NMN_Timeout_title = “Do you want to keep trying?”; var JS_NMN_Timeout_msg = “It is taking longer than expected to get your location.”; var JS_NMN_Error_title = “Location error”; var JS_NMN_Error_msg = “There has been an error in trying to determine your location”; var JS_KeepTrying = “Keep Trying”; var JS_TryAgain = “Try Again”; var js_0001 = “Please select at least one vendor from the list.”; var js_0002 = “Please choose dates in the future.”; var js_0003 = “Please choose a check-out date that is at least one day later than your check-in date.”; var js_0004 = “Please choose dates that are less than 330 days away.”; var js_0005 = “Searching for deals … this may take a few moments”; var js_0006 = “Your selections have not changed.”; var js_0010 = “Please click again to open each window or adjust browser settings to disable popup blockers.”; var js_0011 = “Update”; var js_0012 = “Show next offer”; var js_0013 = “Please click the “Check Rates!” button above to open each window.”; var js_0014 = ‘Opens one window for each offer. Please disable pop-up blockers.’; var js_0015 = ‘Compare prices’; var js_invalid_dates_text = “The dates entered are invalid. Please correct your dates and search again.”; var js_invalid_dates_text_new = “Please enter dates to check rates”; var js_invalid_dates_text_new2 = “Please enter dates to show prices”; var qcErrorImage = ‘‘; var selectedHotelName = “”; var cr_loc_vend = ‘https://static.tacdn.com/img2/checkrates/cr.gif’; var cr_loc_vend_ch = ‘https://static.tacdn.com/img2/checkrates/cr_check.gif’; var cr_loc_logo = ‘https://static.tacdn.com/img2/checkrates/logo.gif’; var cd_loc_vend = ‘https://static.tacdn.com/img2/checkrates/cd.png’; var cd_loc_vend_ch = ‘https://static.tacdn.com/img2/checkrates/cd_check.png’; var JS_Any_Date = “Any Date”; var JS_Update_List = “Update List”; var sNexusTitleMissing = “The title must be populated”; var JS_Challenge=”Challenge”; var JS_TIQ_Level=”Level”; var JS_TIQ=”Travel IQ”; var JS_TIQ_Pts=”pts”; var RATING_STRINGS = [ “Click to rate”, “Terrible”, “Poor”, “Average”, “Very Good”, “Excellent” ]; var overlayLightbox = false; if(“” != “”) { overlayLightbox = true; } var isTakeOver = false; var overlayOptions = “”; var overlayBackupLoc = “”; var gmapDomain = “maps.google.com”; var mapChannel = “ta.desktop.showtopic”; var bingMapsLang = “en”.toLowerCase(); var bingMapsCountry = “US”.toLowerCase(); var bingMapsBaseUrl = “http://www.bing.com/maps/default.aspx?cc=us&”; var googleMapsBaseUrl = “http://maps.google.com/?”; var yandexMapsBaseUrl = “http://maps.yandex.com”; var serverPool = “X”; var posLocale = “en_US”; var cssPhotoViewerAsset = “https://static.tacdn.com/css2/build/concat/photos_with_inline_review-v22858779083a.css”; var cssAlbumViewerExtendedAsset = “https://static.tacdn.com/css2/build/concat/media_albums_extended-v23775176461a.css”; var jsPhotoViewerAsset = ‘https://static.tacdn.com/js3/src/ta/photos/Viewer-v23776172971a.js’; var jsAlbumViewerAsset = [“https://static.tacdn.com/js3/build/concat/album_viewer-c-v21720198776a.js”]; var jsAlbumViewerExtendedAsset = [“https://static.tacdn.com/js3/build/concat/media_albums_extended-c-v21319642680a.js”]; var cssInlinePhotosTabAsset = “https://static.tacdn.com/css2/build/concat/photo_albums_stacked-v24123383951a.css”; var cssPhotoLightboxAsset = “https://static.tacdn.com/css2/build/concat/photo_albums-v2231729968a.css”; var jsDesktopBackboneAsset = [“https://static.tacdn.com/js3/build/concat/desktop_modules_modbone-c-v21048715873a.js”]; var jsPhotoViewerTALSOAsset = ‘https://static.tacdn.com/js3/src/TALSO-v21232481152a.js’; ]]>=0&&o1e12?new Date:performance.now())-t.timeStamp;”pointerdown”==t.type?function(t,o){function i(){p(t,o),r()}function c(){r()}function r(){e(a,i,f),e(u,c,f)}n(a,i,f),n(u,c,f)}(o,t):p(o,t)}}function w(n){[“click”,”mousedown”,”keydown”,”touchstart”,”pointerdown”].forEach(function(e){n(e,l,f)})}w(n),self.perfMetrics=self.perfMetrics||{},self.perfMetrics.onFirstInputDelay=function(n){c.push(n),s()}}(addEventListener,removeEventListener);]]>“}”,”pageServlet”:”ShowTopic”,”sessionId”:”AB21E6DD0D5A4378A709BF391A1C32FB”,”cdnHost”:”https://static.tacdn.com”,”quickSave”:true,”isExternalReferral”:true,”useERUserTracking”:true,”cookieDomain”:”.tripadvisor.com”,”uid”:”YB8iCQokHHQAAcAaD74AAABD”,”hasReferral”:true,”posLocale”:”en_US”,”MEDIA_HTTP_BASE”:”https://media-cdn.tripadvisor.com/media/”,”user_id”:””,”loggedIn”:false,”securelyLoggedIn”:false},”DUST_GLOBAL”:{“IS_IELE8″:false,”LOCALE”:”en_US”,”IS_IE10″:false,”CDN_HOST”:”https://static.tacdn.com”,”DEVICE”:”desktop”,”IS_RTL”:false,”LANG”:”en”,”DEBUG”:false,”READ_ONLY”:false,”POS_COUNTRY”:191},”JS_SECURITY_TOKEN”:”TNI1625!AEN78yP2xlwYfJUUDiG7VKc6eaWm1NnwccUWViPYBgdEzQKpOL+u406motFIzpYf6o+zPeEaQ6o8jncmjJNjRR+tu1NE5LQ9Q8R5+BrsGEUL6/rcR2jm2YxCVceGG+IqeU/4U8dMXKJYXzuTuOzjtf/whiH+QzdAYkrzLdJ+m5jB”,”GEO_ID”:”291982″,”hotelsInGeo”:”978″,”LOC_ID”:”291982″,”isMobile”:false,”isRtl”:false}; return model; }); } ]]>

!!x).forEach(x => {x.classList.add(‘skyExpanded’);});} else {setTimeout(()=>{document.querySelectorAll(‘#LEADER_BOARD_SKY_STYLE’).forEach(x=>{x.innerHTML=””;});}, 300);}}});});})();]]> 1) { postId = window.location.hash.substring(1); var thisPostIndex = parseInt(postIndex[postId]); if (!isNaN(thisPostIndex) && thisPostIndex !=0 ) { if ( postSortOrder == “newFirst”) { correctOffset = parseInt((numReplies – thisPostIndex) / 10) * 10; } else { correctOffset = parseInt((thisPostIndex-1) / 10) * 10; } if (correctOffset != 0) { window.location = require(‘ta/util/Doer’).tadoless(‘ShowTopic’, {g: ‘291982’, i: ‘813’, k: ‘10021669’, o: ’99’}, [‘4x4_rent_a_car’, ‘Costa_Rica’],”).replace(“-o99-“,”-o”+correctOffset+”-“) + “#”+postId; } } } ]]>

Hi everyone,

We are traveling to Costa Rica soon, and have reserved a car through 4×4 rent a car (http://4x4rentacar.com/) run by Luis Diego Siles. We have seen a few good reviews for this company (but from people with only a few tripadvisor posts). We have also seen bad reviews for Dean’s 4×4 and rent a 4×4, and are unclear about whether these are three separate companies?

If anyone has any recent experience working with Diego Siles, we would love to hear about it! We want to make sure that we will not be scammed or have problems with the vehicle when we arrive. E were asked to pre-pay, but with a credit card (no wiring cash).

Thanks in advance for any advice or information!!

You can also try…Alamo..Adobe…Avis…Hertz…National…and many more…most of them with recent models…be sure to ask your rent a car how old is going to be your 4×4…be sure to check tires…spare…tools…windshield condition…and general paint condition…you do not want any funny surprises at the end…

roadadvisor

My question is: Why?

There are plenty of reputable companies to choose from. Why go for an obscure one, especially if you are worried about getting scammed. You’d think that, given that concern, you’d simply reserve a car with a well-known and well-respected company…

I have used Dean Rentals twice for 2 weeks in January 2012 & 2 weeks in June 2013. I was always pleased with their service & love the fact that everything including full insurance is included in the price. The 4×4 vehicles I rented were well used, but well maintained. They will meet you at the airport with a sign with your name on it & walk you to your car already at the airport parking lot. They will also meet you at a local hotel near the airport if you want to return your car prior to flying home (most hotels near the airport provide free shuttle service if you leave the next day). My first experience renting a car in Costa Rica in January 2010 was somewhat of a nightmare as I chose one of the big named companies that hammered me with extra fees & warnings that I was not allowed to drive to Monteverde (which I did any way). It was a regular 2 wheel drive car which served me well in the dry season, but I did have to be very careful on the road to & from Monteverde. After a successful drive there, the next morning while parked in the Cloud Forest Reserve with no one in the car a tree branch broke off & shattered the back window & crushed part of the roof & trunk. I had to pay over $2000 to have a tow truck bring a replacement vehicle. Thankfully I was reimbursed by my credit card company when I returned home! So to have the reassurance of a 4×4 and the knowledge of being fully insured is very important to me. If you are traveling in the rainy season, the 4×4 is absolutely necessary especially if you are traveling to Carate on the Oso Peninsula!

Did this work for you? What did you end up doing?

Level Contributor 131 posts

Just finished a 35 day rental from Alamo for a SUV. Good price. Hard sell at the beginning for all the bells and whistles. Rented for the first few days from the airport location then the balance of the time from a local outlet in Uvita with free airport drop off. Saved about $150 in Airport rental tax. The tax is about 12 or 13% I don’t have it in from of me. So by making 2 reservations i save the money and besides they would only do 30 day rentals. No issues and returned it to my hotel and not the airport location which was a big plus. It was the same cost as I rented on line.

Level Contributor 10 posts 1 review

Just got back from our trip – we were scammed by Diego and 4×4 rent a car. We paid 375 via PayPal and when our car arrived it was a Budget Rental car and the driver explained that we owed another 200 dollars and that no money had been received from them by Diego. Diego had been quick to reply up until this point, but suddenly he was not answering phones or emails. The driver refused to give me a receipt for the deposit and explained that the car would be returned to Budget at the airport, meaning Diegos company is not even a real rental company- just a middle man out to scam you. Save your time and stress on your vacation and go through a reputable car rental service. We lost 345 dollars and if our concierge hadn’t intervened we probably would have lost or deposit as well in due time. Once again this is a huge scam – save your money.

It mush have hurt when you have found this post too late, Victoria?!

Do not rent from him! We rented a car through him and paid in advance to save a little bit of money and to not worry about having to pay when we arrived. He works as a travel agent for cars and so our actual rental was with Mapache. When we arrived he sent Mapache a form that was identical to the one he sent us but it said we hadn’t paid. I tried emailing and calling and he was no where to be found. Mapache wouldn’t release the car to us because they said even though they could see that we were charged and paid the money, it did not go to them. We were stuck having to pay again and I just filed a dispute with PayPal. I have three different emails for him and three different phone numbers but now that we need to be refunded he can’t be reached at all. To rent the car though he replied within the hour of most emails I sent asking questions. I would advise going elsewhere.

Hopefully more people learn that a few guys like DIEGO around…they run a rent a car with no cars…and the office? in a cantina somewhere around…really sad,,,please avoid middle guys like DIEGO…

roadadvisor

I’ve never had a problem with Adobe, National, AVIS or Budget. That said, I always deal with the agency in Costa Rica directly….no Priceline, kayak and USA based websites…. I decline CDW and use VISA for that. The rental for a 2WD SUV as a Hyundai Tucson is about 60 dollars US a day.

I agree with framptonian. Why mess with the unknown?

Get answers to your questions about Costa Rica

FIRST_AD_TOP – apiTrigger) {window.removeEventListener(‘scroll’, initAtFirstAd);if (!initHasRun) {initHasRun = true;require([‘@ta/platform.runtime’, ‘trjs!cpm/Desktop’], function(runtime, desktopAds) {runtime.importBundle(‘@ta/platform.consent’).then(function (bundle) {bundle.requestConsent(bundle.CategoriesEnum.ADVERTISING, function() {desktopAds.initDoubleClick(initOpts); });});});}}}initAtFirstAd();window.addEventListener(‘scroll’, initAtFirstAd);});]]>

Jetsetteru003c/a>”,”localizedLink”:null,”trackAction”:”sites_jetsetter”},{“preLocalizedLink”:”Book the best restaurants with u003ca target=”_blank” class=”inlineLink” href=”https://www.thefork.com/”>TheForku003c/a>”,”localizedLink”:null,”trackAction”:”sites_thefork”},{“preLocalizedLink”:”Book tours and attraction tickets on u003ca target=”_blank” class=”inlineLink” href=”https://www.viator.com/”>Viatoru003c/a>”,”localizedLink”:null,”trackAction”:”sites_viator”},{“preLocalizedLink”:”Read cruise reviews on u003ca target=”_blank” class=”inlineLink” href=”https://www.cruisecritic.com/”>Cruise Criticu003c/a>”,”localizedLink”:null,”trackAction”:”sites_cruisecritic”},{“preLocalizedLink”:”Get airline seating charts on u003ca target=”_blank” class=”inlineLink” href=”https://www.seatguru.com/”>Seat Guruu003c/a>”,”localizedLink”:null,”trackAction”:”sites_seatguru”},{“preLocalizedLink”:”Find vacation rentals on u003ca target=”_blank” class=”inlineLink” href=”https://www.flipkey.com/”>FlipKeyu003c/a>”,”localizedLink”:null,”trackAction”:”sites_flipkey”},{“preLocalizedLink”:”Search for holiday rentals on u003ca target=”_blank” class=”inlineLink” href=”https://www.holidaylettings.co.uk/”>Holiday Lettingsu003c/a>”,”localizedLink”:null,”trackAction”:”sites_holidaylettings”},{“preLocalizedLink”:”Find a vacation home on u003ca target=”_blank” class=”inlineLink” href=”https://www.vacationhomerentals.com/”>Vacation Home Rentalsu003c/a>”,”localizedLink”:null,”trackAction”:”sites_vr”},{“preLocalizedLink”:”Plan and book your next trip with u003ca target=”_blank” class=”inlineLink” href=”https://www.helloreco.com/”>Reco Trip Designersu003c/a>”,”localizedLink”:null,”trackAction”:”sites_reco”}]}}},”156401003945857″:{“data”:{“currentLocale”:{“pointOfSaleName”:”United States”,”ietfLocale”:”en”,”languageName”:”English”,”country”:{“locationId”:191,”name”:”United States”}}}}},”messages”:{“cx_explicit_preferences_profile_hometown”:”I live in…”,”mx_nearby”:”Nearby”,”expiry_date_cta”:”u003cspan class=”{0}”>But donu2019t wait:u003c/span> Expires on {sDate} at {sTime}”,”footer_explore_v2″:”Explore”,”photo_uploader_add_a_location_tag”:”Add a location tag”,”save_all_items_modal_header”:”Save all items to a Trip”,”ugc_uploader_photo_v3″:”Post photos”,”common_Search”:”Search”,”trips_error_default_update_comment”:”There was a problem updating this comment. Please try again.”,”attractions.cart_recapture.abandoned_cart_overlay_cta”:”Visit your shopping cart to see the items you saved last time u2014 and check out when youu2019re ready.”,”ugc_uploader_photo_v2″:”Post photo”,”embedded_content_remember_choice_label”:”Remember my choice”,”cx_explicit_preferences_end_body_geo”:”Now start discovering great {destinationGeoName} ideas from other travelers like you.”,”explicit_preferences_account_screen_name”:”Name”,”stat_modal_view_trip_v2″:”View Trip”,”cx_explicit_preferences_edit_cta_header”:”Your trip details”,”mw_common_menu_fffffd37″:”Menu”,”command_where_to_screen_v2″:”Tell us where you’re going.”,”ONB_saves_educator_tap_the_heart_subhead”:”Now let's help you plan an awesome trip. When you see something you like, tap the heart to save it.”,”cx_explicit_preferences_profile_name_help”:”This is how your name will appear on Tripadvisor”,”trips_lander_title”:”Trips on Tripadvisor”,”cx_explicit_preferences_cta_traveling_partner”:”Traveling with your partner”,”footer_ta_sites_v2″:”Tripadvisor Sites”,”hrm_flyoutupsell_cta_tryitforfree”:”Try it for free”,”post_video_button”:”Post video”,”trips_error_save_trip_full”:”Oh no! Your Trip has too many items in it. Please remove some items and try saving again.”,”link_uploader_refresh”:”Refresh”,”help_center_topics_ffffe427″:”Popular Help Center Topics”,”m1_trips_save_success_stat_d2″:”Saved! Next, organize it in a Trip.”,”footer_do_business_v2″:”Do Business With Us”,”hrm_flyoutupsell_cta_starttrial”:”Start a free trial”,”common_Cookie_consent_14f6″:”Cookie consent”,”trip_privacy_setting_header”:”Choose who can see your Trip”,”post_photo_upload_another_video”:”Drag and drop or u003c/> u003cspan class=”{sColorClass1}”>upload another photo u003c/span>”,”uploader_error_required_field”:”This field is required”,”cx_explicit_preferences_cta_traveling_family”:”Traveling with family”,”stat_modal_trip_name”:”Trip name”,”mobile_help_center_url”:”https://www.tripadvisorsupport.com/hc/en-us”,”common_Restaurants”:”Restaurants”,”new_photos_terms_of_use”:”By uploading these photos,u00A0I verify that I am the owner of this content and I accept Tripadvisor’s u003ca href={link} target=’_blank’>Terms of Useu003c/a>”,”trips_move_error”:”There was a problem moving this item. Please try again.”,”stat_modal_saved_to_tripname_with_bold”:”Saved to u003cb>{TripName}u003c/b>”,”onboarding_social_brand_splash_get_started_cta”:”Get started”,”post_photo_tips_guidelines”:”You can upload a maximum of 10 photos at a time”,”cx_explicit_preferences_destination_header2″:”Great. Where to?”,”inspiration_region_6_ffffee49″:”Africa & the Middle East”,”reg_and_join”:”JOIN”,”trips_education_amazing_ideas_one_place”:”Trips: your amazing travel ideas, all in one place”,”cx_explicit_preferences_destination_subheader2″:”Weu2019ll show you recommendations from other travelers whou2019ve been there.”,”mem_settings”:”Settings”,”remove_location_cf6″:”Remove location”,”cx_explicit_preferences_cta_family2″:”With family”,”video_upload_max_number”:”You can upload a maximum of {nVideos} videos at a time”,”cx_explicit_preferences_segment_friends”:”My friends”,”common_Close”:”Close”,”post_video_file_type_error”:”This file type is not supported. Please try a .mov, .mp4 or m4v file”,”onetap_subhead_signin_alerts_deals”:”Sign in to get price alerts and deals”,”video_upload_more_info_guidelines_link”:”For more information see our u003cspan>video uploader guidelinesu003c/span>”,”soical_loading_error_2″:”Give it another try, please.”,”common_Hotels”:”Hotels”,”common_Signin”:”Sign in”,”embedded_content_show_content_label”:”Show external content”,”home_location_things_near_you”:”Tell us where you live to get great ideas for things to do near you.”,”post_photo_or_just_text”:”or”,”video_upload_fail”:”Oops! One or more of your videos failed to upload.”,”mobile_profile_update_error_username_invalid_characters”:”Only use Latin characters (A-Z), numbers, underscore “_”, and dash “-“.”,”abandon_cart_home_banner_2350″:”Still interested?”,”trips_error_default_add_item_to_trip”:”There was a problem adding the item to this Trip. Please try again.”,”common_btn_cancel_ffffe209″:”Cancel”,”hrm_flyoutupsell_reviewcollection”:”Let us collect more reviews for you with even less effort. More reviews means more opportunities to impact your ranking and increase your visibility on Tripadvisor.”,”cx_explicit_preferences_end_body_nearby”:”Now start discovering nearby ideas from other travelers.”,”social_confirm_close_photo_post”:”Are you sure you want to close out of your photo post?”,”post_photo_drag_and_drop_from_desktop”:”Drag and drop a file from your desktop “,”ads_perf_dashboard_get_started_updated”:”Get Started”,”mem_account_info”:”Account info”,”add_more_videos_mw_uploader”:”Add more videos”,”respond_to_a_review_ffffe427″:”u003ca href=”{0}”>Respondu003c/a> to a review”,”I_live_in”:”I live in…”,”mobile_try_again”:”Try again”,”attractions.cart_recapture.alert_body”:”Click here at any time to finish your booking. Be sure to log-in or register to access your cart from any device.”,”utility_nav_profile”:”Profile”,”trips_collaborator_privacy_modal”:”This Trip is {privacySetting}. Only the owner of the Trip can change this setting.”,”btn_cancel”:”Cancel”,”onboarding_social_name_screen_username_helper_text_period_814″:”This unique handle helps travelers search for you.”,”attractions.cart_button_acc”:”Cart”,”region_apac_25ed”:”Asia Pacific”,”cx_explicit_preferences_cta_month2″:”Traveling in {month}”,”cx_explicit_preferences_cta_solo2″:”Solo”,”post_photo_unsupported_file”:”This file type is not supported. Please refer to Tripadvisor’s photo posting guidelines. “,”trips_inline_profanity_check”:”Public Trips cannot contain profanity”,”onetap_message_unlock”:”Unlock the best of Tripadvisor”,”create_trip_screen_privacy_public_explanation_v2″:”Visible to all travelers on Tripadvisor, including any friends you share your Trip with”,”common_more_ffffe87d”:”more”,”post_video_add_description_v2_part_2″:”Tell other travelers about your video “,”command_companion_v2″:”Tell us who you’re traveling with.”,”cx_explicit_preferences_edit_trip_details”:”Edit trip details”,”trip_note_update_error”:”There was a problem updating your Trip note. Please try again.”,”command_interests_screen”:”Tell us what you want to do on your trip.”,”create_trip_screen_privacy_private”:”Private”,”profile_update_error_display_name_too_long”:”{0} cannot be longer than 40 characters”,”brand_save_money_we_search_200″:”u003cb>Save money.u003c/b> We search 200+ sites for the lowest hotel prices.”,”common_26ec”:”u00A9 {0} TripAdvisor LLC”,”hrm_onboarding_flyout_partners”:”Save precious time by responding to reviews across Tripadvisor, Google and Facebook all on the same page.”,”common_ffffe429″:”Write a u003ca href=”{0}”>reviewu003c/a>”,”mobile_no_results_found_8e0″:”No results found”,”trips_stat_modal_profanity_check_native”:”Your Trip could not be created because public Trips cannot contain profanity. Please try again.”,”file_size_too_big_photo_oops_message”:”This file size is not supported. Please make sure your file is less than {0}”,”social_no_permission”:”You don’t have permission to take this action.”,”utility_nav_cart”:”Shopping Cart”,”common_Forums”:”Forums”,”common_Allrightsreserved”:”All rights reserved.”,”trips_reported_explanation”:”Your Trip does not meet Tripadvisor’s u003ca href=”https://www.tripadvisorsupport.com/hc/articles/360008133913-Tripadvisor-s-Content-Policy”>Content Guidelinesu003c/a> for public Trips and has been set to private. It cannot be made public again.”,”social_nCount_followers2″:”{0, plural, one{# follower} other{# followers}}”,”hrm_onboarding_flyout_customizecampaigns”:”Create a review collection campaign with our optimized templates that can be customized to make them your own.”,”attractions.cart_recapture.alert.headline”:”Now you can pick up where you left off!”,”post_photo_more_info_2″:”For more information see our u003cspan>photo uploader guidelinesu003c/span>”,”mobile_back_8e0″:”Back”,”mobile_reviews_plural”:”{0, plural, one{# review} other{# reviews}}”,”typeAheadSearchFor_fffff81b”:”Search for “{0}””,”trips_error_duplicate”:”You already have a Trip with this name.”,”stat_modal_saved_to_tripname_with_bold_v3″:”Saved to u003ca href=”{TripLink}” class=”{TripClass}”>u003cb>{TripName}u003c/b>u003c/a>”,”owners_managelisting_open”:”Open”,”command_dates_screen_geo”:”Tell us when are you traveling to {destinationGeoName}.”,”create_trip_success_toast_with_bold”:”u003cb>{TripName}u003c/b> created!”,”insurance_title”:”Insurance”,”post_photo_upload_failed”:”Your photo upload failed. Please try again. “,”stat_modal_save_to_trip_v2″:”Save to a Trip”,”cx_explicit_preferences_interests_header2″:”What do you want to do on your trip?”,”discover_ttd”:”Discover things to do”,”articles_opf_title_v2″:”Travel Articles | Travel Tips, Insights, & Inspiration from Tripadvisor”,”jfy”:”Just for you”,”cx_explicit_preferences_welcome_no”:”No thanks”,”member_support_reviews”:”Reviews”,”onboarding_social_name_screen_username_ghost_text”:”e.g. SavvyTraveler123″,”og_masthead_social_sharing_ffffe427″:”Social sharing”,”cx_explicit_preferences_welcome_subheader2″:”Answer some questions about your trip so we can show you more personalized ideas.”,”ds_textarea_minimum_characters”:”{numCount}/{numLimit} min characters”,”post_photo_upload_photos_button”:”Upload photos”,”cx_explicit_preferences_welcome_header_no_name2″:”Thanks. Now, let’s help you plan a trip you’ll love.”,”trips_error_default_edit_trip”:”There was a problem editing this Trip. Please try again.”,”stat_modal_change”:”Change”,”embedded_content_third_party_notice”:”This content is hosted by a third party ({hostName}). By showing external content you accept the {termsUrl} of {hostName}.”,”common_Xof5bubbles”:”{0} of 5 bubbles”,”profile_update_error_username_too_short”:”{0} needs to be at least 3 characters”,”a11y_skip_link”:”Skip to main content”,”cx_explicit_preferences_cta_traveling_friends”:”Traveling with friends”,”mobile_offline_megabyte_ffffec6c”:”{0} MB”,”global_nav_content_cta_post”:”Post”,”cx_explicit_preferences_profile_hometown_help2″:”Get travel ideas and flight deals based on where you live”,”cx_explicit_preferences_profile_end_screen_no_name”:”Thanks.”,”common_Signout”:”Sign out”,”nearby_use_my_location”:”Use my location”,”trip_planner_clear”:”Clear”,”cx_explicit_preferences_cta_partner2″:”With your partner”,”trips_error_default_edit_privacy”:”There was a problem updating the privacy of this Trip. Please try again.”,”video_upload_video_formats_accepted”:”Accepted video formats include {sFileExtentions}”,”post_videos_button”:”Post videos”,”embedded_content_terms_and_conditions_label”:”terms and conditions”,”cx_explicit_preferences_segment_header”:”Who are you traveling with?”,”footer_disclaimer_line1_no_country”:”This version of our website is addressed to speakers of {language} generally, except for when a specific version of our website exists for their country or region. You may use the drop-down menu to access other versions of Tripadvisor addressed to specific countries and regions.”,”cx_explicit_preferences_cta_dates2″:”Traveling from {date1} to {date2}”,”stat_modal_undo”:”Undo”,”hrm_flyoutupsell_hr”:”Hi {sUserDisplayName}! Unlock our reputation management solutions to help impact your Tripadvisor bubble score and ranking.”,”cx_explicit_preferences_cta_months2″:”Traveling from {month1} to {month2}”,”free_cancel_ahead”:”u003cspan class=”{0}”>No commitment:u003c/span> Cancel for free up to 24 hours ahead.”,”getlistednew_list_on_tripadvisor_ffffe427″:”List your business”,”post_video_size_error”:”This file size is not supported. Please make sure your file is less than 500MB “,”ib_more_info”:”More Info”,”articles_opf_meta_description”:”Browse through our articles to find useful travel tips and inspiration to plan your next trip. From must have travel products to breathtaking destinations, Tripadvisor has you covered!”,”post_photo_accepted_formats”:”Accepted photo formats include .jpg .jpeg .gif and .png”,”footer_disclaimer_line2_estimates”:”Indicative hotel prices displayed on our u201CExploreu201D pages are estimates extrapolated from historic pricing data.”,”my_name_is”:”My name is…”,”global_travel_notice_covid19″:”Learn more about COVID-19″,”linkify_url_error”:”You have entered an inappropriate URL”,”post_photo_video_count_text”:”Photo {nCurrentphotoCount} of {nTotalphotoCount}”,”success_repost_photo”:”Your photo was posted!”,”profile_update_error_username_contains_ta_words”:”Words such as u201CStaffu201D, u201CAdminu201D, u201CTripadvisoru201D are not allowed.”,”onboarding_social_skip_link”:”Skip for now”,”photos_provided_by_2_1bed”:”Some photos provided by {0}.”,”new_photo_terms_of_use”:”By uploading this photo,u00A0I verify that I am the owner of this content and I accept Tripadvisor’s u003ca href={link} target=’_blank’>Terms of Useu003c/a>”,”footer_about_ta_v2″:”About Tripadvisor”,”mobile_search_filter_clear_26e8″:”Clear”,”are_you_an_owner_ffffe427″:”Are you an u003ca href=”{0}”>owner or representativeu003c/a>?”,”dual_search_popular_destinations”:”POPULAR DESTINATIONS”,”stat_modal_general_error”:”There was a problem saving this item. Please try again.”,”stat_modal_create”:”Create”,”mw_js_positionPermissionDenied”:”Tripadvisor was denied permission to access your location. Give your browser and Tripadvisor permission to use your current location and try again.”,”stat_modal_removed_from_tripname_with_bold_v3″:”Removed from u003ca href=”{TripLink}” class=”{TripClass}”>u003cb>{TripName}u003c/b>u003c/a>”,”rs_reputation_filter_accounts_ta”:”Tripadvisor”,”ip_view_profile_1cf1″:”View profile”,”post_video_video_count_text”:”Video {nCurrentVideoCount} of {nTotalVideoCount}”,”cx_explicit_preferences_dates_flexible”:”My dates are flexible”,”global_travel_notice_head”:”TRAVEL NOTICE:”,”nav_rs_premium_contact_support”:”Call {sSupportPhoneNumber} with your ID: {nLocationId}”,”profile_update_error_contains_profanity”:”Profanity is not allowed”,”success_repost_video”:”Your video was posted!”,”hrm_flyoutupsell_managementcenter”:”Unlock our reputation management solutions to collect more reviews and give travelers confidence to book.”,”cx_explicit_preferences_cta_interested_in”:”Interested in”,”bhotw_region_europe_title”:”Europe”,”see_all_results_for”:”See all results for “{query}””,”dual_search_recently_viewed_all_caps”:”RECENTLY VIEWED”,”cx_explicit_preferences_profile_header3″:”Welcome! Tell us about yourself.”,”trip_contains_profanity”:”Your Trip contains profanity and cannot be made public. Please modify your Trip and try again. Questions? View Tripadvisor’s u003ca href=”https://www.tripadvisorsupport.com/hc/articles/360008133913-Tripadvisor-s-Content-Policy”>Content Guidelinesu003c/a>.”,”m1_trips_my_saves_header”:”My Saves”,”check_email_subheader”:”Check your email for your discount code and get ready to do more for less.”,”profile_update_error_username_too_long”:”{0} cannot be longer than 20 characters”,”rs_reputation_filter_accounts_google”:”Google”,”cx_explicit_preferences_dates_header”:”When are you traveling to {destinationGeoName}?”,”file_size_limit_photo”:”File size should be less than {0}MB.”,”region_americas_25ed”:”The Americas”,”cx_explicit_preferences_cta_subheader3″:”Youu2019ll see personalized ideas from other travelers like you.”,”onboarding_social_name_screen_returning_header”:”Please confirm or update your profile information”,”new_trip_name_error_msg”:”Please select a new name for your Trip.”,”onboarding_social_name_screen_display_name_field_v2″:”Display name”,”onboarding_social_name_screen_display_name_ghost_text”:”e.g. John Doe”,”social_mobile_reason_for_sponsored”:”Sponsored”,”footer_disclaimer_line2″:”TripAdvisor LLC makes no guarantees for availability of prices advertised on our sites and applications. Listed prices may require a stay of a particular length or have blackout dates, qualifications or other applicable restrictions. TripAdvisor LLC is not responsible for any content on external web sites that are not owned or operated by Tripadvisor.”,”airm_mobile_show_more”:”Show more”,”footer_disclaimer_line3″:”TripAdvisor LLC is not a booking agent or tour operator. When you book with one of our partners, please be sure to check their site for a full disclosure of all applicable fees.”,”select_trip_header”:”Select a Trip”,”footer_disclaimer_line1″:”This is the version of our website addressed to speakers of {language} in {country}. If you are a resident of another country or region, please select the appropriate version of Tripadvisor for your country or region in the drop-down menu.”,”rs_reputation_filter_accounts_fb”:”Facebook”,”trips_lander_md”:”Trips makes it easy to save travel plans, build wish lists and map out all your ideas for places to eat, things to do and where to stay u2014 and bring them with you, wherever you go.”,”hrm_onboarding_flyout_donotshowagain”:”Do not show again”,”trips_education_easy_save_orgaize_map_bring_with_you”:”Trips makes it easy to save, organize and map out all your ideas for places to eat, things to do and where to stay u2014 and bring them with you, wherever you go.”,”post_video_upload_another_video”:”Drag and drop or u003c/> u003cspan class=”{sColorClass1}”>upload another video u003c/span>”,”mobile_discovery_where_to”:”Where to?”,”trips_error_default_move_item”:”There was a problem moving this Trip item. Please try again.”,”common_9bc”:”Currency”,”visit_your_center_ffffe427″:”Visit your u003ca href=”{0}”>Management Centeru003c/a>”,”common_TripAdvisor”:”Tripadvisor”,”new_videos_terms_of_use”:”By uploading these videos,u00A0I verify that I am the owner of this content and I accept Tripadvisor’s u003ca href={link} target=’_blank’>Terms of Useu003c/a>”,”dual_search_ghost_im_going_to”:”I’m going to…”,”m1_trips_unsave_error”:”There was a problem removing this item. Please try again.”,”ds_textarea_maximum_characters”:”{numCount}/{numLimit} max characters”,”have_other_questions_ffffe427″:”Have Other Questions?”,”hrm_flyoutupsell_ownerresponse”:”Save time by responding to reviews across Tripadvisor, Google, and Facebook all on the same page.”,”social_edit_profile_username”:”Username”,”terms_and_policy_links”:”By proceeding, you agree to our u003ca rel=”nofollow” class=”{2}” target=”_blank” href=”{0}”>Terms of Useu003c/a> and confirm you have read our u003ca rel=”nofollow” class=”{2}” target=”_blank” href=”{1}”>Privacy Policyu003c/a>.”,”10_off_tour_activity_v2″:”u003cspan class=”{1}”>10% offu003c/span>u003cbr/> any tour or activity”,”m2_trips_detail_date_display”:”{0} u2022 {1}”,”trips_error_default_add_item_comment_v2″:”There was a problem adding a note to this Trip item. Please try again.”,”stat_modal_create_a_trip_v2″:”Create a Trip”,”inbox_title”:”Inbox”,”common_more_capital_ffffe27f”:”More”,”trips_trip_name_character_count”:”{nCharacterCount} / 50 characters”,”trips_lander_copy_1″:”Save traveler-recommended places for your trip”,”flash_uploader_tips_and_guidelines_10d8″:”Tips & guidelines”,”onboarding_social_name_screen_display_name_helper_text_period_814″:”This appears on your profile and any content you post.”,”onboarding_social_name_screen_cta”:”Confirm”,”trips_lander_copy_2″:”View the things to do, restaurants and hotels you saved on a map”,”trips_privacy_explanation_new”:”Not visible to other Tripadvisor users and members, except for you and any friends with whom you share your Trip.”,”common_NEW_1bd8″:”NEW”,”dmo_hdr_alerts”:”Alerts”,”cx_explicit_preferences_interests_subheader3″:”Take a look at what {destinationGeoName} travelers are talking about and select what you might like.”,”trips_error_unsave”:”There was a problem removing this item from your Trip. Please try again.”,”mobile_profile_update_error_display_name_too_short”:”Display name needs to be at least 3 characters”,”footer_get_app_v2″:”Get The App”,”visit_the_help_center_ffffe427″:”Visit the u003ca href=”{0}”>Help Centeru003c/a>”,”stat_modal_name_exceeds_50″:”Trip name must not exceed 50 characters”,”social_Saved”:”Saved”,”cx_explicit_preferences_cta_date2″:”Traveling on {date}”,”trips_lander_copy_3b”:”Easily access all your saves while traveling, wherever you go”,”post_video_typeahead_placeholder_text_search”:”Search”,”trips_error_general_default”:”There was a problem with this Trip. Please try again.”,”footer_region”:”Region”,”social_nowFollowing”:”Following”,”cx_explicit_preferences_cta_header”:”Tell us about your trip”,”common_Thingstodo”:”Things to do”,”trips_lander_header”:”Traveling soon? Save your amazing ideas all in one place with Trips.”,”my_bookings_headtext_fffff9b3″:”Bookings”,”trips_product_name”:”Trips”,”links_tahelphostname”:”https://www.tripadvisorsupport.com/hc/en-us”,”tavrs_view_profile”:”View profile”,”post_video_location_typeahead_add_location”:”Add another location “,”explicit_preferences_who_are_you_traveling_with_skip_button”:”SKIP”,”cx_explicit_preferences_welcome_header3″:”Hi, {displayName}. Letu2019s help you plan a trip youu2019ll love.”,”mx_geo_picker_popular_destinations”:”POPULAR DESTINATIONS”,”cx_explicit_preferences_segment_family”:”My family”,”post_a_video_modal_header”:”Post a video”,”common_Next”:”Next”,”trips_log_in_now”:”Log in now”,”empty_trip_home_get_started”:”Get started”,”add_more_photos_mw_uploader”:”Add more photos”,”dual_search_worldwide”:”Worldwide”,”global_nav_profile_my_business”:”My business”,”mobile_delete”:”Delete”,”cx_explicit_preferences_cta_friends3″:”With friends”,”social_loading_error_1″:”Whoops, something went wrong.”,”continue_sub_cta”:”Continue where you left off”,”trips_error_default_add_note”:”There was a problem adding a note to this Trip. Please try again.”,”cx_explicit_preferences_profile_end_screen2″:”Thanks, {displayName}”,”compliment_9bd”:”Sorry, an unexpected error has occurred. Please try again in a moment.”,”cx_explicit_preferences_segment_solo”:”Myself”,”homepage_war_button”:”Write a review”,”hrm_onboarding_flyout_autoreviewcollection”:”Let us do the work for you to collect more reviews! Connect and enable your provider to get started.”,”where_to_hint_text”:”Paris, Costa Rica, Brazil…”,”stat_modal_removed_from_tripname”:”Removed from {sTripName}”,”cx_explicit_preferences_cta_traveling_solo”:”Traveling solo”,”common_Populardestinations”:”Popular destinations”,”post_photo_add_description_v2_part_2″:”Tell other travelers about your photo “,”create_trip_screen_privacy_public”:”Public”,”post_photo_add_description_v2_part_1″:”Add a description “,”post_photos_form_header”:”Post photos”,”2019_by_skipping_username_step”:”By skipping this step you will be given an automatically generated display name and @username”,”reg_back”:”Back”,”guidelines_and_policies_ffffe427″:”Guidelines and policies”,”new_video_terms_of_use”:”By uploading this video,u00A0I verify that I am the owner of this content and I accept Tripadvisor’s u003ca href={link} target=’_blank’>Terms of Useu003c/a>”,”create_trip_general_error_v2″:”There was a problem creating this Trip. Please try again.”,”cx_explicit_preferences_segment_partner”:”My partner”,”cx_explicit_preferences_welcome_yes”:”Yes, letu2019s go”,”trips_save_CTA”:”Save”,”profile_update_error_username_already_exists”:”{0} has already been taken”},”features”:{“ungate_sponsored_listing_clicks”:true,”ml_hard_gate_targeting_logic”:false,”hard_gate_excl_disable_domain_direct”:false,”prod_runtime_tracking”:false,”curated_shelves_preview”:true,”ml_hard_gate_no_reqlo”:false,”cruise_better_by_sea”:false,”optimus_new_members”:false,”fusion_lithium_restaurant_review_page”:false,”trips_heart_icon”:true,”trips_pop_stat_modal”:true,”travel_advice”:true,”mw_hard_gate_ghost”:false,”fbot_single_screen_onb”:false,”trips_skip_check_whitelist_public_trips”:true,”hr_defer_facebook_sdk”:false,”review_detail_hard_gate_master_dt”:false,”rubicon_header_bidding”:true,”home_lithium”:true,”sentryio_js”:false,”optimus_banner_test_b”:false,”optimus_banner_test_a”:false,”cx_explicit_preferences_scoped_home_cta_always_edit”:true,”react_tracking_impressions”:true,”post_signup_attr_promo_explicit_preferences_control”:false,”mobile_web”:false,”ep_has_command_screen”:false,”saves_hotspot_button”:false,”tourism_lithium”:true,”fusion_lithium_hotel_review_page”:false,”ml_hard_gate_master”:false,”fusion_lithium_attractions_client_side_navigation”:false,”rich_content_editor”:true,”account_screen_onb_control”:false,”fusion_lithium_hotels_list_page”:false,”facebook_onetap_desktop”:true,”attractions_lithium_filtered”:false,”ml_hard_gate_dt_v3_master”:false,”tourism_management_center”:false,”media_preview_focal_point”:false,”restaurant_list_consolidation”:false,”nearby_lithium”:true,”h_defer_facebook_sdk”:false,”amazon_header_bidding”:true,”qualtrics_surveys_any”:false,”t4b_management_center_full_story_sampled”:false,”travel_advice_preview”:true,”ml_hard_gate_dt_v1_master”:false,”ml_hard_gate_dt_v2_master”:false,”trips_bookmark”:true,”facebook_onetap_mobile”:false,”quicklinks_sorting_model”:false,”vr_broad_geo_list_redesign”:false,”account_screen_onb”:false,”cx_explicit_preferences_onetap”:true,”saves_educator_control”:false,”t12368_project_nova_all_servlets”:true,”cx_explicit_preferences_geopill”:false,”health_notice_banner”:true,”hrm_beta_full_story”:true,”t4b_management_center_full_story”:true,”cx_explicit_preferences_onboarding”:false,”saves_educator_explicit_preferences”:false,”mc_redesign_core”:false,”navigation_to_scoped_home”:false,”trips_2018_collab”:true,”home_location_prompt_master”:true,”ep_has_command_screen_control”:false,”dummy_cache_on_client”:false,”post_signup_attr_promo_explicit_preferences”:false,”delayed_ad_calls_lure_variant”:false,”disable_reg_dialog_for_hardgate”:false,”review_detail_hard_gate_dt_other_servlets”:false,”mobile_fixed_ad”:false,”ml_hard_gate_model_v1_reevaluate_on_page_view”:false,”post_signup_attr_promo_masthead_join”:false,”fusion_lithium_attraction_products_list_page”:false,”account_merge”:true,”places_sift_tracking”:false,”apr_lithium_control”:false,”forum_home_lithium”:true,”hr_dark_green_icons”:true,”optimus”:true,”cx_explicit_preferences_scoped_home_cta”:true,”ml_hard_gate_dt”:false,”optimus_banner_test_control”:false},”renders”:[{“id”:”component_19″,”props”:{},”package”:”BqoTCX”},{“id”:”component_21″,”props”:{},”package”:”t7RFOq”}],”profilables”:[],”strictModeRoots”:[],”hydrations”:[{“id”:”component_17″,”props”:{},”package”:”08L0XB”},{“id”:”@ta/trips.save-to-trip:post:79445223_component_1″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:79445223},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:79445669_component_2″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:79445669},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:79446115_component_3″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:79446115},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:79447868_component_4″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:79447868},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:81822140_component_5″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:81822140},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:81824231_component_6″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:81824231},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:83497724_component_7″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:83497724},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:83517112_component_8″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:83517112},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:83891585_component_9″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:83891585},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:83893715_component_10″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:83893715},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:post:83894954_component_11″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:83894954},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”component_12″,”props”:{},”package”:”87pH8E”},{“id”:”@ta/trips.save-to-trip:attractionproduct:75007_component_13″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:75007},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:attractionproduct:26985_component_14″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:26985},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:attractionproduct:188530_component_15″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:188530},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:attractionproduct:4160_component_16″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:4160},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”component_18″,”props”:{“useResponsiveContainer”:”true”},”package”:”mwa76u”},{“id”:”component_22″,”props”:{},”package”:”mxARhC”},{“id”:”component_20″,”props”:{},”package”:”GVTdZB”}],”lazyLoadedModules”:[“08L0XB/L9pCXd”,”nZ7AfP”,”qxSl3I”,”4CrHtN”],”ssrPreloadedModules”:[“6FdDYx”,”bsx_H5″,”nZ7AfP”,”qxSl3I”,”S07X1M/v-c-G4″,”4CrHtN/6GI-1U”,”xJD91H”,”neHaXV”,”-i3PJS”,”lMO0v3/GzJMLX”,”PCLJ0D/6Vq8GY”,”pBQaod”,”m7h4d5″,”08L0XB/L9pCXd”,”RWfDzK”,”4CrHtN/A1SA6X”,”a3FWKi”,”5-GvUO/gmVWZD”,”kNh38S”,”PCLJ0D/YtE_eG”,”thFMrK/RQFZYD”,”08L0XB/hCC7uv”,”4CrHtN”],”bundles”:[“XjkW5l”,”peh_3a”,”b3xEaf”,”u6QS-O”,”QZqymc”,”eDFcUX”,”535agn”,”V08PS7″,”wId9j-“,”nIW_Rw”,”l6BSGt”,”h74DsO”,”5-GvUO”,”UWCmG6″,”gt5mGS”,”MHKLZN”,”6hYgtn”,”jb_4W2″,”_qQcW3″,”f9x1OV”,”vd4nty”,”B7vHz6″,”oo669z”,”asW43G”,”hA1RHn”,”mv7yXI”,”Ov85iR”,”xegF5W”,”8xs-IB”,”N4pTU2″,”c9QfOM”,”UhC_bI”,”F8raOV”,”5-GvUO/_q6t87″,”5X2em-“,”fsml46″,”I81Q5L”,”_g8cls”,”rf6OMe”,”E8NZou”,”O8LbtK”,”n3D4ip”,”YwNsO_”,”DbN8HP”,”z2XL6d”,”faye7n”,”gsKhh7″,”T7FcVR”,”vmXh3M”,”W3_c4H”,”38xMQJ”,”-i3PJS”,”Jk5sjx”,”6RAaot”,”VANuRt”,”2R4xv2″,”OMqGt0″,”xZoNdB”,”PCLJ0D”,”b57PJQ”,”MGkW-Q”,”NJheb1″,”_cZwhS”,”Dg5_-9″,”yfS4GB”,”pLbCP4″,”Q7TAd7″,”dROhDJ”,”_Z-1K3″,”iuYvTO”,”BLrxBS”,”0DsHEV”,”OnmvvE”,”w4JHTr”,”rSqx0N”,”RiHMo-“,”gGW5sO”,”jaCyxS”,”DjNvou”,”lMO0v3″,”vWxBAe”,”PCLJ0D/-EYc4Q”,”17wlKY”,”rKB8Wf”,”jSLlaY”,”aunxON”,”30t50h”,”cDcdfi”,”4LU1Ax”,”eFikmI”,”6NeHQy”,”jmIMrC”,”XtxvfD”,”vq6MSq”,”m5ZZFI”,”MG7IEl”,”uWZ6Id”,”08L0XB/r2vH2r”,”4Z07E2″,”08L0XB”,”c_rvp5″,”HZtvHO”,”PiTJFd”,”eFKnUp”,”RXx5aI”,”O-HcBE”,”U-DhDC”,”WkP2XE”,”LFeTN6″,”fTyhRT”,”lmr1u9″,”6nM-E7″,”JFHNGL”,”4kVXmt”,”vF730k”,”9I0t-6″,”6KWcSB”,”zlqOrw”,”liWOeo”,”3mlAaP”,”tV1cF7″,”Md_K7J”,”87pH8E”,”NGIiZD”,”mlRREX”,”6m_xYI”,”mwa76u”,”2NwMnm”,”R7DQr_”,”Xi-2HZ”,”Erjc5t”,”zPgUM0″,”fiorRT”,”MWFqPp”,”qKFflQ”,”qfSfGN”,”hxnqL3″,”wU942v”,”G9idyf”,”HDgDKt”,”XS7t-Q”,”h7E4Ym”,”osGflv”,”AoLEtg”,”KwOV1Z”,”IuX4Ar”,”Hgrhyo”,”Oc3sTL”,”ABlMo4″,”Z7U8sN”,”wLDeDm”,”w2XwHO”,”BqoTCX”,”t7RFOq”,”mxARhC”,”GVTdZB”,”Kv5xL1″,”xsqNye”,”08L0XB/jdYFmQ”,”-02Lut”,”dX3eZQ”,”MNKFIS”,”dAea-m”,”mHPUmd”,”SjBt6i”,”thFMrK”,”S07X1M/XDxpBd”,”V_I8wA”,”1yEXVQ”,”meOI_T”,”CSOnVf”,”r_rn4M”,”oiya90″,”tTLfF8″,”0uWw9s”,”a4q8MG”,”OkJwbt”,”mqvxhC”,”pT-O8u”,”nPqO2d”,”fAPg3f”,”S07X1M”,”QRwZD2″,”v_y45t”,”-2hM2s”,”10CW2t”,”08L0XB/L9pCXd”,”xlsORH”,”sb81vR”,”_pymO0″,”DtZPgN”,”sERCEg”,”tc4D5F”,”iZ1Bsx”,”U3jxzU”,”cBPvJq”,”nZ7AfP”,”bsx_H5″,”iLImXn”,”qxSl3I”,”16tLUw”,”4CrHtN”]}};(this.$WP=this.$WP||[]).push([‘@ta/features’,function(e){return [function(){e(‘default’,__WEB_CONTEXT__.pageManifest.features);},[]]},[]]);]]> maxHeight) { maxHeight = height; } }); if (maxHeight > 0) { placementEl.find(‘.shelf_container.forum_mention’).height(maxHeight + 24); placementEl.find(‘.forum_mention .shelf_item_container’).height(maxHeight); placementEl.find(‘.forum_mention .scrollable_container’).height(maxHeight); } } // if there are more than 3 items on the shelf, we need to set up handlers for the left/right scrolls. function setUpScroller() { var scroller = placementEl.find(‘.scrollable_container’); var leftArrow = placementEl.find(‘.arrow.left’); var rightArrow = placementEl.find(‘.arrow.right’); var itemOffset = scroller.find(‘.ui_column’).outerWidth(); // number of items on the shelf var itemCount = parseInt(scroller.data(‘numitems’)); // right most offset (left most is 0) var scrollLimit = 3 – itemCount; var offset = 0; function showArrows() { var leftCss = ”; var rightCss = ”; // check left arrow if (offset scrollLimit) { rightCss = ‘block’; } leftArrow.css(‘display’, leftCss); rightArrow.css(‘display’, rightCss); } function scroll(offset) { scroller.animate({ left: offset * itemOffset }, 500, function() {}); showArrows(); } function scrollLeft() { if (offset < 0) { // only scroll 3 items at a time if (offset scrollLimit) { offset -= 3; if (offset < scrollLimit) { offset = scrollLimit; } scroll(offset); } } showArrows(); leftArrow.on('click', scrollLeft); rightArrow.on('click', scrollRight); } prwidgets.initWidgets(placementEl.get(0)); shelfEventHandlers.initShelfListeners(); imageLoader.init(200); setUpContainer(); setUpScroller(); });}); define('cpm/ResponsiveBannerResizeHandler', ['babel/babel-helpers', 'utils/throttle', 'utils/responsive', 'common/trackingStreams'], function (babelHelpers, throttle, utilsResponsive, trackingStreams) { 'use strict'; var _initialized = false; function _init() { _handleResize(); if (!_initialized) { window.addEventListener('resize', throttle(_handleResize, 300)); _initialized = true; } } function _hideBanner(banner) { banner && banner.classList && banner.classList.add('hidden'); banner && banner.classList && banner.classList.add('inactive'); } function _showBanner(banner) { banner && banner.classList && banner.classList.remove('hidden'); banner && banner.classList && banner.classList.remove('inactive'); } function _handleResize() { var placements = document.querySelectorAll('.ppr_priv_footer_banner_ad_billboard'); if (placements.length) { try { for (var i = 0; i < placements.length; i++) { var placement = placements[i]; var banners = placement.querySelectorAll('.gptAd'); for (var j = 0; j < banners.length; j++) { var banner = banners[j]; var breakpoint = banner.getAttribute("data-breakpoint"); if (!breakpoint) { continue; } var matchFxn = utilsResponsive[breakpoint]; if (!matchFxn) { continue; } var matches = matchFxn(); if (matches) { _showBanner(banner); } else { _hideBanner(banner); } } } } catch (e) { trackingStreams.error(e, 'Error handling responsive header/footer banners'); } } } var exports = {}; exports.init = _init; return exports; }); define('utils/ResponsiveEvents', ['mixins/Events', 'utils/responsive', 'utils/throttle', 'vanillajs'], function (Events, Responsive, Throttle) { 'use strict'; var lastWidth = document.documentElement.clientWidth; var lastSizes = Responsive.currentBreakpoints(); var events = ['breakpoint']; Responsive.breakpoints.forEach(function(size) { events.push('over-' + size, 'under-' + size); }); var delegate = Events.create(events); delegate.onOver = function(size, fn) { delegate.on('over-' + size, fn); }; delegate.onUnder = function(size, fn) { delegate.on('under-' + size, fn); }; delegate.offOver = function(size, fn) { delegate.off('over-' + size, fn); }; delegate.offUnder = function(size, fn) { delegate.off('under-' + size, fn); }; function getChangedSizes(a, b, reverse) { var aDiff = a.filter(function(x) { return b.indexOf(x) < 0; }); var bDiff = b.filter(function(x) { return a.indexOf(x) lastWidth; var sizes = Responsive.currentBreakpoints(); var diff = getChangedSizes(lastSizes, sizes, expanded); diff.forEach(function(size) { var prefix = expanded ? 'over-' : 'under-'; delegate.emit(prefix + size); }); if (diff.length) { delegate.emit('breakpoint', sizes[0]); } lastSizes = sizes; lastWidth = width; } window.addEventListener('resize', Throttle(checkBreakpoints, 100)); return delegate; });require(['ta/p13n/placements'], function(placements) { var define = placements.define.bind(placements,'footer_banner_ad_billboard','handlers',['handlers']); define(['babel/babel-helpers', 'placement', 'cpm/ResponsiveBannerResizeHandler', 'utils/ResponsiveEvents', 'ta/Core/TA.Event'], function (babelHelpers, placement, bannerResizeHandler, responsiveEvents, taEvent) { var resizeTimeout = void 0; function _resizeHandler() { // cancel pending clearTimeout(resizeTimeout); resizeTimeout = setTimeout(function () { taEvent.fireEvent('responsiveAdSizeChanged'); }, 1000); } // Configure ads for pageload injection and monitor window resizes bannerResizeHandler.init(); responsiveEvents.offOver('mobile', function () { return _resizeHandler; }); responsiveEvents.onOver('mobile', function () { return _resizeHandler; }); responsiveEvents.offUnder('mobile', function () { return _resizeHandler; }); responsiveEvents.onUnder('mobile', function () { return _resizeHandler; }); responsiveEvents.offOver('desktop', function () { return _resizeHandler; }); responsiveEvents.onOver('desktop', function () { return _resizeHandler; }); responsiveEvents.offUnder('desktop', function () { return _resizeHandler; }); responsiveEvents.onUnder('desktop', function () { return _resizeHandler; }); });}); define('utils/resize-invalidated-cache', ['babel/babel-helpers'], function (babelHelpers) { 'use strict'; var CACHE_PROP = '__resize-cache'; var _lastResize = Date.now(); window.addEventListener('resize', function () { return _lastResize = Date.now(); }); return function (fn) { var cacheContext = fn[CACHE_PROP]; if (cacheContext == null || cacheContext.timestamp < _lastResize) { cacheContext = fn[CACHE_PROP] = { timestamp: _lastResize, value: fn() }; } return cacheContext.value; }; }); require(['ta/prwidgets'], function(widgets) { var define = widgets.define.bind(widgets,'common_ad_resp','handlers',['handlers']); define(["widget","ta/Core/TA.Event", "utils/responsive", "utils/ResponsiveEvents", "utils/resize-invalidated-cache"], function(widget, taEvent, responsiveUtil, responsiveEvents, getCachedValue) { var showingLargeAds; function _resizeHandler(widgetElem, showLargeAds) { if (showingLargeAds !== showLargeAds) { var largeAdsContainer = widgetElem.find('.largeScreen'); var largeAds = largeAdsContainer.find('.gptAd'); largeAds.toggleClass('inactive', !showLargeAds); largeAdsContainer.toggleClass('hidden', !showLargeAds); // don't need to manually refresh ads on initial call aka page-load if (showingLargeAds !== undefined) { taEvent.fireEvent('adSizeChanged'); } showingLargeAds = showLargeAds; } } function _init($) { var widgetElem = $(widget.element); var isMobile = getCachedValue(responsiveUtil.mobile); responsiveEvents.onOver('mobile', function(){_resizeHandler(widgetElem, true);}); responsiveEvents.onUnder('mobile', function(){_resizeHandler(widgetElem, false);}); _resizeHandler(widgetElem, !isMobile) } require(["lib/jquery-amd"],_init); }); });require(['ta/p13n/placements'], function(placements) { var define = placements.define.bind(placements,'attraction_coverpage','handlers',['handlers']); define(["placement", "lib/jquery-amd", "ta/prwidgets", "shelves/shelfEventHandlers", "mobile/lite/image-loader"], function(placement, $, prwidgets, shelfEventHandlers, imageLoader) { /** * Makes an ajax request with a payload and populates the placement view element with the response. * * @param event current event * @param args Shelf request data. Keys in the map should match the ones defined in com.TripResearch.shelves.ShelfAjaxRequestModel */ function _loadAttractionCoverpage(event, args) { if (!args) { return; } var required = { skipLocation: true }; var data = _buildFormattedDataForAjaxRequest($.extend(required, args)); var placementEl = $("#" + placement.id); function _onSuccess(responseText) { placementEl.html(responseText); prwidgets.initWidgets(placementEl.get(0)); imageLoader.init(200); $(document).trigger("datesShelvesSuccess"); } function _onFailure() { $(document).trigger("datesShelvesFailure"); } function _buildFormattedDataForAjaxRequest(args) { var requestData = {}; for (var key in args) { if (!args.hasOwnProperty(key)) { // not a direct property of p continue; } var param = args[key]; requestData[key] = (param && param.constructor === Array) ? param.join() : param; } return requestData; } placement.requestAJAXPlacement( _onSuccess, _onFailure, data); } function _trackScrollIntoView() { var pathname = window.location.pathname; // pathname returns "/" followed by servlet name and params var dashIndex = pathname.indexOf("-"); // delimiter between servlet and params var servletTracking = (pathname.length 0) ? pathname.substring(1, dashIndex) : pathname.substring(1); require(['trjs!ta/util/Element'], function() { ta.util.element.trackWhenScrolledIntoView('#' + placement.id, ['shelves_in_view', 'ExpABTestEligible:285', servletTracking]); }); } // this event can be triggered on the page to load this placement via ajax $(document).on('loadAttractionCoverpage', _loadAttractionCoverpage); shelfEventHandlers.initShelfListeners(); _trackScrollIntoView(); return { }; });});require(['ta/prwidgets'], function(widgets) { var define = widgets.define.bind(widgets,'shelves_attraction_product_shelf_item_widget','handlers',['handlers']); /*jshint unused:false */ define(["widget", "ta/Core/TA.Event", "ta", "ta/util/Element", "lib/jquery-amd"], function(widget, taEvent, ta, taElement, $) { ta.queueForLoad(trackTitleImpression); function shelfItemClick(event, element) { taEvent.fireEvent('shelf_item_click_event', event, element); event.stopPropagation(); } function trackShelfItemClick(event, element) { taEvent.fireEvent('track_shelf_item_click_event', event, element); event.stopPropagation(); } function trackTitleImpression() { var el = $(widget.element).find('.product_name'); taElement.trackWhenScrolledIntoView(el, ['attraction_product_title', 'impression', el.attr('data-tpatt'), el.attr('data-tpid')]); } function trackKidPricing(productCode, displayEnabled, hasKidPricing) { // TTD-11098: tracking for kids pricing var kidPricingClick = displayEnabled ? 'kidpricing_attraction_product_click' : 'kidpricing_attraction_product_click_control'; ta.trackEventOnPage('Attractions', kidPricingClick, productCode, hasKidPricing ? 1 : 0, false); } function trackCancelLabel(productCode, displayEnabled, has24HourCancellation) { // TTD-11243: tracking for free cancellation label var cancelLabelClick = displayEnabled ? 'freecancel_attraction_product_click' : 'freecancel_attraction_product_click_control'; ta.trackEventOnPage('AttractionProducts', cancelLabelClick, productCode, has24HourCancellation ? 1 : 0, false); } function hoverTooltip(event, elmt) { require(['trjs!overlays/uiOverlay'], function(uiOverlay) { uiOverlay(event, elmt); }); } function trackBookNowCtaClick() { ta.trackEventOnPage('CoverPage', 'Shelf_Product_CTA', '', false); } return { shelfItemClick: shelfItemClick, trackKidPricing: trackKidPricing, trackCancelLabel: trackCancelLabel, trackShelfItemClick: trackShelfItemClick, hoverTooltip: hoverTooltip, trackBookNowCtaClick: trackBookNowCtaClick }; });});require(['ta/prwidgets'], function(widgets) { var define = widgets.define.bind(widgets,'shelves_shelf_widget','handlers',['handlers']); /*jshint unused:false */ define(["widget", "ta/Core/TA.Event", "lib/jquery-amd"], function(widget, taEvent, $) { var pathname = window.location.pathname; //pathname returns "/" for home and "hotels" or "restaurants" etc. for other servlets var brandTrackArg = (pathname === '/') ? 'servletname_Home' : 'servletname_' + pathname.substring(1); function shelfSeeAllClick(event, element, sameTab, noTracking) { taEvent.fireEvent('shelf_see_all_click_event', event, element, sameTab, noTracking); event.stopPropagation(); } function trackShelfSeeAllClick(event, element) { taEvent.fireEvent('track_shelf_see_all_click_event', event, element); event.stopPropagation(); } function leftClick(){ var shelfWrapper = $('.unscoped_brand_scroll'); var leftArrow = $('.brand_scroll_arrow.left'); var rightArrow = $('.brand_scroll_arrow.right'); leftArrow.hide(); rightArrow.show(); shelfWrapper.removeClass('scrolled'); trackScrollClick(); } function rightClick(){ var shelfWrapper = $('.unscoped_brand_scroll'); var leftArrow = $('.brand_scroll_arrow.left'); var rightArrow = $('.brand_scroll_arrow.right'); leftArrow.show(); rightArrow.hide(); shelfWrapper.addClass('scrolled'); trackScrollClick(); } function trackFeaturedClick(){ require(["trjs!ta/Core/TA.Record"], function(taRecord) { taRecord.trackEventOnPage('pcb_campaign_trendinglander', 'click', brandTrackArg); }); } function trackScrollClick(){ require(["trjs!ta/Core/TA.Record"], function(taRecord) { taRecord.trackEventOnPage('pcb_campaign_trendingscroll', 'click', brandTrackArg); }); } return { shelfSeeAllClick: shelfSeeAllClick, trackShelfSeeAllClick: trackShelfSeeAllClick, leftClick: leftClick, rightClick: rightClick, trackFeaturedClick: trackFeaturedClick }; }); });define('utils/PersistentFooterHelper', ['babel/babel-helpers'], function (babelHelpers) { var VISIBILITY_CLASS = 'fixed'; var PersistentFooterHelper = function () { function PersistentFooterHelper(footer, pageContainer) { babelHelpers.classCallCheck(this, PersistentFooterHelper); this.placeholder = null; this.setFooter(footer); if (!pageContainer) { throw "pageContainer is not a DOM element"; } this.pageContainer = pageContainer; } babelHelpers.createClass(PersistentFooterHelper, [{ key: 'isVisible', value: function isVisible() { return this.footer && this.footer.className.indexOf(VISIBILITY_CLASS) > -1; } }, { key: ‘show’, value: function show() { this.footer.classList.add(VISIBILITY_CLASS); if (!this.placeholder) { this.createPlaceholder(); } this.placeholder.classList.remove(‘hidden’); this.placeholder.style.height = this.getHeight() + ‘px’; } }, { key: ‘hide’, value: function hide() { this.footer.classList.remove(VISIBILITY_CLASS); if (this.placeholder) { this.placeholder.classList.add(‘hidden’); } } }, { key: ‘getHeight’, value: function getHeight() { if (!this.isVisible()) { throw “Cannot get height in hidden state.”; } return this.footer.offsetHeight; } }, { key: ‘createPlaceholder’, value: function createPlaceholder() { if (!this.footer) { return; } this.placeholder = document.createElement(‘div’); this.placeholder.className += ” persistentFooterPlaceholder”; this.pageContainer.appendChild(this.placeholder); } }, { key: ‘setFooter’, value: function setFooter(footer) { if (!footer || footer.className.indexOf(‘ui_persistent_footer’) === -1) { throw “PersistentFooterHelper requires an element with class .ui_persistent_footer”; } this.footer = footer; } }]); return PersistentFooterHelper; }(); return PersistentFooterHelper; }); require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’showtopic_persistent_footer’,’handlers’,[‘handlers’]); define([‘placement’, ‘ta’, ‘utils/PersistentFooterHelper’, ‘ta/Core/TA.LocalStorage’], function(placement, ta, PersistentFooterHelper, taLocalStore) { ta.queueForLoad(function () { var SESSION_KEY_NAME = ‘st_dismissed_footer’; var placementElm, wrapper, pfHelper, closeBtn; placementElm = document.getElementById(placement.id); wrapper = placementElm.querySelector(‘.ui_persistent_footer’); if (wrapper != null) { if (!pfHelper) { pfHelper = new PersistentFooterHelper(wrapper, document.body); } if (taLocalStore.enabled) { var hasDismissedFooter = taLocalStore.getSessionKey(SESSION_KEY_NAME); if (!hasDismissedFooter) { if (placement.params.show_placement) { pfHelper.show(); } } } ctaBtn = wrapper.querySelector(‘.ctaBtn’); ctaBtn.addEventListener(“click”, function () { ta.trackEventOnPage(“stlpdl_rebirth”, “st_persistent_footer”, ‘click’, placement.params.version, true); }); closeBtn = wrapper.querySelector(‘.closeBtn’); closeBtn.addEventListener(“click”, function (event) { taLocalStore.setSessionKey(SESSION_KEY_NAME, true); pfHelper.hide(); ta.trackEventOnPage(“stlpdl_rebirth”, “st_persistent_footer”, ‘close’, placement.params.version, true); }); ta.trackEventOnPage(“stlpdl_rebirth”, “st_persistent_footer”, ‘impression’, placement.params.version, true); } }); return {}; });});require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’showtopic_attraction_interrupter’,’handlers’,[‘handlers’]); /* * Private JS for showtopic_attraction_interrupter */ define([“placement”], function (placement) { // Mimics ta.forums.hideHotelInterrupters, except for our attraction interrupter. function hideAttractionInterrupter(topicId) { var interrupter = document.getElementById(placement.id); if (topicId && interrupter) { interrupter.parentNode.removeChild(interrupter); // The cookie logic to hide the interrupters is still nominally centered on hotels, but it does function // correctly for our new ads; since this is just a test, we’re leaving it this way. new Request({url: “/HotelInterruptersAjax?hotelInterrupters_optout=” + topicId}).send(); } } return { “hideAttractionInterrupter”: hideAttractionInterrupter } });});require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’trip_planner_breadcrumbs’,’handlers’,[‘handlers’]); define([“placement”, “ta/Core/TA.FireEvent”, “utils/urlDecoder”], function(placement, taEvent, decoder) { “use strict”; function updateContents(contentDiv) { var placementDiv = document.getElementById(placement.id); if(placementDiv) { placementDiv.innerHTML = contentDiv.innerHTML; } } function _goToLink(event, element) { decoder.goToLink(event, element); } function onClick(key, value) { return require.defined(‘ta/util/Cookie’) && require(‘ta/util/Cookie’).setOneTimeCookie(key, value); } taEvent.on(“update-” + placement.name, updateContents); return { goToLink: _goToLink, onClick : onClick }; });});require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’vr_srp_listings’,’handlers’,[‘handlers’]); define([‘placement’, ‘lib/jquery-amd’, ‘utils/ajax’, ‘ta/util/Error’, ‘ta/Core/TA.LocalStorage’ ], function (placement, $, ajax, taError, localStorage ) { var ABANDONED_CART_INFO = “abandonedCart”; var _placement = $(‘#’ + placement.id); var addAbandonedCartCell = function () { var abandonedCart = localStorage.getObject(ABANDONED_CART_INFO); if (abandonedCart) { ajax({ url: ‘/MetaPlacementAjax’, data: { /* MetaPlacementAjax parameters */ placementName: ‘vr_abandoned_cart_cell’, skipLocation: true, assets: false, packagePrivateAssets: true, wrap: true, /* AbandonedCartCellRenderer parameters */ metaReferer: placement.servletName, geo: placement.location_id, // UrlArg.LOCATION_ID locationId: abandonedCart.locationId, // UrlArg.LOCATIONID checkIn: abandonedCart.checkIn, // UrlArg.CHECK_IN checkOut: abandonedCart.checkOut, // UrlArg.CHECK_OUT inquiryAdults: abandonedCart.inquiryAdults, // VacationRentalsAjax.PARAM_ADULTS numOfKids: abandonedCart.numOfKids // VRDetailUtil.PARAM_N_KIDS }, type: ‘POST’, evalScripts: false, success: function (data) { if (data.indexOf(“vr_listing”) < 0) { return; } var duplicateListing = $("#vrListing_" + abandonedCart.locationId); if (duplicateListing) { duplicateListing.closest(".vr_listing").remove(); } _placement.find(".vr_listing:eq(1)").after(data); }, error: function(e) { taError.record(e, 'Failed to retrieve abandoned cart cell'); } }); } }; addAbandonedCartCell(); return { }; });}); define('ta/util/CommonMessagingUtil', [ "lib/jquery-amd", 'ta/Core/TA.LocalStorage', "ta/support/Qualtrics", "ta/util/SessionStorage", "common/Radio" ], function( $, localStorage, qualtrics, taSessionStorage, Radio ) { 'use strict'; var storageViewString = "_view_count"; var storageDisabledString = "_is_disabled"; var storageDismissedString = "_times_dismissed"; var storageDisabledForTodayString = "_disabled_for_day"; var adhesionRadio = Radio('cpm_mw_adhesion'); function getCurrentPageViews(thumbPrint) { if (localStorage.enabled) { var storedViews = localStorage.get(thumbPrint + storageViewString); return storedViews ? parseInt(storedViews) : 0; } return null; } function incrementPageViews(thumbPrint) { if (localStorage.enabled && thumbPrint) { var pageViewKey = thumbPrint + storageViewString; localStorage.set(pageViewKey, getCurrentPageViews(thumbPrint) + 1); } } function getNumberOfTimesDismissed(thumbPrint) { if (localStorage.enabled) { var timesDismissed = localStorage.get(thumbPrint + storageDismissedString); return timesDismissed ? parseInt(timesDismissed) : 0; } return 0; } function incrementNumberOfTimesDismissed(thumbPrint) { if (localStorage.enabled && thumbPrint) { var timesDismissedKey = thumbPrint + storageDismissedString; localStorage.set(timesDismissedKey, getNumberOfTimesDismissed(thumbPrint) + 1); } } function isPlacementDisabled(thumbPrint) { if (localStorage.enabled) { var keyExists = localStorage.get(thumbPrint + storageDisabledString); return !!keyExists; } return false; } function disablePlacement(thumbPrint) { if (localStorage.enabled && thumbPrint) { localStorage.set(thumbPrint + storageDisabledString, "true"); } } function setPlacementDisabledForToday(thumbPrint) { var today = new Date().getDate(); if(localStorage.enabled && thumbPrint) { var closedTodayKey = thumbPrint + storageDisabledForTodayString; localStorage.set(closedTodayKey, today.toString()); } } function isPlacementDisabledForToday(thumbPrint) { var today = new Date().getDate(); if(localStorage.enabled && thumbPrint) { var closedTodayKey = thumbPrint + storageDisabledForTodayString; var keyFound = localStorage.get(closedTodayKey); return keyFound ? keyFound === today.toString() : false; } return false; } function setPlacementGroupKey(groupKey) { var today = new Date().getDate(); if (localStorage.enabled) { localStorage.set(groupKey, today.toString()); } } function checkPlacementGroupKey(groupKey) { var today = new Date().getDate(); if (localStorage.enabled) { var keyFound = localStorage.get(groupKey); return keyFound ? keyFound === today.toString() : false; } } function _displayPlacementIfNoSurveyNorAdIsPresent(_shouldCheckSurvey, _suppressPlacement, _displayPlacement) { if (_shouldCheckSurvey && typeof(_shouldCheckSurvey) === "function" && _shouldCheckSurvey()) { if (qualtrics.seenThisPageView() || qualtrics.canDisplaySmart() || qualtrics.canDisplay()) { return; } } if (_suppressPlacement && typeof(_suppressPlacement) === "function" && _suppressPlacement()) { return; } if (_displayPlacement && typeof(_displayPlacement) === "function") { if (document.getElementById("FIXED_AD")) { if (taSessionStorage.canUseSessionStore() && taSessionStorage.getObject('ads.fixed.close')) { _displayPlacement(); } else { adhesionRadio.once('ad_closed', function() { _displayPlacement(); }); } } else { _displayPlacement(); } } } function parseServletName(servletName) { return servletName.toLowerCase().replace("mobile", ""); } return { getCurrentPageViews: getCurrentPageViews, incrementPageViews: incrementPageViews, getNumberOfTimesDismissed: getNumberOfTimesDismissed, incrementNumberOfTimesDismissed: incrementNumberOfTimesDismissed, isPlacementDisabled: isPlacementDisabled, disablePlacement: disablePlacement, setPlacementDisabledForToday : setPlacementDisabledForToday, isPlacementDisabledForToday: isPlacementDisabledForToday, setPlacementGroupKey: setPlacementGroupKey, checkPlacementGroupKey: checkPlacementGroupKey, parseServletName: parseServletName, displayPlacementIfNoSurveyNorAdIsPresent:_displayPlacementIfNoSurveyNorAdIsPresent } });require(['ta/p13n/placements'], function(placements) { var define = placements.define.bind(placements,'global_nav_action_inbox','handlers',['handlers']); /** * Private handlers of global_nav_action_inbox */ define([ 'placement', 'vanillajs', 'lib/jquery-amd', 'common/Radio', 'ta/Core/TA.Record', 'ta/util/CommonMessagingUtil' ], function( placement, vanilla, $, Radio, taRecord, commonMessagingUtil ) { var overlay; var INBOX_TRACKING_PID = 40186; // TRVX-5924 var INBOX_JEWEL_TEST_PID = 40405; var inboxJewelTestThumbprint = 'Membership_Inbox_Jewel_Test'; var maxViewsForJewelTest = 3; var test_click = false; var login_click = false; Radio('global-nav-inbox').on('open', function(triggerEl, bottomLeftOffset) { _showDropdownForComponentTrigger(triggerEl, bottomLeftOffset); }); function _showDropdownForComponentTrigger(context) { context.receivedCallback && context.receivedCallback(); if ($('.inbox-flyout-container').length && overlay) { overlay.destroy(); } else { var triggerEl = context.el; var bottomLeftOffset = context.bottomLeftOffset; _showDropdownAtTrigger(undefined, triggerEl, bottomLeftOffset); } } function _showDropdownForPlacementTrigger(inboxJewelTestEl) { _showDropdownAtTrigger(inboxJewelTestEl, $('.masthead-inbox-icon')[0]); } function _showDropdownAtTrigger(inboxJewelTestEl, target, bottomLeftOffset) { var container = $('#' + placement.id); var reqs = ['trjs!overlays/Overlay', 'trjs!overlays/styles/flyout', 'trjs!overlays/options/closeOnDocClick', 'trjs!overlays/position', 'trjs!overlays/options/destroyOnHide', 'trjs!overlays/options/autoReposition', 'ta/registration/RegOverlay', 'trjs!unifiedinbox/inbox-lander', 'trcss!unified_inbox_lander' ]; require(reqs, function(Overlay, Flyout, CloseOnDocClick, Position, DestroyOnHide, AutoReposition, RegOverlay, InboxLander, styleSheetOK) { // Create a new overlay var contents = $('.inbox-nav-contents', container).clone()[0]; contents.classList.remove("hidden"); // Login clicks should bring up the registration overlay. if ($(".login-cta", contents).length) { var loginButton = $('.login-cta span', contents); loginButton.click(function () { // Tracking for if the login click occurred as a result of the Inbox Jewel Test if (inboxJewelTestEl && test_click){ login_click = true; taRecord.trackEventOnPage('reg_trigger', 'mgp_click_login', 'Inbox Jewel Notification Log In Click | Nav | mgp_drs_mem', INBOX_JEWEL_TEST_PID); } overlay.destroy(); RegOverlay.show({type: 'dummy'}, null, { flow: 'CORE_COMBINED', pid: 40472, userRequestedForce: true, onSuccess: function() { $(".login-cta", container).remove(); $(".inbox-nav-dropdown", container).removeClass("with-login-cta"); }.bind(this), }); }); } else { // Add the loading skeleton var loadingItem = $(".js-inbox-lander-thread-list-item.loading", contents); var inboxMastheadWrapper = $(".inbox-masthead-wrapper", contents); var newLoadingItem; for (var loadingCount = 0; loadingCount = maxViewsForJewelTest) { commonMessagingUtil.disablePlacement(inboxJewelTestThumbprint); } // Show jewel as part of test if not disabled if (!commonMessagingUtil.isPlacementDisabledForToday(inboxJewelTestThumbprint) && !commonMessagingUtil.isPlacementDisabled(inboxJewelTestThumbprint) && inboxJewelTestEl.hasClass('valid-for-test')) { $('.inbox-jewel-test', container).removeClass('hidden'); // If jewel shows, track on page taRecord.trackEventOnPage('reg_trigger', 'mgp_view', 'Inbox Jewel Notification | Nav | mgp_drs_mem', INBOX_JEWEL_TEST_PID); } } } } /* * Setup click and event handlers. */ function _setupHandlers() { var container = $('#' + placement.id); var inboxJewelTestEl = $(".inbox-jewel-test", container); /** * Hide ui_jewel for inbox jewel test if view limit has been reached and track */ _setUpJewelTest(container, inboxJewelTestEl) // Clicks on the jewel should show or hide the overlay. $('.masthead-inbox-icon, .ui_jewel', container).click(function (e) { e.stopPropagation(); // If jewel showing as part of TRVX-5924 if (inboxJewelTestEl && !inboxJewelTestEl.hasClass('hidden')) { taRecord.trackEventOnPage('reg_trigger', 'mgp_click', 'Inbox Jewel Notification | Nav | mgp_drs_mem', INBOX_JEWEL_TEST_PID); commonMessagingUtil.setPlacementDisabledForToday(inboxJewelTestThumbprint); commonMessagingUtil.incrementPageViews(inboxJewelTestThumbprint); test_click = true; // Adding 'no_unread' tracking here // If inbox jewel test is active, the jewel will not be hidden and there are no unread inbox messages taRecord.trackEventOnPage('Inbox|Dropdown', 'icon_jewel_click', 'no_unread', INBOX_TRACKING_PID); } else if ($('.ui_jewel', container).length && $('.ui_jewel', container).hasClass('hidden')) { taRecord.trackEventOnPage('Inbox|Dropdown', 'icon_jewel_click', 'no_unread', INBOX_TRACKING_PID); } else if ($('.ui_jewel', container).length) { taRecord.trackEventOnPage('Inbox|Dropdown', 'icon_jewel_click', 'has_unread', INBOX_TRACKING_PID); } if ($('.masthead-inbox-icon', container).attr('data-on-inbox')) { window.location = '/Inbox'; } else { if ($(".inbox-flyout-container").length && overlay) { overlay.destroy(); } else { _showDropdownForPlacementTrigger(inboxJewelTestEl); } } }); // Clicks on a thread should hide the overlay. Radio('inbox').on( 'thread_clicked', function(evnt) { if (overlay) { overlay.destroy(); } } ); // Hide or show the jewel as appropriate. Radio('inbox').on( 'has_unread_conversations', function(evnt) { var jewelEls = $('.ui_jewel', container); if(jewelEls !== 'undefined' && jewelEls.length > 0) { jewelEls.each(function (i, elem) { if (!$(elem).hasClass(‘inbox-jewel-test’)) { $(elem).removeClass(‘hidden’); } }) } } ); Radio(‘inbox’).on( ‘no_unread_conversations’, function(evnt) { var jewelEls = $(‘.ui_jewel’, container); if(jewelEls !== ‘undefined’ && jewelEls.length > 0) { jewelEls.each(function(i, elem) { if (!$(elem).hasClass(‘inbox-jewel-test’)) { $(elem).addClass(‘hidden’); } }) } } ); Radio(‘inbox’).on( ‘setup_handler’, function() { _setupHandlers(); } ); } /* * Setup the icon click handler. */ _setupHandlers(); return { }; }); });require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’global_nav’,’handlers’,[‘deferred/lateHandlers’,’handlers’]); /* jshint newcap:false */ define([ ‘placement’, ‘lib/jquery-amd’, ‘common/Radio’, ‘ta/registration/RegEvents’, ‘utils/throttle’, ‘utils/asdf-encoder’ ], function( placement, $, Radio, RegEvents, throttle, asdf ) { ‘use strict’; var TRACKING_CATEGORY = “TopNav”; var placementEl = $(‘#’ + placement.id); var radio = Radio(‘global-nav’); var oldOverlay = null; var mastheadSavesApp = null; var persistentIcons = $(‘.persistent-icons’, placementEl); var navIcons = $(‘.global-nav-icons’, persistentIcons); var logo = $(‘.global-nav-logo’, persistentIcons); var logo2018 = $(‘.global-nav-logo-2018’, placementEl); var pill = $(‘[data-placement-name=”global_nav_geopill”]’, placementEl); var radioCandyBarLinks = Radio(‘candy-bar-quick-links’); var $global_nav_bottom = $(‘.global-nav-bottom’, placementEl); var radioScrollGeoPill = Radio(‘tripsearch-scroll-geo-pill’); // Trigger in ‘placements/global_nav_action_trips/handlers’ radio.on(‘run-my-trips-test-3’, function() { openMyTrips(false, true); }); radioScrollGeoPill.on(‘hide-on-header’, function(shouldHide) { if (logo2018) { logo2018.toggleClass(‘is-hidden-mobile’, !shouldHide); } }); // Update Global Nav content var _onSuccessLoginRefresh = (function(response) { window.userLoggedIn = true; // We need this refresh logic only in the placements version of the header. // The web components header is used inside of this placement so we need to specifically // avoid replacing this content upon login. var isComponents = placementEl.find(‘[data-non-components]’).length == 0; if (!isComponents) { var container = document.querySelector(‘#’ + placement.id); var responseDOM = document.createElement(‘div’); responseDOM.innerHTML = response; // preserve web components by moving each from page DOM into response DOM // assumes only one instance of each web component [].forEach.call(responseDOM.querySelectorAll(‘.react-container’), function(newComponent) { var oldComponent = container.querySelector(‘[data-component=”‘ + newComponent.getAttribute(‘data-component’) + ‘”]’); if (oldComponent) { newComponent.parentNode.replaceChild(oldComponent, newComponent); } }); // refresh var oldGlobalNav = container.querySelector(‘.global-nav’); var newGlobalNav = responseDOM.querySelector(‘.global-nav’); oldGlobalNav.parentNode.replaceChild(newGlobalNav, oldGlobalNav); if (oldOverlay) { oldOverlay.hide(‘replace-el’); } } else { // If this is the components nav then we need to pull in the inbox placement contents from the // response and drop them into a special area meant for placements that we currently still depend // on. E.g., inbox dropdown can’t be made into a component without API rework. var $legacyActions = placementEl.find(‘.components-nav-legacy-actions’); var actionsResponse = $(“”).html(response).find(‘.components-nav-legacy-actions’).html(); $legacyActions.html(actionsResponse); } Radio(‘inbox’).trigger(‘setup_handler’); }).bind(placementEl); var _getRequestOptionsForLoginRefresh = function() { return { // This should not be necessary, but for some reason placements // seems tightly coupled with the location store skipLocation: placement.location_id allEls.offset().top; }); var elsToShow = $().add(hiddenEls).add(collapsedEls).clone(); var menuEl = placementEl.find(‘.global-nav-links-menu-more’).clone(); menuEl.prepend(elsToShow); var reqs = [‘trjs!overlays/Overlay’, ‘trjs!overlays/styles/flyout’, ‘trjs!overlays/options/closeOnMouseAway’, ‘trjs!overlays/position’, ‘trjs!overlays/options/destroyOnHide’ ]; require(reqs, function(Overlay, Flyout, CloseOnMouseAway, Position, DestroyOnHide) { // xli: hacky solution for sky rollout 4/1 (ADS-7383, ADS-7180) var aboveContentOffset = $(‘.ppr_priv_global_nav_component’).offset(); var hasSky = !!$(‘.skyExpanded’).length; var updatedYOffset = hasSky && aboveContentOffset ? 1 – aboveContentOffset.top : 1; var overlay = new Overlay(elmt[0], new Flyout(menuEl[0], ‘global-nav-flyout global-nav-menu’), CloseOnMouseAway, Position.bottomRight([0, updatedYOffset]), DestroyOnHide); overlay.domParent = placementEl.find(‘.global-nav-overlays-container’)[0]; overlay.show(); elmt.find(‘.ui_tab’).addClass(‘hovering’); overlay.on(‘hide’, function() { elmt.find(‘.ui_tab’).removeClass(‘hovering’); }); oldOverlay = overlay; }); }); // Help Center MW Overlay placementEl.on(‘click’, ‘#global-nav-HelpDesk’, function (evt) { evt.preventDefault(); var sourceElem = this; var reqs = [‘trjs!overlays/Overlay’, ‘trjs!overlays/styles/modal’, ‘trjs!overlays/options/closeOnEscape’, ‘trjs!overlays/position’, ‘trjs!overlays/options/closeOnDocClick’, ‘trjs!overlays/options/ajax’, ‘trcss!src/build/required/help_center_overlay’ ]; require(reqs, function(Overlay, Modal, CloseOnEscape, Position, CloseOnDocClick, Ajax, styleSheetOK){ var overlay = new Overlay(sourceElem, [ Modal(null, ”, ‘help_center’), CloseOnEscape, Position.cssCentered(), CloseOnDocClick, Ajax(“/uvpages/helpCenterOverlay.html”) ]); overlay.show(); radio.emit(‘overlay-show’); }); }); // When clicking on my trips placementEl.on(‘click’, ‘.masthead-saves’, function(evt) { if (mastheadSavesApp) { if (oldOverlay) { oldOverlay.hide(‘new-overlay’); } mastheadSavesApp && mastheadSavesApp.destroy() && (mastheadSavesApp = null); require([‘trjs!ta/Core/TA.Record’], function(taRecord) { taRecord.trackEventOnPage(‘TopNav’, ‘mytrips_dropdown_cancel’); }); } else { openMyTrips(false, false, evt.currentTarget); $(evt.currentTarget).find(‘.ui_icon’).addClass(‘hovering’); } }); // My Trips – Remove through CX-2542 var openMyTrips = function(inCreateTripFlow, runTest3, elmt) { if (oldOverlay) { oldOverlay.hide(‘new-overlay’); } var reqs = [‘trjs!overlays/Overlay’, ‘trjs!overlays/styles/flyout’, ‘trjs!overlays/options/closeOnDocClick’, ‘trjs!overlays/position’, ‘trjs!overlays/options/destroyOnHide’, ‘trjs!overlays/options/autoReposition’, ‘trjs!ta/Core/TA.Record’ ]; require(reqs, function(Overlay, Flyout, CloseOnDocClick, Position, DestroyOnHide, AutoReposition, taRecord) { // Get reference element var $refElem = $(‘.masthead-saves’); // Create a new overlay var overlay = new Overlay( $refElem[0], new Flyout(”, ‘global-nav-flyout global-nav-utility trips-flyout-container’), CloseOnDocClick.withoutTouchEvents, $refElem.data(‘nav-2018-enabled’) ? Position.bottomLeft([($refElem.width()/2)-34, 9]) : Position.bottomLeft([-20, -3]), DestroyOnHide, AutoReposition ); overlay.domParent = placementEl.find(‘.global-nav-overlays-container’)[0]; overlay.show(); placementEl.find(‘.trips-flyout-container’).addClass(‘hide-arrow’); // To make sure the overlay arrow is shown together with the masthead saves view oldOverlay = overlay; require([‘trdust!masthead-saves-dust’, ‘trdust!styleguide-dust’, ‘trjs!masthead-saves’, ‘trcss!masthead-saves’], function(dustModule, module, styleSheetOK) { setTimeout(function () { mastheadSavesApp = new window.MastheadSavesApp(); mastheadSavesApp.start({ inCreateTripFlow: inCreateTripFlow, runTest3: runTest3 }); overlay.on(‘hide’, function(evt) { mastheadSavesApp && mastheadSavesApp.destroy() && (mastheadSavesApp = null); taRecord.trackEventOnPage(‘TopNav’, ‘mytrips_dropdown_cancel’); if (elmt) { $(elmt).find(‘.ui_icon’).removeClass(‘hovering’); } }); placementEl.find(‘.trips-flyout-container’).removeClass(‘hide-arrow’); }, 0); }); }); }.bind(placementEl); // Profile Link: When clicking on a utility link, open the submenu, if one is available placementEl.on(‘click’, ‘.global-nav-utility-activator’, function(evt) { var elm = $(this); // Is there a submenu to show? var menuEl = placementEl.find(elm.data(‘element’)).clone(); if (!menuEl.length) { return; } if (oldOverlay) { if (oldOverlay.sourceElement == this){ oldOverlay.isOpen() ? oldOverlay.hide(‘close’) : oldOverlay.show(); return; // don’t re-open the same overlay. } else { oldOverlay.hide(‘new-overlay’); } } // Create a new overlay menuEl = menuEl.clone(); var reqs = [‘trjs!overlays/Overlay’, ‘trjs!overlays/styles/flyout’, ‘trjs!overlays/options/closeOnDocClick’, ‘trjs!overlays/position’, ‘trjs!overlays/options/autoReposition’ ]; require(reqs, function(Overlay, Flyout, CloseOnDocClick, Position, AutoReposition) { var overlay = new Overlay(elm[0], new Flyout(menuEl[0], ‘global-nav-flyout global-nav-utility’), CloseOnDocClick, elm.data(‘nav-2018-enabled’) ? Position.bottomLeft([(elm.outerWidth()/2)-34, 12]) : Position.bottomLeft([-20, -3]), AutoReposition); overlay.domParent = placementEl.find(‘.global-nav-overlays-container’)[0]; overlay.show(); elm.addClass(‘menu-open’); $(evt.currentTarget).find(‘.ui_icon’).addClass(‘hovering’); overlay.on(‘hide’, function() { elm.removeClass(‘menu-open’); $(evt.currentTarget).find(‘.ui_icon’).removeClass(‘hovering’); }); oldOverlay = overlay; }); }); // Trackng: Logo clicks placementEl.on(‘click’, ‘.global-nav-logo’, function() { require([‘trjs!ta/Core/TA.Record’], function(taRecord) { taRecord.setEvtCookie(‘TopNav_’ + window.pageServlet, ‘click’, ‘TAlogo’, 0, ‘/Home’); }); }); // Hide or show the jewel as appropriate. Radio(‘inbox’).on( ‘has_unread_conversations’, function(evnt) { placementEl.find(‘.global-nav-hamburger .ui_jewel.unread’).removeClass(‘hidden’); placementEl.find(‘.nav-sub-link.inbox .icon-and-jewel’).removeClass(‘hidden’); } ); Radio(‘inbox’).on( ‘no_unread_conversations’, function(evnt) { placementEl.find(‘.global-nav-hamburger .ui_jewel.unread’).addClass(‘hidden’); placementEl.find(‘.nav-sub-link.inbox .icon-and-jewel’).addClass(‘hidden’); } ); // Mobile Web Global Nav Persistent Icons function checkForPersistentIcons() { var offsetPosition = $(window).scrollTop(); if (navIcons.length) { // A – Sideways default state: Logo and icons together, geo pill on second line // B – Sideways 1st scroll (down): Icons animate to geo pill, logo scrolls out of view // C – Sideways 2nd scroll (down): Icons locked to geo pill, all elements scroll out of view // // A – Internal default state: No logo, geo pill and icons on first line // B – Internal 1st scroll (down): Icons locked to geo pill, all elements scroll out of view // C – Internal 1st scroll (up): Icons animate to logo, logo scrolls into view // // Adjust icons to placements: Logo then Geopill when available if (pill.is(‘:visible’)) { var calculatePlacementInView = placementEl.height() – offsetPosition; // Keep icons confined to scrollable area on DW & MW (avoids snap-into-view on MW) if (offsetPosition 0) { if (offsetPosition > 0 && offsetPosition <= 50) { navIcons.css({ 'position': 'absolute', 'top': offsetPosition, 'bottom': 'auto' }); } // When the icons reach the end of the scrollable area, lock them to the geo pill else if (calculatePlacementInView placementEl.offset().top); } } // Default scroll position for responsive views positionSecondView(); var positionGlobalNav = throttle(checkForPersistentGlobalNav, 100); $(window).scroll( function() { checkForPersistentIcons(); positionGlobalNav(); }); radioCandyBarLinks.on('border-top', function(shouldHide) { $global_nav_bottom.toggleClass('home_ui_tabs', shouldHide); }); // Tracking for links in submenus works by looking up the active-menu-trigger // (link that triggered the dropdown) and using it's tracking-label as a prefix placementEl.on('click', 'a.global-nav-link[data-tracking-label]', function(event) { var trackingLabel = $(event.target).data('trackingLabel'); // Handle links to /# (Help Center) or links opening new window require(['trjs!ta/Core/TA.Record'], function(taRecord) { if("HelpDesk" === trackingLabel || event.target.target == '_blank') { taRecord.trackEventOnPage(TRACKING_CATEGORY, 'click', trackingLabel); } else { taRecord.setEvtCookie(TRACKING_CATEGORY, 'click', trackingLabel, 0, event.target.href); } }); }); function clickLogoLink(event, target) { event.preventDefault(); var link = target.getAttribute('data-ahref') ? asdf.asdf(target.getAttribute('data-ahref')).replace(/&/g, '&') : '/'; window.open(link, '_self'); } return { checkForPersistentIcons: checkForPersistentIcons, checkForPersistentGlobalNav: checkForPersistentGlobalNav, clickLogoLink: clickLogoLink }; }); }); define('overlays/options/autosize', ['vanillajs', 'api-mod'], function(vanilla, api) { 'use strict'; return function(padding){ return function(){ var autosize = function (){ var el = api.find('.autosize', this.container); if (el){ var vH = Math.max(document.documentElement.clientHeight, window.innerHeight || 0) - padding; var oH = api.getSize(this.container).y; if (oH > vH){ var eH = api.getSize(el).y; this.container.style.height = vH + ‘px’; var h = (eH + vH – oH) + ‘px’; var css = document.createElement(‘style’); css.type = ‘text/css’; css.innerHTML = this.container.className .split(‘ ‘) .map(function(c){ return ‘.’ + c; }) .join(”) + ‘ .autosize { height: ‘ + h + ‘; }’; document.head.appendChild(css); } } }; this.on(‘show’, autosize); }; }; }); define(‘overlays/options/centerArrowOnSrcElement’, [‘vanillajs’, ‘api-mod’], function(vanilla, api){ ‘use strict’; var option = function(target){ function positionArrow() { target = target || this.sourceElement; if (this.container && target && this.arrow) { var containerCoords = api.getCoords(this.container) , sourceCoords = api.getCoords(target) , horizontal = api.hasClass(this.container, “arrow_top”) || api.hasClass(this.container, “arrow_bottom”) ; if (horizontal) { var center = sourceCoords.left + sourceCoords.width / 2 , arrowBuffer = api.getSize(this.arrow).x / 2 , left = Math.max(arrowBuffer, Math.min(containerCoords.width – arrowBuffer, center – containerCoords.left)) ; api.setStyle(this.arrow, { ‘left’: left + ‘px’, ‘right’: ‘auto’, ‘margin’: ‘0 0 0 -‘ + arrowBuffer + ‘px’ }); } else { var center = sourceCoords.top + sourceCoords.height / 2 , arrowBuffer = api.getSize(this.arrow).y / 2 , top = Math.max(arrowBuffer, Math.min(containerCoords.height – arrowBuffer, center – containerCoords.top)) ; api.setStyle(this.arrow, { ‘top’: top + ‘px’, ‘bottom’: ‘auto’, ‘margin’: ‘-‘ + arrowBuffer +’px 0 0 0’ }); } } } return function() { this.on(‘show’, api.bind(positionArrow, this)); this.on(‘positionDirty’, api.bind(positionArrow, this)); this.on(‘repositionArrow’, api.bind(positionArrow, this)); } }; return option; }); define(‘overlays/options/closeOnChildClick’, [‘vanillajs’, ‘api-mod’], function(vanilla, api){ ‘use strict’; function hide(evnt){ if (api.containsElement(this.container, evnt.target)) { this.hide(‘child-click’); } } function makeMixin(includeTouchEvents) { return function() { var handler = api.bind(hide, this); this.on(‘show’, function () { api.addEvent(this.domParent, ‘click’, handler); includeTouchEvents && api.addEvent(this.domParent, ‘touchstart’, handler); }).on(‘hide’, function () { api.removeEvent(this.domParent, ‘click’, handler); includeTouchEvents && api.removeEvent(this.domParent, ‘touchstart’, handler); }); }; } var option = makeMixin(true); option.withoutTouchEvents = makeMixin(false); return option; }); require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’shopping_cart_simple_flyout’,’handlers’,[‘handlers’]); define( [ ‘placement’, ‘lib/jquery-amd’, ‘overlays/Overlay’, ‘overlays/options/autosize’, ‘overlays/options/autoReposition’, ‘overlays/options/centerArrowOnSrcElement’, ‘overlays/options/closeOnChildClick’, ‘overlays/options/closeOnEscape’, ‘overlays/position’, ‘overlays/styles/popover’, ‘ta/Core/TA.Record’ ], function( placement, $, Overlay, Autosize, AutoReposition, CenterArrowOnSrcElement, CloseOnChildClick, CloseOnEscape, Position, Popover, taRecord ) { ‘use strict’; function SimpleFlyout(targetElement, header, body, cookieId, pageProperty) { var overlay = undefined; function _showAlert() { if (overlay) { return; } overlay = new Overlay( targetElement, [ Popover(targetElement, ‘below’, ”, header.html(), body.html()), Autosize(0), AutoReposition, CloseOnEscape, CloseOnChildClick, Position.below([8, -20]), CenterArrowOnSrcElement(targetElement) ]); if (overlay) { overlay.on(‘hide’, function() { taRecord.trackEventOnPage(pageProperty, ‘close’); }); overlay.show(); // bounce the cart $(targetElement).addClass(‘animated’); // request to mark session as seen. if (cookieId) { $.get(‘/AttractionCommerceAjax?a=’ + cookieId); } } } this.show = _showAlert; } var content = $(‘.scream_overlay’); var flyout = new SimpleFlyout($(‘.shopping-cart-link’).get(0), $(‘.scream_header’), $(‘.scream_body’), content.attr(‘data-cookieId’), content.attr(‘data-pageProperty’)); $(document).ready(flyout.show); return {}; }); });require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’masthead_search’,’handlers’,[‘deferred/lateHandlers’,’handlers’]); /* jshint newcap:false */ /** * Private javascript for masthead_search placement */ define([“placement”, “ta/Core/TA.Store”, “common/Radio”], function (placement, taStore, Radio) { function prepareTypeaheadParameters() { if (placement.params && ‘typeahead_to_store’ in placement.params) { var propertiesToStore = placement.params.typeahead_to_store; if (propertiesToStore) { for (var property in propertiesToStore) { if (propertiesToStore.hasOwnProperty(property)) { taStore.store(property, propertiesToStore[property]); } } } } } prepareTypeaheadParameters(); var options = taStore.retrieve(“typeahead_dual_search_options”); placement.require([“trjs!deferred/lateHandlers”], function (lh) { Radio(“masthead_search”).on(‘open’, function () { lh.showSearchOverlay(); }); }); return { getOptions: function () { return options; } }; }); });require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’browser_mode_tracking’,’handlers’,[‘handlers’]); define([ ‘placement’, ‘ta/Core/TA.Event’, ‘ta/Browser’, ‘ta/Core/TA.Record’, ‘ta/util/SessionStorage’ ], function(placement, taEvent, taBrowser, taRecord, taSessionStorage){ var browserName; var sessionStoreKey = placement.id + ‘_browser_mode_tracked’; function _trackBrowserMode (resultStr) { taRecord.trackEventOnPage(‘BROWSER_TRACKING’, browserName, resultStr, null, true); } taEvent.queueForLoad(function(){ if (taSessionStorage.canUseSessionStore() && sessionStorage.getItem(sessionStoreKey)) { // already tracked return; } else { if (taBrowser.isChrome()) { browserName = “Chrome”; taBrowser.isChromeIncognito(_trackBrowserMode); taSessionStorage.canUseSessionStore() && sessionStorage.setItem(sessionStoreKey, ‘1’); } } }); });}); define(“cpm/AdBlockDetect”, [“lib/jquery-amd”,”utils/browserutils”,”ta/Core/TA.Event”,”ta/Core/TA.Record”,”ta/util/Error”], function( $, Browser, taEvent, taRecord, taError) { ‘use strict’; var exports = {}; var _testImg; var DEFAULT_LABEL = “ab_chk”; var _isPixelLoadError; var _logged = false; var _cdn = window.CDNHOST || “”; var _pixelUrl = “/img2/x.gif?&ads=1&adsize=2&adslot=3&rnd=”; var _generatePixel = function() { var rnd = Math.floor(Math.random() * 100000); return $(‘‘); }; var _getAdCount = function() { var count = document.querySelectorAll(“.gptAd:not(.inactive)”).length; if (screen.width SCROLL_BUFFER) { $(surveyContainerClassName).hide(); } }; $(window).on(‘scroll’, throttle(hide, 100)); } var surveyRadio = Radio(“QualtricsSurvey”); // use radio so this functionality can be added to WC footer easily window.addEventListener(“qsi_js_loaded”, function() { // this event is fired when the Qualtrics external JS has finished loading if (surveyRadio.requestAny(“shouldSuppress”, true)) { $(surveyContainerClassName).hide(); } }); surveyRadio.on(“hide”, function() {$(surveyContainerClassName).hide();}); surveyRadio.on(“show”, function() {$(surveyContainerClassName).show();}); } } }); return { }; }); });require([‘ta/p13n/placements’,’$prp/global_nav/handlers’], function(placements, impl) { window.ta.plc_global_nav_0_handlers = placements.load(‘global_nav’,’handlers.js’, { ‘name’: ‘global_nav’, ‘occurrence’: 0, ‘id’: ‘taplc_global_nav_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“deferred/lateHandlers”,”handlers”], ‘params’: {}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/global_nav_links/handlers’], function(placements, impl) { window.ta.plc_global_nav_links_0_handlers = placements.load(‘global_nav_links’,’handlers.js’, { ‘name’: ‘global_nav_links’, ‘occurrence’: 0, ‘id’: ‘taplc_global_nav_links_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {“geopillOnHome”:false}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/global_nav_action_inbox/handlers’], function(placements, impl) { window.ta.plc_global_nav_action_inbox_empty_0_handlers = placements.load(‘global_nav_action_inbox’,’handlers.js’, { ‘name’: ‘global_nav_action_inbox:empty’, ‘occurrence’: 0, ‘id’: ‘taplc_global_nav_action_inbox_empty_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/trip_planner_breadcrumbs/handlers’], function(placements, impl) { window.ta.plc_trip_planner_breadcrumbs_0_handlers = placements.load(‘trip_planner_breadcrumbs’,’handlers.js’, { ‘name’: ‘trip_planner_breadcrumbs’, ‘occurrence’: 0, ‘id’: ‘taplc_trip_planner_breadcrumbs_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/masthead_search/handlers’], function(placements, impl) { window.ta.plc_masthead_search_empty_0_handlers = placements.load(‘masthead_search’,’handlers.js’, { ‘name’: ‘masthead_search:empty’, ‘occurrence’: 0, ‘id’: ‘taplc_masthead_search_empty_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“deferred/lateHandlers”,”handlers”], ‘params’: {“typeahead_to_store”:{“typeahead_new_location_label”:”NEW LOCATION”,”typeahead.aliases.travel_insurance”:[“insurance”,”travel insurance”,”trip insurance”,”annual travel insurance”],”typeahead.aliases.flight_reviews”:[“flight reviews”,”airline reviews”],”typeahead_throttle_requests”:”true”,”typeahead.aliases.rental_cars”:[“Rental Cars”,”Car Rentals”],”typeahead_cruise_ships_enabled”:”true”,”typeahead.aliases.activities”:[“Tours and Tickets”,”Tours & Tickets”],”typeahead.aliases.things_to_do”:[“Things to do”,”Thing to do”,”attractions”,”activities”,”what to do”,”sightseeing”,”Sights”,”Tourist Attractions”,”Activity”,”Attraction”,”What to see”,”Where to go”,”Where to visit”,”Best Attractions”,”Best Things to do”,”Best Tourist Attractions”,”Best Sightseeing”,”Top Attractions”,”Top Things to do”,”Top Tourist Attractions”,”Top Sightseeing”,”Top 10 Attractions”,”Top 10 Things to do”,”Top 10 Tourist Attractions”,”Top 10 Sightseeing”],”typeahead.enable_nearby”:true,”typeahead_cruise_cruiselines_enabled”:”true”,”typeahead_divClasses”:null,”typeahead.scoped.cur_loc_denied”:”Tripadvisor was denied permission to access your location. Give your browser and Tripadvisor permission to use your current location and try again.”,”typeahead.scoped.cur_loc”:”Nearby”,”typeahead.aliases.travel_forums”:[“forum”,”forums”,”Travel Forum”,”Travel Forums”],”typeahead.aliases.travel_guides”:[“guides”,”city guides”],”typeahead.aliases.vacation_rentals”:[“vacation rentals”,”vacation rental”,”Airbnb”,”Holiday rental”,”Holiday rentals”],”typeahead.aliases.flights”:[“Flights”,”Flight”,”Flight to”,”flights to”,”nonstop flights”,”business class flights”,”return flights”,”airline flights”,”air flights”,”cheap flights”,”flight from”,”cheapest flights”,”flight only”,”one way flights”,”direct flights”,”domestic flights”,”air fare”,”cheap flights to”,”air flights to”,”airline flights to”,”business class flights to”,”cheapest flights to”,”direct flights to”,”domestic flights to”,”nonstop flights to”,”one way flights to”,”air fares”,”airfare”,”airfares”,”air fare to”,”air fares to”,”airfare to”,”airfares to”],”typeahead_moved_label”:”MOVED”,”typeahead_dual_search_options”:{“geoID”:291982,”bypassSearch”:true,”staticTypeAheadOptions”:{“minChars”:3,”defaultValue”:”Search”,”injectNewLocation”:true,”typeahead1_5″:true,”geoBoostFix”:true},”debug”:false,”navSearchTypeAheadEnabled”:true,”isMobileWeb”:false,”geoInfo”:{“geoId”:291982,”geoName”:”Costa Rica”,”parentName”:”Central America”,”shortParentName”:”Central America”,”categories”:{“GEO”:{“url”:”/Tourism-g291982-Costa_Rica-Vacations.html”},”HOTEL”:{“url”:”/Hotels-g291982-Costa_Rica-Hotels.html”},”VACATION_RENTAL”:{“url”:”/VacationRentals-g291982-Reviews-Costa_Rica-Vacation_Rentals.html”},”ATTRACTION”:{“url”:”/Attractions-g291982-Activities-Costa_Rica.html”},”EATERY”:{“url”:”/Restaurants-g291982-Costa_Rica.html”},”FLIGHTS_TO”:{“url”:”/Flights-g291982-Costa_Rica-Cheap_Discount_Airfares.html”},”CAR_RENTAL_OFFICE”:{“url”:”/RentalCars_Review?detail=291982″}}}},”typeahead_closed_label”:”CLOSED”,”typeahead.scoped.all_of_trip”:”Worldwide”,”typeahead_attraction_activity_search”:”true”,”typeahead.aliases.hotels”:[“hotels”,”hotel”,”lodging”,”places to stay”,”where to stay”,”accommodation”,”accommodations”,”hotel reviews”,”Hotels & Motels”,”Best Hotels”,”Best Places to Stay”,”Best Lodging”,”Best Hotels & Motels”,”Lodgings”,”Place to stay”,”Top Hotels”,”Top Places to Stay”,”Top Lodging”,”Top Hotels & Motels”,”Top 10 Hotels”,”Top 10 Places to Stay”,”Top 10 Lodging”,”Top 10 Hotels & Motels”],”typeahead.aliases.restaurants”:[“food”,”places to eat”,”eateries”,”dining”,”restaurants”,”restaurant”,”Place to eat”,”Eatery”,”Where to eat”,”What to eat”,”Best Restaurants”,”Best Places to Eat”,”Best Food”,”Best Dining”,”Top Restaurants”,”Top Places to Eat”,”Top Food”,”Top Dining”,”Top 10 Restaurants”,”Top 10 Places To Eat”,”Top 10 Food”,”Top 10 Dining”],”typeahead.searchMore.v2″:”Search for “%””,”typeahead.searchSessionId”:”AB21E6DD0D5A4378A709BF391A1C32FB1612653065623ssid”}}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/attraction_coverpage/handlers’], function(placements, impl) { window.ta.plc_attraction_coverpage_show_topic_0_handlers = placements.load(‘attraction_coverpage’,’handlers.js’, { ‘name’: ‘attraction_coverpage:show_topic’, ‘occurrence’: 0, ‘id’: ‘taplc_attraction_coverpage_show_topic_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/showtopic_persistent_footer/handlers’], function(placements, impl) { window.ta.plc_showtopic_persistent_footer_0_handlers = placements.load(‘showtopic_persistent_footer’,’handlers.js’, { ‘name’: ‘showtopic_persistent_footer’, ‘occurrence’: 0, ‘id’: ‘taplc_showtopic_persistent_footer_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {“show_placement”:false}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/footer_banner_ad_billboard/handlers’], function(placements, impl) { window.ta.plc_footer_banner_ad_billboard_forums_desktop_white_bg_0_handlers = placements.load(‘footer_banner_ad_billboard’,’handlers.es6′, { ‘name’: ‘footer_banner_ad_billboard:forums_desktop_white_bg’, ‘occurrence’: 0, ‘id’: ‘taplc_footer_banner_ad_billboard_forums_desktop_white_bg_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {“footer_banner_ad_style”:”onWhiteWithMarginReserveHeight ftrBanner”}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/browser_mode_tracking/handlers’], function(placements, impl) { window.ta.plc_browser_mode_tracking_0_handlers = placements.load(‘browser_mode_tracking’,’handlers.js’, { ‘name’: ‘browser_mode_tracking’, ‘occurrence’: 0, ‘id’: ‘taplc_browser_mode_tracking_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {}, ‘data’: {}});}); require([‘ta/p13n/placements’,’$prp/qualtrics_survey/handlers’], function(placements, impl) { window.ta.plc_qualtrics_survey_0_handlers = placements.load(‘qualtrics_survey’,’handlers.js’, { ‘name’: ‘qualtrics_survey’, ‘occurrence’: 0, ‘id’: ‘taplc_qualtrics_survey_0’, ‘location_id’: 291982, ‘servletClass’: ‘com.TripResearch.servlet.forums2.ShowTopicServlet’, ‘servletName’: ‘ShowTopic’, ‘modules’: [“handlers”], ‘params’: {}, ‘data’: {}});}); require([‘ta/prwidgets’], function(prwidgets) { prwidgets.initWidgets(document); }); ]]>

Source

Leave a Reply

Your email address will not be published. Required fields are marked *