Mailspring/packages/local-sync/spec/fixtures/MessageFactory/computeSnippet/personal_capital.html
Christine Spang a234570118 [local-sync] Rename extract{Snippet,Contacts} in message-factory
Summary:
We have another function called extractContacts, in its own file,
extract-contacts.js, which is used to create Contact objects. This has
confused me a number of times and also leads to grep collisions.

This patch also makes the snippet unit tests pass again after a recent
API change.

Test Plan: included unit tests, manual

Reviewers: halla, evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3623
2017-01-10 10:41:35 -08:00

461 lines
27 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Personal Capital</title>
<style>
body {margin:0; padding:0; -webkit-text-size-adjust:none; -ms-text-size-adjust:none;} img{line-height:100%; outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;} a img{border: none;} #backgroundTable {margin:0; padding:0; width:100% !important; } a, a:link{color:#2A5DB0; text-decoration: underline;} table td {border-collapse:collapse;} span {color: inherit; border-bottom: none;} span:hover { background-color: transparent; }
@media only screen{td[class=body] img{max-width:100% !important;height:auto !important}td[class=body] .blockquote .blockquote-inner{padding:0 0 15px 0 !important;margin-top:-40px;display:block}td[class=body] .blockquote.person{padding:30px 20px 20px !important}td[class=body] .blockquote div{width:58px;height:58px;overflow:hidden;border-radius:50%}td[class=body] .blockquote div img{min-width:92px !important;margin:-17px}td[class=body] .blockquote .title{padding:0 0 2px 10px !important}td[class=body] .blockquote .quote{padding:0 !important}}@media only screen and (max-width: 690px){td[class=body] .blockquote{padding:0 20px}td[class=body] .spacer{display:none}}@media only screen and (max-width: 500px){td[class=body]
.col{display:block;width:100%;text-align:left;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}td[class=body] .reverse-col-a{display:table-footer-group}td[class=body] .reverse-col-b{display:table-header-group}td[class=body] .footer .reverse-col-b img{margin:-27px auto 20px !important}td[class=body] .footer .col{text-align:center}td[class=body] .hero{background-size:100% auto}td[class=body] .hero-1,td[class=body] .hero-2,td[class=body] .hero-3{height:auto !important}td[class=body] .hero-1 .col:first-child,td[class=body] .hero-2 .col:first-child,td[class=body] .hero-3 .col:first-child{margin-bottom:25px}td[class=body] .hero-1 .col:first-child td,td[class=body] .hero-2 .col:first-child td,td[class=body] .hero-3 .col:first-child td{padding:0 25px
!important}td[class=body] .hero-2 .content-wrapper{display:block;width:100%;height:auto !important;padding:30px 0}td[class=body] .hero-2 .content-wrapper td{padding-left:25px !important;padding-right:25px !important}td[class=body] .hero-3 .col:first-child td,td[class=body] .hero-3 .col td{padding:0 !important}td[class=body] .blockquote.person{display:block;padding-bottom:20px !important;margin:0 20px}td[class=body] .icon-copy{padding:26px 32px !important}td[class=body] .icon-copy img{margin:0 auto;width:auto !important}td[class=body] .icon-copy .col:first-child{margin-bottom:20px}td[class=body] .img-copy .col td,td[class=body] .img-copy .reverse-col-a td,td[class=body] .img-copy .reverse-col-b td{padding-right:0 !important}td[class=body] .img-copy .hero-img{margin:0 auto}td[class=body]
.img-copy .hero-img td{padding-left:0 !important}td[class=body] .img-copy .reverse-col-b .hero-img{margin-bottom:20px}td[class=body] .article td{padding:30px 25px 0 !important}td[class=body] .callout{padding:35px 25px 40px !important}td[class=body] .callout .col:first-child{margin-bottom:25px}}@media only screen and (max-width: 500px) and (max-width: 350px){td[class=body] .hero{background-size:auto 100%}}
</style>
</head><body style="background: #f1f1f1;font-family:Arial, Helvetica, sans-serif; font-size:1em;">
<table id="backgroundTable" width="100%" cellspacing="0" cellpadding="0" border="0" style="background:#f1f1f1;">
<tr>
<td class="body" align="center" valign="top" style="background:#3b3b3b; padding: 0 25px;" width="100%">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="header" width="650" style="padding: 12px 0;">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="475" align="left">
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619453c81d9858ed0c4bc0f0c96a61d957d60db6891db41d501a6a9b9ca79c29c1df"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_03.gif" alt="Personal Capital" style="display: block; border: 0;" /></a>
</td>
<td width="175" align="right">
<table cellpadding="0" cellspacing="0">
<tr>
<td style="font-family: helvetica,arial,sans-serif; font-size: 14px; font-weight: bold; border: 1px solid #666666; border-radius: 6px;">
<a href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8e817eb925144b7577d80a1abeceaf0e574ad2440f255b92a68778a149eacf072d" style="color: #fff; text-decoration: none; display: inline-block; border-color: #3b3b3b; border-style: solid; border-top-width: 5px; border-bottom-width: 5px; border-left-width: 10px; border-right-width: 10px; border-radius: 10px;">
Sign In
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="body" align="center" valign="top" style="background:#fafafa;" width="100%">
<table cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" border="0" bordercolor="" width="100%" bgcolor=""><tr><td><table width="100%" bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0"><tr><td style="font-family:Arial; font-size:13px"><table cellpadding="0" cellspacing="0" width="100%" align="center">
<tbody>
<tr>
<td align="center" valign="top" style="background-color: #000000;" width="100%">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="hero hero-3" width="650" align="center" valign="bottom">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="center" style="padding: 30px 35px; background-color: rgba(0, 0, 0, 0.74902);">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="col" width="369" align="left">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left" style="font-family: helvetica, arial, sans-serif; font-size: 24px; color: #ffffff; padding: 0px 30px 0px 0px; line-height: 32px !important;">
Your November Statement is Ready to View</td>
</tr>
</tbody>
</table>
</td>
<td class="spacer" width="1" valign="middle">
<img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_02.png" alt="" style="display: block; border: 0px;" />
</td>
<td class="col" width="210" align="right">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="right" style="font-family: helvetica, arial, sans-serif; font-size: 18px; color: #ffffff; padding: 0px 0px 0px 25px;">
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619408334c8b3ace99afbdd5ac855166e055844039fc27920a4386676a56a34c377f" style="text-decoration: none; color: #ffffff; border-color: #3b8fe1; border-style: solid; border-width: 10px 28px; border-radius: 4px; display: inline-block; background-color: #3b8fe1;">Get Report</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table></td></tr></table></td></tr></table>
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" border="0" bordercolor="" width="100%" bgcolor=""><tr><td><table width="100%" bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0"><tr><td style="font-family:Arial; font-size:13px"><table cellpadding="0" cellspacing="0" class="dashedBorder" align="center">
<tbody>
<tr>
<td class="article" width="650" align="left">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left" style="font-family: helvetica, arial, sans-serif; font-size: 16px; color: #4c4c4c; padding: 30px 35px 0px; line-height: 24px !important;"><i>
We are pleased to deliver your November month-end snapshot report. By clicking on the button above, you can view, download, or print your current November month-end report and previous month-end reports. If you'd like to discuss the report or any other financial planning topics, please schedule some time <a href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8eec0451d6dbbc18d9c10f0b733f4221f26f13c251d4e5033c51c4fb9077c74de8" target="_blank" style="color: #3b8fe1; text-decoration: none;">directly on my calendar</a>.
</i>
<br />
<br />
<strong>November Recap</strong>
<br />
<br />
Donald Trump won the US presidential election, surprising most analysts. Stocks initially fell in November before quickly rebounding on hopes that Trump's policies will boost the economy. US stocks finished the month with solid gains, but all other major asset classes lost value.
<br />
<br />
With one month to go in 2016, US stocks are now in prime position to extend their reign of asset class domination. US stocks have been either the best or second best performing asset class in six of the past seven years. Historically, streaks of this magnitude and duration by either US or International Stocks are not uncommon, but they never last forever. In our view, the longer this trend lasts, the more attractive a diversified approach with periodic rebalancing becomes on a forward-looking basis.
<br />
<br />
Solid US economic growth data this month leaves the Fed squarely on track to raise interest rates in December. The short-term impact has been a boost to the dollar, which has been one factor in recent US stock leadership. This environment also puts pressure on bonds, with the Barclays Global Aggregate Bond Index suffering its worst monthly loss since its inception in 1990. Bonds in our managed portfolios held up better than the major aggregate indexes. TIPS, high yield corporate bonds and a modestly lower effective duration all helped.
<br />
<br />
Based on current economic data, we expect the Fed to raise rates this month, and more than likely rates will be raised at least twice in 2017. However, as long as the hikes remain spaced out and in small denominations, they shouldn't derail economic growth and will create only minor headwinds for stocks and bonds.
<br />
<br />
Diversified Personal Capital managed accounts performed well compared to most globally diversified approaches in November. Within US stocks, small cap exposure helped our more evenly weighted US equity approach to modestly outperform major capitalization weighted indexes in most portfolios.
<br />
<br />
As always, let me know if there is anything we can do or if you have any questions.
<br />
<br />
Greg
<br />
<br />
<p>
</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table></td></tr></table></td></tr></table>
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
<table width="100%" align="center" cellspacing="0" cellpadding="0" class="dashedBorder">
<tbody>
<tr>
<td style="padding-top: 15px;">&nbsp;</td>
</tr>
<tr>
<td width="100%" valign="top" align="center" style="background-color: #3b8fe1;">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="650">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="callout" style="padding: 60px 25px 60px;">
<!-- Service Advisor -->
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<!-- Advisor 2 Left Col -->
<td width="120" align="left" class="col" style="padding: 30px;">
<img alt="Greg DePalma" src="https://d1q4amq3lgzrzf.cloudfront.net/advisor/images/005F00000045DtMIAU.jpg" />
</td>
<!-- Advisor 2 Right Col -->
<td width="530" align="left" class="col">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100;">
Your Advisor
</td>
</tr>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 36px; color: #ffffff; padding-bottom: 10px; font-weight: 100;">
Greg DePalma
</td>
</tr>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100; line-height: 20px;">
Call: 855-855-8143<br />
Email: <a style="color: #ffffff; text-decoration: underline;" href="mailto:gregory.depalma@personalcapital.com">gregory.depalma@personalcapital.com</a><br />
<a style="color: #ffffff; text-decoration: underline;" href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8eec0451d6dbbc18d9c10f0b733f4221f26f13c251d4e5033c51c4fb9077c74de8">Schedule a call with Greg</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="callout" style="padding: 30px 25px 30px;">
<!-- Advisor -->
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<!-- Advisor 1 Left Col -->
<td width="120" align="left" class="col" style="padding: 30px;">
<img alt="Garrett Gunberg" src="https://home.personalcapital.com/advisor/images/005F0000001EF0oIAG.jpg" />
</td>
<td width="530" align="left" class="col">
<!-- Advisor 1 Right Col -->
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100;">
Your Advisor
</td>
</tr>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 36px; color: #ffffff; padding-bottom: 10px; font-weight: 100;">
Garrett Gunberg
</td>
</tr>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 16px; color: #ffffff; font-weight: 100; line-height: 20px;">
Call: 855-855-7974<br />
Email: <a style="color: #ffffff; text-decoration: underline;" href="mailto:garrett.gunberg@personalcapital.com">garrett.gunberg@personalcapital.com</a><br />
<a style="color: #ffffff; text-decoration: underline;" href="http://click.email.personalcapital.com/?qs=70fbcba67c989d8eafcc2999101e78ce966aabaf92646bffd802534a7027a7b54fb902f71d4109d1">Schedule a call with Garrett</a>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" class="dashedBorder" align="center">
<tbody>
<tr>
<td width="650" align="center">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="center" style="font-family: helvetica, arial, sans-serif; font-size: 36px; color: #000001; padding: 30px 25px 0px;">
$3 Billion
</td>
</tr>
<tr>
<td align="center" style="font-family: helvetica, arial, sans-serif; font-size: 23px; color: #4c4c4c; padding: 8px 25px 0px;">
In Assets Under Management
</td>
</tr>
<tr>
<td align="center" style="font-family: helvetica, arial, sans-serif; font-size: 16px; color: #4c4c4c; padding: 12px 25px 0px; line-height: 24px !important;">
Hundreds of thousands of families across the country are using Personal Capital to manage their money. We now manage over $3 billion in assets as an
investment advisor, helping many of these families<br/>
reach their long-term financial goals. <br/>
<br />
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
<tr>
<td align="center">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="body" align="center" valign="top" style="background:#fafafa;" width="100%">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="650" align="center" style="padding: 30px 0 40px;">
<img src="" alt="" style="display: block; border: 0;" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="body" align="center" valign="top" style="background:#f1f1f1; padding: 0 20px; border-bottom: 10px solid #3b3b3b;" width="100%">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="footer" width="650" align="center" style="padding: 20px 0;">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="reverse-col-a" width="300" align="left" valign="bottom">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="left" style="padding: 0 0 15px;">
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619453c81d9858ed0c4bc0f0c96a61d957d60db6891db41d501a6a9b9ca79c29c1df"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_09.gif" alt="Personal Capital" style="display: block; border: 0;" /></a>
</td>
</tr>
<tr>
<td align="left" style="font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
Personal Capital is the smart way for you to understand, manage and grow your net worth.
</td>
</tr>
</table>
</td>
<td class="reverse-col-b" width="350" align="right" valign="top">
<img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/MultiDeviceForTemplate1.png" alt="" style="display: block; border: 0; margin-top: -27px;" />
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="1" valign="middle" style="padding: 20px 0;">
<div style="width: 100%; height: 1px; background: #d5d5d5; font-size: 0;">&nbsp;</div>
</td>
<td width="150" align="center" style="padding: 20px 0;">
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding: 0 3px;">
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a619467bdabdc8f81d85368f4d5b20b96ce558c7078bbf252a685afbb0b6db2c884f8"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_11.gif" alt="Facebook" style="display: block; border: 0;" /></a>
</td>
<td style="padding: 0 3px;">
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a6194ec23b3d52c308fcf8efc8084d080381decbbf66166d32468b89241bbf93bc29a"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_13.gif" alt="Twitter" style="display: block; border: 0;" /></a>
</td>
<td style="padding: 0 3px;">
<a href="http://click.email.personalcapital.com/?qs=5e2e9ec62f5a6194837f85f63b98f53d9c160ebb438009c1829a4f980db8ebc8f1974d2d5bc06ae0"><img src="http://image.email.personalcapital.com/lib/fe92127274650d7c7c/m/1/pc_template_17.gif" alt="LinkedIn" style="display: block; border: 0;" /></a>
</td>
</tr>
</table>
</td>
<td height="1" valign="middle" style="padding: 20px 0;">
<div style="width: 100%; height: 1px; background: #d5d5d5; font-size: 0;">&nbsp;</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%" style="border-bottom:solid 1px #ccc;padding-bottom:20px;">
<tr>
<td class="col" width="33.33%" align="center" valign="top" style="padding: 15px 7px; font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
<strong>Silicon Valley</strong><br />
1 Circle Star Way, Suite 189<br />
San Carlos, California 94070
</td>
<td class="col" width="33.33%" align="center" valign="top" style="padding: 15px 7px; font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
<strong>San Francisco</strong><br />
500 Howard Street, Suite 400<br />
San Francisco, California 94105
</td>
<td class="col" width="33.33%" align="center" valign="top" style="padding: 15px 7px; font-family: helvetica,arial,sans-serif; font-size: 12px; line-height: 22px !important; color: #999999;">
<strong>Denver</strong><br />
999 18th Street, Suite 800s<br />
Denver, Colorado 80202
</td>
</tr>
</table>
<p style="color:#999;font-family:Helvetica,Arial,sans-serif;font-size:10px;margin-top:20px;">
Too much email? <a href="http://click.email.personalcapital.com/profile_center.aspx?qs=f5a10185ba21f8d4dc8e57a5cf3fe0d3ef10d88be8ccc5a37aa9b725547c494d6bf17b75e3bf3f9007562116d1fbb52fa922d53ae2cb4db3762c53825893aca7" target="_blank" style="color:#3b8fe1;">Change your preferences</a> or <a href="http://click.email.personalcapital.com/unsub_center.aspx?qs=f5a10185ba21f8d489281ffd4bcc66c51cf05099b8669555bdb8b63ed4b9b28d30b21c8ff8adb25cac589d49d3a475aac0bef732923b4003cdc4940460c34ceb" target="_blank" style="color:#3b8fe1;">unsubscribe</a>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div style="display:none; white-space:nowrap; font:15px courier; line-height:0;">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
<!-- Exact Target tracking code -->
<img src="http://click.email.personalcapital.com/open.aspx?ffcb10-fe9d16797765047f77-fe3217707162047e711677-fe92127274650d7c7c-fec8167072610575-fe5b10747c6c077d7611-ff991072" width="1" height="1">
<!--
X-Return-Path: bounce-207518_HTML-44983035-2921022-6211919-42@bounce.email.personalcapital.com
-->
</body></html>