1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4635,7100],{80103(e,t,a){a.r(t);var s=a(68102),l=(a(76281),a(62688)),n=a.n(l),i=a(63696),r=a(68998),o=a(9403),c=a(30124),m=a(78438),d=a(39423),u=a(80866),g=a(74610),p=a(16397);const h=e=>{const{packageInfoData:t,packageId:a,cardTitle:l,src:n="/images/produtImg.jpg",contentCount:h={},mahaPack:b=!1,categories:v="",languages:E,newTags:f,freeContentData:C,couponDetails:w,timeArray:T,expiredCouponFlag:N,defaultCouponAbsoluteDiscount:y=0,notExpiredDefaultCouponAvailable:_=!1,sellingPrice:k=0,tag:A=null,pathName:L="",source_screen:D="",published:x=!0,isWishList:B=!1,confirmRemoveWishList:P=!1,isChecked:M=!1,isBuyNowShow:F=!1,isSelectableShow:O=!1,wishlistOperationAllowed:I=!0,onClickCb:S=()=>null,onCheckedCb:$=()=>null,freeLiveClassAvailable:H=!1,isHorizontal:R=!1,showTags:W=!0,isViewDetailsCTA:j=!1,ctaType:V,onExploreCta:z,index:U=0}=e,[q,K]=(0,i.useState)(!1),G=(0,i.useMemo)(()=>E?.find(e=>e?.primary)?.name||E?.[0]?.name,[E]),J=(0,i.useMemo)(()=>Math.round(100-(k-y)/k*100),[k,y]),Q=(0,i.useMemo)(()=>Boolean(w&&T&&N&&y&&_),[w,T,N,y,_]),X=(0,i.useMemo)(()=>Q?Math.round(100*(k-y))/100:k,[k,y,Q]),Y=(0,i.useMemo)(()=>(0,m.Wt)(f?.businessTags||[]),[f]),Z=(0,i.useMemo)(()=>!(!t?.testPassEnabled||t?.testPassParent),[t?.testPassEnabled,t?.testPassParent]),ee=(0,i.useMemo)(()=>"explore_now"===V||Z,[V,Z]);(0,i.useEffect)(()=>{Y&&K(!0)},[Y]);const te=(0,i.useMemo)(()=>{if(f?.additionalTags)return f?.additionalTags;let e="Live + Recorded";const t=v?.split(",");if(b)e="Live + Recorded";else for(const a of c.NK)if(t.includes(a)){e=a;break}return e},[f,v,b]),ae=(0,i.useMemo)(()=>{const e=[],t=h.olcDuration||h.olcCount,a=`${h.olcDuration?"Hrs ":""}${c.$c.olcCount?.label}`,s=Object.keys(h||{});return c.aO?.forEach(l=>{s.includes(l)&&e.push({count:"olcCount"===l?(0,d.B4)(t):(0,d.B4)(h[l]||0),icon:c.$c[l]?.icon,label:"olcCount"===l?a:c.$c[l]?.label})}),e},[h]),se=(0,i.useMemo)(()=>({exam_category:t?.courses,user_exam_category_selected:"Web",exam:t?.examTypes?.[0]?.name||"_blank",language:G,source_screen:D,package_status:"Paid",package_type:t?.suggestionCat||"_blank",package_title:l,package_id:a,package_name:l,package_actual_price:t?.maxPrice,package_discounted_price:t?.price,package_final_price:X,package_subject:"_blank",modified_date:t?.updatedAt,published_date:t?.createdAt,package_url:"undefined"!=typeof window&&window?.location?.href||"",coupon_code:"",certification:""}),[t,G,X]),le=(0,i.useMemo)(()=>{const e={1:"Free Mocks Available",4:"Free Content Available"},t=new Set(C?.map(e=>e?.contentType));for(const[a,s]of Object.entries(e))if(t.has(Number(a)))return s;return null},[C]);return i.createElement("div",{style:{height:"100%"},className:`listingCardBox ${R?"isHorizontal":""} ${q?"OfferHourLeft":""} ${ee?"tp-sub-parent-store-card":""}`},(()=>{const c=i.createElement(i.Fragment,null,W&&i.createElement("div",{className:"listCardTopTags"},A?i.createElement("div",{className:"ListingTags recomendingTag"},A):(0,d.s2)(t),O&&i.createElement("div",{onClick:t=>{t.preventDefault(),$(!M,e)}},M?i.createElement("img",{src:"/images/wlcheckative.svg",alt:"check",className:"wlcardcheckImg",loading:"lazy",height:24,width:24}):i.createElement("img",{src:"/images/wlcheckNonative.svg",alt:"uncheck",className:"wlcardcheckImg",loading:"lazy",height:24,width:24})),H&&i.createElement("div",{className:"ListingTagsRight freeLiveClassTag"},"Free Live Class")),i.createElement("div",{className:"listCardBoxImg"},i.createElement("img",(0,s.A)({src:(0,d._H)(n||"/images/produtImg.jpg",180,180),height:"180px",width:"180px",alt:l||o.$p[0],loading:U<4?"eager":"lazy"},0===U?{fetchpriority:"high"}:{}))),i.createElement("div",{className:"contentAndBuyNowButton"},i.createElement("div",{className:"underThumbContent"},i.createElement("div",{className:"listingCardsFeatures"},H&&i.createElement("div",{className:"listingCardLangTag freeLiveClassTag"},"Free Live Class"),ee&&i.createElement("div",{className:"listingCardOptionTag tp-sub-parent-taglist newly"},i.createElement("img",{src:"/images/newly-added-star.svg",alt:"newly-added-star-icon",width:"9px",height:"9px"}),i.createElement(i.Fragment,null,te)),G&&i.createElement("div",{className:"listingCardLangTag"},G),!ee&&i.createElement("div",{className:"listingCardOptionTag"},te),i.createElement(p.default,null,i.createElement(g.default,{packageId:a,isWishList:B,wishlistOperationAllowed:I,confirmRemoveWishList:P,moengagePayload:se,source_screen:D}))),i.createElement("div",{className:"titleWithDemo"},!ee&&i.createElement("div",{className:"freedemoavail"},le),i.createElement("h3",{className:"listingCadTitle",title:l},l)),i.createElement("div",{className:"listingListChecks"},i.createElement("div",{className:"ListChecksinner"},ae?.map(e=>0!==parseInt(e.count)&&i.createElement(i.Fragment,null,i.createElement("span",{key:e?.label},i.createElement("img",{src:e?.icon,alt:e?.label,width:"10",height:"10"}),e?.count," ",e?.label),Z&&"Mock Tests"===e?.label?i.createElement("span",{className:"greenColor"},"+ "+(t?.freeContentData?.length>1?`${t?.freeContentData?.length} Free Test`:`${t?.freeContentData?.length} Free Tests`)):"")))),ee?i.createElement("div",{className:"tp-sub-explore-btn-wrap"},i.createElement("div",{className:"tp-sub-explore-btn",onClick:e=>{"explore_now"===V&&z&&(e.preventDefault(),e.stopPropagation(),z(e))}},"Explore Now")):i.createElement("div",{className:"listingCardPrice"},i.createElement("div",{className:"listCardMainPrice"},"â¹",X),Q&&i.createElement(i.Fragment,null,i.createElement("div",{className:"listCardCutPrice"},"â¹",k),i.createElement("div",{className:"listCardTotalOff"},"(",J,"% off)")),!Q&&i.createElement("div",{className:"listCardOfferAvail"},i.createElement("img",{src:"/images/pdpdiscountNew.svg",alt:"discount-icon",width:"14",height:"14"}),"Offers Available"))),!ee&&i.createElement("div",{className:"adda-recent-actions"},j&&i.createElement("button",{className:"buy-now viewDetail"},"View Details"),F&&i.createElement("button",{className:"buy-now"},"Buy Now "))),q&&i.createElement(u.default,{iconSrc:Y?.thumbnail,tagType:Y?.tagType,name:Y?.name,endTime:Y?.endTime,setIsBusinessTagVisible:K}));return ee?i.createElement("div",{className:"listingCardBoxCard "+(x?"":"listcardTagFull"),onClick:e=>{"explore_now"===V&&z?z(e):Z&&t?.seoUrl?window.location.href=t.seoUrl:L&&(window.location.href=L)}},c):i.createElement(r.default,{className:"listingCardBoxCard "+(x?"":"listcardTagFull"),to:e?.remote?null:{pathname:Z?t?.seoUrl:L,state:{source_screen:D}},onClick:()=>e?.remote?S(Z?t?.seoUrl:L):S},c)})())};h.propTypes={cardTitle:n().string.isRequired,src:n().string,contentCount:n().object,mahaPack:n().bool,categories:n().string,languages:n().array,newTags:n().object,freeContentAvailable:n().bool,couponDetail
1s:n().object,timeArray:n().array,expiredCouponFlag:n().bool,defaultCouponAbsoluteDiscount:n().number,notExpiredDefaultCouponAvailable:n().bool,sellingPrice:n().number,tag:n().string,dualValidity:n().bool,pathName:n().string,source_screen:n().string,published:n().bool,isWishList:n().bool,confirmRemoveWishList:n().bool,isChecked:n().bool,isBuyNowShow:n().bool,wishlistOperationAllowed:n().bool,onClickCb:n().func,freeLiveClassAvailable:n().bool,isViewDetailsCTA:n().bool,remote:n().bool,ctaType:n().string,onExploreCta:n().func};const b=i.memo(h);a.d(t,["default",0,b])},80866(e,t,a){a.r(t),a.d(t,{default:()=>u});var s=a(63696),l=a(62688),n=a.n(l),i=a(51851),r=a(57007);const o=function({targetTime:e=0,onTimerEnd:t=()=>null}){const a=()=>{const t=(new Date).getTime(),a=e-t;return a>0?a:0},[l,n]=(0,s.useState)(a());(0,s.useEffect)(()=>{const e=setInterval(()=>{const s=a();0===s&&(clearInterval(e),t(!1)),n(s)},1e3);return()=>clearInterval(e)},[e,t]);const i=(0,s.useMemo)(()=>(0,r.Kc)(l),[l]);return s.createElement("div",null,s.createElement("p",null,i))};var c=a(39423);const m=(0,i.Ay)({resolved:{},chunkName:()=>"ErrorBoundary",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!a.m[t]},importAsync:()=>Promise.all([a.e(2626),a.e(3336),a.e(2345),a.e(9297),a.e(2712),a.e(2020),a.e(5802)]).then(()=>a(16397)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return a(t)},resolve:()=>16397}),d=({iconSrc:e="",tagType:t=0,name:a="",endTime:l=0,setIsBusinessTagVisible:n})=>s.createElement("div",{className:"listingFewHourLeft"},s.createElement("img",{src:(0,c._H)(e,28,28),alt:"bsnTag",loading:"lazy",height:14,width:14})," ",1===t&&"Price dropped By ",a,2===t&&s.createElement(m,null,s.createElement(o,{targetTime:l||0,onTimerEnd:n})));d.propTypes={iconSrc:n().string,tagType:n().number,name:n().string,endTime:n().number,setIsBusinessTagVisible:n().func.isRequired};const u=d}}]);
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.