Emita sua primeira passagem pelo APP Smiles e ganhe 500 milhas bônus! Baixe agora e aproveite.


X
Día
¿Dónde quiere alojarse?
Fecha de entrada
--
-- --
Fecha de salida
--
-- --
1
2
0
Alquile su coche
De
-
- -
Hasta
-
- -

Veja alguns destinos desta promoção, são várias cidades de origem:

Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 
Se ha producido un error al procesar la plantilla.
Expression cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de') is undefined on line 61, column 33 in 10157#10197#22408536.
1<#-- Cantacom Dev Team --> 
2 
3    <style> 
4.cantacom-btn{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border:none;padding:10px 20px;text-decoration:none;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.5;font-size:1.125em;letter-spacing:1;text-align:center;-webkit-border-radius:.25rem;border-radius:.25rem;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-ms-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.cantacom-btn:hover{opacity:.8;color:#fff!important}[class*=canta-] *,[class*=canta-] ::after,[class*=canta-] ::before{box-sizing:border-box}[class*=canta-] p{margin:0}[class*=canta-] img{max-width:inherit}[class*=canta-] img.scale-hover{-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-ms-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out;-moz-transform:scale(1);-webkit-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}[class*=canta-] img.scale-hover:hover{-moz-transform:scale(1.01);-webkit-transform:scale(1.01);-o-transform:scale(1.01);-ms-transform:scale(1.01);transform:scale(1.01)}[class*=canta-] figure{margin:0}.canta-align-items-center{align-items:center!important}.canta-mod-99a-destinos01{position:relative;box-sizing:border-box;margin:30px 0}.canta-mod-99a-destinos01 .canta-text-jur{margin-top:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:600;line-height:1.2;font-size:.8125em;color:#7c7c7c;letter-spacing:1;text-align:justify}.canta-mod-99a-destinos01 .canta-arrow{width:60px;height:39px;display:inline-block;margin:10px 0;position:relative;padding:10px;box-sizing:border-box;-ms-overflow-style:scrollbar}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow{width:50px;height:30px;padding:7px 0 0 8px}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-arrow img{width:16px}}.canta-mod-99a-destinos01 .canta-arrow::after{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;top:-3px;right:-10px;-moz-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.canta-mod-99a-destinos01 .canta-arrow::before{display:block;content:"";width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-bottom:15px solid #fff;position:absolute;bottom:-3px;right:-10px;-moz-transform:rotate(135deg);-webkit-transform:rotate(135deg);-o-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.canta-mod-99a-destinos01 .canta-mod-desc1{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-desc1 p{display:flex;margin:0;margin-left:15px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.3;font-size:1.375em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-desc1 p span{margin-left:20px}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-clube{color:#639}.canta-mod-99a-destinos01 .canta-mod-desc1 p strong.color-geral{color:#ff5a00}.canta-mod-99a-destinos01 .canta-mod-figure{position:relative;overflow:hidden;margin:0;height:250px}.canta-mod-99a-destinos01 .canta-mod-figure>div{position:absolute;top:20px;right:20px;z-index:5;text-align:right}.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:100%;width:inherit!important;vertical-align:middle;border:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:80%}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-figure>div img{max-width:60%}}.canta-mod-99a-destinos01 .canta-mod-figure>img{position:absolute;top:0;left:0;display:block}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-left{left:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-center{left:-webkit-calc(50% - 640px);left:-moz-calc(50% - 640px);left:calc(50% - 640px);height:100%}.canta-mod-99a-destinos01 .canta-mod-figure>img.pos-right{left:inherit;right:0;height:100%}.canta-mod-99a-destinos01 .canta-mod-figure{height:160px}}.canta-mod-99a-destinos01 .canta-mod-items-desc{position:relative;border:1px solid #d7d7d7;padding:20px;margin-left:0;margin-right:0;display:flex;flex-wrap:wrap;justify-content:space-between}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc{justify-content:space-between}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc{flex-direction:column;padding-top:40px;padding-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 4%}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2.5%}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:0 2%}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div{margin:20px 0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 0 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(2){margin:20px 0 20px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1){margin-right:0}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){display:flex;align-items:center;justify-content:space-between;margin:0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3){margin-bottom:40px}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column{flex-direction:column}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3).flex-direction-column>div:nth-child(2){margin:20px 0 20px;padding:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>p{margin:0;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div{display:flex;flex-wrap:wrap;align-items:center}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(1){font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p{margin:0;margin-left:10px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:.875em;color:#7c7c7c;letter-spacing:1;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(1)>div>div:nth-child(2) p span{font-weight:700}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){max-width:50px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:900;line-height:1.1;font-size:2.8125em;color:#c7c7c7;letter-spacing:1;text-align:center;margin:8px 20px 0}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 40px;padding-left:12px}}@media (max-width:575px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(2){margin:0 20px}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3){margin-bottom:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin:0;margin-top:30px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(3)>div:nth-child(3) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10){margin-bottom:40px}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin:0;margin-top:34px;font-family:Nunito,nunitolight,nunito-light,arial;font-weight:700;line-height:1;font-size:2.8125em;color:#639;letter-spacing:-1px;text-align:left}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{font-size:2.5em}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p .txt-small{font-size:.5em}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) p{margin-top:0}}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(10) small{font-family:Nunito,nunitolight,nunito-light,arial;font-weight:400;line-height:1.1;font-size:.75em;color:#7c7c7c;letter-spacing:-1px;text-align:left}.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){margin:0;padding:20px 30px 20px 50px;border-left:1px solid #7c7c7c}@media (max-width:1199px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:20px 0 20px 30px}}@media (max-width:991px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){border:none;width:100%;text-align:center}}@media (max-width:767px){.canta-mod-99a-destinos01 .canta-mod-items-desc>div:nth-child(4){padding:0}}@media (max-width:768px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:1.125em}}@media (max-width:650px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.9em}}@media (max-width:450px){.canta-mod-99a-destinos01 .canta-mod-desc1 p{font-size:.8em}}.cantacom-color-laranja-smiles{color:#ff5a00}.cantacom-color-laranja-gol{color:#ff5a00}.cantacom-color-laranja-queimado{color:#c63}.cantacom-color-roxo-clube{color:#639}.cantacom-color-vinho-transacoes{color:#a11f63}.cantacom-color-branco{color:#fff}.cantacom-background-laranja-smiles{background-color:#ff5a00}.cantacom-background-laranja-gol{background-color:#ff5a00}.cantacom-background-laranja-queimado{background-color:#c63}.cantacom-background-roxo-clube{background-color:#639}.cantacom-background-vinho-transacoes{background-color:#a11f63} 
5    </style> 
6     
7     
8    <#function getClearValue n> 
9<#assign aux = (n?string)?replace('[^0-9]','','r')> 
10<#if aux != ''> 
11<#return  aux?number > 
12<#else> 
13<#return  0 > 
14</#if> 
15</#function> 
16 
17 
18<#function getValorFormatadoMilhas n> 
19 
20<#assign value = getClearValue(n)> 
21 
22 <#if value<=0> 
23            <#return "X.XXX"> 
24        <#else> 
25            <#return value?string ('#,##0')> 
26        </#if> 
27 
28</#function> 
29 
30    <#assign  
31    informacaoDestinos=informacao_destinos_separator textoJuridico=texto_juridico_destino.getData()> 
32     
33    <#assign arrayOrdenacao =[]> 
34     
35    <#if informacaoDestinos.getSiblings()?has_content> 
36    <#list informacaoDestinos.getSiblings() as element> 
37    <#assign arrayOrdenacao = arrayOrdenacao + [element]> 
38    </#list> 
39    </#if> 
40     
41 
42 
43 
44        <section class="canta-mod-99a-destinos01" data-animate="pulse"> 
45             
46                <#list arrayOrdenacao?sort_by(["destinos_ordem_de_prioridade","data"]) as cur_item> 
47 
48                <#assign  
49                corOferta = cur_item.getChild('cores_separator').getChild('cor_oferta').getData() 
50                iconeFlag = cur_item.getChild('icones_separator').getChild('icone_da_flag').getData() 
51                iconeCompanhiaAerea = cur_item.getChild('destino_separator').getChild('icone_companhia_aerea').getData() 
52                destino = cur_item.getChild('destino_separator').getChild('destino').getData() 
53                fotoDestinoPosicaoMobile = cur_item.getChild('destino_separator').getChild('foto_do_destino_posicao_mobile').getData() 
54                linkDoBotao = cur_item.getChild('destino_separator').getChild('link_do_botao').getData() 
55                fotoDestino = cur_item.getChild('destino_separator').getChild('foto_do_destino').getData()       
56                valorMilhasDinheiroAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_milhas_dinheiro_a_partir_de').getData()     
57                quantidadeParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('quantidade_de_parcelas').getData() 
58                valorParcelas = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_parcelas').getData() 
59 
60 
61                valorMilhasDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_de').getData()    
62                valorMilhasAPartirDe = cur_item.getChild('destino_separator').getChild('valor_milhas_separator').getChild('valor_milhas_a_partir_de').getData()    
63                 
64                textoDoBotao = cur_item.getChild('botao_separator').getChild('texto_do_botao').getData() 
65                valorTotalParcelamento = cur_item.getChild('destino_separator').getChild('valor_milhas_dinheiro_separator').getChild('valor_total_de_parcelamento').getData() 
66                textoAPartirPreco = '' 
67
68                <#if valorMilhasDe?has_content><#assign textoAPartirPreco = 'Por a partir de:'><#else><#assign textoAPartirPreco= 'A partir de:'></#if> 
69                    <div class="canta-container-fluid" style="margin-bottom: 30px"> 
70                        <div class="canta-row "> 
71                            <div class="canta-col canta-mod-desc1"> 
72                                <div 
73                                    class="canta-arrow cantacom-background-${corOferta}"> 
74                                    <img src="${iconeFlag}" 
75                                        alt=""> 
76                                </div> 
77                                <p> 
78                                    De: ${cur_item.getChild('destino_separator').getChild('origem').getData()} 
79                                    <span>Para: <strong 
80                                        class="cantacom-color-${corOferta}">${destino}</strong></span> 
81                                </p> 
82                            </div> 
83                        </div> 
84                         
85                        <div class="canta-row"> 
86                            <div class="canta-col"> 
87                                <figure class="canta-mod-figure"> 
88                                    <div> 
89                                  
90                                        <img src="${iconeCompanhiaAerea}" 
91                                            alt="Smiles"> 
92                                    </div> 
93                                       <!--To set the position in max-width 768px. Apply the class of the desired position: pos-left, pos-center, pos-right--> 
94                                       <#if fotoDestino?has_content> 
95                                    <img class="${fotoDestinoPosicaoMobile}" src="${fotoDestino}" 
96                                        href="${linkDoBotao}" 
97                                        alt="Smiles"> 
98                                        </#if> 
99                                </figure> 
100                            </div> 
101                        </div> 
102                        <div class="canta-row canta-align-items-center canta-mod-items-desc" data-count-up="true"> 
103                            <div> 
104                            <#if valorMilhasDe?has_content> 
105                             <p>De: <s>${getValorFormatadoMilhas(valorMilhasDe)}</s></p> 
106                             </#if> 
107                                <p> 
108                                    <span>${textoAPartirPreco}</span><br> 
109                                </p> 
110                                <div> 
111                                    <div> 
112                                        <strong 
113                                            class="cantacom-color-${corOferta}" 
114                                            data-value-finish="">${getValorFormatadoMilhas(valorMilhasAPartirDe)}</strong> 
115                                    </div> 
116                                    <div> 
117                                        <p> 
118                                            <span 
119                                                class="cantacom-color-${corOferta}">milhas</span> 
120                                            o<br> 
121                                            trecho +<br> 
122                                            taxas* 
123                                        </p> 
124                                    </div> 
125                                </div> 
126                            </div> 
127                            <div> 
128                                <span class="cantacom-color-${corOferta}">ou</span> 
129                            </div> 
130                            <!--To set the flex orientation use the class: flex-direction-column, else remove class to mantain inline--> 
131                            <div class="flex-direction-column"> 
132 
133 
134 
135                                <div> 
136                                    <p> 
137                                        <span>A partir de:</span><br> 
138                                    </p> 
139                                    <div> 
140                                        <div> 
141                                            <strong 
142                                                class="cantacom-color-${corOferta}" 
143                                                data-value-finish="">${valorMilhasDinheiroAPartirDe}</strong> 
144                                        </div> 
145                                        <div> 
146                                            <p> 
147                                                <span 
148                                                    class="cantacom-color-${corOferta}">milhas</span> 
149                                                o<br> 
150                                                trecho +<br> 
151                                                taxas* 
152                                            </p> 
153                                        </div> 
154                                    </div> 
155                                </div> 
156                                <div> 
157                                    <span 
158                                        class="cantacom-color-${corOferta}">+</span> 
159                                </div> 
160                                <div> 
161                                    <p> 
162                                        <span 
163                                            class="txt-small cantacom-color-${corOferta}">${quantidadeParcelas} 
164                                            R$ </span><span 
165                                            class="cantacom-color-${corOferta}">${valorParcelas}</span> 
166                                    </p> 
167                                    <small>Total de parcelamento: R$ ${valorTotalParcelamento}</small> 
168                                </div> 
169 
170                            </div> 
171 
172                            <div> 
173                                <#if textoDoBotao?has_content> 
174 
175                                    <a href="${linkDoBotao}" 
176                                        class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">${textoDoBotao}</a> 
177                                    <#else> 
178                                        <a href="${linkDoBotao}" 
179                                            class="cantacom-btn cantacom-background-${corOferta} cantacom-color-branco">Resgate 
180                                            já</a> 
181                                </#if> 
182                            </div> 
183                        </div> 
184 
185                    </div> 
186                </#list> 
187             
188            <div class="canta-container-fluid"> 
189                <div class="canta-row"> 
190                    <div class="canta-col"> 
191                        <p class="canta-text-jur">${textoJuridico}</p> 
192                    </div> 
193                </div> 
194 
195            </div> 
196        </section> 

A Smiles tem mais de 700 mil opções de hotéis para você escolher, pague o mesmo valor da Booking.com e ainda ganhe 3x mais milhas.

 

Homewood Suites By Hilton Miami Dolphin Mall

MIAMI

a partir de R$

862,00

/diária

GANHE

4.650

milhas
/diária

 

Grande Villas Resort By Diamond Resorts

ORLANDO

a partir de R$

878,00

/diária

GANHE

12.000

milhas/diária

 

Hotel Rincon De Puembo; Bw Signature Collection

QUITO

a partir de R$

620,00

/diária

GANHE

1.650

milhas/diária

 

Hotel Westfalenhaus

ASSUNÇÃO

a partir de R$

660,00

/diária

GANHE

1.976

milhas/diária

 

Regency Rambla Design Apart Hotel

MONTEVIDÉU

a partir de R$

698,00

/diária

GANHE

2.091

milhas/diária

 

Hotel Quito

SANTIAGO

a partir de R$

371,00

/diária

GANHE

1.650

milhas
/diária

 

Park Royal City Buenos Aires

BUENOS AIRES

a partir de R$

704,00

/diária

GANHE

7.650

milhas
/diária

 

Loi Suites Esmeralda

ROSÁRIO

a partir de R$

489,70

/diária

GANHE

4.650

milhas
/diária

 

Los Olivos Loft

CANCUN

a partir de R$

681,00

/diária

GANHE

2.040

milhas
/diária

Hotéis: milhas de tarifas reembolsáveis são creditadas em até 10 dias após check-out desde que feito até 31/12/2019, após essa data o participante não é elegível a recebê-las; e milhas de tarifas não reembolsáveis sinalizadas com "Milhas + Rápido" são creditadas em até 5 dias após a reserva. Para reservas concluídas pela Booking.com, as milhas serão creditadas em até 45 dias após o check-out.

Quando você faz parte do Clube Smiles tem esses e outros benefícios exclusivos:

5 opções de planos

Escolha o plano ideal para você!

Viaje Fácil

Emita passagem sem milhas e quite em até 60 dias antes do voo. E mais: quem é Clube Smiles ganha mais milhas ao quitar a passagem.

Reservas gratuitas

Único programa que permite reservar 5 bilhetes GOL gratuitamente a cada 12 meses.