/*******************************************************************************
* Copyright 2018 Adobe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
/**
* Element.matches()
* https://developer.mozilla.org/enUS/docs/Web/API/Element/matches#Polyfill
*/
if (!Element.prototype.matches) {
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
}
// eslint-disable-next-line valid-jsdoc
/**
* Element.closest()
* https://developer.mozilla.org/enUS/docs/Web/API/Element/closest#Polyfill
*/
if (!Element.prototype.closest) {
Element.prototype.closest = function(s) {
"use strict";
var el = this;
if (!document.documentElement.contains(el)) {
return null;
}
do {
if (el.matches(s)) {
return el;
}
el = el.parentElement || el.parentNode;
} while (el !== null && el.nodeType === 1);
return null;
};
}
/*******************************************************************************
* Copyright 2018 Adobe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
/* global
CQ
*/
(function() {
"use strict";
var containerUtils = window.CQ && window.CQ.CoreComponents && window.CQ.CoreComponents.container && window.CQ.CoreComponents.container.utils ? window.CQ.CoreComponents.container.utils : undefined;
if (!containerUtils) {
// eslint-disable-next-line no-console
console.warn("Tabs: container utilities at window.CQ.CoreComponents.container.utils are not available. This can lead to missing features. Ensure the core.wcm.components.commons.site.container client library is included on the page.");
}
var dataLayerEnabled;
var dataLayer;
var NS = "cmp";
var IS = "tabs";
var keyCodes = {
END: 35,
HOME: 36,
ARROW_LEFT: 37,
ARROW_UP: 38,
ARROW_RIGHT: 39,
ARROW_DOWN: 40
};
var selectors = {
self: "[data-" + NS + '-is="' + IS + '"]',
active: {
tab: "cmp-tabs__tab--active",
tabpanel: "cmp-tabs__tabpanel--active"
}
};
/**
* Tabs Configuration
*
* @typedef {Object} TabsConfig Represents a Tabs configuration
* @property {HTMLElement} element The HTMLElement representing the Tabs
* @property {Object} options The Tabs options
*/
/**
* Tabs
*
* @class Tabs
* @classdesc An interactive Tabs component for navigating a list of tabs
* @param {TabsConfig} config The Tabs configuration
*/
function Tabs(config) {
var that = this;
if (config && config.element) {
init(config);
}
/**
* Initializes the Tabs
*
* @private
* @param {TabsConfig} config The Tabs configuration
*/
function init(config) {
that._config = config;
// prevents multiple initialization
config.element.removeAttribute("data-" + NS + "-is");
cacheElements(config.element);
that._active = getActiveIndex(that._elements["tab"]);
if (that._elements.tabpanel) {
refreshActive();
bindEvents();
scrollToDeepLinkIdInTabs();
}
if (window.Granite && window.Granite.author && window.Granite.author.MessageChannel) {
/*
* Editor message handling:
* - subscribe to "cmp.panelcontainer" message requests sent by the editor frame
* - check that the message data panel container type is correct and that the id (path) matches this specific Tabs component
* - if so, route the "navigate" operation to enact a navigation of the Tabs based on index data
*/
CQ.CoreComponents.MESSAGE_CHANNEL = CQ.CoreComponents.MESSAGE_CHANNEL || new window.Granite.author.MessageChannel("cqauthor", window);
CQ.CoreComponents.MESSAGE_CHANNEL.subscribeRequestMessage("cmp.panelcontainer", function(message) {
if (message.data && message.data.type === "cmp-tabs" && message.data.id === that._elements.self.dataset["cmpPanelcontainerId"]) {
if (message.data.operation === "navigate") {
navigate(message.data.index);
}
}
});
}
}
/**
* Displays the panel containing the element that corresponds to the deep link in the URI fragment
* and scrolls the browser to this element.
*/
function scrollToDeepLinkIdInTabs() {
if (containerUtils) {
var deepLinkItemIdx = containerUtils.getDeepLinkItemIdx(that, "tab", "tabpanel");
if (deepLinkItemIdx > -1) {
var deepLinkItem = that._elements["tab"][deepLinkItemIdx];
if (deepLinkItem && that._elements["tab"][that._active].id !== deepLinkItem.id) {
navigateAndFocusTab(deepLinkItemIdx, true);
}
var hashId = window.location.hash.substring(1);
if (hashId) {
var hashItem = document.querySelector("[id='" + hashId + "']");
if (hashItem) {
hashItem.scrollIntoView();
}
}
}
}
}
/**
* Returns the index of the active tab, if no tab is active returns 0
*
* @param {Array} tabs Tab elements
* @returns {Number} Index of the active tab, 0 if none is active
*/
function getActiveIndex(tabs) {
if (tabs) {
for (var i = 0; i < tabs.length; i++) {
if (tabs[i].classList.contains(selectors.active.tab)) {
return i;
}
}
}
return 0;
}
/**
* Caches the Tabs elements as defined via the {@code data-tabs-hook="ELEMENT_NAME"} markup API
*
* @private
* @param {HTMLElement} wrapper The Tabs wrapper element
*/
function cacheElements(wrapper) {
that._elements = {};
that._elements.self = wrapper;
var hooks = that._elements.self.querySelectorAll("[data-" + NS + "-hook-" + IS + "]");
for (var i = 0; i < hooks.length; i++) {
var hook = hooks[i];
if (hook.closest("." + NS + "-" + IS) === that._elements.self) { // only process own tab elements
var capitalized = IS;
capitalized = capitalized.charAt(0).toUpperCase() + capitalized.slice(1);
var key = hook.dataset[NS + "Hook" + capitalized];
if (that._elements[key]) {
if (!Array.isArray(that._elements[key])) {
var tmp = that._elements[key];
that._elements[key] = [tmp];
}
that._elements[key].push(hook);
} else {
that._elements[key] = hook;
}
}
}
}
/**
* Binds Tabs event handling
*
* @private
*/
function bindEvents() {
window.addEventListener("hashchange", scrollToDeepLinkIdInTabs, false);
var tabs = that._elements["tab"];
if (tabs) {
for (var i = 0; i < tabs.length; i++) {
(function(index) {
tabs[i].addEventListener("click", function(event) {
navigateAndFocusTab(index);
});
tabs[i].addEventListener("keydown", function(event) {
onKeyDown(event);
});
})(i);
}
}
}
/**
* Handles tab keydown events
*
* @private
* @param {Object} event The keydown event
*/
function onKeyDown(event) {
var index = that._active;
var lastIndex = that._elements["tab"].length - 1;
switch (event.keyCode) {
case keyCodes.ARROW_LEFT:
case keyCodes.ARROW_UP:
event.preventDefault();
if (index > 0) {
navigateAndFocusTab(index - 1);
}
break;
case keyCodes.ARROW_RIGHT:
case keyCodes.ARROW_DOWN:
event.preventDefault();
if (index < lastIndex) {
navigateAndFocusTab(index + 1);
}
break;
case keyCodes.HOME:
event.preventDefault();
navigateAndFocusTab(0);
break;
case keyCodes.END:
event.preventDefault();
navigateAndFocusTab(lastIndex);
break;
default:
return;
}
}
/**
* Refreshes the tab markup based on the current {@code Tabs#_active} index
*
* @private
*/
function refreshActive() {
var tabpanels = that._elements["tabpanel"];
var tabs = that._elements["tab"];
if (tabpanels) {
if (Array.isArray(tabpanels)) {
for (var i = 0; i < tabpanels.length; i++) {
if (i === parseInt(that._active)) {
tabpanels[i].classList.add(selectors.active.tabpanel);
tabpanels[i].removeAttribute("aria-hidden");
tabs[i].classList.add(selectors.active.tab);
tabs[i].setAttribute("aria-selected", true);
tabs[i].setAttribute("tabindex", "0");
} else {
tabpanels[i].classList.remove(selectors.active.tabpanel);
tabpanels[i].setAttribute("aria-hidden", true);
tabs[i].classList.remove(selectors.active.tab);
tabs[i].setAttribute("aria-selected", false);
tabs[i].setAttribute("tabindex", "-1");
}
}
} else {
// only one tab
tabpanels.classList.add(selectors.active.tabpanel);
tabs.classList.add(selectors.active.tab);
}
}
}
/**
* Focuses the element and prevents scrolling the element into view
*
* @param {HTMLElement} element Element to focus
*/
function focusWithoutScroll(element) {
var x = window.scrollX || window.pageXOffset;
var y = window.scrollY || window.pageYOffset;
element.focus();
window.scrollTo(x, y);
}
/**
* Navigates to the tab at the provided index
*
* @private
* @param {Number} index The index of the tab to navigate to
*/
function navigate(index) {
that._active = index;
refreshActive();
}
/**
* Navigates to the item at the provided index and ensures the active tab gains focus
*
* @private
* @param {Number} index The index of the item to navigate to
* @param {Boolean} keepHash true to keep the hash in the URL, false to update it
*/
function navigateAndFocusTab(index, keepHash) {
var exActive = that._active;
if (!keepHash && containerUtils) {
containerUtils.updateUrlHash(that, "tab", index);
}
navigate(index);
focusWithoutScroll(that._elements["tab"][index]);
if (dataLayerEnabled) {
var activeItem = getDataLayerId(that._elements.tabpanel[index]);
var exActiveItem = getDataLayerId(that._elements.tabpanel[exActive]);
dataLayer.push({
event: "cmp:show",
eventInfo: {
path: "component." + activeItem
}
});
dataLayer.push({
event: "cmp:hide",
eventInfo: {
path: "component." + exActiveItem
}
});
var tabsId = that._elements.self.id;
var uploadPayload = { component: {} };
uploadPayload.component[tabsId] = { shownItems: [activeItem] };
var removePayload = { component: {} };
removePayload.component[tabsId] = { shownItems: undefined };
dataLayer.push(removePayload);
dataLayer.push(uploadPayload);
}
}
}
/**
* Reads options data from the Tabs wrapper element, defined via {@code data-cmp-*} data attributes
*
* @private
* @param {HTMLElement} element The Tabs element to read options data from
* @returns {Object} The options read from the component data attributes
*/
function readData(element) {
var data = element.dataset;
var options = [];
var capitalized = IS;
capitalized = capitalized.charAt(0).toUpperCase() + capitalized.slice(1);
var reserved = ["is", "hook" + capitalized];
for (var key in data) {
if (Object.prototype.hasOwnProperty.call(data, key)) {
var value = data[key];
if (key.indexOf(NS) === 0) {
key = key.slice(NS.length);
key = key.charAt(0).toLowerCase() + key.substring(1);
if (reserved.indexOf(key) === -1) {
options[key] = value;
}
}
}
}
return options;
}
/**
* Parses the dataLayer string and returns the ID
*
* @private
* @param {HTMLElement} item the accordion item
* @returns {String} dataLayerId or undefined
*/
function getDataLayerId(item) {
if (item) {
if (item.dataset.cmpDataLayer) {
return Object.keys(JSON.parse(item.dataset.cmpDataLayer))[0];
} else {
return item.id;
}
}
return null;
}
/**
* Document ready handler and DOM mutation observers. Initializes Tabs components as necessary.
*
* @private
*/
function onDocumentReady() {
dataLayerEnabled = document.body.hasAttribute("data-cmp-data-layer-enabled");
dataLayer = (dataLayerEnabled) ? window.adobeDataLayer = window.adobeDataLayer || [] : undefined;
var elements = document.querySelectorAll(selectors.self);
for (var i = 0; i < elements.length; i++) {
new Tabs({ element: elements[i], options: readData(elements[i]) });
}
var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
var body = document.querySelector("body");
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
// needed for IE
var nodesArray = [].slice.call(mutation.addedNodes);
if (nodesArray.length > 0) {
nodesArray.forEach(function(addedNode) {
if (addedNode.querySelectorAll) {
var elementsArray = [].slice.call(addedNode.querySelectorAll(selectors.self));
elementsArray.forEach(function(element) {
new Tabs({ element: element, options: readData(element) });
});
}
});
}
});
});
observer.observe(body, {
subtree: true,
childList: true,
characterData: true
});
}
if (document.readyState !== "loading") {
onDocumentReady();
} else {
document.addEventListener("DOMContentLoaded", onDocumentReady);
}
if (containerUtils) {
window.addEventListener("load", containerUtils.scrollToAnchor, false);
}
}());
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'Previous ',nextArrow:'Next ',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i(' ').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots){for(o.$slider.addClass("slick-dotted"),t=i("
").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i(" ").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('
').appendTo(e.$slider):e.$slides.wrapAll('
').parent(),e.$list=e.$slideTrack.wrap('
').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;ir.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(e=this.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(ie.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;en.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&ii.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},r.src=t})}var t,o,s,n=this;if(!0===n.options.centerMode?!0===n.options.infinite?s=(o=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(o=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),s=n.options.slidesToShow/2+1+2+n.currentSlide):(o=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,s=Math.ceil(o+n.options.slidesToShow),!0===n.options.fade&&(o>0&&o--,s<=n.slideCount&&s++)),t=n.$slider.find(".slick-slide").slice(o,s),"anticipated"===n.options.lazyLoad)for(var r=o-1,l=s,d=n.$slider.find(".slick-slide"),a=0;a=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-is.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;ea.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i1&&void 0!==arguments[1]?arguments[1]:100;return function(){for(var a=this,i=arguments.length,o=new Array(i),s=0;s0?e.target.classList.add("js-inview"):e.target.classList.remove("js-inview")}))}),{rootMargin:"-15% 0px -15% 0px"});e.forEach((function(e){t.observe(e)}))}else e.forEach((function(e){e.classList.add("js-inview-fallback")}))}}},10:function(e,t){!function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e,window.Event=e}()},11:function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n\n\t\t\t\t \n\t\t\t\tback \n\t\t\t'),c='\n\t\t\t\n\t\t\t\t \n\t\t\t\tclose \n\t\t\t ');e.querySelectorAll(".".concat(f)).forEach((function(e){e.innerHTML=r+e.innerHTML+c})),e.addEventListener("click",(function(e){var t=e.target;t.classList.contains(d)?(e.preventDefault(),l(t)):t.parentNode.classList.contains(d)&&(e.preventDefault(),l(t.parentNode)),(t.classList.contains(h)||t.parentNode.classList.contains(h))&&(e.preventDefault(),p()),(t.classList.contains(v)||t.parentNode.classList.contains(v))&&(e.preventDefault(),a.click(),g())})),window.addEventListener(s.customBreakpointChangeEvent,(function(e){e.detail===s.breakpointDesktop&&i&&g()}))}function l(e){i=e,o=e.parentNode.querySelector(".".concat(m)),i.setAttribute("aria-expanded","true"),i.classList.add(n),o.setAttribute("aria-hidden","false"),o.removeAttribute("hidden"),setTimeout((function(){o.classList.add(n),o.querySelector(".".concat(h)).focus()}),1)}function p(){i.setAttribute("aria-expanded","false"),i.classList.remove(n),o.classList.remove(n),setTimeout((function(){o.setAttribute("aria-hidden","true"),o.setAttribute("hidden",""),i.focus(),i=null,o=null}),150)}function g(){i.setAttribute("aria-expanded","false"),i.classList.remove(n),o.classList.remove(n),o.setAttribute("aria-hidden","true"),o.setAttribute("hidden",""),i=null,o=null}}},g=a.a.menuBtnClass,b=a.a.openSearchBtnClass,y={initialize:function(e,t,n,a){if(e&&t&&n){var i="is-active",o="mega-nav-active",r=document.body,c=n.querySelector(".".concat(g)),l=a&&a.querySelector(".".concat(b));c.addEventListener("click",(function(e){e.preventDefault(),d()})),l&&l.addEventListener("click",(function(e){e.preventDefault(),c.classList.contains(i)&&u()})),window.addEventListener(s.customBreakpointChangeEvent,(function(e){e.detail===s.breakpointDesktop&&c.classList.contains(i)&&u()}))}function u(){c.classList.remove(i),t.classList.remove(i),setTimeout((function(){r.classList.remove(o),e.classList.remove(o),t.setAttribute("hidden","")}),150)}function d(){c.classList.contains(i)?u():(r.classList.add(o),e.classList.add(o),c.classList.add(i),t.removeAttribute("hidden"),setTimeout((function(){t.classList.add(i)}),1))}}},L='\n\t
\n\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t
\n\t\t
\n\t
\n\t
\n
';function C(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];this.currentLink=e,this.currentSubpanelId=e.dataset.target;var n=localStorage.getItem("".concat(this.currentSubpanelId,"--content"));n||(n=L),this.currentLink.setAttribute("aria-expanded","true"),this.currentLink.classList.add(this.stateClasses.isActive),this.megaNavSubpanel.setAttribute("data-id",this.currentSubpanelId),this.megaNavSubpanel.innerHTML=n,window.dispatchEvent(new CustomEvent(s.customContentUpdateEvent)),t&&this.backLink.focus()}},{key:"closeSubpanel",value:function(){this.currentLink.setAttribute("aria-expanded","false"),this.currentLink.classList.remove(this.stateClasses.isActive),this.currentLink=null}},{key:"handleLinkClick",value:function(e){e.classList.contains(this.stateClasses.isActive)?this.backLink.focus():(this.currentLink&&this.closeSubpanel(),this.openSubpanel(e,!0))}},{key:"handlePanelLoad",value:function(e){if(e.detail===this.currentSubpanelId){var t=localStorage.getItem("".concat(this.currentSubpanelId,"--content"));this.megaNavSubpanel.innerHTML=t}}},{key:"_addEventListeners",value:function(){var e=this;this.boundPanelLoadListener=this.handlePanelLoad.bind(this),this.sidebarnavSubnavLinks.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),e.handleLinkClick(t.currentTarget)}))})),this.backLink.addEventListener("click",(function(t){t.preventDefault(),e.currentLink.focus()})),window.addEventListener(s.customPanelLoadEvent,this.boundPanelLoadListener)}},{key:"_removeEventListeners",value:function(){this.sidebarnavSubnavLinks.forEach((function(e){e.removeEventListener("click",null)})),this.backLink.removeEventListener("click",null),window.removeEventListener(s.customPanelLoadEvent,this.boundPanelLoadListener),this.boundPanelLoadListener=null}}])&&C(t.prototype,n),a&&C(t,a),e}(),A=a.a.mainNavLinkClass,T=a.a.mainNavSimpleLinkClass,N=a.a.mainNavFrameContentLinkClass,I=a.a.megaNavPanelClass,_=a.a.megaNavPanelContainerClass,H=a.a.megaNavUnderlayClass,q=a.a.megaNavCloseBtnClass,x=a.a.megaNavResetFocusLinkClass,B=a.a.openSearchBtnClass,M={initialize:function(e,t,n,a){if(e&&t&&n){var i="is-active",o="mega-nav-active",r=document.body,c=t.querySelectorAll(".".concat(A,":not(.").concat(T,")")),l=n.querySelector(".".concat(I)),u=n.querySelector(".".concat(H)),d=n.querySelector(".".concat(q)),m=n.querySelector(".".concat(x)),h=a&&a.querySelector(".".concat(B)),v=null,f=null,p=null;c.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),function(e){e.classList.contains(i)?(v.focus(),y()):(b(),g(e))}(e.currentTarget)}))})),u.addEventListener("click",(function(e){v.focus(),y()})),d.addEventListener("click",(function(e){e.preventDefault(),v.focus(),y()})),m.addEventListener("focus",(function(e){d.focus()})),h&&h.addEventListener("click",(function(e){e.preventDefault(),v&&y()})),e.addEventListener("focusout",(function(t){setTimeout((function(){var t=document.activeElement;e.contains(t)||v&&y()}),1)})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&v&&(v.focus(),y())})),window.addEventListener(s.customPanelLoadEvent,(function(e){if(e.detail===f){var t=localStorage.getItem("".concat(f,"--content"));l.innerHTML='').concat(t,"
"),window.dispatchEvent(new CustomEvent(s.customContentUpdateEvent))}})),window.addEventListener(s.customBreakpointChangeEvent,(function(e){e.detail===s.breakpointMobile&&v&&y()}))}function g(t){var a;v=t,f=t.dataset.target,(a=v.classList.contains(N)?sessionStorage.getItem("".concat(f,"--content")):localStorage.getItem("".concat(f,"--content")))||(a=L),v.setAttribute("aria-expanded","true"),v.classList.add(i),l.innerHTML='').concat(a,"
"),window.dispatchEvent(new CustomEvent(s.customContentUpdateEvent)),l.setAttribute("data-id",f),v.classList.contains(N)&&(p=new w(l)),r.classList.contains(o)||function(){var t=document.body.offsetWidth;r.classList.add(o),e.classList.add(o);var a=document.body.offsetWidth;a>t&&(r.style.paddingRight="".concat(a-t,"px"),e.style.paddingRight="".concat(a-t,"px")),n.removeAttribute("hidden"),setTimeout((function(){n.classList.add(i)}),1)}(),d.focus()}function b(){p&&(p.unInitialize(),p=null),v&&(l.innerHTML="",l.setAttribute("data-id",null),v.setAttribute("aria-expanded","false"),v.classList.remove(i),v=null,f=null)}function y(){b(),r.classList.remove(o),e.classList.remove(o),r.style.paddingRight="",e.style.paddingRight="",n.classList.remove(i),setTimeout((function(){n.setAttribute("hidden","")}),150)}}},P=a.a.metaNavLinkClass,O=a.a.metaNavMenuTriggerClass,j=a.a.metaNavMenuClass,D={initialize:function(e){if(e){var t="is-active",n="not-active",a=e.querySelectorAll(".".concat(P)),i=e.querySelectorAll(".".concat(O)),o=null,r=null;i.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),l(e.currentTarget)}))})),e.addEventListener("focusout",(function(t){setTimeout((function(){var t=document.activeElement;e.contains(t)||o&&c()}),1)})),window.addEventListener(s.customHeadroomUnpinEvent,(function(e){o&&c()}))}function c(){a.forEach((function(e){e.classList.remove(n)})),o.setAttribute("aria-expanded","false"),o.classList.remove(t),r.setAttribute("aria-hidden","true"),r.setAttribute("hidden",""),r.classList.remove(t),o=null,r=null}function l(e){e.classList.contains(t)?(c(),e.focus()):(o&&c(),function(e){o=e,r=e.parentNode.querySelector(".".concat(j)),a.forEach((function(e){e.classList.add(n)})),o.setAttribute("aria-expanded","true"),o.classList.remove(n),o.classList.add(t),r.setAttribute("aria-hidden","false"),r.removeAttribute("hidden"),r.classList.add(t),r.querySelector("a").focus()}(e))}}},z=a.a.mobileMainNavClass,R=a.a.megaNavSidebarColClass,F=a.a.megaNavSubpanelColClass,U=a.a.megaNavSubpanelClass,W=a.a.megaNavBackLinkClass,V=a.a.sidebarnavClass,K=a.a.sidebarnavSubnavLinkClass,Y=a.a.accordionTriggerClass,Q=a.a.navListClass,J=a.a.navListItemClass,G=a.a.navListLinkClass,X=a.a.levelTwoSubheaderClass,Z=a.a.levelTwoLinkClass,ee=a.a.desktopHiddenClass,te={initialize:function(e){e&&e.querySelector(".".concat(z)).cloneNode(!0).querySelectorAll('[data-framecontent="true"]').forEach((function(e){!function(e){var t,n=e.dataset.target,a=e.querySelectorAll(".".concat(X,", .").concat(Z,":not(.").concat(ee)),i="";a.forEach((function(e){if(e.classList.contains(G)){var t=e.dataset.target,n=e.dataset.moddate,a=e.dataset.endpoint,o=e.dataset.aa;e.classList.remove(Y),t&&n&&a&&e.classList.add(K),o&&(e.dataset.aa=o.replace("t:mobile","t:mega"))}i+='').concat(e.outerHTML," ")})),t=''),sessionStorage.setItem("".concat(n,"--content"),t)}(e)}))}},ne=a.a.searchLabelClass,ae=a.a.searchInputClass,ie=a.a.searchSuggestionsClass,oe=a.a.searchSuggestionsListClass,se=a.a.searchSuggestionsLinkClass,re=a.a.searchResetFocusLinkClass,ce=a.a.openSearchBtnClass,le=a.a.closeSearchBtnClass,ue={initialize:function(e,t){if(e&&t){var n="is-closed",a="is-open",i="is-active",o="search-active",s="has-suggestions",r=t.querySelector(".".concat(ne)),c=t.querySelector(".".concat(ae)),l=t.querySelector(".".concat(ie)),u=t.querySelector(".".concat(oe)),d=t.querySelector(".".concat(re)),m=t.querySelector(".".concat(ce)),h=t.querySelector(".".concat(le)),v={coveSearchEndPoint:"https://platform.cloud.coveo.com/rest/search/v2/querySuggest",accessToken:t.dataset.coveoToken,searchPagePath:t.dataset.searchPagePath,lang:t.dataset.lang||"en"};r.addEventListener("click",(function(e){m.click()})),m.addEventListener("click",(function(s){s.preventDefault(),e.classList.add(o),m.setAttribute("tabindex","-1"),t.classList.remove(n),t.classList.add(i),setTimeout((function(){t.classList.add(a),c.classList.add(i),c.focus()}),150)})),h.addEventListener("click",(function(e){e.preventDefault(),f(!0)})),d.addEventListener("focus",(function(e){h.focus()})),c.addEventListener("keyup",(function(e){13===e.keyCode?window.open("".concat(v.searchPagePath,"#q=").concat(encodeURIComponent(c.value)),"_self"):p()})),t.addEventListener("focusout",(function(e){setTimeout((function(){var e=document.activeElement;t.contains(e)||f()}),1)}))}function f(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m.removeAttribute("tabindex"),c.classList.remove(i),t.classList.remove(i),t.classList.remove(a),l.classList.remove(s),u.innerHTML="",setTimeout((function(){r&&m.focus(),c.value="",t.classList.add(n),e.classList.remove(o)}),150)}function p(){$.ajax({type:"POST",url:v.coveSearchEndPoint,headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(v.accessToken)},data:JSON.stringify({locale:v.lang,q:c.value}),success:function(e){var t,n;e.completions.length?(l.classList.add(s),t=e.completions,n="",t.forEach((function(e){e.expression=e.expression.replaceAll(/\s20([a-zA-Z])/g," $1"),n+='').concat(e.expression," ")})),u.innerHTML=n):u.innerHTML=""}})}}},de=function(){var e=window.matchMedia("(min-width: ".concat(s.mediaQueryLg,")"));function t(e){var t,n=e.matches?s.breakpointDesktop:s.breakpointMobile;t=new CustomEvent(s.customBreakpointChangeEvent,{detail:n}),window.dispatchEvent(t)}e.addListener(t),t(e)},me=a.a.metaNavId,he=a.a.utilityNavId,ve=a.a.searchBarId,fe=a.a.mainNavLinkClass,pe=a.a.mainNavFrameContentLinkClass,ge=a.a.sidebarnavClass,be=a.a.sidebarnavSubnavLinkClass,ye={initialize:function(e,t,n){var a=document.getElementById(me),i=document.getElementById(he),r=document.getElementById(ve),c=t.querySelectorAll(".".concat(fe)),u=!1,d=!1,m=new o.a(e,{offset:e.offsetHeight,tolerance:{up:50,down:0},onUnpin:function(){var e=new CustomEvent(s.customHeadroomUnpinEvent);window.dispatchEvent(e)}});function h(){function e(e,t,n){$.get(n).then((function(n){var a=(new DOMParser).parseFromString(n,"text/html").querySelector("body").innerHTML;localStorage.setItem("".concat(e,"--content"),a),localStorage.setItem("".concat(e,"--date"),t),function(e){var t=new CustomEvent(s.customPanelLoadEvent,{detail:e});window.dispatchEvent(t)}(e)})).catch((function(t){var n="".concat(t.status," ").concat(t.statusText,"
");localStorage.setItem("".concat(e,"--content"),n)}))}c.forEach((function(t){var n;t.classList.contains(pe)?(n=t.dataset.target,(new DOMParser).parseFromString(sessionStorage.getItem("".concat(n,"--content")),"text/html").querySelector(".".concat(ge)).querySelectorAll(".".concat(be)).forEach((function(t){var n=t.dataset.target,a=t.dataset.moddate,i=t.dataset.endpoint,o=localStorage.getItem("".concat(n,"--content")),s=localStorage.getItem("".concat(n,"--date"));o&&s&&s===a||(localStorage.removeItem("".concat(n,"--content")),localStorage.removeItem("".concat(n,"--date")),e(n,a,i))}))):function(t){var n=t.dataset.target,a=t.dataset.moddate,i=t.dataset.endpoint,o=localStorage.getItem("".concat(n,"--content")),s=localStorage.getItem("".concat(n,"--date"));o&&s&&s===a||(localStorage.removeItem("".concat(n,"--content")),localStorage.removeItem("".concat(n,"--date")),e(n,a,i))}(t)}))}ue.initialize(t,r),m.init(),window.location.hash&&(e.classList.remove("headroom--pinned"),e.classList.add("headroom--unpinned")),window.addEventListener(s.customBreakpointChangeEvent,(function(o){o.detail!==s.breakpointMobile||u||(l.initialize(n),p.initialize(n,i),y.initialize(e,n,i,r),u=!0),o.detail!==s.breakpointDesktop||d||(te.initialize(n),h(),D.initialize(a),M.initialize(e,t,n,r),d=!0)})),de()}},Le=a.a.headerId,Ce=a.a.mainNavId,Se=a.a.megaNavId;document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById(Le),t=document.getElementById(Ce),n=document.getElementById(Se);e&&t&&n&&ye.initialize(e,t,n)}))},12:function(e,t){var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)++n;return Boolean(t[n])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},120:function(e,t,n){"use strict";n.r(t);n(9),n(10),n(11);var a=n(1);n(12),n(13);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=!0;void 0!==a.a&&a.a||(o=!1),function(e,t,n){function a(e,t,a){var i="string"==typeof t?t.replace(/\s/g,"%20"):t;e.classList.add("bg-default"),r&&a?(e.dataset.backgroundImage=i,e.classList.add("js-bg-lozad"),n.lozadBgObserver.observe()):e.style.backgroundImage="url(".concat(i,")")}function s(){var i,s=e.querySelectorAll("[data-bg-sizes]"),c=o?n.getBPName():"lg",l=o?n.getBPSizes():["lg"];s.forEach((function(e){if(null!=e.dataset.bgSizes){var n=e.hasAttribute("data-target")?e:e.closest("[data-target]");n||(n=e),delete n.dataset.loaded,i="IntersectionObserver"in t&&"true"!=e.dataset.bgSkipLazy;var o=e.dataset.bgSizes.split("|"),s=!!e.dataset.bgSkip&&e.dataset.bgSkip.split("|"),r=!1,u=0;o=o.filter((function(e){return"false"!==e}));for(var d=0;d-1&&(r=e.getAttribute("data-bg-src-"+o[u]),u+=1),l[d]!=(c||o[o.length-1]));d++);r&&s&&-1==s.indexOf(c)||!s?a(n,r,i):s&&s.indexOf(c)>-1&&a(n,null,i)}})),r&&i&&n.lozadBgObserver.observe()}var r=n.doLazy||!1;e.addEventListener("DOMContentLoaded",(function(){var e;n.init(),r&&"object"===i(n.lozadBgObserver)?n.lozadBgObserver.observe():r=!1,s(),t.addEventListener("contentUpdate",(function(){n.lozadBgObserver.observe(),s()}),!1),t.addEventListener("resize",(function(){e||(e=setTimeout((function(){e=null,s()}),100))}),!1)}),!1)}(document,window,a.a);n(14);var s=n(2),r=n.n(s);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l={getCusProp:function(e){var t=window.getComputedStyle(document.getElementsByTagName("html")[0]);return!!t.getPropertyValue(e)&&t.getPropertyValue(e).trim().replace(/["]/g,"").split("|")},getBPName:function(){return l.getCusProp("--breakpoint-name").toString()||"lg"},getBPSize:function(){return parseInt(l.getCusProp("--breakpoint"))||992},getBPSizes:function(){return(l.getCusProp("--breakpoints")[0]||"xs, sm, md, lg, xl, hd, fhd").split(",").map((function(e){return e.trim()}))||["xs","lg"]},gridBreakpoints:{xs:0,sm:576,md:768,lg:992,xl:1200,hd:1600,fhd:1900},doLazy:"IntersectionObserver"in window,lozadBgObserverCustomMargin:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"100% 0%";return r()(".js-bg-lozad",{rootMargin:e})},lozadBgObserver:r()(".js-bg-lozad",{rootMargin:"100% 0%"}),isTabletWidthAndBelow:function(){return window.matchMedia("(max-width: "+this.gridBreakpoints.lg+"px)").matches},isWidthAndBelow:function(e){return window.matchMedia("(max-width: "+this.gridBreakpoints[e]+"px)").matches},debounce:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){for(var a=this,i=arguments.length,o=new Array(i),s=0;s0?e.target.classList.add("js-inview"):e.target.classList.remove("js-inview")}))}),{rootMargin:"-15% 0px -15% 0px"});e.forEach((function(e){t.observe(e)}))}else e.forEach((function(e){e.classList.add("js-inview-fallback")}))},openEmbedLinksNewTab:function(){$(document).on("click",".root.responsivegrid.embed a",(function(e){var t=$(this).attr("href"),n=$(this).data("lightbox");t&&""!=t&&!n&&t.indexOf("#")<0&&(e.preventDefault(),window.open($(this).attr("href")))}))},prefetchUrl:function(e,t){var n=document.createElement("link");n.href=e,n.rel="prefetch",n.as="document",t.appendChild(n)}};function u(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n1?n():(e.addEventListener(window.adobe.target.event.CONTENT_RENDERING_SUCCEEDED,(function(){n()})),setTimeout((function(){n()}),1500))})).catch((function(){n()}))}(document),$(document).ready((function(){l.openEmbedLinksNewTab()}));var m={modalClass:"f5modal",htmlElement:document.getElementsByTagName("html")[0],bodyElement:document.getElementsByTagName("body")[0],lastFocus:null,modalVideo:null,modalImage:null,setDynamicVars:function(){var e=this;this.activeClass="".concat(this.modalClass,"--open"),this.modalVideoTarget="".concat(this.modalClass,"-video"),this.modalVideoTopTarget="_top",this.modalImageTarget="".concat(this.modalClass,"-image"),this.modalImageTopTarget="_top",this.modalElements=function(){return document.querySelectorAll(".".concat(e.modalClass))},this.closeTriggers=function(){return document.querySelectorAll(".".concat(e.modalClass,"-close"))},this.videoTriggerElements=function(){return document.querySelectorAll('a[target="'.concat(e.modalVideoTarget,'"]'))},this.videoTriggerTopElements=function(){return document.querySelectorAll('a[target="'.concat(e.modalVideoTopTarget,'"]'))},this.imageTriggerElements=function(){return document.querySelectorAll('a[target="'.concat(e.modalImageTarget,'"]'))},this.imageTriggerTopElements=function(){return document.querySelectorAll('a[target="'.concat(e.modalImageTopTarget,'"]'))}},init:function(){this.setDynamicVars(),this.attachEventListeners()},isModalOpen:function(){return this.htmlElement.classList.contains(this.activeClass)},injectModalElement:function(){var e=document.createElement("div");e.className=this.modalClass;var t=document.createElement("div");t.className="".concat(this.modalClass,"__container");var n=document.createElement("button");n.className="".concat(this.modalClass,"__close-button"),e.appendChild(t),t.appendChild(n),this.bodyElement.appendChild(e)},openModal:function(e){this.injectModalElement(),this.attachEventListeners(!0);var t=e.currentTarget.getAttribute("target").replace("".concat(this.modalClass,"-"),"");m[t].injectElement(e),this.lastFocus=e.currentTarget,this.htmlElement.classList.add(this.activeClass)},closeModal:function(){this.lastFocus&&this.lastFocus.focus(),this.removeEventListeners(),u(this.modalElements()).map((function(e){e.remove()})),this.htmlElement.classList.remove(this.activeClass)},attachEventListeners:function(e){this.removeEventListeners(),e||(u(this.videoTriggerElements()).map((function(e){e.addEventListener("click",m.eventHandlers.openClick),e.addEventListener("keydown",m.eventHandlers.openKeyboard)})),u(this.videoTriggerTopElements()).map((function(e){e.addEventListener("click",m.eventHandlers.openClick),e.addEventListener("keydown",m.eventHandlers.openKeyboard)})),a.a.isWidthAndBelow("lg")||(u(this.imageTriggerElements()).map((function(e){e.addEventListener("click",m.eventHandlers.openClick),e.addEventListener("keydown",m.eventHandlers.openKeyboard)})),u(this.imageTriggerTopElements()).map((function(e){e.addEventListener("click",m.eventHandlers.openClick),e.addEventListener("keydown",m.eventHandlers.openKeyboard)}))),document.addEventListener("keyup",this.eventHandlers.closeKeyboard)),u(this.closeTriggers()).map((function(e){e.addEventListener("click",m.eventHandlers.closeClick),e.addEventListener("keydown",m.eventHandlers.closeKeyboard)})),u(this.modalElements()).map((function(e){e.addEventListener("click",m.eventHandlers.offClick)}))},removeEventListeners:function(){u(this.closeTriggers()).map((function(e){e.removeEventListener("click",m.eventHandlers.closeClick),e.removeEventListener("keydown",m.eventHandlers.closeKeyboard)})),u(this.modalElements()).map((function(e){e.removeEventListener("click",m.eventHandlers.offClick)}))},eventHandlers:{openClick:function(e){e.preventDefault(),m.openModal(e)},closeClick:function(e){e.preventDefault(),m.closeModal()},offClick:function(e){e.target.classList.contains("".concat(m.modalClass,"__container"))||e.target.classList.contains("".concat(m.modalClass,"__content"))||e.target.classList.contains("".concat(m.modalClass,"__video"))||e.target.classList.contains("".concat(m.modalClass,"__image"))||"IFRAME"===e.target.tagName||m.closeModal()},openKeyboard:function(e){13!==e.which&&13!==e.keyCode||m.openModal(e)},closeKeyboard:function(e){27!==e.which&&27!==e.keyCode||m.closeModal()}},video:{VIDEO_ID_ERROR_MSG:"error getting video id",injectElement:function(e){var t=e.currentTarget,n=t.getAttribute("href"),a=this.getVideoIdFromUrl(n),i=document.createElement("div");i.className="".concat(m.modalClass,"__video");var o=document.createElement("iframe");a==this.VIDEO_ID_ERROR_MSG?this.createContainer.other.init(this,o,t,n):this.createContainer.youtube(this,o,a),i.appendChild(o),m.modalElements().length>0&&document.querySelector(".".concat(m.modalClass,"__container")).appendChild(i)},getIframeSrcUrl:function(e){return"https://www.youtube.com/embed/".concat(e,"/?controls=1&showinfo=0&rel=0&modestbranding=1&autoplay=1&enablejsapi=1")},getImgUrl:function(e){return"https://img.youtube.com/vi/".concat(e,"/maxresdefault.jpg")},getVideoIdFromUrl:function(e){var t=e.match(/^.*(?:(?:youtu\.be\/|v\/|vi\/|u\/\w\/|embed\/)|(?:(?:watch)?\?v(?:i)?=|\&v(?:i)?=))([^#\&\?]*).*/);return t&&t[1]?t[1]:this.VIDEO_ID_ERROR_MSG},checkBilibiliFromUrl:function(e){return e.match(/(?:^|\W)bilibili.com(?:$|\W)player.html(?:$|\W)*/)},createContainer:{youtube:function(e,t,n){t.src=e.getIframeSrcUrl(n),t.setAttribute("frameborder","0"),t.setAttribute("allow","autoplay; encrypted-media"),t.setAttribute("allowfullscreen","")},other:{init:function(e,t,n,a){var i=n.parentElement.getAttribute("data-type");e.checkBilibiliFromUrl(a)&&(i="bilibili"),null!==i?this[i](t,a):console.warn("videoType : data-type not defined")},bilibili:function(e,t){e.src="".concat(t).concat(-1!==t.indexOf("?")?"&":"?","autoplay=1"),e.setAttribute("scrolling","no"),e.setAttribute("border","0"),e.setAttribute("frameborder","no"),e.setAttribute("framespacing","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("allow","autoplay")}}}},image:{injectElement:function(e){var t=e.currentTarget.getAttribute("href"),n=document.querySelector(".".concat(m.modalClass,"__container")),a=document.createElement("div");a.className="".concat(m.modalClass,"__image");var i=document.createElement("img");i.src=t,a.append(i),m.modalElements().length>0&&n.appendChild(a)}},canInit:function(){var e=document.querySelectorAll('a[target="'.concat(this.modalClass,'-video"]')),t=document.querySelectorAll('a[target="_top"]'),n=document.querySelectorAll('a[target="'.concat(this.modalClass,'-image"]')),a=document.querySelectorAll('a[target="_top"]'),i=document.querySelectorAll('a[target="'.concat(this.modalClass,'-content"]'));return location.pathname.indexOf(".embed")<0&&e.length>0||t.length>0||n.length>0||a.length>0||i.length>0}};function h(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0&&document.querySelector(".".concat(this.modalClass,"__container")).appendChild(i)},isXp:function(e){return e.indexOf("/content/experience-fragments")>=0},addEmbedSelector:function(e){if(e.indexOf(".embed")>=0)return e;var t=e.indexOf(".html");return t>=0||(t=e.indexOf("?"))>=0?e.substr(0,t)+".embed"+e.substr(t):e+".embed"},createIframeContainer:function(e,t,n){var a=this;e.className="".concat(this.modalClass,"__overlaid-article data-loading"),e.addEventListener("load",(function(){a.setIframeHeight(e),$(e).removeClass("data-loading"),$(e).attr("scrolling","no"),a.isXp(t)&&a.marketoIframeHeightCheck(e)})),e.src=t,e.title=n},setIframeHeight:function(e){var t=e.contentWindow.document.body.scrollHeight+"px";$(e).attr("data-height",t),$(e).height(t)},marketoIframeHeightCheck:function(e){var t=this,n=$(e).height(),a=e.contentWindow.document.body.scrollHeight,i=0,o=0,s=setInterval((function(){(n!=a&&o<3||i>50)&&(o++,t.setIframeHeight(e),clearInterval(s)),i++,n=$(e).height(),a=e.contentWindow.document.body.scrollHeight}),50)},injectModalElement:function(){var e=document.createElement("div");e.className=this.modalClass;var t=document.createElement("div");t.className="".concat(this.modalClass,"__container");var n=document.createElement("button");n.className="".concat(this.modalClass,"__close-button"),e.appendChild(t),t.appendChild(n),this.bodyElement.appendChild(e)},closeModal:function(){this.removeEventListeners(),h(this.modalElements()).map((function(e){e.remove()})),this.htmlElement.classList.remove(this.activeClass)},init:function(){this.setDynamicVars(),this.attachEventListeners()},canInit:function(){var e=document.querySelectorAll('a[target="'.concat(this.modalClass,'"]'));return location.pathname.indexOf(".embed")<0&&e.length>0}};f&&f.canInit()&&f.init();var p,g={};(p=n(15)).keys().forEach((function(e){return g[e]=p(e)}))},125:function(e,t,n){"use strict";n.r(t);n(17)},126:function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a);function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nwindow.outerHeight&&n.add("mega-nav-open"))})),e.addEventListener("mouseleave",(function(){document.body.classList.contains("jumpnavbar-scroll")||m()}))})),o(b).map((function(e){e.addEventListener("mouseenter",(function(){d(u.activePanel)}))})),t.addEventListener("mouseenter",(function(){clearTimeout(s)})),t.addEventListener("mouseleave",(function(){m()})),h.navLinks.length>0&&h.init()}()},127:function(e,t,n){"use strict";n.r(t);var a=n(1),i={gutterHeight:50,maxPages:10,langfilter:" -/de/ -/es/ -/jp/ -/fr/ -/zh/",currentQuery:{},coveoSearchEndPoint:"https://platform.cloud.coveo.com/rest/search",init:function(){this.language=document.querySelector("section[data-lang]").getAttribute("data-lang"),"undefined"!=typeof Coveo&&void 0!==String.locales[this.language]&&this.initCoveo(),this.setDynamicVars(),this.attachEventListeners()},initCoveo:function(){var e=document.getElementById("CoveoSearch");Coveo.SearchEndpoint.configureCloudV2Endpoint(e.dataset.coveoOrganization,e.dataset.coveoToken,i.coveoSearchEndPoint,{}),Coveo.$$(e).on("deferredQuerySuccess",(function(e,t){window.open("".concat(i.searchPagePath,"#q=").concat(escape(i.ele.searchInput.value)),"_self")})),Coveo.init(e),this.ele&&!this.ele.searchInput&&(this.ele.component=document.querySelector("section.".concat(this.componentName)),this.ele.searchInput=this.ele.component.querySelector(".CoveoOmnibox input"),this.ele.searchInput.setAttribute("placeholder",Coveo.l("Search")),this.ele.searchInput.setAttribute("title","".concat(Coveo.l("InsertAQuery"),". ").concat(Coveo.l("PressEnterToSend"))),this.ele.searchInput.classList.add("".concat(this.componentName,"__search-input"),"U:margin-x"))},canInit:function(){var e=document.querySelector("#CoveoSearch");if(!e)return!1;this.componentName=e.getAttribute("data-cmp-name"),this.searchPagePath=e.getAttribute("data-search-page-path");var t=document.querySelector(".".concat(this.componentName)),n=document.querySelector("a.utility-nav__link.search-link");return null!==t&&null!==n},setDynamicVars:function(){this.componentClass=".".concat(this.componentName),this.activeName="".concat(this.componentName,"--active"),this.activeClass="".concat(this.componentClass,"--active"),this.searchPageClass="".concat(this.componentName,"__search-page"),this.ele={},this.ele.html=document.getElementsByTagName("html")[0],this.ele.header=document.getElementsByTagName("header")[0],this.ele.component=document.querySelector("section".concat(this.componentClass)),this.ele.searchTrigger=document.querySelector("header a.search-link"),this.ele.closeTarget=document.querySelector("".concat(this.componentClass,"__close-target")),this.ele.search=this.ele.component.querySelector("".concat(this.componentClass,"__search")),"undefined"!=typeof Coveo&&this.ele&&!this.ele.searchInput&&(this.ele.searchBox=this.ele.component.querySelector(".CoveoSearchbox"),this.ele.searchBox.classList.add("hide-search-suggestions"),this.ele.searchInput=this.ele.component.querySelector(".CoveoOmnibox input"),this.ele.searchInput.setAttribute("placeholder",Coveo.l("Search")),this.ele.searchInput.setAttribute("title","".concat(Coveo.l("InsertAQuery"),". ").concat(Coveo.l("PressEnterToSend"))),this.ele.searchInput.classList.add("".concat(this.componentName,"__search-input"),"U:margin-x"))},attachEventListeners:function(){document.addEventListener("keydown",this.eventHandlers.documentKeydown),this.ele.searchTrigger.addEventListener("click",this.eventHandlers.searchTriggerClick),this.ele.closeTarget.addEventListener("click",this.eventHandlers.closeTargetClick),$(document).on("keyup",".CoveoOmnibox input",this.eventHandlers.customSearchInputKeyup),$(document).on("click",".magic-box-suggestion.coveo-omnibox-selectable",(function(e){window.open("".concat(i.searchPagePath,"#q=").concat(e.currentTarget.getAttribute("data-value")),"_self")}))},getTopOffset:function(){return window.pageYOffset>100&&!this.ele.header.classList.contains("headroom--pinned")?Math.floor(this.ele.header.getBoundingClientRect().height)+"px":this.ele.header.classList.contains("headroom--not-top")&&!a.a.isTabletWidthAndBelow()?Math.floor(this.ele.header.querySelector(".u01-mega-nav__container").getBoundingClientRect().height)+"px":Math.floor(this.ele.header.getBoundingClientRect().height)+"px"},getContentHeight:function(){return a.a.isWidthAndBelow("md")?"100%":this.ele.component.getBoundingClientRect().height-parseInt(this.getTopOffset().replace("px",""))-(this.ele.search.getBoundingClientRect().height+2*this.gutterHeight)-this.gutterHeight+"px"},clearSearchInput:function(){i.ele.searchInput.value=""},scrollToTopMobile:function(){a.a.isWidthAndBelow("md")&&i.ele.content.scroll({top:0,behavior:"smooth"})},openSearch:function(){var e=this;this.ele.component.style.paddingTop=this.getTopOffset(),this.ele.html.classList.add(this.activeName);var t=setInterval((function(){e.ele.searchInput&&(clearInterval(t),e.ele.searchInput.focus())}),100)},closeSearch:function(){this.ele.searchTrigger.classList.remove(this.activeName),this.ele.html.classList.remove(this.activeName),this.clearSearchInput()},getTermFromLocation:function(e){return e?escape(e):location.hash.replace("#q=","")},buildSearchQuery:function(e,t){e=e.trim();var n=document.querySelector("[data-global-search-url]").dataset.globalSearchUrl;n+="?q=".concat(e).concat(i.langfilter,"&source=www");var a={};a.term=escape(e),a.url=n,t||(t={page:1}),t.page||(t.page=1),t.results||(t.results=i.maxPages),Object.keys(t).map((function(e){a.url+="&".concat(e,"=").concat(t[e]),a[e]=t[e]})),this.currentQuery=a},makeAJAXSearchCall:function(){var e=unescape(i.currentQuery.term),t=Coveo.$$(document).find(".CoveoOmnibox");Coveo.state(t,"q",i.checkIfPayloadIncludesScript(e)?escape(e):e);var n=Coveo.get(t);n.submit(),n.element.querySelector("input").focus()},checkIfPayloadIncludesScript:function(e){return null!==e.match(/[<>]/g)},searchClear:{hide:function(){i.ele.searchClear.classList.remove("active")},show:function(){i.ele.searchClear.classList.add("active")}},eventHandlers:{searchTriggerClick:function(e){e.preventDefault(),"undefined"==typeof Coveo&&(i.ele.component=document.querySelector("section.".concat(i.componentName)),i.ele.searchInput=i.ele.component.querySelector(".CoveoOmnibox input")),i.ele.html.classList.contains(i.activeName)?i.isSearchPage||i.closeSearch():i.openSearch()},searchClearClick:function(){i.ele.searchInput.value="",i.searchClear.hide(),i.ele.searchInput.focus()},searchButtonClick:function(e){i.eventHandlers.searchInputKeyup(),e.preventDefault(),e.stopPropagation()},searchInputKeyup:function(){var e=i.ele.searchInput.value;""!==e?(i.buildSearchQuery(e,{page:1}),i.makeAJAXSearchCall({showLoader:!0})):i.searchClear.hide()},showSearchSuggest:function(){i.ele.searchBox.classList.remove("hide-search-suggestions")},customSearchInputKeyup:function(e){if(13===e.which||13===e.keyCode)window.open("".concat(i.searchPagePath,"#q=").concat(escape(e.currentTarget.value)),"_self");else{var t=document.querySelector("#CoveoSearch");$.ajax({type:"POST",url:"".concat(i.coveoSearchEndPoint,"/v2/querySuggest"),headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t.getAttribute("data-coveo-token"))},data:JSON.stringify({locale:t.getAttribute("data-lang")||"en",q:i.ele.searchInput.value}),success:function(e){var t=e.completions,n=document.querySelector(".magic-box-suggestions");t.length?(n.classList.add("magic-box-hasSuggestion"),n.innerHTML=''.concat(t.map((function(e,t){return'
').replace(/\[/g,"").replace(/[\]}]/g," ")})).join(""),"\n
")):(n.classList.remove("magic-box-hasSuggestion"),n.innerHTML="")}})}},closeTargetClick:function(){i.closeSearch()},documentKeydown:function(e){27!==e.which&&27!==e.keyCode||i.closeSearch()}}};document.addEventListener("DOMContentLoaded",(function(){i&&i.canInit()&&i.init()}))},128:function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a),o=n(0),s={className:"u07",classSelector:".u07",anchorSelector:".u07__anchor",mobileSelector:".mobile",activeClass:"active",activeSelector:".active",openClass:"open",scrollClass:"jumpnavbar-scroll",offset:null,scrollToAnchor:function(){var e=window.location.hash;e&&s.makeScrollToAnchor(e)},setJumpNavBarPaddingTop:function(){s.jumpNavBar.style.transform="translateY(0px)",s.globalHeader.classList.contains("headroom--unpinned")?s.jumpNavBar.style.paddingTop="0px":s.globalHeader.classList.contains("headroom--not-top")?s.jumpNavBar.style.paddingTop="".concat(s.mainNav.offsetHeight,"px"):s.jumpNavBar.style.paddingTop="".concat(s.globalHeader.offsetHeight,"px")},setJumpNavBarHeight:function(){document.querySelector(s.classSelector).style.height=s.jumpNavBar.offsetHeight-s.jumpNavBar.style.paddingTop.replace("px","")+"px"},setActiveLabel:function(){var e=window.location.hash,t=s.jumpNavBar.querySelectorAll('a[href="'.concat(e,'"]'));t.length?t.forEach((function(e){e.closest("li").classList.add(s.activeClass),null!==e.closest(s.mobileSelector)&&s.setMobileLabelTitle(e)})):s.setMobileLabelTitle(s.jumpNavBarFirstItem)},attachEventListeners:{init:function(){var e=s.attachEventListeners;e.onLabelClick(),e.onWindowResize(),e.onDocumentScroll(),e.onMobileSelectedBarClick(),e.onMobileLabelClick()},onWindowResize:function(){var e;window.addEventListener("resize",(function(){clearTimeout(e),e=setTimeout(s.scrollToAnchor,500)}))},onDocumentScroll:function(){document.addEventListener("scroll",s.attachEventListeners.scrollHandler)},onLabelClick:function(){s.jumpNavBar.querySelectorAll(s.anchorSelector).forEach((function(e){e.addEventListener("click",(function(e){if(e.preventDefault(),!e.target.closest("li").classList.contains(s.activeClass)){document.removeEventListener("scroll",s.attachEventListeners.scrollHandler);var t=s.jumpNavBar.querySelectorAll(".".concat(s.activeClass));t.length&&t.forEach((function(e){e.classList.remove(s.activeClass)}));var n=e.target.closest(s.anchorSelector).getAttribute("href");s.jumpNavBar.querySelectorAll('a[href="'.concat(n,'"]')).forEach((function(e){e.closest("li").classList.add(s.activeClass),s.setMobileLabelTitle(e)})),s.setSwiperActiveSlide(!0),s.makeScrollToAnchor(n,(function(){return document.addEventListener("scroll",s.attachEventListeners.scrollHandler)}))}}))}))},onMobileSelectedBarClick:function(){s.jumpNavBar.querySelector("".concat(s.classSelector,"__selected-bar")).addEventListener("click",(function(e){var t=e.target.closest(s.mobileSelector);t.classList.contains(s.openClass)?t.classList.remove(s.openClass):t.classList.add(s.openClass)}))},onMobileLabelClick:function(){s.jumpNavBar.querySelectorAll("".concat(s.mobileSelector," li")).forEach((function(e){e.addEventListener("click",(function(){s.jumpNavBar.querySelector(s.mobileSelector).classList.remove(s.openClass)}))}))},scrollHandler:function(){var e=[],t=window.scrollY;document.querySelectorAll('[data-jump-link="true"]').forEach((function(t){e.push({anchor:"#".concat(t.getAttribute("id")),value:t.offsetTop})})),t
=992},makeScrollToAnchor:function(e,t){document.body.classList.add(s.scrollClass);var n=document.querySelector(e).offsetTop,a=window.scrollY>=n,i=s.offset||s.jumpNavBar.offsetHeight;a&&!s.isDesktop()&&(i=s.globalHeader.offsetHeight-s.jumpNavBar.querySelector("".concat(s.classSelector,"__selected-bar")).offsetHeight),$("html, body").animate({scrollTop:n-i},{complete:function(){document.body.classList.remove(s.scrollClass),t&&"function"==typeof t&&t()}})},setMobileLabelTitle:function(e){s.jumpNavBar.querySelector("".concat(s.classSelector,"__selected-bar .label-title")).innerHTML=e?e.closest("li").innerText.trim():s.jumpNavBarFirstItem.closest("li").innerText.trim()},setSwiperActiveSlide:function(e){var t=document.querySelector("".concat(s.classSelector,"__wrapper")).swiper;e?s.jumpNavBar.querySelectorAll(".wrapper-label").forEach((function(e,n){e.classList.contains(s.activeClass)&&t.slideTo(n)})):t.slideTo(0)},init:function(){s.globalHeader=document.getElementById(o.a.headerId),s.mainNav=s.globalHeader.querySelector(".".concat(o.a.mainNavRowClass)),s.offsetTop=document.querySelector(s.classSelector).offsetTop,s.jumpNavBarFirstItem=s.jumpNavBar.querySelectorAll("a").item(0),document.querySelector(".offsetHolder").style.height="".concat(s.jumpNavBar.offsetHeight,"px"),new i.a(s.jumpNavBar,{offset:s.jumpNavBar.offsetHeight}).init(),s.scrollToAnchor(),s.setActiveLabel(),s.attachEventListeners.init()},canInit:function(){return s.jumpNavBar=document.querySelector("".concat(s.classSelector,"__nav")),s.jumpNavBar}};document.addEventListener("DOMContentLoaded",(function(){s.canInit()&&s.init()}))},13:function(e,t){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n0&&$(".b03").each((function(){!function t(n,a){n<10&&setTimeout((function(){null!=MktoForms2.getForm(a)?function(t){var n=MktoForms2.getForm(t);n.onSuccess(e(n))}(a):(n++,t(n,a))}),1e3)}(0,$(this).find("form").data("formid"))})),$(document).on("mousedown",".mktoNotYou",(function(){history.pushState("",document.title,window.location.href.split("#")[0])}));var e=function(e){return function(){var t=e.getFormElem().next(".after-submit");if(t.length)return e.getFormElem().hide(),t.removeClass("U:display-none"),!1}}}))},15:function(e,t,n){var a={"./article-page/webpack.module/index.js":16,"./link-bar/webpack.module/index.js":125,"./u01-mega-nav/webpack.module/index.js":126,"./u02-footer/webpack.module/index.js":18,"./u02a-editable-footer/webpack.module/index.js":19,"./u03-global-search/webpack.module/index.js":127,"./u06-secondary-nav/webpack.module/index.js":20,"./u07-jump-nav-bar/webpack.module/index.js":128,"./u08-main-navigation/webpack.module/index.js":119};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=o,e.exports=i,i.id=15},16:function(e,t){},17:function(e,t){var n={state:{ui:{nav:document.querySelector("[data-id='nav']"),navList:document.querySelector("[data-id='nav-list']"),navWrapper:document.querySelector("[data-id='nav-wrapper']"),btnHeadline:document.querySelector("[data-action='open-nav']")},data:{collapseClass:"collapse-nav",flipArrowClass:"arrow-flip",navInitialWidth:{},navInitialHeight:{},navWidth:{},ulNavListInitialPosition:0,ulNavListHeight:0,ulNavList:{},aList:{},navOpen:!1,navCollapse:!1,navCollapseInitial:!1}},collectData:function(){var e=this.state.ui.nav,t=this.state.ui.navList,n=this.state.data.collapseClass;this.state.data.navInitialWidth=e.offsetWidth,this.state.data.navInitialHeight=e.offsetHeight,this.state.data.ulNavList=t,this.state.data.ulNavListInitialWidth=t.offsetWidth,this.state.data.ulNavListHeight=t.offsetHeight,this.state.data.aList=t.getElementsByTagName("a"),this.state.data.navCollapseInitial=e.classList.contains(n)},updateValues:function(){var e=this.state.ui.nav,t=this.state.ui.navList;this.state.data.navWidth=e.offsetWidth,this.state.data.ulNavListHeight=t.offsetHeight},updateView:function(){var e=this.state.data.ulNavList,t=this.state.ui.navWrapper,n=this.state.data.navInitialHeight,a=e.offsetHeight;t.style.height=n+"px",e.style.bottom=a+"px"},navCollapseStatus:function(){var e=this;if(!this.checkIfCollapse()){var t=this.state.ui.nav,n=this.state.data.navInitialWidth,a=this.state.data.ulNavListInitialWidth,i=this.state.data.navWidth,o=this.state.data.navCollapse,s=this.state.data.collapseClass;i<=a?o||(t.classList.add(s),this.state.data.navCollapse=!0,setTimeout((function(){return e.updateValues()}),200)):i>=n&&o&&(this.state.data.navCollapse=!1,t.classList.remove(s)),this.updateView()}},checkIfCollapse:function(){return this.state.data.navCollapseInitial},btnHeadlineClickEventHandler:function(){this.state.data.navOpen?this.closeNavPanel():this.openNavPanel()},ulPanelMouseleaveEventHandler:function(){this.state.data.navOpen&&this.closeNavPanel()},openNavPanel:function(){var e=this.state.data.ulNavList,t=this.state.ui.navWrapper,n=this.state.ui.btnHeadline,a=this.state.data.flipArrowClass,i=this.state.data.navInitialHeight,o=this.state.data.ulNavListHeight,s=this.state.data.navOpen;s||(n.classList.add(a),e.style.bottom=-1*i+"px",t.style.height=i+o+"px",this.state.data.navOpen=!s)},closeNavPanel:function(){var e=this.state.data.ulNavList,t=this.state.ui.navWrapper,n=this.state.ui.btnHeadline,a=this.state.data.flipArrowClass,i=this.state.data.navInitialHeight,o=this.state.data.ulNavListHeight,s=this.state.data.navOpen;s&&(n.classList.remove(a),e.style.bottom=o+"px",t.style.height=i+"px",this.state.data.navOpen=!s)},onScreenResizeHandler:function(){this.state.data.navOpen&&this.closeNavPanel(),this.checkIfCollapse()||(this.updateValues(),this.navCollapseStatus())},onKeyDownHandler:function(){var e=this.state.data.navOpen,t=event.key;e&&("Escape"!==t&&"Esc"!==t&&27!==t||this.closeNavPanel())},addEventHandlers:function(){this.state.ui.navList.addEventListener("mouseleave",this.ulPanelMouseleaveEventHandler.bind(n)),this.state.ui.btnHeadline.addEventListener("click",this.btnHeadlineClickEventHandler.bind(n)),window.addEventListener("resize",this.onScreenResizeHandler.bind(n)),document.addEventListener("keydown",this.onKeyDownHandler.bind(n))},init:function(){this.collectData(),this.updateValues(),this.updateView(),this.navCollapseStatus(),this.addEventHandlers()}};window.onload=function(){document.querySelector(".link-bar")&&n.init()}},18:function(e,t){},19:function(e,t){},2:function(e,t,n){
/*! lozad.js - v1.16.0 - 2020-09-06
* https://github.com/ApoorvSaxena/lozad.js
* Copyright (c) 2020 Apoorv Saxena; Licensed MIT */
e.exports=function(){"use strict";var e="undefined"!=typeof document&&document.documentMode,t={rootMargin:"0px",threshold:0,load:function(t){if("picture"===t.nodeName.toLowerCase()){var n=t.querySelector("img"),a=!1;null===n&&(n=document.createElement("img"),a=!0),e&&t.getAttribute("data-iesrc")&&(n.src=t.getAttribute("data-iesrc")),t.getAttribute("data-alt")&&(n.alt=t.getAttribute("data-alt")),a&&t.append(n)}if("video"===t.nodeName.toLowerCase()&&!t.getAttribute("data-src")&&t.children){for(var i=t.children,o=void 0,s=0;s<=i.length-1;s++)(o=i[s].getAttribute("data-src"))&&(i[s].src=o);t.load()}t.getAttribute("data-poster")&&(t.poster=t.getAttribute("data-poster")),t.getAttribute("data-src")&&(t.src=t.getAttribute("data-src")),t.getAttribute("data-srcset")&&t.setAttribute("srcset",t.getAttribute("data-srcset"));var r=",";if(t.getAttribute("data-background-delimiter")&&(r=t.getAttribute("data-background-delimiter")),t.getAttribute("data-background-image"))t.style.backgroundImage="url('"+t.getAttribute("data-background-image").split(r).join("'),url('")+"')";else if(t.getAttribute("data-background-image-set")){var c=t.getAttribute("data-background-image-set").split(r),l=c[0].substr(0,c[0].indexOf(" "))||c[0];l=-1===l.indexOf("url(")?"url("+l+")":l,1===c.length?t.style.backgroundImage=l:t.setAttribute("style",(t.getAttribute("style")||"")+"background-image: "+l+"; background-image: -webkit-image-set("+c+"); background-image: image-set("+c+")")}t.getAttribute("data-toggle-class")&&t.classList.toggle(t.getAttribute("data-toggle-class"))},loaded:function(){}};function n(e){e.setAttribute("data-loaded",!0)}var a=function(e){return"true"===e.getAttribute("data-loaded")},i=function(e){var t=1e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0&&n(i).map((function(e){e.addEventListener("click",(function(e){var t=e.target.href,n=t.split(""),a="#"===n[n.length-1];t&&!a||e.preventDefault()}))}))},4:function(e,t,n){var a,i,o;
/*!
* headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
* Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
* License: MIT
*/!function(n,s){"use strict";i=[],void 0===(o="function"==typeof(a=function(){var e={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};function t(e){this.callback=e,this.ticking=!1}function n(e){return e&&"undefined"!=typeof window&&(e===window||e.nodeType)}function a(e,t){var i;t=function e(t){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var a,i,o=t||{};for(i=1;ithis.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,a=e>=this.offset;return n&&a&&t},shouldPin:function(e,t){var n=ethis.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},a.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},a.cutsTheMustard=void 0!==e&&e.rAF&&e.bind&&e.classList,a})?a.apply(t,i):a)||(e.exports=o)}()},9:function(e,t){var n,a,i,o;Array.from||(Array.from=(n=Object.prototype.toString,a=function(e){return"function"==typeof e||"[object Function]"===n.call(e)},i=Math.pow(2,53)-1,o=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),i)},function(e){var t=this,n=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,s=arguments.length>1?arguments[1]:void 0;if(void 0!==s){if(!a(s))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var r,c=o(n.length),l=a(t)?Object(new t(c)):new Array(c),u=0;u