import{j as e,ab as T,T as x,y as d,bD as P,B as M,r as p,bA as L,u as w,am as D,ec as B,dx as k,cU as R,w as S,ed as O,q as I,a as $,cg as F,s as b,cL as E,bh as U,b3 as H,R as q,M as Y,d as Z,a3 as z}from"./index-BbiZcFRx.js";import{C as K}from"./index-DQ6MvdSO.js";import{g as V}from"./getRequestCallBackUrl-CNSCnRZg.js";import{C as W}from"./react-content-loader.es-BPYRnLr-.js";import{L as A}from"./index-ClswZVJv.js";import"./index-Doq0Z2P2.js";const G="data:image/svg+xml,%3csvg%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.0007%203C20.6434%203%2023.178%204.04983%2025.0467%205.91855C26.9154%207.78726%2027.9652%2010.3218%2027.9652%2012.9645C27.9652%2017.6771%2020.6579%2029.414%2018.56%2032.6943C18.4999%2032.7882%2018.4172%2032.8653%2018.3194%2032.9188C18.2217%2032.9723%2018.1121%2033.0003%2018.0007%2033.0003C17.8893%2033.0003%2017.7797%2032.9723%2017.6819%2032.9188C17.5842%2032.8653%2017.5014%2032.7882%2017.4413%2032.6943C15.3435%2029.4153%208.03613%2017.6771%208.03613%2012.9645C8.03613%2010.3218%209.08597%207.78726%2010.9547%205.91855C12.8234%204.04983%2015.3579%203%2018.0007%203V3Z'%20stroke='%23052A63'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0146%2012.9645C14.0146%2014.0216%2014.4346%2015.0354%2015.1821%2015.7829C15.9296%2016.5303%2016.9434%2016.9503%2018.0005%2016.9503C19.0576%2016.9503%2020.0714%2016.5303%2020.8189%2015.7829C21.5664%2015.0354%2021.9863%2014.0216%2021.9863%2012.9645C21.9863%2011.9074%2021.5664%2010.8935%2020.8189%2010.1461C20.0714%209.39857%2019.0576%208.97864%2018.0005%208.97864C16.9434%208.97864%2015.9296%209.39857%2015.1821%2010.1461C14.4346%2010.8935%2014.0146%2011.9074%2014.0146%2012.9645Z'%20stroke='%23052A63'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Q="_yourLocation_on3kn_88",X="_iconLocation_on3kn_103",J="_subtitleText_on3kn_107",f={yourLocation:Q,iconLocation:X,subtitleText:J},Je=({onClick:t,className:a=""})=>e.jsxs("div",{className:`${f.yourLocation} ${a}`,onClick:t,children:[e.jsx(T,{alt:"Pointed white pin with a rounded top and a smaller circle in the top.",className:f.iconLocation,image:G}),e.jsx(x,{text:"Location",className:f.subtitleText})]}),ee=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}),et=t=>ee.format(t).replace(/0\.00$/g,"0"),te="Add or update health information and conditions if they have changed.",ae="Add or update pharmacy, doctors, prescriptions, etc. if they have changed.",ne="Add pharmacy, doctors, prescriptions, etc. for more personalized quote.",oe="Add health information and conditions for a more personalized quote.",se="_healthCondition_1a6kf_88",ie="_quote_1a6kf_100",re="_text_1a6kf_109",ce="_viewButton_1a6kf_118",y={healthCondition:se,quote:ie,text:re,viewButton:ce},tt=({onClick:t,planType:a})=>{const o=d(i=>i.guidedDetails.medicareSteps),n=d(i=>i.guidedDetails.finalExpenseSteps),s=a===P?o.slice(1).some(i=>i.isCompleted):n.slice(1).some(i=>i.isCompleted);return e.jsxs("div",{className:y.healthCondition,children:[e.jsxs("div",{children:[e.jsx(x,{className:y.quote,text:s?"Keep your information up to date":"Get a personalized quote"}),e.jsx(x,{className:y.text,text:a===P?s?ae:ne:s?te:oe})]}),e.jsx(M,{label:"View",className:y.viewButton,onClick:t})]})},le="_plansCtaTitle_18d72_88",de="_heading3_18d72_94",pe="_text_18d72_100",ue="_heading5_18d72_106",he="_phone_18d72_111",g={plansCtaTitle:le,heading3:de,text:pe,heading5:ue,phone:he},me=()=>{var h,m;const{purlAgentData:t}=p.useContext(L),a=d(_=>_.planTypeDetail.medicareAgent),o=d(_=>_.planTypeDetail.finalExpenseAgent),{pathname:n}=w(),s=n.includes(D)?((h=a==null?void 0:a.virtualNumber)==null?void 0:h.substring(2))??"":((m=o==null?void 0:o.virtualNumber)==null?void 0:m.substring(2))??"",{phone:i}=p.useContext(B),u=s?k(s):i.text;return e.jsxs("div",{className:g.plansCtaTitle,children:[e.jsx(R,{className:g.heading5,text:"Get personalized guidance."}),e.jsx(S,{className:g.heading3,text:"Connect with a licensed insurance agent."}),e.jsx(O,{className:g.phone,number:u,text:u}),!t&&e.jsx(x,{className:g.text,text:"Or have an agent contact you"})]})},_e="_plansCta_euvs7_88",ge="_content_euvs7_100",xe="_plansCtaBtn_euvs7_126",v={plansCta:_e,content:ge,plansCtaBtn:xe},at=({dataGtm:t=""})=>{const{purlAgentData:a}=p.useContext(L),o=I(),[n,s]=p.useState(null),{isAuthenticated:i}=$(),u=()=>{const r=V(!1);o.push(r)},h=d(r=>r.planTypeDetail.medicareAgent),m=d(r=>r.planTypeDetail.finalExpenseAgent),_=d(r=>r.planTypeDetail.selectedPlanType);p.useEffect(()=>{(h||m)&&s(_==="Medicare"?h:m)},[i,a]);const j=()=>{window.location.pathname===F?a&&(a!=null&&a.isFinalExpenseAgent)?u():(b(E,"true"),o.push(U)):a&&(a!=null&&a.isMedicareAgent)?u():(b(E,"true"),o.push(H))};return e.jsx("div",{className:v.plansCta,"data-gtm":t,children:e.jsxs("div",{className:v.content,children:[e.jsx(me,{}),e.jsx(K,{onClick:j,className:v.plansCtaBtn,label:`Contact ${(n==null?void 0:n.agentFirstName)??"an Agent"}`})]})})},ye="/assets/image-CdcufVTv.svg",Ce="_notFoundIcon_5wn3p_88",fe={notFoundIcon:Ce},nt=({onClick:t})=>e.jsx(T,{className:fe.notFoundIcon,image:ye,onClick:t}),ot=t=>e.jsx("div",{className:"plan-card loader",children:e.jsxs(W,{speed:2,width:871,height:488,viewBox:"0 0 871 488",backgroundColor:"rgba(230, 236, 242, .59)",foregroundColor:"rgba(225, 233, 241, .97)",animate:!0,...t,children:[e.jsx("rect",{x:"0",y:"0",rx:"3",ry:"3",width:"615",height:"31"}),e.jsx("rect",{x:"0",y:"36",rx:"3",ry:"3",width:"196",height:"21"}),e.jsx("rect",{x:"638",y:"7",rx:"3",ry:"3",width:"168",height:"19"}),e.jsx("rect",{x:"0",y:"68",rx:"0",ry:"0",width:"804",height:"270"}),e.jsx("rect",{x:"0",y:"360",rx:"0",ry:"0",width:"804",height:"60"}),e.jsx("rect",{x:"700",y:"440",rx:"0",ry:"0",width:"107",height:"62"}),e.jsx("rect",{x:"590",y:"440",rx:"0",ry:"0",width:"107",height:"62"})]})}),ve="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='uuid-24e04b9a-f085-4e20-b6f2-9064e409e69e'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3e%3cdefs%3e%3cstyle%3e%20.uuid-488941f3-1fc5-44f7-934f-63136444b9b0%20{%20fill:%20%231157ee;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='uuid-488941f3-1fc5-44f7-934f-63136444b9b0'%20d='m7.9976,15.835c-1.5537,0-3.0586-.457-4.3521-1.3203-1.2925-.8633-2.29-2.0791-2.8853-3.5156C.1655,9.5625.0112,7.9971.3149,6.4731c.3027-1.5249,1.0439-2.9121,2.1436-4.0107C3.5571,1.3628,4.9443.6216,6.4692.3188c1.5254-.3042,3.0874-.1504,4.5259.4453,1.4365.5952,2.6523,1.5928,3.5156,2.8853.8633,1.2935,1.3203,2.7983,1.3203,4.3521,0,2.0913-.8154,4.0591-2.2949,5.5386s-3.4473,2.2949-5.5386,2.2949Zm.0039-14.6675c-.4458,0-.8936.0435-1.3369.1318-1.3306.2646-2.5405.9111-3.499,1.8701-.959.9585-1.6055,2.1685-1.8701,3.499-.2646,1.3291-.1304,2.6948.3887,3.9478s1.3896,2.3135,2.5171,3.0664c1.1284.7539,2.4409,1.1523,3.7964,1.1523,1.8247,0,3.5405-.7109,4.8315-2.002s2.002-3.0068,2.002-4.8315c0-1.3555-.3984-2.668-1.1523-3.7964-.7529-1.1274-1.8135-1.998-3.0664-2.5171-.835-.3457-1.7197-.5205-2.6108-.5205Z'/%3e%3cpath%20class='uuid-488941f3-1fc5-44f7-934f-63136444b9b0'%20d='m6.0001,11.6075c.0005-.0512.0132-.1017.0373-.1487.0241-.0469.0591-.0894.103-.1249.0439-.0354.0957-.0632.1526-.0817.0568-.0184.1175-.0271.1784-.0257h1.0253v-3.1263h-.91c-.0619.0024-.1237-.0057-.1818-.0239-.058-.0182-.1111-.0461-.1559-.082-.0448-.0359-.0805-.079-.1049-.1268-.0244-.0478-.037-.0992-.037-.1512s.0126-.1034.037-.1512c.0244-.0478.0601-.091.1049-.1268.0448-.0359.0979-.0638.1559-.082.0581-.0182.1199-.0263.1818-.0239h1.4236c.3266,0,.5055.19.5055.4793v3.4147h1.0243c.122,0,.239.0407.3253.1131.0863.0724.1348.1706.1348.2729,0,.1024-.0485.2006-.1348.273-.0863.0724-.2033.1131-.3253.1131h-3.0687c-.0619.0013-.1235-.0078-.1811-.0269-.0576-.0191-.11-.0478-.154-.0843-.044-.0366-.0788-.0802-.1022-.1283-.0234-.0481-.035-.0997-.034-.1516Z'/%3e%3cpath%20class='uuid-488941f3-1fc5-44f7-934f-63136444b9b0'%20d='m6.6641,5c0-.1978.0587-.3911.1685-.5556.1099-.1644.2661-.2926.4488-.3683.1827-.0757.3838-.0955.5778-.0569.194.0386.3722.1338.512.2737.1398.1399.2351.318.2737.512.0386.194.0188.3951-.0569.5778-.0757.1827-.2039.3389-.3683.4488-.1645.1099-.3578.1685-.5556.1685-.2649-.0009-.5188-.1066-.7061-.2939-.1873-.1873-.293-.4412-.2939-.7061Z'/%3e%3c/svg%3e",Ae="Offered by private insurance companies, Medicare Part D prescription drug plans help you pay for your prescription drugs.",Pe=["You must have Parts A (Hospital) or B (Medical) (Original Medicare) to join a Part D prescription drug plan.","Part D coverage is often purchased as a stand-alone Part D prescription drug plan.","You can also receive Part D benefits from a Medicare Advantage plan that includes prescription drug coverage.","With a stand-alone Part D prescription drug plan, you pay a separate monthly premium to an insurance company.","Medicare Advantage plans with prescription drug coverage generally don't require you to pay an extra Part D premium.","Prescription drug coverage and costs vary from plan to plan.","Each plan has a formulary — a list of the specific drugs the plan covers.","Many plan formularies also have tiers that place covered drugs into different costs levels.","Drugs in a lower tier will generally cost you less than drugs in a higher tier."],be="An option for receiving your Medicare coverage through a private insurer.",Ee=["Combines Part A hospital and Part B medical coverage together into one plan. Many Medicare Advantage plans often include Part D drug coverage as well, offering an all-in-one option.","Typically includes additional benefits not covered by Original Medicare.","Offers predictable costs and a firm limit on what you pay out-of-pocket for covered medical expenses each year.","Plans typically have a network of contracted providers.","Some plans may give you the ability to use out-of-network providers for the same copay as providers in the plan’s network, while other plans allow out-of-network visits but at a higher cost.","You must continue to pay your Part B premium.","Depending on the plan, you may pay a separate monthly premium to a private insurance company."],Ne="A D-SNP is a kind of Medicare Advantage plan that provides healthcare benefits for people that have both Medicare and medical assistance from a state plan under Medicaid. Dual Eligible Special Needs Plans:",Te={"Allow management of healthcare services under one policy.":"Allow management of healthcare services under one policy","Are usually HMOs or PPOs.":"Are usually HMOs or PPOs.","Are available through certain private insurance companies in some states but not all.":"Are available through certain private insurance companies in some states but not all","Provide all benefits covered by Original Medicare (Part A and Part B).":"Provide all benefits covered by Original Medicare (Part A and Part B)","Provide Prescription Drug coverage (Part D).":"Provide Prescription Drug coverage (Part D)","Typically includes extra benefits not covered by Original Medicare.":[]},Le="_learnMoreAboutPlanType_hjggn_88",je="_link_hjggn_99",Me="_icon_hjggn_112",we="_modalHeader_hjggn_118",De="_modalContent_hjggn_123",Be="_modalFooter_hjggn_143",ke="_modalContentDsnp_hjggn_149",c={learnMoreAboutPlanType:Le,link:je,icon:Me,modalHeader:we,modalContent:De,modalFooter:Be,modalContentDsnp:ke},N=6,st=1,C=11,Re=e.jsx(A,{title:Ae,bulletList:Pe}),Se=e.jsx(A,{title:be,bulletList:Ee}),Oe=e.jsx(A,{title:Ne,bulletList:Te,subBullet:!0}),Ie=({planType:t,className:a=""})=>{const[o,n]=p.useState(!1),s=t===N?"Advantage":"Part D";return e.jsxs("div",{className:`${c.learnMoreAboutPlanType} ${a}`,children:[e.jsx(q,{onClick:()=>n(!0),text:t===C?"Learn more about Special Needs Plans":`Learn more about Medicare ${s} plans`,className:c.link,iconClassName:c.icon,icon:ve})," ",e.jsx(Y,{isOpen:o,children:e.jsx(Z,{contentClassName:`${c.modalContent} ${t===C?c.modalContentDsnp:""}`,footerClassName:c.modalFooter,headerClassName:c.modalHeader,headerTitle:t===C?"Dual Eligible Special Needs Plans":"Medicare "+s,footerButtonClicked:()=>n(!1),onClose:()=>n(!1),children:t===N?Se:t===C?Oe:Re})})]})},$e="_planTypeBanner_1522v_88",Fe="_planTypeBannerContent_1522v_92",Ue="_finalExpenseBannerContent_1522v_102",He="_heading2_1522v_112",qe="_learnMore_1522v_116",Ye="_text_1522v_120",Ze="_copyContainer_1522v_127",ze="_heading5_1522v_132",l={planTypeBanner:$e,planTypeBannerContent:Fe,finalExpenseBannerContent:Ue,heading2:He,learnMore:qe,text:Ye,copyContainer:Ze,heading5:ze},it=({text:t,title:a,planType:o,isFinalExpense:n=!1})=>e.jsx("div",{className:l.planTypeBanner,children:e.jsxs("div",{className:n?l.finalExpenseBannerContent:l.planTypeBannerContent,children:[e.jsx(z,{className:l.heading2,text:a}),e.jsxs("div",{className:l.copyContainer,children:[e.jsx(x,{className:l.text,text:t})," ",!n&&e.jsx(Ie,{className:l.learnMore,planType:o})]})]})});export{Ie as L,nt as N,tt as P,Je as Y,ot as a,at as b,it as c,st as d,N as e,et as f,C as g};
//# sourceMappingURL=index-BMWB2O3x.js.map