PageSourceSearch

https://www.guildfordtowncentre.com/dist/e5e84062021188960678.js

js guildfordtowncentre.com collected 2026-10-05 01:08:15 UTC 5,022 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkPylot_Frontend=self.webpackChunkPylot_Frontend||[]).push([[179,6895],{16895:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var l=n(58168),a=n(53986),c=n(96540),o=n(47767),r=n(52376),i=n(15474),s=n(29255),d=["process","path","url","type","target","isExternal","children","ariaLabel"];const u=function(e){var t,n,u,m,h,p,f,_,b,E=e.process,A=e.path,k=e.url,w=e.type,g=e.target,y=e.isExternal,C=e.children,N=e.ariaLabel,x=(0,a.A)(e,d),L=(0,o.Zp)(),P=!1,$=!1;if(k&&"/"!=k.charAt(0)&&"#"!=k.charAt(0)&&"tel:"!=k.substr(0,4)&&"mailto:"!=k.substr(0,7)?k=null!==(b=k)&&void 0!==b&&b.includes("http")?k:"https://".concat(k):k&&v(k)&&("/"==k.charAt(0)||"#"==k.charAt(0))&&(k="https://".concat(i.A.domain).concat(k)),!k||"/"!=k.charAt(0)&&"#"!=k.charAt(0)||null!=A||null!=x&&null!==(t=x.class)&&void 0!==t&&t.toLowerCase().includes("mvk-absolute")||(A=k),k&&!v(k)&&null!==(n=k)&&void 0!==n&&n.includes("http")&&null!==(u=k)&&void 0!==u&&u.includes(i.A.domain)&&(null==x||null===(m=x.class)||void 0===m||null===(m=m.toLowerCase())||void 0===m||!m.includes("mvk-absolute")))try{var B=new URL(k);A=B.pathname,P=B.hash||!1,$=B.search||!1}catch(e){console.error(e)}if(null!=x&&null!==(h=x.class)&&void 0!==h&&h.toLowerCase().includes("mvk-absolute")&&(k=k.includes("http")?k:"https://".concat(i.A.domain).concat(k)),"_blank"===g&&(y="true"),k&&(null===(p=k)||void 0===p||!p.includes("mypylot"))&&null!==(f=k)&&void 0!==f&&f.includes("http")&&(null===(_=k)||void 0===_||!_.includes(i.A.domain.replace("www.","")))){var F;y="true";var G=Array.isArray(C)?"string"==typeof C[0]?C[0]:null===(F=C[0])||void 0===F||null===(F=F.props)||void 0===F?void 0:F.children:"";x["aria-label"]="".concat(G||""," opens in a new tab")}N&&(x["aria-label"]=N),y&&(g=y||"true"==y?"_blank":"_self");var M=function(e){if(e.target.focus(),e.stopPropagation(),e.preventDefault(),E&&E.call(e),A&&y){var t="https://".concat(i.A.domain).concat(A).replace(/\/?$/,"/");window.open(t,g)}else if(A&&"#"==A.charAt(0))(0,s.m)(A,70,"smooth");else if(A)L("".concat(A.replace(/\/?$/,"/")).concat(P||"").concat($||"")),document.body.scrollTop=0,document.documentElement.scrollTop=0;else if(k&&g){var n;t=null!==(n=k)&&void 0!==n&&n.includes("http")?(0,r.decode)(k):"http://".concat((0,r.decode)(k)),window.open((0,r.decode)(t),g).focus()}else{if(!k)return;var l,a;t=null!==(l=k)&&void 0!==l&&l.includes("http")||null!==(a=k)&&void 0!==a&&a.includes("#")?k:"http://".concat(k),window.location.href=(0,r.decode)(k)}x.closeModal&&x.closeModal(),x.closeBanner&&x.closeBanner()};return"button"==w||"submit"==w||"reset"==w?c.createElement("button",(0,l.A)({type:w,onClick:M},x),C):k&&"mailto:"==k.substr(0,7)?c.createElement("a",(0,l.A)({href:k,target:g},x),C):"anchor"==w?c.createElement("a",(0,l.A)({href:(0,r.decode)(k),target:g,onClick:M},x),C):c.createElement("div",(0,l.A)({onClick:M},x),C)};function v(e){var t;return!!e&&(null==e||null===(t=e.split("/"))||void 0===t||null===(t=t.pop())||void 0===t?void 0:t.indexOf("."))>-1}},40179:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var l=n(80296),a=n(96540),c=n(52376),o=n(20982),r=n(66188),i=n(26564),s=n(76564),d=n(28610),u=n(16895),v=n(57456),m=function(e){var t=e.data,n=e.service,s=e.i,v=(0,a.useState)(0===s),m=(0,l.A)(v,2),h=m[0],p=m[1];return a.createElement("div",{key:"service-".concat(s),className:"service-card ".concat(h?"open":"")},a.createElement("div",{className:"heading-wrapper",onClick:function(){return p(!h)}},a.createElement("div",{className:"heading-inner"},n.default_icon&&n.hover_icon&&a.createElement("div",{className:"service-icon"},a.createElement("div",{className:"default-icon"},a.createElement(d.default,{data:n.default_icon})),a.createElement("div",{className:"hover-icon"},a.createElement(d.default,{data:n.hover_icon}))),n.title&&a.createElement("h4",{className:"heading ".concat(t.heading_color)},(0,c.decode)(n.title))),a.createElement(o.g,{icon:r.Jt$,class:"carat"})),a.createElement("div",{className:"content"},n.excerpt&&a.createElement(i.default,{html:n.excerpt}),a.createElement(u.default,{type:"anchor",className:"service-link ".concat(t.link_color),url:n.url,"aria-label":"link to ".concat(n.title," service")},(0,c.decode)(n.link_text))))};const h=function(e){var t,n,c=e.data,o=e.settings,r=(0,a.useState)(!!c.services&&c.services),i=(0,l.A)(r,2),d=i[0],u=i[1];return(0,a.useEffect)((function(){o.current_location?u((function(){return null==d?void 0:d.filter((function(e){var t;return null===(t=e.locations)||void 0===t?void 0:t.includes(o.current_location)}))})):u(!!c.services&&c.services)}),[o.current_location,c]),d&&0!==(null==d?void 0:d.length)?a.createElement(v.CW,{className:"cards-container cell",outline:(0,s.GG)(c.card_outline_color,o),borderRadius:null!==(t=o.mvk_theme_config.other)&&void 0!==t&&t.enable_border_radius?"".concat(null===(n=o.mvk_theme_config.other)||void 0===n?void 0:n.border_radius_size,"px"):"0px"},d&&d.map((function(e,t){return a.createElement(m,{data:c,service:e,i:t})}))):null}}}]);
2//# sourceMappingURL=e5e84062021188960678.js.map

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.