1(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,i(o.key),o)}}function n(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}window.ElasticSearch=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n(this,"rootElement",void 0),n(this,"submitButton",void 0),n(this,"form",void 0),n(this,"inputExpandableComponent",void 0),n(this,"hiddenInput",void 0),n(this,"navigation",void 0),n(this,"input",void 0),n(this,"tabBreakpoint",void 0),this.rootElement=e,this.submitButton=this.rootElement.querySelector('button[type="submit"]'),this.form=this.submitButton.closest("form"),this.inputExpandableComponent=this.rootElement.querySelector("tet-expandable-input"),this.hiddenInput=this.rootElement.querySelector(".js-elasticsearch-input"),this.navigation=this.rootElement.closest(".js-navigation"),this.input=null,this.tabBreakpoint=1280},(i=[{key:"init",value:function(){this.setPageLocation(),this.toggleExpanded(),this.handleEventListeners()}},{key:"handleEventListeners",value:function(){var t=this;this.inputExpandableComponent.addEventListener("before-state-change",function(e){t.input||(t.input=t.inputExpandableComponent.shadowRoot.querySelector("input"),t.input.addEventListener("input",function(){t.hiddenInput.value=t.input.value}),t.input.addEventListener("keydown",function(e){"Enter"===e.key&&t.submitButton.click()})),e.detail.to&&t.navigation.classList.add("expanded")}),this.inputExpandableComponent.addEventListener("after-state-change",function(e){e.detail.from&&!e.detail.to&&t.navigation.classList.remove("expanded")})}},{key:"toggleExpanded",value:function(){this.rootElement.closest(".moduletable").classList.add("expanded")}},{key:"setPageLocation",value:function(){this.form.addEventListener("submit",function(t){sessionStorage.setItem("elasticsearch_submit_page",window.location.href)})}}])&&e(t.prototype,i),o&&e(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,i,o}()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.