1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4670],{417:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/plans/premium-new",function(){return t(7593)}])},7593:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return p}});var a=t(5893),n=t(1163),l=t(7294),i=t(7933),c=t(8e3),r=t(5675),d=t.n(r);function x(e){var s;let{plan:t}=e;if(!t)return(0,a.jsx)("div",{className:"min-h-[200px] container px-4 mx-auto flex items-center justify-center",children:(0,a.jsx)("p",{className:"text-[#929292] text-[16px]",children:"Plan details not available."})});let n=function(e,s){if(s||e>=3650)return"Lifetime";if(e>=365){let s=Math.round(e/365);return"".concat(s," Year").concat(s>1?"s":"")}if(e>=30){let s=Math.round(e/30);return"".concat(s," Month").concat(s>1?"s":"")}return"".concat(e," Day").concat(1!==e?"s":"")}(t.duration_days,t.is_lifetime),l=function(e){if(!e)return[];if(Array.isArray(e))return e.map(String).filter(Boolean);if("object"==typeof e&&"included"in e){var s;return(null!==(s=e.included)&&void 0!==s?s:[]).map(String).filter(Boolean)}return[]}(t.features),i=null!==(s=t.comparison_features)&&void 0!==s?s:[],c=i.filter(e=>e.available),r=i.filter(e=>!e.available);return(0,a.jsx)("div",{className:"container px-4 mx-auto",children:(0,a.jsxs)("div",{className:"lg:col-span-2 space-y-6 mt-6",children:[(0,a.jsx)("p",{className:"bg-[#F9F9FB] w-fit px-4 p-2 text-[#454545] font-normal text-[16px]",children:(0,a.jsx)("strong",{children:n})}),(0,a.jsx)("h1",{className:"text-[30px] font-medium text-gray-900 leading-snug",children:t.name}),t.description&&(0,a.jsx)("p",{className:"text-[#929292] text-[16px] leading-relaxed",children:t.description}),l.length>0&&(0,a.jsxs)("div",{className:"space-y-3 pt-4",children:[(0,a.jsx)("h2",{className:"text-[20px] text-[#252525] font-medium",children:"What's Included"}),(0,a.jsx)("ul",{className:"space-y-3 text-[#929292]",children:l.map((e,s)=>(0,a.jsxs)("li",{className:"flex items-start gap-2",children:[(0,a.jsx)(d(),{src:"/images/tick.svg",alt:"tick",width:22,height:22,className:"flex-shrink-0 mt-0.5"}),(0,a.jsx)("span",{children:e})]},s))})]}),c.length>0&&(0,a.jsxs)("div",{className:"space-y-3 pt-4",children:[0===l.length&&(0,a.jsx)("h2",{className:"text-[20px] text-[#252525] font-medium",children:"What's Included"}),(0,a.jsx)("ul",{className:"space-y-3 text-[#929292]",children:c.map(e=>(0,a.jsxs)("li",{className:"flex items-start gap-2",children:[(0,a.jsx)(d(),{src:"/images/tick.svg",alt:"included",width:22,height:22,className:"flex-shrink-0 mt-0.5"}),(0,a.jsx)("span",{children:e.name})]},e.id))})]}),r.length>0&&(0,a.jsxs)("div",{className:"space-y-3 pt-4",children:[(0,a.jsx)("h2",{className:"text-[20px] text-[#252525] font-medium",children:"Not Included"}),(0,a.jsx)("ul",{className:"space-y-3 text-[#929292]",children:r.map(e=>(0,a.jsxs)("li",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{className:"flex-shrink-0 mt-0.5 w-[22px] h-[22px] flex items-center justify-center",children:(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M4 4L12 12M12 4L4 12",stroke:"#AFAFAF",strokeWidth:"2",strokeLinecap:"round"})})}),(0,a.jsx)("span",{className:"line-through",children:e.name})]},e.id))})]})]})})}var m=t(9576),u=t(6921);function p(){let e=(0,n.useRouter)(),[s,t]=(0,l.useState)(null),[r,d]=(0,l.useState)(!0),[p,h]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let e=!1;return(async()=>{d(!0),h(null);try{let s=await (0,u.Qw)("premium");if(e)return;s?t(s):(h("Premium plan not found."),t(null))}catch(s){e||h("Failed to load plan details. Please try again.")}finally{e||d(!1)}})(),()=>{e=!0}},[]),(0,a.jsxs)(i.YG,{children:[(0,a.jsx)("div",{className:"text-sm text-[#696969] bg-[#DDDDDD] p-4 mx-auto",children:(0,a.jsx)(c.Z,{content:[{label:"Plans",href:"/plans"},...s?[{label:s.name}]:[]]})}),r?(0,a.jsx)("div",{className:"flex items-center justify-center min-h-[400px]",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)("div",{className:"w-8 h-8 border-3 border-[#09339B] border-t-transparent roun
1ded-full animate-spin mx-auto"}),(0,a.jsx)("p",{className:"text-[#929292] text-[16px]",children:"Loading plan detailsâ¦"})]})}):p?(0,a.jsx)("div",{className:"flex items-center justify-center min-h-[400px]",children:(0,a.jsxs)("div",{className:"text-center space-y-4 max-w-md px-4",children:[(0,a.jsx)("p",{className:"text-[#929292] text-[16px]",children:p}),(0,a.jsx)("button",{onClick:()=>e.push("/plans"),className:"bg-[#09339B] text-white px-6 py-2 rounded-lg font-medium",children:"Browse Plans"})]})}):(0,a.jsxs)("div",{className:"mx-auto grid grid-cols-1 lg:grid-cols-3 gap-8 px-4 pb-10 mt-6 container",children:[(0,a.jsx)("div",{className:"lg:col-span-2 space-y-10",children:(0,a.jsx)(x,{plan:s})}),(0,a.jsx)("div",{className:"lg:col-span-1",children:(0,a.jsx)("div",{className:"lg:sticky lg:top-24",children:(0,a.jsx)(m.Z,{plan:s})})})]})]})}}},function(e){e.O(0,[1664,5675,7933,2320,2888,9774,179],function(){return e(e.s=417)}),_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.