1!function(t,e){"use strict";"function"==typeof define&&define.amd?define([],function(){return t.Snackbar=e()}):"object"==typeof module&&module.exports?module.exports=t.Snackbar=e():t.Snackbar=e()}(this,function(){var a={current:null},r={text:"Default Text",textColor:"#ffffff",width:"auto",showAction:!0,actionText:"Dismiss",actionTextColor:"#4caf50",backgroundColor:"#323232",pos:"bottom-left",duration:5e3,customClass:"",onActionClick:function(t){t.style.opacity=0}};a.show=function(t){var e=c(!0,r,t);a.current&&(a.current.style.opacity=0,setTimeout(function(){var t=this.parentElement;t&&t.removeChild(this)}.bind(a.current),500)),a.snackbar=document.createElement("div"),a.snackbar.className="snackbar-container "+e.customClass,a.snackbar.style.width=e.width;var o=document.createElement("p");if(o.style.margin=0,o.style.padding=0,o.style.color=e.textColor,o.style.fontSize="14px",o.style.fontWeight=300,o.style.lineHeight="1em",o.innerHTML=e.text,a.snackbar.appendChild(o),a.snackbar.style.background=e.backgroundColor,e.showAction){var n=document.createElement("button");n.className="action",n.innerHTML=e.actionText,n.style.color=e.actionTextColor,n.addEventListener("click",function(){e.onActionClick(a.snackbar)}),a.snackbar.appendChild(n)}setTimeout(function(){a.current===this&&(a.current.style.opacity=0)}.bind(a.snackbar),e.duration),a.snackbar.addEventListener("transitionend",function(t,e){"opacity"==t.propertyName&&"0"==this.style.opacity&&(this.parentElement.removeChild(this),a.current===this&&(a.current=null))}.bind(a.snackbar)),a.current=a.snackbar,"top-left"!==e.pos&&"top-center"!==e.pos&&"top"!==e.pos&&"top-right"!==e.pos||(a.snackbar.style.top="-100px"),document.body.appendChild(a.snackbar);getComputedStyle(a.snackbar).bottom,getComputedStyle(a.snackbar).top;a.snackbar.style.opacity=1,a.snackbar.className="snackbar-container "+e.customClass+" snackbar-pos "+e.pos,"top-left"===e.pos||"top-right"===e.pos?a.snackbar.style.top=0:"top-center"===e.pos||"top"===e.pos?a.snackbar.style.top="25px":"bottom-center"!==e.pos&&"bottom"!==e.pos||(a.snackbar.style.bottom="-25px")},a.close=function(){a.current&&(a.current.style.opacity=0)};var c=function(){var o={},n=!1,t=0,e=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(n=arguments[0],t++);function a(t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n&&"[object Object]"===Object.prototype.toString.call(t[e])?o[e]=extend(!0,o[e],t[e]):o[e]=t[e])}for(;t<e;t++){a(arguments[t])}return o};return a});
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.