Asset Publisher

Infrared cameras and detectors.

Infrared cameras and detectors.

Leonardo develop thermal imaging cameras and detectors that uses the most advance staring focal plane technology to provide high performance passive Infra-Red imaging in day, night and poor visibility for land, sea and airborne operations.

Catalog

An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if> 
An error occurred while processing the template.
The following has evaluated to null or missing:
==> htmlUtil.extractText  [in template "20115#20151#1358170" at line 120, column 138]

----
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: ${leonardo.stringEllipsis(htmlUtil.ex...  [in template "20115#20151#1358170" at line 120, column 112]
----
1<#-- init declare -->  
2<@leonardo.articleInfo .vars "SP-Product-base-Listing-catalogo"/> 
3<#assign currentGroupExpandoBridge = themeDisplay.getScopeGroup().getExpandoBridge()> 
4<#assign isDarkTheme = false> 
5<#if currentGroupExpandoBridge.hasAttribute("dark-theme")> 
6    <#assign isDarkTheme = currentGroupExpandoBridge.getAttribute("dark-theme", false)> 
7</#if> 
8 
9<#assign 
10    journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
11    articleId = .vars['reserved-article-id'].data 
12    article = journalArticleLocalService.getArticle(groupId, articleId) 
13    productLayout = (article.getLayout()!) 
14    isProductPage = false 
15    target = ((layout.getGroup().getGroupId()) != (article.getGroupId()))?then("_blank","_self") 
16    productDetailURL = '' 
17> 
18 
19<#attempt> 
20	<#assign productDetailURL = portalUtil.getLayoutFriendlyURL(productLayout, themeDisplay) > 
21<#recover> 
22</#attempt> 
23 
24<#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
25	<#assign productDetailURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
26	 
27	<#if (productDetailURL)?has_content && (productDetailURL?lower_case != 'localhost')> 
28		<#assign productDetailURL = 'https://' + productDetailURL > 
29	<#else> 
30		<#assign productDetailURL = ''> 
31	</#if> 
32	<#assign productDetailURL = productDetailURL + productLayout.getFriendlyURL()> 
33</#if> 
34 
35<#if (layout.layoutPrototypeUuid)?has_content> 
36	<#assign  
37		layoutPrototypeLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutPrototypeLocalService") 
38		layoutPrototype = layoutPrototypeLocalService.fetchLayoutPrototypeByUuidAndCompanyId(layout.layoutPrototypeUuid, themeDisplay.getCompanyId()) 
39	> 
40	<#if ((layoutPrototype)?has_content) && (layoutPrototype.getName(locale) == "Sheet Product (SP)")> 
41		<#assign isProductPage = true> 
42	</#if> 
43</#if> 
44<#if (SeparatorOverview.OverviewImage)?has_content > 
45 
46	<#assign scalingDetails = { 
47		 "desktop": {"alternateImage": {}, "key": "w_317"}, 
48		 "tl": {"alternateImage": SeparatorOverview.OverviewImage.ImageTl!, "key": "w_317"}, 
49		 "tp": {"alternateImage": SeparatorOverview.OverviewImage.ImageTp!, "key": "w_317"}, 
50		 "mobile": {"alternateImage": SeparatorOverview.OverviewImage.ImageM!, "key": "w_317"} 
51	}> 
52	<#assign dataImg = leonardo.adaptImage(SeparatorOverview.OverviewImage!, scalingDetails )> 
53	<#if (productLayout)?has_content> 
54		<#assign url = productDetailURL> 
55	</#if> 
56	<!--Start Module: Product Card--> 
57	<div class="product-card invisible"> 
58	<#if isDarkTheme> 
59 
60		<#if url?has_content> 
61		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
62		</#if> 
63			<div class="product-card--graphic-container"> 
64				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
65					data-lazy-src-url-d="${dataImg.desktop!}" 
66					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
67					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
68					data-lazy-src-url-m="${dataImg.mobile!}"/> 
69			</div> 
70			<div class="product-card--desc"> 
71			<#assign summary = .vars['reserved-article-description'].data!> 
72			<#assign maxlength = 160 > 
73            <#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
74            <#assign maxlength = maxlength - nameLength > 
75 
76			<#if summary?length gt 1> 
77				<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
78			    <span class="product-card--desc--link summary" > 
79                    ${leonardo.stringEllipsis(htmlUtil.extractText(summary!), maxlength)} 
80                </span> 
81			<#elseif summary?length == 1> 
82					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
83			<#else> 
84				<#if maxlength gte 0> 
85					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
86					<span href="${url!}" target="${target}" class="product-card--desc--link summary"> 
87					    ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
88					</span> 
89 
90				<#else> 
91					<h3 class="title">${SeparatorOverview.ProductName.getData()!}</h3> 
92				</#if> 
93			</#if> 
94			</div> 
95		<#if url?has_content> 
96		</a> 
97		</#if> 
98	<#else> 
99		<#if url?has_content> 
100		<a class="product-card--wrap" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
101		</#if> 
102			<div class="product-card--graphic-container"> 
103				<img class="product-card--graphic" alt="${SeparatorOverview.ProductName.getData()!}" src="${themeDisplay.pathThemeImages}/blank.png" 
104					data-lazy-src-url-d="${dataImg.desktop!}" 
105					data-lazy-src-url-tl="${dataImg.tablet_landscape!}" 
106					data-lazy-src-url-tp="${dataImg.tablet_portrait!}" 
107					data-lazy-src-url-m="${dataImg.mobile!}"/> 
108			</div> 
109			<div class="product-card--desc"> 
110			<#assign summary = .vars['reserved-article-description'].data!> 
111			<#if summary?length gt 1> 
112				<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${summary!} 
113            <#elseif summary?length == 1> 
114                    <span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
115            <#else> 
116            	<#assign maxlength = 150 > 
117				<#assign nameLength = SeparatorOverview.ProductName.getData()?length > 
118				<#assign maxlength = maxlength - nameLength > 
119				<#if maxlength gte 0> 
120					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> ${leonardo.stringEllipsis(htmlUtil.extractText(SeparatorOverview.OverviewText.getData()!), maxlength)} 
121				<#else> 
122					<span class="title">${SeparatorOverview.ProductName.getData()!}</span> 
123				</#if> 
124			</#if> 
125			</div> 
126		<#if url?has_content> 
127		</a> 
128		</#if> 
129	</#if> 
130    <#if isDarkTheme> 
131         <#if hasDetailPage?? && getterUtil.getBoolean(hasDetailPage.getData()) > 
132	        <span class="js-link-product" style="display:none"> 
133	     	<a class="link-arrow" href="${url!}" target="${target}" title="${SeparatorOverview.ProductName.getData()!}"> 
134 
135	     	<@liferay.language key="link-to-product-page"/> 
136	     	</a> 
137	     	</span> 
138	    </#if> 
139        <span class="js-textModal" style="display:none"> 
140        ${SeparatorOverview.OverviewText.getData()!} 
141        </span> 
142 
143        <#if SeparatorOverview.OverviewFileUrl??> 
144            <#assign docsDownloadURL = ''> 
145            <#if (layout.getGroup().getGroupId()) != (article.getGroupId())> 
146            	<#assign docsDownloadURL = portalUtil.getVirtualHostname (productLayout.getLayoutSet())> 
147            	    <#if (docsDownloadURL)?has_content && (docsDownloadURL?lower_case != 'localhost')> 
148        		        <#assign docsDownloadURL = 'https://' + docsDownloadURL > 
149    	            <#else> 
150        		        <#assign docsDownloadURL = ''> 
151        	        </#if> 
152            </#if> 
153            <ul class="js-ul-overview" style="display:none;"> 
154                <#list SeparatorOverview.OverviewFileUrl.getSiblings() as itemList> 
155                    <#assign file_info = leonardo.findFileEntryInfo(itemList.getData()) > 
156                     <#if itemList.OverviewFileLabel.getData()!= '' && file_info.downloadUrl !=''> 
157                        <li class="list-item"> 
158                            <a href="${docsDownloadURL}${file_info.downloadUrl}" target="_blank"> 
159                                ${itemList.OverviewFileLabel.getData()!} 
160                            </a> 
161                        </li> 
162                    </#if> 
163                </#list> 
164            </ul> 
165        </#if> 
166	</#if> 
167	</div> 
168 
169	<!--End Module: Product Card--> 
170 
171<#else> 
172	<!-- Missing Product Image --> 
173</#if>