/* Notiflix Loading AIO (https://notiflix.github.io) - Version: 3.2.8 - Author: Furkan (https://github.com/furcan) - Copyright 2019 - 2025 Notiflix, MIT License (https://opensource.org/licenses/MIT) */
(function(a,b){"function"==typeof define&&define.amd?define([],function(){return b(a)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=b(a):a.Notiflix=b(a)})("undefined"==typeof global?"undefined"==typeof window?this:window:global,function(a){'use strict';if("undefined"==typeof a&&"undefined"==typeof a.document)return!1;var b,c={Standard:"Standard",Hourglass:"Hourglass",Circle:"Circle",Arrows:"Arrows",Dots:"Dots",Pulse:"Pulse",Custom:"Custom",Notiflix:"Notiflix"},d={ID:"NotiflixLoadingWrap",className:"notiflix-loading",zindex:4e3,backgroundColor:"rgba(0,0,0,0.8)",rtl:!1,fontFamily:"Quicksand",cssAnimation:!0,cssAnimationDuration:400,clickToClose:!1,customSvgUrl:null,customSvgCode:null,svgSize:"80px",svgColor:"#32c682",messageID:"NotiflixLoadingMessage",messageFontSize:"15px",messageMaxLength:34,messageColor:"#dcdcdc"},e=function(a){return console.error("%c Notiflix Error ","padding:2px;border-radius:20px;color:#fff;background:#ff5549","\n"+a+"\n\nVisit documentation page to learn more: https://notiflix.github.io/documentation")},f=function(b){return b||(b="head"),void 0!==a.document[b]||(e("\nNotiflix needs to be appended to the \"<"+b+">\" element, but you called it before the \"<"+b+">\" element has been created."),!1)},g=function(b,c){if(!f("head"))return!1;if(null!==b()&&!a.document.getElementById(c)){var d=a.document.createElement("style");d.id=c,d.innerHTML=b(),a.document.head.appendChild(d)}},h=function(){var a={},b=!1,c=0;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(b=arguments[0],c++);for(var d=function(c){for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=b&&"[object Object]"===Object.prototype.toString.call(c[d])?h(a[d],c[d]):c[d])};c";return c},k=function(a,b){a||(a="60px"),b||(b="#32c682");var c="";return c},l=function(a,b){a||(a="60px"),b||(b="#32c682");var c="";return c},m=function(a,b){a||(a="60px"),b||(b="#32c682");var c="";return c},n=function(a,b){a||(a="60px"),b||(b="#32c682");var c="";return c},o=function(a,b){a||(a="60px"),b||(b="#32c682");var c="";return c},p=function(a,b,c){a||(a="60px"),b||(b="#f8f8f8"),c||(c="#32c682");var d="";return d},q=function(){return"[id^=NotiflixLoadingWrap]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:fixed;z-index:4000;width:100%;height:100%;left:0;top:0;right:0;bottom:0;margin:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;background:rgba(0,0,0,.8);font-family:\"Quicksand\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif}[id^=NotiflixLoadingWrap] *{-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixLoadingWrap].nx-loading-click-to-close{cursor:pointer}[id^=NotiflixLoadingWrap]>div[class*=\"-icon\"]{width:60px;height:60px;position:relative;-webkit-transition:top .2s ease-in-out;-o-transition:top .2s ease-in-out;transition:top .2s ease-in-out;margin:0 auto}[id^=NotiflixLoadingWrap]>div[class*=\"-icon\"] img,[id^=NotiflixLoadingWrap]>div[class*=\"-icon\"] svg{max-width:unset;max-height:unset;width:100%;height:auto;position:absolute;left:0;top:0}[id^=NotiflixLoadingWrap]>p{position:relative;margin:10px auto 0;font-family:inherit!important;font-weight:normal;font-size:15px;line-height:1.4;padding:0 10px;width:100%;text-align:center}[id^=NotiflixLoadingWrap].nx-with-animation{-webkit-animation:loading-animation-fade .3s ease-in-out 0s normal;animation:loading-animation-fade .3s ease-in-out 0s normal}@-webkit-keyframes loading-animation-fade{0%{opacity:0}100%{opacity:1}}@keyframes loading-animation-fade{0%{opacity:0}100%{opacity:1}}[id^=NotiflixLoadingWrap].nx-with-animation.nx-remove{opacity:0;-webkit-animation:loading-animation-fade-remove .3s ease-in-out 0s normal;animation:loading-animation-fade-remove .3s ease-in-out 0s normal}@-webkit-keyframes loading-animation-fade-remove{0%{opacity:1}100%{opacity:0}}@keyframes loading-animation-fade-remove{0%{opacity:1}100%{opacity:0}}[id^=NotiflixLoadingWrap]>p.nx-loading-message-new{-webkit-animation:loading-new-message-fade .3s ease-in-out 0s normal;animation:loading-new-message-fade .3s ease-in-out 0s normal}@-webkit-keyframes loading-new-message-fade{0%{opacity:0}100%{opacity:1}}@keyframes loading-new-message-fade{0%{opacity:0}100%{opacity:1}}"},r=function(g,q,r,s,u){if(!f("body"))return!1;b||t.Loading.init({});var v=h(!0,b,{});if("object"==typeof q&&!Array.isArray(q)||"object"==typeof r&&!Array.isArray(r)){var w={};"object"==typeof q?w=q:"object"==typeof r&&(w=r),b=h(!0,b,w)}var x="";if("string"==typeof q&&0b.messageMaxLength?i(x).toString().substring(0,b.messageMaxLength)+"...":i(x).toString();var y="";0"+x+"
"),b.cssAnimation||(b.cssAnimationDuration=0);var z="";if(g===c.Standard)z=j(b.svgSize,b.svgColor);else if(g===c.Hourglass)z=k(b.svgSize,b.svgColor);else if(g===c.Circle)z=l(b.svgSize,b.svgColor);else if(g===c.Arrows)z=m(b.svgSize,b.svgColor);else if(g===c.Dots)z=n(b.svgSize,b.svgColor);else if(g===c.Pulse)z=o(b.svgSize,b.svgColor);else if(g===c.Custom&&null!==b.customSvgCode&&null===b.customSvgUrl)z=b.customSvgCode||"";else if(g===c.Custom&&null!==b.customSvgUrl&&null===b.customSvgCode)z="";else{if(g===c.Custom&&(null===b.customSvgUrl||null===b.customSvgCode))return e("You have to set a static SVG url to \"customSvgUrl\" option to use Loading Custom."),!1;z=p(b.svgSize,"#f8f8f8","#32c682")}var A=parseInt((b.svgSize||"").replace(/[^0-9]/g,"")),B=a.innerWidth,C=A>=B?B-40+"px":A+"px",D="
"+z+"
",E=a.document.createElement("div");if(E.id=d.ID,E.className=b.className+(b.cssAnimation?" nx-with-animation":"")+(b.clickToClose?" nx-loading-click-to-close":""),E.style.zIndex=b.zindex,E.style.background=b.backgroundColor,E.style.animationDuration=b.cssAnimationDuration+"ms",E.style.fontFamily="\""+b.fontFamily+"\", "+"-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif",E.style.display="flex",E.style.flexWrap="wrap",E.style.flexDirection="column",E.style.alignItems="center",E.style.justifyContent="center",b.rtl&&(E.setAttribute("dir","rtl"),E.classList.add("nx-rtl-on")),E.innerHTML=D+y,!a.document.getElementById(E.id)&&(a.document.body.appendChild(E),b.clickToClose)){var F=a.document.getElementById(E.id);F.addEventListener("click",function(){E.classList.add("nx-remove");var a=setTimeout(function(){null!==E.parentNode&&(E.parentNode.removeChild(E),clearTimeout(a))},b.cssAnimationDuration)})}}else if(a.document.getElementById(d.ID))var G=a.document.getElementById(d.ID),H=setTimeout(function(){G.classList.add("nx-remove");var a=setTimeout(function(){null!==G.parentNode&&(G.parentNode.removeChild(G),clearTimeout(a))},b.cssAnimationDuration);clearTimeout(H)},u);b=h(!0,b,v)},s=function(c){"string"!=typeof c&&(c="");var f=a.document.getElementById(d.ID);if(f)if(0b.messageMaxLength?i(c).substring(0,b.messageMaxLength)+"...":i(c);var g=f.getElementsByTagName("p")[0];if(g)g.innerHTML=c;else{var h=a.document.createElement("p");h.id=b.messageID,h.className="nx-loading-message nx-loading-message-new",h.style.color=b.messageColor,h.style.fontSize=b.messageFontSize,h.innerHTML=c,f.appendChild(h)}}else e("Where is the new message?")},t={Loading:{init:function(a){b=h(!0,d,a),g(q,"NotiflixLoadingInternalCSS")},merge:function(a){return b?void(b=h(!0,b,a)):(e("You have to initialize the Loading module before call Merge function."),!1)},standard:function(a,b){r(c.Standard,a,b,!0,0)},hourglass:function(a,b){r(c.Hourglass,a,b,!0,0)},circle:function(a,b){r(c.Circle,a,b,!0,0)},arrows:function(a,b){r(c.Arrows,a,b,!0,0)},dots:function(a,b){r(c.Dots,a,b,!0,0)},pulse:function(a,b){r(c.Pulse,a,b,!0,0)},custom:function(a,b){r(c.Custom,a,b,!0,0)},notiflix:function(a,b){r(c.Notiflix,a,b,!0,0)},remove:function(a){"number"!=typeof a&&(a=0),r(null,null,null,!1,a)},change:function(a){s(a)}}};return"object"==typeof a.Notiflix?h(!0,a.Notiflix,{Loading:t.Loading}):{Loading:t.Loading}});