Se ha producido un error al procesar la plantilla.
Java method "publicportal.soap.services.service.impl.AgentServiceImpl.findAgentByEncodedMedofi(String)" threw an exception when invoked on publicportal.soap.services.service.impl.AgentServiceImpl object "publicportal.soap.services.service.impl.AgentServiceImpl@a913c5a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if agentPresenceService?? && agentPr...  [in template "776318#776366#PP_HERO_AGENT" at line 17, column 5]
----
1<#if serviceLocator.findService("publicportal.soap.services.service.api.AgentPresenceService")??> 
2	<#assign agentPresenceService = serviceLocator.findService("publicportal.soap.services.service.api.AgentPresenceService")> 
3<#else> 
4	<#assign agentPresenceService = ""> 
5</#if> 
6<#if checkDefaultImg?? && checkDefaultImg.getData()?has_content> 
7    <#assign isImage = checkDefaultImg.getData()?boolean> 
8 
9<#else> 
10    <#assign isImage = false> 
11 
12</#if> 
13 
14<#assign agent=""> 
15 
16<#if request.getParameter("medofi")?has_content> 
17    <#if agentPresenceService?? && agentPresenceService.findAgentByEncodedMedofi(request.getParameter("medofi"))??> 
18        <#assign agent = agentPresenceService.findAgentByEncodedMedofi(request.getParameter("medofi"))> 
19    </#if> 
20</#if> 
21 
22<#if !(agent?? && agent?has_content)> 
23    <#if serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")??> 
24        <#assign OdhService = serviceLocator.findService("com.axa.publicportals.odh.service.OdhService")> 
25        <#if OdhService.getPresenciaAgente(request)??> 
26            <#assign agent = OdhService.getPresenciaAgente(request)> 
27        </#if> 
28    </#if> 
29</#if> 
30 
31<#if agent?? && agent?has_content> 
32    <section class="agents is-detail"> 
33        <div class="section-wrapper"> 
34            <span class="c-agent-variant__caption"><@liferay.language key="publicportals.agents.agencia"/></span> 
35            <#if agent?? && agent?has_content && agent.fullName?? && agent.fullName?has_content> 
36                <h1 class="c-agent-variant__title c-agent-variant__title">${agent.fullName}</h1> 
37            </#if> 
38            <#if agent?? && agent?has_content && agent.fullAddress?? && agent.fullAddress?has_content> 
39                <p> 
40                    <a href="https://www.google.com/maps/search/?api=1&query=${agent.fullAddress}, españa" onclick="checkWebviewLink(this, event)" class="c-agent-variant__subtitle" target="_blank"> 
41                        <svg width='10' height='14' viewBox='0 0 10 14' fill='none' xmlns='http://www.w3.org/2000/svg'> 
42                            <path fill-rule='evenodd' clip-rule='evenodd' d='M5 14C5 14 10 7.76142 10 5C10 2.23858 7.76142 0 5 0C2.23858 0 0 2.23858 0 5C0 7.76142 5 14 5 14ZM5 7C6.10457 7 7 6.10457 7 5C7 3.89543 6.10457 3 5 3C3.89543 3 3 3.89543 3 5C3 6.10457 3.89543 7 5 7Z' fill='white' /> 
43                        </svg> 
44                        ${agent.fullAddress} 
45                    </a> 
46                </p> 
47            </#if> 
48            <div class="c-agent-variant__contact"> 
49                <#if agent?? && agent?has_content && agent.telephoneList?? && agent.telephoneList?has_content> 
50                    <#list agent.telephoneList as telephoneNumber> 
51                        <a class="c-agent-variant__contact__link" href="tel:${telephoneNumber}" target="_blank"> 
52                            <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
53								<path d='M3.5125 6.9875C4.72017 9.34743 6.64007 11.2673 9 12.475L10.8375 10.6375C11.0852 10.4099 11.4462 10.3555 11.75 10.5C12.7101 10.8156 13.7144 10.9759 14.725 10.975C15.14 11.005 15.47 11.335 15.5 11.75V14.6625C15.5 15.125 15.125 15.5 14.6625 15.5C6.84077 15.5 0.5 9.15923 0.5 1.3375C0.5 0.874962 0.874962 0.5 1.3375 0.5H4.25C4.71254 0.5 5.0875 0.874962 5.0875 1.3375C5.07234 2.3239 5.21152 3.3066 5.5 4.25C5.59484 4.55074 5.51271 4.87927 5.2875 5.1L3.5125 6.9875Z' fill='#00008F' /> 
54							</svg> 
55                            ${telephoneNumber} 
56                        </a> 
57                        <#if agent.telephoneList?size = 2 && telephoneNumber?index = 0> 
58                            <#if agent?? && agent?has_content && agent.email?? && agent.email?has_content> 
59                                <a class="c-agent-variant__contact__link" href="mailto:${agent.email}" target="_blank"> 
60                                    <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
61                                        <path fill-rule='evenodd' clip-rule='evenodd' d='M2.397 2h11.196c.773 0 1.401.668 1.407 1.497v9.006c-.006.829-.634 1.497-1.407 1.497H2.397c-.77-.006-1.391-.673-1.397-1.497V3.497C1 2.67 1.625 2 2.397 2Zm5.598 6.754 5.597-3.748V3.497L7.995 7.246 2.397 3.497v1.498l5.598 3.76Z'></path> 
62                                    </svg> 
63                                    ${agent.email} 
64                                </a> 
65                            </#if> 
66                        </#if> 
67                    </#list> 
68                </#if> 
69 
70                <#if agent.telephoneList?size != 2> 
71                    <#if agent?? && agent?has_content && agent.email?? && agent.email?has_content> 
72                        <a class="c-agent-variant__contact__link" href="mailto:${agent.email}" target="_blank"> 
73                            <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
74                                <path fill-rule='evenodd' clip-rule='evenodd' d='M2.397 2h11.196c.773 0 1.401.668 1.407 1.497v9.006c-.006.829-.634 1.497-1.407 1.497H2.397c-.77-.006-1.391-.673-1.397-1.497V3.497C1 2.67 1.625 2 2.397 2Zm5.598 6.754 5.597-3.748V3.497L7.995 7.246 2.397 3.497v1.498l5.598 3.76Z'></path> 
75                            </svg> 
76                            ${agent.email} 
77                        </a> 
78                    </#if> 
79                </#if> 
80            </div> 
81 
82            <div class="c-agent-variant__buttons"> 
83                <#if btnText.btnLink.getData()?? && btnText.btnLink.getData()?has_content> 
84                    <#assign linkTarget = "_self" /> 
85                    <#if btnText.btnLink.selectTarget2?? && btnText.btnLink.selectTarget2.getData()?has_content> 
86                        <#assign linkTarget = btnText.btnLink.selectTarget2.getData() /> 
87                    </#if> 
88                    <a target="${linkTarget}" class="button button--outlined button--white" href="${btnText.btnLink.getData()}" onclick="checkWebviewLink(this, event)"> 
89                <#else> 
90                    <#if agent.urlOffice?? && agent.urlOffice?has_content> 
91                        <a class="button button--outlined button--white" href="${agent.urlOffice}" onclick="checkWebviewLink(this, event)"> 
92                    <#else> 
93                        <a class="button button--outlined button--white d-none" href=""> 
94                    </#if> 
95                </#if> 
96                    <span class="button__text"> 
97                        <#if btnText.getData()?? && btnText.getData()?has_content> 
98                            ${btnText.getData()} 
99                        <#else> 
100                            <@liferay.language key="publicportals.agents.informacion"/> 
101                        </#if> 
102                    </span> 
103                </a> 
104            </div> 
105            <div class="c-agent-variant__rrss"> 
106                <#if agent?? && agent?has_content && agent.socialMediaList?? && agent.socialMediaList?has_content> 
107                    <#list agent.socialMediaList as socialMedia> 
108                        <#if socialMedia.socialMediaProvider?lower_case == "facebook"> 
109                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
110                                <svg width='7' height='14' viewBox='0 0 7 14' fill='none' xmlns='http://www.w3.org/2000/svg'> 
111									<path d='M1.70494 4.75979H0.117188V6.99979H1.70494V13.7198H4.37079V6.99979H6.33097L6.51719 4.75979H4.37079V3.8514C4.37079 3.31462 4.4688 3.10817 4.95884 3.10817H6.49759V0.279785H4.4688C2.50861 0.279785 1.70494 1.16753 1.70494 2.86043V4.75979Z' fill='#00008F' /> 
112								</svg> 
113                            </a> 
114                        <#elseif socialMedia.socialMediaProvider?lower_case == "twitter"> 
115                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
116                                <svg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'> 
117									<path d='M22.962 6.045c-.784.35-1.617.58-2.47.682a4.306 4.306 0 0 0 1.902-2.389c-.844.5-1.768.852-2.73 1.04a4.306 4.306 0 0 0-7.345 3.933A12.22 12.22 0 0 1 3.462 4.81a4.306 4.306 0 0 0 1.333 5.752 4.29 4.29 0 0 1-1.95-.536A4.306 4.306 0 0 0 6.29 14.3a4.306 4.306 0 0 1-1.934.146 4.306 4.306 0 0 0 4.014 2.99A8.645 8.645 0 0 1 2 19.223 12.236 12.236 0 0 0 20.817 8.271a8.759 8.759 0 0 0 2.145-2.226Z' fill='#00008F'></path> 
118								</svg> 
119                            </a> 
120                        <#elseif socialMedia.socialMediaProvider?lower_case == "linkedin"> 
121                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
122                                <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
123									<path fill-rule='evenodd' clip-rule='evenodd' d='M3.97485 3.28232C3.96341 4.02045 3.35778 4.61065 2.6196 4.60305C1.88142 4.59545 1.28807 3.9929 1.29183 3.2547C1.29558 2.51649 1.89503 1.92001 2.63325 1.91992C2.9927 1.91988 3.33713 2.06408 3.58933 2.32019C3.84154 2.57631 3.98042 2.92292 3.97485 3.28232ZM3.97485 5.71592H1.28125V14.3999H3.98525L3.97485 5.71592ZM5.60765 5.71592H8.28045L8.29085 6.89112C9.42445 4.73832 14.2396 4.63432 14.2396 8.89832V14.3999H11.5461V9.84472C11.5461 7.10952 8.29085 7.31752 8.29085 9.84472V14.3999H5.60765V5.71592Z' fill='#00008F' /> 
124								</svg> 
125                            </a> 
126                        <#elseif socialMedia.socialMediaProvider?lower_case == "youtube"> 
127                            <a class="c-agent-variant__rrss__link" href="${socialMedia.address}" onclick="openWebviewLink(this, event, 'externalLink')"> 
128                                <svg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'> 
129									<path fill-rule='evenodd' clip-rule='evenodd' d='M3.73868 2.67022C5.7583 2.52334 10.2442 2.52334 12.2638 2.67022C14.4485 2.8276 14.7398 4.25448 14.7204 8.00006C14.701 11.7456 14.4485 13.1725 12.2638 13.3299C10.2442 13.4768 5.74859 13.4768 3.73868 13.3299C1.55399 13.1725 1.2627 11.7456 1.28212 8.00006C1.30154 4.25448 1.55399 2.8276 3.73868 2.67022ZM10.8812 8.00006L6.40125 5.76006V10.2401L10.8812 8.00006Z' fill='#00008F' /> 
130								</svg> 
131                            </a> 
132                        </#if> 
133                    </#list> 
134                    <#assign urlHome = themeDisplay.getPortalURL()> 
135                    <#if urlHome?? && urlHome?has_content> 
136                        <#if agent.urlOffice?? && agent.urlOffice?has_content> 
137                            <a data-a2a-url="${urlHome}${agent.urlOffice}" data-a2a-title="${agent.fullName}" class="c-agent-variant__rrss__link" href="${agent.urlOffice}" onclick="checkWebviewLink(this, event)"> 
138                                <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> 
139                                    <path d="M5.9.952a.952.952 0 0 1 .112 1.899l-.111.006H2.657a.705.705 0 0 0-.512.231.903.903 0 0 0-.233.509l-.007.118v13.522c0 .24.088.466.24.627a.72.72 0 0 0 .4.222l.112.01h14.686c.091 0 .183-.02.269-.058a.75.75 0 0 0 .243-.174.87.87 0 0 0 .176-.28.947.947 0 0 0 .057-.228l.007-.119v-7.44a.952.952 0 0 1 1.899-.111l.006.11v7.441c0 .356-.066.709-.195 1.04-.13.332-.32.636-.563.893-.246.26-.539.469-.863.612-.262.115-.54.185-.823.21l-.213.008H2.657c-.717 0-1.4-.3-1.898-.83a2.813 2.813 0 0 1-.752-1.737L0 17.237V3.715c0-.72.271-1.415.758-1.933A2.615 2.615 0 0 1 2.463.96l.194-.008h3.244ZM13.728 0l5.32 5.837-5.32 5.84V8.513c-4.535 0-5.765 2.246-7.06 3.868 0-5.862 2.338-9.011 7.06-9.011V0Z"> 
140                                    </path> 
141                                </svg> 
142                            </a> 
143                        </#if> 
144                    </#if> 
145                    <script> 
146                        var a2a_config = a2a_config || {}; 
147                        a2a_config.onclick = 1; 
148                        a2a_config.locale = "es"; 
149                    </script> 
150                    <script async src="https://static.addtoany.com/menu/page.js"></script> 
151                </#if> 
152            </div> 
153            <div class="agents__lottie mt-0" data-lottie=""></div> 
154            <#if agentPresenceService??> 
155                <#assign urlImageMedofi = agentPresenceService.getURLResponse(agent.getMedofi(), isImage)> 
156                <#if urlImageMedofi?has_content> 
157                    <div class="c-agent-variant__image"> 
158                        <img src="${urlImageMedofi}" alt="medofi image"></img> 
159                    </div> 
160                </#if> 
161            </#if> 
162        </div> 
163    </section> 
164<#else> 
165    <section class="hero updater"> 
166          <#if picture_desktop?? && picture_desktop.getData()?? && picture_desktop.getData() != ""> 
167            <picture class="hero__image"> 
168              <source media="(max-width: 1009px)" srcset="${picture_desktop.getData()}" /> 
169              <img alt="${picture_desktop.getAttribute("alt")}" src="${picture_desktop.getData()}" /> 
170            </picture> 
171          </#if> 
172        <#if video_desktop?? && video_desktop.getData()?? && video_desktop.getData() != ""> 
173            <video autoplay="" class="hero__video" muted="" loop="" playsinline="" 
174                <#if picture_desktop?? && picture_desktop.getData()?? && picture_desktop.getData() != ""> 
175                  poster="${picture_desktop.getData()}" 
176                </#if> 
177
178              <source src="${video_desktop.getData()}" type="video/mp4" /> <@liferay.language key="publicportals.carousel.video"/> 
179            </video> 
180        </#if> 
181        <#if video_mobile?? && video_mobile.getData()?? && video_mobile.getData() != ""> 
182 
183            <video autoplay="" muted="" class="hero__video is-mobile" loop="" playsinline="" 
184                <#if picture_mobile?? && picture_mobile.getData()?? && picture_mobile.getData() != ""> 
185                poster="${picture_mobile.getData()}" 
186                </#if> 
187
188                <source src="${video_mobile.getData()}" type="video/mp4" /> <@liferay.language key="publicportals.carousel.video"/> 
189            </video> 
190        </#if> 
191        <div class="stroke-overlay"> 
192            <div class="stroke-overlay__layer is-top"></div> 
193            <div class="stroke-overlay__layer is-right"></div> 
194            <div class="stroke-overlay__layer is-bottom"></div> 
195            <div class="stroke-overlay__layer is-left"></div> 
196        </div> 
197        <div class="section-wrapper"> 
198            <#if title?? && title.getData()?? && title.getData() != ""> 
199                <h1 class="hero__title" style=""> 
200                    ${title.getData()} 
201                </h1> 
202            </#if> 
203            <#if subtitle?? && subtitle.getData()?? && subtitle.getData() != ""> 
204                <h2 class="hero__subtitle">${subtitle.getData()}</h2> 
205            </#if> 
206            <#if buttonText?? && buttonText.getData()?? && buttonText.getData()!="" > 
207                <#if buttonText.button_link?? && buttonText.button_link.getData()?? && buttonText.button_link.getData()!="" > 
208 
209                    <#assign linkTarget = "_blank" /> 
210                    <#if buttonText.button_link.selectTarget?? && buttonText.button_link.selectTarget.getData()?has_content> 
211                        <#assign linkTarget = buttonText.button_link.selectTarget.getData() /> 
212                    </#if> 
213 
214                    <a href="${buttonText.button_link.getData()}" 
215                      class="button variant-outlined color-white" 
216                      name="button" 
217                      title="Reproduce el video" 
218                      target="${linkTarget}" 
219                      tabindex="0" 
220                      onclick="checkWebviewLink(this, event)" 
221
222                        <span class="button__text">${buttonText.getData()}</span> 
223                    </a> 
224                <#else> 
225                    <button 
226                      class="button variant-outlined color-white" 
227                      name="button" 
228                      title="Reproduce el video" 
229                      tabindex="0" 
230
231                        <span class="button__text">${buttonText.getData()}</span> 
232                    </button> 
233                </#if> 
234            </#if> 
235        </div> 
236    </section> 
237</#if> 
Ilustración salud familia Ilustración familia

Avanza con facilidades

Conoce nuestros seguros

  • Movilidad

  • Salud

  • Hogar

  • Vida

  • Inversión

Te informamos sobre nuestros seguros. Si necesitas más información te podemos llamar cuando nos indiques o puedes escribirnos por el chat.

Ver todos los seguros

Cuadro médico

Encuentra el profesional médico que necesitas

Cerca de 44.000 servicios médicos y más de 4.000 servicios de bienestar a tu disposición, para que tengas ofrecerte la mejor atención médica.

Encuentra tu médico

Movilidad

Localiza tu taller de confianza con nosotros

Conoce las grandes ventajas de reparar tu vehículo en nuestros Talleres AXA Calidad.
Estarás en manos de los mejores profesionales.

Encuentra tu taller
videoconsulta online 24h AXA

CONSULTA MÉDICA ONLINE

Siempre a tu lado, estés donde estés

Puedes contactar con un profesional médico las 24h del día o si lo prefieres programa una videoconsulta. Y si tienes una consulta rápida o quieres compartir informes o fotos puedes usar el chat y resolver tus dudas.

MÁS INFORMACIÓN

evaluador de síntomas

EVALUADOR DE SÍNTOMAS AXA

¿Necesitas ayuda en cuestiones de salud?

Si te encuentras mal y no estas seguro de que se trata, comprueba tus síntomas con Oskar, tu asistente virtual de salud, que te realizará una evaluación en tan sólo 3 minutos.

MÁS INFORMACIÓN

1750

Agentes AXA a tu disposición para resolver tus necesidades

Nuestros agentes AXA te guían para encontrar soluciones concretas y rápidas.

Contacta con un agente
EsalesLeadsform no está disponible temporalmente.

¿Necesitas ayuda?

En AXA siempre estamos disponibles para ti ofreciéndote diferentes canales para contactar con nosotros.

LLÁMANOS