if(Wind){Wind.css('animate');Wind.css('noty3');}!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define("Noty",[],e):"object"==typeofexports?exports.Noty=e():t.Noty=e()}(this,function(){returnfunction(t){functione(o){if(n[o])returnn[o].exports;vari=n[o]={i:o,l:!1,exports:{}};returnt[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}varn={};returne.m=t,e.c=n,e.i=function(t){returnt},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){varn=t&&t.__esModule?function(){returnt.default}:function(){returnt};returne.d(n,"a",n),n},e.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=6)}([function(t,e,n){"use strict";functiono(t,e,n){varo=void0;if(!n){for(oine)if(e.hasOwnProperty(o)&&e[o]===t)return!0}elsefor(oine)if(e.hasOwnProperty(o)&&e[o]===t)return!0;return!1}functioni(t){t=t||window.event,void0!==t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}functionr(){vart=arguments.length>0&&void0!==arguments[0]?arguments[0]:"",e="noty_"+t+"_";returne+="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){vare=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}functions(t){vare=t.offsetHeight,n=window.getComputedStyle(t);returne+=parseInt(n.marginTop)+parseInt(n.marginBottom)}functionu(t,e,n){varo=arguments.length>3&&void0!==arguments[3]&&arguments[3];e=e.split(" ");for(vari=0;i<e.length;i++)document.addEventListener?t.addEventListener(e[i],n,o):document.attachEvent&&t.attachEvent("on"+e[i],n)}functiona(t,e){return("string"==typeoft?t:f(t)).indexOf(" "+e+" ")>=0}functionc(t,e){varn=f(t),o=n+e;a(n,e)||(t.className=o.substring(1))}functionl(t,e){varn=f(t),o=void0;a(t,e)&&(o=n.replace(" "+e+" "," "),t.className=o.substring(1,o.length-1))}functiond(t){t.parentNode&&t.parentNode.removeChild(t)}functionf(t){return(" "+(t&&t.className||"")+" ").replace(/\s+/gi," ")}functionh(){functiont(){b.PageHidden=document[s],o()}functione(){b.PageHidden=!0,o()}functionn(){b.PageHidden=!1,o()}functiono(){b.PageHidden?i():r()}functioni(){setTimeout(function(){Object.keys(b.Store).forEach(function(t){b.Store.hasOwnProperty(t)&&b.Store[t].options.visibilityControl&&b.Store[t].stop()})},100)}functionr(){setTimeout(function(){Object.keys(b.Store).forEach(function(t){b.Store.hasOwnProperty(t)&&b.Store[t].options.visibilityControl&&b.Store[t].resume()}),b.queueRenderAll()},100)}vars=void0,a=void0;void0!==document.hidden?(s="hidden",a="visibilitychange"):void0!==document.msHidden?(s="msHidden",a="msvisibilitychange"):void0!==document.webkitHidden&&(s="webkitHidden",a="webkitvisibilitychange"),u(document,a,t),u(window,"blur",e),u(window,"focus",n)}functionp(t){if(t.hasSound){vare=document.createElement("audio");t.options.sounds.sources.forEach(function(t){varn=document.createElement("source");n.src=t,n.type="audio/"+m(t),e.appendChild(n)}),t.barDom?t.barDom.appendChild(e):document.querySelector("body").appendChild(e),e.volume=t.options.sounds.volume,t.soundPlayed||(e.play(),t.soundPlayed=!0),e.onended=function(){d(e)}}}functionm(t){returnt.match(/\.([^.]+)$/)[1]}Object.defineProperty(e,"__esModule",{value:!0}),e.css=e.deepExtend=e.animationEndEvents=void0;varv="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft};e.inArray=o,e.stopPropagation=i,e.generateID=r,e.outerHeight=s,e.addListener=u,e.hasClass=a,e.addClass=c,e.removeClass=l,e.remove=d,e.classList=f,e.visibilityChangeFlow=h,e.createAudioElements=p;vary=n(1),b=function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e}(y);e.animationEndEvents="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",e.deepExtend=functiont(e){e=e||{};for(varn=1;n<arguments.length;n++){varo=arguments[n];if(o)for(variino)o.hasOwnProperty(i)&&(Array.isArray(o[i])?e[i]=o[i]:"object"===v(o[i])&&null!==o[i]?e[i]=t(e[i],o[i]):e[i]=o[i])}returne},e.css=function(){functiont(t){returnt.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){returne.toUpperCase()})}functione(t){vare=document.body.style;if(tine)returnt;for(varn=i.length,o=t.charAt(0).toUpperCase()+t.slice(1),r=void0;n--;)if((r=i[n]+o)ine)returnr;returnt}functionn(n){returnn=t(n),r[n]||(r[n]=e(n))}functiono(t,e,o){e=n(e),t.style[e]=o}vari=["Webkit","O","Moz","ms"],r={};returnfunction(t,e){varn=arguments,i=void0,r=void0;if(2===n.length)for(iine)e.hasOwnProperty(i)&&void0!==(r=e[i])&&e.hasOwnProperty(i)&&o(t,i,r);elseo(t,n[1],n[2])}}()},function(t,e,n){"use strict";functiono(){vart=arguments.length>0&&void0!==arguments[0]?arguments[0]:"global",e=0,n=x;returnE.hasOwnProperty(t)&&(n=E[t].maxVisible,Object.keys(P).forEach(function(n){P[n].options.queue!==t||P[n].closed||e++})),{current:e,maxVisible:n}}functioni(t){E.hasOwnProperty(t.options.queue)||(E[t.options.queue]={maxVisible:x,queue:[]}),E[t.options.queue].queue.push(t)}functionr(t){if(E.hasOwnProperty(t.options.queue)){vare=[];Object.keys(E[t.options.queue].queue).forEach(function(n){E[t.options.queue].queue[n].id!==t.id&&e.push(E[t.options.queue].queue[n])}),E[t.options.queue].queue=e}}functions(){vart=arguments.length>0&&void0!==arguments[0]?arguments[0]:"global";if(E.hasOwnProperty(t)){vare=E[t].queue.shift();e&&e.show()}}functionu(){Object.keys(E).forEach(function(t){s(t)})}functiona(t){vare=k.generateID("ghost"),n=document.createElement("div");n.setAttribute("id",e),k.css(n,{height:k.outerHeight(t.barDom)+"px"}),t.barDom.insertAdjacentHTML("afterend",n.outerHTML),k.remove(t.barDom),n=document.getElementById(e),k.addClass(n,"noty_fix_effects_height"),k.addListener(n,k.animationEndEvents,function(){k.remove(n)})}functionc(t){m(t);vare='<div class="noty_body">'+t.options.text+"</div>"+d(t)+'<div class="noty_progressbar"></div>';t.barDom=document.createElement("div"),t.barDom.setAttribute("id",t.id),k.addClass(t.barDom,"noty_bar noty_type__"+t.options.type+" noty_theme__"+t.options.theme),t.barDom.innerHTML=e,b(t,"onTemplate")}functionl(t){return!(!t.options.buttons||!Object.keys(t.options.buttons).length)}functiond(t){if(l(t)){vare=document.createElement("div");returnk.addClass(e,"noty_buttons"),Object.keys(t.options.buttons).forEach(function(n){e.appendChild(t.options.buttons[n].dom)}),t.options.buttons.forEach(function(t){e.appendChild(t.dom)}),e.outerHTML}return""}functionf(t){t.options.modal&&(0===S&&p(),e.DocModalCount=S+=1)}functionh(t){if(t.options.modal&&S>0&&(e.DocModalCount=S-=1,S<=0)){varn=document.querySelector(".noty_modal");n&&(k.removeClass(n,"noty_modal_open"),k.addClass(n,"noty_modal_close"),k.addListener(n,k.animationEndEvents,function(){k.remove(n)}))}}functionp(){vart=document.querySelector("body"),e=document.createElement("div");k.addClass(e,"noty_modal"),t.insertBefore(e,t.firstChild),k.addClass(e,"noty_modal_open"),k.addListener(e,k.animationEndEvents,function(){k.removeClass(e,"noty_modal_open")})}functionm(t){if(t.options.container)returnvoid(t.layoutDom=document.querySelector(t.options.container));vare="noty_layout__"+t.options.layout;t.layoutDom=document.querySelector("div#"+e),t.layoutDom||(t.layoutDom=document.createElement("div"),t.layoutDom.setAttribute("id",e),k.addClass(t.layoutDom,"noty_layout"),document.querySelector("body").appendChild(t.layoutDom))}functionv(t){t.options.timeout&&(t.options.progressBar&&t.progressDom&&k.css(t.progressDom,{transition:"width "+t.options.timeout+"ms linear",width:"0%"}),clearTimeout(t.closeTimer),t.closeTimer=setTimeout(function(){t.close()},t.options.timeout))}functiony(t){t.options.timeout&&t.closeTimer&&(clearTimeout(t.closeTimer),t.closeTimer=-1,t.options.progressBar&&t.progressDom&&k.css(t.progressDom,{transition:"width 0ms linear",width:"100%"}))}functionb(t,e){t.listeners.hasOwnProperty(e)&&t.listeners[e].forEach(function(e){"function"==typeofe&&e.apply(t)})}functionw(t){b(t,"afterShow"),v(t),k.addListener(t.barDom,"mouseenter",function(){y(t)}),k.addListener(t.barDom,"mouseleave",function(){v(t)})}functiong(t){deleteP[t.id],t.closing=!1,b(t,"afterClose"),k.remove(t.barDom),0!==t.layoutDom.querySelectorAll(".noty_bar").length||t.options.container||k.remove(t.layoutDom),(k.inArray("docVisible",t.options.titleCount.conditions)||k.inArray("docHidden",t.options.titleCount.conditions))&&D.decrement(),s(t.options.queue)}Object.defineProperty(e,"__esModule",{value:!0}),e.Defaults=e.Store=e.Queues=e.DefaultMaxVisible=e.docTitle=e.DocModalCount=e.PageHidden=void0,e.getQueueCounts=o,e.addToQueue=i,e.removeFromQueue=r,e.queueRender=s,e.queueRenderAll=u,e.ghostFix=a,e.build=c,e.hasButtons=l,e.handleModal=f,e.handleModalClose=h,e.queueClose=v,e.dequeueClose=y,e.fire=b,e.openFlow=w,e.closeFlow=g;var_=n(0),k=function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e}(_),S=(e.PageHidden=!1,e.DocModalCount=0),C={originalTitle:null,count:0,changed:!1,timer:-1},D=e.docTitle={increment:function(){C.count++,D._update()},decrement:function(){if(--C.count<=0)returnvoidD._clear();D._update()},_update:function(){vart=document.title;C.changed?document.title="("+C.count+") "+C.originalTitle:(C.originalTitle=t,document.title="("+C.count+") "+t,C.changed=!0)},_clear:function(){C.changed&&(C.count=0,document.title=C.originalTitle,C.changed=!1)}},x=e.DefaultMaxVisible=5,E=e.Queues={global:{maxVisible:x,queue:[]}},P=e.Store={};e.Defaults={type:"alert",layout:"topRight",theme:"mint",text:"",timeout:!1,progressBar:!0,closeWith:["click"],animation:{open:"noty_effects_open",close:"noty_effects_close"},id:!1,force:!1,killer:!1,queue:"global",container:!1,buttons:[],callbacks:{beforeShow:null,onShow:null,afterShow:null,onClose:null,afterClose:null,onHover:null,onTemplate:null},sounds:{sources:[],volume:1,conditions:[]},titleCount:{conditions:[]},modal:!1,visibilityControl:!0}},function(t,e,n){"use strict";functiono(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.NotyButton=void0;vari=n(0),r=function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e}(i);e.NotyButton=functiont(e,n,i){vars=this,u=arguments.length>3&&void0!==arguments[3]?arguments[3]:{};returno(this,t),this.dom=document.createElement("button"),this.dom.innerHTML=e,this.id=u.id=u.id||r.generateID("button"),this.cb=i,Object.keys(u).forEach(function(t){s.dom.setAttribute(t,u[t])}),r.addClass(this.dom,n||"noty_btn"),this}},function(t,e,n){"use strict";functiono(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});vari=function(){functiont(t,e){for(varn=0;n<e.length;n++){varo=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"ino&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}returnfunction(e,n,o){returnn&&t(e.prototype,n),o&&t(e,o),e}}();e.Push=function(){functiont(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:"/service-worker.js";returno(this,t),this.subData={},this.workerPath=e,this.listeners={onPermissionGranted:[],onPermissionDenied:[],onSubscriptionSuccess:[],onSubscriptionCancel:[],onWorkerError:[],onWorkerSuccess:[],onWorkerNotSupported:[]},this}returni(t,[{key:"on",value:function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:function(){};return"function"==typeofe&&this.listeners.hasOwnProperty(t)&&this.listeners[t].push(e),this}},{key:"fire",value:function(t){vare=this,n=arguments.length>1&&void0!==arguments[1]?arguments[1]:[];this.listeners.hasOwnProperty(t)&&this.listeners[t].forEach(function(t){"function"==typeoft&&t.apply(e,n)})}},{key:"create",value:function(){console.log("NOT IMPLEMENTED YET")}},{key:"isSupported",value:function(){vart=!1;try{t=window.Notification||window.webkitNotifications||navigator.mozNotification||window.external&&void0!==window.external.msIsSiteMode()}catch(t){}returnt}},{key:"getPermissionStatus",value:function(){vart="default";if(window.Notification&&window.Notification.permissionLevel)t=window.Notification.permissionLevel;elseif(window.webkitNotifications&&window.webkitNotifications.checkPermission)switch(window.webkitNotifications.checkPermission()){case1:t="default";break;case0:t="granted";break;default:t="denied"}elsewindow.Notification&&window.Notification.permission?t=window.Notification.permission:navigator.mozNotification?t="granted":window.external&&void0!==window.external.msIsSiteMode()&&(t=window.external.msIsSiteMode()?"granted":"default");returnt.toString().toLowerCase()}},{key:"getEndpoint",value:function(t){vare=t.endpoint,n=t.subscriptionId;returnn&&-1===e.indexOf(n)&&(e+="/"+n),e}},{key:"isSWRegistered",value:function(){try{return"activated"===navigator.serviceWorker.controller.state}catch(t){return!1}}},{key:"unregisterWorker",value:function(){vart=this;"serviceWorker"innavigator&&navigator.serviceWorker.getRegistrations().then(function(e){varn=!0,o=!1,i=void0;try{for(varr,s=e[Symbol.iterator]();!(n=(r=s.next()).done);n=!0){r.value.unregister(),t.fire("onSubscriptionCancel")}}catch(t){o=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(o)throwi}}})}},{key:"requestSubscription",value:function(){vart=this,e=!(arguments.length>0&&void0!==arguments[0])||arguments[0],n=this,o=this.getPermissionStatus(),i=function(o){"granted"===o?(t.fire("onPermissionGranted"),"serviceWorker"innavigator?navigator.serviceWorker.register(t.workerPath).then(function(){navigator.serviceWorker.ready.then(function(t){n.fire("onWorkerSuccess"),t.pushManager.subscribe({userVisibleOnly:e}).then(function(t){vare=t.getKey("p256dh"),o=t.getKey("auth");n.subData={endpoint:n.getEndpoint(t),p256dh:e?window.btoa(String.fromCharCode.apply(null,newUint8Array(e))):null,auth:o?window.btoa(String.fromCharCode.apply(null,newUint8Array(o))):null},n.fire("onSubscriptionSuccess",[n.subData])}).catch(function(t){n.fire("onWorkerError",[t])})})}):n.fire("onWorkerNotSupported")):"denied"===o&&(t.fire("onPermissionDenied"),t.unregisterWorker())};"default"===o?window.Notification&&window.Notification.requestPermission?window.Notification.requestPermission(i):window.webkitNotifications&&window.webkitNotifications.checkPermission&&window.webkitNotifications.requestPermission(i):i(o)}}]),t}()},function(t,e,n){(function(e,o){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version 4.1.0 */!function(e,n){t.exports=n()}(0,function(){"use strict";functiont(t){return"function"==typeoft||"object"==typeoft&&null!==t}functioni(t){return"function"==typeoft}functionr(t){z=t}functions(t){U=t}functionu(){returnvoid0!==R?function(){R(c)}:a()}functiona(){vart=setTimeout;returnfunction(){returnt(c,1)}}functionc(){for(vart=0;t<Q;t+=2){(0,X[t])(X[t+1]),X[t]=void0,X[t+1]=void0}Q=0}functionl(t,e){varn=arguments,o=this,i=newthis.constructor(f);void0===i[tt]&&A(i);varr=o._state;returnr?function(){vart=n[r-1];U(function(){returnP(r,i,t,o._result)})}():C(o,i,t,e),i}functiond(t){vare=this;if(t&&"object"==typeoft&&t.constructor===e)returnt;varn=newe(f);returng(n,t),n}functionf(){}functionh(){returnnewTypeError("You cannot resolve a promise with itself")}functionp(){returnnewTypeError("A promises callback cannot return that same promise.")}functionm(t){try{returnt.then}catch(t){returnit.error=t,it}}functionv(t,e,n,o){try{t.call(e,n,o)}catch(t){returnt}}functiony(t,e,n){U(function(t){varo=!1,i=v(n,e,function(n){o||(o=!0,e!==n?g(t,n):k(t,n))},function(e){o||(o=!0,S(t,e))},"Settle: "+(t._label||" unknown promise"));!o&&i&&(o=!0,S(t,i))},t)}functionb(t,e){e._state===nt?k(t,e._result):e._state===ot?S(t,e._result):C(e,void0,function(e){returng(t,e)},function(e){returnS(t,e)})}functionw(t,e,n){e.constructor===t.constructor&&n===l&&e.constructor.resolve===d?b(t,e):n===it?(S(t,it.error),it.error=null):void0===n?k(t,e):i(n)?y(t,e,n):k(t,e)}functiong(e,n){e===n?S(e,h()):t(n)?w(e,n,m(n)):k(e,n)}function_(t){t._onerror&&t._onerror(t._result),D(t)}functionk(t,e){t._state===et&&(t._result=e,t._state=nt,0!==t._subscribers.length&&U(D,t))}functionS(t,e){t._state===et&&(t._state=ot,t._result=e,U(_,t))}functionC(t,e,n,o){vari=t._subscribers,r=i.length;t._onerror=null,i[r]=e,i[r+nt]=n,i[r+ot]=o,0===r&&t._state&&U(D,t)}functionD(t){vare=t._subscribers,n=t._state;if(0!==e.length){for(varo=void0,i=void0,r=t._result,s=0;s<e.length;s+=3)o=e[s],i=e[s+n],o?P(n,o,i,r):i(r);t._subscribers.length=0}}functionx(){this.error=null}functionE(t,e){try{returnt(e)}catch(t){returnrt.error=t,rt}}functionP(t,e,n,o){varr=i(n),s=void0,u=void0,a=void0,c=void0;if(r){if(s=E(n,o),s===rt?(c=!0,u=s.error,s.error=null):a=!0,e===s)returnvoidS(e,p())}elses=o,a=!0;e._state!==et||(r&&a?g(e,s):c?S(e,u):t===nt?k(e,s):t===ot&&S(e,s))}functionT(t,e){try{e(function(e){g(t,e)},function(e){S(t,e)})}catch(e){S(t,e)}}functionO(){returnst++}functionA(t){t[tt]=st++,t._state=void0,t._result=void0,t._subscribers=[]}functionM(t,e){this._instanceConstructor=t,this.promise=newt(f),this.promise[tt]||A(this.promise),I(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=newArray(this.length),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&k(this.promise,this._result))):S(this.promise,q())}functionq(){returnnewError("Array Methods must be provided an Array")}functionj(t){returnnewM(this,t).promise}functionN(t){vare=this;returnnewe(I(t)?function(n,o){for(vari=t.length,r=0;r<i;r++)e.resolve(t[r]).then(n,o)}:function(t,e){returne(newTypeError("You must pass an array to race."))})}functionH(t){vare=this,n=newe(f);returnS(n,t),n}functionL(){thrownewTypeError("You must pass a resolver function as the first argument to the promise constructor")}functionW(){thrownewTypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}functionV(t){this[tt]=O(),this._result=this._state=void0,this._subscribers=[],f!==t&&("function"!=typeoft&&L(),thisinstanceofV?T(this,t):W())}functionB(){vart=void0;if(void0!==o)t=o;elseif("undefined"!=typeofself)t=self;elsetry{t=Function("return this")()}catch(t){thrownewError("polyfill failed because global object is unavailable in this environment")}vare=t.Promise;if(e){varn=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=V}varF=void0;F=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};varI=F,Q=0,R=void0,z=void0,U=function(t,e){X[Q]=t,X[Q+1]=e,2===(Q+=2)&&(z?z(c):Z())},Y="undefined"!=typeofwindow?window:void0,K=Y||{},G=K.MutationObserver||K.WebKitMutationObserver,$="undefined"==typeofself&&void0!==e&&"[object process]"==={}.toString.call(e),J="undefined"!=typeofUint8ClampedArray&&"undefined"!=typeofimportScripts&&"undefined"!=typeofMessageChannel,X=newArray(1e3),Z=void0;Z=$?function(){returnfunction(){returne.nextTick(c)}}():G?function(){vart=0,e=newG(c),n=document.createTextNode("");returne.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():J?function(){vart=newMessageChannel;returnt.port1.onmessage=c,function(){returnt.port2.postMessage(0)}}():void0===Y?function(){try{vart=n(9);returnR=t.runOnLoop||t.runOnContext,u()}catch(t){returna()}}():a();vartt=Math.random().toString(36).substring(16),et=void0,nt=1,ot=2,it=newx,rt=newx,st=0;returnM.prototype._enumerate=function(){for(vart=this.length,e=this._input,n=0;this._state===et&&n<t;n++)this._eachEntry(e[n],n)},M.prototype._eachEntry=function(t,e){varn=this._instanceConstructor,o=n.resolve;if(o===d){vari=m(t);if(i===l&&t._state!==et)this._settledAt(t._state,e,t._result);elseif("function"!=typeofi)this._remaining--,this._result[e]=t;elseif(n===V){varr=newn(f);w(r,t,i),this._willSettleAt(r,e)}elsethis._willSettleAt(newn(function(e){returne(t)}),e)}elsethis._willSettleAt(o(t),e)},M.prototype._settledAt=function(t,e,n){varo=this.promise;o._state===et&&(this._remaining--,t===ot?S(o,n):this._result[e]=n),0===this._remaining&&k(o,this._result)},M.prototype._willSettleAt=function(t,e){varn=this;C(t,void0,function(t){returnn._settledAt(nt,e,t)},function(t){returnn._settledAt(ot,e,t)})},V.all=j,V.race=N,V.resolve=d,V.reject=H,V._setScheduler=r,V._setAsap=s,V._asap=U,V.prototype={constructor:V,then:l,catch:function(t){returnthis.then(null,t)}},V.polyfill=B,V.Promise=V,V})}).call(e,n(7),n(8))},function(t,e){},function(t,e,n){"use strict";functiono(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne.default=t,e}functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});varr=function(){functiont(t,e){for(varn=0;n<e.length;n++){varo=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"ino&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}returnfunction(e,n,o){returnn&&t(e.prototype,n),o&&t(e,o),e}}();n(5);vars=n(4),u=function(t){returnt&&t.__esModule?t:{default:t}}(s),a=n(0),c=o(a),l=n(1),d=o(l),f=n(2),h=n(3),p=function(){functiont(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:{};returni(this,t),this.options=c.deepExtend({},d.Defaults,e),this.id=this.options.id||c.generateID("bar"),this.closeTimer=-1,this.barDom=null,this.layoutDom=null,this.progressDom=null,this.showing=!1,this.shown=!1,this.closed=!1,this.closing=!1,this.killable=this.options.timeout||this.options.closeWith.length>0,this.hasSound=this.options.sounds.sources.length>0,this.soundPlayed=!1,this.listeners={beforeShow:[],onShow:[],afterShow:[],onClose:[],afterClose:[],onHover:[],onTemplate:[]},this.promises={show:null,close:null},this.on("beforeShow",this.options.callbacks.beforeShow),this.on("onShow",this.options.callbacks.onShow),this.on("afterShow",this.options.callbacks.afterShow),this.on("onClose",this.options.callbacks.onClose),this.on("afterClose",this.options.callbacks.afterClose),this.on("onHover",this.options.callbacks.onHover),this.on("onTemplate",this.options.callbacks.onTemplate),this}returnr(t,[{key:"on",value:function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:function(){};return"function"==typeofe&&this.listeners.hasOwnProperty(t)&&this.listeners[t].push(e),this}},{key:"show",value:function(){vare=this;if(!0!==this.options.killer||d.PageHidden)if("string"!=typeofthis.options.killer||d.PageHidden){varn=d.getQueueCounts(this.options.queue);if(n.current>=n.maxVisible||d.PageHidden)returnd.addToQueue(this),d.PageHidden&&this.hasSound&&c.inArray("docHidden",this.options.sounds.conditions)&&c.createAudioElements(this),d.PageHidden&&c.inArray("docHidden",this.options.titleCount.conditions)&&d.docTitle.increment(),this}elset.closeAll(this.options.killer);elset.closeAll();if(d.Store[this.id]=this,d.fire(this,"beforeShow"),this.showing=!0,this.closing)returnthis.showing=!1,this;if(d.build(this),d.handleModal(this),this.options.force?this.layoutDom.insertBefore(this.barDom,this.layoutDom.firstChild):this.layoutDom.appendChild(this.barDom),this.hasSound&&!this.soundPlayed&&c.inArray("docVisible",this.options.sounds.conditions)&&c.createAudioElements(this),c.inArray("docVisible",this.options.titleCount.conditions)&&d.docTitle.increment(),this.shown=!0,this.closed=!1,d.hasButtons(this)&&Object.keys(this.options.buttons).forEach(function(t){varn=e.barDom.querySelector("#"+e.options.buttons[t].id);c.addListener(n,"click",function(n){c.stopPropagation(n),e.options.buttons[t].cb()})}),this.progressDom=this.barDom.querySelector(".noty_progressbar"),c.inArray("click",this.options.closeWith)&&(c.addClass(this.barDom,"noty_close_with_click"),c.addListener(this.barDom,"click",function(t){c.stopPropagation(t),e.close()},!1)),c.addListener(this.barDom,"mouseenter",function(){d.fire(e,"onHover")},!1),this.options.timeout&&c.addClass(this.barDom,"noty_has_timeout"),c.inArray("button",this.options.closeWith)){c.addClass(this.barDom,"noty_close_with_button");varo=document.createElement("div");c.addClass(o,"noty_close_button"),o.innerHTML="×",this.barDom.appendChild(o),c.addListener(o,"click",function(t){c.stopPropagation(t),e.close()},!1)}returnd.fire(this,"onShow"),null===this.options.animation.open?this.promises.show=newu.default(function(t){t()}):"function"==typeofthis.options.animation.open?this.promises.show=newu.default(this.options.animation.open.bind(this)):(c.addClass(this.barDom,this.options.animation.open),this.promises.show=newu.default(function(t){c.addListener(e.barDom,c.animationEndEvents,function(){c.removeClass(e.barDom,e.options.animation.open),t()})})),this.promises.show.then(function(){vart=e;setTimeout(function(){d.openFlow(t)},100)}),this}},{key:"stop",value:function(){returnd.dequeueClose(this),this}},{key:"resume",value:function(){returnd.queueClose(this),this}},{key:"setTimeout",value:function(t){functione(e){returnt.apply(this,arguments)}returne.toString=function(){returnt.toString()},e}(function(t){if(this.stop(),this.options.timeout=t,this.barDom){this.options.timeout?c.addClass(this.barDom,"noty_has_timeout"):c.removeClass(this.barDom,"noty_has_timeout");vare=this;setTimeout(function(){e.resume()},100)}returnthis})},{key:"setText",value:function(t){vare=arguments.length>1&&void0!==arguments[1]&&arguments[1];returnthis.barDom&&(this.barDom.querySelector(".noty_body").innerHTML=t),e&&(this.options.text=t),this}},{key:"setType",value:function(t){vare=this,n=arguments.length>1&&void0!==arguments[1]&&arguments[1];if(this.barDom){c.classList(this.barDom).split(" ").forEach(function(t){"noty_type__"===t.substring(0,11)&&c.removeClass(e.barDom,t)}),c.addClass(this.barDom,"noty_type__"+t)}returnn&&(this.options.type=t),this}},{key:"setTheme",value:function(t){vare=this,n=arguments.length>1&&void0!==arguments[1]&&arguments[1];if(this.barDom){c.classList(this.barDom).split(" ").forEach(function(t){"noty_theme__"===t.substring(0,12)&&c.removeClass(e.barDom,t)}),c.addClass(this.barDom,"noty_theme__"+t)}returnn&&(this.options.theme=t),this}},{key:"close",value:function(){vart=this;returnthis.closed?this:this.shown?(d.fire(this,"onClose"),this.closing=!0,null===this.options.animation.close?this.promises.close=newu.default(function(t){t()}):"function"==typeofthis.options.animation.close?this.promises.close=newu.default(this.options.animation.close.bind(this)):(c.addClass(this.barDom,this.options.animation.close),this.promises.close=newu.default(function(e){c.addListener(t.barDom,c.animationEndEvents,function(){t.options.force?c.remove(t.barDom):d.ghostFix(t),e()})})),this.promises.close.then(function(){d.closeFlow(t),d.handleModalClose(t)}),this.closed=!0,this):(d.removeFromQueue(this),this)}}],[{key:"closeAll",value:function(){vart=arguments.length>0&&void0!==arguments[0]&&arguments[0];returnObject.keys(d.Store).forEach(function(e){t?d.Store[e].options.queue===t&&d.Store[e].killable&&d.Store[e].close():d.Store[e].killable&&d.Store[e].close()}),this}},{key:"overrideDefaults",value:function(t){returnd.Defaults=c.deepExtend({},d.Defaults,t),this}},{key:"setMaxVisible",value:function(){vart=arguments.length>0&&void0!==arguments[0]?arguments[0]:d.DefaultMaxVisible,e=arguments.length>1&&void0!==arguments[1]?arguments[1]:"global";returnd.Queues.hasOwnProperty(e)||(d.Queues[e]={maxVisible:t,queue:[]}),d.Queues[e].maxVisible=t,this}},{key:"button",value:function(t){vare=arguments.length>1&&void0!==arguments[1]?arguments[1]:null,n=arguments[2],o=arguments.length>3&&void0!==arguments[3]?arguments[3]:{};returnnewf.NotyButton(t,e,n,o)}},{key:"version",value:function(){return"3.1.0"}},{key:"Push",value:function(t){returnnewh.Push(t)}}]),t}();e.default=p,c.visibilityChangeFlow(),t.exports=e.default},function(t,e){functionn(){thrownewError("setTimeout has not been defined")}functiono(){thrownewError("clearTimeout has not been defined")}functioni(t){if(l===setTimeout)returnsetTimeout(t,0);if((l===n||!l)&&setTimeout)returnl=setTimeout,setTimeout(t,0);try{returnl(t,0)}catch(e){try{returnl.call(null,t,0)}catch(e){returnl.call(this,t,0)}}}functionr(t){if(d===clearTimeout)returnclearTimeout(t);if((d===o||!d)&&clearTimeout)returnd=clearTimeout,clearTimeout(t);try{returnd(t)}catch(e){try{returnd.call(null,t)}catch(e){returnd.call(this,t)}}}functions(){m&&h&&(m=!1,h.length?p=h.concat(p):v=-1,p.length&&u())}functionu(){if(!m){vart=i(s);m=!0;for(vare=p.length;e;){for(h=p,p=[];++v<e;)h&&h[v].run();v=-1,e=p.length}h=null,m=!1,r(t)}}functiona(t,e){this.fun=t,this.array=e}functionc(){}varl,d,f=t.exports={};!function(){try{l="function"==typeofsetTimeout?setTimeout:n}catch(t){l=n}try{d="function"==typeofclearTimeout?clearTimeout:o}catch(t){d=o}}();varh,p=[],m=!1,v=-1;f.nextTick=function(t){vare=newArray(arguments.length-1);if(arguments.length>1)for(varn=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(newa(t,e)),1!==p.length||m||i(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=c,f.addListener=c,f.once=c,f.off=c,f.removeListener=c,f.removeAllListeners=c,f.emit=c,f.binding=function(t){thrownewError("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){thrownewError("process.chdir is not supported")},f.umask=function(){return0}},function(t,e){varn;n=function(){returnthis}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeofwindow&&(n=window)}t.exports=n},function(t,e){}])});Noty.overrideDefaults({layout:'topCenter',theme:'sunset',timeout:600});