iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From noteb...@apache.org
Subject [02/21] incubator-iota-site git commit: Website Upload
Date Wed, 11 May 2016 11:34:26 GMT
http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/pointer-events.min.js
----------------------------------------------------------------------
diff --git a/js/pointer-events.min.js b/js/pointer-events.min.js
new file mode 100644
index 0000000..36eb1d5
--- /dev/null
+++ b/js/pointer-events.min.js
@@ -0,0 +1,7 @@
+/**
+ * @module       Pointer Events Polyfill
+ * @description  Adds support for the style attribute "pointer-events: none" to browsers without this feature (namely, IE).
+ * @author       Kent Mewhort
+ * @license      BSD Lisence
+ */
+function PointerEventsPolyfill(t){if(this.options={selector:"*",mouseEvents:["click","dblclick","mousedown","mouseup"],usePolyfillIf:function(){if("Microsoft Internet Explorer"==navigator.appName){var t=navigator.userAgent;if(null!=t.match(/MSIE ([0-9]{1,}[\.0-9]{0,})/)){var e=parseFloat(RegExp.$1);if(11>e)return!0}}return!1}},t){var e=this;$.each(t,function(t,n){e.options[t]=n})}this.options.usePolyfillIf()&&this.register_mouse_events()}PointerEventsPolyfill.initialize=function(t){return null==PointerEventsPolyfill.singleton&&(PointerEventsPolyfill.singleton=new PointerEventsPolyfill(t)),PointerEventsPolyfill.singleton},PointerEventsPolyfill.prototype.register_mouse_events=function(){$(document).on(this.options.mouseEvents.join(" "),this.options.selector,function(t){if("none"==$(this).css("pointer-events")){var e=$(this).css("display");$(this).css("display","none");var n=document.elementFromPoint(t.clientX,t.clientY);return e?$(this).css("display",e):$(this).css("display",""),t.tar
 get=n,$(n).trigger(t),!1}return!0})},jQuery(document).ready(function(){PointerEventsPolyfill.initialize({})});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/progressbar.min.js
----------------------------------------------------------------------
diff --git a/js/progressbar.min.js b/js/progressbar.min.js
new file mode 100644
index 0000000..3018f7e
--- /dev/null
+++ b/js/progressbar.min.js
@@ -0,0 +1,7 @@
+/**
+ * @module       ProgressBar.js
+ * @see          https://kimmobrunfeldt.github.io/progressbar.js
+ * @license:     MIT License
+ * @version      0.9.0
+ */
+!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.ProgressBar=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(b,c,d){(function(){var b=this,e=function(){"use strict";function e(){}function f(a,b){var c;for(c in a)Object.hasOwnProperty.call(a,c)&&b(c)}function g(a,b){return f(b,function(c){a[c]=b[c]}),a}function h(a,b){f(b,function(c){"undefined"==t
 ypeof a[c]&&(a[c]=b[c])})}function i(a,b,c,d,e,f,g){var h,i,k,l=f>a?0:(a-f)/e;for(h in b)b.hasOwnProperty(h)&&(i=g[h],k="function"==typeof i?i:o[i],b[h]=j(c[h],d[h],k,l));return b}function j(a,b,c,d){return a+(b-a)*c(d)}function k(a,b){var c=n.prototype.filter,d=a._filterArgs;f(c,function(e){"undefined"!=typeof c[e][b]&&c[e][b].apply(a,d)})}function l(a,b,c,d,e,f,g,h,j,l,m){v=b+c+d,w=Math.min(m||u(),v),x=w>=v,y=d-(v-w),a.isPlaying()&&!x?(a._scheduleId=l(a._timeoutHandler,s),k(a,"beforeTween"),b+c>w?i(1,e,f,g,1,1,h):i(w,e,f,g,d,b+c,h),k(a,"afterTween"),j(e,a._attachment,y)):a.isPlaying()&&x&&(j(g,a._attachment,y),a.stop(!0))}function m(a,b){var c={},d=typeof b;return"string"===d||"function"===d?f(a,function(a){c[a]=b}):f(a,function(a){c[a]||(c[a]=b[a]||q)}),c}function n(a,b){this._currentState=a||{},this._configured=!1,this._scheduleFunction=p,"undefined"!=typeof b&&this.setConfig(b)}var o,p,q="linear",r=500,s=1e3/60,t=Date.now?Date.now:function(){return+new Date},u="undefined"!=type
 of SHIFTY_DEBUG_NOW?SHIFTY_DEBUG_NOW:t;p="undefined"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||window.mozCancelRequestAnimationFrame&&window.mozRequestAnimationFrame||setTimeout:setTimeout;var v,w,x,y;return n.prototype.tween=function(a){return this._isTweening?this:(void 0===a&&this._configured||this.setConfig(a),this._timestamp=u(),this._start(this.get(),this._attachment),this.resume())},n.prototype.setConfig=function(a){a=a||{},this._configured=!0,this._attachment=a.attachment,this._pausedAtTime=null,this._scheduleId=null,this._delay=a.delay||0,this._start=a.start||e,this._step=a.step||e,this._finish=a.finish||e,this._duration=a.duration||r,this._currentState=g({},a.from)||this.get(),this._originalState=this.get(),this._targetState=g({},a.to)||this.get();var b=this;this._timeoutHandler=function(){l(b,b._timestamp,b._delay,b._duration,b._currentState,b._originalState,b._targetStat
 e,b._easing,b._step,b._scheduleFunction)};var c=this._currentState,d=this._targetState;return h(d,c),this._easing=m(c,a.easing||q),this._filterArgs=[c,this._originalState,d,this._easing],k(this,"tweenCreated"),this},n.prototype.get=function(){return g({},this._currentState)},n.prototype.set=function(a){this._currentState=a},n.prototype.pause=function(){return this._pausedAtTime=u(),this._isPaused=!0,this},n.prototype.resume=function(){return this._isPaused&&(this._timestamp+=u()-this._pausedAtTime),this._isPaused=!1,this._isTweening=!0,this._timeoutHandler(),this},n.prototype.seek=function(a){a=Math.max(a,0);var b=u();return this._timestamp+a===0?this:(this._timestamp=b-a,this.isPlaying()||(this._isTweening=!0,this._isPaused=!1,l(this,this._timestamp,this._delay,this._duration,this._currentState,this._originalState,this._targetState,this._easing,this._step,this._scheduleFunction,b),this.pause()),this)},n.prototype.stop=function(a){return this._isTweening=!1,this._isPaused=!1,this._t
 imeoutHandler=e,(b.cancelAnimationFrame||b.webkitCancelAnimationFrame||b.oCancelAnimationFrame||b.msCancelAnimationFrame||b.mozCancelRequestAnimationFrame||b.clearTimeout)(this._scheduleId),a&&(k(this,"beforeTween"),i(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),k(this,"afterTween"),k(this,"afterTweenEnd"),this._finish.call(this,this._currentState,this._attachment)),this},n.prototype.isPlaying=function(){return this._isTweening&&!this._isPaused},n.prototype.setScheduleFunction=function(a){this._scheduleFunction=a},n.prototype.dispose=function(){var a;for(a in this)this.hasOwnProperty(a)&&delete this[a]},n.prototype.filter={},n.prototype.formula={linear:function(a){return a}},o=n.prototype.formula,g(n,{now:u,each:f,tweenProps:i,tweenProp:j,applyFilter:k,shallowCopy:g,defaults:h,composeEasingObject:m}),"function"==typeof SHIFTY_DEBUG_NOW&&(b.timeoutHandler=l),"object"==typeof d?c.exports=n:"function"==typeof a&&a.amd?a(function(){return n}):"undefined"=
 =typeof b.Tweenable&&(b.Tweenable=n),n}();!function(){e.shallowCopy(e.prototype.formula,{easeInQuad:function(a){return Math.pow(a,2)},easeOutQuad:function(a){return-(Math.pow(a-1,2)-1)},easeInOutQuad:function(a){return(a/=.5)<1?.5*Math.pow(a,2):-.5*((a-=2)*a-2)},easeInCubic:function(a){return Math.pow(a,3)},easeOutCubic:function(a){return Math.pow(a-1,3)+1},easeInOutCubic:function(a){return(a/=.5)<1?.5*Math.pow(a,3):.5*(Math.pow(a-2,3)+2)},easeInQuart:function(a){return Math.pow(a,4)},easeOutQuart:function(a){return-(Math.pow(a-1,4)-1)},easeInOutQuart:function(a){return(a/=.5)<1?.5*Math.pow(a,4):-.5*((a-=2)*Math.pow(a,3)-2)},easeInQuint:function(a){return Math.pow(a,5)},easeOutQuint:function(a){return Math.pow(a-1,5)+1},easeInOutQuint:function(a){return(a/=.5)<1?.5*Math.pow(a,5):.5*(Math.pow(a-2,5)+2)},easeInSine:function(a){return-Math.cos(a*(Math.PI/2))+1},easeOutSine:function(a){return Math.sin(a*(Math.PI/2))},easeInOutSine:function(a){return-.5*(Math.cos(Math.PI*a)-1)},easeInExp
 o:function(a){return 0===a?0:Math.pow(2,10*(a-1))},easeOutExpo:function(a){return 1===a?1:-Math.pow(2,-10*a)+1},easeInOutExpo:function(a){return 0===a?0:1===a?1:(a/=.5)<1?.5*Math.pow(2,10*(a-1)):.5*(-Math.pow(2,-10*--a)+2)},easeInCirc:function(a){return-(Math.sqrt(1-a*a)-1)},easeOutCirc:function(a){return Math.sqrt(1-Math.pow(a-1,2))},easeInOutCirc:function(a){return(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)},easeOutBounce:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},easeInBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},easeOutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},easeInOutBack:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},elastic:function(a){return-1*Math.pow(4,-8*a)*Math.sin((6*a-1)*(2*Math.PI)/2)+1},swingFromTo:function(a){var b=1.70158;return(a/=.5)<1?.5*(a*a*(((
 b*=1.525)+1)*a-b)):.5*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},swingFrom:function(a){var b=1.70158;return a*a*((b+1)*a-b)},swingTo:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},bounce:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},bouncePast:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?2-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?2-(7.5625*(a-=2.25/2.75)*a+.9375):2-(7.5625*(a-=2.625/2.75)*a+.984375)},easeFromTo:function(a){return(a/=.5)<1?.5*Math.pow(a,4):-.5*((a-=2)*Math.pow(a,3)-2)},easeFrom:function(a){return Math.pow(a,4)},easeTo:function(a){return Math.pow(a,.25)}})}(),function(){function a(a,b,c,d,e,f){function g(a){return((n*a+o)*a+p)*a}function h(a){return((q*a+r)*a+s)*a}function i(a){return(3*n*a+2*o)*a+p}function j(a){return 1/(200*a)}function k(a,b){return h(m(a,b))}function l(a){return a>=0?a:0-a}function m(a,b){var c,d,e,f,h,j;for(e=a,j=0;8>j;j++){if(f=g(e)-a,l(f)<
 b)return e;if(h=i(e),l(h)<1e-6)break;e-=f/h}if(c=0,d=1,e=a,c>e)return c;if(e>d)return d;for(;d>c;){if(f=g(e),l(f-a)<b)return e;a>f?c=e:d=e,e=.5*(d-c)+c}return e}var n=0,o=0,p=0,q=0,r=0,s=0;return p=3*b,o=3*(d-b)-p,n=1-p-o,s=3*c,r=3*(e-c)-s,q=1-s-r,k(a,j(f))}function b(b,c,d,e){return function(f){return a(f,b,c,d,e,1)}}e.setBezierFunction=function(a,c,d,f,g){var h=b(c,d,f,g);return h.displayName=a,h.x1=c,h.y1=d,h.x2=f,h.y2=g,e.prototype.formula[a]=h},e.unsetBezierFunction=function(a){delete e.prototype.formula[a]}}(),function(){function a(a,b,c,d,f,g){return e.tweenProps(d,b,a,c,1,g,f)}var b=new e;b._filterArgs=[],e.interpolate=function(c,d,f,g,h){var i=e.shallowCopy({},c),j=h||0,k=e.composeEasingObject(c,g||"linear");b.set({});var l=b._filterArgs;l.length=0,l[0]=i,l[1]=c,l[2]=d,l[3]=k,e.applyFilter(b,"tweenCreated"),e.applyFilter(b,"beforeTween");var m=a(c,i,d,f,k,j);return e.applyFilter(b,"afterTween"),m}}(),function(a){function b(a,b){var c,d=[],e=a.length;for(c=0;e>c;c++)d.push("
 _"+b+"_"+c);return d}function c(a){var b=a.match(v);return b?(1===b.length||a[0].match(u))&&b.unshift(""):b=["",""],b.join(A)}function d(b){a.each(b,function(a){var c=b[a];"string"==typeof c&&c.match(z)&&(b[a]=e(c))})}function e(a){return i(z,a,f)}function f(a){var b=g(a);return"rgb("+b[0]+","+b[1]+","+b[2]+")"}function g(a){return a=a.replace(/#/,""),3===a.length&&(a=a.split(""),a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]),B[0]=h(a.substr(0,2)),B[1]=h(a.substr(2,2)),B[2]=h(a.substr(4,2)),B}function h(a){return parseInt(a,16)}function i(a,b,c){var d=b.match(a),e=b.replace(a,A);if(d)for(var f,g=d.length,h=0;g>h;h++)f=d.shift(),e=e.replace(A,c(f));return e}function j(a){return i(x,a,k)}function k(a){for(var b=a.match(w),c=b.length,d=a.match(y)[0],e=0;c>e;e++)d+=parseInt(b[e],10)+",";return d=d.slice(0,-1)+")"}function l(d){var e={};return a.each(d,function(a){var f=d[a];if("string"==typeof f){var g=r(f);e[a]={formatString:c(f),chunkNames:b(g,a)}}}),e}function m(b,c){a.each(c,function(a){for(var d
 =b[a],e=r(d),f=e.length,g=0;f>g;g++)b[c[a].chunkNames[g]]=+e[g];delete b[a]})}function n(b,c){a.each(c,function(a){var d=b[a],e=o(b,c[a].chunkNames),f=p(e,c[a].chunkNames);d=q(c[a].formatString,f),b[a]=j(d)})}function o(a,b){for(var c,d={},e=b.length,f=0;e>f;f++)c=b[f],d[c]=a[c],delete a[c];return d}function p(a,b){C.length=0;for(var c=b.length,d=0;c>d;d++)C.push(a[b[d]]);return C}function q(a,b){for(var c=a,d=b.length,e=0;d>e;e++)c=c.replace(A,+b[e].toFixed(4));return c}function r(a){return a.match(w)}function s(b,c){a.each(c,function(a){var d,e=c[a],f=e.chunkNames,g=f.length,h=b[a];if("string"==typeof h){var i=h.split(" "),j=i[i.length-1];for(d=0;g>d;d++)b[f[d]]=i[d]||j}else for(d=0;g>d;d++)b[f[d]]=h;delete b[a]})}function t(b,c){a.each(c,function(a){var d=c[a],e=d.chunkNames,f=e.length,g=b[e[0]],h=typeof g;if("string"===h){for(var i="",j=0;f>j;j++)i+=" "+b[e[j]],delete b[e[j]];b[a]=i.substr(1)}else b[a]=g})}var u=/(\d|\-|\.)/,v=/([^\-0-9\.]+)/g,w=/[0-9.\-]+/g,x=new RegExp("rgb\\(
 "+w.source+/,\s*/.source+w.source+/,\s*/.source+w.source+"\\)","g"),y=/^.*\(/,z=/#([0-9]|[a-f]){3,6}/gi,A="VAL",B=[],C=[];a.prototype.filter.token={tweenCreated:function(a,b,c,e){d(a),d(b),d(c),this._tokenData=l(a)},beforeTween:function(a,b,c,d){s(d,this._tokenData),m(a,this._tokenData),m(b,this._tokenData),m(c,this._tokenData)},afterTween:function(a,b,c,d){n(a,this._tokenData),n(b,this._tokenData),n(c,this._tokenData),t(d,this._tokenData)}}}(e)}).call(null)},{}],2:[function(a,b,c){var d=a("./shape"),e=a("./utils"),f=function(a,b){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",d.apply(this,arguments)};f.prototype=new d,f.prototype.constructor=f,f.prototype._pathString=function(a){var b=a.strokeWidth;a.trailWidth&&a.trailWidth>a.strokeWidth&&(b=a.trailWidth);var c=50-b/2;return e.render(this._pathTemplate,{radius:c,"2radius":2*c})},f.prototype._trailString=function(a){return this._pathString(a)},b.exports=f},{".
 /shape":7,"./utils":8}],3:[function(a,b,c){var d=a("./shape"),e=a("./utils"),f=function(a,b){this._pathTemplate="M 0,{center} L 100,{center}",d.apply(this,arguments)};f.prototype=new d,f.prototype.constructor=f,f.prototype._initializeSvg=function(a,b){a.setAttribute("viewBox","0 0 100 "+b.strokeWidth),a.setAttribute("preserveAspectRatio","none")},f.prototype._pathString=function(a){return e.render(this._pathTemplate,{center:a.strokeWidth/2})},f.prototype._trailString=function(a){return this._pathString(a)},b.exports=f},{"./shape":7,"./utils":8}],4:[function(a,b,c){b.exports={Line:a("./line"),Circle:a("./circle"),SemiCircle:a("./semicircle"),Path:a("./path"),Shape:a("./shape"),utils:a("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./utils":8}],5:[function(a,b,c){var d=a("shifty"),e=a("./utils"),f={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"},g=function(a,b){b=e.extend({duration:800,easing:"linear",from:{},to:{},step:function(
 ){}},b);var c;c=e.isString(a)?document.querySelector(a):a,this.path=c,this._opts=b,this._tweenable=null;var d=this.path.getTotalLength();this.path.style.strokeDasharray=d+" "+d,this.set(0)};g.prototype.value=function(){var a=this._getComputedDashOffset(),b=this.path.getTotalLength(),c=1-a/b;return parseFloat(c.toFixed(6),10)},g.prototype.set=function(a){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(a);var b=this._opts.step;if(e.isFunction(b)){var c=this._easing(this._opts.easing),d=this._calculateTo(a,c),f=this._opts.shape||this;b(d,f,this._opts.attachment)}},g.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},g.prototype.animate=function(a,b,c){b=b||{},e.isFunction(b)&&(c=b,b={});var f=e.extend({},b),g=e.extend({},this._opts);b=e.extend(g,b);var h=this._easing(b.easing),i=this._resolveFromAndTo(a,h,f);this.stop(),this.path.getBoundingClientRect();var j=this._getComputedDashOffset(),k=this._progressToOff
 set(a),l=this;this._tweenable=new d,this._tweenable.tween({from:e.extend({offset:j},i.from),to:e.extend({offset:k},i.to),duration:b.duration,easing:h,step:function(a){l.path.style.strokeDashoffset=a.offset;var c=b.shape||l;b.step(a,c,b.attachment)},finish:function(a){e.isFunction(c)&&c()}})},g.prototype._getComputedDashOffset=function(){var a=window.getComputedStyle(this.path,null);return parseFloat(a.getPropertyValue("stroke-dashoffset"),10)},g.prototype._progressToOffset=function(a){var b=this.path.getTotalLength();return b-a*b},g.prototype._resolveFromAndTo=function(a,b,c){return c.from&&c.to?{from:c.from,to:c.to}:{from:this._calculateFrom(b),to:this._calculateTo(a,b)}},g.prototype._calculateFrom=function(a){return d.interpolate(this._opts.from,this._opts.to,this.value(),a)},g.prototype._calculateTo=function(a,b){return d.interpolate(this._opts.from,this._opts.to,a,b)},g.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable.dispose(),this
 ._tweenable=null)},g.prototype._easing=function(a){return f.hasOwnProperty(a)?f[a]:a},b.exports=g},{"./utils":8,shifty:1}],6:[function(a,b,c){var d=a("./shape"),e=a("./circle"),f=a("./utils"),g=function(a,b){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",d.apply(this,arguments)};g.prototype=new d,g.prototype.constructor=g,g.prototype._initializeSvg=function(a,b){a.setAttribute("viewBox","0 0 100 50")},g.prototype._initializeTextElement=function(a,b,c){a.text.style&&(c.style.top="auto",c.style.bottom="0",a.text.alignToBottom?f.setStyle(c,"transform","translate(-50%, 0)"):f.setStyle(c,"transform","translate(-50%, 50%)"))},g.prototype._pathString=e.prototype._pathString,g.prototype._trailString=e.prototype._trailString,b.exports=g},{"./circle":2,"./shape":7,"./utils":8}],7:[function(a,b,c){var d=a("./path"),e=a("./utils"),f="Object is destroyed",g=function h(a,b){if(!(this instanceof h))throw new Error("Constructor was called without new keyword");if(0
 !==arguments.length){this._opts=e.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},alignToBottom:!0,value:"",className:"progressbar-text"},svgStyle:{display:"block",width:"100%"}},b,!0);var c,f=this._createSvgView(this._opts);if(c=e.isString(a)?document.querySelector(a):a,!c)throw new Error("Container does not exist: "+a);this._container=c,this._container.appendChild(f.svg),this._opts.svgStyle&&e.setStyles(f.svg,this._opts.svgStyle),this.text=null,this._opts.text.value&&(this.text=this._createTextElement(this._opts,this._container),this._container.appendChild(this.text)),this.svg=f.svg,this.path=f.path,this.trail=f.trail;var g=e.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new d(f.path,g)}};g.prototype.animate=function(a,b,c){if(null===this._progressPath)throw new Error(f);this._progressPath.anima
 te(a,b,c)},g.prototype.stop=function(){if(null===this._progressPath)throw new Error(f);void 0!==this._progressPath&&this._progressPath.stop()},g.prototype.destroy=function(){if(null===this._progressPath)throw new Error(f);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,this._progressPath=null,null!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},g.prototype.set=function(a){if(null===this._progressPath)throw new Error(f);this._progressPath.set(a)},g.prototype.value=function(){if(null===this._progressPath)throw new Error(f);return void 0===this._progressPath?0:this._progressPath.value()},g.prototype.setText=function(a){if(null===this._progressPath)throw new Error(f);null===this.text&&(this.text=this._createTextElement(this._opts,this._container),this._container.appendChild(this.text)),this.text.removeChild(this.text.firstChild),this.text.appendChild(document.createTextNode(a))},g.prototype._createSvgView=func
 tion(a){var b=document.createElementNS("http://www.w3.org/2000/svg","svg");this._initializeSvg(b,a);var c=null;(a.trailColor||a.trailWidth)&&(c=this._createTrail(a),b.appendChild(c));var d=this._createPath(a);return b.appendChild(d),{svg:b,path:d,trail:c}},g.prototype._initializeSvg=function(a,b){a.setAttribute("viewBox","0 0 100 100")},g.prototype._createPath=function(a){var b=this._pathString(a);return this._createPathElement(b,a)},g.prototype._createTrail=function(a){var b=this._trailString(a),c=e.extend({},a);return c.trailColor||(c.trailColor="#eee"),c.trailWidth||(c.trailWidth=c.strokeWidth),c.color=c.trailColor,c.strokeWidth=c.trailWidth,c.fill=null,this._createPathElement(b,c)},g.prototype._createPathElement=function(a,b){var c=document.createElementNS("http://www.w3.org/2000/svg","path");return c.setAttribute("d",a),c.setAttribute("stroke",b.color),c.setAttribute("stroke-width",b.strokeWidth),b.fill?c.setAttribute("fill",b.fill):c.setAttribute("fill-opacity","0"),c},g.proto
 type._createTextElement=function(a,b){var c=document.createElement("p");c.appendChild(document.createTextNode(a.text.value));var d=a.text.style;return d&&(b.style.position="relative",e.setStyles(c,d),d.color||(c.style.color=a.color)),c.className=a.text.className,this._initializeTextElement(a,b,c),c},g.prototype._initializeTextElement=function(a,b,c){},g.prototype._pathString=function(a){throw new Error("Override this function for each progress bar")},g.prototype._trailString=function(a){throw new Error("Override this function for each progress bar")},b.exports=g},{"./path":5,"./utils":8}],8:[function(a,b,c){function d(a,b,c){a=a||{},b=b||{},c=c||!1;for(var e in b)if(b.hasOwnProperty(e)){var f=a[e],g=b[e];c&&l(f)&&l(g)?a[e]=d(f,g,c):a[e]=g}return a}function e(a,b){var c=a;for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f="\\{"+d+"\\}",g=new RegExp(f,"g");c=c.replace(g,e)}return c}function f(a,b,c){for(var d=0;d<n.length;++d){var e=n[d];a.style[e+h(b)]=c}a.style[b]=c}function g(a,b)
 {m(b,function(b,c){null!==b&&void 0!==b&&(l(b)&&b.prefix===!0?f(a,c,b.value):a.style[c]=b)})}function h(a){return a.charAt(0).toUpperCase()+a.slice(1)}function i(a){return"string"==typeof a||a instanceof String}function j(a){return"function"==typeof a}function k(a){return"[object Array]"===Object.prototype.toString.call(a)}function l(a){if(k(a))return!1;var b=typeof a;return"object"===b&&!!a}function m(a,b){for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];b(d,c)}}var n="Webkit Moz O ms".split(" ");b.exports={extend:d,render:e,setStyle:f,setStyles:g,capitalize:h,isString:i,isFunction:j,isObject:l,forEachObject:m}},{}]},{},[4])(4)});

http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/rd-smoothscroll.min.js
----------------------------------------------------------------------
diff --git a/js/rd-smoothscroll.min.js b/js/rd-smoothscroll.min.js
new file mode 100644
index 0000000..135bbfa
--- /dev/null
+++ b/js/rd-smoothscroll.min.js
@@ -0,0 +1,7 @@
+/*
+* @module       RD SmoothScroll
+* @author       Evgeniy Gusarov
+* @see          https://ua.linkedin.com/pub/evgeniy-gusarov/8a/a40/54a
+* @version      1.0.0
+*/
+!function(t,i,o){"use strict";var e="ontouchstart"in t,r=("undefined"!=typeof InstallTrigger,"MacIntel"===t.navigator.platform||"MacPPC"===t.navigator.platform),n="webkitTransform"in i.documentElement.style;t.requestAnimFrame=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(i){t.setTimeout(i,1e3/60)}}(),t.RDSmoothScroll=function(){this.options=RDSmoothScroll.Defaults,this.animators=[],this.initialize()},RDSmoothScroll.Defaults={friction:.88,step:r? .65:2,minDistance:.1},RDSmoothScroll.Animator=function(t){var i="html"===t.nodeName.toLowerCase()&&n?t.children[t.children.length-1]:t;this.target=t,this.originalTarget=i,this.direction=o,this.currentY=i.scrollTop,this.targetY=i.scrollTop,this.lastY=i.scrollTop,this.delta=0,this.minY=0,this.maxY=o,this.isPlaying=!1,this.speed=0},RDSmoothScroll.Animator.prototype.update=function(i){var o=t.RDSmoothScroll.instance,e=i.detail?-1
 *i.detail:i.wheelDelta/40,r=0>e?-1:1;r!=this.direction&&(this.speed=0,this.direction=r),this.currentY=-this.originalTarget.scrollTop,this.delta=e,this.targetY+=e,this.speed+=(this.targetY-this.lastY)*o.options.step,this.lastY=this.targetY,this.start()},RDSmoothScroll.Animator.prototype.start=function(){this.isPlaying||(this.isPlaying=!0,t.jQuery&&t.jQuery(this.originalTarget).stop(),this.play())},RDSmoothScroll.Animator.prototype.play=function(){var t=this;this.isPlaying&&(requestAnimFrame(function(){t.play()}),this.render())},RDSmoothScroll.Animator.prototype.stop=function(){this.isPlaying&&(this.speed=0,this.isPlaying=!1)},RDSmoothScroll.Animator.prototype.render=function(){var i=t.RDSmoothScroll.instance;Math.abs(this.originalTarget.scrollTop- -this.currentY)>Math.abs(this.delta)&&Math.abs(this.originalTarget.scrollTop- -this.currentY)>1&&this.stop(),this.speed<-i.options.minDistance||this.speed>i.options.minDistance?(this.currentY=this.currentY+this.speed,this.currentY>this.minY
 ?this.currentY=this.speed=0:this.currentY<this.maxY&&(this.speed=0,this.currentY=this.maxY),this.originalTarget.scrollTop=-this.currentY,this.speed*=i.options.friction):this.stop()},RDSmoothScroll.prototype.initialize=function(){t.addEventListener("mousewheel",this.onWheel),t.addEventListener("DOMMouseScroll",this.onWheel)},RDSmoothScroll.prototype.onWheel=function(i){if(!i.ctrlKey){var o,e,r=t.RDSmoothScroll.instance;for(i.preventDefault(),o=i.target;null!==o&&"html"!=o.nodeName.toLocaleLowerCase()&&!(("auto"==t.getComputedStyle(o).getPropertyValue("overflow")||"scroll"==t.getComputedStyle(o).getPropertyValue("overflow"))&&o.scrollHeight>o.clientHeight&&o.clientHeight>0);)o=o.parentNode;if(null!=o){e=r.isAnimator(o)?r.getAnimator(o):r.createAnimator(o);for(var n in r.animators)r.animators[n]!==e&&r.animators[n].stop&&r.animators[n].stop();e.update(i)}}},RDSmoothScroll.prototype.createAnimator=function(t){return this.animators[this.animators.push(new RDSmoothScroll.Animator(t))-1]},
 RDSmoothScroll.prototype.isAnimator=function(t){for(var i in this.animators)if(this.animators[i].target===t)return!0;return!1},RDSmoothScroll.prototype.getAnimator=function(t){for(var i in this.animators)if(this.animators[i].target===t)return this.animators[i];return o},e||(t.RDSmoothScroll.instance=new RDSmoothScroll)}(window,document);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/script.js
----------------------------------------------------------------------
diff --git a/js/script.js b/js/script.js
new file mode 100644
index 0000000..2c1aab1
--- /dev/null
+++ b/js/script.js
@@ -0,0 +1,1249 @@
+/**
+ * @function      Include
+ * @description   Includes an external scripts to the page
+ * @param         {string} scriptUrl
+ */
+function include(scriptUrl) {
+    document.write('<script src="' + scriptUrl + '"></script>');
+}
+
+
+/**
+ * @function      isIE
+ * @description   checks if browser is an IE
+ * @returns       {number} IE Version
+ */
+function isIE() {
+    var myNav = navigator.userAgent.toLowerCase();
+    return (myNav.indexOf('msie') != -1) ? parseInt(myNav.split('msie')[1]) : false;
+};
+
+
+/**
+ * @module       Copyright
+ * @description  Evaluates the copyright year
+ */
+;
+(function ($) {
+    var currentYear = (new Date).getFullYear();
+    $(document).ready(function () {
+        $("#copyright-year").text((new Date).getFullYear());
+    });
+})($);
+
+
+/**
+ * @module       IE Fall&Polyfill
+ * @description  Adds some loosing functionality to old IE browsers
+ */
+;
+(function ($) {
+    if (isIE() && isIE() < 11) {
+        include('js/pointer-events.min.js');
+        $('html').addClass('lt-ie11');
+        $(document).ready(function () {
+            PointerEventsPolyfill.initialize({});
+        });
+    }
+
+    if (isIE() && isIE() < 10) {
+        $('html').addClass('lt-ie10');
+    }
+})($);
+
+
+/**
+ * @module       WOW Animation
+ * @description  Enables scroll animation on the page
+ */
+;
+(function ($) {
+    var o = $('html');
+    if (o.hasClass('desktop') && o.hasClass("wow-animation") && $(".wow").length) {
+        include('js/wow.min.js');
+
+        $(document).ready(function () {
+            new WOW().init();
+        });
+    }
+})($);
+
+
+/**
+ * @module       Smoothscroll
+ * @description  Enables smooth scrolling on the page
+ */
+;
+(function ($) {
+    if ($("html").hasClass("smoothscroll")) {
+        include('js/smoothscroll.min.js');
+    }
+})($);
+
+/**
+ * @module       RD Smoothscroll
+ * @description  Enables smooth scrolling on the page for all platforms
+ */
+;
+(function ($) {
+    if ($("html").hasClass("smoothscroll-all")) {
+        include('js/rd-smoothscroll.min.js');
+    }
+})($);
+
+
+/**
+ * @module       ToTop
+ * @description  Enables ToTop Plugin
+ */
+;
+(function ($) {
+    var o = $('html');
+    if (o.hasClass('desktop')) {
+        include('js/jquery.ui.totop.min.js');
+
+        $(document).ready(function () {
+            $().UItoTop({
+                easingType: 'easeOutQuart',
+                containerClass: 'ui-to-top fa fa-angle-up'
+            });
+        });
+    }
+})($);
+
+/**
+ * @module       Responsive Tabs
+ * @description  Enables Easy Responsive Tabs Plugin
+ */
+;
+(function ($) {
+    var o = $('.responsive-tabs');
+    if (o.length > 0) {
+        include('js/jquery.easy-responsive-tabs.min.js');
+
+        $(document).ready(function () {
+            o.each(function () {
+                var $this = $(this);
+                $this.easyResponsiveTabs({
+                    type: $this.attr("data-type") === "accordion" ? "accordion" : "default"
+                });
+            })
+        });
+    }
+})($);
+
+
+/**
+ * @module       RD Google Map
+ * @description  Enables RD Google Map Plugin
+ */
+;
+(function ($) {
+    var o = document.getElementById("google-map");
+    if (o) {
+        include('//maps.google.com/maps/api/js?sensor=false');
+        include('js/jquery.rd-google-map.js');
+
+        $(document).ready(function () {
+            var o = $('#google-map');
+            if (o.length > 0) {
+                o.googleMap({
+                    styles: [{
+                        "featureType": "landscape",
+                        "stylers": [{"hue": "#FFBB00"}, {"saturation": 43.400000000000006}, {"lightness": 37.599999999999994}, {"gamma": 1}]
+                    }, {
+                        "featureType": "road.highway",
+                        "stylers": [{"hue": "#FFC200"}, {"saturation": -61.8}, {"lightness": 45.599999999999994}, {"gamma": 1}]
+                    }, {
+                        "featureType": "road.arterial",
+                        "stylers": [{"hue": "#FF0300"}, {"saturation": -100}, {"lightness": 51.19999999999999}, {"gamma": 1}]
+                    }, {
+                        "featureType": "road.local",
+                        "stylers": [{"hue": "#FF0300"}, {"saturation": -100}, {"lightness": 52}, {"gamma": 1}]
+                    }, {
+                        "featureType": "water",
+                        "stylers": [{"hue": "#0078FF"}, {"saturation": -13.200000000000003}, {"lightness": 2.4000000000000057}, {"gamma": 1}]
+                    }, {
+                        "featureType": "poi",
+                        "stylers": [{"hue": "#00FF6A"}, {"saturation": -1.0989010989011234}, {"lightness": 11.200000000000017}, {"gamma": 1}]
+                    }]
+                });
+            }
+        });
+    }
+})
+($);
+
+
+/**
+ * @module       RD Navbar
+ * @description  Enables RD Navbar Plugin
+ */
+;
+(function ($) {
+    var o = $('.rd-navbar');
+    if (o.length > 0) {
+        include('js/jquery.rd-navbar.min.js');
+
+        $(document).ready(function () {
+            var responsive = {};
+
+            var aliaces = ["-xs-", "-sm-", "-md-", "-lg-"],
+                values = [480, 768, 992, 1200],
+                i, j, val;
+
+            responsive[0] = {
+                layout: o.attr("data-layout") || "rd-navbar-fixed",
+                focusOnHover: o.attr("data-hover-on") === "true",
+                stickUp: o.attr("data-stick-up") === "true"
+            };
+
+            for (i = 0; i < values.length; i++) {
+
+                //for (j = i; j >= -1; j--) {
+                val = '';
+                if (o.attr("data" + aliaces[i] + "layout")) {
+                    if (!responsive[values[i]]) responsive[values[i]] = {};
+                    if (!responsive[values[i]]["layout"]) {
+                        responsive[values[i]]["layout"] = o.attr("data" + aliaces[i] + "layout");
+                    }
+                }
+
+                if (o.attr("data" + aliaces[i] + "hover-on")) {
+                    if (!responsive[values[i]]) responsive[values[i]] = {};
+                    if (!responsive[values[i]]["focusOnHover"]) {
+                        val = o.attr("data" + aliaces[i] + "hover-on") === 'true';
+                        responsive[values[i]]["focusOnHover"] = val;
+                    }
+                }
+
+                if (o.attr("data" + aliaces[i] + "stick-up")) {
+                    if (!responsive[values[i]]) responsive[values[i]] = {};
+                    if (!responsive[values[i]]["stickUp"] && responsive[values[i]]["stickUp"] !== 0) {
+                        val = o.attr("data" + aliaces[i] + "stickUp") === 'true';
+                        responsive[values[i]]["stickUp"] = val;
+                    }
+                }
+                //}
+            }
+
+            // console.log(responsive);
+
+            o.RDNavbar({
+                responsive: responsive
+            });
+        });
+    }
+})($);
+
+
+/**
+ * @module       Swiper Slider
+ * @description  Enables Swiper Plugin
+ */
+;
+(function ($, undefined) {
+
+    var o = $(".swiper-slider");
+    if (o.length) {
+        include('js/jquery.swiper.min.js');
+
+
+        function getSwiperHeight(object, attr) {
+            var val = object.attr("data-" + attr),
+                dim;
+
+            if (!val) {
+                return undefined;
+            }
+
+            dim = val.match(/(px)|(%)|(vh)$/i);
+
+            if (dim.length) {
+                switch (dim[0]) {
+                    case "px":
+                        return parseFloat(val);
+                    case "vh":
+                        return $(window).height() * (parseFloat(val) / 100);
+                    case "%":
+                        return object.width() * (parseFloat(val) / 100);
+                }
+            } else {
+                return undefined;
+            }
+        }
+
+        function toggleSwiperInnerVideos(swiper) {
+            var prevSlide = $(swiper.slides[swiper.previousIndex]),
+                nextSlide = $(swiper.slides[swiper.activeIndex]),
+                videos;
+
+            prevSlide.find("video").each(function () {
+                this.pause();
+            });
+
+            videos = nextSlide.find("video");
+            if (videos.length) {
+                videos.get(0).play();
+            }
+        }
+
+        function toggleSwiperCaptionAnimation(swiper) {
+            var prevSlide = $(swiper.container),
+                nextSlide = $(swiper.slides[swiper.activeIndex]);
+
+            prevSlide
+                .find("[data-caption-animate]")
+                .each(function () {
+                    var $this = $(this);
+                    $this
+                        .removeClass("animated")
+                        .removeClass($this.attr("data-caption-animate"))
+                        .addClass("not-animated");
+                });
+
+            nextSlide
+                .find("[data-caption-animate]")
+                .each(function () {
+                    var $this = $(this),
+                        delay = $this.attr("data-caption-delay");
+
+                    setTimeout(function () {
+                        $this
+                            .removeClass("not-animated")
+                            .addClass($this.attr("data-caption-animate"))
+                            .addClass("animated");
+                    }, delay ? parseInt(delay) : 0);
+                });
+        }
+
+        $(document).ready(function () {
+            o.each(function () {
+                var s = $(this);
+
+                var pag = s.find(".swiper-pagination"),
+                    next = s.find(".swiper-button-next"),
+                    prev = s.find(".swiper-button-prev"),
+                    bar = s.find(".swiper-scrollbar"),
+                    h = getSwiperHeight(o, "height"), mh = getSwiperHeight(o, "min-height");
+                s.find(".swiper-slide")
+                    .each(function () {
+                        var $this = $(this),
+                            url;
+                        if (url = $this.attr("data-slide-bg")) {
+                            $this.css({
+                                "background-image": "url(" + url + ")",
+                                "background-size": "cover"
+                            })
+                        }
+                    })
+                    .end()
+                    .find("[data-caption-animate]")
+                    .addClass("not-animated")
+                    .end()
+                    .swiper({
+                        autoplay: s.attr('data-autoplay') ? s.attr('data-autoplay') === "false" ? undefined : s.attr('data-autoplay') : 5000,
+                        direction: s.attr('data-direction') ? s.attr('data-direction') : "horizontal",
+                        effect: s.attr('data-slide-effect') ? s.attr('data-slide-effect') : "slide",
+                        speed: s.attr('data-slide-speed') ? s.attr('data-slide-speed') : 600,
+                        keyboardControl: s.attr('data-keyboard') === "true",
+                        mousewheelControl: s.attr('data-mousewheel') === "true",
+                        mousewheelReleaseOnEdges: s.attr('data-mousewheel-release') === "true",
+                        nextButton: next.length ? next.get(0) : null,
+                        prevButton: prev.length ? prev.get(0) : null,
+                        pagination: pag.length ? pag.get(0) : null,
+                        //allowSwipeToNext: false,
+                        //allowSwipeToPrev: false,
+                        paginationClickable: pag.length ? pag.attr("data-clickable") !== "false" : false,
+                        paginationBulletRender: pag.length ? pag.attr("data-index-bullet") === "true" ? function (index, className) {
+                            return '<span class="' + className + '">' + (index + 1) + '</span>';
+                        } : null : null,
+                        scrollbar: bar.length ? bar.get(0) : null,
+                        scrollbarDraggable: bar.length ? bar.attr("data-draggable") !== "false" : true,
+                        scrollbarHide: bar.length ? bar.attr("data-draggable") === "false" : false,
+                        loop: s.attr('data-loop') !== "false",
+                        simulateTouch: false,
+                        threshold: 2000,
+                        onTransitionStart: function (swiper) {
+                            toggleSwiperInnerVideos(swiper);
+                        },
+                        onTransitionEnd: function (swiper) {
+                            toggleSwiperCaptionAnimation(swiper);
+                        },
+                        onInit: function (swiper) {
+                            toggleSwiperInnerVideos(swiper);
+                            toggleSwiperCaptionAnimation(swiper);
+                        }
+                    });
+
+                $(window)
+                    .on("resize", function () {
+                        var mh = getSwiperHeight(s, "min-height"),
+                            h = getSwiperHeight(s, "height");
+                        if (h) {
+                            s.css("height", mh ? mh > h ? mh : h : h);
+                        }
+                    })
+                    .trigger("resize");
+            });
+        });
+    }
+
+    // Gallery init
+    var gallery = $('.swiper-container');
+    if (gallery.length) {
+        $(document).ready(function () {
+            var galleryTop = new Swiper('.gallery-top', {
+                nextButton: '.swiper-button-next',
+                prevButton: '.swiper-button-prev',
+                spaceBetween: 10
+            });
+
+            var galleryThumbs = new Swiper('.gallery-thumbs', {
+                spaceBetween: 10,
+                centeredSlides: true,
+                slidesPerView: 'auto',
+                touchRatio: 0.2,
+                slideToClickedSlide: true
+            });
+
+            galleryTop.params.control = galleryThumbs;
+            galleryThumbs.params.control = galleryTop;
+            //galleryThumbs.slideTo( $('.first-el').index(),1000,false );
+            $(".first-el").click(function () {
+                var v = $(this).index();
+                galleryThumbs.slideTo(v, 1000, false);
+            });
+            $('.first-el').click();
+        });
+    }
+// End Gallery init
+
+})($);
+
+
+/**
+ * @module       Progress Bar custom
+ * @description  Enables Progress Bar Plugin
+ */
+;
+(function ($) {
+    var o = $(".progress-bar-custom");
+    if (o.length) {
+        include('js/progressbar.min.js');
+
+        function isScrolledIntoView(elem) {
+            var $window = $(window);
+            return elem.offset().top + elem.outerHeight() >= $window.scrollTop() && elem.offset().top <= $window.scrollTop() + $window.height();
+        }
+
+        $(document).ready(function () {
+            o.each(function () {
+                var bar, type;
+                if (
+                    this.className.indexOf("progress-bar-horizontal") > -1
+                ) {
+                    type = 'Line';
+                }
+
+                if (
+                    this.className.indexOf("progress-bar-radial") > -1
+                ) {
+                    type = 'Circle';
+                }
+
+                if (this.getAttribute("data-stroke") && this.getAttribute("data-value") && type) {
+                    //console.log(this.offsetWidth);
+                    //console.log(parseFloat(this.getAttribute("data-stroke")) / this.offsetWidth * 100);
+                    bar = new ProgressBar[type](this, {
+                        strokeWidth: Math.round(parseFloat(this.getAttribute("data-stroke")) / this.offsetWidth * 100)
+                        ,
+                        trailWidth: this.getAttribute("data-trail") ? Math.round(parseFloat(this.getAttribute("data-trail")) / this.offsetWidth * 100) : 0
+                        ,
+                        text: {
+                            value: this.getAttribute("data-counter") === "true" ? '0' : null
+                            , className: 'progress-bar__body'
+                            , style: null
+                        }
+                    });
+
+                    bar.svg.setAttribute('preserveAspectRatio', "none meet");
+                    if (type === 'Line') {
+                        bar.svg.setAttributeNS(null, "height", this.getAttribute("data-stroke"));
+                    }
+
+                    bar.path.removeAttribute("stroke");
+                    bar.path.className.baseVal = "progress-bar__stroke";
+                    if (bar.trail) {
+                        bar.trail.removeAttribute("stroke");
+                        bar.trail.className.baseVal = "progress-bar__trail";
+                    }
+
+                    if (this.getAttribute("data-easing") && !isIE()) {
+                        $(document)
+                            .on("scroll", $.proxy(function () {
+                                //console.log(isScrolledIntoView(this));
+                                if (isScrolledIntoView($(this)) && this.className.indexOf("progress-bar--animated") === -1) {
+                                    console.log(1);
+                                    this.className += " progress-bar--animated";
+                                    bar.animate(parseInt(this.getAttribute("data-value")) / 100.0, {
+                                        easing: this.getAttribute("data-easing")
+                                        ,
+                                        duration: this.getAttribute("data-duration") ? parseInt(this.getAttribute("data-duration")) : 800
+                                        ,
+                                        step: function (state, b) {
+                                            if (b._container.className.indexOf("progress-bar-horizontal") > -1 ||
+                                                b._container.className.indexOf("progress-bar-vertical") > -1) {
+                                                b.text.style.width = Math.abs(b.value() * 100).toFixed(0) + "%"
+                                            }
+                                            b.setText(Math.abs(b.value() * 100).toFixed(0));
+                                        }
+                                    });
+                                }
+                            }, this))
+                            .trigger("scroll");
+                    } else {
+                        bar.set(parseInt(this.getAttribute("data-value")) / 100.0);
+                        bar.setText(this.getAttribute("data-value"));
+                        if (type === 'Line') {
+                            bar.text.style.width = parseInt(this.getAttribute("data-value")) + "%";
+                        }
+                    }
+                } else {
+                    console.error(this.className + ": progress bar type is not defined");
+                }
+            });
+        });
+    }
+})($);
+
+
+/**
+ * @module       Count To
+ * @description  Enables Count To Plugin
+ */
+;
+(function ($) {
+    var o = $('.counter');
+    if (o.length > 0) {
+        include('js/jquery.countTo.js');
+        $(document).ready(function () {
+            $(document)
+            //$(this).scroll(function () {
+                .on("scroll", $.proxy(function () {
+                    o.not('.animated').each(function () {
+                        var $this = $(this);
+                        var position = $this.offset().top;
+
+                        if (($(window).scrollTop() + $(window).height()) > position) {
+
+                            $this.countTo();
+                            $this.addClass('animated');
+                        }
+                    });
+                }, $(this)))
+                .trigger("scroll");
+        });
+    }
+})($);
+
+/**
+ * @module      Progress Horizontal Bootstrap
+ * @description  Enables Animation
+ */
+;
+(function ($) {
+    var o = $('.progress-bar');
+    if (o.length > 0) {
+        include('js/jquery.counter.js');
+        $(document).ready(function () {
+            $(document)
+            //$(this).scroll(function () {
+                .on("scroll", $.proxy(function () {
+                    o.not('.animated').each(function () {
+
+                        var position = $(this).offset().top;
+
+                        if (($(window).scrollTop() + $(window).height()) > position) {
+                            var $this = $(this);
+                            var start = $this.attr("aria-valuemin");
+                            var end = $this.attr("aria-valuenow");
+                            $this.css({width: end + '%'});
+
+                            $this.parent().find('span').counter({
+                                start: start,
+                                end: end,
+                                time: 0.4,
+                                step: 20
+                            });
+
+                            //var span = $this.parent().find('span');
+                            //
+                            //span.prop('Counter', start).animate({
+                            //    Counter: end
+                            //}, {
+                            //    duration: 1000,
+                            //    easing: 'linear',
+                            //    step: function (now) {
+                            //        $(this).text(Math.ceil(now));
+                            //    }
+                            //});
+                            $this.addClass('animated');
+                        }
+
+                    });
+                }, $(this)))
+                .trigger("scroll");
+        });
+    }
+})($);
+
+
+/**
+ * @module       RD Parallax 3.5.0
+ * @description  Enables RD Parallax 3.5.0 Plugin
+ */
+
+;
+(function ($) {
+    var o = $('.rd-parallax');
+    if (o.length) {
+        include('js/jquery.rd-parallax.min.js');
+        $(document).ready(function () {
+            o.each(function () {
+                if (!$(this).parents(".swiper-slider").length) {
+                    $.RDParallax();
+                }
+            });
+        });
+    }
+})(jQuery);
+
+
+//
+///**
+// * @module       magnifierRentgen
+// * @description   magnifierRentgen
+// */
+//
+
+
+//(function ($) {
+//    var o = $('.img_zoom');
+//    if (o.length) {
+//        include("js/jQuery.MagnifierRentgen.min.js");
+//        $(document).ready(function () {
+//            o.each(function () {
+//                $(this).magnifierRentgen();
+//            });
+//        });
+//    }
+//})($);
+
+//
+///**
+// * @module       ElevateZoom
+// * @description   Elevate Web Design
+// */
+//
+
+//;
+//(function ($) {
+//    var o = $('.img_zoom');
+//    if (o.length) {
+//
+//        include("js/jquery.elevatezoom.js");
+//        include("js/jquery.elevateZoom-3.0.8.min.js");
+//
+//        add_dataZoom = function(el){
+//            var s = el;
+//            if(s.parents(".swiper-slide-active").length) {
+//
+//                //var src = s.attr('src');
+//                var res = s.attr("src").match(/([\w\d-\/]+)(.jpg$)/i);
+//                console.log(res);
+//                s.attr('data-zoom-image',res[1] + "_original" + res[2]);
+//
+//                s.elevateZoom({
+//                    //zoomType : "inner",
+//                    zoomType: "lens",
+//                    //gallery:'gallery_01',
+//                    //cursor: 'pointer',
+//                    cursor: "crosshair",
+//                    //galleryActiveClass: 'active',
+//                    lensShape: "round",
+//                    lensSize: 200,
+//                    zoomWindowFadeIn: 500,
+//                    zoomWindowFadeOut: 500,
+//                    //imageCrossfade: true,
+//                    //loadingIcon: 'http://www.elevateweb.co.uk/spinner.gif'
+//                });
+//            }
+//        };
+//
+//        $(document).ready(function () {
+//            o.each(function () {
+//                var image = $(this);
+//                add_dataZoom(image);
+//
+//                    $('.gallery-thumbs .swiper-slide').on("click", function(){
+//                        $(".zoomContainer").remove();
+//                        $("[data-zoom-image]").removeAttr("data-zoom-image");
+//                        add_dataZoom(image);
+//                });
+//            });
+//        });
+//    }
+//})($);
+
+
+/**
+ * @module       tooltip
+ * @description  Bootstrap tooltips
+ */
+
+
+$(function () {
+    $('[data-toggle="tooltip"]').tooltip()
+})
+
+
+/**
+ * @module       Tabs
+ * @description  Bootstrap tabs
+ */
+
+
+$('#myTabs a').click(function (e) {
+    e.preventDefault()
+    $(this).tab('show')
+})
+
+$('#myTabs2 a').click(function (e) {
+    e.preventDefault()
+    $(this).tab('show')
+})
+
+
+
+
+/**
+ * @module     Owl Carousel
+ * @description Enables Owl Carousel Plugin
+ */
+;
+(function ($) {
+    var o = $('.owl-carousel');
+    if (o.length) {
+        include('js/jquery.owl-carousel.js');
+
+        var isTouch = "ontouchstart" in window;
+
+        function preventScroll(e) {
+            e.preventDefault();
+        }
+
+        $(document).ready(function () {
+            o.each(function () {
+                var c = $(this),
+                    responsive = {};
+
+                var aliaces = ["-", "-xs-", "-sm-", "-md-", "-lg-"],
+                    values = [0, 480, 768, 992, 1200],
+                    i, j;
+
+                for (i = 0; i < values.length; i++) {
+                    responsive[values[i]] = {};
+                    for (j = i; j >= -1; j--) {
+                        if (!responsive[values[i]]["items"] && c.attr("data" + aliaces[j] + "items")) {
+                            responsive[values[i]]["items"] = j < 0 ? 1 : parseInt(c.attr("data" + aliaces[j] + "items"));
+                        }
+                        if (!responsive[values[i]]["stagePadding"] && responsive[values[i]]["stagePadding"] !== 0 && c.attr("data" + aliaces[j] + "stage-padding")) {
+                            responsive[values[i]]["stagePadding"] = j < 0 ? 0 : parseInt(c.attr("data" + aliaces[j] + "stage-padding"));
+                        }
+                        if (!responsive[values[i]]["margin"] && responsive[values[i]]["margin"] !== 0 && c.attr("data" + aliaces[j] + "margin")) {
+                            responsive[values[i]]["margin"] = j < 0 ? 30 : parseInt(c.attr("data" + aliaces[j] + "margin"));
+                        }
+                    }
+                }
+                // console.log('string', c);
+                c.owlCarousel({
+                    autoplay: c.attr("data-autoplay") === "true",
+                    loop: c.attr("data-loop") !== "false",
+                    item: 1,
+                    mouseDrag: c.attr("data-mouse-drag") !== "false",
+                    nav: c.attr("data-nav") === "true",
+                    dots: c.attr("data-dots") === "true",
+                    dotsEach: c.attr("data-dots-each") ? parseInt(c.attr("data-dots-each")) : false,
+                    responsive: responsive,
+                    navText: [],
+                    onInitialized: function () {
+                        if ($.fn.magnificPopup) {
+                            var o = this.$element.attr('data-lightbox') !== "gallery",
+                                g = this.$element.attr('data-lightbox') === "gallery";
+
+                            if (o) {
+                                this.$element.each(function () {
+                                    var $this = $(this);
+                                    $this.magnificPopup({
+                                        type: $this.attr("data-lightbox"),
+                                        callbacks: {
+                                            open: function () {
+                                                if (isTouch) {
+                                                    $(document).on("touchmove", preventScroll);
+                                                    $(document).swipe({
+                                                        swipeDown: function () {
+                                                            $.magnificPopup.close();
+                                                        }
+                                                    });
+                                                }
+                                            },
+                                            close: function () {
+                                                if (isTouch) {
+                                                    $(document).off("touchmove", preventScroll);
+                                                    $(document).swipe("destroy");
+                                                }
+                                            }
+                                        }
+                                    });
+                                })
+                            }
+
+                            if (g) {
+                                this.$element.each(function () {
+                                    var $gallery = $(this);
+
+                                    $gallery
+                                        .find('[data-lightbox]').each(function () {
+                                            var $item = $(this);
+                                            $item.addClass("mfp-" + $item.attr("data-lightbox"));
+                                        })
+                                        .end()
+                                        .magnificPopup({
+                                            delegate: '.owl-item:not(.cloned) .owl-item [data-lightbox]',
+                                            type: "image",
+                                            gallery: {
+                                                enabled: true
+                                            },
+                                            callbacks: {
+                                                open: function () {
+                                                    if (isTouch) {
+                                                        $(document).on("touchmove", preventScroll);
+                                                        $(document).swipe({
+                                                            swipeDown: function () {
+                                                                $.magnificPopup.close();
+                                                            }
+                                                        });
+                                                    }
+                                                },
+                                                close: function () {
+                                                    if (isTouch) {
+                                                        $(document).off("touchmove", preventScroll);
+                                                        $(document).swipe("destroy");
+                                                    }
+                                                }
+                                            }
+                                        });
+                                })
+                            }
+                        }
+                    }
+                });
+            });
+        });
+    }
+})($);
+
+
+/**
+ * @module       SVG-Animate
+ * @description  Enables SVG-Animate *
+ */
+
+;
+(function ($) {
+    var o = $('#svg-phone_1'),
+        msie = !!navigator.userAgent.match(/Trident\/7\./);
+    //(!document.all) - is IE11-
+    if ((o.length) && (!msie)) {
+
+        $(document).ready(function () {
+            $(this).on("scroll", $.proxy(function () {
+                    o.not('.active').each(function () {
+                        var $this = $(this);
+                        var position = $this.offset().top;
+
+                        if (($(window).scrollTop() + $(window).height()) > position) {
+                            $this.attr("class", "active");
+                            $this.parent().find('.phone_1').addClass('active');
+                        }
+                    });
+                }, $(this)))
+                .trigger("scroll");
+        });
+    }
+})($);
+
+
+/**
+ * @module       ViewPort Universal
+ * @description  Add class in viewport
+ */
+
+
+;
+(function ($) {
+    var o = $('.view-animate');
+    if (o.length) {
+
+        $(document).ready(function () {
+            $(this).on("scroll", $.proxy(function () {
+                    o.not('.active').each(function () {
+                        var $this = $(this);
+                        var position = $this.offset().top;
+
+                        if (($(window).scrollTop() + $(window).height()) > position) {
+                            $this.addClass("active");
+                        }
+                    });
+                }, $(this)))
+                .trigger("scroll");
+        });
+    }
+})($);
+
+
+/**
+ * @module       Scroll To
+ * @description  Enables Scroll To
+ */
+;
+(function ($) {
+    var o = $('.questions');
+    if (o.length) {
+        include('js/scrollTo.js');
+        $(document).ready(function () {
+            o.scrollTo({});
+        });
+    }
+})($);
+
+
+/**
+ * @module       RD Search
+ * @description  Enables RD Search Plugin
+ */
+;
+(function ($) {
+    var o = $('.rd-navbar-search');
+    if (o.length) {
+        include('js/jquery.search.min.js');
+        $(document).ready(function () {
+            o.RDSearch({});
+        });
+    }
+})($);
+
+
+/**
+ * @module       Countdown
+ * @description  Enables RD Search Plugin
+ */
+;
+(function ($) {
+    var o = $('#DateCountdown');
+    if (o.length) {
+        include('js/TimeCircles.js');
+        $(document).ready(function () {
+            var time = {
+                "Days": {
+                    "text": "Days",
+                    "color": "#FFF",
+                    "show": true
+                },
+                "Hours": {
+                    "text": "Hours",
+                    "color": "#fff",
+                    "show": true
+                },
+                "Minutes": {
+                    "text": "Minutes",
+                    "color": "#fff",
+                    "show": true
+                },
+                "Seconds": {
+                    "text": "Seconds",
+                    "color": "#fff",
+                    "show": true
+                }
+            };
+            o.TimeCircles({
+                "animation": "smooth",
+                "bg_width": 0.4,
+                "fg_width": 0.02666666666666667,
+                "circle_bg_color": "rgba(0,0,0,.2)",
+                "time": time
+            });
+            $(window).on('load resize orientationchange', function () {
+                if ($(window).width() < 479) {
+                    o.TimeCircles({
+                        time: {
+                            //Days: {show: true},
+                            //Hours: {show: true},
+                            Minutes: {show: true},
+                            Seconds: {show: false}
+                        }
+                    }).rebuild();
+                } else if ($(window).width() < 767) {
+                    o.TimeCircles({
+                        time: {
+                            //Minutes: {show: true},
+                            Seconds: {show: false}
+                        }
+                    }).rebuild();
+                } else {
+                    o.TimeCircles({time: time}).rebuild();
+                }
+            });
+        });
+
+    }
+})(jQuery);
+
+
+/**
+ * @module       Magnific Popup
+ * @description  Enables Magnific Popup Plugin
+ */
+;
+(function ($) {
+    var o = $('[data-lightbox]').not('[data-lightbox="gallery"] [data-lightbox]'),
+        g = $('[data-lightbox^="gallery"]');
+    if (o.length > 0 || g.length > 0) {
+        include('js/jquery.magnific-popup.min.js');
+
+        $(document).ready(function () {
+            if (o.length) {
+                o.each(function () {
+                    var $this = $(this);
+                    $this.magnificPopup({
+                        type: $this.attr("data-lightbox")
+                    });
+                })
+            }
+
+            if (g.length) {
+                g.each(function () {
+                    var $gallery = $(this);
+                    $gallery
+                        .find('[data-lightbox]').each(function () {
+                            var $item = $(this);
+                            $item.addClass("mfp-" + $item.attr("data-lightbox"));
+                        })
+                        .end()
+                        .magnificPopup({
+                            delegate: '[data-lightbox]',
+                            type: "image",
+                            // Delay in milliseconds before popup is removed
+                            removalDelay: 300,
+                            // Class that is added to popup wrapper and background
+                            // make it unique to apply your CSS animations just to this exact popup
+                            mainClass: 'mfp-fade',
+                            gallery: {
+                                enabled: true
+                            }
+                        });
+                })
+            }
+        });
+    }
+})(jQuery);
+
+
+/**
+ * @module       Isotope
+ * @description  Enables Isotope Plugin
+ */
+;
+(function ($) {
+    var o = $(".isotope");
+    if (o.length) {
+        include('js/isotope.pkgd.min.js');
+
+        $(document).ready(function () {
+            o.each(function () {
+                var _this = this
+                    , iso = new Isotope(_this, {
+                    itemSelector: '[class*="col-"], .isotope-item',
+                    layoutMode: _this.getAttribute('data-layout') ? _this.getAttribute('data-layout') : 'masonry'
+                });
+
+                $(window).on("resize", function () {
+                    iso.layout();
+                });
+
+                $(window).load(function () {
+                    iso.layout();
+                    setTimeout(function () {
+                        _this.className += " isotope--loaded";
+                        iso.layout();
+                    }, 600);
+                });
+            });
+
+            $(".isotope-filters-trigger").on("click", function () {
+                $(this).parents(".isotope-filters").toggleClass("active");
+            });
+
+            $('.isotope').magnificPopup({
+                delegate: ' > :visible .mfp-image',
+                type: "image",
+                gallery: {
+                    enabled: true
+                },
+            });
+
+            $("[data-isotope-filter]").on("click", function () {
+                $('[data-isotope-filter][data-isotope-group="' + this.getAttribute("data-isotope-group") + '"]').removeClass("active");
+                $(this).addClass("active");
+                $(this).parents(".isotope-filters").removeClass("active");
+                $('.isotope[data-isotope-group="' + this.getAttribute("data-isotope-group") + '"]')
+                    .isotope({filter: this.getAttribute("data-isotope-filter") == '*' ? '*' : '[data-filter="' + this.getAttribute("data-isotope-filter") + '"]'});
+            })
+        });
+    }
+})(jQuery);
+
+
+/**
+ * @module       Onclick functions
+ * @description  Add ... to onclick
+ */
+
+;
+(function ($) {
+    var o = $('.timeline');
+    if (o.length) {
+        $(document).ready(function () {
+            o.find(".timeline-btn").on("click", function () {
+                $(this).toggleClass("active");
+                // o.find(".timeline-hidden").toggleClass("active");
+                if (o.find(".timeline-hidden").is(':hidden')) {
+                    o.find(".timeline-hidden").slideDown(800);
+                } else {
+                    o.find(".timeline-hidden").slideUp(800);
+                }
+            });
+        });
+    }
+})($);
+
+
+/**
+ * @module     RD Input Label
+ * @description Enables RD Input Label Plugin
+ */
+;
+(function ($) {
+    var o = $('.form-label');
+    if (o.length) {
+        include('js/mailform/jquery.rd-input-label.js');
+
+        $(document).ready(function () {
+            o.RDInputLabel();
+        });
+    }
+})(jQuery);
+
+/* Mailform
+ =============================================*/
+;
+(function ($) {
+    var o = $('.rd-mailform');
+    if (o.length > 0) {
+        include('js/mailform/jquery.form.min.js');
+        include('js/mailform/jquery.rd-mailform.min.js');
+
+        $(document).ready(function () {
+            var o = $('.rd-mailform');
+
+            if (o.length) {
+                o.rdMailForm({
+                    validator: {
+                        'constraints': {
+                            '@LettersOnly': {
+                                message: 'Please use letters only!'
+                            },
+                            '@NumbersOnly': {
+                                message: 'Please use numbers only!'
+                            },
+                            '@NotEmpty': {
+                                message: 'Field should not be empty!'
+                            },
+                            '@Email': {
+                                message: 'Enter valid e-mail address!'
+                            },
+                            '@Phone': {
+                                message: 'Enter valid phone number!'
+                            },
+                            '@Date': {
+                                message: 'Use MM/DD/YYYY format!'
+                            },
+                            '@SelectRequired': {
+                                message: 'Please choose an option!'
+                            }
+                        }
+                    }
+                }, {
+                    'MF000': 'Sent',
+                    'MF001': 'Recipients are not set!',
+                    'MF002': 'Form will not work locally!',
+                    'MF003': 'Please, define email field in your form!',
+                    'MF004': 'Please, define type of your form!',
+                    'MF254': 'Something went wrong with PHPMailer!',
+                    'MF255': 'There was an error submitting the form!'
+                });
+            }
+        });
+    }
+})(jQuery);
+
+/**
+ * @module       RD Twitter Feed
+ * @author       Rafael Shayvolodyan(raffa)
+ * @see          https://ua.linkedin.com/in/rafael-shayvolodyan-3a297b96
+ * @version      1.0.0
+ * @License      under dual CC By-SA 4.0 and GPLv3
+ */
+
+;
+(function ($) {
+    var o = $('.twitter');
+    if (o.length > 0) {
+        include('js/jquery.twitter.js');
+        $(document).ready(function () {
+            o.RDTwitter({ hideReplies: false});
+
+        });
+    }
+})(jQuery);
+
+/**
+ * @module       RD Instafeed
+ * @author       Rafael Shayvolodyan(raffa)
+ * @see          https://ua.linkedin.com/in/rafael-shayvolodyan-3a297b96
+ * @version      1.0.1
+ * @License      under dual CC By-SA 4.0 and GPLv3
+ */
+
+;
+(function ($) {
+    var o = $('.instafeed');
+    if (o.length > 0) {
+        include('js/jquery.instafeed.js');
+        $(document).ready(function () {
+            o.RDInstafeed({});
+        });
+    }
+
+})(jQuery);

http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/scrollTo.js
----------------------------------------------------------------------
diff --git a/js/scrollTo.js b/js/scrollTo.js
new file mode 100644
index 0000000..556a255
--- /dev/null
+++ b/js/scrollTo.js
@@ -0,0 +1,18 @@
+;
+(function ($) {
+    $.fn.scrollTo = function () {
+        //smoothscroll
+        $(this).find('a[href^="#"]').on('click', function (e) {
+            //e.preventDefault();
+            $(this).addClass('active');
+
+            var target = this.hash,
+            $target = $(target);
+            $('html, body').stop().animate({
+                'scrollTop': $target.offset().top + 2
+            }, 1000, 'swing', function () {
+                window.location.hash = target;
+            });
+        });
+    }
+})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/smoothscroll.min.js
----------------------------------------------------------------------
diff --git a/js/smoothscroll.min.js b/js/smoothscroll.min.js
new file mode 100644
index 0000000..0de14c8
--- /dev/null
+++ b/js/smoothscroll.min.js
@@ -0,0 +1,154 @@
+/**
+ * @module       SmoothScroll
+ * @author       Balazs Galambosi, Patrick Brunner, Michael Herf
+ * @license      MIT license
+ * @version      v0.9.9
+ */
+function ssc_init() {
+    if (document.body) {
+        var a = document.body, b = document.documentElement, c = window.innerHeight, d = a.scrollHeight;
+        (ssc_root = 0 <= document.compatMode.indexOf("CSS") ? b : a, ssc_activeElement = a, ssc_initdone = !0, top != self) ? ssc_frame = !0 : d > c && (a.offsetHeight <= c || b.offsetHeight <= c) && (ssc_root.style.height = "auto", ssc_root.offsetHeight <= c) && (c = document.createElement("div"), c.style.clear = "both", a.appendChild(c));
+        ssc_fixedback || (a.style.backgroundAttachment = "scroll", b.style.backgroundAttachment = "scroll");
+        ssc_keyboardsupport && ssc_addEvent("keydown", ssc_keydown)
+    }
+}
+function ssc_scrollArray(a, b, c, d) {
+    if (d || (d = 1E3), ssc_directionCheck(b, c), ssc_que.push({
+            x: b,
+            y: c,
+            lastX: 0 > b ? .99 : -.99,
+            lastY: 0 > c ? .99 : -.99,
+            start: +new Date
+        }), !ssc_pending) {
+        var e = function () {
+            for (var n = +new Date, h = 0, m = 0, k = 0; k < ssc_que.length; k++) {
+                var f = ssc_que[k], l = n - f.start, p = l >= ssc_animtime, g = p ? 1 : l / ssc_animtime;
+                ssc_pulseAlgorithm && (g = ssc_pulse(g));
+                l = f.x * g - f.lastX >> 0;
+                g = f.y * g - f.lastY >> 0;
+                h += l;
+                m += g;
+                f.lastX += l;
+                f.lastY += g;
+                p && (ssc_que.splice(k, 1), k--)
+            }
+            b && (n = a.scrollLeft, a.scrollLeft += h, h && a.scrollLeft === n && (b = 0));
+            c && (h = a.scrollTop, a.scrollTop += m, m && a.scrollTop === h && (c = 0));
+            b || c || (ssc_que = []);
+            ssc_que.length ? setTimeout(e, d / ssc_framerate + 1) : ssc_pending = !1
+        };
+        setTimeout(e, 0);
+        ssc_pending = !0
+    }
+}
+function ssc_wheel(a) {
+    ssc_initdone || ssc_init();
+    var b = a.target, c = ssc_overflowingAncestor(b);
+    if (!c || a.defaultPrevented || ssc_isNodeName(ssc_activeElement, "embed") || ssc_isNodeName(b, "embed") && /\.pdf/i.test(b.src))return !0;
+    var b = a.wheelDeltaX || 0, d = a.wheelDeltaY || 0;
+    b || d || (d = a.wheelDelta || 0);
+    1.2 < Math.abs(b) && (b *= ssc_stepsize / 120);
+    1.2 < Math.abs(d) && (d *= ssc_stepsize / 120);
+    ssc_scrollArray(c, -b, -d);
+    a.preventDefault()
+}
+function ssc_keydown(a) {
+    var b = a.target, c = a.ctrlKey || a.altKey || a.metaKey;
+    if (/input|textarea|embed/i.test(b.nodeName) || b.isContentEditable || a.defaultPrevented || c || ssc_isNodeName(b, "button") && a.keyCode === ssc_key.spacebar)return !0;
+    var d;
+    d = b = 0;
+    var c = ssc_overflowingAncestor(ssc_activeElement), e = c.clientHeight;
+    switch (c == document.body && (e = window.innerHeight), a.keyCode) {
+        case ssc_key.up:
+            d = -ssc_arrowscroll;
+            break;
+        case ssc_key.down:
+            d = ssc_arrowscroll;
+            break;
+        case ssc_key.spacebar:
+            d = a.shiftKey ? 1 : -1;
+            d = -d * e * .9;
+            break;
+        case ssc_key.pageup:
+            d = .9 * -e;
+            break;
+        case ssc_key.pagedown:
+            d = .9 * e;
+            break;
+        case ssc_key.home:
+            d = -c.scrollTop;
+            break;
+        case ssc_key.end:
+            e = c.scrollHeight - c.scrollTop - e;
+            d = 0 < e ? e + 10 : 0;
+            break;
+        case ssc_key.left:
+            b = -ssc_arrowscroll;
+            break;
+        case ssc_key.right:
+            b = ssc_arrowscroll;
+            break;
+        default:
+            return !0
+    }
+    ssc_scrollArray(c, b, d);
+    a.preventDefault()
+}
+function ssc_mousedown(a) {
+    ssc_activeElement = a.target
+}
+function ssc_setCache(a, b) {
+    for (var c = a.length; c--;)ssc_cache[ssc_uniqueID(a[c])] = b;
+    return b
+}
+function ssc_overflowingAncestor(a) {
+    var b = [], c = ssc_root.scrollHeight;
+    do {
+        var d = ssc_cache[ssc_uniqueID(a)];
+        if (d)return ssc_setCache(b, d);
+        if (b.push(a), c === a.scrollHeight) {
+            if (!ssc_frame || ssc_root.clientHeight + 10 < c)return ssc_setCache(b, document.body)
+        } else if (a.clientHeight + 10 < a.scrollHeight && (overflow = getComputedStyle(a, "").getPropertyValue("overflow"), "scroll" === overflow || "auto" === overflow))return ssc_setCache(b, a)
+    } while (a = a.parentNode)
+}
+function ssc_addEvent(a, b, c) {
+    window.addEventListener(a, b, c || !1)
+}
+function ssc_removeEvent(a, b, c) {
+    window.removeEventListener(a, b, c || !1)
+}
+function ssc_isNodeName(a, b) {
+    return a.nodeName.toLowerCase() === b.toLowerCase()
+}
+function ssc_directionCheck(a, b) {
+    a = 0 < a ? 1 : -1;
+    b = 0 < b ? 1 : -1;
+    (ssc_direction.x !== a || ssc_direction.y !== b) && (ssc_direction.x = a, ssc_direction.y = b, ssc_que = [])
+}
+function ssc_pulse_(a) {
+    var b, c, d;
+    return a *= ssc_pulseScale, 1 > a ? b = a - (1 - Math.exp(-a)) : (c = Math.exp(-1), --a, d = 1 - Math.exp(-a), b = c + d * (1 - c)), b * ssc_pulseNormalize
+}
+function ssc_pulse(a) {
+    return 1 <= a ? 1 : 0 >= a ? 0 : (1 == ssc_pulseNormalize && (ssc_pulseNormalize /= ssc_pulse_(1)), ssc_pulse_(a))
+}
+if (-1 === navigator.platform.toUpperCase().indexOf("MAC") && !navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini|BlackBerry)/)) {
+    var ssc_framerate = 150, ssc_animtime = 700, ssc_stepsize = 100, ssc_pulseAlgorithm = !0, ssc_pulseScale = 8, ssc_pulseNormalize = 1, ssc_keyboardsupport = !0, ssc_arrowscroll = 50, ssc_frame = !1, ssc_direction = {
+        x: 0,
+        y: 0
+    }, ssc_initdone = !1, ssc_fixedback = !0, ssc_root = document.documentElement, ssc_activeElement, ssc_key = {
+        left: 37, up: 38, right: 39, down: 40, spacebar: 32, pageup: 33, pagedown: 34, end: 35,
+        home: 36
+    }, ssc_que = [], ssc_pending = !1, ssc_cache = {};
+    setInterval(function () {
+        ssc_cache = {}
+    }, 1E4);
+    var ssc_uniqueID = function () {
+        var a = 0;
+        return function (b) {
+            return b.ssc_uniqueID || (b.ssc_uniqueID = a++)
+        }
+    }(), ischrome = /chrome/.test(navigator.userAgent.toLowerCase());
+    ischrome && (ssc_addEvent("mousedown", ssc_mousedown), ssc_addEvent("mousewheel", ssc_wheel), ssc_addEvent("load", ssc_init))
+}
+;

http://git-wip-us.apache.org/repos/asf/incubator-iota-site/blob/9b5251fe/js/wow.min.js
----------------------------------------------------------------------
diff --git a/js/wow.min.js b/js/wow.min.js
new file mode 100644
index 0000000..0b4943a
--- /dev/null
+++ b/js/wow.min.js
@@ -0,0 +1,7 @@
+/**
+ * @module       WOW
+ * @author       Matthieu Aussaguel
+ * @version      v1.1.2
+ * @license      MIT License
+ */
+(function(){var t,e,n,i,o,r=function(t,e){return function(){return t.apply(e,arguments)}},s=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};e=function(){function t(){}return t.prototype.extend=function(t,e){var n,i;for(n in e)i=e[n],null==t[n]&&(t[n]=i);return t},t.prototype.isMobile=function(t){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)},t.prototype.createEvent=function(t,e,n,i){var o;return null==e&&(e=!1),null==n&&(n=!1),null==i&&(i=null),null!=document.createEvent?(o=document.createEvent("CustomEvent"),o.initCustomEvent(t,e,n,i)):null!=document.createEventObject?(o=document.createEventObject(),o.eventType=t):o.eventName=t,o},t.prototype.emitEvent=function(t,e){return null!=t.dispatchEvent?t.dispatchEvent(e):e in(null!=t)?t[e]():"on"+e in(null!=t)?t["on"+e]():void 0},t.prototype.addEvent=function(t,e,n){return null!=t.addEventListener?t.addEventListener(e,n,!1):null!=t.attachEvent?t.attachE
 vent("on"+e,n):t[e]=n},t.prototype.removeEvent=function(t,e,n){return null!=t.removeEventListener?t.removeEventListener(e,n,!1):null!=t.detachEvent?t.detachEvent("on"+e,n):delete t[e]},t.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},t}(),n=this.WeakMap||this.MozWeakMap||(n=function(){function t(){this.keys=[],this.values=[]}return t.prototype.get=function(t){var e,n,i,o,r;for(r=this.keys,e=i=0,o=r.length;o>i;e=++i)if(n=r[e],n===t)return this.values[e]},t.prototype.set=function(t,e){var n,i,o,r,s;for(s=this.keys,n=o=0,r=s.length;r>o;n=++o)if(i=s[n],i===t)return void(this.values[n]=e);return this.keys.push(t),this.values.push(e)},t}()),t=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(t=function(){function t(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW
 .js cannot detect dom mutations, please call .sync() after loading new content.")}return t.notSupported=!0,t.prototype.observe=function(){},t}()),i=this.getComputedStyle||function(t){return this.getPropertyValue=function(e){var n;return"float"===e&&(e="styleFloat"),o.test(e)&&e.replace(o,function(t,e){return e.toUpperCase()}),(null!=(n=t.currentStyle)?n[e]:void 0)||null},this},o=/(\-([a-z]){1})/g,this.WOW=function(){function o(t){null==t&&(t={}),this.scrollCallback=r(this.scrollCallback,this),this.scrollHandler=r(this.scrollHandler,this),this.resetAnimation=r(this.resetAnimation,this),this.start=r(this.start,this),this.scrolled=!0,this.config=this.util().extend(t,this.defaults),null!=t.scrollContainer&&(this.config.scrollContainer=document.querySelector(t.scrollContainer)),this.animationNameCache=new n,this.wowEvent=this.util().createEvent(this.config.boxClass)}return o.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContaine
 r:null},o.prototype.init=function(){var t;return this.element=window.document.documentElement,"interactive"===(t=document.readyState)||"complete"===t?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},o.prototype.start=function(){var e,n,i,o;if(this.stopped=!1,this.boxes=function(){var t,n,i,o;for(i=this.element.querySelectorAll("."+this.config.boxClass),o=[],t=0,n=i.length;n>t;t++)e=i[t],o.push(e);return o}.call(this),this.all=function(){var t,n,i,o;for(i=this.boxes,o=[],t=0,n=i.length;n>t;t++)e=i[t],o.push(e);return o}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(o=this.boxes,n=0,i=o.length;i>n;n++)e=o[n],this.applyStyle(e,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new t(function(t){return function(e){var n,i,o,r,s;fo
 r(s=[],n=0,i=e.length;i>n;n++)r=e[n],s.push(function(){var t,e,n,i;for(n=r.addedNodes||[],i=[],t=0,e=n.length;e>t;t++)o=n[t],i.push(this.doSync(o));return i}.call(t));return s}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},o.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},o.prototype.sync=function(){return t.notSupported?this.doSync(this.element):void 0},o.prototype.doSync=function(t){var e,n,i,o,r;if(null==t&&(t=this.element),1===t.nodeType){for(t=t.parentNode||t,o=t.querySelectorAll("."+this.config.boxClass),r=[],n=0,i=o.length;i>n;n++)e=o[n],s.call(this.all,e)<0?(this.boxes.push(e),this.all.push(e),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(e,!0),r.push(this.scrolled=!0)):r.push(void 0);return r}},o.prototype.show=function(t){return this
 .applyStyle(t),t.className=t.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(t),this.util().emitEvent(t,this.wowEvent),this.util().addEvent(t,"animationend",this.resetAnimation),this.util().addEvent(t,"oanimationend",this.resetAnimation),this.util().addEvent(t,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(t,"MSAnimationEnd",this.resetAnimation),t},o.prototype.applyStyle=function(t,e){var n,i,o;return i=t.getAttribute("data-wow-duration"),n=t.getAttribute("data-wow-delay"),o=t.getAttribute("data-wow-iteration"),this.animate(function(r){return function(){return r.customStyle(t,e,i,n,o)}}(this))},o.prototype.animate=function(){return"requestAnimationFrame"in window?function(t){return window.requestAnimationFrame(t)}:function(t){return t()}}(),o.prototype.resetStyle=function(){var t,e,n,i,o;for(i=this.boxes,o=[],e=0,n=i.length;n>e;e++)t=i[e],o.push(t.style.visibility="visible");return o},o.prototype.resetAnimation=function(t){var 
 e;return t.type.toLowerCase().indexOf("animationend")>=0?(e=t.target||t.srcElement,e.className=e.className.replace(this.config.animateClass,"").trim()):void 0},o.prototype.customStyle=function(t,e,n,i,o){return e&&this.cacheAnimationName(t),t.style.visibility=e?"hidden":"visible",n&&this.vendorSet(t.style,{animationDuration:n}),i&&this.vendorSet(t.style,{animationDelay:i}),o&&this.vendorSet(t.style,{animationIterationCount:o}),this.vendorSet(t.style,{animationName:e?"none":this.cachedAnimationName(t)}),t},o.prototype.vendors=["moz","webkit"],o.prototype.vendorSet=function(t,e){var n,i,o,r;i=[];for(n in e)o=e[n],t[""+n]=o,i.push(function(){var e,i,s,l;for(s=this.vendors,l=[],e=0,i=s.length;i>e;e++)r=s[e],l.push(t[""+r+n.charAt(0).toUpperCase()+n.substr(1)]=o);return l}.call(this));return i},o.prototype.vendorCSS=function(t,e){var n,o,r,s,l,a;for(l=i(t),s=l.getPropertyCSSValue(e),r=this.vendors,n=0,o=r.length;o>n;n++)a=r[n],s=s||l.getPropertyCSSValue("-"+a+"-"+e);return s},o.prototype
 .animationName=function(t){var e;try{e=this.vendorCSS(t,"animation-name").cssText}catch(n){e=i(t).getPropertyValue("animation-name")}return"none"===e?"":e},o.prototype.cacheAnimationName=function(t){return this.animationNameCache.set(t,this.animationName(t))},o.prototype.cachedAnimationName=function(t){return this.animationNameCache.get(t)},o.prototype.scrollHandler=function(){return this.scrolled=!0},o.prototype.scrollCallback=function(){var t;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var e,n,i,o;for(i=this.boxes,o=[],e=0,n=i.length;n>e;e++)t=i[e],t&&(this.isVisible(t)?this.show(t):o.push(t));return o}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},o.prototype.offsetTop=function(t){for(var e;void 0===t.offsetTop;)t=t.parentNode;for(e=t.offsetTop;t=t.offsetParent;)e+=t.offsetTop;return e},o.prototype.isVisible=function(t){var e,n,i,o,r;return n=t.getAttribute("data-wow-offset")||this.config.offset,r=this.config.scrollContainer&&this.config.sc
 rollContainer.scrollTop||window.pageYOffset,o=r+Math.min(this.element.clientHeight,this.util().innerHeight())-n,i=this.offsetTop(t),e=i+t.clientHeight,o>=i&&e>=r},o.prototype.util=function(){return null!=this._util?this._util:this._util=new e},o.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},o}()}).call(this);
\ No newline at end of file


Mime
View raw message