You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
134 KiB

  1. !function(){function t(e,n,i){function r(o,a){if(!n[o]){if(!e[o]){var c="function"==typeof require&&require;if(!a&&c)return c(o,!0);if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[o]={exports:{}};e[o][0].call(u.exports,function(t){var n=e[o][1][t];return r(n?n:t)},u,u.exports,t,e,n,i)}return n[o].exports}for(var s="function"==typeof require&&require,o=0;o<i.length;o++)r(i[o]);return r}return t}()({1:[function(t,e,n){"use strict";t("@marcom/ac-polyfills/Promise"),t("@marcom/ac-polyfills/Object/create");var i=null;try{i=t("@marcom/ac-storage")}catch(r){}var s=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,o=t("mustache"),a=t("Base64"),c=t("./cookie.js"),l="ac-store-cache",u={items:t("../mustache/items.mustache")},h=function(t,e){this.message=t,this.type=e,this.name="AcStoreError",this.stack=(new Error).stack};h.prototype=new Error,h.Types={BAD_JSON_RESPONSE:0,MISSING_API_ADD_TO_BAG:1,MISSING_API_FLYOUT:2,ITEM_NOT_ADDED:3};var m={getItem:function(t){var e=null;try{i&&(e=i.getItem(t))}catch(n){}return e},setItem:function(t,e){try{i&&i.setItem(t,e)}catch(n){}},removeItem:function(t){try{i&&i.removeItem(t)}catch(e){}}},d=function(t){return t&&t.length>0&&(t[0].first=!0,t[t.length-1].last=!0),t||[]},f=function(t,e,n,i){s.call(this);var r,f=this,p=null,g=null,v=null,b=null,y=!1,_=/([^\/]*)\/\/([^\/]*)\/.*/,E=(document.referrer||"").replace(_,"$2"),w=Promise.resolve(),S={storeState:{bag:null,segmentNav:null,covers:null},itemCount:-1,storefront:{}},x=200,A=function(t,e){var n,i=S[t],r=i!==e;if(r&&"object"==typeof i&&"object"===e){r=!1;for(n in e)r=r||e[n]!==i[n];for(n in i)r=r||!(n in e)}r&&(S[t]=e,f.trigger(t+"Change",e))},T=function(t,e,i,r){var s=t.indexOf("?")===-1?"?":"&";i=i||{};for(var o in e){var a=new RegExp("(%5B|\\[)"+o+"(%5D|\\])","g");t=t.replace(a,encodeURIComponent(e[o]))}t=0===t.indexOf("//")?window.location.protocol+t:t,t+=s+"apikey="+encodeURIComponent(n),t+=r?"&l="+encodeURIComponent(window.location+""):"";for(var c in i)t+=c&&i[c]?"&"+c+"="+encodeURIComponent(i[c]):"";return new Promise(function(e,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===i.readyState)try{var t=JSON.parse(i.responseText);e(t)}catch(r){n(new h("Response is not JSON.",h.Types.BAD_JSON_RESPONSE))}},i.open("GET",t),i.withCredentials=!0,i.send()})},C=function(){var t=(window.decodeURIComponent(window.escape(a.atob(c.getAs("sfa")||"")))||"").split("|"),e=function(e){return"2"===t[0]&&9===e?t[2]:"2"===t[0]&&e>1?t[e+1]:t[e]};return g=g||{version:e(0),storefront:e(1),name:e(2),locale:e(3),segmentCode:e(4),channelCode:e(5),showBanner:"1"===e(6)||"true"===e(6),persistBanner:"1"===e(7)||"true"===e(7),bagEnabled:"0"!==e(8)&&"false"!==e(8),consumerStorefront:e(9)}},O=function(){var t=(c.get("as_atb")||"").split("|");return t.slice(2).join("")},k=function(){return new Promise(function(t,e){var n=C();A("storefront",n),t(n)})},N=function(){var t=(new Date).getTime(),r=!1,s=!0,o=!0,a=null;return b=b||k().then(function(u){var h=c.getAs("cn"),d=u.storefront||e,f=(document.location+"").replace(_,"$2"),g={storefront:d||e};return p=p||m.getItem(l),s=u.bagEnabled,o=u.showBanner,r=p&&(y&&0===p.ttl||t<p.ttl&&h===p.cn&&n===p.key&&d===p.sfLoc&&(!E||E===f)),E=f,r?Promise.resolve():T(i,g,{},!1).then(function(e){a=isNaN(parseInt(e.items,10)),p={ttl:1e3*parseInt(e.ttl,10)+t||0,items:a?0:parseInt(e.items,10),cn:h,api:e.api,key:n,sfLoc:d},m.setItem(l,p),y=!!e.api&&!e.disabled})}).then(function(){},function(){}).then(function(){return new Promise(function(t,e){var n=s&&(r||y);A("storeState",{bag:n,segmentNav:o,covers:a}),A("itemCount",n&&p&&p.items||0),b=null,n?t():e()})})},D=function(t){c.removeAs("sfa","/",".apple.com"),m.removeItem(l),p=null,g=null,C(),t||N()},I=function(t){return new Promise(function(e){setTimeout(e,t)})},M=function P(t,n){return k().then(function(i){var r=p&&p.api&&p.api.addToBag;if(!r)throw new h("No add to bag API URL on page.",h.Types.MISSING_API_ADD_TO_BAG);var s={storefront:i.storefront||e,part:t},o={atbtoken:O()},a=n&&n.messages,c=n&&n.fonts;if("[object Array]
  2. return"hasAttribute"in t?t.hasAttribute(e):null!==t.attributes.getNamedItem(e)}},{}],48:[function(t,e,n){"use strict";t("@marcom/ac-polyfills/Array/prototype.indexOf"),t("@marcom/ac-polyfills/Array/prototype.slice");var i=(t("./internal/validate"),t("./filterByNodeType"));e.exports=function(t,e){var n,r=t.parentNode;return r?(n=r.childNodes,n=e!==!1?i(n,e):Array.prototype.slice.call(n),n.indexOf(t)):0}},{"./filterByNodeType":46,"./internal/validate":54,"@marcom/ac-polyfills/Array/prototype.indexOf":121,"@marcom/ac-polyfills/Array/prototype.slice":122}],49:[function(t,e,n){"use strict";var i=t("./internal/validate");e.exports=function(t,e){return i.insertNode(t,!0,"insertAfter"),i.childNode(e,!0,"insertAfter"),i.hasParentNode(e,"insertAfter"),e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t)}},{"./internal/validate":54}],50:[function(t,e,n){"use strict";var i=t("./internal/validate");e.exports=function(t,e){return i.insertNode(t,!0,"insertBefore"),i.childNode(e,!0,"insertBefore"),i.hasParentNode(e,"insertBefore"),e.parentNode.insertBefore(t,e)}},{"./internal/validate":54}],51:[function(t,e,n){"use strict";var i=t("./internal/validate");e.exports=function(t,e){return i.insertNode(t,!0,"insertFirstChild"),i.parentNode(e,!0,"insertFirstChild"),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}},{"./internal/validate":54}],52:[function(t,e,n){"use strict";var i=t("./internal/validate");e.exports=function(t,e){return i.insertNode(t,!0,"insertLastChild"),i.parentNode(e,!0,"insertLastChild"),e.appendChild(t)}},{"./internal/validate":54}],53:[function(t,e,n){"use strict";var i=t("../isNode");e.exports=function(t,e){return!!i(t)&&("number"==typeof e?t.nodeType===e:e.indexOf(t.nodeType)!==-1)}},{"../isNode":60}],54:[function(t,e,n){"use strict";var i=t("./isNodeType"),r=t("../COMMENT_NODE"),s=t("../DOCUMENT_FRAGMENT_NODE"),o=t("../ELEMENT_NODE"),a=t("../TEXT_NODE"),c=[o,a,r,s],l=" must be an Element, TextNode, Comment, or Document Fragment",u=[o,a,r],h=" must be an Element, TextNode, or Comment",m=[o,s],d=" must be an Element, or Document Fragment",f=" must have a parentNode";e.exports={parentNode:function(t,e,n,r){if(r=r||"target",(t||e)&&!i(t,m))throw new TypeError(n+": "+r+d)},childNode:function(t,e,n,r){if(r=r||"target",(t||e)&&!i(t,u))throw new TypeError(n+": "+r+h)},insertNode:function(t,e,n,r){if(r=r||"node",(t||e)&&!i(t,c))throw new TypeError(n+": "+r+l)},hasParentNode:function(t,e,n){if(n=n||"target",!t.parentNode)throw new TypeError(e+": "+n+f)}}},{"../COMMENT_NODE":38,"../DOCUMENT_FRAGMENT_NODE":39,"../ELEMENT_NODE":42,"../TEXT_NODE":43,"./isNodeType":53}],55:[function(t,e,n){"use strict";var i=t("./internal/isNodeType"),r=t("./COMMENT_NODE");e.exports=function(t){return i(t,r)}},{"./COMMENT_NODE":38,"./internal/isNodeType":53}],56:[function(t,e,n){"use strict";var i=t("./internal/isNodeType"),r=t("./DOCUMENT_NODE");e.exports=function(t){return i(t,r)}},{"./DOCUMENT_NODE":40,"./internal/isNodeType":53}],57:[function(t,e,n){"use strict";var i=t("./internal/isNodeType"),r=t("./DOCUMENT_FRAGMENT_NODE");e.exports=function(t){return i(t,r)}},{"./DOCUMENT_FRAGMENT_NODE":39,"./internal/isNodeType":53}],58:[function(t,e,n){"use strict";var i=t("./internal/isNodeType"),r=t("./DOCUMENT_TYPE_NODE");e.exports=function(t){return i(t,r)}},{"./DOCUMENT_TYPE_NODE":41,"./internal/isNodeType":53}],59:[function(t,e,n){"use strict";var i=t("./internal/isNodeType"),r=t("./ELEMENT_NODE");e.exports=function(t){return i(t,r)}},{"./ELEMENT_NODE":42,"./internal/isNodeType":53}],60:[function(t,e,n){"use strict";e.exports=function(t){return!(!t||!t.nodeType)}},{}],61:[function(t,e,n){"use strict";var i=/^\[object (HTMLCollection|NodeList|Object)\]$/;e.exports=function(t){return!!t&&("number"==typeof t.length&&(!!("object"!=typeof t[0]||t[0]&&t[0].nodeType)&&i.test(Object.prototype.toString.call(t))))}},{}],62:[function(t,e,n){"use strict";var i=t("./internal/isNodeType"),r=t("./TEXT_NODE");e.exports=function(t){return i(t,r)}},{"./TEXT_NODE":43,"./internal/isNodeType":53}],63:[function(t,e,n){"use stri
  3. configurable:!0};try{r.defineProperty(i,e,m)}catch(d){d.number===-2146823252&&(m.enumerable=!1,r.defineProperty(i,e,m))}}else r[n].__defineGetter__&&i.__defineGetter__(e,h)}}(self))},{}],125:[function(t,e,n){Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,i=function(){},r=function(){return n.apply(this instanceof i&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,r.prototype=new i,r})},{}],126:[function(t,e,n){if(!Object.create){var i=function(){};Object.create=function(t){if(arguments.length>1)throw new Error("Second argument not supported");if(null===t||"object"!=typeof t)throw new TypeError("Object prototype may only be an Object.");return i.prototype=t,new i}}},{}],127:[function(t,e,n){Object.keys||(Object.keys=function(t){var e,n=[];if(!t||"function"!=typeof t.hasOwnProperty)throw"Object.keys called on non-object.";for(e in t)t.hasOwnProperty(e)&&n.push(e);return n})},{}],128:[function(t,e,n){e.exports=t("es6-promise").polyfill()},{"es6-promise":166}],129:[function(t,e,n){t("matchmedia-polyfill"),t("matchmedia-polyfill/matchMedia.addListener")},{"matchmedia-polyfill":177,"matchmedia-polyfill/matchMedia.addListener":176}],130:[function(t,e,n){"use strict";var i=t("./utils/eventTypeAvailable"),r=t("./shared/camelCasedEventTypes"),s=t("./shared/windowFallbackEventTypes"),o=t("./shared/prefixHelper"),a={};e.exports=function c(t,e){var n,l,u;if(e=e||"div",t=t.toLowerCase(),e in a||(a[e]={}),l=a[e],t in l)return l[t];if(i(t,e))return l[t]=t;if(t in r)for(u=0;u<r[t].length;u++)if(n=r[t][u],i(n.toLowerCase(),e))return l[t]=n;for(u=0;u<o.evt.length;u++)if(n=o.evt[u]+t,i(n,e))return o.reduce(u),l[t]=n;return"window"!==e&&s.indexOf(t)?l[t]=c(t,"window"):l[t]=!1}},{"./shared/camelCasedEventTypes":133,"./shared/prefixHelper":135,"./shared/windowFallbackEventTypes":138,"./utils/eventTypeAvailable":139}],131:[function(t,e,n){"use strict";var i=t("./shared/stylePropertyCache"),r=t("./shared/getStyleTestElement"),s=t("./utils/toCSS"),o=t("./utils/toDOM"),a=t("./shared/prefixHelper"),c=function(t,e){var n=s(t),r=e!==!1&&s(e);return i[t]=i[e]=i[n]=i[r]={dom:e,css:r},e};e.exports=function(t){var e,n,s,l;if(t+="",t in i)return i[t].dom;for(s=r(),t=o(t),n=t.charAt(0).toUpperCase()+t.substring(1),e="filter"===t?["WebkitFilter","filter"]:(t+" "+a.dom.join(n+" ")+n).split(" "),l=0;l<e.length;l++)if("undefined"!=typeof s.style[e[l]])return 0!==l&&a.reduce(l-1),c(t,e[l]);return c(t,!1)}},{"./shared/getStyleTestElement":134,"./shared/prefixHelper":135,"./shared/stylePropertyCache":136,"./utils/toCSS":140,"./utils/toDOM":141}],132:[function(t,e,n){"use strict";var i=t("./getStyleProperty"),r=t("./shared/styleValueAvailable"),s=t("./shared/prefixHelper"),o=t("./shared/stylePropertyCache"),a={},c=/(\([^\)]+\))/gi,l=/([^ ,;\(]+(\([^\)]+\))?)/gi;e.exports=function(t,e){var n;return e+="",!!(t=i(t))&&(r(t,e)?e:(n=o[t].css,e=e.replace(l,function(e){var i,o,l,u;if("#"===e[0]||!isNaN(e[0]))return e;if(o=e.replace(c,""),l=n+":"+o,l in a)return a[l]===!1?"":e.replace(o,a[l]);for(i=s.css.map(function(t){return t+e}),i=[e].concat(i),u=0;u<i.length;u++)if(r(t,i[u]))return 0!==u&&s.reduce(u-1),a[l]=i[u].replace(c,""),i[u];return a[l]=!1,""}),e=e.trim(),""!==e&&e))}},{"./getStyleProperty":131,"./shared/prefixHelper":135,"./shared/stylePropertyCache":136,"./shared/styleValueAvailable":137}],133:[function(t,e,n){"use strict";e.exports={transitionend:["webkitTransitionEnd","MSTransitionEnd"],animationstart:["webkitAnimationStart","MSAnimationStart"],animationend:["webkitAnimationEnd","MSAnimationEnd"],animationiteration:["webkitAnimationIteration","MSAnimationIteration"],fullscreenchange:["MSFullscreenChange"],fullscreenerror:["MSFullscreenError"]}},{}],134:[function(t,e,n){"use strict";var i;e.exports=function(){return i?(i.style.cssText="",i.removeAttribute("style")):i=document.createElement("_"),i},e.exports.resetElement=function()
  4. return""===this.tail},h.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},h.prototype.scanUntil=function(t){var e,n=this.tail.search(t);switch(n){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=e.length,e},m.prototype.push=function(t){return new m(t,this)},m.prototype.lookup=function(t){var n,i=this.cache;if(i.hasOwnProperty(t))n=i[t];else{for(var s,o,a=this,c=!1;a;){if(t.indexOf(".")>0)for(n=a.view,s=t.split("."),o=0;null!=n&&o<s.length;)o===s.length-1&&(c=r(n,s[o])),n=n[s[o++]];else n=a.view[t],c=r(a.view,t);if(c)break;a=a.parent}i[t]=n}return e(n)&&(n=n.call(this.view)),n},d.prototype.clearCache=function(){this.cache={}},d.prototype.parse=function(t,e){var n=this.cache,i=n[t];return null==i&&(i=n[t]=c(t,e)),i},d.prototype.render=function(t,e,n){var i=this.parse(t),r=e instanceof m?e:new m(e);return this.renderTokens(i,r,n,t)},d.prototype.renderTokens=function(t,e,n,i){for(var r,s,o,a="",c=0,l=t.length;c<l;++c)o=void 0,r=t[c],s=r[0],"#"===s?o=this.renderSection(r,e,n,i):"^"===s?o=this.renderInverted(r,e,n,i):">"===s?o=this.renderPartial(r,e,n,i):"&"===s?o=this.unescapedValue(r,e):"name"===s?o=this.escapedValue(r,e):"text"===s&&(o=this.rawValue(r)),void 0!==o&&(a+=o);return a},d.prototype.renderSection=function(t,n,i,r){function s(t){return o.render(t,n,i)}var o=this,a="",c=n.lookup(t[1]);if(c){if(p(c))for(var l=0,u=c.length;l<u;++l)a+=this.renderTokens(t[4],n.push(c[l]),i,r);else if("object"==typeof c||"string"==typeof c||"number"==typeof c)a+=this.renderTokens(t[4],n.push(c),i,r);else if(e(c)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");c=c.call(n.view,r.slice(t[3],t[5]),s),null!=c&&(a+=c)}else a+=this.renderTokens(t[4],n,i,r);return a}},d.prototype.renderInverted=function(t,e,n,i){var r=e.lookup(t[1]);if(!r||p(r)&&0===r.length)return this.renderTokens(t[4],e,n,i)},d.prototype.renderPartial=function(t,n,i){if(i){var r=e(i)?i(t[1]):i[t[1]];return null!=r?this.renderTokens(this.parse(r),n,i,r):void 0}},d.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);if(null!=n)return n},d.prototype.escapedValue=function(e,n){var i=n.lookup(e[1]);if(null!=i)return t.escape(i)},d.prototype.rawValue=function(t){return t[1]},t.name="mustache.js",t.version="2.3.0",t.tags=["{{","}}"];var x=new d;return t.clearCache=function(){return x.clearCache()},t.parse=function(t,e){return x.parse(t,e)},t.render=function(t,e,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+n(t)+'" was given as the first argument for mustache#render(template, view, partials)');return x.render(t,e,i)},t.to_html=function(n,i,r,s){var o=t.render(n,i,r);return e(s)?void s(o):o},t.escape=a,t.Scanner=h,t.Context=m,t.Writer=d,t})},{}],179:[function(t,e,n){"use strict";var i=t("./ac-globalnav/GlobalNav");new i},{"./ac-globalnav/GlobalNav":180}],180:[function(t,e,n){"use strict";function i(){var t=document.getElementById("ac-globalnav"),e=new o(t,c);this.el=t,this._viewports=new p("ac-gn-viewport-emitter"),e.addTests({windows:function(){return"windows"===l.os.toLowerCase()}}),e.htmlClass(),this.focusManager=new a(this.el),this._initializeSettings(),this._initializeMenu(),this._initializeSearch(),this._initializeStore(),this._initializeFlyoutListeners(),this._initializeListeners()}var r=t("@aos/ac-store"),s=t("./menu/CheckboxMenu"),o=t("@marcom/ac-headjs/FeatureDetect"),a=t("@marcom/ac-headjs/FocusManager"),c=t("./helpers/featureDetectTests"),l=t("@marcom/ac-browser"),u=t("./helpers/keyMap"),h=t("./helpers/ClickAway"),m=t("./search/SearchController"),d=t("./search/SearchReveal"),f=t("./segment/SegmentBar"),p=t("@marcom/ac-viewport-emitter/ViewportEmitter"),g=t("./helpers/scrollSwitch"),v=t("./helpers/getSettings"),b=t("@marcom/ac-object/defaults"),y=t("@marcom/ac-accessibility/CircularTab"),_=t("@marcom/ac-accessibility/EventProxy"),E="with-bagview",w="with-b
  5. this.requestURLs=t}var r=t("@marcom/ac-ajax-xhr"),s=t("@marcom/ac-mvc-model").Model,o=t("./sectionLabels"),a=t("./sectionAnalyticsEvents"),c=i.prototype=new s;c.fetchData=function(t){t.query=this._normalizeQuery(t.query),t.query!==this.lastQuery&&(this.lastQuery=t.query,""===t.query?r[this.requestURLs.searchDefaultLinksAPI.method](this._getRequestUrl(t,this.requestURLs.searchDefaultLinksAPI),this._getRequestConfiguration(t,this.requestURLs.searchDefaultLinksAPI.method)):r[this.requestURLs.searchSuggestionsAPI.method](this._getRequestUrl(t,this.requestURLs.searchSuggestionsAPI),this._getRequestConfiguration(t,this.requestURLs.searchSuggestionsAPI.method)))},c._normalizeQuery=function(t){return t=t.trim().replace(/\s+/g," ").replace(/[(]/g,"\\(").replace(/[)]/g,"\\)")},c._getRequestUrl=function(t,e){var n=e.url;return"get"===e.method&&(n+="?src="+t.src+"&locale="+t.locale),n},c._getRequestData=function(t){return JSON.stringify({query:t.query,src:t.src,id:t.id,locale:t.locale})},c._getRequestConfiguration=function(t,e){this._lastRequestTime=Date.now();var n={complete:this._onFetchComplete.bind(this),error:this._onFetchError.bind(this),success:this._onFetchSuccess.bind(this,this._lastRequestTime),timeout:5e3};return"post"==e&&(n.data=this._getRequestData(t),n.headers={Accept:"Application/json","Content-Type":"application/json"}),n},c._boldQueryTerms=function(t){var e;return this.lastQuery?(e=new RegExp("("+this.lastQuery.split(" ").join("|\\b")+")","ig"),t.replace(e,"<b>$&</b>")):t},c._jsonToData=function(t){var e,n,i,r,s=JSON.parse(t),c=s.results.length,l=[];for(i=0;i<c;i++)if(n=s.results[i],n.sectionResults.length){for(e=n.sectionName.toLowerCase(),""===this.lastQuery&&"quicklinks"===e&&(e="defaultlinks"),n.sectionName=e,n.sectionLabel=o[e]||e,n.sectionAnalyticsEvent=a[e],r=0;r<n.sectionResults.length;r++)n.sectionResults[r].rawLabel=n.sectionResults[r].label,n.sectionResults[r].label=this._boldQueryTerms(n.sectionResults[r].label),n.sectionResults[r].index=r;"quicklinks"===e?l.unshift(n):l.push(n)}return l.length?s.results=l:(s.results=!1,""===this.lastQuery?s.noresults=!1:s.noresults=o.noresults),s.query=this.lastQuery,s.initial=!("results"in this.attributes),s},c._onFetchSuccess=function(t,e,n,i){var r;t===this._lastRequestTime&&(r=this._jsonToData(e),this.set(r),this._trigger("fetchdata:success",r))},c._onFetchError=function(t,e){this._trigger("fetchdata:error",{request:t,status:e})},c._onFetchComplete=function(t,e){this._trigger("fetchdata:complete",{request:t,status:e})},c.reset=function(){this.attributes={id:this.attributes.id},this.lastQuery=null},e.exports=i},{"./sectionAnalyticsEvents":194,"./sectionLabels":195,"@marcom/ac-ajax-xhr":18,"@marcom/ac-mvc-model":106}],192:[function(t,e,n){"use strict";var i=t("@marcom/ac-event-emitter-micro").EventEmitterMicro,r=t("../../helpers/keyMap"),s=t("@marcom/ac-object/clone"),o="ac-gn-searchresults-link",a="current",c=function(t){i.call(this),this.el=t,this._selectedItem=!1,this._selectableItems=[],this.el.addEventListener("mousemove",this._onMouseMove.bind(this)),this.el.addEventListener("mouseleave",this._onMouseLeave.bind(this))},l=c.prototype=Object.create(i.prototype);l._onMouseMove=function(t){var e=t.target;e.classList.contains(o)&&!e.classList.contains(a)&&this.setSelectedElement(e,!0)},l._onMouseLeave=function(t){var e=t.target;e===this.el&&this.setSelected()},l.updateSelectableItems=function(){var t,e,n=Array.prototype.slice.call(document.querySelectorAll("."+o));for(this._selectableItems=[],this.setSelected(),e=0;e<n.length;e++)t=n[e],this._selectableItems.push({element:t,section:t.getAttribute("data-section"),value:t.textContent||t.innerText,index:e,hover:!1})},l.getSelectableItems=function(){return this._selectableItems},l.setSelected=function(t,e){t=t||!1,this._selectedItem&&this._selectedItem!==t&&(this._selectedItem.hover=!1,this._selectedItem.element.classList.remove(a)),t&&(t.hover=!!e,t.element.classList.add(a)),this._selectedItem!==t&&(this._selectedItem=t,t&&(t=s(t)),this.trigger("change",t))},l.setSelectedIndex=function(t,e){this.setSelected(this._sele