db-web-online.app Open in urlscan Pro
172.67.199.174  Public Scan

Submitted URL: http://db-web-online.app/assets/js/clientlib-site.fe7cc89839160ad2be6e9d59817e4403.js
Effective URL: https://db-web-online.app/assets/js/clientlib-site.fe7cc89839160ad2be6e9d59817e4403.js
Submission: On August 23 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

window.db = window.db || {};
window.db.fireClickTracking = function(trackRegion, trackVal, trackMode, triggerElement) { };
window.db.createTrackValues = function(filter) { };

/*! For license information please see main.js.LICENSE */
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=417)}([function(t,e,i){"use strict";i.r(e),i.d(e,"keyCodes",(function(){return s})),i.d(e,"statics",(function(){return l}));var n=i(13);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,a;return e=t,a=[{key:"sc",value:function(){return{body:document.body,element:document.documentElement,stepTime:10,redirectParameterNameJumpMark:"moveto",customEventNameJumpMark:"triggerOpenAction",fromCustomPrint:"from-custom-print"}}},{key:"bp",value:function(){return{XS:480,S:600,M:768,L:1024,XL:1280}}},{key:"mq",value:function(){return{XS_DOWN:"screen and (max-width: ".concat(t.bp().XS,"px)"),XS_BELOW:"screen and (max-width: ".concat(t.bp().XS-1,"px)"),XS_ABOVE:"screen and (min-width: ".concat(t.bp().XS+1,"px)"),XS_TO_S:"screen and (min-width: ".concat(t.bp().XS,"px) and (max-width: ").concat(t.bp().S-1,"px)"),S_DOWN:"screen and (max-width: ".concat(t.bp().S,"px)"),S_BELOW:"screen and (max-width: ".concat(t.bp().S-1,"px)"),S_MAX:"screen and (max-width: ".concat(t.bp().S,"px)"),S_MIN:"screen and (min-width: ".concat(t.bp().S,"px)"),S_ABOVE:"screen and (min-width: ".concat(t.bp().S+1,"px)"),S_UP:"screen and (min-width: ".concat(t.bp().S,"px)"),S_TO_M:"screen and (min-width: ".concat(t.bp().S,"px) and (max-width: ").concat(t.bp().M-1,"px)"),S_TO_L:"screen and (min-width: ".concat(t.bp().S,"px) and (max-width: ").concat(t.bp().L-1,"px)"),M_BELOW:"screen and (max-width: ".concat(t.bp().M-1,"px)"),M_DOWN:"screen and (max-width: ".concat(t.bp().M,"px)"),M_UP:"screen and (min-width: ".concat(t.bp().M,"px)"),M_MIN:"screen and (min-width: ".concat(t.bp().M,"px)"),M_ABOVE:"screen and (min-width: ".concat(t.bp().M+1,"px)"),M_TO_L:"screen and (min-width: ".concat(t.bp().M,"px) and (max-width: ").concat(t.bp().L-1,"px)"),M_BELOW_TO_L:"screen and (min-width: ".concat(t.bp().M-1,"px) and (max-width: ").concat(t.bp().L-1,"px)"),L_BELOW:"screen and (max-width: ".concat(t.bp().L-1,"px)"),L_UP:"screen and (min-width: ".concat(t.bp().L,"px)"),L_MIN:"screen and (min-width: ".concat(t.bp().L,"px)"),L_TO_XL:"screen and (min-width: ".concat(t.bp().L,"px) and (max-width: ").concat(t.bp().XL-1,"px)"),L_BELOW_TO_XL:"screen and (min-width: ".concat(t.bp().L-1,"px) and (max-width: ").concat(t.bp().XL-1,"px)"),XL_UP:"screen and (min-width: ".concat(t.bp().XL,"px)")}}},{key:"getSwiperA11yDE",value:function(){return{prevSlideMessage:"Zum vorherigen Slide wechseln",nextSlideMessage:"Zum nächsten Slide wechseln",firstSlideMessage:"Das ist der erste Slide des fokusierten Sliders",lastSlideMessage:"Das ist der letzte Slide des fokusierten Sliders",paginationBulletMessage:"Zum {{index}}ten Slide wechseln"}}},{key:"getWordingDe",value:function(){return{showMoreContent:"Weitere Inhalte anzeigen"}}},{key:"equalizeHeight",value:function(t){var e,i=t,n=0,r=0;if(i&&i.length>0){for(r=i.length,e=0;e<r;e++)i[e].style.height="",i[e].clientHeight>n&&(n=i[e].clientHeight);for(e=0;e<r;e++)i[e].style.height="".concat(n,"px")}}},{key:"getWindowHeight",value:function(){return Math.max.apply(Math,[window.innerHeight,t.sc().element.clientHeight,t.sc().body.clientHeight])}},{key:"getWindowWidth",value:function(){return Math.max.apply(Math,[window.innerWidth,t.sc().element.clientWidth,t.sc().body.clientWidth])}},{key:"debounce",value:function(t,e,i){var n,r=this;return function(){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];var l=r,c=function(){n=null,i||t.apply(l,a)},u=i&&!n;clearTimeout(n),n=setTimeout(c,e),u&&t.apply(l,a)}}},{key:"addClassToSelection",value:function(t,e){if(t&&t.length)for(var i=t.length-1;i>=0;--i){var n=t[i];n&&n.classList&&n.classList.add(e)}else t&&t.classList&&t.classList.add(e)}},{key:"removeClassFromSelection",value:function(t,e){if(t&&t.length)for(var i=t.length-1;i>=0;--i){var n=t[i];n&&n.classList&&n.classList.remove(e)}else t&&t.classList&&t.classList.remove(e)}},{key:"query",value:function(t,e){var i=e||document;if(/^(#?[\w-]+|\.[\w.-]+)$/.test(t))switch(t.charAt(0)){case"#":return[document.getElementById(t.substr(1))];case".":var n=t.substr(1).replace(/\./g," ");return[].slice.call(i.getElementsByClassName(n));default:return[].slice.call(i.getElementsByTagName(t))}return[].slice.call(i.querySelectorAll(t))}},{key:"isChildOf",value:function(t,e){for(var i=t;i&&i.parentNode;){if(i===e)return!0;i=i.parentNode}return!1}},{key:"getURLParam",value:function(t){var e=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"),i="[\\?&]".concat(e,"=([^&#]*)"),n=new RegExp(i).exec(window.location.href);return null===n?"":n[1]}},{key:"getUrlParams",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,e={},i="?"===t[0]?t.substring(1):t,n=i.split("&"),r=0;r<n.length;r++){var o=n[r].indexOf("=");if(-1!==o){var a=n[r].substring(0,o),s=n[r].substring(o+1);s=decodeURIComponent(s),e[a]=s}}return e}},{key:"addURLParam",value:function(e,i,n){if(t.isEmptyText(e)||t.isEmptyText(n))return e;var r=e;return r+=-1===e.indexOf("?")?"?":"&",r+="".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(n))}},{key:"replaceURLParam",value:function(t,e,i){var n,r=new RegExp("[\\?&]".concat(e,"=([^&#]*)")),o=r.exec(t);return null===o?(n=/\?/.test(t)?"&":"?","".concat(t).concat(n).concat(e,"=").concat(encodeURIComponent(i))):(n=o[0].charAt(0),t.replace(r,"".concat(n).concat(e,"=").concat(encodeURIComponent(i))))}},{key:"getAjax",value:function(t,e,i){var n=new window.XMLHttpRequest;return n.open("GET",t,!0),n.onreadystatechange=function(){4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?e(n.responseText):"function"==typeof i&&i())},n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(null),n}},{key:"postAjax",value:function(e){var i=e.url,n=e.data,r=e.success,o=e.error,a=new window.XMLHttpRequest;return a.open("POST",i,!0),a.onreadystatechange=function(){4===a.readyState&&(a.status>=200&&a.status<300||304===a.status?r(a.responseText):"function"==typeof o&&o(a.responseText,a.status))},a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.send(t.getFormEncodedString(n)),a}},{key:"getFormEncodedString",value:function(t){return Array.isArray(t)?t.map((function(t){return"".concat(t[0],"=").concat(encodeURIComponent(t[1]))})).join("&"):""}},{key:"escapeRegExp",value:function(t){return t.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}},{key:"localizeValue",value:function(e){var i=e.value,n=e.numberOfDecimals,r=e.currencyCode,o=void 0===r?"":r;return i?("string"!=typeof i&&(i="".concat(i)),n&&(i=i.slice(0,-1*n)),o&&(o=" ".concat(o)),t.escapeRegExp(i).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")+o):""}},{key:"setHeight",value:function(t,e){var i=t;return i.style.height=void 0!==e?"".concat(e,"px"):"auto",i}},{key:"getOuterHeight",value:function(t){var e=t.offsetHeight,i=window.getComputedStyle(t);return["top","bottom"].map((function(t){return window.parseInt(i["margin-".concat(t)])})).reduce((function(t,e){return t+e}),e)}},{key:"getClientHeight",value:function(t){return t.clientHeight}},{key:"getClientWidth",value:function(t){return t.clientWidth}},{key:"emptyElement",value:function(t){for(;null!==t.firstChild;)t.removeChild(t.firstChild)}},{key:"transliterate",value:function(t){var e={"ä":"ae","ö":"oe","ü":"ue","ß":"ss"};return t.replace(/[äöüß]/gi,(function(t){return e[t.toLowerCase()]}))}},{key:"slugify",value:function(t){var e="àáäâãåèéëêìíïîòóöôùúüûñçßÿœæŕśńṕẃǵǹḿǘẍźḧ·/_,:;",i=new RegExp("[".concat(e,"]"),"g");return t.toString().toLowerCase().replace(/\s+/g,"-").replace(i,(function(t){return"aaaaaaeeeeiiiioooouuuuncsyoarsnpwgnmuxzh------".charAt(e.indexOf(t))})).replace(/&/g,"-and-").replace(/--+/g,"-").replace(/^-+/,"")}},{key:"getStyle",value:function(t,e){var i="";return window.getComputedStyle&&(i=window.getComputedStyle(t,"").getPropertyValue(e)),i}},{key:"getAllSiblings",value:function(t,e){var i=[];t=t.parentNode.firstChild;do{e&&!e(t)||t.nodeType&&1===t.nodeType&&i.push(t),t=t.nextSibling}while(null!==t);return i}},{key:"getClosestParentWithClass",value:function(t,e){for(;t.parentElement&&!t.parentElement.classList.contains(e);)t=t.parentElement;return t.parentElement}},{key:"insertAfter",value:function(t,e){return e.parentNode.insertBefore(t,e.nextSibling)}},{key:"getElementOffsetTop",value:function(t){return t.getBoundingClientRect().top}},{key:"getDocumentOffsetTop",value:function(){var e=[t.sc().body.scrollTop,t.sc().element.scrollTop,window.scrollY];return e=this.removeUndefined(e),Math.max.apply(null,e)}},{key:"nodeCheck",value:function(t){return t.nodeType&&1===t.nodeType}},{key:"removeUndefined",value:function(t){return t.filter((function(t){return void 0!==t}))}},{key:"isEmptyText",value:function(t){return null==t||"string"==typeof t&&0===t.length}},{key:"getIndexByClass",value:function(t,e){return t.length?t.reduce((function(t,i,n){return i.classList.contains(e)&&(t=n),t}),0):0}},{key:"isVisible",value:function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))}},{key:"getCenterValues",value:function(e,i){var n=t.getWindowWidth(),r=window.innerHeight;return window.innerHeight||(r=document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height),{top:r/2-i/2+(void 0!==window.screenTop?window.screenTop:window.screen.top),left:n/2-e/2+(void 0!==window.screenLeft?window.screenLeft:window.screen.left)}}},{key:"openPopupWindow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.width,n=void 0===i?800:i,r=e.height,o=void 0===r?600:r,a=e.windowName,s=void 0===a?"_blank":a,l=e.href,c=void 0===l?null:l,u=e.centering,d=void 0===u||u,h=e.features,f=void 0===h?"location=no,status=no,scrollbars=yes":h,p=0,m=0;if(!c)return null;if(d){var v=t.getCenterValues(n,o);p=v.top,m=v.left}var y=window.open(c,s,"".concat(f,", width = ").concat(n,", height = ").concat(o,", top = ").concat(p,", left = ").concat(m));return y&&y.focus&&y.focus(),y}},{key:"triggerMouseClick",value:function(t){var e=null;return"function"==typeof window.MouseEvent?e=new window.MouseEvent("click"):(e=document.createEvent("MouseEvent")).initEvent("click",!0,!0),t.dispatchEvent(e)}},{key:"triggerCustomEvent",value:function(t,e,i){var n=null;return i=i||{bubbles:!0,cancelable:!0,detail:void 0},"function"==typeof window.CustomEvent?n=new window.CustomEvent(t,i):(n=document.createEvent("CustomEvent")).initCustomEvent(t,i.bubbles,i.cancelable,i.detail),e.dispatchEvent(n)}},{key:"findPos",value:function(t){var e=0,i=0;if(t.offsetParent)for(;t;)e+=t.offsetLeft,i+=t.offsetTop,t=t.offsetParent;return{left:e,top:i}}},{key:"getCookie",value:function(t){var e=document.cookie.split("; "),i=e.length;if(!t)return i?e.reduce((function(t,e){var i=e.split("=");return t[i[0].trim()]=i[1].trim(),t}),{}):null;t=t.trim();for(var n=0;n<i;n++){var r=e[n].split("=");if(r[0].trim()===t)return decodeURIComponent(r[1].trim())}return null}},{key:"setCookie",value:function(t){var e=t.name,i=t.value,n=void 0===i?1:i,r=t.expires,o=void 0===r?"":r,a=t.sameSite;if(e){var s="SameSite=".concat(void 0===a?"None":a,";"),l=o;if("number"==typeof l){var c=new Date;c.setMilliseconds(864e5*o),l="expires=".concat(c.toUTCString(),";")}else l instanceof Date&&(l="expires=".concat(l.toUTCString(),";"));document.cookie="".concat(e.trim(),"=").concat(encodeURIComponent(n),"; ").concat(l," ").concat(s," Secure; path=/")}}},{key:"removeCookie",value:function(e){if(e){var i=new Date;i.setMilliseconds(-864e5),t.setCookie({name:e,value:"",expires:i})}}},{key:"isElementInViewport",value:function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}},{key:"updateUrlParams",value:function(e,i){var n=t.getUrlParams();n[i],n[i]=e;var o=[];if(Object.keys(n).forEach((function(t){var e=n[t];o.push("".concat(t,"=").concat(e))})),"object"===r(window.history)&&"function"==typeof window.history.pushState)try{window.history.replaceState({},document.title,"".concat(document.location.origin).concat(document.location.pathname,"?").concat(o.join("&")))}catch(t){}}},{key:"getBaseUrl",value:function(){return document.body.dataset.baseurl||""}},{key:"getURLHash",value:function(){return window.location.hash.replace("#","")}},{key:"datasetToObject",value:function(t){var e=t.el,i=t.dataObj,n=void 0===i?{}:i;if(e){var r=e.dataset;for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])}return n}},{key:"callbackAEMTargetFinished",value:function(){window.picturefillCFG&&window.picturefillCFG.pf&&window.picturefillCFG.pf.fillImgs&&!window.picturefillCFG.pf.supSrcset&&window.picturefillCFG.pf.fillImgs(),window.db=window.db||{},window.db.General&&window.db.General.callLinkInPopup&&window.db.General.callLinkInPopup()}},{key:"addPersonalUrlParameters",value:function(e){var i=e.newHref,n=e.cipUserData;return n?("Herr"===n.salutation?n.salutation="1":"Frau"===n.salutation&&(n.salutation="0"),i=t.addURLParam(i,"first.personData.sex",n.salutation),i=t.addURLParam(i,"first.personData.prename",n.firstname),i=t.addURLParam(i,"first.personData.surname",n.lastname),i=t.addURLParam(i,"first.registeredAddress.address.streetAndNumber",n.addressStreet),i=t.addURLParam(i,"first.registeredAddress.address.zipCode",n.addressZipcode),i=t.addURLParam(i,"first.registeredAddress.address.city",n.addressCity),i=t.addURLParam(i,"first.contactData.phonePrivate",n.phone),i=t.addURLParam(i,"first.contactData.email",n.email)):i}},{key:"initMaxSize",value:function(t){var e=t.offsetWidth,i=parseInt(t.dataset.metaWidth,10),n=parseInt(t.dataset.metaHeight,10),r=parseInt(t.dataset.metaRatio,10)||100,o=t.getElementsByTagName("img")[0];e>1&&e<i?(t.style.maxWidth="".concat(e,"px"),t.style.maxHeight="".concat(e/100*r,"px"),o&&(o.style.width="".concat(e,"px"),o.style.height="".concat(e/100*r,"px"))):(t.style.maxWidth="".concat(i,"px"),t.style.maxHeight="".concat(n,"px"),o&&(o.style.width="".concat(i,"px"),o.style.height="".concat(n,"px")))}},{key:"removeMaxSize",value:function(t){t.style.maxWidth="",t.style.maxHeight="";var e=t.getElementsByTagName("img")[0];e&&(e.style.width="",e.style.height="")}},{key:"loadSVG",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.noop,r=e.querySelector("img");if(!r)return 0;var o=r.dataset.src||r.src,a=!!o&&/\.svg/i.test(o.toLowerCase());return a&&t.getAjax(o,(function(t){t&&(e.insertAdjacentHTML("afterbegin",t),e.querySelectorAll("path").forEach((function(t){return n.stripAttr(t,"style")})),e.querySelectorAll("style").remove());var o=r.closest("figure");o?e.removeChild(o):r&&e.removeChild(r),i()}),(function(t){i()})),0}},{key:"youtubeCookie",value:function(){return{YOUTUBE_DISCLAIMER_CONFIRM_COOKIE_NAME:"youtubeDisclaimerConfirmCookie",YOUTUBE_DISCLAIMER_CONFIRM_EXPIRATION_DAYS:120}}},{key:"noop",value:function(){}}],(i=null)&&o(e.prototype,i),a&&o(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a;var s={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},l={youTubeCookie:{YOUTUBE_DISCLAIMER_CONFIRM_COOKIE_NAME:"youtubeDisclaimerConfirmCookie",YOUTUBE_DISCLAIMER_CONFIRM_EXPIRATION_DAYS:120},disclaimer:{HAS_APPLIED_DISCLAIMER_CLASS:"has-applied-disclaimer"}};window.db=window.db||{},window.db.Globals=a,window.db.Globals.utils=n},function(t,e,i){var n=i(3),r=i(9),o=i(21),a=i(17),s=i(27),l=function(t,e,i){var c,u,d,h,f=t&l.F,p=t&l.G,m=t&l.S,v=t&l.P,y=t&l.B,g=p?n:m?n[e]||(n[e]={}):(n[e]||{}).prototype,b=p?r:r[e]||(r[e]={}),w=b.prototype||(b.prototype={});for(c in p&&(i=e),i)d=((u=!f&&g&&void 0!==g[c])?g:i)[c],h=y&&u?s(d,n):v&&"function"==typeof d?s(Function.call,d):d,g&&a(g,c,d,t&l.U),b[c]!=d&&o(b,c,h),v&&w[c]!=d&&(w[c]=d)};n.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,i){var n=i(390);t.exports=new n},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){var n=i(63)("wks"),r=i(41),o=i(3).Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=n},function(t,e,i){var n=i(29),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},function(t,e,i){t.exports=!i(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(5),r=i(113),o=i(36),a=Object.defineProperty;e.f=i(10)?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){t.exports=function(){"use strict";var t="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,e="undefined"==typeof window?{document:t,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(t){for(var e=0;e<t.length;e+=1)this[e]=t[e];return this.length=t.length,this};function n(n,r){var o=[],a=0;if(n&&!r&&n instanceof i)return n;if(n)if("string"==typeof n){var s,l,c=n.trim();if(c.indexOf("<")>=0&&c.indexOf(">")>=0){var u="div";for(0===c.indexOf("<li")&&(u="ul"),0===c.indexOf("<tr")&&(u="tbody"),0!==c.indexOf("<td")&&0!==c.indexOf("<th")||(u="tr"),0===c.indexOf("<tbody")&&(u="table"),0===c.indexOf("<option")&&(u="select"),(l=t.createElement(u)).innerHTML=c,a=0;a<l.childNodes.length;a+=1)o.push(l.childNodes[a])}else for(s=r||"#"!==n[0]||n.match(/[ .<>:~]/)?(r||t).querySelectorAll(n.trim()):[t.getElementById(n.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&o.push(s[a])}else if(n.nodeType||n===e||n===t)o.push(n);else if(n.length>0&&n[0].nodeType)for(a=0;a<n.length;a+=1)o.push(n[a]);return new i(o)}function r(t){for(var e=[],i=0;i<t.length;i+=1)-1===e.indexOf(t[i])&&e.push(t[i]);return e}n.fn=i.prototype,n.Class=i,n.Dom7=i;var o={addClass:function(t){if(void 0===t)return this;for(var e=t.split(" "),i=0;i<e.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.add(e[i]);return this},removeClass:function(t){for(var e=t.split(" "),i=0;i<e.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.remove(e[i]);return this},hasClass:function(t){return!!this[0]&&this[0].classList.contains(t)},toggleClass:function(t){for(var e=t.split(" "),i=0;i<e.length;i+=1)for(var n=0;n<this.length;n+=1)void 0!==this[n]&&void 0!==this[n].classList&&this[n].classList.toggle(e[i]);return this},attr:function(t,e){var i=arguments;if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(2===i.length)this[n].setAttribute(t,e);else for(var r in t)this[n][r]=t[r],this[n].setAttribute(r,t[r]);return this},removeAttr:function(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},data:function(t,e){var i;if(void 0!==e){for(var n=0;n<this.length;n+=1)(i=this[n]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[t]=e;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&t in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[t];var r=i.getAttribute("data-"+t);return r||void 0}},transform:function(t){for(var e=0;e<this.length;e+=1){var i=this[e].style;i.webkitTransform=t,i.transform=t}return this},transition:function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e+=1){var i=this[e].style;i.webkitTransitionDuration=t,i.transitionDuration=t}return this},on:function(){for(var t,e=[],i=arguments.length;i--;)e[i]=arguments[i];var r=e[0],o=e[1],a=e[2],s=e[3];function l(t){var e=t.target;if(e){var i=t.target.dom7EventData||[];if(i.indexOf(t)<0&&i.unshift(t),n(e).is(o))a.apply(e,i);else for(var r=n(e).parents(),s=0;s<r.length;s+=1)n(r[s]).is(o)&&a.apply(r[s],i)}}function c(t){var e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),a.apply(this,e)}"function"==typeof e[1]&&(r=(t=e)[0],a=t[1],s=t[2],o=void 0),s||(s=!1);for(var u,d=r.split(" "),h=0;h<this.length;h+=1){var f=this[h];if(o)for(u=0;u<d.length;u+=1){var p=d[u];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,s)}else for(u=0;u<d.length;u+=1){var m=d[u];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[m]||(f.dom7Listeners[m]=[]),f.dom7Listeners[m].push({listener:a,proxyListener:c}),f.addEventListener(m,c,s)}}return this},off:function(){for(var t,e=[],i=arguments.length;i--;)e[i]=arguments[i];var n=e[0],r=e[1],o=e[2],a=e[3];"function"==typeof e[1]&&(n=(t=e)[0],o=t[1],a=t[2],r=void 0),a||(a=!1);for(var s=n.split(" "),l=0;l<s.length;l+=1)for(var c=s[l],u=0;u<this.length;u+=1){var d=this[u],h=void 0;if(!r&&d.dom7Listeners?h=d.dom7Listeners[c]:r&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[c]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];o&&p.listener===o||o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o?(d.removeEventListener(c,p.proxyListener,a),h.splice(f,1)):o||(d.removeEventListener(c,p.proxyListener,a),h.splice(f,1))}}return this},trigger:function(){for(var i=[],n=arguments.length;n--;)i[n]=arguments[n];for(var r=i[0].split(" "),o=i[1],a=0;a<r.length;a+=1)for(var s=r[a],l=0;l<this.length;l+=1){var c=this[l],u=void 0;try{u=new e.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0})}catch(e){(u=t.createEvent("Event")).initEvent(s,!0,!0),u.detail=o}c.dom7EventData=i.filter((function(t,e){return e>0})),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}return this},transitionEnd:function(t){var e,i=["webkitTransitionEnd","transitionend"],n=this;function r(o){if(o.target===this)for(t.call(this,o),e=0;e<i.length;e+=1)n.off(i[e],r)}if(t)for(e=0;e<i.length;e+=1)n.on(i[e],r);return this},outerWidth:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var i=this[0],n=i.getBoundingClientRect(),r=t.body,o=i.clientTop||r.clientTop||0,a=i.clientLeft||r.clientLeft||0,s=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:n.top+s-o,left:n.left+l-a}}return null},css:function(t,i){var n;if(1===arguments.length){if("string"!=typeof t){for(n=0;n<this.length;n+=1)for(var r in t)this[n].style[r]=t[r];return this}if(this[0])return e.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(n=0;n<this.length;n+=1)this[n].style[t]=i;return this}return this},each:function(t){if(!t)return this;for(var e=0;e<this.length;e+=1)if(!1===t.call(this[e],e,this[e]))return this;return this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:void 0;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(r){var o,a,s=this[0];if(!s||void 0===r)return!1;if("string"==typeof r){if(s.matches)return s.matches(r);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(r);if(s.msMatchesSelector)return s.msMatchesSelector(r);for(o=n(r),a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}if(r===t)return s===t;if(r===e)return s===e;if(r.nodeType||r instanceof i){for(o=r.nodeType?[r]:r,a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}return!1},index:function(){var t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;var e,n=this.length;return new i(t>n-1?[]:t<0?(e=n+t)<0?[]:[this[e]]:[this[t]])},append:function(){for(var e,n=[],r=arguments.length;r--;)n[r]=arguments[r];for(var o=0;o<n.length;o+=1){e=n[o];for(var a=0;a<this.length;a+=1)if("string"==typeof e){var s=t.createElement("div");for(s.innerHTML=e;s.firstChild;)this[a].appendChild(s.firstChild)}else if(e instanceof i)for(var l=0;l<e.length;l+=1)this[a].appendChild(e[l]);else this[a].appendChild(e)}return this},prepend:function(e){var n,r;for(n=0;n<this.length;n+=1)if("string"==typeof e){var o=t.createElement("div");for(o.innerHTML=e,r=o.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(o.childNodes[r],this[n].childNodes[0])}else if(e instanceof i)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&n(this[0].nextElementSibling).is(t)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(t){var e=[],r=this[0];if(!r)return new i([]);for(;r.nextElementSibling;){var o=r.nextElementSibling;t?n(o).is(t)&&e.push(o):e.push(o),r=o}return new i(e)},prev:function(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&n(e.previousElementSibling).is(t)?new i([e.previousElementSibling]):new i([]):e.previousElementSibling?new i([e.previousElementSibling]):new i([])}return new i([])},prevAll:function(t){var e=[],r=this[0];if(!r)return new i([]);for(;r.previousElementSibling;){var o=r.previousElementSibling;t?n(o).is(t)&&e.push(o):e.push(o),r=o}return new i(e)},parent:function(t){for(var e=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(t?n(this[i].parentNode).is(t)&&e.push(this[i].parentNode):e.push(this[i].parentNode));return n(r(e))},parents:function(t){for(var e=[],i=0;i<this.length;i+=1)for(var o=this[i].parentNode;o;)t?n(o).is(t)&&e.push(o):e.push(o),o=o.parentNode;return n(r(e))},closest:function(t){var e=this;return void 0===t?new i([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(t),o=0;o<r.length;o+=1)e.push(r[o]);return new i(e)},children:function(t){for(var e=[],o=0;o<this.length;o+=1)for(var a=this[o].childNodes,s=0;s<a.length;s+=1)t?1===a[s].nodeType&&n(a[s]).is(t)&&e.push(a[s]):1===a[s].nodeType&&e.push(a[s]);return new i(r(e))},remove:function(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this},add:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,r,o=this;for(i=0;i<t.length;i+=1){var a=n(t[i]);for(r=0;r<a.length;r+=1)o[o.length]=a[r],o.length+=1}return o},styles:function(){return this[0]?e.getComputedStyle(this[0],null):{}}};Object.keys(o).forEach((function(t){n.fn[t]=n.fn[t]||o[t]}));var a,s,l,c={deleteProps:function(t){var e=t;Object.keys(e).forEach((function(t){try{e[t]=null}catch(t){}try{delete e[t]}catch(t){}}))},nextTick:function(t,e){return void 0===e&&(e=0),setTimeout(t,e)},now:function(){return Date.now()},getTranslate:function(t,i){var n,r,o;void 0===i&&(i="x");var a=e.getComputedStyle(t,null);return e.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map((function(t){return t.replace(",",".")})).join(", ")),o=new e.WebKitCSSMatrix("none"===r?"":r)):n=(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(r=e.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===i&&(r=e.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0},parseUrlQuery:function(t){var i,n,r,o,a={},s=t||e.location.href;if("string"==typeof s&&s.length)for(o=(n=(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"").split("&").filter((function(t){return""!==t}))).length,i=0;i<o;i+=1)r=n[i].replace(/#\S+/g,"").split("="),a[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return a},isObject:function(t){return"object"==typeof t&&null!==t&&t.constructor&&t.constructor===Object},extend:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i=Object(t[0]),n=1;n<t.length;n+=1){var r=t[n];if(null!=r)for(var o=Object.keys(Object(r)),a=0,s=o.length;a<s;a+=1){var l=o[a],u=Object.getOwnPropertyDescriptor(r,l);void 0!==u&&u.enumerable&&(c.isObject(i[l])&&c.isObject(r[l])?c.extend(i[l],r[l]):!c.isObject(i[l])&&c.isObject(r[l])?(i[l]={},c.extend(i[l],r[l])):i[l]=r[l])}}return i}},u=(l=t.createElement("div"),{touch:e.Modernizr&&!0===e.Modernizr.touch||!!(e.navigator.maxTouchPoints>0||"ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),pointerEvents:!!(e.navigator.pointerEnabled||e.PointerEvent||"maxTouchPoints"in e.navigator&&e.navigator.maxTouchPoints>0),prefixedPointerEvents:!!e.navigator.msPointerEnabled,transition:(s=l.style,"transition"in s||"webkitTransition"in s||"MozTransition"in s),transforms3d:e.Modernizr&&!0===e.Modernizr.csstransforms3d||function(){var t=l.style;return"webkitPerspective"in t||"MozPerspective"in t||"OPerspective"in t||"MsPerspective"in t||"perspective"in t}(),flexbox:function(){for(var t=l.style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<e.length;i+=1)if(e[i]in t)return!0;return!1}(),observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(t){}return t}(),gestures:"ongesturestart"in e}),d={isIE:!!e.navigator.userAgent.match(/Trident/g)||!!e.navigator.userAgent.match(/MSIE/g),isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:(a=e.navigator.userAgent.toLowerCase(),a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)},h=function(t){void 0===t&&(t={});var e=this;e.params=t,e.eventsListeners={},e.params&&e.params.on&&Object.keys(e.params.on).forEach((function(t){e.on(t,e.params.on[t])}))},f={components:{configurable:!0}};h.prototype.on=function(t,e,i){var n=this;if("function"!=typeof e)return n;var r=i?"unshift":"push";return t.split(" ").forEach((function(t){n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][r](e)})),n},h.prototype.once=function(t,e,i){var n=this;if("function"!=typeof e)return n;function r(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];e.apply(n,i),n.off(t,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=e,n.on(t,r,i)},h.prototype.off=function(t,e){var i=this;return i.eventsListeners?(t.split(" ").forEach((function(t){void 0===e?i.eventsListeners[t]=[]:i.eventsListeners[t]&&i.eventsListeners[t].length&&i.eventsListeners[t].forEach((function(n,r){(n===e||n.f7proxy&&n.f7proxy===e)&&i.eventsListeners[t].splice(r,1)}))})),i):i},h.prototype.emit=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,n,r,o=this;if(!o.eventsListeners)return o;"string"==typeof t[0]||Array.isArray(t[0])?(i=t[0],n=t.slice(1,t.length),r=o):(i=t[0].events,n=t[0].data,r=t[0].context||o);var a=Array.isArray(i)?i:i.split(" ");return a.forEach((function(t){if(o.eventsListeners&&o.eventsListeners[t]){var e=[];o.eventsListeners[t].forEach((function(t){e.push(t)})),e.forEach((function(t){t.apply(r,n)}))}})),o},h.prototype.useModulesParams=function(t){var e=this;e.modules&&Object.keys(e.modules).forEach((function(i){var n=e.modules[i];n.params&&c.extend(t,n.params)}))},h.prototype.useModules=function(t){void 0===t&&(t={});var e=this;e.modules&&Object.keys(e.modules).forEach((function(i){var n=e.modules[i],r=t[i]||{};n.instance&&Object.keys(n.instance).forEach((function(t){var i=n.instance[t];e[t]="function"==typeof i?i.bind(e):i})),n.on&&e.on&&Object.keys(n.on).forEach((function(t){e.on(t,n.on[t])})),n.create&&n.create.bind(e)(r)}))},f.components.set=function(t){this.use&&this.use(t)},h.installModule=function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var n=this;n.prototype.modules||(n.prototype.modules={});var r=t.name||Object.keys(n.prototype.modules).length+"_"+c.now();return n.prototype.modules[r]=t,t.proto&&Object.keys(t.proto).forEach((function(e){n.prototype[e]=t.proto[e]})),t.static&&Object.keys(t.static).forEach((function(e){n[e]=t.static[e]})),t.install&&t.install.apply(n,e),n},h.use=function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var n=this;return Array.isArray(t)?(t.forEach((function(t){return n.installModule(t)})),n):n.installModule.apply(n,[t].concat(e))},Object.defineProperties(h,f);var p={updateSize:function(){var t,e,i=this.$el;t=void 0!==this.params.width?this.params.width:i[0].clientWidth,e=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===t&&this.isHorizontal()||0===e&&this.isVertical()||(t=t-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),e=e-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),c.extend(this,{width:t,height:e,size:this.isHorizontal()?t:e}))},updateSlides:function(){var t=this.params,i=this.$wrapperEl,n=this.size,r=this.rtlTranslate,o=this.wrongRTL,a=this.virtual&&t.virtual.enabled,s=a?this.virtual.slides.length:this.slides.length,l=i.children("."+this.params.slideClass),h=a?this.virtual.slides.length:l.length,f=[],p=[],m=[],v=t.slidesOffsetBefore;"function"==typeof v&&(v=t.slidesOffsetBefore.call(this));var y=t.slidesOffsetAfter;"function"==typeof y&&(y=t.slidesOffsetAfter.call(this));var g=this.snapGrid.length,b=this.snapGrid.length,w=t.spaceBetween,S=-v,E=0,C=0;if(void 0!==n){var T,k;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*n),this.virtualSize=-w,r?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(T=Math.floor(h/t.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(T=Math.max(T,t.slidesPerView*t.slidesPerColumn)));for(var x,L=t.slidesPerColumn,A=T/L,O=Math.floor(h/t.slidesPerColumn),I=0;I<h;I+=1){k=0;var _=l.eq(I);if(t.slidesPerColumn>1){var P=void 0,N=void 0,M=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)M=I-(N=Math.floor(I/L))*L,(N>O||N===O&&M===L-1)&&(M+=1)>=L&&(M=0,N+=1);else{var B=Math.floor(I/t.slidesPerGroup);N=I-(M=Math.floor(I/t.slidesPerView)-B*t.slidesPerColumn)*t.slidesPerView-B*t.slidesPerView}P=N+M*T/L,_.css({"-webkit-box-ordinal-group":P,"-moz-box-ordinal-group":P,"-ms-flex-order":P,"-webkit-order":P,order:P})}else N=I-(M=Math.floor(I/A))*A;_.css("margin-"+(this.isHorizontal()?"top":"left"),0!==M&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",N).attr("data-swiper-row",M)}if("none"!==_.css("display")){if("auto"===t.slidesPerView){var D=e.getComputedStyle(_[0],null),j=_[0].style.transform,H=_[0].style.webkitTransform;if(j&&(_[0].style.transform="none"),H&&(_[0].style.webkitTransform="none"),t.roundLengths)k=this.isHorizontal()?_.outerWidth(!0):_.outerHeight(!0);else if(this.isHorizontal()){var R=parseFloat(D.getPropertyValue("width")),F=parseFloat(D.getPropertyValue("padding-left")),W=parseFloat(D.getPropertyValue("padding-right")),z=parseFloat(D.getPropertyValue("margin-left")),V=parseFloat(D.getPropertyValue("margin-right")),q=D.getPropertyValue("box-sizing");k=q&&"border-box"===q&&!d.isIE?R+z+V:R+F+W+z+V}else{var U=parseFloat(D.getPropertyValue("height")),$=parseFloat(D.getPropertyValue("padding-top")),G=parseFloat(D.getPropertyValue("padding-bottom")),Y=parseFloat(D.getPropertyValue("margin-top")),X=parseFloat(D.getPropertyValue("margin-bottom")),K=D.getPropertyValue("box-sizing");k=K&&"border-box"===K&&!d.isIE?U+Y+X:U+$+G+Y+X}j&&(_[0].style.transform=j),H&&(_[0].style.webkitTransform=H),t.roundLengths&&(k=Math.floor(k))}else k=(n-(t.slidesPerView-1)*w)/t.slidesPerView,t.roundLengths&&(k=Math.floor(k)),l[I]&&(this.isHorizontal()?l[I].style.width=k+"px":l[I].style.height=k+"px");l[I]&&(l[I].swiperSlideSize=k),m.push(k),t.centeredSlides?(S=S+k/2+E/2+w,0===E&&0!==I&&(S=S-n/2-w),0===I&&(S=S-n/2-w),Math.abs(S)<.001&&(S=0),t.roundLengths&&(S=Math.floor(S)),C%t.slidesPerGroup==0&&f.push(S),p.push(S)):(t.roundLengths&&(S=Math.floor(S)),C%t.slidesPerGroup==0&&f.push(S),p.push(S),S=S+k+w),this.virtualSize+=k+w,E=k,C+=1}}if(this.virtualSize=Math.max(this.virtualSize,n)+y,r&&o&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:this.virtualSize+t.spaceBetween+"px"}),u.flexbox&&!t.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+t.spaceBetween+"px"}):i.css({height:this.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(this.virtualSize=(k+t.spaceBetween)*T,this.virtualSize=Math.ceil(this.virtualSize/t.slidesPerColumn)-t.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+t.spaceBetween+"px"}):i.css({height:this.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){x=[];for(var Q=0;Q<f.length;Q+=1){var J=f[Q];t.roundLengths&&(J=Math.floor(J)),f[Q]<this.virtualSize+f[0]&&x.push(J)}f=x}if(!t.centeredSlides){x=[];for(var Z=0;Z<f.length;Z+=1){var tt=f[Z];t.roundLengths&&(tt=Math.floor(tt)),f[Z]<=this.virtualSize-n&&x.push(tt)}f=x,Math.floor(this.virtualSize-n)-Math.floor(f[f.length-1])>1&&f.push(this.virtualSize-n)}if(0===f.length&&(f=[0]),0!==t.spaceBetween&&(this.isHorizontal()?r?l.css({marginLeft:w+"px"}):l.css({marginRight:w+"px"}):l.css({marginBottom:w+"px"})),t.centerInsufficientSlides){var et=0;if(m.forEach((function(e){et+=e+(t.spaceBetween?t.spaceBetween:0)})),(et-=t.spaceBetween)<n){var it=(n-et)/2;f.forEach((function(t,e){f[e]=t-it})),p.forEach((function(t,e){p[e]=t+it}))}}c.extend(this,{slides:l,snapGrid:f,slidesGrid:p,slidesSizesGrid:m}),h!==s&&this.emit("slidesLengthChange"),f.length!==g&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),p.length!==b&&this.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(t){var e,i=[],n=0;if("number"==typeof t?this.setTransition(t):!0===t&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(e=0;e<Math.ceil(this.params.slidesPerView);e+=1){var r=this.activeIndex+e;if(r>this.slides.length)break;i.push(this.slides.eq(r)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(e=0;e<i.length;e+=1)if(void 0!==i[e]){var o=i[e].offsetHeight;n=o>n?o:n}n&&this.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){for(var t=this.slides,e=0;e<t.length;e+=1)t[e].swiperSlideOffset=this.isHorizontal()?t[e].offsetLeft:t[e].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);var e=this.params,i=this.slides,r=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var o=-t;r&&(o=t),i.removeClass(e.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var a=0;a<i.length;a+=1){var s=i[a],l=(o+(e.centeredSlides?this.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+e.spaceBetween);if(e.watchSlidesVisibility){var c=-(o-s.swiperSlideOffset),u=c+this.slidesSizesGrid[a];(c>=0&&c<this.size-1||u>1&&u<=this.size||c<=0&&u>=this.size)&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(a),i.eq(a).addClass(e.slideVisibleClass))}s.progress=r?-l:l}this.visibleSlides=n(this.visibleSlides)}},updateProgress:function(t){void 0===t&&(t=this&&this.translate||0);var e=this.params,i=this.maxTranslate()-this.minTranslate(),n=this.progress,r=this.isBeginning,o=this.isEnd,a=r,s=o;0===i?(n=0,r=!0,o=!0):(r=(n=(t-this.minTranslate())/i)<=0,o=n>=1),c.extend(this,{progress:n,isBeginning:r,isEnd:o}),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesProgress(t),r&&!a&&this.emit("reachBeginning toEdge"),o&&!s&&this.emit("reachEnd toEdge"),(a&&!r||s&&!o)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){var t,e=this.slides,i=this.params,n=this.$wrapperEl,r=this.activeIndex,o=this.realIndex,a=this.virtual&&i.virtual.enabled;e.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(t=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):e.eq(r)).addClass(i.slideActiveClass),i.loop&&(t.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(i.slideDuplicateActiveClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(i.slideDuplicateActiveClass));var s=t.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===s.length&&(s=e.eq(0)).addClass(i.slideNextClass);var l=t.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=e.eq(-1)).addClass(i.slidePrevClass),i.loop&&(s.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?n.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):n.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(t){var e,i=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,r=this.snapGrid,o=this.params,a=this.activeIndex,s=this.realIndex,l=this.snapIndex,u=t;if(void 0===u){for(var d=0;d<n.length;d+=1)void 0!==n[d+1]?i>=n[d]&&i<n[d+1]-(n[d+1]-n[d])/2?u=d:i>=n[d]&&i<n[d+1]&&(u=d+1):i>=n[d]&&(u=d);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if((e=r.indexOf(i)>=0?r.indexOf(i):Math.floor(u/o.slidesPerGroup))>=r.length&&(e=r.length-1),u!==a){var h=parseInt(this.slides.eq(u).attr("data-swiper-slide-index")||u,10);c.extend(this,{snapIndex:e,realIndex:h,previousIndex:a,activeIndex:u}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==h&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else e!==l&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(t){var e=this.params,i=n(t.target).closest("."+e.slideClass)[0],r=!1;if(i)for(var o=0;o<this.slides.length;o+=1)this.slides[o]===i&&(r=!0);if(!i||!r)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(n(i).attr("data-swiper-slide-index"),10):this.clickedIndex=n(i).index(),e.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},m={getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");var e=this.params,i=this.rtlTranslate,n=this.translate,r=this.$wrapperEl;if(e.virtualTranslate)return i?-n:n;var o=c.getTranslate(r[0],t);return i&&(o=-o),o||0},setTranslate:function(t,e){var i=this.rtlTranslate,n=this.params,r=this.$wrapperEl,o=this.progress,a=0,s=0;this.isHorizontal()?a=i?-t:t:s=t,n.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),n.virtualTranslate||(u.transforms3d?r.transform("translate3d("+a+"px, "+s+"px, 0px)"):r.transform("translate("+a+"px, "+s+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:s;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(t-this.minTranslate())/l)!==o&&this.updateProgress(t),this.emit("setTranslate",this.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},v={setTransition:function(t,e){this.$wrapperEl.transition(t),this.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);var i=this.activeIndex,n=this.params,r=this.previousIndex;n.autoHeight&&this.updateAutoHeight();var o=e;if(o||(o=i>r?"next":i<r?"prev":"reset"),this.emit("transitionStart"),t&&i!==r){if("reset"===o)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===o?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(t,e){void 0===t&&(t=!0);var i=this.activeIndex,n=this.previousIndex;this.animating=!1,this.setTransition(0);var r=e;if(r||(r=i>n?"next":i<n?"prev":"reset"),this.emit("transitionEnd"),t&&i!==n){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},y={slideTo:function(t,e,i,n){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0);var r=this,o=t;o<0&&(o=0);var a=r.params,s=r.snapGrid,l=r.slidesGrid,c=r.previousIndex,d=r.activeIndex,h=r.rtlTranslate;if(r.animating&&a.preventInteractionOnTransition)return!1;var f=Math.floor(o/a.slidesPerGroup);f>=s.length&&(f=s.length-1),(d||a.initialSlide||0)===(c||0)&&i&&r.emit("beforeSlideChangeStart");var p,m=-s[f];if(r.updateProgress(m),a.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*m)>=Math.floor(100*l[v])&&(o=v);if(r.initialized&&o!==d){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(d||0)!==o)return!1}return p=o>d?"next":o<d?"prev":"reset",h&&-m===r.translate||!h&&m===r.translate?(r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(m),"reset"!==p&&(r.transitionStart(i,p),r.transitionEnd(i,p)),!1):(0!==e&&u.transition?(r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(i,p),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(t){r&&!r.destroyed&&t.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,p))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))):(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,n),r.transitionStart(i,p),r.transitionEnd(i,p)),!0)},slideToLoop:function(t,e,i,n){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===i&&(i=!0);var r=t;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,e,i,n)},slideNext:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var n=this.params,r=this.animating;return n.loop?!r&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+n.slidesPerGroup,t,e,i)):this.slideTo(this.activeIndex+n.slidesPerGroup,t,e,i)},slidePrev:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var n=this.params,r=this.animating,o=this.snapGrid,a=this.slidesGrid,s=this.rtlTranslate;if(n.loop){if(r)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}var c,u=l(s?this.translate:-this.translate),d=o.map((function(t){return l(t)})),h=(a.map((function(t){return l(t)})),o[d.indexOf(u)],o[d.indexOf(u)-1]);return void 0!==h&&(c=a.indexOf(h))<0&&(c=this.activeIndex-1),this.slideTo(c,t,e,i)},slideReset:function(t,e,i){return void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),this.slideTo(this.activeIndex,t,e,i)},slideToClosest:function(t,e,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var n=this.activeIndex,r=Math.floor(n/this.params.slidesPerGroup);if(r<this.snapGrid.length-1){var o=this.rtlTranslate?this.translate:-this.translate,a=this.snapGrid[r];o-a>(this.snapGrid[r+1]-a)/2&&(n=this.params.slidesPerGroup)}return this.slideTo(n,t,e,i)},slideToClickedSlide:function(){var t,e=this,i=e.params,r=e.$wrapperEl,o="auto"===i.slidesPerView?e.slidesPerViewDynamic():i.slidesPerView,a=e.clickedIndex;if(i.loop){if(e.animating)return;t=parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?a<e.loopedSlides-o/2||a>e.slides.length-e.loopedSlides+o/2?(e.loopFix(),a=r.children("."+i.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-o?(e.loopFix(),a=r.children("."+i.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),c.nextTick((function(){e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}},g={loopCreate:function(){var e=this,i=e.params,r=e.$wrapperEl;r.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var o=r.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var a=i.slidesPerGroup-o.length%i.slidesPerGroup;if(a!==i.slidesPerGroup){for(var s=0;s<a;s+=1){var l=n(t.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);r.append(l)}o=r.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=o.length),e.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>o.length&&(e.loopedSlides=o.length);var c=[],u=[];o.each((function(t,i){var r=n(i);t<e.loopedSlides&&u.push(i),t<o.length&&t>=o.length-e.loopedSlides&&c.push(i),r.attr("data-swiper-slide-index",t)}));for(var d=0;d<u.length;d+=1)r.append(n(u[d].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var h=c.length-1;h>=0;h-=1)r.prepend(n(c[h].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var t,e=this.params,i=this.activeIndex,n=this.slides,r=this.loopedSlides,o=this.allowSlidePrev,a=this.allowSlideNext,s=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var c=-s[i]-this.getTranslate();i<r?(t=n.length-3*r+i,t+=r,this.slideTo(t,0,!1,!0)&&0!==c&&this.setTranslate((l?-this.translate:this.translate)-c)):("auto"===e.slidesPerView&&i>=2*r||i>=n.length-r)&&(t=-n.length+i+r,t+=r,this.slideTo(t,0,!1,!0)&&0!==c&&this.setTranslate((l?-this.translate:this.translate)-c)),this.allowSlidePrev=o,this.allowSlideNext=a},loopDestroy:function(){var t=this.$wrapperEl,e=this.params,i=this.slides;t.children("."+e.slideClass+"."+e.slideDuplicateClass+",."+e.slideClass+"."+e.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},b={setGrabCursor:function(t){if(!(u.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var e=this.el;e.style.cursor="move",e.style.cursor=t?"-webkit-grabbing":"-webkit-grab",e.style.cursor=t?"-moz-grabbin":"-moz-grab",e.style.cursor=t?"grabbing":"grab"}},unsetGrabCursor:function(){u.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},w={appendSlide:function(t){var e=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof t&&"length"in t)for(var n=0;n<t.length;n+=1)t[n]&&e.append(t[n]);else e.append(t);i.loop&&this.loopCreate(),i.observer&&u.observer||this.update()},prependSlide:function(t){var e=this.params,i=this.$wrapperEl,n=this.activeIndex;e.loop&&this.loopDestroy();var r=n+1;if("object"==typeof t&&"length"in t){for(var o=0;o<t.length;o+=1)t[o]&&i.prepend(t[o]);r=n+t.length}else i.prepend(t);e.loop&&this.loopCreate(),e.observer&&u.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(t,e){var i=this.$wrapperEl,n=this.params,r=this.activeIndex;n.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+n.slideClass));var o=this.slides.length;if(t<=0)this.prependSlide(e);else if(t>=o)this.appendSlide(e);else{for(var a=r>t?r+1:r,s=[],l=o-1;l>=t;l-=1){var c=this.slides.eq(l);c.remove(),s.unshift(c)}if("object"==typeof e&&"length"in e){for(var d=0;d<e.length;d+=1)e[d]&&i.append(e[d]);a=r>t?r+e.length:r}else i.append(e);for(var h=0;h<s.length;h+=1)i.append(s[h]);n.loop&&this.loopCreate(),n.observer&&u.observer||this.update(),n.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(t){var e=this.params,i=this.$wrapperEl,n=this.activeIndex;e.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+e.slideClass));var r,o=n;if("object"==typeof t&&"length"in t){for(var a=0;a<t.length;a+=1)r=t[a],this.slides[r]&&this.slides.eq(r).remove(),r<o&&(o-=1);o=Math.max(o,0)}else r=t,this.slides[r]&&this.slides.eq(r).remove(),r<o&&(o-=1),o=Math.max(o,0);e.loop&&this.loopCreate(),e.observer&&u.observer||this.update(),e.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)},removeAllSlides:function(){for(var t=[],e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}},S=function(){var i=e.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:e.cordova||e.phonegap,phonegap:e.cordova||e.phonegap},r=i.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),o=i.match(/(Android);?[\s\/]+([\d.]+)?/),a=i.match(/(iPad).*OS\s([\d_]+)/),s=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(r&&(n.os="windows",n.osVersion=r[2],n.windows=!0),o&&!r&&(n.os="android",n.osVersion=o[2],n.android=!0,n.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(a||l||s)&&(n.os="ios",n.ios=!0),l&&!s&&(n.osVersion=l[2].replace(/_/g,"."),n.iphone=!0),a&&(n.osVersion=a[2].replace(/_/g,"."),n.ipad=!0),s&&(n.osVersion=s[3]?s[3].replace(/_/g,"."):null,n.iphone=!0),n.ios&&n.osVersion&&i.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),n.desktop=!(n.os||n.android||n.webView),n.webView=(l||a||s)&&i.match(/.*AppleWebKit(?!.*Safari)/i),n.os&&"ios"===n.os){var c=n.osVersion.split("."),u=t.querySelector('meta[name="viewport"]');n.minimalUi=!n.webView&&(s||l)&&(1*c[0]==7?1*c[1]>=1:1*c[0]>7)&&u&&u.getAttribute("content").indexOf("minimal-ui")>=0}return n.pixelRatio=e.devicePixelRatio||1,n}();function E(i){var r=this.touchEventsData,o=this.params,a=this.touches;if(!this.animating||!o.preventInteractionOnTransition){var s=i;if(s.originalEvent&&(s=s.originalEvent),r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&s.button>0||r.isTouched&&r.isMoved))if(o.noSwiping&&n(s.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])this.allowClick=!0;else if(!o.swipeHandler||n(s).closest(o.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var l=a.currentX,u=a.currentY,d=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,h=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!d||!(l<=h||l>=e.screen.width-h)){if(c.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=l,a.startY=u,r.touchStartTime=c.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==s.type){var f=!0;n(s.target).is(r.formElements)&&(f=!1),t.activeElement&&n(t.activeElement).is(r.formElements)&&t.activeElement!==s.target&&t.activeElement.blur();var p=f&&this.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||p)&&s.preventDefault()}this.emit("touchStart",s)}}}}function C(e){var i=this.touchEventsData,r=this.params,o=this.touches,a=this.rtlTranslate,s=e;if(s.originalEvent&&(s=s.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==s.type){var l="touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,u="touchmove"===s.type?s.targetTouches[0].pageY:s.pageY;if(s.preventedByNestedSwiper)return o.startX=l,void(o.startY=u);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(c.extend(o,{startX:l,startY:u,currentX:l,currentY:u}),i.touchStartTime=c.now()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(u<o.startY&&this.translate<=this.maxTranslate()||u>o.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<o.startX&&this.translate<=this.maxTranslate()||l>o.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&s.target===t.activeElement&&n(s.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){o.currentX=l,o.currentY=u;var d,h=o.currentX-o.startX,f=o.currentY-o.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(f,2))<this.params.threshold))if(void 0===i.isScrolling&&(this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:h*h+f*f>=25&&(d=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=this.isHorizontal()?d>r.touchAngle:90-d>r.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",s),void 0===i.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation(),i.isMoved||(r.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",s)),this.emit("sliderMove",s),i.isMoved=!0;var p=this.isHorizontal()?h:f;o.diff=p,p*=r.touchRatio,a&&(p=-p),this.swipeDirection=p>0?"prev":"next",i.currentTranslate=p+i.startTranslate;var m=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),p>0&&i.currentTranslate>this.minTranslate()?(m=!1,r.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+p,v))):p<0&&i.currentTranslate<this.maxTranslate()&&(m=!1,r.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-p,v))),m&&(s.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(p)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===i.velocities.length&&i.velocities.push({position:o[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:o[this.isHorizontal()?"currentX":"currentY"],time:c.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",s)}function T(t){var e=this,i=e.touchEventsData,n=e.params,r=e.touches,o=e.rtlTranslate,a=e.$wrapperEl,s=e.slidesGrid,l=e.snapGrid,u=t;if(u.originalEvent&&(u=u.originalEvent),i.allowTouchCallbacks&&e.emit("touchEnd",u),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var d,h=c.now(),f=h-i.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(u),e.emit("tap",u),f<300&&h-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=c.nextTick((function(){e&&!e.destroyed&&e.emit("click",u)}),300)),f<300&&h-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),e.emit("doubleTap",u))),i.lastClickTime=c.now(),c.nextTick((function(){e.destroyed||(e.allowClick=!0)})),!i.isTouched||!i.isMoved||!e.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,d=n.followFinger?o?e.translate:-e.translate:-i.currentTranslate,n.freeMode){if(d<-e.minTranslate())return void e.slideTo(e.activeIndex);if(d>-e.maxTranslate())return void(e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1));if(n.freeModeMomentum){if(i.velocities.length>1){var p=i.velocities.pop(),m=i.velocities.pop(),v=p.position-m.position,y=p.time-m.time;e.velocity=v/y,e.velocity/=2,Math.abs(e.velocity)<n.freeModeMinimumVelocity&&(e.velocity=0),(y>150||c.now()-p.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*n.freeModeMomentumRatio,b=e.velocity*g,w=e.translate+b;o&&(w=-w);var S,E,C=!1,T=20*Math.abs(e.velocity)*n.freeModeMomentumBounceRatio;if(w<e.maxTranslate())n.freeModeMomentumBounce?(w+e.maxTranslate()<-T&&(w=e.maxTranslate()-T),S=e.maxTranslate(),C=!0,i.allowMomentumBounce=!0):w=e.maxTranslate(),n.loop&&n.centeredSlides&&(E=!0);else if(w>e.minTranslate())n.freeModeMomentumBounce?(w-e.minTranslate()>T&&(w=e.minTranslate()+T),S=e.minTranslate(),C=!0,i.allowMomentumBounce=!0):w=e.minTranslate(),n.loop&&n.centeredSlides&&(E=!0);else if(n.freeModeSticky){for(var k,x=0;x<l.length;x+=1)if(l[x]>-w){k=x;break}w=-(w=Math.abs(l[k]-w)<Math.abs(l[k-1]-w)||"next"===e.swipeDirection?l[k]:l[k-1])}if(E&&e.once("transitionEnd",(function(){e.loopFix()})),0!==e.velocity)g=o?Math.abs((-w-e.translate)/e.velocity):Math.abs((w-e.translate)/e.velocity);else if(n.freeModeSticky)return void e.slideToClosest();n.freeModeMomentumBounce&&C?(e.updateProgress(S),e.setTransition(g),e.setTranslate(w),e.transitionStart(!0,e.swipeDirection),e.animating=!0,a.transitionEnd((function(){e&&!e.destroyed&&i.allowMomentumBounce&&(e.emit("momentumBounce"),e.setTransition(n.speed),e.setTranslate(S),a.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()})))}))):e.velocity?(e.updateProgress(w),e.setTransition(g),e.setTranslate(w),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,a.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(w),e.updateActiveIndex(),e.updateSlidesClasses()}else if(n.freeModeSticky)return void e.slideToClosest();(!n.freeModeMomentum||f>=n.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}else{for(var L=0,A=e.slidesSizesGrid[0],O=0;O<s.length;O+=n.slidesPerGroup)void 0!==s[O+n.slidesPerGroup]?d>=s[O]&&d<s[O+n.slidesPerGroup]&&(L=O,A=s[O+n.slidesPerGroup]-s[O]):d>=s[O]&&(L=O,A=s[s.length-1]-s[s.length-2]);var I=(d-s[L])/A;if(f>n.longSwipesMs){if(!n.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(I>=n.longSwipesRatio?e.slideTo(L+n.slidesPerGroup):e.slideTo(L)),"prev"===e.swipeDirection&&(I>1-n.longSwipesRatio?e.slideTo(L+n.slidesPerGroup):e.slideTo(L))}else{if(!n.shortSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&e.slideTo(L+n.slidesPerGroup),"prev"===e.swipeDirection&&e.slideTo(L)}}}function k(){var t=this.params,e=this.el;if(!e||0!==e.offsetWidth){t.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,n=this.allowSlidePrev,r=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),t.freeMode){var o=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses(),t.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=i,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}function x(t){this.allowClick||(this.params.preventClicks&&t.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}var L={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},A={update:p,translate:m,transition:v,slide:y,loop:g,grabCursor:b,manipulation:w,events:{attachEvents:function(){var e=this.params,i=this.touchEvents,n=this.el,r=this.wrapperEl;this.onTouchStart=E.bind(this),this.onTouchMove=C.bind(this),this.onTouchEnd=T.bind(this),this.onClick=x.bind(this);var o="container"===e.touchEventsTarget?n:r,a=!!e.nested;if(u.touch||!u.pointerEvents&&!u.prefixedPointerEvents){if(u.touch){var s=!("touchstart"!==i.start||!u.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};o.addEventListener(i.start,this.onTouchStart,s),o.addEventListener(i.move,this.onTouchMove,u.passiveListener?{passive:!1,capture:a}:a),o.addEventListener(i.end,this.onTouchEnd,s)}(e.simulateTouch&&!S.ios&&!S.android||e.simulateTouch&&!u.touch&&S.ios)&&(o.addEventListener("mousedown",this.onTouchStart,!1),t.addEventListener("mousemove",this.onTouchMove,a),t.addEventListener("mouseup",this.onTouchEnd,!1))}else o.addEventListener(i.start,this.onTouchStart,!1),t.addEventListener(i.move,this.onTouchMove,a),t.addEventListener(i.end,this.onTouchEnd,!1);(e.preventClicks||e.preventClicksPropagation)&&o.addEventListener("click",this.onClick,!0),this.on(S.ios||S.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0)},detachEvents:function(){var e=this.params,i=this.touchEvents,n=this.el,r=this.wrapperEl,o="container"===e.touchEventsTarget?n:r,a=!!e.nested;if(u.touch||!u.pointerEvents&&!u.prefixedPointerEvents){if(u.touch){var s=!("onTouchStart"!==i.start||!u.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};o.removeEventListener(i.start,this.onTouchStart,s),o.removeEventListener(i.move,this.onTouchMove,a),o.removeEventListener(i.end,this.onTouchEnd,s)}(e.simulateTouch&&!S.ios&&!S.android||e.simulateTouch&&!u.touch&&S.ios)&&(o.removeEventListener("mousedown",this.onTouchStart,!1),t.removeEventListener("mousemove",this.onTouchMove,a),t.removeEventListener("mouseup",this.onTouchEnd,!1))}else o.removeEventListener(i.start,this.onTouchStart,!1),t.removeEventListener(i.move,this.onTouchMove,a),t.removeEventListener(i.end,this.onTouchEnd,!1);(e.preventClicks||e.preventClicksPropagation)&&o.removeEventListener("click",this.onClick,!0),this.off(S.ios||S.android?"resize orientationchange observerUpdate":"resize observerUpdate",k)}},breakpoints:{setBreakpoint:function(){var t=this.activeIndex,e=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var n=this.params,r=n.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=this.getBreakpoint(r);if(o&&this.currentBreakpoint!==o){var a=o in r?r[o]:void 0;a&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(t){var e=a[t];void 0!==e&&(a[t]="slidesPerView"!==t||"AUTO"!==e&&"auto"!==e?"slidesPerView"===t?parseFloat(e):parseInt(e,10):"auto")}));var s=a||this.originalParams,l=s.direction&&s.direction!==n.direction,u=n.loop&&(s.slidesPerView!==n.slidesPerView||l);l&&e&&this.changeDirection(),c.extend(this.params,s),c.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=o,u&&e&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(t-i+this.loopedSlides,0,!1)),this.emit("breakpoint",s)}}},getBreakpoint:function(t){if(t){var i=!1,n=[];Object.keys(t).forEach((function(t){n.push(t)})),n.sort((function(t,e){return parseInt(t,10)-parseInt(e,10)}));for(var r=0;r<n.length;r+=1){var o=n[r];this.params.breakpointsInverse?o<=e.innerWidth&&(i=o):o>=e.innerWidth&&!i&&(i=o)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var t=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,e=this.params,i=this.rtl,n=this.$el,r=[];r.push("initialized"),r.push(e.direction),e.freeMode&&r.push("free-mode"),u.flexbox||r.push("no-flexbox"),e.autoHeight&&r.push("autoheight"),i&&r.push("rtl"),e.slidesPerColumn>1&&r.push("multirow"),S.android&&r.push("android"),S.ios&&r.push("ios"),(d.isIE||d.isEdge)&&(u.pointerEvents||u.prefixedPointerEvents)&&r.push("wp8-"+e.direction),r.forEach((function(i){t.push(e.containerModifierClass+i)})),n.addClass(t.join(" "))},removeClasses:function(){var t=this.$el,e=this.classNames;t.removeClass(e.join(" "))}},images:{loadImage:function(t,i,n,r,o,a){var s;function l(){a&&a()}t.complete&&o?l():i?((s=new e.Image).onload=l,s.onerror=l,r&&(s.sizes=r),n&&(s.srcset=n),i&&(s.src=i)):l()},preloadImages:function(){var t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(var i=0;i<t.imagesToLoad.length;i+=1){var n=t.imagesToLoad[i];t.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,e)}}}},O={},I=function(t){function e(){for(var i,r,o,a=[],s=arguments.length;s--;)a[s]=arguments[s];1===a.length&&a[0].constructor&&a[0].constructor===Object?o=a[0]:(r=(i=a)[0],o=i[1]),o||(o={}),o=c.extend({},o),r&&!o.el&&(o.el=r),t.call(this,o),Object.keys(A).forEach((function(t){Object.keys(A[t]).forEach((function(i){e.prototype[i]||(e.prototype[i]=A[t][i])}))}));var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(t){var e=l.modules[t];if(e.params){var i=Object.keys(e.params)[0],n=e.params[i];if("object"!=typeof n||null===n)return;if(!(i in o)||!("enabled"in n))return;!0===o[i]&&(o[i]={enabled:!0}),"object"!=typeof o[i]||"enabled"in o[i]||(o[i].enabled=!0),o[i]||(o[i]={enabled:!1})}}));var d=c.extend({},L);l.useModulesParams(d),l.params=c.extend({},d,O,o),l.originalParams=c.extend({},l.params),l.passedParams=c.extend({},o),l.$=n;var h=n(l.params.el);if(r=h[0]){if(h.length>1){var f=[];return h.each((function(t,i){var n=c.extend({},o,{el:i});f.push(new e(n))})),f}r.swiper=l,h.data("swiper",l);var p,m,v=h.children("."+l.params.wrapperClass);return c.extend(l,{$el:h,el:r,$wrapperEl:v,wrapperEl:v[0],classNames:[],slides:n(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===v.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(p=["touchstart","touchmove","touchend"],m=["mousedown","mousemove","mouseup"],u.pointerEvents?m=["pointerdown","pointermove","pointerup"]:u.prefixedPointerEvents&&(m=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:p[0],move:p[1],end:p[2]},l.touchEventsDesktop={start:m[0],move:m[1],end:m[2]},u.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:c.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return e.prototype.slidesPerViewDynamic=function(){var t=this.params,e=this.slides,i=this.slidesGrid,n=this.size,r=this.activeIndex,o=1;if(t.centeredSlides){for(var a,s=e[r].swiperSlideSize,l=r+1;l<e.length;l+=1)e[l]&&!a&&(o+=1,(s+=e[l].swiperSlideSize)>n&&(a=!0));for(var c=r-1;c>=0;c-=1)e[c]&&!a&&(o+=1,(s+=e[c].swiperSlideSize)>n&&(a=!0))}else for(var u=r+1;u<e.length;u+=1)i[u]-i[r]<n&&(o+=1);return o},e.prototype.update=function(){var t=this;if(t&&!t.destroyed){var e=t.snapGrid,i=t.params;i.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode?(n(),t.params.autoHeight&&t.updateAutoHeight()):(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0))||n(),i.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function n(){var e=t.rtlTranslate?-1*t.translate:t.translate,i=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(i),t.updateActiveIndex(),t.updateSlidesClasses()}},e.prototype.changeDirection=function(t,e){void 0===e&&(e=!0);var i=this.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(this.$el.removeClass(""+this.params.containerModifierClass+i+" wp8-"+i).addClass(""+this.params.containerModifierClass+t),(d.isIE||d.isEdge)&&(u.pointerEvents||u.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+t),this.params.direction=t,this.slides.each((function(e,i){"vertical"===t?i.style.width="":i.style.height=""})),this.emit("changeDirection"),e&&this.update()),this},e.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},e.prototype.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var i=this,n=i.params,r=i.$el,o=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),e&&(i.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(t){i.off(t)})),!1!==t&&(i.$el[0].swiper=null,i.$el.data("swiper",null),c.deleteProps(i)),i.destroyed=!0),null},e.extendDefaults=function(t){c.extend(O,t)},i.extendedDefaults.get=function(){return O},i.defaults.get=function(){return L},i.Class.get=function(){return t},i.$.get=function(){return n},Object.defineProperties(e,i),e}(h),_={name:"device",proto:{device:S},static:{device:S}},P={name:"support",proto:{support:u},static:{support:u}},N={name:"browser",proto:{browser:d},static:{browser:d}},M={name:"resize",create:function(){var t=this;c.extend(t,{resize:{resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(){e.addEventListener("resize",this.resize.resizeHandler),e.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){e.removeEventListener("resize",this.resize.resizeHandler),e.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},B={func:e.MutationObserver||e.WebkitMutationObserver,attach:function(t,i){void 0===i&&(i={});var n=this,r=new(0,B.func)((function(t){if(1!==t.length){var i=function(){n.emit("observerUpdate",t[0])};e.requestAnimationFrame?e.requestAnimationFrame(i):e.setTimeout(i,0)}else n.emit("observerUpdate",t[0])}));r.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),n.observer.observers.push(r)},init:function(){if(u.observer&&this.params.observer){if(this.params.observeParents)for(var t=this.$el.parents(),e=0;e<t.length;e+=1)this.observer.attach(t[e]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(t){t.disconnect()})),this.observer.observers=[]}},D={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){c.extend(this,{observer:{init:B.init.bind(this),attach:B.attach.bind(this),destroy:B.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},j={update:function(t){var e=this,i=e.params,n=i.slidesPerView,r=i.slidesPerGroup,o=i.centeredSlides,a=e.params.virtual,s=a.addSlidesBefore,l=a.addSlidesAfter,u=e.virtual,d=u.from,h=u.to,f=u.slides,p=u.slidesGrid,m=u.renderSlide,v=u.offset;e.updateActiveIndex();var y,g,b,w=e.activeIndex||0;y=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",o?(g=Math.floor(n/2)+r+s,b=Math.floor(n/2)+r+l):(g=n+(r-1)+s,b=r+l);var S=Math.max((w||0)-b,0),E=Math.min((w||0)+g,f.length-1),C=(e.slidesGrid[S]||0)-(e.slidesGrid[0]||0);function T(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load()}if(c.extend(e.virtual,{from:S,to:E,offset:C,slidesGrid:e.slidesGrid}),d===S&&h===E&&!t)return e.slidesGrid!==p&&C!==v&&e.slides.css(y,C+"px"),void e.updateProgress();if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:C,from:S,to:E,slides:function(){for(var t=[],e=S;e<=E;e+=1)t.push(f[e]);return t}()}),void T();var k=[],x=[];if(t)e.$wrapperEl.find("."+e.params.slideClass).remove();else for(var L=d;L<=h;L+=1)(L<S||L>E)&&e.$wrapperEl.find("."+e.params.slideClass+'[data-swiper-slide-index="'+L+'"]').remove();for(var A=0;A<f.length;A+=1)A>=S&&A<=E&&(void 0===h||t?x.push(A):(A>h&&x.push(A),A<d&&k.push(A)));x.forEach((function(t){e.$wrapperEl.append(m(f[t],t))})),k.sort((function(t,e){return e-t})).forEach((function(t){e.$wrapperEl.prepend(m(f[t],t))})),e.$wrapperEl.children(".swiper-slide").css(y,C+"px"),T()},renderSlide:function(t,e){var i=this.params.virtual;if(i.cache&&this.virtual.cache[e])return this.virtual.cache[e];var r=i.renderSlide?n(i.renderSlide.call(this,t,e)):n('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+e+'">'+t+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",e),i.cache&&(this.virtual.cache[e]=r),r},appendSlide:function(t){if("object"==typeof t&&"length"in t)for(var e=0;e<t.length;e+=1)t[e]&&this.virtual.slides.push(t[e]);else this.virtual.slides.push(t);this.virtual.update(!0)},prependSlide:function(t){var e=this.activeIndex,i=e+1,n=1;if(Array.isArray(t)){for(var r=0;r<t.length;r+=1)t[r]&&this.virtual.slides.unshift(t[r]);i=e+t.length,n=t.length}else this.virtual.slides.unshift(t);if(this.params.virtual.cache){var o=this.virtual.cache,a={};Object.keys(o).forEach((function(t){a[parseInt(t,10)+n]=o[t]})),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(t){if(null!=t){var e=this.activeIndex;if(Array.isArray(t))for(var i=t.length-1;i>=0;i-=1)this.virtual.slides.splice(t[i],1),this.params.virtual.cache&&delete this.virtual.cache[t[i]],t[i]<e&&(e-=1),e=Math.max(e,0);else this.virtual.slides.splice(t,1),this.params.virtual.cache&&delete this.virtual.cache[t],t<e&&(e-=1),e=Math.max(e,0);this.virtual.update(!0),this.slideTo(e,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},H={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){c.extend(this,{virtual:{update:j.update.bind(this),appendSlide:j.appendSlide.bind(this),prependSlide:j.prependSlide.bind(this),removeSlide:j.removeSlide.bind(this),removeAllSlides:j.removeAllSlides.bind(this),renderSlide:j.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};c.extend(this.params,t),c.extend(this.originalParams,t),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},R={handle:function(i){var n=this.rtlTranslate,r=i;r.originalEvent&&(r=r.originalEvent);var o=r.keyCode||r.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===o||this.isVertical()&&40===o||34===o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===o||this.isVertical()&&38===o||33===o))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||t.activeElement&&t.activeElement.nodeName&&("input"===t.activeElement.nodeName.toLowerCase()||"textarea"===t.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===o||34===o||37===o||39===o||38===o||40===o)){var a=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var s=e.innerWidth,l=e.innerHeight,c=this.$el.offset();n&&(c.left-=this.$el[0].scrollLeft);for(var u=[[c.left,c.top],[c.left+this.width,c.top],[c.left,c.top+this.height],[c.left+this.width,c.top+this.height]],d=0;d<u.length;d+=1){var h=u[d];h[0]>=0&&h[0]<=s&&h[1]>=0&&h[1]<=l&&(a=!0)}if(!a)return}this.isHorizontal()?(33!==o&&34!==o&&37!==o&&39!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==o&&39!==o||n)&&(33!==o&&37!==o||!n)||this.slideNext(),(33!==o&&37!==o||n)&&(34!==o&&39!==o||!n)||this.slidePrev()):(33!==o&&34!==o&&38!==o&&40!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==o&&40!==o||this.slideNext(),33!==o&&38!==o||this.slidePrev()),this.emit("keyPress",o)}},enable:function(){this.keyboard.enabled||(n(t).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(n(t).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},F={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){c.extend(this,{keyboard:{enabled:!1,enable:R.enable.bind(this),disable:R.disable.bind(this),handle:R.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},W={lastScrollTime:c.now(),event:e.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in t;if(!e){var i=t.createElement("div");i.setAttribute("onwheel","return;"),e="function"==typeof i.onwheel}return!e&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")&&(e=t.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize:function(t){var e=0,i=0,n=0,r=0;return"detail"in t&&(i=t.detail),"wheelDelta"in t&&(i=-t.wheelDelta/120),"wheelDeltaY"in t&&(i=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=i,i=0),n=10*e,r=10*i,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(n=t.deltaX),(n||r)&&t.deltaMode&&(1===t.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!e&&(e=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:e,spinY:i,pixelX:n,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(t){var i=t,n=this,r=n.params.mousewheel;if(!n.mouseEntered&&!r.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var o=0,a=n.rtlTranslate?-1:1,s=W.normalize(i);if(r.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(r.invert&&(o=-o),n.params.freeMode){n.params.loop&&n.loopFix();var l=n.getTranslate()+o*r.sensitivity,u=n.isBeginning,d=n.isEnd;if(l>=n.minTranslate()&&(l=n.minTranslate()),l<=n.maxTranslate()&&(l=n.maxTranslate()),n.setTransition(0),n.setTranslate(l),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!u&&n.isBeginning||!d&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky&&(clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=c.nextTick((function(){n.slideToClosest()}),300)),n.emit("scroll",i),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),l===n.minTranslate()||l===n.maxTranslate())return!0}else{if(c.now()-n.mousewheel.lastScrollTime>60)if(o<0)if(n.isEnd&&!n.params.loop||n.animating){if(r.releaseOnEdges)return!0}else n.slideNext(),n.emit("scroll",i);else if(n.isBeginning&&!n.params.loop||n.animating){if(r.releaseOnEdges)return!0}else n.slidePrev(),n.emit("scroll",i);n.mousewheel.lastScrollTime=(new e.Date).getTime()}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1},enable:function(){if(!W.event)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=n(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(W.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!W.event)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=n(this.params.mousewheel.eventsTarged)),t.off(W.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},z={update:function(){var t=this.params.navigation;if(!this.params.loop){var e=this.navigation,i=e.$nextEl,n=e.$prevEl;n&&n.length>0&&(this.isBeginning?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(t){t.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(t){t.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var t,e,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(t=n(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&t.length>1&&1===this.$el.find(i.nextEl).length&&(t=this.$el.find(i.nextEl))),i.prevEl&&(e=n(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&e.length>1&&1===this.$el.find(i.prevEl).length&&(e=this.$el.find(i.prevEl))),t&&t.length>0&&t.on("click",this.navigation.onNextClick),e&&e.length>0&&e.on("click",this.navigation.onPrevClick),c.extend(this.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:e,prevEl:e&&e[0]}))},destroy:function(){var t=this.navigation,e=t.$nextEl,i=t.$prevEl;e&&e.length&&(e.off("click",this.navigation.onNextClick),e.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},V={update:function(){var t=this.rtl,e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,r=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,o=this.pagination.$el,a=this.params.loop?Math.ceil((r-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>r-1-2*this.loopedSlides&&(i-=r-2*this.loopedSlides),i>a-1&&(i-=a),i<0&&"bullets"!==this.params.paginationType&&(i=a+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===e.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var s,l,c,u=this.pagination.bullets;if(e.dynamicBullets&&(this.pagination.bulletSize=u.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(e.dynamicMainBullets+4)+"px"),e.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>e.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=e.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),s=i-this.pagination.dynamicBulletIndex,c=((l=s+(Math.min(u.length,e.dynamicMainBullets)-1))+s)/2),u.removeClass(e.bulletActiveClass+" "+e.bulletActiveClass+"-next "+e.bulletActiveClass+"-next-next "+e.bulletActiveClass+"-prev "+e.bulletActiveClass+"-prev-prev "+e.bulletActiveClass+"-main"),o.length>1)u.each((function(t,r){var o=n(r),a=o.index();a===i&&o.addClass(e.bulletActiveClass),e.dynamicBullets&&(a>=s&&a<=l&&o.addClass(e.bulletActiveClass+"-main"),a===s&&o.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),a===l&&o.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next"))}));else if(u.eq(i).addClass(e.bulletActiveClass),e.dynamicBullets){for(var d=u.eq(s),h=u.eq(l),f=s;f<=l;f+=1)u.eq(f).addClass(e.bulletActiveClass+"-main");d.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),h.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next")}if(e.dynamicBullets){var p=Math.min(u.length,e.dynamicMainBullets+4),m=(this.pagination.bulletSize*p-this.pagination.bulletSize)/2-c*this.pagination.bulletSize,v=t?"right":"left";u.css(this.isHorizontal()?v:"top",m+"px")}}if("fraction"===e.type&&(o.find("."+e.currentClass).text(e.formatFractionCurrent(i+1)),o.find("."+e.totalClass).text(e.formatFractionTotal(a))),"progressbar"===e.type){var y;y=e.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var g=(i+1)/a,b=1,w=1;"horizontal"===y?b=g:w=g,o.find("."+e.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+b+") scaleY("+w+")").transition(this.params.speed)}"custom"===e.type&&e.renderCustom?(o.html(e.renderCustom(this,i+1,a)),this.emit("paginationRender",this,o[0])):this.emit("paginationUpdate",this,o[0]),o[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)}},render:function(){var t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,n="";if("bullets"===t.type){for(var r=this.params.loop?Math.ceil((e-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,o=0;o<r;o+=1)t.renderBullet?n+=t.renderBullet.call(this,o,t.bulletClass):n+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(n),this.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(this,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(this,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(n)),"custom"!==t.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var t=this,e=t.params.pagination;if(e.el){var i=n(e.el);0!==i.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&i.length>1&&1===t.$el.find(e.el).length&&(i=t.$el.find(e.el)),"bullets"===e.type&&e.clickable&&i.addClass(e.clickableClass),i.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(i.addClass(""+e.modifierClass+e.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&i.addClass(e.progressbarOppositeClass),e.clickable&&i.on("click","."+e.bulletClass,(function(e){e.preventDefault();var i=n(this).index()*t.params.slidesPerGroup;t.params.loop&&(i+=t.loopedSlides),t.slideTo(i)})),c.extend(t.pagination,{$el:i,el:i[0]}))}},destroy:function(){var t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e=this.pagination.$el;e.removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&e.off("click","."+t.bulletClass)}}},q={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var t=this.scrollbar,e=this.rtlTranslate,i=this.progress,n=t.dragSize,r=t.trackSize,o=t.$dragEl,a=t.$el,s=this.params.scrollbar,l=n,c=(r-n)*i;e?(c=-c)>0?(l=n-c,c=0):-c+n>r&&(l=r+c):c<0?(l=n+c,c=0):c+n>r&&(l=r-c),this.isHorizontal()?(u.transforms3d?o.transform("translate3d("+c+"px, 0, 0)"):o.transform("translateX("+c+"px)"),o[0].style.width=l+"px"):(u.transforms3d?o.transform("translate3d(0px, "+c+"px, 0)"):o.transform("translateY("+c+"px)"),o[0].style.height=l+"px"),s.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(t){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(t)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var t=this.scrollbar,e=t.$dragEl,i=t.$el;e[0].style.width="",e[0].style.height="";var n,r=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,o=this.size/this.virtualSize,a=o*(r/this.size);n="auto"===this.params.scrollbar.dragSize?r*o:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?e[0].style.width=n+"px":e[0].style.height=n+"px",i[0].style.display=o>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),c.extend(t,{trackSize:r,divider:o,moveDivider:a,dragSize:n}),t.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(t){return this.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].pageX:t.pageX||t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].pageY:t.pageY||t.clientY},setDragPosition:function(t){var e,i=this.scrollbar,n=this.rtlTranslate,r=i.$el,o=i.dragSize,a=i.trackSize,s=i.dragStartPos;e=(i.getPointerPosition(t)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(a-o),e=Math.max(Math.min(e,1),0),n&&(e=1-e);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*e;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(t){var e=this.params.scrollbar,i=this.scrollbar,n=this.$wrapperEl,r=i.$el,o=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=t.target===o[0]||t.target===o?i.getPointerPosition(t)-t.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.transition(100),o.transition(100),i.setDragPosition(t),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),e.hide&&r.css("opacity",1),this.emit("scrollbarDragStart",t)},onDragMove:function(t){var e=this.scrollbar,i=this.$wrapperEl,n=e.$el,r=e.$dragEl;this.scrollbar.isTouched&&(t.preventDefault?t.preventDefault():t.returnValue=!1,e.setDragPosition(t),i.transition(0),n.transition(0),r.transition(0),this.emit("scrollbarDragMove",t))},onDragEnd:function(t){var e=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,e.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=c.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),this.emit("scrollbarDragEnd",t),e.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,i=this.touchEventsTouch,n=this.touchEventsDesktop,r=this.params,o=e.$el[0],a=!(!u.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},s=!(!u.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};u.touch?(o.addEventListener(i.start,this.scrollbar.onDragStart,a),o.addEventListener(i.move,this.scrollbar.onDragMove,a),o.addEventListener(i.end,this.scrollbar.onDragEnd,s)):(o.addEventListener(n.start,this.scrollbar.onDragStart,a),t.addEventListener(n.move,this.scrollbar.onDragMove,a),t.addEventListener(n.end,this.scrollbar.onDragEnd,s))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,i=this.touchEventsTouch,n=this.touchEventsDesktop,r=this.params,o=e.$el[0],a=!(!u.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},s=!(!u.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};u.touch?(o.removeEventListener(i.start,this.scrollbar.onDragStart,a),o.removeEventListener(i.move,this.scrollbar.onDragMove,a),o.removeEventListener(i.end,this.scrollbar.onDragEnd,s)):(o.removeEventListener(n.start,this.scrollbar.onDragStart,a),t.removeEventListener(n.move,this.scrollbar.onDragMove,a),t.removeEventListener(n.end,this.scrollbar.onDragEnd,s))}},init:function(){if(this.params.scrollbar.el){var t=this.scrollbar,e=this.$el,i=this.params.scrollbar,r=n(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===e.find(i.el).length&&(r=e.find(i.el));var o=r.find("."+this.params.scrollbar.dragClass);0===o.length&&(o=n('<div class="'+this.params.scrollbar.dragClass+'"></div>'),r.append(o)),c.extend(t,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},U={setTransform:function(t,e){var i=this.rtl,r=n(t),o=i?-1:1,a=r.attr("data-swiper-parallax")||"0",s=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y"),c=r.attr("data-swiper-parallax-scale"),u=r.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):this.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*e*o+"%":s*e*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*e+"%":l*e+"px",null!=u){var d=u-(u-1)*(1-Math.abs(e));r[0].style.opacity=d}if(null==c)r.transform("translate3d("+s+", "+l+", 0px)");else{var h=c-(c-1)*(1-Math.abs(e));r.transform("translate3d("+s+", "+l+", 0px) scale("+h+")")}},setTranslate:function(){var t=this,e=t.$el,i=t.slides,r=t.progress,o=t.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e,i){t.parallax.setTransform(i,r)})),i.each((function(e,i){var a=i.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(e/2)-r*(o.length-1)),a=Math.min(Math.max(a,-1),1),n(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e,i){t.parallax.setTransform(i,a)}))}))},setTransition:function(t){void 0===t&&(t=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e,i){var r=n(i),o=parseInt(r.attr("data-swiper-parallax-duration"),10)||t;0===t&&(o=0),r.transition(o)}))}},$={getDistanceBetweenTouches:function(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,i=t.targetTouches[0].pageY,n=t.targetTouches[1].pageX,r=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-i,2))},onGestureStart:function(t){var e=this.params.zoom,i=this.zoom,r=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!u.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;i.fakeGestureTouched=!0,r.scaleStart=$.getDistanceBetweenTouches(t)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=n(t.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=this.slides.eq(this.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+e.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||e.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),this.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(t){var e=this.params.zoom,i=this.zoom,n=i.gesture;if(!u.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;i.fakeGestureMoved=!0,n.scaleMove=$.getDistanceBetweenTouches(t)}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=u.gestures?t.scale*i.currentScale:n.scaleMove/n.scaleStart*i.currentScale,i.scale>n.maxRatio&&(i.scale=n.maxRatio-1+Math.pow(i.scale-n.maxRatio+1,.5)),i.scale<e.minRatio&&(i.scale=e.minRatio+1-Math.pow(e.minRatio-i.scale+1,.5)),n.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(t){var e=this.params.zoom,i=this.zoom,n=i.gesture;if(!u.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!S.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,n.maxRatio),e.minRatio),n.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(n.$slideEl=void 0))},onTouchStart:function(t){var e=this.zoom,i=e.gesture,n=e.image;i.$imageEl&&0!==i.$imageEl.length&&(n.isTouched||(S.android&&t.preventDefault(),n.isTouched=!0,n.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,n.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(t){var e=this.zoom,i=e.gesture,n=e.image,r=e.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,n.isTouched&&i.$slideEl)){n.isMoved||(n.width=i.$imageEl[0].offsetWidth,n.height=i.$imageEl[0].offsetHeight,n.startX=c.getTranslate(i.$imageWrapEl[0],"x")||0,n.startY=c.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(n.startX=-n.startX,n.startY=-n.startY));var o=n.width*e.scale,a=n.height*e.scale;if(!(o<i.slideWidth&&a<i.slideHeight)){if(n.minX=Math.min(i.slideWidth/2-o/2,0),n.maxX=-n.minX,n.minY=Math.min(i.slideHeight/2-a/2,0),n.maxY=-n.minY,n.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,n.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!n.isMoved&&!e.isScaling){if(this.isHorizontal()&&(Math.floor(n.minX)===Math.floor(n.startX)&&n.touchesCurrent.x<n.touchesStart.x||Math.floor(n.maxX)===Math.floor(n.startX)&&n.touchesCurrent.x>n.touchesStart.x))return void(n.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(n.minY)===Math.floor(n.startY)&&n.touchesCurrent.y<n.touchesStart.y||Math.floor(n.maxY)===Math.floor(n.startY)&&n.touchesCurrent.y>n.touchesStart.y))return void(n.isTouched=!1)}t.preventDefault(),t.stopPropagation(),n.isMoved=!0,n.currentX=n.touchesCurrent.x-n.touchesStart.x+n.startX,n.currentY=n.touchesCurrent.y-n.touchesStart.y+n.startY,n.currentX<n.minX&&(n.currentX=n.minX+1-Math.pow(n.minX-n.currentX+1,.8)),n.currentX>n.maxX&&(n.currentX=n.maxX-1+Math.pow(n.currentX-n.maxX+1,.8)),n.currentY<n.minY&&(n.currentY=n.minY+1-Math.pow(n.minY-n.currentY+1,.8)),n.currentY>n.maxY&&(n.currentY=n.maxY-1+Math.pow(n.currentY-n.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=n.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=n.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(n.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(n.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(n.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(n.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=n.touchesCurrent.x,r.prevPositionY=n.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}}},onTouchEnd:function(){var t=this.zoom,e=t.gesture,i=t.image,n=t.velocity;if(e.$imageEl&&0!==e.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var r=300,o=300,a=n.x*r,s=i.currentX+a,l=n.y*o,c=i.currentY+l;0!==n.x&&(r=Math.abs((s-i.currentX)/n.x)),0!==n.y&&(o=Math.abs((c-i.currentY)/n.y));var u=Math.max(r,o);i.currentX=s,i.currentY=c;var d=i.width*t.scale,h=i.height*t.scale;i.minX=Math.min(e.slideWidth/2-d/2,0),i.maxX=-i.minX,i.minY=Math.min(e.slideHeight/2-h/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),e.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var t=this.zoom,e=t.gesture;e.$slideEl&&this.previousIndex!==this.activeIndex&&(e.$imageEl.transform("translate3d(0,0,0) scale(1)"),e.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,e.$slideEl=void 0,e.$imageEl=void 0,e.$imageWrapEl=void 0)},toggle:function(t){var e=this.zoom;e.scale&&1!==e.scale?e.out():e.in(t)},in:function(t){var e,i,r,o,a,s,l,c,u,d,h,f,p,m,v,y,g=this.zoom,b=this.params.zoom,w=g.gesture,S=g.image;w.$slideEl||(w.$slideEl=this.clickedSlide?n(this.clickedSlide):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas"),w.$imageWrapEl=w.$imageEl.parent("."+b.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&(w.$slideEl.addClass(""+b.zoomedSlideClass),void 0===S.touchesStart.x&&t?(e="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,i="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(e=S.touchesStart.x,i=S.touchesStart.y),g.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,g.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,t?(v=w.$slideEl[0].offsetWidth,y=w.$slideEl[0].offsetHeight,r=w.$slideEl.offset().left+v/2-e,o=w.$slideEl.offset().top+y/2-i,l=w.$imageEl[0].offsetWidth,c=w.$imageEl[0].offsetHeight,u=l*g.scale,d=c*g.scale,p=-(h=Math.min(v/2-u/2,0)),m=-(f=Math.min(y/2-d/2,0)),(a=r*g.scale)<h&&(a=h),a>p&&(a=p),(s=o*g.scale)<f&&(s=f),s>m&&(s=m)):(a=0,s=0),w.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+s+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+g.scale+")"))},out:function(){var t=this.zoom,e=this.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?n(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+e.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+e.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var t=this.zoom;if(!t.enabled){t.enabled=!0;var e=!("touchstart"!==this.touchEvents.start||!u.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};u.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,e),this.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,e),this.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",t.onGestureStart,e),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",t.onGestureChange,e),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",t.onGestureEnd,e)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var t=this.zoom;if(t.enabled){this.zoom.enabled=!1;var e=!("touchstart"!==this.touchEvents.start||!u.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};u.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,e),this.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,e),this.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,e)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",t.onGestureStart,e),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",t.onGestureChange,e),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",t.onGestureEnd,e)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,t.onTouchMove)}}},G={loadInSlide:function(t,e){void 0===e&&(e=!0);var i=this,r=i.params.lazy;if(void 0!==t&&0!==i.slides.length){var o=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):i.slides.eq(t),a=o.find("."+r.elementClass+":not(."+r.loadedClass+"):not(."+r.loadingClass+")");!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(a=a.add(o[0])),0!==a.length&&a.each((function(t,a){var s=n(a);s.addClass(r.loadingClass);var l=s.attr("data-background"),c=s.attr("data-src"),u=s.attr("data-srcset"),d=s.attr("data-sizes");i.loadImage(s[0],c||l,u,d,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(l?(s.css("background-image",'url("'+l+'")'),s.removeAttr("data-background")):(u&&(s.attr("srcset",u),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),c&&(s.attr("src",c),s.removeAttr("data-src"))),s.addClass(r.loadedClass).removeClass(r.loadingClass),o.find("."+r.preloaderClass).remove(),i.params.loop&&e){var t=o.attr("data-swiper-slide-index");if(o.hasClass(i.params.slideDuplicateClass)){var n=i.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(n.index(),!1)}else{var a=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');i.lazy.loadInSlide(a.index(),!1)}}i.emit("lazyImageReady",o[0],s[0])}})),i.emit("lazyImageLoad",o[0],s[0])}))}},load:function(){var t=this,e=t.$wrapperEl,i=t.params,r=t.slides,o=t.activeIndex,a=t.virtual&&i.virtual.enabled,s=i.lazy,l=i.slidesPerView;function c(t){if(a){if(e.children("."+i.slideClass+'[data-swiper-slide-index="'+t+'"]').length)return!0}else if(r[t])return!0;return!1}function u(t){return a?n(t).attr("data-swiper-slide-index"):n(t).index()}if("auto"===l&&(l=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)e.children("."+i.slideVisibleClass).each((function(e,i){var r=a?n(i).attr("data-swiper-slide-index"):n(i).index();t.lazy.loadInSlide(r)}));else if(l>1)for(var d=o;d<o+l;d+=1)c(d)&&t.lazy.loadInSlide(d);else t.lazy.loadInSlide(o);if(s.loadPrevNext)if(l>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var h=s.loadPrevNextAmount,f=l,p=Math.min(o+f+Math.max(h,f),r.length),m=Math.max(o-Math.max(f,h),0),v=o+l;v<p;v+=1)c(v)&&t.lazy.loadInSlide(v);for(var y=m;y<o;y+=1)c(y)&&t.lazy.loadInSlide(y)}else{var g=e.children("."+i.slideNextClass);g.length>0&&t.lazy.loadInSlide(u(g));var b=e.children("."+i.slidePrevClass);b.length>0&&t.lazy.loadInSlide(u(b))}}},Y={LinearSpline:function(t,e){var i,n,r,o,a,s=function(t,e){for(n=-1,i=t.length;i-n>1;)t[r=i+n>>1]<=e?n=r:i=r;return i};return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(a=s(this.x,t),o=a-1,(t-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(t){this.controller.spline||(this.controller.spline=this.params.loop?new Y.LinearSpline(this.slidesGrid,t.slidesGrid):new Y.LinearSpline(this.snapGrid,t.snapGrid))},setTranslate:function(t,e){var i,n,r=this,o=r.controller.control;function a(t){var e=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(t),n=-r.controller.spline.interpolate(-e)),n&&"container"!==r.params.controller.by||(i=(t.maxTranslate()-t.minTranslate())/(r.maxTranslate()-r.minTranslate()),n=(e-r.minTranslate())*i+t.minTranslate()),r.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,r),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==e&&o[s]instanceof I&&a(o[s]);else o instanceof I&&e!==o&&a(o)},setTransition:function(t,e){var i,n=this,r=n.controller.control;function o(e){e.setTransition(t,n),0!==t&&(e.transitionStart(),e.params.autoHeight&&c.nextTick((function(){e.updateAutoHeight()})),e.$wrapperEl.transitionEnd((function(){r&&(e.params.loop&&"slide"===n.params.controller.by&&e.loopFix(),e.transitionEnd())})))}if(Array.isArray(r))for(i=0;i<r.length;i+=1)r[i]!==e&&r[i]instanceof I&&o(r[i]);else r instanceof I&&e!==r&&o(r)}},X={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){c.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:Y.getInterpolateFunction.bind(this),setTranslate:Y.setTranslate.bind(this),setTransition:Y.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(t,e){this.controller.control&&this.controller.setTranslate(t,e)},setTransition:function(t,e){this.controller.control&&this.controller.setTransition(t,e)}}},K={makeElFocusable:function(t){return t.attr("tabIndex","0"),t},addElRole:function(t,e){return t.attr("role",e),t},addElLabel:function(t,e){return t.attr("aria-label",e),t},disableEl:function(t){return t.attr("aria-disabled",!0),t},enableEl:function(t){return t.attr("aria-disabled",!1),t},onEnterKey:function(t){var e=this.params.a11y;if(13===t.keyCode){var i=n(t.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(e.lastSlideMessage):this.a11y.notify(e.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(e.firstSlideMessage):this.a11y.notify(e.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(t){var e=this.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},updateNavigation:function(){if(!this.params.loop){var t=this.navigation,e=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),e&&e.length>0&&(this.isEnd?this.a11y.disableEl(e):this.a11y.enableEl(e))}},updatePagination:function(){var t=this,e=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each((function(i,r){var o=n(r);t.a11y.makeElFocusable(o),t.a11y.addElRole(o,"button"),t.a11y.addElLabel(o,e.paginationBulletMessage.replace(/{{index}}/,o.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var t,e,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(t=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(e=this.navigation.$prevEl),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",this.a11y.onEnterKey)),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.prevSlideMessage),e.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var t,e;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(t=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(e=this.navigation.$prevEl),t&&t.off("keydown",this.a11y.onEnterKey),e&&e.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},Q={init:function(){if(this.params.history){if(!e.history||!e.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var t=this.history;t.initialized=!0,t.paths=Q.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||e.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=Q.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var t=e.location.pathname.slice(1).split("/").filter((function(t){return""!==t})),i=t.length;return{key:t[i-2],value:t[i-1]}},setHistory:function(t,i){if(this.history.initialized&&this.params.history.enabled){var n=this.slides.eq(i),r=Q.slugify(n.attr("data-history"));e.location.pathname.includes(t)||(r=t+"/"+r);var o=e.history.state;o&&o.value===r||(this.params.history.replaceState?e.history.replaceState({value:r},null,r):e.history.pushState({value:r},null,r))}},slugify:function(t){return t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(t,e,i){if(e)for(var n=0,r=this.slides.length;n<r;n+=1){var o=this.slides.eq(n);if(Q.slugify(o.attr("data-history"))===e&&!o.hasClass(this.params.slideDuplicateClass)){var a=o.index();this.slideTo(a,t,i)}}else this.slideTo(0,t,i)}},J={onHashCange:function(){var e=t.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&e.history&&e.history.replaceState)e.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var i=this.slides.eq(this.activeIndex),n=i.attr("data-hash")||i.attr("data-history");t.location.hash=n||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=t.location.hash.replace("#","");if(i)for(var r=0,o=this.slides.length;r<o;r+=1){var a=this.slides.eq(r);if((a.attr("data-hash")||a.attr("data-history"))===i&&!a.hasClass(this.params.slideDuplicateClass)){var s=a.index();this.slideTo(s,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&n(e).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&n(e).off("hashchange",this.hashNavigation.onHashCange)}},Z={run:function(){var t=this,e=t.slides.eq(t.activeIndex),i=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(i=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=c.nextTick((function(){t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(t.slideNext(t.params.speed,!0,!0),t.emit("autoplay"))}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(t){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==t&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},tt={setTranslate:function(){for(var t=this.slides,e=0;e<t.length;e+=1){var i=this.slides.eq(e),n=-i[0].swiperSlideOffset;this.params.virtualTranslate||(n-=this.translate);var r=0;this.isHorizontal()||(r=n,n=0);var o=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:o}).transform("translate3d("+n+"px, "+r+"px, 0px)")}},setTransition:function(t){var e=this,i=e.slides,n=e.$wrapperEl;if(i.transition(t),e.params.virtualTranslate&&0!==t){var r=!1;i.transitionEnd((function(){if(!r&&e&&!e.destroyed){r=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],i=0;i<t.length;i+=1)n.trigger(t[i])}}))}}},et={setTranslate:function(){var t,e=this.$el,i=this.$wrapperEl,r=this.slides,o=this.width,a=this.height,s=this.rtlTranslate,l=this.size,c=this.params.cubeEffect,u=this.isHorizontal(),h=this.virtual&&this.params.virtual.enabled,f=0;c.shadow&&(u?(0===(t=i.find(".swiper-cube-shadow")).length&&(t=n('<div class="swiper-cube-shadow"></div>'),i.append(t)),t.css({height:o+"px"})):0===(t=e.find(".swiper-cube-shadow")).length&&(t=n('<div class="swiper-cube-shadow"></div>'),e.append(t)));for(var p=0;p<r.length;p+=1){var m=r.eq(p),v=p;h&&(v=parseInt(m.attr("data-swiper-slide-index"),10));var y=90*v,g=Math.floor(y/360);s&&(y=-y,g=Math.floor(-y/360));var b=Math.max(Math.min(m[0].progress,1),-1),w=0,S=0,E=0;v%4==0?(w=4*-g*l,E=0):(v-1)%4==0?(w=0,E=4*-g*l):(v-2)%4==0?(w=l+4*g*l,E=l):(v-3)%4==0&&(w=-l,E=3*l+4*l*g),s&&(w=-w),u||(S=w,w=0);var C="rotateX("+(u?0:-y)+"deg) rotateY("+(u?y:0)+"deg) translate3d("+w+"px, "+S+"px, "+E+"px)";if(b<=1&&b>-1&&(f=90*v+90*b,s&&(f=90*-v-90*b)),m.transform(C),c.slideShadows){var T=u?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),k=u?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===T.length&&(T=n('<div class="swiper-slide-shadow-'+(u?"left":"top")+'"></div>'),m.append(T)),0===k.length&&(k=n('<div class="swiper-slide-shadow-'+(u?"right":"bottom")+'"></div>'),m.append(k)),T.length&&(T[0].style.opacity=Math.max(-b,0)),k.length&&(k[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),c.shadow)if(u)t.transform("translate3d(0px, "+(o/2+c.shadowOffset)+"px, "+-o/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var x=Math.abs(f)-90*Math.floor(Math.abs(f)/90),L=1.5-(Math.sin(2*x*Math.PI/360)/2+Math.cos(2*x*Math.PI/360)/2),A=c.shadowScale,O=c.shadowScale/L,I=c.shadowOffset;t.transform("scale3d("+A+", 1, "+O+") translate3d(0px, "+(a/2+I)+"px, "+-a/2/O+"px) rotateX(-90deg)")}var _=d.isSafari||d.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+_+"px) rotateX("+(this.isHorizontal()?0:f)+"deg) rotateY("+(this.isHorizontal()?-f:0)+"deg)")},setTransition:function(t){var e=this.$el;this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),this.params.cubeEffect.shadow&&!this.isHorizontal()&&e.find(".swiper-cube-shadow").transition(t)}},it={setTranslate:function(){for(var t=this.slides,e=this.rtlTranslate,i=0;i<t.length;i+=1){var r=t.eq(i),o=r[0].progress;this.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r[0].progress,1),-1));var a=-180*o,s=0,l=-r[0].swiperSlideOffset,c=0;if(this.isHorizontal()?e&&(a=-a):(c=l,l=0,s=-a,a=0),r[0].style.zIndex=-Math.abs(Math.round(o))+t.length,this.params.flipEffect.slideShadows){var u=this.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===u.length&&(u=n('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),r.append(u)),0===d.length&&(d=n('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),r.append(d)),u.length&&(u[0].style.opacity=Math.max(-o,0)),d.length&&(d[0].style.opacity=Math.max(o,0))}r.transform("translate3d("+l+"px, "+c+"px, 0px) rotateX("+s+"deg) rotateY("+a+"deg)")}},setTransition:function(t){var e=this,i=e.slides,n=e.activeIndex,r=e.$wrapperEl;if(i.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.virtualTranslate&&0!==t){var o=!1;i.eq(n).transitionEnd((function(){if(!o&&e&&!e.destroyed){o=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],i=0;i<t.length;i+=1)r.trigger(t[i])}}))}}},nt={setTranslate:function(){for(var t=this.width,e=this.height,i=this.slides,r=this.$wrapperEl,o=this.slidesSizesGrid,a=this.params.coverflowEffect,s=this.isHorizontal(),l=this.translate,c=s?t/2-l:e/2-l,d=s?a.rotate:-a.rotate,h=a.depth,f=0,p=i.length;f<p;f+=1){var m=i.eq(f),v=o[f],y=(c-m[0].swiperSlideOffset-v/2)/v*a.modifier,g=s?d*y:0,b=s?0:d*y,w=-h*Math.abs(y),S=s?0:a.stretch*y,E=s?a.stretch*y:0;Math.abs(E)<.001&&(E=0),Math.abs(S)<.001&&(S=0),Math.abs(w)<.001&&(w=0),Math.abs(g)<.001&&(g=0),Math.abs(b)<.001&&(b=0);var C="translate3d("+E+"px,"+S+"px,"+w+"px)  rotateX("+b+"deg) rotateY("+g+"deg)";if(m.transform(C),m[0].style.zIndex=1-Math.abs(Math.round(y)),a.slideShadows){var T=s?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),k=s?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===T.length&&(T=n('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),m.append(T)),0===k.length&&(k=n('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),m.append(k)),T.length&&(T[0].style.opacity=y>0?y:0),k.length&&(k[0].style.opacity=-y>0?-y:0)}}(u.pointerEvents||u.prefixedPointerEvents)&&(r[0].style.perspectiveOrigin=c+"px 50%")},setTransition:function(t){this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}},rt={init:function(){var t=this.params.thumbs,e=this.constructor;t.swiper instanceof e?(this.thumbs.swiper=t.swiper,c.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),c.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):c.isObject(t.swiper)&&(this.thumbs.swiper=new e(c.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var t=this.thumbs.swiper;if(t){var e=t.clickedIndex,i=t.clickedSlide;if(!(i&&n(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==e)){var r;if(r=t.params.loop?parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"),10):e,this.params.loop){var o=this.activeIndex;this.slides.eq(o).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,o=this.activeIndex);var a=this.slides.eq(o).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),s=this.slides.eq(o).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r=void 0===a?s:void 0===s?a:s-o<o-a?s:a}this.slideTo(r)}}},update:function(t){var e=this.thumbs.swiper;if(e){var i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():e.params.slidesPerView;if(this.realIndex!==e.realIndex){var n,r=e.activeIndex;if(e.params.loop){e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var o=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),a=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();n=void 0===o?a:void 0===a?o:a-r==r-o?r:a-r<r-o?a:o}else n=this.realIndex;e.visibleSlidesIndexes&&e.visibleSlidesIndexes.indexOf(n)<0&&(e.params.centeredSlides?n=n>r?n-Math.floor(i/2)+1:n+Math.floor(i/2)-1:n>r&&(n=n-i+1),e.slideTo(n,t?0:void 0))}var s=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(s=this.params.slidesPerView),e.slides.removeClass(l),e.params.loop||e.params.virtual)for(var c=0;c<s;c+=1)e.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+c)+'"]').addClass(l);else for(var u=0;u<s;u+=1)e.slides.eq(this.realIndex+u).addClass(l)}}},ot=[_,P,N,M,D,H,F,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){c.extend(this,{mousewheel:{enabled:!1,enable:W.enable.bind(this),disable:W.disable.bind(this),handle:W.handle.bind(this),handleMouseEnter:W.handleMouseEnter.bind(this),handleMouseLeave:W.handleMouseLeave.bind(this),lastScrollTime:c.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){c.extend(this,{navigation:{init:z.init.bind(this),update:z.update.bind(this),destroy:z.destroy.bind(this),onNextClick:z.onNextClick.bind(this),onPrevClick:z.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(t){var e,i=this.navigation,r=i.$nextEl,o=i.$prevEl;!this.params.navigation.hideOnClick||n(t.target).is(o)||n(t.target).is(r)||(r?e=r.hasClass(this.params.navigation.hiddenClass):o&&(e=o.hasClass(this.params.navigation.hiddenClass)),!0===e?this.emit("navigationShow",this):this.emit("navigationHide",this),r&&r.toggleClass(this.params.navigation.hiddenClass),o&&o.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(t){return t},formatFractionTotal:function(t){return t},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){c.extend(this,{pagination:{init:V.init.bind(this),render:V.render.bind(this),update:V.update.bind(this),destroy:V.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(t){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!n(t.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){c.extend(this,{scrollbar:{init:q.init.bind(this),destroy:q.destroy.bind(this),updateSize:q.updateSize.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this),enableDraggable:q.enableDraggable.bind(this),disableDraggable:q.disableDraggable.bind(this),setDragPosition:q.setDragPosition.bind(this),getPointerPosition:q.getPointerPosition.bind(this),onDragStart:q.onDragStart.bind(this),onDragMove:q.onDragMove.bind(this),onDragEnd:q.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(t){this.scrollbar.setTransition(t)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){c.extend(this,{parallax:{setTransform:U.setTransform.bind(this),setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(t){this.params.parallax.enabled&&this.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this,e={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){e[i]=$[i].bind(t)})),c.extend(t,{zoom:e});var i=1;Object.defineProperty(t.zoom,"scale",{get:function(){return i},set:function(e){if(i!==e){var n=t.zoom.gesture.$imageEl?t.zoom.gesture.$imageEl[0]:void 0,r=t.zoom.gesture.$slideEl?t.zoom.gesture.$slideEl[0]:void 0;t.emit("zoomChange",e,n,r)}i=e}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(t){this.zoom.enabled&&this.zoom.onTouchStart(t)},touchEnd:function(t){this.zoom.enabled&&this.zoom.onTouchEnd(t)},doubleTap:function(t){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(t)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){c.extend(this,{lazy:{initialImageLoaded:!1,load:G.load.bind(this),loadInSlide:G.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},X,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;c.extend(t,{a11y:{liveRegion:n('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(K).forEach((function(e){t.a11y[e]=K[e].bind(t)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){c.extend(this,{history:{init:Q.init.bind(this),setHistory:Q.setHistory.bind(this),setHistoryPopState:Q.setHistoryPopState.bind(this),scrollToSlide:Q.scrollToSlide.bind(this),destroy:Q.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){c.extend(this,{hashNavigation:{initialized:!1,init:J.init.bind(this),destroy:J.destroy.bind(this),setHash:J.setHash.bind(this),onHashCange:J.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;c.extend(t,{autoplay:{running:!1,paused:!1,run:Z.run.bind(t),start:Z.start.bind(t),stop:Z.stop.bind(t),pause:Z.pause.bind(t),onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(t,e){this.autoplay.running&&(e||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(t):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){c.extend(this,{fadeEffect:{setTranslate:tt.setTranslate.bind(this),setTransition:tt.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,t),c.extend(this.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(t){"fade"===this.params.effect&&this.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){c.extend(this,{cubeEffect:{setTranslate:et.setTranslate.bind(this),setTransition:et.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};c.extend(this.params,t),c.extend(this.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(t){"cube"===this.params.effect&&this.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){c.extend(this,{flipEffect:{setTranslate:it.setTranslate.bind(this),setTransition:it.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};c.extend(this.params,t),c.extend(this.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(t){"flip"===this.params.effect&&this.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){c.extend(this,{coverflowEffect:{setTranslate:nt.setTranslate.bind(this),setTransition:nt.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(t){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){c.extend(this,{thumbs:{swiper:null,init:rt.init.bind(this),update:rt.update.bind(this),onThumbClick:rt.onThumbClick.bind(this)}})},on:{beforeInit:function(){var t=this.params.thumbs;t&&t.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(t){var e=this.thumbs.swiper;e&&e.setTransition(t)},beforeDestroy:function(){var t=this.thumbs.swiper;t&&this.thumbs.swiperCreated&&t&&t.destroy()}}}];return void 0===I.use&&(I.use=I.Class.use,I.installModule=I.Class.installModule),I.use(ot),I}()},function(t,e,i){"use strict";i.r(e),i.d(e,"ImageLoaderSrcset",(function(){return d})),i.d(e,"ImageLoaderBackground",(function(){return y})),i.d(e,"RequestCacher",(function(){return k})),i.d(e,"CACHE_DEFAULTS",(function(){return C})),i.d(e,"stripAttr",(function(){return o.f})),i.d(e,"delayPromise",(function(){return o.b})),i.d(e,"getWindowScroll",(function(){return o.c})),i.d(e,"getWindowSize",(function(){return o.d})),i.d(e,"isInViewport",(function(){return o.e})),i.d(e,"debounce",(function(){return o.a}));var n=i(80),r=i.n(n),o=i(16);function a(t){return(a="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})(t)}function s(t){return function(t){if(Array.isArray(t))return l(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)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var d=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c(this,t),this.states={UNLOADED:"unloaded",LOADING:"loading",LOADED:"loaded",LOAD_ERROR:"load-error"},this.domElement=e.element,this.loadingState=this.states.UNLOADED,this.sources=this.domElement.getElementsByTagName("source"),this.img=this.domElement.querySelector("img"),this.loaderIcon=this.domElement.querySelector(".spinner"),this.regExpCLToken=/^mod-img-loader/}var e,i,n;return e=t,n=[{key:"isAuthorEditMode",value:function(){var t=new URLSearchParams(window.location.search),e=document.cookie.split("; ").some((function(t){return t.includes("wcmmode=edit")})),i=t.get("wcmmode");return document.body.classList.contains("author-mode")&&e&&"disabled"!==i}}],(i=[{key:"init",value:function(){var t=this;this.initEventHandling(),this.setState(this.states.UNLOADED),window.db.Globals.initMaxSize(this.domElement),setTimeout((function(){return t.loadImageVisibleInViewport()}),200)}},{key:"initEventHandling",value:function(){var t=this,e=this;window.addEventListener("scroll",(function(){t.loadImageVisibleInViewport()})),this.debouncedResize=Object(o.a)((function(){window.db.Globals.removeMaxSize(t.domElement),e.updateImageSource(),t.loadingState===t.states.UNLOADED&&window.db.Globals.initMaxSize(t.domElement)}),500,!1),window.addEventListener("resize",this.debouncedResize)}},{key:"loadImageVisibleInViewport",value:function(){if(this.loadingState===this.states.UNLOADED){if(t.isAuthorEditMode())return this.setState(this.states.LOADING),void this.updateImageSource();Object(o.e)(this.domElement,Object(o.c)())&&(this.setState(this.states.LOADING),this.updateImageSource())}}},{key:"updateImageSource",value:function(){if(this.loadingState!==this.states.UNLOADED&&this.sources){s(this.sources).forEach((function(t){window.MobileEsp.isMobilePhone&&t.hasAttribute("data-hide-on-mobile")&&t.getAttribute("data-hide-on-mobile")||(t.hasAttribute("data-media")&&(t.setAttribute("media",t.getAttribute("data-media")),t.removeAttribute("data-media")),t.hasAttribute("data-srcset")&&(t.setAttribute("srcset",t.getAttribute("data-srcset")),t.removeAttribute("data-srcset")))})),this.updateLayoutSizes();var t=window.MobileEsp.isMobilePhone&&this.img.hasAttribute("data-hide-on-mobile")&&!!this.img.getAttribute("data-hide-on-mobile");this.img.hasAttribute("data-src")&&!t&&(window.db.Globals.initMaxSize(this.domElement),this.img.addEventListener("load",this.removeLoadingIcon.bind(this)),this.img.addEventListener("error",this.removeLoadingIcon.bind(this)),this.img.setAttribute("src",this.img.getAttribute("data-src")),this.img.setAttribute("srcset",this.img.getAttribute("data-srcset")||""),this.img.removeAttribute("data-src"),this.img.removeAttribute("data-srcset")),r()({reevaluate:!0,elements:[this.img]})}}},{key:"updateLayoutSizes",value:function(){var t=this.domElement.offsetWidth;s(this.sources).forEach((function(e){if(e.hasAttribute("data-layouts")){var i=e.getAttribute("data-layouts").split(",").map((function(e){var i=e.trim().split(" ");return{url:i[0],size:i[1],diff:Math.abs(t-i[1])}})),n=i.reduce((function(t,e,n){return e.diff<i[t].diff&&e.diff<=0?n:t}),0);e.setAttribute("srcset","".concat(i[n].url))}}))}},{key:"removeLoadingIcon",value:function(t){"load"===t.type?(this.setState(this.states.LOADED),this.domElement.removeAttribute("style"),window.db.Globals.removeMaxSize(this.domElement)):"error"===t.type&&this.setState(this.states.LOAD_ERROR),this.loaderIcon&&(this.domElement.removeChild(this.loaderIcon),this.loaderIcon=null),this.img.removeEventListener("load",this.removeLoadingIcon),this.img.removeEventListener("error",this.removeLoadingIcon),this.setState("",!0)}},{key:"setState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.loadingState=t;for(var i=this.domElement.classList,n=i.length-1;n>=0;n--)this.regExpCLToken.test(i[n])&&i.remove(i[n]);e||(this.domElement.classList.add("mod-img-loader"),this.domElement.classList.add("mod-img-loader--".concat(t)))}}])&&u(e.prototype,i),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),h=i(2),f=i.n(h);function p(t){return(p="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})(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==p(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===p(o)?o:String(o)),n)}var r,o}var y=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(this,t),this.states={UNLOADED:"unloaded",LOADING:"loading",LOADED:"loaded",LOAD_ERROR:"load-error"},this.domElement=e.element,this.loadingState=this.states.UNLOADED,this.loaderIcon=this.domElement.querySelector(".spinner"),this.dummyImg=new window.Image,this.hideMediaOnMobile=null,this.regExpCLToken=/^mod-img-loader/}var e,i,n;return e=t,n=[{key:"isAuthorEditMode",value:function(){var t=new URLSearchParams(window.location.search),e=document.cookie.split("; ").some((function(t){return t.includes("wcmmode=edit")})),i=t.get("wcmmode");return document.body.classList.contains("author-mode")&&e&&"disabled"!==i}}],(i=[{key:"init",value:function(){var t=this;this.setState(this.states.UNLOADED),this.hasSizes=this.domElement.hasAttribute("data-sizes"),this.isTeaser=this.domElement.hasAttribute("data-teaser-media-src"),this.hideMediaOnMobile=this.domElement.hasAttribute("data-hide-on-mobile")&&!!this.domElement.getAttribute("data-hide-on-mobile"),this.dummyImg.addEventListener("load",this.removeLoadingIcon.bind(this)),this.dummyImg.addEventListener("error",this.removeLoadingIcon.bind(this)),this.initEventHandling(),setTimeout((function(){return t.loadImageVisibleInViewport()}),200)}},{key:"initEventHandling",value:function(){var t=this,e=this;window.addEventListener("scroll",(function(){t.loadImageVisibleInViewport()})),this.debouncedResize=Object(o.a)((function(){e.updateImageSource()}),500,!1),window.addEventListener("resize",this.debouncedResize)}},{key:"loadImageVisibleInViewport",value:function(){if(this.loadingState===this.states.UNLOADED){if(t.isAuthorEditMode())return this.setState(this.states.LOADING),void this.updateImageSource();Object(o.e)(this.domElement,Object(o.c)())&&(this.setState(this.states.LOADING),this.updateImageSource())}}},{key:"updateImageSource",value:function(){if(this.loadingState!==this.states.UNLOADED&&(this.hasSizes||this.isTeaser)){if(window.MobileEsp.isMobilePhone&&this.hideMediaOnMobile)return void(this.loaderIcon&&(this.domElement.removeChild(this.loaderIcon),this.loaderIcon=null));if(this.isTeaser)return void this.handleTeaserMedia();var t=this.domElement.offsetWidth,e=this.domElement.offsetHeight;if(this.sources=this.domElement.getAttribute("data-sizes").split(",").map((function(i){var n=i.trim().split(" "),r=parseFloat(n[1]),o=parseFloat(n[2]);return{url:n[0],size:r,diffX:t-r,diffY:o?e-r/(o/100):e-r}})).filter((function(t){return t.url})),this.sources.length){var i=this.sources.reduce((function(t,e,i,n){return e.diffX<=0&&e.diffX>n[t].diffX?i:t}),0),n=this.sources.reduce((function(t,e,i,n){return e.diffY<=0&&e.diffY>n[t].diffY?i:t}),0),r=this.sources[i].diffX>=this.sources[n].diffY?i:n;this.dummyImg.src=this.sources[r].url}else this.dummyImg.src=""}}},{key:"handleTeaserMedia",value:function(){var t=this;f.a.register("screen and (max-width: 767px)",{match:function(){t.hideMediaOnMobile?t.loaderIcon&&(t.domElement.removeChild(t.loaderIcon),t.loaderIcon=null):t.dummyImg.src=t.domElement.getAttribute("data-teaser-media-src-mobile")},unmatch:function(){t.dummyImg.src=t.domElement.getAttribute("data-teaser-media-src")}}),f.a.register("screen and (min-width: 768px)",{match:function(){window.db.isMobile&&!t.hideMediaOnMobile?t.dummyImg.src=t.domElement.getAttribute("data-teaser-media-src-mobile"):t.dummyImg.src=t.domElement.getAttribute("data-teaser-media-src")},unmatch:function(){t.hideMediaOnMobile?t.loaderIcon&&(t.domElement.removeChild(t.loaderIcon),t.loaderIcon=null):t.dummyImg.src=t.domElement.getAttribute("data-teaser-media-src-mobile")}})}},{key:"removeLoadingIcon",value:function(t){"load"===t.type?(this.setState(this.states.LOADED),this.domElement.setAttribute("style","background-image: url(".concat(this.dummyImg.src,");")),this.domElement.setAttribute("data-load","true")):"error"===t.type&&(this.domElement.setAttribute("data-load","error"),this.setState(this.states.LOAD_ERROR)),this.dummyImg.removeEventListener("load",this.removeLoadingIcon),this.dummyImg.removeEventListener("error",this.removeLoadingIcon),this.setState("",!0)}},{key:"setState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.loadingState=t;for(var i=this.domElement.classList,n=i.length-1;n>=0;n--)this.regExpCLToken.test(i[n])&&i.remove(i[n]);e||(this.domElement.classList.add("mod-img-loader"),this.domElement.classList.add("mod-img-loader--".concat(t)))}}])&&v(e.prototype,i),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function g(t){return(g="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})(t)}function b(){b=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,n=Object.defineProperty||function(t,e,i){t[e]=i.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,i){return t[e]=i}}function c(t,e,i,r){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new L(r||[]);return n(a,"_invoke",{value:C(t,i,s)}),a}function u(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(A([])));y&&y!==e&&i.call(y,o)&&(m=y);var w=p.prototype=h.prototype=Object.create(m);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){var r;n(this,"_invoke",{value:function(n,o){function a(){return new e((function(r,a){!function n(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==g(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}(n,o,r,a)}))}return r=r?r.then(a,a):a()}})}function C(t,e,i){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return O()}for(i.method=r,i.arg=o;;){var a=i.delegate;if(a){var s=T(a,i);if(s){if(s===d)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=u(t,e,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}function T(t,e){var i=e.method,n=t.iterator[i];if(void 0===n)return e.delegate=null,"throw"===i&&t.iterator.return&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return f.prototype=p,n(w,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},S(E.prototype),l(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,i,n,r,o){void 0===o&&(o=Promise);var a=new E(c(e,i,n,r),o);return t.isGeneratorFunction(i)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(w),l(w,s,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=A,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(i,n){return a.type="throw",a.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):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),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),x(i),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;x(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:A(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},t}function w(t,e,i,n,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void i(t)}s.done?e(l):Promise.resolve(l).then(n,r)}function S(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==g(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===g(o)?o:String(o)),n)}var r,o}var E=window.db&&window.db.cacheVersion||window.location.pathname,C={CACHE_VERSION:E,CURRENT_CACHES:{userSettings:"user-settings-cache-v-".concat(E)}},T={mode:"cors"},k=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e){var i,n,r=new RegExp(C.CURRENT_CACHES.userSettings);(i=b().mark((function t(){return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,caches.keys().then((function(t){return Promise.all(t.map((function(t){return r.test(t)?caches.delete(t):null})))}));case 2:caches.open(C.CURRENT_CACHES.userSettings).then((function(t){var i=e.map((function(e){var i=new URL(e,window.location.href),n=new Request(i.href,T);return fetch(n).then((function(i){if(!i.ok)throw new Error("request for ".concat(e," failed with status ").concat(i.statusText));return t.put(e,i.clone())})).catch((function(t){}))}));return Promise.all(i).then((function(){}))})).catch((function(t){}));case 3:case"end":return t.stop()}}),t)})),n=function(){var t=this,e=arguments;return new Promise((function(n,r){var o=i.apply(t,e);function a(t){w(o,n,r,a,s,"next",t)}function s(t){w(o,n,r,a,s,"throw",t)}a(void 0)}))},function(){return n.apply(this,arguments)})()}}var e,i,n;return e=t,(i=[{key:"getFetchResponseWithCaching",value:function(t){var e=t.url,i=new Request(void 0===e?"/":e,T);return caches.match(i,{cacheName:C.CURRENT_CACHES.userSettings}).then((function(t){return void 0!==t?t:fetch(i).then((function(t){if(t.ok){var e=t.clone();caches.open(C.CURRENT_CACHES.userSettings).then((function(t){t.put(i,e)}))}return t})).catch((function(){return caches.match(C.CURRENT_CACHES.userSettings)}))}))}}])&&S(e.prototype,i),n&&S(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},function(t,e,i){var n=i(34);t.exports=function(t){return Object(n(t))}},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i(81);function r(t,e,i){var r,o=window.scrollY||window.pageYOffset,a=t-o;e=e||400,window.requestAnimationFrame((function s(l){r||(r=l);var c=l-r;window.scrollTo(0,Object(n.a)(c,o,a,e)),c<e?window.requestAnimationFrame(s):(window.scrollTo(0,t),i&&i())}))}},function(t,e,i){"use strict";function n(t,e){var i;i=e,"[object Array]"===Object.prototype.toString.call(i)?e.forEach((function(e){return t.removeAttribute(e)})):function(t){return"[object String]"===Object.prototype.toString.call(t)}(e)&&t.removeAttribute(e)}function r(t,e,i){return new Promise((function(n){setTimeout((function(){e(i),n()}),t)}))}function o(){var t=window;return{x:t.pageXOffset||t.scrollX||0,y:t.pageYOffset||t.scrollY||0}}function a(){var t=document.documentElement||document.body;return{width:t.clientWidth,height:t.clientHeight}}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o(),i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.3,n=!1,r=a(),s=r.height*i,l=e.y-s,c=e.y+r.height+s,u=t.getBoundingClientRect(),d=u.top+e.y;return d<c&&d+u.height>l&&(n=!0),n}function l(t,e,i){var n,r=this;return function(){for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];var l=r,c=function(){n=null,i||t.apply(l,a)},u=i&&!n;clearTimeout(n),n=setTimeout(c,e),u&&t.apply(l,a)}}i.d(e,"f",(function(){return n})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"d",(function(){return a})),i.d(e,"e",(function(){return s})),i.d(e,"a",(function(){return l}))},function(t,e,i){var n=i(3),r=i(21),o=i(20),a=i(41)("src"),s=i(208),l=(""+s).split("toString");i(9).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,i,s){var c="function"==typeof i;c&&(o(i,"name")||r(i,"name",e)),t[e]!==i&&(c&&(o(i,a)||r(i,a,t[e]?""+t[e]:l.join(String(e)))),t===n?t[e]=i:s?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e,i){var n=i(1),r=i(4),o=i(34),a=/"/g,s=function(t,e,i,n){var r=String(o(t)),s="<"+e;return""!==i&&(s+=" "+i+'="'+String(n).replace(a,"&quot;")+'"'),s+">"+r+"</"+e+">"};t.exports=function(t,e){var i={};i[t]=e(s),n(n.P+n.F*r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",i)}},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(38);function o(t){return(o="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})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,a,s=[],l=!0,c=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=i.return&&(a=i.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(t,e)||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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.disclaimerLayer=e,this.disclaimerLayerButtons=this.disclaimerLayer.querySelectorAll(".disclaimer-layer__button");var i=a(this.disclaimerLayerButtons,2),n=i[0],r=i[1];this.disclaimerLayerBackBtn=n,this.disclaimerLayerAcceptBtn=r}var e,i,o;return e=t,o=[{key:"closeLayer",value:function(e){t.pageOverlay.toggleVisibility("hide"),e.classList.add("visuallyhidden"),e.classList.add("invisible")}},{key:"openLayer",value:function(e){t.pageOverlay.toggleVisibility(),e.classList.remove("visuallyhidden"),e.classList.remove("invisible")}},{key:"setAcceptCallback",value:function(e){t.acceptCallback=e}}],(i=[{key:"init",value:function(){var e=this;t.pageOverlay=new r.default,t.pageOverlay.toggleVisibility("hide"),this.disclaimerLayerBackBtn.addEventListener("click",(function(){t.closeLayer(e.disclaimerLayer)})),this.disclaimerLayerAcceptBtn.addEventListener("click",(function(){n.default.setCookie({name:n.default.youtubeCookie().YOUTUBE_DISCLAIMER_CONFIRM_COOKIE_NAME,expires:n.default.youtubeCookie().YOUTUBE_DISCLAIMER_CONFIRM_EXPIRATION_DAYS}),t.closeLayer(e.disclaimerLayer),t.acceptCallback()}))}}])&&l(e.prototype,i),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){var n=i(11),r=i(40);t.exports=i(10)?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(59),r=i(34);t.exports=function(t){return n(r(t))}},function(t,e,i){var n;!function(r,o,a,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=o.createElement("div"),d=Math.round,h=Math.abs,f=Date.now;function p(t,e,i){return setTimeout(S(t,i),e)}function m(t,e,i){return!!Array.isArray(t)&&(v(t,i[e],i),!0)}function v(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function y(t,e,i){var n="DEPRECATED METHOD: "+e+"\n"+i+" AT \n";return function(){var e=new Error("get-stack-trace"),i=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,n,i),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}:Object.assign;var g=y((function(t,e,i){for(var n=Object.keys(e),r=0;r<n.length;)(!i||i&&void 0===t[n[r]])&&(t[n[r]]=e[n[r]]),r++;return t}),"extend","Use `assign`."),b=y((function(t,e){return g(t,e,!0)}),"merge","Use `assign`.");function w(t,e,i){var n,r=e.prototype;(n=t.prototype=Object.create(r)).constructor=t,n._super=r,i&&l(n,i)}function S(t,e){return function(){return t.apply(e,arguments)}}function E(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function C(t,e){return void 0===t?e:t}function T(t,e,i){v(A(e),(function(e){t.addEventListener(e,i,!1)}))}function k(t,e,i){v(A(e),(function(e){t.removeEventListener(e,i,!1)}))}function x(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function L(t,e){return t.indexOf(e)>-1}function A(t){return t.trim().split(/\s+/g)}function O(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function I(t){return Array.prototype.slice.call(t,0)}function _(t,e,i){for(var n=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];O(r,a)<0&&n.push(t[o]),r[o]=a,o++}return i&&(n=e?n.sort((function(t,i){return t[e]>i[e]})):n.sort()),n}function P(t,e){for(var i,n,r=e[0].toUpperCase()+e.slice(1),o=0;o<c.length;){if((n=(i=c[o])?i+r:e)in t)return n;o++}}var N=1;function M(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var B="ontouchstart"in r,D=void 0!==P(r,"PointerEvent"),j=B&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),H=["x","y"],R=["clientX","clientY"];function F(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){E(t.options.enable,[t])&&i.handler(e)},this.init()}function W(t,e,i){var n=i.pointers.length,r=i.changedPointers.length,o=1&e&&n-r==0,a=12&e&&n-r==0;i.isFirst=!!o,i.isFinal=!!a,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,r=n.length;i.firstInput||(i.firstInput=z(e));r>1&&!i.firstMultiple?i.firstMultiple=z(e):1===r&&(i.firstMultiple=!1);var o=i.firstInput,a=i.firstMultiple,s=a?a.center:o.center,l=e.center=V(n);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=G(s,l),e.distance=$(s,l),function(t,e){var i=e.center,n=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};1!==e.eventType&&4!==o.eventType||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y});e.deltaX=r.x+(i.x-n.x),e.deltaY=r.y+(i.y-n.y)}(i,e),e.offsetDirection=U(e.deltaX,e.deltaY);var c=q(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=h(c.x)>h(c.y)?c.x:c.y,e.scale=a?(u=a.pointers,d=n,$(d[0],d[1],R)/$(u[0],u[1],R)):1,e.rotation=a?function(t,e){return G(e[1],e[0],R)+G(t[1],t[0],R)}(a.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,r,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(8!=e.eventType&&(s>25||void 0===a.velocity)){var l=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,u=q(s,l,c);n=u.x,r=u.y,i=h(u.x)>h(u.y)?u.x:u.y,o=U(l,c),t.lastInterval=e}else i=a.velocity,n=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=o}(i,e);var u,d;var p=t.element;x(e.srcEvent.target,p)&&(p=e.srcEvent.target);e.target=p}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function z(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:d(t.pointers[i].clientX),clientY:d(t.pointers[i].clientY)},i++;return{timeStamp:f(),pointers:e,center:V(e),deltaX:t.deltaX,deltaY:t.deltaY}}function V(t){var e=t.length;if(1===e)return{x:d(t[0].clientX),y:d(t[0].clientY)};for(var i=0,n=0,r=0;r<e;)i+=t[r].clientX,n+=t[r].clientY,r++;return{x:d(i/e),y:d(n/e)}}function q(t,e,i){return{x:e/t||0,y:i/t||0}}function U(t,e){return t===e?1:h(t)>=h(e)?t<0?2:4:e<0?8:16}function $(t,e,i){i||(i=H);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function G(t,e,i){i||(i=H);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}F.prototype={handler:function(){},init:function(){this.evEl&&T(this.element,this.evEl,this.domHandler),this.evTarget&&T(this.target,this.evTarget,this.domHandler),this.evWin&&T(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(M(this.element),this.evWin,this.domHandler)}};var Y={mousedown:1,mousemove:2,mouseup:4};function X(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,F.apply(this,arguments)}w(X,F,{handler:function(t){var e=Y[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var K={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Q={2:"touch",3:"pen",4:"mouse",5:"kinect"},J="pointerdown",Z="pointermove pointerup pointercancel";function tt(){this.evEl=J,this.evWin=Z,F.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(J="MSPointerDown",Z="MSPointerMove MSPointerUp MSPointerCancel"),w(tt,F,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),r=K[n],o=Q[t.pointerType]||t.pointerType,a="touch"==o,s=O(e,t.pointerId,"pointerId");1&r&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):12&r&&(i=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(s,1))}});var et={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function it(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,F.apply(this,arguments)}function nt(t,e){var i=I(t.touches),n=I(t.changedTouches);return 12&e&&(i=_(i.concat(n),"identifier",!0)),[i,n]}w(it,F,{handler:function(t){var e=et[t.type];if(1===e&&(this.started=!0),this.started){var i=nt.call(this,t,e);12&e&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:"touch",srcEvent:t})}}});var rt={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ot(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},F.apply(this,arguments)}function at(t,e){var i=I(t.touches),n=this.targetIds;if(3&e&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,o,a=I(t.changedTouches),s=[],l=this.target;if(o=i.filter((function(t){return x(t.target,l)})),1===e)for(r=0;r<o.length;)n[o[r].identifier]=!0,r++;for(r=0;r<a.length;)n[a[r].identifier]&&s.push(a[r]),12&e&&delete n[a[r].identifier],r++;return s.length?[_(o.concat(s),"identifier",!0),s]:void 0}w(ot,F,{handler:function(t){var e=rt[t.type],i=at.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:"touch",srcEvent:t})}});function st(){F.apply(this,arguments);var t=S(this.handler,this);this.touch=new ot(this.manager,t),this.mouse=new X(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function lt(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,ct.call(this,e)):12&t&&ct.call(this,e)}function ct(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;setTimeout((function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)}),2500)}}function ut(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n],o=Math.abs(e-r.x),a=Math.abs(i-r.y);if(o<=25&&a<=25)return!0}return!1}w(st,F,{handler:function(t,e,i){var n="touch"==i.pointerType,r="mouse"==i.pointerType;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)lt.call(this,e,i);else if(r&&ut.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var dt=P(u.style,"touchAction"),ht=void 0!==dt,ft=function(){if(!ht)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){t[i]=!e||r.CSS.supports("touch-action",i)})),t}();function pt(t,e){this.manager=t,this.set(e)}pt.prototype={set:function(t){"compute"==t&&(t=this.compute()),ht&&this.manager.element.style&&ft[t]&&(this.manager.element.style[dt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(e){E(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(L(t,"none"))return"none";var e=L(t,"pan-x"),i=L(t,"pan-y");if(e&&i)return"none";if(e||i)return e?"pan-x":"pan-y";if(L(t,"manipulation"))return"manipulation";return"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,r=L(n,"none")&&!ft.none,o=L(n,"pan-y")&&!ft["pan-y"],a=L(n,"pan-x")&&!ft["pan-x"];if(r){var s=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(s&&l&&c)return}if(!a||!o)return r||o&&6&i||a&&24&i?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};function mt(t){this.options=l({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=C(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function vt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function yt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function gt(t,e){var i=e.manager;return i?i.get(t):t}function bt(){mt.apply(this,arguments)}function wt(){bt.apply(this,arguments),this.pX=null,this.pY=null}function St(){bt.apply(this,arguments)}function Et(){mt.apply(this,arguments),this._timer=null,this._input=null}function Ct(){bt.apply(this,arguments)}function Tt(){bt.apply(this,arguments)}function kt(){mt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function xt(t,e){return(e=e||{}).recognizers=C(e.recognizers,xt.defaults.preset),new Lt(t,e)}mt.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(m(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=gt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return m(t,"dropRecognizeWith",this)||(t=gt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(m(t,"requireFailure",this))return this;var e=this.requireFail;return-1===O(e,t=gt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(m(t,"dropRequireFailure",this))return this;t=gt(t,this);var e=O(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,i=this.state;function n(i){e.manager.emit(i,t)}i<8&&n(e.options.event+vt(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=8&&n(e.options.event+vt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!E(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(bt,mt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=6&e,r=this.attrTest(t);return n&&(8&i||!r)?16|e:n||r?4&i?8|e:2&e?4|e:2:32}}),w(wt,bt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push("pan-y"),24&t&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(6&e.direction?(r=0===o?1:o<0?2:4,i=o!=this.pX,n=Math.abs(t.deltaX)):(r=0===a?1:a<0?8:16,i=a!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return bt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=yt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(St,bt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),w(Et,mt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!n||!i||12&t.eventType&&!r)this.reset();else if(1&t.eventType)this.reset(),this._timer=p((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(Ct,bt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),w(Tt,bt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return wt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return 30&i?e=t.overallVelocity:6&i?e=t.overallVelocityX:24&i&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=yt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(kt,mt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(n&&r&&i){if(4!=t.eventType)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||$(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=p((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=p((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),xt.VERSION="2.0.7",xt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Ct,{enable:!1}],[St,{enable:!1},["rotate"]],[Tt,{direction:6}],[wt,{direction:6},["swipe"]],[kt],[kt,{event:"doubletap",taps:2},["tap"]],[Et]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function Lt(t,e){var i;this.options=l({},xt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((i=this).options.inputClass||(D?tt:j?ot:B?st:X))(i,W),this.touchAction=new pt(this,this.options.touchAction),At(this,!0),v(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function At(t,e){var i,n=t.element;n.style&&(v(t.options.cssProps,(function(r,o){i=P(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}Lt.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var i;this.touchAction.preventDefaults(t);var n=this.recognizers,r=e.curRecognizer;(!r||r&&8&r.state)&&(r=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(t),!r&&14&i.state&&(r=e.curRecognizer=i),o++}},get:function(t){if(t instanceof mt)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(m(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(m(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=O(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(void 0!==t&&void 0!==e){var i=this.handlers;return v(A(t),(function(t){i[t]=i[t]||[],i[t].push(e)})),this}},off:function(t,e){if(void 0!==t){var i=this.handlers;return v(A(t),(function(t){e?i[t]&&i[t].splice(O(i[t],e),1):delete i[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var i=o.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&At(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(xt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Lt,Input:F,TouchAction:pt,TouchInput:ot,MouseInput:X,PointerEventInput:tt,TouchMouseInput:st,SingleTouchInput:it,Recognizer:mt,AttrRecognizer:bt,Tap:kt,Pan:wt,Swipe:Tt,Pinch:St,Rotate:Ct,Press:Et,on:T,off:k,each:v,merge:b,extend:g,assign:l,inherit:w,bindFn:S,prefixed:P}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=xt,void 0===(n=function(){return xt}.call(e,i,e,t))||(t.exports=n)}(window,document)},function(t,e,i){var n,r,o={},a=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=n.apply(this,arguments)),r}),s=function(t){return document.querySelector(t)},l=function(t){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var i=s.call(this,t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),c=null,u=0,d=[],h=i(25);function f(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(b(n.parts[a],e))}else{var s=[];for(a=0;a<n.parts.length;a++)s.push(b(n.parts[a],e));o[n.id]={id:n.id,refs:1,parts:s}}}}function p(t,e){for(var i=[],n={},r=0;r<t.length;r++){var o=t[r],a=e.base?o[0]+e.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(s):i.push(n[a]={id:a,parts:[s]})}return i}function m(t,e){var i=l(t.insertInto);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=d[d.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),d.push(e);else if("bottom"===t.insertAt)i.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=l(t.insertInto+" "+t.insertAt.before);i.insertBefore(e,r)}}function v(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function y(t){var e=document.createElement("style");return t.attrs.type="text/css",g(e,t.attrs),m(t,e),e}function g(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}function b(t,e){var i,n,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var a=u++;i=c||(c=y(e)),n=E.bind(null,i,a,!1),r=E.bind(null,i,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=function(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",g(e,t.attrs),m(t,e),e}(e),n=T.bind(null,i,e),r=function(){v(i),i.href&&URL.revokeObjectURL(i.href)}):(i=y(e),n=C.bind(null,i),r=function(){v(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var i=p(t,e);return f(i,e),function(t){for(var n=[],r=0;r<i.length;r++){var a=i[r];(s=o[a.id]).refs--,n.push(s)}t&&f(p(t,e),e);for(r=0;r<n.length;r++){var s;if(0===(s=n[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var w,S=(w=[],function(t,e){return w[t]=e,w.filter(Boolean).join("\n")});function E(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=S(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function C(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function T(t,e,i){var n=i.css,r=i.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(n=h(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([n],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var i=e.protocol+"//"+e.host,n=i+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,o=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?i+o:n+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},function(t,e,i){"use strict";var n=i(4);t.exports=function(t,e){return!!t&&n((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,i){var n=i(28);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(60),r=i(40),o=i(22),a=i(36),s=i(20),l=i(113),c=Object.getOwnPropertyDescriptor;e.f=i(10)?c:function(t,e){if(t=o(t),e=a(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return r(!n.f.call(t,e),t[e])}},function(t,e,i){var n=i(1),r=i(9),o=i(4);t.exports=function(t,e){var i=(r.Object||{})[t]||Object[t],a={};a[t]=e(i),n(n.S+n.F*o((function(){i(1)})),"Object",a)}},function(t,e,i){var n=i(27),r=i(59),o=i(14),a=i(8),s=i(129);t.exports=function(t,e){var i=1==t,l=2==t,c=3==t,u=4==t,d=6==t,h=5==t||d,f=e||s;return function(e,s,p){for(var m,v,y=o(e),g=r(y),b=n(s,p,3),w=a(g.length),S=0,E=i?f(e,w):l?f(e,0):void 0;w>S;S++)if((h||S in g)&&(v=b(m=g[S],S,y),t))if(i)E[S]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:E.push(m)}else if(u)return!1;return d?-1:c||u?u:E}}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,i){"use strict";if(i(10)){var n=i(42),r=i(3),o=i(4),a=i(1),s=i(74),l=i(108),c=i(27),u=i(54),d=i(40),h=i(21),f=i(55),p=i(29),m=i(8),v=i(140),y=i(44),g=i(36),b=i(20),w=i(61),S=i(6),E=i(14),C=i(100),T=i(45),k=i(47),x=i(46).f,L=i(102),A=i(41),O=i(7),I=i(32),_=i(64),P=i(62),N=i(104),M=i(52),B=i(67),D=i(53),j=i(103),H=i(131),R=i(11),F=i(30),W=R.f,z=F.f,V=r.RangeError,q=r.TypeError,U=r.Uint8Array,$=Array.prototype,G=l.ArrayBuffer,Y=l.DataView,X=I(0),K=I(2),Q=I(3),J=I(4),Z=I(5),tt=I(6),et=_(!0),it=_(!1),nt=N.values,rt=N.keys,ot=N.entries,at=$.lastIndexOf,st=$.reduce,lt=$.reduceRight,ct=$.join,ut=$.sort,dt=$.slice,ht=$.toString,ft=$.toLocaleString,pt=O("iterator"),mt=O("toStringTag"),vt=A("typed_constructor"),yt=A("def_constructor"),gt=s.CONSTR,bt=s.TYPED,wt=s.VIEW,St=I(1,(function(t,e){return xt(P(t,t[yt]),e)})),Et=o((function(){return 1===new U(new Uint16Array([1]).buffer)[0]})),Ct=!!U&&!!U.prototype.set&&o((function(){new U(1).set({})})),Tt=function(t,e){var i=p(t);if(i<0||i%e)throw V("Wrong offset!");return i},kt=function(t){if(S(t)&&bt in t)return t;throw q(t+" is not a typed array!")},xt=function(t,e){if(!S(t)||!(vt in t))throw q("It is not a typed array constructor!");return new t(e)},Lt=function(t,e){return At(P(t,t[yt]),e)},At=function(t,e){for(var i=0,n=e.length,r=xt(t,n);n>i;)r[i]=e[i++];return r},Ot=function(t,e,i){W(t,e,{get:function(){return this._d[i]}})},It=function(t){var e,i,n,r,o,a,s=E(t),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,h=L(s);if(null!=h&&!C(h)){for(a=h.call(s),n=[],e=0;!(o=a.next()).done;e++)n.push(o.value);s=n}for(d&&l>2&&(u=c(u,arguments[2],2)),e=0,i=m(s.length),r=xt(this,i);i>e;e++)r[e]=d?u(s[e],e):s[e];return r},_t=function(){for(var t=0,e=arguments.length,i=xt(this,e);e>t;)i[t]=arguments[t++];return i},Pt=!!U&&o((function(){ft.call(new U(1))})),Nt=function(){return ft.apply(Pt?dt.call(kt(this)):kt(this),arguments)},Mt={copyWithin:function(t,e){return H.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return j.apply(kt(this),arguments)},filter:function(t){return Lt(this,K(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return it(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return St(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return lt.apply(kt(this),arguments)},reverse:function(){for(var t,e=kt(this).length,i=Math.floor(e/2),n=0;n<i;)t=this[n],this[n++]=this[--e],this[e]=t;return this},some:function(t){return Q(kt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ut.call(kt(this),t)},subarray:function(t,e){var i=kt(this),n=i.length,r=y(t,n);return new(P(i,i[yt]))(i.buffer,i.byteOffset+r*i.BYTES_PER_ELEMENT,m((void 0===e?n:y(e,n))-r))}},Bt=function(t,e){return Lt(this,dt.call(kt(this),t,e))},Dt=function(t){kt(this);var e=Tt(arguments[1],1),i=this.length,n=E(t),r=m(n.length),o=0;if(r+e>i)throw V("Wrong length!");for(;o<r;)this[e+o]=n[o++]},jt={entries:function(){return ot.call(kt(this))},keys:function(){return rt.call(kt(this))},values:function(){return nt.call(kt(this))}},Ht=function(t,e){return S(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Rt=function(t,e){return Ht(t,e=g(e,!0))?d(2,t[e]):z(t,e)},Ft=function(t,e,i){return!(Ht(t,e=g(e,!0))&&S(i)&&b(i,"value"))||b(i,"get")||b(i,"set")||i.configurable||b(i,"writable")&&!i.writable||b(i,"enumerable")&&!i.enumerable?W(t,e,i):(t[e]=i.value,t)};gt||(F.f=Rt,R.f=Ft),a(a.S+a.F*!gt,"Object",{getOwnPropertyDescriptor:Rt,defineProperty:Ft}),o((function(){ht.call({})}))&&(ht=ft=function(){return ct.call(this)});var Wt=f({},Mt);f(Wt,jt),h(Wt,pt,jt.values),f(Wt,{slice:Bt,set:Dt,constructor:function(){},toString:ht,toLocaleString:Nt}),Ot(Wt,"buffer","b"),Ot(Wt,"byteOffset","o"),Ot(Wt,"byteLength","l"),Ot(Wt,"length","e"),W(Wt,mt,{get:function(){return this[bt]}}),t.exports=function(t,e,i,l){var c=t+((l=!!l)?"Clamped":"")+"Array",d="get"+t,f="set"+t,p=r[c],y=p||{},g=p&&k(p),b=!p||!s.ABV,E={},C=p&&p.prototype,L=function(t,i){W(t,i,{get:function(){return function(t,i){var n=t._d;return n.v[d](i*e+n.o,Et)}(this,i)},set:function(t){return function(t,i,n){var r=t._d;l&&(n=(n=Math.round(n))<0?0:n>255?255:255&n),r.v[f](i*e+r.o,n,Et)}(this,i,t)},enumerable:!0})};b?(p=i((function(t,i,n,r){u(t,p,c,"_d");var o,a,s,l,d=0,f=0;if(S(i)){if(!(i instanceof G||"ArrayBuffer"==(l=w(i))||"SharedArrayBuffer"==l))return bt in i?At(p,i):It.call(p,i);o=i,f=Tt(n,e);var y=i.byteLength;if(void 0===r){if(y%e)throw V("Wrong length!");if((a=y-f)<0)throw V("Wrong length!")}else if((a=m(r)*e)+f>y)throw V("Wrong length!");s=a/e}else s=v(i),o=new G(a=s*e);for(h(t,"_d",{b:o,o:f,l:a,e:s,v:new Y(o)});d<s;)L(t,d++)})),C=p.prototype=T(Wt),h(C,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&B((function(t){new p,new p(null),new p(1.5),new p(t)}),!0)||(p=i((function(t,i,n,r){var o;return u(t,p,c),S(i)?i instanceof G||"ArrayBuffer"==(o=w(i))||"SharedArrayBuffer"==o?void 0!==r?new y(i,Tt(n,e),r):void 0!==n?new y(i,Tt(n,e)):new y(i):bt in i?At(p,i):It.call(p,i):new y(v(i))})),X(g!==Function.prototype?x(y).concat(x(g)):x(y),(function(t){t in p||h(p,t,y[t])})),p.prototype=C,n||(C.constructor=p));var A=C[pt],O=!!A&&("values"==A.name||null==A.name),I=jt.values;h(p,vt,!0),h(C,bt,c),h(C,wt,!0),h(C,yt,p),(l?new p(1)[mt]==c:mt in C)||W(C,mt,{get:function(){return c}}),E[c]=p,a(a.G+a.W+a.F*(p!=y),E),a(a.S,c,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o((function(){y.of.call(p,1)})),c,{from:It,of:_t}),"BYTES_PER_ELEMENT"in C||h(C,"BYTES_PER_ELEMENT",e),a(a.P,c,Mt),D(c),a(a.P+a.F*Ct,c,{set:Dt}),a(a.P+a.F*!O,c,jt),n||C.toString==ht||(C.toString=ht),a(a.P+a.F*o((function(){new p(1).slice()})),c,{slice:Bt}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){C.toLocaleString.call([1,2])}))),c,{toLocaleString:Nt}),M[c]=O?A:I,n||O||h(C,pt,I)}}else t.exports=function(){}},function(t,e,i){var n=i(6);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){var n=i(41)("meta"),r=i(6),o=i(20),a=i(11).f,s=0,l=Object.isExtensible||function(){return!0},c=!i(4)((function(){return l(Object.preventExtensions({}))})),u=function(t){a(t,n,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[n].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!o(t,n)&&u(t),t}}},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a="page-overlay--full-screen",s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.target=e||document.querySelector("body"),this.node=null,this.ACTIVE="active",this.CURSOR="click-fix",e||(this.additionalClass=a),this.init()}var e,i,r;return e=t,(i=[{key:"init",value:function(){this.createOverlay()}},{key:"createOverlay",value:function(){var t=this;this.node=document.createElement("div"),this.node.className="page-overlay",this.additionalClass&&this.target.classList.add(a),n.default.insertAfter(this.node,this.target),this.node.style.display="none",this.node.addEventListener("transitionend",(function(){t.node.classList.contains(t.ACTIVE)||(t.node.style.display="none")}))}},{key:"toggleVisibility",value:function(t){var e=this;"hide"===t?(this.node.classList.remove(this.ACTIVE),document.body.classList.remove(this.CURSOR),this.additionalClass&&this.target.classList.remove(a)):(this.additionalClass&&this.target.classList.add(a),this.node.removeAttribute("style"),setTimeout((function(){e.node.classList.add(e.ACTIVE)}),0),document.body.classList.add(this.CURSOR))}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(){o=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,n=Object.defineProperty||function(t,e,i){t[e]=i.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,i){return t[e]=i}}function d(t,e,i,r){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),s=new L(r||[]);return n(a,"_invoke",{value:C(t,i,s)}),a}function h(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function p(){}function m(){}function v(){}var y={};u(y,s,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(A([])));b&&b!==e&&i.call(b,s)&&(y=b);var w=v.prototype=p.prototype=Object.create(y);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){var o;n(this,"_invoke",{value:function(n,a){function s(){return new e((function(o,s){!function n(o,a,s,l){var c=h(t[o],t,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,l)}))}l(c.arg)}(n,a,o,s)}))}return o=o?o.then(s,s):s()}})}function C(t,e,i){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return O()}for(i.method=r,i.arg=o;;){var a=i.delegate;if(a){var s=T(a,i);if(s){if(s===f)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=h(t,e,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}function T(t,e){var i=e.method,n=t.iterator[i];if(void 0===n)return e.delegate=null,"throw"===i&&t.iterator.return&&(e.method="return",e.arg=void 0,T(t,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),f;var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function k(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function A(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return m.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:m,configurable:!0}),m.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},S(E.prototype),u(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,i,n,r,o){void 0===o&&(o=Promise);var a=new E(d(e,i,n,r),o);return t.isGeneratorFunction(i)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(w),u(w,c,"Generator"),u(w,s,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=A,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(i,n){return a.type="throw",a.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):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),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),x(i),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;x(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:A(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),f}},t}function a(t,e,i,n,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void i(t)}s.done?e(l):Promise.resolve(l).then(n,r)}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,r=[{key:"isLoggedIn",value:function(t){var e=document.body.dataset.tenantid;if(("deutschebank"===e||"maxblue"===e)&&("deutschebank"!==e||window.location.pathname.startsWith("/marktdaten")||window.location.pathname.startsWith("/pfb/content"))&&window.db.TenantSettings.precache){var i=window.db.TenantSettings.precache.FETCH_URLS[0];window.db&&"string"==typeof window.db.loginTestPath&&(i=window.db.loginTestPath),"string"==typeof i&&0!==i.length&&window.db.General.rq.getFetchResponseWithCaching({url:"".concat(n.default.getBaseUrl()).concat(i)}).then(function(){var t,e=(t=o().mark((function t(e){var i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.clone().text();case 2:if(i=t.sent,200!==e.status||0!==i.length&&"{"===i[0]){t.next=5;break}return t.abrupt("return",{});case 5:if(200===e.status){t.next=7;break}return t.abrupt("return",{error:"NotLoggedInException"});case 7:return t.abrupt("return",JSON.parse(i));case 8:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(n,r){var o=t.apply(e,i);function s(t){a(o,n,r,s,l,"next",t)}function l(t){a(o,n,r,s,l,"throw",t)}s(void 0)}))});return function(t){return e.apply(this,arguments)}}()).then((function(e){"function"==typeof t&&t("NotLoggedInException"!==e.error)})).catch((function(e){"function"==typeof t&&t(!1)}))}}}],(i=null)&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e){t.exports=!1},function(t,e,i){var n=i(115),r=i(87);t.exports=Object.keys||function(t){return n(t,r)}},function(t,e,i){var n=i(29),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):o(t,e)}},function(t,e,i){var n=i(5),r=i(116),o=i(87),a=i(86)("IE_PROTO"),s=function(){},l=function(){var t,e=i(84)("iframe"),n=o.length;for(e.style.display="none",i(88).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[o[n]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(s.prototype=n(t),i=new s,s.prototype=null,i[a]=t):i=l(),void 0===e?i:r(i,e)}},function(t,e,i){var n=i(115),r=i(87).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},function(t,e,i){var n=i(20),r=i(14),o=i(86)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,i){var n=i(7)("unscopables"),r=Array.prototype;null==r[n]&&i(21)(r,n,{}),t.exports=function(t){r[n][t]=!0}},function(t,e,i){var n=i(6);t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,i){var n=i(11).f,r=i(20),o=i(7)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e,i){var n=i(1),r=i(34),o=i(4),a=i(90),s="["+a+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(t,e,i){var r={},s=o((function(){return!!a[t]()||"​…"!="​…"[t]()})),l=r[t]=s?e(d):a[t];i&&(r[i]=l),n(n.P+n.F*s,"String",r)},d=u.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=u},function(t,e){t.exports={}},function(t,e,i){"use strict";var n=i(3),r=i(11),o=i(10),a=i(7)("species");t.exports=function(t){var e=n[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,i,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,e,i){var n=i(17);t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},function(t,e,i){"use strict";i.r(e);var n=i(75);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.linkElement=e.getElementsByTagName("a")[0]}var e,i,r;return e=t,(i=[{key:"init",value:function(){this.linkElement&&n.default.init(this.linkElement)}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(a)?a:String(a)),r)}var o,a}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,n;return e=t,n=[{key:"checkEmpty",value:function(t){var e=t.element,i=t.forceFilled,n=void 0!==i&&i;e.value||n?e.classList.add("form-textfield--filled"):e.classList.remove("form-textfield--filled")}}],(i=null)&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.a=o},function(t,e){function i(t){return(i="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})(t)}!function(t){function e(t,e){var i=t.getTime();return t.setMonth(t.getMonth()+e),Math.round((t.getTime()-i)/864e5)}function n(t){var e=t.getTime(),i=new Date(e);return i.setMonth(t.getMonth()+1),Math.round((i.getTime()-e)/864e5)}function r(t,e){if(e=e instanceof Date||null!==e&&isFinite(e)?new Date(+e):new Date,!t)return e;var i=+t.value||0;return i?(e.setTime(e.getTime()+i),e):((i=+t.milliseconds||0)&&e.setMilliseconds(e.getMilliseconds()+i),(i=+t.seconds||0)&&e.setSeconds(e.getSeconds()+i),(i=+t.minutes||0)&&e.setMinutes(e.getMinutes()+i),(i=+t.hours||0)&&e.setHours(e.getHours()+i),(i=+t.weeks||0)&&(i*=7),(i+=+t.days||0)&&e.setDate(e.getDate()+i),(i=+t.months||0)&&e.setMonth(e.getMonth()+i),(i=+t.millennia||0)&&(i*=10),(i+=+t.centuries||0)&&(i*=10),(i+=+t.decades||0)&&(i*=10),(i+=+t.years||0)&&e.setFullYear(e.getFullYear()+i),e)}function o(t,e){return v(t)+(1===t?u[e]:d[e])}function a(){}function s(t,e,i,r,o,a){if(0<=t[i]&&(e+=t[i],delete t[i]),1>=(e/=o)+1)return 0;if(0<=t[r]){switch(t[r]=+(t[r]+e).toFixed(a),r){case"seconds":if(60!==t.seconds||isNaN(t.minutes))break;t.minutes++,t.seconds=0;case"minutes":if(60!==t.minutes||isNaN(t.hours))break;t.hours++,t.minutes=0;case"hours":if(24!==t.hours||isNaN(t.days))break;t.days++,t.hours=0;case"days":if(7!==t.days||isNaN(t.weeks))break;t.weeks++,t.days=0;case"weeks":if(t.weeks!==n(t.refMonth)/7||isNaN(t.months))break;t.months++,t.weeks=0;case"months":if(12!==t.months||isNaN(t.years))break;t.years++,t.months=0;case"years":if(10!==t.years||isNaN(t.decades))break;t.decades++,t.years=0;case"decades":if(10!==t.decades||isNaN(t.centuries))break;t.centuries++,t.decades=0;case"centuries":if(10!==t.centuries||isNaN(t.millennia))break;t.millennia++,t.centuries=0}return 0}return e}function l(t,i,r,o,a,l){var c=new Date;t.start=i=i||c,t.end=r=r||c,t.units=o,t.value=r.getTime()-i.getTime(),0>t.value&&(c=r,r=i,i=c),t.refMonth=new Date(i.getFullYear(),i.getMonth(),15,12,0,0);try{var u;for(t.millennia=0,t.centuries=0,t.decades=0,t.years=r.getFullYear()-i.getFullYear(),t.months=r.getMonth()-i.getMonth(),t.weeks=0,t.days=r.getDate()-i.getDate(),t.hours=r.getHours()-i.getHours(),t.minutes=r.getMinutes()-i.getMinutes(),t.seconds=r.getSeconds()-i.getSeconds(),t.milliseconds=r.getMilliseconds()-i.getMilliseconds(),0>t.milliseconds?(u=g(-t.milliseconds/1e3),t.seconds-=u,t.milliseconds+=1e3*u):1e3<=t.milliseconds&&(t.seconds+=b(t.milliseconds/1e3),t.milliseconds%=1e3),0>t.seconds?(u=g(-t.seconds/60),t.minutes-=u,t.seconds+=60*u):60<=t.seconds&&(t.minutes+=b(t.seconds/60),t.seconds%=60),0>t.minutes?(u=g(-t.minutes/60),t.hours-=u,t.minutes+=60*u):60<=t.minutes&&(t.hours+=b(t.minutes/60),t.minutes%=60),0>t.hours?(u=g(-t.hours/24),t.days-=u,t.hours+=24*u):24<=t.hours&&(t.days+=b(t.hours/24),t.hours%=24);0>t.days;)t.months--,t.days+=e(t.refMonth,1);if(7<=t.days&&(t.weeks+=b(t.days/7),t.days%=7),0>t.months?(u=g(-t.months/12),t.years-=u,t.months+=12*u):12<=t.months&&(t.years+=b(t.months/12),t.months%=12),10<=t.years&&(t.decades+=b(t.years/10),t.years%=10,10<=t.decades&&(t.centuries+=b(t.decades/10),t.decades%=10,10<=t.centuries&&(t.millennia+=b(t.centuries/10),t.centuries%=10))),i=0,!(1024&o)||i>=a?(t.centuries+=10*t.millennia,delete t.millennia):t.millennia&&i++,!(512&o)||i>=a?(t.decades+=10*t.centuries,delete t.centuries):t.centuries&&i++,!(256&o)||i>=a?(t.years+=10*t.decades,delete t.decades):t.decades&&i++,!(128&o)||i>=a?(t.months+=12*t.years,delete t.years):t.years&&i++,!(64&o)||i>=a?(t.months&&(t.days+=e(t.refMonth,t.months)),delete t.months,7<=t.days&&(t.weeks+=b(t.days/7),t.days%=7)):t.months&&i++,!(32&o)||i>=a?(t.days+=7*t.weeks,delete t.weeks):t.weeks&&i++,!(16&o)||i>=a?(t.hours+=24*t.days,delete t.days):t.days&&i++,!(8&o)||i>=a?(t.minutes+=60*t.hours,delete t.hours):t.hours&&i++,!(4&o)||i>=a?(t.seconds+=60*t.minutes,delete t.minutes):t.minutes&&i++,!(2&o)||i>=a?(t.milliseconds+=1e3*t.seconds,delete t.seconds):t.seconds&&i++,!(1&o)||i>=a){var d=s(t,0,"milliseconds","seconds",1e3,l);if(d&&(d=s(t,d,"seconds","minutes",60,l))&&(d=s(t,d,"minutes","hours",60,l))&&(d=s(t,d,"hours","days",24,l))&&(d=s(t,d,"days","weeks",7,l))&&(d=s(t,d,"weeks","months",n(t.refMonth)/7,l))){o=d;var h=t.refMonth,f=h.getTime(),p=new Date(f);if(p.setFullYear(h.getFullYear()+1),(d=s(t,o,"months","years",Math.round((p.getTime()-f)/864e5)/n(t.refMonth),l))&&(d=s(t,d,"years","decades",10,l))&&(d=s(t,d,"decades","centuries",10,l))&&(d=s(t,d,"centuries","millennia",10,l)))throw Error("Fractional unit overflow")}}}finally{delete t.refMonth}return t}function c(t,e,n,o,s){var c;n=+n||222,o=0<o?o:NaN,s=0<s?20>s?Math.round(s):20:0;var u=null;"function"==typeof t?(c=t,t=null):t instanceof Date||(null!==t&&isFinite(t)?t=new Date(+t):("object"===i(u)&&(u=t),t=null));var d=null;if("function"==typeof e?(c=e,e=null):e instanceof Date||(null!==e&&isFinite(e)?e=new Date(+e):("object"===i(e)&&(d=e),e=null)),u&&(t=r(u,e)),d&&(e=r(d,t)),!t&&!e)return new a;if(!c)return l(new a,t,e,n,o,s);var h;u=1&n?1e3/30:2&n?1e3:4&n?6e4:8&n?36e5:16&n?864e5:6048e5;return(d=function(){c(l(new a,t,e,n,o,s),h)})(),h=setInterval(d,u)}var u,d,h,f,p,m,v,y,g=Math.ceil,b=Math.floor;a.prototype.toString=function(t){var e=y(this),i=e.length;return i?1===i?e[0]:(t=h+e.pop(),e.join(f)+t):t?""+t:p},a.prototype.toHTML=function(t,e){t=t||"span";var i=y(this),n=i.length;if(!n)return(e=e||p)?"<"+t+">"+e+"</"+t+">":e;for(var r=0;r<n;r++)i[r]="<"+t+">"+i[r]+"</"+t+">";return 1===n?i[0]:(n=h+i.pop(),i.join(f)+n)},a.prototype.addTo=function(t){return r(this,t)},y=function(t){var e=[],i=t.millennia;return i&&e.push(m(i,10)),(i=t.centuries)&&e.push(m(i,9)),(i=t.decades)&&e.push(m(i,8)),(i=t.years)&&e.push(m(i,7)),(i=t.months)&&e.push(m(i,6)),(i=t.weeks)&&e.push(m(i,5)),(i=t.days)&&e.push(m(i,4)),(i=t.hours)&&e.push(m(i,3)),(i=t.minutes)&&e.push(m(i,2)),(i=t.seconds)&&e.push(m(i,1)),(i=t.milliseconds)&&e.push(m(i,0)),e},c.MILLISECONDS=1,c.SECONDS=2,c.MINUTES=4,c.HOURS=8,c.DAYS=16,c.WEEKS=32,c.MONTHS=64,c.YEARS=128,c.DECADES=256,c.CENTURIES=512,c.MILLENNIA=1024,c.DEFAULTS=222,c.ALL=2047;var w=c.setFormat=function(t){if(t){if("singular"in t||"plural"in t){var e=t.singular||[];e.split&&(e=e.split("|"));var i=t.plural||[];i.split&&(i=i.split("|"));for(var n=0;10>=n;n++)u[n]=e[n]||u[n],d[n]=i[n]||d[n]}"string"==typeof t.last&&(h=t.last),"string"==typeof t.delim&&(f=t.delim),"string"==typeof t.empty&&(p=t.empty),"function"==typeof t.formatNumber&&(v=t.formatNumber),"function"==typeof t.formatter&&(m=t.formatter)}},S=c.resetFormat=function(){u=" millisecond; second; minute; hour; day; week; month; year; decade; century; millennium".split(";"),d=" milliseconds; seconds; minutes; hours; days; weeks; months; years; decades; centuries; millennia".split(";"),h=" and ",f=", ",p="",v=function(t){return t},m=o};c.setLabels=function(t,e,i,n,r,o,a){w({singular:t,plural:e,last:i,delim:n,empty:r,formatNumber:o,formatter:a})},c.resetLabels=S,S(),t&&t.exports?t.exports=c:"function"==typeof window.define&&void 0!==window.define.amd&&window.define("countdown",[],(function(){return c}))}(t)},function(t,e,i){var n=i(33);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var n=i(33),r=i(7)("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,i,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?i:o?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,i){var n=i(5),r=i(28),o=i(7)("species");t.exports=function(t,e){var i,a=n(t).constructor;return void 0===a||null==(i=n(a)[o])?e:r(i)}},function(t,e,i){var n=i(9),r=i(3),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(42)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,i){var n=i(22),r=i(8),o=i(44);t.exports=function(t){return function(e,i,a){var s,l=n(e),c=r(l.length),u=o(a,c);if(t&&i!=i){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===i)return t||u||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n=i(33);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(7)("iterator"),r=!1;try{var o=[7][n]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:i=!0}},o[n]=function(){return a},t(o)}catch(t){}return i}},function(t,e,i){"use strict";var n=i(5);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,i){"use strict";var n=i(61),r=RegExp.prototype.exec;t.exports=function(t,e){var i=t.exec;if("function"==typeof i){var o=i.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},function(t,e,i){"use strict";i(133);var n=i(17),r=i(21),o=i(4),a=i(34),s=i(7),l=i(105),c=s("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,e,i){var h=s(t),f=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=f?!o((function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[c]=function(){return i}),i[h](""),!e})):void 0;if(!f||!p||"replace"===t&&!u||"split"===t&&!d){var m=/./[h],v=i(a,h,""[t],(function(t,e,i,n,r){return e.exec===l?f&&!r?{done:!0,value:m.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}})),y=v[0],g=v[1];n(String.prototype,t,y),r(RegExp.prototype,h,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},function(t,e,i){var n=i(27),r=i(128),o=i(100),a=i(5),s=i(8),l=i(102),c={},u={};(e=t.exports=function(t,e,i,d,h){var f,p,m,v,y=h?function(){return t}:l(t),g=n(i,d,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(f=s(t.length);f>b;b++)if((v=e?g(a(p=t[b])[0],p[1]):g(t[b]))===c||v===u)return v}else for(m=y.call(t);!(p=m.next()).done;)if((v=r(m,g,p.value,e))===c||v===u)return v}).BREAK=c,e.RETURN=u},function(t,e,i){var n=i(3).navigator;t.exports=n&&n.userAgent||""},function(t,e,i){"use strict";var n=i(3),r=i(1),o=i(17),a=i(55),s=i(37),l=i(71),c=i(54),u=i(6),d=i(4),h=i(67),f=i(50),p=i(91);t.exports=function(t,e,i,m,v,y){var g=n[t],b=g,w=v?"set":"add",S=b&&b.prototype,E={},C=function(t){var e=S[t];o(S,t,"delete"==t||"has"==t?function(t){return!(y&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,i){return e.call(this,0===t?0:t,i),this})};if("function"==typeof b&&(y||S.forEach&&!d((function(){(new b).entries().next()})))){var T=new b,k=T[w](y?{}:-0,1)!=T,x=d((function(){T.has(1)})),L=h((function(t){new b(t)})),A=!y&&d((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));L||((b=e((function(e,i){c(e,b,t);var n=p(new g,e,b);return null!=i&&l(i,v,n[w],n),n}))).prototype=S,S.constructor=b),(x||A)&&(C("delete"),C("has"),v&&C("get")),(A||k)&&C(w),y&&S.clear&&delete S.clear}else b=m.getConstructor(e,t,v,w),a(b.prototype,i),s.NEED=!0;return f(b,t),E[t]=b,r(r.G+r.W+r.F*(b!=g),E),y||m.setStrong(b,t,v),b}},function(t,e,i){for(var n,r=i(3),o=i(21),a=i(41),s=a("typed_array"),l=a("view"),c=!(!r.ArrayBuffer||!r.DataView),u=c,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(n=r[h[d++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;t.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,r=[{key:"handleClickEvent",value:function(e){e.preventDefault(),e.stopPropagation();var i=e.currentTarget.href;if(i){var r=document.querySelector(".opened-popup-window");r&&r.classList.remove("opened-popup-window"),e.currentTarget.classList.add("opened-popup-window"),t.landingWindow=n.default.openPopupWindow({width:850,height:320,href:i})}}},{key:"linkSelected",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.link;return window.open(e,"_blank")}},{key:"getOptionsTemplate",value:function(e){var i="",n=1,r=0;for(Object.keys(e).forEach((function(t){t.startsWith("switchTitle-")&&r++}));n<=r;){var o="".concat("kunden-").concat(n);i+='<div class="form-group form-group-radio inline">\n        <input '.concat(1===n?'checked="checked" ':"",'\n          class="input-radio inline"\n          data-search-filter="search-content"\n          data-link-url="').concat(e["switchHref-"+n],'"\n          id="').concat(o,'"\n          name="sn-search-options"\n          type="radio"\n        />\n        <label class="label-control inline" for="').concat(o,'">\n          <span class="label-value label-value--main">').concat(e["switchTitle-"+n],'</span>\n          <span class="label-value">').concat(e["switchSubTitle-"+n]||"","</span>\n        </label>\n      </div>"),n++}var a='\n      <h4 class="link-picker__sup-headline">'.concat(e.switchSubHeadline||"",'</h4>\n      <h3 class="flyouts__header flyouts__header--search">').concat(e.switchHeadline||"",'</h3>\n      <div class="sn__search-box-options">\n        ').concat(i,'\n      </div>\n      <div class="link-picker__button-wrapper">\n        <a class="btn btn--primary" id="select-link" href="#" title="TITLE">\n          <span class="btn-icon icon-arrow-right"></span>\n          <span class="btn-value">').concat(e.switchButtonLabel,"</span>\n        </a>\n      </div>"),s=t.landingWindow.document.createElement("div");return s.classList.add("link-picker"),s.innerHTML=a,s}},{key:"init",value:function(e){return!(!e||!e.classList.contains("btn--link-picker")||(e.addEventListener("click",t.handleClickEvent,!0),0))}}],(i=null)&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();window.addEventListener("message",(function(t){if(t.origin===window.location.origin){var e=document.querySelector(".opened-popup-window");if(e)switch(t.data.type){case"eventStandaloneLoaded":a.landingWindow.document.body.appendChild(a.getOptionsTemplate(e.dataset)),setTimeout((function(){var t=a.landingWindow.document.querySelector(".link-picker").getBoundingClientRect();a.landingWindow.resizeBy(t.width-a.landingWindow.innerWidth,t.height-a.landingWindow.innerHeight)}));break;case"eventSelection":a.linkSelected({link:t.data.link})}}})),e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(23),r=i.n(n);function o(t){return(o="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})(t)}function a(t){return function(t){if(Array.isArray(t))return s(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)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.overlay=null,this.overlayCloseBtn=null,this.tip=e,this.tipId=t.getTooltipId(this.tip),this.handleKeydown=this.handleKeydown.bind(this),this.handleOverlay=this.handleOverlay.bind(this),this.closeTooltip=this.closeTooltip.bind(this),""!==this.tipId&&(this.isDisclaimer=this.tip.classList.contains("tt-disclaimer"),this.isActive=!1,this.isOnOverlay=!1)}var e,i,n;return e=t,n=[{key:"getTooltipId",value:function(t){var e="";return a(t.classList).forEach((function(t){0===t.indexOf("tooltip-id-")&&(e=t.substring(t.indexOf("tooltip-id-")+"tooltip-id-".length))})),e}}],(i=[{key:"init",value:function(){this.tip.setAttribute("aria-label","Zusatzinformation"),this.handle=this.handle.bind(this),window.db.isMobile?(this.tip.addEventListener("click",this.handleMobile.bind(this)),document.body.addEventListener("click",this.handleMobileOutsideInput.bind(this))):(this.tip.addEventListener("mouseenter",this.handle),this.tip.addEventListener("mouseleave",this.handle),this.tip.addEventListener("focusin",this.handle),this.tip.addEventListener("focusout",this.handle))}},{key:"handleMobile",value:function(){this.toggleActiveState(),this.isActive?(this.initOverlay(),this.refactor(),this.appendContent(),this.setOverlayPosition()):this.closeTooltip()}},{key:"handle",value:function(t){var e=this;"focusout"===t.type?this.isOnOverlay||this.closeTooltip():"mouseleave"===t.type?setTimeout((function(){e.isOnOverlay||e.closeTooltip(),e.tip.addEventListener("focusin",e.handle),e.tip.addEventListener("focusout",e.handle)}),100):("mouseenter"===t.type&&(this.tip.removeEventListener("focusin",this.handle),this.tip.removeEventListener("focusout",this.handle)),this.setActiveState(),this.initOverlay(),this.appendContent(),this.setOverlayPosition()),"focusin"===t.type&&(document.removeEventListener("keydown",this.handleKeydown),document.addEventListener("keydown",this.handleKeydown))}},{key:"handleKeydown",value:function(t){27===t.keyCode&&(this.isOnOverlay||(this.closeTooltip(),document.removeEventListener("keydown",this.handleKeydown)))}},{key:"handleOverlay",value:function(t){"mouseenter"===t.type?this.isOnOverlay=!0:(this.isOnOverlay=!1,this.closeTooltip())}},{key:"handleMobileOutsideInput",value:function(t){this.isActive&&t.target.classList.contains("".concat("tt-content-overlay"))&&t.target.closest(".".concat("tooltip"))!==this.tip&&(this.initOverlay(),this.closeTooltip())}},{key:"setOverlayPosition",value:function(){var t=this.getOverlayPosition(),e=this.overlay.querySelector("div");e&&(e.style.left="".concat(t.x,"px"),e.style.top="".concat(t.y,"px"),e.setAttribute("aria-label","Zusatzinformation"))}},{key:"toggleActiveState",value:function(){this.tip.classList.contains("tooltip--active")?this.disableActiveState():this.setActiveState()}},{key:"setActiveState",value:function(){this.tip.classList.add("tooltip--active"),this.isActive=!0,window.db.isMobile&&(this.overlay||this.initOverlay(),this.overlay.classList.add("tt-content-overlay--active"))}},{key:"disableActiveState",value:function(){this.tip.classList.remove("tooltip--active"),this.isActive=!1,window.db.isMobile&&(this.overlay||this.initOverlay(),this.overlay.classList.remove("tt-content-overlay--active"))}},{key:"closeTooltip",value:function(){this.isActive&&(this.disableActiveState(),this.refactor()),window.removeEventListener("scroll",this.closeTooltip),this.overlay&&(this.overlay.removeEventListener("mouseenter",this.handleOverlay),this.overlay.removeEventListener("mouseleave",this.handleOverlay))}},{key:"refactor",value:function(){if(this.overlay){var t=this.overlay.querySelector("div");t&&t.remove()}}},{key:"getOverlayPosition",value:function(){var t={x:0,y:0},e=this.overlay.querySelector("div");if(!e)return t;var i=e.offsetWidth,n=document.body.clientWidth||document.documentElement.clientWidth,r=this.tip.getBoundingClientRect(),o=0;n<i&&(i=n-r.width,e.style.width="".concat(i,"px"));var a=Math.floor(r.right+.5*i),s=Math.floor(r.left-.5*i);return a>n?o=-1*(a-n):s<0&&(o=Math.abs(s)),t.x=Math.floor(r.left-.5*i+.5*r.width+o),t.y=Math.floor(r.bottom),t}},{key:"initOverlay",value:function(){var t=this;if(this.isActive&&!document.querySelector(".".concat("tt-content-overlay"))){var e=document.createElement("div");e.setAttribute("class","".concat("tt-content-overlay"," ").concat("theme-two--white")),document.body.appendChild(e),this.overlay=e}else this.overlay||(this.overlay=document.querySelector(".".concat("tt-content-overlay")));window.addEventListener("scroll",this.closeTooltip),window.db.isMobile?this.hammer||(this.hammer=new r.a(this.overlay),this.hammer.get("swipe").set({direction:r.a.DIRECTION_HORIZONTAL}),["swipeleft","swiperight"].forEach((function(e){t.hammer.on(e,t.closeTooltip.bind(t))}))):(this.overlay.addEventListener("mouseenter",this.handleOverlay),this.overlay.addEventListener("mouseleave",this.handleOverlay))}},{key:"appendMobileCloseBtn",value:function(){var t=document.createElement("button");t.setAttribute("class","".concat("tt-content-overlay-close"," ").concat("icon-close"));var e=this.overlay.querySelector("div");e&&(e.appendChild(t),this.overlayCloseBtn=t,this.overlayCloseBtn.addEventListener("click",this.closeTooltip.bind(this)))}},{key:"appendContent",value:function(){if(!this.isDisclaimer){var t=this.getContentById();t&&(this.overlay.appendChild(t),window.db.isMobile&&this.appendMobileCloseBtn())}}},{key:"getContentById",value:function(){var t=document.querySelector("[".concat("data-tooltip-content-id","='").concat(this.tipId,"']"));if(!t)return t;var e=t.cloneNode(!0);return a(e.getElementsByTagName("a")).forEach((function(t){"true"===t.dataset.hasDisclaimerEvent&&t.addEventListener("click",window.db.openDisclaimer)})),e.setAttribute("class",""),delete e.dataset.tooltipContentId,e}}])&&l(e.prototype,i),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=h(t);if(e){var r=h(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return u(this,i)}}function u(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return d(t)}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t){var e=t.append("g").classed("map__marker-label",!0),i=10,n=25;e.insert("text").html((function(t){return t.label})).attr("font-size",15).attr("dx",(function(){return n})).attr("dy",(function(){return 15+i})).each((function(t){!function(t,e){for(var i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:120,r=d3.select(t),o=e.split(/\s+/),a=1.3,s=r.attr("y"),l=parseFloat(r.attr("dx")),c=parseFloat(r.attr("dy")),u=0,d=r.text(null).append("tspan").attr("dx",l).attr("y",s).attr("dy",c),h=[],f=0;f<o.length;f++)i=o[f],h.push(i),d.text(h.join(" ")),d.node().getComputedTextLength()>n&&(h.pop(),d.text(h.join(" ")),h=[i],d=r.append("tspan").attr("x",l).attr("dy",++u*a+c).text(i))}(this,t.label)})).classed("map__marker-name",!0),e.attr("transform","translate(16, 0)")}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(u,t);var e,i,n,a=c(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this)).el=t,e.stageEl=t.querySelector("svg"),e.markers=t.getElementsByClassName("map__marker"),e.toggleBtnEl=t.parentNode.getElementsByClassName("map__toggle")[0],e.sidebar=t.parentNode.getElementsByClassName("map__sidebar")[0],e.mobileSelectBox=t.parentNode.querySelector("#mobile-map-select"),e.zoomInLevel=0,e.toggleZoom=e.toggleZoom.bind(d(e)),e.zoomOnFeature=e.zoomOnFeature.bind(d(e)),e.selectStation=e.selectStation.bind(d(e)),e.zoomed=e.zoomed.bind(d(e)),e.update=e.update.bind(d(e)),e.isMobileBreakpoint=!1,e}return e=u,(i=[{key:"init",value:function(){var t=this;this.maxScale=2,this.icon="M30,15.1724138 C30,24.5517241 15,40 15,40 C15,40 0,24.6896552 0,15.1724138 C0,5.51724138 7.77272727,0 15,0 C22.2272727,0 30,5.65517241 30,15.1724138 Z M15,19.3103448 C17.2593467,19.3103448 19.0909091,17.45773 19.0909091,15.1724138 C19.0909091,12.8870976 17.2593467,11.0344828 15,11.0344828 C12.7406533,11.0344828 10.9090909,12.8870976 10.9090909,15.1724138 C10.9090909,17.45773 12.7406533,19.3103448 15,19.3103448 Z",this.animDuration=1500,this.stagePadding=30,this.viewBox=this.stageEl.getAttribute("viewBox").split(" "),this.initialWidth=this.viewBox[2],this.initialHeight=this.viewBox[3],this.stageEl.removeAttribute("viewBox"),this.viewportWidth=this.el.offsetWidth,this.viewportHeight=this.el.offsetHeight,this.stageEl.setAttribute("width",this.viewportWidth),this.stageEl.setAttribute("height",this.viewportHeight),this.toggleSpinning=this.toggleBtnEl.classList.contains("map__toggle--animate"),r.a.register(o.default.mq().M_BELOW,{match:function(){t.isMobileBreakpoint=!0,t.stagePadding=parseInt(window.getComputedStyle(t.toggleBtnEl,null).getPropertyValue("left"),10)||12,t.initMobile()},unmatch:function(){t.isMobileBreakpoint=!1,t.stagePadding=parseInt(window.getComputedStyle(t.toggleBtnEl,null).getPropertyValue("left"),10)||30}});var e,i,n,a,s,l,c=this;this.baseTransform=this.getBaseTransform(),this.currentTransform=this.baseTransform,this.zoom=d3.zoom().scaleExtent([1,this.maxScale]).on("zoom",this.zoomed),this.svg=d3.select("#svg-stage"),this.view=this.svg.select("#svg-view"),this.targets=d3.selectAll(".map__boundary").datum((function(){var t=d3.select(this).node();return{bbox:t.getBBox(),label:t.getAttribute("data-label")}})).on("click",(function(){c.selectStation(this)})),this.markers=d3.selectAll(".map__marker"),this.markers.size()?this.markers.datum((function(){var t=d3.select(this),e=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","g");e.setAttributeNS(null,"transform",t);var i,n,r,o=e.transform.baseVal.consolidate().matrix,a=o.a,s=o.b,l=o.c,c=o.d,u=o.e,d=o.f;return(i=Math.sqrt(a*a+s*s))&&(a/=i,s/=i),(r=a*l+s*c)&&(l-=a*r,c-=s*r),(n=Math.sqrt(l*l+c*c))&&(l/=n,c/=n,r/=n),a*c<s*l&&(a=-a,s=-s,r=-r,i=-i),{translateX:u,translateY:d,rotate:180*Math.atan2(s,a)/Math.PI,skewX:180*Math.atan(r)/Math.PI,scaleX:i,scaleY:n}}(t.attr("transform"));return{label:t.attr("data-label"),position:{x:e.translateX,y:e.translateY},target:d3.select("#".concat(t.attr("data-target"))).node()}})).insert("path").attr("d",this.icon).classed("map__marker-icon",!0):(this.targets.each((function(e){e.label&&t.svg.append("g").classed("map__marker",!0).datum((function(){return{label:e.label,position:{x:e.bbox.x+e.bbox.width/2,y:e.bbox.y+e.bbox.height/2},target:t}})).insert("path").attr("d",t.icon).classed("map__marker-icon",!0)})),this.markers=d3.selectAll(".map__marker")),this.markers.on("click",(function(t){return c.selectStation(t.target)})),f(this.markers),e=this.markers,i=15,n=15,a=4,s="white",(l=e.append("circle")).attr("cx",i),l.attr("cy",n),l.attr("r",a),l.attr("fill",s),this.toggleBtnEl.addEventListener("click",this.toggleZoom),window.addEventListener("resize",this.update),this.update(),this.svg.call(this.zoom).call(this.zoom.transform,d3.zoomIdentity.translate(this.baseTransform.x,this.baseTransform.y).scale(this.baseTransform.k))}},{key:"initMobile",value:function(){this.mobileSelectBox&&(this.mobileSelectBox.onchange=this.handleMobileSelect.bind(this))}},{key:"handleMobileSelect",value:function(t){var e=this.el.querySelector("#".concat(t.target.value));e&&this.selectStation(e)}},{key:"update",value:function(){this.viewportWidth=this.el.offsetWidth,this.viewportHeight=this.el.offsetHeight,this.stageEl.setAttribute("width",this.viewportWidth),this.stageEl.setAttribute("height",this.viewportHeight),this.visibleStage={x:this.stagePadding,y:this.stagePadding,w:this.viewportWidth-2*this.stagePadding,h:this.viewportHeight-2*this.stagePadding},this.baseTransform=this.getBaseTransform(),this.zoomOut()}},{key:"getBaseTransform",value:function(){var t=Math.min(Math.abs(this.viewportWidth/this.initialWidth),Math.abs(this.viewportHeight/this.initialHeight));return{x:.5*(this.viewportWidth-this.initialWidth*t),y:.5*(this.viewportHeight-this.initialHeight*t),k:t}}},{key:"zoomed",value:function(){if(d3.event){var t=d3.event.transform,e=this.visibleStage.w-this.initialWidth*t.k,i=this.visibleStage.h-this.initialHeight*t.k,n=e,r=i,o=this.visibleStage.x,a=this.visibleStage.y;e<=0?(t.x<n&&(t.x=n),t.x>=o&&(t.x=o)):t.x=.5*e,i<=0?(t.y<r&&(t.y=r),t.y>=a&&(t.y=a)):t.y=.5*r,this.view.attr("transform",t),this.markers.each((function(){d3.select(this).attr("transform",(function(e){var i=e.position.x,n=e.position.y;return"translate(".concat(i*t.k+t.x-15,",").concat(n*t.k+t.y-35,")")}))})),t.k>=this.maxScale?this.toggleBtnEl.classList.remove("map__toggle--out"):t.k<=this.baseTransform.k&&this.toggleBtnEl.classList.add("map__toggle--out"),this.currentTransform=d3.event.transform}}},{key:"zoomOut",value:function(){this.zoomInLevel=0,this.svg.transition().duration(this.animDuration).call(this.zoom.transform,d3.zoomIdentity.translate(this.baseTransform.x,this.baseTransform.y).scale(this.baseTransform.k))}},{key:"zoomIn",value:function(t){this.zoomInLevel+=t,this.svg.transition().duration(this.animDuration).call(this.zoom.scaleTo,this.zoomInLevel)}},{key:"toggleZoom",value:function(){this.currentTransform.k>=this.maxScale?this.zoomOut():this.selectStation()}},{key:"zoomOnFeature",value:function(t,e){this.active&&this.active.classed("map__boundary--active",!1),this.active=d3.select(t).classed("map__boundary--active",!0);var i=this.visibleStage.w/e.width>this.maxScale?this.maxScale:this.visibleStage.w/e.width,n=this.visibleStage.h/e.height>this.maxScale?this.maxScale:this.visibleStage.h/e.height,r=i<n?i:n,o=[this.visibleStage.x-r*e.x,this.visibleStage.y-r*e.y];this.svg.transition().duration(this.animDuration).call(this.zoom.transform,d3.zoomIdentity.translate(o[0],o[1]).scale(r))}},{key:"selectStation",value:function(t){return t?(this.mobileSelectBox.value=t.id,this.dispatchEvent({type:"showContent",targetId:t.id}),this.zoomOnFeature(t,d3.select(t).datum().bbox),this.toggleSpinning&&this.toggleBtnEl.classList.remove("map__toggle--animate"),!0):(this.zoomIn(1),!1)}}])&&s(e.prototype,i),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(i(82).a);e.default=p},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t){return function(t){if(Array.isArray(t))return o(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)return;if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return o(t,e)}(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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function a(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(a)?a:String(a)),r)}var o,a}function s(t,e){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=d(t);if(e){var r=d(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return c(this,i)}}function c(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return u(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e);var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(c,t);var e,i,n,o=l(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=o.call(this)).el=t,e.closeBtn=e.el.querySelector(".map__sidebar-close"),e.targets=e.el.querySelectorAll(".map-entry"),e.CONST={selectMobileElementId:"#mobile-map-select"},e.close=e.close.bind(u(e)),e}return e=c,(i=[{key:"init",value:function(){var t=this;this.closeBtn.addEventListener("click",this.close),document.addEventListener("keyup",(function(e){t.isOpen&&27===e.which&&t.close()})),this.hideAllContents(),this.initMobileBehaviour(),this.showInitialContent()}},{key:"open",value:function(t){this.isOpen=!0,this.el.classList.add("map__sidebar--open"),this.changeContent(t)}},{key:"close",value:function(){this.el.classList.remove("map__sidebar--open"),this.dispatchEvent({type:"close"}),this.isOpen=!1}},{key:"changeContent",value:function(t){this.hideAllContents();var e=this.el.querySelector('[data-id="'.concat(t,'"]'));return!!e&&(e.parentNode.classList.remove("hidden"),!0)}},{key:"hideAllContents",value:function(){r(this.targets).forEach((function(t){t.classList.add("hidden")}))}},{key:"showInitialContent",value:function(){this.targets.length>0&&(this.targets[0].classList.remove("hidden"),this.isOpen=!0,this.el.classList.add("map__sidebar--open"))}},{key:"initMobileBehaviour",value:function(){var t=this.el.parentNode.querySelector(this.CONST.selectMobileElementId),e={};for(var i in this.targets.forEach((function(t){var i=t.querySelector(".map-entry__wrapper").getAttribute("data-id"),n=t.querySelector(".map-entry__header").textContent;e[i]=n})),e)Object.prototype.hasOwnProperty.call(e,i)&&(t.options[t.options.length]=new window.Option(e[i],i))}}])&&a(e.prototype,i),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),c}(i(82).a);e.default=h},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,r=[{key:"removeBindings",value:function(t){for(;t.length>0;){var e=t.pop();e&&e[0].removeEventListener(e[1],e[2])}}},{key:"generateSnapPoints",value:function(t){var e=t.slider,i=t.points,r=document.createDocumentFragment(),o=document.createElement("div");o.classList.add("range-picker__slider-point"),i.forEach((function(t,e,i){if(0!==e&&e!==i.length-1){var n=o.cloneNode();n.style.left="".concat(t,"%"),r.appendChild(n)}})),n.default.emptyElement(e),e.appendChild(r)}},{key:"updateFromTo",value:function(t){var e=t.container,i=t.currentState,n=i.valueFormatter(i.minValue),r="".concat(n," bis ").concat(i.valueFormatter(i.maxValue));i.minValue===i.maxValue&&(r="".concat(n)),e.textContent=r}},{key:"normalizeToLimits",value:function(t){var e=t.val,i=t.values,n=+e,r=i[0],o=i[i.length-1];return n=Number.isNaN(n)||n<=r?r:n>=o?o:i[Math.round(e/i[1])]}},{key:"calculateSteps",value:function(t){var e=t.steps,i=void 0===e?[]:e;if(!Array.isArray(i))return i;var n=i.sort((function(t,e){return t-e})),r=[];return n.forEach((function(t){r.includes(t)||r.push(t)})),r.reduce((function(t,e,i,n){switch(i){case 0:return t.set(0,e);case n.length-1:return t.set(100,e);default:return t.set(+(i/(n.length-1)*100).toFixed(2),e)}}),new Map)}},{key:"setThumbPosition",value:function(t){var e=t.thumbElement,i=t.position;e.style.left="".concat(i,"%")}},{key:"setSliderPosition",value:function(e){var i=e.slider,n=e.currentState;i.style.background=t.parseStyleFromState(n)}},{key:"parseStyleFromState",value:function(t){var e="";if(0===t.minPosition&&100===t.maxPosition)return e;var i=", ".concat("#c3c3c3"," ").concat(t.minPosition,"%, ").concat("#c3c3c3"," 100%");return e=t.minPosition>0?"".concat("#c3c3c3"," 0%, ").concat("#c3c3c3"," ").concat(t.minPosition,"%,\n       ").concat("#0098db"," ").concat(t.minPosition,"%, ").concat("#0098db"," ").concat(t.maxPosition+1,"%"):"".concat("#0098db"," 0%, ").concat("#0098db"," ").concat(t.maxPosition+1,"%"),t.maxPosition<100&&(i=", ".concat("#c3c3c3"," ").concat(t.minPosition,"%, ").concat("#c3c3c3"," ").concat(t.maxPosition+1,"%")),"linear-gradient(to right, ".concat(e).concat(i,")")}}],(i=[{key:"init",value:function(e){var i=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{values:[],valueFormatter:function(t){return t},updateCallback:n.default.noop,handlers:[]};this.el=e||document.getElementsByClassName("range-picker")[0],this.config=r,this.config.handlers||(this.config.handlers=[]),t.removeBindings(this.config.handlers),this.controls=this.el.getElementsByClassName("range-picker__controls")[0],this.minThumb=this.el.getElementsByClassName("range-picker__handle-min")[0],this.maxThumb=this.el.getElementsByClassName("range-picker__handle-max")[0],this.sliderElement=this.el.getElementsByClassName("range-picker__progress")[0];var o=this.sliderElement.getBoundingClientRect();if(this.config.minOffset=o.left,this.config.maxOffset=o.left+o.width,this.config.totalRange=this.config.maxOffset-this.config.minOffset,this.config.values=t.calculateSteps({steps:this.config.values}),this.config.values.size<=1)this.el.style.display="none";else{this.el.style.display="",this.valueDisplay=this.el.getElementsByClassName("range-picker__value")[0];var a=0;this.config.values.forEach((function(t,e){0===a&&void 0===i.config.minPosition?(i.config.minValue=t,i.config.minPosition=e):a===i.config.values.size-1&&void 0===i.config.maxPosition&&(i.config.maxValue=t,i.config.maxPosition=e),a++})),t.updateFromTo({container:this.valueDisplay,currentState:this.config}),t.generateSnapPoints({slider:this.sliderElement,points:Array.from(this.config.values.keys())}),t.setThumbPosition({thumbElement:this.minThumb,position:this.config.minPosition}),t.setThumbPosition({thumbElement:this.maxThumb,position:this.config.maxPosition}),t.setSliderPosition({slider:this.sliderElement,currentState:this.config});var s=this.minThumb.getBoundingClientRect().width,l=s,c="mousedown",u="mousemove",d="mouseup";window.db.isMobile&&(c="touchstart",u="touchmove",d="touchend");var h=function(){o=i.sliderElement.getBoundingClientRect(),i.config.minOffset=o.left,i.config.maxOffset=o.left+o.width,i.config.totalRange=i.config.maxOffset-i.config.minOffset};window.addEventListener("resize",h),this.config.handlers.push([window,"resize",h]);var f=function e(n){n.stopPropagation(),n.preventDefault();var r=n.currentTarget,o=r.classList.contains("range-picker__handle-min");l=o?s:-4;var a,f=r.getBoundingClientRect().left-i.config.minOffset+l,p=i.config.minPosition,m=i.config.maxPosition,v=function(t){f=t.clientX-i.config.minOffset};window.db.isMobile&&(v=function(t){f=t.targetTouches[0].clientX-i.config.minOffset}),document.addEventListener(u,v),i.config.handlers.push([document,u,v]),function e(){var n=+(100*f/i.config.totalRange).toFixed(2);n<=0?n=0:n>=100&&(n=100),o?n>i.config.maxPosition?i.config.minPosition=i.config.maxPosition:i.config.minPosition=n:n<i.config.minPosition?i.config.maxPosition=i.config.minPosition:i.config.maxPosition=n,t.setThumbPosition({thumbElement:r,position:o?i.config.minPosition:i.config.maxPosition}),t.setSliderPosition({slider:i.sliderElement,currentState:i.config}),o?i.config.minValue=i.config.values.get(t.normalizeToLimits({val:parseFloat(i.config.minPosition),values:Array.from(i.config.values.keys())})):i.config.maxValue=i.config.values.get(t.normalizeToLimits({val:parseFloat(i.config.maxPosition),values:Array.from(i.config.values.keys())})),t.updateFromTo({container:i.valueDisplay,currentState:i.config}),a=window.requestAnimationFrame(e)}();var y=function n(){document.removeEventListener(u,v),document.removeEventListener(d,n),document.removeEventListener("blur",n),window.removeEventListener("resize",h),window.cancelAnimationFrame(a),(o?p!==i.config.minPosition:m!==i.config.maxPosition)&&(i.minThumb.removeEventListener(c,e),i.maxThumb.removeEventListener(c,e),i.config.updateCallback(i.config)),function(){var e=+(100*f/i.config.totalRange).toFixed(2);o?e>i.config.maxPosition&&(e=i.config.maxPosition):e<i.config.minPosition&&(e=i.config.minPosition);var n=t.normalizeToLimits({val:parseFloat(e),values:Array.from(i.config.values.keys())});o?i.config.minPosition=n:i.config.maxPosition=n,i.config.minPosition===i.config.maxPosition?i.controls.classList.add("range-picker__progress--stacked"):i.controls.classList.remove("range-picker__progress--stacked"),t.setThumbPosition({thumbElement:r,position:o?i.config.minPosition:i.config.maxPosition}),t.setSliderPosition({slider:i.sliderElement,currentState:i.config}),o?i.config.minValue=i.config.values.get(i.config.minPosition):i.config.maxValue=i.config.values.get(i.config.maxPosition),t.updateFromTo({container:i.valueDisplay,currentState:i.config})}()};return document.addEventListener(d,y),i.config.handlers.push([document,d,y]),document.addEventListener("blur",y),i.config.handlers.push([document,"blur",y]),!1};this.minThumb.addEventListener(c,f),this.config.handlers.push([this.minThumb,c,f]),this.maxThumb.addEventListener(c,f),this.config.handlers.push([this.maxThumb,c,f])}}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){var n;!function(t){var e,i,n,r,o,a,s,l=navigator.userAgent;t.HTMLPictureElement&&/ecko/.test(l)&&l.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(i=document.createElement("source"),n=function(t){var e,n,r=t.parentNode;"PICTURE"===r.nodeName.toUpperCase()?(e=i.cloneNode(),r.insertBefore(e,r.firstElementChild),setTimeout((function(){r.removeChild(e)}))):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,n=t.sizes,t.sizes+=",100vw",setTimeout((function(){t.sizes=n})))},r=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)n(e[t])},o=function(){clearTimeout(e),e=setTimeout(r,99)},a=t.matchMedia&&matchMedia("(orientation: landscape)"),s=function(){o(),a&&a.addListener&&a.addListener(o)},i.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?s():document.addEventListener("DOMContentLoaded",s),o))}(window),function(r,o,a){"use strict";var s,l,c;o.createElement("picture");var u={},d=!1,h=function(){},f=o.createElement("img"),p=f.getAttribute,m=f.setAttribute,v=f.removeAttribute,y=o.documentElement,g={},b={algorithm:""},w=navigator.userAgent,S=/rident/.test(w)||/ecko/.test(w)&&w.match(/rv\:(\d+)/)&&RegExp.$1>35,E="currentSrc",C=/\s+\+?\d+(e\d+)?w/,T=/(\([^)]+\))?\s*(.+)/,k=r.picturefillCFG,x="font-size:100%!important;",L=!0,A={},O={},I=r.devicePixelRatio,_={px:1,in:96},P=o.createElement("a"),N=!1,M=/^[ \t\n\r\u000c]+/,B=/^[, \t\n\r\u000c]+/,D=/^[^ \t\n\r\u000c]+/,j=/[,]+$/,H=/^\d+$/,R=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,F=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n||!1):t.attachEvent&&t.attachEvent("on"+e,i)},W=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}};function z(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}var V,q,U,$,G,Y,X,K,Q,J,Z,tt,et,it,nt,rt,ot=(V=/^([\d\.]+)(em|vw|px)$/,q=W((function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"})),function(t,e){var i;if(!(t in A))if(A[t]=!1,e&&(i=t.match(V)))A[t]=i[1]*_[i[2]];else try{A[t]=new Function("e",q(t))(_)}catch(t){}return A[t]}),at=function(t,e){return t.w?(t.cWidth=u.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},st=function(t){if(d){var e,i,n,r=t||{};if(r.elements&&1===r.elements.nodeType&&("IMG"===r.elements.nodeName.toUpperCase()?r.elements=[r.elements]:(r.context=r.elements,r.elements=null)),n=(e=r.elements||u.qsa(r.context||o,r.reevaluate||r.reselect?u.sel:u.selShort)).length){for(u.setupRun(r),N=!0,i=0;i<n;i++)u.fillImg(e[i],r);u.teardownRun(r)}}};function lt(t,e){return t.res-e.res}function ct(t,e){var i,n,r;if(t&&e)for(r=u.parseSet(e),t=u.makeUrl(t),i=0;i<r.length;i++)if(t===u.makeUrl(r[i].url)){n=r[i];break}return n}r.console&&console.warn,E in f||(E="src"),g["image/jpeg"]=!0,g["image/gif"]=!0,g["image/png"]=!0,g["image/svg+xml"]=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),u.ns=("pf"+(new Date).getTime()).substr(0,9),u.supSrcset="srcset"in f,u.supSizes="sizes"in f,u.supPicture=!!r.HTMLPictureElement,u.supSrcset&&u.supPicture&&!u.supSizes&&(U=o.createElement("img"),f.srcset="data:,a",U.src="data:,a",u.supSrcset=f.complete===U.complete,u.supPicture=u.supSrcset&&u.supPicture),u.supSrcset&&!u.supSizes?($="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",G=o.createElement("img"),Y=function(){2===G.width&&(u.supSizes=!0),l=u.supSrcset&&!u.supSizes,d=!0,setTimeout(st)},G.onload=Y,G.onerror=Y,G.setAttribute("sizes","9px"),G.srcset=$+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",G.src=$):d=!0,u.selShort="picture>img,img[srcset]",u.sel=u.selShort,u.cfg=b,u.DPR=I||1,u.u=_,u.types=g,u.setSize=h,u.makeUrl=W((function(t){return P.href=t,P.href})),u.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},u.matchesMedia=function(){return r.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?u.matchesMedia=function(t){return!t||matchMedia(t).matches}:u.matchesMedia=u.mMQ,u.matchesMedia.apply(this,arguments)},u.mMQ=function(t){return!t||ot(t)},u.calcLength=function(t){var e=ot(t,!0)||!1;return e<0&&(e=!1),e},u.supportsType=function(t){return!t||g[t]},u.parseSize=W((function(t){var e=(t||"").match(T);return{media:e&&e[1],length:e&&e[2]}})),u.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,n=e.exec(t.substring(c));if(n)return i=n[0],c+=i.length,i}var n,r,o,a,s,l=t.length,c=0,u=[];function d(){var t,i,o,a,s,l,c,d,h,f=!1,p={};for(a=0;a<r.length;a++)l=(s=r[a])[s.length-1],c=s.substring(0,s.length-1),d=parseInt(c,10),h=parseFloat(c),H.test(c)&&"w"===l?((t||i)&&(f=!0),0===d?f=!0:t=d):R.test(c)&&"x"===l?((t||i||o)&&(f=!0),h<0?f=!0:i=h):H.test(c)&&"h"===l?((o||i)&&(f=!0),0===d?f=!0:o=d):f=!0;f||(p.url=n,t&&(p.w=t),i&&(p.d=i),o&&(p.h=o),o||i||t||(p.d=1),1===p.d&&(e.has1x=!0),p.set=e,u.push(p))}function h(){for(i(M),o="",a="in descriptor";;){if(s=t.charAt(c),"in descriptor"===a)if(z(s))o&&(r.push(o),o="",a="after descriptor");else{if(","===s)return c+=1,o&&r.push(o),void d();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&r.push(o),void d();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return r.push(o),void d();o+=s}else if("after descriptor"===a)if(z(s));else{if(""===s)return void d();a="in descriptor",c-=1}c+=1}}for(;;){if(i(B),c>=l)return u;n=i(D),r=[],","===n.slice(-1)?(n=n.replace(j,""),d()):h()}}(t.srcset,t)),t.cands},u.getEmValue=function(){var t;if(!s&&(t=o.body)){var e=o.createElement("div"),i=y.style.cssText,n=t.style.cssText;e.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",y.style.cssText=x,t.style.cssText=x,t.appendChild(e),s=e.offsetWidth,t.removeChild(e),s=parseFloat(s,10),y.style.cssText=i,t.style.cssText=n}return s||16},u.calcListLength=function(t){if(!(t in O)||b.uT){var e=u.calcLength(function(t){var e,i,n,r,o,a,s,l=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(n=(i=function(t){var e,i="",n=[],r=[],o=0,a=0,s=!1;function l(){i&&(n.push(i),i="")}function c(){n[0]&&(r.push(n),n=[])}for(;;){if(""===(e=t.charAt(a)))return l(),c(),r;if(s){if("*"===e&&"/"===t[a+1]){s=!1,a+=2,l();continue}a+=1}else{if(z(e)){if(t.charAt(a-1)&&z(t.charAt(a-1))||!i){a+=1;continue}if(0===o){l(),a+=1;continue}e=" "}else if("("===e)o+=1;else if(")"===e)o-=1;else{if(","===e){l(),c(),a+=1;continue}if("/"===e&&"*"===t.charAt(a+1)){s=!0,a+=2;continue}}i+=e,a+=1}}}(t)).length,e=0;e<n;e++)if(o=(r=i[e])[r.length-1],s=o,l.test(s)&&parseFloat(s)>=0||c.test(s)||"0"===s||"-0"===s||"+0"===s){if(a=o,r.pop(),0===r.length)return a;if(r=r.join(" "),u.matchesMedia(r))return a}return"100vw"}(t));O[t]=e||_.width}return O[t]},u.setRes=function(t){var e;if(t)for(var i=0,n=(e=u.parseSet(t)).length;i<n;i++)at(e[i],t.sizes);return e},u.setRes.res=at,u.applySetCandidate=function(t,e){if(t.length){var i,n,r,o,a,s,l,c,d,h,f,p,m,v,y,g,w=e[u.ns],C=u.DPR;if(s=w.curSrc||e[E],(l=w.curCan||function(t,e,i){var n;return!i&&e&&(i=(i=t[u.ns].sets)&&i[i.length-1]),(n=ct(e,i))&&(e=u.makeUrl(e),t[u.ns].curSrc=e,t[u.ns].curCan=n,n.res||at(n,n.set.sizes)),n}(e,s,t[0].set))&&l.set===t[0].set&&((d=S&&!e.complete&&l.res-.1>C)||(l.cached=!0,l.res>=C&&(a=l))),!a)for(t.sort(lt),a=t[(o=t.length)-1],n=0;n<o;n++)if((i=t[n]).res>=C){a=t[r=n-1]&&(d||s!==u.makeUrl(i.url))&&(h=t[r].res,f=i.res,p=C,m=t[r].cached,v=void 0,y=void 0,g=void 0,"saveData"===b.algorithm?h>2.7?g=p+1:(y=(f-p)*(v=Math.pow(h-.6,1.5)),m&&(y+=.1*v),g=h+y):g=p>1?Math.sqrt(h*f):h,g>p)?t[r]:i;break}a&&(c=u.makeUrl(a.url),w.curSrc=c,w.curCan=a,c!==s&&u.setSrc(e,a),u.setSize(e))}},u.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},u.getSet=function(t){var e,i,n,r=!1,o=t[u.ns].sets;for(e=0;e<o.length&&!r;e++)if((i=o[e]).srcset&&u.matchesMedia(i.media)&&(n=u.supportsType(i.type))){"pending"===n&&(i=n),r=i;break}return r},u.parseSets=function(t,e,i){var n,r,o,a,s=e&&"PICTURE"===e.nodeName.toUpperCase(),c=t[u.ns];(void 0===c.src||i.src)&&(c.src=p.call(t,"src"),c.src?m.call(t,"data-pfsrc",c.src):v.call(t,"data-pfsrc")),(void 0===c.srcset||i.srcset||!u.supSrcset||t.srcset)&&(n=p.call(t,"srcset"),c.srcset=n,a=!0),c.sets=[],s&&(c.pic=!0,function(t,e){var i,n,r,o,a=t.getElementsByTagName("source");for(i=0,n=a.length;i<n;i++)(r=a[i])[u.ns]=!0,(o=r.getAttribute("srcset"))&&e.push({srcset:o,media:r.getAttribute("media"),type:r.getAttribute("type"),sizes:r.getAttribute("sizes")})}(e,c.sets)),c.srcset?(r={srcset:c.srcset,sizes:p.call(t,"sizes")},c.sets.push(r),(o=(l||c.src)&&C.test(c.srcset||""))||!c.src||ct(c.src,r)||r.has1x||(r.srcset+=", "+c.src,r.cands.push({url:c.src,d:1,set:r}))):c.src&&c.sets.push({srcset:c.src,sizes:null}),c.curCan=null,c.curSrc=void 0,c.supported=!(s||r&&!u.supSrcset||o&&!u.supSizes),a&&u.supSrcset&&!c.supported&&(n?(m.call(t,"data-pfsrcset",n),t.srcset=""):v.call(t,"data-pfsrcset")),c.supported&&!c.srcset&&(!c.src&&t.src||t.src!==u.makeUrl(c.src))&&(null===c.src?t.removeAttribute("src"):t.src=c.src),c.parsed=!0},u.fillImg=function(t,e){var i,n=e.reselect||e.reevaluate;t[u.ns]||(t[u.ns]={}),i=t[u.ns],(n||i.evaled!==c)&&(i.parsed&&!e.reevaluate||u.parseSets(t,t.parentNode,e),i.supported?i.evaled=c:function(t){var e,i=u.getSet(t),n=!1;"pending"!==i&&(n=c,i&&(e=u.setRes(i),u.applySetCandidate(e,t))),t[u.ns].evaled=n}(t))},u.setupRun=function(){N&&!L&&I===r.devicePixelRatio||(L=!1,I=r.devicePixelRatio,A={},O={},u.DPR=I||1,_.width=Math.max(r.innerWidth||0,y.clientWidth),_.height=Math.max(r.innerHeight||0,y.clientHeight),_.vw=_.width/100,_.vh=_.height/100,c=[_.height,_.width,I].join("-"),_.em=u.getEmValue(),_.rem=_.em)},u.supPicture?(st=h,u.fillImg=h):(et=r.attachEvent?/d$|^c/:/d$|^c|^i/,it=function(){var t=o.readyState||"";nt=setTimeout(it,"loading"===t?200:999),o.body&&(u.fillImgs(),(X=X||et.test(t))&&clearTimeout(nt))},nt=setTimeout(it,o.body?9:99),rt=y.clientHeight,F(r,"resize",(K=function(){L=Math.max(r.innerWidth||0,y.clientWidth)!==_.width||y.clientHeight!==rt,rt=y.clientHeight,L&&u.fillImgs()},Q=99,tt=function(){var t=new Date-Z;t<Q?J=setTimeout(tt,Q-t):(J=null,K())},function(){Z=new Date,J||(J=setTimeout(tt,Q))})),F(o,"readystatechange",it)),u.picturefill=st,u.fillImgs=st,u.teardownRun=h,st._=u,r.picturefillCFG={pf:u,push:function(t){var e=t.shift();"function"==typeof u[e]?u[e].apply(u,t):(b[e]=t[0],N&&u.fillImgs({reselect:!0}))}};for(;k&&k.length;)r.picturefillCFG.push(k.shift());r.picturefill=st,"object"==typeof t.exports?t.exports=st:void 0===(n=function(){return st}.call(e,i,e,t))||(t.exports=n),u.supPicture||(g["image/webp"]=function(t,e){var i=new r.Image;return i.onerror=function(){g[t]=!1,st()},i.onload=function(){g[t]=1===i.width,st()},i.src=e,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document)},function(t,e,i){"use strict";function n(t,e,i,n){return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e}i.d(e,"a",(function(){return n}))},function(t,e,i){"use strict";function n(){}n.prototype.addEventListener=function(t,e){void 0===this._listeners&&(this._listeners={});var i=this._listeners;void 0===i[t]&&(i[t]=[]),-1===i[t].indexOf(e)&&i[t].push(e)},n.prototype.hasEventListener=function(t,e){if(void 0===this._listeners)return!1;var i=this._listeners;return void 0!==i[t]&&-1!==i[t].indexOf(e)},n.prototype.removeEventListener=function(t,e){if(void 0!==this._listeners){var i=this._listeners[t];if(void 0!==i){var n=i.indexOf(e);-1!==n&&i.splice(n,1)}}},n.prototype.dispatchEvent=function(t){if(void 0!==this._listeners){var e=this._listeners[t.type];if(void 0!==e){t.target=this;for(var i=e.slice(0),n=0,r=i.length;n<r;n++)i[n].call(this,t)}}},e.a=n},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t,e){return window.getComputedStyle(t,null).getPropertyValue(e)}function o(t,e,i){var n=t.textContent;if(t.textContent="",e.clientHeight>i)return!1;for(var r=n.split(" ");r.pop();){if(t.textContent=r.join(" "),e.clientHeight<=i){t.textContent=n;break}n=t.textContent}for(var o=n.length;o>2;)if(n=n.substring(0,--o),t.textContent=n+"…",e.clientHeight<=i)return!0;return!1}function a(t,e,i,n){for(var r=t.childNodes,s=r.length-1;s>-1;){var l=r[s--];if((1===l.nodeType?a:o)(l,e,i,n))return!0;t.removeChild(l)}return!1}function s(t,e){var i=function(t){var e=r(t,"line-height");return"normal"===e?1.25*parseInt(r(t,"font-size"),10):parseFloat(e)}(t),n=Math.round(i*e);t.clientHeight<=n||(function(t){for(var e=0;e<t.childNodes.length;e++){var i=t.childNodes[e];1===i.nodeType&&(i.inlineCssText=i.style.cssText,i.style.lineHeight="100%")}}(t),a(t,t,n,i),function(t){for(var e=0;e<t.childNodes.length;e++){var i=t.childNodes[e];1===i.nodeType&&(i.removeAttribute("style"),i.inlineCssText&&(i.style.cssText=i.inlineCssText))}}(t))}function l(t,e){t.style.overflow="hidden",t.style.textOverflow="ellipsis",t.style.webkitBoxOrient="vertical",t.style.display="-webkit-box",t.style.webkitLineClamp=e}var c,u;c=this,u=function(t,e){e&&(void 0===t.style.webkitLineClamp?s:l)(t,e)},"object"===n(e)?(t.exports=u,t.exports.webkitLineClamp=u):c.webkitLineClamp=u},function(t,e,i){var n=i(6),r=i(3).document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,i){e.f=i(7)},function(t,e,i){var n=i(63)("keys"),r=i(41);t.exports=function(t){return n[t]||(n[t]=r(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var n=i(3).document;t.exports=n&&n.documentElement},function(t,e,i){var n=i(6),r=i(5),o=function(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=i(27)(Function.call,i(30).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return o(t,i),e?t.__proto__=i:n(t,i),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,e,i){var n=i(6),r=i(89).set;t.exports=function(t,e,i){var o,a=e.constructor;return a!==i&&"function"==typeof a&&(o=a.prototype)!==i.prototype&&n(o)&&r&&r(t,o),t}},function(t,e,i){"use strict";var n=i(29),r=i(34);t.exports=function(t){var e=String(r(this)),i="",o=n(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(i+=e);return i}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var i=Math.expm1;t.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},function(t,e,i){var n=i(29),r=i(34);t.exports=function(t){return function(e,i){var o,a,s=String(r(e)),l=n(i),c=s.length;return l<0||l>=c?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(t,e,i){"use strict";var n=i(42),r=i(1),o=i(17),a=i(21),s=i(52),l=i(127),c=i(50),u=i(47),d=i(7)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,i,p,m,v,y){l(i,e,p);var g,b,w,S=function(t){if(!h&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},E=e+" Iterator",C="values"==m,T=!1,k=t.prototype,x=k[d]||k["@@iterator"]||m&&k[m],L=x||S(m),A=m?C?S("entries"):L:void 0,O="Array"==e&&k.entries||x;if(O&&(w=u(O.call(new t)))!==Object.prototype&&w.next&&(c(w,E,!0),n||"function"==typeof w[d]||a(w,d,f)),C&&x&&"values"!==x.name&&(T=!0,L=function(){return x.call(this)}),n&&!y||!h&&!T&&k[d]||a(k,d,L),s[e]=L,s[E]=f,m)if(g={values:C?L:S("values"),keys:v?L:S("keys"),entries:A},y)for(b in g)b in k||o(k,b,g[b]);else r(r.P+r.F*(h||T),e,g);return g}},function(t,e,i){var n=i(98),r=i(34);t.exports=function(t,e,i){if(n(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(r(t))}},function(t,e,i){var n=i(6),r=i(33),o=i(7)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,i){var n=i(7)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,i){var n=i(52),r=i(7)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[r]===t)}},function(t,e,i){"use strict";var n=i(11),r=i(40);t.exports=function(t,e,i){e in t?n.f(t,e,r(0,i)):t[e]=i}},function(t,e,i){var n=i(61),r=i(7)("iterator"),o=i(52);t.exports=i(9).getIteratorMethod=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[n(t)]}},function(t,e,i){"use strict";var n=i(14),r=i(44),o=i(8);t.exports=function(t){for(var e=n(this),i=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,i),l=a>2?arguments[2]:void 0,c=void 0===l?i:r(l,i);c>s;)e[s++]=t;return e}},function(t,e,i){"use strict";var n=i(48),r=i(132),o=i(52),a=i(22);t.exports=i(96)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e,i){"use strict";var n,r,o=i(68),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(n=/a/,r=/b*/g,a.call(n,"a"),a.call(r,"a"),0!==n.lastIndex||0!==r.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,i,n,r,l=this;return u&&(i=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),c&&(e=l.lastIndex),n=a.call(l,t),c&&n&&(l.lastIndex=l.global?n.index+n[0].length:e),u&&n&&n.length>1&&s.call(n[0],i,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(n[r]=void 0)})),n}),t.exports=l},function(t,e,i){"use strict";var n=i(95)(!0);t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},function(t,e,i){var n,r,o,a=i(27),s=i(121),l=i(88),c=i(84),u=i(3),d=u.process,h=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,m=u.Dispatch,v=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){g.call(t.data)};h&&f||(h=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return y[++v]=function(){s("function"==typeof t?t:Function(t),e)},n(v),v},f=function(t){delete y[t]},"process"==i(33)(d)?n=function(t){d.nextTick(a(g,t,1))}:m&&m.now?n=function(t){m.now(a(g,t,1))}:p?(o=(r=new p).port2,r.port1.onmessage=b,n=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):n="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:h,clear:f}},function(t,e,i){"use strict";var n=i(3),r=i(10),o=i(42),a=i(74),s=i(21),l=i(55),c=i(4),u=i(54),d=i(29),h=i(8),f=i(140),p=i(46).f,m=i(11).f,v=i(103),y=i(50),g=n.ArrayBuffer,b=n.DataView,w=n.Math,S=n.RangeError,E=n.Infinity,C=g,T=w.abs,k=w.pow,x=w.floor,L=w.log,A=w.LN2,O=r?"_b":"buffer",I=r?"_l":"byteLength",_=r?"_o":"byteOffset";function P(t,e,i){var n,r,o,a=new Array(i),s=8*i-e-1,l=(1<<s)-1,c=l>>1,u=23===e?k(2,-24)-k(2,-77):0,d=0,h=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===E?(r=t!=t?1:0,n=l):(n=x(L(t)/A),t*(o=k(2,-n))<1&&(n--,o*=2),(t+=n+c>=1?u/o:u*k(2,1-c))*o>=2&&(n++,o/=2),n+c>=l?(r=0,n=l):n+c>=1?(r=(t*o-1)*k(2,e),n+=c):(r=t*k(2,c-1)*k(2,e),n=0));e>=8;a[d++]=255&r,r/=256,e-=8);for(n=n<<e|r,s+=e;s>0;a[d++]=255&n,n/=256,s-=8);return a[--d]|=128*h,a}function N(t,e,i){var n,r=8*i-e-1,o=(1<<r)-1,a=o>>1,s=r-7,l=i-1,c=t[l--],u=127&c;for(c>>=7;s>0;u=256*u+t[l],l--,s-=8);for(n=u&(1<<-s)-1,u>>=-s,s+=e;s>0;n=256*n+t[l],l--,s-=8);if(0===u)u=1-a;else{if(u===o)return n?NaN:c?-E:E;n+=k(2,e),u-=a}return(c?-1:1)*n*k(2,u-e)}function M(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function B(t){return[255&t]}function D(t){return[255&t,t>>8&255]}function j(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return P(t,52,8)}function R(t){return P(t,23,4)}function F(t,e,i){m(t.prototype,e,{get:function(){return this[i]}})}function W(t,e,i,n){var r=f(+i);if(r+e>t[I])throw S("Wrong index!");var o=t[O]._b,a=r+t[_],s=o.slice(a,a+e);return n?s:s.reverse()}function z(t,e,i,n,r,o){var a=f(+i);if(a+e>t[I])throw S("Wrong index!");for(var s=t[O]._b,l=a+t[_],c=n(+r),u=0;u<e;u++)s[l+u]=c[o?u:e-u-1]}if(a.ABV){if(!c((function(){g(1)}))||!c((function(){new g(-1)}))||c((function(){return new g,new g(1.5),new g(NaN),"ArrayBuffer"!=g.name}))){for(var V,q=(g=function(t){return u(this,g),new C(f(t))}).prototype=C.prototype,U=p(C),$=0;U.length>$;)(V=U[$++])in g||s(g,V,C[V]);o||(q.constructor=g)}var G=new b(new g(2)),Y=b.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||l(b.prototype,{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},!0)}else g=function(t){u(this,g,"ArrayBuffer");var e=f(t);this._b=v.call(new Array(e),0),this[I]=e},b=function(t,e,i){u(this,b,"DataView"),u(t,g,"DataView");var n=t[I],r=d(e);if(r<0||r>n)throw S("Wrong offset!");if(r+(i=void 0===i?n-r:h(i))>n)throw S("Wrong length!");this[O]=t,this[_]=r,this[I]=i},r&&(F(g,"byteLength","_l"),F(b,"buffer","_b"),F(b,"byteLength","_l"),F(b,"byteOffset","_o")),l(b.prototype,{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return M(W(this,4,t,arguments[1]))},getUint32:function(t){return M(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return N(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return N(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){z(this,1,t,B,e)},setUint8:function(t,e){z(this,1,t,B,e)},setInt16:function(t,e){z(this,2,t,D,e,arguments[2])},setUint16:function(t,e){z(this,2,t,D,e,arguments[2])},setInt32:function(t,e){z(this,4,t,j,e,arguments[2])},setUint32:function(t,e){z(this,4,t,j,e,arguments[2])},setFloat32:function(t,e){z(this,4,t,R,e,arguments[2])},setFloat64:function(t,e){z(this,8,t,H,e,arguments[2])}});y(g,"ArrayBuffer"),y(b,"DataView"),s(b.prototype,a.VIEW,!0),e.ArrayBuffer=g,e.DataView=b},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){t.exports=!i(145)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,i){(function(t){function e(t){return(e="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})(t)}!function(){var i=function t(e,i){var n=this;this.isOpened=!1,this.input=o(e),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),function(t,e,i){for(var n in e){var r=e[n],o=t.input.getAttribute("data-"+n.toLowerCase());t[n]="number"==typeof r?parseInt(o):!1===r?null!==o:r instanceof Function?null:o,t[n]||0===t[n]||(t[n]=n in i?i[n]:r)}}(this,{minChars:2,maxItems:10,autoFirst:!1,data:t.DATA,filter:t.FILTER_CONTAINS,sort:t.SORT_BYLENGTH,item:t.ITEM,replace:t.REPLACE},i=i||{}),this.index=-1,this.container=e.parentNode.classList.contains("awesomplete-wrapper")?e.parentNode:o.create("div",{className:"awesomplete-wrapper",around:e}),this.ul=o.create("ul",{className:"awesomplete-results-list",inside:this.container}),this.status=o.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),o.bind(this.input,{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;n.opened&&(13===e&&n.selected?(t.preventDefault(),n.select()):27===e?n.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),n[38===e?"previous":"next"]()))}}),o.bind(this.input.form,{submit:this.close.bind(this,{reason:"submit"})}),o.bind(this.ul,{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),n.select(e,t.target))}}}),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||i.list||[],t.all.push(this)};function n(t){var i=Array.isArray(t)?{label:t[0],value:t[1]}:"object"===e(t)&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=i.label||i.value,this.value=i.value}i.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=o(t))&&t.children){var e=[];r.apply(t.children).forEach((function(t){if(!t.disabled){var i=t.textContent.trim(),n=t.value||i,r=t.label||i;""!==n&&e.push({label:r,value:n})}})),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,o.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),o.fire(this.input,"awesomplete-open")},next:function(){var t=this.ul.children.length;this.goto(this.index<t-1?this.index+1:t?0:-1)},previous:function(){var t=this.ul.children.length,e=this.index-1;this.goto(this.selected&&-1!==e?e:t-1)},goto:function(t){var e=this.ul.children;this.selected&&e[this.index].setAttribute("aria-selected","false"),this.index=t,t>-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,o.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=o.siblingIndex(t):t=this.ul.children[this.index],t){var i=this.suggestions[this.index];o.fire(this.input,"awesomplete-select",{text:i,origin:e||t})&&(this.replace(i),this.close({reason:"select"}),o.fire(this.input,"awesomplete-selectcomplete",{text:i}))}},evaluate:function(){var t=this,e=this.input.value;e.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map((function(i){return new n(t.data(i,e))})).filter((function(i){return t.filter(i,e)})).sort(this.sort).slice(0,this.maxItems),this.suggestions.forEach((function(i){t.ul.appendChild(t.item(i,e))})),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},i.all=[],i.FILTER_CONTAINS=function(t,e){return RegExp(o.regExpEscape(e.trim()),"i").test(t)},i.FILTER_STARTSWITH=function(t,e){return RegExp("^"+o.regExpEscape(e.trim()),"i").test(t)},i.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t<e?-1:1},i.ITEM=function(t,e){var i=""===e?t:t.replace(RegExp(o.regExpEscape(e.trim()),"gi"),"<mark>$&</mark>");return o.create("li",{innerHTML:i,"aria-selected":"false"})},i.REPLACE=function(t){this.input.value=t.value},i.DATA=function(t){return t},Object.defineProperty(n.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),n.prototype.toString=n.prototype.valueOf=function(){return""+this.label};var r=Array.prototype.slice;function o(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function a(t,e){return r.call((e||document).querySelectorAll(t))}function s(){a("input.awesomplete").forEach((function(t){new i(t)}))}o.create=function(t,e){var i=document.createElement(t);for(var n in e){var r=e[n];if("inside"===n)o(r).appendChild(i);else if("around"===n){var a=o(r);a.parentNode.insertBefore(i,a),i.appendChild(a)}else n in i?i[n]=r:i.setAttribute(n,r)}return i},o.bind=function(t,e){if(t)for(var i in e){var n=e[i];i.split(/\s+/).forEach((function(e){t.addEventListener(e,n)}))}},o.fire=function(t,e,i){var n=document.createEvent("HTMLEvents");for(var r in n.initEvent(e,!0,!0),i)n[r]=i[r];return t.dispatchEvent(n)},o.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},o.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?s():document.addEventListener("DOMContentLoaded",s)),i.$=o,i.$$=a,"undefined"!=typeof self&&(self.Awesomplete=i),"object"===e(t)&&t.exports&&(t.exports=i)}()}).call(this,i(405)(t))},function(t,e,i){t.exports=!i(10)&&!i(4)((function(){return 7!=Object.defineProperty(i(84)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(3),r=i(9),o=i(42),a=i(85),s=i(11).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,i){var n=i(20),r=i(22),o=i(64)(!1),a=i(86)("IE_PROTO");t.exports=function(t,e){var i,s=r(t),l=0,c=[];for(i in s)i!=a&&n(s,i)&&c.push(i);for(;e.length>l;)n(s,i=e[l++])&&(~o(c,i)||c.push(i));return c}},function(t,e,i){var n=i(11),r=i(5),o=i(43);t.exports=i(10)?Object.defineProperties:function(t,e){r(t);for(var i,a=o(e),s=a.length,l=0;s>l;)n.f(t,i=a[l++],e[i]);return t}},function(t,e,i){var n=i(22),r=i(46).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(n(t))}},function(t,e,i){"use strict";var n=i(10),r=i(43),o=i(65),a=i(60),s=i(14),l=i(59),c=Object.assign;t.exports=!c||i(4)((function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach((function(t){e[t]=t})),7!=c({},t)[i]||Object.keys(c({},e)).join("")!=n}))?function(t,e){for(var i=s(t),c=arguments.length,u=1,d=o.f,h=a.f;c>u;)for(var f,p=l(arguments[u++]),m=d?r(p).concat(d(p)):r(p),v=m.length,y=0;v>y;)f=m[y++],n&&!h.call(p,f)||(i[f]=p[f]);return i}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,i){"use strict";var n=i(28),r=i(6),o=i(121),a=[].slice,s={},l=function(t,e,i){if(!(e in s)){for(var n=[],r=0;r<e;r++)n[r]="a["+r+"]";s[e]=Function("F,a","return new F("+n.join(",")+")")}return s[e](t,i)};t.exports=Function.bind||function(t){var e=n(this),i=a.call(arguments,1),s=function(){var n=i.concat(a.call(arguments));return this instanceof s?l(e,n.length,n):o(e,n,t)};return r(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,i){var n=i(3).parseInt,r=i(51).trim,o=i(90),a=/^[-+]?0[xX]/;t.exports=8!==n(o+"08")||22!==n(o+"0x16")?function(t,e){var i=r(String(t),3);return n(i,e>>>0||(a.test(i)?16:10))}:n},function(t,e,i){var n=i(3).parseFloat,r=i(51).trim;t.exports=1/n(i(90)+"-0")!=-1/0?function(t){var e=r(String(t),3),i=n(e);return 0===i&&"-"==e.charAt(0)?-0:i}:n},function(t,e,i){var n=i(33);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}},function(t,e,i){var n=i(6),r=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&r(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,i){"use strict";var n=i(45),r=i(40),o=i(50),a={};i(21)(a,i(7)("iterator"),(function(){return this})),t.exports=function(t,e,i){t.prototype=n(a,{next:r(1,i)}),o(t,e+" Iterator")}},function(t,e,i){var n=i(5);t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e,i){var n=i(298);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,i){var n=i(28),r=i(14),o=i(59),a=i(8);t.exports=function(t,e,i,s,l){n(e);var c=r(t),u=o(c),d=a(c.length),h=l?d-1:0,f=l?-1:1;if(i<2)for(;;){if(h in u){s=u[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in u&&(s=e(s,u[h],h,c));return s}},function(t,e,i){"use strict";var n=i(14),r=i(44),o=i(8);t.exports=[].copyWithin||function(t,e){var i=n(this),a=o(i.length),s=r(t,a),l=r(e,a),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?a:r(c,a))-l,a-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in i?i[s]=i[l]:delete i[s],s+=d,l+=d;return i}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){"use strict";var n=i(105);i(1)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},function(t,e,i){i(10)&&"g"!=/./g.flags&&i(11).f(RegExp.prototype,"flags",{configurable:!0,get:i(68)})},function(t,e,i){"use strict";var n,r,o,a,s=i(42),l=i(3),c=i(27),u=i(61),d=i(1),h=i(6),f=i(28),p=i(54),m=i(71),v=i(62),y=i(107).set,g=i(318)(),b=i(136),w=i(319),S=i(72),E=i(137),C=l.TypeError,T=l.process,k=T&&T.versions,x=k&&k.v8||"",L=l.Promise,A="process"==u(T),O=function(){},I=r=b.f,_=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[i(7)("species")]=function(t){t(O,O)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==x.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),P=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},N=function(t,e){if(!t._n){t._n=!0;var i=t._c;g((function(){for(var n=t._v,r=1==t._s,o=0,a=function(e){var i,o,a,s=r?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(r||(2==t._h&&D(t),t._h=1),!0===s?i=n:(u&&u.enter(),i=s(n),u&&(u.exit(),a=!0)),i===e.promise?c(C("Promise-chain cycle")):(o=P(i))?o.call(i,l,c):l(i)):c(n)}catch(t){u&&!a&&u.exit(),c(t)}};i.length>o;)a(i[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)}))}},M=function(t){y.call(l,(function(){var e,i,n,r=t._v,o=B(t);if(o&&(e=w((function(){A?T.emit("unhandledRejection",r,t):(i=l.onunhandledrejection)?i({promise:t,reason:r}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",r)})),t._h=A||B(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},B=function(t){return 1!==t._h&&0===(t._a||t._c).length},D=function(t){y.call(l,(function(){var e;A?T.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},j=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),N(e,!0))},H=function(t){var e,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw C("Promise can't be resolved itself");(e=P(t))?g((function(){var n={_w:i,_d:!1};try{e.call(t,c(H,n,1),c(j,n,1))}catch(t){j.call(n,t)}})):(i._v=t,i._s=1,N(i,!1))}catch(t){j.call({_w:i,_d:!1},t)}}};_||(L=function(t){p(this,L,"Promise","_h"),f(t),n.call(this);try{t(c(H,this,1),c(j,this,1))}catch(t){j.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i(55)(L.prototype,{then:function(t,e){var i=I(v(this,L));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=A?T.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&N(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=c(H,t,1),this.reject=c(j,t,1)},b.f=I=function(t){return t===L||t===a?new o(t):r(t)}),d(d.G+d.W+d.F*!_,{Promise:L}),i(50)(L,"Promise"),i(53)("Promise"),a=i(9).Promise,d(d.S+d.F*!_,"Promise",{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),d(d.S+d.F*(s||!_),"Promise",{resolve:function(t){return E(s&&this===a?L:this,t)}}),d(d.S+d.F*!(_&&i(67)((function(t){L.all(t).catch(O)}))),"Promise",{all:function(t){var e=this,i=I(e),n=i.resolve,r=i.reject,o=w((function(){var i=[],o=0,a=1;m(t,!1,(function(t){var s=o++,l=!1;i.push(void 0),a++,e.resolve(t).then((function(t){l||(l=!0,i[s]=t,--a||n(i))}),r)})),--a||n(i)}));return o.e&&r(o.v),i.promise},race:function(t){var e=this,i=I(e),n=i.reject,r=w((function(){m(t,!1,(function(t){e.resolve(t).then(i.resolve,n)}))}));return r.e&&n(r.v),i.promise}})},function(t,e,i){"use strict";var n=i(28);function r(t){var e,i;this.promise=new t((function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n})),this.resolve=n(e),this.reject=n(i)}t.exports.f=function(t){return new r(t)}},function(t,e,i){var n=i(5),r=i(6),o=i(136);t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=o.f(t);return(0,i.resolve)(e),i.promise}},function(t,e,i){"use strict";var n=i(11).f,r=i(45),o=i(55),a=i(27),s=i(54),l=i(71),c=i(96),u=i(132),d=i(53),h=i(10),f=i(37).fastKey,p=i(49),m=h?"_s":"size",v=function(t,e){var i,n=f(e);if("F"!==n)return t._i[n];for(i=t._f;i;i=i.n)if(i.k==e)return i};t.exports={getConstructor:function(t,e,i,c){var u=t((function(t,n){s(t,u,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[m]=0,null!=n&&l(n,i,t[c],t)}));return o(u.prototype,{clear:function(){for(var t=p(this,e),i=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete i[n.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var i=p(this,e),n=v(i,t);if(n){var r=n.n,o=n.p;delete i._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),i._f==n&&(i._f=r),i._l==n&&(i._l=o),i[m]--}return!!n},forEach:function(t){p(this,e);for(var i,n=a(t,arguments.length>1?arguments[1]:void 0,3);i=i?i.n:this._f;)for(n(i.v,i.k,this);i&&i.r;)i=i.p},has:function(t){return!!v(p(this,e),t)}}),h&&n(u.prototype,"size",{get:function(){return p(this,e)[m]}}),u},def:function(t,e,i){var n,r,o=v(t,e);return o?o.v=i:(t._l=o={i:r=f(e,!0),k:e,v:i,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[m]++,"F"!==r&&(t._i[r]=o)),t},getEntry:v,setStrong:function(t,e,i){c(t,e,(function(t,i){this._t=p(t,e),this._k=i,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))}),i?"entries":"values",!i,!0),d(e)}}},function(t,e,i){"use strict";var n=i(55),r=i(37).getWeak,o=i(5),a=i(6),s=i(54),l=i(71),c=i(32),u=i(20),d=i(49),h=c(5),f=c(6),p=0,m=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},y=function(t,e){return h(t.a,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var i=y(this,t);i?i[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,i,o){var c=t((function(t,n){s(t,c,e,"_i"),t._t=e,t._i=p++,t._l=void 0,null!=n&&l(n,i,t[o],t)}));return n(c.prototype,{delete:function(t){if(!a(t))return!1;var i=r(t);return!0===i?m(d(this,e)).delete(t):i&&u(i,this._i)&&delete i[this._i]},has:function(t){if(!a(t))return!1;var i=r(t);return!0===i?m(d(this,e)).has(t):i&&u(i,this._i)}}),c},def:function(t,e,i){var n=r(o(e),!0);return!0===n?m(t).set(e,i):n[t._i]=i,t},ufstore:m}},function(t,e,i){var n=i(29),r=i(8);t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=r(e);if(e!==i)throw RangeError("Wrong length!");return i}},function(t,e,i){var n=i(46),r=i(65),o=i(5),a=i(3).Reflect;t.exports=a&&a.ownKeys||function(t){var e=n.f(o(t)),i=r.f;return i?e.concat(i(t)):e}},function(t,e,i){var n=i(8),r=i(92),o=i(34);t.exports=function(t,e,i,a){var s=String(o(t)),l=s.length,c=void 0===i?" ":String(i),u=n(e);if(u<=l||""==c)return s;var d=u-l,h=r.call(c,Math.ceil(d/c.length));return h.length>d&&(h=h.slice(0,d)),a?h+s:s+h}},function(t,e,i){var n=i(10),r=i(43),o=i(22),a=i(60).f;t.exports=function(t){return function(e){for(var i,s=o(e),l=r(s),c=l.length,u=0,d=[];c>u;)i=l[u++],n&&!a.call(s,i)||d.push(t?[i,s[i]]:s[i]);return d}}},function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports={isFunction:function(t){return"function"==typeof t},isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},each:function(t,e){for(var i=0,n=t.length;i<n&&!1!==e(t[i],i);i++);}}},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.folds=n.default.query(".acc__entry-content",this.el),this.runRecalculateHeight=null,this.body=document.getElementsByTagName("body")[0],this.body.setAttribute("data-window-width",window.innerWidth)}var e,i,r;return e=t,r=[{key:"collapse",value:function(t,e){n.default.removeClassFromSelection(t,"acc__entry-content--expanded"),n.default.addClassToSelection(t,"acc__entry-content--collapsed"),n.default.setHeight(t,0),e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true")}},{key:"expand",value:function(t,e){n.default.removeClassFromSelection(t,"acc__entry-content--collapsed"),n.default.addClassToSelection(t,"acc__entry-content--expanded"),n.default.setHeight(t),e.setAttribute("aria-expanded","true"),t.setAttribute("aria-hidden","false")}},{key:"setCurrentEntry",value:function(t,e){t.setAttribute("data-current-entry",e)}},{key:"getCurrentEntry",value:function(t){return t.getAttribute("data-current-entry")}},{key:"clickListener",value:function(e,i){i=i||!1;var n=e.target,r=n.closest('[data-comp="accordion"]'),o=n.closest(".acc__entry"),a=o.querySelector(".acc__entry-trigger"),s=o.querySelector(".acc__entry-content");"true"!==a.getAttribute("aria-expanded")||i?t.expand(s,a):t.collapse(s,a),t.setCurrentEntry(r,s.id.substring(s.id.indexOf("-")+1)),window.history.replaceState(null,document.title,"#".concat(t.getCurrentEntry(r))),e.preventDefault()}},{key:"recalculateHeight",value:function(t,e){n.default.removeClassFromSelection(t,"acc__entry-content--expanded"),n.default.addClassToSelection(t,"acc__entry-content--collapsed"),e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true"),n.default.setHeight(t);var i=parseInt(t.getAttribute("data-padding-bottom"),10),r=parseInt(t.getAttribute("data-padding-top"),10),o=parseInt(n.default.getStyle(t,"height"),10);o+=r+i,t.setAttribute("data-height",o),n.default.setHeight(t,0)}},{key:"storePaddingInDataAttr",value:function(t){t.setAttribute("data-padding-bottom",parseInt(n.default.getStyle(t,"padding-bottom"),10)),t.setAttribute("data-padding-top",parseInt(n.default.getStyle(t,"padding-top"),10))}}],(i=[{key:"recalculateHeightOnResize",value:function(e,i){var r=this;this.runRecalculateHeight=n.default.debounce((function(){parseInt(r.body.getAttribute("data-window-width"),10)!==window.innerWidth&&(r.body.setAttribute("data-window-width",window.innerWidth),t.recalculateHeight(e,i))}),500,!1),window.addEventListener("resize",this.runRecalculateHeight)}},{key:"initializeAccordion",value:function(){for(var e=0;e<this.folds.length;e++)if(1===this.folds[e].nodeType){var i=this.folds[e].parentNode.querySelector(".acc__entry-trigger");t.storePaddingInDataAttr(this.folds[e]),this.recalculateHeightOnResize(this.folds[e],i),"true"===i.getAttribute("aria-expanded")?t.expand(this.folds[e],i):t.collapse(this.folds[e],i),i.addEventListener("click",t.clickListener,!1)}}},{key:"initiallyOpenAccordion",value:function(){if(window.location.search){var e=n.default.getUrlParams().ae;if(e){t.setCurrentEntry(this.el,e);var i=n.default.query("#ae-".concat(e),this.el)[0];if(i){var r=i.parentNode.querySelector(".acc__entry-trigger");t.expand(i,r)}}}}},{key:"init",value:function(){this.initializeAccordion(),this.initiallyOpenAccordion(),this.el.addEventListener(n.default.sc().customEventNameJumpMark,(function(e){t.clickListener(e,!0)}))}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,a;return e=t,a=[{key:"loadAssets",value:function(t,e){if(t){var i=/-es5\./,n=/-es2015\./,r=document.createDocumentFragment();t.forEach((function(t){var o=e?t.name:t;switch(o.split(".").pop().toLowerCase()){case"js":if(!document.querySelectorAll('script[src$="'.concat(o,'"]')).length){var a=Object.assign(document.createElement("script"),{src:o});e?(void 0!==t.nomodule&&"true"===t.nomodule&&(void 0!==a.noModule?a.noModule=t.nomodule:a.setAttribute("nomodule","")),t.typeModule&&"true"===t.typeModule&&(a.type="module")):(i.test(o)&&(a.setAttribute("nomodule",""),a.setAttribute("defer","")),n.test(o)&&(a.type="module")),r.appendChild(a)}break;case"css":if(!document.querySelectorAll('link[href$="'.concat(o,'"]')).length){var s=Object.assign(document.createElement("link"),{rel:"stylesheet",href:o});r.appendChild(s)}}})),document.getElementsByTagName("head")[0].appendChild(r)}}}],(i=[{key:"init",value:function(){var e=this.el.querySelector("[data-dbcomponentid]");if(e){var i=e.getAttribute("data-dbassets"),o=[];if(i){var a=i.indexOf("[")>=0,s=i.indexOf("{")>=0;if(a)try{o=JSON.parse(i)}catch(t){return}else s&&(o=i.split(","));a||s?t.loadAssets(o,s):n.default.getAjax(i,(function(e){if(e){var i=null;try{i=JSON.parse(e)}catch(t){}i&&t.loadAssets(i.src,"object"===r(i.src[0]))}}))}}}}])&&o(e.prototype,i),a&&o(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t){return function(t){if(Array.isArray(t))return a(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)return;if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(t,e)}(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.config=n.default.datasetToObject({el:this.el}),this.isProperlySetup=void 0!==this.config.csvFinanzagentur&&void 0!==this.config.csvFinanzberater,t.CONSTS={agency:"agency",consultant:"consultant"},this.isProperlySetup&&(this.financialAgencies=[],this.financialConsultants=[],this.searchInput=this.el.querySelector(".berater-suche__input"),this.parent=this.el.closest(".teaser"),this.resultsWrapper=this.el.querySelector(".berater-suche__results"),null!==this.parent&&this.prepareExternalResults(),this.financialAgenciesList=this.resultsWrapper.querySelector(".finanzagenturen-list"),this.financialConsultantsList=this.resultsWrapper.querySelector(".finanzberater-list"),this.financialAgenciesWrapper=this.resultsWrapper.querySelector(".finanzagenturen"),this.financialConsultantsWrapper=this.resultsWrapper.querySelector(".finanzberater"),this.financialConsultantsCounter=this.resultsWrapper.querySelector(".finanzberater .count"),this.financialAgenciesCounter=this.resultsWrapper.querySelector(".finanzagenturen .count"),this.closeModalButton=this.resultsWrapper.querySelector(".berater-suche__results-close-button"),this.separator=this.resultsWrapper.querySelector(".berater-suche__separator"),this.minimumInputLength=2)}var e,i,r;return e=t,r=[{key:"rowClickHandler",value:function(t){var e=t.currentTarget.dataset.rowLink;e&&e.length>0&&window.open(e,"_blank")}},{key:"sortAgencyLocationNames",value:function(t){return t.sort((function(t,e){return t[3].localeCompare(e[3],"de")}))}},{key:"sortConsultantLastNames",value:function(t){return t.sort((function(t,e){return t[4].localeCompare(e[4],"de")}))}},{key:"sortByPostcode",value:function(t){return t.sort((function(t,e){return t[0]-e[0]}))}},{key:"filterConsultantResults",value:function(t,e){return t.filter((function(t){return t.some((function(t,i){if(i>4)return!1;var n=t.toLowerCase(),r=e.toLowerCase();return n.indexOf(r)>-1}))}))}},{key:"filterAgencyResults",value:function(t,e){return t.filter((function(t){return t.some((function(t,i){if(0!==i&&1!==i&&3!==i)return!1;var n=t.toLowerCase(),r=e.toLowerCase();return n.indexOf(r)>-1}))}))}}],(i=[{key:"init",value:function(){this.isProperlySetup&&(this.getCsvSuggestions(this.config.csvFinanzagentur,t.CONSTS.agency),this.getCsvSuggestions(this.config.csvFinanzberater,t.CONSTS.consultant),this.bindEvents())}},{key:"bindEvents",value:function(){var t=this;this.searchInput.addEventListener("input",(function(){t.searchInput.value.length>=t.minimumInputLength?t.displayResults(t.searchInput.value):t.hideResults()})),this.closeModalButton.addEventListener("click",(function(){t.hideResults()}))}},{key:"getCsvSuggestions",value:function(e,i){var r=this;void 0!==e&&n.default.getAjax(e,(function(e){for(var n=[],o=e.replace(/(<([^>]+)>)/gi,"").replace(/['"]+/g,"").split(/\r?\n|\r/),a=0;a<o.length;a++){var s=o[a].split(";"),l=s.filter((function(t){return""!==t}));a>0&&""!==s[0]&&n.push(l)}i===t.CONSTS.agency?r.financialAgencies=n:r.financialConsultants=n}))}},{key:"displayResults",value:function(e){null!==this.parent&&this.setResultsPosition(),this.resultsWrapper.style.display="block";var i=t.filterAgencyResults(this.financialAgencies,e),n=t.filterConsultantResults(this.financialConsultants,e),r="",a="";void 0!==i&&0!==i.length?(this.financialAgenciesWrapper.style.display="block",t.sortByPostcode(t.sortAgencyLocationNames(i)).forEach((function(t){var e='<div class="berater-suche__result-row" data-row-link="'.concat(t[4],'">\n          <div class="berater-suche__result-column berater-suche__result-row-adress">').concat(t[0]," ").concat(t[2],'</div>\n          <div class="berater-suche__result-column berater-suche__result-row-name">\n            <a target="_blank" href="').concat(t[4],'">').concat(t[3],"</a>\n          </div>\n        </div>");r+=e})),this.financialAgenciesCounter.innerHTML=i.length,this.financialAgenciesList.innerHTML=r):this.financialAgenciesWrapper.style.display="none",void 0!==n&&0!==n.length?(this.financialConsultantsWrapper.style.display="block",t.sortByPostcode(t.sortConsultantLastNames(n)).forEach((function(t){var e='<div class="berater-suche__result-row" data-row-link="'.concat(t[5],'">\n          <div class="berater-suche__result-column berater-suche__result-row-adress">').concat(t[0]," ").concat(t[2],'</div>\n          <div class="berater-suche__result-column berater-suche__result-row-name">\n            <a target="_blank" href="').concat(t[5],'">\n                <span class="berater-suche__result-consultant-first-name-mobile">').concat(t[3][0],'.</span>\n                <span class="berater-suche__result-consultant-first-name">').concat(t[3],'</span>\n                <span class="berater-suche__result-consultant-name"> ').concat(t[4],"</span>\n            </a></div>\n        </div>");a+=e})),this.financialConsultantsCounter.innerHTML=n.length,this.financialConsultantsList.innerHTML=a):this.financialConsultantsWrapper.style.display="none",0===n.length||0===i.length?this.separator.style.display="none":this.separator.style.display="block",0===n.length&&0===i.length?this.resultsWrapper.style.display="none":this.resultsWrapper.style.display="block",o(this.resultsWrapper.getElementsByClassName("berater-suche__result-row")).forEach((function(e){e.addEventListener("click",t.rowClickHandler)}))}},{key:"hideResults",value:function(){this.resultsWrapper.style.display="none",o(this.resultsWrapper.getElementsByClassName("berater-suche__result-row")).forEach((function(e){e.removeEventListener("click",t.rowClickHandler)}))}},{key:"setResultsPosition",value:function(){this.position=this.searchInput.getBoundingClientRect();var t=window.matchMedia(n.default.mq().M_BELOW).matches?0:this.position.left;this.resultsWrapper.style.left="".concat(t,"px");var e=this.position.top+this.position.height+document.documentElement.scrollTop;this.resultsWrapper.style.top="".concat(e,"px")}},{key:"prepareExternalResults",value:function(){var t="berater-suche__results-wrapper--outbox-".concat(Date.now()),e=this.resultsWrapper.cloneNode(!0);e.classList.add(t),this.resultsWrapper=e,this.parent.after(e)}}])&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(57);function o(t){return(o="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})(t)}function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.branchSearchForm=this.el.querySelector("form"),this.dataURL=this.branchSearchForm.getAttribute("data-search-url-branch")}var e,i,o;return e=t,(i=[{key:"handleBranchSearchForm",value:function(){var t=this.el.getElementsByClassName("form-submit")[0],e="".concat(n.default.getBaseUrl()).concat(this.dataURL),i=this.el.getElementsByClassName("form-textfield")[0];r.a.checkEmpty({element:i}),t&&this.branchSearchForm.addEventListener("submit",(function(t){t.preventDefault(),window.location=e+i.value})),i&&i.addEventListener("input",(function(){r.a.checkEmpty({element:i})}))}},{key:"init",value:function(){this.dataURL&&this.handleBranchSearchForm()}}])&&a(e.prototype,i),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0);function l(t){return(l="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})(t)}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==l(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===l(o)?o:String(o)),n)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.wrapperEl=e,this.swiperContainer=e.getElementsByClassName("swiper-container")[0],this.slides=e.getElementsByClassName("swiper-slide"),this.swiperOptions=this.getCarouselOptions(this.swiperContainer),this.swiperInstance=null,this.enableSkipping=window.innerWidth>s.default.bp().M-1,e.querySelectorAll(".swiper-slide--halfsize").forEach((function(t,e){e%2&&t.classList.add("swiper-slide--skip")}))}var e,i,n;return e=t,(i=[{key:"getCarouselOptions",value:function(t){var e=s.default.getSwiperA11yDE(),i={grabCursor:!0,loop:!1,roundLengths:!0,preloadImages:!0,spaceBetween:2,updateOnImagesReady:!0,slidesPerView:"auto",a11y:{prevSlideMessage:e.prevSlideMessage,nextSlideMessage:e.nextSlideMessage,firstSlideMessage:e.firstSlideMessage,lastSlideMessage:e.lastSlideMessage,paginationBulletMessage:e.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0,renderBullet:function(t,e){return this.slides[t].classList.contains("swiper-slide--skip")?'<span class="'.concat(e," ").concat(e,'--hidden"></span>'):'<span class="'.concat(e,'"></span>')}},navigation:{nextEl:this.wrapperEl.querySelector(".swiper-button-next"),prevEl:this.wrapperEl.querySelector(".swiper-button-prev")},breakpoints:{}};return t&&t.classList.contains("itc__layout--small")&&(i.spaceBetween=50,i.breakpoints[s.default.bp().M-1]={spaceBetween:10}),i}},{key:"init",value:function(){var t=this;if(!(this.slides.length<2)){this.swiperInstance=new r.a(this.swiperContainer,this.swiperOptions);var e=this.swiperInstance.slideTo,i=this;this.swiperInstance.slideTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;if(i.enableSkipping){t===this.slides.length?t=this.slides.length-1:t<0&&(t=0);var o=this.slides[t].classList.contains("swiper-slide--skip"),a=t===this.slides.length-1;t>this.activeIndex?o&&!a?t++:o&&a&&t--:o&&t>=1&&t--}e.call(this,t,n,r)},a.a.register(s.default.mq().M_BELOW,(function(){t.enableSkipping=!1,t.swiperOptions.navigation.prevEl.classList.add("hidden"),t.swiperOptions.navigation.nextEl.classList.add("hidden")})).register(s.default.mq().M_UP,(function(){t.enableSkipping=!0,t.swiperOptions.navigation.prevEl.classList.remove("hidden"),t.swiperOptions.navigation.nextEl.classList.remove("hidden")}))}}}])&&c(e.prototype,i),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=u},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0);function l(t){return(l="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})(t)}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==l(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===l(o)?o:String(o)),n)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e.getElementsByClassName("swiper-container")[0],this.config={},this.clickedSlide=0}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;if(this.el){var e=s.default.getSwiperA11yDE();switch(this.config={duration:this.el.getAttribute("data-config-duration")||6,effect:this.el.getAttribute("data-config-effect"),theme:this.el.getAttribute("data-config-theme"),offset:"-.1"},this.config.duration*=1e3,this.defaultSwiperOptions={loop:!0,grabCursor:!0,speed:1e3,autoplay:{delay:this.config.duration},a11y:{prevSlideMessage:e.prevSlideMessage,nextSlideMessage:e.nextSlideMessage,firstSlideMessage:e.firstSlideMessage,lastSlideMessage:e.lastSlideMessage,paginationBulletMessage:e.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},paginationClickable:!0,navigation:{nextEl:this.el.querySelector(".swiper-button-next"),prevEl:this.el.querySelector(".swiper-button-prev")},autoHeight:!1,init:!1,breakpoints:{}},this.config.effect){case"advanced-parallax":this.defaultSwiperOptions.effect="fade";break;default:this.defaultSwiperOptions.effect="fade"}this.createSwiperInstance(this.el),"ratio"===this.config.theme&&(a.a.register(s.default.mq().M_BELOW,(function(){t.defaultSwiperOptions.autoHeight=!0,t.createSwiperInstance(t.el)})),a.a.register(s.default.mq().M_UP,(function(){t.defaultSwiperOptions.autoHeight=!1,t.createSwiperInstance(t.el)}))),window.addEventListener("scroll",s.default.debounce((function(){var e=t.el.parentElement,i=s.default.findPos(e).top;window.pageYOffset>i+e.clientHeight?t.el.swiper.autoplay.running&&t.el.swiper.autoplay.stop():t.el.swiper.autoplay.running||t.el.swiper.autoplay.start()}),200,!1)),this.el&&(this.el.addEventListener("mouseenter",(function(){t.el.swiper.autoplay.stop()})),this.el.addEventListener("mouseleave",(function(){t.el.swiper.autoplay.start()})))}}},{key:"createSwiperInstance",value:function(t){this.swiperInstance&&this.swiperInstance.destroy(),this.swiperInstance=new r.a(t,this.defaultSwiperOptions),"advanced-parallax"===this.config.effect&&this.addSwiperCallbacks(),this.swiperInstance.init()}},{key:"addSwiperCallbacks",value:function(){var t=this;this.swiperInstance.on("progress",(function(e,i){for(var n=0;n<e.slides.length;n++){var r=e.slides[n],o=r.querySelectorAll(".swiper-content"),a=0,s=0;i=r.progress.progress,"parallax"===t.config.effect?i>0?s=(a=i*e.width)*t.config.offset:(s=Math.abs(i*e.width)*t.config.offset,a=0):i>0?s=(a=Math.abs(i*e.width))*t.config.offset:(s=i*e.width*t.config.offset,a=-1*e.width),r.style.webkitTransform="translate3d(".concat(a,"px,0,0)"),r.style.msTransform="translate3d(".concat(a,"px,0,0)"),r.style.transform="translate3d(".concat(a,"px,0,0)"),o[0].style.webkitTransform="translate3d(".concat(s,"px,0,0)"),o[0].style.msTransform="translate3d(".concat(s,"px,0,0)"),o[0].style.transform="translate3d(".concat(s,"px,0,0)")}})),this.swiperInstance.on("setTransition",(function(e,i){var n;for(n=0;n<e.slides.length;n++){var r=e.slides[n],o=r.querySelectorAll(".swiper-content"),a=o[0].querySelectorAll(".swiper-content-teaser");"parallax"===t.config.effect?(r.classList.contains("swiper-slide-active")&&(r.style.opacity=1),e.slides[e.activeIndex].style.opacity=1):r.classList.contains("swiper-slide-active")?r.style.opacity=1:r.style.opacity=0,r.style.transition="".concat(i,"ms ease, opacity 0ms"),o[0].style.transition="".concat(i,"ms ease"),a[0].style.transition="".concat(1.3*i,"ms ease")}}))}}])&&c(e.prototype,i),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=u},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0);function l(t){return(l="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})(t)}function c(t){return function(t){if(Array.isArray(t))return u(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)return;if("string"==typeof t)return u(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return u(t,e)}(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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==l(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===l(o)?o:String(o)),n)}var r,o}var h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.swiperContainer=this.el.getElementsByClassName("swiper-container")[0],this.config={},this.$navIcons=c(this.el.getElementsByClassName("stage-nav__icon-wrapper")),this.stageImages=null}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;if(this.$navIcons&&this.$navIcons.forEach((function(t){s.default.loadSVG(t)})),this.stageImages=this.el.getElementsByClassName("stage-common__media--image"),a.a.register(s.default.mq().M_BELOW,{match:function(){t.setImageSrc("data-media-src-mobile")}}),a.a.register(s.default.mq().M_UP,{match:function(){window.MobileEsp.isMobilePhone?t.setImageSrc("data-media-src-mobile"):t.setImageSrc()}}),this.swiperContainer){var e=s.default.getSwiperA11yDE();this.config={duration:this.swiperContainer.getAttribute("data-config-duration")||6,offset:"-.1"},this.config.duration*=1e3,this.defaultSwiperOptions={loop:!0,effect:"fade",grabCursor:!0,speed:1e3,autoplay:{delay:this.config.duration},a11y:{prevSlideMessage:e.prevSlideMessage,nextSlideMessage:e.nextSlideMessage,firstSlideMessage:e.firstSlideMessage,lastSlideMessage:e.lastSlideMessage,paginationBulletMessage:e.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},navigation:{nextEl:this.swiperContainer.querySelector(".swiper-button-next"),prevEl:this.swiperContainer.querySelector(".swiper-button-prev")},autoHeight:!1,init:!1,breakpoints:{}},this.createSwiperInstance(this.swiperContainer),window.addEventListener("scroll",s.default.debounce((function(){var e=t.swiperContainer.parentElement,i=s.default.findPos(e).top;window.pageYOffset>i+e.clientHeight?t.swiperContainer.swiper.autoplay.running&&t.swiperContainer.swiper.autoplay.stop():t.swiperContainer.swiper.autoplay.running||t.swiperContainer.swiper.autoplay.start()}),200,!1)),this.swiperContainer&&(this.swiperContainer.addEventListener("mouseenter",(function(){t.swiperContainer.swiper.autoplay.stop()})),this.swiperContainer.addEventListener("mouseleave",(function(){t.swiperContainer.swiper.autoplay.start()})))}}},{key:"setImageSrc",value:function(t){t=t||"data-media-src",this.stageImages&&this.stageImages.forEach((function(e){e.src=e.getAttribute(t)}))}},{key:"createSwiperInstance",value:function(t){this.swiperInstance&&this.swiperInstance.destroy(),this.swiperInstance=new r.a(t,this.defaultSwiperOptions),this.swiperInstance.init()}}])&&d(e.prototype,i),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=h},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0);function l(t){return(l="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})(t)}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==l(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===l(o)?o:String(o)),n)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.stageContainer=e.getElementsByClassName("swiper-container")[0],this.config={},this.stageImages=null}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;if(this.stageImages=this.el.getElementsByClassName("stage-common__media--image"),a.a.register(s.default.mq().M_BELOW,{match:function(){t.setImageSrc("data-media-src-mobile")},unmatch:function(){t.setImageSrc()}}),a.a.register(s.default.mq().M_UP,{match:function(){window.db.isMobile?t.setImageSrc("data-media-src-mobile"):t.setImageSrc()},unmatch:function(){t.setImageSrc("data-media-src-mobile")}}),this.stageContainer){var e=s.default.getSwiperA11yDE();this.config={duration:6e3,theme:this.stageContainer.getAttribute("data-config-theme")},this.defaultSwiperOptions={loop:!0,grabCursor:!0,speed:1e3,effect:"slide",autoplay:{delay:this.config.duration,disableOnInteraction:!1},a11y:{prevSlideMessage:e.prevSlideMessage,nextSlideMessage:e.nextSlideMessage,firstSlideMessage:e.firstSlideMessage,lastSlideMessage:e.lastSlideMessage,paginationBulletMessage:e.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},paginationClickable:!0,navigation:{nextEl:this.stageContainer.querySelector(".swiper-button-next"),prevEl:this.stageContainer.querySelector(".swiper-button-prev")},autoHeight:!1,init:!1,breakpoints:{}},this.createSwiperInstance(this.stageContainer),window.addEventListener("scroll",s.default.debounce((function(){var e=t.stageContainer.parentElement,i=s.default.findPos(e).top;window.pageYOffset>i+e.clientHeight?t.stageContainer.swiper.autoplay.running&&t.stageContainer.swiper.autoplay.stop():t.stageContainer.swiper.autoplay.running||t.stageContainer.swiper.autoplay.start()}),200,!1)),this.stageContainer&&(this.stageContainer.addEventListener("mouseenter",(function(){t.stageContainer.swiper.autoplay.stop()})),this.stageContainer.addEventListener("mouseleave",(function(){t.stageContainer.swiper.autoplay.start()}))),window.addEventListener("resize",(function(){t.handleBadges()})),this.handleBadges()}}},{key:"createSwiperInstance",value:function(t){this.swiperInstance&&this.swiperInstance.destroy(),this.swiperInstance=new r.a(t,this.defaultSwiperOptions),this.swiperInstance.init()}},{key:"setImageSrc",value:function(t){t=t||"data-media-src",this.stageImages&&this.stageImages.forEach((function(e){e.style.backgroundImage="url(".concat(e.getAttribute(t),")")}))}},{key:"handleBadges",value:function(){"norisbank"!==document.body.dataset.tenantid&&this.el.querySelectorAll(".standardResponsiveBadge").forEach((function(t){var e=t.querySelector(".standardResponsiveBadge_wrapper"),i=e.querySelector(".standardResponsiveBadge_mainContainer"),n=t.parentElement.parentElement.parentElement,r=n.parentElement.parentElement;if(window.innerWidth<768)e.style.bottom="".concat(n.parentElement.offsetHeight+24,"px"),e.style.top="auto";else{var o=(r.offsetHeight-n.offsetHeight)/2-22;if(o<i.offsetHeight){var a="".concat(2*(i.offsetHeight-o),"px");n.style.marginTop=a}else"deutschebank"===document.body.dataset.tenantid?e.style.top="2px":e.style.top="0px"}}))}}])&&c(e.prototype,i),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=u},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0);function l(t){return(l="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})(t)}function c(t){return function(t){if(Array.isArray(t))return u(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)return;if("string"==typeof t)return u(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return u(t,e)}(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 u(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==l(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===l(o)?o:String(o)),n)}var r,o}var h=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e.querySelector(".swiper-container"),this.swiperStatus=this.el.getAttribute("data-status"),"on"===this.swiperStatus&&(this.carouselElements=this.el.getElementsByClassName("carousel-tile-teaser")),this.swiperInstance=null}var e,i,n;return e=t,n=[{key:"showHidePagination",value:function(t,e,i){switch(i){case"center":case"stacked":break;case"left":1===e&&t.classList.add("hidden"),3===e&&a.a.register(s.default.mq().L_BELOW,(function(){t.classList.remove("hidden")})).register(s.default.mq().L_MIN,(function(){t.classList.add("hidden")}));break;case"square":e<=2&&a.a.register(s.default.mq().M_BELOW,(function(){t.classList.remove("hidden")})).register(s.default.mq().M_MIN,(function(){t.classList.add("hidden")})),3===e&&a.a.register(s.default.mq().M_BELOW,(function(){t.classList.remove("hidden")})).register(s.default.mq().M_MIN,(function(){t.classList.add("hidden")}));break;case"envelope":e<=4&&a.a.register(s.default.mq().L_BELOW,(function(){t.classList.remove("hidden")})).register(s.default.mq().L_MIN,(function(){t.classList.add("hidden")}))}}},{key:"showHidePrevNextButtons",value:function(t,e,i){t>1&&a.a.register(s.default.mq().M_BELOW,(function(){e.classList.add("hidden"),i.classList.add("hidden")})).register(s.default.mq().M_MIN,(function(){e.classList.remove("hidden"),i.classList.remove("hidden")}))}},{key:"equalizeTileHeight",value:function(t){var e,i=t,n=0,r=0;if(i&&i.length>0){for(r=i.length,e=0;e<r;e++)i[e].style.height="";setTimeout((function(){for(e=0;e<r;e++)i[e].clientHeight>n&&(n=i[e].clientHeight);for(e=0;e<r;e++)i[e].style.height="".concat(n,"px")}),0)}}},{key:"envelopeEqualizeHeight",value:function(e){var i=e.headers,n=void 0===i?null:i,r=e.containers,o=void 0===r?null:r,a=e.slides,l=void 0===a?null:a;if(n&&o&&l){s.default.equalizeHeight(n);var u=t.calculateEnvelopeVisibleSize(n,o,l);c(o).forEach((function(t){t.style.top="".concat(u,"px")}))}}},{key:"calculateEnvelopeVisibleSize",value:function(t,e,i){var n=t[0].getBoundingClientRect().height;return i[0].getBoundingClientRect().width-(n+2*parseInt(/(\d+)/.exec(window.getComputedStyle(e[0]).paddingTop)[1],10))}},{key:"closeEnvelopes",value:function(t,e){if(t&&t.length>0)for(var i=0;i<t.length;i++)t[i].classList.remove(e)}}],(i=[{key:"getSwiperParameters",value:function(t,e){var i=s.default.getSwiperA11yDE(),n={grabCursor:!0,loop:!1,roundLengths:!0,setWrapperSize:!0,spaceBetween:2,slidesPerView:4,speed:1e3,watchSlidesProgress:!0,preloadImages:!0,updateOnImagesReady:!0,a11y:{prevSlideMessage:i.prevSlideMessage,nextSlideMessage:i.nextSlideMessage,firstSlideMessage:i.firstSlideMessage,lastSlideMessage:i.lastSlideMessage,paginationBulletMessage:i.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:this.el.querySelector(".swiper-button-next"),prevEl:this.el.querySelector(".swiper-button-prev")},breakpoints:{}};switch(t){case"center":case"stacked":break;case"envelope":n.breakpoints[s.default.bp().S-1]={slidesPerView:1},n.breakpoints[s.default.bp().L-1]={slidesPerView:2};break;case"left":n.slidesPerView=3,n.breakpoints[s.default.bp().S-1]={slidesPerView:1},n.breakpoints[s.default.bp().L-1]={slidesPerView:2};break;case"square":n.slidesPerView=3,n.breakpoints[s.default.bp().M-1]={slidesPerView:1},2===e&&(n.slidesPerView=2)}return n}},{key:"checkForImageReadiness",value:function(e,i,n){i===this.tileTeaserImagesLoaded&&(s.default.removeClassFromSelection(n,"ctt__footer--js-absolute"),t.equalizeTileHeight(e),s.default.addClassToSelection(n,"ctt__footer--js-absolute"))}},{key:"initEnvelope",value:function(){var e=this;this.slidesHeader=this.el.querySelectorAll(".ctt__header"),this.slidesContainer=this.el.querySelectorAll(".ctt__container"),this.slides=s.default.query(".ctt",this.el);var i="ctt--animate",n="mouseenter";t.envelopeEqualizeHeight({headers:this.slidesHeader,containers:this.slidesContainer,slides:this.slides}),window.db.isMobile&&(n="click",i="ctt--animate-mobile");var r=function(n){var r=n.target.closest(".ctt");r&&!r.classList.contains(i)?(t.closeEnvelopes(e.slides,i),r.classList.add(i)):window.db.isMobile&&r&&r.classList.remove(i)},o=function(t){var e=t.target.closest(".ctt");e&&e.classList.remove(i)};this.slides.forEach((function(t){t.addEventListener(n,r),window.db.isMobile||t.addEventListener("mouseleave",o)}))}},{key:"invokeSwiper",value:function(){var e=this,i=this.el.getAttribute("data-tile-skin"),n=this.el.querySelectorAll(".swiper-slide").length,o=this.el.querySelector(".swiper-pagination"),a=this.el.querySelector(".swiper-button-prev"),l=this.el.querySelector(".swiper-button-next"),c=this.el.querySelectorAll(".ctt__footer"),u=this.getSwiperParameters(i,n);if("center"!==i&&"stacked"!==i&&(n>=2&&(this.swiperInstance=new r.a(this.el,u)),"envelope"===i&&this.initEnvelope(),t.showHidePagination(o,n,i),t.showHidePrevNextButtons(n,a,l)),"left"===i){var d=this.el.querySelectorAll("img");if(this.tileTeaserImagesLoaded=0,d.length>0)for(var h=0;h<d.length;h++)d[h].addEventListener("load",(function(){e.tileTeaserImagesLoaded++,e.checkForImageReadiness(e.carouselElements,d.length,c)}));setTimeout((function(){s.default.removeClassFromSelection(c,"ctt__footer--js-absolute"),(d.length<=0||d.length===e.tileTeaserImagesLoaded)&&t.equalizeTileHeight(e.carouselElements),s.default.addClassToSelection(c,"ctt__footer--js-absolute")}),0)}var f=s.default.debounce((function(){null!==e.swiperInstance&&(e.swiperInstance.update(),"envelope"===i&&t.envelopeEqualizeHeight({headers:e.slidesHeader,containers:e.slidesContainer,slides:e.slides})),"left"===i&&(s.default.removeClassFromSelection(c,"ctt__footer--js-absolute"),t.equalizeTileHeight(e.carouselElements),s.default.addClassToSelection(c,"ctt__footer--js-absolute"))}),1e3);window.addEventListener("resize",f)}},{key:"init",value:function(){"on"===this.swiperStatus&&this.invokeSwiper()}}])&&d(e.prototype,i),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=h},function(t,e,i){"use strict";i.r(e);var n=i(23),r=i.n(n),o=i(0),a=i(76);function s(t){return(s="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})(t)}function l(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach((function(e){u(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function u(t,e,i){return(e=p(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function d(t){return function(t){if(Array.isArray(t))return h(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)return;if("string"==typeof t)return h(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return h(t,e)}(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 h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function f(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,p(n.key),n)}}function p(t){var e=function(t,e){if("object"!==s(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===s(e)?e:String(e)}var m=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.arrowNavPrev=this.el.querySelector(".swiper-button-prev"),this.arrowNavNext=this.el.querySelector(".swiper-button-next"),this.table=this.el.querySelector("table"),this.table&&(this.tbody=this.table.querySelector("tbody"),this.thead=this.table.querySelector("thead"),this.colsAmount=this.table.querySelector("tr").children.length),this.STATE={sticky:"ct-sticky-header--sticky",navSticky:"swiper-button--sticky"},this.$tablesSeparator=this.el.querySelector(".ct-separator"),this.visibleColsAmount=null,this.currentIndex=null,this.isMobilePhone=null,this.stickyTable=null,this.contentWidth=null,this.singleColWidth=null,this.navigationStatus=null,this.CONST={ARROWNAVOFF:"swiper-button-disabled",BULLETNAVACT:"swiper-pagination-bullet-active",CTORIGIN:"ct-origin",CTGHOST:"ct-ghost",MINCOLWIDTH:this.el.dataset.minColWidth,MINCOLS:2},this.stickyHeaderResponsiveDimensions={headerWidth:0,headerPaddingLeft:0,headerWrapperWidth:0,headerCellWidth:0},this.onScroll=this.onScroll.bind(this)}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;this.table&&(this.table.addEventListener("build",(function(){t.reInitTables(),t.createStickyHeader(),t.createStickyTable(),t.setSeparatorBackgroundColor()})),this.setSwiperNavigationColorOnDarkMode(),this.initTitleAttribute(),this.table.classList.add(this.CONST.CTORIGIN),this.currentIndex=parseInt(this.el.dataset.currentIndex,10),this.currentIndex<0&&(this.currentIndex=0),this.createStickyHeader(),this.createStickyTable(),this.reInitTables(),this.setSeparatorBackgroundColor(),window.db.isMobile?this.bindMobileEvents():this.bindDesktopEvents(),window.addEventListener("resize",(function(){o.default.debounce(t.reInitTables(),200)})),document.addEventListener("DOMContentLoaded",(function(){t.setStickyTableDimensions(),t.setSeparatorDimensions()})),window.db.General.stickyHelper.registerSticky(this.thead,o.default.noop,this.STATE.sticky,this.stickyHeader),window.addEventListener("scroll",this.onScroll))}},{key:"setSwiperNavigationColorOnDarkMode",value:function(){var t=document.querySelector("body[class*=theme-one--color-]");if(t){var e=window.getComputedStyle(t).backgroundColor;this.arrowNavNext.style.color=e,this.arrowNavPrev.style.color=e}}},{key:"createStickyHeader",value:function(){if(!this.el.querySelector(".ct-sticky-header")){var t=document.createElement("div");t.classList.add("ct-sticky-header");var e=document.createElement("div");e.classList.add("ct-sticky-header-wrapper");var i=document.createElement("table"),n=document.createElement("thead"),r=this.thead.querySelector("tr").cloneNode(!0);n.appendChild(r),i.appendChild(n),e.appendChild(i),t.appendChild(e);var o=document.querySelector("body[class*=theme-one--color-]");o&&(t.style.color=window.getComputedStyle(o).backgroundColor),this.stickyHeader=t,this.stickyHeaderWrapper=e,this.stickyHeaderTable=i,this.table.parentNode.insertBefore(t,null)}}},{key:"setStickyHeaderDimensions",value:function(){this.stickyHeaderTable.querySelector(".ct-cell").removeAttribute("style");var t=this.stickyHeaderResponsiveDimensions.headerCellWidth,e=d(this.stickyHeader.querySelectorAll("th"));e.forEach((function(e){e.style.width="".concat(t,"px")})),"function"!=typeof window.MouseEvent&&o.default.equalizeHeight(e)}},{key:"moveStickyHeaderTo",value:function(t){var e=this.stickyHeaderResponsiveDimensions.headerCellWidth;this.stickyHeaderTable.style.transform="translate(".concat(-1*e*t,"px, 0)")}},{key:"deleteStickyHeader",value:function(){this.stickyHeader.classList.remove(this.STATE.sticky),this.arrowNavNext.classList.remove(this.STATE.navSticky),this.arrowNavPrev.classList.remove(this.STATE.navSticky),this.stickyHeader.style.top="0px",this.arrowNavNext.style.top="0px",this.arrowNavPrev.style.top="0px"}},{key:"setStickyHeaderWidth",value:function(){var t=this.stickyHeaderResponsiveDimensions,e=t.headerWidth,i=t.headerPaddingLeft,n=t.headerWrapperWidth;this.stickyHeader.style.width="".concat(e,"px"),this.stickyHeader.style.paddingLeft="".concat(i,"px"),this.stickyHeaderWrapper.style.width="".concat(n,"px")}},{key:"setStickyHeader",value:function(t){this.stickyHeader.classList.add(this.STATE.sticky),this.arrowNavNext.classList.add(this.STATE.navSticky),this.arrowNavPrev.classList.add(this.STATE.navSticky),this.stickyHeader.style.top="".concat(t,"px"),this.arrowNavNext.style.top="".concat(t,"px"),this.arrowNavPrev.style.top="".concat(t,"px")}},{key:"initStickyHeaderDimensions",value:function(){window.innerWidth>=o.default.bp().M?this.stickyHeaderResponsiveDimensions=c(c({},this.stickyHeaderResponsiveDimensions),{headerWidth:this.el.clientWidth,headerPaddingLeft:this.singleColWidth,headerWrapperWidth:this.el.clientWidth-this.singleColWidth,headerCellWidth:this.singleColWidth}):this.stickyHeaderResponsiveDimensions=c(c({},this.stickyHeaderResponsiveDimensions),{headerWidth:window.innerWidth,headerPaddingLeft:0,headerWrapperWidth:window.innerWidth,headerCellWidth:window.innerWidth})}},{key:"setStickyHeaderNavigationPosition",value:function(){var t=this.el.getBoundingClientRect();window.innerWidth>=o.default.bp().M&&(this.arrowNavNext.style.left="".concat(t.right-this.arrowNavNext.clientWidth,"px")),this.arrowNavPrev.style.left="".concat(t.left+this.singleColWidth,"px")}},{key:"onScroll",value:function(){var t=o.default.findPos(this.thead).top,e=this.table.clientHeight,i=this.stickyHeader.clientHeight,n=window.db.General.stickyHelper.getFixedElementsHeights(this.thead);window.pageYOffset>t-n&&window.pageYOffset<=t-n+e-i?(this.setStickyHeaderWidth(),this.setStickyHeader(n),this.setStickyHeaderNavigationPosition()):(this.deleteStickyHeader(),this.setPreviousButtonAlignment(),this.setNextButtonAlignment())}},{key:"initTitleAttribute",value:function(){d(this.el.querySelectorAll("tbody td")).forEach((function(t){var e=t.parentNode.querySelector("th"),i="";e&&(i=e.innerText),t.dataset.title=i}))}},{key:"initVariables",value:function(){var t=window.getComputedStyle(this.el);this.contentWidth=this.el.clientWidth-parseInt(t.paddingLeft,10)-parseInt(t.paddingRight,10);var e=window.innerWidth<o.default.bp().M;this.visibleColsAmount=e?1:this.calcVisibleColsAmount(),this.singleColWidth=this.calcSingleColWidth(),this.navigationStatus=this.validateNavigation()}},{key:"reInitTables",value:function(){this.initVariables(),this.setTableDimensions(),this.setSeparatorDimensions(),this.validateArrowNavVisibility(),this.setCorrectIndex(),this.moveTableTo(this.currentIndex),this.setStickyTableDimensions(),this.initStickyHeaderDimensions(),this.setStickyHeaderDimensions(),this.setStickyHeaderWidth(),this.setStickyHeaderNavigationPosition(),this.moveStickyHeaderTo(this.currentIndex),window.innerWidth>=o.default.bp().M&&(this.setPreviousButtonAlignment(),this.setNextButtonAlignment())}},{key:"bindMobileEvents",value:function(){this.setupHammer(this.el),this.arrowNavigationEvents()}},{key:"bindDesktopEvents",value:function(){this.arrowNavigationEvents()}},{key:"setSeparatorDimensions",value:function(){this.$tablesSeparator.style.width="".concat(this.singleColWidth+8,"px"),this.$tablesSeparator.style.height="".concat(this.table.clientHeight+8,"px")}},{key:"setSeparatorBackgroundColor",value:function(){try{var t=this.$tablesSeparator.closest('[class*=" theme-"]:not(.theme--transparent)');if(t){var e=window.getComputedStyle(t).backgroundColor;this.$tablesSeparator.style.backgroundColor=e}}catch(t){}}},{key:"setupHammer",value:function(t){var e=this,i=new r.a(t);i.get("swipe").set({direction:r.a.DIRECTION_HORIZONTAL}),i.on("swipeleft",(function(){e.navigationStatus.next&&e.initMoveTableTo()})),i.on("swiperight",(function(){e.navigationStatus.prev&&e.initMoveTableTo("prev")}))}},{key:"arrowNavigationEvents",value:function(){var t=this;this.arrowNavNext.addEventListener("click",(function(){t.initMoveTableTo()})),this.arrowNavPrev.addEventListener("click",(function(){t.initMoveTableTo("prev")}))}},{key:"validateNavigation",value:function(){var t=!0,e=!0,i=window.innerWidth<o.default.bp().M;return(!i&&this.currentIndex+this.visibleColsAmount>=this.colsAmount||i&&this.currentIndex+this.visibleColsAmount>=this.colsAmount-1)&&(t=!1),this.currentIndex<1&&(e=!1),{next:t,prev:e}}},{key:"validateArrowNavVisibility",value:function(){this.navigationStatus.next?this.arrowNavNext.classList.remove(this.CONST.ARROWNAVOFF):this.arrowNavNext.classList.add(this.CONST.ARROWNAVOFF),this.navigationStatus.prev?this.arrowNavPrev.classList.remove(this.CONST.ARROWNAVOFF):this.arrowNavPrev.classList.add(this.CONST.ARROWNAVOFF)}},{key:"setCorrectIndex",value:function(){if(this.visibleColsAmount+this.currentIndex>this.colsAmount){var t=this.visibleColsAmount+this.currentIndex-this.colsAmount;this.setCurrentIndex(this.currentIndex-t)}}},{key:"initMoveTableTo",value:function(t){var e="prev"===t?-1:1,i=this.currentIndex+e;this.moveTableTo(i),this.moveStickyHeaderTo(i)}},{key:"moveTableTo",value:function(t){this.table.style.transform="translate(".concat(-1*this.singleColWidth*t,"px, 0)"),this.setCurrentIndex(t),this.navigationStatus=this.validateNavigation(),this.validateArrowNavVisibility(),this.el.querySelectorAll(".swiper-pagination").length&&this.setActiveBullet()}},{key:"setActiveBullet",value:function(){var t=this.el.querySelectorAll(".swiper-pagination .swiper-pagination-bullet");o.default.removeClassFromSelection(t,this.CONST.BULLETNAVACT),void 0!==t[this.currentIndex]&&t[this.currentIndex].classList.add(this.CONST.BULLETNAVACT)}},{key:"setCurrentIndex",value:function(t){this.el.dataset.currentIndex=t,this.currentIndex=t}},{key:"createStickyTable",value:function(){if(!this.el.querySelector(".".concat(this.CONST.CTGHOST))){var t=this.tbody.querySelectorAll("th"),e=[];[this.table.querySelector("tr").firstElementChild].concat(d(t)).forEach((function(t){if(null!==t){var i=t.cloneNode(!0);d(i.querySelectorAll(".tooltip")).forEach((function(t){new a.default(t).init()})),i.removeAttribute("scope"),e.push(i)}}));var i=document.createElement("table");i.setAttribute("aria-hidden",!0),i.classList.add(this.CONST.CTGHOST);for(var n=document.createElement("thead"),r=document.createElement("tr"),o=0;o<e.length;o++)r.appendChild(e[o]);n.appendChild(r),i.appendChild(n),this.stickyTable=i,this.table.parentNode.parentNode.insertBefore(this.stickyTable,this.table.parentNode)}}},{key:"setStickyTableDimensions",value:function(){var t=[];d(this.table.querySelectorAll("tr")).forEach((function(e){t.push(e.clientHeight)})),d(this.stickyTable.querySelectorAll("th")).forEach((function(e,i){e.style.height="".concat(t[i],"px")})),this.stickyTable.style.width="".concat(this.singleColWidth,"px")}},{key:"setPreviousButtonAlignment",value:function(){var t=parseInt(window.getComputedStyle(this.el).paddingLeft,10);this.arrowNavPrev.style.left="".concat(this.singleColWidth+t,"px")}},{key:"setNextButtonAlignment",value:function(){var t=parseInt(window.getComputedStyle(this.el).paddingRight,10);this.arrowNavNext.style.right="".concat(t,"px"),this.arrowNavNext.style.left=""}},{key:"setTableDimensions",value:function(){for(var t=this.table.querySelectorAll("tr"),e=0;e<t.length;e++)for(var i=t[e].childNodes,n=0;n<i.length;n++){var r=i[n];o.default.nodeCheck(r)&&(r.style.width="".concat(this.singleColWidth,"px"))}}},{key:"calcVisibleColsAmount",value:function(){var t=Math.floor(this.contentWidth/this.CONST.MINCOLWIDTH);return(t=t<this.CONST.MINCOLS?this.CONST.MINCOLS:t)>this.colsAmount&&(t=this.colsAmount),t}},{key:"calcSingleColWidth",value:function(){return Math.floor(this.contentWidth/this.visibleColsAmount)}}])&&f(e.prototype,i),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=m},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(81),o=i(16);function a(t){return(a="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})(t)}function s(t){return function(t){if(Array.isArray(t))return l(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)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var u=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.onScroll=this.onScroll.bind(this),this.onResize=this.onResize.bind(this),this.onDragStart=this.onDragStart.bind(this),this.onDragEnd=this.onDragEnd.bind(this),this.onDrag=this.onDrag.bind(this),this.slideTo=this.slideTo.bind(this),this.slideNext=this.slideNext.bind(this),this.slidePrev=this.slidePrev.bind(this),this.toggleDropdown=this.toggleDropdown.bind(this),this.onDropdownArrowClicked=this.onDropdownArrowClicked.bind(this),this.state={ACTIVE_ITEM:"content-nav__item--active",BUTTON_DISABLED:"content-nav__control--disabled",STUCK:"content-nav__sticky--stuck",SHOW_ARROWS:"content-nav__controls--show",STICKY_BUTTON_AVAILABLE:"sticky-button--available",STICKY_BUTTON_ENABLED:"sticky-button--enabled",STICKY_BUTTON_DISARMED:"sticky-button--disarmed",DROPDOWN_OPENED:"dropdown-opened",HIDE_DROPDOWN_LINK:"content-nav__dropdown-link--hide",SELECTED_OPTION_ACTIVE:"content-nav__selected-option--active",SELECTED_OPTION_LINK_ACTIVE:"content-nav__dropdown-link--active",STICK_TO_MAIN_NAVI:"content-nav__stick-to-main-nav"},this.activeDropdownOptionIndex=0,this.afterScrollTimer=null,this.positionFuzzyOffset=5,this.targets=[],this.itemsTotalWidth=0,this.stickyEl=e,this.pageHeader=document.getElementById("header-area"),this.elControls=e.getElementsByClassName("content-nav__controls")[0],this.prevBtn=e.getElementsByClassName("content-nav__control--prev")[0],this.nextBtn=e.getElementsByClassName("content-nav__control--next")[0],this.sliderWrapper=e.getElementsByClassName("content-nav__slider")[0],this.slidingEl=e.getElementsByClassName("content-nav__list")[0],this.isAutoHighlighting=!0,this.isStickingToMainNavi=this.stickyEl.classList.contains(this.state.STICK_TO_MAIN_NAVI)&&window.matchMedia(n.default.mq().M_BELOW).matches,this.items=s(e.getElementsByClassName("content-nav__item")).filter((function(t,e){var n=t.getAttribute("data-link");if(n){if(0!==n.indexOf("#"))return i.isAutoHighlighting=!1,i.targets.push(null),t.classList.contains(i.state.ACTIVE_ITEM)&&(i.activeDropdownOptionIndex=e+1),t;var r=n.replace(/#|\s/g,""),o=r?document.getElementById(r):null;if(o)return i.targets.push(o),t;t.parentNode.removeChild(t)}return!1})),this.itemsCount=this.items.length,this.stickyCNButton=e.getElementsByClassName("content-nav__sticky-button"),this.stickyCNButton&&(this.stickyCNButton=this.stickyCNButton[0]),this.stickyButton=document.getElementsByClassName("calltoaction--sticky-trigger"),this.stickyButton&&(this.stickyButton=this.stickyButton[0]),this.footer=document.getElementsByClassName("footer-area")[0],this.$dropdown=e.getElementsByClassName("content-nav__dropdown-wrapper")[0],this.$dropdown&&(this.$dropdownArrow=this.$dropdown.getElementsByClassName("content-nav__dropdown-icon")[0],this.$dropdownList=this.$dropdown.getElementsByClassName("content-nav__dropdown-list")[0],this.$dropdownLinks=s(this.$dropdown.getElementsByClassName("content-nav__dropdown-link")),this.$dropdownActiveOption=this.$dropdown.getElementsByClassName("content-nav__selected-option")[0]),this.evtClick="click",this.evtStart="mousedown",this.evtMove="mousemove",this.evtEnd="mouseup",window.db.isMobile&&(this.evtStart="touchstart",this.evtMove="touchmove",this.evtEnd="touchend"),this.setupStickingToMainNavi(),this.spacingTop=0,this.sliderMarginTop=this.getSliderTopMargin(),this.docked=!1,this.sliderLeftOffset=this.sliderWrapper?this.sliderWrapper.getBoundingClientRect().left:0,this.slideThreshold=50,this.shouldFollowScroll=!0,this.selectedIndex=-1,this.scrolledIndex=-1,this.isDropdownOpened=!1,this.stickyCNButton&&document.body.classList.add(this.state.STICKY_BUTTON_AVAILABLE);var r=this.stickyEl.previousElementSibling;r&&r.classList.contains("content-nav__placeholder")&&this.stickyEl.parentNode.removeChild(this.stickyEl.previousElementSibling),this.stickyPlaceholderEl=document.createElement("div"),this.stickyPlaceholderEl.classList.add("content-nav__placeholder"),this.stickyPlaceholderEl.style.marginTop="".concat(this.sliderMarginTop,"px"),this.stickyEl.parentNode.insertBefore(this.stickyPlaceholderEl,this.stickyEl)}var e,i,a;return e=t,a=[{key:"collectElementsPositions",value:function(t){return t.map((function(t){var e=t?n.default.findPos(t).top:null;return{in:e,out:t?e+t.offsetHeight:null}}))}}],(i=[{key:"init",value:function(){var t=this;window.db.General.stickyHelper.registerSticky(this.stickyEl,(function(){if(t.isStickingToMainNavi){if(t.pageHeader.classList.contains("header-area--nav-open-mobile"))return void t.undock();t.docked=!1}t.updateOffsetsAndPositions(),t.docked?t.dock():t.undock()}),this.state.STUCK),window.addEventListener("scroll",this.onScroll),window.addEventListener("resize",n.default.debounce(this.onResize,500,!1)),this.nextBtn&&this.prevBtn&&(this.elControls.addEventListener(this.evtClick,(function(e){if(!t.dragging){var i=t.items.indexOf(e.target);-1!==i&&(t.selectedIndex=i,t.scrolledIndex=i,t.slideTo(i))}})),this.nextBtn.addEventListener(this.evtClick,this.slideNext),this.prevBtn.addEventListener(this.evtClick,this.slidePrev)),this.$dropdownArrow.addEventListener(this.evtClick,this.onDropdownArrowClicked),this.isAutoHighlighting&&this.$dropdownLinks.forEach((function(e,i){e.addEventListener(t.evtClick,(function(e){return t.onDropdownItemClicked(e,i)}))})),this.onResize()}},{key:"onDropdownArrowClicked",value:function(){this.isDropdownOpened?this.closeDropdown():this.openDropdown(),this.toggleIsDropdownOpened()}},{key:"toggleIsDropdownOpened",value:function(){this.isDropdownOpened=!this.isDropdownOpened}},{key:"updateActiveSelectLinkAttributes",value:function(t){this.$dropdownActiveOption.innerHTML=t.innerText,this.$dropdownActiveOption.href=t.href,this.$dropdownActiveOption.dataset.href=t.dataset.href}},{key:"onDropdownItemClicked",value:function(t,e){t.preventDefault(),this.isDropdownOpened&&(this.activeDropdownOptionIndex=e,this.closeDropdown(),this.toggleIsDropdownOpened())}},{key:"openDropdown",value:function(){var t=this.$dropdownLinks[1];this.updateActiveSelectLinkAttributes(t),this.updateSelectedOptionActiveState(1===this.activeDropdownOptionIndex),this.toggleActiveDropdownOption(t),this.updateDropdownLinkActiveState(),this.toggleDropdown()}},{key:"updateSelectedOptionActiveState",value:function(t){t?this.$dropdownActiveOption.classList.add(this.state.SELECTED_OPTION_ACTIVE):this.$dropdownActiveOption.classList.remove(this.state.SELECTED_OPTION_ACTIVE)}},{key:"updateDropdownLinkActiveState",value:function(){var t=this;this.$dropdownLinks.forEach((function(e){e.classList.remove(t.state.SELECTED_OPTION_LINK_ACTIVE)})),this.$dropdownLinks[this.activeDropdownOptionIndex].classList.add(this.state.SELECTED_OPTION_LINK_ACTIVE)}},{key:"closeDropdown",value:function(){var t=this.$dropdownLinks[this.activeDropdownOptionIndex];this.updateActiveSelectLinkAttributes(t),this.updateSelectedOptionActiveState(!0),this.toggleDropdown()}},{key:"toggleActiveDropdownOption",value:function(t){var e=this;this.$dropdownLinks.forEach((function(t){t.classList.remove(e.state.HIDE_DROPDOWN_LINK)})),t.classList.add(this.state.HIDE_DROPDOWN_LINK)}},{key:"changeDropdownOptionState",value:function(t){if(null!=t&&-1!==t){this.activeDropdownOptionIndex=t+1;var e=this.$dropdownLinks[this.activeDropdownOptionIndex];this.isDropdownOpened||this.updateActiveSelectLinkAttributes(e),this.updateDropdownLinkActiveState(e)}}},{key:"toggleDropdown",value:function(){this.$dropdownArrow.classList.toggle(this.state.DROPDOWN_OPENED),this.$dropdownList.classList.toggle(this.state.DROPDOWN_OPENED)}},{key:"addDraggingBehaviour",value:function(){window.db.isMobile&&(this.slidingEl.addEventListener(this.evtStart,this.onDragStart),this.slidingEl.addEventListener(this.evtEnd,this.onDragEnd))}},{key:"removeDraggingBehaviour",value:function(){window.db.isMobile&&(this.slidingEl.removeEventListener(this.evtStart,this.onDragStart),this.slidingEl.removeEventListener(this.evtEnd,this.onDragEnd))}},{key:"slideItems",value:function(t){if(this.isSliderActive()&&-1!==t){var e,i=this.slidingEl.getBoundingClientRect().left-this.sliderLeftOffset,n=this.items[t].getBoundingClientRect().left-this.slidingEl.getBoundingClientRect().left,o=this;this.rightBoundaryReached(t)&&(n=this.getItemsWidth()-this.sliderWrapper.offsetWidth);var a=-i-n;window.requestAnimationFrame((function t(n){e||(e=n);var s=n-e;o.slidingEl.style.transform="translate3d(".concat(Object(r.a)(s,i,a,400),"px, 0, 0)"),s<400?window.requestAnimationFrame(t):o.sliderOffset=o.sliderWrapper.getBoundingClientRect().left}))}}},{key:"slideTo",value:function(t,e){this.shouldFollowScroll=!1,this.slideItems(t),!1!==e&&(this.scrollToTarget(t),this.changeItemsState(t))}},{key:"slideNext",value:function(t){var e=Math.min(++this.selectedIndex,this.items.length-1);this.selectedIndex=e,!1!==t&&(e=Math.min(++this.scrolledIndex,this.items.length-1),this.scrolledIndex=e),this.slideTo(e,t)}},{key:"slidePrev",value:function(t){var e=Math.max(--this.selectedIndex,0);this.selectedIndex=e,!1!==t&&(e=Math.max(--this.scrolledIndex,0),this.scrolledIndex=e),this.slideTo(e,t)}},{key:"onDragStart",value:function(t){var e="touchstart"===this.evtStart?t.touches[0].clientX:t.clientX;this.startDragPosition=this.slidingEl.getBoundingClientRect().left,this.offset=this.sliderLeftOffset-this.slidingEl.getBoundingClientRect().left+(e-this.sliderLeftOffset),this.slidingEl.addEventListener(this.evtMove,this.onDrag)}},{key:"onDrag",value:function(t){var e="touchstart"===this.evtStart?t.touches[0].clientX:t.clientX;this.dragging=!0,this.slidingEl.style.transform="translate3d(".concat(.9*(e-this.sliderWrapper.getBoundingClientRect().left-this.offset),"px, 0, 0)")}},{key:"onDragEnd",value:function(){var t=this;setTimeout((function(){t.dragging=!1}),300),this.slidingEl.removeEventListener(this.evtMove,this.onDrag);var e=this.startDragPosition-this.slidingEl.getBoundingClientRect().left;return Math.abs(e)<this.slideThreshold?this.slideTo(this.selectedIndex,!1):e>0?this.slideNext(!1):this.slidePrev(!1),!1}},{key:"changeItemsState",value:function(t){var e=this;this.nextBtn&&this.prevBtn&&(this.shouldFollowScroll=!1,this.items.forEach((function(t){t.classList.remove(e.state.ACTIVE_ITEM)})),null!=t&&-1!==t&&(this.items[t].classList.add(this.state.ACTIVE_ITEM),t<=0?(this.prevBtn.classList.add(this.state.BUTTON_DISABLED),this.nextBtn.classList.remove(this.state.BUTTON_DISABLED)):t>=this.items.length-1?(this.prevBtn.classList.remove(this.state.BUTTON_DISABLED),this.nextBtn.classList.add(this.state.BUTTON_DISABLED)):(this.prevBtn.classList.remove(this.state.BUTTON_DISABLED),this.nextBtn.classList.remove(this.state.BUTTON_DISABLED))))}},{key:"observeScrolling",value:function(){var t=this;if(this.isAutoHighlighting){var e=-1;this.targets.some((function(i,n){var r=!1;if(Object(o.e)(i,Object(o.c)(),0)){var a=i.getBoundingClientRect(),s=window.db.General.stickyHelper.getFixedElementsHeights();(a.top<=s+t.positionFuzzyOffset||a.top<=s-t.positionFuzzyOffset)&&a.bottom>s&&(r=!0,e=n)}return r})),this.scrolledIndex!==e&&(this.selectedIndex=e,this.scrolledIndex=e,this.changeItemsState(e),this.changeDropdownOptionState(e),this.shouldFollowScroll=!1,this.slideItems(e))}}},{key:"rightBoundaryReached",value:function(t){var e=this.items.slice(0,t).map((function(t){return t.offsetWidth})).reduce((function(t,e){return t+e}),0);return this.getItemsWidth()-e<=this.sliderWrapper.offsetWidth}},{key:"setupStickingToMainNavi",value:function(){if(this.isStickingToMainNavi){var t=document.getElementById("stage-area");t&&t.prepend(this.stickyEl.parentElement)}}},{key:"scrollToTarget",value:function(t){if(this.targets&&this.targets.length>t&&null!==this.targets[t]){var e=this.targets[t],i=n.default.getElementOffsetTop(e)+n.default.getDocumentOffsetTop(),r=Math.round(i-window.db.General.stickyHelper.getFixedElementsHeights());window.scrollTo({left:0,top:r,behavior:"smooth"}),this.elementUnderContentNavi=e}}},{key:"dock",value:function(){this.docked=!0;var t=this.stickyEl.offsetHeight,e=window.innerWidth<n.default.bp().M?this.pageHeader.offsetHeight:window.db.General.stickyHelper.getFixedElementsHeights(this.stickyEl);this.stickyEl.style.top="".concat(Math.round(e),"px"),this.stickyPlaceholderEl.style.height="".concat(t,"px"),this.stickyEl.classList.add(this.state.STUCK)}},{key:"undock",value:function(){this.docked=!1,this.stickyEl.style.top=0,this.stickyPlaceholderEl.style.height=0,this.stickyEl.classList.remove(this.state.STUCK)}},{key:"onScroll",value:function(){var t=this;this.shouldFollowScroll&&this.observeScrolling(),this.spacingTop=window.db.General.stickyHelper.getFixedElementsHeights(this.stickyEl);var e=(this.docked?this.stickyPlaceholderEl.getBoundingClientRect().top:this.stickyEl.getBoundingClientRect().top)<=this.spacingTop,i=Math.round(parseFloat(window.getComputedStyle(this.stickyEl).top)),r=Math.round(this.spacingTop);this.docked&&i!==r&&(this.stickyEl.style.top="".concat(r,"px")),!this.docked&&e?this.dock():this.docked&&!e&&this.undock(),this.stickyCNButton&&this.stickyButton&&(n.default.getElementOffsetTop(this.stickyButton)<=0?document.body.classList.add(this.state.STICKY_BUTTON_ENABLED):document.body.classList.remove(this.state.STICKY_BUTTON_ENABLED)),this.stickyCNButton&&this.footer&&Object(o.e)(this.footer,Object(o.c)(),0)?document.body.classList.add(this.state.STICKY_BUTTON_DISARMED):document.body.classList.remove(this.state.STICKY_BUTTON_DISARMED),clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout((function(){t.observeScrolling(),t.shouldFollowScroll=!0}),300),this.afterScrollTimer&&clearTimeout(this.afterScrollTimer),this.elementUnderContentNavi&&(this.afterScrollTimer=setTimeout((function(){var e=window.db.General.stickyHelper.getFixedElementsHeights();if(e!==t.elementUnderContentNavi.getBoundingClientRect().top){var i=n.default.getElementOffsetTop(t.elementUnderContentNavi)+n.default.getDocumentOffsetTop();window.scrollTo(0,i-e)}t.elementUnderContentNavi=null}),50))}},{key:"isSliderActive",value:function(){var t=this.getItemsWidth(),e=this.elControls.getBoundingClientRect().width-(this.nextBtn.getBoundingClientRect().width+this.prevBtn.getBoundingClientRect().width);return Math.round(e)<t}},{key:"getItemsWidth",value:function(){for(var t=0,e=0;e<this.itemsCount;e++)t+=Math.floor(this.items[e].getBoundingClientRect().width);return t}},{key:"updateOffsetsAndPositions",value:function(){this.spacingTop=window.innerWidth<n.default.bp().M?this.pageHeader.offsetHeight:window.db.General.stickyHelper.getFixedElementsHeights(this.stickyEl),this.sliderMarginTop=this.getSliderTopMargin()}},{key:"getSliderTopMargin",value:function(){var t=parseInt(/-?\d+/g.exec(window.getComputedStyle(this.stickyEl).marginTop),10);return"number"==typeof t?t:0}},{key:"onResize",value:function(t){var e=this;this.nextBtn&&this.prevBtn&&(this.updateOffsetsAndPositions(),this.isSliderActive()?(this.addDraggingBehaviour(),this.elControls.classList.add(this.state.SHOW_ARROWS),this.sliderLeftOffset=this.sliderWrapper.getBoundingClientRect().left):(this.removeDraggingBehaviour(),this.elControls.classList.remove(this.state.SHOW_ARROWS),this.sliderLeftOffset=this.sliderWrapper.getBoundingClientRect().left,this.slidingEl.style.transform="none")),this.onScroll(),t&&"resize"===t.type&&-1!==this.selectedIndex&&setTimeout((function(){e.slideItems(e.selectedIndex)}),0)}}])&&c(e.prototype,i),a&&c(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=u},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,r;return e=t,(i=[{key:"init",value:function(){this.el.getElementsByClassName("content-tile__btn").forEach((function(t){t.addEventListener("click",(function(t){t.currentTarget.closest(".content-tile").classList.toggle("content-tile--flipped")}))}),this),this.el.getElementsByClassName("tile__inner").forEach((function(t){return n.default.loadSVG(t)}),this)}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cookieLayer=e,this.animationDuration=parseInt(1e3*parseFloat(window.getComputedStyle(this.cookieLayer,null).getPropertyValue("trandsition-duration")),10)||400}var e,i,r;return e=t,r=[{key:"closeLayer",value:function(){var t=this,e=null;this.cookieLayer.style.transitionDelay="0s",this.cookieLayer.classList.remove("cookie-layer--visible"),n.default.setCookie({name:"wtConfirm_deutschebankde",expires:120}),clearTimeout(e),e=setTimeout((function(){t.cookieLayer.style.display="none"}),this.animationDuration)}}],(i=[{key:"init",value:function(){var e=n.default.getCookie("webtrekkOptOut"),i=n.default.getCookie("wtConfirm_deutschebankde");"1"!==e&&"1"!==i?(this.cookieLayer.classList.add("cookie-layer--visible"),this.cookieLayer.querySelector(".cookie-layer__close").addEventListener("click",t.closeLayer.bind(this))):this.cookieLayer.style.display="none"}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t){return function(t){if(Array.isArray(t))return l(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)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CONST={OPEN_STATE_CLASS:"opened"},this.el=e;var i=s(this.el.getElementsByClassName("corporate-navigation__dropdown"));this.$dropdown=i.length>0?i[0]:null,this.lastTouched=null,this.allowClicks=!0}var e,i,n;return e=t,(i=[{key:"loadReferences",value:function(){this.corporateNavigationBackup=this.$dropdown.cloneNode(!0),this.targetables=s(this.el.getElementsByClassName("corporate-navigation__dropdown-link")),this.targetables.length>0&&(this.targetableElement=this.targetables[0])}},{key:"init",value:function(){var t=this;this.$dropdown&&(this.loadReferences(),this.setupEvents(),r.a.register(o.default.mq().M_UP,{match:function(){t.resetNavi()}}))}},{key:"setupEvents",value:function(){var t=this;this.el&&this.targetableElement&&(window.db.isMobile?(document.addEventListener("touchend",(function(e){t.lastTouched=e.target,e.target===t.targetableElement||o.default.isChildOf(e.target,t.el)?t.isNaviOpen()||(t.el.classList.add(t.CONST.OPEN_STATE_CLASS),t.allowClicks||(e.preventDefault(),e.stopPropagation(),t.allowClicks=t.isNaviOpen())):null!==t.targetableElement.parentElement.nextElementSibling.offsetParent&&t.el.classList.remove(t.CONST.OPEN_STATE_CLASS)})),this.setupTriggerEvents()):(this.el.addEventListener("mouseenter",(function(){t.el.classList.add(t.CONST.OPEN_STATE_CLASS)})),this.el.addEventListener("mouseleave",(function(){t.el.classList.remove(t.CONST.OPEN_STATE_CLASS)})),this.targetableElement.addEventListener("focusin",(function(){t.el.classList.add(t.CONST.OPEN_STATE_CLASS)})),this.el.addEventListener("focusout",(function(e){o.default.isChildOf(e.relatedTarget,t.el)||t.el.classList.remove(t.CONST.OPEN_STATE_CLASS)}))))}},{key:"setupTriggerEvents",value:function(){var t=this;window.db.isMobile&&(this.targetableElement.addEventListener("touchstart",(function(){t.allowClicks=!!t.isNaviOpen()}),!0),this.targetables.forEach((function(e){e.addEventListener("click",(function(e){t.allowClicks&&t.lastTouched===e.currentTarget||(e.stopPropagation(),e.preventDefault(),t.allowClicks=t.isNaviOpen())}))})))}},{key:"resetNavi",value:function(){if(this.$dropdown&&0===this.$dropdown.childElementCount){var t=document.createDocumentFragment();s(this.corporateNavigationBackup.children).forEach((function(e){t.appendChild(e.cloneNode(!0))})),this.$dropdown.appendChild(t),this.loadReferences(),this.setupTriggerEvents()}}},{key:"isNaviOpen",value:function(){return this.el.classList.contains(this.CONST.OPEN_STATE_CLASS)||null!==this.targetableElement.parentElement.nextElementSibling.offsetParent}}])&&c(e.prototype,i),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=u},function(t,e,i){"use strict";i.r(e);var n=i(58),r=i.n(n);function o(t){return(o="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})(t)}function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.handleTick=this.handleTick.bind(this)}var e,i,n;return e=t,n=[{key:"updateDigitState",value:function(t,e){e>=0&&(t.textContent=e<10?"0".concat(e):e)}}],(i=[{key:"init",value:function(){this.digits=this.el.getElementsByClassName("counter__digit"),this.definedEndDate=this.el.dataset.endDate,this.daysEl=this.digits[0],this.hoursEl=this.digits[1],this.minutesEl=this.digits[2],this.secondsEl=this.digits[3],this.parentLayer=window.db.Globals.getClosestParentWithClass(this.el,"counter-layer"),this.ticker=new r.a(this.handleTick(),new Date(this.definedEndDate),r.a.DAYS|r.a.HOURS|r.a.MINUTES|r.a.SECONDS)}},{key:"handleTick",value:function(){var e=this;return function(i){if(i.value<0)return clearInterval(e.ticker),e.el.classList.add("counter--expired"),e.parentLayer&&e.parentLayer.classList.add("counter-layer--expired"),t.updateDigitState(e.daysEl,0),t.updateDigitState(e.hoursEl,0),t.updateDigitState(e.minutesEl,0),void t.updateDigitState(e.secondsEl,0);t.updateDigitState(e.daysEl,i.days),t.updateDigitState(e.hoursEl,i.hours),t.updateDigitState(e.minutesEl,i.minutes),t.updateDigitState(e.secondsEl,i.seconds)}}}])&&a(e.prototype,i),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a="counterLayer_closed",s={closed:"counter-layer--closed"},l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.closeButton=this.el.getElementsByClassName("counter-layer__close")[0],this.closedLayerStatus="1"===n.default.getCookie(a),this.isAuthorMode=this.el.classList.contains("counter-layer--author"),this.closeCounterLayer=this.closeCounterLayer.bind(this)}var e,i,r;return e=t,(i=[{key:"init",value:function(){this.closedLayerStatus&&!this.isAuthorMode&&this.el.classList.add(s.closed),this.closeButton.addEventListener("click",this.closeCounterLayer)}},{key:"closeCounterLayer",value:function(){this.el.classList.add(s.closed),window.db.Globals.setCookie({name:a})}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0),a=i(38),s=i(15),l=i(39);function c(t){return(c="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})(t)}function u(t){return function(t){if(Array.isArray(t))return d(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)return;if("string"==typeof t)return d(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return d(t,e)}(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==c(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===c(o)?o:String(o)),n)}var r,o}var f="".concat("flyouts__button--","active"),p=".".concat(f),m="".concat("flyouts__button--","phone"),v=".".concat(m),y=".".concat("flyouts__phone"),g="".concat("flyouts__phone","--active"),b="".concat("flyouts__button--","search"),w="".concat("flyouts__button--","branch"),S="".concat("flyouts__button--","custom"),E=".".concat(S),C=".".concat("flyouts__custom"),T="".concat("flyouts__custom","--active"),k=null,x=0,L=null,A="",O=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,t.el=e,this.scrollToBtnEl=e.querySelector(".flyouts__button--scrolltop"),this.scrollToBtnEl&&(this.showingScrollBtn=!1,this.lastScrollPosition=0,this.currentScrollDirection="",t.scrolltopClickHandler=t.scrolltopClickHandler.bind(this),this.toggleScrollToButtonVisibility=this.toggleScrollToButtonVisibility.bind(this),this.scrollToBtnEl.addEventListener("click",t.scrolltopClickHandler),window.addEventListener("scroll",this.toggleScrollToButtonVisibility))}var e,i,n;return e=t,n=[{key:"getActiveButton",value:function(){return t.el.querySelector(p)}},{key:"hidePageOverlay",value:function(){L&&L.toggleVisibility("hide")}},{key:"isOverlayUsed",value:function(){return o.default.getWindowWidth()>=o.default.bp().M}},{key:"showPageOverlay",value:function(){L||(L=new a.default),L.toggleVisibility(),L.node.addEventListener("click",(function(){t.getActiveButton().click()}))}},{key:"changeActiveButton",value:function(e){if(!e)return!1;var i=t.getActiveButton();if(i){if(o.default.removeClassFromSelection(i,f),i===e)return t.isOverlayUsed()&&t.hidePageOverlay(),!1;t.triggerButtonAction(i)}return o.default.addClassToSelection(e,f),t.isOverlayUsed()&&t.showPageOverlay(),!0}},{key:"printClickHandler",value:function(t){t.preventDefault(),window.print()}},{key:"contactClickHandler",value:function(t){t.preventDefault(),o.default.openPopupWindow({href:t.currentTarget.dataset.contactUrl||"".concat(o.default.getBaseUrl(),"/pfb/content/pfb2_layer-kontaktbar.html"),width:500,height:900})}},{key:"scrolltopClickHandler",value:function(t){t.preventDefault(),Object(s.a)(0,400)}},{key:"deactivatePhoneButton",value:function(){o.default.removeClassFromSelection(t.el.querySelector(y),g)}},{key:"deactivateCustomButton",value:function(){o.default.removeClassFromSelection(t.el.querySelector(C),T)}},{key:"phoneClickHandler",value:function(e){e.preventDefault();var i=t.el.querySelector(y),n=t.el.querySelector(v);if(t.changeActiveButton(n))if(i)o.default.addClassToSelection(i,g);else{var r=document.createElement("div");r.className="".concat("flyouts__phone"," ").concat(g);var a=n.dataset.serviceUrl||"".concat(o.default.getBaseUrl(),"/pfb/content/layer_rueckrufservice.html?estara=546062"),s=n.dataset.phoneNumber||"",l=n.dataset.popupWidth?parseInt(n.dataset.popupWidth,10):475,c=n.dataset.popupHeight?parseInt(n.dataset.popupHeight,10):425;r.innerHTML='<div class="flyouts__phone-wrapper theme-two--white">\n          <h3 class="flyouts__header">Per Telefon für Sie da.</h3>\n          <p class="flyouts__phone-info">24/7-Kundenservice</p>\n          <h2 class="flyouts__phone-number">'.concat(s,'</h2>\n          <a href="').concat(a,'"\n            class="btn btn--primary flyouts__phone-button">Rückruf-Service nutzen</a>\n        </div>'),t.el.appendChild(r);var u=r.querySelector(".flyouts__phone-button");u.addEventListener("click",(function(t){t.preventDefault(),o.default.openPopupWindow({href:u.href,height:c,width:l})}))}else t.deactivatePhoneButton()}},{key:"customClickHandler",value:function(e){e.preventDefault();var i=t.el.querySelector(C),n=t.el.querySelector(E);t.changeActiveButton(n)?o.default.addClassToSelection(i,T):t.deactivateCustomButton()}},{key:"deactivateBranchButton",value:function(e){t.hideSearchBox(),t.searchBox.classList.remove("sb__block-search-box--branch"),t.setupSearchBox({flyoutButton:e,getFirst:!0})}},{key:"showSearchBox",value:function(){if(t.searchBox){var e=t.searchBox.getElementsByClassName("input-search")[0];t.el.parentNode.insertBefore(t.searchBox,t.el),t.searchBox.classList.add("is-open-js"),t.searchBox.classList.add("sb__block-search-box--extern"),e&&e.focus()}}},{key:"hideSearchBox",value:function(){document.querySelector(".sb__wrapper").appendChild(document.querySelector(".sb__block-search-box")),t.searchBox.classList.remove("is-open-js"),t.searchBox.classList.remove("sb__block-search-box--extern")}},{key:"searchClickHandler",value:function(e){e.preventDefault(),e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation();var i=e.target.closest(".flyouts__button");t.changeActiveButton(i)?t.showSearchBox():t.hideSearchBox()}},{key:"branchClickHandler",value:function(e){e.preventDefault(),e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation();var i=e.target.closest(".flyouts__button");t.changeActiveButton(i)?(t.showSearchBox(),t.searchBox.classList.add("sb__block-search-box--branch"),t.setupSearchBox({flyoutButton:i})):t.deactivateBranchButton(i)}},{key:"setupSearchBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.flyoutButton,n=void 0===i?null:i,r=e.getFirst,a=void 0!==r&&r,s=0;if(a)return t.setPlaceholder({element:t.searchBox.querySelector(".awesomplete-wrapper").querySelector(".label-value")}),void o.default.triggerMouseClick(k[s]);for(;s<x;s++){var l=k[s];if(o.default.isVisible(l)){n&&t.setPlaceholder({element:t.searchBox.querySelector(".awesomplete-wrapper").querySelector(".label-value"),placeholder:n.dataset.placeholder});var c=o.default.getAllSiblings(l,(function(t){return t&&t.classList&&t.classList.contains("input-radio")}));c[0].checked=!0,o.default.triggerCustomEvent("change",c[0]);break}}}},{key:"setPlaceholder",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.element,i=void 0===e?null:e,n=t.placeholder,r=void 0===n?A:n;if(i&&r&&0!==r.length){var o=i.textContent;i.textContent=r,A=o}}},{key:"parseTypeFromClassNames",value:function(t){var e=/flyouts__button--(\w+)/i.exec(t);return e&&e.length>0?e[1]:null}},{key:"getActionHandlerByType",value:function(e){var i=null;switch(t.parseTypeFromClassNames(e.className)){case"search":i=t.hideSearchBox;break;case"phone":i=t.deactivatePhoneButton;break;case"branch":i=t.deactivateBranchButton;break;case"chat":i=t.closeChatFrame;break;case"custom":i=t.deactivateCustomButton}return i}},{key:"getHandlerByType",value:function(e){var i=t.parseTypeFromClassNames(e.className),n=t["".concat(i,"ClickHandler")];return"search"===i||"branch"===i||"custom"===i?(t.addResizeListeners(n,e),null):n}},{key:"addResizeListeners",value:function(t,e){r.a.register(o.default.mq().M_BELOW,(function(){e.removeEventListener("click",t,!1)})).register(o.default.mq().M_UP,(function(){e.addEventListener("click",t,!1)}))}},{key:"triggerButtonAction",value:function(e){var i=t.getActionHandlerByType(e);i&&i()}},{key:"setupAppointmentLink",value:function(){var t=document.querySelector(".flyouts__button--appointment");"deutschebank"===document.body.dataset.tenantid&&t&&l.default.isLoggedIn((function(e){if(e){var i=t.dataset.appointmentUrl,n=o.default.addURLParam(i,"restartApplication","true"),r=t.querySelector("a");r.href=n,r.target="_blank"}}))}}],(i=[{key:"init",value:function(){if(this.handleFlyoutClicks(),t.searchBox=document.querySelector(".sb__block-search-box"),t.searchBox){k=u(t.searchBox.querySelector(".sb__search-box-options").querySelectorAll(".label-control")),x=k.length;var e=document.querySelector(".sb__search-box-button");if(e){var i=e.closest("form");e.addEventListener("click",(function(t){t.preventDefault(),i.submit()}))}}r.a.register(o.default.mq().M_UP,{match:function(){t.getActiveButton()&&t.showPageOverlay()},unmatch:function(){var e=t.getActiveButton();e&&(t.hidePageOverlay(),(e.classList.contains(b)||e.classList.contains(w))&&(o.default.removeClassFromSelection(e,f),t.triggerButtonAction(e)))}}),t.setupAppointmentLink(),this.scrollToBtnEl&&this.toggleScrollToButtonVisibility();var n=this.el.getElementsByClassName("flyouts__icon--custom")[0];n&&o.default.loadSVG(n,(function(){n.style.visibility="visible"}))}},{key:"toggleScrollToButtonVisibility",value:function(){window.pageYOffset>=window.innerHeight/2&&!this.showingScrollBtn?(this.showingScrollBtn=!0,this.scrollToBtnEl.classList.add("flyouts__button--showing")):window.pageYOffset<window.innerHeight/2&&this.showingScrollBtn&&(this.showingScrollBtn=!1,this.scrollToBtnEl.classList.remove("flyouts__button--showing")),this.lastScrollPosition>window.pageYOffset?"up"!==this.currentScrollDirection&&(this.scrollToBtnEl.classList.remove("flyouts__button--scrolltop-down"),this.scrollToBtnEl.classList.add("flyouts__button--scrolltop-up"),this.currentScrollDirection="up"):"down"!==this.currentScrollDirection&&(this.scrollToBtnEl.classList.remove("flyouts__button--scrolltop-up"),this.scrollToBtnEl.classList.add("flyouts__button--scrolltop-down"),this.currentScrollDirection="down"),this.lastScrollPosition=window.pageYOffset}},{key:"handleFlyoutClicks",value:function(){var e=this;u(this.el.querySelectorAll(".flyouts__button")).forEach((function(i){i.addEventListener("click",t.getHandlerByType.call(e,i))}))}}])&&h(e.prototype,i),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=O},function(t,e,i){"use strict";i.r(e);var n=i(57),r=i(0);function o(t){return(o="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})(t)}function a(t){return function(t){if(Array.isArray(t))return s(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)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c=".".concat("form-element--radio"),u=0,d=1,h=2,f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.submitButton=this.el.getElementsByClassName("form-submit")[0],this.notificationContainer=document.getElementsByClassName("notification")[0],this.closeTestButton=document.getElementById("close-test"),this.config={successMessage:this.el.dataset.generalSuccessMessage||"Success",errorMessage:this.el.dataset.generalTechErrorMessage||"Error",validationErrorMessage:this.el.dataset.generalValidationErrorMessage||"Validation error",generalFieldErrorMessage:this.el.dataset.generalFieldErrorMessage||"Input is invalid or missing",patternMismatch:this.el.dataset.patternMismatch||"Pattern mismatch",maxLength:this.el.dataset.maxLength||"Too much charachters",valueMissing:this.el.dataset.valueMissing||"Required"}}var e,i,o;return e=t,o=[{key:"canSubmitField",value:function(t){var e=!["file","submit","button","reset"].includes(t.type);return(e&&"radio"===t.type||"checkbox"===t.type)&&(e=t.checked),e}},{key:"isFieldFilled",value:function(t){return!!t.name&&t.name.length>0&&!!t.value&&t.value.length>0}},{key:"buildFormData",value:function(e){return a(e).filter((function(e){return t.isFieldFilled(e)&&t.canSubmitField(e)})).map((function(t){return[t.name,t.value]}))}},{key:"handleFormInputValidity",value:function(e){var i=e,n=r.default.getClosestParentWithClass(i,"radio"===e.type?"form-element--radio-group":"form-label");i.checkValidity()&&n.classList.contains("form-error")&&t.removeErrorMessage(i)}},{key:"handleFormValidity",value:function(t){for(var e=t.form,i=t.submit,n=a(e.elements),r=!0,o=n.length-1;o>=0;o--)if(!n[o].validity.valid){r=!1;break}return r?(e.classList.remove("form--invalid"),i.removeAttribute("disabled")):(e.classList.add("form--invalid"),i.setAttribute("disabled","")),!1}},{key:"getErrorText",value:function(t){var e=t.element,i=t.type,n=t.fallback;return e.dataset[i]||n}},{key:"checkElementValidityState",value:function(t){var e=t.validity,i=[];for(var n in e)e[n]&&i.push(n);return i}},{key:"createErrorMessage",value:function(e){var i=e.element,n=e.text,r=e.errorType;t.removeErrorMessage(i);var o=document.createElement("p"),a=i.parentNode,s=a.classList.contains("form-error");a.classList.add("form-error"),o.classList.add("form-error__text"),o.textContent=n,r&&i.setAttribute("data-error-type",r),s||a.appendChild(o)}},{key:"removeErrorMessage",value:function(t){var e=t.closest(".".concat("form-error"));t.removeAttribute("data-error-type"),e&&(e.classList.remove("form-error"),e.getElementsByClassName("form-error__text").remove())}},{key:"updateNotification",value:function(t){var e,i=t.cont,n=t.content;switch(t.result){case u:e="notification--ok";break;case d:e="notification--error";break;case h:e="notification--warning";break;default:e=""}i.className="",i.setAttribute("class","notification notification--icon ".concat(e)),i.style.display="block",i.innerHTML=n;for(var o=i.firstChild;o;){if(3===o.nodeType&&o.textContent.length>0){var a=o.textContent,s=document.createElement("span");s.classList.add("notification__headline"),s.textContent=a,r.default.insertAfter(s,o),i.removeChild(o);break}o=o.nextSibling}}},{key:"initToggle",value:function(t){var e=t.querySelector(".form-toggle"),i=t.querySelectorAll(".form-toggle__input");if(window.db.isMobile){var n=new Hammer(t.querySelector(".form-toggle__switcher"));n.get("swipe").set({direction:Hammer.DIRECTION_HORIZONTAL}),n.on("swipeleft",(function(){e.classList.contains("form-toggle--left")||t.querySelector(".".concat("form-toggle__input--left")).click()})),n.on("swiperight",(function(){e.classList.contains("form-toggle--right")||t.querySelector(".".concat("form-toggle__input--right")).click()}))}a(i).forEach((function(t,n){var r=i[i.length-1-n];t.addEventListener("click",(function(t){var i=t.target;if(!i.hasAttribute("checked")){var n="",o="";i.classList.contains("form-toggle__input--left")?(n="form-toggle--left",o="form-toggle--right"):(n="form-toggle--right",o="form-toggle--left"),e.classList.remove(o),e.classList.add(n),r.removeAttribute("checked"),i.setAttribute("checked",!0)}}))}))}}],(i=[{key:"init",value:function(){var e=this,i=this.el.getElementsByClassName("form-checkbox"),o=this.el.getElementsByClassName("form-textfield"),s=this.el.getElementsByClassName("form-radio");t.handleFormValidity({form:this.el,submit:this.submitButton}),a(o).forEach((function(i){n.a.checkEmpty({element:i}),i.addEventListener("input",r.default.debounce((function(e){t.handleFormInputValidity(e.target)}),400)),i.addEventListener("input",(function(i){n.a.checkEmpty({element:i.target}),t.handleFormValidity({form:e.el,submit:e.submitButton})}))})),a(i).forEach((function(i){i.addEventListener("change",(function(i){t.handleFormInputValidity(i.target),t.handleFormValidity({form:e.el,submit:e.submitButton})}))})),a(s).forEach((function(i){if(i.classList.contains("form-radio--inline")){var n=r.default.getClosestParentWithClass(i,"form-element--radio"),o=n.getElementsByClassName("form-headline--radio")[0];n.classList.add("form-element--radio-inline"),o&&n.parentNode.insertBefore(o,n)}i.addEventListener("change",(function(){a(s).forEach((function(e){t.handleFormInputValidity(e)})),t.handleFormValidity({form:e.el,submit:e.submitButton})}))})),[].concat(a(o),a(i),a(s)).forEach((function(i){i.addEventListener("invalid",(function(i){var n=i.target;t.checkElementValidityState(n).forEach((function(i){if(n.getAttribute("data-error-type")!==i){var r=n;"radio"===n.type&&(r=n.closest(c)),t.createErrorMessage({element:r,text:t.getErrorText({element:n,type:i,fallback:e.config[i]}),errorType:i})}}))}))})),a(this.el.getElementsByClassName("form-element--toggle")).forEach((function(e){t.initToggle(e)})),this.closeTestButton&&this.closeTestButton.addEventListener("click",(function(){e.el.style.display="block",e.notificationContainer.style.display="none"})),this.submitButton&&(this.submitButton.parentElement.addEventListener("click",(function(t){e.submitButton.disabled&&(e.el.checkValidity(),t.stopPropagation())}),!0),this.submitButton.addEventListener("click",(function(i){i.preventDefault();var n=e.el.getAttribute("action");return e.el.checkValidity()&&r.default.postAjax({url:n,data:t.buildFormData(e.el.elements),success:function(){t.updateNotification({cont:e.notificationContainer,content:e.config.successMessage,result:u}),e.el.style.display="none",window.db.fireClickTracking(e.submitButton.getAttribute("id"),"","click",e.submitButton)},error:function(i,n){var r=e.config.errorMessage;422===n?r=e.config.validationErrorMessage:200===n&&(r=e.config.successMessage),t.updateNotification({cont:e.notificationContainer,content:r,result:422===n?h:d}),422===n&&JSON.parse(i).fields.forEach((function(i){var n=e.el.querySelector("[name=".concat(i,"]"));if(n){var r=n;"radio"===n.type&&(r=n.closest(c)),t.createErrorMessage({element:r,text:e.config.generalFieldErrorMessage})}}))}}),!1})))}}])&&l(e.prototype,i),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=f},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.label=null,this.mMBListener=this.mobileMenuButtonListener.bind(this)}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;this.label=document.getElementsByClassName("hw__label")[0],this.label&&r.a.register(o.default.mq().L_BELOW,{match:function(){t.label.addEventListener("click",t.mMBListener)},unmatch:function(){t.label.removeEventListener("click",t.mMBListener)}})}},{key:"mobileMenuButtonListener",value:function(){this.label.parentElement.classList.toggle("is-open-js")}}])&&s(e.prototype,i),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e,i){"use strict";i.r(e);var n=i(23),r=i.n(n);function o(t){return(o="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})(t)}function a(t){return function(t){if(Array.isArray(t))return s(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)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this,e=this.el.getElementsByClassName("image-switch__container")[0],i=this.el.getElementsByTagName("input"),n=this.el.getElementsByClassName("image-switch__zoom")[0],o=this.el.getElementsByClassName("image-switch__img")[0],s=this.el.getElementsByClassName("image-switch__srcset")[0],l=this.el.getElementsByClassName("image-switch__circle")[0];if(window.db.isMobile&&l){var c=new r.a(l);c.get("swipe").set({direction:r.a.DIRECTION_HORIZONTAL}),c.on("swipeleft",(function(){e.classList.contains("image-switch__container--left")||t.el.getElementsByClassName("image-switch__option--left")[0].click()})),c.on("swiperight",(function(){e.classList.contains("image-switch__container--right")||t.el.getElementsByClassName("image-switch__option--right")[0].click()}))}a(i).forEach((function(t){t.addEventListener("click",(function(t){var i=t.target;if(!i.hasAttribute("checked")){var r="",a="";i.classList.contains("image-switch__option--left")?(r="image-switch__container--left",a="image-switch__container--right"):(r="image-switch__container--right",a="image-switch__container--left"),e.classList.remove(a),e.classList.add(r);var l=i.dataset,c=l.imageUrl,u=l.imageAltText,d=l.imageTitle;c&&c.length>0&&(n&&n.setAttribute("href",c),o.setAttribute("src",c),s.setAttribute("srcset",c),o.setAttribute("alt",u),o.setAttribute("title",d))}}))}))}}])&&l(e.prototype,i),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(0),a=i(56);function s(t){return(s="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})(t)}function l(t){return function(t){if(Array.isArray(t))return c(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)return;if("string"==typeof t)return c(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return c(t,e)}(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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function u(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==s(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===s(o)?o:String(o)),n)}var r,o}var d=function(t){return t&&t.classList&&t.classList.contains("itc__slide-contents")},h=function(t){return t.classList.contains("js-slide-active")},f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.carouselElement=o.default.query(".itc__carousel",e)[0],this.tabs=l(o.default.query(".".concat("itc__tab"),e)),this.showSwiper=this.tabs.length>5,this.slideCopyContainerWrapper=o.default.getAllSiblings(this.el,d)[0],this.slideCopyContainer=o.default.query(".itc__slide-copy",this.slideCopyContainerWrapper)[0],this.carouselTabContentsHeader=o.default.query(".itc__slide-close .itc__tab-header",this.slideCopyContainerWrapper)[0];var i=window.matchMedia(o.default.mq().M_DOWN);this.useMobileBehaviour=function(){return i.matches}}var e,i,n;return e=t,n=[{key:"collapseRelatedTabs",value:function(t){o.default.getAllSiblings(t,(function(e){return e&&e!==t&&e.classList&&e.classList.contains("itc__tab")})).forEach((function(t){var e=o.default.query(".itc__content-copy",t)[0];e&&e.style.height.length>0&&e.removeAttribute("style")}))}},{key:"showCarouselTab",value:function(t,e){var i=t.cloneNode(!0);o.default.emptyElement(e),e.appendChild(i),"function"==typeof window.db.createTrackValues&&window.db.createTrackValues(".itc__content-copy-text"),l(o.default.query(".calltoaction",i)).forEach((function(t){new a.default(t).init()})),"function"==typeof window.db.General.callLinkInPopup&&window.db.General.callLinkInPopup(e,!0),i.style.height="auto"}}],(i=[{key:"init",value:function(){var t=this,e=l(o.default.query(".itc__tab-image",this.el));this.setupCloseButton(),this.setupCarousel(),e.forEach((function(e){var i=t.createTabActionsObject(e.parentNode),n=e.previousElementSibling;e.addEventListener("click",(function(){t.tabClickHandler(i)})),n.addEventListener("click",(function(){t.tabClickHandler(i)}))})),this.setupResizing()}},{key:"tabClickHandler",value:function(t){!this.showSwiper&&!this.useMobileBehaviour()||this.showSwiper&&"none"!==this.el.style.display?t.showCopyContents():t.toggleSlideContents()}},{key:"createTabActionsObject",value:function(e){var i=this,n={showCopyContents:o.default.noop,toggleSlideContents:o.default.noop},r=o.default.query(".itc__content-copy",e)[0];if(r){var a=o.default.query(".itc__tab-header",e)[0];n.showCopyContents=function(){e.classList.add("js-slide-active"),i.el.style.display="none",t.showCarouselTab(r,i.slideCopyContainer),i.slideCopyContainerWrapper.style.display="block",i.carouselTabContentsHeader.textContent=a.textContent,setTimeout((function(){i.slideCopyContainerWrapper.style.opacity="1"}))},n.toggleSlideContents=function(){if(t.collapseRelatedTabs(e),0===r.style.height.length){e.classList.add("js-slide-active");var i=r.scrollHeight;r.style.height="".concat(i,"px")}else r.removeAttribute("style"),e.classList.remove("js-slide-active")}}return n}},{key:"setupResizing",value:function(){var t=this;if(!this.showSwiper){var e=this.useMobileBehaviour();window.addEventListener("resize",o.default.debounce((function(){var i=t.tabs.filter(h)[0];if(i){var n=t.useMobileBehaviour();if(n!==e){var r=t.createTabActionsObject(i);n?(t.el.style.display="block",i.style.display="block",i.style.opacity="1",t.slideCopyContainerWrapper.style.display="none",r.toggleSlideContents()):(r.toggleSlideContents(),r.showCopyContents())}e=n}}),50))}}},{key:"setupCloseButton",value:function(){var t=this,e=o.default.query(".itc__slide-close",this.slideCopyContainerWrapper)[0],i=o.default.getWindowWidth();if(e){var n=function e(){var n=o.default.query(".".concat("js-slide-active"),t.el)[0];n&&n.classList.remove("js-slide-active"),t.el.style.opacity="1",t.el.style.display="block",t.slideCopyContainerWrapper.style.display="none",t.slideCopyContainerWrapper.removeEventListener("transitionend",e);var r=o.default.getWindowWidth();r!==i&&t.swiperInstance&&(i=r,t.swiperInstance.update())};e.addEventListener("click",(function(){t.slideCopyContainerWrapper.addEventListener("transitionend",n),t.slideCopyContainerWrapper.style.opacity="0"}))}}},{key:"setupCarousel",value:function(){var t=this,e=o.default.getSwiperA11yDE();if(this.showSwiper){this.el.classList.add("swiper-container"),this.carouselElement&&this.carouselElement.classList.add("swiper-wrapper"),this.tabs.forEach((function(t){return t.classList.add("swiper-slide")})),this.slideCopyContainer.classList.add("itc__slide-copy--carousel");var i={grabCursor:!0,loop:!1,paginationClickable:!0,speed:1e3,watchSlidesProgress:!0,roundLengths:!0,preloadImages:!0,updateOnImagesReady:!0,a11y:{prevSlideMessage:e.prevSlideMessage,nextSlideMessage:e.nextSlideMessage,firstSlideMessage:e.firstSlideMessage,lastSlideMessage:e.lastSlideMessage,paginationBulletMessage:e.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:this.el.querySelector(".swiper-button-next"),prevEl:this.el.querySelector(".swiper-button-prev")}};this.useMobileBehaviour()?(i.slidesPerView=1,i.spaceBetween=0,i.slidesPerGroup=1):(i.slidesPerView=5,i.spaceBetween=2,i.slidesPerGroup=5),this.swiperInstance=new r.a(this.el,i),this.swiperInstance.on("resize",(function(){t.useMobileBehaviour()?(t.swiperInstance.params.slidesPerView=1,t.swiperInstance.params.spaceBetween=0,t.swiperInstance.params.slidesPerGroup=1):(t.swiperInstance.params.slidesPerView=5,t.swiperInstance.params.spaceBetween=2,t.swiperInstance.params.slidesPerGroup=5),t.swiperInstance.update()}))}}}])&&u(e.prototype,i),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=f},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(a)?a:String(a)),r)}var o,a}i.r(e);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,n;return e=t,(i=[{key:"init",value:function(){this.el.getElementsByClassName("imageteaser__container--square").length&&this.el.previousElementSibling&&!this.el.previousElementSibling.getElementsByClassName("imageteaser__container--square").length&&this.el.classList.add("imageteaser--square-first")}}])&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=o},function(t,e,i){"use strict";i.r(e);var n=i(200),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.iframeElement=o.default.query(".integrated-tools__iframe",e)[0]}var e,i,n;return e=t,(i=[{key:"init",value:function(){this.iframeElement.dataset.passedParameters&&this.handlePassedParameters(),r.a.iframeResizer(this.iframeElement)}},{key:"handlePassedParameters",value:function(){var t=this.iframeElement.dataset.passedParameters.split(","),e=o.default.getUrlParams();if(e){var i=this.iframeElement.src;t.forEach((function(t){e.hasOwnProperty(t)&&(i=o.default.replaceURLParam(i,t,e[t]))})),this.iframeElement.src=i}}}])&&s(e.prototype,i),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(15);function o(t){return(o="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})(t)}function a(t){return function(t){if(Array.isArray(t))return s(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)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c="".concat("item-finder","__form"),u="".concat("item-finder","__results"),d="".concat("item-finder","__result"),h="".concat(d,"--hidden"),f="".concat("item-finder","__questions"),p="".concat("item-finder","__question"),m=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.itemFinder=e,this.form=this.itemFinder.querySelector(".".concat(c)),this.questionsContainer=this.form.querySelector(".".concat(f)),this.questions=this.questionsContainer.getElementsByClassName(p),this.resultsContainer=this.form.querySelector(".".concat(u)),this.results=this.resultsContainer.children}var e,i,o;return e=t,o=[{key:"handleQuestionHighlight",value:function(t){var e=n.default.getClosestParentWithClass(t,"ifq__form-element");a(n.default.getClosestParentWithClass(t,"ifq__options").querySelectorAll(".".concat("ifq__form-element"))).forEach((function(t){t.classList.remove("".concat("ifq__form-element","--checked"))})),e.classList.add("".concat("ifq__form-element","--checked"))}}],(i=[{key:"init",value:function(){var t=this;this.form&&this.questionsContainer&&(window.db.General.stickyHelper.registerSticky(document.querySelector(".header-area")),this.answeredQuestions=0,this.answerHistory=[],this.resetResultsVisibility(),this.initQuestions(),"function"!=typeof window.MouseEvent&&window.addEventListener("DOMContentLoaded",(function(){t.itemFinder.getElementsByTagName("input").forEach((function(t){t.checked=!1}))})))}},{key:"initQuestions",value:function(){var t=this,e=this.questionsContainer.querySelectorAll(".form-element--radio");e&&a(e).forEach((function(e){var i=e.querySelector(".form-radio-icon-container");i&&n.default.loadSVG(i),e.querySelector("input").addEventListener("change",(function(e){return n.default.getClosestParentWithClass(e.target,"ifq__form-element").classList.contains("".concat("ifq__form-element","--checked"))?0:t.handleAction(e.target)}))}))}},{key:"handleAction",value:function(e){var i=e.checkValidity();if(i){var r=n.default.getClosestParentWithClass(e,p),o=parseInt(a(this.questions).indexOf(r),10);if(t.handleQuestionHighlight(e),this.answerHistory[o]=e.id,this.answeredQuestions===this.questions.length-1)this.showResults();else{if(o<this.answeredQuestions&&0!==this.answeredQuestions)return!1;this.answeredQuestions++}}return i}},{key:"showResults",value:function(){var t=this.answerHistory.toString().replace(/\s/g,""),e=this.resultsContainer.querySelector('[data-result-id="'.concat(t,'"]'));if(e){var i=n.default.getClosestParentWithClass(e,d);this.resetResultsVisibility(),i.classList.remove(h);var o=n.default.findPos(i),a=window.db.General.stickyHelper.getFixedElementsHeights();Object(r.a)(o.top-a-100,800)}else this.resetResultsVisibility()}},{key:"resetResultsVisibility",value:function(){this.results.forEach((function(t){t.classList.add(h)}))}}])&&l(e.prototype,i),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=m},function(t,e,i){"use strict";i.r(e);var n=i(77),r=i(78);function o(t){return(o="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})(t)}function a(t){return function(t){if(Array.isArray(t))return s(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)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,o;return e=t,(i=[{key:"init",value:function(){var t=a(this.el.attributes).filter((function(t){return t.name.match(/^(data-resource)/)})).map((function(t){return t.value}));this.loadAssets(t)}},{key:"loadAssets",value:function(t){var e=this,i=this,n=t.map((function(t){return new Promise((function(e,i){var n=new window.XMLHttpRequest;n.addEventListener("load",(function(n){var r=n.target;r.status>=200&&r.status<400?e({responseText:r.responseText,responseURL:r.responseURL?r.responseURL:t}):i(new Error("Error loading resource. HTTP Status ".concat(r.status)))})),n.open("GET",t),n.send()}))}));Promise.all(n).then((function(t){t.forEach((function(t){var e=t.responseURL.match(/\.[0-9a-z]+$/);if(e&&".js"===e[0]){if(!document.querySelectorAll('script[src="'.concat(t.responseURL,'"]')).length){var n=Object.assign(document.createElement("script"),{src:t.responseURL});document.getElementsByTagName("head")[0].appendChild(n)}}else if(e&&".svg"===e[0])i.el.querySelector(".map__vis").insertAdjacentHTML("beforeend",t.responseText);else if(e&&".css"===e[0]&&!document.querySelectorAll('link[href="'.concat(t.responseURL,'"]')).length){var r=Object.assign(document.createElement("link"),{rel:"stylesheet",href:t.responseURL});document.getElementsByTagName("head")[0].appendChild(r)}})),setTimeout((function(){e.startup()}),500)})).catch((function(t){}))}},{key:"startup",value:function(){var t=new n.default(this.el.querySelector(".map__vis"));t.init();var e=new r.default(this.el.querySelector(".map__sidebar"));e.init(),t.addEventListener("showContent",(function(t){e.open(t.targetId)})),e.addEventListener("close",(function(){t.zoomOut()}))}}])&&l(e.prototype,i),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t){return function(t){if(Array.isArray(t))return a(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)return;if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(t,e)}(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l=n.default.bp().M,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.wrapper=this.el.closest(".columncontrol"),this.mediaEl=this.el.querySelector(".mt__img"),this.playButton=this.el.querySelector(".btn-play--round")}var e,i,r;return e=t,r=[{key:"initCampaignFeatures",value:function(t){var e=t.closest(".columncontrol");if(e&&!e.classList.contains("mt-campaign-event-added")){var i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=o(e.querySelectorAll(".mt__text-headline"));i>=l&&n.default.equalizeHeight(r),e.classList.add("mt-campaign-event-added")}}}],(i=[{key:"init",value:function(){if(this.playButton&&(this.mediaEl.complete?this.showTrigger():this.mediaEl.addEventListener("load",this.showTrigger.bind(this))),this.wrapper&&!this.wrapper.classList.contains("mt-aligned")){var t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e=o(this.wrapper.querySelectorAll(".mt__text-headline"));!window.CQ_Analytics&&t>=l&&n.default.equalizeHeight(e),this.wrapper.classList.add("mt-aligned"),window.addEventListener("resize",n.default.debounce((function(){var i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;i>=l?n.default.equalizeHeight(e):e.forEach((function(t){t.style.height="auto"})),t=i}),300))}}},{key:"showTrigger",value:function(){this.playButton.classList.add("btn-play--visible")}}])&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0),l=i(15),c=i(13);function u(t){return(u="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})(t)}function d(t){return function(t){if(Array.isArray(t))return h(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)return;if("string"==typeof t)return h(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return h(t,e)}(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 h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function f(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==u(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===u(o)?o:String(o)),n)}var r,o}var p=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.compIndex=d(document.getElementsByClassName("megatabs")).indexOf(this.el)+1,this.STATE={componentActive:"megatabs--active",containerActive:"megatabs__content-container--active",lidActive:"megatabs__tab--active",sliderSticky:"megatabs__slider--sticky"},this.TYPES={ICONBAR:"iconbar",MEGA:"mega"},this.$slider=e.querySelector(".megatabs__slider"),null!==this.$slider&&(this.$tabs=d(this.$slider.querySelectorAll(".megatabs__tab > .megatabs__tab-teaser")).filter((function(t){return t.parentNode.parentNode.parentNode===i.$slider})),this.$contentContainer=this.$slider.nextElementSibling,this.CONFIG={theme:this.el.dataset.configType||this.TYPES.MEGA,skinContentContainer:this.el.dataset.configSkinContentContainer||"theme--transparent",isSliderOnMobileActive:"onerow"===this.el.dataset.configBehaviourTypeOnMobile,isSliderOnDesktopActive:"onerow"===this.el.dataset.configBehaviourTypeOnDesktop,isSticky:"true"===this.el.dataset.configEnableSticky,closingEnabled:"true"===this.el.dataset.configClosing},this.$activeTab=null,this.activeIndex=0,this.activeContent=null,this.$nextSlideButton=this.$slider.querySelector(".megatabs__swiper-button-next"),this.$prevSlideButton=this.$slider.querySelector(".megatabs__swiper-button-prev"),this.onScroll=this.onScroll.bind(this),this.sliderBaseHeight=this.$slider.clientHeight)}var e,i,n;return e=t,n=[{key:"hasTabContent",value:function(t){var e=t.nextElementSibling.getElementsByClassName("megatabs__tab-content")[0];return e&&e.childElementCount>0}},{key:"getColCtrlBackgroundColor",value:function(t){var e=!1;try{var i=t.closest(".colctrl__wrapper:not(.theme--transparent)");i&&(e=window.getComputedStyle(i).getPropertyValue("background-color"))}catch(t){}return e}}],(i=[{key:"init",value:function(){var e=this;null!==this.$slider&&(this.sliderParams={slidesPerView:"auto",grabCursor:!0,speed:700,a11y:s.default.getSwiperA11yDE(),watchOverflow:!0,keyboard:{enabled:!0,onlyInViewport:!0},navigation:{nextEl:this.$nextSlideButton,prevEl:this.$prevSlideButton},slideToClickedSlide:this.CONFIG.theme===this.TYPES.ICONBAR,observer:!0,observeParents:!0},window.addEventListener("resize",s.default.debounce(this.onResize.bind(this),500,!1)),this.el.addEventListener(s.default.sc().customEventNameJumpMark,(function(i){var n=e.$tabs.findIndex((function(t){return t===i.target}));n>=0&&t.hasTabContent(e.$tabs[n])&&(e.tabClicked(i.target,n),e.swiperInstance.slideTo(n))})),this.$tabs.forEach((function(i,n){t.hasTabContent(i)&&i.addEventListener("click",(function(t){e.tabClicked(t.currentTarget,n)})),s.default.loadSVG(i)})),this.initResponsiveBehaviour(),this.$contentContainer.style.height="0px","true"===this.el.dataset.configActivateFirst&&this.$tabs.length&&t.hasTabContent(this.$tabs[0])&&this.showSelectedItem(this.$tabs[0],!0),document.addEventListener("DOMContentLoaded",(function(){e.swiperInstance&&e.swiperInstance.update()})),this.setSwiperNavigationBackgroundColor(),this.$nextSlideButton.addEventListener("click",(function(){if(e.$activeTab){var t=e.activeIndex>e.$tabs.length-1?0:e.activeIndex+1;e.tabClicked(e.$tabs[t],t)}})),this.$prevSlideButton.addEventListener("click",(function(){if(e.$activeTab){var t=e.activeIndex<=0?0:e.activeIndex-1;e.tabClicked(e.$tabs[t],t)}})),this.addSlidesActiveClass())}},{key:"scrollToContentContainer",value:function(){var t=this;return new Promise((function(e){if(t.isSliderBehaviour&&t.CONFIG.isSticky&&t.$slider.classList.contains(t.STATE.sliderSticky)){var i=parseInt(window.getComputedStyle(t.$contentContainer).paddingTop,10);Object(l.a)(t.$contentContainer.offsetTop+i-t.$slider.clientHeight+1-window.db.General.stickyHelper.getFixedElementsHeights(t.$slider))}else{var n=t.$activeTab.getBoundingClientRect().top;Object(l.a)(n+window.pageYOffset-window.db.General.stickyHelper.getFixedElementsHeights(t.$slider))}e()}))}},{key:"createEmptyPlaceBeforeSlider",value:function(t,e){var i=this.el.parentNode.querySelector(".megatabs__empty");if(i)i.style.height="".concat(t,"px"),i.style.top="".concat(e,"px");else{var n=document.createElement("DIV");n.classList.add("megatabs__empty"),n.style.height="".concat(t,"px"),n.style.top="".concat(e,"px"),this.el.parentNode.insertBefore(n,null)}}},{key:"deleteEmptyPlaceBeforeSlider",value:function(){var t=this.el.parentNode.querySelector(".megatabs__empty");t&&t.parentNode.removeChild(t)}},{key:"onScroll",value:function(){if(this.el.querySelector(".megatabs__tab--active")){var e=window.getComputedStyle(this.el),i=this.el.getBoundingClientRect(),n=window.db.General.stickyHelper.getFixedElementsHeights(this.$slider);if(i.top<=n&&i.bottom>n){var r=t.getColCtrlBackgroundColor(this.$slider);r&&(this.$slider.style.backgroundColor=r);var o=this.$contentContainer.getBoundingClientRect(),a=o.left,s=o.top-n-this.sliderBaseHeight;s>0&&this.createEmptyPlaceBeforeSlider(s,n),this.$slider.style.top="".concat(n,"px"),this.$slider.classList.add(this.STATE.sliderSticky),this.$contentContainer.style.marginTop="".concat(this.sliderBaseHeight,"px"),this.$slider.style.left="".concat(a,"px");var l=parseInt(e.paddingLeft,10)+parseInt(e.paddingRight,10);this.$slider.style.maxWidth="".concat(this.el.clientWidth-l,"px")}else this.deleteEmptyPlaceBeforeSlider(),this.clearStickySlider()}}},{key:"initSticky",value:function(){window.db.General.stickyHelper.registerSticky(this.$slider,s.default.noop,this.STATE.sliderSticky)}},{key:"addSlidesActiveClass",value:function(){this.$tabs[0].offsetWidth*this.$tabs.length>this.$slider.offsetWidth&&this.el.classList.add("megatabs--slides-active")}},{key:"setSwiperNavigationBackgroundColor",value:function(){var e=t.getColCtrlBackgroundColor(this.$nextSlideButton);e&&(this.$nextSlideButton.style.backgroundColor=e,this.$prevSlideButton.style.backgroundColor=e)}},{key:"initSliderBehaviour",value:function(){this.swiperInstance?this.swiperInstance.update():(this.isSliderBehaviour=!0,this.enableSlider(),this.activeIndex&&this.swiperInstance.slideTo(this.activeIndex),this.$activeTab&&this.wrapContent().then(this.updateContainerHeight()))}},{key:"initAccordionBehaviour",value:function(){this.isSliderBehaviour=!1,this.disableSlider(),s.default.addClassToSelection(this.el.querySelectorAll(".megatabs__tab-content-container"),"".concat(this.CONFIG.skinContentContainer)),this.$activeTab&&this.unwrapContent().then(this.updateContainerHeight())}},{key:"initResponsiveBehaviour",value:function(){var t=this;a.a.register(s.default.mq().M_BELOW,{match:function(){t.CONFIG.isSliderOnMobileActive?(t.initSliderBehaviour(),t.CONFIG.isSticky&&(t.initSticky(),window.addEventListener("scroll",t.onScroll))):t.initAccordionBehaviour()}}).register(s.default.mq().M_UP,{match:function(){t.CONFIG.isSliderOnDesktopActive?(t.initSliderBehaviour(),t.CONFIG.isSticky&&(t.initSticky(),window.addEventListener("scroll",t.onScroll))):t.initAccordionBehaviour()}})}},{key:"onResize",value:function(){this.$activeTab&&this.updateContainerHeight(),this.refreshSwiper()}},{key:"clearStickySlider",value:function(){this.$slider.removeAttribute("style"),this.$slider.classList.remove(this.STATE.sliderSticky),this.$contentContainer.style.marginTop=0,this.$slider.style.backgroundColor=""}},{key:"refreshSwiper",value:function(){return this.swiperInstance&&(this.swiperInstance.update(),this.addSlidesActiveClass()),!!this.swiperInstance}},{key:"enableSlider",value:function(){this.swiperInstance=new r.a(this.$slider,this.sliderParams)}},{key:"disableSlider",value:function(){this.swiperInstance&&this.swiperInstance.destroy()}},{key:"showSelectedItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e?this.selectTab(t).then(this.wrapContent()).then(this.updateContainerHeight()):this.selectTab(t).then(this.wrapContent()).then(this.updateContainerHeight()).then(this.scrollToContentContainer())}},{key:"hideSelectedItem",value:function(){var t=this;this.activeContent&&(this.el.classList.remove(this.STATE.componentActive),this.updateContainerHeight(!0).then((function(){return Object(c.delayPromise)(400,t.unwrapContent.bind(t))})).then((function(){return t.deselectTab()})))}},{key:"tabClicked",value:function(t,e){this.removePrintContent();var i=e+1;if(t.parentNode===this.$activeTab)this.CONFIG.closingEnabled&&(this.hideSelectedItem(),this.clearStickySlider());else{this.el.classList.add(this.STATE.componentActive);var n=t.querySelector(".megatabs__tab-header"),r=n?s.default.transliterate(n.innerText):"";if(!r){var o=t.querySelector(".megatabs__tab-image");o&&(r=o.getAttribute("title")||o.getAttribute("alt")||"")}var a="".concat(this.compIndex,"_").concat(i,"_").concat(s.default.slugify(r));window.db.fireClickTracking("megatabs__tab",a,"click",this.el),this.$activeTab?this.unwrapContent().then(this.deselectTab()).then(this.selectTab(t)).then(this.wrapContent()).then(this.updateContainerHeight()).then(this.scrollToContentContainer()):this.showSelectedItem(t)}}},{key:"selectTab",value:function(t){var e=this;return new Promise((function(i){e.$activeTab=t.parentNode,e.activeIndex=e.$tabs.indexOf(t),e.activeContent=e.$activeTab.querySelector(".megatabs__tab-content"),e.$activeTab.classList.add(e.STATE.lidActive),i()}))}},{key:"deselectTab",value:function(){var t=this;return new Promise((function(e){t.$activeTab.classList.remove(t.STATE.lidActive),t.$activeTab.getElementsByClassName("yt-player").forEach((function(t){t.ownInstance.closeVideo()})),t.$activeTab=null,t.activeIndex=0,t.activeContent=null,e()}))}},{key:"wrapContent",value:function(){var t=this;return new Promise((function(e){(t.isSliderBehaviour||t.CONFIG.theme===t.TYPES.ICONBAR)&&(t.$contentContainer.appendChild(t.activeContent),t.$contentContainer.classList.add(t.STATE.containerActive)),e()}))}},{key:"unwrapContent",value:function(){var t=this;return new Promise((function(e){t.$activeTab.querySelector(".megatabs__tab-content-container").appendChild(t.activeContent),e()}))}},{key:"removePrintContent",value:function(){this.el.getElementsByClassName(s.default.sc().fromCustomPrint).length>0&&this.el.getElementsByClassName(s.default.sc().fromCustomPrint)[0].remove()}},{key:"updateContainerHeight",value:function(t){var e=this;return new Promise((function(i){var n=e.activeContent.parentNode,r=window.getComputedStyle(e.activeContent),o=e.activeContent.querySelector(".compare-table");o&&(o.style.visibility="hidden");var a=parseInt(r.marginTop,10)+parseInt(r.marginBottom,10);n.style.height="".concat(e.activeContent.offsetHeight+a,"px"),t?window.requestAnimationFrame((function(){n.style.height="0px"})):setTimeout((function(){if(n.style.height="auto",o=e.activeContent.querySelector(".compare-table")){var t=document.createEvent("Event");t.initEvent("build",!0,!0),o.querySelector(".ct-origin").dispatchEvent(t),o.style.visibility="visible"}}),400),i()}))}}])&&f(e.prototype,i),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=p},function(t,e,i){"use strict";i.r(e);var n=i(39),r=i(0);function o(t){return(o="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})(t)}function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,o;return e=t,(i=[{key:"init",value:function(){n.default.isLoggedIn((function(t){if(t){var e=document.createElement("p");e.id="login-area",e.innerHTML='<a href="'.concat(r.default.getBaseUrl()).concat("/pfb/content/marktinformationen/logout.html?redirectTo=/pk.html",'" class="logout-button">Logout</a>'),r.default.insertAfter(e,document.querySelectorAll(".navigation-area")[0])}}))}}])&&a(e.prototype,i),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===a(e)?e:String(e)}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t,e=this,i=o.default.getSwiperA11yDE(),n=this.el.getElementsByClassName("mob-payment__section--swiper")[0],a=this.el.getElementsByClassName("mob-payment__slider")[0],s=this.el.getElementsByClassName("mob-payment__slider-wrapper")[0];if(null!=s){var c,u,d,h=this.el.getElementsByClassName("mob-payment__slider-item"),f=this.el.getElementsByClassName("mob-payment__description"),p=o.default.getClosestParentWithClass(a,"megatabs__tab"),m=null!==p&&p.classList.contains("megatabs__tab")&&!o.default.isVisible(this.el);h.forEach((function(t){s.appendChild(t)})),this.swiperInstance=new r.a(a,{init:!1,effect:"coverflow",loop:!0,slidesPerView:3,loopedSlides:2,loopAdditionalSlides:2,centeredSlides:!0,keyboardControl:!0,lazyLoading:!0,preventClicks:!1,preventClicksPropagation:!1,coverflowEffect:{rotate:56,stretch:0,depth:150,modifier:1,slideShadows:!1},breakpoints:(c={},u=o.default.bp().XS-1,d={slidesPerView:2},(u=l(u))in c?Object.defineProperty(c,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):c[u]=d,c),a11y:{prevSlideMessage:i.prevSlideMessage,nextSlideMessage:i.nextSlideMessage,firstSlideMessage:i.firstSlideMessage,lastSlideMessage:i.lastSlideMessage,paginationBulletMessage:i.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".mob-payment__pagination--".concat(n.id),type:"bullets",clickable:!0},paginationClickable:!0,navigation:{nextEl:this.el.querySelector(".swiper-button-next"),prevEl:this.el.querySelector(".swiper-button-prev")}}),"belgium"===document.body.dataset.tenantid&&(this.swiperInstance.coverflowEffect.rotate=0,this.swiperInstance.coverflowEffect.depth=0),this.swiperInstance.on("init",(function(){f[0].classList.add("mob-payment__description--active"),t=0})),m?p.addEventListener("click",(function(){var t=e.swiperInstance.init.bind(e.swiperInstance);window.setTimeout((function(){return t()}),0)})):this.swiperInstance.init(),this.swiperInstance.on("transitionEnd",(function(){var e=f[this.realIndex];void 0!==t&&f[t].classList.remove("mob-payment__description--active"),e.classList.add("mob-payment__description--active"),t=this.realIndex}))}}}])&&s(e.prototype,i),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0),a=i(38),s=i(56),l=i(15);function c(t){return(c="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})(t)}function u(t){return function(t){if(Array.isArray(t))return d(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)return;if("string"==typeof t)return d(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return d(t,e)}(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==c(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===c(o)?o:String(o)),n)}var r,o}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CONST={ACTIVE:"active",BREAKIDENTIFIER:/-? {3}/g,BREAKIDENTIFIERSPACES:/ {3}/g,BREAKIDENTIFIERWORD:/- {3}/g,BREAKREPLACEMENT:"<br>",MENUCLASS:"btn--menu",CLOSEICONCLASS:"icon-close",CURRENT:"nav--current",MENUICONCLASS:"icon-menu",DESKTOPCLOSEDELAY:500,FLYOUT:"nav-main__flyout",FLYOUTLVL1:"nav-main__flyout--lvl1",HASSUBPAGES:"hasSubPages",HOVERNAVDELAY:50,HASONLYHIDDENENTRIES:"nav-main__list-item--only-hidden",NAVCUSTOMER:"nav-customer",NAVMAIN:"nav-main",NAVMAINOPEN:"nav-main--open",NOTCLICKABLE:"not-clickable",VISUALLYHIDDEN:"nav-main__list-item--visually-hidden",LISTLVL1:"nav-main__list--lvl1",LISTLVL2:"nav-main__list--lvl2",LIST:"nav-main__list",LISTITEM:"nav-main__list-item",LISTITEMLVL1:"nav-main__list-item--lvl1",LISTITEMLVL2:"nav-main__list-item--lvl2",LISTITEMLVL3:"nav-main__list-item--lvl3",LISTLINKLVL1:"nav-main__link--lvl1",LISTLINKLVL2:"nav-main__link--lvl2",LISTLINKLVL3:"nav-main__link--lvl3",LISTLINKTITLE:"nav-main__link-title",LISTLINKTITLELVL2:"nav-main__link-title--lvl2",LISTLINKTITLELVL3:"nav-main__link-title--lvl3",OVERVIEWTEXT:"Übersicht",OVERVIEWCLASS:"clonedOverviewLink",SNLINK:"sn__block-mobile-link",buttonClassRegex:/^btn/,NAVBTMSNIPPETS:"nav-main__snippets--bottom",NAVAREAOPENMOBILE:"header-area--nav-open-mobile"},this.backupMain=null,this.backupCustomer=null,this.currentState=null,this.customer=null,this.el=e,this.main=null,this.flyouts=null,this.headerArea=document.querySelectorAll(".header-area")[0],this.mainLi=null,this.mainLiLvl1=null,this.mobileMenuButton=null,this.navigationArea=null,this.pageOverlay=null,this.mobileMenuOpen=null,this.searchBoxTriggerIcon=null,this.handleStickyNavigation=this.handleStickyNavigation.bind(this)}var e,i,n;return e=t,n=[{key:"removeAndNull",value:function(t){t.remove(),t=null}},{key:"calculateNaviOffset",value:function(t){for(var e=0,i=t.previousElementSibling;i;)e+=t.offsetHeight,i=i.previousElementSibling;return e}},{key:"restoreButtonStyles",value:function(t){var e=t.dataset.desktopClasses;e&&(e.split(" ").forEach((function(e){return t.classList.add(e)})),t.dataset.desktopClasses=void 0)}},{key:"removeStyleProperty",value:function(t,e){for(var i=0;i<t.length;i++)t[i].style.removeProperty(e)}}],(i=[{key:"setupDefaults",value:function(t){this.initVariables(t),this.addStructureClasses(),this.setupWordBreaks()}},{key:"stickySizesHandler",value:function(){this.naviTopPosition=o.default.findPos(this.el).top+this.customer.clientHeight,this.handleStickyNavigation()}},{key:"init",value:function(){var t=this;this.setupDefaults(!0),r.a.register(window.db.TenantSettings.mq.NAVI_MOBILE,{match:function(){t.resetNavigation(),t.insertWordBreak(),null===t.mobileMenuButton&&(t.callMobileBehaviour(),window.db.TenantSettings.navigation.ENABLE_STICKY_IDENTIFIER_MOBILE&&t.stickySizesHandler())}}),r.a.register(window.db.TenantSettings.mq.NAVI_DESKTOP,{match:function(){t.resetNavigation(),(null===t.pageOverlay||t.pageOverlay&&null===t.pageOverlay.node)&&(t.callDesktopBehaviour(),t.stickySizesHandler())}})}},{key:"initVariables",value:function(t){var e=this;this.currentState=null,this.customer=this.el.querySelectorAll(".".concat(this.CONST.NAVCUSTOMER))[0],this.backupCustomer=this.customer.cloneNode(!0),this.customerList=this.customer.getElementsByTagName("ul")[0],this.main=this.el.querySelectorAll(".".concat(this.CONST.NAVMAIN))[0],this.backupMain=this.main.cloneNode(!0),this.flyouts=this.main.querySelectorAll(".".concat(this.CONST.FLYOUT)),this.mainLi=this.main.querySelectorAll(".".concat(this.CONST.LISTITEM)),this.mainLiLvl1=this.main.querySelectorAll(".".concat(this.CONST.LISTITEMLVL1)),this.$navigationButtons=u(this.mainLiLvl1).filter((function(t){return t.classList.contains("btn")})),this.$onlineBankingWrapper=document.getElementsByClassName("online-banking-button")[0],this.mobileMenuButton=null,this.navigationArea=document.querySelectorAll(".navigation-area")[0],this.stickyNaviConfigured=this.navigationArea.classList.contains("navigation-area--sticky"),this.searchBox=document.getElementsByClassName("sb__block-search-box")[0];var i=document.getElementById("sb-search-trigger");this.searchBoxTriggerIcon=i?i.querySelector(".btn-icon"):null,t||(this.stickyNaviConfigured&&window.db.General.stickyHelper.registerSticky(this.main,o.default.noop,"nav-main--fixed"),window.db.General.stickyHelper.registerSticky(this.headerArea,o.default.noop,["header-area--fixed","promo-banner--open",this.CONST.NAVAREAOPENMOBILE]),window.db.General.stickyHelper.registerSticky(this.searchBox,(function(t){e.searchBox.style.top="".concat(t,"px")}),"is-open-js")),this.pageOverlay=null,this.mobileMenuOpen=!1,this.CONST.NAVMAINHEIGHT=this.main.offsetHeight,this.CONST.ANIMATIONDURATION=parseInt(1e3*parseFloat(window.getComputedStyle(this.main,null).getPropertyValue("transition-duration")),10)}},{key:"callMobileBehaviour",value:function(){this.createMobileNavigationButton(),this.createMobileOverviewLinks(),this.createMobileCorporateNavigation(),this.createMobileServiceNavigation(),this.createMobileWknSearchBox(),this.restyleNavigationButtonsOnMobile(),this.bindMobileMenuButtonEvent(),this.bindMobileNavigationEvent(),this.removeWordBreak(),this.stickyNaviConfigured&&window.db.TenantSettings.navigation.ENABLE_STICKY_IDENTIFIER_MOBILE&&window.addEventListener("scroll",this.handleStickyNavigation)}},{key:"callDesktopBehaviour",value:function(){this.pageOverlay=new a.default(this.navigationArea),this.bindDesktopEvents(),this.restyleNavigationButtonsOnDesktop(),this.insertWordBreak()}},{key:"setupWordBreaks",value:function(){var t=this;this.brokenWords=u(this.el.querySelectorAll(".".concat(this.CONST.LISTITEMLVL1,">a>span"))).filter((function(e){return e.innerHTML.search(t.CONST.BREAKIDENTIFIER)>0})).map((function(e){return e.dataset.brokenStr=e.innerHTML.split(t.CONST.BREAKIDENTIFIERSPACES).join(t.CONST.BREAKREPLACEMENT).trim(),e.dataset.unifiedStr=e.innerHTML.replace(t.CONST.BREAKIDENTIFIERWORD,"").replace(t.CONST.BREAKIDENTIFIERSPACES," ").trim(),e}))}},{key:"insertWordBreak",value:function(){this.brokenWords.forEach((function(t){t.innerHTML=t.dataset.brokenStr,t.title=t.dataset.unifiedStr}))}},{key:"removeWordBreak",value:function(){this.brokenWords.forEach((function(t){t.innerHTML=t.dataset.unifiedStr,t.title=t.dataset.unifiedStr}))}},{key:"resetNavigation",value:function(){if(this.main.remove(),this.customer.remove(),null!==this.mobileMenuButton?(t.removeAndNull(this.mobileMenuButton),this.main.querySelectorAll(".".concat(this.CONST.SNLINK)).length>0&&this.main.querySelectorAll(".".concat(this.CONST.SNLINK)).remove()):null!==this.pageOverlay&&null!==this.pageOverlay.node&&t.removeAndNull(this.pageOverlay.node),this.navigationArea.style.height="",this.el.appendChild(this.backupCustomer),this.el.appendChild(this.backupMain),this.setupDefaults(),this.stickyNaviConfigured&&window.removeEventListener("scroll",this.handleStickyNavigation),this.searchBox){var e=this.searchBox.getElementsByClassName("wkn-searchbox")[0],i=document.getElementsByClassName("wkn-searchbox-wrapper")[0];e&&i&&i.appendChild(e)}u(o.default.query('[data-comp="calltoaction"]',this.el)).forEach((function(t){new s.default(t).init()}))}},{key:"createMobileCorporateNavigation",value:function(){var t=u(document.getElementsByClassName("corporate-navigation__dropdown-item")),e=t.length>0?t[0]:null;if(e){var i=e.cloneNode(!0),n=document.createElement("div"),r=document.createElement("ul");i.className="".concat(this.CONST.LISTITEM," ").concat(this.CONST.LISTITEMLVL1," ").concat(this.CONST.HASSUBPAGES),n.className="".concat(this.CONST.FLYOUT," ").concat(this.CONST.FLYOUTLVL1),r.className="".concat(this.CONST.LIST," ").concat(this.CONST.LISTLVL2);for(var o=0;o<t.length;o++)t[o].className="".concat(this.CONST.LISTITEM," ").concat(this.CONST.LISTITEMLVL2),u(t[o].getElementsByTagName("a"))[0].className="",r.appendChild(t[o]);n.appendChild(r),i.appendChild(n),u(this.main.getElementsByClassName(this.CONST.LISTLVL1))[0].appendChild(i),this.mainLi=u(this.main.getElementsByClassName(this.CONST.LISTITEM)),this.flyouts=u(this.main.getElementsByClassName(this.CONST.FLYOUT))}}},{key:"createMobileServiceNavigation",value:function(){var t,e=document.querySelectorAll("#service-navigation .".concat(this.CONST.SNLINK));if(!(e.length<=0))for(var i=0;i<e.length;i++){var n=document.createElement("li");n.className="".concat(this.CONST.LISTITEM," ").concat(this.CONST.LISTITEMLVL1," ").concat(this.CONST.SNLINK),(t=e[i].querySelector("a").cloneNode(!0)).className="",t.innerHTML=t.querySelector("span").innerHTML,n.appendChild(t),this.main.querySelectorAll(".".concat(this.CONST.LISTLVL1))[0].appendChild(n)}}},{key:"createMobileWknSearchBox",value:function(){var t=document.getElementsByClassName("wkn-searchbox")[0];t&&this.searchBox.insertBefore(t,this.searchBox.firstElementChild)}},{key:"removeMobileOverviewLinks",value:function(){for(var t=this.main.querySelectorAll(".".concat(this.CONST.OVERVIEWCLASS)),e=0;e<t.length;e++)t[e].remove()}},{key:"createMobileOverviewLinks",value:function(){for(var t=0;t<this.mainLi.length;t++)if(this.mainLi[t].classList.contains(this.CONST.HASSUBPAGES)&&!this.mainLi[t].classList.contains(this.CONST.NOTCLICKABLE)&&!this.mainLi[t].classList.contains(this.CONST.VISUALLYHIDDEN)){var e=this.mainLi[t],i=document.createElement("li"),n=e.querySelectorAll("a")[0].cloneNode();n.innerHTML=this.CONST.OVERVIEWTEXT,n.classList.add(this.CONST.LISTLINKTITLE),i.className=" ".concat(this.CONST.LISTITEM," ").concat(this.CONST.OVERVIEWCLASS),e.classList.contains(this.CONST.LISTITEMLVL1)?(i.classList.add(this.CONST.LISTITEMLVL2),n.classList.remove(this.CONST.LISTLINKLVL1),n.classList.add(this.CONST.LISTLINKLVL2),n.classList.add(this.CONST.LISTLINKTITLELVL2)):e.classList.contains(this.CONST.LISTITEMLVL2)&&(i.classList.add(this.CONST.LISTITEMLVL3),n.classList.remove(this.CONST.LISTLINKLVL2),n.classList.add(this.CONST.LISTLINKLVL3),n.classList.add(this.CONST.LISTLINKTITLELVL3)),i.appendChild(n),e.querySelectorAll(".".concat(this.CONST.LIST))[0].insertBefore(i,e.querySelectorAll(".".concat(this.CONST.LISTITEM))[0])}}},{key:"createMobileNavigationButton",value:function(){this.mobileMenuButton=document.createElement("button");var t=document.createElement("span");this.mobileMenuButton.className="btn btn--plain btn--plain-icon ".concat(this.CONST.MENUCLASS),t.className="btn-icon ".concat(this.CONST.MENUICONCLASS),this.mobileMenuButton.appendChild(t),this.headerArea.querySelector(".header-comp--right").insertAdjacentElement("afterbegin",this.mobileMenuButton)}},{key:"mobileMenuButtonListener",value:function(){this.mobileMenuOpen?this.closeMobileMenu():(this.openMobileMenu(),Object(l.a)(0)),this.toggleMobileButtonIcon()}},{key:"bindMobileMenuButtonEvent",value:function(){this.mobileMenuButton.addEventListener("click",this.mobileMenuButtonListener.bind(this)),this.searchBoxTriggerIcon&&this.searchBoxTriggerIcon.addEventListener("click",this.handleSearchBox.bind(this))}},{key:"handleSearchBox",value:function(){this.mobileMenuOpen&&(this.closeMobileMenu(),this.toggleMobileButtonIcon())}},{key:"closeMobileMenu",value:function(){var t=this;this.el.parentNode.style.height="".concat(this.el.offsetHeight,"px"),this.headerArea&&this.headerArea.classList.remove(this.CONST.NAVAREAOPENMOBILE),setTimeout((function(){t.el.parentNode.style.height=0,t.mobileMenuOpen=!1}),10)}},{key:"openMobileMenu",value:function(){var t=this;this.el.parentNode.style.height="".concat(this.el.offsetHeight,"px"),this.headerArea&&this.headerArea.classList.add(this.CONST.NAVAREAOPENMOBILE),setTimeout((function(){t.el.parentNode.style.height="auto",t.mobileMenuOpen=!0}),this.CONST.ANIMATIONDURATION)}},{key:"toggleMobileButtonIcon",value:function(){var t=this.mobileMenuButton.querySelectorAll("span")[0];t.classList.contains(this.CONST.MENUICONCLASS)?(t.classList.add(this.CONST.CLOSEICONCLASS),t.classList.remove(this.CONST.MENUICONCLASS)):(t.classList.remove(this.CONST.CLOSEICONCLASS),t.classList.add(this.CONST.MENUICONCLASS))}},{key:"isOffsetNeeded",value:function(t){t.classList.add("clicked");var e=o.default.getAllSiblings(t),i=o.default.getIndexByClass(e,"clicked");return t.classList.remove("clicked"),o.default.getIndexByClass(e,this.CONST.ACTIVE)<=i}},{key:"bindMobileNavigationEvent",value:function(){for(var e=this.mobileNavigationListHandler.bind(this),i=0;i<this.mainLi.length;i++)this.mainLi[i].addEventListener("click",e);var n=this.customer.querySelectorAll("li.".concat(this.CONST.CURRENT))[0];n&&(this.customerList.style.marginTop="-".concat(t.calculateNaviOffset(n),"px"),n.addEventListener("click",this.mobileNavigationGrayBoxHandler.bind(this)))}},{key:"mobileNavigationListHandler",value:function(t){var e,i=t.target||t.srcElement,n=i.parentNode;n.classList.contains(this.CONST.LISTITEM)||(n=n.closest(".".concat(this.CONST.LISTITEM)));var r=n.closest(".".concat(this.CONST.LIST)).querySelectorAll(".".concat(this.CONST.LISTITEM,".").concat(this.CONST.ACTIVE)),a=this.headerArea.offsetHeight;if(this.isOffsetNeeded(n)&&r.length&&(a+=r[0].querySelectorAll("ul")[0].offsetHeight),n.classList.contains(this.CONST.ACTIVE)||(e=o.default.getElementOffsetTop(n)+o.default.getDocumentOffsetTop()-a,Object(l.a)(e)),!n.classList.contains(this.CONST.HASSUBPAGES))return!1;t.preventDefault(),t.stopPropagation();var s=n.querySelectorAll(".".concat(this.CONST.FLYOUT))[0],c=i.closest(".".concat(this.CONST.FLYOUT));return n.classList.contains(this.CONST.ACTIVE)?this.closeMobileNavigation(n,s,c):this.openMobileNavigation(n,s,c),!0}},{key:"mobileNavigationGrayBoxHandler",value:function(e){var i=e.target||e.srcElement;i.parentNode.classList.contains(this.CONST.CURRENT)&&!this.customer.classList.contains(this.CONST.ACTIVE)&&(e.preventDefault(),e.stopPropagation());var n=null;this.customer.classList.contains(this.CONST.ACTIVE)?(n="",this.customerList.style.marginTop="-".concat(t.calculateNaviOffset(i),"px")):(this.customerList.style.marginTop="",n="".concat(this.customerList.offsetHeight,"px")),this.customer.style.height=n,this.customer.classList.toggle(this.CONST.ACTIVE)}},{key:"closeMobileNavigation",value:function(e,i,n){var r=this;if(e.classList.remove(this.CONST.ACTIVE),i.classList.contains(this.CONST.FLYOUTLVL1)){var a=null;i.style.height="".concat(i.offsetHeight,"px"),clearTimeout(a),a=setTimeout((function(){i.style.height=0,o.default.removeClassFromSelection(e.querySelectorAll(".".concat(r.CONST.LISTITEM)),r.CONST.ACTIVE),t.removeStyleProperty(r.flyouts,"height")}),10)}else n&&(n.style.height="auto"),i.style.height=0}},{key:"openMobileNavigation",value:function(e,i,n){var r=null;o.default.removeClassFromSelection(e.closest(".".concat(this.CONST.LIST)).querySelectorAll(".".concat(this.CONST.LISTITEM)),this.CONST.ACTIVE),t.removeStyleProperty(this.flyouts,"height"),e.classList.add(this.CONST.ACTIVE);var a=i.querySelectorAll(".".concat(this.CONST.LIST))[0].offsetHeight||0;n&&(n.style.height="auto",clearTimeout(r),r=setTimeout((function(){n.style.height="".concat(n.offsetHeight,"px")}),1.5*this.CONST.ANIMATIONDURATION)),i.style.height="".concat(a,"px")}},{key:"restyleNavigationButtonsOnMobile",value:function(){var t=this;if(this.$onlineBankingWrapper){var e=this.$onlineBankingWrapper.getElementsByClassName("btn--navi")[0];this.$navigationButtons.forEach((function(i){if(i.classList.contains("btn--primary")){if(0===t.$onlineBankingWrapper.childElementCount){var n=i.cloneNode(!0);u(i.classList).filter((function(e){return!t.CONST.buttonClassRegex.test(e)})).forEach((function(t){return n.classList.remove(t)})),["btn--small","btn--navi"].forEach((function(t){return n.classList.add(t)})),t.$onlineBankingWrapper.appendChild(n),e=n}e&&(e.style.display="",i.style.display="none")}t.removeButtonStyles(i)}))}}},{key:"removeButtonStyles",value:function(t){var e=this,i=u(t.classList).filter((function(t){return e.CONST.buttonClassRegex.test(t)}));t.dataset.desktopClasses=i.join(" "),i.forEach((function(e){return t.classList.remove(e)}))}},{key:"restyleNavigationButtonsOnDesktop",value:function(){if(this.$onlineBankingWrapper){var e=this.$onlineBankingWrapper.getElementsByClassName("btn--navi")[0];e&&(e.style.display="none")}this.$navigationButtons.forEach((function(e){return t.restoreButtonStyles(e)}))}},{key:"bindDesktopEvents",value:function(){for(var t=this,e=null,i=null,n=function(t){var e=this;t.stopPropagation(),clearTimeout(i),i=setTimeout((function(){var i=t.target||t.srcElement,n=i.closest("li.".concat(e.CONST.LISTITEM));return!(!n.classList.contains(e.CONST.LISTITEMLVL1)||i.classList.contains(e.CONST.FLYOUTLVL1)||n.classList.contains(e.CONST.ACTIVE)&&"mouseenter"===t.type||(n.querySelectorAll(".".concat(e.CONST.LISTLVL2)).length?(n.classList.contains(e.CONST.ACTIVE)||n.classList.contains(e.CONST.HASONLYHIDDENENTRIES)?i.closest(".".concat(e.CONST.FLYOUT))||e.toggleFlyout(n,"close"):e.toggleFlyout(n,"open"),1):(e.toggleFlyout(null,"close"),1)))}),this.CONST.HOVERNAVDELAY),("click"===t.type&&!t.target.closest(".".concat(this.CONST.FLYOUT))&&t.target.closest(".".concat(this.CONST.HASSUBPAGES))||t.target.closest(".".concat(this.CONST.LISTITEM)).classList.contains(this.CONST.NOTCLICKABLE)&&!t.target.closest(".nav-main__snippets--right")&&!t.target.closest(".nav-main__snippets--bottom"))&&t.preventDefault()}.bind(this),r=0;r<this.mainLiLvl1.length;r++)this.mainLiLvl1[r].addEventListener("click",n),this.mainLiLvl1[r].addEventListener("mouseenter",n),this.hasOnlyHiddenNavEntries(this.mainLiLvl1[r])&&this.mainLiLvl1[r].classList.add(this.CONST.HASONLYHIDDENENTRIES);this.main.addEventListener("mouseenter",(function(){clearTimeout(e)})),this.main.addEventListener("mouseleave",(function(){clearTimeout(i);for(var n=0;n<t.mainLiLvl1.length;n++)if(t.mainLiLvl1[n].classList.contains(t.CONST.ACTIVE))return clearTimeout(e),e=setTimeout((function(){t.toggleFlyout(null,"close")}),t.CONST.DESKTOPCLOSEDELAY),!1;return!1})),document.querySelector(".page-overlay").addEventListener("click",(function(i){t.main.querySelector(".".concat(t.CONST.ACTIVE))&&(i.target.closest(".".concat(t.CONST.NAVMAIN))||(clearTimeout(e),t.toggleFlyout(null,"close")))})),this.stickyNaviConfigured&&window.addEventListener("scroll",this.handleStickyNavigation)}},{key:"handleStickyNavigation",value:function(){(window.scrollY||window.pageYOffset)>=this.naviTopPosition?this.main.classList.contains("nav-main--fixed")||(this.main.classList.add("nav-main--fixed"),this.headerArea.classList.add("header-area--fixed")):this.main.classList.contains("nav-main--fixed")&&(this.main.classList.remove("nav-main--fixed"),this.headerArea.classList.remove("header-area--fixed"))}},{key:"addStructureClasses",value:function(){for(var t=0;t<this.mainLi.length;t++)this.mainLi[t].querySelectorAll(".".concat(this.CONST.FLYOUT))[0]&&!this.hasOnlyHiddenNavEntries(this.mainLi[t])&&this.mainLi[t].classList.add(this.CONST.HASSUBPAGES);return null}},{key:"toggleFlyout",value:function(t,e){if(this.main.style.height="","close"===e)o.default.removeClassFromSelection(this.mainLiLvl1,this.CONST.ACTIVE),this.pageOverlay.toggleVisibility("hide"),this.main.classList.remove(this.CONST.NAVMAINOPEN);else{this.pageOverlay.toggleVisibility(),o.default.removeClassFromSelection(this.mainLiLvl1,this.CONST.ACTIVE),t.classList.add(this.CONST.ACTIVE);var i=t.querySelectorAll(".".concat(this.CONST.LISTLVL2))[0].offsetHeight,n=t.querySelectorAll(".".concat(this.CONST.NAVBTMSNIPPETS)),r=n.length>0?o.default.getOuterHeight(n[0]):0;this.main.style.height="".concat(i+r+this.CONST.NAVMAINHEIGHT,"px"),this.main.classList.add(this.CONST.NAVMAINOPEN)}}},{key:"hasOnlyHiddenNavEntries",value:function(t){return t.querySelectorAll(".".concat(this.CONST.LISTITEM)).length===t.querySelectorAll(".".concat(this.CONST.VISUALLYHIDDEN)).length}}])&&h(e.prototype,i),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=f},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.innerWrapper=this.el.getElementsByClassName("on-page-disclaimer__inner")[0],this.cookieName=this.innerWrapper.dataset.disclaimerName||"",this.cookieState=!1,this.buttonWrapper=this.innerWrapper.getElementsByClassName("on-page-disclaimer__button-wrapper")[0],this.button=this.buttonWrapper.getElementsByClassName("btn")[0],this.mandatoryCheckboxWrapper=this.innerWrapper.getElementsByClassName("on-page-disclaimer__mandatory-checkbox-wrapper"),this.mandatoryExtraButtonWrapper=this.innerWrapper.getElementsByClassName("on-page-disclaimer__mandatory-extra-button-wrapper"),this.mandatoryCheckbox=void 0,this.mandatoryExtraButton=void 0,this.disclaimerContent=this.innerWrapper.getElementsByClassName("on-page-disclaimer__content")[0],this.revealContent=this.innerWrapper.getElementsByClassName("on-page-disclaimer__real-content")[0]}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t=this;""!==this.cookieName&&(this.cookieState=n.default.getCookie(this.cookieName)),this.cookieState?this.revealOrOpen():(this.mandatoryCheckboxWrapper&&this.mandatoryCheckboxWrapper.length>0&&(this.mandatoryCheckbox=this.mandatoryCheckboxWrapper[0].getElementsByTagName("input")[0],this.mandatoryCheckbox.addEventListener("change",(function(){t.updateButtonState()}))),this.mandatoryExtraButtonWrapper&&this.mandatoryExtraButtonWrapper.length>0&&(this.mandatoryExtraButton=this.mandatoryExtraButtonWrapper[0].getElementsByClassName("btn"),this.mandatoryExtraButton&&this.mandatoryExtraButton.length>0&&(this.mandatoryExtraButton=this.mandatoryExtraButton[0],this.mandatoryExtraButton.addEventListener("click",(function(){t.mandatoryExtraButton.classList.add("btn--clicked"),t.updateButtonState(),window.db.General.constructor.addClickHandlerForClassDisclaimerLinks()})))),this.button.addEventListener("click",(function(e){t.button.classList.contains("btn--disabled")?(e.preventDefault(),e.stopPropagation()):(t.cookieState=n.default.setCookie({name:t.cookieName,value:!0,expires:120}),t.revealOrOpen())})),this.updateButtonState())}},{key:"revealOrOpen",value:function(){this.button.hasAttribute("href")&&""!==this.button.getAttribute("href")||(this.disclaimerContent.classList.add("hidden"),this.revealContent.classList.add("on-page-disclaimer__real-content--revealed"))}},{key:"isProcessConditionMet",value:function(){return!(this.mandatoryCheckbox&&!this.mandatoryCheckbox.checked||this.mandatoryExtraButton&&!this.mandatoryExtraButton.classList.contains("btn--clicked"))}},{key:"updateButtonState",value:function(){this.isProcessConditionMet()?(this.button.classList.remove("btn--disabled"),this.button.removeAttribute("disabled")):(this.button.classList.add("btn--disabled"),this.button.setAttribute("disabled",""))}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(23),r=i.n(n);function o(t){return(o="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})(t)}function a(t){return function(t){if(Array.isArray(t))return s(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)return;if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(t,e)}(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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this,e=this.el.getElementsByClassName("page-switch__container")[0],i=this.el.getElementsByTagName("input");if(window.db.isMobile){var n=new r.a(this.el.getElementsByClassName("page-switch__circle")[0]);n.get("swipe").set({direction:r.a.DIRECTION_HORIZONTAL}),n.on("swipeleft",(function(){e.classList.contains("page-switch__container--left")||t.el.getElementsByClassName("page-switch__option--left")[0].click()})),n.on("swiperight",(function(){e.classList.contains("page-switch__container--right")||t.el.getElementsByClassName("page-switch__option--right")[0].click()}))}a(i).forEach((function(t){t.addEventListener("click",(function(t){var i=t.target;if(!i.hasAttribute("checked")){var n="",r="";i.classList.contains("page-switch__option--left")?(n="page-switch__container--left",r="page-switch__container--right"):(n="page-switch__container--right",r="page-switch__container--left"),e.classList.remove(r),e.classList.add(n);var o=i.dataset.link;o&&o.length>0&&(window.location.href=o)}}))}))}}])&&l(e.prototype,i),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=c},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t){return function(t){if(Array.isArray(t))return 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)return;if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(t,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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.promoBanner=e,this.pBClosedCookieState=n.default.getCookie("pb-closed")}var e,i,r;return e=t,r=[{key:"getMobileOSType",value:function(){return window.MobileEsp.isIphone?"ios":window.MobileEsp.isAndroidPhone?"android":"nosupport"}}],(i=[{key:"init",value:function(){this.promoBanner&&"nosupport"!==t.getMobileOSType()&&("1"!==this.pBClosedCookieState?(this.setCorrespondingLinks(),this.promoBanner.parentNode.classList.add("promo-banner--open"),this.promoBanner.getElementsByClassName("pb__btn--close")[0].addEventListener("click",this.handleClosing.bind(this))):this.closeBanner())}},{key:"setCorrespondingLinks",value:function(){var e=this.promoBanner.dataset,i=o(this.promoBanner.getElementsByClassName("pb__link")).slice(0),n=o(this.promoBanner.getElementsByClassName("pb__link--secondary")).slice(0),r={android:e.urlPrimaryAndroid,ios:e.urlPrimaryIos},a={android:e.urlSecondaryAndroid,ios:e.urlSecondaryIos},s=t.getMobileOSType();if("ios"===s||"android"===s)switch(s){case"android":i.forEach((function(t){t.setAttribute("href",r.android)})),n.forEach((function(t){t.setAttribute("href",a.android)}));break;case"ios":i.forEach((function(t){t.setAttribute("href",r.ios)})),n.forEach((function(t){t.setAttribute("href",a.ios)}))}}},{key:"closeBanner",value:function(){this.promoBanner.parentNode.classList.remove("promo-banner--open"),this.promoBanner.remove()}},{key:"handleClosing",value:function(){"1"!==this.pBClosedCookieState&&n.default.setCookie({name:"pb-closed",expires:120}),this.closeBanner()}}])&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0),a=i(79);function s(t){return(s="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})(t)}function l(t){return function(t){if(Array.isArray(t))return c(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)return;if("string"==typeof t)return c(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return c(t,e)}(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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function u(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==s(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===s(o)?o:String(o)),n)}var r,o}var d=[],h=/logo/,f=window.db.logoSuffix||".svg",p={default:-1,desc:0,asc:1},m={interestRate:{initial:p.desc},offerDuration:{initial:p.desc},depositAmount:{initial:p.desc},runtimeStart:{initial:p.asc},offerValidityPeriod:{initial:p.asc},bankName:{initial:p.asc}},v=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e;var i=this.el.getElementsByClassName("rdmp")[0];if(this.config={apiUrl:"/mpOfferings/",i18nUntil:"bis",offerIdFieldName:"offeringId"},i){var n=i.dataset;for(var r in n)n.hasOwnProperty(r)&&(this.config[r]=n[r])}this.listContainer=this.el.getElementsByClassName("rdmp__offer-container")[0],this.template=this.el.getElementsByClassName("rdmp__offering-wrapper--template")[0]}var e,i,n;return e=t,n=[{key:"parseMultipleDataPaths",value:function(e,i){return"string"!=typeof i?[]:i.split(",").filter((function(t){return t&&t.trim().length>0})).map((function(i){return t.parseDataPath(e,i)}))}},{key:"parseDataPath",value:function(t,e){var i={path:e,fieldName:e};if("object"!==s(t)||"string"!=typeof e)return i;var n=e.split("."),r=n.length;if(r>1){var o=n[r-1];i.fieldName=o;for(var a,l=t,c=0,u="";c<r;)l=l[u=n[c]],o===u&&(a=l),c++;void 0!==a&&(i.data=a)}else i.data=t[e];return i}},{key:"getDefaults",value:function(e){var i={},n=p[e.authorOrder];return t.useAuthorConfig({config:e,sortOrder:n})&&(i.sortField=e.authorSort,i.nextState=n),i}},{key:"getProductDetail",value:function(e){var i=e.sortField,n=e.offerDetails,r=null;switch(i){case"interestRate":r=n.productTranche.interestRate;break;case"offerDuration":r=n.product.durationInMonth;break;case"depositAmount":r=t.getAmount(n.productTranche.maximumInvestmentAmount);break;case"productType":r=n.product.type;break;case"runtimeStart":r=n.productTranche.startDate;break;case"offerValidityPeriod":r=n.productTranche.offerPhaseEndDate;break;case"bankName":r=n.productBank.name;break;default:r=""}return r}},{key:"parseDuration",value:function(t){var e="Monat";return Number.isInteger(t)&&t>=12&&t%12==0&&(e="Jahr",t/=12),"".concat(t," ").concat(e).concat(1===t?"":"e")}},{key:"removeBindings",value:function(t){for(;t.length>0;){var e=t.pop();e&&e[0].removeEventListener(e[1],e[2])}}},{key:"sortForOperator",value:function(t){var e=t.operator,i=t.op1,n=t.op2,r=0;return e===p.desc?r=i>n?-1:1:e===p.asc&&(r=n>i?-1:1),r}},{key:"toggleSortState",value:function(e){var i=e.header,n=e.states,r=e.sortField,o=e.rdmpInstance,a=null,s=t.getCurrentState({header:i}),l=s===n.initial;switch(s){case p.default:a=n.initial;break;case p.asc:l&&(a=p.desc);break;case p.desc:l&&(a=p.asc);break;default:a=p.default}t.updateUIState({elem:i,sort:a}),t.removeBindings(o.handlers);var c=p[o.config.authorOrder];t.useAuthorConfig({config:o.config,sortOrder:c})&&t.isStateDefault(a)&&(a=c,r=o.config.authorSort),o.getOffers({sortField:r,nextState:a,filteringData:o.slider.config})}},{key:"useAuthorConfig",value:function(t){var e=t.config,i=t.sortOrder;return!!e.authorSort&&e.authorSort.length>0&&e.availableFilters.includes(e.authorSort)&&void 0!==i&&i!==p.default}},{key:"isStateDefault",value:function(t){return null==t||t===p.default}},{key:"getCurrentState",value:function(t){var e=t.header,i=p.default;return e&&e.classList.contains("rdmp__table-cell--header-active")&&(i=e.classList.contains("rdmp__table-cell--header-up")?p.asc:p.desc),i}},{key:"updateUIState",value:function(t){var e=t.elem,i=t.sort;switch(void 0===i?p.default:i){case p.asc:e.classList.add("rdmp__table-cell--header-active"),e.classList.add("rdmp__table-cell--header-up");break;case p.desc:e.classList.remove("rdmp__table-cell--header-up"),e.classList.add("rdmp__table-cell--header-active");break;default:e.classList.remove("rdmp__table-cell--header-active"),e.classList.remove("rdmp__table-cell--header-up")}}},{key:"closeOffer",value:function(t){var e=t.offer,i=t.offerFooter;e.classList.remove("rdmp__offering--fixed"),e.style.top="",e.classList.remove("rdmp__offering--scrolling"),i.style.paddingTop=""}},{key:"updateOfferingsOffsetTop",value:function(t){for(var e=t.allOfferings,i=t.startPoint,n=void 0===i?0:i;n<e.length;n++)d[n]=o.default.findPos(e[n]).top}},{key:"buildAssetLink",value:function(e){var i=e.baseUrl,n=e.offerId,r=e.apiCallString,o=void 0===r?"/productInformationDocument":r,a=e.useDamJson;if(void 0!==a&&a)return o;var s=t.stripSlashes(i,!0),l=t.stripSlashes(o),c=t.stripSlashes(n),u=".pdf";return h.test(o)&&(u=f),"".concat(s,"/").concat(l,"/").concat(c).concat(u)}},{key:"stripSlashes",value:function(t,e){return"string"!=typeof t||0===t.length?t:e?t.endsWith("/")?t.substring(0,t.length-1):t:t.replace("/","")}},{key:"buildUntilString",value:function(t){var e=t.from,i=t.to,n=t.until;return"".concat(e," ").concat(n," ").concat(i)}},{key:"buildDateString",value:function(t){var e=new RegExp(/(\d{4})-(\d{2})-(\d{2})/).exec(t);return e?"".concat(e[3],".").concat(e[2],".").concat(e[1]):t}},{key:"alignTableHeadDimensions",value:function(t){var e=t.allOfferings,i=t.tableHead,n=e[1];if(!n)return!1;var r=n.getElementsByClassName("rdmp__table-cell"),a=[],s=o.default.findPos(n).left;if(!o.default.isVisible(i))return!1;for(var c=1;c<r.length-1;c++){var u=o.default.findPos(r[c]).left,d=u-s;a.push(d),s=u}return l(i.getElementsByClassName("rdmp__table-cell")).forEach((function(t,e){t.style.width="".concat(a[e],"px")})),!0}},{key:"updateFragmentContext",value:function(t){var e=t.nodes,i=t.newContent;e&&l(e).forEach((function(t){t.textContent=i}))}},{key:"formatNumberValue",value:function(t){var e=t.value,i=t.decimalPlaces,n=void 0===i?2:i;return"number"!=typeof e?e:new Intl.NumberFormat("de-DE",{minimumFractionDigits:n,maximumFractionDigits:n}).format(e)}},{key:"updateList",value:function(e){var i=e.offers,n=e.container,r=e.template,a=e.fixedInformation,s=document.createDocumentFragment();i.forEach((function(e){var i=r.cloneNode(!0),n=a.i18nUntil,c=e.productTranche,u=c.maximumInvestmentAmount,d=c.minimumInvestmentAmount;i.classList.remove("rdmp__offering-wrapper--template"),t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__interest-rate--value"),newContent:"".concat(t.formatNumberValue({value:c.interestRate}),"%")}),t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__duration"),newContent:t.parseDuration(e.product.durationInMonth)});var h=t.buildUntilString({from:t.buildDateString(c.startDate),to:t.buildDateString(c.endDate),until:n});t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__duration--date"),newContent:h});var f=t.buildAssetLink({baseUrl:a.apiUrl,offerId:e.offeringId,apiCallString:e.productBank.logo,useDamJson:a.useDamJson});l(i.getElementsByClassName("rdmp__bank-image")).forEach((function(t){var e=new window.Image;e.src=f,t.appendChild(e)})),t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__bank-name"),newContent:e.productBank.name});var p=t.buildUntilString({from:"",to:t.buildDateString(c.offerPhaseEndDate),until:n});t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__signup-period"),newContent:p});var m=t.buildUntilString({from:o.default.localizeValue({value:d.value,numberOfDecimals:d.numberOfDecimals,currencyCode:d.currencyCode}),to:o.default.localizeValue({value:u.value,numberOfDecimals:u.numberOfDecimals,currencyCode:u.currencyCode}),until:n});t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__amount"),newContent:m});var v=i.getElementsByClassName("rdmp__product-information-link"),y=t.buildAssetLink({baseUrl:a.apiUrl,offerId:e.offeringId,apiCallString:e.productTranche.productInformationDocument.productInformationDocument,useDamJson:a.useDamJson});v&&l(v).forEach((function(t){t.setAttribute("href",y)}));var g=t.parseMultipleDataPaths(e,a.offerIdFieldName);l(i.getElementsByClassName("rdmp__offer-target-link")).forEach((function(t){var e=t.parentNode;g.forEach((function(t){return e.setAttribute("href",o.default.addURLParam(e.href,t.fieldName,t.data))}))})),t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__type"),newContent:e.product.type}),t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__runtime-start"),newContent:"ab ".concat(t.buildDateString(c.startDate))}),t.updateFragmentContext({nodes:i.getElementsByClassName("rdmp__country"),newContent:e.productBank.countryDepositProtection.country}),s.appendChild(i)})),o.default.emptyElement(n),n.appendChild(s),o.default.getAjax(a.countries,(function(e){if(e)try{var i=JSON.parse(e);t.updateCountryNames({countryNodes:n.querySelectorAll(".rdmp__country"),i18n:i})}catch(t){}}),(function(t){}))}},{key:"updateCountryNames",value:function(t){var e=t.countryNodes,i=void 0===e?document.querySelectorAll(".rdmp__country"):e,n=t.i18n;n&&l(i).forEach((function(t){var e=t.textContent,i=n.find((function(t){return t.code===e}));i&&(t.textContent=i.name)}))}},{key:"getAmount",value:function(t){return parseInt(t.value.substring(0,t.value.length-t.numberOfDecimals),10)}},{key:"isAmountValid",value:function(t){return!!(t&&t.value&&t.numberOfDecimals&&t.currencyCode)}},{key:"isDocumentValid",value:function(t){return!!t.productInformationDocument}},{key:"isOfferValid",value:function(e){if(e&&e.offeringId&&e.productTranche&&e.product&&e.productBank){var i=e.productTranche;if(!(i.interestRate&&i.identifier&&t.isDocumentValid(i.productInformationDocument)&&t.isAmountValid(i.minimumInvestmentAmount)&&t.isAmountValid(i.maximumInvestmentAmount)))return!1;var n=e.product;if(!n.durationInMonth||!n.type||!n.currencyUnit)return!1;var r=e.productBank;return!(!r.bic||!r.name)}return!1}}],(i=[{key:"init",value:function(){this.handlers=[],this.slider=new a.default,this.applyAuthorDefaultsGetOffers()}},{key:"getOffers",value:function(e){var i=this,n=e.sortField,r=void 0===n?"":n,a=e.nextState,s=void 0===a?p.default:a,l=e.filteringData,c=void 0===l?null:l;o.default.getAjax(this.config.offers,(function(e){if(e)try{var n=e.replace(/"([\w-]+)":/g,(function(t,e){return'"'.concat(e.charAt(0).toLowerCase()).concat(e.substring(1,e.length),'":')})),o=JSON.parse(n),a=[];if(o.offerings&&0===o.offerings.length)return void i.createNotification();o.offerings.forEach((function(t){var e=t.product.durationInMonth;a.includes(e)||a.push(e)}));var l=Math.min.apply(Math,a),u=Math.max.apply(Math,a);i.sortField=r,i.nextState=s;var d={values:a,valueFormatter:t.parseDuration,updateCallback:function(t){return i.getOffers({sortField:i.sortField,nextState:i.nextState,filteringData:t})}};c&&(c.minValue&&(l=c.minValue),c.maxValue&&(u=c.maxValue),d=c),i.slider.init(document.querySelector(".range-picker"),d),i.config.useDamJson=o.useDamJson;var h=o.offerings.filter(t.isOfferValid).filter((function(t){var e=t.product.durationInMonth;return l<=e&&e<=u}));r.length>0&&null!==s&&h.sort((function(e,i){return t.sortForOperator({operator:s,op1:t.getProductDetail({sortField:r,offerDetails:e}),op2:t.getProductDetail({sortField:r,offerDetails:i})})})),t.updateList({offers:h,container:i.listContainer,template:i.template,fixedInformation:i.config}),i.setupControls(),window.db&&window.db.createTrackValues&&window.db.createTrackValues(".".concat("rdmp__offer-container"))}catch(t){i.createNotification()}else i.createNotification()}),(function(t){i.createNotification()}))}},{key:"createNotification",value:function(){if(!this.el.getElementsByClassName("notification")[0]){var t=document.createElement("p");t.textContent="Neue, attraktive Festgeldangebote stehen in Kürze wieder für Sie bereit.",t.classList.add("notification"),this.el.getElementsByClassName("rdmp")[0].classList.add("rdmp--empty"),this.listContainer.appendChild(t)}}},{key:"applyAuthorDefaultsGetOffers",value:function(){var e=l(document.querySelectorAll("[data-filter-type]"));this.config.availableFilters=e.map((function(t){return t.dataset.filterType})),this.getOffers(t.getDefaults(this.config))}},{key:"setupControls",value:function(){var e=this.el,i=l(e.getElementsByClassName("rdmp__offering")),n=i.map((function(t){return t.parentElement})),r=e.getElementsByClassName("rdmp__table-head")[0];this.addOfferClickHandler({allOfferings:i,allOfferingWrappers:n}),this.addSortingHandlers(e),t.alignTableHeadDimensions({allOfferings:i,tableHead:r});var a=o.default.getWindowWidth(),s=o.default.getWindowHeight(),c=o.default.debounce((function(){(o.default.getWindowWidth()<o.default.bp().M&&a<o.default.bp().M&&a!==o.default.getWindowWidth()||o.default.getWindowHeight()!==s)&&t.updateOfferingsOffsetTop({allOfferings:n}),a=o.default.getWindowWidth(),s=o.default.getWindowHeight(),t.alignTableHeadDimensions({allOfferings:i,tableHead:r})}),100);window.addEventListener("resize",c),this.handlers.push([window,"resize",c]),this.addScrollHandler({allOfferings:i,allOfferingWrappers:n})}},{key:"addSortingHandlers",value:function(e){var i=this,n=l(e.getElementsByClassName("rdmp__table-cell--header"));n.forEach((function(e){var r=e.dataset.filterType;if(r&&""!==r){var o=function(o){n.filter((function(t){return o.currentTarget!==t})).forEach((function(e){return t.updateUIState({elem:e})})),t.toggleSortState({header:e,states:m[r],sortField:r,rdmpInstance:i})};e.addEventListener("click",o),i.handlers.push([e,"click",o])}}))}},{key:"addScrollHandler",value:function(e){var i=this,n=e.allOfferings,a=e.allOfferingWrappers,s=-1,l=function(){var e=window.db.General.stickyHelper.getFixedElementsHeights();n.forEach((function(i,n){var r=d[n]-e,a=o.default.getClientHeight(i),s=i.parentElement,l=o.default.getClientHeight(s),c=s.getElementsByClassName("rdmp__offering-footer")[0],u=c.getElementsByClassName("rdmp__button-container-fixed-area")[0],h=o.default.getClientHeight(u);if(s.classList.contains("rdmp__offering-wrapper--opened")&&!(window.pageYOffset>r+l)){var f=window.pageYOffset>r,p=l+r-a,m=window.pageYOffset+window.innerHeight<r+l,v=f&&m;f&&window.pageYOffset<p?(i.classList.add("rdmp__offering--fixed"),i.style.top="".concat(e,"px"),c.style.paddingTop="".concat(a,"px"),i.classList.remove("rdmp__offering--scrolling")):f&&window.pageYOffset>=p?(i.classList.add("rdmp__offering--scrolling"),i.classList.remove("rdmp__offering--fixed"),i.style.top=""):t.closeOffer({offer:i,offerFooter:c}),v?(u.classList.add("rdmp__button-container-fixed-area--fixed"),s.style.paddingBottom="".concat(h,"px")):(u.classList.remove("rdmp__button-container-fixed-area--fixed"),s.style.paddingBottom="")}}))};r.a.register(o.default.mq().M_BELOW,(function(){window.addEventListener("scroll",l),i.handlers.push([window,"scroll",l]),s=i.handlers.length-1,t.updateOfferingsOffsetTop({allOfferings:a})})).register(o.default.mq().M_UP,(function(){window.removeEventListener("scroll",l),i.handlers[s]=null,n.forEach((function(t){t.classList.remove("rdmp__offering--fixed"),t.style.top="",t.classList.remove("rdmp__offering--scrolling");var e=t.parentElement;e.style.paddingBottom="",e.getElementsByClassName("rdmp__offering-footer")[0].style.paddingTop=""}))}))}},{key:"addOfferClickHandler",value:function(e){var i=this,n=e.allOfferings,r=e.allOfferingWrappers;n.forEach((function(e,n){var a=e.parentElement,s=a.getElementsByClassName("rdmp__offering-footer")[0],l=function(i){if(i.target.classList.contains("rdmp__info--dropdown-control")||!(o.default.getWindowWidth()>=o.default.bp().M)){var l=a.getElementsByClassName("rdmp__info--dropdown-control")[0];a.classList.contains("rdmp__offering-wrapper--opened")?(a.classList.remove("rdmp__offering-wrapper--opened"),l.setAttribute("aria-expanded","false")):(a.classList.add("rdmp__offering-wrapper--opened"),l.setAttribute("aria-expanded","true")),a.style.paddingBottom="",t.closeOffer({offer:e,offerFooter:s}),t.updateOfferingsOffsetTop({allOfferings:r,startPoint:n})}};e.addEventListener("click",l),i.handlers.push([e,"click",l])}))}}])&&u(e.prototype,i),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=v},function(t,e,i){"use strict";i.r(e);var n=i(112),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,a,s=[],l=!0,c=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=i.return&&(a=i.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||u(t,e)||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 l(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=u(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}function c(t){return function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(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 u(t,e){if(t){if("string"==typeof t)return d(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var f=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.minChars=3,this.maxItems=5,this.sbWrapper=e.querySelector(".sb__wrapper"),this.searchForm=e.querySelector(".sb__block-search-box form"),this.searchUrl=this.sbWrapper.getAttribute("data-search-url"),this.autoCompletionURL=this.sbWrapper.getAttribute("data-search-auto-completion-url"),this.searchUrlBranch=this.sbWrapper.getAttribute("data-search-url-branch"),this.searchUrlAtm=this.sbWrapper.getAttribute("data-search-url-atm"),this.searchUrlShares=this.sbWrapper.getAttribute("data-search-url-shares"),this.searchBox=document.querySelector(".sb__block-search-box"),this.inputSearch=this.searchBox.querySelector(".input-search"),this.activeSearchFilter="search-content",this.searchOptions=c(e.querySelectorAll('input[name="sb-search-options"]')),this.searchDefaultCategoryId=this.sbWrapper.getAttribute("data-search-category-id"),this.isDB="deutschebank"===document.querySelector("body").dataset.tenantid}var e,i,n;return e=t,(i=[{key:"searchBoxEventHandler",value:function(t){var e=t.target,i=document.querySelector(".sb__block-search-trigger .btn"),n=i.querySelector(".btn-icon"),r=document.querySelector(".sb__block-search-box");if("span"===e.nodeName.toLowerCase()&&(e=e.parentNode),e===i)if(t.preventDefault(),n.classList.contains("icon-magnifying-glass"))if(window.innerWidth<o.default.bp().M&&this.isDB){var a=this.sbWrapper.dataset.searchUrl;window.open(a,"_self")}else r.classList.add("is-open-js"),r.style.top="".concat(window.db.General.stickyHelper.getFixedElementsHeights(r),"px"),n.classList.add("icon-close"),n.classList.remove("icon-magnifying-glass"),this.inputSearch&&this.inputSearch.focus();else r.classList.remove("is-open-js"),n.classList.remove("icon-close"),n.classList.add("icon-magnifying-glass");e===i||o.default.isChildOf(e,r)||r.classList.contains("sb__block-search-box--extern")||(r.classList.remove("is-open-js"),n.classList.remove("icon-close"),n.classList.add("icon-magnifying-glass")),"input-search"===e.id||e.classList.contains("awesomplete-wrapper")?r.classList.add("has-focus"):r.classList.remove("has-focus")}},{key:"handleFormSubmit",value:function(t){t.preventDefault(),t.stopPropagation();var e,i=new FormData(this.searchForm),n=new URL(this.searchForm.action),r=l(n.searchParams);try{for(r.s();!(e=r.n()).done;){var o=s(e.value,2),a=o[0],c=o[1];"string"==typeof c&&""===c.trim()&&n.searchParams.delete(a)}}catch(t){r.e(t)}finally{r.f()}var u,d=l(i);try{for(d.s();!(u=d.n()).done;){var h=s(u.value,2),f=h[0],p=h[1];n.searchParams.set(f,p)}}catch(t){d.e(t)}finally{d.f()}window.location.href=n.toString().replace("+","%20")}},{key:"addSearchBoxEvents",value:function(){document.addEventListener("click",this.searchBoxEventHandler.bind(this),!1),this.searchForm.addEventListener("submit",this.handleFormSubmit.bind(this),!1)}},{key:"initAwesomplete",value:function(){var t=this,e=this.inputSearch,i=this.autoCompletionURL;i=o.default.addURLParam(i,"completionListId","1"),i=o.default.addURLParam(i,"maxResults",this.maxItems),i=o.default.addURLParam(i,"sort","true");var n=new r.a(e,{autoFirst:!0,minChars:this.minChars,maxItems:this.maxItems,data:function(t){return{label:t.title,value:t.url}},item:function(t,e){var i=document.createElement("li"),n=document.createElement("a");return n.setAttribute("title",t.label),n.innerHTML=t.label.replace(new RegExp(o.default.escapeRegExp(e.trim()),"gi"),"<mark>$&</mark>"),i.appendChild(n),i}});e.addEventListener("awesomplete-select",(function(i){i.preventDefault(),window.location.href=o.default.addURLParam(t.searchUrl,"query",e.value)}));var a=/^\[,/,s=function(e){var i=!e||a.test(e)?[]:JSON.parse(e);n.list=i.map((function(e){return{title:e,url:o.default.addURLParam(t.searchUrl,"q",e)}}))};e.addEventListener("keydown",o.default.debounce((function(n){n.altKey||n.ctrlKey||n.shiftKey&&"Shift"===n.key||e.value.length>=t.minChars&&"search-content"===t.activeSearchFilter&&o.default.getAjax(o.default.addURLParam(i,"queryText",e.value),s,!0)})),400),this.awesompleteInstance=n}},{key:"initOldAwesomplete",value:function(){var t=this,e=this.inputSearch,i=this.searchUrl;i=o.default.addURLParam(i,"t","short"),i=o.default.addURLParam(i,"cipDescId","dbs"),i=o.default.addURLParam(i,"cipExOut","true");var n=new r.a(e,{autoFirst:!0,minChars:this.minChars,maxItems:this.maxItems,data:function(t){return{label:t.title,value:t.url}},item:function(t,e){var i=document.createElement("li"),n=document.createElement("a");return n.setAttribute("href",o.default.addURLParam(t.value,"t","query")),n.setAttribute("title",t.label),n.innerHTML=t.label.replace(new RegExp(o.default.escapeRegExp(e.trim()),"gi"),"<mark>$&</mark>"),i.appendChild(n),i}});e.addEventListener("awesomplete-select",(function(i){i.preventDefault();var n=o.default.addURLParam(t.searchUrl,"t","query");window.location.href=o.default.addURLParam(n,t.inputSearch.name,e.value)}));var a=/^\[,/,s=function(t){n.list=!t||a.test(t)?[]:JSON.parse(t)};e.addEventListener("keydown",o.default.debounce((function(n){n.altKey||n.ctrlKey||n.shiftKey&&"Shift"===n.key||e.value.length>=t.minChars&&"search-content"===t.activeSearchFilter&&o.default.getAjax(o.default.addURLParam(i,"q",e.value),s,!0)})),400),this.awesompleteInstance=n}},{key:"bindSearchInputEvent",value:function(){var t=this;this.inputSearch.addEventListener("input",(function(){t.inputSearch.value.length>0?t.inputSearch.classList.add("is-not-empty-js"):t.inputSearch.classList.remove("is-not-empty-js")}))}},{key:"changeFormActionUrl",value:function(t){this.searchForm.setAttribute("action",t)}},{key:"removeHiddenFields",value:function(){this.searchForm.querySelectorAll('input[type="hidden"]').remove()}},{key:"createNewHiddenFieldAndInsertInForm",value:function(t,e,i){var n=document.createElement("input");n.setAttribute("type",t),n.setAttribute("name",e),n.setAttribute("value",i),this.searchForm.insertBefore(n,this.searchForm.firstChild)}},{key:"setSearchFilterAndFormAction",value:function(){switch(this.activeSearchFilter){case"search-content":this.changeFormActionUrl(this.searchUrl),this.removeHiddenFields(),this.inputSearch.setAttribute("name","query");break;case"search-branch":this.changeFormActionUrl(this.searchUrlBranch),this.removeHiddenFields(),this.createNewHiddenFieldAndInsertInForm("hidden","label","BRANCH"),this.inputSearch.setAttribute("name","searchterm");break;case"search-atm":this.changeFormActionUrl(this.searchUrlAtm),this.removeHiddenFields(),this.createNewHiddenFieldAndInsertInForm("hidden","label","ATM"),this.inputSearch.setAttribute("name","searchterm");break;case"search-shares":this.changeFormActionUrl(this.searchUrlShares),this.removeHiddenFields(),this.inputSearch.setAttribute("name","searchfor")}}},{key:"bindActiveSearchFilterChangeEvent",value:function(){var t=this,e=function(e){e.target.checked&&(t.activeSearchFilter=e.target.getAttribute("data-search-filter"),t.setSearchFilterAndFormAction())};this.searchOptions.forEach((function(t){return t.addEventListener("change",e)}))}},{key:"resetActiveSearchFilterToDefaults",value:function(){this.searchOptions.forEach((function(t,e){t.checked=0===e})),this.setSearchFilterAndFormAction(),this.inputSearch.value=""}},{key:"init",value:function(){this.searchBox&&this.searchForm&&this.searchUrl&&(this.addSearchBoxEvents(),this.resetActiveSearchFilterToDefaults(),this.bindActiveSearchFilterChangeEvent(),this.bindSearchInputEvent())}}])&&h(e.prototype,i),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=f},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a="show-hide--hidden",s=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e){var i="[object String]"===Object.prototype.toString.call(e)?n.default.query(e):e;Object.prototype.toString.call(i).match(/(NodeList|Array|HTMLCollection)/i)||(i=[i]),t.toggleState=t.toggleState.bind(this),this.resize=this.resize.bind(this),this.els=i,i.forEach((function(e){e.getElementsByClassName("show-hide__trigger")[0].addEventListener("click",t.toggleState)})),window.addEventListener("resize",this.resize)}}var e,i,r;return e=t,r=[{key:"show",value:function(t){var e=t.getElementsByClassName("show-hide__content")[0].getBoundingClientRect().height;t.getElementsByClassName("show-hide__inner")[0].style.height="".concat(e,"px"),t.classList.remove(a)}},{key:"hide",value:function(t){t.getElementsByClassName("show-hide__inner")[0].style.height="0px",t.classList.add(a)}},{key:"toggleState",value:function(e){var i=e.currentTarget.closest(".show-hide");i.classList.contains(a)?t.show(i):t.hide(i)}}],(i=[{key:"init",value:function(){this.els.forEach((function(t){t.classList.add(a);var e=t.getElementsByClassName("show-hide__inner")[0];e.style.transform="none";var i=window.requestAnimationFrame((function(){e.setAttribute("style",""),window.cancelAnimationFrame(i)}))}))}},{key:"resize",value:function(){this.els.forEach((function(e){e.classList.contains(a)||t.show(e)}))}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t){return function(t){if(Array.isArray(t))return a(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)return;if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(t,e)}(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l={linkSelector:"side-navigation__link",textSelector:"side-navigation__link-text"},c={stateExpandedSelector:"side-navigation__item--expanded",baseSelector:"side-navigation__item--base",parentSelector:"side-navigation__item-parent"},u={sticky:"sidenavigation-wrapper--sticky"},d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.sideNavWrapper=this.el.getElementsByClassName("sidenavigation-wrapper")[0],this.rootItem=this.el.getElementsByClassName(c.baseSelector)[0],this.rootLink=this.rootItem.getElementsByClassName(l.linkSelector)[0],n.default.getWindowWidth()>=n.default.bp().M&&this.rootItem.getElementsByClassName(c.stateExpandedSelector).forEach((function(t){t.classList.remove(c.stateExpandedSelector)}))}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t=this;this.rootLink&&(this.firstNaviLevel=this.rootLink.nextElementSibling,this.firstNaviLevel&&this.firstNaviLevel.classList.contains("side-navigation")&&(this.naviUnfoldableClickHandler=this.naviUnfoldableClickHandler.bind(this),this.handleStickyNavigation=this.handleStickyNavigation.bind(this),this.rootLink.addEventListener("click",this.naviUnfoldableClickHandler),this.naviLinks=o(this.firstNaviLevel.getElementsByClassName(l.linkSelector)),this.naviLinks.forEach((function(e){e.parentElement.classList.contains(c.parentSelector)&&e.addEventListener("click",t.naviUnfoldableClickHandler)})),window.db.General.stickyHelper.registerSticky(this.sideNavWrapper,n.default.noop,u.sticky),n.default.getWindowWidth()>=n.default.bp().M&&window.addEventListener("scroll",this.handleStickyNavigation)))}},{key:"handleStickyNavigation",value:function(){(window.scrollY||window.pageYOffset)>=n.default.findPos(this.el).top?this.sideNavWrapper.classList.contains(u.sticky)||(this.sideNavWrapper.classList.add(u.sticky),this.sideNavWrapper.style.top="".concat(window.db.General.stickyHelper.getFixedElementsHeights(this.sideNavWrapper),"px")):this.sideNavWrapper.classList.contains(u.sticky)&&(this.sideNavWrapper.classList.remove(u.sticky),this.sideNavWrapper.style.top="none")}},{key:"naviUnfoldableClickHandler",value:function(t){if(!t.target.classList.contains(l.textSelector)){t.preventDefault(),t.stopPropagation();var e=t.currentTarget.parentElement;if(!e.classList.contains(c.stateExpandedSelector)){var i=window.db.General.stickyHelper.getFixedElementsHeights();this.el.style.maxHeight="calc(100vh - ".concat(i,"px)"),n.default.getWindowWidth()>=n.default.bp().M&&this.naviLinks.forEach((function(t){t.parentElement.classList.remove(c.stateExpandedSelector)}))}e.classList.toggle(c.stateExpandedSelector)}}}])&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=d},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.mediaItem=null,this.video=null,this.videoSources=null,this.videoHandled=!1,this.w=window,this.e=document.documentElement,this.g=this.e.getElementsByTagName("body")[0],this.x=this.w.innerWidth||this.e.clientWidth||this.g.clientWidth,this.scrollY=null,this.elHeight=null,this.elWidth=null,this.maxScrollDistance=null,this.focusOffsetVertical=0,this.focusOffsetVerticalCenter=!1,this.focusOffsetHorizontal=0,this.originalVideoRatio=1,this.focusAnchorTypeVertical="top",this.focusAnchorTypeHorizontal="right"}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t=this;this.getDimensions(),this.mediaItem=this.el.querySelectorAll(".stage__media--item"),this.video=this.el.querySelector("video"),this.video&&(this.videoSources=this.video.querySelectorAll("source"),this.video.classList.contains("stage__media--video-fit")&&(this.focusOffsetVertical=parseInt(this.video.dataset.focusOffsetVertical,10),this.focusOffsetVerticalCenter=!!this.video.dataset.focusOffsetVerticalCenter,this.focusAnchorTypeVertical=this.video.dataset.focusAnchorTypeVertical||"top",this.focusAnchorTypeHorizontal=this.video.dataset.focusAnchorTypeHorizontal||"right",this.focusOffsetHorizontal=parseInt(this.video.dataset.focusOffsetHorizontal,10),this.originalVideoWidth=parseInt(this.video.dataset.stageVideoWidth,10),this.originalVideoHeight=parseInt(this.video.dataset.stageVideoHeight,10),this.originalVideoRatio=this.originalVideoHeight>0?this.originalVideoWidth/this.originalVideoHeight:1));var e=function(){for(var e=t.scrollY/(t.maxScrollDistance/30),i=1+.006*e,n=.15*e,r=0;r<t.mediaItem.length;r++)t.mediaItem[r].style.webkitTransform="scale(".concat(i,", ").concat(i,")"),t.mediaItem[r].style.msTransform="scale(".concat(i,", ").concat(i,")"),t.mediaItem[r].style.transform="scale(".concat(i,", ").concat(i,")"),t.mediaItem[r].style.webkitFilter="blur(".concat(n,"px)"),t.mediaItem[r].style.filter="blur(".concat(n,"px)")};window.db.isMobile||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)},window.addEventListener("scroll",(function(){t.scrollY=(window.pageYOffset||t.e.scrollTop)-(t.e.clientTop||0),t.scrollY<=t.maxScrollDistance&&window.requestAnimationFrame(e)}))),window.addEventListener("resize",(function(){t.x=t.w.innerWidth||t.e.clientWidth||t.g.clientWidth,t.getDimensions(),t.handleVideo(),window.db.isMobile||window.requestAnimationFrame(e)})),this.handleVideo()}},{key:"getDimensions",value:function(){var t=document.querySelector(".header-area"),e=document.querySelector(".navigation-area"),i=0,n=0;this.elHeight=this.el.offsetHeight,this.elWidth=this.el.offsetWidth,null!==t&&(i=t.offsetHeight),null!==e&&(n=e.offsetHeight),this.maxScrollDistance=i+n+this.elHeight}},{key:"handleVideo",value:function(){if(this.x>n.default.bp().M&&this.video&&!this.videoHandled){for(var t=0;t<this.videoSources.length;t++)this.videoSources[t].setAttribute("src",this.videoSources[t].getAttribute("data-src"));this.video.load(),this.videoHandled=!0}this.video&&this.video.classList.contains("stage__media--video-fit")&&(this.getStageRatio()<this.originalVideoRatio?(this.video.classList.add("stage__media--video-fit-fh"),this.video.classList.remove("stage__media--video-fit-fw"),this.handleHorizontalOffset()):(this.video.classList.add("stage__media--video-fit-fw"),this.video.classList.remove("stage__media--video-fit-fh"),this.handleVerticalOffset()))}},{key:"getStageRatio",value:function(){return this.x/this.elHeight}},{key:"getRenderedVideoHeight",value:function(){return this.originalVideoHeight>0?this.elWidth*this.originalVideoHeight/this.originalVideoWidth:this.elHeight}},{key:"getRenderedVideoWidth",value:function(){return this.originalVideoWidth>0?this.elHeight*this.originalVideoWidth/this.originalVideoHeight:this.elWidth}},{key:"getSafeFocusOffsetHorizontal",value:function(){var t=this.getRenderedVideoWidth(),e=100*(t-this.elWidth)/t;return this.focusOffsetHorizontal>e?-e:-this.focusOffsetHorizontal}},{key:"getSafeFocusOffsetVertical",value:function(){var t=this.getRenderedVideoHeight(),e=100*(t-this.elHeight)/t;return this.focusOffsetVertical>e?-e:-this.focusOffsetVertical}},{key:"handleVerticalOffset",value:function(){this.video.style[this.focusAnchorTypeHorizontal]="0%",this.focusOffsetVerticalCenter?this.video.style[this.focusAnchorTypeVertical]="auto":this.video.style[this.focusAnchorTypeVertical]="".concat(this.getSafeFocusOffsetVertical(),"%")}},{key:"handleHorizontalOffset",value:function(){this.video.style[this.focusAnchorTypeVertical]="0%",this.video.style[this.focusAnchorTypeHorizontal]="".concat(this.getSafeFocusOffsetHorizontal(),"%")}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(a)?a:String(a)),r)}var o,a}i.r(e);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.mediaItem=null,this.video=null,this.videoSources=null,this.videoHandled=!1,this.w=window,this.d=document,this.e=this.d.documentElement,this.g=this.d.getElementsByTagName("body")[0],this.x=this.w.innerWidth||this.e.clientWidth||this.g.clientWidth,this.scrollY=null,this.elHeight=null,this.maxScrollDistance=null}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;this.getDimensions(),this.mediaItem=this.el.querySelectorAll(".stage-e2e__media--item"),this.video=this.el.querySelector("video"),this.video&&(this.videoSources=this.video.querySelectorAll("source"));var e=function(){for(var e=t.scrollY/(t.maxScrollDistance/30),i=1+.006*e,n=.15*e,r=0;r<t.mediaItem.length;r++)t.mediaItem[r].style.webkitTransform="scale(".concat(i,", ").concat(i,")"),t.mediaItem[r].style.msTransform="scale(".concat(i,", ").concat(i,")"),t.mediaItem[r].style.transform="scale(".concat(i,", ").concat(i,")"),t.mediaItem[r].style.webkitFilter="blur(".concat(n,"px)"),t.mediaItem[r].style.filter="blur(".concat(n,"px)")};window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)},window.addEventListener("scroll",(function(){t.scrollY=(window.pageYOffset||t.e.scrollTop)-(t.e.clientTop||0),t.scrollY<=t.maxScrollDistance&&window.requestAnimationFrame(e)})),window.addEventListener("resize",(function(){t.x=t.w.innerWidth||t.e.clientWidth||t.g.clientWidth,t.getDimensions(),t.handleVideo(),window.requestAnimationFrame(e)})),this.handleVideo()}},{key:"getDimensions",value:function(){var t=document.querySelector(".header-area"),e=document.querySelector(".navigation-area"),i=0,n=0;this.elHeight=this.el.offsetHeight,null!==t&&(i=t.offsetHeight),null!==e&&(n=e.offsetHeight),this.maxScrollDistance=i+n+this.elHeight}},{key:"handleVideo",value:function(){if(this.x>768&&this.video&&!this.videoHandled){for(var t=0;t<this.videoSources.length;t++)this.videoSources[t].setAttribute("src",this.videoSources[t].getAttribute("data-src"));this.video.load(),this.videoHandled=!0}}}])&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=o},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.video=null,this.videoSources=null,this.videoHandled=!1,this.w=window,this.e=document.documentElement,this.g=this.e.getElementsByTagName("body")[0],this.x=this.w.innerWidth||this.e.clientWidth||this.g.clientWidth,this.elHeight=null,this.elWidth=null,this.focusOffsetVertical=0,this.focusOffsetVerticalCenter=!1,this.focusOffsetHorizontal=0,this.originalVideoRatio=1,this.focusAnchorTypeVertical="top",this.focusAnchorTypeHorizontal="right"}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t=this;this.video=this.el.querySelector("video"),this.video&&(this.videoSources=this.video.querySelectorAll("source"),this.video.classList.contains("stage__media--video-fit")&&(this.focusOffsetVertical=parseInt(this.video.dataset.focusOffsetVertical,10),this.focusOffsetVerticalCenter=!!this.video.dataset.focusOffsetVerticalCenter,this.focusAnchorTypeVertical=this.video.dataset.focusAnchorTypeVertical||"top",this.focusAnchorTypeHorizontal=this.video.dataset.focusAnchorTypeHorizontal||"right",this.focusOffsetHorizontal=parseInt(this.video.dataset.focusOffsetHorizontal,10),this.originalVideoWidth=parseInt(this.video.dataset.stageVideoWidth,10),this.originalVideoHeight=parseInt(this.video.dataset.stageVideoHeight,10),this.originalVideoRatio=this.originalVideoHeight>0?this.originalVideoWidth/this.originalVideoHeight:1),window.addEventListener("resize",(function(){t.x=t.w.innerWidth||t.e.clientWidth||t.g.clientWidth,t.handleVideo()})),this.handleVideo())}},{key:"handleVideo",value:function(){if(this.x>n.default.bp().M&&this.video&&!this.videoHandled){for(var t=0;t<this.videoSources.length;t++)this.videoSources[t].setAttribute("src",this.videoSources[t].getAttribute("data-src"));this.video.load(),this.videoHandled=!0}this.video&&this.video.classList.contains("stage__media--video-fit")&&(this.getStageRatio()<this.originalVideoRatio?(this.video.classList.add("stage__media--video-fit-fh"),this.video.classList.remove("stage__media--video-fit-fw"),this.handleHorizontalOffset()):(this.video.classList.add("stage__media--video-fit-fw"),this.video.classList.remove("stage__media--video-fit-fh"),this.handleVerticalOffset()))}},{key:"getStageRatio",value:function(){return this.x/this.elHeight}},{key:"getRenderedVideoHeight",value:function(){return this.originalVideoHeight>0?this.elWidth*this.originalVideoHeight/this.originalVideoWidth:this.elHeight}},{key:"getRenderedVideoWidth",value:function(){return this.originalVideoWidth>0?this.elHeight*this.originalVideoWidth/this.originalVideoHeight:this.elWidth}},{key:"getSafeFocusOffsetHorizontal",value:function(){var t=this.getRenderedVideoWidth(),e=100*(t-this.elWidth)/t;return this.focusOffsetHorizontal>e?-e:-this.focusOffsetHorizontal}},{key:"getSafeFocusOffsetVertical",value:function(){var t=this.getRenderedVideoHeight(),e=100*(t-this.elHeight)/t;return this.focusOffsetVertical>e?-e:-this.focusOffsetVertical}},{key:"handleVerticalOffset",value:function(){this.video.style[this.focusAnchorTypeHorizontal]="0%",this.focusOffsetVerticalCenter?this.video.style[this.focusAnchorTypeVertical]="auto":this.video.style[this.focusAnchorTypeVertical]="".concat(this.getSafeFocusOffsetVertical(),"%")}},{key:"handleHorizontalOffset",value:function(){this.video.style[this.focusAnchorTypeVertical]="0%",this.video.style[this.focusAnchorTypeHorizontal]="".concat(this.getSafeFocusOffsetHorizontal(),"%")}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(2),r=i.n(n),o=i(0);function a(t){return(a="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})(t)}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;document.body.classList.add("stage-product-available"),this.stageImages=this.el.getElementsByClassName("stage-common__media--image"),r.a.register(o.default.mq().M_BELOW,{match:function(){t.setImageSrc("data-media-src-mobile")},unmatch:function(){t.setImageSrc()}}),r.a.register(o.default.mq().M_UP,{match:function(){window.MobileEsp.isMobilePhone?t.setImageSrc("data-media-src-mobile"):t.setImageSrc()},unmatch:function(){t.setImageSrc("data-media-src-mobile")}})}},{key:"setImageSrc",value:function(t){t=t||"data-media-src",this.stageImages&&this.stageImages.forEach((function(e){e.src=e.getAttribute(t)}))}}])&&s(e.prototype,i),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=l},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t){return function(t){if(Array.isArray(t))return a(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)return;if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(t,e)}(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l="".concat("survey","__result"),c="".concat("survey","__form"),u="".concat("question","--single-choice"),d="".concat("question","--single-choice-rating"),h="".concat("question","__info"),f="".concat(h,"--hidden"),p="".concat("question","__option--image"),m="".concat(p).concat("-checked"),v="".concat("survey","__item"),y="".concat(v).concat("--active"),g="".concat("survey","__progressbar--progress"),b=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.survey=e,this.questions=this.survey.querySelectorAll(".".concat("question")),this.results=this.survey.querySelectorAll(".".concat(l)),this.progressMeter=this.survey.getElementsByClassName(g)[0],this.prevButton=this.survey.getElementsByClassName("".concat("survey","__button-prev"))[0],this.nextButton=this.survey.getElementsByClassName("".concat("survey","__button-next"))[0],this.yesButton=this.survey.getElementsByClassName("".concat("survey","__button-yes"))[0],this.noButton=this.survey.getElementsByClassName("".concat("survey","__button-no"))[0],this.form=this.survey.getElementsByClassName(c)[0]}var e,i,r;return e=t,r=[{key:"enableButton",value:function(t){t.classList.remove("btn--disabled"),t.removeAttribute("disabled")}},{key:"disableButton",value:function(t){t.classList.add("btn--disabled"),t.setAttribute("disabled","")}},{key:"hideButton",value:function(t){t.classList.add("btn--hidden")}},{key:"showButton",value:function(t){t.classList.remove("btn--hidden")}}],(i=[{key:"init",value:function(){this.form&&(this.surveyType=this.survey.dataset.surveyType||"prev-next",this.startQuestionId=this.survey.dataset.startQuestionId||this.questions[0].id,this.maxQuestions=parseInt(this.survey.dataset.maxQuestions,10)||1,this.questionHistory=[],this.offsetHistory=[],this.answerHistory=[],this.progress=0,""!==this.startQuestionId&&(this.updateProgress({}),this.loadQuestion(this.startQuestionId),this.questionHistory.push(this.startQuestionId),this.updateUI(),this.setEventHandler(),this.initValidation()))}},{key:"setEventHandler",value:function(){var t=this;"no-yes"===this.surveyType?(this.noButton.addEventListener("click",(function(){t.stepForward(!0)})),this.yesButton.addEventListener("click",(function(){t.stepForward()}))):(this.nextButton.addEventListener("click",(function(){t.stepForward()})),this.prevButton.addEventListener("click",(function(){t.stepBack()}))),o(this.survey.querySelectorAll(".".concat(p))).forEach((function(t){t.addEventListener("click",(function(t){var e=t.target.closest(".".concat(p));e&&e.classList.toggle(m)})),t.querySelector("input").checked&&t.classList.add(m)}))}},{key:"loadQuestion",value:function(t){if(t&&""!==t){var e=this.survey.querySelector("#".concat(t));if(e&&!e.classList.contains(y)){var i=this.survey.getElementsByClassName(y);if(i.length>0&&i[0].classList.remove(y),e.classList.add(y),this.currentQuestion=e,this.currentQuestion.classList.contains(l)){var n=this.getCurrentSurveyTotal();window.db.fireClickTracking("survey-".concat(this.survey.id),"total-".concat(t,"(").concat(n,")"),"click",this.survey)}var r=this.currentQuestion.querySelector(".".concat(h));r&&r.classList.add(f),this.updateProgressbarState()}}}},{key:"updateProgressbarState",value:function(){this.progressMeter.classList.remove("".concat(g,"-").concat("positive")),this.progressMeter.classList.remove("".concat(g,"-").concat("negative")),this.progressMeter.classList.remove("".concat(g,"-").concat("neutral"));var t=this.currentQuestion.dataset.resultType||"neutral";this.progressMeter.classList.add("".concat(g,"-").concat(t))}},{key:"initValidation",value:function(){var t=this;if(this.form){var e=this.form.querySelectorAll("[data-validation-type=required] input");e&&o(e).forEach((function(e){e.addEventListener("change",(function(){t.validateCurrentQuestion()}))}))}}},{key:"isSingleChoice",value:function(){return this.currentQuestion.classList.contains(u)||this.currentQuestion.classList.contains(d)}},{key:"validateCurrentQuestion",value:function(){var e=!0;if("required"===this.currentQuestion.dataset.validationType){var i=o(this.currentQuestion.getElementsByTagName("input"));e=this.isSingleChoice()?i.every((function(t){return t.checkValidity()})):i.some((function(t){return t.checked}));var n=this.currentQuestion.querySelector(".".concat(h));e?("no-yes"===this.surveyType?t.enableButton(this.yesButton):t.enableButton(this.nextButton),n.classList.add(f)):("no-yes"===this.surveyType?t.disableButton(this.yesButton):t.disableButton(this.nextButton),n.classList.remove(f))}return e}},{key:"getSuccessorData",value:function(){var t=this.survey.querySelector("#".concat(this.questionHistory[this.questionHistory.length-1]));if(t&&t.dataset.successors)for(var e=JSON.parse(t.dataset.successors),i=0;i<e.successors.length;i++){var n=e.successors[i],r=n.compareType&&"question"===n.compareType[0]?this.answerHistory[this.answerHistory.length-1]:this.getCurrentSurveyTotal();if(this.evaluateCondition(n.conditionType[0],n.conditionValue[0],r)){var o=void 0!==n.successorOffset?parseInt(n.successorOffset[0],10):0;return{successorId:n.successorId[0],successorOffset:o}}}return""}},{key:"getProgressIndex",value:function(){return this.progress>0?this.progress-1:0}},{key:"getCurrentSurveyTotal",value:function(){for(var t=0,e=0;e<this.answerHistory.length;e++)t+=parseInt(this.answerHistory[e],10);return t}},{key:"evaluateCondition",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getCurrentSurveyTotal();switch(t){case"equal":return i===parseInt(e,10);case"less-than":return i<parseInt(e,10);case"greater-than":return i>parseInt(e,10);case"less-than-equal":return i<=parseInt(e,10);case"greater-than-equal":return i>=parseInt(e,10);default:return!0}}},{key:"updateProgress",value:function(t){var e=t.successorOffset,i=void 0===e?0:e,n=t.backwards;if(void 0!==n&&n){this.progress--;var r=parseInt(this.offsetHistory[this.offsetHistory.length-1],10);r>0&&(this.progress-=r),this.offsetHistory.pop()}else this.offsetHistory.push(i),this.progress+=i,this.progress++}},{key:"updateUI",value:function(e){var i=this.progress/this.maxQuestions*100;i>100&&(i=100),this.progressMeter.style.width="".concat(i,"%"),"no-yes"===this.surveyType?(e&&t.enableButton(this.yesButton),this.progress===this.maxQuestions&&this.survey.getElementsByClassName("survey__navigation").remove()):(e&&t.enableButton(this.nextButton),1===this.progress?t.hideButton(this.prevButton):t.showButton(this.prevButton),this.progress===this.maxQuestions?t.hideButton(this.nextButton):t.showButton(this.nextButton))}},{key:"getCurrentChosenValueTotal",value:function(){var t=0,e=[];if(this.currentQuestion){var i=this.currentQuestion.querySelectorAll(".".concat("question"," input")),r=this.isSingleChoice(),o="";if(0===i.length)t=parseInt(this.currentQuestion.dataset.defaultYesValue,10)||1,o="ja";else{for(var a=i.length-1;a>=0;a--)if(i[a].checked){var s=i[a].closest("label");if(s){var l=s.querySelector(".form-label__text");e.push(l.innerText)}else i[a].nextElementSibling&&"LABEL"===i[a].nextElementSibling.tagName?e.push(i[a].nextElementSibling.innerText):e.push("".concat(i[a].type,"[").concat(a,"]"));if(r){var c=i[a].closest(".question__option");t=c?parseInt(c.dataset.value,10):parseInt(i[a].value,10)}else t=parseInt(this.currentQuestion.dataset.defaultYesValue,10)||1}o=e.join("+")}""===o&&(o="nein");var u="choices(".concat(this.currentQuestion.id,")-").concat(n.default.slugify(o));window.db.fireClickTracking("survey-".concat(this.survey.id),u,"click",this.survey)}return t}},{key:"stepForward",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.progress<this.maxQuestions){if(!t&&!this.validateCurrentQuestion())return;t?this.answerHistory.push(0):this.answerHistory.push(this.getCurrentChosenValueTotal());var e=this.getSuccessorData(),i=e.successorId,n=e.successorOffset;""!==i&&this.survey.querySelector("#".concat(i))?(window.db.fireClickTracking("survey-".concat(this.survey.id),"forward_to(".concat(i,")"),"click",this.survey),this.updateProgress({successorOffset:n}),this.loadQuestion(i),this.questionHistory.push(i),this.updateUI()):this.answerHistory.pop()}}},{key:"stepBack",value:function(){if(this.progress>1){this.updateProgress({backwards:!0}),this.questionHistory.pop(),this.answerHistory.pop();var t=this.questionHistory[this.questionHistory.length-1];window.db.fireClickTracking("survey-".concat(this.survey.id),"back_to(".concat(t,")"),"click",this.survey),this.loadQuestion(t),this.updateUI(!0)}}}])&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=b},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e;try{document.querySelector(":focus-within")}catch(t){var n=function(){setTimeout((function(){document.activeElement.closest(".tabnav")?i.el.classList.add("tabnav--visible"):i.el.classList.remove("tabnav--visible")}),100)};window.addEventListener("keyup",n),this.el.addEventListener("mouseup",n)}}var e,i,r;return e=t,(i=[{key:"init",value:function(){this.el.addEventListener("click",(function(t){var e=t.target.getAttribute("href");if("#sn-search-trigger"===e){var i=window.db.loadedComponents.filter((function(t){return"serviceNavigation"===t.name}))[0].comp;setTimeout((function(){i.searchBoxEventHandler({target:document.querySelector(e),preventDefault:n.default.noop})}),100)}}))}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.table=this.el.getElementsByTagName("table")[0],this.table&&(this.thead=this.table.getElementsByTagName("thead")[0],this.tbody=this.table.getElementsByTagName("tbody")[0],this.thead&&(this.ths=this.thead.getElementsByTagName("th")),this.tbody&&(this.trs=this.tbody.getElementsByTagName("tr")))}var e,i,r;return e=t,(i=[{key:"init",value:function(){if(this.table&&this.ths&&this.trs)for(var t=0;t<this.trs.length;t++)for(var e=this.trs[t].children,i=0;i<e.length;i++){var r=e[i];n.default.nodeCheck(r)&&this.ths[i]&&(r.dataset.title=this.ths[i].innerText)}}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(15),o=i(13);function a(t){return(a="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})(t)}function s(t){return function(t){if(Array.isArray(t))return l(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)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(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 l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function c(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===a(o)?o:String(o)),n)}var r,o}var u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.tabControls=this.el.getElementsByClassName("tabs__controls")[0],this.tabList=this.el.getElementsByClassName("tabs__list")[0],this.tabListItems=s(this.el.querySelectorAll(".tab__list-item>a")),this.tabPanels=this.el.getElementsByClassName("tab__panel"),this.tabControlButtonNext=this.el.getElementsByClassName("tabs__control--next")[0],this.tabControlButtonPrev=this.el.getElementsByClassName("tabs__control--prev")[0],this.status=this.tabControls.getAttribute("data-status"),this.skipFocusHandlerExecution=!1,this.states={currentToPrevious:"tab__panel--current-previous",currentToNext:"tab__panel--current-next",nextToCurrent:"tab__panel--next-current",previousToCurrent:"tab__panel--previous-current",controlActive:"tabs__control--active"},this.tabList.style.marginLeft=0,this.keyDownHandler=this.keyDownHandler.bind(this),this.keyUpHandler=this.keyUpHandler.bind(this),this.focusHandler=this.focusHandler.bind(this),this.slideNext=this.slideNext.bind(this),this.slidePrev=this.slidePrev.bind(this),this.onResize=this.onResize.bind(this),this.keys={end:35,home:36,left:37,right:39},this.direction={37:-1,38:-1,39:1,40:1}}var e,i,a;return e=t,a=[{key:"updateUrlPath",value:function(t){window.history.replaceState(null,document.title,"#".concat(t.id.substring(3)))}},{key:"getHashTabLinkId",value:function(){return window.location.hash.split("#tp-")[1]}}],(i=[{key:"isTabsListOverflowing",value:function(){return this.tabList.offsetWidth>this.tabControls.offsetWidth}},{key:"onResize",value:function(){this.setTabSizes(this.el),this.updateButtonState()}},{key:"getCurrentTabIndex",value:function(){var t=window.location.hash.split("#")[1]||n.default.getUrlParams().tp,e=this.getTabLink(t)||this.tabListItems[0];return parseInt(e.dataset.tabsId,10)}},{key:"updateButtonState",value:function(){this.isTabsListOverflowing()?(this.tabControlButtonNext.classList.add(this.states.controlActive),this.tabControlButtonPrev.classList.add(this.states.controlActive)):(this.tabControlButtonNext.classList.remove(this.states.controlActive),this.tabControlButtonPrev.classList.remove(this.states.controlActive));var t=this.getCurrentTabIndex();0===t?this.tabControlButtonPrev.classList.remove(this.states.controlActive):t===this.tabListItems.length-1&&this.tabControlButtonNext.classList.remove(this.states.controlActive)}},{key:"slideNext",value:function(){var t=this.getCurrentTabIndex();t<this.tabListItems.length-1&&this.tabListItems[t+1].click()}},{key:"slidePrev",value:function(){var t=this.getCurrentTabIndex();t&&this.tabListItems[t-1].click()}},{key:"addListeners",value:function(e){var i=this;e.addEventListener("click",(function(e){e.preventDefault(),i.skipFocusHandlerExecution=!0;var n=e.currentTarget;i.activateTab(n.closest(".tab__link")),t.updateUrlPath(n.closest(".tab__link")),i.updateButtonState()})),e.addEventListener("keydown",this.keyDownHandler),e.addEventListener("keyup",this.keyUpHandler),e.addEventListener("focus",this.focusHandler)}},{key:"scrollToTabStart",value:function(){var t=n.default.getElementOffsetTop(this.el)+n.default.getDocumentOffsetTop(),e=window.db.General.stickyHelper.getFixedElementsHeights(this.tabControls),i=Math.round(t-e);Object(r.a)(i,600),window.setTimeout(this.stickyTabsHandler.bind(this),600)}},{key:"keyDownHandler",value:function(t){if(Object(o.isInViewport)(this.tabControls))switch(t.keyCode){case this.keys.end:t.preventDefault(),this.activateTab(this.tabListItems[this.tabListItems.length-1]);break;case this.keys.home:t.preventDefault(),this.activateTab(this.tabListItems[0])}}},{key:"keyUpHandler",value:function(t){Object(o.isInViewport)(this.tabControls)&&this.determineOrientation(t)}},{key:"focusHandler",value:function(e){if(!this.skipFocusHandlerExecution){var i=e.currentTarget;i===document.activeElement&&(this.activateTab(i),t.updateUrlPath(e.srcElement),this.updateButtonState())}this.skipFocusHandlerExecution=!1}},{key:"determineOrientation",value:function(t){var e=t.keyCode;e!==this.keys.left&&e!==this.keys.right||this.switchTabOnArrowPress(t)}},{key:"switchTabOnArrowPress",value:function(t){var e=t.keyCode;if(this.direction[e]){var i=t.target;void 0!==i.index&&(this.tabListItems[i.index+this.direction[e]]?this.tabListItems[i.index+this.direction[e]].focus():e===this.keys.left||e===this.keys.up?this.focusLastTab():e!==this.keys.right&&e!==this.keys.down||this.focusFirstTab())}}},{key:"focusFirstTab",value:function(){this.tabListItems[0].focus()}},{key:"focusLastTab",value:function(){this.tabListItems[this.tabListItems.length-1].focus()}},{key:"activateTab",value:function(t){if(t.getAttribute("data-tabs-id")!==this.activeIndex){var e=t.getAttribute("data-tabs-id"),i=e<this.activeIndex?this.states.nextToCurrent:this.states.previousToCurrent,n=e<this.activeIndex?this.states.currentToPrevious:this.states.currentToNext;this.deactivateTab(this.tabListItems[this.activeIndex||0],n),t.parentElement.classList.add("tab__list-item--active"),t.setAttribute("tabindex","0"),t.setAttribute("aria-selected","true");var r=document.getElementById(t.getAttribute("aria-controls"));this.activeIndex=e,this.updatePanelState(r,i),this.el.classList.contains("sticky")&&this.scrollToTabStart(),this.adjustTabPosition(t)}}},{key:"activateTabFromJumpMark",value:function(t){var e=t.getAttribute("aria-labelledby");if(e=e.substring(e.indexOf("-")+1),(e=document.getElementById("tl-".concat(e))).getAttribute("data-tabs-id")!==this.activeIndex){var i=e.getAttribute("data-tabs-id"),n=i<this.activeIndex?this.states.nextToCurrent:this.states.previousToCurrent,r=i<this.activeIndex?this.states.currentToPrevious:this.states.currentToNext;this.deactivateTab(this.tabListItems[this.activeIndex||0],r),e.parentElement.classList.add("tab__list-item--active"),e.setAttribute("tabindex","0"),e.setAttribute("aria-selected","true"),this.activeIndex=i,this.updatePanelState(t,n),this.adjustTabPosition(e)}}},{key:"deactivateTab",value:function(t,e){t.parentElement.classList.remove("tab__list-item--active"),t.setAttribute("tabindex","-1  "),t.setAttribute("aria-selected","false");var i=document.getElementById(t.getAttribute("aria-controls"));this.updatePanelState(i,e)}},{key:"updatePanelState",value:function(t,e){var i=this;Object.keys(this.states).forEach((function(e){return t.classList.remove(i.states[e])})),e&&t.classList.add(e);var n="a, link, button, input, textarea, select, iframe, [tabindex], [draggable]";e===this.states.nextToCurrent||e===this.states.previousToCurrent?(t.setAttribute("tabindex","0"),t.querySelectorAll(n).forEach((function(t){t.removeAttribute("tabindex")}))):(t.setAttribute("tabindex","-1"),t.querySelectorAll(n).forEach((function(t){t.setAttribute("tabindex","-1")})))}},{key:"adjustTabPosition",value:function(t){var e=this.tabList.getBoundingClientRect().width,i=this.tabControls.getBoundingClientRect().width;if(e>i){var n=t.getBoundingClientRect(),r=this.tabList.getBoundingClientRect(),o=n.width,a=parseInt(window.getComputedStyle(this.tabList).marginLeft,10),s=this.tabListItems[this.tabListItems.length-1].getBoundingClientRect(),l=s.left-r.left,c=a+(this.tabControls.getBoundingClientRect().left+.5*i)-n.left-.5*o;i+Math.abs(c)>l+s.width&&(c=c+i+Math.abs(c)-(l+s.width)),c>0&&(c=0),this.tabList.style.marginLeft="".concat(c,"px")}else this.tabList.style.marginLeft="0px"}},{key:"getTabLink",value:function(t){var e=document.getElementById("tl-".concat(t));return!(null===e||!n.default.isChildOf(e,this.el))&&e}},{key:"stickyTabsHandler",value:function(){var t=this.el,e=this.tabControls.offsetHeight,i=t.querySelector(".tabs__panels"),r=n.default.findPos(t).top-e,o=t.offsetHeight,a=t.classList.contains("sticky");if(window.pageYOffset>r&&window.pageYOffset<r+o){if(a)return;t.classList.add("sticky"),this.setTabSizes(t)}else{if(!a)return;t.classList.remove("sticky"),this.tabControls.style.width="auto",this.tabControls.style.top=0,i.style.paddingTop=0}}},{key:"setTabSizes",value:function(t){var e=t,i=e.getBoundingClientRect(),r=e.querySelector(".tabs__panels"),o=parseInt(window.getComputedStyle(this.tabControls).marginTop,10),a=window.db.General.stickyHelper.getFixedElementsHeights(this.el),s=window.getComputedStyle(e),l=parseInt(s.paddingLeft,10),c=parseInt(s.paddingRight,10),u=i.width-l-c;this.el.classList.contains("sticky")&&(this.tabControls.style.width="".concat(u,"px"),this.tabControls.style.top="".concat(a-o,"px"),r.style.paddingTop="".concat(n.default.getOuterHeight(this.tabControls),"px"));var d=Math.round(u/2);this.tabListItems.forEach((function(t){t.style.maxWidth="".concat(d,"px")}))}},{key:"stickyTabs",value:function(){window.addEventListener("scroll",this.stickyTabsHandler.bind(this),!1)}},{key:"init",value:function(){var e=this;if("off"!==this.status&&0!==this.tabListItems.length){window.db.General.stickyHelper.registerSticky(this.el,(function(){return e.stickyTabsHandler()}),"sticky",this.tabControls),this.setTabSizes(this.el),this.stickyTabs(),this.tabListItems.forEach((function(t,i){t.tabIndex="-1",e.addListeners(t),t.setAttribute("data-tabs-id",i)})),this.tabPanels.forEach((function(t){t.tabIndex="-1",e.updatePanelState(t)}));var i=t.getHashTabLinkId()||n.default.getUrlParams().tp,r=this.getTabLink(i)||this.tabListItems[0];this.activateTab(r),this.el.addEventListener(n.default.sc().customEventNameJumpMark,(function(t){var i=t.target.closest(".tab__panel");e.activateTabFromJumpMark(i)})),this.tabControlButtonNext&&this.tabControlButtonPrev&&(this.tabControlButtonNext.addEventListener("click",this.slideNext),this.tabControlButtonPrev.addEventListener("click",this.slidePrev)),this.updateButtonState(),window.addEventListener("resize",n.default.debounce(this.onResize,500,!1))}}}])&&c(e.prototype,i),a&&c(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=u},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(a)?a:String(a)),r)}var o,a}i.r(e);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.$textWrapper=this.el.querySelector(".teaser__text-wrapper"),this.$teaserHiddenContent=this.el.querySelector(".teaser__hidden-content"),this.$teaserIcon=this.el.querySelector(".teaser__icon"),this.$teaserOverlay=this.el.querySelector(".teaser__overlay"),this.isAccordionOpend=!1,this.isAnimationEnabled=null!==this.el.querySelector(".teaser--enable-animation"),this.shouldSetCurrentTextWrapperHeight=null!==this.el.querySelector(".teaser--width50"),this.CLASSES={textWrapperTransparent:"teaser__text-wrapper--transparent"},this.CONSTANTS={ALPHA:.8}}var e,i,n;return e=t,(i=[{key:"init",value:function(){var t=this;this.isAnimationEnabled&&this.$teaserIcon.addEventListener("click",(function(){t.toggleAccordion()}))}},{key:"toggleAccordion",value:function(){this.isAccordionOpend?this.closeAccordion():this.openAccordion(),this.$teaserOverlay.classList.toggle("teaser__overlay--open"),this.isAccordionOpend=!this.isAccordionOpend}},{key:"getTeaserHiddenContentHeight",value:function(){var t=this.$teaserHiddenContent.children,e=0;return t.forEach((function(t){e+=t.clientHeight})),e}},{key:"setTextWrapperHeight",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.shouldSetCurrentTextWrapperHeight){var e=0;t&&(e=this.getTeaserHiddenContentHeight());var i=this.$textWrapper.clientHeight;this.$textWrapper.style.height="".concat(i+e,"px")}}},{key:"openAccordion",value:function(){var t=this,e=this.getTeaserHiddenContentHeight();this.$teaserHiddenContent.style.height="".concat(e,"px"),this.$teaserHiddenContent.style.flexGrow="1",setTimeout((function(){t.$teaserHiddenContent.style.height="auto"}),400)}},{key:"closeAccordion",value:function(){var t=this;this.$teaserHiddenContent.style.height="".concat(this.$teaserHiddenContent.clientHeight,"px"),this.$teaserHiddenContent.style.flexGrow="0",setTimeout((function(){t.$teaserHiddenContent.style.height="0"}),20)}}])&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=o},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a={businessReturnCode:"TECHNICAL_ISSUE"},s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.config=n.default.datasetToObject({el:this.el})}var e,i,r;return e=t,r=[{key:"updateState",value:function(t,e){var i=t.getElementsByClassName("stage__headline")[0];i&&(i.innerHTML=e.message);var n=t.getElementsByClassName("stage__visual-indicator")[0];n&&(n.src=e.icon,n.classList.add("stage__visual-indicator--static"),n.removeAttribute("srcset"));var r=t.getElementsByClassName(e.activeId)[0];r&&(r.classList.remove("tes-stage-active-id--visible"),r.classList.add("tes-stage-active-id--visible"))}},{key:"normalizeUriEndingSlash",value:function(t){return!t||/\/$/.test(t)?t:"".concat(t,"/")}},{key:"parseResponse",value:function(t){var e=t.response,i=t.config,n={message:"",icon:""};switch(e.businessReturnCode){case"FEEDBACK_OK":n.message=i.successHeadline,n.icon=i.successIcon,n.activeId="tes-stage-active-id--success";break;case"PARTNER_NOT_ELIGIBLE":n.message=i.eligibleHeadline,n.icon=i.eligibleIcon,n.activeId="tes-stage-active-id--eligible";break;case"INFOSERVICE_ALREADY_ACTIVE":n.message=i.activatedHeadline,n.icon=i.activatedIcon,n.activeId="tes-stage-active-id--activated";break;case"CALLBACK_EXPIRED":case"FEEDBACK_EXPIRED":n.message=i.expiredHeadline,n.icon=i.expiredIcon,n.activeId="tes-stage-active-id--expired";break;case"INVALID_FEEDBACK_CODE":case"EMPTY_FEEDBACK_ID":case"FEEDBACK_ID_NOT_FOUND":default:n.message=i.errorHeadline,n.icon=i.errorIcon,n.activeId="tes-stage-active-id--error"}return n}}],(i=[{key:"init",value:function(){var e=this,i=n.default.getUrlParams(),r={config:this.config,response:{httpCode:"200",businessReturnCode:"EMPTY_FEEDBACK_ID",severity:"ERROR"}};if("true"!==this.config.disabled)if(i.eventId){var o=t.normalizeUriEndingSlash(this.config.apiLocation);n.default.getAjax("".concat(o).concat(encodeURIComponent(i[this.config.eventParameter]),".json"),(function(i){try{i=JSON.parse(i)}catch(t){i={httpCode:"500",businessReturnCode:"TECHNICAL_ERROR",severity:"ERROR"}}r.response=i,t.updateState(e.el,t.parseResponse(r))}),(function(){r.response=a,t.updateState(e.el,t.parseResponse(r))}))}else t.updateState(this.el,t.parseResponse(r))}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";function n(t){return(n="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})(t)}function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(a)?a:String(a)),r)}var o,a}i.r(e);var o=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.bgColor=null}var e,i,n;return e=t,(i=[{key:"init",value:function(){this.handleTextBlocks(),this.bgColor=this.el.querySelector(".comp").getAttribute("data-bg-color"),this.bgColor&&"theme--transparent"!==this.bgColor&&this.handleCampaignTextElements()}},{key:"handleTextBlocks",value:function(){this.el.getElementsByClassName("text--mobile")&&(window.MobileEsp.isMobilePhone?this.el.getElementsByClassName("text--desktop").remove():this.el.getElementsByClassName("text--mobile").remove())}},{key:"handleCampaignTextElements",value:function(){for(var t=this.el.getElementsByTagName("*"),e=0,i=t.length;e<i;e++)/^h\d{1}|[p]{1}$/gi.test(t[e].nodeName)&&t[e].classList.add(this.bgColor)}}])&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=o},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.entriesContainer=this.el.getElementsByClassName("timeline__entry-container");var i=this.el.querySelector(".timeline__container");i&&(this.entriesInitialVisible=parseInt(i.getAttribute("data-initial-visible"),10)||4),this.readMoreButton=null,this.readMoreContainer=null}var e,i,r;return e=t,(i=[{key:"init",value:function(){this.handleEntries(),this.entriesContainer.length>this.entriesInitialVisible&&this.generateReadMoreButton()}},{key:"handleEntries",value:function(){for(var t=this.entriesInitialVisible;t<this.entriesContainer.length;t++)this.entriesContainer[t].classList.toggle("timeline__entry-container--hidden")}},{key:"generateReadMoreButton",value:function(){this.readMoreButton=document.createElement("button"),this.readMoreContainer=document.createElement("div");var t=n.default.getWordingDe();this.readMoreButton.textContent=t.showMoreContent,this.readMoreButton.classList.add("btn"),this.readMoreButton.classList.add("timeline__read-more-button"),this.readMoreButton.addEventListener("click",this.handleReadMore.bind(this)),this.readMoreContainer.classList.add("timeline__read-more"),this.readMoreContainer.appendChild(this.readMoreButton),this.el.appendChild(this.readMoreContainer)}},{key:"handleReadMore",value:function(){this.handleEntries(),this.readMoreContainer.parentNode&&this.readMoreContainer.parentNode.removeChild(this.readMoreContainer)}}])&&o(e.prototype,i),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=a},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(19);function o(t){return(o="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})(t)}function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.el.ownInstance=this,this.mediaWrapper=this.el.querySelector(".yt-player__inner"),this.mediaWrapper&&(this.posterEl=this.mediaWrapper.querySelector(".yt-player__img"),this.forceInputUrl="true"===this.mediaWrapper.dataset.forceUrl,this.disableYoutubeDisclaimer="true"===this.mediaWrapper.dataset.disableYoutubeDisclaimer,this.posterRatio=this.mediaWrapper.dataset.posterRatio||"56.25",this.posterRatioMobile=this.mediaWrapper.dataset.posterRatioMobile||"56.25",this.posterWidth=this.mediaWrapper.dataset.posterWidth||"100%",this.posterWidthMobile=this.mediaWrapper.dataset.posterWidthMobile||"100%",this.posterHeight=this.mediaWrapper.dataset.posterHeight||"100%",this.posterHeightMobile=this.mediaWrapper.dataset.posterHeightMobile||"100%",this.forceImageRatio="true"===this.mediaWrapper.dataset.forceImageRatio,this.configuredYTUrl=this.mediaWrapper.dataset.url,this.ytUrl=this.mediaWrapper.dataset.url,this.playTrigger=this.el.querySelector(".yt-player__media"),this.playButton=this.el.querySelector(".btn-play--round"),this.playerId=this.mediaWrapper.id||"")}var e,i,o;return e=t,o=[{key:"prepareYoutubeUrl",value:function(e,i){var n,r=t.extractYoutubeVideoId(e);return r&&(n="".concat("https://www.youtube.com/embed/").concat(r,"?").concat("modestbranding=1&rel=0&showinfo=0&rel=0&iv_load_policy=3&color=white"),n+="&autoplay=1",i&&(n+="&mute=1")),n}},{key:"extractYoutubeVideoId",value:function(t){var e=!1;return t&&11!==(e=t.replace(/^[^v]+v.(.{11}).*/,"$1")).length&&(e=t.split("/").pop()),e}},{key:"getHashYoutubePlayerId",value:function(){return window.location.hash.split("#")[1]}}],(i=[{key:"init",value:function(){var e=this;this.disclaimerLayer=document.querySelector(".disclaimer-layer-js"),this.playButton&&(this.posterEl.complete?this.showTrigger():this.posterEl.addEventListener("load",this.showTrigger.bind(this)),this.forceImageRatio&&(window.addEventListener("resize",n.default.debounce((function(){e.handleForcedImageRatio(),e.ytIframe&&e.handleIframeDimensions()}),300)),this.handleForcedImageRatio()),this.playTrigger&&this.playTrigger.addEventListener("click",(function(){e.forceInputUrl||(e.ytUrl=t.prepareYoutubeUrl(e.configuredYTUrl,!1)),"1"===n.default.getCookie(n.default.youtubeCookie().YOUTUBE_DISCLAIMER_CONFIRM_COOKIE_NAME)||e.disableYoutubeDisclaimer?e.openVideoWithClickTracking():(r.default.closeLayer(e.disclaimerLayer),r.default.setAcceptCallback((function(){e.openVideoWithClickTracking()})),r.default.openLayer(e.disclaimerLayer))})),window.location.hash&&""!==this.playerId&&t.getHashYoutubePlayerId()===this.playerId&&(this.forceInputUrl||(this.ytUrl=t.prepareYoutubeUrl(this.configuredYTUrl,!1)),"1"===n.default.getCookie(n.default.youtubeCookie().YOUTUBE_DISCLAIMER_CONFIRM_COOKIE_NAME)||this.disableYoutubeDisclaimer?this.openVideoWithDeepLinkTracking():(r.default.closeLayer(this.disclaimerLayer),r.default.setAcceptCallback((function(){e.openVideoWithDeepLinkTracking()})),r.default.openLayer(this.disclaimerLayer))))}},{key:"openVideoWithClickTracking",value:function(){window.db.fireClickTracking("ytp_playbutton","","click",this.el),this.openVideo(this.ytUrl)}},{key:"openVideoWithDeepLinkTracking",value:function(){window.db.fireClickTracking("ytp_deeplink-".concat(this.playerId),"","click",this.el),this.openVideo(this.ytUrl)}},{key:"openVideo",value:function(t){t&&""!==t&&(this.ytIframe||(this.ytIframe=document.createElement("iframe"),this.ytIframe.classList.add("yt-player__iframe"),this.ytIframe.setAttribute("frameborder",0),this.ytIframe.setAttribute("allow","autoplay"),this.ytIframe.setAttribute("allowTransparency",!0),this.ytIframe.setAttribute("allowfullscreen",!0),this.handleIframeDimensions(),this.ytIframe.setAttribute("src",t),this.mediaWrapper.appendChild(this.ytIframe)),this.el.classList.add("yt-player--active"))}},{key:"closeVideo",value:function(){this.el.classList.remove("yt-player--active"),this.ytIframe.parentElement.removeChild(this.ytIframe),this.ytIframe=null}},{key:"handleIframeDimensions",value:function(){this.ytIframe&&((window.innerWidth||document.documentElement.clientWidth||document.documentElement.getElementsByTagName("body")[0].clientWidth)<=n.default.bp().M-1?(this.ytIframe.setAttribute("width",this.posterWidthMobile),this.ytIframe.setAttribute("height",this.posterHeightMobile)):(this.ytIframe.setAttribute("width",this.posterWidth),this.ytIframe.setAttribute("height",this.posterHeight)))}},{key:"handleForcedImageRatio",value:function(){(window.innerWidth||document.documentElement.clientWidth||document.documentElement.getElementsByTagName("body")[0].clientWidth)<=n.default.bp().M-1?this.mediaWrapper.style.paddingBottom="".concat(this.posterRatioMobile,"%"):this.mediaWrapper.style.paddingBottom="".concat(this.posterRatio,"%")}},{key:"showTrigger",value:function(){this.playButton.classList.add("btn-play--visible")}}])&&a(e.prototype,i),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=s},function(t,e,i){"use strict";i.r(e);var n=i(0),r=i(39);function o(t){return(o="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})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,a,s=[],l=!0,c=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=i.return&&(a=i.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||l(t,e)||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 s(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(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 l(t,e){if(t){if("string"==typeof t)return c(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function u(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===o(a)?a:String(a)),n)}var r,a}var d=/ebiId=(\d*)/,h=document.body.dataset.opraUrlRegex,f=h&&h.length>0?new RegExp(h):/\/opra2?\//,p=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var e=null,i=document.querySelector(".nc__list-item--lvl1.nav--current");if(i){var r=i.firstElementChild;r&&r.title&&r.title.length>0&&(e=r.title)}this.fallbackParameters={pageName:document.body.dataset.pagename,pageUrl:"".concat(window.location.protocol,"//").concat(window.location.hostname).concat(window.location.pathname),topic:"",businessUnit:e||"Privatkunden",source:"PWS PFB-Portal",campaignId:n.default.getCookie("promotionId_orig"),ebiId:"",hurraMcid:"",calculatorName:"",calculatorData:"",preQualificationData:"",preQualificationType:"",comment:"",branchStreetWithNo:"",branchZipCode:"",branchCity:"",contact:"",r:"",mandatoryParams:{restartApplication:!0}}}var e,i,o;return e=t,o=[{key:"addObjectParamsToUrl",value:function(t,e){return e?Object.keys(e).reduce((function(t,i){return n.default.addURLParam(t,i,e[i])}),t):t}},{key:"isInBlackList",value:function(t){return f.test(t)}}],(i=[{key:"init",value:function(){r.default.isLoggedIn((function(t){t?document.body.classList.add("isLoggedInCIP"):document.body.classList.remove("isLoggedInCIP")})),this.initGetButtons()}},{key:"initGetButtons",value:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.querySelectorAll('a[href*="/opra"]'),r=document.querySelector(".nav-main__list-item--lvl1.nav--current > a"),o="neutral";switch(r&&r.textContent&&(o=r.textContent.trim()),this.fallbackParameters.topic=o,window.overrideTopic&&""!==window.overrideTopic&&(this.fallbackParameters.topic=window.overrideTopic),this.fallbackParameters.topic){case"Vorsorge":this.fallbackParameters.topic="Zukunftsvorsorge";break;case"Immobilie":this.fallbackParameters.topic="Immobilien";break;case"Konto & Karte":this.fallbackParameters.topic="Konto und Karte"}window.overrideHurraMcid&&""!==window.overrideHurraMcid&&(this.fallbackParameters.hurraMcid=window.overrideHurraMcid),s(i).forEach((function(i){if(!i.classList.contains("doNotTriggerOpra")&&!t.isInBlackList(i.href)){var r=d.exec(i.href),o=i.href.split("?"),s=n.default.getUrlParams(o[1]),l=t.addObjectParamsToUrl(o[0],e.fallbackParameters.mandatoryParams);if(Array.isArray(r)){var c=a(r,2)[1];c&&(l=n.default.addURLParam(l,"ebiId",c))}i.dataset.oldhref=i.href,i.dataset.hurramcid&&""!==i.dataset.hurramcid&&(s.hurraMcid=i.dataset.hurramcid),i.dataset.overridetopic&&""!==i.dataset.overridetopic&&(s.topic=i.dataset.overridetopic),Object.keys(e.fallbackParameters).forEach((function(t){s[t]&&0!==s[t].length||!e.fallbackParameters[t]||"string"!=typeof e.fallbackParameters[t]&&"number"!=typeof e.fallbackParameters[t]||!(e.fallbackParameters[t].length>0)||(s[t]=e.fallbackParameters[t])})),l=t.addObjectParamsToUrl(l,s),i.href=l,i.target="_blank"}}))}}])&&u(e.prototype,i),o&&u(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();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})(t)}function v(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==m(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===m(o)?o:String(o)),n)}var r,o}var y=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t,e,i,r,o,a=n.default.getURLParam("kid");if(!n.default.isEmptyText(a)){if("i"==(a.indexOf("i")>-1?"i":"e")){var s=n.default.getCookie("fullPromotionId");(o=s)&&""!==o&&"undefined"!==o&&"null"!==o&&"e"===s.charAt(0)&&(a=s)}t={promotionId:(r={kid:a},function(t,e){var i=t;if(i.length===e)return i;if(i.length>e)return i.substr(i.length-e,e);for(var n=e-i.length,r=0;r<n;r++)i="0".concat(i);return i}(r.kid.replace(/[ie.]/g,""),8)),promotionIdOriginal:a},e=t.promotionId,i=t.promotionIdOriginal,e&&e.length>0&&(n.default.setCookie({name:"promotionId",value:e,expires:60}),i&&n.default.setCookie({name:"fullPromotionId",value:i,expires:60}))}}}])&&v(e.prototype,i),r&&v(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function g(t){return(g="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})(t)}function b(t){return function(t){if(Array.isArray(t))return w(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)return;if("string"==typeof t)return w(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return w(t,e)}(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 w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function S(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==g(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===g(o)?o:String(o)),n)}var r,o}var E=/^[e|i]\.([-\w\d]{1,})\.([-\w\d]{1,})\.([-\w\d]{1,})/i;function C(t,e){var i=t;if(i.length===e)return i;if(i.length>e)return i.substr(i.length-e,e);for(var n=e-i.length,r=0;r<n;r++)i="0".concat(i);return i}function T(t){return!(!t||""===t||"undefined"===t||"null"===t)}function k(t){var e=t.kidQueryString,i=E.exec(decodeURIComponent(e)),n="";if(Array.isArray(i)&&4===i.length){var r=C(i[1],4),o=C(i[2],2),a=C(i[3],2);n="".concat(r).concat(o).concat(a)}return n}function x(t){var e=t.promotionId,i=t.promotionIdOriginal;e&&e.length>0&&(n.default.setCookie({name:"promotionId",value:e}),i&&n.default.setCookie({name:"promotionId_orig",value:i}))}var L=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t=n.default.getURLParam("kid");if("dbfinanzberatung"===document.body.dataset.tenantid&&T(t)&&b(document.querySelectorAll("a[href]")).forEach((function(e){e.href=e.href.replace("11111111",t)})),!window.db.cookieConsentManagementEnabled||window.db.cookieConsentMarketing){var e,i,r,o,a=!T(n.default.getCookie("promotionId"));!T(t)||!a&&E.test(n.default.getCookie("promotionId_orig"))?a&&x({promotionId:(e={mcId:n.default.getURLParam("WT.mc_id"),mcWp:n.default.getURLParam("mc_wp")},i=e.mcId,r=e.mcWp,o="",i&&"undefined"!==i&&"null"!==i&&(T(r)||(r="90"),o="".concat(C(i,6)).concat(C(r,2))),o)}):x({promotionId:k({kidQueryString:t}),promotionIdOriginal:t})}}}])&&S(e.prototype,i),r&&S(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function A(t){return(A="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})(t)}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)return;if("string"==typeof t)return I(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return I(t,e)}(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 i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function _(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==A(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==A(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===A(o)?o:String(o)),n)}var r,o}var P=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.megaTabsContainer=document.getElementsByClassName("megatabs-outer"),this.printClass=n.default.sc().fromCustomPrint}var e,i,r;return e=t,(i=[{key:"init",value:function(){var t=this;window.matchMedia&&window.matchMedia("print").addListener((function(e){e.matches&&t.beforePrint()})),window.onbeforeprint=this.beforePrint.bind(this)}},{key:"beforePrint",value:function(){this.megaTabsContainer&&this.handleMegaTabs()}},{key:"handleMegaTabs",value:function(){var t=this;O(this.megaTabsContainer).forEach((function(e){var i=e.getElementsByClassName("megatabs__tab--active"),n=i[0];if(i.length>0&&i[0].getElementsByClassName(t.printClass).length<1){var r=e.querySelectorAll(".megatabs__content-container .megatabs__tab-content")[0].cloneNode(!0),o=n.getElementsByClassName("megatabs__tab-content-container")[0];r.classList.add(t.printClass),o.appendChild(r)}}))}}])&&_(e.prototype,i),r&&_(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),N=i(19),M=i(15);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})(t)}function D(t){return function(t){if(Array.isArray(t))return j(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)return;if("string"==typeof t)return j(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return j(t,e)}(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 j(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function H(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==B(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==B(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===B(o)?o:String(o)),n)}var r,o}var R=[".navigation-area",".stage-area",".content-area",".footer-area"],F=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.body=n.default.sc().body,this.targetElement=null}var e,i,r;return e=t,r=[{key:"getHashName",value:function(t){return n.default.nodeCheck(t)&&t.href?t.href.split("#")[1]:t}},{key:"calcComponentOffset",value:function(t){var e=0;return n.default.getClosestParentWithClass(t,"tabs__panels")&&(e+=n.default.getClientHeight(n.default.getClosestParentWithClass(t,"tabs").querySelector(".tabs__controls"))),n.default.getClosestParentWithClass(t,"acc__entry")&&(e+=n.default.getClientHeight(n.default.getClosestParentWithClass(t,"acc__entry").querySelector(".acc__entry-header"))),e}},{key:"calcStickyLayoutOffset",value:function(t){return"fixed"===window.getComputedStyle(t).getPropertyValue("position")&&n.default.isVisible(t)?n.default.getClientHeight(t):0}}],(i=[{key:"init",value:function(){var t=this,e=[];if(R.forEach((function(i){(i=t.body.querySelector(i))&&e.push.apply(e,D(i.getElementsByTagName("a")))})),[].concat(e).filter((function(t){return t.href.indexOf("#")>=0&&!t.classList.contains("acc__entry-trigger")&&!t.classList.contains("tab__link")&&!t.classList.contains("content-nav__item")})).forEach((function(e){e.addEventListener("click",(function(){return t.initMoving(e)}))})),window.location.hash||n.default.getURLParam(n.default.sc().redirectParameterNameJumpMark)){var i=n.default.getURLParam(n.default.sc().redirectParameterNameJumpMark)||n.default.getURLHash(),r=function(){return setTimeout((function(){return t.initMoving(i)}),0)};"loading"!==document.readyState?r():document.addEventListener("DOMContentLoaded",r)}}},{key:"initMoving",value:function(e){var i=this,r=t.getHashName(e);if(this.body.classList.toggle("jump-mark-active"),this.targetElement=document.getElementById(r)||document.getElementById("tp-".concat(r))||document.getElementById("ae-".concat(r)),!this.targetElement)return!1;"accordion"===this.targetElement.getAttribute("data-comp")||this.targetElement.classList.contains("tabs__controls")||n.default.triggerCustomEvent(n.default.sc().customEventNameJumpMark,this.targetElement);var o=this.getScrollPosition();return Object(M.a)(o,400,(function(){var t=i.getScrollPosition();o!==t&&Object(M.a)(t)})),this.body.classList.toggle("jump-mark-active"),!1}},{key:"getScrollPosition",value:function(){var e=n.default.findPos(this.targetElement).top;return e-=window.db.General.stickyHelper.getFixedElementsHeights(),e-=t.calcComponentOffset(this.targetElement)}}])&&H(e.prototype,i),r&&H(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function W(t){return(W="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})(t)}function z(t){return function(t){if(Array.isArray(t))return V(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)return;if("string"==typeof t)return V(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return V(t,e)}(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 V(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function q(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==W(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===W(o)?o:String(o)),n)}var r,o}var U=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CONST={stickyClass:"js-sticky-helper"},this.elementConfigs={configCount:0},this.registeredDomElements=document.getElementsByClassName(this.CONST.stickyClass),this.observer=new window.MutationObserver((function(i){i.forEach((function(i){e.registeredDomElements.length,Object.keys(e.elementConfigs).length;var n=e.findRegisteredElementData(i.target);if(t.isChangeRequired(n,i)){var r=z(e.registeredDomElements).indexOf(i.target);if(r<0)return;var o=null;do{if(r+=1,o=e.registeredDomElements[r]){var a=e.elementConfigs[o.dataset.stickyMarker];(e.isElementSticky(o)||t.isTriggerClassAvailable(o,a.triggerClasses))&&a.callback(e.getFixedElementsHeights(o))}}while(o)}}))}))}var e,i,r;return e=t,r=[{key:"isChangeRequired",value:function(t,e){return t&&t.triggerClasses&&t.triggerClasses.length>0&&t.triggerClasses.some((function(t){return e.oldValue.indexOf(t)>=0!==e.target.classList.contains(t)}))}},{key:"isTriggerClassAvailable",value:function(t,e){return t&&e.some((function(e){return t.classList.contains(e)}))}}],(i=[{key:"registerSticky",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.noop,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0;i instanceof Array||(i=[i]),t&&!z(this.registeredDomElements).some((function(e){return e.isSameNode(t)}))&&(this.purgeStaleConfigs(),this.processRegisteredElement({$element:t,callback:e,triggerClasses:i,$stickyElement:r}),this.observer.observe(t,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}))}},{key:"processRegisteredElement",value:function(t){var e=t.$element,i="".concat(this.CONST.stickyClass,"-").concat(this.elementConfigs.configCount);e.classList.add(this.CONST.stickyClass),e.dataset.stickyMarker=i,this.elementConfigs.configCount++,this.elementConfigs[i]=t}},{key:"purgeStaleConfigs",value:function(){var t=this,e=z(this.registeredDomElements).map((function(t){return t.dataset.stickyMarker}));Object.keys(this.elementConfigs).forEach((function(i){"configCount"!==i&&-1===e.indexOf(i)&&delete t.elementConfigs[i]}))}},{key:"findRegisteredElementData",value:function(t){return t?this.elementConfigs[t.dataset.stickyMarker]:null}},{key:"getFixedElementsHeights",value:function(t){var e=-1;return t&&z(this.registeredDomElements).some((function(i,n){var r=t.isEqualNode(i);return r&&(e=n),r})),-1===e&&(e=this.registeredDomElements.length),this.getFixedElementsHeightsByIndex(e)}},{key:"getFixedElementsHeightsByIndex",value:function(t){var e=this;return z(this.registeredDomElements).filter((function(i,n){return n<t&&e.isElementSticky(i)})).reduce((function(t,i){var n=e.findRegisteredElementData(i).$stickyElement||i,r=n.getBoundingClientRect().top;return t+=n.offsetHeight+(r<0?r:0)}),0)}},{key:"isElementSticky",value:function(t){var e=!1,i=this.findRegisteredElementData(t).$stickyElement,r=window.getComputedStyle(t);if("fixed"!==r.position&&"sticky"!==r.position||!n.default.isVisible(t)){if(i){var o=window.getComputedStyle(i).position;e=("fixed"===o||"sticky"===o)&&n.default.isVisible(i)}}else e=!0;return e}}])&&q(e.prototype,i),r&&q(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function $(t){return($="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})(t)}function G(t){return function(t){if(Array.isArray(t))return Y(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)return;if("string"==typeof t)return Y(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Y(t,e)}(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 Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function X(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==$(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===$(o)?o:String(o)),n)}var r,o}var K=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.webtrekkOptOutLinks=document.getElementsByClassName("special-behaviour--wtOptOut"),this.hurraOptOutLinks=document.getElementsByClassName("special-behaviour--hurraOptOut")}var e,i,r;return e=t,(i=[{key:"init",value:function(){G(this.webtrekkOptOutLinks).forEach((function(t){t.addEventListener("click",(function(){n.default.setCookie({name:"webtrekkOptOut",value:"1",expires:3600}),n.default.setCookie({name:"webtrekkPMOptOut",value:"1",expires:3600}),n.default.setCookie({name:"aec_oo_an",value:"1",expires:3600}),n.default.setCookie({name:"aec_oo_at",value:"1",expires:3600})}))})),G(this.hurraOptOutLinks).forEach((function(t){t.addEventListener("click",(function(){n.default.getAjax("https://ssl.hurra.com/opt-out?cid=827&t=9c3a2247dc400953a412585d487bab4b&of=json&a=optout",n.default.noop,n.default.noop)}))}))}}])&&X(e.prototype,i),r&&X(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Q(t){return(Q="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})(t)}function J(t){return function(t){if(Array.isArray(t))return Z(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)return;if("string"==typeof t)return Z(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Z(t,e)}(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 Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function tt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==Q(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===Q(o)?o:String(o)),n)}var r,o}var et=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var e=document.body.dataset.treatmentJsonUrl;if(!!e){var i=n.default.getURLParam("treatmentID");if(i&&i.startsWith("FF")){i=i.replace("FF","");var r=document.querySelector(".colctrl__alpha .xf-wrapper .tile-teaser-carousel .carousel-tile-teaser"),o=null!==r,a=document.querySelector(".colctrl__alpha .teaser"),s=o?r:a;if(s){var l=o?t.updateComponentContent:t.updateTeaserContent;n.default.getAjax(e,(function(t){if(t)try{var e=JSON.parse(t)[i];if(!e)return;l(s,e)}catch(t){}}))}}}}var e,i,r;return e=t,r=[{key:"updateTeaserContent",value:function(e,i){var n=i.imgUrl,r=i.url,o=i.headline,a=i.subline,s=i.text,l=i.button,c=i.alertBox,u=e.getElementsByClassName("teaser__image-wrapper")[0];if("string"==typeof n&&u)if(u.hasAttribute("data-load"))u.style="background-image: url(".concat(n,");");else{var d=new MutationObserver((function(t){t.forEach((function(t){"data-load"===t.attributeName&&(u.style="background-image: url(".concat(n,");"),d.disconnect())}))}));d.observe(u,{attributes:!0})}var h="string"==typeof o;if("string"==typeof r){var f=e.getElementsByClassName("calltoaction")[0];if(f){var p=f.getElementsByTagName("a")[0];if(p){var m="string"==typeof l,v=p.cloneNode(!0);f.removeChild(p),f.appendChild(v),v.href=r;var y=v.getElementsByClassName("btn-value")[0];y&&m&&(y.firstChild.textContent=l),h?v.title=o:m?v.title=l:v.removeAttribute("title"),v.removeAttribute("data-cmp-event")}}if(u&&t.replaceAnchorValues(u,{url:r,title:l}),h){var g=e.getElementsByClassName("teaser__headline");g&&J(g).forEach((function(e){t.replaceAnchorValues(e,{url:r,title:l,content:o})}))}c&&window.db.General.constructor.addClickHandlerForClassDisclaimerLinks()}else if(h){var b=e.getElementsByClassName("teaser__headline");b&&J(b).forEach((function(t){t.textContent=o}))}if("string"==typeof a){var w=e.getElementsByClassName("teaser__overline");w&&J(w).forEach((function(t){t.textContent=a}))}if("string"==typeof s){var S=e.getElementsByClassName("teaser__text")[0];S&&(S.innerHTML=s)}}},{key:"replaceAnchorValues",value:function(t,e){var i=e.url,n=e.title,r=e.content,o="string"==typeof n,a="string"==typeof r,s=t.getElementsByClassName("teaser__link")[0];if(s){var l=s.cloneNode(!0);l.href=i,l.removeAttribute("data-cmp-event"),o?l.title=n:l.removeAttribute("title"),a&&(l.innerText=r),t.removeChild(s),t.appendChild(l)}}},{key:"updateComponentContent",value:function(t,e){var i=e.imgUrl,n=e.url,r=e.headline,o=e.subline,a=e.text,s=e.button,l=e.alertBox;if("string"==typeof i){var c=t.getElementsByClassName("ctt__image")[0];c&&(c.srcset=i)}var u="string"==typeof r;if(u){var d=t.getElementsByClassName("ctt__headline")[0];d&&(d.textContent=r)}if("string"==typeof n){var h=t.getElementsByClassName("calltoaction")[0];if(h){var f=h.getElementsByTagName("a")[0];if(f){var p=f.cloneNode(!0);h.removeChild(f),h.appendChild(p),p.href=n;var m=p.getElementsByClassName("btn-value")[0],v="string"==typeof s;m&&v&&(m.firstChild.textContent=s),u?p.title=r:v?p.title=s:p.removeAttribute("title"),p.removeAttribute("data-cmp-event"),l&&window.db.General.constructor.addClickHandlerForClassDisclaimerLinks()}}}if("string"==typeof o){var y=t.getElementsByClassName("ctt__subheadline")[0];y&&(y.textContent=o)}if("string"==typeof a){var g=t.getElementsByClassName("ctt__body")[0];g&&(g.innerHTML=a)}}}],(i=null)&&tt(e.prototype,i),r&&tt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function it(t){return(it="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})(t)}function nt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==it(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==it(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===it(o)?o:String(o)),n)}var r,o}var rt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,(i=[{key:"init",value:function(){document.body.classList.contains("page-jumppage")&&window.addEventListener("DOMContentLoaded",(function(){var t=document.body.dataset,e=t.redirectDelaySeconds,i=t.timedRedirectUrl;if(e&&i&&0!==i.length){var r=1e3*parseInt(e,10);if(!Number.isNaN(r)){var o=n.default.getUrlParams(),a=Object.keys(o).reduce((function(t,e){return n.default.addURLParam(t,e,o[e])}),i);setTimeout((function(){window.location=a}),r)}}}))}}])&&nt(e.prototype,i),r&&nt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ot=i(13);function at(t){return(at="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})(t)}function st(t){return function(t){if(Array.isArray(t))return lt(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)return;if("string"==typeof t)return lt(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return lt(t,e)}(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 lt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function ct(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==at(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==at(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===at(o)?o:String(o)),n)}var r,o}var ut=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,i,r;return e=t,r=[{key:"checkStagePagination",value:function(){document.querySelector(".stage-area .swiper-pagination")&&document.body.classList.add("stage-swiper-active")}},{key:"setMobileState",value:function(){window.db.isMobile=!1,window.MobileEsp.isMobilePhone&&document.body.classList.add("isMobilePhone"),(window.MobileEsp.isMobilePhone||window.MobileEsp.isTierTablet)&&(document.body.classList.add("isMobile"),window.db.isMobile=!0)}},{key:"addClickHandlerForSwiperLinks",value:function(){var t=st(document.querySelectorAll(".carousel-image-teaser a.btn")),e=function(t){var e=t.currentTarget.href;e&&(t.preventDefault(),window.location.href=e)};t.forEach((function(t){return t.addEventListener("click",e)}))}},{key:"addClickHandlerForClassDisclaimerLinks",value:function(){var e="a[class*=".concat("disclaimer--","], a[data-show-disclaimer]:not(.btn--link-picker)"),i=st(document.querySelectorAll(e)),r=document.getElementsByClassName("disclaimer-container--classbased")[0];if(r){var o=r.getElementsByClassName("disclaimer-link")[0];if(o){var a=function(){r.classList.add("visuallyhidden"),r.classList.add("invisible"),setTimeout((function(){o.removeAttribute("href")}),500)},s=r.getElementsByClassName("disclaimer-button")[0];if(s){s.addEventListener("click",a),o.addEventListener("click",a);var l=r.getElementsByClassName("disclaimer-text")[0];if(l&&(window.db.openDisclaimer=function(t){t.preventDefault();var e=document.querySelector(".disclaimer-container");if(r){for(var i=0;i<e.length;i+=1)e[i].classList.add("visuallyhidden"),e[i].classList.add("invisible");r.classList.add("visuallyhidden"),r.classList.add("invisible"),o&&(o.setAttribute("href",t.currentTarget.getAttribute("href")),o.setAttribute("target",t.currentTarget.getAttribute("target")),o.setAttribute("rel",t.currentTarget.getAttribute("rel"))),l.textContent=r.dataset["disclaimer-1"]||"",r.focus(),r.classList.toggle("visuallyhidden"),r.classList.toggle("invisible")}},i.forEach((function(e){var i=t.extractDisclaimerFromClasses(e,"disclaimer--");if(void 0===i||""===i){var a=e.dataset.showDisclaimer;i=a}""!==i&&(e.classList.add(n.statics.disclaimer.HAS_APPLIED_DISCLAIMER_CLASS),e.addEventListener("click",(function(t){t.preventDefault();var n=document.getElementsByClassName("disclaimer-container")[0];if(r){for(var a=0;a<n.length;a+=1)n[a].classList.add("visuallyhidden"),n[a].classList.add("invisible");if(r.classList.add("visuallyhidden"),r.classList.add("invisible"),o&&(o.setAttribute("href",e.getAttribute("href")),o.setAttribute("target",e.getAttribute("target")),o.setAttribute("rel",e.getAttribute("rel"))),l)switch(l.innerHTML="",i){case"".concat("disclaimer--","1"):case"disclaimer":case"disclaimer1":l.innerHTML=r.dataset["disclaimer-1"]||"";break;case"".concat("disclaimer--","2"):case"disclaimer2":l.innerHTML=r.dataset["disclaimer-2"]||"";break;case"".concat("disclaimer--","3"):case"disclaimer3":l.innerHTML=r.dataset["disclaimer-3"]||"";break;case"".concat("disclaimer--","4"):case"disclaimer4":l.innerHTML=r.dataset["disclaimer-4"]||"";break;case"".concat("disclaimer--","5"):case"disclaimer5":l.innerHTML=r.dataset["disclaimer-5"]||"";break;default:l.innerHTML=r.dataset["disclaimer-1"]||""}r.focus(),r.classList.toggle("visuallyhidden"),r.classList.toggle("invisible")}})))})),"norisbank"!==document.body.dataset.tenantid)){var c="a:not(.".concat(n.statics.disclaimer.HAS_APPLIED_DISCLAIMER_CLASS,"):not(.btn--disabled)"),u=st(document.querySelectorAll(c));if(!u)return;var d=(r.dataset.disclaimerExcludedDomains||"").split(",").filter((function(t){return t.length>0})).map((function(t){return t.startsWith("(")?t:t.replaceAll(".","\\.")}));Array.isArray(window.db.excludedDomains)&&window.db.excludedDomains.length>0&&(d=d.concat(window.db.excludedDomains));var h=new RegExp("(".concat(d.join("|"),")"),"i");u.forEach((function(t){!t.href||t.href.startsWith("#")||t.href.startsWith("/")||t.hostname===window.location.hostname||!t.dataset.showDisclaimer&&t.href&&t.hostname&&!h.test(t.hostname)&&(t.dataset.hasDisclaimerEvent="true",t.addEventListener("click",window.db.openDisclaimer))}))}}}}}},{key:"extractDisclaimerFromClasses",value:function(t,e){if(t)for(var i=0;i<t.classList.length;i++)if(0===t.classList[i].indexOf(e))return t.classList[i];return""}},{key:"addCurrentUrlFeature",value:function(){st(document.querySelectorAll("a[data-add-url]")).forEach((function(t){var e=t.dataset.addUrl;e&&""!==e&&(t.href=window.db.Globals.addURLParam(t.href,e,window.location.href))}))}},{key:"checkBackgroundImageSettings",value:function(){var t=n.default.sc().body.getAttribute("data-bg-img-width")||0,e=n.default.sc().body.getAttribute("data-bg-img-height")||0;(t>0||e>0)&&(n.default.sc().body.style.backgroundSize="".concat(t).concat("px"," ").concat(e).concat("px"))}}],(i=[{key:"init",value:function(){if(window.db=window.db||{},window.db.General=this,window.db.TenantSettings.precache&&(this.rq=new ot.RequestCacher(window.db.TenantSettings.precache.FETCH_URLS)),"function"!=typeof window.aemTreatmentCallback&&(window.aemTreatmentCallback=function(e){window.setTimeout(t.addClickHandlerForClassDisclaimerLinks,0),st(document.querySelectorAll('[data-wfg-treatment="'.concat(e,'"] [data-comp]'))).forEach((function(t){var e=window.db.existingComponents[t];if("function"==typeof e){var i=new e(t);i.init(),window.db.loadedComponents.push({comp:i,name:t})}}))}),window.nestedAppLoadedCallback||(window.nestedAppLoadedCallback=function(){window.setTimeout(t.addClickHandlerForClassDisclaimerLinks,0)}),window.addEventListener("hashchange",(function(){"#onUcOpenSecondLayer"===window.location.hash&&"object"===("undefined"==typeof UC_UI?"undefined":at(UC_UI))&&null!==UC_UI&&(UC_UI.showSecondLayer(),window.history.replaceState(null,null,window.location.pathname))}),!1),this.callLinkInPopup(),t.setMobileState(),t.checkStagePagination(),"norisbank"===document.body.dataset.tenantid?this.campaignParameters=new y:this.campaignParameters=new L,this.campaignParameters.init(),this.opraHelpers=new p,this.opraHelpers.init(),this.treatmentIDHandler=new et,document.addEventListener("DOMContentLoaded",(function(){t.addClickHandlerForSwiperLinks(),t.addCurrentUrlFeature(),t.addClickHandlerForClassDisclaimerLinks()})),this.optOutLinks=new K,this.optOutLinks.init(),this.jumpMark=new F,this.stickyHelper=new U,this.customPrint=new P,this.customPrint.init(),this.jumpPageHelpers=new rt,this.jumpPageHelpers.init(),t.checkBackgroundImageSettings(),document.body.classList.contains("page-nonavigationpage")){var e=document.querySelectorAll(".header-area")[0];if(!e)return;this.stickyHelper.registerSticky(e,window.db.Globals.noop,["header-area--fixed","promo-banner--open","header-area--nav-open-mobile"])}}},{key:"callLinkInPopup",value:function(t,e){for(var i=this,n=["youtube","youtu.be"],r=["http://","http://www.","www.","https://","https://www."],o=[],a=t||document,s=e||!1,l=0;l<n.length;l++)for(var c=0;c<r.length;c++)o.push("".concat(r[c]).concat(n[l]));var u=a.querySelectorAll(o.map((function(t){return'a[href^="'.concat(t,'"]')})).join()),d=a.querySelectorAll("a.".concat("open-in-popup",", a.video-link"));st(u).forEach((function(t){t.classList.contains("video-link")&&!s||(t.classList.add("video-link"),t.addEventListener("click",i.clickHandlerOpenPopup))})),st(d).forEach((function(t){t.addEventListener("click",i.clickHandlerOpenPopup)}))}},{key:"clickHandlerOpenPopup",value:function(t){var e=this;t.target.classList.contains("disclaimer-link")||(t.preventDefault(),t.stopImmediatePropagation(),"function"==typeof window.handleElementClick&&window.handleElementClick(t)),this.disclaimerLayer=document.querySelector(".disclaimer-layer-js");var i=t.currentTarget.href;if(i){var r=i.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#&?]*).*/);r&&(i="https://youtube.com/embed/".concat(r[1]));var o={href:i},a=parseInt(t.currentTarget.dataset.popupWidth,10);Number.isNaN(a)||(o.width=a);var s=parseInt(t.currentTarget.dataset.popupHeight,10);Number.isNaN(s)||(o.height=s),r&&"1"!==n.default.getCookie(n.default.youtubeCookie().YOUTUBE_DISCLAIMER_CONFIRM_COOKIE_NAME)?(N.default.closeLayer(this.disclaimerLayer),N.default.setAcceptCallback((function(){n.default.openPopupWindow.call(e,o)})),N.default.openLayer(this.disclaimerLayer)):n.default.openPopupWindow.call(this,o)}}}])&&ct(e.prototype,i),r&&ct(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=ut},function(t,e,i){"use strict";i.r(e);var n=i(0);function r(t){return(r="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})(t)}function o(t){return function(t){if(Array.isArray(t))return a(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)return;if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(t,e)}(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,a=void 0,a=function(t,e){if("object"!==r(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===r(a)?a:String(a)),n)}var o,a}var l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CONST={selectedItemClass:"wkn-searchbox__result-item--selected"},this.config=Object.assign({activeClass:"active",maxSearchResults:10,minChars:3,handledKeys:[]},e),this.el=this.config.targetElement,this.inputElement=this.el.getElementsByTagName("input")[0],this.resultsWrapper=this.el.getElementsByClassName("wkn-searchbox__results-wrapper")[0],this.categoryTemplate=this.el.getElementsByClassName("wkn-searchbox__result-category")[0].cloneNode(!0),this.inputHandler=n.default.debounce(this.inputHandler.bind(this),130,!1),this.keyHandler=this.keyHandler.bind(this),this.el.addEventListener("input",this.inputHandler),this.inputElement.addEventListener("keydown",this.keyHandler)}var e,i,r;return e=t,r=[{key:"getNextItemIndex",value:function(t,e,i){var n=t;return"down"===i?n<e?n+=1:n=0:"up"===i&&(n>0?n-=1:n=e),n}},{key:"buildHighlights",value:function(t,e){var i=new RegExp("(".concat(t,")"),"gi");return e.replace(i,'<span class="wkn-searchbox__result-text--highlighted">$1</span>')}}],(i=[{key:"inputHandler",value:function(t){if(0===this.inputElement.value.length||t.keyCode===n.keyCodes.ESCAPE)this.hideResults();else if(this.inputElement.value.length>0){var e=this.findMatch(this.inputElement.value),i=e.usedSearchValue,r=e.results;this.drawResults({location:this.resultsWrapper,results:r,searchTerm:i}),this.showResults()}}},{key:"getSelectedByKeyboard",value:function(){var t=this.resultsWrapper.getElementsByClassName(this.CONST.selectedItemClass);if(!(t.length>1))return t[0]}},{key:"moveSelection",value:function(e){var i=this.getSelectedByKeyboard();i&&i.classList.remove(this.CONST.selectedItemClass);var n=o(this.resultsWrapper.getElementsByClassName("wkn-searchbox__result-item")),r=n.findIndex((function(t){return t.isSameNode(i)})),a=t.getNextItemIndex(r,n.length-1,e);n[a].classList.add(this.CONST.selectedItemClass),n[a].focus()}},{key:"keyHandler",value:function(t){switch(t.keyCode){case n.keyCodes.UP:this.moveSelection("up");break;case n.keyCodes.DOWN:this.moveSelection("down");break;case n.keyCodes.ENTER:case n.keyCodes.NUMPAD_ENTER:var e=this.getSelectedByKeyboard();e&&(t.preventDefault(),document.location.href=e.firstElementChild.href)}}},{key:"fillCategory",value:function(e,i,r){var o=document.createElement("li");o.classList.add("wkn-searchbox__result-item");var a=document.createElement("a");a.classList.add("wkn-searchbox__result-link");var s=document.createElement("span"),l=this.categoryTemplate.cloneNode(!0),c=l.getElementsByClassName("wkn-searchbox__result-category-entries")[0];return n.default.emptyElement(c),l.getElementsByClassName("wkn-searchbox__category-name")[0].innerHTML="".concat(e," (").concat(i.length,")"),i.forEach((function(e){var i=o.cloneNode(),n=a.cloneNode();n.href=e.wknSearchUrl,n.title=e.name;var l=s.cloneNode();l.classList.add("wkn-searchbox__result-text"),l.classList.add("wkn-searchbox__result-text-name"),l.innerHTML=t.buildHighlights(r,e.name),n.appendChild(l);var u=s.cloneNode();u.classList.add("wkn-searchbox__result-text"),u.innerHTML=t.buildHighlights(r,e.wkn),n.appendChild(u),i.appendChild(n),c.appendChild(i)})),l}},{key:"drawResults",value:function(t){var e=this,i=t.location,r=t.results,o=t.searchTerm,a=document.createDocumentFragment();Object.keys(r).forEach((function(t){var i=r[t];i.length>0&&a.appendChild(e.fillCategory(t,i,o))})),n.default.emptyElement(i),i.appendChild(a)}},{key:"findMatch",value:function(t){return this.config.searchHandler?this.config.searchHandler(t):void 0}},{key:"showResults",value:function(){this.el.classList.add(this.config.activeClass)}},{key:"hideResults",value:function(){this.el.classList.remove(this.config.activeClass)}}])&&s(e.prototype,i),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function c(t){return(c="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})(t)}function u(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==c(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===c(o)?o:String(o)),n)}var r,o}var d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.DEFAULTS={separator:";"},this.el=e,this.config=n.default.datasetToObject({el:this.el}),this.config.separator||(this.config.separator=this.DEFAULTS.separator),this.csvFile="".concat(window.location.origin).concat(this.config.suggestions)}var e,i,r;return e=t,r=[{key:"getShortcutSearchTermValue",value:function(t){var e={hp:"HEWLETT PACKARD",ibm:"INTL BUSINESS MACHINE",bmw:"BAYERISCHE MOTOREN",eon:"E.ON","3m":"3M CO. REGISTERED","at&t":"AT & T INC. REGISTE",cola:"COCA-COLA","s&p":"S&P 500",muenchener:"MÜNCHENER",socie:"SOCI"}[t.trim().toLowerCase()];return void 0!==e?e:t}},{key:"hasInvalidAssetData",value:function(t){return Object.keys(t).some((function(e){return n.default.isEmptyText(t[e])}))}},{key:"searchAssets",value:function(t,e,i){var r={};if(n.default.isEmptyText(t))return r;var o=new RegExp(t,"i");return Object.keys(e).reduce((function(t,n){return t[n]=e[n].filter((function(t){return o.test(t.searchString)})).slice(0,i),t}),r)}},{key:"prepareKeywordsForSearch",value:function(e,i,r){return e.reduce((function(e,o,a){var s="",l=(a+1)%3,c=1===l?{}:e[e.length-1];switch(l){case 1:s="name";break;case 2:s="isgSymbol";break;default:s="wkn"}return c[s]=o,1===l?e.push(c):0===l&&(t.hasInvalidAssetData(c)?e.pop():(c.searchString=Object.keys(c).map((function(t){return c[t]})).join("\n"),c.wknSearchUrl=n.default.addURLParam(i,r,c.wkn))),e}),[])}}],(i=[{key:"init",value:function(){this.config.categoryNames=JSON.parse(this.config.categoryNames),this.getCsvAndFillKeywordsObject(this.csvFile),this.searchHandler=this.searchHandler.bind(this),this.searchOptions={activeClass:"wkn-searchbox--active",maxSearchResults:5,minChars:1,searchHandler:this.searchHandler,targetElement:this.el},this.predictiveSearch=new l(this.searchOptions)}},{key:"getCsvAndFillKeywordsObject",value:function(t){var e=this;n.default.getAjax(t,(function(t){for(var i=t.replace("".concat(e.config.separator).concat(e.config.separator),"").replace(/(<([^>]+)>)/gi,"").replace(/['"]+/g,"").split(/\r?\n|\r/),n={},r="",o=function(t,e,i){""===t&&1===i.length||n[r].push(t)},a=0;a<i.length;a++){var s=i[a].split(e.config.separator),l=e.config.categoryNames[s[0]];void 0!==l&&"string"==typeof l&&l.length>0?(r=s[0],n[r]=[]):s.forEach(o)}e.suggestions=n,e.keywordsList=e.transformKeywordsList(e.suggestions,e.config.categoryNames)}))}},{key:"searchHandler",value:function(e){var i=t.getShortcutSearchTermValue(e);return{usedSearchValue:i,results:t.searchAssets(i,this.keywordsList,this.searchOptions.maxSearchResults)}}},{key:"transformKeywordsList",value:function(e,i){var n=this;return Object.keys(e).reduce((function(r,o){var a=t.prepareKeywordsForSearch(e[o],n.config.wknSearchUrl,n.config.queryParam);return a.length>0&&(r[i[o]]=a),r}),{})}}])&&u(e.prototype,i),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=d},function(t,e,i){"use strict";i.r(e);var n=i(12),r=i.n(n),o=i(2),a=i.n(o),s=i(0),l=i(83),c=i.n(l);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==h(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===h(o)?o:String(o)),n)}var r,o}function h(t){return(h="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})(t)}var f=0,p=[];function m(t,e,i){for(var n=0;n<t.length;n+=1)e.call(i,t[n],n)}function v(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n={}.hasOwnProperty,r=e[0],o=e[1];if(e.length>2){var a=[];for(Object.keys(e).forEach((function(t){a.push(e[t])}));a.length>2;){var s=a.shift(),l=a.shift();a.unshift(v(s,l))}r=a.shift(),o=a.shift()}return o&&Object.keys(o).forEach((function(t){n.call(o,t)&&("object"===h(o[t])?(r[t]=r[t]||{},r[t]=v(r[t],o[t])):r[t]=o[t])})),r}function y(){return"rmjs-".concat(f+=1)}function g(t){t.style.height="auto";var e=parseInt(t.getBoundingClientRect().height,10),i=parseInt(window.getComputedStyle(t).maxHeight,10),n=parseInt(t.readmore.defaultHeight,10);t.readmore.expandedHeight=e,t.readmore.maxHeight=i,t.readmore.collapsedHeight=i||t.readmore.collapsedHeight||n,t.style.maxHeight="none"}function b(t,e){if(!p[t]){var i="";e.embedCSS&&""!==e.blockCSS&&(i+="".concat(t," + [data-readmore-toggle], ").concat(t,"[data-readmore] {\n        ").concat(e.blockCSS,"\n      }")),i+="".concat(t,"[data-readmore] {\n      transition: height ").concat(e.speed,"ms;\n      overflow: hidden;\n    }"),n=document,r=i,(o=n.createElement("style")).type="text/css",o.styleSheet?o.styleSheet.cssText=r:o.appendChild(n.createTextNode(r)),n.getElementsByTagName("head")[0].appendChild(o),p[t]=!0}var n,r,o}function w(t,e,i){var n=t;"function"==typeof t&&(n=t(e));var r,o,a=(r=n,(o=document.createElement("div")).innerHTML=r,o.firstChild);return a.setAttribute("data-readmore-toggle",e.id),a.setAttribute("aria-controls",e.id),a.addEventListener("click",function(t){this.toggle(e,t)}.bind(i)),a}function S(){return"undefined"!=typeof window&&"undefined"!=typeof document&&!!document.querySelectorAll&&!!window.addEventListener}[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){Object.prototype.hasOwnProperty.call(t,"remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}));var E,C,T,k,x=(E=function(){m(document.querySelectorAll("[data-readmore]"),(function(t){var e="true"===t.getAttribute("aria-expanded");g(t),t.style.height="".concat(e?t.readmore.expandedHeight:t.readmore.collapsedHeight,"px")}))},C=100,function(){for(var t=this,e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];var r=T&&!k,o=function(){k=null,T||E.apply(t,i)};clearTimeout(k),k=setTimeout(o,C),r&&E.apply(this,i)}),L={speed:100,collapsedHeight:200,heightMargin:16,moreLink:'<a href="#">Read More</a>',lessLink:'<a href="#">Close</a>',embedCSS:!0,blockCSS:"display: block; width: 100%;",startOpen:!1,sourceOrder:"after",blockProcessed:function(){},beforeToggle:function(){},afterToggle:function(){}},A=function(){function t(){var e=this;if(u(this,t),S()){for(var i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];var o,a=n[0],s=n[1];(o="string"==typeof a?document.querySelectorAll(a):a.nodeName?[a]:a).length&&(this.options=v({},L,s),"string"==typeof a?b(a,this.options):(this.instanceSelector=".".concat(y()),b(this.instanceSelector,this.options)),window.addEventListener("load",x),window.addEventListener("resize",x),this.elements=[],m(o,(function(t){e.instanceSelector&&t.classList.add(e.instanceSelector.substr(1));var i=e.options.startOpen;t.readmore={defaultHeight:e.options.collapsedHeight,heightMargin:e.options.heightMargin},g(t);var n=t.readmore.heightMargin;if(t.getBoundingClientRect().height<=t.readmore.collapsedHeight+n)"function"==typeof e.options.blockProcessed&&e.options.blockProcessed(t,!1);else{t.setAttribute("data-readmore",""),t.setAttribute("aria-expanded",i),t.id=t.id||y();var r=w(i?e.options.lessLink:e.options.moreLink,t,e);t.parentNode.insertBefore(r,"before"===e.options.sourceOrder?t:t.nextSibling),t.style.height="".concat(i?t.readmore.expandedHeight:t.readmore.collapsedHeight,"px"),"function"==typeof e.options.blockProcessed&&e.options.blockProcessed(t,!0),e.elements.push(t)}})))}}var e,i,n;return e=t,(i=[{key:"toggle",value:function(){var t=this,e=arguments.length<=0?void 0:arguments[0],i=function(e){var i=document.querySelector('[aria-controls="'.concat(e.id,'"]')),n=e.getBoundingClientRect().height<=e.readmore.collapsedHeight,r=n?e.readmore.expandedHeight:e.readmore.collapsedHeight;if("function"!=typeof t.options.beforeToggle||!1!==t.options.beforeToggle(i,e,!n)){e.style.height="".concat(r,"px");var o=function r(o){"function"==typeof t.options.afterToggle&&t.options.afterToggle(i,e,n),o.stopPropagation(),e.setAttribute("aria-expanded",n),e.removeEventListener("transitionend",r,!1)};e.addEventListener("transitionend",o,!1),t.options.speed<1&&o.call(t,{target:e});var a=n?t.options.lessLink:t.options.moreLink;a?i&&i.parentNode&&i.parentNode.replaceChild(w(a,e,t),i):i.remove()}};if("string"==typeof e&&(e=document.querySelectorAll(e)),!e)throw new Error("Element MUST be either an HTML node or querySelector string");var n=arguments.length<=1?void 0:arguments[1];n&&(n.preventDefault(),n.stopPropagation()),"object"!==h(e)||e.nodeName?i(e):m(e,i)}},{key:"destroy",value:function(t){var e=this;m(t?"string"==typeof t?document.querySelectorAll(t):t.nodeName?[t]:t:this.elements,(function(t){if(-1!==e.elements.indexOf(t)){e.elements=e.elements.filter((function(e){return e!==t})),e.instanceSelector&&t.classList.remove(e.instanceSelector.substr(1)),delete t.readmore,t.style.height="initial",t.style.maxHeight="initial",t.removeAttribute("data-readmore"),t.removeAttribute("aria-expanded");var i=document.querySelector('[aria-controls="'.concat(t.id,'"]'));i&&i.remove(),-1!==t.id.indexOf("rmjs-")&&t.removeAttribute("id")}}))}}])&&d(e.prototype,i),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function O(t){return(O="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})(t)}function I(t){return function(t){if(Array.isArray(t))return _(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)return;if("string"==typeof t)return _(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _(t,e)}(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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function P(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(r=n.key,o=void 0,o=function(t,e){if("object"!==O(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(r,"string"),"symbol"===O(o)?o:String(o)),n)}var r,o}var N=function(){function t(e){var i=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.mediaGallery=this.el,this.mediaGalleryWrapper=this.el.querySelector(".mediagallery__wrapper"),this.mediaGalleryWrapper){if(this.mediaGalleryStageVideoContainer=this.el.querySelector(".mediagallery__stage-video-container"),this.mediaGalleryVideosContainer=this.el.querySelector(".mediagallery__videos-container"),this.swiperContainer=this.mediaGallery.querySelector(".swiper-container"),this.swiperWrapper=this.swiperContainer.querySelector(".swiper-wrapper"),this.disclaimer=this.mediaGalleryWrapper.dataset.disableDisclaimer,this.ytVideoData={},this.readmoreInstance=null,this.ytAPIKey=this.mediaGalleryWrapper.dataset.ytApiKey,this.slidePrevButton=this.mediaGalleryWrapper.querySelector(".swiper-button-slide-prev"),this.slideNextButton=this.mediaGalleryWrapper.querySelector(".swiper-button-slide-next"),this.swiperPagintaion=this.el.querySelector(".swiper-pagination"),s.default.isEmptyText(window.db.ytApiKey)||(this.ytAPIKey=window.db.ytApiKey),this.maxResults=this.mediaGalleryWrapper.dataset&&this.mediaGalleryWrapper.dataset.maxresults?this.mediaGalleryWrapper.dataset.maxresults:20,"contentType"in this.mediaGalleryWrapper.dataset&&(this.contentType=this.mediaGalleryWrapper.dataset.contentType),"ytPlaylistIds"in this.mediaGalleryWrapper.dataset&&(this.ytPlaylistIDs=this.mediaGalleryWrapper.dataset.ytPlaylistIds,this.ytPlaylistIDsArray=this.mediaGalleryWrapper.dataset.ytPlaylistIds.split(",")),"ytVideoIds"in this.mediaGalleryWrapper.dataset&&(this.ytVideoIDs=this.mediaGalleryWrapper.dataset.ytVideoIds,this.ytVideoIDsArray=this.mediaGalleryWrapper.dataset.ytVideoIds.split(",")),this.isIE=!("Microsoft Internet Explorer"!==window.navigator.appName&&!window.navigator.userAgent.match(/Trident/)&&!window.navigator.userAgent.match(/rv:11/)),"videos"===this.contentType){if(!this.mediaGalleryWrapper.querySelector("script.mediagallery__data"))return;var n=this.mediaGalleryWrapper.querySelector("script.mediagallery__data").textContent;try{var r=new RegExp("^(http|https)://","i"),o=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;this.ytVideoData=JSON.parse(n),this.ytVideoIDsArray=this.ytVideoData.map((function(t,e){var n=t.ytVideoId,a=n;if(r.test(n)){var s=n.match(o);s&&11===s[7].length?a=s[7]:11===n.length&&(a=n)}return i.ytVideoData[e].id=a,a})).join(",")}catch(t){}}if("playlists"===this.contentType){var a=new RegExp("^(http|https)://","i"),l=/list=([a-zA-Z0-9\-_]+)&?/;this.ytPlaylistIDsArray=this.ytPlaylistIDs.split(",").map((function(t){if(a.test(t)){var e=t.match(l);if(e&&e[1])return e[1]}return t}))}}}var e,i,n;return e=t,n=[{key:"getYtPlaylistItemsURL",value:function(t,e,i){return"https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,contentDetails,status&playlistId=".concat(t,"&maxResults=").concat(e).concat(i?"&key=".concat(i):"")}},{key:"sortPlaylistItemsByDatePublishedAt",value:function(t,e){var i=0;return t.snippet.publishedAt>e.snippet.publishedAt?i=-1:t.snippet.publishedAt<e.snippet.publishedAt&&(i=1),i}},{key:"getGermanDateFormat",value:function(t){var e=new Date(t),i=e.getDate(),n=e.getMonth()+1,r=e.getFullYear();return i<10&&(i="0".concat(i)),n<10&&(n="0".concat(n)),e="".concat(i,".").concat(n,".").concat(r)}},{key:"parseYtApiDuration",value:function(t){for(var e=[],i=0,n=t.match(/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)W)?(?:(\d*)D)?T?(?:(\d*)H)?(?:(\d*)M)?(?:(\d*)S)?/i),r=[{pos:1,multiplier:31536e3},{pos:2,multiplier:2592e3},{pos:3,multiplier:604800},{pos:4,multiplier:86400},{pos:5,multiplier:3600},{pos:6,multiplier:60},{pos:7,multiplier:1}],o=0;o<r.length;o++)void 0!==n[r[o].pos]&&(i+=parseInt(n[r[o].pos],10)*r[o].multiplier);return i>3599&&(e.push(parseInt(i/3600,10)),i%=3600),e.push("0".concat(parseInt(i/60,10)).slice(-2)),e.push("0".concat(i%60).slice(-2)),e.join(":")}},{key:"removePrivateVideos",value:function(t){var e=[];return t.forEach((function(t){"private"!==t.status.privacyStatus&&e.push(t)})),e}},{key:"getVideoTemplate",value:function(e,i,n,r,o,a,s,l,c){return'\n        <div class="mediagallery__video swiper-slide '.concat(c&&"custom-thumb",'">\n          <div class="mediagallery__video-frame" data-channel-title="').concat(i,'" data-duration="').concat(n,'" data-id="').concat(r,'" data-published-at="').concat(o,'">\n            <div class="mediagallery__media-info-duration">').concat(n,'</div>\n            <img alt="').concat(i,'" class="mediagallery__video-yt-thumbnail" src="').concat(a,'" title="').concat(s,'"/>\n\n          </div>\n          <div class="mediagallery__media-info">\n            <span class="mediagallery__media-info-published-at">').concat(o,'</span>\n            <h3 class="mediagallery__media-info-title" title="').concat(s,'">').concat(s,'</h3>\n            <p class="mediagallery__media-info-description"> ').concat(t.ytDescriptionToHTML(l),"</p>\n          </div>\n        </div>")}},{key:"ytDescriptionToHTML",value:function(t){return t.replace(/(https?:\/\/[^\s]+)/g,(function(t){return'<a href="'.concat(t,'">').concat(t,"</a>")})).replace(/(?:\r\n|\r|\n)/g,"<br>")}},{key:"createYtEmbedUrl",value:function(t){return"https://www.youtube.com/embed/".concat(t)}},{key:"isColumnControlNode",value:function(t){var e=["colctrl__50-50","colctrl__20-80","colctrl__80-20","colctrl__25-25-25-25","colctrl__20-20-20-20-20","colctrl__30-30-30","colctrl__20-60-20","colctrl__30-60","colctrl__60-30"];return t&&t.classList&&I(t.classList).some((function(t){return-1!==e.indexOf(t)}))}},{key:"buildVideoIframe",value:function(t){var e=document.createElement("iframe");return e.classList.add("mediagallery__video-yt-iframe"),e.setAttribute("frameborder","0"),e.setAttribute("allow","autoplay; fullscreen; encrypted-media; picture-in-picture; gyroscope; accelerometer;"),e.setAttribute("allowTransparency","true"),e.setAttribute("allowfullscreen","true"),e.setAttribute("src",t),e}},{key:"fetchFromUrl",value:function(t){return new Promise((function(e,i){var n=new window.XMLHttpRequest;n.open("GET",t),n.onload=function(){n.status>=200&&n.status<400?e(n.responseText):i(new Error(n.statusText))},n.onerror=function(){i(new Error("Network error"))},n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(null)}))}}],(i=[{key:"init",value:function(){this.el&&!s.default.isEmptyText(this.ytAPIKey)&&(this.isWithinColumnControl=!!this.getColumnControlNode(this.mediaGalleryWrapper),this.isWithinColumnControl||"norisbank"===document.body.getAttribute("data-tenantid")||this.mediaGalleryWrapper.classList.add("no-colctrl"),"playlists"===this.contentType&&null!==this.ytPlaylistIDsArray&&void 0!==this.ytPlaylistIDsArray&&this.prepareYtPlaylist(),"videos"===this.contentType&&null!==this.ytVideoIDsArray&&void 0!==this.ytVideoIDsArray&&this.prepareYtVideos(),this.playWithMQ())}},{key:"getYtVideosURL",value:function(t){var e=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];i?t.forEach((function(t){n.push(t.contentDetails.videoId)})):n=t;var r=n.toString(),o="https://www.googleapis.com/youtube/v3/videos";o=s.default.addURLParam(o,"part","contentDetails,snippet,status"),o=s.default.addURLParam(o,"id",r),o=s.default.addURLParam(o,"key",this.ytAPIKey);var a=this.constructor.fetchFromUrl(o);a.then((function(t){var i=[],n=JSON.parse(t);for(var r in n.items)if(n.items.hasOwnProperty(r)){var o=n.items[r];i.push(o)}e.prepareInitialYtVideoMarkup(i)})).catch((function(t){}))}},{key:"prepareYtPlaylist",value:function(){var t=this,e=null,i=this.prepareYtPlaylistRequestURLs().map((function(e){return t.constructor.fetchFromUrl(e)}));Promise.all(i).then((function(i){e=t.getFlattedSortedPublicYtPlaylist(i),t.getYtVideosURL(e)})).catch((function(t){}))}},{key:"prepareYtVideos",value:function(){this.getYtVideosURL(this.ytVideoIDsArray,!1)}},{key:"prepareYtPlaylistRequestURLs",value:function(){var e=this,i=[];return this.ytPlaylistIDsArray.forEach((function(n){i.push(t.getYtPlaylistItemsURL(n,e.maxResults,e.ytAPIKey))})),i}},{key:"getFlattedSortedPublicYtPlaylist",value:function(e){var i,n=[];e.forEach((function(t){if(void 0!==t){var e=JSON.parse(t);n.push(I(e.items))}}));var r=(i=[]).concat.apply(i,n).sort(t.sortPlaylistItemsByDatePublishedAt),o=t.removePrivateVideos(r);return o.splice(this.maxResults,r.length-this.maxResults),o}},{key:"prepareInitialYtVideoMarkup",value:function(e){var i=this;this.arr=e;var n=this.mediaGalleryStageVideoContainer,r=this.swiperWrapper,o=document.createRange();this.arr.forEach((function(e,a){var s,l=e.contentDetails.duration,c=e.id,u=e.snippet,d=u.channelTitle,h=u.publishedAt,f=e.snippet,p=f.title,m=f.description,v=!1,y=t.parseYtApiDuration(l),g=t.getGermanDateFormat(h),b="videos"===i.contentType&&i.ytVideoData?i.ytVideoData.find((function(t){return t.id===c})):{};if(b&&b.ytVideoHeadline&&b.ytVideoHeadline.length>0&&(p=b.ytVideoHeadline),b&&b.ytVideoDescription&&b.ytVideoDescription.length>0&&(m=b.ytVideoDescription),b&&b.ytVideoPreview&&b.ytVideoPreview.length>0)s=b.ytVideoPreview,v=!0;else for(var w=["maxres","high","medium","standard","default"];!(s||w.length<=0);){var S=w.shift();S&&e.snippet.thumbnails[S]&&e.snippet.thumbnails[S].url&&(s=e.snippet.thumbnails[S].url)}var E=t.getVideoTemplate(!1,d,y,c,g,s,p,m,v);if(0===a){var C=t.getVideoTemplate(!0,d,y,c,g,s,p,m);n.appendChild(o.createContextualFragment(C))}r.appendChild(o.createContextualFragment(E))})),this.createSwiper(),this.addClickHandlerToMediaThumbs(),this.addClickHandlerToStageThumb()}},{key:"getColumnControlNode",value:function(t){if(!t)return!1;for(var e=t;e&&!this.constructor.isColumnControlNode(e);)e=e.parentNode;return e}},{key:"getSwiperParameters",value:function(){var t=this,e=s.default.getSwiperA11yDE(),i={grabCursor:!0,loop:!1,paginationClickable:!0,preloadImages:!0,roundLengths:!0,setWrapperSize:!0,speed:1e3,updateOnImagesReady:!0,updateOnWindowResize:!0,watchSlidesProgress:!0,a11y:{prevSlideMessage:e.prevSlideMessage,nextSlideMessage:e.nextSlideMessage,firstSlideMessage:e.firstSlideMessage,lastSlideMessage:e.lastSlideMessage,paginationBulletMessage:e.paginationBulletMessage},keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:this.swiperPagintaion,type:"bullets",clickable:!0},navigation:{nextEl:this.slideNextButton,prevEl:this.slidePrevButton},spaceBetween:16,direction:this.isWithinColumnControl?"horizontal":"vertical",slidesPerView:"auto",slidesPerGroup:3,on:{init:function(){return t.isIE&&window.matchMedia(s.default.mq().S_MAX).matches&&(I(t.mediaGallery.querySelectorAll(".mediagallery__media-info-title")).forEach((function(t){return c()(t,2)})),I(t.mediaGalleryStageVideoContainer.querySelectorAll(".mediagallery__media-info-description")).forEach((function(t){return c()(t,3)}))),t.mediaGalleryWrapper.classList.add("mediagallery__wrapper--".concat(t.swiperContainer.swiper.params.direction)),!0},resize:function(){return setTimeout((function(){t.swiperInstance&&t.swiperInstance.pagination&&t.swiperInstance.pagination.bullets&&t.swiperInstance.pagination.bullets.length<=1?t.swiperInstance.pagination.el.style.display="none":t.mediaGalleryWrapper.querySelector(".swiper-pagination").removeAttribute("style"),t.mediaGalleryWrapper.classList.remove("mediagallery__wrapper--vertical"),t.mediaGalleryWrapper.classList.remove("mediagallery__wrapper--horizontal"),t.mediaGalleryWrapper.classList.add("mediagallery__wrapper--".concat(t.swiperContainer.swiper.params.direction))}),0),!0},paginationRender:function(t){t&&t.childElementCount<=1?t.style.display="none":t&&t.removeAttribute("style")}},breakpoints:{}};return i.breakpoints[s.default.bp().XS-1]={slidesPerView:1.5,slidesPerGroup:1,direction:"horizontal"},i.breakpoints[s.default.bp().S-1]={slidesPerView:1.8,slidesPerGroup:1,direction:"horizontal"},i.breakpoints[s.default.bp().M-1]={slidesPerView:2.8,slidesPerGroup:2,direction:"horizontal"},i.breakpoints[s.default.bp().L-1]={slidesPerView:3.8,slidesPerGroup:3,direction:"horizontal",setWrapperSize:!1},i.breakpoints[s.default.bp().XL-1]={slidesPerView:this.isWithinColumnControl?3.8:"auto",slidesPerGroup:3,direction:this.isWithinColumnControl?"horizontal":"vertical",autoHeight:!0,setWrapperSize:!1},i}},{key:"toggleSwiperButtonState",value:function(t){t?(this.slideNextButton.style.display="none",this.slidePrevButton.style.display="none"):(this.slideNextButton.removeAttribute("style"),this.slidePrevButton.removeAttribute("style"))}},{key:"hidePagination",value:function(){this.swiperPagintaion.style.display="none"}},{key:"createSwiper",value:function(){if(window.matchMedia(s.default.mq().M_BELOW).matches)return this.swiperInstance&&(this.swiperInstance.destroy(!0,!0),this.hidePagination()),this.toggleSwiperButtonState(!0),this.initAccordion(),!0;var t=this.getSwiperParameters();return this.swiperInstance=new r.a(this.swiperContainer,t),this.toggleSwiperButtonState(),!0}},{key:"addClickHandlerToMediaThumbs",value:function(){var t=this;I(this.mediaGalleryVideosContainer.querySelectorAll(".mediagallery__video")).forEach((function(e){e.addEventListener("click",(function(e){var i=e.currentTarget.cloneNode(!0);t.replaceStageMedia(i)}))}))}},{key:"videoThumbHandler",value:function(t){var e=t.currentTarget||t.target,i=e.parentNode,n=i.dataset.id,r="https://www.youtube.com/embed/".concat(n,"?rel=0&autoplay=1"),o=this.constructor.buildVideoIframe(r);o.addEventListener("load",(function(){i.removeChild(e),i.classList.add("mediagallery__video-frame--loaded")})),i.appendChild(o)}},{key:"addClickHandlerToStageThumb",value:function(){this.mediaGalleryStageVideoContainer.querySelector(".mediagallery__video-yt-thumbnail").addEventListener("click",this.videoThumbHandler.bind(this))}},{key:"replaceStageMedia",value:function(t){var e=this;t.removeAttribute("style"),this.mediaGalleryStageVideoContainer.innerHTML="",this.mediaGalleryStageVideoContainer.appendChild(t),this.addClickHandlerToStageThumb(),this.isIE&&window.matchMedia(s.default.mq().S_MAX).matches&&setTimeout((function(){I(e.mediaGalleryStageVideoContainer.querySelectorAll(".mediagallery__media-info-description")).forEach((function(t){return c()(t,3)}))}))}},{key:"playWithMQ",value:function(){var t=this;a.a.register(s.default.mq().M_BELOW,(function(){t.createSwiper()})).register(s.default.mq().M_TO_L,(function(){t.initAccordion(!0),t.swiperInstance&&t.swiperInstance.destroy(!0,!0),t.createSwiper()})).register(s.default.mq().L_UP,(function(){t.initAccordion(!0),t.swiperInstance&&t.swiperInstance.destroy(!0,!0),t.createSwiper()}))}},{key:"initAccordion",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.swiperContainer,n=this.swiperWrapper;if(e&&this.readmoreInstance)return this.readmoreInstance.destroy(),void(this.readmoreInstance=null);var r=I(this.swiperContainer.querySelectorAll(".swiper-slide"));r.length<=3||this.readmoreInstance||setTimeout((function(){var e=r[2].getBoundingClientRect().top-n.getBoundingClientRect().top+r[2].getBoundingClientRect().height;t.readmoreInstance=new A(i,{collapsedHeight:e,moreLink:'<a class="readmore" href="#">mehr Videos</a>',lessLink:'<a class="readless" href="#">weniger Videos</a>',afterToggle:function(t,e,i){i||window.scrollTo({top:r[0].offsetTop,behavior:"smooth"})}})}),150)}}])&&P(e.prototype,i),n&&P(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=N},function(t,e,i){"use strict";t.exports=i(402)},function(t,e,i){var n=i(202);"string"==typeof n&&(n=[[t.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};i(24)(n,r);n.locals&&(t.exports=n.locals)},function(t,e,i){},function(t,e){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(i[o]=r[o])}return i},writable:!0,configurable:!0}),Object.assign(Element.prototype,{remove:function(){return this.parentElement.removeChild(this)}});var i={remove:function(){for(var t=this.length-1;t>=0;t--)this[t]&&this[t].parentElement&&this[t].parentElement.removeChild(this[t])}};Object.assign(NodeList.prototype,i),Object.assign(HTMLCollection.prototype,i),Object.assign(Array.prototype,{inArray:function(t){var e;for(e=0;e<this.length;e++)if(this[e]===t)return!0;return!1}}),"function"!=typeof Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=0;e[i]&&e[i]!==this;)++i;return Boolean(e[i])}),"function"!=typeof Element.prototype.closest&&(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var i=0;i<this.length;i++)t.call(e,this[i],i,this)}),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=function(t,e){e=e||window;for(var i=0;i<this.length;i++)t.call(e,this[i],i,this)})},function(t,e,i){"use strict";i(205);var n,r=(n=i(377))&&n.__esModule?n:{default:n};r.default._babelPolyfill&&"undefined"!=typeof console&&console.warn,r.default._babelPolyfill=!0},function(t,e,i){"use strict";i(206),i(349),i(351),i(354),i(356),i(358),i(360),i(362),i(364),i(366),i(368),i(370),i(372),i(376)},function(t,e,i){i(207),i(210),i(211),i(212),i(213),i(214),i(215),i(216),i(217),i(218),i(219),i(220),i(221),i(222),i(223),i(224),i(225),i(226),i(227),i(228),i(229),i(230),i(231),i(232),i(233),i(234),i(235),i(236),i(237),i(238),i(239),i(240),i(241),i(242),i(243),i(244),i(245),i(246),i(247),i(248),i(249),i(250),i(251),i(253),i(254),i(255),i(256),i(257),i(258),i(259),i(260),i(261),i(262),i(263),i(264),i(265),i(266),i(267),i(268),i(269),i(270),i(271),i(272),i(273),i(274),i(275),i(276),i(277),i(278),i(279),i(280),i(281),i(282),i(283),i(284),i(285),i(286),i(288),i(289),i(291),i(292),i(293),i(294),i(295),i(296),i(297),i(299),i(300),i(301),i(302),i(303),i(304),i(305),i(306),i(307),i(308),i(309),i(310),i(311),i(104),i(312),i(133),i(313),i(134),i(314),i(315),i(316),i(317),i(135),i(320),i(321),i(322),i(323),i(324),i(325),i(326),i(327),i(328),i(329),i(330),i(331),i(332),i(333),i(334),i(335),i(336),i(337),i(338),i(339),i(340),i(341),i(342),i(343),i(344),i(345),i(346),i(347),i(348),t.exports=i(9)},function(t,e,i){"use strict";var n=i(3),r=i(20),o=i(10),a=i(1),s=i(17),l=i(37).KEY,c=i(4),u=i(63),d=i(50),h=i(41),f=i(7),p=i(85),m=i(114),v=i(209),y=i(66),g=i(5),b=i(6),w=i(14),S=i(22),E=i(36),C=i(40),T=i(45),k=i(117),x=i(30),L=i(65),A=i(11),O=i(43),I=x.f,_=A.f,P=k.f,N=n.Symbol,M=n.JSON,B=M&&M.stringify,D=f("_hidden"),j=f("toPrimitive"),H={}.propertyIsEnumerable,R=u("symbol-registry"),F=u("symbols"),W=u("op-symbols"),z=Object.prototype,V="function"==typeof N&&!!L.f,q=n.QObject,U=!q||!q.prototype||!q.prototype.findChild,$=o&&c((function(){return 7!=T(_({},"a",{get:function(){return _(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=I(z,e);n&&delete z[e],_(t,e,i),n&&t!==z&&_(z,e,n)}:_,G=function(t){var e=F[t]=T(N.prototype);return e._k=t,e},Y=V&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},X=function(t,e,i){return t===z&&X(W,e,i),g(t),e=E(e,!0),g(i),r(F,e)?(i.enumerable?(r(t,D)&&t[D][e]&&(t[D][e]=!1),i=T(i,{enumerable:C(0,!1)})):(r(t,D)||_(t,D,C(1,{})),t[D][e]=!0),$(t,e,i)):_(t,e,i)},K=function(t,e){g(t);for(var i,n=v(e=S(e)),r=0,o=n.length;o>r;)X(t,i=n[r++],e[i]);return t},Q=function(t){var e=H.call(this,t=E(t,!0));return!(this===z&&r(F,t)&&!r(W,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,D)&&this[D][t])||e)},J=function(t,e){if(t=S(t),e=E(e,!0),t!==z||!r(F,e)||r(W,e)){var i=I(t,e);return!i||!r(F,e)||r(t,D)&&t[D][e]||(i.enumerable=!0),i}},Z=function(t){for(var e,i=P(S(t)),n=[],o=0;i.length>o;)r(F,e=i[o++])||e==D||e==l||n.push(e);return n},tt=function(t){for(var e,i=t===z,n=P(i?W:S(t)),o=[],a=0;n.length>a;)!r(F,e=n[a++])||i&&!r(z,e)||o.push(F[e]);return o};V||(s((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(i){this===z&&e.call(W,i),r(this,D)&&r(this[D],t)&&(this[D][t]=!1),$(this,t,C(1,i))};return o&&U&&$(z,t,{configurable:!0,set:e}),G(t)}).prototype,"toString",(function(){return this._k})),x.f=J,A.f=X,i(46).f=k.f=Z,i(60).f=Q,L.f=tt,o&&!i(42)&&s(z,"propertyIsEnumerable",Q,!0),p.f=function(t){return G(f(t))}),a(a.G+a.W+a.F*!V,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;et.length>it;)f(et[it++]);for(var nt=O(f.store),rt=0;nt.length>rt;)m(nt[rt++]);a(a.S+a.F*!V,"Symbol",{for:function(t){return r(R,t+="")?R[t]:R[t]=N(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!V,"Object",{create:function(t,e){return void 0===e?T(t):K(T(t),e)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var ot=c((function(){L.f(1)}));a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return L.f(w(t))}}),M&&a(a.S+a.F*(!V||c((function(){var t=N();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))}))),"JSON",{stringify:function(t){for(var e,i,n=[t],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=e=n[1],(b(e)||void 0!==t)&&!Y(t))return y(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!Y(e))return e}),n[1]=e,B.apply(M,n)}}),N.prototype[j]||i(21)(N.prototype,j,N.prototype.valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(t,e,i){t.exports=i(63)("native-function-to-string",Function.toString)},function(t,e,i){var n=i(43),r=i(65),o=i(60);t.exports=function(t){var e=n(t),i=r.f;if(i)for(var a,s=i(t),l=o.f,c=0;s.length>c;)l.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,i){var n=i(1);n(n.S,"Object",{create:i(45)})},function(t,e,i){var n=i(1);n(n.S+n.F*!i(10),"Object",{defineProperty:i(11).f})},function(t,e,i){var n=i(1);n(n.S+n.F*!i(10),"Object",{defineProperties:i(116)})},function(t,e,i){var n=i(22),r=i(30).f;i(31)("getOwnPropertyDescriptor",(function(){return function(t,e){return r(n(t),e)}}))},function(t,e,i){var n=i(14),r=i(47);i(31)("getPrototypeOf",(function(){return function(t){return r(n(t))}}))},function(t,e,i){var n=i(14),r=i(43);i(31)("keys",(function(){return function(t){return r(n(t))}}))},function(t,e,i){i(31)("getOwnPropertyNames",(function(){return i(117).f}))},function(t,e,i){var n=i(6),r=i(37).onFreeze;i(31)("freeze",(function(t){return function(e){return t&&n(e)?t(r(e)):e}}))},function(t,e,i){var n=i(6),r=i(37).onFreeze;i(31)("seal",(function(t){return function(e){return t&&n(e)?t(r(e)):e}}))},function(t,e,i){var n=i(6),r=i(37).onFreeze;i(31)("preventExtensions",(function(t){return function(e){return t&&n(e)?t(r(e)):e}}))},function(t,e,i){var n=i(6);i(31)("isFrozen",(function(t){return function(e){return!n(e)||!!t&&t(e)}}))},function(t,e,i){var n=i(6);i(31)("isSealed",(function(t){return function(e){return!n(e)||!!t&&t(e)}}))},function(t,e,i){var n=i(6);i(31)("isExtensible",(function(t){return function(e){return!!n(e)&&(!t||t(e))}}))},function(t,e,i){var n=i(1);n(n.S+n.F,"Object",{assign:i(118)})},function(t,e,i){var n=i(1);n(n.S,"Object",{is:i(119)})},function(t,e,i){var n=i(1);n(n.S,"Object",{setPrototypeOf:i(89).set})},function(t,e,i){"use strict";var n=i(61),r={};r[i(7)("toStringTag")]="z",r+""!="[object z]"&&i(17)(Object.prototype,"toString",(function(){return"[object "+n(this)+"]"}),!0)},function(t,e,i){var n=i(1);n(n.P,"Function",{bind:i(120)})},function(t,e,i){var n=i(11).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||i(10)&&n(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,i){"use strict";var n=i(6),r=i(47),o=i(7)("hasInstance"),a=Function.prototype;o in a||i(11).f(a,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,i){var n=i(1),r=i(122);n(n.G+n.F*(parseInt!=r),{parseInt:r})},function(t,e,i){var n=i(1),r=i(123);n(n.G+n.F*(parseFloat!=r),{parseFloat:r})},function(t,e,i){"use strict";var n=i(3),r=i(20),o=i(33),a=i(91),s=i(36),l=i(4),c=i(46).f,u=i(30).f,d=i(11).f,h=i(51).trim,f=n.Number,p=f,m=f.prototype,v="Number"==o(i(45)(m)),y="trim"in String.prototype,g=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var i,n,r,o=(e=y?e.trim():h(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(i=e.charCodeAt(2))||120===i)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+e}for(var a,l=e.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>r)return NaN;return parseInt(l,n)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof f&&(v?l((function(){m.valueOf.call(i)})):"Number"!=o(i))?a(new p(g(e)),i,f):g(e)};for(var b,w=i(10)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)r(p,b=w[S])&&!r(f,b)&&d(f,b,u(p,b));f.prototype=m,m.constructor=f,i(17)(n,"Number",f)}},function(t,e,i){"use strict";var n=i(1),r=i(29),o=i(124),a=i(92),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(t,e){for(var i=-1,n=e;++i<6;)n+=t*c[i],c[i]=n%1e7,n=l(n/1e7)},h=function(t){for(var e=6,i=0;--e>=0;)i+=c[e],c[e]=l(i/t),i=i%t*1e7},f=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var i=String(c[t]);e=""===e?i:e+a.call("0",7-i.length)+i}return e},p=function(t,e,i){return 0===e?i:e%2==1?p(t,e-1,i*t):p(t*t,e/2,i)};n(n.P+n.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i(4)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,i,n,s,l=o(this,u),c=r(t),m="",v="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(i=(e=function(t){for(var e=0,i=t;i>=4096;)e+=12,i/=4096;for(;i>=2;)e+=1,i/=2;return e}(l*p(2,69,1))-69)<0?l*p(2,-e,1):l/p(2,e,1),i*=4503599627370496,(e=52-e)>0){for(d(0,i),n=c;n>=7;)d(1e7,0),n-=7;for(d(p(10,n,1),0),n=e-1;n>=23;)h(1<<23),n-=23;h(1<<n),d(1,1),h(2),v=f()}else d(0,i),d(1<<-e,0),v=f()+a.call("0",c);return v=c>0?m+((s=v.length)<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c)):m+v}})},function(t,e,i){"use strict";var n=i(1),r=i(4),o=i(124),a=1..toPrecision;n(n.P+n.F*(r((function(){return"1"!==a.call(1,void 0)}))||!r((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,i){var n=i(1);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,i){var n=i(1),r=i(3).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,i){var n=i(1);n(n.S,"Number",{isInteger:i(125)})},function(t,e,i){var n=i(1);n(n.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,i){var n=i(1),r=i(125),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,i){var n=i(1);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,i){var n=i(1);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,i){var n=i(1),r=i(123);n(n.S+n.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(t,e,i){var n=i(1),r=i(122);n(n.S+n.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(t,e,i){var n=i(1),r=i(126),o=Math.sqrt,a=Math.acosh;n(n.S+n.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e,i){var n=i(1),r=Math.asinh;n(n.S+n.F*!(r&&1/r(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,i){var n=i(1),r=Math.atanh;n(n.S+n.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,i){var n=i(1),r=i(93);n(n.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,i){var n=i(1);n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,i){var n=i(1),r=Math.exp;n(n.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,i){var n=i(1),r=i(94);n(n.S+n.F*(r!=Math.expm1),"Math",{expm1:r})},function(t,e,i){var n=i(1);n(n.S,"Math",{fround:i(252)})},function(t,e,i){var n=i(93),r=Math.pow,o=r(2,-52),a=r(2,-23),s=r(2,127)*(2-a),l=r(2,-126);t.exports=Math.fround||function(t){var e,i,r=Math.abs(t),c=n(t);return r<l?c*(r/l/a+1/o-1/o)*l*a:(i=(e=(1+a/o)*r)-(e-r))>s||i!=i?c*(1/0):c*i}},function(t,e,i){var n=i(1),r=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var i,n,o=0,a=0,s=arguments.length,l=0;a<s;)l<(i=r(arguments[a++]))?(o=o*(n=l/i)*n+1,l=i):o+=i>0?(n=i/l)*n:i;return l===1/0?1/0:l*Math.sqrt(o)}})},function(t,e,i){var n=i(1),r=Math.imul;n(n.S+n.F*i(4)((function(){return-5!=r(4294967295,5)||2!=r.length})),"Math",{imul:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n;return 0|r*o+((65535&i>>>16)*o+r*(65535&n>>>16)<<16>>>0)}})},function(t,e,i){var n=i(1);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,i){var n=i(1);n(n.S,"Math",{log1p:i(126)})},function(t,e,i){var n=i(1);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,i){var n=i(1);n(n.S,"Math",{sign:i(93)})},function(t,e,i){var n=i(1),r=i(94),o=Math.exp;n(n.S+n.F*i(4)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,i){var n=i(1),r=i(94),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=r(t=+t),i=r(-t);return e==1/0?1:i==1/0?-1:(e-i)/(o(t)+o(-t))}})},function(t,e,i){var n=i(1);n(n.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,i){var n=i(1),r=i(44),o=String.fromCharCode,a=String.fromCodePoint;n(n.S+n.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,i=[],n=arguments.length,a=0;n>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");i.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return i.join("")}})},function(t,e,i){var n=i(1),r=i(22),o=i(8);n(n.S,"String",{raw:function(t){for(var e=r(t.raw),i=o(e.length),n=arguments.length,a=[],s=0;i>s;)a.push(String(e[s++])),s<n&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,i){"use strict";i(51)("trim",(function(t){return function(){return t(this,3)}}))},function(t,e,i){"use strict";var n=i(95)(!0);i(96)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})}))},function(t,e,i){"use strict";var n=i(1),r=i(95)(!1);n(n.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,i){"use strict";var n=i(1),r=i(8),o=i(97),a="".endsWith;n(n.P+n.F*i(99)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),i=arguments.length>1?arguments[1]:void 0,n=r(e.length),s=void 0===i?n:Math.min(r(i),n),l=String(t);return a?a.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,i){"use strict";var n=i(1),r=i(97);n(n.P+n.F*i(99)("includes"),"String",{includes:function(t){return!!~r(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,i){var n=i(1);n(n.P,"String",{repeat:i(92)})},function(t,e,i){"use strict";var n=i(1),r=i(8),o=i(97),a="".startsWith;n(n.P+n.F*i(99)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),i=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return a?a.call(e,n,i):e.slice(i,i+n.length)===n}})},function(t,e,i){"use strict";i(18)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,i){"use strict";i(18)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,i){"use strict";i(18)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,i){"use strict";i(18)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,i){"use strict";i(18)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,i){"use strict";i(18)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,i){"use strict";i(18)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,i){"use strict";i(18)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,i){"use strict";i(18)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,i){"use strict";i(18)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,i){"use strict";i(18)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,i){"use strict";i(18)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,i){"use strict";i(18)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,i){var n=i(1);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,i){"use strict";var n=i(1),r=i(14),o=i(36);n(n.P+n.F*i(4)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=r(this),i=o(e);return"number"!=typeof i||isFinite(i)?e.toISOString():null}})},function(t,e,i){var n=i(1),r=i(287);n(n.P+n.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},function(t,e,i){"use strict";var n=i(4),r=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!n((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),i=t.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+("00000"+Math.abs(e)).slice(n?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(i>99?i:"0"+a(i))+"Z"}:o},function(t,e,i){var n=Date.prototype,r=n.toString,o=n.getTime;new Date(NaN)+""!="Invalid Date"&&i(17)(n,"toString",(function(){var t=o.call(this);return t==t?r.call(this):"Invalid Date"}))},function(t,e,i){var n=i(7)("toPrimitive"),r=Date.prototype;n in r||i(21)(r,n,i(290))},function(t,e,i){"use strict";var n=i(5),r=i(36);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(n(this),"number"!=t)}},function(t,e,i){var n=i(1);n(n.S,"Array",{isArray:i(66)})},function(t,e,i){"use strict";var n=i(27),r=i(1),o=i(14),a=i(128),s=i(100),l=i(8),c=i(101),u=i(102);r(r.S+r.F*!i(67)((function(t){Array.from(t)})),"Array",{from:function(t){var e,i,r,d,h=o(t),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,y=0,g=u(h);if(v&&(m=n(m,p>2?arguments[2]:void 0,2)),null==g||f==Array&&s(g))for(i=new f(e=l(h.length));e>y;y++)c(i,y,v?m(h[y],y):h[y]);else for(d=g.call(h),i=new f;!(r=d.next()).done;y++)c(i,y,v?a(d,m,[r.value,y],!0):r.value);return i.length=y,i}})},function(t,e,i){"use strict";var n=i(1),r=i(101);n(n.S+n.F*i(4)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,i=new("function"==typeof this?this:Array)(e);e>t;)r(i,t,arguments[t++]);return i.length=e,i}})},function(t,e,i){"use strict";var n=i(1),r=i(22),o=[].join;n(n.P+n.F*(i(59)!=Object||!i(26)(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},function(t,e,i){"use strict";var n=i(1),r=i(88),o=i(33),a=i(44),s=i(8),l=[].slice;n(n.P+n.F*i(4)((function(){r&&l.call(r)})),"Array",{slice:function(t,e){var i=s(this.length),n=o(this);if(e=void 0===e?i:e,"Array"==n)return l.call(this,t,e);for(var r=a(t,i),c=a(e,i),u=s(c-r),d=new Array(u),h=0;h<u;h++)d[h]="String"==n?this.charAt(r+h):this[r+h];return d}})},function(t,e,i){"use strict";var n=i(1),r=i(28),o=i(14),a=i(4),s=[].sort,l=[1,2,3];n(n.P+n.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!i(26)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),r(t))}})},function(t,e,i){"use strict";var n=i(1),r=i(32)(0),o=i(26)([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},function(t,e,i){var n=i(6),r=i(66),o=i(7)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,i){"use strict";var n=i(1),r=i(32)(1);n(n.P+n.F*!i(26)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(1),r=i(32)(2);n(n.P+n.F*!i(26)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(1),r=i(32)(3);n(n.P+n.F*!i(26)([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(1),r=i(32)(4);n(n.P+n.F*!i(26)([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(1),r=i(130);n(n.P+n.F*!i(26)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,i){"use strict";var n=i(1),r=i(130);n(n.P+n.F*!i(26)([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},function(t,e,i){"use strict";var n=i(1),r=i(64)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(a||!i(26)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,i){"use strict";var n=i(1),r=i(22),o=i(29),a=i(8),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(l||!i(26)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=r(this),i=a(e.length),n=i-1;for(arguments.length>1&&(n=Math.min(n,o(arguments[1]))),n<0&&(n=i+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}})},function(t,e,i){var n=i(1);n(n.P,"Array",{copyWithin:i(131)}),i(48)("copyWithin")},function(t,e,i){var n=i(1);n(n.P,"Array",{fill:i(103)}),i(48)("fill")},function(t,e,i){"use strict";var n=i(1),r=i(32)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),n(n.P+n.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(48)("find")},function(t,e,i){"use strict";var n=i(1),r=i(32)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),n(n.P+n.F*a,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(48)(o)},function(t,e,i){i(53)("Array")},function(t,e,i){var n=i(3),r=i(91),o=i(11).f,a=i(46).f,s=i(98),l=i(68),c=n.RegExp,u=c,d=c.prototype,h=/a/g,f=/a/g,p=new c(h)!==h;if(i(10)&&(!p||i(4)((function(){return f[i(7)("match")]=!1,c(h)!=h||c(f)==f||"/a/i"!=c(h,"i")})))){c=function(t,e){var i=this instanceof c,n=s(t),o=void 0===e;return!i&&n&&t.constructor===c&&o?t:r(p?new u(n&&!o?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&o?l.call(t):e),i?this:d,c)};for(var m=function(t){t in c||o(c,t,{configurable:!0,get:function(){return u[t]},set:function(e){u[t]=e}})},v=a(u),y=0;v.length>y;)m(v[y++]);d.constructor=c,c.prototype=d,i(17)(n,"RegExp",c)}i(53)("RegExp")},function(t,e,i){"use strict";i(134);var n=i(5),r=i(68),o=i(10),a=/./.toString,s=function(t){i(17)(RegExp.prototype,"toString",t,!0)};i(4)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(t,e,i){"use strict";var n=i(5),r=i(8),o=i(106),a=i(69);i(70)("match",1,(function(t,e,i,s){return[function(i){var n=t(this),r=null==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=s(i,t,this);if(e.done)return e.value;var l=n(t),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var d,h=[],f=0;null!==(d=a(l,c));){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(c,r(l.lastIndex),u)),f++}return 0===f?null:h}]}))},function(t,e,i){"use strict";var n=i(5),r=i(14),o=i(8),a=i(29),s=i(106),l=i(69),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;i(70)("replace",2,(function(t,e,i,p){return[function(n,r){var o=t(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,o,r):i.call(String(o),n,r)},function(t,e){var r=p(i,t,this,e);if(r.done)return r.value;var d=n(t),h=String(this),f="function"==typeof e;f||(e=String(e));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}for(var g=[];;){var b=l(d,h);if(null===b)break;if(g.push(b),!v)break;""===String(b[0])&&(d.lastIndex=s(h,o(d.lastIndex),y))}for(var w,S="",E=0,C=0;C<g.length;C++){b=g[C];for(var T=String(b[0]),k=c(u(a(b.index),h.length),0),x=[],L=1;L<b.length;L++)x.push(void 0===(w=b[L])?w:String(w));var A=b.groups;if(f){var O=[T].concat(x,k,h);void 0!==A&&O.push(A);var I=String(e.apply(void 0,O))}else I=m(T,h,k,x,A,e);k>=E&&(S+=h.slice(E,k)+I,E=k+T.length)}return S+h.slice(E)}];function m(t,e,n,o,a,s){var l=n+t.length,c=o.length,u=f;return void 0!==a&&(a=r(a),u=h),i.call(s,u,(function(i,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var u=+r;if(0===u)return i;if(u>c){var h=d(u/10);return 0===h?i:h<=c?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):i}s=o[u-1]}return void 0===s?"":s}))}}))},function(t,e,i){"use strict";var n=i(5),r=i(119),o=i(69);i(70)("search",1,(function(t,e,i,a){return[function(i){var n=t(this),r=null==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=a(i,t,this);if(e.done)return e.value;var s=n(t),l=String(this),c=s.lastIndex;r(c,0)||(s.lastIndex=0);var u=o(s,l);return r(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]}))},function(t,e,i){"use strict";var n=i(98),r=i(5),o=i(62),a=i(106),s=i(8),l=i(69),c=i(105),u=i(4),d=Math.min,h=[].push,f="length",p=!u((function(){RegExp(4294967295,"y")}));i(70)("split",2,(function(t,e,i,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[f]||2!="ab".split(/(?:ab)*/)[f]||4!=".".split(/(.?)(.?)/)[f]||".".split(/()()/)[f]>1||"".split(/.?/)[f]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!n(t))return i.call(r,t,e);for(var o,a,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,p=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,u+"g");(o=c.call(m,r))&&!((a=m.lastIndex)>d&&(l.push(r.slice(d,o.index)),o[f]>1&&o.index<r[f]&&h.apply(l,o.slice(1)),s=o[0][f],d=a,l[f]>=p));)m.lastIndex===o.index&&m.lastIndex++;return d===r[f]?!s&&m.test("")||l.push(""):l.push(r.slice(d)),l[f]>p?l.slice(0,p):l}:"0".split(void 0,0)[f]?function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)}:i,[function(i,n){var r=t(this),o=null==i?void 0:i[e];return void 0!==o?o.call(i,r,n):m.call(String(r),i,n)},function(t,e){var n=u(m,t,this,e,m!==i);if(n.done)return n.value;var c=r(t),h=String(this),f=o(c,RegExp),v=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(p?"y":"g"),g=new f(p?c:"^(?:"+c.source+")",y),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===h.length)return null===l(g,h)?[h]:[];for(var w=0,S=0,E=[];S<h.length;){g.lastIndex=p?S:0;var C,T=l(g,p?h:h.slice(S));if(null===T||(C=d(s(g.lastIndex+(p?0:S)),h.length))===w)S=a(h,S,v);else{if(E.push(h.slice(w,S)),E.length===b)return E;for(var k=1;k<=T.length-1;k++)if(E.push(T[k]),E.length===b)return E;S=w=C}}return E.push(h.slice(w)),E}]}))},function(t,e,i){var n=i(3),r=i(107).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,l="process"==i(33)(a);t.exports=function(){var t,e,i,c=function(){var n,r;for(l&&(n=a.domain)&&n.exit();t;){r=t.fn,t=t.next;try{r()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(l)i=function(){a.nextTick(c)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);i=function(){u.then(c)}}else i=function(){r.call(n,c)};else{var d=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),i=function(){h.data=d=!d}}return function(n){var r={fn:n,next:void 0};e&&(e.next=r),t||(t=r,i()),e=r}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,i){"use strict";var n=i(138),r=i(49);t.exports=i(73)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=n.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return n.def(r(this,"Map"),0===t?0:t,e)}},n,!0)},function(t,e,i){"use strict";var n=i(138),r=i(49);t.exports=i(73)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return n.def(r(this,"Set"),t=0===t?0:t,t)}},n)},function(t,e,i){"use strict";var n,r=i(3),o=i(32)(0),a=i(17),s=i(37),l=i(118),c=i(139),u=i(6),d=i(49),h=i(49),f=!r.ActiveXObject&&"ActiveXObject"in r,p=s.getWeak,m=Object.isExtensible,v=c.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(t){if(u(t)){var e=p(t);return!0===e?v(d(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(d(this,"WeakMap"),t,e)}},b=t.exports=i(73)("WeakMap",y,g,c,!0,!0);h&&f&&(l((n=c.getConstructor(y,"WeakMap")).prototype,g),s.NEED=!0,o(["delete","has","get","set"],(function(t){var e=b.prototype,i=e[t];a(e,t,(function(e,r){if(u(e)&&!m(e)){this._f||(this._f=new n);var o=this._f[t](e,r);return"set"==t?this:o}return i.call(this,e,r)}))})))},function(t,e,i){"use strict";var n=i(139),r=i(49);i(73)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return n.def(r(this,"WeakSet"),t,!0)}},n,!1,!0)},function(t,e,i){"use strict";var n=i(1),r=i(74),o=i(108),a=i(5),s=i(44),l=i(8),c=i(6),u=i(3).ArrayBuffer,d=i(62),h=o.ArrayBuffer,f=o.DataView,p=r.ABV&&u.isView,m=h.prototype.slice,v=r.VIEW;n(n.G+n.W+n.F*(u!==h),{ArrayBuffer:h}),n(n.S+n.F*!r.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||c(t)&&v in t}}),n(n.P+n.U+n.F*i(4)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==m&&void 0===e)return m.call(a(this),t);for(var i=a(this).byteLength,n=s(t,i),r=s(void 0===e?i:e,i),o=new(d(this,h))(l(r-n)),c=new f(this),u=new f(o),p=0;n<r;)u.setUint8(p++,c.getUint8(n++));return o}}),i(53)("ArrayBuffer")},function(t,e,i){var n=i(1);n(n.G+n.W+n.F*!i(74).ABV,{DataView:i(108).DataView})},function(t,e,i){i(35)("Int8",1,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Uint8",1,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Uint8",1,(function(t){return function(e,i,n){return t(this,e,i,n)}}),!0)},function(t,e,i){i(35)("Int16",2,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Uint16",2,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Int32",4,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Uint32",4,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Float32",4,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){i(35)("Float64",8,(function(t){return function(e,i,n){return t(this,e,i,n)}}))},function(t,e,i){var n=i(1),r=i(28),o=i(5),a=(i(3).Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!i(4)((function(){a((function(){}))})),"Reflect",{apply:function(t,e,i){var n=r(t),l=o(i);return a?a(n,e,l):s.call(n,e,l)}})},function(t,e,i){var n=i(1),r=i(45),o=i(28),a=i(5),s=i(6),l=i(4),c=i(120),u=(i(3).Reflect||{}).construct,d=l((function(){function t(){}return!(u((function(){}),[],t)instanceof t)})),h=!l((function(){u((function(){}))}));n(n.S+n.F*(d||h),"Reflect",{construct:function(t,e){o(t),a(e);var i=arguments.length<3?t:o(arguments[2]);if(h&&!d)return u(t,e,i);if(t==i){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(c.apply(t,n))}var l=i.prototype,f=r(s(l)?l:Object.prototype),p=Function.apply.call(t,f,e);return s(p)?p:f}})},function(t,e,i){var n=i(11),r=i(1),o=i(5),a=i(36);r(r.S+r.F*i(4)((function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,i){o(t),e=a(e,!0),o(i);try{return n.f(t,e,i),!0}catch(t){return!1}}})},function(t,e,i){var n=i(1),r=i(30).f,o=i(5);n(n.S,"Reflect",{deleteProperty:function(t,e){var i=r(o(t),e);return!(i&&!i.configurable)&&delete t[e]}})},function(t,e,i){"use strict";var n=i(1),r=i(5),o=function(t){this._t=r(t),this._i=0;var e,i=this._k=[];for(e in t)i.push(e)};i(127)(o,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),n(n.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,i){var n=i(30),r=i(47),o=i(20),a=i(1),s=i(6),l=i(5);a(a.S,"Reflect",{get:function t(e,i){var a,c,u=arguments.length<3?e:arguments[2];return l(e)===u?e[i]:(a=n.f(e,i))?o(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:s(c=r(e))?t(c,i,u):void 0}})},function(t,e,i){var n=i(30),r=i(1),o=i(5);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},function(t,e,i){var n=i(1),r=i(47),o=i(5);n(n.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,i){var n=i(1);n(n.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,i){var n=i(1),r=i(5),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,i){var n=i(1);n(n.S,"Reflect",{ownKeys:i(141)})},function(t,e,i){var n=i(1),r=i(5),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,i){var n=i(11),r=i(30),o=i(47),a=i(20),s=i(1),l=i(40),c=i(5),u=i(6);s(s.S,"Reflect",{set:function t(e,i,s){var d,h,f=arguments.length<4?e:arguments[3],p=r.f(c(e),i);if(!p){if(u(h=o(e)))return t(h,i,s,f);p=l(0)}if(a(p,"value")){if(!1===p.writable||!u(f))return!1;if(d=r.f(f,i)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,n.f(f,i,d)}else n.f(f,i,l(0,s));return!0}return void 0!==p.set&&(p.set.call(f,s),!0)}})},function(t,e,i){var n=i(1),r=i(89);r&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},function(t,e,i){i(350),t.exports=i(9).Array.includes},function(t,e,i){"use strict";var n=i(1),r=i(64)(!0);n(n.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i(48)("includes")},function(t,e,i){i(352),t.exports=i(9).Array.flatMap},function(t,e,i){"use strict";var n=i(1),r=i(353),o=i(14),a=i(8),s=i(28),l=i(129);n(n.P,"Array",{flatMap:function(t){var e,i,n=o(this);return s(t),e=a(n.length),i=l(n,0),r(i,n,n,e,0,1,t,arguments[1]),i}}),i(48)("flatMap")},function(t,e,i){"use strict";var n=i(66),r=i(6),o=i(8),a=i(27),s=i(7)("isConcatSpreadable");t.exports=function t(e,i,l,c,u,d,h,f){for(var p,m,v=u,y=0,g=!!h&&a(h,f,3);y<c;){if(y in l){if(p=g?g(l[y],y,i):l[y],m=!1,r(p)&&(m=void 0!==(m=p[s])?!!m:n(p)),m&&d>0)v=t(e,i,p,o(p.length),v,d-1)-1;else{if(v>=9007199254740991)throw TypeError();e[v]=p}v++}y++}return v}},function(t,e,i){i(355),t.exports=i(9).String.padStart},function(t,e,i){"use strict";var n=i(1),r=i(142),o=i(72),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,i){i(357),t.exports=i(9).String.padEnd},function(t,e,i){"use strict";var n=i(1),r=i(142),o=i(72),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,i){i(359),t.exports=i(9).String.trimLeft},function(t,e,i){"use strict";i(51)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e,i){i(361),t.exports=i(9).String.trimRight},function(t,e,i){"use strict";i(51)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,i){i(363),t.exports=i(85).f("asyncIterator")},function(t,e,i){i(114)("asyncIterator")},function(t,e,i){i(365),t.exports=i(9).Object.getOwnPropertyDescriptors},function(t,e,i){var n=i(1),r=i(141),o=i(22),a=i(30),s=i(101);n(n.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,i,n=o(t),l=a.f,c=r(n),u={},d=0;c.length>d;)void 0!==(i=l(n,e=c[d++]))&&s(u,e,i);return u}})},function(t,e,i){i(367),t.exports=i(9).Object.values},function(t,e,i){var n=i(1),r=i(143)(!1);n(n.S,"Object",{values:function(t){return r(t)}})},function(t,e,i){i(369),t.exports=i(9).Object.entries},function(t,e,i){var n=i(1),r=i(143)(!0);n(n.S,"Object",{entries:function(t){return r(t)}})},function(t,e,i){"use strict";i(135),i(371),t.exports=i(9).Promise.finally},function(t,e,i){"use strict";var n=i(1),r=i(9),o=i(3),a=i(62),s=i(137);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),i="function"==typeof t;return this.then(i?function(i){return s(e,t()).then((function(){return i}))}:t,i?function(i){return s(e,t()).then((function(){throw i}))}:t)}})},function(t,e,i){i(373),i(374),i(375),t.exports=i(9)},function(t,e,i){var n=i(3),r=i(1),o=i(72),a=[].slice,s=/MSIE .\./.test(o),l=function(t){return function(e,i){var n=arguments.length>2,r=!!n&&a.call(arguments,2);return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,i)}};r(r.G+r.B+r.F*s,{setTimeout:l(n.setTimeout),setInterval:l(n.setInterval)})},function(t,e,i){var n=i(1),r=i(107);n(n.G+n.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,i){for(var n=i(104),r=i(43),o=i(17),a=i(3),s=i(21),l=i(52),c=i(7),u=c("iterator"),d=c("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var v,y=p[m],g=f[y],b=a[y],w=b&&b.prototype;if(w&&(w[u]||s(w,u,h),w[d]||s(w,d,y),l[y]=h,g))for(v in n)w[v]||o(w,v,n[v],!0)}},function(t,e,i){var n=function(t){"use strict";var e=Object.prototype,i=e.hasOwnProperty,n=Object.defineProperty||function(t,e,i){t[e]=i.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,i){return t[e]=i}}function c(t,e,i,r){var o=e&&e.prototype instanceof h?e:h,a=Object.create(o.prototype),s=new k(r||[]);return n(a,"_invoke",{value:S(t,i,s)}),a}function u(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(x([])));y&&y!==e&&i.call(y,o)&&(m=y);var g=p.prototype=h.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var r;n(this,"_invoke",{value:function(n,o){function a(){return new e((function(r,a){!function n(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}(n,o,r,a)}))}return r=r?r.then(a,a):a()}})}function S(t,e,i){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return L()}for(i.method=r,i.arg=o;;){var a=i.delegate;if(a){var s=E(a,i);if(s){if(s===d)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=u(t,e,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}function E(t,e){var i=e.method,n=t.iterator[i];if(void 0===n)return e.delegate=null,"throw"===i&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var r=u(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function x(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:L}}function L(){return{value:void 0,done:!0}}return f.prototype=p,n(g,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),l(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,i,n,r,o){void 0===o&&(o=Promise);var a=new w(c(e,i,n,r),o);return t.isGeneratorFunction(i)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),l(g,s,"Generator"),l(g,o,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=x,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(i,n){return a.type="throw",a.arg=t,e.next=i,n&&(e.method="next",e.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):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),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),T(i),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;T(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:x(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},t}(t.exports);try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(t,e,i){i(378),t.exports=i(144).global},function(t,e,i){var n=i(379);n(n.G,{global:i(109)})},function(t,e,i){var n=i(109),r=i(144),o=i(380),a=i(382),s=i(389),l=function(t,e,i){var c,u,d,h=t&l.F,f=t&l.G,p=t&l.S,m=t&l.P,v=t&l.B,y=t&l.W,g=f?r:r[e]||(r[e]={}),b=g.prototype,w=f?n:p?n[e]:(n[e]||{}).prototype;for(c in f&&(i=e),i)(u=!h&&w&&void 0!==w[c])&&s(g,c)||(d=u?w[c]:i[c],g[c]=f&&"function"!=typeof w[c]?i[c]:v&&u?o(d,n):y&&w[c]==d?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((g.virtual||(g.virtual={}))[c]=d,t&l.R&&b&&!b[c]&&a(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,i){var n=i(381);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){var n=i(383),r=i(388);t.exports=i(111)?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(384),r=i(385),o=i(387),a=Object.defineProperty;e.f=i(111)?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(110);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){t.exports=!i(111)&&!i(145)((function(){return 7!=Object.defineProperty(i(386)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,i){var n=i(110),r=i(109).document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,i){var n=i(110);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){var n=i(391),r=i(146),o=r.each,a=r.isFunction,s=r.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(t,e,i){var r=this.queries,l=i&&this.browserIsIncapable;return r[t]||(r[t]=new n(t,l)),a(e)&&(e={match:e}),s(e)||(e=[e]),o(e,(function(e){a(e)&&(e={match:e}),r[t].addHandler(e)})),this},unregister:function(t,e){var i=this.queries[t];return i&&(e?i.removeHandler(e):(i.clear(),delete this.queries[t])),this}},t.exports=l},function(t,e,i){var n=i(392),r=i(146).each;function o(t,e){this.query=t,this.isUnconditional=e,this.handlers=[],this.mql=window.matchMedia(t);var i=this;this.listener=function(t){i.mql=t.currentTarget||t,i.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(t){var e=new n(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var e=this.handlers;r(e,(function(i,n){if(i.equals(t))return i.destroy(),!e.splice(n,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,(function(t){t.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";r(this.handlers,(function(e){e[t]()}))}},t.exports=o},function(t,e){function i(t){this.options=t,!t.deferSetup&&this.setup()}i.prototype={constructor:i,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},t.exports=i},function(t,e,i){var n={"./bpp_bank_logo.jpg":394,"./db-logo-144x144.png":395,"./db-logo-180x180.png":396,"./db-logo-192x192.png":397,"./db-logo-72x72.png":398,"./favicon.ico":399};function r(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id=393},function(t,e,i){t.exports=i.p+"assets/bpp_bank_logo.jpg"},function(t,e,i){t.exports=i.p+"assets/db-logo-144x144.png"},function(t,e,i){t.exports=i.p+"assets/db-logo-180x180.png"},function(t,e,i){t.exports=i.p+"assets/db-logo-192x192.png"},function(t,e,i){t.exports=i.p+"assets/db-logo-72x72.png"},function(t,e,i){t.exports=i.p+"assets/favicon.ico"},function(t,e,i){var n={"./accordion/index.js":147,"./applicationTools/index.js":148,"./beraterSuche/index.js":149,"./branchSearch/index.js":150,"./calltoaction/index.js":56,"./carousel/imageTeaserCarousel/index.js":151,"./carousel/stageCarousel/index.js":152,"./carousel/stageHomeCarousel/index.js":153,"./carousel/stageNormalCarousel/index.js":154,"./carousel/tileTeaserCarousel/index.js":155,"./compareTable/index.js":156,"./contentNavigation/index.js":157,"./contentTiles/index.js":158,"./cookieLayer/index.js":159,"./corporateNavigation/index.js":160,"./counter/index.js":161,"./counterLayer/index.js":162,"./disclaimerLayer/index.js":19,"./flyouts/index.js":163,"./form/index.js":164,"./general/index.js":197,"./globals/index.js":0,"./globals/utils/index.js":13,"./headerWidget/index.js":165,"./imageSwitch/index.js":166,"./imageTabsContainer/index.js":167,"./imageteaser/index.js":168,"./index.js":401,"./integratedTools/index.js":169,"./itemFinder/index.js":170,"./linkPicker/index.js":75,"./map/index.js":171,"./map/sidebar/index.js":78,"./map/visualization/index.js":77,"./mediaTeaser/index.js":172,"./mediagallery/index.js":199,"./megaTabs/index.js":173,"./meinBereich/index.js":39,"./meinBereich/userData/index.js":174,"./mobPayment/index.js":175,"./navigation/index.js":176,"./onPageDisclaimer/index.js":177,"./pageOverlay/index.js":38,"./pageSwitch/index.js":178,"./promoBanner/index.js":179,"./rangeSlider/index.js":79,"./retailDepositMarketPlace/index.js":180,"./searchbox/index.js":181,"./showHide/index.js":182,"./sideNavigation/index.js":183,"./stage/index.js":184,"./stageE2E/index.js":185,"./stageNormal/index.js":186,"./stageProduct/index.js":187,"./survey/index.js":188,"./tabNavigation/index.js":189,"./table/index.js":190,"./tabs/index.js":191,"./teaser/index.js":192,"./tesStage/index.js":193,"./text/index.js":194,"./timeline/index.js":195,"./tooltip/index.js":76,"./wknSearchbox/index.js":198,"./youtubePlayer/index.js":196};function r(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id=400},function(t,e){},function(t,e,i){e.iframeResizer=i(403),e.iframeResizerContentWindow=i(404)},function(t,e,i){var n,r,o;!function(i){"use strict";if("undefined"!=typeof window){var a,s=0,l=!1,c=!1,u="message".length,d="[iFrameSizer]",h=d.length,f=null,p=window.requestAnimationFrame,m={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},v={},y=null,g={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){x("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},b={};window.jQuery&&((a=window.jQuery).fn?a.fn.iFrameResize||(a.fn.iFrameResize=function(t){return this.filter("iframe").each((function(e,i){F(i,t)})).end()}):k("","Unable to bind to jQuery, it is not fully loaded.")),r=[],void 0===(o="function"==typeof(n=U)?n.apply(e,r):n)||(t.exports=o),window.iFrameResize=window.iFrameResize||U()}function w(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function S(t,e,i){"addEventListener"in window?t.addEventListener(e,i,!1):"attachEvent"in window&&t.attachEvent("on"+e,i)}function E(t,e,i){"removeEventListener"in window?t.removeEventListener(e,i,!1):"detachEvent"in window&&t.detachEvent("on"+e,i)}function C(t){return v[t]?v[t].log:l}function T(t,e){L("log",t,e,C(t))}function k(t,e){L("info",t,e,C(t))}function x(t,e){L("warn",t,e,!0)}function L(t,e,i,n){!0===n&&window.console}function A(t){function e(){i("Height"),i("Width"),j((function(){D(g),N(w),l("resizedCallback",g)}),g,"init")}function i(t){var e=Number(v[w]["max"+t]),i=Number(v[w]["min"+t]),n=t.toLowerCase(),r=Number(g[n]);T(w,"Checking "+n+" is in range "+i+"-"+e),r<i&&(r=i,T(w,"Set "+n+" to min value")),r>e&&(r=e,T(w,"Set "+n+" to max value")),g[n]=""+r}function n(t){return y.substr(y.indexOf(":")+u+t)}function r(t,e){var i,n,r;i=function(){var i,n;H("Send Page Info","pageInfo:"+(i=document.body.getBoundingClientRect(),n=g.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-i.top,10),offsetLeft:parseInt(n.left-i.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})),t,e)},n=32,b[r=e]||(b[r]=setTimeout((function(){b[r]=null,i()}),n))}function o(t){var e=t.getBoundingClientRect();return P(w),{x:Math.floor(Number(e.left)+Number(f.x)),y:Math.floor(Number(e.top)+Number(f.y))}}function a(t){var e=t?o(g.iframe):{x:0,y:0},i={x:Number(g.width)+e.x,y:Number(g.height)+e.y};T(w,"Reposition requested from iFrame (offset x:"+e.x+" y:"+e.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(t?"Offset":"")](i.x,i.y):x(w,"Unable to scroll to requested position, window.parentIFrame not found"):(f=i,s(),T(w,"--"))}function s(){!1!==l("scrollCallback",f)?N(w):M()}function l(t,e){return O(w,t,e)}var c,p,m,y=t.data,g={},w=null;"[iFrameResizerChild]Ready"===y?function(){for(var t in v)H("iFrame requested init",R(t),document.getElementById(t),t)}():d===(""+y).substr(0,h)&&y.substr(h).split(":")[0]in v?(m=y.substr(h).split(":"),g={iframe:v[m[0]]&&v[m[0]].iframe,id:m[0],height:m[1],width:m[2],type:m[3]},w=g.id,v[w]&&(v[w].loaded=!0),(p=g.type in{true:1,false:1,undefined:1})&&T(w,"Ignoring init message from meta parent page"),!p&&function(t){var e=!0;return v[t]||(e=!1,x(g.type+" No settings for "+t+". Message was: "+y)),e}(w)&&(T(w,"Received: "+y),c=!0,null===g.iframe&&(x(w,"IFrame ("+g.id+") not found"),c=!1),c&&function(){var e,i=t.origin,n=v[w]&&v[w].checkOrigin;if(n&&""+i!="null"&&!(n.constructor===Array?function(){var t=0,e=!1;for(T(w,"Checking connection is from allowed list of origins: "+n);t<n.length;t++)if(n[t]===i){e=!0;break}return e}():(e=v[w]&&v[w].remoteHost,T(w,"Checking connection is from: "+e),i===e)))throw new Error("Unexpected message received from: "+i+" for "+g.iframe.id+". Message was: "+t.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(v[w]&&v[w].firstRun&&v[w]&&(v[w].firstRun=!1),g.type){case"close":v[w].closeRequestCallback?O(w,"closeRequestCallback",v[w].iframe):_(g.iframe);break;case"message":t=n(6),T(w,"MessageCallback passed: {iframe: "+g.iframe.id+", message: "+t+"}"),l("messageCallback",{iframe:g.iframe,message:JSON.parse(t)}),T(w,"--");break;case"scrollTo":a(!1);break;case"scrollToOffset":a(!0);break;case"pageInfo":r(v[w]&&v[w].iframe,w),function(){function t(t,n){function o(){v[i]?r(v[i].iframe,i):e()}["scroll","resize"].forEach((function(e){T(i,t+e+" listener for sendPageInfo"),n(window,e,o)}))}function e(){t("Remove ",E)}var i=w;t("Add ",S),v[i]&&(v[i].stopPageInfo=e)}();break;case"pageInfoStop":v[w]&&v[w].stopPageInfo&&(v[w].stopPageInfo(),delete v[w].stopPageInfo);break;case"inPageLink":!function(t){var e,i=t.split("#")[1]||"",n=decodeURIComponent(i),r=document.getElementById(n)||document.getElementsByName(n)[0];r?(e=o(r),T(w,"Moving to in page link (#"+i+") at x: "+e.x+" y: "+e.y),f={x:e.x,y:e.y},s(),T(w,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(i):T(w,"In page link #"+i+" not found and window.parentIFrame not found"):T(w,"In page link #"+i+" not found")}(n(9));break;case"reset":B(g);break;case"init":e(),l("initCallback",g.iframe);break;default:e()}var t}())):k(w,"Ignored: "+y)}function O(t,e,i){var n=null,r=null;if(v[t]){if("function"!=typeof(n=v[t][e]))throw new TypeError(e+" on iFrame["+t+"] is not a function");r=n(i)}return r}function I(t){var e=t.id;delete v[e]}function _(t){var e=t.id;T(e,"Removing iFrame: "+e);try{t.parentNode&&t.parentNode.removeChild(t)}catch(t){}O(e,"closedCallback",e),T(e,"--"),I(t)}function P(t){null===f&&T(t,"Get page position: "+(f={x:void 0!==window.pageXOffset?window.pageXOffset:document.documentElement.scrollLeft,y:void 0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop}).x+","+f.y)}function N(t){null!==f&&(window.scrollTo(f.x,f.y),T(t,"Set page position: "+f.x+","+f.y),M())}function M(){f=null}function B(t){T(t.id,"Size reset requested by "+("init"===t.type?"host page":"iFrame")),P(t.id),j((function(){D(t),H("reset","reset",t.iframe,t.id)}),t,"reset")}function D(t){function e(e){c||"0"!==t[e]||(c=!0,T(n,"Hidden iFrame detected, creating visibility listener"),function(){function t(){function t(t){function e(e){return"0px"===(v[t]&&v[t].iframe.style[e])}v[t]&&null!==v[t].iframe.offsetParent&&(e("height")||e("width"))&&H("Visibility change","resize",v[t].iframe,t)}for(var e in v)t(e)}function e(e){T("window","Mutation observed: "+e[0].target+" "+e[0].type),W(t,16)}var i=w();i&&(n=document.querySelector("body"),new i(e).observe(n,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}));var n}())}function i(i){!function(e){t.id?(t.iframe.style[e]=t[e]+"px",T(t.id,"IFrame ("+n+") "+e+" set to "+t[e]+"px")):T("undefined","messageData id not set")}(i),e(i)}var n=t.iframe.id;v[n]&&(v[n].sizeHeight&&i("height"),v[n].sizeWidth&&i("width"))}function j(t,e,i){i!==e.type&&p?(T(e.id,"Requesting animation frame"),p(t)):t()}function H(t,e,i,n,r){var o,a=!1;n=n||i.id,v[n]&&(i&&"contentWindow"in i&&null!==i.contentWindow?(o=v[n]&&v[n].targetOrigin,T(n,"["+t+"] Sending msg to iframe["+n+"] ("+e+") targetOrigin: "+o),i.contentWindow.postMessage(d+e,o)):x(n,"["+t+"] IFrame("+n+") not found"),r&&v[n]&&v[n].warningTimeout&&(v[n].msgTimeout=setTimeout((function(){!v[n]||v[n].loaded||a||(a=!0,x(n,"IFrame has not responded within "+v[n].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),v[n].warningTimeout)))}function R(t){return t+":"+v[t].bodyMarginV1+":"+v[t].sizeWidth+":"+v[t].log+":"+v[t].interval+":"+v[t].enablePublicMethods+":"+v[t].autoResize+":"+v[t].bodyMargin+":"+v[t].heightCalculationMethod+":"+v[t].bodyBackground+":"+v[t].bodyPadding+":"+v[t].tolerance+":"+v[t].inPageLinks+":"+v[t].resizeFrom+":"+v[t].widthCalculationMethod}function F(t,e){var i=function(i){var n;return i,""===i&&(t.id=(n=e&&e.id||g.id+s++,null!==document.getElementById(n)&&(n+=s++),i=n),l=(e||{}).log,i,T(i,"Added missing iframe ID: "+i+" ("+t.src+")")),i}(t.id);i in v&&"iFrameResizer"in t?x(i,"Ignored iFrame, already setup."):(!function(e){var n;e=e||{},v[i]={firstRun:!0,iframe:t,remoteHost:t.src.split("/").slice(0,3).join("/")},function(t){if("object"!=typeof t)throw new TypeError("Options is not an object")}(e),function(t){for(var e in g)g.hasOwnProperty(e)&&(v[i][e]=t.hasOwnProperty(e)?t[e]:g[e])}(e),v[i]&&(v[i].targetOrigin=!0===v[i].checkOrigin?""===(n=v[i].remoteHost)||"file://"===n?"*":n:"*")}(e),function(){switch(T(i,"IFrame scrolling "+(v[i]&&v[i].scrolling?"enabled":"disabled")+" for "+i),t.style.overflow=!1===(v[i]&&v[i].scrolling)?"hidden":"auto",v[i]&&v[i].scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=v[i]?v[i].scrolling:"no"}}(),function(){function e(e){1/0!==v[i][e]&&0!==v[i][e]&&(t.style[e]=v[i][e]+"px",T(i,"Set "+e+" = "+v[i][e]+"px"))}function n(t){if(v[i]["min"+t]>v[i]["max"+t])throw new Error("Value for min"+t+" can not be greater than max"+t)}n("Height"),n("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}(),"number"!=typeof(v[i]&&v[i].bodyMargin)&&"0"!==(v[i]&&v[i].bodyMargin)||(v[i].bodyMarginV1=v[i].bodyMargin,v[i].bodyMargin=v[i].bodyMargin+"px"),function(e){var n=w();n&&function(e){t.parentNode&&new e((function(e){e.forEach((function(e){Array.prototype.slice.call(e.removedNodes).forEach((function(e){e===t&&_(t)}))}))})).observe(t.parentNode,{childList:!0})}(n),S(t,"load",(function(){var n,r;H("iFrame.onload",e,t,void 0,!0),n=v[i]&&v[i].firstRun,r=v[i]&&v[i].heightCalculationMethod in m,!n&&r&&B({iframe:t,height:0,width:0,type:"init"})})),H("init",e,t,void 0,!0)}(R(i)),Function.prototype.bind&&v[i]&&(v[i].iframe.iFrameResizer={close:_.bind(null,v[i].iframe),removeListeners:I.bind(null,v[i].iframe),resize:H.bind(null,"Window resize","resize",v[i].iframe),moveToAnchor:function(t){H("Move to anchor","moveToAnchor:"+t,v[i].iframe,i)},sendMessage:function(t){H("Send Message","message:"+(t=JSON.stringify(t)),v[i].iframe,i)}}))}function W(t,e){null===y&&(y=setTimeout((function(){y=null,t()}),e))}function z(t){T("window","Trigger event: "+t),W((function(){q("Window "+t,"resize")}),16)}function V(){"hidden"!==document.visibilityState&&(T("document","Trigger event: Visiblity change"),W((function(){q("Tab Visable","resize")}),16))}function q(t,e){function i(t){return v[t]&&"parent"===v[t].resizeFrom&&v[t].autoResize&&!v[t].firstRun}for(var n in v)i(n)&&H(t,e,document.getElementById(n),n)}function U(){function t(t,i){i&&(!function(){if(!i.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==i.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+i.tagName+">")}(),F(i,t),e.push(i))}var e;return function(){var t,e=["moz","webkit","o","ms"];for(t=0;t<e.length&&!p;t+=1)p=window[e[t]+"RequestAnimationFrame"];p||T("setup","RequestAnimationFrame not supported")}(),S(window,"message",A),S(window,"resize",(function(){z("resize")})),S(document,"visibilitychange",V),S(document,"-webkit-visibilitychange",V),S(window,"focusin",(function(){z("focus")})),S(window,"focus",(function(){z("focus")})),function(i,n){switch(e=[],function(t){t&&t.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(i),typeof n){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(n||"iframe"),t.bind(void 0,i));break;case"object":t(i,n);break;default:throw new TypeError("Unexpected data type ("+typeof n+")")}return e}}}()},function(t,e,i){!function(e){"use strict";if("undefined"!=typeof window){var i=!0,n="",r=0,o="",a=null,s="",l=!1,c={resize:1,click:1},u=!0,d=1,h="bodyOffset",f=!0,p="",m={},v=32,y=null,g=!1,b="[iFrameSizer]",w=b.length,S="",E={max:1,min:1,bodyScroll:1,documentElementScroll:1},C="child",T=!0,k=window.parent,x="*",L=0,A=!1,O=null,I=16,_=1,P="scroll",N=window,M=function(){nt("MessageCallback function not defined")},B=function(){},D=function(){},j={height:function(){return nt("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return nt("Custom width calculation function not defined"),document.body.scrollWidth}},H={},R=!1;try{var F=Object.create({},{passive:{get:function(){R=!0}},once:{get:function(){!0}}});window.addEventListener("test",J,F),window.removeEventListener("test",J,F)}catch(t){}var W,z,V,q,U,$,G,Y=Date.now||function(){return(new Date).getTime()},X={bodyOffset:function(){return document.body.offsetHeight+pt("marginTop")+pt("marginBottom")},offset:function(){return X.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return j.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,vt(X))},min:function(){return Math.min.apply(null,vt(X))},grow:function(){return X.max()},lowestElement:function(){return Math.max(X.bodyOffset()||X.documentElementOffset(),mt("bottom",gt()))},taggedElement:function(){return yt("bottom","data-iframe-height")}},K={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return j.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(K.bodyScroll(),K.documentElementScroll())},max:function(){return Math.max.apply(null,vt(K))},min:function(){return Math.min.apply(null,vt(K))},rightMostElement:function(){return mt("right",gt())},taggedElement:function(){return yt("right","data-iframe-width")}},Q=(W=bt,U=null,$=0,G=function(){$=Y(),U=null,q=W.apply(z,V),U||(z=V=null)},function(){var t=Y();$||($=t);var e=I-(t-$);return z=this,V=arguments,e<=0||e>I?(U&&(clearTimeout(U),U=null),$=t,q=W.apply(z,V),U||(z=V=null)):U||(U=setTimeout(G,e)),q});Z(window,"message",kt),Z(window,"readystatechange",xt),xt()}function J(){}function Z(t,e,i,n){"addEventListener"in window?t.addEventListener(e,i,!!R&&(n||{})):"attachEvent"in window&&t.attachEvent("on"+e,i)}function tt(t,e,i){"removeEventListener"in window?t.removeEventListener(e,i,!1):"detachEvent"in window&&t.detachEvent("on"+e,i)}function et(t){return t.charAt(0).toUpperCase()+t.slice(1)}function it(t){g&&window.console}function nt(t){window.console}function rt(){var t;!function(){function t(t){return"true"===t}var e=p.substr(w).split(":");S=e[0],r=void 0!==e[1]?Number(e[1]):r,l=void 0!==e[2]?t(e[2]):l,g=void 0!==e[3]?t(e[3]):g,v=void 0!==e[4]?Number(e[4]):v,i=void 0!==e[6]?t(e[6]):i,o=e[7],h=void 0!==e[8]?e[8]:h,n=e[9],s=e[10],L=void 0!==e[11]?Number(e[11]):L,m.enable=void 0!==e[12]&&t(e[12]),C=void 0!==e[13]?e[13]:C,P=void 0!==e[14]?e[14]:P}(),it(location.href),function(){function t(t,e){return"function"==typeof t&&(it(),j[e]=t,t="custom"),t}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e=window.iFrameResizer,it(JSON.stringify(e)),M="messageCallback"in e?e.messageCallback:M,B="readyCallback"in e?e.readyCallback:B,x="targetOrigin"in e?e.targetOrigin:x,h="heightCalculationMethod"in e?e.heightCalculationMethod:h,P="widthCalculationMethod"in e?e.widthCalculationMethod:P,h=t(h,"height"),P=t(P,"width"));var e;it()}(),function(){void 0===o&&(o=r+"px");ot("margin",function(t,e){-1!==e.indexOf("-")&&(nt(),e="");return e}(0,o))}(),ot("background",n),ot("padding",s),(t=document.createElement("div")).style.clear="both",t.style.display="block",document.body.appendChild(t),ct(),ut(),document.documentElement.style.height="",document.body.style.height="",it(),it(),N.parentIFrame={autoResize:function(t){return!0===t&&!1===i?(i=!0,dt()):!1===t&&!0===i&&(i=!1,ht()),i},close:function(){Tt(0,0,"close"),it(),T=!1,it(),tt(window,"message",kt),!0===i&&ht()},getId:function(){return S},getPageInfo:function(t){"function"==typeof t?(D=t,Tt(0,0,"pageInfo")):(D=function(){},Tt(0,0,"pageInfoStop"))},moveToAnchor:function(t){m.findTarget(t)},reset:function(){Ct("parentIFrame.reset")},scrollTo:function(t,e){Tt(e,t,"scrollTo")},scrollToOffset:function(t,e){Tt(e,t,"scrollToOffset")},sendMessage:function(t,e){Tt(0,0,"message",JSON.stringify(t),e)},setHeightCalculationMethod:function(t){h=t,ct()},setWidthCalculationMethod:function(t){P=t,ut()},setTargetOrigin:function(t){it(),x=t},size:function(t,e){wt("size","parentIFrame.size("+(t||"")+(e?","+e:"")+")",t,e)}},dt(),m=function(){function t(t){var e=t.getBoundingClientRect(),i={x:void 0!==window.pageXOffset?window.pageXOffset:document.documentElement.scrollLeft,y:void 0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(e.left,10)+parseInt(i.x,10),y:parseInt(e.top,10)+parseInt(i.y,10)}}function e(e){var i=e.split("#")[1]||e,n=decodeURIComponent(i),r=document.getElementById(n)||document.getElementsByName(n)[0];void 0!==r?function(e){var i=t(e);it((i.x,i.y)),Tt(i.y,i.x,"scrollToOffset")}(r):(it(),Tt(0,0,"inPageLink","#"+i))}function i(){""!==location.hash&&"#"!==location.hash&&e(location.href)}m.enable?Array.prototype.forEach&&document.querySelectorAll?(it(),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),(function(t){"#"!==t.getAttribute("href")&&Z(t,"click",(function(t){t.preventDefault(),e(this.getAttribute("href"))}))})),Z(window,"hashchange",i),setTimeout(i,128)):nt():it();return{findTarget:e}}(),wt("init","Init message from host page"),B()}function ot(t,e){void 0!==e&&""!==e&&"null"!==e&&(document.body.style[t]=e,it())}function at(t){var e={add:function(e){function i(){wt(t.eventName,t.eventType)}H[e]=i,Z(window,e,i,{passive:!0})},remove:function(t){var e=H[t];delete H[t],tt(window,t,e)}};t.eventNames&&Array.prototype.map?(t.eventName=t.eventNames[0],t.eventNames.map(e[t.method])):e[t.method](t.eventName),it((et(t.method),t.eventType))}function st(t){at({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),at({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),at({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),at({method:t,eventType:"Input",eventName:"input"}),at({method:t,eventType:"Mouse Up",eventName:"mouseup"}),at({method:t,eventType:"Mouse Down",eventName:"mousedown"}),at({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),at({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),at({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),at({method:t,eventType:"Touch Start",eventName:"touchstart"}),at({method:t,eventType:"Touch End",eventName:"touchend"}),at({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),at({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),at({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),at({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===C&&at({method:t,eventType:"IFrame Resized",eventName:"resize"})}function lt(t,e,i,n){return e!==t&&(t in i||(nt(),t=e),it()),t}function ct(){h=lt(h,"bodyOffset",X)}function ut(){P=lt(P,"scroll",K)}function dt(){var t;!0===i?(st("add"),t=0>v,window.MutationObserver||window.WebKitMutationObserver?t?ft():a=function(){function t(t){function e(t){!1===t.complete&&(it(t.src),t.addEventListener("load",n,!1),t.addEventListener("error",r,!1),a.push(t))}"attributes"===t.type&&"src"===t.attributeName?e(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),e)}function e(t){it(t.src),t.removeEventListener("load",n,!1),t.removeEventListener("error",r,!1),function(t){a.splice(a.indexOf(t),1)}(t)}function i(t,i,n){e(t.target),wt(i,n+": "+t.target.src,void 0,void 0)}function n(t){i(t,"imageLoad","Image loaded")}function r(t){i(t,"imageLoadFailed","Image load failed")}function o(e){wt("mutationObserver","mutationObserver: "+e[0].target+" "+e[0].type),e.forEach(t)}var a=[],s=window.MutationObserver||window.WebKitMutationObserver,l=function(){var t=document.querySelector("body");return l=new s(o),it(),l.observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),l}();return{disconnect:function(){"disconnect"in l&&(it(),l.disconnect(),a.forEach(e))}}}():(it(),ft())):it()}function ht(){st("remove"),null!==a&&a.disconnect(),clearInterval(y)}function ft(){0!==v&&(it(),y=setInterval((function(){wt("interval","setInterval: "+v)}),Math.abs(v)))}function pt(t,e){var i=0;return e=e||document.body,i="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(i=document.defaultView.getComputedStyle(e,null))?i[t]:0:function(t){if(/^\d+(px)?$/i.test(t))return parseInt(t,10);var i=e.style.left,n=e.runtimeStyle.left;return e.runtimeStyle.left=e.currentStyle.left,e.style.left=t||0,t=e.style.pixelLeft,e.style.left=i,e.runtimeStyle.left=n,t}(e.currentStyle[t]),parseInt(i,10)}function mt(t,e){for(var i=e.length,n=0,r=0,o=et(t),a=Y(),s=0;s<i;s++)(n=e[s].getBoundingClientRect()[t]+pt("margin"+o,e[s]))>r&&(r=n);return a=Y()-a,it(),it(),function(t){t>I/2&&(I=2*t,it())}(a),r}function vt(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function yt(t,e){var i=document.querySelectorAll("["+e+"]");return 0===i.length&&(nt(),document.querySelectorAll("body *")),mt(t,i)}function gt(){return document.querySelectorAll("body *")}function bt(t,e,i,n){var r,o;!function(){function t(t,e){return!(Math.abs(t-e)<=L)}return r=void 0!==i?i:X[h](),o=void 0!==n?n:K[P](),t(d,r)||l&&t(_,o)}()&&"init"!==t?!(t in{init:1,interval:1,size:1})&&(h in E||l&&P in E)?Ct(e):t in{interval:1}||it():(St(),Tt(d=r,_=o,t))}function wt(t,e,i,n){A&&t in c?it():(t in{reset:1,resetPage:1,init:1}||it(),"init"===t?bt(t,e,i,n):Q(t,e,i,n))}function St(){A||(A=!0,it()),clearTimeout(O),O=setTimeout((function(){A=!1,it(),it()}),128)}function Et(t){d=X[h](),_=K[P](),Tt(d,_,t)}function Ct(t){var e=h;h="bodyOffset",it(),St(),Et("reset"),h=e}function Tt(t,e,i,n,r){var o;!0===T&&(void 0===r?r=x:it(),o=S+":"+t+":"+e+":"+i+(void 0!==n?":"+n:""),it(),k.postMessage(b+o,r))}function kt(e){var i={init:function(){p=e.data,k=e.source,rt(),u=!1,setTimeout((function(){f=!1}),128)},reset:function(){f?it():(it(),Et("resetPage"))},resize:function(){wt("resizeParent","Parent window requested size check")},moveToAnchor:function(){m.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var t=r();it(),D(JSON.parse(t)),it()},message:function(){var t=r();it(),M(JSON.parse(t)),it()}};function n(){return e.data.split("]")[1].split(":")[0]}function r(){return e.data.substr(e.data.indexOf(":")+1)}function o(){return e.data.split(":")[2]in{true:1,false:1}}function a(){var r=n();r in i?i[r]():!t.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||o()||nt(e.data)}b===(""+e.data).substr(0,w)&&(!1===u?a():o()?i.init():it(n()))}function xt(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,i){var n={"./accordion/index.js":147,"./applicationTools/index.js":148,"./beraterSuche/index.js":149,"./branchSearch/index.js":150,"./calltoaction/index.js":56,"./carousel/imageTeaserCarousel/index.js":151,"./carousel/stageCarousel/index.js":152,"./carousel/stageHomeCarousel/index.js":153,"./carousel/stageNormalCarousel/index.js":154,"./carousel/tileTeaserCarousel/index.js":155,"./compareTable/index.js":156,"./contentNavigation/index.js":157,"./contentTiles/index.js":158,"./cookieLayer/index.js":159,"./corporateNavigation/index.js":160,"./counter/index.js":161,"./counterLayer/index.js":162,"./disclaimerLayer/index.js":19,"./flyouts/index.js":163,"./form/index.js":164,"./general/index.js":197,"./globals/index.js":0,"./globals/utils/index.js":13,"./headerWidget/index.js":165,"./imageSwitch/index.js":166,"./imageTabsContainer/index.js":167,"./imageteaser/index.js":168,"./integratedTools/index.js":169,"./itemFinder/index.js":170,"./linkPicker/index.js":75,"./map/index.js":171,"./map/sidebar/index.js":78,"./map/visualization/index.js":77,"./mediaTeaser/index.js":172,"./mediagallery/index.js":199,"./megaTabs/index.js":173,"./meinBereich/index.js":39,"./meinBereich/userData/index.js":174,"./mobPayment/index.js":175,"./navigation/index.js":176,"./onPageDisclaimer/index.js":177,"./pageOverlay/index.js":38,"./pageSwitch/index.js":178,"./promoBanner/index.js":179,"./rangeSlider/index.js":79,"./retailDepositMarketPlace/index.js":180,"./searchbox/index.js":181,"./showHide/index.js":182,"./sideNavigation/index.js":183,"./stage/index.js":184,"./stageE2E/index.js":185,"./stageNormal/index.js":186,"./stageProduct/index.js":187,"./survey/index.js":188,"./tabNavigation/index.js":189,"./table/index.js":190,"./tabs/index.js":191,"./teaser/index.js":192,"./tesStage/index.js":193,"./text/index.js":194,"./timeline/index.js":195,"./tooltip/index.js":76,"./wknSearchbox/index.js":198,"./youtubePlayer/index.js":196};function r(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id=406},,,,,,,,,,,function(t,e,i){"use strict";i.r(e);i(201);var n={initCompleted:!1,isWebkit:!1,isMobilePhone:!1,isIphone:!1,isAndroid:!1,isAndroidPhone:!1,isTierTablet:!1,isTierIphone:!1,isTierRichCss:!1,isTierGenericMobile:!1,engineWebKit:"webkit",deviceIphone:"iphone",deviceIpod:"ipod",deviceIpad:"ipad",deviceMacPpc:"macintosh",deviceAndroid:"android",deviceGoogleTV:"googletv",deviceWinPhone7:"windows phone os 7",deviceWinPhone8:"windows phone 8",deviceWinPhone10:"windows phone 10",deviceWinMob:"windows ce",deviceWindows:"windows",deviceIeMob:"iemobile",devicePpc:"ppc",enginePie:"wm5 pie",deviceBB:"blackberry",deviceBB10:"bb10",vndRIM:"vnd.rim",deviceBBStorm:"blackberry95",deviceBBBold:"blackberry97",deviceBBBoldTouch:"blackberry 99",deviceBBTour:"blackberry96",deviceBBCurve:"blackberry89",deviceBBCurveTouch:"blackberry 938",deviceBBTorch:"blackberry 98",deviceBBPlaybook:"playbook",deviceSymbian:"symbian",deviceSymbos:"symbos",deviceS60:"series60",deviceS70:"series70",deviceS80:"series80",deviceS90:"series90",devicePalm:"palm",deviceWebOS:"webos",deviceWebOStv:"web0s",deviceWebOShp:"hpwos",deviceNuvifone:"nuvifone",deviceBada:"bada",deviceTizen:"tizen",deviceMeego:"meego",deviceSailfish:"sailfish",deviceUbuntu:"ubuntu",deviceKindle:"kindle",engineSilk:"silk-accelerated",engineBlazer:"blazer",engineXiino:"xiino",vndwap:"vnd.wap",wml:"wml",deviceTablet:"tablet",deviceBrew:"brew",deviceDanger:"danger",deviceHiptop:"hiptop",devicePlaystation:"playstation",devicePlaystationVita:"vita",deviceNintendoDs:"nitro",deviceNintendo:"nintendo",deviceWii:"wii",deviceXbox:"xbox",deviceArchos:"archos",engineFirefox:"firefox",engineOpera:"opera",engineNetfront:"netfront",engineUpBrowser:"up.browser",deviceMidp:"midp",uplink:"up.link",engineTelecaQ:"teleca q",engineObigo:"obigo",devicePda:"pda",mini:"mini",mobile:"mobile",mobi:"mobi",smartTV1:"smart-tv",smartTV2:"smarttv",maemo:"maemo",linux:"linux",mylocom2:"sony/com",manuSonyEricsson:"sonyericsson",manuericsson:"ericsson",manuSamsung1:"sec-sgh",manuSony:"sony",manuHtc:"htc",svcDocomo:"docomo",svcKddi:"kddi",svcVodafone:"vodafone",disUpdate:"update",uagent:"",initDeviceScan:function(){this.initCompleted=!1,navigator&&navigator.userAgent&&(this.uagent=navigator.userAgent.toLowerCase()),this.isWebkit=this.DetectWebkit(),this.isIphone=this.DetectIphone(),this.isAndroid=this.DetectAndroid(),this.isAndroidPhone=this.DetectAndroidPhone(),this.isMobilePhone=this.DetectMobileQuick(),this.isTierIphone=this.DetectTierIphone(),this.isTierTablet=this.DetectTierTablet(),this.initCompleted=!0},DetectIphone:function(){return this.initCompleted||this.isIphone?this.isIphone:this.uagent.search(this.deviceIphone)>-1&&(!this.DetectIpad()&&!this.DetectIpod())},DetectIpod:function(){return this.uagent.search(this.deviceIpod)>-1},DetectIphoneOrIpod:function(){return!(!this.DetectIphone()&&!this.DetectIpod())},DetectIpad:function(){return!!(this.uagent.search(this.deviceIpad)>-1&&this.DetectWebkit())},DetectIos:function(){return!(!this.DetectIphoneOrIpod()&&!this.DetectIpad())},DetectAndroid:function(){return this.initCompleted||this.isAndroid?this.isAndroid:!!(this.uagent.search(this.deviceAndroid)>-1||this.DetectGoogleTV())},DetectAndroidPhone:function(){return this.initCompleted||this.isAndroidPhone?this.isAndroidPhone:!!this.DetectAndroid()&&(this.uagent.search(this.mobile)>-1||!!this.DetectOperaMobile())},DetectAndroidTablet:function(){return!!this.DetectAndroid()&&(!this.DetectOperaMobile()&&!(this.uagent.search(this.mobile)>-1))},DetectAndroidWebKit:function(){return!(!this.DetectAndroid()||!this.DetectWebkit())},DetectGoogleTV:function(){return this.uagent.search(this.deviceGoogleTV)>-1},DetectWebkit:function(){return this.initCompleted||this.isWebkit?this.isWebkit:this.uagent.search(this.engineWebKit)>-1},DetectWindowsPhone:function(){return!!(this.DetectWindowsPhone7()||this.DetectWindowsPhone8()||this.DetectWindowsPhone10())},DetectWindowsPhone7:function(){return this.uagent.search(this.deviceWinPhone7)>-1},DetectWindowsPhone8:function(){return this.uagent.search(this.deviceWinPhone8)>-1},DetectWindowsPhone10:function(){return this.uagent.search(this.deviceWinPhone10)>-1},DetectWindowsMobile:function(){return!this.DetectWindowsPhone()&&(this.uagent.search(this.deviceWinMob)>-1||this.uagent.search(this.deviceIeMob)>-1||this.uagent.search(this.enginePie)>-1||(this.uagent.search(this.devicePpc)>-1&&!(this.uagent.search(this.deviceMacPpc)>-1)||this.uagent.search(this.manuHtc)>-1&&this.uagent.search(this.deviceWindows)>-1))},DetectBlackBerry:function(){return this.uagent.search(this.deviceBB)>-1||this.uagent.search(this.vndRIM)>-1||!!this.DetectBlackBerry10Phone()},DetectBlackBerry10Phone:function(){return this.uagent.search(this.deviceBB10)>-1&&this.uagent.search(this.mobile)>-1},DetectBlackBerryTablet:function(){return this.uagent.search(this.deviceBBPlaybook)>-1},DetectBlackBerryWebKit:function(){return!!(this.DetectBlackBerry()&&this.uagent.search(this.engineWebKit)>-1)},DetectBlackBerryTouch:function(){return!(!this.DetectBlackBerry()||!(this.uagent.search(this.deviceBBStorm)>-1||this.uagent.search(this.deviceBBTorch)>-1||this.uagent.search(this.deviceBBBoldTouch)>-1||this.uagent.search(this.deviceBBCurveTouch)>-1))},DetectBlackBerryHigh:function(){return!this.DetectBlackBerryWebKit()&&!(!this.DetectBlackBerry()||!(this.DetectBlackBerryTouch()||this.uagent.search(this.deviceBBBold)>-1||this.uagent.search(this.deviceBBTour)>-1||this.uagent.search(this.deviceBBCurve)>-1))},DetectBlackBerryLow:function(){return!!this.DetectBlackBerry()&&(!this.DetectBlackBerryHigh()&&!this.DetectBlackBerryWebKit())},DetectS60OssBrowser:function(){return!!this.DetectWebkit()&&(this.uagent.search(this.deviceS60)>-1||this.uagent.search(this.deviceSymbian)>-1)},DetectSymbianOS:function(){return!!(this.uagent.search(this.deviceSymbian)>-1||this.uagent.search(this.deviceS60)>-1||this.uagent.search(this.deviceSymbos)>-1&&this.DetectOperaMobile||this.uagent.search(this.deviceS70)>-1||this.uagent.search(this.deviceS80)>-1||this.uagent.search(this.deviceS90)>-1)},DetectPalmOS:function(){return!this.DetectPalmWebOS()&&(this.uagent.search(this.devicePalm)>-1||this.uagent.search(this.engineBlazer)>-1||this.uagent.search(this.engineXiino)>-1)},DetectPalmWebOS:function(){return this.uagent.search(this.deviceWebOS)>-1},DetectWebOSTablet:function(){return this.uagent.search(this.deviceWebOShp)>-1&&this.uagent.search(this.deviceTablet)>-1},DetectWebOSTV:function(){return this.uagent.search(this.deviceWebOStv)>-1&&this.uagent.search(this.smartTV2)>-1},DetectOperaMobile:function(){return this.uagent.search(this.engineOpera)>-1&&(this.uagent.search(this.mini)>-1||this.uagent.search(this.mobi)>-1)},DetectKindle:function(){return this.uagent.search(this.deviceKindle)>-1&&!this.DetectAndroid()},DetectAmazonSilk:function(){return this.uagent.search(this.engineSilk)>-1},DetectGarminNuvifone:function(){return this.uagent.search(this.deviceNuvifone)>-1},DetectBada:function(){return this.uagent.search(this.deviceBada)>-1},DetectTizen:function(){return this.uagent.search(this.deviceTizen)>-1&&this.uagent.search(this.mobile)>-1},DetectTizenTV:function(){return this.uagent.search(this.deviceTizen)>-1&&this.uagent.search(this.smartTV1)>-1},DetectMeego:function(){return this.uagent.search(this.deviceMeego)>-1},DetectMeegoPhone:function(){return this.uagent.search(this.deviceMeego)>-1&&this.uagent.search(this.mobi)>-1},DetectFirefoxOS:function(){return!(!this.DetectFirefoxOSPhone()&&!this.DetectFirefoxOSTablet())},DetectFirefoxOSPhone:function(){return!(this.DetectIos()||this.DetectAndroid()||this.DetectSailfish())&&(this.uagent.search(this.engineFirefox)>-1&&this.uagent.search(this.mobile)>-1)},DetectFirefoxOSTablet:function(){return!(this.DetectIos()||this.DetectAndroid()||this.DetectSailfish())&&(this.uagent.search(this.engineFirefox)>-1&&this.uagent.search(this.deviceTablet)>-1)},DetectSailfish:function(){return this.uagent.search(this.deviceSailfish)>-1},DetectSailfishPhone:function(){return!!(this.DetectSailfish()&&this.uagent.search(this.mobile)>-1)},DetectUbuntu:function(){return!(!this.DetectUbuntuPhone()&&!this.DetectUbuntuTablet())},DetectUbuntuPhone:function(){return this.uagent.search(this.deviceUbuntu)>-1&&this.uagent.search(this.mobile)>-1},DetectUbuntuTablet:function(){return this.uagent.search(this.deviceUbuntu)>-1&&this.uagent.search(this.deviceTablet)>-1},DetectDangerHiptop:function(){return this.uagent.search(this.deviceDanger)>-1||this.uagent.search(this.deviceHiptop)>-1},DetectSonyMylo:function(){return this.uagent.search(this.manuSony)>-1&&(this.uagent.search(this.qtembedded)>-1||this.uagent.search(this.mylocom2)>-1)},DetectMaemoTablet:function(){return this.uagent.search(this.maemo)>-1||!(!(this.uagent.search(this.linux)>-1&&this.uagent.search(this.deviceTablet)>-1&&this.DetectWebOSTablet())||this.DetectAndroid())},DetectArchos:function(){return this.uagent.search(this.deviceArchos)>-1},DetectGameConsole:function(){return!!(this.DetectSonyPlaystation()||this.DetectNintendo()||this.DetectXbox())},DetectSonyPlaystation:function(){return this.uagent.search(this.devicePlaystation)>-1},DetectGamingHandheld:function(){return this.uagent.search(this.devicePlaystation)>-1&&this.uagent.search(this.devicePlaystationVita)>-1},DetectNintendo:function(){return this.uagent.search(this.deviceNintendo)>-1||this.uagent.search(this.deviceWii)>-1||this.uagent.search(this.deviceNintendoDs)>-1},DetectXbox:function(){return this.uagent.search(this.deviceXbox)>-1},DetectBrewDevice:function(){return this.uagent.search(this.deviceBrew)>-1},DetectSmartphone:function(){return!!(this.DetectTierIphone()||this.DetectS60OssBrowser()||this.DetectSymbianOS()||this.DetectWindowsMobile()||this.DetectBlackBerry()||this.DetectMeegoPhone()||this.DetectPalmOS())},DetectMobileQuick:function(){return this.initCompleted||this.isMobilePhone?this.isMobilePhone:!this.DetectTierTablet()&&(!!this.DetectSmartphone()||(this.uagent.search(this.mobile)>-1||(!!this.DetectOperaMobile()||(!(!this.DetectKindle()&&!this.DetectAmazonSilk())||(!!(this.uagent.search(this.deviceMidp)>-1||this.DetectBrewDevice())||(this.uagent.search(this.engineObigo)>-1||this.uagent.search(this.engineNetfront)>-1||this.uagent.search(this.engineUpBrowser)>-1))))))},DetectMobileLong:function(){return!!this.DetectMobileQuick()||(!!this.DetectGameConsole()||(!!(this.DetectDangerHiptop()||this.DetectMaemoTablet()||this.DetectSonyMylo()||this.DetectArchos())||(this.uagent.search(this.devicePda)>-1&&!(this.uagent.search(this.disUpdate)>-1)||(this.uagent.search(this.manuSamsung1)>-1||this.uagent.search(this.manuSonyEricsson)>-1||this.uagent.search(this.manuericsson)>-1||this.uagent.search(this.svcDocomo)>-1||this.uagent.search(this.svcKddi)>-1||this.uagent.search(this.svcVodafone)>-1))))},DetectTierTablet:function(){return this.initCompleted||this.isTierTablet?this.isTierTablet:!!(this.DetectIpad()||this.DetectAndroidTablet()||this.DetectBlackBerryTablet()||this.DetectFirefoxOSTablet()||this.DetectUbuntuTablet()||this.DetectWebOSTablet())},DetectTierIphone:function(){return this.initCompleted||this.isTierIphone?this.isTierIphone:!!(this.DetectIphoneOrIpod()||this.DetectAndroidPhone()||this.DetectWindowsPhone()||this.DetectBlackBerry10Phone()||this.DetectPalmWebOS()||this.DetectBada()||this.DetectTizen()||this.DetectFirefoxOSPhone()||this.DetectSailfishPhone()||this.DetectUbuntuPhone()||this.DetectGamingHandheld())||!(!this.DetectBlackBerryWebKit()||!this.DetectBlackBerryTouch())},DetectTierRichCss:function(){return this.initCompleted||this.isTierRichCss?this.isTierRichCss:!(this.DetectTierIphone()||this.DetectKindle()||this.DetectTierTablet())&&(!!this.DetectMobileQuick()&&(!!this.DetectWebkit()||!!(this.DetectS60OssBrowser()||this.DetectBlackBerryHigh()||this.DetectWindowsMobile()||this.uagent.search(this.engineTelecaQ)>-1)))},DetectTierOtherPhones:function(){return this.initCompleted||this.isTierGenericMobile?this.isTierGenericMobile:!(this.DetectTierIphone()||this.DetectTierRichCss()||this.DetectTierTablet())&&!!this.DetectMobileLong()}};n.initDeviceScan();var r=n,o=i(80),a=i.n(o),s=(i(203),i(204),i(0)),l=i(13),c={mq:{NAVI_MOBILE:"screen and (max-width: ".concat(window.db.Globals.bp().M-1,"px)"),NAVI_DESKTOP:"screen and (min-width: ".concat(window.db.Globals.bp().M,"px)")},navigation:{ENABLE_STICKY_IDENTIFIER_MOBILE:!1},precache:{FETCH_URLS:["/pfb/content/cip/util/member/getUserSettings.app"]},logout:window.db.logoutOverride||"/pfb/content/marktinformationen/logout.html?redirectTo=/pk.html"};function u(t){return function(t){if(Array.isArray(t))return d(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)return;if("string"==typeof t)return d(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return d(t,e)}(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}i(393),r.initDeviceScan(),window.MobileEsp=r,a()(),window.db=window.db||{},window.db.Globals=s.default,window.db.imageLoading={ImageLoaderBackground:l.ImageLoaderBackground,ImageLoaderSrcset:l.ImageLoaderSrcset},window.db.TenantSettings=c;for(var h=document.querySelectorAll(".tooltip[class*='tooltip-id-']"),f=h.length-1;f>=0;f--)h[f].setAttribute("data-comp","tooltip");var p=document.querySelectorAll("[data-comp]");window.db.loadedComponents=[],window.db.existingComponents={},function(){var t;(t=i(400)).keys().forEach((function(e){window.db.existingComponents[function(t){var e=t.split("/");return e.slice(1,e.length-1).join("/")}(e)]=t(e).default}));for(var e=0;e<p.length;e++){var n=p[e],r=n.getAttribute("data-comp"),o=new(0,i(406)("./".concat(r,"/index.js")).default)(n);o.init(),window.db.loadedComponents.push({comp:o,name:r})}u(document.querySelectorAll('[data-module^="ImageLoader"]')).forEach((function(t){switch(t.getAttribute("data-module")){case"ImageLoader":case"ImageLoaderSrcset":new l.ImageLoaderSrcset({element:t}).init();break;case"ImageLoaderBackground":default:new l.ImageLoaderBackground({element:t}).init()}})),setTimeout((function(){return window.db.General.jumpMark.init()}),0)}()}]);