PageSourceSearch

https://www.ordnancesurvey.co.uk/_siL0TA_ae4582a6-3f28-45f7-b404-1…erResult.component.c55accf7bee9cfa860af.mjs

js ordnancesurvey.co.uk collected 2026-09-24 08:38:53 UTC 7,173 bytes, 3 lines download raw bytes

1"use strict";(()=>{(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[27634,96067],{53812(g,p,l){l.r(p);var f=l(66220),o=l(74920),i=l(20379);const m=({dataTestId:s,title:t,uri:e})=>f.createElement("li",{className:"column is-one-third","data-testid":s},f.createElement(u,{className:"box"},f.createElement(y,{className:"title"},f.createElement(n,{uri:e},t)))),u=o.styled.div.withConfig({displayName:"defaultResultcomponent__Box",componentId:"sc-v5pwob-0"})(["height:100%;display:flex;flex-direction:column;justify-content:space-between;position:relative;"]),y=o.styled.div.withConfig({displayName:"defaultResultcomponent__Title",componentId:"sc-v5pwob-1"})(["font-size:var(--osweb-font-body-02);"]),n=(0,o.styled)(i.A).withConfig({displayName:"defaultResultcomponent__CardLink",componentId:"sc-v5pwob-2"})([""]);l.d(p,["CardLink",0,n,"default",0,m])},86832(g,p,l){l.r(p),l.d(p,{default:()=>h});var f=l(66220),o=l(74920),i=l(98975),c=l(93633),m=l(56133),u=l(84117),y=l(40968),n=l(42883),s=l(53574),t=l(36840);function e({id:x,customIsInShortlist:E,customToggleShortlisted:C}){const{toggleShortlisted:O}=(0,s.A)(x,E,C);return f.createElement(a,{variant:"ghost",onClick:O},f.createElement(n.default,null),u.ou.removeFromShortlist)}const a=(0,t.I4)(y.A)`
2  --icon-button-offset: var(--osds-spacing-xs);
3`;var r=l(85491),d=l(53812);const h=({id:x,dataTestId:E,title:C,uri:O,description:w,logo:b,tier:j,includeShortlistButton:S,showFeaturedPartnerBadge:P=!0,customIsInShortlist:M,customToggleShortlisted:H})=>f.createElement("li",{className:"column is-full","data-testid":E},f.createElement(A,{className:"card"},f.createElement(B,null,b&&f.createElement(m.F,{...b.imageNextProps,alt:`${C} business logo`,loader:(0,c.O)(b),sizes:"200px"})),f.createElement(I,{className:"card-content"},f.createElement(R,{level:2,className:"title"},f.createElement(N,{uri:O},C),P&&j&&f.createElement(D,null,j),S&&f.createElement(L,null,f.createElement(e,{id:x,customIsInShortlist:M,customToggleShortlisted:H}))),w&&f.createElement("div",{className:"subtitle"},w)))),A=o.styled.div.withConfig({displayName:"partnerResultcomponent__Card",componentId:"sc-8ae8tv-0"})(["position:relative;@media ","{display:flex;flex-direction:row;}"],r.A.tablet),B=o.styled.div.withConfig({displayName:"partnerResultcomponent__CardImage",componentId:"sc-8ae8tv-1"})(["display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:var(--osds-spacing-xs);max-width:15rem;@media ","{flex-direction:row;}"],r.A.tablet),N=(0,o.styled)(d.CardLink).withConfig({displayName:"partnerResultcomponent__StyledCardLink",componentId:"sc-8ae8tv-2"})(["&:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;}"]),I=o.styled.div.withConfig({displayName:"partnerResultcomponent__CardContent",componentId:"sc-8ae8tv-3"})(["flex:3;padding-top:var(--osds-spacing-m);"]),R=(0,o.styled)(i.default).withConfig({displayName:"partnerResultcomponent__CardTitleAndButton",componentId:"sc-8ae8tv-4"})(["display:flex;justify-content:space-between;align-items:center;font-size:var(--osweb-font-header-04);& a{color:var(--osds-colour-text-default);}"]),D=o.styled.span.withConfig({displayName:"partnerResultcomponent__CardIsFeatured",componentId:"sc-8ae8tv-5"})(["position:absolute;top:0;right:0;background-color:var(--osds-colour-primary-1-70);border-style:solid;border-width:1px;color:var(--osds-colour-primary-4);padding:var(--osds-spacing-5xs);.title &{font-size:var(--osweb-font-body-02);font-weight:var(--osweb-font-weight-light);}"]),L=o.styled.div.withConfig({displayName:"partnerResultcomponent__ShortlistButtonWrapper",componentId:"sc-8ae8tv-6"})(["position:relative;z-index:11;"])},53574(g,p,l){l.d(p,{A:()=>n});var f=l(9173),o=l(1463),i=l.n(o),c=l(25198);const m=s=>({type:c.j,items:s});var u=l(4215);const y=i()();function n(s,t,e){const a=(0,f.wA)(),r=y((0,f.d4)(u.d5));if(t&&e)return{isInShortlist:t(s),toggleShortlisted:()=>e(s)};{const d=r.indexOf(s),v=d>-1;return{isInShortlist:v,toggleShortlisted:()=>{e?e(s):(v?r.splice(d,1):r.push(s),a(m(r)))}}}}},4215(g,p,l){const f=c=>c?.shortlist?.isLoaded,o=c=>c?.shortlist?.items,i=c=>c?.search?.context!=null;l.d(p,["d5",0,o,"nz",0,i])},1463(g){g.exports=l;function p(o){return o instanceof Buffer?Buffer.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function l(o){if(o=o||{},o.circles)return f(o);const i=new Map;if(i.set(Date,n=>new Date(n)),i.set(Map,(n,s)=>new Map(m(Array.from(n),s))),i.set(Set,(n,s)=>new Set(m(Array.from(n),s))),o.constructorHandlers)for(const n of o.constructorHandlers)i.set(n[0],n[1]);let c=null;return o.proto?y:u;function m(n,s){const t=Object.keys(n),e=new Array(t.length);for(let a=0;a<t.length;a++){const r=t[a],d=n[r];typeof d!="object"||d===null?e[r]=d:d.constructor!==Object&&(c=i.get(d.constructor))?e[r]=c(d,s):ArrayBuffer.isView(d)?e[r]=p(d):e[r]=s(d)}return e}function u(n){if(typeof n!="object"||n===null)return n;if(Array.isArray(n))return m(n,u);if(n.constructor!==Object&&(c=i.get(n.constructor)))return c(n,u);const s={};for(const t in n){if(Object.hasOwnProperty.call(n,t)===!1)continue;const e=n[t];typeof e!="object"||e===null?s[t]=e:e.constructor!==Object&&(c=i.get(e.constructor))?s[t]=c(e,u):ArrayBuffer.isView(e)?s[t]=p(e):s[t]=u(e)}return s}function y(n){if(typeof n!="object"||n===null)return n;if(Array.isArray(n))return m(n,y);if(n.constructor!==Object&&(c=i.get(n.constructor)))return c(n,y);const s={};for(const t in n){const e=n[t];typeof e!="object"||e===null?s[t]=e:e.constructor!==Object&&(c=i.get(e.constructor))?s[t]=c(e,y):ArrayBuffer.isView(e)?s[t]=p(e):s[t]=y(e)}return s}}function f(o){const i=[],c=[],m=new Map;if(m.set(Date,t=>
3new Date(t)),m.set(Map,(t,e)=>new Map(y(Array.from(t),e))),m.set(Set,(t,e)=>new Set(y(Array.from(t),e))),o.constructorHandlers)for(const t of o.constructorHandlers)m.set(t[0],t[1]);let u=null;return o.proto?s:n;function y(t,e){const a=Object.keys(t),r=new Array(a.length);for(let d=0;d<a.length;d++){const v=a[d],h=t[v];if(typeof h!="object"||h===null)r[v]=h;else if(h.constructor!==Object&&(u=m.get(h.constructor)))r[v]=u(h,e);else if(ArrayBuffer.isView(h))r[v]=p(h);else{const A=i.indexOf(h);A!==-1?r[v]=c[A]:r[v]=e(h)}}return r}function n(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return y(t,n);if(t.constructor!==Object&&(u=m.get(t.constructor)))return u(t,n);const e={};i.push(t),c.push(e);for(const a in t){if(Object.hasOwnProperty.call(t,a)===!1)continue;const r=t[a];if(typeof r!="object"||r===null)e[a]=r;else if(r.constructor!==Object&&(u=m.get(r.constructor)))e[a]=u(r,n);else if(ArrayBuffer.isView(r))e[a]=p(r);else{const d=i.indexOf(r);d!==-1?e[a]=c[d]:e[a]=n(r)}}return i.pop(),c.pop(),e}function s(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return y(t,s);if(t.constructor!==Object&&(u=m.get(t.constructor)))return u(t,s);const e={};i.push(t),c.push(e);for(const a in t){const r=t[a];if(typeof r!="object"||r===null)e[a]=r;else if(r.constructor!==Object&&(u=m.get(r.constructor)))e[a]=u(r,s);else if(ArrayBuffer.isView(r))e[a]=p(r);else{const d=i.indexOf(r);d!==-1?e[a]=c[d]:e[a]=s(r)}}return i.pop(),c.pop(),e}}}}]);})();

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.