!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,t={2670:(e,t,r)=>{r.r(t),r(6082),r(6108),r(8491),r(2555),r(6476),r(5245),r(4654),r(2078),r(4263),r(3899),r(5637),r(4136),r(8078),r(206),r(5080),r(928),r(2719),r(3573),r(3400),r(4515);var n,o=r(3562),i=(r(7772),r(7596),r(2631),r(5743),r(3129),r(3071),r(9245),r(5965),r(9397),r(273),r(5077),r(4580),r(2746)),s=r(7794),a=r(992),c=r(1915),u=r(7540);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){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}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,a.Z)(s,[JSON.parse('{"en_US":{"search_selected_product_label":"{:selectedProductName} Help"}}')],!1),O=(0,i.mf)((0,i.Of)({id:"kHhJEwT8",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)}(s,e);var t,r,n,o,i=(n=s,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 s(){return d(this,s),i.apply(this,arguments)}return t=s,(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),s}(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 T(e){return(T="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 I(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 j(e,t){if(t&&("object"===T(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D,E=(0,a.Z)(s,[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),C=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)}(s,e);var t,r,n,o,i=(n=s,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=x(n);if(o){var r=x(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return j(this,e)});function s(){return I(this,s),i.apply(this,arguments)}return t=s,(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),s}(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 U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(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 z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){if(t&&("object"===R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}(0,i.mf)((0,i.Of)({id:"lNVQjL7M",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[E,O]},isStrictMode:!0}),C);var L=(0,i.mf)((0,i.Of)({id:"+HKMNp7g",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&&z(e,t)}(s,e);var t,r,n,o,i=(n=s,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 M(this,e)});function s(){return U(this,s),i.apply(this,arguments)}return t=s,(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)}}])&&N(t.prototype,r),s}(c.ZP)).prototype,"selectSuggestedSearchTerm",[u.a],Object.getOwnPropertyDescriptor(D.prototype,"selectSuggestedSearchTerm"),D.prototype),D));function q(e){return(q="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){if(t&&("object"===q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function J(e){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q,Z,H,V,W,Y,X,$,ee,te=(0,a.Z)(s,[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)}(s,e);var t,r,n,o,i=(n=s,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 F(this,e)});function s(){return A(this,s),i.apply(this,arguments)}return t=s,(r=[{key:"buttonClass",get:function(){return this.args.focusedIndex===this.args.suggestedSearchTerms.length?"typeahead__button--focused":""}}])&&K(t.prototype,r),s}(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),s=0;s<o;s++)i[s]=arguments[s];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 se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(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){if(t&&("object"===oe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return le(e)}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){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fe(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)((0,i.Of)({id:"PJMkGtmn",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 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 he=(0,a.Z)(s,[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),ye="DEFAULT",ge="SUGGESTED",be=(0,i.mf)((0,i.Of)({id:"JSY6QUUs",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"],[14,"data-test-id","site-search-form"],[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,["searchButtonId"]]]]],[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[C,he,u.on,re]},isStrictMode:!0}),(Q=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)}(s,e);var t,r,n,o,i=(n=s,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 s(){var e;return se(this,s),ie(le(e=i.apply(this,arguments)),"abortController",Z,le(e)),ie(le(e),"query",H,le(e)),ie(le(e),"selectedProduct",V,le(e)),ie(le(e),"isSubmitDisabled",W,le(e)),pe(le(e),"defaultSuggestedSearchTerms",[]),ie(le(e),"suggestedSearchTerms",Y,le(e)),ie(le(e),"focusedIndex",X,le(e)),ie(le(e),"isTypeaheadDisplayed",$,le(e)),ie(le(e),"ariaActiveMessage",ee,le(e)),e.fetchSuggestedSearchTerms=ne(e.fetchSuggestedSearchTerms,200),e.args.searchQuery===e.query&&(e.isSubmitDisabled=!0),e}return t=s,(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?ye:ge,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?ye:ge,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:"searchButtonId",get:function(){return this.args.searchId+"-search-button"}},{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}}])&&ae(t.prototype,r),s}(c.ZP),Z=fe(Q.prototype,"abortController",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=fe(Q.prototype,"query",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.searchQuery}}),V=fe(Q.prototype,"selectedProduct",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.selectedProduct}}),W=fe(Q.prototype,"isSubmitDisabled",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Y=fe(Q.prototype,"suggestedSearchTerms",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),X=fe(Q.prototype,"focusedIndex",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return-1}}),$=fe(Q.prototype,"isTypeaheadDisplayed",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ee=fe(Q.prototype,"ariaActiveMessage",[c.bd],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"No suggestions found"}}),fe(Q.prototype,"handleInputEmpty",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleInputEmpty"),Q.prototype),fe(Q.prototype,"handleSelectSuggestedSearchTerm",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleSelectSuggestedSearchTerm"),Q.prototype),fe(Q.prototype,"submitForm",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"submitForm"),Q.prototype),fe(Q.prototype,"handleFocus",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleFocus"),Q.prototype),fe(Q.prototype,"handleInputInteraction",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleInputInteraction"),Q.prototype),fe(Q.prototype,"handleInputKeydown",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleInputKeydown"),Q.prototype),fe(Q.prototype,"handleKeyboardUp",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleKeyboardUp"),Q.prototype),fe(Q.prototype,"handleKeyboardDown",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleKeyboardDown"),Q.prototype),fe(Q.prototype,"handleBlur",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleBlur"),Q.prototype),fe(Q.prototype,"hideSuggestedSearchTerms",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"hideSuggestedSearchTerms"),Q.prototype),fe(Q.prototype,"handleSelectProduct",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"handleSelectProduct"),Q.prototype),fe(Q.prototype,"setAriaLiveMessage",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"setAriaLiveMessage"),Q.prototype),fe(Q.prototype,"clearInput",[u.a],Object.getOwnPropertyDescriptor(Q.prototype,"clearInput"),Q.prototype),Q)),me=document,Se=window.__HC.ENV.GLOBAL,ve=new Map;ve.set("locale",window.play.getPageContextValue("locale"));var _e=window.play.getPageContextValue("csrfToken"),we=decodeURIComponent(function(e){return e?e.replaceAll("+"," "):""}(window.__HC.ENV.URL.PARAMS.query)),Oe={displayDevice:"desktop",productList:Se.productLinks,searchId:"desktop-hero",searchQuery:we,selectedProduct:Pe(),csrfToken:_e},Te={displayDevice:"desktop",productList:Se.productLinks,searchId:"desktop-nav",searchQuery:we,selectedProduct:Pe(),csrfToken:_e},Ie={play:ve};function Pe(){return Se.productLinks.find((function(e){return e.productKey===Se.hc_product}))}function ke(e,t){e.textContent="",(0,o.SO)(be,{element:e,args:t,services:Ie})}function je(e,t,r){var n=setInterval((function(){var o=me.querySelector(e);null!==o&&(t(o,r),clearInterval(n))}),100);setTimeout((function(){return clearInterval(n)}),2e4)}je(".hero-search__search-form",ke,Oe),"hc_home"!==Se.pageKey&&je(".desktop-nav__search",ke,Te)}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=t,e=[],n.O=(t,r,o,i)=>{if(!r){var s=1/0;for(l=0;l<e.length;l++){for(var[r,o,i]=e[l],a=!0,c=0;c<r.length;c++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](r[c])))?r.splice(c--,1):(a=!1,i<s&&(s=i));if(a){e.splice(l--,1);var u=o();void 0!==u&&(t=u)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,o,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=131,(()=>{var e={131:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,[s,a,c]=r,u=0;if(s.some((t=>0!==e[t]))){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(c)var l=c(n)}for(t&&t(r);u<s.length;u++)i=s[u],n.o(e,i)&&e[i]&&e[i][0](),e[s[u]]=0;return n.O(l)},r=self.webpackChunk=self.webpackChunk||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var o=n.O(void 0,[736],(()=>n(2670)));return n.O(o)})()}));