PageSourceSearch

https://app.adstra.ai/_next/static/chunks/pages/academy/lessons/[courseSlug]-24153455f16256c9.js

js adstra.ai collected 2026-10-05 11:48:44 UTC 8,810 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[45955],{25782:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/academy/lessons/[courseSlug]",function(){return s(9187)}])},68832:function(e,t,s){"use strict";s.d(t,{Z:function(){return D}});var l=s(28598),r=s(1887),a=s.n(r),i=s(82684),n=s(48074),o=s(81955);var c=e=>{let{IS_LIGHT_MODE:t,video:s}=e;const[r,a]=(0,i.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.Z,{IS_LIGHT_MODE:t,isOpen:r,onRequestClose:()=>{a(!1)},title:s.title,vimeoId:s.vimeoId}),(0,l.jsx)("div",{onClick:()=>{a(!0)},className:"cursor-pointer w-full rounded border border-white-light bg-white shadow-[4px_6px_10px_-3px_#bfc9d4] ".concat(!t&&"dark:border-[#1b2e4b] dark:bg-[#191e3a] dark:shadow-none"),children:(0,l.jsxs)("div",{className:"py-4 px-4 flex flex-col md:flex-row justify-between items-center",children:[(0,l.jsx)("div",{className:"flex items-center mb-2 md:mb-0",children:(0,l.jsx)("div",{style:{width:120,height:80,backgroundImage:"url(".concat(s.thumbnail,")"),backgroundSize:"cover",borderRadius:"8px",backgroundPosition:"center center"}})}),(0,l.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-start md:pl-8",children:(0,l.jsx)(o.X02,{IS_LIGHT_MODE:t})}),(0,l.jsx)("div",{className:"flex flex-col md:flex-row items-center justify-start w-full md:pl-2",children:(0,l.jsx)("p",{className:"".concat(t?"text-[#3b3f5c]":"text-white-dark"),children:s.title})})]})})]})};var d=e=>{let{course:t,IS_LIGHT_MODE:s}=e;return(0,l.jsx)("div",{className:"grid gap-4 grid-cols-1 max-w-[780px]",children:t.videos.map((e=>(0,l.jsx)(c,{IS_LIGHT_MODE:s,video:e},e.slug)))})},u=s(81583),m=s(707),x=s(34376),h=s(9616),f=s(86856),p=s(58541);const v=e=>{let{IS_LIGHT_MODE:t,title:s}=e;return(0,l.jsxs)("div",{className:"mb-5 flex items-center",children:[(0,l.jsx)(o.I1y,{IS_LIGHT_MODE:t}),(0,l.jsx)("h5",{className:"ml-3 text-lg font-semibold ".concat(t?"text-[#3b3f5c]":"dark:text-white-light"),children:s})]})};var j=(0,i.memo)(v),b=s(12691),y=s.n(b),g=s(81385),_=s(1766);const w=e=>{let{IS_LIGHT_MODE:t,title:s,link:r}=e;const{t:a}=(0,g.$G)();return(0,l.jsxs)("ul",{className:"flex space-x-2 rtl:space-x-reverse",children:[(0,l.jsx)("li",{children:(0,l.jsx)(y(),{href:r,className:"text-primary hover:underline",children:a("Lessons")})}),(0,l.jsx)("li",{className:"before:content-['/'] ltr:before:mr-2 rtl:before:ml-2 ".concat(t?"text-[#3b3f5c]":"dark:text-white-light"),children:(0,l.jsx)("span",{children:s})})]})};(0,_.z)();var I=(0,i.memo)(w),N=s(33227);const k=e=>{let{userRoles:t,slug:s}=e;const{t:r}=(0,g.$G)();return(0,l.jsx)(l.Fragment,{children:!(0,N.iU)(t)&&"case-studies-from-mastermind-members"===s&&(0,l.jsx)("div",{className:"mt-12 flex max-w-[780px] items-center justify-center",children:(0,l.jsxs)("div",{className:"mb-8 text-center text-gray-300",children:[(0,l.jsx)("h2",{className:"mb-3 text-2xl  font-bold",children:r("Don't miss out on the next call:")}),(0,l.jsx)("a",{href:"https://deal.ai/joinmastermind",target:"_blank",className:"mt-4 block w-full rounded-md bg-gradient-to-r from-blue-500 to-purple-500 py-2 px-4 text-center text-white shadow transition duration-300 ease-in-out",rel:"noreferrer",children:r("Join the exclusive AI Mastermind")})]})})})};(0,_.z)();var O=(0,i.memo)(k);function S(e){let{slug:t}=e;const{t:s}=(0,g.$G)();return(0,l.jsx)(l.Fragment,{children:"agency-in-a-box"===t&&(0,l.jsx)("div",{className:"mt-12 flex max-w-[780px] items-center justify-center",children:(0,l.jsxs)("div",{className:"mb-8 text-center text-gray-300",children:[(0,l.jsx)("h2",{className:"mb-3 text-2xl font-bold",children:s("Start an agency today:")}),(0,l.jsx)("a",{href:"https://deal.ai/agencyinabox",target:"_blank",className:"mt-4 block w-full rounded-md bg-gradient-to-r from-blue-500 to-purple-500 py-2 px-4 text-center text-white shadow transition duration-300 ease-in-out",rel:"noreferrer",children:s("Get your own Agency-In-A-Box")})]})})})}(0,_.z)();var G=(0,i.memo)(S),E=s(3);var D=e=>{let{IS_LIGHT_MODE:t,allowedRoles:s,academySlug:r,showDisclaimer:n=!1,isAcademy:o=!0}=e;var c;const v=m.Mx,b=(0,x.useRouter)(),y=b.pathname.includes("/academy/lesson")?"/academy/lessons?a=".concat(r):"/business-buying-academy",g=(0,h.useDispatch)();var _;(0,i.useEffect)((()=>{g((0,f.Iw)((null===M||void 0===M?void 0:M.title)||r))}),[g]);const{data:w,isLoading:N,refetch:k}=null!==(_=v.useGetProfileQuery())&&void 0!==_?_:{},S=b.query.courseSlug,D=(null===w||void 0===w||null===(c=w.user)||void 0===c?void 0:c.roles)||[],{data:M}=(o?u.YN:E.B).useGetAcademyBySlugQuery({slug:r},{skip:!D.some((e=>s.includes(e)))}),L=(0,i.useMemo)((()=>M&&S?M.courses.find((e=>e.slug===S)):null),[M,S]);return L?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(a(),{children:[(0,l.jsx)("title",{children:(null===M||void 0===M?void 0:M.title)||r}),t&&(0,l.jsx)("style",{children:"\n          body {\n            background-color: white !important;\n          }\n        "})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(I,{IS_LIGHT_MODE:t,link:y,title:L.title}),(0,l.jsxs)("div",{className:"pt-5",children:[(0,l.jsx)(j,{IS_LIGHT_MODE:t,title:L.title}),(0,l.jsx)("hr",{className:"mb-5 overflow-y-auto whitespace-nowrap border border-[#ebedf2] font-semibold dark:border-[#191e3a] sm:flex"}),(0,l.jsx)(d,{course:L,IS_LIGHT_MODE:t})]}),n&&(0,l.jsx)(p.Z,{IS_LIGHT_MODE:t}),(0,l.jsx)(O,{userRoles:D,slug:L.slug}),(0,l.jsx)(G,{slug:L.slug})]})]}):(0,l.jsx)(l.Fragment,{})}},48074:function(e,t,s){"use strict";s.d(t,{Z:function(){return d}});var l=s(28598),r=s(14214),a=s(45053);s(82684);var i=e=>{let{vimeoId:t,title:s,isOpen:r,onRequestClose:a}=e;return r?(0,l.jsx)("div",{id:"overlay",className:"fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center z-50",onClick:e=>{"overlay"===e.target.id&&a()},children:(0,l.jsx)("div",{className:"relative p-4 w-full",style:{aspectRatio:"16 / 9"},children:(0,l.jsx)("div",{onClick:e=>e.stopPropagation(),className:"w-full h-full max-w-2xl max-h-2xl mx-auto",children:t&&(0,l.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(t,"?badge=0&autopause=0&player_id=0&app_id=58479"),frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",className:"w-full h-full",title:s})})})}):null},n=s(58541),o=s(34376),c=s(81385);(0,s(1766).z)();var d=e=>{let{vimeoId:t,title:s,isOpen:d,IS_LIGHT_MODE:u,onRequestClose:m,forceHideDisclaimer:x}=e;const{t:h}=(0,c.$G)(),f=(0,o.useRouter)(),p=!x&&!f.pathname.includes("/academy/lesson");return a.tq?(0,l.jsx)(i,{title:s,vimeoId:t,isOpen:d,onRequestClose:m}
1):(0,l.jsx)(r.Z,{IS_LIGHT_MODE:u,isOpen:d,onRequestClose:m,children:(0,l.jsxs)("div",{className:"grid grid-rows-[auto_1fr] h-full",children:[(0,l.jsx)("div",{children:(0,l.jsx)("h2",{className:"mb-4 text-lg font-bold ".concat(u?"text-[#3b3f5c]":"text-white"," "),children:s})}),(0,l.jsxs)("div",{className:"h-full grid grid-rows-[auto_1fr] overflow-hidden",children:[(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)("div",{style:{padding:"52.59% 0 0 0",position:"relative"},children:t&&(0,l.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(t,"?badge=0&autopause=0&player_id=0&app_id=58479"),frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},title:s})}),(0,l.jsx)("script",{src:"https://player.vimeo.com/api/player.js"})]}),p&&(0,l.jsx)(n.Z,{IS_LIGHT_MODE:u})]}),(0,l.jsx)("div",{className:"mt-4 flex justify-end",children:(0,l.jsx)("button",{type:"button",onClick:m,className:"mr-2 rounded border border-primary px-4 py-2 text-primary",children:h("Cancel")})})]})})}},58541:function(e,t,s){"use strict";var l=s(28598),r=s(82684),a=s(81385);const i=e=>{let{IS_LIGHT_MODE:t}=e;const{t:s}=(0,a.$G)();return(0,l.jsx)("div",{className:"pt-5 max-w-[780px] text-justify",children:(0,l.jsx)("span",{className:"text-sm font-bold ".concat(t?"text-[#3b3f5c]":"dark:text-white-light"," "),children:s("DISCLAIMER: The information provided on this page and in the video above is for educational and informational purposes only. It is not intended to be legal, financial, or any other type of professional advice.")})})};(0,s(1766).z)();t.Z=(0,r.memo)(i)},9187:function(e,t,s){"use strict";s.r(t);var l=s(28598),r=s(38178),a=s(68015),i=(s(82684),s(34376)),n=s(68832);t.default=()=>{var e,t;const s=(0,i.useRouter)(),o=(null===(e=s.query)||void 0===e?void 0:e.a)?null===(t=s.query)||void 0===t?void 0:t.a:"ai-marketing-academy";let c=r.OR,d="aima";"ai-marketing-academy"===o?(c=r.OR,d="aima"):"ai-software-academy"===o?(c=r.tY,d="aisa"):"ai-ecommerce-academy"===o&&(c=r.Y1,d="aicom");const u=(0,a.Z)((()=>(0,l.jsx)(n.Z,{allowedRoles:c,academySlug:o})),c,d);return(0,l.jsx)(u,{})}}},function(e){e.O(0,[68015,49774,92888,40179],(function(){return t=25782,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.