1"use strict";(self.webpackChunkbushs_beans=self.webpackChunkbushs_beans||[]).push([[4692,9899,9682,6435,5151],{42324:(e,t,i)=>{i.r(t),i.d(t,{default:()=>s});i(50390);var a=i(8164),l=i(54534),r=i(80885),n=i(26597),o=i(84301),d=i(62559);const s=(0,l.p)()(e=>{var t;const{fields:i={},params:l={}}=e,{Image:s=null,title:c={},copy:u={},useTextLayout:m={}}=i;var p;return!0===(null===m||void 0===m?void 0:m.value)||1===(null===m||void 0===m?void 0:m.value)?(0,d.jsxs)(r.TextItem,{children:[(0,d.jsxs)("div",{className:"text-content",children:[(null===c||void 0===c?void 0:c.value)&&(0,d.jsx)(n.default,{field:c,tag:"h3"}),(null===u||void 0===u?void 0:u.value)&&(0,d.jsx)(o.default,{field:u,tag:"div",className:"text-copy"})]}),(null===s||void 0===s||null===(p=s.value)||void 0===p?void 0:p.src)&&(0,d.jsx)("div",{className:"text-image-wrap",children:(0,d.jsx)(a.E,{field:s,imageParams:{mw:900,mh:900}})})]}):(0,d.jsxs)(r.CardItem,{children:[(null===s||void 0===s||null===(t=s.value)||void 0===t?void 0:t.src)&&(0,d.jsx)("div",{className:"card-image-wrap",children:(0,d.jsx)(a.E,{field:s,imageParams:{mw:1200,mh:900}})}),((null===c||void 0===c?void 0:c.value)||(null===u||void 0===u?void 0:u.value))&&(0,d.jsxs)("div",{className:"card-box",children:[(null===c||void 0===c?void 0:c.value)&&(0,d.jsx)(n.default,{field:c,tag:"h3"}),(null===u||void 0===u?void 0:u.value)&&(0,d.jsx)(o.default,{field:u,tag:"div",className:"card-copy"})]})]})})},80885:(e,t,i)=>{i.r(t),i.d(t,{CardItem:()=>l,TextItem:()=>r,default:()=>n});var a=i(75497);const l=a.ZP.div` 2 position: relative; 3 width: 1200px; 4 max-width: 90%; 5 margin: auto; 6 7 /* Mobile default: stacked, no overlap */ 8 .card-image-wrap { 9 width: 100%; 10 11 img { 12 display: block; 13 width: 100%; 14 height: auto; 15 object-fit: cover; 16 } 17 18 span { 19 display: block; 20 width: 100%; 21 } 22 } 23 24 .card-box { 25 background-color: ${e=>{let{theme:t}=e;return t.colours.tan}}; 26 box-sizing: border-box; 27 width: 100%; 28 overflow: hidden; 29 30 h3 { 31 background-color: ${e=>{let{theme:t}=e;return t.colours.yellow}}; 32 color: ${e=>{let{theme:t}=e;return t.colours.red}}; 33 text-transform: uppercase; 34 font-weight: 900; 35 font-size: clamp(1.2rem, 2.67vw, 2rem); 36 padding: ${e=>{let{theme:t}=e;return t.spacing(20)}} ${e=>{let{theme:t}=e;return t.spacing(30)}}; 37 margin: 0; 38 } 39 40 .card-copy { 41 color: ${e=>{let{theme:t}=e;return t.colours.blue}}; 42 font-size: clamp(0.875rem, 2vw, 1.5rem); 43 line-height: 1.2; 44 padding: ${e=>{let{theme:t}=e;return t.spacing(30)}}; 45 font-family: 'apercu pro', apercu pro, sans-serif; 46 text-align: center; 47 } 48 } 49 50 /* Tablet+: card overlaps image */ 51 ${e=>{let{theme:t}=e;return t.breakPoints.minBp("tablet")}} { 52 padding-bottom: ${e=>{let{theme:t}=e;return t.spacing(80)}}; 53 54 .card-image-wrap { 55 width: 79.58%; /* 955px / 1200px */ 56 margin-left: auto; /* image right for odd */ 57 } 58 59 .card-box { 60 position: absolute; 61 bottom: 30px; 62 left: 0; 63 width: 43.5%; /* 522px / 1200px */ 64 } 65 66 /* Even items: image left, card right */ 67 &:nth-child(even) { 68 .card-image-wrap { 69 margin-left: 0; 70 } 71 72 .card-box { 73 left: auto; 74 right: 0; 75 } 76 } 77 } 78`,r=a.ZP.div` 79 display: flex; 80 flex-direction: column; 81 padding: 0 ${e=>{let{theme:t}=e;return t.spacing(20)}}; 82 gap: ${e=>{let{theme:t}=e;return t.spacing(30)}}; 83 width: 1200px; 84 max-width: 90%; 85 margin: auto; 86 .text-content { 87 h3 { 88 color: ${e=>{let{theme:t}=e;return t.colours.white}}; 89 font-weight: 600; 90 font-size: clamp(1.8rem, 3vw, 3rem); 91 margin-bottom: ${e=>{let{theme:t}=e;return t.spacing(20)}}; 92 line-height: 1; 93 text-align: left; 94 width: 90%; 95 } 96 97 .text-copy { 98 color: ${e=>{let{theme:t}=e;return t.colours.white}}; 99 font-size: clamp(0.875rem, 1.2vw, 1rem); 100 line-height: 1.6; 101 } 102 } 103 104 .text-image-wrap { 105 width: 100%; 106 107 img { 108 display: block; 109 width: 100%; 110 height: auto; 111 object-fit: cover; 112 } 113 114 span { 115 display: block; 116 width: 100%; 117 } 118 } 119 120 /* Tablet+: side by side, text left / image right */ 121 ${e=>{let{theme:t}=e;return t.breakPoints.minBp("tablet")}} { 122 flex-direction: row; 123 align-items: center; 124 padding: 0 ${e=>{let{theme:t}=e;return t.spacing(30)}}; 125 gap: ${e=>{let{theme:t}=e;return t.spacing(40)}}; 126 127 .text-content { 128 flex: 1; 129 } 130 131 .text-image-wrap { 132 width: 55%; 133 flex-shrink: 0; 134 } 135 } 136`,n={}},84301:(e,t,i)=>{i.r(t),i.d(t,{default:()=>s});var a=i(50390),l=i(74883),r=i(58704),n=i(54534),o=i(92016),d=i(62559);const s=(0,n.p)()(e=>{var t;let{sitecoreContext:i,...n}=e;if((0,l.RB)()||null!==i&&void 0!==i&&i.pageEditing)return(0,d.jsx)(r.H,{...n});const s=(0,o.q)(null===n||void 0===n||null===(t=n.field)||void 0===t?void 0:t.value,null===i||void 0===i?void 0:i.trademarkReplacements);return a.createElement(n.tag,{dangerouslySetInnerHTML:{__html:s},...n})})},58704:(e,t,i)=>{i.d(t,{H:()=>u});var a=i(50390),l=i(70188),r=i.n(l),n=i(37681),o=i(5014),d=i(80397),s=i(43687),c=function(e,t){var i={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(i[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var l=0;for(a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(e,a[l])&&(i[a[l]]=e[a[l]])}return i};const u=(0,n.K)((0,o.c)((0,a.forwardRef)((e,t)=>{var{field:i,tag:l="div",editable:r=!0}=e,n=c(e,["field","tag","editable"]);if(!i||!i.editable&&(0,s.isFieldValueEmpty)(i))return null;const o=Object.assign({dangerouslySetInnerHTML:{__html:i.editable&&r?i.editable:i.value},ref:t},n);return a.createElement(l||"div",o)}),{defaultEmptyFieldEditingComponent:d.M,isForwardRef:!0}
136),!0),m={field:r().shape({value:r().string,editable:r().string,metadata:r().objectOf(r().any)}),tag:r().string,editable:r().bool,emptyFieldEditingComponent:r().oneOfType([r().object,r().func])};u.propTypes=m,u.displayName="RichText"}}]); 137//# sourceMappingURL=ImageWithTextBoxOverlapItem.47bca0fb.chunk.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.