(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(6540)}])},4611:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});/** * @license lucide-react v0.439.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let l=(0,a(1462).Z)("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]])},6540:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return y},default:function(){return _}});var l=a(5893),s=a(5675),i=a.n(s),r=a(1664),n=a.n(r),c=a(9008),d=a.n(c),o=a(4298),x=a.n(o);let m=e=>{let{title:t}=e;return(0,l.jsxs)("div",{className:"mb-6 flex w-full items-center justify-between bg-blue-primary p-2 shadow-custom lg:bg-transparent lg:shadow-none",children:[(0,l.jsx)("h2",{className:"mx-3 whitespace-nowrap text-lg lg:mx-0 lg:text-xl lg:font-semibold ".concat("Latest Content"===t?"text-white":"text-white lg:text-blue-primary"),children:t}),(0,l.jsx)("div",{className:"ml-4 hidden h-[0.5px] max-w-[66%] grow lg:block ".concat("Latest Contents"===t?" md:bg-white":"bg-blue-primary")})]})},h=e=>{let{testimonial:t,index:a}=e;return(0,l.jsxs)("div",{className:"col-span-1 flex flex-col border-0 bg-white text-black shadow-xl",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center p-4",children:[(0,l.jsx)(i(),{src:t.attributes.author_thumbnail.data.attributes.formats.thumbnail.url,alt:t.attributes.author_thumbnail.data.attributes.alternativeText,width:88,height:88,id:"testimonial-profile",className:"rounded-full bg-blue-primary/60"}),(0,l.jsx)("p",{className:"mt-2 text-base text-blue-primary underline",children:t.attributes.author})]}),(0,l.jsxs)("div",{className:"flex grow flex-col py-2 px-4",children:[(0,l.jsx)("p",{className:"text-center text-base font-semibold text-blue-primary lg:text-left lg:text-lg md:min-h-[6rem] lg:min-h-[5rem] flex items-center",children:t.attributes.title}),(0,l.jsx)("p",{className:"mt-4 text-left text-xs lg:text-sm grow ",children:t.attributes.review[0].children[0].text})]})]})};var u=a(230),p=a(4435);let f=e=>{let{title:t,type:a,description:s,url:r,imageUrl:c,imageAlt:d}=e;return(0,l.jsxs)("div",{id:t,className:"flex flex-col overflow-hidden bg-white shadow-lg lg:flex-row max-h-[630px] lg:max-h-[380px]",children:[(0,l.jsx)("div",{className:"relative aspect-[5/3] w-[full] lg:w-[65.5%] lg:max-h-full max-h-[450px]",children:(0,l.jsx)(n(),{href:r,children:(0,l.jsx)(i(),{src:c,alt:d||t,layout:"fill",className:"size-full object-cover lg:object-top",priority:!0})})}),(0,l.jsxs)("div",{className:"flex flex-col items-start p-4 lg:w-1/3",children:[(0,l.jsx)(n(),{href:r,className:"pb-4 font-semibold text-blue-primary ".concat(s?"text-lg":"text-2xl"),children:t}),s&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"text-sm hidden lg:block",children:(0,p.C)(s,45)}),(0,l.jsx)("p",{className:"text-sm block lg:hidden",children:(0,p.C)(s,25)})]}),(0,l.jsxs)(n(),{href:r,className:" text-sm font-semibold text-blue-primary \n ".concat(s?"pt-2":"pt-4"),children:["article"===a&&"Read more...","podcast"===a&&"Listen here","video"===a&&"Watch here"]})]})]})},g=e=>{let{title:t,type:a,url:s,imageUrl:r,imageAlt:c}=e;return(0,l.jsxs)("div",{id:t,className:"flex flex-col overflow-hidden bg-white shadow-lg max-h-[350px] lg:max-h-[320px]",children:[(0,l.jsx)("div",{className:"lg:aspect-[5:4] relative aspect-square max-h-full overflow-hidden",children:(0,l.jsxs)(n(),{href:s,children:[" ",(0,l.jsx)(i(),{src:r,alt:c||t,layout:"fill",className:"size-full object-cover",priority:!1})]})}),(0,l.jsxs)("div",{className:"flex flex-col items-start lg:px-4 px-2 py-2 grow h-2/5",children:[(0,l.jsx)("p",{className:"mb-2 bg-blue-primary px-3 text-[10px] font-semibold uppercase text-white",children:a}),(0,l.jsx)(n(),{href:s,className:"text-base font-semibold text-blue-primary",children:t})]})]})},b=e=>{let{title:t,type:a,url:s,imageUrl:r,imageAlt:c}=e;return(0,l.jsxs)("div",{id:t,className:"flex flex-row overflow-hidden bg-white shadow-lg md:flex-col md:max-h-[300px] lg:max-h-[320px]",children:[(0,l.jsx)("div",{className:"relative aspect-square max-h-full overflow-hidden max-w-[130px] md:max-w-full w-full",children:(0,l.jsx)(n(),{href:s,children:(0,l.jsx)(i(),{src:r,alt:c||t,layout:"fill",className:"w-1/4 object-cover object-[50%_15%]",priority:!1})})}),(0,l.jsxs)("div",{className:"flex flex-col items-start p-3 grow h-2/5",children:[(0,l.jsx)("p",{className:"md:mb-2 mb-4 bg-blue-primary px-3 text-[10px] font-semibold uppercase text-white",children:a}),(0,l.jsx)(n(),{href:s,className:"text-base font-semibold text-blue-primary",children:t})]})]})},j=e=>{let{size:t,title:a,type:s,description:i,url:r,imageUrl:n,imageAlt:c}=e,d=(0,p.C)(a,8);switch(t){case"splash":return(0,l.jsx)(f,{title:a,type:s,description:i,url:r,imageUrl:n,imageAlt:c});case"large":return(0,l.jsx)(g,{title:d,type:s,description:i,url:r,imageUrl:n,imageAlt:c});default:return(0,l.jsx)(b,{title:d,type:s,description:i,url:r,imageUrl:n,imageAlt:c})}};var w=a(2233);function v(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"300",height:"60",viewBox:"0 0 412.41 126.418",children:[(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"a",children:(0,l.jsx)("rect",{width:"412.41",height:"126.418",fill:"none"})})}),(0,l.jsx)("g",{clipPath:"url(#a)",children:(0,l.jsx)("g",{transform:"translate(0 49.993)",children:(0,l.jsx)("path",{d:"M364.436,32.728q8.1,0,12.947,4.049a17.587,17.587,0,0,1,6.074,10.695H371.236a6.778,6.778,0,0,0-2.407-4.087,7.307,7.307,0,0,0-4.7-1.49,5.133,5.133,0,0,0-3.361.955,3.333,3.333,0,0,0-1.146,2.712,3.183,3.183,0,0,0,2.1,2.979,33.495,33.495,0,0,0,6.61,1.986,65.632,65.632,0,0,1,8.021,2.33,13.26,13.26,0,0,1,5.424,3.858,10.663,10.663,0,0,1,2.291,7.181,11.007,11.007,0,0,1-1.988,6.493,13.061,13.061,0,0,1-5.727,4.431,22.394,22.394,0,0,1-8.863,1.6q-8.633,0-13.827-3.82a15.829,15.829,0,0,1-6.339-11.833h12.6a5.9,5.9,0,0,0,2.331,5.111,9.391,9.391,0,0,0,5.232,1.451,4.881,4.881,0,0,0,3.363-1.031A3.475,3.475,0,0,0,372,63.59a3.26,3.26,0,0,0-2.1-3.17A38.619,38.619,0,0,0,363.06,58.4a54.558,54.558,0,0,1-7.791-2.139A12.86,12.86,0,0,1,350,52.552a10.322,10.322,0,0,1-2.215-6.99,11.406,11.406,0,0,1,4.354-9.282Q356.491,32.728,364.436,32.728Zm-216.595,0a23.967,23.967,0,0,1,11.344,2.636,19.322,19.322,0,0,1,7.868,7.6,22.827,22.827,0,0,1,2.865,11.611,22.827,22.827,0,0,1-2.865,11.611,19.322,19.322,0,0,1-7.868,7.6,25.816,25.816,0,0,1-22.727,0,19.261,19.261,0,0,1-7.906-7.6,22.825,22.825,0,0,1-2.865-11.611,22.825,22.825,0,0,1,2.865-11.611,19.26,19.26,0,0,1,7.906-7.6A24.2,24.2,0,0,1,147.841,32.728Zm197.344,20.7a17.959,17.959,0,0,1-.382,3.514H315.241q.228,4.813,2.443,6.913a7.887,7.887,0,0,0,5.654,2.1,7.723,7.723,0,0,0,4.812-1.451,6.77,6.77,0,0,0,2.521-3.743H344.5a18.055,18.055,0,0,1-3.667,8.059,19.541,19.541,0,0,1-7.181,5.576,24.522,24.522,0,0,1-20.816-.611,18.83,18.83,0,0,1-7.6-7.6,23.585,23.585,0,0,1-2.751-11.611,23.8,23.8,0,0,1,2.713-11.65,18.584,18.584,0,0,1,7.6-7.563,25.077,25.077,0,0,1,22.306-.038,18.351,18.351,0,0,1,7.449,7.3A21.712,21.712,0,0,1,345.185,53.43ZM75.6,21.863,62.686,75.889H46.472L37.838,39.75l-8.71,36.139H12.914L0,21.863H14.218L21.174,61l9.479-39.138H44.947L54.426,61l7.033-39.138ZM191.858,75.889H204.93V21.863H191.858ZM412.41,64.663V75.889h-5.882q-7.487,0-11.65-3.7t-4.165-12.257V44.273h-5.73v-11h5.73V21.9h13.063V33.277h8.557v11h-8.557V60.158a4.784,4.784,0,0,0,1.032,3.513,4.93,4.93,0,0,0,3.474.993ZM313.056,4.134l-7.864-3.008,19.473-9.759L332.65,11.63l-7.778-2.975-6.782,16.19-15.822,8.592L287.2,75.889H271.009L255.882,33.263h13.905l9.394,29.869,11.632-37.58,17.64-9.838ZM106.361,32.8q7.333,0,11.65,4.889t4.316,13.445V75.889H109.264V52.666a9.4,9.4,0,0,0-2.253-6.684,7.827,7.827,0,0,0-6-2.406,8.164,8.164,0,0,0-6.3,2.521q-2.33,2.521-2.33,7.181V75.889H79.318V21.9H92.381V41.055a14.063,14.063,0,0,1,5.462-6.035A16.024,16.024,0,0,1,106.361,32.8Zm131.57,0q7.333,0,11.65,4.889T253.9,51.139V75.889H240.834V52.666a9.4,9.4,0,0,0-2.254-6.684,7.827,7.827,0,0,0-6-2.406,8.164,8.164,0,0,0-6.3,2.521q-2.33,2.521-2.33,7.181V75.889H210.888V33.263h13.063v7.792a14.063,14.063,0,0,1,5.462-6.035A16.024,16.024,0,0,1,237.931,32.8Zm-90.09,11.23a8.324,8.324,0,0,0-6.3,2.712q-2.559,2.712-2.559,7.83t2.559,7.792a8.381,8.381,0,0,0,6.3,2.674,8.26,8.26,0,0,0,6.264-2.674q2.521-2.674,2.521-7.792t-2.521-7.83A8.2,8.2,0,0,0,147.841,44.034Zm184.129,7.41q.076-4.2-2.256-6.3a8.29,8.29,0,0,0-5.765-2.1,8.555,8.555,0,0,0-5.96,2.139,8.952,8.952,0,0,0-2.673,6.264Zm-123.244-83.1q8.1,0,12.948,4.049a17.59,17.59,0,0,1,6.073,10.695H215.525A6.769,6.769,0,0,0,213.119-21a7.306,7.306,0,0,0-4.7-1.49,5.136,5.136,0,0,0-3.361.955,3.332,3.332,0,0,0-1.146,2.712,3.181,3.181,0,0,0,2.1,2.979,33.478,33.478,0,0,0,6.608,1.986,65.6,65.6,0,0,1,8.021,2.33,13.232,13.232,0,0,1,5.424,3.858,10.661,10.661,0,0,1,2.292,7.181A11.012,11.012,0,0,1,226.373,6a13.077,13.077,0,0,1-5.729,4.431,22.386,22.386,0,0,1-8.862,1.6q-8.632,0-13.827-3.82a15.831,15.831,0,0,1-6.34-11.833h12.6a5.9,5.9,0,0,0,2.33,5.111,9.4,9.4,0,0,0,5.233,1.451,4.872,4.872,0,0,0,3.361-1.031A3.474,3.474,0,0,0,216.289-.8a3.261,3.261,0,0,0-2.1-3.17,38.652,38.652,0,0,0-6.837-2.024,54.669,54.669,0,0,1-7.792-2.139,12.864,12.864,0,0,1-5.271-3.705,10.322,10.322,0,0,1-2.215-6.99,11.406,11.406,0,0,1,4.354-9.282Q200.782-31.659,208.726-31.659Zm67.76,0q8.1,0,12.949,4.049a17.6,17.6,0,0,1,6.071,10.695H283.286A6.777,6.777,0,0,0,280.878-21a7.306,7.306,0,0,0-4.7-1.49,5.133,5.133,0,0,0-3.361.955,3.333,3.333,0,0,0-1.146,2.712,3.181,3.181,0,0,0,2.1,2.979,33.386,33.386,0,0,0,6.607,1.986,65.634,65.634,0,0,1,8.021,2.33,13.259,13.259,0,0,1,5.424,3.858,10.663,10.663,0,0,1,2.291,7.181A11.022,11.022,0,0,1,294.134,6a13.081,13.081,0,0,1-5.73,4.431,22.39,22.39,0,0,1-8.863,1.6q-8.629,0-13.827-3.82a15.837,15.837,0,0,1-6.339-11.833H271.98a5.893,5.893,0,0,0,2.329,5.111,9.4,9.4,0,0,0,5.232,1.451A4.877,4.877,0,0,0,282.9,1.915,3.475,3.475,0,0,0,284.049-.8a3.26,3.26,0,0,0-2.1-3.17,38.641,38.641,0,0,0-6.838-2.024,54.656,54.656,0,0,1-7.791-2.139,12.86,12.86,0,0,1-5.272-3.705,10.322,10.322,0,0,1-2.215-6.99,11.407,11.407,0,0,1,4.354-9.282Q268.541-31.659,276.486-31.659ZM93.451-10.957a18.02,18.02,0,0,1-.382,3.514H63.506q.229,4.813,2.444,6.913a7.884,7.884,0,0,0,5.653,2.1A7.728,7.728,0,0,0,76.416.12a6.778,6.778,0,0,0,2.521-3.743H92.764A18.065,18.065,0,0,1,89.1,4.436a19.541,19.541,0,0,1-7.181,5.577,22.738,22.738,0,0,1-9.7,2.024A22.91,22.91,0,0,1,61.1,9.4a18.832,18.832,0,0,1-7.6-7.6,23.586,23.586,0,0,1-2.75-11.612,23.8,23.8,0,0,1,2.712-11.65,18.587,18.587,0,0,1,7.6-7.563,23.132,23.132,0,0,1,11.153-2.635,23.122,23.122,0,0,1,11.153,2.6,18.351,18.351,0,0,1,7.448,7.3A21.717,21.717,0,0,1,93.451-10.957ZM169.92.272V11.5h-5.882q-7.486,0-11.65-3.705T148.224-4.464v-15.66h-5.729v-11h5.729V-42.507h13.063v11.382h8.556v11h-8.556V-4.235a4.788,4.788,0,0,0,1.031,3.514,4.929,4.929,0,0,0,3.476.993ZM174.2,11.5H187.26V-31.124H174.2Zm-49.96-43.085q7.333,0,11.65,4.889T140.2-13.249V11.5H127.14V-11.721a9.4,9.4,0,0,0-2.254-6.684,7.827,7.827,0,0,0-6-2.406,8.164,8.164,0,0,0-6.3,2.521q-2.33,2.521-2.33,7.181V11.5H97.195V-31.125h13.063v7.792a14.06,14.06,0,0,1,5.462-6.035A16.02,16.02,0,0,1,124.237-31.583ZM48.61-15.617a28.645,28.645,0,0,1-3.4,14.094,23.812,23.812,0,0,1-9.778,9.587A31.183,31.183,0,0,1,20.421,11.5H.025V-42.507h20.4A31.709,31.709,0,0,1,35.47-39.146a23.448,23.448,0,0,1,9.74,9.472A28.429,28.429,0,0,1,48.61-15.617ZM256.7.272V11.5h-5.883q-7.486,0-11.65-3.705T235.005-4.464v-15.66h-5.729v-11h5.729V-42.507h13.063v11.382h8.555v11h-8.555V-4.235A4.787,4.787,0,0,0,249.1-.721a4.929,4.929,0,0,0,3.476.993ZM9.53-5.806l.08.157A25.052,25.052,0,0,0,12.774-.4q.038.045.08.087c2.125,2.116,3.833,2.472,5.088,2.2A4.083,4.083,0,0,0,20.133.545a10.72,10.72,0,0,0,1.56-2.6A4.3,4.3,0,0,1,22.4-3.228l.041.069a8.362,8.362,0,0,1,.66,1.676A4.922,4.922,0,0,0,25.6,1.762a4.274,4.274,0,0,0,2.867.225,6.751,6.751,0,0,0,2.177-1,15.426,15.426,0,0,0,4.141-6.008A54.51,54.51,0,0,0,38-16.068c1.088-5.784.136-8.375-1.717-10.229a13.937,13.937,0,0,0-2.8-2.01,11.111,11.111,0,0,0-.991-.526,22.925,22.925,0,0,0-9.835-2.333c-4.058-.068-8.4.57-11.37,2.431-2.211,1.383-4.676,4.249-4.634,9.928a31.82,31.82,0,0,0,2.8,12.815L9.45-6Zm25.923-11.67q-.069.433-.157.9A51.529,51.529,0,0,1,32.259-6.123a12.652,12.652,0,0,1-3.3,4.928,3.809,3.809,0,0,1-1.151.507,1.529,1.529,0,0,1-1.033-.039A2.391,2.391,0,0,1,25.735-2.3c-.158-.506-.51-1.463-.518-1.484-.265-.676-1.775-4.475-3.934-8.84a19.433,19.433,0,0,0-5.689-7.361,4.891,4.891,0,0,0-4.279-.948,3.508,3.508,0,0,0-1.1.592,5.394,5.394,0,0,1,1.071-1.867c2.074-2.31,4.378-2.212,6.714-1.34,2.838,1.059,5.725,3.132,8.451,4.351,3.446,1.541,5.973,2.042,7.706,1.937a6.057,6.057,0,0,0,1.291-.212ZM14.846-2.212a23.789,23.789,0,0,1-2.759-4.632,17.1,17.1,0,0,1-.9-9.887,3.72,3.72,0,0,1,.437-1.124,1.058,1.058,0,0,1,.546-.465,2.275,2.275,0,0,1,1.858.6,16.738,16.738,0,0,1,4.783,6.314c1.03,2.082,1.908,4.031,2.567,5.558h0A4.916,4.916,0,0,0,19.193-3.21a9.609,9.609,0,0,1-.914,1.672,1.654,1.654,0,0,1-.912.739A1.466,1.466,0,0,1,16.38-1,6.824,6.824,0,0,1,14.846-2.212ZM80.236-12.944q.076-4.2-2.254-6.3a8.3,8.3,0,0,0-5.768-2.1,8.555,8.555,0,0,0-5.959,2.139,8.955,8.955,0,0,0-2.674,6.264Zm-67.072-13.7c2.555-1.415,6.12-1.824,9.449-1.768a20.3,20.3,0,0,1,8.532,1.977h0a1.362,1.362,0,0,0,.154.083,7.824,7.824,0,0,1,4.071,4.15c.236.675.338,1.316-.045,1.734a2.491,2.491,0,0,1-2.019.451,17.419,17.419,0,0,1-5.726-1.7c-2.776-1.241-5.722-3.338-8.612-4.417A9.248,9.248,0,0,0,13.164-26.644ZM172.975-43.118a6.377,6.377,0,0,1,2.139-4.927,8.07,8.07,0,0,1,5.653-1.948,8.07,8.07,0,0,1,5.653,1.948,6.377,6.377,0,0,1,2.139,4.927,6.293,6.293,0,0,1-2.139,4.851,8.07,8.07,0,0,1-5.653,1.948,8.07,8.07,0,0,1-5.653-1.948A6.293,6.293,0,0,1,172.975-43.118Z",fill:"#fff",fillRule:"evenodd"})})})]})}var N=a(7294),y=!0;function _(e){var t;let{pageData:a}=e,[s,r]=(0,N.useState)({}),c=async e=>{let t=await fetch("https://vimeo.com/api/oembed.json?url=https://vimeo.com/".concat(e));return(await t.json()).thumbnail_url.replace(/-d_[0-9]+x[0-9]+/,"-d_1280")};function o(e,t,a){let l={title:"",size:"medium",type:"",url:"",imageUrl:"",imageAlt:""},i=null!=e.article.data&&null===e.video.data&&null===e.podcast.data?"article":null!=e.video.data&&null===e.article.data&&null===e.podcast.data?"video":null!=e.podcast.data&&null===e.article.data&&null===e.video.data?"podcast":"",r=a?0===t?"splash":"large":"medium";if("article"===i&&null!==e.article.data){let t=(0,w.createSlug)(e.article.data.attributes.title);l.title=e.article.data.attributes.title,l.type=i,l.description=e.article.data.attributes.excerpt,l.url="/article/".concat(t),l.imageUrl=e.article.data.attributes.cover.data.attributes.url,l.imageAlt=e.article.data.attributes.cover.data.attributes.name,l.size=r}else if("podcast"===i&&null!==e.podcast.data){let t=(0,w.createSlug)(e.podcast.data.attributes.title).replace(/-dwi-ep\d+$/,""),a="/episodes/e".concat(e.podcast.data.attributes.episode_number,"-").concat(t),s="EP"+e.podcast.data.attributes.episode_number+" "+e.podcast.data.attributes.title.split(" DWI-")[0];l.title=s,l.type=i,l.url=a,l.imageUrl=e.podcast.data.attributes.artwork_url,l.imageAlt=e.podcast.data.attributes.title,l.size=r}else if("video"===i&&null!==e.video.data){let t=(0,w.createSlug)(e.video.data.attributes.name),a=e.video.data.attributes.uri.replace("/videos/","");l.title=e.video.data.attributes.name,l.type=i,l.url="/videos/".concat(t),l.imageUrl=s[a],l.imageAlt=e.video.data.attributes.name,l.size=r}return l}(0,N.useEffect)(()=>{(async()=>{let e={};await Promise.all([...a.latest_contents.map(e=>{var t;return null===(t=e.video.data)||void 0===t?void 0:t.attributes.uri.replace("/videos/","")}).filter(e=>void 0!==e).map(async t=>{let a=await c(t);e[t]=a}),...a.popular_contents.map(e=>{var t;return null===(t=e.video.data)||void 0===t?void 0:t.attributes.uri.replace("/videos/","")}).filter(e=>void 0!==e).map(async t=>{let a=await c(t);e[t]=a})]),r(e)})()},[a.latest_contents,a.popular_contents]);let p=a.latest_contents.map((e,t)=>o(e,t,!0)),f=a.popular_contents.map((e,t)=>o(e,t,!1));return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(d(),{children:[(0,l.jsx)("title",{children:"Dentists Who Invest"}),(0,l.jsx)("meta",{name:"description",content:"Dentists Who Invest homepage, detailing courses we offer, information on the founder, and content we've created for dentists"})]}),(0,l.jsx)("main",{className:" bg-gray-100 lg:pt-8",children:(0,l.jsxs)("section",{className:"lg:mx-auto lg:max-w-[1000px] space-y-12",children:[(0,l.jsxs)("section",{className:"lg:bg-blue-primary lg:p-8",id:"latest content",children:[(0,l.jsx)(m,{title:"Latest Content"}),(0,l.jsx)("div",{className:"mx-3 grid grid-cols-2 gap-4 lg:gap-8 lg:grid-cols-3",children:p.map((e,t)=>(0,l.jsx)("div",{className:"".concat(0===t?"col-span-full":"col-span-1","\n ").concat(3===t?"hidden lg:block":"","\n "),children:(0,l.jsx)(j,{size:e.size,title:e.title,type:e.type,url:e.url,imageUrl:e.imageUrl,imageAlt:e.imageAlt,description:e.description})},t))})]}),(0,l.jsxs)("section",{className:"",id:"popular content",children:[(0,l.jsx)(m,{title:"Popular Content"}),(0,l.jsx)("div",{className:"mx-3 grid gap-8 sm:grid-cols-1 lg:mx-0 md:grid-cols-2 lg:grid-cols-3",children:f.map((e,t)=>(0,l.jsx)(j,{size:e.size,title:e.title,type:e.type,url:e.url,imageUrl:e.imageUrl,imageAlt:e.imageAlt,description:e.description},t))})]}),(0,l.jsx)("section",{className:"mx-3 lg:mx-0",id:"banner",children:a.horizontal_banner.data&&(0,l.jsx)(n(),{href:a.horizontal_banner.data.attributes.navigation_url,children:(0,l.jsx)(i(),{src:a.horizontal_banner.data.attributes.cover_image.data.attributes.url,alt:a.horizontal_banner.data.attributes.title,width:1200,height:200,layout:"responsive",className:""})})}),(0,l.jsxs)("section",{className:"",id:"follow us",children:[(0,l.jsx)(m,{title:"Follow Us"}),(0,l.jsxs)("div",{className:"mx-3 flex justify-center gap-4 lg:gap-8 lg:mx-0",children:[(0,l.jsxs)("div",{id:"socials",className:"w-1/2 flex-col bg-white shadow-custom-br lg:w-full max-h-[300px]",children:[(0,l.jsxs)("div",{className:"relative h-2/3 w-full inline-block bg-blue-primary",style:{aspectRatio:"5 / 3"},children:[(0,l.jsx)("div",{className:"p-4 absolute inset-0 flex lg:hidden items-center justify-center",children:(0,l.jsx)(v,{})}),(0,l.jsx)(i(),{src:"https://assets.dentistswhoinvest.com/dwitextlogo_467490d260/dwitextlogo_467490d260.png",alt:a.hero_cover.data.attributes.name,layout:"fill",className:"object-cover bg-blue-primary lg:block hidden"})]}),(0,l.jsxs)("div",{className:"mx-1 flex h-1/3 items-center justify-between space-x-1 md:mx-4 pb-2",children:[(0,l.jsx)("p",{className:"self-center text-nowrap bg-blue-primary px-1 text-[10px] text-white md:mt-4 md:self-start md:px-4 md:text-base",children:"FOLLOW US:"}),(0,l.jsxs)("div",{className:"flex flex-row space-x-1 md:space-x-3",children:[(0,l.jsx)(n(),{href:"https://www.facebook.com/groups/dentistswhoinvest",children:(0,l.jsx)(i(),{src:"https://assets.dentistswhoinvest.com/Facebook_Logo_Primary_357f62df13/Facebook_Logo_Primary_357f62df13.webp",alt:"Facebook",width:30,height:30,className:"md:size-[50px]"})}),(0,l.jsx)(n(),{href:"https://www.linkedin.com/in/dr-james-martin/",children:(0,l.jsx)(i(),{src:"https://assets.dentistswhoinvest.com/linkedin_logo_681e6eb0d0/linkedin_logo_681e6eb0d0.webp",alt:"Linked in",width:30,height:30,className:"md:size-[50px]"})}),(0,l.jsx)(n(),{href:"https://www.instagram.com/dentistswhoinvest/",children:(0,l.jsx)(i(),{src:"https://assets.dentistswhoinvest.com/Instagram_Glyph_Gradient_0fde9ef993/Instagram_Glyph_Gradient_0fde9ef993.webp",alt:"Instagram",width:30,height:30,className:"md:size-[50px]"})})]})]})]}),(0,l.jsxs)("div",{id:"cta",className:"w-1/2 flex-col bg-white shadow-custom-br lg:w-full max-h-[300px]",children:[(0,l.jsx)("div",{className:"relative h-2/3 w-full overflow-hidden",style:{aspectRatio:"5 / 3"},children:(0,l.jsx)(i(),{src:a.hero_cover.data.attributes.url,alt:a.hero_cover.data.attributes.name,layout:"fill",className:""})}),(0,l.jsx)("div",{className:"mx-1 flex h-1/3 items-center justify-center space-x-1 md:mx-12",children:(0,l.jsx)("button",{className:"text-nowrap bg-orange-400 px-2 py-1 text-[10px] text-white md:py-2 md:text-lg",children:(0,l.jsx)(n(),{href:a.hero_button_navigation_url,children:a.hero_button_text})})})]})]})]}),(0,l.jsxs)("section",{className:"",id:"meet the founder",children:[(0,l.jsx)(m,{title:"Meet the Founder"}),(0,l.jsxs)("section",{id:"founder",className:"mx-3 flex flex-col items-center bg-white shadow-custom-br lg:mx-0 lg:flex-row",children:[(0,l.jsx)("div",{className:"relative aspect-square w-full h-1/2 lg:aspect-[4/5] lg:w-1/3 max-h-[351px] lg:max-h-full",children:(0,l.jsx)(i(),{src:a.founder_image.data.attributes.url,alt:a.founder_image.data.attributes.name,layout:"fill",className:"object-cover object-[50%_15%] lg:object-center"})}),(0,l.jsxs)("div",{className:"m-4 space-y-2 text-left lg:mx-[50px] lg:w-3/4 lg:space-y-4",children:[(0,l.jsx)("h3",{className:"pb-2 text-lg text-blue-primary md:text-xl lg:text-2xl xl:mr-12 xl:text-wrap xl:text-left",children:a.founder_subtext}),a.founder_description.map(e=>(0,l.jsx)("div",{children:(0,l.jsx)("p",{className:"text-xs lg:text-sm pb-2",children:e.children[0].text})},e.id)),(0,l.jsx)(n(),{href:"/about",className:"text-xs lg:text-sm font-semibold text-blue-primary",children:"Read More..."})]})]})]}),(0,l.jsxs)("section",{className:"",id:"what we do",children:[(0,l.jsx)(m,{title:"What We Do For Dentists"}),a.what_we_do_reasons.map(e=>(0,l.jsxs)("div",{className:"mx-3 my-2 flex bg-blue-primary text-white lg:mx-0",children:[(0,l.jsx)("p",{className:"flex justify-center mx-4 py-2 text-[60px] font-semibold w-1/12",children:e.id}),(0,l.jsxs)("div",{className:"flex flex-col self-center w-2/3",children:[(0,l.jsx)("p",{className:"pb-2 text-base lg:text-2xl",children:e.title}),(0,l.jsx)("div",{className:"text-[10px] md:text-sm",children:(0,l.jsx)(u.i,{content:e.description})})]})]},e.id))]}),(0,l.jsxs)("section",{className:"",id:"testimonials",children:[(0,l.jsx)(m,{title:"Check Out What Our Members Say..."}),(0,l.jsx)("div",{id:"testimonial-cards",className:"mx-3 grid grid-cols-1 gap-4 lg:gap-8 md:auto-rows-auto md:grid-cols-3 lg:mx-0 xl:mx-auto xl:max-w-[1200px]",children:a.testimonials.data.map((e,t)=>(0,l.jsx)(h,{testimonial:e,index:t},e.id))})]}),(0,l.jsx)("section",{className:"mx-3 flex justify-center bg-gray-100 pb-8 lg:mx-0",id:"tax relief form",children:(t=a.form_id,(0,l.jsxs)("div",{className:"flex min-h-[550px] flex-col justify-center bg-blue-primary text-white md:min-h-[560px] md:flex-row lg:min-h-[580px]",children:[(0,l.jsx)(i(),{src:"https://assets.dentistswhoinvest.com/David_Hossein_tax_relief_8729644e8b/David_Hossein_tax_relief_8729644e8b.jpg",alt:"checklist",layout:"responsive",width:808,height:898,className:"size-auto max-h-[340px] max-w-[306px] self-center rounded-[30px] p-2 md:max-h-[480px] md:max-w-[432px] lg:max-h-[480px] lg:max-w-[432px] xl:max-h-[499px] xl:max-w-[449px]"}),(0,l.jsxs)("section",{className:"px-[30px] pt-3 md:mt-[38px] md:w-1/2",children:[(0,l.jsx)("div",{className:"mb-[-30px] text-center text-xl font-bold lg:text-2xl xl:text-[30px] xl:leading-[36px]",children:"Type your details below to receive an email link you can use to download your FREE pdf on tax efficiency for dentists."}),(0,l.jsx)("div",{className:"_form_"+t}),(0,l.jsx)(x(),{src:"https://dentistswhoinvest.activehosted.com/f/embed.php?id="+t}),(0,l.jsx)("p",{className:"md:ml-5 pb-4 text-center text-xs md:pb-0 md:text-left lg:text-base",children:"BY SUBMITTING MY EMAIL I CONSENT TO JOIN THE DENTISTS WHO INVEST EMAIL LIST. THIS LIST CAN BE LEFT AT ANY TIME."})]})]}))})]})})]})}},230:function(e,t,a){"use strict";a.d(t,{i:function(){return h}});var l=a(5893),s=a(7294);let i=({text:e,...t})=>{let{modifiers:a,missingModifierTypes:s}=m();return Object.keys(t).reduce((e,i)=>{if(!t[i])return e;let r=a[i];return r?(0,l.jsx)(r,{children:e}):(s.includes(i)||(console.warn(`[@strapi/block-react-renderer] No component found for modifier "${i}"`),s.push(i)),e)},(0,l.jsx)(l.Fragment,{children:e}))},r=["image"],n=e=>{let{children:t,type:a,...l}=e;if("code"===a){let t=e=>e.reduce((e,a)=>"text"===a.type?e.concat(a.text):"link"===a.type?e.concat(t(a.children)):e,"");return{...l,plainText:t(e.children)}}return l},c=({content:e})=>{let{children:t,type:a,...d}=e,{blocks:o,missingBlockTypes:x}=m(),h=o[a];if(!h)return x.includes(a)||(console.warn(`[@strapi/block-react-renderer] No component found for block type "${a}"`),x.push(a)),null;if(r.includes(a))return(0,l.jsx)(h,{...d});if("paragraph"===a&&1===t.length&&"text"===t[0].type&&""===t[0].text)return(0,l.jsx)("br",{});let u=n(e);return(0,l.jsx)(h,{...u,children:t.map((e,t)=>{if("text"===e.type){let{type:a,...l}=e;return(0,s.createElement)(i,{...l,key:t})}return(0,l.jsx)(c,{content:e},t)})})},d={blocks:{paragraph:e=>(0,l.jsx)("p",{children:e.children}),quote:e=>(0,l.jsx)("blockquote",{children:e.children}),code:e=>(0,l.jsx)("pre",{children:(0,l.jsx)("code",{children:e.plainText})}),heading:({level:e,children:t})=>{switch(e){case 1:return(0,l.jsx)("h1",{children:t});case 2:return(0,l.jsx)("h2",{children:t});case 3:return(0,l.jsx)("h3",{children:t});case 4:return(0,l.jsx)("h4",{children:t});case 5:return(0,l.jsx)("h5",{children:t});case 6:return(0,l.jsx)("h6",{children:t})}},link:e=>(0,l.jsx)("a",{href:e.url,children:e.children}),list:e=>"ordered"===e.format?(0,l.jsx)("ol",{children:e.children}):(0,l.jsx)("ul",{children:e.children}),"list-item":e=>(0,l.jsx)("li",{children:e.children}),image:e=>(0,l.jsx)("img",{src:e.image.url,alt:e.image.alternativeText||void 0})},modifiers:{bold:e=>(0,l.jsx)("strong",{children:e.children}),italic:e=>(0,l.jsx)("em",{children:e.children}),underline:e=>(0,l.jsx)("u",{children:e.children}),strikethrough:e=>(0,l.jsx)("del",{children:e.children}),code:e=>(0,l.jsx)("code",{children:e.children})},missingBlockTypes:[],missingModifierTypes:[]},o=s.createContext(d),x=({children:e,value:t=d})=>{let a=s.useMemo(()=>t,[t]);return(0,l.jsx)(o.Provider,{value:a,children:e})};function m(){return s.useContext(o)}let h=e=>{let t={...d.blocks,...e.blocks},a={...d.modifiers,...e.modifiers},i=s.useRef([]),r=s.useRef([]);return(0,l.jsx)(x,{value:{blocks:t,modifiers:a,missingBlockTypes:i.current,missingModifierTypes:r.current},children:e.content.map((e,t)=>(0,l.jsx)(c,{content:e},t))})}}},function(e){e.O(0,[945,786,934,888,774,179],function(){return e(e.s=8312)}),_N_E=e.O()}]);