PageSourceSearch

https://www.towerhotellondon.com/wp-content/themes/tower-marble-arch/dist/scripts/rooms-listings_f63b4f12.js

js towerhotellondon.com collected 2026-10-05 20:03:59 UTC 7,676 bytes, 1 lines download raw bytes

1!function(o){var t={};function e(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return o[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}e.m=o,e.c=t,e.d=function(o,t,n){e.o(o,t)||Object.defineProperty(o,t,{configurable:!1,enumerable:!0,get:n})},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p="/wp-content/themes/tower-marble-arch/dist/",e(e.s=412)}({2:function(o,t){o.exports=jQuery},412:function(o,t,e){e(413),o.exports=e(414)},413:function(o,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(o){var e=function(){o(".rooms-listings__box__content").matchHeight();var t="false",e=function(){for(var o,t=[],e=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n<e.length;n++)o=e[n].split("="),t.push(o[0]),t[o[0]]=o[1];return t}().pet_friendly;"true"==e||"TRUE"==e?(o(".pet-friendly-filter input").prop("checked",!0),r(t="true")):(o(".pet-friendly-filter input").prop("checked",!1),r(t="false")),o(".pet-friendly-filter input").on("change",function(){r(t=o(this).is(":checked")?"true":"false")}),o("select#room-type").on("change",function(){setTimeout(function(){o("#listings-changing-announce").html("Filtering by "+s)},500)});var n=o(".rooms-listings .row.rooms-listings__posts .rooms-listings__box").first().clone(!0),s=o("select#room-type").find(":selected").val();function r(t){if("true"==t){var e={action:"room_list",pet_friendly:"true",category:s};o.ajax({type:"post",dataType:"json",url:myAjax.ajaxurl,data:e,success:function(t){if(t.length>0){o(".rooms-listings .row.rooms-listings__posts").html("");for(var e=0;e<t.length;e++){var s=n.clone(!0),r=t[e];if(r.room_featured_usps.length>0){var i=s.find(".rooms-listings__box__content .room-featured-usps");i.html("");for(var l=0;l<r.room_featured_usps.length;l++){var a=r.room_featured_usps[l];i.append('<li><img src="'+a.featured_usp_icon.url+'"/><p>'+a.featured_usp_text+"</p></li>")}}else s.find(".rooms-listings__box__content .room-featured-usps").hide();if(r.room_usps.length>0){var m=s.find(".rooms-listings__box__content .room-usps");m.html("");for(var d=0;d<r.room_usps.length;d++){var f=r.room_usps[d];m.append('<li><img src="'+f.usp_icon.url+'"/>'+f.usp_text+"</li>")}}else s.find(".rooms-listings__box__content .room-usps").hide();var _=r.name;s.find("h3.room-name").html(_),s.find(".excerpt").html(r.excerpt),s.find(".single-room-link").attr("href",r.permalink),s.find(".room-link").attr("href",r.permalink),s.find(".image-holder").html('<img src="'+r.image+'" alt="'+r.name+'" />'),s.find(".book-offer").attr("href",r.book_link),s.find(".room-link").attr("data-event","Clicked | "+_),s.find(".room-link").data("event","Clicked | "+_),s.find(".single-room-link").attr("data-event","Clicked | "+_),s.find(".single-room-link").data("event","Clicked | "+_),s.find(".book-offer").attr("data-event","Book now | "+_),s.find(".book-offer").data("event","Book now | "+_),s.appendTo(".rooms-listings .row.rooms-listings__posts"),o(".rooms-listings__box__content").matchHeight({remove:!0}),o(".rooms-listings__box__content").matchHeight()}}else o(".rooms-listings .row.rooms-listings__posts").html(""),o(".rooms-listings .row.rooms-listings__posts").append('<div class="col-12 col-sm-12"><div class="no-results"><h3>No Results Found</h3>Unfortunately no rooms have been found, please try another room type.</div></div>')}})}else{e={action:"room_list",category:s};o.ajax({type:"post",dataType:"json",url:myAjax.ajaxurl,data:e,success:function(t){if(t.length>0){o(".rooms-listings .row.rooms-listings__posts").html("");for(var e=0;e<t.length;e++){var s=n.clone(!0),r=t[e];if(r.room_featured_usps.length>0){var i=s.find(".rooms-listings__box__content .room-featured-usps");i.html("");for(var l=0;l<r.room_featured_usps.length;l++){var a=r.room_featured_usps[l];i.append('<li><img src="'+a.featured_usp_icon.url+'"/><p>'+a.featured_usp_text+"</p></li>")}}else s.find(".rooms-listings__box__content .room-featured-usps").hide();if(r.room_usps.length>
10){var m=s.find(".rooms-listings__box__content .room-usps");m.html("");for(var d=0;d<r.room_usps.length;d++){var f=r.room_usps[d];m.append('<li><img src="'+f.usp_icon.url+'"/>'+f.usp_text+"</li>")}}else s.find(".rooms-listings__box__content .room-usps").hide();var _=r.name;s.find(".image-holder img").attr("src");s.find("h3.room-name").html(_),s.find(".excerpt").html(r.excerpt),s.find(".single-room-link").attr("href",r.permalink),s.find(".room-link").attr("href",r.permalink),s.find(".image-holder").html('<img src="'+r.image+'" alt="'+r.name+'" />'),!1===r.image&&s.find(".image-holder").html(""),s.find(".book-offer").attr("href",r.book_link),s.find(".room-link").attr("data-event","Clicked | "+_),s.find(".room-link").data("event","Clicked | "+_),s.find(".single-room-link").attr("data-event","Clicked | "+_),s.find(".single-room-link").data("event","Clicked | "+_),s.find(".book-offer").attr("data-event","Book now | "+_),s.find(".book-offer").data("event","Book now | "+_),s.appendTo(".rooms-listings .row.rooms-listings__posts"),o(".rooms-listings__box__content").matchHeight({remove:!0}),o(".rooms-listings__box__content").matchHeight()}}else o(".rooms-listings .row.rooms-listings__posts").html(""),o(".rooms-listings .row.rooms-listings__posts").append('<div class="col-12 col-sm-12"><div class="no-results"><h3>No Results Found</h3>Unfortunately no rooms have been found, please try another room type.</div></div>')}})}return!1}o("select#room-type").on("change",function(){var e={action:"room_list",category:s=o(this).find(":selected").val(),pet_friendly:t};return o.ajax({type:"post",dataType:"json",url:myAjax.ajaxurl,data:e,success:function(t){if(t.length>0){o(".rooms-listings .row.rooms-listings__posts").html("");for(var e=0;e<t.length;e++){var s=n.clone(!0),r=t[e];if(r.room_featured_usps.length>0){var i=s.find(".rooms-listings__box__content .room-featured-usps");i.html("");for(var l=0;l<r.room_featured_usps.length;l++){var a=r.room_featured_usps[l];i.append('<li><img src="'+a.featured_usp_icon.url+'"/><p>'+a.featured_usp_text+"</p></li>")}}else s.find(".rooms-listings__box__content .room-featured-usps").hide();if(r.room_usps.length>0){var m=s.find(".rooms-listings__box__content .room-usps");m.html("");for(var d=0;d<r.room_usps.length;d++){var f=r.room_usps[d];m.append('<li><img src="'+f.usp_icon.url+'"/>'+f.usp_text+"</li>")}}else s.find(".rooms-listings__box__content .room-usps").hide();var _=r.name;s.find("h3.room-name").html(_),s.find(".excerpt").html(r.excerpt),s.find(".single-room-link").attr("href",r.permalink),s.find(".room-link").attr("href",r.permalink),s.find(".book-offer").attr("href",r.book_link),s.find(".room-link").attr("data-event","Clicked | "+_),s.find(".room-link").data("event","Clicked | "+_),s.find(".single-room-link").attr("data-event","Clicked | "+_),s.find(".single-room-link").data("event","Clicked | "+_),s.find(".book-offer").attr("data-event","Book now | "+_),s.find(".book-offer").data("event","Book now | "+_),s.find(".image-holder").html('<img src="'+r.image+'" alt="'+r.name+'" />'),s.appendTo(".rooms-listings .row.rooms-listings__posts"),o(".rooms-listings__box__content").matchHeight({remove:!0}),o(".rooms-listings__box__content").matchHeight()}}else o(".rooms-listings .row.rooms-listings__posts").html(""),o(".rooms-listings .row.rooms-listings__posts").append('<div class="col-12 col-sm-12"><div class="no-results"><h3>No Results Found</h3>Unfortunately no rooms have been found, please try another room type.</div></div>')}}),!1})};t.default=e,new e}.call(t,e(2))},414:function(o,t){}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.