!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(self,(function(){return(()=>{"use strict";var e={8941:(e,t,r)=>{r.r(t),r(7643),r(7721),r(3478),r(1586),r(2300),r(9324),r(5288),r(7977),r(5821),r(2180),r(5259),r(9263),r(6065),r(1551),r(3824),r(8394),r(6495),r(7578),r(4104),r(6584);var n,o=r(7876),i=(r(4620),r(8820),r(3555),r(9704),r(7903),r(9602),r(7415),r(8039),r(2389)),a=(r(6686),r(232),r(2432),r(3030),r(6371)),s=r(5599),c=r(9308),u=r(3481);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g,b,m,S,v,_,w=(0,s.Z)(a,[JSON.parse('{"en_US":{"search_selected_product_label":"{:selectedProductName} Help"}}')],!1),T=(0,i.mf)({id:"6oo9FHsb",block:'[[[1,"\\n    "],[1,"\\n\\n    "],[11,"button"],[16,0,[29,[[30,0,["buttonClasses"]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["selectProduct"]]],null],[12],[1,"\\n      "],[1,[28,[32,1],["search_selected_product_label"],[["selectedProductName"],[[30,0,["args","model","productNameShort"]]]]]],[1,"\\n    "],[13],[1,"\\n"]],[],false,[]]',moduleName:"(unknown template module)",scope:function(){return[u.on,w]},isStrictMode:!0},(n=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(a,e);var t,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(n);if(o){var r=y(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return h(this,e)});function a(){return d(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"isSelected",get:function(){return this.args.model===this.args.selectedProduct}},{key:"buttonClasses",get:function(){var e="site-search-product-selector__menu-item";return this.isSelected&&(e+=" site-search-product-selector__menu-item--selected"),e+" t-14 t-bold t-black--light t-14--open dropdown__menu-item"}},{key:"selectProduct",value:function(){this.args.handleSelectProduct(this.args.model)}}])&&p(t.prototype,r),a}(c.ZP),g=n.prototype,b="selectProduct",m=[u.a],S=Object.getOwnPropertyDescriptor(n.prototype,"selectProduct"),v=n.prototype,_={},Object.keys(S).forEach((function(e){_[e]=S[e]})),_.enumerable=!!_.enumerable,_.configurable=!!_.configurable,("value"in _||_.initializer)&&(_.writable=!0),_=m.slice().reverse().reduce((function(e,t){return t(g,b,e)||e}),_),v&&void 0!==_.initializer&&(_.value=_.initializer?_.initializer.call(v):void 0,_.initializer=void 0),void 0===_.initializer&&(Object.defineProperty(g,b,_),_=null),n));function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D,C=(0,s.Z)(a,[JSON.parse('{"en_US":{"a11y_header_search_product_selector_aria_label":"Dropdown menu that you can use to select other LinkedIn products to search for help within.","search_selected_product_label":"{:selectedProductName} Help"}}')],!1),E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(a,e);var t,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=j(n);if(o){var r=j(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return x(this,e)});function a(){return O(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"menuDivId",get:function(){return this.args.searchId+"-product-selector__menu"}},{key:"menuDivClasses",get:function(){return"site-search-product-selector__menu dropdown__menu"}},{key:"buttonAriaControls",get:function(){return this.args.searchId+"-product-selector__menu"}}])&&P(t.prototype,r),a}(c.ZP);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}(0,i.mf)({id:"NjBwqmv6",block:'[[[1,"\\n    "],[1,"\\n    "],[1,"\\n\\n    "],[10,0],[14,0,"site-search-product-selector dropdown__container"],[12],[1,"\\n      "],[10,"button"],[14,0,"site-search-product-selector__trigger dropdown__trigger"],[15,"aria-controls",[29,[[30,0,["buttonAriaControls"]]]]],[14,"aria-expanded","false"],[15,"aria-label",[29,[[28,[32,0],["a11y_header_search_product_selector_aria_label"],null]]]],[14,"data-test-id","product-selector-dropdown"],[14,4,"button"],[12],[1,"\\n"],[1,"        "],[10,1],[14,0,"t-16 t-black--light t-bold dropdown__trigger-label"],[12],[1,"\\n          "],[1,[28,[32,0],["search_selected_product_label"],[["selectedProductName"],[[30,0,["args","selectedProduct","productNameShort"]]]]]],[1,"\\n        "],[13],[1,"\\n        "],[10,"li-icon"],[14,0,"svg-icon site-search-product-selector__trigger-button-caret"],[14,"size","small"],[14,"tabindex","-1"],[14,"aria-hidden","true"],[14,4,"caret-filled-down-icon"],[12],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[15,1,[29,[[30,0,["menuDivId"]]]]],[15,0,[29,[[30,0,["menuDivClasses"]]]]],[14,"tabindex","-1"],[14,"aria-hidden","true"],[12],[1,"\\n"],[42,[30,0,["args","productList"]],null,[[[1,"          "],[8,[32,1],null,[["@handleSelectProduct","@model","@selectedProduct"],[[30,0,["args","handleSelectProduct"]],[30,1],[30,0,["args","selectedProduct"]]]],null],[1,"\\n"]],[1]],null],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],["product"],false,["each"]]',moduleName:"(unknown template module)",scope:function(){return[C,T]},isStrictMode:!0},E);var L=(0,i.mf)({id:"qvze5x8J",block:'[[[1,"\\n    "],[10,"li"],[15,1,[30,0,["itemId"]]],[12],[1,"\\n      "],[11,"button"],[16,0,[29,[[30,0,["buttonClass"]]]]],[4,[32,0],["mousedown",[30,0,["selectSuggestedSearchTerm"]]],null],[12],[1,"\\n        "],[10,"li-icon"],[14,0,"svg-icon suggested-search-term__icon"],[14,"size","small"],[14,"tabindex","-1"],[14,4,"search-icon"],[12],[13],[1,"\\n        "],[1,[30,0,["args","suggestedSearchTerm"]]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],[],false,[]]',moduleName:"(unknown template module)",scope:function(){return[u.on]},isStrictMode:!0},(function(e,t,r,n,o){var i={};Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null)}((D=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}(a,e);var t,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=B(n);if(o){var r=B(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return q(this,e)});function a(){return z(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"selectSuggestedSearchTerm",value:function(e){this.args.handleSelectSuggestedSearchTerm(e,this.args.suggestedSearchTerm)}},{key:"buttonClass",get:function(){var e="suggested-search-term";return this.args.termIndex===this.args.focusedIndex&&(e+=" suggested-search-term--focused"),e}},{key:"itemId",get:function(){return"suggested-search-term-id-".concat(this.args.termIndex)}}])&&U(t.prototype,r),a}(c.ZP)).prototype,"selectSuggestedSearchTerm",[u.a],Object.getOwnPropertyDescriptor(D.prototype,"selectSuggestedSearchTerm"),D.prototype),D));function M(e){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t){return!t||"object"!==M(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H,Q,J,V,W,X,Y,$,ee,te=(0,s.Z)(a,[JSON.parse('{"en_US":{"typeahead-footer-button-text":"See all results"}}')],!1),re=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(a,e);var t,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Z(n);if(o){var r=Z(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return F(this,e)});function a(){return A(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"buttonClass",get:function(){return this.args.focusedIndex===this.args.suggestedSearchTerms.length?"typeahead__button--focused":""}}])&&K(t.prototype,r),a}(c.ZP);function ne(e,t){var r=null;return function(){var n=this;null!==r&&clearTimeout(r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];r=setTimeout.apply(void 0,[e.bind(n),t].concat(i))}}function oe(e){return(oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ie(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ue(e,t){return!t||"object"!==oe(t)&&"function"!=typeof t?le(e):t}function le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pe(e,t,r,n,o){var i={};return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}(0,i.mf)({id:"tUmHv0/F",block:'[[[1,"\\n  "],[1,"\\n\\n"],[41,[30,0,["args","suggestedSearchTerms"]],[[[1,"    "],[10,"ul"],[14,0,"typeahead"],[15,"aria-labelledby",[29,[[30,0,["args","labelId"]]]]],[14,"role","listbox"],[15,1,[29,[[30,0,["args","listBoxId"]]]]],[12],[1,"\\n      "],[10,"li"],[12],[1,"\\n        "],[10,"ul"],[14,0,"typeahead__results-group"],[12],[1,"\\n\\n"],[42,[30,0,["args","suggestedSearchTerms"]],null,[[[1,"            "],[8,[32,0],null,[["@suggestedSearchTerm","@handleSelectSuggestedSearchTerm","@focusedIndex","@termIndex"],[[30,1],[30,0,["args","handleSelectSuggestedSearchTerm"]],[30,0,["args","focusedIndex"]],[30,2]]],null],[1,"\\n"]],[1,2]],null],[1,"        "],[13],[1,"\\n      "],[13],[1,"\\n"],[41,[51,[30,0,["args","isSubmitDisabled"]]],[[[1,"      "],[10,"li"],[12],[1,"\\n        "],[10,"button"],[15,0,[29,["typeahead__button ",[30,0,["buttonClass"]]," artdeco-button--default artdeco-button--standard artdeco-button--tertiary artdeco-button--full t-14 t-bold"]]],[14,4,"submit"],[12],[1,"\\n          "],[1,[28,[32,1],["typeahead-footer-button-text"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n"]],[]],null],[1,"  "]],["suggestedSearchTerm","termIndex"],false,["if","each","unless"]]',moduleName:"(unknown template module)",scope:function(){return[L,te]},isStrictMode:!0},re);var fe=(0,s.Z)(a,[JSON.parse('{"en_US":{"site_search_a11y_label":"What’s your question?","site_search_placeholder_text":"How can we help?","cancel_button_a11y_text":"Clear your search query","search_button_a11y_text":"Submit your question","aria_active_message":"{:suggestionType,map,ONE_SUGGESTION#One suggestion. Use up and down keys to navigate.|MULTIPLE_SUGGESTIONS#Multiple suggestions. Use up and down keys to navigate.|NO_SUGGESTIONS#No suggestions found.}"}}')],!1),he="DEFAULT",ye="SUGGESTED",ge=(0,i.mf)({id:"sQrlHmaz",block:'[[[1,"\\n    "],[1,"\\n    "],[1,"\\n    "],[1,"\\n    "],[1,"\\n    "],[1,"\\n\\n    "],[10,"form"],[15,0,[29,[[30,0,["formClasses"]]]]],[14,3,"main-search"],[14,"role","search"],[15,"action",[29,[[30,0,["actionUrl"]]]]],[14,"autocomplete","off"],[12],[1,"\\n      "],[8,[32,0],null,[["@classes","@displayDevice","@handleSelectProduct","@productList","@searchId","@selectedProduct"],[[30,0,["args","classes"]],[30,0,["args","displayDevice"]],[30,0,["handleSelectProduct"]],[30,0,["args","productList"]],[30,0,["args","searchId"]],[30,0,["selectedProduct"]]]],null],[1,"\\n      "],[10,"label"],[14,0,"site-search__label"],[15,"for",[29,[[30,0,["searchInputId"]]]]],[15,1,[29,[[30,0,["labelId"]]]]],[12],[1,"\\n        "],[1,[28,[32,1],["site_search_a11y_label"],null]],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"site-search__input-button-and-popover-wrapper"],[12],[1,"\\n        "],[10,0],[14,0,"site-search__input-and-button-wrapper"],[14,"role","combobox"],[15,"aria-expanded",[29,[[30,0,["isTypeaheadDisplayed"]]]]],[15,"aria-owns",[29,[[30,0,["listBoxId"]]]]],[14,"aria-haspopup","listbox"],[15,1,[29,[[30,0,["comboBoxId"]]]]],[12],[1,"\\n"],[1,"          "],[10,0],[15,1,[29,[[30,0,["liveRegionId"]]]]],[14,"aria-live","polite"],[14,"role","status"],[14,0,"visually-hidden"],[12],[1,"\\n            "],[1,[28,[32,1],["aria_active_message"],[["suggestionType"],[[30,0,["ariaActiveMessage"]]]]]],[1,"\\n          "],[13],[1,"\\n          "],[10,0],[14,0,"site-search__input-wrapper"],[12],[1,"\\n            "],[11,"input"],[16,2,[29,[[30,0,["query"]]]]],[16,1,[29,[[30,0,["searchInputId"]]]]],[16,"data-test-id",[29,[[30,0,["searchInputId"]]]]],[24,0,"site-search__input t-16 t-black"],[24,3,"query"],[16,"placeholder",[29,[[28,[32,1],["site_search_placeholder_text"],null]]]],[24,"maxlength","255"],[16,"aria-activedescendant",[29,[[30,0,["activeDescendantId"]]]]],[24,"role","combobox"],[24,"aria-autocomplete","list"],[16,"aria-controls",[29,[[30,0,["listBoxId"]]]]],[24,4,"text"],[4,[32,2],["input",[30,0,["handleInputInteraction"]]],null],[4,[32,2],["focus",[30,0,["handleFocus"]]],null],[4,[32,2],["keydown",[30,0,["handleInputKeydown"]]],null],[4,[32,2],["blur",[30,0,["handleBlur"]]],null],[12],[13],[1,"\\n            "],[11,"button"],[16,0,[29,[[30,0,["cancelIconClasses"]]]]],[24,4,"reset"],[4,[32,2],["click",[30,0,["clearInput"]]],null],[12],[1,"\\n              "],[10,"li-icon"],[14,0,"svg-icon"],[14,"size","small"],[14,"tabindex","-1"],[14,4,"cancel-icon"],[12],[13],[1,"\\n              "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n                "],[1,[28,[32,1],["cancel_button_a11y_text"],null]],[1,"\\n              "],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n          "],[10,"button"],[14,0,"site-search__submit"],[15,"data-test-id",[29,[[30,0,["searchIdSearchButton"]]]]],[15,"disabled",[30,0,["isSubmitDisabled"]]],[14,4,"submit"],[12],[1,"\\n            "],[10,"li-icon"],[14,0,"svg-icon"],[14,"size","small"],[14,"tabindex","-1"],[14,4,"search-icon"],[12],[13],[1,"\\n            "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n              "],[1,[28,[32,1],["search_button_a11y_text"],null]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"],[41,[30,0,["isTypeaheadDisplayed"]],[[[1,"          "],[8,[32,3],null,[["@ariaLabelledBy","@focusedIndex","@handleSelectSuggestedSearchTerm","@listBoxId","@suggestedSearchTerms","@isSubmitDisabled"],[[30,0,["labelId"]],[30,0,["focusedIndex"]],[30,0,["handleSelectSuggestedSearchTerm"]],[30,0,["listBoxId"]],[30,0,["suggestedSearchTerms"]],[30,0,["isSubmitDisabled"]]]],null],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],[],false,["if"]]',moduleName:"(unknown template module)",scope:function(){return[E,fe,u.on,re]},isStrictMode:!0},(H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(a,e);var t,r,n,o,i=(n=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=de(n);if(o){var r=de(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return ue(this,e)});function a(){var e;return ae(this,a),ie(e=i.apply(this,arguments),"abortController",Q,le(e)),ie(e,"query",J,le(e)),ie(e,"selectedProduct",V,le(e)),ie(e,"isSubmitDisabled",W,le(e)),e.defaultSuggestedSearchTerms=[],ie(e,"suggestedSearchTerms",X,le(e)),ie(e,"focusedIndex",Y,le(e)),ie(e,"isTypeaheadDisplayed",$,le(e)),ie(e,"ariaActiveMessage",ee,le(e)),e.fetchSuggestedSearchTerms=ne(e.fetchSuggestedSearchTerms,200),e.args.searchQuery===e.query&&(e.isSubmitDisabled=!0),e}return t=a,(r=[{key:"fetchDefaultSuggestedSearchTerms",value:function(){var e=this,t="/help/".concat(window.encodeURIComponent(this.selectedProduct.productKey),"/api/suggestedSearch");this.performQuery(t,!1).then((function(t){var r=t.suggestedSearchTerms;e.defaultSuggestedSearchTerms=r,0!==e.suggestedSearchTerms.length&&""!==e.query||(e.suggestedSearchTerms=e.defaultSuggestedSearchTerms),e.trackPopoverImpressionEvent()}))}},{key:"fetchSuggestedSearchTerms",value:function(){var e=this,t="/help/".concat(window.encodeURIComponent(this.selectedProduct.productKey),"/api/suggestedSearch/").concat(window.encodeURIComponent(this.query));this.performQuery(t,!0).then((function(t){var r=t.suggestedSearchTerms;e.suggestedSearchTerms=r,e.focusedIndex=-1,e.isTypeaheadDisplayed=!0,e.setAriaLiveMessage(),e.trackPopoverImpressionEvent()}))}},{key:"performQuery",value:function(e,t){return t?(null!==this.abortController&&this.abortController.abort(),this.abortController=new AbortController,fetch(e,{signal:this.abortController.signal}).then((function(e){return e.json()}))):fetch(e).then((function(e){return e.json()}))}},{key:"trackPopoverImpressionEvent",value:function(){var e="/help/".concat(window.encodeURIComponent(this.selectedProduct.productKey),"/api/suggestedSearch/track/trackTypeaheadPopoverImpression"),t={termsType:""===this.query?he:ye,suggestedTerms:this.suggestedSearchTerms};fetch(e,{method:"POST",headers:{"Content-Type":"application/json","Csrf-Token":this.args.csrfToken},body:JSON.stringify(t)}).then((function(e){return e.json()}))}},{key:"trackInteractionEvent",value:function(e){var t="/help/".concat(window.encodeURIComponent(this.selectedProduct.productKey),"/api/suggestedSearch/track/trackTypeaheadInteraction"),r={termsType:""===this.query?he:ye,selectedTermListPosition:this.suggestedSearchTerms.indexOf(this.query)+1,terms:this.suggestedSearchTerms,selectInteractionType:"click"===e.type?"CLICK":"ENTER",query:this.query};fetch(t,{method:"POST",headers:{"Content-Type":"application/json","Csrf-Token":this.args.csrfToken},body:JSON.stringify(r)}).then((function(e){return e.json()}))}},{key:"handleInputEmpty",value:function(){this.suggestedSearchTerms=this.defaultSuggestedSearchTerms,this.isSubmitDisabled=!0,this.isTypeaheadDisplayed=!0,this.setAriaLiveMessage()}},{key:"handleSelectSuggestedSearchTerm",value:function(e,t){this.trackInteractionEvent(e),this.query=t;var r=e.target.closest(".site-search");setTimeout((function(){return r.submit()}),100)}},{key:"submitForm",value:function(e){e.target.closest(".site-search").submit()}},{key:"handleFocus",value:function(e){0===this.defaultSuggestedSearchTerms.length&&this.fetchDefaultSuggestedSearchTerms(),0===this.suggestedSearchTerms.length?this.handleInputInteraction(e):this.isTypeaheadDisplayed=!0}},{key:"handleInputInteraction",value:function(e){var t=e.target.value;this.query=t,this.isSubmitDisabled=0===t.trim().length,t?this.fetchSuggestedSearchTerms():this.handleInputEmpty()}},{key:"handleInputKeydown",value:function(e){var t=this.isSubmitDisabled?this.suggestedSearchTerms.length-1:this.suggestedSearchTerms.length;switch(e.key){case"Down":case"ArrowDown":this.handleKeyboardDown(t);break;case"Up":case"ArrowUp":e.preventDefault(),this.handleKeyboardUp(t);break;case"Esc":case"Escape":this.hideSuggestedSearchTerms();break;case"Enter":this.focusedIndex>-1&&(this.focusedIndex===this.suggestedSearchTerms.length?this.submitForm(e):this.handleSelectSuggestedSearchTerm(e,this.suggestedSearchTerms[this.focusedIndex]))}}},{key:"handleKeyboardUp",value:function(e){this.suggestedSearchTerms&&(this.isTypeaheadDisplayed=!0,this.focusedIndex<=0?this.focusedIndex=e:this.focusedIndex-=1)}},{key:"handleKeyboardDown",value:function(e){this.isTypeaheadDisplayed=!0,this.suggestedSearchTerms.length>0?this.focusedIndex===e?this.focusedIndex=0:this.focusedIndex+=1:(this.suggestedSearchTerms=this.defaultSuggestedSearchTerms,this.suggestedSearchTerms.length>0&&(this.focusedIndex=0))}},{key:"handleBlur",value:function(e){e.relatedTarget||this.hideSuggestedSearchTerms()}},{key:"hideSuggestedSearchTerms",value:function(){this.isTypeaheadDisplayed=!1,this.focusedIndex=-1}},{key:"handleSelectProduct",value:function(e){this.selectedProduct=e,this.isSubmitDisabled=!1,this.fetchDefaultSuggestedSearchTerms(),this.query&&this.fetchSuggestedSearchTerms()}},{key:"setAriaLiveMessage",value:function(){1===this.suggestedSearchTerms.length?this.ariaActiveMessage="ONE_SUGGESTION":this.suggestedSearchTerms.length>1?this.ariaActiveMessage="MULTIPLE_SUGGESTIONS":this.ariaActiveMessage="NO_SUGGESTIONS"}},{key:"clearInput",value:function(e){this.query="";var t=e.target.closest(".site-search__input-wrapper"),r=t&&t.querySelector(".site-search__input");r&&r.focus(),this.fetchDefaultSuggestedSearchTerms()}},{key:"actionUrl",get:function(){var e=window.encodeURIComponent(this.selectedProduct.productKey),t=window.encodeURIComponent(this.query);return"/help/".concat(e,"/answers/").concat(t)}},{key:"formClasses",get:function(){var e="site-search",t="site-search--";return this.args.style&&(e+=" ".concat(t).concat(this.args.style)),this.args.classes&&(e+=" ".concat(t).concat(this.args.classes)),this.args.searchId&&(e+=" ".concat(t).concat(this.args.searchId)),e}},{key:"cancelIconClasses",get:function(){var e="site-search__cancel-icon";return""===this.query&&(e+=" site-search__cancel-icon--hidden"),e}},{key:"searchInputId",get:function(){return this.args.searchId+"-search-query"}},{key:"activeDescendantId",get:function(){return this.focusedIndex>-1?"suggested-search-term-id-"+this.focusedIndex:""}},{key:"labelId",get:function(){return"typeahead-label-"+this.args.searchId}},{key:"listBoxId",get:function(){return"typeahead-listbox-"+this.args.searchId}},{key:"comboBoxId",get:function(){return"typeahead-combobox-"+this.args.searchId}},{key:"liveRegionId",get:function(){return"typeahead-live-region-"+this.args.searchId}}])&&se(t.prototype,r),a}(c.ZP),Q=pe(H.prototype,"abortController",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=pe(H.prototype,"query",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.searchQuery}}),V=pe(H.prototype,"selectedProduct",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.selectedProduct}}),W=pe(H.prototype,"isSubmitDisabled",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),X=pe(H.prototype,"suggestedSearchTerms",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),Y=pe(H.prototype,"focusedIndex",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return-1}}),$=pe(H.prototype,"isTypeaheadDisplayed",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ee=pe(H.prototype,"ariaActiveMessage",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"No suggestions found"}}),pe(H.prototype,"handleInputEmpty",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleInputEmpty"),H.prototype),pe(H.prototype,"handleSelectSuggestedSearchTerm",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleSelectSuggestedSearchTerm"),H.prototype),pe(H.prototype,"submitForm",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"submitForm"),H.prototype),pe(H.prototype,"handleFocus",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleFocus"),H.prototype),pe(H.prototype,"handleInputInteraction",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleInputInteraction"),H.prototype),pe(H.prototype,"handleInputKeydown",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleInputKeydown"),H.prototype),pe(H.prototype,"handleKeyboardUp",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleKeyboardUp"),H.prototype),pe(H.prototype,"handleKeyboardDown",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleKeyboardDown"),H.prototype),pe(H.prototype,"handleBlur",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleBlur"),H.prototype),pe(H.prototype,"hideSuggestedSearchTerms",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"hideSuggestedSearchTerms"),H.prototype),pe(H.prototype,"handleSelectProduct",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"handleSelectProduct"),H.prototype),pe(H.prototype,"setAriaLiveMessage",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"setAriaLiveMessage"),H.prototype),pe(H.prototype,"clearInput",[u.a],Object.getOwnPropertyDescriptor(H.prototype,"clearInput"),H.prototype),H)),be=document,me=window.__HC.ENV.GLOBAL,Se=new Map;Se.set("locale",window.play.getPageContextValue("locale"));var ve=window.play.getPageContextValue("csrfToken"),_e=decodeURIComponent(function(e){return e?e.replaceAll("+"," "):""}(window.__HC.ENV.URL.PARAMS.query)),we={displayDevice:"desktop",productList:me.productLinks,searchId:"desktop-hero",searchQuery:_e,selectedProduct:Oe(),csrfToken:ve},Te={displayDevice:"desktop",productList:me.productLinks,searchId:"desktop-nav",searchQuery:_e,selectedProduct:Oe(),csrfToken:ve},Ie={play:Se};function Oe(){return me.productLinks.find((function(e){return e.productKey===me.hc_product}))}function Pe(e,t){e.textContent="",(0,o.SO)(ge,{element:e,args:t,services:Ie})}function ke(e,t,r){var n=setInterval((function(){var o=be.querySelector(e);null!==o&&(t(o,r),clearInterval(n))}),100);setTimeout((function(){return clearInterval(n)}),2e4)}ke(".hero-search__search-form",Pe,we),"hc_home"!==me.pageKey&&ke(".desktop-nav__search",Pe,Te)}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.x=e=>{},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.j=131,(()=>{var e={131:0},t=[[8941,736]],n=e=>{},o=(o,i)=>{for(var a,s,[c,u,l,d]=i,p=0,f=[];p<c.length;p++)s=c[p],r.o(e,s)&&e[s]&&f.push(e[s][0]),e[s]=0;for(a in u)r.o(u,a)&&(r.m[a]=u[a]);for(l&&l(r),o&&o(i);f.length;)f.shift()();return d&&t.push.apply(t,d),n()},i=self.webpackChunk=self.webpackChunk||[];function a(){for(var n,o=0;o<t.length;o++){for(var i=t[o],a=!0,s=1;s<i.length;s++){var c=i[s];0!==e[c]&&(a=!1)}a&&(t.splice(o--,1),n=r(r.s=i[0]))}return 0===t.length&&(r.x(),r.x=e=>{}),n}i.forEach(o.bind(null,0)),i.push=o.bind(null,i.push.bind(i));var s=r.x;r.x=()=>(r.x=s||(e=>{}),(n=a)())})(),r.x()})()}));