Telegram Web, preconfigured for usage in I2P. http://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
11 KiB

/*
AngularJS v1.3.0-beta.16
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(J,e,P){'use strict';e.module("ngAnimate",["ng"]).directive("ngAnimateChildren",function(){return function(K,v,f){f=f.ngAnimateChildren;e.isString(f)&&0===f.length?v.data("$$ngAnimateChildren",!0):K.$watch(f,function(e){v.data("$$ngAnimateChildren",!!e)})}}).factory("$$animateReflow",["$$rAF","$document",function(e,v){return function(f){return e(function(){f()})}}]).config(["$provide","$animateProvider",function(K,v){function f(e){for(var f=0;f<e.length;f++){var m=e[f];if(m.nodeType==Z)return m}}
function H(m){return e.element(f(m))}var B=e.noop,m=e.forEach,R=v.$$selectors,Z=1,n="$$ngAnimateState",T="$$ngAnimateChildren",N="ng-animate",t={running:!0};K.decorator("$animate",["$delegate","$injector","$sniffer","$rootElement","$$asyncCallback","$rootScope","$document",function(x,J,Y,S,G,U,P){function L(a){var b=a.data(n)||{};b.running=!0;a.data(n,b)}function I(a){var b;U.$$postDigest(function(){b=a()});return function(){b&&b()}}function K(a){if(a){var b=[],c={};a=a.substr(1).split(".");(Y.transitions||
Y.animations)&&b.push(J.get(R[""]));for(var g=0;g<a.length;g++){var e=a[g],f=R[e];f&&!c[e]&&(b.push(J.get(f)),c[e]=!0)}return b}}function W(a,b,c){function g(a,b){var c=a[b],k=a["before"+b.charAt(0).toUpperCase()+b.substr(1)];if(c||k)return"leave"==b&&(k=c,c=null),q.push({event:b,fn:c}),s.push({event:b,fn:k}),!0}function f(b,e,g){var k=[];m(b,function(a){a.fn&&k.push(a)});var d=0;m(k,function(b,ba){var f=function(){a:{if(e){(e[ba]||B)();if(++d<k.length)break a;e=null}g()}};switch(b.event){case "setClass":e.push(b.fn(a,
y,u,f));break;case "addClass":e.push(b.fn(a,y||c,f));break;case "removeClass":e.push(b.fn(a,u||c,f));break;default:e.push(b.fn(a,f))}});e&&0===e.length&&g()}var n=a[0];if(n){var E="setClass"==b,w=E||"addClass"==b||"removeClass"==b,y,u;e.isArray(c)&&(y=c[0],u=c[1],c=y+" "+u);var h=a.attr("class")+" "+c;if(l(h)){var F=B,D=[],s=[],p=B,r=[],q=[],h=(" "+h).replace(/\s+/g,".");m(K(h),function(a){!g(a,b)&&E&&(g(a,"addClass"),g(a,"removeClass"))});return{node:n,event:b,className:c,isClassBased:w,isSetClassOperation:E,
before:function(a){F=a;f(s,D,function(){F=B;a()})},after:function(a){p=a;f(q,r,function(){p=B;a()})},cancel:function(){D&&(m(D,function(a){(a||B)(!0)}),F(!0));r&&(m(r,function(a){(a||B)(!0)}),p(!0))}}}}}function A(a,b,c,g,f,h,E){function l(d){var k="$animate:"+d;r&&(r[k]&&0<r[k].length)&&G(function(){c.triggerHandler(k,{event:a,className:b})})}function y(){l("before")}function u(){l("after")}function t(){l("close");E&&G(function(){E()})}function F(){F.hasBeenRun||(F.hasBeenRun=!0,h())}function D(){if(!D.hasBeenRun){D.hasBeenRun=
!0;var k=c.data(n);k&&(p&&p.isClassBased?w(c,b):(G(function(){var k=c.data(n)||{};d==k.index&&w(c,b,a)}),c.data(n,k)));t()}}var s=B,p=W(c,a,b);if(!p)return F(),y(),u(),D(),s;b=p.className;var r=e.element._data(p.node),r=r&&r.events;g||(g=f?f.parent():c.parent());f=c.data(n)||{};var q=f.active||{},z=f.totalActive||0,A=f.last,x;p.isClassBased&&(x=f.running||f.disabled||A&&!A.isClassBased);if(x||Q(c,g))return F(),y(),u(),D(),s;g=!1;if(0<z){z=[];if(p.isClassBased)"setClass"==A.event?(z.push(A),w(c,b)):
q[b]&&(k=q[b],k.event==a?g=!0:(z.push(k),w(c,b)));else if("leave"==a&&q["ng-leave"])g=!0;else{for(var k in q)z.push(q[k]);f={};w(c,!0)}0<z.length&&m(z,function(a){a.cancel()})}q=f.active||{};z=f.totalActive||0;!p.isClassBased||(p.isSetClassOperation||g)||(g="addClass"==a==c.hasClass(b));if(g)return F(),y(),u(),t(),s;if("leave"==a)c.one("$destroy",function(a){a=e.element(this);var d=a.data(n);d&&(d=d.active["ng-leave"])&&(d.cancel(),w(a,"ng-leave"))});c.addClass(N);var d=O++;z++;q[b]=p;c.data(n,{last:p,
active:q,index:d,totalActive:z});y();p.before(function(d){var k=c.data(n);d=d||!k||!k.active[b]||p.isClassBased&&k.active[b].event!=a;F();!0===d?D():(u(),p.after(D))});return p.cancel}function M(a){if(a=f(a))a=e.isFunction(a.getElementsByClassName)?a.getElementsByClassName(N):a.querySelectorAll("."+N),m(a,function(a){a=e.element(a);(a=a.data(n))&&a.active&&m(a.active,function(a){a.cancel()})})}function w(a,b){if(f(a)==f(S))t.disabled||(t.running=!1,t.structural=!1);else if(b){var c=a.data(n)||{},
e=!0===b;!e&&(c.active&&c.active[b])&&(c.totalActive--,delete c.active[b]);if(e||!c.totalActive)a.removeClass(N),a.removeData(n)}}function Q(a,b){if(t.disabled)return!0;if(f(a)==f(S))return t.running;var c,g,m;do{if(0===b.length)break;var h=f(b)==f(S),l=h?t:b.data(n)||{};if(l.disabled)return!0;h&&(m=!0);!1!==c&&(h=b.data(T),e.isDefined(h)&&(c=h));g=g||l.running||l.last&&!l.last.isClassBased}while(b=b.parent());return!m||!c&&g}var O=0;S.data(n,t);U.$$postDigest(function(){U.$$postDigest(function(){t.running=
!1})});var h=v.classNameFilter(),l=h?function(a){return h.test(a)}:function(){return!0};return{enter:function(a,b,c,f){a=e.element(a);b=b&&e.element(b);c=c&&e.element(c);L(a);x.enter(a,b,c);return I(function(){return A("enter","ng-enter",H(a),b,c,B,f)})},leave:function(a,b){a=e.element(a);M(a);L(a);this.enabled(!1,a);return I(function(){return A("leave","ng-leave",H(a),null,null,function(){x.leave(a)},b)})},move:function(a,b,c,f){a=e.element(a);b=b&&e.element(b);c=c&&e.element(c);M(a);L(a);x.move(a,
b,c);return I(function(){return A("move","ng-move",H(a),b,c,B,f)})},addClass:function(a,b,c){a=e.element(a);a=H(a);return A("addClass",b,a,null,null,function(){x.addClass(a,b)},c)},removeClass:function(a,b,c){a=e.element(a);a=H(a);return A("removeClass",b,a,null,null,function(){x.removeClass(a,b)},c)},setClass:function(a,b,c,f){a=e.element(a);a=H(a);return A("setClass",[b,c],a,null,null,function(){x.setClass(a,b,c)},f)},enabled:function(a,b){switch(arguments.length){case 2:if(a)w(b);else{var c=b.data(n)||
{};c.disabled=!0;b.data(n,c)}break;case 1:t.disabled=!a;break;default:a=!t.disabled}return!!a}}}]);v.register("",["$window","$sniffer","$timeout","$$animateReflow",function(n,t,v,H){function G(a,d){q&&q();r.push(d);q=H(function(){m(r,function(a){a()});r=[];q=null;s={}})}function K(a,d){var b=f(a);a=e.element(b);X.push(a);b=Date.now()+d;b<=aa||(v.cancel(z),aa=b,z=v(function(){N(X);X=[]},d,!1))}function N(a){m(a,function(a){(a=a.data(u))&&m(a.closeAnimationFns,function(a){a()})})}function L(b,d){var C=
d?s[d]:null;if(!C){var f=0,e=0,g=0,h=0,p,l,u,q;m(b,function(d){if(d.nodeType==Z){d=n.getComputedStyle(d)||{};u=d[a+$];f=Math.max(I(u),f);q=d[a+V];p=d[a+E];e=Math.max(I(p),e);l=d[c+E];h=Math.max(I(l),h);var b=I(d[c+$]);0<b&&(b*=parseInt(d[c+T],10)||1);g=Math.max(b,g)}});C={total:0,transitionPropertyStyle:q,transitionDurationStyle:u,transitionDelayStyle:p,transitionDelay:e,transitionDuration:f,animationDelayStyle:l,animationDelay:h,animationDuration:g};d&&(s[d]=C)}return C}function I(a){var d=0;a=e.isString(a)?
a.split(/\s*,\s*/):[];m(a,function(a){d=Math.max(parseFloat(a)||0,d)});return d}function R(b,d,C){b=0<=["ng-enter","ng-leave","ng-move"].indexOf(C);var e,g=d.parent(),h=g.data(y);h||(g.data(y,++p),h=p);e=h+"-"+f(d).getAttribute("class");var g=e+" "+C,h=s[g]?++s[g].total:0,l={};if(0<h){var m=C+"-stagger",l=e+" "+m;(e=!s[l])&&d.addClass(m);l=L(d,l);e&&d.removeClass(m)}d.addClass(C);var m=d.data(u)||{},n=L(d,g);e=n.transitionDuration;n=n.animationDuration;if(b&&0===e&&0===n)return d.removeClass(C),!1;
C=b&&0<e;b=0<n&&0<l.animationDelay&&0===l.animationDuration;d.data(u,{stagger:l,cacheKey:g,running:m.running||0,itemIndex:h,blockTransition:C,blockAnimation:b,closeAnimationFns:m.closeAnimationFns||[]});d=f(d);C&&(d.style[a+V]="none");b&&(d.style[c]="none 0s");return!0}function W(k,d,e,h){function n(a){d.off(G,p);d.removeClass(t);O(d,e);a=f(d);for(var b in x)a.style.removeProperty(x[b])}function p(a){a.stopPropagation();var d=a.originalEvent||a;a=d.$manualTimeStamp||d.timeStamp||Date.now();d=parseFloat(d.elapsedTime.toFixed(ca));
Math.max(a-H,0)>=B&&d>=w&&h()}var q=f(d);k=d.data(u);if(-1!=q.getAttribute("class").indexOf(e)&&k){k.blockTransition&&(q.style[a+V]="");k.blockAnimation&&(q.style[c]="");var t="";m(e.split(" "),function(a,d){t+=(0<d?" ":"")+a+"-active"});d.addClass(t);var r=L(d,k.cacheKey+" "+t),w=Math.max(r.transitionDuration,r.animationDuration);if(0===w)d.removeClass(t),O(d,e),h();else{var z=Math.max(r.transitionDelay,r.animationDelay),s=k.stagger,y=k.itemIndex,B=z*D,v="",x=[];if(0<r.transitionDuration){var E=
r.transitionPropertyStyle;-1==E.indexOf("all")&&(v+=l+"transition-property: "+E+";",v+=l+"transition-duration: "+r.transitionDurationStyle+";",x.push(l+"transition-property"),x.push(l+"transition-duration"))}0<y&&(0<s.transitionDelay&&0===s.transitionDuration&&(v+=l+"transition-delay: "+A(r.transitionDelayStyle,s.transitionDelay,y)+"; ",x.push(l+"transition-delay")),0<s.animationDelay&&0===s.animationDuration&&(v+=l+"animation-delay: "+A(r.animationDelayStyle,s.animationDelay,y)+"; ",x.push(l+"animation-delay")));
0<x.length&&(r=q.getAttribute("style")||"",q.setAttribute("style",r+"; "+v));var H=Date.now(),G=g+" "+b;d.on(G,p);k.closeAnimationFns.push(function(){n();h()});q=(y*(Math.max(s.animationDelay,s.transitionDelay)||0)+(z+w)*F)*D;k.running++;K(d,q);return n}}else h()}function A(a,d,b){var c="";m(a.split(","),function(a,k){c+=(0<k?",":"")+(b*d+parseInt(a,10))+"s"});return c}function M(a,d,b,c){if(R(a,d,b,c))return function(a){a&&O(d,b)}}function w(a,d,b,c){if(d.data(u))return W(a,d,b,c);O(d,b);c()}function Q(a,
d,b,c){var e=M(a,d,b);if(e){var f=e;G(d,function(){f=w(a,d,b,c)});return function(a){(f||B)(a)}}c()}function O(a,b){a.removeClass(b);var c=a.data(u);c&&(c.running&&c.running--,c.running&&0!==c.running||a.removeData(u))}function h(a,b){var c="";a=e.isArray(a)?a:a.split(/\s+/);m(a,function(a,e){a&&0<a.length&&(c+=(0<e?" ":"")+a+b)});return c}var l="",a,b,c,g;J.ontransitionend===P&&J.onwebkittransitionend!==P?(l="-webkit-",a="WebkitTransition",b="webkitTransitionEnd transitionend"):(a="transition",b=
"transitionend");J.onanimationend===P&&J.onwebkitanimationend!==P?(l="-webkit-",c="WebkitAnimation",g="webkitAnimationEnd animationend"):(c="animation",g="animationend");var $="Duration",V="Property",E="Delay",T="IterationCount",y="$$ngAnimateKey",u="$$ngAnimateCSS3Data",ca=3,F=1.5,D=1E3,s={},p=0,r=[],q,z=null,aa=0,X=[];return{enter:function(a,b){return Q("enter",a,"ng-enter",b)},leave:function(a,b){return Q("leave",a,"ng-leave",b)},move:function(a,b){return Q("move",a,"ng-move",b)},beforeSetClass:function(a,
b,c,e){b=h(c,"-remove")+" "+h(b,"-add");if(b=M("setClass",a,b))return G(a,e),b;e()},beforeAddClass:function(a,b,c){if(b=M("addClass",a,h(b,"-add")))return G(a,c),b;c()},beforeRemoveClass:function(a,b,c){if(b=M("removeClass",a,h(b,"-remove")))return G(a,c),b;c()},setClass:function(a,b,c,e){c=h(c,"-remove");b=h(b,"-add");return w("setClass",a,c+" "+b,e)},addClass:function(a,b,c){return w("addClass",a,h(b,"-add"),c)},removeClass:function(a,b,c){return w("removeClass",a,h(b,"-remove"),c)}}}])}])})(window,
window.angular);
//# sourceMappingURL=angular-animate.min.js.map