An error occurred while processing the template.
The following has evaluated to null or missing: ==> serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") [in template "10154#10192#153098209" at line 1, column 21] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign utilServ = serviceLocator.fin... [in template "10154#10192#153098209" at line 1, column 1] ----
1<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") >
2<#assign url404 = '/error/404.html' >
3<#assign oadURL = propsUtil.get('elan.oad.url') >
4<#assign url = request.attributes.CURRENT_URL >
5<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
6
7<#if qstringmap["ecid"]?has_content>
8 <#assign ecidExt="&ecid="+qstringmap["ecid"]?first>
9<#else>
10 <#assign ecidExt="">
11</#if>
12
13<#assign lc= qstringmap["ecdma-lc"]?first>
14<#assign prefix = "00000" >
15<#assign lcWithPrefix = prefix + lc >
16<#assign withPrefixLength = lcWithPrefix?length >
17<#assign startHere = withPrefixLength - 5>
18<#assign lc = lcWithPrefix?substring(startHere)>
19<#assign environment = url?replace('/syn.*','','r')>
20
21
22<#if lc?has_content>
23 <#assign clientProfileService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService") >
24 <#assign clientProfileList = clientProfileService.findByLocationCode(lc)>
25 <#assign clientProfile = clientProfileList?first>
26 <#assign clientName = clientProfile.getMarketingNameLong()>
27 <#assign pbu = clientProfile.getPbu()>
28 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
29 <#assign logoFileName = clientProfile.getLogoBFormat1()>
30 <#assign cdnLogoUrl = propsUtil.get('rackspace.cdn.web.url')>
31 <#assign fiCardsData = utilServ.makeCall('crcTier3GetPbuData','0&'+pbu+'&'+subbu)>
32
33
34 <div class="content-container content-container-main">
35 <#if url?contains("offerType")>
36 <#if (fiCardsData?size> 0) >
37 <#assign currentOffer= qstringmap["offerType"]?first>
38 <header class="jn-header">
39 <div>
40 <a href="${environment}/syn/overview?ecdma-lc=${lc}${ecidExt}"><< Back to Overview</a>
41 </div>
42 <div>
43 <img src="${cdnLogoUrl!''}/${logoFileName!''}" alt="${clientName!''}">
44 <div class="styled-select slate">
45 <select>
46 <#list fiCardsData as fib>
47 <#if fib.offerType=="108">
48 <#assign productURL="platinum">
49 <#assign productName="Visa® Platinum Card">
50 <#elseif fib.offerType=="101">
51 <#assign productURL = "real-rewards">
52 <#assign productName = "Visa® Real Rewards Card">
53 <#elseif fib.offerType == "115">
54 <#assign productURL = "secure-visa">
55 <#assign productName = "Visa® Secured Card" >
56 <#elseif fib.offerType == "128">
57 <#assign productURL = "business-cashback">
58 <#assign productName = "Visa® Business Cash Card" >
59 <#elseif fib.offerType == "143">
60 <#assign productURL = "business-real-rewards">
61 <#assign productName = "Visa® Business Real Rewards Card" >
62 <#elseif fib.offerType == "123">
63 <#assign productURL = "business-rewards-plus">
64 <#assign productName = "Visa® Business Rewards PLUS Card" >
65 </#if>
66 <#if (fib.offerType == "${currentOffer}")>
67 <option value="${environment}/syn/${productURL}?ecdma-lc=${lc}&offerType=${fib.offerType}${ecidExt}" selected="selected">${productName}</option>
68 <#else>
69 <option value="${environment}/syn/${productURL}?ecdma-lc=${lc}&offerType=${fib.offerType}${ecidExt}">${productName}</option>
70 </#if>
71 </#list>
72 </select>
73 </div>
74 </div>
75 </header>
76 <script>
77 AUI().ready(function () {
78 jQuery('.styled-select select').change(function () {
79 location.href = this.value;
80 });
81 });
82 </script>
83 <#else>
84 <script>
85 console.log("FI Cards Data empty");
86 //location.href = '${url404}';
87 </script>
88 </#if>
89 <#else>
90 <header class="jn-header">
91 <div>
92 <img src="${cdnLogoUrl!''}/${logoFileName!''}" alt="${clientName!''}">
93 </div>
94 </header>
95 </#if>
96 </div>
97
98</#if>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") [in template "10154#10192#153098206" at line 1, column 21] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign utilServ = serviceLocator.fin... [in template "10154#10192#153098206" at line 1, column 1] ----
1<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") >
2<#assign url404 = '/error/404.html' >
3<#assign oadURL = propsUtil.get('elan.oad.url') >
4<#assign url = request.attributes.CURRENT_URL >
5<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
6
7<#assign lc=qstringmap["ecdma-lc"]?first>
8<#assign prefix="00000">
9<#assign lcWithPrefix=prefix + lc>
10<#assign withPrefixLength=lcWithPrefix?length>
11<#assign startHere=withPrefixLength - 5>
12<#assign lc=lcWithPrefix?substring(startHere)>
13
14 <#if lc?has_content>
15
16 <#assign clientProfileService=serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService")>
17 <#assign clientProfileList=clientProfileService.findByLocationCode(lc)>
18 <#assign clientProfile=clientProfileList?first>
19 <#assign clientName=clientProfile.getMarketingNameLong()>
20 <#assign pbu=clientProfile.getPbu()>
21 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
22 <#assign cdnCardArtUrl=propsUtil.get('rackspace.cdn.cardart.url')>
23 <#assign fiCardsData=utilServ.makeCall('crcTier3GetPbuData','0&'+pbu+'&'+subbu)>
24
25 <#if fiCardsData??>
26 <#list fiCardsData as fib>
27 <#assign productOfferID = fib.offerId>
28 <#assign cardArtImage = cdnCardArtUrl + "/" + fib.filename + ".png">
29 <#if url?contains("offerType")>
30 <#assign currentOffer=qstringmap["offerType"]?first>
31 <#if (fib.offerType=="${currentOffer}" )>
32 <div class="content-container content-container-main">
33 <div class="jn-hero jn-hero-card">
34 <article class="jn-hero-container">
35 <div class="jn-hero-container-data">
36 <article>
37 <div>
38 <img src="${cardArtImage!''}" alt="${clientName!''}" title="${clientName!''}"
39 class="jn-img-responsive">
40 </div>
41 <div>
42 <div>${primaryHeadlineText.getData()}</div>
43 <div class="feature-text">${primaryFeatureText.getData()}</div>
44 <#if termsAndConditions.getData() == "yes">
45 <div class="intro">
46 <strong>Intro APR<sup>*</sup> for Purchases and Balance Transfers: </strong>${fib.APR}
47 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a>
48 </div>
49 </#if>
50 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer" class="jn-button" data-button-name="cta-button-top">${ctaText.getData()}</a>
51 </div>
52
53 </article>
54 </div>
55 </article>
56 </div>
57 </div>
58 </#if>
59 <#elseif (fib.offerType=="108" || fib.offerType=="128" )>
60 <#if fib.offerType=="108">
61 <#assign productName="platinum">
62 <#elseif fib.offerType=="128">
63 <#assign productName="business-cash">
64 </#if>
65 <div class="content-container content-container-main product-${productName} tier3-hero-${class.getData()}">
66 <div class="jn-hero jn-hero-card">
67 <article class="jn-hero-container">
68 <div class="jn-hero-container-data">
69 <article>
70 <div>
71 <img src="${cardArtImage!''}" alt="${clientName!''}" class="jn-img-responsive">
72 </div>
73 <div>
74 <div>${primaryHeadlineText.getData()}</div>
75 <div class="feature-text">${primaryFeatureText.getData()}</div>
76 <#if termsAndConditions.getData() == "yes">
77 <div class="intro">
78 <strong>Intro APR<sup>*</sup> for Purchases and Balance Transfers: </strong>${fib.APR}
79 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a>
80 </div>
81 </#if>
82 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer" class="jn-button" data-button-name="cta-button-top">${ctaText.getData()}</a>
83 </div>
84 </article>
85 </div>
86 </article>
87 </div>
88 </div>
89 <script>
90 $(document).ready(function () {
91 $('.journal-content-article').each(function (i, element) {
92 var title = $(this).attr('title');
93 $(this).attr('data-title', title);
94 $(this).removeAttr('title')
95 });
96
97 var firstBannerHero = $('.journal-content-article[data-title="Tier 3 Syndicated Hero Visa Platinum Oct/Nov"]'),
98 secondBannerHero = $('.journal-content-article[data-title="Tier 3 Syndicated Landing Hero Business Cash Oct/Nov"]');
99 firstBannerHero.find('div.product-business-cash').remove();
100 secondBannerHero.find('div.product-platinum').remove();
101 console.log(firstBannerHero, secondBannerHero);
102 });
103 </script>
104 </#if>
105 </#list>
106 <#else>
107 <script>
108 //console.log("test");
109 console.log("FI Cards Data empty");
110 // location.href = '${url404}';
111 </script>
112 </#if>
113 </#if>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") [in template "10154#10192#153098206" at line 1, column 21] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign utilServ = serviceLocator.fin... [in template "10154#10192#153098206" at line 1, column 1] ----
1<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") >
2<#assign url404 = '/error/404.html' >
3<#assign oadURL = propsUtil.get('elan.oad.url') >
4<#assign url = request.attributes.CURRENT_URL >
5<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
6
7<#assign lc=qstringmap["ecdma-lc"]?first>
8<#assign prefix="00000">
9<#assign lcWithPrefix=prefix + lc>
10<#assign withPrefixLength=lcWithPrefix?length>
11<#assign startHere=withPrefixLength - 5>
12<#assign lc=lcWithPrefix?substring(startHere)>
13
14 <#if lc?has_content>
15
16 <#assign clientProfileService=serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService")>
17 <#assign clientProfileList=clientProfileService.findByLocationCode(lc)>
18 <#assign clientProfile=clientProfileList?first>
19 <#assign clientName=clientProfile.getMarketingNameLong()>
20 <#assign pbu=clientProfile.getPbu()>
21 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
22 <#assign cdnCardArtUrl=propsUtil.get('rackspace.cdn.cardart.url')>
23 <#assign fiCardsData=utilServ.makeCall('crcTier3GetPbuData','0&'+pbu+'&'+subbu)>
24
25 <#if fiCardsData??>
26 <#list fiCardsData as fib>
27 <#assign productOfferID = fib.offerId>
28 <#assign cardArtImage = cdnCardArtUrl + "/" + fib.filename + ".png">
29 <#if url?contains("offerType")>
30 <#assign currentOffer=qstringmap["offerType"]?first>
31 <#if (fib.offerType=="${currentOffer}" )>
32 <div class="content-container content-container-main">
33 <div class="jn-hero jn-hero-card">
34 <article class="jn-hero-container">
35 <div class="jn-hero-container-data">
36 <article>
37 <div>
38 <img src="${cardArtImage!''}" alt="${clientName!''}" title="${clientName!''}"
39 class="jn-img-responsive">
40 </div>
41 <div>
42 <div>${primaryHeadlineText.getData()}</div>
43 <div class="feature-text">${primaryFeatureText.getData()}</div>
44 <#if termsAndConditions.getData() == "yes">
45 <div class="intro">
46 <strong>Intro APR<sup>*</sup> for Purchases and Balance Transfers: </strong>${fib.APR}
47 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a>
48 </div>
49 </#if>
50 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer" class="jn-button" data-button-name="cta-button-top">${ctaText.getData()}</a>
51 </div>
52
53 </article>
54 </div>
55 </article>
56 </div>
57 </div>
58 </#if>
59 <#elseif (fib.offerType=="108" || fib.offerType=="128" )>
60 <#if fib.offerType=="108">
61 <#assign productName="platinum">
62 <#elseif fib.offerType=="128">
63 <#assign productName="business-cash">
64 </#if>
65 <div class="content-container content-container-main product-${productName} tier3-hero-${class.getData()}">
66 <div class="jn-hero jn-hero-card">
67 <article class="jn-hero-container">
68 <div class="jn-hero-container-data">
69 <article>
70 <div>
71 <img src="${cardArtImage!''}" alt="${clientName!''}" class="jn-img-responsive">
72 </div>
73 <div>
74 <div>${primaryHeadlineText.getData()}</div>
75 <div class="feature-text">${primaryFeatureText.getData()}</div>
76 <#if termsAndConditions.getData() == "yes">
77 <div class="intro">
78 <strong>Intro APR<sup>*</sup> for Purchases and Balance Transfers: </strong>${fib.APR}
79 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a>
80 </div>
81 </#if>
82 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer" class="jn-button" data-button-name="cta-button-top">${ctaText.getData()}</a>
83 </div>
84 </article>
85 </div>
86 </article>
87 </div>
88 </div>
89 <script>
90 $(document).ready(function () {
91 $('.journal-content-article').each(function (i, element) {
92 var title = $(this).attr('title');
93 $(this).attr('data-title', title);
94 $(this).removeAttr('title')
95 });
96
97 var firstBannerHero = $('.journal-content-article[data-title="Tier 3 Syndicated Hero Visa Platinum Oct/Nov"]'),
98 secondBannerHero = $('.journal-content-article[data-title="Tier 3 Syndicated Landing Hero Business Cash Oct/Nov"]');
99 firstBannerHero.find('div.product-business-cash').remove();
100 secondBannerHero.find('div.product-platinum').remove();
101 console.log(firstBannerHero, secondBannerHero);
102 });
103 </script>
104 </#if>
105 </#list>
106 <#else>
107 <script>
108 //console.log("test");
109 console.log("FI Cards Data empty");
110 // location.href = '${url404}';
111 </script>
112 </#if>
113 </#if>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") [in template "10154#10192#152860860" at line 1, column 21] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign utilServ = serviceLocator.fin... [in template "10154#10192#152860860" at line 1, column 1] ----
1<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService") >
2<#assign url404 = '/error/404.html' >
3<#assign oadURL = propsUtil.get('elan.oad.url') >
4<#assign url = request.attributes.CURRENT_URL >
5<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
6
7<#assign lc= qstringmap["ecdma-lc"]?first>
8<#assign prefix = "00000" >
9<#assign lcWithPrefix = prefix + lc >
10<#assign withPrefixLength = lcWithPrefix?length >
11<#assign startHere = withPrefixLength - 5>
12<#assign lc = lcWithPrefix?substring(startHere)>
13
14<#if qstringmap["ecid"]?has_content>
15 <#assign ecidExt="&ecid="+qstringmap["ecid"]?first>
16<#else>
17 <#assign ecidExt="">
18</#if>
19<#assign environment = url?replace('/syn.*','','r')>
20
21 <#if lc?has_content>
22 <#assign clientProfileService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService") >
23 <#assign clientProfileList = clientProfileService.findByLocationCode(lc)>
24 <#assign clientProfile = clientProfileList?first>
25 <#assign clientName = clientProfile.getMarketingNameLong()>
26 <#assign pbu = clientProfile.getPbu()>
27 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
28 <#assign cdnCardArtUrl = propsUtil.get('rackspace.cdn.cardart.url')>
29 <#assign fiCardsData=utilServ.makeCall('crcTier3GetPbuData','0&'+pbu+'&'+subbu)>
30
31 <div class="content-container content-container-main jn-consumer-content">
32 <nav class="jn-primary-nav">
33 <ul>
34 <li>
35 <a href="#" class="tab-nav active" id="consumerTab"><span>Personal</span></a>
36 </li>
37 <li>
38 <a href="#" class="tab-nav" id="bussinesTab"><span>Business</span></a>
39 </li>
40 </ul>
41 </nav>
42 <#if (fiCardsData?size > 0)>
43 <#assign size = fiCardsData?size>
44
45 <script>console.log('${size}', '${pbu}')</script>
46 <div class="jn-consumer-content-wrapper jn-tab-content active" data-id="consumerTab">
47 <#assign i = 0>
48 <#list fiCardsData as fib>
49 <#if (fib.offerType == "101" || fib.offerType == "108" || fib.offerType == "115")>
50 <#assign cardArtImage = cdnCardArtUrl + "/" + fib.filename + ".png" >
51 <#if fib.offerType == "101">
52 <#assign productName = "real-rewards">
53 <#elseif fib.offerType == "108">
54 <#assign productName = "platinum">
55 <#elseif fib.offerType == "115">
56 <#assign productName = "secure-visa">
57 </#if>
58 <div class="jn-consumer-item item-${fib.offerType}">
59 <img src="${cardArtImage!''}" alt="${consumerTitle.getSiblings()[i].Title.getData()}" title="${consumerTitle.getSiblings()[i].Title.getData()}" class="jn-img-responsive">
60 <h4>${consumerTitle.getSiblings()[i].Title.getData()}</h4>
61 <p>${consumerTitle.getSiblings()[i].headlineText.getData()}</p>
62 <ul class="actions">
63 <li><a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer" data-button-name="cta-button-top">${consumerTitle.getSiblings()[i].applyNow.getData()}</a></li>
64 <li><a href="${environment}/syn/${productName}?ecdma-lc=${lc}&offerType=${fib.offerType}${ecidExt}">${consumerTitle.getSiblings()[i].LearnMore.getData()}</a>
65 </li>
66 </ul>
67 <div class="jn-additional">
68 <ul class="${fib.offerType}">
69 <li class="${fib.offerType}">
70 <p>
71 <#if fib.offerType=="115">
72 <strong>APR for Purchases and Balance Transfers: </strong>
73 <#else>
74 <strong>Intro APR<sup>*</sup> for Purchases and Balance Transfers: </strong>
75 </#if>
76 ${fib.APR!''} <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a></p>
77 </li>
78 <#if consumerTitle.getSiblings()[i].additionalInfo.getSiblings()?has_content>
79 <#list consumerTitle.getSiblings()[i].additionalInfo.getSiblings() as marketingInfo>
80 <li>${marketingInfo.getData()}</li>
81 </#list>
82 </#if>
83 <li>
84 <p>Annual Fee: ${fib.Annual!''} <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a></p>
85 </li>
86 </ul>
87 </div>
88 </div>
89 </#if>
90 <#assign i = i + 1>
91 </#list>
92 </div>
93 <div class="jn-consumer-content-wrapper jn-tab-content" data-id="bussinesTab">
94 <#assign i = 0>
95 <#list fiCardsData as fib>
96 <#if (fib.offerType == "128" || fib.offerType == "143" || fib.offerType == "123")>
97 <#assign cardArtImage = cdnCardArtUrl + "/"+fib.filename+".png">
98 <#if fib.offerType == "128">
99 <#assign productName = "business-cashback">
100 <#elseif fib.offerType == "143">
101 <#assign productName = "business-real-rewards">
102 <#elseif fib.offerType == "123">
103 <#assign productName = "business-rewards-plus">
104 </#if>
105 <div class="jn-consumer-item">
106 <img src="${cardArtImage!''}" alt="${clientName!''}" class="jn-img-responsive">
107 <h4>${consumerTitle.getSiblings()[i].Title.getData()}</h4>
108 <p>${consumerTitle.getSiblings()[i].headlineText.getData()}</p>
109 <ul class="actions">
110 <li><a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer" data-button-name="cta-button-top">${consumerTitle.getSiblings()[i].applyNow.getData()}</a></li>
111 <li><a href="${environment}/syn/${productName}?ecdma-lc=${lc}&offerType=${fib.offerType}${ecidExt}">${consumerTitle.getSiblings()[i].LearnMore.getData()}</a></li>
112 </ul>
113 <div class="jn-additional">
114 <ul>
115 <li>
116 <p>
117 <#if (fib.offerType=="123" )>
118 <strong>APR for Purchases and Balance Transfers: </strong>
119 <#else>
120 <strong>Intro APR<sup>*</sup> for Purchases and Balance Transfers: </strong>
121 </#if>
122 ${fib.APR!''}
123 <a href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a>
124 </p>
125 </li>
126 <#if consumerTitle.getSiblings()[i].additionalInfo.getSiblings()?has_content>
127 <#list consumerTitle.getSiblings()[i].additionalInfo.getSiblings() as marketingInfo>
128 <li>${marketingInfo.getData()}</li>
129 </#list>
130 </#if>
131 <li><p>Annual Fee: ${fib.Annual!''} <a
132 href="${oadURL}?locationCode=${lc}&offerId=${fib.offerId}&preparerType=customer#termsAndCond-details" target="_blank">Terms & Conditions</a></p>
133 </li>
134 </ul>
135 </div>
136 </div>
137 </#if>
138 <#assign i = i + 1>
139 </#list>
140 </div>
141 <#else>
142 <script>
143 console.log("FI Cards Data empty");
144 //location.href = '${url404}';
145 </script>
146 </#if>
147 </div>
148 </#if>
149
150<script>
151 $(document).ready(function () {
152 var list101 = $('.jn-consumer-item.item-101');
153
154 $('.jn-consumer-content-wrapper.jn-tab-content[data-id="consumerTab"]').prepend(list101);
155 });
156 // Primary Nav function
157 tabsNav = document.querySelectorAll('.tab-nav'),
158 togglePrimaryNav(tabsNav);
159
160 function togglePrimaryNav(elem) {
161 for (var i = 0; i < elem.length; i++) {
162 elem[i].addEventListener("click", function(e) {
163
164 var current = this,
165 allSections = document.querySelectorAll('[data-id]'),
166 section = document.querySelector("[data-id='"+ current.id +"']");
167
168 for (var a = 0; a < allSections.length; a++) {
169 allSections[a].classList.remove('active');
170 }
171 for (var c = 0; c < elem.length; c++) {
172 if (current != elem[c]) {
173 elem[c].classList.remove('active');
174 } else {
175 current.classList.add('active');
176 section.classList.add('active');
177 try {
178 document.querySelector('.tier3-hero-landing-business').classList.remove('show');
179 document.querySelector('.tier3-hero-landing-business').classList.add('hide');
180 document.querySelector('.tier3-hero-landing-consumer').classList.remove('show');
181 document.querySelector('.tier3-hero-landing-consumer').classList.add('hide');
182 } catch (e) {
183 console.log(e)
184 }
185 try {
186 document.querySelector('.tier3-disclaimer-landing-business').classList.remove('show');
187 document.querySelector('.tier3-disclaimer-landing-business').classList.add('hide');
188 document.querySelector('.tier3-disclaimer-landing-consumer').classList.remove('show');
189 document.querySelector('.tier3-disclaimer-landing-consumer').classList.add('hide');
190 } catch (e) {
191 console.log(e)
192 }
193
194 if(current.getAttribute('id') === "consumerTab"){
195 try {
196 document.querySelector('.tier3-hero-landing-consumer').classList.remove('hide');
197 document.querySelector('.tier3-hero-landing-consumer').classList.add('show');
198
199 } catch (e) {
200 console.log(e)
201 }
202 try {
203
204 document.querySelector('.tier3-disclaimer-landing-consumer').classList.remove('hide');
205 document.querySelector('.tier3-disclaimer-landing-consumer').classList.add('show');
206 } catch (e) {
207 console.log(e)
208 }
209 }else if(current.getAttribute('id') === "bussinesTab"){
210 try {
211
212 document.querySelector('.tier3-hero-landing-business').classList.remove('hide');
213 document.querySelector('.tier3-hero-landing-business').classList.add('show');
214 } catch (e) {
215 console.log(e)
216 }
217 try {
218
219 document.querySelector('.tier3-disclaimer-landing-business').classList.remove('hide');
220 document.querySelector('.tier3-disclaimer-landing-business').classList.add('show');
221 } catch (e) {
222 console.log(e)
223 }
224 }
225 }
226 }
227 e.preventDefault();
228 });
229 }
230 }
231</script>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> content [in template "10154#10192#152860851" at line 3, column 15] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${content.getData()} [in template "10154#10192#152860851" at line 3, column 13] ----
1<div class="content-container">
2 <div class="jn-disclaimer tier3-disclaimer-${class.getData()}">
3 ${content.getData()}
4 </div>
5 </div>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> content [in template "10154#10192#152860851" at line 3, column 15] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${content.getData()} [in template "10154#10192#152860851" at line 3, column 13] ----
1<div class="content-container">
2 <div class="jn-disclaimer tier3-disclaimer-${class.getData()}">
3 ${content.getData()}
4 </div>
5 </div>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> request.attributes [in template "10154#10192#152860854" at line 1, column 16] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign url = request.attributes.CURR... [in template "10154#10192#152860854" at line 1, column 1] ----
1<#assign url = request.attributes.CURRENT_URL >
2<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
3
4<#assign lc= qstringmap["ecdma-lc"]?first>
5<script
6 src="https://code.jquery.com/jquery-3.3.1.min.js"
7 integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
8 crossorigin="anonymous"></script>
9<div id="footerIdAdPlatinum">
10 ${footerContent.getData()}
11</div>
12
13<script>
14 jQuery('#footerIdAdPlatinum').find('.copyright').html('<sup>©</sup> Elan Financial Services 2020').addClass('ecdma-footer-client-name-copyright');
15 jQuery('#footerIdAdPlatinum').find('.fdic').html('<a href="https://www.myaccountaccess.com/onlineCard/publicPrivacyPolicy.do?loc='+${lc!0}+'" target="_blank">Privacy and Security</a>');
16</script>