PageSourceSearch

https://www.covertiger.com/_next/static/chunks/5161-990812779ed2eb42.js

js covertiger.com collected 2026-10-08 20:51:23 UTC 16,408 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5161],{25161:(e,t,l)=>{l.d(t,{A:()=>m});var r=l(37876),s=l(14232),n=l(81599);function i(){return(0,r.jsxs)("svg",{viewBox:"0 0 20 20",className:"h-[18px] w-[18px]","aria-label":"Included",role:"img",children:[(0,r.jsx)("circle",{cx:"10",cy:"10",r:"10",fill:"#16A34A"}),(0,r.jsx)("path",{d:"M5.8 10.3l2.7 2.7 5.7-5.7",fill:"none",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function a(){return(0,r.jsxs)("svg",{viewBox:"0 0 20 20",className:"h-[18px] w-[18px]","aria-label":"Not included",role:"img",children:[(0,r.jsx)("circle",{cx:"10",cy:"10",r:"10",fill:"#C7C7CC"}),(0,r.jsx)("path",{d:"M7 7l6 6M13 7l-6 6",fill:"none",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round"})]})}function o(e){let{addOn:t}=e,l=String((null==t?void 0:t.name)||"").trim(),s=String((null==t?void 0:t.text)||"").trim(),n=String((null==t?void 0:t.price)||"").trim();return l?(0,r.jsxs)("div",{className:"mt-1.5 w-full rounded-md border border-dashed border-[#E9A23B] bg-[#FFF7EB] px-1.5 py-1 text-left",children:[(0,r.jsx)("p",{className:"text-[9px] font-semibold uppercase leading-tight tracking-[0.04em] text-[#B26A00]",children:(null==t?void 0:t.label)||"Paid add-on"}),(0,r.jsxs)("p",{className:"mt-0.5 text-[11px] font-semibold leading-tight text-[#7A4A00]",children:[l,n?(0,r.jsxs)("span",{className:"font-medium",children:[" \xb7 ",n]}):null]}),s?(0,r.jsx)("p",{className:"mt-0.5 text-[10px] font-medium leading-tight text-[#8A5A12]",children:s}):null]}):null}function d(e){let{cell:t,fallback:l}=e;if(!t){let e=null!=l&&""!==l?String(l):"—";return(0,r.jsx)("p",{className:"min-w-0 whitespace-pre-wrap text-center text-xs font-medium leading-snug text-[#525252]",children:e})}let{value:s,bool:n,note:d,best:c,addOns:m}=t,x=Array.isArray(m)?m:[],p=null!=s&&""!==String(s).trim();return(0,r.jsxs)("div",{className:"flex min-w-0 flex-col items-center",children:[!0!==n||p?!1!==n||p?(0,r.jsx)("span",{className:"max-w-full whitespace-pre-wrap break-words text-center text-xs font-semibold leading-snug ".concat(c?"rounded-md border border-solid border-[#16A34A] bg-[#F0FDF4] px-1.5 py-0.5 text-[#15803D]":"text-[#261E48]"),children:p?String(s):"—"}):(0,r.jsx)(a,{}):(0,r.jsx)(i,{}),d?(0,r.jsx)("span",{className:"mt-0.5 text-center text-[10px] font-medium leading-tight text-[#8E8E93]",children:d}):null,x.map((e,t)=>(0,r.jsx)(o,{addOn:e},t))]})}function c(e){let{data:t,onBuyPlan:l}=e,[i,a]=(0,s.useState)(!1),{planHeaders:o,planIds:c,coreRows:m,subtitle:x,keyDifferencesMarkdown:p,selections:u}=(0,s.useMemo)(()=>{var e;let l=t.headers||[],r=l.length>0&&"comparison"===String((null==(e=l[0])?void 0:e.companyName)||"").toLowerCase()?l.slice(1):l,s=Array.isArray(t.itemIds)?t.itemIds:[],n=t.subtitle||r.map(e=>null==e?void 0:e.companyName).filter(e=>e&&"comparison"!==String(e).toLowerCase()).join(" vs "),i=t.keyDifferences||t.key_differences||t.compareSummary||t.compare_summary||t.keySummary||("string"==typeof t.message?t.message:"")||"";return{planHeaders:r,planIds:s,coreRows:(Array.isArray(t.rows)?t.rows:[]).filter(e=>(null==e||!e.hidden)&&"plan ids"!==String((null==e?void 0:e.label)||"").toLowerCase().trim()),subtitle:n,keyDifferencesMarkdown:"string"==typeof i?i.trim():"",selections:Array.isArray(t.selections)?t.selections.filter(e=>e&&e.label&&e.value):[]}},[t]),f=o.length;if(0===f)return null;let h={gridTemplateColumns:"minmax(0,1.05fr) repeat(".concat(f,", minmax(0, 1fr))")},g=Number.isFinite(Number(t.collapsedRows))&&Number(t.collapsedRows)>0?Number(t.collapsedRows):8,b=i?m:m.slice(0,g),y=m.length-b.length;return(0,r.jsxs)("div",{className:"flex w-full min-w-0 max-w-full flex-col gap-2 rounded-2xl bg-[#EFF0FE] p-4",children:[(0,r.jsx)("p",{className:"w-full text-base font-semibold leading-[1.3] tracking-[-0.32px] text-[#261E48]",children:t.title||"Policy comparison"}),x?(0,r.jsx)("p",{className:"w-full text-sm font-medium leading-[1.3] text-[#261E48]",children:x}):null,u.length>0?(0,r.jsx)("div",{className:"flex w-full flex-wrap items-stretch gap-2",children:u.map((e,t)=>(0,r.jsxs)("div",{className:"min-w-0 flex-1 rounded-lg border border-solid border-[#DDD9F7] bg-white px-3 py-2",children:[(0,r.jsx)("p",{className:"text-[11px] font-medium leading-tight text-[#8E8E93]",children:e.label}),(0,r.jsx)("p",{className:"mt-0.5 truncate text-sm font-semibold leading-tight text-[#261E48]",children:e.value})]},t))}):null,(0,r.jsxs)("div",{className:"flex w-full min-w-0 flex-col overflow-hidden rounded-lg border border-solid border-[#DDD9F7] bg-white",children:[(0,r.jsxs)("div",{className:"grid gap-2 border-b border-solid border-[#
1EFEFF4] bg-[#FAFAFF] p-2",style:h,children:[(0,r.jsx)("p",{className:"min-w-0 select-none self-center text-[11px] font-semibold text-[#8E8E93]",children:"Features"}),o.map((e,t)=>(0,r.jsxs)("div",{className:"flex min-w-0 flex-col items-center gap-1",children:[(null==e?void 0:e.companyLogo)?(0,r.jsx)("img",{src:e.companyLogo,alt:"",className:"h-5 max-w-[64px] object-contain"}):null,(0,r.jsx)("p",{className:"min-w-0 text-center text-xs font-semibold leading-tight text-[#261E48]",children:(null==e?void 0:e.companyName)?String(e.companyName):"Plan ".concat(t+1)}),(null==e?void 0:e.coverage)?(0,r.jsx)("p",{className:"text-center text-[10px] font-medium leading-tight text-[#8E8E93]",children:e.coverage}):null,(null==e?void 0:e.premium)?(0,r.jsx)("p",{className:"text-center text-xs font-bold leading-tight text-[#6C5CE7]",children:e.premium}):null,(null==e?void 0:e.premiumNote)?(0,r.jsx)("p",{className:"text-center text-[10px] font-medium leading-tight text-[#8E8E93]",children:e.premiumNote}):null]},t))]}),b.map((e,t)=>{if(e.isHeader){let l=String(e.label||"").replace(/^---\s*|\s*---$/g,"").trim();return(0,r.jsx)("div",{className:"w-full bg-[#F4F4FB] px-2 py-1.5 text-center text-[11px] font-semibold uppercase tracking-[0.04em] text-[#6C5CE7]",children:l},"h-".concat(t))}let l=Array.isArray(e.cells)?e.cells:null,s=Array.isArray(e.values)?e.values:[];return(0,r.jsxs)("div",{className:"grid min-w-0 items-start gap-2 border-b border-solid border-[#F2F2F7] p-2 ".concat(t%2?"bg-[rgba(108,92,231,0.035)]":"bg-white"),style:h,children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"whitespace-pre-wrap text-[11px] font-semibold leading-snug text-[#6C5CE7]",children:e.label}),e.note?(0,r.jsx)("p",{className:"mt-0.5 text-[10px] font-medium leading-tight text-[#8E8E93]",children:e.note}):null]}),o.map((e,t)=>(0,r.jsx)(d,{cell:l?l[t]:null,fallback:s[t]},t))]},"r-".concat(t))}),y>0||i?(0,r.jsx)("button",{type:"button",onClick:()=>a(e=>!e),className:"w-full bg-white px-2 py-2 text-center text-xs font-semibold text-[#6C5CE7]",children:i?"Show less":"Show all ".concat(m.length," features")}):null,"function"==typeof l?(0,r.jsxs)("div",{className:"grid items-stretch gap-2 p-2",style:h,children:[(0,r.jsx)("div",{className:"min-w-0","aria-hidden":!0}),o.map((e,t)=>{let s=c[t];return(0,r.jsx)("button",{type:"button",disabled:!s,onClick:()=>s&&l(s),className:"flex h-8 min-h-[32px] items-center justify-center rounded-full border border-solid border-[#6C5CE7] bg-white px-2.5 text-sm font-medium leading-normal text-[#6C5CE7] ".concat(s?"":"cursor-not-allowed opacity-40"),children:"Buy now"},t)})]}):null]}),p?(0,r.jsxs)("div",{className:"flex min-w-0 items-stretch gap-0 overflow-hidden rounded-lg border border-solid border-[#DDD9F7] pr-2",style:{background:"linear-gradient(96.22deg, #EFF0FE 4.02%, #FEEFFD 102.4%)"},children:[(0,r.jsx)("div",{className:"h-auto w-1 shrink-0 self-stretch bg-[#6C5CE7]","aria-hidden":!0}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2 py-2 pl-2 pr-1",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("img",{src:"/icons/plan-spotlight-sparkle-gradient.svg",alt:"",width:16,height:16,className:"h-4 w-4 shrink-0 object-contain"}),(0,r.jsx)("p",{className:"text-sm font-semibold leading-normal tracking-[-0.02em] text-[#261E48]",children:"Key differences"})]}),(0,r.jsx)("div",{className:"text-xs font-medium leading-normal text-[#525252] [&_strong]:font-semibold [&_strong]:text-[#6C5CE7]",children:(0,r.jsx)(n.A,{markdown:p})})]})]}):null]})}function m(e){var t;let{isNewHome:l=!1,data:n,onBack:i,isInline:a=!1,mobileFanTvCompareLayout:o=!1,onBuyPlan:d,onFanTvCompareMount:m}
1=e,[x,p]=(0,s.useState)(!1),u=(0,s.useMemo)(()=>(null==n?void 0:n.itemIds)&&Array.isArray(n.itemIds)&&0!==n.itemIds.length?JSON.stringify(n.itemIds):"",[null==n?void 0:n.itemIds]);return((0,s.useEffect)(()=>{p(!0)},[n]),(0,s.useEffect)(()=>{var e,t;"function"==typeof m&&o&&u&&m({view_type:3,plan_count:null!=(t=null==n||null==(e=n.headers)?void 0:e.length)?t:0,item_ids:null==n?void 0:n.itemIds})},[u,o,m,null==n||null==(t=n.headers)?void 0:t.length,null==n?void 0:n.itemIds]),n&&n.headers&&n.rows)?o?(0,r.jsx)("div",{className:"w-full min-w-0 max-w-full overflow-x-hidden pb-2 pt-2 transition-transform duration-500 ease-out ".concat(x?"translate-x-0":"translate-x-full"),children:(0,r.jsx)(c,{data:n,onBuyPlan:d})}):(0,r.jsxs)("div",{className:"".concat(a?"max-w-[90%] sm:max-w-[75%] bg-[#FFF]":"max-w-full","  flex gap-4 overflow-x-auto rounded-md pb-2 pt-2 relative transform transition-transform duration-500 ease-out ").concat(x?"translate-x-0":"translate-x-full"),style:{border:l?"none":"1px solid #DBDBDB"},children:[!a&&(0,r.jsx)("div",{className:"fixed top-[70px] z-10 flex h-[70px] w-full items-center bg-white px-4 py-4",style:{background:"linear-gradient(180deg, #F2F2F2 0%, #F4F4F4 100%)"},children:(0,r.jsxs)("button",{onClick:i,className:"mr-4 flex cursor-pointer items-center justify-center rounded-full transition-colors",children:[(0,r.jsx)("img",{src:"/icons/close.svg",className:"mr-3 h-4 w-4",alt:""}),(0,r.jsx)("span",{className:"text-xl font-semibold text-[#1E1E1E]",children:"Comparison"})]})}),n.title&&(0,r.jsx)("h2",{className:"mb-1 text-center text-xl font-semibold",children:n.title}),(0,r.jsx)("div",{className:"".concat(a?"mt-[10px]":"mt-[132px] bg-[#F4F4F4]"," max-h-[calc(100vh-140px)] overflow-x-auto overflow-y-auto"),style:{maxWidth:"fit-content"},children:(0,r.jsxs)("table",{className:"table-fixed border-collapse",style:{width:"auto",minWidth:"fit-content"},children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:n.headers.map((e,t)=>{var s;return(0,r.jsx)("th",{className:"text-left text-xs ".concat(0===t?"mr-5 w-[150px] font-medium text-[#1E1E1E]":"text-center"),children:0===t?null:(0,r.jsx)("div",{className:"".concat(a?"mr-5":"mr-12"," mb-1 flex flex-col rounded-xl ").concat(a?"w-[170px]":l?"w-[250px]":"w-[200px]"),style:{background:"#FFFFFF",border:"1.5px solid transparent",backgroundImage:"linear-gradient(180deg, #E5E5E5 0%, #FFFFFF 100%), linear-gradient(90deg, #6B61FF 0%, #FE9BF3 100%)",backgroundOrigin:"border-box",backgroundClip:"content-box, border-box",borderRadius:"12px"},children:(0,r.jsxs)("div",{className:"flex flex-col rounded-xl bg-white p-2",children:[(0,r.jsxs)("div",{className:"flex items-center justify-start gap-3",children:[(0,r.jsx)("div",{className:"flex w-[40px] items-center justify-center rounded-lg",children:(0,r.jsx)("img",{src:null==e?void 0:e.companyLogo,alt:""})}),(0,r.jsx)("span",{className:"text-sm font-bold text-[#1E1E1E]",children:null==e||null==(s=e.companyName)?void 0:s.slice(0,13)})]}),(0,r.jsxs)("div",{className:"items-center gap-2 pt-2",children:[(0,r.jsxs)("div",{className:"flex justify-between text-start",children:[(0,r.jsx)("div",{className:"".concat(a?"text-xs":"text-sm"," pr-1 font-medium text-[#1E1E1E]"),children:"Price:"}),(0,r.jsx)("div",{className:"".concat(a?"text-xs":"text-sm"," pr-1 font-bold text-[#1E1E1E]"),children:null==e?void 0:e.premium})]}),(0,r.jsxs)("div",{className:"flex justify-between text-start",children:[(0,r.jsx)("div",{className:"".concat(a?"text-xs":"text-sm"," pr-1 font-medium text-[#1E1E1E]"),children:"Cover:"}),(0,r.jsx)("div",{className:"".concat(a?"text-xs":"text-sm"," pr-1 font-bold text-[#1E1E1E]"),children:null==e?void 0:e.coverage})]})]})]})})},t)})})}),(0,r.jsx)("tbody",{className:"max-h-[20px] ".concat(a?"text-sm md:text-xs":"text-sm"),children:(a?n.rows.slice(0,5):n.rows).map((e,t)=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"p-1 pl-5 pr-5 font-bold text-[#1E1E1E]",style:{width:"200px"},children:e.label}),e.values.map((e,t)=>{let l;return(0,r.jsx)("td",{className:"p-2 font-medium ".concat(a?"pr-5":"pr-12"),style:{width:"200px"},children:(null==e?void 0:e.length)>60?(l=e.slice(0,60),e.slice(0,l.lastIndexOf(".")+1||l.lastIndexOf(" ")>0&&l.lastIndexOf(" ")||60)+"..."):e},t)})]},t))})]})})]}):null}},81599:(e,t,l)=>{l.d(t,{A:()=>x});var r=l(37876);l(14232);var s=l(25072),n=l(13346);let i=e=>{let{children:t,delay:l=0}=e;return(0,r.jsx)(n.P.div,{initial:"hidden",animate:"visible",variants:{hidden:{opacity:0,y:0},visible:{opacity:1,y:0,transition:{type:"tween",duration:1,ease:[1,1,0,0],duration:1,delay:l}}},children:t})},a=e=>null==e||!1===e?"":"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(a).join(""):e.props&&e.props.children?a(e.props.children):"",o=e=>{let t=a(e).trim();return t.length>0&&t.length<=64&&t.endsWith(":")},d=e=>{let{children:t}=e;return o(t)?(0,r.jsx)("li",{style:{listStyle:"none",marginTop:"0.875rem",marginBottom:"0.375rem",fontSize:"0.875rem",fontWeight:600,lineHeight:"150%"},children:t}):(0,r.jsxs)("li",{style:{display:"flex",alignItems:"flex-start",ga
1p:"0.625rem",marginBottom:"0.625rem",fontSize:"0.875rem",lineHeight:"160%",listStyle:"none"},children:[(0,r.jsx)("img",{src:"/icons/bulletIcon.svg",alt:"",style:{width:"1rem",height:"1rem",flexShrink:0,marginTop:"0.22rem"}}),(0,r.jsx)("span",{style:{flex:1,minWidth:0},children:t})]})},c=/^[ \t]*[•‣·▪]\s*/,m=e=>{let t=String(null==e?"":e);if(!c.test(t)&&!/\n[ \t]*[•‣·▪]/.test(t))return t;let l=[],r=!1;for(let e of t.split("\n"))if(c.test(e)){let t=l.length?l[l.length-1].trim():"";r||""===t||l.push(""),l.push(e.replace(c,"- ")),r=!0}else l.push(e),r=!1;return l.join("\n")},x=e=>{let{markdown:t,allowLink:l}=e;return(0,r.jsx)("div",{children:t&&(0,r.jsx)(i,{children:(0,r.jsx)(s.Ay,{options:{forceBlock:!0,overrides:{h1:{props:{style:{fontSize:"1.5rem",fontWeight:"600",lineHeight:"150%"}}},h2:{props:{style:{fontSize:"1rem",fontWeight:"700",lineHeight:"150%",margin:"0.5rem 0 0.75rem"}}},h3:{props:{style:{fontSize:"1rem",fontWeight:"600",lineHeight:"150%",margin:"1rem 0 0.5rem"}}},h4:{props:{style:{fontSize:"1rem",fontWeight:"600",lineHeight:"150%",margin:"1rem 0 0.5rem"}}},h5:{props:{style:{fontSize:"0.875rem",fontWeight:"500",lineHeight:"150%",margin:"0.75rem 0 0.5rem"}}},h6:{props:{style:{fontSize:"0.875rem",fontWeight:"400",lineHeight:"150%",margin:"0.5rem 0 0.25rem"}}},a:{component:e=>{let{href:t,children:s}=e;if(l&&!l(t)){let e=a(s).trim();return e&&e!==String(t||"").trim()?(0,r.jsx)("span",{children:s}):null}return(0,r.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",style:{color:"#1e90ff",textDecoration:"underline",fontSize:"0.875rem",lineHeight:"150%"},children:s})}},ul:{props:{style:{paddingLeft:"0.25rem",marginBottom:"0",fontSize:"0.875rem",lineHeight:"150%",listStyle:"none"}}},ol:{props:{style:{paddingLeft:"1.5rem",marginBottom:"1rem",fontSize:"0.875rem",lineHeight:"150%"}}},li:{component:d},blockquote:{props:{style:{borderLeft:"4px solid #ccc",paddingLeft:"1rem",color:"#666",fontStyle:"italic",margin:"1rem 0",fontSize:"0.875rem",lineHeight:"150%"}}},code:{props:{style:{background:"#f5f5f5",padding:"0.2rem 0.4rem",color:"#000",borderRadius:"4px",fontFamily:"monospace",fontSize:"0.75rem",lineHeight:"150%"}}},pre:{props:{style:{background:"#f5f5f5",padding:"1rem",borderRadius:"6px",overflowX:"auto",fontSize:"0.75rem",lineHeight:"150%",fontFamily:"monospace",margin:"1rem 0"}}},hr:{props:{style:{border:"none",borderTop:"1px solid #ccc",margin:"2rem 0"}}},table:{props:{style:{width:"100%",borderCollapse:"collapse",margin:"1rem 0",fontSize:"0.875rem",lineHeight:"150%"}}},thead:{props:{style:{background:"#6C5CE9"}}},th:{props:{style:{padding:"0.75rem 1rem",textAlign:"left",fontWeight:"600",color:"#ffffff",borderBottom:"2px solid #E2E8F0"}}},td:{props:{style:{padding:"0.75rem 1rem",borderBottom:"1px solid #E2E8F0",color:"#475569"}}},tr:{props:{style:{borderBottom:"1px solid #E2E8F0"}}},strong:{props:{style:{fontWeight:"600"}}},em:{props:{style:{fontStyle:"italic"}}}}},children:m(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.