diff --git a/package.json b/package.json index 780cd1a4..9661068b 100644 --- a/package.json +++ b/package.json @@ -15,31 +15,33 @@ "main": "reactjsAdminlte.js", "dependencies": { "jquery": "^3.1.1", - "react": "^15.6.1", - "react-dom": "^15.6.1" + "react": "^16.2.0", + "react-dom": "^16.2.0" }, "devDependencies": { - "babel-core": "~6.5.1", - "babel-loader": "~6.2.2", - "babel-preset-es2015": "~6.5.0", - "babel-preset-react": "~6.5.0", + "babel-core": "~6.26.0", + "babel-loader": "~7.1.3", + "babel-preset-es2015": "~6.24.1", + "babel-preset-react": "~6.24.1", "body-parser": "^1.14.0", "bower": "^1.7.7", - "chai": "^3.5.0", - "consolidate": "^0.13.1", - "css-loader": "^0.23.1", - "expect": "^1.20.2", - "express": "^4.13.3", + "consolidate": "^0.15.0", + "create-react-class": "^15.6.3", + "express": "^4.16.2", "handlebars": "^4.0.3", "jsx-loader": "^0.13.2", - "mocha": "^3.1.2", "raphael": "^2.1.4", - "webpack": "^1.14.0", - "webpack-raphael": "^2.1.4", - "react-hot-loader": "^1.3.1", - "style-loader": "^0.13.0", "velocity-animate": "^1.4.0", - "webpack-dev-server": "~1.14.1" + "webpack": "^4.0.1", + "webpack-raphael": "^2.1.4", + "chai": "^4.1.2", + "css-loader": "^0.28.10", + "expect": "^1.20.2", + "mocha": "^5.0.1", + "react-hot-loader": "^4.0.0", + "style-loader": "^0.20.2", + "webpack-cli": "^2.0.10", + "webpack-dev-server": "~3.1.0" }, "scripts": { "dev": "node server.js", diff --git a/reactjsAdminlte.js b/reactjsAdminlte.js index 1be11659..55f4f67d 100644 --- a/reactjsAdminlte.js +++ b/reactjsAdminlte.js @@ -1,6 +1,2 @@ -!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("jquery"),require("react-dom"));else if("function"==typeof define&&define.amd)define(["react","jquery","react-dom"],t);else{var a="object"==typeof exports?t(require("react"),require("jquery"),require("react-dom")):t(e.react,e.jquery,e["react-dom"]);for(var r in a)("object"==typeof exports?exports:e)[r]=a[r]}}(this,function(e,t,a){return function(e){function t(r){if(a[r])return a[r].exports;var n=a[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a={};return t.m=e,t.c=a,t.p="",t(0)}([function(e,t,a){"use strict";var r=a(12),n=a(21),l=a(19),s=a(20),i=a(30),o=a(11),c=a(6),m=a(8),u=a(7),p=a(27),f=a(29),d=a(28),h=a(24),g=a(25),v=a(26),y=a(36),E=a(4);console.log(r),t.HeaderBar=r,t.NavigationMenu=n,t.InfoTile=l,t.ProgressBar=s,t.StatTile=i,t.CustomBox=o,t.ChatBox=c,t.Conversations=m,t.Contacts=u,t.ProfileCard=p,t.ProfileInfoList=f,t.ProfileInfoBlocks=d,t.Post=h,t.SocialButton=g,t.SocialInfo=v,t.Timeline=y,t.initialize=E.initialize()},function(t,a){t.exports=e},function(e,a){e.exports=t},function(e,t){e.exports=a},function(e,t,a){var r,n;r=[t,a(2),a(5)],n=function(e,t,a){e.toggleBoxCollapse=function(e,a,r){e.className.indexOf("collapsed-box")!==-1?(r.className=r.className.replace(/fa-plus/g,"fa-minus"),t(a).velocity("slideDown",{duration:500,easing:"easeInSine",complete:function(){e.className=e.className.replace(/ collapsed-box/g,"")}})):(r.className=r.className.replace(/fa-minus/g,"fa-plus"),t(a).velocity("slideUp",{duration:500,easing:"easeInSine",complete:function(){e.className+=" collapsed-box"}}))},e.removeBox=function(e){t(e).velocity("slideUp",{duration:500,easing:"easeInSine"})},e.initialize=function(){function e(e){t("body").tooltip({selector:e})}return{bootstrapTooltips:e}}}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;/*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */ -/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */ -!function(e){"use strict";function t(e){var t=e.length,r=a.type(e);return"function"!==r&&!a.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}if(!e.jQuery){var a=function(e,t){return new a.fn.init(e,t)};a.isWindow=function(e){return e&&e===e.window},a.type=function(e){return e?"object"==typeof e||"function"==typeof e?n[s.call(e)]||"object":typeof e:e+""},a.isArray=Array.isArray||function(e){return"array"===a.type(e)},a.isPlainObject=function(e){var t;if(!e||"object"!==a.type(e)||e.nodeType||a.isWindow(e))return!1;try{if(e.constructor&&!l.call(e,"constructor")&&!l.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(t in e);return void 0===t||l.call(e,t)},a.each=function(e,a,r){var n,l=0,s=e.length,i=t(e);if(r){if(i)for(;l0?n=s:a=s;while(Math.abs(l)>v&&++i=g?m(t,i):0===o?i:p(t,a,a+b)}function d(){S=!0,e===a&&r===n||u()}var h=4,g=.001,v=1e-7,y=10,E=11,b=1/(E-1),N="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;x<4;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),r=Math.min(r,1),e=Math.max(e,0),r=Math.max(r,0);var w=N?new Float32Array(E):new Array(E),S=!1,P=function(t){return S||d(),e===a&&r===n?t:0===t?0:1===t?1:o(f(t),a,n)};P.getControlPoints=function(){return[{x:e,y:a},{x:r,y:n}]};var k="generateBezier("+[e,a,r,n]+")";return P.toString=function(){return k},P}function u(e,t){var a=e;return b.isString(e)?S.Easings[e]||(a=!1):a=b.isArray(e)&&1===e.length?c.apply(null,e):b.isArray(e)&&2===e.length?P.apply(null,e.concat([t])):!(!b.isArray(e)||4!==e.length)&&m.apply(null,e),a===!1&&(a=S.Easings[S.defaults.easing]?S.defaults.easing:w),a}function p(e){if(e){var t=S.timestamp&&e!==!0?e:v.now(),a=S.State.calls.length;a>1e4&&(S.State.calls=n(S.State.calls),a=S.State.calls.length);for(var l=0;l4;e--){var t=a.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e}return r}(),g=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var a,r=(new Date).getTime();return a=Math.max(0,16-(r-e)),e=r+a,setTimeout(function(){t(r+a)},a)}}(),v=function(){var e=t.performance||{};if("function"!=typeof e.now){var a=e.timing&&e.timing.navigationStart?e.timing.navigationStart:(new Date).getTime();e.now=function(){return(new Date).getTime()-a}}return e}(),y=function(){var e=Array.prototype.slice;try{return e.call(a.documentElement),e}catch(t){return function(t,a){var r=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof a&&(a=r),this.slice)return e.call(this,t,a);var n,l=[],s=t>=0?t:Math.max(0,r+t),i=a<0?r+a:Math.min(a,r),o=i-s;if(o>0)if(l=new Array(o),this.charAt)for(n=0;n=0}:function(e,t){for(var a=0;au&&Math.abs(i.v)>u;);return l?function(e){return c[e*(c.length-1)|0]}:m}}();S.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},d.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){S.Easings[t[0]]=m.apply(null,t[1])});var k=S.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=1?"":"alpha(opacity="+parseInt(100*parseFloat(a),10)+")"}else switch(e){case"name":return"opacity";case"extract":return a;case"inject":return a}}},register:function(){function e(e,t,a){var r="border-box"===k.getPropertyValue(t,"boxSizing").toString().toLowerCase();if(r===(a||!1)){var n,l,s=0,i="width"===e?["Left","Right"]:["Top","Bottom"],o=["padding"+i[0],"padding"+i[1],"border"+i[0]+"Width","border"+i[1]+"Width"];for(n=0;n9)||S.State.isGingerbread||(k.Lists.transformsBase=k.Lists.transformsBase.concat(k.Lists.transforms3D));for(var a=0;a8)&&3===l.split(" ").length&&(l+=" 1"),l;case"inject":return/^rgb/.test(n)?n:(h<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(h<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();k.Normalizations.registered.innerWidth=t("width",!0),k.Normalizations.registered.innerHeight=t("height",!0),k.Normalizations.registered.outerWidth=t("width"),k.Normalizations.registered.outerHeight=t("height")}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||S.State.isAndroid&&!S.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(S.State.prefixMatches[e])return[S.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],a=0,r=t.length;a=2&&console.log("Get "+a+": "+o),o},setPropertyValue:function(e,a,r,n,l){var i=a;if("scroll"===a)l.container?l.container["scroll"+l.direction]=r:"Left"===l.direction?t.scrollTo(r,l.alternateValue):t.scrollTo(l.alternateValue,r);else if(k.Normalizations.registered[a]&&"transform"===k.Normalizations.registered[a]("name",e))k.Normalizations.registered[a]("inject",e,r),i="transform",r=s(e).transformCache[a];else{if(k.Hooks.registered[a]){var o=a,c=k.Hooks.getRoot(a);n=n||k.getPropertyValue(e,c),r=k.Hooks.injectValue(o,r,n),a=c}if(k.Normalizations.registered[a]&&(r=k.Normalizations.registered[a]("inject",e,r),a=k.Normalizations.registered[a]("name",e)),i=k.Names.prefixCheck(a)[0],h<=8)try{e.style[i]=r}catch(e){S.debug&&console.log("Browser does not support ["+r+"] for ["+i+"]")}else{var m=s(e);m&&m.isSVG&&k.Names.SVGAttribute(a)?e.setAttribute(a,r):e.style[i]=r}S.debug>=2&&console.log("Set "+a+" ("+i+"): "+r)}return[i,r]},flushTransformCache:function(e){var t="",a=s(e);if((h||S.State.isAndroid&&!S.State.isChrome)&&a&&a.isSVG){var r=function(t){return parseFloat(k.getPropertyValue(e,t))},n={translate:[r("translateX"),r("translateY")],skewX:[r("skewX")],skewY:[r("skewY")],scale:1!==r("scale")?[r("scale"),r("scale")]:[r("scaleX"),r("scaleY")],rotate:[r("rotateZ"),0,0]};d.each(s(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(t+=e+"("+n[e].join(" ")+") ",delete n[e])})}else{var l,i;d.each(s(e).transformCache,function(a){return l=s(e).transformCache[a],"transformPerspective"===a?(i=l,!0):(9===h&&"rotateZ"===a&&(a="rotate"),void(t+=a+l+" "))}),i&&(t="perspective"+i+" "+t)}k.setPropertyValue(e,"transform",t)}};k.Hooks.register(),k.Normalizations.register(),S.hook=function(e,t,a){var n;return e=l(e),d.each(e,function(e,l){if(s(l)===r&&S.init(l),a===r)n===r&&(n=k.getPropertyValue(l,t));else{var i=k.setPropertyValue(l,t,a);"transform"===i[0]&&S.CSS.flushTransformCache(l),n=i}}),n};var C=function(){function e(){return m?P.promise||null:h}function n(e,n){function l(l){var m,f;if(o.begin&&0===V)try{o.begin.call(v,v)}catch(e){setTimeout(function(){throw e},1)}if("scroll"===F){var h,g,x,w=/^x$/i.test(o.axis)?"Left":"Top",C=parseFloat(o.offset)||0;o.container?b.isWrapped(o.container)||b.isNode(o.container)?(o.container=o.container[0]||o.container,h=o.container["scroll"+w],x=h+d(e).position()[w.toLowerCase()]+C):o.container=null:(h=S.State.scrollAnchor[S.State["scrollProperty"+w]],g=S.State.scrollAnchor[S.State["scrollProperty"+("Left"===w?"Top":"Left")]],x=d(e).offset()[w.toLowerCase()]+C),c={scroll:{rootPropertyValue:!1,startValue:h,currentValue:h,endValue:x,unitType:"",easing:o.easing,scrollData:{container:o.container,direction:w,alternateValue:g}},element:e},S.debug&&console.log("tweensContainer (scroll): ",c.scroll,e)}else if("reverse"===F){if(m=s(e),!m)return;if(!m.tweensContainer)return void d.dequeue(e,o.queue);"none"===m.opts.display&&(m.opts.display="auto"),"hidden"===m.opts.visibility&&(m.opts.visibility="visible"),m.opts.loop=!1,m.opts.begin=null,m.opts.complete=null,N.easing||delete o.easing,N.duration||delete o.duration,o=d.extend({},m.opts,o),f=d.extend(!0,{},m?m.tweensContainer:null);for(var A in f)if(f.hasOwnProperty(A)&&"element"!==A){var j=f[A].startValue;f[A].startValue=f[A].currentValue=f[A].endValue,f[A].endValue=j,b.isEmptyObject(N)||(f[A].easing=o.easing),S.debug&&console.log("reverse tweensContainer ("+A+"): "+JSON.stringify(f[A]),e)}c=f}else if("start"===F){m=s(e),m&&m.tweensContainer&&m.isAnimating===!0&&(f=m.tweensContainer);var O=function(t,a){var r,l,s;return b.isFunction(t)&&(t=t.call(e,n,T)), -b.isArray(t)?(r=t[0],!b.isArray(t[1])&&/^[\d-]/.test(t[1])||b.isFunction(t[1])||k.RegEx.isHex.test(t[1])?s=t[1]:b.isString(t[1])&&!k.RegEx.isHex.test(t[1])&&S.Easings[t[1]]||b.isArray(t[1])?(l=a?t[1]:u(t[1],o.duration),s=t[2]):s=t[1]||t[2]):r=t,a||(l=l||o.easing),b.isFunction(r)&&(r=r.call(e,n,T)),b.isFunction(s)&&(s=s.call(e,n,T)),[r||0,l,s]},D=function(n,l){var s,u=k.Hooks.getRoot(n),p=!1,h=l[0],g=l[1],v=l[2];if(!(m&&m.isSVG||"tween"===u||k.Names.prefixCheck(u)[1]!==!1||k.Normalizations.registered[u]!==r))return void(S.debug&&console.log("Skipping ["+u+"] due to a lack of browser support."));(o.display!==r&&null!==o.display&&"none"!==o.display||o.visibility!==r&&"hidden"!==o.visibility)&&/opacity|filter/.test(n)&&!v&&0!==h&&(v=0),o._cacheValues&&f&&f[n]?(v===r&&(v=f[n].endValue+f[n].unitType),p=m.rootPropertyValueCache[u]):k.Hooks.registered[n]?v===r?(p=k.getPropertyValue(e,u),v=k.getPropertyValue(e,n,p)):p=k.Hooks.templates[u][1]:v===r&&(v=k.getPropertyValue(e,n));var y,E,N,x=!1,w=function(e,t){var a,r;return r=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return a=e,""}),a||(a=k.Values.getUnitType(e)),[r,a]};if(v!==h&&b.isString(v)&&b.isString(h)){s="";var P=0,C=0,T=[],V=[],A=0,j=0,F=0;for(v=k.Hooks.fixColors(v),h=k.Hooks.fixColors(h);P=4&&"("===O?A++:(A&&A<5||A>=4&&")"===O&&--A<5)&&(A=0),0===j&&"r"===O||1===j&&"g"===O||2===j&&"b"===O||3===j&&"a"===O||j>=3&&"("===O?(3===j&&"a"===O&&(F=1),j++):F&&","===O?++F>3&&(j=F=0):(F&&j<(F?5:4)||j>=(F?4:3)&&")"===O&&--j<(F?5:4))&&(j=F=0)}}P===v.length&&C===h.length||(S.debug&&console.error('Trying to pattern match mis-matched strings ["'+h+'", "'+v+'"]'),s=r),s&&(T.length?(S.debug&&console.log('Pattern found "'+s+'" -> ',T,V,"["+v+","+h+"]"),v=T,h=V,E=N=""):s=r)}s||(y=w(n,v),v=y[0],N=y[1],y=w(n,h),h=y[0].replace(/^([+-\/*])=/,function(e,t){return x=t,""}),E=y[1],v=parseFloat(v)||0,h=parseFloat(h)||0,"%"===E&&(/^(fontSize|lineHeight)$/.test(n)?(h/=100,E="em"):/^scale/.test(n)?(h/=100,E=""):/(Red|Green|Blue)$/i.test(n)&&(h=h/100*255,E="")));var U=function(){var r={myParent:e.parentNode||a.body,position:k.getPropertyValue(e,"position"),fontSize:k.getPropertyValue(e,"fontSize")},n=r.position===q.lastPosition&&r.myParent===q.lastParent,l=r.fontSize===q.lastFontSize;q.lastParent=r.myParent,q.lastPosition=r.position,q.lastFontSize=r.fontSize;var s=100,i={};if(l&&n)i.emToPx=q.lastEmToPx,i.percentToPxWidth=q.lastPercentToPxWidth,i.percentToPxHeight=q.lastPercentToPxHeight;else{var o=m&&m.isSVG?a.createElementNS("http://www.w3.org/2000/svg","rect"):a.createElement("div");S.init(o),r.myParent.appendChild(o),d.each(["overflow","overflowX","overflowY"],function(e,t){S.CSS.setPropertyValue(o,t,"hidden")}),S.CSS.setPropertyValue(o,"position",r.position),S.CSS.setPropertyValue(o,"fontSize",r.fontSize),S.CSS.setPropertyValue(o,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){S.CSS.setPropertyValue(o,t,s+"%")}),S.CSS.setPropertyValue(o,"paddingLeft",s+"em"),i.percentToPxWidth=q.lastPercentToPxWidth=(parseFloat(k.getPropertyValue(o,"width",null,!0))||1)/s,i.percentToPxHeight=q.lastPercentToPxHeight=(parseFloat(k.getPropertyValue(o,"height",null,!0))||1)/s,i.emToPx=q.lastEmToPx=(parseFloat(k.getPropertyValue(o,"paddingLeft"))||1)/s,r.myParent.removeChild(o)}return null===q.remToPx&&(q.remToPx=parseFloat(k.getPropertyValue(a.body,"fontSize"))||16),null===q.vwToPx&&(q.vwToPx=parseFloat(t.innerWidth)/100,q.vhToPx=parseFloat(t.innerHeight)/100),i.remToPx=q.remToPx,i.vwToPx=q.vwToPx,i.vhToPx=q.vhToPx,S.debug>=1&&console.log("Unit ratios: "+JSON.stringify(i),e),i};if(/[\/*]/.test(x))E=N;else if(N!==E&&0!==v)if(0===h)E=N;else{i=i||U();var $=/margin|padding|left|right|width|text|word|letter/i.test(n)||/X$/.test(n)||"x"===n?"x":"y";switch(N){case"%":v*="x"===$?i.percentToPxWidth:i.percentToPxHeight;break;case"px":break;default:v*=i[N+"ToPx"]}switch(E){case"%":v*=1/("x"===$?i.percentToPxWidth:i.percentToPxHeight);break;case"px":break;default:v*=1/i[E+"ToPx"]}}switch(x){case"+":h=v+h;break;case"-":h=v-h;break;case"*":h*=v;break;case"/":h=v/h}c[n]={rootPropertyValue:p,startValue:v,currentValue:v,endValue:h,unitType:E,easing:g},s&&(c[n].pattern=s),S.debug&&console.log("tweensContainer ("+n+"): "+JSON.stringify(c[n]),e)};for(var M in y)if(y.hasOwnProperty(M)){var L=k.Names.camelCase(M),I=O(y[M]);if(E(k.Lists.colors,L)){var H=I[0],R=I[1],z=I[2];if(k.RegEx.isHex.test(H)){for(var W=["Red","Green","Blue"],U=k.Values.hexToRgb(H),$=z?k.Values.hexToRgb(z):r,G=0;G768?e.className.indexOf("sidebar-collapse")===-1?e.className+=" sidebar-collapse":e.className=e.className.replace(" sidebar-collapse",""):e.className.indexOf("sidebar-open")===-1?e.className+=" sidebar-open":e.className=e.className.replace(" sidebar-open","")},render:function(){var t=this;return e.createElement("header",{className:"main-header"},e.createElement("a",{href:"index2.html",className:"logo"},e.createElement("span",{className:"logo-mini"},e.createElement("b",null,"A"),"LT"),e.createElement("span",{className:"logo-lg"},e.createElement("b",null,"Admin"),"LTE")),e.createElement("nav",{className:"navbar navbar-static-top",role:"navigation"},e.createElement("a",{href:"#",className:"sidebar-toggle","data-toggle":"offcanvas",role:"button",onClick:t.pushMenu},e.createElement("span",{className:"sr-only"},"Toggle navigation")),e.createElement("div",{className:"navbar-custom-menu"},e.createElement("ul",{className:"nav navbar-nav"},e.createElement(a,null),e.createElement(r,null),e.createElement(n,null),e.createElement("li",{className:"dropdown user user-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"user-image",alt:"User Image"}),e.createElement("span",{className:"hidden-xs"},"Alexander Pierce")),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"user-header"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"img-circle",alt:"User Image"}),e.createElement("p",null,"Alexander Pierce - Web Developer",e.createElement("small",null,"Member since Nov. 2012"))),e.createElement("li",{className:"user-body"},e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Followers")),e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Sales")),e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Friends"))),e.createElement("li",{className:"user-footer"},e.createElement("div",{className:"pull-left"},e.createElement("a",{href:"#",className:"btn btn-default btn-flat"},"Profile")),e.createElement("div",{className:"pull-right"},e.createElement("a",{href:"#",className:"btn btn-default btn-flat"},"Sign out"))))),e.createElement("li",null,e.createElement("a",{href:"#","data-toggle":"control-sidebar"},e.createElement("i",{className:"fa fa-gears"})))))))}});return l}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(14)],n=function(e,t){var a=e.createClass({displayName:"HeaderMessages",getInitialState:function(){return{messages:[]}},componentDidMount:function(){var e=[{title:"Support Team",displayPicture:"dist/img/user2-160x160.jpg",content:"Why not buy a new awesome theme?",time:"5 mins"},{title:"AdminLTE Design Team",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 hours"},{title:"Developers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Today"},{title:"Sales Department",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Yesterday"},{title:"Reviewers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 days"}];this.setState({messages:e})},render:function(){var a=this,r=this.state.messages.map(function(a,r){return e.createElement(t,{key:r,title:a.title,displayPicture:a.displayPicture,time:a.time,content:a.content})});return e.createElement("li",{className:"dropdown messages-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-envelope-o"}),e.createElement("span",{className:"label label-success"},a.state.messages.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.messages.length," messages"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},r),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"See All Messages"))))}});return a}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"MessageItem",render:function(){return e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("div",{className:"pull-left"},e.createElement("img",{src:this.props.displayPicture,className:"img-circle",alt:"User Image"})),e.createElement("h4",null,this.props.title,e.createElement("small",null,e.createElement("i",{className:"fa fa-clock-o"})," ",this.props.time)),e.createElement("p",null,this.props.content)))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(16)],n=function(e,t){var a=e.createClass({displayName:"HeaderNotifications",getInitialState:function(){return{notifications:[]}},componentDidMount:function(){var e=[{content:"5 new members joined today",theme:"fa fa-users text-aqua"},{content:"Very long description here that may not fit into the page and may cause design problems",theme:"fa fa-warning text-yellow"},{content:"5 new members joined",theme:"fa fa-users text-red"},{content:"25 sales made",theme:"fa fa-shopping-cart text-green"},{content:"You changed your username",className:"fa fa-user text-red"}];this.setState({notifications:e})},render:function(){var a=this,r=this.state.notifications.map(function(a,r){return e.createElement(t,{key:r,theme:a.theme,content:a.content})});return e.createElement("li",{className:"dropdown notifications-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-bell-o"}),e.createElement("span",{className:"label label-warning"},a.state.notifications.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.notifications.length," notifications"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},r),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"View all"))))}});return a}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"NotificationItem",render:function(){return e.createElement("li",{key:"header-notification-item"},e.createElement("a",{href:"#"},e.createElement("i",{className:this.props.theme})," ",this.props.content))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(18)],n=function(e,t){var a=e.createClass({displayName:"HeaderTasks",getInitialState:function(){return{tasks:[]}},componentDidMount:function(){var e=[{subject:"Design some buttons",percentage:20},{subject:"Create a nice theme",percentage:40},{subject:"Some task I need to do",percentage:60},{subject:"Make beautiful transitions",percentage:80}];this.setState({tasks:e})},render:function(){var a,r=this,n=this.state.tasks.map(function(r,n){return r.percentage<21?a="progress-bar-red":r.percentage>20&&r.percentage<41?a="progress-bar-yellow":r.percentage>40&&r.percentage<61?a="progress-bar-green":r.percentage>60&&(a="progress-bar-aqua"),e.createElement(t,{key:n,percentage:r.percentage,content:r.content,theme:a})});return e.createElement("li",{className:"dropdown tasks-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-flag-o"}),e.createElement("span",{className:"label label-danger"},r.state.tasks.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.tasks.length," tasks"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},n),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"View all tasks"))))}});return a}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"TaskItem",render:function(){var t={width:this.props.percentage+"%"};return e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("h3",null,this.props.content,e.createElement("small",{className:"pull-right"},this.props.percentage+"%")),e.createElement("div",{className:"progress xs"},e.createElement("div",{className:"progress-bar "+this.props.theme,style:t},e.createElement("span",{className:"sr-only"},this.props.percentage+"% Complete"," ")))))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"InfoTile",getDefaultProps:function(){return{content:"",icon:"fa-star-o",stats:"0",subject:"Default Subject",theme:"bg-aqua"}},render:function(){return this.props.children?e.createElement("div",{className:"col-md-"+this.props.width+" col-sm-6 col-xs-12"},e.createElement("div",{className:"info-box "+this.props.theme},e.createElement("span",{className:"info-box-icon"},e.createElement("i",{className:"fa "+this.props.icon})),e.createElement("div",{className:"info-box-content"},e.createElement("span",{className:"info-box-text"},this.props.subject),e.createElement("span",{className:"info-box-number"},this.props.stats),this.props.children),this.props.content)):e.createElement("div",{className:"col-md-3 col-sm-6 col-xs-12"},e.createElement("div",{className:"info-box"},e.createElement("span",{className:"info-box-icon "+this.props.theme},e.createElement("i",{className:"fa "+this.props.icon})),e.createElement("div",{className:"info-box-content"},e.createElement("span",{className:"info-box-text"},this.props.subject),e.createElement("span",{className:"info-box-number"},this.props.stats)),this.props.content))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"ProgressBar",getDefaultProps:function(){return{percent:50,description:"Default progress 50%",color:"white"}},render:function(){var t={width:this.props.percent+"%",backgroundColor:this.props.color};return e.createElement("div",null,e.createElement("div",{className:"progress"},e.createElement("div",{className:"progress-bar",style:t})),e.createElement("span",{className:"progress-description"},this.props.description))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(2)],n=function(e,t){var a=e.createClass({displayName:"NavigationMenu",render:function(){return e.createElement("aside",{className:"main-sidebar"},e.createElement("section",{className:"sidebar"},e.createElement("div",{className:"user-panel"},e.createElement("div",{className:"pull-left image"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"img-circle",alt:"User Image"})),e.createElement("div",{className:"pull-left info"},e.createElement("p",null,"Alexander Pierce"),e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle text-success"})," Online"))),e.createElement("form",{action:"#",method:"get",className:"sidebar-form"},e.createElement("div",{className:"input-group"},e.createElement("input",{type:"text",name:"q",className:"form-control",placeholder:"Search..."}),e.createElement("span",{className:"input-group-btn"},e.createElement("button",{type:"submit",name:"search",id:"search-btn",className:"btn btn-flat"},e.createElement("i",{className:"fa fa-search"}))))),e.createElement("ul",{ -className:"sidebar-menu"},e.createElement("li",{className:"header"},"MAIN NAVIGATION"),e.createElement("li",{className:"active treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-dashboard"}),e.createElement("span",null,"Dashboard"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",{className:"active"},e.createElement("a",{href:"index.html"},e.createElement("i",{className:"fa fa-circle-o"})," Dashboard v1")),e.createElement("li",null,e.createElement("a",{href:"index2.html"},e.createElement("i",{className:"fa fa-circle-o"})," Dashboard v2")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-files-o"}),e.createElement("span",null,"Layout Options"),e.createElement("span",{className:"label label-primary pull-right"},"4")),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/layout/top-nav.html"},e.createElement("i",{className:"fa fa-circle-o"})," Top Navigation")),e.createElement("li",null,e.createElement("a",{href:"pages/layout/boxed.html"},e.createElement("i",{className:"fa fa-circle-o"})," Boxed")),e.createElement("li",null,e.createElement("a",{href:"pages/layout/fixed.html"},e.createElement("i",{className:"fa fa-circle-o"})," Fixed")),e.createElement("li",null,e.createElement("a",{href:"pages/layout/collapsed-sidebar.html"},e.createElement("i",{className:"fa fa-circle-o"})," Collapsed Sidebar")))),e.createElement("li",null,e.createElement("a",{href:"pages/widgets.html"},e.createElement("i",{className:"fa fa-th"}),e.createElement("span",null,"Widgets"),e.createElement("small",{className:"label pull-right bg-green"},"new"))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-pie-chart"}),e.createElement("span",null,"Charts"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/charts/chartjs.html"},e.createElement("i",{className:"fa fa-circle-o"})," ChartJS")),e.createElement("li",null,e.createElement("a",{href:"pages/charts/morris.html"},e.createElement("i",{className:"fa fa-circle-o"})," Morris")),e.createElement("li",null,e.createElement("a",{href:"pages/charts/flot.html"},e.createElement("i",{className:"fa fa-circle-o"})," Flot")),e.createElement("li",null,e.createElement("a",{href:"pages/charts/inline.html"},e.createElement("i",{className:"fa fa-circle-o"})," Inline charts")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-laptop"}),e.createElement("span",null,"UI Elements"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/UI/general.html"},e.createElement("i",{className:"fa fa-circle-o"})," General")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/icons.html"},e.createElement("i",{className:"fa fa-circle-o"})," Icons")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/buttons.html"},e.createElement("i",{className:"fa fa-circle-o"})," Buttons")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/sliders.html"},e.createElement("i",{className:"fa fa-circle-o"})," Sliders")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/timeline.html"},e.createElement("i",{className:"fa fa-circle-o"})," Timeline")),e.createElement("li",null,e.createElement("a",{href:"pages/UI/modals.html"},e.createElement("i",{className:"fa fa-circle-o"})," Modals")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-edit"})," ",e.createElement("span",null,"Forms"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/forms/general.html"},e.createElement("i",{className:"fa fa-circle-o"})," General Elements")),e.createElement("li",null,e.createElement("a",{href:"pages/forms/advanced.html"},e.createElement("i",{className:"fa fa-circle-o"})," Advanced Elements")),e.createElement("li",null,e.createElement("a",{href:"pages/forms/editors.html"},e.createElement("i",{className:"fa fa-circle-o"})," Editors")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-table"})," ",e.createElement("span",null,"Tables"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/tables/simple.html"},e.createElement("i",{className:"fa fa-circle-o"})," Simple tables")),e.createElement("li",null,e.createElement("a",{href:"pages/tables/data.html"},e.createElement("i",{className:"fa fa-circle-o"})," Data tables")))),e.createElement("li",null,e.createElement("a",{href:"pages/calendar.html"},e.createElement("i",{className:"fa fa-calendar"})," ",e.createElement("span",null,"Calendar"),e.createElement("small",{className:"label pull-right bg-red"},"3"))),e.createElement("li",null,e.createElement("a",{href:"pages/mailbox/mailbox.html"},e.createElement("i",{className:"fa fa-envelope"})," ",e.createElement("span",null,"Mailbox"),e.createElement("small",{className:"label pull-right bg-yellow"},"12"))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-folder"})," ",e.createElement("span",null,"Examples"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"pages/examples/invoice.html"},e.createElement("i",{className:"fa fa-circle-o"})," Invoice")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/profile.html"},e.createElement("i",{className:"fa fa-circle-o"})," Profile")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/login.html"},e.createElement("i",{className:"fa fa-circle-o"})," Login")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/register.html"},e.createElement("i",{className:"fa fa-circle-o"})," Register")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/lockscreen.html"},e.createElement("i",{className:"fa fa-circle-o"})," Lockscreen")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/404.html"},e.createElement("i",{className:"fa fa-circle-o"})," 404 Error")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/500.html"},e.createElement("i",{className:"fa fa-circle-o"})," 500 Error")),e.createElement("li",null,e.createElement("a",{href:"pages/examples/blank.html"},e.createElement("i",{className:"fa fa-circle-o"})," Blank Page")))),e.createElement("li",{className:"treeview"},e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-share"})," ",e.createElement("span",null,"Multilevel"),e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level One")),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level One ",e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Two")),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Two ",e.createElement("i",{className:"fa fa-angle-left pull-right"})),e.createElement("ul",{className:"treeview-menu"},e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Three")),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level Three")))))),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o"})," Level One")))),e.createElement("li",null,e.createElement("a",{href:"documentation/index.html"},e.createElement("i",{className:"fa fa-book"})," ",e.createElement("span",null,"Documentation"))),e.createElement("li",{className:"header"},"LABELS"),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o text-red"})," ",e.createElement("span",null,"Important"))),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o text-yellow"})," ",e.createElement("span",null,"Warning"))),e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("i",{className:"fa fa-circle-o text-aqua"})," ",e.createElement("span",null,"Information"))))))}});return a}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"Attachment",render:function(){return e.createElement("div",{className:"attachment-block clearfix"},e.createElement("img",{className:"attachment-img",src:this.props.picture,alt:"attachment image"}),e.createElement("div",{className:"attachment-pushed"},e.createElement("h4",{className:"attachment-heading"},e.createElement("a",{href:this.props.link},this.props.title)),e.createElement("div",{className:"attachment-text"},this.props.content,e.createElement("a",{href:this.props.link},"more"))))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"Post",getDefaultProps:function(){return{content:"sample comment",displayName:"John Doe",displayPicture:"../dist/img/user4-128x128.jpg",date:"8:03 PM Today"}},render:function(){return e.createElement("div",{className:"box-comment"},e.createElement("img",{className:"img-circle img-sm",src:this.props.displayPicture,alt:"user image"}),e.createElement("div",{className:"comment-text"},e.createElement("span",{className:"username"},this.props.displayName,e.createElement("span",{className:"text-muted pull-right"},this.props.date)),this.props.content))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(3),a(23),a(22),a(4)],n=function(e,t,a,r,n){var l=e.createClass({displayName:"Post",getDefaultProps:function(){return{displayName:"John Doe",description:"My profile description",displayPicture:"../dist/img/user7-128x128.jpg"}},toggleCollapse:function(e){var a=t.findDOMNode(this).children[0],r=t.findDOMNode(this).children[0].children[1],l=e.currentTarget.children[0];n.toggleBoxCollapse(a,r,l)},removeBox:function(e){var a=t.findDOMNode(this).children[0];n.removeBox(a)},render:function(){var t="",n=[],l=[];return this.props.postPicture&&(t=e.createElement("img",{className:"img-responsive pad",src:this.props.postPicture,alt:"Photo"})),this.props.attachments&&(n=this.props.attachments.map(function(t,a){return e.createElement(r,{key:a,title:t.title,picture:t.picture,link:t.link,content:t.content})})),this.props.comments&&(l=this.props.comments.map(function(t,r){return e.createElement(a,{key:r,displayName:t.displayName,displayPicture:t.displayPicture,date:t.date,content:t.content})})),e.createElement("div",{className:"col-md-"+this.props.width},e.createElement("div",{className:"box box-widget"},e.createElement("div",{className:"box-header with-border"},e.createElement("div",{className:"user-block"},e.createElement("img",{className:"img-circle",src:this.props.displayPicture,alt:"user image"}),e.createElement("span",{className:"username"},e.createElement("a",{href:"#"},this.props.displayName)),e.createElement("span",{className:"description"},this.props.date)),e.createElement("div",{className:"box-tools"},e.createElement("button",{className:"btn btn-box-tool","data-toggle":"tooltip",title:"Mark as read"},e.createElement("i",{className:"fa fa-circle-o"})),e.createElement("button",{className:"btn btn-box-tool","data-widget":"collapse",onClick:this.toggleCollapse},e.createElement("i",{className:"fa fa-minus"})),e.createElement("button",{className:"btn btn-box-tool","data-widget":"remove",onClick:this.removeBox},e.createElement("i",{className:"fa fa-times"})))),e.createElement("div",{className:"box-body"},t,e.createElement("p",null,this.props.content),n,this.props.children),e.createElement("div",{className:"box-footer box-comments"},l),e.createElement("div",{className:"box-footer"},e.createElement("form",{action:"#",method:"post"},e.createElement("img",{className:"img-responsive img-circle img-sm",src:"../dist/img/user4-128x128.jpg",alt:"alt text"}),e.createElement("div",{className:"img-push"},e.createElement("input",{type:"text",className:"form-control input-sm",placeholder:"Press enter to post comment"}))))))}});return l}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"SocialButton",getDefaultProps:function(){return{position:"",type:"like",theme:"btn-default"}},render:function(){var t;switch(this.props.position){case"left":t="pull-left";break;case"right":t="pull-right";break;default:t=""}return"like"===this.props.type?e.createElement("button",{className:"btn btn-xs "+t+" "+this.props.theme},e.createElement("i",{className:"fa fa-thumbs-o-up"}),"Like"):"share"===this.props.type?e.createElement("button",{className:"btn btn-xs "+t+" "+this.props.theme},e.createElement("i",{className:"fa fa-share"}),"Share"):void 0}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"SocialInfo",getDefaultProps:function(){return{info:"",position:"pull-right"}},render:function(){var t="";switch(this.props.position){case"left":t="pull-left";break;case"right":t="pull-right";break;default:t="pull-right"}return e.createElement("span",{className:"text-muted "+t},this.props.info)}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"ProfileCard",getDefaultProps:function(){return{pictureAlignment:"center",theme:"bg-yellow",displayName:"John Doe",description:"My profile description",displayPicture:"../dist/img/user7-128x128.jpg"}},render:function(){var t={},a="widget-user",r="";return"left"===this.props.pictureAlignment&&(a="widget-user-2",r="no-padding"),this.props.coverPicture&&(t={background:"url("+this.props.coverPicture+") center"}),e.createElement("div",{className:"col-md-"+this.props.width},e.createElement("div",{className:"box box-widget "+a},e.createElement("div",{className:"widget-user-header "+this.props.theme,style:t},e.createElement("div",{className:"widget-user-image"},e.createElement("img",{className:"img-circle",src:this.props.displayPicture,alt:"User Avatar"})),e.createElement("h3",{className:"widget-user-username"},this.props.displayName),e.createElement("h5",{className:"widget-user-desc"},this.props.description)),e.createElement("div",{className:"box-footer "+r},this.props.children)))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"ProfileInfoBlocks",render:function(){var t=this.props.list.map(function(t,a){return e.createElement("div",{className:"col-sm-4 border-right",key:a},e.createElement("div",{className:"description-block"},e.createElement("h5",{className:"description-header"},t.stats),e.createElement("span",{className:"description-text"},t.description)))});return e.createElement("div",{className:"row"},t)}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"ProfileInfoList",render:function(){var t=this.props.list.map(function(t,a){return e.createElement("li",{key:a},e.createElement("a",{href:t.link},t.description,e.createElement("span",{className:"pull-right badge "+t.badgeTheme},t.stats)))});return e.createElement("ul",{className:"nav nav-stacked"},t)}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"StatTile",getDefaultProps:function(){return{color:"bg-yellow",icon:"ion-person-add",subject:"Default Subject",stats:"0",link:"/default/link"}},render:function(){var t="",a=e.createElement("h3",null," ",this.props.stats," ");if(this.props.link&&(t=e.createElement("a",{href:this.props.link,className:"small-box-footer"},"More info ",e.createElement("i",{className:"fa fa-arrow-circle-right"}))),this.props.stats.indexOf("%")!==-1){var r={fontSize:"20px"};a=e.createElement("h3",null,this.props.stats.replace(/%/g,""),e.createElement("sup",{style:r},"%"))}return e.createElement("div",{className:"col-lg-"+this.props.width+" col-xs-6"},e.createElement("div",{className:"small-box "+this.props.theme},e.createElement("div",{className:"inner"},a,e.createElement("p",null,this.props.subject)),e.createElement("div",{className:"icon"},e.createElement("i",{className:"fa "+this.props.icon})),t))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"TimeLabel",getDefaultProps:function(){return{theme:"bg-red",content:"Default content"}},render:function(){return e.createElement("li",{className:"time-label"},e.createElement("span",{className:this.props.theme},this.props.content))}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"TimelineBody",getDefaultProps:function(){return{content:"Sample content"}},render:function(){return e.createElement("div",{className:"timeline-body"},this.props.content,this.props.children)}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"TimelineFooter",render:function(){return e.createElement("div",{className:"timeline-footer"},this.props.content,this.props.children)}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1)],n=function(e){var t=e.createClass({displayName:"TimelineHeader",render:function(){return e.createElement("h3",{className:"timeline-header"},e.createElement("a",{href:this.props.url,target:"_blank"},this.props.title),this.props.content,this.props.children)}});return t}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(34),a(32),a(33)],n=function(e,t,a,r){var n=e.createClass({displayName:"TimelineItem",getDefaultProps:function(){return{icon:"fa fa-coffee",iconTheme:"bg-blue",time:""}},render:function(){var n="",l="";return this.props.body&&(n=e.createElement(a,{content:this.props.body.content},this.props.body.markup)),this.props.footer&&(l=e.createElement(r,{content:this.props.footer.content},this.props.footer.markup)),e.createElement("li",null,e.createElement("i",{className:this.props.icon+" "+this.props.iconTheme}),e.createElement("div",{className:"timeline-item"},e.createElement("span",{className:"time"},e.createElement("i",{className:"fa fa-clock-o"}),this.props.time),e.createElement(t,{url:this.props.header.url,title:this.props.header.title,content:this.props.header.content}),n,l))}});return n}.apply(t,r),!(void 0!==n&&(e.exports=n))},function(e,t,a){var r,n;r=[a(1),a(31),a(35)],n=function(e,t,a){var r=e.createClass({displayName:"Timeline",render:function(){var r=[];return this.props.children?r=this.props.children:this.props.timelineInfo.map(function(n,l){n.endDate&&r.push(e.createElement(t,{key:"label1"+l,theme:"bg-red",content:n.endDate})),n.items.map(function(t,n){r.push(e.createElement(a,{key:"item"+l+"."+n,icon:t.icon,iconTheme:t.iconTheme,time:t.time,header:t.header,body:t.body,footer:t.footer}))}),n.startDate&&r.push(e.createElement(t,{key:"label2"+l,theme:"bg-green",content:n.startDate}))}),e.createElement("div",{className:"col-md-12"},e.createElement("ul",{className:"timeline"},r,e.createElement("li",null,e.createElement("i",{className:"fa fa-clock-o bg-gray"}))))}});return r}.apply(t,r),!(void 0!==n&&(e.exports=n))}])}); +!function(e,t){for(var a in t)e[a]=t[a]}(exports,function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},a.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=41)}([function(e,t){e.exports=require("react")},function(e,t,a){"use strict";var r=a(0),n=a(39);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var s=(new r.Component).updater;e.exports=n(r.Component,r.isValidElement,s)},function(e,t){e.exports=require("react-dom")},function(e,t){e.exports=require("jquery")},function(e,t,a){"use strict";var r,n;r=[t,a(3),a(5)],void 0===(n=function(e,t,a){e.toggleBoxCollapse=function(e,a,r){-1!==e.className.indexOf("collapsed-box")?(r.className=r.className.replace(/fa-plus/g,"fa-minus"),t(a).velocity("slideDown",{duration:500,easing:"easeInSine",complete:function(){e.className=e.className.replace(/ collapsed-box/g,"")}})):(r.className=r.className.replace(/fa-minus/g,"fa-plus"),t(a).velocity("slideUp",{duration:500,easing:"easeInSine",complete:function(){e.className+=" collapsed-box"}}))},e.removeBox=function(e){t(e).velocity("slideUp",{duration:500,easing:"easeInSine"})},e.initialize=function(){return{bootstrapTooltips:function(e){t("body").tooltip({selector:e})}}}}.apply(t,r))||(e.exports=n)},function(e,t,a){var r,n;!function(e){"use strict";if(!e.jQuery){var t=function(e,a){return new t.fn.init(e,a)};t.isWindow=function(e){return e&&e===e.window},t.type=function(e){return e?"object"==typeof e||"function"==typeof e?r[s.call(e)]||"object":typeof e:e+""},t.isArray=Array.isArray||function(e){return"array"===t.type(e)},t.isPlainObject=function(e){var a;if(!e||"object"!==t.type(e)||e.nodeType||t.isWindow(e))return!1;try{if(e.constructor&&!n.call(e,"constructor")&&!n.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(a in e);return void 0===a||n.call(e,a)},t.each=function(e,t,a){var r=0,n=e.length,s=o(e);if(a){if(s)for(;r0&&a-1 in e))}}(window),function(s){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=s():void 0===(n="function"==typeof(r=s)?r.call(t,a,t,e):r)||(e.exports=n)}(function(){"use strict";return function(e,t,a,r){var n,s=function(){if(a.documentMode)return a.documentMode;for(var e=7;e>4;e--){var t=a.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]>=0?t:Math.max(0,r+t),i=(a<0?r+a:Math.min(a,r))-l;if(i>0)if(s=new Array(i),this.charAt)for(n=0;n=0}:function(e,t){for(var a=0;a1e-4&&Math.abs(i.v)>1e-4;);return s?function(e){return c[e*(c.length-1)|0]}:u}}();g.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},m.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){g.Easings[t[0]]=S.apply(null,t[1])});var v=g.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=1?"":"alpha(opacity="+parseInt(100*parseFloat(a),10)+")"}else switch(e){case"name":return"opacity";case"extract":case"inject":return a}}},register:function(){s&&!(s>9)||g.State.isGingerbread||(v.Lists.transformsBase=v.Lists.transformsBase.concat(v.Lists.transforms3D));for(var e=0;e8)&&3===l.split(" ").length&&(l+=" 1"),l;case"inject":return/^rgb/.test(n)?n:(s<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(s<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function a(e,t,a){if("border-box"===v.getPropertyValue(t,"boxSizing").toString().toLowerCase()===(a||!1)){var r,n,s=0,l="width"===e?["Left","Right"]:["Top","Bottom"],i=["padding"+l[0],"padding"+l[1],"border"+l[0]+"Width","border"+l[1]+"Width"];for(r=0;r=2&&console.log("Get "+a+": "+o),o},setPropertyValue:function(e,a,r,n,l){var i=a;if("scroll"===a)l.container?l.container["scroll"+l.direction]=r:"Left"===l.direction?t.scrollTo(r,l.alternateValue):t.scrollTo(l.alternateValue,r);else if(v.Normalizations.registered[a]&&"transform"===v.Normalizations.registered[a]("name",e))v.Normalizations.registered[a]("inject",e,r),i="transform",r=x(e).transformCache[a];else{if(v.Hooks.registered[a]){var o=a,c=v.Hooks.getRoot(a);n=n||v.getPropertyValue(e,c),r=v.Hooks.injectValue(o,r,n),a=c}if(v.Normalizations.registered[a]&&(r=v.Normalizations.registered[a]("inject",e,r),a=v.Normalizations.registered[a]("name",e)),i=v.Names.prefixCheck(a)[0],s<=8)try{e.style[i]=r}catch(e){g.debug&&console.log("Browser does not support ["+r+"] for ["+i+"]")}else{var u=x(e);u&&u.isSVG&&v.Names.SVGAttribute(a)?e.setAttribute(a,r):e.style[i]=r}g.debug>=2&&console.log("Set "+a+" ("+i+"): "+r)}return[i,r]},flushTransformCache:function(e){var t="",a=x(e);if((s||g.State.isAndroid&&!g.State.isChrome)&&a&&a.isSVG){var r=function(t){return parseFloat(v.getPropertyValue(e,t))},n={translate:[r("translateX"),r("translateY")],skewX:[r("skewX")],skewY:[r("skewY")],scale:1!==r("scale")?[r("scale"),r("scale")]:[r("scaleX"),r("scaleY")],rotate:[r("rotateZ"),0,0]};m.each(x(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(t+=e+"("+n[e].join(" ")+") ",delete n[e])})}else{var l,i;m.each(x(e).transformCache,function(a){if(l=x(e).transformCache[a],"transformPerspective"===a)return i=l,!0;9===s&&"rotateZ"===a&&(a="rotate"),t+=a+l+" "}),i&&(t="perspective"+i+" "+t)}v.setPropertyValue(e,"transform",t)}};v.Hooks.register(),v.Normalizations.register(),g.hook=function(e,t,a){var n;return e=u(e),m.each(e,function(e,s){if(x(s)===r&&g.init(s),a===r)n===r&&(n=v.getPropertyValue(s,t));else{var l=v.setPropertyValue(s,t,a);"transform"===l[0]&&g.CSS.flushTransformCache(s),n=l}}),n};var E=function(){var e;function n(){return s?b.promise||null:l}var s,l,i,o,f,h,y=arguments[0]&&(arguments[0].p||m.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||p.isString(arguments[0].properties));p.isWrapped(this)?(s=!1,i=0,o=this,l=this):(s=!0,i=1,o=y?arguments[0].elements||arguments[0].e:arguments[0]);var b={promise:null,resolver:null,rejecter:null};if(s&&g.Promise&&(b.promise=new g.Promise(function(e,t){b.resolver=e,b.rejecter=t})),y?(f=arguments[0].properties||arguments[0].p,h=arguments[0].options||arguments[0].o):(f=arguments[i],h=arguments[i+1]),o=u(o)){var N,S=o.length,V=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(f)&&!m.isPlainObject(h)){h={};for(var A=i+1;A=4&&"("===M?A++:(A&&A<5||A>=4&&")"===M&&--A<5)&&(A=0),0===D&&"r"===M||1===D&&"g"===M||2===D&&"b"===M||3===D&&"a"===M||D>=3&&"("===M?(3===D&&"a"===M&&(F=1),D++):F&&","===M?++F>3&&(D=F=0):(F&&D<(F?5:4)||D>=(F?4:3)&&")"===M&&--D<(F?5:4))&&(D=F=0)}}k===b.length&&T===h.length||(g.debug&&console.error('Trying to pattern match mis-matched strings ["'+h+'", "'+b+'"]'),o=r),o&&(C.length?(g.debug&&console.log('Pattern found "'+o+'" -> ',C,V,"["+b+","+h+"]"),b=C,h=V,x=w=""):o=r)}if(o||(b=(N=S(n,b))[0],w=N[1],h=(N=S(n,h))[0].replace(/^([+-\/*])=/,function(e,t){return P=t,""}),x=N[1],b=parseFloat(b)||0,h=parseFloat(h)||0,"%"===x&&(/^(fontSize|lineHeight)$/.test(n)?(h/=100,x="em"):/^scale/.test(n)?(h/=100,x=""):/(Red|Green|Blue)$/i.test(n)&&(h=h/100*255,x=""))),/[\/*]/.test(P))x=w;else if(w!==x&&0!==b)if(0===h)x=w;else{s=s||function(){var r={myParent:e.parentNode||a.body,position:v.getPropertyValue(e,"position"),fontSize:v.getPropertyValue(e,"fontSize")},n=r.position===O.lastPosition&&r.myParent===O.lastParent,s=r.fontSize===O.lastFontSize;O.lastParent=r.myParent,O.lastPosition=r.position,O.lastFontSize=r.fontSize;var l={};if(s&&n)l.emToPx=O.lastEmToPx,l.percentToPxWidth=O.lastPercentToPxWidth,l.percentToPxHeight=O.lastPercentToPxHeight;else{var i=d&&d.isSVG?a.createElementNS("http://www.w3.org/2000/svg","rect"):a.createElement("div");g.init(i),r.myParent.appendChild(i),m.each(["overflow","overflowX","overflowY"],function(e,t){g.CSS.setPropertyValue(i,t,"hidden")}),g.CSS.setPropertyValue(i,"position",r.position),g.CSS.setPropertyValue(i,"fontSize",r.fontSize),g.CSS.setPropertyValue(i,"boxSizing","content-box"),m.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){g.CSS.setPropertyValue(i,t,"100%")}),g.CSS.setPropertyValue(i,"paddingLeft","100em"),l.percentToPxWidth=O.lastPercentToPxWidth=(parseFloat(v.getPropertyValue(i,"width",null,!0))||1)/100,l.percentToPxHeight=O.lastPercentToPxHeight=(parseFloat(v.getPropertyValue(i,"height",null,!0))||1)/100,l.emToPx=O.lastEmToPx=(parseFloat(v.getPropertyValue(i,"paddingLeft"))||1)/100,r.myParent.removeChild(i)}return null===O.remToPx&&(O.remToPx=parseFloat(v.getPropertyValue(a.body,"fontSize"))||16),null===O.vwToPx&&(O.vwToPx=parseFloat(t.innerWidth)/100,O.vhToPx=parseFloat(t.innerHeight)/100),l.remToPx=O.remToPx,l.vwToPx=O.vwToPx,l.vhToPx=O.vhToPx,g.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),e),l}();var Y=/margin|padding|left|right|width|text|word|letter/i.test(n)||/X$/.test(n)||"x"===n?"x":"y";switch(w){case"%":b*="x"===Y?s.percentToPxWidth:s.percentToPxHeight;break;case"px":break;default:b*=s[w+"ToPx"]}switch(x){case"%":b*=1/("x"===Y?s.percentToPxWidth:s.percentToPxHeight);break;case"px":break;default:b*=1/s[x+"ToPx"]}}switch(P){case"+":h=b+h;break;case"-":h=b-h;break;case"*":h*=b;break;case"/":h=b/h}u[n]={rootPropertyValue:f,startValue:b,currentValue:b,endValue:h,unitType:x,easing:E},o&&(u[n].pattern=o),g.debug&&console.log("tweensContainer ("+n+"): "+JSON.stringify(u[n]),e)}else g.debug&&console.log("Skipping ["+c+"] due to a lack of browser support.")};for(var I in f)if(f.hasOwnProperty(I)){var B=v.Names.camelCase(I),L=M(f[I]);if(c(v.Lists.colors,B)){var H=L[0],q=L[1],_=L[2];if(v.RegEx.isHex.test(H)){for(var z=["Red","Green","Blue"],Y=v.Values.hexToRgb(H),W=_?v.Values.hexToRgb(_):r,U=0;U=l?function(t,a){for(var n=0;n0?n=l:a=l}while(Math.abs(s)>i&&++c1e4&&(g.State.calls=function(e){for(var t=-1,a=e?e.length:0,r=[];++t20&&r.percentage<41?t="progress-bar-yellow":r.percentage>40&&r.percentage<61?t="progress-bar-green":r.percentage>60&&(t="progress-bar-aqua"),e.createElement(a,{key:n,percentage:r.percentage,content:r.content,theme:t})});return e.createElement("li",{className:"dropdown tasks-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-flag-o"}),e.createElement("span",{className:"label label-danger"},this.state.tasks.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.tasks.length," tasks"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},r),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"View all tasks"))))}})}.apply(t,r))||(e.exports=n)},function(e,t,a){"use strict";var r,n;r=[a(0),a(1)],void 0===(n=function(e,t){return t({displayName:"NotificationItem",render:function(){return e.createElement("li",{key:"header-notification-item"},e.createElement("a",{href:"#"},e.createElement("i",{className:this.props.theme})," ",this.props.content))}})}.apply(t,r))||(e.exports=n)},function(e,t,a){"use strict";var r,n;r=[a(0),a(1),a(32)],void 0===(n=function(e,t,a){return t({displayName:"HeaderNotifications",getInitialState:function(){return{notifications:[]}},componentDidMount:function(){this.setState({notifications:[{content:"5 new members joined today",theme:"fa fa-users text-aqua"},{content:"Very long description here that may not fit into the page and may cause design problems",theme:"fa fa-warning text-yellow"},{content:"5 new members joined",theme:"fa fa-users text-red"},{content:"25 sales made",theme:"fa fa-shopping-cart text-green"},{content:"You changed your username",className:"fa fa-user text-red"}]})},render:function(){var t=this.state.notifications.map(function(t,r){return e.createElement(a,{key:r,theme:t.theme,content:t.content})});return e.createElement("li",{className:"dropdown notifications-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-bell-o"}),e.createElement("span",{className:"label label-warning"},this.state.notifications.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.notifications.length," notifications"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},t),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"View all"))))}})}.apply(t,r))||(e.exports=n)},function(e,t,a){"use strict";var r,n;r=[a(0),a(1)],void 0===(n=function(e,t){return t({displayName:"MessageItem",render:function(){return e.createElement("li",null,e.createElement("a",{href:"#"},e.createElement("div",{className:"pull-left"},e.createElement("img",{src:this.props.displayPicture,className:"img-circle",alt:"User Image"})),e.createElement("h4",null,this.props.title,e.createElement("small",null,e.createElement("i",{className:"fa fa-clock-o"})," ",this.props.time)),e.createElement("p",null,this.props.content)))}})}.apply(t,r))||(e.exports=n)},function(e,t,a){"use strict";var r,n;r=[a(0),a(1),a(34)],void 0===(n=function(e,t,a){return t({displayName:"HeaderMessages",getInitialState:function(){return{messages:[]}},componentDidMount:function(){this.setState({messages:[{title:"Support Team",displayPicture:"dist/img/user2-160x160.jpg",content:"Why not buy a new awesome theme?",time:"5 mins"},{title:"AdminLTE Design Team",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 hours"},{title:"Developers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Today"},{title:"Sales Department",displayPicture:"dist/img/user3-128x128.jpg",content:"Why not buy a new awesome theme?",time:"Yesterday"},{title:"Reviewers",displayPicture:"dist/img/user4-128x128.jpg",content:"Why not buy a new awesome theme?",time:"2 days"}]})},render:function(){var t=this.state.messages.map(function(t,r){return e.createElement(a,{key:r,title:t.title,displayPicture:t.displayPicture,time:t.time,content:t.content})});return e.createElement("li",{className:"dropdown messages-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("i",{className:"fa fa-envelope-o"}),e.createElement("span",{className:"label label-success"},this.state.messages.length)),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"header"},"You have ",this.state.messages.length," messages"),e.createElement("li",null,e.createElement("div",{className:"slimScrollDiv"},e.createElement("ul",{className:"menu"},t),e.createElement("div",{className:"slimScrollBar"}),e.createElement("div",{className:"slimScrollRail"}))),e.createElement("li",{className:"footer"},e.createElement("a",{href:"#"},"See All Messages"))))}})}.apply(t,r))||(e.exports=n)},function(e,t,a){"use strict";var r=function(e){};e.exports=function(e,t,a,n,s,l,i,o){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[a,n,s,l,i,o],m=0;(c=new Error(t.replace(/%s/g,function(){return u[m++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,a){"use strict";e.exports={}},function(e,t,a){"use strict";var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,l,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o768?-1===e.className.indexOf("sidebar-collapse")?e.className+=" sidebar-collapse":e.className=e.className.replace(" sidebar-collapse",""):-1===e.className.indexOf("sidebar-open")?e.className+=" sidebar-open":e.className=e.className.replace(" sidebar-open","")},render:function(){return e.createElement("header",{className:"main-header"},e.createElement("a",{href:"index2.html",className:"logo"},e.createElement("span",{className:"logo-mini"},e.createElement("b",null,"A"),"LT"),e.createElement("span",{className:"logo-lg"},e.createElement("b",null,"Admin"),"LTE")),e.createElement("nav",{className:"navbar navbar-static-top",role:"navigation"},e.createElement("a",{href:"#",className:"sidebar-toggle","data-toggle":"offcanvas",role:"button",onClick:this.pushMenu},e.createElement("span",{className:"sr-only"},"Toggle navigation")),e.createElement("div",{className:"navbar-custom-menu"},e.createElement("ul",{className:"nav navbar-nav"},e.createElement(r,null),e.createElement(n,null),e.createElement(s,null),e.createElement("li",{className:"dropdown user user-menu"},e.createElement("a",{href:"#",className:"dropdown-toggle","data-toggle":"dropdown"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"user-image",alt:"User Image"}),e.createElement("span",{className:"hidden-xs"},"Alexander Pierce")),e.createElement("ul",{className:"dropdown-menu"},e.createElement("li",{className:"user-header"},e.createElement("img",{src:"dist/img/user2-160x160.jpg",className:"img-circle",alt:"User Image"}),e.createElement("p",null,"Alexander Pierce - Web Developer",e.createElement("small",null,"Member since Nov. 2012"))),e.createElement("li",{className:"user-body"},e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Followers")),e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Sales")),e.createElement("div",{className:"col-xs-4 text-center"},e.createElement("a",{href:"#"},"Friends"))),e.createElement("li",{className:"user-footer"},e.createElement("div",{className:"pull-left"},e.createElement("a",{href:"#",className:"btn btn-default btn-flat"},"Profile")),e.createElement("div",{className:"pull-right"},e.createElement("a",{href:"#",className:"btn btn-default btn-flat"},"Sign out"))))),e.createElement("li",null,e.createElement("a",{href:"#","data-toggle":"control-sidebar"},e.createElement("i",{className:"fa fa-gears"})))))))}})}.apply(t,r))||(e.exports=n)},function(e,t,a){"use strict";var r=a(40),n=a(29),s=a(28),l=a(27),i=a(26),o=a(25),c=a(22),u=a(21),m=a(20),p=a(19),f=a(18),d=a(17),h=a(16),g=a(13),y=a(12),v=a(11),E=a(4);console.log(r),t.HeaderBar=r,t.NavigationMenu=n,t.InfoTile=s,t.ProgressBar=l,t.StatTile=i,t.CustomBox=o,t.ChatBox=c,t.Conversations=u,t.Contacts=m,t.ProfileCard=p,t.ProfileInfoList=f,t.ProfileInfoBlocks=d,t.Post=h,t.SocialButton=g,t.SocialInfo=y,t.Timeline=v,t.initialize=E.initialize()}])); //# sourceMappingURL=reactjsAdminlte.js.map \ No newline at end of file diff --git a/reactjsAdminlte.js.map b/reactjsAdminlte.js.map index 3392f21b..ab780f15 100644 --- a/reactjsAdminlte.js.map +++ b/reactjsAdminlte.js.map @@ -1 +1 @@ -{"version":3,"file":"./reactjsAdminlte.js","sources":["webpack:///./reactjsAdminlte.js"],"mappings":"AAAA;;AAEA;AACA;AACA","sourceRoot":""} \ No newline at end of file +{"version":3,"file":"./reactjsAdminlte.js","sources":["webpack:///webpack/bootstrap"],"sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 41);\n"],"mappings":"AACA","sourceRoot":""} \ No newline at end of file diff --git a/src/components/chat-box/chat-box.js b/src/components/chat-box/chat-box.js index 24393045..02fde54e 100755 --- a/src/components/chat-box/chat-box.js +++ b/src/components/chat-box/chat-box.js @@ -1,11 +1,12 @@ define( [ 'react', + 'create-react-class', 'react-dom', '../../services/common-functions' ], - function (React, ReactDOM, commonFunctions) { - var ChatBox = React.createClass({ + function (React, createReactClass, ReactDOM, commonFunctions) { + var ChatBox = createReactClass({ getDefaultProps: function() { return { headerTheme: 'box-primary', diff --git a/src/components/chat-box/contacts.js b/src/components/chat-box/contacts.js index fbc800e6..e351f8d5 100755 --- a/src/components/chat-box/contacts.js +++ b/src/components/chat-box/contacts.js @@ -1,9 +1,10 @@ define( [ - 'react' + 'react', + 'create-react-class', ], - function (React) { - var Contacts = React.createClass({ + function (React, createReactClass) { + var Contacts = createReactClass({ render: function() { var contacts = this.props.contacts.map(function(contactDetails, iterator){ diff --git a/src/components/chat-box/conversations.js b/src/components/chat-box/conversations.js index 33e02960..aca7434f 100755 --- a/src/components/chat-box/conversations.js +++ b/src/components/chat-box/conversations.js @@ -1,9 +1,10 @@ define( [ - 'react' + 'react', + 'create-react-class', ], - function (React) { - var Conversations = React.createClass({ + function (React, createReactClass) { + var Conversations = createReactClass({ render: function() { var conversations = this.props.conversations.map(function(messageDetails, iterator){ diff --git a/src/components/controls-menu.js b/src/components/controls-menu.js index d27a76ef..b7b35285 100755 --- a/src/components/controls-menu.js +++ b/src/components/controls-menu.js @@ -1,10 +1,11 @@ define( [ 'react', + 'create-react-class', 'jquery', ], - function(React,$){ - var ControlsMenu = React.createClass({ + function (React, createReactClass, $){ + var ControlsMenu = createReactClass({ componentDidMount:function(){ }, diff --git a/src/components/custom-box/box-tool.js b/src/components/custom-box/box-tool.js index bfb00e4c..4f791a89 100755 --- a/src/components/custom-box/box-tool.js +++ b/src/components/custom-box/box-tool.js @@ -1,11 +1,12 @@ define( [ 'react', + 'create-react-class', 'react-dom', './box-functions' ], - function (React, ReactDOM, boxFunctions) { - var BoxTool = React.createClass({ + function (React, createReactClass, ReactDOM, boxFunctions) { + var BoxTool = createReactClass({ toggleCollapse: function(event){ var box = boxFunctions.findClosestElement(event.currentTarget, this.props.containerClass), boxBody = box.children[1], diff --git a/src/components/custom-box/box.js b/src/components/custom-box/box.js index 4efc3094..3fbec651 100755 --- a/src/components/custom-box/box.js +++ b/src/components/custom-box/box.js @@ -1,10 +1,11 @@ define( [ 'react', + 'create-react-class', 'react-dom', ], - function (React, ReactDOM) { - var Box = React.createClass({ + function (React, createReactClass, ReactDOM) { + var Box = createReactClass({ getDefaultProps: function() { return { collapsed: false, diff --git a/src/components/header-bar/header-bar.js b/src/components/header-bar/header-bar.js index 87b44046..0560ad71 100755 --- a/src/components/header-bar/header-bar.js +++ b/src/components/header-bar/header-bar.js @@ -1,13 +1,14 @@ define( [ 'react', + 'create-react-class', 'jquery', './header-messages/header-messages', './header-notifications/header-notifications', './header-tasks/header-tasks' ], - function (React, $, HeaderMessages, HeaderNotifications, HeaderTasks) { - var HeaderBar = React.createClass({ + function (React, createReactClass, $, HeaderMessages, HeaderNotifications, HeaderTasks) { + var HeaderBar = createReactClass({ pushMenu: function () { var body = document.body; if(body.clientWidth > 768){ diff --git a/src/components/header-bar/header-messages/header-messages.js b/src/components/header-bar/header-messages/header-messages.js index f579bd62..f9fb8ff4 100755 --- a/src/components/header-bar/header-messages/header-messages.js +++ b/src/components/header-bar/header-messages/header-messages.js @@ -1,10 +1,11 @@ define( [ 'react', + 'create-react-class', './message-item' ], - function (React, MessageItem) { - var HeaderMessages = React.createClass({ + function (React, createReactClass, MessageItem) { + var HeaderMessages = createReactClass({ getInitialState: function () { return { messages: [] diff --git a/src/components/header-bar/header-messages/message-item.js b/src/components/header-bar/header-messages/message-item.js index 8a442af9..41aac220 100755 --- a/src/components/header-bar/header-messages/message-item.js +++ b/src/components/header-bar/header-messages/message-item.js @@ -1,9 +1,10 @@ define( [ 'react', + 'create-react-class', ], - function (React) { - var MessageItem = React.createClass({ + function (React, createReactClass) { + var MessageItem = createReactClass({ render: function () { diff --git a/src/components/header-bar/header-notifications/header-notifications.js b/src/components/header-bar/header-notifications/header-notifications.js index 5ee85a54..58087a24 100755 --- a/src/components/header-bar/header-notifications/header-notifications.js +++ b/src/components/header-bar/header-notifications/header-notifications.js @@ -1,10 +1,11 @@ define( [ 'react', + 'create-react-class', './notification-item' ], - function (React, NotificationItem) { - var HeaderNotifications = React.createClass({ + function (React, createReactClass, NotificationItem) { + var HeaderNotifications = createReactClass({ getInitialState: function () { return { notifications: [] diff --git a/src/components/header-bar/header-notifications/notification-item.js b/src/components/header-bar/header-notifications/notification-item.js index 9be1807c..d64ac344 100755 --- a/src/components/header-bar/header-notifications/notification-item.js +++ b/src/components/header-bar/header-notifications/notification-item.js @@ -1,9 +1,10 @@ define( [ - 'react' + 'react', + 'create-react-class', ], - function (React) { - var NotificationItem = React.createClass({ + function (React, createReactClass) { + var NotificationItem = createReactClass({ render: function () { return ( diff --git a/src/components/header-bar/header-tasks/header-tasks.js b/src/components/header-bar/header-tasks/header-tasks.js index 750f4e8d..f1afc00c 100755 --- a/src/components/header-bar/header-tasks/header-tasks.js +++ b/src/components/header-bar/header-tasks/header-tasks.js @@ -1,10 +1,11 @@ define( [ 'react', + 'create-react-class', './task-item' ], - function (React, TaskItem) { - var HeaderTasks = React.createClass({ + function (React, createReactClass, TaskItem) { + var HeaderTasks = createReactClass({ getInitialState: function () { return { tasks: [] diff --git a/src/components/header-bar/header-tasks/task-item.js b/src/components/header-bar/header-tasks/task-item.js index db3f191d..890a2472 100755 --- a/src/components/header-bar/header-tasks/task-item.js +++ b/src/components/header-bar/header-tasks/task-item.js @@ -1,9 +1,10 @@ define( [ - 'react' + 'react', + 'create-react-class', ], - function (React) { - var TaskItem = React.createClass({ + function (React, createReactClass) { + var TaskItem = createReactClass({ render: function(){ var stylePercentage = { diff --git a/src/components/info-tile/info-tile.js b/src/components/info-tile/info-tile.js index cbd8ca94..92567de0 100755 --- a/src/components/info-tile/info-tile.js +++ b/src/components/info-tile/info-tile.js @@ -1,9 +1,10 @@ define( [ - 'react' + 'react', + 'create-react-class', ], - function (React) { - var InfoTile = React.createClass({ + function (React, createReactClass) { + var InfoTile = createReactClass({ getDefaultProps: function() { return { content: '', diff --git a/src/components/info-tile/progress-bar.js b/src/components/info-tile/progress-bar.js index 3e9dff58..2ebca4ae 100755 --- a/src/components/info-tile/progress-bar.js +++ b/src/components/info-tile/progress-bar.js @@ -1,9 +1,10 @@ define( [ - 'react' + 'react', + 'create-react-class', ], - function (React) { - var ProgressBar = React.createClass({ + function (React, createReactClass) { + var ProgressBar = createReactClass({ getDefaultProps: function() { return { percent: 50, diff --git a/src/components/navigation-menu.js b/src/components/navigation-menu.js index d3cdcdbe..955bcf03 100755 --- a/src/components/navigation-menu.js +++ b/src/components/navigation-menu.js @@ -1,10 +1,11 @@ define( [ 'react', + 'create-react-class', 'jquery', ], - function (React, $) { - var NavigationMenu = React.createClass({ + function (React, createReactClass, $) { + var NavigationMenu = createReactClass({ render: function () { return (