!function(q){function t(h){for(var l,m,p=h[0],r=h[1],u=h[2],v=0,A=[];vc()(window).outerWidth()},y=function(){var I;(I=x())||(I=c()(window).outerWidth(),I=768<=I&&992>I);return!I},D=function(){return!(1024>c()(window).outerWidth())},w=function(I){return"function"== typeof I},B=function(I){var L=1]/gi,"")},Y=function(I,L,P){var O=new RegExp("([?\x26])".concat(L,"\x3d.*?(\x26|$)"),"i"),Q=-1!==I.indexOf("?")?"\x26":"?";return I.match(O)?I.replace(O,"$1".concat(L,"\x3d").concat(P,"$2")):"".concat(I+Q+L,"\x3d").concat(P)},J=function(I){var L= !1;I.forEach(function(P){(c()(P).hasClass("show")||"none"!==c()(P).css("display"))&&(L=!0)});L||c()("body").css("overflow","auto")},T=function(){return window.location.search.replace("?","").split("\x26").reduce(function(I,L){L=L.split("\x3d");var P=a()(L,2);L=P[0];P=P[1];return void 0!==I[L]?(Array.isArray(I[L])||(I[L]=[I[L]]),I[L].push(P)):I[L]=P,I},{})},X=function(I,L){L=L||document.location.href;var P=L.split("?");if(2<=P.length){var O=P.shift();P=P.join("?");I=encodeURIComponent(I)+"\x3d";P= P.split(/[&;]/g);for(var Q=P.length;0a?a=1:a>d&&(a=d),d<=f){var c=1;var e=d}else{var h=Math.floor(f/2),l=Math.ceil(f/2)-1;a<=h?(c=1,e=f):a+l>=d?(c=d-f+1,e=d):(c=a-h,e=a+l)}f=(a-1)*g;h=Math.min(f+g-1,b-1);var m=[];return Array.from(Array(e+1-c).keys()).map(function(p){return c+ p}).forEach(function(p){m.push({isPage:!0,isSelected:p===a,pageNumber:p,skip:(p-1)*g})}),{totalItems:b,currentPage:a,pageSize:g,totalPages:d,startPage:c,endPage:e,startIndex:f,endIndex:h,prevDisabled:1===a,nextDisabled:a===d,prevPage:a-1,nextPage:a+1,prevSkip:(a-2)*g,nextSkip:a*g,lastSkip:(d-1)*g,pages:m}}},"./source/scripts/utils/previewLinkUpdate.js":function(q,t,k){q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js");var n=k.n(q),b=k("./source/scripts/common/common.js"); t.a=function(){Object(b.p)().preview&&(n()(".previewLinkBtn").prop("disabled",!0),n()(".preview-search-icon").css("display","none"))}},"./source/scripts/utils/render.js":function(q,t,k){function n(z,C,F){C=Array.isArray(C)?C:[C];z.requestHeader||(z.requestHeader={});"length"in z||(z.length=0);for(var E=0;E36E5*c.b)return localStorage.removeItem(c.l),null;e=a();if(0w?0:25<=w&&50>w?1:50<=w&&75>w?2:3):-1}function b(w,B,z,C){var F,E=u()(this).parents(".js-video-props").data(),G=E.videoName,K=E.videoType;E=("25% milestone"===w?"25":"50% milestone"===w&&"50")||"75% milestone"===w&&"75"||"end"===w&&"100";var H=null===(F=u()(this)[0].title)||void 0===F?void 0:F.trim();B={videoName:H&&""!==H&&"youtube"===K?H:G, videoType:K,videoSection:window.digitalData&&window.digitalData.pageinfo&&window.digitalData.pageinfo.siteSection1||"",videoLength:(new Date(1E3*B)).toISOString().substr(11,8),videoTime:(new Date(1E3*Math.round(z))).toISOString().substr(11,8),videoInteraction:w};E&&(B.videomilestone=E);"end"===w&&(B.videoend="true");Object(v.a)(B,"video",C,void 0,!1,{eventType:"video"})}function a(w,B){var z=Math.floor(w/B*100),C=u()(this),F=C.data("trackIndex");25<=z&&0===F&&(b.apply(this,["25% milestone",Math.round(B), w,"videoMilestone"]),C.data("trackIndex",F=1));50<=z&&1===F&&(b.apply(this,["50% milestone",Math.round(B),w,"videoMilestone"]),C.data("trackIndex",F=2));75<=z&&2===F&&(b.apply(this,["75% milestone",Math.round(B),w,"videoMilestone"]),C.data("trackIndex",3))}function g(w){u()(w).each(function(){for(var B=arguments.length,z=Array(B),C=0;C=u?(r[0].classList.add("sticky-anchor-menu"),r[0].classList.remove("tp-container"), g()("header").addClass("scrollUp"),g()("header").removeClass("scrollDown")):(r[0].classList.remove("sticky-anchor-menu"),r[0].classList.add("tp-container"),g()("header").addClass("scrollDown"),g()("header").removeClass("scrollUp"))),g()("header").hasClass("scrollDown")?g()(".sticky-anchor-menu").addClass("top-anchor-menu"):g()(".sticky-anchor-menu").removeClass("top-anchor-menu"),!m.cache.$isAnchorMenuClicked)for(r=0;rthis.cache.$maxPrimaryLinks){m.classList.add("hasmore");m.insertAdjacentHTML("beforeend",'\n \x3cli class\x3d"more"\x3e\n \x3cbutton type\x3d"button" aria-haspopup\x3d"true" aria-expanded\x3d"true"\x3e\x3cspan\x3e\u22ee\x3c/span\x3e\x3c/button\x3e\n \x3cul class\x3d"secondary"\x3e\n '.concat(m.innerHTML, "\n \x3c/ul\x3e\n \x3c/li\x3e\n "));var u=l.querySelector(".secondary"),v=u.querySelectorAll("li"),A=m.querySelector(".more"),x=A.querySelector("button");x.addEventListener("click",function(D){D.preventDefault();h.onMoreButtonClick(l,x,u)});var y=function(){var D=[];p.forEach(function(w){w.classList.remove("hiddenItem")});v.forEach(function(w){w.classList.remove("hiddenItem")});p.forEach(function(w,B){B>h.cache.$maxPrimaryLinks-1&&(w.classList.add("hiddenItem"),D.push(B))}); h.toggleVisibilityOfItems(D,A,x,v)};y();window.addEventListener("resize",function(){h.resetOverflowMenu();h.getMaxNumberOfPrimaryLinks();h.setAnchorMenuSelection(h.cache.$currentIndex);y()});document.addEventListener("click",function(D){for(D=D.target;D;){if(D===u||D===x)return;D=D.parentNode}l.classList.remove("show-secondary");x.setAttribute("aria-expanded",!1)});this.cache.$secondaryAnchorMenuContent=this.root.find(".secondary")[0].children}}else this.cache.$anchorMenuContainer.classList.add("collapsed")}}, {key:"toggleVisibilityOfItems",value:function(h,l,m,p){var r=this,u=this.cache.$anchorMenuContainer;h.length?p.forEach(function(v,A){h.includes(A)?v.children[0].addEventListener("click",r.scrollToSection,!1):v.classList.add("hiddenItem")}):(l.classList.add("hiddenItem"),u.classList.remove("show-secondary"),m.setAttribute("aria-expanded",!1))}},{key:"onMoreButtonClick",value:function(h,l,m){h.classList.toggle("show-secondary");l.setAttribute("aria-expanded",h.classList.contains("show-secondary")); 128>window.innerWidth-l.offsetLeft?(m.style.left="auto",m.style.right=0):(m.style.left="".concat(l.offsetLeft-m.offsetWidth/2,"px"),m.style.right="auto")}},{key:"getMaxNumberOfPrimaryLinks",value:function(){1023window.outerWidth?this.cache.$maxPrimaryLinks=5:this.cache.$maxPrimaryLinks=6}},{key:"resetOverflowMenu",value:function(){var h=this.cache.$anchorMenuContainer;h&&h.classList.contains("show-secondary")&&(h.classList.remove("show-secondary"),h.setAttribute("aria-expanded", !1))}},{key:"bindEvents",value:function(){var h=this.cache,l=h.$anchorMenu,m=h.$anchorButton;(h.$anchorLink.on("click",this.scrollToSection),l)&&(h=document.getElementsByClassName("anchorv2"))&&0=r&&h===v&&Object(f.j)()?u[v].children[0].classList.add("active"):h===v&&p[v].children[0].classList.add("active")}},{key:"isElementInViewport",value:function(h){if(!h)return!1;h=h.getBoundingClientRect();return h.top<=(window.innerHeight||document.documentElement.clientHeight)/3&&0<=h.top+h.height}}, {key:"init",value:function(){this.initCache();this.bindEvents()}}])}();t.default=k},"./source/templates/components/banner/Banner.js":function(q,t,k){k.r(t);q=k("./node_modules/@babel/runtime/helpers/classCallCheck.js");var n=k.n(q);q=k("./node_modules/@babel/runtime/helpers/createClass.js");var b=k.n(q);q=k("./node_modules/@babel/runtime/helpers/defineProperty.js");var a=k.n(q);q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js");var g=k.n(q),f=k("./source/scripts/common/common.js"), d=k("./source/scripts/utils/updateLink.js");k=function(){return b()(function h(e){var l=this;e=e.el;n()(this,h);a()(this,"cache",{});a()(this,"setSideSection",function(){var m=l.cache,p=m.$existingBanner,r=m.$sideSection,u=m.$sideSectionright,v=m.$pwBanner;m=p.outerWidth();var A=window.outerWidth/window.innerWidth*100;p=p.offset();var x=v.offset(),y=g()("body").outerWidth();if(r.length&&(100===A?r.css("width",p.left+"px"):r.css("width",p.left-x.left+"px"),g()(".pw-banner-herowrapper").length&&g()(".pw-banner-herowrapper").css("visibility", "visible")),u.length)100===A?u.css("width",y-p.left-m-48+"px"):(r=x.left+v.outerWidth(),u.css("width","".concat(r-(p.left+m),"px"))),g()(".pw-banner-herowrapper").length&&g()(".pw-banner-herowrapper").css("visibility","visible")});a()(this,"onScroll",function(){var m=window.pageYOffset||document.body.scrollTop;l.cache.calculatedHeight=l.cache.eles[l.cache.currentElement].offsetTop-16*l.cache.currentElement;0=l.cache.calculatedHeight&&(l.cache.currentElementd()(".js-pw-find-my-office__map").outerHeight()&&d()(".js-pw-find-my-office__map").height(y)});f()(this,"renderMarkerPosition",function(y,D){if(x.cache.isChinaLocale)y.offices? (D=new window.BMap.Point(y.longitude,y.latitude),x.cache.bMap.centerAndZoom(D,6)):(D=new window.BMap.Point(y.longitude,y.latitude),x.cache.bMap.centerAndZoom(D,11),x.baiduMapMarker(x.cache.bMap,y.longitude,y.latitude)),y="https://map.baidu.com/?latlng\x3d"+y.latitude+","+y.longitude+"\x26autoOpen\x3dtrue\x26l",document.querySelector(".BMap_stdMpViewMap").setAttribute("href",y);else{var w=new x.cache.googleMaps.LatLng(y.latitude,y.longitude);x.cache.marker=new x.cache.googleMaps.Marker({position:w, title:y.name,icon:"/content/dam/tetrapak/publicweb/Pin.png"});x.cache.marker.setMap(x.cache.map);x.cache.marker.setVisible(D.markerVisibility);x.cache.map.setZoom(D.mapZoomLevel||5);x.cache.map.panTo(x.cache.marker.position)}});f()(this,"resetOfficeDetails",function(){x.cache.selectedOffice={};x.renderOfficeDetailsPanel(x.cache.selectedOffice);d()(".js-pw-find-my-office__form-group__address").addClass("hide")});f()(this,"onClickCityItem",function(y){x.cache.selectedCityValue=y.target.innerText;x.cache.selectedCityValue= String(x.cache.selectedCityValue).trim();d()(".js-pw-find-my-office__form-group__address").removeClass("hide");d()(".js-pw-form__dropdown__city .js-pw-form__dropdown__city-text").text(y.target.innerText);d()(".js-pw-form__dropdown__city").attr("title",y.target.innerText);x.renderOfficeDetails(x.cache.selectedCityValue)});f()(this,"clearSelectedCities",function(){d()(".js-pw-form__dropdown__city .js-pw-form__dropdown__city-text").text(x.cache.cityFieldTextValue)});f()(this,"renderOfficeDetails",function(y){var D= 0!==Object.keys(x.cache.normalizedData).length&&x.cache.normalizedData[x.cache.selectedCountryValue].offices.filter(function(w){return w.name===y});x.cache.selectedOffice=0z+2*C;A.hasClass("icon-Close_pw")&&(v.toggle(!1),A.addClass("icon-Burgerv3_pw").removeClass("icon-Close_pw"),Object(c.c)([".tp-pw-headerv2-mobile-secondary-navigation-menu"]));B?r.shiftMainNavigationLink():w&&r.unshiftMainNavigationLink()};for(var x=!0,y=!0;x||y;){g()(window).off("resize");g()(window).on("resize",u);y=g()(window).width()-g()(".js-tp-pw-headerv2-main-navigation").width(); x=r.cache.variables.mainNavigationLinksWidthList;var D=x[x.length-r.cache.variables.nOfElementsInSubmenu];x=y<=d.HEADER_MIN_MARGIN;y=r.cache.variables.nOfElementsInSubmenu&&y>D+2*d.HEADER_MIN_MARGIN;u()}});a()(this,"shiftMainNavigationLink",function(){r.cache.variables.nOfElementsInSubmenu++;var u=r.getLastMainNavigationLink(),v=u.clone();u.css("display","none");r.root.find(".tp-pw-headerv2-submenu").prepend(v);r.root.find(".tp-pw-headerv2-submenu-wrapper").toggle(!0)});a()(this,"unshiftMainNavigationLink", function(){r.getLastMainNavigationLink().css("display","block");r.cache.variables.nOfElementsInSubmenu--;r.root.find(".tp-pw-headerv2-submenu a:first").remove();r.cache.variables.nOfElementsInSubmenu||r.root.find(".tp-pw-headerv2-submenu-wrapper").toggle(!1)});a()(this,"getLastMainNavigationLink",function(){var u=r.cache.$elements.mainNavigationLinks,v=u.length-r.cache.variables.nOfElementsInSubmenu;return g()(u[v])});a()(this,"bindSubmenuOpenEvent",function(){var u=r.root.find(".tp-pw-headerv2-submenu"), v=r.root.find(".js-submenu-icon");r.cache.variables.nOfElementsInSubmenu||r.root.find(".tp-pw-headerv2-submenu-wrapper").toggle(!1);u.toggle(!1);v.on("click",function(){r.openSubmenuEvent()})});a()(this,"openSubmenuEvent",function(){var u=r.root.find(".tp-pw-headerv2-submenu"),v=r.root.find(".js-submenu-icon");u.toggle();v.hasClass("active")?v.removeClass("active"):v.addClass("active")});a()(this,"bindSubmenuMobileOpenEvent",function(){var u=r.cache,v=u.$subMenuIcon;u.$subMenu.toggle(!1);v.on("click", function(){r.openMobileMenu()})});a()(this,"openMobileMenu",function(){var u=r.cache,v=u.$subMenu;u=u.$subMenuIcon;r.cache.$elements.searchIcon.hasClass("icon-Close_pw")&&(g()(".tp-pw-headerv2-searchbar-wrapper").removeClass("show"),r.cache.$elements.searchIcon.addClass("icon-Search_v3-pw"),r.cache.$elements.searchIcon.removeClass("icon-Close_pw"));(v.toggle(),u.hasClass("icon-Burgerv3_pw"))?(u.addClass("icon-Close_pw").removeClass("icon-Burgerv3_pw"),g()("body").css("overflow","hidden"),r.cache.$subMenuHamburgerIcon.attr("aria-expanded", "true")):(u.addClass("icon-Burgerv3_pw").removeClass("icon-Close_pw"),Object(c.c)([".tp-pw-headerv2-mobile-secondary-navigation-menu"]),r.cache.$subMenuHamburgerIcon.attr("aria-expanded","false"))});a()(this,"bindMarketSelectorOpenEvent",function(){r.root.find(".js-header__selected-lang-pw").on("click",function(u){r.openMarketSelector(u)})});a()(this,"bindLinkClickEvent",function(){r.root.find(".tp-pw-header-menu-analytics").on("click",function(u){u.target.closest("a")&&(u=u.target.closest("a"),u= {linkType:"_blank"===u.getAttribute("target")?"external":"internal",linkSection:"Header - Hyperlink click",linkParentTitle:"",linkName:u.textContent.trim()},Object(f.a)(u,"linkClick","linkClick",void 0,!1,{eventType:"linkClick",event:"Header menu"}))})});a()(this,"bindMegaMenuLinkClickAnalyticEvent",function(){g()(document).find(".tp-pw-megamenu__analytics, .tp-pw-megamenu-mobile__analytics").on("click",function(u){var v,A=u.target.closest(".tp-pw-megamenuteaser__image-link--gradient"),x=null===(v= u.target.closest(".tp-pw-megamenuteaser__image-link"))||void 0===v?void 0:v.querySelector("h2");v={navigationLinkName:u.currentTarget.textContent.trim(),navigationSection:"Header Navigation"};u={linkType:"_blank"===u.target.getAttribute("target")?"external":"internal",linkSection:A?"MegaMenu - Teaser Image":"MegaMenu - Hyperlink click",linkParentTitle:"",linkName:A?null==x?void 0:x.textContent.trim():u.target.textContent.trim()};Object(f.a)(v,"navigation","navigationClick",void 0,!1,{eventType:"navigation click", event:"Header Mega menu"},u)})});a()(this,"openMarketSelector",function(){g()(".js-lang-modal").trigger("showlanuagepreferencepopup-pw")});a()(this,"bindMegaMenuLinkHoverEvent",function(){var u=r.cache.$elements.backdrop;r.root.find(".tp-pw-headerv2-main-navigation \x3e a").each(function(v){var A=function(F){return".js-megamenu-".concat(F)},x=g()(this),y=g()(A(v)),D=g()(".tp-pw-headerv2-first-row"),w=g()(".tp-pw-headerv2-megamenu"),B=function(){var F=0v&&(x>A?u.addClass("scrollUp").removeClass("scrollDown"):u.removeClass("scrollUp").addClass("scrollDown"),A=x)})});a()(this,"scrollOnHoverbody",function(){g()(".tp-pw-headerv2-megamenu").on("mousewheel DOMMouseScroll",function(u){var v= null;"mousewheel"===u.type?v=-1*u.originalEvent.wheelDelta:"DOMMouseScroll"===u.type&&(v=40*u.originalEvent.detail);v&&(u.preventDefault(),g()(this).scrollTop(v+g()(this).scrollTop()))})});a()(this,"bindEvents",function(){var u=r.cache,v=u.$logo,A=u.$skipToContent;u=u.$skipToNavs;if(r.throttleScroll(),r.scrollOnHoverbody(),r.bindWindowSizeChangeEvent(),r.bindSubmenuOpenEvent(),r.bindSubmenuMobileOpenEvent(),r.bindMegaMenuLinkHoverEvent(),r.bindMarketSelectorOpenEvent(),r.bindLinkClickEvent(),r.setBackdropPosition(), r.bindSearchIconClickEvent(),r.bindMegaMenuLinkMobileClickEvent(),r.bindMegaMenuLinkClickAnalyticEvent(),c.i){var x=g()(".first-row-nav").outerWidth();1366>=g()(window).outerWidth()?(g()(".tp-pw-headerv2-megamenu").css("width",x),g()(".tp-pw-megamenuconfigv2").css("width",x)):(g()(".tp-pw-headerv2-megamenu").css("width",x-96),g()(".tp-pw-megamenuconfigv2").css("width",x-96))}g()(A).on("click",function(){r.trackSkipLinksAnalytics(this)});g()(u).on("click",function(){r.trackSkipLinksAnalytics(this)}); v.on("click",function(){Object(f.a)({linkType:"internal",linkSection:"Header - Hyperlink click",linkParentTitle:"",linkName:"Tetrapak Logo"},"linkClick","linkClick",void 0,!1,{eventType:"linkClick",event:"Header Menu"})});var y=g()(".js-tp-pw-headerv2-main-navigation-link");y.each(function(D){g()(this).on("keydown",function(w){if(" "===w.key||"Spacebar"===w.key||"Enter"===w.key)w.preventDefault(),w=g()(this).data("megamenu-target"),y.removeClass("active").attr("aria-expanded","false"),g()(this).addClass("active").attr("aria-expanded", "true"),r.showHideMegaMenu(w,D)})})});a()(this,"trackSkipLinksAnalytics",function(u){u={linkType:"internal",linkSection:"hyperlink click",linkParentTitle:"Header: Accessibility",linkName:g()(u).data("link-name")};Object(f.a)(u,"linkClick","linkClick",void 0,!1,{eventType:"linkClick",event:"Header"})});a()(this,"buildMegaMenu",function(){var u=r.cache.megaMenuPaths;g()(".tp-pw-megamenuconfigv2").each(function(){u.push(g()(this).attr("data-model-json-path"))})});this.root=g()(m)},[{key:"showHideMegaMenu", value:function(m,p){var r=g()(".js-tp-pw-headerv2-main-navigation-link"),u=g()(".js-tp-pw-headerv2-main-navigation-link.active"),v=g()(".tp-pw-headerv2-megamenu"),A=g()("#"+m);m=g()("#"+m).find("a");v.addClass("hidden");A.removeClass("hidden");m.first().focus();g()(m).last().on("focusout",function(){v.addClass("hidden");r.length-1===p?(g()(".tp-pw-headerv2-search-wrapper").find("button").focus(),g()(".js-tp-pw-headerv2-main-navigation-link").removeClass("active").attr("aria-expanded","false")):u.removeClass("active").next().focus()}); g()(m).first().on("keydown",function(x){x.shiftKey&&"Tab"===x.key&&(g()(".js-tp-pw-headerv2-main-navigation-link.active").focus().removeClass("active").attr("aria-expanded","false"),v.addClass("hidden"))})}},{key:"init",value:function(){this.initCache();this.bindEvents();this.buildMegaMenu()}}])}();t.default=k},"./source/templates/components/image/Image.js":function(q,t,k){k.r(t);q=k("./node_modules/@babel/runtime/helpers/classCallCheck.js");var n=k.n(q);q=k("./node_modules/@babel/runtime/helpers/createClass.js"); var b=k.n(q);q=k("./node_modules/@babel/runtime/helpers/defineProperty.js");var a=k.n(q);q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js");var g=k.n(q),f=k("./source/scripts/utils/updateLink.js"),d=k("./source/scripts/utils/analytics.js");k=function(){return b()(function h(e){e=e.el;n()(this,h);a()(this,"cache",{});a()(this,"trackAnalytics",function(l){l.preventDefault();l=g()(l.target).closest(".js-tp-pw-image");var m={linkType:"_blank"===l.attr("target")?"external": "internal",linkName:"not available",linkSection:"ImageClick",linkParentTitle:""};Object(d.a)(m,"linkClick","linkClick",void 0,!1,{eventType:"linkClick",event:"image"});Object(f.d)(g()(l).attr("href"))?window.open(l.attr("href"),"_blank"):window.open(l.attr("href"),"_self")});this.root=g()(e)},[{key:"initCache",value:function(){this.cache.$imageAnchor=this.root.find(".js-tp-pw-image")}},{key:"bindEvents",value:function(){this.cache.$imageAnchor.on("click",this.trackAnalytics)}},{key:"init",value:function(){this.initCache(); this.bindEvents()}}])}();t.default=k},"./source/templates/components/managepreferences/ManagePreferences.js":function(q,t,k){function n(h,l){var m=Object.keys(h);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(h);l&&(p=p.filter(function(r){return Object.getOwnPropertyDescriptor(h,r).enumerable}));m.push.apply(m,p)}return m}function b(h){for(var l=1;l=window.innerWidth&&m.each(function(){g()(this).find("img").addClass("load-mega-menu-dynamic-media")})});a()(this,"handleCloseEvent",function(){var m=l.cache,p=m.$bottomTeaser;m.$megamenuBottom.css({height:"auto"});p.removeClass("active").addClass("hide")});a()(this,"trackAnalytics", function(m){m.preventDefault();var p=g()(m.target),r=p.parent().attr("href");p=p.closest(".js-navigation-Link");var u=p.data("link-section"),v=p.data("link-name");var A=p.data("link-title");u={navigationLinkName:v,navigationSection:u};A={linkType:p.find("i.icon")&&p.find("i.icon").is(".icon-Union, .icon-Download")?"external":"internal",linkSection:"hyperlink click",linkParentTitle:"",linkName:A};Object(d.a)(u,"navigation","navigationClick",void 0,!1,{eventType:"navigation click",event:"Navigation"}, A);r&&(m.metaKey||m.ctrlKey||91===m.keyCode||224===m.keyCode?window.open(p.attr("href"),"_blank"):window.open(p.attr("href"),"_self"))});a()(this,"handleOpenEvent",function(m){m.preventDefault();m=l.cache;var p=m.$megamenuBottom;m.$bottomTeaser.addClass("active").removeClass("hide");p.css({height:"0px"})});this.root=g()(e)},[{key:"initCache",value:function(){this.cache.$menuOpener=this.root.find(".js-open-menu");this.cache.$menuCloser=this.root.find(".js-close-menu");this.cache.$bottomTeaser=this.root.find(".js-bottom-teaser-list"); this.cache.$megamenuBottom=this.root.find(".pw-megamenu__bottom");this.cache.$navigationLink=this.root.find(".js-navigation-Link");this.cache.$megaMenuNavCol=this.root.find(".pw-mega-menu-col")}},{key:"bindEvents",value:function(){var e=this,h=this.cache,l=h.$menuCloser,m=h.$navigationLink;h.$menuOpener.on("click",this.handleOpenEvent);l.on("click",this.handleCloseEvent);m.on("click",this.trackAnalytics);this.loadMegaMenuCol();g()(window).resize(function(){e.loadMegaMenuCol()})}},{key:"isMobileMode", value:function(){return f.l.apply(void 0,arguments)}},{key:"iEFix",value:function(){0=m||4>r)for(r=1;r<=m;r++)p.push(n(r,l));else if(rr;v&&p.push({isEllipsis:!0});v=v?u:2;u=v+r-1;u>m-1&&(v=m-r,u=m-1);for(r=v;r<=u;r++)p.push(n(r,l));u=B,prevPage:B-1,nextPage:B+1,nextDisabled:B>=z};C=Object(v.a)(C,w.cache.activePage,w.cache.itemsPerPage,3);"events"===w.cache.searchLandingType|| "cases"===w.cache.searchLandingType||"news"===w.cache.searchLandingType?B<=z&&m.a.fn({template:"tablePagination",data:C,target:w.cache.$pagination}):B<=z&&m.a.fn({template:"searchPagination",data:F,target:w.cache.$pagination})});this.root=e()(y)},[{key:"initCache",value:function(){this.cache.$clearBtn=this.root.find(".js-search-close");this.cache.$searchBtn=this.root.find(".js-search-results");this.cache.$filterBoxToggleAction=this.root.find(".js-search-filter-toggle");this.cache.$searchBoxToggle= e()(".js-tp-pw-header__search-box-toggle");this.cache.$applyFilterBtn=this.root.find(".js-apply-filter");this.cache.$filterChecks=e()(".js-pw-search-results-filter-check",this.root);this.cache.$searchInput=e()(".js-pw-search-input",this.root);this.cache.servletPath=this.root.data("servlet");this.cache.$filterRemoveBtn=this.root.find(".js-filter-remove");this.cache.$spinner=this.root.find(".pw-search-results__spinner");this.cache.$searchResultLink=this.root.find(".pw-search-results__results-list__item__title-link"); this.cache.results=[];this.cache.queryParams="";this.cache.$resultsList=e()(".js-pw-search-results__results-list",this.root);this.cache.$searchResultsTitle=e()(".js-pw-search-results__title",this.root);this.cache.resultsTitle=this.cache.$searchResultsTitle.data("resultsTitle");this.cache.noResultsText=this.cache.$searchResultsTitle.data("noResultsText");this.cache.emptyFieldText=this.cache.$searchResultsTitle.data("emptyField");this.cache.resultSearchTermText=this.cache.$searchResultsTitle.data("resultSearchTerm"); this.cache.$pagination=e()(".js-pagination",this.root);this.cache.$searchLandingList1=e()(".pw-search-result-head");this.cache.searchParams={searchTerm:"",contentType:{},theme:{},page:1};this.cache.totalPages=0;this.cache.totalResultCount=0;this.cache.searchLandingType=e()(".pw-search-result-head").data("type");this.cache.searchLandingServletPath=e()(".pw-search-result-head").data("servlet");"events"===this.cache.searchLandingType||"cases"===this.cache.searchLandingType||"news"===this.cache.searchLandingType? (e()(".left-wrapper-filter").addClass("display-none"),e()(".pw-search-results__filters__theme").addClass("padding-none")):(e()(".left-wrapper-filter").removeClass("display-none"),e()(".pw-search-results__filters__theme").removeClass("padding-none"));this.cache.activePage=r.a;this.cache.itemsPerPage=r.h}},{key:"bindEvents",value:function(){var y=this,D=this.cache,w=D.$clearBtn,B=D.$searchInput,z=D.$filterBoxToggleAction,C=D.$searchBtn,F=D.$filterRemoveBtn,E=D.$pagination;D.$applyFilterBtn.on("click", this.applyFilters);z.on("click",this.toggleFilterContainer);e()(".js-filter-container-chips").on("click",F,this.removeFilter);e()(window).on("popstate",this.windowPopStateHandler);E.on("click",".js-page-number",this.renderPaginationResult);e()(".pw-search-results__results").on("click",".js-asset-download",function(G){G.preventDefault();var K=e()(this).closest(".js-asset-download");G=K.attr("href");K=K.data("assetExtension");Object(h.saveAs)(G,"download.".concat(K))});this.root.on("click",".pw-search-results__results-list__item__title-link", this.searchResultLinkAnalytics);this.cache.$filterChecks.change(function(G){G=e()(G.target);var K=G.data("category"),H=G.attr("id"),N=G.val();G[0].checked?y.cache.searchParams[K][H]=N:delete y.cache.searchParams[K][H]});w.on("click",function(){B.val("");e()(this).closest(".pw-search-bar__icons__close").removeClass("d-flex")});C.on("click",this.searchBtnHandler);B.keyup(function(G){""!==e()(G.target).val().trim()?e()(".pw-search-bar__icons__close").addClass("d-flex"):e()(".pw-search-bar__icons__close").removeClass("d-flex"); 13===G.keyCode&&y.searchBtnHandler()})}},{key:"init",value:function(){this.initCache();this.bindEvents();this.extractQueryParams();this.search()}}])}();t.default=k},"./source/templates/components/sectionMenu/SectionMenu.js":function(q,t,k){k.r(t);q=k("./node_modules/@babel/runtime/helpers/classCallCheck.js");var n=k.n(q);q=k("./node_modules/@babel/runtime/helpers/createClass.js");var b=k.n(q);q=k("./node_modules/@babel/runtime/helpers/defineProperty.js");var a=k.n(q);q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js"); var g=k.n(q),f=(k("../../../tetrapak-commons/ui.dev/src/node_modules/bootstrap/dist/js/bootstrap.js"),k("./source/scripts/common/common.js")),d=k("./source/scripts/utils/analytics.js");k=function(){return b()(function h(e){var l=this;e=e.el;n()(this,h);a()(this,"cache",{});a()(this,"handleSectionMenuClick",function(m){m.preventDefault();var p=g()(m.target).closest(".js-section-menu-item-link"),r=p.find("i.icon:not(.is-external)");Object(f.k)()&&0p.left?m.children(".js-sub-menu-navigation-Link").addClass("show-modal-from-left"):p&&p.right>(window.innerWidth||document.documentElement.clientWidth)&&m.children(".js-sub-menu-navigation-Link").addClass("show-modal-from-right")});a()(this, "handleSectionMenuItemMouseOut",function(m){var p=l.cache.$overlay;m=g()(m.target).closest(".js-section-menu-navigation-Link");var r=m.children("a");m.find(".js-sub-menu-navigation-Link").removeClass("show").attr("aria-hidden","true").attr("aria-expanded","false");r.children(".with-arrow").removeClass("icon-up");p.addClass("d-none")});this.root=g()(e)},[{key:"initCache",value:function(){this.cache.$sectionMenuItem=this.root.find(".js-section-menu-navigation-Link");this.cache.$overlay=g()(".js-pw-overlay")}}, {key:"bindEvents",value:function(){var e=this.cache.$sectionMenuItem;e.on("mouseover",this.handleSectionMenuItemMouseOver);e.on("mouseout",this.handleSectionMenuItemMouseOut);g()(".js-section-menu-item-link").off().on("click",this.handleSectionMenuClick);g()(".js-sub-menu-navigation-link-item").off().on("click",this.handleSubSectionMenuClick);g()(".js-section-menu-item-link:not(:has(.icon:not(.is-external)))").each(function(){g()(this).on("click",function(h){h.stopPropagation()})})}},{key:"init", value:function(){this.initCache();this.bindEvents()}}])}();t.default=k},"./source/templates/components/socialsidebar/SocialSidebar.js":function(q,t,k){k.r(t);q=k("./node_modules/@babel/runtime/helpers/classCallCheck.js");var n=k.n(q);q=k("./node_modules/@babel/runtime/helpers/createClass.js");var b=k.n(q);q=k("./node_modules/@babel/runtime/helpers/defineProperty.js");var a=k.n(q);q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js");var g=k.n(q),f=k("./source/scripts/utils/analytics.js"); k=function(){return b()(function e(c){var h=this;c=c.el;n()(this,e);a()(this,"cache",{});a()(this,"showPopup",function(){h.cache.$imageModal.modal()});this.root=g()(c)},[{key:"initCache",value:function(){this.cache.$socialLink=this.root.find(".tp-pw-sidebar__link");this.cache.$imageModal=this.root.find(".js-qrCode-modal");this.cache.$closeModal=this.root.find(".js-close-btn")}},{key:"bindEvents",value:function(){var c=this;this.cache.$socialLink.on("click",function(e){e.preventDefault();c.showPopup(); e={linkType:"external",linkSection:"hyperlink click",linkParentTitle:"SocialSidebar",linkName:g()(this).data("link-name")};Object(f.a)(e,"linkClick","linkClick",void 0,!1,{eventType:"linkClick",event:"Sidebar - Social Share"})});this.cache.$closeModal.on("click",function(e){e.preventDefault();c.cache.$imageModal.modal("hide")})}},{key:"init",value:function(){this.initCache();this.bindEvents()}}])}();t.default=k},"./source/templates/components/softconversion/Softconversion.js":function(q,t,k){k.r(t); q=k("./node_modules/@babel/runtime/helpers/classCallCheck.js");var n=k.n(q);q=k("./node_modules/@babel/runtime/helpers/createClass.js");var b=k.n(q);q=k("./node_modules/@babel/runtime/helpers/defineProperty.js");var a=k.n(q);q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js");var g=k.n(q),f=(k("../../../tetrapak-commons/ui.dev/src/node_modules/bootstrap/dist/js/bootstrap.js"),k("./source/scripts/utils/searchDropDown.js")),d=k("./source/scripts/utils/ajax.js"),c=k("./source/scripts/utils/constants.js"), e=k("./source/scripts/utils/updateLink.js"),h=k("./source/scripts/common/common.js"),l=k("./source/templates/components/softconversion/softconversion.analytics.js"),m=k("./source/scripts/utils/utm.js");k=function(){return b()(function u(r){var v=this;r=r.el;n()(this,u);a()(this,"cache",{});a()(this,"onKeydown",function(A,x){g()(".dropdown-menu").hasClass("show")&&f.a.call(v,A,x)});a()(this,"getCountryList",function(){g()(".country-dropdown-select \x3e a").map(function(){var A=g()(this)[0];v.cache.countryList.push(g()(A).data("title"))}); g()(".country-dropdown, .country-dropdown-select").keydown(function(A){return v.onKeydown(A,v.cache.countryList)})});a()(this,"getPositionList",function(){g()(".position-dropdown-select \x3e a").map(function(){var A=g()(this)[0];v.cache.positionList.push(g()(A).data("title"))});g()(".position-dropdown, .position-dropdown-select").keydown(function(A){return v.onKeydown(A,v.cache.positionList)})});a()(this,"getFunctionList",function(){g()(".function-dropdown-select \x3e a").map(function(){var A=g()(this)[0]; v.cache.functionList.push(g()(A).data("title"))});g()(".function-dropdown, .function-dropdown-select").keydown(function(A){return v.onKeydown(A,v.cache.functionList)})});a()(this,"onRadioChangeHandler",function(A){var x=v.cache.requestPayload,y=A.target.value||g()(A.target).data("persist-val"),D=A.target.id,w="typeOfVisitorTitle-".concat(v.cache.$componentName);g()(A.target).val(y);A=g()('label[for\x3d"'+D+'"]').text().trim();g()("input[type\x3dhidden][name\x3d".concat(w,"]")).val(A);x.typeOfVisitor= D;x.typeOfVisitorTitle=y});a()(this,"downloadHandler",function(A){var x=g()(A.target).closest(".thankyouTarget");A=x.data("downloadlink");g()(".tab-pane.tab-".concat(v.cache.$componentName),v.root).removeClass("active");g()("#cf-step-thankyou-".concat(v.cache.$componentName),v.root).addClass("active");x={linkType:Object(e.d)(A)?"external":"internal",linkSection:x.data("link-section"),linkParentTitle:x.data("parent-title"),linkName:x.data("link-name"),dwnDocName:x.data("asset-name"),dwnDocUrl:A,dwnType:"gated", dwnSource:""};Object(l.downloadLinkTrack)(x,"downloadClick",v.cache.$parentComponent);window.open(A,"_blank")});a()(this,"moreBtnHandler",function(A){A.preventDefault();A.stopPropagation();A=g()(A.target).closest(".moreButton-".concat(v.cache.$componentName));var x=A.attr("href"),y={linkType:Object(e.d)(x)?"external":"internal",linkSection:A.data("link-section"),linkParentTitle:A.data("parent-title"),linkName:A.data("link-name")};Object(l.downloadLinkTrack)(y,"linkClick",v.cache.$parentComponent); window.open(x,A.attr("target"))});a()(this,"notMeBtnHandler",function(){var A=v.cache,x=A.$userUnknown;A=A.$partiallyUser;Object(h.l)()&&g()(".pw-sf_body_".concat(v.cache.$componentName)).css("align-items","normal");g()(".tab-pane.tab-".concat(v.cache.$componentName),v.root).removeClass("active");g()(".heading_".concat(v.cache.$componentName),v.root).text(g()("#heading_".concat(v.cache.$componentName)).val());A.hide();x.show();x.find("input").each(function(){"radio"!==g()(this).attr("type")&&g()(this).attr("required", "required")});g()("#cf-step-1-".concat(v.cache.$componentName),v.root).addClass("active");Object(l.changeStepNext)(v.cache.$preFix+"Welcome back",{"return Type":g()(".notmebtn-".concat(v.cache.$componentName,"[type\x3dbutton]")).text().trim()},v.cache.$parentComponent,v.getFormHandler(),"formreturn-no");v.cache.inputFields.each(function(){"radio"!==g()(this).attr("type")&&g()(this).val("");g()(this).prop("checked",!1)});g()(".tpatom-check__field").prop("checked",!1);g()(".privacy-policy-consent \x3e .row").removeClass("field-error"); A.find("input").each(function(){g()(this).removeAttr("required")});g()(".dropdown-item").removeClass("active");g()(".dropdown-toggle span").each(function(){g()(this).text(g()(this).data("placeholder"))});v.resetCookies()});a()(this,"yesMeBtnHandler",function(){var A=v.cache,x=A.$userUnknown,y=A.$partiallyUser,D=A.$formSuccess,w=A.$formError;A=parseInt(h.s.getCookie("userType"),10);if(1===A){x.hide();x.find("input").each(function(){g()(this).removeAttr("required")});var B=g()(".marketing-consent").find("input"); g()(B).prop("checked",!1);B=g()(".privacy-policy-consent").find("input");g()(B).prop("checked",!1);g()(".tab-pane.tab-".concat(v.cache.$componentName),v.root).addClass("active");g()("#cf-step-thankyou-".concat(v.cache.$componentName),v.root).removeClass("active");g()("#cf-step-welcomeback-".concat(v.cache.$componentName),v.root).removeClass("active");g()("#cf-step-downloadReady-".concat(v.cache.$componentName),v.root).removeClass("active");g()(".heading_".concat(v.cache.$componentName),v.root).text(g()("#heading_".concat(v.cache.$componentName)).val()); y.find("input").each(function(){g()(this).attr("required","required")});y.show()}if(1A){var y=[];x=[];var D=n()(v)}else if(6<=A)if(A=Math.floor(A/6),y=v.slice(0,6),1===A)x=[],D=v.slice(6,v.length); else if(1=B.length&&(D=0):"ArrowUp"===z.key&&0>--D&&(D=B.length-1),B[D].setAttribute("tabindex",0),B[D].focus())})})}},{key:"pauseVideoIfExists", value:function(){Object(e.e)(f()(this).find(".is-playing"))}},{key:"addLinkAttr",value:function(){f()(".js-tablist__event-detail-description-link").each(function(){var m=f()(this).attr("href");m&&(Object(c.d)(m)?(f()(this).attr("target","_blank"),f()(this).data("download-type","download"),f()(this).data("link-section",f()(this).data("link-section")+"_Download"),f()(this).attr("rel","noopener noreferrer")):f()(this).data("download-type","hyperlink"))})}},{key:"init",value:function(){this.initCache(); this.bindEvents();this.renderFirstTab();this.addLinkAttr()}}])}();t.default=k},"./source/templates/components/teaser/teaser.js":function(q,t,k){k.r(t);q=k("./node_modules/@babel/runtime/helpers/classCallCheck.js");var n=k.n(q);q=k("./node_modules/@babel/runtime/helpers/createClass.js");var b=k.n(q);q=k("./node_modules/@babel/runtime/helpers/defineProperty.js");var a=k.n(q);q=k("../../../tetrapak-commons/ui.dev/src/node_modules/jquery/dist/jquery.js");var g=k.n(q),f=(k("./node_modules/owlcarousel/dist/owl.carousel.js"), k("./source/scripts/common/common.js"));k=function(){return b()(function e(c){var h=this;c=c.el;n()(this,e);a()(this,"cache",{});a()(this,"carousalInitialization",function(){h.cache.option.stagePaddingRight=1023