-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-79052bc0d89acac6a1cc.js
2 lines (2 loc) · 11.7 KB
/
component---src-pages-index-js-79052bc0d89acac6a1cc.js
1
2
webpackJsonp([35783957827783],{98:function(e,t,n){"use strict";function r(e){return e}function o(e,t,n){function o(e,t){var n=E.hasOwnProperty(t)?E[t]:null;O.hasOwnProperty(t)&&u("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&u("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function a(e,n){if(n){u("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),u(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,a=r.__reactAutoBindPairs;n.hasOwnProperty(l)&&v.mixins(e,n.mixins);for(var i in n)if(n.hasOwnProperty(i)&&i!==l){var s=n[i],c=r.hasOwnProperty(i);if(o(c,i),v.hasOwnProperty(i))v[i](e,s);else{var p=E.hasOwnProperty(i),h="function"==typeof s,y=h&&!p&&!c&&n.autobind!==!1;if(y)a.push(i,s),r[i]=s;else if(c){var m=E[i];u(p&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,i),"DEFINE_MANY_MERGED"===m?r[i]=f(r[i],s):"DEFINE_MANY"===m&&(r[i]=d(r[i],s))}else r[i]=s}}}else;}function c(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in v;u(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in e;u(!a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function p(e,t){u(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(u(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function f(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function d(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function y(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}function m(e){var t=r(function(e,r,o){this.__reactAutoBindPairs.length&&y(this),this.props=e,this.context=r,this.refs=s,this.updater=o||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;u("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a});t.prototype=new N,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],b.forEach(a.bind(null,t)),a(t,_),a(t,e),a(t,g),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in E)t.prototype[o]||(t.prototype[o]=null);return t}var b=[],E={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},v={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)a(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=f(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){c(e,t)},autobind:function(){}},_={componentDidMount:function(){this.__isMounted=!0}},g={componentWillUnmount:function(){this.__isMounted=!1}},O={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},N=function(){};return i(N.prototype,e.prototype,O),m}var a,i=n(3),s=n(36),u=n(1),l="mixins";a={},e.exports=o},314:function(e,t){},168:function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,c,p){if("string"!=typeof c){if(l){var f=u(c);f&&f!==l&&e(t,f,p)}var d=a(c);i&&(d=d.concat(i(c)));for(var h=0;h<d.length;++h){var y=d[h];if(!(n[y]||r[y]||p&&p[y])){var m=s(c,y);try{o(t,y,m)}catch(e){}}}return t}return t}},3:function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)a.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var p=0;p<s.length;p++)i.call(r,s[p])&&(u[s[p]]=r[s[p]])}}return u}},528:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(5),p=r(c),f=n(7),d=r(f),h=n(529),y=r(h),m=function(e){function t(){a(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.displayName="FontAwesome",e}return s(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.border,n=e.cssModule,r=e.className,a=e.fixedWidth,i=e.flip,s=e.inverse,l=e.name,c=e.pulse,f=e.rotate,d=e.size,h=e.spin,m=e.stack,b=e.tag,E=void 0===b?"span":b,v=e.ariaLabel,_=o(e,["border","cssModule","className","fixedWidth","flip","inverse","name","pulse","rotate","size","spin","stack","tag","ariaLabel"]),g=[];return n?(g.push(n.fa),g.push(n["fa-"+l]),d&&g.push(n["fa-"+d]),h&&g.push(n["fa-spin"]),c&&g.push(n["fa-pulse"]),t&&g.push(n["fa-border"]),a&&g.push(n["fa-fw"]),s&&g.push(n["fa-inverse"]),i&&g.push(n["fa-flip-"+i]),f&&g.push(n["fa-rotate-"+f]),m&&g.push(n["fa-stack-"+m])):(g.push("fa"),g.push("fa-"+l),d&&g.push("fa-"+d),h&&g.push("fa-spin"),c&&g.push("fa-pulse"),t&&g.push("fa-border"),a&&g.push("fa-fw"),s&&g.push("fa-inverse"),i&&g.push("fa-flip-"+i),f&&g.push("fa-rotate-"+f),m&&g.push("fa-stack-"+m)),r&&g.push(r),p.default.createElement(E,u({},_,{"aria-hidden":!0,className:g.join(" ")}),v?p.default.createElement("span",{style:y.default},v):null)}}]),t}(p.default.Component);m.propTypes={ariaLabel:d.default.string,border:d.default.bool,className:d.default.string,cssModule:d.default.object,fixedWidth:d.default.bool,flip:d.default.oneOf(["horizontal","vertical"]),inverse:d.default.bool,name:d.default.string.isRequired,pulse:d.default.bool,rotate:d.default.oneOf([90,180,270]),size:d.default.oneOf(["lg","2x","3x","4x","5x"]),spin:d.default.bool,stack:d.default.oneOf(["1x","2x"]),tag:d.default.string},t.default=m,e.exports=t.default},529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={position:"absolute",width:"1px",height:"1px",padding:"0px",margin:"-1px",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",border:"0px"},e.exports=t.default},315:function(e,t){},228:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(5),a=r(o);n(315),t.default=function(e){var t=e.children;return a.default.createElement("div",null,t)},e.exports=t.default},229:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(5),a=r(o),i=n(528),s=r(i);t.default=function(e){var t=e.url,n=e.iconName,r=e.color;return a.default.createElement("a",{href:t,style:{color:r}},a.default.createElement(s.default,{name:n}))},e.exports=t.default},230:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(5),u=r(s),l=n(229),c=r(l);n(314);var p=function(e){function t(n){o(this,t);var r=a(this,e.call(this,n));return r._getRandomColor=function(){var e=Math.floor(Math.random()*r.colors.length);return r.colors[e]},r.colors=["red","orange","royalblue","purple"],r.state={data:n.data},r}return i(t,e),t.prototype.render=function(){var e=this._getRandomColor(),t=this.state.data.map(function(t){var n=t.iconName,r=t.url;return u.default.createElement(c.default,{key:n,url:r,iconName:n,color:e})});return u.default.createElement("div",{style:{display:"flex",justifyContent:"space-around"}},t)},t}(u.default.Component);t.default=p,e.exports=t.default},233:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.query=void 0;var o=n(5),a=r(o),i=n(328),s=(r(i),n(228)),u=r(s),l=n(230),c=r(l),p=function(e){var t=e.data;return a.default.createElement(u.default,null,a.default.createElement("h1",{style:{marginBottom:"1px"}},"Alex"),a.default.createElement("h1",null,"Chrostowski"),a.default.createElement(c.default,{data:t.site.siteMetadata.social}))};t.default=p;t.query="** extracted graphql fragment **"}});
//# sourceMappingURL=component---src-pages-index-js-79052bc0d89acac6a1cc.js.map