PageSourceSearch

https://www.yourswithlove.co.uk/_next/static/chunks/8570.12c7a070fb467eb3.js

js yourswithlove.co.uk collected 2026-10-09 05:13:45 UTC 20,439 bytes, 363 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8570],{477:function(e,t,i){i.d(t,{C:function(){return r}});let r=(e,t,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,i),i)},3064:function(e,t,i){i.d(t,{N:function(){return o}});var r=i(477);function o(e){return(t,i)=>{let{slot:o,selector:n}=e??{},a="slot"+(o?`[name=${o}]`:":not([name])");return(0,r.C)(t,i,{get(){let t=this.renderRoot?.querySelector(a),i=t?.assignedElements(e)??[];return void 0===n?i:i.filter(e=>e.matches(n))}})}}},551:function(e,t,i){i.d(t,{I:function(){return o}});var r=i(477);function o(e,t){return(i,o,n)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}="object"==typeof o?i:n??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return(0,r.C)(i,o,{get(){let i=e.call(this);return void 0===i&&(null!==(i=a(this))||this.hasUpdated)&&t.call(this,i),i}})}return(0,r.C)(i,o,{get(){return a(this)}})}}},61:function(e,t,i){i.d(t,{S:function(){return o}});var r=i(2070);function o(e){return(0,r.C)({...e,state:!0,attribute:!1})}},8570:function(e,t,i){i.r(t),i.d(t,{default:function(){return x}});var r=i(386),o=i(4935),n=i(2618),a=i(8547),s=i(8163),d=i(8882),l=i(1494),p=i(3160),u=i(2952),h=(0,o.iv)`
2    :host {
3        display: block;
4    }
5
6    .header-row {
7        display: flex;
8        align-items: center;
9        gap: var(--pu-space-600, 1.5em);
10    }
11
12    @media screen and (max-width: 47.9975em) {
13        .header-row {
14            gap: var(--pu-space-400, 1em);
15        }
16    }
17    @media screen and (max-width: 47.9975em) {
18        .header-row.justify-content-narrow-start {
19            justify-content: start;
20            text-align: left;
21        }
22        .header-row.justify-content-narrow-center {
23            justify-content: center;
24            text-align: center;
25        }
26        .header-row.justify-content-narrow-end {
27            justify-content: end;
28            text-align: right;
29        }
30        .header-row.justify-content-narrow-space-between {
31            justify-content: space-between;
32            text-align: left;
33        }
34    }
35    @media screen and (min-width: 48em) {
36        .header-row.justify-content-start {
37            justify-content: start;
38            text-align: left;
39        }
40        .header-row.justify-content-center {
41            justify-content: center;
42            text-align: center;
43        }
44        .header-row.justify-content-end {
45            justify-content: end;
46            text-align: right;
47        }
48        .header-row.justify-content-space-between {
49            justify-content: space-between;
50            text-align: left;
51        }
52    }
53`,c=i(3339),m=i(4545);class g extends c.Z{constructor(){super(...arguments),this.justifyContent="start",this.justifyContentNarrow="start",this.deprecatedPropertyMap=[{old:"mobileJustifyContent",new:"justifyContentNarrow",defaultValue:"start"}]}get mobileJustifyContent(){return this.justifyContentNarrow}set mobileJustifyContent(e){this._handleDeprecated("mobileJustifyContent",e)}_handleDeprecated(e,t){(0,m.b)(this,e,t,this.deprecatedPropertyMap)}render(){return(0,o.dy)`
54            <div
55                part="row"
56                class="${(0,p.$)({"header-row":!0,[`justify-content-${this.justifyContent}`]:this.justifyContent,[`justify-content-narrow-${this.justifyContentNarrow}`]:this.justifyContentNarrow})}"
57            >
58                <slot name="header-block"></slot>
59            </div>
60        `}}g.styles=[u.Z,h],(0,r.g)([(0,a.C)()],g.prototype,"justifyContent",void 0),(0,r.g)([(0,a.C)()],g.prototype,"justifyContentNarrow",void 0),(0,r.g)([(0,a.C)()],g.prototype,"mobileJustifyContent",null);let w=(0,o.iv)`
61    @media (max-width: 29.9375em) {
62        .small-down {
63            display: flex;
64        }
65        ::slotted([viewport='small-down']) {
66            display: block;
67        }
68    }
69    @media (min-width: 30em) {
70        :host([viewport='small-down']) {
71            display: none;
72        }
73        .small-down {
74            display: none;
75        }
76        ::slotted([viewport='small-down']) {
77            display: none;
78        }
79    }
80    @media (max-width: 29.9375em) {
81        :host([viewport='small-up']) {
82            display: none;
83        }
84        .small-up {
85            display: none;
86        }
87        ::slotted([viewport='small-up']) {
88            display: none;
89        }
90    }
91    @media (min-width: 30em) {
92        .small-up {
93            display: flex;
94        }
95        ::slotted([viewport='small-up']) {
96            display: block;
97        }
98    }
99    @media (max-width: 47.9375em) {
100        .medium-down {
101            display: flex;
102        }
103        ::slotted([viewport='medium-down']) {
104            display: block;
105        }
106    }
107    @media (min-width: 48em) {
108        :host([viewport='medium-down']) {
109            display: none;
110        }
111        .medium-down {
112            display: none;
113        }
114        ::slotted([viewport='medium-down']) {
115            display: none;
116        }
117    }
118    @media (max-width: 47.9375em) {
119        :host([viewport='medium-up']) {
120            display: none;
121        }
122        .medium-up {
123            display: none;
124        }
125        ::slotted([viewport='medium-up']) {
126            display: none;
127        }
128    }
129    @media (min-width: 48em) {
130        .medium-up {
131            display: flex;
132        }
133        ::slotted([viewport='medium-up']) {
134            display: block;
135        }
136    }
137    @media (max-width: 64.9375em) {
138        .large-down {
139            display: flex;
140        }
141        ::slotted([viewport='large-down']) {
142            display: block;
143        }
144    }
145    @media (min-width: 65em) {
146        :host([viewport='large-down']) {
147            display: none;
148        }
149        .large-down {
150            display: none;
151        }
152        ::slotted([viewport='large-down']) {
153            display: none;
154        }
155    }
156    @media (max-width: 64.9375em) {
157        :host([viewport='large-up']) {
158            display: none;
159        }
160        .large-up {
161            display: none;
162        }
163        ::slotted([viewport='large-up']) {
164            display: none;
165        }
166    }
167    @media (min-width: 65em) {
168        .large-up {
169            display: flex;
170        }
171        ::slotted([viewport='large-up']) {
172            display: block;
173        }
174    }
175    @media (max-width: 89.93755em) {
176        .xlarge-down {
177            display: flex;
178        }
179        ::slotted([viewport='xlarge-down']) {
180            display: block;
181        }
182    }
183    @media (min-width: 1440em) {
184        :host([viewport='xlarge-down']) {
185            display: none;
186        }
187        .xlarge-down {
188            display: none;
189        }
190        ::slotted([viewport='xlarge-down']) {
191            display: none;
192        }
193    }
194    @media (max-width: 89.93755em) {
195        :host([viewport='xlarge-up']) {
196            display: none;
197        }
198        .xlarge-up {
199            display: none;
200        }
201        ::slotted([viewport='xlarge-up']) {
202            display: none;
203        }
204    }
205    @media (min-width: 1440em) {
206        .xlarge-up {
207            display: flex;
208        }
209        ::slotted([viewport='xlarge-up']) {
210            display: block;
211        }
212    }
213`,y=(0,o.iv)`
214    :host {
215        display: block;
216    }
217    @media screen and (min-width: 65em) {
218        :host([fit='fill']) {
219            flex: 1 0 auto;
220        }
221        :host([fit='fit']) {
222            flex: 0 1 auto;
223        }
224        :host([fit='auto']) {
225            flex: 0 0 auto;
226        }
227        :host([justify='inherit']) {
228            margin-right: 0 !important;
229            margin-left: 0 !important;
230        }
231        :host([justify='start']) {
232            margin-right: auto !important;
233        }
234        :host([justify='center']) {
235            margin-left: auto !important;
236            margin-right: auto !important;
237        }
238        :host([justify='end']) {
239            margin-left: auto !important;
240        }
241    }
242    @media screen and (max-width: 64.9975em) {
243        :host([fitNarrow='fill']) {
244            flex: 1 0 auto;
245        }
246        :host([fitNarrow='fit']) {
247            flex: 0 1 auto;
248        }
249        :host([fitNarrow='auto']) {
250            flex: 0 0 auto;
251        }
252        :host([justifyNarrow='inherit']) {
253            margin-right: 0 !important;
254            margin-left: 0 !important;
255        }
256        :host([justifyNarrow='start']) {
257            margin-right: auto !important;
258        }
259        :host([justifyNarrow='center']) {
260            margin-left: auto !important;
261            margin-right: auto !important;
262        }
263        :host([justifyNarrow='end']) {
264            margin-left: auto !important;
265        }
266    }
267    .header-block {
268        display: flex;
269        flex-wrap: wrap;
270        height: 100%;
271    }
272`;class f extends c.Z{constructor(){super(...arguments),this.justify="start",this.fit="auto",this.fitNarrow="auto",this.deprecatedPropertyMap=[{old:"mobileJustify",new:"justifyNarrow",defaultValue:void 0},{old:"mobileFit",new:"fitNarrow",defaultValue:"auto"}]}get mobileJustify(){return this.justifyNarrow}set mobileJustify(e){this._handleDeprecated("mobileJustify",e)}get mobileFit(){return this.fitNarrow}set mobileFit(e){this._handleDeprecated("mobileFit",e)}_handleDeprecated(e,t){(0,m.b)(this,e,t,this.deprecatedPropertyMap)}blockClasses(){let e={};return"small-down"===this.viewport?e["small-down"]=!0:"small-up"===this.viewport?e["small-up"]=!0:"medium-down"===this.viewport?e["medium-down"]=!0:"medium-up"===this.viewport?e["medium-up"]=!0:"large-down"===this.viewport?e["large-down"]=!0:"large-up"===this.viewport&&(e["large-up"]=!0),e}render(){return(0,o.dy)`
273            <div part="block" class="header-block${(0,p.$)(this.blockClasses())}">
274                <slot></slot>
275            </div>
276        `}}f.styles=[u.Z,[w,y]],(0,r.g)([(0,a.C)()],f.prototype,"viewport",void 0),(0,r.g)([(0,a.C)()],f.prototype,"justify",void 0),(0,r.g)([(0,a.C)()],f.prototype,"justifyNarrow",void 0),(0,r.g)([(0,a.C)()],f.prototype,"fit",void 0),(0,r.g)([(0,a.C)()],f.prototype,"fitNarrow",void 0),(0,r.g)([(0,a.C)()],f.prototype,"mobileJustify",null),(0,r.g)([(0,a.C)()],f.prototype,"mobileFit",null);let v=(0,o.iv)`
277    :host {
278        display: block;
279        position: relative;
280        z-index: 501; /* over overlay z-index */
281    }
282
283    /* Header */
284    .header {
285        color: rgb(from var(--pu-color-base-text, rgb(0, 0, 0)) r g b);
286        background-color: rgb(from var(--pu-color-base-background, rgb(240, 240, 240)) r g b / alpha);
287        transition: all var(--pu-animation, 0.4s) ease;
288        --pu-color-icon-text: var(--pu-color-base-text);
289    }
290
291    @media screen and (min-width: 48em) {
292        .header {
293            padding-top: var(--pu-space-header-top-padding, 1em);
294            padding-bottom: var(--pu-space-header-bottom-padding, 1em);
295            padding-left: var(--pu-space-base-side-padding, 1.5em);
296            padding-right: var(--pu-space-base-side-padding, 1.5em);
297        }
298    }
299
300    @media screen and (max-width: 47.9975em) {
301        .header {
302            padding-top: var(--pu-space-header-top-padding-narrow, 0.75em);
303            padding-bottom: var(--pu-space-header-bottom-padding-narrow, 0.75em);
304            padding-left: var(--pu-space-base-side-padding-narrow, 1.5em);
305            padding-right: var(--pu-space-base-side-padding-narrow, 1.5em);
306        }
307    }
308
309    .header__inner {
310        display: flex;
311        flex-direction: column;
312        row-gap: var(--pu-space-header-rows-gap, 1em);
313        margin-left: auto;
314        margin-right: auto;
315        max-width: var(--pu-size-header-max-width, 75em);
316    }
317    @media screen and (max-width: 47.9975em) {
318        .header__inner {
319            row-gap: var(--pu-space-header-rows-narrow-gap, 1em);
320        }
321    }
322
323    header {
324        transition: all var(--pu-animation, 0.4s) ease;
325    }
326`,b=(0,o.iv)`
327    /* Boolean Property API - Sticky Positioning */
328    :host([sticky]) {
329        position: sticky;
330        top: 0;
331        z-index: 501; /* over overlay z-index */
332    }
333
334    /* Boolean Property API - Transparent Background */
335    :host([transparent]) {
336        position: absolute;
337        width: 100%;
338    }
339
340    /* Boolean Property API - Combined Transparent + Sticky */
341    :host([transparent][sticky]) {
342        position: fixed;
343        width: 100%;
344    }
345
346    /* Boolean Property API - Sticky Hide On Scroll */
347    :host([sticky][scrolling-down]) header {
348        transform: translateY(-100%);
349    }
350`;class x extends c.Z{constructor(){super(...arguments),this.width="page-width",this.spacing="24",this.sticky=!1,this.stickyHideOnScroll=!1,this.transparent=!1,this.deprecatedPropertyMap=[{old:"mobilePaddingTop",new:"paddingTopNarrow",defaultValue:void 0},{old:"mobilePaddingBottom",new:"paddingBottomNarrow",defaultValue:void 0},{old:"mobileSpacing",new:"spacingNarrow",defaultValue:void 0}],this._transparentScrolling=!1,this._currentScrollPosition=0,this._debouncedEventsHandler=(0,n.D)(e=>{this._eventsHandler(e)},100),this._eventsHandler=e=>{"scroll"===e.type&&this._stickyScroll()},this._removeTransparency=()=>{(window.scrollY||document.documentElement.scrollTop)>0?this._transparentScrolling=!0:this._transparentScrolling=!1}}get mobilePaddingTop(){return this.paddingTopNarrow}set mobilePaddingTop(e){this._handleDeprecated("mobilePaddingTop",e)}get mobilePaddingBottom(){return this.paddingBottomNarrow}set mobilePaddingBottom(e){this._handleDeprecated("mobilePaddingBottom",e)}get mobileSpacing(){return this.spacingNarrow}set mobileSpacing(e){this._handleDeprecated("mobileSpacing",e)}_handleDeprecated(e,t){(0,m.b)(this,e,t,this.deprecatedPropertyMap)}updated(e){super.updated(e),e.has("stickyHideOnScroll")&&(this.stickyHideOnScroll?window.addEventListener("scroll",this._debouncedEventsHandler):(window.removeEventListener("scroll",this._debouncedEventsHandler),this.removeAttribute("scrolling-down"))),e.has("transparent")&&(this.sticky&&this.transparent?window.addEventListener("scroll",this._removeTransparency):(window.removeEventListener("scroll",this._removeTransparency),this._transparentScrolling=!1))}disconnectedCallback(){this.sticky&&this.transparent&&window.removeEventListener("scroll",this._removeTransparency),this.sticky&&this.stickyHideOnScroll&&window.removeEventListener("scroll",this._debouncedEventsHandler),super.disconnectedCallback()}firstUpdated(){this._resizeObserver=new ResizeObserver(()=>this._initHeader()),this._resizeObserver.observe(this)}headerStyles(){let e={};if("full-width"===this.width&&(e={...e,"--pu-size-header-max-width":"100%"}),this.paddingTop){let t=/^\d+$/.test(this.paddingTop)?Number(this.paddingTop)/16+"em":this.paddingTop;e={...e,"--pu-space-header-top-padding":t}}if(this.paddingBottom){let t=/^\d+$/.test(this.paddingBottom)?Number(this.paddingBottom)/16+"em":this.paddingBottom;e={...e,"--pu-space-header-bottom-padding":t}}if(this.paddingTopNarrow){let t=/^\d+$/.test(this.paddingTopNarrow)?Number(this.paddingTopNarrow)/16+"em":this.paddingTopNarrow;e={...e,"--pu-space-header-top-padding-narrow":t}}else if(this.paddingTop){let t=/^\d+$/.test(this.paddingTop)?Number(this.paddingTop)/16+"em":this.paddingTop;e={...e,"--pu-space-header-top-padding-narrow":t}}if(this.paddingBottomNarrow){let t=/^\d+$/.test(this.paddingBottomNarrow)?Number(this.paddingBottomNarrow)/16+"em":this.paddingBottomNarrow;e={...e,"--pu-space-header-bottom-padding-narrow":t}}else if(this.paddingBottom){let t=/^\d+$/.test(this.paddingBottom)?Number(this.paddingBottom)/16+"em":this.paddingBottom;e={...e,"--pu-space-header-bottom-padding-narrow":t}}return this.spacing&&(e={...e,"--pu-space-header-rows-gap":Number(this.spacing)/16+"em"}),e=this.spacingNarrow?{...e,"--pu-space-header-rows-narrow-gap":Number(this.spacingNarrow)/16+"em"}:{...e,"--pu-space-header-rows-narrow-gap":Number(this.spacing)/16+"em"},this.transparent&&!this._transparentScrolling&&(e={...e,"--pu-color-base-background":"transparent"}),e}_initHeader(){this._currentScrollPosition=window.scrollY||document.documentElement.scrollTop,this._headerOuterHeight=this.getBoundingClientRect().bottom;let e=this.offsetHeight;this.style.setProperty("--pu-size-header-inner-height",`${e/16}em`),this.style.setProperty("--pu-size-header-outer-height",`${this._headerOuterHeight/16}em`);let t=new CustomEvent("header-details",{detail:{height:this._headerOuterHeight},bubbles:!0,composed:!0});this.dispatchEvent(t)}_stickyScroll(){let e=window.scrollY||document.documentElement.scrollTop;this.stickyHideOnScroll?this._headerOuterHeight&&e<=this._headerOuterHeight?this.removeAttribute("scrolling-down"):e>this._currentScrollPosition?this.setAttribute("scrolling-down",""):this.removeAttribute("scrolling-down"):this.removeAttribute("scrolling-down"),this._currentScrollPosition=e<=0?0:e}render(){return(0,o.dy)`
351            <header
352                part="base header"
353                class="header"
354                style="${(0,l.V)(this.headerStyles())}"
355            >
356                <div
357                    part="content"
358                    class="header__inner"
359                >
360                    <slot name="header-row"></slot>
361                </div>
362            </header>
363        `}}x.styles=[u.Z,[w,v,b]],x.dependencies={"pu-header-row":g,"pu-header-block":f},(0,r.g)([(0,a.C)()],x.prototype,"width",void 0),(0,r.g)([(0,a.C)()],x.prototype,"paddingTop",void 0),(0,r.g)([(0,a.C)()],x.prototype,"paddingBottom",void 0),(0,r.g)([(0,a.C)()],x.prototype,"paddingTopNarrow",void 0),(0,r.g)([(0,a.C)()],x.prototype,"paddingBottomNarrow",void 0),(0,r.g)([(0,a.C)()],x.prototype,"spacing",void 0),(0,r.g)([(0,a.C)()],x.prototype,"spacingNarrow",void 0),(0,r.g)([(0,a.C)({type:Boolean,reflect:!0})],x.prototype,"sticky",void 0),(0,r.g)([(0,a.C)({type:Boolean})],x.prototype,"stickyHideOnScroll",void 0),(0,r.g)([(0,a.C)({type:Boolean,reflect:!0})],x.prototype,"transparent",void 0),(0,r.g)([(0,a.C)()],x.prototype,"mobilePaddingTop",null),(0,r.g)([(0,a.C)()],x.prototype,"mobilePaddingBottom",null),(0,r.g)([(0,a.C)()],x.prototype,"mobileSpacing",null),(0,r.g)([(0,d.S)()],x.prototype,"_headerOuterHeight",void 0),(0,r.g)([(0,d.S)()],x.prototype,"_transparentScrolling",void 0),(0,r.g)([(0,d.S)()],x.prototype,"_currentScrollPosition",void 0),(0,r.g)([(0,s.IO)(".header")],x.prototype,"_header",void 0),x.define("pu-header")},2618:function(e,t,i){i.d(t,{D:function(){return r}});function r(e,t){let i=0;return function(...r){clearTimeout(i),i=setTimeout(()=>e.apply(this,r),t)}}},4545:function(e,t,i){function r(e,t,i,r,o){let n=void 0===o||""===o?"function"==typeof r?r():r:o;e[i]=n,console.warn(`The "${t}" property is deprecated. Please use "${i}" instead.`)}function o(e,t,i,r){let o=r.find(e=>e.old===t);if(!o){console.warn(`No mapping found for deprecated property "${t}"`);return}let n=void 0===i||""===i?"function"==typeof o.defaultValue?o.defaultValue():o.defaultValue:i;e[o.new]=n,console.warn(`The "${t}" property is deprecated. Please use "${o.new}" instead.`)}i.d(t,{Z:function(){return r},b:function(){return o}})},8163:function(e,t,i){let r;i.d(t,{Cb:function(){return o.C},IO:function(){return a.I},Kt:function(){return d},NH:function(){return l.N},SB:function(){return n.S}});
363var o=i(2070),n=i(61),a=i(551),s=i(477);function d(e){return(t,i)=>(0,s.C)(t,i,{get(){return(this.renderRoot??(r??=document.createDocumentFragment())).querySelectorAll(e)}})}var l=i(3064)},8547:function(e,t,i){i.d(t,{C:function(){return r.C}});var r=i(2070)},8882:function(e,t,i){i.d(t,{S:function(){return r.S}});var r=i(61)},1494:function(e,t,i){i.d(t,{V:function(){return s}});var r=i(9842),o=i(9784);let n="important",a=" !"+n,s=(0,o.XM)(class extends o.Xe{constructor(e){if(super(e),e.type!==o.pX.ATTRIBUTE||"style"!==e.name||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,i)=>{let r=e[i];return null==r?t:t+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(e,[t]){let{style:i}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(t)),this.render(t);for(let e of this.ft)null==t[e]&&(this.ft.delete(e),e.includes("-")?i.removeProperty(e):i[e]=null);for(let e in t){let r=t[e];if(null!=r){this.ft.add(e);let t="string"==typeof r&&r.endsWith(a);e.includes("-")||t?i.setProperty(e,t?r.slice(0,-11):r,t?n:""):i[e]=r}}return r.Jb}})}}]);

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.