PageSourceSearch

https://www.chelseatoronto.com/etc.clientlibs/langhamhotels/clientlibs-chelsea/clientlib-contentpage.js

js chelseatoronto.com collected 2026-10-01 14:10:21 UTC 4,895 bytes, 1 lines download raw bytes

vendor: 1,709 bytes, line 1
1/*! Thu, 17 Sep 2026 05:57:16 GMT */!function(e){function r(r){for(var n,i,l=r[0],s=r[1],u=r[2],c=0,f=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&f.push(a[i][0]),a[i]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(d&&d(r);f.length;)f.shift()();return o.push.apply(o,u||[]),t()}function t(){for(var e,r=0;r<o.length;r++){for(var t=o[r],n=!0,l=1;l<t.length;l++){var s=t[l];0!==a[s]&&(n=!1)}n&&(o.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={3:0},o=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/apps/langhamhotels/clientlibs-chelsea/";var l=window.webpackJsonp=window.webpackJsonp||[],s=l.push.bind(l);l.push=r,l=l.slice();for(var u=0;u<l.length;u++)r(l[u]);var d=s;o.push([358,0]),t()}({358:function(e,r,t){"use strict";t.r(r);var n=t(38),a=t.n(n),o=(window.globalConfig||{errorMessage:{emptyMessage:"error messge"}}
1).errorMessage,i=function(){var e=$(".cordis-form");e.length>0&&e.each((function(r,t){$(t).validate({onfocusout:function(e){var r=$(e).rules();$.isEmptyObject(r)||$(e).valid()},submitHandler:function(e){if($(".cordis-form-Phone").length>0){var r=$('input[name="PHONE"]').val(),t=$('input[name="tel"]').val();$('input[name="tel"]').attr("disabled",!0),$('input[name="PHONE"]').val(r+t)}$(e).find('button[type="submit"]').attr("disabled"),$("body").append('<div class="page-layer"></div>'),e.submit()},success:function(e){!function(e){$(e).parents(".lh-form--failed").removeClass("lh-form--failed")}(e)}}),$(t).find(".lh-form--require").each((function(e,r){if($(r).hasClass("checkbox-valid"))$(r).next().find("input").each((function(e,r){$(r).rules("add",{required:function(){return 0===$(".lh-checkbox--part").find(".lh-checkbox--part__value").filter(":checked").length},minlength:1})}));else if($(r).hasClass("radio-valid")){$(r).next().find("input").each((function(e,r){$(r).rules("add",{required:!0})}))}else $(r).hasClass("selector-valid")?($(r).next().find(".lh-form__selector--value").rules("add",{required:!0}),$(r).next().find('input[name="tel"]').rules("add",{required:!0})):$(r).next("input").rules("add",{required:!0})})),$(e).find("input").each((function(e,r){var t=$(r).attr("name"),n=$(r).attr("data-validation-regexp"),a=$(r).attr("data-validation-errormsg"),o={};n&&a&&($.validator.addMethod(t,(function(e,r){return this.optional(r)||RegExp(n).test(e)}),a),o[t]=!0,$(r).rules("add",o))})),$(t).find(".js-captcha").each((function(e,r){$(r).rules("add",{customerCaptcha:!0})}))}))},l=function(){$.extend($.validator.messages,{required:o&&o.emptyMessage||"error messge",require_from_group:o&&o.emptyMessage||"error messge"}),$.validator.addMethod("checkboxGroup",(function(e,r,t){var n=a()(t,2),o=n[0],i=n[1],l=[];return $("input[name=".concat(i,"]")).each((function(){$(this).is(":checked")&&l.push($(this))})),l.length>=o}),o&&o.emptyMessage||"error messge"),$.validator.setDefaults({errorClass:"cordis-form-error",errorElement:"div",ignore:[],highlight:function(e){"checkbox"===$(e).attr("type")?$(e).parents(".lh-form-group--item").addClass("lh-form--failed"):$(e).parents(".cordis-form-item").addClass("lh-form--failed")},unhighlight:function(e){"checkbox"===$(e).attr("type")?$(e).parents(".lh-form-group--item").removeClass("lh-form--failed"):$(e).parents(".cordis-form-item").removeClass("lh-form--failed")},errorPlacement:function(e,r){"checkbox"===$(r).attr("type")?0===$(r).parents(".lh-form--failed").find(".cordis-form-error").length&&$(r).parents(".lh-form--failed").append(e):"radio"===$(r).attr("type")?$(r).parents(".lh-form__radio").append(e):$(r).hasClass("lh-form__selector--value")||"tel"===$(r).attr("name")?$(r).parents(".lh-form__selector").append(e):$(r).parent("div").append(e)}}),$.validator.addMethod("customerCaptcha",(function(e,r){return this.optional(r)||/^true$/.test(e)}),o&&o.emptyMessage),i(),$(".selector-valid.lh-form--require").each((function(e,r){$(r).next(".lh-form__selector--main").find(".lh-form__dropdown--menu").on("focusout",(function(e){$(e.target).siblings(".lh-form__selector--value").valid()}))}))};$((function(){l()}))}});

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.