PageSourceSearch

https://effingermedien.ch/assets/dist/chunk_9251be9a8556a5fd.js

js effingermedien.ch collected 2026-10-02 22:42:06 UTC 32,632 bytes, 2 lines download raw bytes

1/*! For license information please see chunk_9251be9a8556a5fd.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[436,946],{588:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>L});var n=r(1965),o=r.n(n),i=r(9570),a=r(3485),s=r(2373),c=r(3362),l=r(9112),u=r(1817);const h={name:"ArticlePreview",props:{article:{type:Object,required:!1}},methods:{open:function(){this.$emit("open",this.article)}}};var f=r(4486);const d=(0,f.A)(h,(function(){var t=this,e=t._self._c;return t.article?e("div",{staticClass:"bg-black p-4 text-white relative"},[e("i",{staticClass:"uk-text-complementary"},[t._v(t._s(t._f("moment")(t.article.date,"Do MMMM YYYY")))]),t._v(" "),e("h3",{staticClass:"mt-2"},[e("a",{staticClass:"text-white hover:text-gray-50",domProps:{textContent:t._s(t.article.title)},on:{click:function(e){return e.preventDefault(),t.open.apply(null,arguments)}}})]),t._v(" "),e("div",{staticClass:"max-h-[250px] overflow-ellipsis text-sm",domProps:{innerHTML:t._s(t.article.excerpt)}}),t._v(" "),e("div",{staticClass:"h-16 md:h-8"}),t._v(" "),e("div",{staticClass:"pointer-events-none absolute bottom-0 inset-x-0 bg-gradient-to-t from-black to-transparent h-24 z-0"}),t._v(" "),t.article.attachment||t.article.content?e("div",{staticClass:"absolute bottom-0 inset-x-0 p-4 z-20"},[e("button",{staticClass:"uppercase text-xs text-white hover:text-gray-100",domProps:{textContent:t._s("mehr lesen...")},on:{click:function(e){return e.preventDefault(),t.open.apply(null,arguments)}}})]):t._e()]):t._e()}),[],!1,null,null,null).exports;var p=r(2893),v=r(3047);function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}function y(){y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof w?e:w,a=Object.create(i.prototype),s=new N(n||[]);return o(a,"_invoke",{value:M(t,r,s)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",g={};function w(){}function b(){}function _(){}var k={};l(k,a,(function(){return this}));var x=Object.getPrototypeOf,C=x&&x(x(O([])));C&&C!==r&&n.call(C,a)&&(k=C);var L=_.prototype=w.prototype=Object.create(k);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,s){var c=h(t[o],t,i);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==m(u)&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function M(e,r,n){var o=f;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=S(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?v:d,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=h(o,e.iterator,r.arg);
vendor: 4,693 bytes, line 2
2if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function O(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return b.prototype=_,o(L,"constructor",{value:_,configurable:!0}),o(_,"constructor",{value:b,configurable:!0}),b.displayName=l(_,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},A(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},A(L),l(L,c,"Generator"),l(L,a,(function(){return this})),l(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=O,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function g(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}const w={__name:"SocialMediaPosts",setup:function(t){var e=(0,p.KR)(!0),r=(0,p.KR)([]),n=(0,p.KR)(null),o=(0,p.KR)(null);(0,p.sV)((function(){n.value=(0,i.modal)(o.value),i.util.on(o.value,"show",f),i.util.on(o.value,"hide",d)})),(0,p.sV)((function(){return l.A.registerHashListener("posts",(function(){(0,u.ws)(o.value),n.value.show(),c.A.$emit("analytics:trackContentImpression","SocialMediaPosts","show")}))}));var a=(0,p.KR)(null),h=function(){document.getElementById("socialMediaIcons")&&a.value&&(
2a.value.innerHTML=document.getElementById("socialMediaIcons").innerHTML)},f=function(){h(),m()},d=function(){l.A.removeHash()},m=function(){var t,o=(t=y().mark((function t(){return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.value=!0,t.prev=1,t.next=4,s.A.queryCollection("socialMediaPosts",{filter:{published:!0},limit:24,sort:{_created:-1}});case 4:r.value=t.sent.entries.map((function(t){return{_id:t._id,media:t.media}})),t.next=12;break;case 7:t.prev=7,t.t0=t.catch(1),console.error("Error while fetching data from backend api.",t.t0),c.A.$emit("analytics:trackContentImpression","SocialMediaPosts","error",t.t0.message||""),n.value.hide();case 12:e.value=!1;case 13:case"end":return t.stop()}}),t,null,[[1,7]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){g(i,n,o,a,s,"next",t)}function s(t){g(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(){return o.apply(this,arguments)}}();return{__sfc:!0,isLoading:e,posts:r,postsModal:n,postsModalRef:o,socialMediaIconTarget:a,copySocialMediaIcons:h,onShowPosts:f,onHidePosts:d,loadSocialMediaPosts:m,SliderComponent:v.default}}};function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function _(){_=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),s=new N(n||[]);return o(a,"_invoke",{value:M(t,r,s)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",m={};function y(){}function g(){}function w(){}var k={};l(k,a,(function(){return this}));var x=Object.getPrototypeOf,C=x&&x(x(O([])));C&&C!==r&&n.call(C,a)&&(k=C);var L=w.prototype=y.prototype=Object.create(k);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,a,s){var c=h(t[o],t,i);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==b(u)&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function M(e,r,n){var o=f;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=S(s,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var l=h(e,r,n);if("normal"===l.type){if(o=n.done?v:d,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function O(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
vendor: 4,439 bytes, line 2
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(b(e)+" is not iterable")}return g.prototype=w,o(L,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},A(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},A(L),l(L,c,"Generator"),l(L,a,(function(){return this})),l(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=O,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function k(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function x(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){k(i,n,o,a,s,"next",t)}function s(t){k(i,n,o,a,s,"throw",t)}a(void 0)}))}}const C={name:"NewsComponent",components:{SocialMediaPosts:(0,f.A)(w,(function(){var t=this,e=t._self._c,r=t._self._setupProxy;return e("div",[e("div",{ref:"postsModalRef",staticClass:"uk-modal-container"},[e("div",{staticClass:"uk-modal-dialog"},[e("button",{staticClass:"uk-modal-close-default",attrs:{type:"button","uk-close":""}}),t._v(" "),e("div",{staticClass:"uk-modal-header uk-light uk-background-primary"},[e("div",{staticClass:"uk-modal-title"},[e("div",{staticClass:"flex justify-between"},[e("h2",{staticClass:"mb-0"},[t._v("Posts")]),t._v(" "),e("div",{ref:"socialMediaIconTarget",staticClass:"uk-margin-right"})])])]),t._v(" "),e("div",{staticClass:"uk-modal-body",attrs:{"uk-overflow-auto":""}}
2,[r.isLoading?e("div",{staticClass:"bg-black/10 animate-pulse rounded-lg min-h-[240px] aspect-[16/9]"}):t._e(),t._v(" "),r.isLoading||0!==r.posts.length?t._e():e("div",{staticClass:"text-center"},[e("h3",{staticClass:"uk-margin-remove"},[t._v("No posts found.")])]),t._v(" "),!r.isLoading&&r.posts.length>0?e(r.SliderComponent,{attrs:{componentId:"socialMediaSlider",autoplay:!1}},t._l(r.posts,(function(r,n){return e("div",{key:n,staticClass:"slide",attrs:{"data-slide":n}},[e("div",{staticClass:"p-8"},[r.media.document?e("div",{staticClass:"text-center uk-margin-top"},[e("h3",{staticClass:"uk-margin-remove"},[t._v(t._s(r.media.title))]),t._v(" "),e("a",{staticClass:"uk-button uk-button-primary uk-margin-top",attrs:{href:r.media.url,target:"_blank"}},[e("span",{staticClass:"uk-margin-small-right",attrs:{"uk-icon":"icon: download"}}),t._v(" "),e("span",[t._v("Download")])])]):t._e(),t._v(" "),r.media.image?e("div",[e("img",{staticClass:"w-full",attrs:{src:r.media.url,alt:r.media.title}})]):t._e(),t._v(" "),r.media.video?e("div",[e("video",{staticClass:"w-full",attrs:{controls:""}},[e("source",{attrs:{src:r.media.url,type:r.media.mime}}),t._v("\n                  Ihr Browser unterstützt dieses Video leider nicht.\n                ")])]):t._e()])])})),0):t._e()],1)])])])}),[],!1,null,null,null).exports,ArticlePreview:d,HtmlComponent:a.A},props:{items:{type:Array,required:!0},topstory:{type:Object,default:null},display:{type:String,default:"1col"},showJobOffers:{type:Boolean,default:!1},showSocialMediaPosts:{type:Boolean,default:!1}},data:function(){return{archiveModal:null,articleModal:null,isLoading:!1,articlesLoaded:!1,articles:[],openedArticle:null}},mounted:function(){var t=this;this.archiveModal=(0,i.modal)(this.$refs.archive),this.articleModal=(0,i.modal)(this.$refs.article,{stack:!0}),i.util.on(this.$refs.archive,"show",(function(){l.A.setHash("news/archive"),c.A.$emit("analytics:trackContentInteraction","News","open_archive","Archiv")})),i.util.on(this.$refs.article,"show",(function(){l.A.setHash("news/archive/".concat(t.openedArticle._id)),c.A.$emit("analytics:trackContentInteraction","News","view_article",t.openedArticle.title)})),i.util.on(this.$refs.archive,"hide",(function(){return l.A.removeHash()})),i.util.on(this.$refs.article,"hide",(function(){return l.A.removeHash()})),l.A.registerHashListener("news/archive",(function(){return t.openArchive()})),l.A.registerHashListener("news/archive/:articleId?",function(){var e=x(_().mark((function e(r){var n,o;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.articleId,setTimeout((function(){(0,u.ws)(t.$el)}),50),n){e.next=4;break}return e.abrupt("return",t.openArchive());case 4:if(t.articlesLoaded){e.next=7;break}return e.next=7,t.fetchNewsArticles();case 7:(o=t.articles.find((function(t){return t._id===n})))?t.openArticle(o):t.openArchive();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},methods:{fileSize:o(),didEnterViewport:function(t){"in"!==t.going||this.articlesLoaded||(this.fetchNewsArticles(),c.A.$emit("analytics:trackContentImpression","News","show"))},fetchNewsArticles:function(){var t=this;return x(_().mark((function e(){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isLoading&&!t.articlesLoaded){e.next=2;break}return e.abrupt("return");case 2:return t.isLoading=!0,e.prev=3,e.next=6,s.A.queryCollection("news",{filter:{_id:{$in:t.items.map((function(t){return t._id}))},published:!0},limit:20,sort:{date:-1}});case 6:t.articles=e.sent.entries,e.next=13;break;case 9:e.prev=9,e.t0=e.catch(3),console.error("Error while fetching data from backend api.",e.t0),c.A.$emit("analytics:trackContentImpression","News","error",e.t0.message||"");case 13:t.articlesLoaded=!0,t.isLoading=!1;case 15:case"end":return e.stop()}}),e,null,[[3,9]])})))()},openArticle:function(t){t.content&&(this.openedArticle=t,this.articleModal.show())},openArchive:function(){this.articlesLoaded||this.fetchNewsArticles(),this.archiveModal.show()}},computed:{shouldDisplayContent:function(){return!this.isLoading&&this.articlesLoaded},previewArticles:function(){var t=3;return this.showJobOffers&&t--,this.showSocialMediaPosts&&t--,this.articles.slice(0,t)}}};const L=(0,f.A)(C,(function(){var t,e,r=this,n=r._self._c;return n("div",{directives:[{name:"waypoint",rawName:"v-waypoint",value:{active:!r.articlesLoaded,callback:r.didEnterViewport},expression:"{active: !articlesLoaded, callback: didEnterViewport }"}],staticClass:"c__news__vi"},[r.isLoading?n("div",{staticClass:"grid grid-cols-4 gap-4"},r._l(4,(function(t){return n("div",{staticClass:"bg-black aspect-square min-h-[250px] animate-pulse"})})),0):r._e(),r._v(" "),r.topstory?n("div",[r.topstory.headerImage?n("div",{staticClass:"mb-4 flex flex-wrap md:flex-nowrap",style:{backgroundColor:null!==(t=r.topstory.primaryColor)&&void 0!==t?t:"#000"},on:{click:function(t){return r.openArticle(r.topstory)}}},[n("div",{staticClass:"w-full md:w-1/4 p-4"},[n("h4",{staticClass:"font-serif text-center text-white italic",domProps:{textContent:r._s(r.topstory.title)}})]),r._v(" "),n("div",{staticClass:"w-full md:w-auto grow relative overflow-hidden"},[n("img",{staticClass:"w-full h-full object-cover",attrs:{src:r.topstory.headerImage.url,alt:r.to
2pstory.title}})])]):n("div",{staticClass:"grid grid-cols-4 gap-4",on:{click:function(t){return r.openArticle(r.topstory)}}},[n("div",{staticClass:"col-span-4 md:col-span-2 md:col-start-2 mx-auto p-4 mb-4 aspect-[5/2]",style:{backgroundColor:null!==(e=r.topstory.primaryColor)&&void 0!==e?e:"#000"}},[n("h2",{staticClass:"font-serif text-center text-white italic",domProps:{textContent:r._s(r.topstory.title)}})])])]):r._e(),r._v(" "),r.shouldDisplayContent?n("div",{staticClass:"grid grid-cols-4 gap-4"},[r._l(r.previewArticles,(function(t,e){return n("article-preview",{key:"preview"+e,staticClass:"col-span-4 md:col-span-1",attrs:{article:t},on:{open:function(e){return r.openArticle(t)}}})})),r._v(" "),n("div",{staticClass:"col-span-4 md:col-span-1 bg-black p-4"},[n("h3",{staticClass:"mt-8"},[n("a",{directives:[{name:"t",rawName:"v-t",value:"news.archive",expression:"'news.archive'"}],staticClass:"text-white hover:text-gray-50",on:{click:function(t){return t.preventDefault(),r.openArchive.apply(null,arguments)}}})])]),r._v(" "),r.showJobOffers?n("div",{staticClass:"col-span-4 md:col-span-1 bg-black p-4"},[n("h3",{staticClass:"mt-8"},[n("a",{directives:[{name:"t",rawName:"v-t",value:"news.jobOffers",expression:"'news.jobOffers'"}],staticClass:"text-white hover:text-gray-50",attrs:{href:"#jobs"}})])]):r._e()],2):r._e(),r._v(" "),n("div",{ref:"article",staticClass:"uk-modal-container"},[r.openedArticle?n("div",{staticClass:"uk-modal-dialog"},[n("button",{staticClass:"uk-modal-close-default",attrs:{type:"button","uk-close":""}}),r._v(" "),n("div",{staticClass:"uk-modal-header uk-light uk-background-primary"},[n("i",{staticClass:"uk-margin-remove-bottom uk-text-small"},[r._v("\n          "+r._s(r._f("moment")(r.openedArticle.date,"Do MMMM YYYY"))+"\n        ")]),r._v(" "),n("h2",{staticClass:"uk-modal-title uk-margin-remove-top",domProps:{textContent:r._s(r.openedArticle.title)}})]),r._v(" "),n("div",{staticClass:"uk-modal-body",attrs:{"uk-overflow-auto":""}},[n("html-component",{staticClass:"uk-margin-large-bottom",attrs:{html:r.openedArticle.content}}),r._v(" "),r.openedArticle.attachment?n("div",{staticClass:"uk-margin-large-bottom"},[n("hr",{staticClass:"uk-divider-small"}),r._v(" "),n("h4",{directives:[{name:"t",rawName:"v-t",value:"news.attachments",expression:"'news.attachments'"}]}),r._v(" "),n("a",{attrs:{href:r.openedArticle.attachment.url,title:r.openedArticle.attachment.title,rel:"nofollow",target:"_blank"}},[r.openedArticle.attachment.image?n("i",{attrs:{"uk-icon":"image"}}):r._e(),r._v(" "),r.openedArticle.attachment.video?n("i",{attrs:{"uk-icon":"video-camera"}}):r._e(),r._v(" "),r.openedArticle.attachment.audio?n("i",{attrs:{"uk-icon":"microphone"}}):r._e(),r._v(" "),r.openedArticle.attachment.archive?n("i",{attrs:{"uk-icon":"file-text"}}):r._e(),r._v(" "),r.openedArticle.attachment.document?n("i",{attrs:{"uk-icon":"file-pdf"}}):r._e(),r._v(" "),r.openedArticle.attachment.code?n("i",{attrs:{"uk-icon":"hashtag"}}):r._e(),r._v(" "),n("span",{domProps:{textContent:r._s(r.openedArticle.attachment.title)}}),r._v(" "),n("span",{staticClass:"uk-text-muted uk-text-small",domProps:{textContent:r._s(r.fileSize(r.openedArticle.attachment.size))}})])]):r._e()],1)]):r._e()]),r._v(" "),n("div",{ref:"archive",staticClass:"uk-modal-container"},[n("div",{staticClass:"uk-modal-dialog"},[n("button",{staticClass:"uk-modal-close-default",attrs:{type:"button","uk-close":""}}),r._v(" "),n("div",{staticClass:"uk-modal-header uk-light uk-background-primary"},[n("h2",{directives:[{name:"t",rawName:"v-t",value:"news.newsArchive",expression:"'news.newsArchive'"}],staticClass:"uk-modal-title"})]),r._v(" "),n("div",{staticClass:"uk-modal-body",attrs:{"uk-overflow-auto":""}},[n("table",{staticClass:"uk-table uk-table-divider uk-table-hover uk-margin-bottom"},[n("thead",[n("tr",[n("th",{directives:[{name:"t",rawName:"v-t",value:"news.tableTitle",expression:"'news.tableTitle'"}]}),r._v(" "),n("th",{directives:[{name:"t",rawName:"v-t",value:"news.tableDate",expression:"'news.tableDate'"}]}),r._v(" "),n("th",{staticClass:"uk-text-right"})])]),r._v(" "),n("tbody",r._l(r.articles,(function(t){return n("tr",{key:t._id,staticClass:"v__news_article__archive_item cursor-pointer",on:{click:function(e){return r.openArticle(t)}}},[n("td",{domProps:{textContent:r._s(t.title)}}),r._v(" "),n("td",[r._v(r._s(r._f("moment")(t.date,"Do MMMM YYYY")))]),r._v(" "),n("td",[t.attachment?n("i",{attrs:{"uk-icon":"link"}}):r._e()])])})),0)])])])]),r._v(" "),n("SocialMediaPosts")],1)}),[],!1,null,null,null).exports},1965:function(t){t.exports=function(){"use strict";var t=/^(b|B)$/,e={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},r={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},n={floor:Math.floor,ceil:Math.ceil};function o(o){var i,a,s,c,l,u,h,f,d,p,v,m,y,g,w,b,_,k,x,C,L,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=[],M=0;if(isNaN(o))throw new TypeError("Invalid number");if(s=!0===A.bits,w=!0===A.unix,m=!0===A.pad,a=A.base||2,y=void 0!==A.round?A.round:w?1:2,h=void 0!==A.locale?A.locale:"",f=A.localeOptions||{},b=void 0!==A.separator?A.separator:"",_=void 0!==A.spacer?A.spacer:w?"":" ",x=A.symbols||{},k=2===a&&A.standard||"jedec",v=A.output||"string",l=!0===A.fullform,u=A.fullforms instanceof Array?A.fullforms:[],i=void 0!==A.exponent?A.exponent:-1,C=n[A.roundingMethod]||Math.round,d=(p=Number(o))<0,c=a>2?1e3:1024,L=!1===isNaN(A.precision)?parseInt(A.precision,10):0,d&&(p=-p),(-1===i||isNaN(i))&&(i=Math.floor(Math.log(p)/Math.log(c)))<0&&(i=0),i>8&&(L>0&&(L+=8-i),i=8),"exponent"===v)return i;
2if(0===p)E[0]=0,g=E[1]=w?"":e[k][s?"bits":"bytes"][i];else{M=p/(2===a?Math.pow(2,10*i):Math.pow(1e3,i)),s&&(M*=8)>=c&&i<8&&(M/=c,i++);var S=Math.pow(10,i>0?y:0);E[0]=C(M*S)/S,E[0]===c&&i<8&&void 0===A.exponent&&(E[0]=1,i++),g=E[1]=10===a&&1===i?s?"kb":"kB":e[k][s?"bits":"bytes"][i],w&&(E[1]="jedec"===k?E[1].charAt(0):i>0?E[1].replace(/B$/,""):E[1],t.test(E[1])&&(E[0]=Math.floor(E[0]),E[1]=""))}if(d&&(E[0]=-E[0]),L>0&&(E[0]=E[0].toPrecision(L)),E[1]=x[E[1]]||E[1],!0===h?E[0]=E[0].toLocaleString():h.length>0?E[0]=E[0].toLocaleString(h,f):b.length>0&&(E[0]=E[0].toString().replace(".",b)),m&&!1===Number.isInteger(E[0])&&y>0){var P=b||".",j=E[0].toString().split(P),N=j[1]||"",O=N.length,I=y-O;E[0]="".concat(j[0]).concat(P).concat(N.padEnd(O+I,"0"))}return l&&(E[1]=u[i]?u[i]:r[k][i]+(s?"bit":"byte")+(1===E[0]?"":"s")),"array"===v?E:"object"===v?{value:E[0],symbol:E[1],exponent:i,unit:g}:E.join(_)}return o.partial=function(t){return function(e){return o(e,t)}},o}()},3047:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>s});var n=r(7742);function o(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):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.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}const a={name:"SliderComponent",components:{Carousel:n.Carousel,Slide:n.Slide},props:{componentId:{type:String,default:"team"},autoplay:{type:Boolean,default:!0},autoplayTimeout:{type:Number,default:5e3},showControls:{type:Boolean,default:!0}},mounted:function(){var t=this;setTimeout((function(){return t.adjustHeightOfSlides()}),200),window.addEventListener("resize",this.adjustHeightOfSlides)},beforeDestroy:function(){window.removeEventListener("resize",this.adjustHeightOfSlides)},methods:{adjustHeightOfSlides:function(){this.setMinHeightForSlides(0);var t=Math.max.apply(Math,o(this.$slots.default.filter((function(t){return!!t.tag})).map((function(t){return t.elm.clientHeight}))));this.setMinHeightForSlides(t)},setMinHeightForSlides:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$slots.default.filter((function(t){return!!t.tag})).forEach((function(e){e.elm.style.minHeight="".concat(t,"px"),e.children[0].elm.classList.contains("c__box")&&e.children[0].children[0].elm.classList.contains("c__grid")&&(e.children[0].elm.style.minHeight="".concat(t,"px"),e.children[0].children[0].elm.style.minHeight="".concat(t,"px"))}))}},render:function(t){var e=this,r=[];this.$slots.default.forEach((function(e){e.tag&&r.push(t(n.Slide,{},[e]))}));var o=t(n.Carousel,{ref:"carousel",props:{autoplay:this.autoplay,autoplayTimeout:this.autoplayTimeout,loop:!0,paginationEnabled:this.showControls,perPage:1,easing:"ease-out"}},r),i=t("a",{class:"absolute top-1/2 left-0",attrs:{"uk-icon":"icon:chevron-left;ratio:2.4"},on:{click:function(){e.$refs.carousel.advancePage("backward")}}}),a=t("a",{class:"absolute top-1/2 right-0",attrs:{"uk-icon":"icon:chevron-right;ratio:2.4"},on:{click:function(){e.$refs.carousel.advancePage("forward")}}});return this.showControls?t("div",{},[i,a,o]):o}};const s=(0,r(4486).A)(a,undefined,undefined,!1,null,null,null).exports}}]);

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.