1(self.webpackChunkApp=self.webpackChunkApp||[]).push([[685,713],{733:(o,n)=>{var t;void 0===(t=function(o){if(o&&'function'==typeof o){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return o();document.attachEvent&&void 0!==document.attachEvent?document.attachEvent("onreadystatechange",function(){if("complete"===document.readyState)return o()}):document.addEventListener("DOMContentLoaded",function(){return o()})}})||(o.exports=t)},475:(o,n,t)=>{var i,e;i=[t(779)],void 0===(e=function(o){var n=function(n,t,i,e){o(function(){document.querySelectorAll(t).forEach(function(o){if(!function(o,n){return o.cronicaInit=o.cronicaInit||{},!!o.cronicaInit[n]}(o,n)){var t=i(o);e&&!0!==t||(o.cronicaInit[n]=!0)}})})};return{forEach:function(o,t,i,e){var a=n.bind(null,o,t,i,e);document.addEventListener("infiniteScroll",a),a()},on:function(o,t,i,e){var a=n.bind(null,o,t,function(o){return o.addEventListener(i,e),!0});document.addEventListener("infiniteScroll",a),a()},getAbsoluteHeight:function(o){o="string"==typeof o?document.querySelector(o):o;var n=function(o){var n=window.getComputedStyle(o);return parseFloat(n.marginTop)+parseFloat(n.marginBottom)},t=n(o),i=0;return function o(t){"INS"!==t.nodeName&&"IFRAME"!==t.nodeName&&"TEXT"!==t.nodeName&&(i+=n(t),t.hasChildNodes()&&o(t.firstElementChild))}(o),Math.ceil(o.offsetHeight+(t+=i))},getOffset:function(o){var n=o,t=n.offsetWidth,i=n.offsetHeight,e=0,a=0,l={};return function o(r){if(!r)return l={top:n.offsetTop+a,left:n.offsetLeft+e,bottom:n.offsetTop+a+i,right:n.offsetLeft+e+t};e+=r.offsetLeft,a+=r.offsetTop,o(r.offsetParent)}(n.offsetParent),l}}}.apply(n,i))||(o.exports=e)},291:()=>{$(".c-header__nav-btn").click(function(o){o.stopPropagation();var n=$("body"),t=$(".c-nav"),i=$(".c-header").height(),e=$(".c-add-wall-top"),a=e.length?e.height():0,l=a+i;if("none"===t.css("display")){n.addClass("open-navigation"),$(this).attr('aria-expanded','true');var r=768>$(window).width()?i:i+window.scrollY;t.attr("style","top:"+r+"px")}else n.removeClass("open-navigation"),$(this).attr('aria-expanded','false');function c(){if(window.scrollY<l){t.removeClass("sticky");var o=768>$(window).width()?i:i+a;t.attr("style","top:"+o+"px")}else t.addClass("sticky").attr("style","top:"+i+"px")}c(),$(window).off("scroll",c).on("scroll",c)}),$(".c-nav__close").click(function(){$("body").removeClass("open-navigation"),$(".c-nav").removeClass("sticky")}),document.querySelectorAll(".c-nav__wrap__menu__btn").forEach(function(o){o.addEventListener("click",function(){o.classList.contains("second-level")||o.classList.contains("third-level")?o.parentNode.parentNode.classList.toggle('open'):o.parentNode.classList.toggle('open')})})},872:(o,n)=>{var t;void 0===(t=function(){function o(o,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'get',e=new XMLHttpRequest;if(e.onreadystatechange=function(){4==e.readyState&&t(e.status,e.response)},'get'==i){var a=""+new URLSearchParams(n);o+=-1===o.indexOf("?")?'?'+a:'&'+a}e.open(i,o),e.send(n)}function n(o,n,t){var i;try{i=JSON.parse(t)}catch(o){}o(n,i)}var t={get:function(n,t,i){o(n,t,i)},getJSON:function(o,i,e){t.get(o,i,n.bind(null,e))},post:function(n,t,i){o(n,t,i,'post')},postJSON:function(o,i,e){t.post(o,i,n.bind(null,e))}};return t}())||(o.exports=t)},579:(o,n,t)=>{var i,e;function a(o){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},a(o)}i=[t(733),t(872)],void 0===(e=function(o,n){if(!("Poll"in window)){var t=document.getElementsByTagName("body")[0],i={ids:[],url:"/polls?cb="+(new Date).getTime()+"&type=json",userLogin:!0,voteUrl:"/poll/vote/",userlessVote:!1,pollCookieExpiresMonths:3,votedPolls:function(){for(var o=document.cookie.split(";"),n=[],t=0;o.length>t;t++){var i=o[t].replace(/^\s+|\s+$/g,"");if(0==i.indexOf("_cms-poll-")){var e=(i=i.split("="))[0].match(/_cms-poll-(\d+)/);if(Array.isArray(e)&&void 0!==e[1])var a=e[1];void 0!==a&&n.push({id:a,vote:i[1]})}}return n},hasCookie:function(o){var n=o.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");return RegExp("(?:^|;\\s*)"+n+"=").test(document.cookie)},closePoll:function(o){var n=document.getElementById("poll-"+o);n.querySelectorAll(".c-poll__footer__link").forEach(function(o){o.style.display="none"}),this.showResults(n)},init:function(){var o=this.formSubmit.bind(this);t.querySelectorAll(".poll a.link:not(.generated)").forEach(function(o){o.addEventListener("click",function(o){o.preventDefault()}),o.classList.add("generated"),o.classList.add("results")});var n=this;t.querySelectorAll(".c-poll__footer__link").forEach(function(o){o.addEventListener("click",function(i){i.preventDefault();var e=o.closest(".poll"),a=e.querySelectorAll(".poll-bar"),l=e.querySelectorAll(".poll-option-votes"),r=e.querySelectorAll(".option-input"),c=e.querySelectorAll(".poll-vote-button");if('Resultados'===o.innerHTML)n.showResults(e),o.innerHTML='Votaci\xf3n';else if('Votaci\xf3n'===o.innerHTML){var u=t.querySelector("#"+e.id+" .poll-show-total-votes");$(u).css("display","none"),o.innerHTML='Resultados',e.classList.remove("results"),r&&[].forEach.call(r,function(o){o.style.display="inline-block"}),l&&[].forEach.call(l,function(o){o.style.display="none"}),a&&[].forEach.call(a,function(o){o.style.display="none"}),c&&[].forEach.call(c,function(o){o.removeAttribute("disabled","")})}}),o.classList.add("generated")}),t.querySelectorAll(".poll-form:not(.generated)").forEach(function(n){n.addEventListener("submit",o),n.classList.add("generated")})},showResults:function(o){var n=o.querySelectorAll(".poll-bar"),i=o.querySelectorAll(".poll-option-votes"),e=o.querySelectorAll(".option-input"),a=o.querySelectorAll(".poll-vote-button"),l=t.querySelector("#"+o.id+" .poll-show-total-votes");$(l).css("display","block"),o.classList.add("results"),e&&[].forEach.call(e,function(o){o.style.display="none"}),i&&[].forEach.call(i,function(o){o.style.display="block"}),n&&[].forEach.call(n,function(o){o.style.display="block"}),a&&[].forEach.call(a,function(o){o.setAttribute("disabled","")})},addId:function(o){this.ids.push(o)},disablePoll:function(o){var n=t.getElementById("poll-"+o);n&&n.removeEventListener("submit",this.formSubmit)},alertLogin:function(){document.dispatchEvent(new CustomEvent("pollLoginRequired"))},loadAll:function(){var o=this,i=[];document.querySelectorAll(".poll").forEach(function(o){var n=o.getAttribute("id");n&&n.match(/^poll/)&&i.push(n.replace(/[^0-9]+/g,""))}),!i.length&&this.ids.length&&(i=this.ids),i.length&&n.getJSON(this.url,{ids:i}
1,function(n,i){if(o.userLogin=i.poll_user_login,o.userlessVote&&(o.userLogin=!0),i.polls){for(var e=0;i.polls.length>e;e++){var l=i.polls[e],r=l.id;document.getElementById("poll-"+r),!0===l.is_expired&&(t.querySelector("#poll-"+r+" div #expired").style.display="block",t.querySelector("#poll-"+r+" div #thanks").style.display="none",o.closePoll(r)),o.processVotes(l);var c=new Event("poll-load");c.pollId=r,document.dispatchEvent(c)}for(var u=document.cookie.split(";"),d=[],p=0;u.length>p;p++){var s=u[p].replace(/^\s+|\s+$/g,"");if(0==s.indexOf("_cms-poll-")){var f=(s=s.split("="))[0].match(/_cms-poll-(\d+)/);if(Array.isArray(f)&&void 0!==f[1])var v=f[1];void 0!==v&&d.push(parseInt(v))}}$.each(i.polls,function(o,n){var i=n.id,e=n.show_total_votes,l=n.total_votes,r=t.querySelector("#poll-"+i+" .c-poll__msg__total__votes"),c=t.querySelector("#poll-"+i+" .c-poll__msg__total__votes__without__user__voted");if(n.is_expired)var u=t.querySelector("#poll-"+i+" div #expired");else u=t.querySelector("#poll-"+i+" div #thanks");if(void 0!==a(e)&&!0===e&&l>0){var p=document.createElement("div"),s="";1===l?s="Ya ha votado "+l+" persona":l>1&&(s="Ya han votado "+l+" personas");var f=t.querySelector("#poll-"+i+" .poll-content");$(p).addClass("poll-show-total-votes"),-1!==$.inArray(parseInt(i),d)?!0===e&&e>0?($(u).css("display","none"),$(r).css("display","block"),$(c).css("display","none")):($(u).css("display","block"),$(r).css("display","none"),$(c).css("display","none")):!0===n.is_expired&&($(u).css("display","none"),$(r).css("display","none"),$(c).css("display","block")),$(p).css("display","none"),p.append(s),f.insertBefore(p,f.firstChild)}else 0==n.total_persons_that_voted?$(c).css("display","none"):!0===n.is_expired&&!1===e&&($(u).css("display","block"),$(r).css("display","none"),$(c).css("display","none"))})}o.disableVotedPolls()})},processVotes:function(o){var n=0,i=o.id,e=document.getElementById("poll-"+i);if(Array.isArray(o.options))for(var a=0;o.options.length>a;a++)n+=o.options[a].vote_count;for(var l=document.cookie.split(";"),r=[],c=0;l.length>c;c++){var u=l[c].replace(/^\s+|\s+$/g,"");if(0==u.indexOf("_cms-poll-")){var d=(u=u.split("="))[0].match(/_cms-poll-(\d+)/);if(Array.isArray(d)&&void 0!==d[1])var p=d[1];void 0!==p&&r.push(parseInt(p))}}var s=t.querySelector("#poll-"+i+" .c-poll__msg__total__votes"),f=t.querySelector("#poll-"+i+" div .c-poll__msg");if(-1!==$.inArray(parseInt(i),r)){var v=document.createElement("span");v.innerHTML=1==o.total_votes?"<strong>Gracias por participar</strong>, ha votado <span>"+o.total_votes+"</span> persona":o.total_votes>1?"<strong>Gracias por participar</strong>, han votado <span>"+o.total_votes+"</span> personas":"<strong>Gracias por participar</strong>",$(s).empty(),$(s).append(v),!0===o.show_total_votes&&o.total_votes>0?($(f).css("display","none"),$(s).css("display","block")):($(f).css("display","block"),$(s).css("display","none"))}if(Array.isArray(o.options))for(a=0;o.options.length>a;a++){var m=o.options[a],y=parseFloat(100*m.vote_count/n).toFixed(2),_=e.querySelectorAll('.poll-item[data-id="'+m.id+'"]');for(isNaN(y)&&(y=0),c=0;_.length>c;c++){var w=_[c],g=w.querySelector(".poll-bar-progress"),h=w.querySelector(".poll-percent"),b=w.querySelector(".poll-option-votes");b&&(b.textContent=y+"%"),g&&(g.style.width=y+"%"),h&&(h.textContent=y+"%")}}},showVoteError:function(o,n){var t=n&&n.message||"No se ha podido registrar tu voto.",i=o.closest(".poll");if(i){var e=i.querySelector("#thanks"),a=i.querySelector("#expired");if(i.querySelectorAll(".c-poll__footer__link").forEach(function(o){o.style.display="none"}),i.querySelectorAll(".c-poll__footer__btn, .poll-vote-button").forEach(function(o){o.style.display="none"}),this.showResults(i),a&&(a.style.display="none"),e)return e.innerHTML=t,e.style.display="block",void(e.parentElement&&(e.parentElement.style.display="block"))}},formSubmit:function(o){o.preventDefault();var t=o.target,i=new FormData(t),e=this,a=t.classList.contains("multiple"),l=t.getAttribute("action"),r=i.get("vote");l&&(a||r)&&n.postJSON(l,i,function(o,n){if(200==o)if(n&&n.error){if(!0===n.alreadyVoted&&n.id){var l=p||i.get("vote[]")||"already-voted";e.markPollVoted(n.id,l)}e.showVoteError(t,n)}else{var r=n.total_persons_that_voted,c=n.end_date;try{if(a)for(var u=i.getAll("vote[]"),d=0;u.length>d;d++)e.markPollVoted(n.id,p=u[d],c);else{var p=i.get("vote");e.markPollVoted(n.id,p,c)}r=n.total_persons_that_voted}catch(o){return void e.showVoteError(t,n)}e.disableVotedPolls(r,n),e.processVotes(n);var s=new Event("wfcms-poll-voted");s.pollData=n,document.dispatchEvent(s)}else e.showVoteError(t,n)})},markPollVoted:function(o,n,t){var i=new Date;i.setMonth(i.getMonth()+this.pollCookieExpiresMonths);var e=i.toGMTString(),a="_cms-poll-"+o,l="POLL_VOTED_"+o,r=document.location.hostname;this.hasCookie(a)||(document.cookie=a+"=option-"+n+";domain="+r+";path=/;expires="+e),this.hasCookie(l)||(document.cookie=l+"=1;domain="+r+";path=/;expires="+e)},disableVotedPolls:function(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(o){var t,e=i.votedPolls();for(poll in e){t=e[poll].id,poll;var a=document.getElementById("poll-"+t);if(a){var l=a.querySelector(".c-poll__footer__btn"),r=a.querySelector(".c-poll__footer__link"),
1c=a.querySelector(".poll-title"),u=a.querySelectorAll(".poll-bar"),d=a.querySelectorAll(".poll-option-votes"),p=a.querySelectorAll(".option-input");if(null!=n&&n.id==t){o=n.total_persons_that_voted;var s=a.querySelector("#poll-"+t+" .c-poll__msg__total__votes__without__user__voted")}}c&&(c.removeAttribute("class"),c.setAttribute("class","c-poll__msg")),r&&(r.style.display="none"),l&&(l.disabled=!0),p&&[].forEach.call(p,function(o){o.style.display="none"}),d&&[].forEach.call(d,function(o){o.style.display="block"}),u&&[].forEach.call(u,function(o){o.style.display="block"}),s&&null!=o&&(1==o?s.innerHTML='Ha votado <span>'+o+'</span> persona':o>1&&(s.innerHTML='Han votado <span>'+o+'</span> personas')),a&&a.classList.add("poll-voted")}}(o)}};if("PollConfig"in window)for(var e in window.PollConfig)window.PollConfig.hasOwnProperty(e)&&(i[e]=window.PollConfig[e]);o(function(){i.init(),i.loadAll()}),!(!1 in window)&&window.Poll||(window.Poll=i),document.dispatchEvent(new Event("pollLoaded"))}}.apply(n,i))||(o.exports=e)},782:(o,n,t)=>{var i,e;i=[t(475),t(532)],void 0===(e=function(o,n){if(!n){var t=[],i=null,e=new Map,a=null,l=new IntersectionObserver(function(o){o.forEach(function(o){var n=o.target,t=e.get(n.id);if(t){n.setAttribute('data-is-visible',o.isIntersecting?'1':'0');var i='1'===n.getAttribute('data-was-playing'),a='1'===n.getAttribute('data-prev-playing');o.isIntersecting?a&&(function(o){o.playVideo?o.playVideo():"function"==typeof o.play?o.play():"function"==typeof o.api&&o.api('play')}(t),n.setAttribute('data-prev-playing','0')):(n.setAttribute('data-prev-playing',i?'1':'0'),i&&function(o){o.pauseVideo?o.pauseVideo():"function"==typeof o.pause?o.pause():"function"==typeof o.api&&o.api('pause')}(t))}})},{threshold:[0,.5],rootMargin:'0px 0px 10% 0px'});!function(){function n(o){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=o.querySelector("video");if(u&&"true"!==u.dataset.processed){u.dataset.processed="true",o.classList.add("player-inline");var d=u.getAttribute("data-source");if(null!=d&&d.includes("daily")){var p={video:u,videoPlayer:o,muted:n.muted,parsed:!1};'undefined'!=typeof dailymotion?p.parsed=c(p):(t.push(p),(i||(i=new Promise(function(o){if(window.dailymotion)return o();var n=document.createElement("script");n.onload=function(){return o()},n.src='https://geo.dailymotion.com/libs/player.js',document.head.appendChild(n)}))).then(function(){t.forEach(function(o){o.parsed||(o.parsed=c(o))})}))}else if("youtube"===d){var s=u.getAttribute("href")||u.getAttribute("video-id");s&&function(o,n){var t,i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=document.createElement('div');u.className='c-article__video';var d=r(),p='yt_player_'+n+'_'+d,s=document.createElement('div');s.id=p,s.classList.add('c-article__video-embed'),s.style.cssText='width:100%;height:100%',u.appendChild(s),null===(t=o.querySelector("picture"))||void 0===t||t.remove(),null===(i=o.querySelector(".c-article__video"))||void 0===i||i.remove(),o.appendChild(u);var f=u.id||'yt_container_'+d;u.id=f,l.observe(u),(a||(a=new Promise(function(o){if(window.YT&&window.YT.Player)return o();var n=document.createElement('script');n.src="https://www.youtube.com/iframe_api";var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(n,t),window.onYouTubeIframeAPIReady=function(){return o()}}))).then(function(){new YT.Player(p,{height:'100%',width:'100%',videoId:n,host:'https://www.youtube-nocookie.com',playerVars:{autoplay:c.autoplay?1:0,mute:c.mute?1:0,rel:0,playsinline:1,controls:1,hl:'es',origin:window.location.origin},events:{onReady:function(o){e.set(f,o.target),c.autoplay?(u.setAttribute('data-was-playing','1'),u.setAttribute('data-prev-playing','0'),o.target.mute(),setTimeout(function(){return o.target.playVideo()},150)):(u.setAttribute('data-was-playing','0'),u.setAttribute('data-prev-playing','0'))},onStateChange:function(o){o.data===YT.PlayerState.PLAYING?u.setAttribute('data-was-playing','1'):o.data===YT.PlayerState.PAUSED?u.setAttribute('data-was-playing','0'):o.data===YT.PlayerState.ENDED&&(u.setAttribute('data-was-playing','0'),u.setAttribute('data-prev-playing','0'))}}})})}(o,s,n)}}}
1o.forEach("video-player",".video-player",function(o){var t=o.closest('article');if(t&&t.classList.contains('c-article--video')){var i=o.querySelector("video");i&&i.getAttribute('data-source')&&(o.className+='youtube'===i.getAttribute('data-source')?' format_4_3':' format_16_9'),t.classList.contains('c-article--video-autoplay')?n(o,{muted:!0,autoplay:!0}):o.addEventListener("click",function(t){t.preventDefault(),o.getAttribute('data-loading-video')||(o.setAttribute('data-loading-video','1'),n(o,{autoplay:!0}))})}})}()}function r(){return window.crypto&&crypto.randomUUID?crypto.randomUUID():'xxxxxxxxyxxx'.replace(/[xy]/g,function(o){var n=16*Math.random()|0;return('x'===o?n:3&n|8).toString(16)})+'_'+Date.now()}function c(o){var n=o.video,t=o.videoPlayer,i=o.muted;if(o.parsed||'undefined'==typeof dailymotion)return!1;if("1"===t.dataset.dmInitialized)return!1;t.dataset.dmInitialized="1";var a=n.getAttribute('href'),c=t.querySelector('img'),u=n.closest('.c-article__video');u||((u=document.createElement('div')).className='c-article__video',t.prepend(u)),u.innerHTML='',u.style.display='none',c&&c.height>0?(u.style.height=c.height+'px',u.style.width=c.width+'px'):(u.style.aspectRatio='16 / 9',u.style.width='100%');var d=r(),p='dm_player_'+a+'_'+d,s=document.createElement('div');s.setAttribute('id',p),s.style.cssText='width:100%;height:100%;position:relative',u.append(s);var f=u.id||'dm_container_'+d;return u.id=f,l.observe(u),dailymotion.createPlayer(p,{video:a,params:{pip:!1,sticky:!1,is_sticky:0,is_pip:0,mute:i?1:0,"queue-enable":!1,"queue-autoplay-next":!1}}).then(function(o){e.set(f,o),o.on(dailymotion.events.VIDEO_PLAY,function(){return u.setAttribute('data-was-playing','1')}),o.on(dailymotion.events.VIDEO_PAUSE,function(){return u.setAttribute('data-was-playing','0')}),new MutationObserver(function(){var o=s.querySelector('iframe');!o||'fixed'!==o.style.position&&'0px'===o.style.top||(o.style.setProperty('position','relative','important'),o.style.setProperty('top','0','important'),o.style.setProperty('transform','none','important'))}).observe(s,{attributes:!0,subtree:!0,attributeFilter:['style','class']}),o.on(dailymotion.events.PLAYER_START,function(){var o,n;null===(o=t.querySelector("picture"))||void 0===o||o.remove(),null===(n=t.querySelector("img"))||void 0===n||n.remove(),u.style.display='block',u.setAttribute('data-prev-playing','0')}),i&&(o.setMute?o.setMute(!0):o.api&&o.api('mute')),o.play()}).catch(function(o){}),!0}}.apply(n,i))||(o.exports=e)},779:(o,n)=>{var t;void 0===(t=function(o){if(o&&"function"==typeof o){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return o();document.attachEvent&&void 0!==document.attachEvent?document.attachEvent("onreadystatechange",function(){if("complete"===document.readyState)return o()}):document.addEventListener("DOMContentLoaded",function(){return o()})}})||(o.exports=t)},532:(o,n)=>{var t;void 0===(t=-1!==document.location.host.indexOf("admin"))||(o.exports=t)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.