PageSourceSearch

https://www.examxpertz.com/_next/static/chunks/app/my-learning/page-9ce354b29e338e94.js

js examxpertz.com collected 2026-10-02 01:31:09 UTC 60,224 bytes, 16 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7771],{58757:function(e,l,t){Promise.resolve().then(t.bind(t,90779))},87592:function(e,l,t){"use strict";t.d(l,{Z:function(){return s}});/**
2 * @license lucide-react v0.383.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let s=(0,t(78030).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},63550:function(e,l,t){"use strict";t.d(l,{Z:function(){return s}});/**
7 * @license lucide-react v0.383.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */let s=(0,t(78030).Z)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},30357:function(e,l,t){"use strict";t.d(l,{Z:function(){return s}});/**
12 * @license lucide-react v0.383.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let s=(0,t(78030).Z)("Slash",[["path",{d:"M22 2 2 22",key:"y4kqgn"}]])},91946:function(e,l,t){"use strict";t.d(l,{Z:function(){return r}});var s=t(57437),a=t(2265),i=t(87138),n=t(58985),o=t(30357),d=t(78262),r=e=>{let{props:l}=e,{segments:t,isActive:r,transformString:c}=(0,d.Z)();return(0,s.jsx)(n.aG,{className:"my-2 md:my-4",children:(0,s.jsxs)(n.Jb,{children:[(0,s.jsx)(n.gN,{children:(0,s.jsx)(n.At,{children:(0,s.jsx)(i.default,{href:"/",children:"Home"})})}),null==t?void 0:t.map((e,l)=>{let d="/".concat(t.slice(0,l+1).join("/"));return(0,s.jsxs)(a.Fragment,{children:[(0,s.jsx)(n.bg,{children:(0,s.jsx)(o.Z,{})}),(0,s.jsx)(n.gN,{children:r(d)?(0,s.jsx)("span",{className:"d-flex align-items-center text-secondary_black xl:hover:text-primary",children:c(e)}):(0,s.jsx)(n.At,{className:"d-flex align-items-center xl:hover:text-primary",children:(0,s.jsx)(i.default,{href:d,children:c(e)})})})]},l)})]})})}},78262:function(e,l,t){"use strict";var s=t(16463);l.Z=()=>{let e=(0,s.usePathname)(),l=e.split("/").filter(e=>e),t=l.length;return{segments:l,isActive:l=>e===l,transformString:e=>e.replace(/-/g," ").split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),pathname:e,count:t}}},90779:function(e,l,t){"use strict";t.d(l,{default:function(){return Y}});var s=t(57437),a=t(2265),i=t(47573),n=e=>{let{props:l,setView:t,view:a,setIsOpen:n,router:o}=e;return(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row justify-between pt-0 sm:pt-4 md:pt-4 xl:pt-6 pb-4",children:[(0,s.jsx)("h2",{className:"font-semibold xs:text-h5 text-h4 xs:mb-4 sm:ml-[.625rem] tracking-normal",children:null==l?void 0:l.title}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(i.z,{className:"xs:w-1/2 !h-[2.375rem] hover:!scale-100 text-sm font-semibold",size:"sm",onClick:()=>n(!0),children:null==l?void 0:l.instruction}),(0,s.jsx)(i.z,{className:"xs:w-1/2 !h-[2.375rem] hover:!scale-100 text-sm font-semibold ".concat("pkgList"===a?"bg-black text-white":""),variant:"outline",size:"sm",onClick:()=>t("pkgList"),children:null==l?void 0:l.programsBtn}),(0,s.jsx)(i.z,{className:"xs:w-1/2 !h-[2.375rem] hover:!scale-100 text-sm font-semibold ".concat("dailyGoals"===a?"bg-black text-white":""),variant:"outline",size:"sm",onClick:()=>{o.refresh(),t("dailyGoals")},children:null==l?void 0:l.goalBtn})]})]})})};t(67289);var o=t(88506),d=t(66648),r=t(28371),c=t.n(r),m=e=>{let{latestWatchedDate:l,startDate:t,watchedDates:s}=e,a=s.filter((e,l,t)=>l===t.findIndex(l=>l.watched_at.split(" ")[0]===e.watched_at.split(" ")[0])),i=new Date().toDateString(),n=new Date,o=new Date(n);o.setDate(n.getDate()-1);let d=new Date(t),r=new Date(l),c=new Date(r);c.setDate(r.getDate()+1);let m=new Date(r),u=new Date(d);u.setDate(d.getDate()+1);let h=(e,l)=>{let t=[],s=new Date(e.getFullYear(),e.getMonth(),e.getDate()),a=new Date(l.getFullYear(),l.getMonth(),l.getDate());for(;s<=a;)t.push(new Date(s).toDateString()),s.setDate(s.getDate()+1);return t},x=Array.from(new Set([...h(u,m),...h(c,o)])).filter(e=>e!==i),v=a.map(e=>new Date(e.watched_at.split(" ")[0]).toDateString());return{filteredMissedDates:x.filter(e=>!v.includes(e))}},u=e=>{let{days:l,isWatched:t,resetChallenge:a,latestWatchedDate:i,startDate:n,watchedDates:d}=e,{filteredMissedDates:r}=m({latestWatchedDate:i,startDate:n,watchedDates:d});return(0,s.jsx)("div",{className:"grid gap-3 lg:gap-5 grid-flow-col-dense",children:null==l?void 0:l.map((e,l)=>{let a=r.includes(e.date.toDateString());return(0,s.jsx)("div",{className:"min-w-[3.5rem] h-[5rem] md:h-[4.6875rem] rounded-lg md:rounded-xl border border-Gallery bg-Wild_Sand",children:(0,s.jsxs)("div",{className:"items-center justify-center flex flex-col h-full relative",children:[(0,s.jsx)("p",{className:"text-lg mb-1 text-black font-semibold",children:e.day}),(0,s.jsx)("p",{className:"text-black text-sm",children:e.dayOfWeek}),(0,s.jsxs)("div",{className:"absolute right-[.3125rem] md:left-0 bottom-[-12px]",children:[t&&(0,s.jsx)(o.Z,{className:" rounded-full",icon:"greentick",size:"22px"}),a&&(0,s.jsx)(o.Z,{className:" rounded-full",icon:"crossbtn",size:"22px"})]})]})},l)})})},h=t(74300),x=t(59103),v=t(87138),g=e=>{var l,t,s;let{props:a}=e,i=null==a?void 0:null===(l=a.goals)||void 0===l?void 0:l.start_date,n=function(e,l){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:21,s=new Date(l||e),a=[];if(l){let s=Math.floor((new Date(l).setHours(0,0,0,0)-new Date(e).setHours(0,0,0,0))/864e5)+1;for(let l=0;l<s;l++){let t=new Date(e);t.setDate(t.getDate()+l);let s=t.toLocaleDateString("en-US",{weekday:"short"}),i=t.getDate().toString().padStart(2,"0"),n=t.toLocaleDateString("en-US",{month:"short"});a.push({day:i,dayOfWeek:s,month:n,date:t})}for(let e=1;e<=t;e++){let t=new Date(l);t.setDate(t.getDate()+e);let s=t.toLocaleDateString("en-US",{weekday:"short"}),i=t.getDate().toString().padStart(2,"0"),n=t.toLocaleDateString("en-US",{month:"short"});a.push({day:i,dayOfWeek:s,month:n,date:t})}}else for(let e=0;e<t;e++){let l=new Date(s);l.setDate(s.getDate()+e);let t=l.toLocaleDateString("en-US",{weekday:"short"}),i=l.getDate().toString().padStart(2,"0"),n=l.toLocaleDateString("en-US",{month:"short"});a.push({day:i,dayOfWeek:t,month:n,date:l})}return a}(i,null==a?void 0:null===(t=a.goals)||void 0===t?void 0:t.restart_date),o=new Date(i).toLocaleDateString("en-GB",{year:"numeric",month:"long",day:"numeric"}),d=(e=>{if(!Array.isArray(e))return!1;let l=null==e?void 0:e.filter(e=>1===e.is_watched).map(e=>new Date(e.watched_at));if((null==l?void 0:l.length)===0)return!1;let t=new Date(Math.max(...l)),s=0;for(let l=0;l<n.length;l++){let a=new Date(i);a.setDate(a.getDate()+l);let n=null==e?void 0:e.map(e=>new Date(e.watched_at).toDateString()===a.toDateString());if(n)t.setTime(new Date(n.watched_at).getTime()),s=0;else{let e=Math.floor((a-t)/864e5);if(e>1?s+=e-1:s+=1,s>=2)return!0}}return!1})(null==a?void 0:null===(s=a.goals)||void 0===s?void 0:s.watch_log);return{days:n,formattedDate:o,resetChallenge:d,startDate:i}},p=e=>{var l,t,n,r,m,p,f,b,y,j;let{props:_,setIsDnd:w,selectedContent:N,setSelectedContent:D,setorderId:k,isDnd:S}=e,{days:M,formattedDate:C,resetChallenge:T,startDate:E}=g({props:_}),[L,Z]=(0,h.Z)({align:"start",dragFree:!0}),[z,P]=(0,a.useState)(!0),[A,G]=(0,a.useState)(!0);(0,a.useCallback)(()=>{Z&&Z.scrollPrev()},[Z]),(0,a.useCallback)(()=>{Z&&Z.scrollNext()},[Z]);let F=(0,a.useCallback)(()=>{Z&&(P(0===Z.selectedScrollSnap()),G(Z.selectedScrollSnap()===Z.scrollSnapList().length-1))},[Z]);return(0,a.useEffect)(()=>{Z&&(F(),Z.on("select",F),Z.on("reInit",F))},[Z,F]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"p-3 md:p-6 md:pb-3 rounded-2xl md:rounded-3xl bg-white ",children:(0,s.jsx)(x.UQ,{type:"single",collapsible:!0,defaultValue:"item-1",children:(0,s.jsxs)(x.Qd,{className:"border-0 ",value:"item-1",children:[(0,s.jsx)(x.o4,{iconClass:"max-w-6 md:w-max ",className:"py-0 hover:no-underline relative  bg-white pb-1",children:(0,s.jsx)("div",{className:"flex gap-2 items-center md:border-0 mb-0",children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex xs:gap-[.375rem] gap-3 items-center",children:[(0,s.jsx)("div",{style:{backgroundColor:"".concat(null==_?void 0:_.colour_code)},className:"grid place-content-center h-[2.75rem] w-[2.75rem] rounded-full min-w-11",children:(0,s.jsx)(d.default,{src:null==_?void 0:_.logo_url,height:"22",width:"22",alt:null==_?void 0:_.name})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"mb-1 font-semibold text-base md:text-h6 xl:text-h5 text-start tracking-normal",children:null==_?void 0:_.name}),(0,s.jsxs)("div",{className:"flex items-center gap-[.125rem]",children:[(0,s.jsx)(o.Z,{icon:"gray-pin",size:"17px"}),(0,s.jsxs)("p",{className:"text-fuscous_gray text-sm font-medium",children:[null==_?void 0:_.count," Sessions"]})]})]})]})})})}),(0,s.jsx)(x.vF,{className:"pb-0 sm:pb-3",children:(0,s.jsxs)("div",{className:"xs:p-[.625rem] xs:pb-[1.125rem] mt-[.625rem] md:mt-4 px-3 py-4 border border-Gallery rounded-lg overflow-hidden bg-white relative z-10",children:[(0,s.jsxs)("div",{className:"flex justify-between ".concat((null===(l=_.goals)||void 0===l?void 0:l.daily_watch_count)?"mb-3 lg:mb-5":"items-center "," md:items-center flex-col md:flex-row"),children:[(0,s.jsxs)("div",{className:"flex gap-2 items-center ".concat((null===(t=_.goals)||void 0===t?void 0:t.daily_watch_count)?"border-b border-Gallery":"w-full"," md:border-0 pb-[.625rem] md:pb-0"),children:[(0,s.jsx)("div",{className:"hidden sm:block",children:(null===(n=_.goals)||void 0===n?void 0:n.daily_watch_count)?(0,s.jsx)(v.default,{href:{pathname:"/my-learning/".concat(null==_?void 0:_.name.replace(/\s+/g,"_").toLowerCase(),"/dailyWatch"),query:{module_id:null==_?void 0:_.module_id,order_id:null==_?void 0:_.order_id}},children:(0,s.jsx)(d.default,{src:"/images/home/audio/play.png",height:"40",width:"40",alt:"play-btn"})}):(0,s.jsx)(d.default,{src:"/images/home/audio/media.png",height:"40",width:"40",alt:"play-btn"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-[#A5A5A5] font-medium mb-[.125rem]",children:"Daily Watch"}),(0,s.jsx)("p",{className:"text-Woodsmoke text-sm sm:text-base font-medium md:font-semibold",children:null==_?void 0:_.daily_watch_content_title})]})]}),(null===(r=_.goals)||void 0===r?void 0:r.daily_watch_count)>=1&&(0,s.jsxs)("div",{className:"flex  justify-between md:justify-normal gap-2 items-center pt-[.625rem] md:p-0 shrink-0",children:[(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"text-green_haze font-medium bg-apple_green text-sm  sm:py-[2px] px-[.625rem] flex items-center rounded-full border border-white_ice",children:[(0,s.jsx)("span",{className:"font-semibold text-lg",children:null==_?void 0:null===(p=_.goals)||void 0===p?void 0:null===(m=p.daily_watch_count)||void 0===m?void 0:m.toString().padStart(2,"0")}),(0,s.jsx)("span",{className:"mx-1",children:"/"}),(0,s.jsx)("span",{children:" 21"}),"\xa0Days"]})}),(0,s.jsx)("button",{className:"text-[#A5A5A5] md:text-black font-medium md:font-semibold text-sm sm:text-base xl:text-lg flex items-center gap-1 md:gap-3",children:C})]}),!(null===(f=_.goals)||void 0===f?void 0:f.daily_watch_count)&&(0,s.jsx)("div",{className:"block sm mt-[0.125rem] xs:w-full",children:(0,s.jsxs)(i.z,{className:"xs:w-full min-h-[2.875rem] md:min-
16h-[2.375rem] text-base px-4 font-medium hover:xl:scale-100",variant:"secondary",size:"sm",onClick:()=>{w(!0),D(_),k(null==_?void 0:_.order_id)},disabled:N===_&&S,children:[(0,s.jsx)(o.Z,{className:"me-4",icon:"play_circle",size:"20px"}),"Daily Audio Session"]})})]}),(null===(b=_.goals)||void 0===b?void 0:b.daily_watch_count)>=1&&(0,s.jsx)("div",{className:c().embla,children:(0,s.jsx)("div",{className:c().embla__viewport,ref:L,children:(0,s.jsx)("div",{className:c().embla__container,children:null==M?void 0:M.map((e,l)=>{var t,a,i,n,o;let d=null==_?void 0:null===(a=_.goals)||void 0===a?void 0:null===(t=a.watch_log)||void 0===t?void 0:t.some(l=>new Date(l.watched_at).toDateString()===(null==e?void 0:e.date.toDateString())),r=null==_?void 0:null===(n=_.goals)||void 0===n?void 0:null===(i=n.watch_log)||void 0===i?void 0:i.reduce((e,l)=>{let t=new Date(l.watched_at);return!e||t>e?t:e},null);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:c().embla__slide,children:(0,s.jsx)(u,{days:[e],isWatched:d,resetChallenge:T,latestWatchedDate:r,startDate:E,watchedDates:null==_?void 0:null===(o=_.goals)||void 0===o?void 0:o.watch_log})},l)})})})})}),(null===(y=_.goals)||void 0===y?void 0:y.daily_watch_count)>=1&&(0,s.jsx)("div",{className:"block sm:hidden mt-[1.125rem] text-center",children:(0,s.jsx)(v.default,{href:{pathname:"/my-learning/".concat(null==_?void 0:_.name.replace(/\s+/g,"_").toLowerCase(),"/dailyWatch"),query:{module_id:null==_?void 0:_.module_id,order_id:null==_?void 0:_.order_id}},children:(0,s.jsxs)(i.z,{className:"w-full h-[2.875rem] font-medium",variant:"secondary",children:[(0,s.jsx)(o.Z,{className:"me-4",icon:"play_circle",size:"20px"}),"Daily Audio Session"]})})})]})})]})})}),(null==_?void 0:null===(j=_.goals)||void 0===j?void 0:j.missing_days_count)>=2&&(0,s.jsx)("div",{className:"bg-fair_pink relative border border-bittersweet pt-[1.9rem] ps-3 pb-2 pe-6 rounded-2xl -mt-6 z-[-99] ",children:(0,s.jsx)("div",{className:"flex justify-between items-center",children:(0,s.jsxs)("div",{className:"flex gap-[.125rem] items-center",children:[(0,s.jsx)(o.Z,{className:"*:stroke-none",icon:"danger-error",size:"18px"}),(0,s.jsx)("span",{className:"text-xs sm:text-sm md:text-sm text-bittersweet",children:"Oops! You’ve missed multiple days!"})]})})})]})},f=t(88901),b=t.n(f),y=()=>({generateDaysArray:function(e,l){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:21,s=new Date(l||e),a=[];if(l){let s=Math.floor((new Date(l).setHours(0,0,0,0)-new Date(e).setHours(0,0,0,0))/864e5)+1;for(let l=0;l<s;l++){let t=new Date(e);t.setDate(t.getDate()+l);let s=t.toLocaleDateString("en-US",{weekday:"short"}),i=t.getDate().toString().padStart(2,"0"),n=t.toLocaleDateString("en-US",{month:"short"});a.push({day:i,dayOfWeek:s,month:n,date:t})}for(let e=1;e<=t;e++){let t=new Date(l);t.setDate(t.getDate()+e);let s=t.toLocaleDateString("en-US",{weekday:"short"}),i=t.getDate().toString().padStart(2,"0"),n=t.toLocaleDateString("en-US",{month:"short"});a.push({day:i,dayOfWeek:s,month:n,date:t})}}else for(let e=0;e<t;e++){let l=new Date(s);l.setDate(s.getDate()+e);let t=l.toLocaleDateString("en-US",{weekday:"short"}),i=l.getDate().toString().padStart(2,"0"),n=l.toLocaleDateString("en-US",{month:"short"});a.push({day:i,dayOfWeek:t,month:n,date:l})}return a},checkChallengeReset:e=>{if(!e||0===e.length)return!1;let l=[...e].sort((e,l)=>new Date(e.watched_at)-new Date(l.watched_at)),t=!1;for(let e=1;e<l.length;e++){let s=new Date(l[e-1].watched_at);if(Math.ceil((new Date(l[e].watched_at)-s)/864e5)>7){t=!0;break}}return t}});t(70277);var j=e=>{let{props:l,orderId:t,setIsDnd:n,selectedContent:r,setSelectedContent:c,setorderId:m,rearrangedData:g,isDnd:p}=e,{generateDaysArray:f,checkChallengeReset:j}=y(),[_,w]=(0,h.Z)({align:"start",slidesToScroll:10}),[N,D]=(0,a.useState)(!0),[k,S]=(0,a.useState)(!0);(0,a.useCallback)(()=>{w&&w.scrollPrev()},[w]),(0,a.useCallback)(()=>{w&&w.scrollNext()},[w]);let M=(0,a.useCallback)(()=>{w&&(D(0===w.selectedScrollSnap()),S(w.selectedScrollSnap()===w.scrollSnapList().length-1))},[w]);return(0,a.useEffect)(()=>{w&&(M(),w.on("select",M),w.on("reInit",M))},[w,M]),(0,s.jsx)("div",{className:"p-3 md:p-6 md:pb-3 rounded-2xl md:rounded-3xl bg-white ",children:(0,s.jsxs)(x.UQ,{className:"hover:no-underline ",type:"single",collapsible:!0,children:[(0,s.jsx)("div",{className:"pb-3 md:pb-4 hover:no-underline ",children:(0,s.jsx)("div",{className:"flex gap-2 items-center md:border-0",children:(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex xs:gap-[.375rem] gap-3 items-center",children:[(0,s.jsx)("div",{className:"grid place-content-center h-[2.75rem] w-[2.75rem] rounded-full min-w-11 bg-[#D9D3FF]",children:(0,s.jsx)(d.default,{src:"/images/gift.png",alt:null==l?void 0:l.name,width:26,height:26})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"mb-1 font-semibold text-base md:text-h6 xl:text-h5 tracking-normal",children:null==l?void 0:l.name}),(0,s.jsx)("div",{className:"flex items-center gap-[.125rem]"})]})]})})})}),null==l?void 0:l.sections.filter(e=>(null==e?void 0:e.category_id)===1).map((e,a)=>{var h,y,w,N,D,k,S,M,C,T;let E=null==e?void 0:null===(h=e.goals)||void 0===h?void 0:h.start_date,L=f(E,null==e?void 0:null===(y=e.goals)||void 0===y?void 0:y.restart_date);if(!((null==e?void 0:null===(w=e.goals)||void 0===w?void 0:w.daily_watch_count)>=1))return(0,s.jsx)(x.UQ,{className:"hover:no-underline ",type:"single",collapsible:!0,defaultValue:(null==g?void 0:g.length)==1?"item-0":null,children:(0,s.jsx)(x.Qd,{className:"border-0 mb-4 ",value:"item-".concat(a),children:(0,s.jsxs)("div",{className:"xs:p-[.625rem] px-[.625rem] md:px-3 py-3 md:py-4 relative border border-Gallery bg-white rounded-lg overflow-hidden z-10 drop-shadow-sm",children:[(0,s.jsx)(x.o4,{className:"py-0 md:py-1 hover:no-underline ",children:(0,s.jsxs)("h5",{className:"text-Woodsmoke font-semibold text-base text-start tracking-normal",children:[(0,s.jsxs)("span",{className:"pe-1",children:[a+1,"."]}
16),null==e?void 0:e.name]})}),(0,s.jsx)(x.vF,{className:"pb-0 ",children:(0,s.jsxs)("div",{className:"flex items-center justify-between md:items-center flex-col md:flex-row md:pt-5 border-t border-Gallery mt-3 md:mt-4",children:[(0,s.jsxs)("div",{className:" w-full flex gap-2 items-center md:border-0 pb-[.625rem] md:pb-0 pt-[.625rem] md:pt-0",children:[(0,s.jsx)(d.default,{src:"/images/home/audio/media.png",height:"40",width:"40",alt:"play-btn"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-silver font-medium mb-[.125rem]",children:"Daily Watch"}),(0,s.jsx)("p",{className:"text-Woodsmoke text-sm sm:text-base font-medium md:font-semibold",children:null==e?void 0:e.daily_watch_content_title})]})]}),(0,s.jsx)("div",{className:"xs:w-full",children:(0,s.jsxs)(i.z,{className:"xs:w-full min-h-[2.875rem] md:min-h-[2.375rem] text-base px-4 font-medium hover:xl:scale-100",variant:"secondary",size:"sm",onClick:()=>{n(!0),c(e),m(null==l?void 0:l.order_id)},disabled:r===e&&p,children:[(0,s.jsx)(o.Z,{className:"me-[.625rem]",icon:"play_circle",size:"20px"}),"Daily Audio Session"]})})]})})]})},a)});{let l=j(null!==(T=null==e?void 0:null===(N=e.goals)||void 0===N?void 0:N.watch_log)&&void 0!==T?T:[]),n=new Date(null==e?void 0:null===(D=e.goals)||void 0===D?void 0:D.start_date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});return(0,s.jsx)(x.UQ,{className:"hover:no-underline",type:"single",collapsible:!0,defaultValue:(null==g?void 0:g.length)==1?"item-0":null,children:(0,s.jsxs)(x.Qd,{className:"border-0 mb-4 ",value:"item-".concat(a),children:[(0,s.jsxs)("div",{className:"xs:p-[.625rem]  px-[.625rem] md:px-3 py-3 md:py-4 relative border border-Gallery bg-white  rounded-lg overflow-hidden z-10 ".concat((null==e?void 0:null===(k=e.goals)||void 0===k?void 0:k.missing_days_count)>=2?"shadow-custom hover:shadow-normal transition-all duration-150 ":"hover:shadow-normal transition-all duration-150"),children:[(0,s.jsx)(x.o4,{iconClass:"max-w-6 md:w-max",className:"py-0 md:py-1 hover:no-underline",children:(0,s.jsxs)("h5",{className:"text-Woodsmoke font-semibold text-base text-start tracking-normal",children:[(0,s.jsxs)("span",{className:"pe-1",children:[a+1,"."]}),null==e?void 0:e.name]})}),(0,s.jsxs)(x.vF,{className:"pt-0 pb-2 sm:pb-3",children:[(0,s.jsxs)("div",{className:"flex justify-between mb-[.625rem] lg:mb-5 md:items-center flex-col md:flex-row md:pt-5 border-t border-Gallery mt-3 md:mt-4",children:[(0,s.jsxs)("div",{className:"hidden sm:flex gap-2 items-center md:border-0 pb-[.625rem] md:pb-0 pt-[.625rem] md:pt-0",children:[(0,s.jsx)(v.default,{href:{pathname:"/my-learning/".concat(null==e?void 0:e.name.replace(/\s+/g,"_").toLowerCase(),"/dailyWatch"),query:{module_id:null==e?void 0:e.module_id,order_id:(null==e?void 0:e.order_id)||t}},children:(0,s.jsx)(d.default,{src:"/images/home/audio/play.png",height:"40",width:"40",alt:"play-btn"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-silver font-medium mb-[.125rem]",children:"Daily Watch"}),(0,s.jsx)("p",{className:"text-Woodsmoke font-semibold",children:null==e?void 0:e.daily_watch_content_title})]})]}),(0,s.jsxs)("div",{className:"flex justify-between md:justify-normal gap-2 items-center pt-[.625rem] sm:pt-0",children:[(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"text-green_haze font-medium bg-apple_green text-sm sm:py-[.3125rem] px-[.625rem] flex items-center rounded-full border border-white_ice",children:[(0,s.jsx)("span",{className:"font-semibold text-lg",children:null==e?void 0:null===(M=e.goals)||void 0===M?void 0:null===(S=M.daily_watch_count)||void 0===S?void 0:S.toString().padStart(2,"0")}),(0,s.jsx)("span",{className:"mx-1",children:"/"}),(0,s.jsx)("span",{children:"21"}),"\xa0Days"]})}),(0,s.jsx)("button",{className:"text-silver md:text-black font-medium md:font-semibold text-sm sm:text-base xl:text-lg flex items-center gap-1 md:gap-3",children:n})]})]}),(0,s.jsxs)("div",{className:b().embla,children:[(0,s.jsx)("div",{className:b().embla__viewport,ref:_,children:(0,s.jsx)("div",{className:"".concat(b().embla__container),children:null==L?void 0:L.map((t,a)=>{var i,n,o,d,r;let c=null==e?void 0:null===(n=e.goals)||void 0===n?void 0:null===(i=n.watch_log)||void 0===i?void 0:i.some(e=>{var l;
16return new Date(e.watched_at).toDateString()===(null===(l=L[a])||void 0===l?void 0:l.date.toDateString())}),m=null==e?void 0:null===(d=e.goals)||void 0===d?void 0:null===(o=d.watch_log)||void 0===o?void 0:o.reduce((e,l)=>{let t=new Date(l.watched_at);return!e||t>e?t:e},null);return(0,s.jsx)("div",{className:b().embla__slide,children:(0,s.jsx)(u,{days:[t],isWatched:c,resetChallenge:l,latestWatchedDate:m,startDate:E,watchedDates:null==e?void 0:null===(r=e.goals)||void 0===r?void 0:r.watch_log})},a)})})}),(0,s.jsx)("div",{className:"block sm:hidden mt-[1.125rem] text-center",children:(0,s.jsx)(v.default,{href:{pathname:"/my-learning/".concat(null==e?void 0:e.name.replace(/\s+/g,"_").toLowerCase(),"/dailyWatch"),query:{module_id:null==e?void 0:e.module_id,order_id:(null==e?void 0:e.order_id)||t}},children:(0,s.jsxs)(i.z,{className:"w-full h-[2.875rem] font-medium",variant:"secondary",children:[(0,s.jsx)(o.Z,{className:"me-4",icon:"play_circle",size:"20px"}),"Daily Audio Session"]})})})]})]})]}),(null==e?void 0:null===(C=e.goals)||void 0===C?void 0:C.missing_days_count)>=2&&(0,s.jsx)("div",{className:"bg-fair_pink relative z-[1] border border-bittersweet pt-6 ps-3 pb-2 pe-5 rounded-2xl -mt-5",children:(0,s.jsx)("div",{className:"flex justify-between items-center",children:(0,s.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,s.jsx)(o.Z,{icon:"danger-error",size:"18px"}),(0,s.jsx)("span",{className:"text-xs sm:text-sm text-bittersweet",children:"Oops! You’ve missed multiple days!"})]})})})]},a)})}})]})})},_=t(90657),w=t(74389),N=t(962),D=t(16463),k=t(99441),S=e=>{let{displayData:l,readInstruction:t}=e,s=null==l?void 0:l.sort((e,l)=>{let t=void 0!==e.sections,s=void 0!==l.sections;return t&&!s?1:!t&&s?-1:0});s.some(e=>{var l;return(null===(l=e.goals)||void 0===l?void 0:l.daily_watch_count)||e.sections&&e.sections.some(e=>{var l;return null===(l=e.goals)||void 0===l?void 0:l.daily_watch_count})});let[i,n]=(0,a.useState)(!1),[o,d]=(0,a.useState)(!1),[r,c]=(0,a.useState)(!1),[m,u]=(0,a.useState)(""),[h,x]=(0,a.useState)(""),[v,g]=(0,a.useState)(!1),[p,f]=(0,a.useState)(""),[b,y]=(0,a.useState)(""),[j,_]=(0,a.useState)(!1),[w,D]=(0,a.useState)(!1),[S,M]=(0,a.useState)(""),[C,T]=(0,a.useState)(!1),[E,L]=(0,k.FV)(N.V),[Z,z]=(0,a.useState)(!!t);return(0,a.useEffect)(()=>{!0==v?setTimeout(()=>{T(!1)},300):T(!1)},[v]),(0,a.useEffect)(()=>{let e=!1,l=!1,t=0,a=0,i=0,o="",d=0;null==s||s.forEach(s=>{var n,r,c,m,u,h;(null==s?void 0:s.sections)?null==s||null===(h=s.sections)||void 0===h||h.forEach(s=>{var n,r,c,m,u;M(s),(null==s?void 0:null===(n=s.goals)||void 0===n?void 0:n.missing_days_count)!==1&&(null==s?void 0:null===(r=s.goals)||void 0===r?void 0:r.missing_days_count)>=2?(t+=1,i+=1,e=!0,l=!1,o=null==s?void 0:s.name,d+=1):(null==s?void 0:null===(c=s.goals)||void 0===c?void 0:c.missing_days_count)===1&&(t+=1,a+=1,l=!0,e=!1,o=null==s?void 0:s.name,d+=1,x(null==s?void 0:null===(u=s.goals)||void 0===u?void 0:null===(m=u.watch_log)||void 0===m?void 0:m.reduce((e,l)=>{let t=new Date(l.watched_at);return!e||t>e?t:e},null)))}):(M(s),(null==s?void 0:null===(n=s.goals)||void 0===n?void 0:n.missing_days_count)!==1&&(null==s?void 0:null===(r=s.goals)||void 0===r?void 0:r.missing_days_count)>=2?(t+=1,i+=1,e=!0,l=!1,o=null==s?void 0:s.name,d+=1):(null==s?void 0:null===(c=s.goals)||void 0===c?void 0:c.missing_days_count)===1&&(t+=1,a+=1,l=!0,e=!1,o=null==s?void 0:s.name,d+=1,x(null==s?void 0:null===(u=s.goals)||void 0===u?void 0:null===(m=u.watch_log)||void 0===m?void 0:m.reduce((e,l)=>{let t=new Date(l.watched_at);return!e||t>e?t:e},null))))}),e&&i>=a&&(d>1?u("You have missed some modules or task"):u(o),n(!0)),l&&i<a&&(d>1?u("You have missed some modules or task"):u(o),c(!0))},[]),{isOpen:i,setIsopen:n,isNotified:o,setIsnotified:d,isMissed:r,alertMessage:m,setAlertMessage:u,latestWatchedDate:h,handleClose:()=>{n(!1),c(!1)},showAudioModal:v,setShowAudioModal:g,closeModal:()=>{g(!1)},orderId:p,setorderId:f,selectedContent:b,setSelectedContent:y,rearrangedData:s,isDnd:j,setIsDnd:_,handleIsDndClose:()=>{_(!1)},isHeadphone:w,setIsHeadphone:D,handleIsHeadphoneClose:()=>{D(!1)},dailWatchCount:S,isExiting:C,setIsExiting:T,setRefreshNotification:L,showInstructionsModal:Z,closeInstru
16ctionModal:()=>{z(!1)}}},M=t(68280),C=t(35292),T=t(73599);t(78824);var E=t(82138),L=e=>{let{displayData:l,readInstruction:t,order_Id:a,pathname:i}=e,{isOpen:n,setIsopen:d,isNotified:r,setIsnotified:c,isMissed:m,alertMessage:u,setAlertMessage:h,latestWatchedDate:x,handleClose:v,showAudioModal:g,setShowAudioModal:f,closeModal:b,orderId:y,setorderId:N,selectedContent:D,setSelectedContent:k,rearrangedData:L,isDnd:Z,setIsDnd:z,handleIsDndClose:P,isHeadphone:A,setIsHeadphone:G,handleIsHeadphoneClose:F,dailWatchCount:W,isExiting:I,setIsExiting:B,setRefreshNotification:U,showInstructionsModal:Q,closeInstructionModal:V}=S({displayData:l,readInstruction:t});return(0,s.jsx)("section",{children:(0,s.jsxs)("div",{children:[null==L?void 0:L.map((e,l)=>{var t;return(0,s.jsx)("div",{className:"mb-4",children:(null==e?void 0:null===(t=e.sections)||void 0===t?void 0:t.length)?(0,s.jsx)(j,{props:e,orderId:null==e?void 0:e.order_id,setIsDnd:z,selectedContent:D,setSelectedContent:k,setorderId:N,rearrangedData:L,showAudioModal:g,isDnd:Z}):(0,s.jsx)(p,{props:e,setIsDnd:z,selectedContent:D,setSelectedContent:k,setorderId:N,showAudioModal:g,isDnd:Z})},l)}),(0,s.jsx)(_.Z,{isDialogOpen:n,closeDialog:v,props:u,selectedContent:D,dailWatchCount:W,setRefreshNotification:U}),(0,s.jsx)(w.Z,{isDialogOpen:m,closeDialog:v,latestWatchedDate:x,props:u}),g&&(0,s.jsxs)("div",{className:"md:bg-white md:py-4 xl:border-0 xl:shadow-normal fixed bottom-0 left-0 z-50 w-full h-full md:h-auto bg-[#fffbec]  ".concat(I?"slideDownaudio":"slideUpaudio"),children:[(0,s.jsx)("div",{className:"container max-w-full bg-white block md:hidden",children:(0,s.jsx)("div",{className:"bg-white border-b border-Gallery ",children:(0,s.jsxs)("button",{className:"text-sm font-medium flex gap-[.5625rem] items-center py-[1.125rem]",onClick:()=>f(!1),children:[(0,s.jsx)(o.Z,{icon:"back-btn",size:"28.8px"}),(0,s.jsx)("span",{className:"text-h6 font-semibold block text-start",children:"Mind Mastery"})]})})}),(0,s.jsx)("div",{className:"container h-full overflow-auto ",children:(0,s.jsx)(M.Z,{closeDialog:()=>{B(!0),setTimeout(b,300)},props:D,setSelectedContent:k,setIsAlert:d,orderId:y,setIsnotified:c,setRefreshNotification:U,setIsDnd:z})})]}),(0,s.jsx)(C.Z,{isDialogOpen:Z,closeDialog:P,setIsHeadphone:G}),(0,s.jsx)(T.Z,{isDialogOpen:A,closeDialog:F,setShowAudioModal:f}),t&&(0,s.jsx)(E.Z,{isDialogOpen:Q,closeDialog:V,readInstruction:t,order_Id:a,pathname:i})]})})};let Z={videoBannerData:{title:"Present in the Moment",buttonText:"Daily Meditation"},myLearningsStripsData:{title:"My Learnings",programsBtn:"Programs",goalBtn:"Goals",instruction:"User Guide"},myLearningTabs:{title:"Memmory Master",buttons:["Sessions","Daily Watch","Bonus Programs"]},packagesDetail:[{packageName:"JEE Victory Vault",sessions:"13 Sessions",percentage:"46",icon:"Jee",subTitle:"Mind Mastery Audio Series",watchedDays:"03",totalWatchDays:"21",date:"March 2024"},{packageName:"NEET Mastery",sessions:"13 Sessions",percentage:"60",icon:"Neet",subTitle:"Mind Mastery Audio Series",watchedDays:"03",totalWatchDays:"21",date:"March 2024"}],mindMastery:{packageName:"The Mind Mastery",sessions:"13 Sessions",navigateTo:"questionnaire",icon:"Bundle",date:"March 2024",programsList:[{programName:"Memory Master Module",percentage:"46",sessions:"7 Sessions",description:"This module takes your memory to lorem",subTitle:"Mind Mastery Audio Series",dailywatchTitle:"Engage with our daily audio series designed for consistent practice.",watchedDays:"03",totalWatchDays:"21",sessionsList:[{sessionName:"The incredible power of education",completed:!0},{sessionName:"Unlock Your Potential",completed:!0},{sessionName:"The Roots of Subpar Performance",completed:!1},{sessionName:"Memory",completed:!1},{sessionName:"Memory Techniques",completed:!1},{sessionName:"Mind Mastery Audio Series",completed:!1},{sessionName:"Champions Mindset Metamorphosis",completed:!1}]},{programName:"Study Spark Series",percentage:"60",sessions:"7 Sessions",description:"This module takes your lorem",subTitle:"Mind Mastery Audio Series",watchedDays:"03",totalWatchDays:"21"},{programName:"Digital Discipline Mastery",percentage:"20",sessions:"7 Sessions",de
16scription:"This module takes your memory to lorem",subTitle:"Mind Mastery Audio Series",watchedDays:"03",totalWatchDays:"21"}]}};var z=t(71518),P=()=>{let[e,l]=(0,a.useState)(null),[t,s]=(0,a.useState)(!1),[i,n]=(0,a.useState)(!1),[o,d]=(0,a.useState)(!1),[r,c]=(0,a.useState)(),m=(0,D.usePathname)();(0,a.useEffect)(()=>{!0==i?setTimeout(()=>{d(!1)},300):d(!1)},[i]);let u=(0,D.useRouter)();return{selectedContent:e,showInstructionsModal:t,showAudioModal:i,handleButtonClick:e=>{c(null==e?void 0:e.addon_id),(null==e?void 0:e.content_type)==="video"&&u.push("/bonus-program?id=".concat(null==e?void 0:e.addon_id)),l(e),s("text"===e.content_type),n("audio"===e.content_type)},closeModal:()=>{l(null),s(!1),n(!1)},router:u,isExiting:o,setIsExiting:d,bonusId:r,setShowAudioModal:n,pathname:m}},A=e=>{let{props:l,order_id:t}=e,{selectedContent:a,showInstructionsModal:i,showAudioModal:n,handleButtonClick:d,closeModal:r,router:c,isExiting:m,setIsExiting:u,bonusId:h,setShowAudioModal:g,pathname:p}=P({});return(0,s.jsxs)(s.Fragment,{children:[null==l?void 0:l.filter(e=>null==e?void 0:e.category_id).map((e,l)=>{var a;return(0,s.jsx)(v.default,{href:{pathname:"/my-learning/".concat(null==e?void 0:e.name.replace(/\s+/g,"_").toLowerCase(),"/sessions"),query:{module_id:null==e?void 0:e.module_id,order_id:(null==e?void 0:e.order_id)||t}},title:"Learnings",className:"xs:border-b xs:border-t sm:border border-seashell sm:rounded-lg  hover:shadow-lily_shadow_hover transition-all duration-150",children:(0,s.jsx)("div",{className:"xs:p-3 p-4",children:(0,s.jsxs)("div",{className:"flex flex-row sm:flex-col justify-between sm:justify-normal",children:[(0,s.jsxs)("div",{className:"flex justify-center items-center progressbar-rounded sm:mb-3 w-[2.875rem] h-[2.875rem] rounded-full relative order-2 sm:order-1",children:[(0,s.jsxs)("svg",{viewBox:"0 0 250 250",className:"circular-progress",children:[(0,s.jsx)("circle",{className:"bg"}),(0,s.jsx)("circle",{className:"fg"})]}),(0,s.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 font-semibold",children:(0,s.jsx)(z.Z,{progress:null==e?void 0:e.completion_percentage})})]}),(0,s.jsxs)("div",{className:"order-1 sm:order-2",children:[(0,s.jsxs)("div",{className:"sm:mb-3",children:[(0,s.jsx)("h6",{className:"font-semibold mb-[.375rem] tracking-normal",children:null==e?void 0:e.name}),(0,s.jsx)("span",{className:"text-sm text-Tuatara xs:hidden",children:e.description})]}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-[.125rem] flex-1",children:[(0,s.jsx)(o.Z,{icon:"gray-pin",size:"18px"}),(0,s.jsxs)("p",{className:"text-fuscous_gray text-sm font-medium",children:[null!==(a=null==e?void 0:e.session)&&void 0!==a?a:null==e?void 0:e.count," Sessions"]})]}),(0,s.jsx)("div",{className:"xs:hidden",children:(0,s.jsx)(o.Z,{icon:"arrow-gray",size:"12px"})})]})]})]})})},l)}),(0,s.jsx)("div",{"data-widget":"Bonus Programs",className:"col-span-full",children:l.filter(e=>!(null==e?void 0:e.category_id)).length>0&&(0,s.jsxs)("div",{className:"mt-5",children:[(0,s.jsx)("h2",{className:"font-semibold text-base md:text-h6 xl:text-h5 tracking-normal xs:mb-3 mb-6",children:"Bonus Programs"}),(0,s.jsx)(x.UQ,{type:"single",collapsible:!0,className:"flex flex-col xs:gap-2 gap-4 ",children:l.filter(e=>!(null==e?void 0:e.category_id)).map((e,l)=>{var t;return(0,s.jsxs)(x.Qd,{className:"border border-Gallery p-4 bg-gray-100 rounded-lg hover:shadow-normal transition-all duration-150",value:"program-".concat(l),children:[(0,s.jsx)(x.o4,{iconClass:"xs:w-[1.375rem] sm:text-[#ADADAD]",className:"hover:no-underline p-0",children:(0,s.jsx)("h6",{className:"xs:text-sm font-medium tracking-normal text-start ",children:null==e?void 0:e.name})}),(0,s.jsx)(x.vF,{className:"pb-0",children:(0,s.jsx)(x.UQ,{className:"grid lg:grid-cols-3 lg:gap-4 mt-4",type:"single",collapsible:!0,children:null==e?void 0:null===(t=e.add_on_contents)||void 0===t?void 0:t.map((e,t)=>(0,s.jsx)(x.Qd,{className:"border-0 [&:nth-last-child(1)_.wrap-item]:border-b-0 [&:nth-last-child(1)_.wrap-item]:pb-0 [&:nth-last-child(1)_.wrap-item]:lg:pb-4  ",value:"content-".concat(l,"-").concat(t),children:(0,s.jsxs)("div",{className:"wrap-item h-full justify-between cursor-pointer lg:bg-Wild_Sand border-b border-Gallery py-3 lg:p-4 lg:rounded-lg flex gap-2 items-center",onClick:()=>d(e),children:[(0,s.jsxs)("div",{className:"flex items-center gap-1 md:gap-2",children:[(0,s.jsx)("div",{className:"lg:w-[2.0625rem] lg:h-[2.0625rem] h-6 w-6 bg-Gallery  rounded-full lg:bg-white flex items-center justify-center shrink-0",children:(0,s.jsx)(o.Z,{className:"max-w-3 lg:max-w-max",icon:(null==e?void 0:e.content_type)==="audio"?"audio":(null==e?void 0:e.content_type)==="video"?"audio":(null==e?void 0:e.content_type)==="text"?"message-text":(null==e?void 0:e.content_type)==="assesment"?"assesment":void 0,size:"16px"})}),(0,s.jsx)("p",{className:" sm:font-medium xs:text-sm text-Tuatara text-start",children:null==e?void 0:e.content_title})]}),(0,s.jsx)("div",{class:"opacity-50",children:(0,s.jsx)(o.Z,{icon:"arrow-dark",size:"11.31px"})})]})},t))})})]},l)})})]})}),i&&(null==a?void 0:a.content_type)==="text"&&(0,s.jsx)(E.Z,{isDialogOpen:i,closeDialog:r,props:a}),n&&(null==a?void 0:a.content_type)==="audio"&&(0,s.jsxs)("div",{className:"md:bg-white md:py-4 xl:border-0 xl:shadow-normal fixed bottom-0 left-0 z-50 w-full h-full md:h-auto bg-[#fffbec]  ".concat(m?"slideDownaudio":"slideUpaudio"),children:[(0,s.jsx)("div",{className:"container max-w-full bg-white block md:hidden",children:(0,s.jsx)("div",{className:"bg-white border-b border-Gallery ",children:(0,s.jsxs)("button",{className:"text-sm font-medium flex gap-[.5625rem] items-center py-[1.125rem]",onClick:()=>g(!1),children:[(0,s.jsx)(o.Z,{icon:"back-btn",size:"28.8px"}),(0,s.jsx)("span",{className:"text-h6 font-semibold block text-start",children:"Mind Mastery"})]})})}),(0,s.jsx)("div",{className:"container h-full overflow-auto ",children:(0,s.jsx)(M.Z,{closeDialog:()=>{u(!0),setTimeout(r,300)},props:a,bonusId:h,pathname:p})})]})]})},G=e=>{let{displayData:l}=e,t=null==l?void 0:l.filter(e=>{var l;return(null==e?void 0:e.sections)&&(null==e?void 0:null===(l=e.sections)||void 0===l?void 0:l.length)>0});return(0,s.jsx)("div",{className:"bg-white p-3 sm:p-6 rounded-lg",children:null==l?void 0:l.map((e,a)=>{var n,o,r,c,m,u,h;return(null==e?void 0:null===(n=e.sections)||void 0===n?void 0:n.length)>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-center xs:mb-3 mb-6 flex-wrap",children:[(0,s.jsxs)("div",{className:"flex xs:gap-[.375rem] gap-3 items-center flex-1",children:[(0,s.jsx)("div",{className:"grid place-content-center h-[2.75rem] w-[2.75rem] rounded-full min-w-11 bg-[#D9D3FF]",children:(0,s.jsx)(d.default,{src:"/images/gift.png",alt:"Benefit icon",width:22,height:22})}),(0,s.jsx)("div",{children:(0,s.jsx)("h2",{className:"mb-1 font-semibold text-base md:text-h6 xl:text-h5 tracking-normal ",children:null==e?void 0:e.name})})]}),(null==e?void 0:null===(o=e.sections)||void 0===o?void 0:o.length)>
160&&(null==e?void 0:e.isQuestionnaireComplete)===!1&&(0,s.jsx)(v.default,{href:"/questionnaire?package_id=".concat(null!==(h=null==t?void 0:null===(r=t[0])||void 0===r?void 0:r.package_id)&&void 0!==h?h:null==l?void 0:null===(m=l.filter(e=>null==e?void 0:e.package_id))||void 0===m?void 0:null===(c=m[0])||void 0===c?void 0:c.package_id,"&order_id=").concat(null==t?void 0:null===(u=t[0])||void 0===u?void 0:u.order_id),children:(0,s.jsx)(i.z,{className:"h-[2.25rem] md:h-[2.375rem] font-semibold",size:"sm",children:"Quick Survey"})})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 xl:grid-cols-3 gap-3",children:(0,s.jsx)(A,{props:null==e?void 0:e.sections,order_id:null==e?void 0:e.order_id})})]},a)})})},F=e=>{let{displayData:l}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"grid gap-4 mb-4",children:null==l?void 0:l.map((e,l)=>{var t;return(null==e?void 0:null===(t=e.sections)||void 0===t?void 0:t.length)?null:(0,s.jsx)("div",{children:(0,s.jsx)(v.default,{className:"block",href:{pathname:"/my-learning/".concat(null==e?void 0:e.name.replace(/\s+/g,"_").toLowerCase(),"/sessions"),query:{module_id:null==e?void 0:e.module_id,order_id:null==e?void 0:e.order_id}},children:(0,s.jsxs)("div",{className:"flex justify-between bg-white xs:px-[.875rem] xs:py-[.875rem] p-6 items-center rounded-lg",children:[(0,s.jsxs)("div",{className:"flex xs:gap-[.375rem] gap-3 items-center",children:[(0,s.jsx)("div",{style:{backgroundColor:"".concat(null==e?void 0:e.colour_code)},className:"h-11 w-11 rounded-full grid place-content-center min-w-11",children:(0,s.jsx)(d.default,{src:null==e?void 0:e.logo_url,alt:"Benefit icon",width:28,height:28,className:"xs:w-[1.375rem] xs:h-[1.375rem]"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"mb-1 font-semibold text-base md:text-h6 xl:text-h5 tracking-normal",children:null==e?void 0:e.name}),(0,s.jsxs)("div",{className:"flex items-center gap-[.125rem]",children:[(0,s.jsx)(o.Z,{icon:"gray-pin",size:"17px"}),(0,s.jsxs)("p",{className:"text-fuscous_gray text-sm font-medium",children:[null==e?void 0:e.count," Sessions"]})]})]})]}),(0,s.jsx)("div",{children:(0,s.jsx)(z.Z,{progress:null==e?void 0:e.completion_percentage})})]})})},null==e?void 0:e.order_id)})}),(0,s.jsx)(G,{displayData:l})]})},W=e=>{let{MyLearningProgram:l}=e,t=e=>{var l;return(null==e?void 0:null===(l=e.package_modules)||void 0===l?void 0:l.filter(e=>1===e.category_id))||[]};return{displayData:(()=>{var e,s,a,i,n,o,d,r,c,m,u,h;let x=[],v=[],g=[];if(null==l||null===(e=l.data)||void 0===e||e.forEach(e=>{if(null==e?void 0:e.package_id){if("Genius Mastery Package"===e.name)v.push(...t(e)),g.push({name:null==e?void 0:e.name,sections:[...v],order_id:null==e?void 0:e.order_id,package_id:null==e?void 0:e.package_id,module_id:null==e?void 0:e.module_id,logo_url:null==e?void 0:e.logo_url,isQuestionnaireComplete:null==e?void 0:e.isQuestionnaireComplete});else if("Backlog Buster Program"===e.name){let l=Array.isArray(null==e?void 0:e.package_addons)?e.package_addons:[];g.push({name:null==e?void 0:e.name,sections:[...t(e),...l],logo_url:e.logo_url,order_id:null==e?void 0:e.order_id,package_id:null==e?void 0:e.package_id,module_id:null==e?void 0:e.module_id,isQuestionnaireComplete:null==e?void 0:e.isQuestionnaireComplete})}else if("JEE & 6 Module Package"===e.name||"NEET & 6 Module Package"===e.name){var l,s,a,i,n,o,d;g.push({name:"JEE & 6 Module Package"===e.name?"JEE Victory Vault: The Success Path":"NEET & 6 Module Package"===e.name?"NEET Mastery: The SureSuccess Program":e.name,logo_url:e.logo_url,count:null==e?void 0:null===(l=e.package_modules.find(e=>1!==e.category_id))||void 0===l?void 0:l.session,colour_code:null==e?void 0:e.colour_code,completion_percentage:null==e?void 0:null===(s=e.package_modules.find(e=>1!==e.category_id))||void 0===s?void 0:s.completion_percentage,order_id:null==e?void 0:e.order_id,package_id:null==e?void 0:e.package_id,module_id:null==e?void 0:null===(a=e.package_modules.find(e=>1!==e.category_id))||void 0===a?void 0:a.module_id,goals:null==e?void 0:null===(i=e.package_modules.find(e=>1!==e.category_id))||void 0===i?void 0:i.goals,daily_watch_content_title:null==e?void 0:null===(n=e.package_modules.find(e=>1!==e.category_id))||void 0===n?void 0:n.daily_watch_content_title,daily_watch_content_id:null==e?void 0:null===(o=e.package_modules.find(e=>1!==e.category_id))||void 0===o?void 0:o.daily_watch_content_id,daily_watch_content_url:null==e?void 0:null===(d=e.package_modules.find(e=>1!==e.category_id))||void 0===d?void 0:d.daily_watch_content_url});let r=Array.isArray(null==e?void 0:e.package_addons)?e.package_addons:[];v.push(...t(e),...r)}}else x.push(e)}),!x.length>0&&g.some(e=>"JEE & 6 Module Package"===e.name||"NEET & 6 Module Package"===e.name||"NEET Mastery: The SureSuccess Program"===e.name||"JEE Victory Vault: The Success Path"===e.name)&&g.push({name:"Genius Mastery Package",sections:[...v],order_id:null==l?void 0:null===(a=l.data)||void 0===a?void 0:null===(s=a[0])||void 0===s?void 0:s.order_id,logo_url:"/images/iconImage.png",isQuestionnaire
16Complete:null==l?void 0:null===(n=l.data)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.isQuestionnaireComplete}),x.length>0&&g.some(e=>"JEE & 6 Module Package"!==e.name||"NEET & 6 Module Package"!==e.name||"NEET Mastery: The SureSuccess Program"!==e.name||"JEE Victory Vault: The Success Path"!==e.name)&&g.push({name:"Genius Mastery Package",sections:[...v],order_id:null==l?void 0:null===(d=l.data)||void 0===d?void 0:null===(o=d[0])||void 0===o?void 0:o.order_id,package_id:(null==l?void 0:null===(r=l.data)||void 0===r?void 0:r.find(e=>e.package_id))?null==l?void 0:null===(m=l.data)||void 0===m?void 0:null===(c=m.find(e=>e.package_id))||void 0===c?void 0:c.package_id:null==l?void 0:null===(u=l.data)||void 0===u?void 0:u.map(e=>e.package_id),logo_url:"/images/iconImage.png",isQuestionnaireComplete:(null==l?void 0:null===(h=l.data)||void 0===h?void 0:h.some(e=>null==e?void 0:e.isQuestionnaireComplete))||!1}),x.some(e=>1===e.category_id)){let e=x.find(e=>1===e.category_id);g.push({name:"Genius Mastery Package",sections:[...x],logo_url:null==e?void 0:e.logo_url,order_id:null==e?void 0:e.order_id,package_id:null==e?void 0:e.package_id,module_id:null==e?void 0:e.module_id})}if(x.some(e=>1!==e.category_id)){let e=x.find(e=>1!==e.category_id);g.push({name:null==e?void 0:e.name,logo_url:null==e?void 0:e.logo_url,count:e.count,order_id:null==e?void 0:e.order_id,package_id:null==e?void 0:e.package_id,module_id:null==e?void 0:e.module_id,colour_code:null==e?void 0:e.colour_code,completion_percentage:null==e?void 0:e.completion_percentage,daily_watch_content_title:null==e?void 0:e.daily_watch_content_title,daily_watch_content_id:null==e?void 0:e.daily_watch_content_id,daily_watch_content_url:null==e?void 0:e.daily_watch_content_url,goals:null==e?void 0:e.goals})}return g})()}};t(32710);var I=e=>{var l,t,i,n;let{myLearningData:o,MyLearningProgram:d,view:r,InstructionData:c,isOpen:m,handleClose:u}=e,h=(0,D.useRouter)(),x=(0,D.usePathname)();(0,a.useEffect)(()=>(document.body.style.backgroundColor="#F6F6F6",h.refresh(),()=>{document.body.style.backgroundColor=""}),[]);let{displayData:v}=W({MyLearningProgram:d});return(0,s.jsx)("section",{className:"pb-12",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)(E.Z,{isDialogOpen:m,closeDialog:u,Instruction:c,isMylearning:!0}),"pkgList"===r&&(0,s.jsx)(F,{displayData:v}),"dailyGoals"===r&&(0,s.jsx)(L,{props:o.packagesDetail,displayData:v,readInstruction:null==d?void 0:null===(t=d.data)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.is_show_read_instruction,order_Id:null==d?void 0:null===(n=d.data)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.order_id,pathname:x})]})})},B=t(91946),U=t(10657),Q=t(46351),V=t(30725),O=e=>{let{MyLearningVideo:l}=e,[t,i]=(0,a.useState)(!1),[n,o]=(0,a.useState)(!0),r=()=>{i(!1)};return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"container",children:(0,s.jsx)(B.Z,{})}),(0,s.jsx)("section",{className:"pb-6",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"player-wrapper relative pb-[90%] md:pb-[50%] xl:pb-[27.838%] w-full rounded-2xl overflow-hidden bg-black",children:[(0,s.jsx)(V.Z,{onClick:()=>{i(!0)},url:null==l?void 0:l.file,className:"video-bg object-cover [&>video]:cursor-pointer",playing:n,playsinline:!0,muted:!0,loop:!0}),(0,s.jsx)("div",{className:"absolute w-full px-4 sm:px-5 lg:px-7 xl:px-8 xxl:ps-14 xxl:pe-12 bottom-[1.625rem] lg:bottom-[42px] pointer-events-none",children:(0,s.jsx)("div",{className:"flex justify-between items-end",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(U.C,{className:"xs:opacity-70 xxxl:h-[1.5625rem] bg-white z-[1] rounded-full mb-2 lg:mb-4",children:(0,s.jsx)("p",{className:"text-sm font-semibold text-Woodsmoke",children:null==l?void 0:l.title})}),(0,s.jsx)("h1",{className:"text-fs32 md:text-[2.25rem] font-bold text-white max-w-[20.625rem] leading-[1.2]",children:null==l?void 0:l.description})]})})}),(0,s.jsx)("button",{className:"cursor-grabbing absolute z-[1] right-9 bottom-9",onClick:()=>{o(e=>!e)},children:(0,s.jsx)(d.default,{src:n?"/images/pause.svg":"/images/play.svg",width:"45",height:"45",alt:n?"pause-btn":"play-btn"})})]})})}),(0,s.jsx)(Q.Z,{videoUrl:null==l?void 0:l.file,onClose:r,isDialogOpen:t,closeDialog:r,fileThumbn
16ail:null==l?void 0:l.file_thumbnail})]})};t(81117),t(20635);var R=e=>{let{myLearningData:l,MyLearningProgram:t,MyLearningVideo:i,InstructionData:o}=e,d=(0,D.useRouter)(),[r,c]=(0,a.useState)("pkgList"),[m,u]=(0,a.useState)(!1);return(0,s.jsxs)("section",{children:[(0,s.jsx)(O,{MyLearningVideo:i}),(0,s.jsx)(n,{props:null==l?void 0:l.myLearningsStripsData,setView:c,view:r,setIsOpen:u,router:d}),(0,s.jsx)(I,{myLearningData:l,MyLearningProgram:t,view:r,InstructionData:o,isOpen:m,handleClose:()=>{u(!1)}})]})},q=t(93814);t(99745);var J=t(50049);t(3851);var Y=e=>{var l;let{purchaseHistory:t,MyLearningVideo:i,MyLearningProgram:n,InstructionData:o}=e,{lenisStart:d}=(0,J.u)();return(0,a.useEffect)(()=>(document.body.style.backgroundColor="#F6F6F6",d(),()=>{document.body.style.backgroundColor=""}),[]),(0,s.jsx)("section",{children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"flex justify-center items-center flex-col ",children:(null==t?void 0:null===(l=t.data)||void 0===l?void 0:l.length)===0?(0,s.jsx)("div",{className:"mb-[4.375rem]",children:(0,s.jsx)(q.default,{imageurl:"/images/empty/noCourses.svg"})}):(0,s.jsx)("div",{className:"w-full",children:(0,s.jsx)(R,{myLearningData:Z,MyLearningProgram:n,MyLearningVideo:i,InstructionData:o})})})})})}},71518:function(e,l,t){"use strict";var s=t(57437),a=t(2265);l.Z=e=>{let{progress:l,showPercentage:t=!0}=e,[i,n]=(0,a.useState)(0),[o,d]=(0,a.useState)("#00FF00"),r=Math.floor(l);return(0,a.useEffect)(()=>{n(440-440*r/100),r<20?d("#FF0000"):r>=20&&r<50?d("#FFFF00"):r>=50&&d("#00FF00")},[r]),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("svg",{className:"svg",width:"46",height:"46",viewBox:"0 0 160 160",children:[(0,s.jsx)("circle",{className:"background",cx:"80",cy:"80",r:"70"}),(0,s.jsx)("circle",{className:"progress",cx:"80",cy:"80",r:"70",strokeDasharray:"440",strokeDashoffset:i,stroke:o})]}),(0,s.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 font-semibold text-[.6875rem]",children:t?"".concat(r,"%"):r})]})}},93814:function(e,l,t){"use strict";t.d(l,{default:function(){return r}});var s=t(57437),a=t(66648);t(2265);var i=t(87138),n=t(47573),o=e=>{let{imageurl:l}=e;return{matchedImage:[{image:"/images/empty/emptyCart.svg",title:"Nothing to check out here just yet!",subTitle:"Explore our amazing programs!"},{image:"/images/empty/noCourses.svg",title:"Oops! You don't have any courses yet ",subTitle:"Dont worry, its easy get started!"},{image:"/images/empty/noHistory.svg",title:"Sorry, No Order History",subTitle:"No history of transaction made on Exam Xpertz"},{image:"/images/empty/noNotification.svg",title:"",subTitle:""},{image:"/images/empty/noOrders.svg",title:"There are no Orders Yet",subTitle:"No programs ordered yet. Choose your programs now"},{image:"/images/empty/further.png",title:"",subTitle:""},{image:"/images/empty/further_qr.svg",title:"",subTitle:""},{image:"/images/empty/noReviews.svg",title:"",subTitle:""},{image:"/images/empty/orderPlaced.svg",title:"Order Successful!",subTitle:"Your transaction has been completed successfully. We have emailed you details of your order"},{image:"/images/empty/noPurchase.svg",title:"Sorry, No Purchase History",subTitle:"No purchase history exists for this account on Exam Xpertz"},{image:"/images/empty/faild.svg",title:"Payment Failed",subTitle:"It seems we have not received money"}].find(e=>(null==e?void 0:e.image)===l)}},d=t(16463),r=e=>{let{imageurl:l,setActivePanelSub:t}=e,{matchedImage:r}=o({imageurl:l}),c=(0,d.usePathname)();return(0,s.jsx)("section",{className:"my-auto ",children:(0,s.jsx)("div",{className:"grid place-items-center ",children:(0,s.jsx)("div",{className:"max-w-[31.25rem] grid place-content-center ".concat("/my-learning"==c?"h-screen -mt-[4.375rem]":"py-6 md:py-10"),children:(0,s.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,s.jsx)("div",{className:"max-w-[10.875rem] w-full",children:(0,s.jsx)("figure",{className:"relative pb-[100%]",children:(0,s.jsx)(a.default,{src:null==r?void 0:r.image,className:"object-cover",fill:!0,alt:"empty cart"})})}),(0,s.jsxs)("div",{className:"xs:mb-6 mb-8",children:[(0,s.jsx)("p",{className:"font-semibold xs:text-h5 text-h4 xs:mb-2 mb-4",children:r?null==r?void 0:r.title:""}),(0,s.jsx)("span",{className:"text-Tuatara",children:r?null==r?void 0:r.subTitle:""})]}),(0,s.jsx)(i.default,{className:"".concat((0,n.d)({variant:"secondary"})," w-max px-[1.875rem]"),href:"/images/empty/orderPlaced.svg"===l?"/my-learning":"/",children:(0,s.jsx)("button",{onClick:()=>{"/images/empty/orderPlaced.svg"!==l&&"/images/empty/faild.svg"!==l&&t(null)},children:"/images/empty/orderPlaced.svg"===l?"Go to My Learning":"/images/empty/faild.svg"===l?"Try Again":"Explore Programs"})})]})})})})}},99745:function(e,l,t){"use strict";var s=t(57437),a=t(66648),i=t(87138);t(2265),l.Z=()=>(0,s.jsx)("div",{className:"md:bg-porcelain rounded-2xl max-w-[42.9375rem] min-h-[19.0625rem]  md:flex flex-col justify-end m-auto md:border border-mystic ",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row  md:gap-[3.25rem] flex-grow ",children:[(0,s.jsx)("div",{className:"hidden md:block max-w-[12.625rem] w-full ml-[4.75rem] mt-auto",children:(0,s.jsx)("figure",{className:"relative pb-[142%]",children:(0,s.jsx)(a.default,{src:"/images/empty/further.png",fill:!0,alt:"Mobile-app"})})}),(0,s.jsx)("div",{className:"w-full border border-mystic  rounded-2xl bg-porcelain pt-8 block md:hidden",children:(0,s.jsx)("div",{className:"  max-w-[12.625rem] w-full mx-auto md:ml-[4.7
165rem] mt-auto ",children:(0,s.jsx)("figure",{className:"relative pb-[142%]",children:(0,s.jsx)(a.default,{src:"/images/empty/further.png",fill:!0,alt:"Mobile-app"})})})}),(0,s.jsxs)("div",{className:"pt-8 pb-12 md:pt-9 md:pb-[1.1875rem] md:pe-10 text-center md:text-start",children:[(0,s.jsxs)("div",{className:"mb-7",children:[(0,s.jsx)("h6",{className:"mb-6 md:mb-[.625rem] text-h4 font-semibold text-secondary_black tracking-normal",children:"You can also start learning  with our mobile application"}),(0,s.jsx)("span",{className:"text-Tuatara xs:font-medium",children:"Download the app and start learning"})]}),(0,s.jsx)("div",{className:"bg-white border border-mystic rounded hidden md:block",children:(0,s.jsxs)("div",{className:"flex px-2 py-[.375rem] items-center gap-5 ",children:[(0,s.jsx)(a.default,{src:"/images/empty/further_qr.svg",alt:"QrCode",height:"106",width:"106"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"block text-black mb-[.3125rem] text-[.9375rem]",children:"Scan to download for "}),(0,s.jsx)("span",{className:"text-lg font-semibold text-black",children:"Android"})]})]})}),(0,s.jsx)("div",{className:"flex justify-center gap-5 md:hidden",children:(0,s.jsx)(i.default,{href:"https://play.google.com/store/apps/details?id=com.examexpert",children:(0,s.jsx)(a.default,{src:"/images/empty/play.jpg",width:"170",height:"50",alt:"download app"})})})]})]})})},81117:function(e,l,t){"use strict";t.d(l,{Z:function(){return r}});var s=t(57437),a=t(66648),i=t(2265);t(47573);var n=t(3851),o=e=>{let{notificationsList:l,isReadNotification:t,setIsReadNotification:s}=e,[a,o]=(0,i.useState)(l||[]),d=(0,i.useRef)(null),{data:r}=(0,n.B4)(t?null:"/v1/user-notification/mark-as-read");return(0,i.useEffect)(()=>{(null==l?void 0:l.data)&&(o(null==l?void 0:l.data),(null==r?void 0:r.success)&&s(!0))},[l]),{notifications:a,dialogRef:d}},d=t(50049),r=e=>{let{isDialogOpen:l,closeDialog:t,notificationsList:i,isReadNotification:n,setIsReadNotification:r,onMouseEnter:c,onMouseLeave:m}=e,{notifications:u,dialogRef:h}=o({isDialogOpen:l,closeDialog:t,notificationsList:i,isReadNotification:n,setIsReadNotification:r}),x=(null==u?void 0:u.length)===0,{lenisStop:v,lenisStart:g}=(0,d.u)();return l&&(0,s.jsx)("div",{"data-lenis-prevent":!0,className:"absolute h-screen-minus-100 xl:h-auto overflow-hidden w-full xl:w-[28.25rem] right-0 top-[4.0625rem]  xl:shadow-sm xl:rounded-lg",ref:h,onMouseEnter:c,onMouseLeave:m,children:(0,s.jsxs)("div",{className:"p-5 bg-white items-start w-full pb-24 xl:pb-5 h-full",children:[(0,s.jsx)("div",{className:"mb-5 w-full",children:(0,s.jsx)("div",{className:"flex justify-between",children:(0,s.jsx)("p",{className:"font-semibold text-lg",children:"Notifications"})})}),(0,s.jsx)("div",{className:"flex flex-col gap-5 h-full overflow-auto",children:(0,s.jsx)("div",{className:"h-screen xl:h-[60vh]  ".concat(x?"place-content-center grid":""),children:x?(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)(a.default,{src:"/images/empty/noNotification.svg",alt:"No notifications",className:"mx-auto mt-[-60px]",width:150,height:150}),(0,s.jsx)("p",{className:"text-center text-dove_gray",children:"No notifications available."})]}):(null==u?void 0:u.length)>0&&(null==u?void 0:u.map((e,l)=>{var t;return(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)("p",{className:"text-dove_gray font-semibold text-sm mb-[.875rem]",children:[" ",null==e?void 0:e.label]}),null==e?void 0:null===(t=e.notifications)||void 0===t?void 0:t.map((e,l)=>(0,s.jsx)("div",{className:"py-3 border-b border-mercury  last:border-0 ",children:(0,s.jsxs)("div",{className:"flex flex-row gap-[.875rem]",children:[(0,s.jsx)("div",{style:{backgroundColor:null==e?void 0:e.colour_code},className:"grid place-content-center h-[2.2012rem] w-[2.2012rem] rounded-full min-w-[2.2012rem] ",children:(0,s.jsx)(a.default,{src:null==e?void 0:e.logo,alt:"Benefit icon",width:21,height:21})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h5",{className:"text-sm font-semibold mb-2 tracking-normal",children:null==e?void 0:e.module}),(0,s.jsx)("p",{className:"text-sm mb-2",children:null==e?void 0:e.body}),(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"text-gray text-xs font-medium",children:null==e?void 0:e.time_ago})})]})]})},null==e?void 0:e.id))]},l)}))})})]})})}},46351:function(e,l,t){"use strict";var s=t(57437);t(2265);var a=t(2748),i=t(60838);l.Z=e=>{let{videoUrl:l,onClose:t,isDialogOpen:n,closeDialog:o,fileThumbn
16ail:d}=e;return(0,s.jsx)("div",{children:(0,s.jsx)(a.Vq,{open:n,children:(0,s.jsxs)(a.cZ,{className:"video-dialog fixed inset-0 !max-w-full flex items-center justify-center p-0 bg-black !rounded-none",children:[(0,s.jsx)(a.fK,{className:"absolute top-4 right-4 z-10",children:(0,s.jsx)("button",{className:"ms-auto mb-4 w-8 h-8 rounded-full grid place-items-center bg-Gallery xl:hover:scale-105 xl:hover:shadow-sm transition-all duration-150 ease-in-out",type:"button",onClick:o,children:(0,s.jsxs)("svg",{width:"12px",height:"12px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",children:[(0,s.jsx)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,s.jsx)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("g",{id:"SVGRepo_iconCarrier",children:(0,s.jsx)("g",{id:"Menu / Close_LG",children:(0,s.jsx)("path",{id:"Vector",d:"M21 21L12 12M12 12L3 3M12 12L21.0001 3M12 12L3 21.0001",stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})}),(0,s.jsx)("div",{className:"flex  items-center justify-center w-full h-full",children:(0,s.jsx)(i.Z,{playing:!0,muted:!1,url:l,className:"w-full h-full react-player-custom",poster:d})})]})})})}},58985:function(e,l,t){"use strict";t.d(l,{At:function(){return m},Jb:function(){return r},aG:function(){return d},bg:function(){return u},gN:function(){return c}});var s=t(57437),a=t(2265),i=t(63355),n=t(87592),o=(t(63550),t(58214));let d=a.forwardRef((e,l)=>{let{...t}=e;return(0,s.jsx)("nav",{ref:l,"aria-label":"breadcrumb",...t})});d.displayName="Breadcrumb";let r=a.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,s.jsx)("ol",{ref:l,className:(0,o.cn)("flex flex-wrap items-center gap-1.5 break-words xs:text-xs text-sm text-muted-foreground sm:gap-2.5 cursor-pointer",t),...a})});r.displayName="BreadcrumbList";let c=a.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,s.jsx)("li",{ref:l,className:(0,o.cn)("inline-flex items-center gap-1.5 text-Chicago ",t),...a})});c.displayName="BreadcrumbItem";let m=a.forwardRef((e,l)=>{let{asChild:t,className:a,...n}=e,d=t?i.g7:"a";return(0,s.jsx)(d,{ref:l,className:(0,o.cn)("transition-colors xl:hover:text-primary",a),...n})});m.displayName="BreadcrumbLink",a.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,s.jsx)("span",{ref:l,role:"link","aria-disabled":"true","aria-current":"page",className:(0,o.cn)("font-normal text-foreground hover:text-Chicago",t),...a})}).displayName="BreadcrumbPage";let u=e=>{let{children:l,className:t,...a}=e;return(0,s.jsx)("li",{role:"presentation","aria-hidden":"true",className:(0,o.cn)("[&>svg]:size-3.5 rotate-[-25deg]",t),...a,children:null!=l?l:(0,s.jsx)(n.Z,{})})};u.displayName="BreadcrumbSeparator"},32710:function(e,l,t){"use strict";t.d(l,{O:function(){return i}});var s=t(57437),a=t(58214);function i(e){let{className:l,...t}=e;return(0,s.jsx)("div",{className:(0,a.cn)("animate-pulse rounded-md bg-Gallery",l),...t})}},88901:function(e){e.exports={embla:"GoalMindMastery_embla__dBs4v",embla__container:"GoalMindMastery_embla__container__MCDiP",embla__viewport:"GoalMindMastery_embla__viewport__jX2_r",embla__slide:"GoalMindMastery_embla__slide__A4ZdB"}},28371:function(e){e.exports={embla:"Goalslider_embla__jmJPN",embla__container:"Goalslider_embla__container__5rwvW",embla__viewport:"Goalslider_embla__viewport__Brx3x",embla__slide:"Goalslider_embla__slide__8V_k7"}}},function(e){e.O(0,[1060,691,9325,8173,231,7641,7776,9553,2521,9443,2979,6682,86,5335,3463,8492,650,9138,2276,2971,5190,1744],function(){return e(e.s=58757)}),_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.