Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> linkTarget  [in template "38497#38545#AGD_COMPARADOR_V2" at line 102, column 62]

----
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: ${linkTarget}  [in template "38497#38545#AGD_COMPARADOR_V2" at line 102, column 60]
----
1<div class="container-comparativa"> 
2	<#assign tabsSize = insurance_type_title.getSiblings()?size> 
3	<#if section_title?? && section_title.getData()?has_content && section_title.getData()!=''> 
4    <h1 class="c-comparativa__title u-mt-100">${section_title.getData()}</h1> 
5    </#if> 
6	<#if tabsSize != 1 && tabsSize != 0> 
7		<p class="c-comparativa__subtitle"> 
8	<#else> 
9		<p class="c-comparativa__subtitle c-comparativa__subtitle--no-tabs"> 
10	</#if> 
11	<#if section_subtitle?? && section_subtitle.getData()?has_content && section_subtitle.getData()!=''> 
12          ${section_subtitle.getData()} 
13          </#if> 
14		</p> 
15     <!-- Pestañas--> 
16    <div id="tab-seguros-coche" class="tab-container"> 
17		  <#if tabsSize != 1 && tabsSize != 0> 
18		  <ul aria-controls="tab-seguros-coche" class="lista-seguros" role="tablist"> 
19			<#if insurance_type_title?? && insurance_type_title.getSiblings()?has_content> 
20				<#list insurance_type_title.getSiblings() as cur_insurance_type_title>  
21					<#if cur_insurance_type_title_index == 0> 
22					<li role="tab" class="c-button-direct-direct c-button-direct--secondary js-comparador-tab-opener" aria-controls="${cur_insurance_type_title.getData()?replace(' ', '_')}" 
23			  tabindex="0" aria-selected="true"><span class="c-button-direct__text">${cur_insurance_type_title.getData()}</span></li> 
24			  <#else> 
25					<li role="tab" class="c-button-direct-direct c-button-direct--terciary js-comparador-tab-opener" aria-controls="${cur_insurance_type_title.getData()?replace(' ', '_')}" 
26			  tabindex="0" aria-selected="false"><span class="c-button-direct__text">${cur_insurance_type_title.getData()}</span></li> 
27			  </#if> 
28				</#list>  
29			</#if> 
30		  </ul> 
31	  </#if> 
32      <div class="tabs-container"> 
33          <#if insurance_type_title?? && insurance_type_title.getSiblings()?has_content> 
34            <#list insurance_type_title.getSiblings() as cur_insurance_type_title>  
35                <#if cur_insurance_type_title_index == 0> 
36                    <div class="c-comparativa__horizontal-scroll js-comparador-tab" id="${cur_insurance_type_title.getData()?replace(' ', '_')}" role="tabpanel" aria-expanded="true"> 
37                <#else> 
38                    <div class="c-comparativa__horizontal-scroll js-comparador-tab" id="${cur_insurance_type_title.getData()?replace(' ', '_')}" role="tabpanel" aria-expanded="false"> 
39                </#if> 
40                     <#assign productSize = cur_insurance_type_title.product.getSiblings()?size> 
41                      <div class="c-comparativa"> 
42                        <div class="c-comparativa__table"> 
43                            <#if productSize == 5> 
44                                <ul class="c-comparativa__table-header w-5"> 
45                            <#else> 
46                                <#if productSize == 3> 
47                                  <ul class="c-comparativa__table-header w-3"> 
48                                <#elseif productSize == 4> 
49                                  <ul class="c-comparativa__table-header w-4"> 
50                                <#elseif productSize == 2> 
51                                  <ul class="c-comparativa__table-header w-4"> 
52                                </#if> 
53                            </#if> 
54                            <#if cur_insurance_type_title.product?? && cur_insurance_type_title.product.getSiblings()?has_content> 
55                             <#list cur_insurance_type_title.product.getSiblings() as productItem>  
56                                <li> 
57                                  <h2>${productItem.getData()}</h2> 
58                                </li> 
59                             </#list>  
60                            </#if> 
61                            </ul> 
62                            <#if cur_insurance_type_title.tab_caption?? && cur_insurance_type_title.tab_caption.getData()?has_content && cur_insurance_type_title.tab_caption.getData()!=''> 
63                                <div class="c-comparativa__caption"> 
64                                 <p>${cur_insurance_type_title.tab_caption.getData()}</p> 
65                                </div> 
66                            </#if> 
67                            <div class="c-comparativa__scrollable">  
68                                 <#if cur_insurance_type_title.coverage_title?? && cur_insurance_type_title.coverage_title.getSiblings()?has_content> 
69                                    <#list cur_insurance_type_title.coverage_title.getSiblings() as coverageTitle>  
70                                      <#if coverageTitle.coverage_caption?? && coverageTitle.coverage_caption.getData()?has_content && coverageTitle.coverage_caption.getData()!=''> 
71                                          <div class="c-comparativa__caption c-comparativa__caption--into"> 
72                                            <p>${coverageTitle.coverage_caption.getData()}</p> 
73                                          </div> 
74                                      </#if> 
75                                    <div class="c-comparativa__table-subheader"> 
76                                      <div> 
77                                        <#if coverageTitle.coverage_link?? && coverageTitle.coverage_link.getData()?has_content && coverageTitle.coverage_link.getData()!=''> 
78                                            <#assign linkTarget = "_self" /> 
79                                            <#if coverageTitle.coverage_link.selectTarget2?? && coverageTitle.coverage_link.selectTarget2.getData()?has_content> 
80                                                <#assign linkTarget = coverageTitle.coverage_link.selectTarget2.getData() /> 
81                                            </#if> 
82                                         <#if getterUtil.getBoolean(coverageTitle.coverage_link.is_acordeon.getData())>  
83                                            <h3><a target="${linkTarget}" class="js-comparativa-acordeon-opener" href="#">${coverageTitle.getData()} </a> 
84                                                <span class="c-comparativa__svg-a"> 
85                                                    <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 
86                                                    <path d="M4.5 6.5L8 9.5L11.5 6.5" stroke="#00008F" stroke-width="1.5" stroke-linecap="round"/> 
87                                                  </svg> 
88                                              </span> 
89                                              <span class="c-comparativa__svg-b"> 
90                                                  <svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg"> 
91                                                  <path fill-rule="evenodd" clip-rule="evenodd" d="M16 3.06427L12.9109 0L8 4.87147L3.08908 0L0 3.06427L8 11L16 3.06427Z" fill="#69A0BE"/> 
92                                                  </svg> 
93                                              </span> 
94                                            </h3>  
95                                            <div class="c-comparativa__acordeon js-acordeon" data-opened="false">${coverageTitle.coverage_link.is_acordeon.acordeon_text.getData()}</div> 
96                                         <#else> 
97                                            <h3><a target="${linkTarget}" href="${coverageTitle.coverage_link.getData()}" onclick="checkWebviewLink(this, event)">${coverageTitle.getData()} </a> 
98                                            </h3>  
99                                         </#if>  
100                                        <#else> 
101                                          <#if coverageTitle.coverage_link.is_acordeon?? && coverageTitle.coverage_link.is_acordeon.getData()?? && getterUtil.getBoolean(coverageTitle.coverage_link.is_acordeon.getData())> 
102                                            <h3><a target="${linkTarget}" class="js-comparativa-acordeon-opener" href="#">${coverageTitle.getData()} </a> 
103                                            <span class="c-comparativa__svg-a"> 
104                                                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 
105                                                    <path d="M4.5 6.5L8 9.5L11.5 6.5" stroke="#00008F" stroke-width="1.5" stroke-linecap="round"/> 
106                                                  </svg> 
107                                              </span> 
108                                              <span class="c-comparativa__svg-b"> 
109                                                  <svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg"> 
110                                                  <path fill-rule="evenodd" clip-rule="evenodd" d="M16 3.06427L12.9109 0L8 4.87147L3.08908 0L0 3.06427L8 11L16 3.06427Z" fill="#69A0BE"/> 
111                                                  </svg> 
112                                              </span> 
113                                            </h3>  
114                                            <div class="c-comparativa__acordeon js-acordeon" data-opened="false">${coverageTitle.coverage_link.is_acordeon.acordeon_text.getData()}</div> 
115                                          <#else> 
116                                            <h3>${coverageTitle.getData()}</h3> 
117                                          </#if> 
118                                        </#if> 
119                                      </div> 
120                                    </div>   
121                                    <#if coverageTitle.is_covered?? && coverageTitle.is_covered.getSiblings()?has_content> 
122                                    <#assign coverageSize = coverageTitle.is_covered.getSiblings()?size> 
123                                       <#if coverageSize == 2> 
124                                        <div class="c-comparativa__icons"> 
125                                       <#elseif coverageSize == 3> 
126                                         <div class="c-comparativa__icons w-3"> 
127                                       <#elseif coverageSize == 4> 
128                                        <div class="c-comparativa__icons w-4"> 
129                                       <#elseif coverageSize == 5> 
130                                        <div class="c-comparativa__icons w-5"> 
131                                       </#if> 
132                                            <#list coverageTitle.is_covered.getSiblings() as isCovered>  
133                                                <#if isCovered?? && isCovered.getData()?? && getterUtil.getBoolean(isCovered.getData())> 
134                                                    <#if coverageSize == 2> 
135                                                        <div class="c-comparativa__icon w-2"> 
136                                                            <span class="icon-check"></span> 
137                                                               <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
138                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
139                                                               </#if> 
140                                                        </div> 
141                                                    <#elseif coverageSize == 3> 
142                                                            <div class="c-comparativa__icon w-3"> 
143                                                                <span class="icon-check"></span> 
144                                                                <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
145                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
146                                                               </#if> 
147                                                            </div> 
148                                                    <#elseif coverageSize == 4> 
149                                                        <div class="c-comparativa__icon w-4"> 
150                                                            <span class="icon-check"></span> 
151                                                            <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
152                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
153                                                               </#if> 
154                                                        </div> 
155                                                    <#elseif coverageSize == 5> 
156                                                        <div class="c-comparativa__icon w-5"><span class="icon-check"></span> 
157                                                     <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
158                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
159                                                     </#if> 
160                                                    </div> 
161                                                    </#if> 
162                                                <#else> 
163                                                    <#if coverageSize == 2> 
164                                                        <div class="c-comparativa__icon w-2"> 
165                                                            <span class="icon-cross"></span> 
166															<span class="icon-cross-coverage"></span> 
167                                                            <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
168                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
169                                                               </#if> 
170                                                        </div> 
171                                                    <#elseif coverageSize == 3> 
172                                                        <div class="c-comparativa__icon w-3"> 
173                                                            <span class="icon-cross"></span> 
174															<span class="icon-cross-coverage"></span> 
175                                                            <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
176                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
177                                                               </#if> 
178                                                        </div> 
179                                                    <#elseif coverageSize == 4> 
180                                                        <div class="c-comparativa__icon w-4"> 
181                                                            <span class="icon-cross"></span> 
182															<span class="icon-cross-coverage"></span> 
183                                                            <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
184                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
185                                                               </#if> 
186                                                        </div> 
187                                                    <#elseif coverageSize == 5> 
188                                                        <div class="c-comparativa__icon w-5"> 
189                                                            <span class="icon-cross"></span> 
190															<span class="icon-cross-coverage"></span> 
191                                                            <#if isCovered.coverage_check_text?? && isCovered.coverage_check_text.getData()?has_content && isCovered.coverage_check_text.getData()!=''> 
192                                                                    <span class="c-comparativa__icon-text"> ${isCovered.coverage_check_text.getData()} </span> 
193                                                               </#if> 
194                                                        </div> 
195                                                    </#if> 
196                                                </#if>  
197                                            </#list>  
198                                         </div> 
199                                    </#if> 
200                                </#list>  
201                            </#if> 
202                            </div> <!--COMPARATIVA SCROLLABLE--> 
203                            <#assign coverageSize = cur_insurance_type_title.product.getSiblings()?size> 
204                            <#if cur_insurance_type_title.product?? && cur_insurance_type_title.product.getSiblings()?has_content> 
205                                  <#if coverageSize == 2>  
206                                    <div class="cell-buttons w-2"> 
207                                        <#list cur_insurance_type_title.product.getSiblings() as coverageButton> 
208 
209                                             <div headers="riesgocon"> 
210                                                 <#if coverageButton.product_button_link?? && coverageButton.product_button_link.getData()?has_content && coverageButton.product_button_link.getData()!= '' &&  coverageButton.product_button_link.button_mobile_text?? && coverageButton.product_button_link.button_mobile_text.getData()?has_content && coverageButton.product_button_link.button_mobile_text.getData()!='' &&  coverageButton.product_button_link.button_text_desktop?? && coverageButton.product_button_link.button_text_desktop.getData()?has_content && coverageButton.product_button_link.button_text_desktop.getData()!='' > 
211                                                      <#assign linkTarget = "_self" /> 
212                                                      <#if coverageButton.product_button_link.selectTarget?? && coverageButton.product_button_link.selectTarget.getData()?has_content> 
213                                                          <#assign linkTarget = coverageButton.product_button_link.selectTarget.getData() /> 
214                                                      </#if> 
215                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-button-direct--primary c-comparativa__button-desktop"> 
216                                                    <span class="c-button-direct__text button__text"> ${coverageButton.product_button_link.button_text_desktop.getData()}</span> 
217                                                    <span class="sr-only">sobre Todo riesgo con franquicia</span> 
218                                                  </a> 
219                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-comparativa__button-mobile c-button-direct--primary"> 
220                                                    <span class="c-button-direct__text button__text"> ${coverageButton.product_button_link.button_mobile_text.getData()}</span> 
221                                                    <span class="sr-only">sobre Todo riesgo con franquicia</span> 
222                                                  </a> 
223                                                   </#if> 
224 
225                                                </div> 
226                                        </#list> 
227                                    </div> 
228                                  <#elseif coverageSize == 3>  
229                                    <div class="cell-buttons w-3"> 
230                                        <#list cur_insurance_type_title.product.getSiblings() as coverageButton> 
231 
232                                                <div headers="riesgocon"> 
233                                                  <#if coverageButton.product_button_link?? && coverageButton.product_button_link.getData()?has_content && coverageButton.product_button_link.getData()!= '' &&  coverageButton.product_button_link.button_mobile_text?? && coverageButton.product_button_link.button_mobile_text.getData()?has_content && coverageButton.product_button_link.button_mobile_text.getData()!='' &&  coverageButton.product_button_link.button_text_desktop?? && coverageButton.product_button_link.button_text_desktop.getData()?has_content && coverageButton.product_button_link.button_text_desktop.getData()!='' > 
234                                                  <#assign linkTarget = "_self" /> 
235                                                  <#if coverageButton.product_button_link.selectTarget?? && coverageButton.product_button_link.selectTarget.getData()?has_content> 
236                                                      <#assign linkTarget = coverageButton.product_button_link.selectTarget.getData() /> 
237                                                  </#if> 
238                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-button-direct--primary c-comparativa__button-desktop"> 
239                                                  <span class="c-button-direct__text button__text"> ${coverageButton.product_button_link.button_text_desktop.getData()} </span> 
240                                                  <span class="sr-only">sobre Todo riesgo con franquicia</span> 
241                                                  </a> 
242                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-comparativa__button-mobile c-button-direct--primary"> 
243                                                    <span class="c-button-direct__text button__text">  ${coverageButton.product_button_link.button_mobile_text.getData()} </span> 
244                                                    <span class="sr-only">sobre Todo riesgo con franquicia</span> 
245                                                    </a> 
246                                                                                                  </#if> 
247 
248                                                </div> 
249                                        </#list> 
250                                    </div> 
251                                  <#elseif coverageSize == 4> 
252                                    <div class="cell-buttons w-4"> 
253                                        <#list cur_insurance_type_title.product.getSiblings() as coverageButton> 
254 
255                                                <div headers="riesgocon"> 
256                                            <#if coverageButton.product_button_link?? && coverageButton.product_button_link.getData()?has_content && coverageButton.product_button_link.getData()!= '' &&  coverageButton.product_button_link.button_mobile_text?? && coverageButton.product_button_link.button_mobile_text.getData()?has_content && coverageButton.product_button_link.button_mobile_text.getData()!='' &&  coverageButton.product_button_link.button_text_desktop?? && coverageButton.product_button_link.button_text_desktop.getData()?has_content && coverageButton.product_button_link.button_text_desktop.getData()!='' > 
257                                                  <#assign linkTarget = "_self" /> 
258                                                  <#if coverageButton.product_button_link.selectTarget?? && coverageButton.product_button_link.selectTarget.getData()?has_content> 
259                                                      <#assign linkTarget = coverageButton.product_button_link.selectTarget.getData() /> 
260                                                  </#if> 
261                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-button-direct--primary c-comparativa__button-desktop"> 
262                                                  <span class="c-button-direct__text button__text"> ${coverageButton.product_button_link.button_text_desktop.getData()}</span> 
263                                                  <span class="sr-only">sobre Todo riesgo con franquicia</span> 
264                                                  </a> 
265                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-comparativa__button-mobile c-button-direct--primary"> 
266                                                    <span class="c-button-direct__text button__text"> ${coverageButton.product_button_link.button_mobile_text.getData()} </span> 
267                                                    <span class="sr-only">sobre Todo riesgo con franquicia</span> 
268                                                    </a> 
269                                                                                                 </#if> 
270 
271                                                </div> 
272                                        </#list> 
273                                    </div> 
274                                  <#elseif coverageSize == 5>  
275                                    <div class="cell-buttons w-5"> 
276                                        <#list cur_insurance_type_title.product.getSiblings() as coverageButton> 
277 
278                                                <div headers="riesgocon"> 
279                                                  <#if coverageButton.product_button_link?? && coverageButton.product_button_link.getData()?has_content && coverageButton.product_button_link.getData()!= '' &&  coverageButton.product_button_link.button_mobile_text?? && coverageButton.product_button_link.button_mobile_text.getData()?has_content && coverageButton.product_button_link.button_mobile_text.getData()!='' &&  coverageButton.product_button_link.button_text_desktop?? && coverageButton.product_button_link.button_text_desktop.getData()?has_content && coverageButton.product_button_link.button_text_desktop.getData()!='' > 
280                                                  <#assign linkTarget = "_self" /> 
281                                                  <#if coverageButton.product_button_link.selectTarget?? && coverageButton.product_button_link.selectTarget.getData()?has_content> 
282                                                      <#assign linkTarget = coverageButton.product_button_link.selectTarget.getData() /> 
283                                                  </#if> 
284                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-button-direct--primary c-comparativa__button-desktop"> 
285                                                  <span class="c-button-direct__text button__text"> ${coverageButton.product_button_link.button_text_desktop.getData()}</span> 
286                                                  <span class="sr-only">sobre Todo riesgo con franquicia</span> 
287                                                  </a> 
288                                                  <a target="${linkTarget}" href="${coverageButton.product_button_link.getData()}" onclick="checkWebviewLink(this, event)" class="c-button-direct button variant-contained button--product c-comparativa__button-mobile c-button-direct--primary"> 
289                                                    <span class="c-button-direct__text button__text">${coverageButton.product_button_link.button_mobile_text.getData()}</span> 
290                                                    <span class="sr-only">sobre Todo riesgo con franquicia</span> 
291                                                    </a> 
292                                                                                                </#if> 
293 
294                                                </div> 
295                                        </#list> 
296                                    </div> 
297                                  </#if> 
298                            </#if> 
299                        </div> 
300                      </div>  
301                    </div> <!--TAB TERCEROS-->  
302            </#list>  
303          </#if> 
304      </div> <!--TABS CONTAINER--> 
305    </div> <!--TABS SEGUROS COCHE--> 
306</div> 
307<script> 
308	let fatherElement = document.getElementsByClassName('c-comparativa')[0]; 
309    let cSwitch = document.getElementsByClassName('c-switch-multiple')[0]; 
310    let comparativaScrollable =  document.getElementsByClassName('c-comparativa__scrollable')[0]; 
311    let scrollableLoop =  document.getElementsByClassName('c-comparativa__scrollable'); 
312     
313    if(fatherElement && cSwitch) { 
314        comparativaScrollable.classList.add('c-comparativa__scrollable--small'); 
315
316     
317    function tabComparativa() { 
318      let launcher = document.getElementsByClassName('js-comparador-tab-opener'); 
319      let launched = document.getElementsByClassName('js-comparador-tab'); 
320      let horScroll = document.getElementsByClassName('c-comparativa__horizontal-scroll'); 
321      let tableHeader = document.getElementsByClassName('c-comparativa__table-header'); 
322 
323      for(let i = 0; i < launcher.length; i++) { 
324        launcher[i].onclick=function() { 
325            let innerWidth = window.innerWidth; 
326             
327            if(innerWidth > 767) { 
328                setTimeout(function() { 
329                    let coWidth = horScroll[i].clientWidth; 
330                    tableHeader[i].style.width = coWidth+'px'; 
331                },20) 
332            } else { 
333                setTimeout(function() { 
334                    let coWidth = scrollableLoop[i].querySelector('.c-comparativa__icons'); 
335                    let finalWidth = coWidth.scrollWidth;	 
336					let windowWidth = window.innerWidth; 
337					if(windowWidth < finalWidth) { 
338						tableHeader[i].style.width = parseInt(finalWidth + 30)+'px'; 
339					}else { 
340						tableHeader[i].style.width = '100%'; 
341
342                },20) 
343
344             
345          let ariaControls = launcher[i].getAttribute('aria-controls'); 
346          let ariaSelected = launcher[i].getAttribute('aria-selected'); 
347 
348          if(ariaSelected == 'false') {           
349            for(let k = 0; k < launched.length; k++) { 
350              let launchedId = launched[k].getAttribute('id'); 
351              if(launchedId == ariaControls) { 
352                for(let j = 0; j < launched.length; j++) { 
353                  launcher[j].setAttribute('aria-selected','false'); 
354                  launched[j].setAttribute('aria-expanded','false'); 
355
356 
357                launched[k].setAttribute('aria-expanded','true'); 
358                launcher[k].setAttribute('aria-selected','true'); 
359
360
361
362
363
364
365	 
366	if(fatherElement) { 
367		tabComparativa(); 
368 
369		let acordeonOpener = document.getElementsByClassName('js-comparativa-acordeon-opener'); 
370		let acordeon = document.getElementsByClassName('js-acordeon'); 
371		let svg = document.getElementsByClassName('c-comparativa__svg-b'); 
372		let svgA = document.getElementsByClassName('c-comparativa__svg-a'); 
373 
374 
375		for(let i = 0; i < acordeonOpener.length; i++) { 
376		  acordeonOpener[i].onclick=function(e) { 
377			e.preventDefault(); 
378			 
379			let opened = acordeon[i].getAttribute('data-opened'); 
380			if(opened == 'false') { 
381			  acordeon[i].classList.add('visible'); 
382			  acordeonOpener[i].classList.add('opened'); 
383			  if(svg[i]) { 
384				svg[i].classList.add('rotate'); 
385
386			  if(svgA[i]) { 
387				  svgA[i].classList.add('rotate'); 
388
389			  acordeon[i].setAttribute('data-opened','true'); 
390			}else { 
391			  acordeon[i].classList.remove('visible'); 
392			  acordeonOpener[i].classList.remove('opened'); 
393			  if(svg[i]) { 
394				svg[i].classList.remove('rotate'); 
395
396			  if(svgA[i]) { 
397				  svgA[i].classList.remove('rotate'); 
398
399			  acordeon[i].setAttribute('data-opened','false');           
400
401
402		}   
403
404</script> 

Amplía tu seguro de hogar con estas coberturas

  • Gastos de desatascos

    Aumenta tu cobertura de "Daños por agua y otros líquidos" y cubre los gastos de localización o reparación y desatasco de averías causantes de los daños, en las instalaciones fijas privativas.

  • Goteras y filtraciones

    Completa la cobertura de "Fenómenos atmosféricos" para cubrir las goteras y filtraciones a través de tejados, muros y/o paredes (excluida la reparación de la causa)

  • Rotura de mármoles

    Cubrimos el gasto de sustitución, transporte, colocación y montaje de mármoles, vitrocerámica y sanitarios.

  • Asistencia en el Hogar VIP

    Aumenta la cobertura de Asistencia en el hogar, incluyendo nuestro servicio de 2º opinión médica, asistencia en viaje y consulta médica telefónica.

Puedes Descargar