Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-custom-share

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-custom-share - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/index.js

@@ -1,1 +0,1 @@

module.exports=function(e){var n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=n,r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)r.d(t,o,function(n){return e[n]}.bind(null,o));return t},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s=30)}([function(e,n,r){e.exports=r(29)()},function(e,n){e.exports=require("react")},function(e,n,r){var t={},o=function(e){var n;return function(){return void 0===n&&(n=e.apply(this,arguments)),n}}(function(){return window&&document&&document.all&&!window.atob}),a=function(e){var n={};return function(e){if("function"==typeof e)return e();if(void 0===n[e]){var r=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}n[e]=r}return n[e]}}(),i=null,s=0,c=[],u=r(21);function l(e,n){for(var r=0;r<e.length;r++){var o=e[r],a=t[o.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](o.parts[i]);for(;i<o.parts.length;i++)a.parts.push(v(o.parts[i],n))}else{var s=[];for(i=0;i<o.parts.length;i++)s.push(v(o.parts[i],n));t[o.id]={id:o.id,refs:1,parts:s}}}}function f(e,n){for(var r=[],t={},o=0;o<e.length;o++){var a=e[o],i=n.base?a[0]+n.base:a[0],s={css:a[1],media:a[2],sourceMap:a[3]};t[i]?t[i].parts.push(s):r.push(t[i]={id:i,parts:[s]})}return r}function d(e,n){var r=a(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var t=c[c.length-1];if("top"===e.insertAt)t?t.nextSibling?r.insertBefore(n,t.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),c.push(n);else if("bottom"===e.insertAt)r.appendChild(n);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=a(e.insertInto+" "+e.insertAt.before);r.insertBefore(n,o)}}function p(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var n=c.indexOf(e);n>=0&&c.splice(n,1)}function b(e){var n=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),h(n,e.attrs),d(e,n),n}function h(e,n){Object.keys(n).forEach(function(r){e.setAttribute(r,n[r])})}function v(e,n){var r,t,o,a;if(n.transform&&e.css){if(!(a=n.transform(e.css)))return function(){};e.css=a}if(n.singleton){var c=s++;r=i||(i=b(n)),t=m.bind(null,r,c,!1),o=m.bind(null,r,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(e){var n=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",h(n,e.attrs),d(e,n),n}(n),t=function(e,n,r){var t=r.css,o=r.sourceMap,a=void 0===n.convertToAbsoluteUrls&&o;(n.convertToAbsoluteUrls||a)&&(t=u(t));o&&(t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([t],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}.bind(null,r,n),o=function(){p(r),r.href&&URL.revokeObjectURL(r.href)}):(r=b(n),t=function(e,n){var r=n.css,t=n.media;t&&e.setAttribute("media",t);if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,r),o=function(){p(r)});return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else o()}}e.exports=function(e,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(n=n||{}).attrs="object"==typeof n.attrs?n.attrs:{},n.singleton||"boolean"==typeof n.singleton||(n.singleton=o()),n.insertInto||(n.insertInto="head"),n.insertAt||(n.insertAt="bottom");var r=f(e,n);return l(r,n),function(e){for(var o=[],a=0;a<r.length;a++){var i=r[a];(s=t[i.id]).refs--,o.push(s)}e&&l(f(e,n),n);for(a=0;a<o.length;a++){var s;if(0===(s=o[a]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete t[s.id]}}}};var g=function(){var e=[];return function(n,r){return e[n]=r,e.filter(Boolean).join("\n")}}();function m(e,n,r,t){var o=r?"":t.css;if(e.styleSheet)e.styleSheet.cssText=g(n,o);else{var a=document.createTextNode(o),i=e.childNodes;i[n]&&e.removeChild(i[n]),i.length?e.insertBefore(a,i[n]):e.appendChild(a)}}},function(e,n){e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var r=function(e,n){var r=e[1]||"",t=e[3];if(!t)return r;if(n&&"function"==typeof btoa){var o=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(t),a=t.sources.map(function(e){return"/*# sourceURL="+t.sourceRoot+e+" */"});return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}(n,e);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var t={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(t[a]=!0)}for(o=0;o<e.length;o++){var i=e[o];"number"==typeof i[0]&&t[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),n.push(i))}},n}},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(){function e(e,n){for(var r=0;r<n.length;r++){var t=n[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(n,r,t){return r&&e(n.prototype,r),t&&e(n,t),n}}(),o=c(r(1)),a=c(r(0)),i=c(r(27)),s=c(r(26));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}var l=function(e){function n(){var e,r,t;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,a=Array(o),c=0;c<o;c++)a[c]=arguments[c];return r=t=u(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),t.onClick=function(e){e.preventDefault();var n=t.props.url,r=t.props.network,o=t.props.text,a=(0,s.default)({network:r,url:n,text:o});t.openShareWindow(a)},t.onKeyPress=function(e){},t.openShareWindow=function(e){(0,i.default)(e)},u(t,r)}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(n,o.default.PureComponent),t(n,[{key:"render",value:function(){var e=this.props,n=e.network,r=e.children,t=e.defaultStyleClass;return o.default.createElement("button",{className:t,"aria-label":"share on "+n,onClick:this.onClick},r)}}]),n}();l.propTypes={network:a.default.string.isRequired,url:a.default.string.isRequired,text:a.default.string,children:a.default.node,defaultStyleClass:a.default.string},n.default=l},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=i(r(1)),a=i(r(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var n=e.url,r=e.button,a=e.buttons,i=e.text,s=void 0===i?"":i,c=e.themeClass,u=void 0===c?"":c;return o.default.createElement("div",{className:"rcs-shareblock "+u},a.map(function(e){var a=e.network,i=e.icon,c=function(e,n){var r={};for(var t in e)n.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["network","icon"]);return o.default.createElement(r,t({key:a,network:a,url:n,text:s},c),o.default.createElement(i,null))}))};s.propTypes={url:a.default.string.isRequired,button:a.default.func.isRequired,buttons:a.default.array.isRequired,text:a.default.string,themeClass:a.default.string},n.default=s},function(e,n,r){(e.exports=r(3)(!1)).push([e.i,".rcs-shareblock--standard {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-orient: horizontal;\r\n -webkit-box-direction: normal;\r\n -ms-flex-direction: row;\r\n flex-direction: row;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n -webkit-box-pack: center;\r\n -ms-flex-pack: center;\r\n justify-content: center;\r\n}\r\n",""])},function(e,n,r){var t=r(6);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(2)(t,o);t.locals&&(e.exports=t.locals)},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=s(r(1)),a=s(r(0));r(7);var i=s(r(5));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return o.default.createElement(i.default,t({themeClass:"rcs-shareblock--standard"},e))};c.propTypes={url:a.default.string.isRequired,button:a.default.func.isRequired,buttons:a.default.array.isRequired,text:a.default.string},n.default=c},function(e,n,r){(e.exports=r(3)(!1)).push([e.i,'.rcs-sharebutton--round-square {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: currentColor;\n border: 0;\n border-radius: 8%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 3px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--round-square > svg {\n fill: #fff;\n height: 50%;\n -webkit-transform: rotate(0) scale(1);\n transform: rotate(0) scale(1);\n -webkit-transition: 0.5s;\n transition: 0.5s;\n width: 50%;\n}\n.rcs-sharebutton--round-square.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--round-square.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--round-square.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--round-square.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--round-square.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--round-square.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (hover: hover) {\n .rcs-sharebutton--round-square:hover {\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n\n .rcs-sharebutton--round-square:hover > svg {\n filter: url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="3" /><feOffset dx="1" dy="1" result="offsetblur" /><feFlood flood-color="rgba(255,255,255,1)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter\');\n -webkit-filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));\n filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));\n -webkit-transform: rotate(360deg) scale(1.2);\n transform: rotate(360deg) scale(1.2);\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--round-square {\n margin: 5px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--round-square {\n margin: 7px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--round-square {\n margin: 10px;\n }\n}\n',""])},function(e,n,r){var t=r(9);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(2)(t,o);t.locals&&(e.exports=t.locals)},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=s(r(1)),a=s(r(0));r(10);var i=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,t({defaultStyleClass:"rcs-sharebutton--round-square rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,r){(e.exports=r(3)(!1)).push([e.i,".rcs-sharebutton--rectangle {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: currentColor;\n border: 0;\n color: #666;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-preferred-size: 44px;\n flex-basis: 44px;\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n min-height: 44px;\n overflow: hidden;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n.rcs-sharebutton--rectangle > svg {\n fill: #fff;\n height: 24px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 24px;\n}\n.rcs-sharebutton--rectangle.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--rectangle.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--rectangle.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--rectangle.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--rectangle.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--rectangle.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (hover: hover) {\n .rcs-sharebutton--rectangle:hover > svg {\n -webkit-transform: rotate(-5deg) scale(3);\n transform: rotate(-5deg) scale(3);\n }\n}\n",""])},function(e,n,r){var t=r(12);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(2)(t,o);t.locals&&(e.exports=t.locals)},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=s(r(1)),a=s(r(0));r(13);var i=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,t({defaultStyleClass:"rcs-sharebutton--rectangle rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,r){(e.exports=r(3)(!1)).push([e.i,'.rcs-sharebutton--outline {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: none;\n border: 0;\n border-radius: 50%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 3px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--outline > svg {\n fill: white;\n filter: url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="2" /><feOffset dx="1" dy="1" result="offsetblur" /><feFlood flood-color="rgba(0,0,0,0.5)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter\');\n -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));\n filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));\n height: 80%;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 80%;\n}\n.rcs-sharebutton--outline.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--outline.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--outline.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--outline.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--outline.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--outline.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (hover: hover) {\n .rcs-sharebutton--outline:hover > svg {\n fill: currentColor;\n\n /* filter: drop-shadow(0 0 1px currentColor); */\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--outline {\n margin: 5px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--outline {\n margin: 7px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--outline {\n margin: 10px;\n }\n}\n',""])},function(e,n,r){var t=r(15);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(2)(t,o);t.locals&&(e.exports=t.locals)},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=s(r(1)),a=s(r(0));r(16);var i=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,t({defaultStyleClass:"rcs-sharebutton--outline rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,r){(e.exports=r(3)(!1)).push([e.i,".rcs-sharebutton--icon-only {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: none;\n border: 0;\n border-radius: 50%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 1px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--icon-only > svg {\n fill: currentColor;\n height: 65%;\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 65%;\n}\n.rcs-sharebutton--icon-only.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--icon-only.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--icon-only.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--icon-only.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--icon-only.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--icon-only.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (hover: hover) {\n .rcs-sharebutton--icon-only:hover {\n background: currentColor;\n -webkit-box-shadow: 0 0 10px currentColor;\n box-shadow: 0 0 10px currentColor;\n }\n\n .rcs-sharebutton--icon-only:hover > svg {\n fill: #fff;\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--icon-only {\n margin: 3px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--icon-only {\n margin: 5px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--icon-only {\n margin: 7px;\n }\n}\n",""])},function(e,n,r){var t=r(18);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(2)(t,o);t.locals&&(e.exports=t.locals)},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=s(r(1)),a=s(r(0));r(19);var i=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,t({defaultStyleClass:"rcs-sharebutton--icon-only rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n){e.exports=function(e){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=n.protocol+"//"+n.host,t=r+n.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,n){var o,a=n.trim().replace(/^"(.*)"$/,function(e,n){return n}).replace(/^'(.*)'$/,function(e,n){return n});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(o=0===a.indexOf("//")?a:0===a.indexOf("/")?r+a:t+a.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,n,r){(e.exports=r(3)(!1)).push([e.i,".rcs-sharebutton--circle {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: currentColor;\n border: 0;\n border-radius: 50%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 3px;\n position: relative;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--circle::before {\n background-color: rgba(255, 255, 255, .2);\n border-bottom-left-radius: 100px;\n border-top-left-radius: 100px;\n color: inherit;\n content: '';\n height: 100%;\n left: 50%;\n position: absolute;\n top: 50%;\n -webkit-transform: translate(-100%, -50%);\n transform: translate(-100%, -50%);\n -webkit-transition: 0.2s;\n transition: 0.2s;\n width: 50%;\n}\n.rcs-sharebutton--circle > svg {\n fill: #fff;\n height: 70%;\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 70%;\n z-index: 1;\n}\n.rcs-sharebutton--circle.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--circle.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--circle.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--circle.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--circle.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--circle.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (hover: hover) {\n .rcs-sharebutton--circle:hover::before {\n background-color: rgba(0, 0, 0, .1);\n -webkit-transform: translate(0%, -50%) rotateY(180deg);\n transform: translate(0%, -50%) rotateY(180deg);\n }\n\n .rcs-sharebutton--circle:hover > svg {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--circle {\n margin: 5px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--circle {\n margin: 7px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--circle {\n margin: 10px;\n }\n}\n",""])},function(e,n,r){var t=r(22);"string"==typeof t&&(t=[[e.i,t,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};r(2)(t,o);t.locals&&(e.exports=t.locals)},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},o=s(r(1)),a=s(r(0));r(23);var i=s(r(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,t({defaultStyleClass:"rcs-sharebutton--circle rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return"?"+Object.keys(e).filter(function(n){return!!e[n]}).map(function(n){return n+"="+encodeURIComponent(e[n])}).join("&")}},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(e){return e&&e.__esModule?e:{default:e}}(r(25));n.default=function(e){var n=e.network,r=function(e,n){var r={};for(var t in e)n.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r}(e,["network"]);return function(e){return{facebook:function(e){var n=e.url,r=e.text,o=void 0===r?"":r,a=e.hashtag,i=void 0===a?"":a;return"https://www.facebook.com/sharer/sharer.php"+(0,t.default)({u:n,quote:o,hashtag:i})},twitter:function(e){var n=e.url,r=e.text,o=void 0===r?"":r,a=e.via,i=void 0===a?"":a,s=e.hashtags,c=void 0===s?[]:s;return"https://twitter.com/share"+(0,t.default)({url:n,text:o,via:i,hashtags:c.join(",")})},googleplus:function(e){var n=e.url;return"https://plus.google.com/share"+(0,t.default)({url:n})},linkedin:function(e){var n=e.url,r=e.text,o=void 0===r?"":r,a=e.longerText,i=void 0===a?"":a;return"https://linkedin.com/shareArticle"+(0,t.default)({url:n,title:o,summary:i})},pinterest:function(e){var n=e.media,r=e.text,o=void 0===r?"":r;return"https://pinterest.com/pin/create/button/"+(0,t.default)({media:n,description:o})}}[e.toLowerCase()]}(n)(r)}},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:600,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:400,t={height:r,width:n,left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-n/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-r/2,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"};return window.open(e,"share",Object.keys(t).map(function(e){return e+"="+t[e]}).join(","))}},function(e,n,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,n,r){"use strict";var t=r(28);function o(){}e.exports=function(){function e(e,n,r,o,a,i){if(i!==t){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=r(4);Object.defineProperty(n,"ShareButton",{enumerable:!0,get:function(){return f(t).default}});var o=r(5);Object.defineProperty(n,"ShareBlock",{enumerable:!0,get:function(){return f(o).default}});var a=r(24);Object.defineProperty(n,"ShareButtonCircle",{enumerable:!0,get:function(){return f(a).default}});var i=r(20);Object.defineProperty(n,"ShareButtonIconOnly",{enumerable:!0,get:function(){return f(i).default}});var s=r(17);Object.defineProperty(n,"ShareButtonOutline",{enumerable:!0,get:function(){return f(s).default}});var c=r(14);Object.defineProperty(n,"ShareButtonRectangle",{enumerable:!0,get:function(){return f(c).default}});var u=r(11);Object.defineProperty(n,"ShareButtonRoundSquare",{enumerable:!0,get:function(){return f(u).default}});var l=r(8);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"ShareBlockStandard",{enumerable:!0,get:function(){return f(l).default}})}]);
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("react"));else if("function"==typeof define&&define.amd)define(["React"],n);else{var t="object"==typeof exports?n(require("react")):n(e.React);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(window,function(e){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=30)}([function(e,n,t){e.exports=t(29)()},function(n,t){n.exports=e},function(e,n,t){var r={},o=function(e){var n;return function(){return void 0===n&&(n=e.apply(this,arguments)),n}}(function(){return window&&document&&document.all&&!window.atob}),a=function(e){var n={};return function(e){if("function"==typeof e)return e();if(void 0===n[e]){var t=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}}(),i=null,s=0,c=[],u=t(21);function l(e,n){for(var t=0;t<e.length;t++){var o=e[t],a=r[o.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](o.parts[i]);for(;i<o.parts.length;i++)a.parts.push(v(o.parts[i],n))}else{var s=[];for(i=0;i<o.parts.length;i++)s.push(v(o.parts[i],n));r[o.id]={id:o.id,refs:1,parts:s}}}}function f(e,n){for(var t=[],r={},o=0;o<e.length;o++){var a=e[o],i=n.base?a[0]+n.base:a[0],s={css:a[1],media:a[2],sourceMap:a[3]};r[i]?r[i].parts.push(s):t.push(r[i]={id:i,parts:[s]})}return t}function d(e,n){var t=a(e.insertInto);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=c[c.length-1];if("top"===e.insertAt)r?r.nextSibling?t.insertBefore(n,r.nextSibling):t.appendChild(n):t.insertBefore(n,t.firstChild),c.push(n);else if("bottom"===e.insertAt)t.appendChild(n);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=a(e.insertInto+" "+e.insertAt.before);t.insertBefore(n,o)}}function p(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var n=c.indexOf(e);n>=0&&c.splice(n,1)}function b(e){var n=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),h(n,e.attrs),d(e,n),n}function h(e,n){Object.keys(n).forEach(function(t){e.setAttribute(t,n[t])})}function v(e,n){var t,r,o,a;if(n.transform&&e.css){if(!(a=n.transform(e.css)))return function(){};e.css=a}if(n.singleton){var c=s++;t=i||(i=b(n)),r=m.bind(null,t,c,!1),o=m.bind(null,t,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(t=function(e){var n=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",h(n,e.attrs),d(e,n),n}(n),r=function(e,n,t){var r=t.css,o=t.sourceMap,a=void 0===n.convertToAbsoluteUrls&&o;(n.convertToAbsoluteUrls||a)&&(r=u(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}.bind(null,t,n),o=function(){p(t),t.href&&URL.revokeObjectURL(t.href)}):(t=b(n),r=function(e,n){var t=n.css,r=n.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}.bind(null,t),o=function(){p(t)});return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else o()}}e.exports=function(e,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(n=n||{}).attrs="object"==typeof n.attrs?n.attrs:{},n.singleton||"boolean"==typeof n.singleton||(n.singleton=o()),n.insertInto||(n.insertInto="head"),n.insertAt||(n.insertAt="bottom");var t=f(e,n);return l(t,n),function(e){for(var o=[],a=0;a<t.length;a++){var i=t[a];(s=r[i.id]).refs--,o.push(s)}e&&l(f(e,n),n);for(a=0;a<o.length;a++){var s;if(0===(s=o[a]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}};var g=function(){var e=[];return function(n,t){return e[n]=t,e.filter(Boolean).join("\n")}}();function m(e,n,t,r){var o=t?"":r.css;if(e.styleSheet)e.styleSheet.cssText=g(n,o);else{var a=document.createTextNode(o),i=e.childNodes;i[n]&&e.removeChild(i[n]),i.length?e.insertBefore(a,i[n]):e.appendChild(a)}}},function(e,n){e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=function(e,n){var t=e[1]||"",r=e[3];if(!r)return t;if(n&&"function"==typeof btoa){var o=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),a=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[t].concat(a).concat([o]).join("\n")}return[t].join("\n")}(n,e);return n[2]?"@media "+n[2]+"{"+t+"}":t}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(r[a]=!0)}for(o=0;o<e.length;o++){var i=e[o];"number"==typeof i[0]&&r[i[0]]||(t&&!i[2]?i[2]=t:t&&(i[2]="("+i[2]+") and ("+t+")"),n.push(i))}},n}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),o=c(t(1)),a=c(t(0)),i=c(t(27)),s=c(t(26));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?e:n}var l=function(e){function n(){var e,t,r;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,a=Array(o),c=0;c<o;c++)a[c]=arguments[c];return t=r=u(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),r.onClick=function(e){e.preventDefault();var n=r.props.url,t=r.props.network,o=r.props.text,a=(0,s.default)({network:t,url:n,text:o});r.openShareWindow(a)},r.onKeyPress=function(e){},r.openShareWindow=function(e){(0,i.default)(e)},u(r,t)}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(n,o.default.PureComponent),r(n,[{key:"render",value:function(){var e=this.props,n=e.network,t=e.children,r=e.defaultStyleClass;return o.default.createElement("button",{className:r,"aria-label":"share on "+n,onClick:this.onClick},t)}}]),n}();l.propTypes={network:a.default.string.isRequired,url:a.default.string.isRequired,text:a.default.string,children:a.default.node,defaultStyleClass:a.default.string},n.default=l},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=i(t(1)),a=i(t(0));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var n=e.url,t=e.button,a=e.buttons,i=e.text,s=void 0===i?"":i,c=e.themeClass,u=void 0===c?"":c;return o.default.createElement("div",{className:"rcs-shareblock "+u},a.map(function(e){var a=e.network,i=e.icon,c=function(e,n){var t={};for(var r in e)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}(e,["network","icon"]);return o.default.createElement(t,r({key:a,network:a,url:n,text:s},c),o.default.createElement(i,null))}))};s.propTypes={url:a.default.string.isRequired,button:a.default.func.isRequired,buttons:a.default.array.isRequired,text:a.default.string,themeClass:a.default.string},n.default=s},function(e,n,t){(e.exports=t(3)(!1)).push([e.i,".rcs-shareblock--standard {\r\n display: -webkit-box;\r\n display: -ms-flexbox;\r\n display: flex;\r\n -webkit-box-orient: horizontal;\r\n -webkit-box-direction: normal;\r\n -ms-flex-direction: row;\r\n flex-direction: row;\r\n -ms-flex-wrap: wrap;\r\n flex-wrap: wrap;\r\n -webkit-box-pack: center;\r\n -ms-flex-pack: center;\r\n justify-content: center;\r\n}\r\n",""])},function(e,n,t){var r=t(6);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};t(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=s(t(1)),a=s(t(0));t(7);var i=s(t(5));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return o.default.createElement(i.default,r({themeClass:"rcs-shareblock--standard"},e))};c.propTypes={url:a.default.string.isRequired,button:a.default.func.isRequired,buttons:a.default.array.isRequired,text:a.default.string},n.default=c},function(e,n,t){(e.exports=t(3)(!1)).push([e.i,'.rcs-sharebutton--round-square {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: currentColor;\n border: 0;\n border-radius: 8%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 3px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--round-square > svg {\n fill: #fff;\n height: 50%;\n -webkit-transform: rotate(0) scale(1);\n transform: rotate(0) scale(1);\n -webkit-transition: 0.5s;\n transition: 0.5s;\n width: 50%;\n}\n.rcs-sharebutton--round-square:hover > svg {\n filter: url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="3" /><feOffset dx="1" dy="1" result="offsetblur" /><feFlood flood-color="rgba(255,255,255,1)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter\');\n -webkit-filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));\n filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));\n -webkit-transform: rotate(360deg) scale(1.2);\n transform: rotate(360deg) scale(1.2);\n}\n.rcs-sharebutton--round-square.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--round-square.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--round-square.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--round-square.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--round-square.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--round-square.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (any-hover: none) {\n .rcs-sharebutton--round-square:hover > svg {\n -webkit-filter: none;\n filter: none;\n -webkit-transform: rotate(0) scale(1);\n transform: rotate(0) scale(1);\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--round-square {\n margin: 5px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--round-square {\n margin: 7px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--round-square {\n margin: 10px;\n }\n}\n',""])},function(e,n,t){var r=t(9);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};t(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=s(t(1)),a=s(t(0));t(10);var i=s(t(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,r({defaultStyleClass:"rcs-sharebutton--round-square rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,t){(e.exports=t(3)(!1)).push([e.i,".rcs-sharebutton--rectangle {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: currentColor;\n border: 0;\n color: #666;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-preferred-size: 44px;\n flex-basis: 44px;\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n min-height: 44px;\n overflow: hidden;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n.rcs-sharebutton--rectangle > svg {\n fill: #fff;\n height: 24px;\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 24px;\n}\n.rcs-sharebutton--rectangle:hover > svg {\n -webkit-transform: rotate(-5deg) scale(3);\n transform: rotate(-5deg) scale(3);\n}\n.rcs-sharebutton--rectangle.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--rectangle.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--rectangle.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--rectangle.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--rectangle.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--rectangle.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (any-hover: none) {\n .rcs-sharebutton--rectangle:hover > svg {\n -webkit-transform: rotate(0) scale(1);\n transform: rotate(0) scale(1);\n }\n}\n",""])},function(e,n,t){var r=t(12);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};t(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=s(t(1)),a=s(t(0));t(13);var i=s(t(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,r({defaultStyleClass:"rcs-sharebutton--rectangle rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,t){(e.exports=t(3)(!1)).push([e.i,'.rcs-sharebutton--outline {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: none;\n border: 0;\n border-radius: 50%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 3px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--outline > svg {\n fill: white;\n filter: url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="2" /><feOffset dx="1" dy="1" result="offsetblur" /><feFlood flood-color="rgba(0,0,0,0.5)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter\');\n -webkit-filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));\n filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));\n height: 80%;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 80%;\n}\n.rcs-sharebutton--outline:hover > svg {\n fill: currentColor;\n}\n.rcs-sharebutton--outline.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--outline.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--outline.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--outline.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--outline.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--outline.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (any-hover: none) {\n .rcs-sharebutton--outline:hover > svg {\n fill: white;\n\n /* filter: drop-shadow(0 0 1px currentColor); */\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--outline {\n margin: 5px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--outline {\n margin: 7px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--outline {\n margin: 10px;\n }\n}\n',""])},function(e,n,t){var r=t(15);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};t(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=s(t(1)),a=s(t(0));t(16);var i=s(t(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,r({defaultStyleClass:"rcs-sharebutton--outline rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,t){(e.exports=t(3)(!1)).push([e.i,".rcs-sharebutton--icon-only {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: none;\n border: 0;\n border-radius: 50%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 1px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--icon-only > svg {\n fill: currentColor;\n height: 65%;\n -webkit-transition: -webkit-transform 0.3s;\n transition: -webkit-transform 0.3s;\n transition: transform 0.3s;\n transition: transform 0.3s, -webkit-transform 0.3s;\n width: 65%;\n}\n.rcs-sharebutton--icon-only:hover {\n background: currentColor;\n -webkit-box-shadow: 0 0 10px currentColor;\n box-shadow: 0 0 10px currentColor;\n}\n.rcs-sharebutton--icon-only:hover > svg {\n fill: #fff;\n}\n.rcs-sharebutton--icon-only.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--icon-only.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--icon-only.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--icon-only.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--icon-only.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--icon-only.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (any-hover: none) {\n .rcs-sharebutton--icon-only:hover {\n background: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n\n .rcs-sharebutton--icon-only:hover > svg {\n fill: currentColor;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--icon-only {\n margin: 3px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--icon-only {\n margin: 5px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--icon-only {\n margin: 7px;\n }\n}\n",""])},function(e,n,t){var r=t(18);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};t(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=s(t(1)),a=s(t(0));t(19);var i=s(t(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,r({defaultStyleClass:"rcs-sharebutton--icon-only rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n){e.exports=function(e){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var t=n.protocol+"//"+n.host,r=t+n.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,n){var o,a=n.trim().replace(/^"(.*)"$/,function(e,n){return n}).replace(/^'(.*)'$/,function(e,n){return n});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(o=0===a.indexOf("//")?a:0===a.indexOf("/")?t+a:r+a.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,n,t){(e.exports=t(3)(!1)).push([e.i,".rcs-sharebutton--circle {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background: currentColor;\n border: 0;\n border-radius: 50%;\n cursor: pointer;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 44px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 3px;\n position: relative;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 44px;\n}\n.rcs-sharebutton--circle::before {\n background-color: rgba(255, 255, 255, .2);\n border-bottom-left-radius: 100px;\n border-top-left-radius: 100px;\n color: inherit;\n content: '';\n height: 100%;\n left: 50%;\n position: absolute;\n top: 50%;\n -webkit-transform: translate(-100%, -50%);\n transform: translate(-100%, -50%);\n -webkit-transition: 0.2s;\n transition: 0.2s;\n width: 50%;\n}\n.rcs-sharebutton--circle > svg {\n fill: #fff;\n height: 70%;\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-transition: 0.3s;\n transition: 0.3s;\n width: 70%;\n z-index: 1;\n}\n.rcs-sharebutton--circle:hover::before {\n background-color: rgba(0, 0, 0, .1);\n -webkit-transform: translate(0%, -50%) rotateY(180deg);\n transform: translate(0%, -50%) rotateY(180deg);\n}\n.rcs-sharebutton--circle:hover > svg {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n}\n.rcs-sharebutton--circle.rcs-facebook {\n color: rgba(80, 124, 190, 1);\n}\n.rcs-sharebutton--circle.rcs-googleplus {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--circle.rcs-twitter {\n color: rgba(99, 205, 241, 1);\n}\n.rcs-sharebutton--circle.rcs-email {\n color: rgba(252, 201, 93, 1);\n}\n.rcs-sharebutton--circle.rcs-pinterest {\n color: rgba(241, 98, 97, 1);\n}\n.rcs-sharebutton--circle.rcs-linkedin {\n color: rgba(144, 202, 221, 1);\n}\n@media (any-hover: none) {\n .rcs-sharebutton--circle:hover::before {\n background-color: rgba(255, 255, 255, .2);\n -webkit-transform: translate(-100%, -50%);\n transform: translate(-100%, -50%);\n }\n\n .rcs-sharebutton--circle:hover > svg {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@media screen and (min-width: 330px) {\n .rcs-sharebutton--circle {\n margin: 5px;\n }\n}\n@media screen and (min-width: 600px) {\n .rcs-sharebutton--circle {\n margin: 7px;\n }\n}\n@media screen and (min-width: 1025px) {\n .rcs-sharebutton--circle {\n margin: 10px;\n }\n}\n",""])},function(e,n,t){var r=t(22);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};t(2)(r,o);r.locals&&(e.exports=r.locals)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o=s(t(1)),a=s(t(0));t(23);var i=s(t(4));function s(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var n=e.network.toLowerCase();return o.default.createElement(i.default,r({defaultStyleClass:"rcs-sharebutton--circle rcs-"+n},e))};c.propTypes={children:a.default.node.isRequired},n.default=c},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return"?"+Object.keys(e).filter(function(n){return!!e[n]}).map(function(n){return n+"="+encodeURIComponent(e[n])}).join("&")}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(t(25));n.default=function(e){var n=e.network,t=function(e,n){var t={};for(var r in e)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}(e,["network"]);return function(e){return{facebook:function(e){var n=e.url,t=e.text,o=void 0===t?"":t,a=e.hashtag,i=void 0===a?"":a;return"https://www.facebook.com/sharer/sharer.php"+(0,r.default)({u:n,quote:o,hashtag:i})},twitter:function(e){var n=e.url,t=e.text,o=void 0===t?"":t,a=e.via,i=void 0===a?"":a,s=e.hashtags,c=void 0===s?[]:s;return"https://twitter.com/share"+(0,r.default)({url:n,text:o,via:i,hashtags:c.join(",")})},googleplus:function(e){var n=e.url;return"https://plus.google.com/share"+(0,r.default)({url:n})},linkedin:function(e){var n=e.url,t=e.text,o=void 0===t?"":t,a=e.longerText,i=void 0===a?"":a;return"https://linkedin.com/shareArticle"+(0,r.default)({url:n,title:o,summary:i})},pinterest:function(e){var n=e.media,t=e.text,o=void 0===t?"":t;return"https://pinterest.com/pin/create/button/"+(0,r.default)({media:n,description:o})}}[e.toLowerCase()]}(n)(t)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:600,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:400,r={height:t,width:n,left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-n/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"};return window.open(e,"share",Object.keys(r).map(function(e){return e+"="+r[e]}).join(","))}},function(e,n,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,n,t){"use strict";var r=t(28);function o(){}e.exports=function(){function e(e,n,t,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n};return t.checkPropTypes=o,t.PropTypes=t,t}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(4);Object.defineProperty(n,"ShareButton",{enumerable:!0,get:function(){return f(r).default}});var o=t(5);Object.defineProperty(n,"ShareBlock",{enumerable:!0,get:function(){return f(o).default}});var a=t(24);Object.defineProperty(n,"ShareButtonCircle",{enumerable:!0,get:function(){return f(a).default}});var i=t(20);Object.defineProperty(n,"ShareButtonIconOnly",{enumerable:!0,get:function(){return f(i).default}});var s=t(17);Object.defineProperty(n,"ShareButtonOutline",{enumerable:!0,get:function(){return f(s).default}});var c=t(14);Object.defineProperty(n,"ShareButtonRectangle",{enumerable:!0,get:function(){return f(c).default}});var u=t(11);Object.defineProperty(n,"ShareButtonRoundSquare",{enumerable:!0,get:function(){return f(u).default}});var l=t(8);function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"ShareBlockStandard",{enumerable:!0,get:function(){return f(l).default}})}])});
{
"name": "react-custom-share",
"version": "0.0.1",
"version": "0.0.2",
"description": "Social sharing buttons for React",
"main": "dist/index.js",
"publishConfig": {},
"scripts": {

@@ -15,3 +16,4 @@ "start": "webpack --watch",

"validate": "cross-env NO_UPDATE_NOTIFIER=true npm-run-all --parallel test lint stylelint build",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},

@@ -44,4 +46,4 @@ "files": [

"peerDependencies": {
"react": "^16.4.1",
"react-dom": "^16.4.1"
"react": ">=16.0.1",
"react-dom": ">=16.0.1"
},

@@ -80,4 +82,4 @@ "devDependencies": {

"prettier": "1.13.7",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react": ">=16.0.1",
"react-dom": ">=16.0.1",
"react-icons": "^2.2.7",

@@ -92,3 +94,4 @@ "rimraf": "^2.6.2",

"webpack": "4.12.1",
"webpack-cli": "3.0.8"
"webpack-cli": "3.0.8",
"travis-deploy-once": "^5.0.1"
},

@@ -95,0 +98,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc