diff --git a/js.min.js b/js.min.js index a22d698..ffbb2c4 100644 --- a/js.min.js +++ b/js.min.js @@ -1 +1 @@ -(function(w,d){String.prototype.toCamelCase=function(){var c=/(?:-|\s)+([^-\s])/g;var d=(' '+this).replace(c,function(a,b){return b.toUpperCase()});return d.substr(0,1).toLowerCase()+d.substr(1)};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(a,b,c){var d=a.length;for(var i=(c?c:0),d;i-1)a=a.substr(0,p)+'.min'+a.substr(p)}}else{if(f&&a.indexOf('_t=')<0)a+=(a.indexOf('?')<0?'?':'&')+'_t='+v}}return a};var B=[{},{}];var C=[];var D=[];var E={};var F;var G={};var H=function(u){if(D.indexOf(u)>-1)I(u);else setTimeout(function(){H(u)},100)};var I=function(u){if(E[u])while(E[u].length)(E[u].shift())(u)};var J=function(u){if(typeof(u)=='undefined'||!u)return;var a=u.indexOf('//')<0&&u.substr(0,2)!='./';return($js.cdn&&a?$js.cdn:'')+(u.indexOf('/')!==0?($js.path&&a&&(!$js.pathDetection||u.indexOf($js.path)!=0)?($js.path+u):u)+($js.pathSuffix&&a&&(!$js.pathDetection||u.substr(u.length-$js.pathSuffix.length)!=$js.pathSuffix)?$js.pathSuffix:''):u)};var K=function(u){var s=d.createElement('script');d.type='text/javascript';d.body.appendChild(s);var b=function(){var a=$js.modulesStack.shift();if(a)$js.modules[u]=a;C.push(u);I(u);D.push(u)};var c=function(){if(F){F.src=u;F.callback=b;F=false}else{b()}};s.onload=c;s.onreadystatechange=function(){if(c&&this.readyState==='loaded'){c()}};s.setAttribute('async','async');s.src=A(u,$js.dev,$js.min,'js',$js.cdn)};var x=function(u,c){if(!u){if(typeof(c)=='function')c();return}u=J(u);if(!E[u]){E[u]=[];K(u)}if(typeof(c)=='function')E[u].push(c);if(D.indexOf(u)>-1)I(u);else if(C.indexOf(u)>-1)H(u)};var L=function(u){var a=[];for(var k in u){if(!u.hasOwnProperty(k))continue;if((/^-?[0-9]+$/).test(k)){if(typeof(u[k])=='string'){a.push(u[k])}else{for(var b in u[k]){if(!u[k].hasOwnProperty(b))continue;a.push(u[k][b])}}}else{a.push(k)}if(typeof(u[k])=='object'){for(var b in u[k]){if(!u[k].hasOwnProperty(b))continue;if(typeof(u[k][b])=='string'&&a.indexOf(u[k][b])===-1){a.push(u[k][b])}}}}return a};var M=function(u,a){var b={};for(var k in u){if(!u.hasOwnProperty(k))continue;var c=k;if((/^-?[0-9]+$/).test(k))c=u[k];if(typeof($js.dependenciesMap[c])=='object'){if(typeof(b[c])=='undefined'){b[c]=[]}for(var d in $js.dependenciesMap[c]){if(!$js.dependenciesMap[c].hasOwnProperty(d))continue;if(b[c].indexOf($js.dependenciesMap[c][d])===-1){b[c].push($js.dependenciesMap[c][d])}if(typeof(a)!='undefined'&&a.indexOf($js.dependenciesMap[c][d])===-1){a.push($js.dependenciesMap[c][d])}}}if(typeof(u[k])=='object'){if(typeof(b[k])=='undefined'){b[k]=[]}if(typeof($js.dependenciesMap[c])=='undefined'){$js.dependenciesMap[c]=[]}for(var d in u[k]){if(!u[k].hasOwnProperty(d))continue;if(typeof(u[k][d])=='string'){if(b[c].indexOf(u[k][d])===-1){b[c].push(u[k][d])}if($js.dependenciesMap[c].indexOf(u[k][d])===-1){$js.dependenciesMap[c].push(u[k][d])}}}}}return b};var N=function(u){var a={};for(var k in u){if(!u.hasOwnProperty(k))continue;if(typeof(u[k])=='object'){for(var b in u[k]){if(!u[k].hasOwnProperty(b))continue;if(typeof(u[k][b])=='function'){if(typeof(a[k])=='undefined'){a[k]=[]}a[k].push(u[k][b])}}}}return a};var O=function(a,b,c){if(typeof(a[b])!='undefined'){for(var k in a[b]){if(!a[b].hasOwnProperty(k))continue;O(a,a[b][k],c);if(c.indexOf(a[b][k])===-1)c.push(a[b][k])}}};var P=function(a){var b={};for(var k in a){if(!a.hasOwnProperty(k))continue;if(typeof(b[k])=='undefined'){b[k]=[]}O(a,k,b[k])}return b};var Q=function(a){var b={};for(var k in a){if(!a.hasOwnProperty(k))continue;for(var c in a[k]){if(!a[k].hasOwnProperty(c))continue;if(typeof(b[a[k][c]])=='undefined'){b[a[k][c]]=[]}b[a[k][c]].push(k)}}return b};var R=function(a){var b=[];var c=[];var d=[];while(!q(a)){var e=[];for(var i=0;i-1)f=true}if(!f){style=d.createElement('link');style.type='text/css';style.rel='stylesheet';if(b)style.media=b;style.href=A(a,$css.dev,$css.min,'css',$css.cdn);d.getElementsByTagName('head')[0].appendChild(style)}}};g.dev=false;g.path='css/';g.pathDetection=true;g.pathSuffix='.css';g.min=false;g.cdn=false;return g})();var bf=d.getElementsByTagName('base');if(bf.length){var bg=bf[0].getAttribute('data-cdn');if(typeof(bg)!='undefined'){$js.cdn=bg;$css.cdn=bg}}var bh=function(k,s){x(k,function(){for(var i=0;i-1)a=a.substr(0,p)+'.min'+a.substr(p)}}else{if(f&&a.indexOf('_t=')<0)a+=(a.indexOf('?')<0?'?':'&')+'_t='+v}}return a};var B=[{},{}];var C=[];var D=[];var E={};var F;var G={};var H=function(u){if(D.indexOf(u)>-1)I(u);else setTimeout(function(){H(u)},100)};var I=function(u){if(E[u])while(E[u].length)(E[u].shift())(u)};var J=function(u){if(typeof(u)=='undefined'||!u)return;var a=u.indexOf('//')<0&&u.substr(0,2)!='./';return($js.cdn&&a?$js.cdn:'')+(u.indexOf('/')!==0?($js.path&&a&&(!$js.pathDetection||u.indexOf($js.path)!=0)?($js.path+u):u)+($js.pathSuffix&&a&&(!$js.pathDetection||u.substr(u.length-$js.pathSuffix.length)!=$js.pathSuffix)?$js.pathSuffix:''):u)};var K=function(u){var s=d.createElement('script');d.type='text/javascript';d.body.appendChild(s);var b=function(){var a=$js.modulesStack.shift();if(a)$js.modules[u]=a;C.push(u);I(u);D.push(u)};var c=function(){if(F){F.src=u;F.callback=b;F=false}else{b()}};s.onload=c;s.onreadystatechange=function(){if(c&&this.readyState==='loaded'){c()}};s.setAttribute('async','async');s.src=A(u,$js.dev,$js.min,'js',$js.cdn)};var x=function(u,c){if(!u){if(typeof(c)=='function')c();return}u=J(u);if(!E[u]){E[u]=[];K(u)}if(typeof(c)=='function')E[u].push(c);if(D.indexOf(u)>-1)I(u);else if(C.indexOf(u)>-1)H(u)};var L=function(u){var a=[];for(var k in u){if(!u.hasOwnProperty(k))continue;if((/^-?[0-9]+$/).test(k)){if(typeof(u[k])=='string'){a.push(u[k])}else{for(var b in u[k]){if(!u[k].hasOwnProperty(b))continue;a.push(u[k][b])}}}else{a.push(k)}if(typeof(u[k])=='object'){for(var b in u[k]){if(!u[k].hasOwnProperty(b))continue;if(typeof(u[k][b])=='string'&&a.indexOf(u[k][b])===-1){a.push(u[k][b])}}}}return a};var M=function(u,a){var b={};for(var k in u){if(!u.hasOwnProperty(k))continue;var c=k;if((/^-?[0-9]+$/).test(k))c=u[k];if(typeof($js.dependenciesMap[c])=='object'){if(typeof(b[c])=='undefined'){b[c]=[]}for(var d in $js.dependenciesMap[c]){if(!$js.dependenciesMap[c].hasOwnProperty(d))continue;if(b[c].indexOf($js.dependenciesMap[c][d])===-1){b[c].push($js.dependenciesMap[c][d])}if(typeof(a)!='undefined'&&a.indexOf($js.dependenciesMap[c][d])===-1){a.push($js.dependenciesMap[c][d])}}}if(typeof(u[k])=='object'){if(typeof(b[k])=='undefined'){b[k]=[]}if(typeof($js.dependenciesMap[c])=='undefined'){$js.dependenciesMap[c]=[]}for(var d in u[k]){if(!u[k].hasOwnProperty(d))continue;if(typeof(u[k][d])=='string'){if(b[c].indexOf(u[k][d])===-1){b[c].push(u[k][d])}if($js.dependenciesMap[c].indexOf(u[k][d])===-1){$js.dependenciesMap[c].push(u[k][d])}}}}}return b};var N=function(u){var a={};for(var k in u){if(!u.hasOwnProperty(k))continue;if(typeof(u[k])=='object'){for(var b in u[k]){if(!u[k].hasOwnProperty(b))continue;if(typeof(u[k][b])=='function'){if(typeof(a[k])=='undefined'){a[k]=[]}a[k].push(u[k][b])}}}}return a};var O=function(a,b,c){if(typeof(a[b])!='undefined'){for(var k in a[b]){if(!a[b].hasOwnProperty(k))continue;O(a,a[b][k],c);if(c.indexOf(a[b][k])===-1)c.push(a[b][k])}}};var P=function(a){var b={};for(var k in a){if(!a.hasOwnProperty(k))continue;if(typeof(b[k])=='undefined'){b[k]=[]}O(a,k,b[k])}return b};var Q=function(a){var b={};for(var k in a){if(!a.hasOwnProperty(k))continue;for(var c in a[k]){if(!a[k].hasOwnProperty(c))continue;if(typeof(b[a[k][c]])=='undefined'){b[a[k][c]]=[]}b[a[k][c]].push(k)}}return b};var R=function(a){var b=[];var c=[];var d=[];while(!q(a)){var e=[];for(var i=0,l=d.length;i-1)f=true}if(!f){style=d.createElement('link');style.type='text/css';style.rel='stylesheet';if(b)style.media=b;style.href=A(a,$css.dev,$css.min,'css',$css.cdn);d.getElementsByTagName('head')[0].appendChild(style)}}};g.dev=false;g.path='css/';g.pathDetection=true;g.pathSuffix='.css';g.min=false;g.cdn=false;return g})();var bf=d.getElementsByTagName('base');if(bf.length){var bg=bf[0].getAttribute('data-cdn');if(typeof(bg)!='undefined'){$js.cdn=bg;$css.cdn=bg}}var bh=function(k,s){x(k,function(){for(var i=0,l=s.length;i