1"use strict";(self.webpackChunk_verndale_toolkit=self.webpackChunk_verndale_toolkit||[]).push([[8436],{8436:function(a,t,i){i.r(t);var d=i(39551);const o=4e3,n=320;class l extends d.wA{setupDefaults(){this.dom={text:this.el.querySelector("[data-toast-text]"),iconUse:this.el.querySelector("[data-toast-icon] use"),close:this.el.querySelector("[data-toast-close]")},this.timer=null,this.hideTimer=null,this.handleShow=this.handleShow.bind(this)}addListeners(){this.dom.close?.addEventListener("click",this.hide.bind(this)),document.addEventListener("toast:show",this.handleShow)}handleShow(e){const{message:s,iconId:h}=e.detail||{};s&&this.dom.text&&(this.dom.text.textContent=s),h&&this.dom.iconUse&&this.dom.iconUse.setAttribute("xlink:href",`#${h}`),this.show()}show(){window.clearTimeout(this.timer),window.clearTimeout(this.hideTimer),this.el.classList.remove("is-hiding"),this.el.hidden=!1,this.el.classList.add("is-visible"),this.timer=window.setTimeout(this.hide.bind(this),o)}hide(){if(this.el.hidden)return;window.clearTimeout(this.timer),this.el.classList.remove("is-visible");const e=()=>{this.el.classList.remove("is-hiding"),this.el.hidden=!0};if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){e();return}this.el.classList.add("is-hiding"),this.hideTimer=window.setTimeout(e,n)}}t.default=l}}]); 2 3//# sourceMappingURL=8436.77feebc39fce614d7b75.js.map
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.