1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[812],{4749:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var s=t(88017);function n(e){let{className:l=""}=e;return(0,s.jsx)("svg",{viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:(0,s.jsx)("path",{d:"M17.2222 9.13281L16.7925 9.5625L15.894 10.4609L7.88623 18.4688C7.65186 18.7031 7.33936 18.8984 6.98779 19.0156L1.94873 20.4609C1.63623 20.5781 1.28467 20.5 1.05029 20.2266C0.776855 19.9922 0.69873 19.6406 0.815918 19.3281L2.26123 14.3281C2.37842 13.9766 2.57373 13.625 2.80811 13.3906L10.8159 5.38281L11.7144 4.48438L12.144 4.05469L13.4722 5.38281L15.894 7.80469L17.2222 9.13281ZM4.52686 14.3281L4.13623 14.7188C4.09717 14.7578 4.09717 14.7969 4.05811 14.8359L3.08154 18.1953L6.44092 17.2188C6.47998 17.1797 6.51904 17.1797 6.55811 17.1406L6.94873 16.75H5.15186C4.80029 16.75 4.52686 16.4766 4.52686 16.125V14.3281ZM18.4722 1.28125L19.9956 2.80469C20.9722 3.78125 20.9722 5.38281 19.9956 6.35938L19.4487 6.90625L18.5503 7.80469L18.1206 8.23438L16.7925 6.90625L14.3706 4.48438L13.0425 3.15625L13.4722 2.72656L14.3706 1.82812L14.9175 1.28125C15.894 0.304688 17.4956 0.304688 18.4722 1.28125Z",fill:"currentColor"})})}},10067:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var s=t(88017);function n(e){let{className:l=""}=e;return(0,s.jsx)("svg",{viewBox:"0 0 18 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:(0,s.jsx)("path",{d:"M16.5801 0.5C15.9551 0.5 11.5801 1.75 11.5801 7.375V11.75C11.5801 13.1562 12.6738 14.25 14.0801 14.25H15.3301V19.25C15.3301 19.9531 15.877 20.5 16.5801 20.5C17.2441 20.5 17.8301 19.9531 17.8301 19.25V14.25V9.875V1.75C17.8301 1.08594 17.2441 0.5 16.5801 0.5ZM2.83008 1.125C2.83008 0.8125 2.55664 0.539062 2.24414 0.539062C1.93164 0.5 1.6582 0.695312 1.58008 1.00781L0.408203 6.32031C0.330078 6.59375 0.330078 6.82812 0.330078 7.0625C0.330078 8.85938 1.69727 10.3438 3.45508 10.5V19.25C3.45508 19.9531 4.00195 20.5 4.70508 20.5C5.36914 20.5 5.95508 19.9531 5.95508 19.25V10.5C7.67383 10.3438 9.08008 8.85938 9.08008 7.0625C9.08008 6.82812 9.04102 6.59375 8.96289 6.32031L7.79102 1.00781C7.71289 0.695312 7.43945 0.5 7.12695 0.539062C6.81445 0.539062 6.58008 0.8125 6.58008 1.125V6.39844C6.58008 6.59375 6.38477 6.75 6.18945 6.75C5.99414 6.75 5.79883 6.63281 5.79883 6.39844L5.29102 1.08594C5.29102 0.773438 5.01758 0.5 4.70508 0.5C4.35352 0.5 4.08008 0.773438 4.08008 1.08594L3.57227 6.39844C3.57227 6.63281 3.41602 6.75 3.18164 6.75C2.98633 6.75 2.83008 6.59375 2.83008 6.39844V1.125ZM4.70508 7.0625H4.66602H4.70508Z",fill:"currentColor"})})}},19966:(e,l,t)=>{"use strict";t.r(l),t.d(l,{__N_SSG:()=>w,default:()=>C});var s=t(88017),n=t(53651),a=t(84914),i=t.n(a),r=t(73848),c=t(13767),d=t(61078),o=t(56404),u=t(52933),h=t(10276),x=t(19976),m=t(57371),g=t(20968),p=t(4754),v=t(72392),j=t(78688),w=!0;function C(e){let{article:l,relatedResources:t}=e,a=(0,u.dO)(l.image),{title:w,summary:C,author:f,publishedAt:y,content:N,categories:A,_updatedAt:b}=l,k=(0,r.useRouter)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.bV,{title:w,description:C,openGraph:{title:w,description:C,images:(null==a?void 0:a.url)?[{url:a.url,alt:a.alt||"",width:a.dimensions.width,height:a.dimensions.height}]:[]}}),(0,s.jsx)(n.dp,{url:"".concat(d.p).concat(k.asPath),title:null!=w?w:"",images:(null==a?void 0:a.url)?[a.url]:[],datePublished:y,dateModified:b,authorName:[{name:null==f?void 0:f.name}],description:null!=C?C:"",isAccessibleForFree:!0}),(0,s.jsxs)("section",{className:"section-transparent relative -mt-[10.75rem] pt-[17.25rem] pb-24",children:[(null==a?void 0:a.url)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{src:a.url,alt:a.alt,fill:!0,sizes:"100vw",className:"-z-20 object-cover"}),(0,s.jsx)("div",{className:"absolute inset-0 -z-10 bg-gray-900/80"})]}),(0,s.jsxs)("div",{className:"container flex max-w-4xl flex-col items-center gap-y-5",children:[w?(0,s.jsx)("h1",{className:"title text-center text-5xl text-white",children:w}):null,(0,s.jsxs)("div",{className:"flex items-center gap-x-4 text-white",children:[Array.isArray(A)&&A.length?(0,s.jsx)("ul",{className:"flex items-center gap-x-3",children:A.map((e,l,t)=>(0,s.jsxs)("li",{className:"flex items-center gap-x-2",children:["Eat"===e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.A,{className:"h-4 text-yellow-500"})," Eat"]}):null,"Play"===e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{className:"h-4 text-blue-500"}),"Play"]}):null,"Learn"===e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v.A,{className:"h-4 text-red-500"}),"Learn"]}):null,"Challenge"===e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.A,{className:"h-4 text-gray-700"}),"Challenge"]}):null,l===t.length-1?null:","]},l))}):null,y?(0,s.jsxs)(s.Fragment,{children:["|",(0,s.jsx)("time",{dateTime:y,className:"",children:(0,o.b)(y)})]}):null,(null==f?void 0:f.name)?(0,s.jsxs)(s.Fragment,{children:["|",(0,s.jsx)("p",{className:"text-white",children:f.name})]}):null]})]})]}),(0,s.jsxs)("div",{className:"container grid gap-x-24 py-24 lg:grid-cols-3",children:[N&&(0,s.jsx)("article",{className:"prose max-w-none prose-p:text-lg prose-a:no-underline lg:col-span-2",children:(0,s.jsx)(c.RK,{value:N,components:{types:{imageWithAlt:e=>{let{value:l}=e,{url:t,alt:n,dimensions:a}=(0,u.dO)(l);return t?(0,s.jsx)(i(),{src:t,alt:n,width:a.width,height:a.height,sizes:"(max-width: 1023px) 100vw, 66vw",className:"rounded"}):null},sideBySideImages:e=>{let{value:l}=e,{url:t,alt:n,dimensions:a}=(0,u.dO)(null==l?void 0:l.image1),{url:r,alt:c,dimensions:d}=(0,u.dO)(null==l?void 0:l.image2);return t&&r?(0,s.jsxs)("div",{className:"my-8 grid grid-cols-2 gap-x-9",children:[t?(0,s.jsx)(i(),{src:t,alt:n,width:a.width,height:a.height,sizes:"(max-width: 1023px) 50vw, 33vw",className:"!my-0 h-full rounded object-cover"}):null,r?(0,s.jsx)(i(),{src:r,alt:c,width:d.width,height:d.height,sizes:"(max-width: 1023px) 50vw, 33vw",className:"!my-0 h-full rounded object-cover"}):null]}):null}},marks:{link:e=>{var l,t,n,a,i;let{value:r,children:c}=e;return"string"==typeof(null==r||null==(t=r.internal)||null==(l=t.slug)?void 0:l.current)&&"string"==typeof(null==r||null==(n=r.internal)?void 0:n.type)?(0,s.jsx)(h.A,{link:{_type:"link",internal:{slug:{current:r.internal.slug.current,_type:"slug"},_type:r.internal.type}},children:c}):"string"==typeof(null==r||null==(a=r.external)?void 0:a.url)?(0,s.jsx)(h.A,{link:{external:(null==r?void 0:r.href)||(null==r||null==(i=r.external)?void 0:i.url),_type:"link"},children:c}):(0,s.jsx)(s.Fragment,{children:c})}}}})}),(0,s.jsxs)("div",{className:"max-lg:mt-16",children:[(0,s.jsx)(m.A,{title:"Share this article!"}),Array.isArray(t)&&t.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:"title mt-12 text-xl text-head-dark",children:"Related Resources"}),(0,s.jsx)("div",{className:"mt-9 gap-y-12 md:flex-row lg:flex-col grid md:grid-cols-3 lg:grid-cols-1 gap-x-9",children:t.map(e=>(0,s.jsx)(x.A,{resource:e},e._id))})]}):null]})]})]})}},19976:(e,l,t)=>{"use strict";t.d(l,{A:()=>f});var s=t(88017),n=t(84914),a=t.n(n),i=t(97393),r=t(56404),c=t(52933),d=t(10276),o=t(22624),u=t
1(91730),h=t(75673),x=t(80017),m=t(92611),g=t(26367),p=t(99693),v=t(50091),j=t(4749),w=t(62720),C=t(10067);function f(e){let{resource:l,className:t="",theme:n="light"}=e,d=null;switch(null==l?void 0:l._type){case"article":case"series":case"worksheet":case"recipe":if(!l.image)break;d=(0,c.dO)(l.image);break;case"video":if(!l.thumbnailImage)break;d=(0,c.b8)(l.thumbnailImage)?l.thumbnailImage:(0,c.dO)(l.thumbnailImage);break;default:console.log("Unknown Resource type: ".concat(l._type))}return(0,s.jsx)(y,{resource:l,className:t,children:(0,s.jsxs)(s.Fragment,{children:[(null==d?void 0:d.url)?(0,s.jsx)(a(),{src:d.url,alt:d.alt,width:d.dimensions.width,height:d.dimensions.height,className:"w-full aspect-video object-cover"}):null,(0,s.jsxs)("div",{className:"mt-6 flex items-start justify-between gap-x-10",children:[(null==l?void 0:l.title)?(0,s.jsx)("h2",{className:(0,i.A)("font-medium transition duration-200 group-hover:text-blue-500","dark"===n?"text-head-light":"text-head-dark"),children:null==l?void 0:l.title}):null,(null==l?void 0:l._type)==="recipe"&&(0,s.jsx)(C.A,{className:"w-4.5 text-yellow-500"}),(null==l?void 0:l._type)==="article"&&(0,s.jsx)(j.A,{className:"mt-1 w-5 text-red-500"}),(null==l?void 0:l._type)==="series"&&(0,s.jsx)(w.A,{className:"w-5.5 text-blue-500"}),(null==l?void 0:l._type)==="worksheet"&&(0,s.jsx)(v.A,{className:"h-5 text-gray-700"}),(null==l?void 0:l._type)==="video"&&(0,s.jsx)(w.A,{className:"w-5.5 text-blue-500"})]}),(0,s.jsx)("p",{className:(0,i.A)("mt-3 line-clamp-2","dark"===n?"text-body-light":"text-body-dark"),children:(0,s.jsxs)(s.Fragment,{children:[(null==l?void 0:l.publishedAt)?(0,s.jsx)("time",{dateTime:null==l?void 0:l.publishedAt,className:"",children:(0,r.b)(null==l?void 0:l.publishedAt)}):null,(null==l?void 0:l.publishedAt)&&(null==l?void 0:l.summary)?(0,s.jsx)(s.Fragment,{children:"\xa0\xa0|\xa0\xa0"}):null,(null==l?void 0:l.summary)?null==l?void 0:l.summary:null]})}),(0,s.jsxs)("ul",{className:"mt-6 flex flex-wrap items-center gap-2",children:[Array.isArray(null==l?void 0:l.categories)&&(null==l?void 0:l.categories.length)>0&&(null==l?void 0:l.categories.map((e,l)=>(0,s.jsxs)("li",{children:["Eat"===e&&(0,s.jsx)(h.A,{variant:n}),"Play"===e&&(0,s.jsx)(m.A,{variant:n}),"Learn"===e&&(0,s.jsx)(x.A,{variant:n}),"Challenge"===e&&(0,s.jsx)(u.A,{variant:n})]},l))),Array.isArray(null==l?void 0:l.fitnessLevels)&&(null==l?void 0:l.fitnessLevels.length)>0&&(null==l?void 0:l.fitnessLevels.map((e,l)=>(0,s.jsxs)("li",{children:["Rookie"===e&&(0,s.jsx)(p.A,{variant:n}),"Pro"===e&&(0,s.jsx)(g.A,{variant:n}),"All-Star"===e&&(0,s.jsx)(o.A,{variant:n})]},l)))]})]})})}function y(e){var l,t,n;let{resource:a,className:i="",children:r}=e;return(null==a?void 0:a._type)==="recipe"?(0,s.jsx)("a",{href:null!=(t=a.pdfUrl)?t:"",target:"_blank",rel:"noopener noreferrer",download:!0,className:"group flex flex-col overflow-hidden rounded-t-lg ".concat(i),children:r}):(0,s.jsx)(d.A,{link:{internal:{_type:null==a?void 0:a._type,slug:{_type:"slug",current:null!=(n=null==a||null==(l=a.slug)?void 0:l.current)?n:""}},_type:"link"},className:"group flex flex-col overflow-hidden rounded-t-lg ".concat(i),children:r})}},27247:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return t(19966)}])},50091:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var s=t(88017);function n(e){let{className:l=""}=e;return(0,s.jsx)("svg",{viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:(0,s.jsx)("path",{d:"M3.05371 0.5C1.64746 0.5 0.553711 1.63281 0.553711 3V18C0.553711 19.4062 1.64746 20.5 3.05371 20.5H13.0537C14.4209 20.5 15.5537 19.4062 15.5537 18V6.75H10.5537C9.85059 6.75 9.30371 6.20312 9.30371 5.5V0.5H3.05371ZM10.5537 0.5V5.5H15.5537L10.5537 0.5ZM4.92871 10.5H11.1787C11.4912 10.5 11.8037 10.8125 11.8037 11.125C11.8037 11.4766 11.4912 11.75 11.1787 11.75H4.92871C4.57715 11.75 4.30371 11.4766 4.30371 11.125C4.30371 10.8125 4.57715 10.5 4.92871 10.5ZM4.92871 13H11.1787C11.4912 13 11.8037 13.3125 11.8037 13.625C11.8037 13.9766 11.4912 14.25 11.1787 14.25H4.92871C4.57715 14.25 4.30371 13.9766 4.30371 13.625C4.30371 13.3125 4.57715 13 4.92871 13ZM4.92871 15.5H11.1787C11.4912 15.5 11.8037 15.8125 11.8037 16.125C11.8037 16.4766 11.4912 16.75 11.1787 16.75H4.92871C4.57715 16.75 4.30371 16.4766 4.30371 16.125C4.30371 15.8125 4.57715 15.5 4.92871 15.5Z",fill:"currentColor"})})}},56404:(e,l,t)=>{"use strict";function s(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{timeZone:"UTC",dateStyle:"long"},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-US",s=new Date(e);return"Invalid Date"===s.toString()?null:s instanceof Date?new Intl.DateTimeFormat(t,l).format(s):null}t.d(l,{b:()=>s})},57371:(e,l,t)=>{"use strict";t.d(l,{A:()=>h});var s=t(88017),n=t(97393),a=t(73848),i=t(61078),r=t(10276),c=t(36084),d=t(83844),o=t(4167);function u(e){let{theme:l}=e,{asPath:t}=(0,a.useRouter)(),u=(0,n.A)("h-11 w-12 flex items-center justify-center rounded shadow-social-btn","light"===l&&"bg-gray-100 shadow-social-btn","dark"===l&&"bg-[#37393C] shadow-social-btn-light");return(0,s.jsxs)("div",{className:"flex justify-center gap-3 mt-6",children:[(0,s.jsx)(r.A,{link:{external:"https://www.facebook.com/sharer/sharer.php?u=".concat(i.p).concat(t),_type:"link"},className:u,children:(0,s.jsx)(c.A,{className:"h-6 text-[#395185]"})}),(0,s.jsx)(r.A,{link:{external:"https://twitter.com/intent/tweet?url=".concat(i.p).concat(t),_type:"link"},className:u,children:(0,s.jsx)(o.A,{className:"h-5 text-[#55ACEE]"})}),(0,s.jsx)(r.A,{link:{external:"https://pinterest.com/pin/create/button/?url=".concat(i.p).concat(t),_type:"link"},className:u,children:(0,s.jsx)(d.A,{className:"h-5.5 text-[#CB1F27]"})})]})}function h(e){let{title:l,theme:t="light"}=e;return(0,s.jsxs)("div",{className:(0,n.A)("p-8 text-center h-min","light"===t&&"bg-gray-100","dark"===t&&"bg-[#404245]"),children:[(0,s.jsx)("h2",{className:(0,n.A)("title text-xl","light"===t&&"text-head-dark","dark"===t&&"text-head-light"),children:l}),(0,s.jsxs)("p",{className:(0,n.A)("mt-2","light"===t&&"text-body-dark","dark"===t&&"text-white/65"),children:["Use the hashtag\xa0",(0,s.jsx)("span",{className:"text-blue-500",children:"#kidsfit"})]}),(0,s.jsx)(u,{theme:t})]})}},62720:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var s=t(88017);function n(e){let{className:l=""}=e;return(0,s.jsx)("svg",{viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l,children:(0,s.jsx)("path",{d:"M3.02686 2.5V12.625H21.0269V2.5H3.02686ZM0.776855 2.5C0.77685
15 1.26953 1.76123 0.25 3.02686 0.25H21.0269C22.2573 0.25 23.2769 1.26953 23.2769 2.5V12.625C23.2769 13.8906 22.2573 14.875 21.0269 14.875H3.02686C1.76123 14.875 0.776855 13.8906 0.776855 12.625V2.5ZM5.27686 16H18.7769C19.3745 16 19.9019 16.5273 19.9019 17.125C19.9019 17.7578 19.3745 18.25 18.7769 18.25H5.27686C4.64404 18.25 4.15186 17.7578 4.15186 17.125C4.15186 16.5273 4.64404 16 5.27686 16Z",fill:"currentColor"})})}}},e=>{e.O(0,[767,636,593,792],()=>e(e.s=27247)),_N_E=e.O()}]);
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.