Um erro ocorreu enquanto processava o modelo.
No compatible overloaded variation was found; can't convert (unwrap) the 1st argument to the desired Java type.
The FTL type of the argument values were: string (wrapper: f.t.SimpleScalar), number (wrapper: f.t.SimpleNumber), extended_hash+string (com.liferay.portal.kernel.theme.ThemeDisplay wrapped into f.e.b.StringModel).
The matching overload was searched among these members:
    com.liferay.layout.type.controller.asset.display.internal.portlet.AssetDisplayPageFriendlyURLProviderImpl.getFriendlyURL(com.liferay.info.item.InfoItemReference, Locale, com.liferay.portal.kernel.theme.ThemeDisplay),
    com.liferay.layout.type.controller.asset.display.internal.portlet.AssetDisplayPageFriendlyURLProviderImpl.getFriendlyURL(com.liferay.info.item.InfoItemReference, com.liferay.portal.kernel.theme.ThemeDisplay),
    com.liferay.layout.type.controller.asset.display.internal.portlet.AssetDisplayPageFriendlyURLProviderImpl.getFriendlyURL(com.liferay.info.item.InfoItemReference, Object, com.liferay.portal.kernel.theme.ThemeDisplay)

----
FTL stack trace ("~" means nesting-related):
	- Failed at: friendlyURL = assetDisplayPageFriendl...  [in template "20097#20123#5838026" at line 24, column 31]
----
1<section class="topo"> 
2    <div class="banner_privacy"> 
3        <div class="span_dark"> 
4            <div class="row"> 
5                <span class="dark_space"></span> 
6                <div class="col-lg-8 col-12 banner_privacy_txruas"> 
7                        <a class="d-inline-block mb-3 mr-3 mt-lg-2 c-unidades__breadcrumb gtm-link-banner-home" href="/home">Home</a> 
8                    <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 11" class="mr-3"> 
9                        <rect id="Retângulo_600" data-name="Retângulo 600" width="10" height="10" rx="5" fill="#ec6e0c" opacity="1" /> 
10                    </svg> 
11                        <a class="d-inline-block mb-3 mr-3 mt-lg-2 c-unidades__breadcrumb gtm-link-banner-nossasunidades" href="/unidades">Nossas unidades</a> 
12                    <#if entries?has_content> 
13                        <#list entries as curEntry> 
14                            <#assign  
15                              assetRenderer=curEntry.getAssetRenderer()  
16                              serviceContext=staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()  
17                              dlAppLocalServiceUtil=staticUtil["com.liferay.document.library.kernel.service.DLAppLocalServiceUtil"]  
18                              dlUtil=staticUtil["com.liferay.document.library.kernel.util.DLUtil"]  
19                              themeDisplay=serviceContext.getThemeDisplay()  
20                              link=assetRenderer.getURLViewInContext(renderRequest, renderResponse, '' )  
21                            /> 
22                            <#assign  
23                              assetDisplayPageFriendlyURLProvider=serviceLocator.findService("com.liferay.asset.display.page.portlet.AssetDisplayPageFriendlyURLProvider") 
24                              friendlyURL=assetDisplayPageFriendlyURLProvider.getFriendlyURL(curEntry.getClassName(), curEntry.getClassPK(), themeDisplay)!"########"  
25                            /> 
26                            <#if currentURL?contains(friendlyURL)> 
27                                <#assign docXml=saxReaderUtil.read(assetRenderer.getArticle().getContent()) /> 
28                                <#assign  
29                                  nomedaUnidade=docXml.valueOf("//dynamic-element[@name='NomedaUnidade']/dynamic-content/text()")  
30                                  enderecoDaUnidade=docXml.valueOf("//dynamic-element[@name='EnderecoDaUnidade']/dynamic-content/text()")  
31                                  bannerDoHeader=docXml.valueOf("//dynamic-element[@name='BannerDoHeader']/dynamic-content/text()")  
32                                  latitudeDaUnidade=docXml.valueOf("//dynamic-element[@name='LatitudeDaUnidadezaeq']/dynamic-content/text()")  
33                                  longitudeDaUnidade=docXml.valueOf("//dynamic-element[@name='LongitudeDaUnidade1gix']/dynamic-content/text()")  
34                                /> 
35                                <#if bannerDoHeader?has_content> 
36                                    <#assign  
37                                      imagem=bannerDoHeader?eval  
38                                      imagemUuid=imagem.uuid  
39                                      groupId=imagem.groupId  
40                                      dlFile=dlAppLocalServiceUtil.getFileEntryByUuidAndGroupId(imagemUuid,groupId?number)  
41                                      imgUrl=dlUtil.getPreviewURL(dlFile, dlFile.getFileVersion(),themeDisplay,'')  
42                                    /> 
43                                </#if> 
44 
45                                <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 11" class="mr-3"> 
46                                    <rect id="Retângulo_600" data-name="Retângulo 600" width="10" height="10" rx="5" fill="#ec6e0c" opacity="1" /> 
47                                </svg> 
48                                <a class="d-inline-block mb-3 mr-3 mt-lg-2 c-unidades__breadcrumb gtm-link-banner-home inactiveLink" href="#"> 
49                                    <strong> 
50                                        ${nomedaUnidade} 
51                                    </strong> 
52                                </a> 
53 
54 
55                                <lfr-editable id="h2bannerprivacidade" type="rich-text"> 
56                                    <h1>${nomedaUnidade}</h1> 
57                                </lfr-editable> 
58                                <lfr-editable id="privacidadetexto1" type="rich-text"> 
59                                    <p> 
60                                        ${enderecoDaUnidade} 
61                                    </p> 
62                                </lfr-editable> 
63                </div> 
64                <div class="col-lg-2 col-6 c-unidades__info"> 
65                    <lfr-editable id="privacidadetexto2" type="rich-text"> 
66                        <p id="distance_user_unit">km de você</p> 
67                    </lfr-editable> 
68                </div> 
69                <div class="col-lg-2 col-6 wth_banner_privacy c-unidades__info"> 
70                    <span class="marin_svg"> 
71                        <svg id="location_on" data-name="location on" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> 
72                            <path id="Caminho_8173" data-name="Caminho 8173" d="M0,0H20V20H0Z" fill="none" /> 
73                            <path id="Caminho_8174" data-name="Caminho 8174" d="M10.833,2A5.829,5.829,0,0,0,5,7.833c0,4.375,5.833,10.833,5.833,10.833s5.833-6.458,5.833-10.833A5.829,5.829,0,0,0,10.833,2ZM6.667,7.833a4.167,4.167,0,1,1,8.333,0c0,2.4-2.4,5.992-4.167,8.233C9.1,13.842,6.667,10.208,6.667,7.833Z" transform="translate(-0.833 -0.333)" fill="#fff" /> 
74                            <circle id="Elipse_107" data-name="Elipse 107" cx="2.083" cy="2.083" r="2.083" transform="translate(7.917 5.417)" fill="#fff" /> 
75                        </svg> 
76                    </span> 
77                    <span class="marin_svg_dois"><svg id="location_on" data-name="location on" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> 
78                            <path id="Caminho_8173" data-name="Caminho 8173" d="M0,0H20V20H0Z" fill="none" /> 
79                            <path id="Caminho_8174" data-name="Caminho 8174" d="M10.833,2A5.829,5.829,0,0,0,5,7.833c0,4.375,5.833,10.833,5.833,10.833s5.833-6.458,5.833-10.833A5.829,5.829,0,0,0,10.833,2ZM6.667,7.833a4.167,4.167,0,1,1,8.333,0c0,2.4-2.4,5.992-4.167,8.233C9.1,13.842,6.667,10.208,6.667,7.833Z" transform="translate(-0.833 -0.333)" fill="#ec6e0c" /> 
80                            <circle id="Elipse_107" data-name="Elipse 107" cx="2.083" cy="2.083" r="2.083" transform="translate(7.917 5.417)" fill="#ec6e0c" /> 
81                        </svg> 
82                    </span> 
83                    <lfr-editable id="href_swap_link" type="link"><a href="#mapa_unidade_ind2">Ver mapa</a></lfr-editable> 
84                </div> 
85            </div> 
86        </div> 
87    </div> 
88</section> 
89<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAQnL23eGYWlJvrtNcZCSrj_h97bs-iL8A&libraries=geometry&callback=initMap" type="text/javascript"></script> 
90<script> 
91function haversineDistance(lat1, lon1, lat2, lon2) { 
92    const R = 6371; // Raio médio da Terra em km 
93    const dLat = (lat2 - lat1) * Math.PI / 180; 
94    const dLon = (lon2 - lon1) * Math.PI / 180; 
95    const a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(lat1 * Math.PI / 180) * Math.cos(lat2 * Math.PI / 180) * Math.sin(dLon / 2) * Math.sin(dLon / 2); 
96    const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)); 
97    const distance = R * c; 
98    return distance; 
99
100 
101function isDmsCoordinate(str) { 
102    var validos = ["S", "W", "N", "E"]; 
103    var caracteres = str.split(""); 
104    var resultado = false; 
105    caracteres.forEach(function(caractere) { 
106        if (validos.includes(caractere)) { 
107            resultado = true; 
108
109    }); 
110    return resultado; 
111
112 
113function dmsToDecimal(dms) { 
114    var parts = dms.split(/°|'|"| /); 
115 
116    var degrees = parseFloat(parts[0]); 
117    var minutes = parseFloat(parts[1]); 
118    var seconds = parseFloat(parts[2]); 
119 
120    var decimal = degrees + (minutes / 60) + (seconds / 3600); 
121 
122    if (parts[3] === 'S' || parts[3] === 'W') { 
123        decimal *= -1; 
124
125 
126    return decimal.toString(); 
127
128 
129if (navigator.geolocation) { 
130    // Solicitar a permissão do usuário e obter a localização atual 
131    (async function() { 
132        const position = await new Promise((resolve, reject) => { 
133            navigator.geolocation.getCurrentPosition(resolve, reject); 
134        }); 
135 
136        var userLat = position.coords.latitude 
137        var userLng = position.coords.longitude 
138        var latitudeunit = isDmsCoordinate("${latitudeDaUnidade}") ? dmsToDecimal("${latitudeDaUnidade}") : "${latitudeDaUnidade}"; 
139        var longitudeunit = isDmsCoordinate("${longitudeDaUnidade}") ? dmsToDecimal("${longitudeDaUnidade}") : "${longitudeDaUnidade}"; 
140 
141        var distance = haversineDistance(userLat, userLng, latitudeunit, longitudeunit); 
142        var eluu = document.getElementById("distance_user_unit"); 
143        if (distance / 1000 < 1) { 
144            eluu.innerHTML = (distance.toFixed(2)).toString() + " km de você"; 
145        } else { 
146 
147            eluu.innerHTML = ((distance / 1000).toFixed(2)).toString() + " metros de você"; 
148
149    })(); 
150 
151
152</script> 
153<style> 
154.topo { 
155    margin-top: 115px; 
156    position: relative; 
157    max-width: 1110px; 
158    margin: 0 auto; 
159
160 
161.banner_privacy { 
162    background: url(${imgUrl}); 
163    height: 442px; 
164    width: 1110px; 
165    background-repeat: no-repeat; 
166    background-size: cover; 
167
168 
169.wth_banner_privacy { 
170    display: inherit; 
171
172 
173.span_dark { 
174    padding-top: 250px; 
175    margin-left: 20px; 
176    color: #ffffff; 
177
178 
179html .contraste-body div.span_dark { 
180    background-color: transparent !important; 
181
182 
183.banner_privacy_txruas h1 { 
184    font-size: 20px; 
185    font-weight: bold; 
186    font-family: 'oxygen-bold'; 
187    text-align: left; 
188    margin-bottom: 10px; 
189
190 
191.banner_privacy_txruas p { 
192    font-size: 16px; 
193    font-weight: 400; 
194    font-family: 'oxygen-regular'; 
195    text-align: left; 
196
197 
198.wth_banner_privacy a { 
199    text-decoration: underline; 
200    font-weight: bold; 
201    font-family: 'oxygen-bold'; 
202    color: #ffffff; 
203
204 
205.c-unidades__tbold { 
206    font-family: 'oxygen-bold'; 
207
208 
209.c-unidades__breadcrumb { 
210    font-family: 'oxygen-regular'; 
211
212 
213@media (max-width: 1200px) { 
214    .banner_privacy { 
215        height: 146px; 
216        width: 100%; 
217        background-size: cover; 
218
219 
220    .span_dark { 
221        color: #1a171b; 
222        padding-top: 160px; 
223        margin: 0px 8px; 
224        border-bottom: 1px solid #5b5b5f4f; 
225
226 
227    .marin_svg svg { 
228        display: none; 
229
230 
231    .wth_banner_privacy a { 
232        color: #ec6e0c; 
233
234
235 
236.c-unidades__breadcrumb { 
237    color: #5b5b5f; 
238    font-size: 14px; 
239
240 
241.c-unidades__breadcrumb:hover { 
242    color: #5b5b5f; 
243
244 
245.c-unidades__info { 
246    margin-top: 0; 
247
248 
249@media (min-width: 1201px) { 
250    .marin_svg_dois { 
251        display: none; 
252
253 
254    .dark_space { 
255        background-color: #1a171bb3; 
256        position: absolute; 
257        min-width: 100%; 
258        height: 210px; 
259        left: 0; 
260        bottom: 0; 
261
262 
263    .c-unidades__breadcrumb { 
264        color: #ffffff; 
265        font-size: 14px; 
266
267 
268    .c-unidades__breadcrumb:hover { 
269        color: #ffffff; 
270
271 
272    .banner_privacy_txruas h1 { 
273        font-size: 36px; 
274        font-weight: bold; 
275        font-family: 'oxygen-bold'; 
276        text-align: left; 
277        margin-bottom: 10px; 
278
279 
280    .c-unidades__info { 
281        margin-top: 45px; 
282
283
284 
285@media (min-width: 992px) and (max-width: 1300px) { 
286    .topo { 
287        margin-top: 176px; 
288
289
290 
291@media (min-width: 993px) and (max-width: 1200px) { 
292    .topo { 
293        padding-bottom: 141px; 
294
295
296 
297@media (max-width: 991px) { 
298    .topo { 
299        margin-top: 166px; 
300
301 
302    .span_dark>.row { 
303        padding: 0 16px; 
304
305 
306    .wth_banner_privacy { 
307        display: flex; 
308        justify-content: flex-end; 
309
310
311 
312.inactiveLink { 
313   pointer-events: none; 
314   cursor: default; 
315
316</style> 
317<#break> 
318    </#if> 
319    </#list> 
320    </#if> 

Facilidades

Horário de atendimento

Horário de Atendimento: 24 horas

Telefone

Telefone: (21) 2570-6336

Localização

• A menos de 100 metros da Acadêmicos do Salgueiro;

• A 250 metros da Rua Barão de Mesquita (altura do número 500);

• A 800 metros da Avenida Maracanã (altura do número 800).

Especialidades atendidas

Exames oferecidos

Sobre a Unidade

Precisa de atendimento médico?
Use a telemedicina