The Old Pharmacy … – Barbados Forum


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()-t 0;)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); ]]> The Old Pharmacy … – Barbados 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 Centre”; 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 = “CA”.toLowerCase(); var bingMapsBaseUrl = “http://www.bing.com/maps/default.aspx?cc=ca&”; var googleMapsBaseUrl = “http://maps.google.ca/?”; var yandexMapsBaseUrl = “http://maps.yandex.com”; var serverPool = “A”; var posLocale = “en_CA”; 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-v22180672707a.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-v22880201494a.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”:”B53E342E31A6DA320B9C193C10AF2DAC”,”cdnHost”:”https://static.tacdn.com”,”quickSave”:true,”isExternalReferral”:true,”useERUserTracking”:true,”cookieDomain”:”.tripadvisor.ca”,”uid”:”X55V8QokJBoAADxgGLMAAAEU”,”hasReferral”:true,”posLocale”:”en_CA”,”MEDIA_HTTP_BASE”:”https://media-cdn.tripadvisor.com/media/”,”user_id”:””,”loggedIn”:false,”securelyLoggedIn”:false},”DUST_GLOBAL”:{“IS_IELE8″:false,”LOCALE”:”en_CA”,”IS_IE10″:false,”CDN_HOST”:”https://static.tacdn.com”,”DEVICE”:”desktop”,”IS_RTL”:false,”LANG”:”en”,”DEBUG”:false,”READ_ONLY”:false,”POS_COUNTRY”:153339},”JS_SECURITY_TOKEN”:”TNI1625!ANLmXgaeba7RevB0CNVPzXC+cCtC9piXaoSo048VDsAXPVTLfh6qa/9tOPCzesR4+a9FnNllAnBX7Ioo7C8p0rEdPPfxWQh4mC2xLcOfh3L4IN2YydR6OwqOtMX5HvKSHnc7SrE4OOg5Byipg8/frjRgwkShPUuOxAVwdCsIoH7c”,”GEO_ID”:”147262″,”hotelsInGeo”:”101″,”LOC_ID”:”147262″,”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: ‘147262’, i: ‘230’, k: ‘12871802’, o: ’99’}, [‘The_Old_Pharmacy’, ‘Barbados’],”).replace(“-o99-“,”-o”+correctOffset+”-“) + “#”+postId; } } } ]]>

.

Is there anything new to report regarding the renovations to The old Pharmacy in Speightstown?

Is it still owned by Sir COW? What is it going to be? A boutique hotel?

Lovely building. Deserves some TLC.

.

-:- Message from Tripadvisor staff -:-

This topic has been closed to new posts due to inactivity. We hope you’ll join the conversation by posting to an open topic or starting a new one.

To review the Tripadvisor Forums Posting Guidelines, please follow this link: http://www.tripadvisor.com/pages/forums_posting_guidelines.html

We remove posts that do not follow our posting guidelines, and we reserve the right to remove any post for any reason.

Removed on: 30 August 2020, 01:40

Get answers to your questions about Barbados

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);});]]>

by u003c/span>u003ca class=”{nameClassName}” href=”{url}”>{name}u003c/a>”,”sanitation_checklist_community”:”Community”,”command_where_to_screen_v2″:”Tell us where you’re going.”,”cx_explicit_preferences_cta_traveling_partner”:”Travelling with your partner”,”trips_lander_title”:”Trips on Tripadvisor”,”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.”,”help_center_topics_ffffe427″:”Popular Help Centre Topics”,”mobile_gate_get_hotel_flight_alerts”:”Get hotel and flight price alerts”,”post_photo_upload_another_video”:”Drag and drop or u003c/> u003cspan class=”{sColorClass1}”>upload another photo u003c/span>”,”cx_explicit_preferences_cta_traveling_family”:”Travelling with family”,”stat_modal_trip_name”:”Trip name”,”sanitation_checklist_list_header_experiences”:”What you can expect during this experience”,”upload_video_processing_copy_modal”:”Your post is processing. We will send you a notification when it is ready to view.”,”restaurants_contact_links_call”:”Call”,”stat_modal_saved_to_tripname_with_bold”:”Saved to u003cb>{TripName}u003c/b>”,”onboarding_social_brand_splash_get_started_cta”:”Get started”,”inspiration_region_6_ffffee49″:”Africa & the Middle East”,”reg_and_join”:”JOIN”,”cx_explicit_preferences_destination_subheader2″:”Weu2019ll show you recommendations from other travellers whou2019ve been there.”,”mem_settings”:”Settings”,”remove_location_cf6″:”Remove location”,”sng_a11y_zoom_level”:”Zoom level”,”outbrain_sponsored_stories”:”Sponsored Stories”,”cx_explicit_preferences_segment_friends”:”My friends”,”mobile_ola_cabs”:”Ride there with Ola”,”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>”,”common_Hotels”:”Hotels”,”common_Signin”:”Sign in”,”restaurant_owner_upload_photo_cta”:”Enhance your page u2014 Upload photos on your management centre.”,”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.”,”native_login_user_review_anonymous”:”A Tripadvisor Member”,”link_uploader_nextbutton”:”Next”,”Claim_badge_claimed_status”:”Claimed”,”mobile_profile_update_error_username_invalid_characters”:”Only use Latin characters (A-Z), numbers, underscore “_”, and dash “-“.”,”trips_error_default_add_item_to_trip”:”There was a problem adding the item to this Trip. Please try again.”,”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.”,”social_confirm_close_photo_post”:”Are you sure you want to close out of your photo post?”,”ads_perf_dashboard_get_started_updated”:”Get Started”,”mem_account_info”:”Account info”,”common_ffffe1a7″:”Package Holidays”,”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…”,”restaurant_special_diets”:”Special Diets”,”restaurants_view_all_details”:”View all details”,”trips_collaborator_privacy_modal”:”This Trip is {privacySetting}. Only the owner of the Trip can change this setting.”,”btn_cancel”:”Cancel”,”social_profile_contributions”:”{0, plural, one{# contribution} other{# contributions}}”,”onboarding_social_name_screen_username_helper_text_period_814″:”This unique handle helps travellers search for you.”,”attractions.cart_button_acc”:”Basket”,”cx_explicit_preferences_cta_month2″:”Travelling in {month}”,”cx_explicit_preferences_cta_solo2″:”Solo”,”post_video_upload_videos_button”:”Upload videos”,”onetap_message_unlock”:”Unlock the best of Tripadvisor”,”mentions_profile_label_a”:”u003cspan class=”{prefixClassName}”>By u003c/span>u003ca class=”{nameClassName}” href=”{url}”>{name}u003c/a>”,”common_more_ffffe87d”:”more”,”post_video_add_description_v2_part_1″:”Add a description “,”rr_food_and_ambiance_title”:”Food and ambience”,”post_video_add_description_v2_part_2″:”Tell other travellers about your video “,”linkpost_rate_limited_v2″:”Your link failed to upload. You have exceeded the limit of allowed links.”,”trip_note_update_error”:”There was a problem updating your Trip note. Please try again.”,”mem_offers_e4e”:”Vacation Rentals”,”create_trip_screen_privacy_private”:”Private”,”brand_save_money_we_search_200″:”u003cb>Save money.u003c/b> We search 200+ sites for the lowest hotel prices.”,”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}”,”utility_nav_cart”:”Shopping Basket”,”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.”,”uploader_button_post”:”Post”,”Claim_badge_unclaimed_tooltip_2_CTA”:”{startLink}Claim your free listing now {endLink}”,”attractions.cart_recapture.alert.headline”:”Now you can pick up where you left off!”,”link_inputfield_error”:”Invalid URL. Please add the correct website address.”,”owners_managelisting_open”:”Open”,”ugc_edit_attempt_failure”:”Something went wrong. Please try editing again.”,”insurance_title”:”Insurance”,”stat_modal_save_to_trip_v2″:”Save to a Trip”,”cx_explicit_preferences_interests_header2″:”What do you want to do on your trip?”,”link_uploader_congrats_description”:”Your link can now be seen by other travellers on Tripadvisor.”,”member_support_reviews”:”Reviews”,”price_range_caps”:”PRICE RANGE”,”batch_media_retry_upload”:”Retry your upload”,”uploader_error_add_tag”:”Add tag”,”video_upload_add_tags”:”Add location tags”,”cx_explicit_preferences_welcome_subheader2″:”Answer some questions about your trip so we can show you more personalised ideas.”,”ds_textarea_minimum_characters”:”{numCount}/{numLimit} min characters”,”post_photo_upload_photos_button”:”Upload photos”,”attractioncategory.name.v4.26″:”Shopping”,”trips_error_default_edit_trip”:”There was a problem editing this Trip. Please try again.”,”stat_modal_change”:”Change”,”profile_update_error_username_too_short”:”{0} needs to be at least 3 characters”,”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”,”post_videos_button”:”Post videos”,”Claim_badge_unclaimed_tooltip_2_b”:”Owners who claim their business can update listing details, add photos, respond to reviews, and more. “,”cx_explicit_preferences_segment_header”:”Who are you travelling with?”,”cx_explicit_preferences_cta_dates2″:”Travelling from {date1} to {date2}”,”sanitation_checklist_email_restaurant”:”Email restaurant”,”cx_explicit_preferences_cta_months2″:”Travelling from {month1} to {month2}”,”ugc_uploader_video_v3″:”Post videos”,”restaurant_rr_caps_rating”:”RATINGS”,”responsive_no_photo_content”:”Enhance this page – u003cspan class=”{spanClass}”>Upload photos!u003c/span>”,”getlistednew_list_on_tripadvisor_ffffe427″:”List your business”,”sanitation_checklist_list_header_hotels”:”What you can expect during your stay”,”ib_more_info”:”More Info”,”common_Flights”:”Flights”,”post_photo_accepted_formats”:”Accepted photo formats include .jpg .jpeg .gif and .png”,”common_Cruises”:”Cruises”,”my_name_is”:”My name is…”,”global_travel_notice_covid19″:”Learn more about COVID-19″,”rd_popularity_index_linked3″:”u003cb class=”{0}”>u003cspan class=”{1}”>#{2,number,integer}u003c/span>u003c/b> of {3,number,integer} u003ca href=”{4}”>{5} in {6}u003c/a>”,”linkify_url_error”:”You have entered an inappropriate URL”,”post_photo_video_count_text”:”Photo {nCurrentphotoCount} of {nTotalphotoCount}”,”post_video_tag_location_push_2″:”Adding a tag can lead more travellers to your post – and increase your influence on Tripadvisor “,”profile_update_error_username_contains_ta_words”:”Words such as u201CStaffu201D, u201CAdminu201D, u201CTripadvisoru201D are not allowed.”,”rs_sales_lander2_features”:”FEATURES”,”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>”,”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.”,”link_uploader_guidelines”:”Guidelines”,”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}”,”success_repost_video”:”Your video was posted!”,”cx_explicit_preferences_cta_interested_in”:”Interested in”,”bhotw_region_europe_title”:”Europe”,”see_all_results_for”:”See all results for “{query}””,”ratings_card_low_reviews_short”:”There aren't enough food, service, value or atmosphere ratings for {RestaurantName} yet.”,”dual_search_recently_viewed_all_caps”:”RECENTLY VIEWED”,”Dashboard_HSBookingTools_ClickTypeEmail”:”Email hotel”,”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>.”,”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”,”Claim_badge_unclaimed_tooltip_1″:”This business is unclaimed.”,”onboarding_social_name_screen_returning_header”:”Please confirm or update your profile information”,”social_mobile_reason_for_sponsored”:”Sponsored”,”airm_mobile_show_more”:”Show more”,”select_trip_header”:”Select a Trip”,”link_uploader_commentlabel”:”Add a comment”,”sanitation_checklist_updated”:”Updated {updatedDate}”,”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.”,”post_video_upload_another_video”:”Drag and drop or u003c/> u003cspan class=”{sColorClass1}”>upload another video u003c/span>”,”memx_mw_gating_hybrid_title”:”Continue with the app or by signing in”,”mobile_gate_signin_keep_planning”:”Sign in to keep planning”,”sbx_survey_prompt_text”:”Can you tell us about your Tripadvisor experience?”,”visit_your_center_ffffe427″:”Visit your u003ca href=”{0}”>Management Centreu003c/a>”,”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.”,”have_other_questions_ffffe427″:”Have Other Questions?”,”ds_textarea_maximum_characters”:”{numCount}/{numLimit} max characters”,”hrm_flyoutupsell_ownerresponse”:”Save time by responding to reviews across Tripadvisor, Google, and Facebook all on the same page.”,”hotels_save_money”:”SAVE {0}”,”social_edit_profile_username”:”Username”,”common_Read_more”:”Read more”,”10_off_tour_activity_v2″:”u003cspan class=”{1}”>10% offu003c/span>u003cbr/> any tour or activity”,”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”,”onboarding_social_name_screen_display_name_helper_text_period_814″:”This appears on your profile and any content you post.”,”visit_the_help_center_ffffe427″:”Visit the u003ca href=”{0}”>Help Centreu003c/a>”,”trips_lander_copy_3b”:”Easily access all your saves while travelling, wherever you go”,”post_video_typeahead_placeholder_text_search”:”Search”,”trips_error_general_default”:”There was a problem with this Trip. Please try again.”,”social_nowFollowing”:”Following”,”cx_explicit_preferences_cta_header”:”Tell us about your trip”,”common_Thingstodo”:”Things to do”,”video_upload_rate_limited_v2″:”Your video failed to upload. You have exceeded the limit of video uploads.”,”my_bookings_headtext_fffff9b3″:”Bookings”,”tavrs_view_profile”:”View profile”,”post_video_location_typeahead_add_location”:”Add another location “,”post_a_video_modal_header”:”Post a video”,”ugc_uploader_review_v2″:”Write review”,”common_Next”:”Next”,”trips_log_in_now”:”Log in now”,”sanitation_checklist_more_questions”:”More questions?”,”memx_gating_mw_generic_value”:”Read reviews, save trip ideas, get price alerts, and more.”,”add_more_photos_mw_uploader”:”Add more photos”,”common_go_back_1cfb”:”Go Back”,”sanitation_checklist_list_header_restaurants”:”What you can expect during your visit”,”global_nav_profile_my_business”:”My business”,”link_uploader_header”:”Post a link”,”media_upload_description_profanity_error”:”Sorry, we can’t accept descriptions that use profanity”,”post_video_or_just_text”:”or”,”rd_hd_writeReview”:”Write a Review”,”continue_sub_cta”:”Continue where you left off”,”compliment_9bd”:”Sorry, an unexpected error has occurred. Please try again in a moment.”,”cx_explicit_preferences_segment_solo”:”Myself”,”where_to_hint_text”:”Paris, Costa Rica, Brazil…”,”stat_modal_removed_from_tripname”:”Removed from {sTripName}”,”common_Populardestinations”:”Popular destinations”,”create_trip_screen_privacy_public”:”Public”,”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”,”link_uploader_locationdescription”:”Make it easy for travellers to find your post in searches.”,”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”,”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}”,”batch_media_add_description_subtitle”:”Tell other travellers about your photos”,”Claim_badge_claimed_tooltip_body”:”Someone from this business manages this listing.”,”save_all_items_modal_header”:”Save all items to a Trip”,”common_Search”:”Search”,”attractions.cart_recapture.abandoned_cart_overlay_cta”:”Visit your shopping basket to see the items you saved last time u2014 and check out when youu2019re ready.”,”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”,”mobile_gate_signin_for_best_tripadvisor”:”Sign in for the best of Tripadvisor”,”mentions_headline”:”Mentioned in”,”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.”,”mobile_uber_1ad3″:”Pickup in {0} min”,”suggested_tags”:”Suggested tags:”,”cx_explicit_preferences_profile_name_help”:”This is how your name will appear on Tripadvisor”,”locationinfo_fffffa57″:”Email”,”footer_ta_sites_v2″:”Tripadvisor Sites”,”link_uploader_refresh”:”Refresh”,”link_uploader_congrats_header”:”Congratulations!”,”link_uploader_locationlabel”:”Tag a location”,”m1_trips_save_success_stat_d2″:”Saved! Next, organise it in a Trip.”,”footer_do_business_v2″:”Do Business With Us”,”common_Cookie_consent_14f6″:”Cookie consent”,”hrm_flyoutupsell_cta_starttrial”:”Start a free trial”,”trip_privacy_setting_header”:”Choose who can see your Trip”,”uploader_error_required_field”:”This field is required”,”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.”,”manage_business_tooltip”:”Visit the Management Centre”,”upload_link_posted_copy_modal_2″:”Your link was posted! u003ca href=”{0}” class=”{1}”>View it on your profile now.u003c/a>”,”cx_single_search_explore_tripadvisor”:”EXPLORE TRIPADVISOR”,”post_photo_tips_guidelines”:”You can upload a maximum of 10 photos at a time”,”cx_explicit_preferences_destination_header2″:”Great. Where to?”,”trips_education_amazing_ideas_one_place”:”Trips: your amazing travel ideas, all in one place”,”linkify_removed_v2″:”u003clink removed>”,”link_uploader_congrats_postagainbutton”:”Post another link”,”cx_explicit_preferences_cta_family2″:”With family”,”video_upload_max_number”:”You can upload a maximum of {nVideos} videos at a time”,”common_Close”:”Close”,”post_video_file_type_error”:”This file type is not supported. Please try a .mov, .mp4 or m4v file”,”success_repost_link”:”Your link was posted!”,”batch_media_choose_a_layout”:”Choose a layout:”,”post_photo_tag_location_subtext”:”Make it easy for travellers to discover your photo “,”soical_loading_error_2″:”Give it another try, please.”,”ratings_card_zero_reviews_short”:”There are no reviews for {RestaurantName} yet.”,”post_photo_or_just_text”:”or”,”video_upload_fail”:”Oops! One or more of your videos failed to upload.”,”abandon_cart_home_banner_2350″:”Still interested?”,”common_btn_cancel_ffffe209″:”Cancel”,”cx_explicit_preferences_end_body_nearby”:”Now start discovering nearby ideas from other travellers.”,”post_photo_drag_and_drop_from_desktop”:”Drag and drop a file from your desktop “,”rental_cars”:”Rental Cars”,”Claim_badge_claimed_tooltip_CTA”:”{startLink}Learn more{endLink} “,”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 basket from any device.”,”utility_nav_profile”:”Profile”,”mw_add_photo_ffffdfce”:”Add a photo”,”region_apac_25ed”:”Asia Pacific”,”Claim_badge_unclaimed_status”:”Unclaimed”,”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”,”create_trip_screen_privacy_public_explanation_v2″:”Visible to all travellers on Tripadvisor, including any friends you share your Trip with”,”command_companion_v2″:”Tell us who you’re travelling with.”,”cx_explicit_preferences_edit_trip_details”:”Edit trip details”,”sanitation_checklist_email_operator”:”Email operator”,”command_interests_screen”:”Tell us what you want to do on your trip.”,”utility_nav_join”:”Join”,”profile_update_error_display_name_too_long”:”{0} cannot be longer than 40 characters”,”common_26ec”:”u00A9 {0} TripAdvisor LLC”,”common_ffffe429″:”Write a u003ca href=”{0}”>reviewu003c/a>”,”mobile_gate_see_reviews_travelers_like_you”:”See reviews from travellers like you”,”post_videodrag_and_drop_from_desktop”:”Drag and drop a file from your desktop “,”social_no_permission”:”You don’t have permission to take this action.”,”ugc_uploader_linkPost_v3″:”Post links”,”common_Allrightsreserved”:”All rights reserved.”,”common_Forums”:”Forums”,”social_nCount_followers2″:”{0, plural, one{# follower} other{# followers}}”,”ar_btf_about_header”:”About”,”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>”,”command_dates_screen_geo”:”Tell us when are you travelling to {destinationGeoName}.”,”create_trip_success_toast_with_bold”:”u003cb>{TripName}u003c/b> created!”,”more_link”:”More”,”post_photo_upload_failed”:”Your photo upload failed. Please try again. “,”discover_ttd”:”Discover things to do”,”jfy”:”Just for you”,”cx_explicit_preferences_welcome_no”:”No thanks”,”tavrs_common_save_and_continue_button”:”Save and continue”,”onboarding_social_name_screen_username_ghost_text”:”e.g. SavvyTraveler123″,”og_masthead_social_sharing_ffffe427″:”Social sharing”,”photo_upload_rate_limited_v2″:”Your photo failed to upload. You have exceeded the limit of photo uploads.”,”memx_gating_mw_attraction_values”:”Read reviews, save things to do, get free 24 hour cancellation, and more.”,”trips_edit_CTA”:”Edit”,”cx_explicit_preferences_welcome_header_no_name2″:”Thanks. Now, let’s help you plan a trip you’ll love.”,”post_video_character_count”:”{nCharacterCount} / 500 characters”,”embedded_content_third_party_notice”:”This content is hosted by a third party ({hostName}). By showing external content you accept the {termsUrl} of {hostName}.”,”cx_explicit_preferences_cta_traveling_friends”:”Travelling with friends”,”open_in_the_app”:”Open in the app”,”listing_detail_improve_this_listing_ffffeaf1″:”Improve this listing”,”post_video_tag_location_subtext”:”Make it easy for travellers to discover your video “,”restaurants_michelin_view_more”:”View more on MICHELIN Guide”,”cx_explicit_preferences_cta_partner2″:”With your partner”,”trip_planner_clear”:”Clear”,”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}”,”embedded_content_terms_and_conditions_label”:”terms and conditions”,”sanitation_checklist_covid19_travel_safe_v2″:”Travel safe during u003cspan style=”white-space: nowrap;”>COVID-19u003c/span>”,”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.”,”stat_modal_undo”:”Undo”,”free_cancel_ahead”:”u003cspan class=”{0}”>No commitment:u003c/span> Cancel for free up to 24 hours ahead.”,”post_video_size_error”:”This file size is not supported. Please make sure your file is less than 500MB “,”footer_disclaimer_line2_estimates”:”Indicative hotel prices displayed on our u201CExploreu201D pages are estimates extrapolated from historic pricing data.”,”Mobile_Meals”:”Meals”,”link_uploader_commentdescription”:”Tell other travellers why this post is interesting.”,”upload_link_posted_copy_modal_profile”:”Your link was posted!”,”success_repost_photo”:”Your photo was posted!”,”batch_media_add_location_subtitle”:”Make it easy for travellers to discover your photos”,”onboarding_social_skip_link”:”Skip for now”,”footer_about_ta_v2″:”About Tripadvisor”,”mobile_search_filter_clear_26e8″:”Clear”,”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>”,”cx_single_search_explore_geo”:”EXPLORE {geoName}”,”ip_view_profile_1cf1″:”View profile”,”ratings_and_reviews”:”Ratings and reviews”,”upload_photo_posted_copy_modal_2″:”Your photo was posted! u003ca href=”{0}” class=”{1}”>View it on your profile now.u003c/a>”,”memx_gating_mw_restaurant_values”:”Read reviews, then save your restaurant finds to a map.”,”profile_update_error_contains_profanity”:”Profanity is not allowed”,”hrm_flyoutupsell_managementcenter”:”Unlock our reputation management solutions to collect more reviews and give travellers confidence to book.”,”link_uploader_locationwarning_addtagbutton”:”Add tag”,”link_inputfield_error_blacklist”:”Invalid URL. Tripadvisor does not recognise this as a trusted domain.”,”upload_photo_posted_copy_modal_profile”:”Your photo was posted!”,”mobile_uberCTA_1ad3″:”Ride there with Uber”,”cx_explicit_preferences_profile_header3″:”Welcome! Tell us about yourself.”,”m1_trips_my_saves_header”:”My Saves”,”cx_explicit_preferences_dates_header”:”When are you travelling to {destinationGeoName}?”,”region_americas_25ed”:”The Americas”,”file_size_limit_photo”:”File size should be less than {0}MB.”,”cx_explicit_preferences_cta_subheader3″:”Youu2019ll see personalised ideas from other travellers like you.”,”new_trip_name_error_msg”:”Please select a new name for your Trip.”,”onboarding_social_name_screen_display_name_field_v2″:”Display name”,”mob_menu_header_title_147b”:”Menu”,”onboarding_social_name_screen_display_name_ghost_text”:”e.g. John Doe”,”ratings_card_low_reviews_v2″:”There aren’t enough food, service, value or atmosphere ratings for {RestaurantName} yet. Be one of the first to write a review!”,”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.”,”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.”,”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.”,”link_uploader_postbutton_label”:”Post link”,”trips_education_easy_save_orgaize_map_bring_with_you”:”Trips makes it easy to save, organise 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.”,”sanitation_checklist_note_header”:”A note from {locationName}”,”mobile_discovery_where_to”:”Where to?”,”trips_error_default_move_item”:”There was a problem moving this Trip item. Please try again.”,”batch_media_posting”:”Posting…”,”common_9bc”:”Currency”,”alerts_center_log_in”:”Log in”,”common_TripAdvisor”:”Tripadvisor”,”location_and_contact_overview”:”Location and contact”,”restaurants_contact_links_website”:”Website”,”mentions_profile_label_span_lower”:”u003cspan class=”{prefixClassName}”>by u003c/span>u003cspan class=”{nameClassName}”>{name}u003c/span>”,”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>.”,”ratings_card_zero_reviews”:”There are no reviews for {RestaurantName} yet.nBe the first to write a review!”,”m2_trips_detail_date_display”:”{0} u2022 {1}”,”sanitation_checklist_write_a_review”:”Write a review”,”rebrand_recently_viewed_shelf_title”:”Recently viewed”,”common_more_capital_ffffe27f”:”More”,”trips_trip_name_character_count”:”{nCharacterCount} / 50 characters”,”trips_lander_copy_1″:”Save traveller-recommended places for your trip”,”flash_uploader_tips_and_guidelines_10d8″:”Tips & guidelines”,”rs_manage_this_business_link”:”Manage this business?”,”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} travellers are talking about and select what you might like.”,”mg2019_fbot_see_where_friends_traveled”:”See where your friends have travelled”,”restaurants_show_full_menu”:”Show full menu”,”common_Readless”:”Read less”,”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”,”video_upload_go_to_link_posting”:”Want to link to a video? You can do so from our u003cspan>link uploaderu003c/span>”,”stat_modal_name_exceeds_50″:”Trip name must not exceed 50 characters”,”machine_translated_google_disclaimer”:”This service may contain translations powered by Google. Google disclaims all warranties related to the translations, express or implied, including any warranties of accuracy, reliability, and any implied warranties of merchantability, fitness for a particular purpose and noninfringement.”,”social_Saved”:”Saved”,”cx_explicit_preferences_cta_date2″:”Travelling on {date}”,”footer_region”:”Region”,”mem_sign_in_now”:”Sign In Now”,”trips_lander_header”:”Travelling soon? Save your amazing ideas all in one place with Trips.”,”view_post”:”View post”,”trips_product_name”:”Trips”,”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”,”memx_mw_gating_cta”:”Continue with:”,”mobile_gate_save_trip_on_a_map”:”Save trip ideas + see them on a map”,”sanitation_checklist_ask_a_question”:”Ask a question”,”post_video_didnt_tag_location”:”You didn’t tag a location “,”sbx_take_survey”:”Take survey”,”empty_trip_home_get_started”:”Get started”,”dual_search_worldwide”:”Worldwide”,”cx_explicit_preferences_cta_friends3″:”With friends”,”mobile_delete”:”Delete”,”common_Postphotos”:”Post photos”,”social_loading_error_1″:”Whoops, something went wrong.”,”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}”,”homepage_war_button”:”Write a review”,”cx_explicit_preferences_cta_traveling_solo”:”Travelling solo”,”google_translation”:”Google Translation”,”post_photo_add_description_v2_part_2″:”Tell other travellers about your photo “,”post_photo_add_description_v2_part_1”:”Add a description “,”sanitation_checklist_disclaimer_text”:”Safety precautions are provided by the property and are not checked by Tripadvisor for accuracy.”,”reg_back”:”Back”,”mentions_profile_label_span”:”u003cspan class=”{prefixClassName}”>By u003c/span>u003cspan class=”{nameClassName}”>{name}u003c/span>”,”guidelines_and_policies_ffffe427″:”Guidelines and policies”},”features”:{“ungate_sponsored_listing_clicks”:true,”prod_runtime_tracking”:false,”curated_shelves_preview”:true,”restaurants_detail_page_attribution_pixel”:false,”optimus_new_members”:false,”digital_turbine_high_intent”:false,”ml_hard_gate_model_v2_excl_hotels”:false,”trips_heart_icon”:true,”travel_advice”:true,”mw_hard_gate_ghost”:false,”fbot_single_screen_onb”:false,”home_lithium”:true,”enhanced_gate_google_one_tap_2pv_mw”:false,”t11208_variant_a_curated_broad_interest_categories”:false,”social_mentions_above_the_fold”:false,”react_tracking_impressions”:true,”post_signup_attr_promo_explicit_preferences_control”:false,”t11213_mip_2_account_screen”:false,”ep_has_command_screen”:false,”account_screen_onb_reqlo”:false,”restaurants_attribution_pixel_clicks”:false,”rich_content_editor”:true,”fusion_lithium_hotels_list_page”:false,”hydrate_while_loading”:false,”ml_hard_gate_dt_v3_master”:false,”tourism_management_center”:false,”restaurant_list_consolidation”:false,”consent_mgmt_enabled”:false,”h_defer_facebook_sdk”:false,”qualtrics_site_brand_experience_surveys_journey”:true,”travel_advice_preview”:true,”ml_hard_gate_dt_v1_master”:false,”ml_hard_gate_dt_v2_master”:false,”facebook_onetap_mobile”:false,”hr_disable_cpm_ads”:false,”timed_refresh_after_15s”:false,”vr_broad_geo_list_redesign”:false,”restaurants_sponsored_attribution_pixel”:false,”cx_explicit_preferences_geopill”:false,”hrm_beta_full_story”:true,”restaurant_booking_click_ungates_all”:false,”cx_explicit_preferences_onboarding”:false,”saves_educator_explicit_preferences”:false,”t11216_mip_2_traditional_sign_up_ll”:false,”mw_unlock_bookable_restaurants”:true,”ep_has_command_screen_control”:false,”post_signup_attr_promo_explicit_preferences”:false,”fusion_detail_page_lithium”:false,”post_signup_attr_promo_masthead_join”:false,”fusion_lithium_attraction_products_list_page”:false,”apr_lithium_control”:false,”forum_home_lithium”:true,”hr_dark_green_icons”:true,”optimus”:false,”cx_explicit_preferences_scoped_home_cta”:true,”restaurants_review_covid19_travel_safe_module”:true,”ml_hard_gate_targeting_logic”:false,”hard_gate_excl_disable_domain_direct”:false,”t11210_mip_variant_c”:false,”ml_hard_gate_no_reqlo”:false,”cruise_better_by_sea”:false,”ungate_restaurant_booking_clicks”:false,”trips_pop_stat_modal”:true,”restaurants_claimed_badge”:false,”trips_skip_check_whitelist_public_trips”:true,”hr_defer_facebook_sdk”:false,”review_detail_hard_gate_master_dt”:false,”rubicon_header_bidding”:true,”restaurant_booking_click_ungates_single”:false,”sentryio_js”:false,”t9944_sbx_2_bu”:false,”cx_brand_refresh_degreen”:true,”cx_explicit_preferences_scoped_home_cta_always_edit”:true,”restaurants_attribution_pixel_impressions”:false,”linkify_urls”:true,”mobile_web”:false,”saves_hotspot_button”:false,”tourism_lithium”:true,”ml_hard_gate_master”:false,”fusion_lithium_attractions_client_side_navigation”:false,”account_screen_onb_control”:false,”facebook_onetap_desktop”:true,”attractions_lithium_filtered”:false,”restaurants_unsponsored_attribution_pixel”:false,”cx_brand_refresh_header”:true,”media_preview_focal_point”:false,”nearby_lithium”:true,”ml_hard_gate_model_v2_reevaluate_on_page_view”:false,”social_at_referencing_profile_links”:true,”qualtrics_surveys_any”:false,”t4b_management_center_full_story_sampled”:false,”ml_hard_gate_model_v2″:false,”trips_bookmark”:true,”search_engine_referrer”:true,”ml_hard_gate_model_v1″:false,”quicklinks_sorting_model”:false,”account_screen_onb”:false,”cx_explicit_preferences_onetap”:true,”t9945_sbx_2_journey”:true,”saves_educator_control”:false,”trip_modal_home”:true,”t12368_project_nova_all_servlets”:false,”health_notice_banner”:true,”t4b_management_center_full_story”:true,”t10349_facebook_onetap_w_value_copy”:false,”curated_trips_attractions”:false,”navigation_to_scoped_home”:false,”articles_lithium”:true,”trips_2018_collab”:true,”select_restaurants_booking_click_ungates”:false,”home_location_prompt_master”:true,”dummy_cache_on_client”: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,”account_merge”:true,”digital_turbine_max_flow”:false,”curated_trips_restaurants”:false,”articles_home_lithium”:true,”cx_brand_refresh_saves”:true,”ml_hard_gate_dt”:false,”appsflyer_deep_links”:true,”t11209_mip_variant_b”:false,”qualtrics_site_brand_experience_surveys_bu”:false},”renders”:[{“id”:”component_12″,”props”:{},”package”:”t7RFOq”},{“id”:”component_15″,”props”:{},”package”:”BqoTCX”}],”profilables”:[],”strictModeRoots”:[],”hydrations”:[{“id”:”component_17″,”props”:{},”package”:”08L0XB”},{“id”:”@ta/trips.save-to-trip:post:102495081_component_1″,”props”:{“object”:{“__typename”:”ForumPost”,”id”:102495081},”widgetStyle”:”forum_post”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”component_2″,”props”:{},”package”:”87pH8E”},{“id”:”component_3″,”props”:{“contentVariant”:”AR_2″},”package”:”UvEwIr”},{“id”:”component_4″,”props”:{“contentVariant”:”AR_2″},”package”:”UvEwIr”},{“id”:”component_5″,”props”:{},”package”:”UvEwIr”},{“id”:”component_6″,”props”:{“contentVariant”:”SB_1″},”package”:”UvEwIr”},{“id”:”@ta/trips.save-to-trip:attractionproduct:13155_component_7″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:13155},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:attractionproduct:12387_component_8″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:12387},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:attractionproduct:56292_component_9″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:56292},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”@ta/trips.save-to-trip:attractionproduct:84082_component_10″,”props”:{“object”:{“__typename”:”AttractionProductInformation”,”attractionProductId”:84082},”widgetStyle”:”listing”,”tooltipCopy”:null,”toastCopy”:null,”toastCopySubhead”:null,”allowPopStatModal”:false},”package”:”zlqOrw”},{“id”:”component_13″,”props”:{“useResponsiveContainer”:”true”},”package”:”mwa76u”},{“id”:”component_14″,”props”:{},”package”:”mxARhC”},{“id”:”component_16″,”props”:{},”package”:”n69w9j”},{“id”:”component_11″,”props”:{},”package”:”GVTdZB”}],”lazyLoadedModules”:[“08L0XB/L9pCXd”,”nZ7AfP”,”qxSl3I”,”4CrHtN”],”ssrPreloadedModules”:[“6FdDYx”,”nZ7AfP”,”qxSl3I”,”4CrHtN/6GI-1U”,”xJD91H”,”-i3PJS”,”PCLJ0D/6Vq8GY”,”VXzhcp”,”hiEEdo”,”Qsot8_”,”tUOGkg”,”08L0XB/L9pCXd”,”4CrHtN/A1SA6X”,”RWfDzK”,”5-GvUO/gmVWZD”,”dX3eZQ/3S0Uyu”,”PCLJ0D/YtE_eG”,”thFMrK/RQFZYD”,”4CrHtN”,”08L0XB/hCC7uv”,”bsx_H5″,”neHaXV”,”pBQaod”,”m7h4d5″,”a3FWKi”,”oN8Ht7/95Lu0z”,”kNh38S”],”bundles”:[“XjkW5l”,”peh_3a”,”b3xEaf”,”u6QS-O”,”QZqymc”,”eDFcUX”,”535agn”,”V08PS7″,”wId9j-“,”nIW_Rw”,”l6BSGt”,”h74DsO”,”5-GvUO”,”UWCmG6″,”5-GvUO/vwu6ty”,”gt5mGS”,”MHKLZN”,”6hYgtn”,”w31zLi”,”jb_4W2″,”_qQcW3″,”vd4nty”,”B7vHz6″,”oo669z”,”asW43G”,”hA1RHn”,”mv7yXI”,”Ov85iR”,”xegF5W”,”8xs-IB”,”N4pTU2″,”c9QfOM”,”UhC_bI”,”fflEqf”,”F8raOV”,”5X2em-“,”fsml46″,”I81Q5L”,”_g8cls”,”rf6OMe”,”OyezR0″,”E8NZou”,”O8LbtK”,”n3D4ip”,”YwNsO_”,”DbN8HP”,”z2XL6d”,”faye7n”,”vuC2Rl”,”gsKhh7″,”T7FcVR”,”vmXh3M”,”W3_c4H”,”38xMQJ”,”-i3PJS”,”Jk5sjx”,”6RAaot”,”VANuRt”,”2R4xv2″,”OMqGt0″,”xZoNdB”,”PCLJ0D”,”b57PJQ”,”MGkW-Q”,”NJheb1″,”_cZwhS”,”Dg5_-9″,”yfS4GB”,”pLbCP4″,”CWppnH”,”Q7TAd7″,”dROhDJ”,”_Z-1K3″,”iuYvTO”,”BLrxBS”,”0DsHEV”,”OnmvvE”,”w4JHTr”,”RiHMo-“,”gGW5sO”,”jaCyxS”,”DjNvou”,”lMO0v3″,”vWxBAe”,”PCLJ0D/-EYc4Q”,”17wlKY”,”rKB8Wf”,”jSLlaY”,”aunxON”,”30t50h”,”cDcdfi”,”4LU1Ax”,”eFikmI”,”6NeHQy”,”jmIMrC”,”XtxvfD”,”vq6MSq”,”m5ZZFI”,”MG7IEl”,”08L0XB/dautrI”,”08L0XB”,”c_rvp5″,”HZtvHO”,”PiTJFd”,”eFKnUp”,”RXx5aI”,”O-HcBE”,”4Z07E2″,”U-DhDC”,”WkP2XE”,”LFeTN6″,”fTyhRT”,”lmr1u9″,”6nM-E7″,”JFHNGL”,”4kVXmt”,”vF730k”,”9I0t-6″,”6KWcSB”,”zlqOrw”,”liWOeo”,”3mlAaP”,”tV1cF7″,”Md_K7J”,”87pH8E”,”SMVlF-“,”UvEwIr”,”t7RFOq”,”NGIiZD”,”mlRREX”,”6m_xYI”,”mwa76u”,”qKFflQ”,”mxARhC”,”7LISht”,”fa0p6x”,”gqUoyV”,”QnohJ2″,”R7DQr_”,”Xi-2HZ”,”F2AZ3p”,”6pmvzh”,”Erjc5t”,”PCbs_l”,”PgoAle”,”miRpRf”,”zPgUM0″,”_AgNiB”,”rZbf7k”,”RA5fcz”,”hxNjir”,”dWSKta”,”Knxjr7″,”eJYNEt”,”hxnqL3″,”wU942v”,”G9idyf”,”TVI5a2″,”osGflv”,”KwOV1Z”,”IuX4Ar”,”ew-Uau”,”Oc3sTL”,”griB9b”,”Z7U8sN”,”wLDeDm”,”8eZ7us”,”pZzSdK”,”_wYjwe”,”Pxd0my”,”CSOnVf”,”w2XwHO”,”x9N_Dh”,”HKQFPT”,”UzUVfh”,”wn3KpT”,”2NwMnm”,”KmpI2y”,”oiya90″,”fiorRT”,”MWFqPp”,”1EZ_7C”,”pT-O8u”,”qfSfGN”,”f95x4s”,”1NKejA”,”HDgDKt”,”XS7t-Q”,”fSRrv3″,”h7E4Ym”,”AoLEtg”,”Hgrhyo”,”ABlMo4″,”j2bGQY”,”8vFdtI”,”_KhVZh”,”qkYV7t”,”BqoTCX”,”FgJHmE”,”-xj2Ol”,”n69w9j”,”GVTdZB”,”Kv5xL1″,”xsqNye”,”08L0XB/jdYFmQ”,”-02Lut”,”BULXY0″,”dX3eZQ”,”MNKFIS”,”mHPUmd”,”thFMrK”,”1yEXVQ”,”meOI_T”,”0uWw9s”,”Paa6Zn”,”a4q8MG”,”OkJwbt”,”nPqO2d”,”fAPg3f”,”QRwZD2″,”-2hM2s”,”10CW2t”,”08L0XB/L9pCXd”,”xlsORH”,”sb81vR”,”sERCEg”,”tc4D5F”,”iZ1Bsx”,”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,’global_nav_links’,’handlers’,[‘handlers’]); /** * Private handler of global_nav_links */ define([‘utils/asdf-encoder’], function (asdf) { function clickAboutGeoLink(event, target) { window.open(asdf.asdf(target.getAttribute(‘data-ahref’)).replace(/&/g, ‘&’), ‘_self’); } return { clickAboutGeoLink: clickAboutGeoLink } });}); 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 {}; }); });if (require) {require([‘ta/rollupAmdShim’], function(rollupAmdShim) { rollupAmdShim.install([], [“page-model”]); }); } else {if (window.ta&&ta.rollupAmdShim) {ta.rollupAmdShim.install([],[“page-model”]);} }if (require) {require([‘ta/rollupAmdShim’], function(rollupAmdShim) { rollupAmdShim.install([], [“ta/util/RecordInterruption”]); }); } else {if (window.ta&&ta.rollupAmdShim) {ta.rollupAmdShim.install([],[“ta/util/RecordInterruption”]);} }require([‘ta/p13n/placements’], function(placements) { var define = placements.define.bind(placements,’qualtrics_survey’,’handlers’,[‘handlers’]); /** Private javascript for qualtrics survey placement * We want to show on the 2nd pageview, no more than once every 30 days * The div id is generated from the qualtrics site-intercept code. * The placement render will decide which survey to displace. */ define([ “placement”, “lib/jquery-amd”, “ta”, ‘ta/Core/TA.LocalStorage’, ‘page-model’, ‘ta/util/RecordInterruption’, ‘ta/support/Qualtrics’, ‘utils/throttle’, ‘common/Radio’ ], function (placement, $, ta, taLocalStore, model, recordInterruption, taQualtrics, throttle, Radio) { “use strict”; ta.queueForLoad(function () { // For surveys that should hide when the user begins to scroll, this is the how much give they have var SCROLL_BUFFER = 318; // Campaign ID for event tracking var CAMPAIGN_ID = ‘qualtrics_surveys’; taQualtrics.setSmartSurvey(!!placement.params.smartSurvey); taQualtrics.updatePageViews(); if (taLocalStore.enabled && ( taQualtrics.isDebug() || taQualtrics.canDisplaySmart() || ( !taQualtrics.getSmartSurvey() && taQualtrics.canDisplay() ) )) { var surveyKey = placement.params.surveyId; var surveyContainerClassName = ‘.’ + surveyKey + ‘_InfoBarContainer’; var surveyName = placement.params.surveyName; var surveyProperties = ‘Qualtrics_Survey’ + ‘|’ + window.pageServlet + ‘|’ + surveyName; if (placement.params.smartSurvey) { var getSurveyProperties = function (_ss, _qa) { return _ss + ‘|’ + [‘sc-‘ + _qa.getSessionCount(), ‘ir-‘ + _qa.getInterceptReqs(), ‘iv-‘ + _qa.getInterceptViews(), ‘pv-‘+_qa.getPageViews()].join(‘|’); }; $(‘body’).on(‘qxInterceptShown’, function () { ta.trackEventOnPage(CAMPAIGN_ID, ‘interceptShown’, getSurveyProperties(surveyProperties, taQualtrics), null, true); taQualtrics.updateInterceptViews(); taQualtrics.updateSessionCount(); }); $(‘body’).on(‘qxInterceptAccept’, function () { ta.trackEventOnPage(CAMPAIGN_ID, ‘interceptAccept’, getSurveyProperties(surveyProperties, taQualtrics), null, false); taQualtrics.setResponded(true); }); $(‘body’).on(‘qxInterceptDecline’, function () { ta.trackEventOnPage(CAMPAIGN_ID, ‘interceptDecline’, getSurveyProperties(surveyProperties, taQualtrics), null, false); taQualtrics.setResponded(true); }); } if (surveyKey) { taQualtrics.displaySurvey(surveyKey); recordInterruption.record(‘popup’, surveyProperties, taQualtrics.getPageViews()); if (placement.params.smartSurvey) { taQualtrics.updateInterceptReqs(); } // TV-1243 – Mobile Surveys cover a commerce component, so they should be hidden when the user begins to scroll if (placement.params.hideOnScroll) { var hide = function () { var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop; if (scrollTop > 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 { }; }); }); 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,’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,’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’); } } }); });});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 { }; });});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', 'widget/components', 'utils/asdf-encoder' ], function( placement, $, Radio, RegEvents, throttle, Components, 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); } // Trip links are potentially coming in client-side only, initialize them! if (placementEl[0]) { Components.initComponentWidgets(placementEl[0], '@ta/trips.trip-link'); Components.initComponentWidgets(placementEl[0], '@ta/brand.global-nav-action-content-collect'); } 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("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

Source