1/*! For license information please see app-es5-legacy.h-31a93d943957fb53b01a.js.LICENSE.txt */ 2(()=>{"use strict";var e={28544(e,t,n){n.d(t,{S:()=>a,V:()=>i});var r=n(83957),o=n.n(r);o().defaults.timeout=1e4;var i=o().create(),a=o().create()},25829(e,t,n){n.d(t,{$9:()=>s,B9:()=>a,BW:()=>l,iv:()=>o});var r=n(95011),o=r.A.getters["user/subscriptionURL"],i=r.A.getters["user/subscriptionNewsletterURL"],a="".concat(o,"espai/"),s="".concat(i,"/newsletters/"),l="".concat(o,"promocions/mgm")},40150(e,t,n){n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(63343),n(14439),n(17046);var r=n(19630),o=n.n(r);const i={bind:function(e,t,n){e.clickOutsideEvent=function(r){n.context.show&&e!==r.target&&!e.contains(r.target)&&n.context[t.expression](r)},document.body.addEventListener("click",e.clickOutsideEvent)},unbind:function(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};var a=n(16359),s=n.n(a),l=n(70859),c=n.n(l),u=n(36925),p=(n(3188),n(65345)),d=n(76398);function f(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return m(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(m(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,m(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,m(p,"constructor",c),m(c,"constructor",l),l.displayName="GeneratorFunction",m(c,o,"GeneratorFunction"),m(p),m(p,o,"Generator"),m(p,r,function(){return this}),m(p,"toString",function(){return"[object Generator]"}),(f=function(){return{w:i,m:d}})()}function m(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}m=function(e,t,n,r){function i(t,n){m(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},m(e,t,n,r)}function h(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}(0,p.jK)({defaultMessage:function(e,t){return t._field_=u.A.te("fields.".concat(e))?u.A.t("fields.".concat(e)):e,u.A.t("validation.".concat(t._rule_),t)}}),(0,p.X$)("required",d.mw),(0,p.X$)("email",d.Rp),(0,p.X$)("min",d.jk),(0,p.X$)("confirmed",d.qF),(0,p.X$)("regex",d.yG),(0,p.X$)("size",d.Ej),(0,p.X$)("max",d.T9),(0,p.X$)("password",{validate:function(e){return/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).{8,}/.test(e)},message:u.A.t("validation.password")}),n(42417),n(1240),n(43813);var g=function(){var e=[],t=!1;return{push:function(n){t?n():e.push(n)},start:function(){for(t=!0;e.length>=1;)e.shift()()}}},v=function(){return new Promise(function(e){e(console.log("Tracking data layer loaded"))})},b=[],y=function(e){var t=e.category,n=e.action,r=e.label,o=e.value;b.map(function(e){return e({category:t,action:n,label:r,value:o})})},w=function(){var e,t=(e=f().m(function e(t){var n,r;return f().w(function(e){for(;;)switch(e.n){case 0:return n=g(),t.prototype.$track=function(e){n.push(function(){return y(e)})},t.prototype.$registerTrackingFunction=function(e){if("function"!=typeof e)throw new Error("Tracking: trackFunction should be a valid function");b.push(e)}
2,r={},t.directive("track",{bind:function(e,t,n){var o=t.arg,i=t.value;n.componentInstance?n.componentInstance.$on(o,function(){y(i)}):(r[e]=function(){y(i)},e.addEventListener(o,r[e]))},unbind:function(e,t,n){var o=t.arg;n.componentInstance?n.componentInstance.$off(o):e.removeEventListener(o,r[e])}}),e.n=1,v();case 1:n.start();case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,s,"next",e)}function s(e){h(i,r,o,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}();const C={install:w};n(55831),n(50653),n(63145),n(10844);var _=n(1419),S=n.n(_),k=["networkCode","segmentation"];function A(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return P(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(P(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,P(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,P(p,"constructor",c),P(c,"constructor",l),l.displayName="GeneratorFunction",P(c,o,"GeneratorFunction"),P(p),P(p,o,"Generator"),P(p,r,function(){return this}),P(p,"toString",function(){return"[object Generator]"}),(A=function(){return{w:i,m:d}})()}function P(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}P=function(e,t,n,r){function i(t,n){P(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},P(e,t,n,r)}function x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function O(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function I(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function E(){return{top:[[980,90],[980,250],[728,90],[320,100],[320,50]],contentTop:[[1200,250],[728,90],[320,100],[320,50]],banner:[[980,250],[980,90],[728,90],[200,200],[300,250],[300,300],[300,600]],banner_home:[[980,90],[980,250],[728,90],[200,200],[300,250],[300,300],[300,600]],rectangle:[[200,200],[300,250],[300,300],[300,600]],autopromo:[[474,300]],autopromo_small:[[474,140]]}}function j(){return 110789===window.adCategory.id?{top:[[[1e3,200],[[980,90],[980,250],[728,90]]],[[750,200],[[728,90],[320,100],[320,50]]],[[0,0],[[320,100]]]],banner:[[[1e3,200],[[980,250],[980,90],[728,90],[300,250],[300,300],[300,600]]],[[750,200],[728,90]],[[0,0],[[200,200],[300,250],[300,300],[300,600]]]],banner_home:[[[1e3,200],[[980,90],[980,250],[728,90],[300,250],[300,300]]],[[750,200],[728,90]],[[0,0],[[200,200],[300,250],[300,300],[300,600]]]]}:{top:[[[1e3,200],[[980,90],[980,250],[728,90]]],[[750,200],[[728,90],[320,100],[320,50]]],[[0,0],[[320,100]]]],banner:[[[1e3,200],[[980,250],[980,90],[728,90],[300,250],[300,300]]],[[750,200],[728,90]],[[0,0],[[200,200],[300,250],[300,300],[300,600]]]],banner_home:[[[1e3,200],[[980,90],[980,250],[728,90],[300,250],[300,300]]],[[750,200],[728,90]],[[0,0],[[200,200],[300,250],[300,300],[300,600]]]]}}function T(e){Array.isArray(this.positions[e])&&Array.isArray(this.availablePositions[e])&&(this.positions[e]=I(this.availablePositions[e]))}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.positions[e];if(!n)return null;if(Array.isArray(n)){var r=n.shift();return 0===n.length&&t&&(this.positions[e]=I(this.availablePositions[e])),r}return delete this.positions[e],n}function M(){var e;return e=A().m(function e(t,n,r){var o,i,a,s,l;return A().w(function(e){for(;;)switch(e.n){case 0:if(o=r.adMap,i=r.googletag,o){e.n=1;break}return console.debug("GPT: No advertising map defined"),e.a(2);case 1:if(!n.getters.runningInAppTestMode){e.n=2;break}return console.debug("GPT: App test mode enabled. Disable advertising"),e.a(2);case 2:a=o.networkCode,s=o.segmentation,l=x(o,k),t.prototype.$ads={googletag:i,networkCode:a,segmentation:s,availablePositions:l,positions:S()(l),sizes:E(),sizeMappings:j(),nextPosition:D,rewindInfinitePositionType:T};case 3:return e.a(2)}},e)}),M=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){O(i,r,o,a,s,"next",e)}function s(e){O(i,r,o,a,s,"throw",e)}a(void 0)})},M.apply(this,arguments)}const F={install:function(e,t,n){return M.apply(this,arguments)}};var R=n(28544);const B=function(e){return e.data.response||e.data};n.dn(B),n(91736);var U=n(83957),N=n.n(U);function $(e){return function(t){var n=e.state.user.jwtToken;return n&&(t.headers["x-bbnxauthorization"]=n),t}}var V=n(48525),H=n.n(V),q=n(50713),G=(n(5423),n(11055),n(47562),n(59297),n(30973),n(12401),n(36169),n(12829)),z=n(46177),W=n.n(z);function K(e){return K="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},K(e)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Y(e,t,n){return(t=function(e){var t=function(e){if("object"!=K(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==K(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const J={mounted:function(){var e=this,t=function(){var t=window.getComputedStyle(document.querySelector("body"),":after").getPropertyValue("content").replace(/"/g,"");e.setBreakpoint(t)};window.addEventListener("resize",W()(t,200)),t()},methods:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Z(Object(n),!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,G.i0)(["setBreakpoint"]))};var Q=n(30192),X=n(50968),ee=(n(28280),n(80057)),te=n(95285),ne=n.n(te);function re(e){return re="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},re(e)}function oe(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return ie(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ie(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ie(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,ie(p,"constructor",c),ie(c,"constructor",l),l.displayName="GeneratorFunction",ie(c,o,"GeneratorFunction"),ie(p),ie(p,o,"Generator"),ie(p,r,function(){return this}),ie(p,"toString",function(){return"[object Generator]"}),(oe=function(){return{w:i,m:d}})()}function ie(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ie=function(e,t,n,r){function i(t,n){ie(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ie(e,t,n,r)}function ae(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function se(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ae(i,r,o,a,s,"next",e)}function s(e){ae(i,r,o,a,s,"throw",e)}a(void 0)})}}function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach(function(t){ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ue(e,t,n){return(t=function(e){var t=function(e){if("object"!=re(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=re(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==re(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pe={mixins:[ee.A,X.A],computed:ce(ce(ce(ce({},(0,G.L8)(["darkMode"])),(0,G.L8)("user",["currentUser"])),(0,G.L8)(["runningInApp"])),{},{datalayerUser:function(){var e={type:"anonymous",viewMode:this.darkMode?"dark":"normal"};if(!this.currentUser)return e;var t=ce(ce({},e),{},{id:this.currentUser.id,isStaff:this.currentUser.isStaff,advantages:this.currentUser.advantages||"",premium:this.currentUser.premium||null,fundador:this.currentUser.fundador||!1});return this.currentUser&&""!==this.currentUser.rfv&&(t.rfv=+this.currentUser.rfv),this.currentUser&&this.currentUser.subscriber?ce(ce({},t),{},{type:"subscriber",subscription:{id:this.currentUser.subscriptionId,type:this.currentUser.subscriptionType}}):ce(ce({},t),{},{type:this.currentDateFormat})},currentDateFormat:function(){if(null===this.currentUser.endTrialDate)return"registered";var e=new Date;return ne()(e)<ne()(this.currentUser.endTrialDate)?"registered_trial":"registered"}}),methods:{getContentPaywallDatalayerObject:function(e){var t=this;return se(oe().m(function n(){var r,o,i;return oe().w(function(n){for(;;)switch(n.n){case 0:if(e){n.n=1;break}return n.a(2,null);case 1:if(!t.contentIsAGiveAway(e)){n.n=2;break}return n.a(2,{type:"freeContent",action:"openGift"});case 2:if(!t.contentIsVoucherContent(e)){n.n=3;break}return n.a(2,{type:"paywallContent",action:"openAd"});case 3:return n.n=4,t.getContentPaywallData(e);case 4:if(r=n.v){n.n=5;break}return n.a(2,{type:"freeContent",action:"open"});case 5:if(o={ruleId:r.conditionType,conditionId:r.conditionId,conditionName:r.conditionName},"ok"!==r.accessGranted||"column-counter"!==t.messageType&&"column-offer"!==t.messageType){n.n=6;break}return n.a(2,ce(ce({},o),{type:"paywallContent",action:"openMetered"}));case 6:if(t.messageType){n.n=7;break}return n.a(2,ce(ce({},o),{type:"freeContent",action:"open"}));case 7:if("regiwall"!==t.messageType){n.n=8;break}return t.channelAction("paywallData",{closed:"dynamic-paywall"}),n.a(2,ce(ce({},o),{type:"regiwallContent",action:"closeRegiwall"}));case 8:if("blocking"!==t.messageType&&"blocking-community"!==t.messageType){n.n=9;break}return t.channelAction("paywallData",{closed:"dynamic-paywall"}),n.a(2,ce(ce({},o),{type:"paywallContent",action:"closePaywall"}));case 9:if("column-counter"!==t.messageType){n.n=10;break}return n.a(2,ce(ce({},o),{type:"paywallContent",action:"openMetered"}));case 10:if("column-offer"!==t.messageType){n.n=11;break}return n.a(2,ce(ce({},o),{type:"regiwallContent",action:"open"}));case 11:if("column-trial"!==t.messageType){n.n=12;break}return n.a(2,ce(ce({},o),{type:"paywallContent",action:"openTrial"}));case 12:if("login-register"!==t.messageType){n.n=13;break}return n.a(2,ce(ce({},o),{type:"regiwallContent",action:"closeRegiwall"}));case 13:return i=null!==t.currentUser&&void 0!==t.currentUser&&t.currentUser.subscriber?"open":"openMetered",n.a(2,ce(ce({},o),{type:"paywallContent",action:i}))}},n)}))()},getWebPayload:function(){var e=this;return se(oe().m(function t(){var n,r,o,i;return oe().w(function(t){for(;;)switch(t.n){case 0:if(n=e.datalayerUser,r=ce(ce({},window.datalayerObject),{},{user:n,domain:window.location.host,uri:window.location.href.split("?")[0]}),!["http://ara.web.ara.jfcatalina.bbnx.dev.bitban.com/","https://www.ara.cat.bbnx.pre.bitban.com/","https://www.ara.cat/"].find(function(e){return e===window.location.href})||!e.currentUser||""===e.currentUser.rfv){t.n=1;break}return r.content={acces:"free",paywall:{conditionName:""}},t.a(2,r);case 1:if(r.content){t.n=2;break}return t.a(2,r);case 2:return t.n=3,e.getContentPaywallDatalayerObject(r.content_id||r.content.id);case 3:if(!(o=t.v)){t.n=5;break}return t.n=4,e.getContentPaywallData(r.content_id||r.content.id);case 4:(i=t.v)&&i.userRfv&&(r.user.rfv=i.userRfv),r.content.acces=r.content.paywall.acces,delete r.content.paywall.acces,r.content.paywall=ce(ce({},r.content.paywall),o),r.content_paywall_type=o.type,r.content_paywall_action=o.action;case 5:return t.a(2,r)}},t)}))()},getAppPayload:function(){var e=this;return se(oe().m(function t(){var n,r,o;return oe().w(function(t){for(;;)switch(t.n){case 0:if(n=e.datalayerUser,r=ce(ce({},window.datalayerObject),{},{domain:window.location.host,user_type:n.type,user_viewMode:n.viewMode}),n.id&&(r.user_id=n.id),r.content_id){t.n=1;break}return t.a(2,r);case 1:return t.n=2,e.getContentPaywallDatalayerObject(r.content_id);case 2:return(o=t.v)&&(r.content_paywall_type=o.type,r.content_paywall_action=o.action),t.a(2,r)}},t)}))()},getPayload:function(){var e=this;return se(oe().m(function t(){return oe().w(function(t){for(;;)switch(t.n){case 0:if(!e.runningInApp){t.n=1;break}return t.a(2,e.getAppPayload());case 1:return t.a(2,e.getWebPayload())}},t)}))()},initDatalayer:function(){var e=this;window.dataLayer&&this.getPayload().then(function(t){console.debug("Datalayer object push",t),window.dataLayer.push(t),e.runningInApp&&e.channelAction("analytic",{type:"event",data:{name:"openContent",properties:t}},function(){return console.debug("Datalayer app push",{name:"openContent",properties:t})})})}}};var de=n(95011),fe=n(58953),me=n.n(fe);function he(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return ge(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ge(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ge(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,ge(p,"constructor",c),ge(c,"constructor",l),l.displayName="GeneratorFunction",ge(c,o,"GeneratorFunction"),ge(p),ge(p,o,"Generator"),ge(p,r,function(){return this}),ge(p,"toString",function(){return"[object Generator]"}),(he=function(){return{w:i,m:d}})()}function ge(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ge=function(e,t,n,r){function i(t,n){ge(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ge(e,t,n,r)}function ve(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function be(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ve(i,r,o,a,s,"next",e)}function s(e){ve(i,r,o,a,s,"throw",e)}a(void 0)})}}var ye,we,Ce={snackbar:function(e){var t=e.message,n=e.timeout,r=void 0===n?0:n,o=e.closable,i=void 0===o||o;return de.A.dispatch("showSnackbar",{contentText:t,button:i,timeout:r})},updateUserToken:(we=be(he().m(function e(t){var n;return he().w(function(e){for(;;)switch(e.n){case 0:return n=t.token,e.n=1,de.A.dispatch("user/loadUserFromToken",n);case 1:de.A.dispatch("initModals");case 2:return e.a(2)}},e)})),function(e){return we.apply(this,arguments)}),updateCurrentUser:function(e){var t=e.emailValidated;return"boolean"==typeof t?de.A.dispatch("user/setCurrentUserEmailValidated",t):Promise.resolve()},updateUIVisibility:function(e){var t=e.bottomNavigation;return de.A.dispatch("updateMobileAppUIVisibility",{bottomNavigation:t})},setSavedPDFs:function(e){var t=e.pdfList;return de.A.dispatch("archive/setSavedPDFs",t.map(function(e){return me()(e)&&e.id?e:{id:e}}))},notificationsStatus:function(e){var t=e.enabled;return de.A.dispatch("user/notificationsEnabled",t)},sendMarfeelNative:(ye=be(he().m(function e(t){var n;return he().w(function(e){for(;;)switch(e.n){case 0:return n=t.enabled,e.n=1,de.A.dispatch("marfeelNativeEnabled",n);case 1:return e.a(2,de.A.dispatch("updateMarfeelNativeEnabled"))}},e)})),function(e){return ye.apply(this,arguments)})};function _e(e,t){return Ce[e]?Promise.resolve(Ce[e](t)):(console.debug("Unknown app action: ".concat(e)),Promise.reject())}var Se=_e,ke=n(60315),Ae=n(18311),Pe=n(21362),xe=n(585),Oe=n(60066);const Ie={name:"ara-carousel-videos-element",components:{araPicture:Oe.A},props:{card:{type:Object},direction:{type:String}}};var Le=n(67658);const Ee=(0,Le.A)(Ie,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:e.direction}},[e.card?n("a",{key:e.card.id,staticClass:"video",attrs:{href:e.card.shareUrl.href,title:e.card.shareUrl.title}},[n("div",{staticClass:"title"},[e.card.mediaInfo?n("ara-media-info",{attrs:{type:e.card.mediaInfo}}):e._e(),e._v(" "),n("span",{staticClass:"title-text",domProps:{textContent:e._s(e.card.title)}})],1),e._v(" "),e.card.image?n("figure",{staticClass:"image"},[n("ara-picture",{attrs:{image:e.card.image}})],1):e._e()]):e._e()])},[],!1,null,null,null).exports,je={name:"ara-carousel-videos",props:{videos:{type:Array}},components:{araCarouselVideosElement:Ee},data:function(){return{cardsLength:0,iconPrev:Pe.A,iconNext:xe.A,bulletsNumber:0,bulletActive:0,visibleCard:null,direction:"next",timer:null}},mounted:function(){this.automaticNext()},created:function(){this.bulletsNumber=this.videos.length,this.visibleCard=this.videos[this.bulletActive]},methods:{automaticNext:function(){var e=this;this.timer=setTimeout(function(){e.next()},6e3)},refreshCard:function(){var e=this;this.visibleCard=this.videos[this.bulletActive],this.$nextTick(function(){return e.lazy.update()}),clearTimeout(this.timer),this.automaticNext()},goTo:function(e){this.bulletActive=e,this.refreshCard()},next:function(){this.bulletActive<this.videos.length-1?this.bulletActive+=1:this.bulletActive=0,this.refreshCard(),this.direction="next"},prev:function(){this.bulletActive>0?this.bulletActive-=1:this.bulletActive=this.videos.length-1,this.refreshCard(),this.direction="prev"},swipeHandler:function(e){"left"===e?this.next():"right"===e&&this.prev()}}},Te=(0,Le.A)(je,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-carousel-videos"},[n("div",{directives:[{name:"touch",rawName:"v-touch:swipe",value:e.swipeHandler,expression:"swipeHandler",arg:"swipe"}],staticClass:"ara-carousel-videos-wrapper"},[n("ara-carousel-videos-element",{attrs:{direction:this.direction,card:this.visibleCard}})],1),e._v(" "),n("div",{staticClass:"ara-carousel-videos-control"},[n("button",{staticClass:"ara-carousel-videos_prev",on:{click:e.prev}},[e._t("control-prev",[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconPrev)}})])],2),e._v(" "),n("ul",{staticClass:"bullets"},e._l(this.videos.length,function(t,r){return n("li",{key:"bullet"+r,staticClass:"ara-carousel-videos_bullet-item"},[n("button",{class:["ara-carousel-videos_bullet-dot",{active:e.bulletActive===r}],on:{click:function(t){return e.goTo(r)}}},[e._v(e._s(r)+"\n ")])])}),0),e._v(" "),n("button",{staticClass:"ara-carousel-videos_next",on:{click:e.next}},[e._t("control-next",[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconNext)}})])],2)])])},[],!1,null,null,null).exports,De={name:"ara-carousel-cards",props:{title:{type:String},more:{type:String},moreUrl:{type:String}},data:function(){return{cardsLength:0,cardWith:0,bulletsNumber:0,iconPrev:Pe.A,iconNext:xe.A,bulletActive:1,leftPosition:0,showBullets:!0,showLeft:!1,showRight:!0,marginLeft:30}},created:function(){window.addEventListener("load",this.setValues),window.addEventListener("resize",this.setValues)},mounted:function(){this.initCards(),this.setValues()},computed:{finalBullets:function(){return this.bulletActive>=this.bulletsNumber-4}},beforeDestroy:function(){window.removeEventListener("load",this.setValues),window.removeEventListener("resize",this.setValues)},methods:{checkVisibleDot:function(e){return this.finalBullets?e<this.bulletsNumber-4:e-this.bulletActive>4||e-this.bulletActive<0},checkSmallDot:function(e){return this.finalBullets?e===this.bulletsNumber-5:e-this.bulletActive===5||e-this.bulletActive===-1},initCards:function(){var e=this.$el.querySelectorAll(".ara-carousel-cards_carousel > *");this.cardsLength=e.length,e.forEach(function(e){e.classList.add("ara-carousel-cards_carousel-item")})},setValues:function(){this.cardWith=this.$el.querySelector(".ara-carousel-cards_carousel-item").offsetWidth,this.getbulletsNumber(),this.checkVisibles()},goTo:function(e){this.bulletActive=e,this.leftPosition=-1*(this.cardWith+this.marginLeft)*(this.bulletActive-1),this.checkVisibles()},next:function(){this.bulletActive<this.bulletsNumber&&(this.bulletActive+=1,this.leftPosition=-1*(this.cardWith+this.marginLeft)*(this.bulletActive-1),this.checkVisibles())},prev:function(){this.bulletActive>1&&(this.bulletActive-=1,this.leftPosition=-1*(this.cardWith+this.marginLeft)*(this.bulletActive-1),this.checkVisibles())},swipeHandler:function(e){"left"===e?this.next():"right"===e&&this.prev()},checkVisibles:function(){this.bulletsNumber<2?(this.showBullets=!1,this.showLeft=!1,this.showRight=!1,this.leftPosition=0):(this.showBullets=!0,1===this.bulletActive?(this.showLeft=!1,this.showRight=!0):this.bulletActive===this.bulletsNumber?(this.showLeft=!0,this.showRight=!1):(this.showLeft=!0,this.showRight=!0))},getbulletsNumber:function(){for(var e=this.$el.querySelector(".ara-carousel-cards_carousel-wrapper").offsetWidth,t=1;t<=this.cardsLength&&t*this.cardWith+this.marginLeft<=e;t++)this.bulletsNumber=this.cardsLength-t+1}}},Me=(0,Le.A)(De,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-carousel-cards"},[e._t("header",[n("div",{staticClass:"ara-carousel-cards_header"},[e.moreUrl?n("a",{staticClass:"ara-carousel-cards_title",attrs:{href:e.moreUrl,title:e.title},domProps:{textContent:e._s(e.title)}}):n("span",{staticClass:"ara-carousel-cards_title"},[e._v(e._s(e.title))]),e._v(" "),e.showBullets?n("ul",{staticClass:"ara-carousel-cards_bullet"},e._l(e.bulletsNumber,function(t){return n("li",{key:"bullet"+t,staticClass:"ara-carousel-cards_bullet-item",class:[{hidden:e.checkVisibleDot(t),small:e.checkSmallDot(t)}]},[n("button",{class:["ara-carousel-cards_bullet-dot",{active:e.bulletActive===t}],on:{click:function(n){return e.goTo(t)}}},[e._v(e._s(t))])])}
2),0):e._e(),e._v(" "),n("span",{staticClass:"ara-carousel-cards_more"},[e.moreUrl?n("a",{attrs:{href:e.moreUrl,title:e.more},domProps:{textContent:e._s(e.more)}}):[e._v(e._s(e.more))]],2)])]),e._v(" "),n("div",{directives:[{name:"touch",rawName:"v-touch:swipe",value:e.swipeHandler,expression:"swipeHandler",arg:"swipe"}],staticClass:"ara-carousel-cards_carousel-wrapper"},[e.showLeft?n("button",{staticClass:"ara-carousel-cards_prev",on:{click:function(t){return e.prev()}}},[e._t("control-prev",[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconPrev)}})])],2):e._e(),e._v(" "),e.showRight?n("button",{staticClass:"ara-carousel-cards_next",on:{click:function(t){return e.next()}}},[e._t("control-next",[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconNext)}})])],2):e._e(),e._v(" "),n("div",{staticClass:"ara-carousel-cards_carousel",style:{transform:"translateX("+e.leftPosition+"px)"}},[e._t("content")],2)])],2)},[],!1,null,null,null).exports;function Fe(e){return Fe="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},Fe(e)}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Be(e,t,n){return(t=function(e){var t=function(e){if("object"!=Fe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Fe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ue={name:"ara-show-if-not-subscriptor",computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,G.L8)("user",["currentUser","isSubscriber"]))},Ne=Ue,$e=(0,Le.A)(Ne,function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"check-user"},[e.isSubscriber?e._e():e._t("default")],2)},[],!1,null,null,null).exports,Ve=n.p+"28d2836ee6033216e200.png",He=n.p+"f980b29604db6894dcdf.png",qe=n.p+"5b004851033d19306c6d.png",Ge=n.p+"eb7587cfe538530ad14a.png",ze=n.p+"199949490f101626b677.png",We=n.p+"199949490f101626b677.png",Ke=n.p+"81274fdbc6f7571abd02.png",Ze=n.p+"655ba7605c09a54326c3.png",Ye=n.p+"ea01f623ef23e21b81b9.png",Je=n.p+"c35dfb02d2d8b15f63cc.png",Qe=n.p+"a2d44c9f9bf3afe52e91.png",Xe=n.p+"410fa8e3e6b1907ea337.png";function et(e){return et="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},et(e)}function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(n),!0).forEach(function(t){rt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rt(e,t,n){return(t=function(e){var t=function(e){if("object"!=et(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==et(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ot={name:"ara-footer-collaborators",data:function(){return{isDarkFooter:!1,catLogo:Ve,catLogoDark:He,balearsLogo:qe,balearsLogoDark:Ge,segellLogo:ze,segellLogoDark:We,geneValLogo:Ke,geneValLogoDark:Ze,sempreTeuaLogo:Ye,sempreTeuaLogoDark:Je,accioLogo:Qe,accioLogoDark:Xe}},mounted:function(){this.isDarkFooter=document.body.classList.contains("force-dark-mode")},computed:nt(nt({},(0,G.L8)(["site","darkMode"])),{},{drawCatLogo:function(){return this.isDarkFooter?this.catLogoDark:this.catLogo},drawBalearsLogo:function(){return this.isDarkFooter?this.balearsLogoDark:this.balearsLogo}
2,drawSegellLogo:function(){return this.isDarkFooter?this.segellLogoDark:this.segellLogo},drawSempreTeuaLogo:function(){return this.isDarkFooter?this.sempreTeuaLogoDark:this.sempreTeuaLogo},drawGeneValLogo:function(){return this.isDarkFooter?this.geneValLogoDark:this.geneValLogo},drawAccioLogo:function(){return this.isDarkFooter?this.accioLogoDark:this.accioLogo},showLogos:function(){return"ara"===this.site.alias||"balears"===this.site.alias},showBalears:function(){return"balears"===this.site.alias}})};n(57406),n(60473),n(40073);var it=n(25829);const at={name:"ara-profile-list",props:{title:{type:String}}},st=(0,Le.A)(at,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-list"},[e._t("header",[e.title?n("div",{staticClass:"ara-profile-list_title"},[n("span",[e._v(e._s(e.title))])]):e._e()]),e._v(" "),e._t("default")],2)},[],!1,null,null,null).exports;var lt=n(83266),ct=n(13806);function ut(e){return ut="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},ut(e)}function pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach(function(t){ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ft(e,t,n){return(t=function(e){var t=function(e){if("object"!=ut(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ut(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ut(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mt={name:"ara-login",components:{araProfileList:st,araButtonNew:lt.A},props:{secondary:{type:Boolean,default:!1},loginText:{type:String,default:"accedeix"},registerText:{type:String,default:"Registra't"},subscribeText:{type:String,default:"Subscriu-t'hi"},siteUrl:{type:String},community:{type:Boolean,default:!1},subscriberButtonUrl:{type:String,default:null},subscriberButtonText:{type:String,default:null}},data:function(){return{subscriptionUrl:it.iv,backUrl:window.location.href}},computed:dt(dt(dt({},(0,G.L8)("user",["currentUser","isSubscriber","isPremium","nickInitialLetter","pendingNotifications"])),(0,G.L8)(["runningInAppApple","permissionManager","breakpoint","site"])),{},{isBalears:function(){return["balears","en-balears","es-balears","de-balears"].includes(this.site.alias)},siteSubscriberButtonUrl:function(){return this.site.subscriberHeaderButtonUrl},siteSubscriberButtonText:function(){return this.site.subscriberHeaderButtonText},effectiveSubscriberButtonUrl:function(){return this.subscriberButtonUrl||this.siteSubscriberButtonUrl},effectiveSubscriberButtonText:function(){return this.subscriberButtonText||this.siteSubscriberButtonText},nick:function(){return this.currentUser.nick&&this.currentUser.nick.length>20?this.currentUser.nick.slice(0,20):this.currentUser.nick},hasPendingNotifications:function(){return this.pendingNotifications&&this.pendingNotifications>0},loginUrl:function(){var e=new URL(this.backUrl),t=e.origin+e.pathname+encodeURIComponent(e.search),n="/usuari/login?backUrl=".concat(t);return this.includePath(n)},premiumUrl:function(){return"https://premium.ara.cat/"},registerUrl:function(){var e="/usuari/register?backUrl=".concat(this.backUrl);return this.includePath(e)},isMobile:function(){return(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<1024},goToPremium:function(){this.currentUser.fundador?window.location.href="https://premium.ara.cat/fundadors/":window.location.href="https://premium.ara.cat/"},showPremiumButton:function(){if(null===this.permissionManager||!this.currentUser.subscriber)return!1;var e=this.permissionManager.checkPermission(ct.WU.COMMENTS),t=this.permissionManager.checkPermission(ct.WU.HEMEROTECA);return!this.currentUser.canGiveAway||!e.access||!t.access||this.currentUser.hasSubscriberSiteIds||this.currentUser.hasSubscriberCategoryIds||this.currentUser.hasSubscriberExcludedCategoryIds}}),methods:dt(dt({includePath:function(e){return this.siteUrl?this.siteUrl+e:e},goToGiftARA:function(){window.location.href=this.effectiveSubscriberButtonUrl}},(0,G.i0)("user",["toggleShowProfile"])),{},{onClickProfile:function(e){this.$track({category:"header",action:"click",label:e}),this.toggleShowProfile()}})},ht=(0,Le.A)(mt,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-login"},[e.currentUser?[e.runningInAppApple||e.isSubscriber?e._e():n("ara-button-new",{directives:[{name:"track",rawName:"v-track:click",value:{category:"header",action:"click",label:"subscribe"},expression:"{category: 'header', action: 'click', label: 'subscribe'}",arg:"click"}],staticClass:"ara-login__subscribe",attrs:{rel:"nofollow","highlight-primary":"",href:e.subscriptionUrl}},[e._v(e._s(e.subscribeText))]),e._v(" "),e.isSubscriber&&e.effectiveSubscriberButtonUrl&&e.effectiveSubscriberButtonText?n("ara-button-new",{staticClass:"ara-login__premium",on:{click:function(t){return t.stopPropagation(),e.goToGiftARA(t)}}}
2,[e._v(e._s(e.effectiveSubscriberButtonText))]):e._e(),e._v(" "),n("button",{staticClass:"ara-login__avatar",class:{"ara-login__avatar--premium":e.isPremium,"ara-login__avatar--notification":e.hasPendingNotifications},on:{click:function(t){return e.onClickProfile("profile")}}},[e.currentUser.avatarUrl?n("img",{staticClass:"ara-login__avatar__image",attrs:{src:e.currentUser.avatarUrl,alt:e.currentUser.nick}}):n("span",{staticClass:"ara-login__avatar__initial",domProps:{textContent:e._s(e.nickInitialLetter)}})])]:[n("ara-button-new",{staticClass:"ara-login__access",attrs:{rel:"nofollow","highlight-primary":"",outlined:"",href:e.subscriptionUrl,title:e.loginText}},[e._v(e._s(e.subscribeText))]),e._v(" "),n("ara-button-new",{directives:[{name:"track",rawName:"v-track:click",value:{category:"header",action:"click",label:"register"},expression:"{category: 'header', action: 'click', label: 'register'}",arg:"click"}],staticClass:"ara-login__register",attrs:{rel:"nofollow",href:e.loginUrl,"icon-type":"user","icon-position":"prepend"}},[e.community||e.isBalears?[n("span",{staticClass:"ara-login__btn--short"},[e._v(e._s(e.$t("header.login-short")))]),e._v(" "),n("span",{staticClass:"ara-login__btn--long"},[e._v(e._s(e.loginText))])]:[e._v("\n "+e._s(e.loginText)+"\n ")]],2)]],2)},[],!1,null,null,null).exports;function gt(e){return gt="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},gt(e)}function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach(function(t){yt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yt(e,t,n){return(t=function(e){var t=function(e){if("object"!=gt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wt={name:"ara-lang-selector",props:{label:{type:String,default:""},items:{type:String,default:""}},data:function(){return{languages:[]}},mounted:function(){var e=this;if(this.items){var t=JSON.parse(this.items);this.languages=t.map(function(t){return{value:t.value,label:t.label,url:e.isHome?t.home:e.getTranslationUrl(t.value)}}),this.isBalears||(this.languages=this.languages.filter(function(e){return"de"!==e.value})),this.isHome||(this.languages=this.languages.filter(function(e){return!!e.url}))}else console.error("No han llegado Ãtems al componente")},computed:bt(bt({},(0,G.L8)(["site","isHome","lang","translationUrls"])),{},{isBalears:function(){return"balears"===this.site.alias||"en-balears"===this.site.alias||"es-balears"===this.site.alias||"de-balears"===this.site.alias}}),methods:{goToLocation:function(e){this.$track({category:"menu-mobile",action:"select",label:e}),window.location.href=e},getTranslationUrl:function(e){var t;return this.translationUrls?null===(t=this.translationUrls.find(function(t){return t.language===e}))||void 0===t?void 0:t.url:""}}},Ct=wt,_t=(0,Le.A)(Ct,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.languages.length>1?n("div",{staticClass:"lang-selector__wrapper"},[e.label?n("span",{staticClass:"lang-selector__label"},[e._v(e._s(e.$t("header.language"))+":")]):e._e(),e._v(" "),n("select",{staticClass:"lang-selector",attrs:{id:"lang-selector"},on:{change:function(t){return e.goToLocation(t.target.value)}}},e._l(e.languages,function(t,r){return n("option",{key:r,domProps:{selected:t.value===e.lang,value:t.url||t.home}},[e._v(e._s(t.label))])}),0),e._v(" "),n("ul",{staticClass:"lang__list"},e._l(e.languages,function(t,r){return n("li",{key:r},[t.value===e.lang?n("span",{staticClass:"lang__item"},[e._v(e._s(t.label))]):n("a",{staticClass:"lang__item",attrs:{href:t.url}},[e._v(e._s(t.label))])])}
2),0)]):e._e()},[],!1,null,"963543ac",null).exports;n(55448),n(96565);var St=n(9729),kt=n.n(St);function At(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const xt={name:"ara-edition-selector",props:{label:{type:String,default:""},items:{type:String,default:""}},data:function(){return{editions:[],currentEditionHref:null,matchedLocations:[]}},mounted:function(){if(this.items){this.editions=JSON.parse(this.items);var e=window.location.href,t=this.editions.filter(function(t){return e.includes(t.link.href)}).map(function(e){return e.link.href});if(t){var n=At(t=kt()(t,[],"desc"),1);this.currentEditionHref=n[0],this.resizeSelect()}}},methods:{onChangeHandler:function(e){this.resizeSelect(),this.goToLocation(e)},resizeSelect:function(){var e=this;this.$nextTick(function(){var t=e.$refs.editionSelector,n=t.options[t.selectedIndex].text;t.style.width=n.length<10?"".concat(20+8*n.length,"px"):n.length<15?"".concat(9*n.length,"px"):"".concat(8.5*n.length,"px")})},goToLocation:function(e){var t=At(this.editions.filter(function(t){return t.link.text===e}),1)[0];this.$track({category:"menu-mobile",action:"select",label:t.link.href}),window.location.href=t.link.href}}},Ot=(0,Le.A)(xt,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.editions.length>1?n("div",{staticClass:"edition-selector__wrapper"},[e.label?n("span",{staticClass:"edition-selector__label",domProps:{textContent:e._s(e.label+":")}}):e._e(),e._v(" "),n("select",{ref:"editionSelector",staticClass:"edition__selector",attrs:{id:"edition__selector"},on:{change:function(t){return e.onChangeHandler(t.target.value)}}},e._l(e.editions,function(t,r){return n("option",{key:r,domProps:{selected:e.currentEditionHref===t.link.href,value:t.link.text}},[e._v(e._s(t.link.text))])}),0),e._v(" "),n("ul",{staticClass:"edition__list"},e._l(e.editions,function(t,r){return n("li",{key:r},[e.currentEditionHref===t.link.href?n("span",{staticClass:"edition__item"},[e._v(e._s(t.link.text))]):n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"menu-desktop",action:"click",label:t.link.text},expression:"{category: 'menu-desktop', action: 'click', label: edition.link.text }",arg:"click"}],staticClass:"edition__item",attrs:{href:t.link.href,target:t.link.target,rel:t.link.rel,title:t.link.title}},[e._v(e._s(t.link.text))])])}),0)]):e._e()},[],!1,null,"4807507f",null).exports,It={name:"ara-menu-locations",props:{locations:{type:Array}},data:function(){return{matchedLocations:[]}},mounted:function(){var e=this,t=window.location.href;this.locations.forEach(function(n){t.includes(n.link.href)&&e.matchedLocations.push(n.link.href)}),this.matchedLocations=kt()(this.matchedLocations,[],"desc")},methods:{setActiveLocation:function(e){return e===this.matchedLocations[0]}}},Lt=(0,Le.A)(It,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"locations"},e._l(e.locations,function(t){return n("li",{key:t.title,class:{active:e.setActiveLocation(t.link.href)}},[n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"menu-desktop",action:"click",label:t.link.text},expression:"{category: 'menu-desktop', action: 'click', label: location.link.text }",arg:"click"}],attrs:{href:t.link.href,target:t.link.target,rel:t.link.rel,title:t.link.title}},[e._v(e._s(t.link.text))])])}),0)},[],!1,null,null,null).exports;var Et=n(64172),jt=n(29930),Tt=n(45697);const Dt={name:"ara-burger-mobile",props:{menu:{type:Object},offsetTop:{type:Number}},data:function(){return{selectedItem:null,showRadioButtons:!1,iconBack:Et.A,iconVoice:'<svg viewBox="0 0 14 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M7,12 C8.66,12 9.99,10.66 9.99,9 L10,3 C10,1.34 8.66,0 7,0 C5.34,0 4,1.34 4,3 L4,9 C4,10.66 5.34,12 7,12 Z M12.3,9 C12.3,12 9.76,14.1 7,14.1 C4.24,14.1 1.7,12 1.7,9 L0,9 C0,12.41 2.72,15.23 6,15.72 L6,19 L8,19 L8,15.72 C11.28,15.24 14,12.42 14,9 L12.3,9 Z" id="path-1"></path></svg>',iconNext:jt.A,iconRadioButtonOff:'<svg viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2<path d="M10,0 C4.5,0 0,4.5 0,10 C0,15.5 4.5,20 10,20 C15.5,20 20,15.5 20,10 C20,4.5 15.5,0 10,0 L10,0 Z M10,19 C5.05,19 1,14.95 1,10 C1,5.05 5.05,1 10,1 C14.95,1 19,5.05 19,10 C19,14.95 14.95,19 10,19 L10,19 Z"></path></svg>',iconRadioButtonOn:'\n<svg viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M10,4 C6.64,4 4,6.64 4,10 C4,13.36 6.64,16 10,16 C13.36,16 16,13.36 16,10 C16,6.64 13.36,4 10,4 L10,4 Z M10,0 C4.5,0 0,4.5 0,10 C0,15.5 4.5,20 10,20 C15.5,20 20,15.5 20,10 C20,4.5 15.5,0 10,0 L10,0 Z M10,19 C5.05,19 1,14.95 1,10 C1,5.05 5.05,1 10,1 C14.95,1 19,5.05 19,10 C19,14.95 14.95,19 10,19 L10,19 Z"></path></svg>',searchText:""}},components:{araSearchInput:Tt.A},computed:{style:function(){return 0===this.offsetTop?null:{height:"".concat(window.innerHeight-110-this.offsetTop,"px")}},showLanguageSelector:function(){return"ara"===this.menu.site.alias}},methods:{selectItem:function(e){this.showRadioButtons=!1,this.selectedItem=e},selectMenu:function(e,t){this.showRadioButtons=!0,this.selectedItem={link:{text:e},children:t}},search:function(e){if(e){this.$track({category:"searcher",action:"filter",label:"text",value:e});var t=new URLSearchParams(window.location.search);t.set("text",e),window.location.href="/cercador?".concat(t)}},goToArchive:function(){window.location.href="/hemeroteca/"}}};function Mt(e){return Mt="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},Mt(e)}function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach(function(t){Bt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bt(e,t,n){return(t=function(e){var t=function(e){if("object"!=Mt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Mt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ut={name:"ara-header",data:function(){return{searchText:"",offsetTop:0,forceSticky:!1}},components:{araLogin:ht,araLangSelector:_t,araEditionSelector:Ot,araMenuL
2ocations:Lt,araBurgerMobile:(0,Le.A)(Dt,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-burger-mobile"},[n("transition",{attrs:{name:"header-transition"}},[n("div",{staticClass:"header",class:e.selectedItem?"header--second":"",on:{click:function(t){e.selectedItem&&e.selectItem()}}},[e.selectedItem?[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconBack)}}),e._v(" "),n("span",{domProps:{textContent:e._s(e.selectedItem.link.text)}})]:[n("ara-search-input",{on:{enter:e.search},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}}),e._v(" "),n("span",{staticClass:"ara-icon voice",domProps:{innerHTML:e._s(e.iconVoice)}})]],2)]),e._v(" "),n("ul",{staticClass:"ara-menu-first"},[n("li",[n("span",{staticClass:"ara-menu-first-title"},[e._v(e._s(e.$t("header.archive")))]),e._v(" "),n("ul",{staticClass:"ara-menu-secondary"},[n("li",[n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"menu-mobile",action:"click",label:"editions"},expression:"{category: 'menu-mobile', action: 'click', label: 'editions'}",arg:"click"}],attrs:{href:"/hemeroteca/"}},[n("span",[e._v(e._s(e.$t("header.paper-edition-mobile")))]),e._v(" "),n("span",{staticClass:"ara-icon next",domProps:{innerHTML:e._s(e.iconNext)}})])])])]),e._v(" "),e._l(e.menu.secondaryMenu,function(t,r){return n("li",{key:r},[n("span",{staticClass:"ara-menu-first-title"},[e._v(e._s(t.link.text))]),e._v(" "),n("ul",{staticClass:"ara-menu-secondary"},e._l(t.children,function(t,r){return n("li",{key:r},[n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"menu-mobile",action:"click",label:t.link.text},expression:"{category: 'menu-mobile', action: 'click', label: child.link.text}",arg:"click"}],attrs:{href:t.link.href}},[n("span",[e._v(e._s(t.link.text))]),e._v(" "),n("span",{staticClass:"ara-icon next",domProps:{innerHTML:e._s(e.iconNext)}})])])}),0)])}),e._v(" "),e.showLanguageSelector?n("li",[n("span",{staticClass:"ara-menu-first-title"},[e._v(e._s(e.$t("header.language")))]),e._v(" "),n("ul",{staticClass:"ara-menu-secondary"},e._l(e.menu.idiomsMenu,function(t,r){return n("li",{key:r},[n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"menu-mobile",action:"click",label:t.link.text},expression:"{category: 'menu-mobile', action: 'click', label: child.link.text}",arg:"click"}],attrs:{href:t.link.href}},[n("span",[e._v(e._s(t.link.text))]),e._v(" "),n("span",{staticClass:"ara-icon next",domProps:{innerHTML:e._s(e.iconNext)}})])])}),0)]):e._e(),e._v(" "),n("li",[n("span",{staticClass:"ara-menu-first-title"},[e._v(e._s(e.$t("header.edition")))]),e._v(" "),n("ul",{staticClass:"ara-menu-secondary"},e._l(e.menu.editionsMenu,function(t,r){return n("li",{key:r},[n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"menu-mobile",action:"click",label:t.link.text},expression:"{category: 'menu-mobile', action: 'click', label: child.link.text}",arg:"click"}],attrs:{href:t.link.href}},[n("span",[e._v(e._s(t.link.text))]),e._v(" "),n("span",{staticClass:"ara-icon next",domProps:{innerHTML:e._s(e.iconNext)}})])])}),0)])],2)],1)},[],!1,null,"571eb12b",null).exports,araSearchInput:Tt.A},computed:Rt(Rt({},(0,G.L8)(["menuMobile","lang","headerStickable"])),(0,G.L8)({openMenu:"headerOpenMenu",sticky:"headerSticky"})),watch:{menuMobile:function(){this.offsetTop=this.$el.getBoundingClientRect().top,this.forceSticky=!this.forceSticky}},methods:Rt(Rt({},(0,G.i0)(["setHeaderOpenMenu"])),{},{toggleMenu:function(){this.$track({category:"header",action:this.openMenu?"close-menu":"open-menu"}),this.setHeaderOpenMenu(!this.openMenu),this.searchText=""},search:function(e){if(e){this.$track({category:"searcher",action:"filter",label:"text",value:e});var t=new URLSearchParams(window.location.search);t.set("text",e),window.location.href="/cercador?".concat(t)}},goToMateix:function(){this.$track({category:"header",action:"click",label:u.A.t("menu.mateix")}),"es"!==this.lang?"en"!==this.lang?"de"!==this.lang?window.location.href=" /ultima-hora/":window.location.href="/eilmeldungen/":window.location.href="/breaking-news/":window.location.href=" /ultima-hora/"},goToDiscover:function(){this.$track({category:"header",action:"click",label:u.A.t("menu.discover")}),"es"!==this.lang?"en"!==this.lang?"de"!==this.lang?window.location.href="/descobreix/":window.location.href="/entdecke/":window.location.href="/discover/":window.location.href="/descubre/"}})},Nt={name:"ara-login-app",mixins:[X.A],components:{araButtonNew:lt.A},props:{subscribeText:{type:String,default:"Subscriu-tâhi"},registerText:{type:String,default:"accedeix"}},methods:{goAppLogin:function(){this.channelAction("showLogin",null)}}};function $t(e){return $t="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},$t(e)}function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ht(e,t,n){return(t=function(e){var t=function(e){if("object"!=$t(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=$t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$t(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qt={name:"ara-header-app",components:{araLoginApp:(0,Le.A)(Nt,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-login-app"},[n("ara-button-new",{staticClass:"ara-login-app__access",attrs:{href:"#",rel:"nofollow","highlight-primary":"",outlined:""}},[e._v(e._s(e.subscribeText))]),e._v(" "),n("ara-button-new",{directives:[{name:"track",rawName:"v-track:click",value:{category:"header",action:"click",label:"register"},expression:"{category: 'header', action: 'click', label: 'register'}",arg:"click"}],staticClass:"ara-login-app__register",attrs:{href:"#",rel:"nofollow","icon-type":"user","icon-position":"prepend"},on:{click:e.goAppLogin}},[e._v(e._s(e.registerText))])],1)},[],!1,null,null,null).exports},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Vt(Object(n),!0).forEach(function(t){Ht(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,G.L8)({sticky:"headerSticky"}))};function Gt(e){return Gt="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},Gt(e)}function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach(function(t){Kt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kt(e,t,n){return(t=function(e){var t=function(e){if("object"!=Gt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zt={name:"ara-header-container-app",components:{araHeaderApp:qt},mixins:[X.A],data:function(){return{renderDelayPassed:!1}},computed:Wt(Wt(Wt({},(0,G.L8)("user",["isSubscriber","currentUser"])),(0,G.L8)(["contentId"])),{},{visible:function(){return!!this.renderDelayPassed&&(console.debug("Container APP",this.contentId,this.currentUser),null!==this.contentId&&0!==this.contentId&&!this.currentUser)}}),methods:{startRenderDelay:function(){var e=this;this.renderDelayPassed=!1,setTimeout(function(){e.renderDelayPassed=!0},1500)}},mounted:function(){this.startRenderDelay()}},Yt=(0,Le.A)(Zt,void 0,void 0,!1,null,null,null).exports;var Jt=n(7723);function Qt(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Xt(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Xt(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Xt(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Xt(p,"constructor",c),Xt(c,"constructor",l),l.displayName="GeneratorFunction",Xt(c,o,"GeneratorFunction"),Xt(p),Xt(p,o,"Generator"),Xt(p,r,function(){return this}),Xt(p,"toString",function(){return"[object Generator]"}),(Qt=function(){return{w:i,m:d}})()}function Xt(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Xt=function(e,t,n,r){function i(t,n){Xt(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Xt(e,t,n,r)}function en(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function tn(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){en(i,r,o,a,s,"next",e)}function s(e){en(i,r,o,a,s,"throw",e)}a(void 0)})}}const nn={name:"ara-notification-dot",props:{isMateix:{type:Boolean}},data:function(){return{lastMessageId:0,showDot:!1}},mounted:function(){var e=this;return tn(Qt().m(function t(){return Qt().w(function(t){for(;;)switch(t.n){case 0:e.isMateix?(localStorage.removeItem("showDot"),e.showDot=!1):(e.syncLocalStorage(),e.polling=setInterval(tn(Qt().m(function t(){return Qt().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.checkForAnyUpdates();case 1:return t.a(2)}},t)})),12e4));case 1:return t.a(2)}},t)}))()},beforeDestroy:function(){clearInterval(this.polling)},methods:{syncLocalStorage:function(){var e=localStorage.getItem("lastMessageId");e&&(this.lastMessageId=e);var t=Boolean(localStorage.getItem("showDot"));t&&(this.showDot=t)},checkForAnyUpdates:function(){var e=this;return tn(Qt().m(function t(){var n,r,o,i,a;return Qt().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,n={publishedDateOrder:["DESC"]},t.n=1,Jt.A.getNewestMessages("mateix",e.lastMessageId,n,!1);case 1:r=t.v,o=r.messages,(i=o.find(function(e){return"feed-breu"===e.type}).id)&&(localStorage.setItem("lastMessageId",i),localStorage.setItem("showDot","true"),0!==e.lastMessageId&&(e.showDot=!0),e.lastMessageId=i),t.n=3;break;case 2:t.p=2,a=t.v,console.debug(a);case 3:return t.a(2)}},t,null,[[0,2]])}))()}}};function rn(e){return rn="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},rn(e)}function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?on(Object(n),!0).forEach(function(t){sn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sn(e,t,n){return(t=function(e){var t=function(e){if("object"!=rn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ln={name:"ara-mobile-menu",data:function(){return{isHome:!1,isMateix:!1,isDescobreix:!1,isCerca:!1,isJocs:!1}},components:{araNotificationDot:(0,Le.A)(nn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showDot?n("div",{staticClass:"dot"}):e._e()},[],!1,null,null,null).exports},created:function(){this.checkUrl()},computed:an(an(an({},(0,G.L8)(["menuMobile","lang","headerShowElements","site"])),(0,G.L8)("user",["pendingNotifications"])),{},{showOnlyInCatalanSiteOrES:function(){return"ca"===this.lang||"es"===this.lang}}),methods:an(an(an({},(0,G.i0)(["setMenuMobile"])),(0,G.i0)("user",["toggleShowProfile"])),{},{goToHome:function(){this.$track({category:"bottom-bar",action:"click",label:u.A.t("menu.home")}),window.location.href=this.site?this.site.url:"/"},deleteBreuId:function(){localStorage.removeItem("lastBreuId")},goToMateix:function(){this.deleteBreuId(),this.$track({category:"bottom-bar",action:"click",label:u.A.t("menu.mateix")}),"es"!==this.lang?"en"!==this.lang?"de"!==this.lang?window.location.href="".concat(this.site.url,"/ultima-hora/"):window.location.href="".concat(this.site.url,"/eilmeldungen/"):window.location.href="".concat(this.site.url,"/breaking-news/"):window.location.href="".concat(this.site.url,"/ultima-hora/")},goToDiscover:function(){this.$track({category:"bottom-bar",action:"click",label:u.A.t("menu.discover")}),"es"!==this.lang?"en"!==this.lang&&"de"!==this.lang?window.location.href="".concat(this.site.url,"/descobreix/"):window.location.href="".concat(this.site.url,"/discover/"):window.location.href="".concat(this.site.url,"/descubre/")},goToSearch:function(){this.$track({category:"bottom-bar",action:"click",label:u.A.t("menu.search")}),this.setMenuMobile(!this.menuMobile),!1===this.isCerca?(this.resetActive(),this.isCerca=!0):(this.checkUrl(),this.isCerca=!1)},goToJocs:function(){window.location.href="https://jocs.ara.cat/"},checkUrl:function(){if(this.resetActive(),window.location.host.includes("jocs"))this.isJocs=!0;else if("/"!==window.location.pathname)switch(window.location.pathname.split("/").slice(1)[0]){case"descobreix":case"descubre":case"eilmeldungen":case"discover":return void(this.isDescobreix=!0);case"ara-mateix":case"ultima-hora":case"breaking-news":this.isMateix=!0}else this.isHome=!0},resetActive:function(){this.isHome=!1,this.isMateix=!1,this.isDescobreix=!1,this.isCerca=!1,this.isJocs=!1}})};var cn=n(56095),un=n(95890);function pn(e){return pn="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},pn(e)}function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(n),!0).forEach(function(t){mn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mn(e,t,n){return(t=function(e){var t=function(e){if("object"!=pn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=pn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hn={name:"ara-multimedia-visor",mixins:[X.A],props:{id:{type:Number},image:{type:String},title:{type:String},author:{type:String},imageVisor:{type:Object},template:{type:String}},data:function(){return{visibleVisor:!1,iconClose:cn.A,iconShare:un.A}},components:{araPicture:Oe.A},mounted:function(){window.addEventListener("scroll",this.onScroll,{passive:!0}),this.height=this.$el.clientHeight},beforeDestroy:function(){window.removeEventListener("scroll",this.onScroll),this.setDisplayVisor(!1)},computed:fn(fn({},(0,G.L8)(["displayVisor"])),{},{aspectRatio:function(){return this.imageVisor.image.sources[0].widthRatio/this.imageVisor.image.sources[0].heightRatio>1?"horizontal":"vertical"}}),methods:fn(fn({},(0,G.i0)(["setDisplayVisor"])),{},{toggleVisor:function(){var e=this;("q100"===this.template||"w100"===this.template||"photo-article"===this.template)&&window.innerWidth>1200||this.channelAction("showImage",{url:this.imageVisor.image.sources[0].src,desc:"".concat(this.imageVisor.title," ").concat(this.imageVisor.signature.toUpperCase())},function(){e.visibleVisor=!e.visibleVisor,e.setDisplayVisor(e.visibleVisor),e.$nextTick(function(){return e.lazy.update()})})},onScroll:function(){window.innerWidth>768&&(this.visibleVisor=!1,this.displayVisor&&this.setDisplayVisor(!1))}})},gn=(0,Le.A)(hn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"image-fullscreen",label:e.id},expression:"{category: 'content', action: 'image-fullscreen', label: id }",arg:"click"}],staticClass:"visor",on:{click:function(t){return t.stopPropagation(),e.toggleVisor(t)}}},[e._t("default"),e._v(" "),n("transition",{attrs:{name:"ara-visor-transition"}},[e.visibleVisor?n("div",{staticClass:"ara-multimedia-visor",class:e.visibleVisor?"active":""},[n("div",{staticClass:"header"},[n("div",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.toggleVisor(t)}}})]),e._v(" "),n("figure",{staticClass:"image",class:e.aspectRatio},[n("ara-picture",{attrs:{image:this.imageVisor.image}}),e._v(" "),n("figcaption",{staticClass:"footer"},[n("span",{staticClass:"text",domProps:{textContent:e._s(this.imageVisor.title)}}),e._v(" "),n("span",{staticClass:"author",domProps:{textContent:e._s(this.imageVisor.signature)}}
2)])],1)]):e._e()])],2)},[],!1,null,"4f66f188",null).exports;n(97309),n(6552);const vn={name:"ara-predictive-search",props:{items:{type:Array,required:!0},searchBy:{type:String,default:"text"}},data:function(){return{height:"0",limit:10,query:"",showResults:!1,selectedIndex:0}},components:{araSearchInput:Tt.A},computed:{filteredItems:function(){var e=this;return this.query.length?this.items.filter(function(t){return t[e.searchBy].match(new RegExp("(".concat(e.query,")"),"gi"))}).slice(0,this.limit):[]}},watch:{"filteredItems.length":{handler:function(e){this.selectedIndex=0,this.showResults=!!e,this.updateHeight()},immediate:!0}},mounted:function(){this.clearHeight()},methods:{getItemText:function(e){return e[this.searchBy].replace(new RegExp("(".concat(this.query,")"),"gi"),"<b>$1</b>")},clear:function(){this.query="",this.$refs.input.focus()},select:function(e){this.query=e[this.searchBy],this.hideResults()},clearHeight:function(){var e=this;this.$nextTick(function(){e.height="0"})},updateHeight:function(){var e=this;this.$nextTick(function(){e.height=e.$refs.results?"".concat(e.$refs.results.scrollHeight,"px"):"0"})},hideResults:function(){this.showResults=!1},onKeyDown:function(e){this.showResults&&("ArrowDown"!==e.key&&40!==e.keyCode||(this.cancelEvent(e),this.selectedIndex+=1,(1===this.filteredItems.length||this.selectedIndex>=this.filteredItems.length)&&(this.selectedIndex=0)),"ArrowUp"!==e.key&&38!==e.keyCode||(this.cancelEvent(e),this.selectedIndex-=1,1===this.filteredItems.length?this.selectedIndex=0:this.selectedIndex<0&&(this.selectedIndex=this.filteredItems.length-1)),("Enter"===e.key||13===e.keyCode)&&this.filteredItems.length>0&&(this.cancelEvent(e),window.location.href=this.filteredItems[this.selectedIndex].href,this.clear()),("Tab"===e.key||9===e.keyCode)&&this.filteredItems.length>0&&(this.cancelEvent(e),this.select(this.filteredItems[this.selectedIndex])),"Escape"!==e.key&&27!==e.keyCode||(this.cancelEvent(e),this.hideResults()))},cancelEvent:function(e){e.preventDefault(),e.stopPropagation()}}},bn=(0,Le.A)(vn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.hideResults,expression:"hideResults"}],staticClass:"ara-predictive-search"},[n("div",{staticClass:"search-input"},[n("ara-search-input",{on:{keydown:e.onKeyDown},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})],1),e._v(" "),n("transition",{attrs:{name:"accordion"},on:{"before-enter":e.clearHeight,enter:e.updateHeight,"before-leave":e.updateHeight,leave:e.clearHeight}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showResults,expression:"showResults"}],staticClass:"search-results",style:{height:e.height}},[n("div",{ref:"results",staticClass:"search-results--content"},[e._l(e.filteredItems,function(t,r){return[n("a",{key:r,staticClass:"search-results__item",class:{"search-results__item--selected":e.selectedIndex===r},attrs:{href:t.href,title:t.title},domProps:{innerHTML:e._s(e.getItemText(t))},on:{click:function(n){return e.select(t)},mouseover:function(t){e.selectedIndex=r}}})]})],2)])])],1)},[],!1,null,"06052990",null).exports;function yn(e){return yn="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},yn(e)}function wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(n),!0).forEach(function(t){_n(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _n(e,t,n){return(t=function(e){var t=function(e){if("object"!=yn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=yn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sn={name:"ara-snackbar-mail",data:function(){return{showSnack:!1,iconClose:cn.A}},mounted:function(){!1!==this.hasEmailValidated||sessionStorage.getItem("hasCloseSnackBar")||(this.showSnack=!0)},watch:{hasEmailValidated:function(e){this.showSnack=!1===e}},computed:Cn(Cn(Cn({},(0,G.L8)(["runningInApp","runningInAppApple","runningInAppAndroid","headerShowElements","appUIVisibility"])),(0,G.L8)("user",["currentUser","hasEmailValidated"])),{},{hasBottomMargin:function(){return!this.runningInAppAndroid&&(this.runningInAppApple,!0)}}),methods:{closeSnackbar:function(){sessionStorage.setItem("hasCloseSnackBar",!0),this.showSnack=!1}}},kn=(0,Le.A)(Sn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showSnack?n("div",{staticClass:"snackbar-wrapper",class:{margin:e.hasBottomMargin,"running-in-app":e.runningInApp}},[n("div",{staticClass:"ara-snackbar"},[n("div",{staticClass:"ara-snackbar-content",attrs:{role:"status"}},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("snackbar-mail.reminder"))}})]),e._v(" "),n("div",{staticClass:"ara-snackbar-action"},[n("button",{domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.closeSnackbar}}
2)])])]):e._e()},[],!1,null,null,null).exports;var An=n(6345),Pn=n(75260),xn=n(62139);const On={name:"ara-button",props:{fullWidth:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},active:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},header:{type:Boolean,default:!1},small:{type:Boolean,default:!1},text:{type:Boolean,default:!1},empty:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},icon:{type:String},href:{type:String},nofollow:{type:Boolean,default:!1},onlyicon:{type:Boolean,default:!1}},data:function(){return{iconOk:xn.A}},computed:{createComponent:function(){return this.href?"a":"button"}},methods:{onClick:function(e){this.disabled||this.loading||this.$emit("click",e)}}},In=(0,Le.A)(On,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.createComponent,{tag:"component",staticClass:"ara-button",class:{fullWidth:e.fullWidth,secondary:e.secondary,disabled:e.disabled,text:e.text,loading:e.loading,active:e.active,rounded:e.rounded,header:e.header,small:e.small,empty:e.empty,outlined:e.outlined,onlyicon:e.onlyicon},attrs:{href:e.href,rel:e.nofollow?"nofollow":""},on:{click:e.onClick}},[e.icon||e.active?n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.icon||e.iconOk)}}):e._e(),e._v(" "),e.onlyicon?e._e():n("span",{staticClass:"button-content"},[e._t("default")],2),e._v(" "),e.loading?n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)]):e._e()])},[],!1,null,null,null).exports;var Ln=n(71268),En=n(10676),jn=n(22361),Tn=n(23055),Dn=n(34289);const Mn={name:"ara-button-new-social",components:{AraButtonNew:lt.A},props:{social:{type:String,required:!0}},computed:{iconType:function(){return this.social},icon:function(){switch(this.social){case"facebook":return jn.A;case"apple":return Tn.A;case"google":return Dn.A;default:return null}}}},Fn=(0,Le.A)(Mn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ara-button-new",{attrs:{social:"",secondary:"",outlined:"","no-clip":"","full-width":""},scopedSlots:e._u([e.icon?{key:"prepend",fn:function(){return[n("span",{attrs:{"data-icon":e.iconType},domProps:{innerHTML:e._s(e.icon)}})]},proxy:!0}:null],null,!0)},[e._v(" "),e._t("default")],2)},[],!1,null,null,null).exports;var Rn=n(73421);const Bn='<svg viewBox="0 0 22 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M22,2 C22,3.1 21.1,4 20,4 C19.82,4 19.65,3.98 19.49,3.93 L15.93,7.48 C15.98,7.64 16,7.82 16,8 C16,9.1 15.1,10 14,10 C12.9,10 12,9.1 12,8 C12,7.82 12.02,7.64 12.07,7.48 L9.52,4.93 C9.36,4.98 9.18,5 9,5 C8.82,5 8.64,4.98 8.48,4.93 L3.93,9.49 C3.98,9.65 4,9.82 4,10 C4,11.1 3.1,12 2,12 C0.9,12 0,11.1 0,10 C0,8.9 0.9,8 2,8 C2.18,8 2.35,8.02 2.51,8.07 L7.07,3.52 C7.02,3.36 7,3.18 7,3 C7,1.9 7.9,1 9,1 C10.1,1 11,1.9 11,3 C11,3.18 10.98,3.36 10.93,3.52 L13.48,6.07 C13.64,6.02 13.82,6 14,6 C14.18,6 14.36,6.02 14.52,6.07 L18.07,2.51 C18.02,2.35 18,2.18 18,2 C18,0.9 18.9,0 20,0 C21.1,0 22,0.9 22,2 Z"></path></svg>',Un='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 1.5v9h-9v-9h9zm0-1.5h-9C3.675 0 3 .675 3 1.5v9c0 .825.675 1.5 1.5 1.5h9c.825 0 1.5-.675 1.5-1.5v-9c0-.825-.675-1.5-1.5-1.5zM7.125 7.253l1.268 1.694 1.86-2.324L12.75 9.75h-7.5l1.875-2.497zM0 3v10.5c0 .825.675 1.5 1.5 1.5H12v-1.5H1.5V3H0z"></path></svg>\n',Nn='<svg viewBox="0 0 15 21" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M4.25,8.24 L4.25,4.5 C4.25,3.12 5.37,2 6.75,2 C8.13,2 9.25,3.12 9.25,4.5 L9.25,8.24 C10.46,7.43 11.25,6.06 11.25,4.5 C11.25,2.01 9.24,0 6.75,0 C4.26,0 2.25,2.01 2.25,4.5 C2.25,6.06 3.04,7.43 4.25,8.24 Z M14.09,12.87 L9.55,10.61 C9.38,10.54 9.2,10.5 9.01,10.5 L8.25,10.5 L8.25,4.5 C8.25,3.67 7.58,3 6.75,3 C5.92,3 5.25,3.67 5.25,4.5 L5.25,15.24 C1.65,14.48 1.71,14.49 1.58,14.49 C1.27,14.49 0.99,14.62 0.79,14.82 L0,15.62 L4.94,20.56 C5.21,20.83 5.59,21 6,21 L12.79,21 C13.54,21 14.12,20.45 14.23,19.72 L14.98,14.45 C14.99,14.38 15,14.31 15,14.25 C15,13.63 14.62,13.09 14.09,12.87 Z"></path></svg>',$n='<svg viewBox="0 0 19 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M0,13 L2,13 L2,13.5 L1,13.5 L1,14.5 L2,14.5 L2,15 L0,15 L0,16 L3,16 L3,12 L0,12 L0,13 Z M1,4 L2,4 L2,0 L0,0 L0,1 L1,1 L1,4 Z M0,7 L1.8,7 L0,9.1 L0,10
2L3,10 L3,9 L1.2,9 L3,6.9 L3,6 L0,6 L0,7 Z M5,1 L5,3 L19,3 L19,1 L5,1 Z M5,15 L19,15 L19,13 L5,13 L5,15 Z M5,9 L19,9 L19,7 L5,7 L5,9 Z"></path></svg>',Vn='<svg viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M0,4.2 L3,4.2 L3,14 L0,14 L0,4.2 Z M5.6,0 L8.4,0 L8.4,14 L5.6,14 L5.6,0 Z M11.2,8 L14,8 L14,14 L11.2,14 L11.2,8 Z"></path></svg>',Hn={name:"ara-button-new-media",components:{AraButtonNew:lt.A},props:{type:{type:String,required:!0},size:{type:String,default:"normal"},iconPosition:{type:String,default:"prepend"}},computed:{icon:function(){switch(this.type){case"video":return Rn.A;case"audio":return'<svg width="14" height="15" viewBox="0 0 14 15" fill="white" xmlns="http://www.w3.org/2000/svg">\n <path d="M12 9.75V12C12 12.4125 11.6625 12.75 11.25 12.75H10.5V9.75H12ZM3 9.75V12.75H2.25C1.8375 12.75 1.5 12.4125 1.5 12V9.75H3ZM6.75 0C3.0225 0 0 3.0225 0 6.75V12C0 13.245 1.005 14.25 2.25 14.25H4.5V8.25H1.5V6.75C1.5 3.8475 3.8475 1.5 6.75 1.5C9.6525 1.5 12 3.8475 12 6.75V8.25H9V14.25H11.25C12.495 14.25 13.5 13.245 13.5 12V6.75C13.5 3.0225 10.4775 0 6.75 0Z"/>\n</svg>\n';case"graphic":return Bn;case"gallery":return Un;case"interactive":case"special":return Nn;case"dossier":return'<svg width="15" height="12" viewBox="0 0 15 12" fill="white" xmlns="http://www.w3.org/2000/svg">\n <path d="M5.3775 1.5L6.8775 3H13.5V10.5H1.5V1.5H5.3775ZM6 0H1.5C0.675 0 0.00749999 0.675 0.00749999 1.5L0 10.5C0 11.325 0.675 12 1.5 12H13.5C14.325 12 15 11.325 15 10.5V3C15 2.175 14.325 1.5 13.5 1.5H7.5L6 0Z"/>\n</svg>\n';case"test":return $n;case"poll":return Vn;default:return null}},mediaType:function(){return"media--".concat(this.type)},sizeClass:function(){var e;return null!==(e=this.size)&&void 0!==e?e:null}}},qn=(0,Le.A)(Hn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ara-button-new",{attrs:{rounded:"",multimedia:"","no-clip":"","media-type":e.mediaType,size:e.sizeClass,"with-text":"only"!==e.iconPosition},scopedSlots:e._u(["prepend"===e.iconPosition||"only"===e.iconPosition?{key:"prepend",fn:function(){return[n("span",{domProps:{innerHTML:e._s(e.icon)}})]},proxy:!0}:null],null,!0)},[e._v(" "),"only"!==e.iconPosition?e._t("default"):e._e()],2)},[],!1,null,null,null).exports;n(89744);var Gn=n(11520);function zn(e){return zn="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},zn(e)}function Wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wn(Object(n),!0).forEach(function(t){Zn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zn(e,t,n){return(t=function(e){var t=function(e){if("object"!=zn(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=zn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Yn={name:"ara-list",components:{araButtonNew:lt.A},props:{url:{type:String},paginatedUrl:{type:String},trackingLabel:{type:String}},data:function(){return{loadedPages:[],loading:!1,nextPage:null,paginatedNextPage:null,useOnlyAjax:!1}},computed:Kn(Kn({},(0,G.L8)(["env"])),{},{hasNextPage:function(){return!!this.paginatedNextPage||!!this.nextPage},nextPageUrl:function(){var e=new URL(this.nextPage);return e.searchParams.set("format","json"),e}}),mounted:function(){this.nextPage=this.url,this.paginatedNextPage=this.paginatedUrl,"DEV"!==this.env&&(this.nextPage=this.nextPage.replace("http://","https://"),this.paginatedNextPage=this.paginatedNextPage.replace("http://","https://")),Gn.A.$emit("paginateList")},methods:{calculateNextPageUrlManually:function(){var e=this.paginatedNextPage.slice(this.paginatedNextPage.length-3);this.paginatedNextPage=this.paginatedNextPage.replace(e,""),this.paginatedNextPage+="/".concat(+e.replaceAll("/","")+1,"/")},loadMore:function(){var e=this;if(this.hasNextPage)if(!this.paginatedNextPage||this.paginatedNextPage.includes("/2/")||this.useOnlyAjax){this.trackingLabel&&this.$track({category:"list",action:"load-more",label:this.trackingLabel}),this.loading=!0;var t=document.documentElement.scrollTop;fetch(this.nextPageUrl,{headers:{"Content-Type":"application/json; charset=utf-8"}}).then(function(e){return e.json()}).then(this.handleApiResponse).finally(function(){document.documentElement.scrollTop=t,e.loading=!1,e.calculateNextPageUrlManually(),e.useOnlyAjax=!0,document.dispatchEvent(new CustomEvent("ssmNavigate",{detail:{url:window.location.href}})),Gn.A.$emit("paginateList")})}else window.location.href=this.paginatedNextPage},handleApiResponse:function(e){var t=e.html,n=e.nextPage;t&&this.loadedPages.push({template:"<div>".concat(t,"</div>")}
2),this.nextPage=n||null,null===this.nextPage&&(this.paginatedNextPage=null)}}},Jn=(0,Le.A)(Yn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-list"},[e._t("default"),e._v(" "),n("div",{staticClass:"next-page"},e._l(e.loadedPages,function(t,r){return n(t,e._b({key:r,tag:"component",staticClass:"page-container"},"component",e.$props,!1))}),1),e._v(" "),e.hasNextPage?n("div",{staticClass:"list-footer"},[n("ara-button-new",{attrs:{href:e.paginatedNextPage,rel:e.paginatedNextPage?"nofollow":null,loading:e.loading,disabled:e.loading,secondary:"",outlined:""},on:{click:function(t){return t.preventDefault(),e.loadMore(t)}}},[e._v(e._s(e.$t("components.load-more")))])],1):e._e()],2)},[],!1,null,null,null).exports;var Qn=n(72364);const Xn={name:"ara-line-swipe",props:{title:{type:String,required:!0},subtitle:{type:String}},data:function(){return{overflowed:!1}},computed:{setClass:function(){return this.overflowed?"overflowed":""}},mounted:function(){this.setOverflow()},methods:{setOverflow:function(){var e=this;this.$nextTick(function(){e.overflowed=e.$refs.content&&e.$refs.content.offsetWidth>e.$refs.wrapper.offsetWidth})}}},er=(0,Le.A)(Xn,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"wrapper",staticClass:"title"},[n("h3",{ref:"content",class:e.setClass},[e._v("\n "+e._s(e.title)+" "),n("span",[e._v(e._s(e.subtitle))])])])},[],!1,null,null,null).exports,tr='<svg viewBox="0 0 11 14" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M0,1.82 L0,12.18 C0,12.97 0.87,13.45 1.54,13.02 L9.68,7.84 C10.3,7.45 10.3,6.55 9.68,6.15 L1.54,0.98 C0.87,0.55 0,1.03 0,1.82 Z"></path></svg>\n',nr='<svg viewBox="0 0 18 19" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M16,13 L16,16 C16,16.55 15.55,17 15,17 L14,17 L14,13 L16,13 L16,13 Z M4,13 L4,17 L3,17 C2.45,17 2,16.55 2,16 L2,13 L4,13 L4,13 Z M9,0 C4.03,0 0,4.03 0,9 L0,16 C0,17.66 1.34,19 3,19 L6,19 L6,11 L2,11 L2,9 C2,5.13 5.13,2 9,2 C12.87,2 16,5.13 16,9 L16,11 L12,11 L12,19 L15,19 C16.66,19 18,17.66 18,16 L18,9 C18,4.03 13.97,0 9,0 Z"></path></svg>\n',rr={name:"ara-media-info",props:{opinion:Boolean,type:{type:String},externaltype:{type:String},customText:{type:String}},data:function(){return{showText:!1,extraClass:null,types:{video:{icon:tr,text:this.$t("media-info.video")},image:{icon:Un,text:this.$t("media-info.image")},graphic:{icon:Bn,text:this.$t("media-info.graphic")},audio:{icon:nr,text:this.$t("media-info.audio")},interactive:{icon:Nn,text:this.$t("media-info.interactive")},special:{icon:Nn,text:this.$t("media-info.special")},story:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.17 6l2 2H20v10H4V6h5.17M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>',text:this.$t("media-info.story")},poll:{icon:Vn,text:this.$t("media-info.poll")},test:{icon:$n,text:this.$t("media-info.test")},streaming:{icon:tr,text:this.$t("media-info.streaming")}}}},computed:{mediaIcon:function(){return this.types[this.type]?this.types[this.type].icon:null},mediaText:function(){return this.customText?this.customText:this.types[this.type]?this.types[this.type].text:null}},mounted:function(){this.calculeSize()},methods:{onResize:function(){this.calculeSize()},calculeSize:function(){this.opinion?this.$el.clientWidth>120?this.extraClass="lg":this.$el.clientWidth>100&&this.$el.clientWidth<120?this.extraClass="md":this.extraClass="sm":this.$el.clientWidth>300?(this.showText=!0,this.extraClass="lg"):this.$el.clientWidth>150&&this.$el.clientWidth<300?(this.showText=!1,this.extraClass="md"):(this.showText=!1,this.extraClass="sm")}}},or=(0,Le.A)(rr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.mediaIcon?n("div",{directives:[{name:"resize",rawName:"v-resize:debounce",value:e.onResize,expression:"onResize",arg:"debounce"}],class:[e.extraClass,e.opinion?"ara-media-info--opinion":"ara-media-info"]},["externalWeb"!=e.externaltype?n("div",{staticClass:"wrapper"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.mediaIcon)}}),e._v(" "),e.showText&&!e.opinion?n("span",{staticClass:"text",domProps:{textContent:e._s(e.mediaText)}}
2):e._e()]):e._e()]):e._e()},[],!1,null,"1f51d6e8",null).exports;var ir=n(22499);const ar={name:"carousel-card-author",props:{element:{type:Object,required:!0}},data:function(){return{iconQuote:ir.A}}},sr=(0,Le.A)(ar,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"author"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconQuote)}}),e._v(" "),n("div",{staticClass:"text",domProps:{textContent:e._s(e.element.text)}}),e._v(" "),n("div",{staticClass:"author"},[e.element.author.image?n("img",{staticClass:"author-image",attrs:{src:e.element.author.image.url,alt:e.element.author.image.alt}}):e._e(),e._v(" "),e.element.author.name?n("div",{staticClass:"author-name",domProps:{textContent:e._s(e.element.author.name)}}):e._e(),e._v(" "),e.element.author.position?n("div",{staticClass:"author-position",domProps:{textContent:e._s(e.element.author.position)}}):e._e()])])},[],!1,null,null,null).exports,lr={name:"carousel-card-multimedia",props:{element:{type:Object,required:!0}},components:{araPicture:Oe.A}},cr=(0,Le.A)(lr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"multimedia"},[n("figure",[n("ara-picture",{attrs:{image:e.element.multimedia.image}}),e._v(" "),n("figcaption",{staticClass:"text",domProps:{textContent:e._s(e.element.text)}})],1)])},[],!1,null,null,null).exports;var ur=n(98056),pr=n(69654);const dr={name:"carousel-card-number",props:{element:{type:Object,required:!0}},components:{araPicture:Oe.A,araAudioPlayer:ur.default,araVideoPlayer:pr.default},computed:{formatNumber:function(){return this.element.number.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}}},fr=(0,Le.A)(dr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"number"},[n("span",{staticClass:"number",domProps:{textContent:e._s(e.formatNumber)}}),e._v(" "),n("span",{staticClass:"title",domProps:{textContent:e._s(e.element.title)}}),e._v(" "),n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.element.subtitle)}}),e._v(" "),this.element.text?n("span",{staticClass:"text",domProps:{textContent:e._s(e.element.text)}}):n("figure",{staticClass:"multimedia",class:e.element.multimedia.type},["audio"===e.element.multimedia.type?n("ara-audio-player",{attrs:{"content-id":e.element.multimedia.id,file:e.element.multimedia.audio.file.url}}):e._e(),e._v(" "),"image"===e.element.multimedia.type?n("ara-picture",{attrs:{image:e.element.multimedia.image}}):e._e(),e._v(" "),"video"===e.element.multimedia.type?n("ara-video-player",{attrs:{video:e.element.multimedia.video}}):e._e()],1)])},[],!1,null,null,null).exports,mr={name:"carousel-card-text",props:{element:{type:Object,required:!0}},components:{araPicture:Oe.A,araAudioPlayer:ur.default,araVideoPlayer:pr.default}},hr=(0,Le.A)(mr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"text"},[n("span",{staticClass:"title",domProps:{textContent:e._s(e.element.title)}}),e._v(" "),n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.element.subtitle)}}),e._v(" "),n("span",{staticClass:"text",domProps:{textContent:e._s(e.element.text)}}),e._v(" "),n("figure",{staticClass:"multimedia",class:e.element.multimedia.type},["audio"===e.element.multimedia.type?n("ara-audio-player",{attrs:{"content-id":e.element.multimedia.id,file:e.element.multimedia.audio.file.url}}):e._e(),e._v(" "),"image"===e.element.multimedia.type?n("ara-picture",{attrs:{image:e.element.multimedia.image}}):e._e(),e._v(" "),"video"===e.element.multimedia.type?n("ara-video-player",{attrs:{video:e.element.multimedia.video}}):e._e()],1)])},[],!1,null,null,null).exports,gr={name:"ara-carousel",props:{carousel:{type:Object,required:!0}},data:function(){return{activeCard:0,leftPosition:0,styleObject:{left:0}}},components:{carouselCardAuthor:sr,carouselCardMultimedia:cr,carouselCardNumber:fr,carouselCardText:hr},computed:{leftGradient:function(){return this.activeCard===this.carousel.cards.length-1},rightGradient:function(){return this.activeCard!==this.carousel.cards.length-1}},methods:{goToCard:function(e){this.activeCard=e,this.leftPosition=-1*this.$refs["card".concat(e)
2][0].$el.offsetLeft,-1*this.leftPosition>this.$refs.slider.clientWidth-this.$refs.sliderWidth.clientWidth&&(this.leftPosition=-1*(this.$refs.slider.clientWidth-this.$refs.sliderWidth.clientWidth)),this.styleObject.left="".concat(this.leftPosition,"px")},swipeHandler:function(e){"left"===e&&(this.leftPosition-=285,-1*this.leftPosition>this.$refs.slider.clientWidth-this.$refs.sliderWidth.clientWidth?(this.leftPosition=-1*(this.$refs.slider.clientWidth-this.$refs.sliderWidth.clientWidth),this.activeCard=this.carousel.cards.length-1):this.activeCard+=1,this.styleObject.left="".concat(this.leftPosition,"px")),"right"===e&&(-1*this.leftPosition===this.$refs.slider.clientWidth-this.$refs.sliderWidth.clientWidth?this.leftPosition+=240:this.leftPosition+=285,this.leftPosition>0?(this.leftPosition=0,this.activeCard=0):this.activeCard-=1,this.styleObject.left="".concat(this.leftPosition,"px"))}}},vr=(0,Le.A)(gr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"carousel"},[n("div",{staticClass:"header"},[n("ul",{staticClass:"bullet"},e._l(e.carousel.cards,function(t,r){return n("li",{key:r,staticClass:"bullet-dot",class:{active:r===e.activeCard},on:{click:function(t){return e.goToCard(r)}}})}),0),e._v(" "),n("span",{staticClass:"title",domProps:{textContent:e._s(e.carousel.title)}})]),e._v(" "),n("div",{directives:[{name:"touch",rawName:"v-touch:swipe",value:e.swipeHandler,expression:"swipeHandler",arg:"swipe"}],ref:"sliderWidth",staticClass:"slider"},[e.leftGradient?n("span",{staticClass:"left-gradient",on:{click:function(t){return e.swipeHandler("right")}}}):e._e(),e._v(" "),e.rightGradient?n("span",{staticClass:"right-gradient",on:{click:function(t){return e.swipeHandler("left")}}}):e._e(),e._v(" "),n("div",{ref:"slider",staticClass:"slider-wrapper",style:e.styleObject},e._l(e.carousel.cards,function(e,t){return n(e.type,{key:"card-"+t,ref:"card"+t,refInFor:!0,tag:"component",staticClass:"slider-card",attrs:{element:e}})}),1)])])},[],!1,null,null,null).exports;var br=n(55599);const yr={name:"ara-alert",props:{alert:{type:Object,required:!0},title:{type:String,required:!0}},data:function(){return{visible:!0,timeToClose:0,isMarquee:!1,iconClose:cn.A}},computed:{isMoreThanOne:function(){return this.alert.messages.length>1}},beforeMount:function(){var e=localStorage.getItem("alert");new Date(e).getTime()>(new Date).getTime()?this.visible=!1:localStorage.removeItem("alert"),this.alert.duration>0&&(this.timeToClose=1e3*this.alert.duration,setTimeout(this.closeAlert,this.timeToClose))},mounted:function(){window.addEventListener("resize",this.checkWidthAlert),this.checkWidthAlert()},beforeDestroy:function(){window.removeEventListener("resize",this.checkWidthAlert)},methods:{checkWidthAlert:function(){this.isMarquee=this.$refs.alerts&&this.$refs.alerts.clientWidth>this.$refs.container.clientWidth},closeAlert:function(){var e=new Date;e.setDate(e.getDate()+1),localStorage.setItem("alert",e),this.visible=!1}}},wr=(0,Le.A)(yr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"alert-transition"}},[e.visible?n("div",{staticClass:"alert",class:e.alert.color},[n("div",{staticClass:"alert-wrapper"},[n("div",{staticClass:"alert-header"},[n("span",{staticClass:"circle"}),e._v("\n "+e._s(e.title)+"\n "),e.isMoreThanOne?n("span",{staticClass:"number",domProps:{textContent:e._s(" ("+this.alert.messages.length+")")}}):e._e()]),e._v(" "),n("div",{ref:"container",staticClass:"alert-body"},[n("ul",{ref:"alerts",staticClass:"alert-list",class:{marquee:e.isMarquee}},e._l(e.alert.messages,function(t,r){return n("li",{key:r},[n("a",{attrs:{href:t.href},domProps:{textContent:e._s(t.title)}})])}),0),e._v(" "),e.isMarquee?n("ul",{staticClass:"alert-list marquee"},e._l(e.alert.messages,function(t,r){return n("li",{key:r},[n("a",{attrs:{href:t.href},domProps:{textContent:e._s(t.title)}})])}),0):e._e()]),e._v(" "),n("div",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.closeAlert}})])]):e._e()])},[],!1,null,null,null).exports;var Cr=n(97262),_r=n(15181),Sr=n(92944),kr=n(165),Ar=n(89871),Pr=n(20315);const xr={name:"ara-login-app",mixins:[X.A],components:{araButtonNew:lt.A},props:{loginText:{type:String,default:"accedeix"}},methods:{goAppLogin:function(){this.channelAction("showLogin",null)}}},Or=(0,Le.A)(xr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-login app"},[n("div",{staticClass:"ara-login_anonymous"},[n("ara-button-new",{directives:[{name:"track",rawName:"v-track:click",value:{category:"header",action:"click",label:"register"},expression:"{category: 'header', action: 'click', label: 'register'}",arg:"click"}],staticClass:"ara-login_register",attrs:{href:"#","icon-type":"user","icon-position":"prepend"},on:{click:e.goAppLogin}},[e._v(e._s(e.loginText))])],1)])},[],!1,null,null,null).exports;var Ir=n(56635),Lr=n(19632),Er=n(62479),jr=n(79362);function Tr(e){return Tr="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},Tr(e)}function Dr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Mr(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Mr(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Mr(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Mr(p,"constructor",c),Mr(c,"constructor",l),l.displayName="GeneratorFunction",Mr(c,o,"GeneratorFunction"),Mr(p),Mr(p,o,"Generator"),Mr(p,r,function(){return this}),Mr(p,"toString",function(){return"[object Generator]"}),(Dr=function(){return{w:i,m:d}})()}function Mr(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Mr=function(e,t,n,r){function i(t,n){Mr(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Mr(e,t,n,r)}function Fr(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Rr(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Fr(i,r,o,a,s,"next",e)}function s(e){Fr(i,r,o,a,s,"throw",e)}a(void 0)})}}function Br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ur(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(n),!0).forEach(function(t){Nr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Nr(e,t,n){return(t=function(e){var t=function(e){if("object"!=Tr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Tr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $r={name:"ara-user-login-paywall",components:{AraButtonRound:n(13945).A,ValidationObserver:p.Ce,araTextInputWithValidation:jr.A,araButtonNew:lt.A},props:{backUrl:{type:String,default:"/"},paywallTitle:{type:String,default:""},paywallSubtitle:{type:String,default:""}},data:function(){return{iconFacebook:jn.A,iconGoogle:Lr.A,iconApple:Tn.A,iconOpenIn:Er.A,mail:null,loading:!1}},methods:Ur(Ur({},(0,G.i0)("user",["checkEmail"])),{},{goLogin:function(){this.loading||(this.loading=!0,this.$track({category:"paywall",action:"button_cta",label:this.$t("login.continue")}),window.location.href=this.loginUrl())},loginApple:function(){var e=this;return Rr(Dr().m(function t(){return Dr().w(function(t){for(;;)switch(t.n){case 0:try{e.loading=!0,e.$track({category:"paywall",action:"button_social",label:e.$t("login.apple")}),window.location.href="/api/front/user/login/apple?backUrl=".concat(e.backUrl)}catch(e){console.log(e)}case 1:return t.a(2)}},t)}))()},loginFacebook:function(){var e=this;return Rr(Dr().m(function t(){return Dr().w(function(t){for(;;)switch(t.n){case 0:try{e.loading=!0,e.$track({category:"paywall",action:"button_social",label:e.$t("login.facebook")}),window.location.href="/api/front/user/login/facebook?backUrl=".concat(e.backUrl)}catch(e){console.log(e)}case 1:return t.a(2)}},t)}))()},loginGoogle:function(){var e=this;return Rr(Dr().m(function t(){return Dr().w(function(t){for(;;)switch(t.n){case 0:try{e.loading=!0,e.$track({category:"paywall",action:"button_social",label:e.$t("login.google")}),window.location.href="/api/front/user/login/google?backUrl=".concat(e.backUrl)}catch(e){console.log(e)}case 1:return t.a(2)}},t)}))()},loginUrl:function(){return"/usuari/login?backUrl=".concat(this.backUrl,"&email=").concat(this.mail)}})},Vr=(0,Le.A)($r,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-account-content"},[n("div",{staticClass:"user-account-wrapper"},[e.paywallTitle||!e.steps.STEP_INITIALIZING&&e.title?n("span",{staticClass:"title",domProps:{textContent:e._s(e.paywallTitle||e.title)}}
2):e._e(),e._v(" "),e.paywallSubtitle||e.subtitle?n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.paywallSubtitle||e.subtitle)}}):e._e(),e._v(" "),n("div",{staticClass:"user-account-wrapper__login-btns"},[n("ara-button-round",{staticClass:"social google",attrs:{icon:e.iconGoogle},on:{click:e.loginGoogle}},[n("span",{domProps:{textContent:e._s(e.$t("login.google"))}})]),e._v(" "),n("ara-button-round",{staticClass:"social facebook",attrs:{icon:e.iconFacebook},on:{click:e.loginFacebook}},[n("span",{domProps:{textContent:e._s(e.$t("login.facebook"))}})]),e._v(" "),n("ara-button-round",{staticClass:"social apple",attrs:{icon:e.iconApple},on:{click:e.loginApple}},[n("span",{domProps:{textContent:e._s(e.$t("login.apple"))}})]),e._v(" "),n("div",{staticClass:"separator"},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.or"))}})])],1),e._v(" "),n("validation-observer",{ref:"observer",staticClass:"user-account-form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit,o=t.invalid,i=t.validated;return[n("form",{on:{submit:function(e){e.preventDefault(),e.stopPropagation()}}},[n("ara-text-input-with-validation",{attrs:{type:"email",name:"email",rules:"required|email",label:e.$t("register.email"),"custom-messages":{required:e.$t("customValidation.email.required"),email:e.$t("customValidation.email.invalid")}},model:{value:e.mail,callback:function(t){e.mail=t},expression:"mail"}}),e._v(" "),n("ara-button-new",{staticClass:"user-account-form__submit",attrs:{"full-width":"",disabled:i&&o},on:{click:function(t){return r(e.goLogin)}}},[e._v(e._s(e.$t("login.continue")))])],1)]}}])}),e._v(" "),n("div",{staticClass:"user-account-wrapper__need-help"},[n("a",{attrs:{href:"https://ajuda.ara.cat/gestio-compte/sessio",target:"_blank"}},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.help-for-login"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconOpenIn)}})])]),e._v(" "),n("p",{staticClass:"policy-text",domProps:{innerHTML:e._s(e.$t("register.privacy-text",{url:"https://www.ara.cat/privacitat.html"}))}})],1)])},[],!1,null,null,null).exports;var Hr=n(2263);function qr(e){return qr="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},qr(e)}function Gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gr(Object(n),!0).forEach(function(t){Wr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wr(e,t,n){return(t=function(e){var t=function(e){if("object"!=qr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=qr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kr={mixins:[ee.A,X.A],name:"ara-paywall-login-register",extends:Hr.A,components:{araUserLogin:Ir.default,araLoginApp:Or,araUserLoginPaywall:Vr},props:{siteUrl:{type:String}},computed:zr(zr({},(0,G.L8)(["runningInApp"])),{},{loginUrl:function(){var e=new URL(this.backUrl);return e.origin+e.pathname+encodeURIComponent(e.search)}}),created:function(){this.isFolded=this.folded},mounted:function(){this.$track({category:"paywall",action:"message",label:"regiwall_form"}),document.querySelector(".main-wrapper").classList.add("main-wrapper--paywall-login-register"),document.querySelector("#app > #hot-topics").style.display="none"}},Zr=(0,Le.A)(Kr,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-login-register",class:{"paywall--with-profile":e.hasBottomMargin}},[n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp}},[e.runningInApp?e._e():n("div",{staticClass:"login-register login-register--web"},[n("ara-user-login-paywall",{attrs:{paywallTitle:e.$attrs.title,paywallSubtitle:e.$attrs.subtitle,"back-url":e.loginUrl}})],1),e._v(" "),e.runningInApp?n("div",{staticClass:"login-register login-register--app"},[n("div",{staticClass:"user-account-content"},[n("div",{staticClass:"user-account-wrapper"},[n("span",{staticClass:"title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}}),e._v(" "),n("ara-login-app",{attrs:{"login-text":e.$t("header.login-app")}}
2)],1)])]):e._e()])])},[],!1,null,null,null).exports;var Yr=n(36515),Jr=n(16707);function Qr(e){return Qr="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},Qr(e)}function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach(function(t){to(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function to(e,t,n){return(t=function(e){var t=function(e){if("object"!=Qr(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Qr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var no=["blocking","blocking-community","login-register","regiwall"];const ro={name:"ara-paywall-manager",mixins:[ee.A,X.A],props:{contentId:{type:Number},siteUrl:{type:String,default:""}},components:{blocking:Cr.default,columnCounter:_r.default,columnOffer:Sr.default,columnTrial:kr.default,regiwall:Ar.default,blockingCommunity:Pr.default,loginRegister:Zr,gift:Yr.default,giftExpired:Jr.default},data:function(){return{paywallCanReveal:!1,actionBarObserver:null,actionBarFallbackTimer:null}},computed:{useDelayedReveal:function(){return no.includes(this.messageType)},isPaywallVisible:function(){return this.enabledPaywall&&(!this.useDelayedReveal||this.paywallCanReveal)}},watch:{paywallCanReveal:function(e){e&&this.enabledPaywall&&this.useDelayedReveal&&this.sendPaywallViewEvent()},enabledPaywall:function(e){!e||this.useDelayedReveal&&!this.paywallCanReveal||this.sendPaywallViewEvent()},isPaywallVisible:function(e){document.body.classList.toggle("paywall-shown",e)}},created:function(){window.contentVoucherCookieEvent=new Event("setcontentvouchercookie"),window.addEventListener("setcontentvouchercookie",this.setContentVoucherCookie)},beforeDestroy:function(){this.actionBarObserver&&this.actionBarObserver.disconnect(),clearTimeout(this.actionBarFallbackTimer)},methods:eo(eo({},(0,G.i0)(["setContentId"])),{},{setupActionBarObserver:function(){var e=this,t=function(){e.paywallCanReveal||(e.paywallCanReveal=!0,clearTimeout(e.actionBarFallbackTimer),e.actionBarObserver&&(e.actionBarObserver.disconnect(),e.actionBarObserver=null))};this.actionBarFallbackTimer=setTimeout(t,4e3);var n=document.querySelector(".action-bar");n&&(this.actionBarObserver=new IntersectionObserver(function(e){e[0].isIntersecting&&t()},{rootMargin:"0px 0px -50% 0px",threshold:0}),this.actionBarObserver.observe(n))},sendPaywallViewEvent:function(){this.contentIsVoucherContent(this.contentId)||"blocking"===this.messageType&&"ok"===this.accessGranted||"blocking-community"===this.messageType&&"ok"===this.accessGranted||"regiwall"===this.messageType&&"ok"===this.accessGranted||this.channelAction("paywallView",{type:this.messageType,access:this.accessGranted})},setContentVoucherCookie:function(){var e=new Date;e.setTime(e.getTime()+6e4);var t="expires=".concat(e.toUTCString()),n=window.btoa(this.contentId);console.debug("setContentVoucherCookie",this.contentId),document.cookie="nx-paywall-content-voucher=".concat(n,"; ").concat(t,"; path=/"),window.location.reload()}}),mounted:function(){this.setContentId(this.contentId),this.getContentPaywallData(this.contentId),this.setupActionBarObserver()}},oo=(0,Le.A)(ro,function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.enabledPaywall||e.useDelayedReveal&&!e.paywallCanReveal?e._e():n(this.message.type,e._b({tag:"component",attrs:{"remaining-contents":e.conditionCounter-e.userCounter,"site-url":e.siteUrl}},"component",this.message,!1))},[],!1,null,null,null).exports;var io=n(13670);
2const ao={name:"ara-burger-community",props:{showMenu:{type:Boolean,default:!0},communityMenu:{type:Array}},data:function(){return{isOpen:!1,iconBurger:io.A,iconClose:cn.A,menuwidth:0,menuScrollLeft:0,menuScrollWidth:0,timer:!1,lastX:0,waiting:!1,overlayLeft:!1,overlayRight:!0,breakpoint:""}},computed:{menuIsEmpty:function(){return 0===this.communityMenu.length},icon:function(){return this.isOpen?cn.A:io.A}},created:function(){window.addEventListener("load",this.setValues),window.addEventListener("resize",this.setValues)},destroyed:function(){window.removeEventListener("load",this.setValues),window.removeEventListener("resize",this.setValues)},methods:{toggleMenu:function(){this.isOpen=!this.isOpen},swipeHandler:function(e){if("desktop"===this.breakpoint){var t=this;this.timer&&!this.waiting&&(this.waiting=!0,"mousemove"===e.type&&(this.menuScrollLeft+=this.lastX-parseInt(e.clientX,10),this.lastX=parseInt(e.clientX,10)),"touchmove"===e.type&&(this.menuScrollLeft+=this.lastX-parseInt(e.changedTouches[0].clientX,10),this.lastX=parseInt(e.changedTouches[0].clientX,10)),this.$refs.menu.scrollLeft=this.menuScrollLeft,this.calculateOverlays(),setTimeout(function(){t.waiting=!1},50))}},swipeInit:function(e){"desktop"===this.breakpoint&&(this.timer=!0,"mousedown"===e.type&&(this.lastX=parseInt(e.clientX,10)),"touchstart"===e.type&&(this.lastX=parseInt(e.changedTouches[0].clientX,10)))},swipeEnd:function(){"desktop"===this.breakpoint&&(this.timer=!1)},setValues:function(){this.checkBreakpoint(),this.calculateOverlays()},checkBreakpoint:function(){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;this.breakpoint=e>768?"desktop":"tablet"},calculateOverlays:function(){this.$refs.menu&&("desktop"===this.breakpoint?(this.menuwidth=this.$refs.menu.offsetWidth,this.menuScrollLeft=this.$refs.menu.scrollLeft,this.menuScrollWidth=this.$refs.menu.scrollWidth,this.overlayLeft=0!==this.menuScrollLeft,this.overlayRight=this.menuScrollWidth-this.menuScrollLeft!==this.menuwidth):(this.overlayLeft=!1,this.overlayRight=!1,this.isOpen=!1))}}},so=(0,Le.A)(ao,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"burger-community",class:[{"no-menu":!e.showMenu||e.menuIsEmpty}]},[this.$slots.logo||this.$slots.content?n("div",{staticClass:"burger-community-wrapper"},[e._t("logo"),e._v(" "),e.showMenu?n("div",{staticClass:"ara-icon",class:[{close:e.isOpen}],domProps:{innerHTML:e._s(e.icon)},on:{click:e.toggleMenu}}):e._e()],2):e._e(),e._v(" "),e._t("branded"),e._v(" "),e.showMenu&&!e.menuIsEmpty?n("div",{class:["menu-overlay",{"overlay-left":e.overlayLeft},{"overlay-right":e.overlayRight}]},[n("div",{directives:[{name:"touch",rawName:"v-touch:moving",value:e.swipeHandler,expression:"swipeHandler",arg:"moving"},{name:"touch",rawName:"v-touch:start",value:e.swipeInit,expression:"swipeInit",arg:"start"},{name:"touch",rawName:"v-touch:end",value:e.swipeEnd,expression:"swipeEnd",arg:"end"}],ref:"menu",class:["menu",{open:e.isOpen}],on:{mouseleave:e.swipeEnd}},[n("div",{staticClass:"menu-wrapper"},[e._t("content")],2)])]):e._e()],2)},[],!1,null,null,null).exports,lo='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M16.192 10.817c.033-.267.058-.534.058-.817 0-.283-.025-.55-.058-.817l1.758-1.375a.42.42 0 00.1-.533l-1.667-2.883a.416.416 0 00-.508-.184l-2.075.834a6.088 6.088 0 00-1.408-.817l-.317-2.208a.406.406 0 00-.408-.35H8.333a.406.406 0 00-.408.35l-.317 2.208a6.402 6.402 0 00-1.408.817l-2.075-.834a.472.472 0 00-.15-.025.413.413 0 00-.358.209L1.95 7.275a.41.41 0 00.1.533l1.758 1.375A6.609 6.609 0 003.75 10c0 .275.025.55.058.817L2.05 12.192a.42.42 0 00-.1.533l1.667 2.883a.416.416 0 00.508.184l2.075-.834c.433.334.9.609 1.408.817l.317 2.208c.025.2.2.35.408.35h3.334c.208 0 .383-.15.408-.35l.317-2.208a6.402 6.402 0 001.408-.817l2.075.834c.05.016.1.025.15.025a.413.413 0 00.358-.209l1.667-2.883a.42.42 0 00-.1-.533l-1.758-1.375zm-1.65-1.425c.033.258.041.433.041.608s-.016.358-.041.608l-.117.942.742.583.9.7-.584 1.009-1.058-.425-.867-.35-.75.566a4.88 4.88 0 01-1.041.609l-.884.358-.133.942-.167 1.125H9.417l-.159-1.125-.133-.942-.883-.358a4.728 4.728 0 01-1.025-.592l-.759-.583-.883.358-1.058.425-.584-1.008.9-.7.742-.584-.11
27-.941A6.703 6.703 0 015.417 10c0-.167.016-.358.041-.608l.117-.942-.742-.583-.9-.7.584-1.009 1.058.425.867.35.75-.566a4.88 4.88 0 011.041-.609l.884-.358.133-.942.167-1.125h1.158l.158 1.125.134.942.883.358c.358.15.692.342 1.025.592l.758.583.884-.358 1.058-.425.583 1.008-.891.709-.742.583.117.942zM10 6.667a3.333 3.333 0 100 6.666 3.333 3.333 0 100-6.666zm0 5c-.917 0-1.667-.75-1.667-1.667S9.083 8.333 10 8.333s1.667.75 1.667 1.667-.75 1.667-1.667 1.667z"/>\n</svg>';var co=n(44379),uo=n.n(co);const po={name:"ara-profile-section",directives:{infiniteScroll:uo()},props:{show:{type:Boolean,default:!1},title:{type:String,required:!0},icon:{type:String},buttonright:{type:String},textRight:{type:String},loading:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},infiniteScroll:{type:Boolean,default:!1},infiniteDisabled:{type:Boolean,default:!1}},computed:{disabled:function(){return this.infiniteScroll&&!this.infiniteDisabled},iosApp:function(){return!("iOS"!==this.platform||!this.runningInApp)}},mounted:function(){this.$refs.scrollable.addEventListener("scroll",this.handleScroll,{passive:!0})},beforeDestroy:function(){this.$refs.scrollable.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll:function(e){this.$emit("scroll",e)},onClick:function(e){this.$emit("clickClose",e)},onClickButtonRight:function(e){this.$emit("clickButtonRight",e)},onClickTextRight:function(e){this.$emit("clickTextRight",e)}}},fo=(0,Le.A)(po,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"ara-profile-section-transition"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}
2],staticClass:"ara-profile-section",class:{"ios-app":e.iosApp}},[n("div",{staticClass:"ara-profile-section_head"},[n("div",{staticClass:"ara-profile-section_head-left"},[e.icon?n("ara-button",{staticClass:"ara-profile-section_close",attrs:{text:""},domProps:{innerHTML:e._s(e.icon)},on:{click:e.onClick}}):e._e(),e._v(" "),n("span",{staticClass:"ara-profile-section_title"},[e._v(e._s(e.title))])],1),e._v(" "),e.buttonright?n("div",{staticClass:"ara-profile-section_head-right"},[n("ara-button",{staticClass:"ara-profile-section_button-right",attrs:{loading:e.loading,text:""},domProps:{innerHTML:e._s(e.buttonright)},on:{click:e.onClickButtonRight}})],1):e._e(),e._v(" "),e.textRight?n("div",{staticClass:"ara-profile-section_head-right"},[n("span",{staticClass:"ara-profile-section_button-right",domProps:{textContent:e._s(e.textRight)},on:{click:e.onClickTextRight}})]):e._e()]),e._v(" "),n("div",{ref:"scrollable",staticClass:"ara-profile-section_scroll",class:{expanded:e.expanded}},[n("div",{staticClass:"ara-profile-section_content"},[e._t("default")],2)]),e._v(" "),e.$slots.footer?n("div",{staticClass:"ara-profile-section__bottom"},[e._t("footer")],2):e._e()])])},[],!1,null,null,null).exports,mo={name:"ara-profile-menu-button",props:{iconLeft:{type:String},iconRight:{type:String},locked:{type:Boolean,default:!1},text:{type:String},notifications:{type:[Number,String]},href:{type:String},active:{type:Boolean},primary:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},showNewUntilDate:{type:String,default:""}},data:function(){return{iconLocked:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<rect width="18" height="18" rx="2" fill="#F4F6F8"/>\n<g clip-path="url(#clip0_425_1627)">\n<path d="M12 7H11.5V6C11.5 4.62 10.38 3.5 9 3.5C7.62 3.5 6.5 4.62 6.5 6V7H6C5.45 7 5 7.45 5 8V13C5 13.55 5.45 14 6 14H12C12.55 14 13 13.55 13 13V8C13 7.45 12.55 7 12 7ZM9 11.5C8.45 11.5 8 11.05 8 10.5C8 9.95 8.45 9.5 9 9.5C9.55 9.5 10 9.95 10 10.5C10 11.05 9.55 11.5 9 11.5ZM10.55 7H7.45V6C7.45 5.145 8.145 4.45 9 4.45C9.855 4.45 10.55 5.145 10.55 6V7Z" fill="black"/>\n</g>\n<defs>\n<clipPath id="clip0_425_1627">\n<rect width="12" height="12" fill="white" transform="translate(3 3)"/>\n</clipPath>\n</defs>\n</svg>\n'}},computed:{createComponent:function(){return this.href?"a":"button"},isText:function(){return"string"==typeof this.notifications},showNew:function(){if(!this.showNewUntilDate)return!1;try{return new Date(this.showNewUntilDate).getTime()>(new Date).getTime()}catch(e){return console.log(e),!1}}},methods:{onClick:function(e){this.$emit("click",e)}}},ho=(0,Le.A)(mo,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.createComponent,{tag:"component",class:["ara-profile-menu-button",{active:e.active,primary:e.primary,loading:e.loading}],attrs:{href:e.href},on:{click:e.onClick}},[e.iconLeft?n("span",{staticClass:"ara-profile-menu-button_icon-left",domProps:{innerHTML:e._s(e.iconLeft)}}):e._e(),e._v(" "),e.text?n("span",{staticClass:"ara-profile-menu-button_text"},[n("span",{domProps:{textContent:e._s(e.text)}}),e._v(" "),e.notifications?n("span",{staticClass:"ara-profile-menu-button_notifications",class:{regalBaixa:e.isText},domProps:{textContent:e._s(e.notifications)}}):e._e(),e._v(" "),e.showNew?n("span",{staticClass:"ara-profile-menu-button_text_new",domProps:{textContent:e._s(e.$t("profile.item.new"))}}):e._e()]):e._e(),e._v(" "),e.locked?n("span",{staticClass:"ara-profile-menu-button_icon-locked",domProps:{innerHTML:e._s(e.iconLocked)}}):e._e(),e._v(" "),e.iconRight?n("span",{staticClass:"ara-profile-menu-button_icon-right",domProps:{innerHTML:e._s(e.iconRight)}}):e._e(),e._v(" "),e.loading?[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])]:e._e()],2)},[],!1,null,null,null).exports;n(23293);var go=n(40350),vo=n(18307),bo=n(52064);function yo(e){return yo="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},yo(e)}function wo(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Co(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Co(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Co(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Co(p,"constructor",c),Co(c,"constructor",l),l.displayName="GeneratorFunction",Co(c,o,"GeneratorFunction"),Co(p),Co(p,o,"Generator"),Co(p,r,function(){return this}),Co(p,"toString",function(){return"[object Generator]"}),(wo=function(){return{w:i,m:d}})()}function Co(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Co=function(e,t,n,r){function i(t,n){Co(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Co(e,t,n,r)}function _o(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function So(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){_o(i,r,o,a,s,"next",e)}function s(e){_o(i,r,o,a,s,"throw",e)}a(void 0)})}}function ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ko(Object(n),!0).forEach(function(t){Po(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ko(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Po(e,t,n){return(t=function(e){var t=function(e){if("object"!=yo(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=yo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yo(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xo={ca:1,es:2,en:3,de:4};const Oo={name:"ara-profile-view-bulletin",props:{show:{type:Boolean,default:!1}},data:function(){return{SUBSCRIPTION_NEWSLETTERS_URL:it.$9,iconArrowBack:Et.A,languages:[{id:1,text:this.$t("profile.bulletin.form.language.ca")},{id:2,text:this.$t("profile.bulletin.form.language.es")},{id:3,text:this.$t("profile.bulletin.form.language.en")},{id:4,text:this.$t("profile.bulletin.form.language.de")}]}},components:{araRadioButton:vo.A,araSwitch:bo.A,araProfileSection:fo},computed:Ao(Ao(Ao({},(0,G.L8)(["runningInAppApple"])),(0,G.L8)("user",["currentUser"])),{},{language:function(){return this.currentUser&&xo[this.currentUser.language]||xo.ca},newsletters:function(){return this.currentUser?this.currentUser.newsletters:{}},allNewslettersAreDisabled:function(){return Object.values(this.newsletters).every(function(e){return!1===e})},translations:function(){return{title:this.$t("profile.bulletin.title"),form:{title:this.$t("profile.bulletin.form.title"),language:{title:this.$t("profile.bulletin.form.language.title"),text:this.$t("profile.bulletin.form.language.text")},content:{label:this.$t("profile.bulletin.form.content.title"),text:this.$t("profile.bulletin.form.content.text"),button:this.$t("profile.bulletin.form.content.button")},news:{label:this.$t("profile.bulletin.form.news.title"),text:this.$t("profile.bulletin.form.news.text"),button:this.$t("profile.bulletin.form.news.button")},space:{label:this.$t("profile.bulletin.form.space.label"),text:this.$t("profile.bulletin.form.space.text")},advices:{label:this.$t("profile.bulletin.form.advices.label"),text:this.$t("profile.bulletin.form.advices.text")},all:{label:this.$t("profile.bulletin.form.all.label")}}}}}),methods:Ao(Ao(Ao({}
2,(0,G.i0)("user",["setCurrentUser","setCurrentUserNewsletters"])),(0,G.i0)(["setDarkMode"])),{},{close:function(){this.$emit("close")},setLanguage:W()(function(){var e=So(wo().m(function e(t){var n,r,o;return wo().w(function(e){for(;;)switch(e.n){case 0:return n=Number(t.target.value),r=Object.keys(xo).find(function(e){return xo[e]===n}),e.n=1,go.A.patchUserProfile({language:r});case 1:o=e.v,this.setCurrentUser(o.data.response.user);case 2:return e.a(2)}},e,this)}));return function(t){return e.apply(this,arguments)}}(),500),disableAllNewsletters:function(){var e=Ao({},this.newsletters);Object.keys(e).forEach(function(t){e[t]=!1}),this.setCurrentUserNewsletters(e),this.saveNewsletterPreferences()},setNewsletterPreference:function(e,t){var n=Ao(Ao({},this.newsletters),{},Po({},e,t));this.setCurrentUserNewsletters(n),this.saveNewsletterPreferences()},saveNewsletterPreferences:W()(So(wo().m(function e(){var t;return wo().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,go.A.patchUserProfile({newsletters:this.newsletters});case 1:t=e.v,this.setCurrentUser(Ao(Ao({},t.data.response.user),{},{newsletters:this.newsletters}));case 2:return e.a(2)}},e,this)})),500)})},Io=Oo,Lo=(0,Le.A)(Io,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-bulletin"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-bulletin_content"},[n("p",{staticClass:"ara-profile-view-bulletin_info-title",domProps:{textContent:e._s(e.translations.form.title)}}),e._v(" "),n("div",{staticClass:"ara-profile-view-bulletin_section"},[n("ara-switch",{staticClass:"ara-profile-view-bulletin_text-highlight",attrs:{value:e.newsletters.contents,label:e.translations.form.content.label,block:""},on:{input:function(t){return e.setNewsletterPreference("contents",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-bulletin_text",domProps:{textContent:e._s(e.translations.form.content.text)}}),e._v(" "),n("div",{staticClass:"ara-profile-view-bulletin_section-bottom"},[n("ara-button",{attrs:{text:"",href:e.SUBSCRIPTION_NEWSLETTERS_URL,target:"_blank"},domProps:{innerHTML:e._s(e.translations.form.content.button)}})],1)],1),e._v(" "),n("div",{staticClass:"ara-profile-view-bulletin_section"},[n("ara-switch",{staticClass:"ara-profile-view-bulletin_text-highlight",attrs:{value:e.newsletters.promo,label:e.translations.form.news.label,block:""},on:{input:function(t){return e.setNewsletterPreference("promo",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-bulletin_text",domProps:{textContent:e._s(e.translations.form.news.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-bulletin_section"},[n("ara-switch",{staticClass:"ara-profile-view-bulletin_text-highlight",attrs:{value:e.newsletters.notices,label:e.translations.form.advices.label,block:""},on:{input:function(t){return e.setNewsletterPreference("notices",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-bulletin_text",domProps:{textContent:e._s(e.translations.form.advices.text)}})],1)]),e._v(" "),n("div",{staticClass:"ara-profile-view-bulletin_section-special"},[n("ara-switch",{staticClass:"ara-profile-view-bulletin_text-switch",attrs:{value:e.allNewslettersAreDisabled,disabled:e.allNewslettersAreDisabled,label:e.translations.form.all.label,block:""},on:{input:e.disableAllNewsletters}})],1)])],1)},[],!1,null,null,null).exports;var Eo=n(49891);const jo={name:"ara-textarea-with-validation",components:{ValidationProvider:p.LW,araTextarea:Eo.A},props:{name:{type:String,required:!0},rules:{type:[String,Object],required:!0},customMessages:{type:Object,default:function(){return{}}}}},To=(0,Le.A)(jo,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("validation-provider",{attrs:{mode:"eager",name:e.name,rules:e.rules,"custom-messages":e.customMessages},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[n("ara-textarea",e._g(e._b({attrs:{name:e.name,error:r[0]}},"ara-textarea",e.$attrs,!1),e.$listeners))]}}])})},[],!1,null,null,null).exports,Do={name:"ara-profile-dropdown",components:{araProfileMenuButton:ho},props:{title:{type:String},notifications:{type:[Number,String]},active:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1}},data:function(){return{iconDropdown:jt.A,isActive:!1,height:"0"}},watch:{expanded:function(){this.isActive=this.expanded}},mounted:function(){this.isActive=this.expanded},methods:{toggleExpand:function(){this.isActive=!this.isActive,this.$emit("active",this.isActive)},clearHeight:function(){var e=this;this.$nextTick(function(){e.height="0"})},updateHeight:function(){var e=this;this.$nextTick(function(){e.height="auto"})}}},Mo=(0,Le.A)(Do,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["ara-profile-dropdown",{active:e.isActive}],attrs:{"aria-haspopup":"true","aria-expanded":e.isActive}},[n("ara-profile-menu-button",{staticClass:"ara-profile-dropdown_title",attrs:{text:e.title,notifications:e.notifications,iconRight:e.iconDropdown,active:e.active},on:{click:e.toggleExpand}}),e._v(" "),n("transition",{attrs:{name:"accordion"},on:{"before-enter":e.clearHeight,enter:e.updateHeight,"before-leave":e.updateHeight,leave:e.clearHeight}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"ara-profile-dropdown_content-wrapper",style:{height:e.height}},[n("div",{ref:"content",staticClass:"ara-profile-dropdown_content"},[e._t("default")],2)])])],1)},[],!1,null,null,null).exports,Fo={name:"ara-profile-view-faqs",components:{araProfileDropdown:Mo,araProfileSection:fo},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,sample_faqs:{title:"Sección 1",questions:[{title:"Pregunta 1",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel malesuada erat. Praesent a sem ex."},{title:"Pregunta 2 más larga de dos, tres o las lineas que ocupe la pregunta más o menos extensas",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel malesuada erat. Praesent a sem ex."},{title:"Pregunta 3",content:"Pots compartir Google One amb un mà xim de 5 membres adicionals de la famÃlia sense cap cost afegit (6 en total, tu inclòs). Quan crees un grup familiar nou, pots afegir-hi altres membres o suprimir-ne."},{title:"Pregunta 4 más larga de dos, tres o las lineas que ocupe la pregunta más o menos extensas",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel malesuada erat. Praesent a sem ex."},{title:"Pregunta 5 más larga de dos, tres o las lineas que ocupe la pregunta más",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vel malesuada erat. Praesent a sem ex."}]}}},computed:{translations:function(){return{title:this.$t("profile.faqs.title")}}},methods:{close:function(){this.$emit("close")}}},Ro=(0,Le.A)(Fo,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-faqs"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("h2",{staticClass:"ara-profile-view-faqs_title"},[e._v(e._s(e.sample_faqs.title))]),e._v(" "),e._l(e.sample_faqs.questions,function(t,r){return n("ara-profile-dropdown",{key:r,attrs:{title:t.title}},[n("div",{staticClass:"ara-profile-view-faqs_dropdown-content",domProps:{textContent:e._s(t.content)}})])})],2)],1)},[],!1,null,null,null).exports,Bo={name:"ara-profile-view-contact",components:{ValidationObserver:p.Ce,araTextInputWithValidation:jr.A,araTextareaWithValidation:To,araProfileMenuButton:ho,araProfileSection:fo,araTextarea:Eo.A,araProfileViewFaqs:Ro},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconRight:xe.A,section:{faqs:!1},name:null,message:null,loading:!1}},computed:{translations:function(){return{title:this.$t("profile.contact.title"),content:{title:this.$t("profile.contact.content.title"),text1:this.$t("profile.contact.content.text1"),text2:this.$t("profile.contact.content.text2"),conditions:this.$t("profile.contact.content.conditions")},form:{name:{label:this.$t("profile.contact.label.name"),errormessage:{required:this.$t("customValidation.name.required")}},message:{errormessage:{required:this.$t("customValidation.message.required")}}},button:this.$t("profile.contact.button.send")}}},watch:{show:function(e){e&&this.resetMenu()}},methods:{close:function(){this.$emit("close")},openSection:function(e){this.section[e]=!0},closeSection:function(e){this.section[e]=!1},resetMenu:function(){this.section={faqs:!1}},submitForm:function(){try{this.loading=!0,console.log({name:this.name,message:this.message})}catch(e){console.log(e)}finally{this.loading=!1,console.log("Success send Form")}}}},Uo=(0,Le.A)(Bo,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-contact"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-contact_content"},[n("p",{staticClass:"ara-profile-view-contact_title"},[e._v(e._s(e.translations.content.title))]),e._v(" "),n("p",{staticClass:"ara-profile-view-contact_text"},[e._v(e._s(e.translations.content.text1))]),e._v(" "),n("p",{staticClass:"ara-profile-view-contact_text"},[e._v(e._s(e.translations.content.text2))]),e._v(" "),n("validation-observer",{staticClass:"ara-profile-view-contact_form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit;return[n("form",{on:{submit:function(t){return t.preventDefault(),r(e.submitForm)}}},[n("ara-text-input-with-validation",{staticClass:"ara-profile-view-contact_form-field",attrs:{name:"name",rules:{required:!0},"custom-messages":e.translations.form.name.errormessage,label:e.translations.form.name.label},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),n("ara-textarea-with-validation",{staticClass:"ara-profile-view-contact_form-field",attrs:{name:"message",counter:"",rows:6,counterLimit:100,rules:"required","custom-messages":e.translations.form.message.errormessage},model:{value:e.message,callback:function(t){e.message=t},expression:"message"}}),e._v(" "),n("ara-button",{staticClass:"ara-profile-list-more_button",attrs:{loading:e.loading,fullWidth:""}},[n("span",{staticClass:"button-content"}
2,[e._v(e._s(e.translations.button))])])],1)]}}])}),e._v(" "),n("p",{staticClass:"ara-profile-view-contact_conditions"},[e._v(e._s(e.translations.content.conditions))])],1),e._v(" "),n("ara-profile-menu-button",{attrs:{text:"Preguntes freqüents",iconRight:e.iconRight},on:{click:function(t){return e.openSection("faqs")}}})],1),e._v(" "),n("ara-profile-view-faqs",{attrs:{show:e.section.faqs},on:{close:function(t){return e.closeSection("faqs")}}})],1)},[],!1,null,null,null).exports;var No=n(37110),$o=n(8813),Vo=n(11436),Ho=n(98374);function qo(e){return qo="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},qo(e)}function Go(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return zo(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(zo(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,zo(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,zo(p,"constructor",c),zo(c,"constructor",l),l.displayName="GeneratorFunction",zo(c,o,"GeneratorFunction"),zo(p),zo(p,o,"Generator"),zo(p,r,function(){return this}),zo(p,"toString",function(){return"[object Generator]"}),(Go=function(){return{w:i,m:d}})()}function zo(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}zo=function(e,t,n,r){function i(t,n){zo(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},zo(e,t,n,r)}function Wo(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Ko(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Wo(i,r,o,a,s,"next",e)}function s(e){Wo(i,r,o,a,s,"throw",e)}a(void 0)})}}function Zo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zo(Object(n),!0).forEach(function(t){Jo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jo(e,t,n){return(t=function(e){var t=function(e){if("object"!=qo(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=qo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qo(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qo={name:"ara-profile-view-data",components:{ValidationObserver:p.Ce,araDateInput:$o.A,araSelectInput:Vo.A,araTextInputWithValidation:jr.A,araProfileSection:fo,araModalWindow:Ho.A,araButtonNew:lt.A},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,name:null,surname:null,gender:null,date:null,phoneNumber:null,regex:/^[0-9]{6,12}$/,email:null,loading:!1,PROFILE_EDIT_MODE_ALL:No.rc,PROFILE_EDIT_MODE_EMAIL_AND_PASSWORD:No.MU,PROFILE_EDIT_MODE_ALL_BUT_NAME_SURNAME:No.X5,showDeleteAccountModal:!1,showDeleteAccountSubscriberModal:!1}},computed:Yo(Yo(Yo({},(0,G.L8)(["runningInApp"])),(0,G.L8)("user",["currentUser","currentUserProfileEditMode"])),{},{disabledName:function(){return this.currentUserProfileEditMode!==No.rc},disabledSurname:function(){return this.currentUserProfileEditMode!==No.rc},disabledGender:function(){return this.currentUserProfileEditMode===No.MU},disabledDate:function(){return this.currentUserProfileEditMode===No.MU},disabledPhoneNumber:function(){return this.currentUserProfileEditMode===No.MU},translations:function(){return{title:this.$t("profile.data.title"),content:{title:this.$t("profile.data.content.title")},form:{name:{label:this.$t("profile.data.form.name.label"),errormessage:{required:this.$t("customValidation.name.required"),regex:this.$t("customValidation.name.regex"),max:this.$t("customValidation.name.max")}},surname:{label:this.$t("profile.data.form.surname.label"),errormessage:{required:this.$t("customValidation.surname.required"),regex:this.$t("customValidation.surname.regex"),max:this.$t("customValidation.surname.max")}},gender:{label:this.$t("profile.data.form.gender.label"),items:[{name:this.$t("profile.data.form.gender.male"),value:"h"},{name:this.$t("profile.data.form.gender.female"),value:"m"}]},date:{label:this.$t("profile.data.form.date.label")},phoneNumber:{label:this.$t("fields.phoneNumber"),errormessage:{phoneNumber:this.$t("customValidation.phoneNumber.invalid")}},email:{label:this.$t("profile.data.form.email.label"),errormessage:{email:this.$t("customValidation.email.invalid"),required:this.$t("customValidation.email.required")}}},button:{save:this.$t("profile.button.save"),send:this.$t("profile.button.send")}}}}),methods:Yo(Yo(Yo({},(0,G.i0)("user",["loadUserSession","setCurrentUser"])),(0,G.i0)(["showSnackbar"])),{},{deleteUserFromCms:function(){var e=this;return Ko(Go().m(function t(){var n;return Go().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,e.loading=!0,e.toggleDeleteAccountModal(),t.n=1,go.A.deleteUserAccount({userId:e.currentUser.id,confirm:!0});case 1:e.setCurrentUser({}),t.n=3;break;case 2:t.p=2,n=t.v,e.showSnackbar({contentText:e.$t("snackbar.error-message"),button:!0,error:!0}),console.log(n);case 3:return t.p=3,e.loading=!1,t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}))()},deleteAccount:function(){this.currentUser.subscriber?this.toggleDeleteAccountSubscriberModal():this.toggleDeleteAccountModal()},toggleDeleteAccountModal:function(){this.showDeleteAccountModal=!this.showDeleteAccountModal},toggleDeleteAccountSubscriberModal:function(){this.showDeleteAccountSubscriberModal=!this.showDeleteAccountSubscriberModal},close:function(){this.$emit("close")},save:function(){this.$refs.form.handleSubmit(this.submitForm)},submitForm:function(){var e=this;return Ko(Go().m(function t(){var n,r,o;return Go().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,n={name:e.name,surname:e.surname,gender:e.gender,birthDate:e.date?ne()(e.date).format("YYYY-MM-DD"):null,phoneNumber:e.phoneNumber,email:e.email},e.loading=!0,t.n=1,go.A.patchUserProfile(n);case 1:r=t.v,e.setCurrentUser(r.data.response.user),e.showSnackbar({contentText:e.$t("snackbar.success-update-message"),button:!0}),console.log("Success send Form"),e.$refs.form.reset(),t.n=3;break;
2case 2:t.p=2,o=t.v,e.showSnackbar({contentText:e.$t("snackbar.error-message"),button:!0,error:!0}),console.log(o);case 3:return t.p=3,e.loading=!1,t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}))()},buttonSend:function(){this.$refs.form.handleSubmit(this.submitForm)},formModified:function(){var e=this;if(!this.currentUser)return!1;var t=!1;return Object.keys(this.currentUser).forEach(function(n){e[n]!==e.currentUser[n]&&(t=!0)}),t}}),watch:{show:function(){this.name=this.currentUser.name,this.surname=this.currentUser.surname,this.gender=this.currentUser.gender,this.date=this.currentUser.birthdate,this.phoneNumber=this.currentUser.phoneNumber,this.email=this.currentUser.email}}},Xo=(0,Le.A)(Qo,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-data"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,loading:e.loading,show:e.show},on:{clickClose:e.close},scopedSlots:e._u([e.currentUserProfileEditMode!==e.PROFILE_EDIT_MODE_EMAIL_AND_PASSWORD?{key:"footer",fn:function(){return[n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:e.buttonSend}},[e._v(e._s(e.translations.button.send))])]},proxy:!0}:null],null,!0)},[n("div",{staticClass:"ara-profile-view-data_content"},[n("span",{staticClass:"ara-profile-view-data_title"},[e._v(e._s(e.translations.content.title))]),e._v(" "),n("span",{staticClass:"ara-profile-view-data_subtitle"},[e._v(e._s(e.$t("profile.data.content.subtitle")))]),e._v(" "),n("validation-observer",{ref:"form",staticClass:"user-account-form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit;return[n("form",{on:{submit:function(t){return t.preventDefault(),r(e.submitForm)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:r(e.submitForm)}}},[n("ara-text-input-with-validation",{staticClass:"ara-profile-view-data_form-field",attrs:{name:"name",disabled:e.disabledName,"custom-messages":e.translations.form.name.errormessage,label:e.translations.form.name.label,rules:{required:!0,max:80,regex:/^[0-9\sA-Za-zçÃñÃáà éèÃóòúÃÃÃÃÃÃÃÃäëïöüÃÃÃÃúª·â,&_/()'\-.]+$/}},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),n("ara-text-input-with-validation",{staticClass:"ara-profile-view-data_form-field",attrs:{name:"surname",disabled:e.disabledSurname,"custom-messages":e.translations.form.surname.errormessage,label:e.translations.form.surname.label,rules:{required:!0,max:80,regex:/^[0-9\sA-Za-zçÃñÃáà éèÃóòúÃÃÃÃÃÃÃÃäëïöüÃÃÃÃúª·â,&_/()'\-.]+$/}},model:{value:e.surname,callback:function(t){e.surname=t},expression:"surname"}}),e._v(" "),n("ara-select-input",{attrs:{name:"gender",disabled:e.disabledGender,items:e.translations.form.gender.items,label:e.translations.form.gender.label},model:{value:e.gender,callback:function(t){e.gender=t},expression:"gender"}}),e._v(" "),n("ara-date-input",{staticClass:"ara-profile-view-data_form-field",attrs:{name:"birthday",disabled:e.disabledDate,label:e.translations.form.date.label},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}}),e._v(" "),n("ara-text-input-with-validation",{staticClass:"ara-profile-view-data_form-field",attrs:{name:"phoneNumber",disabled:e.disabledPhoneNumber,rules:{required:!0,regex:e.regex},"custom-messages":e.translations.form.phoneNumber.errormessage,label:e.translations.form.phoneNumber.label},model:{value:e.phoneNumber,callback:function(t){e.phoneNumber=t},expression:"phoneNumber"}}),e._v(" "),n("ara-text-input-with-validation",{staticClass:"ara-profile-view-data_form-field",attrs:{name:"email",disabled:"",rules:"email","custom-messages":e.translations.form.email.errormessage,label:e.translations.form.email.label},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),e._v(" "),n("p",{staticClass:"ara-profile-view-user-edit_text ara-profile-view-user-edit_text--final"},[n("button",{staticClass:"ara-profile-view-user-edit_button",on:{click:function(t){return t.preventDefault(),e.deleteAccount(t)}}}
2,[e._v(e._s(e.$t("profile.deleteAccount.title")))])])],1)]}}])})],1)]),e._v(" "),n("ara-modal-window",{attrs:{classes:"ara-modal-delete-account",value:e.showDeleteAccountModal,persistent:""},on:{input:e.toggleDeleteAccountModal},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("profile.deleteAccount.title")))]},proxy:!0},{key:"text",fn:function(){return[n("div",{domProps:{innerHTML:e._s(e.$t("profile.deleteAccount.registeredText"))}})]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button-new",{attrs:{secondary:"",outlined:""},on:{click:function(t){return t.stopPropagation(),e.toggleDeleteAccountModal(t)}}},[e._v(e._s(e.$t("profile.deleteAccount.goBack")))]),e._v(" "),n("ara-button-new",{on:{click:function(t){return t.stopPropagation(),e.deleteUserFromCms(t)}}},[e._v(e._s(e.$t("profile.deleteAccount.deleteAccount")))])]},proxy:!0}])}),e._v(" "),n("ara-modal-window",{attrs:{value:e.showDeleteAccountSubscriberModal,persistent:""},on:{input:e.toggleDeleteAccountSubscriberModal},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("profile.deleteAccount.title")))]},proxy:!0},{key:"text",fn:function(){return[e._v(e._s(e.$t("profile.deleteAccount.subscriberText")))]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button-new",{attrs:{secondary:"",outlined:""},on:{click:function(t){return t.stopPropagation(),e.toggleDeleteAccountSubscriberModal(t)}}},[e._v(e._s(e.$t("profile.deleteAccount.goBack")))])]},proxy:!0}])})],1)},[],!1,null,null,null).exports,ei={name:"ara-profile-view-downloads",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,downloads_size:"9999,99"}},components:{araProfileSection:fo},computed:{translations:function(){return{title:this.$t("profile.downloads.title"),content:{title:this.$t("profile.downloads.content.title"),text:this.$t("profile.downloads.content.text"),button:this.$t("profile.downloads.content.button")}}}},methods:{close:function(){this.$emit("close")},onClickSample:function(e){console.log(e)}}},ti=(0,Le.A)(ei,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-downloads"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-downloads_content"},[n("p",{staticClass:"ara-profile-view-downloads_title-wrapper"},[n("span",{staticClass:"ara-profile-view-downloads_title"},[e._v(e._s(e.translations.content.title))]),e._v(" "),n("span",{staticClass:"ara-profile-view-downloads_size"},[e._v(e._s(e.downloads_size)+"MB")])]),e._v(" "),n("p",{staticClass:"ara-profile-view-downloads_text"},[e._v(e._s(e.translations.content.text))]),e._v(" "),n("div",{staticClass:"ara-profile-view-downloads_right"},[n("ara-button",{attrs:{text:""},domProps:{textContent:e._s(e.translations.content.button)},on:{click:function(t){return e.onClickSample(e.translations.content.button)}}})],1)])])],1)},[],!1,null,null,null).exports;function ni(e){return ni="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},ni(e)}function ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ri(Object(n),!0).forEach(function(t){ii(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ri(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ii(e,t,n){return(t=function(e){var t=function(e){if("object"!=ni(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ni(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return si(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(si(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,si(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,si(p,"constructor",c),si(c,"constructor",l),l.displayName="GeneratorFunction",si(c,o,"GeneratorFunction"),si(p),si(p,o,"Generator"),si(p,r,function(){return this}),si(p,"toString",function(){return"[object Generator]"}),(ai=function(){return{w:i,m:d}})()}function si(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}si=function(e,t,n,r){function i(t,n){si(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},si(e,t,n,r)}function li(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function ci(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){li(i,r,o,a,s,"next",e)}function s(e){li(i,r,o,a,s,"throw",e)}a(void 0)})}}const ui={name:"ara-profile-view-edition",mixins:[X.A],props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,editions:[]}},components:{araProfileSection:fo},watch:{show:function(e){var t=this;return ci(ai().m(function n(){var r,o;return ai().w(function(n){for(;;)switch(n.p=n.n){case 0:if(!e||t.editions.length){n.n=4;break}return n.p=1,n.n=2,R.S.get("/api/app/editions");case 2:r=n.v,t.editions=r.editions||[],n.n=4;break;case 3:n.p=3,o=n.v,console.error(o);case 4:return n.a(2)}},n,null,[[1,3]])}))()}},methods:oi(oi(oi({},(0,G.i0)("user",["logout"])),(0,G.aH)("user",["jwtToken"])),{},{close:function(){this.$emit("close")},changeEdition:function(e){var t=this;return ci(ai().m(function n(){return ai().w(function(n){for(;;)switch(n.n){case 0:if(null!==t.jwtToken){n.n=1;break}return n.n=1,t.logout();case 1:t.$nextTick(function(){var n="changeEdition";t.channelAction(n,e,function(){return console.debug({action:n,payload:e})})});case 2:return n.a(2)}},n)}))()}})},pi=(0,Le.A)(ui,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-edition"},[n("ara-profile-section",{attrs:{title:e.$t("profile.edition.title"),icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-edition_content"},[e.editions.length?n("ul",e._l(e.editions,function(t,r){return n("li",{key:r,on:{click:function(n){return e.changeEdition(t)}}},[e._v("\n "+e._s(t.title)+"\n ")])}),0):n("span",{domProps:{innerHTML:e._s(e.$t("profile.edition.empty"))}})])])],1)},[],!1,null,null,null).exports,di='<svg viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <path d="M8.125,9.792 L9.875,9.792 L9.875,4.854 L8.125,4.854 L8.125,9.792 Z M9,13.188 C9.236,13.188 9.441,13.108 9.615,12.948 C9.78833333,12.788 9.875,12.576 9.875,12.312 C9.875,12.076 9.78833333,11.8713333 9.615,11.698 C9.441,11.5246667 9.236,11.438 9,11.438 C8.764,11.438 8.559,11.5246667 8.385,11.698 C8.21166667,11.8713333 8.125,12.076 8.125,12.312 C8.125,12.576 8.21166667,12.788 8.385,12.948 C8.559,13.108 8.764,13.188 9,13.188 Z M9,17.333 C7.84733333,17.333 6.764,17.1143333 5.75,16.677 C4.736,16.2396667 3.854,15.646 3.104,14.896 C2.354,14.146 1.76033333,13.264 1.323,12.25 C0.885666667,11.236 0.667,10.1526667 0.667,9 C0.667,7.84733333 0.885666667,6.764 1.323,5.75 C1.76033333,4.736 2.354,3.854 3.104,3.104 C3.854,2.354 4.736,1.76033333 5.75,1.323 C6.764,0.885666667 7.84733333,0.667 9,0.667 C10.1526667,0.667 11.236,0.885666667 12.25,1.323 C13.264,1.76033333 14.146,2.354 14.896,3.104 C15.646,3.854 16.2396667,4.736 16.677,5.75 C17.1143333,6.764 17.333,7.84733333 17.333,9 C17.333,10.1526667 17.1143333,11.236 16.677,12.25 C16.2396667,13.264 15.646,14.146 14.896,14.896 C14.146,15.646 13.264,16.2396667 12.25,16.677 C11.236,17.1143333 10.1526667,17.333 9,17.333 Z M9,15.583 C10.8193333,15.583 12.3713333,14.9406667 13.656,13.656 C14.9406667,12.3713333 15.583,10.8193333 15.583,9 C15.583,7.18066667 14.9406667,5.62866667 13.656,4.344 C12.3713333,3.05933333 10.8193333,2.417 9,2.417 C7.18066667,2.417 5.62866667,3.05933333 4.344,4.344 C3.05933333,5.62866667 2.417,7.18066667 2.417,9 C2.417,10.8193333 3.05933333,12.3713333 4.344,13.656 C5.62866667,14.9406667 7.18066667,15.583 9,15.583 Z" id="Shape"></path>\n</svg>';function fi(e){return fi="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},fi(e)}function mi(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return hi(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(hi(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,hi(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,hi(p,"constructor",c),hi(c,"constructor",l),l.displayName="GeneratorFunction",hi(c,o,"GeneratorFunction"),hi(p),hi(p,o,"Generator"),hi(p,r,function(){return this}),hi(p,"toString",function(){return"[object Generator]"}),(mi=function(){return{w:i,m:d}})()}function hi(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}hi=function(e,t,n,r){function i(t,n){hi(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},hi(e,t,n,r)}function gi(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function vi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){gi(i,r,o,a,s,"next",e)}function s(e){gi(i,r,o,a,s,"throw",e)}a(void 0)})}}function bi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bi(Object(n),!0).forEach(function(t){wi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wi(e,t,n){return(t=function(e){var t=function(e){if("object"!=fi(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fi(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ci={name:"ara-profile-view-notifications-config",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconInfo:di}},mixins:[X.A],components:{araSwitch:bo.A,araProfileSection:fo},computed:yi(yi(yi({},(0,G.L8)(["runningInApp","env"])),(0,G.L8)("user",["currentUser","notificationsEnabled"])),{},{notifications:function(){return this.currentUser?this.currentUser.notifications:{}},allNotificationsAreDisabled:function(){return Object.values(this.notifications).every(function(e){return!1===e})},translations:function(){return{title:this.$t("profile.notifications_config.title"),form:{title:this.$t("profile.notifications_config.form.title"),current:{label:this.$t("profile.notifications_config.form.current.label"),text:this.$t("profile.notifications_config.form.current.text")},topics:{label:this.$t("profile.notifications_config.form.topics.label"),text:this.$t("profile.notifications_config.form.topics.text")},authors:{label:this.$t("profile.notifications_config.form.authors.label"),text:this.$t("profile.notifications_config.form.authors.text")},columns:{label:this.$t("profile.notifications_config.form.columns.label"),text:this.$t("profile.notifications_config.form.columns.text")},comments:{label:this.$t("profile.notifications_config.form.comments.label"),text:this.$t("profile.notifications_config.form.comments.text")},mentions:{label:this.$t("profile.notifications_config.form.mentions.label"),text:this.$t("profile.notifications_config.form.mentions.text")},readers:{label:this.$t("profile.notifications_config.form.readers.label"),text:this.$t("profile.notifications_config.form.readers.text")},all:{label:this.$t("profile.notifications_config.form.all.label")}}}}}),methods:yi(yi({}
2,(0,G.i0)("user",["setCurrentUser","setCurrentUserNotifications"])),{},{activateNotifications:function(){console.debug("âï¸ Enabling notifications from webview"),this.channelAction("setNotificationsStatus",{enabled:!0})},disableAllNotifications:function(){var e=yi({},this.notifications);Object.keys(e).forEach(function(t){e[t]=!1}),this.setCurrentUserNotifications(e),this.saveNotificationPreferences()},setNotificationPreference:function(e,t){var n=yi(yi({},this.notifications),{},wi({},e,t));this.setCurrentUserNotifications(n),this.saveNotificationPreferences()},saveNotificationPreferences:W()(vi(mi().m(function e(){var t;return mi().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,go.A.patchUserProfile({notifications:this.notifications});case 1:t=e.v,this.setCurrentUser(yi(yi({},t.data.response.user),{},{notifications:this.notifications}));case 2:return e.a(2)}},e,this)})),500),close:function(){this.$emit("close")},askAppForNotificationsEnabled:function(){console.debug("ð± Asking app if notifications are enabled âï¸"),this.channelAction("fetchNotificationsStatus")}}),mounted:function(){this.runningInApp&&this.askAppForNotificationsEnabled()}},_i=(0,Le.A)(Ci,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-notifications-config"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-notifications-config_content"},[e.runningInApp&&!e.notificationsEnabled?n("div",{staticClass:"ara-profile-view-notifications-config_section-special notifications-warning"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconInfo)}}),e._v(" "),n("p",[e._v("\n No tens activades les notificacions en aquest dispositiu.\n "),n("span",{staticClass:"activate-link",on:{click:e.activateNotifications}},[e._v("Tornar-les a activar.")])])]):e._e(),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_info-title",domProps:{textContent:e._s(e.translations.form.title)}}),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.manual,label:e.translations.form.current.label,block:""},on:{input:function(t){return e.setNotificationPreference("manual",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.current.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.topics,label:e.translations.form.topics.label,block:""},on:{input:function(t){return e.setNotificationPreference("topics",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.topics.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.authors,label:e.translations.form.authors.label,block:""},on:{input:function(t){return e.setNotificationPreference("authors",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.authors.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.columns,label:e.translations.form.columns.label,block:""},on:{input:function(t){return e.setNotificationPreference("columns",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.columns.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.contentComments,label:e.translations.form.comments.label,block:""},on:{input:function(t){return e.setNotificationPreference("contentComments",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.comments.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.userInteraction,label:e.translations.form.mentions.label,block:""},on:{input:function(t){return e.setNotificationPreference("userInteraction",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.mentions.text)}})],1),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-highlight",attrs:{value:e.notifications.userFollow,label:e.translations.form.readers.label,block:""},on:{input:function(t){return e.setNotificationPreference("userFollow",t)}}}),e._v(" "),n("p",{staticClass:"ara-profile-view-notifications-config_text",domProps:{textContent:e._s(e.translations.form.readers.text)}})],1)]),e._v(" "),n("div",{staticClass:"ara-profile-view-notifications-config_section-special"},[n("ara-switch",{staticClass:"ara-profile-view-notifications-config_text-switch",attrs:{value:e.allNotificationsAreDisabled,disabled:e.allNotificationsAreDisabled,label:e.translations.form.all.label,block:""},on:{input:e.disableAllNotifications}})],1)])],1)},[],!1,null,null,null).exports;function Si(e){return Si="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},Si(e)}function ki(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Ai(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ai(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ai(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Ai(p,"constructor",c),Ai(c,"constructor",l),l.displayName="GeneratorFunction",Ai(c,o,"GeneratorFunction"),Ai(p),Ai(p,o,"Generator"),Ai(p,r,function(){return this}),Ai(p,"toString",function(){return"[object Generator]"}),(ki=function(){return{w:i,m:d}})()}function Ai(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ai=function(e,t,n,r){function i(t,n){Ai(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Ai(e,t,n,r)}function Pi(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Oi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(n),!0).forEach(function(t){Ii(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ii(e,t,n){return(t=function(e){var t=function(e){if("object"!=Si(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Si(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Si(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Li={name:"ara-profile-view-password",components:{ValidationObserver:p.Ce,araTextInputWithValidation:jr.A,araProfileSection:fo,araButtonNew:lt.A},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,old_password:null,new_password:null,confirm_password:null,loading:!1}},computed:Oi(Oi({},(0,G.L8)(["runningInApp"])),{},{recoverPasswordUrl:function(){return"/usuari/recover-password?backUrl=".concat(window.location.href)},translations:function(){return{title:this.$t("profile.password.title"),content:{title:this.$t("profile.password.content.title")},form:{old_password:{label:this.$t("profile.password.form.old_password.label"),errormessage:{required:this.$t("customValidation.name.required")},remember:this.$t("profile.password.form.old_password.remember")},new_password:{label:this.$t("fields.new-password"),errormessage:{required:this.$t("customValidation.name.required"),password:this.$t("validation.min"),confirmed:this.$t("customValidation.password.confirmed")},hint:this.$t("profile.password.form.new_password.hint")},confirm_password:{label:this.$t("fields.confirm-password"),errormessage:{required:this.$t("customValidation.password.confirmed")}}},button:{save:this.$t("profile.button.save"),send:this.$t("profile.button.send")}}}}),methods:Oi(Oi({},(0,G.i0)(["showSnackbar"])),{},{close:function(){this.$emit("close")},save:function(){console.log("save")},submitForm:function(){var e,t=this;return(e=ki().m(function e(){var n,r,o;return ki().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,n={old_password:t.old_password,new_password:t.new_password,confirm_password:t.confirm_password},t.loading=!0,e.n=1,go.A.newPassword(n);case 1:t.old_password=null,t.new_password=null,t.confirm_password=null,t.$refs.form.reset(),t.showSnackbar({contentText:t.$t("snackbar.success-update-message"),button:!0}),console.log("Success send Form"),e.n=3;break;case 2:e.p=2,o=e.v,(r={}).old_password=[t.$t("customValidation.old_password.INVALID_FIELD")],t.$refs.form.setErrors(r),t.showSnackbar({contentText:t.$t("snackbar.error-password-message"),button:!0,error:!0}),console.log(o);case 3:return e.p=3,t.loading=!1,e.f(3);case 4:return e.a(2)}},e,null,[[0,2,3,4]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Pi(i,r,o,a,s,"next",e)}function s(e){Pi(i,r,o,a,s,"throw",e)}a(void 0)})})()},buttonSend:function(){this.$refs.form.handleSubmit(this.submitForm)},formModified:function(){return!1}})},Ei=Li,ji=(0,Le.A)(Ei,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-password"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,loading:e.loading,show:e.show},on:{clickClose:e.close},scopedSlots:e._u([{key:"footer",fn:function(){return[n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:e.buttonSend}},[e._v(e._s(e.translations.button.send))])]},proxy:!0}])},[n("div",{staticClass:"ara-profile-view-password_content"},[n("span",{staticClass:"ara-profile-view-password_title"},[e._v(e._s(e.translations.content.title))]),e._v(" "),n("validation-observer",{ref:"form",staticClass:"user-account-form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit;return[n("form",{on:{submit:function(t){return t.preventDefault(),r(e.submitForm)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:r(e.submitForm)}}},[n("ara-text-input-with-validation",{staticClass:"ara-profile-view-password_form-field",attrs:{name:"old_password",type:"password",rules:"required","custom-messages":e.translations.form.old_password.errormessage,label:e.translations.form.old_password.label},model:{value:e.old_password,callback:function(t){e.old_password=t},expression:"old_password"}}),e._v(" "),n("a",{staticClass:"ara-profile-view-password_link-remember",attrs:{href:e.recoverPasswordUrl},domProps:{textContent:e._s(e.translations.form.old_password.remember)}}),e._v(" "),n("ara-text-input-with-validation",{staticClass:"ara-profile-view-password_form-field",attrs:{name:"new_password",type:"password",rules:"required|min:8|confirmed:confirm-password","custom-messages":e.translations.form.new_password.errormessage,helperText:e.translations.form.new_password.hint,label:e.translations.form.new_password.label},model:{value:e.new_password,callback:function(t){e.new_password=t},expression:"new_password"}}),e._v(" "),n("ara-text-input-with-validation",{staticClass:"ara-profile-view-password_form-field",attrs:{name:"confirm-password",type:"password",rules:"required","custom-messages":e.translations.form.confirm_password.errormessage,label:e.translations.form.confirm_password.label},model:{value:e.confirm_password,callback:function(t){e.confirm_password=t},expression:"confirm_password"}})],1)]}}])})],1)])],1)},[],!1,null,null,null).exports;function Ti(e){return Ti="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},Ti(e)}function Di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Di(Object(n),!0).forEach(function(t){Fi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Di(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fi(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ti(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ti(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ti(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ri={name:"ara-profile-view-subscription",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A}},components:{araProfileSection:fo},computed:Mi(Mi(Mi({},(0,G.L8)(["darkMode","runningInApp"])),(0,G.L8)("user",["subscriptionProfileURL","userToken"])),{},{getParams:function(){var e="?from=aside";switch(window.app.site.alias){case"ara":e+="&site=GE";break;case"balears":e+="&site=BA";break;case"en":case"en-balears":e+="&site=GN";break;case"es":case"es-balears":e+="&site=GS";break;case"de-balears":e+="&site=BD";break;default:e+=""}return this.darkMode&&(e+="&darkMode=true"),this.runningInApp&&this.userToken&&(e+="&token=".concat(this.userToken)),e},iframeUrl:function(){return"".concat(this.subscriptionProfileURL).concat(this.getParams)}}),methods:{close:function(){this.$emit("close")}}},Bi=(0,Le.A)(Ri,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-subscription"},[n("ara-profile-section",{attrs:{show:e.show,title:e.$t("profile.configuration.account.subscription"),icon:e.iconArrowBack},on:{clickClose:e.close}},[e.show?n("iframe",{attrs:{src:e.iframeUrl}}):e._e()])],1)},[],!1,null,null,null).exports;function Ui(e){return Ui="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},Ui(e)}function Ni(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return $i(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):($i(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,$i(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,$i(p,"constructor",c),$i(c,"constructor",l),l.displayName="GeneratorFunction",$i(c,o,"GeneratorFunction"),$i(p),$i(p,o,"Generator"),$i(p,r,function(){return this}),$i(p,"toString",function(){return"[object Generator]"}),(Ni=function(){return{w:i,m:d}})()}function $i(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}$i=function(e,t,n,r){function i(t,n){$i(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},$i(e,t,n,r)}function Vi(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Hi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Hi(Object(n),!0).forEach(function(t){Gi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Gi(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ui(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ui(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ui(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zi={name:"ara-profile-view-visualization",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,themes:[{id:1,name:No.fS,text:this.$t("profile.darkmode.form.mode.dark")},{id:2,name:No.Vw,text:this.$t("profile.darkmode.form.mode.light")},{id:3,name:No.Qm,text:this.$t("profile.darkmode.form.mode.device"),hint:this.$t("profile.darkmode.form.text")}]}},components:{araProfileSection:fo,araRadioButton:vo.A},computed:qi(qi(qi({},(0,G.L8)("user",["currentUser","userTheme"])),(0,G.L8)(["runningInApp"])),{},{darkmodeSelected:function(){var e=this.getThemeIdByName(No.Qm);return this.currentUser&&this.getThemeIdByName(this.userTheme)||e},translations:function(){return{title:this.$t("profile.darkmode.title"),form:{mode:{dark:this.$t("profile.darkmode.form.mode.dark"),light:this.$t("profile.darkmode.form.mode.light"),device:this.$t("profile.darkmode.form.mode.device")},text:this.$t("profile.darkmode.form.text")}}}}),methods:qi(qi({},(0,G.i0)("user",["setCurrentUser"])),{},{close:function(){this.$emit("close")},getThemeIdByName:function(e){var t;return null===(t=this.themes.find(function(t){return t.name===e}))||void 0===t?void 0:t.id},getThemeNameById:function(e){var t;return null===(t=this.themes.find(function(t){return t.id===e}))||void 0===t?void 0:t.name},changeDarkmode:function(e){var t,n=this;return(t=Ni().m(function t(){var r,o,i;return Ni().w(function(t){for(;;)switch(t.n){case 0:return r=Number(e.target.value),o=n.getThemeNameById(r),t.n=1,go.A.patchUserProfile({theme:o});case 1:i=t.v,localStorage&&localStorage.setItem("theme",o),n.setCurrentUser(i.data.response.user),n.runningInApp&&n.channelAction("requestToken");case 2:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){Vi(i,r,o,a,s,"next",e)}function s(e){Vi(i,r,o,a,s,"throw",e)}a(void 0)})})()}})},Wi=zi,Ki=(0,Le.A)(Wi,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-visualization_content"},[n("div",{staticClass:"ara-profile-view-visualization_section"},[n("ara-radio-button",{attrs:{selected:e.darkmodeSelected,options:e.themes},on:{onChange:e.changeDarkmode}})],1)])])},[],!1,null,null,null).exports;function Zi(e){return Zi="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},Zi(e)}function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ji(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yi(Object(n),!0).forEach(function(t){Qi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qi(e,t,n){return(t=function(e){var t=function(e){if("object"!=Zi(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Zi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zi(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xi={name:"ara-profile-view-configuration",mixins:[X.A],components:{araProfileList:st,araProfileMenuButton:ho,araProfileSection:fo,araProfileViewBulletin:Lo,araProfileViewContact:Uo,araProfileViewData:Xo,araProfileViewDownloads:ti,araProfileViewEdition:pi,araProfileViewFaqs:Ro,araProfileViewNotificationsConfig:_i,araProfileViewPassword:ji,araProfileViewSubscription:Bi,araProfileViewVisualization:Ki},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconRight:xe.A,iconSettings:lo,iconData:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_3377)">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M12.4998 5.83332H16.6665C17.5832 5.83332 18.3332 6.58332 18.3332 7.49999V16.6667C18.3332 17.5833 17.5832 18.3333 16.6665 18.3333H3.33317C2.4165 18.3333 1.666
25 17.5833 1.6665 16.6667V7.49999C1.6665 6.58332 2.4165 5.83332 3.33317 5.83332H7.49984V3.33332C7.49984 2.41666 8.24984 1.66666 9.1665 1.66666H10.8332C11.7498 1.66666 12.4998 2.41666 12.4998 3.33332V5.83332ZM9.1665 3.33332V5.83332V7.49999H10.8332V5.83332V3.33332H9.1665ZM3.33317 7.49999V16.6667H16.6665V7.49999H12.4998C12.4998 8.41666 11.7498 9.16666 10.8332 9.16666H9.1665C8.24984 9.16666 7.49984 8.41666 7.49984 7.49999H3.33317ZM14.9998 9.99999H11.6665V11.25H14.9998V9.99999ZM14.9998 12.5H11.6665V13.75H14.9998V12.5ZM7.49984 12.5C8.19019 12.5 8.74984 11.9403 8.74984 11.25C8.74984 10.5596 8.19019 9.99999 7.49984 9.99999C6.80948 9.99999 6.24984 10.5596 6.24984 11.25C6.24984 11.9403 6.80948 12.5 7.49984 12.5ZM7.49984 13.125C8.1165 13.125 8.69984 13.25 9.23317 13.4833C9.69984 13.6833 9.99984 14.1333 9.99984 14.6417V15H4.99984V14.6417C4.99984 14.1333 5.29984 13.6833 5.7665 13.4833C6.29984 13.25 6.88317 13.125 7.49984 13.125Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_3377">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconPassword:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2\n<path d="M10.0002 14.1667C10.9168 14.1667 11.6668 13.4167 11.6668 12.5C11.6668 11.5833 10.9168 10.8333 10.0002 10.8333C9.0835 10.8333 8.3335 11.5833 8.3335 12.5C8.3335 13.4167 9.0835 14.1667 10.0002 14.1667ZM15.0002 6.66668H14.1668V5.00001C14.1668 2.70001 12.3002 0.833344 10.0002 0.833344C7.70016 0.833344 5.8335 2.70001 5.8335 5.00001V6.66668H5.00016C4.0835 6.66668 3.3335 7.41668 3.3335 8.33334V16.6667C3.3335 17.5833 4.0835 18.3333 5.00016 18.3333H15.0002C15.9168 18.3333 16.6668 17.5833 16.6668 16.6667V8.33334C16.6668 7.41668 15.9168 6.66668 15.0002 6.66668ZM7.41683 5.00001C7.41683 3.57501 8.57516 2.41668 10.0002 2.41668C11.4252 2.41668 12.5835 3.57501 12.5835 5.00001V6.66668H7.41683V5.00001ZM15.0002 16.6667H5.00016V8.33334H15.0002V16.6667Z" fill="#888888"/>\n</svg>\n',iconBulletin:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_2708)">\n<path d="M5.8335 17C5.37516 17 4.9828 16.8042 4.65641 16.4125C4.33002 16.0208 4.16683 15.55 4.16683 15V5C4.16683 4.45 4.33002 3.97917 4.65641 3.5875C4.9828 3.19583 5.37516 3 5.8335 3H17.5002C17.9585 3 18.3509 3.19583 18.6772 3.5875C19.0036 3.97917 19.1668 4.45 19.1668 5V15C19.1668 15.55 19.0036 16.0208 18.6772 16.4125C18.3509 16.8042 17.9585 17 17.5002 17H5.8335ZM11.6668 12.3L5.8335 7.425V15H17.5002V7.425L11.6668 12.3ZM11.6668 9.85L17.5002 5H5.8335L11.6668 9.85ZM2.50016 21C2.04183 21 1.64947 20.8042 1.32308 20.4125C0.996691 20.0208 0.833496 19.55 0.833496 19V6.5H2.50016V19H16.2502V21H2.50016Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_2708">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconNotifications:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_33)">\n<path d="M10.0002 18.3333C10.9168 18.3333 11.6668 17.5833 11.6668 16.6666H8.3335C8.3335 17.5833 9.0835 18.3333 10.0002 18.3333ZM15.0002 13.3333V9.16665C15.0002 6.60831 13.6418 4.46665 11.2502 3.89998V3.33331C11.2502 2.64165 10.6918 2.08331 10.0002 2.08331C9.3085 2.08331 8.75016 2.64165 8.75016 3.33331V3.89998C6.36683 4.46665 5.00016 6.59998 5.00016 9.16665V13.3333L3.3335 15V15.8333H16.6668V15L15.0002 13.3333ZM13.3335 14.1666H6.66683V9.16665C6.66683 7.09998 7.92516 5.41665 10.0002 5.41665C12.0752 5.41665 13.3335 7.09998 13.3335 9.16665V14.1666Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_33">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconChangeEdition:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_343)">\n<path d="M5 17.5V3.33331H13.125C13.3194 3.33331 13.5 3.37845 13.6667 3.46873C13.8333 3.55901 13.9722 3.68054 14.0833 3.83331L16.6667 7.49998L14.0833 11.1666C13.9722 11.3194 13.8333 11.441 13.6667 11.5312C13.5 11.6215 13.3194 11.6666 13.125 11.6666H6.66667V17.5H5ZM6.66667 9.99998H12.9167L14.5833 7.49998L12.9167 4.99998H6.66667V9.99998Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_343">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconMode:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_973)">\n<path d="M10.0002 19.1666L12.5002 16.6666H16.6668V12.5L19.1668 9.99998L16.6668 7.49998V3.33331H12.5002L10.0002 0.833313L7.50016 3.33331H3.3335V7.49998L0.833496 9.99998L3.3335 12.5V16.6666H7.50016L10.0002 19.1666ZM10.0002 15V4.99998C11.3891 4.99998 12.5696 5.48609 13.5418 6.45831C14.5141 7.43053 15.0002 8.61109 15.0002 9.99998C15.0002 11.3889 14.5141 12.5694 13.5418 13.5416C12.5696 14.5139 11.3891 15 10.0002 15Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_973">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconDownloadsManagement:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_2418)">\n<path d="M4.16667 16.6667C3.70833 16.6667 3.31583 16.5036 2.98917 16.1775C2.66306 15.8509 2.5 15.4584 2.5 15V3.33335C2.5 2.87502 2.66306 2.48252 2.98917 2.15585C3.31583 1.82974 3.70833 1.66669 4.16667 1.66669H15.8333C16.2917 1.66669 16.6842 1.82974 17.0108 2.15585C17.3369 2.48252 17.5 2.87502 17.5 3.33335V8.04169C17.2361 7.91669 16.9653 7.81585 16.6875 7.73919C16.4097 7.66308 16.125 7.60419 15.8333 7.56252V3.33335H4.16667V10.8334H7.66667C7.79167 11.2084 8 11.5347 8.29167 11.8125C8.58333 12.0903 8.90972 12.2847 9.27083 12.3959C9.22917 12.6736 9.20139 12.9547 9.1875 13.2392C9.17361 13.5242 9.1875 13.8056 9.22917 14.0834C8.72917 13.9861 8.26028 13.8022 7.8225 13.5317C7.38528 13.2606 7 12.9167 6.66667 12.5H4.16667V15H9.4375C9.53472 15.3056 9.64583 15.5972 9.77083 15.875C9.89583 16.1528 10.0486 16.4167 10.2292 16.6667H4.16667ZM14.1875 17.5L13.9375 16.25C13.7708 16.1806 13.6147 16.
21078 13.4692 16.0317C13.3231 15.955 13.1736 15.8611 13.0208 15.75L11.8125 16.125L10.9792 14.7084L11.9375 13.875C11.9097 13.7084 11.8958 13.5278 11.8958 13.3334C11.8958 13.1389 11.9097 12.9584 11.9375 12.7917L10.9792 11.9584L11.8125 10.5417L13.0208 10.9167C13.1736 10.8056 13.3231 10.7117 13.4692 10.635C13.6147 10.5589 13.7708 10.4861 13.9375 10.4167L14.1875 9.16669H15.8542L16.1042 10.4167C16.2708 10.4861 16.4272 10.5589 16.5733 10.635C16.7189 10.7117 16.8681 10.8056 17.0208 10.9167L18.2292 10.5417L19.0625 11.9584L18.1042 12.7917C18.1319 12.9584 18.1458 13.1389 18.1458 13.3334C18.1458 13.5278 18.1319 13.7084 18.1042 13.875L19.0625 14.7084L18.2292 16.125L17.0208 15.75C16.8681 15.8611 16.7189 15.955 16.5733 16.0317C16.4272 16.1078 16.2708 16.1806 16.1042 16.25L15.8542 17.5H14.1875ZM15.0208 15C15.4792 15 15.8717 14.837 16.1983 14.5109C16.5244 14.1842 16.6875 13.7917 16.6875 13.3334C16.6875 12.875 16.5244 12.4825 16.1983 12.1559C15.8717 11.8297 15.4792 11.6667 15.0208 11.6667C14.5625 11.6667 14.1703 11.8297 13.8442 12.1559C13.5175 12.4825 13.3542 12.875 13.3542 13.3334C13.3542 13.7917 13.5175 14.1842 13.8442 14.5109C14.1703 14.837 14.5625 15 15.0208 15Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_2418">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconDataUse:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_2262)">\n<path d="M10 2.65831L15.8333 5.24998V9.16665C15.8333 12.9333 13.35 16.4083 10 17.4416C6.65 16.4083 4.16667 12.9333 4.16667 9.16665V5.24998L10 2.65831ZM10 0.833313L2.5 4.16665V9.16665C2.5 13.7916 5.7 18.1166 10 19.1666C14.3 18.1166 17.5 13.7916 17.5 9.16665V4.16665L10 0.833313ZM9.16667 5.83331H10.8333V7.49998H9.16667V5.83331ZM9.16667 9.16665H10.8333V14.1666H9.16667V9.16665Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_2262">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconConditions:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_2438)">\n<path d="M5 18.3334C4.30556 18.3334 3.71528 18.0903 3.22917 17.6042C2.74306 17.1181 2.5 16.5278 2.5 15.8334V13.3334H5V1.66669H17.5V15.8334C17.5 16.5278 17.2569 17.1181 16.7708 17.6042C16.2847 18.0903 15.6944 18.3334 15 18.3334H5ZM15 16.6667C15.2361 16.6667 15.434 16.5868 15.5938 16.4271C15.7535 16.2674 15.8333 16.0695 15.8333 15.8334V3.33335H6.66667V13.3334H14.1667V15.8334C14.1667 16.0695 14.2465 16.2674 14.4062 16.4271C14.566 16.5868 14.7639 16.6667 15 16.6667ZM7.5 7.50002V5.83335H15V7.50002H7.5ZM7.5 10V8.33335H15V10H7.5ZM5 16.6667H12.5V15H4.16667V15.8334C4.16667 16.0695 4.24653 16.2674 4.40625 16.4271C4.56597 16.5868 4.76389 16.6667 5 16.6667ZM5 16.6667H4.16667H12.5H5Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_2438">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconConsent:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_410_530)">\n<path d="M10.0002 18.3333C8.06961 17.8472 6.476 16.7394 5.21933 15.01C3.96211 13.2811 3.3335 11.3611 3.3335 9.24996V4.16663L10.0002 1.66663L16.6668 4.16663V8.89579C16.4029 8.78468 16.1321 8.68385 15.8543 8.59329C15.5766 8.50329 15.2918 8.43746 15.0002 8.39579V5.33329L10.0002 3.45829L5.00016 5.33329V9.24996C5.00016 9.90274 5.08683 10.5555 5.26016 11.2083C5.43405 11.8611 5.67739 12.4827 5.99016 13.0733C6.30239 13.6633 6.68072 14.2083 7.12516 14.7083C7.56961 15.2083 8.06266 15.625 8.60433 15.9583C8.75711 16.4027 8.9585 16.8263 9.2085 17.2291C9.4585 17.6319 9.74322 17.993 10.0627 18.3125C10.0488 18.3125 10.0385 18.3161 10.0318 18.3233C10.0246 18.33 10.0141 18.3333 10.0002 18.3333ZM14.1668 14.1666C14.5141 14.1666 14.8091 14.045 15.0518 13.8016C15.2952 13.5588 15.4168 13.2638 15.4168 12.9166C15.4168 12.5694 15.2952 12.2744 15.0518 12.0316C14.8091 11.7883 14.5141 11.6666 14.1668 11.6666C13.8196 11.6666 13.5246 11.7883 13.2818 12.0316C13.0385 12.2744 12.9168 12.5694 12.9168 12.9166C12.9168 13.2638 13.0385 13.5588 13.2818 13.8016C13.5246 14.045 13.8196 14.1666 14.1668 14.1666ZM14.1668 16.6666C14.5974 16.6666 14.9932 16.5658 15.3543 16.3641C15.7154 16.163 16.0071 15.8958 16.2293 15.5625C15.9238 15.3819 15.5974 15.243 15.2502 15.1458C14.9029 15.0486 14.5418 15 14.1668 15C13.7918 15 13.4307 15.0486 13.0835 15.1458C12.7363 15.243 12.4099 15.3819 12.1043 15.5625C12.3266 15.8958 12.6182 16.163 12.9793 16.3641C13.3404 16.5658 13.7363 16.6666 14.1668 16.6666ZM14.1668 18.3333C13.0141 18.3333 12.0316 17.9272 11.2193 17.115C10.4066 16.3022 10.0002 15.3194 10.0002 14.1666C10.0002 13.0138 10.4066 12.0311 11.2193 11.2183C12.0316 10.4061 13.0141 9.99996 14.1668 9.99996C15.3196 9.99996 16.3024 10.4061 17.1152 11.2183C17.9274 12.0311 18.3335 13.0138 18.3335 14.1666C18.3335 15.3194 17.9274 16.3022 17.1152 17.115C16.3024 17.9272 15.3196 18.3333 14.1668 18.3333Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_410_530">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',iconDarkmode:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g id="Frame 92">\n<path id="Vector" d="M10.0002 19.1666L12.5002 16.6666H16.6668V12.5L19.1668 9.99998L16.6668 7.49998V3.33331H12.5002L10.0002 0.833313L7.50016 3.33331H3.3335V7.49998L0.833496 9.99998L3.3335 12.5V16.6666H7.50016L10.0002 19.1666ZM10.0002 15V4.99998C11.3891 4.99998 12.5696 5.48609 13.5418 6.45831C14.5141 7.43053 15.0002 8.61109 15.0002 9.99998C15.0002 11.3889 14.5141 12.5694 13.5418 13.5416C12.5696 14.5139 11.3891 15 10.0002 15Z" fill="#888888"/>\n</g>\n</svg>\n',subscriptionUrl:it.iv,section:{data:!1,password:!1,bulletin:!1,edition:!1,notifications_config:!1,visualization:!1,downloads:!1,contact:!1,subscription:!1},visibleList:{account:["register","subscriber"],data:["register","subscriber"],password:["register","subscriber"],subscription:["register","subscriber"],subscription_ios:["only_app","register","subscriber"],bulletin:["register","subscriber"],custom:["anonymous","register","subscriber"],edition:["only_app","anonymous","register","subscriber"],notifications_config:["register","subscriber"],visualization:["only_staff","register","subscriber"],downloads:["register","subscriber"],general:["register","subscriber"],data_use:["register","subscriber"],about_us:["register","subscriber"],contact:["anonymous"],conditions:["register","subscriber"],close:["register","subscriber"]},downloads_size:"999,99",logoutLoading:!1}},computed:Ji(Ji(Ji({},(0,G.L8)(["runningInApp","runningInAppApple","channel","env"])),(0,G.L8)("user",["currentUser","isStaff"])),{},{translations:function(){return{title:this.$t("profile.configuration.title"),menu:{account:{title:this.$t("profile.configuration.account.title"),data:this.$t("profile.configuration.account.data"),password:this.$t("profile.configuration.account.password"),subscription:this.$t("profile.configuration.account.subscription"),subscription_ios:this.$t("profile.configuration.account.subscription_ios"),bulletin:this.$t("profile.configuration.account.bulletin")},custom:{title:this.$t("profile.configuration.custom.title"),edition:this.$t("profile.configuration.custom.edition"),notifications_config:this.$t("profile.configuration.custom.notifications_config"),visualization:this.$t("profile.configuration.custom.darkmode"),downloads:this.$t("profile.configuration.custom.downloads")},general:{title:this.$t("profile.configuration.general.title"),data_use:this.$t("profile.configuration.general.data"),about_us:this.$t("profile.configuration.general.about_us"),conditions:this.$t("profile.configuration.general.conditions"),consent:this.$t("profile.configuration.general.consent")},help:this.$t("profile.suscriptor.button.help"),button:{close:this.$t("profile.configuration.button.close")}}}},getUserType:function(){return null===this.currentUser?"anonymous":this.currentUser.subscriber?"subscriber":"register"}}),mounted:function(){var e=window.location.hash.slice(1);e&&this.navigate(e),Gn.A.$on("profile.navigation",this.navigate)},watch:{show:function(e){e&&this.resetMenu()}},methods:Ji(Ji({},(0,G.i0)("user",["logout","toggleShowProfile"])),{},{getCompleteLink:function(e){var t="https://www.ara.cat/";return"PRE"===this.env&&(t="https://www.ara.cat.bbnx.pre.bitban.com/"),"".concat(t).concat(e).concat(this.runningInApp?"?channel=app":"")},close:function(){this.$emit("close")},navigate:function(e){"profile.configuration.notifications"===e&&this.openSection("notifications_config"),"profile.configuration.bulletin"===e&&this.openSection("bulletin"),"profile.configuration.subscription"===e&&this.openSection("subscription")},finishSession:function(){var e=this;this.logoutLoading=!0,this.logout().then(function(){e.$track({category:"account",action:"logout"}),e.logoutLoading=!1}).finally(function(){e.toggleShowProfile()})},openSection:function(e){this.section[e]=!0},closeSection:function(e){this.section[e]=!1},resetMenu:function(){this.section={data:!1,password:!1,bulletin:!1,edition:!1,notifications_config:!1,visualization:!1,downloads:!1,contact:!1,subscription:!1}},isVisible:function(e){return!(this.visibleList[e].includes("only_staff")&&!this.isStaff)&&(this.runningInApp||-1===this.visibleList[e].indexOf("only_app"))&&this.visibleList[e].indexOf(this.getUserType)>-1}
2,showDownloads:function(){this.channelAction("showDownloadedPDFs",null,function(){return console.debug("showDownloadedPDFs")})},openConsentInApp:function(){this.channelAction("showConsentConfig",null,function(){return console.debug("showConsentConfig")})}})},ea=(0,Le.A)(Xi,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-configuration",class:{"in-app":"app"===e.channel}},[n("ara-profile-section",{attrs:{expanded:"",title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[e.isVisible("account")?n("ara-profile-list",{attrs:{title:e.translations.menu.account.title}},[e.isVisible("data")?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconData,text:e.translations.menu.account.data,iconRight:e.iconRight},on:{click:function(t){return e.openSection("data")}}}):e._e(),e._v(" "),e.isVisible("password")?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconPassword,text:e.translations.menu.account.password,iconRight:e.iconRight},on:{click:function(t){return e.openSection("password")}}}):e._e(),e._v(" "),e.runningInAppApple?[e.isVisible("subscription_ios")?n("ara-profile-menu-button",{attrs:{text:e.translations.menu.account.subscription_ios,href:"#",iconRight:e.iconRight}}):e._e()]:e._e(),e._v(" "),e.isVisible("bulletin")?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconBulletin,text:e.translations.menu.account.bulletin,iconRight:e.iconRight},on:{click:function(t){return e.openSection("bulletin")}}}):e._e(),e._v(" "),e.isVisible("notifications_config")?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconNotifications,text:e.translations.menu.custom.notifications_config,iconRight:e.iconRight},on:{click:function(t){return e.openSection("notifications_config")}}}):e._e()],2):e._e(),e._v(" "),e.runningInApp?n("ara-profile-list",{attrs:{title:e.translations.menu.custom.title}},[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconChangeEdition,text:e.translations.menu.custom.edition,iconRight:e.iconRight},on:{click:function(t){return e.openSection("edition")}}}),e._v(" "),e.isVisible("visualization")?n("ara-profile-menu-button",{attrs:{text:e.translations.menu.custom.visualization,iconLeft:e.iconDarkmode,iconRight:e.iconRight},on:{click:function(t){return e.openSection("visualization")}}}):e._e(),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconDownloadsManagement,text:e.translations.menu.custom.downloads,iconRight:e.iconRight},on:{click:e.showDownloads}})],1):e.isVisible("visualization")?n("ara-profile-list",{attrs:{title:e.translations.menu.custom.title}},[n("ara-profile-menu-button",{attrs:{text:e.translations.menu.custom.visualization,iconLeft:e.iconDarkmode,iconRight:e.iconRight},on:{click:function(t){return e.openSection("visualization")}}})],1):e._e(),e._v(" "),e.isVisible("general")?n("ara-profile-list",{attrs:{title:e.translations.menu.general.title}},[e.isVisible("data_use")?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconDataUse,text:e.translations.menu.general.data_use,iconRight:e.iconRight,href:e.getCompleteLink("privacitat.html")}}):e._e(),e._v(" "),e.isVisible("conditions")?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconConditions,text:e.translations.menu.general.conditions,iconRight:e.iconRight,href:e.getCompleteLink("condicions_contractacio.html")}}):e._e(),e._v(" "),e.runningInApp?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconConsent,text:e.translations.menu.general.consent,iconRight:e.iconRight},on:{click:function(t){return e.openConsentInApp()}}}):e._e()],1):e._e(),e._v(" "),e.isVisible("contact")?n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{text:e.translations.menu.help,iconRight:e.iconRight,href:"https://ajuda.ara.cat"}})],1):e._e(),e._v(" "),e.isVisible("close")?n("ara-profile-menu-button",{attrs:{loading:e.logoutLoading,active:"",primary:"",text:e.translations.menu.button.close},on:{click:e.finishSession}}):e._e()],1),e._v(" "),n("ara-profile-view-data",{attrs:{show:e.section.data},on:{close:function(t){return e.closeSection("data")}}}),e._v(" "),n("ara-profile-view-password",{attrs:{show:e.section.password},on:{close:function(t){return e.closeSection("password")}}}),e._v(" "),n("ara-profile-view-bulletin",{attrs:{show:e.section.bulletin},on:{close:function(t){return e.closeSection("bulletin")}}}),e._v(" "),e.runningInApp?n("ara-profile-view-edition",{attrs:{show:e.section.edition},on:{close:function(t){return e.closeSection("edition")}}}
2):e._e(),e._v(" "),n("ara-profile-view-notifications-config",{attrs:{show:e.section.notifications_config},on:{close:function(t){return e.closeSection("notifications_config")}}}),e._v(" "),n("ara-profile-view-visualization",{attrs:{show:e.section.visualization},on:{close:function(t){return e.closeSection("visualization")}}}),e._v(" "),n("ara-profile-view-contact",{attrs:{show:e.section.contact},on:{close:function(t){return e.closeSection("contact")}}})],1)},[],!1,null,null,null).exports;function ta(e){return ta="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},ta(e)}function na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ra(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?na(Object(n),!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):na(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oa(e,t,n){return(t=function(e){var t=function(e){if("object"!=ta(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ta(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ta(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ia={name:"ara-profile-view-anonymous",mixins:[X.A],components:{araProfileSection:fo,araProfileViewConfiguration:ea},data:function(){return{iconClose:cn.A,iconSettings:lo,section:{configuration:!1},backUrl:window.location.href}},computed:ra(ra(ra({},(0,G.aH)("user",["appleProductId","externalProductId"])),(0,G.L8)(["platform","runningInApp","env"])),{},{showFakeSubscriptionButtons:function(){return"DEV"===this.env||"INT"===this.env||"PRE"===this.env},subscription:function(){return this.externalProductId},hasActiveSubscription:function(){return!!this.subscription},canRestoreApplePurchases:function(){return"iOS"===this.platform&&this.runningInApp&&!this.hasActiveSubscription},translations:function(){return{title:"",text:this.$t("profile.anonymous.text"),create:this.$t("profile.anonymous.create"),access:this.$t("profile.anonymous.access"),link:this.$t("profile.anonymous.link")}},iconCloseX:function(){return this.runningInApp?null:cn.A}}),watch:{showProfile:function(e){e&&this.resetMenu()}},methods:{register:function(){var e=this;this.channelAction("showRegister",null,function(){window.location.href="/usuari/register?backUrl=".concat(e.backUrl)})},login:function(){var e=this;this.channelAction("showLogin",null,function(){window.location.href="/usuari/login?backUrl=".concat(e.backUrl)})},restoreApplePurchases:function(){this.channelAction("restoreAppleStorePurchases",null,function(){window.location.href="/usuari/login"})},restoreAppleStoreMonthlyFakePurchases:function(){this.channelAction("restoreAppleStoreMonthlyFakePurchases",null,function(){window.location.href="/usuari/login"})},restoreAppleStoreYearlyFakePurchases:function(){this.channelAction("restoreAppleStoreYearlyFakePurchases",null,function(){window.location.href="/usuari/login"})},close:function(){var e=this;this.channelAction("closeModal",null,function(){e.$emit("close")})},openSection:function(e){this.section[e]=!0},closeSection:function(e){this.section[e]=!1},resetMenu:function(){this.section={configuration:!1}}}},aa=(0,Le.A)(ia,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-anonymous"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconCloseX,show:"",buttonright:e.iconSettings},on:{clickButtonRight:function(t){return e.openSection("configuration")},clickClose:e.close}},[n("div",{staticClass:"ara-profile-view-anonymous_content"},[n("p",{staticClass:"ara-profile-view-anonymous_text"},[e._v(e._s(e.translations.text))]),e._v(" "),n("ara-button",{attrs:{"full-width":""},on:{click:e.register}},[e._v(e._s(e.translations.create))]),e._v(" "),n("ara-button",{attrs:{secondary:"","full-width":""},on:{click:e.login}},[e._v(e._s(e.translations.access))]),e._v(" "),e.canRestoreApplePurchases?[e.showFakeSubscriptionButtons?n("ara-button",{attrs:{"full-width":""},on:{click:e.restoreAppleStoreMonthlyFakePurchases}},[e._v("\n restoreAppleStoreMonthlyFakePurchases\n ")]):e._e(
2),e._v(" "),e.showFakeSubscriptionButtons?n("ara-button",{attrs:{"full-width":""},on:{click:e.restoreAppleStoreYearlyFakePurchases}},[e._v("\n restoreAppleStoreYearlyFakePurchases\n ")]):e._e(),e._v(" "),n("p",{staticClass:"ara-profile-view-anonymous_subscription"},[e._v("\n "+e._s(e.$t("subscription.hasAnyActiveSubscription"))+"\n ")]),e._v(" "),n("ara-button",{attrs:{secondary:"","full-width":""},on:{click:e.restoreApplePurchases}},[e._v(e._s(e.$t("profile.anonymous.link")))]),e._v(" "),n("span",{staticClass:"ara-profile-view-anonymous_info-container"},[n("a",{staticClass:"ara-profile-view-anonymous_info",attrs:{href:"https://www.ara.cat/condicions_contractacio.html"}},[e._v("\n "+e._s(e.$t("legal.conditions"))+"\n ")]),e._v("\n |\n "),n("a",{staticClass:"ara-profile-view-anonymous_info",attrs:{href:"https://www.ara.cat/privacitat.html"}},[e._v("\n "+e._s(e.$t("legal.privacy"))+"\n ")])])]:e._e(),e._v(" "),e.hasActiveSubscription?[n("p",{staticClass:"ara-profile-view-anonymous_text"},[e._v("\n "+e._s(e.$t("subscription.subscriptionApple"))+"\n "),n("span",{staticClass:"active"},[e._v(e._s(e.$t("subscription.subscriptionActive")))])]),e._v(" "),n("span",{staticClass:"ara-profile-view-anonymous_manage"},[n("ara-button",{attrs:{href:"https://finance-app.itunes.apple.com/account/subscriptions",secondary:"","full-width":""}},[e._v(e._s(e.$t("subscription.manage")))]),e._v(" "),n("ara-button",{attrs:{secondary:"","full-width":""},on:{click:e.restoreApplePurchases}},[e._v(e._s(e.$t("profile.anonymous.forceLink")))]),e._v(" "),n("span",[n("a",{staticClass:"ara-profile-view-anonymous_info",attrs:{href:"https://www.ara.cat/condicions_contractacio.html"}},[e._v("\n "+e._s(e.$t("legal.conditions"))+"\n ")]),e._v("\n |\n "),n("a",{staticClass:"ara-profile-view-anonymous_info",attrs:{href:"https://www.ara.cat/privacitat.html"}},[e._v("\n "+e._s(e.$t("legal.privacy"))+"\n ")])])],1)]:e._e()],2)]),e._v(" "),n("ara-profile-view-configuration",{attrs:{show:e.section.configuration},on:{close:function(t){return e.closeSection("configuration")}}})],1)},[],!1,null,null,null).exports,sa='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 18.333c.917 0 1.667-.75 1.667-1.666H8.333c0 .916.75 1.666 1.667 1.666zm5-5V9.167c0-2.559-1.358-4.7-3.75-5.267v-.567c0-.691-.558-1.25-1.25-1.25s-1.25.559-1.25 1.25V3.9C6.367 4.467 5 6.6 5 9.167v4.166L3.333 15v.833h13.334V15L15 13.333zm-1.667.834H6.667v-5c0-2.067 1.258-3.75 3.333-3.75s3.333 1.683 3.333 3.75v5z"/>\n</svg>';var la=n(57376);const ca='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M16.667 1.667H3.333a1.66 1.66 0 00-1.666 1.666V12.5a1.66 1.66 0 001.666 1.667h3.334v4.166L10 16.667l3.333 1.666v-4.166h3.334a1.66 1.66 0 001.666-1.667V3.333a1.66 1.66 0 00-1.666-1.666zm0 10.833H3.333v-1.667h13.334V12.5zm0-4.167H3.333v-5h13.334v5z"/>\n</svg>';var ua=n(90988);const pa='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M2.5 14.375v3.125h3.125l9.217-9.217-3.125-3.125-9.217 9.217zm2.433 1.458h-.766v-.766l7.55-7.55.766.766-7.55 7.55zm12.325-11.141l-1.95-1.95a.818.818 0 00-.591-.242.82.82 0 00-.584.242l-1.525 1.525 3.125 3.125 1.525-1.525a.83.83 0 000-1.175z"/>\n</svg>',da='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M9.167 15h1.666v-1.667H9.167V15zM10 1.667A8.336 8.336 0 001.667 10c0 4.6 3.733 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6 1.667 10 1.667zm0 15A6.676 6.676 0 013.333 10 6.676 6.676 0 0110 3.333 6.676 6.676 0 0116.667 10 6.676 6.676 0 0110 16.667zM10 5a3.332 3.332 0 00-3.333 3.333h1.666c0-.916.75-1.666 1.667-1.666s1.667.75 1.667 1.666c0 1.667-2.5 1.459-2.5 4.167h1.666c0-1.875 2.5-2.083 2.5-4.167A3.332 3.332 0 0010 5z" />\n</svg>',fa='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M2.5 10.833h1.667V9.167H2.5v1.666zm0 3.334h1.667V12.5H2.5v1.667zm0-6.667h1.667V5.833H2.5V7.5zm3.333 3.333H17.5V9.167H5.833v1.666zm0 3.334H17.5V12.5H5.833v1.667zm0-8.334V7.5H17.5V5.833H5.833zm-3.333 5h1.667V9.167H2.5v1.666zm0 3.334h1.667V12.5H2.5v1.667zm0-6.667h1.667V5.833H2.5V7.5zm3.333 3.333H17.5V9.167H5.833v1.666zm0 3.334H17.5V12.5H5.833v1.667zm0-8.334V7.5H17.5V5.833H5.833z"/>\n</svg>';var ma=n(12500),ha=n(7430);const ga='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M12.958 10.833a1.66 1.66 0 001.459-.858L17.4 4.567a.83.83 0 00-.725-1.234H4.342l-.784-1.666H.833v1.666H2.5l3 6.325-1.125 2.034c-.608 1.116.192 2.475 1.458 2.475h10V12.5h-10l.917-1.667h6.208zM5.133 5h10.125l-2.3 4.167h-5.85L5.133 5zm.7 10c-.916 0-1.658.75-1.658 1.667 0 .916.742 1.666 1.658 1.666.917 0 1.667-.75 1.667-1.666C7.5 15.75 6.75 15 5.833 15zm8.334 0c-.917 0-1.659.75-1.659 1.667 0 .916.742 1.666 1.659 1.666.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667z"/>\n</svg>\n\n',va='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20 17.17L18.83 16H4V4h16v13.17zM20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2z"/></svg>',ba='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"/></svg>',ya='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_335_991)">\n<path d="M10.8333 5.83335H9.16663V9.16669H5.83329V10.8334H9.16663V14.1667H10.8333V10.8334H14.1666V9.16669H10.8333V5.83335ZM9.99996 1.66669C5.39996 1.66669 1.66663 5.40002 1.66663 10C1.66663 14.6 5.39996 18.3334 9.99996 18.3334C14.6 18.3334 18.3333 14.6 18.3333 10C18.3333 5.40002 14.6 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_335_991">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',wa='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59
2-.86.59-1.41s-.23-1.06-.59-1.42zM13 20.01L4 11V4h7v-.01l9 9-7 7.02z"/><circle cx="6.5" cy="6.5" r="1.5"/><path d="M8.9 12.55c0 .57.23 1.07.6 1.45l3.5 3.5 3.5-3.5c.37-.37.6-.89.6-1.45 0-1.13-.92-2.05-2.05-2.05-.57 0-1.08.23-1.45.6l-.6.6-.6-.59c-.37-.38-.89-.61-1.45-.61-1.13 0-2.05.92-2.05 2.05z"/></svg>',Ca='<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M7.00004 8.99996C7.45837 8.99996 7.85087 8.83663 8.17754 8.50996C8.50365 8.18385 8.66671 7.79163 8.66671 7.33329C8.66671 6.87496 8.50365 6.48246 8.17754 6.15579C7.85087 5.82968 7.45837 5.66663 7.00004 5.66663C6.54171 5.66663 6.14949 5.82968 5.82337 6.15579C5.49671 6.48246 5.33337 6.87496 5.33337 7.33329C5.33337 7.79163 5.49671 8.18385 5.82337 8.50996C6.14949 8.83663 6.54171 8.99996 7.00004 8.99996ZM7.00004 15.125C8.69448 13.5694 9.95143 12.1561 10.7709 10.885C11.5903 9.6144 12 8.48607 12 7.49996C12 5.98607 11.5173 4.74635 10.5517 3.78079C9.58671 2.81579 8.40282 2.33329 7.00004 2.33329C5.59726 2.33329 4.4131 2.81579 3.44754 3.78079C2.48254 4.74635 2.00004 5.98607 2.00004 7.49996C2.00004 8.48607 2.40976 9.6144 3.22921 10.885C4.04865 12.1561 5.3056 13.5694 7.00004 15.125ZM7.00004 17.0208C6.88893 17.0208 6.77782 17 6.66671 16.9583C6.5556 16.9166 6.45837 16.8611 6.37504 16.7916C4.34726 15 2.83337 13.3369 1.83337 11.8025C0.833374 10.2675 0.333374 8.83329 0.333374 7.49996C0.333374 5.41663 1.00365 3.7569 2.34421 2.52079C3.68421 1.28468 5.23615 0.666626 7.00004 0.666626C8.76393 0.666626 10.3159 1.28468 11.6559 2.52079C12.9964 3.7569 13.6667 5.41663 13.6667 7.49996C13.6667 8.83329 13.1667 10.2675 12.1667 11.8025C11.1667 13.3369 9.65282 15 7.62504 16.7916C7.54171 16.8611 7.44448 16.9166 7.33337 16.9583C7.22226 17 7.11115 17.0208 7.00004 17.0208Z" fill="#888888"/>\n</svg>\n';var _a=n(92299),Sa=n.n(_a),ka=n(7712);function Aa(e){return Aa="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},Aa(e)}function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(n),!0).forEach(function(t){Oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oa(e,t,n){return(t=function(e){var t=function(e){if("object"!=Aa(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Aa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Aa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ia={name:"ara-profile-user-banner",props:{user:Object,publicProfile:{type:Boolean,default:!1}},computed:xa(xa({},(0,G.L8)("user",["currentUser"])),{},{setText:function(){return this.user&&this.publicProfile?"S"!==this.user.premium||this.user.fundador?"S"!==this.user.premium&&this.user.fundador?this.$t("profile.public.founderSubscriber"):"S"===this.user.premium&&this.user.fundador?this.$t("profile.public.premiumFounderSubscriber"):null:this.$t("profile.public.premiumSubscriber"):"S"===this.currentUser.premium?"".concat(this.$t("profile.public.numPremiumSubscription")," ").concat(this.currentUser.subscriptionId):"".concat(this.$t("profile.public.numSubscription")," ").concat(this.currentUser.subscriptionId)}}),methods:{}},La=(0,Le.A)(Ia,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.setText?n("div",{staticClass:"user-banner",class:{"user-banner--premium":e.currentUser&&"S"===e.currentUser.premium||e.user&&"S"===e.user.premium},domProps:{textContent:e._s(e.setText)}}):e._e()},[],!1,null,null,null).exports;function Ea(e){return Ea="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},Ea(e)}function ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ta(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?ja(Object(n),!0).forEach(function(t){Da(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Da(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ea(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ea(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ea(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ma={name:"ara-profile-user",props:{user:{type:Object},follower:{type:String},following:{type:String},likes:{type:String},comments:{type:String},profilepublic:{type:Boolean,default:!1},showEmail:{type:Boolean,default:!0},text_follower:{type:String},text_following:{type:String},text_public:{type:String},text_private:{type:String},text_button:{type:String},resume:{type:Boolean,default:!1}},data:function(){return{iconLikeOff:ka.A,iconCommentOff:va,loading:!1}},components:{araProfileUserBanner:La},computed:Ta({},(0,G.L8)("user",["currentUser","nickInitialLetter"])),methods:Ta(Ta(Ta({},(0,G.i0)("user",["getCurrentUser"])),(0,G.i0)(["showSnackbar"])),{},{clickEdit:function(){this.$emit("clickEdit")}}),mounted:function(){var e=this;this.loading=!0,this.getCurrentUser().catch(function(){e.showSnackbar({contentText:e.$t("snackbar.error-message"),button:!0,error:!0})}).finally(function(){e.loading=!1})}},Fa=(0,Le.A)(Ma,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-user"},[n("div",{class:["ara-profile-user_header",{loading:e.loading},{premium:"S"===e.user.premium}]},[e.loading?[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])]:[n("div",{staticClass:"ara-profile-user_avatar"},[e.user.avatarUrl||e.user.avatar?n("img",{staticClass:"ara-profile-user_image",attrs:{src:e.user.avatarUrl||e.user.avatar,alt:e.user.nick}}):n("span",{staticClass:"ara-profile-user_initial",domProps:{textContent:e._s(e.user.nick.charAt(0))}})]),e._v(" "),n("div",{staticClass:"ara-profile-user_info"},[n("span",{staticClass:"ara-profile-user_name"},[e._v(e._s(e.user.nick))]),e._v(" "),n("div",{staticClass:"ara-profile-user_follow"},[n("span",{staticClass:"ara-profile-user_follow-item"},[n("span",{staticClass:"ara-profile-user_follow-number"},[e._v(e._s(e.follower))]),e._v(" "),n("span",{staticClass:"ara-profile-user_follow-text"},[e._v(e._s(e.text_follower))])]),e._v(" "),n("span",{staticClass:"ara-profile-user_follow-item"},[n("span",{staticClass:"ara-profile-user_follow-number"},[e._v(e._s(e.following))]),e._v(" "),n("span",{staticClass:"ara-profile-user_follow-text"},[e._v(e._s(e.text_following))])])]),e._v(" "),e.showEmail?n("span",{staticClass:"ara-profile-user__email"},[e._v(e._s(e.user.email))]):e._e()])]],2),e._v(" "),e.loading?e._e():[e.resume?n("div",{staticClass:"ara-profile-user_bottom"},[e.user.visible?n("span",{staticClass:"ara-profile-user_type public"},[e._v(e._s(e.text_public)+"\n ")]):n("span",{staticClass:"ara-profile-user_type private"},[e._v(e._s(e.text_private)+"\n ")]),e._v(" "),n("ara-button",{attrs:{text:""},on:{click:e.clickEdit}},[e._v(e._s(e.text_button))])],1):e.profilepublic?n("div",{staticClass:"ara-profile-user_likes"},[n("span",{staticClass:"ara-profile-user_likes-item"},[n("span",{staticClass:"ara-profile-user_likes-icon",domProps:{innerHTML:e._s(e.iconLikeOff)}}),e._v(" "),n("span",{staticClass:"ara-profile-user_likes-number"},[e._v(e._s(e.likes)+"\n ")])]),e._v(" "),n("span",{staticClass:"ara-profile-user_likes-item"},[n("span",{staticClass:"ara-profile-user_likes-icon",domProps:{innerHTML:e._s(e.iconCommentOff)}}),e._v(" "),n("span",{staticClass:"ara-profile-user_likes-number"},[e._v(e._s(e.comments)+"\n ")])])]):e._e()]],2)},[],!1,null,null,null).exports;var Ra=n(44070);const Ba={name:"ara-profile-alert-empty",props:{text:{type:String}}},Ua=(0,Le.A)(Ba,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-alert-empty",attrs:{role:"alert"}},[n("span",{domProps:{textContent:e._s(e.text)}})])},[],!1,null,null,null).exports;var Na=n(89340);function $a(e){return $a="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},$a(e)}function Va(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ha(Object(n),!0).forEach(function(t){Ga(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ga(e,t,n){return(t=function(e){var t=function(e){if("object"!=$a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=$a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var za="comment-response-notification";const Wa={name:"ara-profile-card-notification",mixins:[Na.A],props:{notification:{type:Object}},computed:qa(qa({},(0,G.L8)(["channel"])),{},{multipleUsers:function(){return Array.isArray(this.notification.voters)?this.notification.voters:[]},hasMultipleUsers:function(){return this.multipleUsers.length>1},user:function(){return this.notification.author?this.notification.author:this.notification.follower?this.notification.follower:1===this.multipleUsers.length?this.multipleUsers[0]:null},multipleUsersText:function(){return this.hasMultipleUsers?[].concat((e=this.multipleUsers.slice(0,2).map(function(e){return"@".concat(e.nick)}),function(e){if(Array.isArray(e))return Va(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Va(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Va(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[this.notification.remainingVoters>0?this.$t("notification.comment.user.multiple",{number:this.notification.remainingVoters}):null]).filter(Boolean).join(", "):"";var e},notificationText:function(){var e=Ga(Ga(Ga(Ga(Ga(Ga(Ga({},"comment-new-notification",this.$t("notification.comment.title")),"comment-like-notification",this.hasMultipleUsers?this.$t("notification.comment.like.multiple.title"):this.$t("notification.comment.like.title")),"comment-mention-notification",this.$t("notification.comment.mention.title")),za,this.$t("notification.comment.reply.title")),"comment-approval-notification",this.$t("notification.moderation.ok.title")),"comment-banned-notification",this.$t("notification.moderation.ko.title")),"user-follow-notification",this.$t("notification.userFollow.message"));return e[this.notification.type]===za?[e[this.notification.type],this.notification.body].filter(Boolean).join(" "):e[this.notification.type]?[e[this.notification.type],this.notification.body].filter(Boolean).join(". "):[this.notification.title,this.notification.subtitle,this.notification.message].filter(Boolean).join(". ")},notificationDate:function(){return this.formatDate(this.notification.publishedDate)}}),methods:qa(qa({},(0,G.i0)("user",["toggleShowPublicProfile","setPublicProfileId"])),{},{openNotification:function(e){"app"!==this.channel&&(e.preventDefault(),this.notification.url&&(window.location.href=this.notification.url))},openPublicProfile:function(e){this.toggleShowPublicProfile(),this.setPublicProfileId(e)}})},Ka=(0,Le.A)(Wa,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-card-notification"},[e.user?n("div",{staticClass:"ara-profile-card-notification_avatar"},[e.user.avatarUrl?n("img",{staticClass:"ara-profile-card-notification_image",attrs:{src:e.user.avatarUrl}}):n("span",{staticClass:"ara-profile-card-notification_initial"},[e._v(e._s(e.user.nick.slice(0,1)))])]):e._e(),e._v(" "),n("a",{staticClass:"ara-profile-card-notification_content",attrs:{href:e.notification.url},on:{click:e.openNotification}},[e.hasMultipleUsers?n("span",{staticClass:"ara-profile-card-notification_person"},[e._v("\n "+e._s(e.multipleUsersText)+"\n ")]):e.user?n("span",{staticClass:"ara-profile-card-notification_person",on:{click:function(t){return e.openPublicProfile(e.user.id)}}}
2,[e._v("\n @"+e._s(e.user.nick)+"\n ")]):e._e(),e._v(" "),n("span",{staticClass:"ara-profile-card-notification_text",domProps:{innerHTML:e._s(e.notificationText)}}),e._v(" "),n("span",{staticClass:"ara-profile-card-notification_date"},[e._v(e._s(e.notificationDate))])])])},[],!1,null,null,null).exports;function Za(e){return Za="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},Za(e)}function Ya(e){return function(e){if(Array.isArray(e))return Ja(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ja(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ja(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ja(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Qa(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Xa(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Xa(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Xa(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Xa(p,"constructor",c),Xa(c,"constructor",l),l.displayName="GeneratorFunction",Xa(c,o,"GeneratorFunction"),Xa(p),Xa(p,o,"Generator"),Xa(p,r,function(){return this}),Xa(p,"toString",function(){return"[object Generator]"}),(Qa=function(){return{w:i,m:d}})()}function Xa(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Xa=function(e,t,n,r){function i(t,n){Xa(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Xa(e,t,n,r)}function es(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function ts(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){es(i,r,o,a,s,"next",e)}function s(e){es(i,r,o,a,s,"throw",e)}a(void 0)})}}function ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ns(Object(n),!0).forEach(function(t){os(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ns(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function os(e,t,n){return(t=function(e){var t=function(e){if("object"!=Za(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Za(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Za(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const is={name:"ara-profile-view-notifications",components:{araLoading:Ra.A,araProfileAlertEmpty:Ua,araProfileCardNotification:Ka,araProfileDropdown:Mo,araProfileSection:fo},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconSettings:lo,sample_card:{person:"@marta.ustrell",initial:"M",text:'t\'ha mencionat en un comentari a "No som ningú"',date:"Fa 2 min"},latest:{notifications:[],hasMoreResults:!1,expanded:!0,loading:!0},history:{notifications:[],hasMoreResults:!1,expanded:!1,loading:!0}}},computed:rs(rs({},(0,G.L8)("user",["pendingNotifications"])),{},{translations:function(){return{title:this.$t("profile.notifications.title"),latest:{title:this.$t("profile.notifications.latest.title")},history:{title:this.$t("profile.notifications.history.title")},empty:this.$t("profile.notifications.empty")}},lastLatestNotificationId:function(){return 0===this.latest.notifications.length?null:this.latest.notifications[this.latest.notifications.length-1].id},lastHistoryNotificationId:function(){return 0===this.history.notifications.length?null:this.history.notifications[this.history.notifications.length-1].id},disabled:function(){return!1}}),watch:{show:function(e){e&&this.fetchLatestNotifications()}},methods:rs(rs({},(0,G.i0)("user",["setNotificationStatus"])),{},{initHistory:function(){var e=this;return ts(Qa().m(function t(){return Qa().w(function(t){for(;;)switch(t.n){case 0:if(e.latest.expanded=!1,!(e.history.notifications.length>0)){t.n=1;break}return t.a(2);case 1:return t.n=2,e.fetchNotificationsHistory();case 2:return t.a(2)}},t)}))()},fetchLatestNotifications:function(){var e=arguments,t=this;return ts(Qa().m(function n(){var r,o,i;return Qa().w(function(n){for(;;)switch(n.p=n.n){case 0:return r=e.length>0&&void 0!==e[0]?e[0]:null,t.latest.loading=!0,n.p=1,n.n=2,go.A.fetchLatestNotifications(r);case 2:o=n.v,t.latest.hasMoreResults=o.hasMoreResults,t.latest.notifications=[].concat(Ya(t.latest.notifications),Ya(o.notifications)),n.n=4;break;case 3:n.p=3,i=n.v,console.error(i);case 4:return n.p=4,t.latest.loading=!1,n.f(4);case 5:return n.a(2)}},n,null,[[1,3,4,5]])}))()},fetchNotificationsHistory:function(){var e=arguments,t=this;return ts(Qa().m(function n(){var r,o,i;return Qa().w(function(n){for(;;)switch(n.p=n.n){case 0:return r=e.length>0&&void 0!==e[0]?e[0]:null,t.history.loading=!0,n.p=1,n.n=2,go.A.fetchNotificationsHistory(r);case 2:o=n.v,t.history.hasMoreResults=o.hasMoreResults,t.history.notifications=[].concat(Ya(t.history.notifications),Ya(o.notifications)),n.n=4;break;case 3:n.p=3,i=n.v,console.error(i);case 4:return n.p=4,t.history.loading=!1,n.f(4);case 5:return n.a(2)}},n,null,[[1,3,4,5]])}))()},loadMoreLatest:function(){this.latest.hasMoreResults&&!this.latest.loading&&this.fetchLatestNotifications(this.lastLatestNotificationId)},loadMoreHistory:function(){this.history.hasMoreResults&&!this.history.loading&&this.fetchNotificationsHistory(this.lastHistoryNotificationId)},loadMore:function(e){var t=e.target;if(t.scrollTop+t.clientHeight>=t.scrollHeight){if(this.history.expanded)return void this.loadMoreHistory();this.latest.expanded&&this.loadMoreLatest()}},navigateTo:function(e){Gn.A.$emit("profile.navigation",e)},reset:function(){this.setNotificationStatus(0),this.latest.notifications=[],this.latest.loading=!0,this.history.notifications=[],this.history.loading=!0},close:function(){this.$emit("close"),this.reset()}})},as=is,ss=(0,Le.A)(as,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-notifications"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show,buttonright:e.iconSettings},on:{clickButtonRight:function(t){return e.navigateTo("profile.configuration.notifications")},scroll:e.loadMore,clickClose:e.close}},[n("ara-profile-dropdown",{attrs:{title:e.translations.latest.title,notifications:e.pendingNotifications>0?e.pendingNotifications:null,expanded:e.latest.expanded},on:{active:function(t){e.history.expanded=!e.history.expanded}}},[e._l(e.latest.notifications,function(e){return[n("ara-profile-card-notification",{key:e.id,attrs:{notification:e}})]}),e._v(" "),e.latest.loading||0!==e.latest.notifications.length?e._e():n("ara-profile-alert-empty",{attrs:{text:e.translations.empty}}),e._v(" "),e.latest.loading?n("div",{staticClass:"notifications-loading"}
2,[n("ara-loading")],1):e._e()],2),e._v(" "),n("ara-profile-dropdown",{attrs:{title:e.translations.history.title},on:{active:e.initHistory}},[e._l(e.history.notifications,function(t){return[n("ara-profile-card-notification",{key:t.id,attrs:{notification:t,person:e.sample_card.person,initial:e.sample_card.initial,text:e.sample_card.text,date:e.sample_card.date}})]}),e._v(" "),e.history.loading||0!==e.history.notifications.length?e._e():n("ara-profile-alert-empty",{attrs:{text:e.translations.empty}}),e._v(" "),e.history.loading?n("div",{staticClass:"notifications-loading"},[n("ara-loading")],1):e._e()],2)],1)],1)},[],!1,null,null,null).exports;var ls=n(95113),cs=n(20919),us=n(62638);const ps={name:"ara-list-card-article",mixins:[Na.A],components:{araPicture:Oe.A},data:function(){return{iconExclusive:cs.A}},props:{card:{type:Object,required:!0},cardClass:[Object,String,Array],imageClass:[Object,String,Array],headline:{type:String,default:"h2"}},computed:{modificationDate:function(){var e,t=null!==(e=this.card.modificationDate.date)&&void 0!==e?e:this.card.modificationDate;return(0,us.A)(t).format("DD MMM YYYY")}},mounted:function(){var e=this;this.$nextTick(function(){return e.lazy.update()})},methods:{imageSrc:function(e){var t=e.split("_");return"".concat(t[0],"_1-1-aspect-ratio_158w_").concat(t[3])}}},ds=(0,Le.A)(ps,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"ara-card ara-card--article",class:e.cardClass},[n("div",{staticClass:"info"},[n(e.headline,{tag:"component",staticClass:"title"},[n("a",{attrs:{title:e.card.title,href:e.card.url}}
2,[e.card.isExclusiveContent?n("div",{staticClass:"epigraph epigraph--exclusive"},[n("div",{staticClass:"ara-icon-exclusive",domProps:{innerHTML:e._s(e.iconExclusive)}}),e._v(" |\n ")]):!e.card.image&&e.card.mediainfo?n("div",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.card.mediainfo)}}):e._e(),e._v("\n "+e._s(e.card.title)+"\n ")])]),e._v(" "),n("div",{staticClass:"section"},[e.card.ancestorCategory?n("div",[e.card.ancestorCategory.url&&e.card.ancestorCategory.name?n("a",{attrs:{title:e.card.ancestorCategory.name,href:e.card.ancestorCategory.url}},[e._v(e._s(e.card.ancestorCategory.name)+"Â /Â ")]):e.card.ancestorCategory.name?[e._v("\n "+e._s(e.card.ancestorCategory.name)+"Â /Â \n ")]:e._e()],2):e._e(),e._v(" "),e.card.category.url?n("a",{attrs:{title:e.card.category.name,href:e.card.category.url},domProps:{innerHTML:e._s(e.card.category.name)}}):[e._v("\n "+e._s(e.card.category.name)+"\n ")],e._v(" "),n("span",{staticClass:"date"},[e._v(" |\n "+e._s(this.modificationDate)+"\n ")]),e._v(" "),e.card.exclusive?n("span",{staticClass:"exclusive",domProps:{innerHTML:e._s(e.$t("content.exclusive"))}}):e._e()],2)],1),e._v(" "),e.card.image?n("a",{staticClass:"image",attrs:{title:e.card.title,href:e.card.url}},[n("figure",[n("picture",{class:e.imageClass},[e._l(e.card.image.sources,function(t,r){return n("source",{key:r,attrs:{type:t.mimeType,media:"(min-width: 1px)",srcset:e.imageSrc(t.src)}})}),e._v(" "),n("img",{staticClass:"lazy",attrs:{loading:"lazy",src:e.card.image.svgPlaceholder,alt:e.card.image.alt}})],2),e._v(" "),e.card.mediaInfo?n("ara-media-info",{attrs:{type:e.card.mediaInfo}}):e._e()],1)]):e._e(),e._v(" "),e._t("default")],2)},[],!1,null,null,null).exports,fs={name:"ara-profile-block-empty",props:{alert:{type:String},icon:{type:String},text:{type:String}},components:{araProfileAlertEmpty:Ua}},ms=(0,Le.A)(fs,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-block-empty"},[e.alert?n("ara-profile-alert-empty",{attrs:{text:e.alert}}
2):e._e(),e._v(" "),n("div",{staticClass:"ara-profile-block-empty_content"},[n("span",{staticClass:"ara-profile-block-empty_icon",attrs:{"aria-hidden":"true"},domProps:{innerHTML:e._s(e.icon)}}),e._v(" "),n("span",{staticClass:"ara-profile-block-empty_text",domProps:{innerHTML:e._s(e.text)}})])],1)},[],!1,null,null,null).exports,hs={name:"ara-profile-list-more",props:{title:{type:String},buttonMore:{type:String},loading:{type:Boolean}},methods:{clickMore:function(){this.$emit("clickMore")}}},gs=(0,Le.A)(hs,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-list-more"},[e._t("header",[e.title?n("div",{staticClass:"ara-profile-list-more_title"},[n("span",[e._v(e._s(e.title))])]):e._e()]),e._v(" "),n("div",{staticClass:"ara-profile-list-more_content"},[e._t("default")],2),e._v(" "),e.buttonMore?n("div",{staticClass:"ara-profile-list-more_bottom"},[n("ara-button",{staticClass:"ara-profile-list-more_button",attrs:{secondary:"",loading:e.loading},on:{click:e.clickMore}},[n("span",{staticClass:"button-content",domProps:{textContent:e._s(e.buttonMore)}}
2)])],1):e._e()],2)},[],!1,null,null,null).exports;var vs=n(68042);function bs(e){return bs="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},bs(e)}function ys(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return ws(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ws(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ws(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,ws(p,"constructor",c),ws(c,"constructor",l),l.displayName="GeneratorFunction",ws(c,o,"GeneratorFunction"),ws(p),ws(p,o,"Generator"),ws(p,r,function(){return this}),ws(p,"toString",function(){return"[object Generator]"}),(ys=function(){return{w:i,m:d}})()}function ws(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ws=function(e,t,n,r){function i(t,n){ws(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ws(e,t,n,r)}function Cs(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _s(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Cs(i,r,o,a,s,"next",e)}function s(e){Cs(i,r,o,a,s,"throw",e)}a(void 0)})}}function Ss(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ks(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ss(Object(n),!0).forEach(function(t){As(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ss(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function As(e,t,n){return(t=function(e){var t=function(e){if("object"!=bs(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ps={name:"ara-profile-view-saves",props:{show:{type:Boolean,default:!1},list:{type:Object,default:{}}},mixins:[X.A],data:function(){return{iconArrowBack:Et.A,iconSaveOff:ha.A,iconTrash:ls.A,iconSettings:lo,iconClose:cn.A,loading:!1,editing:!1,deleting:!1,name:"",errorMessages:null}},components:{araTextInput:vs.A,araListCardArticle:ds,araProfileBlockEmpty:ms,araProfileListMore:gs,araProfileSection:fo},computed:ks(ks({},(0,G.L8)("user/interests",["savedContentsCards","savedContentsIds","savedContentsNextPage","savedContentsHasMoreResults"])),{},{translations:function(){return{title:this.$t("profile.saves.title"),week:{title:this.$t("profile.saves.week.title")},month:{title:this.$t("profile.saves.month.title")},year:{title:this.$t("profile.saves.year.title")},lastyear:{title:this.$t("profile.saves.lastyear.title")},oldyears:{title:this.$t("profile.saves.oldyears.title")},empty:this.$t("profile.saves.empty"),remember:this.$t("profile.saves.remember"),more:this.$t("profile.button.more")}},buttonMore:function(){return this.savedContentsHasMoreResults?this.translations.more:null}
2,rightButton:function(){return this.editing?null:this.list?this.list.defaultList?null:lo:null},rightText:function(){return this.editing?"Elimina":null},title:function(){return this.list?this.list.title:""}}),methods:ks(ks(ks({},(0,G.i0)("user/interests",["searchSavedContents","deleteSavedContentCard","resetSavedContentCards","editFavouriteList","deleteFavouriteList","deleteSavedContentCardFromFavouriteList"])),(0,G.i0)(["showSnackbar"])),{},{close:function(){this.editing=!1,this.resetSavedContentCards(),this.$emit("close")},getNextPage:function(e){var t=this;return _s(ys().m(function n(){var r;return ys().w(function(n){for(;;)switch(n.n){case 0:if(t.list){n.n=1;break}return n.a(2);case 1:r=e||t.savedContentsNextPage,t.loading=!0,t.searchSavedContents({page:r,listId:t.list.contentListId}).finally(function(){t.loading=!1,t.lazy.update(),t.runningInApp&&t.channelAction("requestToken",null)});case 2:return n.a(2)}},n)}))()},deleteContent:function(e){var t=this;this.deleteSavedContentCardFromFavouriteList(e).then(function(){t.$track({category:"content",action:"unsave",label:e})}).catch(function(e){t.errorMessages=e.response.data.message,console.log(e)})},configureList:function(){this.name=this.list.title,this.editing=!0},deletingList:function(){this.deleting=!0},editList:function(){var e=this;this.editFavouriteList({listId:this.list.contentListId,listName:this.name}).then(_s(ys().m(function t(){return ys().w(function(t){for(;;)switch(t.n){case 0:e.closeEditing(),e.$emit("close");case 1:return t.a(2)}},t)}))).catch(function(t){e.errorMessages=t.response.data.message,console.log(t)})},deleteList:function(){var e=this;this.deleteFavouriteList(this.list.contentListId).then(_s(ys().m(function t(){return ys().w(function(t){for(;;)switch(t.n){case 0:e.closeEditing(),e.$emit("close");case 1:return t.a(2)}},t)}))).catch(function(t){e.showSnackbar({contentText:t.response.data.message,error:!0}),console.log(t)})},closeEditing:function(){this.deleting=!1,this.editing=!1}}),watch:{show:function(e){e&&this.getNextPage(1)},savedContentsNextPage:function(e,t){e<t&&this.getNextPage(e)}}},xs=(0,Le.A)(Ps,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-saves",class:{empty:!e.loading&&!e.savedContentsCards.length}},[n("ara-profile-section",{staticStyle:{height:"100%"},attrs:{title:e.title,icon:e.iconArrowBack,show:e.show,buttonright:e.rightButton,"text-right":e.rightText},on:{clickClose:e.close,clickButtonRight:e.configureList,clickTextRight:e.deletingList}},[e.loading&&!e.savedContentsCards.length?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):[e.savedContentsCards.length?n("ara-profile-list-more",{attrs:{buttonMore:e.buttonMore,loading:e.loading},on:{clickMore:function(t){return e.getNextPage()}}},e._l(e.savedContentsCards,function(t){return n("ara-list-card-article",{key:t.id,attrs:{card:t,"card-class":"card--mobile"}},[e._t("default",[n("span",{staticClass:"delete ara-icon",domProps:{innerHTML:e._s(e.iconTrash)},on:{click:function(n){return e.deleteContent(t.id)}}})])],2)}),1):n("ara-profile-block-empty",{attrs:{alert:e.translations.empty,icon:e.iconSaveOff,text:e.translations.remember}})]],2),e._v(" "),e.editing?n("div",{staticClass:"list-edit"},[n("div",{staticClass:"list-edit-wrapper"},[n("div",{staticClass:"list-edit--title"},[e._v("Edita")]),e._v(" "),n("ara-text-input",{attrs:{error:e.errorMessages,label:e.$t("favourite-list.list-name"),placeholder:e.name},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),n("ara-button",{attrs:{"full-width":""},on:{click:e.editList}}
2,[e._v(e._s(e.$t("favourite-list.save")))])],1)]):e._e(),e._v(" "),e.deleting?n("div",{staticClass:"list-delete"},[n("div",{staticClass:"list-delete-top"},[n("ara-button",{staticClass:"ara-profile-section_close",attrs:{text:""},domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.closeEditing}})],1),e._v(" "),n("div",{staticClass:"list-delete-bottom"},[n("div",{staticClass:"list-delete--title",domProps:{textContent:e._s(e.$t("favourite-list.delete-title"))}}),e._v(" "),n("div",{staticClass:"list-delete--body",domProps:{textContent:e._s(e.$t("favourite-list.delete-body"))}}),e._v(" "),n("ara-button",{staticClass:"primary",attrs:{"full-width":""},on:{click:e.deleteList}},[e._v(e._s(e.$t("favourite-list.delete"))+"\n ")]),e._v(" "),n("ara-button",{attrs:{secondary:"","full-width":""},on:{click:e.closeEditing}},[e._v(e._s(e.$t("favourite-list.delete-cancel"))+"\n ")])],1)]):e._e()],1)},[],!1,null,null,null).exports;function Os(e){return Os="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},Os(e)}function Is(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Ls(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ls(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ls(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Ls(p,"constructor",c),Ls(c,"constructor",l),l.displayName="GeneratorFunction",Ls(c,o,"GeneratorFunction"),Ls(p),Ls(p,o,"Generator"),Ls(p,r,function(){return this}),Ls(p,"toString",function(){return"[object Generator]"}),(Is=function(){return{w:i,m:d}})()}function Ls(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ls=function(e,t,n,r){function i(t,n){Ls(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Ls(e,t,n,r)}function Es(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ts(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?js(Object(n),!0).forEach(function(t){Ds(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):js(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ds(e,t,n){return(t=function(e){var t=function(e){if("object"!=Os(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Os(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ms={name:"ara-profile-view-saves-list",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconSaveOff:ha.A,iconTrash:ls.A,loading:!1}},components:{araPicture:Oe.A,araListCardArticle:ds,araProfileBlockEmpty:ms,araProfileListMore:gs,araProfileSection:fo},computed:Ts(Ts({},(0,G.L8)("user/interests",["savedFavouriteLists","savedFavouriteListsCards","savedFavouriteListsCardsSearchNextPage","savedFavouriteListsCardsSearchMoreResults","storageKey"])),{},{translations:function(){return{title:this.$t("profile.saves.title"),week:{title:this.$t("profile.saves.week.title")},month:{title:this.$t("profile.saves.month.title")},year:{title:this.$t("profile.saves.year.title")},lastyear:{title:this.$t("profile.saves.lastyear.title")},oldyears:{title:this.$t("profile.saves.oldyears.title")},empty:this.$t("profile.saves.empty"),remember:this.$t("profile.saves.remember"),more:this.$t("profile.button.more")}},buttonMore:function(){return this.savedFavouriteListsCardsSearchMoreResults?this.translations.more:null},defaultListHasContents:function(){return this.savedFavouriteListsCards?this.savedFavouriteListsCards.filter(function(e){return e.defaultList&&e.savedContentsIds.length}):null}}),methods:Ts(Ts(Ts({},(0,G.i0)("user/interests",["searchSavedFavouriteLists","deleteSavedContentCard"])),(0,G.L8)(["runningInApp","site"])),{},{close:function(){this.$emit("close")},openList:function(e){this.$emit("open",e)},getNextPage:function(e){var t,n=this;return(t=Is().m(function t(){var r;return Is().w(function(t){for(;;)switch(t.n){case 0:return r=e||n.savedFavouriteListsCardsSearchNextPage,n.loading=!0,t.n=1,n.searchSavedFavouriteLists({page:r});case 1:n.loading=!1,n.lazy.update();case 2:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){Es(i,r,o,a,s,"next",e)}function s(e){Es(i,r,o,a,s,"throw",e)}a(void 0)})})()},deleteContent:function(e){this.$track({category:"content",action:"unsave",label:e}),this.deleteSavedContentCard(e)},numberOfArticles:function(e){return"".concat(e,1===e?" article":" articles")},listTitle:function(e){return e.defaultList?this.$t("favourite-list.all"):e.title}}
2),watch:{show:function(e){this.runningInApp?e&&this.getNextPage(1):e&&!this.savedFavouriteListsCards.length?this.getNextPage(1):this.savedFavouriteListsCards.length&&this.lazy.update()},savedContentsNextPage:function(e,t){e<t&&this.getNextPage(e)}}},Fs=Ms;var Rs=(0,Le.A)(Fs,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-saves-list",class:{empty:!e.loading&&!e.savedFavouriteListsCards.length}},[n("ara-profile-section",{staticStyle:{height:"100%"},attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[e.loading&&!e.savedFavouriteListsCards.length?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):[e.savedFavouriteListsCards.length&&e.defaultListHasContents.length?n("ara-profile-list-more",{attrs:{buttonMore:e.buttonMore,loading:e.loading},on:{clickMore:function(t){return e.getNextPage()}}},e._l(e.savedFavouriteListsCards,function(t){return n("div",{key:t.id,staticClass:"saved-list",on:{click:function(n){return e.openList(t)}}},[n("div",{staticClass:"saved-list--image"},[t.image?[n("img",{staticClass:"lazy",attrs:{loading:"lazy",src:t.image.sources[0].src,alt:t.image.alt}})]:e._e()],2),e._v(" "),n("div",{staticClass:"saved-list--title",domProps:{textContent:e._s(e.listTitle(t))}}),e._v(" "),n("div",{staticClass:"saved-list--subtitle",domProps:{textContent:e._s(e.numberOfArticles(t.savedContentsIds.length))}})])}),0):n("ara-profile-block-empty",{attrs:{alert:e.translations.empty,icon:e.iconSaveOff,text:e.translations.remember}})]],2)],1)},[],!1,null,null,null);const Bs=Rs.exports;function Us(e){return Us="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},Us(e)}function Ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ns(Object(n),!0).forEach(function(t){Vs(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ns(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vs(e,t,n){return(t=function(e){var t=function(e){if("object"!=Us(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Us(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Us(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hs={name:"ara-profile-view-subscription-card",props:{show:{type:Boolean,default:!1},targeta:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A}},components:{araProfileSection:fo,araProfileUserBanner:La},computed:$s($s($s({},(0,G.L8)(["darkMode","runningInApp"])),(0,G.L8)("user",["subscriptionCardURL","userToken"])),{},{getParams:function(){var e="";return this.darkMode&&(e="?darkMode=true"),this.runningInApp&&this.userToken&&(""===e?e="?token=".concat(this.userToken):e+="&token=".concat(this.userToken)),e},iframeUrl:function(){return"".concat(this.subscriptionCardURL).concat(this.getParams)},title:function(){return this.targeta?this.$t("profile.register.button.card_suscription"):this.$t("profile.suscriptor.button.card_suscription")}}),methods:{close:function(){this.$emit("close")}}},qs=(0,Le.A)(Hs,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-subscription-card"},[n("ara-profile-section",{attrs:{show:e.show,title:e.title,icon:e.iconArrowBack},on:{clickClose:e.close}},[e.show?n("iframe",{attrs:{src:e.iframeUrl}}
2):e._e()])],1)},[],!1,null,null,null).exports;function Gs(e){return Gs="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},Gs(e)}function zs(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Ws(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Ws(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ws(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Ws(p,"constructor",c),Ws(c,"constructor",l),l.displayName="GeneratorFunction",Ws(c,o,"GeneratorFunction"),Ws(p),Ws(p,o,"Generator"),Ws(p,r,function(){return this}),Ws(p,"toString",function(){return"[object Generator]"}),(zs=function(){return{w:i,m:d}})()}function Ws(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ws=function(e,t,n,r){function i(t,n){Ws(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Ws(e,t,n,r)}function Ks(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Zs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ys(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zs(Object(n),!0).forEach(function(t){Js(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zs(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Js(e,t,n){return(t=function(e){var t=function(e){if("object"!=Gs(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Gs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gs(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qs={name:"ara-profile-input-img",components:{ValidationProvider:p.LW},props:{value:{type:[Object,FileList,File,String]},name:{type:String},accept:{type:String,default:"image/*"},multiple:{type:Boolean,default:!1},sizeLimit:{type:Number,default:function(){return 1024}}},data:function(){return{iconCamera:'<svg viewBox="0 0 49 40" xmlns="http://www.w3.org/2000/svg">\n <g opacity=".88">\n <path d="M25 11c6.075 0 11 5.149 11 11.5S31.075 34 25 34s-11-5.149-11-11.5S18.925 11 25 11zm0 5.031c-.57 0-1.031.483-1.031 1.078v3.953H19.5l-.1.005c-.522.053-.931.513-.931 1.074 0 .595.461 1.078 1.031 1.078h4.469v4.672l.004.103c.05.547.491.975 1.027.975.57 0 1.031-.483 1.031-1.078v-4.673h3.782l.099-.004c.523-.052.932-.513.932-1.073 0-.596-.462-1.078-1.032-1.
2078h-3.781v-3.954l-.004-.103c-.05-.547-.491-.975-1.027-.975z"/>\n <path d="M47.37 6.232a5.179 5.179 0 00-3.866-1.69h-7.732v-.098c0-1.207-.466-2.367-1.258-3.14A4.187 4.187 0 0031.487 0H17.513a4.213 4.213 0 00-3.074 1.304 4.504 4.504 0 00-1.257 3.14v.097H5.496a5.179 5.179 0 00-3.866 1.69C.652 7.247 0 8.697 0 10.242V34.3c0 1.594.606 2.995 1.63 4.01C2.608 39.323 4.006 40 5.496 40h38.008a5.179 5.179 0 003.866-1.69c.978-1.015 1.63-2.465 1.63-4.01V10.242c0-1.595-.606-2.996-1.63-4.01zM46.578 34.3h-.047a3.16 3.16 0 01-.885 2.222 2.937 2.937 0 01-2.142.918H5.496a2.937 2.937 0 01-2.142-.918 3.16 3.16 0 01-.885-2.222V10.242c0-.87.326-1.643.885-2.223a2.937 2.937 0 012.142-.918h8.99c.698 0 1.257-.58 1.257-1.304v-1.4c0-.532.187-1.015.513-1.354a1.795 1.795 0 011.304-.53h13.927c.512 0 .978.192 1.304.53.326.339.512.822.512 1.353v1.401c0 .725.56 1.304 1.258 1.304h8.99c.838 0 1.583.339 2.142.918a3.16 3.16 0 01.885 2.223V34.3z"/>\n </g>\n</svg>',preview:null}},computed:Ys(Ys({},(0,G.L8)(["runningInAppApple"])),{},{previewData:function(){return this.value?"string"==typeof this.value?this.previewHtml(this.value):this.previewHtml(this.preview):null}}),methods:{previewHtml:function(e){return'<img src="'.concat(e,'">')},onInput:function(e){var t,n=this;return(t=zs().m(function t(){var r,o;return zs().w(function(t){for(;;)switch(t.n){case 0:if(1===(r=e.currentTarget.files).length){t.n=1;break}return n.preview=null,n.$emit("input",null),t.a(2);case 1:(o=new FileReader).onload=function(e){n.preview=e.target.result},o.readAsDataURL(r.item(0)),n.file=r.item(0),n.$emit("input",r.item(0));case 2:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){Ks(i,r,o,a,s,"next",e)}function s(e){Ks(i,r,o,a,s,"throw",e)}a(void 0)})})()}}},Xs=Qs,el=(0,Le.A)(Xs,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.runningInAppApple?e._e():n("validation-provider",{staticClass:"ara-profile-input-img",attrs:{tag:"div",name:e.name,rules:"size:"+e.sizeLimit},scopedSlots:e._u([{key:"default",fn:function(t){t.errors;var r=t.validate;return[n("label",{staticClass:"ara-profile-input-img_label"},[e.previewData?n("span",{staticClass:"ara-profile-input-img_preview",domProps:{innerHTML:e._s(e.previewData)}}):n("span",{staticClass:"ara-profile-input-img_icon",domProps:{innerHTML:e._s(e.iconCamera)}}),e._v(" "),n("input",{staticClass:"ara-profile-input-img_input",attrs:{type:"file",name:e.name,multiple:e.multiple,accept:e.accept},on:{change:r,input:e.onInput}})])]}}],null,!1,4252736414)})},[],!1,null,null,null).exports;function tl(e){return tl="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},tl(e)}function nl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return rl(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(rl(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,rl(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,rl(p,"constructor",c),rl(c,"constructor",l),l.displayName="GeneratorFunction",rl(c,o,"GeneratorFunction"),rl(p),rl(p,o,"Generator"),rl(p,r,function(){return this}),rl(p,"toString",function(){return"[object Generator]"}),(nl=function(){return{w:i,m:d}})()}function rl(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}rl=function(e,t,n,r){function i(t,n){rl(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},rl(e,t,n,r)}function ol(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function il(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ol(i,r,o,a,s,"next",e)}function s(e){ol(i,r,o,a,s,"throw",e)}a(void 0)})}}function al(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?al(Object(n),!0).forEach(function(t){ll(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):al(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ll(e,t,n){return(t=function(e){var t=function(e){if("object"!=tl(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cl={name:"ara-profile-view-user-edit",components:{ValidationObserver:p.Ce,araSwitch:bo.A,araTextInputWithValidation:jr.A,araProfileInputImg:el,araProfileSection:fo,araTextarea:Eo.A,araButtonNew:lt.A},props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,section:{user_public:!1},visible:!0,photo:null,name:null,description:null,loading:!1,validForm:!1,profileImageSizeLimitMb:1}},computed:sl(sl(sl({},(0,G.L8)(["runningInApp"])),(0,G.L8)("user",["currentUser"])),{},{profileImageSizeLimit:function(){return 1024*this.profileImageSizeLimitMb},translations:function(){return{title:this.$t("profile.user_edit.title"),form:{visible:{label:this.$t("profile.user_edit.form.visible.label"),text:this.$t("profile.user_edit.form.visible.text")},name:{helperText:this.$t("profile.user_edit.form.name.help"),label:this.$t("profile.user_edit.form.name.label"),errormessages:{required:this.$t("customValidation.name.required")}},description:{label:this.$t("profile.user_edit.form.name.description")},text:this.$t("profile.user_edit.form.text"),link:this.$t("profile.user_edit.form.link")},button:{save:this.$t("profile.button.save"),send:this.$t("profile.button.send")}}}}),watch:{showProfile:function(e){e&&this.resetMenu()},show:function(){this.name=this.currentUser.nick,this.description=this.currentUser.description,this.visible=this.currentUser.visible,this.photo=this.currentUser.avatarUrl}},methods:sl(sl(sl({},(0,G.i0)("user",["loadUserSession","setCurrentUser","toggleShowPublicProfile","setPublicProfileId"])),(0,G.i0)(["showSnackbar"])),{},{showPublicProfile:function(){this.toggleShowPublicProfile(),this.setPublicProfileId(this.currentUser.id)},close:function(){this.$emit("close")},validateForm:function(e){var t=this;return il(nl().m(function n(){return nl().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,e();case 1:t.validForm=n.v,t.validForm||t.showSnackbar({contentText:t.$t("profile.user_edit.avatar_size_exceeded",{size:t.profileImageSizeLimitMb}),button:!0,error:!0});case 2:return n.a(2)}},n)}))()},openSection:function(e){this.section[e]=!0},closeSection:function(e){this.section[e]=!1},resetMenu:function(){this.section.user_public=!1},formModified:function(){var e=this,t=!1;return Object.keys(this.currentUser).forEach(function(n){e[n]!==e.currentUser[n]&&(t=!0)}),t},save:function(){this.$refs.form.handleSubmit(this.submitForm)},submitForm:function(){var e=this;return il(nl().m(function t(){var n,r,o,i,a,s,l,c,u;return nl().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,!e.formModified()){t.n=5;break}if(n=!1,e.currentUser.avatarUrl===e.photo){t.n=2;break}return(r=new FormData).append("avatar",e.photo),n=!0,e.loading=!0,t.n=1,go.A.patchUserAvatar(r);case 1:o=t.v,e.setCurrentUser(o.user),localStorage.setItem("updated-profile-cookie-data",JSON.stringify(o.user));case 2:if(i={},e.currentUser.nick!==e.name&&(i.nick=e.name),e.currentUser.description!==e.description&&(i.description=e.description),e.currentUser.visible!==e.visible&&(i.visible=e.visible),!(Object.keys(i).length>0)){t.n=4;break}return n=!0,e.loading=!0,t.n=3,go.A.patchUserProfile(i);case 3:a=t.v,e.setCurrentUser(a.data.response.user);case 4:n&&(e.showSnackbar({contentText:e.$t("snackbar.success-update-message"),button:!0}),e.$refs.form.reset());case 5:t.n=7;break;case 6:t.p=6,u=t.v,s=u.response.data.errors,l={},c=!0,s.forEach(function(t){"INVALID_FIELD"===t.errorCode&&(l.name=[e.$t("customValidation.".concat(t.errorMessage,".").concat(t.errorCode))]),"PUBLICNICK_ALREADY_IN_USE"===t.errorCode&&(l.name=[e.$t("customValidation.name.".concat(t.errorCode))],c=!1)}),e.$refs.form.setErrors(l),c&&e.showSnackbar({contentText:e.$t("snackbar.error-message"),button:!0,error:!0});case 7:return t.p=7,e.loading=!1,t.f(7);case 8:return t.a(2)}},t,null,[[0,6,7,8]])}
2))()}})},ul=(0,Le.A)(cl,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-user-edit"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,buttonright:e.formModified()&&e.runningInApp?e.translations.button.save:null,loading:e.loading,show:e.show},on:{clickClose:e.close,clickButtonRight:e.save},scopedSlots:e._u([e.runningInApp?null:{key:"footer",fn:function(){return[n("ara-button-new",{attrs:{"full-width":"",disabled:!e.validForm,loading:e.loading},on:{click:e.save}},[e._v(e._s(e.translations.button.send))])]},proxy:!0}],null,!0)},[n("div",{staticClass:"ara-profile-view-user-edit_content"},[n("validation-observer",{ref:"form",staticClass:"ara-profile-view-user-edit_form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit,o=t.validate;return[n("form",{on:{submit:function(t){return t.preventDefault(),r(e.submitForm)},change:function(t){return e.validateForm(o)}}},[n("ara-switch",{staticClass:"ara-profile-view-user-edit_text-highlight",attrs:{label:e.translations.form.visible.label,block:""},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}}),e._v(" "),n("p",{staticClass:"ara-profile-view-user-edit_text",domProps:{textContent:e._s(e.translations.form.visible.text)}}),e._v(" "),n("ara-profile-input-img",{staticClass:"ara-profile-view-user-edit_photo",attrs:{name:"photo",sizeLimit:e.profileImageSizeLimit},model:{value:e.photo,callback:function(t){e.photo=t},expression:"photo"}}),e._v(" "),n("ara-text-input-with-validation",{staticClass:"ara-profile-view-user-edit_form-field",attrs:{name:"name",rules:"required",helperText:e.translations.form.name.helperText,"custom-messages":e.translations.form.name.errormessages,label:e.translations.form.name.label},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),n("ara-textarea",{staticClass:"ara-profile-view-user-edit_form-field",attrs:{name:"description",rows:6,label:e.translations.form.description.label},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}}),e._v(" "),n("p",{staticClass:"ara-profile-view-user-edit_text ara-profile-view-user-edit_text--final"},[e._v("\n "+e._s(e.translations.form.text)+"\n "),n("button",{staticClass:"ara-profile-view-user-edit_button",on:{click:function(t){return t.preventDefault(),e.showPublicProfile()}}},[e._v("\n "+e._s(e.translations.form.link)+"\n ")])])],1)]}}])})],1)])],1)},[],!1,null,null,null).exports,pl=(0,Le.A)({name:"ara-profile-tab-item"},function(){var e=this,t=e.$createElement;return(e._self._c||t)("li",{staticClass:"ara-profile-tab-item"},[e._t("default")],2)},[],!1,null,null,null).exports,dl={name:"ara-profile-tab-items",props:{tabActive:{type:Number}},data:function(){return{currentTab:0}},computed:{tabs:function(){return this.$el.querySelectorAll(".ara-profile-tab-item")}},watch:{tabActive:function(e){this.changeTab(e)}},mounted:function(){this.initState()},methods:{initState:function(){this.currentTab=this.tabActive;var e=this.tabActive;
2this.tabs.forEach(function(t,n){e>n?(t.classList.add("ara-profile-tab-item--prev"),t.setAttribute("aria-hidden","true")):e===n?t.setAttribute("aria-hidden","false"):(t.classList.add("ara-profile-tab-item--next"),t.setAttribute("aria-hidden","true"))})},changeTab:function(e){e>this.currentTab?(this.tabs[this.currentTab].classList.add("ara-profile-tab-item--prev"),this.tabs[this.currentTab].setAttribute("aria-hidden","true"),this.tabs[e].classList.remove("ara-profile-tab-item--next"),this.tabs[e].setAttribute("aria-hidden","false")):(this.tabs[this.currentTab].classList.add("ara-profile-tab-item--next"),this.tabs[this.currentTab].setAttribute("aria-hidden","true"),this.tabs[e].classList.remove("ara-profile-tab-item--prev"),this.tabs[e].setAttribute("aria-hidden","false")),this.currentTab=e}}},fl=(0,Le.A)(dl,function(){var e=this,t=e.$createElement;return(e._self._c||t)("ol",{staticClass:"ara-profile-tab-items"},[e._t("default")],2)},[],!1,null,null,null).exports,ml={name:"ara-profile-tab",props:{position:{type:Number,required:!0},textup:{type:[Number,String]},textdown:{type:String},active:{type:Boolean,default:!1}},methods:{onClick:function(){this.$emit("click",this.position)}}},hl=(0,Le.A)(ml,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:["ara-profile-tab",{"ara-profile-tab--active":e.active}],attrs:{"aria-selected":e.active,role:"tab"}},[n("button",{staticClass:"ara-profile-tab_button",on:{click:e.onClick}},[e.textup?n("span",{staticClass:"ara-profile-tab_text"},[e._v(e._s(e.textup))]):e._e(),e._v(" "),e.textdown?n("span",{staticClass:"ara-profile-tab_text"},[e._v(e._s(e.textdown))]):e._e()])])},[],!1,null,null,null).exports,gl={name:"ara-profile-tabs-slider",props:{value:{type:Number}},data:function(){return{styleSlider:{left:0,width:0}}},watch:{value:function(){this.updatePosition()}},mounted:function(){this.updatePosition(),window.addEventListener("resize",this.updatePosition)},beforeDestroy:function(){window.removeEventListener("resize",this.updatePosition)},methods:{updatePosition:function(){var e=this.$parent.$el.querySelectorAll(".ara-profile-tab"),t=null;void 0!==e&&(t=e[this.value],this.styleSlider={left:"".concat(t.offsetLeft,"px"),width:"".concat(t.offsetWidth,"px")})}}},vl={name:"ara-profile-tabs",components:{araProfileTab:hl,araProfileTabsSlider:(0,Le.A)(gl,function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ara-profile-tabs-slider",style:e.styleSlider})},[],!1,null,null,null).exports},props:{value:{type:Number,default:0},tabs:{type:Array,required:!0}},computed:{active:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},tabsSize:function(){return this.tabs.length}},methods:{changeActive:function(e){this.active=e},swipeHandler:function(e){"left"===e?this.next():"right"===e&&this.prev()},prev:function(){this.active<this.tabsSize-1&&(this.active+=1)},next:function(){this.active>0&&(this.active-=1)}}},bl=(0,Le.A)(vl,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ol",{directives:[{name:"touch",rawName:"v-touch:swipe",value:e.swipeHandler,expression:"swipeHandler",arg:"swipe"}],staticClass:"ara-profile-tabs",attrs:{role:"tablist"}},[n("ara-profile-tabs-slider",{model:{value:e.active,callback:function(t){e.active=t},expression:"active"}}),e._v(" "),e._l(e.tabs,function(t,r){return n("ara-profile-tab",{key:r,attrs:{active:e.active===r,position:r,textup:t.textup,textdown:t.textdown},on:{click:e.changeActive}})})],2)},[],!1,null,null,null).exports;function yl(e){return yl="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},yl(e)}function wl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wl(Object(n),!0).forEach(function(t){_l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wl(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _l(e,t,n){return(t=function(e){var t=function(e){if("object"!=yl(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=yl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sl={name:"ara-profile-follow-card",components:{araButtonNew:lt.A},props:{text:{type:String},href:{type:String},user:{type:Object},initialLetter:{type:String},isFollowed:{type:Boolean,default:!1}},methods:Cl(Cl({},(0,G.i0)("user",["toggleShowPublicProfile","setPublicProfileId"])),{},{onClick:function(e){this.$emit("click",e)},openPublicProfile:function(e){this.toggleShowPublicProfile(),this.setPublicProfileId(e)}})},kl=(0,Le.A)(Sl,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-follow-card",class:{premium:e.user&&e.user.premium&&e.user.insignia}},[e.user||e.initialLetter?n("div",{staticClass:"ara-profile-follow-card_avatar"},[e.user&&e.user.avatarUrl?n("img",{staticClass:"ara-profile-follow-card_image",attrs:{src:e.user.avatarUrl,alt:e.user.nick}}):n("span",{staticClass:"ara-profile-follow-card_initial",domProps:{textContent:e._s(e.initialLetter)}})]):e._e(),e._v(" "),e.href?n("a",{staticClass:"ara-profile-follow-card_link",attrs:{href:e.href},domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"ara-profile-follow-card_text",domProps:{textContent:e._s(e.text)},on:{click:function(t){return e.openPublicProfile(e.user.id)}}}),e._v(" "),e.isFollowed?n("ara-button-new",{attrs:{rounded:"",secondary:"","icon-position":"prepend","icon-type":"ok-circle"},on:{click:e.onClick}},[e._v(e._s(e.$t("elements.following")))]):n("ara-button-new",{attrs:{rounded:"",secondary:"",outlined:"","icon-position":"prepend","icon-type":"plus-circle"},on:{click:e.onClick}},[e._v(e._s(e.$t("elements.follow")))])],1)},[],!1,null,null,null).exports;function Al(e){return Al="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},Al(e)}function Pl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return xl(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(xl(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,xl(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,xl(p,"constructor",c),xl(c,"constructor",l),l.displayName="GeneratorFunction",xl(c,o,"GeneratorFunction"),xl(p),xl(p,o,"Generator"),xl(p,r,function(){return this}),xl(p,"toString",function(){return"[object Generator]"}),(Pl=function(){return{w:i,m:d}})()}function xl(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}xl=function(e,t,n,r){function i(t,n){xl(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},xl(e,t,n,r)}function Ol(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Il(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ll(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Il(Object(n),!0).forEach(function(t){El(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Il(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function El(e,t,n){return(t=function(e){var t=function(e){if("object"!=Al(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Al(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Al(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jl={name:"ara-profile-view-followers",props:{show:{type:Boolean,default:!1}},data:function(){return{iconCommentOff:va,tabActive:0,loading:!1}},mixins:[X.A],components:{araProfileBlockEmpty:ms,araProfileFollowCard:kl,araProfileListMore:gs},computed:Ll(Ll(Ll({},(0,G.L8)("user/interests",["followersCards","followersNextPage","followersHasMoreResults","userIsFollowed"])),(0,G.L8)(["runningInApp"])),{},{translations:function(){return{title:this.$t("profile.readers.title"),followings:{title:null},button:{more:this.$t("profile.button.more")},followersempty:this.$t("profile.readers.followersempty"),followersremember:this.$t("profile.readers.followersremember")}},followers:function(){return this.followersCards.map(this.followUserCardToProfileFollowCad)},buttonMore:function(){return this.followersHasMoreResults?this.translations.button.more:null}}),methods:Ll(Ll({},(0,G.i0)("user/interests",["toggleFollowingUser","searchFollowers"])),{},{followUserCardToProfileFollowCad:function(e){var t={nick:e.nick||"",id:e.userId,premium:e.premium,insignia:e.insignia||!1};return e.avatar&&(t.avatarUrl=e.avatar),{followed:this.userIsFollowed(e.userId),id:e.userId,text:e.nick?"@".concat(e.nick):e.name,user:t,initialLetter:e.name[0].toUpperCase()}},toggleFollow:function(e){var t=this;this.$track({category:"comments",action:e.followed?"unfollow":"follow",label:e.id}),this.toggleFollowingUser({userId:e.id,follow:!e.followed}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},getNextPage:function(e){var t,n=this;return(t=Pl().m(function t(){var r;return Pl().w(function(t){for(;;)switch(t.n){case 0:return r=e||n.followersNextPage,n.loading=!0,t.n=1,n.searchFollowers({page:r});case 1:n.loading=!1,n.lazy.update();case 2:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){Ol(i,r,o,a,s,"next",e)}function s(e){Ol(i,r,o,a,s,"throw",e)}a(void 0)})})()}}),watch:{show:{handler:function(e){e&&!this.followersCards.length?this.getNextPage(1):this.followersCards.length&&this.lazy.update()},immediate:!0},followersNextPage:function(e,t){e<t&&this.getNextPage(e)}}},Tl=jl,Dl=(0,Le.A)(Tl,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-following-users"},[e.loading&&!e.followersCards.length?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):e._e(),e._v(" "),e.followersCards.length?n("ara-profile-list-more",e._b({attrs:{buttonMore:e.buttonMore,loading:e.loading},on:{clickMore:function(t){return e.getNextPage()}}},"ara-profile-list-more",e.translations.followings,!1),e._l(e.followers,function(t){return n("ara-profile-follow-card",e._b({key:t.id,attrs:{isFollowed:t.followed},on:{click:function(n){return e.toggleFollow(t)}}},"ara-profile-follow-card",t,!1))}),1):e.loading?e._e():n("ara-profile-block-empty",{attrs:{alert:e.translations.followersempty,icon:e.iconCommentOff,text:e.translations.followersremember}})],1)},[],!1,null,null,null).exports;function Ml(e){return Ml="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},Ml(e)}function Fl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Rl(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Rl(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Rl(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Rl(p,"constructor",c),Rl(c,"constructor",l),l.displayName="GeneratorFunction",Rl(c,o,"GeneratorFunction"),Rl(p),Rl(p,o,"Generator"),Rl(p,r,function(){return this}),Rl(p,"toString",function(){return"[object Generator]"}),(Fl=function(){return{w:i,m:d}})()}function Rl(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Rl=function(e,t,n,r){function i(t,n){Rl(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Rl(e,t,n,r)}function Bl(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Nl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ul(Object(n),!0).forEach(function(t){$l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ul(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $l(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ml(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ml(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ml(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Vl={name:"ara-profile-view-following-users",props:{show:{type:Boolean,default:!1}},data:function(){return{tabActive:0,loading:!1}},mixins:[X.A],components:{araProfileAlertEmpty:Ua,araProfileFollowCard:kl,araProfileListMore:gs},computed:Nl(Nl(Nl({},(0,G.L8)("user/interests",["followingUserCards","followingUserNextPage","followingUserHasMoreResults"])),(0,G.L8)(["runningInApp"])),{},{translations:function(){return{title:this.$t("profile.readers.title"),followings:{title:null},button:{more:this.$t("profile.button.more")},followingsempty:this.$t("profile.readers.followingsempty")}},followingUsers:function(){return this.followingUserCards.map(this.followUserCardToProfileFollowCad)},buttonMore:function(){return this.followingUserHasMoreResults?this.translations.button.more:null}}),methods:Nl(Nl({},(0,G.i0)("user/interests",["toggleFollowingUser","searchFollowingUsers"])),{},{followUserCardToProfileFollowCad:function(e){var t={nick:e.nick||"",id:e.userId,premium:e.premium};return e.avatar&&(t.avatarUrl=e.avatar),{followed:!0,id:e.userId,text:e.nick?"@".concat(e.nick):e.name,user:t,initialLetter:e.name[0].toUpperCase()}},remove:function(e){var t=this;this.$track({category:"comments",action:"unfollow",label:e.id}),this.toggleFollowingUser({userId:e.id,follow:!1}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},getNextPage:function(e){var t,n=this;return(t=Fl().m(function t(){var r;return Fl().w(function(t){for(;;)switch(t.n){case 0:return r=e||n.followingUserNextPage,n.loading=!0,t.n=1,n.searchFollowingUsers({page:r});case 1:n.loading=!1,n.lazy.update();case 2:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){Bl(i,r,o,a,s,"next",e)}function s(e){Bl(i,r,o,a,s,"throw",e)}a(void 0)})})()}}),watch:{show:{handler:function(e){e&&!this.followingUserCards.length?this.getNextPage(1):this.followingUserCards.length&&this.lazy.update()},immediate:!0},followingUserNextPage:function(e,t){e<t&&this.getNextPage(e)}}}
2,Hl=Vl,ql=(0,Le.A)(Hl,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-following-users"},[e.loading&&!e.followingUserCards.length?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):e._e(),e._v(" "),e.followingUserCards.length?n("ara-profile-list-more",e._b({attrs:{buttonMore:e.buttonMore,loading:e.loading},on:{clickMore:function(t){return e.getNextPage()}}},"ara-profile-list-more",e.translations.followings,!1),e._l(e.followingUsers,function(t){return n("ara-profile-follow-card",e._b({key:t.id,attrs:{isFollowed:t.followed},on:{click:function(n){return e.remove(t)}}},"ara-profile-follow-card",t,!1))}),1):e.loading?e._e():n("ara-profile-alert-empty",{attrs:{text:e.translations.followingsempty}})],1)},[],!1,null,null,null).exports;function Gl(e){return Gl="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},Gl(e)}function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(n),!0).forEach(function(t){Kl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kl(e,t,n){return(t=function(e){var t=function(e){if("object"!=Gl(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Gl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zl={name:"ara-profile-view-readers",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,tabActive:0}},components:{araProfileSection:fo,araProfileTabItem:pl,araProfileTabItems:fl,araProfileTabs:bl,araProfileViewFollowers:Dl,araProfileViewFollowingUsers:ql},computed:Wl(Wl(Wl({},(0,G.L8)("user",["currentUser"])),(0,G.L8)("user/interests",["followedUsersTotal","followersTotal"])),{},{translations:function(){return{title:this.$t("profile.readers.title")}},tabs:function(){return[{textup:this.followersTotal,textdown:this.$t("profile.readers.followers")},{textup:this.followedUsersTotal,textdown:this.$t("profile.readers.followings")}]}}),methods:{close:function(){this.$emit("close")}}},Yl=(0,Le.A)(Zl,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-readers"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("ara-profile-tabs",{attrs:{tabs:e.tabs},model:{value:e.tabActive,callback:function(t){e.tabActive=t},expression:"tabActive"}}),e._v(" "),n("ara-profile-tab-items",{attrs:{tabActive:e.tabActive}},[n("ara-profile-tab-item",[n("ara-profile-view-followers",{attrs:{show:e.show&&0===e.tabActive}})],1),e._v(" "),n("ara-profile-tab-item",[n("ara-profile-view-following-users",{attrs:{show:e.show&&1===e.tabActive}})],1)],1)],1)],1)},[],!1,null,null,null).exports,Jl=(0,Le.A)({name:"ara-profile-simple-wrapper"},function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ara-profile-simple-wrapper"},[e._t("default")],2)},[],!1,null,null,null).exports;function Ql(e){return Ql="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},Ql(e)}function Xl(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return ec(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ec(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ec(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,ec(p,"constructor",c),ec(c,"constructor",l),l.displayName="GeneratorFunction",ec(c,o,"GeneratorFunction"),ec(p),ec(p,o,"Generator"),ec(p,r,function(){return this}),ec(p,"toString",function(){return"[object Generator]"}),(Xl=function(){return{w:i,m:d}})()}function ec(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ec=function(e,t,n,r){function i(t,n){ec(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ec(e,t,n,r)}function tc(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function nc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nc(Object(n),!0).forEach(function(t){oc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oc(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ql(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ql(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ql(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ic={name:"ara-profile-view-signs",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,searchText:"",loading:!1}},mixins:[X.A],components:{araProfileAlertEmpty:Ua,araProfileFollowCard:kl,araProfileListMore:gs,araProfileSection:fo,araProfileSimpleWrapper:Jl},computed:rc(rc(rc(rc({},(0,G.aH)("user/interests",["followedAuthorsIds"])),(0,G.L8)("user/interests",["followedAuthorsCards"])),(0,G.L8)(["runningInApp"])),{},{translations:function(){return{title:this.$t("profile.signs.title"),followings:{title:this.$t("profile.signs.followings.title")},suggestions:{title:this.$t("profile.signs.suggestions.title")},button:{more:this.$t("profile.button.more")},followingsempty:this.$t("profile.signs.followingsempty")}},following:function(){return this.followedAuthorsCards.map(this.authorCardToProfileFollowCard)},suggestions:function(){return[]}}),methods:rc(rc({},(0,G.i0)("user/interests",["toggleFollowAuthor","searchFollowedAuthors"])),{},{authorCardToProfileFollowCard:function(e){return{id:e.id,text:e.name,initialLetter:e.name[0].toUpperCase(),href:e.url,user:e.image&&e.image.url?{avatarUrl:e.image.url,nick:e.name}:null}},close:function(){this.$emit("close")},unfollow:function(e){var t=this;this.toggleFollowAuthor({authorId:e.id,follow:!1}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},search:function(){console.log(this.searchText)},fetch:function(){var e,t=this;return(e=Xl().m(function e(){return Xl().w(function(e){for(;;)switch(e.n){case 0:return t.loading=!0,e.n=1,t.searchFollowedAuthors();case 1:t.loading=!1;case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){tc(i,r,o,a,s,"next",e)}function s(e){tc(i,r,o,a,s,"throw",e)}a(void 0)})})()}}),watch:{show:function(e){e&&this.fetch()},followedAuthorsIds:function(){this.show&&this.fetch()}}},ac=ic,sc=(0,Le.A)(ac,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-signs"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[e.loading?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):[e.following.length?n("ara-profile-list-more",e._b({}
2,"ara-profile-list-more",e.translations.followings,!1),e._l(e.following,function(t){return n("ara-profile-follow-card",e._b({key:t.id,attrs:{isFollowed:!0},on:{click:function(n){return e.unfollow(t)}}},"ara-profile-follow-card",t,!1))}),1):n("ara-profile-alert-empty",{attrs:{text:e.translations.followingsempty}}),e._v(" "),e.suggestions.length?n("ara-profile-list-more",e._b({attrs:{buttonMore:e.translations.button.more}},"ara-profile-list-more",e.translations.suggestions,!1),e._l(e.suggestions,function(t,r){return n("ara-profile-follow-card",e._b({key:r,on:{click:e.follow}},"ara-profile-follow-card",t,!1))}),1):e._e()]],2)],1)},[],!1,null,null,null).exports;function lc(e){return lc="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},lc(e)}function cc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return uc(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(uc(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,uc(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,uc(p,"constructor",c),uc(c,"constructor",l),l.displayName="GeneratorFunction",uc(c,o,"GeneratorFunction"),uc(p),uc(p,o,"Generator"),uc(p,r,function(){return this}),uc(p,"toString",function(){return"[object Generator]"}),(cc=function(){return{w:i,m:d}})()}function uc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}uc=function(e,t,n,r){function i(t,n){uc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},uc(e,t,n,r)}function pc(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(n),!0).forEach(function(t){mc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mc(e,t,n){return(t=function(e){var t=function(e){if("object"!=lc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const hc={name:"ara-profile-view-themes",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,loading:!1}}
2,mixins:[X.A],components:{araProfileAlertEmpty:Ua,araProfileFollowCard:kl,araProfileListMore:gs,araProfileSection:fo},computed:fc(fc(fc(fc({},(0,G.aH)("user/interests",["followedTopicsIds"])),(0,G.L8)("user/interests",["followedTopicsCards"])),(0,G.L8)(["runningInApp"])),{},{translations:function(){return{title:this.$t("profile.themes.title"),followings:{title:this.$t("profile.themes.followings.title")},suggestions:{title:this.$t("profile.themes.suggestions.title")},button:{more:this.$t("profile.button.more")},followingsempty:this.$t("profile.themes.followingsempty")}},following:function(){return this.followedTopicsCards.map(this.topicCardToProfileFollowCard)},suggestions:function(){return[]}}),methods:fc(fc({},(0,G.i0)("user/interests",["toggleFollowTopic","searchFollowedTopics"])),{},{close:function(){this.$emit("close")},follow:function(e){var t=this;this.toggleFollowTopic({topicId:e.id,follow:!0}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},remove:function(e){var t=this;this.toggleFollowTopic({topicId:e.id,follow:!1}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},topicCardToProfileFollowCard:function(e){return{id:e.id,text:e.name,href:e.url}},fetch:function(){var e,t=this;return(e=cc().m(function e(){return cc().w(function(e){for(;;)switch(e.n){case 0:return t.loading=!0,e.n=1,t.searchFollowedTopics();case 1:t.loading=!1;case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){pc(i,r,o,a,s,"next",e)}function s(e){pc(i,r,o,a,s,"throw",e)}a(void 0)})})()}}),watch:{show:function(e){e&&this.fetch()},followedTopicsIds:function(){this.show&&this.fetch()}}},gc=hc,vc=(0,Le.A)(gc,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-themes"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[e.loading?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):[e.following.length?n("ara-profile-list-more",e._b({},"ara-profile-list-more",e.translations.followings,!1),e._l(e.following,function(t){return n("ara-profile-follow-card",e._b({key:t.id,attrs:{isFollowed:!0},on:{click:function(n){return e.remove(t)}}},"ara-profile-follow-card",t,!1))}),1):n("ara-profile-alert-empty",{attrs:{text:e.translations.followingsempty}}),e._v(" "),e.suggestions.length?n("ara-profile-list-more",e._b({attrs:{buttonMore:e.translations.button.more}},"ara-profile-list-more",e.translations.suggestions,!1),e._l(e.suggestions,function(t){return n("ara-profile-follow-card",e._b({key:t.id,on:{click:function(n){return e.follow(t)}}},"ara-profile-follow-card",t,!1))}),1):e._e()]],2)],1)},[],!1,null,null,null).exports;function bc(e){return bc="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},bc(e)}function yc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return wc(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(wc(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,wc(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,wc(p,"constructor",c),wc(c,"constructor",l),l.displayName="GeneratorFunction",wc(c,o,"GeneratorFunction"),wc(p),wc(p,o,"Generator"),wc(p,r,function(){return this}),wc(p,"toString",function(){return"[object Generator]"}),(yc=function(){return{w:i,m:d}})()}function wc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}wc=function(e,t,n,r){function i(t,n){wc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},wc(e,t,n,r)}function Cc(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_c(Object(n),!0).forEach(function(t){kc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kc(e,t,n){return(t=function(e){var t=function(e){if("object"!=bc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ac={name:"ara-profile-view-columnes",props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,loading:!1}},mixins:[X.A],components:{araProfileAlertEmpty:Ua,araProfileFollowCard:kl,araProfileListMore:gs,araProfileSection:fo},computed:Sc(Sc(Sc(Sc({},(0,G.aH)("user/interests",["followedColumnsIds"])),(0,G.L8)("user/interests",["followedColumnsCards"])),(0,G.L8)(["runningInApp"])),{},{translations:function(){return{title:this.$t("profile.columns.title"),followings:{title:this.$t("profile.columns.followings.title")},suggestions:{title:this.$t("profile.columns.suggestions.title")},button:{more:this.$t("profile.button.more")},followingsempty:this.$t("profile.columns.followingsempty")}},following:function(){return this.followedColumnsCards.map(this.columnCardToProfileFollowCard)},suggestions:function(){return[]}}),methods:Sc(Sc({},(0,G.i0)("user/interests",["toggleFollowColumn","searchFollowedColumns"])),{},{close:function(){this.$emit("close")},follow:function(e){var t=this;this.toggleFollowColumn({columnId:e.id,follow:!0}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},remove:function(e){var t=this;this.toggleFollowColumn({columnId:e.id,follow:!1}).then(function(){t.runningInApp&&t.channelAction("requestToken")})},columnCardToProfileFollowCard:function(e){return{id:e.id,text:e.name,href:e.url}},fetch:function(){var e,t=this;return(e=yc().m(function e(){return yc().w(function(e){for(;;)switch(e.n){case 0:return t.loading=!0,e.n=1,t.searchFollowedColumns();case 1:t.loading=!1;case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Cc(i,r,o,a,s,"next",e)}function s(e){Cc(i,r,o,a,s,"throw",e)}a(void 0)})})()}}),watch:{show:function(e){e&&this.fetch()},followedColumnsIds:function(){this.show&&this.fetch()}}},Pc=Ac;function xc(e){return xc="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},xc(e)}function Oc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ic(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oc(Object(n),!0).forEach(function(t){Lc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lc(e,t,n){return(t=function(e){var t=function(e){if("object"!=xc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=xc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ec={name:"ara-profile-view-seguint",components:{araProfileSection:fo,araProfileList:st,araProfileMenuButton:ho,araProfileViewReaders:Yl,araProfileViewSigns:sc,araProfileViewThemes:vc,araProfileViewColumnes:(0,Le.A)(Pc,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-columnes"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[e.loading?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):[e.following.length?n("ara-profile-list-more",e._b({}
2,"ara-profile-list-more",e.translations.followings,!1),e._l(e.following,function(t){return n("ara-profile-follow-card",e._b({key:t.id,attrs:{isFollowed:!0},on:{click:function(n){return e.remove(t)}}},"ara-profile-follow-card",t,!1))}),1):n("ara-profile-alert-empty",{attrs:{text:e.translations.followingsempty}}),e._v(" "),e.suggestions.length?n("ara-profile-list-more",e._b({attrs:{buttonMore:e.translations.button.more}},"ara-profile-list-more",e.translations.suggestions,!1),e._l(e.suggestions,function(t){return n("ara-profile-follow-card",e._b({key:t.id,on:{click:function(n){return e.follow(t)}}},"ara-profile-follow-card",t,!1))}),1):e._e()]],2)],1)},[],!1,null,null,null).exports},props:{show:{type:Boolean,default:!1}},mixins:[X.A],data:function(){return{iconArrowBack:Et.A,iconCreate:pa,iconRight:xe.A,iconList:fa,iconPeople:ma.A,iconProfileColumnes:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_335_1982)">\n<path d="M7.49995 4.16665V4.48331C6.80829 4.20831 6.06662 4.06665 5.32495 4.06665C4.14162 4.06665 2.95829 4.42498 1.94995 5.14165C1.52495 5.44165 1.47495 6.04998 1.84162 6.41665L3.98329 8.55831H4.90829V9.48331C5.62495 10.2 6.55829 10.575 7.49995 10.6166V12.5H5.83329C5.37495 12.5 4.99995 12.875 4.99995 13.3333V15C4.99995 15.9166 5.74995 16.6666 6.66662 16.6666H15C16.3833 16.6666 17.5 15.55 17.5 14.1666V4.16665C17.5 3.70831 17.125 3.33331 16.6666 3.33331H8.33329C7.87495 3.33331 7.49995 3.70831 7.49995 4.16665ZM6.57495 8.67498V6.88331H4.67495L3.80829 6.01665C4.28329 5.83331 4.79995 5.73331 5.32495 5.73331C6.44162 5.73331 7.48329 6.16665 8.27495 6.94998L9.44995 8.12498L9.28329 8.29165C8.85829 8.71665 8.29162 8.95831 7.68329 8.95831C7.29162 8.95831 6.90829 8.85831 6.57495 8.67498ZM15.8333 14.1666C15.8333 14.625 15.4583 15 15 15C14.5416 15 14.1666 14.625 14.1666 14.1666V13.3333C14.1666 12.875 13.7916 12.5 13.3333 12.5H9.16662V10.3416C9.64162 10.15 10.0833 9.86665 10.4666 9.48331L10.6333 9.31665L12.9916 11.6666H14.1666V10.4916L9.16662 5.51665V4.99998H15.8333V14.1666Z" fill="#888888"/>\n</g>\n<defs>\n<clipPath id="clip0_335_1982">\n<rect width="20" height="20" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n',section:{readers:!1,signs:!1,themes:!1,columnes:!1}}},computed:Ic(Ic(Ic({},(0,G.L8)(["runningInApp","runningInAppApple","channel","env"])),(0,G.L8)("user",["currentUser"])),{},{translations:function(){return{title:this.$t("profile.seguint.title"),menu:{list:{title:this.$t("profile.seguint.title")}},button:{readers:this.$t("profile.suscriptor.button.readers"),signs:this.$t("profile.suscriptor.button.signs"),themes:this.$t("profile.suscriptor.button.themes"),columnes:this.$t("profile.suscriptor.button.columnes")}}}}),methods:{openSection:function(e){this.section[e]=!0},closeSection:function(e){this.section[e]=!1},close:function(){this.$emit("close")},resetMenu:function(){var e=!1;window.location.hash.startsWith("#profile.readers")&&(e=!0);var t=!1;window.location.hash.startsWith("#profile.signs")&&(t=!0);var n=!1;window.location.hash.startsWith("#profile.themes")&&(n=!0);var r=!1;window.location.hash.startsWith("#profile.columnes")&&(r=!0),this.section={readers:e,signs:t,themes:n,columnes:r}}},watch:{show:function(e){e&&this.resetMenu()}}},jc=(0,Le.A)(Ec,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-seguint",class:{"in-app":"app"===e.channel}},[n("ara-profile-section",{attrs:{expanded:"",title:e.translations.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconCreate,text:e.translations.button.signs,iconRight:e.iconRight},on:{click:function(t){return e.openSection("signs")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconList,text:e.translations.button.themes,iconRight:e.iconRight},on:{click:function(t){return e.openSection("themes")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileColumnes,text:e.translations.button.columnes,iconRight:e.iconRight},on:{click:function(t){return e.openSection("columnes")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconPeople,text:e.translations.button.readers,iconRight:e.iconRight},on:{click:function(t){return e.openSection("readers")}}})],1)],1),e._v(" "),n("ara-profile-view-readers",{attrs:{show:e.section.readers},on:{close:function(t){return e.closeSection("readers")}}}),e._v(" "),n("ara-profile-view-signs",{attrs:{show:e.section.signs},on:{close:function(t){return e.closeSection("signs")}}}),e._v(" "),n("ara-profile-view-themes",{attrs:{show:e.section.themes},on:{close:function(t){return e.closeSection("themes")}}}),e._v(" "),n("ara-profile-view-columnes",{attrs:{show:e.section.columnes},on:{close:function(t){return e.closeSection("columnes")}}})],1)},[],!1,null,null,null).exports;function Tc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Dc(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Dc(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Dc(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Dc(p,"constructor",c),Dc(c,"constructor",l),l.displayName="GeneratorFunction",Dc(c,o,"GeneratorFunction"),Dc(p),Dc(p,o,"Generator"),Dc(p,r,function(){return this}),Dc(p,"toString",function(){return"[object Generator]"}),(Tc=function(){return{w:i,m:d}})()}function Dc(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Dc=function(e,t,n,r){function i(t,n){Dc(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Dc(e,t,n,r)}function Mc(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}const Fc={name:"ara-profile-view-modal",components:{araProfileBlockEmpty:ms,araProfileList:st,araLoading:{name:"ara-loading"},araProfileSection:fo},props:{show:{type:Boolean,default:!1},type:{type:String,default:null},userType:{type:String,default:null},customHtmlModals:{type:String}},data:function(){return{iconArrowBack:Et.A,iconSaveOff:ha.A,iconTrash:ls.A,iconSettings:lo,iconClose:cn.A,iconInfo:di,loading:!1,tabTitle:"",alert:"",title:"",text:""}},computed:{translations:function(){return{gifts:{tabTitle:this.$t("profile.give-away.title"),register:{epigraph:this.$t("profile.locked.gifts.register.epigraph"),title:this.$t("profile.locked.gifts.register.title"),text:this.$t("profile.locked.gifts.register.text")},subscriber:{title:this.$t("profile.locked.gifts.subscriber.title"),text:this.$t("profile.locked.gifts.subscriber.text")}},comments:{tabTitle:this.$t("profile.suscriptor.button.comments"),register:{epigraph:this.$t("profile.locked.comments.register.epigraph"),title:this.$t("profile.locked.comments.register.title"),text:this.$t("profile.locked.comments.register.text")},subscriber:{title:this.$t("profile.locked.comments.subscriber.title"),text:this.$t("profile.locked.comments.subscriber.text")}},espai:{tabTitle:this.$t("profile.suscriptor.button.subscriptor_space"),register:{epigraph:this.$t("profile.locked.espai.register.epigraph"),title:this.$t("profile.locked.espai.register.title"),text:this.$t("profile.locked.espai.register.text")}}}}},methods:{close:function(){this.$emit("close")},fetch:function(){var e,t=this;return(e=Tc().m(function e(){return Tc().w(function(e){for(;;)switch(e.n){case 0:t.loading=!0,null!==t.type&&null!==t.userType&&void 0!==t.translations[t.type]&&void 0!==t.translations[t.type][t.userType]?(t.tabTitle=t.translations[t.type].tabTitle,void 0!==t.translations[t.type][t.userType]&&(t.alert=t.translations[t.type][t.userType].epigraph),t.title=t.translations[t.type][t.userType].title,t.text=t.translations[t.type][t.userType].text):console.debug("type or userType not initialized"),t.loading=!1;case 1:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Mc(i,r,o,a,s,"next",e)}function s(e){Mc(i,r,o,a,s,"throw",e)}a(void 0)})})()},resetModal:function(){this.tabTitle="",this.alert="",this.title="",this.text="",this.loading=!1}},watch:{show:function(e){e?this.fetch():this.resetModal()}},mounted:function(){}},Rc=Fc,Bc=(0,Le.A)(Rc,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-modal",class:{empty:!e.loading&&""!==e.type}},[n("ara-profile-section",{staticStyle:{height:"100%"},attrs:{title:e.tabTitle,icon:e.iconArrowBack,show:e.show,loading:e.loading},on:{clickClose:e.close}},[e.alert?n("div",{staticClass:"ara-profile-alert-empty",attrs:{role:"alert"}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconInfo)}}),e._v(" "),n("span",{domProps:{textContent:e._s(e.alert)}}
2)]):e._e(),e._v(" "),n("ara-profile-list",[e._t("header",[n("div",{staticClass:"ara-profile-list_title"},[n("span",[e._v(e._s(e.title))])])]),e._v(" "),e._t("default",[n("div",{staticClass:"ara-profile-list_text",domProps:{textContent:e._s(e.text)}}),e._v(" "),n("div",{staticClass:"ara-profile-list_html",domProps:{innerHTML:e._s(e.customHtmlModals)}})])],2)],1)],1)},[],!1,null,null,null).exports;function Uc(e){return Uc="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},Uc(e)}function Nc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nc(Object(n),!0).forEach(function(t){Vc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vc(e,t,n){return(t=function(e){var t=function(e){if("object"!=Uc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Uc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Uc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hc={name:"ara-profile-view-register",components:{araProfileList:st,araProfileMenuButton:ho,araProfileSection:fo,araProfileUser:Fa,araProfileViewConfiguration:ea,araProfileViewNotifications:ss,araProfileViewSaves:xs,araProfileViewSavesList:Bs,araProfileViewSubscription:Bi,araProfileViewSubscriptionCard:qs,araProfileViewUserEdit:ul,araProfileViewSeguint:jc,araProfileViewModal:Bc,araButtonNew:lt.A},data:function(){return{iconBell:sa,iconCardGiftcard:la.A,iconCardMembership:ca,iconClose:cn.A,iconCommentOff:ua.A,iconCreate:pa,iconHelpOutline:da,iconList:fa,iconPeople:ma.A,iconRight:xe.A,iconSaveOff:ha.A,iconSettings:lo,iconShoppingCart:ga,iconProfileComment:va,iconProfileSave:ba,iconProfilePeople:'<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>group-24px copy 3</title>\n <defs>\n <filter id="filter-1">\n <feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0.577078 0 0 0 0 0.577078 0 0 0 0 0.577078 0 0 0 1.000000 0"></feColorMatrix>\n </filter>\n </defs>\n <g id="Perfil-Subscriptor" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g filter="url(#filter-1)" id="group-24px-copy-3">\n <g>\n <polygon id="Path" points="0 0 20 0 20 20 0 20"></polygon>\n <path d="M7.5,11.4583333 C5.55,11.4583333 1.66666667,12.4333333 1.66666667,14.375 L1.66666667,15.8333333 L13.3333333,15.8333333 L13.3333333,14.375 C13.3333333,12.4333333 9.45,11.4583333 7.5,11.4583333 Z M3.61666667,14.1666667 C4.31666667,13.6833333 6.00833333,13.125 7.5,13.125 C8.99166667,13.125 10.6833333,13.6833333 11.3833333,14.1666667 L3.61666667,14.1666667 Z M7.5,10 C9.10833333,10 10.4166667,8.69166667 10.4166667,7.08333333 C10.4166667,5.475 9.10833333,4.16666667 7.5,4.16666667 C5.89166667,4.16666667 4.58333333,5.475 4.58333333,7.08333333 C4.58333333,8.69166667 5.89166667,10 7.5,10 Z M7.5,5.83333333 C8.19166667,5.83333333 8.75,6.39166667 8.75,7.08333333 C8.75,7.775 8.19166667,8.33333333 7.5,8.33333333 C6.80833333,8.33333333 6.25,7.775 6.25,7.08333333 C6.25,6.39166667 6.80833333,5.83333333 7.5,5.83333333 Z M13.3666667,11.5083333 C14.3333333,12.2083333 15,13.1416667 15,14.375 L15,15.8333333 L18.3333333,15.8333333 L18.3333333,14.375 C18.3333333,12.6916667 15.4166667,11.7333333 13.3666667,11.5083333 L13.3666667,11.5083333 Z M12.5,10 C14.1083333,10 15.4166667,8.69166667 15.4166667,7.08333333 C15.4166667,5.475 14.1083333,4.16666667 12.5,4.16666667 C12.05,4.16666667 11.6333333,4.275 11.25,4.45833333 C11.775,5.2 12.0833333,6.10833333 12.0833333,7.08333333 C12.0833333,8.05833333 11.775,8.96666667 11.25,9.70833333 C11.6333333,9.89166667 12.05,10 12.5,
210 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>\n </g>\n </g>\n </g>\n</svg>\n',iconProfileSeguint:ya,iconLoyalty:wa,iconProfileMapLocation:Ca,section:{comments:!1,configuration:!1,contact:!1,notifications:!1,saves:!1,saves_list:!1,user_edit:!1,subscription_card:!1,seguint:!1,modal:!1},sample_followers:"00.000",sample_followings:"00.000",sample_profilepublic:!0,list:null,subscriptionUrl:it.iv,modalType:""}},mixins:[X.A],props:{customHtmlModals:{type:String}},computed:$c($c($c($c($c({},(0,G.L8)(["platform","runningInApp","env"])),(0,G.L8)("user",["currentUser","showProfile","pendingNotifications"])),(0,G.aH)("user",["appleProductId"])),(0,G.L8)(["site"])),{},{translations:function(){return{title:this.$t("profile.register.title"),details:{text_follower:this.$t("profile.suscriptor.details.follower"),text_following:this.$t("profile.suscriptor.details.following"),text_public:this.$t("profile.suscriptor.details.public"),text_private:this.$t("profile.suscriptor.details.private"),text_button:this.$t("profile.suscriptor.details.edit")},button:{card_suscription:this.$t("profile.register.button.card_suscription"),notifications:this.$t("profile.suscriptor.button.notifications"),saves:this.$t("profile.suscriptor.button.saves"),comments:this.$t("profile.suscriptor.button.comments"),configuration:this.$t("profile.suscriptor.button.configuration"),help:this.$t("profile.suscriptor.button.help"),subscribe:this.$t("profile.suscriptor.button.subscribe"),seguint:this.$t("profile.suscriptor.button.seguint"),give:this.$t("profile.give-away.title"),subscriptor_space:this.$t("profile.suscriptor.button.subscriptor_space"),shop:this.$t("profile.suscriptor.button.shop"),outlets:this.$t("profile.suscriptor.button.outlets")}}},showFakeSubscriptionButtons:function(){return"DEV"===this.env||"INT"===this.env||"PRE"===this.env},canRestoreApplePurchases:function(){return"iOS"===this.platform&&this.runningInApp},iconCloseX:function(){return this.runningInApp?null:cn.A},userHasAnnualSubscription:function(){var e="ara_iphone_anual";return this.appleProductId===e||Boolean(Sa().get(e))},userHasMonthlySubscription:function(){var e="ara_iphone_mensual";return this.appleProductId===e||Boolean(Sa().get(e))},userHasActiveSubscription:function(){return this.userHasAnnualSubscription||this.userHasMonthlySubscription},restoreApplePurchasesText:function(){return this.userHasAnnualSubscription?this.$t("subscription.anual"):this.userHasMonthlySubscription?this.$t("subscription.mensual"):this.$t("profile.anonymous.link")},showAraCard:function(){return!!this.currentUser&&"ara"===this.site.alias&&this.currentUser.hasTargetActiveInSubscriptionCard}}),watch:{showProfile:function(e){e&&this.resetMenu()}},mounted:function(){window.location.hash.startsWith("#profile.notifications")&&this.openSection("notifications"),(window.location.hash.startsWith("#profile.signs")||window.location.hash.startsWith("#profile.themes")||window.location.hash.startsWith("#profile.columnes")||window.location.hash.startsWith("#profile.readers"))&&this.openSection("seguint")},methods:{restoreApplePurchases:function(){this.userHasActiveSubscription||this.channelAction("restoreAppleStorePurchases",null,function(){})},restoreAppleStoreMonthlyFakePurchases:function(){this.userHasActiveSubscription||this.channelAction("restoreAppleStoreMonthlyFakePurchases",null,function(){window.location.href="/usuari/login"})},restoreAppleStoreYearlyFakePurchases:function(){this.userHasActiveSubscription||this.channelAction("restoreAppleStoreYearlyFakePurchases",null,function(){window.location.href="/usuari/login"})},close:function(){this.$emit("close")},openSection:function(e,t){t&&(this.list=t),this.section[e]=!0},closeSection:function(e){this.section[e]=!1},goToBotiga:function(){window.location.href="https://botiga.ara.cat/"},goToOutlets:function(){window.open("https://puntsdevenda.ara.cat/")},openModal:function(e){this.modalType=e,this.openSection("modal")},closeModal:function(){this.modalType="",this.closeSection("modal")},closeSaves:function(){this.closeSection("saves"),this.list=null},resetMenu:function(){this.section={comments:!1,configuration:!1,contact:!1,notifications:!1,saves:!1,saves_list:!1,user_edit:!1,seguint:!1,modal:!1}},goToSubscripcion:function(){window.location.href=this.subscriptionUrl}}},qc=Hc,Gc=(0,Le.A)(qc,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-register"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconCloseX,show:""},on:{clickClose:e.close}},[n("ara-profile-user",e._b({attrs:{user:e.currentUser,follower:""+e.currentUser.followers,following:""+e.currentUser.following,profilepublic:e.currentUser.visible,resume:""},on:{clickEdit:function(t){return e.openSection("user_edit")}}},"ara-profile-user",e.translations.details,!1)),e._v(" "),e.currentUser.hasSubscriptionCard?e._e():n("ara-profile-list",{staticClass:"ara-profile__cta"},[n("ara-button-new",{staticClass:"ara-button--register",attrs:{"highlight-primary":"","full-width":""},on:{click:e.goToSubscripcion}},[e._v(e._s(e.translations.button.subscribe))]),e._v(" "),n("p",{staticClass:"ara-profile__cta__text",domProps:{innerHTML:e._s(e.$t("profile.register.is-subscriber",{url:"/usuari/login"}))}})],1),e._v(" "),n("ara-profile-list",[e.showAraCard?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconCardMembership,text:e.translations.button.card_suscription,iconRight:e.iconRight},on:{click:function(t){return e.openSection("subscription_card")}}}
2):e._e(),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconBell,text:e.translations.button.notifications,iconRight:e.iconRight,notifications:e.pendingNotifications>0?e.pendingNotifications:null},on:{click:function(t){return e.openSection("notifications")}}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconCardGiftcard,text:e.translations.button.give,iconRight:e.iconRight,locked:""},on:{click:function(t){return e.openModal("gifts")}}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileSave,text:e.translations.button.saves,iconRight:e.iconRight},on:{click:function(t){return e.openSection("saves_list")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileSeguint,text:e.translations.button.seguint,iconRight:e.iconRight},on:{click:function(t){return e.openSection("seguint")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconCommentOff,text:e.translations.button.comments,iconRight:e.iconRight,locked:""},on:{click:function(t){return e.openModal("comments")}}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconShoppingCart,text:e.translations.button.shop,iconRight:e.iconRight},on:{click:e.goToBotiga}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileMapLocation,text:e.translations.button.outlets,iconRight:e.iconRight,showNewUntilDate:"2025-06-01"},on:{click:e.goToOutlets}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconLoyalty,text:e.translations.button.subscriptor_space,iconRight:e.iconRight,locked:""},on:{click:function(t){return e.openModal("espai")}}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconSettings,text:e.translations.button.configuration,iconRight:e.iconRight},on:{click:function(t){return e.openSection("configuration")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconHelpOutline,text:e.translations.button.help,iconRight:e.iconRight,href:"https://ajuda.ara.cat"}})],1),e._v(" "),e.canRestoreApplePurchases?n("ara-profile-menu-button",{staticClass:"ara-profile-view-register_ios",attrs:{text:e.restoreApplePurchasesText,href:"#"},on:{click:function(t){return t.preventDefault(),e.restoreApplePurchases(t)}}}):e._e(),e._v(" "),e.showFakeSubscriptionButtons&&e.canRestoreApplePurchases?n("ara-profile-menu-button",{staticClass:"ara-profile-view-register_ios",attrs:{text:"restoreAppleStoreMonthlyFakePurchases",href:"#"},on:{click:function(t){return t.preventDefault(),e.restoreAppleStoreMonthlyFakePurchases(t)}}}):e._e(),e._v(" "),e.showFakeSubscriptionButtons&&e.canRestoreApplePurchases?n("ara-profile-menu-button",{staticClass:"ara-profile-view-register_ios",attrs:{text:"restoreAppleStoreYearlyFakePurchases",href:"#"},on:{click:function(t){return t.preventDefault(),e.restoreAppleStoreYearlyFakePurchases(t)}}}):e._e()],1),e._v(" "),n("ara-profile-view-user-edit",{attrs:{show:e.section.user_edit},on:{close:function(t){return e.closeSection("user_edit")}}}),e._v(" "),n("ara-profile-view-notifications",{attrs:{show:e.section.notifications},on:{close:function(t){return e.closeSection("notifications")}}}),e._v(" "),n("ara-profile-view-saves-list",{attrs:{show:e.section.saves_list},on:{close:function(t){return e.closeSection("saves_list")},open:function(t){return e.openSection("saves",t)}}}),e._v(" "),n("ara-profile-view-saves",{directives:[{name:"show",rawName:"v-show",value:e.list,expression:"list"}],attrs:{list:e.list,show:e.section.saves},on:{close:e.closeSaves}}),e._v(" "),n("ara-profile-view-seguint",{attrs:{show:e.section.seguint},on:{close:function(t){return e.closeSection("seguint")}}}),e._v(" "),n("ara-profile-view-configuration",{attrs:{show:e.section.configuration},on:{close:function(t){return e.closeSection("configuration")}}}),e._v(" "),n("ara-profile-view-subscription-card",{attrs:{targeta:"",show:e.section.subscription_card},on:{close:function(t){return e.closeSection("subscription_card")}}}),e._v(" "),n("ara-profile-view-modal",{attrs:{show:e.section.modal,type:e.modalType,userType:"register","custom-html-modals":e.customHtmlModals},on:{close:function(t){return e.closeModal()}}}
2)],1)},[],!1,null,null,null).exports;var zc=n(56537);function Wc(e){return Wc="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},Wc(e)}function Kc(e){return function(e){if(Array.isArray(e))return Zc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Zc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Yc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yc(Object(n),!0).forEach(function(t){Qc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qc(e,t,n){return(t=function(e){var t=function(e){if("object"!=Wc(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Wc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Wc(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xc={props:{userId:{type:Number}},data:function(){return{profile:null,numberComments:0,list:[],page:1,loading:!1,order:"DESC",firstLoad:!1,loadingProfile:!1,loadProfile:!1}},computed:Jc({},(0,G.L8)("user",["currentUser"])),methods:{deleteComment:function(e){var t=this;go.A.deleteComment(e).then(function(){t.list=t.list.filter(function(t){return t.id!==e}),t.numberComments-=1})},mapMediaInfo:function(e){switch(e){case"audio":return nr;case"graphic":return Bn;case"history":return'<svg viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M16.2,13.653 L15.147,12.6 L1.8,12.6 L1.8,1.8 L16.2,1.8 L16.2,13.653 Z M16.2,0 L1.8,0 C0.81,0 0,0.81 0,1.8 L0,12.6 C0,13.59 0.81,14.4 1.8,14.4 L14.4,14.4 L18,18 L18,1.8 C18,0.81 17.19,0 16.2,0 Z"></path></svg>\n';case"image":return Un;case"interactive":return Nn;case"poll":return Vn;case"test":return $n;case"video":return tr;default:return null}},mapApiResults:function(e){var t=this;return e.map(function(e){var n=e.comments.map(function(t){return{id:t.id,date:t.publicationDate,body:t.body,likesNumber:t.likedByUserCount,contentId:e.content.id,parentComment:e.parentComment}});return{card:Jc(Jc({},e.content),{mediainfo:t.mapMediaInfo(e.content.mediaInfo)}),comments:n}})},mapApiResultsNew:function(e){return e.map(function(e){var t={id:e.id,date:e.publicationDate,body:e.body,likesNumber:e.likedByUserCount};return e.content&&(t.content={id:e.content.id,title:e.content.title,url:e.content.url,imageSrc:e.content.imageSrc,imageAlt:e.content.imageAlt}),e.parentComment&&(t.parentComment={id:e.parentComment.id,body:e.parentComment.body,author:e.parentComment.author}),t})},fetchComments:function(){var e=this;if(!(this.page<0||this.loading)){this.loading=!0;var t=this.userId?this.userId:this.currentUser.id;go.A.fetchComments(t,this.page,this.order).then(function(t){e.firstLoad=!0,e.numberComments=t.total,e.list=[].concat(Kc(e.list),Kc(e.mapApiResultsNew(t.comments))),e.list.length>=e.numberComments?e.page=-1:e.page+=1}).finally(function(){e.$nextTick(function(){return e.lazy.update()}),e.loading=!1})}},reloadData:function(){this.order="DESC",this.resetState(),this.fetchProfile()},reloadComments:function(){this.resetState(),this.fetchComments()},resetState:function(){this.firstLoad=!1,this.page=1,this.list=[]},sort:function(e){"recent"===e?"DESC"!==this.order&&(this.order="DESC",this.reloadComments()):"old"===e&&"ASC"!==this.order&&(this.order="ASC",this.reloadComments())},fetchProfile:function(){var e=this;this.loadingProfile=!0,(this.currentUser&&this.userId===this.currentUser.id?go.A.fetchProfileCard():go.A.fetchProfileCard(this.userId)).then(function(t){e.profile=t.profileCard}).finally(function(){e.loadingProfile=!1})},fetchData:function(){this.loadProfile?this.fetchProfile():this.fetchComments()}},watch:{show:function(e,t){e&&e!==t&&this.fetchData()},userId:function(e,t){e&&e!==t&&this.reloadData()}}},eu={name:"ara-profile-comment-filter",props:{newest:{type:String},oldest:{type:String},recent:{type:Boolean,default:!1},old:{type:Boolean,default:!1}},data:function(){return{recentActive:!1,oldActive:!1}},watch:{recent:function(e){this.recentActive=e},old:function(e){this.oldActive=e}},created:function(){this.recentActive=this.recent,this.oldActive=this.old},methods:{filter:function(e){this.$emit("filter",e),"recent"===e?(this.recentActive=!0,this.oldActive=!1):"old"===e&&(this.recentActive=!1,this.oldActive=!0)}}},tu=(0,Le.A)(eu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-comment-filter"},[n("ara-button",{directives:[{name:"track",rawName:"v-track:click",value:{category:"comments",action:"order-desc",label:"contentId"},expression:"{category: 'comments', action: 'order-desc', label: 'contentId'}",arg:"click"}],staticClass:"ara-profile-comment-filter__button",class:{current:e.recentActive},attrs:{text:""},on:{click:function(t){return e.filter("recent")}}},[e._v(e._s(e.newest))]),e._v(" "),n("div",{staticClass:"ara-profile-comment-filter_separator"}),e._v(" "),n("ara-button",{directives:[{name:"track",rawName:"v-track:click",value:{category:"comments",action:"order-asc",label:"contentId"},expression:"{category: 'comments', action: 'order-asc', label: 'contentId'}",arg:"click"}],staticClass:"ara-profile-comment-filter__button",class:{current:e.oldActive},attrs:{text:""},on:{click:function(t){return e.filter("old")}}},[e._v(e._s(e.oldest))])],1)},[],!1,null,null,null).exports;var nu=n(75612);const ru={data:function(){return{iconLikeOff:ka.A}},computed:{parsedCommentBody:function(){var e;return(null===(e=this.comment)||void 0===e||null===(e=e.body)||void 0===e?void 0:e.replaceAll("\n","<br>"))||""},likesNumber:function(){var e;return null===(e=this.comment)||void 0===e?void 0:e.likesNumber}},methods:{remove:function(){var e,t=this,n=nu.A.deleteComment;n.header.action=this.routerBack,null!==(e=this.comment)&&void 0!==e&&e.repliesNumber&&(n.content.text=u.A.t("comments.delete-comment-replies")),n.button.action=function(){var e;t.$track({category:"comments",action:"remove",label:null===(e=t.comment)||void 0===e?void 0:e.id}),t.deleteComment({comment:t.comment}).then(function(){var e=nu.A.deletedComment;e.button.action=t.routerResolveModals,t.routerPush({name:"CommentsModal",params:e})})},this.routerPush({name:"CommentsModal",params:n},!0)}}},ou={computed:{showAvatar:function(){var e;return!(null===(e=this.authorData)||void 0===e||!e.avatarUrl)},isAuthorNormal:function(){var e;return"user"===(null===(e=this.authorData)||void 0===e?void 0:e.type)},isAuthorPremium:function(){var e;return"premium"===(null===(e=this.authorData)||void 0===e?void 0:e.type)},isAuthorFounder:function(){var e;return!0===(null===(e=this.authorData)||void 0===e?void 0:e.founder)},isAuthorFounderPremium:function(){var e;return"founder-premium"===(null===(e=this.authorData)||void 0===e?void 0:e.type)},isAuthorEditor:function(){var e;return"redactor"===(null===(e=this.authorData)||void 0===e?void 0:e.type)},authorAvatarInitial:function(){var e,t,n;return this.authorAvatarSrc?"":"@"!==(null===(e=this.authorData)||void 0===e||null===(e=e.nick)||void 0===e?void 0:e.charAt(0))?(null===(t=this.authorData)||void 0===t||null===(t=t.nick)||void 0===t?void 0:t.charAt(0))||"?":null===(n=this.authorData)||void 0===n||null===(n=n.nick)||void 0===n?void 0:n.charAt(1)},authorAvatarSrc:function(){var e;return(null===(e=this.authorData)||void 0===e?void 0:e.avatarUrl)||""},authorNick:function(){var e,t=(null===(e=this.authorData)||void 0===e?void 0:e.nick)||"";return t?"@"===t.charAt(0)?t:"@".concat(t):t}}},iu={name:"ara-comment-avatar",mixins:[ou],props:{author:{type:Object,default:null}},computed:{authorData:function(){return this.author}}},au=(0,Le.A)(iu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.showAvatar?"figure":"div",{tag:"component",staticClass:"ara-comment-avatar",class:{"ara-comment-avatar--initial":!e.showAvatar,"ara-comment-avatar--premium":e.isAuthorPremium,"ara-comment-avatar--editor":e.isAuthorEditor},attrs:{"data-initial":e.authorAvatarInitial}}
2,[e.showAvatar?n("img",{attrs:{src:e.authorAvatarSrc,alt:e.authorNick}}):e._e()])},[],!1,null,null,null).exports;var su=n(30377);function lu(e){return lu="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},lu(e)}function cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cu(Object(n),!0).forEach(function(t){pu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pu(e,t,n){return(t=function(e){var t=function(e){if("object"!=lu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var du="normal";const fu={name:"ara-profile-comment",components:{araCommentAvatar:au,araElapsedTime:su.A,araLineClamp:Qn.A},mixins:[Na.A,ru,ou],props:{comment:{type:Object,default:null},mode:{type:String,default:du},deleting:{type:Boolean,default:!1}},data:function(){return{showLikes:!0}},methods:uu(uu(uu({},(0,G.i0)("user",["setProfileComment"])),(0,G.i0)("comment",["loginWithCredentials","checkEmail"])),{},{onDeleteClick:function(){this.deleting||this.$emit("deleteComment",this.comment.id)},openCommentLikes:function(){this.setProfileComment(this.comment),this.$emit("openCommentLikes")}}),computed:uu(uu({},(0,G.L8)("user",["currentUser"])),{},{authorData:function(){return{id:this.currentUser.id,isStaff:this.currentUser.isStaff,advantages:this.currentUser.advantages||"",premium:this.currentUser.premium||null,founder:this.currentUser.fundador||!1,type:this.currentUser.type||!1,nick:this.currentUser.nick||""}},commentDate:function(){var e;return null===(e=this.comment)||void 0===e?void 0:e.date},isNormalMode:function(){return this.mode===du},isLikesMode:function(){return"likes"===this.mode},isReply:function(){return!!this.comment.parentComment},isComment:function(){return!!this.comment.content},relationLabel:function(){return this.isReply?this.$t("profile.comments.relation.reply"):this.$t("profile.comments.relation.content")}})},mu=(0,Le.A)(fu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"ara-profile-comment"},[n("ara-comment-avatar",{attrs:{author:e.authorData}}),e._v(" "),n("div",{staticClass:"ara-profile-comment__wrapper"},[n("header",{staticClass:"ara-profile-comment__wrapper__header"},[n("div",{staticClass:"ara-profile-comment__wrapper__header__user",class:{"ara-profile-comment__wrapper__header__user--premium":e.isAuthorPremium}},[e._v(e._s(e.authorNick))]),e._v(" "),n("div",{staticClass:"ara-profile-comment__wrapper__header__publication"},[n("ara-elapsed-time",{attrs:{date:e.commentDate}})],1)]),e._v(" "),n("div",{staticClass:"ara-profile-comment__wrapper__body"},[e.isNormalMode?n("ara-line-clamp",{attrs:{content:e.parsedCommentBody,lines:3}}):n("div",{domProps:{innerHTML:e._s(e.parsedCommentBody)}})],1),e._v(" "),e.isNormalMode?n("div",{staticClass:"ara-profile-comment__wrapper__relation"},[n("div",{staticClass:"ara-profile-comment__wrapper__relation__label",domProps:{textContent:e._s(e.relationLabel+":")}}),e._v(" "),n("div",{staticClass:"ara-profile-comment__wrapper__relation__card",class:{"ara-profile-comment__wrapper__relation__card--reply":e.isReply,"ara-profile-comment__wrapper__relation__card--content":e.isComment}},[e.isReply?[n("div",{staticClass:"ara-profile-comment__wrapper__relation__card__title",domProps:{textContent:e._s(e.comment.parentComment.author)}}),e._v(" "),n("div",{staticClass:"ara-profile-comment__wrapper__relation__card__body",domProps:{innerHTML:e._s(e.comment.parentComment.body)}})]:[n("a",{attrs:{href:e.comment.content.url}},[n("div",{staticClass:"ara-profile-comment__wrapper__relation__card__title",domProps:{textContent:e._s(e.comment.content.title)}}),e._v(" "),e.comment.content.imageSrc?n("div",{staticClass:"ara-profile-comment__wrapper__relation__card__img"},[n("img",{attrs:{src:e.comment.content.imageSrc,alt:e.comment.content.imageAlt}}
2)]):e._e()])]],2)]):e._e(),e._v(" "),n("footer",{staticClass:"ara-profile-comment__wrapper__footer"},[n("div",{staticClass:"left-side"},[e.isNormalMode&&e.likesNumber?n("ara-button",{staticClass:"btn-likes",attrs:{text:"",disabled:e.deleting},on:{click:e.openCommentLikes}},[n("span",{staticClass:"ara-button__text",domProps:{textContent:e._s(e.likesNumber)}}),e._v(" "),n("span",{staticClass:"ara-icon ara-icon--like",domProps:{innerHTML:e._s(e.iconLikeOff)}}),e._v(" "),n("span",{staticClass:"ara-button__text ara-button__append",domProps:{textContent:e._s(e.$t("profile.comments.showLikes"))}})]):e.isLikesMode?n("div",{staticClass:"likes-badge"},[n("span",{staticClass:"likes-badge__text",domProps:{textContent:e._s(e.likesNumber)}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconLikeOff)}})]):e._e()],1),e._v(" "),n("div",{staticClass:"right-side"},[n("ara-button",{staticClass:"ara-button--delete",attrs:{text:"",disabled:e.deleting,loading:e.deleting},on:{click:e.onDeleteClick}},[e._v("\n "+e._s(e.$t("comments.delete.btn"))+"\n ")])],1)])])],1)},[],!1,null,null,null).exports,hu={name:"ara-profile-comment-list",components:{araProfileComment:mu},directives:{infiniteScroll:uo()},props:{list:{type:Array},deletingCommentId:{type:Number,default:null}},methods:{deleteComment:function(e){this.$emit("deleteComment",e)},fetchComments:function(){this.list&&0!==this.list.length&&this.$emit("fetch",!0)}}},gu=(0,Le.A)(hu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.fetchComments,expression:"fetchComments"}],staticClass:"ara-profile-comments",attrs:{"infinite-scroll-distance":"50"}},e._l(e.list,function(t,r){return n("ara-profile-comment",{key:"ara-profile-comment-"+r,attrs:{comment:t,deleting:e.deletingCommentId===t.id},on:{openCommentLikes:function(t){return e.$emit("openCommentLikes")},deleteComment:e.deleteComment}})}),1)},[],!1,null,null,null).exports,vu={name:"ara-profile-comment-like-avatar",mixins:[ou],props:{author:{type:Object,default:null}},computed:{authorData:function(){return this.author}}};function bu(e){return bu="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},bu(e)}function yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wu(e,t,n){return(t=function(e){var t=function(e){if("object"!=bu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Cu={name:"ara-profile-comment-likes",components:{araProfileCommentLikeAvatar:(0,Le.A)(vu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.showAvatar?"figure":"div",{tag:"component",staticClass:"ara-comment-avatar",class:{"ara-comment-avatar--initial":!e.showAvatar,"ara-comment-avatar--premium":e.isAuthorPremium,"ara-comment-avatar--editor":e.isAuthorEditor},attrs:{"data-initial":e.authorAvatarInitial}},[e.showAvatar?n("img",{attrs:{src:e.authorAvatarSrc,alt:e.authorNick}}):e._e()])},[],!1,null,null,null).exports,araUserFollowButton:n(21129).default},props:{items:{type:Array,default:function(){return[]}}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yu(Object(n),!0).forEach(function(t){wu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,G.L8)("user",["currentUser"])),methods:{authorNick:function(e){var t=e||"";return t?"@"===t.charAt(0)?t:"@".concat(t):t}}},_u=Cu,Su=(0,Le.A)(_u,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-comment-likes"},e._l(e.items,function(t){return n("article",{key:t.id,staticClass:"ara-profile-comment-likes__item"},[n("ara-profile-comment-like-avatar",{attrs:{author:t}}),e._v(" "),n("div",{staticClass:"ara-profile-comment__wrapper__header__user",attrs:{title:e.authorNick(t.nick)},domProps:{textContent:e._s(e.authorNick(t.nick))}}),e._v(" "),e.currentUser&&t.id!==e.currentUser.id?n("ara-user-follow-button",{attrs:{rounded:"",secondary:"",user:"user",itemId:t.id}}
2):e._e()],1)}),0)},[],!1,null,null,null).exports;function ku(e){return ku="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},ku(e)}function Au(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Pu(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Pu(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Pu(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Pu(p,"constructor",c),Pu(c,"constructor",l),l.displayName="GeneratorFunction",Pu(c,o,"GeneratorFunction"),Pu(p),Pu(p,o,"Generator"),Pu(p,r,function(){return this}),Pu(p,"toString",function(){return"[object Generator]"}),(Au=function(){return{w:i,m:d}})()}function Pu(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Pu=function(e,t,n,r){function i(t,n){Pu(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Pu(e,t,n,r)}function xu(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Iu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ou(Object(n),!0).forEach(function(t){Lu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ou(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lu(e,t,n){return(t=function(e){var t=function(e){if("object"!=ku(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ku(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ku(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Eu={name:"ara-profile-view-comment-likes",props:{show:{type:Boolean,default:!1}},components:{araLoading:Ra.A,araProfileComment:mu,araProfileSection:fo,araProfileCommentLikes:Su},data:function(){return{iconArrowBack:Et.A,loading:!1,likes:[]}},computed:Iu({},(0,G.L8)("user",["profileComment"])),methods:Iu({},(0,G.i0)(["showSnackbar"])),watch:{show:function(e){var t,n=this;return(t=Au().m(function t(){var r;return Au().w(function(t){for(;;)switch(t.p=t.n){case 0:if(!e){t.n=5;break}return t.p=1,n.loading=!0,n.likes=[],t.n=2,go.A.getProfileCommentLikes(n.profileComment.id);case 2:r=t.v,n.likes=r.likes,t.n=4;break;case 3:t.p=3,t.v,n.showSnackbar({contentText:n.$t("snackbar.error-message"),button:!0,error:!0});case 4:return t.p=4,n.loading=!1,t.f(4);case 5:return t.a(2)}},t,null,[[1,3,4,5]])}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){xu(i,r,o,a,s,"next",e)}function s(e){xu(i,r,o,a,s,"throw",e)}a(void 0)})})()}}},ju=Eu,Tu=(0,Le.A)(ju,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-comment-likes"},[n("ara-profile-section",{attrs:{title:e.$t("profile.commentLikes.title"),icon:e.iconArrowBack,show:e.show},on:{clickClose:function(t){return e.$emit("close")}}},[e.profileComment?n("ara-profile-comment",{attrs:{comment:e.profileComment,mode:"likes"}}
2):e._e(),e._v(" "),e.loading?n("ara-loading",{staticStyle:{"margin-top":"20px"}}):n("ara-profile-comment-likes",{attrs:{items:e.likes}})],1)],1)},[],!1,null,null,null).exports;function Du(e){return Du="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},Du(e)}function Mu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mu(Object(n),!0).forEach(function(t){Ru(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ru(e,t,n){return(t=function(e){var t=function(e){if("object"!=Du(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Du(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Du(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bu={name:"ara-profile-view-comments",mixins:[Xc],props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconCommentOff:va,section:{commentLikes:!1},deletingCommentId:null}},components:{araLoading:Ra.A,araProfileBlockEmpty:ms,araProfileCommentFilter:tu,araProfileCommentList:gu,araProfileSection:fo,araProfileViewCommentLikes:Tu},computed:Fu(Fu({},(0,G.L8)("user",["profileComment"])),{},{translations:function(){return{titleSingular:this.$t("profile.comments.titleSingular"),titlePlural:this.$t("profile.comments.titlePlural"),empty:this.$t("profile.comments.empty"),remember:this.$t("profile.comments.remember"),newest:this.$t("comments.newest"),oldest:this.$t("comments.oldest")}},title:function(){return 1===this.numberComments?"1 ".concat(this.translations.titleSingular):"".concat(this.numberComments," ").concat(this.translations.titlePlural)}}),methods:Fu(Fu({},(0,G.i0)(["showSnackbar"])),{},{closeSection:function(e){this.section[e]=!1},openSection:function(e){this.section[e]=!0},close:function(){this.$emit("close")},openCommentLikes:function(){this.openSection("commentLikes")},deleteComment:function(e){var t=this;this.deletingCommentId=e,go.A.deleteComment(e).then(function(){t.list=t.list.filter(function(t){return t.id!==e}),t.numberComments-=1}).catch(function(){t.showSnackbar({contentText:t.$t("snackbar.error-message"),button:!0,error:!0})}).finally(function(){t.deletingCommentId=null})}})},Uu=(0,Le.A)(Bu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-comments"},[n("ara-profile-section",{attrs:{title:e.title,icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[n("ara-profile-comment-filter",{attrs:{newest:e.translations.newest,oldest:e.translations.oldest,recent:"DESC"===e.order,old:"ASC"===e.order},on:{filter:e.sort}}),e._v(" "),n("ara-profile-comment-list",{attrs:{list:e.list,deletingCommentId:e.deletingCommentId},on:{deleteComment:e.deleteComment,openCommentLikes:e.openCommentLikes,fetch:e.fetchComments}}),e._v(" "),e.loading?n("ara-loading",{staticStyle:{"margin-top":"20px"}}):e._e(),e._v(" "),e.firstLoad&&0===e.list.length?n("ara-profile-block-empty",{attrs:{alert:e.translations.empty,icon:e.iconCommentOff,text:e.translations.remember}}
2):e._e()],1),e._v(" "),n("ara-profile-view-comment-likes",{attrs:{show:e.section.commentLikes},on:{close:function(t){return e.closeSection("commentLikes")}}})],1)},[],!1,null,null,null).exports;var Nu=n(95429);function $u(e){return $u="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},$u(e)}function Vu(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Hu(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Hu(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Hu(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Hu(p,"constructor",c),Hu(c,"constructor",l),l.displayName="GeneratorFunction",Hu(c,o,"GeneratorFunction"),Hu(p),Hu(p,o,"Generator"),Hu(p,r,function(){return this}),Hu(p,"toString",function(){return"[object Generator]"}),(Vu=function(){return{w:i,m:d}})()}function Hu(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Hu=function(e,t,n,r){function i(t,n){Hu(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Hu(e,t,n,r)}function qu(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gu(Object(n),!0).forEach(function(t){Wu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wu(e,t,n){return(t=function(e){var t=function(e){if("object"!=$u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=$u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ku={name:"ara-profile-view-gifts",mixins:[X.A,Nu.A],props:{show:{type:Boolean,default:!1}},data:function(){return{iconArrowBack:Et.A,iconSaveOff:ha.A,iconGift:la.A,loading:!1}},components:{araListCardArticle:ds,araProfileBlockEmpty:ms,araProfileListMore:gs,araProfileSection:fo,araProfileAlertEmpty:Ua},mounted:function(){},computed:zu(zu(zu(zu(zu({},(0,G.L8)("user/interests",["giftItemsCards"])),(0,G.L8)(["runningInApp","site"])),(0,G.L8)("user",["currentUser"])),(0,G.L8)(["httpRequestsErrors"])),{},{numberGifts:function(){return 10-this.numberGiftsRemainingUpdate},numberGiftsRemainingUpdate:function(){return this.runningInApp?this.currentUser?this.currentUser.numberGiftsRemaining:null:Sa().getJSON("nx-session-user").numberGiftsRemaining},headerMessage:function(){return 0===this.numberGifts?this.$t("profile.give-away.give-text-none"):10===this.numberGifts?this.$t("profile.give-away.give-text-limit"):this.$tc("profile.give-away.give-text",this.numberGifts)}}),methods:zu(zu(zu(zu({},(0,G.i0)("user/interests",["searchGifts","setGifts"])),(0,G.i0)("user",["getCurrentUser"])),(0,G.i0)("comments",["pushHttpRequestError"])),{},{close:function(){this.$emit("close")},fetch:function(){var e,t=this;return(e=Vu().m(function e(){var n;return Vu().w(function(e){for(;;)switch(e.p=e.n){case 0:return t.loading=!0,e.p=1,e.n=2,t.searchAndRefreshGifts();case 2:e.n=4;break;case 3:e.p=3,n=e.v,t.runningInApp?String(n).match(/status code 401/)&&t.refreshTokenAndGifts():t.pushHttpRequestError(n);case 4:return e.p=4,t.loading=!1,e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){qu(i,r,o,a,s,"next",e)}function s(e){qu(i,r,o,a,s,"throw",e)}a(void 0)})})()},compareDate:function(e){var t=ne()(e.date).toDate(),n=ne()().toDate();return 7+ne()(t).diff(n,"day")},setClassDate:function(e){return this.compareDate(e)<1?"gift-header-date--expired":null},setTextDate:function(e){var t=this.compareDate(e);return t>1?this.$tc("profile.give-away.article-expire",t):1===t?this.$t("profile.give-away.article-expire-tomorrow"):this.$t("profile.give-away.article-expired")}}),watch:{show:function(e){e&&this.fetch()},followedAuthorsIds:function(){this.fetch()}}},Zu=Ku;function Yu(e){return Yu="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},Yu(e)}function Ju(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ju(Object(n),!0).forEach(function(t){Xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ju(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xu(e,t,n){return(t=function(e){var t=function(e){if("object"!=Yu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Yu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ep={name:"ara-profile-view-suscriptor",components:{araProfileViewModal:Bc,araProfileList:st,araProfileMenuButton:ho,araProfileSection:fo,araProfileUser:Fa,araProfileViewComments:Uu,araProfileViewConfiguration:ea,araProfileViewNotifications:ss,araProfileViewSaves:xs,araProfileViewSavesList:Bs,araProfileViewSubscription:Bi,araProfileViewSubscriptionCard:qs,araProfileViewUserEdit:ul,araProfileUserBanner:La,araProfileViewGifts:(0,Le.A)(Zu,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-gifts",class:{empty:!e.loading&&!e.giftItemsCards.length}},[n("ara-profile-section",{staticStyle:{height:"100%"},attrs:{title:e.$t("profile.give-away.title"),icon:e.iconArrowBack,show:e.show},on:{clickClose:e.close}},[e.loading&&!e.giftItemsCards.length?n("div",{staticClass:"ara-profile-user"},[n("div",{staticClass:"ara-profile-user_header loading"},[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])])]):e._e(),e._v(" "),n("div",{staticClass:"ara-profile-alert-empty test-class",attrs:{role:"alert"}},[n("span",{domProps:{innerHTML:e._s(e.headerMessage)}})]),e._v(" "),e.giftItemsCards.length?n("div",{staticClass:"gift-wrapper"},e._l(e.giftItemsCards,function(t){return n("div",{key:t.id,staticClass:"gift-item"},[n("div",{staticClass:"gift-header"},[n("span",{staticClass:"gift-header-date",class:e.setClassDate(t.dateGiftCreated),domProps:{textContent:e._s(e.setTextDate(t.dateGiftCreated))}}),e._v(" "),n("span",{staticClass:"gift-header-info"},[n("span",{staticClass:"gift-header-number",domProps:{textContent:e._s(t.numberOfTimesGiftGiven)}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconGift)}})])]),e._v(" "),n("ara-list-card-article",{attrs:{card:t,"card-class":"card--mobile"}})],1)}),0):n("ara-profile-block-empty",{attrs:{icon:e.iconGift,text:e.$t("profile.give-away.text")}})],1)],1)},[],!1,null,null,null).exports,araProfileViewSeguint:jc,araButtonNew:lt.A},data:function(){return{iconBell:sa,iconCardMembership:ca,iconClose:cn.A,iconCommentOff:va,iconHelpOutline:da,iconRight:xe.A,iconSettings:lo,iconShoppingCart:ga,iconAra:zc.A,iconProfileManage:'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M4,18v-0.65c0-0.34,0.16-0.66,0.41-0.81C6.1,15.53,8.03,15,10,15c0.03,0,0.05,0,0.08,0.01c0.1-0.7,0.3-1.37,0.59-1.98 C10.45,13.01,10.23,13,10,13c-2.42,0-4.68,0.67-6.61,1.82C2.51,15.34,2,16.32,2,17.35V20h9.26c-0.42-0.6-0.75-1.28-0.97-2H4z"/><path d="M10,12c2.21,0,4-1.79,4-4s-1.79-4-4-4C7.79,4,6,5.79,6,8S7.79,12,10,12z M10,6c1.1,0,2,0.9,2,2s-0.9,2-2,2 c-1.1,0-2-0.9-2-2S8.9,6,10,6z"/><path d="M20.75,16c0-0.22-0.03-0.42-0.06-0.63l1.14-1.01l-1-1.73l-1.45,0.49c-0.32-0.27-0.68-0.48-1.08-0.63L18,11h-2l-0.3,1.49 c-0.4,0.15-0.76,0.36-1.08,0.63l-1.45-0.49l-1,1.73l1.14,1.01c-0.03,0.21-0.06,0.41-0.06,0.63s0.03,0.42,0.06,0.63l-1.14,1.01 l1,1.73l1.45-0.49c0.32,0.27,0.68,0.48,1.08,0.63L16,21h2l0.3-1.49c0.4-0.15,0.76-0.36,1.08-0.63l1.45,0.49l1-1.73l-1.14-1.01 C20.72,16.42,20.75,16.22,20.75,16z M17,18c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S18.1,18,17,18z"/></g></g></svg>',iconLoyalty:wa,iconGiftCard:la.A,iconProfileSave:ba,iconProfileSeguint:ya,iconProfileMapLocation:Ca,subscriptionPromotionsUrl:it.BW,section:{comments:!1,configuration:!1,contact:!1,notifications:!1,saves:!1,saves_list:!1,user_edit:!1,subscription_card:!1,subscription:!1,gifts:!1,list:null,seguint:!1,modal:!1},sample_followers:"00.000",sample_followings:"00.000",sample_profilepublic:!0,list:null,modalType:""}},mixins:[X.A],props:{customHtmlModals:{type:String}},computed:Qu(Qu(Qu(Qu(Qu(Qu({},(0,G.L8)(["permissionManager","runningInApp"])),(0,G.L8)(["runningInApp","runningInAppApple","platform","env"])),(0,G.L8)("user",["currentUser","showProfile","pendingNotifications","userToken"])),(0,G.aH)("user",["appleProductId"])),(0,G.L8)(["env"])),{},{subscriptionEspaiUrl:function(){return"".concat(it.B9).concat(this.getParams())},translations:function(){return{title:this.$t("profile.suscriptor.title"),details:{text_follower:this.$t("profile.suscriptor.details.follower"),text_following:this.$t("profile.suscriptor.details.following"),text_public:this.$t("profile.suscriptor.details.public"),text_private:this.$t("profile.suscriptor.details.private"),text_button:this.$t("profile.suscriptor.details.edit")},button:{card_suscription:this.$t("profile.suscriptor.button.card_suscription"),notifications:this.$t("profile.suscriptor.button.notifications"),saves:this.$t("profile.suscriptor.button.saves"),comments:this.$t("profile.suscriptor.button.comments"),subscriptor_space:this.$t("profile.suscriptor.button.subscriptor_space"),invite_friend:this.$t("profile.suscriptor.button.invite_friend"),configuration:this.$t("profile.suscriptor.button.configuration"),help:this.$t("profile.suscriptor.button.help"),subscription:this.$t("profile.suscriptor.button.subscription"),shop:this.$t("profile.suscriptor.button.shop"),seguint:this.$t("profile.suscriptor.button.seguint"),outlets:this.$t("profile.suscriptor.button.outlets")}}},showFakeSubscriptionButtons:function(){return"DEV"===this.env||"INT"===this.env||"PRE"===this.env},canRestoreApplePurchases:function(){return"iOS"===this.platform&&this.runningInApp},iconCloseX:function(){return this.runningInApp?null:cn.A},userHasAnnualSubscription:function(){var e="ara_iphone_anual";return this.appleProductId===e||Boolean(Sa().get(e))},userHasMonthlySubscription:function(){var e="ara_iphone_mensual";return this.appleProductId===e||Boolean(Sa().get(e))},userHasActiveSubscription:function(){return this.userHasAnnualSubscription||this.userHasMonthlySubscription},restoreApplePurchasesText:function(){return this.userHasAnnualSubscription?this.$t("subscription.anual"):this.userHasMonthlySubscription?this.$t("subscription.mensual"):this.$t("profile.anonymous.link")},userHasCommentsPermission:function(){return null!==this.permissionManager&&!this.permissionManager.checkPermission(ct.WU.COMMENTS).access},showPremiumButton:function(){if(null===this.permissionManager||!this.currentUser.subscriber)return!1;var e=this.permissionManager.checkPermission(ct.WU.COMMENTS),t=this.permissionManager.checkPermission(ct.WU.HEMEROTECA);return!this.currentUser.canGiveAway||!e.access||!t.access||this.currentUser.hasSubscriberSiteIds||this.currentUser.hasSubscriberCategoryIds||this.currentUser.hasSubscriberExcludedCategoryIds}}),watch:{showProfile:function(e){e&&this.resetMenu()}},mounted:function(){window.location.hash.startsWith("#profile.notifications")&&this.openSection("notifications"),(window.location.hash.startsWith("#profile.signs")||window.location.hash.startsWith("#profile.themes")||window.location.hash.startsWith("#profile.columnes")||window.location.hash.startsWith("#profile.readers"))&&this.openSection("seguint")},methods:{getParams:function(){var e="";return this.darkMode&&(e="?darkMode=true"),this.runningInApp&&this.userToken&&(""===e?e="?token=".concat(this.userToken):e+="&token=".concat(this.userToken)),e},restoreApplePurchases:function(){this.userHasActiveSubscription||this.channelAction("restoreAppleStorePurchases",null,function(){})},restoreAppleStoreMonthlyFakePurchases:function(){this.userHasActiveSubscription||this.channelAction("restoreAppleStoreMonthlyFakePurchases",null,function(){window.location.href="/usuari/login"})},restoreAppleStoreYearlyFakePurchases:function(){this.userHasActiveSubscription||this.channelAction("restoreAppleStoreYearlyFakePurchases",null,function(){window.location.href="/usuari/login"})},close:function(){this.$emit("close")},openSection:function(e,t){t&&(this.list=t),this.section[e]=!0},closeSection:function(e){this.section[e]=!1},closeSaves:function(){this.closeSection("saves"),this.list=null},resetMenu:function(){this.section={comments:!1,configuration:!1,contact:!1,notifications:!1,saves:!1,saves_list:!1,user_edit:!1,subscription_card:!1,subscription:!1,gifts:!1,list:null,seguint:!1,modal:!1}},goToPremium:function(){this.currentUser.fundador?window.location.href="https://premium.ara.cat/fundadors/":window.location.href="https://premium.ara.cat/"},goToUpgrade:function(){"PRO"===this.env?window.location.href="https://perfil.ara.cat/upgrade":window.location.href="https://perfil.ara.cat.bbnx.pre.bitban.com/upgrade"},goToClubPremium:function(){window.location.href="https://subscripcions.ara.cat/generacio-ara-club-premium"},goToBotiga:function(){window.location.href="https://botiga.ara.cat/"},goToOutlets:function(){window.open("https://puntsdevenda.ara.cat/")},openModal:function(e){this.modalType=e,this.openSection("modal")},closeModal:function(){this.modalType="",this.closeSection("modal")},openComments:function(){this.permissionManager.checkPermission(ct.WU.COMMENTS).access?this.openSection("comments"):this.openModal("comments")}}},tp=ep;function np(e){return np="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},np(e)}function rp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function op(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?rp(Object(n),!0).forEach(function(t){ip(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ip(e,t,n){return(t=function(e){var t=function(e){if("object"!=np(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=np(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==np(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ap={name:"ara-profile",components:{araProfileViewAnonymous:aa,araProfileViewRegister:Gc,araProfileViewSuscriptor:(0,Le.A)(tp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile-view-suscriptor"},[n("ara-profile-section",{attrs:{title:e.translations.title,icon:e.iconCloseX,show:""},on:{clickClose:e.close}},[n("ara-profile-user-banner"),e._v(" "),n("ara-profile-user",e._b({attrs:{user:e.currentUser,follower:""+e.currentUser.followers,following:""+e.currentUser.following,profilepublic:e.currentUser.visible,resume:""},on:{clickEdit:function(t){return e.openSection("user_edit")}}},"ara-profile-user",e.translations.details,!1)),e._v(" "),e.showPremiumButton||"C"!==e.currentUser.premium?e._e():n("ara-profile-list",{staticClass:"ara-profile__cta"},[n("ara-button-new",{staticClass:"ara-button--premium",attrs:{"highlight-secondary":"","full-width":""},on:{click:e.goToPremium}},[e._v(e._s(e.$t("profile.suscriptor.button.premium_copy")))]),e._v(" "),n("p",{staticClass:"ara-profile__cta__text",domProps:{innerHTML:e._s(e.$t("profile.suscriptor.is-premium-subscriber",{url:"/usuari/login"}))}})],1),e._v(" "),e.showPremiumButton?n("ara-profile-list",[n("ara-button-new",{staticClass:"ara-button_upgrade",attrs:{"full-width":""},on:{click:e.goToUpgrade}},[e._v(e._s(e.$t("profile.suscriptor.button.premium_upgrade")))])],1):e._e(),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconBell,text:e.translations.button.notifications,iconRight:e.iconRight,notifications:e.pendingNotifications>0?e.pendingNotifications:null},on:{click:function(t){return e.openSection("notifications")}}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{directives:[{name:"show",rawName:"v-show",value:e.currentUser.hasSubscriptionCard,expression:"currentUser.hasSubscriptionCard"}],attrs:{iconLeft:e.iconCardMembership,text:e.translations.button.card_suscription,iconRight:e.iconRight},on:{click:function(t){return e.openSection("subscription_card")}}}),e._v(" "),e.runningInAppApple?e._e():n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileManage,text:e.$t("profile.configuration.account.subscription"),iconRight:e.iconRight,notifications:e.currentUser.regalBaixa},on:{click:function(t){return e.openSection("subscription")}}}),e._v(" "),e.currentUser.canGiveAway?n("ara-profile-menu-button",{attrs:{iconLeft:e.iconGiftCard,text:e.$t("profile.give-away.title"),iconRight:e.iconRight},on:{click:function(t){return e.openSection("gifts")}}}):e._e(),e._v(" "),e.currentUser.canGiveAway?e._e():n("ara-profile-menu-button",{attrs:{iconLeft:e.iconGiftCard,text:e.$t("profile.give-away.title"),iconRight:e.iconRight,locked:""},on:{click:function(t){return e.openModal("gifts")}}}),e._v(" "),n("ara-profile-menu-button",{directives:[{name:"show",rawName:"v-show",value:"S"===e.currentUser.premium,expression:"currentUser.premium === 'S'"}],staticClass:"ara-profile-menu-button_premium",attrs:{iconLeft:e.iconAra,text:e.$t("profile.suscriptor.button.premium_club"),iconRight:e.iconRight},on:{click:e.goToClubPremium}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileSave,text:e.translations.button.saves,iconRight:e.iconRight},on:{click:function(t){return e.openSection("saves_list")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileSeguint,text:e.translations.button.seguint,iconRight:e.iconRight},on:{click:function(t){return e.openSection("seguint")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconCommentOff,text:e.translations.button.comments,iconRight:e.iconRight,locked:e.userHasCommentsPermission},on:{click:function(t){return e.openComments()}}}
2)],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconShoppingCart,text:e.translations.button.shop,iconRight:e.iconRight},on:{click:e.goToBotiga}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconProfileMapLocation,text:e.translations.button.outlets,iconRight:e.iconRight,showNewUntilDate:"2025-06-01"},on:{click:e.goToOutlets}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconLoyalty,text:e.translations.button.subscriptor_space,iconRight:e.iconRight,href:e.subscriptionEspaiUrl}})],1),e._v(" "),n("ara-profile-list",[n("ara-profile-menu-button",{attrs:{iconLeft:e.iconSettings,text:e.translations.button.configuration,iconRight:e.iconRight},on:{click:function(t){return e.openSection("configuration")}}}),e._v(" "),n("ara-profile-menu-button",{attrs:{iconLeft:e.iconHelpOutline,text:e.translations.button.help,iconRight:e.iconRight,href:"https://ajuda.ara.cat"}})],1),e._v(" "),e.canRestoreApplePurchases?n("ara-profile-menu-button",{staticClass:"ara-profile-view-suscriptor_ios",attrs:{text:e.restoreApplePurchasesText},on:{click:function(t){return t.preventDefault(),e.restoreApplePurchases(t)}}}):e._e(),e._v(" "),e.showFakeSubscriptionButtons&&e.canRestoreApplePurchases?n("ara-profile-menu-button",{staticClass:"ara-profile-view-register_ios",attrs:{text:"restoreAppleStoreMonthlyFakePurchases",href:"#"},on:{click:function(t){return t.preventDefault(),e.restoreAppleStoreMonthlyFakePurchases(t)}}}):e._e(),e._v(" "),e.showFakeSubscriptionButtons&&e.canRestoreApplePurchases?n("ara-profile-menu-button",{staticClass:"ara-profile-view-register_ios",attrs:{text:"restoreAppleStoreYearlyFakePurchases",href:"#"},on:{click:function(t){return t.preventDefault(),e.restoreAppleStoreYearlyFakePurchases(t)}}}):e._e()],1),e._v(" "),n("ara-profile-view-user-edit",{attrs:{show:e.section.user_edit},on:{close:function(t){return e.closeSection("user_edit")}}}),e._v(" "),n("ara-profile-view-notifications",{attrs:{show:e.section.notifications},on:{close:function(t){return e.closeSection("notifications")}}}),e._v(" "),n("ara-profile-view-saves-list",{attrs:{show:e.section.saves_list},on:{close:function(t){return e.closeSection("saves_list")},open:function(t){return e.openSection("saves",t)}}}),e._v(" "),n("ara-profile-view-saves",{directives:[{name:"show",rawName:"v-show",value:e.list,expression:"list"}],attrs:{list:e.list,show:e.section.saves},on:{close:e.closeSaves}}),e._v(" "),n("ara-profile-view-seguint",{attrs:{show:e.section.seguint},on:{close:function(t){return e.closeSection("seguint")}}}),e._v(" "),n("ara-profile-view-comments",{attrs:{show:e.section.comments},on:{close:function(t){return e.closeSection("comments")}}}),e._v(" "),n("ara-profile-view-configuration",{attrs:{show:e.section.configuration},on:{close:function(t){return e.closeSection("configuration")}}}),e._v(" "),n("ara-profile-view-subscription-card",{attrs:{show:e.section.subscription_card},on:{close:function(t){return e.closeSection("subscription_card")}}}),e._v(" "),n("ara-profile-view-subscription",{attrs:{show:e.section.subscription},on:{close:function(t){return e.closeSection("subscription")}}}),e._v(" "),n("ara-profile-view-gifts",{attrs:{show:e.section.gifts},on:{close:function(t){return e.closeSection("gifts")}}}),e._v(" "),n("ara-profile-view-modal",{attrs:{show:e.section.modal,type:e.modalType,userType:"subscriber","custom-html-modals":e.customHtmlModals},on:{close:function(t){return e.closeModal()}}})],1)},[],!1,null,null,null).exports},props:{channel:{type:String},customHtmlModalsRegister:{type:String},customHtmlModalsSubscriber:{type:String}},computed:op(op({},(0,G.L8)("user",["currentUser"])),(0,G.L8)(["runningInApp"])),methods:op(op({},(0,G.i0)(["setChannel"])),{},{close:function(){this.$emit("close")}}),mounted:function(){void 0!==this.channel&&this.setChannel(this.channel)}},sp=(0,Le.A)(ap,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-profile",class:{"ara-profile--app":e.runningInApp}},[null!==e.currentUser&&!0===e.currentUser.subscriber?n("ara-profile-view-suscriptor",{attrs:{"custom-html-modals":e.customHtmlModalsSubscriber},on:{close:e.close}}):null!==e.currentUser&&!1===e.currentUser.subscriber?n("ara-profile-view-register",{attrs:{"custom-html-modals":e.customHtmlModalsRegister},on:{close:e.close}}):n("ara-profile-view-anonymous",{on:{close:e.close}})],1)},[],!1,null,null,null).exports;function lp(e){return lp="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},lp(e)}function cp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?cp(Object(n),!0).forEach(function(t){pp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pp(e,t,n){return(t=function(e){var t=function(e){if("object"!=lp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dp={name:"ara-aside",mixins:[Q.A],props:{customHtmlModalsRegister:{type:String},customHtmlModalsSubscriber:{type:String}},computed:up(up({},(0,G.L8)("user",["showProfile","currentUser"])),{},{loginUrl:function(){return"/usuari/login?backUrl=".concat(window.location.href)}}),components:{araProfile:sp},watch:{showProfile:function(e){e?this.blockBodyScroll():this.restoreBodyScroll()}},mounted:function(){var e=this;this.$nextTick(function(){window.location.hash.startsWith("#profile")&&e.autoOpenProfile()})},methods:up(up({},(0,G.i0)("user",["toggleShowProfile"])),{},{autoOpenProfile:function(){if(Sa().getJSON("nx-session-user"))this.toggleShowProfile();else{if(window.location.href.includes("/usuari/login"))return;window.location.href=this.loginUrl}},close:function(){this.toggleShowProfile()}})},fp=(0,Le.A)(dp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"ara-aside-transition"}},[e.showProfile?n("aside",{staticClass:"ara-aside"},[n("ara-profile",{attrs:{"custom-html-modals-register":e.customHtmlModalsRegister,"custom-html-modals-subscriber":e.customHtmlModalsSubscriber},on:{close:e.close}})],1):e._e()])},[],!1,null,null,null).exports;function mp(e){return mp="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},mp(e)}function hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hp(Object(n),!0).forEach(function(t){vp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vp(e,t,n){return(t=function(e){var t=function(e){if("object"!=mp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=mp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bp={name:"ara-public-profile",mixins:[Xc,X.A],data:function(){return{iconArrowBack:Et.A,loadProfile:!0}},components:{araLoading:Ra.A,araProfileCommentFilter:tu,araProfileCommentList:gu,araProfileSection:fo,araProfileUser:Fa,araProfileUserBanner:La,araButtonNew:lt.A},computed:gp(gp(gp({},(0,G.L8)("user",["currentUser"])),(0,G.L8)("user/interests",["userIsFollowed"])),(0,G.L8)(["runningInApp"])),methods:gp(gp({},(0,G.i0)("user/interests",["toggleFollowingUser"])),{},{follow:function(){var e=this;this.$track({category:"comments",action:"follow",label:this.profile.userId}),this.toggleFollowingUser({userId:this.profile.userId,follow:!0}).then(function(){e.runningInApp&&e.channelAction("requestToken")})},unfollow:function(){var e=this;this.$track({category:"comments",action:"unfollow",label:this.profile.userId}),this.toggleFollowingUser({userId:this.profile.userId,follow:!1}).then(function(){e.runningInApp&&e.channelAction("requestToken")})},close:function(){this.$emit("close",!0)}}),mounted:function(){this.reloadData()}},yp=(0,Le.A)(bp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["ara-profile-view-user-public",{"ara-profile-view-user-public--private":e.profile&&!e.profile.public}]},[n("ara-profile-section",{attrs:{title:e.$t("profile.user_public.title"),icon:e.iconArrowBack,show:!0},on:{clickClose:e.close}},[e.loadingProfile?n("ara-button",{attrs:{loading:!0,"full-width":""}}
2):e._e(),e._v(" "),e.profile?[e.profile.public?n("ara-profile-user-banner",{attrs:{user:e.profile,"public-profile":e.profile.public}}):e._e(),e._v(" "),n("ara-profile-user",{attrs:{user:e.profile,follower:""+e.profile.followerTotalResults,following:""+e.profile.followedTotalResults,likes:""+e.profile.likeTotalResults,comments:""+e.numberComments,profilepublic:e.profile.public,text_follower:e.$t("profile.user_public.details.follower"),text_following:e.$t("profile.user_public.details.following"),showEmail:!1}}),e._v(" "),e.profile.public?[n("div",{staticClass:"ara-profile-view-user-public__content"},[e.profile.description?n("p",{staticClass:"ara-profile-view-user-public__text"},[e._v(e._s(e.profile.description))]):e._e(),e._v(" "),e.currentUser&&e.currentUser.id!==e.profile.userId?n("div",{staticClass:"ara-profile-view-user-public__button__wrapper"},[n("ara-button-new",{staticClass:"ara-profile-view-user-public__button",attrs:{rounded:"",secondary:"",outlined:"","full-width":"","icon-type":e.userIsFollowed(e.profile.userId)?"ok":"plus-circle","icon-position":"prepend"},on:{click:function(t){e.userIsFollowed(e.profile.userId)?e.unfollow():e.follow()}}},[e._v("\n "+e._s(e.userIsFollowed(e.profile.userId)?e.$t("profile.button.unfollow"):e.$t("profile.button.follow"))+"\n ")])],1):e._e()]),e._v(" "),n("ara-profile-comment-filter",{attrs:{newest:e.$t("comments.newest"),oldest:e.$t("comments.oldest"),recent:""},on:{filter:e.sort}}),e._v(" "),n("ara-profile-comment-list",{attrs:{list:e.list},on:{deleteComment:e.deleteComment,fetch:e.fetchComments}}),e._v(" "),e.loading?n("ara-loading",{staticStyle:{"margin-top":"20px"}}):e._e()]:n("div",{staticClass:"ara-profile-view-user-public__content"},[n("div",{staticClass:"ara-profile-view-user-public__button__wrapper"},[n("ara-button-new",{staticClass:"ara-profile-view-user-public__button",attrs:{rounded:"",secondary:"",outlined:"","full-width":"","icon-type":e.userIsFollowed(e.profile.userId)?"ok":"plus-circle","icon-position":"prepend"},on:{click:function(t){e.userIsFollowed(e.profile.userId)?e.unfollow():e.follow()}}},[e._v("\n "+e._s(e.userIsFollowed(e.profile.userId)?e.$t("profile.button.unfollow"):e.$t("profile.button.follow"))+"\n ")])],1),e._v(" "),n("p",{staticClass:"ara-profile-view-user-public__text"},[e._v(e._s(e.$t("profile.user_public.private_text")))])])]:e._e()],2)],1)},[],!1,null,null,null).exports;function wp(e){return wp="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},wp(e)}function Cp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cp(Object(n),!0).forEach(function(t){Sp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Sp(e,t,n){return(t=function(e){var t=function(e){if("object"!=wp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=wp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const kp={name:"ara-public-profile-aside",mixins:[Q.A],components:{araPublicProfile:yp},data:function(){return{iconArrowBack:Et.A,loadProfile:!0}},methods:_p(_p({},(0,G.i0)("user",["toggleShowPublicProfile"])),{},{autoOpenProfile:function(){this.currentUser?this.toggleShowPublicProfile():window.location.href=this.loginUrl},close:function(){this.toggleShowPublicProfile()}}),computed:_p({},(0,G.L8)("user",["showPublicProfile","publicProfileId"])),watch:{showPublicProfile:function(e){e?this.blockBodyScroll():this.restoreBodyScroll()}}},Ap=(0,Le.A)(kp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"ara-aside-transition"}},[e.showPublicProfile?n("aside",{staticClass:"ara-aside"},[n("ara-public-profile",{attrs:{userId:e.publicProfileId},on:{close:e.close}}
2)],1):e._e()])},[],!1,null,null,null).exports;var Pp=n(14592);const xp={name:"ara-swiper-newsletter",props:{cards:{type:Array},slotType:{type:String}},data:function(){return{cardsLength:0,cardWith:0,bulletsNumber:0,iconPrev:Pe.A,iconNext:xe.A,bulletActive:1,leftPosition:0,showBullets:!0,showLeft:!1,showRight:!0,marginLeft:30,swiperOption:null}},components:{swiper:Pp.swiper,swiperSlide:Pp.swiperSlide},directives:{swiper:Pp.directive},computed:{numberOfSlides:function(){return"slot4"===this.slotType?3:4}},beforeMount:function(){this.swiperOption={slidesPerView:this.numberOfSlides,slidesPerGroup:1,spaceBetween:32,loop:!1,loopFillGroupWithBlank:!1,allowTouchMove:!1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},width:780,breakpoints:{1024:{slidesPerView:3,slidesPerGroup:1,spaceBetween:30,allowTouchMove:!0,width:728},768:{slidesPerView:"auto",slidesPerGroup:1,spaceBetween:20,allowTouchMove:!0,width:void 0}}}},methods:{setStyle:function(e){var t=e.backgroundColor,n=e.backgroundColorHover;return t.search("#")<0&&(t="#".concat(t)),n.search("#")<0&&(n="#".concat(n)),"--card-background: ".concat(t,"; --card-hover: ").concat(n)},goToUrl:function(e){window.location.href=e}}},Op=(0,Le.A)(xp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-swiper"},[n("swiper",{ref:"mySwiper",staticClass:"ara-swiper-wrapper",attrs:{options:e.swiperOption}},[e._l(e.cards,function(t){return n("swiper-slide",{key:t.id},[n("div",{staticClass:"newsletters-card",style:e.setStyle(t),on:{click:function(n){return e.goToUrl(t.newsletter.href)}}},[n("div",{staticClass:"newsletters-card-logo"},[n("img",{attrs:{src:t.headerShared.url,width:t.headerShared.width,height:t.headerShared.height,alt:t.headerShared.alt}})]),e._v(" "),n("div",{staticClass:"newsletters-card-picture"},[n("img",{attrs:{src:t.illustration.url,width:t.illustration.width,height:t.illustration.height,alt:t.illustration.alt}})]),e._v(" "),n("a",{staticClass:"newsletters-card-link",attrs:{href:t.newsletter.href},domProps:{textContent:e._s(t.newsletter.text)}})])])}),e._v(" "),n("div",{staticClass:"swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconPrev)}})]),e._v(" "),n("div",{staticClass:"swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconNext)}})])],2)],1)},[],!1,null,null,null).exports,Ip={name:"ara-column-swiper",props:{columns:{type:Array}},data:function(){return{swiperOption:null,isMounted:!1}},components:{swiper:Pp.swiper,swiperSlide:Pp.swiperSlide},computed:{columnIntro:function(){return 1===this.columns.length?"".concat(this.$t("header.author.column"),":"):"".concat(this.$t("header.author.columns"),":")}},directives:{swiper:Pp.directive},methods:{trackevent:function(e,t){this.$track({category:"column-swiper",action:e,label:t})}},beforeMount:function(){var e;this.swiperOption={slidesPerView:"auto",allowTouchMove:null===(e=this.columns.length>1)||void 0===e||e,spaceBetween:10,slidesOffsetBefore:20,loop:!1}}},Lp=(0,Le.A)(Ip,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"column-swiper"},[n("div",{staticClass:"column-swiper-wrapper"},[n("swiper",{ref:"mySwiper",attrs:{options:e.swiperOption}},[n("swiper-slide",{key:"intro",staticClass:"column-intro"},[n("span",{ref:"menuIntro",staticClass:"column-intro",domProps:{textContent:e._s(e.columnIntro)}})]),e._v(" "),e._l(e.columns,function(t,r){return n("swiper-slide",{key:r,staticClass:"column-swiper-item"},[n("a",{attrs:{href:t.href,title:t.title,target:t.target,rel:t.rel},domProps:{textContent:e._s(t.text)},on:{click:function(n){return e.trackevent("click",t.title)}}})])})],2)],1)])},[],!1,null,null,null).exports,Ep={name:"ara-header-burger-nav",props:{menu:{type:String,default:""},section:{type:String,default:""}},components:{araButtonNewAction:Ln.A},data:function(){return{items:[],currentSection:{},isOpen:!1,iconNext:xe.A}},created:function(){this.items=JSON.parse(this.menu),this.items.length&&(this.currentSection=JSON.parse(this.section))},methods:{toggleMenu:function(){this.isOpen=!this.isOpen},activeMenu:function(e){return this.currentSection.url===e}}},jp=(0,Le.A)(Ep,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.items?n("div",{staticClass:"ara-header-burger-nav"},[n("ara-button-new-action",{staticClass:"ara-header-burger-nav__btn",class:{"ara-header-burger-nav__btn--open":e.isOpen}
2,attrs:{action:e.isOpen?"close":"burger"},on:{click:e.toggleMenu}}),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],staticClass:"ara-header-burger-nav__menu-dropdown",class:{"ara-header-burger-nav__menu-dropdown--close":e.isOpen}},e._l(e.items,function(t,r){return n("li",{key:r,staticClass:"ara-header-burger-nav__menu-dropdown__link",class:{"ara-header-burger-nav__menu-dropdown__link--active":e.activeMenu(t.link.href)}},[n("a",{attrs:{href:t.link.href,title:t.link.text}},[n("span",{domProps:{textContent:e._s(t.link.text)}}),e._v(" "),n("div",{staticClass:"ara-icon-wrapper"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconNext)}})])])])}),0)],1):e._e()},[],!1,null,"37c9d1d0",null).exports;var Tp=n(32858),Dp=n.n(Tp);const Mp={name:"ara-header-nav",props:{menu:{type:String,default:""},section:{type:String,default:""}},data:function(){return{items:[],currentSection:{},isOpen:!1,menuVisibleElements:[],menuHideElements:[],hideOverflow:!0,iconDropdown:jt.A}},created:function(){this.items=JSON.parse(this.menu),this.menuIsEmpty||(this.currentSection=JSON.parse(this.section),this.throttleValues=Dp()(this.setValues,250),this.resetValues(),window.addEventListener("load",this.throttleValues),window.addEventListener("resize",this.throttleValues))},destroyed:function(){window.removeEventListener("load",this.throttleValues),window.removeEventListener("resize",this.throttleValues)},computed:{menuIsEmpty:function(){return 0===this.items.length},hiddenMenuIsEmpty:function(){return 0===this.menuHideElements.length},showMenu:function(){return!!this.items.length}},methods:{toggleMenu:function(){this.isOpen=!this.isOpen},activeMenu:function(e){return this.currentSection.url===e},setValues:function(){var e=this;this.hideOverflow=!0,this.resetValues(),this.$nextTick(function(){e.calculateValues(),e.hideOverflow=!1})},resetValues:function(){this.menuVisibleElements=S()(this.items),this.menuHideElements=[]},calculateValues:function(){!this.menuIsEmpty&&this.showMenu&&((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<1024?(this.menuVisibleElements=null,this.menuHideElements=S()(this.items)):this.reassignArrays())},reassignArrays:function(){var e=this;this.resetValues();var t=Object.keys(this.$refs).filter(function(e){return e.startsWith("ara-header-nav__item--")}).map(function(t){return e.$refs[t][0]});if(t&&!(t[0].offsetLeft>=0)){var n=t[0].offsetLeft;for(n<0&&(n-=100);n<0;){n+=t.pop().offsetWidth;var r=this.menuVisibleElements.pop();this.menuHideElements.unshift(r)}}}}},Fp=(0,Le.A)(Mp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showMenu?n("div",{ref:"menu",staticClass:"ara-header-nav"},[n("div",{staticClass:"ara-header-nav__wrapper",class:{"ara-header-nav__wrapper--hide":e.hideOverflow}},[e._l(e.menuVisibleElements,function(t,r){return n("a",{key:r,ref:"ara-header-nav__item--"+r,refInFor:!0,staticClass:"ara-header-nav__link",class:{"ara-header-nav__link--active":e.activeMenu(t.link.href)},attrs:{href:t.link.href}},[e._v(e._s(t.link.text))])}),e._v(" "),e.hiddenMenuIsEmpty?e._e():n("div",{staticClass:"ara-header-nav__dropdown"},[n("span",{staticClass:"ara-header-nav__dropdown__title",on:{click:e.toggleMenu}},[n("span",{domProps:{textContent:e._s(this.$t("elements.more"))}}),e._v(" "),n("span",{staticClass:"ara-icon",class:[{"ara-icon--close":e.isOpen}],domProps:{innerHTML:e._s(e.iconDropdown)}})]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],staticClass:"ara-header-nav__dropdown__wrapper",class:[{"ara-header-nav__dropdown__wrapper--close":e.isOpen}]},e._l(e.menuHideElements,function(t,r){return n("li",{key:r},[n("a",{staticClass:"ara-header-nav__dropdown__wrapper__link",class:{"ara-header-nav__dropdown__wrapper__link--active":e.activeMenu(t.link.href)},attrs:{href:t.link.href},domProps:{textContent:e._s(t.link.text)}})])}),0)])],2)]):e._e()},[],!1,null,"b2dc4632",null).exports;function Rp(e){return Rp="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},Rp(e)}function Bp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Bp(Object(n),!0).forEach(function(t){Np(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Np(e,t,n){return(t=function(e){var t=function(e){if("object"!=Rp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Rp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $p={name:"ara-header-section",components:{araHeaderBurgerNav:jp,araHeaderNav:Fp},props:{breadcrumbs:{type:Array},pageType:{type:String},withSearcher:{type:Boolean,default:!1},menu:{type:Array},pageIsNewDesignCommunity:{type:Boolean,default:!1}},data:function(){return{isOpen:!1}},computed:Up(Up({},(0,G.L8)(["runningInApp"])),{},{breadcrumbsLength:function(){return this.breadcrumbs.length},isContent:function(){return"content"===this.pageType},isCommunity:function(){return"community"===this.mainCategory.type},isNewDesignCommunity:function(){return this.pageIsNewDesignCommunity},section:function(){return 1===this.breadcrumbsLength?this.breadcrumbs[0]:this.breadcrumbs[this.breadcrumbsLength-1]},showMenu:function(){return!this.withSearcher&&!this.isContent},ancestorCategory:function(){return this.breadcrumbs[0]},mainCategory:function(){return"community"===this.ancestorCategory.type?this.ancestorCategory:this.section},isSubsection:function(){return this.breadcrumbsLength>1}}),methods:{toggleMenu:function(){this.isOpen=!this.isOpen}}},Vp=(0,Le.A)($p,function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.isContent&&!e.runningInApp||e.isCommunity?n("div",{staticClass:"header-section"},[n("div",{staticClass:"header-section-info",class:e.section.type},[e._t("default",[n("h1",[n(e.mainCategory.url?"a":"div",{tag:"component",attrs:{href:e.mainCategory.url}},[e.isCommunity?n("img",{staticClass:"header-section-logo",attrs:{src:e.mainCategory.mainImage.url,alt:e.mainCategory.mainImage.alt}}):n("span",{staticClass:"header-section-title",domProps:{textContent:e._s(e.mainCategory.name)}})])],1)]),e._v(" "),e.showMenu&&!e.runningInApp?n("ara-header-burger-nav",{attrs:{menu:JSON.stringify(e.menu),section:JSON.stringify(e.breadcrumbs[e.breadcrumbsLength-1])}}):e._e()],2),e._v(" "),e.isCommunity&&!e.isNewDesignCommunity&&e.isSubsection&&!e.isContent?n("div",{staticClass:"header-section-subsection"},[n("span",{staticClass:"header-section-title",domProps:{textContent:e._s(e.section.name)}})]):e._e(),e._v(" "),e.showMenu&&!e.runningInApp?n("ara-header-nav",{attrs:{menu:JSON.stringify(e.menu),section:JSON.stringify(e.breadcrumbs[e.breadcrumbsLength-1])}}):e._e()],1):e._e()},[],!1,null,null,null).exports;function Hp(e){return Hp="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},Hp(e)}function qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gp(e,t,n){return(t=function(e){var t=function(e){if("object"!=Hp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Hp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zp={name:"ara-hot-topics",props:{navigation:{type:Array}},data:function(){return{iconPrev:Pe.A,iconNext:xe.A,swiperOption:null,isMounted:!1,isAdvertising:!1}},components:{swiper:Pp.swiper,swiperSlide:Pp.swiperSlide},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?qp(Object(n),!0).forEach(function(t){Gp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,G.L8)(["menuMobile"])),directives:{swiper:Pp.directive},methods:{trackevent:function(e,t){this.$track({category:"hot-topics",action:e,label:t})}},beforeMount:function(){this.swiperOption={slidesPerView:"auto",slidesPerGroup:10,allowTouchMove:!1,spaceBetween:15,loop:!1,loopFillGroupWithBlank:!1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{768:{allowTouchMove:!0,slidesPerGroup:1}}}},mounted:function(){console.group("ð¥ Hot topics ð¥");var e=!1,t=document.cookie?document.cookie.split("; "):[],n=null;if(t.forEach(function(e){var t=e.split("=");t[0].includes("nx-paywall-data-")&&(n=t[1])}),null===n)e=!1;else try{var r=JSON.parse(n.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent));if(console.log(r),r.messageIds&&r.messageIds[0]&&r.messageIds[0].length){var o=r.messageIds?r.messageIds[0].type:null;console.log(o),"ko"===r.accessGranted&&o&&["contentOnlyForSubscribers","regiwall","counterExceeded"].includes(o)&&(e=!0)}}catch(e){console.error(e)}
2console.log(e),e?(this.isAdvertising=!1,console.log("Sin anuncios")):window.adMap&&window.adMap.top&&(this.isAdvertising=!0,console.log("Con anuncios")),console.groupEnd()}},Wp=zp,Kp=(0,Le.A)(Wp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"hot-topics",class:{"hot-topics--alternative":e.isAdvertising,"hot-topics--hidden":e.menuMobile},attrs:{id:"hot-topics"}},[n("div",{staticClass:"hot-topics-wrapper"},[n("div",{staticClass:"hot-topics-title",domProps:{textContent:e._s(e.$t("hot-topics.title"))}}),e._v(" "),n("div",{staticClass:"ara-swiper-wrapper"},[n("div",{ref:"buttonPrev",staticClass:"swiper-button-prev",attrs:{slot:"button-prev"},on:{click:function(t){return t.preventDefault(),e.trackevent("slide","left")}},slot:"button-prev"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconPrev)}})]),e._v(" "),n("div",{ref:"buttonNext",staticClass:"swiper-button-next",attrs:{slot:"button-next"},on:{click:function(t){return t.preventDefault(),e.trackevent("slide","right")}},slot:"button-next"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconNext)}})]),e._v(" "),n("swiper",{ref:"mySwiper",attrs:{options:e.swiperOption}},e._l(e.navigation,function(t,r){return n("swiper-slide",{key:r,staticClass:"hot-topics-item"},[n("a",{attrs:{href:t.link.href,title:t.link.title,target:t.link.target,rel:t.link.rel},domProps:{textContent:e._s(t.link.text)},on:{click:function(n){return e.trackevent("click",t.link.title)}}})])}),1)],1)])])},[],!1,null,null,null).exports,Zp={name:"ara-breadcrumbs",props:{breadcrumbs:{type:String,default:""}},data:function(){return{items:[]}},created:function(){this.items=JSON.parse(this.breadcrumbs),this.items.length&&"community"===this.items[0].type&&this.items.shift()},computed:{lastItem:function(){return this.items[this.items.length-1]}}};function Yp(e){return Yp="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},Yp(e)}function Jp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jp(Object(n),!0).forEach(function(t){Xp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xp(e,t,n){return(t=function(e){var t=function(e){if("object"!=Yp(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Yp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ed={name:"ara-header-community",components:{araLogin:ht,araHeaderSection:Vp,araBreadcrumbs:(0,Le.A)(Zp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.items.length?n("div",{staticClass:"ara-breadcrumbs"},[n("a",{staticClass:"ara-breadcrumbs__item",attrs:{href:e.items[0].url,title:e.items[0].name}},[e._v(e._s(e.items[0].name))]),e._v(" "),e.items.length>1?n("a",{staticClass:"ara-breadcrumbs__item",attrs:{href:e.lastItem.url,title:e.items[0].name}},[e._v(e._s(e.lastItem.name))]):e._e()]):e._e()},[],!1,null,"957dc23e",null).exports,araHeaderBurgerNav:jp,araHeaderNav:Fp},props:{breadcrumbs:Array,pageType:String},computed:Qp(Qp({},(0,G.L8)(["breakpoint"])),{},{isMobile:function(){return"mobile"===this.breakpoint},breadcrumbsLength:function(){return this.breadcrumbs.length},showNavigation:function(){return"content"!==this.pageType},section:function(){return 1===this.breadcrumbsLength?this.breadcrumbs[0]:this.breadcrumbs[this.breadcrumbsLength-1]},ancestorCategory:function(){return this.breadcrumbs[0]},mainCategory:function(){return"community"===this.ancestorCategory.type?this.ancestorCategory:this.section}})};function td(e){return td="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},td(e)}
2function nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nd(Object(n),!0).forEach(function(t){od(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function od(e,t,n){return(t=function(e){var t=function(e){if("object"!=td(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=td(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==td(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const id={name:"ara-header-author-columns",props:{breadcrumbs:{type:Array},pageIsOpinion:{type:Boolean},menu:{type:Array}},data:function(){return{isOpen:!1,iconDropdown:jt.A,menuVisibleElements:[],menuHideElements:[],hideOverflow:!0,bodyElement:null}},computed:rd(rd({},(0,G.L8)(["runningInApp"])),{},{columnIntro:function(){return 1===this.menu.length?"".concat(this.$t("header.author.column"),":"):"".concat(this.$t("header.author.columns"),":")},menuIsEmpty:function(){return!this.menu||0===this.menu.length},hiddenMenuIsEmpty:function(){return!this.menuHideElements||0===this.menuHideElements.length},computedMenuVisibleElements:function(){return this.menuVisibleElements},breadcrumbsLength:function(){return this.breadcrumbs.length},section:function(){return 1===this.breadcrumbsLength?this.breadcrumbs[0]:this.breadcrumbs[this.breadcrumbsLength-1]},showMenu:function(){return!this.menuIsEmpty&&!this.pageIsOpinion},ancestorCategory:function(){return this.breadcrumbs[0]},isSubsection:function(){return this.breadcrumbsLength>1}}),created:function(){this.throttleValues=Dp()(this.setValues,250),this.resetValues(),window.addEventListener("load",this.throttleValues),window.addEventListener("resize",this.throttleValues)},destroyed:function(){window.removeEventListener("load",this.throttleValues),window.removeEventListener("resize",this.throttleValues)},methods:{toggleMenu:function(){this.isOpen=!this.isOpen},activeMenu:function(e){return this.section.url===e},setValues:function(){var e=this;this.hideOverflow=!0,this.resetValues(),this.$nextTick(function(){e.calculateValues(),e.hideOverflow=!1})},resetValues:function(){this.menuVisibleElements=S()(this.menu),this.menuHideElements=[]},calculateValues:function(){!this.menuIsEmpty&&this.showMenu&&this.reassignArrays()},reassignArrays:function(){var e=this;this.resetValues();var t=Object.keys(this.$refs).filter(function(e){return e.startsWith("menu-item-")}).map(function(t){return e.$refs[t][0]});if(t&&!(t[0].offsetLeft>=0)){var n=t[0].offsetLeft;for(n<0&&(n-=100);n<0;){n+=t.pop().offsetWidth;var r=this.menuVisibleElements.pop();this.menuHideElements.unshift(r)}}}},watch:{isOpen:function(e){e?this.bodyElement.classList.add("taxon--overlay"):this.bodyElement.classList.remove("taxon--overlay")}},mounted:function(){this.bodyElement=document.getElementsByTagName("body")[0]}},ad=(0,Le.A)(id,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showMenu&&!e.runningInApp?n("div",{ref:"menu",staticClass:"header-author-columns"},[n("span",{ref:"menuIntro",staticClass:"header-author-columns__menu-intro",domProps:{textContent:e._s(e.columnIntro)}}),e._v(" "),n("div",{staticClass:"header-author-columns__menu"},[n("div",{staticClass:"header-author-columns__menu-wrapper"},[e._l(e.computedMenuVisibleElements,function(t,r){return n("a",{key:r,ref:"menu-item-"+r,refInFor:!0,staticClass:"header-author-columns__menu-link",class:{"header-author-columns__menu-link--active":e.activeMenu(t.href)},attrs:{href:t.href},domProps:{textContent:e._s(t.text)}})}),e._v(" "),e.hiddenMenuIsEmpty?e._e():n("div",{staticClass:"header-author-columns__menu-dropdown",class:[{"header-author-columns__menu-dropdown--open":e.isOpen}]},[n("span",{staticClass:"header-author-columns__menu-dropdown-title",on:{click:e.toggleMenu}},[n("span",{domProps:{textContent:e._s(this.$t("elements.more"))}}),e._v(" "),n("span",{staticClass:"header-author-columns__menu-dropdown-icon",class:[{"header-author-columns__menu-dropdown-icon--close":e.isOpen}],domProps:{innerHTML:e._s(e.iconDropdown)}})]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],staticClass:"header-author-columns__menu-dropdown-wrapper",class:[{"header-author-columns__menu-dropdown-wrapper--close":e.isOpen}]},e._l(e.menuHideElements,function(t,r){return n("a",{key:r,staticClass:"header-author-columns__menu-dropdown-link",class:{"header-author-columns__menu-dropdown-link--active":e.activeMenu(t.href)},attrs:{href:t.href,title:t.text},domProps:{textContent:e._s(t.text)}})}
2),0)])],2)])]):e._e()},[],!1,null,null,null).exports;function sd(e){return sd="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},sd(e)}function ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ld(Object(n),!0).forEach(function(t){ud(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ld(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ud(e,t,n){return(t=function(e){var t=function(e){if("object"!=sd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=sd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pd={name:"ara-dark-mode-init",mixins:[X.A],computed:cd(cd(cd({},(0,G.L8)("user",["currentUser","isStaff"])),(0,G.L8)(["darkMode"])),(0,G.L8)(["runningInApp"])),created:function(){this.setThemeFromLocalStorage()},methods:{setThemeFromLocalStorage:function(){if(localStorage&&localStorage.getItem("theme")){var e=localStorage.getItem("theme");this.setMode(e)}},setLocalStorageTheme:function(e){!e||!localStorage||localStorage.getItem("theme")&&e===localStorage.getItem("theme")||localStorage.setItem("theme",e)},initDarkMode:function(){if(this.currentUser&&this.isStaff){var e=localStorage.getItem("theme")||No.Vw;this.setMode(e),this.setLocalStorageTheme(e)}},initAppDarkMode:function(){var e=this;if(null===this.currentUser)return new Promise(function(t){e.channelAction("requestToken"),new Promise(function(e){return setTimeout(e,3e3)}).then(function(){}).finally(function(){if(e.currentUser&&e.isStaff){var t=localStorage.getItem("theme")||No.Vw;e.setMode(t),e.setLocalStorageTheme(t)}})});this.initDarkMode()},setMode:function(e){var t=e===No.fS||e===No.Qm&&window.matchMedia("(prefers-color-scheme: dark)").matches;(t&&!document.body.classList.contains("dark-mode")||!t&&document.body.classList.contains("dark-mode"))&&(document.body.classList.toggle("dark-mode",t),document.body.classList.toggle("light-mode",!t))}},mounted:function(){this.runningInApp?this.initAppDarkMode():this.initDarkMode()}},dd=(0,Le.A)(pd,function(){var e=this.$createElement;return(this._self._c||e)("div")},[],!1,null,null,null).exports;function fd(e){return fd="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},fd(e)}function md(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hd(e,t,n){return(t=function(e){var t=function(e){if("object"!=fd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gd={name:"ara-publication-pdf-link",props:{pdfUrl:{type:String,required:!0},pdfAlt:{type:String,default:""},pdfTypeName:{type:String,default:""},pdfDate:{type:String,default:""}},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?md(Object(n),!0).forEach(function(t){hd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):md(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,G.L8)("user",["currentUser","isSubscriber"])),methods:{onClick:function(){this.isSubscriber&&this.$track({category:"paper-pdf",action:"download",label:"".concat(this.pdfTypeName," - ").concat(this.pdfDate.replaceAll("-","/"))})}}},vd=gd,bd=(0,Le.A)(vd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card-image"},[n("a",{staticClass:"card-link",attrs:{href:e.pdfUrl,title:e.pdfAlt},on:{click:e.onClick}},[e._t("default")],2)])},[],!1,null,null,null).exports;function yd(e){return yd="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},yd(e)}function wd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?wd(Object(n),!0).forEach(function(t){_d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _d(e,t,n){return(t=function(e){var t=function(e){if("object"!=yd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=yd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sd={name:"ara-publication-suplements",props:{suplements:{type:Array,default:function(){return[]}},appHref:{type:String}},computed:Cd(Cd({},(0,G.L8)("user",["currentUser","isSubscriber"])),(0,G.L8)(["runningInApp"])),methods:{onClick:function(e){var t=e.href;this.runningInApp&&(t=this.appHref),window.location.href=t}}},kd=(0,Le.A)(Sd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card-publication"},e._l(e.suplements,function(t,r){return n("a",{key:r,staticClass:"publication",attrs:{href:t.href,title:t.title},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),e.onClick(t)}}},[e._v("\n "+e._s(t.text)+"\n ")])}),0)},[],!1,null,null,null).exports;function Ad(e){return Ad="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},Ad(e)}function Pd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pd(Object(n),!0).forEach(function(t){Od(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Od(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ad(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ad(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ad(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Id={name:"ara-modal-manager",components:{araModalWindow:Ho.A},data:function(){return{showModal:!1,manualModal:null}},computed:xd(xd(xd({},(0,G.L8)(["modals"])),(0,G.L8)("user",["currentUser"])),{},{modal:function(){var e=this;return this.modals.length<1?null:this.modals.find(function(t){return e.manualModal?t.name===e.manualModal:e.shouldShow(t)})||null}}),methods:{openModalByName:function(e){var t=this;this.manualModal=e,this.$nextTick(function(){t.showModal=!0})},shouldShow:function(e){return!(!e||!e.name||e.manual||e.showFunction&&!e.showFunction({currentUser:this.currentUser})||e.showInUrl&&window.location.pathname!==e.showInUrl||void 0!==e.showOnce&&null!==e.showOnce&&!0===e.showOnce&&null!==this.modalAlreadyShown(e.name)||e.showEvery&&!this.modalShouldShowAgain(e))},modalAlreadyShown:function(e){return localStorage.getItem("modal-".concat(e))},modalShouldShowAgain:function(e){var t=this.modalAlreadyShown(e.name);return null===t||+new Date-+t>=e.showEvery},openModal:function(){this.$track({category:"modal",action:"open",label:this.modal.title})},closeModal:function(){var e=this;this.$nextTick(function(){e.manualModal=null,e.showModal=!1}),this.$track({category:"modal",action:"close",label:this.modal.title})},onClick:function(){this.$track({category:"modal",action:"click",label:"".concat(this.modal.title," - ").concat(this.modal.buttonText)}),this.modal.closeOnButtonClick&&this.closeModal()}},watch:{modals:function(){var e=this;null!==this.modal&&(localStorage.setItem("modal-".concat(this.modal.name),"".concat(+new Date)),this.$nextTick(function(){e.showModal=!0}))}},mounted:function(){Gn.A.$on("openModal",this.openModalByName)}},Ld=(0,Le.A)(Id,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.modal?n("div",[n("ara-modal-window",{attrs:{persistent:""},on:{open:e.openModal,close:e.closeModal},scopedSlots:e._u([{key:"title",fn:function(){return[e.modal.title?n("span",{domProps:{innerHTML:e._s(e.$t(e.modal.title))}}
2):e._e()]},proxy:!0},{key:"text",fn:function(){return[e.modal.text?n("span",{domProps:{innerHTML:e._s(e.$t(e.modal.text))}}):e._e()]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button",{attrs:{href:e.modal.buttonUrl},on:{click:e.onClick}},[e._v("\n "+e._s(e.$t(e.modal.buttonText))+"\n ")])]},proxy:!0}],null,!1,1303513966),model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}})],1):e._e()},[],!1,null,null,null).exports;var Ed=n(75880);const jd={name:"ara-advertising-position-list",extends:Ed.A},Td=(0,Le.A)(jd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.advertisingVisible?n("div",{staticClass:"advertising-wrapper--list"},[n("div",{class:[{advertising:e.config||e.visibleAlways},e.slotType,e.type,{hide:e.isHide,"hide--subscriber":e.isSubscriberAndPositionNoVisibleForSubscribers,"sky--top":e.pageIsOnTop,"advertising--fixed":e.fixedHeight}]},[this.preview?n("figure",{staticClass:"advertising-wrapper advertising-wrapper--preview"},[n("div",{staticClass:"info",style:{height:e.height,width:e.width}},[n("span",{staticClass:"title",domProps:{textContent:e._s(e.slotType+" "+e.adUnitCode)}}),e._v(" "),n("span",{staticClass:"dimensions",domProps:{textContent:e._s(e.dimensions)}})])]):e.advertisingVisible?n("div",{staticClass:"ssmas-ad advertising-wrapper list",attrs:{"data-ad-position":e.adUnitPath}},[e.runningInShowroom?n("div",{staticClass:"ssm_adunit_container"}):e._e()]):e._e()])]):e._e()},[],!1,null,null,null).exports;function Dd(e){return Dd="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},Dd(e)}function Md(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Md(Object(n),!0).forEach(function(t){Rd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Md(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Rd(e,t,n){return(t=function(e){var t=function(e){if("object"!=Dd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Dd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Dd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bd={name:"ara-advertising-position-conditional",props:{bannerType:{type:String,required:!0}},data:function(){return{}},mixins:[ee.A],computed:Fd(Fd(Fd({},(0,G.L8)("user",["isSubscriber","currentUser"])),(0,G.L8)(["contentId"])),{},{visible:function(){if(null===this.contentId)return!1;var e=Sa().getJSON("nx-paywall-data-".concat(this.contentId));if(null!==e){var t=e.firstMessageId;if(t){var n=e.messageIds.find(function(e){return e.messageId===t});if(void 0!==n.type&&"regiwall"===n.type)return!0}return!1}return!1}})},Ud=(0,Le.A)(Bd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.visible?n("ara-advertising-position",{attrs:{type:e.bannerType}}):e._e()},[],!1,null,null,null).exports;function Nd(e){return Nd="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},Nd(e)}function $d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$d(Object(n),!0).forEach(function(t){Hd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$d(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hd(e,t,n){return(t=function(e){var t=function(e){if("object"!=Nd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Nd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qd(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return Gd(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Gd(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Gd(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,Gd(p,"constructor",c),Gd(c,"constructor",l),l.displayName="GeneratorFunction",Gd(c,o,"GeneratorFunction"),Gd(p),Gd(p,o,"Generator"),Gd(p,r,function(){return this}),Gd(p,"toString",function(){return"[object Generator]"}),(qd=function(){return{w:i,m:d}})()}function Gd(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Gd=function(e,t,n,r){function i(t,n){Gd(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Gd(e,t,n,r)}function zd(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var Wd="NXPaywallSitePaywallRelativeVersionId";const Kd={name:"ara-paywall-version-testing",mixins:[ee.A,X.A],data:function(){return{accessGranted:null,messageIds:[],userCounter:null,userRfv:null,conditionName:null,conditionId:null,showInfo:!1,iconDropdown:jt.A,ruleId:null,ruleName:null}},mounted:function(){var e,t=this;return(e=qd().m(function e(){return qd().w(function(e){for(;;)switch(e.n){case 0:void 0!==t.paywallVersionId&&t.getContentPaywallData(t.contentId);case 1:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){zd(i,r,o,a,s,"next",e)}function s(e){zd(i,r,o,a,s,"throw",e)}a(void 0)})})()},computed:Vd(Vd({},(0,G.L8)(["contentId"])),{},{paywallVersionId:function(){return Sa().getJSON(Wd)}}),methods:{backToPublishedPaywall:function(){var e=window.location.hostname.split(".");e.shift();var t=".".concat(e.join("."));Sa().remove(Wd,{domain:t}),window.location.reload()},toggleShowInfo:function(){this.showInfo=!this.showInfo}}},Zd=Kd,Yd=(0,Le.A)(Zd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.paywallVersionId?n("div",{staticClass:"paywall__testing-message",class:{"paywall__testing-message--open":e.showInfo}},[n("h3",[n("span",{staticClass:"circle"}),e._v(" Testing versión de paywall "+e._s(e.paywallVersionId))]),e._v(" "),n("div",{staticClass:"show-info",class:e.showInfo?"show-info-expanded":""},[n("div",{staticClass:"row"},[n("span",{attrs:{title:decodeURI(e.conditionName)},domProps:{textContent:e._s(decodeURI(e.conditionName))}}),e._v(" "),n("span",{attrs:{title:e.conditionId},domProps:{textContent:e._s(e.conditionId)}})]),e._v(" "),n("div",{staticClass:"row"},[n("span",{attrs:{title:decodeURI(e.ruleName)},domProps:{textContent:e._s(decodeURI(e.ruleName))}}),e._v(" "),n("span",{attrs:{title:e.ruleId},domProps:{textContent:e._s(e.ruleId)}})]),e._v(" "),e._l(e.messageIds[0],function(t,r,o){return n("div",{key:o,staticClass:"row"},[n("span",{attrs:{title:r},domProps:{textContent:e._s(r)}}),e._v(" "),n("span",{attrs:{title:t},domProps:{textContent:e._s(t)}})])})],2),e._v(" "),n("span",{staticClass:"show-more",on:{click:e.toggleShowInfo}},[n("span",{domProps:{textContent:e._s(e.showInfo?"Ver menos":"Ver más")}}),e._v(" "),n("span",{staticClass:"ara-icon",class:e.showInfo?"ara-icon-inverted":"",domProps:{innerHTML:e._s(e.iconDropdown)}})]),e._v(" "),n("ara-button",{on:{click:e.backToPublishedPaywall}},[e._v("\n Volver a versión de paywall publicada\n ")])],1):e._e(
2)},[],!1,null,null,null).exports;n(52272);const Jd={name:"ara-advertising-manager-right-column",props:{rightColumnContent:{type:Array,required:!0}},data:function(){return{numberOfAds:0}},computed:{rightColumnAds:function(){return this.numberOfAds}},mounted:function(){window.addEventListener("DOMContentLoaded",this.calculateRightAds)},beforeDestroy:function(){window.removeEventListener("DOMContentLoaded",this.calculateRightAds)},methods:{calculateRightAds:function(){var e=(document.getElementById("layout-right").clientHeight-1e3)/1600;this.numberOfAds=Math.trunc(e)}}},Qd=(0,Le.A)(Jd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.rightColumnAds,function(t){return n("div",{key:t,staticClass:"advertising contentRight advertising--sticky"},[e.rightColumnContent[t-1]?n("ara-advertising-position",{attrs:{type:"contentRight",refresh:"",infinite:"","position-config":e.rightColumnContent[t-1],"fixed-height":"","custom-sizes":[[300,300],[300,600]],"custom-size-mapping":[[[0,0],[[300,300],[300,600]]]]}}):e._e()],1)}),0)},[],!1,null,null,null).exports,Xd={name:"ara-advertising-manager-right-column-list",props:{rightColumnList:{type:Array,required:!0}},data:function(){return{numberOfAdsToShow:0}},created:function(){Gn.A.$on("paginateList",this.paginateList)},methods:{calculateRightAds:function(){var e=this.$el.closest(".main-layout").querySelector(".layout--left");if(e){var t=(e.clientHeight-1820)/1820;this.numberOfAdsToShow=Math.min(Math.trunc(t),this.rightColumnList.length)}},paginateList:function(){var e=this;this.$nextTick(function(){e.calculateRightAds()})}}},ef=(0,Le.A)(Xd,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"advertising-container--right"},e._l(e.numberOfAdsToShow,function(t){return n("ara-advertising-position",{key:t,attrs:{type:"contentRight",refresh:"",infinite:"","position-config":e.rightColumnList[t-1],"fixed-height":"","custom-sizes":[[300,300],[300,600]],"custom-size-mapping":[[[0,0],[[300,300],[300,600]]]]}})}),1)},[],!1,null,null,null).exports;function tf(e){return tf="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},tf(e)}function nf(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return rf(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(rf(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,rf(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,rf(p,"constructor",c),rf(c,"constructor",l),l.displayName="GeneratorFunction",rf(c,o,"GeneratorFunction"),rf(p),rf(p,o,"Generator"),rf(p,r,function(){return this}),rf(p,"toString",function(){return"[object Generator]"}),(nf=function(){return{w:i,m:d}})()}function rf(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}rf=function(e,t,n,r){function i(t,n){rf(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},rf(e,t,n,r)}function of(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function af(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?sf(Object(n),!0).forEach(function(t){cf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cf(e,t,n){return(t=function(e){var t=function(e){if("object"!=tf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}o().component("araButton",In),o().component("araButtonNew",lt.A),o().component("araButtonNewAction",Ln.A),o().component("araButtonNewText",En.A),o().component("araButtonNewSocial",Fn),o().component("araButtonNewMedia",qn),o().component("araMediaInfo",or),o().component("araAdvertisingPosition",Ed.A),o().component("araAdvertisingPositionList",Td);const uf={mixins:[J,X.A,Q.A,pe],components:{pageVariables:{props:["env","site","siteCard","translationUrls","featureFlags","isHome","preview","runningInShowroom"],methods:lf({},(0,G.i0)(["setEnv","setSite","setTranslationUrls","setFeatureFlags","setIsHome","setPreview","setRunningInShowroom"])),mounted:function(){this.setEnv(this.env||"PRO");var e=this.site||{},t=this.siteCard||{};this.setSite(lf(lf({},e),t)),this.setTranslationUrls(this.translationUrls||[]),this.setFeatureFlags(this.featureFlags),this.setIsHome(this.isHome),this.setPreview(this.preview),this.setRunningInShowroom(this.runningInShowroom)},render:function(){return null}},araActionBar:Ae.A,araAdvertisingPosition:Ed.A,araAdvertisingPositionList:Td,araAdvertisingPositionConditional:Ud,araAdvertisingManagerRightColumn:Qd,araAdvertisingManagerRightColumnList:ef,araAlert:wr,araArchive:function(){return n.e(462).then(n.bind(n,69462))},araAside:fp,araAudioPlayer:function(){return Promise.resolve().then(n.bind(n,98056))},araAuthorQuestion:function(){return n.e(993).then(n.bind(n,52993))},araAvailableTranslations:function(){return n.e(205).then(n.bind(n,80205))},araBurgerCommunity:so,araCarousel:vr,araCarouselCards:Te,araCarouselVideos:Me,araColumnSwiper:Lp,araComments:function(){return Promise.all([n.e(829),n.e(242)]).then(n.bind(n,1242))},araCommentsViewerPage:function(){return Promise.all([n.e(829),n.e(412)]).then(n.bind(n,40412))},araContentLiveHeader:function(){return n.e(759).then(n.bind(n,89759))},araDarkModeInit:dd,araFilteredSearch:function(){return n.e(330).then(n.bind(n,41330))},araFootballResume:function(){return n.e(746).then(n.bind(n,16010))},araFollowUsGoogle:function(){return n.e(248).then(n.bind(n,65248))},araFooterCollaborators:ot,araHeader:Ut,araHeaderApp:qt,araHeaderAuthorColumns:ad,araHeaderCommunity:ed,araHeaderContainerApp:Yt,araHeaderSection:Vp,araHomeMateix:function(){return Promise.all([n.e(840),n.e(140)]).then(n.bind(n,94140))},araHotTopics:Kp,araImageComparator:function(){return Promise.all([n.e(179),n.e(528)]).then(n.bind(n,27528))},araLineClamp:Qn.A,araLineSwipe:er,araList:Jn,araLive:function(){return n.e(840).then(n.bind(n,24840))},araLiveMateix:function(){return Promise.all([n.e(840),n.e(105)]).then(n.bind(n,13105))},araMediaInfo:or,araMobileMenu:ln,araModalManager:Ld,araMultimediaVisor:gn,araOpeningPlayer:function(){return n.e(562).then(n.bind(n,51562))},araPaywallBlocking:function(){return Promise.resolve().then(n.bind(n,97262))},araPaywallBlockingCommunity:function(){return Promise.resolve().then(n.bind(n,20315))},araPaywallColumnCounter:function(){return Promise.resolve().then(n.bind(n,15181))},araPaywallColumnOffer:function(){return Promise.resolve().then(n.bind(n,92944))},araPaywallColumnTrial:function(){return Promise.resolve().then(n.bind(n,165))},araPaywallGift:function(){return Promise.resolve().then(n.bind(n,36515))},araPaywallGiftExpired:function(){return Promise.resolve().then(n.bind(n,16707))},araPaywallManager:oo,araPaywallRegiwall:function(){return Promise.resolve().then(n.bind(n,89871))},araPaywallVersionTesting:Yd,araPoll:function(){return n.e(805).then(n.bind(n,73805))},araPollActionBarDetail:function(){return n.e(553).then(n.bind(n,30553))},araPredictiveSearch:bn,araProfile:sp,araPublicationPdfLink:bd,araPublicationSuplements:kd,araPublicProfileAside:Ap,araQuiz:function(){return n.e(397).then(n.bind(n,87397))},araRelativeDate:br.A,araSearchInput:Tt.A,araShowIfNotSubscriptor:$e,araShowroomButtons:function(){return n.e(236).then(n.bind(n,46236))},araShowroomCheckResolution:function(){return n.e(300).then(n.bind(n,84300))},araShowroomDropdown:function(){return n.e(448).then(n.bind(n,71448))},araShowroomForms:function(){return n.e(565).then(n.bind(n,97565))},araShowroomModals:function(){return n.e(891).then(n.bind(n,72272))},araShowroomSnackbars:function(){return n.e(774).then(n.bind(n,774))},araSnackbarMail:kn,araSnackbarPopup:An.A,araStoryModuleHeader:function(){return n.e(92).then(n.bind(n,49092))},araSwiper:Pn.A,araSwiperNewsletter:Op,araUserAuthors:function(){return n.e(367).then(n.bind(n,97367))},araUserFollowButton:function(){return Promise.resolve().then(n.bind(n,21129))},araUserLogin:function(){return Promise.resolve().then(n.bind(n,56635))},araUserPassword:function(){return n.e(743).then(n.bind(n,30743))},araUserRegister:function(){return Promise.resolve().then(n.bind(n,17940))},araUserValidateEmail:function(){return Promise.resolve().then(n.bind(n,72594))}
2,araUserWelcome:function(){return n.e(270).then(n.bind(n,32270))},araVideoPlayer:function(){return Promise.resolve().then(n.bind(n,69654))},araVideoVisor:function(){return n.e(285).then(n.bind(n,46285))}},computed:lf(lf({},(0,G.L8)(["env","runningInApp","darkMode","menuMobile","displayVisor","breakpoint","site","runningInShowroom","marfeelNativeEnabled"])),(0,G.L8)("user",["currentUser","userToken"])),watch:{menuMobile:function(e){document.body.classList.toggle("mobile-menu",e)},displayVisor:function(e){document.body.classList.toggle("display-visor",e)},breakpoint:function(e){"mobile"!==e&&"fixed"===document.body.style.position&&this.restoreBodyScroll()},currentUser:function(e){this.runningInApp&&null!=e&&Object.keys(e).length>0&&e.constructor===Object&&this.initDatalayer()}},methods:lf(lf(lf({postNativeMessage:function(e){return _e(e.action,e.payload)},handleNativeMessage:Se},(0,G.i0)(["showSnackbar","handleHeaderScroll","initModals","setPermissionManager"])),(0,G.i0)("user",["loadUserSession","loadUserFromToken","getCurrentUser"])),{},{sendWebviewReadyActionToApps:function(){this.channelAction("webviewReady",null,function(){return console.debug("App ready")})},configureAnalyticsHandler:function(){var e=this;this.$registerTrackingFunction(function(t){var n=t.category,r=t.action,o=t.label,i=t.value;e.channelAction("analytic",{type:"event",data:{name:"".concat(n,"_").concat(r.replace(/-/gi,"_")),properties:{label:o?o.toString():void 0,value:i?i.toString():void 0}}},function(){var e={event:n,eventAction:r,eventLabel:o,eventValue:i};console.log("Datalayer event push",e),window.dataLayer&&"function"==typeof window.dataLayer.push&&window.dataLayer.push(e)})})},loadSnacksFromQueryString:function(){var e=new URLSearchParams(window.location.search);e.has("snackbar")&&"error"===e.get("snackbar")&&this.showSnackbar({contentText:this.$t("snackbar.error-message"),button:!0,error:!0})},onUrlHashChange:function(){var e=(0,ke.ih)();e&&(this.loadUserFromToken(e),!1===window.location.pathname.startsWith("/webview/")&&this.channelAction("reload",null,function(){return console.debug("webview reload")}))},initPermissionManager:function(){var e=[{functionality:ct.WU.COMMENTS,permissions:[ct.CG.ALL],permissionsWhenDenied:[ct.CG.READ]},{functionality:ct.WU.HEMEROTECA,permissions:[ct.CG.ALL],permissionsWhenDenied:[ct.CG.READ]}],t=null===this.currentUser||void 0,n=this.currentUser&&this.currentUser.advantages?this.currentUser.advantages.split(","):[];this.setPermissionManager(new ct.BO(n,e,t))},addModalsToState:function(){this.initModals()},updateUserCookieFromProfileData:function(){var e=this,t={};[["userId","id"],"nick","name","avatarUrl","email","emailValidated","subscriber","isStaff","subscriptionId","subscriptionType","theme","hasSubscriptionCard","hasTargetActiveInSubscriptionCard","type","advantages","premium","fundador","bannedComments","rfv","canGiveAway","numberGiftsRemaining","hasSubscriberSiteIds","hasSubscriberCategoryIds","hasSubscriberExcludedCategoryIds","isRegisteredWithSocial"].forEach(function(n){var r,o,i=n,a=n;if(Array.isArray(n)){var s=(o=2,function(e){if(Array.isArray(e))return e}(r=n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(r,o)||function(e,t){if(e){if("string"==typeof e)return af(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?af(e,t):void 0}}(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());i=s[0],a=s[1]}t[i]=e.currentUser[a]}),localStorage.setItem("updated-profile-cookie-data",JSON.stringify(t))}}),created:function(){var e,t=this;return(e=nf().m(function e(){var n,r,o,i,a;return nf().w(function(e){for(;;)switch(e.n){case 0:return window.araAppPerformance&&window.araAppPerformance.stopPerformanceTracking(window.araAppPerformance.eventsToTrack.VUE_CREATED_START),t.configureAnalyticsHandler(),t.initChannelHandler(),window.addEventListener("scroll",t.handleHeaderScroll,{passive:!0}),e.n=1,t.loadUserSession();case 1:if(t.sendWebviewReadyActionToApps(),!t.currentUser||null===t.currentUser.id){e.n=4;break}if(n=!1,void 0!==Sa().getJSON("nx-user-refresh")&&(n=!0,(r=window.location.hostname.split(".")).shift(),o=".".concat(r.join(".")),Sa().remove("nx-user-refresh",{domain:o})),i=localStorage.getItem("user-profile-loaded"),a=new Date,(null===i||new Date(+i).setHours(0,0,0,0)!==a.setHours(0,0,0,0))&&(n=!0),!n){e.n=3;break}return e.n=2,t.getCurrentUser();case 2:localStorage.setItem("user-profile-loaded","".concat(+a)),t.updateUserCookieFromProfileData();case 3:t.initPermissionManager(),t.addModalsToState();case 4:t.runningInApp||t.initDatalayer(),window.marfeelNativeEnabled=t.marfeelNativeEnabled||!1;case 5:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){of(i,r,o,a,s,"next",e)}function s(e){of(i,r,o,a,s,"throw",e)}a(void 0)})})()},mounted:function(){window.araAppPerformance&&window.araAppPerformance.stopPerformanceTracking(window.araAppPerformance.eventsToTrack.VUE_MOUNTED_START),o().prototype.lazy=window.lazyLoadInstance,window.lazyLoadInstance.update(
2),this.loadSnacksFromQueryString(),window.onhashchange=this.onUrlHashChange,window.araAppPerformance&&(window.araAppPerformance.stopPerformanceTracking(window.araAppPerformance.eventsToTrack.VUE_MOUNTED_END),this.$nextTick(function(){window.araAppPerformance.stopPerformanceTracking(window.araAppPerformance.eventsToTrack.VUE_MOUNTED_WITH_CHILDREN)}));var e=Sa().getJSON("nx-register-user");e&&this.$track({category:"account",action:"register",label:e})},beforeDestroy:function(){window.removeEventListener("scroll",this.handleHeaderScroll)}};var pf=n(97153),df=n(12418),ff=n.n(df),mf=n(14337),hf=n(91474),gf=n(15841),vf=n.n(gf);function bf(e){return bf="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},bf(e)}function yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yf(Object(n),!0).forEach(function(t){Cf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Cf(e,t,n){return(t=function(e){var t=function(e){if("object"!=bf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(28066);const _f={name:"ara-archive-item",props:{item:{type:Object,default:function(){return{}}}},data:function(){return{userLogged:!1,showModal:!1,downloadButton:'<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><path d="m14.25 9v5.25h-10.5v-5.25h-1.5v6.75h13.5v-6.75zm-4.5.5025 1.9425-1.935 1.0575 1.0575-3.75 3.75-3.75-3.75 1.0575-1.0575 1.9425 1.935v-7.2525h1.5z" transform="translate(-2 -2)"/></svg>'}},computed:wf(wf(wf({},(0,G.L8)(["runningInApp"])),(0,G.L8)("archive",["downloadedPDFs"])),{},{hasBeenDownloaded:function(){var e=this;return this.downloadedPDFs.some(function(t){return!(t.id!==e.item.id||t.size&&e.item.pdf.filesize&&Number.parseInt(t.size,10)!==e.item.pdf.filesize&&(console.log("filesize dont match",t.size,e.item.pdf.filesize),1))})}}),methods:{getWeekday:function(e){var t=e.split("/"),n=new Date(t[2],parseInt(t[1])-1,t[0]),r=parseInt((0,us.A)(n).format("d"),10);return us.A.weekdays()[r]},getItemImageUrl:function(e){return e.image.url.replace("_default_","_400w_")},viewItem:function(){!this.runningInApp||this.hasBeenDownloaded?this.$emit("viewItem",this.item):this.$emit("downloadItem",this.item)},downloadItem:function(){this.$emit("downloadItem",this.item)}}},Sf=(0,Le.A)(_f,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-archive-item",on:{click:function(t){return t.stopPropagation(),e.viewItem(t)}}},[n("img",{staticClass:"item-image",attrs:{src:e.getItemImageUrl(e.item),alt:e.item.image.alt}}
2),e._v(" "),n("div",{staticClass:"item-info",class:{"item-info--app":e.runningInApp}},[n("div",{staticClass:"item-date"},[n("div",{staticClass:"date"},[e._v(e._s(e.item.dateString))]),e._v(" "),n("div",{staticClass:"weekday"},[e._v(e._s(e.getWeekday(e.item.dateString)))])]),e._v(" "),e.runningInApp?[n("div",{staticClass:"item-download"},[e.hasBeenDownloaded?e._e():n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.downloadButton)},on:{click:function(t){return t.stopPropagation(),e.downloadItem(t)}}})])]:e._e()],2)])},[],!1,null,"59d1bcd8",null).exports;function kf(e){return kf="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},kf(e)}function Af(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Af(Object(n),!0).forEach(function(t){xf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Af(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xf(e,t,n){return(t=function(e){var t=function(e){if("object"!=kf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=kf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Of={name:"ara-archive-items",props:{byDefault:{type:Boolean,default:!1},items:{type:Array,default:function(){return[]}}},data:function(){return{today:(0,us.A)()}},components:{araArchiveItem:Sf},computed:Pf(Pf({},(0,G.L8)("archive",["loading"])),{},{firstItems:function(){if(window.location.href.match(/\/\d+\/$/))return[];var e=this.items[0];if(!e)return[];var t=e.date;return this.items.filter(function(e){return e.date.isSame(t,"day")})},previousItems:function(){return vf()(this.items,this.firstItems)}}),methods:{getDate:function(e){return e.format("DD/MM/YYYY")},getWeekday:function(e){var t=parseInt((0,us.A)(e).format("d"),10);return us.A.weekdays()[t]},viewItem:function(e){this.$emit("viewItem",e)},downloadItem:function(e){this.$emit("downloadItem",e)}}},If=(0,Le.A)(Of,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-archive-items",class:{"no-items":!e.items.length&&!e.loading}},[e.byDefault?[e.firstItems.length?n("div",{staticClass:"today-items"},[n("div",{staticClass:"items-title"},[e._v(e._s(e.$t("archive.latest-edition")))]),e._v(" "),n("div",{staticClass:"items"},[e._l(e.firstItems,function(t,r){return[n("ara-archive-item",{key:r,attrs:{item:t},on:{viewItem:e.viewItem,downloadItem:e.downloadItem}})]})],2)]):e._e(),e._v(" "),e.previousItems.length?n("div",{staticClass:"previous-items"},[n("div",{staticClass:"items-title"},[e._v(e._s(e.$t("archive.previous-editions")))]),e._v(" "),n("div",{staticClass:"items"},[e._l(e.previousItems,function(t,r){return[n("ara-archive-item",{key:r,attrs:{item:t},on:{viewItem:e.viewItem,downloadItem:e.downloadItem}})]})],2)]):e._e()]:[e.items.length||e.loading?[n("div",{staticClass:"items"},[e._l(e.items,function(t,r){return[n("ara-archive-item",{key:r,attrs:{item:t},on:{viewItem:e.viewItem,downloadItem:e.downloadItem}})]})],2)]:n("div",{staticClass:"no-items--message"},[e._v("\n "+e._s(e.$t("archive.no-results"))+"\n ")])]],2)},[],!1,null,"38ae7eca",null).exports;function Lf(e){return Lf="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},Lf(e)}function Ef(e){return function(e){if(Array.isArray(e))return jf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return jf(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jf(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Df(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Tf(Object(n),!0).forEach(function(t){Mf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mf(e,t,n){return(t=function(e){var t=function(e){if("object"!=Lf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Lf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Lf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ff={name:"ara-archive-search",props:{customHtmlModalsRegister:{type:String},customHtmlModalsSubscriber:{type:String}},mixins:[X.A],data:function(){return{iconPlus:mf.A,selectedFilters:[],fetchingRetries:0,params:{edition:null,publication:null,date:null},useOnlyAjax:!1,showSubscriptionModal:!1,showPermissionsModal:!1,modalTitle:"",modalText:"",modalHTML:"",modalButton1:"",modalTextButton1:"",modalButton2:""}},components:{araModalWindow:Ho.A,araLoading:Ra.A,araSearchFilters:hf.A,araArchiveItems:If},computed:Df(Df(Df(Df(Df({},(0,G.L8)("archive",["loading","order","items","currentPage","numPages","totalItems","appSavedPDFsFetched","paginatedNextPage"])),(0,G.L8)(["site","permissionManager","env"])),(0,G.L8)("user",["currentUser","isSubscriber","isAppleSubscriber","userToken"])),(0,G.L8)(["runningInApp","runningInAppApple","headerSticky","headerShowElements"])),{},{hasHemerotecaAccess:function(){return this.currentUser&&(this.isSubscriber||this.isAppleSubscriber)?{access:this.permissionManager.checkPermission(ct.WU.HEMEROTECA).access,permissions:!0}:{access:!1,permissions:!1}},showItems:function(){return!this.runningInApp||this.appSavedPDFsFetched},availableFilters:function(){return[{type:"inputDate",name:"publication-date",label:u.A.t("archive.publication-date"),filters:[{name:"input-date",value:null,maxDate:new Date}]},{type:"single-select",name:"edition",label:u.A.t("archive.edition"),filters:this.availableEditions},{type:"single-select",name:"publication",label:u.A.t("archive.publication"),filters:this.availablePublications}]},availableEditions:function(){return this.$attrs.editions.map(function(e){return{name:e.name,value:e.value}})},availablePublications:function(){var e=this,t=[];return this.$attrs.editions.forEach(function(e){var n;(n=t).push.apply(n,Ef(e.publicationTypes))}),t=this.selectedEdition?this.$attrs.editions.find(function(t){return t.value===e.selectedEdition}).publicationTypes:ff()(this.$attrs.editions.map(function(e){return e.publicationTypes}),"value"),[{name:u.A.t("archive.all"),value:"all"}].concat(Ef(t))},selectedEdition:function(){var e=this.selectedFilters.find(function(e){return"edition"===e.name});return e&&e.value?e.value:this.setDefaultEdition()},selectedPublication:function(){var e=this.selectedFilters.find(function(e){return"publication"===e.name});return e&&e.value?e.value:null},selectedDate:function(){var e=this.selectedFilters.find(function(e){return"inputDate"===e.name});return e&&e.value?e.value:null},byDefault:function(){return!this.params.edition&&!this.params.publication&&!this.params.date},recent:function(){return"desc"===this.order(this.byDefault)},serializedItems:function(){return this.serializeItems(this.items(this.byDefault))},allowedLoadMore:function(){return this.serializedItems.length&&this.currentPage(this.byDefault)<this.numPages(this.byDefault)},showModalButtons:function(){return this.modalButton1||this.modalButton2}}),mounted:function(){var e=this,t=this.$route.params;this.params.edition=t.editionValue||null,this.params.publication=t.publicationValue||null,this.params.date=t.dateValue||null,this.byDefault||this.getItems(),this.selectedFilters.push({name:"edition",value:this.params.edition||this.setDefaultEdition()}),this.selectedFilters.push({name:"publication",value:this.params.publication||"all"}),this.selectedFilters.push({name:"inputDate",value:this.params.date}),window.addEventListener("load",function(){e.channelAction("fetchSavedPDFs",null)}),this.fetching=setInterval(function(){if(e.showItems)clearInterval(e.fetching);else{if(e.fetchingRetries>6)return console.debug("error while trying to fetch pdfs fetchSavedPDFs"),e.$store.dispatch("archive/setSavedPDFs",[]),void clearInterval(e.fetching);e.fetchingRetries+=1,console.debug("retrying fetchSavedPDFs..."),e.channelAction("fetchSavedPDFs",null)}},500)},beforeDestroy:function(){clearInterval(this.fetching)},methods:Df(Df({},(0,G.i0)("archive",["preLoad","loadItems","loadMoreItems","setPaginatedNextPage"])),{},{calculateNextPageUrlManually:function(){if(this.paginatedNextPage){var e=this.paginatedNextPage.slice(this.paginatedNextPage.length-3),t=this.paginatedNextPage.replace(e,"");t+="/".concat(+e.replaceAll("/","")+1,"/"),this.setPaginatedNextPage(t)}},setDefaultEdition:function(){return"balears"===this.site.alias?"balears":"ara"}
2,serializeItems:function(e){var t=this;return e.map(function(e){return{id:e.id,date:(0,us.A)(t.serializeDate(e.date)),dateString:e.dateString,image:e.image,pdf:e.pdf,filesize:e.filesize,type:e.type}})},serializeDate:function(e){return e?new Date(e):null},applyFilters:function(){var e=this;if(this.selectedFilters.forEach(function(t){e.$track({category:"paper-pdf",action:"filter",label:t.name,value:t.value})}),this.params.edition=this.selectedEdition,this.params.publication=this.selectedPublication,this.selectedDate){var t=this.serializeDate(this.selectedDate),n=6e4*t.getTimezoneOffset();this.params.date=new Date(+t-n).toISOString().substring(0,10)}else this.params.date=null;this.setPaginatedNextPage(null),this.loadParams()},loadParams:function(){var e=this.params.edition?"/edition/".concat(this.params.edition):"",t=this.params.publication&&"all"!==this.params.publication?"/publication/".concat(this.params.publication):"",n=this.params.date?"/date/".concat(this.params.date):"",r="/hemeroteca".concat(e).concat(t).concat(n).concat(window.location.search);this.$route.path!==r&&this.$router.push({path:r})},getItems:function(){this.loadItems(Df(Df({},this.params),{},{order:this.order(this.byDefault)}))},toggleSort:function(){this.loadItems(Df(Df({},this.params),{},{order:"desc"===this.order(this.byDefault)?"asc":"desc"}))},loadMore:function(){var e=this;if(!this.paginatedNextPage||this.paginatedNextPage.includes("/2/")||this.useOnlyAjax){this.$track({category:"paper-pdf",action:"load-more",label:this.currentPage(this.byDefault)});var t=document.documentElement.scrollTop;this.loadMoreItems(Df(Df({},this.params),{},{order:this.order(this.byDefault),page:this.currentPage(this.byDefault),byDefault:this.byDefault})).finally(function(){e.calculateNextPageUrlManually(),e.useOnlyAjax=!0,document.documentElement.scrollTop=t})}else window.location.href=this.paginatedNextPage},viewItem:function(e){this.hasHemerotecaAccess.access?(this.$track({category:"paper-pdf",action:this.runningInApp?"view":"download",label:"".concat(e.type.name," - ").concat(e.date.format("DD/MM/YYYY"))}),window.location.href=e.pdf.url):this.showSubscriptionModal=!0},downloadItem:function(e){var t=this;if(this.hasHemerotecaAccess.access){var n="downloadPDF",r={url:e.pdf.url,size:e.pdf.filesize,date:e.date.toISOString(),pdfID:e.id,title:e.pdf.filename,trackingLabel:"".concat(e.type.name," - ").concat(e.date.format("DD/MM/YYYY"))};this.$track({category:"paper-pdf",action:"download",label:"".concat(e.type.name," - ").concat(e.date.format("DD/MM/YYYY"))}),this.$nextTick(function(){t.channelAction(n,r,function(){return console.log({action:n,payload:r})})})}else this.showSubscriptionModal=!0},showDownloads:function(){this.hasHemerotecaAccess.access?this.channelAction("showDownloadedPDFs",null):this.showSubscriptionModal=!0},defaultSubscriptionModalObject:function(e,t){return{category:"modal",action:e,label:"pdf-no-subscription".concat(t?" - ".concat(t):"")}},showSubscriptionModalEvent:function(){this.$track(this.defaultSubscriptionModalObject("show"))},closeSubscriptionModalEvent:function(){this.$track(this.defaultSubscriptionModalObject("close"))},suscriptionButtonModalEvent:function(){this.$track(this.defaultSubscriptionModalObject("click"))},buyButtonModalEvent:function(){this.$track({category:"modal",action:"click",label:"pdf-buy-kiosko"})},goToLogin:function(){this.channelAction("showLogin",{},function(){window.location.href="/usuari/login?backUrl=".concat(window.location.href)})}}),watch:{showSubscriptionModal:function(e){if(e){var t=!1;if(this.currentUser&&this.isSubscriber&&(this.permissionManager.checkPermission(ct.WU.HEMEROTECA).access||(t=!0)),t)this.modalTitle=this.$t("archive.modal.subscriber.title"),this.modalText=this.$t("archive.modal.subscriber.text"),this.modalHTML=this.customHtmlModalsSubscriber,this.modalButton1="",this.modalTextButton1="",this.modalButton2="";else{var n="0,99";"balears"===this.site.alias&&(n="2,99");var r="https://subscripcions.ara.cat/";"balears"===this.site.alias&&(r="https://subscripcions.arabalears.cat/"),"PRO"!==this.env&&(r="https://subscripcions.ara.cat.bbnx.pre.bitban.com/","balears"===this.site.alias&&(r="https://subscripcions.arabalears.cat.bbnx.pre.bitban.com/")),this.modalTitle=this.$t("archive.modal.register.title"),this.modalText=this.$t("archive.modal.register.text",{_price_:n}),this.modalTextButton1=this.$t("archive.modal.register.button1",{_price_:n}),this.modalButton1="https://www.kioskoymas.com/Publicacion/portada/ara",this.modalButton2="".concat(r,"tarifes"),"balears"===this.site.alias&&(this.modalButton1="https://www.kioskoymas.com/Publicacion/portada/arabalears"),this.modalHTML=""}}}}},Rf=(0,Le.A)(Ff,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-archive-search"},[n("div",{staticClass:"search-bar-container"},[n("transition",{attrs:{name:"filters-transition"}},[e.headerShowElements?n("div",{staticClass:"search-bar",class:{sticky:e.headerSticky,app:e.runningInApp}},[e.runningInApp?n("span",{staticClass:"ara-archive-search--downloads",on:{click:e.showDownloads}}
2,[e._v(e._s(e.$t("downloads.downloads")))]):e._e(),e._v(" "),n("ara-search-filters",{attrs:{"available-filters":e.availableFilters,unlabeled:""},on:{apply:e.applyFilters},model:{value:e.selectedFilters,callback:function(t){e.selectedFilters=t},expression:"selectedFilters"}})],1):e._e()])],1),e._v(" "),e.byDefault?e._e():n("div",{staticClass:"results-bar"},[n("div",{staticClass:"num-results"},[e._v("\n "+e._s(e.$tc("archive.number-of-results",e.totalItems(e.byDefault),{n:e.totalItems(e.byDefault)}))+"\n ")]),e._v(" "),e.totalItems(e.byDefault)>1?n("div",{staticClass:"sort-results"},[n("ara-button",{class:e.recent?"":"current",attrs:{text:"",icon:e.iconPlus,disabled:!e.recent},on:{click:e.toggleSort}},[e._v("\n "+e._s(e.$t("archive.oldest"))+"\n ")]),e._v(" "),n("div",{staticClass:"ara-separator"}),e._v(" "),n("ara-button",{class:e.recent?"current":"",attrs:{text:"",icon:e.iconPlus,disabled:e.recent},on:{click:e.toggleSort}},[e._v("\n "+e._s(e.$t("archive.newest"))+"\n ")])],1):e._e()]),e._v(" "),e.loading||!e.showItems?n("div",{staticClass:"archive-search--loading"},[n("ara-loading")],1):e._e(),e._v(" "),n("ara-archive-items",{directives:[{name:"show",rawName:"v-show",value:e.showItems,expression:"showItems"}],attrs:{"by-default":e.byDefault,items:e.serializedItems},on:{downloadItem:e.downloadItem,loadMore:e.loadMore,viewItem:e.viewItem}}),e._v(" "),e.allowedLoadMore&&e.showItems?n("div",{staticClass:"archive-search--load-more"},[n("ara-button",{attrs:{secondary:"",loading:e.loading,href:e.paginatedNextPage},on:{click:function(t){return t.preventDefault(),e.loadMore(t)}}},[e._v(e._s(e.$t("archive.see-more")))])],1):e._e(),e._v(" "),n("ara-modal-window",{attrs:{persistent:"",buttons:e.showModalButtons,classes:"archive-modal"},on:{open:e.showSubscriptionModalEvent,close:e.closeSubscriptionModalEvent},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.modalTitle))]},proxy:!0},{key:"text",fn:function(){return[e._v(e._s(e.modalText))]},proxy:!0},{key:"form",fn:function(){return[e.modalHTML?n("div",{domProps:{innerHTML:e._s(e.modalHTML)}}):e._e()]},proxy:!0},{key:"buttons",fn:function(){return[e.modalButton1?n("ara-button",{attrs:{href:e.modalButton1},on:{click:e.suscriptionButtonModalEvent}},[e._v("\n "+e._s(e.modalTextButton1)+"\n ")]):e._e(),e._v(" "),e.modalButton2?n("ara-button",{attrs:{secondary:"",href:e.modalButton2},on:{click:e.buyButtonModalEvent}},[e._v("\n "+e._s(e.$t("archive.modal.register.button2"))+"\n ")]):e._e()]},proxy:!0},e.modalButton1||e.modalButton2?{key:"footer",fn:function(){return[e._v("\n Ja ets de lâARA? "),n("a",{on:{click:e.goToLogin}},[e._v("Accedeix")])]},proxy:!0}:null],null,!0),model:{value:e.showSubscriptionModal,callback:function(t){e.showSubscriptionModal=t},expression:"showSubscriptionModal"}})],1)},[],!1,null,"2b5cd458",null).exports,Bf={path:"/hemeroteca",component:Rf,children:[{path:"/hemeroteca/:page",component:Rf,props:!0},{path:"/hemeroteca/edition/:editionValue",component:Rf,props:!0},{path:"/hemeroteca/publication/:publicationValue",component:Rf,props:!0},{path:"/hemeroteca/date/:dateValue",component:Rf,props:!0},{path:"/hemeroteca/edition/:editionValue/publication/:publicationValue",component:Rf,props:!0},{path:"/hemeroteca/edition/:editionValue/date/:dateValue",component:Rf,props:!0},{path:"/hemeroteca/publication/:publicationValue/date/:dateValue",component:Rf,props:!0},{path:"/hemeroteca/edition/:editionValue/publication/:publicationValue/date/:dateValue",component:Rf,props:!0}]};o().use(pf.A);const Uf=new pf.A({mode:"history",routes:[Bf]});function Nf(e){return Nf="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},Nf(e)}function $f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vf(e,t,n){return(t=function(e){var t=function(e){if("object"!=Nf(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Nf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nf(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hf=window,qf=Hf.adMap,Gf=Hf.googletag,zf=void 0===Gf?{cmd:[]}:Gf;o().use(F,de.A,{adMap:qf,googletag:zf}),o().directive("click-outside",i),o().directive("resize",s()),o().use(H()),o().use(C),o().use(c()),o().use(q.Ay),function(e){R.S.interceptors.response.use(B,function(e){return function(t){if(N().isCancel(t)){var n=new Error(t);throw"ECONNABORTED"===t.code&&(n.apiInfo={type:"API Timeout!",text:"Unable to connect to the server. Please try again later."}),n}!function(e){if(400===e.response.status){var t=new Error(e);throw t.apiInfo={type:"API Catch 400!",text:"The resource was not found on the server. Please try again later."},t}}(t),function(e,t){if(401===e.response.status){var n=new Error(e);
2if(n.apiInfo={type:"API Catch 401!",text:"You are not authorized to perform this operation.",status:401},t.getters.runningInApp)throw n;t.dispatch("user/logout").finally(function(){throw n})}}(t,e),function(e){if(403===e.response.status){var t=new Error(e);throw t.apiInfo={type:"API Catch 403!, Forbidden operation",text:"You are not authorized to perform this operation.",status:403},t}}(t),function(e){if(404===e.response.status){var t=new Error(e);throw t.apiInfo={type:"API Catch 404!",text:"The resource was not found on the server. Please try again later."},t}}(t),function(e){if(e.response.status>=500){var t=new Error(e);throw t.apiInfo={type:"API Catch 500!",text:"An error occurred while making the request. Please try again later."},t}}(t)}}(e)),R.V.interceptors.request.use($(e)),R.S.interceptors.request.use($(e))}(de.A),window.app=new(o())(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$f(Object(n),!0).forEach(function(t){Vf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({el:"#app",store:de.A,router:Uf,i18n:u.A},uf)),"serviceWorker"in navigator&&window.addEventListener("load",function(){navigator.serviceWorker.register("/service-worker.js",{scope:"/"}).then(function(e){console.debug("SW registered: ",e)}).catch(function(e){console.debug("SW registration failed: ",e)})})},30192(e,t,n){function r(e){return r="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},r(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e,t,n){return(t=function(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(63343),n(14439),n(17046);const a={computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},(0,n(12829).L8)(["breakpoint"])),methods:{blockBodyScroll:function(){"mobile"===this.breakpoint&&(document.body.style.position="fixed")},restoreBodyScroll:function(){document.body.style.position=""}}};n.d(t,["A",0,a])},50968(e,t,n){n(54162),n(4290),n(29068),n(82111),n(78837),n(57406),n(12493),n(47562),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(3188),n(55448),n(63343),n(6552),n(14439),n(17046);var r=n(12829);function o(e){return o="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},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l="Android";const c={computed:a(a({},(0,r.L8)(["channel","platform","runningInApp"])),{},{undefinedAndroidInterface:function(){return!ARAAndroidInterface||!ARAAndroidInterface.handleMessage},undefinedIOSInterface:function(){return!(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.iOSObserver&&window.webkit.messageHandlers.iOSObserver.postMessage)},isIOS:function(){var e=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document;return e||(e=navigator.userAgent.match(/iOS/i)),e}}),methods:a(a({},(0,r.i0)(["setChannel","setPlatform"])),{},{initChannelHandler:function(){this.initCurrentChannel(),this.initCurrentPlatform()}
2,initCurrentChannel:function(){this.setChannel(document.body.classList.contains("app-mode")?"app":"web")},initCurrentPlatform:function(){var e="web";navigator.userAgent.match(/Android/i)&&(e=l),this.isIOS&&(e="iOS"),this.setPlatform(e)},iOSAction:function(e,t,n){if(this.undefinedIOSInterface)return console.error("Unable to call webview interface (iOS)"),void n();t?window.webkit.messageHandlers.iOSObserver.postMessage({action:e,payload:t}):window.webkit.messageHandlers.iOSObserver.postMessage({action:e})},androidAction:function(e,t,n){if(this.undefinedAndroidInterface)return console.error("Unable to call webview interface (Android)"),void n();t?ARAAndroidInterface.handleMessage(e,JSON.stringify(t)):ARAAndroidInterface.handleMessage(e)},channelAction:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};return this.runningInApp?this.platform===l?this.androidAction(e,t,n):"iOS"===this.platform?this.iOSAction(e,t,n):n():n()}})};n.d(t,["A",0,c])},89340(e,t,n){var r=n(62638);const o={methods:{formatDate:function(e){var t=(0,r.A)(),n=(0,r.A)(e);return t.diff(n,"hour")>4?n.format("DD/MM/YYYY"):n.fromNow()},formatDateMateix:function(e){var t=(0,r.A)(),n=(0,r.A)(e),o=t.diff(n,"day");return o>0&&o<2?this.$t("live.yesterday"):o>1?n.format("DD MMM YYYY"):n.format("HH:mm")}}};n.d(t,["A",0,o])},95429(e,t,n){function r(e){return r="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},r(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return(t=function(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(43813),n(91736),n(63343),n(14439),n(17046);const s={methods:i(i({},(0,n(12829).i0)("user/interests",["searchGifts","setGifts"])),{},{refreshTokenAndGifts:function(){var e=this;return new Promise(function(t){e.channelAction("requestToken"),new Promise(function(e){return setTimeout(e,5e3)}).then(function(){}).finally(function(){e.searchAndRefreshGifts().then(function(){t(!0)})})})},searchAndRefreshGifts:function(){var e=this;return this.searchGifts().then(function(t){var n=t;Array.isArray(n)&&e.setGifts({gifts:n})})}})};n.d(t,["A",0,s])},80057(e,t,n){n.d(t,{A:()=>A}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(28280),n(55831),n(57406),n(12493),n(50653),n(85351),n(63145),n(28589),n(28066),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(3188),n(10844),n(55448),n(63343),n(14439),n(17046),n(60473),n(40073),n(36169);var r=n(12829),o=n(62832),i=n.n(o),a=n(95685),s=n.n(a),l=n(92299),c=n.n(l),u=n(28544);const p=function(e){return u.S.get("/api/front/paywall/message/".concat(e))};function d(e){return d="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},d(e)}function f(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function h(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return g(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(g(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,g(p,"constructor",c),g(c,"constructor",l),l.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(p),g(p,o,"Generator"),g(p,r,function(){return this}),g(p,"toString",function(){return"[object Generator]"}),(h=function(){return{w:i,m:d}})()}function g(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,n,r){function i(t,n){g(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},g(e,t,n,r)}function v(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)})}}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return(t=function(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=["/usuari/register"],S=["/usuari/login"],k=["subscripcio.ara.cat","subscripcions.ara.cat","subscripcio.arabalears.cat","subscripcions.arabalears.cat","subscripcions.ara.cat.bbnx.pre.bitban.com","subscripcions.arabalears.cat.bbnx.pre.bitban.com","subscripcio.dev.ara.cat","subscripcio.dev.arabalears.cat"];const A={data:function(){return{accessGranted:null,messageIds:[],userCounter:null,userRfv:null,versionMessagesKey:0,conditionCounter:null,conditionName:null}},computed:w(w({},(0,r.L8)(["runningInApp"])),{},{currentMessageId:function(){var e=i()(this.messageIds[0],"messageId");return e?Number.parseInt(e,10):null},availableMessages:function(){return this.versionMessagesKey+=1,window.paywall&&window.paywall.messages?window.paywall.messages:[]},message:function(){var e=this,t=this.currentMessageId;if(!1===t||null===t)return{};var n=this.availableMessages;Array.isArray(n)||(n=[]);var r=n.find(function(t){return t.id===e.currentMessageId});return!r||"blocking"===r.type&&"ok"===this.accessGranted||"blocking-community"===r.type&&"ok"===this.accessGranted||"regiwall"===r.type&&"ok"===this.accessGranted?(console.debug("regiwall, blocking or blocking_community whit accessGranted OK"),{}):(console.debug("Message to print",r),r)},enabledPaywall:function(){return!s()(this.message)},messageType:function(){return this.message.type},text:function(){return this.message.text},boldText:function(){return this.message.boldText},blueText:function(){return this.message.blueText},regularText:function(){return this.runningInApp?"":this.message.regularText},linkText:function(){return this.message.linkText},linkUrl:function(){return this.message.linkUrl},banner:function(){return this.message.subscriptionHtml}}),methods:{goToBackUrlMain:function(){var e=this;this.$track({category:"paywall",action:"button_cta",label:this.$attrs.ctaText}),k.some(function(t){return e.$attrs.ctaUrl.includes(t)})&&(window.location.href=this.$attrs.ctaUrl);var t=this.$attrs.ctaText;_.includes(this.$attrs.ctaUrl)&&(t="showRegister"),S.includes(this.$attrs.ctaUrl)&&(t="showLogin"),this.channelAction(t,null,function(){var t=new URL(e.backUrl),n=t.origin+t.pathname+encodeURIComponent(t.search),r=e.$attrs.ctaUrl;r.includes("/usuari/register")&&(r="".concat(r,"?backUrl=").concat(n)),window.location.href=r})},goToRatesUrlMain:function(){var e=this;this.$track({category:"paywall",action:"button_rates",label:this.$attrs.textLinkRates}),k.some(function(t){return e.$attrs.urlLinkRates.includes(t)})&&(window.location.href=this.$attrs.urlLinkRates);var t=this.$attrs.textLinkRates;_.includes(this.urlLinkRates)&&(t="showRegister"),S.includes(this.urlLinkRates)&&(t="showLogin"),this.channelAction(t,null,function(){var t=new URL(e.backUrl),n=t.origin+t.pathname+encodeURIComponent(t.search),r=e.$attrs.urlLinkRates;r.includes("/usuari/login")&&(r="".concat(r,"?backUrl=").concat(n)),window.location.href=r})},isGiveAwayMessageActive:function(){return void 0!==this.availableMessages.find(function(e){return"gift"===e.type})},contentIsAGiveAway:function(e){return!!e&&!!c().getJSON("nx-paywall-giveaway-".concat(e))},contentIsVoucherContent:function(e){var t=c().get("nx-paywall-content-voucher");return void 0!==t&&Number.parseInt(window.atob(t),10)===e},getContentPaywallData:function(e){var t=this;return b(h().m(function n(){var r,o,i;return h().w(function(n){for(;;)switch(n.n){case 0:if(e){n.n=1;break}return n.a(2,null);case 1:if(!t.contentIsAGiveAway(e)||!t.isGiveAwayMessageActive()){n.n=3;break}
2return n.n=2,t.setGiftMessage(e);case 2:return n.a(2,null);case 3:if(void 0===(r=c().get("nx-paywall-content-voucher"))){n.n=4;break}if(o=window.atob(r),e!==Number.parseInt(o)){n.n=4;break}return console.debug("content voucher cookie found",t.contentId),n.a(2,null);case 4:if(i=c().getJSON("nx-paywall-data-".concat(e))){n.n=5;break}return n.a(2,null);case 5:return window.paywallCookie=i,t.accessGranted=i.accessGranted||null,t.messageIds=i.messageIds||[],t.userCounter=i.userCounter||null,t.userRfv=i.userRfv||null,t.conditionName=i.conditionName||null,t.conditionId=i.conditionId||null,t.conditionCounter=i.conditionCounter||null,t.ruleId=i.ruleId||null,t.ruleName=i.ruleName||null,t.currentMessageId&&t.setCurrentMessage(),n.a(2,i)}},n)}))()},setCurrentMessage:function(){var e=this;return b(h().m(function t(){var n,r;return h().w(function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,n=window.paywall.messages.find(function(t){return t.id===e.currentMessageId}),console.debug("setCurrentMessage",e.currentMessageId,n),void 0!==n){t.n=2;break}return t.n=1,p(e.currentMessageId);case 1:n=t.v,window.paywall||(window.paywall={}),window.paywall.messages||(window.paywall.messages=[]),window.paywall.messages=[].concat(f(window.paywall.messages),f(n)),e.versionMessagesKey+=1;case 2:t.n=4;break;case 3:t.p=3,r=t.v,console.error(r);case 4:return t.a(2)}},t,null,[[0,3]])}))()}
2,setGiftMessage:function(e){var t=this;return b(h().m(function n(){var r,o;return h().w(function(n){for(;;)switch(n.n){case 0:r=c().getJSON("nx-paywall-giveaway-".concat(e)),window.paywallCookie=r,o={messageId:"0",type:"gift",numConsumedContent:null},void 0!==r&&void 0!==r.remainingDays&&(o.remainingDays=r.remainingDays),t.accessGranted=!0,t.messageIds=[o],t.userCounter=null,t.userRfv=null,t.conditionName="Gift",t.conditionId=0,t.conditionCounter=null,t.ruleId=null,t.ruleName=null;case 1:return n.a(2)}},n)}))()}}}},75612(e,t,n){n.d(t,{A:()=>m});var r=n(64172),o=n(36925),i=(n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(63343),n(14439),n(17046),n(12829)),a=n(18307),s=n(59559),l=n(49891);function c(e){return c="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},c(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f="navigation";Boolean,l.A,a.A,s.A,p(p({},(0,i.L8)("comments",["loading"])),{},{selectionModal:function(){return this.content.selection&&this.content.selection.type},navigationModal:function(){return this.type===f}});const m={moreOptions:{type:f,header:{icon:r.A,text:o.A.t("comments.options"),action:function(){}},content:{},button:!1},lockUserConfirm:{header:{icon:r.A,text:o.A.t("comments.lock-user-header"),action:function(){}},content:{title:o.A.t("comments.lock-user-title"),text:o.A.t("comments.lock-user-text",{link:o.A.t("comments.lock-user-text.profile-link-text")})},button:{icon:null,text:o.A.t("comments.reported-comment-button"),action:function(){}}},lockedUserResult:{header:{icon:r.A,text:o.A.t("comments.lock-user-header"),action:function(){}},content:{title:o.A.t("comments.lock-user-result-title"),text:o.A.t("comments.lock-user-result-text",{link:o.A.t("comments.lock-user-text.profile-link-text")})},button:{icon:null,text:o.A.t("comments.reported-comment-button"),action:function(){}}},unLockUserConfirm:{header:{icon:r.A,text:o.A.t("comments.unlock-user-header"),action:function(){}},content:{title:o.A.t("comments.unlock-user-title"),text:o.A.t("comments.unlock-user-text")},button:{icon:null,text:o.A.t("comments.unlock-user-button"),action:function(){}}},unlockUserResult:{header:{icon:r.A,text:o.A.t("comments.unlock-user-result-header"),action:function(){}},content:{title:o.A.t("comments.unlock-user-result-title"),text:null},button:{icon:null,text:o.A.t("comments.unlock-user-result-button"),action:function(){}}},pendingModeration:{header:{icon:null,text:o.A.t("comments.pending-moderation-header"),action:function(){}},content:{title:o.A.t("comments.pending-moderation-title"),text:o.A.t("comments.pending-moderation-text")},button:{icon:null,text:o.A.t("comments.pending-moderation-button"),action:function(){}}},unlockUser:{type:"selection",header:{icon:r.A,text:o.A.t("comments.unlock-user-button"),action:function(){}},content:{title:o.A.t("comments.unlock-user-title"),text:o.A.t("comments.unlock-user-text")},button:{icon:null,text:o.A.t("comments.unlock-user-button"),action:function(){}}},unlockedUser:{header:{icon:null,text:o.A.t("comments.unlocked-user-header"),action:function(){}},content:{title:o.A.t("comments.unlocked-user-title"),text:o.A.t("comments.unlocked-user-text")},button:{icon:null,text:o.A.t("comments.unlocked-user-button"),action:function(){}}},reportComment:{header:{icon:r.A,text:o.A.t("comments.report-comment-header"),action:function(){}},content:{title:o.A.t("comments.report-comment-title"),selection:{type:"report-comment",options:[],onChange:function(){}}},button:{icon:null,text:o.A.t("comments.report-comment-button"),action:function(){}}},reportedComment:{header:{icon:null,text:o.A.t("comments.reported-comment-header"),action:function(){}},content:{title:o.A.t("comments.reported-comment-title")},button:{icon:null,text:o.A.t("comments.reported-comment-button"),action:function(){}}},deleteComment:{header:{icon:r.A,text:o.A.t("comments.delete-comment-header"),action:function(){}},content:{title:o.A.t("comments.delete-comment-title"),text:o.A.t("comments.delete-comment-text")},button:{icon:null,text:o.A.t("comments.delete-comment-button"),action:function(){}}},deletedComment:{header:{icon:null,text:o.A.t("comments.deleted-comment-header"),action:function(){}},content:{title:o.A.t("comments.deleted-comment-title"),text:null},button:{icon:null,text:o.A.t("comments.deleted-comment-button"),action:function(){}}}}},7723(e,t,n){n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(55831),n(12493),n(11055),n(50653),n(85351),n(63145),n(28589),n(82395),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(3188),n(10844),n(63343),n(14439),n(17046);var r=n(28544);function o(e){return o="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},o(e)}function i(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function s(n,r,o,i){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return a(u,"_invoke",function(n,r,o){var i,a,s,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,a=0,s=e,d.n=n,l}};function f(n,r){for(a=n,s=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(a=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,a=0))}if(o||n>1)return l;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),a=u,s=m;(t=a<2?e:s)||!p;){i||(a?a<3?(a>1&&(d.n=-1),f(a,s)):d.n=s:d.v=s);try{if(c=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=d.n<0)?s:n.call(r,d))!==l)break}catch(t){i=e,a=1,s=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),u}var l={};function c(){}function u(){}function p(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(a(t={},r,function(){return this}),t),f=p.prototype=c.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,a(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=p,a(f,"constructor",p),a(p,"constructor",u),u.displayName="GeneratorFunction",a(p,o,"GeneratorFunction"),a(f),a(f,o,"Generator"),a(f,r,function(){return this}),a(f,"toString",function(){return"[object Generator]"}),(i=function(){return{w:s,m}})()}function a(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}a=function(e,t,n,r){function i(t,n){a(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},a(e,t,n,r)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=function(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)})}}function m(e,t,n,r){return h.apply(this,arguments)}function h(){return h=f(i().m(function e(t,n,o,a){var s,p,d,f=arguments;return i().w(function(e){for(;;)if(0===e.n)return s=f.length>4&&void 0!==f[4]&&f[4],p=Object.entries(a).reduce(function(e,t){var n=u(t,2),r=n[0],o=n[1];return l(l({},e),{},c({},r,o.join(",")))},{}),d=s?"livefootball":"live",e.a(2,r.S.get("/api/front/".concat(d,"/").concat(t,"/messages/").concat(n),{params:l(l({},p),{},{messageId:o})}))},e)})),h.apply(this,arguments)}function g(e,t,n,r){return v.apply(this,arguments)}function v(){return v=f(i().m(function e(t,n,o,a){var s,p,d,f=arguments;return i().w(function(e){for(;;)if(0===e.n)return s=f.length>4&&void 0!==f[4]&&f[4],p=Object.entries(a).reduce(function(e,t){var n=u(t,2),r=n[0],o=n[1];return l(l({},e),{},c({},r,o.join(",")))},{}),d=s?"livefootball":"live",e.a(2,r.S.get("/api/front/".concat(d,"/").concat(t,"/messages/").concat(n),{params:l(l({},p),{},{messageId:o,limit:200})}))},e)})),v.apply(this,arguments)}const b={getNewestMessages:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return arguments.length>4&&void 0!==arguments[4]&&arguments[4]?g(e,"newest",t,n,r):m(e,"newest",t,n,r)},getOldestMessages:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return arguments.length>4&&void 0!==arguments[4]&&arguments[4]?g(e,"oldest",t,n,r):m(e,"oldest",t,n,r)}};n.d(t,["A",0,b])},2263(e,t,n){n.d(t,{A:()=>p}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(57406),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(3188),n(55448),n(63343),n(14439),n(17046),n(60473),n(40073),n(36169);var r=n(12829),o=n(50968),i=n(29930),a=n(25829);function s(e){return 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},s(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={name:"ara-messages-common",mixins:[o.A],data:function(){return{SUBSCRIPTION_URL:a.iv,iconDropdown:i.A,iconArrow:'<svg viewBox="0 0 20 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M12.4590625,0.3965625 L15.8340625,3.7715625 L12.4590625,7.1465625 L11.6659375,6.3534375 L13.681,4.3335625 L0.875,4.3340625 L0.875,3.2090625 L13.68,3.2085625 L11.6659375,1.1896875 L12.4590625,0.3965625 Z"></path></svg>',visa:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="35px" height="24px" viewBox="0 0 35 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Visa 2</title>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="1.A_CONTADOR-PW-Col" transform="translate(-705.000000, -692.000000)">\n <g id="Visa" transform="translate(705.000000, 692.000000)">\n <rect id="Rectangle" stroke="#D9D9D9" fill="#FFFFFF" fill-rule="nonzero" x="0.5" y="0.5" width="34" height="23" rx="3.5"></rect>\n <path d="M10.6253,16.2582 L8.50494,16.2582 L6.91495,10.1924 C6.83949,9.91334 6.67925,9.66667 6.44354,9.5504 C5.85531,9.25823 5.20712,9.0257 4.5,8.90843 L4.5,8.6749 L7.91567,8.6749 C8.38708,8.6749 8.74064,9.0257 8.79957,9.43313 L9.62454,13.8086 L11.7438,8.6749 L13.8052,8.6749 L10.6253,16.2582 Z M14.9838,16.2582 L12.9813,16.2582 L14.6302,8.6749 L16.6327,8.6749 L14.9838,16.2582 Z M19.2234,10.7757 C19.2823,10.3673 19.6359,10.1337 20.0483,10.1337 C20.6965,10.0751 21.4026,10.1924 21.9919,10.4835 L22.3454,8.85081 C21.7562,8.61727 21.108,8.5 20.5198,8.5 C18.5762,8.5 17.162,9.55041 17.162,11.0082 C17.162,12.1173 18.1637,12.6996 18.8708,13.0504 C19.6359,13.4002 19.9305,13.6338 19.8716,13.9835 C19.8716,14.5082 19.2823,14.7418 18.6941,14.7418 C17.9869,14.7418 17.2798,14.5669 16.6327,14.2747 L16.2791,15.9085 C16.9862,16.1996 17.7512,16.3169 18.4584,16.3169 C20.6376,16.3745 21.9919,15.3251 21.9919,13.75 C21.9919,11.7665 19.2234,11.6502 19.2234,10.7757 Z M29,16.2582 L27.41,8.6749 L25.7022,8.6749 C25.3486,8.6749 24.9951,8.90843 24.8772,9.25823 L21.9329,16.2582 L23.9943,16.2582 L24.4058,15.1502 L26.9386,15.1502 L27.1743,16.2582 L29,16.2582 Z M25.9968,10.7171 L26.585,13.5751 L24.9361,13.5751 L25.9968,10.7171 Z" id="Shape" fill="#172B85"></path>\n </g>\n </g>\n </g>\n</svg>',mastercard:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="35px" height="24px" viewBox="0 0 35 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Mastercard</title>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="1.A_CONTADOR-PW-Col" transform="translate(-750.000000, -692.000000)">\n <g id="Group-3" transform="translate(705.000000, 692.000000)">\n <g id="Mastercard" transform="translate(45.000000, 0.000000)">\n <rect id="Rectangle" stroke="#D9D9D9" fill="#FFFFFF" fill-rule="nonzero" x="0.5" y="0.5" width="34" height="23" rx="3.5"></rect>\n <path d="M17.75,17.1569 C16.5584,18.1852 15.0128,18.806 13.3238,18.806 C9.55511,18.806 6.5,15.7154 6.5,11.903 C6.5,8.09057 9.55511,5 13.3238,5 C15.0128,5 16.5584,5.62075 17.75,6.64903 C18.9416,5.62075 20.4872,5 22.1762,5 C25.9449,5 29,8.09057 29,11.903 C29,15.7154 25.9449,18.806 22.1762,18.806 C20.4872,18.806 18.9416,18.1852 17.75,17.1569 Z" id="Path" fill="#ED0006"></path>\n <path d="M17.75,17.1569 C19.2172,15.8908 20.1475,14.0068 20.1475,11.903 C20.1475,9.79917 19.2172,7.91517 17.75,6.64903 C18.9416,5.62075 20.4872,5 22.1762,5 C25.9449,5 29,8.09057 29,11.903 C29,15.7154 25.9449,18.806 22.1762,18.806 C20.4872,18.806 18.9416,18.1852 17.75,17.1569 Z" id="Path" fill="#F9A000"></path>\n <path d="M17.75,6.64917 C19.2172,7.9153 20.1476,9.79929 20.1476,11.9031 C20.1476,14.0069 19.2172,15.8909 17.75,17.157 C16.2829,15.8909 15.3525,14.0069 15.3525,11.9031 C15.3525,9.79929 16.2829,7.9153 17.75,6.64917 Z" id="Path" fill="#FF5E00"></path>\n </g>\n </g>\n </g>\n </g>\n</svg>',bank:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="35px" height="24px" viewBox="0 0 35 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Banco</title>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="1.A_CONTADOR-PW-Col" transform="translate(-795.000000, -692.000000)">\n <g id="Group-3" transform="translate(705.000000, 692.000000)">\n <g id="Banco" transform="translate(90.000000, 0.000000)">\n <rect id="Rectangle" fill="#FFFFFF" fill-rule="nonzero" x="0.5" y="0.5" width="34" height="23" rx="3.5"></rect>\n <path d="M25.205,7.72244 L17.825,4.03243 C17.7823,4.0111 17.7352,4 17.6875,4 C17.6398,4 17.5927,4.0111 17.5501,4.03243 L10.17,7.72244 C10.1189,7.74798 10.0759,7.78726 10.0459,7.83587 C10.0159,7.88449 9.99999996,7.94051 9.99999996,7.99765 L9.99999996,9.22765 C9.99999996,9.30921 10.0324,9.38742 10.0901,9.44509 C10.1477,9.50276 10.2259,9.53515 10.3075,9.53515 L11.23,9.53515 L11.23,10.4577 C11.23,10.5392 11.2624,10.6174 11.3201,10.6751 C11.3777,10.7328 11.4559,10.7652 11.5375,10.7652 L11.845,10.7652 L11.845,16.3002 L11.5375,16.3002 C11.4559,16.3002 11.3777,16.3326 11.3201,16.3902 C11.2624,16.4479 11.23,16.5261 11.23,16.6077 L11.23,17.5302 L10.3075,17.5302 C10.2259,17.5302 10.1477,17.5626 10.0901,17.6202 C10.0324,17.6779 9.99999996,17.7561 9.99999996,17.8377 L9.99999996,19.0677 C9.99999996,19.1492 10.0324,19.2274 10.0901,19.2851 C10.1477,19.3428 10.2259,19.3752 10.3075,19.3752 L25.0675,19.3752 C25.1491,19.3752 25.2273,19.3428 25.285,19.2851 C25.3426,19.2274 25.3750005,19.1492 25.3750005,19.0677 L25.3750005,17.8377 C25.3750005,17.7561 25.3426,17.6779 25.285,17.6202 C25.2273,17.5626 25.1491,17.5302 25.0675,17.5302 L24.145,17.5302 L24.145,16.6077 C24.145,16.5261 24.1126,16.4479 24.055,16.3902 C23.9973,16.3326 23.9191,16.3002 23.8375,16.3002 L23.53,16.3002 L23.53,10.7652 L23.8375,10.7652 C23.9191,10.7652 23.9973,10.7328 24.055,10.6751 C24.1126,10.6174 24.145,10.5392 24.145,10.4577 L24.145,9.53515 L25.0675,9.53515 C25.1491,9.53515 25.2273,9.50276 25.285,9.44509 C25.3426,9.38742 25.3750005,9.30921 25.3750005,9.22765 L25.3750005,7.99765 C25.3750005,7.94051 25.3592,7.88449 25.3291,7.83587 C25.2991,7.78726 25.2561,7.74798 25.205,7.72244 Z M16.765,16.3002 L16.4575,16.3002 C16.376,16.3002 16.2977,16.3326 16.2401,16.3902 C16.1824,16.4479 16.15,16.5261 16.15,16.6077 L16.15,17.5302 L14.305,17.5302 L14.305,16.6077 C14.305,16.5261 14.2726,16.4479 14.2149,16.3902 C14.1573,16.3326 14.0791,16.3002 13.9975,16.3002 L13.69,16.3002 L13.69,10.7652 L13.9975,10.7652 C14.0791,10.7652 14.1573,10.7328 14.2149,10.6751 C14.2726,10.6174 14.305,10.5392 14.305,10.4577 L14.305,9.53515 L16.15,9.53515 L16.15,10.4577 C16.15,10.5392 16.1824,10.6174 16.2401,10.6751 C16.2977,10.7328 16.376,10.7652 16.4575,10.7652 L16.765,10.7652 L16.765,16.3002 Z M21.685,16.3002 L21.3775,16.3002 C21.296,16.3002 21.2178,16.3326 21.1601,16.3902 C21.1024,16.4479 21.07,16.5261 21.07,16.6077 L2
21.07,17.5302 L19.225,17.5302 L19.225,16.6077 C19.225,16.5261 19.1926,16.4479 19.135,16.3902 C19.0773,16.3326 18.9991,16.3002 18.9175,16.3002 L18.61,16.3002 L18.61,10.7652 L18.9175,10.7652 C18.9991,10.7652 19.0773,10.7328 19.135,10.6751 C19.1926,10.6174 19.225,10.5392 19.225,10.4577 L19.225,9.53515 L21.07,9.53515 L21.07,10.4577 C21.07,10.5392 21.1024,10.6174 21.1601,10.6751 C21.2178,10.7328 21.296,10.7652 21.3775,10.7652 L21.685,10.7652 L21.685,16.3002 Z" id="Shape" fill="#0076A8" fill-rule="nonzero"></path>\n <rect id="Rectangle" stroke="#D9D9D9" x="0.5" y="0.5" width="34" height="23" rx="3.5"></rect>\n </g>\n </g>\n </g>\n </g>\n</svg>',isFolded:!1,backUrl:window.location.href,hasAlreadyBeenFolded:!1}},computed:c(c({},(0,r.L8)(["runningInApp","runningInAppAndroid","runningInAppApple","headerSticky","headerStickable","headerShowElements","appUIVisibility","breakpoint"])),{},{isVisible:function(){return this.headerStickable||this.headerSticky},isLocked:function(){return this.isVisible&&!this.isFolded},hasBottomMargin:function(){return!(this.runningInAppAndroid||!this.runningInAppApple&&"mobile"!==this.breakpoint&&"tablet"!==this.breakpoint&&"standard"!==this.breakpoint)},urlLinkRates:function(){var e=new URL(this.backUrl),t=e.origin+e.pathname+encodeURIComponent(e.search),n=this.$attrs.urlLinkRates;return n.includes("/usuari/register")&&(n="".concat(n,"?backUrl=").concat(t)),n}}),watch:{isLocked:function(e){document.body.classList.toggle("lock-nav",e)}},methods:{toggleFolded:function(){!1===this.hasAlreadyBeenFolded&&(this.$track({category:"paywall",action:"button_fold"}),this.hasAlreadyBeenFolded=!0),this.isFolded=!this.isFolded},addBodyClass:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"closed";document.body.classList.add(e)}},mounted:function(){if(this.$attrs.css){var e=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");e.appendChild(t),t.type="text/css",t.appendChild(document.createTextNode(this.$attrs.css))}}}},40350(e,t,n){n(5423),n(11055),n(28471),n(570),n(14439);var r=n(28544);const o={getUserProfile:function(){return r.S.get("/api/front/user/profile")},patchUserProfile:function(e){return r.V.patch("/api/front/user/profile",e)},patchUserAvatar:function(e){return r.S.post("/api/front/user/avatar",e,{headers:{"Content-Type":"multipart/form-data"}})},loginWithCredentials:function(e,t){return r.V.post("/api/front/user/login",{email:e,password:t})},logout:function(){return r.S.post("/api/front/user/logout")},checkEmail:function(e){return r.V.post("/api/front/user/email-check",{email:e})},checkEmailWithUsername:function(e){return r.V.post("/api/front/user/email-check-with-username",{email:e})},fetchNotificationsStatus:function(){return r.S.get("/api/front/user/notifications/status")},fetchLatestNotifications:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return r.S.get("/api/front/user/notifications/latest",{params:{notificationId:e}})},fetchNotificationsHistory:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return r.S.get("/api/front/user/notifications/history",{params:{notificationId:e}})},toggleSavedContent:function(e,t){return t?r.S.get("/api/front/user/content/".concat(e,"/save")):r.S.get("/api/front/user/content/".concat(e,"/delete"))},searchSavedContents:function(e){return r.S.get("/api/front/user/content",{params:{page:e}})},savedContents:function(e,t){return r.S.get("/api/front/user/content",{params:{contentId:e,listId:t}})},deleteSavedContents:function(e){return r.V.delete("/api/front/user/content/".concat(e))},toggleLockUser:function(e,t){return t?r.S.post("/api/front/user/".concat(e,"/lock")):r.S.post("/api/front/user/".concat(e,"/unlock"))},toggleFollowingUser:function(e,t){return t?r.S.get("/api/front/user/user/".concat(e,"/follow")):r.S.get("/api/front/user/user/".concat(e,"/unfollow"))},searchFollowingUsers:function(e){return r.S.get("/api/front/user/user",{params:{page:e}})},searchFollowers:function(e){return r.S.get("/api/front/user/followers",{params:{page:e}})},searchGifts:function(e){return r.S.get("/api/front/user/gifts",{params:{page:e}})},toggleFollowAuthor:function(e,t){return t?r.S.get("/api/front/user/author/".concat(e,"/follow")):r.S.get("/api/front/user/author/".concat(e,"/unfollow"))},searchFollowedAuthors:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return r.S.get("/api/front/user/author",{page:e})},toggleFollowColumn:function(e,t){return t?r.S.get("/api/front/user/opinion-column/".concat(e,"/follow")):r.S.get("/api/front/user/opinion-column/".concat(e,"/unfollow"))},searchFollowedColumns:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return r.S.get("/api/front/user/opinion-column",{page:e})},toggleFollowTopic:function(e,t){return t?r.S.get("/api/front/user/topic/".concat(e,"/follow")):r.S.get("/api/front/user/topic/".concat(e,"/unfollow"))},searchFollowedTopics:function(e){return r.S.get("/api/front/user/topic",{page:e})},searchCommentUsers:function(e){return r.S.post("/api/front/comment/user/search",{text:e})},sendRecoverPassword:function(e){return r.S.post("/api/front/user/rec
2over-password",{email:e})},loginWithFacebook:function(e,t){return r.S.post("/api/front/user/login/facebook",{code:e,token:t})},loginWithGoogle:function(e,t){return r.S.post("/api/front/user/login/google",{code:e,token:t})},loginWithApple:function(e,t){return r.S.post("/api/front/user/login/apple",{code:e,token:t})},register:function(e){return r.V.post("/api/front/user/register",e)},changePassword:function(e,t){return r.S.post("/api/front/user/change-password",{token:e,password:t})},newPassword:function(e){return r.V.post("/api/front/user/new-password",e)},sendValidationEmail:function(e){return r.S.post("/api/front/user/resend-validation-mail",{userId:e})},fetchComments:function(e,t,n){var o={limit:20,page:t,order:n},i=[];return Object.keys(o).forEach(function(e){i.push("".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(o[e])))}),r.S.get("/api/front/profile/comments/".concat(e,"?").concat(i.join("&")))},deleteComment:function(e){return r.S.delete("/api/front/comment/".concat(e))},fetchProfileCard:function(e){return e?r.S.get("/api/front/profile/".concat(e)):r.S.get("/api/front/profile")},deleteUserAccount:function(e){return r.S.post("/api/front/user/delete-account",e)},getProfileCommentLikes:function(e){return r.S.get("/api/front/profile/comment/".concat(e,"/likes"))},searchInterest:function(){return r.S.get("/api/front/user/interest")},searchInterestWithSavedContentLists:function(){return r.S.get("/api/front/user/interest-with-saved-content-lists")},searchFavouriteLists:function(e){return r.S.get("/api/front/user/favourite-list",{params:{page:e}})},createList:function(e){return r.V.post("/api/front/user/favourite-list",{listName:e})},editFavouriteList:function(e,t){return r.V.patch("/api/front/user/favourite-list/".concat(e),{listName:t})},deleteFavouriteList:function(e){return r.V.delete("/api/front/user/favourite-list/".concat(e))},getContentFromFavouriteList:function(e,t){return r.S.get("/api/front/user/favourite-list/".concat(t),{params:{page:e}})},saveContent:function(e,t,n){return r.V.post("/api/front/user/content",{params:{contentId:e,saveLists:t,deleteLists:n}})}};n.d(t,["A",0,o])},60315(e,t,n){n.d(t,{HP:()=>s,ih:()=>a,xo:()=>l}),n(12493),n(570),n(97309),n(3188),n(10844),n(63343),n(6552),n(30973),n(17046),n(36169);var r=n(12379),o=n.n(r),i="x-bbnxauthorization";function a(){var e,t;return e=i,(t=window.location.hash.match(new RegExp("".concat(e,"=([^&]*)"))))?t[1]:null}function s(){return a()||new URLSearchParams(window.location.search).get(i)}function l(e){if(!e)return null;var t=function(e){try{var t=o()(e);return Date.now()>=1e3*t.exp&&console.error("JWT: Token is expired",e),t}catch(t){return console.error("JWT: Error decoding token",e),null}}(e);return t?(console.debug("JWT: Token found",t),t.payload):null}},37110(e,t,n){n.d(t,{MU:()=>o,Qm:()=>l,Vw:()=>s,X5:()=>i,fS:()=>a,rc:()=>r,zt:()=>c});var r="all",o="email-and-password",i="all-but-name-surname",a="dark",s="light",l="system",c="none"},21185(e,t,n){n(47562),n(28471);const r={getItem:function(e){if(!localStorage)return null;var t=localStorage.getItem(e);if(!t)return null;var n=JSON.parse(t);return(new Date).getTime()>n.expiry?(localStorage.removeItem(e),null):n.value},setItem:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:864e5;if(localStorage){var r={value:t,expiry:(new Date).getTime()+n};localStorage.setItem(e,JSON.stringify(r))}},removeItem:function(e){localStorage&&localStorage.removeItem(e)}};n.d(t,["A",0,r])},13806(e,t,n){function r(e){return r="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},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}n.d(t,{BO:()=>l,CG:()=>s,WU:()=>a}),n(54162),n(4290),n(29068),n(82111),n(28280),n(12493),n(85351),n(28589),n(570),n(23293),n(63343),n(17046);var a={COMMENTS:"comentaris",HEMEROTECA:"hemeroteca"},s={NONE:"none",READ:"read",USE:"use",DOWNLOAD:"download",ALL:"all"},l=function(){return e=function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.userAdvantages=t,this.permissions=n,this.forceDeniedAcces=r||!1},(t=[{key:"checkPermission",value:function(e){if(this.forceDeniedAcces)return{access:!1,types:[s.NONE]};if(-1===Object.values(a).indexOf(e))return console.warn("Functionality '".concat(e,"' is not defined. Giving access by default...")),{access:!0,types:[s.ALL]};if(0===this.userAdvantages.length)return console.info("User has no advantages set, granting access to everything"),{access:!0,types:[s.ALL]};var t=this.permissions.find(function(t){return t.functionality===e});return void 0===t?(console.info("No permission set for functionality'".concat(e,"', granting access to everything")),{access:!0,types:[s.ALL]}):void 0!==this.userAdvantages.find(function(e){return e===t.functionality})?{access:!0,types:t.permissions}:{access:!1,types:t?t.permissionsWhenDenied:[s.NONE]}}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},62638(e,t,n){var r=n(95285),o=n.n(r),i=n(21683),a=n.n(i),s=n(50892),l=n.n(s),c=n(5545),u=n.n(c);n(69989),o().extend(a()),o().extend(l()),o().extend(u()),o().locale("ca");const p=o();n.d(t,["A",0,p])},11520(e,t,n){var r=n(19630);const o=new(n.n(r)());n.d(t,["A",0,o])},3523(e,t,n){function r(){var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function s(n,r,i,a){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return o(u,"_invoke",function(n,r,o){var i,a,s,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,a=0,s=e,d.n=n,l}};function f(n,r){for(a=n,s=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(a=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,a=0))}if(o||n>1)return l;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),a=u,s=m;(t=a<2?e:s)||!p;){i||(a?a<3?(a>1&&(d.n=-1),f(a,s)):d.n=s:d.v=s);try{if(c=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;s=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(p=d.n<0)?s:n.call(r,d))!==l)break}catch(t){i=e,a=1,s=t}finally{c=1}}return{value:t,done:p}}}(n,i,a),!0),u}var l={};function c(){}function u(){}function p(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(o(t={},i,function(){return this}),t),f=p.prototype=c.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,o(e,a,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=p,o(f,"constructor",p),o(p,"constructor",u),u.displayName="GeneratorFunction",o(p,a,"GeneratorFunction"),o(f),o(f,a,"Generator"),o(f,i,function(){return this}),o(f,"toString",function(){return"[object Generator]"}),(r=function(){return{w:s,m}})()}function o(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}o=function(e,t,n,r){function a(t,n){o(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},o(e,t,n,r)}function i(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,l,"next",e)}function l(e){i(a,r,o,s,l,"throw",e)}s(void 0)})}}function s(e){return l.apply(this,arguments)}function l(){return(l=a(r().m(function e(t){var n,o,i,a;return r().w(function(e){for(;;)switch(e.n){case 0:if(n="jwplayer-8.9.3",o=document.getElementById(n)){e.n=1;break}return console.debug("JWPlayer 8.9.3 loading..."),(i=document.createElement("script")).id=n,i.src=window.jWPlayerUrl||"/jwplayer/8.9.3/jwplayer.js",i.onload=function(){i.dataset.loaded="loaded",t()},document.head.appendChild(i),e.a(2);case 1:if(!o.dataset.loaded){e.n=2;break}return t(),e.a(2);case 2:a=o.onload||function(){},o.onload=function(){a(),t()};case 3:return e.a(2)}},e)}))).apply(this,arguments)}function c(){return u.apply(this,arguments)}function u(){return(u=a(r().m(function e(){return r().w(function(e){for(;;)if(0===e.n)return e.a(2,new Promise(function(e,t){try{s(function(){return window.jwplayer.key="uqoDIG0b/ep9Q2ARR5xeXWkricOH63oDxsIOrQ==",e(window.jwplayer)})}catch(e){console.error("Error loading JWPlayer",e),t(e)}}))},e)}))).apply(this,arguments)}n.d(t,{a:()=>c}),n(54162),n(4290),n(1240),n(570),n(43813)},36925(e,t,n){n.d(t,{A:()=>b});var r=n(19630),o=n.n(r),i=n(35601);const a=JSON.parse('{"taxon.llista.header":"Ãltimes publicacions","taxon.llista.header-dossier":"Continguts","taxon.fitxa.tag":"etiqueta","and":"i","body.view-more":"Clica i ves-hi","body.developing":"Estem treballant per ampliar aquesta informació","by":"per","comments.comment.btn":"Comenta","comments.deleted":"Aquest comentari ha estat eliminat per incomplir les","comments.deleted-by-author":"Aquest comentari ha estat eliminat pel seu autor.","comments.no-comments":"No hi ha comentaris. Sigues el primer a comentar aquest contingut.","comments.no-matches":"No hi ha coincidències","comments.has-new-comments":"Hi ha comentaris nous","comments.show-comments":"Comenta | Veure 1 comentari | Veure :n comentaris","comments.num-comments":":n comentaris","comments.options":"Opcions","comments.newest":"Recents","comments.oldest":"Antics","comments.create.header":"Comenta","comments.create.placeholder":"Digues la teva","comments.create.btn":"Publica","comments.featured-author":"Diari ARA","comments.founder-author":"Subs. Fundador","comments.premium-author":"Prèmium","comments.founder-premium-author":"Fundador Prèmium","comments.pending-moderation-header":"Comenta","comments.pending-moderation-title":"Rebut.<br>Grà cies, tots fem l\'ARA!","comments.pending-moderation-text":"El missatge està pendent de moderació. Per això pot trigar una estona a aparèixer publicat.","comments.pending-publication-text":"El missatge està pendent de publicació. Per això pot trigar una estona a aparèixer publicat.","comments.pending-moderation-button":"D\'acord","comments.lock-user-header":"Silenciar aquest usuari","comments.lock-user-result-title":"Has bloquejat a lâusuari<br>:nick","comments.lock-user-result-text":"Podrà s desbloquejar-lo quan vulguis des :link.","comments.lock-user-title":"Està s segur que vols<br>bloquejar aquest usuari?","comments.lock-user-text":"Deixarà s de veure tots els seus comentaris. Podrà s desbloquejar-lo quan vulguis des :link.","comments.lock-user-text.profile-link-text":"del teu perfil","comments.lock-user-button":"Silencia","comments.unlock-user-header":"Deixa de silenciar aquest usuari","comments.unlock-user-title":" Està s a punt de deixar<br> de silenciar aquest usuari.<br> N\'està s segur?","comments.unlock-user-text":"Tornarà s a rebre notificacions quan interactuï amb tu i veure tots els seus comentaris.","comments.unlock-user-button":"Deixa de silenciar","comments.unlocked-user-header":"Deixa de silenciar","comments.unlocked-user-title":"Has deixat de silenciar a l\'usuari<br>:nick","comments.unlocked-user-text":"Podrà s tornar a silenciar-lo quan vulguis.","comments.unlocked-user-button":"D\'acord","comments.unlock-user-result-header":"Deixa de silenciar","comments.unlock-user-result-title":"Has deixat de silenciar a l\'usuari<br>:nick.","comments.unlock-user-result-text":"","comments.unlock-user-result-button":"D\'acord","comments.report-comment-header":"Denuncia el comentari","comments.report-comment-title":"Aclaran\'s el motiu de la denúncia","comments.report-comment-button":"Envia","comments.reported-comment-header":"Denuncia el comentari","comments.reported-comment-title":"Rebut.<br>Grà cies, tots fem l\'ARA!","comments.reported-comment-text":"Revisarem el comentari però només l\'eliminarem en cas que infringeixi les :link.","comments.reported-comment-text-link-text":"normes de la comunitat","comments.reported-comment-button":"D\'acord","comments.delete.btn":"Eliminaâl","comments.delete-comment-header":"Eliminar comentari","comments.delete-comment-title":"Està s segur que vols<br>eliminar el comentari?","comments.delete-comment-text":"El comentari desapareixerà sense deixar rastre.","comments.delete-comment-replies":"S\'eliminaran també totes les respostes","comments.delete-comment-button":"Eliminar","comments.deleted-comment-header":"Eliminar comentari","comments.deleted-comment-title":"Has eliminat el comentari","comments.deleted-comment-button":"D\'acord","comments.notifyMe":"Avisa\'m quan hi hagi nous comentaris","comments.open-replies":"Mostra tota la conversa","comments.community-rules-notice":"Els comentaris els moderen els subscriptors. Consulta els detalls a les","comments.community-rules-notice.link-text":"normes de la comunitat","comments.thread.header":"Conversa","comments.thread.btn":"Comenta aquest fil","comments.user-locked":"Has silenciat aquest usuari. Desbloquejaâl per tornar a veure tots els seus comentaris.","comments.modal.bannedButton":"D\'ACORD","comments.modal.bannedTitle":"Comentaris no permesos per no respectar les <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'normes de la comunitat\' target=\'_blank\'>normes de la comunitat</a>","comments.modal.bannedText":"Comentaris no permesos per no respectar les <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'normes de la comunitat\' target=\'_blank\'>normes de la comunitat</a>","comments.modal.permissionTitle":"Poder fer comentaris no està inclòs a la teva subscripció","comments.modal.permissionText":"Amplia la teva subscripció per
2comentar notÃcies.","comments.modal.options.lock-user":"Silencia aquest usuari","comments.modal.options.unlock-user":"Deixa de silenciar aquest usuari","comments.modal.options.user-profile":"Visita el Perfil de lâusuari","comments.modal.options.follow-user":"Segueix lâusuari","comments.modal.options.unfollow-user":"Deixa de seguir lâusuari","comments.modal.options.report":"Denuncia el comentari","comments.modal.options.reported":"Has denunciat el comentari","comments.btn.reply":"Respon","comments.btn.report":"Denuncia","comments.btn.reported":"Denunciat","story.story":"Dossier","story.unfold":"Desplega","story.fold":"Plega","story.next":"Següent","story.previous":"Anterior","story.button":"Vés a lâÃNDEX","downloads.downloads":"Descarregats","header.author.column":"La meva columna","header.author.columns":"Les meves columnes","header.close":"Tanca","header.login":"Inicia sessió","header.login-short":"Sessió","header.login-app":"Continua","header.menu":"Menú","header.register":"Registra\'t","header.subscribe":"Subscriu-t\'hi","header.search":"Buscar","header.edition":"Edició","header.paper-edition":"Edició paper","header.paper-edition-mobile":"Edició paper PDF","header.archive":"Hemeroteca","header.language":"Idioma","header.followAuthors":"Opinadors que segueixes","menu.home":"Portada","title.mateix":"Ãltimes notÃcies i actualitat d\'última hora | Diari ARA","description.mateix":"Informa\'t sobre les notÃcies del moment i més destacades amb el diari ARA. Aquà hi trobarà s informació gratuïta d\'última hora i actualitzada al minut.","menu.mateix":"Ãltima hora","menu.discover":"Descobreix","title.discover":"Reportatges, articles i crÃtiques d\'actualitat | Diari ARA","menu.authors":"Autors","menu.topics":"Temes","menu.search":"Cerca","menu.sections":"Seccions","menu.profile":"Perfil","menu.games":"Jocs","actionbar.comment":"Comentaris","actionbar.save":"Desa","actionbar.share":"Comparteix","actionbar.email":"Correu electrònic","actionbar.share-on":"Comparteix per","actionbar.close":"Tanca","actionbar.follow-us-google.long":"Afegeix-nos a Google","actionbar.follow-us-google.short":"Afegeix-nos","actionbar.give-away":"Regala lâarticle","actionbar.give-away-tooltip":"Regala","components.load-more":"Mostra\'n més","components.search":"Cerca","content.minutes":"min|min","content.back-to-mateix":"Veure tota l\'última hora","content.followers":"seguidor en directe|seguidors en directe","content.live":"En directe","content.newest":"Recents","content.oldest":"Antics","content.blog":"Blog","content.images":"imatge|imatges","content.views":"visualitzacion|visualitzacions","content.participants":"participant|participants","content.breakingNews":"Ãltima hora","content.verified":"Traducció verificada","content.automatic":"Tradducció automà tica","content.exclusive":"Exclusiva","content.breadcrumbs-exclusive":"Exclusiu","content.scoop":"PrimÃcia","content.audio-locution.listen":"Escoltaâl","content.audio-locution.pause":"Pausa","content.audio-locution.subscriber-only.title":"Subscriu-te per escoltar","content.audio-locution.subscriber-only.text":"Per gaudir dels articles en à udio has de tenir una subscripció.","live.live":"En directe","live.new-publications":"Hi ha publicacions noves","live.filters":"Filtres","live.erase":"Esborra","live.set-filters":"Aplica Filtres","live.exclusive":"Exclusiva","live.last-hour":"Ãltima hora","live.yesterday":"Ahir","football-event":{"info":"Esdeveniment","shootPost":"Xut al pal","goal":"Gol","ownGoal":"Gol en pròpia porta","disallowedGoal":"Gol anul·lat","foul":"Falta","handBall":"Mans","penalty":"Penal","penaltyMissed":"Penal fallat","penaltyGoal":"Gol de penal","shootFailed":"Xut fora","yellowCard":"Targeta groga","doubleYellowCard":"Doble Targeta groga","redCard":"Targeta vermella","playerEjected":"Expulsió","playerInjured":"Lesió","playerSubstituted":"Canvi","throwIn":"Servei de banda","cornerKick":"Córner","goalKick":"Servei de porta","kickOff":"Inici del partit","firstExtraTimeStart":"Pròrroga","matchFinished":"Final del partit","offside":"Fora de joc","blooper":"Pifia","goalSaved":"Aturada","refereeingControversy":"Polèmica arbitral"},"mateix.ara-mateix":"Ãltima hora","mateix.see-ara-mateix":"Veure tota l\'última hora","discover.discover":"Descobreix","searcher.no-results":"Ho sentim, no hem trobat cap resultat per la teva cerca. Torna-ho a provar.","searcher.newest":"Recents","searcher.oldest":"Antics","searcher.number-of-results":"Sense resultats | 1 resultat | :n resultats","searcher.publication-date":"Data de publicació","
2searcher.type":"Gènere","archive.no-results":"Ho sentim, no hem trobat cap resultat per la teva cerca. Torna-ho a provar.","archive.newest":"Recents","archive.oldest":"Antics","archive.number-of-results":"Sense resultats | 1 resultat | :n resultats","archive.publication-date":"Data de publicació","archive.edition":"Edició","archive.publication":"Suplements","archive.today-edition":"Edició d\'avui","archive.previous-editions":"Edicions anteriors","archive.see-more":"Veure\'n més","archive.modal.register.title":"Accedeix a l\'edició en PDF","archive.modal.register.text":"Llegeix aquesta edició en PDF per només :_price_ ⬠o subscriu-tâhi i accedeix a totes les edicions sense lÃmits. A més, gaudeix de tots els avantatges de ser subscriptor.","archive.modal.register.button1":"compra aquesta edició per :_price_ â¬","archive.modal.register.button2":"subscriu-thi","archive.modal.subscriber.title":"Avantatge exclusiu","archive.modal.subscriber.text":"Per accedir al diari en versió PDF has de tenir una subscripció Completa a lâARA.","archive.modal.button":"Subscriu-te","archive.modal.permissionTitle":"Lâaccés a lâhemeroteca no està inclòs a la teva subscripció","archive.modal.permissionText":"Amplia la teva subscripció per tenir accés a tots els continguts.","archive.modal.permissionButton":"Amplia la subscripció","archive.all":"Tots","filters.filters":"Filtres","filters.remove":"Esborra","filters.apply":"Aplica filtres","filters.start":"Inici","filters.end":"Fi","poll.poll-result-title":"Grà cies per participar!","poll.poll-result-text":"Si t\'ha agradat l\'enquesta, comparteix-la amb els teus amics","poll.inactive":"L\'enquesta ja no està activa","poll.share-it":"Comparteix-la","poll.vote":"Vota","poll.show-results":"Mostra els resultats","poll.hide-results":"Oculta els resultats","poll.votes":"vot|vots","poll.poll":"Enquesta","recirculation.content-developed":"Contingut elaborat per","recirculation.promo-message.ara":"Dona suport a la informació de qualitat i rigor. Entre tots fem l\'ARA.","recirculation.promo-message.balears":"Dona suport a la informació de qualitat i rigor. Entre tots feim l\'ARA Balears.","recirculation.contribute":"Contribueix","recirculation.notify":"Avisa\'ns","recirculation.detect-error":"si detectes algun error","recirculation.more-about":"Més del tema","recirculation.more-about-prefix":"Més de","recirculation.more-about-section":"Més de la secció","recirculation.most-famous":"El més popular","recirculation.see-more":"Veure\'n més","recirculation.most-popular":"El més vist","recirculation.most-viewed":"El més comentat","recirculation.breu-text":"Veure tota lâúltima hora.","recirculation.breu-link":"Ves-hi","elements.author-question":"La pregunta de l\'autor","elements.read":"Llegeix-ne","elements.more":"més","elements.less":"menys","elements.following":"Seguint","elements.follow":"Segueix","elements.follow-column":"Segueix la columna","elements.follow-me":"Segueix-me","elements.follow-topic":"Segueix el tema","elements.follow-topic-new":"Segueix","elements.search":"Cerca","elements.loading":"Carregant","validation.required-text":"Text obligatori","validation.invalid-text":"Text invà lid","validation.invalid-date":"Data incorrecta","validation.required-selection":"Selecció obligatori","validation.invalid-selection":"Selecció invà lida","validation":{"alpha":"El camp :_field_ només ha de contenir lletres","alpha_num":"El camp :_field_ només ha de contenir lletres i números","alpha_dash":"El camp :_field_ només ha de contenir lletres, números i guions","alpha_spaces":"El camp :_field_ només ha de contenir lletres i espais","between":"El camp :_field_ ha d\'estar entre :min i :max","confirmed":"El camp :_field_ no coincideix amb el camp :target","digits":"El camp :_field_ ha de ser numèric i contenir exactament :length dÃgits","dimensions":"El camp :_field_ ha de ser de :width pÃxels per :height pÃxels","email":"El camp :_field_ ha de ser un correu electrònic và lid","excluded":"El camp :_field_ ha de ser un valor và lid","ext":"El camp :_field_ ha de ser un fitxer và lid","image":"El camp :_field_ ha de ser una imatge","max_value":"El camp :_field_ ha de ser de :max o menys","max":"El camp :_field_ no ha de ser major a :length carà cters","mimes":"El camp :_field_ ha de ser un tipus de fitxer và lid","min_value":"El camp :_field_ ha de ser de :min o superior","min":"El camp :_field_ ha de tenir almenys :length carà cters","numeric":"El camp :_field_ ha de contenir només carà cters numèrics","oneOf":"El camp :_field_ ha de ser un valor và lid","regex":"El format del camp :_field_ no és và lid","required":"El camp :_field_ és obligatori","required_if":"El camp :_field_ és obligatori","size":"El camp :_field_ ha de ser menor a :size KB","password":"Utilitza un mÃnim de 8 car
2à cters amb majúscules, minúscules i números"},"customValidation":{"email":{"invalid":"Escriu un correu electrònic và lid, sisplau","required":"El correu electrònic és obligatori","EMAIL_ALREADY_IN_USE":"El correu electrònic ja està en ús"},"password":{"confirmed":"Indica la mateixa contrasenya a tots dos camps"},"name":{"required":"El nom és obligatori","regex":"El format del camp nom no és và lid","max":"El camp nom no ha de ser major a 80 carà cters","PUBLICNICK_ALREADY_IN_USE":"El nick ja està en ús"},"surname":{"required":"Els cognoms son obligatoris","regex":"El format del camp cognoms no és và lid","max":"El camp cognoms no ha de ser major a 80 carà cters"},"birthdate":{"required":"La data de naixement es obligatòria"},"phoneNumber":{"invalid":"Número de telèfon incorrecte"},"message":{"required":"El missatge és obligatori"},"nick":{"INVALID_FIELD":"Nick ja està en ús"},"old_password":{"INVALID_FIELD":"Contrasenya incorrecta"}},"fields":{"email":"Correu electrònic","password":"Contrasenya","new-password":"Nova contrasenya","confirm-password":"Confirma contrasenya","phoneNumber":"Número de telèfon","birthDate":"Data de naixement"},"footer.title":"Periodisme lliure i compromès, per estar ben informat","footer.subscribe":"SUBSCRIU-T\'HI","footer.partners":"Col·laboradors","mosaic.header.topic-see-more":"Més sobre aquest tema","mosaic.header.see":"Veure\'n","mosaic.header.more":"més","mosaic.header.exclusive":"Exclusiva","mosaic.header.more-news":"Més NotÃcies","mosaic.swipe.more":"Veure\'n més","modal.title":"Titolet","modal.button":"Acceptar","snackbar.close":"tanca","forecast.imagePrevision.alt":"Previsió de","authors.carousel.more":"més","alert.title":"Ãltima hora","register.step-1.btn":"Crea un compte","register.step-1.email.hint":"Es crearà un compte nou","register.step-1.help":"Ja tens compte?","register.step-1.subtitle":"Crea una contrasenya","register.step-1.title":"Crea un compte","register.step-2.btn":"Guarda les teves dades","register.step-2.subtitle":"Completa les teves dades","register.step-3.btn":"D\'acord","register.step-3.help":"No has rebut el correu?","register.step-3.help-link":"Torna a enviar-lo","register.step-3.help-link-max-attempts":"No trobes el correu dâactivació? Revisa la carpeta de correu brossa. Si el problema continua, <a href=\\":url\\">contacta amb nosaltres</a>","register.step-3.subtitle":"Revisa el correu per validar el teu compte i comença a gaudir de l\'ARA","register.step-3.title":"Compte creat!","register.name":"Nom","register.email":"Correu electrònic","register.email-text":"El correu electrònic et servirà per accedir a lâARA, no serà públic.","register.privacy-text":"Fent clic a qualsevol forma de registre acceptes la <a href=\':url\' title=\'polÃtica de privacitat\' target=\'_blank\'>polÃtica de privacitat</a> de lâARA","register.are-from-ara":"Ja ets de lâARA?","register.access":"Inicia sessió","register.surname":"Cognoms","login.access.btn":"Inicia sessió","login.access.title":"Hola de nou, :userName","login.access-1":"Inicia sessió o crea un compte","login.active-session.btn":"Tanca sessió i canvia de compte","login.active-session.cancel":"Ara no, torna a lâARA","login.active-session.description":"Per entrar amb un altre compte, primer has de tancar la sessió actual.","login.active-session.hint-with-subscription":"Has iniciat sessió amb aquest compte, però no hi hem trobat cap subscripció activa","login.active-session.hint-no-subscription":"Has iniciat sessió amb aquest compte, que té una subscripció activa.","login.active-session.title":"Accedeix amb un altre compte","login.subtitle":"Ja tens un compte creat amb aquest correu. Introdueix la teva contrasenya","login.google":"Accedeix amb Google","login.facebook":"Accedeix amb Facebook","login.apple":"Accedeix amb Apple","login.or":"o bé","login.and":"de","login.continue":"Accedeix amb el correu electrònic","login.help-for-login":"Necessites ajuda per iniciar sessió?","login.email.action":"Edita","login.password":"Contrasenya","login.password.show":"Mostra","login.password.hide":"Amaga","login.forgot-password":"Has oblidat la contrasenya?","login.recover-password":"Restableix la contrasenya","login.recover-password-text":"Introdueix el teu correu i tâenviarem un enllaç per restablir la contrasenya.","login.send":"Envia","login.recovery-password-sent.title":"Revisa la bústia dâentrada","login.recovery-password-sent.body":"Tâhem enviat un correu electrònic amb un enllaç per restablir la contrasenya.<br><br>Si no el reps aviat, consulta lâarticle:","login.recovery-password-sent.footer":"No recordo la contrasenya","login.change-password.title":"Crea una nova contrasenya","login.error-title":"No podem accedir al compte. Revisa el mail i la contrasenya i intenta-ho un altre cop","login.blocked-account.title":"Reactiva el teu compte","login.blocked-account.subtitle":"El teu compte està temporalment bloquejat perquè encara no has validat el correu. Enviaât un nou enllaç a :email per recuperar lâaccés.","login.blocked-account.btn":"Enviaâm un enllaç nou","login.blocked-account.resent-notice":"Tâhem reenviat el correu per validar el teu compte","login.blocked-account.confirm.title":"Confirma el teu correu","login.blocked-account.confirm.subtitle":"Tâhem enviat un enllaç de verificació a: :email. Obreâl per activar el teu compte.","login.blocked-account.confirm.btn":"Ja he confirmat el correu","welcome.data.complete":"El teu telèfon i codi postal sâhan guardat correctament","welcome.step-1.fields.phoneNumber":"Telèfon","welcome.step-1.help":"No cedirem les teves dades a tercers","welcome.step-1.subtitle":"Rep promocions i esdeveniments a prop teu.<br>
2Afegeix el teu telèfon i codi postal","welcome.step-1.title":"Enhorabona, :userName!<br>Ja formes part de lâARA","welcome.step-2.complete":"El teu telèfon i codi postal sâhan guardat correctament","welcome.send":"Envia","welcome.later":"Fes-ho més tard","welcome.postalCode":"Codi Postal","welcome.need-validate":"Per poder accedir al teu compte necessites validar l\'adreça de correu electrònic.","welcome.send-validate":"Re-envia e-mail de validació","welcome.go-to-home":"Comença a llegir!","welcome.email-send":"Email enviat correctament","welcome.email-verify":"Per gaudir de la prova gratuïta, valida lâadreça electrònica","password.password-help-text":"Utilitza qualsevol combinació de 8 carà cters o més.","password.password-saved":"Perfecte! Has canviat la contrasenya correctament","password.go-to-home":"Torna a l\'ARA","password.send":"Envia","password.title":"Canvia la teva contrasenya","profile.columns.title":"Columnes","profile.columns.followingsempty":"De moment no segueixes cap columne","profile.columns.followings.title":"Seguint","profile.columns.suggestions.title":"Suggeriments","profile.deleteAccount.title":"Elimina les meves dades","profile.deleteAccount.goBack":"Torna enrere","profile.deleteAccount.deleteAccount":"Elimina el meu compte","profile.deleteAccount.registeredText":"Està s a punt dâeliminar les dades del teu compte de manera permanent. <strong>Esborrarem:</strong> <ul><li>⢠Els teus articles guardats</li><li>⢠Els comentaris que has fet i que has rebut</li><li>⢠Els autors, lectors i temes que segueixes</li> <li>⢠La llista dels teus seguidors</li><li>⢠Les teves dades personals</li></ul> Recorda que aquestes dades ja no es podran recuperar mai més.","profile.deleteAccount.subscriberText":"Per eliminar les dades del teu compte primer has de cancel·lar la teva subscripció a lâARA. Pots fer-ho escrivint a [email protected] o trucant al 93 275 11 10","profile.register.title":"Perfil","profile.register.button.card_suscription":"Targeta ARA","profile.register.is-subscriber":"Ja ets subscriptor? <a href=\\":url\\">Accedeix al teu compte</a>","profile.seguint.title":"Seguint","profile.suscriptor.button.card_suscription":"Targeta del subscriptor","profile.suscriptor.button.columnes":"Columnes","profile.suscriptor.button.configuration":"Configuració i privadesa","profile.suscriptor.button.help":"Ajuda","profile.suscriptor.button.comments":"Comentaris","profile.suscriptor.button.invite_friend":"Convida un amic","profile.suscriptor.button.notifications":"Notificacions","profile.suscriptor.button.outlets":"Punts de venda","profile.suscriptor.button.premium_club":"Club Prèmium","profile.suscriptor.button.premium_copy":"Fes-te Prèmium","profile.suscriptor.button.premium_copy_header":"ð Regala lâAra","profile.suscriptor.button.premium_upgrade":"MILLORA LA TEVA SUBSCRIPCIÃ","profile.suscriptor.button.readers":"Lectors","profile.suscriptor.button.saves":"Guardats","profile.suscriptor.button.seguint":"Seguint","profile.suscriptor.button.shop":"Botiga","profile.suscriptor.button.signs":"Firmes","profile.suscriptor.button.subscribe":"Subscriu-tâhi","profile.suscriptor.button.subscription":"Subscripció","profile.suscriptor.button.subscriptor_space":"Espai del subscriptor","profile.suscriptor.button.themes":"Temes","profile.suscriptor.details.edit":"Edita","profile.suscriptor.details.follower":"Seguidors","profile.suscriptor.details.following":"Seguint","profile.suscriptor.details.private":"Perfil privat","profile.suscriptor.details.public":"Perfil públic","profile.suscriptor.is-premium-subscriber":"Ja ets del Club Prèmium? <a href=\\":url\\">Accedeix al teu compte</a>","profile.suscriptor.title":"Perfil","profile.anonymous.text":"Inicia sessió o crea un compte per accedir a continguts","profile.anonymous.create":"Crea un compte","profile.anonymous.access":"Inicia sessió","profile.anonymous.link":"Recupera les teves compres d\'Apple","profile.anonymous.forceLink":"Forçar la recuperació de les compres d\'Apple","profile.notifications.title":"Notificacions","profile.notifications.latest.title":"Recents","profile.notifications.history.title":"Ãltims dies","profile.notifications.empty":"No hi ha cap notificació","profile.saves.title":"Guardats","profile.saves.week.title":"Aquesta setmana","profile.saves.month.title":"Aquest mes","profile.saves.year.title":"Aquest any","profile.saves.lastyear.title":"2019","profile.saves.oldyears.title":"201X","profile.saves.empty":"No hi ha cap article guardat","profile.saves.remember":"Recorda que pots guardar els continguts que més t\'interessin clicant la icona \'Guarda\' que trobarà s a cada un dels continguts","profile.comments.titleSingular":"Comentari","profile.comments.titlePlural":"Comentaris","profile.comments.empty":"No hi ha cap comentari","profile.comments.remember":"Recorda que pots comentar els continguts que més t\'interessin clicant la icona \'Comenta\' que trobarà s a cada un dels continguts","profile.comments.relation.content":"Has comentat","profile.comments.relation.reply":"Has respost a","profile.comments.showLikes":"Mostra\'ls","profile.commentLikes.title":"M\'agrada","profile.commentLikes.empty":"El comentari no ha rebut cap m\'agrada","profile.readers.title":"Lectors","profile.readers.followers":"Seguidors","profile.readers.followings":"Seguint","profile.readers.suggestions.title":"Suggeriments","profile.readers.followersempty":"De moment no tens cap seguidor","profile.readers.followingsempty":"De moment no seguei
2xes cap usuari","profile.readers.followersremember":"T\'animem a que segueixis participant en la comunitat de l\'ARA comentant i enriquint els continguts. Grà cies!","profile.signs.title":"Firmes","profile.signs.suggestions.title":"Suggeriments","profile.signs.followings.title":"Seguint","profile.signs.followingsempty":"De moment no segueixes cap firma","profile.themes.title":"Temes","profile.themes.followings.title":"Seguint","profile.themes.suggestions.title":"Suggeriments","profile.themes.followingsempty":"De moment no segueixes cap tema","profile.configuration.title":"Configuració i privadesa","profile.configuration.account.title":"Compte personal","profile.configuration.account.data":"Dades","profile.configuration.account.password":"Contrasenya","profile.configuration.account.subscription":"Subscripció","profile.configuration.account.subscription_ios":"Subscripció Apple","profile.configuration.account.bulletin":"Newsletters i e-mails","profile.configuration.custom.title":"Personalització","profile.configuration.custom.edition":"Canviar d\'edició","profile.configuration.custom.notifications_config":"Notificacions","profile.configuration.custom.visualization":"Visualització","profile.configuration.custom.downloads":"Gestió de descà rregues","profile.configuration.custom.darkmode":"Mode fosc","profile.configuration.general.title":"General","profile.configuration.general.data":"Ãs de dades","profile.configuration.general.about_us":"Sobre nosaltres","profile.configuration.general.consent":"Preferències de consentiment","profile.configuration.button.close":"Tanca la sessió","profile.contact.title":"Contacta","profile.contact.label.name":"Nom i Cognom","profile.contact.label.message":"Quin és el teu dubte?","profile.contact.content.title":"Tens dubtes?","profile.contact.content.text1":"Ens pots trucar per telèfon al 93 275 11 10 de dilluns a divendres de 9 a 14 h.","profile.contact.content.text2":"També pots explicar-nos quin és el teu dubte omplint aquest formulari i ens posarem en contacte amb tu amb la major brevetat possible:","profile.contact.content.conditions":"Clicant al botó \\"Envia\\" acceptes les condicions de contractació i la polÃtica de privacitat de l\'ARA","profile.contact.button.send":"envia","profile.faqs.title":"Preguntes freqüents","profile.data.title":"Dades","profile.data.content.title":"Dades personals","profile.data.content.subtitle":"Aquestes dades són privades i no es mostraran mai públicament","profile.data.form.name.label":"Nom","profile.data.form.surname.label":"Cognoms","profile.data.form.gender.label":"Sexe","profile.data.form.gender.male":"Home","profile.data.form.gender.female":"Dona","profile.data.form.date.label":"Data de naixement","profile.data.form.email.label":"Correu electrònic","profile.bulletin.title":"Butlletins i e-mails","profile.bulletin.form.title":"Configura les alertes que vols rebre al teu correu electrònic","profile.bulletin.form.language.title":"Idioma","profile.bulletin.form.language.text":"Selecciona l\'idioma en què vols rebre els e-mails","profile.bulletin.form.language.ca":"Català ","profile.bulletin.form.language.es":"Castellà ","profile.bulletin.form.language.en":"Anglès","profile.bulletin.form.content.title":"Contingut","profile.bulletin.form.content.text":"Vull rebre un recull de les claus del dia i les publicacions destacades.","profile.bulletin.form.content.button":"gestiona el contingut","profile.bulletin.form.news.title":"Novetats","profile.bulletin.form.news.text":"Vull rebre alertes de les promocions disponibles.","profile.bulletin.form.news.button":"gestiona les novetats","profile.bulletin.form.space.label":"Espai del subscriptor","profile.bulletin.form.space.text":"Vull rebre alertes de les novetats.","profile.bulletin.form.advices.label":"Avisos","profile.bulletin.form.advices.text":"Avisa\'m quan hi hagi qualsevol activitat o novetat.","profile.bulletin.form.all.label":"Desactiva-ho tot","profile.darkmode.title":"Mode fosc","profile.darkmode.form.mode.dark":"Mode fosc","profile.darkmode.form.mode.light":"Mode clar","profile.darkmode.form.mode.device":"Segons el dispositiu","profile.darkmode.form.text":"Ajustarem lâaparença basant-nos en la configuració del teu dispositiu","profile.edition.title":"Canviar d\'edició","profile.edition.form.edition.label1":"Catalunya","profile.edition.form.edition.label2":"Balears","profile.notifications_config.title":"Notificacions","profile.notifications_config.form.title":"Decideix quines notificacions de so vols rebre per seguir el fil del que tâinteressa de debò:","profile.notifications_config.form.current.label":"Actualitat","profile.notifications_config.form.current.text":"Recull de notÃcies d\'última hora i publicacions destacades","profile.notifications_config.form.topics.label":"Temes","profile.notifications_config.form.topics.text":"AvÃs diari de novetats de tots els temes que segueixo","profile.notifications_config.form.authors.label":"Firmes","profile.notifications_config.form.authors.text":"AvÃs diari de novetats de totes les firmes que segueixo","profile.notifications_config.form.columns.label":"Columnes","profile.notifications_config.form.columns.text":"AvÃs diari de novetats de totes les columnes que segueixo","profile.notifications_config.form.comments.label":"Comentaris","profile.notifications_config.form.comments.text":"AvÃs de nous comentaris d\'una notÃcia que hagi comentat anteriorment","profile.notifications_config.form.mentions.label":"Respostes i mencions","profile.notifications_config.form.mentions.text":"AvÃs de mencions o respostes als meus comentaris","profile.notifications_config.form.readers.label":"Lectors","profile.notifications_config.form.readers.text":"AvÃs quan un lector començi a seguir-me","profile.notifications_config.form.all.label":"Desactiva-ho tot","profile.password.title":"Contrasenya","profile.password.content.title":"Canvia la contrasenya","profile.password.form.old_password.label":"Contrasenya actual","profile.password.form.old_password.remember":"Has oblidat la teva contrasenya?","profile.password.form.new_password.hint":"Utiliza qualsevol combinació de 8 car
2à cterso més","profile.visualization.title":"Visualització","profile.visualization.content.title":"Mida del cos de text","profile.visualization.content.dark_mode.label":"Mode nocturn","profile.visualization.content.example.title":"Exemple","profile.visualization.content.example.text":"Setze jutges d\'un jutjat mengen fetge d\'un penjat. Si el penjat es despenja, es menja els setze fetges dels jutges del jutjat que l\'han penjat.","profile.downloads.title":"Gestió de descà rregues","profile.downloads.content.title":"Descà rregues PDF edició paper","profile.downloads.content.text":"Cada vegada que guardes un PDF de l\'edició de paper s\'emmagatzema en el teu dispositiu ocupant espai.","profile.downloads.content.button":"Elimina totes les descà rregues","profile.user_edit.title":"Editar perfil","profile.user_edit.form.visible.label":"Dades visibles per a tots els usuaris","profile.user_edit.form.visible.text":"Si actives aquesta opció tots els usuaris podran veure les dades del perfil públic.","profile.user_edit.form.name.help":"Aquest serà el nom que es veurà públicament","profile.user_edit.form.name.label":"Nom d\'usuari","profile.user_edit.form.name.description":"Descripció","profile.user_edit.form.text":"Comprova com veuen els altres usuaris el teu perfil públic.","profile.user_edit.form.link":"Visualitza\'l aquÃ","profile.user_edit.avatar_size_exceeded":"La imatge de perfil és massa gran (mà xim :size Mb)","profile.user_public.title":"Perfil públic","profile.user_public.details.follower":"Seguidors","profile.user_public.details.following":"Seguint","profile.user_public.private_text":"Aquest subscriptor té el perfil en mode privat","profile.user_public.button.newest":"recents","profile.user_public.button.oldest":"antics","profile.button.save":"desa","profile.button.send":"envia","profile.button.more":"Mostra\'n més","profile.button.follow":"Segueix","profile.button.unfollow":"Seguint","profile.button.remove":"Elimina","profile.give-away.title":"Articles regalats","profile.give-away.text":"Com a subsciptor de lâARA pots regalar 10 articles cada mes a qualsevol persona. Ves a lâarticle que vols regalar i prem el botó amb aquesta icona \'<svg width=\\"16\\" height=\\"16\\"viewBox=\\"0 0 20 20\\" xmlns=\\"http://www.w3.org/2000/svg\\">\\n <path d=\\"M16.667 5H14.85c.092-.258.15-.542.15-.833a2.497 2.497 0 00-4.583-1.375L10 3.35l-.417-.567A2.51 2.51 0 007.5 1.667a2.497 2.497 0 00-2.5 2.5c0 .291.058.575.15.833H3.333c-.925 0-1.658.742-1.658 1.667l-.008 9.166A1.66 1.66 0 003.333 17.5h13.334a1.66 1.66 0 001.666-1.667V6.667A1.66 1.66 0 0016.667 5zM12.5 3.333c.458 0 .833.375.833.834A.836.836 0 0112.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm-5 0c.458 0 .833.375.833.834A.836.836 0 017.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm9.167 12.5H3.333v-1.666h13.334v1.666zm0-4.166H3.333v-5h4.234L5.833 9.025l1.35.975L10 6.167 12.817 10l1.35-.975-1.734-2.358h4.234v5z\\"/>\\n</svg>\'","profile.give-away.give-text":"Has regalat <strong>:n de 10</strong> articles durant aquest mes","profile.give-away.give-text-none":"No has regalat cap article","profile.give-away.give-text-limit":"<strong>Has arribat al lÃmit de 10 articles al mes</strong>","profile.give-away.article-expire":"Caduca dâaquà :n dies","profile.give-away.article-expire-tomorrow":"Caduca demà ","profile.give-away.article-expired":"Regal caducat","profile.locked.gifts.register.epigraph":"Necessites ser subscriptor de lâARA","profile.locked.gifts.register.title":"Subscriu-te per regalar articles","profile.locked.gifts.register.text":"Per regalar lâaccés complet a una notÃcia a qui vulguis has de tenir una subscripció a lâARA.","profile.locked.gifts.subscriber.title":"Avantatge exclusiu","profile.locked.gifts.subscriber.text":"Per regalar articles has de tenir una subscripció Completa a lâARA.","profile.locked.comments.register.epigraph":"Necessites ser subscriptor de lâARA","profile.locked.comments.register.title":"Subscriu-te per comentar","profile.locked.comments.register.text":"Per comentar les notÃcies i participar en el debat has de tenir una subscripció Completa.","profile.locked.comments.subscriber.title":"Avantatge exclusiu","profile.locked.comments.subscriber.text":"Per comentar les notÃcies has de tenir una subscripció Completa a lâARA.","profile.locked.espai.register.epigraph":"Necessites ser subscriptor de lâARA","profile.locked.espai.register.title":"Subscriu-te per tenir ofertes culturals","profile.locked.espai.register.text":"Per gaudir de les promocions de cultura i oci has de tenir una subscripció a lâARA.","profile.item.new":"NOU","snackbar-mail.reminder":"Si us plau, accedeix al teu correu electrònic i verifica el teu compte","snackbar-mail.understand":"Entès","profile.button.followed":"Seguint","football_direct.stadium":"C","football_direct.referee":"A","football_direct.coach":"E","football_direct.dropdown":"VEURE ALINEACIONS","paywall.why-subscribe":"Per què subscriureâm","comments.subscribe.modal.register.title":"Subscriu-te per comentar","comments.subscribe.modal.register.text":"Per comentar les notÃcies i participar en el debat has de tenir una subscripció Completa.","comments.subscribe.modal.subscriber.title":"Avantatge exclusiu","comments.subscribe.modal.subscriber.text":"Per comentar les notÃcies has de tenir una subscripció Completa a lâARA.","comments.subscribe.modal.title":"Subscriu-te a lâARA","comments.subscribe.modal.text":"Per poder comentar notÃcies, \\u2028has de tenir una subscripció.","comments.subscribe.modal.button":"D\'acord","comments.subscribe.modal.button-app":"Subscriu-te","legal":{"conditions":"Condicions generals","privacy":"Privacitat"},"archive.archive":"Hemeroteca","description.archive":"L\'ARA posa a la teva disposició un arxiu de tots els diaris des del seu naixement. Consulta\'ls en PDF i a l\'hemeroteca digital de la
2web en un sol clic.","archive.latest-edition":"Ãltima edició","football_direct.minute":"min","language.available":"Disponible en","language.code.ca":"cat","language.code.en":"eng","language.code.es":"cast","language.code.de":"ale","language.code.body.ca":"Llegir en Català ","language.code.body.en":"Read in English","language.code.body.es":"Leer en castellano","language.code.body.de":"Auf Deutsch lesen","profile.edition.empty":"No hi ha edicions disponibles","snackbar.error-message":"Hi ha hagut algun error. Intenteu-ho més tard.","snackbar.error-password-message":"Anterior contrasenya incorrecta.","snackbar.success-update-message":"Dades actualitzades correctament.","404.kicker":"Ãndia!","404.title":"Disculpaâns, no trobem la pà gina que busques","404.subtitle":"Visita la nostra portada o segueix navegant pel menú per algun dels nostres continguts","404.button":"Portada","403.kicker":"Ãndia!","403.title":"Aquest enllaç ha caducat","403.subtitle":"Visita la nostra portada o segueix navegant pel menú per algun dels nostres continguts","403.button":"Portada","subscription":{"hasAnyActiveSubscription":"Tens una suscripció d\'Apple?","mensual":"Subscripció mensual activa","anual"
2:"Subscripció anual activa","manage":"Gestiona la suscripció","subscriptionApple":"Subscripció d\'Apple:","subscriptionActive":"Activa"},"date.update":"Act. fa","date.ago":"Fa","date.minute":" min","date.hour":" hora","date.hours":" hores","profile.configuration.general.conditions":"Condicions generals","paywall.fold":"Plega","snackbar.error-comment-already-reported":"No pots denunciar un comentari ja denunciat","userFollowButton.notifications.text":"A partir d\'ara rebrà s un correu electrònic amb les publicacions.","userFollowButton.notifications.ask-confirmation":"Vols rebre també notificacions al mòbil?","userFollowButton.notifications.activate":"Activar","userFollowButton.notifications.later":"Decidir més tard","userFollowButton.notifications.activated":"Notificacions activades","userFollowButton.notifications.confirm":"Entesos","userFollowButton.login-modal.title":"Crea un compte o inicia sessió","userFollowButton.login-modal.text":"Per poder seguir temes i firmes, cal que tinguis un compte o iniciïs sessió.","userFollowButton.login-modal.button":"Inicia sessió","userSaveButton.login-modal.title":"Crea un compte o inicia sessió.","userSaveButton.login-modal.text":"Per guardar notÃcies, cal que tinguis un compte o iniciïs sessió.","userSaveButton.login-modal.button1":"Crea un compte","userSaveButton.login-modal.button2":"Inicia sessió","mailing.connectWithAra":"Connecta amb el diari ARA","mailing.info":"Aquest missatge s\'ha generat automà ticament. Si respons, no rebrem el teu correu electrònic.","mailing.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.confirmMail.buttonText":"Confirma","mailing.confirmMail.title":"Confirma lâadreça electrònica per començar a gaudir de l\'ARA","mailing.confirmMail.message":"Per poder començar a gaudir de lâARA cal que confirmis la teva adreça electrònica. Aquest correu caduca dâaquà 24 hores. Si deixes passar més temps, haurà s de començar de nou.","mailing.newsletter.alsoInterested":"També et poden interessar","mailing.newsletter.araExclusive":"CONTINGUT EXCLUSIU PER A SUBSCRIPTORS","mailing.newsletter.backupLink":"Si no veieu correctament aquest missatge, feu <a href=\\":url\\"style=\\"color:#0076a8;\\">clic aquÃ</a>","mailing.newsletter.cancel":"També pots adreçar-te a la nostra Oficina de Privacitat per tal dâexercir els teus drets dâaccés,rectificació, supressió (cancel·lació), portabilitat, limitació o oposició al tractament a través de l\'adreça de correu electrònic: <a href=\\"mailto:[email protected]\\">[email protected]</a>, o consultar la nostra <a href=\\"https://www.ara.cat/privacitat.html\\">PolÃtica de Privacitat</a>","mailing.newsletter.downloadCurrentEdition":"Descarregaât lâedició dâavui","mailing.newsletter.followedAuthors":"Firmes que segueixes","mailing.newsletter.followedColumns":"Columnes que segueixes","mailing.newsletter.followedTopics":"Temes que segueixes","mailing.newsletter.mostRead":"El més llegit","mailing.newsletter.newContents":"Nous continguts","mailing.newsletter.otherAuthors":"Altres firmes","mailing.newsletter.otherTopics":"Temes recomanats","mailing.newsletter.publishedContent.singular":"Ha publicat un nou article","mailing.newsletter.publishedContent.plural":"Ha publicat nous articles","mailing.newsletter.suggestionTitle":"Defensa el periodisme que provoca canvis.","mailing.newsletter.suggestionTitleFollowedAuthor":"Be part of the transformation of Catalonia","mailing.newsletter.suggestionButton":"Subscriu-t\'hi ara","mailing.newsletter.thanksForFollow":"Grà cies per seguir-me","mailing.newsletter.unsubscribe":"Si vols deixar de rebre aquesta \'newsletter\' de l\'ARA, pots donar-te de baixa <a href=\\":url\\">aquÃ</a>","mailing.newsletter.unsubscribe.authors":"Si vols deixar de rebre avisos d\'aquest autor, pots donar-te de baixa <a href=\\":url\\">aquÃ</a>","mailing.newsletter.unsubscribe.columns":"Si vols deixar de rebre avisos d\'aquesta columna, pots donar-te de baixa <a href=\\":url\\">aquÃ</a>
2","mailing.newsletter.unsubscribe.topic":"Si vols deixar de rebre avisos d\'aquest tema, pots donar-te de baixa <a href=\\":url\\">aquÃ</a>","mailing.newsletter.viewAllAuthors":"Descobreix totes les firmes","mailing.newsletter.headlinesButton":"Informa\'t sense lÃmits","mailing.newsletter.ara.connect":"Connecta amb el diari ARA","mailing.newsletter.ara.cancel":"També pots adreçar-te a la nostra Oficina de Privacitat per tal dâexercir els teus drets dâaccés, rectificació, supressió (cancel·lació), portabilitat, limitació o oposició al tractament a través de l\'adreça de correu electrònic: <a href=\\"mailto:[email protected]\\">[email protected]</a>, o consultar la nostra <a href=\\"https://www.ara.cat/privacitat.html\\">PolÃtica de Privacitat</a>","mailing.newsletter.ara.unsubscribe":"Si vols deixar de rebre aquesta \'newsletter\' de l\'ARA, pots donar-te de baixa <a href=\\":url\\">aquÃ</a>","mailing.newsletter.ara.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.newsletter.balears.connect":"Connecta amb el diari ARA Balears","mailing.newsletter.balears.cancel":"També pots adreçar-te a la nostra Oficina de Privacitat per tal dâexercir els teus drets dâaccés, rectificació, supressió (cancel·lació), portabilitat, limitació o oposició al tractament a través de l\'adreça de correu electrònic: <a href=\\"mailto:[email protected]\\">[email protected]</a>, o consultar la nostra <a href=\\"https://www.ara.cat/privacitat.html\\">PolÃtica de Privacitat</a>","mailing.newsletter.balears.unsubscribe":"Si vols deixar de rebre aquesta \'newsletter\' de l\'ARA Balears, pots donar-te de baixa <a href=\\":url\\">aquÃ</a>","mailing.newsletter.balears.footer":"Edicions Periòdiques ARA Balears, SL. C. de Tous i Maroto, 8 (1r pis) Palma 07001","mailing.resetPassword.buttonText":"Canvia contrasenya","mailing.resetPassword.greeting":"Hola","mailing.resetPassword.info":"No tâamoïnis, que oblidar-se de la contrasenya pot passar. Prem el botó de sota i triaân una altra. Aixà de fà cil!","mailing.resetPassword.title":"Canvia la contrasenya","notification.topic.singleTopicTitle":"Tema: ","notification.topic.singleTopicMultipleContentsSubtitle":"Nous continguts","notification.topic.multipleTopicTitle":"Temes: Nou contingut","notification.column.singleColumnTitle":"Columna: ","notification.column.singleColumnMultipleContentsSubtitle":"Nous continguts","notification.column.multipleColumnTitle":"Columnes: Nou contingut","notification.author.singleAuthorTitle":"Firma: ","notification.author.singleAuthorMultipleContentsSubtitle":"Nous continguts","notification.author.multipleAuthorTitle":"Firmes: Nou contingut","notification.comment.title":"ha comentat la mateixa notÃcia que tu","notification.comment.user.multiple":"i :number lectors més","notification.comment.reply.title":"t\'ha respost:","notification.comment.mention.title":"t\'ha mencionat en una notÃcia","notification.comment.like.title":"li ha agradat el teu comentari","notification.comment.like.multiple.title":"els ha agradat el teu comentari","notification.moderation.ok.title":"S\'ha publicat el teu comentari","notification.moderation.ko.title":"No s\'ha aprovat el teu comentari","notification.userFollow.title":"Nou seguidor","notification.userFollow.message":"ha començat a seguir-te","media-info.image":"Fotogaleria","media-info.graphic":"Grafic","media-info.video":"Video","media-info.audio":"Audio","media-info.interactive":"Interactiu","media-info.special":"Especial","media-info.story":"Dossier","media-info.poll":"Enquesta","media-info.test":"Test","media-info.automatic":"Automà tic","media-info.streaming":"Video en directe","common.and":"i","test.start":"Comença","test.answers":"Respostes Encertades","test.and":"de","test.correct":"Corregir","test.check":"Comprova els Resultats","test.share":"Comparteix el test","test.restart":"Torna-Hi","modal.unpaidSubscriber.title":"La teva subscripció és a punt de caducar","modal.unpaidSubscriber.text":"Per algun motiu la teva subscripció no sâha pogut renovar i és necessari que actualitzis les dades de pagament.","modal.unpaidSubscriber.buttonText":"Actualitza les dades","modal.unpaidRegistered.title":"Subscripció caducada","modal.unpaidRegistered.text":"Has deixat de tenir accés al contingut perquè la teva subscripció no sâha pogut renovar a causa dâun problema amb la teva targeta.","modal.unpaidRegistered.buttonText":"Reactiva la subscripció","profile.public.premiumSubscriber":"Subscriptor Prèmium","profile.public.founderSubscriber":"Subscriptor Fundador","profile.public.premiumFounderSubscriber":"Subscriptor Fundador Prèmium","profile.public.numPremiumSubscription":"Núm. subscripció Prèmium","profile.public.numSubscription":"Núm. subscripció","embed-graphic.font":"Font","embed-graphic.graphic":"Grà fic","seo.capsuleContent.defaultTitle":"Et pot interessar","seo.hardcoded.author.description":"Descobreix totes les n
2otÃcies, peces d\'actualitat i articles d\'opinió signats per %authorName% al diari ARA.","seo.hardcoded.author.title":"Articles escrits per %authorName% | Diari ARA","seo.hardcoded.tag.title":"%tagName%: Totes les notÃcies i l\'última hora","seo.hardcoded.tag.description":"Troba totes les notÃcies i peces d\'actualitat sobre %tagName%. Tota la informació i l\'última hora al diari ARA.","breu.read-complementary":"Amplia el breu","breu.read-complementary-link":"aquÃ","breu.read-expanded":"llegeix la notÃcia ampliada","newsletter.title":"Newsletters","newsletter.sign-up":"Inscriu-tâhi","newsletter.sign-up-to":"Inscriu-te a la newsletter :newsletter","newsletter.sign-up-shared":"Inscriu-tâhi per estar sempre informat","newsletter.discover":"Descobreix-les","newsletter.discover-all":"Descobreix-les totes","hot-topics.title":"Avui parlem de","key-moment.title":"Moments clau","give-away.active-title":"Regala aquest article","give-away.active-subtitle-all":"Et queden :n articles per regalar aquest mes.","give-away.active-subtitle-some":"Et queden :n articles per regalar aquest mes.","give-away.active-subtitle-none":"Ja has regalat els :n articles dâaquest mes. El dia 1 vinent tornarà s a tenir-los disponibles.","give-away.active-subtitle-gifted":"Aquest article ja l\'has regalat, però pots tornar a fer-ho sense que compti.","give-away.active-subtitle-link":"Més informació.","give-away.active-text":"Envia el regal:","give-away.no-subscriber-title":"Regalar articles és un avantatge exclusiu per a subscriptors","give-away.no-subscriber-subtitle":"Els subscriptors de lâARA poden regalar 10 articles cada mes a qui vulguin, siguin o no subscriptors del diari.","give-away.no-subscriber-subtitle-link":"Més informació.","give-away.no-permissions-title":"Vols regalar aquest article?","give-away.no-permissions-subtitle":"Per tenir accés a aquest avantatge canvia la teva tarifa","give-away.no-permissions-subtitle-link":"aquÃ.","give-away.no-permissions-subtitle-button":"Millora la tarifa","give-away.copy":"Copia lâenllaç","give-away.copied":"Enllaç copiat","paywall.remaining-articles":"Articles gratis restants per llegir","paywall.remaining-articles-last-day":"Avui acaba el perÃode de prova","paywall.remaining-days":"dies per acabar el perÃode de prova","paywall.gift-folded":"T\'han regalat aquest article","paywall.gift-unfolded":"Aquest article és un regal","paywall.read-all.btn":"Llegeix-lo tot","paywall.read-content":"Llegeix el contingut sense lÃmits","give-away.mail-subject":"Et regalo aquest article |","give-away.twitter-text":"Crec que aquest article et pot interessar. Com que tinc una subscripció al @diariara, te\'l regalo. Llegeix-lo amb aquest enllaç:","favourite-list.title":"Guarda aquest article","favourite-list.all":"Tots els articles","favourite-list.create":"Crea una nova llista","favourite-list.create-button":"Crea la llista","favourite-list.list-name":"Nom de la llista","favourite-list.save":"Guarda","favourite-list.edit":"Edita","favourite-list.delete":"Elimina","favourite-list.delete-cancel":"Cancela","favourite-list.delete-button":"Esborra","favourite-list.delete-title":"Elimina la llista","favourite-list.delete-body":"Eliminant aquesta llista, no eliminarà s els articles que hi ha guardats. Els tindrà s a la llista de lectura","favourite-list.save-ok":"Guardat correctament","favourite-list.create-ok":"Llista creada correctament","favourite-list.collections":"Col·leccions","favourite-list.delete-confirm":"Vols eliminar lâarticle i esborrar-lo de totes les col·leccions?","missingTranslatedVersion":"Contingut en català ","taxon.opening.type-topic":"Tema"}'),s=JSON.parse('{"taxon.llista.header":"Ãltimas publicaciones","taxon.llista.header-dossier":"Contenidos","taxon.fitxa.tag":"etiqueta","and":"y","body.view-more":"Clica para ir","body.developing":"Estamos trabajando para ampliar esta información","by":"por","comments.comment.btn":"Comenta","comments.deleted":"Este comentario ha sido eliminado por incumplir las ","comments.deleted-by-author":"Este comentario ha sido eliminado por su autor.","comments.no-comments":"No hay comentarios. Sé el primero en comentar este contenido.","comments.no-matches":"No hay coincidencias","comments.has-new-comments":"Hay comentarios nuevos","comments.show-comments":"Comenta | Ver 1 comentario | Ver :n comentarios","comments.num-comments":":n comentarios","comments.options":"Opciones","comments.newest":"Recientes","comments.oldest":"Antiguos","comments.create.header":"Comenta","comments.create.placeholder":"Di la tuya","comments.create.btn":"Publica","comments.featured-author":"Diario ARA","comments.founder-author":"Subs. Fundador","comments.premium-author":"Prèmium","comments.founder-premium-author":"Fundador Prèmium","comments.pending-moderation-header":"Comenta","comments.pending-moderation-title":"Recibido.<br>Gracias, ¡todos hacemos el ARA!","comments.pending-moderation-text":"El mensaje está pendiente de moderación. Por eso puede tardar un rato en aparecer publicado.","comments.pending-publication-text":"El mensaje está pendiente de publicación. Por eso puede tardar un rato en aparecer publicado.","comments.pending-moderation-button":"De acuerdo","comments.lock-user-header":"Bloquea a este usuario","comments.lock-user-result-title":"Has bloqueado al usuario<br>:nick","comments.lock-user-result-text":"Podrás desbloquearlo cuando quieras desde :link.","comments.lock-user-title":"¿Estás seguro de que quieres<br>bloquear a este usuario?","comments.lock-user-text":"Dejarás de ver todos sus comentarios. Podrás desbloquearlo cuando quieras desde :link.","comments.lock-user-text.profile-link-text":"de tu perfil","comments.lock-user-button":"Bloquea","comments.unlock-user-header":"Desbloquea a este usuario","comments.unlock-user-title":"¿Estás seguro de que quieres<br>desbloquear a este usuario?","comments.unlock-user-text":"Volverás a ver todos sus comentarios","comments.unlock-user-button":"Desbloquea","comments.unlocked-user-header":"Desbloquea a este usuario","comments.unlocked-user-title":"Has desbloqueado al usuario<br>:nick","comments.unlocked-user-text":"Podrás volver a bloquearlo cuando quieras.","comments.unlocked-user-button":"De acuerdo","comments.unlock-user-result-header":"Deja de silenciar","comments.unlock-user-result-title":"Has dejado de silenciar al usuario<br>:nick.","comments.unlock-user-result-text":"","comments.unlock-user-result-button":"De acuerdo","comments.report-comment-header":"Denuncia el comentario","comments.report-comment-title":"Acláranos el motivo de la denuncia","comments.report-comment-button":"EnvÃa","comments.reported-comment-header":"Denuncia el comentario","comments.reported-comment-title":"Recibido.<br>Gracias, ¡todos hacemos el ARA!","comments.reported-comment-text":"Revisaremos el comentario pero solo lo eliminaremos en caso de que infrinja las :link.","comments.reported-comment-text-link-text":"normas de la comunidad","comments.reported-comment-button":"De acuerdo","comments.delete.btn":"ElimÃnalo","comments.delete-comment-header":"Eliminar comentario","comments.delete-comment-title":"¿Estás seguro de que quieres<br>eliminar el comentario?","comments.delete-comment-text":"El comentario desaparecerá sin dejar rastro.","comments.delete-comment-replies":"Se eliminarán también todas las respuestas","comments.delete-comment-button":"Eliminar","comments.deleted-comment-header":"Eliminar comentario","comments.deleted-comment-title":"Has eliminado el comentario","comments.deleted-comment-button":"De acuerdo","comments.notifyMe":"AvÃsame cuando haya nuevos comentarios","comments.open-replies":"Muestra toda la conversación","comments.community-rules-notice":"Los comentarios los moderan los suscriptores. Consulta los detalles en las","comments.community-rules-notice.link-text":"normas de la comunidad","comments.thread.header":"Conversación","comments.thread.btn":"Comenta este hilo","comments.user-locked":"Has silenciado a este usuario. Desbloquéalo para volver a ver todos sus comentarios.","comments.modal.bannedButton":"DE ACUERDO","comments.modal.bannedTitle":"Comentarios no permitidos por no respetar las <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'normes de la comunitat\' target=\'_blank\'>normas de la comunidad</a>","comments.modal.bannedText":"Comentarios no permitidos por no respetar las <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'normes de la comunitat\' target=\'_blank\'>normas de la comunidad</a>","comments.modal.permissionTitle":"Poder hacer comentarios no está incluido en tu suscripción","comments.modal.permissionText":"AmplÃa tu suscripción para comentar noticias.","comments.modal.options.lock-user":"Silencia a este usuario","comments.modal.options.unlock-user":"Deja de silenciar a este usuario","comments.modal.options.user-profile":"Visita el perfil del usuario","comments.modal.options.follow-user":"Sigue al usuario","comments.modal.options.unfollow-user":"Deja de seguir al usuario","comments.modal.options.report":"Denuncia el comentario","comments.modal.options.reported":"Has denunciado el comentario","comments.bt
2n.reply":"Responde","comments.btn.report":"Denuncia","comments.btn.reported":"Denunciado","story.story":"Dosier","story.unfold":"Desplegar","story.fold":"Cerrar","story.next":"Siguiente","story.previous":"Anterior","story.button":"Volver al Ãndice","downloads.downloads":"Descargados","header.author.column":"Mi columna","header.author.columns":"Mis columnas","header.close":"Cierra","header.login":"Inicia sesión","header.login-short":"Sesión","header.login-app":"Continúa","header.menu":"Menú","header.register":"RegÃstrate","header.subscribe":"SuscrÃbete","header.search":"Buscar","header.edition":"Edición","header.paper-edition":"Edición papel","header.paper-edition-mobile":"Edición papel PDF","header.archive":"Hemeroteca","header.language":"Idioma","header.followAuthors":"Autores que sigues","menu.home":"Portada","title.mateix":"Ãltimas noticias y actualidad de última hora | Diari ARA","description.mateix":"Infórmate sobre las noticias del momento y más destacadas con el diario ARA. Aquà encontrarás información gratuita de última hora y actualizada al minuto.","menu.mateix":"Ãltima hora","menu.discover":"Descubre","title.discover":"Reportajes, artÃculos y crÃticas de actualidad | Diari ARA","menu.authors":"Autores","menu.topics":"Temas","menu.search":"Búsqueda","menu.sections":"Secciones","menu.profile":"Perfil","menu.games":"Juegos","actionbar.comment":"Comentarios","actionbar.save":"Guarda","actionbar.email":"Correo electrónico","actionbar.share":"Comparte","actionbar.share-on":"Comparte por","actionbar.close":"Cierra","actionbar.follow-us-google.long":"Añádenos en Google","actionbar.follow-us-google.short":"Añádenos","actionbar.give-away":"Regala el artÃculo","actionbar.give-away-tooltip":"Regala","components.load-more":"Muestra más","components.search":"Búsqueda","content.minutes":"min|min","content.back-to-mateix":"Ver todo el Ãltima hora","content.followers":"seguidor en directo|seguidores en directo","content.live":"En directo","content.newest":"Recientes","content.oldest":"Antiguos","content.blog":"Blog","content.images":"imagen|imágenes","content.views":"visualización|visualizaciones","content.participants":"participante|participantes","content.breakingNews":"Ãltima hora","content.verified":"Traducción verificada","content.automatic":"Traducción no verificada","content.exclusive":"Exclusiva","content.breadcrumbs-exclusive":"Exclusivo","content.scoop":"Primicia","content.audio-locution.listen":"Escúchalo","content.audio-locution.pause":"Pausa","content.audio-locution.subscriber-only.title":"SuscrÃbete para escuchar","content.audio-locution.subscriber-only.text":"Para disfrutar de los artÃculos en audio debes tener una suscripción.","live.live":"En directo","live.new-publications":"Hay publicaciones nuevas","live.filters":"Filtros","live.erase":"Borra","live.set-filters":"Aplica Filtros","live.exclusive":"Exclusiva","live.last-hour":"Ãltima hora","live.yesterday":"Ayer","football-event":{"info":"Información","shootPost":"Disparo al palo","goal":"Gol","ownGoal":"Gol en propia puerta","disallowedGoal":"Gol anulado","foul":"Falta","handBall":"Mano","penalty":"Penalti","penaltyMissed":"Penalti fallado","penaltyGoal":"Gol de penalti","shootFailed":"Disparo fuera","yellowCard":"Tarjeta amarilla","doubleYellowCard":"Doble Tarjeta amarilla","redCard":"Targeta roja","playerEjected":"Expulsión","playerInjured":"Lesión","playerSubstituted":"Cambio","throwIn":"Saque de banda","cornerKick":"Córner","goalKick":"Saque de puerta","kickOff":"Inicio del partido","firstExtraTimeStart":"Prórroga","matchFinished":"Final del partido","offside":"Fuera de juego","blooper":"Pifia","goalSaved":"Parada","refereeingControversy":"Polémica arbitral"},"mateix.ara-mateix":"Ãltima hora","mateix.see-ara-mateix":"Ver toda última hora","discover.discover":"Descubre","searcher.no-results":"Lo sentimos, no hemos encontrado ningún resultado para tu búsqueda. Vuélvelo a intentar.","searcher.newest":"Recientes","searcher.oldest":"Antiguos","searcher.number-of-results":"Sin resultados | 1 resultado | :n resultados","searcher.publication-date":"Fecha de publiación","searcher.type":"Género","archive.no-results":"Lo sentimos, no hemos encontrado ningún resultado para tu búsqueda. Vuélvelo a intentar.","archive.newest":"Recientes","archive.oldest":"Antiguos","archive.number-of-results":"Sin resultados | 1 resultado | :n resultados","archive.publication-date":"Fecha de publicación","archive.edition":"Edición","archive.publication":"Suplementos","archive.today-edition":"Edición de hoy","archive.previous-editions":"Ediciones anteriores","archive.
2see-more":"Ver más","archive.modal.register.title":"Accede a la edición en PDF","archive.modal.register.text":"Lee esta edición en PDF por sólo :_price_ ⬠o suscrÃbete a ella y accede a todas las ediciones sin lÃmites. Además, disfruta de todas las ventajas de ser suscriptor.","archive.modal.register.button1":"compra esta edición por :_price_ â¬","archive.modal.register.button2":"suscribete","archive.modal.subscriber.title":"Ventaja exclusiva","archive.modal.subscriber.text":"Para acceder al diario en versión PDF debes tener una suscripción Ãptima al ARA","archive.modal.button":"SuscrÃbete","archive.modal.permissionTitle":"El acceso a la hemeroteca no está incluido en tu suscripción","archive.modal.permissionText":"AmplÃa tu suscripción para tener acceso a todos los contenidos.","archive.modal.permissionButton":"AmplÃa tu suscripción","archive.all":"Todos","filters.filters":"Filtros","filters.remove":"Borra","filters.apply":"Aplica filtros","filters.start":"Inicio","filters.end":"Fin","poll.poll-result-title":"¡Gracias por participar!","poll.poll-result-text":"Si te ha gustado la encuesta, compártela con tus amigos","poll.inactive":"La encuesta ya no está activa","poll.share-it":"Compártela","poll.vote":"Vota","poll.show-results":"Muestra los resultados","poll.hide-results":"Oculta los resultados","poll.votes":"voto|votos","poll.poll":"Encuesta","recirculation.content-developed":"Contenido elaborado por","recirculation.promo-message.ara":"Apoya la información de calidad y rigor. Entre todos hacemos el ARA.","recirculation.promo-message.balears":"Apoya la información de calidad y rigor. Entre todos hacemos el ARA Balears.","recirculation.contribute":"Contribuye","recirculation.notify":"AvÃsanos","recirculation.detect-error":"si detectas algún error","recirculation.more-about":"Más del tema","recirculation.more-about-prefix":"Más de","recirculation.more-about-section":"Más de la sección","recirculation.most-famous":"Lo más popular","recirculation.see-more":"Ver más","recirculation.most-popular":"Lo más visto","recirculation.most-viewed":"Lo más comentado","recirculation.breu-text":"Ver toda la última hora.","recirculation.breu-link":"Ve","elements.author-question":"La pregunta del autor","elements.read":"Leer","elements.more":"más","elements.less":"menos","elements.following":"Siguiendo","elements.follow":"Sigue","elements.follow-column":"Seguir la columna","elements.follow-me":"SÃgueme","elements.follow-topic":"Sigue el tema","elements.follow-topic-new":"Seguir","elements.search":"Busca","elements.loading":"Cargando","validation.required-text":"Texto obligatorio","validation.invalid-text":"Texto no válido","validation.invalid-date":"Fecha incorrecta","validation.required-selection":"Selección obligatoria","validation.invalid-selection":"Selección no válida","validation":{"alpha":"El campo :_field_ solo tiene que contener letras","alpha_num":"El campo :_field_ solo tiene que contener letras y números","alpha_dash":"El campo :_field_ solo tiene que contener letras, números y guiones","alpha_spaces":"El campo :_field_ solo tiene que contener letras y espacios","between":"El campo :_field_ tiene que estar entre :min y :max","confirmed":"El campo :_field_ no coincide con el campo :target","digits":"El campo :_field_ tiene que ser numérico y contener exactamente :length dÃgitos","dimensions":"El campo :_field_ tiene que ser de :width pÃxeles por :height pÃxeles","email":"El campo :_field_ tiene que ser un correo electrónico válido","excluded":"El campo :_field_ tiene que ser un valor válido","ext":"El campo :_field_ tiene que ser un fichero válido","image":"El campo :_field_ tiene que ser una imagen","max_value":"El campo :_field_ tiene que ser de :max o menos","max":"El campo :_field_ no tiene que ser mayor de :length caracteres","mimes":"El campo :_field_ tiene que ser un tipo de fichero válido","min_value":"El campo :_field_ tiene que ser de :min o superior","min":"El campo :_field_ tiene que tener al menos :length caracteres","numeric":"El campo :_field_ tiene que contener solo caracteres numéricos","oneOf":"El campo :_field_ tiene que ser un valor válido","regex":"El formato del campo :_field_ no es válido","required":"El campo :_field_ es obligatorio","required_if":"El campo :_field_ es obligatorio","size":"El campo :_field_ tiene que ser menos a :size KB","password":"Utiliza un mÃnimo de 8 caracteres con mayúsculas, minúsculas y números"}
2,"customValidation":{"email":{"invalid":"Introduce un correo electrónico válido, por favor","required":"El correo electrónico es obligatorio","EMAIL_ALREADY_IN_USE":"El correo electrónico ya está en uso"},"password":{"confirmed":"Indica la misma contraseña en ambos campos"},"name":{"required":"El nombre es obligatorio","regex":"El formato del campo nombre no es válido","max":"El campo nombre no ha de ser mayor de 80 caracteres","PUBLICNICK_ALREADY_IN_USE":"El nick ya está en uso"},"surname":{"required":"Los apellidos son obligatorios","regex":"El formato del campo apellido no es válido","max":"El campo apellido no ha de ser mayor de 80 caracteres"},"birthdate":{"required":"La fecha de nacimiento es obligatoria"},"phoneNumber":{"invalid":"Número de teléfono incorrecto"},"message":{"required":"El mensaje es obligatorio"},"nick":{"INVALID_FIELD":""},"old_password":{"INVALID_FIELD":"Contraseña incorrecta"}},"fields":{"email":"Correo electrónico","password":"Contraseña","new-password":"Nueva contraseña","confirm-password":"Confirma contraseña","phoneNumber":"Número de teléfono","birthDate":"Fecha de nacimiento"},"footer.title":"Periodismo libre y comprometido, para estar bien informado","footer.subscribe":"SuscrÃbete","footer.partners":"Colaboradores","mosaic.header.topic-see-more":"Ver más del tema","mosaic.header.see":"Ver","mosaic.header.more":"más","mosaic.header.exclusive":"Exclusiva","mosaic.header.more-news":"Más Noticias","mosaic.swipe.more":"Ver más","modal.title":"Ladillo","modal.button":"Aceptar","snackbar.close":"cierra","forecast.imagePrevision.alt":"Previsión de","authors.carousel.more":"más","alert.title":"Ãltima hora","register.step-1.btn":"Crea una cuenta","register.step-1.email.hint":"Se creará una cuenta nueva","register.step-1.help":"¿Ya tienes cuenta?","register.step-1.subtitle":"Crea una contraseña","register.step-1.title":"Crea una cuenta","register.step-2.btn":"Guarda tus datos","register.step-2.subtitle":"Completa tus datos","register.step-3.btn":"De acuerdo","register.step-3.help":"¿No has recibido el correo?","register.step-3.help-link":"Volver a enviarlo","register.step-3.help-link-max-attempts":"¿No encuentras el correo de activación? Revisa la carpeta de spam. Si el problema continúa, <a href=\\":url\\">contacta con nosotros</a>","register.step-3.subtitle":"Revisa el correo para validar tu cuenta y empieza a disfrutar de ARA","register.step-3.title":"¡Cuenta creada!","register.name":"Nombre","register.email":"Correo electrónico","register.email-text":"El correo electrónico te servirá para acceder al ARA, no será público.","register.privacy-text":"Haciendo clic en cualquier forma de registro aceptas la <a href=\':url\' title=\'polÃtica de privacidad\' target=\'_blank\'>polÃtica de privacidad</a> del ARA","register.are-from-ara":"¿Ya eres del ARA?","register.access":"Inicia sesión","register.surname":"Apellidos","login.access.btn":"Inicia sesión","login.access.title":"Hola de nuevo, :userName","login.access-1":"Inicia sesión o crea una cuenta","login.active-session.btn":"Cierra la sesión y cambia de cuenta","login.active-session.cancel":"Ahora no, vuelve a ARA","login.active-session.description":"Para entrar con otra cuenta, primero tienes que cerrar la sesión actual.","login.active-session.hint-with-subscription":"Has iniciado sesión con esta cuenta, pero no hemos encontrado ninguna suscripción activa","login.active-session.hint-no-subscription":"Has iniciado sesión con esta cuenta, que tiene una suscripción activa.","login.active-session.title":"Accede con otra cuenta","login.subtitle":"Ya tienes una cuenta creada con este correo. Introduce tu contraseña:","login.google":"Accede con Google","login.facebook":"Accede con Facebook","login.apple":"Accede con Apple","login.or":"o bien","login.and":"de","login.continue":"Accede con el correo electrónico","login.help-for-login":"¿Necesitas ayuda para iniciar sesión?","login.email.action":"Editar","login.password":"Contraseña","login.password.show":"Mostrar","login.password.hide":"Ocultar","login.forgot-password":"¿Has olvidado la contraseña?","login.recover-password":"Restablecer la contraseña","login.recover-password-text":"Introduce tu correo y te enviaremos un enlace para restablecer la contraseña.","login.send":"Enviar","login.recovery-password-sent.title":"Revisa tu bandeja de entrada","login.recovery-password-sent.body":"Te hemos enviado un correo electrónico con un enlace para restablecer la contraseña.<br><br>Si no lo recibes pronto, consulta el artÃculo:","login.recovery-password-sent.footer":"No recuerdo la contraseña","login.change-password.title":"Crea una nueva contraseña","login.error-title":"No podemos acceder a la cuenta. Revisa el mail y la contraseña e inténtalo de nuevo","login.blocked-account.title":"Reactiva tu cuenta","login.blocked-account.subtitle":"Tu cuenta está temporalmente bloqueada porque todavÃa no has validado el correo. EnvÃate un nuevo enlace a :email para recuperar el acceso.","login.blocked-account.btn":"EnvÃame un enlace nuevo","login.blocked-account.resent-notice":"Te hemos reenviado el correo para validar tu cuenta","login.blocked-account.confirm.title":"Confirma tu correo","login.blocked-account.confirm.subtitle":"Te hemos enviado un enlace de verificación a: :email. Ãbrelo para activar tu cuenta.","login.blocked-account.confirm.btn":"Ya he confirmado el correo","welcome.data.complete":"Tu tel
2éfono y código postal se han guardado correctamente","welcome.step-1.fields.phoneNumber":"Teléfono","welcome.step-1.help":"No cederemos tus datos a terceros","welcome.step-1.subtitle":"Recibe promociones y eventos cerca de ti.<br>Añade tu teléfono y código postal","welcome.step-1.title":"¡Enhorabuena, :userName!<br>Ya formas parte de ARA","welcome.step-2.complete":"Tu teléfono y código postal se han guardado correctamente","welcome.send":"EnvÃa","welcome.later":"Hazlo más tarde","welcome.postalCode":"Código Postal","welcome.need-validate":"Para poder acceder a tu cuenta necesitas validar la dirección de correo electrónico.","welcome.send-validate":"Re-envÃa e-mail de validación","welcome.go-to-home":"¡Empieza a leer!","welcome.email-send":"Correo mandado correctamente","welcome.email-verify":"Para disfrutar de la prueba gratuita, valida tu dirección de correo electrónico","password.password-help-text":"Utiliza cualquier combinación de 8 caracteres o más.","password.password-saved":"¡Perfecto! Has cambiado la contraseña correctamente","password.go-to-home":"Vuelve al ARA","password.send":"EnvÃa","password.title":"Cambia tu contraseña","profile.columns.title":"Columnas","profile.columns.followingsempty":"De momento no sigues ninguna columna.","profile.columns.followings.title":"Siguiendo","profile.columns.suggestions.title":"Sugerencias","profile.deleteAccount.title":"Elimina mis datos","profile.deleteAccount.goBack":"Vuelve atrás","profile.deleteAccount.deleteAccount":"Elimina tu cuenta","profile.deleteAccount.registeredText":"Estás a punto de eliminar los datos de tu cuenta de manera permanente. <strong>Borraremos:</strong> <ul><li>⢠Tus artÃculos guardados</li><li>⢠Los comentarios que has hecho y que has recibido</li><li>⢠Los autores, lectores y temas que sigues</li> <li>⢠La lista de tus seguidores</li><li>⢠Tus datos personales</li></ul> Recuerda que estos datos ya no se podrán volver a recuperar nunca más.","profile.deleteAccount.subscriberText":"Para eliminar los datos de tu cuenta, primero debes cancelar tu suscripción al ARA. Puedes hacerlo escribiendo a [email protected] o llamando al 93 275 11 10","profile.register.title":"Perfil","profile.register.button.card_suscription":"Tarjeta ARA","profile.register.is-subscriber":"¿Ya eres suscriptor? <a href=\\":url\\">Accede a tu cuenta</a>","profile.seguint.title":"Siguiendo","profile.suscriptor.button.card_suscription":"Tarjeta del suscriptor","profile.suscriptor.button.columnes":"Columnas","profile.suscriptor.button.comments":"Comentarios","profile.suscriptor.button.configuration":"Configuración y privacidad","profile.suscriptor.button.help":"Ayuda","profile.suscriptor.button.invite_friend":"Invita a un amigo","profile.suscriptor.button.notifications":"Notificaciones","profile.suscriptor.button.outlets":"Puntos de venta","profile.suscriptor.button.premium_club":"Club Premium","profile.suscriptor.button.premium_copy":"Hazte Premium","profile.suscriptor.button.premium_copy_header":"ð Regala el ARA","profile.suscriptor.button.premium_upgrade":"MEJORA TU SUSCRIPCIÃN","profile.suscriptor.button.readers":"Lectores","profile.suscriptor.button.saves":"Guardados","profile.suscriptor.button.seguint":"Siguiendo","profile.suscriptor.button.shop":"Tienda","profile.suscriptor.button.signs":"Firmas","profile.suscriptor.button.subscribe":"Subscribete","profile.suscriptor.button.subscription":"Suscripcion","profile.suscriptor.button.subscriptor_space":"Espacio del suscriptor","profile.suscriptor.button.themes":"Temas","profile.suscriptor.details.edit":"Edita","profile.suscriptor.details.follower":"Seguidores","profile.suscriptor.details.following":"Siguiendo","profile.suscriptor.details.private":"Perfil privado","profile.suscriptor.details.public":"Perfil público","profile.suscriptor.is-premium-subscriber":"¿Ya eres del Club Premium? <a href=\\":url\\">Accede a tu cuenta</a>","profile.suscriptor.title":"Perfil","profile.anonymous.text":"Inicia sesión o crea una cuenta para acceder a contenidos","profile.anonymous.create":"Crea una cuenta","profile.anonymous.access":"Inicia sesión","profile.anonymous.link":"Recupera tus compras de Apple","profile.anonymous.forceLink":"Forzar recuperación de tus compras de Apple","profile.notifications.title":"Notificaciones","profile.notifications.latest.title":"Recientes","profile.notifications.history.title":"Ãltimos dÃas","profile.notifications.empty":"No hay ninguna notificación","profile.saves.title":"Guardados","profile.saves.week.title":"Esta semana","profile.saves.month.title":"Este mes","profile.saves.year.title":"Este año","profile.saves.lastyear.title":"2019","profile.saves.oldyears.title":"201X","profile.saves.empty":"No hay ningún artÃculo guardado","profile.saves.remember":"Recuerda que puedes guardar los contenidos que más te interesen clicando en el icono \'Guarda\' que encontrarás en cada uno de los contenidos","profile.comments.titleSingular":"Comentario","profile.comments.titlePlural":"Comentarios","profile.comments.empty":"No hay ningún comentario","profile.comments.remember":"Recuerda que puedes comentar los contenidos que más te interesen clicando en el icono \'Comenta\' que encontrarás en cada uno de los contenidos","profile.comments.relation.content":"Has comentado","profile.comments.relation.reply":"Has respondido a","profile.comments.showLikes":"Mostrar","profile.commentLikes.title":"Me gusta","profile.commentLikes.empty":"El comentario no ha recibido ningún Me gusta","profile.readers.title":"Lectores","profile.readers.followers":"Seguidores","profile.readers.followings":"Siguiendo","profile.readers.suggestions.title":"Sugerencias","profile.readers.followersempty":"De momento no tienes ningún
2seguidor","profile.readers.followingsempty":"De momento no sigues a ningún usuario","profile.readers.followersremember":"Te animamos a seguir participando en la comunidad del ARA comentando y enriqueciendo los contenidos. ¡Gracias!","profile.signs.title":"Firmas","profile.signs.suggestions.title":"Sugerencias","profile.signs.followings.title":"Siguiendo","profile.signs.followingsempty":"De momento no sigues a ninguna firma","profile.themes.title":"Temas","profile.themes.followings.title":"Siguiendo","profile.themes.suggestions.title":"Sugerencias","profile.themes.followingsempty":"De momento no sigues a ningún tema","profile.configuration.title":"Configuración y privacidad","profile.configuration.account.title":"Cuenta personal","profile.configuration.account.data":"Datos","profile.configuration.account.password":"Contraseña","profile.configuration.account.subscription":"Suscripción","profile.configuration.account.subscription_ios":"Suscripción Apple","profile.configuration.account.bulletin":"Newsletters y e-mails","profile.configuration.custom.title":"Personalización de la app","profile.configuration.custom.edition":"Cambiar de edición","profile.configuration.custom.notifications_config":"Notificaciones","profile.configuration.custom.visualization":"Visualización","profile.configuration.custom.downloads":"Gestión de descargas","profile.configuration.custom.darkmode":"Modo oscuro","profile.configuration.general.title":"General","profile.configuration.general.data":"Uso de datos","profile.configuration.general.about_us":"Sobre nosotros","profile.configuration.general.consent":"Preferencias de consentimiento","profile.configuration.button.close":"Cierra la sesión","profile.contact.title":"Contacta","profile.contact.label.name":"Nombre y apellido","profile.contact.label.message":"¿Cuál es tu duda?","profile.contact.content.title":"¿Tienes dudas?","profile.contact.content.text1":"Nos puedes llamar por teléfono al 93 275 11 10 de lunes a viernes de 9 a 14 h.","profile.contact.content.text2":"También puedes explicarnos cuál es tu duda rellenando este formulario y nos pondremos en contacto contigo en la mayor brevedad posible:","profile.contact.content.conditions":"Clicando en el botón \\"EnvÃa\\" aceptas las condiciones de contratación y la polÃtica de privacidad del ARA","profile.contact.button.send":"envÃa","profile.faqs.title":"Preguntas frecuentes","profile.data.title":"Datos","profile.data.content.title":"Datos personales","profile.data.content.subtitle":"Estos datos son privados y nunca se mostrarán públicamente","profile.data.form.name.label":"Nombre","profile.data.form.surname.label":"Apellidos","profile.data.form.gender.label":"Sexo","profile.data.form.gender.male":"Hombre","profile.data.form.gender.female":"Mujer","profile.data.form.date.label":"Fecha de nacimiento","profile.data.form.email.label":"Correo electrónico","profile.bulletin.title":"BoletÃn y e-mails","profile.bulletin.form.title":"Configura las alertas que quieres recibir en tu correo electrónico","profile.bulletin.form.language.title":"Idioma","profile.bulletin.form.language.text":"Selecciona el idioma en el que quieres recibir los e-mails","profile.bulletin.form.language.ca":"Catalán","profile.bulletin.form.language.es":"Castellano","profile.bulletin.form.language.en":"Inglés","profile.bulletin.form.content.title":"Contenido","profile.bulletin.form.content.text":"Quiero recibir una recopilación de las claves del dÃa y las publicaciones destacadas.","profile.bulletin.form.content.button":"Gestiona el contenido","profile.bulletin.form.news.title":"Novedades","profile.bulletin.form.news.text":"Quiero recibir alertas de las promociones disponibles.","profile.bulletin.form.news.button":"Gestiona las novedades","profile.bulletin.form.space.label":"Espacio del suscriptor","profile.bulletin.form.space.text":"Quiero recibir alertas de las novedades.","profile.bulletin.form.advices.label":"Avisos","profile.bulletin.form.advices.text":"AvÃsame cuando haya cualquier actividad o novedad.","profile.bulletin.form.all.label":"DesactÃvalo todo","profile.darkmode.title":"Modo oscuro","profile.darkmode.form.mode.dark":"Modo oscuro","profile.darkmode.form.mode.light":"Modo claro","profile.darkmode.form.mode.device":"Según el dispositivo","profile.darkmode.form.text":"Ajustaremos la apariencia basándonos en la configuración de tu dispositivo","profile.edition.title":"Cambiar de edición","profile.edition.form.edition.label1":"Catalunya","profile.edition.form.edition.label2":"Baleares","profile.notifications_config.title":"Notificaciones","profile.notifications_config.form.title":"Decide qué notificaciones de sonido quieres recibir para seguir el hilo de lo que realmente te interesa:","profile.notifications_config.form.current.label":"Actualidad","profile.notifications_config.form.current.text":"Recopilación de noticas de última hora y noticias destacadas","profile.notifications_config.form.topics.label":"Temas","profile.notifications_config.form.topics.text":"Aviso diario de novedades de todos los temas que sigo","profile.notifications_config.form.authors.label":"Firmas","profile.notifications_config.form.authors.text":"Aviso diario de novedades de todas las firmas que sigo","profile.notifications_config.form.columns.label":"Columnas","profile.notifications_config.form.columns.text":"Aviso diario de novedades de todas las columnas que sigo","profile.notifications_config.form.comments.label":"Comentarios","profile.notifications_config.form.comments.text":"Aviso de nuevos comentarios de una noticia que haya comentado anteriormente","profile.notifications_config.form.mentions.label":"Respuestas y menciones","profile.notifications_config.form.mentions.text":"Aviso de menciones o respuestas a mis comentarios","profile.notifications_config.form.readers.label":"Lectores","profile.notifications_config.form.readers.text":"Aviso cuando un lector empiece a seguirme","profile.notifications_config.form.all.label":"DesactÃvalo todo","profile.password.title":"Contraseña","profile.password.content.title":"Cambia la contraseña","profile.password.form.old_password.label":"Contraseña actual","profile.password.form.old_password.remember":"¿Has olvidado la contraseña?","profile.password.form.new_password.hint":"Utiliza cualquier combinación de 8 caracteres o más","profile.visualization.title":"Visualización","profile.visualization.content.title":"Tamaño del cuerpo del texto","profile.visualization.content.dark_mode.label":"Modo nocturno","profile.visualization.content.example.title":"Ejemplo","profile.visualization.content.example.text":"Tres tristes tigres comÃan trigo en tres tristes platos, sentados en un trigal. Sentados en un trigal, en tres tristes platos, comÃan trigo tres tristes tigres.","profile.downloads.title":"Gestión de descargas","profile.downloads.content.title":"Descargas PDF edición papel","profile.downloads.content.text":"Cada vez que guardes un PDF de la edición de papel se almacena en tu dispositivo ocupando espacio.","profile.downloads.content.button":"Elimina todas las descargas","profile.user_edit.title":"Editar perfil","profile.user_edit.form.visible.label":"Datos visibles para todos los usuarios","profile.user_edit.form.visible.text":"Si activas esta opción todos los usuarios podrán ver los datos del perfil público.","profile.user_edit.form.name.help":"Este será el nombre que se muestra públicamente","profile.user_edit.form.name.label":"Nombre de usuario","profile.user_edit.form.name.description":"Descripción","profile.user_edit.form.text":"Comprueba cómo ven los otros usuarios tu perfil público.","profile.user_edit.form.link":"VisualÃzalo aquÃ","profile.user_edit.avatar_size_exceeded":"La imagen de perfil es demasiado grande (máximo :size Mb)","profile.user_public.title":"Perfil público","profile.user_public.details.follower":"Seguidores","profile.user_public.details.following":"Siguiendo","profile.user_public.private_text":"Este suscriptor tiene el perfil en modo privado","profile.user_public.button.newest":"Recientes","profile.user_public.button.oldest":"antiguos","profile.button.save":"guarda","profile.button.send":"envÃa","profile.button.more":"Mostrar más","profile.button.follow":"Sigue","profile.button.unfollow":"Siguiendo","profile.button.remove":"Elimina","profile.give-away.title":"ArtÃculos regalados","profile.give-away.text":"Como subsciptor del ARA puedes regalar 10 artÃculos cada mes a cualquier persona. Ve al artÃculo que quieres regalar y pulsa el botón con este icono \'<svg width=\\" 16\\" height=\\"16\\"viewBox=\\"0 0 20 20\\" xmlns=\\"http://www.w3.org/2000/svg\\">\\n <path d=\\"M16. 667 5H14.85c.092-.258.15-.542.15-.833a2.497 2.497 0 00-4.583-1.375L10 3.35l-.417-.567A2.51 2.51 2.51 2.4.7. 5 3.333c.458 0 .833.375.833.834A.836.836 0 0112.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-8.5.8.3.8. 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm9.167 12.5H3.333v-1.666h13.334v1.666zm0-4.5.6.3 12.817 10l1.35-.975-1.734-2.358h4.234v5z\\"/>\\n</svg>\'","profile.give-away.give-text":"Has regalado <strong>:n de 10</strong> artÃculos durante este mes","profile.give-away.give-text-none":"No has regalado ningún artÃculo","profile.give-away.give-text-limit":"<strong>Has llegado al lÃmite de 10 artÃculos al mes</strong>","profile.give-away.article-expire":"Caduca de aquà :n dÃas","profile.give-away.article-expire-tomorrow":"Caduca mañana","profile.give-away.article-expired":"Regalo caducado","profile.locked.gifts.register.epigraph":"Necesitas ser suscriptor de ARA","profile.locked.gifts.register.title":"SuscrÃbete para regalar artÃculos","profile.locked.gifts.register.text":"Para regalar el acceso completo a una noticia a quien quieras debes tener una suscripción al ARA.","profile.locked.gifts.subscriber.title":"Ventaja exclusiva","profile.locked.gifts.subscriber.text":"Para regalar artÃculos debes tener una suscripción Ãptima al ARA.","profile.locked.comments.register.epigraph":"Necesitas ser suscriptor de ARA","profile.locked.comments.register.title":"SuscrÃbete para comentar","profile.locked.comments.register.text":"Para participar en el debate con los comentarios de las noticias debes tener una suscripción al ARA","profile.locked.comments.subscriber.title":"Ventaja exclusiva","profile.locked.comments.subscriber.text":"Para comentar las noticias debes tener una suscripción Ãptima al ARA.","profile.locked.espai.register.epigraph":"Necesitas ser suscriptor de ARA","profile.locked.espai.register.title":"SuscrÃbete para tener ofertas culturales","profile.locked.espai.register.text":"Para disfrutar de las promociones de cultura y ocio debes tener una suscripción al ARA.","profile.item.new":"NUEVO","snackbar-mail.reminder":"Por favor, accede a tu correo electrónico y verifica tu cuenta","snackbar-mail.understand":"Entendido","profile.button.followed":"Siguiendo","football_direct.stadium":"C","football_direct.referee":"A","football_direct.coach":"E","football_direct.dropdown":"VER ALINEACIONES","paywall.why-subscribe":"Por qué suscribirme","comments.subscribe.modal.register.title":"SuscrÃbete para comentar","comments.subscribe.modal.register.text":"Para participar en el debate con los comentarios de las noticias debes tener una suscripción a ARA.","comments.subscribe.modal.subscriber.title":"Ventaja exclusiva","comments.subscribe.modal.subscriber.text":"Para comentar las noticias debes tener una suscripción Ãptima al ARA","comments.subscribe.modal.title":"SuscrÃbete a ARA","comments.subscribe.modal.text":"Para comentar noticias, debes tener una suscripción.","comments.subscribe.modal.button":"De acuerdo","comments.subscribe.modal.button-app":"SuscrÃbete","legal":{"conditions":"Condiciones generales","privacy":"Privacidad"},"archive.archive":"Hemeroteca","description.archive":"El ARA pone a tu disposición un archivo de todos los diarios desde su nacimiento. Consúltalos en PDF y en la hemeroteca digital de la
2web con un solo clic.","archive.latest-edition":"Ãltima edición","football_direct.minute":"min","language.available":"Disponible en","language.code.ca":"cat","language.code.en":"eng","language.code.es":"cast","language.code.de":"ale","language.code.body.ca":"Llegir en Català ","language.code.body.en":"Read in English","language.code.body.es":"Leer en castellano","language.code.body.de":"Auf Deutsch lesen","profile.edition.empty":"No hay ediciones disponibles","snackbar.error-message":"","snackbar.error-password-message":"Anterior contraseña incorrecta","snackbar.success-update-message":"","404.kicker":"¡Vaya!","404.title":"Disculpa, no podemos encontrar la página que estás buscando","404.subtitle":"Visita nuestra portada o sigue navegando por el menú por alguno de nuestros contenidos","404.button":"Portada","403.kicker":"¡Vaya!","403.title":"Este enlace ha caducado.","403.subtitle":"Visita nuestra portada o sigue navegando por el menú para alguno de nuestros contenidos.","403.button":"Portada","subscription":{"hasAnyActiveSubscription":"¿Tienes una suscripción de Apple?","mensual":"Suscripción mensual activa","anual"
2:"Suscripción anual activa","manage":"Gestionar suscripción","subscriptionApple":"Suscripción de Apple:","subscriptionActive":"Activa"},"date.update":"Act. hace","date.ago":"Hace","date.minute":" min","date.hour":" hora","date.hours":" horas","profile.configuration.general.conditions":"Condiciones generales","paywall.fold":"Plegar","snackbar.error-comment-already-reported":"","userFollowButton.notifications.text":"A partir de ahora recibirás un correo electrónico con las publicaciones.","userFollowButton.notifications.ask-confirmation":"¿Quieres recibir también notificaciones en el móvil?","userFollowButton.notifications.activate":"Activar","userFollowButton.notifications.later":"Decidir más tarde","userFollowButton.notifications.activated":"Notificaciones activadas","userFollowButton.notifications.confirm":"Entendido","userFollowButton.login-modal.title":"Crea una cuenta o inicia sesión","userFollowButton.login-modal.text":"Para poder seguir temas y autores, necesitas tener una cuenta o iniciar sesión.","userFollowButton.login-modal.button":"Inicia sesión","userSaveButton.login-modal.title":"Crea una cuenta o inicia sesión.","userSaveButton.login-modal.text":"Para guardar noticias, necesitas tener una cuenta o iniciar sesión.","userSaveButton.login-modal.button1":"Crea una cuenta","userSaveButton.login-modal.button2":"Inicia sesión","mailing.connectWithAra":"Conecta con el Diari ARA","mailing.info":"Este mensaje se ha generado automáticamente. Si respondes, no recibiremos tu correo electrónico.","mailing.footer":"Edició de Premsa Periòdica Ara, SL. C/ Diputación, 119 Barcelona Cataluña 08015","mailing.confirmMail.buttonText":"Confirma","mailing.confirmMail.title":"Confirma tu dirección de correo electrónico para disfrutar de dos semanas de acceso digital ilimitado a ARA","mailing.confirmMail.message":"Para poder disfrutar de las dos semanas de prueba gratuita, necesitas confirmar tu dirección de correo electrónico. Este correo caduca en 24 horas. Si dejas pasar más tiempo, tendrás que empezar de nuevo.","mailing.newsletter.alsoInterested":"También podrÃas estar interesado","mailing.newsletter.araExclusive":"CONTENIDO EXCLUSIVO PARA SUSCRIPTORES","mailing.newsletter.backupLink":"Si no ves correctamente este mensaje, haz clic aquà <a href=\\":url\\" style=\\"color:#0076a8;\\">clic aquÃ</a>","mailing.newsletter.cancel":"También puedes dirigirte a nuestra Oficina de Privacidad para ejercer tus derechos de acceso, rectificación, supresión (cancelación), portabilidad, limitación u oposición al tratamiento a través de la dirección de correo electrónico: <a href=\\"mailto:[email protected]\\">[email protected]</a>, o consultar nuestra <a href=\\"https://www.ara.cat/privacitat.html\\">PolÃtica de Privacidad</a>.","mailing.newsletter.downloadCurrentEdition":"Descargar la edición de hoy","mailing.newsletter.followedAuthors":"Autores que sigues","mailing.newsletter.followedColumns":"Columnas que sigues","mailing.newsletter.followedTopics":"Temas que sigues","mailing.newsletter.mostRead":"El más leÃdo","mailing.newsletter.newContents":"Nuevos contenidos","mailing.newsletter.otherAuthors":"Otras firmas","mailing.newsletter.otherTopics":"Otros temas","mailing.newsletter.publishedContent.singular":"Ha publicado un nuevo artÃculo","mailing.newsletter.publishedContent.plural":"Ha publicado nuevos artÃculos","mailing.newsletter.suggestionTitle":"Defiende el periodismo que provoca cambios","mailing.newsletter.suggestionTitleFollowedAuthor":"Se parte de la transformación de Cataluña","mailing.newsletter.suggestionButton":"Suscribete a Ara","mailing.newsletter.thanksForFollow":"Gracias por seguirme","mailing.newsletter.unsubscribe":"Si quieres dejar de recibir esta ânewsletterâ del ARA, puedes darte de baja <a href=\\":url\\"> aquÃ</a>.","mailing.newsletter.unsubscribe.authors":"Si quieres dejar de recibir avisos de este autor, puedes darte de baja <a href=\\":url\\"> aquÃ</a>","mailing.newsletter.unsubscribe.columns":"Si quieres dejar de recibir avisos de esta columna, puedes darte de baja <a href=\\":url\\"> aquÃ</a>
2","mailing.newsletter.unsubscribe.topic":"Si quieres dejar de recibir avisos de este tema, puedes darte de baja <a href=\\":url\\"> aquÃ</a>","mailing.newsletter.viewAllAuthors":"Ver todas las firmas","mailing.newsletter.headlinesButton":"Infórmate sin lÃmites","mailing.newsletter.ara.connect":"Conecta con el diario ARA","mailing.newsletter.ara.cancel":"También puedes dirigirte a nuestra Oficina de Privacidad para ejercitar tus derechos de acceso, rectificación, supresión (cancelación), portabilidad, limitación u oposición al tratamiento a través de la dirección de correo electrónico: <a href=\\"mailto:[email protected]\\">[email protected]</a>, o consultar nuestra <a href=\\"https://es.ara.cat/privacidad.html\\">PolÃtica de Privacidad</a>","mailing.newsletter.ara.unsubscribe":"Si quieres deijar de recibir esta \'newsletter\' del ARA, puedes darte de baja <a href=\\":url\\">aquÃ</a>","mailing.newsletter.ara.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.newsletter.balears.connect":"Conecta con el diario ARA Balears","mailing.newsletter.balears.cancel":"También puedes dirigirte a nuestra Oficina de Privacidad para ejercer tus derechos de acceso, rectificación, supressión (cancelación), portabilidad, limitación u oposición al tratamiento a través de la dirección de correo electrónico: <a href=\\"mailto:[email protected]\\">[email protected]</a>, o consultar nuestra <a href=\\"https://es.ara.cat/privacidad.html\\">PolÃtica de Privacidad</a>","mailing.newsletter.balears.unsubscribe":"Si quieres dejar de recibir esta \'newsletter\' del ARA Balears, puedes darte de baja <a href=\\":url\\">aquÃ</a>","mailing.newsletter.balears.footer":"Edicions Periòdiques ARA Balears, SL. C. de Tous i Maroto, 8 (1r pis) Palma 07001","mailing.resetPassword.buttonText":"Cambiar contraseña","mailing.resetPassword.greeting":"Hola","mailing.resetPassword.info":"No te preocupes, olvidarse la contraseña le puede pasar a cualquiera. Pulsa el botón de abajo y elige otra. ¡Asà de fácil!","mailing.resetPassword.title":"Cambia la contraseña","notification.topic.singleTopicTitle":"Tema: ","notification.topic.singleTopicMultipleContentsSubtitle":"Nuevos contenidos","notification.topic.multipleTopicTitle":"Temas: Nuevos contenidos","notification.column.singleColumnTitle":"Columna: ","notification.column.singleColumnMultipleContentsSubtitle":"Nuevos contenidos","notification.column.multipleColumnTitle":"Columnas: Nuevos contenidos","notification.author.singleAuthorTitle":"Firma: ","notification.author.singleAuthorMultipleContentsSubtitle":"Nuevos contenidos","notification.author.multipleAuthorTitle":"Firmas: Nuevos contenidos","notification.comment.title":"ha comentado la misma notÃcia que tú","notification.comment.user.multiple":"y :number lectores mas","notification.comment.reply.title":"te ha contestado:","notification.comment.mention.title":"te ha mencionado en una noticia","notification.comment.like.title":"le ha gustado tu comentario","notification.comment.like.multiple.title":"les ha gustado tu comentario","notification.moderation.ok.title":"Se ha publicado tu comentario","notification.moderation.ko.title":"No se ha aprobado tu comentario","notification.userFollow.title":"Nuevo seguidor","notification.userFollow.message":"ha empezado a seguirte","media-info.image":"Fotogaleria","media-info.graphic":"Gráfico","media-info.video":"VÃdeo","media-info.audio":"Audio","media-info.interactive":"Interactivo","media-info.special":"Especial","media-info.story":"Dossier","media-info.poll":"Encuesta","media-info.test":"Test","media-info.automatic":"Automático","media-info.streaming":"VÃdeo en directo","common.and":"y","test.start":"Comenzar","test.answers":"Respuestas Acertadas","test.and":"de","test.correct":"Corregir","test.check":"Comprobar los resultados","test.share":"Compartir el test","test.restart":"Volver a hacerlo","modal.unpaidSubscriber.title":"Tu suscripción está a punto de caducar","modal.unpaidSubscriber.text":"Por algún motivo tu suscripción no se ha podido renovar y es necesario que actualices tus datos de pago.","modal.unpaidSubscriber.buttonText":"Actualiza tus datos","modal.unpaidRegistered.title":"Suscripción caducada","modal.unpaidRegistered.text":"Has dejado de tener acceso al contenido porque tu suscripción no se ha podido renovar a causa de un problema con tu tarjeta.","modal.unpaidRegistered.buttonText":"Reactiva tu suscripción","profile.public.premiumSubscriber":"Suscriptor Premium","profile.public.founderSubscriber":"Suscriptor Fundador","profile.public.premiumFounderSubscriber":"Suscriptor Fundador Premium","profile.public.numPremiumSubscription":"Núm. suscripción Premium","profile.public.numSubscription":"Núm. suscripción","embed-graphic.font":"Fuente","embed-graphic.graphic":"Grafico","seo.capsuleContent.defaultTitle":"Te puede interesar","seo.hardcoded.author.description":"Descubre todas las noticias y artÃculos de opinión firmados por %authorName% en el diari ARA.","seo.hardcoded.author.t
2itle":"ArtÃculos escritos por %authorName% | Diari ARA","seo.hardcoded.tag.title":"%tagName%: Todas las noticias y última hora","seo.hardcoded.tag.description":"Encuentra todas las noticias sobre %tagName%. Toda la información y la última hora en el diari ARA.","breu.read-complementary":"Amplia el breve","breu.read-complementary-link":"aquÃ","breu.read-expanded":"leer la noticia ampliada","newsletter.title":"Newsletters","newsletter.sign-up":"Inscribete","newsletter.sign-up-to":"Inscribete a la newsletter :newsletter","newsletter.sign-up-shared":"Inscribete para estar siempre informado","newsletter.discover":"Descubrelas","newsletter.discover-all":"Descubrelas todas","hot-topics.title":"Hoy hablamos de","key-moment.title":"Momentos clave","give-away.active-title":"Regala este artÃculo","give-away.active-subtitle-all":"Tienes :n artÃculos para regalar este mes.","give-away.active-subtitle-some":"Te quedan :n artÃculos para regalar este mes.","give-away.active-subtitle-none":"Has agotado los :n artÃculos para regalar este mes.","give-away.active-subtitle-gifted":"Ya has regalado este artÃculo anteriormente. Vuelve sin que cuente.","give-away.active-subtitle-link":"Más información.","give-away.active-text":"EnvÃa el regalo:","give-away.no-subscriber-title":"Ventaja exclusiva para suscriptores: regala artÃculos a cualquier persona","give-away.no-subscriber-subtitle":"Los suscriptores del ARA pueden regalar 10 artÃculos cada mes a cualquier persona, incluso a los no suscriptores.","give-away.no-subscriber-subtitle-link":"Más información.","give-away.no-permissions-title":"Tu suscripción no te permite compartir artÃculos","give-away.no-permissions-subtitle":"¿Quieres acceder a esta funcionalidad? Puedes mejorar tu tarifa","give-away.no-permissions-subtitle-link":"aquÃ.","give-away.no-permissions-subtitle-button":"Mejora la tarifa","give-away.copy":"Copia el enlace","give-away.copied":"Enlace copiado","paywall.remaining-articles":"artÃculos gratis restantes por leer","paywall.remaining-articles-last-day":"Hoy termina el perÃodo de prueba","paywall.remaining-days":"dÃas para terminar el perÃodo de prueba","paywall.gift-folded":"Te han regalado este artÃculo","paywall.gift-unfolded":"Este artÃculo es un regalo","paywall.read-all.btn":"Léelo todo","paywall.read-content":"Lee el contenido sin lÃmites","give-away.mail-subject":"Te regalo este artÃculo |","give-away.twitter-text":"Creo que este artÃculo puede interesarte. Como tengo una suscripción al @diariara, te lo regalo. Léelo con este enlace:","favourite-list.title":"Guarda este artÃculo","favourite-list.all":"Todos los artÃculos","favourite-list.create":"Crear una nueva lista","favourite-list.create-button":"Crear lista","favourite-list.list-name":"Nombre de la lista","favourite-list.save":"Guardar","favourite-list.edit":"Editar","favourite-list.delete":"Eliminar","favourite-list.delete-cancel":"Cancela","favourite-list.delete-button":"Borra","favourite-list.delete-title":"Eliminar lista","favourite-list.delete-body":"Eliminando esta lista, no eliminarás los artÃculos guardados. Los tendrás en la lista de lectura","favourite-list.save-ok":"Guardado correctamente","favourite-list.create-ok":"Lista creada correctamente","favourite-list.collections":"Colecciones","favourite-list.delete-confirm":"¿Quieres eliminar el artÃculo y borrarlo de todas las colecciones?","missingTranslatedVersion":"Contenido en catalán","taxon.opening.type-topic":"Tema"}'),l=JSON.parse('{"taxon.llista.header":"Latest publications","taxon.llista.header-dossier":"Contents","taxon.fitxa.tag":"tag","and":"and","body.view-more":"Find it here","body.developing":"We are working to expand this information","by":"by","comments.comment.btn":"Comment","comments.deleted":"This comment has been deleted for contravening the","comments.deleted-by-author":"This comment has been deleted by its author.","comments.no-comments":"There are no comments. Be the first to comment!","comments.no-matches":"There are no matches","comments.has-new-comments":"There are new comments","comments.show-comments":"Comment | See 1 comment | See :n comments","comments.num-comments":":n comments","comments.options":"Options","comments.newest":"Newest","comments.oldest":"Oldest","comments.create.header":"Comment","comments.create.placeholder":"Say y
2ours","comments.create.btn":"Post","comments.featured-author":"ARA Newspaper","comments.founder-author":"Subs. Fundador","comments.premium-author":"Prèmium","comments.founder-premium-author":"Fundador Prèmium","comments.pending-moderation-header":"Comment","comments.pending-moderation-title":"Received. Thank you, together we make ARA happen!","comments.pending-moderation-text":"This message is pending moderation. It will be published shortly.","comments.pending-publication-text":"This message is pending publication. It will be published shortly.","comments.pending-moderation-button":"Ok","comments.lock-user-header":"Block this user","comments.lock-user-result-title":"You blocked user<br>:nick","comments.lock-user-result-text":"You can unlock it whenever you want from :link.","comments.lock-user-title":"Are you sure you want to<br>block this user?","comments.lock-user-text":"You will stop seeing all their comments. You can unblock them whenever you want from :link.","comments.lock-user-text.profile-link-text":"from your profile","comments.lock-user-button":"Block","comments.unlock-user-header":"Unblock this user","comments.unlock-user-title":"Are you sure you want to unblock this user?","comments.unlock-user-text":"You will be able to see all of his comments again","comments.unlock-user-button":"Unblock","comments.unlocked-user-header":"Unblock this user","comments.unlocked-user-title":"You have unblocked <br>:nick","comments.unlocked-user-text":"You may block him again any time you want","comments.unlocked-user-button":"Ok","comments.unlock-user-result-header":"Stop muting","comments.unlock-user-result-title":"You stopped muting user<br>:nick.","comments.unlock-user-result-text":"","comments.unlock-user-result-button":"Ok","comments.report-comment-header":"Report this comment","comments.report-comment-title":"Why are you reporting this comment?","comments.report-comment-button":"Send","comments.reported-comment-header":"Report this comment","comments.reported-comment-title":"Received. Thank you, together we make ARA happen!","comments.reported-comment-text":"We will review this comment but only delete it if it infringes our :link.","comments.reported-comment-text-link-text":"community guidelines","comments.reported-comment-button":"Ok","comments.delete.btn":"Delete it","comments.delete-comment-header":"Delete comment","comments.delete-comment-title":"Are you sure you want to delete this comment?","comments.delete-comment-text":"The comment will disappear completely.","comments.delete-comment-replies":"All answers will also disappear.","comments.delete-comment-button":"Delete","comments.deleted-comment-header":"Delete comment","comments.deleted-comment-title":"The comment has been deleted","comments.deleted-comment-button":"Ok","comments.notifyMe":"Let me know if there are new comments","comments.open-replies":"Show all comments","comments.community-rules-notice":"Comments are moderated by subscribers. Check the details in the","comments.community-rules-notice.link-text":"community guidelines","comments.thread.header":"Conversation","comments.thread.btn":"Comment on this thread","comments.user-locked":"You have muted this user. Unmute them to see all their comments again.","comments.modal.bannedButton":"OK","comments.modal.bannedTitle":"Comments not allowed because you have not respected the <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'normes de la comunitat\' target=\'_blank\'>community rules</a>","comments.modal.bannedText":"Comments not allowed because you have not respected the <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'normes de la comunitat\' target=\'_blank\'>community rules</a>","comments.modal.permissionTitle":"Commenting is not included in your subscription","comments.modal.permissionText":"Extend your subscription to comment on articles.","comments.modal.options.lock-user":"Mute this user","comments.modal.options.unlock-user":"Unmute this user","comments.modal.options.user-profile":"Visit the user\'s profile","comments.modal.options.follow-user":"Follow the user","comments.modal.options.unfollow-user":"Unfollow the user","comments.modal.options.report":"Report the comment","comments.modal.options.reported":"You have reported the comment","comments.bt
2n.reply":"Reply","comments.btn.report":"Report","comments.btn.reported":"Reported","story.story":"Dossier","story.unfold":"Unfold","story.fold":"Fold","story.next":"Next","story.previous":"Previous","story.button":"Back to Index","downloads.downloads":"Downloads","header.author.column":"My column","header.author.columns":"My colums","header.close":"Close","header.login":"Log in","header.login-short":"Log in","header.login-app":"Continue","header.menu":"Menu","header.register":"Register","header.subscribe":"Subscribe","header.search":"Search","header.edition":"Edition","header.paper-edition":"Paper edition","header.paper-edition-mobile":"Paper edition PDF","header.archive":"Newspaper Library","header.language":"Language","header.followAuthors":"Opinions you follow","menu.home":"Home","title.mateix":"Breaking news from the leading Catalan newspaper | Diari ARA","description.mateix":"Read about the latest news, as well as all the big stories, with ARA: free information, updated every minute.","menu.mateix":"Breaking","menu.discover":"Discover","title.discover":"Long reads and in-depth analysis | Diari ARA","menu.authors":"Authors","menu.topics":"Topics","menu.search":"Search","menu.sections":"Sections","menu.profile":"Profile","menu.games":"Games","actionbar.comment":"Comments","actionbar.save":"Save","actionbar.email":"Email","actionbar.share":"Share","actionbar.share-on":"Share on","actionbar.close":"Close","actionbar.follow-us-google.long":"Add us on Google","actionbar.follow-us-google.short":"Add us","actionbar.give-away":"Give away this article","actionbar.give-away-tooltip":"Give away","components.load-more":"Show more","components.search":"Search","content.minutes":"min|min","content.back-to-mateix":"See all breaking","content.followers":"live follower|live followers","content.live":"Live","content.newest":"Newest","content.oldest":"Oldest","content.blog":"Blog","content.images":"image|images","content.views":"view|views","content.participants":"participant|participants","content.breakingNews":"Breaking News","content.verified":"Verified translation","content.automatic":"Unverified translation","content.exclusive":"Exclusive","content.breadcrumbs-exclusive":"Exclusive","content.scoop":"Scoop","content.audio-locution.listen":"Listen to it","content.audio-locution.pause":"Pause","content.audio-locution.subscriber-only.title":"Subscribe to listen","content.audio-locution.subscriber-only.text":"To enjoy articles in audio, you need a subscription.","live.live":"Live","live.new-publications":"There are new publications","live.filters":"Filters","live.erase":"Remove","live.set-filters":"Set filters","live.exclusive":"Exclusive","live.last-hour":"Breaking News","live.yesterday":"Yesterday","football-event":{"info":"Info","shootPost":"Shoot post","goal":"Goal","ownGoal":"Own goal","disallowedGoal":"Disallowed goal","foul":"Foul","handBall":"Hand ball","penalty":"Penalty","penaltyMissed":"Penalty missed","penaltyGoal":"Penalty goal","shootFailed":"Shoot failed","yellowCard":"Yellow card","doubleYellowCard":"Double yellow card","redCard":"Red card","playerEjected":"Player ejected","playerInjured":"Played injured","playerSubstituted":"Player substituted","throwIn":"Throw in","cornerKick":"Corner kick","goalKick":"Goal kick","kickOff":"Kick off","firstExtraTimeStart":"First extra time start","matchFinished":"Match finished","offside":"Offside","blooper":"Blooper","goalSaved":"Goal saved","refereeingControversy":"Refereeing controversy"},"mateix.ara-mateix":"Breaking","mateix.see-ara-mateix":"See all last minute","discover.discover":"Discover","searcher.no-results":"There are no results for your search. Please try again.","searcher.newest":"Newest","searcher.oldest":"Oldest","searcher.number-of-results":"No results | 1 result | :n results","searcher.publication-date":"Publication date","searcher.type":"Type","archive.no-results":"There are no results for your search. Please try again.","archive.newest":"Newest","archive.oldest":"Oldest","archive.number-of-results":"No results | 1 result | :n results","archive.publication-date":"Publication date","archive.edition":"Edition","archive.publication":"Newspapers and supplements","archive.today-edition":"Today\'s edition","archive.previous-editions":"Previous editions","archive.
2see-more":"See more","archive.modal.register.title":"Access the PDF edition","archive.modal.register.text":"Read this issue in PDF for just â¬:_price_ or subscribe and get unlimited access to all issues. Plus, enjoy all the benefits of being a subscriber.","archive.modal.register.button1":"Buy this edition for â¬:_price_","archive.modal.register.button2":"subscribe","archive.modal.subscriber.title":"Exclusive advantage","archive.modal.subscriber.text":"To access the PDF version of the newspaper, you must have an ARA Optimum subscription.","archive.modal.button":"Subscribe","archive.modal.permissionTitle":"Access to the archive is not included in your subscription","archive.modal.permissionText":"Extend your subscription to gain access to all contents.","archive.modal.permissionButton":"Extend your subscription","archive.all":"All","filters.filters":"Filters","filters.remove":"Remove","filters.apply":"Apply filters","filters.start":"Start","filters.end":"End","poll.poll-result-title":"Thanks for taking part!","poll.poll-result-text":"If you liked this poll, please share it with your friends","poll.inactive":"This poll is no longer active","poll.share-it":"Share","poll.vote":"Vote","poll.show-results":"Show results","poll.hide-results":"Hide results","poll.votes":"vote | votes","poll.poll":"Poll","recirculation.content-developed":"Content developed by","recirculation.promo-message.ara":"Support quality, rigorous information. Together we make ARA happen!","recirculation.promo-message.balears":"Support quality, rigorous information. Together we make ARA Balears happen!","recirculation.contribute":"Contribute","recirculation.notify":"Let us know","recirculation.detect-error":"if you spot any mistakes","recirculation.more-about":"Find out more","recirculation.more-about-prefix":"Find out more about","recirculation.more-about-section":"Find out more","recirculation.most-famous":"Most popular","recirculation.see-more":"See more","recirculation.most-popular":"Most viewed","recirculation.most-viewed":"Most commented","recirculation.breu-text":"See the entire last hour.","recirculation.breu-link":"Go there","elements.author-question":"Author\'s question","elements.read":"Read","elements.more":"more","elements.less":"less","elements.following":"Following","elements.follow":"Follow","elements.follow-column":"Follow the column","elements.follow-me":"Follow me","elements.follow-topic":"Follow topic","elements.follow-topic-new":"Follow","elements.search":"Search","elements.loading":"Loading","validation.required-text":"Text required","validation.invalid-text":"Invalid text","validation.invalid-date":"Invalid date","validation.required-selection":"Please select","validation.invalid-selection":"Invalid selection","validation":{"alpha":":_field_ may only contain letters","alpha_num":":_field_ may only contain letters and numbers","alpha_dash":":_field_ may only contain letters, numbers and dashes","alpha_spaces":":_field_ may only contain letters and spaces","between":":_field_ must be between :min and :max","confirmed":":_field_ does not match :target","digits":":_field_ must have exactly :length numbers","dimensions":":_field_ must be :width pixels by :height pixels","email":":_field_ must be a valid email","excluded":":_field_ must be a valid value","ext":":_field_ must be a valid file","image":":_field_ must be an image","max_value":":_field_ must be :max or less","max":":_field_ must be under :length characters","mimes":":_field_ must be a valid file type","min_value":":_field_ must be :min or more","min":":_field_ must be at least :min characters","numeric":":_field_ may only have numbers","oneOf":":_field_ must be a valid value","regex":":_field_ format is not valid","required":":_field_ is required","required_if":":_field_ is required","size":":_field_ must be under :size KB","password":"Use a minimum of 8 characters with uppercase, lowercase and numbers"},"customValidation":{"email":{"invalid":"Please enter a valid email address","required":"Email is required","EMAIL_ALREADY_IN_USE":"Email is already in use"},"password":{"confirmed":"Enter the same password in both fields"},"name":{"required":"Name required","regex":"The format of the field name is not val
2id.","max":"The name field must not exceed 80 characters.","PUBLICNICK_ALREADY_IN_USE":"Nick already in use"},"surname":{"required":"Surname required","regex":"The format of the surname field is not valid.","max":"The surname field must not exceed 80 characters."},"birthdate":{"required":"Dat of birth required"},"phoneNumber":{"invalid":"Incorrect telephone number"},"message":{"required":"Message required"},"nick":{"INVALID_FIELD":""},"old_password":{"INVALID_FIELD":""}},"fields":{"email":"Email","password":"Password","new-password":"New password","confirm-password":"Confirm password","phoneNumber":"Telephone number","birthDate":"Date of birth"},"footer.title":"Free and committed journalism to keep you informed","footer.subscribe":"Subscribe","footer.partners":"Collaborators","mosaic.header.topic-see-more":"See more on this topic","mosaic.header.see":"See","mosaic.header.more":"more","mosaic.header.exclusive":"Exclusive","mosaic.header.more-news":"More news","mosaic.swipe.more":"See more","modal.title":"Title","modal.button":"Accept","snackbar.close":"Close","forecast.imagePrevision.alt":"Weather forecast in","authors.carousel.more":"more","alert.title":"Latest News","register.step-1.btn":"Create an account","register.step-1.email.hint":"A new account will be created","register.step-1.help":"Already have an account?","register.step-1.subtitle":"Create a password","register.step-1.title":"Create an account","register.step-2.btn":"Save your details","register.step-2.subtitle":"Complete your details","register.step-3.btn":"OK","register.step-3.help":"Didn\'t receive the email?","register.step-3.help-link":"Resend it","register.step-3.help-link-max-attempts":"Canât find the activation email? Check your spam folder. If the problem persists, <a href=\\":url\\">contact us</a>","register.step-3.subtitle":"Check your email to validate your account and start enjoying ARA","register.step-3.title":"Account created!","register.name":"Name","register.email":"Email","register.email-text":"You will need an email to log in to ARA, but it will not be made public.","register.privacy-text":"By registering you accept our <a href=\':url\' title=\'polÃtica de privacitat\' target=\'_blank\'>privacy policy</a>","register.are-from-ara":"Already a subscriber?","register.access":"Log in","register.surname":"Surnames","login.access.btn":"Log in","login.access.title":"Welcome back, :userName","login.access-1":"Log in or create an account","login.active-session.btn":"Log out and switch account","login.active-session.cancel":"Not now, go back to ARA","login.active-session.description":"To sign in with another account, you first need to log out of the current session.","login.active-session.hint-with-subscription":"You have signed in with this account, but we have not found any active subscription","login.active-session.hint-no-subscription":"You have signed in with this account, which has an active subscription.","login.active-session.title":"Sign in with another account","login.subtitle":"You already have an account created with this email. Enter your password:","login.google":"Sign in with Google","login.facebook":"Sign in with Facebook","login.apple":"Sign in with Apple","login.or":"or","login.and":"from","login.continue":"Sign in with email","login.help-for-login":"Need help signing in?","login.email.action":"Edit","login.password":"Password","login.password.show":"Show","login.password.hide":"Hide","login.forgot-password":"Have you forgotten your password?","login.recover-password":"Reset password","login.recover-password-text":"Enter your email and weâll send you a link to reset your password.","login.send":"Send","login.recovery-password-sent.title":"Check your inbox","login.recovery-password-sent.body":"Weâve sent you an email with a link to reset your password.<br><br>If you donât receive it soon, check this article:","login.recovery-password-sent.footer":"I donât remember my password","login.change-password.title":"Create a new password","login.error-title":"We cannot access the account. Please check your email and password and try again","login.blocked-account.title":"Reactivate your account","login.blocked-account.subtitle":"Your account is temporarily blocked because you have not validated your email yet. Send yourself a new link to :email to regain access.","login.blocked-account.btn":"Send me a new link","login.blocked-account.resent-notice":"We have resent the email to validate your account","login.blocked-account.confirm.title":"Confirm your email","login.blocked-account.confirm.subtitle":"We have sent a verification link to: :email. Open it to activate your account.","login.blocked-account.confirm.btn":"I have already confirmed the email","wel
2come.data.complete":"Your phone number and postal code have been saved successfully","welcome.step-1.fields.phoneNumber":"Telephone","welcome.step-1.help":"We will not pass on your data to third parties","welcome.step-1.subtitle":"Receive promotions and events near you.<br>Add your phone number and postal code","welcome.step-1.title":"Congratulations, :userName!<br>Youâre now part of ARA","welcome.step-2.complete":"Your phone and postcode have been successfully saved","welcome.send":"Send","welcome.later":"Do it later","welcome.postalCode":"Postal Code","welcome.need-validate":"You need to validate your email address to access your account.","welcome.send-validate":"Re-send validation email","welcome.go-to-home":"Start reading!","welcome.email-send":"Email sent","welcome.email-verify":"To enjoy the free trial, verify your email address","password.password-help-text":"Use any combination of at least 8 characters","password.password-saved":"Great! You\'ve successfully changed your password","password.go-to-home":"Back to ARA","password.send":"Send","password.title":"Change your password","profile.columns.title":"Columns","profile.columns.followingsempty":"For now, you\'re not following any columns.","profile.columns.followings.title":"Following","profile.columns.suggestions.title":"Suggestions","profile.deleteAccount.title":"Delete my data","profile.deleteAccount.goBack":"Go back","profile.deleteAccount.deleteAccount":"Delete your account","profile.deleteAccount.registeredText":"You are about to permanently delete your account data. <strong>We will delete:</strong> <ul><li>⢠Your saved articles</li><li>⢠The comments you have made and received</li><li>⢠The authors, readers and themes you follow</li> <li>⢠Your followers list</li><li>⢠Your personal data</li></ul> Remember that this data can never be recovered.","profile.deleteAccount.subscriberText":"To delete your account data, you must first cancel your ARA subscription. You can do so by sending an email to [email protected] or by calling 93 275 11 10","profile.register.title":"Profile","profile.register.button.card_suscription":"Targeta ARA","profile.register.is-subscriber":"Already a subscriber? <a href=\\":url\\">Access your account</a>","profile.seguint.title":"Following","profile.suscriptor.button.card_suscription":"Subscriber card","profile.suscriptor.button.columnes":"Columns","profile.suscriptor.button.comments":"Comments","profile.suscriptor.button.configuration":"Settings and privacy","profile.suscriptor.button.help":"Help","profile.suscriptor.button.invite_friend":"Invite a friend","profile.suscriptor.button.notifications":"Outlets","profile.suscriptor.button.outlets":"Punts de venda","profile.suscriptor.button.premium_club":"Premium Club","profile.suscriptor.button.premium_copy":"Fes-te Prèmium","profile.suscriptor.button.premium_copy_header":"ð Gift ARA","profile.suscriptor.button.premium_upgrade":"IMPROVE YOUR SUBSCRIPTION","profile.suscriptor.button.readers":"Readers","profile.suscriptor.button.saves":"Saved","profile.suscriptor.button.seguint":"Following","profile.suscriptor.button.shop":"Shop","profile.suscriptor.button.signs":"Authors","profile.suscriptor.button.subscribe":"Subscribe","profile.suscriptor.button.subscription":"Subscription","profile.suscriptor.button.subscriptor_space":"Subscriber area","profile.suscriptor.button.themes":"Topics","profile.suscriptor.details.edit":"Edit","profile.suscriptor.details.follower":"Followers","profile.suscriptor.details.following":"Following","profile.suscriptor.details.private":"Private details","profile.suscriptor.details.public":"Public details","profile.suscriptor.is-premium-subscriber":"Already a Premium Club member? <a href=\\":url\\">Access your account</a>","profile.suscriptor.title":"Profile","profile.anonymous.text":"Log in or create an account to access content","profile.anonymous.create":"Create an account","profile.anonymous.access":"Log in","profile.anonymous.link":"Recover your iOS purchases","profile.anonymous.forceLink":"Force the recovery of your iOS purchases","profile.notifications.title":"Notifications","profile.notifications.latest.title":"Latest","profile.notifications.history.title":"Last days","profile.notifications.empty":"There are no notifications","profile.saves.title":"Saved","profile.saves.week.title":"This week","profile.saves.month.title":"This month","profile.saves.year.title":"This year","profile.saves.lastyear.title":"2019","profile.saves.oldyears.title":"201X","profile.saves.empty":"There are no saved articles","profile.saves.remember":"Remember you can save the content that most interests you by clicking on the icon \'Save\' that you will find on all articles.","profile.comments.titleSingular":"Comment","profile.comments.titlePlural":"Comments","profile.comments.empty":"There are no comments","profile.comments.remember":"Remember you can comment on the content you are most interested in by clicking on the icon \'Comment\' that you will find on all articles.","profile.comments.relation.content":"You commented","profile.comments.relation.reply":"You replied to","profile.comments.showLikes":"Show","profile.commentLikes.title":"Likes","profile.commentLikes.empty":"The comment hasnât received any likes","profile.readers.title":"Readers","profile.readers.followers":"Followers","profile.readers.followings":"Following","profile.readers.suggestions.title":"Suggestions","profile.readers.followersempty":"You don\'t have any followers","profile.readers.followingsempty":"You are not following anybody","profile.readers.followersremember":"We encourage you to become part of ARA\'s community by commenting and contributing to our content. Thank y
2ou!","profile.signs.title":"Author","profile.signs.suggestions.title":"Suggestions","profile.signs.followings.title":"Following","profile.signs.followingsempty":"You are not following any authors","profile.themes.title":"Topics","profile.themes.followings.title":"Following","profile.themes.suggestions.title":"Suggestions","profile.themes.followingsempty":"You are not following any topic","profile.configuration.title":"Settings and privacy","profile.configuration.account.title":"Personal account","profile.configuration.account.data":"Data","profile.configuration.account.password":"Password","profile.configuration.account.subscription":"Subscription","profile.configuration.account.subscription_ios":"Apple Subscription","profile.configuration.account.bulletin":"Newsletter and emails","profile.configuration.custom.title":"App personalisation","profile.configuration.custom.edition":"Change edition","profile.configuration.custom.notifications_config":"Notifications","profile.configuration.custom.visualization":"Appearance","profile.configuration.custom.downloads":"Download seetings","profile.configuration.custom.darkmode":"Dark mode","profile.configuration.general.title":"General","profile.configuration.general.data":"Data use","profile.configuration.general.about_us":"About","profile.configuration.general.consent":"Consent preferences","profile.configuration.button.close":"Log out","profile.contact.title":"Contact","profile.contact.label.name":"Name and Surname","profile.contact.label.message":"Any questions?","profile.contact.content.title":"Any questions?","profile.contact.content.text1":"You can call us at 93 275 11 10 from Monday to Friday between 9 am and 2 pm.","profile.contact.content.text2":"You can also use this form and we will contact you as soon as possible.","profile.contact.content.conditions":"By clicking \\"Send\\" you accept ARA\'s conditions, terms and privacy policy.","profile.contact.button.send":"Send","profile.faqs.title":"FAQ","profile.data.title":"Data","profile.data.content.title":"Personal details","profile.data.content.subtitle":"These are personal data and will never be public","profile.data.form.name.label":"Name","profile.data.form.surname.label":"Surname","profile.data.form.gender.label":"Gender","profile.data.form.gender.male":"Male","profile.data.form.gender.female":"Female","profile.data.form.date.label":"Date of birth","profile.data.form.email.label":"Email","profile.bulletin.title":"Newsletter and emails","profile.bulletin.form.title":"Decide what alerts you would like to receive in your inbox","profile.bulletin.form.language.title":"Language","profile.bulletin.form.language.text":"Choose the language you would like to receive your emails in","profile.bulletin.form.language.ca":"Catalan","profile.bulletin.form.language.es":"Spanish","profile.bulletin.form.language.en":"English","profile.bulletin.form.content.title":"Contents","profile.bulletin.form.content.text":"I would like to receive a selection articles and the main news stories.","profile.bulletin.form.content.button":"Manage the content","profile.bulletin.form.news.title":"Promotions","profile.bulletin.form.news.text":"I would like to find out about available promotions.","profile.bulletin.form.news.button":"Manage promotions","profile.bulletin.form.space.label":"Subscriber\'s space","profile.bulletin.form.space.text":"I would like to find out about new offers","profile.bulletin.form.advices.label":"Alerts","profile.bulletin.form.advices.text":"Let me know when about any new activities or promotions.","profile.bulletin.form.all.label":"Deactivate everything","profile.darkmode.title":"Dark mode","profile.darkmode.form.mode.dark":"Dark mode","profile.darkmode.form.mode.light":"Light Mode","profile.darkmode.form.mode.device":"Depending on the device","profile.darkmode.form.text":"We will adjust the appearance based on your device\'s configuration","profile.edition.title":"Change edition","profile.edition.form.edition.label1":"Catalonia","profile.edition.form.edition.label2":"Balearic Islands","profile.notifications_config.title":"Notifications","profile.notifications_config.form.title":"Chose what sound notifications to receive to follow what really interests you:","profile.notifications_config.form.current.label":"Current affairs","profile.notifications_config.form.current.text":"Latest news round-up and stand-out artciles","profile.notifications_config.form.topics.label":"Topics","profile.notifications_config.form.topics.text":"Daily notification of news on the topics I follow","profile.notifications_config.form.authors.label":"Authors","profile.notifications_config.form.authors.text":"Daily notification with new content by the authors I follow","profile.notifications_config.form.columns.label":"Columns","profile.notifications_config.form.columns.text":"Daily notice of news from all the columns I follow","profile.notifications_config.form.comments.label":"Comments","profile.notifications_config.form.comments.text":"Let me know when there are new comments on a piece I have commented on","profile.notifications_config.form.mentions.label":"Replies and mentions","profile.notifications_config.form.mentions.text":"Let me know when somebody mentions me or replies to one of my comments","profile.notifications_config.form.readers.label":"Readers","profile.notifications_config.form.readers.text":"Let me know when a reader starts to follow me","profile.notifications_config.form.all.label":"Deactivate everything","profile.password.title":"Password","profile.password.content.title":"Change passwords","profile.password.form.old_password.label":"Current password","profile.password.form.old_password.remember":"Have you forgotten your password?","profile.password.form.new_password.hint":"Use any combination of at least 8 characters","profile.visualization.title":"View","profile.visualization.content.title":"Size of the text","profile.visualization.content.dark_mode.label":"Night mode","profile.visualization.content.example.title":"Example","profile.visualization.content.example.text":"Peter Piper picked a peck of pickled pepper. A peck of pickled pepper Peter Piper picked. If Peter Piper picked a peck of pickled pepper, where is the peck of pickled pepper Peter Piper picked?","profile.downloads.title":"Manage downloads","profile.downloads.content.title":"Paper Edition PDF downloads","profile.downloads.content.text":"Every time you save a PDF version of the paper edition, it is saved on your device taking up space.","profile.downloads.content.button":"Delete all downloads","profile.user_edit.title":"Edit profile","profile.user_edit.form.visible.label":"Data visible to other users","profile.user_edit.form.visible.text":"If you activate this option, all users will be able to see details of your public profile","profile.user_edit.form.name.help":"This will be the name that will be seen publicly","profile.user_edit.form.name.label":"Username","profile.user_edit.form.name.description":"Description","profile.user_edit.form.text":"Check how other users see your profile","profile.user_edit.form.link":"View here","profile.user_edit.avatar_size_exceeded":"Profile image is too large (max :size Mb)","profile.user_public.title":"Public profile","profile.user_public.details.follower":"Followers","profile.user_public.details.following":"Following","profile.user_public.private_text":"This subscriber\'s profile is private","profile.user_public.button.newest":"Newest","profile.user_public.button.oldest":"Oldest","profile.button.save":"Save","profile.button.send":"Send","profile.button.more":"Show more","profile.button.follow":"Follow","profile.button.unfollow":"Following","profile.button.remove":"Delete","profile.give-away.title":"Items given away","profile.give-away.text":"As an ARA subscriber you can give away 10 items every month to anyone. Go to the item you want to give away and press the button with this icon \'<svg width=\\" 16\\" height=\\"16\\"viewBox=\\"0 0 20 20\\" xmlns=\\"http://www.w3.org/2000/svg\\">\\n <path d=\\"M16. 667 5H14.85c.092-.258.15-.542.15-.833a2.497 2.497 0 00-4.583-1.375L10 3.35l-.417-.567A2.51 2.51 0 007.5 1.667a2.497 2.492-2.05 0 . 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm9.167 12.5H3.333v-1.666h13.334v1.666zm0-4.166H3.333v-5h4.234L5.833 9.025l116.107.3675l175 12.817 10l1.35-.975-1.734-2.358h4.234v5z\\"/>\\n</svg>\'","profile.give-away.give-text":"You have given away <strong>:n of 10</strong> items this month","profile.give-away.give-text-none":"You have not given away any items","profile.give-away.give-text-limit":"<strong>You have reached the limit of 10 articles per month</strong>","profile.give-away.article-expire":"Expires in :n days","profile.give-away.article-expire-tomorrow":"Expires tomorrow","profile.give-away.article-expired":"Giveaway expired","profile.locked.gifts.register.epigraph":"You need to be an ARA subscriber","profile.locked.gifts.register.title":"Subscribe to give away articles","profile.locked.gifts.register.text":"To give full access to a news story to anyone you want, you must have a subscription to ARA.","profile.locked.gifts.subscriber.title":"Exclusive advantage","profile.locked.gifts.subscriber.text":"To give items as gifts you must have an Optimum subscription to the ARA.","profile.locked.comments.register.epigraph":"You need to be an ARA subscriber","profile.locked.comments.register.title":"Subscribe to comment","profile.locked.comments.register.text":"To participate in the debate with comments on the news, you must have a subscription to ARA.","profile.locked.comments.subscriber.title":"Exclusive advantage","profile.locked.comments.subscriber.text":"To comment on the news, you must have an Optimum subscription to ARA","profile.locked.espai.register.epigraph":"You need to be an ARA subscriber","profile.locked.espai.register.title":"Subscribe to have cultural offers","profile.locked.espai.register.text":"To enjoy the cultural and leisure promotions you must have a subscription to the ARA.","profile.item.new":"NEW","snackbar-mail.reminder":"Please check you email and verify your account","snackbar-mail.understand":"Ok","profile.button.followed":"Following","football_direct.stadium":"S","football_direct.referee":"R","football_direct.coach":"C","football_direct.dropdown":"See line-up.","paywall.why-subscribe":"Why to subscribe","comments.subscribe.modal.register.title":"Subscribe to comment","comments.subscribe.modal.register.text":"To participate in the debate with comments on the news, you must have a subscription to ARA.","comments.subscribe.modal.subscriber.title":"Exclusive advantage","comments.subscribe.modal.subscriber.text":"To comment on the news, you must have an Optimum subscription to ARA","comments.subscribe.modal.title":"Subscribe to ARA","comments.subscribe.modal.text":"In order to comment on news, you must have a subscription.","comments.subscribe.modal.button":"Ok","comments.subscribe.modal.button-app":"Subscribe","legal":{"conditions":"Terms and Conditions","privacy":"Privacy"}
2,"archive.archive":"Newspaper Library","description.archive":"The ARA provides you with an archive of all newspapers since its inception. Consult them in PDF and in the digital archive of the website with just one click.","archive.latest-edition":"Latest edition","football_direct.minute":"min","language.available":"Available in","language.code.ca":"cat","language.code.en":"eng","language.code.es":"cast","language.code.de":"ger","language.code.body.ca":"Llegir en Català ","language.code.body.en":"Read in English","language.code.body.es":"Leer en castellano","language.code.body.de":"Auf Deutsch lesen","profile.edition.empty":"No editions available","snackbar.error-message":"","snackbar.error-password-message":"","snackbar.success-update-message":"","404.kicker":"Ups!","404.title":"Sorry, we couldn\'t find the page you\'re looking for","404.subtitle":"Visit our home or keep browsing the menu for some of our content","404.button":"Home","403.kicker":"Wow!","403.title":"This link has expired","403.subtitle":"Visit our homepage or continue browsing through the menu for some of our content","403.button":"Home","subscription":{"hasAnyActiveSubscription":"Do you have an Apple subscription?","mensual":"Active monthly subscription","anual":"Active anual suscription","manage":"Manage your subscription","subscriptionApple":"Apple subscription","subscriptionActive":"Activate"},"date.update":"Act. fa","date.ago":"Fa","date.minute":" min","date.hour":" hour","date.hours":" hours","profile.configuration.general.conditions":"Terms and Conditions","paywall.fold":"Fold","snackbar.error-comment-already-reported":"","userFollowButton.notifications.text":"From now on you will receive an email with the publications.","userFollowButton.notifications.ask-confirmation":"Do you also want to receive notifications on your mobile?","userFollowButton.notifications.activate":"Activate","userFollowButton.notifications.later":"Decide later","userFollowButton.notifications.activated":"Notifications enabled","userFollowButton.notifications.confirm":"Understood","userFollowButton.login-modal.title":"Create an account or log in","userFollowButton.login-modal.text":"To follow topics and authors, you need to have an account or log in.","userFollowButton.login-modal.button":"Log in","userSaveButton.login-modal.title":"Create an account or log in.","userSaveButton.login-modal.text":"To save articles, you need to have an account or log in.","userSaveButton.login-modal.button1":"Create an account","userSaveButton.login-modal.button2":"Log in","mailing.connectWithAra":"Connect with ARA","mailing.info":"This message was generated automatically. If you reply, we won\'t receive your email.","mailing.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.confirmMail.buttonText":"Confirm","mailing.confirmMail.title":"Confirm your email address to enjoy two weeks of unlimited digital access to ARA","mailing.confirmMail.message":"To enjoy the two-week free trial, you need to confirm your email address. This email expires in 24 hours. If you wait longer, youâll need to start over.","mailing.newsletter.alsoInterested":"You may also be interested","mailing.newsletter.araExclusive":"CONTENT EXCLUSIVE FOR SUBSCRIPTORS","mailing.newsletter.backupLink":"If you canât see this message correctly, <a href=\\":url\\" style=\\"color:#0076a8;\\">click here</a>","mailing.newsletter.cancel":"You can also contact our Privacy Office to exercise your rights of access, rectification, deletion (cancellation), portability, limitation or opposition to treatment through the email address: <a href=\\"mailto:[email protected]\\">[email protected]</a>, or consult our <a href=\\"https://www.ara.cat/privacitat.html\\">Privacy Policy</a>.","mailing.newsletter.downloadCurrentEdition":"Download today\'s edition","mailing.newsletter.followedAuthors":"Authors you follow","mailing.newsletter.followedColumns":"Columns you follow","mailing.newsletter.followedTopics":"Topics you follow","mailing.newsletter.mostRead":"Most read","mailing.newsletter.newContents":"New contents","mailing.newsletter.otherAuthors":"Other authors","mailing.newsletter.otherTopics":"Recomended topics","mailing.newsletter.publishedContent.singular":"Has pusblished a new article","mailing.newsletter.publishedContent.plural"
2:"Has pusblished new articles","mailing.newsletter.suggestionTitle":"Defends journalism that causes change.","mailing.newsletter.suggestionTitleFollowedAuthor":"Sigues part de la transformació de Catalunya.","mailing.newsletter.suggestionButton":"Subscribe now","mailing.newsletter.thanksForFollow":"Thank you for following","mailing.newsletter.unsubscribe":"If you would like to stop receiving this ARA newsletter, you can unsubscribe\\n <a href=\\":url\\">here</a>.","mailing.newsletter.unsubscribe.authors":"If you want to stop receiving notifications about this author, you can unsubscribe \\n <a href=\\":url\\">here</a>","mailing.newsletter.unsubscribe.columns":"If you want to stop receiving notifications about this column, you can unsubscribe \\n <a href=\\":url\\">here</a>","mailing.newsletter.unsubscribe.topic":"If you want to stop receiving notifications about this topic, you can unsubscribe \\n <a href=\\":url\\">here</a>","mailing.newsletter.viewAllAuthors":"View all authors","mailing.newsletter.headlinesButton":"Get informed without limits","mailing.newsletter.ara.connect":"Connect with ARA news","mailing.newsletter.ara.cancel":"You can also reach our Privacy Officer to exercise your rights of access, rectification, erasure, restriction of processing, data portability and objection at the following email address: <a href=\\"mailto:[email protected]\\">[email protected]</a>, or consult our <a href=\\"https://en.ara.cat/privacy.html\\"> Privacy Policy</a>","mailing.newsletter.ara.unsubscribe":"If you would like to stop receiving this ARA newsletter, you can unsubscribe <a href=\\":url\\">here</a>","mailing.newsletter.ara.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.newsletter.balears.connect":"Connect with ARA Balears news","mailing.newsletter.balears.cancel":"You can also reach our Privacy Officer to exercise your rights of access, rectification, erasure, restriction of processing, data portability and objection at the following email address: <a href=\\"mailto:[email protected]\\">[email protected]</a>, or consult our <a href=\\"https://en.arabalears.cat/privacy.html\\">Privacy Policy</a>","mailing.newsletter.balears.unsubscribe":"If you would like to stop receiving this ARA Balears newsletter, you can unsubscribe <a href=\\":url\\">here</a>","mailing.newsletter.balears.footer":"Edicions periòdiques ARA Balears, SL. Carrer Tous i Maroto 8 - 1r - 07001 Palma - Illes Balears","mailing.resetPassword.buttonText":"Change password","mailing.resetPassword.greeting":"Hello","mailing.resetPassword.info":"Don\'t worryâforgetting your password happens. Click the button below and choose a new one. Itâs that easy!","mailing.resetPassword.title":"Change your password","notification.topic.singleTopicTitle":"Topic: ","notification.topic.singleTopicMultipleContentsSubtitle":"New contents","notification.topic.multipleTopicTitle":"Topics: New content","notification.column.singleColumnTitle":"Column: ","notification.column.singleColumnMultipleContentsSubtitle":"New contents","notification.column.multipleColumnTitle":"Columns: New content","notification.author.singleAuthorTitle":"Author: ","notification.author.singleAuthorMultipleContentsSubtitle":"New contents","notification.author.multipleAuthorTitle":"Authors: New content","notification.comment.title":"has commented on the same article as you","notification.comment.user.multiple":"and :number more readers","notification.comment.reply.title":"has replied:","notification.comment.mention.title":"has mentioned you in a comment","notification.comment.like.title":"liked your comment","notification.comment.like.multiple.title":"liked your comment","notification.moderation.ok.title":"We have published your comment","notification.moderation.ko.title":"This comment was considered inappropriate","notification.userFollow.title":"New follower","notification.userFollow.message":"started following you","media-info.image":"Photogallery","media-info.graphic":"Graphic","media-info.video":"Video","media-info.audio":"Audio","media-info.interactive":"Interactive","media-info.special":"Special","media-info.story":"Dossier","media-info.poll":"Poll","media-info.test":"Test","media-info.automatic":"Automatic","media-info.streaming":"Live video","common.and":"and","test.start":"Start","test.answers":"Right answers","test.and":"of","test.correct":"Correct","test.check":"Check the results","test.share":"Share the test","test.restart":"Restart","modal.unpaidSubscriber.title":"Your subscription is about to run out","modal.unpaidSubscriber.text":"We were not able to renew your subscription. To continue, you will have to update your payment details.","modal.unpaidSubscriber.buttonText":"Update payment details","modal.unpaidRegistered.title":"Subscription ran out","modal.unpaidRegistered.text":"You no longer have access to content because we were not able to renew your subscription due to an issue with your credit card.","modal.unpaidRegistered.buttonText":"Reactivate your subscription","profile.public.premiumSubscriber":"Premium Subscriber","profile.public.founderSubscriber":"Founder Subscriber","profile.public.premiumFounderSubscriber":"Premium Founder Subscriber","profile.public.numPremiumSubscription":"Premium Subscription Number","profile.public.numSubscription":"Subscription Number","embed-graphic.font":"Font","embed-graphic.graphic":"Graphic","
2seo.capsuleContent.defaultTitle":"You might be interested in","seo.hardcoded.author.description":"Discover all the latest news articles and opinion pieces written by %authorName% for ARA.","seo.hardcoded.author.title":"Articles written by %authorName% | Diari ARA","seo.hardcoded.tag.title":"%tagName%: All the latest breaking news","seo.hardcoded.tag.description":"Find all the news about %tagName%. All the information and the latest updates at ARA.","breu.read-complementary":"Expand the news","breu.read-complementary-link":"here","breu.read-expanded":"read the expanded news","newsletter.title":"Newsletters","newsletter.sign-up":"Sign up","newsletter.sign-up-to":"Sign up for the newsletter :newsletter","newsletter.sign-up-shared":"Sign up to be always informed","newsletter.discover":"Discover them","newsletter.discover-all":"Discover them all","hot-topics.title":"Hot Topics","key-moment.title":"Key moments","give-away.active-title":"Give this item away","give-away.active-subtitle-all":"You have :n items to give away this month.","give-away.active-subtitle-some":"You have :n items left to give away this month.","give-away.active-subtitle-none":"You have used up :n items to give away this month.","give-away.active-subtitle-gifted":"You have given this item away before. Give it back without it counting.","give-away.active-subtitle-link":"More information.","give-away.active-text":"Send the gift:","give-away.no-subscriber-title":"Exclusive benefit for subscribers: Give away items to anyone","give-away.no-subscriber-subtitle":"ARA subscribers can give away 10 items every month to anyone, even non-subscribers.","give-away.no-subscriber-subtitle-link":"More information.","give-away.no-permissions-title":"Your subscription does not allow you to share articles","give-away.no-permissions-subtitle":"Do you want access to this functionality? You can upgrade your rate","give-away.no-permissions-subtitle-link":"here.","give-away.no-permissions-subtitle-button":"Upgrade your plan","give-away.copy":"Copy link","give-away.copied":"Link copied","paywall.remaining-articles":"remaining free articles per read","paywall.remaining-articles-last-day":"Trial period ends today","paywall.remaining-days":"days to end trial","paywall.gift-folded":"This item was gifted to you","paywall.gift-unfolded":"This article is a gift","paywall.read-all.btn":"Read it all","paywall.read-content":"Read content without limits","give-away.mail-subject":"I give you this article |","give-away.twitter-text":"I think this article might interest you. Since I\'m a subscriber to @diariara, I\'m giving it to you. Read it with this link:","favourite-list.title":"Save this article","favourite-list.all":"All articles","favourite-list.create":"Create a new list","favourite-list.create-button":"Create list","favourite-list.list-name":"List Name","favourite-list.save":"Save","favourite-list.edit":"Edit","favourite-list.delete":"Delete","favourite-list.delete-cancel":"Cancel","favourite-list.delete-button":"Delete","favourite-list.delete-title":"Delete list","favourite-list.delete-body":"By deleting this list, you will not delete the articles saved in it. You will have them in your reading list","favourite-list.save-ok":"Saved successfully","favourite-list.create-ok":"List created successfully","favourite-list.collections":"Collections","favourite-list.delete-confirm":"Do you want to delete the item and delete it from all collections?","missingTranslatedVersion":"Content in catalan","taxon.opening.type-topic":"Topic"}'),c=JSON.parse('{"taxon.llista.header":"Neueste Veröffentlichungen","taxon.llista.header-dossier":"Inhalte","taxon.fitxa.tag":"Schlagwort","and":"und","body.view-more":"Klicken und weiterlesen","body.developing":"Wir arbeiten daran, diese Informationen zu erweitern","by":"von","comments.comment.btn":"Kommentieren","comments.deleted":"Dieser Kommentar wurde gelöscht. Er verstöÃt gegen die","comments.deleted-by-author":"Dieser Kommentar wurde vom Verfasser gelöscht.","comments.no-comments":"Noch keine Kommentare. Schreiben Sie den ersten Kommentar zu diesem Inhalt.","comments.no-matches":"Keine Ãbereinstimmung vorhanden","comments.has-new-comments":"Neue Kommentare vorhanden","comments.show-comments":"Kommentieren | 1 Kommentar anzeigen | :n Kommentare anzeigen","comments.num-comments":":n Kommentare","comments.options":"Optionen","comments.newest":"Neue","comments.oldest":"Frühere","comments.create.header":"Kommentiere","comments.create.placeholder":"Sag deine Meinung","comments.create.btn":"Veröffentlichen","comments.featured-author":"Zeitung ARA","comments.founder-author":"Subs. Fundador","comments.premium-author":"Prèmium","comments.founder-premium-author":"Fundador Prèmium","comments.pending-moderation-header":"Kommentieren","comments.pending-moderation-title":"Erhalten.<br>Danke, zusammen gestalten wir ARA!","comments.pending-moderation-text":"Die Nachricht muss noch moderiert werden. Daher kann es etwas dauern, bis sie veröffentlicht wird.","comments.pending-publication-text":"Die Nachricht muss noch veröffentlicht werden. Daher kann es einige Zeit dauern, bis sie veröffentlicht wird.","comments.pending-moderation-button":"Einverstanden","comments.lock-user-header":"Diesen Benutzer sperren","comments.lock-user-result-title":"Sie haben den Benutzer<br>:nick blockiert.","comments.lock-user-result-text":"Sie können es jederzeit über diesen :link freischalten.","comments.lock-user-title":"Bist du sicher, dass du diesen Benutzer<br>blockieren möchtest?","comments.lock-user-text":"Du wirst alle seine Kommentare nicht mehr sehen. Du kannst ihn jederzeit über :link wieder entsperren.","comments.lock-user-text.profile-link-text":"deinem Profil","comments.lock-user-button":"Sperren","comments.unlock-user-header":"Diesen Benutzer entsperren","comments.unlock-user-title":"Möchten Sie diesen Benutzer<br>wirklich entsperren?","comments.unlock-user-text":"Danach können Sie alle seine Kommentare wieder anzeigen","comments.unlock-user-button":"Entsperren","comments.unlocked-user-header":"Diesen Benutzer entsperren","comments.unlocked-user-title":"Sie haben folgenden Benutzer entsperrt:<br>:nick","comments.unlocked-user-text":"Sie können ihn jederzeit wieder sperren.","comments.unlocked-user-button":"Einverstanden","comments.unlock-user-result-header":"Hört auf, zum Schweigen zu bringen","comments.unlock-user-result-title":"Sie haben die Stummschaltung des Benutzers<br>:nick aufgehoben.","comments.unlock-user-result-text":"","comments.unlock-user-result-button":"Einverstanden","comments.report-comment-header":"Kommentar melden","comments.report-comment-title":"Geben Sie den Grund für die Meldung an","comments.report-comment-button":"Senden","comments.reported-comment-header":"Kommentar melden","comments.reported-comment-title":"Erhalten.<br>Danke, zusammen gestalten wir ARA!","comments.reported-comment-text":"Wir prüfen den Kommentar, löschen ihn aber nur, wenn er gegen die :link verstöÃt.","comments.reported-comment-text-link-text":"Community-Richtlinien","comments.reported-comment-button":"Einverstanden","comments.delete.btn":"Lösche ihn","comments.delete-comment-header":"Kommentar löschen","comments.delete-comment-title":"Möchten Sie den Kommentar<br>wirklich löschen?","comments.delete-comment-text":"Der Kommentar wird vollständig entfernt.","comments.delete-comment-replies":"Auch alle Antworten werden gelöscht.","comments.delete-comment-button":"Löschen","comments.deleted-comment-header":"Kommentar löschen","comments.deleted-comment-title":"Sie haben den Kommentar gelöscht","comments.deleted-comment-button":"Einverstanden","comments.notifyMe":"Ich möchte über neue Kommentare informiert werden","comments.open-replies":"Ganze Unterhaltung anzeigen","comments.community-rules-notice":"Die Kommentare werden von Abonnenten moderiert. Details findest du in den","comments.community-rules-notice.link-text":"Community-Richtlinien","comments.thread.header":"Unterhaltung","comments.thread.btn":"Diesen Thread kommentieren","comments.user-locked":"Du hast diesen Benutzer stummgeschaltet. Hebe die Stummschaltung auf, um alle seine Kommentare wieder zu sehen.","comments.modal.bannedButton":"EINVERSTANDEN","comments.modal.bannedTitle":"Nicht zulässige Kommentare, da sie gegen die <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'Community-Richtlinien\' target=\'_blank\'>Community-Richtlinien</a> verstoÃen","comments.modal.bannedText":"Nicht zulässige Kommentare, da sie gegen die <a href=\\"https://www.ara.cat/normes_participacio.html\\" title=\'Community-Richtlinien\' target=\'_blank\'>Community-Richtlinien</a> verstoÃen","comments.modal.permissionTitle":"Im Rahmen Ihres Abonnements können Sie keine Kommentare veröffentlichen.","comments.modal.permissionText":"Stufen Sie Ihr Abonnement hoch, um Nachrichten zu kommentieren.","comments.modal.options.lock-user":"Diesen Benutzer stummschalten","comments.modal.options.unlock-user":"Stummschaltung dieses Benutzers aufheben","comments.modal.options.user-profile":"Profil des Benutzers besuchen","comments.modal.options.follow-user":"Dem Benutzer folgen","comments.modal.options.unfollow-user":"Dem Benutzer nicht mehr folgen","comments.modal.options.report":"Kommentar melden","comments.modal.options.reported":"Du hast den Kommentar gemeldet","comments.bt
2n.reply":"Antworten","comments.btn.report":"Melden","comments.btn.reported":"Gemeldet","story.story":"Dossier","story.unfold":"Erweitern","story.fold":"Reduzieren","story.next":"Weiter","story.previous":"Zurück","story.button":"Zum INDEX","downloads.downloads":"Downloads","header.author.column":"Meine Kolumne","header.author.columns":"Meine Kolumnen","header.close":"SchlieÃen","header.login":"Anmelden","header.login-short":"Anmelden","header.login-app":"Weiter","header.menu":"Menü","header.register":"Registrieren","header.subscribe":"Abonnieren","header.search":"Suchen","header.edition":"Ausgabe","header.paper-edition":"Druckausgabe","header.paper-edition-mobile":"Druckausgabe PDF","header.archive":"Zeitungsarchiv","header.language":"Sprache","header.followAuthors":"Kommentatoren, denen Sie folgen","menu.home":"Titelseite","title.mateix":"Neueste Nachrichten und Eilmeldungen | Zeitung ARA","description.mateix":"In der Zeitung ARA finden Sie aktuelle und besonders interessante Nachrichten Lesen Sie kostenlos im Minutentakt aktualisierte Eilmeldungen.","menu.mateix":"Eilmeldungen","menu.discover":"Entdecken","title.discover":"Aktuelle Reportagen, Artikel und Kritiken | Zeitung ARA","menu.authors":"Autoren","menu.topics":"Themen","menu.search":"Suche","menu.sections":"Ressorts","menu.profile":"Profil","menu.games":"Spiele","actionbar.comment":"Kommentare","actionbar.save":"Speichern","actionbar.share":"Teilen","actionbar.email":"E-Mail-Adresse","actionbar.share-on":"Teilen auf","actionbar.close":"SchlieÃen","actionbar.follow-us-google.long":"Füge uns bei Google hinzu","actionbar.follow-us-google.short":"Füge uns hinzu","actionbar.give-away":"Diesen Artikel verschenken","actionbar.give-away-tooltip":"Verschenken","components.load-more":"Mehr anzeigen","components.search":"Suche","content.minutes":"min|min","content.back-to-mateix":"Alle Eilmeldungen anzeigen","content.followers":"Live-Follower|Live-Follower","content.live":"Live","content.newest":"Neue","content.oldest":"Frühere","content.blog":"Blog","content.images":"Bild|Bilder","content.views":"Visualisierung|Visualisierungen","content.participants":"Teilnehmer|Teilnehmer","content.breakingNews":"Eilmeldungen","content.verified":"Geprüfte Ãbersetzung","content.automatic":"Nicht verifizierte Ãbersetzung","content.exclusive":"Exklusivbericht","content.breadcrumbs-exclusive":"Exklusive","content.scoop":"Scoop","content.audio-locution.listen":"Hör es dir an","content.audio-locution.pause":"Pause","content.audio-locution.subscriber-only.title":"Abonniere, um zuzuhören","content.audio-locution.subscriber-only.text":"Um Artikel als Audio anzuhören, benötigst du ein Abonnement.","live.live":"Live","live.new-publications":"Es sind neue Veröffentlichungen vorhanden","live.filters":"Filter","live.erase":"Löschen","live.set-filters":"Filter anwenden","live.exclusive":"Exklusivbericht","live.last-hour":"Eilmeldungen","live.yesterday":"Gestern","football-event":{"info":"Ereignis","shootPost":"Pfostenschuss","goal":"Tor","ownGoal":"Eigentor","disallowedGoal":"Annulliertes Tor","foul":"Foul","handBall":"Handspiel","penalty":"Elfmeter","penaltyMissed":"Elfmeter verschossen","penaltyGoal":"Elfmetertor","shootFailed":"Verschossen","yellowCard":"Gelbe Karte","doubleYellowCard":"Zwei gelbe Karten","redCard":"Rote Karte","playerEjected":"Vom Platz gestellt","playerInjured":"Verletzung","playerSubstituted":"Auswechselung","throwIn":"Einwurf","cornerKick":"Ecke","goalKick":"AbstoÃ","kickOff":"AnstoÃ","firstExtraTimeStart":"Verlängerung","matchFinished":"Abpfiff","offside":"Abseits","blooper":"Fehlschuss","goalSaved":"Gehalten","refereeingControversy":"Diskussion mit dem Schiedsrichter"},"mateix.ara-mateix":"Eilmeldungen","mateix.see-ara-mateix":"Alle Eilmeldungen anzeigen","discover.discover":"Entdecken","searcher.no-results":"Leider hat Ihre Suche keine Ergebnisse erbracht. Versuchen Sie es erneut.","searcher.newest":"Neue","searcher.oldest":"Frühere","searcher.number-of-results":"Keine Ergebnisse | 1 Ergebnis | :n Ergebnisse","searcher.publication-date":"Veröffentlichungsd
2atum","searcher.type":"Art","archive.no-results":"Leider hat Ihre Suche keine Ergebnisse erbracht. Versuchen Sie es erneut.","archive.newest":"Neue","archive.oldest":"Frühere","archive.number-of-results":"Keine Ergebnisse | 1 Ergebnis | :n Ergebnisse","archive.publication-date":"Veröffentlichungsdatum","archive.edition":"Ausgabe","archive.publication":"Beilagen","archive.today-edition":"Heutige Ausgabe","archive.previous-editions":"Frühere Ausgaben","archive.see-more":"Mehr anzeigen","archive.modal.register.title":"Zugriff auf die PDF-Ausgabe","archive.modal.register.text":"Lesen Sie diese Ausgabe als PDF für nur :_price_ ⬠oder abonnieren Sie sie und erhalten Sie unbegrenzten Zugriff auf alle Ausgaben. GenieÃen Sie auÃerdem alle Vorteile eines Abonnenten.","archive.modal.register.button1":"Kaufen Sie diese Ausgabe für :_price_ â¬","archive.modal.register.button2":"abonnieren","archive.modal.subscriber.title":"Exklusiver Vorteil","archive.modal.subscriber.text":"Für den Zugriff auf die Zeitung im PDF-Format benötigen Sie ein Optimum-Abonnement für ARA.","archive.modal.button":"Abonnieren","archive.modal.permissionTitle":"Im Rahmen Ihres Abonnements haben Sie keinen Zugriff auf das Zeitungsarchiv","archive.modal.permissionText":"Stufen Sie Ihr Abonnement hoch, um Zugriff auf alle Inhalte zu erhalten","archive.modal.permissionButton":"Abonnement hochstufen","archive.all":"Alle","filters.filters":"Filter","filters.remove":"Löschen","filters.apply":"Filter anwenden","filters.start":"Anfang","filters.end":"Ende","poll.poll-result-title":"Vielen Dank für Ihre Teilnahme!","poll.poll-result-text":"Wenn Ihnen die Umfrage gefallen hat, teilen Sie sie mit Ihren Freunden","poll.inactive":"Die Umfrage ist nicht mehr aktiv","poll.share-it":"Umfrage teilen","poll.vote":"Abstimmen","poll.show-results":"Ergebnisse anzeigen","poll.hide-results":"Ergebnisse ausblenden","poll.votes":"Stimme|Stimmen","poll.poll":"Umfrage","recirculation.content-developed":"Inhalt erstellt von","recirculation.promo-message.ara":"Unterstützen Sie Qualität und gründliche Recherchen. Zusammen gestalten wir ARA.","recirculation.promo-message.balears":"Unterstützen Sie Qualität und gründliche Recherchen. Zusammen gestalten wir ARA Balears.","recirculation.contribute":"Beitragen","recirculation.notify":"Melden Sie es uns,","recirculation.detect-error":"wenn Sie einen Fehler finden","recirculation.more-about":"Mehr zu dem Thema","recirculation.more-about-prefix":"Mehr zu dem Thema","recirculation.more-about-section":"Mehr aus dem Ressort","recirculation.most-famous":"Am beliebtesten","recirculation.see-more":"Mehr anzeigen","recirculation.most-popular":"Am häufigsten aufgerufen","recirculation.most-viewed":"Meistkommentiert","recirculation.breu-text":"Die neuesten Meldungen anzeigen.","recirculation.breu-link":"Los","elements.author-question":"Die Frage des Autors","elements.read":"Lesen Sie","elements.more":"mehr","elements.less":"weniger","elements.following":"Ich folge","elements.follow":"Folgen","elements.follow-column":"Der Kolumne folgen","elements.follow-me":"Mir folgen","elements.follow-topic":"Dem Thema folgen","elements.follow-topic-new":"Dem Thema folgen","elements.search":"Suche","elements.loading":"Ladevorgang läuft","validation.required-text":"Pflichttext","validation.invalid-text":"Ungültiger Text","validation.invalid-date":"Inkorrekte Daten","validation.required-selection":"Pflichtauswahl","validation.invalid-selection":"Ungültige Auswahl","validation":{"alpha":"Das Feld :_field_ darf nur Buchstaben enthalten","alpha_num":"Das Feld :_field_ darf nur Buchstaben und Zahlen enthalten","alpha_dash":"Das Feld :_field_ darf nur Buchstaben, Zahlen und Bindestriche enthalten","alpha_spaces":"Das Feld :_field_ darf nur Buchstaben und Leerzeichen enthalten","between":"Das Feld :_field_ muss zwischen :min und :max liegen","confirmed":"Das Feld :_field_ stimmt nicht mit dem Feld :target überein","digits":"Das Feld :_field_ muss numerisch sein und genau :length Zeichen enthalten","dimensions":"Das Feld :_field_ muss :width Pixel breit und :height Pixel hoch sein","email":"Das Feld :_field_ muss eine gültige E-Mail-Adresse sein","excluded":"Das Feld :_field_ muss ein gültiger Wert sein","ext":"Das Feld :_field_ muss eine gültige Datei sein","image":"Das Feld :_field_ muss ein Bild sein","max_value":"Das Feld :_field_ muss :max oder kleiner sein","max":"Das Feld :_field_ darf nicht länger als :length Zeichen sein","mimes":"Das Feld :_field_ muss ein gültiger Dateityp sein","min_value":"Das Feld :_field_ muss :min oder gröÃer sein","min":"Das Feld :_field_ muss mindestens :length Zeichen lang sein","numeric":"Das Feld :_field_ darf nur numerische Zeichen enthalten","oneOf":"Das Feld :_field_ muss ein gültiger Wert sein","regex":"Das Format des Felds :_field_ ist ungültig","required":"Das Feld :_field_ ist erforderlich","required_if":"Das Feld :_field_ ist erforderlich","size":"Das Feld :_field_ muss unter :size KB sein","password":"Verwenden Sie mindestens 8 Zeichen mit GroÃ- und Kleinbuchstaben und Zahlen"}
2,"customValidation":{"email":{"invalid":"Bitte gib eine gültige E-Mail-Adresse ein","required":"Die E-Mail-Adresse ist erforderlich","EMAIL_ALREADY_IN_USE":"Die E-Mail-Adresse wird bereits verwendet"},"password":{"confirmed":"Gib in beiden Feldern dasselbe Passwort ein"},"name":{"required":"Der Name ist erforderlich","regex":"Das Format des Felds ist ungültig","max":"Das Feld „Vorname“ darf nicht länger als 80 Zeichen sein","PUBLICNICK_ALREADY_IN_USE":"Der Nickname wird bereits verwendet"},"surname":{"required":"Der Nachname ist erforderlich","regex":"Das Format des Felds „Nachname“ ist ungültig","max":"Das Feld „Nachname“ darf nicht länger als 80 Zeichen sein"},"birthdate":{"required":"Das Geburtsdatum ist erforderlich"},"phoneNumber":{"invalid":"Falsche Telefonnummer"},"message":{"required":"Die Nachricht ist erforderlich"},"nick":{"INVALID_FIELD":"Der Nickname wird bereits verwendet"},"old_password":{"INVALID_FIELD":"Falsches Kennwort"}},"fields":{"email":"E-Mail-Adresse","password":"Kennwort","new-password":"Neues Kennwort","confirm-password":"Kennwort bestätigen","phoneNumber":"Telefonnummer","birthDate":"Geburtsdatum"},"footer.title":"Freier und engagierter Journalismus, um gut informiert zu sein","footer.subscribe":"ABONNIEREN","footer.partners":"Mitarbeiter","mosaic.header.topic-see-more":"Mehr zu diesem Thema","mosaic.header.see":"Mehr","mosaic.header.more":"anzeigen","mosaic.header.exclusive":"Exklusivbericht","mosaic.header.more-news":"Weitere Nachrichten","mosaic.swipe.more":"Mehr anzeigen","modal.title":"Zwischenüberschrift","modal.button":"OK","snackbar.close":"SchlieÃen","forecast.imagePrevision.alt":"Vorhersage für","authors.carousel.more":"mehr","alert.title":"Eilmeldungen","register.step-1.btn":"Konto erstellen","register.step-1.email.hint":"Ein neues Konto wird erstellt","register.step-1.help":"Hast du bereits ein Konto?","register.step-1.subtitle":"Erstelle ein Passwort","register.step-1.title":"Konto erstellen","register.step-2.btn":"Daten speichern","register.step-2.subtitle":"Vervollständige deine Daten","register.step-3.btn":"OK","register.step-3.help":"E-Mail nicht erhalten?","register.step-3.help-link":"Erneut senden","register.step-3.help-link-max-attempts":"Du findest die Aktivierungs-E-Mail nicht? Ãberprüfe deinen Spam-Ordner. Wenn das Problem weiterhin besteht, <a href=\\":url\\">kontaktiere uns</a>","register.step-3.subtitle":"Ãberprüfe deine E-Mails, um dein Konto zu bestätigen und ARA zu nutzen","register.step-3.title":"Konto erstellt!","register.name":"Vorname","register.email":"E-Mail-Adresse","register.email-text":"Die E-Mail-Adresse dient für Ihren Zugriff auf ARA. Sie wird nicht öffentlich angezeigt.","register.privacy-text":"Mit jeder Art Registrierung akzeptieren Sie die <a href=\':url\' title=\'Datenschutzrichtlinie\' target=\'_blank\'>Datenschutzrichtlinie</a> von ARA","register.are-from-ara":"Sind Sie schon Abonnent bei ARA?","register.access":"Anmelden","register.surname":"Nachnamen","login.access.btn":"Anmelden","login.access.title":"Willkommen zurück, :userName","login.access-1":"Melde dich an oder erstelle ein Konto","login.active-session.btn":"Melden Sie sich ab und wechseln Sie das Konto","login.active-session.cancel":"Jetzt nicht, zurück zu ARA","login.active-session.description":"Um sich mit einem anderen Konto anzumelden, müssen Sie zuerst die aktuelle Sitzung beenden.","login.active-session.hint-with-subscription":"Sie haben sich mit diesem Konto angemeldet, aber wir haben kein aktives Abonnement gefunden","login.active-session.hint-no-subscription":"Sie haben sich mit diesem Konto angemeldet, das ein aktives Abonnement hat.","login.active-session.title":"Mit einem anderen Konto anmelden","login.subtitle":"Sie haben bereits ein Konto mit dieser E-Mail-Adresse erstellt. Geben Sie Ihr Kennwort ein:","login.google":"Mit Google anmelden","login.facebook":"Mit Facebook anmelden","login.apple":"Mit Apple anmelden","login.or":"oder","login.and":"von","login.continue":"Mit E-Mail anmelden","login.help-for-login":"Brauchst du Hilfe beim Anmelden?","login.email.action":"Bearbeiten","login.password":"Passwort","login.password.show":"Anzeigen","login.password.hide":"Ausblenden","login.forgot-password":"Kennwort vergessen?","login.recover-password":"Passwort zurücksetzen","login.recover-password-text":"Gib deine E-Mail-Adresse ein und wir senden dir einen Link, um dein Passwort zurückzusetzen.","login.send":"Senden","login.recovery-password-sent.title":"Ãberprüfe deinen Posteingang","login.recovery-password-sent.body":"Wir haben dir eine E-Mail mit einem Link zum Zurücksetzen deines Passworts gesendet.<br><br>
2Wenn du sie nicht bald erhältst, lies diesen Artikel:","login.recovery-password-sent.footer":"Ich erinnere mich nicht an mein Passwort","login.change-password.title":"Erstelle ein neues Passwort","login.error-title":"Wir können nicht auf das Konto zugreifen. Ãberprüfen Sie die E-Mail-Adresse und das Kennwort und versuchen Sie es erneut.","login.blocked-account.title":"Reaktivieren Sie Ihr Konto","login.blocked-account.subtitle":"Ihr Konto ist vorübergehend gesperrt, da Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Senden Sie sich einen neuen Link an :email, um wieder Zugriff zu erhalten.","login.blocked-account.btn":"Neuen Link senden","login.blocked-account.resent-notice":"Wir haben Ihnen die E-Mail zur Bestätigung Ihres Kontos erneut gesendet","login.blocked-account.confirm.title":"Bestätigen Sie Ihre E-Mail-Adresse","login.blocked-account.confirm.subtitle":"Wir haben einen Bestätigungslink an :email gesendet. Ãffnen Sie ihn, um Ihr Konto zu aktivieren.","login.blocked-account.confirm.btn":"Ich habe die E-Mail bereits bestätigt","welcome.data.complete":"Deine Telefonnummer und Postleitzahl wurden erfolgreich gespeichert","welcome.step-1.fields.phoneNumber":"Telefon","welcome.step-1.help":"Wir geben Ihre Daten nicht an Dritte weiter","welcome.step-1.subtitle":"Erhalte Angebote und Veranstaltungen in deiner Nähe.<br>Füge deine Telefonnummer und Postleitzahl hinzu","welcome.step-1.title":"Glückwunsch, :userName!<br>Du bist jetzt Teil von ARA","welcome.step-2.complete":"Ihre Telefonnummer und Ihre Postleitzahl wurden korrekt gespeichert","welcome.send":"Senden","welcome.later":"Später","welcome.postalCode":"Postleitzahl","welcome.need-validate":"Für den Zugriff auf Ihr Konto müssen Sie die E-Mail-Adresse validieren.","welcome.send-validate":"Validierungs-E-Mail erneut senden","welcome.go-to-home":"Fangen Sie an zu lesen!","welcome.email-send":"E-Mail korrekt gesendet","welcome.email-verify":"Um die kostenlose Testphase zu nutzen, bestätige deine E-Mail-Adresse","password.password-help-text":"Verwenden Sie eine beliebige Kombination aus mindestens 8 Zeichen.","password.password-saved":"Perfekt! Du hast dein Passwort erfolgreich geändert","password.go-to-home":"Zurück zur ARA","password.send":"Senden","password.title":"Ãndere dein Passwort","profile.columns.title":"Kolumnen","profile.columns.followingsempty":"Derzeit folgen Sie keiner Kolumne","profile.columns.followings.title":"Ich folge","profile.columns.suggestions.title":"Vorschläge","profile.deleteAccount.title":"Meine Daten löschen","profile.deleteAccount.goBack":"Zurück","profile.deleteAccount.deleteAccount":"Mein Konto löschen","profile.deleteAccount.registeredText":"Sie sind im Begriff, die Daten Ihres Kontos dauerhaft zu löschen. <strong>Wir löschen:</strong><ul><li>⢠Ihre gespeicherten Artikel</li><li>⢠Die Kommentare, die Sie geschrieben und erhalten haben</li><li>⢠Die Autoren, Leser und Themen, denen Sie folgen</li><li>⢠Die Liste Ihrer Follower</li><li>⢠Ihre personenbezogenen Daten</li></ul>Beachten Sie, dass diese Daten nicht wieder hergestellt werden können.","profile.deleteAccount.subscriberText":"Um die Daten Ihres Kontos löschen zu können, m
2üssen Sie zuerst Ihr Abonnement bei ARA kündigen. Schreiben Sie an [email protected] oder rufen Sie uns an: +34 93 275 11 10","profile.register.title":"Profil","profile.register.button.card_suscription":"ARA-Karte","profile.register.is-subscriber":"Bereits Abonnent? <a href=\\":url\\">Auf dein Konto zugreifen</a>","profile.seguint.title":"Ich folge","profile.suscriptor.title":"Profil","profile.suscriptor.details.edit":"Bearbeiten","profile.suscriptor.details.public":"Ãffentliches Profil","profile.suscriptor.details.private":"Privates Profil","profile.suscriptor.details.follower":"Follower","profile.suscriptor.details.following":"Ich folge","profile.suscriptor.button.card_suscription":"Abonnentenkarte","profile.suscriptor.button.configuration":"Konfiguration und Datenschutz","profile.suscriptor.button.help":"Helfen","profile.suscriptor.button.columnes":"Kolumnen","profile.suscriptor.button.comments":"Kommentare","profile.suscriptor.button.invite_friend":"Einen Freund einladen","profile.suscriptor.button.notifications":"Benachrichtigungen","profile.suscriptor.button.outlets":"Verkaufsstellen","profile.suscriptor.button.premium_club":"Premium-Club","profile.suscriptor.button.premium_copy":"Premium werden","profile.suscriptor.button.premium_copy_header":"ð ARA verschenken","profile.suscriptor.button.premium_upgrade":"IHR ABONNEMENT VERBESSERN","profile.suscriptor.button.saves":"Gespeichert","profile.suscriptor.button.seguint":"Ich folge","profile.suscriptor.button.signs":"Autoren","profile.suscriptor.button.subscriptor_space":"Abonnentenbereich","profile.suscriptor.button.readers":"Leser","profile.suscriptor.button.themes":"Themen","profile.suscriptor.button.shop":"Shop","profile.suscriptor.button.subscribe":"Abonnieren","profile.suscriptor.button.subscription":"Abonnement","profile.suscriptor.is-premium-subscriber":"Bereits Mitglied des Premium-Clubs? <a href=\\":url\\">Auf dein Konto zugreifen</a>","profile.anonymous.text":"Melde dich an oder erstelle ein Konto, um auf Inhalte zuzugreifen","profile.anonymous.create":"Konto erstellen","profile.anonymous.access":"Anmelden","profile.anonymous.link":"Ihre Einkäufe bei Apple wiederherstellen","profile.anonymous.forceLink":"Wiederherstellung der Käufe bei Apple erzwingen","profile.notifications.title":"Benachrichtigungen","profile.notifications.latest.title":"Neue","profile.notifications.history.title":"Letzte Tage","profile.notifications.empty":"Keine Benachrichtigung vorhanden","profile.saves.title":"Gespeichert","profile.saves.week.title":"Diese Woche","profile.saves.month.title":"Diesen Monat","profile.saves.year.title":"Dieses Jahr","profile.saves.lastyear.title":"2019","profile.saves.oldyears.title":"201X","profile.saves.empty":"Kein Artikel gespeichert","profile.saves.remember":"Sie können Inhalte speichern, die Sie besonders interessant finden. Klicken Sie neben den betreffenden Inhalten auf „Speichern“.","profile.comments.titleSingular":"Kommentar","profile.comments.titlePlural":"Kommentare","profile.comments.empty":"Kein Kommentar vorhanden","profile.comments.remember":"Sie können Inhalte kommentieren, die Sie besonders interessant finden. Klicken Sie neben den betreffenden Inhalten auf „Kommentieren“.","profile.comments.relation.content":"Du hast kommentiert","profile.comments.relation.reply":"Du hast geantwortet auf","profile.comments.showLikes":"Anzeigen","profile.commentLikes.title":"Likes","profile.commentLikes.empty":"Der Kommentar hat keine Likes erhalten","profile.readers.title":"Leser","profile.readers.followers":"Follower","profile.readers.followings":"Ich folge","profile.readers.suggestions.title":"Vorschläge","profile.readers.followersempty":"Derzeit haben Sie keine Follower","profile.readers.followingsempty":"Derzeit folgen Sie keinem Benutzer","profile.readers.followersremember":"Wir freuen uns, wenn Sie an der ARA-Community teilnehmen, indem Sie Inhalte kommentieren und bereichern. Danke!","profile.signs.title":"Autoren","profile.signs.suggestions.title":"Vorschläge","profile.signs.followings.title":"Ich folge","profile.signs.followingsempty":"Derzeit folgen Sie keinen Autoren","profile.themes.title":"Themen","profile.themes.followings.title":"Ich folge","profile.themes.suggestions.title":"Vorschläge","profile.themes.followingsempty":"Derzeit folgen Sie keinem Thema","profile.configuration.title":"Konfiguration und Datenschutz","profile.configuration.account.title":"Persönliches Konto","profile.configuration.account.data":"Daten","profile.configuration.account.password":"Kennwort","profile.configuration.account.subscription":"Abonnement","profile.configuration.account.subscription_ios":"Apple-Abonnement","profile.configuration.account.bulletin":"Newsletter und E-Mails","profile.configuration.custom.title":"Personalisierung","profile.configuration.custom.edition":"Ausgabe wechseln","profile.configuration.custom.notifications_config":"Benachrichtigungen","profile.configuration.custom.visualization":"Visualisierung","profile.configuration.custom.downloads":"Downloads verwalten","profile.configuration.custom.darkmode":"Dunkler Modus","profile.configuration.general.title":"Allgemein","profile.configuration.general.data":"Datennutzung","profile.configuration.general.about_us":"Ãber uns","profile.configuration.general.consent":"Zustimmungseinstellungen","profile.configuration.button.close":"Sitzung schlieÃen","profile.contact.title":"Kontakt","profile.contact.label.name":"Vor- und Nachname","profile.contact.label.message":"Welche Fragen haben Sie?","profile.contact.content.title":"Haben Sie Fragen?","profile.contact.content.text1":"Rufen Sie uns von Montag bis Freitag von 9 bis 14 Uhr unter der Nummer +34 93 275 11 10 an.","profile.contact.content.text2":"Sie können uns Ihre Frage auch senden, indem Sie dieses Formular ausfüllen. Wir werden uns dann umgehend mit Ihnen in Verbindung setzen:","profile.contact.content.conditions":"Indem Sie auf die Schaltfläche „Senden“ klicken, akzeptieren Sie die Geschäftsbedingungen und die Datenschutzrichtlinie von ARA","profile.contact.button.send":"Senden","profile.faqs.title":"Häufig gestellte Fragen","profile.data.title":"Daten","profile.data.content.title":"Personenbezogene Daten","profile.data.content.subtitle":"Diese Daten sind privat und werden nie öffentlich angezeigt","profile.data.form.name.label":"Vorname","profile.data.form.surname.label":"Nachname","profile.data.form.gender.label":"Geschlecht","profile.data.form.gender.male":"Männlich","profile.data.form.gender.female":"Weiblich","profile.data.form.date.label":"Geburtsdatum","profile.data.form.email.label":"E-Mail-Adresse","profile.bulletin.title":"Newsletter und E-Mails","profile.bulletin.form.title":"Konfigurieren Sie die Benachrichtigungen, die Sie per E-Mail erhalten möchten","profile.bulletin.form.language.title":"Sprache","profile.bulletin.form.language.text":"Wählen Sie die Sprache aus, in der Sie die E-Mails erhalten möchten","profile.bulletin.form.language.ca":"Katalanisch","profile.bulletin.form.language.es":"Spanisch","profile.bulletin.form.language.en":"Englisch","profile.bulletin.form.content.title":"Inhalt","profile.bulletin.form.content.text":"Ich möchte die wichtigsten Nachrichten des Tages und besonders interessante Artikel erhalten.","profile.bulletin.form.content.button":"Inhalt verwalten","profile.bulletin.form.news.title":"Neuheiten","profile.bulletin.form.news.text":"Ich möchte Benachrichtigungen zu den verfügbaren Werbeaktionen erhalten.","profile.bulletin.form.news.button":"Neuheiten verwalten","profile.bulletin.form.space.label":"Abonnentenbereich","profile.bulletin.form.space.text":"Ich möchte Benachrichtigungen zu den Neuheiten erhalten.","profile.bulletin.form.advices.label":"Benachrichtigungen","profile.bulletin.form.advices.text":"Ich möchte benachrichtigt werden, wenn Aktivitäten oder Neuheiten vorliegen.","profile.bulletin.form.all.label":"Alles deaktivieren","profile.darkmode.title":"Dunkler Modus","profile.darkmode.form.mode.dark":"Dunkler Modus","profile.darkmode.form.mode.light":"Clear Modus","profile.darkmode.form.mode.device":"Laut Gerät","profile.darkmode.form.text":"Wir werden das Erscheinungsbild auf der Grundlage der Konfiguration Ihres Geräts anpassen","profile.edition.title":"Ausgabe wechseln","profile.edition.form.edition.label1":"Katalonien","profile.edition.form.edition.label2":"Balearen","profile.notifications_config.title":"Benachrichtigungen","profile.notifications_config.form.title":"Wählen Sie, welche Audiobenachrichtigungen Sie erhalten möchten, um dem für Sie interessantesten Thread zu folgen:","profile.notifications_config.form.current.label":"Aktuelles","profile.notifications_config.form.current.text":"Sammlung aktueller Nachrichten und interessanter Artikel","profile.notifications_config.form.topics.label":"Themen","profile.notifications_config.form.topics.text":"Tägliche Benachrichtigung zu Neuheiten bei allen Themen, denen ich folge","profile.notifications_config.form.authors.label":"Autoren","profile.notifications_config.form.authors.text":"Tägliche Benachrichtigung zu Neuheiten bei allen Autoren, denen ich folge","profile.notifications_config.form.columns.label":"Kolumnen","profile.notifications_config.form.columns.text":"Tägliche Benachrichtigung zu Neuheiten bei allen Kolumnen, denen ich folge","profile.notifications_config.form.comments.label":"Kommentare","profile.notifications_config.form.comments.text":"Benachrichtigung über neue Kommentare zu einer Nachricht, die ich zuvor kommentiert habe","profile.notifications_config.form.mentions.label":"Antworten und Erwähnungen","profile.notifications_config.form.mentions.text":"Benachrichtigung über Erwähnungen und Antworten für meine Kommentare","profile.notifications_config.form.readers.label":"Leser","profile.notifications_config.form.readers.text":"Benachrichtigung, wenn ein Leser mir zu folgen beginnt","profile.notifications_config.form.all.label":"Alles deaktivieren","profile.password.title":"Kennwort","profile.password.content.title":"Kennwort ändern","profile.password.form.old_password.label":"Aktuelles Kennwort","profile.password.form.old_password.remember":"Kennwort vergessen?","profile.password.form.new_password.hint":"Verwenden Sie eine beliebige Kombination aus mindestens 8 Zeichen.","profile.visualization.title":"Visualisierung","profile.visualization.content.title":"GröÃe des Textkörpers","profile.visualization.content.dark_mode.label":"Dunkler Modus","profile.visualization.content.example.title":"Beispiel","profile.visualization.content.example.text":"Fischers Fritz fischt frische Fische. Frische Fische fischt Fischers Fritz.","profile.downloads.title":"Downloads verwalten","profile.downloads.content.title":"Downloads PDF-Druckausgabe","profile.downloads.content.text":"Immer, wenn Sie eine PDF-Datei der Druckausgabe speichern, belegt sie Speicherplatz auf Ihrem Gerät.","profile.downloads.content.button":"Alle Downloads löschen","profile.user_edit.title":"Profil bearbeiten","profile.user_edit.form.visible.label":"Für alle Benutzer sichtbare Daten","profile.user_edit.form.visible.text":"Wenn Sie diese Option aktivieren, können alle Benutzer die Daten des öffentlichen Profils anzeigen.","profile.user_edit.form.name.help":"Dies ist der Name, der öffentlich angezeigt wird","profile.user_edit.form.name.label":"Benutzername","profile.user_edit.form.name.description":"Beschreibung","profile.user_edit.form.text":"Prüfen Sie, wie Ihr öffentliches Profil anderen Benutzern angezeigt wird.","profile.user_edit.form.link":"Hier visualisieren","profile.user_edit.avatar_size_exceeded":"Das Profilbild ist zu groà (maximal :size MB)","profile.user_public.title":"Ãffentliches Profil","profile.user_public.details.follower":"Follower","profile.user_public.details.following":"Ich folge","profile.user_public.private_text":"Dieser Abonnent hat sein Profil im privaten Modus festgelegt","profile.user_public.button.newest":"Neue","profile.user_public.button.oldest":"Frühere","profile.button.save":"Speichern","profile.button.send":"Senden","profile.button.more":"Mehr anzeigen","profile.button.follow":"Folgen","profile.button.unfollow":"Ich folge","profile.button.remove":"Löschen","profile.give-away.title":"Verschenkte Artikel","profile.give-away.text":"Als Abonnent von ARA können Sie monatlich 10 Artikel an beliebige Personen verschenken. Gehen Sie zu dem Artikel, den Sie verschenken möchten, und klicken Sie auf die Schaltfläche mit dem Symbol '<svg width=\\"16\\" height=\\"16\\"viewBox=\\"0 0 20 20\\" xmlns=\\"http://www.w3.org/2000/svg\\">\\n <path d=\\"M16.667 5H14.85c.092-.258.15-.542.15-.833a2.497 2.497 0 00-4.583-1.375L10 3.35l-.417-.567A2.51 2.51 0 007.5 1.667a2.497 2.497 0 00-2.5 2.5c0 .291.058.575.15.833H3.333c-.925 0-1.658.742-1.658 1.667l-.008 9.166A1.66 1.66 0 003.333 17.5h13.334a1.66 1.66 0 001.666-1.667V6.667A1.66 1.66 0 0016.667 5zM12.5 3.333c.458 0 .833.375.833.834A.836.836 0 0112.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm-5 0c.458 0 .833.375.833.834A.836.836 0 017.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm9.167 12.5H3.333v-1.666h13.334v1.666zm0-4.166H3.333v-5h4.234L5.833 9.025l1.35.975L10 6.167 12.817 10l1.35-.975-1.734-2.358h4.234v5z\\"/>\\n</svg>'","profile.give-away.give-text":"Sie haben diesen Monat <strong>:n von 10</strong> Artikeln verschenkt","profile.give-away.give-text-none":"Sie haben keinen Artikel verschenkt","profile.give-away.give-text-limit":"<strong>
2Sie haben das Limit von 10 Artikeln pro Monat erreicht</strong>","profile.give-away.article-expire":"Läuft in :n Tagen ab","profile.give-away.article-expire-tomorrow":"Läuft morgen ab","profile.give-away.article-expired":"Geschenk abgelaufen","profile.locked.gifts.register.epigraph":"Sie müssen Abonnent von ARA sein","profile.locked.gifts.register.title":"Abonnieren Sie ARA, um Artikel zu verschenken","profile.locked.gifts.register.text":"Um den vollständigen Zugriff auf eine Nachricht an eine beliebige Person zu verschenken, benötigen Sie ein Abonnement für ARA.","profile.locked.gifts.subscriber.title":"Exklusiver Vorteil","profile.locked.gifts.subscriber.text":"Zum Verschenken von Artikeln benötigen Sie ein Optimum-Abonnement für ARA.","profile.locked.comments.register.epigraph":"Sie müssen Abonnent von ARA sein","profile.locked.comments.register.title":"Abonnieren Sie ARA, um zu kommentieren","profile.locked.comments.register.text":"Um an der Debatte teilzunehmen und die Nachrichten zu kommentieren, benötigen Sie ein Abonnement von ARA.","profile.locked.comments.subscriber.title":"Exklusiver Vorteil","profile.locked.comments.subscriber.text":"Zum Kommentieren der Nachrichten benötigen Sie ein Optimum-Abonnement für ARA.","profile.locked.espai.register.epigraph":"Sie müssen Abonnent von ARA sein","profile.locked.espai.register.title":"Abonnieren Sie ARA, um kulturelle Angebote zu erhalten","profile.locked.espai.register.text":"Um die Werbeaktionen für Kultur und Freizeit zu nutzen, benötigen Sie ein Abonnement von ARA.","profile.item.new":"NEU","snackbar-mail.reminder":"Rufen Sie Ihre E-Mails ab und verifizieren Sie Ihr Konto","snackbar-mail.understand":"Verstanden","profile.button.followed":"Ich folge","football_direct.stadium":"C","football_direct.referee":"A","football_direct.coach":"E","football_direct.dropdown":"AUFSTELLUNGEN ANZEIGEN","paywall.why-subscribe":"Weshalb abonnieren","comments.subscribe.modal.register.title":"Abonnieren Sie ARA, um zu kommentieren","comments.subscribe.modal.register.text":"Um an der Debatte teilzunehmen und die Nachrichten zu kommentieren, benötigen Sie ein Abonnement von ARA.","comments.subscribe.modal.subscriber.title":"Exklusiver Vorteil","comments.subscribe.modal.subscriber.text":"Zum Kommentieren der Nachrichten benötigen Sie ein Optimum-Abonnement für ARA.","comments.subscribe.modal.title":"ARA abonnieren","comments.subscribe.modal.text":"Um Nachrichten kommentieren zu können, benötigen Sie ein Abonnement.","comments.subscribe.modal.button":"Einverstanden","comments.subscribe.modal.button-app":"Abonnieren","legal":{"conditions":"Allgemeine Geschäftsbedingungen","privacy":"Datenschutz"},"archive.archive":"Zeitungsarchiv","description.archive":"ARA stellt Ihnen ein Archiv mit allen Zeitungsausgaben seit seiner Gründung bereit. Konsultieren Sie die Ausgaben in PDF und im digitalen Zeitungsarchiv der Website mit einem Klick.","archive.latest-edition":"Neueste Ausgabe","football_direct.minute":"Min.","language.available":"Verfügbar in","language.code.ca":"kat","language.code.en":"eng","language.code.es":"spa","language.code.de":"deu","language.code.body.ca":"Llegir en Català ","language.code.body.en":"Read in English","language.code.body.es":"Leer en castellano","language.code.body.de":"Auf Deutsch lesen","profile.edition.empty":"Keine Ausgaben verfügbar","snackbar.error-message":"Es ist ein Fehler aufgetreten. Versuchen Sie es später erneut.","snackbar.error-password-message":"Vorheriges Kennwort falsch.","snackbar.success-update-message":"Daten korrekt aktualisiert.","404.kicker":"Hoppla!","404.title":"Leider können wir die gesuchte Seite nicht finden","404.subtitle":"Gehen Sie zur Titelseite oder navigieren Sie weiter im Menü durch unsere Inhalte","404.button":"Titelseite","403.kicker":"Hoppla!","403.title":"Dieser Link ist abgelaufen","403.subtitle":"Gehen Sie zur Titelseite oder navigieren Sie weiter im Menü durch unsere Inhalte","403.button":"Titelseite","subscription":{"hasAnyActiveSubscription":"Haben Sie ein Apple-Abonnement?","mensual":"Aktives Monatsabonnement","anual"
2:"Aktives Jahresabonnement","manage":"Abonnement verwalten","subscriptionApple":"Apple-Abonnement:","subscriptionActive":"Aktiv"},"date.update":"Akt. vor","date.ago":"Vor","date.minute":"Min.","date.hour":"Stunde","date.hours":"Stunden","profile.configuration.general.conditions":"Allgemeine Geschäftsbedingungen","paywall.fold":"Reduzieren","snackbar.error-comment-already-reported":"Ein bereits gemeldeter Kommentar kann nicht mehr gemeldet werden","userFollowButton.notifications.text":"Ab jetzt erhalten Sie eine E-Mail mit den Veröffentlichungen.","userFollowButton.notifications.ask-confirmation":"Möchten Sie auch Benachrichtigungen auf dem Handy erhalten?","userFollowButton.notifications.activate":"Aktivieren","userFollowButton.notifications.later":"Später entscheiden","userFollowButton.notifications.activated":"Aktivierte Benachrichtigungen","userFollowButton.notifications.confirm":"Verstanden","userFollowButton.login-modal.title":"Konto erstellen oder anmelden","userFollowButton.login-modal.text":"Um Themen und Autor:innen zu folgen, musst du ein Konto haben oder dich anmelden.","userFollowButton.login-modal.button":"Anmelden","userSaveButton.login-modal.title":"Konto erstellen oder anmelden.","userSaveButton.login-modal.text":"Um Artikel zu speichern, musst du ein Konto haben oder dich anmelden.","userSaveButton.login-modal.button1":"Konto erstellen","userSaveButton.login-modal.button2":"Anmelden","mailing.connectWithAra":"Bei der Zeitung ARA kontaktieren","mailing.info":"Diese Nachricht wurde automatisch generiert. Wenn du antwortest, erhalten wir deine E-Mail nicht.","mailing.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.confirmMail.buttonText":"Bestätigen","mailing.confirmMail.title":"Bestätige deine E-Mail-Adresse, um zwei Wochen unbegrenzten digitalen Zugang zur ARA zu genieÃen","mailing.confirmMail.message":"Um die zweiwöchige kostenlose Testphase zu nutzen, musst du deine E-Mail-Adresse bestätigen. Diese E-Mail läuft in 24 Stunden ab. Wenn du länger wartest, musst du von vorne beginnen.","mailing.newsletter.alsoInterested":"Ebenfalls interessant","mailing.newsletter.araExclusive":"EXKLUSIVER INHALT FÃR ABONNENENTEN","mailing.newsletter.backupLink":"Wenn diese Nachricht nicht korrekt angezeigt wird, <a href=\\":url\\"style=\\"color:#0076a8;\\">klicken Sie hier</a>","mailing.newsletter.cancel":"Sie können sich auch an unsere Datenschutzabteilung wenden, um Ihre Rechte auf Zugriff, Berichtigung, Löschung, Ãbertragbarkeit, Einschränkung oder Widerspruch gegen die Datenverarbeitung auszuüben. Schreiben Sie an die E-Mail-Adresse <a href=\\"mailto:[email protected]\\">[email protected]</a> oder konsultieren Sie unsere <a href=\\"https://www.ara.cat/privacitat.html\\">Datenschutzrichtlinie</a>","mailing.newsletter.downloadCurrentEdition":"Heutige Ausgabe herunterladen","mailing.newsletter.followedAuthors":"Autoren, denen Sie folgen","mailing.newsletter.followedColumns":"Kolumnen, denen Sie folgen","mailing.newsletter.followedTopics":"Themen, denen Sie folgen","mailing.newsletter.mostRead":"Meistgelesen","mailing.newsletter.newContents":"Neue Inhalte","mailing.newsletter.otherAuthors":"Weitere Autoren","mailing.newsletter.otherTopics":"Empfohlene Themen","mailing.newsletter.publishedContent.singular":"Hat einen neuen Artikel veröffentlicht","mailing.newsletter.publishedContent.plural":"Hat neue Artikel veröffentlicht","mailing.newsletter.suggestionTitle":"Unterstützen Sie den Journalismus, der etwas bewegt.","mailing.newsletter.suggestionTitleFollowedAuthor":"Seien Sie Teil des Wandels in Katalonien","mailing.newsletter.suggestionButton":"Jetzt abonnieren","mailing.newsletter.thanksForFollow":"Vielen Dank, dass Sie mir folgen","mailing.newsletter.unsubscribe":"Wenn Sie diesen Newsletter von ARA nicht mehr erhalten möchten, können Sie sich <a href=\\":url\\">hier</a> abmelden","mailing.newsletter.unsubscribe.authors":"Wenn du keine Benachrichtigungen von diesem Autor mehr erhalten möchtest, kannst du dich <a href=\\":url\\">hier</a> abmelden","mailing.newsletter.unsubscribe.columns":"Wenn du keine Benachrichtigungen zu dieser Kolumne mehr erhalten möchtest, kannst du dich <a href=\\":url\\">hier</a>
2 abmelden","mailing.newsletter.unsubscribe.topic":"Wenn du keine Benachrichtigungen zu diesem Thema mehr erhalten möchtest, kannst du dich <a href=\\":url\\">hier</a> abmelden","mailing.newsletter.viewAllAuthors":"Alle Autoren entdecken","mailing.newsletter.headlinesButton":"Informationen ohne Grenzen","mailing.newsletter.ara.connect":"Bei der Zeitung ARA kontaktieren","mailing.newsletter.ara.cancel":"Sie können sich auch an unsere Datenschutzabteilung wenden, um Ihre Rechte auf Zugriff, Berichtigung, Löschung, Ãbertragbarkeit, Einschränkung oder Widerspruch gegen die Datenverarbeitung auszuüben. Schreiben Sie an die E-Mail-Adresse <a href=\\"mailto:[email protected]\\">[email protected]</a> oder konsultieren Sie unsere <a href=\\"https://www.ara.cat/privacitat.html\\">Datenschutzrichtlinie</a>","mailing.newsletter.ara.unsubscribe":"Wenn Sie diesen Newsletter von ARA nicht mehr erhalten möchten, können Sie sich <a href=\\":url\\">hier</a> abmelden","mailing.newsletter.ara.footer":"Edició de Premsa Periòdica Ara, SL. C/ Peu de la Creu 5-9 Barcelona Catalunya, 08001","mailing.newsletter.balears.connect":"Bei ARA Balears anmelden","mailing.newsletter.balears.cancel":"Sie können sich auch an unsere Datenschutzabteilung wenden, um Ihre Rechte auf Zugriff, Berichtigung, Löschung, Ãbertragbarkeit, Einschränkung oder Widerspruch gegen die Datenverarbeitung auszuüben. Schreiben Sie an die E-Mail-Adresse <a href=\\"mailto:[email protected]\\">[email protected]</a> oder konsultieren Sie unsere <a href=\\"https://www.ara.cat/privacitat.html\\">Datenschutzrichtlinie</a>","mailing.newsletter.balears.unsubscribe":"Wenn Sie diesen Newsletter von ARA Balears nicht mehr erhalten möchten, können Sie sich <a href=\\":url\\">hier</a> abmelden","mailing.newsletter.balears.footer":"Edicions Periòdiques ARA Balears, SL. C. de Tous i Maroto, 8 (1r pis) Palma 07001","mailing.resetPassword.buttonText":"Kennwort ändern","mailing.resetPassword.greeting":"Hallo,","mailing.resetPassword.info":"Keine Sorge, es kann passieren, dass man das Passwort vergisst. Klicke auf den untenstehenden Button und wähle ein neues. So einfach ist das!","mailing.resetPassword.title":"Passwort ändern","notification.topic.singleTopicTitle":"Thema:","notification.topic.singleTopicMultipleContentsSubtitle":"Neue Inhalte","notification.topic.multipleTopicTitle":"Themen: Neuer Inhalt","notification.column.singleColumnTitle":"Kolumne:","notification.column.singleColumnMultipleContentsSubtitle":"Neue Inhalte","notification.column.multipleColumnTitle":"Kolumnen: Neuer Inhalt","notification.author.singleAuthorTitle":"Autor:","notification.author.singleAuthorMultipleContentsSubtitle":"Neue Inhalte","notification.author.multipleAuthorTitle":"Autoren: Neuer Inhalt","notification.comment.title":"hat die gleiche Nachricht wie Sie kommentiert","notification.comment.user.multiple":"und :number weitere Leser","notification.comment.reply.title":"hat Ihnen geantwortet:","notification.comment.mention.title":"hat Sie in einer Nachricht erwähnt","notification.comment.like.title":"hat sich für Ihren Kommentar bedankt","notification.comment.like.multiple.title":"hat Ihr Kommentar gefallen","notification.moderation.ok.title":"Ihr Kommentar wurde veröffentlicht","notification.moderation.ko.title":"Ihr Kommentar wurde nicht genehmigt","notification.userFollow.title":"Neuer Follower","notification.userFollow.message":"hat angefangen, Ihnen zu folgen","media-info.image":"Fotogalerie","media-info.graphic":"Grafik","media-info.video":"Video","media-info.audio":"Audio","media-info.interactive":"Interaktiv","media-info.special":"Speziell","media-info.story":"Dossier","media-info.poll":"Umfrage","media-info.test":"Test","media-info.automatic":"Automatisch","media-info.streaming":"Live-Video","common.and":"und","test.start":"Anfangen","test.answers":"Richtige Antworten","test.and":"von","test.correct":"Korrigieren","test.check":"Ergebnisse prüfen","test.share":"Test teilen","test.restart":"Wiederholen","modal.unpaidSubscriber.title":"Ihr Abonnement läuft in Kurze ab","modal.unpaidSubscriber.text":"Ihr Abonnement konnte nicht verlängert werden, und Sie müssen Ihre Zahlungsweise aktualisieren.","modal.unpaidSubscriber.buttonText":"Daten aktualisieren","modal.unpaidRegistered.title":"Abonnement abgelaufen","modal.unpaidRegistered.text":"Sie haben keinen Zugriff auf den Inhalt mehr, weil Ihr Abonnement aufgrund eines Problems mit Ihrer Karte nicht verlängert werden konnte.","modal.unpaidRegistered.buttonText":"Abonnement reaktivieren","profile.public.premiumSubscriber":"Premium-Abonnent","profile.public.founderSubscriber":"Gründungs-Abonnent","profile.public.premiumFounderSubscriber":"Premium-Gründungs-Abonnent","profile.public.numPremiumSubscription":"Abonnement-Nr. Premium","profile.public.numSubscription":"Abonnement-Nr.","embed-graphic.font":"Schriftart","embed-graphic.graphic":"Grafik","seo.capsuleContent.defaultTitle":"Das könnte Sie interessieren","seo.hardcoded.author.description":"Entdecken Sie alle Nachrichten, aktuellen Informationen und Leitartikel in der Zeitung ARA, die von %authorName% geschrieben wurden.","seo.hardcoded.author.t
2itle":"Von %authorName% geschriebene Artikel | Zeitung ARA","seo.hardcoded.tag.title":"%tagName%: Alle Nachrichten und Eilmeldungen","seo.hardcoded.tag.description":"Suchen Sie nach allen Nachrichten und aktuellen Informationen über %tagName%. Alle Informationen und Eilmeldungen in der Zeitung ARA.","breu.read-complementary":"Erweitern Sie die Kurznachricht","breu.read-complementary-link":"hier","breu.read-expanded":"Die erweiterte Nachricht lesen","newsletter.title":"Newsletter","newsletter.sign-up":"Abonnieren","newsletter.sign-up-to":"Abonnieren Sie den Newsletter :newsletter","newsletter.sign-up-shared":"Abonnieren Sie ihn, um immer auf dem Laufenden zu sein","newsletter.discover":"Entdecken","newsletter.discover-all":"Alle entdecken","hot-topics.title":"Heute reden wir über","key-moment.title":"Entscheidende Momente","give-away.active-title":"Diesen Artikel verschenken","give-away.active-subtitle-all":"Sie können diesen Monat noch :n Artikel verschenken.","give-away.active-subtitle-some":"Sie können diesen Monat noch :n Artikel verschenken.","give-away.active-subtitle-none":"Sie haben diesen Monat bereits :n Artikel verschenkt. Am Monatsersten sind wieder alle verfügbar.","give-away.active-subtitle-gifted":"Diesen Artikel haben Sie bereits verschenkt, aber Sie können es noch einmal tun, ohne dass er zählt.","give-away.active-subtitle-link":"Weitere Informationen.","give-away.active-text":"Geschenk senden:","give-away.no-subscriber-title":"Das Verschenken von Artikeln ist ein exklusiver Vorteil für Abonnenten","give-away.no-subscriber-subtitle":"Die Abonnenten von ARA können jeden Monat 10 Artikel an beliebige Personen verschenken, unabhängig davon, ob diese die Zeitung abonniert haben.","give-away.no-subscriber-subtitle-link":"Weitere Informationen.","give-away.no-permissions-title":"Möchten Sie diesen Artikel verschenken?","give-away.no-permissions-subtitle":"Ãndern Sie Ihre Abonnementstufe, um Zugang zu diesem Vorteil zu erhalten. Klicken Sie","give-away.no-permissions-subtitle-link":"hier.","give-away.no-permissions-subtitle-button":"Abonnement hochstufen","give-away.copy":"Link kopieren","give-away.copied":"Link kopiert","paywall.remaining-articles":"Verbleibende Gratis-Artikel","paywall.remaining-articles-last-day":"Heute endet der Probezeitraum","paywall.remaining-days":"Tage bis zum Ende des Probezeitraums","paywall.gift-folded":"Sie haben diesen Artikel geschenkt bekommen","paywall.gift-unfolded":"Dieser Artikel ist ein Geschenk","paywall.read-all.btn":"Alles lesen","paywall.read-content":"Lesen Sie den Inhalt ohne Einschränkungen","give-away.mail-subject":"Ich schenke Ihnen diesen Artikel |","give-away.twitter-text":"Ich glaube, dieser Artikel könnte Ihnen gefallen. Da ich Abonnent bei @diariara bin, schenke ich Ihnen den Artikel. Lesen Sie ihn über diesen Link:","favourite-list.title":"Diesen Artikel speichern","favourite-list.all":"Alle Artikel","favourite-list.create":"Neue Liste erstellen","favourite-list.create-button":"Liste erstellen","favourite-list.list-name":"Name der Liste","favourite-list.save":"Speichern","favourite-list.edit":"Bearbeiten","favourite-list.delete":"Löschen","favourite-list.delete-cancel":"Abbrechen","favourite-list.delete-button":"Löschen","favourite-list.delete-title":"Liste löschen","favourite-list.delete-body":"Wenn Sie die Liste löschen, werden die darin gespeicherten Artikel nicht gelöscht. Sie sind weiterhin in der Leseliste verfügbar","favourite-list.save-ok":"Korrekt gespeichert","favourite-list.create-ok":"Liste korrekt gespeichert","favourite-list.collections":"Sammlungen","favourite-list.delete-confirm":"Möchten Sie den Artikel löschen und aus allen Sammlungen entfernen?","missingTranslatedVersion":"Inhalt auf Katalanisch","taxon.opening.type-topic":"Thema"}');n(54162),n(4290),n(29068),n(55831),n(12493),n(50653),n(63145),n(82395),n(570),n(3188),n(10844),n(63343),n(59297),n(17046);var u=n(95685),p=n.n(u),d=n(58953),f=n.n(d);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const h={interpolate:function(e,t){return p()(t)?e:f()(t)?Object.entries(t).reduce(function(e,t){var n,r,o=(r=2,function(e){if(Array.isArray(e))return e}(n=t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(n,r)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];return e.replace(":".concat(i),a)},e):e}};o().use(i.A);var g={ca:a,en:l,es:s,de:c},v=document.documentElement.lang||"ca";const b=new i.A({locale:v,formatter:h,messages:g})},95011(e,t,n){n.d(t,{A:()=>Te});var r=n(19630),o=n.n(r),i=n(12829),a=(n(42417),n(570),n(37110));const s={showProfile:function(e){return e.showProfile},showPublicProfile:function(e){return e.showPublicProfile},publicProfileId:function(e){return e.publicProfileId},currentUser:function(e){return null!==e.current.id?e.current:null},currentUserProfileEditMode:function(e){return e.current.profileEditionMode?e.current.profileEditionMode:a.rc},userTheme:function(e){return null!==e.current.id&&null!==e.current.theme?e.current.theme:a.zt},isPremium:function(e){return e.current.id&&"S"===e.current.premium},isSubscriber:function(e){return e.current.id&&!0===e.current.subscriber},isAppleSubscriber:function(e){return null!==e.externalProductId},pendingNotifications:function(e){return e.current.pendingNotifications},nickInitialLetter:function(e){return e.current.id&&e.current.nick&&e.current.nick[0]},hasEmailValidated:function(e){return e.current.id&&e.current.emailValidated},lockedUsers:function(e){return e.lockedUsers},lockedUsersIds:function(e){return e.lockedUsers.map(function(e){return e.id})},followedUsers:function(e){return e.followedUsers},followedUsersIds:function(e){return e.followedUsers.map(function(e){return e.id})},searchedUsers:function(e){return e.searchedUsers},subscriptionURL:function(){return window.appConfig.subscription.url},subscriptionProfileURL:function(){return window.appConfig.subscription.profileUrl},subscriptionNewsletterURL:function(){return window.appConfig.subscription.newsletterUrl},subscriptionCardURL:function(){return window.appConfig.subscription.cardUrl},userToken:function(e){return e.jwtToken},userHasBannedComments:function(e){return e.current.bannedComments},notificationsEnabled:function(e){return e.notificationsEnabled},isStaff:function(e){return e.current.isStaff||!1},profileComment:function(e){return e.profileComment}};n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(47562),n(85351),n(63145),n(28589),n(12002),n(89185),n(1240),n(28471),n(43813),n(91736),n(63343),n(14439),n(17046);var l=n(15841),c=n.n(l),u=n(92299),p=n.n(u),d=n(21185),f=n(40350),m=n(60315);function h(e){return h="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},h(e)}var g=["interests"],v=["interests"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t,n){return(t=function(e){var t=function(e){if("object"!=h(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==h(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return S(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(S(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,S(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,S(p,"constructor",c),S(c,"constructor",l),l.displayName="GeneratorFunction",S(c,o,"GeneratorFunction"),S(p),S(p,o,"Generator"),S(p,r,function(){return this}),S(p,"toString",function(){return"[object Generator]"}),(_=function(){return{w:i,m:d}})()}function S(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}S=function(e,t,n,r){function i(t,n){S(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},S(e,t,n,r)}function k(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){k(i,r,o,a,s,"next",e)}function s(e){k(i,r,o,a,s,"throw",e)}a(void 0)})}}var P="refresh-user-data";function x(){var e=p().getJSON("nx-session-user");if(e){var t=localStorage.getItem("updated-profile-cookie-data");if(t){var n=JSON.parse(t);if(String(n.userId)===String(e.userId))return n.theme=localStorage.getItem("theme")||e.theme,n}}else localStorage.removeItem("updated-profile-cookie-data"),localStorage.removeItem("user-profile-loaded");return e}const O={setProfileComment:function(e,t){(0,e.commit)("setProfileComment",t)},closeProfile:function(e){(0,e.commit)("setShowProfile",!1)},toggleShowProfile:function(e){var t=e.state;(0,e.commit)("setShowProfile",!t.showProfile)},toggleShowPublicProfile:function(e){var t=e.state;(0,e.commit)("setShowPublicProfile",!t.showPublicProfile)},setPublicProfileId:function(e,t){(0,e.commit)("setPublicProfileId",t)},setAppleProductId:function(e,t){(0,e.commit)("setAppleProductId",t||null)},setExternalProductId:function(e,t){(0,e.commit)("setExternalProductId",t||null)},initUser:function(e,t){return A(_().m(function n(){var r,o,i;return _().w(function(n){for(;;)switch(n.n){case 0:if(r=e.dispatch,o=e.getters,void 0===(i=(t||{}).external_product_id)){n.n=2;break}return n.n=1,r("setAppleProductId",i.product_id);case 1:return n.n=2,r("setExternalProductId",i);case 2:return n.n=3,r("setCurrentUser",t||{});case 3:if(!o.currentUser){n.n=5;break}return n.n=4,r("interests/fetchFromStorage");case 4:n.v||r("getCurrentUser"),r("fetchNotificationsStatus");case 5:return n.a(2)}},n)}))()},initUserWithoutFetchingFromStorage:function(e,t){return A(_().m(function n(){var r,o,i;return _().w(function(n){for(;;)switch(n.n){case 0:if(r=e.dispatch,o=e.getters,void 0===(i=(t||{}).external_product_id)){n.n=2;break}return n.n=1,r("setAppleProductId",i.product_id);case 1:return n.n=2,r("setExternalProductId",i);case 2:return n.n=3,r("setCurrentUser",t||{});case 3:o.currentUser&&r("fetchNotificationsStatus");case 4:return n.a(2)}},n)}))()},loadUserFromToken:function(e,t){return A(_().m(function n(){var r,o,i,a,s,l;return _().w(function(n){for(;;)switch(n.p=n.n){case 0:return r=e.dispatch,o=e.commit,n.n=1,o("setUserToken",t);case 1:return(i=(0,m.xo)(t)).interests,a=C(i,g),n.n=2,r("initUserWithoutFetchingFromStorage",a);case 2:return n.p=2,n.n=3,f.A.searchInterestWithSavedContentLists();case 3:return s=n.v,console.debug("User interest change to:\n",s.interests),n.n=4,r("interests/setIntoStorage",s.interests||{});case 4:n.n=6;break;case 5:n.p=5,l=n.v,r("pushHttpRequestError",l,{root:!0}),console.error(l);case 6:return n.a(2)}},n,null,[[2,5]])}))()},loadUserSession:function(e){return A(_().m(function t(){var n,r,o,i,a,s,l;return _().w(function(t){for(;;
2)switch(t.n){case 0:if(n=e.commit,r=e.dispatch,!(o=(0,m.HP)())){t.n=4;break}return i=(0,m.xo)(o),a=i.interests,s=C(i,v),t.n=1,n("setUserToken",o);case 1:return t.n=2,r("initUser",s);case 2:return t.n=3,r("interests/setIntoStorage",a||{});case 3:t.n=5;break;case 4:return l=x(),t.n=5,r("initUser",l);case 5:p().getJSON(P)&&r("getCurrentUser");case 6:return t.a(2)}},t)}))()},fetchNotificationsStatus:function(e){var t=e.dispatch,n=e.commit,r=e.getters;if(!r.currentUser)return Promise.resolve();var o=d.A.getItem("pending-notifications".concat(r.currentUser.id));return d.A.getItem("pending-notifications".concat(r.currentUser.id))?(console.debug("Load notifications status from storage",o),n("setCurrentUserPendingNotifications",o),Promise.resolve()):f.A.fetchNotificationsStatus().then(function(){var e=A(_().m(function e(n){return _().w(function(e){for(;;)switch(e.n){case 0:n.pendingNotifications&&(console.debug("Fetch new notifications status",n.pendingNotifications),t("setNotificationStatus",n.pendingNotifications));case 1:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){t("pushHttpRequestError",e,{root:!0}),console.log(e)})},setNotificationStatus:function(e,t){var n=e.getters,r=e.commit;n.currentUser&&(d.A.setItem("pending-notifications".concat(n.currentUser.id),t,9e5),r("setCurrentUserPendingNotifications",t))},setCurrentUser:function(e){var t=arguments;return A(_().m(function n(){var r,o,i,a,s,l;return _().w(function(n){for(;;)switch(n.n){case 0:if(r=e.commit,o=e.getters,i=e.dispatch,a=t.length>1&&void 0!==t[1]?t[1]:{},s=["userId","nick","subscriber"],!(c()(s,Object.keys(a||{})).length>0)){n.n=3;break}return n.n=1,r("setCurrentUser",{});case 1:return n.n=2,i("interests/flush");case 2:n.n=4;break;case 3:return n.n=4,r("setCurrentUser",a);case 4:return l=localStorage.getItem("theme"),n.n=5,i("setDarkMode",l,{root:!0});case 5:if(!localStorage||l){n.n=6;break}return n.n=6,i("setDarkMode",l,{root:!0});case 6:return n.a(2,y({},o.currentUser))}},n)}))()},setCurrentUserNewsletters:function(e,t){(0,e.commit)("setCurrentUserNewsletters",t)},setCurrentUserNotifications:function(e,t){(0,e.commit)("setCurrentUserNotifications",t)},setCurrentUserEmailValidated:function(e,t){(0,e.commit)("setCurrentUserEmailValidated",t)},loginWithCredentials:function(e,t){var n=e.dispatch,r=t.email,o=t.password;return f.A.loginWithCredentials(r,o).then(function(){var e=A(_().m(function e(t){var r;return _().w(function(e){for(;;)switch(e.n){case 0:if(!(r=t.data).response.interests){e.n=1;break}return e.n=1,n("interests/setIntoStorage",r.response.interests);case 1:return e.a(2,n("setCurrentUser",r.response.user))}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},checkEmail:function(e,t){var n=e.dispatch,r=t.email;return f.A.checkEmail(r).then(function(e){var t=e.data;return console.log(t),t}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},checkEmailWithUsername:function(e,t){var n=e.dispatch,r=t.email;return f.A.checkEmailWithUsername(r).then(function(e){return e.data}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},register:function(e,t){var n=e.dispatch,r=t.name,o=t.surname,i=t.email,a=t.birthdate,s=t.password,l=t.origin;return f.A.register({name:r,surname:o,email:i,birthdate:a,password:s,origin:l}).then(function(){var e=A(_().m(function e(t){var r;return _().w(function(e){for(;;)switch(e.n){case 0:if((r=t.data).httpCode&&200===r.httpCode||200===r.status){e.n=1;break}throw{response:r};case 1:if(localStorage.setItem("updated-profile-cookie-data",JSON.stringify(r.response.user)),!r.response.interests){e.n=2;break}return e.n=2,n("interests/setIntoStorage",r.response.interests);case 2:return e.a(2,n("setCurrentUser",r.response.user))}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},logout:function(e){var t=e.dispatch;return localStorage&&localStorage.removeItem("theme"),f.A.logout().catch(function(e){t("pushHttpRequestError",e,{root:!0})}).finally(function(){t("interests/flush"),t("setCurrentUser",{}),localStorage.removeItem("updated-profile-cookie-data"),localStorage.removeItem("user-profile-loaded"),window.app.$nextTick(function(){return window.app.channelAction("logout",null)})})},getCurrentUser:function(e){var t=e.state,n=e.dispatch,r=e.commit;return null===t.current.id&&null===t.externalProductId&&null===t.a
2ppleProductId||t.profileFetched?Promise.resolve():p().get(P)===localStorage.getItem(P)?(console.log("Cookie find in localStorage, dont call API"),Promise.resolve()):f.A.getUserProfile().then(function(){var e=A(_().m(function e(t){var o;return _().w(function(e){for(;;)switch(e.n){case 0:if(!t){e.n=4;break}return(o=p().get(P))&&(console.log("Cookie find and set in localStorage"),localStorage.setItem(P,o)),console.log("User fetched",t),e.n=1,n("setCurrentUser",t.user||{});case 1:return e.n=2,n("interests/setIntoStorage",t.interests||{});case 2:return e.n=3,n("setNotificationStatus",t.user.pendingNotifications);case 3:return localStorage.setItem("updated-profile-cookie-data",JSON.stringify(t.user)),console.log("Save user in local Storage again"),e.n=4,r("setProfileFetched",!0);case 4:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},searchUsers:function(e,t){var n=e.commit,r=e.dispatch;return f.A.searchCommentUsers(t).then(function(e){e&&n("setSearchedUsers",e.users.map(function(e){return function(e){return{id:e.id,nick:e.nick,avatarUrl:e.avatarUrl,profileUrl:e.profileUrl,type:e.type}}(e)})||[])}).catch(function(e){r("pushHttpRequestError",e,{root:!0})})},notificationsEnabled:function(e,t){(0,e.commit)("notificationsEnabled",t)}};function I(e){return I="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},I(e)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return(t=function(e){var t=function(e){if("object"!=I(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=I(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==I(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const T={setShowProfile:function(e,t){e.showProfile=t},setShowPublicProfile:function(e,t){e.showPublicProfile=t},setPublicProfileId:function(e,t){e.publicProfileId=t},setAppleProductId:function(e,t){e.appleProductId=t},setExternalProductId:function(e,t){e.externalProductId=t},setCurrentUser:function(e,t){var n=t.userId,r=void 0===n?null:n,o=t.nick,i=void 0===o?null:o,a=t.name,s=void 0===a?null:a,l=t.surname,c=void 0===l?null:l,u=t.avatarUrl,p=void 0===u?null:u,d=t.profileUrl,f=void 0===d?null:d,m=t.emailValidated,h=void 0!==m&&m,g=t.subscriber,v=void 0!==g&&g,b=t.newsletters,y=void 0===b?{}:b,w=t.pendingNotifications,C=void 0===w?0:w,_=t.notifications,S=void 0===_?{}:_,k=t.email,A=void 0===k?null:k,P=t.birthdate,x=void 0===P?null:P,O=t.phoneNumber,I=void 0===O?null:O,L=t.gender,j=void 0===L?null:L,T=t.description,D=void 0===T?null:T,M=t.visible,F=void 0!==M&&M,R=t.isStaff,B=void 0!==R&&R,U=t.subscriptionId,N=void 0===U?null:U,$=t.subscriptionType,V=void 0===$?null:$,H=t.regalBaixa,q=void 0===H?null:H,G=t.language,z=void 0===G?null:G,W=t.theme,K=void 0===W?null:W,Z=t.hasSubscriptionCard,Y=void 0===Z?null:Z,J=t.hasTargetActiveInSubscriptionCard,Q=void 0===J?null:J,X=t.profileEditionMode,ee=void 0===X?null:X,te=t.followers,ne=void 0===te?0:te,re=t.following,oe=void 0===re?0:re,ie=t.type,ae=void 0===ie?null:ie,se=t.advantages,le=void 0===se?null:se,ce=t.premium,ue=void 0===ce?null:ce,pe=t.fundador,de=void 0!==pe&&pe,fe=t.bannedComments,me=void 0!==fe&&fe,he=t.rfv,ge=void 0===he?"":he,ve=t.canGiveAway,be=void 0!==ve&&ve,ye=t.numberGiftsRemaining,we=void 0===ye?0:ye,Ce=t.endTrialDate,_e=void 0===Ce?null:Ce,Se=t.hasSubscriberSiteIds,ke=void 0===Se?null:Se,Ae=t.hasSubscriberCategoryIds,Pe=void 0===Ae?null:Ae,xe=t.hasSubscriberExcludedCategoryIds,Oe=void 0===xe?null:xe,Ie=t.isRegisteredWithSocial,Le=void 0!==Ie&&Ie;e.current.id=r,e.current.nick=i,e.current.name=s,e.current.surname=c,e.current.avatarUrl=p,e.current.profileUrl=f,e.current.emailValidated=h,e.current.subscriber=v,e.current.newsletters=E(E({},e.current.newsletters),y),e.current.pendingNotifications=C,e.current.notifications=E(E({},e.current.notifications),S),e.current.email=A,e.current.birthdate=x?new Date(x.date||x):null,e.current.phoneNumber=I,e.current.gender=j,e.current.description=D,e.current.visible=F,e.current.isStaff=B,e.current.subscriptionId=N,e.current.subscriptionType=V,e.current.regalBaixa=q,e.current.language=z,e.current.theme=K,e.current.hasSubscriptionCard=Y,e.current.hasTargetActiveInSubscriptionCard=Q,e.current.profileEditionMode=ee,e.current.followers=ne,e.current.following=oe,e.current.type=ae,e.current.advantages=le,e.current.premium=ue,e.current.fundador=de,e.current.bannedComments=me,e.current.rfv=ge,e.current.canGiveAway=be,e.current.numberGiveAway=we,e.current.numberGiftsRemaining=we,e.current.endTrialDate=_e,e.current.hasSubscriberSiteIds=ke,e.current.hasSubscriberCategoryIds=Pe,e.current.hasSubscriberExcludedCategoryIds=Oe,e.current.isRegisteredWithSocial=Le},setCurrentUserNewsletters:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.current.newsletters=E(E({},e.current.newsletters),t)},setCurrentUserNotifications:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.current.notifications=E(E({},e.current.notifications),t)},setCurrentUserPendingNotifications:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.current.pendingNotifications=t},setCurrentUserEmailValidated:function(e,t){e.current.emailValidated=Boolean(t)},setNotifications:function(e,t){e.notifications=t},setLockedUsers:function(e,t){e.lockedUsers=t},setFollowedUsers:function(e,t){e.followedUsers=t},setSearchedUsers:function(e,t){e.searchedUsers=t},setProfileFetched:function(e,t){e.profileFetched=t},setUserToken:function(e,t){e.jwtToken=t||null},notificationsEnabled:function(e,t){e.notificationsEnabled=t},setProfileComment:function(e,t){e.profileComment=t}};n(5423),n(28280),n(57406),n(55448);var D=n(1419),M=n.n(D);const F={set:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t("set",n),n}
2,setIntoStorage:function(e){var t=e.dispatch,n=e.getters,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n.storageKey){var o=[],i=d.A.getItem(n.storageKey);i&&(o=M()(i.savedFavouriteLists)),r.savedFavouriteLists||(r.savedFavouriteLists=o),console.debug("Saving interests into storage",r),d.A.setItem(n.storageKey,r)}return t("set",r)},setListsIntoStorage:function(e){var t=e.dispatch,n=e.getters,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(n.storageKey){var o=d.A.getItem(n.storageKey);o.savedFavouriteLists=r,d.A.setItem(n.storageKey,o),t("set",o)}},fetchFromStorage:function(e){var t=e.dispatch,n=e.getters;if(n.storageKey){var r=d.A.getItem(n.storageKey);if(null!==r)return console.debug("fetching interests from storage"),t("set",r),!0}return!1},flush:function(e){var t=e.dispatch,n=e.getters;t("set"),d.A.removeItem(n.storageKey)},toggleLockUser:function(e,t){var n=e.state,r=e.commit,o=e.dispatch,i=t.user,a=t.lock;return f.A.toggleLockUser(i.id,a).then(function(e){return e.interests?o("setIntoStorage",e.interests):(r(a?"addLockedUserId":"removeLockedUserId",i.id),n)}).catch(function(e){o("pushHttpRequestError",e,{root:!0})})},deleteSavedContentCard:function(e,t){var n=e.dispatch;return(0,e.commit)("removeSavedContentCard",t),n("toggleSavedContent",{contentId:t,save:!1})},resetSavedContentCards:function(e){(0,e.commit)("resetSavedContentCards")},toggleSavedContent:function(e,t){var n=e.dispatch,r=e.commit,o=e.state,i=t.contentId,a=t.save;return f.A.toggleSavedContent(i,a).then(function(e){return r(a?"addSavedContentId":"removeSavedContentId",i),e.interests?n("setIntoStorage",e.interests):o}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},searchSavedContents:function(e,t){var n=e.dispatch,r=e.commit,o=t.page,i=void 0===o?1:o,a=t.listId,s=void 0===a?null:a;return f.A.getContentFromFavouriteList(i,s).then(function(e){r("addSavedContentCards",e)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},searchSavedFavouriteLists:function(e,t){var n=e.dispatch,r=e.commit,o=e.state,i=t.page,a=void 0===i?1:i;return null!==o.savedFavouriteLists&&a<o.savedFavouriteListsCardsSearch.nextPage?Promise.resolve():f.A.searchFavouriteLists(a).then(function(e){r("addSavedFavouriteListsCards",e)}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},createFavouriteList:function(e,t){var n=e.dispatch,r=e.commit;return f.A.createList(t).then(function(e){return e.data.response.interests&&r("setSavedFavouriteLists",e.data.response.interests.savedFavouriteLists),n("setIntoStorage",e.data.response.interests),n("setIntoStorage",e.data.response.interests)}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},saveContentWithFavouriteLists:function(e,t){var n=e.dispatch,r=e.commit,o=t.contentId,i=t.saveLists,a=t.deleteLists;return f.A.saveContent(o,i,a).then(function(e){return e.data.response.interests&&r("setSavedFavouriteLists",e.data.response.interests.savedFavouriteLists),n("setIntoStorage",e.data.response.interests),n("setIntoStorage",e.data.response.interests)}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},editFavouriteList:function(e,t){var n=e.dispatch,r=e.commit,o=t.listId,i=t.listName;return f.A.editFavouriteList(o,i).then(function(e){return e.data.response.interests&&r("setSavedFavouriteLists",e.data.response.interests.savedFavouriteLists),n("setIntoStorage",e.data.response.interests),n("setIntoStorage",e.data.response.interests)}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},deleteFavouriteList:function(e,t){var n=e.dispatch,r=e.commit;return f.A.deleteFavouriteList(t).then(function(e){return e.data.response.interests&&r("setSavedFavouriteLists",e.data.response.interests.savedFavouriteLists),n("setIntoStorage",e.data.response.interests),n("setIntoStorage",e.data.response.interests)}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},deleteSavedContentCardFromFavouriteList:function(e,t){var n=e.dispatch,r=e.commit;return f.A.deleteSavedContents(t).then(function(e){return e.data.response.interests&&r("setSavedFavouriteLists",e.data.response.interests.savedFavouriteLists),n("setIntoStorage",e.data.response.interests),n("setIntoStorage",e.data.response.interests)}).catch(function(e){throw n("pushHttpRequestError",e,{root:!0}),e})},toggleFollowAuthor:function(e,t){var n=e.dispatch,r=e.commit,o=e.state,i=t.authorId,a=t.follow;return f.A.toggleFollowAuthor(i,a).then(function(e){return e.interests?n("setIntoStorage",e.interests):(r(a?"addFollowedAuthorId":"removeFollowedAuthorId",i),o)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},searchFollowedAuthors:function(e){var t=e.commit,n=e.dispatch;return f.A.searchFollowedAuthors().then(function(e){Array.isArray(e.results)&&t("setFollowedAuthorsCards",e.results)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},toggleFollowColumn:function(e,t){var n=e.dispatch,r=e.commit,o=e.state,i=t.columnId,a=t.follow;return f.A.toggleFollowColumn(i,a).then(function(e){return e.interests?n("setIntoStorage",e.interests):(r(a?"addFollowedColumnId":"removeFollowedColumnId",i),o)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},searchFollowedColumns:function(e){var t=e.commit,n=e.dispatch;return f.A.searchFollowedColumns().then(function(e){Array.isArray(e.results)&&t("setFollowedColumnsCards",e.results)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},toggleFollowTopic:function(e,t){var n=e.dispatch,r=e.commit,o=e.state,i=t.topicId,a=t.follow;return f.A.toggleFollowTopic(i,a).then(function(e){return e.interests?n("setIntoStorage",e.interests):(r(a?"addFollowedTopicId":"removeFollowedTopicId",i),o)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},searchFollowedTopics:function(e){var t=e.commit,n=e.dispatch;return f.A.searchFollowedTopics().then(function(e){Array.isArray(e.results)&&t("setFollowedTopicsCards",e.results)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},toggleFollowingUser:function(e,t){var n=e.dispatch,r=e.commit,o=e.state,i=t.userId,a=t.follow;return r(a?"addFollowingUserId":"removeFollowingUserId",i),f.A.toggleFollowingUser(i,a).then(function(e){return e.interests?n("setIntoStorage",e.interests):o}).catch(function(e){r(a?"removeFollowingUserId":"addFollowingUserId",i),n("pushHttpRequestError",e,{root:!0})})}
2,searchFollowingUsers:function(e,t){var n=e.commit,r=e.dispatch,o=e.state,i=t.page,a=void 0===i?1:i;return null!==o.followingUserCards&&a<o.followingUserSearch.nextPage||a>=o.followingUserSearch.nextPage&&!o.followingUserSearch.hasMoreResults?Promise.resolve():f.A.searchFollowingUsers(a).then(function(e){n("addFollowingUserCards",e)}).catch(function(e){r("pushHttpRequestError",e,{root:!0})})},searchFollowers:function(e,t){var n=e.commit,r=e.dispatch,o=e.state,i=t.page,a=void 0===i?1:i;return null!==o.followersCards&&a<o.followersSearch.nextPage||a>=o.followersSearch.nextPage&&!o.followersSearch.hasMoreResults?Promise.resolve():f.A.searchFollowers(a).then(function(e){n("addFollowersCards",e)}).catch(function(e){r("pushHttpRequestError",e,{root:!0})})},searchGifts:function(){return f.A.searchGifts()},setGifts:function(e,t){var n=e.commit,r=t.gifts;Array.isArray(r)&&n("setGiftItemsCards",r)}};var R=function(e){if(Array.isArray(e.savedContentsCards)){var t=e.savedContentsCards.length;e.savedContentsCards=e.savedContentsCards.filter(function(t){return e.savedContentsIds.includes(t.id)}),e.savedContentsCards.length!==t&&(e.savedContentsSearch.hasMoreResults=!0,e.savedContentsSearch.nextPage=1)}if(Array.isArray(e.followingUserCards)){var n=e.followingUserCards.length;e.followingUserCards=e.followingUserCards.filter(function(t){return e.followedUsersIds.includes(t.userId)}),e.followingUserCards.length!==n&&(e.savedContentsSearch.hasMoreResults=!0,e.savedContentsSearch.nextPage=1)}Array.isArray(e.lockedUsersCards)&&(e.lockedUsersCards.length>e.lockedUsersIds.length?e.lockedUsersCards=e.lockedUsersCards.filter(function(t){return e.lockedUsersIds.includes(t.id)}):e.lockedUsersCards=null),Array.isArray(e.followedAuthorsCards)&&(e.followedAuthorsCards.length>e.followedAuthorsIds.length?e.followedAuthorsCards=e.followedAuthorsCards.filter(function(t){return e.followedAuthorsIds.includes(t.id)}):e.followedAuthorsCards=null),Array.isArray(e.followedColumnsCards)&&(e.followedColumnsCards.length>e.followedColumnsIds.length?e.followedColumnsCards=e.followedColumnsCards.filter(function(t){return e.followedColumnsIds.includes(t.id)}):e.followedColumnsCards=null),Array.isArray(e.followedTopicsCards)&&(e.followedTopicsCards.length>e.followedTopicsIds.length?e.followedTopicsCards=e.followedTopicsCards.filter(function(t){return e.followedTopicsIds.includes(t.id)}):e.followedTopicsCards=null),Array.isArray(e.giftItemsCards)&&(e.giftItemsCards.length>e.giftItemsIds.length?e.giftItemsCards=e.giftItemsCards.filter(function(t){return e.giftItemsIds.find(function(e){return e.contentId===t.id})}):e.giftItemsCards=null)};const B={namespaced:!0,state:{profileFetched:!1,showProfile:!1,showPublicProfile:!1,publicProfileId:null,appleProductId:null,externalProductId:null,jwtToken:null,current:{avatarUrl:null,birthdate:null,description:null,email:null,emailValidated:!1,gender:null,name:null,nick:null,phoneNumber:null,profileUrl:null,subscriber:!1,newsletters:{contents:!0,promo:!0,notices:!0},pendingNotifications:0,notifications:{manual:!0,topics:!1,authors:!1,columns:!1,contentComments:!0,userInteraction:!0,userFollow:!0},surname:null,id:null,visible:!1,isStaff:!1,subscriptionId:null,subscriptionType:null,regalBaixa:null,language:null,theme:null,type:null,hasSubscriptionCard:null,hasTargetActiveInSubscriptionCard:null,profileEditionMode:null,followers:null,following:null,advantages:null,premium:"N",founder:!1,bannedComments:!1,rfv:"",canGiveAway:!1,numberGiftsRemaining:0,hasSubscriberSiteIds:!1,hasSubscriberCategoryIds:!1,hasSubscriberExcludedCategoryIds:!1,isRegisteredWithSocial:!1},lockedUsers:[],followedUsers:[],searchedUsers:[],notificationsEnabled:!0,giftedItems:[],profileComment:null},getters:s,actions:O,mutations:T,modules:{interests:{namespaced:!0,state:{savedContentsIds:[],lockedUsersIds:[],followedUsersIds:[],followedAuthorsIds:[],followedColumnsIds:[],followedTopicsIds:[],giftItemsIds:[],savedFavouriteLists:[],savedContentsCards:null,lockedUsersCards:null,followingUserCards:null,followersCards:null,followedAuthorsCards:null,followedColumnsCards:null,followedTopicsCards:null,giftItemsCards:null,savedFavouriteListsCards:null,savedContentsSearch:{nextPage:1,hasMoreResults:!0},savedFavouriteListsCardsSearch:{nextPage:1,hasMoreResults:!0},followingUserSearch:{nextPage:1,hasMoreResults:!0},followersSearch:{nextPage:1,hasMoreResults:!0},followedUsersTotal:0,followersTotal:0},getters:{storageKey:function(e,t,n,r){var o=r["user/currentUser"];return o&&o.id?"nx-user-interests-".concat(o.id):null},contentIsSaved:function(e){return function(t){return e.savedContentsIds.includes(t)}},userIsLocked:function(e){return function(t){return e.lockedUsersIds.includes(t)}},userIsFollowed:function(e){return function(t){return e.followedUsersIds.includes(t)}},authorIsFollowed:function(e){return function(t){return e.followedAuthorsIds.includes(t)}},columnIsFollowed:function(e){return function(t){return e.followedColumnsIds.includes(t)}},topicIsFollowed:function(e){return function(t){return e.followedTopicsIds.includes(t)}},contentIsGifted:function(e){return function(t){return e.giftItemsIds.find(function(e){return e.contentId===t})}},savedContentsIds:function(e){return e.savedContentsIds||[]},savedContentsCards:function(e){return e.savedContentsCards||[]},savedContentsNextPage:function(e){return e.savedContentsSearch.nextPage},savedContentsHasMoreResults:function(e){return e.savedContentsSearch.hasMoreResults},savedFavouriteLists:function(e){return e.savedFavouriteLists||[]},savedFavouriteListsCards:function(e){return e.savedFavouriteListsCards||[]},savedFavouriteListsCardsSearchNextPage:function(e){return e.savedFavouriteListsCardsSearch.nextPage},savedFavouriteListsCardsSearchMoreResults:function(e){return e.savedFavouriteListsCardsSearch.hasMoreResults},followedUsersTotal:function(e){return e.followedUsersTotal},followingUserCards:function(e){return e.followingUserCards||[]},followingUserNextPage:function(e){return e.followingUserSearch.nextPage},followingUserHasMoreResults:function(e){return e.followingUserSearch.hasMoreResults},followersTotal:function(e){return e.followersTotal},followersCards:function(e){return e.followersCards||[]},followersNextPage:function(e){return e.followersSearch.nextPage},followersHasMoreResults:function(e){return e.followersSearch.hasMoreResults},lockedUsersCards:function(e){return e.lockedUsersCards||[]},followedAuthorsCards:function(e){return e.followedAuthorsCards||[]},followedColumnsCards:function(e){return e.followedColumnsCards||[]},followedTopicsCards:function(e){return e.followedTopicsCards||[]},giftItemsCards:function(e){return e.giftItemsCards||[]}},actions:F,mutations:{set:function(e,t){var n=t.savedContentsIds,r=void 0===n?[]:n,o=t.lockedUsersIds,i=void 0===o?[]:o,a=t.followedUsersIds,s=void 0===a?[]:a,l=t.followedAuthorsIds,c=void 0===l?[]:l,u=t.followedColumnsIds,p=void 0===u?[]:u,d=t.followedTopicsIds,f=void 0===d?[]:d,m=t.followedTotalResults,h=void 0===m?0:m,g=t.followerTotalResults,v=void 0===g?0:g,b=t.giftItemsIds,y=void 0===b?[]:b,w=t.savedFavouriteLists,C=void 0===w?[]:w;e.savedContentsIds=r,e.lockedUsersIds=i,e.followedUsersIds=s,e.followedAuthorsIds=c,e.followedColumnsIds=p,e.followedTopicsIds=f,e.followedUsersTotal=h,e.followersTotal=v,e.giftItemsIds=y,e.savedFavouriteLists=C,R(e)},addLockedUserId:function(e,t){e.lockedUsersIds.includes(t)||e.lockedUsersIds.push(t)},removeLockedUserId:function(e,t){e.lockedUsersIds=e.lockedUsersIds.filter(function(e){return e!==t})},addSavedContentId:function(e,t){e.savedContentsIds.includes(t)||(e.savedContentsIds.push(t),e.savedContentsCards=null,e.savedContentsSearch.hasMoreResults=!0,e.savedContentsSearch.nextPage=1)},resetSavedContentCards:function(e){e.savedContentsCards=null,e.savedContentsSearch.hasMoreResults=!0,e.savedContentsSearch.nextPage=1},removeSavedContentId:function(e,t){e.savedContentsIds=e.savedContentsIds.filter(function(e){return e!==t}),R(e)},addSavedContentCards:function(e,t){var n=t.page,r=t.hasMoreResults,o=t.results,i=void 0===o?[]:o;e.savedContentsCards=1===n?i:(e.savedContentsCards||[]).concat(i),e.savedContentsSearch.hasMoreResults=r;var a=n;r&&(a=n+1),e.savedContentsSearch.nextPage=a},setSavedFavouriteLists:function(e,t){e.savedFavouriteLists=t,e.savedFavouriteListsCards=t},addSavedFavouriteListsCards:function(e,t){var n=t.page,r=t.hasMoreResults,o=t.results,i=void 0===o?[]:o;e.savedFavouriteListsCards=1===n?i:(e.savedFavouriteListsCards||[]).concat(i),e.savedFavouriteListsCardsSearch.hasMoreResults=r;var a=n;r&&(a=n+1),e.savedFavouriteListsCardsSearch.nextPage=a},removeSavedFavouriteLists:function(e,t){e.savedFavouriteLists=e.savedFavouriteLists.filter(function(e){return e!==t}),R(e)},removeSavedContentCard:function(e,t){e.savedContentsCards=e.savedContentsCards.filter(function(e){return e.id!==t})},addFollowedAuthorId:function(e,t){e.followedAuthorsIds.includes(t)||(e.followedAuthorsIds.push(t),e.followedAuthorsCards=null)},removeFollowedAuthorId:function(e,t){e.followedAuthorsIds=e.followedAuthorsIds.filter(function(e){return e!==t}),R(e)},setFollowedAuthorsCards:function(e,t){e.followedAuthorsCards=t},addFollowedColumnId:function(e,t){e.followedColumnsIds.includes(t)||(e.followedColumnsIds.push(t),e.followedColumnsCards=null)},removeFollowedColumnId:function(e,t){e.followedColumnsIds=e.followedColumnsIds.filter(function(e){return e!==t}),R(e)},setFollowedColumnsCards:function(e,t){e.followedColumnsCards=t},addFollowedTopicId:function(e,t){e.followedTopicsIds.includes(t)||(e.followedTopicsIds.push(t),e.followedTopicsCards=null)},removeFollowedTopicId:function(e,t){e.followedTopicsIds=e.followedTopicsIds.filter(function(e){return e!==t}),R(e)},setFollowedTopicsCards:function(e,t){e.followedTopicsCards=t},addFollowingUserId:function(e,t){e.followedUsersIds.includes(t)||(e.followedUsersIds.push(t),e.followingUserCards=null)},removeFollowingUserId:function(e,t){e.followedUsersIds=e.followedUsersIds.filter(function(e){return e!==t}),R(e)},addFollowingUserCards:function(e,t){var n=t.page,r=t.hasMoreResults,o=t.results,i=void 0===o?[]:o;e.followingUserCards=(e.followingUserCards||[]).concat(i),e.followingUserSearch.hasMoreResults=r,e.followingUserSearch.nextPage=n+1},addFollowersCards:function(e,t){var n=t.page,r=t.hasMoreResults,o=t.results,i=void 0===o?[]:o;e.followersCards=(e.followersCards||[]).concat(i),e.followersSearch.hasMoreResults=r,e.followersSearch.nextPage=n+1},setGiftItemsCards:function(e,t){e.giftItemsCards=t}}}}};var U=n(28544);const N={getContentComments:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return U.S.get("/api/front/comment/content/".concat(e),{params:t})},getCommentReplies:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return U.S.get("/api/front/comment/".concat(e,"/replies"),{params:t})},sendComment:function(e,t){return U.S.post("/api/front/comment/content/".concat(e,"/new"),{comment:t})},reportComment:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r={reasonId:t};return n&&(r.message=n),U.V.post("/api/front/comment/".concat(e,"/report"),r)},toggleLikeComment:function(e,t){return U.S.post("/api/front/comment/".concat(e,"/like"),{like
2:t})},deleteComment:function(e){return U.S.delete("/api/front/comment/".concat(e))}};var $=function(e){return{id:e.id,parentCommentId:e.parentCommentId,state:e.state,body:e.body,publicationDate:e.publicationDate,likedByUserIds:e.likedByUserIds,likesNumber:e.likedByUserIds.length||0,reportedByUserIds:e.reportedByUserIds||[],repliesNumber:e.repliesNumber,author:e.author,mentions:e.mentions}},V=function(e){return e.map(function(e){return $(e)})},H=function(e){return{comments:V(e.comments),totalComments:e.contentNumComments,currentComments:e.currentNumComments}},q=function(e){return{parentComment:e.parentComment,comments:V(e.comments),totalComments:e.contentNumComments,currentComments:e.currentNumComments}};function G(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return z(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(z(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,z(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,z(p,"constructor",c),z(c,"constructor",l),l.displayName="GeneratorFunction",z(c,o,"GeneratorFunction"),z(p),z(p,o,"Generator"),z(p,r,function(){return this}),z(p,"toString",function(){return"[object Generator]"}),(G=function(){return{w:i,m:d}})()}function z(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}z=function(e,t,n,r){function i(t,n){z(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},z(e,t,n,r)}function W(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function K(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){W(i,r,o,a,s,"next",e)}function s(e){W(i,r,o,a,s,"throw",e)}a(void 0)})}}const Z={toggleShow:function(e){var t=e.state;(0,e.commit)("setShow",!t.show)},preLoad:function(e,t){var n=e.dispatch,r=e.commit,o=t.contentId;r("setTotalComments",t.cachedNumComments),n("user/getCurrentUser",null,{root:!0}),n("loadContentComments",o),n("router/push",{nextRoute:{name:"ContentComments"}})},loadContentComments:function(e,t){return K(G().m(function n(){var r;return G().w(function(n){for(;;)switch(n.n){case 0:return(r=e.dispatch)("setLoading",!0),r("setContentId",t),n.n=1,r("getContentComments",t);case 1:r("setLoading",!1);case 2:return n.a(2)}},n)}))()},setLoading:function(e,t){var n=e.state,r=e.commit;n.loading!==t&&r("setLoading",t)},setContentId:function(e,t){(0,e.commit)("setContentId",t)},getContentComments:function(e,t){var n=e.dispatch,r=e.commit;return N.getContentComments(t).then(function(e){if(e){r("setMainContent",function(e,t){return{id:e,url:t.url,shareUrl:t.shareUrl,title:t.title,type:t.type,authors:t.authors,category:t.category,publishedDate:t.publishedDate}}(t,e.mainContent||{})),r("setReportingReasons",(e.reportingReasons||[]).map(function(e){return{id:e.id,text:e.text}})),r("setOptions",function(e){return{commentsAllowed:!!e.commentsAllowed,moderateBeforePublish:!!e.moderateBeforePublish,repliesAllowed:!!e.repliesAllowed,userCanDeleteComments:!!e.userCanDeleteComments,showCommunityRules:!!e.showCommunityRules,notifyNewCommentAllowed:!!e.notifyNewCommentAllowed,authorQuestion:e.authorQuestion}}(e)||{});var n=H(e)||{};r("setTotalComments",n.totalComments),r("setContentComments",n),r("setOrder",e.order),n.comments.forEac
2h(function(e){r("addCommenterUser",{commentId:e.id,user:e.author})})}}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},toggleSortComments:function(e,t){var n=e.state,r=e.dispatch,o=e.commit;r("setLoading",!0),o("setContentComments",{});var i="desc"===n.order?"asc":"desc";return o("setOrder",i),N.getContentComments(t,{order:i}).then(function(e){e&&o("setContentComments",H(e)||{}),r("setLoading",!1)}).catch(function(e){r("pushHttpRequestError",e,{root:!0}),r("setLoading",!1)})},getCommentReplies:function(e,t){var n=e.dispatch,r=e.commit,o=t.commentId;return n("setLoading",!0),N.getCommentReplies(o).then(function(e){if(e){var t=q(e)||{};r("setCommentReplies",{commentId:o,commentReplies:t}),t.comments.forEach(function(e){r("addCommenterUser",{commentId:e.id,user:e.author})}),n("setLoading",!1)}}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},paginateContentComments:function(e,t){var n=e.dispatch,r=e.commit,o=t.contentId,i=t.order,a=t.fromCommentId;return n("setLoading",!0),N.getContentComments(o,{order:i,fromCommentId:a}).then(function(e){var t=H(e)||{};return r("appendContentComments",t),t}).catch(function(e){n("pushHttpRequestError",e,{root:!0})}).finally(function(){n("setLoading",!1)})},paginateCommentReplies:function(e,t){var n=e.dispatch,r=e.commit,o=t.commentId,i=t.fromCommentId;return n("setLoading",!0),N.getCommentReplies(o,{fromCommentId:i}).then(function(e){var t=H(e)||{};return r("appendCommentReplies",{commentId:o,commentReplies:t}),t}).catch(function(e){n("pushHttpRequestError",e,{root:!0})}).finally(function(){n("setLoading",!1)})},pollContentComments:function(e,t){var n=e.dispatch,r=e.commit,o=t.contentId,i=t.order,a=t.fromCommentId;return N.getContentComments(o,{order:"desc"===i?"asc":"desc",fromCommentId:a}).then(function(e){var t=H(e)||{};return r("setTotalComments",t.totalComments),t}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},pollCommentReplies:function(e,t){var n=e.dispatch,r=t.commentId,o=t.fromCommentId;return N.getCommentReplies(r,{order:"desc",fromCommentId:o}).then(function(e){return q(e)||{}}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},prependContentComments:function(e,t){(0,e.commit)("prependContentComments",t)},prependCommentReplies:function(e,t){(0,e.commit)("prependCommentReplies",{commentId:t.commentId,comments:t.comments})},sendComment:function(e,t){var n=e.state,r=e.dispatch,o=e.commit,i=t.contentId,a=t.comment;return r("setLoading",!0),N.sendComment(i,a).then(function(){var e=K(G().m(function e(t){var i;return G().w(function(e){for(;;)switch(e.n){case 0:return n.options.moderateBeforePublish||(i=[$(t)],a.parentCommentId?o("prependCommentReplies",{commentId:a.parentCommentId,comments:i}):"desc"===n.order?o("prependContentComments",i):n.contentComments.currentComments===n.contentComments.comments.length&&o("appendContentComments",{comments:i,totalComments:n.contentComments.totalComments+1,currentComments:n.contentComments.currentComments+1})),e.n=1,new Promise(function(e){return setTimeout(e,1e3)});case 1:r("setLoading",!1),r("router/push",{nextRoute:{name:"ContentComments"}});case 2:return e.a(2)}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){r("setLoading",!1),r("pushHttpRequestError",e,{root:!0})})},pushHttpRequestError:function(e,t){(0,e.dispatch)("pushHttpRequestError",t,{root:!0})},reportComment:function(e,t){var n=e.dispatch,r=e.commit,o=t.commentId,i=t.reasonId,a=t.comment,s=t.message;return n("setLoading",!0),N.reportComment(o,i,s).then(function(e){e&&e.reportedByUserIds&&r("setCommentParam",{comment:a,key:"reportedByUserIds",value:e.reportedByUserIds})})},updateCommentsReportedByUserIds:function(e,t){(0,e.commit)("setCommentParam",{comment:t.comment,key:"reportedByUserIds",value:t.reportedByUserIds})},toggleLikeComment:function(e,t){var n=e.rootState,r=e.dispatch,o=e.commit,i=t.comment,a=t.like;return r("setLoading",!0),N.toggleLikeComment(i.id,a).then(function(){var e=n.user.current.id,t=a?i.likedByUserIds.concat([e]):i.likedByUserIds.filter(function(t){return t!==e});o("setCommentParam",{comment:i,key:"likedByUserIds",value:t}
2),o("setCommentParam",{comment:i,key:"likesNumber",value:t.length}),r("setLoading",!1)}).catch(function(e){r("pushHttpRequestError",e,{root:!0})})},toggleSubscriptionModal:function(e){var t=e.state;(0,e.commit)("setShowSubscriptionModal",!t.showSubscriptionModal)},deleteComment:function(e,t){var n=e.dispatch,r=e.commit,o=t.comment;return n("setLoading",!0),N.deleteComment(o.id).then(function(){o.repliesNumber?r("setCommentParam",{comment:o,key:"state",value:"deletedByUser"}):r("deleteComment",o),n("setLoading",!1)}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})}};function Y(e){return Y="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},Y(e)}function J(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function te(e,t,n){return(t=function(e){var t=function(e){if("object"!=Y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Y(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(14809),n(55831),n(6889),n(50653),n(3188),n(10844);const ne={setShow:function(e,t){e.show=t},setLoading:function(e,t){e.loading=t},setContentId:function(e,t){e.contentId=t},setOptions:function(e,t){e.options=t},setMainContent:function(e,t){e.mainContent=t},setReportingReasons:function(e,t){e.reportingReasons=t},setContentComments:function(e,t){e.contentComments=t},setCommentReplies:function(e,t){var n=t.commentId,r=t.commentReplies;o().set(e.commentReplies,n,r)},addCommenterUser:function(e,t){var n=t.commentId,r=t.user;e.commenterUsers.map(function(e){return e.id}).includes(r.id)?e.commenterUsers.find(function(e){return e.id===r.id}).comments.push(n):e.commenterUsers.push(ee(ee({},r),{},{comments:[n]}))},appendContentComments:function(e,t){var n=t.comments,r=t.totalComments,o=t.currentComments;e.contentComments.comments=[].concat(J(e.contentComments.comments),J(n)),e.contentComments.currentComments=o,r>e.totalComments&&(e.totalComments=r)},appendCommentReplies:function(e,t){var n=t.commentId,r=t.commentReplies;e.commentReplies[n].comments=[].concat(J(e.commentReplies[n].comments),J(r.comments)),e.commentReplies[n].currentComments=r.currentComments,r.totalComments>e.totalComments&&(e.totalComments=r.totalComments)},prependContentComments:function(e,t){e.contentComments.comments=[].concat(J(t.reverse()),J(e.contentComments.comments));var n=t.length;e.contentComments.totalComments+=n,e.totalComments+=n},prependCommentReplies:function(e,t){var n=t.commentId,r=t.comments;e.commentReplies[n]||(e.commentReplies[n]={comments:[]}),e.commentReplies[n].comments=[].concat(J(e.commentReplies[n].comments),J(r));var o=r.length;e.commentReplies[n].totalComments+=o,e.totalComments+=o},setOrder:function(e,t){e.order=t},setTotalComments:function(e,t){e.totalComments=t},setCommentParam:function(e,t){var n=t.comment,r=t.key,i=t.value,a=n.parentCommentId?e.commentReplies[n.parentCommentId].comments:e.contentComments.comments;o().set(a[a.findIndex(function(e){return e.id===n.id})],r,i)},setShowSubscriptionModal:function(e,t){e.showSubscriptionModal=t},deleteComment:function(e,t){var n=t.parentCommentId?e.commentReplies[t.parentCommentId]:e.contentComments;o().set(n,"comments",n.comments.filter(function(e){return e.id!==t.id})),o().set(n,"totalComments",n.totalComments-1),o().set(n,"currentComments",n.currentComments-1),o().set(e,"totalComments",e.totalComments-1)}};var re=n(18264),oe=n.n(re);function ie(e){return ie="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},ie(e)}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?ae(Object(n),!0).forEach(function(t){le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function le(e,t,n){return(t=function(e){var t=function(e){if("object"!=ie(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ie(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ce={namespaced:!0,state:{show:!1,showSubscriptionModal:!1,loading:!0,contentId:null,totalComments:null,options:null,mainContent:null,order:"desc",reportingReasons:[],contentComments:{},commentReplies:{},commenterUsers:[]},modules:{router:{namespaced:!0,state:function(){return{breadcrumb:[],history:[]}},getters:{breadcrumb:function(e){return e.breadcrumb},history:function(e){return e.history}},actions:{push:function(e,t){var n=e.state,r=e.commit,o=t.nextRoute,i=t.currentScroll,a=M()(n.breadcrumb);if(!oe()(a.slice(-1)[0],o)){var s=M()(n.history),l=(new Date).getTime();a.length&&(a[a.length-1].params=se(se({},a[a.length-1].params),{},{scrollTop:i})),a.push(se(se({},o),{},{time:l})),s.push(se(se({},o),{},{time:l})),r("setBreadcrumb",a),r("setHistory",s)}},back:function(e,t){var n=e.state,r=e.commit,o=M()(n.breadcrumb);if(o.length>1){var i=M()(n.history),a=o.slice(-2)[0];t&&(a.params=se(se({},a.params),{},{scrollTo:t})),i.push(a),r("setBreadcrumb",o.slice(0,-1)),r("setHistory",i)}},resolveModals:function(e){var t=e.state,n=e.commit,r=M()(t.breadcrumb),o=M()(t.history);o.push(r.filter(function(e){return"CommentsModal"!==e.name}).slice(-1)[0]),n("setBreadcrumb",r.filter(function(e){return"CommentsModal"!==e.name&&"NewComment"!==e.name})),n("setHistory",o)}},mutations:{setBreadcrumb:function(e,t){e.breadcrumb=t},setHistory:function(e,t){e.history=t}}},likes:{namespaced:!0,state:{comments:[]},getters:{},actions:{fetchCommentLikes:function(e,t){var n=e.dispatch,r=e.commit;return N.getCommentLikes(t).then(function(e){return r("addOrEditCommentLikes",e)}).catch(function(e){return n("pushHttpRequestError",e,{root:!0})})}},mutations:{set:function(e,t){var n=t.comments,r=void 0===n?{}:n;e.comments=r},addOrEditCommentLikes:function(e,t){var n=t.id,r=t.likes;e.comments||(e.comments=[{id:n,likes:r}]);var o=e.comments.findIndex(function(e){return e.commentId===n});-1===o&&e.comments.push({id:n,likes:r}),e.comments[o]={id:n,likes:r}}}}},getters:{show:function(e){return e.show},showSubscriptionModal:function(e){return e.showSubscriptionModal},loading:function(e){return e.loading},contentId:function(e){return e.contentId},totalComments:function(e){return e.totalComments},order:function(e){return e.order},options:function(e){return e.options},option:function(e){return function(t){return!!e.options[t]}},mainContent:function(e){return e.mainContent},reportingReasons:function(e){return e.reportingReasons},contentComments:function(e){return e.contentComments},commentReplies:function(e){return e.commentReplies},commenterUsers:function(e){return e.commenterUsers}},actions:Z,mutations:ne},ue=function(e,t){return e.map(function(e){return{id:e.id,title:e.title,subtitle:e.subtitle,votes:e.votes,image:e.image,selected:!!e.selected,percent:Math.round(100*e.votes/t)}})};function pe(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return de(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(de(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,de(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,de(p,"constructor",c),de(c,"constructor",l),l.displayName="GeneratorFunction",de(c,o,"GeneratorFunction"),de(p),de(p,o,"Generator"),de(p,r,function(){return this}),de(p,"toString",function(){return"[object Generator]"}),(pe=function(){return{w:i,m:d}})()}function de(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}de=function(e,t,n,r){function i(t,n){de(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},de(e,t,n,r)}function fe(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}n.dn(ue);const me={toggleShowResults:function(e){var t=e.state;(0,e.commit)("setShowResults",!t.showResults)},preLoad:function(e,t){var n=e.dispatch,r=e.commit,o=t.pollId,i=t.cachedOptions,a=t.cachedVotes,s=t.cachedActive;r("setOptions",ue(i,a)||[]),r("setTotalVotes",a),r("setActive",s),n("loadPoll",o)},loadPoll:function(e,t){return(n=pe().m(function n(){var r,o;return pe().w(function(n){for(;;)switch(n.n){case 0:return r=e.dispatch,o=e.commit,r("setLoading",!0),o("setPollId",t),n.n=1,r("getPollData",t);case 1:r("setLoading",!1);case 2:return n.a(2)}},n)}),function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){fe(i,r,o,a,s,"next",e)}function s(e){fe(i,r,o,a,s,"throw",e)}a(void 0)})})();var n},setLoading:function(e,t){var n=e.state,r=e.commit;n.loading!==t&&r("setLoading",t)},getPollData:function(e,t){var n=e.dispatch,r=e.commit;return function(e){return U.S.get("/api/front/poll/".concat(e))}(t).then(function(e){e&&(r("setOptions",ue(e.options,e.totalVotes)||[]),r("setTotalVotes",e.totalVotes),r("setActive",e.active),n("checkLocalStoragePoll",t))}).catch(function(e){n("pushHttpRequestError",e,{root:!0})})},checkLocalStoragePoll:function(e,t){var n=e.commit,r=JSON.parse(localStorage.getItem("ara-voted-polls"));if(r){var o=r.find(function(e){return e.pollId===t});o&&(n("selectOption",o.votedOptionId),n("setVotedOption",o.votedOptionId),n("setShowResults",!0))}},selectOption:function(e,t){(0,e.commit)("selectOption",t)},votePoll:function(e,t){var n=e.state,r=e.dispatch,o=e.commit;return r("setLoading",!0),function(e,t){return U.S.post("/api/front/poll/".concat(e,"/vote/").concat(t))}(n.pollId,t).then(function(){o("voteOption",t),o("setVotedOption",t),o("setOptions",ue(n.options,n.totalVotes+1)||[]),o("setTotalVotes",n.totalVotes+1);var e=JSON.parse(localStorage.getItem("ara-voted-polls"))||[];e.push({pollId:n.pollId,votedOptionId:t}),localStorage.setItem("ara-voted-polls",JSON.stringify(e)),o("setShowResults",!0),r("setLoading",!1)}).catch(function(e){r("pushHttpRequestError",e,{root:!0})})}};function he(e){return he="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},he(e)}function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function be(e,t,n){return(t=function(e){var t=function(e){if("object"!=he(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=he(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==he(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ye={namespaced:!0,state:{showResults:!1,loading:!0,pollId:null,options:[],totalVotes:null,active:!0,votedOptionId:null},getters:{showResults:function(e){return e.showResults},loading:function(e){return e.loading},pollId:function(e){return e.pollId},options:function(e){return e.options},totalVotes:function(e){return e.totalVotes},active:function(e){return e.active},votedOptionId:function(e){return e.votedOptionId}},actions:me,mutations:{setShowResults:function(e,t){e.showResults=t},setLoading:function(e,t){e.loading=t},setPollId:function(e,t){e.pollId=t},setOptions:function(e,t){e.options=t},setTotalVotes:function(e,t){e.totalVotes=t},setActive:function(e,t){e.active=t},selectOption:function(e,t){var n=e.options.find(function(e){return e.id===t}).selected;e.options=e.options.map(function(e){return ve(ve({},e),{},{selected:!1})}),e.options.find(function(e){return e.id===t}).selected=!n},voteOption:function(e,t){e.options.find(function(e){return e.id===t}).votes+=1},setVotedOption:function(e,t){e.votedOptionId=t}}},we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return U.S.get("/api/front/archive/publications",{params:e})};function Ce(e){return Ce="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},Ce(e)}function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_e(Object(n),!0).forEach(function(t){ke(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ke(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ce(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ce(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(e){return function(e){if(Array.isArray(e))return Pe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Pe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var xe=function(e){return e?"defaultResults":"results"};const Oe={namespaced:!0,state:{loading:!1,paginatedNextPage:null,defaultResults:{order:"desc",items:[],currentPage:0,numPages:0,totalItems:0},results:{order:"desc",items:[],currentPage:0,numPages:0,totalItems:0},app:{savedPDFs:[],savedPDFsFetched:!1}},getters:{paginatedNextPage:function(e){return e.paginatedNextPage},loading:function(e){return e.loading},order:function(e){return function(t){return e[t?"defaultResults":"results"].order}},items:function(e){return function(t){return e[t?"defaultResults":"results"].items}},currentPage:function(e){return function(t){return e[t?"defaultResults":"results"].currentPage}},numPages:function(e){return function(t){return e[t?"defaultResults":"results"].numPages}},totalItems:function(e){return function(t){return e[t?"defaultResults":"results"].totalItems}},downloadedPDFs:function(e){return e.app.savedPDFs},appSavedPDFsFetched:function(e){return e.app.savedPDFsFetched}},actions:{preLoad:function(e,t){var n=e.commit,r=t.defaultResults;n("setPaginatedNextPage",t.paginatedNextPage),n("setOrder",{byDefault:!0,order:r.order}),n("setItems",{byDefault:!0,items:r.items}),n("setCurrentPage",{byDefault:!0,currentPage:r.currentPage}),n("setNumPages",{byDefault:!0,numPages:r.numPages}),n("setTotalItems",{byDefault:!0,totalItems:r.totalItems})},setLoading:function(e,t){var n=e.state,r=e.commit;n.loading!==t&&r("setLoading",t)},setPaginatedNextPage:function(e,t){(0,e.commit)("setPaginatedNextPage",t)},loadItems:function(e,t){var n=e.dispatch,r=e.commit;return n("setLoading",!0),we(t).then(function(e){e&&(r("setOrder",{byDefault:!1,order:e.order}),r("setItems",{byDefault:!1,items:e.items}),r("setCurrentPage",{byDefault:!1,currentPage:e.currentPage}),r("setNumPages",{byDefault:!1,numPages:e.numPages}),r("setTotalItems",{byDefault:!1,totalItems:e.totalItems}))}).catch(function(e){n("pushHttpRequestError",e,{root:!0})}).finally(function(){n("setLoading",!1)})},loadMoreItems:function(e,t){var n=e.dispatch,r=e.commit;return n("setLoading",!0),we({edition:t.edition,publication:t.publication,date:t.date,order:t.order,page:t.page+1}).then(function(e){r("appendItems",{byDefault:!!t.byDefault,items:e.items||[]}),r("setCurrentPage",{byDefault:!!t.byDefault,currentPage:e.currentPage}),r("setNumPages",{byDefault:!!t.byDefault,numPages:e.numPages}),r("setTotalItems",{byDefault:!!t.byDefault,totalItems:e.totalItems})}).catch(function(e){n("pushHttpRequestError",e,{root:!0})}).finally(function(){n("setLoading",!1)})},setSavedPDFs:function(e,t){(0,e.commit)("setSavedPDFs",t.map(function(e){return Se(Se({},e),{id:Number(e.id)||e.id})}))}},mutations:{setPaginatedNextPage:function(e,t){e.paginatedNextPage=t},setLoading:function(e,t){e.loading=t},setOrder:function(e,t){var n=t.byDefault,r=t.order;e[xe(n)].order=r},setItems:function(e,t){var n=t.byDefault,r=t.items;e[xe(n)].items=r},setCurrentPage:function(e,t){var n=t.byDefault,r=t.currentPage;e[xe(n)].currentPage=r},setNumPages:function(e,t){var n=t.byDefault,r=t.numPages;e[xe(n)].numPages=r},setTotalItems:function(e,t){var n=t.byDefault,r=t.totalItems;e[xe(n)].totalItems=r},appendItems:function(e,t){var n=t.byDefault,r=t.items;e[xe(n)].items=[].concat(Ae(e[xe(n)].items),Ae(r))},setSavedPDFs:function(e,t){e.app.savedPDFs=t,e.app.savedPDFsFetched=!0}}},Ie={namespaced:!0,state:{loaded:!1,show:!1,appliedFilters:[],selectedFilters:[]},getters:{loaded:function(e){return e.loaded},show:function(e){return e.show},appliedFilters:function(e){return e.appliedFilters},selectedFilters:function(e){return e.selectedFilters}}
2,actions:{setLoaded:function(e,t){(0,e.commit)("setLoaded",t)},setShow:function(e,t){(0,e.commit)("setShow",t)},setAppliedFilters:function(e,t){(0,e.commit)("setAppliedFilters",M()(t))},setSelectedFilters:function(e,t){(0,e.commit)("setSelectedFilters",M()(t))},selectedFiltersPush:function(e,t){(0,e.commit)("selectedFiltersPush",t)},setSelectedFilterValue:function(e,t){(0,e.commit)("setSelectedFilterValue",{name:t.name,value:t.value})}},mutations:{setLoaded:function(e,t){e.loaded=t},setShow:function(e,t){e.show=t},setAppliedFilters:function(e,t){e.appliedFilters=t},setSelectedFilters:function(e,t){e.selectedFilters=t},selectedFiltersPush:function(e,t){e.selectedFilters.push(t)},setSelectedFilterValue:function(e,t){var n=t.name,r=t.value;e.selectedFilters.find(function(e){return e.name===n}).value=r}}};n(30973),n(36169);const Le={appUIVisibility:function(e){return e.appUIVisibility},lang:function(){return document.documentElement.lang||"ca"},channel:function(e){return e.channel},platform:function(e){return e.platform},darkMode:function(e){return e.darkMode},breakpoint:function(e){return e.breakpoint},menuMobile:function(e){return e.menuMobile},snackbarQueue:function(e){return e.snackbarQueue},displayVisor:function(e){return e.displayVisor},runningInApp:function(e){return"app"===e.channel},runningInAppAndroid:function(e){return"app"===e.channel&&"Android"===e.platform},runningInAppApple:function(e){return"app"===e.channel&&"iOS"===e.platform},runningInIOS:function(e){return"iOS"===e.platform},runningInAppTestMode:function(){return"1"===new URLSearchParams(window.location.search).get("app-test-mode")},httpRequestsErrors:function(e){return e.httpRequestsErrors},headerShowElements:function(e){return e.header.showElements},headerSticky:function(e){return e.header.sticky},headerStickable:function(e){return e.header.stickable},headerOpenMenu:function(e){return e.header.openMenu},env:function(e){return e.env},site:function(e){return e.site},translationUrls:function(e){return e.translationUrls},modals:function(e){return e.modals},permissionManager:function(e){return e.permissionManager},featureFlags:function(e){return e.featureFlags},isHome:function(e){return e.isHome},preview:function(e){return e.preview},contentId:function(e){return e.contentId},runningInShowroom:function(e){return e.runningInShowroom},marfeelNativeEnabled:function(e){return e.marfeelNativeEnabled}},Ee={setChannel:function(e,t){(0,e.commit)("setChannel",t)},setPlatform:function(e,t){(0,e.commit)("setPlatform",t)},setDarkMode:function(e,t){var n=e.commit,r=t===a.fS||document.body.classList.contains("force-dark-mode")||t===a.Qm&&window.matchMedia("(prefers-color-scheme: dark)").matches;n("setDarkMode",r),document.body.classList.toggle("dark-mode",r),document.body.classList.toggle("light-mode",!r)},setBreakpoint:function(e,t){(0,e.commit)("setBreakpoint",t)},setMenuMobile:function(e,t){(0,e.commit)("setMenuMobile",t)},setDisplayVisor:function(e,t){(0,e.commit)("setDisplayVisor",t)},pushHttpRequestError:function(e,t){var n=e.state,r=e.commit,o=M()(n.httpRequestsErrors);o.push(t),r("setHttpRequestsErrors",o.map(function(e){return function(e){return{message:e&&e.message?e.message:null,type:e&&e.apiInfo?e.apiInfo.type:null,text:e&&e.apiInfo?e.apiInfo.text:null}}(e)}))},showSnackbar:function(e,t){var n=e.state,r=e.commit,o=M()(n.snackbarQueue);o.push(t),r("setSnackbarQueue",o)},removeLastSnackbar:function(e){var t=e.state,n=e.commit,r=M()(t.snackbarQueue);r.shift(),n("setSnackbarQueue",r)},setHeaderOpenMenu:function(e,t){(0,e.commit)("setHeaderScrollValue",{openMenu:t})},handleHeaderScroll:function(e){var t=e.state,n=e.commit,r=window.pageYOffset||document.documentElement.scrollTop;if(Math.abs(t.header.lastScrollPosition-r)<=t.header.delta)n("setHeaderScrollValue",{lastScrollPosition:r});else{if(r<300)return n("setHeaderScrollValue",{showElements:!0,sticky:!1,stickable:!1,lastScrollPosition:r}),void n("setHeaderScrollValue",{lastScrollPosition:r});r>t.header.lastScrollPosition?n("setHeaderScrollValue",{showElements:t.header.openMenu,sticky:t.header.openMenu,stickable:!0}):n("setHeaderScrollValue",{showElements:!0,sticky:!0,stickable:!1}),n("setHeaderScrollValue",{lastScrollPosition:r})}},setEnv:function(e,t){(0,e.commit)("setEnv",t)},setSite:function(e,t){(0,e.commit)("setSite",t)},setTranslationUrls:function(e,t){(0,e.commit)("setTranslationUrls",t)},updateMobileAppUIVisibility:function(e,t){(0,e.commit)("setMobileAppUIVisibility",t)},initModals:function(e){var t=e.commit,n=e.state;if(n.user&&n.user.current&&n.user.current.id){var r="https://subscripcions.ara.cat/portada/pagament-pendent";"PRE"!==n.env&&"INT"!==n.env&&"DEV"!==n.env||(r="https://subscripcions.ara.cat.bbnx.pre.bitban.com/portada/pagament-pendent"),6===n.site.id&&(r="https://subscripcions.arabalears.cat/portada/pagament-pendent","PRE"!==n.env&&"INT"!==n.env&&"DEV"!==n.env||(r="https://subscripcions.ara.cat.bbnx.pre.bitban.com/portada/pagament-pendent")),"app"===n.channel&&n.user.jwtToken&&
2(r="".concat(r,"?token=").concat(n.user.jwtToken)),t("setModals",[{name:"unpaidSubscriber",showFunction:function(e){var t=e.currentUser;return t&&4===t.type},showInUrl:"/",showEvery:864e5,title:"modal.unpaidSubscriber.title",text:"modal.unpaidSubscriber.text",buttonText:"modal.unpaidSubscriber.buttonText",buttonUrl:r},{name:"unpaidRegistered",showFunction:function(e){var t=e.currentUser;return t&&5===t.type},showInUrl:"/",showOnce:!0,title:"modal.unpaidRegistered.title",text:"modal.unpaidRegistered.text",buttonText:"modal.unpaidRegistered.buttonText",buttonUrl:r},{name:"bannedComments",manual:!0,title:"comments.modal.bannedTitle",buttonText:"comments.modal.bannedButton",closeOnButtonClick:!0}])}},setModals:function(e,t){(0,e.commit)("setModals",t)},setPermissionManager:function(e,t){(0,e.commit)("setPermissionManager",t)},setFeatureFlags:function(e,t){(0,e.commit)("setFeatureFlags",t)},setIsHome:function(e,t){(0,e.commit)("isHome",t)},setPreview:function(e,t){(0,e.commit)("setPreview",t)},setContentId:function(e,t){(0,e.commit)("setContentId",t)},setRunningInShowroom:function(e,t){(0,e.commit)("setRunningInShowroom",t)},marfeelNativeEnabled:function(e,t){(0,e.commit)("setMarfeelNativeEnabled",t)},updateMarfeelNativeEnabled:function(e){var t=e.getters;console.debug("APP updateMarfeelNativeEnabled - ".concat(t.marfeelNativeEnabled)),window.marfeelNativeEnabled=t.marfeelNativeEnabled||!1}};n(29206);const je={setChannel:function(e,t){e.channel=t},setPlatform:function(e,t){e.platform=t},setDarkMode:function(e,t){e.darkMode=t},setBreakpoint:function(e,t){e.breakpoint=t},setMenuMobile:function(e,t){e.menuMobile=t},setDisplayVisor:function(e,t){e.displayVisor=t},setHttpRequestsErrors:function(e,t){e.httpRequestsErrors=t},setSnackbarQueue:function(e,t){e.snackbarQueue=t},setHeaderScrollValue:function(e,t){Object.assign(e.header,t)},setEnv:function(e,t){e.env=t},setSite:function(e,t){e.site=t},setTranslationUrls:function(e,t){e.translationUrls=t},setMobileAppUIVisibility:function(e,t){var n=t.bottomNavigation;e.appUIVisibility.bottomNavigation=Boolean(n)},setModals:function(e,t){e.modals=t},setPermissionManager:function(e,t){e.permissionManager=t},setFeatureFlags:function(e,t){e.featureFlags=t||{}},isHome:function(e,t){e.isHome=t},setPreview:function(e,t){e.preview=t},setContentId:function(e,t){e.contentId=t},setRunningInShowroom:function(e,t){e.runningInShowroom=t},setMarfeelNativeEnabled:function(e,t){e.marfeelNativeEnabled=t}};o().use(i.Ay);const Te=new i.Ay.Store({state:{appUIVisibility:{bottomNavigation:!1},channel:"web",platform:null,darkMode:!1,breakpoint:null,menuMobile:!1,snackbarQueue:[],displayVisor:!1,httpRequestsErrors:[],header:{sticky:!1,stickable:!1,showElements:!0,delta:5,lastScrollPosition:0,openMenu:!1},env:null,site:{alias:null,id:null,mediaId:null,name:null,scheme:null,staticUrl:null,url:null,twitterAccount:null},translationUrls:null,modals:[],permissionManager:null,featureFlags:{},isHome:!1,preview:!1,contentId:null,runningInShowroom:!1,marfeelNativeEnabled:!1},getters:Le,actions:Ee,mutations:je,modules:{user:B,comments:ce,poll:ye,archive:Oe,filters:Ie},strict:!1})}
2,23055(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 16 20" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M13.3636045,10.6359547 C13.3833437,9.07784171 14.1865573,7.63861928 15.4918379,6.82252133 C14.6646545,5.62109847 13.3288456,4.88667927 11.8873805,4.84081371 C10.3708416,4.67892882 8.9006233,5.7636935 8.1278229,5.7636935 C7.3400669,5.7636935 6.15021916,4.85688647 4.86894957,4.88369584 C3.18313289,4.93908573 1.64959383,5.89021415 0.82940972,7.38909088 C-0.91720548,10.4644262 0.38561232,14.9841336 2.05872338,17.4700025 C2.89581626,18.6872619 3.87413752,20.0469719 5.15425112,19.9987536 C6.40691921,19.9459155 6.87476644,19.1864085 8.3868439,19.1864085 C9.884887,19.1864085 10.3238257,19.9987536 11.6299128,19.9680959 C12.974084,19.9459063 13.8209756,18.7454269 14.6286994,17.5166411 C15.2301492,16.6492993 15.6929639,15.6906978 16,14.6763447 C14.4035328,13.9896531 13.3654678,12.3987736 13.3636045,10.6359547 L13.3636045,10.6359547 Z M10.8966414,3.20593798 C11.6295394,2.31118269 11.9906104,1.16112634 11.9031759,0 C10.7834707,0.119600187 9.7491769,0.663832446 9.0063775,1.52425836 C8.2728973,2.37318417 7.90131797,3.4838064 7.97348132,4.61150586 C9.1082004,4.62338756 10.1855921,4.10533612 10.8966414,3.20593798 L10.8966414,3.20593798 Z"></path></svg>\n'])},56537(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 19 17" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M10.543,13.485 L10.543,8.105 C6.883,8.5 5.931,9.397 5.931,12.051 C5.931,13.736 6.846,14.777 8.274,14.777 C9.152,14.777 10.068,14.239 10.543,13.485 M0,12.59 C0,11.191 0.842,9.613 2.38,8.788 C4.942,7.425 9.043,7.784 10.543,7.39 L10.543,4.16 C10.543,1.72 9.811,0.717 8.017,0.717 C7.065,0.717 6.187,0.967 5.565,1.363 C6.26,1.973 6.59,2.653 6.59,3.513 C6.59,5.163 5.637,6.168 3.807,6.168 C2.269,6.168 1.025,5.021 1.025,3.55 C1.025,1.364 3.331,0 8.969,0 C13.765,0 16.144,1.722 16.144,5.918 L16.144,13.628 C16.144,15.386 16.877,15.78 18.78,14.956 L19,15.35 C17.609,16.318 16.4,16.964 14.827,16.964 C12.337,16.964 11.275,16.031 10.872,14.239 L10.726,14.239 C9.446,15.673 7.761,17 5.271,17 C1.611,17 0,14.704 0,12.589"></path></svg>\n'])},64172(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon id="path-1" points="16 7 3.83 7 9.42 1.41 8 0 0 8 8 16 9.41 14.59 3.83 9 16 9"></polygon></svg>\n'])},13670(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 18 12" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M18,10 L18,12 L0,12 L0,10 L18,10 Z M18,5 L18,7 L0,7 L0,5 L18,5 Z M18,0 L18,2 L0,2 L0,0 L18,0 Z"></path></svg>\n'])},57376(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <path d="M16.667 5H14.85c.092-.258.15-.542.15-.833a2.497 2.497 0 00-4.583-1.375L10 3.35l-.417-.567A2.51 2.51 0 007.5 1.667a2.497 2.497 0 00-2.5 2.5c0 .291.058.575.15.833H3.333c-.925 0-1.658.742-1.658 1.667l-.008 9.166A1.66 1.66 0 003.333 17.5h13.334a1.66 1.66 0 001.666-1.667V6.667A1.66 1.66 0 0016.667 5zM12.5 3.333c.458 0 .833.375.833.834A.836.836 0 0112.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm-5 0c.458 0 .833.375.833.834A.836.836 0 017.5 5a.836.836 0 01-.833-.833c0-.459.375-.834.833-.834zm9.167 12.5H3.333v-1.666h13.334v1.666zm0-4.166H3.333v-5h4.234L5.833 9.025l1.35.975L10 6.167 12.817 10l1.35-.975-1.734-2.358h4.234v5z"/>\n</svg>'])},95671(e,t,n){n.d(t,["A",0,'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM14.59 5.58L8 12.17L5.41 9.59L4 11L8 15L16 7L14.59 5.58Z" fill="#56A900"/>\n</svg>\n'])},56095(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg"><polygon points="14 1.41 12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7"></polygon></svg>\n'])},90988(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M16.2,13.653 L15.147,12.6 L1.8,12.6 L1.8,1.8 L16.2,1.8 L16.2,13.653 Z M16.2,0 L1.8,0 C0.81,0 0,0.81 0,1.8 L0,12.6 C0,13.59 0.81,14.4 1.8,14.4 L14.4,14.4 L18,18 L18,1.8 C18,0.81 17.19,0 16.2,0 Z"></path></svg>\n'])},29930(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 12 8" version="1.1" xmlns="http://www.w3.org/2000/svg"><polygon points="1.41 0.59 6 5.17 10.59 0.59 12 2 6 8 0 2"></polygon></svg>\n'])},20919(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0H5V5H0V8H5V13H8V8H13V5H8V0Z" fill="#FFB900"/>\n</svg>\n'])},22361(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
2<path d="M18,9 C18,4.02912 13.97088,0 9,0 C4.02912,0 0,4.02912 0,9 C0,13.4928 3.29112,17.2152 7.59384,17.89056 L7.59384,11.60136 L5.30856,11.60136 L5.30856,9 L7.59384,9 L7.59384,7.01712 C7.59384,4.76136 8.93736,3.51576 10.99296,3.51576 C11.97792,3.51576 13.00752,3.69144 13.00752,3.69144 L13.00752,5.90616 L11.8728,5.90616 C10.75464,5.90616 10.40616,6.60024 10.40616,7.3116 L10.40616,9 L12.9024,9 L12.50352,11.60136 L10.40616,11.60136 L10.40616,17.89056 C14.7096,17.2152 18,13.4928 18,9"></path></svg>\n\n'])},34289(e,t,n){n.d(t,["A",0,'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M13.23 6.90342C13.23 6.42478 13.187 5.96455 13.1073 5.52274H6.75V8.13376H10.3827C10.2263 8.97751 9.75068 9.69239 9.0358 10.171V11.8647H11.2173C12.4936 10.6896 13.23 8.9591 13.23 6.90342Z" fill="#4285F4"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M6.75006 13.5C8.57256 13.5 10.1005 12.8955 11.2173 11.8646L9.03586 10.171C8.43143 10.576 7.65825 10.8153 6.75006 10.8153C4.99199 10.8153 3.50393 9.62793 2.97313 8.03247H0.718018V9.78133C1.8287 11.9874 4.11143 13.5 6.75006 13.5Z" fill="#34A853"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M2.97307 8.03246C2.83807 7.62746 2.76136 7.19485 2.76136 6.74996C2.76136 6.30507 2.83807 5.87246 2.97307 5.46746V3.7186H0.717955C0.260795 4.62985 0 5.66076 0 6.74996C0 7.83917 0.260795 8.87008 0.717955 9.78133L2.97307 8.03246Z" fill="#FBBC05"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M6.75006 2.68466C7.74109 2.68466 8.63086 3.02523 9.3304 3.69409L11.2664 1.75807C10.0974 0.668864 8.56949 0 6.75006 0C4.11143 0 1.8287 1.51261 0.718018 3.71864L2.97313 5.4675C3.50393 3.87205 4.99199 2.68466 6.75006 2.68466Z" fill="#EA4335"/>\n</svg>\n'])},19632(e,t,n){n.d(t,["A",0,'<svg width="16px" height="17px" viewBox="0 0 16 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>logo_google</title>\n <g id="App-y-Desktop" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="DESK-Mensajes-1,-2-y-3" transform="translate(-938.000000, -333.000000)" fill-rule="nonzero">\n <g id="Group-5-Copy" transform="translate(921.000000, 318.000000)">\n <g id="Group" transform="translate(16.000000, 14.000000)">\n <g id="google-icon" transform="translate(1.000000, 1.000000)">\n <path d="M15.9989239,8.34410301 C15.9989239,7.67295329 15.9444641,7.18319032 15.8266033,6.67529492 L8.16271627,6.67529492 L8.16271627,9.70453488 L12.6612452,9.70453488 C12.5705831,10.457343 12.0808201,11.5910571 10.9924371,12.3528689 L10.9771808,12.4542854 L13.4003602,14.3314913 L13.5682414,14.3482482 C15.11006,12.9242903 15.9989239,10.8291827 15.9989239,8.34410301" id="Path" fill="#4285F4"></path>\n <path d="M8.16271627,16.3254325 C10.3666184,16.3254325 12.2168132,15.599823 13.5682414,14.3482482 L10.9924371,12.3528689 C10.3031549,12.8335657 9.37802623,13.1691406 8.16271627,13.1691406 C6.00414519,13.1691406 4.17208277,11.7452452 3.51900294,9.7771271 L3.42327626,9.78525543 L0.903619881,11.7352411 L0.870668893,11.8268411 C2.21296834,14.4933076 4.97015945,16.3254325 8.16271627,16.3254325" id="Path" fill="#34A853"></path>\n <path d="M3.51900294,9.7771271 C3.34668241,9.2692317 3.24695408,8.72500893 3.24695408,8.16271627 C3.24695408,7.60036108 3.34668241,7.05620083 3.50993673,6.54830544 L3.50537236,6.44013616 L0.954140561,4.45882514 L0.870668893,4.4985289 C0.31744244,5.60504433 0,6.84761545 0,8.16271627 C0,9.47781708 0.31744244,10.7203257 0.870668893,11.8268411 L3.51900294,9.7771271" id="Path" fill="#FBBC05"></path>\n <path d="M8.16271627,3.15622945 C9.69546867,3.15622945 10.7293919,3.81831296 11.3189457,4.37160194 L13.6226387,2.12230623 C12.2078096,0.807205416 10.3666184,0 8.16271627,0 C4.97015945,0 2.21296834,1.83206242 0.870668893,4.4985289 L3.50993673,6.54830544 C4.17208277,4.58018732 6.00414519,3.15622945 8.16271627,3.15622945" id="Path" fill="#EB4335"></path>\n </g>\n </g>\n </g>\n </g>\n </g>\n</svg>\n'])}
2,59494(e,t,n){n.d(t,["A",0,'<svg width="10" height="10" viewBox="0 0 10 10" fill="#0076A8" xmlns="http://www.w3.org/2000/svg">\n <path d="M5 0C2.24 0 0 2.24 0 5C0 7.76 2.24 10 5 10C7.76 10 10 7.76 10 5C10 2.24 7.76 0 5 0ZM5.5 7.5H4.5V6.5H5.5V7.5ZM5.5 5.5H4.5V2.5H5.5V5.5Z"/>\n</svg>\n'])},21362(e,t,n){n.d(t,["A",0,'<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 7.4 12" style="enable-background:new 0 0 7.4 12;" xml:space="preserve"><polygon points="7.4,1.4 2.8,6 7.4,10.6 6,12 0,6 6,0 "/></svg>\n'])},7712(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 20 19" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M14.5,0 C12.76,0 11.09,0.81 10,2.09 C8.91,0.81 7.24,0 5.5,0 C2.42,0 0,2.42 0,5.5 C0,9.28 3.4,12.36 8.55,17.04 L10,18.35 L11.45,17.03 C16.6,12.36 20,9.28 20,5.5 C20,2.42 17.58,0 14.5,0 Z M10.1,15.55 L10,15.65 L9.9,15.55 C5.14,11.24 2,8.39 2,5.5 C2,3.5 3.5,2 5.5,2 C7.04,2 8.54,2.99 9.07,4.36 L10.94,4.36 C11.46,2.99 12.96,2 14.5,2 C16.5,2 18,3.5 18,5.5 C18,8.39 14.86,11.24 10.1,15.55 Z"></path></svg>\n'])},36675(e,t,n){n.d(t,["A",0,'<svg width="21" height="19" viewBox="0 0 21 19" fill="#555555" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 9L2 4V14H11V16H2C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H18C18.55 0 19.0208 0.195833 19.4125 0.5875C19.8042 0.979167 20 1.45 20 2V9H18V4L10 9ZM10 7L18 2H2L10 7ZM17 19L15.6 17.6L17.175 16H13V14H17.175L15.575 12.4L17 11L21 15L17 19ZM2 4V15V9V9.075V2V4Z"/>\n</svg>\n'])},44504(e,t,n){n.d(t,["A",0,'<svg width="20" height="20" viewBox="0 0 20 20" fill="#56A900" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM14.59 5.58L8 12.17L5.41 9.59L4 11L8 15L16 7L14.59 5.58Z"/>\n</svg>\n'])},62139(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 18 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon id="path-1" points="5.6 10.6 1.4 6.4 -5.77315973e-15 7.8 5.6 13.4 17.6 1.4 16.2 -3.62376795e-13"></polygon></svg>'])},62479(e,t,n){n.d(t,["A",0,'<svg width="12" height="12" viewBox="0 0 12 12" fill="#0076A8" xmlns="http://www.w3.org/2000/svg">\n <path d="M1.33333 12C0.966667 12 0.652778 11.8694 0.391667 11.6083C0.130556 11.3472 0 11.0333 0 10.6667V1.33333C0 0.966667 0.130556 0.652778 0.391667 0.391667C0.652778 0.130556 0.966667 0 1.33333 0H6V1.33333H1.33333V10.6667H10.6667V6H12V10.6667C12 11.0333 11.8694 11.3472 11.6083 11.6083C11.3472 11.8694 11.0333 12 10.6667 12H1.33333ZM4.46667 8.46667L3.53333 7.53333L9.73333 1.33333H7.33333V0H12V4.66667H10.6667V2.26667L4.46667 8.46667Z" />\n</svg>\n'])},12500(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 20 14" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M7,8.75 C4.66,8.75 0,9.92 0,12.25 L0,14 L14,14 L14,12.25 C14,9.92 9.34,8.75 7,8.75 Z M2.34,12 C3.18,11.42 5.21,10.75 7,10.75 C8.79,10.75 10.82,11.42 11.66,12 L2.34,12 Z M7,7 C8.93,7 10.5,5.43 10.5,3.5 C10.5,1.57 8.93,0 7,0 C5.07,0 3.5,1.57 3.5,3.5 C3.5,5.43 5.07,7 7,7 Z M7,2 C7.83,2 8.5,2.67 8.5,3.5 C8.5,4.33 7.83,5 7,5 C6.17,5 5.5,4.33 5.5,3.5 C5.5,2.67 6.17,2 7,2 Z M14.04,8.81 C15.2,9.65 16,10.77 16,12.25 L16,14 L20,14 L20,12.25 C20,10.23 16.5,9.08 14.04,8.81 L14.04,8.81 Z M13,7 C14.93,7 16.5,5.43 16.5,3.5 C16.5,1.57 14.93,0 13,0 C12.46,0 11.96,0.13 11.5,0.35 C12.13,1.24 12.5,2.33 12.5,3.5 C12.5,4.67 12.13,5.76 11.5,6.65 C11.96,6.87 12.46,7 13,7 Z"></path></svg>\n'])},73421(e,t,n){n.d(t,["A",0,'<svg width="17" height="21" viewBox="0 0 17 21" fill="black" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0V21L16.5 10.5L0 0Z"/>\n</svg>\n'])},14337(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg"><polygon points="14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"></polygon></svg>\n'])},22499(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 24 21" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M23.104,21 L23.104,10.651 L19.104,10.651 C19.104,8.654 19.463,7.141 20.119,6.173 C20.776,5.205 22.029,4.115 24,2.844 L24,0 C20.776,0.908 18.209,2.3 16.299,4.115 C14.389,5.991 13.433,8.957 13.433,13.072 L13.433,21 L23.104,21 Z M9.672,21 L9.672,10.651 L5.732,10.651 C5.732,8.654 6.03,7.141 6.687,6.173 C7.343,5.205 8.597,4.115 10.567,2.844 L10.567,0 C7.343,0.908 4.777,2.3 2.866,4.115 C0.956,5.991 0,8.957 0,13.072 L0,21 L9.672,21 Z"></path></svg>\n'])},585(e,t,n){n.d(t,["A",0,'<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 7.4 12" style="enable-background:new 0 0 7.4 12;" xml:space="preserve"><polygon points="0,10.6 4.6,6 0,1.4 1.4,0 7.4,6 1.4,12 "/></svg>\n'])},7430(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 14 18" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M12,0 L2,0 C0.9,0 0,0.9 0,2 L0,18 L7,15 L14,18 L14,2 C14,0.9 13.1,0 12,0 Z M12,15 L7,12.82 L2,15 L2,2 L12,2 L12,15 Z"></path></svg>\n'])},19184(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 14 18" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M12,0 L2,0 C0.9,0 0,0.9 0,2 L0,18 L7,15 L14,18 L14,2 C14,0.9 13.1,0 12,0 Z"></path></svg>\n'])},95890(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 18 20" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M15,14.08 C14.24,14.08 13.56,14.38 13.04,14.85 L5.91,10.7 C5.96,10.47 6,10.24 6,10 C6,9.76 5.96,9.53 5.91,9.3 L12.96,5.19 C13.5,5.69 14.21,6 15,6 C16.66,6 18,4.66 18,3 C18,1.34 16.66,0 15,0 C13.34,0 12,1.34 12,3 C12,3.24 12.04,3.47 12.09,3.7 L5.04,7.81 C4.5,7.31 3.79,7 3,7 C1.34,7 0,8.34 0,10 C0,11.66 1.34,13 3,13 C3.79,13 4.5,12.69 5.04,12.19 L12.16,16.35 C12.11,16.56 12.08,16.78 12.08,17 C12.08,18.61 13.39,19.92 15,19.92 C16.61,19.92 17.92,18.61 17.92,17 C17.92,15.39 16.61,14.08
215,14.08 Z M15,2 C15.55,2 16,2.45 16,3 C16,3.55 15.55,4 15,4 C14.45,4 14,3.55 14,3 C14,2.45 14.45,2 15,2 Z M3,11 C2.45,11 2,10.55 2,10 C2,9.45 2.45,9 3,9 C3.55,9 4,9.45 4,10 C4,10.55 3.55,11 3,11 Z M15,18.02 C14.45,18.02 14,17.57 14,17.02 C14,16.47 14.45,16.02 15,16.02 C15.55,16.02 16,16.47 16,17.02 C16,17.57 15.55,18.02 15,18.02 Z"></path></svg>\n'])},95113(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 14 18" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M10.5,1 L9.5,0 L4.5,0 L3.5,1 L0,1 L0,3 L14,3 L14,1 L10.5,1 Z M1,16 C1,17.1 1.9,18 3,18 L11,18 C12.1,18 13,17.1 13,16 L13,4 L1,4 L1,16 Z M3,11 L3,6 L11,6 L11,16 L3,16 L3,11 Z M4.5,6 L6.5,6 L6.5,15 L4.5,15 L4.5,6 Z M7.5,6 L9.5,6 L9.5,15 L7.5,15 L7.5,6 Z"></path></svg>\n'])},22787(e,t,n){n.d(t,["A",0,'<svg fill="#0076a8" width="129px" height="41px" viewBox="0 0 129 41" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Ara</title>\n <path d="M43.7,38.1 L43.7,39.6 L34.6,39.6 C28.8,39.6 25.8,37.6 25.5,33.5 L25,33.5 C21.3,37.9 17,40.1 12.3,40.1 C4.1,40.1 0,36.8 0,30 C0,25.9 1.9,22.9 5.6,20.9 C7.3,19.9 9.4,19.2 12,18.9 C14.6,18.6 17.2,18.3 19.9,18.1 C22.6,17.9 24.1,17.8 24.5,17.8 L24.5,10.2 C24.5,4.8 22.6,2.1 18.9,2.1 C16.5,2.1 14.5,2.6 12.8,3.6 C14.5,5 15.3,6.6 15.3,8.7 C15.3,12.8 13.1,14.8 8.7,14.8 C4.6,14.8 2.6,12.8 2.6,8.7 C2.5,2.9 8.6,0 20.8,0 C32,0 37.6,4.7 37.6,14.2 L37.6,32 C37.6,36.1 39.6,38.1 43.7,38.1 Z M24.4,19.3 C20,19.6 17.1,20.5 15.8,21.8 C14.5,23.1 13.8,25.4 13.8,28.4 C13.8,32.8 15.7,35 19.4,35 C21.4,35 23.1,34 24.5,32 L24.5,19.3 L24.4,19.3 Z M43.7,39.6 L71.1,39.6 L71.1,38.1 C65.7,38.1 63,36.9 63,34.5 L63,10.2 C65.4,6.8 67.6,5.1 69.6,5.1 C69.6,5.4 69.5,6 69.3,6.9 C69.1,7.7 69,8.3 69,8.7 C69,13.1 71.4,15.3 76.1,15.3 C80.5,15.3 82.7,12.8 82.7,7.7 C82.7,2.6 80.1,0 74.7,0 C69.6,0 65.7,2.9 63,8.6 L63,0.5 L44.2,1.5 L44.2,2.5 C48.3,2.5 50.3,3.9 50.3,6.6 L50.3,34 C50.3,36.7 48.1,38.1 43.7,38.1 L43.7,39.6 Z M96.6,40.1 C101.3,40.1 105.6,37.9 109.3,33.5 L109.8,33.5 C110.8,37.9 113.9,40.1 118.9,40.1 C121.6,40.1 124.8,38.9 128.6,36.5 L128.1,35.5 C124,37.2 122,36.2 122,32.5 L122,14.2 C122,4.7 116.4,0 105.2,0 C93,0 86.9,2.9 86.9,8.6 C86.9,12.7 89.1,14.7 93.5,14.7 C97.6,14.7 99.6,12.7 99.6,8.6 C99.6,6.6 98.9,4.9 97.6,3.5 C99,2.5 100.8,2 103.2,2 C106.9,2 108.8,4.7 108.8,10.1 L108.8,17.7 C108.5,17.7 107,17.8 104.5,18 C102,18.2 99.3,18.4 96.6,18.8 C93.9,19.2 91.7,19.8 90,20.8 C86.3,22.8 84.4,25.9 84.4,29.9 C84.4,36.8 88.4,40.1 96.6,40.1 Z M103.7,35.1 C100,35.1 98.1,32.9 98.1,28.5 C98.1,25.5 98.9,23.3 100.4,22.1 C101.9,20.9 104.7,20 108.8,19.3 L108.8,32 C107.4,34.1 105.7,35.1 103.7,35.1 Z"></path>\n</svg>\n'])},18311(e,t,n){n.d(t,{A:()=>Le}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(57406),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(10844),n(55448),n(63343),n(14439),n(17046),n(60473),n(40073),n(36169);var r=n(12829),o=n(21185),i=n(57376),a=n(56095),s=n(90988),l=n(22361),c=n(7430),u=n(19184),p=n(95890);const d='<svg viewBox="0 0 23 20" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M1.298,8.24 L21.252,0.595 C22.178,0.262 22.986,0.819 22.686,2.211 L22.688,2.209 L19.291,18.119 C19.039,19.247 18.364,19.521 17.421,18.989 L12.247,15.199 L9.752,17.589 C9.476,17.864 9.243,18.095 8.708,18.095 L9.076,12.862 L18.665,4.251 C19.082,3.886 18.571,3.681 18.021,4.044 L6.171,11.459 L1.063,9.875 C-0.046,9.525 -0.07,8.773 1.298,8.242 L1.298,8.24 Z"></path></svg>\n',f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 271" width="21" height="19"><path d="m236 0h46l-101 115 118 156h-92.6l-72.5-94.8-83 94.8h-46l107-123-113-148h94.9l65.5 86.6zm-16.1 244h25.5l-165-218h-27.4z"/></svg>\n',m='<svg viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M13.1193365,10.7887553 C12.8954749,10.6772494 11.7948974,10.1383183 11.5896372,10.0638812 C11.384463,9.98952969 11.235222,9.95241805 11.0859809,10.1753872 C10.9367399,10.3984418 10.507747,10.900304 10.3771074,11.0490071 C10.2465537,11.1976675 10.115957,11.2163515 9.89213842,11.1047601 C9.66823389,10.9932542 8.94690215,10.7580143 8.09183771,9.99889311 C7.42635322,9.40814252 6.97704057,8.67852257 6.84648687,8.45542518 C6.71589021,8.2324133 6.83252506,8.11184323 6.94460621,8.00076485 C7.04534606,7.9
20093112 7.16851074,7.74051306 7.28042005,7.61040855 C7.39237232,7.48034679 7.4296611,7.38735392 7.50428162,7.23873634 C7.57890215,7.0899905 7.54161337,6.95992874 7.48563723,6.8484228 C7.4296611,6.73687411 6.98193795,5.64019952 6.79540811,5.19404751 C6.61368974,4.75965321 6.42913604,4.81848456 6.29170883,4.81160095 C6.16128401,4.80514489 6.01187112,4.80377672 5.86267303,4.80377672 C5.71343198,4.80377672 5.47088305,4.85952969 5.26570883,5.08254157 C5.06049165,5.3055962 4.48217184,5.84465558 4.48217184,6.94124466 C4.48217184,8.037962 5.28435322,9.09735392 5.39626253,9.24605701 C5.5082148,9.39480285 6.97480668,11.6451876 9.2205537,12.6102613 C9.7546253,12.8398147 10.1716325,12.9769311 10.4967494,13.0795867 C11.0330119,13.2491971 11.521074,13.2252969 11.9068067,13.1678765 C12.3369165,13.1039572 13.2312888,12.6289454 13.4178186,12.1085273 C13.6043484,11.5880238 13.6043484,11.1419145 13.5483723,11.0490071 C13.4924391,10.9560998 13.3431981,10.900304 13.1193365,10.7887553 Z M9.03466826,16.3394679 L9.0316611,16.3394679 C7.69540811,16.3389549 6.38484487,15.9816912 5.24147971,15.3064133 L4.9695895,15.1457815 L2.15115036,15.881601 L2.90341289,13.1467126 L2.72637709,12.8662803 C1.98094511,11.6863183 1.58722196,10.3225083 1.58782201,8.92209976 C1.58945585,4.83584323 4.93006683,1.51135867 9.03763246,1.51135867 C11.0266539,1.512 12.8963341,2.28394774 14.3023532,3.68486936 C15.7082864,5.08570546 16.4821146,6.94778622 16.4813425,8.92808551 C16.4796659,13.0146841 13.1390979,16.3394679 9.03466826,16.3394679 Z M15.3723866,2.62038955 C13.6808592,0.934931116 11.4313317,0.00632779097 9.03458234,0.00534441805 C4.0962673,0.00534441805 0.0770692124,4.00514964 0.0751360382,8.92154394 C0.0744486874,10.4931021 0.487031026,12.0270784 1.27104057,13.3793872 L0,18.0000428 L4.74955131,16.7600523 C6.05813842,17.4704323 7.5315179,17.8448836 9.03101671,17.8453539 L9.03466826,17.8453539 C9.03496897,17.8453539 9.0344105,17.8453539 9.03471122,17.8453539 C13.9725107,17.8453539 17.9920525,13.8451639 17.994073,8.92868409 C17.9949737,6.54609976 17.063957,4.30580523 15.3723866,2.62038955 L15.3723866,2.62038955 Z"></path></svg>\n';n(28280),n(14809),n(47562),n(1240),n(43813),n(91736);var h=n(28544);var g=n(50968),v=n(95429),b=n(62638),y=n(92299),w=n.n(y);function C(e){return C="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},C(e)}function _(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return S(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(S(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,S(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,S(p,"constructor",c),S(c,"constructor",l),l.displayName="GeneratorFunction",S(c,o,"GeneratorFunction"),S(p),S(p,o,"Generator"),S(p,r,function(){return this}),S(p,"toString",function(){return"[object Generator]"}),(_=function(){return{w:i,m:d}})()}function S(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}S=function(e,t,n,r){function i(t,n){S(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},S(e,t,n,r)}function k(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?A(Object(n),!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t,n){return(t=function(e){var t=function(e){if("object"!=C(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=C(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==C(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const O={name:"template-active",props:{contentId:{type:[String,Number]},shareText:{type:String},shareHref:{type:String},title:{type:String},interviewed:{type:String}},mixins:[g.A,v.A],data:function(){return{iconGiftCard:i.A,iconClose:a.A,iconFiles:'\n<svg viewBox="0 0 15 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M11.0526316,0 L1.57894737,0 C0.710526316,0 0,0.736363636 0,1.63636364 L0,13.0909091 L1.57894737,13.0909091 L1.57894737,1.63636364 L11.0526316,1.63636364 L11.0526316,0 Z M13.4210526,3.27272727 L4.73684211,3.27272727 C3.86842105,3.27272727 3.15789474,4.00909091 3.15789474,4.90909091 L3.15789474,16.3636364 C3.15789474,17.2636364 3.86842105,18 4.73684211,18 L13.4210526,18 C14.2894737,18 15,17.2636364 15,16.3636364 L15,4.90909091 C15,4.00909091 14.2894737,3.27272727 13.4210526,3.27272727 Z M13.4210526,16.3636364 L4.73684211,16.3636364 L4.73684211,4.90909091 L13.4210526,4.90909091 L13.4210526,16.3636364 Z"></path></svg>',iconMail:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_592_1400)">\n <path d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6ZM20 6L12 11L4 6H20ZM20 18H4V8L12 13L20 8V18Z" fill="black"/>\n </g>\n <defs>\n <clipPath id="clip0_592_1400">\n <rect width="24" height="24" fill="white"/>\n </clipPath>\n </defs>\n</svg>\n',iconTwitter:f,iconFacebook:l.A,iconWhatsapp:m,iconTelegram:d,iconInstagram:'<svg viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg">\n <path d="M12.496 0c-3.394 0-3.82.014-5.152.075-1.33.06-2.238.272-3.033.581a6.125 6.125 0 00-2.214 1.441 6.125 6.125 0 00-1.44 2.214c-.31.795-.521 1.703-.582 3.033C.015 8.677 0 9.102 0 12.496s.014 3.82.075 5.152c.06 1.33.272 2.239.581 3.033.32.822.747 1.519 1.441 2.214a6.126 6.126 0 002.214 1.441c.795.309 1.703.52 3.033.58 1.333.062 1.758.076 5.152.076s3.82-.014 5.152-.075c1.33-.06 2.239-.272 3.033-.58a6.126 6.126 0 002.214-1.442 6.126 6.126 0 001.441-2.214c.309-.794.52-1.703.58-3.033.062-1.333.076-1.758.076-5.152s-.014-3.82-.075-5.152c-.06-1.33-.272-2.238-.58-3.033a6.126 6.126 0 00-1.442-2.214A6.125 6.125 0 0020.68.657c-.794-.31-1.703-.521-3.033-.582C16.315.015 15.89 0 12.496 0zm0 2.252c3.337 0 3.732.012 5.05.072 1.218.056 1.88.26 2.32.43.583.227 1 .498 1.437.935.437.438.708.854.934 1.437.172.44.375 1.102.43 2.32.06 1.318.074 1.713.074 5.05 0 3.337-.013 3.732-.073 5.05-.056 1.218-.26 1.88-.43 2.32-.227.583-.498 1-.935 1.437a3.871 3.871 0 01-1.437.934c-.44.172-1.102.375-2.32.43-1.318.06-1.713.074-5.05.074-3.337 0-3.732-.013-5.05-.073-1.218-.056-1.88-.26-2.32-.43-.583-.227-1-.498-1.437-.935a3.872 3.872 0 01-.934-1.437c-.171-.44-.375-1.102-.43-2.32-.06-1.318-.073-1.713-.073-5.05 0-3.337.012-3.732.072-5.05.056-1.218.26-1.88.43-2.32.227-.583.498-1 .935-1.437a3.871 3.871 0 011.437-.934c.44-.171 1.102-.375 2.32-.43 1.318-.06 1.713-.073 5.05-.073z" />\n <path d="M12.5 16.55a4.057 4.057 0 110-8.115 4.057 4.057 0 010 8.114zm0-10.308a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5zM20.313 6.242a1.562 1.562 0 11-3.125 0 1.562 1.562 0 013.125 0"/></svg>\n',iconOk:'<?xml version="1.0" encoding="UTF-8"?><svg id="Capa_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="m21.05,33.1l14.15-14.15-2.3-2.25-11.85,11.85-6-6-2.25,2.25,8.25,8.3Zm2.95,10.9c-2.73,0-5.32-.52-7.75-1.58-2.43-1.05-4.56-2.48-6.38-4.3s-3.25-3.94-4.3-6.38c-1.05-2.43-1.57-5.02-1.57-7.75s.53-5.37,1.57-7.8c1.05-2.43,2.48-4.55,4.3-6.35,1.82-1.8,3.94-3.22,6.38-4.28,2.43-1.05,5.02-1.58,7.75-1.58s5.37.53,7.8,1.57c2.43,1.05,4.55,2.48,6.35,4.28,1.8,1.8,3.23,3.92,4.28,6.35,1.05,2.43,1.58,5.03,1.58,7.8s-.52,5.32-1.58,7.75c-1.05,2.43-2.48,4.56-4.28,6.38-1.8,1.82-3.92,3.25-6.35,4.3-2.43,1.05-5.03,1.58-7.8,1.58Zm0-3c4.73,0,8.75-1.66,12.05-4.97,3.3-3.32,4.95-7.33,4.95-12.03s-1.65-8.75-4.95-12.05c-3.3-3.3-7.32-4.95-12.05-4.95s-8.71,1.65-12.02,4.95c-3.32,3.3-4.98,7.32-4.98,12.05s1.66,8.71,4.98,12.03c3.32,3.32,7.33,4.97,12.02,4.97
2Z"/></svg>',iconShare:p.A,errorMessages:null,hashUrl:null,numberGiftsRemainingUpdate:0,numberMaxGifts:10,appId:0x72a6bfc4a57b,lStorage:null,urlCopiedToClipboard:!1,giftHasBeenGiven:!1,nativeSharing:!1}},mounted:function(){if(this.runningInApp&&(this.nativeSharing=!0),this.runningInApp)return this.numberGiftsRemainingUpdate=this.currentUser.numberGiftsRemaining,void(this.lStorage=JSON.parse(localStorage.getItem(this.storageKey)));var e=w().getJSON("nx-session-user");this.numberGiftsRemainingUpdate=e.numberGiftsRemaining,this.lStorage=JSON.parse(localStorage.getItem(this.storageKey))},computed:P(P(P(P(P(P({},(0,r.L8)("user",["currentUser"])),(0,r.L8)(["runningInApp","site"])),(0,r.L8)("user/interests",["contentIsGifted","storageKey"])),(0,r.L8)(["lang"])),(0,r.L8)(["runningInIOS"])),{},{twitterAccount:function(){return this.site.twitterAccount?this.site.twitterAccount:"diariAra"},lStorageGifts:function(){return this.lStorage?this.lStorage.value.giftItemsIds:null},lStorageGift:function(){var e=this;return this.lStorageGifts?this.lStorageGifts.find(function(t){return t.contentId===e.contentId}):null},lStorageGiftIndex:function(){var e=this;return this.lStorageGifts?this.lStorageGifts.findIndex(function(t){return t.contentId===e.contentId}):null},contentIsGivenAway:function(){if(!this.lStorageGift)return null;if(this.giftHasBeenGiven)return null;if(this.lStorageGift){var e=(0,b.A)(),t=(0,b.A)(this.lStorageGift.giftDate);return e.diff(t,"day")<=7}return!1},contentCanBeShared:function(){return!this.contentIsGivenAway&&this.numberGiftsRemainingUpdate>0},giveAwaySubtitleText:function(){return this.contentIsGivenAway?this.$t("give-away.active-subtitle-gifted"):this.numberGiftsRemainingUpdate===this.numberMaxGifts?this.$t("give-away.active-subtitle-all",{n:this.numberMaxGifts}):0===this.numberGiftsRemainingUpdate?this.$t("give-away.active-subtitle-none",{n:this.numberMaxGifts}):this.$t("give-away.active-subtitle-some",{n:this.numberGiftsRemainingUpdate})},mailSubject:function(){return this.interviewed?"".concat(this.$t("give-away.mail-subject")," ").concat(this.interviewed,": ").concat(this.title):"".concat(this.$t("give-away.mail-subject")," ").concat(this.title)},subtitleLinkHref:function(){return"https://d.ara.cat/info-regals"},twitterText:function(){return this.$t("give-away.twitter-text")},copyText:function(){return this.urlCopiedToClipboard?this.$t("give-away.copied"):this.$t("give-away.copy")},showButtons:function(){return!!this.contentIsGivenAway||!!this.giftHasBeenGiven||0!==this.numberGiftsRemainingUpdate}}),methods:P(P(P({},(0,r.i0)("user",["loadUserSession"])),(0,r.i0)("user/interests",["searchGifts","setGifts"])),{},{closeGiveAway:function(){this.errorMessages=null,this.$emit("close")},generateHash:function(e){var t,n=this;if(this.hashUrl)this.openUrl(e);else{this.errorMessages=null;var r=!0;(t=this.contentId,h.S.post("/api/front/give-away/".concat(t))).then(function(){var t,r=(t=_().m(function t(r){return _().w(function(t){for(;;)switch(t.n){case 0:if(!r){t.n=1;break}if(n.hashUrl=r.hashURL,n.numberGiftsRemainingUpdate=r.numberGiftsRemaining,n.updateStore(),n.giftHasBeenGiven=!0,n.openUrl(e),!n.runningInApp){t.n=1;break}return t.n=1,n.refreshTokenAndGifts();case 1:return t.a(2)}},t)}),function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){k(i,r,o,a,s,"next",e)}function s(e){k(i,r,o,a,s,"throw",e)}a(void 0)})});return function(e){return r.apply(this,arguments)}}()).catch(function(e){n.errorMessages=e,console.log(e),r=!1}).finally(function(){n.runningInApp&&(r?n.searchAndRefreshGifts():n.refreshTokenAndGifts())})}},openUrl:function(e){var t=this;switch(this.$track({category:"content",action:"gift",label:e}),e){case"copy":setTimeout(function(){navigator.clipboard&&navigator.clipboard.writeText(t.hashUrl).then(function(){console.debug("Url copied to clipboard"),t.urlCopiedToClipboard=!0}).catch(function(e){console.error("Error copying URL to clipboard",e),t.errorMessages="An error occurred while copying the url"})});break;case"mail":setTimeout(function(){window.location.href="mailto:?subject=".concat(t.mailSubject,"&body=").concat(t.twitterText," ").concat(t.hashUrl,"&").concat(t.shareUrlRRSS("mail"))});break;case"twitter":setTimeout(function(){window.open("https://twitter.com/intent/tweet?text=".concat(t.twitterText," ").concat(t.hashUrl,"&").concat(t.shareUrlRRSS("twitter")))});break;case"bluesky":setTimeout(function(){window.open("https://bsky.app/intent/compose?text=".concat(t.hashUrl,"&").concat(t.shareUrlRRSS("bsky")))});break;case"facebook":setTimeout(function(){window.open("http://www.facebook.com/dialog/share?app_id=".concat(t.appId,"&href=").concat(t.hashUrl,"&redirect_uri=").concat(t.hashUrl,""e=").concat(t.shareText,"&").concat(t.shareUrlRRSS("facebook")))});break;case"whatsapp":setTimeout(function(){window.open("https://api.whatsapp.com/se
2nd?text=".concat(t.twitterText," ").concat(t.hashUrl,"&").concat(t.shareUrlRRSS("whatsapp")))});break;case"telegram":setTimeout(function(){window.open("https://telegram.me/share/url?url=".concat(t.hashUrl,"&text=").concat(t.twitterText,"&").concat(t.shareUrlRRSS("telegram")))});break;case"native":this.runningInIOS?navigator.share({title:this.$t("actionbar.share-on"),text:this.twitterText,url:this.hashUrl}).then(function(){return console.log("Successful share")}).catch(function(e){return console.log("Error sharing",e)}):this.channelAction("sharePost",{title:this.title,url:this.hashUrl,contentId:this.contentId,desc:"Regalar contingut"})}},shareUrlRRSS:function(e){return"utm_source=Redes-Sociales&utm_medium=".concat(e,"&utm_content=").concat(this.contentId)},updateStore:function(){this.contentIsGivenAway?this.lStorage.value.giftItemsIds[this.lStorageGiftIndex]={contentId:this.contentId,giftDate:(0,b.A)()}:this.lStorage.value.giftItemsIds.push({contentId:this.contentId,giftDate:(0,b.A)()}),localStorage.setItem(this.storageKey,JSON.stringify(this.lStorage)),this.loadUserSession()}})},I=O;var L=n(67658);const E=(0,L.A)(I,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"give-away-wrapper give-away-wrapper--list"},[n("div",{staticClass:"give-away-header"},[n("div",{staticClass:"give-away-title give-away-title--alternative",domProps:{textContent:e._s(e.$t("give-away.active-title"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.closeGiveAway(t)}}})]),e._v(" "),n("div",{staticClass:"give-away-subtitle"},[n("span",{domProps:{textContent:e._s(e.giveAwaySubtitleText)}}),e._v(" "),n("a",{attrs:{href:e.subtitleLinkHref},domProps:{textContent:e._s(e.$t("give-away.active-subtitle-link"))}})]),e._v(" "),e.contentCanBeShared?n("div",{staticClass:"give-away-text",domProps:{textContent:e._s(e.$t("give-away.active-text"))}}):e._e(),e._v(" "),e.nativeSharing&&e.showButtons?n("ul",{staticClass:"give-away-list"},[n("li",{staticClass:"give-away-list-item",on:{click:function(t){return e.generateHash("native")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconShare)}}),e._v(e._s(e.$t("actionbar.share"))+"\n ")])]):e.showButtons?n("ul",{staticClass:"give-away-list"},[n("li",{staticClass:"give-away-list-item",class:{"give-away-list-item--success":e.urlCopiedToClipboard},on:{click:function(t){return e.generateHash("copy")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconFiles)}}),e._v(e._s(e.copyText)+"\n "),e.urlCopiedToClipboard?n("span",{staticClass:"ara-icon ara-icon--success",domProps:{innerHTML:e._s(e.iconOk)}}):e._e()]),e._v(" "),n("li",{staticClass:"give-away-list-item",on:{click:function(t){return e.generateHash("mail")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconMail)}}),e._v(e._s(e.$t("actionbar.email"))+"\n ")]),e._v(" "),n("li",{staticClass:"give-away-list-item",on:{click:function(t){return e.generateHash("twitter")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconTwitter)}}),e._v("X (Twitter)\n ")]),e._v(" "),n("li",{staticClass:"give-away-list-item",on:{click:function(t){return e.generateHash("facebook")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconFacebook)}}),e._v("Facebook\n ")]),e._v(" "),n("li",{staticClass:"give-away-list-item",on:{click:function(t){return e.generateHash("whatsapp")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconWhatsapp)}}),e._v("Whatsapp\n ")]),e._v(" "),n("li",{staticClass:"give-away-list-item",on:{click:function(t){return e.generateHash("telegram")}}},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconTelegram)}}),e._v("Telegram\n ")]),e._v(" "),e._e()]):e._e(),e._v(" "),e.errorMessages?n("div",{staticClass:"give-away-error",domProps:{textContent:e._s(e.errorMessages)}}):e._e()])},[],!1,null,null,null).exports;var j=n(83266);function T(e){return T="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},T(e)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?D(Object(n),!0).forEach(function(t){F(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function F(e,t,n){return(t=function(e){var t=function(e){if("object"!=T(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const R={name:"template-no-permissions",components:{araButtonNew:j.A},data:function(){return{iconClose:a.A,backUrl:window.location.href}},computed:M(M(M({},(0,r.L8)(["lang"])),(0,r.L8)(["runningInApp","site"])),{},{loginUrl:function(){var e="/usuari/login?backUrl=".concat(this.backUrl);return this.siteUrl?this.siteUrl+e:e}}),methods:{closeGiveAway:function(){this.$emit("close")},goToUpgrade:function(){"balears"===this.site.alias||"en-balears"===this.site.alias||"es-balears"===this.site.alias||"de-balears"===this.site.alias?window.location.href="https://perfil.arabalears.cat/upgrade":window.location.href="https://perfil.ara.cat/upgrade"}}},B=(0,L.A)(R,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"give-away-wrapper"},[n("div",{staticClass:"give-away-header"},[n("div",{staticClass:"give-away-title",domProps:{textContent:e._s(e.$t("give-away.no-permissions-title"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.closeGiveAway(t)}}})]),e._v(" "),n("div",{staticClass:"give-away-subtitle"},[n("span",{domProps:{textContent:e._s(e.$t("give-away.no-permissions-subtitle"))}})]),e._v(" "),n("ara-button-new",{staticClass:"ara-button-register",attrs:{"full-width":""},on:{click:e.goToUpgrade}},[e._v(e._s(e.$t("give-away.no-permissions-subtitle-button")))])],1)},[],!1,null,null,null).exports;function U(e){return U="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},U(e)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach(function(t){V(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function V(e,t,n){return(t=function(e){var t=function(e){if("object"!=U(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=U(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==U(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const H={name:"template-no-subscriber",components:{araButtonNew:j.A},data:function(){return{iconClose:a.A,backUrl:window.location.href}},computed:$($($({},(0,r.L8)(["lang"])),(0,r.L8)(["runningInApp","site"])),{},{loginUrl:function(){var e="/usuari/login?backUrl=".concat(this.backUrl);return this.siteUrl?this.siteUrl+e:e},subtitleLinkHref:function(){return"https://d.ara.cat/info-regals"}}),methods:{closeGiveAway:function(){this.$emit("close")},goToSubscription:function(){"balears"===this.site.alias||"en-balears"===this.site.alias||"es-balears"===this.site.alias||"de-balears"===this.site.alias?window.location.href="https://subscripcions.arabalears.cat/":window.location.href="https://subscripcions.ara.cat/"}}},q=(0,L.A)(H,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"give-away-wrapper"},[n("div",{staticClass:"give-away-header"},[n("div",{staticClass:"give-away-title",domProps:{textContent:e._s(e.$t("give-away.no-subscriber-title"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.closeGiveAway(t)}}})]),e._v(" "),n("div",{staticClass:"give-away-subtitle"},[n("span",{domProps:{textContent:e._s(e.$t("give-away.no-subscriber-subtitle"))}}),e._v(" "),n("a",{attrs:{href:e.subtitleLinkHref},domProps:{textContent:e._s(e.$t("give-away.no-subscriber-subtitle-link"))}})]),e._v(" "),n("ara-button-new",{staticClass:"ara-button-register",attrs:{"full-width":""},on:{click:e.goToSubscription}}
2,[e._v(e._s(e.$t("profile.suscriptor.button.subscribe")))])],1)},[],!1,null,null,null).exports;function G(e){return G="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},G(e)}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach(function(t){K(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function K(e,t,n){return(t=function(e){var t=function(e){if("object"!=G(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=G(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==G(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Z={name:"template-no-user",components:{araButtonNew:j.A},data:function(){return{iconClose:a.A,backUrl:window.location.href}},computed:W(W(W({},(0,r.L8)(["lang"])),(0,r.L8)(["runningInApp","site"])),{},{loginUrl:function(){var e="/usuari/login?backUrl=".concat(this.backUrl);return this.siteUrl?this.siteUrl+e:e},subtitleLinkHref:function(){return"https://d.ara.cat/info-regals"}}),methods:{closeGiveAway:function(){this.$emit("close")},goToSubscription:function(){"balears"===this.site.alias||"en-balears"===this.site.alias||"es-balears"===this.site.alias||"de-balears"===this.site.alias?window.location.href="https://subscripcions.arabalears.cat/":window.location.href="https://subscripcions.ara.cat/"}}},Y=(0,L.A)(Z,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"give-away-wrapper"},[n("div",{staticClass:"give-away-header"},[n("div",{staticClass:"give-away-title",domProps:{textContent:e._s(e.$t("give-away.no-subscriber-title"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.closeGiveAway(t)}}})]),e._v(" "),n("div",{staticClass:"give-away-subtitle"},[n("span",{domProps:{textContent:e._s(e.$t("give-away.no-subscriber-subtitle"))}}),e._v(" "),n("a",{attrs:{href:e.subtitleLinkHref},domProps:{textContent:e._s(e.$t("give-away.no-subscriber-subtitle-link"))}})]),e._v(" "),n("ara-button-new",{staticClass:"ara-button-register",attrs:{"full-width":""},on:{click:e.goToSubscription}},[e._v(e._s(e.$t("profile.suscriptor.button.subscribe")))]),e._v(" "),n("span",{staticClass:"register-text"},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("register.are-from-ara"))}}),e._v(" "),n("a",{attrs:{href:e.loginUrl},domProps:{textContent:e._s(e.$t("register.access"))}})])],1)},[],!1,null,null,null).exports;function J(e){return J="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},J(e)}function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ee(e,t,n){return(t=function(e){var t=function(e){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=J(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const te={name:"ara-give-away-article",props:{contentId:{type:[String,Number]},shareText:{type:String},shareHref:{type:String},title:{type:String},interviewed:{type:String}},components:{templateActive:E,templateNoPermissions:B,templateNoSubscriber:q,templateNoUser:Y},computed:X(X(X(X({},(0,r.L8)("user/interests",["contentIsSaved"])),(0,r.L8)("user",["currentUser"])),(0,r.L8)(["runningInApp","site"])),{},{template:function(){return this.currentUser?this.currentUser.subscriber?this.currentUser.subscriber&&!this.currentUser.canGiveAway?"template-no-permissions":"template-active":"template-no-subscriber":"template-no-user"}}),methods:X(X(X(X({},(0,r.i0)("user",["closeProfile"])),(0,r.i0)("comments",["toggleShow"])),(0,r.i0)("user/interests",["toggleSavedContent"])),{},{closeGiveAway:function(){this.$emit("close")}})},ne=(0,L.A)(te,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"give-away-content",class:{"give-away-content--app":e.runningInApp}},[n(e.template,{tag:"component",attrs:{"content-id":e.contentId,"share-text":e.shareText,"share-href":e.shareHref,title:e.title,interviewed:e.interviewed},on:{close:e.closeGiveAway}})],1)},[],!1,null,null,null).exports;n(55831),n(42417),n(50653),n(63145),n(3188);const re='<?xml version="1.0" encoding="UTF-8"?>\n<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>check_box_black_18dp copy 2</title>\n <g id="Detalls" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="Guarda-Article" transform="translate(-987.000000, -1504.000000)">\n <g id="check_box_black_18dp-copy-2" transform="translate(987.000000, 1504.000000)">\n <polygon id="Path" points="0 0 18 0 18 18 0 18"></polygon>\n <path d="M14.25,2.25 L3.75,2.25 C2.9175,2.25 2.25,2.925 2.25,3.75 L2.25,14.25 C2.25,15.075 2.9175,15.75 3.75,15.75 L14.25,15.75 C15.0825,15.75 15.75,15.075 15.75,14.25 L15.75,3.75 C15.75,2.925 15.0825,2.25 14.25,2.25 Z M7.5,12.75 L3.75,9 L4.8075,7.9425 L7.5,10.6275 L13.1925,4.935 L14.25,6 L7.5,12.75 Z" id="Shape" fill="#0076A8" fill-rule="nonzero"></path>\n </g>\n </g>\n </g>\n</svg>';var oe=n(14337),ie=n(64172);const ae={name:"ara-checkbox-favourite-list",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},right:{type:Boolean,default:!1},helperText:{type:String},default:{type:Boolean,default:!1}},data:function(){return{checked:!1,iconSelectOff:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>check_box_outline_blank_black_18dp copy 2</title>\n <g id="Detalls" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="Guarda-Article" transform="translate(-899.000000, -1504.000000)">\n <g id="check_box_outline_blank_black_18dp-copy-2" transform="translate(899.000000, 1504.000000)">\n <polygon id="Path" points="0 0 18 0 18 18 0 18"></polygon>\n <path d="M14.25,3.75 L14.25,14.25 L3.75,14.25 L3.75,3.75 L14.25,3.75 M14.25,2.25 L3.75,2.25 C2.925,2.25 2.25,2.925 2.25,3.75 L2.25,14.25 C2.25,15.075 2.925,15.75 3.75,15.75 L14.25,15.75 C15.075,15.75 15.75,15.075 15.75,14.25 L15.75,3.75 C15.75,2.925 15.075,2.25 14.25,2.25 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>\n </g>\n </g>\n </g>\n</svg>',iconSelectOn:re}},watch:{selected:function(e){this.checked=e}},mounted:function(){this.checked=this.selected}
2,methods:{onChange:function(e){this.$emit("onChange",e)}}},se=(0,L.A)(ae,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"ara-checkbox",class:{disabled:e.disabled,right:e.right,checked:e.checked}},[n("span",{staticClass:"ara-checkbox--input"},[this.default?n("input",{attrs:{type:"checkbox",value:"true",disabled:e.disabled},on:{input:e.onChange}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{input:e.onChange,change:function(t){var n=e.checked,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.checked=n.concat([null])):i>-1&&(e.checked=n.slice(0,i).concat(n.slice(i+1)))}else e.checked=o}}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.checked?e.iconSelectOn:e.iconSelectOff)}})]),e._v(" "),n("span",{staticClass:"ara-checkbox--label"},[e._t("default",[e._v("Label text")]),e._v(" "),n("span",{staticClass:"helper-label"},[e._v(e._s(e.helperText))])],2)])},[],!1,null,"0ffdc3e5",null).exports;var le=n(68042),ce=n(40350),ue=n(44070);function pe(e){return pe="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},pe(e)}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach(function(t){me(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function me(e,t,n){return(t=function(e){var t=function(e){if("object"!=pe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=pe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function he(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return ge(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(ge(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ge(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,ge(p,"constructor",c),ge(c,"constructor",l),l.displayName="GeneratorFunction",ge(c,o,"GeneratorFunction"),ge(p),ge(p,o,"Generator"),ge(p,r,function(){return this}),ge(p,"toString",function(){return"[object Generator]"}),(he=function(){return{w:i,m:d}})()}function ge(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ge=function(e,t,n,r){function i(t,n){ge(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},ge(e,t,n,r)}function ve(e){return function(e){if(Array.isArray(e))return be(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return be(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?be(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ye(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}const we={name:"ara-content-list",props:{contentId:{type:[String,Number]},interestsLoaded:{type:Boolean,default:!1}},data:function(){return{iconClose:a.A,iconCheckboxOn:re,iconPlus:oe.A,iconArrowBack:ie.A,createNewList:!1,name:null,activeCheckboxesRealTime:[],activeCheckboxes:[],errorMessages:null,deleteLists:[],saveLists:[],deleteModal:!1,template:"list",loading:!1,loadingInterests:!1}},components:{araLoading:ue.A,araTextInput:le.A,araCheckboxFavouriteList:se,araButtonNew:j.A},mounted:function(){var e,t=this;return(e=he().m(function e(){var n,r,o,i;return he().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!t.interestsLoaded){e.n=1;break}return t.updateCurrentCheckboxes(t.savedFavouriteLists),e.a(2);case 1:return t.loadingInterests=!0,e.p=2,e.n=3,ce.A.searchFavouriteLists(1);case 3:if(n=e.v,r=n.results,!n.hasMoreResults){e.n=5;break}return e.n=4,ce.A.searchFavouriteLists(2);case 4:o=e.v,r=[].concat(ve(r),ve(o.results));case 5:return e.n=6,t.setListsIntoStorage(r);case 6:t.updateCurrentCheckboxes(r),t.$emit("interestsLoaded"),e.n=8;break;case 7:e.p=7,i=e.v,console.log(i);case 8:return e.p=8,t.loadingInterests=!1,e.f(8);case 9:return e.a(2)}},e,null,[[2,7,8,9]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ye(i,r,o,a,s,"next",e)}function s(e){ye(i,r,o,a,s,"throw",e)}a(void 0)})})()},computed:fe(fe(fe(fe({},(0,r.L8)("user/interests",["storageKey","savedFavouriteLists","savedFavouriteListsCards"])),(0,r.L8)("user",["currentUser"])),(0,r.L8)(["runningInApp","site"])),{},{templateList:function(){return"list"===this.template},templateNewList:function(){return"newList"===this.template},templateDeleteContent:function(){return"deleteContent"===this.template},savedLists:function(){var e=this;return this.savedFavouriteLists?this.savedFavouriteLists.filter(function(t){return t.savedContentsIds.includes(e.contentId)}).map(function(e){return e.title}):[]},savedFavouriteListsWithOutDefaultList:function(){return this.savedFavouriteLists?this.savedFavouriteLists.filter(function(e){return!e.defaultList}):[]},defaultList:function(){return this.savedFavouriteLists?this.savedFavouriteLists.filter(function(e){return e.defaultList}):null},saved:function(){var e=this;return this.savedFavouriteLists.filter(function(t){return t.savedContentsIds.includes(e.contentId)}).length>0}}),methods:fe(fe(fe({},(0,r.i0)("user/interests",["createFavouriteList","saveContentWithF
2avouriteLists","deleteSavedContentCardFromFavouriteList","searchSavedFavouriteLists","setListsIntoStorage"])),(0,r.i0)(["showSnackbar"])),{},{updateCurrentCheckboxes:function(e){var t=this;e.forEach(function(e){t.selectedList(e)&&!e.defaultList&&(t.activeCheckboxesRealTime.push(e.contentListId),t.activeCheckboxes.push(e.contentListId))})},showTemplateList:function(){this.template="list"},showTemplateNewList:function(){this.template="newList"},showTemplateDeleteContent:function(){this.template="deleteContent"},closeSavingContent:function(){this.$emit("close")},listTitle:function(e){return e.defaultList?this.$t("favourite-list.all"):e.title},createList:function(){var e=this;this.loading=!0,this.createFavouriteList(this.name).then(function(){e.$emit("createList",e.name),e.name=null,e.showTemplateList(),e.errorMessages=null}).catch(function(t){e.errorMessages=t.response.data.message}).finally(function(){e.loading=!1,e.runningInApp&&e.channelAction("requestToken",null)})},calculateDifferences:function(){var e=this;this.deleteLists=this.activeCheckboxes.filter(function(t){return!e.activeCheckboxesRealTime.includes(t)}),this.saveLists=this.activeCheckboxesRealTime.filter(function(t){return!e.activeCheckboxes.includes(t)})},saveContent:function(){var e=this;this.loading=!0,this.saveContentWithFavouriteLists({contentId:this.contentId,saveLists:this.saveLists,deleteLists:this.deleteLists}).then(function(){e.$track({category:"content",action:"save",label:e.contentId}),e.savingContent=!1,e.$emit("saved")}).catch(function(t){console.error(t),e.showSnackbar({contentText:t.response.data.message,error:!0})}).finally(function(){e.loading=!1,e.runningInApp&&e.channelAction("requestToken",null)})},selectedList:function(e){return!!e.defaultList||this.savedLists.includes(e.title)},handleCheckboxChange:function(e){this.activeCheckboxesRealTime.includes(e.contentListId)?this.activeCheckboxesRealTime=this.activeCheckboxesRealTime.filter(function(t){return t!==e.contentListId&&!e.defaultList}):this.activeCheckboxesRealTime.push(e.contentListId),this.calculateDifferences()},deleteContent:function(){var e=this;this.loading=!0,this.deleteSavedContentCardFromFavouriteList(this.contentId).then(function(){e.$track({category:"content",action:"unsave",label:e.contentId}),e.closeSavingContent()}).catch(function(t){e.showSnackbar({contentText:t.response.data.message,error:!0}),console.log(t)}).finally(function(){e.loading=!1,e.runningInApp&&e.channelAction("requestToken",null)})}})},Ce=we,_e=(0,L.A)(Ce,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"content-list"},[n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeSavingContent,expression:"closeSavingContent"}],staticClass:"content-list-content"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.templateList,expression:"templateList"}],staticClass:"content-list-wrapper"},[n("div",{staticClass:"content-list-header"},[n("div",{staticClass:"content-list-title"},[e._v("\n "+e._s(e.$t("favourite-list.title"))+"\n ")]),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.closeSavingContent(t)}}})]),e._v(" "),e.saved?n("ul",{staticClass:"lists lists--default"},[n("ara-checkbox-favourite-list",{attrs:{default:"",selected:""},on:{onChange:e.showTemplateDeleteContent}},[e._v("\n "+e._s(e.$t("favourite-list.all"))+"\n ")])],1):e._e(),e._v(" "),e.loadingInterests?n("div",{staticClass:"content-list--loading"},[n("ara-loading")],1):[e.savedFavouriteListsWithOutDefaultList.length>0?n("div",{staticClass:"content-list-header content-list-header--collections"},[n("div",{staticClass:"content-list-title",domProps:{textContent:e._s(e.$t("favourite-list.collections"))}})]):e._e(),e._v(" "),n("ul",{staticClass:"lists"},[e._l(e.savedFavouriteListsWithOutDefaultList,function(t){return n("ara-checkbox-favourite-list",{key:t.contentListId,attrs:{selected:e.selectedList(t),disabled:t.defaultList},on:{onChange:function(n){return e.handleCheckboxChange(t)}
2}},[e._v("\n "+e._s(e.listTitle(t))+"\n ")])}),e._v(" "),n("li",[n("label",{staticClass:"new-list"},[n("span",{staticClass:"new-list--input"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconPlus)}})]),e._v(" "),n("span",{staticClass:"new-list--label",domProps:{textContent:e._s(e.$t("favourite-list.create"))},on:{click:e.showTemplateNewList}})])])],2),e._v(" "),n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:e.saveContent}},[e._v(e._s(e.$t("favourite-list.save")))])]],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.templateNewList,expression:"templateNewList"}],staticClass:"content-list-wrapper"},[n("div",{staticClass:"content-list-header content-list-header--create"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconArrowBack)},on:{click:function(t){return t.stopPropagation(),e.showTemplateList(t)}}}),e._v(" "),n("div",{staticClass:"content-list-title",domProps:{textContent:e._s(e.$t("favourite-list.create"))}})]),e._v(" "),n("div",{staticClass:"content-list-input-wrapper"},[n("ara-text-input",{attrs:{error:e.errorMessages,label:e.$t("favourite-list.list-name"),placeholder:e.$t("favourite-list.list-name")},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:function(t){return e.createList()}}},[e._v(e._s(e.$t("favourite-list.create-button")))])],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.templateDeleteContent,expression:"templateDeleteContent"}],staticClass:"content-list-wrapper"},[n("div",{staticClass:"content-list-header content-list-header--delete"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.showTemplateList(t)}}})]),e._v(" "),n("div",{staticClass:"content-list-input-wrapper"},[n("div",{staticClass:"content-list-title content-list-title--delete"},[e._v("\n "+e._s(e.$t("favourite-list.delete-confirm"))+"\n ")])]),e._v(" "),n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:function(t){return e.deleteContent()}}},[e._v(e._s(e.$t("favourite-list.delete-button")))]),e._v(" "),n("ara-button-new",{attrs:{secondary:"",outlined:"","full-width":"",loading:e.loading},on:{click:e.showTemplateList}},[e._v(e._s(e.$t("favourite-list.delete-cancel")))])],1)])])},[],!1,null,null,null).exports;var Se=n(98374),ke=n(71268);function Ae(e){return Ae="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},Ae(e)}function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach(function(t){Oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Oe(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ae(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ae(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ie={name:"ara-action-bar",mixins:[g.A],props:{contentId:{type:[String,Number]},liveMessageId:{type:[String,Number]},shareUrl:{type:Object},url:{type:String},numComments:{type:Number,default:null},shareable:{type:Boolean,default:function(){return!0}},storable:{type:Boolean,default:function(){return!0}},visibleComments:{type:Boolean,default:function(){return!0}},shareButton:{type:Boolean,default:function(){return!1}},shareButtonText:{type:String},showGiveAwayButton:{type:Boolean,default:function(){return!1}},title:{type:String},interviewed:{type:String},newButtons:{type:Boolean,default:function(){return!1}}},data:function(){return{interestsHaveBeenLoaded:!1,sharing:!1,tooltip:{comment:!1,save:!1,share:!1,giveAway:!1},showLoginModal:!1,givingAway:!1,savingContent:!1,iconTwitter:f,iconBluesky:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_1659_1698)">\n<path d="M6.33526 4.18534C8.62822 5.90674 11.0945 9.39704 12.0001 11.2701C12.9056 9.39717 15.3718 5.90671 17.6649 4.18534C19.3193 2.94324 22 1.98218 22 5.04034C22 5.65109 21.6498 10.171 21.4445 10.9048C20.7306 13.4559 18.1292 14.1066 15.8152 13.7128C19.86 14.4012 20.8889 16.6815 18.6668 18.9617C14.4465 23.2924 12.601 17.8752 12.1278 16.4871C12.0412 16.2326 12.0006 16.1135 12 16.2148C11.9994 16.1135 11.9588 16.2326 11.8721 16.4871C11.3993 17.8752 9.55378 23.2925 5.33322 18.9617C3.11103 16.6815 4.13995 14.4011 8.18483 13.7128C5.87077 14.1066 3.26934 13.4559 2.55555 10.9048C2.35016 10.1709 2 5.65102 2 5.04034C2 1.98218 4.68074 2.94324 6.33515 4.18534H6.33526Z" fill="black"/>\n</g>\n<defs>\n<clipPath id="clip0_1659_1698">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>\n</svg>
2\n',iconFacebook:l.A,iconWhatsapp:m,iconTelegram:d,iconMail:'<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>email_black_24dp</title>\n <g id="Seccions" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="1440-LISTADO-APERTURAS" transform="translate(-471.000000, -6459.000000)">\n <g id="email_black_24dp" transform="translate(471.000000, 6459.000000)">\n <polygon id="Path" points="0 0 20 0 20 20 0 20"></polygon>\n <path d="M18,2 L2,2 C0.9,2 0.01,2.9 0.01,4 L0,16 C0,17.1 0.9,18 2,18 L18,18 C19.1,18 20,17.1 20,16 L20,4 C20,2.9 19.1,2 18,2 Z M18,6 L10,11 L2,6 L2,4 L10,9 L18,4 L18,6 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>\n </g>\n </g>\n </g>\n</svg>\n',iconComments:s.A,iconSaveOn:u.A,iconSaveOff:c.A,iconClose:a.A,iconShare:p.A,iconGiftCard:i.A,lStorage:null}},components:{araContentList:_e,araModalWindow:Se.A,araGiveAwayArticle:ne,araButtonNewAction:ke.A,araButtonNew:j.A},mounted:function(){this.lStorage=o.A.getItem(this.storageKey)},computed:xe(xe(xe(xe({},(0,r.L8)("user/interests",["savedContentsIds","savedFavouriteLists","storageKey"])),(0,r.L8)("user",["currentUser"])),(0,r.L8)(["runningInApp","site","lang"])),{},{saved:function(){return this.savedContentsIds.includes(this.contentId)},shareText:function(){return this.shareUrl&&this.shareUrl.text?this.shareUrl.text:document.title},encodedShareText:function(){return encodeURI(this.shareText)},shareHref:function(){return this.shareUrl&&this.shareUrl.href?this.shareUrl.href:this.url?this.url:window.location.href},twitterShare:function(){var e=encodeURIComponent(this.buildTrackedUrl("twitter")),t=this.site.twitterAccount||"diariARA";return"https://twitter.com/intent/tweet?url=".concat(e,"&via=").concat(t,"&text=").concat(this.encodedShareText)},blueskyShare:function(){var e=encodeURIComponent(this.buildTrackedUrl("bsky"));return"https://bsky.app/intent/compose?text=".concat(this.encodedShareText,"%20").concat(e)},facebookShare:function(){var e=encodeURIComponent(this.buildTrackedUrl("facebook"));return"https://www.facebook.com/sharer/sharer.php?u=".concat(e)},whatsappShare:function(){var e=this.buildTrackedUrl("whatsapp");return"https://api.whatsapp.com/send?text=".concat(this.encodedShareText,"%20").concat(encodeURIComponent(e))},telegramShare:function(){var e=encodeURIComponent(this.buildTrackedUrl("telegram"));return"https://telegram.me/share/url?url=".concat(e,"&text=").concat(this.encodedShareText)},mailShare:function(){var e,t=this.buildTrackedUrl("mail"),n=null!==(e=this.shareUrl)&&void 0!==e&&e.title?"Diari ARA: ".concat(this.shareUrl.title):"Diari ARA",r="".concat(this.shareText," ").concat(t);return"mailto:?subject=".concat(encodeURIComponent(n),"&body=").concat(encodeURIComponent(r))},showGiveAwayButtonComputed:function(){return!this.sharing&&!!this.showGiveAwayButton},lists:function(){return this.lStorage?this.lStorage.savedFavouriteLists:[]}}),methods:xe(xe(xe(xe(xe({},(0,r.i0)("user",["closeProfile"])),(0,r.i0)("comments",["toggleShow"])),(0,r.i0)("user/interests",["saveContentWithFavouriteLists"])),(0,r.i0)(["showSnackbar"])),{},{navigatorShare:function(){navigator.share&&this.runningInApp?navigator.share({title:this.$t("actionbar.share-on"),text:this.shareText,url:this.shareHref}).then(function(){return console.log("Successful share")}).catch(function(e){return console.log("Error sharing",e)}):this.runningInApp?this.share(this.shareHref):this.sharing=!this.sharing},buildTrackedUrl:function(e){var t=new URL(this.shareHref);return t.searchParams.set("utm_source","Redes-Sociales"),t.searchParams.set("utm_medium",e),t.searchParams.set("utm_content",this.contentId),this.liveMessageId&&(t.hash=this.liveMessageId),t.toString()},share:function(e){this.channelAction("sharePost",{title:this.shareText,url:this.shareHref,contentId:this.shareText,desc:this.shareHref},function(){window.open(e)})},showComments:function(){var e=this,t="showComments",n={contentId:this.contentId,url:"".concat(window.location.origin,"/webview/content/").concat(this.contentId,"/comments")};if(this.url)return this.$track({category:"comments",action:"open-by-url",label:this.contentId}),void this.channelAction(t,n,function(){window.location.href="".concat(e.url,"#comments")});this.$track({category:"comments",action:"open-button-top",label:this.contentId}),this.channelAction(t,n,function(){e.closeProfile(),e.toggleShow()})},saveContent:function(){this.showSnackbar({contentText:this.$t("favourite-list.save-ok"),button:!1}
2),this.savingContent=!1},toggleLoginModal:function(){this.showLoginModal=!this.showLoginModal},goToLogin:function(){this.toggleLoginModal(),this.channelAction("showLogin",{},function(){window.location.href="/usuari/login?backUrl=".concat(window.location.href)})},goToRegister:function(){this.toggleLoginModal(),this.channelAction("showRegister",null,function(){window.location.href="/usuari/register?backUrl=".concat(window.location.href)})},toggleGivingAway:function(){this.givingAway=!this.givingAway},closeGivinAway:function(){this.givingAway=!1},toggleSavingContent:function(){this.currentUser?this.savingContent=!this.savingContent:this.toggleLoginModal()},interestsLoaded:function(){this.interestsHaveBeenLoaded=!0},closeSavingContent:function(){this.savingContent=!1},createList:function(){this.showSnackbar({contentText:this.$t("favourite-list.create-ok"),button:!1})}})},Le=(0,L.A)(Ie,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"action-bar"},[e._t("default"),e._v(" "),[n("transition",{attrs:{name:"sharing-animation"}},[e.shareable&&e.sharing?n("div",{staticClass:"icons icons--share",class:e.sharing?"icons icons--share loaded":"icons icons--share"},[n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"share",label:e.contentId,value:"Twitter"},expression:"{category: 'content', action: 'share', label: contentId, value: 'Twitter'}",arg:"click"}],staticClass:"ara-icon",attrs:{target:"popup",title:e.$t("actionbar.share-on")+" Twitter"},domProps:{innerHTML:e._s(e.iconTwitter)},on:{click:function(t){return e.share(e.twitterShare)}}}),e._v(" "),n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"share",label:e.contentId,value:"Bluesky"},expression:"{category: 'content', action: 'share', label: contentId, value: 'Bluesky'}",arg:"click"}],staticClass:"ara-icon",attrs:{target:"popup",title:e.$t("actionbar.share-on")+" Bluesky"},domProps:{innerHTML:e._s(e.iconBluesky)},on:{click:function(t){return e.share(e.blueskyShare)}}}),e._v(" "),n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"share",label:e.contentId,value:"Facebook"},expression:"{category: 'content', action: 'share', label: contentId, value: 'Facebook'}",arg:"click"}],staticClass:"ara-icon",attrs:{target:"popup",title:e.$t("actionbar.share-on")+" Facebook"},domProps:{innerHTML:e._s(e.iconFacebook)},on:{click:function(t){return e.share(e.facebookShare)}}}),e._v(" "),n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"share",label:e.contentId,value:"Whatsapp"},expression:"{category: 'content', action: 'share', label: contentId, value: 'Whatsapp'}",arg:"click"}],staticClass:"ara-icon",attrs:{target:"popup",title:e.$t("actionbar.share-on")+" Whatsapp"},domProps:{innerHTML:e._s(e.iconWhatsapp)},on:{click:function(t){return e.share(e.whatsappShare)}}}),e._v(" "),n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"share",label:e.contentId,value:"Telegram"},expression:"{category: 'content', action: 'share', label: contentId, value: 'Telegram'}",arg:"click"}],staticClass:"ara-icon",attrs:{target:"popup",title:e.$t("actionbar.share-on")+" Telegram"},domProps:{innerHTML:e._s(e.iconTelegram)},on:{click:function(t){return e.share(e.telegramShare)}}}),e._v(" "),n("a",{directives:[{name:"track",rawName:"v-track:click",value:{category:"content",action:"share",label:e.contentId,value:"Mail"},expression:"{category: 'content', action: 'share', label: contentId, value: 'Mail'}",arg:"click"}],staticClass:"ara-icon",attrs:{target:"popup",title:e.$t("actionbar.share-on")+" Mail"},domProps:{innerHTML:e._s(e.iconMail)},on:{click:function(t){return e.share(e.mailShare)}}})]):e._e()]),e._v(" "),e.shareButton?n("ara-button",{staticClass:"share-poll",attrs:{secondary:""},on:{click:e.navigatorShare}},[e._v(e._s(e.shareButtonText))]):e._e(),e._v(" "),!e.shareButton&&e.newButtons?n("div",{staticClass:"action-bar__actions"},[n("transition",{attrs:{name:"hide-icons"}},[!e.sharing&&e.visibleComments?n("ara-button-new-action",{attrs:{action:"comment","icon-position":e.numComments?"append":"only",title:e.$t("actionbar.comment")},on:{click:e.showComments}}
2,[e._v(e._s(e.numComments))]):e._e()],1),e._v(" "),n("transition",{attrs:{name:"hide-icons"}},[!e.sharing&&e.storable?n("ara-button-new-action",{attrs:{action:e.saved?"save-on":"save",pressed:e.saved,title:e.$t("actionbar.save")},on:{click:function(t){return t.stopPropagation(),e.toggleSavingContent(t)}}}):e._e()],1),e._v(" "),e.shareable?n("ara-button-new-action",{attrs:{action:"share",pressed:e.sharing,title:e.sharing?e.$t("actionbar.close"):e.$t("actionbar.share")},on:{click:e.navigatorShare}}):e._e(),e._v(" "),e.showGiveAwayButtonComputed?n("ara-button-new-action",{attrs:{action:"give-away","icon-position":"prepend",title:e.$t("actionbar.give-away-tooltip")},on:{click:function(t){return t.stopPropagation(),e.toggleGivingAway(t)}}},[e._v(e._s(e.$t("actionbar.give-away")))]):e._e()],1):e._e(),e._v(" "),e.shareButton||e.newButtons?e._e():n("div",{staticClass:"icons"},[n("transition",{attrs:{name:"hide-icons"}},[!e.sharing&&e.visibleComments?n("div",{staticClass:"ara-icon",on:{mouseover:function(t){e.tooltip.comment=!0},mouseout:function(t){e.tooltip.comment=!1},click:e.showComments}},[e.numComments?n("span",{staticClass:"num-comments",domProps:{innerHTML:e._s(e.numComments)}}):e._e(),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.iconComments)}}),e._v(" "),e.tooltip.comment?n("span",{staticClass:"tooltip"},[e._v(e._s(e.$t("actionbar.comment")))]):e._e()]):e._e()]),e._v(" "),n("transition",{attrs:{name:"hide-icons"}},[!e.sharing&&e.storable?n("div",{staticClass:"ara-icon save",on:{mouseover:function(t){e.tooltip.save=!0},mouseout:function(t){e.tooltip.save=!1},click:function(t){return t.stopPropagation(),e.toggleSavingContent(t)}}},[n("span",{class:e.saved?"actiu":"save",domProps:{innerHTML:e._s(e.saved?e.iconSaveOn:e.iconSaveOff)}}),e._v(" "),e.tooltip.save?n("span",{staticClass:"tooltip"},[e._v(e._s(e.$t("actionbar.save")))]):e._e()]):e._e()]),e._v(" "),e.shareable?n("div",{staticClass:"ara-icon share",on:{mouseover:function(t){e.tooltip.share=!0},mouseout:function(t){e.tooltip.share=!1},click:e.navigatorShare}},[n("span",{domProps:{innerHTML:e._s(e.sharing?e.iconClose:e.iconShare)}}),e._v(" "),e.tooltip.share?n("span",{staticClass:"tooltip",domProps:{textContent:e._s(e.sharing?e.$t("actionbar.close"):e.$t("actionbar.share"))}},[e._v("\n "+e._s(e.$t("actionbar.share"))+"\n ")]):e._e()]):e._e(),e._v(" "),e.showGiveAwayButtonComputed?n("div",{staticClass:"ara-icon give-away",on:{click:function(t){return t.stopPropagation(),e.toggleGivingAway(t)}}},[n("span",{staticClass:"ara-icon--icon",domProps:{innerHTML:e._s(e.iconGiftCard)}}),e._v(" "),n("span",{staticClass:"give-away--text",domProps:{textContent:e._s(e.$t("actionbar.give-away"))}}),e._v(" "),e.tooltip.giveAway?n("span",{staticClass:"tooltip",domProps:{textContent:e._s(e.$t("actionbar.give-away-tooltip"))}}):e._e()]):e._e()],1)],e._v(" "),e.savingContent?n("ara-content-list",{attrs:{"content-id":e.contentId,"interests-loaded":e.interestsHaveBeenLoaded},on:{saved:e.saveContent,createList:e.createList,close:e.toggleSavingContent,interestsLoaded:e.interestsLoaded}}):e._e(),e._v(" "),e.givingAway?n("ara-give-away-article",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeGivinAway,expression:"closeGivinAway"}],attrs:{"content-id":e.contentId,"share-text":e.encodedShareText,"share-href":e.shareHref,title:e.title,interviewed:e.interviewed},on:{close:e.toggleGivingAway}}):e._e(),e._v(" "),e.runningInApp?e._e():n("ara-modal-window",{attrs:{value:e.showLoginModal,persistent:""},on:{input:e.toggleLoginModal},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("userSaveButton.login-modal.title")))]},proxy:!0},{key:"text",fn:function(){return[e._v(e._s(e.$t("userSaveButton.login-modal.text")))]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button-new",{on:{click:function(t){return t.stopPropagation(),e.goToRegister(t)}}},[e._v(e._s(e.$t("userSaveButton.login-modal.button1")))]),e._v(" "),n("ara-button-new",{attrs:{secondary:"",outlined:""},on:{click:function(t){return t.stopPropagation(),e.goToLogin(t)}}},[e._v(e._s(e.$t("userSaveButton.login-modal.button2")))])]},proxy:!0}],null,!1,3567951859)})],2)},[],!1,null,null,null).exports},98374(e,t,n){n.d(t,{A:()=>s}),n(54162),n(4290),n(29068),n(78837),n(55831),n(12493),n(11055),n(50653),n(63145),n(570),n(3188),n(10844),n(63343),n(14439),n(17046);var r=n(83266),o=n(56095);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const a={name:"ara-modal-window",components:{araButtonNew:r.A},props:{value:{type:Boolean},persistent:{type:Boolean,default:!1},cookies:{type:Boolean,default:!1},buttons:{type:Boolean,default:!0},defaultButtonText:{type:String},classes:{type:String}},data:function(){return{iconClose:o.A,ignoreClickOutside:!1}},computed:{buttonText:function(){return this.defaultButtonText?this.defaultButtonText:this.$t("modal.button")},show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},type:function(){if(this.cookies)return"cookies";var e=[];this.$slots.icon&&e.push("icon"),e.push("title"),this.$slots.text&&e.push("text"),this.$slots.form&&e.push("form");var t=this.$slots.buttons&&this.$slots.buttons.filter(function(e){return e.componentOptions&&"ara-button"===e.componentOptions.tag}).length;return t&&e.push(1===t?"button":"buttons"),this.$slots.footer&&e.push("footer"),e.join("-")},isMobile:function(){return window.innerWidth<768}},watch:{show:function(e){this.isMobile||document.body.classList.toggle("window-overlay",e),window.addEventListener("wheel",function(e){e.target===document.body&&e.preventDefault()},{passive:!1}),e&&(this.showModal(),this.setIgnoreClickOutside())}},methods:{showModal:function(){var e=this;this.$emit("open",!0),this.$nextTick(function(){var t;!e.isMobile&&e.$refs.buttons&&e.$refs.buttons.children.length>1&&e.equalButtonsWidth(function(e){if(Array.isArray(e))return i(e)}(t=e.$refs.buttons.children)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())})},equalButtonsWidth:function(e){var t=e.filter(function(e){return"BUTTON"===e.tagName}),n=0;t.forEach(function(e){var t=e.getBoundingClientRect().width;t>n&&(n=t)}),t.forEach(function(e){e.style.width="".concat(n,"px")})},closeWindow:function(){this.show=!1,this.$emit("close",!0)},clickOutside:function(){this.ignoreClickOutside||this.persistent||this.closeWindow()},setIgnoreClickOutside:function(){var e=this;this.ignoreClickOutside=!0,setTimeout(function(){e.ignoreClickOutside=!1},300)}}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("portal",{staticClass:"portal",attrs:{to:"modal",disabled:!e.show}},[n("div",{staticClass:"ara-modal-window",class:[e.type,e.classes]},[n("transition",{attrs:{name:e.cookies?"slide":"popup"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"},{name:"click-outside",rawName:"v-click-outside",value:e.clickOutside,expression:"clickOutside"}],staticClass:"dialog-box"},[n("div",{staticClass:"dialog-box--wrapper"},[e.cookies?e._e():n("header",[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:function(t){return t.stopPropagation(),e.closeWindow(t)}}})]),e._v(" "),n("main",[n("div",{ref:"content",staticClass:"dialog-content"},[e._t("default",[n("div",{staticClass:"dialog-icon"},[e._t("icon")],2),e._v(" "),n("div",{staticClass:"dialog-title"},[e._t("title",[e._v(e._s(e.$t("modal.title")))])],2),e._v(" "),n("div",{staticClass:"dialog-text"},[e._t("text")],2),e._v(" "),n("div",{staticClass:"dialog-form"},[e._t("form")],2)])],2),e._v(" "),n("div",{ref:"buttons",staticClass:"dialog-buttons"},[e.buttons?e._t("buttons",[n("ara-button",{attrs:{secondary:""},on:{click:function(t){return t.stopPropagation(),e.closeWindow(t)}}}
2,[e.buttonText?n("span",[e._v(e._s(e.buttonText))]):e._e()])]):e._e()],2),e._v(" "),e.$slots.footer?n("div",{ref:"footer",staticClass:"dialog-footer"},[e._t("footer")],2):e._e()])])])])],1)])},[],!1,null,"267a67d8",null).exports},45697(e,t,n){n.d(t,{A:()=>i});var r=n(56095);const o={name:"ara-search-input",props:{value:{type:String}},data:function(){return{iconSearch:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 17.6 11" style="enable-background:new 0 0 17.6 11;" xml:space="preserve"><path d="M2.2,3.6c0,3.2,2.6,5.9,5.7,5.9c1.4,0,2.7-0.5,3.7-1.4l0.2,0.3V9l4.4,4.5l1.3-1.3l-4.4-4.5h-0.7l-0.2-0.2c0.9-1,1.4-2.4,1.4-3.8c0-3.2-2.6-5.9-5.7-5.9S2.2,0.4,2.2,3.6 M8,7.7c-2.2,0-4-1.8-4-4.1s1.8-4.1,4-4.1s4,1.8,4,4.1S10.1,7.7,8,7.7z"/></svg>\n',iconClose:r.A}},computed:{query:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{clear:function(){this.query="",this.$refs.input.focus()},onEnter:function(){this.$emit("enter",this.query)},onKeyDown:function(e){this.$emit("keydown",e)}}},i=(0,n(67658).A)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-search-input"},[n("div",{staticClass:"search-input-wrapper",class:{filled:!!e.query.length}},[e.query.length?n("div",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconClose)},on:{click:e.clear}}):n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconSearch)}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",attrs:{type:"text",placeholder:e.$t("elements.search")},domProps:{value:e.query},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onEnter(t)},keydown:e.onKeyDown,input:function(t){t.target.composing||(e.query=t.target.value)}}})])])},[],!1,null,"fdf1283a",null).exports},6345(e,t,n){n.d(t,{A:()=>c}),n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(63343),n(14439),n(17046);var r=n(12829);function o(e){return o="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},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l={name:"ara-snackbar-popup",data:function(){return{contentText:null,actionText:null,error:!1,success:!1,button:!1,timeout:4e3,timer:null,transitionend:!0,transitionendTime:300}},components:{araSnackbar:n(16568).A},computed:a(a(a(a({},(0,r.L8)(["snackbarQueue"])),(0,r.L8)(["breakpoint"])),(0,r.L8)(["platform","runningInApp"])),{},{show:{get:function(){return!(!this.snackbarQueue.length||!this.transitionend||(this.initValues(),0))},set:function(e){return e}},snack:function(){var e={contentText:this.contentText,error:this.error,success:this.success,button:this.button};return null!=this.actionText&&(e.actionText=this.actionText),e}}),watch:{show:function(e){e&&this.timeout>0&&(this.timer=setTimeout(this.closeSnackbar,this.timeout))}},methods:a(a({},(0,r.i0)(["removeLastSnackbar"])),{},{initValues:function(){var e=this.snackbarQueue[0];this.contentText=e.contentText,this.actionText=e.buttonText?e.buttonText:null,this.error=!0===e.error,this.success=!0===e.success,this.button=!0===e.button,this.timeout=void 0!==e.timeout?e.timeout:this.timeout},calculateBottom:function(){return"iOS"===this.platform&&this.runningInApp?100:"mobile"===this.breakpoint?70:0},closeSnackbar:function(){var e=this;clearTimeout(this.timer),this.removeLastSnackbar(),this.show=!1,this.transitionend=!1,setTimeout(function(){e.transitionend=!0},this.transitionendTime)}})},c=(0,n(67658).A)(l,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-snackbar-popup",style:"padding-bottom:"+e.calculateBottom()+"px;",attrs:{role:"alert"}},[n("transition",{attrs:{name:"fade"}},[e.show?n("ara-snackbar",e._b({on:{close:e.closeSnackbar}}
2,"ara-snackbar",e.snack,!1)):e._e()],1)],1)},[],!1,null,"7730427a",null).exports},75260(e,t,n){n.d(t,{A:()=>C}),n(78837),n(570);var r=n(21362),o=n(585),i=n(14592);n(5423);const a='<svg width="95px" height="104px" viewBox="0 0 95 104" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>silueta</title>\n <g id="HOME-PORTADA" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="4_->1024-ESPECIALES" transform="translate(-905.000000, -736.000000)">\n <image id="silueta" x="897" y="730" width="110" height="110" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAABJ2lDQ1BrQ0dDb2xvclNwYWNlQWRvYmVSR0IxOTk4AAAokWNgYFJILCjIYRJgYMjNKykKcndSiIiMUmB/wsDJwMTAwyDKwJSYXFzgGBDgwwAEMBoVfLvGwAiiL+uCzMKUxwu4UlKLk4H0HyDOTi4oKmFgYMwAspXLSwpA7B4gWyQpG8xeAGIXAR0IZG8BsdMh7BNgNRD2HbCakCBnIPsDkM2XBGYzgeziS4ewBUBsqL0gIOiYkp+UqgDyvYahpaWFJol+IAhKUitKQLRzfkFlUWZ6RomCIzCkUhU885L1dBSMDIwMGBhA4Q5R/TkQHJ6MYmcQYgiAEJsjwcDgv5SBgeUPQsykl4FhgQ4DA/9UhJiaIQODgD4Dw745yaVFZVBjGJmMGRgI8QG/rkokVfs3NAAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAABLKADAAQAAAABAAABLAAAAAD7qKDdAAAdxUlEQVR4Ae2dCbRdVXnHCUgYwgxhDmQgIIQhDGEeQgjIqAKmgCAyFm3rxFQQdSHaopZFbS1UbZlEigiCloq6tFBKly0qBaF1iQgEZFYEpIAgQ/9/fC8hMe/lnnv3eM7vW+u/7nvvnvPtb//2vd/bZ5+99xnz2muvLYFBAAIQqIHAkjUESYwQgAAETICExecAAhCohgAJq5qmIlAIQICExWcAAhCohgAJq5qmIlAIQICExWcAAhCohgAJq5qmIlAIQICExWcAAhCohgAJq5qmIlAIQICExWcAAhCohgAJq5qmIlAIQICExWcAAhCohgAJq5qmIlAIQICExWcAAhCohgAJq5qmIlAIQOBNsRFcffXVsYvAf34CYxTCWGklaYa0ubSBNF5aXvL7z0tPSg9Jd0u3SY9LL0kvS1gLCcyZMydoraInrKDR4qw0Au6hO0ntIR0h7SatK/Viz+mgO6VvSV+X5krPShgERiRAwhoRDW+MQsCfmzWk2dIHpO2kpjZOJ+w0pI/r9V+kz0vfl56WMAj8AQES1h8g4Q+jEFhO720oOVEdJ20thTBfMh40pKv0+inpxxL7dwsCNp8ACWs+C34amcBaemuK5KRylLS+FMsOk2NfWp4pXSN57AuDwOsESFh8EBZFwD2pVaUJ0lbSftK+0rJSCvM42GXSltKF0n0SBoElSFh8CHw55jt6k4a0nl59d8+/e4zJY1W57BQVvK3k5HWLdK+EdZgACau7je9ezDbSrkOvM/S6ilSazVRAlhPWzdIN0q3SqxLWMQIkrI41uKq7seSxqNmSk9UKUg3mcS3rnZKnQlwieS4X1iECJKzuNPbaquq7pEOkHSuu9mTF/qeS5359QvqqhHWEAAmrGw19tKp5rDSzRdX1bPoLpKnSedKLEtZyAku2vH5dr557VZ6M+VlpptQ28w2Bs6UvSK4r1nICJKz2NvD2qtq10kmSpyi01XyV8G7pCqmfGfdt5dLKepGwWtmsrw+qe2zH0xK6YrNUUdf5xK5UuIv1JGG1r9U9qH6RtGH7qrbYGnnumMezPifVcvdzsZXigPkESFjzWbThp/1ViX+UPPGzq+bdI3wZ/E3Jc8uwFhEgYbWnMX35d7HU5vGqXltraR24u+QdID4kpVpSpKKwmARIWDHppvPtxcm+U+ZXbD6BNfXjZyTvIrmJNEbCKiZAwqq48YZC912yv5Wm1V+VKDUwnwOlmyTPRfM+XFilBEhYlTbcG8I+Tj/7C0lbvgHKIn5cR3/zzQhfNm8kwUsQajMarbYWWzBeD66fKi2/4J/5bRQCf6T3vi29Q/I2OlhFBEhYFTXWIkL9qP42cRF/50+jE/BmhFdJZ0irjX4o75ZEgIRVUms0i8VjVgdLviOG9UfgYzrtfGlCf6dzVmoCJKzUxMOV59v1vT6hJlyp7fPkZT2XSpu1r2rtqxEJq8423UZhe9ti2i9M+82Smyuk6WHc4SUWAT7wscjG9euZ3L7rhYUj4GR1ucTs+HBMg3siYQVHGt3hpirBPQImQYZHvblcXip5pwusQAIkrAIbZTEhHa/3Jy3mGN7un4DHsi6RSFr9M4x2JgkrGtoojn1n8ABpqSjecTpMwEnLE0y3Hv4Dr2UQIGGV0Q69RnG4Dpza68EcNxAB/3Pwzhdeg4gVQoCEVUhD9BCGx67oXfUAKuAhvhv7D9IGAX3iagACJKwB4CU+1U9e3iJxmRT3+0eLeUPA1YGRnwAJK38b9BKBdw/1AmfvPIClJ2D2XrPJvlrp2S9QIglrARzF/rKPItu92OjaH5i/Jx+U3i7xncnY3sDPCL/Hor0pn8eu6F31CCzSYe5d/bXkrWmwTARIWJnANyh2Fx3rhIXlJ+BnH3qHjBXyh9LNCEhYZbf7igqP3lVZbXSUwtmtrJC6Ew0Jq+y29sRFj5tgZRFg08RM7UHCygS+h2I9ZuXLQTaY6wFW4kNmqjzP0cISEyBhJQbeoDivFzyiwfEcmo6AvzfHSCxAT8f89ZJIWImB91ic22U7iYmiPQLLcNj+KtN76mMJCZCwEsJuUNTKOnZOg+M5ND0B70fG4ujE3ElYiYH3WNzGOm5Wj8dyWB4Cr6rYHfMU3d1SSVjltf3SCsnJyr0srFwC/u4wvSFx+5CwEgPvobhVdczbejiOQ/ITmKwQlskfRnciIGGV19beRmbb8sIiokUQ8D8XBt4XASbWn0hYscj259fr1Xz3iXWD/fFLfZZ7Vx5vxBIRIGElAt1jMZ4k6qUfWB0E/I+FgfeEbUXCSgh7MUV5EqIfMcXDURcDqqC3vbc+c+USNggJKyHsxRTly8EjF3MMb5dFwN8fjzliiQiQsBKB7qEYb13ijfqwugisr3C3rCvkeqMlYZXRdr608DYyzL0qoz2aROEtgA5rcgLH9k+AhNU/u5BnevB2v5AO8ZWMwFiVtJfEQugEyElYCSD3UMR6OmbnHo7jkDIJTFZYu5YZWruiImGV0Z6HKIxVygiFKPogME7n8Gj7PsA1PYWE1ZRY+ON9OXhQeLd4TEjAd3i3SlheZ4siYeVv+mkKYaf8YRDBAAT8PfKdQi9cxyISIGFFhNuj64N1nO8SYnUT8CX9xLqrUH70JKy8beTLQW/URzvkbYcQpS8nJ1NCOMLHyAT4oozMJsU7Xoc2OUVBlBGdgJ9VyDKdyJhJWJEBL8b9u/S+5/Fg9RNYXlVgakPkdiRhRQY8insnqj0k2mAUSJW95YF31hZGbDS+LBHhLsb1bL3vCaNYewh4p40T21Od8mpCwsrXJseraF9GYO0h4F6z/xFt0J4qlVUTElae9vA2MrMk+OfhH7NU95oZy4pE2LfVsXQE/GE+QzpcYilOOu4pS/LuDRNSFtilskhY6Vp7ooq6QPKuDKzsF4SWmme7r9TSumWvFpck6ZrAY1Ykq3S8c5bE2GQk+iSsSGAXcuue7DYSPauFwLT0V5ZaRWpYElYksAu5fVm/P7PQ3/i1vQReaW/V8taMhJWO/+0q6qV0xVFSRgK/zVh2q4smYaVr3n9WUT9NVxwlZSLwmsp9MVPZrS+WhJWuie9WUTdIr6YrkpIyEPA4pR9hj0UgQMKKAHUUl5/Xe3eO8j5vtYPA1qrGGu2oSlm1IGGlbY8HVNxFEpcMabmnLs37Yu2QutAulEfCSt/KF6vIH6QvlhITEhivsqYmLK8zRZGw0jf18yrybOmX6YumxEQEPNudhBUBNgkrAtQeXN6oYy6RmK/TA6xKD5msuL0LKRaQAAkrIMyGrj6t43/e8BwOr4eAt5pZrp5w64iUhJWvnX6tou+QPG8Hax+Bp1QlVjcEblcSVmCgDd3dr+O9bAdrH4G5qhIrGwK3KwkrMNCG7tzDYhyrIbQKDv+dYnywgjirC5GElbfJ/lvF8184bxvEKN2X+ySsCGRJWBGgNnDpS8
2LHGhzPoXUQeEJheikWFpgACSsw0IbuPH51fcNzOLx8Aj9RiPeUH2Z9EZKw8reZ1xf6jhLWDgIev/J6UW6mRGhPElYEqA1d3qvjz5T8QcfqJ/CIqvD9+qtRZg1IWPnbxfOwLpf+K38oRBCAgP8B3RLADy4WQYCEtQgoGf7kqQ3sUpkBfOAivdeZ7/wyVSUw2GF3JKxhErxCYHACj8rFNwd3g4eRCJCwRiKT/u+MYaVnHrrEh+Twh6Gd4m8+ARLWfBa5f2JTv9wtMFj5/odzs/TcYG44ezQCJKzR6KR7zwPvjGGl4x2jJM9u/9cYjvE5nwAJaz6LnD85YT2bMwDKHpjA0/Jw28BecDAqARLWqHiSvslWJElxBy/sF/L4ZHCvOFyAAAlrARzZfnEPi9nu2fAPXLDbzwkLi0yAhBUZcI/uPX+HPd57hFXoYXyXEjQMkBNA7qEIJ6z7ejiOQ8ok4IenrlNmaO2KioRVTnveo1AYeC+nPZpG4gen+mk5WEQCJKyIcBu6/o2OZxykIbSCDl9WsVhYRAIkrIhwG7r2zqOs8m8IrbDD2VImcoOQsCIDbuDeE0e/0eB4Di2LwOMKh8m/kduEhBUZcAP3vjXuh1J4PyWsLgLuHXt7ILchFpEACSsi3D5ce3nHdX2cxyl5CXj88dq8IXSjdBJWWe38gsK5sayQiGYxBDwlxWsIvQ8WFpkACSsy4IbufUlxuzS34Xkcno+Ae8V/ITlxYZEJkLAiA+7Dvb8AN/VxHqekJ+AkdY10V/qiu1kiCau8dvd4iC8x+I9dXtssHJFvkLh3hSUiQMJKBLpBMb4sdA+Lh1I0gJbhULfTxZJ3GcUSESBhJQLdYzFv0nGrS/7P/WHpYQkrk4CnMlxVZmjtjYqEVVbbrqRw/lw6SvqZ9EnJG8Nh5RG4XyHdV15Y7Y7I/9Gxcgh4WoP3BL9c+oHkpPWYtIqElUXAC9V5nFfiNiFhJQa+mOKcsP5SWkr6qLS9ZPN4ibcwwcohMEWh+B8J+5glbBMuCRPC7rEoP33lY9IZ0vND55CshkAU9PJjxTK8JfJqBcXV6lDoYZXbvH+l0Nyz8pgWX4jy2skTfLeV9pVukDx/DotMgB5WZMADuPc8rK9L/zeAD06NR+Bgub5Uer80V8ISEKCHlQByn0V4y91zpLX7PJ/T4hKYNOTej6YfvjSMWyLelyBhlfsh2FyhHVZueEQmAh5j9HgjlogAl4SJQPdRzNg+zuGUtAS+rOJ4NH1C5iSshLAbFuUJoy82PIfD0xH4kYryZfsu6YqkJBJWuZ+BuQrt5nLD63Rkvnu7oTRd+prkJ+bwXRKE2Abk2IT78++xRa8j/GJ/p3NWZAKeF+c1n76L+17Jk319VxeLTICEFRlwn+59qXGE5B0bvtSnD06LS8C9rP2ksyRmu8dlPc87CWseiqJ+8G1y3zb/Y+k86SEJK4uAl09tJPn1vrJCa280JKwy29a3yz17en/pBIm9sQShUPONkbsKja11YXmsBCuTwB0K6wtD4h9LmW3kqNz79TIdLAEBvggJIA9QxJU697OSF0Rj5RHwHKzzJbePB+ItLCIBElZEuAFc+wtxtuSeFmsKBaEg86D730uXSB5vfKvk8SwsIgESVkS4gVx7o7gPSB+R7g7kEzeDE3BbuE12lJy0Piy9LGERCZCwIsIN6NpzfP5G8tpCXyLeK2F5CfxKxZ8iXSftId0mYZEJkLAiAw7s3pvGfUg6VvLSECwfgV1VtB/x5d00XpS+I2GRCZCwIgOO5P4W+T1V8n7vWH4C31MI380fRvsjIGHV28Y3K3R6Wfnbz5eEJ0ueO4dFJsA8rMiAI7v3nSosD4EXVOw50mXSo3lC6F6pJKx62/wghb59veFXH7n33P9U9bWorAJcElbWYEPhrqJXD76vVWf41Uf9gGrwueprUWEFSFgVNppC3l3aos7QWxH1NaqFF6hjiQmQsBIDD1TclvKzciBfuGlG4CUd/hWJ8cNm3IIcTcIKgjG5kzEq0cLSE3hKRfqSEMtAgISVAXqAIu+UDy5JAoDsw8XqOmfdPs7jlAAESFgBIGZw8W8q88EM5VLkEq8/Gm8vgeAOe4ZPAwkrA/QART4jH/8hvRLAFy6aE9hTp7AzQ3NuA59BwhoYYTYHt6rkp7OV3u2Cp6v647qNIE/tSVh5uIco9XY5IWGFINncx0o6Zbnmp3HGoARIWIMSzHf+z1Q0e73n4e+7hL/JU3S3SyVh1d3+Fyh8NvVL34beSsZrCbHEBLjTkRh44OL+U/5Ok7zVzARpGclt6gFh737pwfkVpXUkLAwB96yukNhdNAzPRl5IWI1wFXnw9Yrq3yUv1fHsdyctyz2AeyTvhumeGBaGwBfl5o4wrvDSlAAJqymxMo8fnuawcHTuaR268B/5fSAC/mewisQNj4Ew9ncyY1j9cavhrA0V5JelM2sItqIY36dYvVPDxhXF3JpQSVitacoFKrKsfrtQOlzyz1hYAkfJ3cWSJ5BiCQmQsBLCTljU6SrLj7nH4hHYRa4vkrwv2WrxisHzGwmQsN5Io/6fve2Me1ZOWFh8ApNUxLmSt5vx+kIsMgEG3SMDTuB+vMrYVTpI2lnaRMLSEfAg/N7SZOmT0qUSFokACSsS2MhuV5X/2ZK/KDtIfjbemhKWj8AUFX2+tJN0jvSwhAUmQMIKDDSyu5ny72kKHuz1ZFAnrjESVgYBt8cJ0m7SN6RLJC+hwgIRIGEFAhnJjef7TJP2kQ6QJkqeHEq7CUKh5nHhTSX3uI6RbpYulb4nMTteEAYxPviD0ItzrncC8B2+w6QZkpfWeGrCWAmrh4Dby5fqcyT/s3lEulLyAP3dEnvCC0JTI2E1JRbneP9X9lrA4yTPnZooLS1xuScIlZvbdgVpY+ks6WTp29I/Sd+RXpRelbAeCJCweoAU8RAnJQ+WHy+9R/K4FNZeAv6+ucfsXpf1P9JV0lelByUnL3pegjCSkbBGIhPv70vJtT+0XjpzoHSS5N4V1j0Cm6vK1mmSF7G71/VD6RnpJQlbiAAJayEgEX71ZZ13pxwnrS/NkHynb5YEf0HAlvC45ZFD+qleL5O+Jd0vsVGgIAwbX5hhEoO/mqV7Tk5MnkzogXIv2fDdos2kbSUv5/B7GARGIvBmvXGu5PEuXy5+TfJ2No9KnTcS1mAfAY8/udc0SZoquXvvBLWWtLrk/5wYBPohsIJO8timdZN0peTLxQckP8y1k0bC6q/Z19Np7i154NSXdix+FQQsGoE95dn6pXSDdKP0v5IH6p+UOnOXkYSl1m5g7lHtLR0hHdDgPA6FQAgC4+Xk3UNyT+tW6V5p7pA8WO+NBR8fetVLu4yE1Vt7ugc1U3KiOkRaUsIgkJOA7zJbw/acfnAP7DHJSczJ7C7Jg/j+WyuMhDV6M47T2/tJnszp2efLSRgESiTgz6o1UdpROlJ6WLpTukX6rvQjqWojYS26+byG70DpYGkvyev3MAjURsBjrZb/6TqBOWldIVWbuEhYar03mCdwumFnSzMk7vIJAtYKAtNUC2sfyVMlLpSqu1QkYanVhmyOXk+XpktwGYLCS+sIeE7gppKvHC6QPLu+GuOL+fumer9ezpJ8FxCDQNsJjFEFh3en3UM/f1R6ooZKd/1ulxvuHOkTEsmqhk8sMYYk4MnNJ0jXS05gxVuXE5bv+LlL7Me8M1ZV/EeVACMRcA7YXvK41p9EKiOY264mLN8FvEzyfxemKgT7OOGoYgJrK/bPSH8nLV1qPbqYsDzZ7lrp0JIbptQPDHG1moDncZ0ked2iLxeLsy4lLNd1J8nbduwpdanuqi4GgZ4I+EacV3NcJ71xJn1PJ8c+qCtf2rEC6dnqfpKJb+liEIDAyAR8M2o3yeNam498WPp3upCwVhDWj0hfksanR0yJEKiWwLaK3D2t7UqpQdsTlgfXz5U8z2SpUqATBwQqIrCRYv2KtE0JMbc5YXn936elPysBNDFAoGICUxT7pVL24ZQ2J6yjBfgYCYMABAYnsIVcXC5tMLir/j20NWEtKyQHSB5sxyAAgTAEPKbleVrZpjy0NWF5IXMxA4VhPit4gUARBNwROFVaJkc0bUxYvg3ru4LZ/gvkaEjKhEAiAs4Z75GcuJJb2xLWuiJ4nrRxcpIUCIHuEPDdd8+IT75hQJsSlruoJ0tvkTAIQCAuAU8sTd7LalPCersAnhi3jfAOAQgMEfCmAbOkFVMSaUvCmixop0lsE5Py00NZXSewtQD4u5fM2pCwXAc/fquImbjJWo6CIJCfgMeKPT8rmbUhYXluyPskL9jEIACBdAS8b9Z0yTs8JLHaE5avo98hrZWEFoVAAAILE9hEf0h2t7D2hOXuqG+vYhCAQB4CvsJJtm9WzQnL28a8U+Ihp3k+qJQKARPw1soT/UMKqzlhecDv2BSQKAMCEBiRgMeOfVmYJJckKWTEqvb/xjI69W0S0xj6Z8iZEAhFYIYcrRPK2Wh+ak1YHmT3vtMYBCCQn8CWCiHJwHuNCctd0N0lL3LGIACB/ATWVwgkrBHawfuyf3CE9/gzBCCQh0CScawae1iz1B6+lYpBAALlENheoawaO5zaEpa3tTg9NhT8QwACjQn4mZ+rNT6r4Qm1Jay3qn5ecIlBAAJlEfBe756TFdVqSljep907MmAQgEB5BLye0JeFXl8YzWpKWJ53xZ3BaB8FHENgYAKej+UVKNGsloTlRc5nRqOAYwhAIASBHeTE48zRrJaEdbgIeHIaBgEIlEvAi6CjPk+hhoTlLuYpkieMYhCAQLkE/B3106Gj7Y9VQ8I6VACiZu1y25/IIFAdAQ+8j4sVdekJaylV/L1S1DsPseDiFwIdJLCz6hztwRSlJ6y3qPLuYmIQgEAdBCYozDVjhVp6wvITZqNl61hQ8QuBDhNwTpkiRRlzLjlheU6HFaXi8otBAAJxCDhhRRnGKTlhHa1KrxGHJ14hAIGIBDzBu1MJa7wqvKcU7fZoxMbCNQS6TmA7AfCuwMGt1B6WdxP1YkoMAhCoj8B6CjnK9uUlJiz3qvaWGGyv74NKxBAwAU/2jrJzQ4kJy88adJcSgwAE6iXgXlbwG2YlJizvyhAlO9fb9kQOgeoITFPEnvgd1EpLWN6VYaYUZcAuKDmcQQACoxHwcrrWJ6xdVcmpo1HgPQhAoAoCvtPf+kvCfVXJJA9krKLJCRIC9RJwwgp+BRfc4QB8fWfBA+7Bs/IAMXEqBCDQHwFv5De2v1NHPqukhOXdCt88cqi8AwEIVERgZcW6fOh4S0pYHr/yrVAMAhCon4ATli8Lg1opCcuTRKdLpcQTFDLOINBBAr5DGHw8upQEsY0qt1UHG5UqQ6DNBII/WLWUhOVN+ryBPQYBCLSHQPDldSUkLE8S3VEqIZb2fFSoCQTyEwi+ALqEJOHNvtgGOf+HiwggEJpA8IdRlJCwJouSkxYGAQi0i0ArE9bWaqPV29VO1AYCEBABrw0Oarl7WJ7dvknQGuEMAhAohcCyoQPJnbC8jQx3B0O3Kv4gUAaB1i3NccKaWAZbooAABAITaF0PayMBWj8wJNxBAAJlEAj+EJmcl4Qum8XOZXywiAICMQgEf9RXzoTlxZH0rmJ8TPAJgTIItKqH5YWRfuAiBgEItJNA8A5RcIcNuE/QsVwSNgDGoRCojEDwzThzJyweNlHZJ5BwIZCTQK6E5dudm+WsOGVDAAL1EciVsDx+xcNS6/u8EDEEmhB4rcnBvRybK2F5g3rGr3ppIY6BAATmEciVsNzDYsHzvGbgBwi0kkArelhOku5d5UqWrfxkUCkIFEjg5dAx5Uga7lntFLoi+IMABIoj8EroiHIkrFVVCR44Ebol8QeB8gi0ooflZ5VNLo8tEUEAAoEJVN/D8toiP3DCzyzDIACBdhN4KXT1Ul8SeodRPzAVgwAE2k/gd6GrmDph+bE/JKzQrYg/CJRJoPoxrEniyg4NZX64iAoCoQlUfUno8atpoYngDwIQKJZA1QnLj/yZUSxaAoMABEITeDG0w5RjWB6/mh26AviDAASKJVB1wvJ2yBYGAQh0g0C1l4TuyfHA1G58SKklBIYJ/Hb4h1CvqS4JvbPorqGCxg8EIFAFgWoT1vLCu0cViAkSAhAIReCFUI6G/aTqYXn94JThQnmFAAQ6QaDKHpafnDFVYv1gJz6jVBIC8wg8N++nQD+k6GE5Ue0cKF7cQAAC9RB4NnSoKRIWM9xDtxr+IFA+gVcV4lOhw0yRsFzGBqEDxx8EIFA0AQ+4Px06whQJa0UFvW7owPEHAQgUTeB
25RVflXULv0OC7hBgEINAdAk5YVc50d8LCIACBbhGoNmFxOditDyq1hYAJeEqDB96DWooxrDWDRowzCECgBgIecK/yQao84bmGjxcxQiAsgWfkrsqEtXJYDniDAAQqIFBtD8sb92EQgEC3CDyi6lY5huWtkTEIQKBbBO5Vdat8kOrS3WonagsBCIjA41KVPSyvJcQgAIFuEQi+jtD4Ukxr6FYzUVsIQMD7YP06BoYUCSv4rc0YIPAJAQgEI+ApDcG3lnF0KRJW8MdVB8OKIwhAIAYBj18Ff8SXA02RsKIEHoMyPiEAgSAEfiIvwRc+O7IUCcuLIDEIQKA7BH6uqka5skqRsKJcy3an7akpBKoj8AtFTMKqrtkIGALdJPCwqh180qhRpuhh+Y4BBgEIdIOAZwU8GquqKRJW8H2dY8HALwQgMDCBJ+ThVwN7GcHB/wOO1I0tMEz/VQAAAABJRU5ErkJggg=="></image>\n </g>\n </g>\n</svg>\n';var s=n(20919);const l={name:"ara-swiper-author",props:{card:{type:Object,required:!0}},data:function(){return{silueta:a,iconExclusive:s.A,author:null,authorImage:null}},mounted:function(){var e=this;this.card.authors&&(this.author=this.card.authors[0]),this.author&&(this.authorImage=this.author.image),this.$nextTick(function(){return e.lazy.update()})},methods:{svgPlaceHolder:function(e,t){return"data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ".concat(e," ").concat(t,""%3E%3C/svg%3E")}}};var c=n(67658);const u=(0,c.A)(l,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"author-card"},[n("div",{staticClass:"author-card_content"},[n("h2",{staticClass:"author-card_title"},[n("a",{staticClass:"author-card_title-link",attrs:{href:e.card.url,title:e.card.title}}
2,[e.card.isExclusiveContent?n("div",{staticClass:"epigraph epigraph--exclusive"},[n("div",{staticClass:"ara-icon-exclusive",domProps:{innerHTML:e._s(e.iconExclusive)}}),e._v(" |\n ")]):e._e(),e._v("\n "+e._s(e.card.title)+"\n ")])]),e._v(" "),e.author?n("div",{staticClass:"author-card_author"},[n("a",{staticClass:"author-card_author-link",attrs:{href:e.author.url,title:e.author.name}},[e._v("\n "+e._s(e.author.name)+"\n ")])]):e._e()]),e._v(" "),e.authorImage?[e.card.url?[n("a",{attrs:{href:e.card.url,title:e.author.name}},[n("figure",{staticClass:"author-card_image"},[n("picture",[n("img",{staticClass:"no-sources lazy",attrs:{loading:"lazy",src:e.authorImage.url,alt:e.author.name}})]),e._v(" "),e.card.mediaInfo?n("ara-media-info",{attrs:{type:e.card.mediaInfo}}):e._e()],1)])]:[n("figure",{staticClass:"author-card_image"},[n("picture",[n("img",{staticClass:"no-sources lazy",attrs:{loading:"lazy",src:e.authorImage.url,alt:e.authorImage.title}})]),e._v(" "),e.card.mediaInfo?n("ara-media-info",{attrs:{type:e.card.mediaInfo}}):e._e()],1)]]:n("div",{staticClass:"author-card_image-default"},[n("span",{domProps:{innerHTML:e._s(e.silueta)}}),e._v(" "),e.card.mediaInfo?n("ara-media-info",{attrs:{type:e.card.mediaInfo}}):e._e()],1),e._v(" "),e.card.missingTranslatedVersion?n("div",{staticClass:"untranslated-content",domProps:{textContent:e._s(e.$t("missingTranslatedVersion"))}}):e._e()],2)},[],!1,null,null,null).exports,p={name:"ara-swiper-authors-module-item-card",props:{card:{type:Object,required:!0}},data:function(){return{silueta:a,iconExclusive:s.A}},mounted:function(){var e=this;this.$nextTick(function(){return e.lazy.update()})},methods:{svgPlaceHolder:function(e,t){return"data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg"
2 viewBox="0 0 ".concat(e," ").concat(t,""%3E%3C/svg%3E")}}},d=(0,c.A)(p,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"author-card"},[n("div",{staticClass:"author-card_content"},[n("h2",{staticClass:"author-card_title"},[n("a",{staticClass:"author-card_title-link",attrs:{href:e.card.url,title:e.card.title}},[e.card.isExclusiveContent?n("div",{staticClass:"epigraph epigraph--exclusive"},[n("div",{staticClass:"ara-icon-exclusive",domProps:{innerHTML:e._s(e.iconExclusive)}}),e._v(" |\n ")]):e._e(),e._v("\n "+e._s(e.card.title)+"\n ")])]),e._v(" "),n("div",{staticClass:"author-card_author"},[n("a",{staticClass:"author-card_author-link",attrs:{href:e.card.authorUrl,title:e.card.authorName}},[e._v(e._s(e.card.authorName))])])]),e._v(" "),e.card.authorImage?[n("figure",{staticClass:"author-card_image"},[n(e.card.url?"a":"span",e._b({tag:"component"},"component",e.card.url?{href:e.card.url,title:e.card.authorName}:{},!1),[n("picture",[n("img",{staticClass:"no-sources lazy",attrs:{loading:"lazy",src:e.card.authorImage.url,alt:e.card.authorName}})])])],1)]:n("div",{staticClass:"author-card_image-default"},[n("span",{domProps:{innerHTML:e._s(e.silueta)}})])],2)},[],!1,null,null,null).exports;var f=n(90988),m=n(36925),h=n(60066);const g={name:"ara-swiper-content",props:{card:{type:Object,required:!0},dataSizes:{type:String,default:"100vw"}},components:{araPicture:h.A},data:function(){return{authorImage:null,silhouette:'<svg width="50px" height="50px" viewBox="0 0 50 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>imatge_autor_120x120 copy 2</title>\n <defs>\n <ellipse id="path-1" cx="25" cy="25" rx="24.6428571" ry="25"></ellipse>\n </defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="PIEZAS-CAMBIO-CUERPO" transform="translate(-463.000000, -944.000000)">\n <g id="imatge_autor_120x120-copy-2" transform="translate(463.000000, 944.000000)">\n <mask id="mask-2" fill="white">\n <use xlink:href="#path-1"></use>\n </mask>\n <use id="Oval" fill="#D8E0E8" xlink:href="#path-1"></use>\n <image id="silueta" mask="url(#mask-2)" x="-8.57142857" y="1.42857143" width="64.2857143" height="64.2857143" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAABJmlDQ1BrQ0dDb2xvclNwYWNlQWRvYmVSR0IxOTk4AAAokWNgYFJILCjIYRJgYMjNKykKcndSiIiMUmB/ysDIwMEgwMDEIJSYXFzgGBDgwwAEMBoVfLsGVA0El3VBZmHK4wVcKanFyUD6DxBnJxcUlTAwMGYA2crlJQUgdg+QLZKUDWYvALGLgA4EsreA2OkQ9gmwGgj7DlhNSJAzkP0ByOZLArOZQHbxpUPYAiA21F4QEHRMyU9KVQD5XsPQ0tJ
2Ck0Q/EAQlqRUlINo5v6CyKDM9o0TBERhSqQqeecl6OgpGBkaGDAygcIeo/hwIDk9GsTMIMQRAiM2RYGDwX8rAwPIHIWbSy8CwQIeBgX8qQkwNaLqAPgPDvjnJpUVlUGMYmYwZGAjxAcAdSiWx/FfLAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAAAaAAAAAAACoAIABAAAAAEAAAEsoAMABAAAAAEAAAEsAAAAAPuooN0AAB3FSURBVHgB7Z0JtF1VeccJSBjCDGEOZCAghCEMYR5CCMioAqaAIDIWbevEVBB1IdqilkVtLVRtmUSKCIKWirq0UEqXLSoFoXWJCARkVgSkgCBD/398LyEx7+Wee/d4zu9b67/ue++e8+1v//a939tnn733GfPaa68tgUEAAhCogcCSNQRJjBCAAARMgITF5wACEKiGAAmrmqYiUAhAgITFZwACEKiGAAmrmqYiUAhAgITFZwACEKiGAAmrmqYiUAhAgITFZwACEKiGAAmrmqYiUAhAgITFZwACEKiGAAmrmqYiUAhAgITFZwACEKiGAAmrmqYiUAhAgITFZwACEKiGAAmrmqYiUAhA4E2xEVx99dWxi8B/fgJjFMJYaSVphrS5tIE0Xlpe8vvPS09KD0l3S7dJj0svSS9LWAsJzJkzJ2itoiesoNHirDQC7qE7Se0hHSHtJq0r9WLP6aA7pW9JX5fmSs9KGARGJEDCGhENb4xCwJ+bNaTZ0gek7aSmNk4n7DSkj+v1X6TPS9+XnpYwCPwBARLWHyDhD6MQWE7vbSg5UR0nbS2FMF8yHjSkq/T6KenHEvt3CwI2nwAJaz4LfhqZwFp6a4rkpHKUtL4Uyw6TY19anildI3nsC4PA6wRIWHwQFkXAPalVpQnSVtJ+0r7SslIK8zjYZdKW0oXSfRIGgSVIWHwIfDnmO3qThrSeXn13z797jMljVbnsFBW8reTkdYt0r4R1mAAJq7uN717MNtKuQ68z9LqKVJrNVECWE9bN0g3SrdKrEtYxAiSsjjW4qrux5LGo2ZKT1QpSDeZxLeudkqdCXCJ5LhfWIQIkrO409tqq6rukQ6QdK672ZMX+p5Lnfn1C+qqEdYQACasbDX20qnmsNLNF1fVs+gukqdJ50osS1nICS7a8fl2vnntVnoz5WWmm1DbzDYGzpS9IrivWcgIkrPY28Paq2rXSSZKnKLTVfJXwbukKqZ8Z923l0sp6kbBa2ayvD6p7bMfTErpis1RR1/nErlS4i/UkYbWv1T2ofpG0Yfuqttgaee6Yx7M+J9Vy93OxleKA+QRIWPNZtOGn/VWJf5Q88bOr5t0jfBn8Tclzy7AWESBhtacxffl3sdTm8apeW2tpHbi75B0gPiSlWlKkorCYBEhYMemm8+3Fyb5T5ldsPoE19eNnJO8iuYk0RsIqJkDCqrjxhkL3XbK/labVX5UoNTCfA6WbJM9F8z5cWKUESFiVNtwbwj5OP/sLSVu+AcoiflxHf/PNCF82byTBSxBqMxqtthZbMF4Prp8qLb/gn/ltFAJ/pPe+Lb1D8jY6WEUESFgVNdYiQv2o/jZxEX/nT6MT8GaEV0lnSKuNfijvlkSAhFVSazSLxWNWB0u+I4b1R+BjOu18aUJ/p3NWagIkrNTEw5Xn2/W9PqEmXKnt8+RlPZdKm7Wvau2rEQmrzjbdRmF722LaL0z7zZKbK6TpYdzhJRYBPvCxyMb165ncvuuFhSPgZHW5xOz4cEyDeyJhBUca3eGmKsE9AiZBhke9uVxeKnmnC6xAAiSsAhtlMSEdr/cnLeYY3u6fgMeyLpFIWv0zjHYmCSsa2iiOfWfwAGmpKN5xOkzAScsTTLce/gOvZRAgYZXRDr1GcbgOnNrrwRw3EAH/c/DOF16DiBVCgIRVSEP0EIbHruhd9QAq4CG+G/sP0gYBfeJqAAIkrAHgJT7VT17eInGZFPf7R4t5Q8DVgZGfAAkrfxv0EoF3D/UCZ+88gKUnYPZes8m+WunZL1AiCWsBHMX+so8i273Y6NofmL8nH5TeLvGdydjewM8Iv8eivSmfx67oXfUILNJh7l39teStabBMBEhYmcA3KHYXHeuEheUn4GcfeoeMFfKH0s0ISFhlt/uKCo/eVVltdJTC2a2skLoTDQmr7Lb2xEWPm2BlEWDTxEztQcLKBL6HYj1m5ctBNpjrAVbiQ2aqPM/RwhITIGElBt6gOK8XPKLB8RyajoC/N8dILEBPx/z1kkhYiYH3WJzbZTuJiaI9Astw2P4q03vqYwkJkLASwm5Q1Mo6dk6D4zk0PQHvR8bi6MTcSViJgfdY3MY6blaPx3JYHgKvqtgd8xTd3VJJWOW1/dIKycnKvSysXAL+7jC9IXH7kLASA++huFV1zNt6OI5D8hOYrBCWyR9GdyIgYZXX1t5GZtvywiKiRRDwPxcG3hcBJtafSFixyPbn1+vVfPeJdYP98Ut9lntXHm/EEhEgYSUC3WMxniTqpR9YHQT8j4WB94RtRcJKCHsxRXkSoh8xxcNRFwOqoLe9tz5z5RI2CAkrIezFFOXLwSMXcwxvl0XA3x+POWKJCJCwEoHuoRhvXeKN+rC6CKyvcLesK+R6oyVhldF2vrTwNjLMvSqjPZpE4S2ADmtyAsf2T4CE1T+7kGd68Ha/kA7xlYzAWJW0l8RC6ATISVgJIPdQxHo6ZucejuOQMglMVli7lhlau6IiYZXRnocojFXKCIUo+iAwTufwaPs+wDU9hYTVlFj44305eFB4t3hMSMB3eLdKWF5niyJh5W/6aQphp/xhEMEABPw98p1CL1zHIhIgYUWE26Prg3Wc7xJidRPwJf3EuqtQfvQkrLxt5MtBb9RHO+RthxClLycnU0I4wsfIBPiijMwmxTtehzY5RUGUEZ2An1XIMp3ImElYkQEvxv279L7n8WD1E1heVWBqQ+R2JGFFBjyKeyeqPSTaYBRIlb3lgXfWFkZsNL4sEeEuxvVsve8Jo1h7CHinjRPbU53yakLCytcmx6toX0Zg7SHgXrP/EW3QniqVVRMSVp728DYysyT45+Efs1T3mhnLikTYt9WxdAT8YT5DOlxiKU467ilL8u4NE1IW2KWySFjpWnuiirpA8q4MrOwXhJaaZ7uv1NK6Za8WlyTpmsBjViSrdLxzlsTYZCT6JKxIYBdy657sNhI9q4XAtPRXllpFalgSViSwC7l9Wb8/s9Df+LW9BF5pb9Xy1oyElY7/7SrqpXTFUVJGAr/NWHariyZhpWvef1ZRP01XHCVlIvCayn0xU9mtL5aEla6J71ZRN0ivpiuSkjIQ8DilH2GPRSBAwooAdRSXn9d7d47yPm+1g8DWqsYa7ahKWbUgYaVtjwdU3EUSlwxpuacuzfti7ZC60C6UR8JK38oXq8gfpC+WEhMSGK+ypiYsrzNFkbDSN/XzKvJs6Zfpi6bERAQ8252EFQE2CSsC1B5c3qhjLpGYr9MDrEoPmay4vQspFpAACSsgzIauPq3jf97wHA6vh4C3mlmunnDriJSEla+dfq2i75A8bwdrH4GnVCVWNwRuVxJWYKAN3d2v471sB2sfgbmqEisbArcrCSsw0Ibu3MNiHKshtAoO/51ifLCCOKsLkYSVt8n+W8XzXzhvG8Qo3Zf7JKwIZElYEaA2cOlLwscaHM+hdRB4QmF6KRYWmAAJKzDQhu48fnV9w3M4vHwCP1GI95QfZn0RkrDyt5nXF/qOEtYOAh6/8npRbqZEaE8SVgSoDV3eq+PPlPxBx+on8Iiq8P36q1FmDUhY+dvF87Aul/4rfyhEEICA/wHdEsAPLhZBgIS1CCgZ/uSpDexSmQF84CK915nv/DJVJTDYYXckrGESvEJgcAKPysU3B3eDh5EIkLBGIpP+74xhpWceusSH5PCHoZ3ibz4BEtZ8Frl/YlO/3C0wWPn+h3Oz9Nxgbjh7NAIkrNHopHvPA++MYaXjHaMkz27/1xiO8TmfAAlrPoucPzlhPZszAMoemMDT8nDbwF5wMCoBEtaoeJK+yVYkSXEHL+wX8vhkcK84XIAACWsBHNl+cQ+L2e7Z8A9csNvPCQuLTICEFRlwj+49f4c93nuEVehhfJcSNAyQE0DuoQgnrPt6OI5DyiTgh6euU2Zo7YqKhFVOe96jUBh4L6c9mkbiB6f6aTlYRAIkrIhwG7r+jY5nHKQhtIIOX1axWFhEAiSsiHAbuvbOo6zybwitsMPZUiZyg5CwIgNu4N4TR7/R4HgOLYvA4wqHyb+R24SEFRlwA/e+Ne6HUng/JawuAu4de3sgtyEWkQAJKyLcPlx7ecd1fZzHKXkJePzx2rwhdKN0ElZZ7fyCwrmxrJCIZjEEPCXFawi9DxYWmQAJKzLghu59SXG7NLfheRyej4B7xX8hOXFhkQmQsCID7sO9vwA39XEep6Qn4CR1jXRX+qK7WSIJq7x293iILzH4j11e2ywckW+QuHeFJSJAwkoEukExvix0D4uHUjSAluFQt9PFkncZxRIRIGElAt1jMW/ScatL/s/9YelhCSuTgKcyXFVmaO2NioRVVtuupHD+XDpK+pn0Sckbw2HlEbhfId1XXljtjsj/0bFyCHhag/cEv1z6geSk9Zi0ioSVRcAL1XmcV+I2IWElBr6Y4pyw/lJaSvqotL1k83iJtzDByiEwRaH4Hwn7mCVsEy4JE8LusSg/feVj0hnS80PnkKyGQBT08mPFMrwl8moFxdXqUOhhldu8f6XQ3LPymBZfiPLayRN8t5X2lW6QPH8Oi0yAHlZkwAO49zysr0v/N4APTo1H4GC5vlR6vzRXwhIQoIeVAHKfRXjL3XOktfs8n9PiEpg05N6Pph++NIxbIt6XIGGV+yHYXKEdVm54RCYCHmP0eCOWiACXhIlA91HM2D7O4ZS0BL6s4ng0fULmJKyEsBsW5QmjLzY8h8PTEfiRivJl+y7piqQkEla5n4G5Cu3mcsPrdGS+e7uhNF36muQn5vBdEoTYBuTYhPvz77FFryP8Yn+nc1ZkAp4X5zWfvov7XsmTfX1XF4tMgIQVGXCf7n2pcYTkHRu+1KcPTotLwL2s/aSzJGa7x2U9zzsJax6Kon7wbXLfNv9j6TzpIQkri4CXT20k+fW+skJrbzQkrDLb1rfLPXt6f+kEib2xBKFQ842RuwqNrXVheawEK5PAHQrrC0PiH0uZbeSo3Pv1Mh0sAQG+CAkgD1DElTr3s5IXRGPlEfAcrPMlt48H4i0sIgESVkS4AVz7C3G25J4WawoFoSDzoPvfS5dIHm98q+TxLCwiARJWRLiBXHujuA9IH5HuDuQTN4MTcFu4TXaUnLQ+LL0sYREJkLAiwg3o2nN8/kby2kJfIt4rYXkJ/ErFnyJdJ+0h3SZhkQmQsCIDDuzem8Z9SDpW8tIQLB+BXVW0H/Hl3TRelL4jYZEJkLAiA47k/hb5PVXyfu9YfgLfUwjfzR9G+yMgYdXbxjcrdHpZ+dvPl4QnS547h0UmwDysyIAju/edKiwPgRdU7DnSZdKjeULoXqkkrHrb/CCFvn294Vcfuffc/1T1taisAlwSVtZgQ+GuolcPvq9VZ/jVR/2AavC56mtRYQVIWBU2mkLeXdqiztBbEfU1qoUXqGOJCZCwEgMPVNyW8rNyIF+4aUbgJR3+FYnxw2bcghxNwgqCMbmTMSrRwtITeEpF+pIQy0CAhJUBeoAi75QPLkkCgOzDxeo6Z90+zuOUAARIWAEgZnDxbyrzwQzlUuQSrz8aby+B4A57hk8DCSsD9ABFPiMf/yG9EsAXLpoT2FOnsDNDc24Dn0HCGhhhNge3quSns5Xe7YKnq/rjuo0gT+1JWHm4hyj1djkhYYUg2dzHSjplueanccagBEhYgxLMd/7PVDR7vefh77uEv8lTdLdLJWHV3f4XKHw29Uvfht5KxmsJscQEuNORGHjg4v5T/k6TvNXMBGkZyW3qAWHvfunB+RWldSQsDAH3rK6Q2F00DM9GXkhYjXAVefD1iurfJS/V8ex3Jy3LPYB7JO+G6Z4YFobAF+XmjjCu8NKUAAmrKbEyjx+e5rBwdO5pHbrwH/l9IAL+Z7CKxA2PgTD2dzJjWP1xq+GsDRXkl6Uzawi2ohjfp1i9U8PGFcXcmlBJWK1pygUqsqx+u1A6XPLPWFgCR8ndxZInkGIJCZCwEsJOWNTpKsuPucfiEdhFri+SvC/ZavGKwfMbCZCw3kij/p+97Yx7Vk5YWHwCk1TEuZK3m/H6QiwyAQbdIwNO4H68ythVOkjaWdpEwtIR8CD83tJk6ZPSpRIWiQAJKxLYyG5Xlf/Zkr8oO
20h+Nt6aEpaPwBQVfb60k3SO9LCEBSZAwgoMNLK7mfLvaQoe7PVkUCeuMRJWBgG3xwnSbtI3pEskL6HCAhEgYQUCGcmN5/tMk/aRDpAmSp4cSrsJQqHmceFNJfe4jpFuli6VvicxO14QBjE++IPQi3OudwLwHb7DpBmSl9Z4asJYCauHgNvLl+pzJP+zeUS6UvIA/d0Se8ILQlMjYTUlFud4/1f2WsDjJM+dmigtLXG5JwiVm9t2BWlj6SzpZOnb0j9J35FelF6VsB4IkLB6gBTxECclD5YfL71H8rgU1l4C/r65x+xel/U/0lXSV6UHJScvel6CMJKRsEYiE+/vS8m1P7ReOnOgdJLk3hXWPQKbq8rWaZIXsbvX9UPpGeklCVuIAAlrISARfvVlnXenHCetL82QfKdvlgR/QcCW8LjlkUP6qV4vk74l3S+xUaAgDBtfmGESg7+apXtOTkyeTOiBci/Z8N2izaRtJS/n8HsYBEYi8Ga9ca7k8S5fLn5N8nY2j0qdNxLWYB8Bjz+51zRJmiq5e+8EtZa0uuT/nBgE+iGwgk7y2KZ1k3Sl5MvFByQ/zLWTRsLqr9nX02nuLXng1Jd2LH4VBCwagT3l2fqldIN0o/S/kgfqn5Q6c5eRhKXWbmDuUe0tHSEd0OA8DoVACALj5eTdQ3JP61bpXmnukDxY740FHx961Uu7jITVW3u6BzVTcqI6RFpSwiCQk4DvMlvD9px+cA/sMclJzMnsLsmD+P5bK4yENXozjtPb+0mezOnZ58tJGARKJODPqjVR2lE6UnpYulO6Rfqu9COpaiNhLbr5vIbvQOlgaS/J6/cwCNRGwGOtlv/pOoE5aV0hVZu4SFhqvTeYJ3C6YWdLMyTu8gkC1goC01QLax/JUyUulKq7VCRhqdWGbI5eT5emS3AZgsJL6wh4TuCmkq8cLpA8u74a44v5+6Z6v17OknwXEINA2wmMUQWHd6fdQz9/VHqihkp3/W6XG+4c6RMSyaqGTywxhiTgyc0nSNdLTmDFW5cTlu/4uUvsx7wzVlX8R5UAIxFwDthe8rjWn0QqI5jbriYs3wW8TPJ/F6YqBPs44ahiAmsr9s9IfyctXWo9upiwPNnuWunQkhum1A8McbWagOdxnSR53aIvF4uzLiUs13Unydt27Cl1qe6qLgaBngj4RpxXc1wnvXEmfU8nxz6oK1/asQLp2ep+kolv6WIQgMDIBHwzajfJ41qbj3xY+ne6kLBWENaPSF+SxqdHTIkQqJbAtorcPa3tSqlB2xOWB9fPlTzPZKlSoBMHBCoisJFi/Yq0TQkxtzlhef3fp6U/KwE0MUCgYgJTFPulUvbhlDYnrKMF+BgJgwAEBiewhVxcLm0wuKv+PbQ1YS0rJAdIHmzHIACBMAQ8puV5WtmmPLQ1YXkhczEDhWE+K3iBQBEE3BE4VVomRzRtTFi+Deu7gtn+C+RoSMqEQCICzhnvkZy4klvbEta6InietHFykhQIge4Q8N13z4hPvmFAmxKWu6gnS2+RMAhAIC4BTyxN3stqU8J6uwCeGLeN8A4BCAwR8KYBs6QVUxJpS8KaLGinSWwTk/LTQ1ldJ7C1APi7l8zakLBcBz9+q4iZuMlajoIgkJ+Ax4o9PyuZtSFheW7I+yQv2MQgAIF0BLxv1nTJOzwksdoTlq+j3yGtlYQWhUAAAgsT2ER/SHa3sPaE5e6ob69iEIBAHgK+wkm2b1bNCcvbxrxT4iGneT6olAoBE/DWyhP9QwqrOWF5wO/YFJAoAwIQGJGAx459WZgklyQpZMSq9v/GMjr1bRLTGPpnyJkQCEVghhytE8rZaH5qTVgeZPe+0xgEIJCfwJYKIcnAe40Jy13Q3SUvcsYgAIH8BNZXCCSsEdrB+7J/cIT3+DMEIJCHQJJxrBp7WLPUHr6VikEAAuUQ2F6hrBo7nNoSlre1OD02FPxDAAKNCfiZn6s1PqvhCbUlrLeqfl5wiUEAAmUR8F7vnpMV1WpKWN6n3TsyYBCAQHkEvJ7Ql4VeXxjNakpYnnfFncFoHwUcQ2BgAp6P5RUo0ayWhOVFzmdGo4BjCEAgBIEd5MTjzNGsloR1uAh4choGAQiUS8CLoKM+T6GGhOUu5imSJ4xiEIBAuQT8HfXToaPtj1VDwjpUAKJm7XLbn8ggUB0BD7yPixV16QlrKVX8vVLUOw+x4OIXAh0ksLPqHO3BFKUnrLeo8u5iYhCAQB0EJijMNWOFWnrC8hNmo2XrWFDxC4EOE3BOmSJFGXMuOWF5TocVpeLyi0EAAnEIOGFFGcYpOWEdrUqvEYcnXiEAgYgEPMG7UwlrvCq8pxTt9mjExsI1BLpOYDsB8K7Awa3UHpZ3E/ViSgwCEKiPwHoKOcr25SUmLPeq9pYYbK/vg0rEEDABT/aOsnNDiQnLzxp0lxKDAATqJeBeVvAbZiUmLO/KECU719v2RA6B6ghMU8Se+B3USktY3pVhphRlwC4oOZxBAAKjEfByutYnrF1VyamjUeA9CECgCgK+09/6S8J9VckkD2SsoskJEgL1EnDCCn4FF9zhAHx9Z8ED7sGz8gAxcSoEINAfAW/kN7a/U0c+q6SE5d0K3zxyqLwDAQhURGBlxbp86HhLSlgev/KtUAwCEKifgBOWLwuDWikJy5NEp0ulxBMUMs4g0EECvkMYfDy6lAS
2xjSq3VQcblSpDoM0Egj9YtZSE5U36vIE9BgEItIdA8OV1JSQsTxLdUSohlvZ8VKgJBPITCL4AuoQk4c2+2AY5/4eLCCAQmkDwh1GUkLAmi5KTFgYBCLSLQCsT1tZqo9Xb1U7UBgIQEAGvDQ5quXtYnt2+SdAa4QwCECiFwLKhA8mdsLyNDHcHQ7cq/iBQBoHWLc1xwppYBluigAAEAhNoXQ9rIwFaPzAk3EEAAmUQCP4QmZyXhC6bxc5lfLCIAgIxCAR/1FfOhOXFkfSuYnxM8AmBMgi0qoflhZF+4CIGAQi0k0DwDlFwhw24T9CxXBI2AMahEKiMQPDNOHMnLB42UdknkHAhkJNAroTl252b5aw4ZUMAAvURyJWwPH7Fw1Lr+7wQMQSaEHitycG9HJsrYXmDesavemkhjoEABOYRyJWw3MNiwfO8ZuAHCLSSQCt6WE6S7l3lSpat/GRQKQgUSODl0DHlSBruWe0UuiL4gwAEiiPwSuiIciSsVVUJHjgRuiXxB4HyCLSih+VnlU0ujy0RQQACgQlU38Py2iI/cMLPLMMgAIF2E3gpdPVSXxJ6h1E/MBWDAATaT+B3oauYOmH5sT8krNCtiD8IlEmg+jGsSeLKDg1lfriICgKhCVR9Sejxq2mhieAPAhAolkDVCcuP/JlRLFoCgwAEQhN4MbTDlGNYHr+aHboC+IMABIolUHXC8nbIFgYBCHSDQLWXhO7J8cDUbnxIqSUEhgn8dviHUK+pLgm9s+iuoYLGDwQgUAWBahPW8sK7RxWICRICEAhF4IVQjob9pOphef3glOFCeYUABDpBoMoelp+cMVVi/WAnPqNUEgLzCDw376dAP6ToYTlR7RwoXtxAAAL1EHg2dKgpEhYz3EO3Gv4gUD6BVxXiU6HDTJGwXMYGoQPHHwQgUDQBD7g/HTrCFAlrRQW9bujA8QcBCBRN4HlFV+VdQu/Q4LuEGAQg0B0CTlhVznR3wsIgAIFuEag2YXE52K0PKrWFgAl4SoMH3oNaijGsNYNGjDMIQKAGAh5wr/JBqjzhuYaPFzFCICyBZ+SuyoS1clgOeIMABCogUG0Pyxv3YRCAQLcIPKLqVjmG5a2RMQhAoFsE7lV1q3yQ6tLdaidqCwEIiMDjUpU9LK8lxCAAgW4RCL6O0PhSTGvoVjNRWwhAwPtg/ToGhhQJK/itzRgg8AkBCAQj4CkNwbeWcXQpElbwx1UHw4ojCEAgBgGPXwV/xJcDTZGwogQegzI+IQCBIAR+Ii/BFz47shQJy4sgMQhAoDsEfq6qRrmySpGwolzLdqftqSkEqiPwC0VMwqqu2QgYAt0k8LCqHXzSqFGm6GH5jgEGAQh0g4BnBTwaq6opElbwfZ1jwcAvBCAwMIEn5OFXA3sZwcH/A47UjS0wTP9VAAAAAElFTkSuQmCC"></image>\n </g>\n </g>\n </g>\n</svg>\n',iconComments:f.A}},computed:{isAuthorContent:function(){return"opinion"===this.card.type&&null!==this.authorImage&&void 0!==this.authorImage}},mounted:function(){this.card.authors&&this.card.authors[0]&&this.card.authors[0].image&&(this.authorImage=this.card.authors[0].image)},methods:{svgPlaceHolder:function(e,t){return"data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg"
2 viewBox="0 0 ".concat(e," ").concat(t,""%3E%3C/svg%3E")},printAuthorName:function(e,t,n){return 0===t&&n>1?"".concat(e,", "):0!==t?t===n-2?"".concat(e," ").concat(m.A.t("common.and")," "):t===n-1?"".concat(e):"".concat(e,", "):"".concat(e)}}},v=(0,c.A)(g,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{class:e.card.type},[e.card.image?n("figure",{staticClass:"image"},[n("a",{attrs:{href:e.card.url,title:e.card.title}},[n("ara-picture",{attrs:{image:e.card.image,sizes:e.dataSizes}})],1),e._v(" "),e.card.mediaInfo?n("ara-media-info",{attrs:{type:e.card.mediaInfo}}):e._e()],1):e._e(),e._v(" "),n("section",{class:{withAuthorImage:e.isAuthorContent}},[n("a",{staticClass:"title",attrs:{href:e.card.url}},[n("div",{staticClass:"title-contain"},[e.card.kicker?n("span",{staticClass:"kicker"},[e._v(e._s(e.card.kicker))]):e._e(),e._v(" "),e.card.interviewed?n("span",{staticClass:"interviewed"},[e._v(e._s(e.card.interviewed))]):e._e(),e._v(" "),n("h2",[e._v(e._s(e.card.title))])])]),e._v(" "),e.isAuthorContent?n("figure",{staticClass:"author-image"},[e.authorImage?n("picture",[n("img",{staticClass:"no-sources lazy",attrs:{loading:"lazy",src:e.authorImage.url,alt:e.authorImage.title}})]):n("span",{domProps:{innerHTML:e._s(e.silhouette)}})]):e._e(),e._v(" "),n("div",{staticClass:"authors-wrapper"},[e.card.authors?n("div",{staticClass:"authors"},[e._l(e.card.authors,function(t,r){return[e.isAuthorContent?[n("a",{key:t.id,staticClass:"author",attrs:{href:t.url,title:t.name},domProps:{innerHTML:e._s(e.printAuthorName(t.name,r,e.card.authors.length))}})]:[n("div",{key:t.id,staticClass:"author",domProps:{innerHTML:e._s(e.printAuthorName(t.name,r,e.card.authors.length))}})]]})],2):e.card.signatureAuthorName?n("div",{staticClass:"authors"},[n("span",{staticClass:"author",domProps:{textContent:e._s(e.card.signatureAuthorName)}})]):e._e(),e._v(" "),e.card.numComments?n("span",{staticClass:"num-comments"},[n("span",{domProps:{innerHTML:e._s(e.iconComments)}}),e._v("\n "+e._s(e.card.numComments)+"\n ")]):e._e()]),e._v(" "),e.card.brandedContent&&"opinion"!==e.card.type?n("div",{staticClass:"board-branded"},[n("a",{staticClass:"board-branded-text",attrs:{href:"https://www.ara.cat/publicitat.html",target:"_blank",title:e.card.brandedContent.title},domProps:{textContent:e._s(e.card.brandedContent.title)}}),e._v(" "),e.card.brandedContent.logoLink?n("a",{attrs:{href:e.card.brandedContent.logoLink.href,target:"_blank",rel:"nofollow",title:e.card.brandedContent.title}},[n("img",{staticClass:"board-branded-image lazy",attrs:{loading:"lazy",src:e.card.brandedContent.mainImage.url,alt:e.card.brandedContent.title}})]):n("img",{staticClass:"board-branded-image lazy",attrs:{loading:"lazy",src:e.card.brandedContent.mainImage.url,alt:e.card.brandedContent.title}})]):n("div",{staticClass:"action-bar"}),e._v(" "),e.card.missingTranslatedVersion?n("div",{staticClass:"untranslated-content",domProps:{textContent:e._s(e.$t("missingTranslatedVersion"))}}):e._e()])])},[],!1,null,null,null).exports,b={name:"ara-swiper-header",props:{title:{type:String},more:{type:String},moreUrl:{type:String}}},y=(0,c.A)(b,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-carousel-cards_header"},[n("h3",[e.moreUrl?n("a",{staticClass:"ara-carousel-cards_title",attrs:{href:e.moreUrl,title:e.title},domProps:{textContent:e._s(e.title)}}):n("span",{staticClass:"ara-carousel-cards_title"},[e._v(e._s(e.title))])]),e._v(" "),n("span",{staticClass:"ara-carousel-cards_more"},[e.moreUrl?n("a",{attrs:{href:e.moreUrl,title:e.more},domProps:{textContent:e._s(e.more)}}):[e._v(e._s(e.more))]],2)])},[],!1,null,null,null).exports,w={name:"ara-swiper",props:{template:{type:String},title:{type:String},more:{type:String},moreUrl:{type:String},cards:{type:Array},cardClass:{type:String},slotType:{type:String},dataSizes:{type:String,default:"100vw"}},data:function(){return{cardsLength:0,cardWith:0,bulletsNumber:0,iconPrev:r.A,iconNext:o.A,bulletActive:1,leftPosition:0,showBullets:!0,showLeft:!1,showRight:!0,marginLeft:30,swiperOption:null,anIncreasingNumber:0}},components:{swiper:i.swiper,swiperSlide:i.swiperSlide,araSwiperAuthor:u,araSwiperAuthorsModuleItemCard:d,araSwiperContent:v,araSwiperHeader:y},directives:{swiper:i.directive},computed:{finalBullets:function(){return this.bulletActive>=this.bulletsNumber-4},numberOfSlides:function(){return"layout"===this.slotType?3:"slot4"===this.slotType?4:5},cardsFilter:function(){return void 0!==window.contentId?this.cards.filter(function(e){return e.id!==window.contentId}):this.cards}},beforeMount:function(){this.swiperOption={slidesPerView:this.numberOfSlides,slidesPerGroup:1,spaceBetween:30,loop:!1,loopFillGroupWithBlank:!1,pagination:{width:"100%",el:".swiper-pagination",clickable:!0,type:"bullets",dynamicBullets:!0,dynamicMainBullets:5,renderBullet:function(e,t){return'<span class="'.concat(t,' swiper-pagination-bullet-custom"></span>')}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{1100:{slidesPerView:3,slidesPerGroup:1},768:{slidesPerView:"auto",slidesPerGroup:1}}}},mounted:function(){var e=this;this.$nextTick(function(){e.anIncreasingNumber+=1})}},C=(0,c.A)(w,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.cardsFilter.length>0?n("div",{key:e.anIncreasingNumber,staticClass:"ara-swiper"},[n("ara-swiper-header",{attrs:{title:e.title,more:e.more,"more-url":e.moreUrl}}),e._v(" "),n("swiper",{ref:"mySwiper",staticClass:"ara-swiper-wrapper swiper",attrs:{options:e.swiperOption}},[e._l(e.cardsFilter,function(t){return n("swiper-slide",{key:t.id,class:e.cardClass},["authors"===e.template?n("ara-swiper-author",{attrs:{card:t}}):"authorsModuleItemCard"===e.template?n("ara-swiper-authors-module-item-card",{attrs:{card:t}}):n("ara-swiper-content",{attrs:{card:t,"data-sizes":e.dataSizes}}
2)],1)}),e._v(" "),n("div",{staticClass:"swiper-pagination",class:{"swiper-pagination--authors":"authors"===e.template||"authorsModuleItemCard"===e.template},attrs:{slot:"pagination"},slot:"pagination"}),e._v(" "),n("div",{staticClass:"swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconPrev)}})]),e._v(" "),n("div",{staticClass:"swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconNext)}})])],2)],1):e._e()},[],!1,null,null,null).exports},13945(e,t,n){n.d(t,{A:()=>i});var r=n(62139);const o={name:"ara-button-round",props:{disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},active:{type:Boolean,default:!1},text:{type:Boolean,default:!1},icon:{type:String},href:{type:String}},data:function(){return{iconOk:r.A}},computed:{createComponent:function(){return this.href?"a":"button"}},methods:{onClick:function(e){this.$emit("click",e)}}},i=(0,n(67658).A)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.createComponent,{tag:"component",staticClass:"ara-button-round",class:{disabled:e.disabled,loading:e.loading,active:e.active},attrs:{href:e.href},on:{click:e.onClick}},[e.icon||e.active?n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.active?e.iconOk:e.icon)}}):e._e(),e._v(" "),e.text||!e.active?n("span",{staticClass:"button-content"},[e._t("default")],2):e._e(),e._v(" "),e.loading?[n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)])]:e._e()],2)},[],!1,null,null,null).exports},71268(e,t,n){n.d(t,{A:()=>d}),n(5423);var r=n(95890),o=n(57376),i=n(90988),a=n(73421),s=n(7430),l=n(19184),c=n(13670),u=n(56095);const p={name:"ara-button-new-action",components:{AraButtonNew:n(83266).A},props:{action:{type:String,required:!0},iconPosition:{type:String,default:"only"},size:{type:String,default:"normal"},strong:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},pressed:{type:Boolean,default:!1}},computed:{icon:function(){switch(this.action){case"share":default:return r.A;case"give-away":return o.A;case"comment":return i.A;case"save":return s.A;case"save-on":return l.A;case"play":return a.A;case"pause":return'<svg width="18" height="21" viewBox="0 0 18 21" fill="black" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 21H6V0H0V21ZM12 0V21H18V0H12Z"/>\n</svg>\n';case"burger":return c.A;case"close":return u.A}},actionData:function(){return"action action--type-".concat(this.action).concat(this.isPlayerAction?" action--player":"")},sizeClass:function(){var e;return null!==(e=this.size)&&void 0!==e?e:null},disabledValue:function(){var e;return null!==(e=this.disabled)&&void 0!==e?e:null},strongValue:function(){var e;return null!==(e=this.strong)&&void 0!==e?e:null},pressedValue:function(){var e;return null!==(e=this.pressed)&&void 0!==e?e:null},isPlayerAction:function(){return"play"===this.action||"pause"===this.action}}},d=(0,n(67658).A)(p,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ara-button-new",e._g({attrs:{rounded:"",secondary:"","no-clip":"",action:"","class-data":e.actionData,strong:e.strongValue,disabled:e.disabledValue,pressed:e.pressedValue,size:e.sizeClass,"with-text":"only"!==e.iconPosition},scopedSlots:e._u(["prepend"===e.iconPosition?{key:"prepend",fn:function(){return[n("span",{domProps:{innerHTML:e._s(e.icon)}})]},proxy:!0}:null,"only"===e.iconPosition||"append"===e.iconPosition?{key:"append",fn:function(){return[n("span",{domProps:{innerHTML:e._s(e.icon)}})]},proxy:!0}:null],null,!0)},e.$listeners),[e._v(" "),"only"!==e.iconPosition?e._t("default"):e._e()],2)},[],!1,null,null,null).exports},10676(e,t,n){n.d(t,{A:()=>l});var r=n(95890),o=n(57376),i=n(90988),a=n(34289);const s={name:"ara-button-new-text",components:{AraButtonNew:n(83266).A},props:{iconType:{type:String,default:null},iconPosition:{type:String,default:"none"},strong:{type:Boolean,default:!1},highlight:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},href:{type:String,default:null},target:{type:String,default:null}},computed:{icon:function(){if("none"===this.iconPosition)return null;switch(this.iconType){case"open-in":return'<svg width="12" height="12" viewBox="0 0 12 12" fill="black" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 12V0H6V1.33333H1.33333V10.6667H10.6667V6H12V12H0ZM4.46667 8.46667L3.53333 7.53333L9.73333 1.33333H7.33333V0H12V4.66667H10.6667V2.26667L4.46667 8.46667Z"/>\n</svg>\n';case"share":return r.A;case"give-away":return o.A;case"comment":return i.A;case"google":return a.A;default:return null}},disabledValue:function(){var e;return null!==(e=this.disabled)&&void 0!==e?e:null},strongValue:function(){var e;return null!==(e=this.strong)&&void 0!==e?e:null},highlightValue:function(){var e;return null!==(e=this.highlight)&&void 0!==e?e:null}}},l=(0,n(67658).A)(s,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ara-button-new",{attrs:{text:"",strong:e.strongValue,highlight:e.highlightValue,disabled:e.disabledValue,href:e.href,target:e.target},scopedSlots:e._u([e.icon&&"prepend"===e.iconPosition?{key:"prepend",fn:function(){return[n("span",{domProps:{innerHTML:e._s(e.icon)}})]},proxy:!0}:null,e.icon&&"append"===e.iconPosition?{key:"append",fn:function(){return[n("span",{domProps:{innerHTML:e._s(e.icon)}})]},proxy:!0}:null],null,!0)},[e._v(" "),e._t("default")],2)},[],!1,null,null,null).exports},83266(e,t,n){n.d(t,{A:()=>c});var r=n(62139),o=n(44504),i=n(13670),a=n(56095),s=n(90988);const l={name:"ara-button-new",props:{secondary:{type:Boolean,default:!1},highlightPrimary:{type:Boolean,default:!1},highlightSecondary:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},mixed:{type:Boolean,default:!1},multimedia:{type:Boolean,default:!1},mediaType:{type:String},strong:{type:Boolean,default:!1},highlight:{type:Boolean,default:!1},action:{type:Boolean,default:!1},classData:{type:String},pressed:{type:Boolean,default:!1},social:{type:Boolean,default:!1},noClip:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},href:{type:String},target:{type:String,default:null},size:{type:String,default:"normal"},withText:{type:Boolean,default:!0},iconType:{type:String,default:null},iconPosition:{type:String,default:"none"}},data:function(){return{iconOk:r.A,iconOkCircle:o.A,iconUser:'<svg viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M8,2 C9.1,2 10,2.9 10,4 C10,5.1 9.1,6 8,6 C6.9,6 6,5.1 6,4 C6,2.9 6.9,2 8,2 Z M8,11 C10.7,11 13.8,12.29 14,13 L14,14 L2,14 L2,13.01 C2.2,12.29 5.3,11 8,11 L8,11 Z M8,0 C5.79,0 4,1.79 4,4 C4,6.21 5.79,8 8,8 C10.21,8 12,6.21 12,4 C12,1.79 10.21,0 8,0 Z M8,9 C5.33,9 0,10.34 0,13 L0,16 L16,16 L16,13 C16,10.34 10.67,9 8,9 Z"></path></svg>\n',iconBurger:i.A,iconClose:a.A,iconComment:s.A,iconPlusCircle:'<svg width="17" height="17" viewBox="0 0 17 17" fill="#1C1B1F" xmlns="http://www.w3.org/2000/svg">\n <path d="M7.5 12.5H9.16667V9.16667H12.5V7.5H9.16667V4.16667H7.5V7.5H4.16667V9.16667H7.5V12.5ZM8.33333 16.6667C7.18056 16.6667 6.09722 16.4479 5.08333 16.0104C4.06944 15.5729 3.1875 14.9792 2.4375 14.2292C1.6875 13.4792 1.09375 12.5972 0.65625 11.5833C0.21875 10.5694 0 9.48611 0 8.33333C0 7.18056 0.21875 6.09722 0.65625 5.08333C1.09375 4.06944 1.6875 3.1875 2.4375 2.4375C3.1875 1.6875 4.06944 1.09375 5.08333 0.65625C6.09722 0.21875 7.18056 0 8.33333 0C9.48611 0 10.5694 0.21875 11.5833 0.65625C12.5972 1.09375 13.4792 1.6875 14.2292 2.4375C14.9792 3.1875 15.5729 4.06944 16.0104 5.08333C16.4479 6.09722 16.6667 7.18056 16.6667 8.33333C16.6667 9.48611 16.4479 10.5694 16.0104 11.5833C15.5729 12.5972 14.9792 13.4792 14.2292 14.2292C13.4792 14.9792 12.5972 15.5729 11.5833 16.0104C10.5694 16.4479 9.48611 16.6667 8.33333 16.6667ZM8.33333 15C10.1944 15 11.7708 14.3542 13.0625 13.0625C14.3542 11.7708 15 10.1944 15 8.33333C15 6.47222 14.3542 4.89583 13.0625 3.60417C11.7708 2.3125 10.1944 1.66667 8.33333 1.66667C6.47222 1.66667 4.89583 2.3125 3.60417 3.60417C2.3125 4.89583 1.66667 6.47222 1.66667 8.33333C1.66667 10.1944 2.3125 11.7708 3.60417 13.0625C4.89583 14.3542 6.47222 15 8.33333 15Z"/>\n</svg>\n'}},computed:{variantClass:function(){return this.disabled||this.text?null:this.mixed?"mixed":this.outlined?"outlined":"solid"},shapeClass:function(){return this.text?null:this.rounded?"rounded":"square"},colorClass:function(){return this.disabled?"disabled":this.text?this.highlight?"highlight":null:this.multimedia?"media":this.secondary?"secondary":this.highlightPrimary?"highlightPrimary":this.highlightSecondary?"highlightSecondary":"primary"},sizeClass:function(){switch(this.size){case"big":return"btn--size-l";case"medium":return"btn--size-m";default:return null}},dataClass:function(){return this.classData||null},withTextClass:function(){return this.withText?"btn--with-text":"btn--only-icon"},createComponent:function(){return this.href?"a":"button"},linkTarget:function(){return this.href?this.target:null},icon:function(){if(!this.iconType||"none"===this.iconPosition)return null;switch(this.iconType){case"ok":return this.iconOk;case"ok-circle":return this.iconOkCircle;case"user":return this.iconUser;case"burger":return this.iconBurger;
2case"close":return this.iconClose;case"comment":return this.iconComment;case"plus-circle":return this.iconPlusCircle;default:return null}}},methods:{onClick:function(e){this.disabled||this.loading||this.$emit("click",e)}}},c=(0,n(67658).A)(l,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.createComponent,{tag:"component",staticClass:"ara-button-new",class:[e.variantClass,e.shapeClass,e.colorClass,e.dataClass,e.sizeClass,e.mediaType,e.withTextClass,{social:e.social,strong:e.strong,pressed:e.pressed,noClip:e.noClip,fullWidth:e.fullWidth,text:e.text,loading:e.loading}],attrs:{href:e.href,target:e.linkTarget},on:{click:e.onClick}},[e.iconType&&"prepend"===e.iconPosition?n("span",{staticClass:"btn-prepend"},[n("span",{staticClass:"ara-icon",attrs:{"data-icon":e.iconType},domProps:{innerHTML:e._s(e.icon)}})]):e.$slots.prepend?n("span",{staticClass:"btn-prepend"},[n("span",{staticClass:"ara-icon"},[e._t("prepend")],2)]):e._e(),e._v(" "),e.$slots.default?n("span",{staticClass:"btn-text"},[e._t("default")],2):e._e(),e._v(" "),e.iconType&&"append"===e.iconPosition?n("span",{staticClass:"btn-append"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.icon)}})]):e.$slots.append?n("span",{staticClass:"btn-append"},[n("span",{staticClass:"ara-icon"},[e._t("append")],2)]):e._e(),e._v(" "),e.loading?n("span",{staticClass:"dual-ball-spinner"},[n("span",{staticClass:"spinner"},e._l(3,function(e){return n("span",{key:e})}),0)]):e._e()])},[],!1,null,null,null).exports},15372(e,t,n){n.d(t,{A:()=>o});const r={name:"ara-checkbox",props:{selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},right:{type:Boolean,default:!1},helperText:{type:String},customIcon:{type:String}},data:function(){return{checked:!1,iconSelectOff:'<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 17 17" xml:space="preserve"><path d="M15.1,0H1.9l0,0C0.8,0,0,0.8,0,1.9v13.2c0,1,0.8,1.9,1.9,1.9l0,0h13.2c1,0,1.9-0.8,1.9-1.9l0,0V1.9C17,0.8,16.2,0,15.1,0L15.1,0L15.1,0z M5,16H2.1C1.5,16,1,15.5,1,14.9V2.1C1,1.5,1.5,1,2.1,1h12.7C15.5,1,16,1.5,16,2.1v12.8c0,0.6-0.5,1.1-1.1,1.1H9.9H7.9H6.6H5.8H5z"/></svg>\n',iconSelectOn:'<svg viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M16,0 L2,0 C0.9,0 0,0.9 0,2 L0,16 C0,17.1 0.9,18 2,18 L16,18 C17.1,18 18,17.1 18,16 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M7,14 L2,9.19230769 L3.4,7.84615385 L7,11.3076923 L14.6,4 L16,5.34615385 L7,14 L7,14 Z"></path></svg>'}},watch:{selected:function(e){this.checked=e}},mounted:function(){this.checked=this.selected},methods:{onChange:function(e){this.$emit("onChange",e)}}},o=(0,n(67658).A)(r,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"ara-checkbox",class:{disabled:e.disabled,right:e.right,checked:e.checked}},[n("span",{staticClass:"ara-checkbox--input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{type:"checkbox",disabled:e.disabled},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{input:e.onChange,change:function(t){var n=e.checked,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.checked=n.concat([null])):i>-1&&(e.checked=n.slice(0,i).concat(n.slice(i+1)))}else e.checked=o}}}),e._v(" "),e.customIcon?n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.customIcon)}}):n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.checked?e.iconSelectOn:e.iconSelectOff)}})]),e._v(" "),n("span",{staticClass:"ara-checkbox--label"},[e._t("default",[e._v("Label text")]),e._v(" "),n("span",{staticClass:"helper-label"},[e._v(e._s(e.helperText))])],2)])},[],!1,null,"f45bfa78",null).exports},8813(e,t,n){n.d(t,{A:()=>c}),n(5423),n(42417),n(570),n(10844);var r=n(62638),o=n(36925),i=n(29930),a=n(21362),s=n(585);const l={name:"ara-date-input",props:{value:{type:Date},label:{type:String,default:"Data"},hideHeader:{type:Boolean,default:!1},showWeekdays:{type:Boolean,default:!1},onlyCalendar:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},right:{type:Boolean,default:!1},minDate:{type:Date},maxDate:{type:Date},helperText:{type:String},error:{type:String}},data:function(){return{iconDropdown:i.A,iconLeft:a.A,iconRight:s.A,input:{day:{value:"",length:2,completed:!1},month:{value:"",length:2,completed:!1},year:{value:"",length:4,completed:!1}},validationError:o.A.t("validation.invalid-date"),activeInput:!1,validDate:!1,showCalendar:!1,daysInMonths:null,weekdayLabels:null,monthLabels:null,today:null,todayComps:null,month:null,year:null,height:"0",lastFocusedInput:null}},computed:{completedInput:function(){return!!(this.input.day.completed&&this.input.month.completed&&this.input.year.completed)},modifiedInput:function(){return!!(this.input.day.value||this.input.month.value||this.input.year.value)},invalidInput:function(){return this.error||!(!this.modifiedInput||this.activeInput||this.validDate||this.showCalendar)},hasValue:function(){return!(!this.value||"function"!=typeof this.value.getTime)},valueTime:function(){return this.hasValue?this.value.getTime():null},errorText:function(){return!this.modifiedInput||this.activeInput||this.validDate||this.showCalendar?this.error:this.errorText},monthIndex:function(){return this.month-1},isLeapYear:function(){return this.year%4==0&&this.year%100!=0||this.year%400==0},previousMonthComps:function(){return 1===this.month?{days:this.daysInMonths[11],month:12,year:this.year-1}:{days:3===this.month&&this.isLeapYear?29:this.daysInMonths[this.month-2],month:this.month-1,year:this.year}},nextMonthComps:function(){return 12===this.month?{days:this.daysInMonths[0],month:1,year:this.year+1}:{days:2===this.month&&this.isLeapYear?29:this.daysInMonths[this.month],month:this.month+1,year:this.year}},months:function(){return this.monthLabels.map(function(e,t){return{label:e,number:t+1}})},weekdays:function(){return this.weekdayLabels.map(function(e,t){return{label:e,number:t+1}})},header:function(){return{month:this.months[this.monthIndex].label,year:this.year.toString()}},firstWeekdayInMonth:function(){return new Date(this.year,this.monthIndex,1).getDay()+0},daysInMonth:function(){return 2===this.month&&this.isLeapYear?29:this.daysInMonths[this.monthIndex]},weeks:function(){for(var e=[],t=!0,n=!1,r=!1,o=this.previousMonthComps.days-this.firstWeekdayInMonth+2,i=this.previousMonthComps.month,a=this.previousMonthComps.year,s=1;s<=6&&!r;s+=1){for(var l=[],c=1;c<=7;c+=1){t&&c>=this.firstWeekdayInMonth&&(o=1,i=this.month,a=this.year,t=!1,n=!0);var u=new Date(a,i-1,o),p={label:o?o.toString():"",day:o,weekday:c,week:s,month:i,year:a,date:u,beforeMonth:t,afterMonth:r,inMonth:n,isToday:o===this.todayComps.day&&i===this.todayComps.month&&a===this.todayComps.year,isFirstDay:n&&1===o,isLastDay:n&&o===this.daysInMonth,isSelected:u.getTime()===this.valueTime,outOfRange:this.minDate&&u<=this.minDate||this.maxDate&&u>=this.maxDate};l.push(p),n&&o>=this.daysInMonth?(n=!1,r=!0,o=1,i=this.nextMonthComps.month,a=this.nextMonthComps.year):o+=1}e.push(l)}return e}},watch:{value:function(e){e?this.selectDay(this.value):this.selectDay(null)},invalidInput:function(e){this.$emit("error",e?this.validationError:null)}},created:function(){this.initializeCalendarData()},mounted:function(){this.clearHeight(),this.selectDay(this.value)},methods:{setFocus:function(){var e=this;this.activeInput=!0,this.$nextTick(function(){e.input.day.completed&&e.input.month.completed&&e.input.year.completed||e.input.month.completed?e.$refs.year.focus():e.input.day.completed?e.$refs.month.focus():e.$refs.day.focus()})},onKeyDown:function(e){var t=this;if("Tab"===e.code){if(this.$refs.year===document.activeElement)return void this.leaveInput();if(this.$refs.day===document.activeElement&&e.shiftKey)return this.lastFocusedInput=1,this.leaveInput(),void setTimeout(function(){t.lastFocusedInput=null},50)}var n=e.target.dataset.id;if(8!==e.which||this.input[n].value){if(8!==e.which&&this.input[n].completed){if(isNaN(e.key))return;var r="day"===n?"month":"year";this.input[r].value=e.key,e.preventDefault(),this.validateInput(r),this.setFocus()}}else{var o="year"===n?"month":"day";this.input[o].value=this.input[o].value.substr(0,1),e.preventDefault(),this.validateInput(o),this.setFocus()}setTimeout(function(){if(t.validDate&&t.completedInput){var e=parseInt(t.input.year.value,10),n=parseInt(t.input.month.value,10),r=parseInt(t.input.day.value,10);t.selectDay(new Date(e,n-1,r))}},100)},onInput:function(e){var t=e.target.dataset.id,n=e.target.value;this.input[t].value=n,this.validateInput(t),n?this.setFocus():"year"===t?this.$refs.month.focus():this.$refs.day.focus()},validateInput:function(e){this.input[e].completed=this.input[e].value.length===this.input[e].length,this.validDate=this.isValidDate("".concat(this.input.year.value,"/").concat(this.input.month.value,"/").concat(this.input.day.value),"YYYY/MM/DD")},leaveInput:function(){if(this.activeInput||this.showCalendar)if(this.validDate&&this.completedInput){var e=parseInt(this.input.year.value,10),t=parseInt(this.input.month.value,10),n=parseInt(this.input.day.value,10);this.selectDay(new Date(e,t-1,n))}else this.showCalendar=!1,this.value&&this.validDate&&this.completedInput||this.$emit("input",null);this.activeInput=!1},isValidDate:function(e,t){var n=this.minDate&&(0,r.A)(e).toDate()<=this.minDate||this.maxDate&&(0,r.A)(e).toDate()>=this.maxDate;return(0,r.A)(e,t).format(t)===e&&!n},toggleCalendar:function(){this.showCalendar?this.leaveInput():this.showCalendar=!0},clearHeight:function(){var e=this;this.$nextTick(function(){e.height="0"})},updateHeight:function(){var e=this;this.$nextTick(function(){e.height=e.$refs.calendar?"".concat(e.$refs.calendar.scrollHeight,"px"):"0"})},initializeCalendarData:function(){this.daysInMonths=[31,28,31,30,31,30,31,31,30,31,30,31],this.weekdayLabels=r.A.weekdaysShort(),this.monthLabels=r.A.months(),this.today=(0,r.A)(),this.todayComps={year:this.today.year(),month:this.today.month()+1,day:this.today.date()},this.month=this.todayComps.month,this.year=this.todayComps.year},setInput:function(e){var t=this;["day","month","year"].forEach(function(n){var o="";"day"===n&&(o=(0,r.A)(e).format("DD")),"month"===n&&(o=(0,r.A)(e).format("MM")),"year"===n&&(o=(0,r.A)(e).format("YYYY")),t.input[n].value=e?o:"",t.validateInput(n)})},selectDay:function(e){this.setInput(e),this.showCalendar=!1,this.$emit("input",e)},moveNextMonth:function(){var e=this.nextMonthComps,t=e.month,n=e.year;this.month=t,this.year=n},movePreviousMonth:function(){var e=this.previousMonthComps,t=e.month,n=e.year;this.month=t,this.year=n},moveNextYear:function(){this.year+=1},movePreviousYear:function(){this.year-=1}}},c=(0,n(67658).A)(l,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-date-input",class:{"active-input"
2:e.activeInput,"valid-input":e.completedInput&&e.validDate,"invalid-input":e.invalidInput,"show-calendar":e.showCalendar,"only-calendar":e.onlyCalendar,"helper-text":e.helperText,disabled:e.disabled,right:e.right}},[n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.leaveInput,expression:"leaveInput"}],staticClass:"date-input",attrs:{tabindex:null===e.lastFocusedInput?0:void 0},on:{click:function(t){e.onlyCalendar?e.toggleCalendar():e.setFocus()},focus:function(t){return e.setFocus()}}},[n("div",{staticClass:"input-label"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"input-container"},[e.hasValue||e.activeInput||e.showCalendar||e.modifiedInput?[n("div",{staticClass:"input input--day",class:{filled:!!e.input.day.value}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.input.day.value,expression:"input.day.value"}],ref:"day",attrs:{type:"number","data-id":"day",readonly:e.onlyCalendar},domProps:{value:e.input.day.value},on:{keydown:e.onKeyDown,input:[function(t){t.target.composing||e.$set(e.input.day,"value",t.target.value)},e.onInput]}})]),e._v(" "),n("div",{staticClass:"date-separator"},[e._v("/")]),e._v(" "),n("div",{staticClass:"input input--month",class:{filled:!!e.input.month.value}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.input.month.value,expression:"input.month.value"}],ref:"month",attrs:{type:"number","data-id":"month",readonly:e.onlyCalendar},domProps:{value:e.input.month.value},on:{keydown:e.onKeyDown,input:[function(t){t.target.composing||e.$set(e.input.month,"value",t.target.value)},e.onInput]}})]),e._v(" "),n("div",{staticClass:"date-separator"},[e._v("/")]),e._v(" "),n("div",{staticClass:"input input--year",class:{filled:!!e.input.year.value}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.input.year.value,expression:"input.year.value"}],ref:"year",attrs:{type:"number","data-id":"year",readonly:e.onlyCalendar},domProps:{value:e.input.year.value},on:{keydown:e.onKeyDown,input:[function(t){t.target.composing||e.$set(e.input.year,"value",t.target.value)},e.onInput]}})])]:e._e()],2),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:function(t){return t.stopPropagation(),e.toggleCalendar(t)}}})]),e._v(" "),e.invalidInput?n("div",{staticClass:"input-error"},[e._v(e._s(e.errorText))]):e.helperText?n("div",{staticClass:"helper-text"},[e._v(e._s(e.helperText))]):e._e(),e._v(" "),n("transition",{attrs:{name:"accordion"},on:{"before-enter":e.clearHeight,enter:e.updateHeight,"before-leave":e.updateHeight,leave:e.clearHeight}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showCalendar,expression:"showCalendar"}],staticClass:"calendar",style:{height:e.height}},[n("div",{ref:"calendar",staticClass:"calendar--content"},[e.hideHeader?e._e():n("div",{staticClass:"header"},[n("div",{staticClass:"month"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconLeft)},on:{click:function(t){return t.stopPropagation(),e.movePreviousMonth(t)}}}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.header.month))]),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconRight)},on:{click:function(t){return t.stopPropagation(),e.moveNextMonth(t)}}})]),e._v(" "),n("div",{staticClass:"year"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconLeft)},on:{click:function(t){return t.stopPropagation(),e.movePreviousYear(t)}}}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.header.year))]),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconRight)},on:{click:function(t){return t.stopPropagation(),e.moveNextYear(t)}}})])]),e._v(" "),e.showWeekdays?n("div",{staticClass:"weekdays"},e._l(e.weekdays,function(t,r){return n("div",{key:r,staticClass:"weekday"},[e._v(e._s(t.label))])}),0):e._e(),e._v(" "),e._l(e.weeks,function(t,r){return n("div",{key:r,staticClass:"week"},e._l(t,function(t,r){return n("div",{key:r,staticClass:"day",class:{today:t.isToday,out:!t.inMonth,selected:t.isSelected,outside:t.outOfRange},on:{click:function(n){n.stopPropagation(),t.inMonth&&!t.outOfRange&&e.selectDay(t.isSelected?null:t.date)}}},[n("span",[e._v(e._s(t.label))])])}),0)})],2)])])],1)},[],!1,null,"7d5a334d",null).exports},76268(e,t,n){n.d(t,{A:()=>a});var r=n(36925),o=n(8813);const i={name:"ara-date-range",props:{from:{type:Date},to:{type:Date},disabled:{type:Boolean,default:!1},fromLabel:{type:String,default:r.A.t("filters.start")},toLabel:{type:String,default:r.A.t("filters.end")},fromDisabled:{type:Boolean,default:!1},toDisabled:{type:Boolean,default:!1},helperText:{type:String}},data:function(){return{fromError:null,toError:null}},components:{araDateInput:o.A},methods:{changeFrom:function(e){this.$emit("inputFrom",e)},changeTo:function(e){this.$emit("inputTo",e)},onError:function(e,t){this["".concat(e,"Error")]=t}}},a=(0,n(67658).A)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-date-range"},[n("div",{staticClass:"date-range-wrapper"},[n("ara-date-input",{staticClass:"date-from",attrs:{value:e.from,label:e.fromLabel,maxDate:e.to,disabled:e.disabled||e.fromDisabled},on:{input:e.changeFrom,error:function(t){e.onError("from",t)}}}),e._v(" "),n("ara-date-input",{staticClass:"date-to",attrs:{value:e.to,label:e.toLabel,right:"",minDate:e.from,disabled:e.disabled||e.toDisabled},on:{input:e.changeTo,error:function(t){e.onError("to",t)}}})],1),e._v(" "),!e.helperText||e.fromError||e.toError?e._e():n("div",{staticClass:"helper-text"},[e._v(e._s(e.helperText))])])},[],!1,null,"a325bb68",null).exports},72364(e,t,n){n.d(t,{A:()=>
2o}),n(28589);const r={name:"ara-line-clamp",props:{content:{type:String,required:!0},lines:{type:Number,default:3}},data:function(){return{clamped:!1,expanded:!1}},computed:{style:function(){return{"-webkit-line-clamp":this.expanded?"initial":this.lines}}},mounted:function(){this.setClamped()},methods:{setClamped:function(){var e=this;this.$nextTick(function(){e.clamped=e.$refs.content&&e.$refs.content.scrollHeight>e.$refs.content.clientHeight})},toggle:function(){this.expanded=!this.expanded}}},o=(0,n(67658).A)(r,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize",rawName:"v-resize",value:e.setClamped,expression:"setClamped"}],staticClass:"ara-line-clamp",class:{clamped:e.clamped}},[n("div",{ref:"content",staticClass:"line-clamp-content",class:{expanded:e.expanded},style:e.style,domProps:{innerHTML:e._s(e.content.replace(/<p>/g,"").replace(/<\/p>/g,"<br><br>"))}}),e._v(" "),e.clamped||e.expanded?n("ara-button",{attrs:{text:""},on:{click:e.toggle}},[e._v("\n "+e._s(e.$t("elements.read"))+" "+e._s(e.expanded?e.$t("elements.less"):e.$t("elements.more")))]):e._e()],1)},[],!1,null,null,null).exports},44070(e,t,n){n.d(t,{A:()=>r});const r=(0,n(67658).A)({name:"ara-loading"},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-loading"},[n("div",{staticClass:"loading-content"},[e._v(e._s(e.$t("elements.loading")))])])},[],!1,null,"e92b04de",null).exports},60066(e,t,n){n.d(t,{A:()=>a}),n(3188),n(59297),n(89744);var r=n(1419),o=n.n(r);const i={name:"ara-picture",props:{image:{type:Object},imageClass:{type:String},sizes:{type:String,default:"100vw"}},data:function(){return{}},computed:{sources:function(){return this.image.sources},sourcesByExtension:function(){if(0===this.sources.length)return[];if(2===this.sources.length)return this.sources;var e=[o()(this.sources[0]),this.sources[0]];return e[0].extension="webp",e[0].mimeType="image/webp",e[0].placeholder=e[0].placeholder.replace(e[1].extension,"webp",e[1].placeholder),e[0].src=e[0].src.replace(e[1].extension,"webp",e[1].src),e[0].srcset=e[0].srcset.replaceAll(e[1].extension,"webp",e[1].srcset),e}}},a=(0,n(67658).A)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("picture",{class:e.imageClass},[e._l(e.sourcesByExtension,function(t,r){return n("source",{key:r,attrs:{type:t.mimeType,srcset:t.srcset,sizes:e.sizes}})}),e._v(" "),n("img",{staticClass:"lazy",attrs:{loading:"lazy",src:e.image.svgPlaceholder,alt:e.image.alt}})],2)},[],!1,null,"40c23518",null).exports},18307(e,t,n){n.d(t,{A:()=>o}),n(28589);const r={name:"ara-radio-button",props:{options:{type:Array,default:function(){return[{id:0,text:"Label text",hint:"",disabled:!1}]}},selected:{type:Number,default:0},disabled:{type:Boolean,default:!1}},data:function(){return{checked:null}},mounted:function(){this.checked=this.selected||null},methods:{onChange:function(e){this.$emit("onChange",e)}}},o=(0,n(67658).A)(r,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-radio-button",class:{disabled:e.disabled}},[e._l(e.options,function(t,r){return[n("div",{key:r,staticClass:"radio-button",class:{disabled:t.disabled}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],attrs:{id:"radio-"+e._uid+"-"+r,type:"radio",disabled:e.disabled},domProps:{value:t.id,checked:e._q(e.checked,t.id)},on:{input:e.onChange,change:function(n){e.checked=t.id}}}),e._v(" "),n("label",{attrs:{for:"radio-"+e._uid+"-"+r}},[e._v(e._s(t.text))]),e._v(" "),t.hint?n("p",{staticClass:"radio-button__hint",domProps:{textContent:e._s(t.hint)}}):e._e()])]})],2)},[],!1,null,"413ae38e",null).exports},11436(e,t,n){n.d(t,{A:()=>a}),n(28280),n(63145),n(28589),n(570);var r=n(36925),o=n(29930);const i={name:"ara-select-input",props:{items:{type:Array,default:function(){return[]}},label:{type:String,default:"Selecció"},placeholder:{type:String,default:"Escull una opció"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},value:{type:[Number,String]},helperText:{type:String}},data:function(){return{iconDropdown:o.A,initialValue:null,error:r.A.t("validation.invalid-selection"),modifiedInput:!1,invalidInput:!1,showOptions:!1,selectedIndex:0}},computed:{selectedName:function(){var e=this;return this.items.find(function(t){return t.value===e.value})?this.items.find(function(t){return t.value===e.value}).name:null}},mounted:function(){this.initialValue=this.value,this.value&&this.selectOption(this.value),this.required&&(this.error=r.A.t("validation.required-selection"))},methods:{leaveInput:function(){this.hideOptions(),this.validateInput()},validateInput:function(){this.modifiedInput=this.initialValue!==this.value},toggleOptions:function(){this.showOptions?this.leaveInput():this.showOptions=!0},selectOption:function(e){this.validateInput(),this.hideOptions(),this.$emit("input",e)},hideOptions:function(){this.showOptions=!1},onKeyDown:function(e){this.showOptions&&("ArrowDown"!==e.key&&40!==e.ke
2yCode||(this.selectedIndex+=1,this.selectedIndex>=this.items.length&&(this.selectedIndex=0),this.cancelEvent(e)),"ArrowUp"!==e.key&&38!==e.keyCode||(this.selectedIndex-=1,this.selectedIndex<0&&(this.selectedIndex=this.items.length-1),this.cancelEvent(e)),("Enter"===e.key||"Tab"===e.key||13===e.keyCode||9===e.keyCode)&&this.items.length>0&&(this.selectOption(this.items[this.selectedIndex].value),this.cancelEvent(e)),"Escape"!==e.key&&27!==e.keyCode||(this.hideOptions(),this.cancelEvent(e)))},cancelEvent:function(e){e.preventDefault(),e.stopPropagation()}}},a=(0,n(67658).A)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-select-input",attrs:{tabindex:"0"},on:{keydown:e.onKeyDown}},[n("div",{staticClass:"select-input-wrapper",class:{"show-options":e.showOptions,"valid-input":!!e.value,disabled:e.disabled||!e.items.length}},[n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.leaveInput,expression:"leaveInput"}],staticClass:"select-input",on:{click:e.toggleOptions}},[n("div",{staticClass:"input-label"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"input-container"},[n("input",{attrs:{placeholder:e.placeholder,disabled:"",tabindex:"-1"},domProps:{value:e.selectedName}})]),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)}})]),e._v(" "),e.invalidInput?n("div",{staticClass:"input-error"},[e._v(e._s(e.error))]):e.helperText?n("div",{staticClass:"helper-text"},[e._v(e._s(e.helperText))]):e._e(),e._v(" "),n("transition",{attrs:{name:"accordion"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showOptions,expression:"showOptions"}],staticClass:"options"},[n("div",{staticClass:"options--content"},e._l(e.items,function(t,r){return n("div",{key:r,staticClass:"item",class:{selected:e.selectedIndex===r},on:{mouseover:function(t){e.selectedIndex=r},click:function(n){return e.selectOption(t.value)}}},[e._v(e._s(t.name)+"\n ")])}),0)])])],1)])},[],!1,null,"53519e8d",null).exports},16568(e,t,n){n.d(t,{A:()=>i});var r=n(36925);const o={name:"ara-snackbar",props:{contentText:{type:String},actionText:{type:String,default:r.A.t("snackbar.close")},button:{type:Boolean,default:!1},error:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},computed:{longer:function(){return this.actionText.length>10}},methods:{close:function(){this.$emit("close")}}},i=(0,n(67658).A)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["ara-snackbar",{error:e.error},{success:e.success},{longer:e.longer}]},[e.contentText?n("div",{staticClass:"ara-snackbar-content",attrs:{role:"status"}},[n("span",{staticClass:"text",domProps:{textContent:e._s(this.contentText)}})]):e._e(),e._v(" "),e.button?n("div",{staticClass:"ara-snackbar-action"},[n("ara-button",{staticClass:"snackbar",on:{click:e.close}},[e._v(e._s(e.actionText))])],1):e._e()])},[],!1,null,"65c8fbf3",null).exports},52064(e,t,n){n.d(t,{A:()=>o});const r={name:"ara-switch",props:{label:{type:String},position:{type:String,default:"right"},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},value:{type:Boolean,default:!1}},methods:{onChange:function(e){this.$emit("input",e.target.checked)}}},o=(0,n(67658).A)(r,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-switch",class:{block:e.block}},[n("label",{class:e.label&&e.position},[n("input",{attrs:{type:"checkbox",disabled:e.disabled},domProps:{value:e.value,checked:e.value},on:{input:e.onChange}}),e._v(" "),n("div",{staticClass:"switch"},[n("span",[e._v(e._s(e.label))])])])])},[],!1,null,"74051c20",null).exports},79362(e,t,n){n.d(t,{A:()=>a});var r=n(65345),o=n(68042);const i={name:"ara-text-input-with-validation",props:{name:{type:String,required:!0},rules:{type:[String,Object],required:!0},customMessages:{type:Object,default:function(){return{}}},type:{type:String,default:"text"},passwordMode:{type:String,default:"icon"},showAction:{type:Boolean,default:!1},actionTextButton:{type:String,default:""}},components:{ValidationProvider:r.LW,araTextInput:o.A}},a=(0,n(67658).A)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("validation-provider",{attrs:{mode:"eager",name:e.name,rules:e.rules,"custom-messages":e.customMessages},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[n("ara-text-input",e._g(e._b({attrs:{type:e.type,name:e.name,error:r[0],"password-mode":e.passwordMode,"show-action":e.showAction,"action-text-button":e.actionTextButton}},"ara-text-input",e.$attrs,!1),e.$listeners))]}}])})},[],!1,null,null,null).exports},68042(e,t,n){n.d(t,{A:()=>i});var r=n(36925);const o={name:"ara-text-input",props:{value:{type:String,default:""},label:{type:String,default:"Text"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{type:String},name:{type:String},placeholder:{type:String},helperText:{type:String},type:{type:String,default:"text"},passwordMode:{type:String,default:"icon"},showAction:{type:Boolean,default:!1},actionTextButton:{type:String,default:""}},data:function(){return{initialValue:"",validationErrorText:r.A.t("validation.invalid-text"),activeInput:!1,modifiedInput:!1,validInput:!1,inputType:"text",hasValue:!1,iconEyeOn:'\n<svg viewBox="0 0 22 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M11,2 C14.79,2 18.17,4.13 19.82,7.5 C18.17,10.87 14.8,13 11,13 C7.2,13 3.83,10.87 2.18,7.5 C3.83,4.13 7.21,2 11,2 L11,2 Z M11,0 C6,0 1.73,3.11 0,7.5 C1.73,11.89 6,15 11,15 C16,15 20.27,
211.89 22,7.5 C20.27,3.11 16,0 11,0 Z M11,5 C12.38,5 13.5,6.12 13.5,7.5 C13.5,8.88 12.38,10 11,10 C9.62,10 8.5,8.88 8.5,7.5 C8.5,6.12 9.62,5 11,5 L11,5 Z M11,3 C8.52,3 6.5,5.02 6.5,7.5 C6.5,9.98 8.52,12 11,12 C13.48,12 15.5,9.98 15.5,7.5 C15.5,5.02 13.48,3 11,3 Z"></path></svg>',iconEyeOff:'<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 22 17" style="enable-background:new 0 0 22 17;" xml:space="preserve">\n<path d="M18.2,3l1.4-1.2c0.4-0.4,0.5-1,0.1-1.4c-0.4-0.4-1-0.5-1.4-0.1l-1.8,1.6C14.9,1,13,0.5,11,0.5C6,0.5,1.7,3.6,0,8\n\tc0.8,2,2.1,3.7,3.8,5l-1.4,1.2c-0.4,0.4-0.5,1-0.1,1.4C2.4,15.9,2.7,16,3,16c0.2,0,0.5-0.1,0.7-0.2l1.8-1.6C7.1,15,9,15.5,11,15.5\n\tc5,0,9.3-3.1,11-7.5C21.2,6,19.9,4.3,18.2,3z M2.2,8c1.7-3.4,5-5.5,8.8-5.5c1.4,0,2.7,0.3,3.9,0.8l-1.2,1.1C12.9,3.8,12,3.5,11,3.5\n\tc-2.5,0-4.5,2-4.5,4.5c0,0.8,0.2,1.5,0.6,2.1l-1.8,1.5C4,10.7,2.9,9.5,2.2,8z M13.5,8c0,1.4-1.1,2.5-2.5,2.5c-0.4,0-0.7-0.1-1.1-0.2\n\tl3.4-3C13.4,7.5,13.5,7.7,13.5,8z M8.5,8c0-1.4,1.1-2.5,2.5-2.5c0.4,0,0.7,0.1,1.1,0.2l-3.4,3C8.6,8.5,8.5,8.3,8.5,8z M11,13.5\n\tc-1.4,0-2.7-0.3-3.9-0.8l1.2-1.1c0.7,0.5,1.6,0.9,2.6,0.9c2.5,0,4.5-2,4.5-4.5c0-0.8-0.2-1.5-0.6-2.1l1.8-1.5\n\tC18,5.3,19.1,6.5,19.8,8C18.2,11.4,14.8,13.5,11,13.5z"/>\n</svg>\n',iconError:'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_828_1227)">\n<path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 17H11V15H13V17ZM13 13H11V7H13V13Z"/>\n</g>\n<defs>\n<clipPath id="clip0_828_1227">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>\n</svg>\n'}},computed:{text:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},errorText:function(){return this.modifiedInput&&!this.validInput?this.validationErrorText:this.error},invalidInput:function(){return this.error||this.modifiedInput&&!this.validInput},inputPasswordToggleText:function(){return"password"===this.inputType?this.$t("login.password.show"):this.$t("login.password.hide")}},mounted:function(){this.inputType=this.type,this.initialValue=this.value,this.hasValue=!!this.text,this.required&&(this.validationErrorText=r.A.t("validation.required-text"))},methods:{setFocus:function(){var e=this;this.activeInput=!0,this.$nextTick(function(){e.$refs.input.focus()})},leaveInput:function(){this.validateInput(),this.activeInput=!1},validateInput:function(){this.modifiedInput=this.initialValue!==this.value,this.validInput=this.required?!!this.value:this.modifiedInput},onInput:function(){var e=this;this.$nextTick(function(){e.validateInput(),e.hasValue=!!e.text})},onKeyDown:function(e){this.$emit("keydown",e)},togglePassword:function(){this.inputType="password"===this.inputType?"text":"password"}},watch:{value:function(e){this.hasValue=!!e}}},i=(0,n(67658).A)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-text-input"},[n("div",{staticClass:"text-input-wrapper",class:{"active-input":e.activeInput||e.text,"invalid-input":e.invalidInput,"valid-input":e.validInput||e.initialValue,"helper-text":e.helperText,"has-value":e.hasValue,disabled:e.disabled}},[n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.leaveInput,expression:"leaveInput"}],staticClass:"text-input",on:{click:function(t){return e.setFocus()}}},[n("div",{staticClass:"input-label"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"input-container"},[n("div",{staticClass:"input"},["checkbox"===e.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],ref:"input",attrs:{name:e.name,placeholder:e.placeholder,readonly:e.readonly,type:"checkbox"},domProps:{checked:Array.isArray(e.text)?e._i(e.text,null)>-1:e.text},on:{keydown:e.onKeyDown,change:[function(t){var n=e.text,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.text=n.concat([null])):i>-1&&(e.text=n.slice(0,i).concat(n.slice(i+1)))}else e.text=o}
2,e.onKeyDown],input:e.onInput,focus:function(t){e.activeInput=!0},blur:function(t){e.activeInput=!!e.text}}}):"radio"===e.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],ref:"input",attrs:{name:e.name,placeholder:e.placeholder,readonly:e.readonly,type:"radio"},domProps:{checked:e._q(e.text,null)},on:{keydown:e.onKeyDown,change:[function(t){e.text=null},e.onKeyDown],input:e.onInput,focus:function(t){e.activeInput=!0},blur:function(t){e.activeInput=!!e.text}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],ref:"input",attrs:{name:e.name,placeholder:e.placeholder,readonly:e.readonly,type:e.inputType},domProps:{value:e.text},on:{keydown:e.onKeyDown,change:e.onKeyDown,input:[function(t){t.target.composing||(e.text=t.target.value)},e.onInput],focus:function(t){e.activeInput=!0},blur:function(t){e.activeInput=!!e.text}}})])]),e._v(" "),"password"!==e.type&&e.showAction?[n("span",{staticClass:"input-action",domProps:{textContent:e._s(e.actionTextButton)},on:{click:function(t){return t.stopPropagation(),e.$emit("actionClick")}}})]:e._e(),e._v(" "),"password"===e.type?["icon"===e.passwordMode?n("span",{staticClass:"ara-icon eye",domProps:{innerHTML:e._s("password"===e.inputType?e.iconEyeOn:e.iconEyeOff)},on:{click:e.togglePassword}}):"text"===e.passwordMode?n("span",{staticClass:"input-action input-action--toggle-password",domProps:{textContent:e._s(e.inputPasswordToggleText)},on:{click:e.togglePassword}}):e._e()]:e._e()],2),e._v(" "),e.errorText?n("div",{staticClass:"input-error"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconError)}}),e._v("\n "+e._s(e.errorText)+"\n ")]):e.helperText?n("div",{staticClass:"helper-text"},[e._v(e._s(e.helperText))]):e._e()])])},[],!1,null,"146fb269",null).exports},49891(e,t,n){n.d(t,{A:()=>i}),n(50653),n(28589);var r=n(36925);const o={name:"ara-textarea",props:{value:{type:String,default:""},label:{type:String,default:"Text"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{type:String},name:{type:String},placeholder:{type:String},helperText:{type:String},counter:{type:Boolean,default:!1},counterLimit:{type:Number},rows:{type:Number,default:5}},data:function(){return{initialValue:"",validationErrorText:r.A.t("validation.invalid-text"),activeInput:!1,modifiedInput:!1,validInput:!1}},computed:{text:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},textSize:function(){return null!==this.value&&void 0!==this.value?this.value.length:0},errorText:function(){return this.modifiedInput&&!this.validInput?this.validationErrorText:this.error},invalidInput:function(){return this.error||this.modifiedInput&&!this.validInput}},mounted:function(){this.initialValue=this.value,this.required&&(this.validationErrorText=r.A.t("validation.required-text"))},methods:{setFocus:function(){var e=this;this.activeInput=!0,this.$nextTick(function(){e.$refs.textarea.focus()})},leaveInput:function(){this.validateInput(),this.activeInput=null!==this.value&&""!==this.value&&this.validInput},validateInput:function(){this.modifiedInput=this.initialValue!==this.value,this.validInput=this.required?!!this.value:this.modifiedInput},onInput:function(){var e=this;this.$nextTick(function(){e.validateInput()})},onKeyDown:function(e){this.$emit("keydown",e)},onKeyUp:function(){null!=this.text&&(this.text=this.text.slice(0,this.counterLimit))}}},i=(0,n(67658).A)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-textarea"},[n("div",{staticClass:"textarea-wrapper",class:{"active-textarea":e.activeInput||e.initialValue,"invalid-textarea":e.invalidInput,"valid-textarea":e.validInput,"helper-text":e.helperText,disabled:e.disabled}},[n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.leaveInput,expression:"leaveInput"}],staticClass:"text-textarea",on:{click:function(t){return e.setFocus()}}},[n("div",{staticClass:"textarea-label"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"textarea-container"},[n("div",{staticClass:"textarea"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],ref:"textarea",attrs:{name:e.name,placeholder:e.placeholder,readonly:e.readonly,rows:e.rows},domProps:{value:e.text},on:{keydown:e.onKeyDown,keyup:e.onKeyUp,change:e.onKeyDown,input:[function(t){t.target.composing||(e.text=t.target.value)},e.onInput],focus:function(t){e.activeInput=!0},blur:function(t){e.activeInput=!!e.text}}})])])]),e._v(" "),e.errorText||e.helperText||e.counter?n("div",{staticClass:"textarea-info"},[e.errorText?n("div",{staticClass:"textarea-error"},[e._v(e._s(e.errorText))]):e.helperText?n("div",{staticClass:"helper-text"}
2,[e._v(e._s(e.helperText))]):e._e(),e._v(" "),e.counter?n("span",{staticClass:"counter"},[e._v(e._s(e.textSize)+"/"+e._s(e.counterLimit))]):e._e()]):e._e()])])},[],!1,null,"27c5e1be",null).exports},75880(e,t,n){n.d(t,{A:()=>v}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(37316),n(55831),n(57406),n(12493),n(50653),n(37423),n(85351),n(63145),n(28589),n(12002),n(89185),n(28471),n(570),n(3188),n(10844),n(55448),n(63343),n(12401),n(14439),n(17046);var r=n(65825),o=n.n(r),i=n(56095),a=n(12829),s=n(92299),l=n.n(s),c=n(80057);function u(e){return u="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},u(e)}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return(t=function(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g={name:"ara-advertising-position",props:{type:{type:String,required:!0},infinite:{type:Boolean,default:!1},refresh:{type:Boolean,default:!1},customSizes:{type:Array},customSizeMapping:{type:Array},visibleAlways:{type:Boolean,default:!1},closeButton:{type:Boolean,default:!1},fixedHeight:{type:Boolean,default:!1},liveFeedPosition:{type:Number,default:null},positionConfig:{type:Object,default:null}},data:function(){return{config:null,slot:null,isHide:!1,iconClose:i.A,canShowBottomAd:!1,percent:0,pageIsOnTop:!1}},mixins:[c.A],computed:m(m(m(m(m(m({},(0,a.L8)("user",["isSubscriber","currentUser"])),(0,a.L8)(["runningInApp"])),(0,a.L8)(["preview","contentId"])),(0,a.L8)(["headerStickable","headerSticky"])),(0,a.L8)(["runningInShowroom"])),{},{googletag:function(){return this.$ads.googletag},networkCode:function(){return this.$ads.networkCode},slotType:function(){return this.config?this.config.slotType.toLowerCase():null},positionVisibleForSubscribers:function(){return!!this.config&&("S"===this.currentUser.premium?this.config.visibleForPremiumSubscribers:this.config.visibleForSubscribers)},adUnitCode:function(){return this.config?this.config.adUnitCode:null},adUnitPath:function(){return this.config?"/".concat(this.networkCode,"/").concat(this.adUnitCode):null},sizes:function(){return this.customSizes?this.customSizes:this.$ads.sizes[this.slotType]},sizeMapping:function(){return this.customSizeMapping?this.customSizeMapping:this.$ads.sizeMappings[this.slotType]}
2,id:function(){return this.config?"".concat(this.type,"-").concat(this.config.id,"-").concat(o()(1,1e6)):null},visible:function(){return!!this.visibleAlways||!!this.config&&(this.closeButton?(this.percent>5?this.isHide=!0:this.isHide=!1,!0):this.positionVisibleForSubscribers)},size:function(){var e,t,n=p(null!==(e=null===(t=this.sizes)||void 0===t?void 0:t.flat())&&void 0!==e?e:[],2);return[n[0],n[1]]},width:function(){var e=p(this.size,1)[0];return e?"".concat(e,"px"):0},height:function(){var e=p(this.size,2)[1];return e?"".concat(e,"px"):0},dimensions:function(){var e;return"".concat(this.width," x ").concat(null!==(e=this.height)&&void 0!==e?e:"fluid")},showCloseButton:function(){return this.closeButton},isSubscriberAndPositionNoVisibleForSubscribers:function(){return this.isSubscriber&&!this.positionVisibleForSubscribers},isColumnPaywallActive:function(){return this.getActivePaywallMessage(this.contentId).some(function(e){return e.type&&e.type.startsWith("column")})},advertisingVisible:function(){if("bannerBottom"===this.type){if(void 0!==window.contentId&&!this.contentId)return!1;if(this.isColumnPaywallActive)return!1}return!("list"===this.type&&void 0===this.config||this.isSubscriber&&!this.positionVisibleForSubscribers)}}),methods:{defineSlot:function(){var e=this;this.googletag.cmd.push(function(){var t=e.googletag.defineSlot(e.adUnitPath,e.sizes,e.id).defineSizeMapping(e.sizeMapping).setCollapseEmptyDiv(!0,!0).addService(e.googletag.pubads());console.debug("GTP display slot ".concat(e.id)),e.googletag.display(e.id),(e.refresh||e.runningInApp)&&e.googletag.pubads().refresh([t])})},onScroll:function(){this.percent=-1*document.body.getBoundingClientRect().top*100/document.body.offsetHeight},handleScroll:function(){document.getElementById("hot-topics")&&(this.pageIsOnTop=0===window.scrollY)},getActivePaywallMessage:function(e){if(!e)return[];var t=l().getJSON("nx-paywall-data-".concat(e));return t&&t.messageIds||[]}},created:function(){if(this.$ads&&(this.positionConfig?this.config=this.positionConfig:this.config=this.$ads.nextPosition(this.type,this.infinite),this.infinite&&this.config&&this.config.adUnitCode.includes("mateix"))){var e=this.positionConfig?"background-color: #111; color: lime;":"background-color: #111; color: darkorange;";console.log("%c[AD POSITION] Anuncio en posición #%d: %s",e,this.liveFeedPosition,this.config.adUnitCode)}},mounted:function(){this.config&&(this.isSubscriber&&!1===this.positionVisibleForSubscribers?console.debug("GTP position ".concat(this.id," not visible for subscribers")):this.getActivePaywallMessage(this.contentId).length>0&&this.closeButton||("sky"===this.type&&(this.handleScroll(),window.addEventListener("scroll",this.handleScroll,{passive:!0})),this.closeButton&&window.addEventListener("scroll",this.onScroll,{passive:!0})))},beforeDestroy:function(){window.removeEventListener("scroll",this.onScroll),window.removeEventListener("scroll",this.handleScroll)}},v=(0,n(67658).A)(g,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[{advertising:e.config||e.visibleAlways},e.slotType,e.type,{hide:e.isHide,"hide--subscriber":e.isSubscriberAndPositionNoVisibleForSubscribers,"sky--top":e.pageIsOnTop,"advertising--fixed":e.fixedHeight}]},[this.preview?n("figure",{staticClass:"advertising-wrapper advertising-wrapper--preview"},[n("div",{staticClass:"info",style:{height:e.height,width:e.width}},[n("span",{staticClass:"title",domProps:{textContent:e._s(e.slotType+" "+e.adUnitCode)}}),e._v(" "),n("span",{staticClass:"dimensions",domProps:{textContent:e._s(e.dimensions)}})])]):e.advertisingVisible?n("div",{staticClass:"ssmas-ad advertising-wrapper",attrs:{"data-ad-position":e.adUnitPath}},[e.runningInShowroom?n("div",{staticClass:"ssm_adunit_container"}):e._e()]):e._e()])},[],!1,null,null,null).exports},98056(e,t,n){n.r(t),n.d(t,{default:()=>h}),n(54162),n(4290),n(29068),n(82111),n(78837),n(57406),n(12493),n(85351),n(28589),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(10844),n(55448),n(63343),n(14439),n(17046);var r=n(3523),o=n(46177),i=n.n(o);function a(e){return a="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},a(e)}function s(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return l(u,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),u}var a={};function c(){}function u(){}function p(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(l(t={},r,function(){return this}),t),f=p.prototype=c.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=p,l(f,"constructor",p),l(p,"constructor",u),u.displayName="GeneratorFunction",l(p,o,"GeneratorFunction"),l(f),l(f,o,"Generator"),l(f,r,function(){return this}),l(f,"toString",function(){return"[object Generator]"}),(s=function(){return{w:i,m}})()}function l(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}l=function(e,t,n,r){function i(t,n){l(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},l(e,t,n,r)}function c(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return(t=function(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={name:"ara-audio-player",props:{contentId:{type:Number,required:!0},file:{type:String,required:!0}},data:function(){return{player:null,options:{skin:{name:"ara"},height:40,width:"100%"},trackEvents:["play","pause","seek","complete"],trackMilestones:{25:!1,50:!1,75:!1}}},computed:{setupOptions:function(){return p(p({},this.options),{},{file:this.file})}},mounted:function(){var e,t=this;return(e=s().m(function e(){var n;return s().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,(0,r.a)();case 1:n=e.v,t.player=n(t.$refs.player).setup(t.setupOptions),t.player.setMute(!1),t.player.setVolume(100),t.registerTrackingEvents();case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){c(i,r,o,a,s,"next",e)}function s(e){c(i,r,o,a,s,"throw",e)}a(void 0)})})()},methods:{registerTrackingEvents:function(){var e=this;this.trackEvents.forEach(function(t){e.player.on(t,i()(function(t){var n=t.type;return e.track(n)},100,{leading:!0,trailing:!1}))}),this.player.on("time",function(t){var n=t.duration,r=t.position,o=Math.round(100*r/n);Object.keys(e.trackMilestones).includes(o.toString())&&!e.trackMilestones[o]&&(e.track("position-".concat(o)),e.trackMilestones[o]=!0)})},track:function(e){this.$track({category:"audio",action:e,label:this.contentId}),this.trackEvents.includes(e)&&(this.trackMilestones={25:!1,50:!1,75:!1})}}},m=f,h=(0,n(67658).A)(m,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"ara-audio-player"},[t("div",{ref:"player"})])},[],!1,null,null,null).exports},59559(e,t,n){n.d(t,{A:()=>i});var r=n(56095);const o={name:"ara-comments-header",props:{icon:{type:String,default:r.A},text:{type:String}},methods:{action:function(){this.$emit("action")}}},i=(0,n(67658).A)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-comments-header"},[n("div",{staticClass:"left-side"},[e.icon?n("span",{staticClass:"header-icon",domProps:{innerHTML:e._s(e.icon)},on:{click:e.action}}
2):e._e(),e._v(" "),n("span",[e._v(e._s(e.text))])]),e._v(" "),n("div",{staticClass:"right-side"},[e._t("default")],2)])},[],!1,null,"9fcac80e",null).exports},30377(e,t,n){n.d(t,{A:()=>o});const r={name:"ara-elapsed-time",mixins:[n(89340).A],props:{date:{type:String,required:!0}},computed:{elapsedTime:function(){return this.formatDate(this.date)}}},o=(0,n(67658).A)(r,function(){var e=this,t=e.$createElement;return(e._self._c||t)("time",{staticClass:"ara-elapsed-time",attrs:{datetime:e.date},domProps:{textContent:e._s(e.elapsedTime)}})},[],!1,null,null,null).exports},55599(e,t,n){n.d(t,{A:()=>o});const r={name:"ara-relative-date",mixins:[n(89340).A],props:{date:{type:String,required:!0}},computed:{relativeDate:function(){return this.formatDate(this.date)}}},o=(0,n(67658).A)(r,function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{staticClass:"ara-relative-date"},[e._v(e._s(e.relativeDate))])},[],!1,null,"1a6fbddd",null).exports},91474(e,t,n){n.d(t,{A:()=>N}),n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(28471),n(570),n(63343),n(14439),n(17046);var r=n(19630),o=n.n(r),i=n(12829),a=n(18264),s=n.n(a),l=n(11520),c=n(95113),u=(n(5423),n(28280),n(55831),n(57406),n(50653),n(63145),n(3188),n(10844),n(55448),n(59289)),p=n.n(u),d=n(95685),f=n.n(d),m=n(30192),h=n(56095),g=n(15372),v=n(8813),b=n(76268),y=n(11436),w=n(36925),C=n(29930),_=n(95285),S=n.n(_);const k={name:"ara-text-input-date",props:{value:{type:String},label:{type:String,default:"Date"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{type:String},name:{type:String},placeholder:{type:String},helperText:{type:String},type:{type:String,default:"date"}},data:function(){return{initialValue:"",validationErrorText:w.A.t("validation.invalid-text"),activeInput:!1,modifiedInput:!1,validInput:!1,inputType:"date",iconDropdown:C.A}}
2,computed:{inputDate:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},errorText:function(){return this.modifiedInput&&!this.validInput?this.validationErrorText:this.error},invalidInput:function(){return this.error||this.modifiedInput&&!this.validInput},setMaxDate:function(){return S()().format("YYYY-MM-DD")}},mounted:function(){this.inputType=this.type,this.initialValue=this.value,this.required&&(this.validationErrorText=w.A.t("validation.required-text"))},methods:{setFocus:function(){var e=this;this.activeInput=!0,this.$nextTick(function(){e.$refs.inputDate.focus()})},leaveInput:function(){this.validateInput(),this.activeInput=null!==this.value&&""!==this.value&&this.validInput},validateInput:function(){this.modifiedInput=this.initialValue!==this.value,this.validInput=this.required?!!this.value:this.modifiedInput},onInput:function(){var e=this;this.$nextTick(function(){e.validateInput()})},onKeyDown:function(e){this.$emit("keydown",e)}}};var A=n(67658);const P=(0,A.A)(k,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-text-input"},[n("div",{staticClass:"text-input-wrapper",class:{"active-input":e.activeInput||e.initialValue,"invalid-input":e.invalidInput,"valid-input":e.validInput,"helper-text":e.helperText,disabled:e.disabled}},[n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.leaveInput,expression:"leaveInput"}],staticClass:"text-input",on:{click:function(t){return e.setFocus()}}},[n("div",{staticClass:"input-label"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"input-container"},[n("div",{staticClass:"input"},["checkbox"===e.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:e.inputDate,expression:"inputDate"}],ref:"inputDate",attrs:{id:"calendar-click-text-input",name:e.name,placeholder:e.placeholder,readonly:e.readonly,max:e.setMaxDate,type:"checkbox"},domProps:{checked:Array.isArray(e.inputDate)?e._i(e.inputDate,null)>-1:e.inputDate},on:{keydown:e.onInput,change:[function(t){var n=e.inputDate,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.inputDate=n.concat([null])):i>-1&&(e.inputDate=n.slice(0,i).concat(n.slice(i+1)))}else e.inputDate=o},e.onInput],input:e.onInput,focus:function(t){e.activeInput=!0}}}):"radio"===e.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:e.inputDate,expression:"inputDate"}],ref:"inputDate",attrs:{id:"calendar-click-text-input",name:e.name,placeholder:e.placeholder,readonly:e.readonly,max:e.setMaxDate,type:"radio"},domProps:{checked:e._q(e.inputDate,null)},on:{keydown:e.onInput,change:[function(t){e.inputDate=null},e.onInput],input:e.onInput,focus:function(t){e.activeInput=!0}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.inputDate,expression:"inputDate"}],ref:"inputDate",attrs:{id:"calendar-click-text-input",name:e.name,placeholder:e.placeholder,readonly:e.readonly,max:e.setMaxDate,type:e.inputType},domProps:{value:e.inputDate},on:{keydown:e.onInput,change:e.onInput,input:[function(t){t.target.composing||(e.inputDate=t.target.value)},e.onInput],focus:function(t){e.activeInput=!0}}})])]),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:function(t){return e.$refs.inputDate.focus()}}})]),e._v(" "),e.errorText?n("div",{staticClass:"input-error"},[e._v(e._s(e.errorText))]):e.helperText?n("div",{staticClass:"helper-text"},[e._v(e._s(e.helperText))]):e._e()])])},[],!1,null,"9a9e650c",null).exports;var x=n(83266);function O(e){return O="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},O(e)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?L(Object(n),!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return(t=function(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const T={name:"ara-filters-sidebar",mixins:[m.A],data:function(){return{iconClose:h.A}},components:{araCheckbox:g.A,araDateInput:v.A,araDateRange:b.A,araSelectInput:y.A,araTextInputDate:P,araButtonNew:x.A},computed:E(E({},(0,i.L8)("filters",["show","appliedFilters","selectedFilters"])),{},{hasDateRangeFilter:function(){return!!this.availableFilters.find(function(e){return"date-range"===e.type})},hasDateFilter:function(){return!!this.availableFilters.find(function(e){return"date"===e.type})},hasInputDateFilter:function(){return!!this.availableFilters.find(function(e){return"inputDate"===e.type})},dateFilter:function(){return this.hasDateFilter?this.availableFilters.find(function(e){return"date"===e.type}).filters.find(function(e){return"date"===e.name}):{}},inputDateFilter:function(){return this.hasInputDateFilter?this.availableFilters.find(function(e){return"inputDate"===e.type}).filters.find(function(e){return"inputDate"===e.name}):{}},modifiedFilters:function(){return!(!this.appliedFilters.length&&this.hasDateRangeFilter&&this.hasDateFilter&&this.hasInputDateFilter||f()(p()(this.appliedFilters,this.selectedFilters,s())))},clearableFilters:function(){return this.hasDateRangeFilter&&this.hasDateFilter&&this.hasInputDateFilter?this.selectedFilters.length-(this.fromValue?0:1)-(this.toValue?0:1)-(this.dateValue?0:1):this.selectedFilters.length},selectedFiltersByGroupName:function(){return this.selectedFilters.reduce(function(e,t){var n,r=t.name,o=t.value;return E(E({},e),{},j({},r,[].concat(function(e){if(Array.isArray(e))return I(e)}(n=e[r]||[])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return I(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[o])))},{})},fromValue:function(){return this.selectedFilters.find(function(e){return"minDate"===e.name})?this.selectedFilters.find(function(e){return"minDate"===e.name}).value:null},toValue:function(){return this.selectedFilters.find(function(e){return"maxDate"===e.name})?this.selectedFilters.find(function(e){return"maxDate"===e.name}).value:null},dateValue:function(){return this.selectedFilters.find(function(e){return"date"===e.name})?this.selectedFilters.find(function(e){return"date"===e.name}).value:null},inputDateValue:function(){return this.selectedFilters.find(function(e){return"inputDate"===e.name})?this.selectedFilters.find(function(e){return"inputDate"===e.name}).value:null}}),watch:{show:function(e){e?this.blockBodyScroll():this.restoreBodyScroll()}},created:function(){l.A.$on("clearFilters",this.clearFilters)},mounted:function(){var e=this;this.$nextTick(function(){e.setAppliedFilters(e.selectedFilters)})},methods:E(E({},(0,i.i0)("filters",["setShow","setAppliedFilters","setSelectedFilters","selectedFiltersPush","setSelectedFilterValue"])),{},{openFilters:function(){this.setShow(!0)},closeFilters:function(){this.resetFilters(),this.setShow(!1)},resetFilters:function(){this.setSelectedFilters(this.appliedFilters)},clearFiltersAndApply:function(){var e=this;this.clearFilters(),this.$nextTick(function(){e.applyFilters()})},clearFilters:function(){var e=this;this.setSelectedFilters([]),this.$nextTick(function(){e.hasDateRangeFilter&&(e.changeMaxDate(null),e.changeMinDate(null)),e.hasDateFilter&&e.changeDate(null),e.hasInputDateFilter&&e.changeInputDate(null),e.availableFilters.forEac
2h(function(t){"single-select"===t.type&&e.selectSingleItem(t.name,null)})})},applyFilters:function(){l.A.$emit("applyFilters")},isCheckboxSelected:function(e,t){return(this.selectedFiltersByGroupName[e]||[]).includes(t)},toggleCheckboxSelection:function(e,t){this.isCheckboxSelected(e,t)?this.setSelectedFilters(this.selectedFilters.filter(function(n){return 1!=(n.name===e&&n.value===t)})):this.selectedFiltersPush({name:e,value:t})},changeMaxDate:function(e){this.hasDateRangeFilter&&(this.selectedFilters.find(function(e){return"maxDate"===e.name})?this.setSelectedFilterValue({name:"maxDate",value:e}):this.selectedFiltersPush({name:"maxDate",value:e}))},changeMinDate:function(e){this.hasDateRangeFilter&&(this.selectedFilters.find(function(e){return"minDate"===e.name})?this.setSelectedFilterValue({name:"minDate",value:e}):this.selectedFiltersPush({name:"minDate",value:e}))},changeDate:function(e){this.hasDateFilter&&(this.selectedFilters.find(function(e){return"date"===e.name})?this.setSelectedFilterValue({name:"date",value:e}):this.selectedFiltersPush({name:"date",value:e}))},changeInputDate:function(e){this.hasInputDateFilter&&(this.selectedFilters.find(function(e){return"inputDate"===e.name})?this.setSelectedFilterValue({name:"inputDate",value:e}):this.selectedFiltersPush({name:"inputDate",value:e}))},selectedSingleItem:function(e){return this.selectedFilters.find(function(t){return t.name===e})?this.selectedFilters.find(function(t){return t.name===e}).value:null},selectSingleItem:function(e,t){this.selectedFilters.find(function(t){return t.name===e})?this.setSelectedFilterValue({name:e,value:t}):this.selectedFiltersPush({name:e,value:t})}})};const D=(0,A.A)(T,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-filters-sidebar"},[n("transition",{attrs:{name:"sidebar-animation"}},[e.show?n("aside",{staticClass:"filters-sidebar-wrapper"},[n("div",{staticClass:"sidebar-header"},[n("ara-button",{attrs:{text:"",icon:e.iconClose},on:{click:e.closeFilters}}),e._v(" "),n("span",{staticClass:"title"},[e._v(e._s(e.$t("filters.filters")))]),e._v(" "),e.clearableFilters?n("ara-button",{attrs:{text:""},on:{click:e.clearFilters}},[e._v(e._s(e.$t("filters.remove")))]):e._e()],1),e._v(" "),n("div",{staticClass:"body"},e._l(this.availableFilters,function(t,r){return n("div",{key:r,staticClass:"filter-group",class:{unlabeled:e.unlabeled}},[e.unlabeled?e._e():n("div",{staticClass:"label",domProps:{textContent:e._s(t.label)}}),e._v(" "),"checkbox"!==t.type&&t.type?"date-range"===t.type?[n("ara-date-range",{attrs:{from:e.fromValue,to:e.toValue},on:{inputFrom:e.changeMinDate,inputTo:e.changeMaxDate}})]:"date"===t.type?[n("ara-date-input",{attrs:{value:e.dateValue,minDate:e.dateFilter.minDate,maxDate:e.dateFilter.maxDate,label:t.label},on:{input:e.changeDate}})]:"inputDate"===t.type?[n("ara-text-input-date",{attrs:{value:e.inputDateValue,type:"date",maxDate:e.dateFilter.maxDate,label:t.label},on:{input:e.changeInputDate}})]:"single-select"===t.type?[n("ara-select-input",{attrs:{items:t.filters,label:t.label,value:e.selectedSingleItem(t.name)},on:{input:function(n){e.selectSingleItem(t.name,n)}}})]:e._e():e._l(t.filters,function(r,o){return n("ara-checkbox",{key:o,attrs:{selected:e.isCheckboxSelected(t.name,r.value)},on:{onChange:function(n){return e.toggleCheckboxSelection(t.name,r.value)}}},[e._v(e._s(r.name))])})],2)}),0),e._v(" "),n("div",{staticClass:"sidebar-footer"},[n("ara-button-new",{attrs:{"full-width":"",disabled:!e.modifiedFilters},on:{click:e.applyFilters}},[e._v(e._s(e.$t("filters.apply")))])],1)]):e._e()])],1)},[],!1,null,"b67d9eb0",null).exports;function M(e){return M="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},M(e)}function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?F(Object(n),!0).forEach(function(t){B(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function B(e,t,n){return(t=function(e){var t=function(e){if("object"!=M(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=M(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==M(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const U={name:"ara-search-filters",props:{value:{type:Array,required:!0},availableFilters:{type:Array,required:!0},unlabeled:{type:Boolean,default:!1}},data:function(){return{iconFilter:'<svg viewBox="0 0 18 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M7,12 L11,12 L11,10 L7,10 L7,12 Z M0,0 L0,2 L18,2 L18,0 L0,0 Z M3,7 L15,7 L15,5 L3,5 L3,7 Z" id="path-1"></path></svg>',iconTrash:c.A}},computed:R(R({},(0,i.L8)("filters",["loaded","show","appliedFilters","selectedFilters"])),{},{searchFilters:function(){return this.appliedFilters.filter(function(e){return e.value})}}),watch:{value:function(e){this.setSelectedFilters(e)},show:function(e,t){!t&&e&&this.setAppliedFilters(this.selectedFilters)},selectedFilters:{deep:!0,handler:function(e){s()(e,this.value)||this.$emit("input",e)}}},created:function(){l.A.$on("applyFilters",this.applyFilters),this.loaded||(this.setSelectedFilters(this.value),this.generateFiltersSidebar(),this.setLoaded(!0))},methods:R(R({},(0,i.i0)("filters",["setLoaded","setShow","setAppliedFilters","setSelectedFilters"])),{},{generateFiltersSidebar:function(){var e=new(o().extend(D))({parent:this.$root,data:this.$props}).$mount();document.body.appendChild(e.$el)},openFilters:function(){this.setShow(!0)},clearFiltersAndApply:function(){var e=this;l.A.$emit("clearFilters"),this.$nextTick(function(){e.applyFilters()})},applyFilters:function(){this.setAppliedFilters(this.selectedFilters),this.setShow(!1),this.$emit("apply")}})},N=(0,A.A)(U,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-search-filters"},[n("div",{staticClass:"search-filters-wrapper"},[n("div",{staticClass:"filters-button",on:{click:e.openFilters}},[n("span",[e._v(e._s(e.$t("filters.filters")))]),e._v(" "),e.searchFilters.length?n("span",{staticClass:"filters-count"},[e._v(e._s(e.searchFilters.length))]):n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconFilter)}})]),e._v(" "),e.searchFilters.length?n("div",{staticClass:"ara-icon trash-button",domProps:{innerHTML:e._s(e.iconTrash)},on:{click:e.clearFiltersAndApply}}):e._e()])])},[],!1,null,"201d7164",null).exports},20315(e,t,n){n.r(t),n.d(t,{default:()=>s}),n(3188),n(30973);var r=n(80057),o=n(83266),i=n(2263);const a={mixins:[r.A],name:"ara-paywall-blocking-community",extends:i.A,components:{araButtonNew:o.A},created:function(){this.isFolded=this.folded},mounted:function(){this.addBodyClass(),this.$track({category:"paywall",action:"message",label:"closed"})},computed:{communityColor:function(){return this.$attrs.color?this.$attrs.color.search("#")<0?"background-color: #".concat(this.$attrs.color):"background-color: ".concat(this.$attrs.color):""}}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-blocking-community"},[n("div",{staticClass:"paywall-wall"}),e._v(" "),n("div",{staticClass:"paywall-wrapper community",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin},style:e.communityColor},[n("div",{staticClass:"paywall-info"},[n("div",{staticClass:"paywall-link"},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})]),e._v(" "),n("div",{staticClass:"paywall-content"},[n("div",{staticClass:"paywall-content--left"},[n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}})]),e._v(" "),n("div",{staticClass:"paywall-content--right"},[n("div",{staticClass:"paywall-tag-price"},[e.$attrs.promoTag?n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}}
2)]):e._e(),e._v(" "),n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})])]),e._v(" "),n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}})])],1),e._v(" "),e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e()])])])])])},[],!1,null,null,null).exports},97262(e,t,n){n.r(t),n.d(t,{default:()=>s});var r=n(80057),o=n(83266),i=n(2263);const a={mixins:[r.A],name:"ara-paywall-blocking",extends:i.A,components:{araButtonNew:o.A},created:function(){this.isFolded=this.folded},mounted:function(){this.addBodyClass(),this.$track({category:"paywall",action:"message",label:"closed"})}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-blocking"},[n("div",{staticClass:"paywall-wall"}),e._v(" "),n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin}},[n("div",{staticClass:"paywall-info"},[n("div",{staticClass:"paywall-link"},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})]),e._v(" "),n("div",{staticClass:"paywall-content"},[n("div",{staticClass:"paywall-content--left"},[n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}})]),e._v(" "),n("div",{staticClass:"paywall-content--right"},[n("div",{staticClass:"paywall-tag-price"},[e.$attrs.promoTag?n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})])]),e._v(" "),n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}}
2)])],1),e._v(" "),e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e()])])])])])},[],!1,null,null,null).exports},15181(e,t,n){n.r(t),n.d(t,{default:()=>s}),n(28589);var r=n(80057),o=n(83266),i=n(2263);const a={mixins:[r.A],name:"ara-paywall-column-counter",extends:i.A,components:{araButtonNew:o.A},props:{remainingContents:{type:Number,default:0}},mounted:function(){var e=window.paywallCookie,t="counter_".concat(e.userCounter);this.$track({category:"paywall",action:"message",label:t})}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-column-counter"},[e.isLocked?n("div",{staticClass:"paywall-wall"}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade-out"}},[e.isVisible?n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin,folded:e.isFolded}},[e.isFolded?e._e():n("div",{staticClass:"paywall-header"},[e.$attrs.image?n("div",{staticClass:"paywall-header--image"},[n("img",{attrs:{src:e.$attrs.image.url}})]):e._e(),e._v(" "),n("span",{staticClass:"paywall-header--icon ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}})]),e._v(" "),!e.isFolded&&e.$attrs.promoCopy?n("div",{staticClass:"paywall-promo",domProps:{textContent:e._s(e.$attrs.promoCopy)}}):e._e(),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}}
2)])],1),e._v(" "),!e.isFolded&&e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages&&!e.isFolded?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-link",class:{"paywall-link--folded":e.isFolded}},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})]),e._v(" "),n("div",{staticClass:"paywall-counter",class:{"paywall-counter--folded":e.isFolded}},[n("div",{staticClass:"paywall-counter--counter",domProps:{textContent:e._s(e.remainingContents)}}),e._v(" "),n("div",{staticClass:"paywall-counter--text",domProps:{textContent:e._s(e.$t("paywall.remaining-articles"))}}),e._v(" "),e.isFolded?n("span",{staticClass:"paywall-header--icon ara-icon ara-icon--down",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}}):e._e()])]):e._e()])],1)},[],!1,null,null,null).exports},92944(e,t,n){n.r(t),n.d(t,{default:()=>s});var r=n(80057),o=n(83266),i=n(2263);const a={mixins:[r.A],name:"ara-paywall-column-offer",extends:i.A,components:{araButtonNew:o.A},mounted:function(){this.$track({category:"paywall",action:"message",label:"offer"})}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-column-offer"},[e.isLocked?n("div",{staticClass:"paywall-wall"}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade-out"}},[e.isVisible?n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin,folded:e.isFolded}},[e.isFolded?e._e():n("div",{staticClass:"paywall-header"},[e.$attrs.image?n("div",{staticClass:"paywall-header--image"},[n("img",{attrs:{src:e.$attrs.image.url}})]):e._e(),e._v(" "),n("span",{staticClass:"paywall-header--icon ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}})]),e._v(" "),!e.isFolded&&e.$attrs.promoCopy?n("div",{staticClass:"paywall-promo",domProps:{textContent:e._s(e.$attrs.promoCopy)}}):e._e(),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}}
2)])],1),e._v(" "),!e.isFolded&&e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages&&!e.isFolded?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-link",class:{"paywall-link--folded":e.isFolded}},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}}),e._v(" "),e.isFolded?n("span",{staticClass:"paywall-header--icon ara-icon ara-icon--down",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}}):e._e()]),e._v(" "),n("div",{staticClass:"paywall-counter",class:{"paywall-counter--folded":e.isFolded}})]):e._e()])],1)},[],!1,null,null,null).exports},165(e,t,n){n.r(t),n.d(t,{default:()=>p}),n(28589);var r=n(80057),o=n(92299),i=n.n(o),a=n(95285),s=n.n(a),l=n(83266),c=n(2263);const u={mixins:[r.A],name:"ara-paywall-column-trial",extends:c.A,components:{araButtonNew:l.A},props:{remainingDays:{type:Number,default:0}},computed:{numberRemainingDays:function(){var e=i().getJSON("nx-session-user"),t=null==e?void 0:e.endTrialDate;if(!t)return 0;var n=s()();return s()(t.date).diff(n,"day")},lastDay:function(){return 0===this.numberRemainingDays}},mounted:function(){this.$track({category:"paywall",action:"message",label:"trial"})}},p=(0,n(67658).A)(u,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-column-trial"},[e.isLocked?n("div",{staticClass:"paywall-wall"}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade-out"}},[e.isVisible?n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin,folded:e.isFolded}},[e.isFolded?e._e():n("div",{staticClass:"paywall-header"},[e.$attrs.image?n("div",{staticClass:"paywall-header--image"},[n("img",{attrs:{src:e.$attrs.image.url}})]):e._e(),e._v(" "),n("span",{staticClass:"paywall-header--icon ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}})]),e._v(" "),!e.isFolded&&e.$attrs.promoCopy?n("div",{staticClass:"paywall-promo",domProps:{textContent:e._s(e.$attrs.promoCopy)}}):e._e(),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}}
2)])],1),e._v(" "),!e.isFolded&&e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages&&!e.isFolded?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-link",class:{"paywall-link--folded":e.isFolded}},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})]),e._v(" "),n("div",{staticClass:"paywall-counter",class:{"paywall-counter--folded":e.isFolded}},[e.lastDay?n("div",{staticClass:"paywall-counter--text",domProps:{textContent:e._s(e.$t("paywall.remaining-articles-last-day"))}}):e._e(),e._v(" "),e.lastDay?e._e():n("div",{staticClass:"paywall-counter--counter",domProps:{textContent:e._s(e.numberRemainingDays)}}),e._v(" "),e.lastDay?e._e():n("div",{staticClass:"paywall-counter--text",domProps:{textContent:e._s(e.$t("paywall.remaining-days"))}}),e._v(" "),e.isFolded?n("span",{staticClass:"paywall-header--icon ara-icon ara-icon--down",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}}):e._e()])]):e._e()])],1)},[],!1,null,null,null).exports},16707(e,t,n){n.r(t),n.d(t,{default:()=>s});var r=n(80057),o=n(83266),i=n(2263);const a={mixins:[r.A],name:"ara-paywall-gift-expired",extends:i.A,components:{araButtonNew:o.A},created:function(){this.isFolded=this.folded},mounted:function(){this.addBodyClass(),this.$track({category:"paywall",action:"message",label:"gift-expired"})}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-gift-expired"},[n("div",{staticClass:"paywall-wall"}),e._v(" "),n("div",{staticClass:"paywall-wrapper paywall-wrapper--without-header-img",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin}},[n("div",{staticClass:"paywall-info"},[n("div",{staticClass:"paywall-content"},[n("div",{staticClass:"paywall-content--left"},[n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}})]),e._v(" "),n("div",{staticClass:"paywall-content--right"},[n("div",{staticClass:"paywall-tag-price"},[e.$attrs.promoTag?n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})])]),e._v(" "),n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}}
2)])],1),e._v(" "),e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-link"},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})])])])])])])},[],!1,null,null,null).exports},36515(e,t,n){n.r(t),n.d(t,{default:()=>a}),n(3188),n(6552),n(59297);var r=n(80057),o=n(2263);const i={mixins:[r.A],name:"ara-paywall-gift",extends:o.A,mounted:function(){this.$track({category:"paywall",action:"message",label:"gift"});var e=window.paywallCookie;if(void 0!==e&&void 0!==e.remainingDays&&void 0!==this.$attrs.remainingDaysText&&""!==this.$attrs.remainingDaysText){var t=this.$attrs.remainingDaysText;null!==t.match(/%remainingDays%/)&&(t=t.replace(/%remainingDays%/,e.remainingDays)),this.$attrs.remainingDays=t}}},a=(0,n(67658).A)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-gift"},[e.isLocked?n("div",{staticClass:"paywall-wall"}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade-out"}},[e.isVisible?n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin,folded:e.isFolded}},[e.isFolded?e._e():n("div",{staticClass:"paywall-header"},[n("div",{staticClass:"paywall-header--image"},[n("img",{attrs:{src:"/icons/card-giftcard.svg",alt:"gift card icon"}})]),e._v(" "),n("span",{staticClass:"paywall-header--icon ara-icon",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}})]),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}}),e._v(" "),!e.isFolded&&e.$attrs.remainingDays?n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.remainingDays)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-link",class:{"paywall-link--folded":e.isFolded}},[e.isFolded?n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$t("paywall.read-content"))},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}}):e._e(),e._v(" "),e.isFolded?e._e():n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})]),e._v(" "),n("div",{staticClass:"paywall-info",class:{"paywall-info--folded":e.isFolded}},[e.isFolded?n("div",{staticClass:"paywall-info--text"},[n("div",{domProps:{textContent:e._s(e.$t("paywall.gift-folded"))}}),e._v(" "),e.$attrs.promoTag?n("div",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}}):e._e()]):e._e(),e._v(" "),e.isFolded?e._e():n("div",{staticClass:"paywall-info--text",domProps:{textContent:e._s(e.$t("paywall.gift-unfolded"))}}),e._v(" "),e.isFolded?n("span",{staticClass:"paywall-header--icon ara-icon ara-icon--down",domProps:{innerHTML:e._s(e.iconDropdown)},on:{click:e.toggleFolded}}):e._e()])]):e._e()])],1)},[],!1,null,null,null).exports},89871(e,t,n){n.r(t),n.d(t,{default:()=>s});var r=n(80057),o=n(83266),i=n(2263);const a={mixins:[r.A],name:"ara-paywall-regiwall",extends:i.A,components:{araButtonNew:o.A},created:function(){this.isFolded=this.folded},mounted:function(){this.addBodyClass(),this.$track({category:"paywall",action:"message",label:"regiwall"})},computed:{community:function(){return!!window.nxCommunity}}},s=(0,n(67658).A)(a,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"paywall paywall-regiwall"},[n("div",{staticClass:"paywall-wall"}),e._v(" "),n("div",{staticClass:"paywall-wrapper",class:{"running-in-app":e.runningInApp,margin:e.hasBottomMargin,community:e.community,"paywall-wrapper--without-header-img":!0}},[n("div",{staticClass:"paywall-info"},[e.community||e.$attrs.image?n("div",{staticClass:"paywall-header"},[e.community?n("div",{staticClass:"paywall-header--community"}):n("div",{staticClass:"paywall-header--image"},[n("img",{attrs:{src:e.$attrs.image.url}}
2)])]):e._e(),e._v(" "),n("div",{staticClass:"paywall-content"},[n("div",{staticClass:"paywall-content--left"},[n("div",{staticClass:"paywall-title",domProps:{textContent:e._s(e.$attrs.title)}}),e._v(" "),n("div",{staticClass:"paywall-subtitle",domProps:{textContent:e._s(e.$attrs.subtitle)}})]),e._v(" "),n("div",{staticClass:"paywall-content--right"},[n("div",{staticClass:"paywall-tag-price"},[e.$attrs.promoTag?n("div",{staticClass:"paywall-tag"},[n("span",{staticClass:"paywall-tag--item",domProps:{textContent:e._s(e.$attrs.promoTag)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-price"},[n("span",{staticClass:"paywall-price--crossed",domProps:{textContent:e._s(e.$attrs.priceCrossed)}}),e._v(" "),n("span",{staticClass:"paywall-price--offer",domProps:{textContent:e._s(e.$attrs.price)}})])]),e._v(" "),n("div",{staticClass:"paywall-advantage",domProps:{textContent:e._s(e.$attrs.textAdvantage)}}),e._v(" "),n("div",{staticClass:"paywall-button"},[n("ara-button-new",{attrs:{"full-width":""},on:{click:e.goToBackUrlMain}},[n("span",{domProps:{textContent:e._s(e.$attrs.ctaText)}}
2)])],1),e._v(" "),e.$attrs.paymentText?n("div",{staticClass:"paywall-payment",domProps:{textContent:e._s(e.$attrs.paymentText)}}):e._e(),e._v(" "),e.$attrs.cardsImages?n("div",{staticClass:"paywall-cards"},[n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.visa)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.mastercard)}}),e._v(" "),n("span",{staticClass:"paywall-cards--image",domProps:{innerHTML:e._s(e.bank)}})]):e._e(),e._v(" "),n("div",{staticClass:"paywall-link"},[n("a",{attrs:{href:e.urlLinkRates},domProps:{textContent:e._s(e.$attrs.textLinkRates)},on:{click:function(t){return t.preventDefault(),e.goToRatesUrlMain(t)}}})])])])])])])},[],!1,null,null,null).exports},21129(e,t,n){n.r(t),n.d(t,{default:()=>b}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(12493),n(85351),n(28589),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(63343),n(14439),n(17046);var r=n(36925),o=n(12829),i=n(50968),a=n(40350),s=n(98374),l=n(83266);function c(e){return c="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},c(e)}function u(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return p(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(p(t={},r,function(){return this}),t),f=c.prototype=s.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,p(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,p(f,"constructor",c),p(c,"constructor",l),l.displayName="GeneratorFunction",p(c,o,"GeneratorFunction"),p(f),p(f,o,"Generator"),p(f,r,function(){return this}),p(f,"toString",function(){return"[object Generator]"}),(u=function(){return{w:i,m}})()}function p(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}p=function(e,t,n,r){function i(t,n){p(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},p(e,t,n,r)}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)})}}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return(t=function(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const v={name:"ara-user-follow-button",components:{araModalWindow:s.A,araButtonNew:l.A},props:{itemId:{type:Number,required:!0},author:{type:String},column:{type:String},topic:{type:String},user:{type:String},text:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},new:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!0},useMixedInFollowing:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1}}
2,mixins:[i.A],data:function(){return{loading:!1,showSubscriptionModal:!1,showNotificationConfirmationModal:!1,showNotificationsActivatedModal:!1}},computed:h(h(h(h({},(0,o.L8)("user",["currentUser"])),(0,o.L8)("user/interests",["authorIsFollowed","topicIsFollowed","columnIsFollowed","userIsFollowed"])),(0,o.L8)(["runningInApp"])),{},{textString:function(){return this.isFollowed?r.A.t("elements.following"):this.topic?this.new?r.A.t("elements.follow-topic-new"):r.A.t("elements.follow-topic"):this.author?r.A.t("elements.follow-me"):this.column?r.A.t("elements.follow-column"):r.A.t("elements.follow")},isFollowed:function(){return this.author?this.authorIsFollowed(this.itemId):this.column?this.columnIsFollowed(this.itemId):this.topic?this.topicIsFollowed(this.itemId):!!this.user&&this.userIsFollowed(this.itemId)},isMixed:function(){return!!this.isFollowed&&this.useMixedInFollowing},type:function(){return this.author?"authors":this.column?"columns":this.topic?"topics":this.user?"users":""},userHasNotificationsDisabled:function(){return!(this.currentUser.notifications&&(this.author?this.currentUser.notifications.authors:this.column?this.currentUser.notifications.columns:this.topic&&this.currentUser.notifications.topics))}}),methods:h(h(h({},(0,o.i0)("user",["setCurrentUser"])),(0,o.i0)("user/interests",["toggleFollowAuthor","toggleFollowColumn","toggleFollowTopic","toggleFollowingUser"])),{},{isFirstTimeFollowing:function(){return null===localStorage.getItem("nx-confirmed-notifications-".concat(this.type,"-").concat(this.currentUser.id))},toggleFollow:function(){var e=this;return f(u().m(function t(){return u().w(function(t){for(;;)switch(t.n){case 0:if(e.currentUser){t.n=1;break}return e.toggleSubscriptionModal(),t.a(2);case 1:if(e.user||e.isFollowed||!e.isFirstTimeFollowing()||e.toggleNotificationConfirmation(),e.loading=!0,!e.author){t.n=3;break}return t.n=2,e.toggleAuthor();case 2:t.n=8;break;case 3:if(!e.column){t.n=5;break}return t.n=4,e.toggleColumn();case 4:t.n=8;break;case 5:if(!e.topic){t.n=7;break}return t.n=6,e.toggleTopic();case 6:t.n=8;break;case 7:if(!e.user){t.n=8;break}return t.n=8,e.toggleUser();case 8:e.loading=!1;case 9:return t.a(2)}},t)}))()},toggleTopic:function(){var e=this;return f(u().m(function t(){return u().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.toggleFollowTopic({topicId:e.itemId,follow:!e.isFollowed}).then(function(){e.runningInApp&&e.channelAction("requestToken")});case 1:e.$track({category:"content",action:"".concat(e.isFollowed?"":"un","follow-topic"),label:e.topic});case 2:return t.a(2)}},t)}))()},toggleAuthor:function(){var e=this;return f(u().m(function t(){return u().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.toggleFollowAuthor({authorId:e.itemId,follow:!e.isFollowed}).then(function(){e.runningInApp&&e.channelAction("requestToken")});case 1:e.$track({category:"content",action:"".concat(e.isFollowed?"":"un","follow-author"),label:e.author});case 2:return t.a(2)}},t)}))()},toggleUser:function(){var e=this;return f(u().m(function t(){return u().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.toggleFollowingUser({userId:e.itemId,follow:!e.isFollowed}).then(function(){e.runningInApp&&e.channelAction("requestToken")});case 1:e.$track({category:"content",action:"".concat(e.isFollowed?"":"un","follow-user"),label:e.user});case 2:return t.a(2)}},t)}))()},toggleColumn:function(){var e=this;return f(u().m(function t(){return u().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e.toggleFollowColumn({columnId:e.itemId,follow:!e.isFollowed}).then(function(){e.runningInApp&&e.channelAction("requestToken")});case 1:e.$track({category:"content",action:"".concat(e.isFollowed?"":"un","follow-column"),label:e.column});case 2:return t.a(2)}},t)}))()},toggleSubscriptionModal:function(){this.showSubscriptionModal=!this.showSubscriptionModal},toggleNotificationConfirmation:function(){this.showNotificationConfirmationModal=!this.showNotificationConfirmationModal},toggleNotificationsActivatedModal:function(){this.showNotificationsActivatedModal=!this.showNotificationsActivatedModal},confirmNotificationsActivated:function(){this.toggleNotificationsActivatedModal()},confirmNotifications:function(e){var t=this;return f(u().m(function n(){var r,o;return u().w(function(n){for(;;)switch(n.n){case 0:if(localStorage.setItem("nx-confirmed-notifications-".concat(t.type,"-").concat(t.currentUser.id),1),t.toggleNotificationConfirmation(),!e){n.n=2;break}return t.toggleNotificationsActivatedModal(),r={notifications:g({},t.type,!0)},n.n=1,a.A.patchUserProfile(r);case 1:o=n.v,t.setCurrentUser(o.data.response.user);case 2:return n.a(2)}},n)}))()},goToLogin:function(){this.toggleSubscriptionModal(),this.channelAction("showLogin",{},function(){window.location.href="/usuari/login?backUrl=".concat(window.location.href)})}})},b=(0,n(67658).A)(v,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-user-follow-button"},[n("ara-button-new",{attrs:{rounded:"",secondary:"",outlined:!e.isFollowed,mixed:e.isMixed,"icon-position":"prepend","icon-type":e.isFollowed?"ok-circle":"plus-circle","with-text":!e.iconOnly,disabled:e.loading,title:e.iconOnly?e.textString:null},on:{click:e.toggleFollow}},[e.iconOnly?e._e():[e._v(e._s(e.textString))]],2),e._v(" "),n("ara-modal-window",{attrs:{value:e.showSubscriptionModal,persistent:""},on:{input:e.toggleSubscriptionModal},scopedSlots:e._u([{key:"title",fn:function(){return[e._v(e._s(e.$t("userFollowButton.login-modal.title")))]},proxy:!0},{key:"text",fn:function(){return[e._v(e._s(e.$t("userFollowButton.login-modal.text")))]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button-new",{attrs:{secondary:"",outlined:"","full-width":""},on:{click:function(t){return t.stopPropagation(),e.goToLogin(t)}}},[e._v(e._s(e.$t("userFollowButton.login-modal.button")))])]},proxy:!0}])}),e._v(" "),n("ara-modal-window",{attrs:{value:e.showNotificationConfirmationModal,persistent:""},on:{input:e.toggleNotificationConfirmation},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("Â ")]},proxy:!0},{key:"text",fn:function(){return[e._v("\n "+e._s(e.$t("userFollowButton.notifications.text"))+"\n "),n("p",[n("b",[e._v(e._s(e.$t("userFollowButton.notifications.ask-confirmation")))])])]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button-new",{attrs:{"full-width":""},on:{click:function(t){return t.stopPropagation(),e.confirmNotifications(!0)}}},[e._v(e._s(e.$t("userFollowButton.notifications.activate")))]),e._v(" "),n("ara-button-new",{attrs:{secondary:"",outlined:"","full-width":""},on:{click:function(t){return t.stopPropagation(),e.confirmNotifications(!1)}}},[e._v(e._s(e.$t("userFollowButton.notifications.later")))])]},proxy:!0}])}),e._v(" "),n("ara-modal-window",{attrs:{value:e.showNotificationsActivatedModal,persistent:""},on:{input:e.toggleNotificationsActivatedModal},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("\n "+e._s(e.$t("userFollowButton.notifications.activated"))+"\n ")]},proxy:!0},{key:"buttons",fn:function(){return[n("ara-button-new",{attrs:{"full-width":""},on:{click:function(t){return t.stopPropagation(),e.confirmNotificationsActivated(t)}}},[e._v(e._s(e.$t("userFollowButton.notifications.confirm")))])]},proxy:!0}])})],1)},[],!1,null,null,null).exports},56635(e,t,n){n.r(t),n.d(t,{default:()=>U}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(12493),n(85351),n(63145),n(28589),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(91736),n(3188),n(63343),n(30973),n(14439),n(17046),n(36169);var r=n(65345),o=n(12829),i=n(22787),a=n(22361),s=n(19632),l=n(23055),c=n(62139),u=n(62479),p=n(36675),d=n(79362),f=n(72594),m=n(17940),h=(n(50653),n(76685),n(59494)),g=n(83266);function v(e){return v="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},v(e)}function b(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return y(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(y(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,y(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,y(p,"constructor",c),y(c,"constructor",l),l.displayName="GeneratorFunction",y(c,o,"GeneratorFunction"),y(p),y(p,o,"Generator"),y(p,r,function(){return this}),y(p,"toString",function(){return"[object Generator]"}),(b=function(){return{w:i,m:d}})()}function y(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}y=function(e,t,n,r){function i(t,n){y(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},y(e,t,n,r)}function w(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S(e,t,n){return(t=function(e){var t=function(e){if("object"!=v(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k={name:"ara-user-active-session",components:{araButtonNew:g.A},props:{user:{type:Object,default:null},backUrl:{type:String,default:"/"}},data:function(){return{araLogo:i.A,iconInfoCirle:h.A,loading:!1}},computed:{initialNick:function(){return this.user.nick.slice(0,1).toUpperCase()},userName:function(){return"".concat(this.user.name||""," ").concat(this.user.surname||"").trim()}},methods:_(_({},(0,o.i0)("user",["logout"])),{},{switchAccount:function(){var e,t=this;return(e=b().m(function e(){return b().w(function(e){for(;;)switch(e.n){case 0:return t.loading=!0,e.n=1,t.logout().catch(function(){});case 1:window.location.reload();case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){w(i,r,o,a,s,"next",e)}function s(e){w(i,r,o,a,s,"throw",e)}a(void 0)})})()}})},A=k;var P=n(67658);const x=(0,P.A)(A,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-account-content"},[n("div",{staticClass:"back back--login"},[n("h1",{staticClass:"ara-logo"},[n("a",{attrs:{title:"Ara.cat"},domProps:{innerHTML:e._s(e.araLogo)}})])]),e._v(" "),n("div",{staticClass:"user-account-wrapper active-session"},[n("span",{staticClass:"title"},[e._v(e._s(e.$t("login.active-session.title")))]),e._v(" "),n("p",{staticClass:"subtitle"},[e._v(e._s(e.$t("login.active-session.description")))]),e._v(" "),n("div",{staticClass:"active-session__card"},[n("div",{staticClass:"active-session__card__top"},[n("div",{staticClass:"active-session__card__avatar",class:{"active-session__card__avatar--with-initial":!e.user.avatarUrl}},[e.user.avatarUrl?n("img",{staticClass:"active-session__card__avatar__image",attrs:{src:e.user.avatarUrl,alt:e.user.nick}}):n("span",[e._v(e._s(e.initialNick))])]),e._v(" "),n("div",{staticClass:"active-session__card__info"},[e.user.name||e.user.surname?n("span",{staticClass:"active-session__card__info__name"}
2,[e._v(e._s(e.userName))]):e._e(),e._v(" "),e.user.email?n("span",{staticClass:"active-session__card__info__email",domProps:{textContent:e._s(e.user.email)}},[e._v(e._s(e.user.email))]):e._e()])]),e._v(" "),n("div",{staticClass:"active-session__card__hint"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconInfoCirle)}}),e._v(" "),e.user.subscriber?n("span",[e._v(e._s(e.$t("login.active-session.hint-with-subscription")))]):n("span",[e._v(e._s(e.$t("login.active-session.hint-no-subscription")))])])]),e._v(" "),n("div",{staticClass:"user-account-form"},[n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:e.switchAccount}},[e._v(e._s(e.$t("login.active-session.btn")))])],1),e._v(" "),n("div",{staticClass:"user-account-wrapper__need-help"},[n("a",{attrs:{href:e.backUrl}},[e._v("\n "+e._s(e.$t("login.active-session.cancel"))+"\n ")])])])])},[],!1,null,null,null).exports;var O=n(13945),I=n(40350);function L(e){return L="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(e)}function E(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return j(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(j(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,j(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,j(p,"constructor",c),j(c,"constructor",l),l.displayName="GeneratorFunction",j(c,o,"GeneratorFunction"),j(p),j(p,o,"Generator"),j(p,r,function(){return this}),j(p,"toString",function(){return"[object Generator]"}),(E=function(){return{w:i,m:d}})()}function j(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}j=function(e,t,n,r){function i(t,n){j(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},j(e,t,n,r)}function T(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function D(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){T(i,r,o,a,s,"next",e)}function s(e){T(i,r,o,a,s,"throw",e)}a(void 0)})}}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return(t=function(e){var t=function(e){if("object"!=L(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=L(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==L(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const B={name:"ara-user-login",components:{AraButtonRound:O.A,ValidationObserver:r.Ce,araTextInputWithValidation:d.A,araUserValidateEmail:f.default,araUserRegister:m.default,araUserActiveSession:x,araButtonNew:g.A},props:{recoverPassword:{type:Boolean,default:!1},backUrl:{type:String,default:"/"},siteUrl:{type:String},email:{type:String,default:""}},data:function(){return{araLogo:i.A,iconFacebook:a.A,iconGoogle:s.A,iconApple:l.A,iconOk:c.A,iconOpenIn:u.A,iconMailSent:p.A,mail:null,password:null,userName:null,showError:!1,loading:!1,currentStep:1,blocked:{userId:null,name:null,mailSent:!1,maxAttemptsReached:!1},urlSearchParams:new URLSearchParams(window.location.search)}},computed:F(F(F({},(0,o.L8)(["darkMode","channel","runningInApp","runningInShowroom"])),(0,o.L8)("user",["currentUser"])),{},{backUrlUrlParam:function(){return this.urlSearchParams.has("backUrl")?this.urlSearchParams.get("backUrl"):null},registerUrl:function(){var e="/usuari/register".concat(this.backUrlUrlParam?"?backUrl=".concat(this.backUrlUrlParam):"");return this.siteUrl?this.siteUrl+e:e},steps:function(){return{STEP_ACTIVE_SESSION:-1===this.currentStep,STEP_INITIALIZING:0===this.currentStep,STEP_INSERT_EMAIL:1===this.currentStep,STEP_INSERT_PASSWORD:2===this.currentStep,STEP_RECOVER_PASSWORD:3===this.currentStep,STEP_RECOVERY_PASSWORD_EMAIL_SENT:4===this.currentStep,STEP_BLOCKED_ACCOUNT:5===this.currentStep,STEP_REGISTER_PASSWORD:20===this.currentStep,STEP_REGISTER_NAME:21===this.currentStep,STEP_REGISTER_COMPLETE:22===this.currentStep,STEP_REGISTER_COMPLETE_STOP_EMAILS:23===this.currentStep}},title:function(){return 2===this.currentStep?this.$t("login.access.title",{userName:this.userName}):3===this.currentStep?this.$t("login.recover-password"):this.$t("login.access-1")},subtitle:function(){return 2===this.currentStep?this.$t("login.subtitle"):3===this.currentStep?this.$t("login.recover-password-text"):null},emailIsDisabled:function(){return this.loading||this.steps.STEP_RECOVERY_PASSWORD_EMAIL_SENT||this.steps.STEP_INSERT_PASSWORD},showActionButton:function(){return this.steps.STEP_INSERT_PASSWORD},actionTextButton:function(){return this.$t("login.email.action")},isRegisterStep:function(){return this.steps.STEP_REGISTER_PASSWORD||this.steps.STEP_REGISTER_NAME||this.steps.STEP_REGISTER_COMPLETE||this.steps.STEP_REGISTER_COMPLETE_STOP_EMAILS},fakeUser:function(){var e=Math.round(Math.random());return{email:"[email protected]",nick:"MyNick9876",name:"Faemino",surname:"y Cansado",avatarUrl:e?"https://i.pravatar.cc/300":null,subscriber:e}},getUser:function(){return this.runningInShowroom&&this.urlSearchParams.has("step")&&"active-session"===this.urlSearchParams.get("step")?this.fakeUser:this.currentUser}}),methods:F(F({}
2,(0,o.i0)("user",["loginWithCredentials","checkEmailWithUsername"])),{},{goBack:function(){(this.recoverPassword||1===this.currentStep||0===this.currentStep)&&(this.backUrl?window.location.href=this.backUrl:history.back()),this.currentStep>1&&(this.currentStep-=1)},focusPasswordInput:function(){var e=this;this.$nextTick(function(){e.$refs.passwordField.$el.querySelector("input").focus()})},goNext:function(){var e=this;if(1===this.currentStep)return this.loading=!0,void this.checkEmailWithUsername({email:this.mail}).then(function(t){t.response.emailCheck?(e.userName=t.response.name,e.currentStep=2,e.focusPasswordInput()):e.currentStep=20}).catch(function(e){console.error(e.response.status)}).finally(function(){e.loading=!1});this.currentStep<=4&&(this.currentStep+=1)},goToInsertMail:function(){this.showError=!1,this.currentStep=1},goToRecoverPassword:function(){this.showError=!1,this.currentStep=3},setBlockedAccount:function(e){var t=e.userId,n=e.name;console.log({userId:t,name:n}),this.blocked.name=n,this.blocked.userId=t,this.currentStep=5},initStepsWhithEmail:function(){var e=this;this.currentStep=0,this.loading=!0,this.checkEmailWithUsername({email:this.email}).then(function(t){t.response.emailCheck?(e.userName=t.response.name,e.currentStep=2):e.currentStep=20,e.mail=e.email,e.loading=!1,e.focusPasswordInput()}).catch(function(e){console.error(e.response.status)})},login:function(){var e=this;return D(E().m(function t(){var n,r;return E().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,e.loading=!0,t.n=1,e.loginWithCredentials({email:e.mail,password:e.password});case 1:e.$track({category:"account",action:"login",label:"normal"}),window.location.href=e.backUrl,t.n=6;break;case 2:t.p=2,n=t.v,e.loading=!1,r=n.response.status,t.n=401===r?3:403===r?4:5;break;case 3:return console.error("user not found"),e.showError=!0,e.$refs.observer.setErrors({password:e.$t("login.error-title")}),t.a(3,6);case 4:return console.error("user is blocked"),e.setBlockedAccount(n.response.data.response||{}),e.$track({category:"account",action:"locked",label:"normal"}),t.a(3,6);case 5:return console.error(n.response.status),t.a(3,6);case 6:return t.a(2)}},t,null,[[0,2]])}))()},loginApple:function(){var e=this;return D(E().m(function t(){var n,r;return E().w(function(t){for(;;)switch(t.n){case 0:try{e.loading=!0,e.$track({category:"account",action:"login",label:"apple"}),n="/api/front/user/login/apple",(r=e.urlSearchParams.get("backUrl"))&&(n="".concat(n,"?backUrl=").concat(r)),window.location.href=n}catch(e){console.log(e)}case 1:return t.a(2)}},t)}))()},loginFacebook:function(){var e=this;return D(E().m(function t(){var n,r;return E().w(function(t){for(;;)switch(t.n){case 0:try{e.loading=!0,e.$track({category:"account",action:"login",label:"facebook"}),n="/api/front/user/login/facebook",(r=e.urlSearchParams.get("backUrl"))&&(n="".concat(n,"?backUrl=").concat(r)),window.location.href=n}catch(e){console.log(e)}case 1:return t.a(2)}},t)}))()},loginGoogle:function(){var e=this;return D(E().m(function t(){var n,r;return E().w(function(t){for(;;)switch(t.n){case 0:try{e.loading=!0,e.$track({category:"account",action:"login",label:"google"}),n="/api/front/user/login/google",(r=e.urlSearchParams.get("backUrl"))&&(n="".concat(n,"?backUrl=").concat(r)),window.location.href=n}catch(e){console.log(e)}case 1:return t.a(2)}},t)}))()},forgotPassword:function(){var e=this;return D(E().m(function t(){var n;return E().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,e.loading=!0,t.n=1,I.A.sendRecoverPassword(e.mail);case 1:t.n=3;break;case 2:t.p=2,n=t.v,console.log(n);case 3:return t.p=3,e.loading=!1,console.log("Password Send"),e.currentStep=4,t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}))()},actionClickHandler:function(){this.currentStep=1},goToLoginHandler:function(){this.currentStep=1},goToRegisterHandler:function(){this.currentStep=20}}),mounted:function(){if(this.currentUser)this.currentStep=-1;else{if(this.runningInShowroom&&this.urlSearchParams.has("step"))switch(this.urlSearchParams.get("step")){case"active-session":this.currentStep=-1;break;case"login-password":this.currentStep=2,this.mail="[email protected]",this.focusPasswordInput();break;
2case"recover-password":this.currentStep=3;break;case"recover-password-email-sent":this.currentStep=4;break;case"register-password":this.currentStep=20,this.mail="[email protected]";break;case"register-name":this.currentStep=21;break;case"register-complete":this.currentStep=22;break;case"register-complete-stop-emails":this.currentStep=23;break;case"blocked-account":this.setBlockedAccount({userId:0,name:this.fakeUser.name}),this.mail=this.fakeUser.email;break;case"blocked-account-mail-sent":this.setBlockedAccount({userId:0,name:this.fakeUser.name}),this.mail=this.fakeUser.email,this.blocked.mailSent=!0;break;case"blocked-account-max-attempts":this.setBlockedAccount({userId:0,name:this.fakeUser.name}),this.mail=this.fakeUser.email,this.blocked.mailSent=!0,this.blocked.maxAttemptsReached=!0;break;default:console.error("Parámetro incorrecto para step")}this.urlSearchParams.has("backUrl")?this.urlSearchParams.set("backUrl",this.backUrlUrlParam):this.urlSearchParams.append("backUrl",this.backUrlUrlParam),this.recoverPassword&&this.goToRecoverPassword(),console.debug("Login email",this.email),this.email&&this.initStepsWhithEmail()}}},U=(0,P.A)(B,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.steps.STEP_BLOCKED_ACCOUNT?n("ara-user-validate-email",{attrs:{name:e.blocked.name,"user-id":e.blocked.userId,email:e.mail,"mail-sent":e.blocked.mailSent,"max-attempts-reached":e.blocked.maxAttemptsReached}}):e.steps.STEP_ACTIVE_SESSION?n("ara-user-active-session",{attrs:{user:e.getUser,"back-url":e.backUrl}}):e.isRegisterStep?n("ara-user-register",{attrs:{"back-url":e.backUrl,mail:this.mail,"site-url":e.siteUrl,step:e.currentStep},on:{close:e.goToInsertMail,actionClick:e.actionClickHandler,goToLogin:e.goToLoginHandler,goToRegister:e.goToRegisterHandler}}):n("div",{staticClass:"user-account-content"},[n("div",{staticClass:"back back--login"},[n("h1",{staticClass:"ara-logo"},[n("a",{attrs:{title:"Ara.cat"},domProps:{innerHTML:e._s(e.araLogo)},on:{click:e.goBack}})])]),e._v(" "),n("div",{staticClass:"user-account-wrapper",class:{"user-account-wrapper--password-email-sent":e.steps.STEP_RECOVERY_PASSWORD_EMAIL_SENT}},[e.steps.STEP_RECOVERY_PASSWORD_EMAIL_SENT?[n("span",{staticClass:"ara-icon mail-sent",domProps:{innerHTML:e._s(e.iconMailSent)}}),e._v(" "),n("p",{staticClass:"title",domProps:{textContent:e._s(e.$t("login.recovery-password-sent.title"))}}),e._v(" "),n("p",{staticClass:"subtitle",domProps:{innerHTML:e._s(e.$t("login.recovery-password-sent.body"))}}),e._v(" "),n("p",{staticClass:"user-account-wrapper__need-help"},[n("a",{attrs:{href:"https://ajuda.ara.cat/gestio-compte/contrasenya",target:"_blank"}},[n("span",{staticClass:"text",domProps:{innerHTML:e._s(e.$t("login.recovery-password-sent.footer"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconOpenIn)}})])]),e._v(" "),e.steps.STEP_INSERT_PASSWORD?n("div",{staticClass:"user-account-wrapper__need-help"},[n("a",{attrs:{href:"#"},on:{click:e.goToRecoverPassword}},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.forgot-password"))}})])]):e._e()]:e.steps.STEP_INITIALIZING?e._e():n("span",{staticClass:"title",domProps:{textContent:e._s(e.title)}}),e._v(" "),e.steps.STEP_INSERT_EMAIL?[n("div",{staticClass:"user-account-wrapper__login-btns"},[n("ara-button-round",{staticClass:"social google",attrs:{icon:e.iconGoogle},on:{click:e.loginGoogle}},[n("span",{domProps:{textContent:e._s(e.$t("login.google"))}})]),e._v(" "),n("ara-button-round",{staticClass:"social facebook",attrs:{icon:e.iconFacebook},on:{click:e.loginFacebook}},[n("span",{domProps:{textContent:e._s(e.$t("login.facebook"))}})]),e._v(" "),n("ara-button-round",{staticClass:"social apple",attrs:{icon:e.iconApple},on:{click:e.loginApple}},[n("span",{domProps:{textContent:e._s(e.$t("login.apple"))}})])],1),e._v(" "),n("div",{staticClass:"separator"},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.or"))}})])]:e.subtitle?n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.subtitle)}}):e._e(),e._v(" "),n("validation-observer",{ref:"observer",staticClass:"user-account-form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit,o=t.invali
2d,i=t.validated;return[n("form",{on:{submit:function(e){e.preventDefault(),e.stopPropagation()}}},[e.steps.STEP_RECOVERY_PASSWORD_EMAIL_SENT||e.steps.STEP_INITIALIZING?e._e():n("ara-text-input-with-validation",{attrs:{type:"email",name:"email",rules:"required|email",label:e.$t("register.email"),disabled:e.emailIsDisabled,"custom-messages":{required:e.$t("customValidation.email.required"),email:e.$t("customValidation.email.invalid")},showAction:e.showActionButton,actionTextButton:e.actionTextButton},on:{actionClick:e.actionClickHandler},model:{value:e.mail,callback:function(t){e.mail=t},expression:"mail"}}),e._v(" "),e.steps.STEP_INSERT_PASSWORD?n("ara-text-input-with-validation",{ref:"passwordField",attrs:{type:"password","password-mode":"text",name:"password",rules:"required|min:1",label:e.$t("login.password"),disabled:e.steps.STEP_RECOVERY_PASSWORD_EMAIL_SENT},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}):e._e(),e._v(" "),e.steps.STEP_INSERT_EMAIL?n("ara-button-new",{attrs:{"full-width":"",disabled:e.loading||i&&o},on:{click:function(t){return r(e.goNext)}}},[e._v(e._s(e.$t("login.continue")))]):e._e(),e._v(" "),e.steps.STEP_INSERT_PASSWORD?n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:function(t){return r(e.login)}}},[e._v(e._s(e.$t("login.access.btn")))]):e._e(),e._v(" "),e.steps.STEP_RECOVER_PASSWORD?n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:function(t){return r(e.forgotPassword)}}},[e._v(e._s(e.$t("login.send")))]):e._e()],1)]}}])}),e._v(" "),e.steps.STEP_INSERT_EMAIL?n("div",{staticClass:"user-account-wrapper__need-help"},[n("a",{attrs:{href:"https://ajuda.ara.cat/gestio-compte/sessio",target:"_blank"}},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.help-for-login"))}}),e._v(" "),n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconOpenIn)}})])]):e._e(),e._v(" "),e.steps.STEP_INSERT_PASSWORD?n("div",{staticClass:"user-account-wrapper__need-help"},[n("a",{attrs:{href:"#"},on:{click:e.goToRecoverPassword}},[n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.forgot-password"))}})])]):e._e()],2)])},[],!1,null,null,null).exports},17940(e,t,n){n.r(t),n.d(t,{default:()=>P}),n(54162),n(4290),n(29068),n(82111),n(78837),n(12493),n(85351),n(63145),n(28589),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(3188),n(63343),n(30973),n(14439),n(17046),n(36169);var r=n(65345),o=n(12829),i=n(22787),a=n(64172),s=n(22361),l=n(19632),c=n(23055),u=n(95671),p=n(59494),d=n(62638),f=n(40350),m=n(79362),h=n(8813),g=n(83266);function v(e){return v="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},v(e)}function b(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return y(c,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(y(t={},r,function(){return this}),t),p=c.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,y(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=c,y(p,"constructor",c),y(c,"constructor",l),l.displayName="GeneratorFunction",y(c,o,"GeneratorFunction"),y(p),y(p,o,"Generator"),y(p,r,function(){return this}),y(p,"toString",function(){return"[object Generator]"}),(b=function(){return{w:i,m:d}})()}function y(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}y=function(e,t,n,r){function i(t,n){y(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},y(e,t,n,r)}function w(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function C(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){w(i,r,o,a,s,"next",e)}function s(e){w(i,r,o,a,s,"throw",e)}a(void 0)})}}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_(Object(n),!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t,n){return(t=function(e){var t=function(e){if("object"!=v(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const A={name:"ara-user-register",components:{ValidationProvider:r.LW,ValidationObserver:r.Ce,araTextInputWithValidation:m.A,araDateInput:h.A,araButtonNew:g.A},props:{backUrl:{type:String,default:"/"},siteUrl:{type:String},mail:{type:String},step:{type:Number,default:20}},data:function(){return{araLogo:i.A,iconArrow:a.A,iconFacebook:s.A,iconGoogle:l.A,iconApple:c.A,iconCheck:u.A,iconInfoCirle:p.A,name:null,date:null,surname:null,birthDate:null,password:null,loading:!1,resendLoading:!1,resendAttempts:0,currentStep:20,urlSearchParams:new URLSearchParams(window.location.search)}},computed:S(S(S({},(0,o.L8)(["runningInShowroom"])),(0,o.L8)("user",["currentUser"])),{},{backUrlUrlParam:function(){return this.urlSearchParams.has("backUrl")?this.urlSearchParams.get("backUrl"):null},steps:function(){return{STEP_REGISTER_PASSWORD:20===this.currentStep,STEP_REGISTER_NAME:21===this.currentStep,STEP_REGISTER_COMPLETE:22===this.currentStep,STEP_REGISTER_COMPLETE_STOP_EMAILS:23===this.currentStep}},loginUrl:function(){var e="/usuari/login".concat(this.backUrlUrlParam?"?backUrl=".concat(this.backUrlUrlParam):"");return this.siteUrl?this.siteUrl+e:e},showActionButton:function(){return this.steps.STEP_REGISTER_PASSWORD},actionTextButton:function(){return this.$t("login.email.action")},allowMoreResendAttempts:function(){return this.resendAttempts<3},isRegisterComplete:function(){return 22===this.currentStep||23===this.currentStep}}),methods:S(S({},(0,o.i0)("user",["register"])),{},{goBack:function(){this.currentStep>20&&(this.currentStep-=1),this.$emit("close")},focusPasswordInput:function(){var e=this;this.$nextTick(function(){e.$refs.passwordField.$el.querySelector("input").focus()})},goNext:function(){23!==this.currentStep&&this.currentStep<22&&(this.currentStep+=1)},handleRegister:function(){var e=this;return C(b().m(function t(){var n,r,o;return b().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,e.loading=!0,t.n=1,e.register({name:e.name,surname:e.surname,email:e.mail,birthdate:(0,d.A)(e.birthDate).format("YYYY-MM-DD"),password:e.password,origin:"web"});case 1:e.currentStep=22,e.$track({category:"account",action:"register",label:"normal"}),t.n=3;break;case 2:t.p=2,o=t.v,n=o.response.data.errors,r={},n.forEach(function(t){"EMAIL_ALREADY_IN_USE"===t.errorCode&&(r.email=[e.$t("customValidation.email.".concat(t.errorCode))]),"INVALID_FIELD"===t.errorCode&&(r[t.errorMessage]=[e.$t("customValidation.".concat(t.errorMessage,".regex"))])}),e.$refs.validationServer.setErrors(r),console.log(o);case 3:return t.p=3,e.loading=!1,t.f(3);case 4:return t.a(2)}},t,null,[[0,2,3,4]])}))()},handleResendValidationEmail:function(){var e=this;return C(b().m(function t(){var n;return b().w(function(t){for(;;)switch(t.p=t.n){case 0:if(!e.resendLoading&&e.allowMoreResendAttempts){t.n=1;break}return t.a(2);case 1:return t.p=1,e.resendLoading=!0,t.n=2,f.A.sendValidationEmail(e.currentUser.id);case 2:e.resendAttempts+=1,t.n=4;break;case 3:t.p=3,n=t.v,console.error(n);case 4:return t.p=4,e.resendLoading=!1,t.f(4);case 5:return t.a(2)}},t,null,[[1,3,4,5]])}))()}}),mounted:function(){this.currentStep=this.step,20===this.currentStep&&this.focusPasswordInput(),this.runningInShowroom&&23===this.currentStep&&(this.resendAttempts=3),this.urlSearchParams.has("backUrl")?this.urlSearchParams.set("backUrl",this.backUrlUrlParam):this.urlSearchParams.append("backUrl",this.backUrlUrlParam)}},P=(0,n(67658).A)(A,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-account-content"},[n("div",{staticClass:"back back--login"},[n("h1",{staticClass:"ara-logo"},[n("a",{attrs:{title:"Ara.cat"},domProps:{innerHTML:e._s(e.araLogo)},on:{click:e.goBack}})])]),e._v(" "),n("div",{staticClass:"user-account-wrapper user-account-wrapper--register"},[e.isRegisterComplete?[n("span",{staticClass:"ara-icon ok",domProps:{innerHTML:e._s(e.iconCheck)}}),e._v(" "),n("p",{staticClass:"title",domProps:{textContent:e._s(e.$t("register.step-3.title"))}}),e._v(" "),n("p",{staticClass:"subtitle",domProps:{innerHTML:e._s(e.$t("register.step-3.subtitle"))}})]:[n("p",{staticClass:"title",domProps:{textContent:e._s(e.$t("register.step-1.title"))}}),e._v(" "),n("p",{staticClass:"subtitle"},[e.steps.STEP_REGISTER_PASSWORD?[n("span",{staticClass:"subtitle-steps"},[e._v("1 "+e._s(e.$t("login.and"))+" 2 | ")]),e._v(e._s(e.$t("register.step-1.subtitle"))+"\n ")]:e._e(
2),e._v(" "),e.steps.STEP_REGISTER_NAME?[n("span",{staticClass:"subtitle-steps"},[e._v("2 "+e._s(e.$t("login.and"))+" 2 | ")]),e._v(e._s(e.$t("register.step-2.subtitle"))+"\n ")]:e._e()],2)],e._v(" "),n("validation-observer",{ref:"validationServer",staticClass:"user-account-form",scopedSlots:e._u([{key:"default",fn:function(t){var r=t.handleSubmit;return[n("form",{on:{submit:function(e){e.preventDefault(),e.stopPropagation()}}},[e.steps.STEP_REGISTER_PASSWORD?[n("ara-text-input-with-validation",{key:"email",attrs:{type:"email",name:"email",rules:"required|email",disabled:"",label:e.$t("register.email"),"helper-text":e.steps.STEP_REGISTER_NAME?e.$t("register.email-text"):"","custom-messages":{required:e.$t("customValidation.email.required"),email:e.$t("customValidation.email.invalid")},"show-action":e.showActionButton,actionTextButton:e.actionTextButton},on:{actionClick:function(t){return e.$emit("actionClick")}},model:{value:e.mail,callback:function(t){e.mail=t},expression:"mail"}}),e._v(" "),n("div",{staticClass:"email-hint-custom"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconInfoCirle)}}),e._v(" "),n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("register.step-1.email.hint"))}})]),e._v(" "),n("ara-text-input-with-validation",{key:"password",ref:"passwordField",attrs:{name:"password",type:"password",rules:"required|min:8","password-mode":"text",label:e.$t("login.password")},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})]:e._e(),e._v(" "),e.steps.STEP_REGISTER_NAME?[n("ara-text-input-with-validation",{key:"name",attrs:{name:"name",type:"text",label:e.$t("register.name"),"custom-messages":{required:e.$t("customValidation.name.required"),regex:e.$t("customValidation.name.regex"),max:e.$t("customValidation.name.max")},rules:{required:!0,max:80,regex:/^[0-9\sA-Za-zçÃñÃáà éèÃóòúÃÃÃÃÃÃÃÃäëïöüÃÃÃÃúª·â,&_/()'\-.]+$/}},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),n("ara-text-input-with-validation",{key:"surname",attrs:{name:"surname",type:"text","custom-messages":{required:e.$t("customValidation.surname.required"),regex:e.$t("customValidation.surname.regex"),max:e.$t("customValidation.surname.max")},label:e.$t("register.surname"),rules:{required:!0,max:80,regex:/^[0-9\sA-Za-zçÃñÃáà éèÃóòúÃÃÃÃÃÃÃÃäëïöüÃÃÃÃúª·â,&_/()'\-.]+$/}},model:{value:e.surname,callback:function(t){e.surname=t},expression:"surname"}}),e._v(" "),n("validation-provider",{attrs:{mode:"eager",name:"birthDate",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[n("ara-date-input",{attrs:{error:r[0],"custom-messages":{required:e.$t("customValidation.birthdate.required")},label:e.$t("fields.birthDate")},model:{value:e.birthDate,callback:function(t){e.birthDate=t},expression:"birthDate"}})]}}],null,!0)})]:e._e(),e._v(" "),e.steps.STEP_REGISTER_PASSWORD?n("ara-button-new",{attrs:{"full-width":""},on:{click:function(t){return r(e.goNext)}}},[e._v(e._s(e.$t("register.step-1.btn")))]):e._e(),e._v(" "),e.steps.STEP_REGISTER_NAME?n("ara-button-new",{attrs:{"full-width":"",loading:e.loading},on:{click:function(t){return r(e.handleRegister)}}},[e._v(e._s(e.$t("register.step-2.btn")))]):e._e(),e._v(" "),e.isRegisterComplete?n("ara-button-new",{attrs:{"full-width":"",href:e.backUrl}},[e._v(e._s(e.$t("register.step-3.btn")))]):e._e()],2)]}}])}),e._v(" "),e.steps.STEP_REGISTER_NAME?n("span",{staticClass:"policy-text",domProps:{innerHTML:e._s(e.$t("register.privacy-text",{url:"https://www.ara.cat/privacitat.html"}))}}):e._e(),e._v(" "),e.steps.STEP_REGISTER_PASSWORD?n("p",{staticClass:"user-account-wrapper__need-help"},[n("span",{staticClass:"text",domProps:{innerHTML:e._s(e.$t("register.step-1.help"))}}),e._v(" "),n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("goToLogin")}}},[e._v("\n "+e._s(e.$t("register.access"))+"\n ")])]):e._e(),e._v(" "),e.isRegisterComplete?n("p",{staticClass:"user-account-wrapper__need-help",class:{"user-account-wrapper__need-help--no-more-attempts":!e.allowMoreResendAttempts}},[e.allowMoreResendAttempts?[n("span",{staticClass:"text",domProps:{innerHTML:e._s(e.$t("register.step-3.help"))}}),e._v(" "),n("a",{class:{"user-account-wrapper__need-help--link-disabled":e.resendLoading},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.handleResendValidationEmail(t)}}},[e._v("\n "+e._s(e.$t("register.step-3.help-link"))+"\n ")])]:[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconInfoCirle)}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("register.step-3.help-link-max-attempts",{url:"https://www.ara.cat/contacte.html"}))}})]],2):e._e()],2)])},[],!1,null,null,null).exports},72594(e,t,n){n.r(t),n.d(t,{default:()=>f}),n(54162),n(4290),n(12493),n(28589),n(1240),n(570),n(43813),n(3188),n(63343),n(30973),n(17046),n(36169);var r=n(22787),o=n(36675),i=n(44504),a=n(59494),s=n(40350);function l(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return c(u,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),u}var a={};function s(){}function u(){}function p(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(c(t={},r,function(){return this}),t),f=p.prototype=s.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=p,c(f,"constructor",p),c(p,"constructor",u),u.displayName="GeneratorFunction",c(p,o,"GeneratorFunction"),c(f),c(f,o,"Generator"),c(f,r,function(){return this}),c(f,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m}})()}function c(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}c=function(e,t,n,r){function i(t,n){c(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},c(e,t,n,r)}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}const p={name:"ara-user-validate-email",props:{name:{type:String,required:!0},userId:{type:Number,required:!0},email:{type:String,default:""},mailSent:{type:Boolean,default:!1},maxAttemptsReached:{type:Boolean,default:!1}},data:function(){return{araLogo:r.A,iconBlocked:'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">\n<path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM4 12C4 7.58 7.58 4 12 4C13.85 4 15.55 4.63 16.9 5.69L5.69 16.9C4.63 15.55 4 13.85 4 12ZM12 20C10.15 20 8.45 19.37 7.1 18.31L18.31 7.1C19.37 8.45 20 10.15 20 12C20 16.42 16.42 20 12 20Z"/>\n</svg>\n',iconMailSent:o.A,iconMailRead:'<svg width="21" height="18" viewBox="0 0 21 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M13.95 18L9.7 13.75L11.1 12.35L13.95 15.2L19.6 9.55L21 10.95L13.95 18ZM10 7L18 2H2L10 7ZM10 9L2 4V14H7.15L9.15 16H2C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H18C18.55 0 19.0208 0.195833 19.4125 0.5875C19.8042 0.979167 20 1.45 20 2V6.35L18 8.35V4L10 9Z" fill="#555555"/>\n</svg>\n',iconOkCircle:i.A,iconInfoCirle:a.A,emailSent:this.mailSent,resendAttempts:this.maxAttemptsReached?3:0,loading:!1,urlSearchParams:new URLSearchParams(window.location.search)}},computed:{allowMoreResendAttempts:function(){return this.resendAttempts<3},showResentNotice:function(){return this.emailSent&&this.allowMoreResendAttempts},backUrlUrlParam:function(){return this.urlSearchParams.has("backUrl")?this.urlSearchParams.get("backUrl"):"/"}},methods:{sendEmail:function(){var e,t=this;return(e=l().m(function e(){var n;return l().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!t.loading&&t.allowMoreResendAttempts){e.n=1;break}return e.a(2);case 1:return e.p=1,t.loading=!0,e.n=2,s.A.sendValidationEmail(t.userId);case 2:e.n=4;break;case 3:e.p=3,n=e.v,console.error(n);case 4:return e.p=4,t.loading=!1,t.resendAttempts+=1,t.emailSent=!0,e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})})()}}},d=p,f=(0,n(67658).A)(d,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"user-account-content user-account-content--validate-email"},[n("div",{staticClass:"back back--login"},[n("h1",{staticClass:"ara-logo"},[n("a",{attrs:{href:e.backUrlUrlParam,title:"Ara.cat"},domProps:{innerHTML:e._s(e.araLogo)}})]),e._v(" "),e.showResentNotice?n("p",{staticClass:"user-account-notice"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconOkCircle)}}),e._v(" "),n("span",{staticClass:"text",domProps:{textContent:e._s(e.$t("login.blocked-account.resent-notice"))}}
2)]):e._e()]),e._v(" "),n("div",{staticClass:"user-account-wrapper"},[e.emailSent?[n("span",{staticClass:"ara-icon mail-sent",domProps:{innerHTML:e._s(e.iconMailRead)}}),e._v(" "),n("span",{staticClass:"title",domProps:{textContent:e._s(e.$t("login.blocked-account.confirm.title"))}}),e._v(" "),n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.$t("login.blocked-account.confirm.subtitle",{email:e.email}))}}),e._v(" "),n("ara-button",{attrs:{href:e.backUrlUrlParam,fullWidth:""}},[e._v(e._s(e.$t("login.blocked-account.confirm.btn")))]),e._v(" "),e.allowMoreResendAttempts?n("p",{staticClass:"user-account-wrapper__need-help user-account-wrapper__need-help--resend"},[n("span",{staticClass:"text",domProps:{innerHTML:e._s(e.$t("register.step-3.help"))}}),e._v(" "),n("a",{class:{"user-account-wrapper__need-help--link-disabled":e.loading},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.sendEmail(t)}}},[e._v("\n "+e._s(e.$t("register.step-3.help-link"))+"\n ")])]):n("p",{staticClass:"user-account-wrapper__need-help user-account-wrapper__need-help--no-more-attempts"},[n("span",{staticClass:"ara-icon",domProps:{innerHTML:e._s(e.iconInfoCirle)}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("register.step-3.help-link-max-attempts",{url:"https://www.ara.cat/contacte.html"}))}})])]:[n("span",{staticClass:"ara-icon blocked",domProps:{innerHTML:e._s(e.iconBlocked)}}),e._v(" "),n("span",{staticClass:"title",domProps:{textContent:e._s(e.$t("login.blocked-account.title"))}}),e._v(" "),n("span",{staticClass:"subtitle",domProps:{textContent:e._s(e.$t("login.blocked-account.subtitle",{email:e.email}))}}),e._v(" "),n("ara-button",{attrs:{loading:e.loading,fullWidth:""},on:{click:e.sendEmail}},[e._v(e._s(e.$t("login.blocked-account.btn")))])]],2)])},[],!1,null,null,null).exports},69654(e,t,n){n.r(t),n.d(t,{default:()=>v}),n(54162),n(4290),n(29068),n(82111),n(5423),n(78837),n(55831),n(57406),n(12493),n(50653),n(85351),n(63145),n(28589),n(12002),n(89185),n(1240),n(28471),n(570),n(43813),n(3188),n(10844),n(55448),n(63343),n(92462),n(14439),n(17046);var r=n(3523),o=n(56537),i=n(46177),a=n.n(i);function s(e){return 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},s(e)}function l(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof s?r:s,u=Object.create(l.prototype);return c(u,"_invoke",function(n,r,o){var i,s,l,c=0,u=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return i=t,s=0,l=e,d.n=n,a}};function f(n,r){for(s=n,l=r,t=0;!p&&c&&!o&&t<u.length;t++){var o,i=u[t],f=d.p,m=i[2];n>3?(o=m===r)&&(l=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=f&&((o=n<2&&f<i[1])?(s=0,d.v=r,d.n=i[1]):f<m&&(o=n<3||i[0]>r||r>m)&&(i[4]=n,i[5]=r,d.n=m,s=0))}if(o||n>1)return a;throw p=!0,r}return function(o,u,m){if(c>1)throw TypeError("Generator is already running");for(p&&1===u&&f(u,m),s=u,l=m;(t=s<2?e:l)||!p;){i||(s?s<3?(s>1&&(d.n=-1),f(s,l)):d.n=l:d.v=l);try{if(c=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(p=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,s=1,l=t}finally{c=1}}return{value:t,done:p}}}(n,o,i),!0),u}var a={};function s(){}function u(){}function p(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(c(t={},r,function(){return this}),t),f=p.prototype=s.prototype=Object.create(d);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=p,c(f,"constructor",p),c(p,"constructor",u),u.displayName="GeneratorFunction",c(p,o,"GeneratorFunction"),c(f),c(f,o,"Generator"),c(f,r,function(){return this}),c(f,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m}})()}function c(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}c=function(e,t,n,r){function i(t,n){c(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},c(e,t,n,r)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return(t=function(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h={name:"ara-video-player",props:{video:{type:Object,required:!0},autoplay:{type:Boolean,default:!1},repeat:{type:Boolean,default:!1},mute:{type:Boolean,default:!1},controls:{type:Boolean,default:!0},showLogo:{type:Boolean,default:!0},aspectRatio:{type:String,default:null},stretching:{type:String,default:null},playOnVisible:{type:Boolean,default:!1}},data:function(){return{player:null,visibilityObserver:null,options:{skin:{name:"ara"},width:"100%"},trackEvents:["play","pause","seek","complete"],trackMilestones:{25:!1,50:!1,75:!1}}},computed:{logo:function(){if(this.showLogo)return{file:"data:image/svg+xml;utf8,".concat(o.A),link:"#",position:"bottom-right",margin:10,width:20,height:20}},formatDuration:function(){var e=parseInt(this.video.duration/60,10)%60,t="0".concat(this.video.duration-60*e).slice(-2);return"".concat(e,":").concat(t)},setupOptions:function(){var e=Math.floor(1e6*Math.random()),t="https://pubads.g.doubleclick.net/gampad/ads?iu=/21675759561/ara2020/video&description_url=".concat(encodeURIComponent(window.location.href),"&tfcd=0&npa=0&sz=300x250%7C300x300%7C400x300%7C640x480%7C728x90&gdfp_req=1&output=vast&env=vp&unviewed_position_start=1&impl=s&correlator=").concat(e,"&ad_rule=0&plcmt=1&pod=3&vpa=click&vpmute=1&vpos=preroll"),n="https://pubads.g.doubleclick.net/gampad/ads?iu=/21675759561/ara2020/video&description_url=".concat(encodeURIComponent(window.location.href),"&tfcd=0&npa=0&sz=300x250%7C300x300%7C400x300%7C640x480%7C728x90&gdfp_req=1&output=vast&env=vp&unviewed_position_start=1&impl=s&correlator=").concat(e,"&ad_rule=0&plcmt=1&pod=3&vpa=click&vpmute=1&vpos=postroll");return f(f(f({},this.options),{},{intl:{ca:{advertising:{admessage:"Aquest anunci finalitzarà en xx",cuetext:"Anunci",displayHeading:"Anunci",loadingAd:"Carregant anunci",podmessage:"Anunci __AD_POD_CURRENT__ de __AD_POD_LENGTH__.",skipmessage:"Saltar anunci en xx",skiptext:"Saltar"}}},logo:this.logo,file:this.video.hlsSource,aspectratio:this.aspectRatio||this.video.aspectRatio},this.stretching?{stretching:this.stretching}:{}),{},{image:this.video.poster,autostart:this.autoplay,repeat:this.repeat,mute:this.mute,primary:"html5",controls:this.controls,advertising:{client:"vast",adscheduleid:"Az87bY12",schedule:[{offset:"pre",tag:t},{offset:"post",tag:n}]}})}},mounted:function(){var e,t=this;return(e=l().m(function e(){var n;return l().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,(0,r.a)();case 1:n=e.v,t.player=n(t.$refs.player).setup(t.setupOptions),t.playOnVisible&&(t.visibilityObserver=new IntersectionObserver(function(e){var n,r;(n=e,r=1,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(n,r)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].isIntersecting?t.player.play():t.player.pause()},{threshold:.75}),t.visibilityObserver.observe(t.$el)),t.player.on("ready",function(){var e=t.player.getContainer(),n=e.querySelector(".jw-button-container"),r=n.querySelector(".jw-spacer"),o=e.querySelector(".jw-sli
2der-time");n.replaceChild(o,r)}),t.registerTrackingEvents();case 2:return e.a(2)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,s,"next",e)}function s(e){p(i,r,o,a,s,"throw",e)}a(void 0)})})()},beforeDestroy:function(){this.visibilityObserver&&this.visibilityObserver.disconnect()},methods:{stop:function(){this.player.pause()},pause:function(){this.player.pause()},play:function(){this.player.play()},registerTrackingEvents:function(){var e=this;this.trackEvents.forEach(function(t){e.player.on(t,a()(function(t){var n=t.type;return e.track(n)},100,{leading:!0,trailing:!1}))}),this.player.on("time",function(t){var n=t.duration,r=t.position,o=Math.round(100*r/n);Object.keys(e.trackMilestones).includes(o.toString())&&!e.trackMilestones[o]&&(e.track("position-".concat(o)),e.trackMilestones[o]=!0)})},track:function(e){this.$track({category:"video",action:e,label:this.video.id}),this.trackEvents.includes(e)&&(this.trackMilestones={25:!1,50:!1,75:!1})}}},g=h,v=(0,n(67658).A)(g,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ara-video-player",on:{click:function(e){e.stopPropagation()}}},[n("div",{ref:"player",staticClass:"preloading"}),e._v(" "),n("ara-media-info",{attrs:{type:"video","custom-text":e.formatDuration}})],1)},[],!1,null,null,null).exports}};const t={};function n(r){const o=t[r];if(void 0!==o)return o.exports;const i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,(()=>{const e=[];n.O=(t,r,o,i)=>{if(r){i=i||0;for(var a=e.length;a>0&&e[a-1][2]>i;a--)e[a]=e[a-1];return void(e[a]=[r,o,i])}let s=1/0;for(a=0;a<e.length;a++){let[r,o,i]=e[a],c=!0;for(var l=0;l<r.length;l++)(!1&i||s>=i)&&Object.keys(n.O).every(e=>n.O[e](r[l]))?r.splice(l--,1):(c=!1,i<s&&(s=i));if(c){e.splice(a--,1);const n=o();void 0!==n&&(t=n)}}return t}})(),n.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var o=t[r++],i=t[r++];n.o(e,o)?0===i&&r++:0===i?Object.defineProperty(e,o,{enumerable:!0,value:t[r++]}):Object.defineProperty(e,o,{enumerable:!0,get:i})}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>e+".h-"+n.h()+".js",n.miniCssF=e=>e+".css",n.h=()=>"31a93d943957fb53b01a",n.o=(e,t)=>Object.hasOwn(e,t),(()=>{const e={};n.l=(t,r,o,i)=>{if(e[t])return void e[t].push(r);let a,s;if(void 0!==o){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const n=e[l];if(n.getAttribute("src")==t){a=n;break}}}a||(s=!0,a=document.createElement("script"),a.charset="utf-8",n.nc&&a.setAttribute("nonce",n.nc),a.src=t),e[t]=[r];const c=(n,r)=>{a.onerror=a.onload=null,clearTimeout(u);const o=e[t];if(delete e[t],a.parentNode?.removeChild(a),o?.forEach(e=>e(r)),n)return n(r)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),s&&document.head.appendChild(a)}})(),n.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.dn=e=>{var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{let e;globalThis.importScripts&&(e=globalThis.location+"");const t=globalThis.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const n=t.getElementsByTagName("script");if(n.length){let t=n.length-1;for(;t>-1&&(!e||!/^http(s?):/.test(e));)e=n[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{if("undefined"!=typeof document){var e={106:0};n.f.miniCss=(t,r)=>{e[t]?r.push(e[t]):0!==e[t]&&{105:1,140:1,236:1,242:1,285:1,300:1,330:1,397:1,448:1,528:1,562:1,746:1,759:1,774:1,805:1,829:1,840:1,891:1,993:1}[t]&&r.push(e[t]=(e=>new Promise((t,r)=>{var o=n.miniCssF(e),i=n.p+o;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}})(o,i))return t();((e,t,r,o,i)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",n.nc&&(a.nonce=n.nc),a.onerror=a.onload=n=>{if(a.onerror=a.onload=null,"load"===n.type)o();else{var r=n&&n.type,s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+r+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=s,a.parentNode&&a.parentNode.removeChild(a),i(l)}},a.href=t,document.head.appendChild(a)})(e,i,0,t,r)}))(t).then(()=>{e[t]=0},n=>{throw delete e[t],n}))}}})(),(()=>{const e={106:0};n.f.j=(t,r)=>{let o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{const i=new Promise((n,r)=>o=e[t]=[n,r]);
2r.push(o[2]=i);const a=n.p+n.u(t),s=new Error,l=r=>{if(n.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){const e=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+e+": "+n+")",s.name="ChunkLoadError",s.type=e,s.request=n,s.event=r,o[1](s)}};n.l(a,l,"chunk-"+t,t)}},n.O.j=t=>0===e[t];const t=(t,r)=>{let[o,i,a]=r;var s,l,c=0;if(o.some(t=>0!==e[t])){for(s in i)n.o(i,s)&&(n.m[s]=i[s]);if(a)var u=a(n)}for(t&&t(r);c<o.length;c++)l=o[c],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return n.O(u)},r=globalThis.webpackChunk||=[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();let r=n.O(void 0,[767],()=>n(40150));r=n.O(r)})();
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.