function getUrlParameterByName(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 resizeCallback(){resizeTimeoutId&&window.clearTimeout(resizeTimeoutId);resizeTimeoutId=window.setTimeout(Misem.doResizeActions,5)}var MU=MU||{},Misem,resizeTimeoutId,dataJsHref;MU.replaceAll=function(n,t){var i=this;return i.split(n).join(t)};MU.htmlEncode=function(n){return $("<div/>").text(n).html()};MU.htmlDencode=function(){return $("<div/>").html(this).text()};MU.ResolveValue=function(n,t,i){var f,r,u,e;if(!!n&&!!t&&!!i){for(f=t.split("."),r=n,u=0;u<f.length;u++){if(e=f[u],!r[e])return i;r=r[e]}return r}return i};MU.ToMomentCalendarString=function(n){var i=moment(n).fromNow(),t=function(){return"["+i+"]"};return moment(n).calendar(null,{sameDay:t,nextDay:t,nextWeek:t,lastDay:t,lastWeek:t,sameElse:"YYYY-MM-DD"})};MU.registerNS=function(n){for(var i=n.split("."),r=window,t=0;t<i.length;t++)typeof r[i[t]]=="undefined"&&(r[i[t]]={}),r=r[i[t]]};MU._Timers={};MU.doWhenIdle=function(n,t,i){if(MU._Timers[n]!==undefined&&MU._Timers[n]!==null){var r=MU._Timers[n];r&&window.clearTimeout(r);MU._Timers[n]=undefined}MU._Timers[n]=window.setTimeout(t,i)};Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(n,t){var f,i,e,o,r,u;if(null==this)throw new TypeError('"this" is null or not defined');if(f=Object(this),i=f.length>>>0,0===i)return!1;for(r=0|t,u=Math.max(0<=r?r:i-Math.abs(r),0);u<i;){if((e=f[u])===(o=n)||"number"==typeof e&&"number"==typeof o&&isNaN(e)&&isNaN(o))return!0;u++}return!1}});String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return t=t||0,this.indexOf(n,t)===t});Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){var i,u,f,t,r;if(this==null)throw new TypeError('"this" is null or not defined');if(i=Object(this),u=i.length>>>0,typeof n!="function")throw new TypeError("predicate must be a function");for(f=arguments[1],t=0;t<u;){if(r=i[t],n.call(f,r,t,i))return r;t++}return undefined}});const getAllFocusableElements=n=>n?n.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)'):(console.warn("You need to pass a parent HTMLElement"),[]);if(Misem={},Misem.Components={},window.Misem=Misem,!window.jQuery)throw new Error("Jquery is required.");$(document).on("click",function(n){var t=n.target.href,i=location.host;t!==undefined&&t.indexOf(i)==-1&&$.ajax({cache:!1,async:!0,type:"GET",url:"/"+LOCALE+"/Order/Link",data:{url:t}})});Misem.currFocus=document;$(window).on("focusin",function(){var n=document.activeElement?$(":focus"):document.activeElement;n!==null&&n!==undefined&&(Misem.prevFocus=Misem.currFocus,Misem.currFocus=undefined===document.activeElement?$(":focus"):document.activeElement)});Misem.onResizeActions=[];$(window).ready(resizeCallback);$(window).resize(resizeCallback);resizeTimeoutId=null;Misem.doResizeActions=function(){for(var n=0;n<Misem.onResizeActions.length;n++)Misem.onResizeActions[n]()};Misem.onResize=function(n){Misem.onResizeActions.push(n)};Misem.InitializeMWF=function(){var n=[{c:mwf.PageBehaviors},{c:mwf.ActionBar},{c:mwf.ActionMenu},{c:mwf.ActionToggle},{c:mwf.Alert,selector:".c-alert, .m-alert"},{c:mwf.AutoSuggest},{c:mwf.BackToTop},{c:mwf.Button},{c:mwf.Checkbox},{c:mwf.ChoiceSummary},{c:mwf.Combo},{c:mwf.CompareChart,selector:".c-compare-chart, .m-compare-chart"},{c:mwf.ContentPlacementItem,selector:".m-content-placement-item"},{c:mwf.ContentToggle},{c:mwf.DateTimePicker},{c:mwf.DeviceActions},{c:mwf.Dialog},{c:mwf.Drawer},{c:mwf.FeedHeroItem},{c:mwf.File},{c:mwf.Flyout},{c:mwf.HeroItem,selector:".c-hero, .m-hero-item"},{c:mwf.ImmersiveHeroItem},{c:mwf.InPageNavigation,selector:".c-in-page-navigation-disabled"},{c:mwf.MosaicPlacement},{c:mwf.MultiFeature},{c:mwf.MultiHero},{c:mwf.MultiHeroItem},{c:mwf.MultiSlideCarousel},{c:mwf.NavigationMenu},{c:mwf.NavigationBar},{c:mwf.PageBar},{c:mwf.Pagination,selector:".c-pagination, .m-pagination"},{c:mwf.Pivot},{c:mwf.Persona},{c:mwf.ProductPlacement},{c:mwf.ProductPlacementItem},{c:mwf.RangeSlider},{c:mwf.Rating},{c:mwf.RefineMenu},{c:mwf.RefineItem},{c:mwf.Select,callback:function(n){if(n&&n.length)for(var t in n)n[t].subscribe({currentSelect:n[t],onSelectionChanged:function(n){try{var i=n.id,t=$(this.currentSelect.element).find("select");$(t).val(i).trigger("change");!t.onchange||t.onchange()}catch(r){console.error(r)}}})}},{c:mwf.SelectButton},{c:mwf.SelectMenu,selector:".c-select-menu, .c-select-menu .c-menu-item.f-sub-menu"},{c:mwf.SequenceIndicator,selector:".c-sequence-indicator"},{c:mwf.SingleSlideCarousel},{c:mwf.Slider},{c:mwf.Social,selector:".c-social, .m-social"},{c:mwf.SupplementalNavigation,selector:".c-supplemental-nav, .m-supplemental-nav"},{c:mwf.Table},{c:mwf.Toggle},{c:mwf.Tooltip},{c:mwf.VideoTrigger}];mwf.ComponentFactory.create(n)};$(document).ready(function(){Misem.InitializeMWF()});$(document).ajaxComplete(function(){Misem.InitializeMWF();$("form").each(function(n,t){$.validator.unobtrusive.parse(t)})});dataJsHref={target:null,origX:-1,origY:-1};$(document).on("mousedown","*[data-js-href]",function(n){return dataJsHref.origX=n.clientX,dataJsHref.origY=n.clientY,dataJsHref.target=n.target,n.button===1&&$(n.target).closest("[data-js-href]").length>0&&$(n.target).is(":not(button,a)")?(n.preventDefault(),!1):void 0});$(document).on("mouseup","*[data-js-href]",function(n){var t,r,i;if($(n.target).not("a,button")&&n.target===dataJsHref.target&&Math.max(n.clientX,dataJsHref.origX)-Math.min(n.clientX,dataJsHref.origX)<3&&Math.max(n.clientY,dataJsHref.origY)-Math.min(n.clientY,dataJsHref.origY)<3&&(t=$(n.target).closest("[data-js-href]"),t!==undefined)){if(r=n.button===1||n.ctrlKey===!0,i=$(t).attr("data-js-href"),r)return window.open(i),n.stopPropagation(),!1;window.location=i;n.stopPropagation()}});$(window).ready(function(){function o(){f=$(t).offset().top+s;e=$(h).offset().top+c;i=$(t).offset();i.left=i.left+parseInt($(t).css("paddingLeft"),0);navheight=$(n).outerHeight()}var t=$("#applicationProgressContainer"),r,u;if(t.length!=0){var n=$(t).find("nav"),l=$(n),s=0,f,h=$("#divFooterContainer"),c=-48,i,e;o();Misem.onResize(function(){$(n).css("position")=="fixed"&&$(window).scroll()});$(window).on("scroll",function(){o();$(window).scrollTop()+navheight>e?($(n).removeClass("f-sticky"),$(n).css("position","absolute"),$(n).css("bottom","0"),$(n).css("left","")):$(window).scrollTop()>f?($(n).addClass("f-sticky"),$(n).css("left",i.left),$(n).css("position",""),$(n).css("bottom","")):($(n).removeClass("f-sticky"),$(n).css("left",""),$(n).css("position",""),$(n).css("bottom",""))});r=$("#header-main-cta");r.length&&r.remove();u=$("#azure-signin");u.length&&u.remove()}})