PageSourceSearch

https://kestava.fi/scripts/toastr-1.1.5.min.js

js kestava.fi collected 2026-10-02 01:54:17 UTC 2,487 bytes, 1 lines download raw bytes

1;(function(n){n(["jquery"],function(n){var t=function(){var u={tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,fadeIn:300,fadeOut:1e3,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message"},f=function(n,t,u){return r({iconClass:i().iconClasses.error,message:n,optionsOverride:u,title:t})},e=function(t){var i=n("#"+t.containerId);return i.length?i:(i=n("<div/>").attr("id",t.containerId).addClass(t.positionClass),i.appendTo(n("body")),i)},i=function(){return n.extend({},u,t.options)},o=function(n,t,u){return r({iconClass:i().iconClasses.info,message:n,optionsOverride:u,title:t})},r=function(t){var r=i(),o=t.iconClass||r.iconClass;typeof t.optionsOverride!="undefined"&&(r=n.extend(r,t.optionsOverride),o=t.optionsOverride.iconClass||o);var s=null,h=e(r),u=n("<div/>"),c=n("<div/>"),l=n("<div/>"),a={options:r,map:t};t.iconClass&&u.addClass(r.toastClass).addClass(o),t.title&&(c.append(t.title).addClass(r.titleClass),u.append(c)),t.message&&(l.append(t.message).addClass(r.messageClass),u.append(l));var f=function(){if(!(n(":focus",u).length>0)){var t=function(n){return u.fadeOut(r.fadeOut,n)},i=function(){u.is(":visible")||(u.remove(),h.children().length===0&&h.remove())};t(i)}},v=function(){(r.timeOut>0||r.extendedTimeOut>0)&&(s=setTimeout(f,r.extendedTimeOut))},y=function(){clearTimeout(s),u.stop(!0,!0).fadeIn(r.fadeIn)};return u.hide(),h.prepend(u),u.fadeIn(r.fadeIn),r.timeOut>0&&(s=setTimeout(f,r.timeOut)),u.hover(y,v),!r.onclick&&r.tapToDismiss&&u.click(f),r.onclick&&u.click(function(){r.onclick()&&f()}),r.debug&&console&&console.log(a),u},s=function(n,t,u){return r({iconClass:i().iconClasses.success,message:n,optionsOverride:u,title:t})},h=function(n,t,u){return r({iconClass:i().iconClasses.warning,message:n,optionsOverride:u,title:t})},c=function(t){var u=i(),r=n("#"+u.containerId),f;if(t&&n(":focus",t).length===0){f=function(){t.is(":visible")||(t.remove(),r.children().length===0&&r.remove())},t.fadeOut(u.fadeOut,f);return}r.length&&r.fadeOut(u.fadeOut,function(){r.remove()})};return{clear:c,error:f,info:o,options:{},success:s,version:"1.1.5",warning:h}}();return t})})(typeof define=="function"&&define.amd?define:function(n,t){typeof module!="undefined"&&module.exports?module.exports=t(require(n[0])):window.toastr=t(window.jQuery)});

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.