/*! modernizr 3.3.1 (Custom Build) | MIT *
 * https://modernizr.com/download/?-eventlistener-picture-printshiv-setclasses !*/
!function(n,t){function h(n,t){return typeof n===t}function c(){var u,n,f,e,o,c,t;for(var l in r)if(r.hasOwnProperty(l)){if(u=[],n=r[l],n.name&&(u.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(f=0;f<n.options.aliases.length;f++)u.push(n.options.aliases[f].toLowerCase());for(e=h(n.fn,"function")?n.fn():n.fn,o=0;o<u.length;o++)c=u[o],t=c.split("."),1===t.length?i[t[0]]=e:(!i[t[0]]||i[t[0]]instanceof Boolean||(i[t[0]]=new Boolean(i[t[0]])),i[t[0]][t[1]]=e),s.push((e?"":"no-")+t.join("-"))}}function l(n){var t=u.className,r=i._config.classPrefix||"",e;(f&&(t=t.baseVal),i._config.enableJSClass)&&(e=new RegExp("(^|\\s)"+r+"no-js(\\s|$)"),t=t.replace(e,"$1"+r+"js$2"));i._config.enableClasses&&(t+=" "+r+n.join(" "+r),f?u.className.baseVal=t:u.className=t)}var s=[],r=[],o={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,t){var i=this;setTimeout(function(){t(i[n])},0)},addTest:function(n,t,i){r.push({name:n,fn:t,options:i})},addAsyncTest:function(n){r.push({name:null,fn:n})}},i=function(){},u,f,e;for(i.prototype=o,i=new i,i.addTest("picture","HTMLPictureElement"in n),u=t.documentElement,f="svg"===u.nodeName.toLowerCase(),f||!function(n,t){function l(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function u(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function w(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;o(t)}function f(n){var t=p[n[y]];return t||(t={},c++,n[y]=c,p[c]=t),t}function a(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=f(i));var e;return e=u.cache[n]?u.cache[n].cloneNode():rt.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),!e.canHaveChildren||it.test(n)||e.tagUrn?e:u.frag.appendChild(e)}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||f(n);for(var o=i.frag.cloneNode(),e=0,s=u(),h=s.length;h>e;e++)o.createElement(s[e]);return o}function k(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?a(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function o(n){n||(n=t);var u=f(n);return!i.shivCSS||s||u.hasCSS||(u.hasCSS=!!l(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||k(n,u),n}function d(n){for(var t,i=n.getElementsByTagName("*"),r=i.length,e=RegExp("^(?:"+u().join("|")+")$","i"),f=[];r--;)t=i[r],e.test(t.nodeName)&&f.push(t.applyElement(g(t)));return f}function g(n){for(var t,r=n.attributes,u=r.length,i=n.ownerDocument.createElement(e+":"+n.nodeName);u--;)t=r[u],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=n.style.cssText,i}function nt(n){for(var t,i=n.split("{"),r=i.length,f=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+e+"\\:$2";r--;)t=i[r]=i[r].split("}"),t[t.length-1]=t[t.length-1].replace(f,o),i[r]=t.join("}");return i.join("{")}function tt(n){for(var t=n.length;t--;)n[t].removeNode()}function v(n){function r(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,u,i=f(n),o=n.namespaces,s=n.parentWindow;return!ft||n.printShived?n:("undefined"==typeof o[e]&&o.add(e),s.attachEvent("onbeforeprint",function(){r();for(var o,s,f,c=n.styleSheets,e=[],i=c.length,h=Array(i);i--;)h[i]=c[i];for(;f=h.pop();)if(!f.disabled&&ut.test(f.media)){try{o=f.imports;s=o.length}catch(a){s=0}for(i=0;s>i;i++)h.push(o[i]);try{e.push(f.cssText)}catch(a){}}e=nt(e.reverse().join(""));u=d(n);t=l(n,e)}),s.attachEvent("onafterprint",function(){tt(u);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(r,500)}),n.printShived=!0,n)}var s,r,h=n.html5||{},it=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,rt=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,y="_html5shiv",c=0,p={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";s="hidden"in n;r=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(i){s=!0;r=!0}}();i={elements:h.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:h.shivCSS!==!1,supportsUnknownElements:r,shivMethods:h.shivMethods!==!1,type:"default",shivDocument:o,createElement:a,createDocumentFragment:b,addElements:w};n.html5=i;o(t);var ut=/^$|\b(?:all|print)\b/,e="html5shiv",ft=!r&&function(){var i=t.documentElement;return!("undefined"==typeof t.namespaces||"undefined"==typeof t.parentWindow||"undefined"==typeof i.applyElement||"undefined"==typeof i.removeNode||"undefined"==typeof n.attachEvent)}();i.type+=" print";i.shivPrint=v;v(t);"object"==typeof module&&module.exports&&(module.exports=i)}("undefined"!=typeof n?n:this,t),i.addTest("eventlistener","addEventListener"in n),c(),l(s),delete o.addTest,delete o.addAsyncTest,e=0;e<i._q.length;e++)i._q[e]();n.Modernizr=i}(window,document);
/*! picturefill - v3.0.2 - 2016-02-12
 * https://scottjehl.github.io/picturefill/
 * Copyright (c) 2016 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
 */
!function(n){var t=navigator.userAgent;n.HTMLPictureElement&&/ecko/.test(t)&&t.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var r,u=document.createElement("source"),e=function(n){var i,r,t=n.parentNode;"PICTURE"===t.nodeName.toUpperCase()?(i=u.cloneNode(),t.insertBefore(i,t.firstElementChild),setTimeout(function(){t.removeChild(i)})):(!n._pfLastSize||n.offsetWidth>n._pfLastSize)&&(n._pfLastSize=n.offsetWidth,r=n.sizes,n.sizes+=",100vw",setTimeout(function(){n.sizes=r}))},o=function(){for(var t=document.querySelectorAll("picture > img, img[srcset][sizes]"),n=0;n<t.length;n++)e(t[n])},t=function(){clearTimeout(r);r=setTimeout(o,99)},i=n.matchMedia&&matchMedia("(orientation: landscape)"),f=function(){t();i&&i.addListener&&i.addListener(t)};return u.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?f():document.addEventListener("DOMContentLoaded",f),t}())}(window),function(n,t,i){"use strict";function v(n){return" "===n||"\t"===n||"\n"===n||"\f"===n||"\r"===n}function wt(t,i){var r=new n.Image;return r.onerror=function(){o[t]=!1;f()},r.onload=function(){o[t]=1===r.width;f()},r.src=i,"pending"}function bt(){w=!1;a=n.devicePixelRatio;h={};b={};r.DPR=a||1;u.width=Math.max(n.innerWidth||0,e.clientWidth);u.height=Math.max(n.innerHeight||0,e.clientHeight);u.vw=u.width/100;u.vh=u.height/100;y=[u.height,u.width,a].join("-");u.em=r.getEmValue();u.rem=u.em}function kt(n,t,i,r){var f,o,e,u;return"saveData"===p.algorithm?n>2.7?u=i+1:(o=t-i,f=Math.pow(n-.6,1.5),e=o*f,r&&(e+=.1*f),u=n+e):u=i>1?Math.sqrt(n*t):n,u>i}function dt(n){var i,t=r.getSet(n),u=!1;"pending"!==t&&(u=y,t&&(i=r.setRes(t),r.applySetCandidate(i,n)));n[r.ns].evaled=u}function gt(n,t){return n.res-t.res}function ni(n,t,i){var u;return!i&&t&&(i=n[r.ns].sets,i=i&&i[i.length-1]),u=et(t,i),u&&(t=r.makeUrl(t),n[r.ns].curSrc=t,n[r.ns].curCan=u,u.res||ft(u,u.set.sizes)),u}function et(n,t){var i,f,u;if(n&&t)for(u=r.parseSet(t),n=r.makeUrl(n),i=0;i<u.length;i++)if(n===r.makeUrl(u[i].url)){f=u[i];break}return f}function ti(n,t){for(var i,f,o=n.getElementsByTagName("source"),u=0,e=o.length;e>u;u++)i=o[u],i[r.ns]=!0,f=i.getAttribute("srcset"),f&&t.push({srcset:f,media:i.getAttribute("media"),type:i.getAttribute("type"),sizes:i.getAttribute("sizes")})}function ii(n,t){function h(t){var i,r=t.exec(n.substring(e));if(r)return(i=r[0],e+=i.length,i)}function o(){for(var u,r,e,h,v,o,l,y,n=!1,i={},a=0;a<f.length;a++)h=f[a],v=h[h.length-1],o=h.substring(0,h.length-1),l=parseInt(o,10),y=parseFloat(o),vt.test(o)&&"w"===v?((u||r)&&(n=!0),0===l?n=!0:u=l):vi.test(o)&&"x"===v?((u||r||e)&&(n=!0),0>y?n=!0:r=y):vt.test(o)&&"h"===v?((e||r)&&(n=!0),0===l?n=!0:e=l):n=!0;n||(i.url=s,u&&(i.w=u),r&&(i.d=r),e&&(i.h=e),e||r||u||(i.d=1),1===i.d&&(t.has1x=!0),i.set=t,c.push(i))}function l(){for(h(hi),i="",u="in descriptor";;){if(r=n.charAt(e),"in descriptor"===u)if(v(r))i&&(f.push(i),i="",u="after descriptor");else{if(","===r)return e+=1,i&&f.push(i),void o();if("("===r)i+=r,u="in parens";else{if(""===r)return i&&f.push(i),void o();i+=r}}else if("in parens"===u)if(")"===r)i+=r,u="in descriptor";else{if(""===r)return f.push(i),void o();i+=r}else if("after descriptor"===u&&!v(r)){if(""===r)return void o();u="in descriptor";e-=1}e+=1}}for(var s,f,i,u,r,a=n.length,e=0,c=[];;){if(h(ci),e>=a)return c;s=h(li);f=[];","===s.slice(-1)?(s=s.replace(ai,""),o()):l()}}function ri(n){function s(n){function u(){r&&(f.push(r),r="")}function s(){f[0]&&(h.push(f),f=[])}for(var i,r="",f=[],h=[],e=0,t=0,o=!1;;){if(i=n.charAt(t),""===i)return u(),s(),h;if(o){if("*"===i&&"/"===n[t+1]){o=!1;t+=2;u();continue}t+=1}else{if(v(i)){if(n.charAt(t-1)&&v(n.charAt(t-1))||!r){t+=1;continue}if(0===e){u();t+=1;continue}i=" "}else if("("===i)e+=1;else if(")"===i)e-=1;else{if(","===i){u();s();t+=1;continue}if("/"===i&&"*"===n.charAt(t+1)){o=!0;t+=2;continue}}r+=i;t+=1}}}function h(n){return c.test(n)&&parseFloat(n)>=0?!0:l.test(n)?!0:"0"===n||"-0"===n||"+0"===n?!0:!1}var i,u,e,t,f,o,c=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(u=s(n),e=u.length,i=0;e>i;i++)if((t=u[i],f=t[t.length-1],h(f))&&((o=f,t.pop(),0===t.length)||(t=t.join(" "),r.matchesMedia(t))))return o;return"100vw"}t.createElement("picture");var ui,c,ot,y,r={},k=!1,l=function(){},s=t.createElement("img"),d=s.getAttribute,st=s.setAttribute,ht=s.removeAttribute,e=t.documentElement,o={},p={algorithm:""},g="data-pfsrc",ct=g+"set",nt=navigator.userAgent,fi=/rident/.test(nt)||/ecko/.test(nt)&&nt.match(/rv\:(\d+)/)&&RegExp.$1>35,tt="currentSrc",ei=/\s+\+?\d+(e\d+)?w/,oi=/(\([^)]+\))?\s*(.+)/,it=n.picturefillCFG,si="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",lt="font-size:100%!important;",w=!0,h={},b={},a=n.devicePixelRatio,u={px:1,"in":96},at=t.createElement("a"),rt=!1,hi=/^[ \t\n\r\u000c]+/,ci=/^[, \t\n\r\u000c]+/,li=/^[^ \t\n\r\u000c]+/,ai=/[,]+$/,vt=/^\d+$/,vi=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,yt=function(n,t,i,r){n.addEventListener?n.addEventListener(t,i,r||!1):n.attachEvent&&n.attachEvent("on"+t,i)},ut=function(n){var t={};return function(i){return i in t||(t[i]=n(i)),t[i]}},pt=function(){var n=/^([\d\.]+)(em|vw|px)$/,t=function(){for(var n=arguments,t=0,i=n[0];++t in n;)i=i.replace(n[t],n[++t]);return i},i=ut(function(n){return"return "+t((n||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(t,r){var f;if(!(t in h))if(h[t]=!1,r&&(f=t.match(n)))h[t]=f[1]*u[f[2]];else try{h[t]=new Function("e",i(t))(u)}catch(e){}return h[t]}}(),ft=function(n,t){return n.w?(n.cWidth=r.calcListLength(t||"100vw"),n.res=n.w/n.cWidth):n.res=n.d,n},f=function(n){if(k){var f,u,e,i=n||{};if(i.elements&&1===i.elements.nodeType&&("IMG"===i.elements.nodeName.toUpperCase()?i.elements=[i.elements]:(i.context=i.elements,i.elements=null)),f=i.elements||r.qsa(i.context||t,i.reevaluate||i.reselect?r.sel:r.selShort),e=f.length){for(r.setupRun(i),rt=!0,u=0;e>u;u++)r.fillImg(f[u],i);r.teardownRun(i)}}};for(ui=n.console&&console.warn?function(n){console.warn(n)}:l,(tt in s)||(tt="src"),o["image/jpeg"]=!0,o["image/gif"]=!0,o["image/png"]=!0,o["image/svg+xml"]=t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),r.ns=("pf"+(new Date).getTime()).substr(0,9),r.supSrcset=("srcset"in s),r.supSizes=("sizes"in s),r.supPicture=!!n.HTMLPictureElement,r.supSrcset&&r.supPicture&&!r.supSizes&&!function(n){s.srcset="data:,a";n.src="data:,a";r.supSrcset=s.complete===n.complete;r.supPicture=r.supSrcset&&r.supPicture}(t.createElement("img")),r.supSrcset&&!r.supSizes?!function(){var i="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",n=t.createElement("img"),u=function(){var t=n.width;2===t&&(r.supSizes=!0);ot=r.supSrcset&&!r.supSizes;k=!0;setTimeout(f)};n.onload=u;n.onerror=u;n.setAttribute("sizes","9px");n.srcset=i+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w";n.src=i}():k=!0,r.selShort="picture>img,img[srcset]",r.sel=r.selShort,r.cfg=p,r.DPR=a||1,r.u=u,r.types=o,r.setSize=l,r.makeUrl=ut(function(n){return at.href=n,at.href}),r.qsa=function(n,t){return"querySelector"in n?n.querySelectorAll(t):[]},r.matchesMedia=function(){return r.matchesMedia=n.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?function(n){return!n||matchMedia(n).matches}:r.mMQ,r.matchesMedia.apply(this,arguments)},r.mMQ=function(n){return n?pt(n):!0},r.calcLength=function(n){var t=pt(n,!0)||!1;return 0>t&&(t=!1),t},r.supportsType=function(n){return n?o[n]:!0},r.parseSize=ut(function(n){var t=(n||"").match(oi);return{media:t&&t[1],length:t&&t[2]}}),r.parseSet=function(n){return n.cands||(n.cands=ii(n.srcset,n)),n.cands},r.getEmValue=function(){var n;if(!c&&(n=t.body)){var i=t.createElement("div"),r=e.style.cssText,u=n.style.cssText;i.style.cssText=si;e.style.cssText=lt;n.style.cssText=lt;n.appendChild(i);c=i.offsetWidth;n.removeChild(i);c=parseFloat(c,10);e.style.cssText=r;n.style.cssText=u}return c||16},r.calcListLength=function(n){if(!(n in b)||p.uT){var t=r.calcLength(ri(n));b[n]=t?t:u.width}return b[n]},r.setRes=function(n){var t,i,u;if(n)for(t=r.parseSet(n),i=0,u=t.length;u>i;i++)ft(t[i],n.sizes);return t},r.setRes.res=ft,r.applySetCandidate=function(n,t){if(n.length){var f,e,o,l,i,s,u,a,v,h=t[r.ns],c=r.DPR;if(s=h.curSrc||t[tt],u=h.curCan||ni(t,s,n[0].set),u&&u.set===n[0].set&&(v=fi&&!t.complete&&u.res-.1>c,v||(u.cached=!0,u.res>=c&&(i=u))),!i)for(n.sort(gt),l=n.length,i=n[l-1],e=0;l>e;e++)if(f=n[e],f.res>=c){o=e-1;i=n[o]&&(v||s!==r.makeUrl(f.url))&&kt(n[o].res,f.res,c,n[o].cached)?n[o]:f;break}i&&(a=r.makeUrl(i.url),h.curSrc=a,h.curCan=i,a!==s&&r.setSrc(t,i),r.setSize(t))}},r.setSrc=function(n,t){var i;n.src=t.url;"image/svg+xml"===t.set.type&&(i=n.style.width,n.style.width=n.offsetWidth+1+"px",n.offsetWidth+1&&(n.style.width=i))},r.getSet=function(n){for(var t,u,f=!1,e=n[r.ns].sets,i=0;i<e.length&&!f;i++)if(t=e[i],t.srcset&&r.matchesMedia(t.media)&&(u=r.supportsType(t.type))){"pending"===u&&(t=u);f=t;break}return f},r.parseSets=function(n,t,u){var o,e,s,h,c=t&&"PICTURE"===t.nodeName.toUpperCase(),f=n[r.ns];(f.src===i||u.src)&&(f.src=d.call(n,"src"),f.src?st.call(n,g,f.src):ht.call(n,g));(f.srcset===i||u.srcset||!r.supSrcset||n.srcset)&&(o=d.call(n,"srcset"),f.srcset=o,h=!0);f.sets=[];c&&(f.pic=!0,ti(t,f.sets));f.srcset?(e={srcset:f.srcset,sizes:d.call(n,"sizes")},f.sets.push(e),s=(ot||f.src)&&ei.test(f.srcset||""),s||!f.src||et(f.src,e)||e.has1x||(e.srcset+=", "+f.src,e.cands.push({url:f.src,d:1,set:e}))):f.src&&f.sets.push({srcset:f.src,sizes:null});f.curCan=null;f.curSrc=i;f.supported=!(c||e&&!r.supSrcset||s&&!r.supSizes);h&&r.supSrcset&&!f.supported&&(o?(st.call(n,ct,o),n.srcset=""):ht.call(n,ct));f.supported&&!f.srcset&&(!f.src&&n.src||n.src!==r.makeUrl(f.src))&&(null===f.src?n.removeAttribute("src"):n.src=f.src);f.parsed=!0},r.fillImg=function(n,t){var i,u=t.reselect||t.reevaluate;n[r.ns]||(n[r.ns]={});i=n[r.ns];(u||i.evaled!==y)&&((!i.parsed||t.reevaluate)&&r.parseSets(n,n.parentNode,t),i.supported?i.evaled=y:dt(n))},r.setupRun=function(){(!rt||w||a!==n.devicePixelRatio)&&bt()},r.supPicture?(f=l,r.fillImg=l):!function(){var i,h=n.attachEvent?/d$|^c/:/d$|^c|^i/,f=function(){var n=t.readyState||"";o=setTimeout(f,"loading"===n?200:999);t.body&&(r.fillImgs(),i=i||h.test(n),i&&clearTimeout(o))},o=setTimeout(f,t.body?9:99),c=function(n,t){var i,r,u=function(){var f=new Date-r;t>f?i=setTimeout(u,t-f):(i=null,n())};return function(){r=new Date;i||(i=setTimeout(u,t))}},s=e.clientHeight,l=function(){w=Math.max(n.innerWidth||0,e.clientWidth)!==u.width||e.clientHeight!==s;s=e.clientHeight;w&&r.fillImgs()};yt(n,"resize",c(l,99));yt(t,"readystatechange",f)}(),r.picturefill=f,r.fillImgs=f,r.teardownRun=l,f._=r,n.picturefillCFG={pf:r,push:function(n){var t=n.shift();"function"==typeof r[t]?r[t].apply(r,n):(p[t]=n[0],rt&&r.fillImgs({reselect:!0}))}};it&&it.length;)n.picturefillCFG.push(it.shift());n.picturefill=f;"object"==typeof module&&"object"==typeof module.exports?module.exports=f:"function"==typeof define&&define.amd&&define("picturefill",function(){return f});r.supPicture||(o["image/webp"]=wt("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document);var mwfAutoInit=function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s="mwf.main.auto.init")}({"./node_modules/webpack/buildin/":function(n){var t=function(){return this}();try{t=t||Function("return this")()||eval("this")}catch(i){typeof window=="object"&&(t=window)}n.exports=t},"./src/components/tslib/scripts/":function(n,t,i){(function(i){var o,f,s,h,c,l,a,v,y,p,w,u,e,b,r,k,d,g,nt,tt,it;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
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
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
(function(r){function u(n,t){return n!==e&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,r){return n[i]=t?t(i,r):r}}var e=typeof i=="object"?i:typeof self=="object"?self:typeof this=="object"?this:{};!(o=[t],f=function(n){r(u(e,u(n)))}.apply(t,o),f!==undefined&&(n.exports=f))})(function(n){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])};s=function(n,i){function r(){this.constructor=n}t(n,i);n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)};h=Object.assign||function(n){for(var t,r,i=1,u=arguments.length;i<u;i++){t=arguments[i];for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n};c=function(n,t){var u={},r;for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(u[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(r=0,i=Object.getOwnPropertySymbols(n);r<i.length;r++)t.indexOf(i[r])<0&&(u[i[r]]=n[i[r]]);return u};l=function(n,t,i,r){var f=arguments.length,u=f<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,e,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(n,t,i,r);else for(o=n.length-1;o>=0;o--)(e=n[o])&&(u=(f<3?e(u):f>3?e(t,i,u):e(t,i))||u);return f>3&&u&&Object.defineProperty(t,i,u),u};a=function(n,t){return function(i,r){t(i,r,n)}};v=function(n,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,t)};y=function(n,t,i,r){return new(i||(i=Promise))(function(u,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?u(n.value):new i(function(t){t(n.value)}).then(o,s)}e((r=r.apply(n,t||[])).next())})};p=function(n,t){function o(n){return function(t){return s([n,t])}}function s(e){if(f)throw new TypeError("Generator is already executing.");while(r)try{if(f=1,u&&(i=u[e[0]&2?"return":e[0]?"throw":"next"])&&!(i=i.call(u,e[1])).done)return i;(u=0,i)&&(e=[0,i.value]);switch(e[0]){case 0:case 1:i=e;break;case 4:return r.label++,{value:e[1],done:!1};case 5:r.label++;u=e[1];e=[0];continue;case 7:e=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(e[0]===6||e[0]===2)){r=0;continue}if(e[0]===3&&(!i||e[1]>i[0]&&e[1]<i[3])){r.label=e[1];break}if(e[0]===6&&r.label<i[1]){r.label=i[1];i=e;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(e);break}i[2]&&r.ops.pop();r.trys.pop();continue}e=t.call(n,r)}catch(o){e=[6,o];u=0}finally{f=i=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},f,u,i,e;return e={next:o(0),"throw":o(1),"return":o(2)},typeof Symbol=="function"&&(e[Symbol.iterator]=function(){return this}),e};w=function(n,t){for(var i in n)t.hasOwnProperty(i)||(t[i]=n[i])};u=function(n){var t=typeof Symbol=="function"&&n[Symbol.iterator],i=0;return t?t.call(n):{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}}};e=function(n,t){var i=typeof Symbol=="function"&&n[Symbol.iterator],r,u,f,e;if(!i)return n;r=i.call(n);f=[];try{while((t===void 0||t-->0)&&!(u=r.next()).done)f.push(u.value)}catch(o){e={error:o}}finally{try{u&&!u.done&&(i=r["return"])&&i.call(r)}finally{if(e)throw e.error;}}return f};b=function(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(e(arguments[t]));return n};r=function(n){return this instanceof r?(this.v=n,this):new r(n)};k=function(n,t,i){function o(n){s[n]&&(f[n]=function(t){return new Promise(function(i,r){u.push([n,t,i,r])>1||e(n,t)})})}function e(n,t){try{c(s[n](t))}catch(i){h(u[0][3],i)}}function c(n){n.value instanceof r?Promise.resolve(n.value.v).then(l,a):h(u[0][2],n)}function l(n){e("next",n)}function a(n){e("throw",n)}function h(n,t){(n(t),u.shift(),u.length)&&e(u[0][0],u[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=i.apply(n,t||[]),f,u=[];return f={},o("next"),o("throw"),o("return"),f[Symbol.asyncIterator]=function(){return this},f};d=function(n){function i(i,f){n[i]&&(t[i]=function(t){return(u=!u)?{value:r(n[i](t)),done:i==="return"}:f?f(t):t})}var t,u;return t={},i("next"),i("throw",function(n){throw n;}),i("return"),t[Symbol.iterator]=function(){return this},t};g=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator];return t?t.call(n):typeof u=="function"?u(n):n[Symbol.iterator]()};nt=function(n,t){return Object.defineProperty?Object.defineProperty(n,"raw",{value:t}):n.raw=t,n};tt=function(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t};it=function(n){return n&&n.__esModule?n:{"default":n}};n("__extends",s);n("__assign",h);n("__rest",c);n("__decorate",l);n("__param",a);n("__metadata",v);n("__awaiter",y);n("__generator",p);n("__exportStar",w);n("__values",u);n("__read",e);n("__spread",b);n("__await",r);n("__asyncGenerator",k);n("__asyncDelegator",d);n("__asyncValues",g);n("__makeTemplateObject",nt);n("__importStar",tt);n("__importDefault",it)})}).call(t,i("./node_modules/webpack/buildin/"))},actionBar:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var r=n.call(this,i)||this;return(r.toggleOverflow=function(){r.showOverflow?(r.overflow.setAttribute(t.ariaHiddenAttribute,"true"),r.overflowToggle.setAttribute(t.ariaExpandedAttribute,"false"),r.showOverflow=!1):(r.overflow.setAttribute(t.ariaHiddenAttribute,"false"),r.overflowToggle.setAttribute(t.ariaExpandedAttribute,"true"),r.showOverflow=!0)},r.handleWindowResize=function(){r.updateWidth();r.linksClipped()},!i)?r:(r.update(),r)}return i.__extends(t,n),t.prototype.update=function(){this.overflow=u.selectFirstElement(t.overflowSelector,this.element);this.overflowToggle=u.selectFirstElement(t.overflowToggleSelector,this.element);this.barLinks=this.getBarLinks();this.staticOverflowLinks=this.getStaticOverflowLinks();this.linksWidth=this.getLinksWidth();this.totalLinksWidth=this.getTotalLinksWidth();this.overflowToggleWidth=u.getClientRect(this.overflowToggle).width;this.showOverflow=this.overflowToggle.hasAttribute(t.ariaHiddenAttribute)&&this.overflowToggle.getAttribute(t.ariaHiddenAttribute)?!0:!1;this.duplicateLinksToOverflow();this.handleWindowResize();u.addEvent(this.overflowToggle,u.eventTypes.click,this.toggleOverflow);this.resizeThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.resize,this.handleWindowResize)},t.prototype.teardown=function(){u.removeEvent(this.overflowToggle,u.eventTypes.click,this.toggleOverflow);u.removeEvent(window,u.eventTypes.resize,this.resizeThrottledEventHandler)},t.prototype.duplicateLinksToOverflow=function(){var r=document.createElement("li"),u=document.createElement("ul"),n,t,f,i;for(this.overflowLinks=[],this.setDataAttributes(),n=0,t=this.barLinks;n<t.length;n++)f=t[n],i=f.cloneNode(!0),this.overflowLinks.push(i),u.appendChild(i);r.appendChild(u);this.ignoreNextDOMChange=!0;this.overflow.insertBefore(r,this.staticOverflowLinks[0])},t.prototype.getStaticOverflowLinks=function(){for(var i,e=u.selectElements(t.overflowLinkSelector,this.element),r=[],n=0,f=e;n<f.length;n++)i=f[n],u.hasClass(i,t.overflowClass)||r.push(i);return r},t.prototype.updateWidth=function(){this.width=u.getClientRect(this.overflowToggle).right-u.getClientRect(this.barLinks[0]).left},t.prototype.getBarLinks=function(){for(var i,e=u.selectElements(t.barLinkSelector,this.element),r=[],n=0,f=e;n<f.length;n++)i=f[n],u.hasClass(i,t.overflowClass)||r.push(i);return r},t.prototype.getLinksWidth=function(){for(var i,r=[],n=0,f=this.barLinks;n<f.length;n++)i=f[n],u.hasClass(i,t.overflowClass)||r.push(u.getClientRect(i).width);return r},t.prototype.getTotalLinksWidth=function(){for(var r,t=0,n=0,i=this.linksWidth;n<i.length;n++)r=i[n],t+=r;return t},t.prototype.linksClipped=function(){var n,i;this.barLinkIds=[];this.overflowLinkIds=[];var r=0,u=this.width-this.overflowToggleWidth,t=0;for(n=0,i=this.barLinks.length;n<i;n++)t+=this.linksWidth[n],t<u?(this.barLinkIds.push(n),r++):this.overflowLinkIds.push(n);this.toggleLinks()},t.prototype.setDataAttributes=function(){for(var n=0,i=this.barLinks.length;n<i;n++)this.barLinks[n].setAttribute(t.overflowIdAttribute,String(n)),this.barLinks[n].setAttribute(t.overflowAttribute,"false")},t.prototype.showOverflowLink=function(n){this.barLinks[n].setAttribute(t.overflowAttribute,"true");this.overflowLinks[n].setAttribute(t.overflowAttribute,"true")},t.prototype.hideOverflowLink=function(n){this.barLinks[n].setAttribute(t.overflowAttribute,"false");this.overflowLinks[n].setAttribute(t.overflowAttribute,"false")},t.prototype.toggleLinks=function(){for(var i,u,t,n=0,r=this.overflowLinkIds;n<r.length;n++)t=r[n],this.showOverflowLink(t);for(i=0,u=this.barLinkIds;i<u.length;i++)t=u[i],this.hideOverflowLink(t)},t.selector=".m-action-bar",t.typeName="ActionBar",t.overflowClass="f-overflow",t.ariaHiddenAttribute="aria-hidden",t.ariaExpandedAttribute="aria-expanded",t.overflowSelector=t.selector+" > .f-overflow > ul",t.overflowLinkSelector=t.overflowSelector+" > li",t.overflowToggleSelector=t.selector+" > .f-overflow > button",t.barLinkSelector=t.selector+" > li",t.overflowAttribute="data-overflow",t.overflowIdAttribute="data-overflow-id",t}(r.ObservableComponent);t.ActionBar=f}.apply(t,u),r!==undefined&&(n.exports=r))},actionMenu:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("utility"),i("htmlExtensions")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.onTriggerClick=function(n){if(n=f.getEvent(n),f.preventDefault(n),!i.disabled){i.onTriggerToggled();var t=i.items[0];t.setAttribute("tabindex","0");t.focus()}},i.onTouchMove=function(n){n=f.getEvent(n);f.preventDefault(n);i.isExpanded()?i.collapse():i.expand()},i.onItemClick=function(n){n=f.getEvent(n);var t=n.currentTarget;if(!t.hasAttribute("aria-disabled")){i.onItemSelected(t);i.collapse()}},i.onNonActionMenuClick=function(n){if(n=f.getEvent(n),!!i.element&&!!i.menu){var t=f.getEventTargetOrSrcElement(n);i.element.contains(t)||t!==i.menu&&t.parentElement!==i.menu&&i.collapse()}},i.onTriggerKeyPress=function(n){var r,t;n=f.getEvent(n);r=u.getKeyCode(n);switch(r){case 13:case 32:f.preventDefault(n);i.disabled||(t=i.items[0],i.onTriggerToggled(),t.setAttribute("tabindex","0"),t.focus())}},i.handleMenuKeydownEvent=function(n){n=f.getEvent(n);var t=u.getKeyCode(n);(t!==9||i.isExpanded())&&f.preventDefault(n);i.handleMenuKeydown(f.getEventTargetOrSrcElement(n),t)},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){if(this.trigger=f.selectFirstElement(t.triggerSelector,this.element),this.menu=f.selectFirstElement(t.menuSelector,this.element),this.items=f.selectElementsT('li[class^="f-context-"]',this.element),this.disabled=this.trigger.hasAttribute("disabled"),!!this.trigger&&!!this.menu&&!!this.items&&!!this.items.length){var n=this.isExpanded();this.addEventListeners();n&&this.expand()}},t.prototype.teardown=function(){!this.trigger||!this.menu||!this.items||!this.items.length||this.removeEventListeners();this.trigger=null;this.menu=null;this.items=null;this.selectedItem=null},t.prototype.isExpanded=function(){return this.trigger.getAttribute(t.ariaExpanded)==="true"},t.prototype.expand=function(){f.removeClass(this.trigger,"x-hidden-focus");f.addClass(this.trigger,"f-active");this.trigger.setAttribute(t.ariaExpanded,"true")},t.prototype.collapse=function(){f.removeClass(this.trigger,"f-active");this.trigger.setAttribute(t.ariaExpanded,"false")},t.prototype.addEventListeners=function(){var n,t,i;for(f.addEvent(this.trigger,f.eventTypes.click,this.onTriggerClick),f.addEvent(this.trigger,f.eventTypes.keydown,this.onTriggerKeyPress),f.addEvent(this.menu,f.eventTypes.keydown,this.handleMenuKeydownEvent,!0),f.addEvent(this.trigger,f.eventTypes.touchmove,this.onTouchMove),n=0,t=this.items;n<t.length;n++)i=t[n],f.addEvent(i,f.eventTypes.click,this.onItemClick);f.addEvent(document,f.eventTypes.click,this.onNonActionMenuClick)},t.prototype.removeEventListeners=function(){var n,t,i;for(f.removeEvent(this.trigger,f.eventTypes.click,this.onTriggerClick),f.removeEvent(this.trigger,f.eventTypes.keydown,this.onTriggerKeyPress),f.removeEvent(this.menu,f.eventTypes.keydown,this.handleMenuKeydownEvent,!0),f.removeEvent(this.trigger,f.eventTypes.touchmove,this.onTouchMove),n=0,t=this.items;n<t.length;n++)i=t[n],f.removeEvent(i,f.eventTypes.click,this.onItemClick);f.removeEvent(document,f.eventTypes.click,this.onNonActionMenuClick)},t.prototype.onTriggerToggled=function(){this.isExpanded()?this.collapse():this.expand()},t.prototype.onItemSelected=function(n){var r,i;this.selectedItem=n;r=this.selectedItem.getAttribute("role")==="menuitemcheckbox";r?(i=this.selectedItem.getAttribute(t.ariaChecked)==="true",i?this.selectedItem.setAttribute(t.ariaChecked,"false"):this.selectedItem.setAttribute(t.ariaChecked,"true"),this.initiatePublish({id:this.selectedItem.id,checked:!i})):this.initiatePublish({id:this.selectedItem.id})},t.prototype.publish=function(n,t){if(!!this.selectedItem)n.onSelection(t)},t.prototype.handleMenuKeydown=function(n,t){switch(t){case 13:n.hasAttribute("aria-disabled")||(this.handleMenuEnterKey(n),this.trigger.focus(),this.collapse());break;case 32:n.hasAttribute("aria-disabled")||(this.handleMenuEnterKey(n),n.getAttribute("role")!=="menuitemcheckbox"&&(this.collapse(),this.trigger.focus()));break;case 27:case 196:this.trigger.focus();this.collapse();break;case 38:case 203:case 211:this.handleMenuArrowKey(!0,n);break;case 40:case 204:case 212:this.handleMenuArrowKey(!1,n);break;case 9:this.isExpanded()&&(this.trigger.focus(),this.collapse())}},t.prototype.handleMenuArrowKey=function(n,t){var r=this.items.indexOf(t),i;r!==-1&&(i=n?r-1:r+1,i<0?i=this.items.length-1:i>=this.items.length&&(i=0),this.items[r].removeAttribute("tabindex"),this.items[i].setAttribute("tabindex","0"),this.items[i].focus())},t.prototype.handleMenuEnterKey=function(n){this.onItemSelected(n)},t.selector=".c-action-menu",t.typeName="ActionMenu",t.ariaExpanded="aria-expanded",t.ariaChecked="aria-checked",t.triggerSelector=t.selector+" > button.c-action-trigger",t.menuSelector=t.triggerSelector+' + ul[role="menu"]',t}(r.Publisher);t.ActionMenu=e}.apply(t,u),r!==undefined&&(n.exports=r))},actionToggle:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("componentFactory"),i("tooltip"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(i){var r=n.call(this,i)||this;return r.element=i,r.toggleText=function(n){e.setText(r.element,n.innerText)},r.toggleLabel=function(n){e.setText(r.element,n.label)},r.updateActionToggleState=function(n){n!==r.isToggled()&&(r.skipAriaPressed?n?(e.addClass(r.element,t.initializeToggledClassName),r.element.setAttribute(t.dataIsPressedAttribute,"true"),r.toggleStateProperties(r.toggledState,r.initialState)):(e.removeClass(r.element,t.initializeToggledClassName),r.element.setAttribute(t.dataIsPressedAttribute,"false"),r.toggleStateProperties(r.initialState,r.toggledState)):n?(e.addClass(r.element,t.initializeToggledClassName),r.element.setAttribute(t.ariaPressedAttribute,"true"),r.toggleStateProperties(r.toggledState,r.initialState)):(e.removeClass(r.element,t.initializeToggledClassName),r.element.setAttribute(t.ariaPressedAttribute,"false"),r.toggleStateProperties(r.initialState,r.toggledState)),r.initiatePublish({toggled:n}))},r.toggleStateProperties=function(n,t){e.removeClass(r.element,t.glyph);e.addClass(r.element,n.glyph);r.textArialLabelToggleFunction(n);!r.tooltip||r.tooltip.setContent(n.label)},r.onActionToggleChange=function(){r.updateActionToggleState(!r.isToggled())},r.handleKeydownEvent=function(n){switch(o.getKeyCode(n)){case 13:case 32:e.preventDefault(n);r.updateActionToggleState(!r.isToggled());break;case 27:e.preventDefault(n);r.updateActionToggleState(!1)}},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){var i=this,n,r;this.element&&(this.initializeStates(),n=e.hasClass(this.element,t.initializeToggledClassName),this.skipAriaPressed=e.hasClass(this.element,t.skipAriaPressedAttributeClassName),r=this.element.getAttribute(f.Tooltip.dataDescribedByAttribute),!r||u.ComponentFactory.create([{component:f.Tooltip,eventToBind:"DOMContentLoaded",elements:[document.getElementById(r)],callback:function(t){!t&&!t.length||(i.tooltip=t[0],i.tooltip.setContent(n?i.toggledState.label:i.initialState.label))}}]),n&&e.removeClass(this.element,t.initializeToggledClassName),this.updateActionToggleState(n),this.skipAriaPressed?n?this.element.setAttribute(t.dataIsPressedAttribute,"true"):this.element.setAttribute(t.dataIsPressedAttribute,"false"):n?this.element.setAttribute(t.ariaPressedAttribute,"true"):this.element.setAttribute(t.ariaPressedAttribute,"false"),e.addEvent(this.element,e.eventTypes.click,this.onActionToggleChange),e.addEvent(this.element,e.eventTypes.keydown,this.handleKeydownEvent))},t.prototype.teardown=function(){e.removeEvent(this.element,e.eventTypes.click,this.onActionToggleChange);e.removeEvent(this.element,e.eventTypes.keydown,this.handleKeydownEvent)},t.prototype.publish=function(n,t){if(n.onActionToggled)n.onActionToggled(t)},t.prototype.isToggled=function(){return e.hasClass(this.element,t.initializeToggledClassName)},t.prototype.initializeStates=function(){var n,i,r,u;for(this.initialState={label:null,innerText:null,glyph:null},this.toggledState={label:this.element.getAttribute(t.localizedToggledLabelAttribute),innerText:this.element.getAttribute(t.localizedToggledTextAttribute),glyph:this.element.getAttribute(t.toggledGlyphAttribute)},n=e.getText(this.element),this.element.getAttribute(t.ariaLabelAttribute)?(this.initialState.label=this.element.getAttribute(t.ariaLabelAttribute),this.toggledState.innerText&&n&&(this.initialState.innerText=n),this.textArialLabelToggleFunction=this.toggleText):n&&(this.initialState.label=n,this.textArialLabelToggleFunction=this.toggleLabel),i=0,r=this.element.className.split(" ");i<r.length;i++)if(u=r[i],u.indexOf("glyph-")>=0){this.initialState.glyph=u;break}},t.selector=".c-action-toggle",t.typeName="ActionToggle",t.ariaPressedAttribute="aria-pressed",t.dataIsPressedAttribute="data-ispressed",t.ariaLabelAttribute="aria-label",t.initializeToggledClassName="f-toggle",t.skipAriaPressedAttributeClassName="f-skip-ariapressed",t.toggledGlyphAttribute="data-toggled-glyph",t.localizedToggledLabelAttribute="data-toggled-label",t.localizedToggledTextAttribute="data-toggled-text",t}(r.Publisher);t.ActionToggle=s}.apply(t,u),r!==undefined&&(n.exports=r))},alert:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return i.closeAlertAndRemoveEvent=function(){u.removeEvent(i.closeButton,u.eventTypes.click,i.closeAlertAndRemoveEvent);u.removeElement(i.element);i.initiatePublish()},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){this.element&&(this.closeButton=u.selectFirstElement("button.c-action-trigger.glyph-cancel",this.element),!this.closeButton||u.addEvent(this.closeButton,u.eventTypes.click,this.closeAlertAndRemoveEvent,!1))},t.prototype.teardown=function(){u.removeEvent(this.closeButton,u.eventTypes.click,this.closeAlertAndRemoveEvent,!1)},t.prototype.publish=function(n){n.onAlertClosed()},t.selector=".m-alert",t.typeName="Alert",t}(r.Publisher);t.Alert=f}.apply(t,u),r!==undefined&&(n.exports=r))},ambientVideo:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("observableComponent")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return(i.observer=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,!t)?i:(i.update(),i)}return i.__extends(t,n),t.prototype.update=function(){var t=this,n;this.htmlRoot=r.selectFirstElement("html");this.videoElement=r.selectFirstElement("video",this.element);n={attributes:!0,childList:!0,characterData:!0};typeof MutationObserver!="undefined"?(this.observer=new MutationObserver(function(n){n.forEach(function(){t.checkReduceMotion()})}),this.observer.observe(this.htmlRoot,n)):r.addEvent(document,r.eventTypes.DOMNodeInserted,this.reduceMotion);this.checkReduceMotion()},t.prototype.checkReduceMotion=function(){r.hasClass(this.htmlRoot,"context-set-motion-limited")&&this.reduceMotion()},t.prototype.reduceMotion=function(){this.videoElement.hasAttribute("autoplay")&&this.videoElement.removeAttribute("autoplay");this.videoElement.hasAttribute("loop")&&this.videoElement.removeAttribute("loop");this.videoElement.pause()},t.prototype.teardown=function(){typeof MutationObserver!="undefined"?this.observer.disconnect():r.removeEvent(document,r.eventTypes.DOMNodeInserted,this.reduceMotion)},t.selector=".m-ambient-video",t.typeName="AmbientVideo",t}(u.ObservableComponent);t.AmbientVideo=f}.apply(t,u),r!==undefined&&(n.exports=r))},autosuggest:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("stringExtensions"),i("utility")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(i,r){var o,s;return r===void 0&&(r=null),o=n.call(this,i,e.isNumber(r)?{}:r)||this,o.hideNoResults=!1,o.suggestionClickListeners=[],o.publishInProgress=[],o.updateSuggestions=function(n){o.publishInProgress.length>0&&o.publishInProgress.pop();var t=o.reconstructMenu(n);o.show();t&&o.setFocusToInput()},o.handleInputKeyup=function(n){o.input&&o.input.value?(o.cachedInputValue=o.input.value,o.show()):o.hide();switch(e.getKeyCode(n)){case 9:break;case 27:break;case 38:break;case 40:break;default:o.initiatePublish({notification:"onMatchPatternChanged",properties:{pattern:o.input.value}});o.publishInProgress.push(!0)}},o.handleInputKeydown=function(n){switch(e.getKeyCode(n)){case 9:case 27:o.hide();break;case 38:u.preventDefault(n);o.handleInputArrowKey(!0);break;case 40:u.preventDefault(n);o.handleInputArrowKey(!1)}},o.handleMenuKeydown=function(n){switch(e.getKeyCode(n)){case 13:o.selectSuggestion(o.selectedSuggestion,!0);break;case 27:o.hide();break;case 38:u.preventDefault(n);o.handleMenuArrowKey(!0);break;case 40:u.preventDefault(n);o.handleMenuArrowKey(!1)}},o.handleClickWhenMenuOpen=function(n){o.closeMenuFromClick(u.getEventTargetOrSrcElement(n))},o.handleInputClick=function(){o.show()},o.selectSuggestionFromClick=function(n){o.selectSuggestion(n,!0)},o.buildStringSuggestionHtml=function(n,t){var i=document.createElement("li");i.setAttribute("class","c-menu-item");i.setAttribute("role","presentation");i.setAttribute("title",n);i.innerHTML='<span role="option" aria-label="'+n+'" tabindex="0">'+o.highlight(n)+"<\/span>";u.addAttribute(i,t);o.ignoreNextDOMChange=!0;o.menu.appendChild(i)},o.buildProductSuggestionHtml=function(n,t){var e=!n.category?"":" - "+n.category,r=document.createElement("li"),i,s,h,c,l;r.setAttribute("class","c-menu-item");r.setAttribute("role","presentation");r.setAttribute("title",n.title+e);o.searchable(r,!1);i=document.createElement("a");i.setAttribute("role","option");i.setAttribute("aria-label",n.title+e+" - Link");i.setAttribute("class","f-product");i.setAttribute("href",n.targetUrl);u.addAttribute(i,t);s="";n.imageSrc&&(h="",c='class="c-image'+(n.isImageRound?" f-round":"")+'"',f.isNullOrWhiteSpace(n.backgroundColor)||n.backgroundColor.toLowerCase()==="transparent"||(h='style="background:'+n.backgroundColor+'"'),s="<img "+c+' src="'+n.imageSrc+'" '+h+' role="none" alt="'+(n.title+e)+'"/>');l=n.category?'<span class="c-meta-text">'+n.category+"<\/span>":"";i.innerHTML=s+"<div><span>"+o.highlight(n.title)+"<\/span>"+l+"<\/div>";r.appendChild(i);o.ignoreNextDOMChange=!0;o.menu.appendChild(r)},o.setFocusToInput=function(){o.input&&o.input.focus()},e.isNumber(r)?s=r:r&&(e.isNumber(r.scrollLimit)&&(s=r.scrollLimit),r.hideNoResults&&(o.hideNoResults=r.hideNoResults)),o.itemScrollCount=Math.max(t.minimumItemScrollCount,s||t.defaultItemScrollCount),o.update(),o}return i.__extends(t,n),t.prototype.update=function(){this.element&&(this.input=u.selectFirstElement("[aria-controls="+this.element.id+"]"),this.input)&&(this.element.getAttribute("role")==="combobox"&&(this.input.setAttribute("role","combobox"),this.element.setAttribute("role","")),this.menu=u.selectFirstElement(".c-menu",this.element),this.menu)&&(this.hideNoResults||(this.noResults=u.selectFirstElement(".f-auto-suggest-no-results",this.element),this.noResults&&(this.noResultsItem=u.selectFirstElement(".c-menu-item span",this.noResults)),this.noResultsItem&&(this.noResultsString=this.noResultsItem.textContent)),this.form=this.element.parentElement,this.form)&&(this.addMenuStateAnnouncement(),u.addEvent(this.input,u.eventTypes.keyup,this.handleInputKeyup,!0),u.addEvent(this.input,u.eventTypes.keydown,this.handleInputKeydown,!0),u.addEvent(this.input,u.eventTypes.click,this.handleInputClick,!0),this.reconstructMenu(null,!0))},t.prototype.teardown=function(){u.removeEvent(this.input,u.eventTypes.keyup,this.handleInputKeyup,!0);u.removeEvent(this.input,u.eventTypes.keydown,this.handleInputKeydown,!0);u.removeEvent(this.input,u.eventTypes.click,this.handleInputClick,!0);u.removeEvent(document.body,u.eventTypes.click,this.handleClickWhenMenuOpen);for(var n=0;n<this.suggestions.length;++n)u.removeEvent(this.suggestions[n],u.eventTypes.keydown,this.handleMenuKeydown),u.removeEvent(this.suggestions[n],u.eventTypes.click,this.suggestionClickListeners[n++]);this.form=null;this.input=null;this.menu=null;this.noResults=null;this.suggestions=null;this.selectedSuggestion=null},t.prototype.searchable=function(n,t){var i="data-is-searchable";if(t===undefined)return n.getAttribute(i)!=="false";n.setAttribute(i,t.toString())},t.prototype.publish=function(n,t){if(n.onMatchPatternChanged&&t.notification==="onMatchPatternChanged")n.onMatchPatternChanged(t.properties);else if(n.onSuggestionSelected&&t.notification==="onSuggestionSelected")n.onSuggestionSelected(t.properties)},t.prototype.handleInputArrowKey=function(n){var t=this.suggestions,r=this.suggestions?this.suggestions.length:0,i;r>0&&(!this.selectedSuggestion&&n?this.selectSuggestion(t[r-1]):this.selectedSuggestion?(i=t.indexOf(this.selectedSuggestion),n&&i===0?this.selectSuggestion(t[r-1]):n?this.selectSuggestion(t[i-1]):i===r-1?this.selectSuggestion(t[0]):this.selectSuggestion(t[i+1])):this.selectSuggestion(t[0]))},t.prototype.handleMenuArrowKey=function(n){var i=this.suggestions,r=this.suggestions?this.suggestions.length:0,t;r>0&&(t=i.indexOf(this.selectedSuggestion),n&&t===0||!n&&t===r-1?(this.input.value=this.cachedInputValue,this.setFocusToInput(),this.selectedSuggestion.setAttribute("data-selected","false"),this.selectedSuggestion=null):n?this.selectSuggestion(i[t-1]):this.selectSuggestion(i[t+1]))},t.prototype.selectSuggestion=function(n,t){var i,r,f;(t===void 0&&(t=!1),n)&&(this.selectedSuggestion&&this.selectedSuggestion.setAttribute("data-selected","false"),this.selectedSuggestion=n,this.selectedSuggestion.setAttribute("data-selected","true"),u.selectFirstElement("li > a, li > span",this.selectedSuggestion).focus(),i="product",this.searchable(this.selectedSuggestion)?(r=u.getText(this.selectedSuggestion),this.input.value=r,i="term"):this.publishInProgress.length===0&&(this.input.value=""),t&&(this.hide(),f=this.suggestions.indexOf(this.selectedSuggestion),this.initiatePublish({notification:"onSuggestionSelected",properties:{srchq:this.cachedInputValue,suggestion:this.selectedSuggestion,suggestionType:i,aslinkpos:f,qrylngth:this.cachedInputValue.length,resultselected:this.selectedSuggestion.innerText}}),this.searchable(this.selectedSuggestion)&&typeof this.form.submit=="function"&&this.form.submit()))},t.prototype.hide=function(){this.menu.setAttribute(t.ariaHidden,"true");this.noResults&&this.noResultsItem&&(this.noResults.setAttribute(t.ariaHidden,"true"),this.noResultsItem.removeAttribute("aria-label"),this.noResultsItem.textContent="");this.form.setAttribute(t.ariaExpanded,"false");u.setText(this.ariaLiveRegion,"");u.removeEvent(document.body,u.eventTypes.click,this.handleClickWhenMenuOpen)},t.prototype.show=function(){if(f.isNullOrWhiteSpace(this.input.value)){this.hide();return}if(this.form.setAttribute(t.ariaExpanded,"true"),this.suggestions&&this.suggestions.length)u.setText(this.ariaLiveRegion,this.menuOpenLocString);else{!this.hideNoResults&&this.noResults&&this.noResultsItem&&(this.noResults.setAttribute(t.ariaHidden,"false"),this.noResultsItem.setAttribute("aria-label",this.noResultsString),this.noResultsItem.textContent=this.noResultsString);this.menu.setAttribute(t.ariaHidden,"true");return}!this.hideNoResults&&this.noResults&&this.noResults.setAttribute(t.ariaHidden,"true");this.menu.setAttribute(t.ariaHidden,"false");u.hasClass(this.menu,"f-auto-suggest-scroll")&&u.css(this.menu,"maxHeight",this.suggestions[0].offsetHeight*this.itemScrollCount+"px");u.addEvent(document.body,u.eventTypes.click,this.handleClickWhenMenuOpen)},t.prototype.closeMenuFromClick=function(n){this.form.contains(n)||this.hide()},t.prototype.reconstructMenu=function(n,t){var s=this,f,o,i,h,r,e;if(t===void 0&&(t=!1),this.suggestions=null,this.suggestionClickListeners=[],!t)for(this.ignoreNextDOMChange=!0,u.removeInnerHtml(this.menu),f=0,o=n;f<o.length;f++){i=o[f];switch(i.type){case"string":this.buildStringSuggestionHtml(i.value,i.attributes);break;case"product":this.buildProductSuggestionHtml(i.value,i.attributes)}}for(this.suggestions=u.nodeListToArray(this.menu.children),h=function(n){u.addEvent(r.suggestions[n],u.eventTypes.keydown,r.handleMenuKeydown);u.addEvent(r.suggestions[n],u.eventTypes.click,r.suggestionClickListeners[n]=function(){s.selectSuggestionFromClick(s.suggestions[n])})},r=this,e=0;e<this.suggestions.length;++e)h(e);return!!this.selectedSuggestion},t.prototype.addMenuStateAnnouncement=function(){this.ariaLiveRegion||(this.ariaLiveRegion=document.createElement("div"),u.addClass(this.ariaLiveRegion,"x-screen-reader"),this.ariaLiveRegion.setAttribute("aria-live","assertive"),this.input.parentNode.insertBefore(this.ariaLiveRegion,this.input.nextSibling),this.ignoreNextDOMChange=!0,this.menuOpenLocString=this.element.getAttribute("data-f-loc-menu-open")||t.menuOpenFallbackString)},t.prototype.highlight=function(n){var t=new RegExp(this.input.value,"ig");return n.replace(t,function(n){return"<b>"+n+"<\/b>"})},t.selector=".m-auto-suggest",t.typeName="AutoSuggest",t.menuOpenFallbackString="results are available, use up and down arrow keys to navigate.",t.defaultItemScrollCount=5,t.minimumItemScrollCount=2,t.ariaHidden="aria-hidden",t.ariaExpanded="aria-expanded",t.telemetryCtNonProduct="0",t.telemetryCtProduct="4",t}(r.Publisher);t.AutoSuggest=o}.apply(t,u),r!==undefined&&(n.exports=r))},backToTop:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("utility"),i("observableComponent")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return(i.toggleBackToTop=function(){var n=window.pageYOffset||document.body.scrollTop,t=u.getWindowHeight(),r=n>=2*t?"false":"true";i.element.setAttribute("aria-disabled",r)},!t)?i:(i.update(),i)}return i.__extends(t,n),t.prototype.update=function(){this.scrollThrottledEventHandler=r.addThrottledEvent(window,r.eventTypes.scroll,this.toggleBackToTop)},t.prototype.teardown=function(){r.removeEvent(window,r.eventTypes.scroll,this.scrollThrottledEventHandler)},t.selector=".m-back-to-top",t.typeName="BackToTop",t}(f.ObservableComponent);t.BackToTop=e}.apply(t,u),r!==undefined&&(n.exports=r))},breakpointTracker:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(){var i=n.call(this,null)||this;return i.onWindowResized=function(){var r=t.getWindowWidth(),n=t.identifyBreakpoint(r);i.breakpoint!==n&&(i.breakpoint=n,i.initiatePublish({breakpoint:n,width:r}))},i.windowWidth=t.getWindowWidth(),i.breakpoint=t.identifyBreakpoint(i.windowWidth),u.addDebouncedEvent(window,u.eventTypes.resize,i.onWindowResized),i}return i.__extends(t,n),t.getBreakpointTracker=function(){return document.body.breakpointTracker||(document.body.breakpointTracker=new t),document.body.breakpointTracker},t.prototype.getBreakpoint=function(){return this.breakpoint},t.identifyBreakpoint=function(n){f.isNumber(n)||(n=t.getWindowWidth());for(var i=t.breakpoints.length-1;i>=0;i--)if(n>=t.breakpoints[i])return i},t.getWindowWidth=function(){return window.innerWidth||document.documentElement.clientWidth},t.prototype.publish=function(n,t){if(n.onBreakpointChanged)n.onBreakpointChanged(t)},t.breakpoints=[0,540,768,1084,1400,1779],t}(r.Publisher);t.BreakpointTracker=e}.apply(t,u),r!==undefined&&(n.exports=r))},button:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.handleKeydown=function(n){var t=f.getKeyCode(n);switch(t){case 32:u.preventDefault(n);i.emitClickEvent()}},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){this.element&&this.element.nodeName==="A"&&(this.element.getAttribute("role")||"").toLowerCase()==="button"&&u.addEvent(this.element,u.eventTypes.keydown,this.handleKeydown)},t.prototype.teardown=function(){u.removeEvent(this.element,u.eventTypes.keydown,this.handleKeydown)},t.prototype.emitClickEvent=function(){u.customEvent(this.element,u.eventTypes.click)},t.selector=".c-button",t.typeName="Button",t}(r.ObservableComponent);t.Button=e}.apply(t,u),r!==undefined&&(n.exports=r))},"carousel-base":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("componentFactory"),i("publisher"),i("swipe"),i("stringExtensions"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f,e,o,s,h){Object.defineProperty(t,"__esModule",{value:!0});var c=function(n){function t(t,i){var u=n.call(this,t,i)||this;return(u.carouselElement=t,u.activeIndex=-1,u.onFlipperClicked=function(n){s.getEventTargetOrSrcElement(n)===u.previousButton?u.previousSlide():u.nextSlide()},u.swipeHandler=function(n){if(n.direction===e.SwipeDirection.Right||n.direction===e.SwipeDirection.Left){var t=n.direction===e.SwipeDirection.Right?u.direction===s.Direction.left:u.direction!==s.Direction.left;t&&u.isScrollableNext()?u.nextSlide():!t&&u.isScrollablePrevious()&&u.previousSlide()}},!r.ObservableComponent.shouldInitializeAsClass(t,i))?u:(u.direction=s.getDirection(),u.directionValue=s.Direction[u.direction],u.requestAnimationFrame=s.SafeBrowserApis.requestAnimationFrame,s.preventDefaultSwipeAction(u.element),u.requestAnimationFrame.call(window,function(){return u.update()}),u)}return i.__extends(t,n),t.prototype.update=function(){var n=this;return!this.carouselElement||!this.hasSlides()?!1:(this.requestAnimationFrame.call(window,function(){return n.setActiveSlide(n.getFirstActiveIndex(),!1)}),this.previousButton=s.selectFirstElement(t.previousButtonSelector,this.carouselElement),this.nextButton=s.selectFirstElement(t.nextButtonSelector,this.carouselElement),!this.previousButton||!this.nextButton||(s.addEvent(this.previousButton,s.eventTypes.click,this.onFlipperClicked),s.addEvent(this.nextButton,s.eventTypes.click,this.onFlipperClicked)),this.swipe=new e.Swipe([this.carouselElement],{end:this.swipeHandler},e.SwipeOrientation.Horizontal),!0)},t.prototype.teardown=function(){!this.previousButton||!this.nextButton||(s.removeEvent(this.previousButton,s.eventTypes.click,this.onFlipperClicked),s.removeEvent(this.nextButton,s.eventTypes.click,this.onFlipperClicked));this.swipe&&this.swipe.tearDown();this.slides=null;this.previousButton=null;this.nextButton=null},t.prototype.hasSlides=function(){return this.slides=this.getSlides(),!!this.slides&&!!this.slides.length},t.prototype.getCollectionItem=function(n){var t;return!n||!n.firstElementChild||u.ComponentFactory.enumerateComponents(n.firstElementChild,function(n,i){return i.onCollectionItemHidden&&i.onCollectionItemShown&&i.triggerItem&&(t=i),!t}),t},t.prototype.setActiveSlide=function(n,i){return(i===void 0&&(i=!0),!this.slides||!h.isNumber(n)||n<0||n>=this.slides.length||n===this.activeIndex)?!1:(this.activeIndex>=0&&this.activeIndex<this.slides.length&&s.removeClass(this.slides[this.activeIndex],t.activeClass),this.activeIndex=n,s.addClass(this.slides[n],t.activeClass),this.updateTheme(),this.updateFlippers(),!0)},t.prototype.updateTheme=function(){s.removeClasses(this.carouselElement,[t.themeDarkClass,t.themeLightClass]);var n=this.slides[this.activeIndex].getAttribute(t.slideThemeAttribute);o.isNullOrWhiteSpace(n)||s.addClass(this.carouselElement,t.themePrefix+n)},t.prototype.updateFlippers=function(){this.isScrollableNext()?s.addClass(this.carouselElement,t.nextFlipperClass):s.removeClass(this.carouselElement,t.nextFlipperClass);this.isScrollablePrevious()?s.addClass(this.carouselElement,t.previousFlipperClass):s.removeClass(this.carouselElement,t.previousFlipperClass)},t.prototype.publish=function(n,t){n.onSlideRangeChanged(t)},t.prototype.triggerSlide=function(){if(!this.slides||!this.slides.length||!(this.activeIndex>=0))return!1;var n=this.getCollectionItem(this.slides[this.activeIndex]);return n&&n.triggerItem()},t.selector=".c-carousel",t.activeClass="f-active",t.allChildSelectors=t.selector+" > * > ul > li",t.slideThemeAttribute="data-f-theme",t.themePrefix="theme-",t.previousFlipperClass="f-scrollable-previous",t.nextFlipperClass="f-scrollable-next",t.themeLightClass="theme-light",t.themeDarkClass="theme-dark",t.previousButtonSelector=".c-flipper.f-previous, .c-flipper.f-left",t.nextButtonSelector=".c-flipper.f-next, .c-flipper.f-right",t}(f.Publisher);t.CarouselBase=c}.apply(t,u),r!==undefined&&(n.exports=r))},channelPivot:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("componentFactory"),i("htmlExtensions"),i("observableComponent"),i("pivot")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(t){var i=n.call(this,t)||this;return i.channelPivotHeadingSelector=".c-cp-heading",i.channelPivotBackgroundSelector=".c-cp-background",i.themeDark="theme-dark",i.themeLight="theme-light",i.dataTheme="data-theme",i.ariaHidden="aria-hidden",i.update(),i}return i.__extends(t,n),t.prototype.update=function(){this.element&&(this.initializePivot(),this.initializePivotedElements())},t.prototype.teardown=function(){this.pivot.unsubscribe(this);this.pivot=null;this.pivotedElements=null},t.prototype.initializePivot=function(){var n=this,t=u.selectFirstElement(e.Pivot.selector,this.element);t&&r.ComponentFactory.create([{component:e.Pivot,elements:[t],callback:function(t){t&&t.length&&t[0]&&(n.pivot=t[0],n.pivot.subscribe(n))},eventToBind:"DOMContentLoaded"}])},t.prototype.initializePivotedElements=function(){this.pivotedElements=u.selectElements(this.channelPivotHeadingSelector,this.element);var n=u.selectElements(this.channelPivotBackgroundSelector,this.element);this.pivotedElements=this.pivotedElements.concat(n)},t.prototype.changeTheme=function(n){n&&(u.removeClasses(this.element,["theme-dark","theme-light"]),u.addClass(this.element,n))},t.prototype.onPivotChanged=function(n){for(var t,u=n.activePivotId.split(" "),i=0,r=this.pivotedElements;i<r.length;i++)t=r[i],u.indexOf(t.id)!==-1?(t.setAttribute(this.ariaHidden,"false"),this.changeTheme(t.getAttribute(this.dataTheme))):t.setAttribute(this.ariaHidden,"true")},t.selector=".m-channel-pivot",t}(f.ObservableComponent);t.ChannelPivot=o}.apply(t,u),r!==undefined&&(n.exports=r))},checkbox:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var r=n.call(this,i)||this;return r.updateCheckbox=function(){var n=r.input.checked;n!==r.checked&&(r.checked=n,r.input.setAttribute(t.ariaCheckedAttribute,r.checked.toString()),r.initiatePublish({checked:r.checked}))},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){(this.input=u.selectFirstElement(t.inputSelector,this.element),this.input)&&(this.input.getAttribute(t.indeterminateAttribute)===t.indeterminateValue&&(this.input.indeterminate=!0),this.checked=this.input.checked,this.input.setAttribute(t.ariaCheckedAttribute,this.checked.toString()),u.addEvent(this.input,u.eventTypes.click,this.updateCheckbox))},t.prototype.teardown=function(){u.removeEvent(this.input,u.eventTypes.click,this.updateCheckbox)},t.prototype.publish=function(n,t){n.onValueChanged(t)},Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this.input?this.input.indeterminate:!1},set:function(n){this.input&&(this.input.indeterminate=n)},enumerable:!0,configurable:!0}),t.selector=".c-checkbox",t.typeName="Checkbox",t.inputSelector='input[type="checkbox"]',t.indeterminateAttribute="data-js-checkbox",t.indeterminateValue="indeterminate",t.ariaCheckedAttribute="aria-checked",t}(r.Publisher);t.Checkbox=f}.apply(t,u),r!==undefined&&(n.exports=r))},choiceSummary:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var r=n.call(this,i)||this;return r.onDropdownClicked=function(n){u.preventDefault(n);r.toggleVisibility();r.choiceOptions&&r.choiceOptions.length>0&&r.choiceOptions[0].focus()},r.onNonDropdownClick=function(n){var t=u.getEventTargetOrSrcElement(n);r.isVisible||r.element.contains(t)||r.toggleVisibility()},r.replaceText=function(n){var i,f;r.checkedChoiceOption=n.target;i=r.checkedChoiceOption.parentNode;r.label=u.selectFirstElement(t.spanSelector,i);f=r.labelText+r.separator+" "+u.getText(r.label);u.setText(r.dropdownText,f)},r.toggleVisibility=function(){r.isVisible=!r.isVisible;r.dropdownMenu.setAttribute(t.ariaHidden,""+r.isVisible);r.dropdownMenu.setAttribute(t.ariaExpanded,""+!r.isVisible);r.dropdownButton.setAttribute(t.ariaExpanded,""+!r.isVisible);r.element.setAttribute(t.ariaExpanded,""+!r.isVisible)},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){var n,i,r;if(this.dropdownButton=u.selectFirstElement(t.dropdownButtonSelector,this.element),this.dropdownMenu=u.selectFirstElement(t.dropdownMenuSelector,this.element),this.dropdownText=u.selectFirstElement(t.separatorSpanSelector,this.element),this.separator=this.dropdownText.getAttribute(t.separatorSelector),this.labelText=u.getText(this.dropdownText),this.dropdownButton&&this.separator&&this.dropdownMenu&&this.dropdownText&&this.labelText)for(this.choiceOptions=u.selectElementsT(t.choiceOptionSelector,this.element),this.isVisible=this.dropdownMenu.getAttribute(t.ariaHidden)==="true",this.dropdownMenu.setAttribute(t.ariaExpanded,""+!this.isVisible),u.addEvent(this.dropdownButton,u.eventTypes.click,this.onDropdownClicked),u.addEvent(document,u.eventTypes.click,this.onNonDropdownClick),u.addEvent(this.choiceOptions,u.eventTypes.click,this.replaceText),n=0,i=this.choiceOptions;n<i.length;n++)if(r=i[n],r.checked){this.checkedChoiceOption=r;break}},t.prototype.teardown=function(){u.removeEvent(this.dropdownButton,u.eventTypes.click,this.onDropdownClicked);u.removeEvent(document,u.eventTypes.click,this.onNonDropdownClick);u.removeEvent(this.choiceOptions,u.eventTypes.click,this.replaceText)},t.selector=".c-choice-summary",t.typeName="ChoiceSummary",t.dropdownButtonSelector=".c-action-trigger.glyph-chevron-down",t.dropdownMenuSelector="ul",t.ariaHidden="aria-hidden",t.ariaLabel="aria-label",t.ariaExpanded="aria-expanded",t.separatorSpanSelector=".c-choice-summary > span",t.spanSelector="span",t.separatorSelector="data-js-separator",t.labelSelector="label",t.choiceOptionSelector='input[type="radio"]',t}(r.ObservableComponent);t.ChoiceSummary=f}.apply(t,u),r!==undefined&&(n.exports=r))},colorPicker:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var r=n.call(this,i)||this;return(r.onPickerMouseover=function(n){var i=u.getEventTargetOrSrcElement(n),f,o,s,e,h,c;if(i&&(r.currentActiveColor!==i&&(u.removeClass(r.currentActiveColor.parentElement,t.activeColorSelector),u.addClass(i.parentElement,t.activeColorSelector),r.currentActiveColor=i),r.initiatePublish({id:i.id,previousId:r.previouslyHoverId,currentActiveColor:r.currentActiveColor,dataImgHref:i.getAttribute(t.dataImgHref)}),r.previouslyHoverId=r.element.id,i.nodeName==="SPAN")){for(f=i,o=0;f&&f.nodeName!=="A"&&o<t.AncestorLookupMaxTimes;)f=f.parentElement,o++;if(!f||f.nodeName!=="A")return;s=i.getAttribute("data-href");s&&f.setAttribute("href",s);e=i.getAttribute("data-img-srcset");e&&(h=u.selectFirstElement(".c-channel-placement-image > picture > source",f),c=u.selectFirstElement(".c-channel-placement-image > picture > img",f),h.setAttribute("data-srcset",e),h.setAttribute("srcset",e),c.setAttribute("src",e),c.setAttribute("data-src",e))}},r.onPickerMouseout=function(){r.initiatePublish({id:null,previousId:r.previouslyHoverId,dataImgHref:null});r.previouslyHoverId=null},!i)?r:(r.update(),r)}return i.__extends(t,n),t.prototype.update=function(){var i,r,f,n;for(this.colorPickerElements=u.selectElements(t.colorPickerSelector,this.element),r=0,f=this.colorPickerElements;r<f.length;r++)n=f[r],u.addEvent(n,u.eventTypes.mouseover,this.onPickerMouseover),u.addEvent(n,u.eventTypes.mouseout,this.onPickerMouseout),u.hasClass(n.parentElement,t.activeColorSelector)&&(i?u.removeClass(n.parentElement,t.activeColorSelector):i=n);i||(u.addClass(this.colorPickerElements[0].parentElement,t.activeColorSelector),i=this.colorPickerElements[0]);this.currentActiveColor=i},t.prototype.teardown=function(){for(var i,n=0,t=this.colorPickerElements;n<t.length;n++)i=t[n],u.removeEvent(i,u.eventTypes.mouseover,this.onPickerMouseover),u.removeEvent(i,u.eventTypes.mouseout,this.onPickerMouseout);this.colorPickerElements=null},t.prototype.publish=function(n,t){n.onPickerHoverChanged&&n.onPickerHoverChanged(t)},t.selector=".m-color-picker",t.colorPickerSelector=".c-hyperlink.f-picker",t.activeColorSelector="f-active",t.dataImgHref="data-img-srcset",t.AncestorLookupMaxTimes=4,t}(r.Publisher);t.ColorPicker=f}.apply(t,u),r!==undefined&&(n.exports=r))},combo:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility"),i("stringExtensions")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(i){var r=n.call(this,i)||this;return r.isFirstFocus=!0,r.isCombobox=!1,r.maxDisplayedItems=t.defaultMaxDisplayedItems,r.usesAccessibleHtmlShape=!1,r.handleOnInputEvent=function(){e.isNullOrWhiteSpace(r.input.value)&&(r.isMenuVisible()||r.input.setAttribute(t.ariaActiveDescendant,""),r.hideMenu())},r.handleInputKeydownEvent=function(n){var t=f.getKeyCode(n);(t===13||t===40||t===38&&r.isMenuVisible())&&u.preventDefault(n);r.handleInputKeydown(t)},r.handleInputKeyupEvent=function(n){r.handleInputKeyup(f.getKeyCode(n))},r.handleFocusInEvent=function(){r.isFirstFocus&&(r.input.value&&r.input.setSelectionRange(0,r.input.value.length),r.isFirstFocus=!1)},r.handleFocusOutEvent=function(){r.isFirstFocus=!0},r.handleInputOrButtonClickEvent=function(n){u.preventDefault(n);r.handleInputOrButtonClick()},r.handleMenuClickEvent=function(n){r.handleMenuClick(u.getEventTargetOrSrcElement(n))},r.handleOffMenuClick=function(n){r.element.contains(u.getEventTargetOrSrcElement(n))||r.hideMenu()},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){var n,i,r;if(this.element){if(this.comboBoxElement=u.selectFirstElement('input[role="combobox"]',this.element),this.input=u.selectFirstElementT("input",this.element),this.button=u.selectFirstElement("button",this.element),this.menu=u.selectFirstElement("ul",this.element),this.matchedElement=null,this.listItems=u.selectElements("span, a",this.menu),this.listItems===null||this.listItems.length===0)for(this.listItems=u.selectElements('li[role="option"], a',this.menu),this.usesAccessibleHtmlShape=!0,n=0,i=this.listItems;n<i.length;n++)r=i[n],r.getAttribute("id")||r.setAttribute("id","item-"+ ++t._uniqueId);(this.comboBoxElement?this.element.getAttribute("data-v3")?(this.isCombobox=!0,this.comboBoxElement=this.element):(this.isCombobox=!0,this.comboBoxElement=this.menu):this.element.getAttribute(t.role)==="combobox"&&(this.isCombobox=!0,this.comboBoxElement=this.element,this.input.setAttribute("role","combobox"),this.element.setAttribute("role","")),this.addMenuStateAnnouncement(),this.input&&this.button&&this.menu&&!(this.listItems.length<1))&&(this.activeValue=this.input.value,this.activeItem=this.usesAccessibleHtmlShape?u.selectFirstElement("li."+t.activeClassName,this.menu):u.selectFirstElement("span[class='"+t.activeClassName+"']",this.menu),u.addEvent(this.input,u.eventTypes.keydown,this.handleInputKeydownEvent,!0),u.addEvent(this.comboBoxElement,u.eventTypes.focusout,this.handleFocusOutEvent,!1),u.addEvent(this.comboBoxElement,u.eventTypes.focusin,this.handleFocusInEvent,!1),u.addEvent(this.input,u.eventTypes.keyup,this.handleInputKeyupEvent,!0),u.addEvent(this.input,u.eventTypes.click,this.handleInputOrButtonClickEvent,!0),u.addEvent(this.input,u.eventTypes.input,this.handleOnInputEvent,!0),u.addEvent(this.button,u.eventTypes.click,this.handleInputOrButtonClickEvent,!0),u.addEvent(this.listItems,u.eventTypes.click,this.handleMenuClickEvent,!0),this.activeItem&&this.setActiveItemAndHideMenu(this.activeItem,!1))}},t.prototype.teardown=function(){u.removeEvent(this.input,u.eventTypes.keydown,this.handleInputKeydownEvent,!0);u.removeEvent(this.input,u.eventTypes.keyup,this.handleInputKeyupEvent,!0);u.removeEvent(this.input,u.eventTypes.click,this.handleInputOrButtonClickEvent,!0);u.removeEvent(this.button,u.eventTypes.click,this.handleInputOrButtonClickEvent,!0);u.removeEvent(this.listItems,u.eventTypes.click,this.handleMenuClickEvent,!0);u.removeEvent(this.comboBoxElement,u.eventTypes.focusout,this.handleFocusOutEvent,!1);u.removeEvent(this.comboBoxElement,u.eventTypes.focusin,this.handleFocusInEvent,!1);this.input=null;this.button=null;this.menu=null;this.listItems=null;this.activeItem=null},t.prototype.publish=function(n,t){n.onSelectionChanged(t)},t.prototype.onSelectionChanged=function(n,t){n===void 0&&(n=!0);t===void 0&&(t=!0);var i=this.getValue();this.initiatePublish({id:i.id,value:i.value,internal:n,userInitiated:t})},t.prototype.getValue=function(){return{id:!!this.activeItem&&!!this.activeItem.parentElement?this.usesAccessibleHtmlShape?this.activeItem.id:this.activeItem.parentElement.id:"",value:this.input.value,internal:!1,userInitiated:!1}},t.prototype.showMenu=function(n){var r,f,i,t;if((n===void 0&&(n=!1),!this.isMenuVisible())&&(r=this.input.value,n||!e.isNullOrWhiteSpace(r))){if(this.setMenuAriaAttributes(!0),f=this.listItems.length,f>this.maxDisplayedItems){for(i=0,t=0;t<this.maxDisplayedItems;t++)i+=this.listItems[t].offsetHeight;this.menu.style.maxHeight=i+"px"}u.addEvent(document.body,u.eventTypes.click,this.handleOffMenuClick);this.matchItem()}},t.prototype.hideMenu=function(){this.isMenuVisible()&&(this.setMenuAriaAttributes(!1),this.activeItem&&this.activeItem.setAttribute(t.ariaSelected,"false"),this.usesAccessibleHtmlShape&&this.input.setAttribute(t.ariaActiveDescendant,""),u.removeClass(this.activeItem,t.activeClassName),this.matchedElement=null,u.removeEvent(document.body,u.eventTypes.click,this.handleOffMenuClick))},t.prototype.setMenuAriaAttributes=function(n){this.isCombobox?this.comboBoxElement.setAttribute(t.ariaExpanded,n.toString()):this.menu.setAttribute(t.ariaHidden,(!n).toString());n&&this.ariaLiveRegion?u.setText(this.ariaLiveRegion,this.menuOpenLocString):u.setText(this.ariaLiveRegion,"")},t.prototype.addMenuStateAnnouncement=function(){this.ariaLiveRegion||(this.ariaLiveRegion=document.createElement("div"),u.addClass(this.ariaLiveRegion,"x-screen-reader"),this.ariaLiveRegion.setAttribute("aria-live","assertive"),this.input.parentNode.insertBefore(this.ariaLiveRegion,this.input.nextSibling),this.ignoreNextDOMChange=!0,this.menuOpenLocString=this.element.getAttribute("data-f-loc-menu-open")||t.menuOpenFallbackString)},t.prototype.isMenuVisible=function(){return this.isCombobox?this.comboBoxElement.getAttribute(t.ariaExpanded)==="true":this.menu.getAttribute(t.ariaHidden)==="false"},t.prototype.setActiveItemAndHideMenu=function(n,t){t===void 0&&(t=!0);!n||(this.setActiveItem(n),this.input.value=this.activeValue=this.getActiveText(),this.hideMenu(),t&&this.input.focus(),this.onSelectionChanged())},t.prototype.setActiveItem=function(n,i){i===void 0&&(i=!0);this.activeItem&&(u.removeClass(this.activeItem,t.activeClassName),this.activeItem.setAttribute(t.ariaSelected,"false"),this.input.setAttribute(t.ariaActiveDescendant,""));this.activeItem=n;i&&(u.addClass(this.activeItem,t.activeClassName),this.activeItem.setAttribute(t.ariaSelected,"true"),this.input.setAttribute(t.ariaActiveDescendant,this.activeItem.id))},t.prototype.getActiveText=function(){return this.activeItem?u.getText(this.activeItem):""},t.prototype.matchItem=function(n){var r,t,i,f,h,o,c,s;if(n===void 0&&(n=!1),r=this.input.value,i=0,!e.isNullOrWhiteSpace(r))for(r=e.trim(r).toLocaleLowerCase(),f=0,h=this.listItems;f<h.length;f++)if(o=h[f],c=u.getText(o).toLocaleLowerCase(),r===c){t=o;i=-1;break}else s=e.getMatchLength(c,r,!1),s>0&&(i===0||s>i)&&(t=o,i=s);t?this.matchedElement=t:t=this.listItems[0];(n||i===-1)&&this.setActiveItem(t,n||i===-1);u.scrollElementIntoView(t,this.menu)},t.prototype.handleInputKeydown=function(n){var f,e,r,i;this.activeValue=this.input.value;switch(n){case 9:case 13:f=this.getActiveText();this.activeValue!==f&&(u.hasClass(this.activeItem,t.activeClassName)&&(this.activeValue=this.input.value=f),this.onSelectionChanged());this.hideMenu();break;case 40:this.isMenuVisible()?this.activeItem?(i=this.listItems.indexOf(this.activeItem),e=this.getNextItemIndex(i),this.setActiveItem(this.listItems[e]),u.scrollElementIntoView(this.listItems[e],this.menu),this.input.focus()):this.matchItem(!0):this.showMenu(!0);break;case 38:this.isMenuVisible()&&(r=this.listItems.length-1,this.activeItem&&(i=this.listItems.indexOf(this.activeItem),r=this.getPreviousItemIndex(i)),this.setActiveItem(this.listItems[r]),u.scrollElementIntoView(this.listItems[r],this.menu),this.input.focus());break;case 27:this.hideMenu()}},t.prototype.handleInputKeyup=function(){e.isNullOrWhiteSpace(this.input.value)||this.input.value===this.activeValue||(this.setActiveItem(null,!1),this.showMenu(!0),this.matchItem())},t.prototype.handleInputOrButtonClick=function(){this.isMenuVisible()?this.hideMenu():this.showMenu(!0);this.input.focus()},t.prototype.handleMenuClick=function(n){this.setActiveItemAndHideMenu(n)},t.prototype.getNextItemIndex=function(n){return(n+1)%this.listItems.length},t.prototype.getPreviousItemIndex=function(n){return--n>0?n:this.listItems.length-1},t.selector=".c-combo",t._uniqueId=0,t.typeName="Combo",t.menuOpenFallbackString="results are available, use up and down arrow keys to navigate.",t.ariaHidden="aria-hidden",t.ariaExpanded="aria-expanded",t.ariaSelected="aria-selected",t.ariaActiveDescendant="aria-activedescendant",t.role="role",t.activeClassName="active",t.defaultMaxDisplayedItems=5,t}(r.Publisher);t.Combo=o}.apply(t,u),r!==undefined&&(n.exports=r))},compareChart:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return(i.maxRows=0,i.checkPollingCriteria=function(){var n=i.checkForDeferredContent(),t=i.setRowHeightsAcrossAllColumns();return!n&&t},i.recalculate=function(){f.poll(i.checkPollingCriteria,250,-1)},!t)?i:(i.update(),i)}return i.__extends(t,n),t.prototype.update=function(){return this.cachedDisplayValue=u.css(this.element,"display"),this.columns=u.selectElements(".f-column",this.element),this.maxRows=this.getMaxRowsFromAllColumns(),this.allRows=u.selectElements(".f-row",this.element),this.images=u.selectElementsT("img",this.element),this.recalculate(),this.resizeEventListener=u.addDebouncedEvent(window,u.eventTypes.resize,this.recalculate,50),!0},t.prototype.teardown=function(){this.columns=null;this.maxRows=0;this.allRows=null;this.columnRows=null;this.images=null;u.removeEvent(window,u.eventTypes.resize,this.resizeEventListener)},t.prototype.getMaxRowsFromAllColumns=function(){var t=0,n,i,f,r;for(this.columnRows=[],n=0,i=this.columns;n<i.length;n++)f=i[n],r=u.selectElements(".f-row",f),t=Math.max(t,r.length),this.columnRows.push(r);return t},t.prototype.setRowHeightsAcrossAllColumns=function(){var e=!1,o=[],t,i,s,r,n,f;for(this.displayCompareChart(!1),t=0,i=this.allRows;t<i.length;t++)s=i[t],u.css(s,"height","auto");for(this.displayCompareChart(),n=0;n<this.maxRows;n++)r=this.getMaxRowHeight(n),r===0&&(e=!0),o.push(r);for(this.displayCompareChart(!1),n=0;n<this.maxRows;n++)for(f in this.columns)this.columnRows[f][n]!==undefined&&u.css(this.columnRows[f][n],"height",o[n].toString()+"px");return this.displayCompareChart(),!e},t.prototype.getMaxRowHeight=function(n){var t=0;for(var i in this.columns)this.columnRows[i][n]!==undefined&&(t=Math.max(f.getDimensions(this.columnRows[i][n]).height,t));return t},t.prototype.checkForDeferredContent=function(){for(var i,n=0,t=this.images;n<t.length;n++)if(i=t[n],i.height<2)return!0;return!1},t.prototype.displayCompareChart=function(n){n===void 0&&(n=!0);u.css(this.element,"display",n?this.cachedDisplayValue:"none")},t.selector=".c-compare-chart, .m-compare-chart",t.typeName="CompareChart",t}(r.ObservableComponent);t.CompareChart=e}.apply(t,u),r!==undefined&&(n.exports=r))},"component-auto-initializer":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("componentFactory"),i("actionBar"),i("actionMenu"),i("actionToggle"),i("ambientVideo"),i("alert"),i("button"),i("backToTop"),i("checkbox"),i("choiceSummary"),i("colorPicker"),i("combo"),i("compareChart"),i("contentPlacementItem"),i("contentToggle"),i("dateTimePicker"),i("deviceActions"),i("dialog"),i("drawer"),i("expansionPanel"),i("feedHeroItem"),i("file"),i("flyout"),i("heroItem"),i("immersiveHeroItem"),i("inPageNavigation"),i("mosaicPlacement"),i("multiFeature"),i("multiHero"),i("multiHeroItem"),i("multi-slide-carousel"),i("navigationMenu"),i("navigationBar"),i("pageBar"),i("pageBehaviors"),i("pagination"),i("parallax"),i("persona"),i("pivot"),i("channelPivot"),i("productPlacement"),i("productPlacementItem"),i("rangeSlider"),i("rating"),i("refineMenu"),i("select"),i("selectButton"),i("selectMenu"),i("sequenceIndicator"),i("single-slide-carousel"),i("slider"),i("social"),i("splitReveal"),i("sticky"),i("supplementalNavigation"),i("table"),i("toggle"),i("tooltip"),i("video"),i("videoTrigger"),i("mwf.main")],r=function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai,vi,yi,pi,wi,bi,ki,di,gi,nr){Object.defineProperty(t,"__esModule",{value:!0});i.__exportStar(nr,t);var tr=function(){function n(){}return n.initializeAll=function(n){r.ComponentFactory.create([{context:n,c:wt.PageBehaviors,selector:"body"},{context:n,c:u.ActionBar},{context:n,c:f.ActionMenu},{context:n,c:e.ActionToggle},{context:n,c:s.Alert,selector:".c-alert, .m-alert"},{context:n,c:o.AmbientVideo},{context:n,c:c.BackToTop,selector:".c-back-to-top, .m-back-to-top"},{context:n,c:h.Button},{context:n,c:ni.ChannelPivot},{context:n,c:l.Checkbox},{context:n,c:a.ChoiceSummary},{context:n,c:v.ColorPicker},{context:n,c:y.Combo},{context:n,c:p.CompareChart,selector:".c-compare-chart, .m-compare-chart"},{context:n,c:w.ContentPlacementItem,selector:".m-content-placement-item"},{context:n,c:b.ContentToggle,eventToBind:"DOMContentLoaded"},{context:n,c:k.DateTimePicker},{context:n,c:d.DeviceActions},{context:n,c:g.Dialog},{context:n,c:nt.Drawer},{context:n,c:tt.ExpansionPanel},{context:n,c:it.FeedHeroItem},{context:n,c:rt.File},{context:n,c:ut.Flyout},{context:n,c:ft.HeroItem,selector:".c-hero, .m-hero-item"},{context:n,c:et.ImmersiveHeroItem},{context:n,c:ot.InPageNavigation,selector:".c-in-page-navigation, .m-in-page-navigation"},{context:n,c:st.MosaicPlacement},{context:n,c:ht.MultiFeature},{context:n,c:ct.MultiHero},{context:n,c:lt.MultiHeroItem},{context:n,c:at.MultiSlideCarousel},{context:n,c:vt.NavigationMenu},{context:n,c:yt.NavigationBar},{context:n,c:pt.PageBar},{context:n,c:bt.Pagination,selector:".c-pagination, .m-pagination"},{context:n,c:kt.Parallax},{context:n,c:dt.Persona},{context:n,c:gt.Pivot},{context:n,c:ti.ProductPlacement},{context:n,c:ii.ProductPlacementItem},{context:n,c:ri.RangeSlider},{context:n,c:ui.Rating},{context:n,c:fi.RefineMenu},{context:n,c:ei.Select},{context:n,c:oi.SelectButton},{context:n,c:si.SelectMenu,selector:".c-select-menu, .c-select-menu .c-menu-item.f-sub-menu"},{context:n,c:hi.SequenceIndicator,selector:".c-sequence-indicator"},{context:n,c:ci.SingleSlideCarousel},{context:n,c:li.Slider},{context:n,c:ai.Social,selector:".c-social, .m-social"},{context:n,c:vi.SplitReveal},{context:n,c:yi.Sticky},{context:n,c:pi.SupplementalNavigation,selector:".c-supplemental-nav, .m-supplemental-nav"},{context:n,c:wi.Table},{context:n,c:bi.Toggle},{context:n,c:ki.Tooltip},{context:n,c:di.Video,eventToBind:"DOMContentLoaded"},{context:n,c:gi.VideoTrigger}])},n}();t.ComponentAutoInitializer=tr,function(){tr.initializeAll()}()}.apply(t,u),r!==undefined&&(n.exports=r))},componentFactory:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions"),i("utility"),i("stringExtensions"),i("pageBehaviors")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(){}return n.create=function(t){for(var i,r=0,u=t;r<u.length;r++){if(i=u[r],!i.c&&!i.component)throw"factoryInput should has either component or c to tell the factory what component to create.Eg.ComponentFactory.create([{ c: Carousel] or ComponentFactory.create([component: Carousel]))";n.createComponent(i.component||i.c,i)}},n.createComponent=function(t,r){if(t){var o=r&&r.eventToBind?r.eventToBind:"",f=r&&r.selector?r.selector:t.selector,s=r&&r.context?r.context:null,u=[],e=function(n,f,e){var a,c,l,o,h;for(a=r.elements?r.elements:f?i.selectElementsT(f,s):[document.body],c=0,l=a;c<l.length;c++)o=l[c],o?(o.mwfInstances||(o.mwfInstances={}),o.mwfInstances[n]?u.push(o.mwfInstances[n]):(h=new t(o,e),(!h.isObserving||h.isObserving())&&(o.mwfInstances[n]=h,u.push(h)))):console.error("The elements array in ComponentFactory.create() cannnot have a null element in it")};switch(o){case"DOMContentLoaded":if(n.onDomReadyHappened)n.callBindFunction(t,f,e,r,u);else{n.domReadyFunctions.push(function(){return n.callBindFunction(t,f,e,r,u)});break}break;case"load":default:if(n.onDeferredHappened)n.callBindFunction(t,f,e,r,u);else{n.deferredFunctions.push(function(){return n.callBindFunction(t,f,e,r,u)});break}}}},n.callBindFunction=function(t,i,u,f,e){f===void 0&&(f=null);var o=n.getTypeName(t),s=o||i||"",h=f&&f.params?f.params:{};h.mwfClass=o;r.createPerfMarker(s+"_Begin");u(o,i,h);r.createPerfMarker(s+"_End");f&&f.callback&&f.callback(e)},n.getTypeName=function(t){if(t.typeName)return t.typeName;if(t.name)return t.name;var i=n.typeNameRegEx.exec(t.toString());if(i&&i.length>1)return i[1]},n.enumerateComponents=function(n,t){var i,r,u;if(n&&t){i=n.mwfInstances;for(r in i)if(i.hasOwnProperty(r)&&(u=i[r],u&&!t(r,u)))break}},n.detach=function(n,t){var i=n,r;i&&i.mwfInstances&&!u.isNullOrWhiteSpace(t)&&i.mwfInstances.hasOwnProperty(t)&&(r=i.mwfInstances[t],i.mwfInstances[t]=null,r&&r.detach&&r.detach())},n.typeNameRegEx=/function\s+(\S+)\s*\(/,n.onLoadTimeoutMs=6e3,n.onDeferredHappened=!1,n.deferredFunctions=[],n.onDomReadyHappened=!1,n.domReadyFunctions=[],n}();t.ComponentFactory=e,function(){i.onDeferred(function(){var n,t,r,u;if(e.onDeferredHappened=!0,n=e.deferredFunctions,!n||n.length>0)for(t=0,r=n;t<r.length;t++)u=r[t],typeof u=="function"&&i.SafeBrowserApis.requestAnimationFrame.call(window,u);e.deferredFunctions=null},e.onLoadTimeoutMs);i.documentReady(function(){var n,t,r,u;if(e.onDomReadyHappened=!0,n=e.domReadyFunctions,!n||n.length>0)for(t=0,r=n;t<r.length;t++)u=r[t],typeof u=="function"&&i.SafeBrowserApis.requestAnimationFrame.call(window,u);e.domReadyFunctions=null},e.onLoadTimeoutMs);new f.PageBehaviors}()}.apply(t,u),r!==undefined&&(n.exports=r))},contentPlacementItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.contentPlacementItemElement=t,r}return i.__extends(t,n),t.selector=".m-content-placement-item",t.typeName="ContentPlacementItem",t.callToActionSelector="a",t}(r.HeroItemBase);t.ContentPlacementItem=u}.apply(t,u),r!==undefined&&(n.exports=r))},contentToggle:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("stringExtensions")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.isList=!1,i.maxOpenHeight="",i.lineHeight=0,i.clickHandler=function(){i.toggleContent()},i.onResized=function(){i.render()},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){if(this.element&&(this.target=u.selectFirstElement(t.targetSelector,this.element),this.target||(this.target=u.selectFirstElement("p",this.element)),this.trigger=u.selectFirstElement("button",this.element),this.target&&this.trigger)){var n=parseInt(this.trigger.getAttribute(t.dataShowAttribute),10),i=parseInt(this.trigger.getAttribute(t.dataMaxListShowAttribute),10);this.showLines=isNaN(n)||n<0?t.defaultShow:n;this.maxListShow=isNaN(i)||i<=0?t.defaultMaxListShow:i;this.moreString=this.trigger.getAttribute(t.dataMoreAttributeValue);this.lessString=this.trigger.getAttribute(t.dataLessAttributeValue);this.moreAriaLabelString=this.trigger.getAttribute(t.dataMoreLabelAttributeValue);this.lessAriaLabelString=this.trigger.getAttribute(t.datalessLabelAttributeValue);this.element.removeAttribute(t.showOnInit);this.triggerDisplayStyle=u.css(this.trigger,"display");this.render();u.addEvent(this.trigger,u.eventTypes.click,this.clickHandler);this.resizeThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.resize,this.onResized)}},t.prototype.teardown=function(){u.removeEvent(this.trigger,u.eventTypes.click,this.clickHandler);u.removeEvent(window,u.eventTypes.resize,this.resizeThrottledEventHandler);this.target=null;this.trigger=null;this.showLines=t.defaultShow;this.maxListShow=t.defaultMaxListShow;this.isList=!1;this.lineHeight=0;this.maxOpenHeight=""},t.prototype.toggleContent=function(n){var i;n===void 0&&(n=!(this.target.getAttribute(t.dataExpanded)==="true"));this.target.setAttribute(t.dataExpanded,n.toString());u.setText(this.trigger,n?this.lessString:this.moreString);n?(this.trigger.setAttribute(t.AriaExpandedAttribute,"true"),this.lessAriaLabelString?(i=f.format(this.lessAriaLabelString,this.lessString),this.trigger.setAttribute(t.AriaLabelAttribute,i)):this.trigger.setAttribute(t.AriaLabelAttribute,this.lessString),this.target.setAttribute(t.AriaHiddenAttribute,"false"),u.css(this.target,"max-height",this.maxOpenHeight)):(this.trigger.setAttribute(t.AriaExpandedAttribute,"false"),this.moreAriaLabelString?(i=f.format(this.moreAriaLabelString,this.moreString),this.trigger.setAttribute(t.AriaLabelAttribute,i)):this.trigger.setAttribute(t.AriaLabelAttribute,this.moreString),this.showLines===0&&this.target.setAttribute(t.AriaHiddenAttribute,"true"),u.css(this.target,"max-height",this.lineHeight*this.showLines+"px"))},t.prototype.noToggle=function(){u.css(this.target,"max-height","");var n=u.getClientRect(this.target),t=(parseInt(u.css(this.target,"padding-top"),10)||0)+(parseInt(u.css(this.target,"padding-bottom"),10)||0);return this.lineHeight===0&&this.calculateLineHeight(),this.lineHeight===0?!0:n.height-t<=this.lineHeight*this.showLines},t.prototype.calculateLineHeight=function(){var n,i,t;if(!this.target){this.lineHeight=0;return}if(n=0,this.target.nodeName==="UL"||this.target.nodeName==="OL"){if(this.isList=!0,!this.target.firstElementChild){this.lineHeight=0;return}i=this.target.children[this.target.children.length-1];n=this.target.offsetHeight;this.target.removeChild(i);n-=this.target.offsetHeight;this.target.appendChild(i);this.maxOpenHeight=n*this.maxListShow+"px"}else t=this.target.cloneNode(),t.innerHTML="<br>",this.target.appendChild(t),n=t.offsetHeight,t.innerHTML="<br><br>",n=t.offsetHeight-n,this.target.removeChild(t);this.ignoreNextDOMChange=!0;this.lineHeight=n},t.prototype.render=function(){if(this.noToggle()){u.css(this.trigger,"display","none");return}this.triggerDisplayStyle==="none"&&(this.triggerDisplayStyle="inline-block");u.css(this.trigger,"display",this.triggerDisplayStyle);this.toggleContent(this.target.getAttribute(t.dataExpanded)==="true")},t.prototype.show=function(){this.lineHeight=0;this.render()},t.selector=".c-content-toggle",t.typeName="ContentToggle",t.dataExpanded="data-f-expanded",t.targetSelector="[data-f-expanded]",t.dataMoreAttributeValue="data-f-more",t.dataLessAttributeValue="data-f-less",t.dataMoreLabelAttributeValue="data-f-morelabel",t.datalessLabelAttributeValue="data-f-lesslabel",t.dataShowAttribute="data-f-show",t.showOnInit="data-f-showOnInit",t.dataMaxListShowAttribute="data-f-max-list-show",t.AriaLabelAttribute="aria-label",t.AriaHiddenAttribute="aria-hidden",t.AriaExpandedAttribute="aria-expanded",t.defaultShow=3,t.defaultMaxListShow=10,t}(r.ObservableComponent);t.ContentToggle=e}.apply(t,u),r!==undefined&&(n.exports=r))},dateTimePicker:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("stringExtensions"),i("utility"),i("publisher"),i("swipe")],r=function(n,t,i,r,u,f,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(i){var e=n.call(this,i)||this;return e.days=[0,31,28,31,30,31,30,31,31,30,31,30,31],e.amPmSelection=["AM","PM"],e.numberOfElementsThatAppearInColumn=5,e.pickerIsOpen=!1,e.pendingDayRecalc=!1,e.handleKeyDown=function(n){var o,s,i,h,u;if(n=r.getEvent(n),o=f.getKeyCode(n),s=r.getEventTargetOrSrcElement(n),!e.pickerIsOpen){o===13&&(r.preventDefault(n),e.openPicker(s));return}switch(o){case 13:r.preventDefault(n);s!==e.cancelButton&&e.updatePicker();e.closePicker();break;case 27:e.closePicker();break;case 37:if(!e.activeColumn||document.activeElement===e.applyButton||document.activeElement===e.cancelButton)break;if(h=e.activeColumn.previousElementSibling,!h)break;r.preventDefault(n);e.setFocus(h);break;case 39:if(!e.activeColumn||document.activeElement===e.applyButton||document.activeElement===e.cancelButton)break;if(i=e.activeColumn.nextElementSibling,!i)break;r.preventDefault(n);e.setFocus(i);break;case 38:r.preventDefault(n);e.activeColumn&&document.activeElement!==e.applyButton&&document.activeElement!==e.cancelButton&&e.scrollColumn(e.activeColumn,t.scrollUpValue);break;case 40:r.preventDefault(n);e.activeColumn&&document.activeElement!==e.applyButton&&document.activeElement!==e.cancelButton&&e.scrollColumn(e.activeColumn,t.scrollDownValue);break;case 9:document.activeElement===e.applyButton||document.activeElement===e.cancelButton?(u=void 0,document.activeElement!==e.cancelButton||n.shiftKey||(u=e.firstCycleColumn),document.activeElement===e.applyButton&&n.shiftKey&&(u=e.lastCycleColumn),!u||(r.preventDefault(n),e.setFocus(u))):(i=n.shiftKey?e.activeColumn.previousElementSibling:e.activeColumn.nextElementSibling,i=i&&i.nextElementSibling&&!r.hasClass(i.nextElementSibling,"glyph-accept")?i:null,i?e.activeColumn=i:(r.preventDefault(n),n.shiftKey?e.cancelButton.focus():e.applyButton.focus()))}},e.handleMouseClick=function(n){var i=r.getEventTargetOrSrcElement(n),u;if(e.lastClickedElement=i,!e.pickerIsOpen){e.columnTriggerButtons.indexOf(i)===-1&&(i=e.columnTriggerButtons[0]);e.openPicker(i);return}if(i.nodeName==="LI"){if(!i.parentElement||!i.parentElement.parentElement)return;var f=i.parentElement.parentElement,o=f.getAttribute(t.dateTimePickerDataAttribute),s=i.getAttribute(t.ariaLabel);o==="ampm"?e.selectAmPm(s):(u=i.parentElement,e.buildSelector(u,o,s),e.recalculateDaysInMonth(u),e.setFocus(f))}},e.handleOutsideClick=function(n){var t=r.getEventTargetOrSrcElement(n);r.isDescendant(e.element,t)||e.lastClickedElement===t||(e.updatePicker(),e.closePicker())},e.handleApplyClicked=function(n){n=r.getEvent(n);r.stopPropagation(n);e.updatePicker();e.closePicker()},e.handleCancelClicked=function(n){n=r.getEvent(n);r.stopPropagation(n);e.closePicker()},e.handleScrollButtons=function(n){n=r.getEvent(n);r.stopPropagation(n);var i=r.getEventTargetOrSrcElement(n),f=i.parentElement,u=i.getAttribute(t.dateTimePickerDataAttribute);if(n.type==="mouseenter"){e.scrollDelay=setTimeout(function(){e.scrollInterval=null;clearTimeout(e.scrollDelay);e.scrollDelay=null;e.scrollInterval=setInterval(function(){e.scrollColumn(f,u)},300)},150);return}if(n.type==="mouseleave"){clearTimeout(e.scrollDelay);clearInterval(e.scrollInterval);e.scrollInterval=null;e.recalculateDaysInMonth(i);return}u!==null&&e.scrollColumn(f,u)},e.handleMouseScroll=function(n){n=r.getEvent(n);r.preventDefault(n);var i=n.deltaY||n.wheelDelta||-n.detail,u=i>=0?t.scrollDownValue:t.scrollUpValue;e.scrollColumn(n.currentTarget,u)},e.scrollColumn=function(n,i){if(n!==null){e.ignoreNextDOMChange=!0;var s=r.selectFirstElement("ul li",n),f=r.selectFirstElement("ul",n),u,o=n.getAttribute(t.dateTimePickerDataAttribute);if(o==="ampm"){i===t.scrollUpValue?e.selectAmPm(e.amPmSelection[0]):i===t.scrollDownValue&&e.selectAmPm(e.amPmSelection[1]);return}i===t.scrollUpValue?(u=e.newContent(n,"up"),e.prependChildren(s,u[2]),e.isLastInList(f,u[0],"up",u[1]),e.removeChildren(n,"bottom")):i===t.scrollDownValue&&(e.removeChildren(n,"top"),u=e.newContent(n,"down"),e.appendChildren(f,u[2]),e.isLastInList(f,u[0],"down",u[1]));(o==="month"||o==="year")&&(e.pendingDayRecalc||(e.pendingDayRecalc=!0,setTimeout(function(){e.pendingDayRecalc=!1;e.recalculateDaysInMonth(e.monthColumn)},0)))}},e.buildSelector=function(n,t,i){var u,f;r.removeInnerHtml(n);u=i===null?e.getDateTimePickerElement(t).getAttribute(e.activeValueStorage):i;switch(t){case"month":f=e.months.indexOf(u);e.buildNodes(f,n,12,!0,!1);break;case"day":e.recalculateDaysInMonth(e.monthColumn,parseInt(u,10));break;case"year":e.buildNodes(parseInt(u,10),n,0,!1,!0);break;case"hour":e.buildNodes(parseInt(u,10),n,12,!1,!1);break;case"minute":case"minute24":e.buildNodes(parseInt(u,10),n,60,!1,!0);break;case"ampm":e.buildAmPm(n);break;case"hour24":e.buildNodes(parseInt(u,10),n,24,!1,!0)}},e.buildNodes=function(n,i,u,f,o){var a=o?u-1:u,s,h,c,l;for(e.ignoreNextDOMChange=!0,s=n-e.numberOfElementsThatAppearInColumn;s<n+e.numberOfElementsThatAppearInColumn+1;s++)h=void 0,s===0&&o||s===u&&o?h=0:(c=s<1?1:s>u?-1:0,h=s+u*c),l=f?e.monthInfo[h].name:h.toString(),e.appendChildren(i,l),s===n?(i.lastElementChild.setAttribute(t.ariaSelected,"true"),i.lastElementChild.setAttribute("tabindex","0")):i.lastElementChild.setAttribute(t.ariaSelected,"false"),i.lastElementChild.setAttribute("role","option"),a===h&&r.addClass(i.lastElementChild,"f-js-last")},e.appendChildren=function(n,t){e.insertChildren(n,t,!0)},e.prependChildren=function(n,t){e.insertChildren(n,t,!1)},e.insertChildren=function(n,i,r){var u=document.createElement("li");u.appendChild(document.createTextNode(i));u.setAttribute(t.ariaLabel,i);r?n.appendChild(u):n.parentElement.insertBefore(u,n)},e.buildAmPm=function(n){e.appendChildren(n,e.amPmSelection[0]);n.lastElementChild.setAttribute(t.ariaSelected,"true");n.lastElementChild.setAttribute("tabindex","0");e.appendChildren(n,e.amPmSelection[1])},e.selectAmPm=function(n){var i,f,u;n||(n=e.getDateTimePickerElement("ampm").getAttribute(e.activeValueStorage).toUpperCase());i=r.selectFirstElement(t.ariaSelectedSelector,e.amPmColumn);i&&(i.removeAttribute("tabindex"),i.removeAttribute(t.ariaSelected));f=n===e.amPmSelection[0]?r.removeClass:r.addClass;f.call(e,e.amPmColumn,"f-js-pm");u=r.selectFirstElement('[aria-label="'+n+'"]',e.amPmColumn);u&&(u.setAttribute(t.ariaSelected,"true"),u.setAttribute("tabindex","0"),e.setFocus(e.amPmColumn))},e.newContent=function(n,i){var s=r.selectFirstElement(t.ariaSelectedSelector,n).getAttribute(t.ariaLabel),y=n.getAttribute(t.dateTimePickerDataAttribute),u=[],f=null,o=null,p,l,a,w,c,h,v;switch(y){case"month":return e.removeAriaSelected(e.monthColumn),p=e.months.indexOf(s),f=e.nextCurrent(p,i,e.totalMonths,!1),e.setAriaSelected(n,e.months[f]),o=e.stagedElement(e.monthColumn,f,i,e.totalMonths,!1),u[0]=o[1],u[1]=e.totalMonths,u[2]=e.months[o[0]],u;case"day":return(l=r.selectFirstElement(t.ariaSelectedSelector,e.monthColumn),!l)?void 0:(a=l.getAttribute(t.ariaLabel),!a)?void 0:(w=e.months.indexOf(a),c=e.getDaysInMonth(w),e.removeAriaSelected(e.dayColumn),f=e.nextCurrent(parseInt(s,10),i,c,!1),e.setAriaSelected(n,f.toString()),o=e.stagedElement(e.dayColumn,f,i,c,!1),u[0]=o[1],u[1]=c,u[2]=o[0],u);case"year":return e.removeAriaSelected(e.yearColumn),f=e.nextCurrent(parseInt(s,10),i,9999,!0),e.setAriaSelected(n,f.toString()),o=e.stagedElement(e.yearColumn,f,i,9999,!0),u[0]=o[1],u[1]=9999,u[2]=o[0],u;case"hour":case"hour24":return h=y.indexOf("24")>-1,v=h?24:12,e.removeAriaSelected(e.hourColumn),f=e.nextCurrent(parseInt(s,10),i,v,h),e.setAriaSelected(n,f.toString()),o=e.stagedElement(e.hourColumn,f,i,v,h),u[0]=o[1],u[1]=h?23:12,u[2]=o[0],u;case"minute":case"minute24":return e.removeAriaSelected(e.minuteColumn),f=e.nextCurrent(parseInt(s,10),i,60,!0),e.setAriaSelected(n,f.toString()),o=e.stagedElement(e.minuteColumn,f,i,60,!0),u[0]=o[1],u[1]=59,u[2]=o[0],u}},e.removeAriaSelected=function(n){var i=r.selectFirstElement(t.ariaSelectedSelector,n);i&&(i.removeAttribute("tabindex"),i.removeAttribute(t.ariaSelected))},e.setAriaSelected=function(n,i){var u=r.selectFirstElement('[aria-label="'+i+'"]',n);u&&(u.setAttribute(t.ariaSelected,"true"),u.setAttribute("tabindex","0"),e.setFocus(n))},e.setFocus=function(n){var i=null;return!n||(i=r.selectFirstElement(t.ariaSelectedSelector,n),!i||(i.focus(),e.activeColumn=n)),i},e.nextCurrent=function(n,t,i,r){switch(t){case"up":return r&&n-1==0?0:n-1<=0?r?i-1:i:n-1;case"down":return r&&n+1===i?0:n+1>i?1:n+1}return null},e.stagedElement=function(n,t,i,r,u){var f=[],o;return i==="down"?t=t+e.numberOfElementsThatAppearInColumn:i==="up"&&(t=t-e.numberOfElementsThatAppearInColumn),u&&(t===0||t===r)?(f[0]=0,f[1]=r):(o=t<1?1:t>r?-1:0,f[0]=f[1]=t+r*o),f},e.isLastInList=function(n,t,i,u){t===u&&(i==="down"?r.addClass(n.lastElementChild,"f-js-last"):i==="up"&&r.addClass(n.firstElementChild,"f-js-last"))},e.removeChildren=function(n,t){var i=r.selectElements("li",n),u;i&&i.length!==0&&(t==="top"?i[0].parentNode.removeChild(i[0]):t==="bottom"&&(u=i.length-1,i[0].parentNode.removeChild(i[u])))},e.updatePicker=function(){switch(e.pickerType){case 0:e.updateButton(e.monthColumn,"month");e.updateButton(e.dayColumn,"day");e.updateButton(e.yearColumn,"year");break;case 1:e.updateButton(e.hourColumn,"hour");e.updateButton(e.minuteColumn,"minute");e.updateButton(e.amPmColumn,"ampm");break;case 2:e.updateButton(e.hourColumn,"hour24");e.updateButton(e.minuteColumn,"minute24")}var n=e.currentDateTime;e.updateCurrentDateTime();e.areDatesCloseEnough(e.currentDateTime,n)||e.initiatePublish({oldDateTime:n,newDateTime:e.currentDateTime})},e.updateButton=function(n,i){var f,s,o,h;n&&i&&(f=e.getDateTimePickerElement(i),f)&&(s=r.selectFirstElement(t.ariaSelectedSelector,n),s)&&(o=s.getAttribute(t.ariaLabel),o)&&(r.setText(f,o),f.setAttribute(e.activeValueStorage,o),h=f.getAttribute(t.buttonFormatterAttribute),e.activeValueStorage!==t.activeValueStorageAttribute||!h||f.setAttribute(t.ariaLabel,u.format(h,o)))},e.swipeHandler=function(n){n&&n.target&&(n.direction===o.SwipeDirection.Up||n.direction===o.SwipeDirection.Down)&&e.scrollColumn(n.target,n.direction===o.SwipeDirection.Up?t.scrollUpValue:t.scrollDownValue)},e.update(),e}return i.__extends(t,n),t.prototype.update=function(){var c,l,a,n,u,nt,f,p,w,b,k,e,tt,s,h,d,it,i;if(this.element){c=this.element.getAttribute(t.dateTimePickerDataAttribute);this.picker=this.getDateTimePickerElement("date-selector")||this.getDateTimePickerElement("time-selector12")||this.getDateTimePickerElement("time-selector24");r.preventDefaultSwipeAction(this.picker,!1);this.activeValueStorage=r.selectElements("button["+t.activeValueStorageAttribute+"]",this.element).length?t.activeValueStorageAttribute:t.ariaLabel;switch(c){case"date":if(this.pickerType=0,this.monthColumn=this.getDateTimePickerElement("month","ul"),this.dayColumn=this.getDateTimePickerElement("day","ul"),this.yearColumn=this.getDateTimePickerElement("year","ul"),l=this.monthColumn.getAttribute("data-months"),!l)return;if(a=this.days.length,this.months=l.split(","),this.months.splice(0,0,""),this.months.length!==a)return;for(this.totalMonths=this.months.length-1,this.monthInfo=new Array(a),n=0;n<=this.totalMonths;n++)this.monthInfo[n]={name:this.months[n],days:this.days[n]};this.buildSelector(this.yearColumn,"year",null);this.buildSelector(this.monthColumn,"month",null);this.buildSelector(this.dayColumn,"day",null);this.firstCycleColumn=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="month"]',this.picker);this.lastCycleColumn=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="year"]',this.picker);this.swipe=new o.Swipe([this.monthColumn.parentElement,this.dayColumn.parentElement,this.yearColumn.parentElement],{move:this.swipeHandler},o.SwipeOrientation.Vertical);break;case"time":case"time24":this.pickerType=c.indexOf("24")<0?1:2;var g="time-selector",v="hour",y="minute";this.pickerType===2?(g+="24",v+="24",y+="24",this.firstCycleColumn=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="hour24"]',this.picker),this.lastCycleColumn=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="minute24"]',this.picker)):(g+="12",this.amPmColumn=this.getDateTimePickerElement("ampm","ul"),this.firstCycleColumn=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="hour"]',this.picker),this.lastCycleColumn=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="ampm"]',this.picker));this.hourColumn=this.getDateTimePickerElement(v,"ul");this.minuteColumn=this.getDateTimePickerElement(y,"ul");!this.amPmColumn||(u=this.amPmColumn.getAttribute("data-meridiem"),!u||u.split("&").length!==2||(this.amPmSelection=u.split("&")));this.buildSelector(this.hourColumn,v,null);this.buildSelector(this.minuteColumn,y,null);this.pickerType===1&&this.buildAmPm(this.amPmColumn);this.swipe=new o.Swipe([this.hourColumn.parentElement,this.minuteColumn.parentElement],{move:this.swipeHandler},o.SwipeOrientation.Vertical)}if(this.activeValueStorage===t.activeValueStorageAttribute)for(nt=r.selectElements("li",this.picker),f=0,p=nt;f<p.length;f++)w=p[f],b=w.getAttribute(t.ariaLabel),!b||w.setAttribute(t.activeValueStorageAttribute,b);for(this.cancelButton=this.getDateTimePickerElement("cancel"),this.applyButton=this.getDateTimePickerElement("apply"),this.scrollButtons=[],this.columnTriggerButtons=[],k=this.element.children,e=0,tt=k.length-1;e<tt;e++)s=k.item(e),s.nodeType===Node.ELEMENT_NODE&&s.nodeName==="BUTTON"&&this.columnTriggerButtons.push(s);for(this.columns=r.selectElements("div["+t.dateTimePickerDataAttribute+"]",this.picker),h=0,d=this.columns;h<d.length;h++)it=d[h],i=r.selectElements("button",it),i.length===2&&(i[0].setAttribute(t.dateTimePickerDataAttribute,t.scrollUpValue),i[1].setAttribute(t.dateTimePickerDataAttribute,t.scrollDownValue),this.scrollButtons.push(i[0],i[1]));this.updateCurrentDateTime();r.addEvent(this.applyButton,r.eventTypes.click,this.handleApplyClicked);r.addEvent(this.cancelButton,r.eventTypes.click,this.handleCancelClicked);r.addEvents(this.scrollButtons,"mouseenter mouseleave",this.handleScrollButtons);r.addEvent(this.element,r.eventTypes.keydown,this.handleKeyDown);r.addEvent(this.element,r.eventTypes.click,this.handleMouseClick)}},t.prototype.teardown=function(){r.removeEvent(this.applyButton,r.eventTypes.click,this.handleApplyClicked);r.removeEvent(this.cancelButton,r.eventTypes.click,this.handleCancelClicked);r.removeEvents(this.scrollButtons,"mouseenter mouseleave",this.handleScrollButtons);r.removeEvent(this.element,r.eventTypes.keydown,this.handleKeyDown);r.removeEvent(this.element,r.eventTypes.click,this.handleMouseClick);r.removeEvents(this.columns,"mousewheel DOMMouseScroll",this.handleMouseScroll);this.swipe&&this.swipe.tearDown()},t.prototype.getDate=function(){return this.currentDateTime},t.prototype.openPicker=function(n){var i,u;this.pickerIsOpen=!0;i=r.selectFirstElement("["+t.dateTimePickerDataAttribute+'="'+n.getAttribute(t.dateTimePickerDataAttribute)+'"]',this.picker);this.pickerType===0?(this.buildSelector(this.yearColumn,"year",null),this.buildSelector(this.monthColumn,"month",null),this.buildSelector(this.dayColumn,"day",null)):this.pickerType===1?(this.buildSelector(this.hourColumn,"hour",null),this.buildSelector(this.minuteColumn,"minute",null),this.selectAmPm(null)):this.pickerType===2&&(this.buildSelector(this.hourColumn,"hour24",null),this.buildSelector(this.minuteColumn,"minute24",null));this.picker.setAttribute(t.ariaHidden,"false");u=this.setFocus(i);r.addEvent(window,r.eventTypes.mousedown,this.handleOutsideClick);r.addEvents(this.columns,"mousewheel DOMMouseScroll",this.handleMouseScroll)},t.prototype.closePicker=function(){this.pickerIsOpen=!1;this.picker.setAttribute(t.ariaHidden,"true");r.removeEvent(window,r.eventTypes.mousedown,this.handleOutsideClick);r.removeEvents(this.columns,"mousewheel DOMMouseScroll",this.handleMouseScroll);var n=this.columns.indexOf(this.activeColumn);n>=0&&n<this.columnTriggerButtons.length&&this.columnTriggerButtons[n].focus();return},t.prototype.getDateTimePickerElement=function(n,t){var i=u.isNullOrWhiteSpace(t)?"":" "+t;return u.isNullOrWhiteSpace(n)?null:r.selectFirstElement('[data-date-time-picker="'+n+'"] '+i,this.element)},t.prototype.getDaysInMonth=function(n,i){var u,f,e,o;if(i===void 0&&(i=NaN),n<0||n>=this.monthInfo.length)return NaN;if(u=this.monthInfo[n].days||NaN,!isNaN(u)&&u===28){if(isNaN(i)){if(f=r.selectFirstElement(t.ariaSelectedSelector,this.yearColumn),!f)return NaN;if(e=f.getAttribute(t.ariaLabel),!e)return NaN;if(i=parseInt(e,10),isNaN(i))return NaN}o=new Date(i,1,29);o.getMonth()===1&&(u=29)}return u},t.prototype.areDatesCloseEnough=function(n,i){return Math.abs(n.getTime()-i.getTime())<=t.changeThreshold},t.prototype.updateCurrentDateTime=function(){var u;switch(this.pickerType){case 0:var n=r.selectFirstElement('[data-date-time-picker="date-selector"]',this.element),f=n?r.selectFirstElement('[data-date-time-picker="month"]',n):null,e=n?r.selectFirstElement('[data-date-time-picker="day"]',n):null,o=n?r.selectFirstElement('[data-date-time-picker="year"]',n):null,w=f?r.selectFirstElement(t.ariaSelectedSelector,f):null,b=e?r.selectFirstElement(t.ariaSelectedSelector,e):null,k=o?r.selectFirstElement(t.ariaSelectedSelector,o):null,s=parseInt(r.getText(k),10)||-1,h=this.months.indexOf(r.getText(w))||-1,c=parseInt(r.getText(b),10)||-1;s!==-1&&h>0&&c!==-1&&(this.currentDateTime=new Date(s,h-1,c));break;case 1:case 2:var n=r.selectFirstElement('[data-date-time-picker^="time-selector"]',this.element),l=n?r.selectFirstElement('[data-date-time-picker^="hour"]',n):null,a=n?r.selectFirstElement('[data-date-time-picker^="minute"]',n):null,v=n?r.selectFirstElement('[data-date-time-picker="ampm"]',n):null,d=l?r.selectFirstElement(t.ariaSelectedSelector,l):null,g=a?r.selectFirstElement(t.ariaSelectedSelector,a):null,y=v?r.selectFirstElement(t.ariaSelectedSelector,v):null,i=parseInt(r.getText(d),10),p=parseInt(r.getText(g),10);isNaN(i)||isNaN(p)||(u=r.getText(y)===this.amPmSelection[1],u&&i<12?i+=12:y&&!u&&i===12&&(i=0),this.currentDateTime=new Date,this.currentDateTime.setSeconds(0),this.currentDateTime.setMinutes(p),this.currentDateTime.setHours(i))}},t.prototype.publish=function(n,t){if(n&&n.onDateTimeChanged)n.onDateTimeChanged(t)},t.prototype.recalculateDaysInMonth=function(n,i){var f,e,o,s,h,c,u,l;if(i===void 0&&(i=0),f=!n?null:n.parentElement.getAttribute(t.dateTimePickerDataAttribute),f&&(f==="month"||f==="year")){if(!i){if(e=this.getDateTimePickerElement("day").getAttribute(this.activeValueStorage),o=r.selectFirstElement(t.ariaSelectedSelector,this.dayColumn),o&&(e=o.getAttribute(t.ariaLabel)),!e)return;i=parseInt(e,10)}i&&(s=r.selectFirstElement(t.ariaSelectedSelector,this.monthColumn),s)&&(h=s.getAttribute(t.ariaLabel),h)&&(c=this.months.indexOf(h),this.monthInfo[c])&&((u=this.getDaysInMonth(c),isNaN(u))||(r.removeInnerHtml(this.dayColumn),l=i>u?u:i,this.buildNodes(l,this.dayColumn,u,!1,!1)))}},t.selector=".c-date-time-picker",t.typeName="DateTimePicker",t.changeThreshold=1e3,t.scrollUpValue="scrollUp",t.scrollDownValue="scrollDown",t.buttonFormatterAttribute="data-formatter-aria-label",t.activeValueStorageAttribute="data-active-value",t.ariaSelected="aria-selected",t.ariaLabel="aria-label",t.ariaHidden="aria-hidden",t.dateTimePickerDataAttribute="data-date-time-picker",t.ariaSelectedSelector="["+t.ariaSelected+'="true"]',t}(e.Publisher);t.DateTimePicker=s}.apply(t,u),r!==undefined&&(n.exports=r))},deviceActions:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("breakpointTracker")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.update(),i}return i.__extends(t,n),t.prototype.update=function(){var e=this,n,i,r;if(this.element&&(this.buttons=u.selectElements(t.buttonsSelector,this.element),this.buttonContainers=u.selectElements(t.buttonsContainerSelector,this.element),this.buttons&&this.buttonContainers&&!(this.buttons.length<1)&&!(this.buttonContainers.length<1))){for(this.buttonsLength=this.buttons.length,n=0;n<this.buttonsLength;n++)i=u.getClientRect(this.buttonContainers[n]).width,(!this.resizedContainerWidth||i>this.resizedContainerWidth)&&(this.resizedContainerWidth=i),r=u.getClientRect(this.buttons[n]).width,(!this.resizedButtonWidth||r>this.resizedButtonWidth)&&(this.resizedButtonWidth=r);this.updateWidths();f.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:function(n){e.onBreakpointChanged(n)}})}},t.prototype.updateWidths=function(){for(var n=0;n<this.buttonsLength;n++)this.buttons[n].style.width=this.resizedButtonWidth+"px",this.buttonContainers[n].style.width=this.resizedContainerWidth+"px"},t.prototype.onBreakpointChanged=function(n){if(n.breakpoint>1)this.updateWidths();else for(var t=0;t<this.buttonsLength;t++)u.css(this.buttons[t],"width",""),u.css(this.buttonContainers[t],"width","");this.ignoreNextDOMChange=!0},t.prototype.teardown=function(){this.resizedButtonWidth=null;this.resizedContainerWidth=null},t.selector=".m-device-actions",t.typeName="DeviceActions",t.buttonsSelector=".c-button",t.buttonsContainerSelector=".f-button",t}(r.ObservableComponent);t.DeviceActions=e}.apply(t,u),r!==undefined&&(n.exports=r))},dialog:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(i){var r=n.call(this,i)||this;return r.shouldCloseOnEscape=!0,r.isFlowDialog=!1,r.isLightboxDialog=!1,r.pageContentContainers=[],r.handleFakeElementFocus=function(){r.firstInput.focus()},r.handleTriggerClick=function(n){r.activeButton=u.getEventTargetOrSrcElement(n);r.show()},r.handleTriggerKeyDown=function(n){var t=n.keyCode;(t===13||t===32)&&(u.preventDefault(n),r.activeButton=u.getEventTargetOrSrcElement(n),r.show())},r.show=function(){var o=u.selectElements(t.pageContentContainerSelector),n,f,i,e;for(r.pageContentContainers=[],r.element.setAttribute(t.ariaHidden,"false"),r.dialogWrapper.tabIndex=0,r.firstInput&&r.firstInput.focus(),r.onResized(),r.bodyOverflowX=u.css(document.body,"overflow-x"),r.bodyOverflowY=u.css(document.body,"overflow-y"),u.css(document.body,"overflow-x","hidden"),u.css(document.body,"overflow-y","hidden"),r.container.setAttribute(t.ariaHidden,"true"),r.checkOverflow(),n=0,f=o;n<f.length;n++)i=f[n],e=!!(i.getAttribute(t.ariaHidden)==="true"),r.pageContentContainers.push({element:i,hidden:e}),e||i.setAttribute(t.ariaHidden,"true");r.dialogWrapper.scrollTop=0;r.initiatePublish({notification:1})},r.hide=function(){var e=r.element.getAttribute(t.ariaHidden)==="true",n,i,f;if(r.element.setAttribute(t.ariaHidden,"true"),u.css(r.dialogWrapper,"height","auto"),u.css(document.body,"overflow-x",r.bodyOverflowX),u.css(document.body,"overflow-y",r.bodyOverflowY),r.container.setAttribute(t.ariaHidden,"false"),r.dialogWrapper.setAttribute("tabindex","-1"),r.pageContentContainers&&r.pageContentContainers.length)for(n=0,i=r.pageContentContainers;n<i.length;n++)f=i[n],f.hidden||f.element.removeAttribute(t.ariaHidden);!e&&r.activeButton&&r.activeButton.focus();r.activeButton=null;r.pageContentContainers=[];e||r.initiatePublish({notification:2})},r.triggerClickPublish=function(n){r.initiatePublish({notification:0,button:u.getEventTargetOrSrcElement(n)})},r.onKeydown=function(n){var o=f.getKeyCode(n);switch(o){case 13:case 32:r.closeButtons.indexOf(u.getEventTargetOrSrcElement(n))!==-1?(u.preventDefault(n),r.hide()):r.customButtons.indexOf(u.getEventTargetOrSrcElement(n))!==-1&&r.initiatePublish({notification:0,button:u.getEventTargetOrSrcElement(n)});break;case 27:u.preventDefault(n);r.shouldCloseOnEscape&&r.hide();break;case 9:var i=u.getEventTargetOrSrcElement(n),t=r.getLastFocusableInput(),e=!1;t&&i===t&&!n.shiftKey?(u.preventDefault(n),r.firstInput&&(r.firstInput.focus(),e=!0)):r.firstInput&&i===r.firstInput&&n.shiftKey?(u.preventDefault(n),t&&(t.focus(),e=!0)):r.dialogWrapper&&r.firstInput&&r.firstInput!==r.dialogWrapper&&(i!==r.dialogWrapper||n.shiftKey||(u.preventDefault(n),r.firstInput&&(r.firstInput.focus(),e=!0)),i===r.dialogWrapper&&n.shiftKey&&(u.preventDefault(n),t&&t.focus()))}},r.onResized=function(){r.checkOverflow();r.handleResponsive()},r.checkOverflow=function(){var n=u.getClientRect(r.dialogWrapper);n.height<r.dialogWrapper.scrollHeight?r.isScroll||u.css(r.dialogWrapper,"overflow-y","auto"):u.css(r.dialogWrapper,"overflow-y","hidden")},r.handleResponsive=function(){if(r.element.getAttribute(t.ariaHidden)==="false"){var n=u.getClientRect(r.dialogWrapper);r.isFlowDialog&&!r.isScroll?n.height<r.dialogWrapper.scrollHeight?(u.css(r.dialogWrapper,"max-height",t.heightCalculationString),u.css(r.dialogWrapper,"height","100%")):u.css(r.dialogWrapper,"max-height","100%"):r.isScroll&&(n.height+t.heightCalculationValue>window.innerHeight&&u.css(r.dialogInnerContent,"height")!=="inherit"?(u.css(r.dialogWrapper,"height",t.heightCalculationString),u.css(r.dialogInnerContent,"height","inherit")):u.css(r.dialogInnerContent,"height")!=="auto"&&(u.css(r.dialogWrapper,"height","auto"),n=u.getClientRect(r.dialogWrapper),n.height+t.heightCalculationValue<window.innerHeight?(u.css(r.dialogInnerContent,"height","auto"),r.element.setAttribute(t.ariaHidden,"true"),r.element.setAttribute(t.ariaHidden,"false"),r.checkOverflow()):u.css(r.dialogWrapper,"height",t.heightCalculationString)))}},r.appendDialog=function(){r.ignoreNextDOMChange=!0;r.element&&r.element.parentElement!==document.body&&document.body.appendChild(r.element)},r.getLastFocusableInput=function(){if(!r.dialogInputs||r.dialogInputs.length===0)return null;for(var n=r.dialogInputs.length-1;n>=0;n--)if(!r.dialogInputs[n].hidden&&r.dialogInputs[n].getAttribute("disabled")!=="disabled")return r.dialogInputs[n];return r.dialogWrapper},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){var n,i,r;if(this.element&&this.element.id&&(this.dialogId=this.element.id,this.dialogWrapper=u.selectFirstElement("div[role=dialog]",this.element),this.dialogInnerContent=u.selectFirstElement('[role="document"]',this.element),this.openButtons=u.selectElements("[data-js-dialog-show="+this.dialogId+"]"),this.closeButtons=u.selectElements(t.closeSelector,this.element),this.dialogInputs=u.selectElements(t.dialogInputSelectors,this.element),this.customButtons=u.selectElements(t.customButtonSelector,this.element),this.appendDialog(),this.container=u.selectFirstElement('[data-grid*="container"]'),this.overlay=u.selectFirstElement('[role="presentation"]',this.element),this.isScroll=u.selectFirstElement(t.scrollSelector,this.element),u.hasClass(this.element,"f-flow")&&(this.isFlowDialog=!0),u.hasClass(this.element,"f-lightbox")&&(this.isLightboxDialog=!0),this.dialogWrapper&&this.dialogInputs&&this.dialogInputs.length&&this.container&&this.overlay)){if(this.isLightboxDialog)this.closeButtons.indexOf(this.overlay)===-1&&this.closeButtons.push(this.overlay),this.dialogWrapper.removeAttribute("tabIndex"),this.closeButtons.length===2&&this.closeButtons[0]===document.activeElement&&(this.closeButtons[0].blur(),this.closeButtons[1].focus()),this.dialogInputs.splice(1,0,this.dialogWrapper),this.shouldCloseOnEscape=!0;else if(this.isFlowDialog){for(n=0;n<this.closeButtons.length;n++)if(i=this.closeButtons[n],u.hasClass(i,"c-glyph")&&u.hasClass(i,"glyph-cancel")){this.closeButtons.push(this.overlay);this.shouldCloseOnEscape=!0;break}this.dialogInputs.splice(0,0,this.dialogWrapper)}this.firstInput=this.dialogInputs[0];r=this.getLastFocusableInput();r.tagName==="IFRAME"&&this.addFakeLastElement();u.addEvent(this.openButtons,u.eventTypes.click,this.handleTriggerClick);u.addEvent(this.openButtons,u.eventTypes.keydown,this.handleTriggerKeyDown);u.addEvent(this.closeButtons,u.eventTypes.click,this.hide);u.addEvent(this.customButtons,u.eventTypes.click,this.triggerClickPublish);u.addEvent(this.element,u.eventTypes.keydown,this.onKeydown);this.resizeThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.resize,this.onResized);this.element.getAttribute(t.ariaHidden)==="false"&&this.onResized()}},t.prototype.teardown=function(){u.removeEvent(this.openButtons,u.eventTypes.click,this.handleTriggerClick);u.removeEvent(this.openButtons,u.eventTypes.keydown,this.handleTriggerKeyDown);u.removeEvent(this.closeButtons,u.eventTypes.click,this.hide);u.removeEvent(this.customButtons,u.eventTypes.click,this.triggerClickPublish);u.removeEvent(this.element,u.eventTypes.keydown,this.onKeydown);u.removeEvent(window,u.eventTypes.resize,this.resizeThrottledEventHandler)},t.prototype.publish=function(n,t){switch(t.notification){case 0:if(n&&n.onButtonClicked)n.onButtonClicked(t);break;case 1:n&&n.onShown&&n.onShown();break;case 2:n&&n.onHidden&&n.onHidden()}},t.prototype.addFakeLastElement=function(){var n=document.createElement("div");n.setAttribute("tabindex","0");u.addEvent(n,u.eventTypes.focusin,this.handleFakeElementFocus);this.dialogWrapper.appendChild(n)},t.selector=".c-dialog",t.typeName="Dialog",t.dialogInputSelectors="select, input, textarea, button, a, .c-glyph[data-js-dialog-hide], iframe",t.closeSelector="[data-js-dialog-hide]",t.customButtonSelector='button[type="button"]',t.ariaHidden="aria-hidden",t.scrollSelector=".f-dialog-scroll",t.heightCalculationValue=24,t.heightCalculationString="calc(100% - "+t.heightCalculationValue.toString()+"px)",t.pageContentContainerSelector='[data-js-controlledby="dialog"]',t}(r.Publisher);t.Dialog=e}.apply(t,u),r!==undefined&&(n.exports=r))},drawer:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("breakpointTracker"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(i){var r=n.call(this,i)||this;return r.getCollapseBreakpoint=function(){var n=r.element.getAttribute(t.dataCollapseAttribute).toLowerCase();switch(n){case"vp3":r.collapseBreakpoint=2;break;case"vp2":r.collapseBreakpoint=1;break;case"vp1":r.collapseBreakpoint=0}},r.toggleDrawer=function(){r.inactive||(r.isExpanded()?r.collapseDrawer():r.expandDrawer())},r.onTriggerKeyPress=function(n){n=f.getEvent(n);var t=e.getKeyCode(n);switch(t){case 13:case 32:f.preventDefault(n);r.toggleDrawer()}},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){var r=this,i,n;if(this.element&&(this.drawerToggleButton=f.selectFirstElement("button[aria-controls]",this.element)||f.selectFirstElement("span[aria-controls]",this.element)||f.selectFirstElement(".c-drawer-toggle",this.element),this.drawerToggleButton)&&(this.drawerToggleButton.nodeName!==t.spanString&&this.isMarkupOldShape(this.drawerToggleButton)&&!this.spanElement&&this.createSpanWithinButtonElement(),i=this.drawerToggleButton.getAttribute("aria-controls"),this.drawerContainer=f.selectFirstElement("#"+i,this.element),this.inactive=f.hasClass(this.element,"f-inactive"),f.addEvent(this.drawerToggleButton,f.eventTypes.keydown,this.onTriggerKeyPress),this.drawerContainer)){f.hasClass(this.element,t.deprecatedResponsiveString)&&(this.element.setAttribute(t.dataCollapseAttribute,"vp1"),f.removeClass(this.element,t.deprecatedResponsiveString),f.hasClass(this.element,"f-remove-divider")||f.addClass(this.element,"f-divider"));f.hasClass(this.element,"m-amc-placement")&&this.element.setAttribute(t.dataCollapseAttribute,"vp1");this.isExpanded()?this.changeDrawerState(0):(this.drawerContainer.setAttribute(t.hiddenString,""),this.changeDrawerState(1));n=u.BreakpointTracker.getBreakpointTracker();!this.element.getAttribute(t.dataCollapseAttribute)||(this.getCollapseBreakpoint(),n.subscribe({onBreakpointChanged:function(n){r.onBreakpointChanged(n)}}));f.addEvent(this.drawerToggleButton,f.eventTypes.click,this.toggleDrawer);this.onBreakpointChanged({breakpoint:n.getBreakpoint(),width:0})}},t.prototype.createSpanWithinButtonElement=function(){this.spanElement=document.createElement(t.spanString);this.spanElement.classList.add("c-glyph","chevron");this.drawerToggleButton.appendChild(this.spanElement);return},t.prototype.isMarkupOldShape=function(n){return!(n.firstElementChild&&n.firstElementChild.nodeName===t.spanString.toUpperCase())},t.prototype.teardown=function(){f.removeEvent(this.drawerToggleButton,f.eventTypes.click,this.toggleDrawer)},t.prototype.publish=function(n,t){n.onExpandedChanged(t)},t.prototype.onBreakpointChanged=function(n){this.element.getAttribute(t.dataCollapseAttribute)&&this.updateResponsiveDrawer(n.breakpoint)},t.prototype.changeDrawerState=function(n){var i=n===0,r,u;this.drawerToggleButton.setAttribute(t.ariaExpanded,i?t.trueString:"false");r=this.drawerToggleButton.getAttribute(t.localizedExpandedLabel);u=this.drawerToggleButton.getAttribute(t.localizedCollapsedLabel);r&&u&&(i?this.drawerToggleButton.setAttribute(t.ariaLabelAttribute,r):this.drawerToggleButton.setAttribute(t.ariaLabelAttribute,u));this.drawerContainer.style.display=i?"block":"none";this.drawerContainer.style.height=i?"auto":"0";this.drawerContainer.style.overflow=i?"visible":t.hiddenString;this.initiatePublish({isExpanded:i})},t.prototype.collapseDrawer=function(){var n,i;this.drawerContainer.setAttribute(t.hiddenString,"");this.changeDrawerState(1);n=this.drawerToggleButton.getAttribute(t.dataDrawerExpandAttribute);n&&(i=this.drawerToggleButton.getElementsByClassName(t.drawerTextControlAttribute)[0],i&&(i.innerText=n))},t.prototype.expandDrawer=function(){var n,i;this.drawerContainer.removeAttribute(t.hiddenString);this.changeDrawerState(0);n=this.drawerToggleButton.getAttribute(t.dataDrawerCollapseAttribute);n&&(i=this.drawerToggleButton.getElementsByClassName(t.drawerTextControlAttribute)[0],i&&(i.innerText=n))},t.prototype.activateDrawer=function(){this.inactive=!1;f.removeClass(this.element,"f-inactive");this.drawerToggleButton.setAttribute("aria-disabled","false");this.expandDrawer()},t.prototype.isExpanded=function(){return this.drawerToggleButton.getAttribute(t.ariaExpanded)===t.trueString},t.prototype.updateResponsiveDrawer=function(n){n>this.collapseBreakpoint?(this.drawerToggleButton.setAttribute(t.disabledString,t.disabledString),f.addClass(this.element,"f-show"),this.expandDrawer()):(this.drawerToggleButton.removeAttribute(t.disabledString),f.removeClass(this.element,"f-show"),this.collapseDrawer())},t.selector=".c-drawer",t.typeName="Drawer",t.ariaExpanded="aria-expanded",t.disabledString="disabled",t.hiddenString="hidden",t.trueString="true",t.deprecatedResponsiveString="f-responsive",t.spanString="span",t.dataCollapseAttribute="data-js-collapse",t.dataDrawerExpandAttribute="data-drawer-expand",t.dataDrawerCollapseAttribute="data-drawer-collapse",t.drawerTextControlAttribute="c-drawer-text-control",t.drawerTextControlContainerAttribute="c-drawer-text-control-container",t.ariaLabelAttribute="aria-label",t.localizedCollapsedLabel="data-collapsed-label",t.localizedExpandedLabel="data-expanded-label",t}(r.Publisher);t.Drawer=o}.apply(t,u),r!==undefined&&(n.exports=r))},expansionPanel:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("componentFactory"),i("observableComponent"),i("actionToggle")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(i,u){u===void 0&&(u=null);var f=n.call(this,i,u)||this;return f.collapsiblePaneModule=i,f.params=u,f.initialHeightOfPane=0,f.onActionToggled=function(n){n&&(n.toggled?f.openPane():f.closePane())},f.handleWindowResize=function(){if(f.isExpanded)f.openPane(null,!0);else if(f.rowsToShow){var n=f.getTotalRowsTakenByElement(f.listGroupContainer);f.rowsToShow&&n<=f.rowsToShow?f.showToggleButton(!1):f.showToggleButton(!0);f.openDrawerToShowRows(Math.min(f.rowsToShow,n),!0)}},f.setLastFocusableElement=function(n){var o,u,i,e;if(n){for(o=void 0,u=0;u<n.children.length;u++)i=n.children[u],r.hasClass(i,"f-last-visible-node")&&r.removeClass(i,"f-last-visible-node"),r.hasClass(i,"f-last-focus-node")&&r.removeClass(i,"f-last-focus-node"),e=r.selectElements(t.focusableSelectors,i),f.isVisible(i)&&e?(e.forEach(function(n){var t=n.getAttribute("data-previous-tab-index");t?n.setAttribute("tabindex",t):n.setAttribute("tabindex","0")}),o=i):e.forEach(function(n){n.setAttribute("tabindex","-1")});r.addClass(o,"f-last-visible-node")}},f.getTotalRowsTakenByElement=function(n){var r=0,t,i;return n&&(t=n.firstElementChild,t&&(i=Math.floor(n.offsetWidth/t.offsetWidth),i>0&&(r=Math.max(Math.ceil(n.children.length/i),1)))),r},f.update(),setTimeout(function(){var n=r.selectFirstElement(t.listItemGroupSelector,f.collapsiblePane);f.setLastFocusableElement(n)},t.timeOutToSetFocus),f}return i.__extends(t,n),t.prototype.update=function(){var n=this,i,f;return(this.collapsiblePane=r.selectFirstElement(t.collapsiblePaneSelector,this.collapsiblePaneModule),this.actionToggleButton=r.selectFirstElement(t.toggleButtonSelector,this.collapsiblePaneModule),i=r.selectFirstElement(e.ActionToggle.selector,this.collapsiblePaneModule),!this.collapsiblePane||!i)?!1:(this.listGroupContainer=r.selectFirstElement(t.listItemGroupSelector,this.collapsiblePane),u.ComponentFactory.create([{component:e.ActionToggle,elements:[i],callback:function(i){i&&i.length&&i[0]&&(n.toggleButton=i[0],n.toggleButton.subscribe(n),r.hasClass(n.collapsiblePaneModule,t.toggleSelector)&&n.openPane())},eventToBind:"DOMContentLoaded"}]),this.dataRowsAttibuteValue=this.collapsiblePane.getAttribute(t.rowsToShowAttributeSelector),this.dataRowsAttibuteValue?(this.setPreviousTabIndexes(this.listGroupContainer),this.rowsToShow=Math.max(0,parseInt(this.dataRowsAttibuteValue,10)||0),f=this.getTotalRowsTakenByElement(this.listGroupContainer),this.rowsToShow&&f>this.rowsToShow&&this.showToggleButton(!0),this.openDrawerToShowRows(Math.min(this.rowsToShow,f))):(r.hasClass(this.collapsiblePaneModule,t.toggleSelector)||r.css(this.collapsiblePane,"display","none"),this.showToggleButton(!0)),r.addThrottledEvent(window,r.eventTypes.resize,this.handleWindowResize),!0)},t.prototype.teardown=function(){this.collapsiblePaneModule=null;this.collapsiblePane=null;this.toggleButton&&this.toggleButton.unsubscribe(this);this.toggleButton=null;r.removeEvent(window,r.eventTypes.resize,this.handleWindowResize)},t.prototype.openPane=function(n,i){var u=this,f,e;n===void 0&&(n=null);i===void 0&&(i=!1);n?(f=n+"px",r.css(this.collapsiblePane,"max-height",f),r.css(this.collapsiblePane,"height",f),this.isExpanded=!1):(r.css(this.collapsiblePane,"display","block"),r.css(this.collapsiblePane,"max-height",this.collapsiblePane.scrollHeight+"px"),r.css(this.collapsiblePane,"height","auto"),this.isExpanded=!0);e=r.selectFirstElement(".f-last-visible-node",this.listGroupContainer);e&&r.addClass(e,"f-last-focus-node");this.resizeTriggeredEvent=i;setTimeout(function(){var i=r.selectFirstElement(t.listItemGroupSelector,u.collapsiblePane),n;u.collapsiblePaneModule.contains(document.activeElement)&&(n=r.selectFirstElement(t.focusableItemSelectorsInListItemGroup,u.collapsiblePaneModule),n&&!u.resizeTriggeredEvent&&n.focus(),u.setLastFocusableElement(i))},t.timeOutToSetFocus)},t.prototype.closePane=function(){var n=this;r.css(this.collapsiblePane,"max-height",this.initialHeightOfPane+"px");this.isExpanded=!1;setTimeout(function(){var i=r.selectFirstElement(t.listItemGroupSelector,n.collapsiblePane);n.initialHeightOfPane===0&&r.css(n.collapsiblePane,"display","none");n.setLastFocusableElement(i)},t.timeOutToSetFocus)},t.prototype.openDrawerToShowRows=function(n,t){if(t===void 0&&(t=!1),n&&this.listGroupContainer&&this.listGroupContainer.firstElementChild){var i=this.listGroupContainer.firstElementChild,u=i.offsetHeight;u>0&&(this.initialHeightOfPane=u*n+(parseInt(r.css(this.listGroupContainer,"margin-top"),10)||0)+2*(parseInt(r.css(i,"margin-top"),10)||0)+2*(parseInt(r.css(i,"margin-bottom"),10)||0),this.openPane(this.initialHeightOfPane,t))}},t.prototype.isVisible=function(n){if(n){var t=n.getBoundingClientRect(),i=this.collapsiblePane.getBoundingClientRect().bottom,r=t.bottom;if(i>=r)return!0}return!1},t.prototype.setPreviousTabIndexes=function(n){var i,f,u;if(n)for(i=0;i<n.children.length;i++)f=n.children[i],u=r.selectElements(t.focusableSelectors,f),u&&u.length>0&&u.forEach(function(n){var i=n.getAttribute("tabindex");i&&n.setAttribute(t.initialTabIndexAttributeString,i)})},t.prototype.showToggleButton=function(n){r.css(this.actionToggleButton,"display",n?"flex":"none")},t.selector=".m-expansion-panel",t.toggleButtonSelector=".expansion-panel__toggle-button",t.collapsiblePaneSelector=".expansion-panel__pane",t.toggleSelector="f-toggle",t.focusableSelectors="a,button,select,input,textarea",t.rowsToShowAttributeSelector="data-rows-to-show",t.focusableItemSelectorsInListItemGroup=".f-last-focus-node > a, .f-last-focus-node > button",t.listItemGroupSelector=".c-group",t.initialTabIndexAttributeString="data-initial-tabindex",t.timeOutToSetFocus=600,t}(f.ObservableComponent);t.ExpansionPanel=o}.apply(t,u),r!==undefined&&(n.exports=r))},feedHeroItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.feedHeroItemElement=t,r}return i.__extends(t,n),t.selector=".m-feed-hero-item",t.typeName="FeedHeroItem",t.callToActionSelector="a",t}(r.HeroItemBase);t.FeedHeroItem=u}.apply(t,u),r!==undefined&&(n.exports=r))},file:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return i.showFileDialogMenu=function(n){u.preventDefault(n);i.fileInputElement.click()},i.handleFileSelection=function(){i.textInputElement.value=i.fileInputElement.value.replace("C:\\fakepath\\","")},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){this.element&&(this.fileInputElement=u.selectFirstElement('input[type="file"]',this.element),this.submitButton=u.selectFirstElement("button",this.element),this.textInputElement=u.selectFirstElement('input[type="text"]',this.element),this.fileInputElement&&this.submitButton&&this.textInputElement)&&(u.addEvent(this.fileInputElement,u.eventTypes.change,this.handleFileSelection),u.addEvent(this.submitButton,u.eventTypes.click,this.showFileDialogMenu),u.addEvent(this.textInputElement,u.eventTypes.click,this.showFileDialogMenu))},t.prototype.teardown=function(){u.removeEvent(this.fileInputElement,u.eventTypes.change,this.handleFileSelection);u.removeEvent(this.submitButton,u.eventTypes.click,this.showFileDialogMenu);u.removeEvent(this.textInputElement,u.eventTypes.click,this.showFileDialogMenu);this.fileInputElement=null;this.submitButton=null;this.textInputElement=null},t.selector=".c-file",t.typeName="File",t}(r.ObservableComponent);t.File=f}.apply(t,u),r!==undefined&&(n.exports=r))},flyout:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("viewportCollision"),i("utility")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=8,s=function(n){function t(i){var r=n.call(this,i)||this;return(r.element=i,r.toggleFlyout=function(){r.shown?r.hide(!0):r.show(!0)},r.handleFocusOut=function(n){var t=n.relatedTarget||n.srcElement;r.performActionsWhenFlyoutIsOpen(t)},r.handleKeydownWhenFlyoutIsOpen=function(n){var t=e.getKeyCode(n);if(r.shown)switch(t){case 27:r.hide(!0);break;case 196:n.preventDefault();r.hide(!0)}},r.handleClickWhenFlyoutIsOpen=function(n){var t=n.target||n.srcElement;r.performActionsWhenFlyoutIsOpen(t)},r.performActionsWhenFlyoutIsOpen=function(n){var t=n.parentNode;r.element.contains(n)===!1&&n!==r.openButton&&t!==r.openButton&&r.hide(!0)},r.hide=function(n){n===void 0&&(n=!1);r.shown=!1;r.element.setAttribute(t.AriaHidden,"true");r.dismissalMode===0&&(u.removeEvent(r.bodyElement,u.eventTypes.click,r.handleClickWhenFlyoutIsOpen),u.removeEvent(r.openButton,u.eventTypes.focusout,r.handleFocusOut),u.removeEvent(r.element,u.eventTypes.focusout,r.handleFocusOut));n&&r.openButton.focus()},r.show=function(n){n===void 0&&(n=!1);r.shown=!0;r.element.setAttribute(t.AriaHidden,"false");r.offsetParent=u.getOffsetParent(r.element);r.placement===3?r.placeRight():r.placement===1?r.placeTop():r.placement===2?r.placeLeft():r.placement===0&&r.placeBottom();f.collidesWith(r.element)!==!1&&(r.placeLeft(),f.collidesWith(r.element)!==!1&&(r.placeRight(),f.collidesWith(r.element)!==!1&&(r.placeBottom(),f.collidesWith(r.element)!==!1&&(r.placeTop(),f.collidesWith(r.element)!==!1&&(r.placeBottomFinal(),f.collidesWith(r.element)!==!1&&r.placeTopFinal())))));n&&r.element.focus();r.dismissalMode===0&&(u.addEvent(r.bodyElement,u.eventTypes.click,r.handleClickWhenFlyoutIsOpen),u.addEvent(r.openButton,u.eventTypes.focusout,r.handleFocusOut),u.addEvent(r.element,u.eventTypes.focusout,r.handleFocusOut))},r.placeTopFinal=function(){var n=u.getClientRect(r.offsetParent),i=u.getClientRect(r.element),t=u.getClientRect(r.openButton),f=t.left-n.left,e=t.top-n.top-i.height-o;u.css(r.element,"left",f+"px");u.css(r.element,"top",e+"px")},r.placeBottomFinal=function(){var t=u.getClientRect(r.offsetParent),n=u.getClientRect(r.openButton),i=n.left-t.left,f=n.top-t.top+n.height+o;u.css(r.element,"left",i+"px");u.css(r.element,"top",f+"px")},r.placeBottom=function(){var t=u.getClientRect(r.offsetParent),i=u.getClientRect(r.element),n=u.getClientRect(r.openButton),f=function(){var f=r.calculateHorizontalCenter(t,n,i),e=n.top-t.top+n.height+o;u.css(r.element,"left",f+"px");u.css(r.element,"top",e+"px");r.element.setAttribute("data-js-flyout-placement","bottom")};f();i=u.getClientRect(r.element);f()},r.placeLeft=function(){var t=u.getClientRect(r.offsetParent),n=u.getClientRect(r.element),i=u.getClientRect(r.openButton),f=function(){var f=i.left-t.left-n.width-o,e=r.calculateVerticalCenter(t,i,n);u.css(r.element,"left",f+"px");u.css(r.element,"top",e+"px");r.element.setAttribute("data-js-flyout-placement","left")};f();n=u.getClientRect(r.element);f()},r.placeTop=function(){var t=u.getClientRect(r.offsetParent),n=u.getClientRect(r.element),i=u.getClientRect(r.openButton),f=function(){var f=r.calculateHorizontalCenter(t,i,n),e=i.top-t.top-n.height-o;u.css(r.element,"left",f+"px");u.css(r.element,"top",e+"px");r.element.setAttribute("data-js-flyout-placement","top")};f();n=u.getClientRect(r.element);f()},r.placeRight=function(){var t=u.getClientRect(r.offsetParent),i=u.getClientRect(r.element),n=u.getClientRect(r.openButton),f=function(){var f=n.left-t.left+n.width+o,e=r.calculateVerticalCenter(t,n,i);u.css(r.element,"left",f+"px");u.css(r.element,"top",e+"px");r.element.setAttribute("data-js-flyout-placement","right")};f();i=u.getClientRect(r.element);f()},!i)?r:(r.bodyElement=u.selectFirstElement("body"),r.update(),r)}return i.__extends(t,n),t.prototype.update=function(){var i=this,r,f,n,t,e;if((this.flyoutId=this.element.getAttribute("id"),this.flyoutId)&&(this.openButton=u.selectFirstElement('[aria-describedby="'+this.flyoutId+'"]'),this.openButton||(this.openButton=u.selectFirstElement('[data-js-flyout="'+this.flyoutId+'"]'),this.openButton))){this.shown=!1;r=this.element.getAttribute("data-js-flyout-dismissible");this.dismissalMode=r==="false"?1:0;f=this.element.getAttribute("data-js-flyout-placement");switch(f){case"bottom":this.placement=0;break;case"top":this.placement=1;break;case"left":this.placement=2;break;default:this.placement=3}if(u.addEvent(this.openButton,u.eventTypes.click,this.toggleFlyout),u.addEvent(window,u.eventTypes.keydown,this.handleKeydownWhenFlyoutIsOpen),this.resizeThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.resize,function(){i.hide()}),this.dismissalMode===1&&(this.flyoutButtons=u.selectElementsT("button",this.element),this.flyoutButtons.length>0))for(n=0,t=this.flyoutButtons;n<t.length;n++)e=t[n],u.addEvent(e,u.eventTypes.click,function(){i.hide(!0)})}},t.prototype.teardown=function(){var r=this,n,t,i;if(u.removeEvent(this.openButton,u.eventTypes.click,this.toggleFlyout),u.removeEvent(window,u.eventTypes.keydown,this.handleKeydownWhenFlyoutIsOpen),u.removeEvent(window,u.eventTypes.resize,this.resizeThrottledEventHandler),this.dismissalMode===1&&this.flyoutButtons.length>0)for(n=0,t=this.flyoutButtons;n<t.length;n++)i=t[n],u.removeEvent(i,u.eventTypes.click,function(){r.hide()})},t.prototype.calculateHorizontalCenter=function(n,t,i){return t.left-n.left+t.width/2-i.width/2},t.prototype.calculateVerticalCenter=function(n,t,i){return t.top-n.top+t.height/2-i.height/2},t.selector=".c-flyout",t.typeName="Flyout",t.AriaHidden="aria-hidden",t}(r.ObservableComponent);t.Flyout=s}.apply(t,u),r!==undefined&&(n.exports=r))},handleImageError:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions")],r=function(n,t,i){function c(n,t,i){t===void 0&&(t=0);var f;switch(t){case 1:f=h;break;case 0:default:f=r}u(n,f,i)}function u(n,t,u){var o,f,e,s;if(t===void 0&&(t=r),u===void 0&&(u=0),n){if(t=t&&t>0?t:r,n.parentElement)for(o=i.selectElements("source",n.parentElement),f=0,e=o;f<e.length;f++)s=e[f],s.setAttribute("srcset","");n.setAttribute("srcset","");n.src=l(u);n.src.length&&(i.css(n,"height",t+"px"),i.css(n,"width",t+"px"))}}function l(n){switch(n){case 1:return f;case 2:return o;case 3:return s;case 0:default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var f="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 60 60' style='enable-background:new 0 0 60 60' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M0 0 h60 v32 H32 v28 H0 V0 z M28 28 V4 H4 v24 H28 z M28 56 V32 H4 v24 H28 z M56 28 V4 H32 v24 H56 z'/%3E%3C/g%3E%3C/svg%3E",e="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M64,8v48H0V8H64z M4,12v21.2l14-14l20,20l8-8l14,14V12H4z M4,52h41.2L18,24.8l-14,14V52z M60,52v-1.2l-14-14 L40.8,42l10,10H60z M50,24c-0.5,0-1-0.2-1.4-0.6C48.2,23,48,22.5,48,22s0.2-1,0.6-1.4C49,20.2,49.5,20,50,20s1,0.2,1.4,0.6 C51.8,21,52,21.5,52,22s-0.2,1-0.6,1.4C51,23.8,50.5,24,50,24z'/%3E%3C/g%3E%3C/svg%3E",o="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M41.7,37.9c2.8,1,5.3,2.3,7.6,4.1c2.3,1.8,4.2,3.8,5.7,6c1.6,2.3,2.8,4.7,3.7,7.5c0.8,2.8,1.2,5.5,1.2,8.5h-4 c0-3.4-0.6-6.5-1.8-9.4c-1.2-2.9-2.9-5.4-4.9-7.5s-4.6-3.8-7.5-4.9c-3-1.3-6.1-1.9-9.5-1.9c-2.2,0-4.4,0.3-6.3,0.8 c-2,0.5-4,1.4-5.7,2.4c-1.8,1-3.4,2.3-4.7,3.8c-1.4,1.4-2.7,3.1-3.7,4.7c-1,1.7-1.8,3.7-2.4,5.7S8.5,61.8,8.5,64h-4%09c0-3,0.4-5.8,1.3-8.5c0.9-2.7,2.1-5.2,3.7-7.4c1.6-2.3,3.5-4.3,5.7-6s4.7-3.1,7.5-4.2c-1.6-0.9-3.1-1.9-4.4-3.2%09c-1.3-1.3-2.4-2.6-3.3-4.2c-0.9-1.6-1.6-3.2-2.1-4.8c-0.4-1.7-0.6-3.5-0.6-5.2c0-2.8,0.5-5.3,1.6-7.7c1-2.4,2.5-4.4,4.3-6.3%09c1.8-1.9,3.9-3.2,6.3-4.3c2.4-1,4.9-1.6,7.7-1.6c2.8,0,5.3,0.5,7.7,1.6c2.4,1,4.4,2.5,6.3,4.3s3.2,3.9,4.3,6.3 c1,2.4,1.6,4.9,1.6,7.7c0,1.8-0.2,3.6-0.7,5.2c-0.5,1.7-1.2,3.4-2.1,4.8c-0.9,1.5-2,2.9-3.3,4.2C44.6,36,43.3,37,41.7,37.9z M16.4,20.5c0,2.2,0.4,4.3,1.3,6.1s2,3.6,3.4,5c1.4,1.4,3.1,2.6,5,3.4c2,0.8,4,1.3,6.1,1.3c2.2,0,4.3-0.4,6.1-1.3 c1.9-0.9,3.6-2,5-3.4c1.4-1.4,2.6-3.1,3.4-5s1.3-4,1.3-6.1s-0.4-4.3-1.3-6.1s-2-3.6-3.4-5c-1.4-1.4-3.1-2.6-5-3.4 c-2-0.8-4-1.3-6.1-1.3c-2.2,0-4.3,0.4-6.1,1.3s-3.6,2-5,3.4c-1.4,1.4-2.6,3.1-3.4,5S16.4,18.3,16.4,20.5z'/%3E%3C/g%3E%3C/svg%3E",s="data:image/svg+xml;charset=utf-8,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 64 64' style='enable-background:new 0 0 64 64' xml:space='preserve'%3E%3Cstyle%3E.st0%7Bfill:%23FFF%7D@media screen and (-ms-high-contrast: black-on-white)%7B.st0%7Bfill:%23000%7D%7D%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M0,10h64v44H0V10z M60,50V14h-4v4h-4v-4H12v4H8v-4H4v36h4v-4h4v4h40v-4h4v4H60z M8,26v-4h4v4H8z M8,34v-4h4v4 H8z M8,42v-4h4v4H8z M52,26v-4h4v4H52z M52,34v-4h4v4H52z M52,42v-4h4v4H52z'/%3E%3C/g%3E%3C/svg%3E",h=24,r=57;t.handleImageError=c;t.handleImageErrorCustomDimensions=u}.apply(t,u),r!==undefined&&(n.exports=r))},"hero-item-base":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("publisher"),i("htmlExtensions"),i("stringExtensions")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(t,i){var u=n.call(this,t,i)||this;return(u.heroItemBaseElement=t,u.initialized=!1,u.handleMouseAndTouchStart=function(n){u.startCoordinates=f.getCoordinates(n)},u.handleMouseAndTouchEnd=function(n){var t=u.startCoordinates,i=f.getCoordinates(n),r=n.which||n.button;r===1&&t&&i&&!u.isSwipe(t,i)&&u.handleValidUserInteraction(n,f.getEventTargetOrSrcElement(n))},u.verifyPreciseInteraction=function(){return f.hasClass(u.heroItemBaseElement,"f-precise-click")?!0:!1},!r.ObservableComponent.shouldInitializeAsClass(t,i))?u:(f.SafeBrowserApis.requestAnimationFrame.call(window,function(){return u.update()}),u)}return i.__extends(t,n),t.prototype.update=function(){var r,n,i,u;if(!this.heroItemBaseElement)return!1;for(this.callsToAction=f.selectElementsT(this.constructor.callToActionSelector,this.heroItemBaseElement),this.videoItem=f.selectFirstElement(t.videoSelector,this.heroItemBaseElement),r=f.selectElementsT(".hiddenCTAlink",this.heroItemBaseElement),n=0,i=r;n<i.length;n++)u=i[n],this.callsToAction.push(u);return this.addEventListeners(),this.initialized=!0,!0},t.prototype.teardown=function(){this.removeEventListeners();this.initialized=!1},t.prototype.publish=function(n,t){if(n.onHeroItemClicked){n.onHeroItemClicked(t);this.preventDefaultClickAction=this.preventDefaultClickAction||t.preventDefault}},t.prototype.addEventListeners=function(){!this.verifyPreciseInteraction()&&this.verifyCallToAction()&&(f.addEvent(this.heroItemBaseElement,f.eventTypes.mousedown,this.handleMouseAndTouchStart),f.addEvent(this.heroItemBaseElement,f.eventTypes.mouseup,this.handleMouseAndTouchEnd))},t.prototype.removeEventListeners=function(){f.removeEvent(this.heroItemBaseElement,f.eventTypes.mousedown,this.handleMouseAndTouchStart);f.removeEvent(this.heroItemBaseElement,f.eventTypes.mouseup,this.handleMouseAndTouchEnd)},t.prototype.handleValidUserInteraction=function(n,t){if(!t||this.isCallToActionOrDescendant(t)||f.isDescendantOrSelf(this.videoItem,t)||!this.verifyCallToAction())return!1;var i={preventDefault:!1,event:n,targetElement:t,targetUri:this.callsToAction[0].href};return this.preventDefaultClickAction=!1,this.initiatePublish(i),this.preventDefaultClickAction?this.preventDefaultClickAction=!1:(n&&f.stopPropagation(n),this.navigateToUrl(this.callsToAction[0].href,n.ctrlKey?"_blank":this.callsToAction[0].target)),!0},t.prototype.isCallToActionOrDescendant=function(n){for(var r,t=0,i=this.callsToAction;t<i.length;t++)if(r=i[t],r===n||f.isDescendant(r,n))return!0;return!1},t.prototype.isSwipe=function(n,i){if(!n||!i)return!1;var r=Math.abs(i.y-n.y),u=Math.abs(i.x-n.x);return u>t.minimumSwipeDistance||r>t.minimumSwipeDistance},t.prototype.navigateToUrl=function(n,t){e.isNullOrWhiteSpace(n)||window.open(n,e.isNullOrWhiteSpace(t)?"_self":t)},t.prototype.verifyCallToAction=function(){var n=this.callsToAction&&this.callsToAction.length&&!e.isNullOrWhiteSpace(this.callsToAction[0].href)&&e.isNullOrWhiteSpace(this.callsToAction[0].getAttribute("data-js-dialog-show"));return n?this.heroItemBaseElement.setAttribute(t.dataJsHref,this.callsToAction[0].href):this.heroItemBaseElement.removeAttribute(t.dataJsHref),n},t.prototype.onCollectionItemHidden=function(){},t.prototype.onCollectionItemShown=function(){},t.prototype.triggerItem=function(){return this.callsToAction&&this.callsToAction.length?this.handleValidUserInteraction(null,this.callsToAction[0]):!1},t.dataJsHref="data-js-href",t.minimumSwipeDistance=30,t.callToActionSelector="a.c-call-to-action",t.videoSelector=".c-video-player,.c-lightbox-video",t}(u.Publisher);t.HeroItemBase=o}.apply(t,u),r!==undefined&&(n.exports=r))},heroItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.heroItemElement=t,r}return i.__extends(t,n),t.selector=".c-hero, .m-hero-item",t.typeName="HeroItem",t.callToActionSelector="a",t}(r.HeroItemBase);t.HeroItem=u}.apply(t,u),r!==undefined&&(n.exports=r))},htmlExtensions:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("stringExtensions")],r=function(n,t,i){function e(n,t,i,f){var e,o,s;for(f===void 0&&(f=!1),e=0,o=u(n);e<o.length;e++)s=o[e],y(s,i,f,r[t])}function g(n,t,r,f){var e,s,l,o,h,c;if(f===void 0&&(f=!1),!i.isNullOrWhiteSpace(t))for(e=0,s=u(n);e<s.length;e++)for(l=s[e],o=0,h=t.split(/\s+/);o<h.length;o++)c=h[o],i.isNullOrWhiteSpace(c)||y(l,r,f,c)}function nt(n,t,r,f){var e,s,l,o,h,c;for(f===void 0&&(f=!1),e=0,s=u(n);e<s.length;e++)for(l=s[e],o=0,h=u(t);o<h.length;o++)c=h[o],i.isNullOrWhiteSpace(c)||d(l,r,f,c)}function tt(n){n=v(n);n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)}function it(n,t,i,r){r===void 0&&(r=150);var f,u=0,o=function(n){var t=Date.now();f&&(clearTimeout(f),f=undefined);!!u&&t<u+r?f=setTimeout(function(){u=Date.now();i(n)},r-(t-u)):(u=t,i(n))};return e(n,t,o),o}function rt(n,t,r,f,e){function p(n){var i,t=0;return function(r){var u=Date.now();clearTimeout(i);!!t&&u<t+e?i=setTimeout(function(){t=u;n(r)},e-(u-t)):(t=u,n(r))}}var o,h,a,s,c,l,v;if(f===void 0&&(f=!1),e===void 0&&(e=150),!i.isNullOrWhiteSpace(t))for(o=0,h=u(n);o<h.length;o++)for(a=h[o],s=0,c=t.split(/\s+/);s<c.length;s++)l=c[s],i.isNullOrWhiteSpace(l)||(v=p(r),y(a,v,f,l))}function ut(n,t,i,r){r===void 0&&(r=150);var u,f=function(n){window.clearTimeout(u);u=setTimeout(function(){i(n)},r)};return e(n,t,f),f}function ft(n,t){if(t===void 0&&(t=5e3),document.readyState==="complete"){n.call(null);return}if(!document.attachEvent&&document.readyState==="interactive"){n.call(null);return}var o,i,u,f=function(){clearTimeout(o);i&&c(document,r.DOMContentLoaded,i);u&&c(document,r.onreadystatechange,u);l.requestAnimationFrame.call(window,n)};if(o=setTimeout(function(){f("timedout")},t),document.addEventListener){i=function(){f("domcontentloaded")};e(document,r.DOMContentLoaded,i,!1);return}document.attachEvent&&(u=function(){document.readyState==="complete"&&f("readystatecomplete")},e(document,r.onreadystatechange,u,!1))}function et(n,t){t===void 0&&(t=5e3);var i,u=setTimeout(function(){clearTimeout(u);c(window,r.load,i);n.call(null)},t);i=function(){clearTimeout(u);l.requestAnimationFrame.call(window,n)};document.readyState==="complete"?(clearTimeout(u),n.call(null)):e(window,r.load,i)}function p(n,t){!n||i.isNullOrWhiteSpace(t)||b(n,t)||(n.classList?n.classList.add(t):n.className=i.trim(n.className+" "+t))}function w(n,t){var o,e,s,r,f;if(!!n&&!i.isNullOrWhiteSpace(t))for(o=" "+i.trim(t)+" ",e=0,s=u(n);e<s.length;e++)if(r=s[e],r.classList)r.classList.remove(t);else if(!i.isNullOrWhiteSpace(r.className)){for(f=" "+r.className+" ";f.indexOf(o)>-1;)f=f.replace(o," ");r.className=i.trim(f)}}function ot(n,t){var i,r,u;if(t)for(i=0,r=t;i<r.length;i++)u=r[i],w(n,u)}function st(n,t){var i,r,u;if(t)for(i=0,r=t;i<r.length;i++)u=r[i],p(n,u)}function ht(n,t){var u,f,r;if(n&&t)for(u=0,f=t;u<f.length;u++)r=f[u],i.isNullOrWhiteSpace(r.name)||i.isNullOrWhiteSpace(r.value)||n.setAttribute(r.name,r.value)}function b(n,t){return!n||i.isNullOrWhiteSpace(t)?!1:n.classList?n.classList.contains(t):(" "+n.className+" ").indexOf(" "+i.trim(t)+" ")>-1}function ct(n){return n?n.parentElement.removeChild(n):n}function lt(n,t){return h(n,t)}function at(n,t){var i=h(n,t);return!i||!i.length?null:i[0]}function h(n,t){var r,u;if(i.isNullOrWhiteSpace(n)||n==="#")return[];if(r=t||document,/^[\#.]?[\w-]+$/.test(n)){switch(n[0]){case".":return r.getElementsByClassName?o(r.getElementsByClassName(n.slice(1))):o(r.querySelectorAll(n));case"#":return u=r.querySelector(n),u?[u]:[]}return o(r.getElementsByTagName(n))}return o(r.querySelectorAll(n))}function vt(n,t){var i=h(n,t);return!i||!i.length?null:i[0]}function yt(n,t){var o=t||document,u,f,i,r,e;for(u=n.split(","),i=0,r=u;i<r.length;i++)e=r[i],f+=this.selectElements(e,o);return f}function o(n){var i,t;if(!n)return[];for(i=[],t=0;t<n.length;t++)i.push(n[t]);return i}function pt(n){for(n===void 0&&(n=document.documentElement);n!==null;){var t=n.getAttribute("dir");if(!t)n=n.parentElement;else return t==="rtl"?s.right:s.left}return s.left}function a(n){var i,t,r;if(n){i=n.getBoundingClientRect();t={};for(r in i)t[r]=i[r];return typeof t.width=="undefined"&&(t.width=n.offsetWidth),typeof t.height=="undefined"&&(t.height=n.offsetHeight),t}}function wt(n){if(n)return{width:parseFloat(a(n).width)+parseFloat(f(n,"margin-left"))+parseFloat(f(n,"margin-right")),height:parseFloat(a(n).height)+parseFloat(f(n,"margin-top"))+parseFloat(f(n,"margin-bottom"))}}function f(n,t,r){if(!n)return null;if(!r&&r!=="")return r=n.style[t],i.isNullOrWhiteSpace(r)&&(r=getComputedStyle(n),r=r[t]),r;n.style[t]=r}function c(n,t,i,f){var e,o,s;if(n&&t&&i)for(e=0,o=u(n);e<o.length;e++)s=o[e],d(s,i,f,r[t])}function k(n){return Array.isArray?Array.isArray(n):{}.toString.call(n)==="[object Array]"}function u(n){return n?k(n)?n:typeof n=="string"?n.split(/\s+/):[n]:[]}function bt(n,t){return!!n&&n!==t&&n.contains(t)}function kt(n,t){return!!n&&n.contains(t)}function dt(n){return!n?"":n.textContent||n.innerText||""}function gt(n,t){!n||t===null||(n.textContent?n.textContent=t:n.innerHTML=t)}function ni(n){n&&(n.innerHTML="")}function ti(n){return n=v(n),n.target||n.srcElement}function v(n){return n||window.event}function y(n,t,i,r){i===void 0&&(i=!1);!n||(window.addEventListener?n.addEventListener(r,t,i):n.attachEvent("on"+r,t))}function d(n,t,i,r){i===void 0&&(i=!1);!n||(window.removeEventListener?n.removeEventListener(r,t,i):n.detachEvent("on"+r,t))}function ii(n,t,i){if(i===void 0&&(i={}),!n||!t)return null;var f=typeof t=="string"?t:r[t],u=null;if(i.bubbles=typeof i.bubbles=="undefined"?!0:i.bubbles,i.cancelable=typeof i.cancelable=="undefined"?!0:i.cancelable,window.CustomEvent&&typeof CustomEvent=="function")u=new CustomEvent(f,i),i.changedTouches&&i.changedTouches.length&&(u.changedTouches=i.changedTouches);else if(document.createEvent)u=document.createEvent("CustomEvent"),u.initCustomEvent(f,i.bubbles,i.cancelable,i.detail),i.changedTouches&&i.changedTouches.length&&(u.changedTouches=i.changedTouches);else{u=document.createEventObject();try{n.fireEvent("on"+f,u)}catch(e){return undefined}return u}return n.dispatchEvent(u),u}function ri(n){n.stopPropagation?n.stopPropagation():n.returnValue=!1}function ui(n){return n===void 0&&(n=window),n.scrollY||n.pageYOffset||(n.document.compatMode==="CSS1Compat"?n.document.documentElement.scrollTop:n.document.body.scrollTop)}function fi(n){if(!n)return window.document.documentElement;for(var i=n.ownerDocument.documentElement,t=n.offsetParent;t&&f(t,"position")=="static";)t=t.offsetParent;return t||i}function ei(n,t){if(n&&t){var i=t.clientHeight,r=t.scrollHeight;r>i&&(t.scrollTop=Math.min(n.offsetTop-t.firstElementChild.offsetTop,r-i))}}function oi(n){return typeof n.complete!="undefined"&&typeof n.naturalHeight!="undefined"?n&&n.complete&&n.naturalHeight>0:!0}function si(n){return n&&typeof n.complete!="undefined"&&typeof n.naturalHeight!="undefined"?n&&n.complete&&n.naturalWidth==0&&n.naturalHeight==0:!1}function hi(n){var i=n.touches&&n.touches.length?n.touches:[n],t=n.changedTouches&&n.changedTouches[0]||i[0];return{x:t.clientX,y:t.clientY}}function ci(n,t){for(var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;n;){if(i.call(n,t))break;n=n.parentElement}return n}function li(n,t){t===void 0&&(t=!0);!!n&&(window.PointerEvent||window.navigator.pointerEnabled)&&f(n,"touchAction",t?"pan-y":"pan-x")}var l,s,r;Object.defineProperty(t,"__esModule",{value:!0}),function(n){n.requestAnimationFrame=window.requestAnimationFrame||function(n){typeof n=="function"&&window.setTimeout(n,16.7)}}(l=t.SafeBrowserApis||(t.SafeBrowserApis={})),function(n){n[n.right=0]="right";n[n.left=1]="left"}(s=t.Direction||(t.Direction={})),function(n){n[n.animationend=0]="animationend";n[n.blur=1]="blur";n[n.change=2]="change";n[n.click=3]="click";n[n.DOMContentLoaded=4]="DOMContentLoaded";n[n.DOMNodeInserted=5]="DOMNodeInserted";n[n.DOMNodeRemoved=6]="DOMNodeRemoved";n[n.ended=7]="ended";n[n.error=8]="error";n[n.focus=9]="focus";n[n.focusin=10]="focusin";n[n.focusout=11]="focusout";n[n.input=12]="input";n[n.load=13]="load";n[n.keydown=14]="keydown";n[n.keypress=15]="keypress";n[n.keyup=16]="keyup";n[n.loadedmetadata=17]="loadedmetadata";n[n.mousedown=18]="mousedown";n[n.mousemove=19]="mousemove";n[n.mouseout=20]="mouseout";n[n.mouseover=21]="mouseover";n[n.mouseup=22]="mouseup";n[n.onreadystatechange=23]="onreadystatechange";n[n.resize=24]="resize";n[n.scroll=25]="scroll";n[n.submit=26]="submit";n[n.timeupdate=27]="timeupdate";n[n.touchcancel=28]="touchcancel";n[n.touchend=29]="touchend";n[n.touchmove=30]="touchmove";n[n.touchstart=31]="touchstart";n[n.transitionend=32]="transitionend";n[n.wheel=33]="wheel"}(r=t.eventTypes||(t.eventTypes={}));t.addEvent=e;t.addEvents=g;t.removeEvents=nt;t.preventDefault=tt;t.addThrottledEvent=it;t.addThrottledEvents=rt;t.addDebouncedEvent=ut;t.documentReady=ft;t.onDeferred=et;t.addClass=p;t.removeClass=w;t.removeClasses=ot;t.addClasses=st;t.addAttribute=ht;t.hasClass=b;t.removeElement=ct;t.selectElements=lt;t.selectFirstElement=at;t.selectElementsT=h;t.selectFirstElementT=vt;t.selectElementsFromSelectors=yt;t.nodeListToArray=o;t.getDirection=pt;t.getClientRect=a;t.getClientRectWithMargin=wt;t.css=f;t.removeEvent=c;t.isArray=k;t.toArray=u;t.isDescendant=bt;t.isDescendantOrSelf=kt;t.getText=dt;t.setText=gt;t.removeInnerHtml=ni;t.getEventTargetOrSrcElement=ti;t.getEvent=v;t.customEvent=ii;t.stopPropagation=ri;t.getScrollY=ui;t.getOffsetParent=fi;t.scrollElementIntoView=ei;t.isImageLoadedSuccessfully=oi;t.isImageLoadFailed=si;t.getCoordinates=hi;t.getParent=ci;t.preventDefaultSwipeAction=li}.apply(t,u),r!==undefined&&(n.exports=r))},immersiveHeroItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.immersiveHeroItemElement=t,r.onWindowResized=function(){var n=Math.round(window.innerWidth),t=Math.round(window.innerHeight);(r.windowWidth!==n||r.windowHeight!==t)&&(r.windowWidth=n,r.windowHeight=t,r.resizeImage())},r}return i.__extends(t,n),t.prototype.update=function(){if(!n.prototype.update.call(this))return!1;this.image=u.selectFirstElement(t.imageSelector,this.immersiveHeroItemElement);this.title=u.selectFirstElement(t.titleSelector,this.immersiveHeroItemElement);this.isTopAligned=u.hasClass(this.immersiveHeroItemElement,"f-align-top");this.windowWidth=Math.round(window.innerWidth);this.windowHeight=Math.round(window.innerHeight);this.image?(this.resizeImage(),this.resizeThrottledEvent=u.addThrottledEvent(window,u.eventTypes.resize,this.onWindowResized,50)):this.handleTextOnly()},t.prototype.teardown=function(){n.prototype.teardown.call(this);u.removeEvent(window,u.eventTypes.resize,this.resizeThrottledEvent);this.image=null;this.sectionHeight=null;this.title=null;this.titleHeight=null;this.isTopAligned=null},t.prototype.handleTextOnly=function(){if(!this.isTopAligned&&this.title.parentElement){var n=this.title.parentElement;u.css(n,"top","auto");u.css(n,"bottom","0px")}},t.prototype.resizeImage=function(){var i;if(this.immersiveHeroItemElement&&this.title&&this.image){var n=u.getClientRect(this.immersiveHeroItemElement),t=u.getClientRect(this.title),r=this.isTopAligned?t.top-n.top:u.getClientRect(this.image).top-n.top;this.titleHeight=t.height+r;this.sectionHeight=n.height;i=Math.round(this.sectionHeight-this.titleHeight)+"px";u.css(this.image,"height",i)}},t.prototype.onCollectionItemHidden=function(){},t.prototype.onCollectionItemShown=function(){this.resizeImage()},t.selector=".m-immersive-hero-item",t.typeName="ImmersiveHeroItem",t.titleSelector="div > div",t.imageSelector="div > .c-image > img",t}(r.HeroItemBase);t.ImmersiveHeroItem=f}.apply(t,u),r!==undefined&&(n.exports=r))},inPageNavigation:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("utility"),i("stringExtensions"),i("htmlExtensions"),i("observableComponent")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(t){var i=n.call(this,t)||this;return(i.resizeHandler=function(){i.checkCollapse(i.element);i.setWidth(i.element,!0);i.setStickyClass();i.anchorPositions=i.setAnchorPositions(i.element)},i.scrollHandler=function(){var n=f.selectFirstElement("ul",i.element),t=n.getAttribute("aria-hidden");i.updateNavLinks(i.element);!t||n.setAttribute("aria-hidden","true");i.setWidth(i.element)},i.clickHandler=function(n){var t=n.target||n.srcElement,r=t.getAttribute("href"),o="aria-hidden";if(r&&!(r.indexOf("#")<0)){f.hasClass(t,"f-dropdown-link")&&f.preventDefault(n);i.updateNavLinks(i.element);var u=f.selectFirstElement("ul",i.element),c=u.getAttribute("aria-hidden")!=="true",s=f.getClientRect(i.element).height+10,e=r.split("#")[1],h=f.selectElements("[data-js-in-page-navigation-wrapper]").length>0?!0:!1;f.hasClass(t,"f-dropdown-link")?c?(t.setAttribute("aria-expanded","false"),u.setAttribute(o,"true")):(t.setAttribute("aria-expanded","true"),u.setAttribute(o,"false")):(f.hasClass(i.element,"f-vertical")?h?window.scrollTo(0,i.anchorPositions[e]-(f.hasClass(i.element,"f-dropdown")?s:0)):window.scrollTo(0,i.anchorPositions[e]):window.scrollTo(0,i.anchorPositions[e]-(h?s:0)),i.updateLinks(t))}},!t)?i:(i.update(),i)}return i.__extends(t,n),t.prototype.update=function(){if(this.isLtr=f.getDirection(this.element)===f.Direction.left,this.navLinks=f.selectElements("ul a",this.element),this.marginDirection=this.isLtr?"margin-left":"margin-right",this.navLinks&&this.navLinks.length){if(this.anchorElements=this.getAnchorElements(),this.checkCollapse(this.element),this.setStickyClass(),this.anchorPositions=this.setAnchorPositions(this.element),f.addEvent(window,f.eventTypes.resize,this.resizeHandler),f.addEvent(window,f.eventTypes.scroll,this.scrollHandler),f.hasClass(this.element,"f-dropdown")){var n=f.selectFirstElement("a",this.element);f.addEvent(n,f.eventTypes.click,this.clickHandler,!0)}this.setNavLinkHandler(this.navLinks)}},t.prototype.teardown=function(){var i,n,t,r;for(f.removeEvent(window,f.eventTypes.resize,this.resizeHandler),f.removeEvent(window,f.eventTypes.scroll,this.scrollHandler),f.hasClass(this.element,"f-dropdown")&&(i=f.selectFirstElement("a",this.element),f.removeEvent(i,f.eventTypes.click,this.clickHandler,!0)),n=0,t=this.navLinks;n<t.length;n++)r=t[n],f.removeEvent(r,f.eventTypes.click,this.clickHandler,!0)},t.prototype.setNavLinkHandler=function(n){var t,i,r;if(n!==null)for(t=0,i=n;t<i.length;t++)r=i[t],f.addEvent(r,f.eventTypes.click,this.clickHandler,!0)},t.prototype.setAnchorPositions=function(){var u,i,n,r,t;if(this.anchorElements){for(u=f.getClientRect(document.body).top,i={},n=0,r=this.anchorElements;n<r.length;n++)t=r[n],t&&(i[t.id]=f.getClientRect(t).top-u);return i}},t.prototype.getAnchorElements=function(){for(var e,n,i=[],o=f.selectElements("a",this.element),t=0,r=o;t<r.length;t++)e=r[t],n=u.trim(e.getAttribute("href")),n!=null&&n.indexOf("#")===0&&i.push(f.selectFirstElement(n));return i},t.prototype.setStickyClass=function(){var n=f.getClientRect(this.element).top+this.getScrollY();return n<0&&(f.addClass(this.element,"f-sticky"),f.css(this.element,this.marginDirection,this.stickyOffsetStart)),this.element},t.prototype.checkCollapse=function(n){var u,i,l;if(n&&(u=n.parentElement,u)){var o=u.children,t=f.selectElements("li",n),s=f.getClientRect(u).width,e,h="f-dropdown",c="f-vertical";if(f.hasClass(n,h)||f.hasClass(n,c)){if(f.hasClass(n,h)&&!f.hasClass(n,c))for(i=0,l=o.length;i<l-1;i++)t=f.selectElements("li",o[i]),t&&t.length>0&&!f.hasClass(o[i],h)&&(e=f.getClientRect(t[t.length-1]))}else e=f.getClientRect(t[t.length-1]);return f.hasClass(n,"f-vertical")?r.getWindowWidth()<100+s?this.convertMenu(n,"dropdown"):this.convertMenu(n):s===0||this.isLtr&&e.right>s||!this.isLtr&&e.left<=0?this.convertMenu(n,"dropdown"):this.convertMenu(n)}},t.prototype.convertMenu=function(n,t){t===void 0&&(t=null);var r="f-dropdown",i="f-hide";return t==="dropdown"?f.hasClass(n,r)?f.hasClass(n,i)&&f.removeClass(n,i):f.hasClass(n,i)||f.addClass(n,i):f.hasClass(n,r)?f.hasClass(n,i)||f.addClass(n,i):f.hasClass(n,i)&&f.removeClass(n,i),n},t.prototype.setWidth=function(n,t){var s;t===void 0&&(t=!1);var e=n.parentElement,u="f-sticky",i=f.selectFirstElement("ul",n),h=f.hasClass(n,u),o=this.getScrollY(),c=f.getClientRect(e).top+o;return this.stickyOffsetStart=this.isLtr?f.getClientRect(e).left:r.getWindowWidth()-f.getClientRect(e).right,this.elementWidth=f.getClientRect(e).width,s=f.selectElements("[data-js-in-page-navigation-wrapper]"),t===!0&&f.hasClass(n,u)&&(i.style.width=this.elementWidth+"px",i.style[this.marginDirection]=this.stickyOffsetStart+"px"),s.length>0&&(c<o?f.hasClass(n,u)||(f.addClass(n,u),i.style.width=this.elementWidth+"px",i.style[this.marginDirection]=this.stickyOffsetStart+"px"):h!==!1&&(f.removeClass(n,u),f.css(i,this.marginDirection,""),f.css(i,"width",""))),n},t.prototype.updateLinks=function(n){var t,i,r,u;if(this.element&&this.navLinks&&this.navLinks.length!==0){for(t=0,i=this.navLinks;t<i.length;t++)r=i[t],r.blur(),f.removeClass(r,"f-active");return f.addClass(n,"f-active"),f.hasClass(this.element,"f-dropdown")&&(u=f.selectFirstElement("a",this.element),u.setAttribute("href",n.getAttribute("href")),u.innerHTML=n.innerHTML),this.element}},t.prototype.updateNavLinks=function(n){var t,r,i;if(n&&(t=this.getAnchorElements(),t&&(r=f.selectFirstElement("[data-js-in-page-navigation-wrapper]"),r&&t&&t.length)))for(r.style.top=n.offsetHeight+"px",i=t.length-1;i>=0;i--)if(t[i]&&t[i].getBoundingClientRect().top<=50){this.updateLinks(f.selectElements("a",n)[i]);break}},t.prototype.getScrollY=function(){return window.scrollY||window.pageYOffset||document.documentElement.scrollTop},t.selector=".c-in-page-navigation",t.typeName="InPageNavigation",t}(e.ObservableComponent);t.InPageNavigation=o}.apply(t,u),r!==undefined&&(n.exports=r))},"logo-controller":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("sequenceIndicator")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.logoControllerElement=t,r}return i.__extends(t,n),t.selector=".c-logo-controller",t.typeName="LogoController",t.itemSelector='[role="tab"]',t}(r.SequenceIndicator);t.LogoController=u}.apply(t,u),r!==undefined&&(n.exports=r))},mosaicPlacement:function(n,t,i){"use strict";var u,r,f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("breakpointTracker"),i("utility"),i("htmlExtensions")],r=function(n,t,i,r,u,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(t){var i=n.call(this,t)||this;return i.cssClassNames={width:{large:"f-width-large",small:"f-width-small"},height:{large:"f-height-large",medium:"f-height-medium",small:"f-height-small"}},i.mappings=[[[300,0],[150,320],[0,160]],[[300,540],[150,270],[0,135]],[[400,768],[200,384],[0,0]],[[400,542],[200,271],[0,135]],[[400,542],[200,271],[0,135]],[[400,542],[200,271],[0,135]]],i.update(),u.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:function(n){i.onBreakpointChanged(n)}}),i}return i.__extends(t,n),t.prototype.update=function(){this.onBreakpointChanged({breakpoint:u.BreakpointTracker.getBreakpointTracker().getBreakpoint(),width:0})},t.prototype.teardown=function(){},t.prototype.removeClasses=function(n){n!=null&&o.removeClasses(n,this.concatenateCssClasses(this.cssClassNames))},t.prototype.applySizeClasses=function(n,t){var i=e.getDimensions(n),r,u;i!=null&&e.isNumber(i.height)&&e.isNumber(i.width)&&(r=[],i.height>=this.mappings[t][0][0]?(r.push(this.cssClassNames.height.large),u=i.width>=this.mappings[t][0][1]?this.cssClassNames.width.large:this.cssClassNames.width.small,r.push(u)):i.height>=this.mappings[t][1][0]?(r.push(this.cssClassNames.height.medium),u=i.width>=this.mappings[t][1][1]?this.cssClassNames.width.large:this.cssClassNames.width.small,r.push(u)):(r.push(this.cssClassNames.height.small),u=i.width>=this.mappings[t][2][1]?this.cssClassNames.width.large:this.cssClassNames.width.small,r.push(u)),o.addClasses(this.element,r))},t.prototype.onBreakpointChanged=function(n){this.removeClasses(this.element);this.applySizeClasses(this.element,n.breakpoint)},t.prototype.concatenateCssClasses=function(n){var i,r,e,t,u;if(n!=null){i=[];for(r in n)if(n.hasOwnProperty(r)&&(e=n,t=e[r],(typeof t=="undefined"?"undefined":f(t))==="object"))for(u in t)t.hasOwnProperty(u)&&i.push(t[u]);return i}},t.selector=".c-mosaic-placement",t.typeName="MosaicPlacement",t}(r.ObservableComponent);t.MosaicPlacement=s}.apply(t,u),r!==undefined&&(n.exports=r))},"multi-slide-carousel":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("carousel-base"),i("componentFactory"),i("sequenceIndicator"),i("actionToggle"),i("htmlExtensions"),i("utility"),i("viewportCollision")],r=function(n,t,i,r,u,f,e,o,s,h){Object.defineProperty(t,"__esModule",{value:!0});var c=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.carouselElement=t,r.isAutoPlayPaused=!0,r.autoPlayTimer=-1,r.hasContentFocus=!1,r.isMouseOver=!1,r.hasViewportCollisions=!1,r.onActionToggled=function(n){!n||(n.toggled?r.startAutoPlay():r.pauseAutoPlay())},r.onMouseOver=function(){r.isMouseOver=!0;r.suspendAutoPlay()},r.onMouseOut=function(){r.isMouseOver=!1;r.resumeAutoPlay()},r.onContentFocusIn=function(){r.hasContentFocus=!0;r.suspendAutoPlay()},r.onContentFocusOut=function(){r.hasContentFocus=!1;r.resumeAutoPlay()},r.onWindowScrolled=function(){r.carouselElement&&(r.hasViewportCollisions=!!h.collidesWith(r.carouselElement),r.hasViewportCollisions?r.suspendAutoPlay():r.resumeAutoPlay())},r}return i.__extends(t,n),t.prototype.update=function(){var i=this;return!this.isObserving()||!n.prototype.update.call(this)?!1:(this.playPauseButton=o.selectFirstElement(e.ActionToggle.selector,this.carouselElement),!this.playPauseButton||(this.playPauseButton.setAttribute("aria-hidden",this.slides.length>1?"false":"true"),u.ComponentFactory.create([{component:e.ActionToggle,elements:[this.playPauseButton],callback:function(n){n.length>0&&(i.autoPlayActionToggle=n[0],!i.autoPlayActionToggle||(i.autoPlayActionToggle.subscribe(i),o.addEvent(i.carouselElement,o.eventTypes.mouseover,i.onMouseOver),o.addEvent(i.carouselElement,o.eventTypes.mouseout,i.onMouseOut),i.scrollThrottledEventHandler=o.addThrottledEvent(window,o.eventTypes.scroll,i.onWindowScrolled),i.hasViewportCollisions=!!h.collidesWith(i.carouselElement),i.hasContentFocus=o.isDescendantOrSelf(i.carouselElement,document.activeElement),o.addEvent(i.carouselElement,o.eventTypes.focusin,i.onContentFocusIn),o.addEvent(i.carouselElement,o.eventTypes.focusout,i.onContentFocusOut),i.autoPlayIntervalDuration=Math.max(t.autoPlayMinimumInterval,parseInt(i.carouselElement.getAttribute(t.autoPlayIntervalAttribute),10)||t.autoPlayDefaultInterval),o.hasClass(i.carouselElement,t.autoPlayClass)&&i.slides.length>1&&i.autoPlayActionToggle.isToggled()&&s.getQSPValue("mwfrun").toLowerCase()!=="formwfvdiff"&&i.startAutoPlay()))},eventToBind:"DOMContentLoaded"}])),this.loadMultiSlideController(),!0)},t.prototype.teardown=function(){n.prototype.teardown.call(this);!this.autoPlayActionToggle||(this.autoPlayActionToggle.unsubscribe(this),o.removeEvent(this.carouselElement,o.eventTypes.mouseover,this.onMouseOver),o.removeEvent(this.carouselElement,o.eventTypes.mouseout,this.onMouseOut),this.scrollThrottledEventHandler&&(o.removeEvent(window,o.eventTypes.scroll,this.scrollThrottledEventHandler),this.scrollThrottledEventHandler=null),o.removeEvent(this.carouselElement,o.eventTypes.focusin,this.onContentFocusIn),o.removeEvent(this.carouselElement,o.eventTypes.focusout,this.onContentFocusOut),this.clearAutoPlayTimers());this.hasContentFocus=!1;this.isMouseOver=!1;this.hasViewportCollisions=!1;this.isAutoPlayPaused=!0;this.hasContentFocus=!1;this.playPauseButton=null;!this.sequenceIndicator||this.sequenceIndicator.unsubscribe(this)},t.prototype.getSlides=function(){return o.selectElements(r.CarouselBase.allChildSelectors,this.carouselElement)},t.prototype.getFirstActiveIndex=function(){if(!this.slides)return 0;for(var n=0;n<this.slides.length;n++)if(o.hasClass(this.slides[n],r.CarouselBase.activeClass))return n;return 0},t.prototype.isScrollablePrevious=function(){return!!this.slides&&this.slides.length>1},t.prototype.isScrollableNext=function(){return!!this.slides&&this.slides.length>1},t.prototype.previousSlide=function(){this.setActiveSlide(this.activeIndex-1)},t.prototype.nextSlide=function(){this.setActiveSlide(this.activeIndex+1)},t.prototype.setActiveSlide=function(i,u){var f,h,c,e,s;if(u===void 0&&(u=!0),!this.slides)return!1;(f=this.activeIndex,h=i,i<0?i=this.slides.length-1:i>=this.slides.length&&(i=0),n.prototype.setActiveSlide.call(this,i,u))&&(f!==-1&&(o.removeClasses(this.slides[f],[r.CarouselBase.activeClass,t.animateNextClass,t.animatePreviousClass]),c=f<h?t.animateNextClass:t.animatePreviousClass,o.addClass(this.slides[this.activeIndex],c)),this.resumeAutoPlay(),this.sequenceIndicator&&this.sequenceIndicator.setControllerIndex(i,!1),e=f===-1?null:n.prototype.getCollectionItem.call(this,this.slides[f]),s=n.prototype.getCollectionItem.call(this,this.slides[this.activeIndex]),e&&e.onCollectionItemHidden(),s&&s.onCollectionItemShown(),n.prototype.initiatePublish.call(this,{fullyVisibleItemRange:[i,i],partiallyVisibleItemRange:[i,i],userInitiated:u}))},t.prototype.startAutoPlay=function(){this.isAutoPlayPaused=!1;this.isMouseOver=!1;this.resumeAutoPlay()},t.prototype.pauseAutoPlay=function(){this.isAutoPlayPaused=!0;this.clearAutoPlayTimers()},t.prototype.suspendAutoPlay=function(){this.clearAutoPlayTimers()},t.prototype.resumeAutoPlay=function(){this.isAutoPlayPaused||this.isMouseOver||this.hasViewportCollisions||this.hasContentFocus&&this.playPauseButton!==document.activeElement||this.setAutoPlayInterval()},t.prototype.setAutoPlayInterval=function(){var n=this;this.clearAutoPlayTimers();this.autoPlayTimer=setTimeout(function(){n.setActiveSlide(n.activeIndex+1,!1)},this.autoPlayIntervalDuration)},t.prototype.clearAutoPlayTimers=function(){this.autoPlayTimer!==-1&&(clearTimeout(this.autoPlayTimer),this.autoPlayTimer=-1)},t.prototype.loadMultiSlideController=function(){var n=this,t=o.selectFirstElement(f.SequenceIndicator.selector,this.carouselElement);!t||u.ComponentFactory.create([{component:f.SequenceIndicator,elements:[t],callback:function(t){t&&t.length&&(n.sequenceIndicator=t[0],!n.sequenceIndicator||(n.slides.length>1?n.sequenceIndicator.show():n.sequenceIndicator.hide(),n.sequenceIndicator.subscribe(n),n.sequenceIndicator.setControllerIndex(n.activeIndex,!1)))},eventToBind:"DOMContentLoaded"}])},t.prototype.onControllerIndexChanged=function(n){!n||this.setActiveSlide(n.currentIndex)},t.selector=".c-carousel[class*=f-multi-slide]",t.typeName="MultiSlideCarousel",t.animateNextClass="f-animate-next",t.animatePreviousClass="f-animate-previous",t.focusContentSelector=".c-call-to-action",t.autoPlayClass="f-auto-play",t.autoPlayIntervalAttribute="data-js-interval",t.autoPlayDefaultInterval=6e3,t.autoPlayMinimumInterval=5e3,t}(r.CarouselBase);t.MultiSlideCarousel=c}.apply(t,u),r!==undefined&&(n.exports=r))},multiFeature:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("componentFactory"),i("logo-controller"),i("multi-slide-carousel"),i("pivot"),i("sequenceIndicator"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f,e,o,s,h,c){Object.defineProperty(t,"__esModule",{value:!0});var l=function(n){function t(i,r){r===void 0&&(r=null);var u=n.call(this,t.selectMultiSlideCarousel(i,r),r)||this;return u.multiFeatureElement=i,u.activeContentIndex=-1,u.onKeydown=function(t){switch(c.getKeyCode(t)){case 39:case 206:case 213:h.stopPropagation(t);h.preventDefault(t);u.isLtr?n.prototype.nextSlide.call(u):n.prototype.previousSlide.call(u);break;case 37:case 205:case 214:h.preventDefault(t);h.stopPropagation(t);u.isLtr?n.prototype.previousSlide.call(u):n.prototype.nextSlide.call(u);break;case 195:h.preventDefault(t);h.stopPropagation(t);u.triggerCta()}},u}return i.__extends(t,n),t.selectMultiSlideCarousel=function(n,t){var i=h.selectFirstElement(e.MultiSlideCarousel.selector,n);return i&&(i.setAttribute(r.ObservableComponent.mwfClassAttribute,!!t&&!!t.mwfClass?t.mwfClass:"MultiFeature"),u.ComponentFactory.enumerateComponents(i,function(n){if(n===e.MultiSlideCarousel.typeName)return u.ComponentFactory.detach(i,n),!1}),i.removeAttribute(r.ObservableComponent.initializeAttribute)),i},t.prototype.update=function(){return n.prototype.update.call(this)?(n.prototype.subscribe.call(this,this),this.confirmCorrectShape(),this.isLtr=h.getDirection(this.multiFeatureElement)===h.Direction.left,h.addEvent(this.multiFeatureElement,h.eventTypes.keydown,this.onKeydown),!0):!1},t.prototype.teardown=function(){n.prototype.teardown.call(this);n.prototype.unsubscribe.call(this,this);this.controller&&this.controller.unsubscribe(this);h.removeEvent(this.multiFeatureElement,h.eventTypes.keydown,this.onKeydown)},t.prototype.loadMultiSlideController=function(){var i=this,n=h.selectFirstElement(t.controllerSelector,this.multiFeatureElement),e;n&&h.hasClass(n,"c-sequence-indicator")?(this.loadContentElements(n),e=s.SequenceIndicator):n&&n.parentElement&&h.hasClass(n.parentElement,"c-pivot")?(n=n.parentElement,e=o.Pivot,n.removeAttribute(r.ObservableComponent.initializeAttribute)):n&&n.firstElementChild&&n.firstElementChild.firstElementChild&&h.hasClass(n.firstElementChild.firstElementChild,"c-logo")&&(this.loadContentElements(n),e=f.LogoController,n.setAttribute(r.ObservableComponent.mwfClassAttribute,"LogoController"),h.addClass(n,s.SequenceIndicator.selector));u.ComponentFactory.create([{elements:[n],component:e,callback:function(n){n&&n.length&&(i.controller=n[0],!i.controller||(i.controller.subscribe(i),i.controller.setControllerIndex(i.activeIndex,!1)))},eventToBind:"DOMContentLoaded"}])},t.prototype.onSlideRangeChanged=function(n){!n||!n.fullyVisibleItemRange||!n.fullyVisibleItemRange.length||(!this.controller||this.controller.setControllerIndex(n.fullyVisibleItemRange[0],!1),this.updateMultiFeatureContentIndex(n.fullyVisibleItemRange[0]))},t.prototype.updateMultiFeatureContentIndex=function(n){!this.contentElements||!c.isNumber(n)||n<0||n>=this.contentElements.length&&this.contentElements.length!==1||(n=Math.min(n,this.contentElements.length-1),c.isNumber(this.activeContentIndex)&&this.activeContentIndex>=0&&this.activeContentIndex<this.contentElements.length&&h.removeClass(this.contentElements[this.activeContentIndex],t.activeItemClass),h.addClass(this.contentElements[n],t.activeItemClass),this.activeContentIndex=n)},t.prototype.loadContentElements=function(){this.contentElements=h.selectElements(t.contentSelector,this.multiFeatureElement)},t.prototype.triggerCta=function(){if(!n.prototype.triggerSlide.call(this))if(this.activeContentIndex!==-1){var t=h.selectFirstElement(".c-call-to-action",this.contentElements[this.activeContentIndex]);t&&t.getAttribute("aria-disabled")!=="true"&&t.click()}else this.controller.triggerCta&&this.controller.triggerCta()},t.prototype.confirmCorrectShape=function(){var f=h.hasClass(this.multiFeatureElement,"f-align-center"),r=h.selectFirstElement(".c-carousel",this.multiFeatureElement),n=r.parentElement,u,i,t,e;n.nodeName==="SECTION"||f?!f||(i=h.selectFirstElement(".c-sequence-indicator",this.multiFeatureElement),t=n.children,!i||Array.prototype.indexOf.call(t,i)===[0]||(e=h.selectFirstElement(".m-area-heading",this.multiFeatureElement),!e?n.insertBefore(i,t[0]):n.insertBefore(i,t[1])),n.insertBefore(r,t[t.length-1].nextSibling)):(u=n.parentElement,u.appendChild(r),u.removeChild(n))},t.prototype.onControllerIndexChanged=function(t){!t||(n.prototype.setActiveSlide.call(this,t.currentIndex),this.updateMultiFeatureContentIndex(t.currentIndex))},t.selector=".m-multi-feature",t.typeName="MultiFeature",t.controllerSelector='[role="tablist"]',t.controllerItemsSelector='[role="tab"]',t.contentSelector='section > ul > li[role="tabpanel"], section > div > ul > li[role="tabpanel"]',t.activeItemClass="f-active",t.ariaControls="aria-controls",t}(e.MultiSlideCarousel);t.MultiFeature=l}.apply(t,u),r!==undefined&&(n.exports=r))},multiHero:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("multi-slide-carousel"),i("breakpointTracker"),i("htmlExtensions"),i("componentFactory")],r=function(n,t,i,r,u,f,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(i,r){r===void 0&&(r=null);var u=n.call(this,t.selectMultiSlideCarousel(i,r),r)||this;return u.multiHeroElement=i,u}return i.__extends(t,n),t.selectMultiSlideCarousel=function(n,t){var i=e.selectFirstElement(u.MultiSlideCarousel.selector,n);return i&&(i.setAttribute(r.ObservableComponent.mwfClassAttribute,!!t&&!!t.mwfClass?t.mwfClass:"MultiHero"),o.ComponentFactory.enumerateComponents(i,function(n){if(n===u.MultiSlideCarousel.typeName)return o.ComponentFactory.detach(i,n),!1})),i},t.prototype.update=function(){if(!n.prototype.update.call(this))return!1;var t=f.BreakpointTracker.getBreakpointTracker();return t.subscribe(this),this.updateUxMode(f.BreakpointTracker.getBreakpointTracker().getBreakpoint()<3),!0},t.prototype.teardown=function(){n.prototype.teardown.call(this);f.BreakpointTracker.getBreakpointTracker().unsubscribe(this)},t.prototype.onBreakpointChanged=function(n){this.updateUxMode(n.breakpoint<3)},t.prototype.updateUxMode=function(n){var i,r,u;if(this.sequenceIndicator&&(n&&this.slides&&this.slides.length>1?this.sequenceIndicator.show():this.sequenceIndicator.hide()),this.slides)for(i=0,r=this.slides;i<r.length;i++)u=r[i],n?u.setAttribute(t.role,t.tabPanelString):u.removeAttribute(t.role)},t.selector=".m-multi-hero",t.typeName="MultiHero",t.role="role",t.tabPanelString="tabpanel",t}(u.MultiSlideCarousel);t.MultiHero=s}.apply(t,u),r!==undefined&&(n.exports=r))},multiHeroItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("hero-item-base")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.multiHeroItemElement=t,r}return i.__extends(t,n),t.selector=".m-multi-hero-item",t.typeName="MultiHeroItem",t.callToActionSelector="a",t}(r.HeroItemBase);t.MultiHeroItem=u}.apply(t,u),r!==undefined&&(n.exports=r))},"mwf.main":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("actionBar"),i("actionMenu"),i("actionToggle"),i("alert"),i("autosuggest"),i("backToTop"),i("button"),i("channelPivot"),i("checkbox"),i("choiceSummary"),i("colorPicker"),i("combo"),i("contentPlacementItem"),i("compareChart"),i("componentFactory"),i("contentToggle"),i("dateTimePicker"),i("deviceActions"),i("dialog"),i("drawer"),i("expansionPanel"),i("feedHeroItem"),i("file"),i("flyout"),i("heroItem"),i("immersiveHeroItem"),i("inPageNavigation"),i("mosaicPlacement"),i("multiFeature"),i("multiHero"),i("multiHeroItem"),i("multi-slide-carousel"),i("navigationMenu"),i("navigationBar"),i("pageBar"),i("pageBehaviors"),i("pagination"),i("parallax"),i("persona"),i("pivot"),i("productPlacement"),i("productPlacementItem"),i("rangeSlider"),i("rating"),i("refineMenu"),i("refineItem"),i("select"),i("selectButton"),i("selectMenu"),i("sequenceIndicator"),i("single-slide-carousel"),i("slider"),i("social"),i("supplementalNavigation"),i("table"),i("toggle"),i("tooltip"),i("video"),i("videoControls"),i("video-closed-captions"),i("ttml-context"),i("ttml-parser"),i("ttml-settings"),i("ttml-time-parser"),i("videoTrigger"),i("sticky")],r=function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai,vi,yi,pi,wi,bi,ki,di,gi,nr,tr,ir,rr,ur,fr){Object.defineProperty(t,"__esModule",{value:!0});i.__exportStar(r,t);i.__exportStar(u,t);i.__exportStar(f,t);i.__exportStar(e,t);i.__exportStar(o,t);i.__exportStar(s,t);i.__exportStar(h,t);i.__exportStar(c,t);i.__exportStar(l,t);i.__exportStar(a,t);i.__exportStar(v,t);i.__exportStar(y,t);i.__exportStar(p,t);i.__exportStar(w,t);i.__exportStar(b,t);i.__exportStar(k,t);i.__exportStar(d,t);i.__exportStar(g,t);i.__exportStar(nt,t);i.__exportStar(tt,t);i.__exportStar(it,t);i.__exportStar(rt,t);i.__exportStar(ut,t);i.__exportStar(ft,t);i.__exportStar(et,t);i.__exportStar(ot,t);i.__exportStar(st,t);i.__exportStar(ht,t);i.__exportStar(ct,t);i.__exportStar(lt,t);i.__exportStar(at,t);i.__exportStar(vt,t);i.__exportStar(yt,t);i.__exportStar(pt,t);i.__exportStar(wt,t);i.__exportStar(bt,t);i.__exportStar(kt,t);i.__exportStar(dt,t);i.__exportStar(gt,t);i.__exportStar(ni,t);i.__exportStar(ti,t);i.__exportStar(ii,t);i.__exportStar(ri,t);i.__exportStar(ui,t);i.__exportStar(fi,t);i.__exportStar(ei,t);i.__exportStar(oi,t);i.__exportStar(si,t);i.__exportStar(hi,t);i.__exportStar(ci,t);i.__exportStar(li,t);i.__exportStar(ai,t);i.__exportStar(vi,t);i.__exportStar(yi,t);i.__exportStar(pi,t);i.__exportStar(wi,t);i.__exportStar(bi,t);i.__exportStar(ki,t);i.__exportStar(di,t);i.__exportStar(gi,t);i.__exportStar(nr,t);i.__exportStar(tr,t);i.__exportStar(ir,t);i.__exportStar(rr,t);i.__exportStar(ur,t);i.__exportStar(fr,t)}.apply(t,u),r!==undefined&&(n.exports=r))},"mwf.main.auto.init":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("component-auto-initializer")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});i.__exportStar(r,t)}.apply(t,u),r!==undefined&&(n.exports=r))},navigationBar:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return i.onMenuClick=function(n){i.handleMenuInteraction(u.getEventTargetOrSrcElement(n))},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){var n,i,r;if(this.menus=u.selectElements(t.navigationMenuSelector,this.element),this.menus.length!==0)for(n=0,i=this.menus;n<i.length;n++)r=i[n],u.addEvent(r,u.eventTypes.click,this.onMenuClick)},t.prototype.teardown=function(){for(var i,n=0,t=this.menus;n<t.length;n++)i=t[n],u.removeEvent(i,u.eventTypes.click,this.onMenuClick)},t.prototype.hideMenu=function(n,i){n.setAttribute(t.ariaHidden,"true");i.setAttribute(t.ariaExpanded,"false")},t.prototype.handleMenuInteraction=function(n){for(var o,s,i=0,r=this.menus;i<r.length;i++){var f=r[i],e=u.selectFirstElement("button",f),h=e.getAttribute(t.ariaControls),c=e.getAttribute(t.ariaExpanded),l=n.getAttribute(t.ariaControls);c==="true"&&h!==l&&(o=u.selectFirstElement("button",f),s=u.selectFirstElement("button + ul",f),n.parentElement.className!=="f-sub-menu"&&this.hideMenu(s,o))}},t.selector=".m-navigation-bar",t.typeName="NavigationBar",t.navigationMenuSelector=".c-navigation-menu",t.ariaControls="aria-controls",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t}(r.ObservableComponent);t.NavigationBar=f}.apply(t,u),r!==undefined&&(n.exports=r))},navigationMenu:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("utility"),i("htmlExtensions")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(i){var r=n.call(this,i)||this;return r.onTriggerClick=function(n){r.activeTrigger=f.getEventTargetOrSrcElement(n);var i=r.activeTrigger.getAttribute(t.ariaControlsAttribute);r.activeMenu=document.getElementById(i);!r.activeMenu||r.toggleVisibility()},r.onNonMenuClick=function(n){if(!!r.element&&!!r.activeMenu){n=f.getEvent(n);var t=f.getEventTargetOrSrcElement(n);r.handleOnNonMenuClick(t)}},r.handleOnNonMenuClick=function(n){r.element.contains(n)||(r.activeMenu=f.selectFirstElement("button + ul",r.element),r.activeTrigger=f.selectFirstElement("button",r.element),r.hideMenu())},r.onMenuKeydownEvent=function(n){n=f.getEvent(n);var t=u.getKeyCode(n);r.handleMenuKeydown(t)},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){var n=f.selectElements("button",this.element);n.length!==0&&(this.triggers=n,this.menus=f.selectElements("button + ul",this.element),f.addEvent(this.triggers,f.eventTypes.click,this.onTriggerClick));f.addEvent(this.element,f.eventTypes.keydown,this.onMenuKeydownEvent,!0);f.addEvent(document,f.eventTypes.click,this.onNonMenuClick)},t.prototype.teardown=function(){f.removeEvent(this.triggers,f.eventTypes.click,this.onTriggerClick);f.removeEvent(this.element,f.eventTypes.keydown,this.onMenuKeydownEvent,!0);f.removeEvent(document,f.eventTypes.click,this.onNonMenuClick)},t.prototype.toggleVisibility=function(){this.activeMenu.getAttribute(t.ariaHidden)==="true"?this.showMenu():this.hideMenu()},t.prototype.showMenu=function(){this.activeMenu.setAttribute(t.ariaHidden,"false");this.activeTrigger.setAttribute(t.ariaExpanded,"true")},t.prototype.hideMenu=function(){this.activeMenu.setAttribute(t.ariaHidden,"true");this.activeTrigger.setAttribute(t.ariaExpanded,"false")},t.prototype.handleMenuKeydown=function(n){switch(n){case 27:case 196:this.activeMenu=f.selectFirstElement("button + ul",this.element);this.activeTrigger=f.selectFirstElement("button",this.element);this.hideMenu()}},t.selector=".c-navigation-menu",t.typeName="NavigationMenu",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t.ariaControlsAttribute="aria-controls",t}(r.ObservableComponent);t.NavigationMenu=e}.apply(t,u),r!==undefined&&(n.exports=r))},observableComponent:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions")],r=function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function n(t,i){i===void 0&&(i=null);this.element=t;this.ignoreNextDOMChange=!1;this.observing=!1;n.shouldInitializeAsClass(t,i)&&this.setObserver()}return n.prototype.detach=function(){this.unObserve();this.teardown()},n.prototype.isObserving=function(){return this.observing},n.prototype.unObserve=function(){this.observing=!1;this.modernObserver&&this.modernObserver.disconnect();i.removeEvent(this.element,i.eventTypes.DOMNodeInserted,this.obsoleteNodeInsertedEventHander);i.removeEvent(this.element,i.eventTypes.DOMNodeRemoved,this.obsoleteNodeRemovedEventHandler)},n.prototype.setObserver=function(){this.observing=!0;typeof n.mutationObserver!="undefined"?this.observeModern():"MutationEvent"in window&&this.observeObsolete()},n.prototype.observeModern=function(){var t=this,i=function(n){t.onModernMutations(n)};this.modernObserver=new n.mutationObserver(i);this.modernObserver.observe(this.element,{childList:!0,subtree:!0})},n.prototype.onModernMutations=function(n){var r,u,f,e,i,o,t,s;if(this.ignoreNextDOMChange){this.ignoreNextDOMChange=!1;return}for(r=!1,u=!1,f=0,e=n;f<e.length;f++){for(i=e[f],t=0,o=i.addedNodes.length;t<o;t++)i.addedNodes[t].nodeType===Node.ELEMENT_NODE&&(r=!0,u=!0);for(t=0,s=i.removedNodes.length;t<s;t++)i.removedNodes[t].nodeType===Node.ELEMENT_NODE&&(r=!0,i.removedNodes[t]!==this.element&&(u=!0))}r&&this.teardown();u&&this.update()},n.prototype.observeObsolete=function(){var n=this;this.obsoleteNodeInsertedEventHander=i.addDebouncedEvent(this.element,i.eventTypes.DOMNodeInserted,function(){n.onObsoleteNodeInserted()});this.obsoleteNodeRemovedEventHandler=i.addDebouncedEvent(this.element,i.eventTypes.DOMNodeRemoved,function(t){n.onObsoleteNodeRemoved(t)})},n.prototype.onObsoleteNodeInserted=function(){this.ignoreNextDOMChange||(this.teardown(),this.update())},n.prototype.onObsoleteNodeRemoved=function(n){this.ignoreNextDOMChange||(this.teardown(),i.getEventTargetOrSrcElement(n)!==this.element&&this.update())},n.shouldInitializeAsClass=function(t,i){var r=t?t.getAttribute(n.mwfClassAttribute):null,u=t?t.getAttribute(n.initializeAttribute):null;return u==="false"?!1:!!t&&(!r||!!i&&r===i.mwfClass)},n.mwfClassAttribute="data-mwf-class",n.initializeAttribute="data-js-initialize",n.mutationObserver=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,n}();t.ObservableComponent=r}.apply(t,u),r!==undefined&&(n.exports=r))},pageBar:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return i.element=t,i.onWindowScrolled=function(){if(i.pageBar)if(i.scrollTarget&&i.pageBarTransition!==null){var n=u.getClientRect(i.scrollTarget).bottom;Math.round(n)!==Math.round(u.getClientRect(i.element).top)&&(u.css(i.pageBar,"transition",i.pageBarTransition),i.pageBarTransition=null);i.togglePageBar(n)}else i.togglePageBar()},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){return!this.element||!this.element.id?!1:(this.pageBar=this.element.cloneNode(!0),!this.pageBar)?!1:(this.scrollTarget=u.selectFirstElement('[data-js-page-bar-target="'+this.element.id+'"]'),this.pageBar.id=this.pageBar.id+"_generated_clone",this.pageBarTransition=u.css(this.pageBar,"transition"),u.css(this.pageBar,"transition","none"),u.addClass(this.pageBar,"f-sticky"),u.removeClass(this.pageBar,"f-hidden"),document.body.appendChild(this.pageBar),this.scrollThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.scroll,this.onWindowScrolled),this.togglePageBar(),!0)},t.prototype.teardown=function(){u.removeEvent(window,u.eventTypes.scroll,this.scrollThrottledEventHandler);u.removeElement(this.pageBar);this.pageBar=null},t.prototype.togglePageBar=function(n){n===undefined&&(n=this.scrollTarget?u.getClientRect(this.scrollTarget).bottom:u.getClientRect(document.body).top+t.scrollDistanceWithoutTarget);n<=0?u.addClass(this.pageBar,t.showClass):u.removeClass(this.pageBar,t.showClass)},t.selector=".m-page-bar",t.typeName="PageBar",t.showClass="f-show",t.scrollDistanceWithoutTarget=800,t}(r.ObservableComponent);t.PageBar=f}.apply(t,u),r!==undefined&&(n.exports=r))},pageBehaviors:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions")],r=function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function n(){i.removeClass(document.documentElement,"no-js");i.addClass(document.documentElement,"js");i.hasClass(document.body,"c_native")&&window.navigator&&typeof window.navigator.gamepadInputEmulation=="string"&&(window.navigator.gamepadInputEmulation="keyboard")}return n.typeName="PageBehaviors",n}();t.PageBehaviors=r}.apply(t,u),r!==undefined&&(n.exports=r))},pagination:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.page=-1,i.handleClickEvent=function(n){var t=u.getEventTargetOrSrcElement(n);t===i.previousButton||u.isDescendant(i.previousButton,t)?i.handleButtonClick(i.previousButton):t===i.nextButton||u.isDescendant(i.nextButton,t)?i.handleButtonClick(i.nextButton):i.setActivePage(i.getPageFromElement(t.parentElement),!0,!0)},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){var i,n;this.element&&((this.pages=u.selectElements(t.pageClassSelector,this.element),this.srContainer=u.selectFirstElement(t.srSelector,this.element),this.pages.length<2)||(i=u.selectElements(t.buttonsClassSelector,this.element),i.length===2)&&(this.previousButton=i[0].parentElement,this.nextButton=i[1].parentElement,u.addEvent(this.element,u.eventTypes.click,this.handleClickEvent),n=u.selectElements(t.activeClassSelector,this.element),n&&n.length!==0||(n=this.pages),this.setActivePage(this.getPageFromElement(n[0]),!0,!1)))},t.prototype.teardown=function(){u.removeEvent(this.element,u.eventTypes.click,this.handleClickEvent);this.page=-1;this.pages=null;this.activeItem=null;this.previousButton=null;this.nextButton=null;this.srContainer=null},t.prototype.publish=function(n,t){if(n.onPageChanged)n.onPageChanged(t)},t.prototype.getPage=function(){return this.page},t.prototype.setPage=function(n){return this.setActivePage(n,!1,!1)},t.prototype.handleButtonClick=function(n){var i=n===this.nextButton,r=n===this.previousButton,t=this.getPage();(i||r)&&this.setActivePage(t===-1?0:i?t+1:t-1,!0,!0)},t.prototype.setActivePage=function(n,i,r){var h=this.getPage();if(!f.isNumber(n)||!this.pages||!(n>=0)||!(n<this.pages.length)||n===h)return!1;if(!!this.activeItem){var e=this.activeItem.firstElementChild,a=this.activeItem.getAttribute(t.dataLabel),c=e.getAttribute(t.dataHref);this.activeItem.setAttribute(t.dataLabel,e.getAttribute(t.ariaLabel));e.setAttribute(t.dataLabel,a);e.removeAttribute("aria-current");!c||(e.setAttribute(t.href,c),e.removeAttribute(t.dataHref));u.removeClass(this.activeItem,t.activeClass)}var s=this.pages[n],o=s.firstElementChild,v=s.getAttribute(t.dataLabel),l=o.getAttribute(t.href);return s.setAttribute(t.dataLabel,o.getAttribute(t.ariaLabel)),o.setAttribute(t.dataLabel,v),o.setAttribute("aria-current","true"),this.srContainer&&(this.srContainer.innerText="Selected page "+(n+1)),!l||(o.setAttribute(t.dataHref,l),setTimeout(function(){o.removeAttribute(t.href)},0)),u.addClass(s,t.activeClass),this.activeItem=s,this.page=n,this.updateButtons(),this.initiatePublish({page:n,priorPage:h,internal:i,userinitiated:r}),!0},t.prototype.updateButtons=function(){var n=this.getPage();n!==-1&&(n===0?u.addClass(this.previousButton,t.hideClass):u.removeClass(this.previousButton,t.hideClass),n===this.pages.length-1?u.addClass(this.nextButton,t.hideClass):u.removeClass(this.nextButton,t.hideClass))},t.prototype.getPageFromElement=function(n){return!this.pages||!n?-1:this.pages.indexOf(n)},t.selector=".m-pagination",t.srSelector=".x-screen-reader",t.typeName="Pagination",t.pageClassSelector="li[data-label],li.x-page",t.buttonsClassSelector=".c-glyph",t.activeClass="f-active",t.activeClassSelector="."+t.activeClass,t.hideClass="f-hide",t.ariaLabel="aria-label",t.dataLabel="data-label",t.dataHref="data-href",t.href="href",t}(r.Publisher);t.Pagination=e}.apply(t,u),r!==undefined&&(n.exports=r))},parallax:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var r=n.call(this,i)||this;return r.element=i,r.viewportHeight=0,r.backgroundSlideRatio=.8,r.foregroundSlideRatio=0,r.animate=function(){var s=window.requestAnimationFrame||window.webkitRequestAnimationFrame,n=r.backgroundLayer,i=r.foregroundLayer,e,o,f;n||(n=u.selectFirstElement(t.parallaxBackgroundLayerSelector,r.element));i||(i=u.selectFirstElement(t.parallaxForegroundLayerSelector,r.element));e=parseFloat(i.getAttribute(t.parallaxScrollAdjustAttribute))||0;o=parseFloat(n.getAttribute(t.parallaxScrollAdjustAttribute))||.8;r.isInViewport(r.element)&&(f=(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0)-r.parallaxOffsets.y,r.setTransform(i,"0","-"+f*e+"px","0"),r.setTransform(n,r.offsetDirection,f*o+"px","0"));s(r.animate)},r.update(),r}return i.__extends(t,n),t.prototype.teardown=function(){this.foregroundLayer=null;this.backgroundLayer=null;this.primaryDirection=null;this.foregroundSlideRatio=null;this.backgroundSlideRatio=null},t.prototype.update=function(){return this.element?(this.backgroundLayer=u.selectFirstElement(t.parallaxBackgroundLayerSelector,this.element),this.foregroundLayer=u.selectFirstElement(t.parallaxForegroundLayerSelector,this.element),!this.foregroundLayer||!this.backgroundLayer)?!1:(this.primaryDirection=u.getDirection(this.element),this.offsetDirection=(this.primaryDirection===u.Direction.left?"-":"")+"50%",this.parallaxOffsets=this.getOffsets(this.element),this.foregroundSlideRatio=parseFloat(this.foregroundLayer.getAttribute(t.parallaxScrollAdjustAttribute))||this.foregroundSlideRatio,this.backgroundSlideRatio=parseFloat(this.backgroundLayer.getAttribute(t.parallaxScrollAdjustAttribute))||this.backgroundSlideRatio,this.animate(),!0):!1},t.prototype.setTransform=function(n,t,i,r){n&&u.css(n,"transform","translate3d("+t+", "+i+", "+r+")")},t.prototype.isInViewport=function(n){var t=n.getBoundingClientRect();return(t.height>0||t.width>0)&&t.bottom>=0&&t.right>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.left<=(window.innerWidth||document.documentElement.clientWidth)},t.prototype.getOffsets=function(n){var t=n.getBoundingClientRect(),i=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{y:t.top+r,x:t.left+i}},t.selector=".m-parallax",t.parallaxBackgroundLayerSelector=".c-parallax-background",t.parallaxForegroundLayerSelector=".c-parallax-foreground",t.parallaxScrollAdjustAttribute="data-parallax-scroll-ratio",t}(r.ObservableComponent);t.Parallax=f}.apply(t,u),r!==undefined&&(n.exports=r))},persona:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.personaElement=t,r.personaImageError=function(){r.hidePersonaImage()},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){return this.personaElement?(this.personaImage=u.selectFirstElementT(t.personaImageSelector,this.personaElement),this.personaImage&&(u.addEvent(this.personaImage,u.eventTypes.error,this.personaImageError),u.isImageLoadFailed(this.personaImage)?this.hidePersonaImage():this.showPersonaImage()),!0):!1},t.prototype.teardown=function(){u.removeEvent(this.personaImage,u.eventTypes.error,this.personaImageError)},t.prototype.hidePersonaImage=function(){this.personaImage.setAttribute(t.ariaHidden,"true")},t.prototype.showPersonaImage=function(){this.personaImage.removeAttribute(t.ariaHidden)},t.selector='[class*="m-persona-"]',t.typeName="Persona",t.ariaHidden="aria-hidden",t.personaImageSelector=".c-image",t}(r.ObservableComponent);t.Persona=f}.apply(t,u),r!==undefined&&(n.exports=r))},pivot:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("publisher"),i("htmlExtensions"),i("stringExtensions"),i("utility"),i("swipe")],r=function(n,t,i,r,u,f,e,o,s){Object.defineProperty(t,"__esModule",{value:!0});var h=function(n){function t(t,i){i===void 0&&(i=null);var u=n.call(this,t,i)||this;return u.pivotElement=t,u.flipperWidth=0,u.headerRect=null,u.firstTabRect=null,u.lastTabRect=null,u.headerOffset=0,u.minHeaderOffset=0,u.justificationInitialized=!1,u.initializeFlippers=function(){u.primaryFlipper||u.secondaryFlipper||(u.primaryFlipper=f.selectFirstElement(".c-pivot .c-flipper.f-previous",u.element),u.secondaryFlipper=f.selectFirstElement(".c-pivot .c-flipper.f-next",u.element),u.isInteractive&&f.addEvent([u.primaryFlipper,u.secondaryFlipper],f.eventTypes.click,u.onFlipperClicked))},u.onFlipperClicked=function(n){f.preventDefault(n);u.updateLayoutRectangles()&&(f.getEventTargetOrSrcElement(n)===u.secondaryFlipper?u.pageNext():u.pagePrevious())},u.setControllerIndex=function(n,t){if(t===void 0&&(t=!1),!u.pivotTabs||n<0||n>=u.pivotTabs.length)return!1;u.onPivotChanged(u.pivotTabs[n],t,!0);return!0},u.onPivotClicked=function(n){var e=f.getEventTargetOrSrcElement(n),t,r,i;for(e.nodeName==="A"&&f.preventDefault(n),t=0,r=u.pivotTabs;t<r.length;t++)if(i=r[t],f.isDescendantOrSelf(i,e)){f.addClass(i,"x-hidden-focus");u.onPivotChanged(i,!0,!0);break}},u.onFocus=function(n){f.isDescendantOrSelf(u.activePivotHeader,f.getEventTargetOrSrcElement(n))&&setTimeout(function(){u.pivotHeader.scrollLeft=0;u.updateLayoutRectangles()&&u.ensureActiveTabIsVisible(!0)},0)},u.onBlur=function(){f.removeClass(u.activePivotHeader,"x-hidden-focus")},u.onKeydown=function(n){var r,t=o.getKeyCode(n),s=o.getVirtualKey(n),h,e,i;if(t===13||t===32||s==="Enter"||s===" "?f.preventDefault(n):t===37||t===205||t===214||s==="ArrowLeft"?r=-1:(t===39||t===206||t===213||s==="ArrowRight")&&(r=1),r){for(f.stopPropagation(n),f.preventDefault(n),r*=u.isLtr?1:-1,h=void 0,e=0;e<u.pivotTabs.length;e++)if(u.pivotTabs[e]===u.activePivotHeader){i=e+r;i>=u.pivotTabs.length?i=0:i<0&&(i=u.pivotTabs.length-1);h=u.pivotTabs[i];break}if(h)u.onPivotChanged(h,!0,!0)}},u.onWindowResized=function(){if(u.updateLayoutRectangles()){u.updateFlippers();var n=u.getActiveTabIndex(),t=u.checkTabVisibility(n);t!==0&&t!==2&&(n<=u.getFirstVisibleTabIndex()?u.moveTabToStart(n,!1):u.moveTabToEnd(n,!1));u.pivotTabs&&u.headerOffset<u.minHeaderOffset&&u.moveTabToEnd(u.pivotTabs.length-1,!0)}},u.swipeHandler=function(n){n&&(n.direction===s.SwipeDirection.Left||n.direction===s.SwipeDirection.Right)&&(n.direction===s.SwipeDirection.Right&&u.isLtr?u.pageNext():u.pagePrevious())},r.ObservableComponent.shouldInitializeAsClass(t,i)&&u.update(),u}return i.__extends(t,n),t.prototype.update=function(){var c,e,o,h,u,i,n;if(!this.pivotElement)return!1;for(this.pivots=[],c=f.selectElements(t.panelSelector,this.element),e=0,o=c;e<o.length;e++)h=o[e],h.parentElement===this.element&&this.pivots.push(h);if(this.pivotHeader=f.selectFirstElement(t.headerSelector,this.element),this.pivotTabs=this.pivotHeader?f.selectElements(t.tabSelector,this.pivotHeader):null,!this.pivotHeader||!this.pivotTabs||this.pivotTabs.length<=1){if(u=null,this.pivotTabs&&this.pivotTabs.length&&(n=this.pivotTabs[0],f.addClass(n,t.activePivotSelector),n.setAttribute(t.ariaSelected,"true"),n.setAttribute(t.ariaSetSize,"1"),n.setAttribute(t.ariaPosInSet,"1"),u=n.getAttribute("aria-controls")),this.pivots.length){for(i=1;i<this.pivots.length;i++)this.hidePivot(this.pivots[i]);this.showPivot(this.pivots[0])}this.initiatePublish({previousIndex:NaN,currentIndex:0,activePivotId:u&&u.length?u:this.pivots.length?this.pivots[0].id:undefined,previousPivotId:null})}else{var l=this.pivotTabs.length,a=l.toString(),r=void 0;for(this.isInteractive=!f.hasClass(this.pivotElement,"f-noninteractive"),this.pivotTabJustification=f.css(this.pivotHeader,"justify-content"),this.justificationInitialized||(this.justificationInitialized=!0,this.normalJustification=this.pivotTabJustification==="normal"),i=1;i<=l;i++)n=this.pivotTabs[i-1],f.hasClass(n,t.activePivotSelector)&&(r?f.removeClass(n,t.activePivotSelector):r=n),n.setAttribute(t.tabIndexAttribute,"-1"),n.setAttribute(t.ariaSetSize,a),n.setAttribute(t.ariaPosInSet,i.toString()),this.isInteractive||n.removeAttribute("href"),n.setAttribute(t.ariaSelected,n===this.activePivotHeader?"true":"false");r||(r=this.pivotTabs[0]);this.isLtr=f.getDirection(this.pivotHeader)===f.Direction.left;this.direction=this.isLtr?f.Direction[f.Direction.left]:f.Direction[f.Direction.right];this.isInteractive&&(r.setAttribute(t.tabIndexAttribute,"0"),f.addEvent(this.pivotHeader,f.eventTypes.click,this.onPivotClicked),f.addEvent(this.pivotHeader,f.eventTypes.keydown,this.onKeydown),f.addEvent(this.pivotTabs,f.eventTypes.focus,this.onFocus),f.addEvent(this.pivotTabs,f.eventTypes.blur,this.onBlur));this.initializeFlippers();r!==this.activePivotHeader?this.updatePivot(r,!1,!1):this.updateLayoutRectangles()&&this.ensureActiveTabIsVisible();this.updateFlippers();this.resizeListener=f.addThrottledEvent(window,f.eventTypes.resize,this.onWindowResized);this.swipe=new s.Swipe([this.pivotHeader],{end:this.swipeHandler},s.SwipeOrientation.Horizontal);f.preventDefaultSwipeAction(this.pivotElement)}},t.prototype.teardown=function(){this.pivotTabs&&this.pivotTabs.length>1&&(this.isInteractive&&(f.removeEvent(this.pivotHeader,f.eventTypes.click,this.onPivotClicked),f.removeEvent(this.pivotHeader,f.eventTypes.keydown,this.onKeydown),f.removeEvent(this.pivotTabs,f.eventTypes.focus,this.onFocus),f.removeEvent(this.pivotTabs,f.eventTypes.blur,this.onBlur)),f.removeEvent(window,f.eventTypes.resize,this.resizeListener));this.primaryFlipper&&this.secondaryFlipper&&(this.hideFlipper(this.primaryFlipper),this.hideFlipper(this.secondaryFlipper),this.isInteractive&&f.removeEvent([this.primaryFlipper,this.secondaryFlipper],f.eventTypes.click,this.onFlipperClicked),this.primaryFlipper=null,this.secondaryFlipper=null);this.pivotHeader=null;this.pivots=null;this.activePivot=null;this.minHeaderOffset=0;this.headerRect=null;this.isInteractive=!1;this.swipe&&this.swipe.tearDown()},t.prototype.updateLayoutRectangles=function(){var n,i,t;return!this.pivotTabs||!this.pivotTabs.length?!1:(this.headerRect=f.getClientRect(this.pivotHeader),this.headerRect.width===0)?!1:(this.firstTabRect=f.getClientRect(this.pivotTabs[0]),this.lastTabRect=this.pivotTabs.length===1?this.firstTabRect:f.getClientRect(this.pivotTabs[this.pivotTabs.length-1]),n=this.isLtr?this.headerRect.width-this.lastTabRect.right+this.firstTabRect.left:this.headerRect.width-this.firstTabRect.right+this.lastTabRect.left,this.normalJustification||(i=f.css(this.pivotHeader,"justify-content"),t=i==="normal",n<0&&!t&&f.css(this.pivotHeader,"justify-content","normal"),n>0&&t&&this.pivotTabJustification&&this.pivotTabJustification!=="normal"&&f.css(this.pivotHeader,"justify-content",this.pivotTabJustification)),this.minHeaderOffset=Math.min(0,n),!0)},t.prototype.getActiveTabIndex=function(){if(!this.activePivotHeader)return-1;for(var n=0;n<this.pivotTabs.length;n++)if(this.activePivotHeader===this.pivotTabs[n])return n;return-1},t.prototype.getFirstVisibleTabIndex=function(){var n=this.isLtr?this.headerRect.left:this.headerRect.right,i,r;for(this.primaryFlipper&&this.primaryFlipper.getAttribute(t.ariaHidden)!=="true"&&(n=this.isLtr?n+this.flipperWidth:n-this.flipperWidth),i=0;i<this.pivotTabs.length-1;i++)if(r=f.getClientRect(this.pivotTabs[i]),this.isLtr&&r.right>=n||!this.isLtr&&r.left<=n)return i;return this.pivotTabs.length-1},t.prototype.getLastVisibleTabIndex=function(){var n=this.isLtr?this.headerRect.right:this.headerRect.left,i,r;for(this.secondaryFlipper&&this.secondaryFlipper.getAttribute(t.ariaHidden)!=="true"&&(n=this.isLtr?n-this.flipperWidth:n+this.flipperWidth),i=this.pivotTabs.length-1;i>0;i--)if(r=f.getClientRect(this.pivotTabs[i]),this.isLtr&&r.left<=n||!this.isLtr&&r.right>=n)return i;return 0},t.prototype.checkTabVisibility=function(n){var i;if(n<0||n>=this.pivotTabs.length)return 0;var r=this.headerRect.left,u=this.headerRect.right,e=this.primaryFlipper&&this.primaryFlipper.getAttribute(t.ariaHidden)!=="true",o=this.secondaryFlipper&&this.secondaryFlipper.getAttribute(t.ariaHidden)!=="true";return e&&(this.isLtr?r+=this.flipperWidth:u-=this.flipperWidth),o&&(this.isLtr?u-=this.flipperWidth:r+=this.flipperWidth),i=f.getClientRect(this.pivotTabs[n]),i.left>=r&&i.right<=u?2:i.right<r||i.left>u?0:1},t.prototype.isTabEntirelyVisible=function(n){var t=this.checkTabVisibility(n);return t===2},t.prototype.ensureActiveTabIsVisible=function(n){n===void 0&&(n=!1);var t=this.getActiveTabIndex();t!==-1&&(this.isTabEntirelyVisible(t)?this.pivotTabs&&this.headerOffset<this.minHeaderOffset&&this.moveTabToEnd(this.pivotTabs.length-1,!0):t<=this.getFirstVisibleTabIndex()?this.moveTabToStart(t,n):this.moveTabToEnd(t,n))},t.prototype.pageNext=function(){var n=this.getLastVisibleTabIndex();(this.isTabEntirelyVisible(n)||n===this.getFirstVisibleTabIndex())&&n++;this.moveTabToStart(n,!0)},t.prototype.pagePrevious=function(){var n=this.getFirstVisibleTabIndex();(this.isTabEntirelyVisible(n)||n===this.getLastVisibleTabIndex())&&n--;this.moveTabToEnd(n,!0)},t.prototype.moveTabToStart=function(n,t){if(t===void 0&&(t=!1),!(n<0)&&this.pivotTabs&&!(n>=this.pivotTabs.length)){var i=f.getClientRect(this.pivotTabs[n]),r=this.isLtr?this.firstTabRect.left-i.left:i.right-this.firstTabRect.right;n>0&&(this.showFlipper(this.primaryFlipper),r+=this.flipperWidth);this.setHeaderOffset(r,t)}},t.prototype.moveTabToEnd=function(n,t){if(t===void 0&&(t=!1),!(n<0)&&this.pivotTabs&&!(n>=this.pivotTabs.length)){var i=f.getClientRect(this.pivotTabs[n]),r=this.isLtr?this.headerRect.width-i.right+this.firstTabRect.left:this.headerRect.width-this.firstTabRect.right+i.left;n<this.pivotTabs.length-1&&(this.showFlipper(this.secondaryFlipper),r-=this.flipperWidth);this.setHeaderOffset(r,t)}},t.prototype.setHeaderOffset=function(n,i){i===void 0&&(i=!1);n=Math.min(0,Math.max(this.minHeaderOffset,n));this.headerOffset!==n&&(this.headerOffset=n,this.updateFlippers(),f.css(this.pivotHeader.children[0],"transition-duration",i?t.transitionDuration:"0s"),f.css(this.pivotHeader.children[0],"margin-"+this.direction,n+"px"))},t.prototype.updateFlippers=function(){this.headerOffset<0?this.showFlipper(this.primaryFlipper):this.hideFlipper(this.primaryFlipper);this.headerOffset>this.minHeaderOffset?this.showFlipper(this.secondaryFlipper):this.hideFlipper(this.secondaryFlipper)},t.prototype.show=function(){this.pivotElement.setAttribute(t.ariaHidden,"false");this.updateLayoutRectangles()&&(this.updateFlippers(),this.ensureActiveTabIsVisible())},t.prototype.showFlipper=function(n){n&&n.getAttribute(t.ariaHidden)!=="false"&&n.setAttribute(t.ariaHidden,"false");n&&!this.flipperWidth&&(this.flipperWidth=f.getClientRect(n).width)},t.prototype.hideFlipper=function(n){n&&n.getAttribute(t.ariaHidden)!=="true"&&n.setAttribute(t.ariaHidden,"true")},t.prototype.onPivotChanged=function(n,t,i){t===void 0&&(t=!1);i===void 0&&(i=!1);this.isDisabled()||(!n||n===this.activePivotHeader?this.updateLayoutRectangles()&&this.ensureActiveTabIsVisible():this.updatePivot(n,t,i))},t.prototype.publish=function(n,t){var i=n,r=n;if(i.onPivotChanged)i.onPivotChanged(t);if(r.onControllerIndexChanged)r.onControllerIndexChanged(t)},t.prototype.updateBrowserAddressUrl=function(n){var i=window.history,f=!!(i&&i.pushState),r,u;f&&(e.isNullOrWhiteSpace(n)||n==="#"||(r=void 0,u=o.getQSPValue(t.activeTabQSPKeyName),r=u.length>0?this.updateCurrentUrl(n):n,i.replaceState({},document.title||"",r)))},t.prototype.updateCurrentUrl=function(n){var i=location.href.split("?"),e;if(i.length===1)return n;if(i.length>1){var s=i[1].split("&"),u=[],r=[],f=o.getQSPFromUrl(n,t.activeTabQSPKeyName),h=decodeURIComponent(f).split(":");s.forEach(function(n){var i=n.split("="),e;i.length>1&&i[0]===t.activeTabQSPKeyName?(e=i[1].split("|"),e.length>=1?e.forEach(function(n){var t=decodeURIComponent(n).split(":");t[0].toLocaleLowerCase()===h[0].toLocaleLowerCase()?r.push(f):r.push(n)}):r.push(i[1])):u.push(n)});e=r.length>0?r.join("|"):f;u.push(t.activeTabQSPKeyName+"="+e);i[1]=u.join("&")}return i.join("?")},t.prototype.updatePivot=function(n,i,r){var g=!1,u=this.activePivotHeader,s,w,nt,h,c,b,tt,l,k,a,d,e;if(this.activePivotHeader=n,!!this.activePivotHeader){var it=u?u.getAttribute("aria-controls"):null,v=this.activePivotHeader?this.activePivotHeader.getAttribute("aria-controls"):null,y=void 0,p=void 0;for(s=0;s<this.pivotTabs.length;s++)if(w=this.pivotTabs[s],w===u){if(y=s,o.isNumber(p))break}else if(w===n&&(p=s,o.isNumber(y)))break;if(u&&(f.removeClass(u,t.activePivotSelector),u.setAttribute(t.ariaSelected,"false"),u.setAttribute(t.tabIndexAttribute,"-1"),g=document.activeElement===u),f.addClass(this.activePivotHeader,t.activePivotSelector),this.activePivotHeader.setAttribute(t.ariaSelected,"true"),this.isInteractive&&this.activePivotHeader.setAttribute(t.tabIndexAttribute,"0"),this.updateLayoutRectangles()&&this.ensureActiveTabIsVisible(r),this.isInteractive&&(i||g)&&(this.activePivotHeader.focus(),this.pivotHeader.scrollLeft=0),!!v){for(nt=v.split(" "),h=null,c=0,b=nt;c<b.length;c++)for(tt=b[c],l=0,k=this.pivots;l<k.length;l++)if(e=k[l],e.id===tt){h=e;break}if(!!h&&(!this.activePivot||this.activePivot!==h))for(a=0,d=this.pivots;a<d.length;a++)e=d[a],e===h?(this.showPivot(e),this.activePivot=h):this.hidePivot(e)}this.activePivotHeader.tagName==="A"&&this.updateBrowserAddressUrl(this.activePivotHeader.getAttribute("href"));this.initiatePublish({previousIndex:y,currentIndex:p,activePivotId:v,previousPivotId:it})}},t.prototype.showPivot=function(n){!n||n.setAttribute(t.ariaHidden,"false")},t.prototype.hidePivot=function(n){!n||n.setAttribute(t.ariaHidden,"true")},t.prototype.isDisabled=function(){return this.pivotElement.getAttribute(t.state)===t.disabled},t.prototype.triggerCta=function(){if(!!this.activePivot){var n=f.selectFirstElement(".c-call-to-action",this.activePivot);if(n&&n.getAttribute("aria-disabled")!=="true")return n.click(),!0}return!1},t.selector=".c-pivot",t.typeName="Pivot",t.headerSelector='[role="tablist"]',t.tabSelector='[role="tab"]',t.panelSelector='.c-pivot > [role="tabpanel"]',t.tabIndexAttribute="tabIndex",t.activeTabQSPKeyName="activetab",t.state="data-f-state",t.disabled="disabled",t.activePivotSelector="f-active",t.ariaHidden="aria-hidden",t.ariaSelected="aria-selected",t.ariaSetSize="aria-setsize",t.ariaPosInSet="aria-posinset",t.transitionDuration="600ms",t}(u.Publisher);t.Pivot=h}.apply(t,u),r!==undefined&&(n.exports=r))},productPlacement:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility"),i("handleImageError"),i("breakpointTracker")],r=function(n,t,i,r,u,f,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(t){var i=n.call(this,t)||this;return i.onWindowResize=function(){i.onResize()},i.update(),i.isFlexLayout&&!!i.products&&o.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:function(n){i.onBreakpointChanged(n)}}),i}return i.__extends(t,n),t.prototype.update=function(){var f=this,n,i,r;if(this.element){this.carousel=u.selectFirstElement(".c-carousel",this.element);this.products=u.selectFirstElement("ul",this.element);this.seeAll=u.selectFirstElement('[class^="c-heading"] .c-hyperlink[aria-label]',this.element);this.isFlexLayout=this.element.getAttribute("data-js-flex")==="true"?!0:!1;this.flexProductsLength=u.selectElements("li",this.products).length;var e=this.seeAll?this.seeAll.parentElement:null,s=u.selectElements(".f-default-image img",this.element),h=function(n){n.onerror=function(){f.handleProductPlacementImageError(n)};u.isImageLoadFailed(n)&&c.handleProductPlacementImageError(n)},c=this;for(n=0,i=s;n<i.length;n++)r=i[n],h(r);if(this.isFlexLayout&&!!this.products){this.coerceFlexProductsLength();this.onBreakpointChanged({breakpoint:o.BreakpointTracker.getBreakpointTracker().getBreakpoint(),width:0})}(!this.carousel||!this.products||!this.seeAll||u.hasClass(e,t.showAllAlwaysClass))&&(!this.isFlexLayout||!this.products)||(this.onResize(),this.resizeListener=u.addThrottledEvent(window,u.eventTypes.resize,this.onWindowResize))}},t.prototype.teardown=function(){u.removeEvent(window,u.eventTypes.resize,this.resizeListener);this.carousel=null;this.products=null;this.seeAll=null;this.resizeListener=null},t.prototype.onResize=function(){var i,n;!this.carousel||!this.products||!this.seeAll||(n=f.getDimensions(this.carousel).width,i=f.getDimensions(this.products).width,i<n?this.seeAll.setAttribute(t.ariaHidden,"true"):this.seeAll.removeAttribute(t.ariaHidden));this.isFlexLayout&&!!this.products&&(n=this.flexProductsLength*t.flexItemDefaultWidth+"px",u.css(this.products,"width",f.Viewports.getViewport()<3?n:"auto"))},t.prototype.coerceFlexProductsLength=function(){var i=u.selectElements("li",this.products),n;if(i.length>t.flexProductsMaxLength)for(this.flexProductsLength=t.flexProductsMaxLength,n=t.flexProductsMaxLength;n<i.length;n++)i[n].setAttribute("aria-hidden","true");else if(i.length<t.flexProductsMaxLength)for(n=i.length;n<t.flexProductsMaxLength;n++)this.ignoreNextDOMChange=!0,this.products.appendChild(document.createElement("li"))},t.prototype.onBreakpointChanged=function(n){var t=u.selectElements("li",this.products);n.breakpoint<2?(u.addClass(this.element,"f-scrollable"),t[7].setAttribute("aria-hidden",t[7].firstChild?"false":"true"),t[6].setAttribute("aria-hidden",t[6].firstChild?"false":"true"),t[5].setAttribute("aria-hidden",t[5].firstChild?"false":"true"),t[4].setAttribute("aria-hidden",t[4].firstChild?"false":"true")):(u.removeClass(this.element,"f-scrollable"),t[7].setAttribute("aria-hidden",n.breakpoint<4?"true":"false"),t[6].setAttribute("aria-hidden",n.breakpoint<4?"true":"false"),t[5].setAttribute("aria-hidden",n.breakpoint<3?"true":"false"),t[4].setAttribute("aria-hidden",n.breakpoint<3?"true":"false"));this.setProductImageHeight()},t.prototype.setProductImageHeight=function(){var n="default";u.selectElements('li[aria-hidden="false"] .m-product-placement-item[class*="context-movie"]',this.products).length>0?n="movie":u.selectElements('li[aria-hidden="false"] .m-product-placement-item[class*="context-device"]',this.products).length>0&&u.selectElements('li[aria-hidden="false"] .m-product-placement-item:not([class*="context-device"])',this.products).length===0&&(n="device");u.removeClasses(this.products,["f-height-default","f-height-device","f-height-movie"]);u.addClasses(this.products,["f-height-"+n,"f-visible"])},t.prototype.handleProductPlacementImageError=function(n){for(var i=!1,t=n,r,f;!i;){if(!t.parentElement)break;t=t.parentElement;u.hasClass(t,"m-product-placement-item")&&(i=!0)}i&&(r=void 0,r=u.hasClass(t,"context-app")?1:u.hasClass(t,"context-person")||u.hasClass(t,"context-artist")?2:u.hasClass(t,"context-video")?3:0,f=u.hasClass(t,"f-size-small")?1:0,e.handleImageError(n,f,r))},t.selector=".m-product-placement",t.typeName="ProductPlacement",t.flexProductsMaxLength=8,t.flexItemDefaultWidth=124,t.ariaHidden="aria-hidden",t.showAllAlwaysClass="js-product-placement-persist-show-all",t}(r.ObservableComponent);t.ProductPlacement=s}.apply(t,u),r!==undefined&&(n.exports=r))},productPlacementItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return t?(i.update(),i):i}return i.__extends(t,n),t.prototype.update=function(){this.explicit=u.selectFirstElement(t.explicitSelector,this.element);this.heading=u.selectFirstElement(t.headingSelector,this.element);this.explicit&&this.heading&&this.setExplicitPosition()},t.prototype.teardown=function(){},t.prototype.setExplicitPosition=function(){var n=u.getClientRect(this.heading).height;n<t.headingLineHeight*3&&(u.css(this.explicit,"position","relative"),u.css(this.explicit,"bottom","inherit"))},t.selector=".m-product-placement-item",t.typeName="ProductPlacementItem",t.explicitSelector=".c-explicit",t.headingSelector=".c-heading",t.headingLineHeight=20,t}(r.ObservableComponent);t.ProductPlacementItem=f}.apply(t,u),r!==undefined&&(n.exports=r))},publisher:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.element=t,r}return i.__extends(t,n),t.prototype.subscribe=function(n){if(!n)return!1;if(this.subscribers){if(this.subscribers.indexOf(n)!==-1)return!1}else this.subscribers=[];return this.subscribers.push(n),!0},t.prototype.unsubscribe=function(n){if(!n||!this.subscribers||!this.subscribers.length)return!1;var t=this.subscribers.indexOf(n);return t===-1?!1:(this.subscribers.splice(t,1),!0)},t.prototype.hasSubscribers=function(){return!!this.subscribers&&this.subscribers.length>0},t.prototype.initiatePublish=function(n){var t,i,r;if(this.hasSubscribers())for(t=0,i=this.subscribers;t<i.length;t++)r=i[t],this.publish(r,n)},t.prototype.update=function(){},t.prototype.teardown=function(){},t}(r.ObservableComponent);t.Publisher=u}.apply(t,u),r!==undefined&&(n.exports=r))},rangeSlider:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility"),i("swipe")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(i){var r=n.call(this,i)||this;return r.element=i,r.handleNumberInputChangeEvent=function(n){var e=n,o=f.getKeyCode(e),s=e.shiftKey?10:1,t=u.getEventTargetOrSrcElement(n),i=parseFloat(t.value);isNaN(i)&&(r.minimumInput===t?i=r.currentMinimumValue:r.maximumInput===t&&(i=r.currentMaximumValue));r.handleNumberInputChange(i,o,s,t)},r.handleNumberInputChange=function(n,t,i,u){t===38&&(n=n+i);t===40&&(n=n-i);r.updateFromChangedElement(u,n)},r.handleNumberInputKeyDownEvent=function(n){var i=f.getKeyCode(n),e=u.getEventTargetOrSrcElement(n),o=parseFloat(e.value),t;(i===38||i===40)&&(u.preventDefault(n),t=n.shiftKey?10:1,t=i===38?t:t*-1,o+=t,r.updateFromChangedElement(e,o))},r.updateFromChangedElement=function(n,t){var i,u;n===r.minimumInput||n===r.minimumSlider?(i=parseFloat(r.maximumInput.getAttribute("value")),u=r.minimum,isNaN(i)||t>i?(r.syncInputAndSlider(r.minimumInput,r.minimumSlider,i),r.currentMinimumValue=i):t<u?(r.syncInputAndSlider(r.minimumInput,r.minimumSlider,u),r.currentMinimumValue=u):(r.syncInputAndSlider(r.minimumInput,r.minimumSlider,t),r.currentMinimumValue=t)):(n===r.maximumInput||n===r.maximumSlider)&&(i=r.maximum,u=parseFloat(r.minimumInput.getAttribute("value")),isNaN(u)||t<u?(r.syncInputAndSlider(r.maximumInput,r.maximumSlider,u),r.currentMaximumValue=u):t>i?(r.syncInputAndSlider(r.maximumInput,r.maximumSlider,i),r.currentMaximumValue=i):(r.syncInputAndSlider(r.maximumInput,r.maximumSlider,t),r.currentMaximumValue=t));r.updateRangeUI()},r.handleSliderKeyboard=function(n){var t=u.getEventTargetOrSrcElement(n),i=f.getKeyCode(n),e=parseFloat(t.getAttribute("aria-valuenow")),o=n.shiftKey?10:1;i===(r.primaryDirection===u.Direction.left?39:37)?(r.updateFromChangedElement(t,e+o),u.preventDefault(n)):i===(r.primaryDirection===u.Direction.left?37:39)&&(r.updateFromChangedElement(t,e-o),u.preventDefault(n))},r.handleSliderMouseDown=function(n){r.swipeActive=new e.Swipe([window],{move:r.handleSliderMouseMove,end:r.handleSliderMouseUp},e.SwipeOrientation.Horizontal,["touch","pointer"],1);r.activelyAdjustedSlider=u.getEventTargetOrSrcElement(event);u.addClass(r.activelyAdjustedSlider===r.minimumSlider?r.minimumInput:r.maximumInput,t.activlyAdjustingClassName);r.mousedownReferenceLocation=n.coordinate.x;r.mousedownReferenceOffset=r.activelyAdjustedSlider.style[r.offsetDirection]},r.handleSliderMouseUp=function(){r.swipeActive&&r.swipeActive.tearDown();u.removeClass(r.activelyAdjustedSlider===r.minimumSlider?r.minimumInput:r.maximumInput,t.activlyAdjustingClassName);r.activelyAdjustedSlider=null;r.mousedownReferenceLocation=null;r.mousedownReferenceOffset=null},r.handleSliderMouseMove=function(n){r.animationFrameRequestInProgress||r.requestAnimationFrame.call(window,function(){return r.requestSliderHandleUpdate(n.coordinate.x)})},r.requestAnimationFrame=u.SafeBrowserApis.requestAnimationFrame,r.update(),r}return i.__extends(t,n),t.prototype.update=function(){if(this.element){var n=u.selectElements("input",this.element);n.length===2&&(this.minimumInput=n[0],this.maximumInput=n[1],this.minimum=parseInt(this.minimumInput.getAttribute("min"),10)||0,this.maximum=parseInt(this.maximumInput.getAttribute("max"),10)||100,this.createRangeSliderUI(),this.primaryDirection=u.getDirection(this.element),this.offsetDirection=this.primaryDirection===u.Direction.left?"left":"right",this.updateRangeUI(),u.addEvents([this.minimumInput,this.maximumInput],"change",this.handleNumberInputChangeEvent),u.addEvents([this.minimumInput,this.maximumInput],"keydown",this.handleNumberInputKeyDownEvent),u.addEvents([this.minimumSlider,this.maximumSlider],"keydown",this.handleSliderKeyboard),this.swipeDown=new e.Swipe([this.minimumSlider,this.maximumSlider],{start:this.handleSliderMouseDown},e.SwipeOrientation.All,["touch","pointer"]))}},t.prototype.teardown=function(){u.removeEvents([this.minimumInput,this.maximumInput],"change",this.handleNumberInputChangeEvent);u.removeEvents([this.minimumInput,this.maximumInput],"keydown",this.handleNumberInputKeyDownEvent);u.removeEvents([this.minimumSlider,this.maximumSlider],"keydown",this.handleSliderKeyboard);this.swipeDown&&this.swipeDown.tearDown()},t.prototype.publish=function(n,t){if(n.onValueChanged)n.onValueChanged(t)},t.prototype.createSlider=function(n){var t=document.createElement("div");return t.setAttribute("role","slider"),t.setAttribute("aria-valuemin",this.minimum.toString()||"0"),t.setAttribute("aria-valuemax",this.maximum.toString()||"100"),t.setAttribute("aria-valuenow",n.getAttribute("value")||"0"),t.setAttribute("aria-label",""),t.setAttribute("tabindex","0"),this.currentMinimumValue=this.minimum||0,this.currentMaximumValue=this.maximum||100,t},t.prototype.createRangeSliderUI=function(){if(!this.slider){this.slider=document.createElement("div");this.innerRange=document.createElement("div");this.minimumSlider=this.createSlider(this.minimumInput);this.maximumSlider=this.createSlider(this.maximumInput);this.minimumSlider.setAttribute("aria-label",this.minimumInput.getAttribute("data-js-range-slider-minimum-label"));this.maximumSlider.setAttribute("aria-label",this.maximumInput.getAttribute("data-js-range-slider-maximum-label"));this.minimumInput.removeAttribute("data-js-range-slider-minimum-label");this.maximumInput.removeAttribute("data-js-range-slider-maximum-label");this.selectedRangeIndicator=document.createElement("span");this.innerRange.appendChild(this.minimumSlider);this.innerRange.appendChild(this.maximumSlider);this.innerRange.appendChild(this.selectedRangeIndicator);this.slider.appendChild(this.innerRange);this.element.appendChild(this.slider);u.preventDefaultSwipeAction(this.element);return}},t.prototype.updateRangeUI=function(){var t=parseInt(this.minimumSlider.getAttribute("aria-valuenow"),10),i=parseInt(this.maximumSlider.getAttribute("aria-valuenow"),10),n=this.calculateOffset(t,this.maximum),r=this.calculateOffset(i,this.maximum);this.minimumSlider.style[this.offsetDirection]=n.toString().concat("%");this.maximumSlider.style[this.offsetDirection]=r.toString().concat("%");this.selectedRangeIndicator.style[this.offsetDirection]=n.toString().concat("%");this.selectedRangeIndicator.style.width=(r-n).toString().concat("%");this.initiatePublish({minimum:t,maximum:i})},t.prototype.requestSliderHandleUpdate=function(n){this.animationFrameRequestInProgress=!1;var r=n-this.mousedownReferenceLocation,t=parseFloat(this.mousedownReferenceOffset),i=r/this.innerRange.clientWidth*100,f=this.primaryDirection===u.Direction.left?t+i:t-i,e=Math.floor(f/100*this.maximum);this.updateFromChangedElement(this.activelyAdjustedSlider,e)},t.prototype.calculateOffset=function(n,t){if(isNaN(n)||isNaN(t))return 0;var i=n/t*100;return i<0?0:i>100?0:i},t.prototype.syncInputAndSlider=function(n,t,i){if(!isNaN(i)){var r=i.toString();n.setAttribute("value",r);n.value=r;t.setAttribute("aria-valuenow",r)}},t.selector=".c-range-slider",t.typeName="RangeSlider",t.activlyAdjustingClassName="f-adjusting",t}(r.Publisher);t.RangeSlider=o}.apply(t,u),r!==undefined&&(n.exports=r))},rating:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.onRatingSelect=function(n){i.handleRatingSelect(u.getEventTargetOrSrcElement(n))},i.onKeydown=function(n){var t=f.getKeyCode(n);switch(t){case 13:case 32:i.handleRatingSelect(u.getEventTargetOrSrcElement(n))}},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){this.buttons=u.selectElements("button",this.element);this.buttonClasses=this.getButtonClasses();this.userRated=u.hasClass(this.element,t.userRatedSelector);this.communityRated=u.hasClass(this.element,t.communityRatedSelector);u.addEvent(this.buttons,u.eventTypes.keydown,this.onKeydown);u.addEvent(this.buttons,u.eventTypes.click,this.onRatingSelect)},t.prototype.teardown=function(){u.removeEvent(this.buttons,u.eventTypes.keydown,this.onKeydown);u.removeEvent(this.buttons,u.eventTypes.click,this.onRatingSelect)},t.prototype.handleRatingSelect=function(n){u.addClasses(this.element,[t.userRatedSelector,t.communityRatedSelector]);this.removeButtonClasses();this.setButtonStyle(n);for(var i=0;i<this.buttons.length;i++)if(n===this.buttons[i]){this.selectedRating=i+1;break}},t.prototype.getButtonClasses=function(){for(var n=[],i=0,r=this.buttons.length;i<r;i++)u.hasClass(this.buttons[i],t.fullClass)?n.push(t.fullClass):u.hasClass(this.buttons[i],t.halfClass)?n.push(t.halfClass):u.hasClass(this.buttons[i],t.noneClass)?n.push(t.noneClass):n.push("");return n},t.prototype.removeButtonClasses=function(){for(var n=0,t=this.buttons.length;n<t;n++)u.removeClass(this.buttons[n],this.buttonClasses[n])},t.prototype.resetButtonClasses=function(){for(var n=0,i=this.buttonClasses.length;n<i;n++)u.addClasses(this.buttons[n],[this.buttonClasses[n]]),u.hasClass(this.buttons[n],t.fullClass)&&this.buttonClasses[n]!==t.fullClass&&u.removeClass(this.buttons[n],t.fullClass)},t.prototype.setButtonStyle=function(n){for(var r=!0,i=0,f=this.buttons.length;i<f;i++)r===!0?u.addClasses(this.buttons[i],[t.fullClass]):u.removeClass(this.buttons[i],t.fullClass),this.buttons[i]===n&&(r=!1)},t.selector=".c-rating.f-interactive",t.typeName="Rating",t.userRatedSelector="f-user-rated",t.communityRatedSelector="f-community-rated",t.fullClass="f-full",t.halfClass="f-half",t.noneClass="f-none",t}(r.ObservableComponent);t.Rating=e}.apply(t,u),r!==undefined&&(n.exports=r))},refineItem:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions"),i("stringExtensions")],r=function(n,t,i,r){Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function n(t){var r=this;(this.element=t,this.setSelectedLabels=function(){var t,u;if(r.selectedLabel="Active refinement:",r.unSelectedLabel="Refine by",r.element.hasAttribute(n.dataSelectedLabel)||r.element.hasAttribute(n.dataUnSelectedLabel))r.selectedLabel=r.element.getAttribute(n.dataSelectedLabel)||r.selectedLabel,r.unSelectedLabel=r.element.getAttribute(n.dataUnSelectedLabel)||r.unSelectedLabel;else for(t=r.element.parentElement;t!=null&&t.parentElement;)u=t.parentElement,i.hasClass(t,"c-refine-menu")&&(r.selectedLabel=t.getAttribute(n.dataSelectedLabel)||r.selectedLabel,r.unSelectedLabel=t.getAttribute(n.dataUnSelectedLabel)||r.unSelectedLabel,u=null),t=u;r.selectedLabel=r.selectedLabel+" {0}";r.unSelectedLabel=r.unSelectedLabel+" {0}"},this.toggleRefineItem=function(){r.changeItemState(!r.isSelected())},this.element)&&(this.element.hasAttribute("role")?(this.isRadioItem=this.element.getAttribute("role")==="radio",this.ariaAttribute=this.isRadioItem?"aria-checked":"aria-selected"):(this.isUpdatedShape=!0,this.label=i.getText(i.selectFirstElement("span",this.element))),this.setSelectedLabels(),this.changeItemState(this.isSelected()),i.addEvent(this.element,i.eventTypes.click,this.toggleRefineItem))}return n.prototype.isSelected=function(){return this.isUpdatedShape?i.hasClass(this.element,n.selectedClass):this.element.getAttribute(this.ariaAttribute)==="true"},n.prototype.changeItemState=function(t){this.isUpdatedShape?t?(i.addClass(this.element,n.selectedClass),this.element.setAttribute(n.ariaLabel,r.format(this.selectedLabel,this.label))):(i.removeClass(this.element,n.selectedClass),this.element.setAttribute(n.ariaLabel,r.format(this.unSelectedLabel,this.label))):this.element.setAttribute(this.ariaAttribute,t.toString())},n.prototype.unselectItem=function(){this.changeItemState(!1)},n.prototype.teardown=function(){i.removeEvent(this.element,i.eventTypes.click,this.toggleRefineItem)},n.selector=".c-refine-item",n.typeName="RefineItem",n.selectedClass="f-selected",n.dataSelectedLabel="data-selected-label",n.dataUnSelectedLabel="data-unselected-label",n.ariaLabel="aria-label",n}();t.RefineItem=u}.apply(t,u),r!==undefined&&(n.exports=r))},refineMenu:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("drawer"),i("utility"),i("refineItem"),i("breakpointTracker"),i("htmlExtensions")],r=function(n,t,i,r,u,f,e,o,s){Object.defineProperty(t,"__esModule",{value:!0});var h=function(n){function t(t){var i=n.call(this,t)||this;return i.onBreakpointChanged=function(n){var t=i.element.getAttribute("data-force-expand")==="true";n.breakpoint<2&&!t?i.expandMenu(!1):i.expandMenu(!0)},i.handleMenuClick=function(n){var t=s.getEventTargetOrSrcElement(n);switch(t){case i.collapseButton:i.expandMenu(!1);break;case i.expandButton:i.expandMenu(!0);break;default:i.manageRadioGroupClick(t)}},i.handleKeyDown=function(n){var t=s.getEventTargetOrSrcElement(n);if(i.getRefineItemIndex(t)!==-1)switch(f.getKeyCode(n)){case 37:case 38:i.setFocusToAdjacentRefineItem(t,!1)&&s.preventDefault(n);break;case 39:case 40:i.setFocusToAdjacentRefineItem(t,!0)&&s.preventDefault(n);break;case 32:s.preventDefault(n);t.click()}},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){if(this.element&&(this.getRefineMenuItems(),this.setTabIndexes(),this.collapseButton=s.selectFirstElement(".c-heading + button.c-action-trigger",this.element)||s.selectFirstElement(".js-collapse-refinemenu",this.element),this.expandButton=s.selectFirstElement("[data-mobile-target] + button.c-action-trigger",this.element)||s.selectFirstElement(".js-expand-refinemenu",this.element),this.mobileTarget=s.selectFirstElement("[data-mobile-target]",this.element),this.collapseButton&&this.expandButton&&this.mobileTarget)){o.BreakpointTracker.getBreakpointTracker().subscribe({onBreakpointChanged:this.onBreakpointChanged});s.addEvent(this.element,s.eventTypes.click,this.handleMenuClick);s.addEvent(this.element,s.eventTypes.keydown,this.handleKeyDown);this.onBreakpointChanged({breakpoint:o.BreakpointTracker.getBreakpointTracker().getBreakpoint(),width:0})}},t.prototype.teardown=function(){var n,t,i;for(s.removeEvent(this.element,s.eventTypes.click,this.handleMenuClick),s.removeEvent(this.element,s.eventTypes.keydown,this.handleKeyDown),this.collapseButton=null,this.expandButton=null,this.mobileTarget=null,n=0,t=this.refineItems;n<t.length;n++)i=t[n],i.teardown();this.refineItems=[]},t.prototype.manageRadioGroupClick=function(n){var u=n.nodeName==="SPAN",i=u?n.parentNode:n,t=i!=null?i.parentNode.parentNode:null,r;if(i==null||t==null)return null;this.processGroupSelection(i,t);r=null;t.parentElement.nodeName==="LI"?r=t.parentElement.parentElement:s.hasClass(t.parentElement,"c-drawer")||t.parentElement.parentElement.nodeName!=="LI"||(r=t.parentElement.parentElement.parentElement);r&&this.processGroupSelection(i,r)},t.prototype.processGroupSelection=function(n,i){var u,r,f,e,o;if(!n||!i)return null;if(u=i.getAttribute(t.selectTypeProperty)===t.singleSelectValue,!i.hasAttribute(t.selectTypeProperty)&&i.parentElement.hasAttribute("role")&&(i=i.parentNode,u=i.getAttribute("role")==="radiogroup"),u)for(r=0,f=this.refineItems;r<f.length;r++)e=f[r],o=e.element,o!==n&&s.isDescendant(i,o)&&e.unselectItem()},t.prototype.getRefineMenuItems=function(){var n,t,i;for(this.refineItems=[],n=0,t=s.selectElements(e.RefineItem.selector,this.element);n<t.length;n++)i=t[n],this.refineItems.push(new e.RefineItem(i))},t.prototype.expandMenu=function(n){this.mobileTarget.setAttribute("aria-hidden",(!n).toString());this.expandButton.setAttribute("aria-expanded",n.toString());this.collapseButton.setAttribute("aria-expanded",n.toString());s.css(this.expandButton,"display",n?"none":"block");n?this.collapseButton.focus():this.expandButton.focus()},t.prototype.setTabIndexes=function(){for(var f,n,t,o=s.selectElements(u.Drawer.selector,this.element),i=0,r=o;i<r.length;i++)if(f=r[i],n=s.selectElements(e.RefineItem.selector,f),n&&n.length)for(n[0].tabIndex=0,t=1;t<n.length;t++)n[t].tabIndex=-1},t.prototype.setFocusToAdjacentRefineItem=function(n,t){var u,i,e,o;if(!n||!n.parentElement||!n.parentElement.parentElement||(u=n.parentElement.parentElement,u.tagName!=="UL"&&u.tagName!=="OL")||(i=this.getRefineItemIndex(n),i===-1||i===0&&!t||i>=this.refineItems.length-1&&t))return!1;i+=t?1:-1;var r=this.refineItems[i].element,f=this.getContainingDrawer(n),s=this.getContainingDrawer(r);return!f||f!==s?!1:(e=document.activeElement,o=r.tabIndex,r.tabIndex=0,r.focus(),r.tabIndex=o,document.activeElement!==e)},t.prototype.getRefineItemIndex=function(n){for(var t=0;t<this.refineItems.length;t++)if(this.refineItems[t].element===n)return t;return-1},t.prototype.getContainingDrawer=function(n){return s.getParent(n,u.Drawer.selector)},t.selector=".c-refine-menu",t.typeName="RefineMenu",t.selectTypeProperty="data-js-select-type",t.singleSelectValue="single-select",t}(r.ObservableComponent);t.RefineMenu=h}.apply(t,u),r!==undefined&&(n.exports=r))},select:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("componentFactory"),i("publisher"),i("selectMenu"),i("htmlExtensions"),i("stringExtensions")],r=function(n,t,i,r,u,f,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(t){var i=n.call(this,t)||this;return i.update(),i}return i.__extends(t,n),t.prototype.update=function(){var a=this,n,it,l,h,w,b,k;if(this.element&&(this.select=e.selectFirstElementT("select",this.element),this.options=e.selectElementsT("option",this.select),this.select&&this.options)){!this.select.id&&this.element.id&&(this.select.id=this.element.id+"-select");this.selectMenuDiv?e.removeInnerHtml(this.selectMenuDiv):this.selectMenuDiv=document.createElement("div");this.selectMenuTrigger=document.createElement("button");n=document.createElement("ul");e.addClass(this.selectMenuDiv,"c-select-menu");e.addClass(this.selectMenuDiv,"f-persist");e.hasClass(this.element,"f-border")&&e.addClass(this.selectMenuDiv,"f-border");e.hasClass(this.element,"f-accent")&&e.addClass(this.selectMenuDiv,"f-accent");var c=this.select.getAttribute(t.placeHolder),v=this.select.getAttribute(t.ariaLabel),d=this.select.getAttribute(t.selectedAriaLabel),g=this.select.getAttribute(t.ariaLabelledBy),nt=this.select.getAttribute(t.selectedAriaLabelledBy),tt=this.select.getAttribute(t.ariaDescribedBy);for(c&&(this.selectMenuTrigger.setAttribute(t.placeHolder,c),e.setText(this.selectMenuTrigger,c)),v&&(c||e.setText(this.selectMenuTrigger,v),this.selectMenuTrigger.setAttribute(t.ariaLabel,v)),d&&this.selectMenuTrigger.setAttribute(t.selectedAriaLabel,d),g&&this.selectMenuTrigger.setAttribute(t.ariaLabelledBy,g),nt&&this.selectMenuTrigger.setAttribute(t.selectedAriaLabelledBy,nt),tt&&this.selectMenuTrigger.setAttribute(t.ariaDescribedBy,tt),this.selectMenuTrigger.setAttribute(t.ariaHaspopup,"true"),this.selectMenuTrigger.setAttribute(t.ariaExpanded,"false"),this.selectMenuTrigger.setAttribute("tabindex","0"),e.addClass(n,"c-menu"),e.hasClass(this.element,"f-scroll")&&e.addClass(n,"f-scroll"),n.setAttribute(t.ariaHidden,"true"),n.setAttribute("role","listbox"),n.setAttribute("tabindex","0"),e.hasClass(this.element,"f-flex")&&e.addClass(this.selectMenuDiv,"f-flex"),this.select.hasAttribute("disabled")&&(this.selectMenuDiv.setAttribute("aria-disabled","true"),this.selectMenuTrigger.disabled=!0),this.select.hasAttribute("required")&&this.selectMenuDiv.setAttribute("aria-required","true"),this.idPrefix=(this.element.id||this.select.id)+"-generated-select-menu-",this.selectMenuTrigger.id=this.idPrefix+"trigger",it=this.options.length,l=!1,h=0;h<it;h++){var u=this.options[h],y=u.getAttribute("selected"),ut=y==="selected"||y==="true"||y==="",p=u.getAttribute("disabled"),rt=p==="disabled"||p==="true"||p==="",s=document.createElement("li"),i=document.createElement("span");e.addClass(s,"c-menu-item");s.setAttribute("role","presentation");i.setAttribute("tabindex","0");i.setAttribute("role","option");e.hasClass(u,"f-context-action-trigger")&&e.addClass(i,"f-context-action-trigger");!ut||l||rt||(l=!0,i.setAttribute(t.ariaSelected,"true"));rt&&s.setAttribute("aria-disabled","true");u.hasAttribute("data-icon")&&(w=u.getAttribute("data-icon"),o.isNullOrWhiteSpace(w)||(b=document.createElement("img"),b.src=w,i.appendChild(b),e.addClass(i,"f-icon")));s.id=this.idPrefix+h.toString();u.setAttribute(t.dataValue,s.id);k=document.createElement("p");k.appendChild(document.createTextNode(e.getText(u)));i.appendChild(k);s.appendChild(i);n.appendChild(s)}l||(this.select.selectedIndex=-1);this.selectMenuDiv.appendChild(this.selectMenuTrigger);this.selectMenuDiv.appendChild(n);this.element.insertBefore(this.selectMenuDiv,this.select);this.ignoreNextDOMChange=!0;r.ComponentFactory.create([{component:f.SelectMenu,eventToBind:"DOMContentLoaded",elements:[this.selectMenuDiv],callback:function(n){!n&&!n.length||(a.selectMenu=n[0],a.selectMenu.subscribe(a))}}]);this.select.hasAttribute("autofocus")&&this.focus()}},t.prototype.teardown=function(){this.select=null;this.options=null;this.selectMenu=null},t.prototype.publish=function(n,t){n.onSelectionChanged(t)},t.prototype.onSelectionChanged=function(n){var r,u,f,i;if(!!n&&!!n.id){for(r=null,u=0,f=this.options;u<f.length;u++)i=f[u],n.id===i.getAttribute(t.dataValue)?(i.setAttribute("selected","selected"),r=i):i.removeAttribute("selected");r&&(n.id=r.value,this.initiatePublish(n))}},t.prototype.setSelectedItem=function(n){if(!n||!this.selectMenu||!this.options||!this.idPrefix)return!1;for(var t=0;t<this.options.length;t++)if(this.options[t].value===n)return this.selectMenu.setSelectedItem(this.idPrefix+t.toString());return!1},t.prototype.focus=function(){this.selectMenuTrigger.focus()},t.selector=".c-select",t.typeName="Select",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t.ariaHaspopup="aria-haspopup",t.ariaSelected="aria-selected",t.ariaLabel="aria-label",t.selectedAriaLabel="data-selected-aria-label",t.ariaLabelledBy="aria-labelledby",t.selectedAriaLabelledBy="data-selected-aria-labelledby",t.ariaDescribedBy="aria-describedby",t.placeHolder="data-placeholder",t.dataValue="data-value",t}(u.Publisher);t.Select=s}.apply(t,u),r!==undefined&&(n.exports=r))},selectButton:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return(i.onClick=function(){i.toggleCheckedState()},!t)?i:(i.update(),i)}return i.__extends(t,n),t.prototype.update=function(){if(this.buttonContainer=this.element.parentNode,this.buttonContainer){var n=this.buttonContainer.getAttribute(t.ariaLabelledBySelector);this.ariaLabelledByElement=document.getElementById(n);this.nameSelector='.c-select-button[name="'+this.element.getAttribute("name")+'"]';this.selectedText=this.element.getAttribute(t.selectedTextSelector);this.unselectedText=this.element.getAttribute(t.unselectedTextSelector);this.prepareSwatches();u.addEvent(this.element,u.eventTypes.click,this.onClick)}},t.prototype.teardown=function(){u.removeEvent(this.element,u.eventTypes.click,this.onClick)},t.prototype.prepareSwatches=function(){var n=this.element.getAttribute("data-select-button-swatch"),i=f.detectContrast(n);!i||(this.element.style.backgroundColor="#"+n,i===1&&u.addClass(this.element,t.darkSwatchClass))},t.prototype.toggleCheckedState=function(){var f=this.selectedText,n,i,r;if(this.element.getAttribute(t.multiSelectAttributeName))this.element.setAttribute(t.checkedAttributeName,this.isChecked()?"false":"true"),this.isChecked()||(f=this.unselectedText);else for(n=0,i=u.selectElements(this.nameSelector);n<i.length;n++)r=i[n],r.setAttribute(t.checkedAttributeName,r===this.element?"true":"false");u.setText(this.ariaLabelledByElement,f)},t.prototype.isChecked=function(){return this.element.getAttribute(t.checkedAttributeName)==="true"},t.selector=".c-select-button",t.typeName="SelectButton",t.checkedAttributeName="aria-checked",t.multiSelectAttributeName="data-select-button-multiselect",t.selectedTextSelector="data-js-selected-text",t.unselectedTextSelector="data-js-unselected-text",t.ariaLabelledBySelector="aria-labelledby",t.darkSwatchClass="f-swatch-dark",t}(r.ObservableComponent);t.SelectButton=e}.apply(t,u),r!==undefined&&(n.exports=r))},selectMenu:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("stringExtensions"),i("viewportCollision"),i("utility")],r=function(n,t,i,r,u,f,e,o){Object.defineProperty(t,"__esModule",{value:!0});var s=function(n){function t(t){var i=n.call(this,t)||this;return i.onTriggerClick=function(n){n=u.getEvent(n);u.preventDefault(n);i.onTriggerToggled(n)},i.onItemClick=function(n){n=u.getEvent(n);i.onItemSelected(u.getEventTargetOrSrcElement(n),!1,!0);i.trigger.focus()},i.onNonSelectMenuClick=function(n){if(n=u.getEvent(n),!!i.element&&!!i.menu){var t=u.getEventTargetOrSrcElement(n);i.element.contains(t)||t!==i.menu&&t.parentElement!==i.menu&&i.collapse()}},i.onNonSelectMenuTab=function(n){n=u.getEvent(n);var t=o.getKeyCode(n);t===9&&i.collapse()},i.onTriggerKeyPress=function(n){n=u.getEvent(n);var t=o.getKeyCode(n);switch(t){case 13:case 32:u.preventDefault(n);i.onTriggerToggled()}},i.handleMenuKeydownEvent=function(n){n=u.getEvent(n);var t=o.getKeyCode(n);t!==9&&i.isExpanded()&&u.preventDefault(n);i.handleMenuKeydown(u.getEventTargetOrSrcElement(n),t,n)},i.isOptionDisabled=function(n){var t=u.getParent(n,".c-menu-item");return t&&t.getAttribute("aria-disabled")==="true"},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){var c,f,e,o,l,a,s,i,r,h,n,v;if(this.element&&(this.persist=u.hasClass(this.element,"f-persist"),this.trigger=u.selectFirstElementT('[role="button"]',this.element),this.trigger||(this.trigger=u.selectFirstElementT("button",this.element)),this.trigger&&(!this.trigger.id&&this.element.id&&(this.trigger.id=this.element.id+"-trigger"),c=this.trigger.getAttribute(t.placeHolder)||u.getText(this.trigger),this.element.setAttribute(t.placeHolder,c),f=this.trigger.getAttribute(t.ariaLabel),e=this.trigger.getAttribute(t.ariaLabelledBy),f&&this.element.setAttribute(t.defaultAriaLabel,f),e&&this.element.setAttribute(t.defaultAriaLabelledBy,e)),this.menu=u.selectFirstElement(".c-menu",this.element),o=u.selectElementsT(".c-menu-item a",this.element),this.items=o.length>0?o:u.selectElementsT(".c-menu-item span",this.element),this.isLtr=u.getDirection(this.menu)===u.Direction.left,this.persist&&(l=!!u.selectFirstElement("img",this.menu),l&&(this.ignoreNextDOMChange=!0,a=document.createElement("img"),s=document.createElement("span"),u.setText(s,u.getText(this.trigger)),u.setText(this.trigger,""),this.trigger.appendChild(a),this.trigger.appendChild(s))),!!this.trigger&&!!this.menu&&!!this.items&&!!this.items.length)){for(i=null,u.hasClass(this.menu,t.fScroll)&&u.addClass(this.element,t.fScroll),this.items.length<=t.fScrollItems?u.removeClass(this.menu,t.fScroll):u.hasClass(this.element,t.fScroll)&&u.addClass(this.menu,t.fScroll),r=0,h=this.items;r<h.length;r++)n=h[r],this.itemIsSelected(n)&&i===null?(i=n,n.setAttribute(this.getSelectedAttribute(n),"true")):n.setAttribute(this.getSelectedAttribute(n),"false"),n.setAttribute("tabindex","-1"),this.cleanSelectedAttributes(n),n.hasAttribute("role")||n.setAttribute("role","menuitem");v=this.isExpanded();this.onItemSelected(i,!0,!1);this.selectedItem||this.updateAriaLabel();this.addEventListeners();v&&this.expand()}},t.prototype.teardown=function(){var n,t,i;for(u.removeEvent(this.trigger,u.eventTypes.click,this.onTriggerClick),u.removeEvent(this.trigger,u.eventTypes.keydown,this.onTriggerKeyPress),u.removeEvent(this.menu,u.eventTypes.keydown,this.handleMenuKeydownEvent,!0),n=0,t=this.items;n<t.length;n++)i=t[n],u.removeEvent(i,u.eventTypes.click,this.onItemClick);u.removeEvent(document,u.eventTypes.click,this.onNonSelectMenuClick);u.removeEvent(this.items[this.items.length-1],u.eventTypes.keydown,this.onNonSelectMenuTab);this.persist=!1;this.trigger=null;this.menu=null;this.items=null;this.selectedItem=null},t.prototype.setSelectedItem=function(n){if(!n||!this.element)return!1;var t=u.selectFirstElement('[id="'+n+'"] > a',this.element)||u.selectFirstElement('[id="'+n+'"] > span',this.element);return t?this.onItemSelected(t,!1,!1):!1},t.prototype.updateAriaLabel=function(){if(this.selectedItem){var e=this.trigger.getAttribute(t.selectedAriaLabel)||this.trigger.getAttribute(t.dataAriaLabelFormat)||this.trigger.getAttribute(t.ariaLabel),o=this.trigger.getAttribute(t.selectedAriaLabelledBy)||this.trigger.getAttribute(t.ariaLabelledBy),s=this.selectedItem?this.selectedItem.getAttribute(t.ariaLabel)||u.getText(this.selectedItem):u.getText(this.trigger),h=e?f.format(e,s):s;this.trigger.setAttribute(t.ariaLabel,h);o&&this.trigger.setAttribute(t.ariaLabelledBy,f.format(o,this.trigger.id))}else{this.trigger.removeAttribute(t.ariaLabel);this.trigger.removeAttribute(t.ariaLabelledBy);var n=this.element.getAttribute(t.placeHolder),i=this.element.getAttribute(t.defaultAriaLabel),r=this.element.getAttribute(t.defaultAriaLabelledBy);n&&u.setText(this.trigger,n);i&&this.trigger.setAttribute(t.ariaLabel,f.format(i,u.getText(this.trigger)));r&&this.trigger.setAttribute(t.ariaLabelledBy,f.format(r,this.trigger.id))}},t.prototype.isExpanded=function(){return!!this.trigger&&!!this.menu&&this.trigger.getAttribute(t.ariaExpanded)==="true"&&this.menu.getAttribute(t.ariaHidden)==="false"},t.prototype.itemIsSelected=function(n){return n.getAttribute(t.ariaSelected)==="true"||n.getAttribute(t.ariaChecked)==="true"},t.prototype.getSelectedAttribute=function(n){return n.getAttribute("role")==="menuitemradio"?t.ariaChecked:t.ariaSelected},t.prototype.cleanSelectedAttributes=function(n){var i=this.getSelectedAttribute(n)===t.ariaSelected?t.ariaChecked:t.ariaSelected;n.removeAttribute(i)},t.prototype.positionMenu=function(){var i=u.css(this.element,"float"),r=i==="right",o=!r&&i==="left",f=o?!0:r||!this.isLtr?!1:!0,n,t;u.css(this.menu,"top","auto");u.css(this.menu,"bottom","auto");u.css(this.menu,f?"left":"right","0");u.css(this.menu,"height","auto");n=e.getCollisionExtents(this.menu);!n||((n.right<0||n.left<0)&&(n.clientRect.width<=n.viewport.width?f?u.css(this.menu,"left",n.right+"px"):u.css(this.menu,"right",n.left+"px"):(u.css(this.menu,"left",-n.left+"px"),u.css(this.menu,"width",n.viewport.width+"px"))),n.bottom<0&&(t=parseFloat(u.css(this.trigger,"height")),n.clientRect.height+t<=n.top?u.css(this.menu,"bottom",t+"px"):n.clientRect.height<=n.viewport.height?u.css(this.menu,"top",n.bottom+t+"px"):(u.css(this.menu,"top",-n.top+t+"px"),u.css(this.menu,"height",n.viewport.height+"px"))))},t.prototype.expand=function(){if(!!this.trigger&&!!this.menu&&(this.trigger.setAttribute(t.ariaExpanded,"true"),this.menu.setAttribute(t.ariaHidden,"false"),this.positionMenu(),!!this.items)){var n=this.items.indexOf(this.selectedItem),i=n===-1?0:n,r=this.items[i];r.focus()}},t.prototype.collapse=function(){!this.trigger||!this.menu||(this.trigger.setAttribute(t.ariaExpanded,"false"),this.menu.setAttribute(t.ariaHidden,"true"))},t.prototype.addEventListeners=function(){var n,t,i;if(!!this.trigger&&!!this.items){for(u.addEvent(this.trigger,u.eventTypes.click,this.onTriggerClick),u.addEvent(this.trigger,u.eventTypes.keydown,this.onTriggerKeyPress),u.addEvent(this.menu,u.eventTypes.keydown,this.handleMenuKeydownEvent,!0),n=0,t=this.items;n<t.length;n++)i=t[n],u.addEvent(i,u.eventTypes.click,this.onItemClick);u.addEvent(this.items[this.items.length-1],u.eventTypes.keydown,this.onNonSelectMenuTab);u.addEvent(document,u.eventTypes.click,this.onNonSelectMenuClick)}},t.prototype.onTriggerToggled=function(n){this.element.getAttribute("aria-disabled")!=="true"&&(this.isExpanded()?this.collapse():this.expand(n))},t.prototype.onItemSelected=function(n,t,i){var e,f,o,s,h,r;if(!n||n===this.selectedItem)return this.collapse(),!1;if((n.nodeName==="P"||n.nodeName==="IMG")&&(n=n.parentElement),!this.isOptionDisabled(n)){for(this.persist&&this.trigger&&(e=u.selectFirstElementT("img",this.trigger),this.ignoreNextDOMChange=!0,e?(f=u.selectFirstElementT("img",n),o=f?f.getAttribute("src"):"",e.setAttribute("src",o),s=u.selectFirstElementT("span",this.trigger),u.setText(s,u.getText(n)),u.hasClass(this.trigger,"f-icon")&&!f?u.removeClass(this.trigger,"f-icon"):!u.hasClass(this.trigger,"f-icon")&&f&&u.addClass(this.trigger,"f-icon")):u.setText(this.trigger,u.getText(n))),this.selectedItem&&this.selectedItem.setAttribute(this.getSelectedAttribute(this.selectedItem),"false"),this.selectedItem=n,this.selectedItem.setAttribute(this.getSelectedAttribute(this.selectedItem),"true"),this.updateAriaLabel(),this.collapse(),h=null,r=this.selectedItem;r&&r.parentElement!==this.menu;)r=r.parentElement;return r&&this.initiatePublish({id:r.id,href:this.selectedItem.getAttribute("href"),internal:t,userInitiated:i}),!0}},t.prototype.publish=function(n,t){if(!!this.selectedItem)n.onSelectionChanged(t)},t.prototype.handleMenuKeydown=function(n,t,i){i===void 0&&(i=null);switch(t){case 32:case 13:this.handleMenuEnterKey(n);this.trigger.focus();break;case 27:this.trigger.focus();this.collapse();i&&i.stopPropagation();break;case 38:case 203:case 211:this.handleMenuArrowKey(!0,n);break;case 40:case 204:case 212:this.handleMenuArrowKey(!1,n);break;case 9:this.isExpanded()&&this.handleMenuEnterKey(n)}},t.prototype.handleMenuArrowKey=function(n,t){var r=this.items.indexOf(t),u,i;if(r!==-1){u=n?-1:1;i=r;do i+=u,(i<0||i>=this.items.length)&&(i=r);while(i!==r&&this.isOptionDisabled(this.items[i]));this.items[i].focus()}},t.prototype.handleMenuEnterKey=function(n){this.onItemSelected(n,!1,!0)},t.selector=".c-select-menu",t.typeName="SelectMenu",t.dataAriaLabelFormat="data-aria-label-format",t.selectedAriaLabel="data-selected-aria-label",t.selectedAriaLabelledBy="data-selected-aria-labelledby",t.ariaExpanded="aria-expanded",t.ariaHidden="aria-hidden",t.ariaSelected="aria-selected",t.ariaLabel="aria-label",t.ariaLabelledBy="aria-labelledby",t.ariaChecked="aria-checked",t.placeHolder="data-placeholder",t.defaultAriaLabel="data-default-aria-label",t.defaultAriaLabelledBy="data-default-aria-labelledby",t.fScroll="f-scroll",t.fScrollItems=5,t}(r.Publisher);t.SelectMenu=s}.apply(t,u),r!==undefined&&(n.exports=r))},sequenceIndicator:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("publisher"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(i,u){u===void 0&&(u=null);var o=n.call(this,i,u)||this;return o.sequenceIndicatorElement=i,o.selectedAttribute=t.ariaSelected,o.setActiveIndex=function(n){return e.apiDeprecated("SequenceIndicator.setActiveIndex() is deprecated, please use SequenceIndicator.setControllerIndex() instead."),o.setControllerIndex(n)},o.setControllerIndex=function(n,t,i){if(t===void 0&&(t=!1),i===void 0&&(i=!1),n<0||n>o.items.length-1||n===o.activeIndex)return!1;var f=o.activeIndex,r=o.items[o.activeIndex],u=o.items[n],e=document.activeElement===r;return o.deselectItem(r),o.selectItem(u,i),o.activeIndex=n,(t||e)&&u.focus(),o.initiatePublish({previousIindex:f,currentIndex:n,index:n}),!0},o.handleClickEvent=function(n){var t,i;f.preventDefault(n);t=f.getEventTargetOrSrcElement(n);t&&(i=t.getAttribute("role"),!i&&t.parentElement&&(t=t.parentElement.getAttribute("role")==="tab"?t.parentElement:null),o.setControllerIndex(o.items.indexOf(t),!1,!0))},o.onKeydown=function(n){var t=!1,i=!1;switch(e.getKeyCode(n)){case 39:case 206:case 213:i=!0;break;case 37:case 205:case 214:t=!0;break;default:switch(e.getVirtualKey(n)){case"ArrowRight":i=!0;break;case"ArrowLeft":t=!0}}(t||i)&&(f.stopPropagation(n),f.preventDefault(n),t&&!o.isLtr||i&&o.isLtr?o.next():(t&&o.isLtr||i&&!o.isLtr)&&o.previous())},r.ObservableComponent.shouldInitializeAsClass(i,u)&&o.update(),o}return i.__extends(t,n),t.prototype.update=function(){var r,i,u,n;if(!this.sequenceIndicatorElement||(this.sequenceIndicatorElement.getAttribute("role")==="radiogroup"&&(this.selectedAttribute=t.ariaChecked),this.isInteractive=!f.hasClass(this.sequenceIndicatorElement,"f-noninteractive"),this.items=f.selectElements(this.constructor.itemSelector,this.sequenceIndicatorElement),!this.items.length))return!1;for(i=0,u=this.items;i<u.length;i++)n=u[i],n.getAttribute(this.selectedAttribute)===t.selectedValue&&(r=this.items.indexOf(n)),this.deselectItem(n),this.isInteractive||(n.setAttribute("tabIndex","-1"),n.setAttribute("disabled",""));return this.selectItem(this.items[r||0]),this.setControllerIndex(r||0),this.isInteractive&&(this.isLtr=f.getDirection(this.sequenceIndicatorElement)===f.Direction.left,f.addEvent(this.sequenceIndicatorElement,f.eventTypes.click,this.handleClickEvent),f.addEvent(this.sequenceIndicatorElement,f.eventTypes.keydown,this.onKeydown,!0)),!0},t.prototype.teardown=function(){this.isInteractive&&(f.removeEvent(this.sequenceIndicatorElement,f.eventTypes.click,this.handleClickEvent),f.removeEvent(this.sequenceIndicatorElement,f.eventTypes.keydown,this.onKeydown))},t.prototype.publish=function(n,t){var i=n,r=n;if(i.onIndexChanged)i.onIndexChanged(t);if(r.onControllerIndexChanged)r.onControllerIndexChanged(t)},t.prototype.selectItem=function(n,i){i===void 0&&(i=!1);!n||(n.setAttribute(this.selectedAttribute,t.selectedValue),this.isInteractive&&n.setAttribute("tabindex","0"),f.addClass(n,t.activeItemClass),i&&n.getAttribute("role")==="tab"&&f.addClass(n,"x-hidden-focus"))},t.prototype.deselectItem=function(n){!n||(n.setAttribute(this.selectedAttribute,t.deselectedValue),this.isInteractive&&n.setAttribute("tabindex","-1"),f.removeClass(n,t.activeItemClass),n.getAttribute("role")==="tab"&&f.removeClass(n,"x-hidden-focus"))},t.prototype.show=function(){this.sequenceIndicatorElement&&this.sequenceIndicatorElement.setAttribute("aria-hidden","false")},t.prototype.hide=function(){this.sequenceIndicatorElement&&this.sequenceIndicatorElement.setAttribute("aria-hidden","true")},t.prototype.next=function(){var n;n=this.activeIndex===this.items.length-1?0:this.activeIndex+1;this.setControllerIndex(n)},t.prototype.previous=function(){var n;n=this.activeIndex===0?this.items.length-1:this.activeIndex-1;this.setControllerIndex(n)},t.selector=".c-sequence-indicator",t.typeName="SequenceIndicator",t.itemSelector="button",t.selectedValue="true",t.deselectedValue="false",t.ariaSelected="aria-selected",t.ariaChecked="aria-checked",t.activeItemClass="f-active",t}(u.Publisher);t.SequenceIndicator=o}.apply(t,u),r!==undefined&&(n.exports=r))},"single-slide-carousel":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("carousel-base"),i("htmlExtensions"),i("utility"),i("utility")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.carouselElement=t,r.nextFocusIndex=function(n){return n>=r.focusElements.length-1?-1:n+1},r.previousFocusIndex=function(n){return n<=0?-1:n-1},r.scrollFocusItemLI=function(n){while(n.tagName!=="LI")if(!n.parentElement||n.parentElement===n)break;else n=n.parentElement;n.tagName==="LI"&&r.scrollItemIntoView(n)},r.onFocus=function(){var n=u.getEventTargetOrSrcElement(event);n&&r.focusElements.indexOf(n)>-1&&r.scrollFocusItemLI(n)},r.onKeydown=function(n){var o=u.getEventTargetOrSrcElement(n),f,i;if(o){var t=e.getKeyCode(n),s=t===9&&n.shiftKey||(t===205||t===214)&&r.directionValue==="left"||(t===206||t===213)&&r.directionValue==="right",h=t===9||(t===205||t===214)&&r.directionValue==="right"||(t===206||t===213)&&r.directionValue==="left";s?(f=r.focusElements.indexOf(o),i=r.previousFocusIndex(f),i>-1&&r.scrollFocusItemLI(r.focusElements[i])):h&&(f=r.focusElements.indexOf(o),i=r.nextFocusIndex(f),i>-1&&r.scrollFocusItemLI(r.focusElements[i]))}},r.onResized=function(){r.onCarouselResized()},r}return i.__extends(t,n),t.prototype.update=function(){if(!n.prototype.update.call(this))return!1;this.resizeThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.resize,this.onResized);var i=u.hasClass(this.slides[0],"f-gallery")?t.focusGalleryItemSelector:t.focusItemSelector;return this.focusElements=u.selectElements(i,this.carouselElement),u.addEvent(this.focusElements,u.eventTypes.keydown,this.onKeydown),u.addEvent(this.focusElements,u.eventTypes.focus,this.onFocus),!0},t.prototype.teardown=function(){n.prototype.teardown.call(this);u.removeEvent(window,u.eventTypes.resize,this.resizeThrottledEventHandler);u.removeEvent(this.focusElements,u.eventTypes.focus,this.onFocus);u.removeEvent(this.focusElements,u.eventTypes.keydown,this.onKeydown)},t.prototype.getSlides=function(){var n=u.selectElements(t.singleSlideSelector,this.carouselElement);return n&&n.length&&u.selectFirstElement("li",n[0])?(this.singleSlideWidth=f.getDimensions(n[0]).width,n):null},t.prototype.getFirstActiveIndex=function(){return 0},t.prototype.isScrollablePrevious=function(){var n=parseInt(u.css(this.slides[this.activeIndex],this.directionValue),10);return!isNaN(n)&&n!==0},t.prototype.isScrollableNext=function(){var n=parseInt(u.css(this.slides[this.activeIndex],this.directionValue),10),t=f.getDimensions(this.carouselElement).width,i=this.getCurrentSlideSize();return(f.isNumber(n)||(n=0),t+Math.abs(n)+i.gutter>=this.singleSlideWidth)?!1:!0},t.prototype.previousSlide=function(){this.changeSingleSlide(!1)},t.prototype.nextSlide=function(){this.changeSingleSlide(!0)},t.prototype.changeSingleSlide=function(t){var l=this.slides[this.activeIndex],e=parseInt(u.css(l,this.directionValue),10),i=this.getCurrentSlideSize(),o=f.getDimensions(this.carouselElement).width,r=Math.floor(o/(i.width+i.gutter)),s,a=t?-1:1,v=t?i.gutter:0,h,c;f.isNumber(e)||(e=0);r===0&&(r=1);r=o%(i.width+i.gutter)==0?r-1:r;r=Math.max(r,1);s=r*(i.width+i.gutter);h=t?this.singleSlideWidth-o+e:Math.abs(e);c=s<=h?s*a+e:h*a+e+v;u.css(l,this.directionValue,c+"px");n.prototype.updateFlippers.call(this);this.fireSingleSlideChangedNotification(c,o,i)},t.prototype.fireSingleSlideChangedNotification=function(t,i,f){for(var h,c,v=u.selectElements(r.CarouselBase.allChildSelectors,this.carouselElement),y=f.width,p=f.width+f.gutter,l=-1,o=-1,s=-1,a=-1,e=0;e<v.length;e++)if((h=e*p+t,c=h+y,!(c<0))&&(h<0&&c>0&&(l=e),s===-1&&h>=0&&(s=e,l===-1&&(l=s)),s!==-1&&c<=i&&(a=e),a!==-1&&o===-1&&h<i&&c>i)){o=e;break}o===-1&&(o=a);n.prototype.initiatePublish.call(this,{fullyVisibleItemRange:[s,a],partiallyVisibleItemRange:[l,o],userInitiated:!0})},t.prototype.getCurrentSlideSize=function(){var n=u.selectFirstElement(r.CarouselBase.allChildSelectors,this.carouselElement),t;return!n?{width:0,gutter:0}:(t=this.direction===u.Direction.left?parseInt(u.css(n,"marginRight"),10):parseInt(u.css(n,"marginLeft"),10),{width:n.offsetWidth,gutter:isNaN(t)?0:t})},t.prototype.onCarouselResized=function(){var i=this.slides[0],t=parseInt(u.css(i,this.directionValue),10),r=f.getDimensions(this.carouselElement).width;this.singleSlideWidth=f.getDimensions(this.slides[0]).width;!isNaN(t)&&t<0&&this.singleSlideWidth+t<r&&u.css(i,this.directionValue,Math.min(0,r-this.singleSlideWidth)+"px");n.prototype.updateFlippers.call(this)},t.prototype.scrollItemIntoView=function(t){var l=this,o=f.getDimensions(this.carouselElement).width,e=this.slides[0],i=t.offsetLeft,r=this.getCurrentSlideSize(),s=!1,h,c;this.direction===u.Direction.left?(h=parseInt(u.css(e,"left"),10)||0,h<0&&-h>i?(i!==0&&(i=-i+1),s=!0):h+i>o-r.width&&(i=o-r.width-i-1,s=!0)):(c=f.getDimensions(e).width,i+r.width+r.gutter+e.offsetLeft>o?(i=-(c-i-r.width-r.gutter)+1,s=!0):i+e.offsetLeft<0&&(i=o-(c-i-r.gutter)-1,s=!0));s&&(u.css(e,this.directionValue,i+"px"),n.prototype.updateFlippers.call(this),setTimeout(function(){e.parentElement.scrollLeft=0;l.fireSingleSlideChangedNotification(i,o,r)},0))},t.selector=".c-carousel[class*=f-single-slide]",t.typeName="SingleSlideCarousel",t.singleSlideSelector=r.CarouselBase.selector+" > * > ul",t.focusItemSelector=r.CarouselBase.selector+" > * > ul > li > section a, * > ul > li > section button, * > ul > li > div a",t.focusGalleryItemSelector=r.CarouselBase.selector+" > * > ul > li a",t}(r.CarouselBase);t.SingleSlideCarousel=o}.apply(t,u),r!==undefined&&(n.exports=r))},slider:function(n,t,i){"use strict";var u,r,f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(n){function t(t){var i=n.call(this,t)||this;return i.onKeyPressed=function(n){var t,r,f,e;switch(n){case 37:case 39:i.isVerticalSlider||(t=i.primaryDirection===u.Direction.left?i.stepOffset:-i.stepOffset,t=n===37?-t:t,i.updateThumbOffset(i.thumbOffset+t,!0,!0),u.preventDefault(u.getEvent(event)));break;case 38:case 40:i.isVerticalSlider&&(t=n===38?i.stepOffset:-i.stepOffset,i.updateThumbOffset(i.thumbOffset+t,!0,!0),u.preventDefault(u.getEvent(event)));break;case 33:u.preventDefault(u.getEvent(event));t=2*i.stepOffset;i.updateThumbOffset(i.thumbOffset+t,!0,!0);break;case 34:u.preventDefault(u.getEvent(event));t=-(2*i.stepOffset);i.updateThumbOffset(i.thumbOffset+t,!0,!0);break;case 36:u.preventDefault(u.getEvent(event));r=parseInt(i.input.getAttribute("min"),10)||0;i.updateThumbOffset(r,!0,!0);break;case 35:u.preventDefault(u.getEvent(event));f=parseInt(i.input.getAttribute("step"),10);e=i.thumbRange+f;i.updateThumbOffset(e,!0,!0)}},i.onKeyDown=function(n){i.onKeyPressed(e.getKeyCode(u.getEvent(n)))},i.onMouseDown=function(n){if(n=u.getEvent(n),i.setupDimensions(),u.getEventTargetOrSrcElement(n)===i.thumb){u.addEvent(document,u.eventTypes.mousemove,i.onMouseMove);u.addEvent(document,u.eventTypes.mouseup,i.onMouseUp);u.addEvent(document,u.eventTypes.touchmove,i.onMouseMove);u.addEvent(document,u.eventTypes.touchcancel,i.onMouseUp);return}i.moveThumbTo(n.clientX,n.clientY)},i.onMouseMove=function(n){if(n.type==="mousemove"&&(n=u.getEvent(n)),n.type==="touchmove"){var t=u.getEvent(n);n=t.targetTouches[0]}i.moveThumbTo(n.clientX,n.clientY)},i.onMouseUp=function(){u.removeEvent(document,u.eventTypes.mousemove,i.onMouseMove);u.removeEvent(document,u.eventTypes.mouseup,i.onMouseUp);u.removeEvent(document,u.eventTypes.touchmove,i.onMouseMove);u.removeEvent(document,u.eventTypes.touchcancel,i.onMouseUp)},i.onWindowResized=function(){i.setupDimensions()},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){if(this.element){this.input=u.selectFirstElement("input",this.element);this.primaryDirection=u.getDirection(this.element);this.isVerticalSlider=u.hasClass(this.input,"f-vertical");u.preventDefaultSwipeAction(this.element,!this.isVerticalSlider);u.addClass(this.input,"x-screen-reader");var n=parseInt(this.input.getAttribute("min"),10)||0,t=parseInt(this.input.getAttribute("max"),10)||100,i=parseInt(this.input.getAttribute("value"),10),r=parseInt(this.input.getAttribute("step"),10);this.element.children[this.element.children.length-1]===this.input?(this.mockSlider=document.createElement("div"),this.thumb=document.createElement("button"),this.thumb.setAttribute("role","slider"),this.thumb.setAttribute("aria-valuemin",n.toString()),this.thumb.setAttribute("aria-valuemax",t.toString()),this.thumb.setAttribute("aria-valuenow",i.toString()),this.input.hasAttribute("aria-label")&&this.thumb.setAttribute("aria-label",this.input.getAttribute("aria-label")),this.valueTooltip=document.createElement("span"),this.track=document.createElement("span"),this.thumb.appendChild(this.valueTooltip),this.mockSlider.appendChild(this.thumb),this.mockSlider.appendChild(this.track),this.element.appendChild(this.mockSlider),this.ignoreNextDOMChange=!0):(this.mockSlider=this.element.children[this.element.children.length-1],this.thumb=this.mockSlider.firstElementChild,this.valueTooltip=this.thumb.firstElementChild,this.track=this.mockSlider.children[this.mockSlider.children.length-1]);this.halfThumbOffset=this.thumb.clientWidth/2;this.resetSliderInternal(n,t,i,r,!0)&&(u.addEvent(this.element,u.eventTypes.mousedown,this.onMouseDown),u.addEvent(this.element,u.eventTypes.touchstart,this.onMouseDown),u.addEvent(this.thumb,u.eventTypes.keydown,this.onKeyDown),this.resizeListener=u.addDebouncedEvent(window,u.eventTypes.resize,this.onWindowResized))}},t.prototype.teardown=function(){u.removeEvent(this.element,u.eventTypes.mousedown,this.onMouseDown);u.removeEvent(this.element,u.eventTypes.touchstart,this.onMouseDown);u.removeEvent(this.thumb,u.eventTypes.keydown,this.onKeyDown);u.removeEvent(window,u.eventTypes.resize,this.resizeListener);this.input=null;this.mockSlider=null;this.thumb=null;this.valueTooltip=null;this.track=null;this.resizeListener=null},t.prototype.resetSlider=function(n,t,i,r){return this.resetSliderInternal(n,t,i,r,!1)},t.prototype.resetSliderInternal=function(n,t,i,r,u){return!e.isNumber(n)||!e.isNumber(t)?!1:Math.max(n,t)-Math.min(n,t)<=0?!1:(this.min=Math.min(n,t),this.max=Math.max(n,t),this.range=this.max-this.min,this.step=isNaN(r)?this.range/10:r,this.value=Math.min(Math.max(isNaN(i)?isNaN(this.value)?this.min:this.value:i,this.min),this.max),this.setupDimensions(),this.updateThumbOffset(this.thumbOffset,u,!1,this.value),!0)},t.prototype.setValue=function(n){return!e.isNumber(n)||n<this.min||n>this.max?!1:(n!==this.value&&(this.thumbOffset=(n-this.min)*this.thumbRange/this.range+this.halfThumbOffset,this.updateThumbOffset(this.thumbOffset,!1,!1,n)),!0)},t.prototype.setupDimensions=function(){this.dimensions=u.getClientRect(this.mockSlider);this.isVerticalSlider?(this.dimensions.left-=t.hitPadding,this.dimensions.right+=t.hitPadding,this.thumbRange=this.dimensions.height-this.thumb.clientWidth,this.maxThumbOffset=this.dimensions.height):(this.dimensions.top-=t.hitPadding,this.dimensions.bottom+=t.hitPadding,this.thumbRange=this.dimensions.width-this.thumb.clientWidth,this.maxThumbOffset=this.dimensions.width);this.thumbRange=Math.max(this.thumbRange,1);this.thumbOffset=(this.value-this.min)*this.thumbRange/this.range+this.halfThumbOffset;this.stepOffset=this.thumbRange/(this.range/this.step);this.setThumbPosition()},t.prototype.setThumbPosition=function(){var n=Math.max(0,this.thumbOffset-this.halfThumbOffset);u.css(this.thumb,u.Direction[this.primaryDirection],n+"px");u.css(this.track,"width",n+"px")},t.prototype.updateThumbOffset=function(n,t,i,r){var s,h,o;r===void 0&&(r=NaN);e.isNumber(n)||(n=this.thumbOffset);this.thumbOffset=Math.min(Math.max(0,n),this.maxThumbOffset);s=r;isNaN(s)&&(s=Math.max(0,this.thumbOffset-this.halfThumbOffset)*1e3*this.range/this.thumbRange,s=Math.round(s)/1e3+this.min);this.value=Math.min(Math.max(this.min,s),this.max);this.input.setAttribute("value",this.value.toString());s=parseFloat(this.input.getAttribute("value"));isNaN(s)||(this.value=s);h=isNaN(parseFloat(this.input.getAttribute("step")))?this.value%1==0?this.value.toString():(Math.round(this.value*10)/10).toString():this.value.toString();this.thumb.setAttribute("aria-valuenow",h);this.setThumbPosition();this.valueDescriptor=null;this.initiatePublish({value:this.value,internal:t,userInitiated:i});o=this.valueDescriptor||{};this.valueDescriptor=null;(typeof o=="undefined"?"undefined":f(o))==="object"?(u.setText(this.valueTooltip,o.tooltipText||h),o.ariaValueText?this.thumb.setAttribute("aria-valuetext",o.ariaValueText):this.thumb.removeAttribute("aria-valuetext")):typeof o=="string"&&(isNaN(parseFloat(o))||o.match(":")?this.thumb.setAttribute("aria-valuetext",o):this.thumb.removeAttribute("aria-valuetext"),u.setText(this.valueTooltip,o))},t.prototype.publish=function(n,t){var i=n.onValueChanged(t);!i||this.valueDescriptor||(this.valueDescriptor=i)},t.prototype.moveThumbTo=function(n,t){if(e.pointInRect(n,t,this.dimensions)){var i=this.dimensions.bottom-t;this.isVerticalSlider||(i=this.primaryDirection===u.Direction.left?n-this.dimensions.left:this.dimensions.right-n);this.updateThumbOffset(i,!0,!0)}},t.selector=".c-slider",t.typeName="Slider",t.hitPadding=20,t}(r.Publisher);t.Slider=o}.apply(t,u),r!==undefined&&(n.exports=r))},social:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return(i.element=t,i.ariaExpanded="aria-expanded",i.buttonToggle="data-js-toggle",i.ariaHidden="aria-hidden",i.hideClass="f-hide",i.isHidden=!0,i.iconOverflowThresholdLength=4,i.maxIconShowCount=i.iconOverflowThresholdLength-1,i.handleMouseUp=function(){i.handleToggle(!1)},i.handleKeydown=function(n){n=u.getEvent(n);var r=f.getKeyCode(n),t=u.getEventTargetOrSrcElement(n);switch(r){case 9:!i.isHidden&&t===i.icons[i.maxIconShowCount]&&n.shiftKey&&(u.preventDefault(n),i.handleToggle(!1),i.toggle.focus());break;case 13:t===i.toggle&&i.handleToggle(!0)}},i.handleToggle=function(n){i.isHidden?i.toggleIcons(!1,n):i.toggleIcons(!0,n);i.ariaExpanded&&i.toggle.setAttribute(i.ariaExpanded,(!i.isHidden).toString());i.toggle.setAttribute(i.buttonToggle,(!i.isHidden).toString())},i.toggleIcons=function(n,t){for(var r=0;r<i.maxIconShowCount;r++)n?u.removeClass(i.icons[r],i.hideClass):u.addClass(i.icons[r],i.hideClass);for(r=Math.max(0,i.icons.length-i.maxIconShowCount);r<i.icons.length;r++)n&&r>i.maxIconShowCount-1?u.addClass(i.icons[r],i.hideClass):u.removeClass(i.icons[r],i.hideClass);t&&(n?i.icons[0].focus():i.icons[i.maxIconShowCount].focus());i.isHidden=n},!t)?i:(i.update(),i)}return i.__extends(t,n),t.prototype.update=function(){if((this.icons=u.selectElementsT('a[itemprop="sameAs"]',this.element),this.icons&&this.icons.length&&!(this.icons.length>t.maxIconCount))&&(this.toggle=u.selectFirstElement("button",this.element),this.toggle)){if(this.icons.length<this.iconOverflowThresholdLength){this.toggle.setAttribute(this.ariaHidden,"true");return}u.addEvent(this.toggle,u.eventTypes.mouseup,this.handleMouseUp);u.addEvent(this.element,u.eventTypes.keydown,this.handleKeydown);this.toggle.getAttribute(this.ariaHidden)==="true"||(this.toggle.setAttribute(this.ariaHidden,"false"),this.ariaExpanded?this.toggle.setAttribute(this.ariaExpanded,"false"):this.toggle.setAttribute(this.buttonToggle,"false"),this.toggleIcons(!0,!1))}},t.prototype.teardown=function(){u.removeEvent(this.toggle,u.eventTypes.mouseup,this.handleMouseUp);u.removeEvent(this.element,u.eventTypes.keydown,this.handleKeydown)},t.maxIconCount=6,t.selector=".m-social",t.typeName="Social",t}(r.ObservableComponent);t.Social=e}.apply(t,u),r!==undefined&&(n.exports=r))},splitReveal:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var r=n.call(this,i)||this;return r.sliderLineThickness=8,r.slidePanelPosition=0,r.slideHandlePosition=50,r.sliderHandleSize=32,r.sliderHandleColor="0067B8",r.moduleWidth=0,r.hasHandle=!1,r.handleWindowScroll=function(){var n=window.pageYOffset+window.innerHeight/2,t;n>=r.splitRevealSection.offsetTop&&r.splitRevealSection.offsetTop+r.splitRevealSection.clientHeight>=n&&(t=(n-r.splitRevealSection.offsetTop)/r.splitRevealSection.clientHeight*100,r.setSlidePanelPosition(t))},r.handleWindowResize=function(){r.moduleWidth=r.splitRevealSection.offsetWidth;r.orientation===t.horizontal?u.css(r.secondaryImageContainer,"width",r.moduleWidth+"px"):r.orientation===t.vertical&&u.css(r.secondaryImageContainer,"width","auto")},r.handleMouseDown=function(n){u.removeEvent(r.splitRevealSection,u.eventTypes.mousedown,r.handleMouseDown);u.addEvent(window,u.eventTypes.mouseup,r.handleMouseUp);u.addEvent(window,u.eventTypes.mousemove,r.handleDrag);r.handleDrag(n)},r.handleMouseUp=function(){u.removeEvent(window,u.eventTypes.mouseup,r.handleMouseUp);u.removeEvent(window,u.eventTypes.mousemove,r.handleDrag);u.addEvent(r.splitRevealSection,u.eventTypes.mousedown,r.handleMouseDown)},r.handleMouseOver=function(){u.removeEvent(r.splitRevealSection,u.eventTypes.mouseover,r.handleMouseOver);u.addEvent(r.splitRevealSection,u.eventTypes.mouseout,r.handleMouseOut);u.addEvent(r.splitRevealSection,u.eventTypes.mousemove,r.handleMouseMove)},r.handleMouseOut=function(){u.removeEvent(r.splitRevealSection,u.eventTypes.mouseout,r.handleMouseUp);u.addEvent(r.splitRevealSection,u.eventTypes.mousemove,r.handleMouseMove);u.addEvent(r.splitRevealSection,u.eventTypes.mouseover,r.handleMouseOver)},r.handleDrag=function(n){var i=r.orientation===t.horizontal?n.clientX:n.clientY;r.updateSlidePanelPosition(i)},r.handleMouseMove=function(n){var s=u.getClientRect(r.sliderLine),e,o,i,f,h;(r.orientation===t.horizontal?(e=r.sliderLine.offsetHeight,o=r.sliderHandle.offsetHeight/2,i=s.top,f=n.clientY):(e=r.sliderLine.offsetWidth,o=r.sliderHandle.offsetWidth/2,i=s.left,f=n.clientX),f<=i+o||f>=i+e-o)||(h=(f-i)/e*100,r.setSliderHandlePosition(h))},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){this.splitRevealSection=this.element;this.sliderLine=u.selectFirstElement('div[aria-hidden="true"]',this.splitRevealSection);this.slidePanel=u.selectFirstElement(".c-image + div",this.splitRevealSection);this.secondaryImageContainer=u.selectFirstElement("div",this.slidePanel);this.moduleWidth=this.splitRevealSection.offsetWidth;this.handleWindowResize();this.getSliderLineConfiguration();u.selectFirstElement("button",this.sliderLine)&&(this.hasHandle=!0,this.sliderHandle=u.selectFirstElement("button",this.sliderLine),this.getSliderHandleConfiguration(),this.setSliderHandlePosition(this.slideHandlePosition));var n=-(this.sliderLineThickness/2)+"px";this.orientation=u.hasClass(this.splitRevealSection,"f-horizontal")?t.horizontal:t.vertical;this.orientation===t.horizontal?(u.css(this.sliderLine,"width",this.sliderLineThickness+"px"),u.css(this.sliderLine,"transform","translateX("+n+")"),this.resizeThrottledEventHandler=u.addThrottledEvent(window,u.eventTypes.resize,this.handleWindowResize)):this.orientation===t.vertical&&(u.css(this.sliderLine,"height",this.sliderLineThickness+"px"),u.css(this.sliderLine,"transform","translateY("+n+")"));this.setSlidePanelPosition(this.slidePanelPosition);this.hasHandle&&this.createSliderHandle();this.hasHandle?this.sliderHandle&&(u.addEvent(this.splitRevealSection,u.eventTypes.mouseover,this.handleMouseOver),u.addEvent(this.splitRevealSection,u.eventTypes.mousedown,this.handleMouseDown)):u.addEvent(window,u.eventTypes.scroll,this.handleWindowScroll)},t.prototype.createSliderHandle=function(){this.setSliderHandlePosition(this.slidePanelPosition);u.css(this.sliderHandle,"width",this.sliderHandleSize+"px");u.css(this.sliderHandle,"height",this.sliderHandleSize+"px");u.css(this.sliderHandle,"borderWidth",this.sliderHandleSize/this.sliderLineThickness+"px");u.css(this.sliderHandle,"backgroundColor",this.sliderHandleColor!==null?"#"+this.sliderHandleColor:null)},t.prototype.getSliderLineConfiguration=function(){var n="data-js-split-reveal-slider-line-thickness",t="data-js-split-reveal-initial-slide-panel-position";this.sliderLine.getAttribute(n)&&(this.sliderLineThickness=parseInt(this.sliderLine.getAttribute(n),10));this.sliderLine.getAttribute(t)&&(this.slidePanelPosition=parseInt(this.sliderLine.getAttribute(t),10))},t.prototype.getSliderHandleConfiguration=function(){var i="data-js-split-reveal-handle-color",r="data-js-split-reveal-handle-size",u="data-js-split-reveal-initial-handle-position",n,f;this.sliderHandle.getAttribute(i)&&(n=this.sliderHandle.getAttribute(i),f=Object.keys(t.accentColorMap).some(function(i){return t.accentColorMap[i]===n}),this.sliderHandleColor=f?n:t.accentColorMap.blueDefault);this.sliderHandle.getAttribute(r)&&(this.sliderHandleSize=parseInt(this.sliderHandle.getAttribute(r),10));this.sliderHandle.getAttribute(u)&&(this.slideHandlePosition=parseInt(this.sliderHandle.getAttribute(u),10))},t.prototype.setSlidePanelPosition=function(n){this.slidePanelPosition=n;this.orientation===t.horizontal?(u.css(this.sliderLine,"left",this.slidePanelPosition+"%"),u.css(this.slidePanel,"width",this.slidePanelPosition+"%"),u.css(this.secondaryImageContainer,"width",this.moduleWidth+"px")):this.orientation===t.vertical&&(u.css(this.sliderLine,"top",this.slidePanelPosition+"%"),u.css(this.slidePanel,"height",this.slidePanelPosition+"%"),u.css(this.secondaryImageContainer,"width","auto"))},t.prototype.setSliderHandlePosition=function(n){var i=-(this.sliderHandleSize/2-this.sliderLineThickness/2);this.orientation===t.horizontal?(u.css(this.sliderHandle,"top",n+"%"),u.css(this.sliderHandle,"transform","translate("+i+"px, -50%)")):this.orientation===t.vertical&&(u.css(this.sliderHandle,"left",n+"%"),u.css(this.sliderHandle,"transform","translate(-50%, "+i+"px)"))},t.prototype.updateSlidePanelPosition=function(n){var e=u.getClientRect(this.slidePanel),f,i,r;(this.orientation===t.horizontal?(f=this.splitRevealSection.offsetWidth,r=e.left):(f=this.splitRevealSection.offsetHeight,r=e.top),n<=r)||(i=(n-r)/f*100,i>100&&(i=100),this.setSlidePanelPosition(i))},t.prototype.teardown=function(){this.hasHandle?this.sliderHandle&&(u.removeEvent(this.splitRevealSection,u.eventTypes.mouseover,this.handleMouseOver),u.removeEvent(this.splitRevealSection,u.eventTypes.mousedown,this.handleMouseDown)):u.removeEvent(window,u.eventTypes.scroll,this.handleWindowScroll)},t.selector=".m-split-reveal",t.typeName="SplitReveal",t.accentColorMap={blueDefault:"0067B8",blueAlt:"1483DA",purpleDefault:"5C2E91",purpleAlt:"9172B5",magentaDefault:"B4009E",magentaAlt:"CB4DBB",redDefault:"CB0F1F",redAlt:"EC3B4A",orangeDefault:"BC3301",orangeAlt:"DD521E",yellowDefault:"845F00",yellowAlt:"FFB900",greenDefault:"0F760F",greenAlt:"379237",tealDefault:"007264",tealAlt:"1A8F80"},t.vertical="vertical",t.horizontal="horizontal",t}(r.ObservableComponent);t.SplitReveal=f}.apply(t,u),r!==undefined&&(n.exports=r))},sticky:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("publisher")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(i){var u=n.call(this,i)||this;return u.element=i,u.shouldMoveToBody=!1,u.isTransitionInProgress=!1,u.lastScrollHeight=-1,u.lastTransformValue=null,u.wasHidden=!1,u.isStuck=!1,u.setSticky=function(){u.wasHidden=r.hasClass(u.element,t.isHiddenClass);u.placeholder=u.cloneAsPlaceholder(u.element);u.element.parentElement.insertBefore(u.placeholder,u.element);u.shouldMoveToBody&&document.body.appendChild(u.element);r.addClass(u.element,t.stuckClass);u.isStuck=!0;r.removeClass(u.element,t.isHiddenClass);u.initiatePublish({isStuck:!0,isVisible:!0});r.addClass(u.element,t.animateClass)},u.removeAnimationClass=function(){r.removeClass(u.element,t.animateClass);window.requestAnimationFrame(u.waitForTransitionEnd)},u.setNotSticky=function(){u.isTransitionInProgress=!0;u.wasHidden?window.requestAnimationFrame(u.removeAnimationClass):(r.addClass(u.element,t.noTransitionClass),u.waitForTransitionEnd())},u.waitForTransitionEnd=function(){var n=r.css(u.element,"transform");u.wasHidden&&n!==u.lastTransformValue?(u.lastTransformValue=n,window.requestAnimationFrame(u.waitForTransitionEnd)):u.isTransitionInProgress&&(u.isTransitionInProgress=!1,u.lastTransformValue=null,u.wasHidden&&r.addClass(u.element,t.isHiddenClass),u.shouldMoveToBody&&u.placeholder.parentElement.insertBefore(u.element,u.placeholder),u.placeholder.parentElement.removeChild(u.placeholder),r.removeClasses(u.element,[t.noTransitionClass,t.stuckClass,t.animateClass]),u.isStuck=!1,u.initiatePublish({isStuck:!1,isVisible:!u.wasHidden}),u.wasHidden=!1)},u.onWindowScrolled=function(){var n=u.isStuck?r.getClientRect(u.placeholder):r.getClientRect(u.element);!u.isStuck&&n.top<0?u.setSticky():u.isStuck&&n.top>=0&&u.setNotSticky()},u.watchForWindowScroll=function(){u.isTransitionInProgress||u.lastScrollHeight===window.pageYOffset||(u.lastScrollHeight=window.pageYOffset,u.onWindowScrolled());window.requestAnimationFrame(u.watchForWindowScroll)},u.update(),u}return i.__extends(t,n),t.prototype.update=function(){return this.element?(this.shouldMoveToBody=this.element.hasAttribute(t.dataTagMove),this.watchForWindowScroll(),!0):!1},t.prototype.publish=function(n,t){if(n&&n.onStickyStateChange)n.onStickyStateChange(t)},t.prototype.teardown=function(){},t.prototype.cloneAsPlaceholder=function(){var t=this,n;return this.placeholder||(this.placeholder=document.createElement("div"),this.placeholder.style.background="transparent"),n=getComputedStyle(this.element),["padding","margin","display","position","height"].forEach(function(i){return t.placeholder.style[i]=n[i]}),this.placeholder},t.selector=".m-sticky",t.typeName="Sticky",t.stuckClass="f-stuck",t.noTransitionClass="f-no-transition",t.isHiddenClass="f-hidden",t.animateClass="f-animate",t.dataTagMove="data-move",t}(u.Publisher);t.Sticky=f}.apply(t,u),r!==undefined&&(n.exports=r))},stringExtensions:function(n,t,i){"use strict";var u,r;!(u=[i,t],r=function(n,t){function r(n){return!n||typeof n!="string"||!i(n)}function i(n){return!n||typeof n!="string"?n:n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function u(n,t,i){return(i===void 0&&(i=!0),!n||!t)?!1:(i&&(n=n.toLocaleLowerCase(),t=t.toLocaleLowerCase()),n.startsWith)?n.startsWith(t):n.indexOf(t)===0}function f(n,t,i){return(i===void 0&&(i=!0),!n||!t)?!1:(i&&(n=n.toLocaleLowerCase(),t=t.toLocaleLowerCase()),n.endsWith)?n.endsWith(t):n.lastIndexOf(t)===n.length-t.length}function e(n,t,i){if(i===void 0&&(i=!0),!n||!t)return 0;var r=0;for(i&&(n=n.toLocaleLowerCase(),t=t.toLocaleLowerCase());n.charCodeAt(r)===t.charCodeAt(r);)r++;return r}function o(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return n.replace(/{(\d+)}/g,function(n,t){if(t>=i.length)return n;var r=i[t];return typeof r!="number"&&!r?"":typeof r=="string"?r:r.toString()})}Object.defineProperty(t,"__esModule",{value:!0});t.isNullOrWhiteSpace=r;t.trim=i;t.startsWith=u;t.endsWith=f;t.getMatchLength=e;t.format=o}.apply(t,u),r!==undefined&&(n.exports=r))},supplementalNavigation:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("htmlExtensions"),i("observableComponent"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.onExpandableItemClicked=function(n){i.setExpandedItem(r.getEventTargetOrSrcElement(n))},i.onActivatableItemClicked=function(n){i.setActiveItem(r.getEventTargetOrSrcElement(n))},i.keydownEventListener=function(n){i.itemKeydownHandler(r.getEventTargetOrSrcElement(n),f.getKeyCode(n))&&r.preventDefault(n)},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){var i,u,e,f,o,n;if(!this.element)return null;for(this.items=r.selectElements(t.itemSelector,this.element),i=r.selectElements("."+t.activeSelector,this.element),this.activeItem=i?i.shift():null,u=0,e=i;u<e.length;u++)n=e[u],r.removeClass(n,t.activeSelector);if(this.syncExpandedItem(),this.items&&this.items.length){for(f=0,o=this.items;f<o.length;f++)n=o[f],this.isExpandable(n)?r.addEvent(n,r.eventTypes.click,this.onExpandableItemClicked):r.addEvent(n,r.eventTypes.click,this.onActivatableItemClicked);r.addEvent(this.items,r.eventTypes.keydown,this.keydownEventListener)}},t.prototype.teardown=function(){var n,i,t;if(this.items&&this.items.length){for(n=0,i=this.items;n<i.length;n++)t=i[n],this.isExpandable(t)?r.removeEvent(t,r.eventTypes.click,this.onExpandableItemClicked):r.removeEvent(t,r.eventTypes.click,this.onActivatableItemClicked);r.removeEvent(this.items,r.eventTypes.keydown,this.keydownEventListener)}this.items=null;this.activeItem=null;this.expandedItem=null},t.prototype.setExpandedItem=function(n){!n||n===this.expandedItem||(this.collapseItem(this.expandedItem),this.expandItem(n))},t.prototype.setActiveItem=function(n){!n||!n.parentElement||n.parentElement.getAttribute("aria-hidden")==="false"||(this.expandedItem=null);!n||n===this.activeItem||(r.removeClass(this.activeItem,t.activeSelector),this.activeItem=n,r.addClass(this.activeItem,t.activeSelector),this.syncExpandedItem())},t.prototype.expandItem=function(n){var i,f,u,e,o;if(!!n&&(i=this.getExpandableElementForExpandableItem(n),f=this.getExpandableElementForExpandableItem(this.expandedItem),!!i&&(!f||i!==f)))for(n.setAttribute("data-state",t.stateNames.expanded),i.setAttribute("aria-hidden","false"),i.style.height="auto",i.style.overflow="visible",this.collapseItem(this.expandedItem),this.expandedItem=n,u=0,e=r.selectElements(t.itemSelector,i);u<e.length;u++)o=e[u],o.removeAttribute(t.tabIndexAttribute)},t.prototype.collapseItem=function(n){var i,u,f,e;if(!!n&&(i=document.getElementById(n.getAttribute("aria-controls")),!!i))for(n.setAttribute("data-state",t.stateNames.collapsed),i.setAttribute("aria-hidden","true"),i.style.height="0",i.style.overflow="hidden",u=0,f=r.selectElements(t.itemSelector,i);u<f.length;u++)e=f[u],e.setAttribute(t.tabIndexAttribute,"-1")},t.prototype.isExpandable=function(n){return!!n&&n.hasAttribute("data-state")&&n.hasAttribute("aria-controls")?!0:!1},t.prototype.syncExpandedItem=function(){var t,r,i,u,n;if(this.items&&this.items.length&&this.activeItem&&(t=this.getExpandableElementForActiveItem(),r=this.getExpandableElementForExpandableItem(this.expandedItem),!r||r!==t))for(i=0,u=this.items;i<u.length;i++)n=u[i],this.isExpandable(n)&&(!t||this.getExpandableElementForExpandableItem(n)!==t?this.collapseItem(n):this.expandItem(n))},t.prototype.getExpandableElementForActiveItem=function(){return!!this.activeItem&&!!this.activeItem.parentElement&&this.activeItem.parentElement.hasAttribute("id")?this.activeItem.parentElement:null},t.prototype.getExpandableElementForExpandableItem=function(n){return this.isExpandable(n)&&!!n.nextElementSibling?n.nextElementSibling:null},t.prototype.itemKeydownHandler=function(n,t){if(!n||!t)return!1;switch(t){case 32:case 13:if(this.isExpandable(n))return this.setExpandedItem(n),!0}return!1},t.selector=".m-supplemental-nav",t.typeName="SupplementalNavigation",t.activeSelector="f-active",t.itemSelector="a, button",t.tabIndexAttribute="tabindex",t.dateState="data-state",t.stateNames={expanded:"expanded",collapsed:"collapsed"},t}(u.ObservableComponent);t.SupplementalNavigation=e}.apply(t,u),r!==undefined&&(n.exports=r))},swipe:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions")],r=function(n,t,i){var f,r,u;Object.defineProperty(t,"__esModule",{value:!0});f=function(){function n(n,t,f,e,o){f===void 0&&(f=u.All);var s=this;(this.targets=n,this.swipeEventHandlers=t,this.active=!1,this.orientation=u.All,this.pointerEvents={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},pointer:{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}},this.minimumDirectionalDistance=30,this.maximumAntiDirectionalDistance=200,this.minimumDirectionalRatio=.6,this.minimumMoveDistance=10,this.startHandler=function(n){s.active=!0;s.startCoordinate=i.getCoordinates(n);s.lastMoveCoordinate=s.startCoordinate;s.swipeEventHandlers.start&&s.swipeEventHandlers.start({event:n,target:s.getEventTarget(n),coordinate:s.startCoordinate})},this.moveHandler=function(n){var o;if(s.active&&s.startCoordinate){var t=i.getCoordinates(n),f=Math.abs(t.x-s.lastMoveCoordinate.x),e=Math.abs(t.y-s.lastMoveCoordinate.y);f<s.minimumMoveDistance&&e<s.minimumMoveDistance||(o=f>e?t.x>s.lastMoveCoordinate.x?r.Left:r.Right:t.y>s.lastMoveCoordinate.y?r.Up:r.Down,s.lastMoveCoordinate=t,f=Math.abs(t.x-s.startCoordinate.x),e=Math.abs(t.y-s.startCoordinate.y),(f>e&&s.orientation!==u.Vertical||f<e&&s.orientation!==u.Horizontal)&&i.preventDefault(n),s.swipeEventHandlers.move&&s.swipeEventHandlers.move({event:n,target:s.getEventTarget(n),coordinate:t,direction:o}))}},this.endHandler=function(n){if(s.active&&(s.active=!1,s.swipeEventHandlers.end)){var t=i.getCoordinates(n),r=s.getSwipeDirection(t);s.swipeEventHandlers.end({event:n,target:s.getEventTarget(n),coordinate:t,direction:r})}},this.cancelHandler=function(n){s.active&&(s.active=!1,s.swipeEventHandlers.cancel&&s.swipeEventHandlers.cancel({event:n,target:s.getEventTarget(n)}))},this.targets&&this.targets.length&&t)&&(this.pointerTypes=e||["touch","pointer","mouse"],this.minimumMoveDistance=o||this.minimumMoveDistance,this.orientation=f,i.addEvents(this.targets,this.getEvents(this.pointerTypes,"start"),this.startHandler),i.addEvents(this.targets,this.getEvents(this.pointerTypes,"move"),this.moveHandler),i.addEvents(this.targets,this.getEvents(this.pointerTypes,"end"),this.endHandler),i.addEvents(this.targets,this.getEvents(this.pointerTypes,"cancel"),this.cancelHandler))}return n.prototype.tearDown=function(){i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"start"),this.startHandler);i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"move"),this.moveHandler);i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"end"),this.endHandler);i.removeEvents(this.targets,this.getEvents(this.pointerTypes,"cancel"),this.cancelHandler)},n.prototype.getEvents=function(n,t){for(var e,r,u=[],i=0,f=n;i<f.length;i++)e=f[i],r=this.pointerEvents[e][t],r&&u.push(r);return u.join(" ")},n.prototype.getEventTarget=function(n){var f,t,r,u;if(!n||!this.targets)return null;if(this.targets.length===1)return this.targets[0];for(f=i.getEventTargetOrSrcElement(n),t=0,r=this.targets;t<r.length;t++)if(u=r[t],i.isDescendantOrSelf(u,f))return u;return null},n.prototype.getSwipeDirection=function(n){if(!!this.startCoordinate){var t=Math.abs(n.y-this.startCoordinate.y),i=Math.abs(n.x-this.startCoordinate.x);if(t<this.maximumAntiDirectionalDistance&&i>this.minimumDirectionalDistance&&t/i<=this.minimumDirectionalRatio)return n.x>this.startCoordinate.x?r.Left:r.Right;if(i<this.maximumAntiDirectionalDistance&&t>this.minimumDirectionalDistance&&i/t<=this.minimumDirectionalRatio)return n.y>this.startCoordinate.y?r.Up:r.Down}return undefined},n}();t.Swipe=f,function(n){n[n.Left=0]="Left";n[n.Right=1]="Right";n[n.Up=2]="Up";n[n.Down=3]="Down"}(r=t.SwipeDirection||(t.SwipeDirection={})),function(n){n[n.Horizontal=0]="Horizontal";n[n.Vertical=1]="Vertical";n[n.All=2]="All"}(u=t.SwipeOrientation||(t.SwipeOrientation={}))}.apply(t,u),r!==undefined&&(n.exports=r))},table:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility"),i("stringExtensions")],r=function(n,t,i,r,u,f,e){var o,s,h;Object.defineProperty(t,"__esModule",{value:!0});o=function(n){function t(t){var i=n.call(this,t)||this;return i.onSortButtonClicked=function(n){for(var t=n.currentTarget||u.getEventTargetOrSrcElement(n),r;t!==i.element;){if(t.getAttribute("data-sort-index")){r=t;break}t=t.parentElement}r&&i.reSort(r)},i.onSortButtonKeydown=function(n){var o,h,s,c,t;if(f.getKeyCode(n)===9||f.getVirtualKey(n)==="Tab"){var l=n.currentTarget||u.getEventTargetOrSrcElement(n),r=void 0,e=void 0;if(n.shiftKey){for(o=0,h=i.columnInfos;o<h.length;o++)if(t=h[o],t&&t.button)if(t.button===l){r=t;break}else e=t}else for(s=0,c=i.columnInfos;s<c.length;s++)if(t=c[s],t&&t.button)if(t.button===l)r=t;else if(r){e=t;break}r&&e&&(u.preventDefault(n),e.button.focus())}},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){this.element&&(this.sortableTable=u.selectFirstElementT('table[data-f-sort="true"]',this.element),!this.sortableTable||this.ariaLiveRegion||(this.ariaLiveRegion=document.createElement("p"),u.addClass(this.ariaLiveRegion,"x-screen-reader"),this.ariaLiveRegion.setAttribute("aria-live","assertive"),this.element.appendChild(this.ariaLiveRegion),this.ascendingLocString=this.element.getAttribute("data-f-loc-ascending")||"Sorted by {0} - ascending",this.descendingLocString=this.element.getAttribute("data-f-loc-descending")||"Sorted by {0} - descending"),this.reloadTable())},t.prototype.teardown=function(){for(var f,t,e,i,n=0,r=u.selectElementsT("thead > tr",this.sortableTable);n<r.length;n++)for(f=r[n],t=0,e=f.cells.length;t<e;t++)i=f.cells[t],u.hasClass(i,"f-sortable")&&(u.removeEvent(i.firstElementChild,u.eventTypes.click,this.onSortButtonClicked),u.removeEvent(i.firstElementChild,u.eventTypes.keydown,this.onSortButtonKeydown));this.sortableTable=null;this.tableBody=null;this.originalRows=null;this.columnInfos=null},t.prototype.alertUserToSorting=function(n,t){var i=this;this.ariaLiveRegion&&(u.setText(this.ariaLiveRegion,e.format(t,n)),setTimeout(function(){i.ignoreNextDOMChange=!0;u.removeInnerHtml(i.ariaLiveRegion)},3e3))},t.prototype.reloadTable=function(){this.sortableTable&&(this.tableBody||(this.tableBody=u.selectFirstElementT("tbody",this.sortableTable)),this.originalRows=null,!this.tableBody||(this.originalRows=u.selectElementsT("tr",this.tableBody),this.rebuildSortInfo()))},t.prototype.rebuildSortInfo=function(){var n,r,i,t,u,f,e;if(this.originalRows&&this.originalRows.length&&(this.columnInfos&&this.columnInfos.length||this.rebuildColumnInfo(),this.columnInfos&&this.columnInfos.length))for(n=0,r=this.columnInfos.length;n<r;n++)if(this.columnInfos[n]){for(i=[],t=0,u=this.originalRows.length;t<u;t++)f=this.originalRows[t],e=new s(t,this.getSortKey(f.cells[n])),i.push(e);this.columnInfos[n].sortOrder=i}},t.prototype.rebuildColumnInfo=function(){var c=u.selectElementsT("thead > tr",this.sortableTable),n,p,t,l,e,w,r,i,b,a,k,v,o,s,y,f;for(this.columnInfos=[],n=0,p=c.length;n<p;n++)for(t=this.findNextNull(this.columnInfos,0),l=0,e=0,w=c[n].cells.length;e<w;e++)if(r=c[n].cells[e],u.hasClass(r,"f-sortable"))i=r.firstElementChild,b=new h(r,i),r.setAttribute("aria-sort","none"),i.setAttribute("data-sort-index",t.toString()),u.addClass(i,"c-glyph"),u.addEvent(i,u.eventTypes.click,this.onSortButtonClicked),u.addEvent(i,u.eventTypes.keydown,this.onSortButtonKeydown),this.columnInfos[t]=b,t=this.findNextNull(this.columnInfos,t+1),n===0&&l===0&&(l++,u.addClass(i,"glyph-sort"));else if(n===0)for(a=0,k=r.colSpan;a<k;a++)this.columnInfos.push(null),t++;else t++;if(this.columnInfos.length>2)for(v=void 0,o=void 0,s=0,y=this.columnInfos;s<y.length;s++)f=y[s],f&&f.button&&(v?(o&&o.button.setAttribute("tabIndex","-1"),o=f):v=f)},t.prototype.findNextNull=function(n,t){for(var i=t,r=n.length;i<r;i++)if(!n[i])return i;return n.length},t.prototype.reSort=function(n){var t=this.columnInfos[parseInt(n.getAttribute("data-sort-index"),10)],r=t.header.getAttribute("aria-sort"),i=r!=="ascending";this.clearSortIndicators();this.reorderTableRows(t,i);i?(t.header.setAttribute("aria-sort","ascending"),u.addClass(t.button,"f-ascending"),this.alertUserToSorting(u.getText(n),this.ascendingLocString)):(t.header.setAttribute("aria-sort","descending"),u.addClass(t.button,"f-descending"),this.alertUserToSorting(u.getText(n),this.descendingLocString))},t.prototype.clearSortIndicators=function(){for(var n,t=0,i=this.columnInfos;t<i.length;t++)(n=i[t],n)&&(n.header.setAttribute("aria-sort","none"),u.removeClass(n.button,"f-descending"),u.removeClass(n.button,"f-ascending"),u.removeClass(n.button,"glyph-sort"))},t.prototype.reorderTableRows=function(n,t){var r=this.tableBody.rows.length,i,u;for(n.ensureColumnInfoIsSorted(),this.ignoreNextDOMChange=!0,i=0;i<r;i++)u=t?n.sortOrder[i]:n.sortOrder[r-i-1],this.tableBody.appendChild(this.originalRows[u.originalRowIndex])},t.prototype.getSortKey=function(n){if(u.hasClass(n,"f-numerical")){if(u.selectElements('[content="0.00"]',n).length>0)return"";var r=u.getText(n),i=r.match(t.floatRegEx);if(!!i)return i[0]}return e.trim(u.getText(n))},t.selector=".c-table",t.typeName="Table",t.floatRegEx=/(\d+|\,|\.)+/g,t}(r.ObservableComponent);t.Table=o;s=function(){function n(n,t){this.originalRowIndex=n;this.key=t}return n}();h=function(){function n(n,t){this.header=n;this.button=t}return n.prototype.ensureColumnInfoIsSorted=function(){this.sortOrder&&!this.isSorted&&(this.sortOrder.sort(function(n,t){var i=n.key,r=t.key,u,f;return i===r?0:(u=parseFloat(i),f=parseFloat(r),isNaN(u)||isNaN(f))?i>r?1:-1:u>f?1:-1}),this.isSorted=!0)},n}()}.apply(t,u),r!==undefined&&(n.exports=r))},toggle:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t,i){i===void 0&&(i=null);var r=n.call(this,t,i)||this;return r.toggleElement=t,r.toggleCheckedState=function(){r.isChecked()?r.uncheckToggle():r.checkToggle()},r.update(),r}return i.__extends(t,n),t.prototype.update=function(){if(n.prototype.update.call(this),!this.toggleElement)return!1;(this.toggleButton=u.selectFirstElementT("button",this.toggleElement),this.toggleLabel=u.selectFirstElement("button + span",this.toggleElement),this.toggleLabel&&this.toggleButton)&&(this.checkedString=this.toggleLabel.getAttribute("data-on-string"),this.uncheckedString=this.toggleLabel.getAttribute("data-off-string"),this.isDisabled()?this.disableToggle():this.enableToggle(),this.setToggleCheckedState(this.isChecked()),u.addEvent(this.toggleButton,u.eventTypes.click,this.toggleCheckedState),u.addEvent(this.toggleLabel,u.eventTypes.click,this.toggleCheckedState))},t.prototype.teardown=function(){u.removeEvent(this.toggleButton,u.eventTypes.click,this.toggleCheckedState);u.removeEvent(this.toggleLabel,u.eventTypes.click,this.toggleCheckedState)},t.prototype.checkToggle=function(){this.setToggleCheckedState(!0)},t.prototype.uncheckToggle=function(){this.setToggleCheckedState(!1)},t.prototype.isChecked=function(){return this.toggleButton.getAttribute(t.ariaChecked)==="true"},t.prototype.enableToggle=function(){this.toggleButton.disabled=!1;u.removeClass(this.toggleElement,t.disabledClass)},t.prototype.disableToggle=function(){this.toggleButton.disabled=!0;u.addClass(this.toggleElement,t.disabledClass)},t.prototype.isDisabled=function(){return this.toggleButton.disabled},t.prototype.setToggleCheckedState=function(n){this.isDisabled()||n===this.isChecked()||(this.toggleButton.setAttribute(t.ariaChecked,n.toString()),u.setText(this.toggleLabel,n?this.checkedString:this.uncheckedString),this.initiatePublish())},t.prototype.publish=function(n){if(n.onToggled)n.onToggled({checked:this.isChecked()})},t.selector=".c-toggle",t.typeName="Toggle",t.ariaChecked="aria-checked",t.disabledClass="f-disabled",t}(r.Publisher);t.Toggle=f}.apply(t,u),r!==undefined&&(n.exports=r))},tooltip:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("observableComponent"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(n){function t(t){var i=n.call(this,t)||this;return i.isVisible=!1,i.timer=0,i.exposeToScreenReaders=!0,i.onFocus=function(n){n=u.getEvent(n);n&&n.type!=="mouseover"&&i.actOnFocus()},i.handleKeydownWhenFocused=function(n){if(i.isVisible){n=u.getEvent(n);var t=f.getKeyCode(n);switch(t){case 27:i.hide();break;case 38:case 40:u.preventDefault(n)}}},i.onBlur=function(){i.hide();u.addEvent(i.controller,u.eventTypes.focus,i.onFocus);u.removeEvent(i.controller,u.eventTypes.blur,i.onBlur);u.removeEvent(i.controller,u.eventTypes.keydown,i.handleKeydownWhenFocused)},i.onMouseOver=function(n){i.isVisible||(n=u.getEvent(n),i.tooltipXPosition=n.clientX,i.tooltipYPosition=n.clientY,i.actOnMouseOver())},i.onMouseOut=function(){i.timer>0&&(window.clearTimeout(i.timer),i.timer=0);i.hide();u.removeEvent(i.controller,u.eventTypes.mouseout,i.onMouseOut);u.addEvent(i.controller,u.eventTypes.mouseover,i.onMouseOver)},i.showForMouse=function(){i.show();u.removeEvent(i.controller,u.eventTypes.mouseover,i.onMouseOver)},i.onScroll=function(){i.isVisible&&!i.animationFrameRequested&&(i.animationFrameRequested=!0,u.SafeBrowserApis.requestAnimationFrame.call(window,function(){return i.handleScroll()}))},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){if(this.element){var n=this.element.getAttribute("id");this.controller=u.selectFirstElement("["+t.ariaDescribedByAttribute+'="'+n+'"]');this.controller||(this.controller=u.selectFirstElement("["+t.dataDescribedByAttribute+'="'+n+'"]'),this.exposeToScreenReaders=!this.controller?!0:!1);this.element.setAttribute(t.ariaHidden,"true");this.exposeToScreenReaders||(u.addClass(this.element,t.hiddenClass),u.addClass(this.element,t.hiddenFromScreenReadersClass));!this.controller||(u.addEvent(this.controller,u.eventTypes.mouseover,this.onMouseOver),u.addEvent(this.controller,u.eventTypes.focus,this.onFocus),u.addEvent(window,u.eventTypes.scroll,this.onScroll))}},t.prototype.teardown=function(){u.removeEvent(this.controller,u.eventTypes.mouseover,this.onMouseOver);u.removeEvent(this.controller,u.eventTypes.mouseout,this.onMouseOut);u.removeEvent(this.controller,u.eventTypes.focus,this.onFocus);u.removeEvent(this.controller,u.eventTypes.blur,this.onBlur);u.removeEvent(window,u.eventTypes.scroll,this.onScroll);this.controller=null;this.isVisible=!1;this.tooltipXPosition=0;this.tooltipYPosition=0;this.timer>0&&(window.clearTimeout(this.timer),this.timer=0)},t.prototype.actOnFocus=function(){u.removeClass(this.element,t.hookHover);u.addClass(this.element,t.hookFocus);var n=u.getClientRect(this.controller);this.tooltipXPosition=n.left;this.tooltipYPosition=n.bottom;this.show();u.addEvent(this.controller,u.eventTypes.blur,this.onBlur);u.addEvent(this.controller,u.eventTypes.keydown,this.handleKeydownWhenFocused);u.removeEvent(this.controller,u.eventTypes.focus,this.onFocus)},t.prototype.actOnMouseOver=function(){u.removeClass(this.element,t.hookFocus);u.addClass(this.element,t.hookHover);this.timer=window.setTimeout(this.showForMouse,t.timerDelay);u.addEvent(this.controller,u.eventTypes.mouseout,this.onMouseOut)},t.prototype.handleScroll=function(){this.animationFrameRequested=!1;var n=u.getScrollY(),t=this.scrollYOnShow-n;this.setPosition({top:this.tooltipYPosition+t})},t.prototype.show=function(){this.isVisible=!0;this.scrollYOnShow=u.getScrollY();this.exposeToScreenReaders?this.element.setAttribute(t.ariaHidden,"false"):u.removeClass(this.element,t.hiddenClass);this.setPosition({left:this.tooltipXPosition,top:this.tooltipYPosition})},t.prototype.hide=function(){!!this.element&&this.isVisible&&(this.isVisible=!1,this.exposeToScreenReaders?this.element.setAttribute(t.ariaHidden,"true"):u.addClass(this.element,t.hiddenClass),u.removeClass(this.element,t.hookHover),u.removeClass(this.element,t.hookFocus))},t.prototype.setContent=function(n){!this.element||u.setText(this.element,n)},t.prototype.setPosition=function(n){n&&(!n.left||u.css(this.element,"left",n.left+"px"),!n.top||u.css(this.element,"top",n.top+"px"))},t.selector=".c-tooltip",t.typeName="Tooltip",t.ariaHidden="aria-hidden",t.hiddenClass="x-hidden",t.timerDelay=800,t.hookFocus="hook-focus",t.hookHover="hook-hover",t.ariaDescribedByAttribute="aria-describedby",t.dataDescribedByAttribute="data-f-describedby",t.hiddenFromScreenReadersClass="f-hidden-from-screen-readers",t}(r.ObservableComponent);t.Tooltip=e}.apply(t,u),r!==undefined&&(n.exports=r))},"ttml-context":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("ttml-parser"),i("ttml-settings"),i("htmlExtensions"),i("stringExtensions"),i("utility")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function n(){var t=this;this.translateToHtml=function(e,o,s){var c,h,v=t.getTagNameEquivalent(e),l="",y="",a,p,w,b;switch(v){case"ttml:region":y="cue ";case"ttml:rootcontainerregion":case"ttml:body":case"ttml:div":l="div";break;case"ttml:p":l="p";break;case"ttml:span":l="span";break;case"ttml:br":l="br"}return a=i.TtmlParser.getAttributeNS(e,"role",t.settings.ttmlMetaNamespace),a&&(y+=" "+a),p=i.TtmlParser.getAttributeNS(e,"agent",t.settings.ttmlMetaNamespace),p&&(y+=" "+p),a==="x-ruby"?l="ruby":a==="x-rubybase"?l="rb":a==="x-rubytext"&&(l="rt"),f.isNullOrWhiteSpace(l)||(c=n.defaultStyle(t.ownerDocument.createElement(l)),u.addClass(c,f.trim(y)),w=i.TtmlParser.getAttributeNS(e,"title",t.settings.ttmlMetaNamespace),w&&c.setAttribute("title",w),b=i.TtmlParser.getAttributeNS(e,"id",r.xmlNS),b&&t.settings.idPrefix&&c.setAttribute("id",t.settings.idPrefix+b),v==="ttml:region"&&(h=c.appendChild(n.defaultStyle(t.ownerDocument.createElement("div"))),u.css(h,"display","table"),u.css(h,"border-spacing","0"),u.css(h,"cell-spacing","0"),u.css(h,"cell-padding","0"),u.css(h,"width","100%"),u.css(h,"height","100%"),h=h.appendChild(n.defaultStyle(t.ownerDocument.createElement("div"))),u.css(h,"display","table-cell"),o.displayAlign&&(t.translateStyle(v,h,{displayAlign:o.displayAlign}),o.displayAlign=null)),s&&v==="ttml:span"&&(h=c.appendChild(n.defaultStyle(t.ownerDocument.createElement("span"))),u.css(h,"white-space","pre")),u.css(c,"position","static"),u.css(c,"width","100%"),t.translateStyle(v,c,o)),{outerNode:c,innerNode:h?h:c}}}return n.prototype.setOwnerDocument=function(n){this.ownerDocument=n},n.prototype.updateRelatedMediaObjectRegion=function(n){return!this.settings.relatedMediaObjectRegion||n.width!==this.settings.relatedMediaObjectRegion.width||n.height!==this.settings.relatedMediaObjectRegion.height?(this.settings.relatedMediaObjectRegion={width:n.width,height:n.height},!0):!1},n.prototype.hasEvents=function(){return this.events&&!!this.events.length},n.prototype.resetCurrentEvents=function(){this.currentEvents=[]},n.prototype.updateCurrentEvents=function(n){var t=this.getTemporallyActiveEvents(n),r=this.currentEvents?this.currentEvents.length:0,u=t?t.length:0,i;if(r!==u)return this.currentEventsTime=n,this.currentEvents=t,!0;if(this.currentEvents)for(i=0;i<r;i++)if(this.currentEvents[i].time!==t[i].time)return this.currentEventsTime=n,this.currentEvents=t,!0;return!1},n.prototype.getTemporallyActiveEvents=function(n){var t=this;return this.events.filter(function(i){return i.element?t.isTemporallyActive(i.element,n):!0})},n.prototype.isTemporallyActive=function(n,t){return(parseInt(n.getAttribute("data-time-start"),10)||0)<=t&&t<(parseInt(n.getAttribute("data-time-end"),10)||0)},n.prototype.getCues=function(n){var t=[],v,tt,s,y,o,w,h,c,b,l,k,e,d,g,a,nt,ut;for(this.currentEventsTime!==n&&this.updateCurrentEvents(n),v=i.TtmlParser.getAttributeNS(this.root,"space",r.xmlNS)==="preserve",tt=this.layout?this.layout.getElementsByTagNameNS(this.settings.ttmlNamespace,"region"):[],s=0,y=tt;s<y.length;s++){var p=y[s],it=i.TtmlParser.getAttributeNS(p,"id",r.xmlNS),rt=p.getAttribute("data-isanonymous");if((rt||it)&&(o=this.translate(p,this.settings.defaultRegionStyle,v,n,this.translateToHtml),o.outerNode)){for(w=o.innerNode,h=o.outerNode,c=0,b=this.events;c<b.length;c++)l=b[c],l.element&&this.isInRegion(l.element,rt?null:it)&&(k=this.prune(l.element,o.inheritableStyleSet,v,n,this.translateToHtml),e=k.prunedElement,k.hasPreservedContent||!e||f.trim(u.getText(e)).length||(e=null),e&&w.appendChild(e));d=h.getAttribute("data-showBackground")==="always";(d||w.children.length)&&(d&&h.removeAttribute("data-showBackground"),t.push(h))}}if(t.length){for(g=this.translate(this.rootContainerRegion,{overflow:"hidden",padding:"0"},!1,n,this.translateToHtml),a=0,nt=t;a<nt.length;a++)ut=nt[a],g.innerNode.appendChild(ut);t=[];t.push(g.outerNode)}return t},n.prototype.translate=function(n,t,i,r,u){var f,e,o,s;return(this.isTemporallyActive(n,r)&&(o=this.getTagNameEquivalent(n),e=this.getComputedStyleSet(n,t,o,r),e.display!=="none"&&(s=this.getApplicableStyleSet(e,o),f=u(n,s,i))),!f)?{outerNode:null,innerNode:null,inheritableStyleSet:null}:{outerNode:f.outerNode,innerNode:f.innerNode,inheritableStyleSet:this.getInheritableStyleSet(e)}},n.prototype.translateStyle=function(n,t,i){for(var r in i)i[r]&&this.applyStyle(t,n,r,i[r])},n.prototype.prune=function(n,t,f,e,o,s){var y,a,h,g,v,p,b,l,k,d,w,c;if(s===void 0&&(s=!1),a=!1,h=this.translate(n,t,f,e,o),h.outerNode!==null){for(g=this.getTagNameEquivalent(n),y=h.outerNode,v=h.innerNode,p=0,b=u.nodeListToArray(n.childNodes);p<b.length;p++)l=b[p],l.nodeType===Node.COMMENT_NODE||(l.nodeType===Node.TEXT_NODE?(v.appendChild(document.createTextNode(l.data)),f&&g==="ttml:span"&&(a=!0)):(k=f,d=i.TtmlParser.getAttributeNS(l,"space",r.xmlNS),d&&(k=d==="preserve"),w=this.prune(l,h.inheritableStyleSet,k,e,o,!0),a=a||w.hasPreservedContent,w.prunedElement&&v.appendChild(w.prunedElement)));if(!s)for(c=n.parentNode;c!==null&&c.nodeType===Node.ELEMENT_NODE&&c!==this.body;){if(h=this.translate(c,t,f,e,o),h.outerNode)v=h.innerNode,v.appendChild(y),y=h.outerNode;else break;c=c.parentNode}}return{prunedElement:y,hasPreservedContent:a}},n.prototype.getComputedStyleSet=function(n,t,r,f){var o=e.extend({},t),a,s,h,c,l;for(e.extend(o,this.styleSetCache[parseInt(n.getAttribute("data-styleSet"),10)]),a=n.getElementsByTagNameNS(this.settings.ttmlNamespace,"set"),s=0,h=u.nodeListToArray(a);s<h.length;s++)c=h[s],this.isTemporallyActive(c,f)&&i.TtmlParser.applyInlineStyles(this.settings,o,c);return r==="ttml:p"&&o.lineHeight==="normal"&&(l=this.appendSpanFontSizes(n,this.getInheritableStyleSet(o),f,""),l&&(o["computed-lineHeight"]=l)),o},n.prototype.getApplicableStyleSet=function(n,t){var i={},r;n.extent&&this.isStyleApplicable(t,"extent")&&(i.extent=n.extent);n.color&&this.isStyleApplicable(t,"color")&&(i.color=n.color);for(r in n)this.isStyleApplicable(t,r)&&(i[r]=n[r]);return i},n.prototype.isStyleApplicable=function(n,t){switch(t){case"backgroundColor":case"display":case"visibility":return"ttml:body ttml:div ttml:p ttml:region ttml:rootcontainerregion ttml:span ttml:br".indexOf(n)>=0;case"fontFamily":case"fontSize":case"fontStyle":case"fontWeight":return"ttml:p ttml:span ttml:br".indexOf(n)>=0;case"color":case"textDecoration":case"textOutline":case"wrapOption":return"ttml:span ttml:br".indexOf(n)>=0;case"direction":case"unicodeBidi":return"ttml:p ttml:span ttml:br".indexOf(n)>=0;case"displayAlign":case"opacity":case"origin":case"overflow":case"padding":case"showBackground":case"writingMode":case"zIndex":return"ttml:region ttml:rootcontainerregion".indexOf(n)>=0;case"extent":return"ttml:tt ttml:region ttml:rootcontainerregion".indexOf(n)>=0;case"computed-lineHeight":case"lineHeight":case"textAlign":return"ttml:p".indexOf(n)>=0;default:return!1}},n.prototype.getInheritableStyleSet=function(n){var i={};for(var t in n)if(n.hasOwnProperty(t))switch(t){case"backgroundColor":case"computed-lineHeight":case"display":case"displayAlign":case"extent":case"opacity":case"origin":case"overflow":case"padding":case"showBackground":case"unicodeBidi":case"writingMode":case"zIndex":break;default:i[t]=n[t]}return i},n.prototype.appendSpanFontSizes=function(n,t,i,r){for(var f,c,s,h,e=0,o=u.nodeListToArray(n.childNodes);e<o.length;e++)f=o[e],f.nodeType===Node.ELEMENT_NODE&&(c=this.getTagNameEquivalent(f),c==="ttml:span"&&(s=this.getComputedStyleSet(f,t,"ttml:span",i),h=s.fontSize,h&&(r+=(r?",":"")+h),r=this.appendSpanFontSizes(f,this.getInheritableStyleSet(s),i,r)));return r},n.prototype.isInRegion=function(n,t){var e,r,o,f,s,h;if(!t||(e=i.TtmlParser.getAttributeNS(n,"region",this.settings.ttmlNamespace),e===t))return!0;if(!e){for(r=n.parentNode;r!==null&&r.nodeType===Node.ELEMENT_NODE;){if(o=this.getRegionId(r),o)return o===t;r=r.parentNode}for(f=0,s=u.nodeListToArray(n.getElementsByTagName("*"));f<s.length;f++)if(h=s[f],this.getRegionId(h)===t)return!0}return!1},n.prototype.getRegionId=function(n){var t;return n.nodeType===Node.ELEMENT_NODE&&n.namespaceURI===this.settings.ttmlNamespace&&(t=i.TtmlParser.getLocalTagName(n)==="region"?i.TtmlParser.getAttributeNS(n,"id",r.xmlNS):i.TtmlParser.getAttributeNS(n,"region",this.settings.ttmlNamespace)),t},n.prototype.getTagNameEquivalent=function(n){var t=i.TtmlParser.getLocalTagName(n),r=n.namespaceURI;return r===this.settings.ttmlNamespace?"ttml:"+t:r==="http://www.w3.org/1999/xhtml"?t:""},n.prototype.applyStyle=function(t,i,r,o){var s=o,p,h,g,nt,tt,w,b,d,it,l,a;switch(r){case"color":case"backgroundColor":s=n.ttmlToCssColor(o);u.css(t,r,s);return;case"direction":case"display":u.css(t,r,s);return;case"displayAlign":switch(o){case"before":s="top";break;case"center":s="middle";break;case"after":s="bottom"}u.css(t,"vertical-align",s);return;case"extent":p=void 0;l=void 0;o!=="auto"&&(a=o.split(/\s+/),a.length===2&&(p=this.ttmlToCssUnits(a[0],!0),l=this.ttmlToCssUnits(a[1],!1)));p||(p=(this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions.width:this.settings.relatedMediaObjectRegion.width).toString()+"px",l=(this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions.height:this.settings.relatedMediaObjectRegion.height).toString()+"px");u.css(t,"position","absolute");u.css(t,"width",p);u.css(t,"min-width",p);u.css(t,"max-width",p);u.css(t,"height",l);u.css(t,"min-height",l);u.css(t,"max-height",l);return;case"fontFamily":this.settings.fontMap&&this.settings.fontMap[o]&&(s=this.settings.fontMap[o]);o==="smallCaps"&&u.css(t,"fontVariant","small-caps");u.css(t,r,s);return;case"fontSize":h=o.split(/\s+/);g=h.length>1?h[1]:h[0];s=this.ttmlToCssFontSize(g,!1,.75,i==="ttml:region");u.css(t,r,s);return;case"fontStyle":case"fontWeight":u.css(t,r,s);return;case"lineHeight":nt=o==="normal"?o:this.ttmlToCssFontSize(o,!1);u.css(t,"line-height",nt);return;case"computed-lineHeight":for(tt=o.split(","),w=-1,b=0,d=tt;b<d.length;b++)it=d[b],s=this.ttmlToCssFontSize(it,!1),s&&s.indexOf("px")===s.length-2&&(l=parseFloat(s.substr(0,s.length-2)),!isNaN(l)&&l>w&&(w=l));w>=0&&u.css(t,"line-height",w+"px");return;case"origin":o!=="auto"&&(a=o.split(/\s+/),a.length===2&&(u.css(t,"position","absolute"),u.css(t,"left",this.ttmlToCssUnits(a[0],!0)),u.css(t,"top",this.ttmlToCssUnits(a[1],!1))));return;case"opacity":u.css(t,r,s);return;case"padding":var c=e.getDimensions(t),h=o.split(/\s+/),v=void 0,y=void 0,k=void 0,rt=void 0;switch(h.length){case 1:v=this.ttmlToCssUnits(h[0],!1,c);y=this.ttmlToCssUnits(h[0],!0,c);s=f.format("{0} {1} {0} {1}",v,y);break;case 2:v=this.ttmlToCssUnits(h[0],!1,c);y=this.ttmlToCssUnits(h[1],!0,c);s=f.format("{0} {1} {0} {1}",v,y);break;case 3:v=this.ttmlToCssUnits(h[0],!1,c);y=this.ttmlToCssUnits(h[1],!0,c);k=this.ttmlToCssUnits(h[2],!1,c);s=f.format("{0} {1} {2} {1}",v,y,k);break;case 4:v=this.ttmlToCssUnits(h[0],!1,c);y=this.ttmlToCssUnits(h[1],!0,c);k=this.ttmlToCssUnits(h[2],!1,c);rt=this.ttmlToCssUnits(h[3],!0,c);s=f.format("{0} {1} {2} {3}",v,y,k,rt)}u.css(t,"box-sizing","border-box");u.css(t,"border-style","solid");u.css(t,"border-color","transparent");u.css(t,"border-width",s);return;case"textAlign":switch(o){case"start":s="left";break;case"end":s="right"}u.css(t,"text-align",s);return;case"textDecoration":s=n.ttmlToCssTextDecoration(o);u.css(t,"text-decoration",s);return;case"textOutline":u.css(t,"text-shadow",this.ttmlToCssTextOutline(s));return;case"unicodeBidi":switch(o){case"bidiOverride":s="bidi-override"}u.css(t,"unicode-bidi",s);return;case"visibility":u.css(t,r,s);return;case"writingMode":switch(o){case"lr":case"lrtb":u.css(t,"writing-mode","horizontal-tb");u.css(t,"-webkit-writing-mode","horizontal-tb");u.css(t,"writing-mode","lr-tb");return;case"rl":case"rltb":u.css(t,"writing-mode","horizontal-tb");u.css(t,"-webkit-writing-mode","horizontal-tb");u.css(t,"writing-mode","rl-tb");return;case"tblr":u.css(t,"text-orientation","upright");u.css(t,"writing-mode","vertical-lr");u.css(t,"-webkit-text-orientation","upright");u.css(t,"-webkit-writing-mode","vertical-lr");u.css(t,"writing-mode","tb-lr");return;case"tb":case"tbrl":u.css(t,"text-orientation","upright");u.css(t,"writing-mode","vertical-rl");u.css(t,"-webkit-text-orientation","upright");u.css(t,"-webkit-writing-mode","vertical-rl");u.css(t,"writing-mode","tb-rl");return}return;case"wrapOption":u.css(t,"white-space",o==="noWrap"?"nowrap":o==="pre"?"pre":"normal");return;case"zIndex":u.css(t,r,s);return;default:u.css(t,r,s);return}},n.defaultStyle=function(t){return u.css(t,"background-color",n.TtmlNamedColorMap.transparent),u.css(t,"offset","0"),u.css(t,"margin","0"),u.css(t,"padding","0"),u.css(t,"border","0"),t},n.prototype.ttmlToCssUnits=function(n,t,i){var e=n,r,h;if(n&&(r=n.charAt(n.length-1),r==="c"||r==="%")){var o=this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions:this.settings.relatedMediaObjectRegion,s=parseFloat(n.substr(0,n.length-1)),f=t?o.width:o.height,u=void 0;r==="c"?(h=t?this.settings.cellResolution.columns:this.settings.cellResolution.rows,u=s*f/h):r==="%"&&(i&&(f=t?i.width:i.height),u=f*s/100);u=Math.round(u*10)/10;e=u+"px"}return e},n.prototype.ttmlToCssFontSize=function(n,t,i,r){var e,u;if(i===void 0&&(i=1),r===void 0&&(r=!1),e=n,n&&(u=n.charAt(n.length-1),u==="c"||r&&u==="%")){var o=this.settings.rootContainerRegionDimensions?this.settings.rootContainerRegionDimensions:this.settings.relatedMediaObjectRegion,s=parseFloat(n.substr(0,n.length-1)),h=t?o.width:o.height,c=t?this.settings.cellResolution.columns:this.settings.cellResolution.rows,f=s*h/c;u==="%"&&(f/=100);f=Math.floor(f*i*10)/10;e=f+"px"}return e},n.prototype.ttmlToCssTextOutline=function(t){var r="none",l,s,a,h,c;if(!f.isNullOrWhiteSpace(t)&&t!=="none"){var i=t.split(/\s+/),o=void 0,u=void 0,e;if(i.length===1?(o=$(this).css("color"),u=i[0],e=""):i.length===3?(o=i[0],u=i[1],e=i[2]):i.length===2&&(l=i[0].charAt(0),l>="0"&&l<="9"?(o=$(this).css("color"),u=i[0],e=i[1]):(o=i[0],u=i[1],e="")),e=this.ttmlToCssFontSize(e,!1,.75),u=this.ttmlToCssFontSize(u,!1,.75),i=n.lengthRegEx.exec(u),i&&i.length===3){for(s=Math.round(parseFloat(i[1])),a=i[2],r="",h=-s;h<=s;h++)for(c=-s;c<=s;c++)(h!==0||c!==0)&&(r+=f.format("{0}{4} {1}{4} {2} {3}, ",h,c,e,n.ttmlToCssColor(o),a));r&&(r=r.substr(0,r.length-2))}}return r},n.ttmlToCssTextDecoration=function(n){for(var r,e,t,i="",o=n.split(/\s+/),u=0,s=o;u<s.length;u++){t=s[u];switch(t){case"none":case"noUnderline":case"noLineThrough":case"noOverline":i="none"}}for(r=0,e=o;r<e.length;r++){t=e[r];switch(t){case"none":case"noUnderline":case"noLineThrough":case"noOverline":break;case"lineThrough":i+=" line-through";break;default:i+=" "+t}}return f.trim(i)},n.ttmlToCssColor=function(t){var r=t,i;if(t=t.toLowerCase(),t.indexOf("rgba")===0){if(i=n.rgbaRegEx.exec(t),i&&i.length===5){var u=i[1],e=i[2],o=i[3],s=parseInt(i[4],10);r=f.format("rgba({0},{1},{2},{3})",u,e,o,Math.round(s*100/255)/100)}}else if(t.charAt(0)==="#"&&t.length===9){var u=parseInt(t.substr(1,2),16),e=parseInt(t.substr(3,2),16),o=parseInt(t.substr(5,2),16),s=parseInt(t.substr(7,2),16);r=f.format("rgba({0},{1},{2},{3})",u,e,o,Math.round(s*100/255)/100)}else n.TtmlNamedColorMap[t]&&(r=n.TtmlNamedColorMap[t]);return r},n.lengthRegEx=/\s*(\d+\.*\d*)(.*)\s*/,n.rgbaRegEx=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)\s*/,n.TtmlNamedColorMap={transparent:"rgba(0,0,0,0)",black:"rgba(0,0,0,1)",silver:"rgba(192,192,192,1)",gray:"rgba(128,128,128,1)",white:"rgba(255,255,255,1)",maroon:"rgba(128,0,0,1)",red:"rgba(255,0,0,1)",purple:"rgba(128,0,128,1)",fuchsia:"rgba(255,0,255,1)",magenta:"rgba(255,0,255,1)",green:"rgba(0,128,0,1)",lime:"rgba(0,255,0,1)",olive:"rgba(128,128,0,1)",yellow:"rgba(255,255,0,1)",navy:"rgba(0,0,128,1)",blue:"rgba(0,0,255,1)",teal:"rgba(0,128,128,1)",aqua:"rgba(0,255,255,1)",cyan:"rgba(0,255,255,1)"},n}();t.TtmlContext=o}.apply(t,u),r!==undefined&&(n.exports=r))},"ttml-parser":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("ttml-context"),i("ttml-time-parser"),i("ttml-settings"),i("htmlExtensions"),i("stringExtensions")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function n(){}return n.parse=function(t,f){var e,o,s,h;if(t=typeof t=="string"?n.parseXml(t):t,e=new i.TtmlContext,e.settings=new u.TtmlSettings(f),e.root=n.verifyRoot(t,e),e.body=n.getFirstElementByTagNameNS(e.root,"body",e.settings.ttmlNamespace),e.events=[],e.styleSetCache=[],e.body){try{n.parseTtAttrs(e);o=n.ensureRegions(e);s=n.getAttributeNS(e.root,"timeBase",e.settings.ttmlParameterNamespace)||"media";e.settings.supportedTimeBase.indexOf(s)!==-1&&(n.processAnonymousSpans(e,e.body),h=new r.TtmlTimeParser(e.settings.mediaFrameRate,e.settings.mediaTickRate),n.applyTiming(e,e.root,{start:n.mediaStart,end:n.mediaEnd},!0,h),n.applyStyling(e,o))}catch(c){}e.events.push({time:n.mediaEnd,element:null});e.events.sort(function(n,t){return n.time-t.time})}return e},n.parseXml=function(n){var i=null,t;try{window.DOMParser?(t=new window.DOMParser,i=t.parseFromString(n,"application/xml")):(t=new window.ActiveXObject("Microsoft.XMLDOM"),t.async=!1,t.loadXML(n),i=t)}catch(r){i=null}return i},n.verifyRoot=function(t,i){var u,r=t.documentElement;return n.getLocalTagName(r)==="tt"&&(r.namespaceURI!=="http://www.w3.org/ns/ttml"&&(i.settings.ttmlNamespace=r.namespaceURI,i.settings.ttmlStyleNamespace=i.settings.ttmlNamespace+"#styling",i.settings.ttmlParameterNamespace=i.settings.ttmlNamespace+"#parameter",i.settings.ttmlMetaNamespace=i.settings.ttmlNamespace+"#metadata"),u=r),u},n.parseTtAttrs=function(t){var h=n.getAttributeNS(t.root,"cellResolution",t.settings.ttmlParameterNamespace),u=n.getAttributeNS(t.root,"extent",t.settings.ttmlStyleNamespace),f=null,r,o,s,i,c,l;h&&(r=e.trim(h).split(/\s+/),r.length===2&&(o=Math.round(parseFloat(r[0])),s=Math.round(parseFloat(r[1])),s>0&&o>0&&(f={rows:s,columns:o})));f&&(t.settings.cellResolution=f);u&&u!=="auto"&&(i=u.split(/\s+/),i.length===2&&i[0].substr(i[0].length-2)==="px"&&i[1].substr(i[1].length-2)==="px"&&(c=parseFloat(i[0].substr(0,i[0].length-2)),l=parseFloat(i[1].substr(0,i[1].length-2)),t.settings.rootContainerRegionDimensions={width:Math.round(c),height:Math.round(l)}))},n.ensureRegions=function(t){var f,i,o,r;return t.rootContainerRegion=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"rootcontainerregion"),t.root.appendChild(t.rootContainerRegion),f=t.settings.rootContainerRegionDimensions?e.format("{0}px {1}px",t.settings.rootContainerRegionDimensions.width,t.settings.rootContainerRegionDimensions.height):"auto",t.rootContainerRegion.setAttributeNS(t.settings.ttmlStyleNamespace,"extent",f),i=n.getFirstElementByTagNameNS(t.root,"head",t.settings.ttmlNamespace),i||(i=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"head"),t.root.appendChild(i)),t.layout=n.getFirstElementByTagNameNS(i,"layout",t.settings.ttmlNamespace),t.layout||(t.layout=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"layout"),t.root.appendChild(t.layout)),o=t.layout.getElementsByTagNameNS(t.settings.ttmlNamespace,"region"),o.length||(r=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"region"),r.setAttributeNS(u.xmlNS,"id","anonymous"),r.setAttribute("data-isanonymous","1"),t.layout.appendChild(r),t.body.setAttributeNS(t.settings.ttmlNamespace,"region","anonymous")),i},n.processAnonymousSpans=function(t,i){var u,a,o,v,s,y,e,h,c,l,p,r;if(n.isTagNS(i,"p",t.settings.ttmlNamespace)){for(u=[],a=void 0,o=0,v=f.nodeListToArray(i.childNodes);o<v.length;o++)r=v[o],r.nodeType===Node.TEXT_NODE&&(a!==Node.TEXT_NODE&&u.push([]),u[u.length-1].push(r)),a=r.nodeType;for(s=0,y=u;s<y.length;s++)for(e=y[s],h=t.root.ownerDocument.createElementNS(t.settings.ttmlNamespace,"span"),h.appendChild(e[0].parentNode.replaceChild(h,e[0])),c=1;c<e.length;c++)h.appendChild(e[c])}for(l=0,p=f.nodeListToArray(i.childNodes);l<p.length;l++)r=p[l],this.processAnonymousSpans(t,r)},n.applyTiming=function(t,i,r,u,e){var b=n.getAttributeNS(i,"begin",t.settings.ttmlNamespace),o=b?e.parse(b):r.start,s=0,d=0,l=0,a=0,v=n.getAttributeNS(i,"dur",t.settings.ttmlNamespace),h=n.getAttributeNS(i,"end",t.settings.ttmlNamespace),k,p,y,w,c;for(v||h?v&&h?(l=e.parse(v),a=e.parse(h),k=Math.min(o+l,r.start+a),s=Math.min(k,r.end)):h?(a=e.parse(h),s=Math.min(r.start+a,r.end)):(l=e.parse(v),s=Math.min(o+l,r.end)):u&&(o<=r.end?(d=Math.max(0,r.end-o),s=r.end):s=0),s<o&&(s=o),o=Math.floor(o),s=Math.floor(s),i.setAttribute("data-time-start",o.toString()),i.setAttribute("data-time-end",s.toString()),o>=0&&t.events.filter(function(n){return n.time===o}).length<=0&&t.events.push({time:o,element:i}),p=o,y=0,w=f.nodeListToArray(i.childNodes);y<w.length;y++)c=w[y],c.nodeType===Node.ELEMENT_NODE&&(n.getAttributeNS(i,"timeContainer",t.settings.ttmlNamespace)!=="seq"?this.applyTiming(t,c,{start:o,end:s},!0,e):(this.applyTiming(t,c,{start:p,end:s},!1,e),p=parseInt(c.getAttribute("data-time-end"),10)))},n.applyStyling=function(t,i){for(var o,u=n.getFirstElementByTagNameNS(i,"styling",t.settings.ttmlNamespace),s=u?f.nodeListToArray(u.getElementsByTagNameNS(t.settings.ttmlNamespace,"style")):[],r=0,e=f.nodeListToArray(t.root.querySelectorAll("*"));r<e.length;r++)o=e[r],this.applyStyle(t,o,s)},n.applyStyle=function(t,i,r){var u={},f,e;this.applyStylesheet(t.settings,u,i,r);n.applyInlineStyles(t.settings,u,i);f=!0;for(e in u)if(u.hasOwnProperty(e)){f=!1;break}f||(i.setAttribute("data-styleSet",t.styleSetCache.length.toString()),t.styleSetCache.push(u))},n.applyStylesheet=function(t,i,r,e){for(var p,s,l,h,a,o,v=n.getAttributeNS(r,"style",t.ttmlNamespace),w=v?v.split(/\s+/):[],c=0,y=w;c<y.length;c++)for(p=y[c],s=0,l=e;s<l.length;s++)o=l[s],n.getAttributeNS(o,"id",u.xmlNS)===p&&(this.applyStylesheet(t,i,o,e),n.applyInlineStyles(t,i,o));if(n.isTagNS(r,"region",t.ttmlNamespace))for(h=0,a=f.nodeListToArray(r.getElementsByTagNameNS(t.ttmlNamespace,"style"));h<a.length;h++)o=a[h],n.applyInlineStyles(t,i,o)},n.applyInlineStyles=function(t,i,r){for(var o,u=0,s=f.nodeListToArray(r.attributes);u<s.length;u++)o=s[u],o.namespaceURI===t.ttmlStyleNamespace&&(i[n.getLocalTagName(o)]=e.trim(o.nodeValue))},n.getLocalTagName=function(n){return n.localName||n.baseName},n.isTagNS=function(n,t,i){return n.namespaceURI===i&&this.getLocalTagName(n)===t},n.getAttributeNS=function(n,t,i){var e=n.getAttributeNS(i,t),u,o,r;if(!e)for(u=0,o=f.nodeListToArray(n.attributes);u<o.length;u++)if(r=o[u],r.localName===t&&r.lookupNamespaceURI(r.prefix)===i){e=r.value;break}return e},n.getFirstElementByTagNameNS=function(n,t,i){if(n){var r=n.getElementsByTagNameNS(i,t);if(r&&r.length)return r[0]}return null},n.mediaStart=-1,n.mediaEnd=99999999,n}();t.TtmlParser=o}.apply(t,u),r!==undefined&&(n.exports=r))},"ttml-settings":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("utility")],r=function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});t.xmlNS="http://www.w3.org/XML/1998/namespace";var r=function(){function n(n){this.ttmlNamespace="http://www.w3.org/ns/ttml";this.ttmlStyleNamespace="http://www.w3.org/ns/ttml#styling";this.ttmlParameterNamespace="http://www.w3.org/ns/ttml#parameter";this.ttmlMetaNamespace="http://www.w3.org/ns/ttml#metadata";this.idPrefix="";this.mediaFrameRate=30;this.mediaFrameRateMultiplier=1;this.mediaSubFrameRate=1;this.mediaTickRate=1e3;this.supportedTimeBase="media";this.cellResolution={rows:15,columns:32};this.defaultRegionStyle={backgroundColor:"transparent",color:"#E8E9EA",direction:"ltr",display:"auto",displayAlign:"before",extent:"auto",fontFamily:"default",fontSize:"1c",fontStyle:"normal",fontWeight:"normal",lineHeight:"normal",opacity:"1",origin:"auto",overflow:"hidden",padding:"0",showBackground:"always",textAlign:"start",textDecoration:"none",textOutline:"none",unicodeBidi:"normal",visibility:"visible",wrapOption:"noWrap",writingMode:"lrtb",zIndex:"auto"};this.fontMap={};this.fontMap["default"]="Lucida sans typewriter, Lucida console, Consolas";this.fontMap.monospaceSerif="Courier";this.fontMap.proportionalSerif="Times New Roman, Serif";this.fontMap.monospaceSansSerif="Lucida sans typewriter, Lucida console, Consolas";this.fontMap.proportionalSansSerif="Arial, Sans-serif";this.fontMap.casual="Verdana";this.fontMap.cursive="Zapf-Chancery, Segoe script, Cursive";this.fontMap.smallCaps="Arial, Helvetica";this.fontMap.monospace="Lucida sans typewriter, Lucida console, Consolas";this.fontMap.sansSerif="Arial, Sans-serif";this.fontMap.serif="Times New Roman, Serif";n&&i.extend(this,n)}return n}();t.TtmlSettings=r}.apply(t,u),r!==undefined&&(n.exports=r))},"ttml-time-parser":function(n,t,i){"use strict";var u,r;!(u=[i,t],r=function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.mediaFrameRate=n;this.mediaTickRate=t}return n.prototype.parse=function(t){var i,r;if(!t)return 0;if(i=n.absoluteTimeRegex.exec(t),i&&i.length>3){var f=parseInt(i[1],10)*3600,e=parseInt(i[2],10)*60,o=parseInt(i[3],10),u=0;return i[5]&&(u=parseFloat(i[4])*1e3),i[6]&&(u=Math.round(parseFloat(i[6])*this.getTimeUnitMultiplier("f"))),1e3*(f+e+o)+u}return(r=n.relativeTimeRegex.exec(t),r&&r.length>3)?Math.round(parseFloat(r[1])*this.getTimeUnitMultiplier(r[3])):0},n.prototype.getTimeUnitMultiplier=function(n){switch(n){case"h":return 36e5;case"ms":return 1;case"m":return 6e4;case"s":return 1e3;case"f":return 1e3/this.mediaFrameRate;case"t":return 1e3/this.mediaTickRate;default:return 0}},n.absoluteTimeRegex=/^(\d{1,}):(\d{2}):(\d{2})((\.\d{1,})|:(\d{2,}(\.\d{1,})?))?$/,n.relativeTimeRegex=/^(\d+(\.\d+)?)(ms|[hmsft])$/,n}();t.TtmlTimeParser=i}.apply(t,u),r!==undefined&&(n.exports=r))},utility:function(n,t,i){"use strict";var f,u,r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};!(f=[i,t,i("stringExtensions")],u=function(n,t,i){function u(n){return!isNaN(n)&&typeof n=="number"}function e(){return window.innerWidth&&document.documentElement.clientWidth?Math.min(window.innerWidth,document.documentElement.clientWidth):window.innerWidth||document.documentElement.clientWidth}function c(){return window.innerHeight&&document.documentElement.clientHeight?Math.min(window.innerHeight,document.documentElement.clientHeight):window.innerHeight||document.documentElement.clientHeight}function l(n){if(n!=null)return{width:n.clientWidth,height:n.clientHeight}}function a(n){var t;if((n=n||window.event,!n)||(t=n.key||n.keyIdentifier,!t))return t;switch(t){case"Left":return"ArrowLeft";case"Right":return"ArrowRight";case"Up":return"ArrowUp";case"Down":return"ArrowDown";case"Esc":return"Escape";default:return t}}function v(n){return n=n||window.event,n==null?null:n.which||n.keyCode||n.charCode}function y(n,t,i,r,u){var o="",f,e;r&&(f=new Date,f.setTime(f.getTime()+r*864e5),o="; expires="+f.toUTCString());e="";u&&(e=";domain="+u);window.document.cookie=n+"="+encodeURIComponent(t)+o+("; path="+i+";")+e}function p(n){var t,i;if(!!n)for(t=0,i=document.cookie.split("; ");t<i.length;t++){var r=i[t],f=r.indexOf("="),u=o(r.substring(0,f));if(u===n)return o(r.substring(u.length+1))}return null}function o(n){return n=decodeURIComponent(n.replace("/+/g"," ")),n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),n}function w(n){var u;if(!!n&&n.length===6){var t=parseInt(n.substring(0,2),16),i=parseInt(n.substring(2,4),16),r=parseInt(n.substring(4,6),16);if(!isNaN(t)&&!isNaN(i)&&!isNaN(r))return u=(t*299+i*587+r*114)/255e3,u>=.5?2:1}return null}function b(n,t,i){return!i||!u(n)||!u(t)||!u(i.left)||!u(i.right)||!u(i.top)||!u(i.bottom)?!1:n>=i.left&&n<=i.right&&t>=i.top&&t<=i.bottom}function k(n){console&&console.warn?console.warn(n):console&&console.error&&console.error(n)}function d(n,t){if((t||!(s("item").toLowerCase().indexOf("perf_marker_global:true")<0))&&!i.isNullOrWhiteSpace(n)&&window.performance&&window.performance.mark){var r=n.split(" ").join("_");window.performance.mark(r);window.console&&window.console.timeStamp&&window.console.timeStamp(r)}}function g(n){if(i.isNullOrWhiteSpace(n)||!window.performance||!window.performance.mark)return 0;var r=n.split(" ").join("_"),t=window.performance.getEntriesByName(r);return t&&t.length?Math.round(t[t.length-1].startTime):0}function nt(n,t){var f;if(!u(n))return"00:00";f=n<0;f&&(n*=-1);var r=Math.floor(n/3600),e=n%3600,o=Math.floor(e/60),i="";return i=t?r>0?r+":":"00:":r>0?r+":":"",n=Math.floor(e%60),i+=(o<10?"0":"")+o,i+=":"+(n===0?"00":(n<10?"0":"")+n),f?"-"+i:i}function tt(n){if(!JSON||!JSON.parse)throw new Error("JSON.parse unsupported.");if(!n)throw new Error("Invalid json.");return JSON.parse(n)}function f(){for(var o,t,s,n,e,i,u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];if(!u||!u.length)return null;if(o=typeof u[0]=="boolean"&&u[0],u.length<2)return o?null:u[0];if(o&&u.length<3)return u[1];for(t=o?u[1]:u[0],s=o?2:1;s<u.length;s++)for(n in u[s])if(u[s].hasOwnProperty(n)){if(e=u[s][n],o){var h=Array.isArray?Array.isArray(e):{}.toString.call(e)==="[object Array]",c=!!t[n]&&(Array.isArray?Array.isArray(t[n]):{}.toString.call(t[n])==="[object Array]"),a=!h&&(typeof e=="undefined"?"undefined":r(e))==="object",v=!c&&!!t[n]&&r(t[n])==="object";if(h&&c){for(i=0;i<e.length;i++)h=Array.isArray?Array.isArray(e[i]):{}.toString.call(e[i])==="[object Array]",c=!!t[n][i]&&(Array.isArray?Array.isArray(t[n][i]):{}.toString.call(t[n][i])==="[object Array]"),a=!h&&r(e[i])==="object",v=!c&&!!t[n][i]&&r(t[n][i])==="object",t[n][i]=h?f(!0,c?t[n][i]:[],e[i]):a?f(!0,v?t[n][i]:{},e[i]):e[i];continue}else if(h){t[n]=f(!0,[],e);continue}else if(a){t[n]=f(!0,v?t[n]:{},e);continue}}t[n]=e}return t}function it(n,t,i,r,u){var f=!i||i<0?-1:Number(new Date)+i;t=t||100,function e(){var i=n();if(i&&r)r();else{if(i)return;if(f===-1||Number(new Date)<f)setTimeout(e,t);else if(u)u();else return}}()}function s(n,t){return t===void 0&&(t=!0),h(location.search,n,t)}function rt(n,t,i){return i===void 0&&(i=!0),h(n,t,i)}function h(n,t,i){if(i===void 0&&(i=!0),!t||!n)return"";var r="[\\?&]"+t.replace(/[\[\]]/g,"\\$&")+"=([^&#]*)",f=i?new RegExp(r,"i"):new RegExp(r),u=f.exec(n);return u===null?"":decodeURIComponent(u[1].replace(/\+/g," "))}function ut(n,t){var i,r;if(!t)return n;if(n.indexOf("//")===-1)throw'To avoid unexpected results in URL parsing, url must begin with "http://", "https://", or "//"';return i=document.createElement("a"),i.href=n,i.search=(i.search?i.search+"&":"?")+t,r=i.href,i=null,r}function ft(n,t){if(window.sessionStorage&&n&&t)try{sessionStorage.setItem(n,t)}catch(i){}}function et(n){if(!window.sessionStorage||!n)return null;try{return sessionStorage.getItem(n)}catch(t){return null}}function ot(n,t){if(window.localStorage&&n&&t)try{localStorage.setItem(n,t)}catch(i){}}function st(n){if(!window.localStorage||!n)return null;try{return localStorage.getItem(n)}catch(t){return null}}function ht(){return window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0}Object.defineProperty(t,"__esModule",{value:!0});t.isNumber=u;t.getWindowWidth=e;t.getWindowHeight=c;t.getDimensions=l;t.getVirtualKey=a;t.getKeyCode=v;t.setCookie=y;t.getCookie=p;t.detectContrast=w;t.pointInRect=b;t.apiDeprecated=k;t.createPerfMarker=d;t.getPerfMarkerValue=g;t.toElapsedTimeString=nt;t.parseJson=tt;t.extend=f;t.poll=it;t.getQSPValue=s;t.getQSPFromUrl=rt;t.addQSP=ut;t.saveToSessionStorage=ft;t.getValueFromSessionStorage=et;t.saveToLocalStorage=ot;t.getValueFromLocalStorage=st;t.getScrollTop=ht;var ct;(function(n){function t(){var t;if(window.matchMedia){for(t=0;t<n.allWidths.length;++t)if(!window.matchMedia("(min-width:"+n.allWidths[t]+"px)").matches)return t}else for(t=0;t<n.allWidths.length;++t)if(!(e()>=n.allWidths[t]))return t;return n.allWidths.length}n.allWidths=[320,540,768,1084,1400,1779];n.vpMin=n.allWidths[0];n.vpMax=2048;n.getViewport=t})(ct=t.Viewports||(t.Viewports={}))}.apply(t,f),u!==undefined&&(n.exports=u))},video:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("videoControls"),i("video-closed-captions"),i("utility"),i("htmlExtensions"),i("stringExtensions")],r=function(n,t,i,r,u,f,e){Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function n(t){var r=this;if(this.videoComponent=t,this.canPlay=!1,this.errorMessageDisplayed=!1,this.onMouseEvent=function(n){if(n=f.getEvent(n),n.type==="mouseover")!r.controlPanelTimer||window.clearTimeout(r.controlPanelTimer),r.showControlPanel();else if(n.type==="mouseout"){for(var t=n.toElement||n.relatedTarget;t&&t.parentNode&&t.parentNode!==window;){if(t.parentNode===r||t===r){f.preventDefault(n);return}t=t.parentNode}r.startControlPanelTimeout()}},this.onVideoMetadataLoaded=function(){!r.videoControls||!r.videoPlayer||(r.canPlay=!1,r.videoControls.setDuration(r.videoPlayer.duration),r.videoPlayer.getAttribute("autoplay")!==null&&r.play())},this.onVideoTimeUpdate=function(){!r.videoControls||!r.videoPlayer||(r.videoControls.setPlayPosition(r.videoPlayer.currentTime),r.closedCaptions&&r.closedCaptions.updateCaptions(r.videoPlayer.currentTime))},this.onVideoPlayStateChanged=function(n){r.canPlay=r.canPlay||n.type==="canplay"||n.type==="canplaythrough";!r.videoControls||r.videoControls.updatePlayPauseState()},this.onVideoPlayerClicked=function(){r.isPlayable&&(r.isPaused()?r.play():r.pause())},this.onVideoEnded=function(){!r.videoControls||(r.videoControls.setPlayPosition(0),r.videoControls.updatePlayPauseState());r.closedCaptions&&r.closedCaptions.updateCaptions(0)},this.onResized=function(){!r.videoComponent||!r.triggerParagraph||(u.getDimensions(r.videoComponent).width<u.Viewports.allWidths[2]?r.triggerParagraph.setAttribute(n.ariaHidden,"true"):r.triggerParagraph.removeAttribute(n.ariaHidden))},t){if(this.videoPlayer=f.selectFirstElementT(".f-video-player",this.videoComponent),this.videoControlsContainer=f.selectFirstElement(".f-video-controls",this.videoComponent),this.videoControls=new i.VideoControls(this.videoControlsContainer,this),!this.videoPlayer||!this.videoPlayer.canPlayType)return null;this.initializeClosedCaptions();this.triggerContainer=f.selectFirstElement("section",this.videoComponent);!this.triggerContainer||(this.trigger=f.selectFirstElement(".c-action-trigger",this.triggerContainer),this.triggerParagraph=f.selectFirstElement("p",this.triggerContainer),this.triggerParagraph&&(this.resizeListener=f.addThrottledEvent(window,f.eventTypes.resize,this.onResized),this.onResized()));this.videoControlsContainer&&this.videoControls&&(this.videoControls.setMuted(this.videoPlayer.getAttribute("muted")!==null),this.videoControls.setVolume(parseInt(u.getCookie(n.cookieVolume)||"1",10)),f.addEvents(this.videoComponent,"mouseover mouseout",this.onMouseEvent),f.addEvents(this.videoPlayer,"canplay canplaythrough waiting",this.onVideoPlayStateChanged),f.addEvent(this.videoPlayer,f.eventTypes.loadedmetadata,this.onVideoMetadataLoaded),f.addEvent(this.videoPlayer,f.eventTypes.timeupdate,this.onVideoTimeUpdate),f.addEvent(this.videoPlayer,f.eventTypes.ended,this.onVideoEnded),f.addEvent(this.videoPlayer,f.eventTypes.click,this.onVideoPlayerClicked),this.startControlPanelTimeout())}}return n.prototype.startControlPanelTimeout=function(){var t=this;this.controlPanelTimer=window.setTimeout(function(){t.hideControlPanel()},n.controlPanelTimeout)},n.prototype.hideControlPanel=function(){!this.controlPanelTimer||window.clearTimeout(this.controlPanelTimer);!this.videoControlsContainer||f.hasClass(this.videoControlsContainer,n.showControlsClass)&&(f.removeClass(this.videoControlsContainer,n.showControlsClass),f.addClass(this.videoControlsContainer,n.hideControlsClass),!this.ccOverlay||(f.removeClass(this.ccOverlay,n.fitControlsClass),this.closedCaptions&&this.videoPlayer&&this.closedCaptions.updateCaptions(this.videoPlayer.currentTime)));!this.videoControls||this.videoControls.prepareToHide()},n.prototype.showControlPanel=function(){!this.videoControlsContainer||this.errorMessageDisplayed||f.hasClass(this.videoControlsContainer,n.hideControlsClass)&&(f.removeClass(this.videoControlsContainer,n.hideControlsClass),f.addClass(this.videoControlsContainer,n.showControlsClass),!this.ccOverlay||(f.addClass(this.ccOverlay,n.fitControlsClass),this.closedCaptions&&this.videoPlayer&&this.closedCaptions.updateCaptions(this.videoPlayer.currentTime)))},n.prototype.isPaused=function(){return!this.videoPlayer?!1:this.videoPlayer.paused},n.prototype.isPlayable=function(){return!this.videoPlayer?!1:this.canPlay},n.prototype.play=function(){!this.videoPlayer||this.videoPlayer.play();!this.videoControls||this.videoControls.updatePlayPauseState()},n.prototype.pause=function(){!this.videoPlayer||this.videoPlayer.pause();!this.videoControls||this.videoControls.updatePlayPauseState()},n.prototype.setPlayPosition=function(t){u.isNumber(t)&&!!this.videoPlayer&&(t=Math.max(0,Math.min(t,u.isNumber(this.videoPlayer.duration)?this.videoPlayer.duration:0)),Math.abs(t-this.videoPlayer.currentTime)>=n.positionUpdateThreshold&&(this.videoPlayer.currentTime=t))},n.prototype.getVolume=function(){return!!this.videoPlayer&&u.isNumber(this.videoPlayer.volume)?this.videoPlayer.volume:0},n.prototype.setVolume=function(t){u.isNumber(t)&&!!this.videoPlayer&&(t=Math.round(Math.max(0,Math.min(t,1))*100)/100,t!==this.videoPlayer.volume&&(this.videoPlayer.volume=t,u.setCookie(n.cookieVolume,t.toString(),"/",365),!this.videoControls||this.videoControls.setVolume(t)))},n.prototype.isMuted=function(){return!this.videoPlayer?!0:this.videoPlayer.muted},n.prototype.setMuted=function(n){!this.videoPlayer||n===this.videoPlayer.muted||(this.videoPlayer.muted=n,!this.videoControls||this.videoControls.setMuted(n))},n.prototype.setFullscreen=function(){if(!!this.videoPlayer&&(this.videoPlayer.requestFullscreen||this.videoPlayer.msRequestFullscreen||this.videoPlayer.mozRequestFullScreen||this.videoPlayer.webkitRequestFullscreen||this.videoPlayer.webkitSupportsFullscreen)){var n=document.fullScreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,t=document.cancelFullScreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitCancelFullScreen||document.webkitCancelFullScreen,i=this.videoPlayer.requestFullscreen||this.videoPlayer.msRequestFullscreen||this.videoPlayer.mozRequestFullScreen||this.videoPlayer.webkitRequestFullscreen||this.videoPlayer.webkitEnterFullScreen;n&&t();i.call(this.videoPlayer)}},n.prototype.initializeClosedCaptions=function(){(this.ccOverlay=f.selectFirstElement(".f-video-cc-overlay",this.videoComponent),this.ccOverlay)&&(this.closedCaptions=new r.VideoClosedCaptions(this.ccOverlay),this.initializeClosedCaptionsMenu())},n.prototype.initializeClosedCaptionsMenu=function(t){var e,r,o,h,c,s,l,i;if(this.ccOverlay&&this.closedCaptions){if(!t&&(t=[],r=f.selectElementsT("ul[data-video-sub-options=f-video-captions] li a[data-video-selectable]",this.videoComponent),r))for(r=r.slice(1),o=0,h=r;o<h.length;o++){var i=h[o],a=this.removeIdPrefix(i.parentElement.id),v=i.parentElement.getAttribute("aria-selected")==="true";v&&(e=a);t.push({id:a,value:f.getText(i),selected:v,href:i.href})}if(!t||!t.length){this.ccOptions=null;return}for(c=u.getCookie(n.cookieCcPreference),c&&(e=c),s=0,l=t;s<l.length;s++)i=l[s],e&&(i.selected=e===i.id),i.id=this.addIdPrefix(i.id);this.ccOptions=t;this.videoControls.setOptions({category:"f-video-captions",options:t})}},n.prototype.onOptionChanged=function(n){switch(n.category){case"f-video-captions":this.setCC(n.id);break;case"f-video-quality":this.setQuality(n.id);break;case"f-video-share":this.shareVideo(n.id)}},n.prototype.setCC=function(t){var i,r,f,e;if(this.closedCaptions){if(i=null,t&&this.ccOptions)for(r=0,f=this.ccOptions;r<f.length;r++)if(e=f[r],e.id===t){i=e;break}t=this.removeIdPrefix(t);this.closedCaptions.setCcLanguage(t,i?i.href:null);u.setCookie(n.cookieCcPreference,t,"/",365)}},n.prototype.setQuality=function(){},n.prototype.shareVideo=function(){},n.prototype.addIdPrefix=function(n){var t=this.videoComponent&&this.videoComponent.id?this.videoComponent.id+"-":null;return t&&!e.startsWith(n,t,!1)?t+n:n},n.prototype.removeIdPrefix=function(n){var t=this.videoComponent&&this.videoComponent.id?this.videoComponent.id+"-":null;return t&&e.startsWith(n,t,!1)?n.substring(t.length):n},n.prototype.showTrigger=function(){!this.triggerContainer||this.triggerContainer.setAttribute(n.ariaHidden,"false")},n.prototype.hideTrigger=function(){!this.triggerContainer||this.triggerContainer.setAttribute(n.ariaHidden,"true")},n.prototype.displayErrorMessage=function(t){if(t&&(t.title||t.message)){if(this.errorMessageDisplayed=!0,!this.errorMessage){this.errorMessage={};this.errorMessage.container=document.createElement("div");var i=document.createElement("div");this.errorMessage.title=document.createElement("p");this.errorMessage.message=document.createElement("p");this.errorMessage.container.setAttribute("role","status");this.errorMessage.title.setAttribute("class","c-heading");this.errorMessage.message.setAttribute("class","c-paragraph");!t.title||f.setText(this.errorMessage.title,t.title);!t.message||f.setText(this.errorMessage.message,t.message);this.errorMessage.container.appendChild(i);i.appendChild(this.errorMessage.title);i.appendChild(this.errorMessage.message);this.videoComponent.appendChild(this.errorMessage.container)}else f.setText(this.errorMessage.title,t.title||""),f.setText(this.errorMessage.message,t.message||""),this.errorMessage.container.setAttribute(n.ariaHidden,"false");this.hideControlPanel();this.hideTrigger()}},n.prototype.hideErrorMessage=function(){!this.errorMessage||!this.errorMessage.container||(this.errorMessage.container.setAttribute(n.ariaHidden,"true"),this.errorMessageDisplayed=!1)},n.selector=".c-video",n.showControlsClass="f-slidein",n.hideControlsClass="f-slideout",n.fitControlsClass="f-overlay-slidein",n.ariaHidden="aria-hidden",n.cookieVolume="vidvol",n.cookieCcPreference="vidccpref",n.positionUpdateThreshold=.1,n.controlPanelTimeout=3500,n}();t.Video=o}.apply(t,u),r!==undefined&&(n.exports=r))},"video-closed-captions":function(n,t,i){"use strict";var u,r;!(u=[i,t,i("ttml-parser"),i("htmlExtensions"),i("utility")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(){function n(n,t){this.element=n;this.errorCallback=t;this.lastPlayPosition=0;this.ccLanguageId=null;this.resetCaptions()}return n.prototype.setCcLanguage=function(n,t){if(this.element&&n!==this.ccLanguageId){if(this.ttmlContext=null,this.resetCaptions(),!t){this.ccLanguageId=null;return}this.ccLanguageId=n;this.loadClosedCaptions(t)}},n.prototype.getCurrentCcLanguage=function(){return this.ccLanguageId},n.prototype.loadClosedCaptions=function(n){var i=this,t;n&&(t=new XMLHttpRequest,t.onreadystatechange=function(){if(t.readyState===4&&t.status===200)i.onClosedCaptionsLoaded(t.responseXML||t.responseText)},t.open("GET",n,!0),t.setRequestHeader("Accept","text/xml, application/xml"),t.send())},n.prototype.onClosedCaptionsLoaded=function(t){if(t){this.element.setAttribute(n.ariaHidden,"false");var r=this.element.id?this.element.id+"-":"",f={idPrefix:r,fontMap:{"default":"Segoe ui, Arial"},relatedMediaObjectRegion:u.getDimensions(this.element)};this.ttmlContext=i.TtmlParser.parse(t,f);this.ttmlContext&&(this.ttmlContext.setOwnerDocument(this.element.ownerDocument),this.ttmlContext.hasEvents()?this.updateCaptions(this.lastPlayPosition):this.element.setAttribute(n.ariaHidden,"true"))}},n.prototype.updateCaptions=function(t){var f,s,i,e,o;if(this.lastPlayPosition=t,this.ttmlContext&&this.ttmlContext.hasEvents()&&(f=Math.floor(t*1e3),this.element.setAttribute(n.ariaHidden,"false"),s=u.getDimensions(this.element),this.ttmlContext.updateRelatedMediaObjectRegion(s)&&this.resetCaptions(),this.ttmlContext.updateCurrentEvents(f))){for(this.element.setAttribute(n.ariaHidden,"true"),r.removeInnerHtml(this.element),i=0,e=this.ttmlContext.getCues(f);i<e.length;i++)o=e[i],this.applyUserPreferencesOverrides(o),this.element.appendChild(o);this.element.setAttribute(n.ariaHidden,"false")}},n.prototype.resetCaptions=function(){this.ttmlContext&&this.ttmlContext.resetCurrentEvents();this.element&&(this.element.setAttribute(n.ariaHidden,"true"),r.removeInnerHtml(this.element))},n.prototype.applyUserPreferencesOverrides=function(t){var u,o,e,s,f,i;if(n.userPreferences){if(n.userPreferences.text)for(u=0,o=r.selectElements("p, span, br",t);u<o.length;u++){f=o[u];for(i in n.userPreferences.text)n.userPreferences.text.hasOwnProperty(i)&&r.css(f,i,n.userPreferences.text[i])}if(n.userPreferences.window)for(e=0,s=r.toArray(t.children);e<s.length;e++){f=s[e];for(i in n.userPreferences.window)n.userPreferences.window.hasOwnProperty(i)&&r.css(f,i,n.userPreferences.window[i])}}},n.ariaHidden="aria-hidden",n}();t.VideoClosedCaptions=f}.apply(t,u),r!==undefined&&(n.exports=r))},videoControls:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("componentFactory"),i("slider"),i("utility"),i("htmlExtensions")],r=function(n,t,i,r,u,f){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function n(t,u){var e=this,o,s;if(this.videoControls=t,this.onPlayPauseEvents=function(t){t.type==="click"?!e.videoPlayer||(e.videoPlayer.isPaused()?e.play():e.pause()):t.type==="mouseover"?!e.playTooltip||f.removeClass(e.playTooltip,n.screenReaderOnlyClass):t.type==="mouseout"&&(!e.playTooltip||f.addClass(e.playTooltip,n.screenReaderOnlyClass))},this.onVolumeEvents=function(n){n.type==="click"?f.getEventTargetOrSrcElement(n)===e.volumeButton&&e.setMuted(!e.videoPlayer.isMuted()):n.type==="mouseover"||n.type==="focus"?e.showVolumeContainer():(n.type==="mouseout"||n.type==="blur")&&e.hideVolumeContainer()},this.onVolumeSliderEvents=function(n){n.type==="focus"?e.showVolumeContainer():n.type==="blur"&&e.hideVolumeContainer()},this.onFullScreenEvents=function(t){t.type==="click"?!e.videoPlayer||e.videoPlayer.setFullscreen():t.type==="mouseover"?!e.fullScreenTooltip||e.fullScreenTooltip.setAttribute(n.ariaHidden,"false"):t.type==="mouseout"&&(!e.fullScreenTooltip||e.fullScreenTooltip.setAttribute(n.ariaHidden,"true"))},this.toggleOptionsDialog=function(){!e.optionsContainer||(e.optionsContainer.getAttribute(n.ariaHidden)==="false"?(event.type==="click"&&e.hideOptionsContainer(),event.type==="mouseout"&&window.setTimeout(function(n){n.hideOptionsContainer()},e.cleanupInterval,e)):e.optionsContainer.getAttribute(n.ariaHidden)==="true"&&(event.type==="click"||event.type==="mouseover")&&e.showOptionsContainer())},this.hideOptionsContainer=function(){!e.optionsContainer||e.optionsContainer.setAttribute(n.ariaHidden,"true")},this.onOptionsDialogClick=function(n){var t,i,r,h,u,o,s,c;if(n=f.getEvent(n),t=f.getEventTargetOrSrcElement(n),i=t.getAttribute("data-video-options"),i==="back"){e.showOptionsContainer();f.preventDefault(n);return}if(i){!e.optionsContainer||!e.odParent||(r=f.selectFirstElement("ul[data-video-sub-options="+i+"]",e.optionsContainer),f.css(r,"display","block"),h=e.calcHeight(r),f.css(e.optionsContainer,"height",h+"px"),f.css(e.odParent,"left","-160px"),e.odSubActive=r);f.preventDefault(n);return}if(!!e.odSubActive&&(f.preventDefault(n),u=t.getAttribute("data-video-selectable"),!u&&t.firstElementChild&&(t=t.firstElementChild,u=t.getAttribute("data-video-selectable")),u)){for(o=0,s=f.selectElements("a",e.odSubActive);o<s.length;o++)c=s[o],f.removeClass(c,"glyph-check-mark");if(f.addClass(t,"glyph-check-mark"),!!e.videoPlayer)e.videoPlayer.onOptionChanged({category:e.odSubActive.getAttribute("data-video-sub-options"),id:t.parentElement.id,href:t.getAttribute("href")})}e.hideOptionsContainer()},t&&u){if(this.videoPlayer=u,this.playButton=f.selectFirstElementT(".f-play-pause",this.videoControls),this.playTooltip=f.selectFirstElement("span",this.playButton),this.fullScreenButton=f.selectFirstElementT(".f-full-screen",this.videoControls),this.fullScreenTooltip=f.selectFirstElement("span",this.fullScreenButton),this.volumeButton=f.selectFirstElementT(".f-volume-button",this.videoControls),this.volumeContainer=f.selectFirstElement(".f-volume-slider",this.videoControls),this.optionsButton=f.selectFirstElementT(".f-options",this.videoControls),this.optionsContainer=f.selectFirstElement(".f-options-dialog",this.videoControls),this.timeCurrent=f.selectFirstElement(".f-current-time",this.videoControls),this.timeDuration=f.selectFirstElement(".f-duration",this.videoControls),this.cleanupInterval=2e3,o=f.selectFirstElement(".c-slider.f-progress",this.videoControls),s=f.selectFirstElement(".c-slider",this.volumeContainer),!this.playButton||!this.playTooltip||!this.fullScreenButton||!this.fullScreenTooltip||!o||!this.volumeButton||!this.volumeContainer||!s||!this.timeCurrent||!this.timeDuration||!this.optionsButton||!this.optionsContainer)return null;this.playButton.removeAttribute("aria-label");this.playTooltip.removeAttribute("aria-hidden");f.addClass(this.playTooltip,n.screenReaderOnlyClass);this.initializeLocalization();this.updatePlayPauseState();this.optionsDialogInit();f.addEvents(window,"resize scroll",this.hideOptionsContainer);f.addEvents(this.playButton,"click mouseover mouseout",this.onPlayPauseEvents);f.addEvents(this.fullScreenButton,"click mouseover mouseout",this.onFullScreenEvents);f.addEvents([this.volumeButton,this.volumeContainer],"click mouseover mouseout focus blur",this.onVolumeEvents);f.addEvents(this.optionsButton,"click mouseover mouseout",this.toggleOptionsDialog);i.ComponentFactory.create([{component:r.Slider,eventToBind:"DOMContentLoaded",elements:[o,s],callback:function(n){!n||!n.length||n.length!==2||(e.progressSlider=n[0],e.volumeSlider=n[1],e.progressSlider.subscribe({onValueChanged:function(n){return e.onProgressChanged(n)}}),e.volumeSlider.subscribe({onValueChanged:function(n){return e.onVolumeChanged(n)}}),f.addEvents(f.selectFirstElement("button",e.volumeSlider.element),"focus blur",e.onVolumeSliderEvents))}}])}}return n.prototype.initializeLocalization=function(){!this.playButton||(this.locPlay=this.playButton.getAttribute("data-locPlay")||"Play",this.locPause=this.playButton.getAttribute("data-locPause")||"Pause")},n.prototype.setDuration=function(n){u.isNumber(n)&&(!this.progressSlider||this.progressSlider.resetSlider(0,n),!this.timeDuration||f.setText(this.timeDuration,u.toElapsedTimeString(n,!1)))},n.prototype.setPlayPosition=function(n){u.isNumber(n)&&!!this.progressSlider&&this.progressSlider.setValue(n)},n.prototype.setVolume=function(n){u.isNumber(n)&&!!this.videoPlayer&&(this.videoPlayer.setVolume(n),!this.volumeSlider||(this.volumeSlider.setValue(Math.round(n*100)),this.updateMuteGlyph()))},n.prototype.setMuted=function(n){!this.videoPlayer||(this.videoPlayer.setMuted(n),this.updateMuteGlyph())},n.prototype.updateMuteGlyph=function(){if(!!this.videoPlayer&&!!this.volumeButton){f.removeClasses(this.volumeButton,["glyph-volume","glyph-mute"]);var n=this.videoPlayer.isMuted()||this.videoPlayer.getVolume()===0;f.addClass(this.volumeButton,n?"glyph-mute":"glyph-volume")}},n.prototype.prepareToHide=function(){this.hideOptionsContainer();this.hideVolumeContainer()},n.prototype.onProgressChanged=function(n){if(!n)return null;!!this.videoPlayer&&n.userInitiated&&this.videoPlayer.setPlayPosition(n.value);var t=u.toElapsedTimeString(n.value,!0);return!this.timeCurrent||f.setText(this.timeCurrent,u.toElapsedTimeString(n.value,!1)),t},n.prototype.onVolumeChanged=function(n){if(!n)return null;!!this.videoPlayer&&n.value>0&&this.videoPlayer.setMuted(!1);var t=Math.round(n.value);return this.setVolume(t/100),t.toString()},n.prototype.play=function(){!this.videoPlayer||this.videoPlayer.play()},n.prototype.pause=function(){!this.videoPlayer||this.videoPlayer.pause()},n.prototype.updatePlayPauseState=function(){!this.videoPlayer||!this.playButton||(this.videoPlayer.isPlayable()?(this.playButton.removeAttribute("disabled"),this.videoPlayer.isPaused()?(!this.playTooltip||f.setText(this.playTooltip,this.locPlay),f.removeClass(this.playButton,"glyph-pause"),f.addClass(this.playButton,"glyph-play")):(!this.playTooltip||f.setText(this.playTooltip,this.locPause),f.removeClass(this.playButton,"glyph-play"),f.addClass(this.playButton,"glyph-pause"),this.prepareToHide())):(!this.playTooltip||f.setText(this.playTooltip,this.locPlay),f.removeClass(this.playButton,"glyph-pause"),f.addClass(this.playButton,"glyph-play"),this.playButton.setAttribute("disabled","disabled")))},n.prototype.showVolumeContainer=function(){if(!!this.volumeContainer){this.volumeContainer.setAttribute(n.ariaHidden,"false");this.onlyOneDialog(this.volumeContainer)}},n.prototype.hideVolumeContainer=function(){!this.volumeContainer||this.volumeContainer.setAttribute(n.ariaHidden,"true")},n.prototype.optionsDialogInit=function(){!this.optionsContainer||(this.odParent=f.selectFirstElement("ul",this.optionsContainer),this.odDimensions=f.getClientRect(this.odParent),f.addEvent(this.odParent,f.eventTypes.click,this.onOptionsDialogClick))},n.prototype.showOptionsContainer=function(){if(!!this.optionsContainer&&!!this.odParent){this.optionsContainer.setAttribute(n.ariaHidden,"false");f.css(this.optionsContainer,"height",this.odDimensions.height+"px");f.css(this.optionsContainer,"overflowY","hidden");f.css(this.odParent,"left","0");this.odClearSubActive();this.onlyOneDialog(this.optionsContainer)}},n.prototype.onlyOneDialog=function(t){!this.optionsContainer||!this.volumeContainer||this.optionsContainer.getAttribute(n.ariaHidden)!=="false"||this.volumeContainer.getAttribute(n.ariaHidden)!=="false"||(t===this.optionsContainer?this.hideVolumeContainer():this.hideOptionsContainer())},n.prototype.calcHeight=function(n){if(!n||!this.videoControls)return 0;var t=f.getClientRect(n).height,r=f.getClientRect(this.videoControls.parentElement),u=f.getClientRect(this.videoControls),i=r.height-u.height;return t>i?(f.css(this.optionsContainer,"overflowY","scroll"),t=i):f.css(this.optionsContainer,"overflowY","hidden"),t},n.prototype.odClearSubActive=function(){!this.odSubActive||(f.css(this.odSubActive,"display","none"),this.odSubActive=null)},n.prototype.setOptions=function(n){var c,o,s,e,r,u,h,l,t,i,a;if(n&&n.options&&n.options.length&&n.category&&this.odParent){if(n.category==="info"){t=n.options[0];t&&t.href&&(c=f.selectFirstElementT("a",this.odParent),c&&c.setAttribute("href",t.href));return}if(o=n.category==="f-video-share"?1:2,s=f.selectFirstElement("ul[data-video-sub-options='"+n.category+"']",this.odParent),!!s&&(e=f.selectElements("li",s),!!e&&e.length>o)){while(e.length>o)f.removeElement(e.pop());for(r=e.pop(),o===1&&(r=r.cloneNode(!0),f.removeClasses(r.firstElementChild,["glyph-chevron-left","c-glyph"]),r.firstElementChild.removeAttribute("data-video-options")),f.removeClass(r.firstElementChild,"glyph-check-mark"),u=null,h=0,l=n.options;h<l.length;h++)t=l[h],i=s.appendChild(r.cloneNode(!0)),i.id=t.id,f.setText(i.firstElementChild,t.value),t.selected&&(u=i.firstElementChild),t.href&&(i.firstElementChild.setAttribute("href",t.href),f.addClass(i.firstElementChild,t.glyph)),t.glyph&&(f.addClass(i.firstElementChild,"c-glyph"),f.addClass(i.firstElementChild,t.glyph)),t.image&&(a=i.firstElementChild.appendChild(document.createElement("img")),f.addClass(a,"c-image"),a.setAttribute("src",t.image));if(n.category!=="f-video-share"&&(u||(u=r.firstElementChild),f.addClass(u,"glyph-check-mark"),!!this.videoPlayer))this.videoPlayer.onOptionChanged({category:n.category,id:u.parentElement.id,href:u.getAttribute("href")})}}},n.selector=".f-video-controls",n.ariaHidden="aria-hidden",n.ariaLabel="aria-label",n.screenReaderOnlyClass="x-screen-reader",n}();t.VideoControls=e}.apply(t,u),r!==undefined&&(n.exports=r))},videoTrigger:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("./src/components/tslib/scripts/"),i("publisher"),i("htmlExtensions")],r=function(n,t,i,r,u){Object.defineProperty(t,"__esModule",{value:!0});var f=function(n){function t(t){var i=n.call(this,t)||this;return i.handleElementResizeEvent=function(){i.applyWidthBasedClass()},i.onTriggerClick=function(){i.initiatePublish({id:i.element.id})},i.update(),i}return i.__extends(t,n),t.prototype.update=function(){if(this.element){var n=u.selectFirstElement(t.triggerSelector,this.element);!!n&&this.element.id&&(this.trigger=n,u.addEvent(this.trigger,u.eventTypes.click,this.onTriggerClick));this.applyWidthBasedClass();this.resizeThrottledEvent=u.addThrottledEvent(window,u.eventTypes.resize,this.handleElementResizeEvent,50)}},t.prototype.teardown=function(){u.removeEvent(window,u.eventTypes.resize,this.handleElementResizeEvent);this.element=null},t.prototype.applyWidthBasedClass=function(){var n=u.getClientRect(this.element).width;n<=t.mediumWidth&&n>t.smallWidth?this.element.setAttribute(t.dataJsWidth,t.mediumString):n<=t.smallWidth?this.element.setAttribute(t.dataJsWidth,t.smallString):this.element.removeAttribute(t.dataJsWidth)},t.prototype.publish=function(n,t){if(!!this.trigger)n.onClick(t)},t.selector=".m-video-trigger",t.typeName="VideoTrigger",t.dataJsWidth="data-js-width",t.smallString="small",t.mediumString="medium",t.smallWidth=767,t.mediumWidth=1083,t.triggerSelector="button",t}(r.Publisher);t.VideoTrigger=f}.apply(t,u),r!==undefined&&(n.exports=r))},viewportCollision:function(n,t,i){"use strict";var u,r;!(u=[i,t,i("htmlExtensions")],r=function(n,t,i){function r(n,t){var r=i.getClientRect(n),u,f,e,o;return(r.left=Math.round(r.left),r.top=Math.round(r.top),r.right=Math.round(r.right),r.bottom=Math.round(r.bottom),r.width!==0&&(u=!1,f={top:!1,bottom:!1,left:!1,right:!1},t||(e=Math.min(window.innerWidth,document.documentElement.clientWidth),o=Math.min(window.innerHeight,document.documentElement.clientHeight),t={left:0,top:0,right:e,bottom:o,width:e,height:o}),r.left<t.left&&(u=!0,f.left=!0),r.top<t.top&&(u=!0,f.top=!0),r.right>t.right&&(u=!0,f.right=!0),r.bottom>t.bottom&&(u=!0,f.bottom=!0),u))?f:!1}function u(n,t){var r=i.getClientRect(n),u,f;if(r.width===0)return null;t||(u=Math.min(window.innerWidth,document.documentElement.clientWidth),f=Math.min(window.innerHeight,document.documentElement.clientHeight),t={top:0,right:u,bottom:f,left:0,height:f,width:u});var e=Math.round(r.top-t.top),o=Math.round(t.right-r.right),s=Math.round(t.bottom-r.bottom),h=Math.round(r.left-t.left);return e>=0&&o>=0&&s>=0&&h>=0?null:{top:e,right:o,bottom:s,left:h,clientRect:r,viewport:t}}Object.defineProperty(t,"__esModule",{value:!0});t.collidesWith=r;t.getCollisionExtents=u}.apply(t,u),r!==undefined&&(n.exports=r))}})