1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97601,8789,81755,5349,36638],{48923:function(e,t,n){Promise.resolve().then(n.bind(n,10376))},31691:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}}),n(2265);var i=n(12720),a=n(55201),r=n(22166);function l(){let e=(0,i.Z)(a.Z);return e[r.Z]||e}},12720:function(e,t,n){"use strict";var i=n(16462),a=n(62570);let r=(0,i.Z)();t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(0,a.Z)(e)}},62570:function(e,t,n){"use strict";var i=n(2265),a=n(25246);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=i.useContext(a.T);return t&&0!==Object.keys(t).length?t:e}},99376:function(e,t,n){"use strict";var i=n(35475);n.o(i,"useParams")&&n.d(t,{useParams:function(){return i.useParams}}),n.o(i,"usePathname")&&n.d(t,{usePathname:function(){return i.usePathname}}),n.o(i,"useRouter")&&n.d(t,{useRouter:function(){return i.useRouter}}),n.o(i,"useSearchParams")&&n.d(t,{useSearchParams:function(){return i.useSearchParams}})},10376:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var i=n(57437),a=n(8789),r=n(36638),l=n(99376),o=n(2265);function s(e){let{error:t,reset:n}=e,s=(0,l.useRouter)();return(0,o.useEffect)(()=>{console.error(t)},[t]),(0,i.jsxs)("div",{children:[(0,i.jsx)(a.default,{errorMsg:"Something went wrong",title:""}),(0,i.jsx)(r.default,{label:"Retry",onClick:()=>n(),className:"flex m-auto justify-center w-[40%] rounded-[56px] px-[34px] py-[16px] bg-btn-enabled text-white mb-[20px]"},"retry_load"),(0,i.jsx)(r.default,{label:"Go to Dashboard",onClick:()=>{s.push("https://myinsurance.tataaia.com/portfolio/policy/dashboard")},className:"flex m-auto justify-center w-[50%] rounded-[56px] px-[34px] py-[16px] bg-btn-enabled text-white"},"retry_load")]})}},8789:function(e,t,n){"use strict";n.r(t);var i=n(57437);n(2265);var a=n(62069),r=n(46387),l=n(5349),o=n(36638),s=n(5200);t.default=e=>{let{imageUrl:t,className:n,errorMsg:c,title:u,completeError:d,onRetryClick:m,onOkClick:x,isFixed:f=!0}=e,{screenType:p}=(0,s.B)(),v="MOBILE"===p;return"new"===document.documentElement.getAttribute("data-theme")?(0,i.jsxs)("div",{className:"".concat(f?"fixed":""," inset-0 z-50 flex flex-col items-center justify-center"),children:[(0,i.jsx)(l.default,{fileName:null!=t?t:"risk-alert.gif",height:v?180:320,width:v?180:320,alt:"risk-alert"}),(0,i.jsx)("p",{className:"self-stretch text-center justify-start text-color-greyishBlue text-text-2 sm:text-text-5 font-semibold font-montserrat leading-[30px]",children:u}),(0,i.jsx)("p",{className:"mt-[12px] self-stretch text-center justify-start text-text-blue2 text-text-5 sm:text-text-7 font-light font-montserrat leading-[22px]",children:c}),d&&(0,i.jsx)("p",{className:"mt-[12px] self-stretch text-center justify-start text-text-blue2 text-text-5 sm:text-text-7 font-light font-montserrat leading-[22px]",children:d})]}):(0,i.jsxs)(a.ZP,{container:!0,className:n,mb:2,flex:1,display:"flex",justifyContent:"center",alignItems:"center",children:[(0,i.jsx)(a.ZP,{item:!0,xs:12,display:"flex",justifyContent:"center",alignItems:"center",py:2,children:(0,i.jsx)(l.default,{fileName:null!=t?t:"ic_gneric_error.svg",alt:"not found",width:80,height:80,priority:!0,className:"sm:mt-[25%]"})}),(0,i.jsx)(a.ZP,{item:!0,xs:12,children:(0,i.jsx)(r.Z,{variant:"h5",fontWeight:600,textAlign:"center",className:"text-primary-blue-main text-[16px] leading-[24px] sm:mt-[25%] ",children:u})}),(0,i.jsx)(a.ZP,{item:!0,xs:12,py:2,children:(0,i.jsx)(r.Z,{variant:"body2",fontWeight:400,textAlign:"center",whiteSpace:"pre-line",className:"text-dark-1 text-[12px] leading-[20px] break-words sm:px-[16px]",children:c})}),(0,i.jsx)(a.ZP,{item:!0,xs:12,py:2,children:(0,i.jsx)(r.Z,{variant:"body2",fontWeight:400,textAlign:"center",whiteSpace:"pre-line",className:"hidden text-dark-1 text-[12px] leading-[20px] break-words sm:px-[16px]",children:d})}),(0,i.jsx)(a.ZP,{item:!0,xs:12,py:2,display:"flex",justifyContent:"center",alignItems:"center",children:x&&(0,i.jsx)(o.default,{textStyle:"text-grey-3",className:"justify-center self-center bg-transparent border-divider border-[1px] rounded-[56px] py-[12px] md:w-[300px] w-[200px]",label:"Ok",onClick:x,loading:!1})})]})}},5349:function(e,t,n){"use strict";n.r(t);var i=n(57437),a=n(33145);t.default=e=>{let{width:t,height:n,fileName:r,alt:l="",priority:o=!1,className:s="",objectFit:c="contain",color:u="",onClick:d,enablePriority:m=!1,src:x,unoptimized:f=!1,placeholder:p="empty",blurDataUrl:v=""}=e;return(0,i.jsx)(a.default,{src:x||"".concat("".concat("/portfolio","/"),"images/").concat(r),placeholder:p,alt:l,width:t,height:n,
1className:s,color:u,objectFit:c,onClick:d,priority:m&&o,unoptimized:f,blurDataURL:v})}},14544:function(e,t,n){"use strict";n.r(t);var i=n(57437),a=n(2265),r=n(23917),l=n(27648),o=n(23758),s=n(5349),c=n(99376),u=n(5200);let d=[{text:"Home",name:"Home",type:"home",activeImage:"bottomBar/homeActive.svg",inActiveImage:"bottomBar/homeInActive.svg",link:"/policy/mobile/dashboard"},{text:"Pay Premium",name:"Pay Premium",type:"payPremium",activeImage:"bottomBar/payActive.svg",inActiveImage:"bottomBar/payInActive.svg",link:"/policy/payPremium"},{text:"Offers",name:"Offers",type:"offers",activeImage:"bottomBar/offerActive.svg",inActiveImage:"bottomBar/offerInActive.svg",link:"/policy/mobile/offers"},{text:"Profile",name:"Profile",type:"profile",activeImage:"bottomBar/profileActive.svg",inActiveImage:"bottomBar/profileInActive.svg",link:"/policy/profile"}],m=["/policy/mobile/dashboard","/policy/payPremium","/policy/mobile/offers","/policy/profile"];t.default=()=>{let{focusedTab:e}=(0,r.CG)(e=>e.policyServicing.metaDetails),t=(0,r.CG)(e=>e.policyServicing.initialLoadMeta),{headerAndBottomTabsAppVersion:n}=(null==t?void 0:t.meta)||{},[x,f]=(0,a.useState)(!1),p=(0,r.TL)(),{appPlatform:v,appVersion:h}=(0,u.B)(),g=(0,c.usePathname)(),{isWebView:b,showHeaderAndBottomTabs:w}=(0,u.B)(),[y,j]=(0,a.useState)("");return((0,a.useEffect)(()=>{let{androidVersion:e,iosVersion:t}=n||{},i=(null==v?void 0:v.toLocaleLowerCase())==="ios"?t:e;p((0,o.HG)(h&&i<=h))},[g,v,h,n]),b&&(null==m?void 0:m.includes(g))&&w)?(0,i.jsx)("div",{className:"fixed z-50 bottom-0 left-0 right-0 w-full h-[90px] max-h-[90px] bg-[#FFF] rounded-t-[8px] shadow-[0_-4px_4px_0_rgba(198,196,196,0.25)] flex items-center justify-around",children:null==d?void 0:d.map((t,n)=>{let a=e===t.name;return(0,i.jsxs)(l.default,{prefetch:!0,href:t.link,className:"noSelect flex flex-col items-center justify-center gap-[10px] h-[66px]",onClick:()=>{p((0,o.CD)(t.name)),j(t.name)},children:[(0,i.jsx)(s.default,{priority:!0,height:a?66:24,width:a?66:24,fileName:a?t.activeImage:t.inActiveImage,alt:t.name,className:"\n cursor-pointer absolute\n ".concat(a?"top-[-15px]":"top-[12px]","\n ").concat(a?"h-[66px] w-[66px]":"h-[24px] w-[24px]","\n transition-all duration-300 ease-in-out\n ")}),(0,i.jsx)("p",{className:"\n font-['Lato'] text-center\n ".concat(a?"text-[12px] leading-[14px] font-bold text-[#0873BA] mt-[30px]":"text-[10px] leading-[12px] font-medium text-[#9E9DA3] mt-[10px]","\n transition-all duration-300 ease-in-out\n "),children:t.text})]},n)})}):null}},36638:function(e,t,n){"use strict";n.r(t);var i=n(57437);n(98278);var a=n(5349);t.default=e=>{let{className:t="sm:mx-auto loadingBtn w-full xl:w-[48%] rounded-[56px] disabled:bg-disabled disabled:text-grey-2 enabled:bg-btn-enabled enabled:text-white lg:mt-[40px] xl:mt-[40px] md:mt-[40px]",label:n="",loading:r,onClick:l,disabled:o,leftIcon:s,rightIcon:c,textStyle:u="",leftIconChildren:d,rightIconChildren:m,onCustomClick:x}=e;return(0,i.jsxs)("button",{disabled:o,onClick:x?e=>{!r&&x&&x(e)}:()=>{!r&&l&&l()},className:"max-w-[358px] ".concat(t),children:[s&&(0,i.jsx)(a.default,{fileName:s,alt:n,width:24,height:24}),!!d&&d,r?(0,i.jsx)("div",{className:"flex felx-1 justify-center items-center",children:(0,i.jsx)("div",{className:"h-[24px] w-[24px] animate-spin rounded-full border-4 border-solid border-transparent border-r-[#FFFFFF] motion-reduce:animate-[spin_1.5s_linear_infinite]",role:"status"})}):(0,i.jsx)("h1",{className:"text-[16px] font-semibold ".concat(u),children:n}),c&&(0,i.jsx)(a.default,{fileName:c,alt:n,width:24,height:24}),!!m&&m]})}},93031:function(e,t,n){"use strict";n.d(t,{AG:function(){return o},Gu:function(){return r},Iu:function(){return d},Qw:function(){return u},kh:function(){return l},l5:function(){return m},pj:function(){return c},s0:function(){return x},vl:function(){return s}});var i=n(77398),a=n.n(i);function r(e){var t=["Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Jan","Feb","Mar"];return e.sort(function(e,n){return t.indexOf(e.label)-t.indexOf(n.label)})}let l=e=>18e5>a()().diff(e),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date().toISOString();if(!e)return 0;let n=new Date(e),i=new Date(t);return Math.round(Math.abs(n.getTime()-i.getTime())/864e5)},s=e=>{let t=e.entries(),n={};for(let[e,i]of t)n[e.toLowerCase()]=i;return n},c=e=>{let{data:t={},blobData:n,event:i="download"}=e;if(null===(a=window)||void 0===a?void 0:a.ReactNativeWebView){if(n){var a,r,l,o,s=new FileReader;s.onload=()=>{var e,n;null===(n=window)||void 0===n||null===(e=n.ReactNativeWebView)||void 0===e||e.postMessage(JSON.stringify({event:i,data:{...t,base64:s.result}}))},s.readAsDataURL(n)}else null===(o=window)||void 0===o||null===(l=o.ReactNativeWebView)||void 0===l||l.postMessage(JSON.stringify({event:i,data:t}));console.log("native message",null===(r=window)||void 0===r?void 0:r.ReactNativeWebView,t)}return null},u=["tataaia.com","OLD_PORTAL_URL"],d=["True PASA","TruePASA","DEFAULT"],m="https://apps.apple.com/in/app/tata-aia-vitality/id1599475638",x="https://play.google.com/store/apps/details?id=com.vitalityactive.tataaia"},5200:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var i=n(67645),a=n(2265);let r=()=>{let{screenType:e,isWebView:t,appVersion:n,appPlatform:r,showHeaderAndBottomTabs:l,showMaintenanceBanner:o}=(0,a.useContext)(i.P);return{screenType:e,isWebView:t,appVersion:n,appPlatform:r,showHeaderAndBottomTabs:l,showMaintenanceBanner:o}}},67645:function(e,t,n){"use strict";n.d(t,{P:function(){return p},ResponsivePageProvider:function(){return v}});var i=n(57437),a=n(99376),r=n(2265),l=n(49567),o=n(23758),s=n(93031),c=n(23917),u=n(61521),d=n(33578),m=n(78466),x=n(95883),f=n(14544);let p=(0,r.createContext)({screenType:"MOBILE"}),v=e=>{var t,n,v;let[h,g]=(0,r.useState)("MOBILE"),b=(0,c.CG)(e=>e.policyServicing.metaDetails),w=(0,a.useSearchParams)(),{iswebview:y,appversion:j,appplatform:P}=(0,s.vl)(w),{maintenance:N}=(0,c.CG)(e=>{var t;return(null===(t=e.policyServicing.initialLoadMeta)||void 0===t?void 0:t.meta)||{}}),A=(0,l.I0)(),I=w.get("source")||"",L=(null==I?void 0:I.toLowerCase())==="siddhi",[S]=(0,u.Dg)(),k=()=>{window.innerWidth<744?g("MOBILE"):window.innerWidth>=744&&window.innerWidth<1133?g("TABLET"):window.innerWidth>=1133&&window.innerWidth<1280?g("TABLET_LANDSCAPE"):g("DESKTOP")},B=()=>{S(d.Y.INITIAL_LOAD_META,!0).then(e=>{if(null==e?void 0:e.data){let t=null==e?void 0:e.data;t&&A((0,x.K)(t||{}))}})};(0,r.useEffect)(()=>{var e;return B(),k(),(y||(null===(e=window)||void 0===e?void 0:e.ReactNativeWebView))&&A((0,o.yV)(!0)),j&&A((0,o.$q)(j)),P&&A((0,o.PC)(P)),console.log("isWebView, meta webview => ",y,null==b?void 0:b.isWebView),window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k),L&&(0,m._)(A)}},[]);let C=null!==(t=null==N?void 0:N.startTime)&&void 0!==t?t:0,_=null!==(n=null==N?void 0:N.endTime)&&void 0!==n?n:0,T=e.serverTime.getTime();return(0,i.jsxs)(p.Provider,{value:{screenType:h,isWebView:y||(null==b?void 0:b.isWebView),appVersion:j||(null==b?void 0:b.appVersion),appPlatform:P||(null==b?void 0:b.appPlatform),showHeaderAndBottomTabs:null==b?void 0:b.showHeaderAndBottomTabs,showMaintenanceBanner:T>=C&&T<_,maintenanceMessage:null!==(v=null==N?void 0:N.message)&&void 0!==v?v:""},children:[e.children,(0,i.jsx)(f.default,{})]})}},98278:function(){}},function(e){e.O(0,[88681,1866,46990,33145,96326,7491,65963,27648,41030,23917,92971,52117,1744],function(){return e(e.s=48923)}
1),_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.