world news
11/02/2017Venice Carnival begins in style
]]> \n \n {{ more.more_ranking_label }}'}),i.init=function(e){i.getDataContextAndClearStaticDom(e,"ranking",!0);var t=JSON.parse(document.querySelector(".js-sport").getAttribute("data-more"));e.$set("more",t),window.addEventListener("update-league-ranking",function(t){e.$set("ranking",t.detail.ranking)},!1)},i.config={data:function(){return{ranking:[],more:[]}},created:function(){s.init(this),a.filter("pointify",function(e){return e=e.replace(/W/g,''),e=e.replace(/D/g,''),e=e.replace(/L/g,'')})}},n=i,o(i,n)}return a(t,e),t}(l.default);t.exports=u},{"./component-abstract":16}],18:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e("./component-abstract"),l=i(s),u=function(e){function t(e){var n;r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));i.storage=Euronews.Tools.storage,i.$=Euronews.Tools.$;var a=JSON.parse(document.querySelector(".js-sport").getAttribute("data-more")),s=JSON.parse(document.querySelector(".js-sport").getAttribute("data-league")),l=s.id,u=Euronews.Tools.Vue,c=i;return i.elementsArr=[],i.setComponentConfig({tagName:"football-fixtures",template:"#football-fixtures-template"}),i.init=function(e){i.getDataContextAndClearStaticDom(e,"fixturesList",!0),c.initDatas(e),e.$set("more",a),e.$set("league",s),window.addEventListener("update-league-fixtures",function(t){e.$set("fixturesList",t.detail.fixtures),e.$set("league",t.detail.league),l=t.detail.leagueId,c.initDatas(e)},!1)},i.initDatas=function(e){var t=e.$get("fixturesList"),n=t[0],i=[];$.each(t,function(){i.push(this.round)}),e.$set("fixture",n),e.$set("loadedRounds",i),e.$set("currentResultRound",0)},i.config={data:function(){return{fixturesList:[],fixture:[],loadedRounds:[],endRound:!1,isLoading:!1,currentResultRound:0,more:[],league:[]}},created:function(){c.init(this),u.filter("toLocalizedTime",function(e){var t=new Date(e),n=6e4*t.getTimezoneOffset(),i=t.getTime();t=i-n;var r=new Date(t),o=r.getHours().toString()+":"+(r.getMinutes()=0&&(this.fixture=this.fixturesList[this.currentResultRound-1],this.currentResultRound--)},nextResult:function(){if(!this.isLoading){if(this.isLoading=!0,this.endRound&&"undefined"==typeof this.fixturesList[this.currentResultRound+1])return void(this.isLoading=!1);if(this.fixture=this.fixturesList[this.currentResultRound+1],this.currentResultRound++,"undefined"==typeof this.fixturesList[this.currentResultRound+1]){var e="/api/sport/football/"+l+"/"+(this.currentResultRound+1)+"/fixtures/";this.$http({url:e,method:"GET",async:!1}).then(function(e,t,n){return this.isLoading=!1,""===e.data.data.fixtures?void(this.endRound=!0):(this.fixturesList.push(e.data.data.fixtures[0]),void this.loadedRounds.push(e.data.data.fixtures[0].round))},function(e,t,n){console.warn("Football - ERROR LOADING JSON")})}else this.isLoading=!1}}}},n=i,o(i,n)}return a(t,e),t}(l.default);t.exports=u},{"./component-abstract":16}],19:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e("./component-abstract"),l=i(s),u=function(e){function t(e){var n;r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));i.storage=Euronews.Tools.storage,i.$=Euronews.Tools.$;var a=i,s=JSON.parse(document.querySelector(".js-sport").getAttribute("data-league"));return i.elementsArr=[],i.setComponentConfig({tagName:"football-ranking",template:"#football-ranking-template"}),i.init=function(e){i.getDataContextAndClearStaticDom(e,"ranking",!0);var t=JSON.parse(document.querySelector(".js-sport").getAttribute("data-more"));e.$set("more",t),e.$set("league",s),window.addEventListener("update-league-ranking",function(t){e.$set("ranking",t.detail.ranking)},!1)},i.config={data:function(){return{ranking:[],league:[],more:[]}},created:function(){a.init(this)}},n=i,o(i,n)}return a(t,e),t}(l.default);t.exports=u},{"./component-abstract":16}],20:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e("./component-abstract"),l=i(s),u=function(e){function t(e){var n;r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));i.storage=Euronews.Tools.storage,i.$=Euronews.Tools.$;var a=i,s=JSON.parse(document.querySelector(".js-sport").getAttribute("data-more")),l=JSON.parse(document.querySelector(".js-sport").getAttribute("data-league")),u=l.id;return i.elementsArr=[],i.setComponentConfig({tagName:"football-results",template:"#football-results-template"}),i.init=function(e){i.getDataContextAndClearStaticDom(e,"resultsList",!0),a.initDatas(e),e.$set("more",s),e.$set("league",l),window.addEventListener("update-league-results",function(t){e.$set("resultsList",t.detail.results),e.$set("league",t.detail.league),u=t.detail.leagueId,a.initDatas(e)},!1)},i.initDatas=function(e){var t=e.$get("resultsList"),n=t[0],i=[];$.each(t,function(){i.push(this.round)}),e.$set("result",n),e.$set("loadedRounds",i),e.$set("currentResultRound",0)},i.config={data:function(){return{resultsList:[],result:[],loadedRounds:[],endRound:!1,isLoading:!1,currentResultRound:0,more:[],league:[]}},created:function(){a.init(this)},methods:{previousResult:function(){if(!this.isLoading){if(this.isLoading=!0,this.endRound)return void(this.isLoading=!1);if(this.result=this.resultsList[this.currentResultRound+1],this.currentResultRound++,"undefined"==typeof this.resultsList[this.currentResultRound+1]){var e="/api/sport/football/"+u+"/"+(this.currentResultRound+1)+"/results";this.$http({url:e,method:"GET"}).then(function(e,t,n){return""===e.data.data.results?(this.endRound=!0,void(this.isLoading=!1)):(this.resultsList.push(e.data.data.results[0]),this.loadedRounds.push(e.data.data.results[0].round),void(this.isLoading=!1))},function(e,t,n){console.warn("Football - ERROR LOADING JSON")})}else this.isLoading=!1}},nextResult:function(){this.currentResultRound-1>=0&&(this.result=this.resultsList[this.currentResultRound-1],this.currentResultRound--)}}},n=i,o(i,n)}return a(t,e),t}(l.default);t.exports=u},{"./component-abstract":16}],21:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n=3&&37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&(this.isLoading=!0,this.$http.get(this.apiurl+this.inputSearch,function(e){}).then(function(e,n,i){return e.data.length?(this.isLoading=!1,this.noResult=!1,this.items=e.data,$.each(e.data,function(e,n){t.push({label:n.title,value:n.urlSafeValue})}),void(a.awesomplete.list=t)):(this.isLoading=!1,this.noResult=!0,void(a.awesomplete.list=t))},function(e,t,n){console.warn("Just In - ERROR LOADING JSON")}))},launchSearch:function(e){"1"===this.eventisallowed&&window.location.replace("/search?query="+this.inputSearch)}}},n=i,o(i,n)}return a(t,e),s(t,[{key:"setAwesomplete",value:function(e){return this.awesomplete=e,this}}]),t}(u.default);t.exports=c},{"./component-abstract":16}],24:[function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n\n\n \n {{article.allViewsMeta.pointOfView.author}}\n {{article.allViewsMeta.pointOfView.description}}\n \n
\n ',props:["article"]}),"sticky-allviews-survey":a.extend({tagName:"sticky-allviews-survey",template:'
',props:["article"]}),"sticky-allviews-twitter":a.extend({tagName:"sticky-allviews-twitter",template:'
',props:["article"]}),"sticky-allviews-map":a.extend({tagName:"sticky-allviews-map",template:'
',props:["article"]}),"allviews-logo":a.extend({tagName:"allviews-logo",template:'
").addClass(n).attr({role:"tooltip","aria-hidden":!0,"data-is-active":!1,"data-is-focus":!1,id:t});return i}},{key:"_reposition",value:function(e){this.usedPositions.push(e?e:"bottom"),!e&&this.usedPositions.indexOf("top")-1&&this.usedPositions.indexOf("left")-1&&this.usedPositions.indexOf("left")-1&&this.usedPositions.indexOf("bottom")-1&&this.usedPositions.indexOf("bottom")=t.windowDims.width||!this.counter&&!Foundation.Box.ImNotTouchingYou(this.template))return this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center bottom",this.options.vOffset,this.options.hOffset,!0)).css({width:n.windowDims.width-2*this.options.hOffset,height:"auto"}),!1;for(this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center "+(e||"bottom"),this.options.vOffset,this.options.hOffset));!Foundation.Box.ImNotTouchingYou(this.template)&&this.counter;)this._reposition(e),this._setPosition()}},{key:"show",value:function(){if("all"!==this.options.showOn&&!Foundation.MediaQuery.atLeast(this.options.showOn))return!1;var e=this;this.template.css("visibility","hidden").show(),this._setPosition(),this.$element.trigger("closeme.zf.tooltip",this.template.attr("id")),this.template.attr({"data-is-active":!0,"aria-hidden":!1}),e.isActive=!0,this.template.stop().hide().css("visibility","").fadeIn(this.options.fadeInDuration,function(){}),this.$element.trigger("show.zf.tooltip")}},{key:"hide",value:function(){var e=this;this.template.stop().attr({"aria-hidden":!0,"data-is-active":!1}).fadeOut(this.options.fadeOutDuration,function(){e.isActive=!1,e.isClick=!1,e.classChanged&&(e.template.removeClass(e._getPositionClass(e.template)).addClass(e.options.positionClass),e.usedPositions=[],e.counter=4,e.classChanged=!1)}),this.$element.trigger("hide.zf.tooltip")}},{key:"_events",value:function(){var e=this,t=(this.template,!1);this.options.disableHover||this.$element.on("mouseenter.zf.tooltip",function(t){e.isActive||(e.timeout=setTimeout(function(){e.show()},e.options.hoverDelay))}).on("mouseleave.zf.tooltip",function(n){clearTimeout(e.timeout),(!t||!e.isClick&&e.options.clickOpen)&&e.hide()}),this.options.clickOpen&&this.$element.on("mousedown.zf.tooltip",function(t){t.stopImmediatePropagation(),e.isClick?e.hide():(e.isClick=!0,!e.options.disableHover&&e.$element.attr("tabindex")||e.isActive||e.show())}),this.options.disableForTouch||this.$element.on("tap.zf.tooltip touchend.zf.tooltip",function(t){e.isActive?e.hide():e.show()}),this.$element.on({"close.zf.trigger":this.hide.bind(this)}),this.$element.on("focus.zf.tooltip",function(n){return t=!0,!e.isClick&&void e.show()}).on("focusout.zf.tooltip",function(n){t=!1,e.isClick=!1,e.hide()}).on("resizeme.zf.trigger",function(){e.isActive&&e._setPosition()})}},{key:"toggle",value:function(){this.isActive?this.hide():this.show()}},{key:"destroy",value:function(){this.$element.attr("title",this.template.text()).off(".zf.trigger .zf.tootip").removeAttr("aria-describedby").removeAttr("data-yeti-box").removeAttr("data-toggle").removeAttr("data-resize"),this.template.remove(),Foundation.unregisterPlugin(this)}}]),t}();t.defaults={disableForTouch:!1,hoverDelay:200,fadeInDuration:150,fadeOutDuration:150,disableHover:!1,templateClasses:"",tooltipClass:"tooltip",triggerClass:"has-tip",showOn:"small",template:"",tipText:"",touchCloseText:"Tap to close.",clickOpen:!0,positionClass:"",vOffset:10,hOffset:12},Foundation.plugin(t,"Tooltip")}(jQuery)},{}],48:[function(e,t,n){"use strict";!function(e){function t(e,t,i,r){var o,a,s,l,u=n(e);if(t){var c=n(t);a=u.offset.top+u.height=c.offset.top,s=u.offset.left>=c.offset.left,l=u.offset.left+u.width=u.windowDims.offset.top,s=u.offset.left>=u.windowDims.offset.left,l=u.offset.left+u.width0&&t-1 in e)}function r(e,t,n){return he.isFunction(t)?he.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?he.grep(e,function(e){return e===t!==n}):"string"!=typeof t?he.grep(e,function(e){return ae.call(t,e)>-1!==n}):Ce.test(t)?he.filter(t,e,n):(t=he.filter(t,e),he.grep(e,function(e){return ae.call(t,e)>-1!==n&&1===e.nodeType}))}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return he.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function s(e){return e}function l(e){throw e}function u(e,t,n){var i;try{e&&he.isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&he.isFunction(i=e.then)?i.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function c(){te.removeEventListener("DOMContentLoaded",c),e.removeEventListener("load",c),he.ready()}function d(){this.expando=he.expando+d.uid++}function f(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Me.test(e)?JSON.parse(e):e)}function p(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Re,"-$&").toLowerCase(),n=e.getAttribute(i),"string"==typeof n){try{n=f(n)}catch(e){}Ie.set(e,t,n)}else n=void 0;return n}function h(e,t,n,i){var r,o=1,a=20,s=i?function(){return i.cur()}:function(){return he.css(e,t,"")},l=s(),u=n&&n[3]||(he.cssNumber[t]?"":"px"),c=(he.cssNumber[t]||"px"!==u&&+l)&&Be.exec(he.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do o=o||".5",c/=o,he.style(e,t,c+u);while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function m(e){var t,n=e.ownerDocument,i=e.nodeName,r=Ve[i];return r?r:(t=n.body.appendChild(n.createElement(i)),r=he.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ve[i]=r,r)}function v(e,t){for(var n,i,r=[],o=0,a=e.length;o