!function(){"use strict";var t,n=document.currentScript;function e(t,n){return new Promise((function(e,c){var r=document.createElement("script");r.src=t,r.async=!0,n&&(r.integrity=n,r.crossOrigin="anonymous"),r.onload=e,r.onerror=c,document.head.appendChild(r)}))}function c(){return t||(t=e(n.dataset.algoliaSrc,n.dataset.algoliaIntegrity).then((function(){return e(n.dataset.instantSearchSrc,n.dataset.instantSearchIntegrity)})).then((function(){return e(n.dataset.searchSrc)})).catch((function(n){throw t=null,console.warn("Failed to load search.",n),n})))}document.addEventListener("pointerover",(function(t){t.target.closest(".popup-trigger")&&c().catch((function(){}))}),{passive:!0}),document.addEventListener("click",(function(t){t.target.closest(".popup-trigger")&&c().then((function(){document.body.classList.add("search-active"),window.setTimeout((function(){var t=document.querySelector(".search-input");t&&t.focus()}),50)})).catch((function(){}))}))}();
|