initial commit

This commit is contained in:
2017-12-14 10:17:13 +01:00
commit db72cb61d3
6942 changed files with 1773088 additions and 0 deletions
+265
View File
@@ -0,0 +1,265 @@
@charset "utf-8";
.toast-title {
font-weight: 500;
}
.toast-message {
-ms-word-wrap: break-word;
word-wrap: break-word;
}
.toast-message a, .toast-message label {
color: #fff;
}
.toast-message a:hover {
color: #ccd5db;
text-decoration: none;
}
.toast-close-button {
position: relative;
top: -0.3em;
right: -0.3em;
float: right;
margin-bottom: -.5em;
font-size: 20px;
font-weight: 300;
color: #fff;
-webkit-text-shadow: 0 1px 0 white;
text-shadow: 0 1px 0 white;
opacity: .8;
}
.toast-close-button:hover, .toast-close-button:focus {
color: #000;
text-decoration: none;
cursor: pointer;
opacity: .4;
}
/*Additional properties for button version
iOS requires the button element instead of an anchor tag.
If you want the anchor version, it requires `href="#"`.*/
button.toast-close-button {
padding: 0;
cursor: pointer;
background: transparent;
border: 0;
-webkit-appearance: none;
}
.toast-top-center {
top: 12px;
right: 0;
width: 100%;
}
.toast-bottom-center {
right: 0;
bottom: 12px;
width: 100%;
}
.toast-top-full-width {
top: 0;
right: 0;
width: 100%;
}
.toast-top-full-width .toast {
margin-bottom: 0;
}
.toast-bottom-full-width {
right: 0;
bottom: 0;
width: 100%;
}
.toast-bottom-full-width .toast {
margin-bottom: 0;
}
.toast-top-left {
top: 12px;
left: 12px;
}
.toast-top-right {
top: 12px;
right: 12px;
}
.toast-bottom-right {
right: 12px;
bottom: 12px;
}
.toast-bottom-left {
bottom: 12px;
left: 12px;
}
[aria-live="polite"] {
position: fixed;
z-index: 1700;
pointer-events: none;
/*overrides*/
}
[aria-live="polite"] * {
box-sizing: border-box;
}
[aria-live="polite"] > div {
position: relative;
width: 300px;
padding: 15px 20px;
margin: 0 0 6px;
overflow: hidden;
color: #a3afb7;
pointer-events: auto;
background-repeat: no-repeat;
background-position: 15px center;
border: 1px solid rgba(0, 0, 0, .1);
border-radius: .215rem;
opacity: .95;
}
[aria-live="polite"] > .toast-shadow {
box-shadow: 0 1px 3px rgba(0, 0, 0, .23);
}
[aria-live="polite"] > .toast-shadow:hover {
box-shadow: 0 1px 6px rgba(0, 0, 0, .23);
}
[aria-live="polite"] > :hover {
cursor: pointer;
opacity: 1;
}
[aria-live="polite"] > .toast-success:not(.toast-just-text), [aria-live="polite"] > .toast-info:not(.toast-just-text), [aria-live="polite"] > .toast-warning:not(.toast-just-text), [aria-live="polite"] > .toast-error:not(.toast-just-text) {
padding-left: 50px;
}
[aria-live="polite"] > .toast-success:not(.toast-just-text):before, [aria-live="polite"] > .toast-info:not(.toast-just-text):before, [aria-live="polite"] > .toast-warning:not(.toast-just-text):before, [aria-live="polite"] > .toast-error:not(.toast-just-text):before {
position: absolute;
top: 50%;
left: 12px;
font-family: "Web Icons";
font-size: 30px;
font-style: normal;
font-weight: 300;
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%);
text-rendering: auto;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
[aria-live="polite"] > .toast-success {
color: #fff;
}
[aria-live="polite"] > .toast-success:not(.toast-just-text):before {
content: "";
}
[aria-live="polite"] > .toast-info {
color: #fff;
}
[aria-live="polite"] > .toast-info:not(.toast-just-text):before {
content: "";
}
[aria-live="polite"] > .toast-warning {
color: #fff;
}
[aria-live="polite"] > .toast-warning:not(.toast-just-text):before {
content: "";
}
[aria-live="polite"] > .toast-error {
color: #fff;
}
[aria-live="polite"] > .toast-error:not(.toast-just-text):before {
content: "";
}
[aria-live="polite"].toast-top-center > div, [aria-live="polite"].toast-bottom-center > div {
width: 300px;
margin-right: auto;
margin-left: auto;
}
[aria-live="polite"].toast-top-full-width > div, [aria-live="polite"].toast-bottom-full-width > div {
width: 100%;
margin-right: auto;
margin-left: auto;
border-radius: 0;
}
.toast {
background-color: #e4eaee;
}
.toast-success {
background-color: #28d17c;
}
.toast-error {
background-color: #ff666b;
}
.toast-info {
background-color: #28c0de;
}
.toast-warning {
background-color: #f57d1b;
}
.toast-progress {
position: absolute;
bottom: 0;
left: 0;
height: 4px;
background-color: #000;
opacity: .1;
}
/*Responsive Design*/
@media all and (max-width: 240px) {
[aria-live="polite"] > div {
width: 11em;
}
[aria-live="polite"] .toast-close-button {
top: -0.2em;
right: -0.2em;
}
}
@media all and (min-width: 241px) and (max-width: 480px) {
[aria-live="polite"] > div {
width: 18em;
}
[aria-live="polite"] .toast-close-button {
top: -0.2em;
right: -0.2em;
}
}
@media (min-width: 480px) and (max-width: 767px) {
[aria-live="polite"] > div {
width: 25em;
}
}
+435
View File
@@ -0,0 +1,435 @@
/*
* Toastr
* Copyright 2012-2015
* Authors: John Papa, Hans Fjällemark, and Tim Ferrell.
* All Rights Reserved.
* Use, reproduction, distribution, and modification of this code is subject to the terms and
* conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
*
* ARIA Support: Greta Krafsig
*
* Project: https://github.com/CodeSeven/toastr
*/
/* global define */
; (function (define) {
define(['jquery'], function ($) {
return (function () {
var $container;
var listener;
var toastId = 0;
var toastType = {
error: 'error',
info: 'info',
success: 'success',
warning: 'warning'
};
var toastr = {
clear: clear,
remove: remove,
error: error,
getContainer: getContainer,
info: info,
options: {},
subscribe: subscribe,
success: success,
version: '2.1.2',
warning: warning
};
var previousToast;
return toastr;
////////////////
function error(message, title, optionsOverride) {
return notify({
type: toastType.error,
iconClass: getOptions().iconClasses.error,
message: message,
optionsOverride: optionsOverride,
title: title
});
}
function getContainer(options, create) {
if (!options) { options = getOptions(); }
$container = $('#' + options.containerId);
if ($container.length) {
return $container;
}
if (create) {
$container = createContainer(options);
}
return $container;
}
function info(message, title, optionsOverride) {
return notify({
type: toastType.info,
iconClass: getOptions().iconClasses.info,
message: message,
optionsOverride: optionsOverride,
title: title
});
}
function subscribe(callback) {
listener = callback;
}
function success(message, title, optionsOverride) {
return notify({
type: toastType.success,
iconClass: getOptions().iconClasses.success,
message: message,
optionsOverride: optionsOverride,
title: title
});
}
function warning(message, title, optionsOverride) {
return notify({
type: toastType.warning,
iconClass: getOptions().iconClasses.warning,
message: message,
optionsOverride: optionsOverride,
title: title
});
}
function clear($toastElement, clearOptions) {
var options = getOptions();
if (!$container) { getContainer(options); }
if (!clearToast($toastElement, options, clearOptions)) {
clearContainer(options);
}
}
function remove($toastElement) {
var options = getOptions();
if (!$container) { getContainer(options); }
if ($toastElement && $(':focus', $toastElement).length === 0) {
removeToast($toastElement);
return;
}
if ($container.children().length) {
$container.remove();
}
}
// internal functions
function clearContainer (options) {
var toastsToClear = $container.children();
for (var i = toastsToClear.length - 1; i >= 0; i--) {
clearToast($(toastsToClear[i]), options);
}
}
function clearToast ($toastElement, options, clearOptions) {
var force = clearOptions && clearOptions.force ? clearOptions.force : false;
if ($toastElement && (force || $(':focus', $toastElement).length === 0)) {
$toastElement[options.hideMethod]({
duration: options.hideDuration,
easing: options.hideEasing,
complete: function () { removeToast($toastElement); }
});
return true;
}
return false;
}
function createContainer(options) {
$container = $('<div/>')
.attr('id', options.containerId)
.addClass(options.positionClass)
.attr('aria-live', 'polite')
.attr('role', 'alert');
$container.appendTo($(options.target));
return $container;
}
function getDefaults() {
return {
tapToDismiss: true,
toastClass: 'toast',
containerId: 'toast-container',
debug: false,
showMethod: 'fadeIn', //fadeIn, slideDown, and show are built into jQuery
showDuration: 300,
showEasing: 'swing', //swing and linear are built into jQuery
onShown: undefined,
hideMethod: 'fadeOut',
hideDuration: 1000,
hideEasing: 'swing',
onHidden: undefined,
closeMethod: false,
closeDuration: false,
closeEasing: false,
extendedTimeOut: 1000,
iconClasses: {
error: 'toast-error',
info: 'toast-info',
success: 'toast-success',
warning: 'toast-warning'
},
iconClass: 'toast-info',
positionClass: 'toast-top-right',
timeOut: 5000, // Set timeOut and extendedTimeOut to 0 to make it sticky
titleClass: 'toast-title',
messageClass: 'toast-message',
escapeHtml: false,
target: 'body',
closeHtml: '<button type="button">&times;</button>',
newestOnTop: true,
preventDuplicates: false,
progressBar: false
};
}
function publish(args) {
if (!listener) { return; }
listener(args);
}
function notify(map) {
var options = getOptions();
var iconClass = map.iconClass || options.iconClass;
if (typeof (map.optionsOverride) !== 'undefined') {
options = $.extend(options, map.optionsOverride);
iconClass = map.optionsOverride.iconClass || iconClass;
}
if (shouldExit(options, map)) { return; }
toastId++;
$container = getContainer(options, true);
var intervalId = null;
var $toastElement = $('<div/>');
var $titleElement = $('<div/>');
var $messageElement = $('<div/>');
var $progressElement = $('<div/>');
var $closeElement = $(options.closeHtml);
var progressBar = {
intervalId: null,
hideEta: null,
maxHideTime: null
};
var response = {
toastId: toastId,
state: 'visible',
startTime: new Date(),
options: options,
map: map
};
personalizeToast();
displayToast();
handleEvents();
publish(response);
if (options.debug && console) {
console.log(response);
}
return $toastElement;
function escapeHtml(source) {
if (source == null)
source = "";
return new String(source)
.replace(/&/g, '&amp;')
.replace(/"/g, '&quot;')
.replace(/'/g, '&#39;')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}
function personalizeToast() {
setIcon();
setTitle();
setMessage();
setCloseButton();
setProgressBar();
setSequence();
}
function handleEvents() {
$toastElement.hover(stickAround, delayedHideToast);
if (!options.onclick && options.tapToDismiss) {
$toastElement.click(hideToast);
}
if (options.closeButton && $closeElement) {
$closeElement.click(function (event) {
if (event.stopPropagation) {
event.stopPropagation();
} else if (event.cancelBubble !== undefined && event.cancelBubble !== true) {
event.cancelBubble = true;
}
hideToast(true);
});
}
if (options.onclick) {
$toastElement.click(function (event) {
options.onclick(event);
hideToast();
});
}
}
function displayToast() {
$toastElement.hide();
$toastElement[options.showMethod](
{duration: options.showDuration, easing: options.showEasing, complete: options.onShown}
);
if (options.timeOut > 0) {
intervalId = setTimeout(hideToast, options.timeOut);
progressBar.maxHideTime = parseFloat(options.timeOut);
progressBar.hideEta = new Date().getTime() + progressBar.maxHideTime;
if (options.progressBar) {
progressBar.intervalId = setInterval(updateProgress, 10);
}
}
}
function setIcon() {
if (map.iconClass) {
$toastElement.addClass(options.toastClass).addClass(iconClass);
}
}
function setSequence() {
if (options.newestOnTop) {
$container.prepend($toastElement);
} else {
$container.append($toastElement);
}
}
function setTitle() {
if (map.title) {
$titleElement.append(!options.escapeHtml ? map.title : escapeHtml(map.title)).addClass(options.titleClass);
$toastElement.append($titleElement);
}
}
function setMessage() {
if (map.message) {
$messageElement.append(!options.escapeHtml ? map.message : escapeHtml(map.message)).addClass(options.messageClass);
$toastElement.append($messageElement);
}
}
function setCloseButton() {
if (options.closeButton) {
$closeElement.addClass('toast-close-button').attr('role', 'button');
$toastElement.prepend($closeElement);
}
}
function setProgressBar() {
if (options.progressBar) {
$progressElement.addClass('toast-progress');
$toastElement.prepend($progressElement);
}
}
function shouldExit(options, map) {
if (options.preventDuplicates) {
if (map.message === previousToast) {
return true;
} else {
previousToast = map.message;
}
}
return false;
}
function hideToast(override) {
var method = override && options.closeMethod !== false ? options.closeMethod : options.hideMethod;
var duration = override && options.closeDuration !== false ?
options.closeDuration : options.hideDuration;
var easing = override && options.closeEasing !== false ? options.closeEasing : options.hideEasing;
if ($(':focus', $toastElement).length && !override) {
return;
}
clearTimeout(progressBar.intervalId);
return $toastElement[method]({
duration: duration,
easing: easing,
complete: function () {
removeToast($toastElement);
if (options.onHidden && response.state !== 'hidden') {
options.onHidden();
}
response.state = 'hidden';
response.endTime = new Date();
publish(response);
}
});
}
function delayedHideToast() {
if (options.timeOut > 0 || options.extendedTimeOut > 0) {
intervalId = setTimeout(hideToast, options.extendedTimeOut);
progressBar.maxHideTime = parseFloat(options.extendedTimeOut);
progressBar.hideEta = new Date().getTime() + progressBar.maxHideTime;
}
}
function stickAround() {
clearTimeout(intervalId);
progressBar.hideEta = 0;
$toastElement.stop(true, true)[options.showMethod](
{duration: options.showDuration, easing: options.showEasing}
);
}
function updateProgress() {
var percentage = ((progressBar.hideEta - (new Date().getTime())) / progressBar.maxHideTime) * 100;
$progressElement.width(percentage + '%');
}
}
function getOptions() {
return $.extend({}, getDefaults(), toastr.options);
}
function removeToast($toastElement) {
if (!$container) { $container = getContainer(); }
if ($toastElement.is(':visible')) {
return;
}
$toastElement.remove();
$toastElement = null;
if ($container.children().length === 0) {
$container.remove();
previousToast = undefined;
}
}
})();
});
}(typeof define === 'function' && define.amd ? define : function (deps, factory) {
if (typeof module !== 'undefined' && module.exports) { //Node
module.exports = factory(require('jquery'));
} else {
window.toastr = factory(window.jQuery);
}
}));
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
@charset "utf-8";.toast-title{font-weight:500}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccd5db;text-decoration:none}.toast-close-button{position:relative;top:-.3em;right:-.3em;float:right;margin-bottom:-.5em;font-size:20px;font-weight:300;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:12px;right:0;width:100%}.toast-bottom-center{right:0;bottom:12px;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-top-full-width .toast{margin-bottom:0}.toast-bottom-full-width{right:0;bottom:0;width:100%}.toast-bottom-full-width .toast{margin-bottom:0}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}[aria-live=polite]{position:fixed;z-index:1700;pointer-events:none}[aria-live=polite] *{box-sizing:border-box}[aria-live=polite]>div{position:relative;width:300px;padding:15px 20px;margin:0 0 6px;overflow:hidden;color:#a3afb7;pointer-events:auto;background-repeat:no-repeat;background-position:15px center;border:1px solid rgba(0,0,0,.1);border-radius:.215rem;opacity:.95}[aria-live=polite]>.toast-shadow{box-shadow:0 1px 3px rgba(0,0,0,.23)}[aria-live=polite]>.toast-shadow:hover{box-shadow:0 1px 6px rgba(0,0,0,.23)}[aria-live=polite]>:hover{cursor:pointer;opacity:1}[aria-live=polite]>.toast-error:not(.toast-just-text),[aria-live=polite]>.toast-info:not(.toast-just-text),[aria-live=polite]>.toast-success:not(.toast-just-text),[aria-live=polite]>.toast-warning:not(.toast-just-text){padding-left:50px}[aria-live=polite]>.toast-error:not(.toast-just-text):before,[aria-live=polite]>.toast-info:not(.toast-just-text):before,[aria-live=polite]>.toast-success:not(.toast-just-text):before,[aria-live=polite]>.toast-warning:not(.toast-just-text):before{position:absolute;top:50%;left:12px;font-family:"Web Icons";font-size:30px;font-style:normal;font-weight:300;-webkit-transform:translate(0,-50%);transform:translate(0,-50%);text-rendering:auto;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[aria-live=polite]>.toast-success{color:#fff}[aria-live=polite]>.toast-success:not(.toast-just-text):before{content:""}[aria-live=polite]>.toast-info{color:#fff}[aria-live=polite]>.toast-info:not(.toast-just-text):before{content:""}[aria-live=polite]>.toast-warning{color:#fff}[aria-live=polite]>.toast-warning:not(.toast-just-text):before{content:""}[aria-live=polite]>.toast-error{color:#fff}[aria-live=polite]>.toast-error:not(.toast-just-text):before{content:""}[aria-live=polite].toast-bottom-center>div,[aria-live=polite].toast-top-center>div{width:300px;margin-right:auto;margin-left:auto}[aria-live=polite].toast-bottom-full-width>div,[aria-live=polite].toast-top-full-width>div{width:100%;margin-right:auto;margin-left:auto;border-radius:0}.toast{background-color:#e4eaee}.toast-success{background-color:#28d17c}.toast-error{background-color:#ff666b}.toast-info{background-color:#28c0de}.toast-warning{background-color:#f57d1b}.toast-progress{position:absolute;bottom:0;left:0;height:4px;background-color:#000;opacity:.1}@media all and (max-width:240px){[aria-live=polite]>div{width:11em}[aria-live=polite] .toast-close-button{top:-.2em;right:-.2em}}@media all and (min-width:241px) and (max-width:480px){[aria-live=polite]>div{width:18em}[aria-live=polite] .toast-close-button{top:-.2em;right:-.2em}}@media (min-width:480px) and (max-width:767px){[aria-live=polite]>div{width:25em}}
+2
View File
@@ -0,0 +1,2 @@
!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return g({type:O.error,iconClass:m().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(n&&(v=u(t)),v)}function i(e,t,n){return g({type:O.info,iconClass:m().iconClasses.info,message:e,optionsOverride:n,title:t})}function o(e){w=e}function s(e,t,n){return g({type:O.success,iconClass:m().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return g({type:O.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e,t){var i=m();v||n(i),l(e,i,t)||d(i)}function c(t){var i=m();return v||n(i),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function d(t){for(var n=v.children(),i=n.length-1;i>=0;i--)l(e(n[i]),t)}function l(t,n,i){var o=i&&i.force?i.force:!1;return t&&(o||0===e(":focus",t).length)?(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0):!1}function u(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass).attr("aria-live","polite").attr("role","alert"),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,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",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function f(e){w&&w(e)}function g(t){function i(e){return null==e&&(e=""),new String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function o(){r(),d(),l(),u(),p(),c()}function s(){y.hover(b,O),!x.onclick&&x.tapToDismiss&&y.click(w),x.closeButton&&k&&k.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),w(!0)}),x.onclick&&y.click(function(e){x.onclick(e),w()})}function a(){y.hide(),y[x.showMethod]({duration:x.showDuration,easing:x.showEasing,complete:x.onShown}),x.timeOut>0&&(H=setTimeout(w,x.timeOut),q.maxHideTime=parseFloat(x.timeOut),q.hideEta=(new Date).getTime()+q.maxHideTime,x.progressBar&&(q.intervalId=setInterval(D,10)))}function r(){t.iconClass&&y.addClass(x.toastClass).addClass(E)}function c(){x.newestOnTop?v.prepend(y):v.append(y)}function d(){t.title&&(I.append(x.escapeHtml?i(t.title):t.title).addClass(x.titleClass),y.append(I))}function l(){t.message&&(M.append(x.escapeHtml?i(t.message):t.message).addClass(x.messageClass),y.append(M))}function u(){x.closeButton&&(k.addClass("toast-close-button").attr("role","button"),y.prepend(k))}function p(){x.progressBar&&(B.addClass("toast-progress"),y.prepend(B))}function g(e,t){if(e.preventDuplicates){if(t.message===C)return!0;C=t.message}return!1}function w(t){var n=t&&x.closeMethod!==!1?x.closeMethod:x.hideMethod,i=t&&x.closeDuration!==!1?x.closeDuration:x.hideDuration,o=t&&x.closeEasing!==!1?x.closeEasing:x.hideEasing;return!e(":focus",y).length||t?(clearTimeout(q.intervalId),y[n]({duration:i,easing:o,complete:function(){h(y),x.onHidden&&"hidden"!==j.state&&x.onHidden(),j.state="hidden",j.endTime=new Date,f(j)}})):void 0}function O(){(x.timeOut>0||x.extendedTimeOut>0)&&(H=setTimeout(w,x.extendedTimeOut),q.maxHideTime=parseFloat(x.extendedTimeOut),q.hideEta=(new Date).getTime()+q.maxHideTime)}function b(){clearTimeout(H),q.hideEta=0,y.stop(!0,!0)[x.showMethod]({duration:x.showDuration,easing:x.showEasing})}function D(){var e=(q.hideEta-(new Date).getTime())/q.maxHideTime*100;B.width(e+"%")}var x=m(),E=t.iconClass||x.iconClass;if("undefined"!=typeof t.optionsOverride&&(x=e.extend(x,t.optionsOverride),E=t.optionsOverride.iconClass||E),!g(x,t)){T++,v=n(x,!0);var H=null,y=e("<div/>"),I=e("<div/>"),M=e("<div/>"),B=e("<div/>"),k=e(x.closeHtml),q={intervalId:null,hideEta:null,maxHideTime:null},j={toastId:T,state:"visible",startTime:new Date,options:x,map:t};return o(),a(),s(),f(j),x.debug&&console&&console.log(j),y}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),C=void 0))}var v,w,C,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:c,error:t,getContainer:n,info:i,options:{},subscribe:o,success:s,version:"2.1.2",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)});
//# sourceMappingURL=toastr.js.map