Current Directory: /home/astoriaah/www/media/plg_shlib/dist/js/15865091899
Viewing File: /home/astoriaah/www/media/plg_shlib/dist/js/15865091899/spinner.min.js
/*! Copyright Weeblr llc 2020 - Licence: http://www.gnu.org/copyleft/gpl.html GNU/GPL */
!function(n,e,s,o){var r={};n.spinner=n.spinner||{},n.spinner.start=function(n,e){try{var s="#"+(n||"wbl-spinner");if(r[s]&&0<r[s].count)r[s].count+=1;else if(r[s]&&r[s].count<=0)r[s].element.fadeIn();else{var t=o(s);t.length?(t.addClass("wbl-spinner-css"),e&&e.class&&t.addClass(e.class),r[s]={element:t,count:1},r[s].element.fadeIn()):console.log("Shlib: requested to start a spinner for "+s+" but element not found")}}catch(n){console.log("wbLib: error starting svg spinner: "+n.message)}},n.spinner.stop=function(n,e){try{var s="#"+(n||"wbl-spinner");if(!r[s])return;e?r[s].count=0:r[s].count-=1,r[s]&&r[s].count<=0&&(r[s].count=0,r[s].element.fadeOut())}catch(n){console.log("wbLib: error stopping svg spinner: "+n.message)}}}(window.weeblrApp=window.weeblrApp||{},window,document,jQuery);