text: !function e(t,n,i){function s(r,a){if(!n[r]){if(!t[r]){var u="function"==typeof require&&require;if(!a&&u)return u(r,!0);if(o)return o(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[r]={exports:{}};t[r][0].call(c.exports,function(e){var n=t[r][1][e];return s(n?n:e)},c,c.exports,e,t,n,i)}return n[r].exports}for(var o="function"==typeof require&&require,r=0;r<i.length;r++)s(i[r]);return s}({1:[function(e,t,n){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r="undefined"!=typeof window?window._:"undefined"!=typeof t?t._:null,a=i(r),u=e("enquire.js"),l=i(u),c="undefined"!=typeof window?window.angular:"undefined"!=typeof t?t.angular:null,f=i(c),d=e("../../../globals/styles/includes/breakpoints.json"),h=e("../../../utilities/breakpoint-utils/scripts/breakpoint-utils.es6"),p=f["default"].module("auraComponents"),m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,e);var i={};this.options=a["default"].extend(i,n),this.bindings=[],this.createBindings(),this.bind()}return o(e,[{key:"createBindings",value:function(){var e=this;a["default"].each(this.options.configurations,a["default"].bind(function(t){var n=[];t.above&&n.push("(min-width: "+t.above+")"),t.below&&n.push("(max-width: "+t.below+")"),1===n.length?e.bindings.push({query:"screen and "+n[0],config:{match:t.match,unmatch:t.unmatch}}):2===n.length&&e.bindings.push({query:"screen and "+n.join(" and "),config:{match:t.match,unmatch:t.unmatch}})},this))}},{key:"bind",value:function(){a["default"].each(this.bindings,function(e){l["default"].register(e.query,e.config)})}},{key:"destroy",value:function(){a["default"].each(this.bindings,function(e){l["default"].unregister(e.query,e.config)})}}]),e}();p.service("responsiveUtilities",[function(){function e(e){var t=a["default"].mapValues(e,function(e,t){return 72*a["default"].split(t,"x")[0]}),n=null;return a["default"].each(t,function(e,t){window.matchMedia("(min-resolution: "+e+"dpi)").matches?n=t:window.matchMedia("(-webkit-min-device-pixel-ratio: "+e/72+")").matches&&(n=t)}),e[n]}function t(e){return parseInt(e,10)+1+"px"}function n(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a["default"].noop;if(!e.responsiveGrid)throw new Error("responsiveUtilities: Attempted to use a responsive directive without specifying a `responsive-grid` attribute.");var s=a["default"].sortBy(a["default"].map(d.breakpoints[e.responsiveGrid],function(e,t){return{name:t,breakpoint:e}}),function(e){return(0,h.parsePixelUnit)(e.breakpoint)}),o=[].concat(a["default"].map(s,function(s){return{above:t(s.breakpoint),match:function(){n(e.$normalize("above-"+s.name))},unmatch:function(){i(e.$normalize("above-"+s.name))}}}),a["default"].map(s,function(t){return{below:t.breakpoint,match:function(){n(e.$normalize("below-"+t.name))},unmatch:function(){i(e.$normalize("below-"+t.name))}}}),function(){function o(s,o){r.push({above:t(s.breakpoint),below:o.breakpoint,match:function(){n(e.$normalize("above-"+s.name+"-below-"+o.name))},unmatch:function(){i(e.$normalize("above-"+s.name+"-below-"+o.name))}})}for(var r=[],a=0;a<s.length;a+=1)for(var u=a+1;u<s.length;u+=1)o(s[a],s[u]);return r}());return{grid:e.responsiveGrid,configurations:o}}return{getOptionsFromAttributes:n,getValueFromDensities:e}}]),p.directive("responsive",["responsiveUtilities","$parse",function(e,t){function n(n,i,s){var o=e.getOptionsFromAttributes(s,function(e){t(s[e])(n)});n.responsive=new m(i,o),n.$on("$destroy",function(){n.responsive.destroy()})}return{restrict:"E",scope:!0,link:n}}]),n["default"]=m}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../../globals/styles/includes/breakpoints.json":2,"../../../utilities/breakpoint-utils/scripts/breakpoint-utils.es6":10,"enquire.js":9}],2:[function(e,t,n){t.exports={breakpoints:{page:{md:"1023px",sm:"767px",xs:"479px"},splitView:{md:"1200px",sm:"767px"},threePane:{sm:"767px",md:"1279px",lg:"1365px"},messengerActionsBar:{sm:"539px"}}}},{}],3:[function(e,t,n){(function(t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var i="undefined"!=typeof window?window.angular:"undefined"!=typeof t?t.angular:null,s=n(i),o=e("../../../components/responsive/scripts/responsive.es6"),r=n(o),a=e("./category-carousel.es6"),u=n(a),l=s["default"].module("auraComponents");l.directive("categoryCarousel",["responsiveUtilities",function(e){function t(t,n,i){var s=new u["default"](n,{count:parseInt(i.count,10)}),o=e.getOptionsFromAttributes(i,function(){s.onResponsiveMatched()},function(e){s.onResponsiveUnMatched(e)}),a=new r["default"](n,o);t.$on("$destroy",function(){a.destroy()}),t.carousel=s}return{restrict:"E",scope:!0,link:t}}])}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../../components/responsive/scripts/responsive.es6":1,"./category-carousel.es6":4}],4:[function(e,t,n){(function(e){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o="undefined"!=typeof window?window._:"undefined"!=typeof e?e._:null,r=t(o),a=500,u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var s=t.find(".CategoryCarousel-list"),o=s.find(".CategoryCarousel-item"),a=s.scrollParent();this.refs={$cardsList:s,$cards:o,$scrollableElement:a};var u={};this.options=r["default"].defaults({},n,u),this.state={isAnimating:!1,index:0},this.update()}return s(e,[{key:"update",value:function(){var e=this.refs.$scrollableElement[0].getBoundingClientRect().width,t=this.refs.$cards[0].getBoundingClientRect().width;r["default"].extend(this.state,{width:e,cardWidth:t,increment:Math.floor(e/t)})}},{key:"getCssLeft",value:function(e){return"-"+e*this.state.cardWidth+"px"}},{key:"onResponsiveMatched",value:function(){this.update(),this.refs.$cardsList.animate({left:this.getCssLeft(this.state.index)},0)}},{key:"onResponsiveUnMatched",value:function(e){"aboveXs"===e?(this.state.index=0,this.refs.$cardsList.animate({left:0},0)):"belowXs"===e&&this.refs.$scrollableElement.animate({scrollLeft:0},0)}},{key:"scrollCards",value:function(e,t,n,i){var s=this;this.state.isAnimating||(this.state.isAnimating=!0,e?(this.state.index=n,this.refs.$cardsList.animate({left:this.getCssLeft(t)},0,function(){return s.completeAnimation(n)})):(this.state.index=i,this.completeAnimation(i)))}},{key:"completeAnimation",value:function(e){var t=this;this.refs.$cardsList.animate({left:this.getCssLeft(e)},a,function(){t.refs.$scrollableElement.trigger("scroll"),t.state.isAnimating=!1})}},{key:"onClickLeft",value:function(){this.scrollCards(this.state.index-this.state.increment<0,this.options.count+this.state.index,this.options.count+(this.state.index-this.state.increment),this.state.index-this.state.increment)}},{key:"onClickRight",value:function(){this.scrollCards(this.state.index>=this.options.count,this.state.index-this.options.count,this.state.index-this.options.count+this.state.increment,this.state.index+this.state.increment)}}]),e}();n["default"]=u}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],5:[function(e,t,n){function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}var s=e("./QueryHandler"),o=e("./Util").each;i.prototype={constuctor:i,addHandler:function(e){var t=new s(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,function(n,i){if(n.equals(e))return n.destroy(),!t.splice(i,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,function(t){t[e]()})}},t.exports=i},{"./QueryHandler":7,"./Util":8}],6:[function(e,t,n){function i(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var s=e("./MediaQuery"),o=e("./Util"),r=o.each,a=o.isFunction,u=o.isArray;i.prototype={constructor:i,register:function(e,t,n){var i=this.queries,o=n&&this.browserIsIncapable;return i[e]||(i[e]=new s(e,o)),a(t)&&(t={match:t}),u(t)||(t=[t]),r(t,function(t){a(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},t.exports=i},{"./MediaQuery":5,"./Util":8}],7:[function(e,t,n){function i(e){this.options=e,!e.deferSetup&&this.setup()}i.prototype={constructor:i,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},t.exports=i},{}],8:[function(e,t,n){function i(e,t){var n,i=0,s=e.length;for(i;i<s&&(n=t(e[i],i),n!==!1);i++);}function s(e){return"[object Array]"===Object.prototype.toString.apply(e)}function o(e){return"function"==typeof e}t.exports={isFunction:o,isArray:s,each:i}},{}],9:[function(e,t,n){var i=e("./MediaQueryDispatch");t.exports=new i},{"./MediaQueryDispatch":6}],10:[function(e,t,n){(function(t){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n.loadBreakpoint=n.parsePixelUnit=void 0;var s="undefined"!=typeof window?window._:"undefined"!=typeof t?t._:null,o=i(s),r=e("../../../globals/styles/includes/breakpoints.json"),a=n.parsePixelUnit=function(e){return o["default"].toNumber(o["default"].replace(e,"px",""))};n.loadBreakpoint=function(e,t){var n=o["default"].get(r.breakpoints,e+"."+t,null);return null===n?null:a(n)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../../globals/styles/includes/breakpoints.json":2}]},{},[3]);