define("genericVideoDialog",["dialog","componentFactory"],function(n,t){"use strict";function k(n,t,i){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),u;return u=n.indexOf("?")===n.length-1?"":n.indexOf("?")!==-1?"&":"?",n.match(r)?n.replace(r,"$1"+t+"="+i+"$2"):n+u+t+"="+i}function e(n){n.target.closeButton.focus()}function o(n){n.target.videoIFrame.focus()}function d(n,t,i,r){n.addEventListener("load",function(){n.focus()});i.addEventListener("focus",e,!1);i.closeButton=t;r.addEventListener("focus",o,!1);r.videoIFrame=n}function g(n,t){n.removeEventListener("focus",e,!1);t.removeEventListener("focus",o,!1)}function nt(n){for(var i=[],t=n.parentNode.firstChild,r=n;t;t=t.nextSibling)t.nodeType===1&&t!==n&&t.nodeName!=="SCRIPT"&&t.nodeName!=="NOSCRIPT"&&t.nodeName!=="STYLE"&&i.push(t);return i}function s(n,t){if((n.type==="click"||n.type==="keydown"&&(n.keyCode===13||n.keyCode===32))&&(i=nt(t),i&&i.length))for(var r=0;r<i.length;r++)i[r].setAttribute("data-js-controlledby","dialog")}function tt(){r=document.querySelectorAll(c);Array.prototype.forEach.call(r,function(n,t){var u="owVideoDialogContainer-"+t,r=n.querySelector(f),i;r.id=u;i=n.querySelector(l);i.setAttribute("data-js-dialog-show",u);i.addEventListener("click",function(n){n.preventDefault();s(n,r)},!1);i.addEventListener("keydown",function(n){s(n,r)},!1)});u=document.querySelectorAll(f);t.ComponentFactory.create([{c:n.Dialog,elements:u,callback:function(n){n&&n.length&&Array.prototype.forEach.call(n,function(n){var t,r=n.element.querySelector(a),e=k(n.element.querySelector(v).value,"autoplay",!0),o=n.element.querySelector(y).value,s=n.element.querySelector(b),u=n.element.querySelector(p),f=n.element.querySelector(w);n.subscribe({onShown:function(){t=document.createElement("iframe");t.setAttribute("src",e);t.setAttribute("frameborder","0");t.setAttribute("allowfullscreen","true");t.setAttribute("title",o);r.appendChild(t);n.update();d(t,s,u,f)},onHidden:function(){if(t=r.querySelector("iframe"),t&&r.removeChild(t),i&&i.length)for(var n=0;n<i.length;n++)i[n].removeAttribute("data-js-controlledby");g(u,f)}})})},eventToBind:h}])}var r,u,h="DOMContentLoaded",i,c=".ow-generic-video",f=".ow-video-dialog",l=".ow-video-dialog-button",a=".ow-video-player-container",v=".ow-video-src-input",y=".ow-video-title-input",p=".ow-video-tabstop-start",w=".ow-video-tabstop-end",b="[data-js-dialog-hide]";return{run:function(){tt()}}});require(["genericVideoDialog"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("officeUtilities",[],function(){"use strict";function n(n){for(var t=0;t<n.length;t++)n[t].style.height="auto"}function t(n){for(var i=0,t=0;t<n.length;t++)n[t].offsetHeight>i&&(i=n[t].offsetHeight);return i}function u(i){var u,r;for(n(i),u=t(i),r=0;r<i.length;r++)i[r].style.height=u+"px"}function f(n,t){while((n=n.parentElement)&&!n.matches(t));return n}function e(n,t){t||(t=window.location.href.toLowerCase());n=n.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+n.toLowerCase()+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function o(n){for(var i=[],t=n.parentNode.firstChild,r=n;t;t=t.nextSibling)t.nodeType===1&&t!==n&&t.nodeName!=="SCRIPT"&&t.nodeName!=="NOSCRIPT"&&t.nodeName!=="STYLE"&&i.push(t);return i}function i(n){function t(n){return n<26?n+65:n<52?n+71:n<62?n-4:n===62?43:n===63?47:65}function r(n){for(var f=(3-n.length%3)%3,u="",e,o=n.length,i=0,r=0;r<o;r++)e=r%3,i|=n[r]<<(16>>>e&24),(e===2||n.length-r==1)&&(u+=String.fromCharCode(t(i>>>18&63),t(i>>>12&63),t(i>>>6&63),t(i&63)),i=0);return f===0?u:u.substring(0,u.length-f)+(f===1?"=":"==")}var i=new Uint16Array(n.length);return Array.prototype.forEach.call(i,function(t,i,r){r[i]=n.charCodeAt(i)}),r(new Uint8Array(i.buffer))}function r(n){function t(n){return n>64&&n<91?n-65:n>96&&n<123?n-71:n>47&&n<58?n+4:n===43?62:n===47?63:0}function i(n,i){for(var h=n.replace(/[^A-Za-z0-9\+\/]/g,""),u=h.length,c=i?Math.ceil((u*3+1>>>2)/i)*i:u*3+1>>>2,l=new Uint8Array(c),f,e,o=0,s=0,r=0;r<u;r++)if(e=r&3,o|=t(h.charCodeAt(r))<<18-6*e,e===3||u-r==1){for(f=0;f<3&&s<c;f++,s++)l[s]=o>>>(16>>>f&24)&255;o=0}return l}return String.fromCharCode.apply(null,new Uint16Array(i(n,2).buffer))}function s(n){var t=sessionStorage.getItem(n);return t===null||t.length<1?null:r(t)}function h(n,t){var r=i(t);sessionStorage.setItem(n,r)}function c(n,t){let r=t!==undefined?t:10,i;return function(){i&&window.clearTimeout(i);i=window.setTimeout(function(){i=null;n()},r)}}return Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),{resetElementHeights:n,getTallestElementHeight:t,setEqualHeights:u,findAncestor:f,getQueryStringParameter:e,getSiblings:o,encodeToBase64UTF16:i,decodeToBase64UTF16:r,sessionStorageSetItem:h,sessionStorageGetItem:s,debounce:c}});define("contactSales",["officeUtilities"],function(n){"use strict";function r(n,t){var i=new XMLHttpRequest;i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&i.status==200&&t(i)};i.open("GET",n,!0);i.send()}function u(t,u,o){var c=document.querySelector(".pmg-contactsales-sidebar"),a=document.querySelector(".ow-contactsales-sidebar"),p=window.matchMedia("(min-width: 768px)"),v=document.querySelector("#headerArea"),y,s,l;if(v.parentNode.insertBefore(a,v.nextElementSibling),c&&(y=document.querySelector("head"),s=document.createElement("link"),s.id="pmg-style-contactsales-sidebar",s.rel="stylesheet",s.href="https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE2uSfc",y.appendChild(s)),l=c||a,l){var w=document.querySelector("html").getAttribute("lang"),b=t!==null||typeof t!="undefined"?"&s="+t:"",h=n.getQueryStringParameter("preview",document.URL);h=h!==null||typeof h!="undefined"?"&preview="+h:"";r("/"+w+"/api/contactsales/"+u+"?r=htm"+b+h,function(n){if(l.classList.add("active"),l.innerHTML=n.responseText,e(),c){var t=document.createElement("script");t.id="pmg-script-contactsales-sidebar";t.type="text/javascript";t.setAttribute("src","https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE2vfDp");c.appendChild(t)}else i.run();o==="true"&&p.matches&&f()})}}function f(){var r,i,t,n;r=document.querySelector(".ow-contactsales");document.querySelectorAll(".ow-chat")[0].className="ow-chat-bot";document.querySelectorAll(".ow-chat-bot")[0].removeAttribute("style");Array.prototype.forEach.call(document.querySelectorAll(".ow-chat-bot .ow-cs-chat"),function(n){n.setAttribute("data-ow-widget-chat-bot","true")});document.querySelector(".ow-contactsales").setAttribute("data-layout","2-up");document.querySelectorAll(".ow-chat-bot")[0].style.border="none";i=document.querySelector(".ow-chat-bot .ow-cs-chat span").innerHTML;document.querySelector("#ow-cs-expand").setAttribute("title",i);t=document.querySelectorAll(".ow-cs-chat");n=document.querySelector(".ow-chat-bot").parentElement.parentElement;n&&n.classList.contains("ow-contactsales")&&(n.style.setProperty("top","auto","important"),n.style.bottom="50px");t.length&&Array.prototype.forEach.call(t,function(n){n.addEventListener("click",function(n){n.preventDefault();var t=document.getElementById("ow-bot-div");typeof t!="undefined"&&t!==null?t.style.display="block":o()},!1)})}function e(){var i="data-ow-widget-chat",t=document.querySelector("["+i+"]"),r,n;t&&t.getAttribute("data-ow-widtget-chat")!=="true"&&(t.setAttribute(i,""),r=document.querySelector(".ow-chat"),r.style.display="none",n=document.querySelector(".ow-contactsales"),n.querySelectorAll("ul li").length<3&&(n.classList.add("expanded"),n.setAttribute("data-layout","1-up")))}function t(n){var t=document.querySelector("meta[name='"+n+"']")||document.querySelector("meta[name='"+n.toLowerCase()+"']")||document.querySelector("meta[name='"+n.toUpperCase()+"']");return t&&t.getAttribute("content")}function o(){var n=document.createElement("div");document.getElementsByTagName("body")[0].appendChild(n);n.outerHTML="<div id='ow-bot-div'><div id='ow-bot-title'><span id='ow-bot-close'>X<\/span><\/div><iframe id='ow-bot-iframe' src='https://officepmgwebchat.azurewebsites.net​/'><\/iframe><\/div>";document.getElementById("ow-bot-close").addEventListener("click",function(){document.getElementById("ow-bot-div").style.display="none"})}function s(){var s,n,v;try{var h=document.querySelector(".ow-contactsales-sidebar"),o=h&&h.getAttribute("data-ow-site")||document.querySelector("meta[name='pmg.site']"),i=document.querySelector("meta[name='pmg.chat']")||document.querySelector("meta[name='ow.chatType']"),c=document.querySelector("meta[name='pmg.isBotChat']")||document.querySelector("meta[name='ow.isBotChat']"),f="",r="",l="false",y=document.querySelector("html"),p=document.URL.GetLocale?document.URL.GetLocale().toLowerCase():y.getAttribute("lang"),e=!0,a=t("pmg.hideContactSales")||t("ow.hideContactSales");a&&(n=a.toLowerCase(),e=!(n==="yes"||n==="true"));s=t("pmg.chathideheader")||t("ow.chatHideHeader");s&&e&&(n=s.toLowerCase(),e=!(n==="yes"||n==="true"));(i||o)&&(f=i&&i.getAttribute("content")||o,f.toLowerCase()!=="off"&&(["business","government","academic","nonprofit","exchange","skype-for-business","project","sharepoint","visio","onedrive-for-business","commercial"].indexOf(f)>-1?(v=p==="fr-ca"&&["skype-for-business","project","sharepoint","visio"].indexOf(f)!==-1,v===!1&&(r="commercial")):r=i&&i.getAttribute("content")));c&&(l=c.getAttribute("content"));(r==="commercial"||r==="consumer")&&e&&u(o,r,l)}catch(w){}}function h(){var t='[data-module="ow-contactsales"]',n="ow-zoom";window.addEventListener("resize",function(){var i=document.querySelector(t);i&&(window.devicePixelRatio>2.5?i.classList.add(n):i.classList.remove(n))})}var i=function(){function f(){u<a?(u++,window.requestAnimationFrame(f)):(t.classList.remove(r),u=0)}function e(u){if(u.type==="click"){u.preventDefault();var e=!t.classList.contains(r),o=n.getAttribute("aria-label"),s=n.getAttribute("data-toggled-label");n.setAttribute("aria-expanded",e.toString());n.setAttribute("aria-label",s);n.setAttribute("data-toggled-label",o);this!==i||u.type==="click"&&u.width&&u.height?t.classList.toggle(r):(n.focus(),f())}}function v(){t=document.querySelector(o);i=document.getElementById(h);n=document.getElementById(c);let r=t?getComputedStyle(t).backgroundColor==="rgb(255, 255, 255)":!1;r&&t.classList.add(s)}function y(){l.forEach(function(t){i&&i.addEventListener(t,e);n&&n.addEventListener(t,e)})}var o='[data-module="ow-contactsales"]',s="ow-high-contrast-on-white",r="expanded",h="ow-cs-collapse",c="ow-cs-expand",l=["click","keyup","keypress"],t,i,n,a=5,u=0;return{run:function(){v();y()}}}();return{run:function(){s();h()}}});define("customMosaicCta",[],function(){"use strict";function n(n,t){for(var i=0;i<n.length;i++)n[i].style.height=t}function h(n){for(var i=0,t=0;t<n.length;t++)n[t].offsetHeight>i&&(i=n[t].offsetHeight);return i}function i(t){var r,i;for(n(t,"auto"),r=h(t),i=0;i<t.length;i++)t[i].style.height=r+"px"}function c(){var n;r=document.querySelectorAll('[data-module="ow-mosaic-cta"]');r.length&&Array.prototype.forEach.call(r,function(n){var r=!1,t=n.firstElementChild,i;if(t.childElementCount>1){for(i=0;i<t.children.length;i++)if(t.children[i].childElementCount>1){r=!0;break}r?u.push(t):f.push(t)}});var t=document.querySelectorAll('[data-module="ow-mosaic-cta"] .c-mosaic-placement'),e={attributes:!0,attributeFilter:["class"],childList:!1,characterData:!1},i=new window.MutationObserver(function(){o();i.disconnect()});for(n=0;n<t.length;n++)(function(){i.observe(t[n],e)})()}function l(){window.addEventListener("resize",function(){clearTimeout(e);e=setTimeout(o,s)})}function o(){t=Math.max(document.documentElement.clientWidth,window.innerWidth||0);u.length&&Array.prototype.forEach.call(u,function(r){var u,f,e;t<540?(u=r.querySelectorAll(".c-mosaic-placement > div"),n(u,"100%")):t<1084?(e=r.firstElementChild.childElementCount===1,e?(f=r.firstElementChild.querySelector(".c-mosaic-placement > div"),n([f],"auto"),u=r.lastElementChild.querySelectorAll(".c-mosaic-placement > div"),i(u)):(u=r.firstElementChild.querySelectorAll(".c-mosaic-placement > div"),i(u),f=r.lastElementChild.querySelector(".c-mosaic-placement > div"),n([f],"auto"))):(u=r.querySelectorAll(".c-mosaic-placement > div"),i(u))});f.length&&Array.prototype.forEach.call(f,function(r){var u=r.querySelectorAll(".c-mosaic-placement > div");t<540?n(u,"100%"):t<1084?n(u,"auto"):i(u)})}var r,u=[],f=[],t,e,s=250;return{run:function(){c();l()}}});require(["customMosaicCta"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("dynamicModule",[],function(){"use strict";function n(){var i,r;try{if(i=document.querySelector("html[lang=en-us]"),i){var t=document.querySelector("meta[name=owamphtml]"),u=document.querySelector("link[rel=canonical]"),n=document.querySelector("link[rel=amphtml]");t&&u&&n===null&&(r=new URL(t.getAttribute("content")),n=document.createElement("link"),n.setAttribute("rel","amphtml"),n.setAttribute("href",r.href),t.parentNode.insertBefore(n,t))}}catch(f){}}function t(){try{require.specified("chat")&&require(["chat"],function(n){n.run()});require.specified("contactSales")&&require(["contactSales"],function(n){n.run()});require.specified("skypeBot")&&require(["skypeBot"],function(n){n.run()});n()}catch(t){}}return{run:function(){t()}}});require(["dynamicModule"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)});define("marketSelector",["select","componentFactory"],function(n,t){"use strict";function r(n){var r=c(document.location.href,"market",n),t=document.getElementById(i.ajaxButtonId);t.setAttribute("href",r);t.click();u()}function f(n,t){var u=n.split("?"),f,i,r;if(u.length>=2){for(f=encodeURIComponent(t)+"=",i=u[1].split(/[&;]/g),r=i.length;r-->0;)i[r].lastIndexOf(f,0)!==-1&&i.splice(r,1);return u[0]+(i.length>0?"?"+i.join("&"):"")}return n}function u(){if(history.pushState){var t=window.location.href,n=f(t,"market");window.history.pushState({path:n},"",n)}}function e(){o();var u=document.getElementById(i.controlName);u.classList.contains("active")||t.ComponentFactory.create([{component:n.Select,elements:[u],callback:function(n){n&&n.length&&(i.mwfComponent=n[0],i.mwfComponent&&(s(),u.classList.add("active"),i.mwfComponent.subscribe({onSelectionChanged:function(n){var t=n.id.split("-");r(t[t.length-1]);l(i.defaultCookieName,t,30)}})))},eventToBind:"DOMContentLoaded"}])}function o(){var t=h("market")||"",u=document.querySelector("#"+i.controlName+" select"),e=u.getAttribute("aria-label"),f=document.querySelector("#"+i.controlName+" #ow-option-"+t),n;t.trim().length>0&&f!==null?f.setAttribute("selected","selected"):(n=u.querySelector("[selected]"),n&&r(n.value))}function s(){var n=document.querySelector(i.clsParent);n&&(n.style.display="flex")}function h(n,t){t||(t=window.location.href);n=n.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function c(n,t,i){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),u=n.indexOf("?")!==-1?"&":"?";return n.match(r)?n.replace(r,"$1"+t+"="+i+"$2"):n+u+t+"="+i}function l(n,t,i){var r=new Date;isNaN(i)===!0&&(i=0);r.setDate(r.getDate()+i);document.cookie=n+"="+escape(t)+(i===null?"":";expires="+r.toUTCString())}function a(){}var i={controlName:"OwMarketSelection",clsParent:".ow-market-selector",ajaxButtonId:"owAjaxUpdate",mwfComponent:undefined,defaultCookieName:"PMGSKUMarketCk"};return{run:function(){try{var t=document.querySelector("[data-ow-marketselector='true']"),n=document.querySelector(i.clsParent),r=n&&n.classList.contains("active");t||r?(e(),a()):u()}catch(f){}}}});require(["marketSelector"],function(n){"use strict";document.readyState==="complete"?n.run():window.addEventListener("load",n.run,!1)});define("MultiFeatureCarousel",["single-slide-carousel","multi-slide-carousel","componentFactory"],function(n,t,i){"use strict";function k(){return console.log("test"),i.ComponentFactory.create([{c:n.SingleSlideCarousel,elements:document.querySelectorAll(w),eventToBind:a,callback:function(n){for(var t=0;t<n.length;t++)h=n[t].carouselElement.parentNode,d(h)}},{c:t.MultiSlideCarousel,elements:[document.querySelector(b)],eventToBind:a}]),!0}function d(n){(function(){function d(i,e,o,s){if(t.carouselContainerUl){let h=0,l=f?window.getComputedStyle(t.carouselContainerUl).getPropertyValue("right"):window.getComputedStyle(t.carouselContainerUl).getPropertyValue("left"),a=l.indexOf("px"),c=a!==-1?Math.abs(parseInt(l.substring(0,a))):0,v=t.carouselContainerUl.parentElement.getBoundingClientRect().width;if(s==="left"){h=e*o;let i=h-100;if(c>h||e===0){if(c<o){f?t.carouselContainerUl.style.right="0px":t.carouselContainerUl.style.left="0px";n.querySelector(b).classList.add(r);n.querySelector(b).classList.remove(u);n.querySelector(w).classList.remove(r);return}f?t.carouselContainerUl.style.right="-"+i+"px":t.carouselContainerUl.style.left="-"+i+"px";n.querySelector(w).classList.remove(r);n.querySelector(w).classList.add(u)}}else{if(h=(e+1)*o,h-c<v)return;let i=Math.abs(h-v);e+1!==t.allCarouselLiItems.length?i+=150:(n.querySelector(w).classList.add(r),n.querySelector(w).classList.remove(u));f?t.carouselContainerUl.style.right="-"+i+"px":t.carouselContainerUl.style.left="-"+i+"px";n.querySelector(b).classList.remove(r);n.querySelector(b).classList.add(u)}}}function nt(){let n={carouselPosLeft:0,singleSlideWidth:k===0?1:k,parentElemWidth:0,hiddenSlidesToLeft:0,hiddenSlidesToRight:0,indexOfActiveSlide:a,numOfSlidesVisible:0};if(!t.carouselContainerUl)return n;let i=f?window.getComputedStyle(t.carouselContainerUl).getPropertyValue("right"):window.getComputedStyle(t.carouselContainerUl).getPropertyValue("left"),r=i.indexOf("px");return n.carouselPosLeft=r!==-1?Math.abs(parseInt(i.substring(0,r))):0,n.parentElemWidth=t.carouselContainerUl.parentElement.getBoundingClientRect().width,n.hiddenSlidesToLeft=Math.ceil(n.carouselPosLeft/n.singleSlideWidth),n.numOfSlidesVisible=Math.floor(n.parentElemWidth/n.singleSlideWidth),n.hiddenSlidesToRight=t.allCarouselLiItems.length-(n.hiddenSlidesToLeft+n.numOfSlidesVisible),n}function et(n){g=!1;let u=nt(),r=u.hiddenSlidesToLeft;if(n==="left"&&(r+=u.numOfSlidesVisible-2),r<=0||u.carouselPosLeft<=50){h(i.allCarouselLiItems[0],0,!0);h(i.allCarouselLiItems[a],-1,!0);h(i.allCarouselLiItems[0],0,!1);h(i.allCarouselLiItems[a],-1,!1);i.allCarouselLiItems[0].focus();t.allSequenceIndicator[a].classList.remove(e);t.allSequenceIndicator[0].classList.add(e);a=0;return}if(u.hiddenSlidesToRight===0){h(i.allCarouselLiItems[i.allCarouselLiItems.length-1],0,!0);h(i.allCarouselLiItems[a],-1,!0);h(i.allCarouselLiItems[i.allCarouselLiItems.length-1],0,!1);h(i.allCarouselLiItems[a],-1,!1);i.allCarouselLiItems[i.allCarouselLiItems.length-1].focus();t.allSequenceIndicator[a].classList.remove(e);t.allSequenceIndicator[i.allCarouselLiItems.length-1].classList.add(e);a=i.allCarouselLiItems.length-1;return}i.allCarouselLiItems[r].focus();t.allSequenceIndicator[a].classList.remove(e);t.allSequenceIndicator[r].classList.add(e);h(i.allCarouselLiItems[r],0,!0);h(i.allCarouselLiItems[a],-1,!0);h(i.allCarouselLiItems[r],0,!1);h(i.allCarouselLiItems[a],-1,!1);a=r}function st(){const n=nt(),t=(n.indexOfActiveSlide+1)*n.singleSlideWidth;n.carouselPosLeft>t?d(null,n.indexOfActiveSlide,n.singleSlideWidth,"left"):t>n.carouselPosLeft+n.parentElemWidth&&d(null,n.indexOfActiveSlide,n.singleSlideWidth,"right")}function h(n,t,i){if(n){if(i){n.setAttribute("tabindex",t);return}const r=n.querySelectorAll("a");for(let n=0;n<r.length;n++)r[n].setAttribute("tabindex",t)}}function tt(u){if(u.target.nodeName==="LI"){var f=i.allCarouselLiItems.indexOf(u.target);if(f===0){n.querySelector(b).classList.add(r);a=0;return}a=f-1;i.allCarouselLiItems[f-1].focus();t.allSequenceIndicator[f].classList.remove("active");t.allSequenceIndicator[f-1].classList.add("active");d(i.allCarouselLiItems[f-1],f-1,k,"left");h(i.allCarouselLiItems[f-1],0,!0);h(i.allCarouselLiItems[f],-1,!0);h(i.allCarouselLiItems[f-1],0,!1);h(i.allCarouselLiItems[f],-1,!1)}}function it(u){if(u.target.nodeName==="LI"){var f=i.allCarouselLiItems.indexOf(u.target);if(f===i.allCarouselLiItems.length-1){n.querySelector(w).classList.add(r);a=i.allCarouselLiItems.length-1;return}a=f+1;i.allCarouselLiItems[f+1].focus();t.allSequenceIndicator[f].classList.remove("active");t.allSequenceIndicator[f+1].classList.add("active");d(i.allCarouselLiItems[f+1],f+1,k,"right");h(i.allCarouselLiItems[f+1],0,!0);h(i.allCarouselLiItems[f],-1,!0);h(i.allCarouselLiItems[f+1],0,!1);h(i.allCarouselLiItems[f],-1,!1)}}function rt(n){if(n.target.nodeName==="LI"){var r=i.allCarouselLiItems.indexOf(n.target);i.allCarouselLiItems[r].focus();t.allSequenceIndicator[a].classList.remove("active");t.allSequenceIndicator[r].classList.add("active");d(i.allCarouselLiItems[r],r,k,"right");h(i.allCarouselLiItems[r],0,!0);h(i.allCarouselLiItems[a],-1,!0);h(i.allCarouselLiItems[r],0,!1);h(i.allCarouselLiItems[a],-1,!1);a=r}}function ht(n){rt(n)}function ct(n){var t,i;(n=n||window.event,n.defaultPrevented||g)||(t=!1,g=!0,n.key!==undefined?((n.key==="ArrowLeft"||n.key==="Left")&&(f?it(n):tt(n),t=!0),(n.key==="ArrowRight"||n.key==="Right")&&(f?tt(n):it(n),t=!0),n.key==="Enter"&&rt(n)):(n.keyCode!==undefined||n.which!==undefined)&&(i=n.which||n.keyCode,t=!0,i===37&&tt(n),i===39&&it(n),i===13&&rt(n)),t&&n.preventDefault())}function lt(n){(n=n||window.event,n.defaultPrevented)||(g=!1)}function at(){n.querySelector(b).addEventListener(o,function(){n.querySelector(w).classList.remove(r);n.querySelector(w).classList.add(u);n.querySelector(b).classList.remove(r);n.querySelector(b).classList.remove(u);setTimeout(function(){et("left")},500)});n.querySelector(w).addEventListener(o,function(){n.querySelector(w).classList.remove(r);n.querySelector(w).classList.remove(u);n.querySelector(b).classList.remove(r);n.querySelector(b).classList.add(u);setTimeout(function(){et("right")},500)})}function vt(){function n(){for(var r=0;r<t.allCarouselLiItems.length;r++)t.allCarouselLiItems[r].classList.add(ft);document.removeEventListener("mousemove",n,!1);document.addEventListener("keydown",i,!1)}function i(){for(var r=0;r<t.allCarouselLiItems.length;r++)t.allCarouselLiItems[r].classList.remove(ft);document.removeEventListener("keydown",i,!1);document.addEventListener("mousemove",n,!1)}document.addEventListener("mousemove",n,!1);document.addEventListener("keydown",i,!1)}function yt(){t.carouselContainerUl.addEventListener("keydown",ct);t.carouselContainerUl.addEventListener("keyup",lt);t.carouselContainerUl.addEventListener("click",ht);for(let n=1;n<t.allCarouselLiItems.length;n++){let i=t.allCarouselLiItems[n].querySelectorAll("a");for(let n=0;n<i.length;n++)i[n].setAttribute("tabindex",-1),i[n].addEventListener("keydown",function(n){n.stopImmediatePropagation()})}}function pt(){if(!c)var n=setInterval(function(){l+=1;l===5&&clearInterval(n);s=Array.prototype.slice.call(document.querySelectorAll("[class*="+p+"]"));s.length>0&&(clearInterval(n),s.map(function(n){n.addEventListener(o,function(){setTimeout(function(){var n,t;navigator.appVersion.indexOf("Trident/")>0?(n=document.createEvent("UIEvents"),n.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(n)):(t=document.createEvent("HTMLEvents"),t.initEvent("resize",!0,!1),window.dispatchEvent(t))},500)})}),c=!0)},1e3)}function wt(){if(f){let n=t.carouselItemList,i=Object.getOwnPropertyDescriptor(window.Element.prototype,"scrollLeft"),r={};Object.keys(i).forEach(function(n){r[n]=i[n]});r.set=function(t){return n.scrollLeft<=0&&i.set.call(n,t),t};Object.defineProperty(n,"scrollLeft",r)}}function ot(){var e,f;const o=nt();var c=o.singleSlideWidth*i.allCarouselLiItems.length,s=!1,h=!1;if(c<=o.parentElemWidth)for(t.sequenceIndicatorContainer.classList.add(r),t.nextButton.classList.add(r),t.prevButton.classList.add(r),t.nextButton.classList.contains(u)&&(s=!0,t.nextButton.classList.remove(u)),t.prevButton.classList.contains(u)&&(h=!0,t.prevButton.classList.remove(u)),t.carouselContainerUl.removeAttribute("role"),e=0;e<t.allCarouselLiItems.length;e++)t.allCarouselLiItems[e].removeAttribute("role"),t.allCarouselLiItems[e].setAttribute("tabindex","-1");else for(t.sequenceIndicatorContainer.classList.remove(r),n.querySelector(b).classList.remove(r),n.querySelector(w).classList.remove(r),h&&t.prevButton.classList.add(u),s&&t.nextButton.classList.add(u),t.carouselContainerUl.setAttribute("role","tablist"),f=0;f<t.allCarouselLiItems.length;f++)t.allCarouselLiItems[f].setAttribute("role","tab"),f===0?t.allCarouselLiItems[f].setAttribute("tabindex","0"):t.allCarouselLiItems[f].setAttribute("tabindex","-1")}function bt(){window.innerWidth>y&&setTimeout(function(){st();ot()},500)}function kt(n,t,i){var r;return function(){var u=this,f=arguments,e=function(){r=null;i||n.apply(u,f)},o=i&&!r;clearTimeout(r);r=setTimeout(e,t);o&&n.apply(u,f)}}var ut=".ow-mf-carousel-group > li",b=".ow-f-previous",w=".ow-f-next",g=!1,a=0,ft="x-hidden-focus";const t={carouselItemList:n.querySelector(".ow-mf-carousel-item-list"),carouselContainerUl:n.querySelector(".ow-mf-carousel-group"),allCarouselLiItems:n.querySelectorAll(ut),allSequenceIndicator:n.querySelectorAll(".ow-mf-carousel-sequence-indicator > button"),sequenceIndicatorContainer:n.querySelector(".ow-mf-carousel-sequence-indicator"),prevButton:n.querySelector(b),nextButton:n.querySelector(w)},i={allCarouselLiItems:Array.prototype.slice.call(n.querySelectorAll(ut))};if(t.allSequenceIndicator.length===0||t.allCarouselLiItems.length===0)return!1;const k=t.allCarouselLiItems[0].getBoundingClientRect().width;window.addEventListener(v,kt(bt,250));pt();yt();at();vt();wt();ot()})()}var f=document.dir==="rtl",r="x-hidden",e="active",o="click",u="x-visible-block",v="resize",y=767,h="",c=!1,s="",l=0,p="c-pivot-multifeaturecarouselregion",w="[data-module='ow-multi-feature'] .c-carousel.f-single-slide",b="[data-module='ow-multi-feature'] .c-carousel.f-multi-slide",a="DOMContentLoaded";return{init:function(){k()}}});require(["MultiFeatureCarousel"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?(console.log("test2"),n.init(),console.log("test3")):document.addEventListener("DOMContentLoaded",n.init,!1)});define("OfficeSocialFooter",[],function(){"use strict";function i(){var f=getComputedStyle(document.body).backgroundColor==="rgb(0, 0, 0)",r,i,u;if(f)for(r=document.querySelectorAll(t),i=0,u=r.length;i<u;i++)r[i].classList.add(n)}var n="ow-high-contrast-on-black",t=".ow-social-footer";return{run:function(){i()}}});require(["OfficeSocialFooter"],function(n){"use strict";document.readyState==="complete"||document.readyState==="interactive"?n.run():document.addEventListener("DOMContentLoaded",n.run,!1)})