PageSourceSearch

https://franchise.kidstrong.com/_next/static/chunks/5602.c0cfc8e7f60357a2.js

js kidstrong.com collected 2026-09-24 11:19:02 UTC 15,300 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5602],{14684:(e,l,n)=>{n.d(l,{k5:()=>u});var t=n(14232),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},r=t.createContext&&t.createContext(i),o=["attr","size","title"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var n=arguments[l];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}function s(e,l){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);l&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,t)}return n}function d(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{};l%2?s(Object(n),!0).forEach(function(l){var t,i,r;t=e,i=l,r=n[l],(i=function(e){var l=function(e,l){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,l||"default");if("object"!=typeof t)return t;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===l?String:Number)(e)}(e,"string");return"symbol"==typeof l?l:l+""}(i))in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(n,l))})}return e}function u(e){return l=>t.createElement(c,a({attr:d({},e.attr)},l),function e(l){return l&&l.map((l,n)=>t.createElement(l.tag,d({key:n},l.attr),e(l.child)))}(e.child))}function c(e){var l=l=>{var n,{attr:i,size:r,title:s}=e,u=function(e,l){if(null==e)return{};var n,t,i=function(e,l){if(null==e)return{};var n={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(l.indexOf(t)>=0)continue;n[t]=e[t]}return n}(e,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t<r.length;t++)n=r[t],!(l.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,o),c=r||l.size||"1em";return l.className&&(n=l.className),e.className&&(n=(n?n+" ":"")+e.className),t.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},l.attr,i,u,{className:n,style:d(d({color:e.color||l.color},l.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),s&&t.createElement("title",null,s),e.children)};return void 0!==r?t.createElement(r.Consumer,null,e=>l(e)):l(i)}},20871:(e,l,n)=>{n.r(l),n.d(l,{default:()=>q});var t=n(37876),i=n(14232),r=n(77328),o=n.n(r),a=n(39698),s=n(54587),d=n.n(s),u=n(19762),c=n(26952),m=n(48092),v=n(98375),p=n(49567),h=n(65546);let g=(0,i.memo)(e=>{var l,n,r,o;let{data:a,index:s,setVideoOpen:c,setVideoUrl:v}=e,h=(0,i.useMemo)(()=>{var e,l;return(null==a||null==(e=a.media)?void 0:e.image)?(0,p.iN)(null==a||null==(l=a.media)?void 0:l.image):m.A},[null==a||null==(l=a.media)?void 0:l.image]),g=(null==a||null==(n=a.media)?void 0:n.altText)||"Placeholder Image";return(0,t.jsxs)("div",{className:"relative w-full h-full min-h-0 overflow-hidden rounded-[inherit]",onClick:()=>{var e,l;(null==a||null==(e=a.media)?void 0:e.type)==="video"&&(c(!0),v(null==a||null==(l=a.media)?void 0:l.video))},children:[(0,t.jsx)(d(),{src:h,alt:g,fill:!0,className:"object-cover",sizes:"(max-width: 480px) 100vw, (max-width: 768px) 50vw, (max-width: 1200px) 33vw, 203px",loading:s<2?"eager":"lazy",quality:80},s),(null==a||null==(r=a.media)?void 0:r.type)==="video"&&(0,t.jsx)(u.pI,{width:70,height:70,setVideoOpen:c,setVideoUrl:v,className:"top-1/2 bg-black/20 hover:bg-black/60 rounded-m leading-tight",url:null==a||null==(o=a.media)?void 0:o.video})]})});g.displayName="MediaItem";let b=(0,i.memo)(e=>{let{imageUrl:l,altText:n="Background Image",overlay:i=!1,imageLink:r=""}=e;return(0,t.jsx)(u.Je,{url:r,className:"absolute inset-0 block",children:(0,t.jsxs)("div",{className:"absolute inset-0 w-full h-full ".concat(r?"pointer-events-auto":"pointer-events-none"),children:[(0,t.jsx)(d(),{src:l,alt:n,fill:!0,priority:!0,sizes:"100vw",className:"z-0 object-cover"}),i&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black bg-opacity-50 z-1"})]})})});
1b.displayName="BackgroundImage";let x=(0,i.memo)(e=>{var l,n,i,r,o,a,s,d,m,h,x,f,y,j,w,k,N;let{item:O,index:C,totalCards:I,templateId:A,setVideoOpen:P,setVideoUrl:E,isPreview:M,lpId:q,setOpen:z,theme:L}=e,S=!!(null==O||null==(l=O.backgroundMedia)?void 0:l.image);return(0,t.jsxs)("div",{className:"p-6 flex flex-col items-center justify-between text-center relative w-full min-w-0 gap-10 overflow-hidden ".concat(C+1!==I?"border-b-[8px] md:border-b-[0px] md:border-r-[1px] border-white":""),style:{backgroundColor:(null==O?void 0:O.backgroundColor)||"#D2D2D2"},children:[S&&(0,t.jsx)(b,{imageUrl:(0,p.iN)(null==O||null==(n=O.backgroundMedia)?void 0:n.image),altText:null==O||null==(i=O.backgroundMedia)?void 0:i.altText,overlay:null==O||null==(r=O.backgroundMedia)?void 0:r.overlay,imageLink:null==O||null==(o=O.backgroundMedia)?void 0:o.imageLink}),(0,t.jsx)(c.A,{content:O.title,className:"lh2 text-white relative",tag:"h2"}),(0,t.jsx)("div",{className:"w-full max-w-[457px] min-w-0 aspect-video relative overflow-hidden ".concat((null==O||null==(a=O.backgroundMedia)?void 0:a.imageLink)&&(null==O||null==(s=O.media)?void 0:s.type)!=="video"?"pointer-events-none":""),children:(0,t.jsx)(g,{data:O,index:C,setVideoOpen:P,setVideoUrl:E})}),(0,t.jsx)(u.Je,{lpId:q,isPreview:M,templateId:A,url:null==O||null==(d=O.button)?void 0:d.url,className:"".concat((0,v.KV)(null==O||null==(m=O.button)?void 0:m.text)),setOpen:z,children:(0,t.jsx)("button",{className:"lbutton h-[49px] ".concat((0,v.eY)(null==O||null==(h=O.button)?void 0:h.text,"min-w-[260px]",!0)," text-white bg-[#4A4A4A] px-[25px] pt-[10px] pb-[5px] relative"),style:{backgroundColor:(null==O||null==(x=O.button)?void 0:x.buttonColor)?null==O||null==(f=O.button)?void 0:f.buttonColor:(null==L||null==(y=L.color)?void 0:y.primary)?null==L||null==(j=L.color)?void 0:j.primary:"#4A4A4A",borderRadius:"".concat(null!=(N=null==O||null==(w=O.button)?void 0:w.buttonRadius)?N:1.9375,"rem")},children:(0,t.jsx)(c.A,{content:null==(k=O.button)?void 0:k.text,tag:"p"})})})]})});x.displayName="HeroCard";let f=(0,i.memo)(e=>{let{text:l,onClick:n,style:i,className:r,children:o}=e;return(0,t.jsx)("button",{className:r||"lbutton bg-[#4A4A4A] text-white min-w-[192px] min-h-[49px] px-[25px] pt-[10px] pb-[5px] flex items-center justify-center",onClick:n,style:i,children:(0,t.jsx)(c.A,{content:l||o,tag:"p"})})});function y(e){var l,n,r,a,s,d,m,g,y,j,w,k,N,O;let{hero:C,setVideoOpen:I,templateId:A,setVideoUrl:P,theme:E,isPreview:M,lpId:q,setOpen:z}=e,L=(0,i.useMemo)(()=>{var e,l;return(null==C||null==(e=C.media)?void 0:e.image)?(0,p.iN)(null==C||null==(l=C.media)?void 0:l.image):(0,p.iN)("landing-page/thumbnail.png")},[null==C||null==(l=C.media)?void 0:l.image]),S=!!((null==C||null==(n=C.media)?void 0:n.video)||(null==C||null==(r=C.media)?void 0:r.type)==="video"),F=(0,i.useMemo)(()=>({backgroundColor:S?"transparent":(null==C?void 0:C.backgroundColor)||"#D2D2D2"}),[null==C?void 0:C.backgroundColor,S]),_=(0,i.useMemo)(()=>{var e,l,n,t,i,r;return{backgroundColor:(null==C||null==(e=C.button)?void 0:e.buttonColor)?null==C||null==(l=C.button)?void 0:l.buttonColor:(null==E||null==(n=E.color)?void 0:n.primary)?null==E||null==(t=E.color)?void 0:t.primary:"#4A4A4A",borderRadius:"".concat(null!=(r=null==C||null==(i=C.button)?void 0:i.buttonRadius)?r:625,"rem")}},[null==E||null==(a=E.color)?void 0:a.primary,null==C||null==(s=C.button)?void 0:s.buttonColor,null==C||null==(d=C.button)?void 0:d.buttonRadius]),D=!!(null==C||null==(m=C.media)?void 0:m.image),U=Array.isArray(null==C?void 0:C.heroCards)&&C.heroCards.length>0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o(),{children:D&&(0,t.jsx)("link",{rel:"preload",href:L,as:"image",type:"image/*",fetchPriority:"high"})}),(0,t.jsxs)("div",{className:"py-16 md:py-20 relative",style:F,children:[S&&(null==C||null==(g=C.media)?void 0:g.video)&&(0,t.jsx)(h.A,{media:null==C?void 0:C.media}),D&&(0,t.jsx)(b,{imageUrl:L,altText:null==C||null==(y=C.media)?void 0:y.altText,overlay:null==C||null==(j=C.media)?void 0:j.overlay,imageLink:null==C||null==(w=C.media)?void 0:w.imageLink}),(0,t.jsxs)("div",{className:"z-10 relative max-w-screen-landing mx-auto text-start px-8 md:px-[10rem] lg:pl-[11.3rem] lg:pr-[16rem]",children:[(0,t.jsx)(c.A,{content:null==C?void 0:C.title,tag:"h1",className:"lh1 mb-4 text-white break-words sm:break-normal"}),(0,t.jsx)(c.A,{content:null==C?void 0:C.description,tag:"p",className:"lp font-NexaBold text-white mb-8 font-bold text-[1.313rem] leading-[100%]"}),(0,t.jsx)(u.Je,{lpId:q,isPreview:M,templateId:A,url:null==C||null==(k=C.button)?void 0:k.url,className:"".concat((0,v.KV)(null==C||null==(N=C.button)?void 0:N.text)),setOpen:z,children:(0,t.jsx)(f,{text:null==C||null==(O=C.button)?void 0:O.text,style:_})})]})]}),U&&(0,t.jsx)("div",{className:"mt-2 md:mt-1",children:(0,t.jsx)("div",{className:"mx-auto",children:(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-1",children:C.heroCards.map((e,l)=>(0,t.jsx)(x,{item:e,index:l,totalCards:C.heroCards.length,templateId:A,setVideoOpen:I,setVideoUrl:P,setOpen:z,theme:E},l))})})})]})}f.displayName="ActionButton";var j=n(16304),w=n(19542),k=n(14539),N=n(3797);let O=(0,i.lazy)(()=>Promise.all([n.e(6146),n.e(7725),n.e(9970),n.e(1235)]).then(n.bind(n,41235))
1),C=(0,i.lazy)(()=>n.e(212).then(n.bind(n,212))),I=(0,i.lazy)(()=>n.e(4191).then(n.bind(n,34191))),A=(0,i.lazy)(()=>Promise.all([n.e(713),n.e(6827)]).then(n.bind(n,56827))),P=(0,i.lazy)(()=>n.e(6437).then(n.bind(n,16437))),E=(0,i.lazy)(()=>n.e(1460).then(n.bind(n,31460))),M=(0,i.lazy)(()=>Promise.all([n.e(6146),n.e(7725),n.e(5711),n.e(24),n.e(1995)]).then(n.bind(n,61995)));function q(e){var l,n,r,s,d;let{props:u,setModalOpen:c,setVideoOpen:m,setVideoUrl:v,setSuccessMessage:h,successMessage:g}=e,[b,x]=(0,i.useState)(!1),[f,q]=(0,i.useState)(!1),z=(0,i.useCallback)(()=>{window.scrollY>300?b||x(!0):b&&x(!1)},[b]);(0,i.useEffect)(()=>(window.addEventListener("scroll",z,{passive:!0}),()=>{window.removeEventListener("scroll",z)}),[z]),(0,w.i)(null==u?void 0:u.favIcon);let L=(0,i.useMemo)(()=>({templateId:null==u?void 0:u.templateId,theme:null==u?void 0:u.theme,slug:null==u?void 0:u.slug,lpId:null==u?void 0:u.lpId,lpCrmContent:null==u?void 0:u.lpCrmContent,currentLpInquiryEmails:null==u?void 0:u.currentLpInquiryEmails,setVideoOpen:m,setVideoUrl:v,isPreview:null==u?void 0:u.isPreview}),[null==u?void 0:u.templateId,null==u?void 0:u.theme,null==u?void 0:u.slug,null==u?void 0:u.lpId,null==u?void 0:u.lpCrmContent,null==u?void 0:u.currentLpInquiryEmails,m,v,null==u?void 0:u.isPreview]),S=(0,i.useMemo)(()=>{var e,l;return(null==u||null==(l=u.hero)||null==(e=l.media)?void 0:e.image)?(0,p.iN)(u.hero.media.image):(0,p.iN)("landing-page/thumbnail.png")},[null==u||null==(n=u.hero)||null==(l=n.media)?void 0:l.image]),F=(0,i.useCallback)(e=>{var l,n;switch(e.id){case 1:return(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)(a.A,{...L,header:null==u?void 0:u.header,isAiGenerated:!!(null==u||null==(l=u.whyUs)?void 0:l.__aiGenerated),pdf:null==u?void 0:u.pdf,requestForm:null==u?void 0:u.requestForm,setSuccessMessage:h,successMessage:g,setOpen:q},e.id),(0,t.jsx)("div",{className:"mb-10"})]});case 2:return(0,t.jsx)(y,{...L,hero:null==u?void 0:u.hero,setOpen:q},e.id);case 3:return(0,t.jsx)(O,{requestForm:null==u?void 0:u.requestForm,...L},e.id);case 4:return(0,t.jsx)(C,{quickFacts:null==u?void 0:u.quickFacts,...L,setOpen:q},e.id);case 5:return(0,t.jsx)(I,{franchise:null==u?void 0:u.franchise,isAiGenerated:!!(null==u||null==(n=u.whyUs)?void 0:n.__aiGenerated),...L,setOpen:q},e.id);case 6:return(0,t.jsx)(A,{client:null==u?void 0:u.client,...L},e.id);case 7:return(0,t.jsx)(P,{whyUs:null==u?void 0:u.whyUs,...L,setOpen:q},e.id);case 8:return(0,t.jsx)(E,{footer:null==u?void 0:u.footer,setOpen:q,...L},e.id);default:return null}},[L]),_=(0,i.useMemo)(()=>{var e;return((null==u||null==(e=u.lpSectionSettings)?void 0:e.sections)||[]).filter(e=>e.visible).sort((e,l)=>e.order-l.order)},[null==u||null==(r=u.lpSectionSettings)?void 0:r.sections]),D=null==u?void 0:u.theme;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(j.A,{children:[f&&(0,t.jsx)(k.A,{open:f,setOpen:q,slug:null==u?void 0:u.slug,requestForm:null==u?void 0:u.requestForm,theme:null==u?void 0:u.theme,setSuccessMessage:h,successMessage:g,lpId:null==u?void 0:u.lpId,lpCrmContent:null==u?void 0:u.lpCrmContent,currentLpInquiryEmails:null==u?void 0:u.currentLpInquiryEmails}),(0,t.jsxs)(o(),{children:[(0,t.jsx)("link",{rel:"preload",href:S,as:"image",fetchPriority:"high"}),(0,t.jsx)("link",{rel:"preconnect",href:"https://newimage.1851franchise.com",crossOrigin:""}),(0,t.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"})]}),(0,t.jsxs)("main",{className:"overflow-hidden",children:[(0,t.jsxs)("div",{className:"w-full".concat((0,N.pA)(null==D?void 0:D.fontFamily)?" themed-landing-page":""),children:[(0,N.pA)(null==D?void 0:D.fontFamily)&&(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:'\n                .themed-landing-page *:not([style*="var(--font-"]) {\n                  font-family: '.concat((0,N.Od)(D.fontFamily),', sans-serif !important;\n                }\n        \n                .themed-landing-page:not(.editing) \n                :is(h1, h2, h3, h4, h5, h6, p, span):not([style*="color"]) {\n                }\n\n                .themed-landing-page:not(.editing) \n                *[style*="color: white"],\n                .themed-landing-page:not(.editing) \n                *[style*="color: rgb(255"],\n                .themed-landing-page:not(.editing) \n                *[style*="color:#fff"] {\n                }\n           \n              ')}}),(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)("div",{className:"loading-placeholder",children:"Loading..."}),children:_.map(F)})]}),b&&(null==u||null==(s=u.stickyForm)?void 0:s.visibility)!==!1&&(0,t.jsx)("div",{style:{position:"fixed",bottom:"0",left:"0",top:"auto",width:"100%",zIndex:50},className:"shadow-lg p-4",children:(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)("div",{className:"sticky-form-loading",children:"Loading form..."}),children:(0,t.jsx)(M,{setOpen:c,slug:null==u?void 0:u.slug,theme:null==u?void 0:u.theme,lpId:null==u?void 0:u.lpId,currentLpInquiryEmails:null==u?void 0:u.currentLpInquiryEmails,stickyForm:null==u?void 0:u.stickyForm,isAiGenerated:!!(null==u||null==(d=u.whyUs)?void 0:d.__aiGenerated)})})})]})]})})}},49567:(e,l,n)=>{n.d(l,{di:()=>t,iN:()=>r,mZ:()=>i});let t=e=>e.replace(/^\/+/,""),i=function(e,l){let{width:n,height:i,quality:r,format:o="auto"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[null!=n&&"width=".concat(n),null!=i&&"height=".concat(i),null!=r&&"quality=".concat(r),null!=o&&"format=".concat(o)].filter(
1Boolean).join(","),s="/".concat(t(l));return"".concat(e.startsWith("http")?e.replace(/\/$/,""):"https://".concat(e.replace(/\/$/,"")),"/cdn-cgi/image/").concat(a).concat(s)},r=(e,l)=>{var n;if(!(e=>"string"==typeof e&&e.length>0&&"undefined"!==e)(e))return"";let t=null!=(n=null!=l?l:"https://newimage.1851franchise.com")?n:"";return t?i(t,e,{format:"webp"}):""}}}]);

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.