(()=>{var e={69045:()=>{function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}$((function(){new t("detailsNavigation").init()}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.init=this.init.bind(this),this._migrateAndGetFromSessionStorage=this._migrateAndGetFromSessionStorage.bind(this),this.wrapper=document.getElementById(e)}var r,a;return r=t,(a=[{key:"init",value:function(){String.prototype.includes||(String.prototype.includes=function(e,t){"use strict";return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)});var e=$("li:first>a",this.wrapper);if(0!==e.length){var t=this.wrapper.getAttribute("data-network-id");if(t){var r=this._migrateAndGetFromSessionStorage(t);if(this._migrateAndGetFromSessionStorage("scroll"),null===r||r.trim().length<1||"null"==r)e.text(e.data("show-more-title")).attr("data-webm-clickvalue","show-more-like-this");else{var a=e.data("search-results-base-url");e.text(e.data("back-to-search-title")).attr("data-webm-clickvalue","back-to-search").on("click",(function(e){e.preventDefault(),$("#detailsNavigation").hasClass("select-detail-nav")?window.location="".concat(a,"?").concat(r):history.back()}))}}}}},{key:"_migrateAndGetFromSessionStorage",value:function(e){var t=localStorage.getItem(e);return null!==t&&""!==t&&"null"!==t?(sessionStorage.setItem(e,t),localStorage.removeItem(e),t):null!==(t=sessionStorage.getItem(e))&&""!==t&&"null"!==t?t:null!==(t=localStorage.getItem("last-search-encoded"))&&""!==t&&"null"!==t?(sessionStorage.setItem(e,t),localStorage.removeItem("last-search-encoded"),t):sessionStorage.getItem(e)}},{key:"_getParameterValueByName",value:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]".concat(e,"(=([^&#]*)|&|#|$)")).exec(t);return r?r[2]?r[2].replace(/\+/g," "):"":null}}])&&e(r.prototype,a),t}()},46372:(e,t,r)=>{"use strict";r.r(t)}},t={};function r(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,r),o.exports}r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(69045),r(46372)})();