PageSourceSearch

https://www.everydayme.pl/dist/gf-jss/static/js/MicrositeCampaignConsumerParticipationLimit.6876f761.chunk.js

js everydayme.pl collected 2026-10-02 12:43:51 UTC 8,622 bytes, 216 lines download raw bytes

1"use strict";(globalThis.webpackChunkgrowingfamilies=globalThis.webpackChunkgrowingfamilies||[]).push([[830],{9103(e,t,n){n.d(t,{s:()=>m});var r=n(88094),l=n(32486),i=n.n(l),o=n(52269),s=n(94177),a=n(63464),h=n(97459),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var l=0;for(r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]])}return n};const m=(0,o.O)((0,s.N)((0,r.forwardRef)((e,t)=>{var{field:n,tag:l="div",editable:i=!0}=e,o=d(e,["field","tag","editable"]);if(!n||!n.editable&&(0,h.isFieldValueEmpty)(n))return null;const s=Object.assign({dangerouslySetInnerHTML:{__html:n.editable&&i?n.editable:n.value},ref:t},o);return r.createElement(l||"div",s)}),{defaultEmptyFieldEditingComponent:a.G,isForwardRef:!0}),!0),u={field:i().shape({value:i().string,editable:i().string,metadata:i().objectOf(i().any)}),tag:i().string,editable:i().bool,emptyFieldEditingComponent:i().oneOfType([i().object,i().func])};m.propTypes=u,m.displayName="RichText"},34786(e,t,n){n.d(t,{D:()=>c,H1:()=>h,H2:()=>d,H3:()=>m,H4:()=>u,P:()=>f,T:()=>$});n(88094);var r=n(49596),l=n(85383),i=n(63856),o=n.n(i),s=n(15678);const a=e=>t=>(0,s.jsx)(e,{...t,children:t.children}),h=a(r.rd),d=a(r.kv),m=a(r.dT),u=a(r.kg),f=a(r.C$),c=(a(r.v$),e=>{let t,{renderAs:n,styleAs:r,children:l,...i}=e;switch(n){case"h1":t=h;break;case"h2":default:t=d;break;case"h3":t=m;break;case"h4":t=u}return(0,s.jsx)(t,{...i,className:o()(r&&`styled-${r}`),children:l})}),$=e=>{let{children:t,...n}=e;return(0,s.jsx)(l.A,{children:(0,s.jsx)(r.Xe,{...n,children:t})})}},49596(e,t,n){n.d(t,{C$:()=>b,LQ:()=>s,Sy:()=>d,UQ:()=>a,Xe:()=>v,Xm:()=>u,Z:()=>h,cD:()=>m,dT:()=>y,kg:()=>p,kv:()=>g,rd:()=>$,v$:()=>A});var r=n(25173),l=n(78334),i=n(21625);const o=r.AH`
2  color: ${e=>{let{theme:t}=e;return t.colors.general.black}};
3  font-family: ${e=>{let{theme:t}=e;return t.fonts.primary.bold}};
4  margin-bottom: ${(0,i.A)(28)};
5`,s=r.AH`
6  ${o}
7  letter-spacing: ${(0,i.A)(-1)};
8  font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h1.fontSize)}};
9  line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h1.lineHeight)}};
10
11  @media ${e=>{let{theme:t}=e;return t.device.tablet}} {
12    font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h1.fontSize)}};
13    line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h1.lineHeight)}};
14  }
15`,a=r.AH`
16  ${o}
17  font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h2.fontSize)}};
18  letter-spacing: ${(0,i.A)(-.75)};
19  line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h2.lineHeight)}};
20
21  @media ${e=>{let{theme:t}=e;return t.device.tablet}} {
22    font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h2.fontSize)}};
23    line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h2.lineHeight)}};
24  }
25`,h=r.AH`
26  ${o}
27  font-family: ${e=>{let{theme:t}=e;return t.fonts.primary.regular}};
28  font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h3.fontSize)}};
29  line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h3.lineHeight)}};
30  letter-spacing: ${(0,i.A)(-.75)};
31
32  @media ${e=>{let{theme:t}=e;return t.device.tablet}} {
33    font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h3.fontSize)}};
34    line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h3.lineHeight)}};
35  }
36`,d=r.AH`
37  ${o}
38  font-family: ${e=>{let{theme:t}=e;return t.fonts.primary.regular}};
39  font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h4.fontSize)}};
40  line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.mobile.h4.lineHeight)}};
41
42  @media ${e=>{let{theme:t}=e;return t.device.tablet}} {
43    font-size: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h4.fontSize)}};
44    line-height: ${e=>{let{theme:t}=e;return(0,i.A)(t.fonts.textStyles.desktop.h4.lineHeight)}};
45  }
46`,m=r.AH`
47  color: ${e=>{let{theme:t}=e;return t.colors.general.black}};
48  font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.regular}};
49  font-size: 1rem;
50  line-height: ${(0,i.A)(28)};
51  margin-bottom: ${(0,i.A)(28)};
52
53  &:last-child {
54    margin-bottom: 0;
55  }
56
57  b,
58  strong {
59    font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.semibold}};
60  }
61
62  img {
63    max-width: 100%;
64    height: auto !important;
65  }
66`,u=r.AH`
67  ${m}
68  color: ${e=>{let{theme:t}=e;return"spain"===t.name?t.colors.general.primary:t.colors.general.secondary}};
69  font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.semibold}};
70  text-decoration: none;
71
72  &:focus {
73    outline-offset: 1px;
74    outline: 1px solid ${e=>{let{theme:t}=e;return t.colors.outline}};
75  }
76
77  &:hover {
78    border-bottom: ${(0,i.A)(1)} solid currentColor;
79  }
80`,f=r.AH`
81  &.styled-h1 {
82    ${s}
83  }
84
85  span.styled-h1 {
86    ${s}
87  }
88
89  &.styled-h2 {
90    ${a}
91  }
92
93  span.styled-h2 {
94    ${a}
95  }
96
97  &.styled-h3 {
98    ${h}
99  }
100
101  span.styled-h3 {
102    ${h}
103  }
104
105  &.styled-h4 {
106    ${d}
107  }
108
109  span.styled-h4 {
110    ${d}
111  }
112`,c=r.AH`
113  span.styled-h1 {
114    ${s}
115  }
116
117  span.styled-h2 {
118    ${a}
119  }
120
121  span.styled-h3 {
122    ${h}
123  }
124
125  span.styled-h4 {
126    ${d}
127  }
128`,$=r.Ay.h1`
129  ${s}
130  ${f}
131  ${c}
132`,g=r.Ay.h2`
133  ${a}
134  ${f}
135  ${c}
136`,y=r.Ay.h3`
137  ${h}
138  ${f}
139  ${c}
140`,p=r.Ay.h4`
141  ${d}
142  ${f}
143  ${c}
144`,b=r.Ay.p`
145  ${m}
146`,A=r.Ay.a`
147  ${u}
148`,v=r.Ay.div.withConfig({shouldForwardProp:e=>!["renderAs","styleAs","themeColor"].includes(e)})`
149
150  color: ${e=>{let{theme:t}=e;return t.colors.general.black}};
151  font-family: ${e=>{let{theme:t}=e;return t.fonts.secondary.regular}};
152  font-size: 1rem;
153  line-height: ${(0,i.A)(28)};
154
155  h1 {
156    ${s}
157    ${f}
158    ${c}
159  }
160
161  h2 {
162    ${a}
163    ${f}
164    ${c}
165  }
166
167  h3 {
168    ${h}
169    ${f}
170    ${c}
171  }
172
173  h4 {
174    ${d}
175    ${f}
176    ${c}
177  }
178
179  h5 {
180    ${f}
181    ${c}
182  }
183
184  h6 {
185    ${f}
186    ${c}
187  }
188
189  p {
190    ${m}
191    ${c}
192  }
193
194  address, menu, pre, dt {
195    ${c}
196  }
197
198  ul, ol {
199    margin-bottom: ${(0,i.A)(28)};
200    margin-${l.kb}: ${(0,i.A)(18)};
201
202    li {
203      padding-${l.kb}: ${(0,i.A)(10)};
204    }
205
206  }
207
208  ul {
209    list-style-type: disc;
210  }
211
212  a {
213    ${u}
214    color: ${e=>{let{theme:t,themeColor:n}=e;return t.colors.categories[n]}};
215  }
216`},78334(e,t,n){n.d(t,{h:()=>s,kb:()=>i,pG:()=>
216o,rR:()=>l});const r=e=>{let{dir:t}=e;return"rtl"===t},l=e=>r(e)?"right":"left",i=()=>e=>{let{theme:t}=e;return l(t)},o=()=>e=>{let{theme:t}=e;return(e=>r(e)?"left":"right")(t)},s=e=>()=>t=>{let{theme:n}=t;return r(n)?e:""}},82550(e,t,n){n.d(t,{A:()=>s});var r=n(88094),l=n(48),i=n(52959),o=n(15678);const s=e=>{let{children:t}=e;const n=(0,r.useRef)(null),{pageEditing:s}=(0,l.i)();return(0,r.useEffect)(()=>{if(s)return;const e=n.current;var t;(t=e)&&Array.from(t.getElementsByTagName("a")).forEach(e=>{const t=e.getAttribute("href");e.setAttribute("href",(0,i.g1)(t))})},[n,s]),s?t:(0,o.jsx)("div",{ref:n,children:t})}},85383(e,t,n){n.d(t,{A:()=>o});var r=n(88094),l=n(52959),i=n(15678);const o=e=>{let{children:t,className:n}=e;const o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{const e=o.current;var t;(t=e)&&Array.from(t.getElementsByTagName("a")).forEach(e=>{const t=e.getAttribute("href"),n=e.innerHTML;let r="";r=(0,l.nh)(t)?"event_file_download":(0,l.Gj)(t)?"event_outbound_link":"event_internal_link",Array.from(e.classList).some(e=>e.startsWith("event_"))||e.classList.add(r);const i="data-action-detail";e.hasAttribute(i)||((0,l.nh)(t)?e.setAttribute(i,(0,l.HC)(t)):(0,l.Gj)(t)?e.setAttribute(i,(0,l.f7)(t)):e.setAttribute(i,`${n} - ${(0,l.f7)(t)}`))})},[o]),(0,i.jsx)("div",{ref:o,className:n,children:t})}},90622(e,t,n){n.r(t),n.d(t,{default:()=>d});var r=n(9103),l=n(93673),i=n(3143),o=n(34786),s=n(48),a=n(82550),h=n(15678);const d=e=>{var t,n,d;let{fields:m}=e;const{pageEditing:u}=(0,s.i)(),f=null===m||void 0===m?void 0:m.Content,[c]=(0,l.lT)(),$=c["growingfamilies#userCampaignParticipationLimit"];if(null!==f&&void 0!==f&&f.value){const e="{user_campaign_limit}";f.value=f.value.split(e).join($)}return(0,h.jsx)(i.wn,{as:"div",children:(0,h.jsx)(i.mc,{"data-component":"rich-text-container",children:(0,h.jsx)(o.T,{themeColor:(null===m||void 0===m||null===(t=m.CategoryColor)||void 0===t||null===(n=t.fields)||void 0===n||null===(d=n.Setting)||void 0===d?void 0:d.value)||"blue",children:(0,h.jsx)(a.A,{children:u?(0,h.jsx)(r.s,{field:null===m||void 0===m?void 0:m.Content}):(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:f.value}})})})})})}}}]);

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.