PageSourceSearch

https://www.claytonchristian.org/_next/static/chunks/0rlkn-irz_rv1.js

js claytonchristian.org collected 2026-10-02 00:13:02 UTC 45,587 bytes, 831 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77081,e=>{"use strict";var t=e.i(422233);let n=e=>!!e&&"object"==typeof e&&Array.isArray(e.blocks),a=()=>({blocks:[{id:(0,t.v4)(),type:"paragraph",tagName:"p",data:{text:""}}]});e.s(["ANNOUNCEMENT_V2_BLOCK_IDS",0,["core/heading","core/paragraph","core/divider","core/html","core/countdowntimer"],"LATEST_ANNOUNCEMENT_VERSION",0,"2.0","announcementV1ToV2Content",0,e=>{if(n(e?.content))return e.content;let o=[],r=(e?.name||"").trim();r&&o.push({id:(0,t.v4)(),type:"heading",tagName:"h6",data:{level:6,text:r}});let i="string"==typeof e?.content?e.content.trim():"";return(i&&o.push({id:(0,t.v4)(),type:"paragraph",tagName:"p",data:{text:i}}),o.length)?{blocks:o}:a()},"isAnnouncementV2",0,e=>Number.parseFloat(e?.meta?.version??"0")>=Number.parseFloat("2.0")||n(e?.content),"isV2Content",0,n,"newAnnouncementV2Content",0,a])},855781,207208,850785,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(174080),o=e.i(997053),r=e.i(911062),i=e.i(725404),s=e.i(235984),l=e.i(604163),c=e.i(77081),m=e.i(988842),d=e.i(18429),u=e.i(701835),h=e.i(104769),p=e.i(451626),g=e.i(242576),x=e.i(81392);let f={[p.default.type]:p.default.render,[x.default.type]:x.default.render,[h.default.type]:h.default.render,[g.default.type]:g.default.render,[u.default.type]:u.default.render},b=({announcement:e})=>{let n=(0,i.useSmartText)(),a=e?.content;return(0,c.isV2Content)(a)?a.blocks?.length?(0,t.jsx)("div",{className:"text render-rich-text announcement-content",children:a.blocks.map((e,n)=>{let a=f[e?.type];return a?(0,t.jsx)(a,{block:e},`${e?.id}-${n}`):null})}):null:a?(0,t.jsx)("div",{className:"text",dangerouslySetInnerHTML:{__html:n(a)}}):null},y=o.css`
2
3    // border-radius: var(--theme-border-radius);
4    // box-shadow: var(--theme-shadow);
5    display: flex;
6    align-items: center;
7    justify-content: space-between;
8    border: 1px solid currentColor;
9    // position: absolute;
10    z-index: 150;
11    // top: 1em;
12    // left: 50%;
13    // right: 50%;
14    // width: 90%;
15    // max-width: 1000px;
16    position: relative;
17    text-align: center;
18    background-color: white;
19    color: black;
20    opacity: 0;
21    transition: all 300ms;
22    transform: translatey(-50px);
23    height: 0;
24    overflow: hidden;
25    
26    .content {
27        flex: 1;
28
29        .text { margin-top: 0.5rem; }
30
31        // v2 rich content — mirror the v1 .title / .text treatment
32        .render-rich-text {
33            h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: bold; }
34            > * + * { margin-top: 0.5rem; }
35        }
36    }
37
38    .containerwrap{
39        width: 100%;
40        display: flex;
41        align-items: center;
42        flex-direction: column;
43        padding: 1rem;
44    }
45
46    .buttons {
47        display: flex;
48        flex-wrap: wrap;
49        gap: 0.5rem;
50        flex-shrink: 0;
51        align-items: center;
52        // padding-right: 2.5rem;
53        position: relative;
54        z-index: 3;
55        margin-top: 1rem;
56    }
57
58    .link {
59        position: absolute;
60        top: 0;
61        left: 0;
62        right: 0;
63        bottom: 0;
64        z-index: 2;
65    }
66    .close {
67        position: absolute;
68        top: 0.25rem;
69        right: 0.25rem;
70        z-index: 5;
71        padding: 0.25rem 0.5rem;
72        svg {
73            height: 1.25rem;
74        }
75    }
76    &.-ready {
77        height: 100px;
78         opacity: 1;
79    }
80    &.-enter {
81        opacity: 1;
82        transform: translatey(0px);
83        height: auto;
84    }
85    &.-leave {
86        opacity:0;
87        transform: translatey(-50px);
88    }
89    &.-remove {
90        display: none;
91    }
92
93
94    // Brand Color
95    ${e=>e?.announcement?.meta?.styles?.bg&&e?.announcement?.meta?.styles?.bg?.type!=="custom"?o.css`
96        background-color: ${(0,r.getCSSVariable)(e?.announcement?.meta?.styles?.bg?.value,"color-bg")};
97        color: ${(0,r.getCSSVariable)(e?.announcement?.meta?.styles?.bg?.value,"color-text")}; 
98    `:""}
99    
100    // Custom BG Color
101    ${e=>e?.announcement?.meta?.styles?.bg&&e?.announcement?.meta?.styles?.bg?.type==="custom"?o.css`
102        background-color: ${e?.announcement?.meta?.styles?.bg?.value};
103    `:""}
104    
105
106    // Custom Text Color
107    ${e=>e?.announcement?.meta?.styles?.textColor!==null?o.css`
108        color: ${e?.announcement?.meta?.styles?.textColor};
109    `:""}
110
111    // Left-align text when buttons are present
112    // ${e=>e?.announcement?.meta?.linkType==="buttons"&&e?.announcement?.meta?.buttons?.length>0?o.css`text-align: left;`:""}
113
114    // Alignment
115    &.align-default {}
116    &.align-center {}
117    &.align-left {
118        .containerwrap {
119            flex-direction: row;
120        }
121        .content {
122            text-align: left;
123        }
124    }
125    &.align-right {
126        .containerwrap {
127            flex-direction: row;
128        }
129        .buttons { order: 2; }
130        .content { order: 1; text-align: right;  margin-top: 1.5rem;}
131    }
132
133`,v=(0,o.default)(e=>{let{trackEvent:o}=(0,d.useIntegrationsContext)(),r=(0,i.useSmartText)(),{announcement:u}
133=e,h=u?.meta?.newTab===!0?"_blank":"",[p,g]=(0,n.useState)(null),x=(0,n.useRef)(null),f=(0,n.useCallback)(()=>{o(`ac_${u?.id}`)},[o,u?.id]);(0,n.useEffect)(()=>{x.current=document?.getElementById("banners");let t=()=>{g("-enter"),o(`av_${u?.id}`)},n=!e?.isEditor&&"number"==typeof u?.meta?.delay&&u.meta.delay>0?1e3*u.meta.delay:0,a=n>0?setTimeout(t,n):t();return()=>{a&&clearTimeout(a)}},[]);let y=u?.meta?.styles?.align?u?.meta?.styles?.align:"default";u?.meta?.styles?.align||u?.meta?.linkType!=="buttons"||(y="left");let v=(0,m.classNames)(e.className,"announcement",p,`align-${y}`),C=u?.meta?.linkType==="buttons"&&u?.meta?.buttons?.length>0;return x?.current?(0,a.createPortal)((0,t.jsxs)("div",{className:v,children:[(0,t.jsxs)("div",{className:"containerwrap",children:[(0,t.jsxs)("div",{className:"content",children:[!(0,c.isV2Content)(u?.content)&&u?.name&&(0,t.jsx)("h6",{className:"title",children:r(u?.name)}),(0,t.jsx)(b,{announcement:u})]}),C&&(0,t.jsx)("div",{className:"buttons",children:u.meta.buttons.map((e,n)=>(0,t.jsx)(s.ThemedButton,{...e,href:e.url,tag:"a",onClick:f,children:e.text},e.id??`${e.url}-${e.text}`))})]}),!C&&u?.meta?.url&&(0,t.jsx)("a",{className:"link",href:u.meta.url,target:h,rel:"_blank"===h?"noopener noreferrer":void 0,onClick:f,children:(0,t.jsx)("span",{className:"sr-only",children:"Read more"})}),(0,t.jsx)("button",{type:"button","aria-label":"Close banner",className:"close",onClick:()=>{g("-leave"),setTimeout(()=>g("-remove"),2e3),o(`ax_${u?.id}`),e?.onClose&&e?.onClose(u)},children:(0,t.jsx)(l.ThemedIcon,{icon:{library:"fa",id:"times"}})})]}),x.current):null}).withConfig({displayName:"ThemedBanner__ThemedBannerShared",componentId:"sc-28b3384f-0"})`
134    ${y}
135`;e.s(["ThemedBanner",0,e=>(0,t.jsx)(v,{...e,className:e.className})],855781);var C=e.i(399168);let w=o.css`
136    
137    
138    border-radius: var(--theme-border-radius);
139    box-shadow: var(--theme-shadow);
140    display: flex;
141    flex-direction: column;
142    border: 1px solid currentColor;
143    width: 25vw;
144    max-width: 400px;
145    position:relative;
146    background-color: white;
147    color: black;
148    @container(max-width:768px){ width: 80vw; }
149    @media(max-width:768px){ width: 80vw; }
150    
151    padding: 1rem;
152    .content {
153        // padding: 0.5rem;
154        width: 100%;
155        .title,
156        .text { font-size: 0.875rem; }
157        .text { margin-top: 0.5rem; }
158
159        // v2 rich content — mirror the v1 .title / .text treatment
160        .render-rich-text {
161            font-size: 0.875rem;
162            h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: bold; }
163            > * + * { margin-top: 0.5rem; }
164        }
165    }
166
167    .container {
168        display: flex;
169        align-items: flex-start;
170        padding: 0 !important;
171        gap: 0.5em;
172    }
173
174    .image {
175        flex-shrink: 0;
176        flex-grow: 0;
177        max-width: 100px;
178 
179        img {
180            border-radius: var(--theme-border-radius);
181        }
182    }
183    .image + .content {
184        margin-left: 0.5rem;
185    }
186    .link {
187        position: absolute;
188        top: 0;
189        left: 0;
190        right: 0;
191        bottom: 0;
192        z-index: 2;
193    }
194
195    .buttons {
196        display: flex;
197        flex-wrap: wrap;
198        gap: 0.5rem;
199        align-items: flex-start;
200        justify-content: flex-start;
201        position: relative;
202        z-index: 3;
203        margin-top: 0.5em;
204    }
205
206    // Brand Color
207    ${e=>e?.announcement?.meta?.styles?.bg&&e?.announcement?.meta?.styles?.bg?.type!=="custom"?o.css`
208        background-color: ${(0,r.getCSSVariable)(e?.announcement?.meta?.styles?.bg?.value,"color-bg")};
209        color: ${(0,r.getCSSVariable)(e?.announcement?.meta?.styles?.bg?.value,"color-text")}; 
210        
211    `:""}
212    
213    // Custom BG Color
214    ${e=>e?.announcement?.meta?.styles?.bg&&e?.announcement?.meta?.styles?.bg?.type==="custom"?o.css`
215        background-color: ${e?.announcement?.meta?.styles?.bg?.value};
216    `:""}
217    
218
219    // Custom Text Color
220    ${e=>e?.announcement?.meta?.styles?.textColor!==null?o.css`
221        color: ${e?.announcement?.meta?.styles?.textColor};
222    `:""}
223
224    // Alignment
225    &.align-default {}
226    &.align-left {}
227    &.align-center {
228        .container {
229            flex-direction: column;
230            align-items: center;
231        }
232        .image { margin-bottom: 1em;}
233        .content {
234            text-align: center;
235        }
236        .buttons {
237            align-items: center;
238            justify-content: center;
239        }
240    }
241    &.align-right {
242        .image { order: 2; }
243        .content { order: 1; }
244    }
245
246`,j=(0,o.default)(e=>{let{trackEvent:a}=(0,d.useIntegrationsContext)(),o=(0,i.useSmartText)(),r=`${e.className} announcement`,{announcement:l}=e,m=l?.meta?.newTab===!0?"_blank":"",u=l?.meta?.linkType==="buttons"&&l?.meta?.buttons?.length>0,h=l?.meta?.styles?.align?l?.meta?.styles?.align:"default",p=(0,n.useCallback)(()=>{a(`ac_${l?.id}`)},[a,l?.id]);return(0,t.jsxs)("div",{"data-notification":!0,className:`${r} align-${h}`,children:[(0,t.jsxs)("div",{className:"container",children:[l?.meta?.featureImage&&(0,t.jsx)("div",{className:"image",children:(0,t.jsx)(C.MediaImage,{crop:C.ImageCroppingPresets.mediumsquare,image:l?.meta?.featureImage})}),(0,t.jsxs)("div",{className:"content",children:[!(0,c.isV2Content)(l?.content)&&l?.name&&(0,t.jsx)("h6",{className:"title",children:o(l?.name)}),(0,t.jsx)(b,{announcement:l}),u&&(0,t.jsx)("div",{className:"buttons",children:l.meta.buttons.map((e,n)=>(0,t.jsx)(s.ThemedButton,{...e,href:e.url,tag:"a",onClick:p,children:e.text},e.id??`${e.url}-${e.text}`))})]})]}),!u&&l?.meta?.url&&(0,t.jsx)("a",{className:"link",href:l.meta.url,target:m,rel:"_blank"===m?"noopener noreferrer":void 0,onClick:p,children:(0,t.jsx)("span",{className:"sr-only",children:"Read more"})})]})}).withConfig({displayName:"ThemedNotification__ThemedNotificationShared",componentId:"sc-5aa57854-0"})`
247    ${w}
248`;e.s(["ThemedNotification",0,e=>(0,t.jsx)(j,{...e,className:e.className})],207208);let k=o.css`
249
250    background-color: rgba(0,0,0,0.85);
251    display: flex;
252    align-items: center;
253    justify-content: center;
254    width: 100%;
255    height: 100%;
256    position: fixed;
257    z-index: 999;
258    top: 0;
259    left: 0;
260    overflow: auto;
261    opacity: 0;
262    transition: all 300ms;
263    pointer-events: none;
264    padding: 1em;
265
266
267    
268
269
270    .popup-container {
271        max-width: 600px;
272        width: 100%;
273        text-align: center;
274        border-radius: var(--theme-border-radius);
275        box-shadow: var(--theme-shadow);
276        transition: all 300ms;
277        transform: translatey(50px);
278        position: relative;
279    }
280    
281    .image, img {
282        width: 100%;
283        border-radius: var(--theme-border-radius);
284        border-bottom-right-radius: 0;
285        border-bottom-left-radius: 0;
286       
287    }
288    
289    .content {
290         padding: 1rem;
291         width: 100%;
292        .title { font-size: 1.25rem; }
293        .text { margin-top: 0.5rem; }
294
295        // v2 rich content — mirror the v1 .title / .text treatment
296        .render-rich-text {
297            h1, h2, h3, h4, h5, h6 { font-size: 1.25rem; font-weight: bold; }
298            > * + * { margin-top: 0.5rem; }
299        }
300    }
301
302    .buttons {
303        display: flex;
304        flex-wrap: wrap;
305        gap: 0.5rem;
306        justify-content: center;
307        padding: 0 1rem 1rem;
308        position: relative;
309        z-index: 3;
310    }
311
312    .close-container {
313        position: absolute;
314        top: 0.5em;
315        right: 0.5em;
316        z-index: 3;
317    }
318    .close {
319        background-color: rgba(0,0,0,0.35);
320        border-radius: 1000px;
321        width: 35px;
322        height: 35px;
323        display: flex;
324        align-items: center;
325        justify-content: center;
326        
327        [data-icon] { font-size: 1em;  }
328    }
329    
330    
331
332     &.-ready {
333        opacity: 1;
334        pointer-events: none;
335    }
336    &.-enter {
337        opacity: 1;
338        pointer-events: all;
339        .popup-container { transform: translatey(0px); }
340    }
341    &.-leave {
342        opacity:0;
343        pointer-events: none;
344        .popup-container { transform: translatey(50px); }
345    }
346    &.-remove {
347        display: none;
348    }
349    
350    // Sticking if editing
351    &.-editor { 
352        position: sticky;
353        pointer-events: none;
354        .close-container { display: none; }
355    }
356
357    .link {
358        position: absolute;
359        top: 0;
360        left: 0;
361        right: 0;
362        bottom: 0;
363        z-index: 2;
364    }
365
366    // Brand Color
367    .popup-container {
368        ${e=>e?.announcement?.meta?.styles?.bg&&e?.announcement?.meta?.styles?.bg?.type!=="custom"?o.css`
369            background-color: ${(0,r.getCSSVariable)(e?.announcement?.meta?.styles?.bg?.value,"color-bg")};
370            color: ${(0,r.getCSSVariable)(e?.announcement?.meta?.styles?.bg?.value,"color-text")}; 
371            
372        `:""}
373        
374        // Custom BG Color
375        ${e=>e?.announcement?.meta?.styles?.bg&&e?.announcement?.meta?.styles?.bg?.type==="custom"?o.css`
376            background-color: ${e?.announcement?.meta?.styles?.bg?.value};
377        `:""}
378        
379
380        // Custom Text Color
381        ${e=>e?.announcement?.meta?.styles?.textColor!==null?o.css`
382            color: ${e?.announcement?.meta?.styles?.textColor};
383        `:""}
384    }
385
386    // Alignment
387    &.align-default {}
388    &.align-center {}
389    &.align-left {
390        .content {
391            text-align: left;
392        }
393        .buttons {
394            align-items: flex-start;
395            justify-content: flex-start;
396        }
397    }
398    &.align-right {
399        .content {
400            text-align: right;
401        }
402        .buttons {
403            align-items: flex-end;
404            justify-content: flex-end;
405        }
406    }
407
408`,N=(0,o.default)(e=>
408{let[a,o]=(0,n.useState)(null),{trackEvent:r}=(0,d.useIntegrationsContext)(),u=(0,i.useSmartText)(),{announcement:h}=e,p=h?.meta?.newTab===!0?"_blank":"",g=e?.isEditor===!0?" -editor":"",x=h?.meta?.linkType==="buttons"&&h?.meta?.buttons?.length>0,f=h?.meta?.styles?.align?h?.meta?.styles?.align:"default",y=(0,m.classNames)(e.className,"announcement popup",a,g,`align-${f}`),v=e?.isEditor?50:"number"==typeof h?.meta?.delay&&h.meta.delay>0?1e3*h.meta.delay:2e3,w=(0,n.useCallback)(()=>{r(`ac_${h?.id}`)},[r,h?.id]);return(0,n.useEffect)(()=>{setTimeout(()=>void(o("-enter"),r(`av_${h?.id}`)),v)},[]),(0,t.jsx)("div",{"data-notification":!0,className:y,children:(0,t.jsxs)("div",{className:"popup-container",children:[(0,t.jsxs)("div",{className:"container",children:[h?.meta?.featureImage&&(0,t.jsx)("div",{className:"image",children:(0,t.jsx)(C.MediaImage,{crop:C.ImageCroppingPresets.largepreview,image:h?.meta?.featureImage})}),(0,t.jsxs)("div",{className:"content",children:[!(0,c.isV2Content)(h?.content)&&h?.name&&(0,t.jsx)("h6",{className:"title",children:u(h?.name)}),(0,t.jsx)(b,{announcement:h})]}),x&&(0,t.jsx)("div",{className:"buttons",children:h.meta.buttons.map((e,n)=>(0,t.jsx)(s.ThemedButton,{...e,href:e.url,tag:"a",onClick:w,children:e.text},e.id??`${e.url}-${e.text}`))})]}),!x&&h?.meta?.url&&(0,t.jsx)("a",{className:"link",href:h.meta.url,target:p,rel:"_blank"===p?"noopener noreferrer":void 0,onClick:w,children:(0,t.jsx)("span",{className:"sr-only",children:"Read more"})}),(0,t.jsx)("div",{className:"close-container",children:(0,t.jsx)("button",{type:"button","aria-label":"Close banner",className:"close",onClick:()=>{o("-leave"),setTimeout(()=>o("-remove"),2e3),r(`ax_${h?.id}`),e?.onClose&&e?.onClose(h)},children:(0,t.jsx)(l.ThemedIcon,{icon:{library:"fa",id:"times"}})})})]})})}).withConfig({displayName:"ThemedPopup__ThemedPopupShared",componentId:"sc-25784474-0"})`
409    ${k}
410`;e.s(["ThemedPopup",0,e=>(0,t.jsx)(N,{...e,className:e.className})],850785)},82426,e=>{"use strict";var t=e.i(843476),n=e.i(911062),a=e.i(235984),o=e.i(604163),r=e.i(239513),i=e.i(730059),s=e.i(180582),l=e.i(271645),c=e.i(997053),m=e.i(462396),d=e.i(67460),u=e.i(961299),h=e.i(988842),p=e.i(368497);let g=(0,c.default)(({name:e,checked:n,onChange:a=()=>{},label:o,className:r,disabled:i=!1})=>(0,t.jsxs)(p.Switch,{checked:n,onChange:a,name:e,className:(0,h.classNames)(r,{checked:n}),disabled:i,children:[(0,t.jsx)("span",{className:"sr-only",children:o}),(0,t.jsx)("span",{"aria-hidden":"true",className:"toggle-button"})]})).withConfig({displayName:"ThemedToggle__ThemedToggleInput",componentId:"sc-e5ea6e81-0"})`
411    cursor: pointer;
412    position: relative;
413    display: inline-flex;
414    height: 1.5rem;
415    width: 2.5rem;
416    flex-shrink: 0;
417    border-radius: 9999px;
418    border: 2px solid transparent;
419    transition: background-color 200ms ease-in-out, border-color 200ms ease-in-out;
420    background-color: #e5e7eb;
421    --toggle-button-outline: #e5e7eb;
422
423    &:focus {
424        outline: none;
425        box-shadow: 0 0 0 2px black;
426    }
427
428    &[data-checked] {
429        background-color: var(--primary-color-bg); 
430
431        .toggle-button {
432            transform: translateX(calc(100% - 4px));
433        }
434        &:not([disabled]) {
435            --toggle-button-outline: var(--primary-color-bg);
436        }
437    }
438
439    &[disabled] {
440        cursor: not-allowed;
441        background-color: #e5e7eb;
442        opacity: 0.5;
443    }
444
445    .toggle-button {
446        pointer-events: none;
447        display: inline-block;
448        height: 1.25rem;
449        width: 1.25rem;
450        border-radius: 9999px;
451        background-color: white;
452        box-shadow: 0 0 0 2px var(--toggle-button-outline);
453        transition: transform 200ms ease-in-out;
454        transform: translateX(0);
455    }
456`;var x=e.i(482820);let f=(0,c.default)(({values:e,onSubmit:n,onAccept:o,onReject:r,className:i,locale:c="en"})=>{let m=s.translations[c]||s.translations.en,[h,p]=(0,l.useState)((0,x.default)(e,"analytics",!1)),[f,b]=(0,l.useState)((0,x.default)(e,"functional",!1)),[y,v]=(0,l.useState)((0,x.default)(e,"performance",!1)),[C,w]=(0,l.useState)((0,x.default)(e,"advertisement",!1));return(0,t.jsxs)("form",{action:"#",onSubmit:e=>{e.preventDefault(),n({analytics:h,advertisement:C,functional:f,performance:y})},className:i,children:[(0,t.jsxs)("div",{className:"consent-preferences-fields",children:[(0,t.jsxs)("div",{className:"preference-option",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(u.ThemedLabel,{htmlFor:"necessary",children:[m.necessary," ",(0,t.jsx)("span",{className:"always-active",children:m.alwaysActive})]}),(0,t.jsx)(d.ThemedInputDescription,{htmlFor:"necessary",children:m.necessaryDescription})]}),(0,t.jsx)(g,{name:"necessary",checked:!0,label:m.necessary,disabled:!0})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"preference-option",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(u.ThemedLabel,{htmlFor:"functional",onClick:()=>b(!f),children:m.functional}),(0,t.jsx)(d.ThemedInputDescription,{htmlFor:"functional",children:m.functionalThemeDescription})]}),(0,t.jsx)(g,{name:"functional",checked:f,onChange:()=>b(!f),label:m.functional})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"preference-option",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(u.ThemedLabel,{htmlFor:"analytics",onClick:()=>p(!h),children:m.analytics}),(0,t.jsx)(d.ThemedInputDescription,{htmlFor:"analytics",children:m.analyticsThemeDescription})]}),(0,t.jsx)(g,{name:"analytics",checked:h,onChange:()=>p(!h),label:m.analytics})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"preference-option",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(u.ThemedLabel,{htmlFor:"performance",onClick:()=>v(!y),children:m.performance}),(0,t.jsx)(d.ThemedInputDescription,{htmlFor:"performance",children:m.performanceThemeDescription})]}),(0,t.jsx)(g,{name:"performance",checked:y,onChange:()=>v(!y),label:m.performance})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"preference-option",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(u.ThemedLabel,{htmlFor:"advertisement",onClick:()=>w(!C),children:m.advertisement}),(0,t.jsx)(d.ThemedInputDescription,{htmlFor:"advertisement",children:m.advertisementThemeDescription})]}),(0,t.jsx)(g,{name:"advertisement",checked:C,onChange:()=>w(!C),label:m.advertisement})]})]}),(0,t.jsxs)("div",{className:"consent-preferences-actions",children:[(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"button",color:{type:"brand",value:"primary"},onClick:r,children:m.rejectAll}),(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"submit",color:{type:"brand",value:"primary"},children:m.savePreferences}),(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"button",color:{type:"brand",value:"primary"},onClick:o,children:m.acceptAll})]})]})}).withConfig({displayName:"ThemedConsentCustomisationForm",componentId:"sc-9545208a-0"})`
457    .consent-preferences-fields {
458        margin-top: 1rem;
459        display: flex;
460        flex-direction: column;
461        gap: 1rem;
462    }
463
464    .consent-preferences-actions {
465        margin-top: 2rem;
466        display: flex;
467        gap: 1rem;
468        justify-content: space-between;
469        > * {
470            flex-grow: 1;
471        }
472    }
473
474    .preference-option {
475        display: flex;
476        gap: 1rem;
477        justify-content: space-between;
478    }
479
480    .always-active {
481        font-size: 0.8rem;
482        color: var(--primary-color-bg);
483        font-weight: 400;
484        margin-left: 0.5rem;
485    }
486`,b=(0,c.default)(e=>{let n=`${e.className} cookie`,{cookie:c,locale:d="en"}=e,[u,h]=(0,l.useState)(!1),[p,g]=(0,l.useState)(!1),x=s.translations[d]||s.translations.en,b=(e=30)=>{(0,i.setCookie)("cookie_seen",!0,e),h(!0),g(!1)},y=()=>{try{e?.onAcceptConsent&&e.onAcceptConsent()}finally{b()}},v=()=>
486{try{e?.onRejectConsent&&e.onRejectConsent()}finally{b()}};return!0===u&&(n+=" -hide"),(0,t.jsxs)("div",{"data-cookie-prompt":!0,className:n,children:[(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"content",children:[c?.meta?.title&&(0,t.jsx)("h6",{className:"title",children:(0,t.jsx)("b",{children:c.meta.title})}),c?.meta?.description&&(0,t.jsx)("div",{className:"text",children:c?.meta?.description}),c?.meta?.privacyTitle&&c?.meta?.privacyUrl&&(0,t.jsx)("a",{href:c?.meta?.privacyUrl,target:"_blank",children:c?.meta?.privacyTitle})]})}),c?.meta?.consent&&(0,t.jsx)("div",{className:"container container--consent",children:c?.meta?.consentType==="customisable"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.ThemedButton,{variant:"outlined",tag:"button",type:"button",color:{type:"brand",value:"secondary"},onClick:()=>g(!0),children:x.customize}),(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"button",color:{type:"brand",value:"secondary"},onClick:v,children:x.rejectAll}),(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"button",color:{type:"brand",value:"primary"},onClick:y,children:x.acceptAll})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"button",color:{type:"brand",value:"secondary"},onClick:v,children:x.reject}),(0,t.jsx)(a.ThemedButton,{variant:"action",tag:"button",type:"button",color:{type:"brand",value:"primary"},onClick:y,children:x.acceptAll})]})}),(0,t.jsx)("button",{type:"button",className:"close","aria-label":x.close,onClick:c?.meta?.consent&&!(0,m.hasConsentChoice)()?v:()=>b(),children:(0,t.jsx)(o.ThemedIcon,{icon:{library:"fa",id:"times"}})}),(0,t.jsx)(r.ThemedModal,{open:p,setOpen:g,className:"cookie-preferences-modal",title:x.customizePreferencesTitle,description:x.customizeDescription,wide:!0,children:(0,t.jsx)(f,{values:e?.savedPreferences,onSubmit:t=>{try{e?.onCustomConsent&&e.onCustomConsent(t)}finally{b()}},onAccept:y,onReject:v,locale:d})})]})}).withConfig({displayName:"ThemedCookiePrompt__ThemedCookiePromptShared",componentId:"sc-3ef398b1-0"})`
487    border-radius: var(--theme-border-radius);
488    box-shadow: var(--theme-shadow);
489    display: flex;
490    align-items: flex-start;
491    justify-content: space-between;
492    border: 1px solid currentColor;
493    width: 100%;
494    position:relative;
495    background-color: white;
496    color: black;
497    @container (max-width:568px) { width: 100vw; }
498    @media (max-width:568px) { flex-direction: column; }
499    position: ${e=>e?.inAdmin?"absolute":"fixed"};
500    bottom: 0em;
501    transition: opacity 250ms;
502    z-index: 1000;
503
504    .close {
505        padding: 0.5em;
506        @media (max-width:568px) { position: absolute; right: 0; }
507    }
508    .content {
509        padding: 1rem;
510        .text { margin-top: 0.5rem; }
511    }
512    
513    /* Cookie Preferences Modal Styles */
514    & + .cookie-preferences-modal {
515        .cookie-preferences-panel {
516            width: 100%;
517            max-width: 500px;
518            transform: translate3d(0, 0, 0);
519            padding: 1.5rem;
520            background-color: white;
521            border-radius: var(--theme-border-radius, 0.5rem);
522            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
523            text-align: left;
524            
525            .cookie-preferences-title {
526                font-size: 1.25rem;
527                margin-bottom: 1rem;
528                color: #333;
529            }
530            
531            .preference-option {
532                display: flex;
533                flex-direction: column;
534                margin-bottom: 0.75rem;
535                padding: 0.75rem;
536                border-radius: 0.25rem;
537                background-color: rgba(0,0,0,0.03);
538                
539                label {
540                    display: inline-flex;
541                    align-items: center;
542                    font-weight: 500;
543                    margin-bottom: 0.25rem;
544                    cursor: pointer;
545                }
546                
547                input {
548                    margin-right: 0.5rem;
549                }
550                
551                small {
552                    display: block;
553                    font-size: 0.8rem;
554                    opacity: 0.8;
555                    margin-left: 1.5rem;
556                }
557                
558                &:hover {
559                    background-color: rgba(0,0,0,0.05);
560                }
561            }
562            
563            .cookie-preferences-actions {
564                display: flex;
565                justify-content: flex-end;
566                gap: 0.5rem;
567                margin-top: 1.5rem;
568            }
569        }
570    }
571
572    .container{
573        display: flex;
574        align-items: center;
575
576        &--consent {
577            justify-content: flex-end;
578            align-items: center;
579            padding: 1rem;
580            gap: .5rem;
581            @media (max-width:568px) { 
582                justify-content: unset; 
583                padding: 0 1rem 1rem 1rem;
584            }
585        }
586    }
587
588    .image {
589        width: 100px;
590    }
591    .image + .content {
592        margin-left: 0.5rem;
593    }
594    .link {
595        position: absolute;
596        top: 0;
597        left: 0;
598        right: 0;
599        bottom: 0;
600        z-index: 2;
601    }
602
603    &.-hide {
604        opacity: 0;
605        pointer-events: none;
606    }
607
608    // Brand Color
609    ${e=>e?.cookie?.meta?.styles?.bg&&e?.cookie?.meta?.styles?.bg?.type!=="custom"?c.css`
610        background-color: ${(0,n.getCSSVariable)(e?.cookie?.meta?.styles?.bg?.value,"color-bg")};
611        color: ${(0,n.getCSSVariable)(e?.cookie?.meta?.styles?.bg?.value,"color-text")}; 
612    `:""}
613    
614    // Custom BG Color
615    ${e=>e?.cookie?.meta?.styles?.bg&&e?.cookie?.meta?.styles?.bg?.type==="custom"?c.css`
616        background-color: ${e?.cookie?.meta?.styles?.bg?.value};
617    `:""}
618    
619
620    // Custom Text Color
621    ${e=>e?.cookie?.meta?.styles?.textColor!==null?c.css`
622        color: ${e?.cookie?.meta?.styles?.textColor};
623    `:""}
624
625
626`;e.s(["ThemedCookiePrompt",0,e=>(0,t.jsx)(b,{...e,className:e.className})],82426)},753286,e=>{"use strict";var t=e.i(843476),n=e.i(997053),a=e.i(604163),o=e.i(911062),r=e.i(271645),i=e.i(92739),s=e.i(64676),l=e.i(370771);let c=({launcher:e,className:n,edit:o=!1,account:l})=>{let[c,m]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!1),h=`${n} launcher`;!0===o&&(h+=" -editor"),c&&(h+=" -open"),d||(h+=" -loading");let p=e?.meta?.type==="design"?"design":"form";return(0,r.useEffect)(()=>{setTimeout(()=>u(!0),2e3)},[]),(0,t.jsxs)("div",{"data-launcher":!0,launcher:e,className:h,children:[(0,t.jsx)("div",{className:"launcher-body-wrap",children:(0,t.jsxs)("div",{"data-launcher-body":!0,className:"launcher-body",children:[(0,t.jsxs)("div",{className:"launcher-header space-y-2",children:[(0,t.jsx)("h3",{dangerouslySetInnerHTML:{__html:e?.meta?.title||""}}),e?.meta?.description&&(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:e?.meta?.description}})]}),(0,t.jsxs)("div",{className:"launcher-content",children:["links"===p&&(0,t.jsx)("p",{children:"Links"}),"form"===p&&e?.meta?.form&&(0,t.jsx)(i.ThemedFormRenderer,{id:e.meta.form,account:l}
626),"design"===p&&(0,t.jsx)(s.RenderRichText,{content:e?.meta?.design})]})]})}),(0,t.jsx)("div",{className:"launcher-trigger-wrap",children:(0,t.jsx)("button",{type:"button",className:"launcher-trigger",onClick:()=>{m(!c)},children:(0,t.jsx)(a.ThemedIcon,{icon:e?.meta?.triggerIcon})})})]})},m=n.css`
627
628    position: fixed;
629    bottom: 0em;
630    right: 0em;
631    max-width: 350px;
632    z-index: 99999;
633    
634    overflow: auto;
635    
636
637    &.-editor {
638        position: absolute;
639    }
640
641    .launcher-trigger-wrap {
642        display: flex;
643        align-items: center;
644        justify-content: flex-end;
645        padding: 1em;
646    }
647    .launcher-trigger {
648        width: 60px;
649        height: 60px;
650        display: flex;
651        align-items: center;
652        justify-content: center;
653        border-radius: 1000px;
654        [data-icon]{ font-size: 1.5rem; font-weight: normal; }
655        box-shadow: var(--theme-shadow-lg);
656        transform: scale3d(1,1,1);
657        transition: 150ms;
658        &:active {
659            transform: scale3d(0.9,0.9,0.9);
660        }
661
662        // Brand Color
663        ${e=>e?.launcher?.meta?.triggerBg&&e?.launcher?.meta?.triggerBg?.type!=="custom"?n.css`background-color: ${(0,o.getCSSVariable)(e?.launcher?.meta?.triggerBg?.value,"color-bg")}; color: ${(0,o.getCSSVariable)(e?.launcher?.meta?.triggerBg?.value,"color-text")}; `:""}
664        
665        // Custom BG Color
666        ${e=>e?.launcher?.meta?.triggerBg&&e?.launcher?.meta?.triggerBg?.type==="custom"?n.css`background-color: ${e?.launcher?.meta?.triggerBg?.value};`:""}
667
668    }
669    &.-loading {
670        .launcher-trigger {
671            opacity: 0;
672            transition: 250ms;
673            transform: scale3d(0.7,0.7,0.7);
674        }
675    }
676
677    .launcher-body-wrap {
678        padding: 1em;
679        pointer-events: none;
680        opacity: 0;
681        transition: transform 250ms;
682        height: 0px;
683        width: 0px;
684        overflow: hidden;
685        transform: scale3d(0.95,0.95,0.95) translateY(20px);
686    }
687    &.-open {
688         .launcher-body-wrap {
689            padding: 1em;
690            opacity: 1;
691            transform: scale3d(1,1,1) translateY(0px);
692            pointer-events: all;
693            height: auto;
694            width: auto;
695        }
696    }
697
698    .launcher-body {
699        box-shadow: var(--theme-shadow-lg);
700        border-radius: var(--theme-border-radius);
701        min-height: 200px;
702        
703        
704        // Brand Color
705        ${e=>e?.launcher?.meta?.contentBg&&e?.launcher?.meta?.contentBg?.type!=="custom"?n.css`background-color: ${(0,o.getCSSVariable)(e?.launcher?.meta?.contentBg?.value,"color-bg")}; color: ${(0,o.getCSSVariable)(e?.launcher?.meta?.contentBg?.value,"color-text")}; `:""}
706        
707        // Custom BG Color
708        ${e=>e?.launcher?.meta?.contentBg&&e?.launcher?.meta?.contentBg?.type==="custom"?n.css`background-color: ${e?.launcher?.meta?.contentBg?.value};`:""}
709
710        // Custom Text Color
711        ${e=>e?.launcher?.meta?.contentTextColor!==null?n.css`color: ${e?.launcher?.meta?.contentTextColor};`:""}
712        
713    }
714    .launcher-header {
715        padding: 1em;
716        text-align: left;
717        border-radius: var(--theme-border-radius);
718        border-bottom-left-radius: 0;
719        border-bottom-right-radius: 0;
720        // Brand Color
721        ${e=>e?.launcher?.meta?.headerBg&&e?.launcher?.meta?.headerBg?.type!=="custom"?n.css`background-color: ${(0,o.getCSSVariable)(e?.launcher?.meta?.headerBg?.value,"color-bg")}; color: ${(0,o.getCSSVariable)(e?.launcher?.meta?.headerBg?.value,"color-text")}; `:""}
722        
723        // Custom BG Color
724        ${e=>e?.launcher?.meta?.headerBg&&e?.launcher?.meta?.headerBg?.type==="custom"?n.css`background-color: ${e?.launcher?.meta?.headerBg?.value};`:""}
725
726        // Custom Text Color
727        ${e=>e?.launcher?.meta?.headerTextColor!==null?n.css`color: ${e?.launcher?.meta?.headerTextColor};`:""}
728        
729    }
730
731    .launcher-content {
732        padding: 1em;
733        max-height: 500px;
734        overflow: auto;
735        // Override Button Styles in the lunacher
736        [data-buttons] {
737            a {
738                display: block;
739                width: 100%;
740                text-align: center;
741            }
742        }
743    }
744    
745
746
747`,d=(0,n.default)(c).withConfig({displayName:"Launcher__ThemedLauncherShared",componentId:"sc-acef8ef7-0"})`
748    ${m}
749`,u=e=>(0,t.jsx)(d,{...e,className:e.className});e.s(["Launcher",0,c,"ThemedLauncher",0,u,"ThemedLauncherLoader",0,({account:e})=>{let{runGet:n,data:a}=(0,l.useGetAccountSettingByType)(),[o,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{n("launcher").then(()=>i(!0))},[]),!o||a&&a?.meta?.enabled!==!0)?null:(0,t.jsx)(u,{launcher:a,account:e})},"ThemedLauncherShared",0,d,"sharedLauncherStyles",0,m])},357485,e=>{"use strict";var t=e.i(843476),n=e.i(618566),a=e.i(3303),o=e.i(271645);let r=e=>"string"==typeof e&&/^[a-f0-9]{32}$/i.test(e.trim()),i=({hash:e,pathname:t})=>
749{let a=(0,n.useSearchParams)(),r=`${t}?${a?.toString()??""}`,i=(0,o.useRef)(r);return(0,o.useEffect)(()=>{i.current!==r&&(i.current=r,"function"==typeof window.beTracker?.t&&window.beTracker.t({hash:e}))},[r,e]),null},s=({hash:e})=>{let a=(0,n.usePathname)();return(0,t.jsx)(o.Suspense,{fallback:null,children:(0,t.jsx)(i,{hash:e,pathname:a})})};e.s(["MetricoolScript",0,({integration:e})=>{if(e?.meta?.enabled!==!0||!r(e?.content?.hash))return null;let n=e.content.hash.trim();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{id:"metricool",strategy:"afterInteractive",children:`
750                function loadScript(a){var b=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.src="https://tracker.metricool.com/resources/be.js",c.onreadystatechange=a,c.onload=a,b.appendChild(c)}
751                loadScript(function(){beTracker.t({hash:"${n}"})});
752            `}),(0,t.jsx)(s,{hash:n})]})},"isValidMetricoolHash",0,r])},461316,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({html:e,height:t=null,width:n=null,children:r,dataNtpc:i=""}){return(0,o.useEffect)(()=>{i&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${i}`}})},[i]),(0,a.jsxs)(a.Fragment,{children:[r,e?(0,a.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":i,dangerouslySetInnerHTML:{__html:e}}):null]})};let a=e.r(843476),o=e.r(271645)},19598,(e,t,n)=>{"use strict";var a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.sendGTMEvent=void 0,n.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n,dataLayerName:a="dataLayer",auth:l,preview:c,dataLayer:m,nonce:d}=e;s=a;let u=new URL(n||"https://www.googletagmanager.com/gtm.js");return t&&u.searchParams.set("id",t),"dataLayer"!==a&&u.searchParams.set("l",a),l&&u.searchParams.set("gtm_auth",l),c&&(u.searchParams.set("gtm_preview",c),u.searchParams.set("gtm_cookies_win","x")),(0,r.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
753      (function(w,l){
754        w[l]=w[l]||[];
755        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
756        ${m?`w[l].push(${JSON.stringify(m)})`:""}
757      })(window,'${a}');`},nonce:d}),(0,o.jsx)(i.default,{id:"_next-gtm","data-ntpc":"GTM",src:u.href,nonce:d})]})};let o=e.r(843476),r=e.r(271645),i=a(e.r(3303)),s="dataLayer";n.sendGTMEvent=(e,t)=>{let n=t||s;window[n]=window[n]||[],window[n].push(e)}},654576,(e,t,n)=>{"use strict";let a;var o=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:o="dataLayer",nonce:l}=e;return void 0===a&&(a=o),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
758          window['${o}'] = window['${o}'] || [];
759          function gtag(){window['${o}'].push(arguments);}
760          gtag('js', new Date());
761
762          gtag('config', '${t}' ${n?",{ 'debug_mode': true }":""});`},nonce:l}),(0,r.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},n.sendGAEvent=function(){void 0===a?console.warn("@next/third-parties: GA has not been initialized"):window[a]?window[a].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${a} does not exist`)};let r=e.r(843476),i=e.r(271645),s=o(e.r(3303))},722239,e=>{"use strict";var t=e.i(843476),n=e.i(997053),a=e.i(855781),o=e.i(730059),r=e.i(911062),i=e.i(18429),s=e.i(207208),l=e.i(604163),c=e.i(988842),m=e.i(870301),d=e.i(482820),u=e.i(271645);let h=n.styled.div.withConfig({displayName:"ThemedNotifications__ThemedNotificationWrap",componentId:"sc-a13114a9-0"})`
763    opacity: 0;
764    transition: all 300ms;
765    transform: translatey(10px);
766    position: relative;
767    position: fixed;
768    bottom: 1rem;
769    left: 1rem;
770    border-radius: var(--theme-border-radius);
771    ${e=>e?.$active===!0?n.css`
772        opacity: 1;
773        transform: translatey(0px);
774        z-index: 2;
775        pointer-events: all;
776    `:null}
777    .close {
778        position: absolute;
779        top: 0.25rem;
780        right: 0.25rem;
781        z-index: 5;
782        padding: 0.25rem 0.5rem;
783        svg {
784            height: 1.25rem;
785        }
786    }
787    // Brand Color
788    ${e=>e?.$announcement?.meta?.styles?.bg&&e?.$announcement?.meta?.styles?.bg?.type!=="custom"?n.css`
789        background-color: ${(0,r.getCSSVariable)(e?.$announcement?.meta?.styles?.bg?.value,"color-bg")};
790        color: ${(0,r.getCSSVariable)(e?.$announcement?.meta?.styles?.bg?.value,"color-text")}; 
791    `:""}
792    
793    // Custom BG Color
794    ${e=>"custom"===(0,d.default)(e,"$announcement.meta.styles.bg.type")?n.css`
795        background-color: ${e.$announcement.meta.styles.bg?.value};
796    `:""}
797    
798
799    // Custom Text Color
800    ${e=>(0,d.default)(e,"$announcement.meta.styles.textColor")?n.css`
801        color: ${e.$announcement.meta.styles.textColor};
802    `:""}
803`,p=(0,n.styled)(({announcements:e,onClose:n,className:a})=>{let{trackEvent:o}
803=(0,i.useIntegrationsContext)(),[r,d]=(0,u.useState)(0);(0,m.useInterval)(()=>{r===e?.length-1?d(0):d(r+1)},5e3),(0,u.useEffect)(()=>{let t=e[r];t&&o(`av_${t?.id}`)},[r]);let[p,g]=(0,u.useState)(null);(0,u.useEffect)(()=>{setTimeout(()=>g("-enter"),1e3)},[]);let x=(0,c.classNames)(a,"announcement",p);return(0,t.jsx)("div",{"data-notifications-wrap":!0,className:x,children:(0,t.jsx)("div",{className:"notification-wrap",children:e?.map((e,a)=>(0,t.jsxs)(h,{$announcement:e,className:a===r?" -active":"",$active:a===r,children:[(0,t.jsx)(s.ThemedNotification,{announcement:e}),(0,t.jsx)("button",{type:"button","aria-label":"Close notification",className:"close",onClick:t=>{t.preventDefault(),g("-leave"),setTimeout(()=>g("-remove"),2e3),o(`ax_${e?.id}`),n&&n(e)},children:(0,t.jsx)(l.ThemedIcon,{icon:{library:"fa",id:"times"}})})]},e?.id))})})}).withConfig({displayName:"ThemedNotifications__ThemedNotificationsShared",componentId:"sc-a13114a9-1"})`
804    position: fixed;
805    border-radius: var(--theme-border-radius);
806    bottom: 1rem;
807    left: 1rem;
808    opacity: 0;
809    transition: all 300ms;
810    transform: translatey(10px);
811    z-index: 999;
812    .notification-wrap {
813        position: relative;
814    }
815    
816    &.-enter {
817        opacity: 1;
818        transform: translatey(0px);
819    }
820    &.-leave {
821        opacity:0;
822        transform: translatey(-10px);
823    }
824    &.-remove {
825        display: none;
826    }
827`,g=e=>(0,t.jsx)(p,{...e,className:e.className});var x=e.i(850785);let f=({notifications:e,banners:n,popups:r})=>{let i=e=>{(0,o.setCookie)(`announcement_seen_${e.id}`,!0,30)};return(0,t.jsxs)("div",{"data-announcements-wrapper":!0,children:[!!e&&(0,t.jsx)(g,{announcements:e,onClose:i}),!!n?.[0]&&(0,t.jsx)(a.ThemedBanner,{announcement:n[0],onClose:()=>i(n[0])}),!!r?.[0]&&(0,t.jsx)(x.ThemedPopup,{announcement:r[0],onClose:()=>i(r[0])})]})},b=(0,n.styled)(f).withConfig({displayName:"ThemedAnnouncements__ThemedAnnouncementsShared",componentId:"sc-91028af4-0"})`
828
829`;e.s(["Announcements",0,f,"ThemedAnnouncements",0,e=>(0,t.jsx)(b,{...e,className:e.className}),"ThemedAnnouncementsShared",0,b],722239)},652310,e=>{"use strict";var t=e.i(843476),n=e.i(482820),a=e.i(271645),o=e.i(997053),r=e.i(3705),i=e.i(462396),s=e.i(370771),l=e.i(730059),c=e.i(488691),m=e.i(82426);let d={analytics:/^(_ga|_ga_.+|_gid|_gat.*|_hj.+)$/,advertisement:/^(_fbp|_fbc|_gcl_.+|_pin_unauth|_pinterest_.+|_epik|_derived_epik|_uetsid|_uetvid|_ttp)$/},u=({previous:e,next:t,reload:n=()=>window.location.reload()})=>{let a=e?Object.keys(e).filter(n=>!0===e[n]&&t?.[n]!==!0):[];return!!a.length&&(a.includes("advertisement")&&"function"==typeof window.fbq&&window.fbq("consent","revoke"),(e=>{let t=e.map(e=>d[e]).filter(Boolean);if(!t.length)return;let n=window.location.hostname.split("."),a=[null,...n.slice(0,-1).map((e,t)=>`.${n.slice(t).join(".")}`)];for(let e of document.cookie.split(";").map(e=>e.split("=")[0].trim()).filter(e=>t.some(t=>t.test(e))))for(let t of a)document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/${t?`; domain=${t}`:""}`})(a),n(),!0)},h=({account:e})=>{let o=(0,l.getCookie)("cookie_seen"),d=(0,i.hasConsentChoice)(),{consentRequired:h}=(0,c.useGlobalContext)(),{loading:p,runGet:g,data:x,error:f,message:b}=(0,s.useGetAccountSettingByType)(),y=(0,n.default)(e,"meta.lang","en").split("-")[0],v=async()=>{await g("cookie")},[C,w]=(0,a.useState)(0);(0,a.useEffect)(()=>{o&&(!h||d)||v();let e=()=>{v(),w(e=>e+1)},t=t=>{let n=t.target instanceof Element?t.target.closest("a[href]"):null;n instanceof HTMLAnchorElement&&n.hash===i.CONSENT_PREFERENCES_HASH&&n.origin===window.location.origin&&n.pathname===window.location.pathname&&(t.preventDefault(),e())};return window.location.hash===i.CONSENT_PREFERENCES_HASH&&(window.history.replaceState(window.history.state,"",`${window.location.pathname}${window.location.search}`),e()),document.addEventListener("click",t),()=>document.removeEventListener("click",t)},[]);let j=(0,a.useMemo)(()=>{let e=localStorage.getItem(`${i.CONSENT_GRANTED_KEY}_preferences`);if("string"==typeof e)try{return JSON.parse(e)}catch(e){console.error("Error parsing consent preferences:",e)}},[C]),k=()=>window.dispatchEvent(new Event(i.CONSENT_CHANGED_EVENT));return x?.meta?.enabled!==!0||!C&&(x?.meta?.consent?d:o)?null:(0,t.jsx)(m.ThemedCookiePrompt,{locale:y,savedPreferences:j,cookie
829:x,onAcceptConsent:()=>{localStorage.setItem(i.CONSENT_GRANTED_KEY,"true"),localStorage.setItem(`${i.CONSENT_GRANTED_KEY}_preferences`,JSON.stringify({functional:!0,analytics:!0,performance:!0,advertisement:!0})),(0,r.googleGrantConsent)("approve"),k()},onRejectConsent:()=>{let e=(0,i.getConsentPreferences)();localStorage.setItem(i.CONSENT_GRANTED_KEY,"false"),localStorage.setItem(`${i.CONSENT_GRANTED_KEY}_preferences`,JSON.stringify({functional:!1,analytics:!1,performance:!1,advertisement:!1})),(0,r.googleGrantConsent)("reject"),k(),u({previous:e,next:(0,i.getConsentPreferences)()})},onCustomConsent:e=>{let t=(0,i.getConsentPreferences)(),n=Object.values(e).some(e=>!0===e);localStorage.setItem(i.CONSENT_GRANTED_KEY,n?"custom":"false"),localStorage.setItem(`${i.CONSENT_GRANTED_KEY}_preferences`,JSON.stringify(e)),(0,r.googleGrantConsent)("custom",e),k(),u({previous:t,next:(0,i.getConsentPreferences)()})}},C)},p=o.css``,g=(0,o.default)(h).withConfig({displayName:"ThemedCookieController__ThemedCookieControllerShared",componentId:"sc-d35efce7-0"})`
830    ${p}
831`;e.s(["CookieController",0,h,"ThemedCookieController",0,e=>(0,t.jsx)(g,{...e,className:e.className}),"ThemedCookieControllerShared",0,g,"sharedCookieControllerStyles",0,p],652310)}]);

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.