PageSourceSearch

https://www.grandchancellorhotels.com/integration/tc-theme/public/…/footer-be-app-43019f46d7f8a0348a68.js

js grandchancellorhotels.com collected 2026-09-26 04:43:30 UTC 9,772 bytes, 1 lines download raw bytes

1"use strict";(self.tcthemejsonpFunction=self.tcthemejsonpFunction||[]).push([[4990],{3281(e,o,t){t.d(o,["K",0,e=>{const o=document.getElementById(e).getElementsByClassName("js-remove-if-empty");for(let e=0;e<o.length;e++)o[e].textContent.trim()||o[e].getElementsByTagName("img,video,iframe,svg").length||o[e].remove()}])},792(e,o,t){t.d(o,{A:()=>s});var a=t(1425);const n=["innerHTML"],l={name:"adaNewTab",props:{content:{type:String,required:!0,default:""}}},s=(0,t(6262).A)(l,[["render",function(e,o,t,l,s,i){return(0,a.uX)(),(0,a.CE)("span",{class:"sr-only",innerHTML:t.content},null,8,n)}]])},3445(e,o,t){t.d(o,{A:()=>i});var a=t(1425);const n=["href","target","aria-label"];var l=t(792);const s=(0,a.pM)({name:"ButtonLink",components:{adaNewTab:l.A},props:{type:{type:String,required:!0},classList:{type:String},linkData:{type:Object,required:!0},clickEvent:{type:Function}},setup(e){const o=(0,a.KR)(""),t=(0,a.KR)(!1),n=(0,a.KR)(!1),l=(0,a.KR)(""),s=(0,a.KR)(!1),i=(0,a.KR)("_self"),r=(0,a.KR)(""),c=(0,a.KR)(!1),g=(0,a.KR)(""),u=(e,o)=>e?`${e} ${o}`:o,p=()=>{const a=e.linkData;if(a){if(a.href&&(l.value=a.href),a.target&&(s.value=a.target,i.value=s.value?"_blank":"_self"),a.targetLabel&&(c.value=!0,g.value=a.targetLabel),e.classList&&(o.value=e.classList),a.ariaLabel&&(r.value=a.ariaLabel),"style"in a){switch(a.style.toLowerCase()){case"primary":o.value=u(o.value,"btn btn-primary");break;case"secondary":o.value=u(o.value,"btn btn-secondary");break;case"ghost":o.value=u(o.value,"btn btn-ghost");break;case"action custom":o.value=u(o.value,"btn btn-custom");break;case"link":o.value=u(o.value,"btn-text-only");break;default:o.value=u(o.value,"btn btn-action")}if("state"in a)switch(a.state.toLowerCase()){case"loading":o.value=u(o.value,"loading");break;case"disabled":o.value=u(o.value,"disabled")}}else o.value=u(o.value,"more-link");"link-only"===e.type&&a.href&&a.title?t.value=!0:"text-only"===e.type&&a.title&&(n.value=!0)}};return(0,a.sV)(()=>{p()}),{classNames:o,isAnchor:t,isButton:n,href:l,openNewTab:s,target:i,ariaLabel:r,hasNewTabContent:c,newTabContent:g,analyzeSettings:p}}}),i=(0,t(6262).A)(s,[["render",function(e,o,t,l,s,i){const r=(0,a.g2)("ada-new-tab");return e.isAnchor?((0,a.uX)(),(0,a.CE)("a",{key:0,class:(0,a.C4)(e.classNames),href:e.href,target:e.target,"aria-label":e.ariaLabel},[(0,a.eW)((0,a.v_)(e.linkData.title.trim())+" ",1),e.openNewTab&&e.newTabContent?((0,a.uX)(),(0,a.Wv)(r,{key:0,content:e.newTabContent},null,8,["content"])):(0,a.Q3)("v-if",!0)],10,n)):e.isButton?((0,a.uX)(),(0,a.CE)("button",{key:1,type:"button",class:(0,a.C4)(e.classNames),onClick:o[0]||(o[0]=(...o)=>e.clickEvent&&e.clickEvent(...o))},(0,a.v_)(e.linkData.title.trim()),3)):(0,a.Q3)("v-if",!0)}]])},7744(e,o,t){t.d(o,{A:()=>i});var a=t(1425);const n={key:0},l=["src"],s={name:"FooterLogo",props:{configs:{type:Object,required:!0},hrConfig:Object,positionTop:Boolean},setup(e){const o=e.configs.additionalLanguages,t=!!e.hrConfig.enabled;let n=e.positionTop&&""!=e.configs.logoTop&&!o.enabled?e.configs.logoTop:e.positionTop||""==e.logoBottom||o.enabled?e.positionTop&&""!=o.logoTop&&o.enabled?o.logoTop:!e.positionTop&&""!=o.logoBottom&&o.enabled?o.logoBottom:e.configs.logoTop:e.configs.logoBottom,l=!1;(""!=e.configs.logoTop&&!o.enabled||""!=e.configs.logoBottom&&!o.enabled||""!=o.logoTop&&o.enabled||""!=o.logoBottom&&o.enabled)&&(l=!0);const s=(0,a.EW)(()=>e.positionTop?"img-top":"img-bottom"),i=(0,a.EW)(()=>e.positionTop?"hr-top":"hr-bottom");return{footerLogoClass:(0,a.EW)(()=>{let o="page-footer__logo";return o+=e.positionTop?" page-footer__logo-top":" page-footer__logo-bottom","Desktop"==e.hrConfig.devices?(o+=" hr-desktop-only",o):"Mobile Devices"==e.hrConfig.devices?(o+=" hr-mobile-only",o):(o+=" hr-all-devices",o)}),imgClass:s,logoSrc:n,hasLogo:l,logoBackgroundColor:(0,a.EW)(()=>e.configs.customBackground.enabled&&""!=e.configs.customBackground.backgroundColor&&!o.enabled?e.configs.customBackground.backgroundColor:o.enabled&&""!=o.backgroundColor?o.backgroundColor:"inherit"),hasHR:t,hrClass:i,hrStyles:(0,a.EW)(()=>{let o=100;return e.hrConfig.enabled&&""!=e.hrConfig.width&&(o=e.hrConfig.width),o})}}},i=(0,t(6262).A)(s,[["render",function(e,o,t,s,i,r){return(0,a.uX)(),(0,a.CE)("div",{class:(0,a.C4)(s.footerLogoClass)},[s.hasLogo?((0,a.uX)(),(0,a.CE)("picture",n,[(0,a.Lk)("img",{loading:"lazy",class:(0,a.C4)(s.imgClass),src:s.logoSrc,style:(0,a.Tr)(`background-color: ${s.logoBackgroun
1dColor}`)},null,14,l)])):(0,a.Q3)("v-if",!0),s.hasHR?((0,a.uX)(),(0,a.CE)("hr",{key:1,class:(0,a.C4)(s.hrClass),style:(0,a.Tr)(`width: ${s.hrStyles}px`)},null,6)):(0,a.Q3)("v-if",!0)],2)}]])},6652(e,o,t){t.d(o,{A:()=>s});var a=t(1425);const n={class:"secure-privacy"},l={name:"SecurePrivacy",components:{ButtonLink:t(3445).A},props:{message:{type:String,required:!0}},setup:()=>({openPolicy:()=>{window.sp.showPrivacyBanner()}})},s=(0,t(6262).A)(l,[["render",function(e,o,t,l,s,i){const r=(0,a.g2)("ButtonLink");return(0,a.uX)(),(0,a.CE)("div",n,[(0,a.bF)(r,{type:"text-only",clickEvent:l.openPolicy,linkData:{title:t.message,style:"link",state:""},"aria-haspopup":"dialog"},null,8,["clickEvent","linkData"])])}]])},3589(e,o,t){t.r(o),t.d(o,{default:()=>A});var a=t(1425);const n={class:"container--desktop"},l={class:"footer-row"},s={class:"page-footer__tablet-section js-remove-if-empty"},i={class:"container--tablet page-footer__links-and-selector"},r={class:"page-footer__links-list page-footer__mobile-section js-remove-if-empty"},c={class:""},g={class:"page-footer__tablet-section page-footer__mobile-section js-remove-if-empty"},u={class:"container"},p={key:0,class:"page-footer__logo-wrapper"},d={class:"row hotel-name-and-contact"},f={key:0,class:"col-lg-4 col-sm-6"},v={class:"page-footer__contact"},k={key:0,class:"page-footer__title page-footer__contact__hotel-name h3"},b=["innerHTML"],m={key:1,class:"page-footer__logo-wrapper"},y={class:"page-footer__mobile-section--last page-footer__tablet-section--last page-footer__copyright"},h={class:"container no-widget"},L={key:0,class:"credits_container"},C=["innerHTML"];var _=t(3281),T=t(2299),E=t(7744),w=t(6652);const B={name:"FooterBeApp",components:{FooterLinksBlock:T.A,FooterLogo:E.A,SecurePrivacy:w.A},props:{configs:{type:Object,required:!0}},setup(e){const o=e.configs,t=window.footerBeLinks[o?.blockId],n=window.footerBeTextFields[o?.blockId],l=n?.hotelName,s=n?.contact,i=n?.copyright,r=window.footerBeLocales[o?.blockId];let c=!1,g=!1;return(""!=o.logo.logoTop&&!o.logo.additionalLanguages.enabled||o.logo.additionalLanguages.enabled&&""!=o.logo.additionalLanguages.logoTop)&&(c=!0),(""!=o.logo.logoBottom&&!o.logo.additionalLanguages.enabled||o.logo.additionalLanguages.enabled&&""!=o.logo.additionalLanguages.logoBottom)&&(g=!0),(0,a.sV)(()=>{(0,_.K)("footer-content")}),{hotelName:l,contactText:s,copyrightText:i,hasTopLogo:c,hasBottomLogo:g,footerLinks:t,locales:r,checkSecurePrivacy:()=>o.isSecurePrivacyEnabled&&o.manageCookies,footerClass:()=>"Center"===e.configs.footerAlignment?"center-aligned":""}}},A=(0,t(6262).A)(B,[["render",function(e,o,t,_,T,E){const w=(0,a.g2)("FooterLinksBlock"),B=(0,a.g2)("FooterLogo"),A=(0,a.g2)("SecurePrivacy");return(0,a.uX)(),(0,a.CE)(a.FK,null,[_.locales?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,a.C4)(["page-footer__top-line js-remove-if-empty page-footer__desktop-section",_.footerClass()])},[(0,a.Lk)("div",n,[(0,a.Lk)("div",l,[(0,a.Lk)("div",s,[(0,a.Lk)("div",i,[(0,a.Lk)("div",r,[_.footerLinks?.footerLinksList?((0,a.uX)(),(0,a.Wv)(w,{key:0,linksData:_.footerLinks.footerLinksList,locales:_.locales},null,8,["linksData","locales"])):(0,a.Q3)("v-if",!0)])])])])])],2)):(0,a.Q3)("v-if",!0),(0,a.Lk)("div",{class:(0,a.C4)(["page-footer__desktop-section js-remove-if-empty",_.footerClass()])},[(0,a.Lk)("div",c,[(0,a.Lk)("div",g,[(0,a.Lk)("div",u,[_.hasTopLogo?((0,a.uX)(),(0,a.CE)("div",p,[(0,a.bF)(B,{configs:t.configs.logo,hrConfig:t.configs.hr,positionTop:!0},null,8,["configs","hrConfig"])])):(0,a.Q3)("v-if",!0),(0,a.Lk)("div",d,[""!=_.hotelName||""!=_.contactText?((0,a.uX)(),(0,a.CE)("div",f,[(0,a.Lk)("div",v,[""!=_.hotelName?((0,a.uX)(),(0,a.CE)("div",k,(0,a.v_)(_.hotelName),1)):(0,a.Q3)("v-if",!0),""!=_.contactText?((0,a.uX)(),(0,a.CE)("div",{key:1,class:"small-text",innerHTML:_.contactText},null,8,b)):(0,a.Q3)("v-if",!0)])])):(0,a.Q3)("v-if",!0)]),_.hasBottomLogo?((0,a.uX)(),(0,a.CE)("div",m,[(0,a.bF)(B,{configs:t.configs.logo,hrConfig:t.configs.hr,positionTop:!1},null,8,["configs","hrConfig"])])):(0,a.Q3)("v-if",!0)])]),(0,a.Lk)("div",y,[(0,a.Lk)("div",h,[""!==_.copyrightText||_.checkSecurePrivacy()?((0,a.uX)(),(0,a.CE)("div",L,[""!=_.copyrightText?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"small-text page-footer__c
1opyright__content",innerHTML:_.copyrightText},null,8,C)):(0,a.Q3)("v-if",!0),_.checkSecurePrivacy()?((0,a.uX)(),(0,a.Wv)(A,{key:1,message:_.locales.manageCookies},null,8,["message"])):(0,a.Q3)("v-if",!0)])):(0,a.Q3)("v-if",!0)])])])],2)],64)}]])},2299(e,o,t){t.d(o,{A:()=>r});var a=t(1425);const n={key:0,class:"list-inline"},l=["href","target","aria-label"],s=["innerHTML"],i={name:"FooterLinksBlock",props:{linksData:{type:Array,required:!0},locales:Object},setup:e=>({validLinks:(0,a.EW)(()=>!!e.linksData&&e.linksData.filter(e=>e.text&&e.url))})},r=(0,t(6262).A)(i,[["render",function(e,o,t,i,r,c){return t.locales?((0,a.uX)(),(0,a.CE)("ul",n,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(i.validLinks,e=>((0,a.uX)(),(0,a.CE)("li",{key:e},[(0,a.Lk)("a",{href:e.url,target:e.target?"_blank":"_self","aria-label":e.target?`${e.text} ${t.locales.opensInANewTab}`:e.text},[(0,a.eW)((0,a.v_)(e.text)+" ",1),e.target?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"sr-only",innerHTML:t.locales.opensInANewTab},null,8,s)):(0,a.Q3)("v-if",!0)],8,l)]))),128))])):(0,a.Q3)("v-if",!0)}]])}}]);

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.