1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6355],{317:function(t,e,s){s.r(e),s.d(e,{default:function(){return i}});var a=s(4575),r=s.n(a),n=s(264),i=function t(e){var s=e.el,a=e.idAttribute,i=void 0===a?"data-alert":a,o=e.closeSelector,c=void 0===o?"[data-alert-close]":o;r()(this,t);var l=s.getAttribute(i),u="alert-dismissed-".concat(null!=l?l:""),d=s.hasAttribute("data-use-timestamp"),m=s.hasAttribute("data-sticky-alert"),h="alert-timestamp-".concat(null!=l?l:""),f=!1;(l?("y"!==sessionStorage.getItem(u)||d&&Date.parse(sessionStorage.getItem(h))<=Date.now())&&(f=!0):f=!0,f)&&(s.hidden=!1,m&&document.querySelector("html").classList.add("has-sticky-alert"),s.querySelectorAll(c).forEach((function(t){t.addEventListener("click",(function(t){if(t.preventDefault(),s.hidden=!0,m&&document.querySelector("html").classList.remove("has-sticky-alert"),l&&n.Z&&(sessionStorage.setItem(u,"y"),d)){var e=new Date(Date.now()+2592e6);sessionStorage.setItem(h,e.toString())}}))})))}},264:function(t,e){var s=function(){var t="test";try{return sessionStorage.setItem(t,t),sessionStorage.removeItem(t),!0}catch(t){return!1}}();e.Z=s}}]);
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.