1"use strict";(self.webpackChunkntfy=self.webpackChunkntfy||[]).push([[9270],{9270:function(t,s,i){i.r(s);var e=i(7901),o=i(2014),n=i(9766),a=i(6961),c=i(8061),r=i(1875),h=i(2028),l=i(1010);s.default={mixins:[e.Z],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:function(t){t.notification.closeAll=function(s,i){(0,n.nn)(document.body,(e=>{const o=t.getComponent(e,"notification");!o||s&&s!==o.group||o.close(i)}))}},computed:{marginProp({pos:t}){return"margin"+((0,o.Ny)(t,"top")?"Top":"Bottom")},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=(0,n.$)(`.${this.clsContainer}-${this.pos}`,this.container)||(0,n.R3)(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount((0,n.R3)(t,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert">\n <a href class="${this.clsClose}" data-uk-close></a>\n <div>${this.message}</div>\n </div>`))},async connected(){const t=(0,o.f_)((0,a.i)(this.$el,this.marginProp));await c.u.start((0,a.i)(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){(0,r.oq)(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[h.A7](){this.timer&&clearTimeout(this.timer)},[h.dF](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){this.timer&&clearTimeout(this.timer),t||await c.u.start(this.$el,this.startProps),(t=>{const s=(0,r.qm)(t);(0,l.X$)(t,"close",[this]),(0,n.Od)(t),s?.hasChildNodes()||(0,n.Od)(s)})(this.$el)}}}},7901:function(t,s,i){var e=i(9766);s.Z={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return!0===t&&this.$container||t&&(0,e.$)(t)}}}}}]);
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.