Version Description
- Please upgrade immediately. Many enhancements, new features and bug fixes.
=
Download this release
Release Info
Developer | hiddenpearls |
Plugin | Simple Social Media Share Buttons – Social Sharing for Everyone |
Version | 3.1.0 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.1.0
- assets/css/admin.css +228 -0
- assets/css/blocks.editor.css +176 -0
- assets/css/blocks.editor.css.map +1 -1
- assets/css/front.css +3 -1
- assets/js/admin.js +38 -0
- assets/js/blocks.editor.js +651 -322
- assets/js/blocks.editor.js.map +1 -1
- assets/js/blocks.frontend.js +2 -2
- assets/js/blocks.frontend.js.map +1 -1
- classes/ssb-admin.php +4 -1
- classes/ssb-settings-strucutre.php +62 -9
- classes/ssb-settings.php +9 -0
- classes/ssb-widget.php +1 -1
- readme.txt +14 -6
- simple-social-buttons.php +152 -357
- uninstall.php +5 -0
assets/css/admin.css
CHANGED
@@ -1770,6 +1770,20 @@ div.inside .simplesocial-form-section ul.options li {
|
|
1770 |
background: #006799;
|
1771 |
}
|
1772 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1773 |
/* ANIMATIONS ================ */
|
1774 |
@-webkit-keyframes inputHighlighter {
|
1775 |
from {
|
@@ -2024,3 +2038,217 @@ html[dir="rtl"] .simplesocial-inline-form-section label{
|
|
2024 |
}
|
2025 |
/*===== End Code for instruction ======*/
|
2026 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1770 |
background: #006799;
|
1771 |
}
|
1772 |
|
1773 |
+
#ssb_click_to_tweet{
|
1774 |
+
margin-bottom:0;
|
1775 |
+
border-bottom:0;
|
1776 |
+
}
|
1777 |
+
#ssb_click_to_tweet_design{
|
1778 |
+
border-top:0;
|
1779 |
+
padding:30px
|
1780 |
+
|
1781 |
+
}
|
1782 |
+
.ssb_ctt_desgin{
|
1783 |
+
padding-top:0;
|
1784 |
+
}
|
1785 |
+
|
1786 |
+
|
1787 |
/* ANIMATIONS ================ */
|
1788 |
@-webkit-keyframes inputHighlighter {
|
1789 |
from {
|
2038 |
}
|
2039 |
/*===== End Code for instruction ======*/
|
2040 |
|
2041 |
+
/*===== End of functionality ======*/
|
2042 |
+
|
2043 |
+
/*=====================================
|
2044 |
+
= Click To Tweet =
|
2045 |
+
=====================================*/
|
2046 |
+
|
2047 |
+
.ssb_ctt_desgin{
|
2048 |
+
max-width: 700px;
|
2049 |
+
width: 100%;
|
2050 |
+
padding-top: 30px;
|
2051 |
+
}
|
2052 |
+
.ssb-ctt-wrapper{
|
2053 |
+
padding: 15px;
|
2054 |
+
cursor: pointer;
|
2055 |
+
position: relative;
|
2056 |
+
}
|
2057 |
+
|
2058 |
+
.ssb-ctt-wrapper a{
|
2059 |
+
display: block;
|
2060 |
+
text-decoration: none;
|
2061 |
+
}
|
2062 |
+
.ssb-ctt-wrapper a span{
|
2063 |
+
display: block;
|
2064 |
+
}
|
2065 |
+
.ssb-ctt{
|
2066 |
+
clear: both;
|
2067 |
+
}
|
2068 |
+
|
2069 |
+
.ssb-ctt .ssb-ctt-text{
|
2070 |
+
padding-bottom: 8px;
|
2071 |
+
font-size: 16px;
|
2072 |
+
}
|
2073 |
+
.ssb-ctt .ssb-ctt-btn{
|
2074 |
+
min-width: 100px;
|
2075 |
+
display: flex;
|
2076 |
+
align-items: center;
|
2077 |
+
float: right;
|
2078 |
+
font-weight: bold;
|
2079 |
+
font-size: 14px;
|
2080 |
+
|
2081 |
+
}
|
2082 |
+
.ssb-ctt-btn #twitter_icon_ctt{
|
2083 |
+
margin-left: 8px;
|
2084 |
+
fill: #1da1f2;
|
2085 |
+
}
|
2086 |
+
.ssb-ctt-wrapper:not(.hide-button ) .ssb-ctt{
|
2087 |
+
margin-bottom: 20px;
|
2088 |
+
}
|
2089 |
+
.ssb-ctt-wrapper.hide-button .ssb-ctt-btn{
|
2090 |
+
display: none;
|
2091 |
+
}
|
2092 |
+
.ssb-ctt-wrapper.hide-button .ssb-ctt-text{
|
2093 |
+
padding-bottom: 0;
|
2094 |
+
}
|
2095 |
+
/*----- simple twitter style---*/
|
2096 |
+
.ssb-ctt-wrapper.simple-twitter{
|
2097 |
+
background-color: #22a0ef;
|
2098 |
+
}
|
2099 |
+
|
2100 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt{
|
2101 |
+
color: #fff;
|
2102 |
+
|
2103 |
+
}
|
2104 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt-btn{
|
2105 |
+
text-transform: uppercase;
|
2106 |
+
color: #a7d9f9;
|
2107 |
+
transition: all linear .2s;
|
2108 |
+
}
|
2109 |
+
.ssb-ctt-wrapper.simple-twitter #twitter_icon_ctt{
|
2110 |
+
fill: #a7d9f9;
|
2111 |
+
}
|
2112 |
+
|
2113 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt-btn:hover{
|
2114 |
+
color: #fff;
|
2115 |
+
}
|
2116 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt-btn:hover #twitter_icon_ctt{
|
2117 |
+
fill: #fff;
|
2118 |
+
}
|
2119 |
+
|
2120 |
+
/*-- twitter round --*/
|
2121 |
+
|
2122 |
+
.ssb-ctt-wrapper.twitter-round{
|
2123 |
+
background-color: #e8f5fd;
|
2124 |
+
border: #22a0ef 1px solid;
|
2125 |
+
border-radius: 8px;
|
2126 |
+
}
|
2127 |
+
|
2128 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt{
|
2129 |
+
color: #22a0ef;
|
2130 |
+
|
2131 |
+
}
|
2132 |
+
.ssb-ctt-wrapper.twitter-round:not(.hide-button ) .ssb-ctt{
|
2133 |
+
margin-bottom: 40px;
|
2134 |
+
}
|
2135 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt-btn{
|
2136 |
+
text-transform: uppercase;
|
2137 |
+
color: #22a0ef;
|
2138 |
+
transition: all linear .2s;
|
2139 |
+
padding: 12px 14px;
|
2140 |
+
background: #c0e4fa;
|
2141 |
+
border-radius: 5px;
|
2142 |
+
}
|
2143 |
+
|
2144 |
+
.ssb-ctt-wrapper.twitter-round #twitter_icon_ctt{
|
2145 |
+
fill: #1f9fef;
|
2146 |
+
}
|
2147 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt-btn:hover{
|
2148 |
+
color: #fff;
|
2149 |
+
background-color: #1f9fef;
|
2150 |
+
}
|
2151 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt-btn:hover #twitter_icon_ctt{
|
2152 |
+
fill: #fff;
|
2153 |
+
}
|
2154 |
+
|
2155 |
+
/*-- twitter dark --*/
|
2156 |
+
|
2157 |
+
.ssb-ctt-wrapper.twitter-dark{
|
2158 |
+
background-color: #eaeaea;
|
2159 |
+
color: #fff;
|
2160 |
+
transition: all 0.2s linear;
|
2161 |
+
}
|
2162 |
+
|
2163 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt{
|
2164 |
+
color: #444444;
|
2165 |
+
|
2166 |
+
}
|
2167 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt-btn{
|
2168 |
+
text-transform: uppercase;
|
2169 |
+
color: #444444;
|
2170 |
+
transition: all linear .2s;
|
2171 |
+
padding: 12px 14px;
|
2172 |
+
background: #dfdfdf;
|
2173 |
+
border-radius: 5px;
|
2174 |
+
}
|
2175 |
+
|
2176 |
+
.ssb-ctt-wrapper.twitter-dark:not(.hide-button ) .ssb-ctt{
|
2177 |
+
margin-bottom: 40px;
|
2178 |
+
}
|
2179 |
+
|
2180 |
+
.ssb-ctt-wrapper.twitter-dark #twitter_icon_ctt{
|
2181 |
+
fill: #444444;
|
2182 |
+
}
|
2183 |
+
|
2184 |
+
|
2185 |
+
.ssb-ctt-wrapper.twitter-dark:hover{
|
2186 |
+
box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.25);
|
2187 |
+
}
|
2188 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt-btn:hover{
|
2189 |
+
color: #fff;
|
2190 |
+
background-color: #444444;
|
2191 |
+
}
|
2192 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt-btn:hover #twitter_icon_ctt{
|
2193 |
+
fill: #fff;
|
2194 |
+
}
|
2195 |
+
|
2196 |
+
/*-- twitter-side-line --*/
|
2197 |
+
|
2198 |
+
|
2199 |
+
.ssb-ctt-wrapper.twitter-side-line{
|
2200 |
+
background-color: #e8f5fd;
|
2201 |
+
padding-left: 30px;
|
2202 |
+
|
2203 |
+
}
|
2204 |
+
.ssb-ctt-wrapper.twitter-side-line:before{
|
2205 |
+
content: '';
|
2206 |
+
position: absolute;
|
2207 |
+
left: 0;
|
2208 |
+
top: 0;
|
2209 |
+
width: 10px;
|
2210 |
+
height: 100%;
|
2211 |
+
background: #1f9fef;
|
2212 |
+
transition: all linear .2s;
|
2213 |
+
}
|
2214 |
+
.ssb-ctt-wrapper.twitter-side-line:hover:before{
|
2215 |
+
width: 100%;
|
2216 |
+
}
|
2217 |
+
.ssb-ctt-wrapper.twitter-side-line a{
|
2218 |
+
z-index: 99999;
|
2219 |
+
position: relative;
|
2220 |
+
}
|
2221 |
+
.ssb-ctt-wrapper.twitter-side-line .ssb-ctt{
|
2222 |
+
color: #22a0ef;
|
2223 |
+
transition: all linear .3s;
|
2224 |
+
}
|
2225 |
+
.ssb-ctt-wrapper.twitter-side-line:hover .ssb-ctt{
|
2226 |
+
color: #fff ;
|
2227 |
+
}
|
2228 |
+
|
2229 |
+
|
2230 |
+
.ssb-ctt-wrapper.twitter-side-line:not(.hide-button ) .ssb-ctt{
|
2231 |
+
margin-bottom: 40px;
|
2232 |
+
}
|
2233 |
+
.ssb-ctt-wrapper.twitter-side-line .ssb-ctt-btn{
|
2234 |
+
text-transform: uppercase;
|
2235 |
+
color: #22a0ef;
|
2236 |
+
transition: all linear .2s;
|
2237 |
+
padding: 12px 14px;
|
2238 |
+
background: rgba(192,229,250,0.39);
|
2239 |
+
border-radius: 5px;
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
.twitter-side-line #twitter_icon_ctt{
|
2243 |
+
fill: #1f9fef;
|
2244 |
+
}
|
2245 |
+
.ssb-ctt-wrapper.twitter-side-line:hover .ssb-ctt-btn{
|
2246 |
+
color: #1f9fef;
|
2247 |
+
background-color: #fff;
|
2248 |
+
}
|
2249 |
+
.ssb-ctt-wrapper.twitter-side-line:hover #twitter_icon_ctt{
|
2250 |
+
fill: #1f9fef;
|
2251 |
+
}
|
2252 |
+
|
2253 |
+
/*===== End of Click To Tweet ======*/
|
2254 |
+
|
assets/css/blocks.editor.css
CHANGED
@@ -17,5 +17,181 @@
|
|
17 |
|
18 |
.fb-like.large img {
|
19 |
height: 23px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
/*# sourceMappingURL=blocks.editor.css.map*/
|
17 |
|
18 |
.fb-like.large img {
|
19 |
height: 23px; }
|
20 |
+
.ssb-ctt-wrapper {
|
21 |
+
padding: 15px;
|
22 |
+
cursor: pointer;
|
23 |
+
position: relative; }
|
24 |
+
|
25 |
+
.ssb-ctt-wrapper a {
|
26 |
+
display: block;
|
27 |
+
text-decoration: none; }
|
28 |
+
|
29 |
+
.ssb-ctt-wrapper a span {
|
30 |
+
display: block; }
|
31 |
+
|
32 |
+
.ssb-ctt {
|
33 |
+
clear: both; }
|
34 |
+
|
35 |
+
.ssb-ctt .ssb-ctt-text {
|
36 |
+
padding-bottom: 8px;
|
37 |
+
font-size: 16px;
|
38 |
+
font-weight: bold; }
|
39 |
+
|
40 |
+
.ssb-ctt .ssb-ctt-btn {
|
41 |
+
min-width: 100px;
|
42 |
+
display: -ms-flexbox;
|
43 |
+
display: flex;
|
44 |
+
-ms-flex-align: center;
|
45 |
+
align-items: center;
|
46 |
+
float: right;
|
47 |
+
font-weight: bold;
|
48 |
+
font-size: 14px; }
|
49 |
+
|
50 |
+
.ssb-ctt-btn #twitter_icon_ctt {
|
51 |
+
margin-left: 8px;
|
52 |
+
fill: #1da1f2; }
|
53 |
+
|
54 |
+
.ssb-ctt-wrapper:not(.hide-button) .ssb-ctt {
|
55 |
+
margin-bottom: 20px; }
|
56 |
+
|
57 |
+
.ssb-ctt-wrapper.hide-button .ssb-ctt-btn {
|
58 |
+
display: none; }
|
59 |
+
|
60 |
+
.ssb-ctt-wrapper.hide-button .ssb-ctt-text {
|
61 |
+
padding-bottom: 0; }
|
62 |
+
|
63 |
+
/*----- simple twitter style---*/
|
64 |
+
.ssb-ctt-wrapper.simple-twitter {
|
65 |
+
background-color: #22a0ef; }
|
66 |
+
|
67 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt {
|
68 |
+
color: #fff; }
|
69 |
+
|
70 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt-btn {
|
71 |
+
text-transform: uppercase;
|
72 |
+
color: #a7d9f9;
|
73 |
+
transition: all linear .2s; }
|
74 |
+
|
75 |
+
.ssb-ctt-wrapper.simple-twitter #twitter_icon_ctt {
|
76 |
+
fill: #a7d9f9; }
|
77 |
+
|
78 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt-btn:hover {
|
79 |
+
color: #fff; }
|
80 |
+
|
81 |
+
.ssb-ctt-wrapper.simple-twitter .ssb-ctt-btn:hover #twitter_icon_ctt {
|
82 |
+
fill: #fff; }
|
83 |
+
|
84 |
+
/*-- twitter round --*/
|
85 |
+
.ssb-ctt-wrapper.twitter-round {
|
86 |
+
background-color: #e8f5fd;
|
87 |
+
border: #22a0ef 1px solid;
|
88 |
+
border-radius: 8px; }
|
89 |
+
|
90 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt {
|
91 |
+
color: #22a0ef; }
|
92 |
+
|
93 |
+
.ssb-ctt-wrapper.twitter-round:not(.hide-button) .ssb-ctt {
|
94 |
+
margin-bottom: 40px; }
|
95 |
+
|
96 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt-btn {
|
97 |
+
text-transform: uppercase;
|
98 |
+
color: #22a0ef;
|
99 |
+
transition: all linear .2s;
|
100 |
+
padding: 7px 12px;
|
101 |
+
background: #c0e4fa;
|
102 |
+
border-radius: 5px; }
|
103 |
+
|
104 |
+
.ssb-ctt-wrapper.twitter-round #twitter_icon_ctt {
|
105 |
+
fill: #1f9fef; }
|
106 |
+
|
107 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt-btn:hover {
|
108 |
+
color: #fff;
|
109 |
+
background-color: #1f9fef; }
|
110 |
+
|
111 |
+
.ssb-ctt-wrapper.twitter-round .ssb-ctt-btn:hover #twitter_icon_ctt {
|
112 |
+
fill: #fff; }
|
113 |
+
|
114 |
+
/*-- twitter dark --*/
|
115 |
+
.ssb-ctt-wrapper.twitter-dark {
|
116 |
+
background-color: #eaeaea;
|
117 |
+
color: #fff;
|
118 |
+
transition: all 0.2s linear; }
|
119 |
+
|
120 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt {
|
121 |
+
color: #444444; }
|
122 |
+
|
123 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt-btn {
|
124 |
+
text-transform: uppercase;
|
125 |
+
color: #444444;
|
126 |
+
transition: all linear .2s;
|
127 |
+
padding: 7px 12px;
|
128 |
+
background: #dfdfdf;
|
129 |
+
border-radius: 5px; }
|
130 |
+
|
131 |
+
.ssb-ctt-wrapper.twitter-dark:not(.hide-button) .ssb-ctt {
|
132 |
+
margin-bottom: 40px; }
|
133 |
+
|
134 |
+
.ssb-ctt-wrapper.twitter-dark #twitter_icon_ctt {
|
135 |
+
fill: #444444; }
|
136 |
+
|
137 |
+
.ssb-ctt-wrapper.twitter-dark:hover {
|
138 |
+
box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.25); }
|
139 |
+
|
140 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt-btn:hover {
|
141 |
+
color: #fff;
|
142 |
+
background-color: #444444; }
|
143 |
+
|
144 |
+
.ssb-ctt-wrapper.twitter-dark .ssb-ctt-btn:hover #twitter_icon_ctt {
|
145 |
+
fill: #fff; }
|
146 |
+
|
147 |
+
/*-- twitter-side-line --*/
|
148 |
+
.ssb-ctt-wrapper.twitter-side-line {
|
149 |
+
background-color: #e8f5fd;
|
150 |
+
padding-left: 30px; }
|
151 |
+
|
152 |
+
.ssb-ctt-wrapper.twitter-side-line:before {
|
153 |
+
content: '';
|
154 |
+
position: absolute;
|
155 |
+
left: 0;
|
156 |
+
top: 0;
|
157 |
+
width: 10px;
|
158 |
+
height: 100%;
|
159 |
+
background: #1f9fef;
|
160 |
+
transition: all linear .2s; }
|
161 |
+
|
162 |
+
.ssb-ctt-wrapper.twitter-side-line:hover:before {
|
163 |
+
width: 100%; }
|
164 |
+
|
165 |
+
.ssb-ctt-wrapper.twitter-side-line .ssb-ctt {
|
166 |
+
z-index: 99999;
|
167 |
+
position: relative; }
|
168 |
+
|
169 |
+
.ssb-ctt-wrapper.twitter-side-line .ssb-ctt {
|
170 |
+
color: #22a0ef;
|
171 |
+
transition: all linear .3s; }
|
172 |
+
|
173 |
+
.ssb-ctt-wrapper.twitter-side-line:hover .ssb-ctt {
|
174 |
+
color: #fff; }
|
175 |
+
|
176 |
+
.ssb-ctt-wrapper.twitter-side-line:not(.hide-button) .ssb-ctt {
|
177 |
+
margin-bottom: 40px; }
|
178 |
+
|
179 |
+
.ssb-ctt-wrapper.twitter-side-line .ssb-ctt-btn {
|
180 |
+
text-transform: uppercase;
|
181 |
+
color: #22a0ef;
|
182 |
+
transition: all linear .2s;
|
183 |
+
padding: 7px 12px;
|
184 |
+
background: rgba(192, 229, 250, 0.39);
|
185 |
+
border-radius: 5px; }
|
186 |
+
|
187 |
+
.twitter-side-line #twitter_icon_ctt {
|
188 |
+
fill: #1f9fef; }
|
189 |
+
|
190 |
+
.ssb-ctt-wrapper.twitter-side-line:hover .ssb-ctt-btn {
|
191 |
+
color: #1f9fef;
|
192 |
+
background-color: #fff; }
|
193 |
+
|
194 |
+
.ssb-ctt-wrapper.twitter-side-line:hover #twitter_icon_ctt {
|
195 |
+
fill: #1f9fef; }
|
196 |
|
197 |
/*# sourceMappingURL=blocks.editor.css.map*/
|
assets/css/blocks.editor.css.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"./assets/css/blocks.editor.css","sources":[],"mappings":"
|
1 |
+
{"version":3,"file":"./assets/css/blocks.editor.css","sources":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","sourceRoot":""}
|
assets/css/front.css
CHANGED
@@ -2874,7 +2874,9 @@ div[class*="simplesocialbuttons-float"].simplesocial-simple-round button[class*
|
|
2874 |
.ssb-twenty-twenty .simplesocialbuttons_inline {
|
2875 |
margin-left: auto;
|
2876 |
}
|
2877 |
-
|
|
|
|
|
2878 |
/*========================================
|
2879 |
= End of compaitabilty code =
|
2880 |
========================================*/
|
2874 |
.ssb-twenty-twenty .simplesocialbuttons_inline {
|
2875 |
margin-left: auto;
|
2876 |
}
|
2877 |
+
.ssb-twenty-twenty .simplesocial-simple-icons button.ssb_linkedin-icon .icon svg {
|
2878 |
+
display: inline-block;
|
2879 |
+
}
|
2880 |
/*========================================
|
2881 |
= End of compaitabilty code =
|
2882 |
========================================*/
|
assets/js/admin.js
CHANGED
@@ -133,6 +133,44 @@
|
|
133 |
});
|
134 |
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
//widget js
|
137 |
$(document).on('click', '.get_fb_token', function (e) {
|
138 |
e.preventDefault();
|
133 |
});
|
134 |
|
135 |
|
136 |
+
$("#ssb_click_to_tweet-tab-content form").on('change', function (e) {
|
137 |
+
initCTT()
|
138 |
+
})
|
139 |
+
function initCTT() {
|
140 |
+
var newTheme = $('[name="ssb_click_to_tweet[theme]"] option:selected').val();
|
141 |
+
var hideButton = $('[id*="hide_button"]').is(':checked')
|
142 |
+
var hideLink = $('[id*="hide_link"]').is(':checked')
|
143 |
+
var includeVia = $('[id*="include_via"]').is(':checked')
|
144 |
+
|
145 |
+
var oldTheme = $('.ssb-ctt-wrapper').data('theme');
|
146 |
+
|
147 |
+
$('.ssb-ctt-wrapper').data('theme', newTheme);
|
148 |
+
$('.ssb-ctt-wrapper').removeClass(oldTheme).addClass(newTheme);
|
149 |
+
|
150 |
+
var tweetText = "Social media is about the people! Not about your business. Provide for the people and the people will provide you.";
|
151 |
+
|
152 |
+
if (hideButton) {
|
153 |
+
$('.ssb-ctt-wrapper').addClass('hide-button')
|
154 |
+
} else {
|
155 |
+
$('.ssb-ctt-wrapper').removeClass('hide-button')
|
156 |
+
}
|
157 |
+
console.log(hideLink);
|
158 |
+
if (hideLink == false) {
|
159 |
+
tweetText += '&url=https://simplesocialbuttons.com/'
|
160 |
+
}else{
|
161 |
+
console.log('adfadfa');
|
162 |
+
tweetText += '&url=0'
|
163 |
+
}
|
164 |
+
|
165 |
+
if (includeVia) {
|
166 |
+
tweetText += '&via=wpbrigade'
|
167 |
+
}
|
168 |
+
$('.ssb-ctt-wrapper > a').attr('data-href', 'https://twitter.com/share?text='+tweetText)
|
169 |
+
// $('.ssb-ctt-wrapper a').data('href', 'https://twitter.com/share?text='.tweetText)
|
170 |
+
console.log( $('.ssb-ctt-wrapper a').attr('data-href') )
|
171 |
+
}
|
172 |
+
initCTT()
|
173 |
+
|
174 |
//widget js
|
175 |
$(document).on('click', '.get_fb_token', function (e) {
|
176 |
e.preventDefault();
|
assets/js/blocks.editor.js
CHANGED
@@ -88,8 +88,8 @@ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
88 |
/***/ (function(module, exports, __webpack_require__) {
|
89 |
|
90 |
var anObject = __webpack_require__(10);
|
91 |
-
var IE8_DOM_DEFINE = __webpack_require__(
|
92 |
-
var toPrimitive = __webpack_require__(
|
93 |
var dP = Object.defineProperty;
|
94 |
|
95 |
exports.f = __webpack_require__(3) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
@@ -131,7 +131,7 @@ module.exports = function (it, key) {
|
|
131 |
|
132 |
var global = __webpack_require__(1);
|
133 |
var core = __webpack_require__(0);
|
134 |
-
var ctx = __webpack_require__(
|
135 |
var hide = __webpack_require__(6);
|
136 |
var has = __webpack_require__(4);
|
137 |
var PROTOTYPE = 'prototype';
|
@@ -222,7 +222,7 @@ module.exports = function (it) {
|
|
222 |
|
223 |
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
224 |
var IObject = __webpack_require__(66);
|
225 |
-
var defined = __webpack_require__(
|
226 |
module.exports = function (it) {
|
227 |
return IObject(defined(it));
|
228 |
};
|
@@ -232,7 +232,7 @@ module.exports = function (it) {
|
|
232 |
/* 9 */
|
233 |
/***/ (function(module, exports, __webpack_require__) {
|
234 |
|
235 |
-
var store = __webpack_require__(
|
236 |
var uid = __webpack_require__(14);
|
237 |
var Symbol = __webpack_require__(1).Symbol;
|
238 |
var USE_SYMBOL = typeof Symbol == 'function';
|
@@ -305,6 +305,36 @@ module.exports = function (key) {
|
|
305 |
/* 15 */
|
306 |
/***/ (function(module, exports, __webpack_require__) {
|
307 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
308 |
// 7.1.1 ToPrimitive(input [, PreferredType])
|
309 |
var isObject = __webpack_require__(7);
|
310 |
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
@@ -320,18 +350,83 @@ module.exports = function (it, S) {
|
|
320 |
|
321 |
|
322 |
/***/ }),
|
323 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
/***/ (function(module, exports, __webpack_require__) {
|
325 |
|
326 |
// 7.1.13 ToObject(argument)
|
327 |
-
var defined = __webpack_require__(
|
328 |
module.exports = function (it) {
|
329 |
return Object(defined(it));
|
330 |
};
|
331 |
|
332 |
|
333 |
/***/ }),
|
334 |
-
/*
|
335 |
/***/ (function(module, exports) {
|
336 |
|
337 |
// 7.2.1 RequireObjectCoercible(argument)
|
@@ -342,10 +437,10 @@ module.exports = function (it) {
|
|
342 |
|
343 |
|
344 |
/***/ }),
|
345 |
-
/*
|
346 |
/***/ (function(module, exports, __webpack_require__) {
|
347 |
|
348 |
-
var shared = __webpack_require__(
|
349 |
var uid = __webpack_require__(14);
|
350 |
module.exports = function (key) {
|
351 |
return shared[key] || (shared[key] = uid(key));
|
@@ -353,7 +448,7 @@ module.exports = function (key) {
|
|
353 |
|
354 |
|
355 |
/***/ }),
|
356 |
-
/*
|
357 |
/***/ (function(module, exports, __webpack_require__) {
|
358 |
|
359 |
var core = __webpack_require__(0);
|
@@ -371,7 +466,78 @@ var store = global[SHARED] || (global[SHARED] = {});
|
|
371 |
|
372 |
|
373 |
/***/ }),
|
374 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
375 |
/***/ (function(module, exports) {
|
376 |
|
377 |
// 7.1.4 ToInteger
|
@@ -383,28 +549,28 @@ module.exports = function (it) {
|
|
383 |
|
384 |
|
385 |
/***/ }),
|
386 |
-
/*
|
387 |
/***/ (function(module, exports) {
|
388 |
|
389 |
module.exports = {};
|
390 |
|
391 |
|
392 |
/***/ }),
|
393 |
-
/*
|
394 |
/***/ (function(module, exports, __webpack_require__) {
|
395 |
|
396 |
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
397 |
var anObject = __webpack_require__(10);
|
398 |
var dPs = __webpack_require__(65);
|
399 |
-
var enumBugKeys = __webpack_require__(
|
400 |
-
var IE_PROTO = __webpack_require__(
|
401 |
var Empty = function () { /* empty */ };
|
402 |
var PROTOTYPE = 'prototype';
|
403 |
|
404 |
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
405 |
var createDict = function () {
|
406 |
// Thrash, waste and sodomy: IE GC bug
|
407 |
-
var iframe = __webpack_require__(
|
408 |
var i = enumBugKeys.length;
|
409 |
var lt = '<';
|
410 |
var gt = '>';
|
@@ -437,12 +603,12 @@ module.exports = Object.create || function create(O, Properties) {
|
|
437 |
|
438 |
|
439 |
/***/ }),
|
440 |
-
/*
|
441 |
/***/ (function(module, exports, __webpack_require__) {
|
442 |
|
443 |
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
444 |
-
var $keys = __webpack_require__(
|
445 |
-
var enumBugKeys = __webpack_require__(
|
446 |
|
447 |
module.exports = Object.keys || function keys(O) {
|
448 |
return $keys(O, enumBugKeys);
|
@@ -450,7 +616,7 @@ module.exports = Object.keys || function keys(O) {
|
|
450 |
|
451 |
|
452 |
/***/ }),
|
453 |
-
/*
|
454 |
/***/ (function(module, exports) {
|
455 |
|
456 |
// IE 8- don't enum bug keys
|
@@ -460,7 +626,7 @@ module.exports = (
|
|
460 |
|
461 |
|
462 |
/***/ }),
|
463 |
-
/*
|
464 |
/***/ (function(module, exports, __webpack_require__) {
|
465 |
|
466 |
var def = __webpack_require__(2).f;
|
@@ -473,20 +639,20 @@ module.exports = function (it, tag, stat) {
|
|
473 |
|
474 |
|
475 |
/***/ }),
|
476 |
-
/*
|
477 |
/***/ (function(module, exports, __webpack_require__) {
|
478 |
|
479 |
exports.f = __webpack_require__(9);
|
480 |
|
481 |
|
482 |
/***/ }),
|
483 |
-
/*
|
484 |
/***/ (function(module, exports, __webpack_require__) {
|
485 |
|
486 |
var global = __webpack_require__(1);
|
487 |
var core = __webpack_require__(0);
|
488 |
var LIBRARY = __webpack_require__(13);
|
489 |
-
var wksExt = __webpack_require__(
|
490 |
var defineProperty = __webpack_require__(2).f;
|
491 |
module.exports = function (name) {
|
492 |
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
|
@@ -495,14 +661,14 @@ module.exports = function (name) {
|
|
495 |
|
496 |
|
497 |
/***/ }),
|
498 |
-
/*
|
499 |
/***/ (function(module, exports) {
|
500 |
|
501 |
exports.f = {}.propertyIsEnumerable;
|
502 |
|
503 |
|
504 |
/***/ }),
|
505 |
-
/*
|
506 |
/***/ (function(module, exports, __webpack_require__) {
|
507 |
|
508 |
"use strict";
|
@@ -510,35 +676,44 @@ exports.f = {}.propertyIsEnumerable;
|
|
510 |
|
511 |
exports.__esModule = true;
|
512 |
|
513 |
-
var
|
514 |
|
515 |
-
var
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
|
517 |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
518 |
|
519 |
-
exports.default = function (
|
520 |
-
if (
|
521 |
-
(0,
|
522 |
-
value: value,
|
523 |
-
enumerable: true,
|
524 |
-
configurable: true,
|
525 |
-
writable: true
|
526 |
-
});
|
527 |
-
} else {
|
528 |
-
obj[key] = value;
|
529 |
}
|
530 |
|
531 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
};
|
533 |
|
534 |
/***/ }),
|
535 |
-
/*
|
536 |
/***/ (function(module, exports, __webpack_require__) {
|
537 |
|
538 |
module.exports = { "default": __webpack_require__(51), __esModule: true };
|
539 |
|
540 |
/***/ }),
|
541 |
-
/*
|
542 |
/***/ (function(module, exports, __webpack_require__) {
|
543 |
|
544 |
// optional / simple context binding
|
@@ -553,195 +728,59 @@ module.exports = function (fn, that, length) {
|
|
553 |
case 2: return function (a, b) {
|
554 |
return fn.call(that, a, b);
|
555 |
};
|
556 |
-
case 3: return function (a, b, c) {
|
557 |
-
return fn.call(that, a, b, c);
|
558 |
-
};
|
559 |
-
}
|
560 |
-
return function (/* ...args */) {
|
561 |
-
return fn.apply(that, arguments);
|
562 |
-
};
|
563 |
-
};
|
564 |
-
|
565 |
-
|
566 |
-
/***/ }),
|
567 |
-
/* 32 */
|
568 |
-
/***/ (function(module, exports, __webpack_require__) {
|
569 |
-
|
570 |
-
module.exports = !__webpack_require__(3) && !__webpack_require__(11)(function () {
|
571 |
-
return Object.defineProperty(__webpack_require__(33)('div'), 'a', { get: function () { return 7; } }).a != 7;
|
572 |
-
});
|
573 |
-
|
574 |
-
|
575 |
-
/***/ }),
|
576 |
-
/* 33 */
|
577 |
-
/***/ (function(module, exports, __webpack_require__) {
|
578 |
-
|
579 |
-
var isObject = __webpack_require__(7);
|
580 |
-
var document = __webpack_require__(1).document;
|
581 |
-
// typeof document.createElement is 'object' in old IE
|
582 |
-
var is = isObject(document) && isObject(document.createElement);
|
583 |
-
module.exports = function (it) {
|
584 |
-
return is ? document.createElement(it) : {};
|
585 |
-
};
|
586 |
-
|
587 |
-
|
588 |
-
/***/ }),
|
589 |
-
/* 34 */
|
590 |
-
/***/ (function(module, exports, __webpack_require__) {
|
591 |
-
|
592 |
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
593 |
-
Copyright (c) 2017 Jed Watson.
|
594 |
-
Licensed under the MIT License (MIT), see
|
595 |
-
http://jedwatson.github.io/classnames
|
596 |
-
*/
|
597 |
-
/* global define */
|
598 |
-
|
599 |
-
(function () {
|
600 |
-
'use strict';
|
601 |
-
|
602 |
-
var hasOwn = {}.hasOwnProperty;
|
603 |
-
|
604 |
-
function classNames () {
|
605 |
-
var classes = [];
|
606 |
-
|
607 |
-
for (var i = 0; i < arguments.length; i++) {
|
608 |
-
var arg = arguments[i];
|
609 |
-
if (!arg) continue;
|
610 |
-
|
611 |
-
var argType = typeof arg;
|
612 |
-
|
613 |
-
if (argType === 'string' || argType === 'number') {
|
614 |
-
classes.push(arg);
|
615 |
-
} else if (Array.isArray(arg) && arg.length) {
|
616 |
-
var inner = classNames.apply(null, arg);
|
617 |
-
if (inner) {
|
618 |
-
classes.push(inner);
|
619 |
-
}
|
620 |
-
} else if (argType === 'object') {
|
621 |
-
for (var key in arg) {
|
622 |
-
if (hasOwn.call(arg, key) && arg[key]) {
|
623 |
-
classes.push(key);
|
624 |
-
}
|
625 |
-
}
|
626 |
-
}
|
627 |
-
}
|
628 |
-
|
629 |
-
return classes.join(' ');
|
630 |
-
}
|
631 |
-
|
632 |
-
if (typeof module !== 'undefined' && module.exports) {
|
633 |
-
classNames.default = classNames;
|
634 |
-
module.exports = classNames;
|
635 |
-
} else if (true) {
|
636 |
-
// register as 'classnames', consistent with npm package name
|
637 |
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
638 |
-
return classNames;
|
639 |
-
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
640 |
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
641 |
-
} else {
|
642 |
-
window.classNames = classNames;
|
643 |
-
}
|
644 |
-
}());
|
645 |
-
|
646 |
-
|
647 |
-
/***/ }),
|
648 |
-
/* 35 */
|
649 |
-
/***/ (function(module, exports, __webpack_require__) {
|
650 |
-
|
651 |
-
module.exports = { "default": __webpack_require__(57), __esModule: true };
|
652 |
-
|
653 |
-
/***/ }),
|
654 |
-
/* 36 */
|
655 |
-
/***/ (function(module, exports, __webpack_require__) {
|
656 |
-
|
657 |
-
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
658 |
-
var has = __webpack_require__(4);
|
659 |
-
var toObject = __webpack_require__(16);
|
660 |
-
var IE_PROTO = __webpack_require__(18)('IE_PROTO');
|
661 |
-
var ObjectProto = Object.prototype;
|
662 |
-
|
663 |
-
module.exports = Object.getPrototypeOf || function (O) {
|
664 |
-
O = toObject(O);
|
665 |
-
if (has(O, IE_PROTO)) return O[IE_PROTO];
|
666 |
-
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
667 |
-
return O.constructor.prototype;
|
668 |
-
} return O instanceof Object ? ObjectProto : null;
|
669 |
-
};
|
670 |
-
|
671 |
-
|
672 |
-
/***/ }),
|
673 |
-
/* 37 */
|
674 |
-
/***/ (function(module, exports, __webpack_require__) {
|
675 |
-
|
676 |
-
"use strict";
|
677 |
-
|
678 |
-
|
679 |
-
exports.__esModule = true;
|
680 |
-
|
681 |
-
exports.default = function (instance, Constructor) {
|
682 |
-
if (!(instance instanceof Constructor)) {
|
683 |
-
throw new TypeError("Cannot call a class as a function");
|
684 |
-
}
|
685 |
-
};
|
686 |
-
|
687 |
-
/***/ }),
|
688 |
-
/* 38 */
|
689 |
-
/***/ (function(module, exports, __webpack_require__) {
|
690 |
-
|
691 |
-
"use strict";
|
692 |
-
|
693 |
-
|
694 |
-
exports.__esModule = true;
|
695 |
-
|
696 |
-
var _defineProperty = __webpack_require__(30);
|
697 |
-
|
698 |
-
var _defineProperty2 = _interopRequireDefault(_defineProperty);
|
699 |
-
|
700 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
701 |
-
|
702 |
-
exports.default = function () {
|
703 |
-
function defineProperties(target, props) {
|
704 |
-
for (var i = 0; i < props.length; i++) {
|
705 |
-
var descriptor = props[i];
|
706 |
-
descriptor.enumerable = descriptor.enumerable || false;
|
707 |
-
descriptor.configurable = true;
|
708 |
-
if ("value" in descriptor) descriptor.writable = true;
|
709 |
-
(0, _defineProperty2.default)(target, descriptor.key, descriptor);
|
710 |
-
}
|
711 |
}
|
712 |
-
|
713 |
-
|
714 |
-
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
715 |
-
if (staticProps) defineProperties(Constructor, staticProps);
|
716 |
-
return Constructor;
|
717 |
};
|
718 |
-
}
|
|
|
719 |
|
720 |
/***/ }),
|
721 |
-
/*
|
722 |
/***/ (function(module, exports, __webpack_require__) {
|
723 |
|
724 |
-
|
|
|
|
|
725 |
|
726 |
|
727 |
-
|
|
|
|
|
728 |
|
729 |
-
var
|
|
|
|
|
|
|
|
|
|
|
|
|
730 |
|
731 |
-
var _typeof3 = _interopRequireDefault(_typeof2);
|
732 |
|
733 |
-
|
|
|
|
|
734 |
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
|
|
739 |
|
740 |
-
|
|
|
|
|
|
|
|
|
|
|
741 |
};
|
742 |
|
|
|
743 |
/***/ }),
|
744 |
-
/*
|
745 |
/***/ (function(module, exports, __webpack_require__) {
|
746 |
|
747 |
"use strict";
|
@@ -768,19 +807,19 @@ exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.d
|
|
768 |
};
|
769 |
|
770 |
/***/ }),
|
771 |
-
/*
|
772 |
/***/ (function(module, exports, __webpack_require__) {
|
773 |
|
774 |
"use strict";
|
775 |
|
776 |
var LIBRARY = __webpack_require__(13);
|
777 |
var $export = __webpack_require__(5);
|
778 |
-
var redefine = __webpack_require__(
|
779 |
var hide = __webpack_require__(6);
|
780 |
-
var Iterators = __webpack_require__(
|
781 |
var $iterCreate = __webpack_require__(64);
|
782 |
-
var setToStringTag = __webpack_require__(
|
783 |
-
var getPrototypeOf = __webpack_require__(
|
784 |
var ITERATOR = __webpack_require__(9)('iterator');
|
785 |
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
786 |
var FF_ITERATOR = '@@iterator';
|
@@ -844,20 +883,20 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
|
|
844 |
|
845 |
|
846 |
/***/ }),
|
847 |
-
/*
|
848 |
/***/ (function(module, exports, __webpack_require__) {
|
849 |
|
850 |
module.exports = __webpack_require__(6);
|
851 |
|
852 |
|
853 |
/***/ }),
|
854 |
-
/*
|
855 |
/***/ (function(module, exports, __webpack_require__) {
|
856 |
|
857 |
var has = __webpack_require__(4);
|
858 |
var toIObject = __webpack_require__(8);
|
859 |
var arrayIndexOf = __webpack_require__(67)(false);
|
860 |
-
var IE_PROTO = __webpack_require__(
|
861 |
|
862 |
module.exports = function (object, names) {
|
863 |
var O = toIObject(object);
|
@@ -874,7 +913,7 @@ module.exports = function (object, names) {
|
|
874 |
|
875 |
|
876 |
/***/ }),
|
877 |
-
/*
|
878 |
/***/ (function(module, exports) {
|
879 |
|
880 |
var toString = {}.toString;
|
@@ -885,19 +924,19 @@ module.exports = function (it) {
|
|
885 |
|
886 |
|
887 |
/***/ }),
|
888 |
-
/*
|
889 |
/***/ (function(module, exports) {
|
890 |
|
891 |
exports.f = Object.getOwnPropertySymbols;
|
892 |
|
893 |
|
894 |
/***/ }),
|
895 |
-
/*
|
896 |
/***/ (function(module, exports, __webpack_require__) {
|
897 |
|
898 |
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
899 |
-
var $keys = __webpack_require__(
|
900 |
-
var hiddenKeys = __webpack_require__(
|
901 |
|
902 |
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
903 |
return $keys(O, hiddenKeys);
|
@@ -905,15 +944,15 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
905 |
|
906 |
|
907 |
/***/ }),
|
908 |
-
/*
|
909 |
/***/ (function(module, exports, __webpack_require__) {
|
910 |
|
911 |
-
var pIE = __webpack_require__(
|
912 |
var createDesc = __webpack_require__(12);
|
913 |
var toIObject = __webpack_require__(8);
|
914 |
-
var toPrimitive = __webpack_require__(
|
915 |
var has = __webpack_require__(4);
|
916 |
-
var IE8_DOM_DEFINE = __webpack_require__(
|
917 |
var gOPD = Object.getOwnPropertyDescriptor;
|
918 |
|
919 |
exports.f = __webpack_require__(3) ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
@@ -926,45 +965,6 @@ exports.f = __webpack_require__(3) ? gOPD : function getOwnPropertyDescriptor(O,
|
|
926 |
};
|
927 |
|
928 |
|
929 |
-
/***/ }),
|
930 |
-
/* 48 */
|
931 |
-
/***/ (function(module, exports, __webpack_require__) {
|
932 |
-
|
933 |
-
"use strict";
|
934 |
-
|
935 |
-
|
936 |
-
exports.__esModule = true;
|
937 |
-
|
938 |
-
var _setPrototypeOf = __webpack_require__(85);
|
939 |
-
|
940 |
-
var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
|
941 |
-
|
942 |
-
var _create = __webpack_require__(89);
|
943 |
-
|
944 |
-
var _create2 = _interopRequireDefault(_create);
|
945 |
-
|
946 |
-
var _typeof2 = __webpack_require__(40);
|
947 |
-
|
948 |
-
var _typeof3 = _interopRequireDefault(_typeof2);
|
949 |
-
|
950 |
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
951 |
-
|
952 |
-
exports.default = function (subClass, superClass) {
|
953 |
-
if (typeof superClass !== "function" && superClass !== null) {
|
954 |
-
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
|
955 |
-
}
|
956 |
-
|
957 |
-
subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
|
958 |
-
constructor: {
|
959 |
-
value: subClass,
|
960 |
-
enumerable: false,
|
961 |
-
writable: true,
|
962 |
-
configurable: true
|
963 |
-
}
|
964 |
-
});
|
965 |
-
if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
|
966 |
-
};
|
967 |
-
|
968 |
/***/ }),
|
969 |
/* 49 */
|
970 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
@@ -974,14 +974,18 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
974 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shortcode__ = __webpack_require__(50);
|
975 |
|
976 |
|
|
|
|
|
|
|
|
|
977 |
/***/ }),
|
978 |
/* 50 */
|
979 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
980 |
|
981 |
"use strict";
|
982 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(
|
983 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);
|
984 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(
|
985 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
986 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(54);
|
987 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
@@ -1172,15 +1176,15 @@ module.exports = function (it) {
|
|
1172 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1173 |
|
1174 |
"use strict";
|
1175 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(
|
1176 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__);
|
1177 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(
|
1178 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);
|
1179 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__ = __webpack_require__(
|
1180 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__);
|
1181 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(
|
1182 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
|
1183 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(
|
1184 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
|
1185 |
|
1186 |
|
@@ -1306,8 +1310,8 @@ module.exports = __webpack_require__(0).Object.getPrototypeOf;
|
|
1306 |
/***/ (function(module, exports, __webpack_require__) {
|
1307 |
|
1308 |
// 19.1.2.9 Object.getPrototypeOf(O)
|
1309 |
-
var toObject = __webpack_require__(
|
1310 |
-
var $getPrototypeOf = __webpack_require__(
|
1311 |
|
1312 |
__webpack_require__(59)('getPrototypeOf', function () {
|
1313 |
return function getPrototypeOf(it) {
|
@@ -1344,7 +1348,7 @@ module.exports = { "default": __webpack_require__(61), __esModule: true };
|
|
1344 |
|
1345 |
__webpack_require__(62);
|
1346 |
__webpack_require__(71);
|
1347 |
-
module.exports = __webpack_require__(
|
1348 |
|
1349 |
|
1350 |
/***/ }),
|
@@ -1356,7 +1360,7 @@ module.exports = __webpack_require__(26).f('iterator');
|
|
1356 |
var $at = __webpack_require__(63)(true);
|
1357 |
|
1358 |
// 21.1.3.27 String.prototype[@@iterator]()
|
1359 |
-
__webpack_require__(
|
1360 |
this._t = String(iterated); // target
|
1361 |
this._i = 0; // next index
|
1362 |
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
@@ -1375,8 +1379,8 @@ __webpack_require__(41)(String, 'String', function (iterated) {
|
|
1375 |
/* 63 */
|
1376 |
/***/ (function(module, exports, __webpack_require__) {
|
1377 |
|
1378 |
-
var toInteger = __webpack_require__(
|
1379 |
-
var defined = __webpack_require__(
|
1380 |
// true -> String#at
|
1381 |
// false -> String#codePointAt
|
1382 |
module.exports = function (TO_STRING) {
|
@@ -1400,9 +1404,9 @@ module.exports = function (TO_STRING) {
|
|
1400 |
|
1401 |
"use strict";
|
1402 |
|
1403 |
-
var create = __webpack_require__(
|
1404 |
var descriptor = __webpack_require__(12);
|
1405 |
-
var setToStringTag = __webpack_require__(
|
1406 |
var IteratorPrototype = {};
|
1407 |
|
1408 |
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
@@ -1420,7 +1424,7 @@ module.exports = function (Constructor, NAME, next) {
|
|
1420 |
|
1421 |
var dP = __webpack_require__(2);
|
1422 |
var anObject = __webpack_require__(10);
|
1423 |
-
var getKeys = __webpack_require__(
|
1424 |
|
1425 |
module.exports = __webpack_require__(3) ? Object.defineProperties : function defineProperties(O, Properties) {
|
1426 |
anObject(O);
|
@@ -1438,7 +1442,7 @@ module.exports = __webpack_require__(3) ? Object.defineProperties : function def
|
|
1438 |
/***/ (function(module, exports, __webpack_require__) {
|
1439 |
|
1440 |
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
1441 |
-
var cof = __webpack_require__(
|
1442 |
// eslint-disable-next-line no-prototype-builtins
|
1443 |
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
1444 |
return cof(it) == 'String' ? it.split('') : Object(it);
|
@@ -1479,7 +1483,7 @@ module.exports = function (IS_INCLUDES) {
|
|
1479 |
/***/ (function(module, exports, __webpack_require__) {
|
1480 |
|
1481 |
// 7.1.15 ToLength
|
1482 |
-
var toInteger = __webpack_require__(
|
1483 |
var min = Math.min;
|
1484 |
module.exports = function (it) {
|
1485 |
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
@@ -1490,7 +1494,7 @@ module.exports = function (it) {
|
|
1490 |
/* 69 */
|
1491 |
/***/ (function(module, exports, __webpack_require__) {
|
1492 |
|
1493 |
-
var toInteger = __webpack_require__(
|
1494 |
var max = Math.max;
|
1495 |
var min = Math.min;
|
1496 |
module.exports = function (index, length) {
|
@@ -1514,7 +1518,7 @@ module.exports = document && document.documentElement;
|
|
1514 |
__webpack_require__(72);
|
1515 |
var global = __webpack_require__(1);
|
1516 |
var hide = __webpack_require__(6);
|
1517 |
-
var Iterators = __webpack_require__(
|
1518 |
var TO_STRING_TAG = __webpack_require__(9)('toStringTag');
|
1519 |
|
1520 |
var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
|
@@ -1540,14 +1544,14 @@ for (var i = 0; i < DOMIterables.length; i++) {
|
|
1540 |
|
1541 |
var addToUnscopables = __webpack_require__(73);
|
1542 |
var step = __webpack_require__(74);
|
1543 |
-
var Iterators = __webpack_require__(
|
1544 |
var toIObject = __webpack_require__(8);
|
1545 |
|
1546 |
// 22.1.3.4 Array.prototype.entries()
|
1547 |
// 22.1.3.13 Array.prototype.keys()
|
1548 |
// 22.1.3.29 Array.prototype.values()
|
1549 |
// 22.1.3.30 Array.prototype[@@iterator]()
|
1550 |
-
module.exports = __webpack_require__(
|
1551 |
this._t = toIObject(iterated); // target
|
1552 |
this._i = 0; // next index
|
1553 |
this._k = kind; // kind
|
@@ -1617,29 +1621,29 @@ var global = __webpack_require__(1);
|
|
1617 |
var has = __webpack_require__(4);
|
1618 |
var DESCRIPTORS = __webpack_require__(3);
|
1619 |
var $export = __webpack_require__(5);
|
1620 |
-
var redefine = __webpack_require__(
|
1621 |
var META = __webpack_require__(78).KEY;
|
1622 |
var $fails = __webpack_require__(11);
|
1623 |
-
var shared = __webpack_require__(
|
1624 |
-
var setToStringTag = __webpack_require__(
|
1625 |
var uid = __webpack_require__(14);
|
1626 |
var wks = __webpack_require__(9);
|
1627 |
-
var wksExt = __webpack_require__(
|
1628 |
-
var wksDefine = __webpack_require__(
|
1629 |
var enumKeys = __webpack_require__(79);
|
1630 |
var isArray = __webpack_require__(80);
|
1631 |
var anObject = __webpack_require__(10);
|
1632 |
var isObject = __webpack_require__(7);
|
1633 |
-
var toObject = __webpack_require__(
|
1634 |
var toIObject = __webpack_require__(8);
|
1635 |
-
var toPrimitive = __webpack_require__(
|
1636 |
var createDesc = __webpack_require__(12);
|
1637 |
-
var _create = __webpack_require__(
|
1638 |
var gOPNExt = __webpack_require__(81);
|
1639 |
-
var $GOPD = __webpack_require__(
|
1640 |
-
var $GOPS = __webpack_require__(
|
1641 |
var $DP = __webpack_require__(2);
|
1642 |
-
var $keys = __webpack_require__(
|
1643 |
var gOPD = $GOPD.f;
|
1644 |
var dP = $DP.f;
|
1645 |
var gOPN = gOPNExt.f;
|
@@ -1762,8 +1766,8 @@ if (!USE_NATIVE) {
|
|
1762 |
|
1763 |
$GOPD.f = $getOwnPropertyDescriptor;
|
1764 |
$DP.f = $defineProperty;
|
1765 |
-
__webpack_require__(
|
1766 |
-
__webpack_require__(
|
1767 |
$GOPS.f = $getOwnPropertySymbols;
|
1768 |
|
1769 |
if (DESCRIPTORS && !__webpack_require__(13)) {
|
@@ -1923,9 +1927,9 @@ var meta = module.exports = {
|
|
1923 |
/***/ (function(module, exports, __webpack_require__) {
|
1924 |
|
1925 |
// all enumerable object keys, includes symbols
|
1926 |
-
var getKeys = __webpack_require__(
|
1927 |
-
var gOPS = __webpack_require__(
|
1928 |
-
var pIE = __webpack_require__(
|
1929 |
module.exports = function (it) {
|
1930 |
var result = getKeys(it);
|
1931 |
var getSymbols = gOPS.f;
|
@@ -1944,7 +1948,7 @@ module.exports = function (it) {
|
|
1944 |
/***/ (function(module, exports, __webpack_require__) {
|
1945 |
|
1946 |
// 7.2.2 IsArray(argument)
|
1947 |
-
var cof = __webpack_require__(
|
1948 |
module.exports = Array.isArray || function isArray(arg) {
|
1949 |
return cof(arg) == 'Array';
|
1950 |
};
|
@@ -1956,7 +1960,7 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
1956 |
|
1957 |
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
1958 |
var toIObject = __webpack_require__(8);
|
1959 |
-
var gOPN = __webpack_require__(
|
1960 |
var toString = {}.toString;
|
1961 |
|
1962 |
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
@@ -1985,14 +1989,14 @@ module.exports.f = function getOwnPropertyNames(it) {
|
|
1985 |
/* 83 */
|
1986 |
/***/ (function(module, exports, __webpack_require__) {
|
1987 |
|
1988 |
-
__webpack_require__(
|
1989 |
|
1990 |
|
1991 |
/***/ }),
|
1992 |
/* 84 */
|
1993 |
/***/ (function(module, exports, __webpack_require__) {
|
1994 |
|
1995 |
-
__webpack_require__(
|
1996 |
|
1997 |
|
1998 |
/***/ }),
|
@@ -2034,7 +2038,7 @@ module.exports = {
|
|
2034 |
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
2035 |
function (test, buggy, set) {
|
2036 |
try {
|
2037 |
-
set = __webpack_require__(
|
2038 |
set(test, []);
|
2039 |
buggy = !(test instanceof Array);
|
2040 |
} catch (e) { buggy = true; }
|
@@ -2072,7 +2076,7 @@ module.exports = function create(P, D) {
|
|
2072 |
|
2073 |
var $export = __webpack_require__(5);
|
2074 |
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
2075 |
-
$export($export.S, 'Object', { create: __webpack_require__(
|
2076 |
|
2077 |
|
2078 |
/***/ }),
|
@@ -2080,19 +2084,19 @@ $export($export.S, 'Object', { create: __webpack_require__(22) });
|
|
2080 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2081 |
|
2082 |
"use strict";
|
2083 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(
|
2084 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);
|
2085 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(
|
2086 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__);
|
2087 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(
|
2088 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
|
2089 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass__ = __webpack_require__(
|
2090 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass__);
|
2091 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(
|
2092 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__);
|
2093 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__ = __webpack_require__(
|
2094 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__);
|
2095 |
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames__ = __webpack_require__(
|
2096 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_classnames__);
|
2097 |
|
2098 |
|
@@ -2722,6 +2726,331 @@ var Buttons = function (_Component) {
|
|
2722 |
|
2723 |
/* harmony default export */ __webpack_exports__["a"] = (Buttons);
|
2724 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2725 |
/***/ })
|
2726 |
/******/ ]);
|
2727 |
//# sourceMappingURL=blocks.editor.js.map
|
88 |
/***/ (function(module, exports, __webpack_require__) {
|
89 |
|
90 |
var anObject = __webpack_require__(10);
|
91 |
+
var IE8_DOM_DEFINE = __webpack_require__(38);
|
92 |
+
var toPrimitive = __webpack_require__(16);
|
93 |
var dP = Object.defineProperty;
|
94 |
|
95 |
exports.f = __webpack_require__(3) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
131 |
|
132 |
var global = __webpack_require__(1);
|
133 |
var core = __webpack_require__(0);
|
134 |
+
var ctx = __webpack_require__(37);
|
135 |
var hide = __webpack_require__(6);
|
136 |
var has = __webpack_require__(4);
|
137 |
var PROTOTYPE = 'prototype';
|
222 |
|
223 |
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
224 |
var IObject = __webpack_require__(66);
|
225 |
+
var defined = __webpack_require__(20);
|
226 |
module.exports = function (it) {
|
227 |
return IObject(defined(it));
|
228 |
};
|
232 |
/* 9 */
|
233 |
/***/ (function(module, exports, __webpack_require__) {
|
234 |
|
235 |
+
var store = __webpack_require__(22)('wks');
|
236 |
var uid = __webpack_require__(14);
|
237 |
var Symbol = __webpack_require__(1).Symbol;
|
238 |
var USE_SYMBOL = typeof Symbol == 'function';
|
305 |
/* 15 */
|
306 |
/***/ (function(module, exports, __webpack_require__) {
|
307 |
|
308 |
+
"use strict";
|
309 |
+
|
310 |
+
|
311 |
+
exports.__esModule = true;
|
312 |
+
|
313 |
+
var _defineProperty = __webpack_require__(36);
|
314 |
+
|
315 |
+
var _defineProperty2 = _interopRequireDefault(_defineProperty);
|
316 |
+
|
317 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
318 |
+
|
319 |
+
exports.default = function (obj, key, value) {
|
320 |
+
if (key in obj) {
|
321 |
+
(0, _defineProperty2.default)(obj, key, {
|
322 |
+
value: value,
|
323 |
+
enumerable: true,
|
324 |
+
configurable: true,
|
325 |
+
writable: true
|
326 |
+
});
|
327 |
+
} else {
|
328 |
+
obj[key] = value;
|
329 |
+
}
|
330 |
+
|
331 |
+
return obj;
|
332 |
+
};
|
333 |
+
|
334 |
+
/***/ }),
|
335 |
+
/* 16 */
|
336 |
+
/***/ (function(module, exports, __webpack_require__) {
|
337 |
+
|
338 |
// 7.1.1 ToPrimitive(input [, PreferredType])
|
339 |
var isObject = __webpack_require__(7);
|
340 |
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
350 |
|
351 |
|
352 |
/***/ }),
|
353 |
+
/* 17 */
|
354 |
+
/***/ (function(module, exports, __webpack_require__) {
|
355 |
+
|
356 |
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
357 |
+
Copyright (c) 2017 Jed Watson.
|
358 |
+
Licensed under the MIT License (MIT), see
|
359 |
+
http://jedwatson.github.io/classnames
|
360 |
+
*/
|
361 |
+
/* global define */
|
362 |
+
|
363 |
+
(function () {
|
364 |
+
'use strict';
|
365 |
+
|
366 |
+
var hasOwn = {}.hasOwnProperty;
|
367 |
+
|
368 |
+
function classNames () {
|
369 |
+
var classes = [];
|
370 |
+
|
371 |
+
for (var i = 0; i < arguments.length; i++) {
|
372 |
+
var arg = arguments[i];
|
373 |
+
if (!arg) continue;
|
374 |
+
|
375 |
+
var argType = typeof arg;
|
376 |
+
|
377 |
+
if (argType === 'string' || argType === 'number') {
|
378 |
+
classes.push(arg);
|
379 |
+
} else if (Array.isArray(arg) && arg.length) {
|
380 |
+
var inner = classNames.apply(null, arg);
|
381 |
+
if (inner) {
|
382 |
+
classes.push(inner);
|
383 |
+
}
|
384 |
+
} else if (argType === 'object') {
|
385 |
+
for (var key in arg) {
|
386 |
+
if (hasOwn.call(arg, key) && arg[key]) {
|
387 |
+
classes.push(key);
|
388 |
+
}
|
389 |
+
}
|
390 |
+
}
|
391 |
+
}
|
392 |
+
|
393 |
+
return classes.join(' ');
|
394 |
+
}
|
395 |
+
|
396 |
+
if (typeof module !== 'undefined' && module.exports) {
|
397 |
+
classNames.default = classNames;
|
398 |
+
module.exports = classNames;
|
399 |
+
} else if (true) {
|
400 |
+
// register as 'classnames', consistent with npm package name
|
401 |
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
402 |
+
return classNames;
|
403 |
+
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
404 |
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
405 |
+
} else {
|
406 |
+
window.classNames = classNames;
|
407 |
+
}
|
408 |
+
}());
|
409 |
+
|
410 |
+
|
411 |
+
/***/ }),
|
412 |
+
/* 18 */
|
413 |
+
/***/ (function(module, exports, __webpack_require__) {
|
414 |
+
|
415 |
+
module.exports = { "default": __webpack_require__(57), __esModule: true };
|
416 |
+
|
417 |
+
/***/ }),
|
418 |
+
/* 19 */
|
419 |
/***/ (function(module, exports, __webpack_require__) {
|
420 |
|
421 |
// 7.1.13 ToObject(argument)
|
422 |
+
var defined = __webpack_require__(20);
|
423 |
module.exports = function (it) {
|
424 |
return Object(defined(it));
|
425 |
};
|
426 |
|
427 |
|
428 |
/***/ }),
|
429 |
+
/* 20 */
|
430 |
/***/ (function(module, exports) {
|
431 |
|
432 |
// 7.2.1 RequireObjectCoercible(argument)
|
437 |
|
438 |
|
439 |
/***/ }),
|
440 |
+
/* 21 */
|
441 |
/***/ (function(module, exports, __webpack_require__) {
|
442 |
|
443 |
+
var shared = __webpack_require__(22)('keys');
|
444 |
var uid = __webpack_require__(14);
|
445 |
module.exports = function (key) {
|
446 |
return shared[key] || (shared[key] = uid(key));
|
448 |
|
449 |
|
450 |
/***/ }),
|
451 |
+
/* 22 */
|
452 |
/***/ (function(module, exports, __webpack_require__) {
|
453 |
|
454 |
var core = __webpack_require__(0);
|
466 |
|
467 |
|
468 |
/***/ }),
|
469 |
+
/* 23 */
|
470 |
+
/***/ (function(module, exports, __webpack_require__) {
|
471 |
+
|
472 |
+
"use strict";
|
473 |
+
|
474 |
+
|
475 |
+
exports.__esModule = true;
|
476 |
+
|
477 |
+
exports.default = function (instance, Constructor) {
|
478 |
+
if (!(instance instanceof Constructor)) {
|
479 |
+
throw new TypeError("Cannot call a class as a function");
|
480 |
+
}
|
481 |
+
};
|
482 |
+
|
483 |
+
/***/ }),
|
484 |
+
/* 24 */
|
485 |
+
/***/ (function(module, exports, __webpack_require__) {
|
486 |
+
|
487 |
+
"use strict";
|
488 |
+
|
489 |
+
|
490 |
+
exports.__esModule = true;
|
491 |
+
|
492 |
+
var _defineProperty = __webpack_require__(36);
|
493 |
+
|
494 |
+
var _defineProperty2 = _interopRequireDefault(_defineProperty);
|
495 |
+
|
496 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
497 |
+
|
498 |
+
exports.default = function () {
|
499 |
+
function defineProperties(target, props) {
|
500 |
+
for (var i = 0; i < props.length; i++) {
|
501 |
+
var descriptor = props[i];
|
502 |
+
descriptor.enumerable = descriptor.enumerable || false;
|
503 |
+
descriptor.configurable = true;
|
504 |
+
if ("value" in descriptor) descriptor.writable = true;
|
505 |
+
(0, _defineProperty2.default)(target, descriptor.key, descriptor);
|
506 |
+
}
|
507 |
+
}
|
508 |
+
|
509 |
+
return function (Constructor, protoProps, staticProps) {
|
510 |
+
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
511 |
+
if (staticProps) defineProperties(Constructor, staticProps);
|
512 |
+
return Constructor;
|
513 |
+
};
|
514 |
+
}();
|
515 |
+
|
516 |
+
/***/ }),
|
517 |
+
/* 25 */
|
518 |
+
/***/ (function(module, exports, __webpack_require__) {
|
519 |
+
|
520 |
+
"use strict";
|
521 |
+
|
522 |
+
|
523 |
+
exports.__esModule = true;
|
524 |
+
|
525 |
+
var _typeof2 = __webpack_require__(41);
|
526 |
+
|
527 |
+
var _typeof3 = _interopRequireDefault(_typeof2);
|
528 |
+
|
529 |
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
530 |
+
|
531 |
+
exports.default = function (self, call) {
|
532 |
+
if (!self) {
|
533 |
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
534 |
+
}
|
535 |
+
|
536 |
+
return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
|
537 |
+
};
|
538 |
+
|
539 |
+
/***/ }),
|
540 |
+
/* 26 */
|
541 |
/***/ (function(module, exports) {
|
542 |
|
543 |
// 7.1.4 ToInteger
|
549 |
|
550 |
|
551 |
/***/ }),
|
552 |
+
/* 27 */
|
553 |
/***/ (function(module, exports) {
|
554 |
|
555 |
module.exports = {};
|
556 |
|
557 |
|
558 |
/***/ }),
|
559 |
+
/* 28 */
|
560 |
/***/ (function(module, exports, __webpack_require__) {
|
561 |
|
562 |
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
563 |
var anObject = __webpack_require__(10);
|
564 |
var dPs = __webpack_require__(65);
|
565 |
+
var enumBugKeys = __webpack_require__(30);
|
566 |
+
var IE_PROTO = __webpack_require__(21)('IE_PROTO');
|
567 |
var Empty = function () { /* empty */ };
|
568 |
var PROTOTYPE = 'prototype';
|
569 |
|
570 |
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
571 |
var createDict = function () {
|
572 |
// Thrash, waste and sodomy: IE GC bug
|
573 |
+
var iframe = __webpack_require__(39)('iframe');
|
574 |
var i = enumBugKeys.length;
|
575 |
var lt = '<';
|
576 |
var gt = '>';
|
603 |
|
604 |
|
605 |
/***/ }),
|
606 |
+
/* 29 */
|
607 |
/***/ (function(module, exports, __webpack_require__) {
|
608 |
|
609 |
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
610 |
+
var $keys = __webpack_require__(44);
|
611 |
+
var enumBugKeys = __webpack_require__(30);
|
612 |
|
613 |
module.exports = Object.keys || function keys(O) {
|
614 |
return $keys(O, enumBugKeys);
|
616 |
|
617 |
|
618 |
/***/ }),
|
619 |
+
/* 30 */
|
620 |
/***/ (function(module, exports) {
|
621 |
|
622 |
// IE 8- don't enum bug keys
|
626 |
|
627 |
|
628 |
/***/ }),
|
629 |
+
/* 31 */
|
630 |
/***/ (function(module, exports, __webpack_require__) {
|
631 |
|
632 |
var def = __webpack_require__(2).f;
|
639 |
|
640 |
|
641 |
/***/ }),
|
642 |
+
/* 32 */
|
643 |
/***/ (function(module, exports, __webpack_require__) {
|
644 |
|
645 |
exports.f = __webpack_require__(9);
|
646 |
|
647 |
|
648 |
/***/ }),
|
649 |
+
/* 33 */
|
650 |
/***/ (function(module, exports, __webpack_require__) {
|
651 |
|
652 |
var global = __webpack_require__(1);
|
653 |
var core = __webpack_require__(0);
|
654 |
var LIBRARY = __webpack_require__(13);
|
655 |
+
var wksExt = __webpack_require__(32);
|
656 |
var defineProperty = __webpack_require__(2).f;
|
657 |
module.exports = function (name) {
|
658 |
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
|
661 |
|
662 |
|
663 |
/***/ }),
|
664 |
+
/* 34 */
|
665 |
/***/ (function(module, exports) {
|
666 |
|
667 |
exports.f = {}.propertyIsEnumerable;
|
668 |
|
669 |
|
670 |
/***/ }),
|
671 |
+
/* 35 */
|
672 |
/***/ (function(module, exports, __webpack_require__) {
|
673 |
|
674 |
"use strict";
|
676 |
|
677 |
exports.__esModule = true;
|
678 |
|
679 |
+
var _setPrototypeOf = __webpack_require__(85);
|
680 |
|
681 |
+
var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);
|
682 |
+
|
683 |
+
var _create = __webpack_require__(89);
|
684 |
+
|
685 |
+
var _create2 = _interopRequireDefault(_create);
|
686 |
+
|
687 |
+
var _typeof2 = __webpack_require__(41);
|
688 |
+
|
689 |
+
var _typeof3 = _interopRequireDefault(_typeof2);
|
690 |
|
691 |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
692 |
|
693 |
+
exports.default = function (subClass, superClass) {
|
694 |
+
if (typeof superClass !== "function" && superClass !== null) {
|
695 |
+
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
}
|
697 |
|
698 |
+
subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
|
699 |
+
constructor: {
|
700 |
+
value: subClass,
|
701 |
+
enumerable: false,
|
702 |
+
writable: true,
|
703 |
+
configurable: true
|
704 |
+
}
|
705 |
+
});
|
706 |
+
if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
|
707 |
};
|
708 |
|
709 |
/***/ }),
|
710 |
+
/* 36 */
|
711 |
/***/ (function(module, exports, __webpack_require__) {
|
712 |
|
713 |
module.exports = { "default": __webpack_require__(51), __esModule: true };
|
714 |
|
715 |
/***/ }),
|
716 |
+
/* 37 */
|
717 |
/***/ (function(module, exports, __webpack_require__) {
|
718 |
|
719 |
// optional / simple context binding
|
728 |
case 2: return function (a, b) {
|
729 |
return fn.call(that, a, b);
|
730 |
};
|
731 |
+
case 3: return function (a, b, c) {
|
732 |
+
return fn.call(that, a, b, c);
|
733 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
}
|
735 |
+
return function (/* ...args */) {
|
736 |
+
return fn.apply(that, arguments);
|
|
|
|
|
|
|
737 |
};
|
738 |
+
};
|
739 |
+
|
740 |
|
741 |
/***/ }),
|
742 |
+
/* 38 */
|
743 |
/***/ (function(module, exports, __webpack_require__) {
|
744 |
|
745 |
+
module.exports = !__webpack_require__(3) && !__webpack_require__(11)(function () {
|
746 |
+
return Object.defineProperty(__webpack_require__(39)('div'), 'a', { get: function () { return 7; } }).a != 7;
|
747 |
+
});
|
748 |
|
749 |
|
750 |
+
/***/ }),
|
751 |
+
/* 39 */
|
752 |
+
/***/ (function(module, exports, __webpack_require__) {
|
753 |
|
754 |
+
var isObject = __webpack_require__(7);
|
755 |
+
var document = __webpack_require__(1).document;
|
756 |
+
// typeof document.createElement is 'object' in old IE
|
757 |
+
var is = isObject(document) && isObject(document.createElement);
|
758 |
+
module.exports = function (it) {
|
759 |
+
return is ? document.createElement(it) : {};
|
760 |
+
};
|
761 |
|
|
|
762 |
|
763 |
+
/***/ }),
|
764 |
+
/* 40 */
|
765 |
+
/***/ (function(module, exports, __webpack_require__) {
|
766 |
|
767 |
+
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
768 |
+
var has = __webpack_require__(4);
|
769 |
+
var toObject = __webpack_require__(19);
|
770 |
+
var IE_PROTO = __webpack_require__(21)('IE_PROTO');
|
771 |
+
var ObjectProto = Object.prototype;
|
772 |
|
773 |
+
module.exports = Object.getPrototypeOf || function (O) {
|
774 |
+
O = toObject(O);
|
775 |
+
if (has(O, IE_PROTO)) return O[IE_PROTO];
|
776 |
+
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
777 |
+
return O.constructor.prototype;
|
778 |
+
} return O instanceof Object ? ObjectProto : null;
|
779 |
};
|
780 |
|
781 |
+
|
782 |
/***/ }),
|
783 |
+
/* 41 */
|
784 |
/***/ (function(module, exports, __webpack_require__) {
|
785 |
|
786 |
"use strict";
|
807 |
};
|
808 |
|
809 |
/***/ }),
|
810 |
+
/* 42 */
|
811 |
/***/ (function(module, exports, __webpack_require__) {
|
812 |
|
813 |
"use strict";
|
814 |
|
815 |
var LIBRARY = __webpack_require__(13);
|
816 |
var $export = __webpack_require__(5);
|
817 |
+
var redefine = __webpack_require__(43);
|
818 |
var hide = __webpack_require__(6);
|
819 |
+
var Iterators = __webpack_require__(27);
|
820 |
var $iterCreate = __webpack_require__(64);
|
821 |
+
var setToStringTag = __webpack_require__(31);
|
822 |
+
var getPrototypeOf = __webpack_require__(40);
|
823 |
var ITERATOR = __webpack_require__(9)('iterator');
|
824 |
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
825 |
var FF_ITERATOR = '@@iterator';
|
883 |
|
884 |
|
885 |
/***/ }),
|
886 |
+
/* 43 */
|
887 |
/***/ (function(module, exports, __webpack_require__) {
|
888 |
|
889 |
module.exports = __webpack_require__(6);
|
890 |
|
891 |
|
892 |
/***/ }),
|
893 |
+
/* 44 */
|
894 |
/***/ (function(module, exports, __webpack_require__) {
|
895 |
|
896 |
var has = __webpack_require__(4);
|
897 |
var toIObject = __webpack_require__(8);
|
898 |
var arrayIndexOf = __webpack_require__(67)(false);
|
899 |
+
var IE_PROTO = __webpack_require__(21)('IE_PROTO');
|
900 |
|
901 |
module.exports = function (object, names) {
|
902 |
var O = toIObject(object);
|
913 |
|
914 |
|
915 |
/***/ }),
|
916 |
+
/* 45 */
|
917 |
/***/ (function(module, exports) {
|
918 |
|
919 |
var toString = {}.toString;
|
924 |
|
925 |
|
926 |
/***/ }),
|
927 |
+
/* 46 */
|
928 |
/***/ (function(module, exports) {
|
929 |
|
930 |
exports.f = Object.getOwnPropertySymbols;
|
931 |
|
932 |
|
933 |
/***/ }),
|
934 |
+
/* 47 */
|
935 |
/***/ (function(module, exports, __webpack_require__) {
|
936 |
|
937 |
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
938 |
+
var $keys = __webpack_require__(44);
|
939 |
+
var hiddenKeys = __webpack_require__(30).concat('length', 'prototype');
|
940 |
|
941 |
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
942 |
return $keys(O, hiddenKeys);
|
944 |
|
945 |
|
946 |
/***/ }),
|
947 |
+
/* 48 */
|
948 |
/***/ (function(module, exports, __webpack_require__) {
|
949 |
|
950 |
+
var pIE = __webpack_require__(34);
|
951 |
var createDesc = __webpack_require__(12);
|
952 |
var toIObject = __webpack_require__(8);
|
953 |
+
var toPrimitive = __webpack_require__(16);
|
954 |
var has = __webpack_require__(4);
|
955 |
+
var IE8_DOM_DEFINE = __webpack_require__(38);
|
956 |
var gOPD = Object.getOwnPropertyDescriptor;
|
957 |
|
958 |
exports.f = __webpack_require__(3) ? gOPD : function getOwnPropertyDescriptor(O, P) {
|
965 |
};
|
966 |
|
967 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
968 |
/***/ }),
|
969 |
/* 49 */
|
970 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
974 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shortcode__ = __webpack_require__(50);
|
975 |
|
976 |
|
977 |
+
if (SSB.is_pro) {
|
978 |
+
__webpack_require__(93);
|
979 |
+
}
|
980 |
+
|
981 |
/***/ }),
|
982 |
/* 50 */
|
983 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
984 |
|
985 |
"use strict";
|
986 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(15);
|
987 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);
|
988 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(17);
|
989 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
990 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(54);
|
991 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);
|
1176 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
1177 |
|
1178 |
"use strict";
|
1179 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(18);
|
1180 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__);
|
1181 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(23);
|
1182 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);
|
1183 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__ = __webpack_require__(24);
|
1184 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__);
|
1185 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(25);
|
1186 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
|
1187 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(35);
|
1188 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
|
1189 |
|
1190 |
|
1310 |
/***/ (function(module, exports, __webpack_require__) {
|
1311 |
|
1312 |
// 19.1.2.9 Object.getPrototypeOf(O)
|
1313 |
+
var toObject = __webpack_require__(19);
|
1314 |
+
var $getPrototypeOf = __webpack_require__(40);
|
1315 |
|
1316 |
__webpack_require__(59)('getPrototypeOf', function () {
|
1317 |
return function getPrototypeOf(it) {
|
1348 |
|
1349 |
__webpack_require__(62);
|
1350 |
__webpack_require__(71);
|
1351 |
+
module.exports = __webpack_require__(32).f('iterator');
|
1352 |
|
1353 |
|
1354 |
/***/ }),
|
1360 |
var $at = __webpack_require__(63)(true);
|
1361 |
|
1362 |
// 21.1.3.27 String.prototype[@@iterator]()
|
1363 |
+
__webpack_require__(42)(String, 'String', function (iterated) {
|
1364 |
this._t = String(iterated); // target
|
1365 |
this._i = 0; // next index
|
1366 |
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
1379 |
/* 63 */
|
1380 |
/***/ (function(module, exports, __webpack_require__) {
|
1381 |
|
1382 |
+
var toInteger = __webpack_require__(26);
|
1383 |
+
var defined = __webpack_require__(20);
|
1384 |
// true -> String#at
|
1385 |
// false -> String#codePointAt
|
1386 |
module.exports = function (TO_STRING) {
|
1404 |
|
1405 |
"use strict";
|
1406 |
|
1407 |
+
var create = __webpack_require__(28);
|
1408 |
var descriptor = __webpack_require__(12);
|
1409 |
+
var setToStringTag = __webpack_require__(31);
|
1410 |
var IteratorPrototype = {};
|
1411 |
|
1412 |
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
1424 |
|
1425 |
var dP = __webpack_require__(2);
|
1426 |
var anObject = __webpack_require__(10);
|
1427 |
+
var getKeys = __webpack_require__(29);
|
1428 |
|
1429 |
module.exports = __webpack_require__(3) ? Object.defineProperties : function defineProperties(O, Properties) {
|
1430 |
anObject(O);
|
1442 |
/***/ (function(module, exports, __webpack_require__) {
|
1443 |
|
1444 |
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
1445 |
+
var cof = __webpack_require__(45);
|
1446 |
// eslint-disable-next-line no-prototype-builtins
|
1447 |
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
1448 |
return cof(it) == 'String' ? it.split('') : Object(it);
|
1483 |
/***/ (function(module, exports, __webpack_require__) {
|
1484 |
|
1485 |
// 7.1.15 ToLength
|
1486 |
+
var toInteger = __webpack_require__(26);
|
1487 |
var min = Math.min;
|
1488 |
module.exports = function (it) {
|
1489 |
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
1494 |
/* 69 */
|
1495 |
/***/ (function(module, exports, __webpack_require__) {
|
1496 |
|
1497 |
+
var toInteger = __webpack_require__(26);
|
1498 |
var max = Math.max;
|
1499 |
var min = Math.min;
|
1500 |
module.exports = function (index, length) {
|
1518 |
__webpack_require__(72);
|
1519 |
var global = __webpack_require__(1);
|
1520 |
var hide = __webpack_require__(6);
|
1521 |
+
var Iterators = __webpack_require__(27);
|
1522 |
var TO_STRING_TAG = __webpack_require__(9)('toStringTag');
|
1523 |
|
1524 |
var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
|
1544 |
|
1545 |
var addToUnscopables = __webpack_require__(73);
|
1546 |
var step = __webpack_require__(74);
|
1547 |
+
var Iterators = __webpack_require__(27);
|
1548 |
var toIObject = __webpack_require__(8);
|
1549 |
|
1550 |
// 22.1.3.4 Array.prototype.entries()
|
1551 |
// 22.1.3.13 Array.prototype.keys()
|
1552 |
// 22.1.3.29 Array.prototype.values()
|
1553 |
// 22.1.3.30 Array.prototype[@@iterator]()
|
1554 |
+
module.exports = __webpack_require__(42)(Array, 'Array', function (iterated, kind) {
|
1555 |
this._t = toIObject(iterated); // target
|
1556 |
this._i = 0; // next index
|
1557 |
this._k = kind; // kind
|
1621 |
var has = __webpack_require__(4);
|
1622 |
var DESCRIPTORS = __webpack_require__(3);
|
1623 |
var $export = __webpack_require__(5);
|
1624 |
+
var redefine = __webpack_require__(43);
|
1625 |
var META = __webpack_require__(78).KEY;
|
1626 |
var $fails = __webpack_require__(11);
|
1627 |
+
var shared = __webpack_require__(22);
|
1628 |
+
var setToStringTag = __webpack_require__(31);
|
1629 |
var uid = __webpack_require__(14);
|
1630 |
var wks = __webpack_require__(9);
|
1631 |
+
var wksExt = __webpack_require__(32);
|
1632 |
+
var wksDefine = __webpack_require__(33);
|
1633 |
var enumKeys = __webpack_require__(79);
|
1634 |
var isArray = __webpack_require__(80);
|
1635 |
var anObject = __webpack_require__(10);
|
1636 |
var isObject = __webpack_require__(7);
|
1637 |
+
var toObject = __webpack_require__(19);
|
1638 |
var toIObject = __webpack_require__(8);
|
1639 |
+
var toPrimitive = __webpack_require__(16);
|
1640 |
var createDesc = __webpack_require__(12);
|
1641 |
+
var _create = __webpack_require__(28);
|
1642 |
var gOPNExt = __webpack_require__(81);
|
1643 |
+
var $GOPD = __webpack_require__(48);
|
1644 |
+
var $GOPS = __webpack_require__(46);
|
1645 |
var $DP = __webpack_require__(2);
|
1646 |
+
var $keys = __webpack_require__(29);
|
1647 |
var gOPD = $GOPD.f;
|
1648 |
var dP = $DP.f;
|
1649 |
var gOPN = gOPNExt.f;
|
1766 |
|
1767 |
$GOPD.f = $getOwnPropertyDescriptor;
|
1768 |
$DP.f = $defineProperty;
|
1769 |
+
__webpack_require__(47).f = gOPNExt.f = $getOwnPropertyNames;
|
1770 |
+
__webpack_require__(34).f = $propertyIsEnumerable;
|
1771 |
$GOPS.f = $getOwnPropertySymbols;
|
1772 |
|
1773 |
if (DESCRIPTORS && !__webpack_require__(13)) {
|
1927 |
/***/ (function(module, exports, __webpack_require__) {
|
1928 |
|
1929 |
// all enumerable object keys, includes symbols
|
1930 |
+
var getKeys = __webpack_require__(29);
|
1931 |
+
var gOPS = __webpack_require__(46);
|
1932 |
+
var pIE = __webpack_require__(34);
|
1933 |
module.exports = function (it) {
|
1934 |
var result = getKeys(it);
|
1935 |
var getSymbols = gOPS.f;
|
1948 |
/***/ (function(module, exports, __webpack_require__) {
|
1949 |
|
1950 |
// 7.2.2 IsArray(argument)
|
1951 |
+
var cof = __webpack_require__(45);
|
1952 |
module.exports = Array.isArray || function isArray(arg) {
|
1953 |
return cof(arg) == 'Array';
|
1954 |
};
|
1960 |
|
1961 |
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
1962 |
var toIObject = __webpack_require__(8);
|
1963 |
+
var gOPN = __webpack_require__(47).f;
|
1964 |
var toString = {}.toString;
|
1965 |
|
1966 |
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
1989 |
/* 83 */
|
1990 |
/***/ (function(module, exports, __webpack_require__) {
|
1991 |
|
1992 |
+
__webpack_require__(33)('asyncIterator');
|
1993 |
|
1994 |
|
1995 |
/***/ }),
|
1996 |
/* 84 */
|
1997 |
/***/ (function(module, exports, __webpack_require__) {
|
1998 |
|
1999 |
+
__webpack_require__(33)('observable');
|
2000 |
|
2001 |
|
2002 |
/***/ }),
|
2038 |
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
2039 |
function (test, buggy, set) {
|
2040 |
try {
|
2041 |
+
set = __webpack_require__(37)(Function.call, __webpack_require__(48).f(Object.prototype, '__proto__').set, 2);
|
2042 |
set(test, []);
|
2043 |
buggy = !(test instanceof Array);
|
2044 |
} catch (e) { buggy = true; }
|
2076 |
|
2077 |
var $export = __webpack_require__(5);
|
2078 |
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
2079 |
+
$export($export.S, 'Object', { create: __webpack_require__(28) });
|
2080 |
|
2081 |
|
2082 |
/***/ }),
|
2084 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2085 |
|
2086 |
"use strict";
|
2087 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(15);
|
2088 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);
|
2089 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(18);
|
2090 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of__);
|
2091 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__ = __webpack_require__(23);
|
2092 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck__);
|
2093 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass__ = __webpack_require__(24);
|
2094 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass__);
|
2095 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(25);
|
2096 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn__);
|
2097 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__ = __webpack_require__(35);
|
2098 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__);
|
2099 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames__ = __webpack_require__(17);
|
2100 |
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_classnames__);
|
2101 |
|
2102 |
|
2726 |
|
2727 |
/* harmony default export */ __webpack_exports__["a"] = (Buttons);
|
2728 |
|
2729 |
+
/***/ }),
|
2730 |
+
/* 93 */
|
2731 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2732 |
+
|
2733 |
+
"use strict";
|
2734 |
+
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
2735 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(15);
|
2736 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);
|
2737 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(17);
|
2738 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);
|
2739 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__icon__ = __webpack_require__(94);
|
2740 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__settings__ = __webpack_require__(95);
|
2741 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss__ = __webpack_require__(96);
|
2742 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__editor_scss__);
|
2743 |
+
|
2744 |
+
/**
|
2745 |
+
* Block dependencies.
|
2746 |
+
*/
|
2747 |
+
|
2748 |
+
|
2749 |
+
|
2750 |
+
|
2751 |
+
/**
|
2752 |
+
* Block libraries
|
2753 |
+
*/
|
2754 |
+
|
2755 |
+
var __ = wp.i18n.__;
|
2756 |
+
var Fragment = wp.element.Fragment;
|
2757 |
+
var _wp$editor = wp.editor,
|
2758 |
+
InspectorControls = _wp$editor.InspectorControls,
|
2759 |
+
BlockControls = _wp$editor.BlockControls,
|
2760 |
+
BlockAlignmentToolbar = _wp$editor.BlockAlignmentToolbar,
|
2761 |
+
RichText = _wp$editor.RichText;
|
2762 |
+
var registerBlockType = wp.blocks.registerBlockType;
|
2763 |
+
|
2764 |
+
|
2765 |
+
/* harmony default export */ __webpack_exports__["default"] = (registerBlockType("ssb/click-to-tweet", {
|
2766 |
+
title: __("Click to Tweet"),
|
2767 |
+
description: __("SSB Click to tweet easy way to tweet your content."),
|
2768 |
+
category: "common",
|
2769 |
+
icon: __WEBPACK_IMPORTED_MODULE_2__icon__["a" /* default */],
|
2770 |
+
keywords: [__("twiter"), __("clicktotweet"), __("ssb")],
|
2771 |
+
attributes: {
|
2772 |
+
theme: {
|
2773 |
+
type: "string",
|
2774 |
+
default: "twitter-round"
|
2775 |
+
},
|
2776 |
+
tweet: {
|
2777 |
+
type: "string",
|
2778 |
+
default: ""
|
2779 |
+
},
|
2780 |
+
front: {
|
2781 |
+
type: "string",
|
2782 |
+
default: ""
|
2783 |
+
},
|
2784 |
+
IncludePageLink: {
|
2785 |
+
type: "boolean",
|
2786 |
+
default: true
|
2787 |
+
},
|
2788 |
+
IncludeVia: {
|
2789 |
+
type: "boolean",
|
2790 |
+
default: true
|
2791 |
+
},
|
2792 |
+
showTweetButton: {
|
2793 |
+
type: "boolean",
|
2794 |
+
default: true
|
2795 |
+
},
|
2796 |
+
align: {
|
2797 |
+
type: "string",
|
2798 |
+
default: ""
|
2799 |
+
}
|
2800 |
+
},
|
2801 |
+
supports: {
|
2802 |
+
// Turn off ability to edit HTML of block content.
|
2803 |
+
html: false,
|
2804 |
+
// Turn off reusable block feature.
|
2805 |
+
reusable: false
|
2806 |
+
|
2807 |
+
},
|
2808 |
+
getEditWrapperProps: function getEditWrapperProps(_ref) {
|
2809 |
+
var align = _ref.align;
|
2810 |
+
|
2811 |
+
if ("center" === align || "wide" === align || "full" === align) {
|
2812 |
+
return { "data-align": align };
|
2813 |
+
}
|
2814 |
+
},
|
2815 |
+
|
2816 |
+
edit: function edit(props) {
|
2817 |
+
var _props$attributes = props.attributes,
|
2818 |
+
front = _props$attributes.front,
|
2819 |
+
theme = _props$attributes.theme,
|
2820 |
+
align = _props$attributes.align,
|
2821 |
+
showTweetButton = _props$attributes.showTweetButton,
|
2822 |
+
className = props.className,
|
2823 |
+
setAttributes = props.setAttributes;
|
2824 |
+
|
2825 |
+
var mainClasses = __WEBPACK_IMPORTED_MODULE_1_classnames___default()(className, "ssb-ctt-wrapper", __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "" + theme, theme), __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "align" + align, align), __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "hide-button", !showTweetButton));
|
2826 |
+
return wp.element.createElement(
|
2827 |
+
Fragment,
|
2828 |
+
null,
|
2829 |
+
wp.element.createElement(
|
2830 |
+
BlockControls,
|
2831 |
+
null,
|
2832 |
+
wp.element.createElement(BlockAlignmentToolbar, {
|
2833 |
+
value: align,
|
2834 |
+
onChange: function onChange(align) {
|
2835 |
+
return setAttributes({ align: align });
|
2836 |
+
},
|
2837 |
+
controls: ["center", "wide", "full"]
|
2838 |
+
})
|
2839 |
+
),
|
2840 |
+
wp.element.createElement(
|
2841 |
+
InspectorControls,
|
2842 |
+
null,
|
2843 |
+
wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__settings__["a" /* default */], props)
|
2844 |
+
),
|
2845 |
+
wp.element.createElement(
|
2846 |
+
"div",
|
2847 |
+
{ "class": mainClasses, "data-theme": "twitter-round" },
|
2848 |
+
wp.element.createElement(
|
2849 |
+
"div",
|
2850 |
+
{ "class": "ssb-ctt" },
|
2851 |
+
wp.element.createElement(RichText, {
|
2852 |
+
tabName: 'div',
|
2853 |
+
className: "ssb-ctt-text",
|
2854 |
+
value: front,
|
2855 |
+
onChange: function onChange(front) {
|
2856 |
+
return setAttributes({ front: front });
|
2857 |
+
},
|
2858 |
+
placeholder: __('Enter your content ...'),
|
2859 |
+
keepPlaceholderOnFocus: true
|
2860 |
+
}),
|
2861 |
+
showTweetButton && wp.element.createElement(
|
2862 |
+
"span",
|
2863 |
+
{ "class": "ssb-ctt-btn" },
|
2864 |
+
"Click to tweet",
|
2865 |
+
__WEBPACK_IMPORTED_MODULE_2__icon__["a" /* default */]
|
2866 |
+
)
|
2867 |
+
)
|
2868 |
+
)
|
2869 |
+
);
|
2870 |
+
},
|
2871 |
+
save: function save(props) {
|
2872 |
+
return null;
|
2873 |
+
}
|
2874 |
+
}));
|
2875 |
+
|
2876 |
+
/***/ }),
|
2877 |
+
/* 94 */
|
2878 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2879 |
+
|
2880 |
+
"use strict";
|
2881 |
+
var twitterIcon = wp.element.createElement(
|
2882 |
+
"svg",
|
2883 |
+
{
|
2884 |
+
id: "twitter_icon_ctt",
|
2885 |
+
width: "17.1",
|
2886 |
+
height: "14",
|
2887 |
+
x: "0",
|
2888 |
+
y: "0",
|
2889 |
+
version: "1.1",
|
2890 |
+
viewBox: "0 0 17.1 14",
|
2891 |
+
xmlSpace: "preserve"
|
2892 |
+
},
|
2893 |
+
wp.element.createElement("path", { d: "M8.7 1.7C9.4.5 10.8-.2 12.2 0c.9.1 1.5.6 2.2 1.1.7-.2 1.5-.5 2.2-.8-.3.7-.8 1.4-1.5 1.9.7-.1 1.3-.4 2-.5-.5.7-1.2 1.2-1.8 1.8.1 2.5-.7 5.1-2.4 7-1.7 2.2-4.7 3.5-7.5 3.5-1.9.1-3.8-.6-5.4-1.5 1.8.2 3.7-.4 5.1-1.5-1.5 0-2.7-1.1-3.2-2.4h1.5c-.8-.3-1.6-.9-2.2-1.8C.8 6.2.7 5.5.6 4.9c.5.2 1 .4 1.5.5C1.5 4.7.8 3.9.7 3c-.2-.8.1-1.6.4-2.4.7.7 1.4 1.5 2.2 2 1.5 1 3.2 1.6 5 1.7 0-.9-.1-1.8.4-2.6z" })
|
2894 |
+
);
|
2895 |
+
|
2896 |
+
/* harmony default export */ __webpack_exports__["a"] = (twitterIcon);
|
2897 |
+
|
2898 |
+
/***/ }),
|
2899 |
+
/* 95 */
|
2900 |
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2901 |
+
|
2902 |
+
"use strict";
|
2903 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__ = __webpack_require__(18);
|
2904 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of__);
|
2905 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__ = __webpack_require__(23);
|
2906 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck__);
|
2907 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__ = __webpack_require__(24);
|
2908 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass__);
|
2909 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__ = __webpack_require__(25);
|
2910 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn__);
|
2911 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__ = __webpack_require__(35);
|
2912 |
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
|
2913 |
+
|
2914 |
+
|
2915 |
+
|
2916 |
+
|
2917 |
+
|
2918 |
+
var __ = wp.i18n.__;
|
2919 |
+
var _wp$element = wp.element,
|
2920 |
+
Component = _wp$element.Component,
|
2921 |
+
Fragment = _wp$element.Fragment;
|
2922 |
+
var _wp$components = wp.components,
|
2923 |
+
PanelBody = _wp$components.PanelBody,
|
2924 |
+
PanelRow = _wp$components.PanelRow,
|
2925 |
+
SelectControl = _wp$components.SelectControl,
|
2926 |
+
TextareaControl = _wp$components.TextareaControl,
|
2927 |
+
ToggleControl = _wp$components.ToggleControl,
|
2928 |
+
TextControl = _wp$components.TextControl;
|
2929 |
+
var AlignmentToolbar = wp.editor.AlignmentToolbar;
|
2930 |
+
|
2931 |
+
var Settings = function (_Component) {
|
2932 |
+
__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Settings, _Component);
|
2933 |
+
|
2934 |
+
function Settings() {
|
2935 |
+
__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, Settings);
|
2936 |
+
|
2937 |
+
return __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_possibleConstructorReturn___default()(this, (Settings.__proto__ || __WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_object_get_prototype_of___default()(Settings)).apply(this, arguments));
|
2938 |
+
}
|
2939 |
+
|
2940 |
+
__WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default()(Settings, [{
|
2941 |
+
key: "render",
|
2942 |
+
value: function render() {
|
2943 |
+
var _props = this.props,
|
2944 |
+
_props$attributes = _props.attributes,
|
2945 |
+
theme = _props$attributes.theme,
|
2946 |
+
front = _props$attributes.front,
|
2947 |
+
tweet = _props$attributes.tweet,
|
2948 |
+
IncludePageLink = _props$attributes.IncludePageLink,
|
2949 |
+
IncludeVia = _props$attributes.IncludeVia,
|
2950 |
+
showTweetButton = _props$attributes.showTweetButton,
|
2951 |
+
setAttributes = _props.setAttributes;
|
2952 |
+
|
2953 |
+
return wp.element.createElement(
|
2954 |
+
Fragment,
|
2955 |
+
null,
|
2956 |
+
wp.element.createElement(
|
2957 |
+
PanelBody,
|
2958 |
+
{
|
2959 |
+
title: __("Theme"),
|
2960 |
+
initialOpen: true,
|
2961 |
+
className: "ssb_panel_wrapper"
|
2962 |
+
},
|
2963 |
+
wp.element.createElement(
|
2964 |
+
PanelRow,
|
2965 |
+
null,
|
2966 |
+
wp.element.createElement(SelectControl, {
|
2967 |
+
value: theme,
|
2968 |
+
options: [{ label: "Round", value: "twitter-round" }, { label: "Dark", value: "twitter-dark" }, { label: "Simple", value: "simple-twitter" }, { label: "Side line", value: "twitter-side-line" }, { label: "Own Style", value: "" }],
|
2969 |
+
onChange: function onChange(theme) {
|
2970 |
+
return setAttributes({ theme: theme });
|
2971 |
+
},
|
2972 |
+
help: "select the style for click to tweet "
|
2973 |
+
})
|
2974 |
+
)
|
2975 |
+
),
|
2976 |
+
wp.element.createElement(
|
2977 |
+
PanelBody,
|
2978 |
+
{
|
2979 |
+
title: __("Content"),
|
2980 |
+
initialOpen: true,
|
2981 |
+
className: "ssb_panel_wrapper"
|
2982 |
+
},
|
2983 |
+
wp.element.createElement(
|
2984 |
+
PanelRow,
|
2985 |
+
null,
|
2986 |
+
wp.element.createElement(TextareaControl, {
|
2987 |
+
label: __("Quote Content"),
|
2988 |
+
value: front,
|
2989 |
+
help: __("This text will be shown to the user."),
|
2990 |
+
onChange: function onChange(front) {
|
2991 |
+
return setAttributes({ front: front });
|
2992 |
+
}
|
2993 |
+
}),
|
2994 |
+
wp.element.createElement(TextareaControl, {
|
2995 |
+
label: __("Tweet Content"),
|
2996 |
+
value: tweet,
|
2997 |
+
help: __("This text will be tweet . if empty Quote content will be used."),
|
2998 |
+
onChange: function onChange(tweet) {
|
2999 |
+
return setAttributes({ tweet: tweet });
|
3000 |
+
}
|
3001 |
+
})
|
3002 |
+
)
|
3003 |
+
),
|
3004 |
+
wp.element.createElement(
|
3005 |
+
PanelBody,
|
3006 |
+
{
|
3007 |
+
title: __(" Configuration"),
|
3008 |
+
initialOpen: false,
|
3009 |
+
className: "ssb_panel_wrapper"
|
3010 |
+
},
|
3011 |
+
wp.element.createElement(
|
3012 |
+
PanelRow,
|
3013 |
+
null,
|
3014 |
+
wp.element.createElement(ToggleControl, {
|
3015 |
+
label: __('Show Tweet Button'),
|
3016 |
+
checked: showTweetButton,
|
3017 |
+
onChange: function onChange(showbtn) {
|
3018 |
+
setAttributes({ showTweetButton: !!showbtn });
|
3019 |
+
}
|
3020 |
+
}),
|
3021 |
+
wp.element.createElement(ToggleControl, {
|
3022 |
+
label: __('Include Page/post Link'),
|
3023 |
+
checked: IncludePageLink,
|
3024 |
+
onChange: function onChange(pageLink) {
|
3025 |
+
setAttributes({ IncludePageLink: !!pageLink });
|
3026 |
+
},
|
3027 |
+
help: __('\n Link to this post will be appended to the Tweet. we have a filter if you want to modify it `ssb_ctt_url`.')
|
3028 |
+
}),
|
3029 |
+
wp.element.createElement(ToggleControl, {
|
3030 |
+
label: __('Include Via'),
|
3031 |
+
checked: IncludeVia,
|
3032 |
+
onChange: function onChange(via) {
|
3033 |
+
setAttributes({ IncludeVia: !!via });
|
3034 |
+
},
|
3035 |
+
help: __('\n Twitter username from SSB Settings Advanced tab will be appended to the end of the Tweet with the text “via @username”.')
|
3036 |
+
})
|
3037 |
+
)
|
3038 |
+
)
|
3039 |
+
);
|
3040 |
+
}
|
3041 |
+
}]);
|
3042 |
+
|
3043 |
+
return Settings;
|
3044 |
+
}(Component);
|
3045 |
+
|
3046 |
+
/* harmony default export */ __webpack_exports__["a"] = (Settings);
|
3047 |
+
|
3048 |
+
/***/ }),
|
3049 |
+
/* 96 */
|
3050 |
+
/***/ (function(module, exports) {
|
3051 |
+
|
3052 |
+
// removed by extract-text-webpack-plugin
|
3053 |
+
|
3054 |
/***/ })
|
3055 |
/******/ ]);
|
3056 |
//# sourceMappingURL=blocks.editor.js.map
|
assets/js/blocks.editor.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"./assets/js/blocks.editor.js","sources":["webpack:///webpack/bootstrap 9ffe95c46c0b7dfc884d","webpack:///./node_modules/core-js/library/modules/_core.js","webpack:///./node_modules/core-js/library/modules/_global.js","webpack:///./node_modules/core-js/library/modules/_object-dp.js","webpack:///./node_modules/core-js/library/modules/_descriptors.js","webpack:///./node_modules/core-js/library/modules/_has.js","webpack:///./node_modules/core-js/library/modules/_export.js","webpack:///./node_modules/core-js/library/modules/_hide.js","webpack:///./node_modules/core-js/library/modules/_is-object.js","webpack:///./node_modules/core-js/library/modules/_to-iobject.js","webpack:///./node_modules/core-js/library/modules/_wks.js","webpack:///./node_modules/core-js/library/modules/_an-object.js","webpack:///./node_modules/core-js/library/modules/_fails.js","webpack:///./node_modules/core-js/library/modules/_property-desc.js","webpack:///./node_modules/core-js/library/modules/_library.js","webpack:///./node_modules/core-js/library/modules/_uid.js","webpack:///./node_modules/core-js/library/modules/_to-primitive.js","webpack:///./node_modules/core-js/library/modules/_to-object.js","webpack:///./node_modules/core-js/library/modules/_defined.js","webpack:///./node_modules/core-js/library/modules/_shared-key.js","webpack:///./node_modules/core-js/library/modules/_shared.js","webpack:///./node_modules/core-js/library/modules/_to-integer.js","webpack:///./node_modules/core-js/library/modules/_iterators.js","webpack:///./node_modules/core-js/library/modules/_object-create.js","webpack:///./node_modules/core-js/library/modules/_object-keys.js","webpack:///./node_modules/core-js/library/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/library/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/library/modules/_wks-ext.js","webpack:///./node_modules/core-js/library/modules/_wks-define.js","webpack:///./node_modules/core-js/library/modules/_object-pie.js","webpack:///./node_modules/babel-runtime/helpers/defineProperty.js","webpack:///./node_modules/babel-runtime/core-js/object/define-property.js","webpack:///./node_modules/core-js/library/modules/_ctx.js","webpack:///./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/library/modules/_dom-create.js","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/babel-runtime/core-js/object/get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_object-gpo.js","webpack:///./node_modules/babel-runtime/helpers/classCallCheck.js","webpack:///./node_modules/babel-runtime/helpers/createClass.js","webpack:///./node_modules/babel-runtime/helpers/possibleConstructorReturn.js","webpack:///./node_modules/babel-runtime/helpers/typeof.js","webpack:///./node_modules/core-js/library/modules/_iter-define.js","webpack:///./node_modules/core-js/library/modules/_redefine.js","webpack:///./node_modules/core-js/library/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/library/modules/_cof.js","webpack:///./node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/core-js/library/modules/_object-gopn.js","webpack:///./node_modules/core-js/library/modules/_object-gopd.js","webpack:///./node_modules/babel-runtime/helpers/inherits.js","webpack:///blocks/index.js","webpack:///blocks/shortcode/index.js","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./node_modules/core-js/library/modules/_a-function.js","webpack:///./blocks/shortcode/editor.scss","webpack:///./blocks/shortcode/style.scss","webpack:///blocks/shortcode/settings.js","webpack:///./node_modules/core-js/library/fn/object/get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/es6.object.get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_object-sap.js","webpack:///./node_modules/babel-runtime/core-js/symbol/iterator.js","webpack:///./node_modules/core-js/library/fn/symbol/iterator.js","webpack:///./node_modules/core-js/library/modules/es6.string.iterator.js","webpack:///./node_modules/core-js/library/modules/_string-at.js","webpack:///./node_modules/core-js/library/modules/_iter-create.js","webpack:///./node_modules/core-js/library/modules/_object-dps.js","webpack:///./node_modules/core-js/library/modules/_iobject.js","webpack:///./node_modules/core-js/library/modules/_array-includes.js","webpack:///./node_modules/core-js/library/modules/_to-length.js","webpack:///./node_modules/core-js/library/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/library/modules/_html.js","webpack:///./node_modules/core-js/library/modules/web.dom.iterable.js","webpack:///./node_modules/core-js/library/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/library/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/library/modules/_iter-step.js","webpack:///./node_modules/babel-runtime/core-js/symbol.js","webpack:///./node_modules/core-js/library/fn/symbol/index.js","webpack:///./node_modules/core-js/library/modules/es6.symbol.js","webpack:///./node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/core-js/library/modules/_enum-keys.js","webpack:///./node_modules/core-js/library/modules/_is-array.js","webpack:///./node_modules/core-js/library/modules/_object-gopn-ext.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.async-iterator.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.observable.js","webpack:///./node_modules/babel-runtime/core-js/object/set-prototype-of.js","webpack:///./node_modules/core-js/library/fn/object/set-prototype-of.js","webpack:///./node_modules/core-js/library/modules/es6.object.set-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_set-proto.js","webpack:///./node_modules/babel-runtime/core-js/object/create.js","webpack:///./node_modules/core-js/library/fn/object/create.js","webpack:///./node_modules/core-js/library/modules/es6.object.create.js","webpack:///blocks/shortcode/buttons.js"],"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// 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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 49);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 9ffe95c46c0b7dfc884d","var core = module.exports = { version: '2.6.10' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_core.js\n// module id = 0\n// module chunks = 0","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_global.js\n// module id = 1\n// module chunks = 0","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-dp.js\n// module id = 2\n// module chunks = 0","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_descriptors.js\n// module id = 3\n// module chunks = 0","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_has.js\n// module id = 4\n// module chunks = 0","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_export.js\n// module id = 5\n// module chunks = 0","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_hide.js\n// module id = 6\n// module chunks = 0","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_is-object.js\n// module id = 7\n// module chunks = 0","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-iobject.js\n// module id = 8\n// module chunks = 0","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_wks.js\n// module id = 9\n// module chunks = 0","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_an-object.js\n// module id = 10\n// module chunks = 0","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_fails.js\n// module id = 11\n// module chunks = 0","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_property-desc.js\n// module id = 12\n// module chunks = 0","module.exports = true;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_library.js\n// module id = 13\n// module chunks = 0","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_uid.js\n// module id = 14\n// module chunks = 0","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-primitive.js\n// module id = 15\n// module chunks = 0","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-object.js\n// module id = 16\n// module chunks = 0","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_defined.js\n// module id = 17\n// module chunks = 0","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_shared-key.js\n// module id = 18\n// module chunks = 0","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_shared.js\n// module id = 19\n// module chunks = 0","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-integer.js\n// module id = 20\n// module chunks = 0","module.exports = {};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iterators.js\n// module id = 21\n// module chunks = 0","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-create.js\n// module id = 22\n// module chunks = 0","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-keys.js\n// module id = 23\n// module chunks = 0","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_enum-bug-keys.js\n// module id = 24\n// module chunks = 0","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_set-to-string-tag.js\n// module id = 25\n// module chunks = 0","exports.f = require('./_wks');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_wks-ext.js\n// module id = 26\n// module chunks = 0","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_wks-define.js\n// module id = 27\n// module chunks = 0","exports.f = {}.propertyIsEnumerable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-pie.js\n// module id = 28\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (obj, key, value) {\n if (key in obj) {\n (0, _defineProperty2.default)(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/defineProperty.js\n// module id = 29\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/define-property.js\n// module id = 30\n// module chunks = 0","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_ctx.js\n// module id = 31\n// module chunks = 0","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_ie8-dom-define.js\n// module id = 32\n// module chunks = 0","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_dom-create.js\n// module id = 33\n// module chunks = 0","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/classnames/index.js\n// module id = 34\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/get-prototype-of\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/get-prototype-of.js\n// module id = 35\n// module chunks = 0","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gpo.js\n// module id = 36\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/classCallCheck.js\n// module id = 37\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/createClass.js\n// module id = 38\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\n// module id = 39\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/typeof.js\n// module id = 40\n// module chunks = 0","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iter-define.js\n// module id = 41\n// module chunks = 0","module.exports = require('./_hide');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_redefine.js\n// module id = 42\n// module chunks = 0","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-keys-internal.js\n// module id = 43\n// module chunks = 0","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_cof.js\n// module id = 44\n// module chunks = 0","exports.f = Object.getOwnPropertySymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gops.js\n// module id = 45\n// module chunks = 0","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gopn.js\n// module id = 46\n// module chunks = 0","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gopd.js\n// module id = 47\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = require(\"../core-js/object/set-prototype-of\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = require(\"../core-js/object/create\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/inherits.js\n// module id = 48\n// module chunks = 0","import './shortcode'\n\n\n// WEBPACK FOOTER //\n// blocks/index.js","/**\r\n * Block dependencies.\r\n */\r\nimport classnames from \"classnames\";\r\nimport \"./editor.scss\";\r\nimport \"./style.scss\";\r\n\r\nimport Settings from \"./settings\";\r\nimport Buttons from \"./buttons\";\r\n/**\r\n * Block libraries\r\n */\r\n\r\nconst { __ } = wp.i18n;\r\nconst { Fragment } = wp.element;\r\nconst {\r\n InspectorControls,\r\n AlignmentToolbar,\r\n BlockControls,\r\n BlockAlignmentToolbar\r\n} = wp.editor;\r\nconst { registerBlockType } = wp.blocks;\r\n\r\nconst SSB_ALIGNMENT_CONTROLS = [\r\n {\r\n icon: \"editor-alignleft\",\r\n title: __(\"Align Left\"),\r\n align: \"left\"\r\n },\r\n {\r\n icon: \"editor-aligncenter\",\r\n title: __(\"Align Center\"),\r\n align: \"centered\"\r\n },\r\n {\r\n icon: \"editor-alignright\",\r\n title: __(\"Align Right\"),\r\n align: \"right\"\r\n }\r\n];\r\n\r\nexport default registerBlockType(\"ssb/shortcode\", {\r\n title: __(\"Simple Social Buttons\"),\r\n description: __(\r\n \"Simple Social Buttons adds an advanced set of social media sharing buttons to your sites, such as: Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest.\"\r\n ),\r\n category: \"common\",\r\n icon: \"networking\",\r\n keywords: [__(\"Social Share\"), __(\"Button\"), __(\"ssb\")],\r\n attributes: {\r\n theme: {\r\n type: \"string\",\r\n default: \"simple-icons\"\r\n },\r\n counter: {\r\n type: \"boolean\",\r\n default: false\r\n },\r\n showTotalCount: {\r\n type: \"boolean\",\r\n default: false\r\n },\r\n align: {\r\n type: \"string\",\r\n default: \"\"\r\n },\r\n order: {\r\n type: \"string\",\r\n default: \"fbshare,twitter,linkedin\"\r\n },\r\n likeButtonSize: {\r\n type: \"string\",\r\n default: \"small\"\r\n },\r\n alignment: {\r\n type: \"string\",\r\n default: \"left\"\r\n }\r\n },\r\n getEditWrapperProps({ align }) {\r\n if (\"center\" === align || \"wide\" === align || \"full\" === align) {\r\n return { \"data-align\": align };\r\n }\r\n },\r\n supports: {\r\n // Turn off ability to edit HTML of block content\r\n html: false,\r\n // Turn off reusable block feature\r\n reusable: false\r\n },\r\n edit: props => {\r\n const {\r\n attributes: { alignment, align, theme, counter },\r\n className,\r\n setAttributes\r\n } = props;\r\n const mainClasses = classnames(\r\n className,\r\n \"simplesocialbuttons\",\r\n \"simplesocialbuttons_inline\",\r\n { [`simplesocial-${theme}`]: theme },\r\n { [`align${align}`]: align },\r\n { \"ssb_counter-activate\": counter },\r\n { [`simplesocialbuttons-align-${alignment}`]: alignment }\r\n );\r\n return (\r\n <Fragment>\r\n <BlockControls>\r\n <BlockAlignmentToolbar\r\n value={align}\r\n onChange={align => setAttributes({ align })}\r\n controls={[\"center\", \"wide\", \"full\"]}\r\n />\r\n <AlignmentToolbar\r\n value={alignment}\r\n onChange={alignment => setAttributes({ alignment })}\r\n alignmentControls={SSB_ALIGNMENT_CONTROLS}\r\n />\r\n </BlockControls>\r\n <InspectorControls>\r\n <Settings {...props} />\r\n </InspectorControls>\r\n <div className={mainClasses}>\r\n <Buttons {...props} />\r\n </div>\r\n </Fragment>\r\n );\r\n },\r\n save: props => {\r\n return null;\r\n }\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/shortcode/index.js","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/define-property.js\n// module id = 51\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.define-property.js\n// module id = 52\n// module chunks = 0","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_a-function.js\n// module id = 53\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./blocks/shortcode/editor.scss\n// module id = 54\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./blocks/shortcode/style.scss\n// module id = 55\n// module chunks = 0","const { __ } = wp.i18n;\r\nconst { Component, Fragment } = wp.element;\r\n\r\nconst {\r\n PanelBody,\r\n PanelRow,\r\n SelectControl,\r\n ToggleControl,\r\n TextControl\r\n} = wp.components;\r\nconst { AlignmentToolbar } = wp.editor;\r\nexport default class Settings extends Component {\r\n constructor() {\r\n super(...arguments);\r\n }\r\n render() {\r\n const {\r\n attributes: { theme, counter, order, likeButtonSize, showTotalCount },\r\n setAttributes\r\n } = this.props;\r\n return (\r\n <Fragment>\r\n <PanelBody\r\n title={__(\"Theme\")}\r\n initialOpen={true}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <SelectControl\r\n value={theme}\r\n options={[\r\n { label: \"Theme1\", value: \"sm-round\" },\r\n { label: \"Theme2\", value: \"simple-round\" },\r\n { label: \"Theme3\", value: \"round-txt\" },\r\n { label: \"Theme4\", value: \"round-btm-border\" },\r\n { label: \"Flat\", value: \"flat-button-border\" },\r\n { label: \"Circle\", value: \"round-icon\" },\r\n { label: \"Official\", value: \"simple-icons\" }\r\n ]}\r\n onChange={theme => setAttributes({ theme })}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n <PanelBody\r\n title={__(\"Configuration\")}\r\n initialOpen={true}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <ToggleControl\r\n label={__(\"Share Counter\")}\r\n checked={counter}\r\n onChange={counter => {\r\n setAttributes({ counter: !!counter });\r\n }}\r\n />\r\n {counter && \r\n <ToggleControl\r\n label={__(\"Total Counts\")}\r\n checked={showTotalCount}\r\n onChange={showTotalCount => {\r\n setAttributes({ showTotalCount: !!showTotalCount });\r\n }}\r\n />\r\n }\r\n\r\n <TextControl\r\n help={\r\n \"Supported Networks: fbshare,twitter,linkedin,pinterest,reddit,whatsapp,viber,tumblr,messenger,email,print,fblike\"\r\n }\r\n label={__(\"Order\")}\r\n value={order}\r\n onChange={order => {\r\n setAttributes({ order });\r\n }}\r\n />\r\n <SelectControl\r\n label={__(\"Like button size\")}\r\n value={likeButtonSize}\r\n options={[\r\n { label: \"Small\", value: \"small\" },\r\n { label: \"Large\", value: \"large\" }\r\n ]}\r\n onChange={size => setAttributes({ likeButtonSize: size })}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n </Fragment>\r\n );\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/shortcode/settings.js","require('../../modules/es6.object.get-prototype-of');\nmodule.exports = require('../../modules/_core').Object.getPrototypeOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/get-prototype-of.js\n// module id = 57\n// module chunks = 0","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.get-prototype-of.js\n// module id = 58\n// module chunks = 0","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-sap.js\n// module id = 59\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/symbol/iterator.js\n// module id = 60\n// module chunks = 0","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/symbol/iterator.js\n// module id = 61\n// module chunks = 0","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.string.iterator.js\n// module id = 62\n// module chunks = 0","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_string-at.js\n// module id = 63\n// module chunks = 0","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iter-create.js\n// module id = 64\n// module chunks = 0","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-dps.js\n// module id = 65\n// module chunks = 0","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iobject.js\n// module id = 66\n// module chunks = 0","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_array-includes.js\n// module id = 67\n// module chunks = 0","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-length.js\n// module id = 68\n// module chunks = 0","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-absolute-index.js\n// module id = 69\n// module chunks = 0","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_html.js\n// module id = 70\n// module chunks = 0","require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/web.dom.iterable.js\n// module id = 71\n// module chunks = 0","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.array.iterator.js\n// module id = 72\n// module chunks = 0","module.exports = function () { /* empty */ };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_add-to-unscopables.js\n// module id = 73\n// module chunks = 0","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iter-step.js\n// module id = 74\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/symbol.js\n// module id = 75\n// module chunks = 0","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/symbol/index.js\n// module id = 76\n// module chunks = 0","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.symbol.js\n// module id = 77\n// module chunks = 0","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_meta.js\n// module id = 78\n// module chunks = 0","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_enum-keys.js\n// module id = 79\n// module chunks = 0","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_is-array.js\n// module id = 80\n// module chunks = 0","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gopn-ext.js\n// module id = 81\n// module chunks = 0","require('./_wks-define')('asyncIterator');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\n// module id = 83\n// module chunks = 0","require('./_wks-define')('observable');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.symbol.observable.js\n// module id = 84\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/set-prototype-of.js\n// module id = 85\n// module chunks = 0","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/set-prototype-of.js\n// module id = 86\n// module chunks = 0","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\n// module id = 87\n// module chunks = 0","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_set-proto.js\n// module id = 88\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/create.js\n// module id = 89\n// module chunks = 0","require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/create.js\n// module id = 90\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.create.js\n// module id = 91\n// module chunks = 0","/**\r\n * External dependencies\r\n */\r\nimport classnames from \"classnames\";\r\n\r\nconst { __ } = wp.i18n;\r\nconst { Component, Fragment } = wp.element;\r\n\r\nclass Buttons extends Component {\r\n constructor() {\r\n super(...arguments);\r\n }\r\n render() {\r\n const {\r\n attributes: { theme, order, counter, likeButtonSize, showTotalCount }\r\n } = this.props;\r\n\r\n var output = Array();\r\n var showCounter = counter;\r\n var buttonStyle = {};\r\n //fblike, totalshare -> having issue\r\n var knownNetworks = Array(\r\n \"twitter\",\r\n \"pinterest\",\r\n \"fbshare\",\r\n \"linkedin\",\r\n \"reddit\",\r\n \"whatsapp\",\r\n \"viber\",\r\n \"messenger\",\r\n \"email\",\r\n \"fblike\",\r\n \"print\",\r\n \"tumblr\"\r\n );\r\n\r\n \r\n let selectedNetworks = order.split(\",\");\r\n if ( counter && showTotalCount) {\r\n selectedNetworks.push(\"totalshare\");\r\n }\r\n selectedNetworks.forEach((network, index) => {\r\n\r\n switch (network) {\r\n case \"fbshare\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_fbshare-icon\" target=\"_blank\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n viewBox=\"0 0 16 16\"\r\n class=\"_1pbq\"\r\n color=\"#ffffff\"\r\n >\r\n <path\r\n fill=\"#ffffff\"\r\n fill-rule=\"evenodd\"\r\n class=\"icon\"\r\n d=\"M8 14H3.667C2.733 13.9 2 13.167 2 12.233V3.667A1.65 1.65 0 0 1 3.667 2h8.666A1.65 1.65 0 0 1 14 3.667v8.566c0 .934-.733 1.667-1.667 1.767H10v-3.967h1.3l.7-2.066h-2V6.933c0-.466.167-.9.867-.9H12v-1.8c.033 0-.933-.266-1.533-.266-1.267 0-2.434.7-2.467 2.133v1.867H6v2.066h2V14z\"\r\n ></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Share </span>\r\n {showCounter && <span class=\"ssb_counter\"> 5 </span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-fb-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">Facebook </span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_fbshare_counter\">5</span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"twitter\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_tweet-icon\" rel=\"nofollow\">\r\n <span class=\"icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 72 72\">\r\n <path fill=\"none\" d=\"M0 0h72v72H0z\" />\r\n <path\r\n class=\"icon\"\r\n fill=\"#fff\"\r\n d=\"M68.812 15.14c-2.348 1.04-4.87 1.744-7.52 2.06 2.704-1.62 4.78-4.186 5.757-7.243-2.53 1.5-5.33 2.592-8.314 3.176C56.35 10.59 52.948 9 49.182 9c-7.23 0-13.092 5.86-13.092 13.093 0 1.026.118 2.02.338 2.98C25.543 24.527 15.9 19.318 9.44 11.396c-1.125 1.936-1.77 4.184-1.77 6.58 0 4.543 2.312 8.552 5.824 10.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163 0 6.345 4.513 11.638 10.504 12.84-1.1.298-2.256.457-3.45.457-.845 0-1.666-.078-2.464-.23 1.667 5.2 6.5 8.985 12.23 9.09-4.482 3.51-10.13 5.605-16.26 5.605-1.055 0-2.096-.06-3.122-.184 5.794 3.717 12.676 5.882 20.067 5.882 24.083 0 37.25-19.95 37.25-37.25 0-.565-.013-1.133-.038-1.693 2.558-1.847 4.778-4.15 6.532-6.774z\"\r\n />\r\n </svg>\r\n </span>\r\n {showCounter ? (\r\n <i class=\"simplesocialtxt\">Tweet 5 </i>\r\n ) : (\r\n <i class=\"simplesocialtxt\">Tweet </i>\r\n )}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button\r\n class=\"simplesocial-twt-share\"\r\n rel=\"nofollow\"\r\n style={buttonStyle}\r\n >\r\n <span class=\"simplesocialtxt\">Twitter</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_twitter_counter\"> 5 </span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n\r\n case \"linkedin\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_linkedin-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"15\"\r\n height=\"14.1\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-301.4 387.5 15 14.1\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <g fill=\"#FFF\">\r\n <path d=\"M-296.2 401.6v-9.5h3c.1 0 .1 0 .1.1v1.2c.1-.1.2-.3.3-.4.5-.7 1.2-1 2.1-1.1.8-.1 1.5 0 2.2.3.7.4 1.2.8 1.5 1.4.4.8.6 1.7.6 2.5v5.5h-3.2v-.2-4.8c0-.4 0-.8-.2-1.2-.2-.7-.8-1-1.6-1-.8.1-1.3.5-1.6 1.2-.1.2-.1.5-.1.8v5.1c0 .2 0 .2-.2.2h-2.9c.1-.1 0-.1 0-.1zM-298 401.6h-3c-.1 0-.1 0-.1-.1v-9.2c0-.1 0-.1.1-.1h3v9.4zM-299.6 390.9c-.7-.1-1.2-.3-1.6-.8-.5-.8-.2-2.1 1-2.4.6-.2 1.2-.1 1.8.2.5.4.7.9.6 1.5-.1.7-.5 1.1-1.1 1.3-.2.1-.5.1-.7.2z\"></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Share</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button target=\"popup\" class=\"simplesocial-linkedin-share\">\r\n <span class=\"simplesocialtxt\">LinkedIn</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"pinterest\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_pinterest-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n height=\"30px\"\r\n width=\"30px\"\r\n viewBox=\"-1 -1 31 31\"\r\n >\r\n <g>\r\n <path\r\n d=\"M29.449,14.662 C29.449,22.722 22.868,29.256 14.75,29.256 C6.632,29.256 0.051,22.722 0.051,14.662 C0.051,6.601 6.632,0.067 14.75,0.067 C22.868,0.067 29.449,6.601 29.449,14.662\"\r\n fill=\"#fff\"\r\n stroke=\"#fff\"\r\n stroke-width=\"1\"\r\n ></path>\r\n <path\r\n d=\"M14.733,1.686 C7.516,1.686 1.665,7.495 1.665,14.662 C1.665,20.159 5.109,24.854 9.97,26.744 C9.856,25.718 9.753,24.143 10.016,23.022 C10.253,22.01 11.548,16.572 11.548,16.572 C11.548,16.572 11.157,15.795 11.157,14.646 C11.157,12.842 12.211,11.495 13.522,11.495 C14.637,11.495 15.175,12.326 15.175,13.323 C15.175,14.436 14.462,16.1 14.093,17.643 C13.785,18.935 14.745,19.988 16.028,19.988 C18.351,19.988 20.136,17.556 20.136,14.046 C20.136,10.939 17.888,8.767 14.678,8.767 C10.959,8.767 8.777,11.536 8.777,14.398 C8.777,15.513 9.21,16.709 9.749,17.359 C9.856,17.488 9.872,17.6 9.84,17.731 C9.741,18.141 9.52,19.023 9.477,19.203 C9.42,19.44 9.288,19.491 9.04,19.376 C7.408,18.622 6.387,16.252 6.387,14.349 C6.387,10.256 9.383,6.497 15.022,6.497 C19.555,6.497 23.078,9.705 23.078,13.991 C23.078,18.463 20.239,22.062 16.297,22.062 C14.973,22.062 13.728,21.379 13.302,20.572 C13.302,20.572 12.647,23.05 12.488,23.657 C12.193,24.784 11.396,26.196 10.863,27.058 C12.086,27.434 13.386,27.637 14.733,27.637 C21.95,27.637 27.801,21.828 27.801,14.662 C27.801,7.495 21.95,1.686 14.733,1.686\"\r\n fill=\"#bd081c\"\r\n ></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Pinterest</span>';\r\n {showCounter && <span class=\"ssb_counter\">5</span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button\r\n rel=\"nofollow\"\r\n class=\"simplesocial-pinterest-share\"\r\n style={buttonStyle}\r\n >\r\n <span class=\"simplesocialtxt\">Pinterest</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_pinterest_counter\">5</span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"totalshare\":\r\n output.push(\r\n <span class=\"ssb_total_counter\">555<span>Shares</span>\r\n </span>\r\n );\r\n break;\r\n case \"reddit\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_reddit-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"430.117\"\r\n height=\"430.117\"\r\n x=\"0\"\r\n y=\"0\"\r\n enableBackground=\"new 0 0 430.117 430.117\"\r\n version=\"1.1\"\r\n viewBox=\"0 0 430.117 430.117\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path d=\"M307.523 231.062c1.11 2.838 1.614 5.769 1.614 8.681 0 5.862-2.025 11.556-5.423 16.204-3.36 4.593-8.121 8.158-13.722 9.727h.01c-.047.019-.094.019-.117.037-.023 0-.061.019-.079.019a24.626 24.626 0 01-7.98 1.316c-6.254 0-12.396-2.254-17.306-6.096-4.872-3.826-8.56-9.324-9.717-15.845h-.01c0-.019 0-.042-.009-.069 0-.019 0-.038-.019-.065h.019a23.713 23.713 0 01-.551-5.021c0-5.647 1.923-11.07 5.097-15.551 3.164-4.453 7.626-7.99 12.848-9.811.019 0 .038-.01.038-.01.027 0 .027-.027.051-.027a26.476 26.476 0 019.157-1.639c5.619 0 11.154 1.704 15.821 4.821 4.611 3.066 8.354 7.561 10.23 13.143.019.037.019.07.037.103 0 .037.019.057.037.084h-.026zm-17.194 69.287c-2.202-1.428-4.751-2.291-7.448-2.291a11.66 11.66 0 00-6.445 1.955c-19.004 11.342-41.355 17.558-63.547 17.558-16.65 0-33.199-3.514-48.192-10.879l-.077-.037-.075-.028c-2.261-.924-4.837-2.889-7.647-4.76-1.428-.925-2.919-1.844-4.574-2.521-1.633-.695-3.447-1.181-5.386-1.181-1.605 0-3.292.359-4.957 1.115l-.252.098h.009a12.002 12.002 0 00-5.974 4.994c-1.372 2.23-2.046 4.826-2.046 7.411 0 2.334.551 4.667 1.691 6.786a12.163 12.163 0 004.938 4.938c21.429 14.454 46.662 21.002 71.992 20.979 22.838 0 45.814-5.287 66.27-14.911l.107-.065.103-.056c2.697-1.597 6.282-3.029 9.661-5.115 1.671-1.064 3.304-2.296 4.704-3.897a14.706 14.706 0 003.16-5.875v-.01c.266-1.026.392-2.025.392-3.024 0-1.899-.467-3.701-1.241-5.32-1.134-2.438-2.991-4.435-5.166-5.864zm-150.454-34.76c.037 0 .086.014.128.037a24.302 24.302 0 008.345 1.493c6.963 0 13.73-2.852 18.853-7.5 5.115-4.662 8.618-11.257 8.618-18.775 0-.196 0-.392-.009-.625.019-.336.028-.705.028-1.083 0-7.458-3.456-14.08-8.522-18.762-5.085-4.686-11.836-7.551-18.825-7.551-1.867 0-3.769.219-5.628.653-.028 0-.049.009-.077.009h-.028c-9.252 1.937-17.373 8.803-20.37 18.248v.01c0 .019-.009.037-.009.037a24.974 24.974 0 00-1.262 7.896c0 5.787 1.913 11.426 5.211 16.064 3.269 4.56 7.894 8.145 13.448 9.819.04.002.059.012.099.03zm290.158-67.495v.038c.066.94.084 1.878.084 2.81 0 10.447-3.351 20.493-8.941 29.016-5.218 7.976-12.414 14.649-20.703 19.177.532 4.158.84 8.349.84 12.526-.01 22.495-7.766 44.607-21.272 62.329v.009h-.028c-24.969 33.216-63.313 52.804-102.031 62.684h-.01l-.027.023a268.397 268.397 0 01-63.223 7.574c-31.729 0-63.433-5.722-93.018-17.585l-.009-.028h-.028c-30.672-12.643-59.897-32.739-77.819-62.184-9.642-15.71-14.935-34.141-14.935-52.659 0-4.19.283-8.387.843-12.536a60.094 60.094 0 01-20.255-18.687c-5.542-8.266-9.056-17.95-9.5-28.187v-.159c.009-14.337 6.237-27.918 15.915-37.932 9.677-10.011 22.896-16.554 37.075-16.554h.588a66.294 66.294 0 014.488-.159c7.122 0 14.26 1.153 21.039 3.752l.037.028.038.012c5.787 2.437 11.537 5.377 16.662 9.449 1.661-.871 3.472-1.851 5.504-2.625 31.064-18.395 67.171-25.491 102.358-27.538.306-17.431 2.448-35.68 10.949-51.65 7.08-13.269 19.369-23.599 34-27.179l.061-.03.079-.009c5.573-1.078 11.192-1.575 16.774-1.575 14.869 0 29.561 3.521 43.31 9.017 6.086-9.185 14.776-16.354 24.97-20.375l.098-.056.098-.037c5.983-1.864 12.303-2.954 18.646-2.954 6.692 0 13.437 1.223 19.756 4.046v-.023c.009.023.019.023.019.023.047.016.084.044.116.044 9.059 3.489 16.727 9.937 22.164 17.95 5.442 8.048 8.644 17.688 8.644 27.599 0 1.827-.103 3.657-.317 5.489l-.019.037c0 .028 0 .068-.01.096-1.063 12.809-7.551 24.047-16.736 32.063-9.24 8.048-21.207 12.909-33.49 12.909-1.97 0-3.958-.11-5.937-.374-12.182-.931-23.541-6.826-31.886-15.595-8.373-8.755-13.768-20.453-13.768-33.08 0-.611.056-1.237.074-1.843-11.435-5.092-23.578-9.316-35.646-9.306-1.746 0-3.491.096-5.237.273h-.019c-9.035.871-17.436 6.566-21.506 14.757v.037c-6.179 12.034-7.411 26.101-7.598 40.064 34.639 2.259 69.483 10.571 100.043 28.138h.047l.438.259c.579.343 1.652.931 2.623 1.449 2.101-1.704 4.322-3.456 6.856-4.966 9.264-6.17 20.241-9.238 31.223-9.238 4.872 0 9.749.621 14.481 1.834h.019l.196.058c.07.01.121.033.178.033v.009c11.183 2.845 21.3 9.267 28.917 17.927 7.612 8.674 12.731 19.648 13.73 31.561v.025h-.012zM328.002 84.733c0 .469.01.95.057 1.44v.084c.224 6.018 3.065 11.619 7.383 15.756 4.34 4.14 10.1 6.702 15.942 6.725h.159c.42.033.85.033 1.26.033 5.899.009 11.752-2.532 16.148-6.655 4.405-4.144 7.309-9.78 7.542-15.849l.009-.028v-.037c.038-.464.057-.903.057-1.377 0-6.247-2.922-12.202-7.496-16.612-4.555-4.406-10.688-7.136-16.735-7.12-1.951 0-3.884.266-5.778.854l-.065.005-.056.023c-4.984 1.295-9.656 4.368-13.012 8.449-3.371 4.062-5.415 9.084-5.415 14.309zm-255.69 92.845c-4.63-2.156-9.418-3.696-14.15-3.676-.794 0-1.597.047-2.39.133h-.11l-.11.014c-6.795.187-13.653 3.15-18.801 7.899-5.152 4.732-8.559 11.122-8.821 18.167v.065l-.012.058a21 21 0 00-.065 1.683c0 4.345 1.333 8.545 3.593 12.368 1.673 2.847 3.867 5.441 6.348 7.701 7.941-17.388 20.348-32.145 34.518-44.412zm301.754 85.057c0-15.5-5.592-31.069-14.646-43.604-18.053-25.119-46.055-41.502-75.187-50.636l-.205-.072a239.667 239.667 0 00-16.933-4.534c-17.025-3.876-34.48-5.806-51.917-5.806-23.414 0-46.827 3.465-69.245 10.379-29.125 9.243-57.221 25.51-75.233 50.71v.019c-9.129 12.587-14.475 28.208-14.475 43.763 0 5.727.716 11.453 2.23 17.025l.019.01c3.278 12.508 9.689 23.671 17.989 33.393 8.295 9.745 18.472 18.058 29.176 24.839 2.371 1.47 4.751 2.87 7.187 4.237 31.094 17.356 66.898 24.964 102.445 24.964 6.012 0 12.06-.214 18.033-.644 35.797-2.959 71.742-13.525 100.8-35.115l.01-.023c9.25-6.837 17.818-15.112 24.595-24.525 6.805-9.418 11.789-19.947 14.002-31.382v-.033l.009-.01a62.283 62.283 0 001.346-12.955zm28.254-61.685c-.009-3.762-.868-7.507-2.753-11l-.047-.044-.019-.056c-2.521-5.19-6.479-9.11-11.248-11.782-4.77-2.69-10.352-4.056-15.952-4.056-5.063 0-10.1 1.132-14.57 3.379 14.216 12.344 26.687 27.179 34.746 44.636a29.093 29.093 0 006.464-8.084c2.157-4.023 3.379-8.538 3.379-12.993z\"></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">reddit </span>\r\n {showCounter && <span class=\"ssb_counter\">5</span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-reddit-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">Reddit</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_reddit_counter\"> 5 </span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"whatsapp\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_whatsapp-icon simplesocial-whatsapp-share\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"512\"\r\n height=\"512\"\r\n x=\"0\"\r\n y=\"0\"\r\n enableBackground=\"new 0 0 90 90\"\r\n version=\"1.1\"\r\n viewBox=\"0 0 90 90\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path d=\"M90 43.841c0 24.213-19.779 43.841-44.182 43.841a44.256 44.256 0 01-21.357-5.455L0 90l7.975-23.522a43.38 43.38 0 01-6.34-22.637C1.635 19.628 21.416 0 45.818 0 70.223 0 90 19.628 90 43.841zM45.818 6.982c-20.484 0-37.146 16.535-37.146 36.859 0 8.065 2.629 15.534 7.076 21.61L11.107 79.14l14.275-4.537A37.122 37.122 0 0045.819 80.7c20.481 0 37.146-16.533 37.146-36.857S66.301 6.982 45.818 6.982zm22.311 46.956c-.273-.447-.994-.717-2.076-1.254-1.084-.537-6.41-3.138-7.4-3.495-.993-.358-1.717-.538-2.438.537-.721 1.076-2.797 3.495-3.43 4.212-.632.719-1.263.809-2.347.271-1.082-.537-4.571-1.673-8.708-5.333-3.219-2.848-5.393-6.364-6.025-7.441-.631-1.075-.066-1.656.475-2.191.488-.482 1.084-1.255 1.625-1.882.543-.628.723-1.075 1.082-1.793.363-.717.182-1.344-.09-1.883-.27-.537-2.438-5.825-3.34-7.977-.902-2.15-1.803-1.792-2.436-1.792-.631 0-1.354-.09-2.076-.09s-1.896.269-2.889 1.344c-.992 1.076-3.789 3.676-3.789 8.963 0 5.288 3.879 10.397 4.422 11.113.541.716 7.49 11.92 18.5 16.223C58.2 65.771 58.2 64.336 60.186 64.156c1.984-.179 6.406-2.599 7.312-5.107.9-2.512.9-4.663.631-5.111z\"></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Whatsapp</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-whatsapp-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">WhatsApp</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"viber\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"simplesocial-viber-share ssb_viber-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n aria-labelledby=\"simpleicons-viber-icon\"\r\n role=\"img\"\r\n viewBox=\"0 0 24 24\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <title id=\"simpleicons-viber-icon\">Viber icon</title>\r\n <path d=\"M20.812 2.343c-.596-.549-3.006-2.3-8.376-2.325 0 0-6.331-.38-9.415 2.451C1.302 4.189.698 6.698.634 9.82.569 12.934.487 18.774 6.12 20.36h.005l-.005 2.416s-.034.979.609 1.178c.779.24 1.236-.504 1.98-1.303.409-.439.972-1.088 1.397-1.582 3.851.322 6.813-.416 7.149-.525.777-.254 5.176-.816 5.893-6.658.738-6.021-.357-9.83-2.338-11.547v.004zm.652 11.112c-.615 4.876-4.184 5.187-4.83 5.396-.285.092-2.895.738-6.164.525 0 0-2.445 2.941-3.195 3.705-.121.121-.271.166-.361.145-.135-.029-.164-.18-.164-.404l.015-4.006c-.015 0 0 0 0 0-4.771-1.336-4.485-6.301-4.425-8.91.044-2.596.538-4.726 1.994-6.167 2.611-2.371 7.997-2.012 7.997-2.012 4.543.016 6.721 1.385 7.223 1.846 1.674 1.432 2.529 4.865 1.904 9.893l.006-.011zM7.741 4.983c.242 0 .459.109.629.311.004.002.58.695.83 1.034.235.32.551.83.711 1.115.285.51.104 1.032-.172 1.248l-.566.45c-.285.229-.25.653-.25.653s.84 3.157 3.959 3.953c0 0 .426.039.654-.246l.451-.569c.213-.285.734-.465 1.244-.181.285.15.795.466 1.116.704.339.24 1.032.826 1.036.826.33.271.404.689.18 1.109v.016c-.23.405-.541.78-.934 1.141h-.008c-.314.27-.629.42-.944.449-.03 0-.075.016-.136 0-.135 0-.27-.029-.404-.061v-.014c-.48-.135-1.275-.48-2.596-1.216-.855-.479-1.574-.96-2.189-1.455-.315-.255-.645-.54-.976-.87l-.076-.028-.03-.03-.029-.029c-.331-.33-.615-.66-.871-.98-.48-.609-.96-1.327-1.439-2.189-.735-1.32-1.08-2.115-1.215-2.596H5.7c-.045-.134-.075-.269-.06-.404-.015-.061 0-.105 0-.141.03-.299.189-.614.458-.944h.005c.355-.39.738-.704 1.146-.933.164-.091.329-.135.479-.135h.016l-.003.012zm4.095-.683h.116l.076.002h.02l.089.005h.511l.135.015h.074l.15.016h.03l.104.015h.016l.074.015c.046 0 .076.016.105.016h.091l.075.029.06.016.06.015.03.015h.045l.046.016h.029l.074.016.045.014.046.016.06.016.03.014c.03 0 .06.016.091.016l.044.015.046.016.119.044.061.031.135.06.045.015.045.016.09.045.061.015.029.015.076.031.029.014.061.031.045.014.045.03.059.03.046.029.03.016.061.03.044.03.075.045.045.016.074.044.016.015.045.031.09.074.046.03.044.03.031.014.045.031.074.074.061.045.045.03.016.015.029.016.074.061.046.044.03.03.045.029.045.031.029.015.12.12.06.061.135.135.031.029c.016.016.045.045.061.075l.029.03.166.194.045.06c.014.016.014.031.029.031l.09.135.045.045.09.12.076.12.045.09.059.105.045.09.016.029.029.061.076.15.074.149.031.075c.059.135.104.27.164.42.074.195.135.404.18.63.045.165.076.315.105.48l.029.27.045.3c.016.121.031.256.031.375.014.121.014.24.014.359v.256c0 .016-.006.029-.014.045-.016.03-.031.045-.061.075-.021.015-.049.046-.08.046-.029.014-.059.014-.09.014h-.045c-.029 0-.059-.014-.09-.029-.029-.016-.061-.03-.074-.061-.016-.029-.045-.061-.061-.09s-.031-.06-.031-.09v-.359c-.014-.209-.029-.425-.059-.639-.016-.146-.045-.284-.061-.42 0-.074-.016-.146-.029-.209l-.029-.15-.038-.141-.016-.09-.045-.15c-.029-.12-.074-.24-.119-.36-.029-.091-.061-.165-.105-.239l-.029-.076-.135-.27-.031-.045c-.061-.135-.135-.27-.225-.391l-.045-.074h-.201l-.064-.091c-.055-.089-.114-.165-.18-.239l-.125-.15-.015-.016-.046-.057-.035-.045-.075-.074-.015-.03-.07-.06-.045-.046-.083-.075-.04-.037-.046-.045-.015-.016c-.016-.015-.045-.045-.075-.06l-.076-.062-.03-.015-.061-.046-.074-.06-.045-.036-.03-.016-.06-.053c0-.016-.016-.016-.031-.016l-.029-.029-.015-.016v-.013l-.03-.014-.061-.037-.044-.031-.075-.045-.06-.045-.029-.016-.032-.013h-.09l-.019-.016-.065-.035-.009-.014-.03-.016-.045-.021h-.012l-.045-.016-.025-.015-.045-.015-.01-.011-.03-.016-.053-.029-.03-.015-.09-.03-.074-.029-.137-.016-.044-.029c-.015-.01-.03-.016-.046-.016l-.029-.015c-.029-.011-.045-.016-.075-.03l-.03-.016h-.029l-.061-.029-.029-.016-.045-.015h-.092c-.008 0-.019-.005-.03-.007h-.09l-.045-.016h-.015l-.045-.016h-.041c-.025-.014-.045-.014-.07-.014l-.01-.016-.06-.015c-.03-.016-.056-.016-.084-.016l-.045-.015-.05-.016-.045-.014-.061-.016h-.061l-.179-.022h-.09l-.116-.015h-.076l-.068-.008h-.03l-.054-.016h-.285l-.01-.015h-.061c-.03 0-.064-.015-.09-.03-.03-.016-.061-.029-.081-.06l-.03-.046c-.029-.029-.029-.06-.045-.09-.014-.028-.014-.059-.014-.089s0-.06.015-.09c.016-.029.029-.06.061-.075.015-.03.044-.044.074-.06.029-.016.061-.03.09-.03h.061l.015.066zm.554 1.574l.037.003.061.006c.008 0 .018 0 .029.003.022 0 .045.004.075.006l.06.008.024.016.045.015.048.015.045.016h.03l.042.015.07.015.056.016.026.014h.073l.119.028.046.015.045.015.045.016s.015 0 .015.015l.046.015.044.016.045.016c.015 0 .03.014.046.014.007 0 .014.016.025.016l.064.03h.029l.09.03.05.029.046.03.108.045.06.015.031.031c.045.014.09.044.135.059l.048.03.048.03.049.029c.045.03.082.046.121.076l.029.014.041.031.022.015.075.045.037.03.065.043.029.015.03.015.046.03.06.046c.015.014.022.014.034.029.01.015.016.015.025.03l.033.03.036.029.03.03.046.046.029.03.016.016.09.089.016.016c0 .015.015.03.029.03l.016.013.045.046.029.045.03.03.045.06.046.046.09.119.014.029.061.076.016.029.015.031.015.029.016.03c.016.015.016.03.029.06l.043.076.016.015.029.061.031.044c.014.015.014.029.029.045l.03.045.03.061.029.059.016.046c.015.044.045.075.06.12 0 .015.015.029.015.045l.045.119.061.195c0 .016.015.045.015.061l.046.135.044.18.046.24c.014.074.014.135.029.211.016.119.03.238.03.359l.015.21v.165c0 .016 0 .029-.015.045l-.044.043c-.029.023-.045.045-.074.061-.03.015-.061.029-.09.04-.031.016-.075.016-.105.016-.029 0-.061-.016-.09-.03-.016 0-.03-.016-.045-.021-.031-.014-.061-.039-.075-.065-.03-.03-.046-.06-.046-.091l-.014-.044v-.313c0-.133-.016-.256-.031-.385-.015-.135-.044-.285-.074-.42-.029-.09-.045-.18-.075-.26l-.03-.091-.029-.075-.016-.03-.045-.12-.045-.09-.075-.149-.069-.12v-.019l-.029-.047-.03-.038-.045-.075-.046-.061-.089-.119c-.046-.061-.09-.12-.142-.178-.014-.015-.029-.029-.029-.045l-.03-.029-.017-.016-.03-.014-.03-.027v-.146l-.119-.113-.075-.068v-.014l-.03-.031-.038-.029-.015-.016c0-.015-.016-.015-.029-.015l-.046-.016-.015-.015-.061-.045-.014-.016-.016-.015c-.012-.015-.023-.015-.03-.015l-.06-.045-.016-.016-.06-.029-.011-.016-.045-.029-.03-.016-.03-.029-.029-.031h-.016c-.029-.029-.06-.044-.105-.06l-.044-.03-.03-.014-.016-.016-.045-.03-.044-.015-.06-.03-.046-.015-.015-.016-.056-.014v-.012l-.091-.03-.06-.03-.03-.015h-.06c-.03-.015-.045-.015-.075-.03H13.2l-.045-.016h-.044l-.046-.014-.029-.016h-.061l-.061-.015-.029-.016h-.165l-.069-.015H12.3l-.046-.016c-.029-.014-.06-.029-.09-.06-.014-.03-.045-.06-.06-.089-.015-.031-.03-.061-.03-.091v-.09c.006-.046.016-.075.03-.105.008-.015.015-.03.03-.045.018-.03.045-.06.075-.075.015-.015.03-.015.044-.029.031-.016.061-.016.091-.016h.06l-.014.055zm.454 1.629c.015 0 .03 0 .044.004.016 0 .031 0 .046.002l.052.005c.104.009.213.024.318.046l.104.023.026.008.114.029.059.02.046.016c.045.014.091.045.135.06l.016.015.06.03.09.046.029.014c.016.016.031.016.046.03.015.016.045.03.06.045.061.03.105.075.15.105l.105.09.09.091.061.074.029.029.03.031.044.06.091.135.075.135.06.12.046.105c.044.104.06.195.09.299.029.091.045.196.06.285l.015.15.016.136V9.8c0 .045-.016.075-.03.105-.015.029-.046.074-.075.09-.03.029-.061.045-.105.061-.029.014-.06.014-.09.014-.029 0-.06 0-.09-.014l-.104-.046c-.03-.03-.06-.045-.091-.091-.015-.029-.029-.06-.045-.104v-.166l-.015-.105-.015-.119-.016-.105-.016-.06c0-.015-.014-.045-.014-.06-.03-.121-.09-.24-.15-.36l-.061-.06-.047-.06-.045-.045-.015-.03-.075-.06-.061-.061-.059-.045c-.016-.015-.03-.015-.061-.029l-.09-.061-.061-.03-.029-.015h-.016l-.076-.031-.09-.03-.09-.015h-.075l-.044-.015-.035-.007h-.045l-.06-.016h-.255l-.015-.075h-.039c-.03-.004-.055-.015-.08-.029-.035-.021-.064-.045-.09-.08-.018-.029-.034-.061-.045-.09-.008-.029-.012-.06-.012-.09 0-.037 0-.075.015-.113.015-.039.03-.07.06-.1l.061-.045c.029-.016.061-.03.09-.03l.062-.075h.032z\" />\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Viber</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-viber-share\">\r\n <span class=\"simplesocialtxt\">Viber</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"fblike\":\r\n const likeButtonClasses = classnames(\r\n \"fb-like\",\r\n \"ssb-fb-like\",\r\n \"fb_iframe_widget\",\r\n { [`${likeButtonSize}`]: likeButtonSize }\r\n );\r\n output.push(\r\n <div\r\n class={likeButtonClasses}\r\n data-layout=\"button_count\"\r\n data-action=\"like\"\r\n data-size=\"small\"\r\n data-show-faces=\"false\"\r\n data-share=\"false\"\r\n >\r\n <img src={SSB.plugin_url + \"/assets/images/fblike.svg\"} />{\" \"}\r\n </div>\r\n );\r\n break;\r\n case \"messenger\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"simplesocial-viber-share ssb_msng-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"18\"\r\n height=\"19\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-889.5 1161 18 19\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path\r\n fill=\"#FFF\"\r\n d=\"M-880.5 1161c-5 0-9 3.8-9 8.5 0 2.4 1 4.5 2.7 6v4.5l3.8-2.3c.8.2 1.6.3 2.5.3 5 0 9-3.8 9-8.5s-4-8.5-9-8.5zm.9 11.2l-2.4-2.4-4.3 2.4 4.7-5.2 2.4 2.4 4.2-2.4-4.6 5.2z\"\r\n opacity=\"0.99\"\r\n ></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Messenger</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-msng-share\">\r\n <span class=\"simplesocialtxt\">Messenger</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"email\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_email-icon simplesocial-email-share\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"16\"\r\n height=\"11.9\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-1214.1 1563.9 16 11.9\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path d=\"M-1214.1 1565.2v1l8 4 8-4v-1c0-.7-.6-1.3-1.3-1.3h-13.4c-.7 0-1.3.5-1.3 1.3zm0 2.2v7.1c0 .7.6 1.3 1.3 1.3h13.4c.7 0 1.3-.6 1.3-1.3v-7.1l-8 4-8-4z\"></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Email</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-email-share\">\r\n <span class=\"simplesocialtxt\">Email</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"print\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\" ssb_print-icon simplesocial-email-share\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"16\"\r\n height=\"13.7\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-1296.9 1876.4 16 13.7\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <g fill=\"#FFF\">\r\n <path d=\"M-1288.9 1879.7h6.9c.4 0 .7.1.9.5.1.2.1.4.1.6v5.1c0 .7-.4 1.1-1.1 1h-1.8c-.1 0-.2 0-.2.2v2c0 .6-.4 1-1 1H-1292.9c-.3 0-.5 0-.8-.1-.3-.2-.5-.5-.5-.9v-2c0-.2-.1-.2-.2-.2h-1.7c-.7 0-1-.4-1-1v-5.1c0-.4.2-.8.6-.9.2-.1.3-.1.5-.1 2.5-.1 4.8-.1 7.1-.1zm0 5.2h-4.2c-.1 0-.2 0-.2.2v4c0 .3.1.4.4.4h8c.2 0 .3-.2.3-.3v-4c0-.2 0-.2-.2-.2-1.3-.1-2.7-.1-4.1-.1zm4.7-2.5c.4 0 .7-.3.7-.7 0-.4-.3-.7-.8-.7-.4 0-.7.3-.7.7.1.4.4.7.8.7zM-1283.9 1879h-9.8c-.1 0-.2 0-.2-.2v-1.5c0-.5.4-1 .9-1h8.1c.6 0 1 .4 1 1v1.7z\"></path>\r\n <path d=\"M-1291.9 1886.9v-.6h6v.6h-6zM-1289.6 1888.2h-2.1c-.1 0-.2 0-.2-.2v-.3c0-.1 0-.2.2-.2h4.2c.3 0 .3 0 .3.3 0 .4 0 .4-.4.4h-2z\"></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Print</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-print-share\">\r\n <span class=\"simplesocialtxt\">Print</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"tumblr\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_tumblr-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"12.6\"\r\n height=\"17.8\"\r\n x=\"0\"\r\n y=\"0\"\r\n enableBackground=\"new -299.1 388.3 12.6 17.8\"\r\n version=\"1.1\"\r\n viewBox=\"-299.1 388.3 12.6 17.8\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path\r\n fill=\"#FFF\"\r\n d=\"M-294.7 388.3h3.2v4.4h5v3.4h-5v5c0 1.2.6 1.8 1.8 2 1.1.1 2.1 0 3-.5.1 0 .1-.1.2-.1v2.5c0 .1 0 .2-.2.3-1.6.6-3.2.9-5 .8-1-.1-2-.3-2.9-.8-1.2-.7-1.8-1.7-1.8-3.1V396v-.3h-2.7v-.2-2.2c0-.1 0-.2.2-.2.3-.1.7-.2 1-.3 1.6-.6 2.6-1.8 3-3.5 0-.1.1-.3.1-.4 0-.3.1-.5.1-.6z\"\r\n ></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">tumblr</span>\r\n {showCounter && <span class=\"ssb_counter\">5</span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-tumblr-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">Tumblr</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_tumblr_counter\"> 5</span>\r\n )}\r\n </button>\r\n );\r\n }\r\n }\r\n });\r\n\r\n return <Fragment>{output}</Fragment>;\r\n }\r\n}\r\n\r\nexport default Buttons;\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/shortcode/buttons.js"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7DA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACfA;AACA;AACA;AACA;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACPA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACVA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACPA;;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACXA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvBA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACnBA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;;;;;;;ACnDA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpEA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChBA;AACA;AACA;AACA;AACA;;;;;;;ACJA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChCA;AAAA;;;;;;;;;;;;;;;;;;;ACAA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AAMA;AAJA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAEA;AACA;AACA;AAHA;AAMA;AACA;AACA;AAHA;AAMA;AACA;AACA;AAHA;AACA;AAMA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAzBA;AA8BA;AAAA;AACA;AAAA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAKA;AASA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAHA;AAKA;AACA;AACA;AAAA;AAAA;AACA;AAHA;AANA;AAYA;AAAA;AAAA;AACA;AADA;AAGA;AAAA;AAAA;AACA;AADA;AAhBA;AAqBA;AACA;AACA;AACA;AAzFA;;;;;;ACzCA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;;;;;;;ACHA;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;AACA;AAAA;AAAA;AAQA;AALA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;;;AACA;AAAA;AACA;AADA;AAEA;AACA;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAIA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AASA;AAAA;AAAA;AAXA;AADA;AALA;AAqBA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AALA;AAOA;AAEA;AACA;AACA;AACA;AACA;AALA;AASA;AACA;AAGA;AACA;AACA;AACA;AACA;AARA;AAUA;AACA;AACA;AACA;AAIA;AAAA;AAAA;AAPA;AA5BA;AALA;AAtBA;AAoEA;;;;AA9EA;AACA;AADA;;;;;;ACXA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACTA;;;;;;ACAA;AACA;AACA;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACjCA;;;;;;;ACAA;AACA;AACA;;;;;;;ACFA;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACdA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AClBA;;;;;;;ACAA;;;;;;;ACAA;;;;;;ACAA;AACA;;;;;;;ACDA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxBA;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACFA;;;AAGA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;;;AACA;AAAA;AACA;AADA;AAEA;AACA;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AACA;AACA;AACA;AACA;AAJA;AANA;AADA;AAeA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAjBA;AAoBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAHA;AAOA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAHA;AAFA;AADA;AAUA;AACA;AAAA;AAAA;AAAA;AAEA;AAAA;AAAA;AAAA;AAdA;AAkBA;AACA;AACA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAPA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAAA;AAAA;AACA;AADA;AAVA;AADA;AAgBA;AAAA;AAAA;AAAA;AAAA;AAjBA;AAoBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAJA;AAMA;AACA;AACA;AAFA;AAPA;AANA;AADA;AAqBA;AAAA;AAAA;AAAA;AAAA;AAtBA;AAuBA;AAAA;AAAA;AAAA;AAAA;AAvBA;AA0BA;AACA;AACA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAPA;AAWA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AAXA;AADA;AAeA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAjBA;AAoBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAHA;AAOA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AAXA;AADA;AAeA;AAAA;AAAA;AAAA;AAAA;AAhBA;AAmBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AAAA;AAAA;AAAA;AAAA;AACA;AAPA;AADA;AAWA;AAAA;AAAA;AAAA;AAAA;AAZA;AAeA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AAMA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AANA;AAQA;AAAA;AARA;AAWA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AACA;AACA;AACA;AAHA;AAVA;AADA;AAkBA;AAAA;AAAA;AAAA;AAAA;AAnBA;AAsBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAVA;AADA;AAcA;AAAA;AAAA;AAAA;AAAA;AAfA;AAkBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAAA;AAAA;AACA;AACA;AAFA;AAVA;AADA;AAiBA;AAAA;AAAA;AAAA;AAAA;AAlBA;AAqBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AACA;AACA;AAFA;AAXA;AADA;AAkBA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AApBA;AAuBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAHA;AAOA;AAxYA;AA0YA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;;;;AAhbA;AACA;AAkbA;;;A","sourceRoot":""}
|
1 |
+
{"version":3,"file":"./assets/js/blocks.editor.js","sources":["webpack:///webpack/bootstrap 1f12f927d74d0ca243ad","webpack:///./node_modules/core-js/library/modules/_core.js","webpack:///./node_modules/core-js/library/modules/_global.js","webpack:///./node_modules/core-js/library/modules/_object-dp.js","webpack:///./node_modules/core-js/library/modules/_descriptors.js","webpack:///./node_modules/core-js/library/modules/_has.js","webpack:///./node_modules/core-js/library/modules/_export.js","webpack:///./node_modules/core-js/library/modules/_hide.js","webpack:///./node_modules/core-js/library/modules/_is-object.js","webpack:///./node_modules/core-js/library/modules/_to-iobject.js","webpack:///./node_modules/core-js/library/modules/_wks.js","webpack:///./node_modules/core-js/library/modules/_an-object.js","webpack:///./node_modules/core-js/library/modules/_fails.js","webpack:///./node_modules/core-js/library/modules/_property-desc.js","webpack:///./node_modules/core-js/library/modules/_library.js","webpack:///./node_modules/core-js/library/modules/_uid.js","webpack:///./node_modules/babel-runtime/helpers/defineProperty.js","webpack:///./node_modules/core-js/library/modules/_to-primitive.js","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/babel-runtime/core-js/object/get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_to-object.js","webpack:///./node_modules/core-js/library/modules/_defined.js","webpack:///./node_modules/core-js/library/modules/_shared-key.js","webpack:///./node_modules/core-js/library/modules/_shared.js","webpack:///./node_modules/babel-runtime/helpers/classCallCheck.js","webpack:///./node_modules/babel-runtime/helpers/createClass.js","webpack:///./node_modules/babel-runtime/helpers/possibleConstructorReturn.js","webpack:///./node_modules/core-js/library/modules/_to-integer.js","webpack:///./node_modules/core-js/library/modules/_iterators.js","webpack:///./node_modules/core-js/library/modules/_object-create.js","webpack:///./node_modules/core-js/library/modules/_object-keys.js","webpack:///./node_modules/core-js/library/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/library/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/library/modules/_wks-ext.js","webpack:///./node_modules/core-js/library/modules/_wks-define.js","webpack:///./node_modules/core-js/library/modules/_object-pie.js","webpack:///./node_modules/babel-runtime/helpers/inherits.js","webpack:///./node_modules/babel-runtime/core-js/object/define-property.js","webpack:///./node_modules/core-js/library/modules/_ctx.js","webpack:///./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/library/modules/_dom-create.js","webpack:///./node_modules/core-js/library/modules/_object-gpo.js","webpack:///./node_modules/babel-runtime/helpers/typeof.js","webpack:///./node_modules/core-js/library/modules/_iter-define.js","webpack:///./node_modules/core-js/library/modules/_redefine.js","webpack:///./node_modules/core-js/library/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/library/modules/_cof.js","webpack:///./node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/core-js/library/modules/_object-gopn.js","webpack:///./node_modules/core-js/library/modules/_object-gopd.js","webpack:///blocks/index.js","webpack:///blocks/shortcode/index.js","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./node_modules/core-js/library/modules/_a-function.js","webpack:///./blocks/shortcode/editor.scss","webpack:///./blocks/shortcode/style.scss","webpack:///blocks/shortcode/settings.js","webpack:///./node_modules/core-js/library/fn/object/get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/es6.object.get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_object-sap.js","webpack:///./node_modules/babel-runtime/core-js/symbol/iterator.js","webpack:///./node_modules/core-js/library/fn/symbol/iterator.js","webpack:///./node_modules/core-js/library/modules/es6.string.iterator.js","webpack:///./node_modules/core-js/library/modules/_string-at.js","webpack:///./node_modules/core-js/library/modules/_iter-create.js","webpack:///./node_modules/core-js/library/modules/_object-dps.js","webpack:///./node_modules/core-js/library/modules/_iobject.js","webpack:///./node_modules/core-js/library/modules/_array-includes.js","webpack:///./node_modules/core-js/library/modules/_to-length.js","webpack:///./node_modules/core-js/library/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/library/modules/_html.js","webpack:///./node_modules/core-js/library/modules/web.dom.iterable.js","webpack:///./node_modules/core-js/library/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/library/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/library/modules/_iter-step.js","webpack:///./node_modules/babel-runtime/core-js/symbol.js","webpack:///./node_modules/core-js/library/fn/symbol/index.js","webpack:///./node_modules/core-js/library/modules/es6.symbol.js","webpack:///./node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/core-js/library/modules/_enum-keys.js","webpack:///./node_modules/core-js/library/modules/_is-array.js","webpack:///./node_modules/core-js/library/modules/_object-gopn-ext.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.async-iterator.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.observable.js","webpack:///./node_modules/babel-runtime/core-js/object/set-prototype-of.js","webpack:///./node_modules/core-js/library/fn/object/set-prototype-of.js","webpack:///./node_modules/core-js/library/modules/es6.object.set-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_set-proto.js","webpack:///./node_modules/babel-runtime/core-js/object/create.js","webpack:///./node_modules/core-js/library/fn/object/create.js","webpack:///./node_modules/core-js/library/modules/es6.object.create.js","webpack:///blocks/shortcode/buttons.js","webpack:///blocks/click-to-tweet/index.js","webpack:///blocks/click-to-tweet/icon.js","webpack:///blocks/click-to-tweet/settings.js","webpack:///./blocks/click-to-tweet/editor.scss"],"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// 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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 49);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 1f12f927d74d0ca243ad","var core = module.exports = { version: '2.6.10' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_core.js\n// module id = 0\n// module chunks = 0","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_global.js\n// module id = 1\n// module chunks = 0","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-dp.js\n// module id = 2\n// module chunks = 0","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_descriptors.js\n// module id = 3\n// module chunks = 0","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_has.js\n// module id = 4\n// module chunks = 0","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_export.js\n// module id = 5\n// module chunks = 0","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_hide.js\n// module id = 6\n// module chunks = 0","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_is-object.js\n// module id = 7\n// module chunks = 0","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-iobject.js\n// module id = 8\n// module chunks = 0","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_wks.js\n// module id = 9\n// module chunks = 0","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_an-object.js\n// module id = 10\n// module chunks = 0","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_fails.js\n// module id = 11\n// module chunks = 0","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_property-desc.js\n// module id = 12\n// module chunks = 0","module.exports = true;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_library.js\n// module id = 13\n// module chunks = 0","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_uid.js\n// module id = 14\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (obj, key, value) {\n if (key in obj) {\n (0, _defineProperty2.default)(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/defineProperty.js\n// module id = 15\n// module chunks = 0","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-primitive.js\n// module id = 16\n// module chunks = 0","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/classnames/index.js\n// module id = 17\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/get-prototype-of\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/get-prototype-of.js\n// module id = 18\n// module chunks = 0","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-object.js\n// module id = 19\n// module chunks = 0","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_defined.js\n// module id = 20\n// module chunks = 0","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_shared-key.js\n// module id = 21\n// module chunks = 0","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_shared.js\n// module id = 22\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/classCallCheck.js\n// module id = 23\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/createClass.js\n// module id = 24\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\n// module id = 25\n// module chunks = 0","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-integer.js\n// module id = 26\n// module chunks = 0","module.exports = {};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iterators.js\n// module id = 27\n// module chunks = 0","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-create.js\n// module id = 28\n// module chunks = 0","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-keys.js\n// module id = 29\n// module chunks = 0","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_enum-bug-keys.js\n// module id = 30\n// module chunks = 0","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_set-to-string-tag.js\n// module id = 31\n// module chunks = 0","exports.f = require('./_wks');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_wks-ext.js\n// module id = 32\n// module chunks = 0","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_wks-define.js\n// module id = 33\n// module chunks = 0","exports.f = {}.propertyIsEnumerable;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-pie.js\n// module id = 34\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = require(\"../core-js/object/set-prototype-of\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = require(\"../core-js/object/create\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/inherits.js\n// module id = 35\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/define-property.js\n// module id = 36\n// module chunks = 0","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_ctx.js\n// module id = 37\n// module chunks = 0","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_ie8-dom-define.js\n// module id = 38\n// module chunks = 0","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_dom-create.js\n// module id = 39\n// module chunks = 0","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gpo.js\n// module id = 40\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/typeof.js\n// module id = 41\n// module chunks = 0","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iter-define.js\n// module id = 42\n// module chunks = 0","module.exports = require('./_hide');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_redefine.js\n// module id = 43\n// module chunks = 0","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-keys-internal.js\n// module id = 44\n// module chunks = 0","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_cof.js\n// module id = 45\n// module chunks = 0","exports.f = Object.getOwnPropertySymbols;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gops.js\n// module id = 46\n// module chunks = 0","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gopn.js\n// module id = 47\n// module chunks = 0","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gopd.js\n// module id = 48\n// module chunks = 0","import './shortcode'\r\n\r\n\r\nif (SSB.is_pro) {\r\n require('./click-to-tweet');\r\n}\n\n\n// WEBPACK FOOTER //\n// blocks/index.js","/**\r\n * Block dependencies.\r\n */\r\nimport classnames from \"classnames\";\r\nimport \"./editor.scss\";\r\nimport \"./style.scss\";\r\n\r\nimport Settings from \"./settings\";\r\nimport Buttons from \"./buttons\";\r\n/**\r\n * Block libraries\r\n */\r\n\r\nconst { __ } = wp.i18n;\r\nconst { Fragment } = wp.element;\r\nconst {\r\n InspectorControls,\r\n AlignmentToolbar,\r\n BlockControls,\r\n BlockAlignmentToolbar\r\n} = wp.editor;\r\nconst { registerBlockType } = wp.blocks;\r\n\r\nconst SSB_ALIGNMENT_CONTROLS = [\r\n {\r\n icon: \"editor-alignleft\",\r\n title: __(\"Align Left\"),\r\n align: \"left\"\r\n },\r\n {\r\n icon: \"editor-aligncenter\",\r\n title: __(\"Align Center\"),\r\n align: \"centered\"\r\n },\r\n {\r\n icon: \"editor-alignright\",\r\n title: __(\"Align Right\"),\r\n align: \"right\"\r\n }\r\n];\r\n\r\nexport default registerBlockType(\"ssb/shortcode\", {\r\n title: __(\"Simple Social Buttons\"),\r\n description: __(\r\n \"Simple Social Buttons adds an advanced set of social media sharing buttons to your sites, such as: Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest.\"\r\n ),\r\n category: \"common\",\r\n icon: \"networking\",\r\n keywords: [__(\"Social Share\"), __(\"Button\"), __(\"ssb\")],\r\n attributes: {\r\n theme: {\r\n type: \"string\",\r\n default: \"simple-icons\"\r\n },\r\n counter: {\r\n type: \"boolean\",\r\n default: false\r\n },\r\n showTotalCount: {\r\n type: \"boolean\",\r\n default: false\r\n },\r\n align: {\r\n type: \"string\",\r\n default: \"\"\r\n },\r\n order: {\r\n type: \"string\",\r\n default: \"fbshare,twitter,linkedin\"\r\n },\r\n likeButtonSize: {\r\n type: \"string\",\r\n default: \"small\"\r\n },\r\n alignment: {\r\n type: \"string\",\r\n default: \"left\"\r\n }\r\n },\r\n getEditWrapperProps({ align }) {\r\n if (\"center\" === align || \"wide\" === align || \"full\" === align) {\r\n return { \"data-align\": align };\r\n }\r\n },\r\n supports: {\r\n // Turn off ability to edit HTML of block content\r\n html: false,\r\n // Turn off reusable block feature\r\n reusable: false\r\n },\r\n edit: props => {\r\n const {\r\n attributes: { alignment, align, theme, counter },\r\n className,\r\n setAttributes\r\n } = props;\r\n const mainClasses = classnames(\r\n className,\r\n \"simplesocialbuttons\",\r\n \"simplesocialbuttons_inline\",\r\n { [`simplesocial-${theme}`]: theme },\r\n { [`align${align}`]: align },\r\n { \"ssb_counter-activate\": counter },\r\n { [`simplesocialbuttons-align-${alignment}`]: alignment }\r\n );\r\n return (\r\n <Fragment>\r\n <BlockControls>\r\n <BlockAlignmentToolbar\r\n value={align}\r\n onChange={align => setAttributes({ align })}\r\n controls={[\"center\", \"wide\", \"full\"]}\r\n />\r\n <AlignmentToolbar\r\n value={alignment}\r\n onChange={alignment => setAttributes({ alignment })}\r\n alignmentControls={SSB_ALIGNMENT_CONTROLS}\r\n />\r\n </BlockControls>\r\n <InspectorControls>\r\n <Settings {...props} />\r\n </InspectorControls>\r\n <div className={mainClasses}>\r\n <Buttons {...props} />\r\n </div>\r\n </Fragment>\r\n );\r\n },\r\n save: props => {\r\n return null;\r\n }\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/shortcode/index.js","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/define-property.js\n// module id = 51\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.define-property.js\n// module id = 52\n// module chunks = 0","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_a-function.js\n// module id = 53\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./blocks/shortcode/editor.scss\n// module id = 54\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./blocks/shortcode/style.scss\n// module id = 55\n// module chunks = 0","const { __ } = wp.i18n;\r\nconst { Component, Fragment } = wp.element;\r\n\r\nconst {\r\n PanelBody,\r\n PanelRow,\r\n SelectControl,\r\n ToggleControl,\r\n TextControl\r\n} = wp.components;\r\nconst { AlignmentToolbar } = wp.editor;\r\nexport default class Settings extends Component {\r\n constructor() {\r\n super(...arguments);\r\n }\r\n render() {\r\n const {\r\n attributes: { theme, counter, order, likeButtonSize, showTotalCount },\r\n setAttributes\r\n } = this.props;\r\n return (\r\n <Fragment>\r\n <PanelBody\r\n title={__(\"Theme\")}\r\n initialOpen={true}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <SelectControl\r\n value={theme}\r\n options={[\r\n { label: \"Theme1\", value: \"sm-round\" },\r\n { label: \"Theme2\", value: \"simple-round\" },\r\n { label: \"Theme3\", value: \"round-txt\" },\r\n { label: \"Theme4\", value: \"round-btm-border\" },\r\n { label: \"Flat\", value: \"flat-button-border\" },\r\n { label: \"Circle\", value: \"round-icon\" },\r\n { label: \"Official\", value: \"simple-icons\" }\r\n ]}\r\n onChange={theme => setAttributes({ theme })}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n <PanelBody\r\n title={__(\"Configuration\")}\r\n initialOpen={true}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <ToggleControl\r\n label={__(\"Share Counter\")}\r\n checked={counter}\r\n onChange={counter => {\r\n setAttributes({ counter: !!counter });\r\n }}\r\n />\r\n {counter && \r\n <ToggleControl\r\n label={__(\"Total Counts\")}\r\n checked={showTotalCount}\r\n onChange={showTotalCount => {\r\n setAttributes({ showTotalCount: !!showTotalCount });\r\n }}\r\n />\r\n }\r\n\r\n <TextControl\r\n help={\r\n \"Supported Networks: fbshare,twitter,linkedin,pinterest,reddit,whatsapp,viber,tumblr,messenger,email,print,fblike\"\r\n }\r\n label={__(\"Order\")}\r\n value={order}\r\n onChange={order => {\r\n setAttributes({ order });\r\n }}\r\n />\r\n <SelectControl\r\n label={__(\"Like button size\")}\r\n value={likeButtonSize}\r\n options={[\r\n { label: \"Small\", value: \"small\" },\r\n { label: \"Large\", value: \"large\" }\r\n ]}\r\n onChange={size => setAttributes({ likeButtonSize: size })}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n </Fragment>\r\n );\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/shortcode/settings.js","require('../../modules/es6.object.get-prototype-of');\nmodule.exports = require('../../modules/_core').Object.getPrototypeOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/get-prototype-of.js\n// module id = 57\n// module chunks = 0","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.get-prototype-of.js\n// module id = 58\n// module chunks = 0","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-sap.js\n// module id = 59\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/symbol/iterator.js\n// module id = 60\n// module chunks = 0","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/symbol/iterator.js\n// module id = 61\n// module chunks = 0","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.string.iterator.js\n// module id = 62\n// module chunks = 0","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_string-at.js\n// module id = 63\n// module chunks = 0","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iter-create.js\n// module id = 64\n// module chunks = 0","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-dps.js\n// module id = 65\n// module chunks = 0","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iobject.js\n// module id = 66\n// module chunks = 0","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_array-includes.js\n// module id = 67\n// module chunks = 0","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-length.js\n// module id = 68\n// module chunks = 0","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_to-absolute-index.js\n// module id = 69\n// module chunks = 0","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_html.js\n// module id = 70\n// module chunks = 0","require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/web.dom.iterable.js\n// module id = 71\n// module chunks = 0","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.array.iterator.js\n// module id = 72\n// module chunks = 0","module.exports = function () { /* empty */ };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_add-to-unscopables.js\n// module id = 73\n// module chunks = 0","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_iter-step.js\n// module id = 74\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/symbol.js\n// module id = 75\n// module chunks = 0","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/symbol/index.js\n// module id = 76\n// module chunks = 0","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.symbol.js\n// module id = 77\n// module chunks = 0","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_meta.js\n// module id = 78\n// module chunks = 0","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_enum-keys.js\n// module id = 79\n// module chunks = 0","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_is-array.js\n// module id = 80\n// module chunks = 0","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_object-gopn-ext.js\n// module id = 81\n// module chunks = 0","require('./_wks-define')('asyncIterator');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\n// module id = 83\n// module chunks = 0","require('./_wks-define')('observable');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es7.symbol.observable.js\n// module id = 84\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/set-prototype-of.js\n// module id = 85\n// module chunks = 0","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/set-prototype-of.js\n// module id = 86\n// module chunks = 0","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\n// module id = 87\n// module chunks = 0","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/_set-proto.js\n// module id = 88\n// module chunks = 0","module.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/create.js\n// module id = 89\n// module chunks = 0","require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/create.js\n// module id = 90\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.create.js\n// module id = 91\n// module chunks = 0","/**\r\n * External dependencies\r\n */\r\nimport classnames from \"classnames\";\r\n\r\nconst { __ } = wp.i18n;\r\nconst { Component, Fragment } = wp.element;\r\n\r\nclass Buttons extends Component {\r\n constructor() {\r\n super(...arguments);\r\n }\r\n render() {\r\n const {\r\n attributes: { theme, order, counter, likeButtonSize, showTotalCount }\r\n } = this.props;\r\n\r\n var output = Array();\r\n var showCounter = counter;\r\n var buttonStyle = {};\r\n //fblike, totalshare -> having issue\r\n var knownNetworks = Array(\r\n \"twitter\",\r\n \"pinterest\",\r\n \"fbshare\",\r\n \"linkedin\",\r\n \"reddit\",\r\n \"whatsapp\",\r\n \"viber\",\r\n \"messenger\",\r\n \"email\",\r\n \"fblike\",\r\n \"print\",\r\n \"tumblr\"\r\n );\r\n\r\n \r\n let selectedNetworks = order.split(\",\");\r\n if ( counter && showTotalCount) {\r\n selectedNetworks.push(\"totalshare\");\r\n }\r\n selectedNetworks.forEach((network, index) => {\r\n\r\n switch (network) {\r\n case \"fbshare\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_fbshare-icon\" target=\"_blank\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n viewBox=\"0 0 16 16\"\r\n class=\"_1pbq\"\r\n color=\"#ffffff\"\r\n >\r\n <path\r\n fill=\"#ffffff\"\r\n fill-rule=\"evenodd\"\r\n class=\"icon\"\r\n d=\"M8 14H3.667C2.733 13.9 2 13.167 2 12.233V3.667A1.65 1.65 0 0 1 3.667 2h8.666A1.65 1.65 0 0 1 14 3.667v8.566c0 .934-.733 1.667-1.667 1.767H10v-3.967h1.3l.7-2.066h-2V6.933c0-.466.167-.9.867-.9H12v-1.8c.033 0-.933-.266-1.533-.266-1.267 0-2.434.7-2.467 2.133v1.867H6v2.066h2V14z\"\r\n ></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Share </span>\r\n {showCounter && <span class=\"ssb_counter\"> 5 </span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-fb-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">Facebook </span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_fbshare_counter\">5</span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"twitter\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_tweet-icon\" rel=\"nofollow\">\r\n <span class=\"icon\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 72 72\">\r\n <path fill=\"none\" d=\"M0 0h72v72H0z\" />\r\n <path\r\n class=\"icon\"\r\n fill=\"#fff\"\r\n d=\"M68.812 15.14c-2.348 1.04-4.87 1.744-7.52 2.06 2.704-1.62 4.78-4.186 5.757-7.243-2.53 1.5-5.33 2.592-8.314 3.176C56.35 10.59 52.948 9 49.182 9c-7.23 0-13.092 5.86-13.092 13.093 0 1.026.118 2.02.338 2.98C25.543 24.527 15.9 19.318 9.44 11.396c-1.125 1.936-1.77 4.184-1.77 6.58 0 4.543 2.312 8.552 5.824 10.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163 0 6.345 4.513 11.638 10.504 12.84-1.1.298-2.256.457-3.45.457-.845 0-1.666-.078-2.464-.23 1.667 5.2 6.5 8.985 12.23 9.09-4.482 3.51-10.13 5.605-16.26 5.605-1.055 0-2.096-.06-3.122-.184 5.794 3.717 12.676 5.882 20.067 5.882 24.083 0 37.25-19.95 37.25-37.25 0-.565-.013-1.133-.038-1.693 2.558-1.847 4.778-4.15 6.532-6.774z\"\r\n />\r\n </svg>\r\n </span>\r\n {showCounter ? (\r\n <i class=\"simplesocialtxt\">Tweet 5 </i>\r\n ) : (\r\n <i class=\"simplesocialtxt\">Tweet </i>\r\n )}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button\r\n class=\"simplesocial-twt-share\"\r\n rel=\"nofollow\"\r\n style={buttonStyle}\r\n >\r\n <span class=\"simplesocialtxt\">Twitter</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_twitter_counter\"> 5 </span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n\r\n case \"linkedin\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_linkedin-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"15\"\r\n height=\"14.1\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-301.4 387.5 15 14.1\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <g fill=\"#FFF\">\r\n <path d=\"M-296.2 401.6v-9.5h3c.1 0 .1 0 .1.1v1.2c.1-.1.2-.3.3-.4.5-.7 1.2-1 2.1-1.1.8-.1 1.5 0 2.2.3.7.4 1.2.8 1.5 1.4.4.8.6 1.7.6 2.5v5.5h-3.2v-.2-4.8c0-.4 0-.8-.2-1.2-.2-.7-.8-1-1.6-1-.8.1-1.3.5-1.6 1.2-.1.2-.1.5-.1.8v5.1c0 .2 0 .2-.2.2h-2.9c.1-.1 0-.1 0-.1zM-298 401.6h-3c-.1 0-.1 0-.1-.1v-9.2c0-.1 0-.1.1-.1h3v9.4zM-299.6 390.9c-.7-.1-1.2-.3-1.6-.8-.5-.8-.2-2.1 1-2.4.6-.2 1.2-.1 1.8.2.5.4.7.9.6 1.5-.1.7-.5 1.1-1.1 1.3-.2.1-.5.1-.7.2z\"></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Share</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button target=\"popup\" class=\"simplesocial-linkedin-share\">\r\n <span class=\"simplesocialtxt\">LinkedIn</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"pinterest\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_pinterest-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n height=\"30px\"\r\n width=\"30px\"\r\n viewBox=\"-1 -1 31 31\"\r\n >\r\n <g>\r\n <path\r\n d=\"M29.449,14.662 C29.449,22.722 22.868,29.256 14.75,29.256 C6.632,29.256 0.051,22.722 0.051,14.662 C0.051,6.601 6.632,0.067 14.75,0.067 C22.868,0.067 29.449,6.601 29.449,14.662\"\r\n fill=\"#fff\"\r\n stroke=\"#fff\"\r\n stroke-width=\"1\"\r\n ></path>\r\n <path\r\n d=\"M14.733,1.686 C7.516,1.686 1.665,7.495 1.665,14.662 C1.665,20.159 5.109,24.854 9.97,26.744 C9.856,25.718 9.753,24.143 10.016,23.022 C10.253,22.01 11.548,16.572 11.548,16.572 C11.548,16.572 11.157,15.795 11.157,14.646 C11.157,12.842 12.211,11.495 13.522,11.495 C14.637,11.495 15.175,12.326 15.175,13.323 C15.175,14.436 14.462,16.1 14.093,17.643 C13.785,18.935 14.745,19.988 16.028,19.988 C18.351,19.988 20.136,17.556 20.136,14.046 C20.136,10.939 17.888,8.767 14.678,8.767 C10.959,8.767 8.777,11.536 8.777,14.398 C8.777,15.513 9.21,16.709 9.749,17.359 C9.856,17.488 9.872,17.6 9.84,17.731 C9.741,18.141 9.52,19.023 9.477,19.203 C9.42,19.44 9.288,19.491 9.04,19.376 C7.408,18.622 6.387,16.252 6.387,14.349 C6.387,10.256 9.383,6.497 15.022,6.497 C19.555,6.497 23.078,9.705 23.078,13.991 C23.078,18.463 20.239,22.062 16.297,22.062 C14.973,22.062 13.728,21.379 13.302,20.572 C13.302,20.572 12.647,23.05 12.488,23.657 C12.193,24.784 11.396,26.196 10.863,27.058 C12.086,27.434 13.386,27.637 14.733,27.637 C21.95,27.637 27.801,21.828 27.801,14.662 C27.801,7.495 21.95,1.686 14.733,1.686\"\r\n fill=\"#bd081c\"\r\n ></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Pinterest</span>';\r\n {showCounter && <span class=\"ssb_counter\">5</span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button\r\n rel=\"nofollow\"\r\n class=\"simplesocial-pinterest-share\"\r\n style={buttonStyle}\r\n >\r\n <span class=\"simplesocialtxt\">Pinterest</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_pinterest_counter\">5</span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"totalshare\":\r\n output.push(\r\n <span class=\"ssb_total_counter\">555<span>Shares</span>\r\n </span>\r\n );\r\n break;\r\n case \"reddit\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_reddit-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"430.117\"\r\n height=\"430.117\"\r\n x=\"0\"\r\n y=\"0\"\r\n enableBackground=\"new 0 0 430.117 430.117\"\r\n version=\"1.1\"\r\n viewBox=\"0 0 430.117 430.117\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path d=\"M307.523 231.062c1.11 2.838 1.614 5.769 1.614 8.681 0 5.862-2.025 11.556-5.423 16.204-3.36 4.593-8.121 8.158-13.722 9.727h.01c-.047.019-.094.019-.117.037-.023 0-.061.019-.079.019a24.626 24.626 0 01-7.98 1.316c-6.254 0-12.396-2.254-17.306-6.096-4.872-3.826-8.56-9.324-9.717-15.845h-.01c0-.019 0-.042-.009-.069 0-.019 0-.038-.019-.065h.019a23.713 23.713 0 01-.551-5.021c0-5.647 1.923-11.07 5.097-15.551 3.164-4.453 7.626-7.99 12.848-9.811.019 0 .038-.01.038-.01.027 0 .027-.027.051-.027a26.476 26.476 0 019.157-1.639c5.619 0 11.154 1.704 15.821 4.821 4.611 3.066 8.354 7.561 10.23 13.143.019.037.019.07.037.103 0 .037.019.057.037.084h-.026zm-17.194 69.287c-2.202-1.428-4.751-2.291-7.448-2.291a11.66 11.66 0 00-6.445 1.955c-19.004 11.342-41.355 17.558-63.547 17.558-16.65 0-33.199-3.514-48.192-10.879l-.077-.037-.075-.028c-2.261-.924-4.837-2.889-7.647-4.76-1.428-.925-2.919-1.844-4.574-2.521-1.633-.695-3.447-1.181-5.386-1.181-1.605 0-3.292.359-4.957 1.115l-.252.098h.009a12.002 12.002 0 00-5.974 4.994c-1.372 2.23-2.046 4.826-2.046 7.411 0 2.334.551 4.667 1.691 6.786a12.163 12.163 0 004.938 4.938c21.429 14.454 46.662 21.002 71.992 20.979 22.838 0 45.814-5.287 66.27-14.911l.107-.065.103-.056c2.697-1.597 6.282-3.029 9.661-5.115 1.671-1.064 3.304-2.296 4.704-3.897a14.706 14.706 0 003.16-5.875v-.01c.266-1.026.392-2.025.392-3.024 0-1.899-.467-3.701-1.241-5.32-1.134-2.438-2.991-4.435-5.166-5.864zm-150.454-34.76c.037 0 .086.014.128.037a24.302 24.302 0 008.345 1.493c6.963 0 13.73-2.852 18.853-7.5 5.115-4.662 8.618-11.257 8.618-18.775 0-.196 0-.392-.009-.625.019-.336.028-.705.028-1.083 0-7.458-3.456-14.08-8.522-18.762-5.085-4.686-11.836-7.551-18.825-7.551-1.867 0-3.769.219-5.628.653-.028 0-.049.009-.077.009h-.028c-9.252 1.937-17.373 8.803-20.37 18.248v.01c0 .019-.009.037-.009.037a24.974 24.974 0 00-1.262 7.896c0 5.787 1.913 11.426 5.211 16.064 3.269 4.56 7.894 8.145 13.448 9.819.04.002.059.012.099.03zm290.158-67.495v.038c.066.94.084 1.878.084 2.81 0 10.447-3.351 20.493-8.941 29.016-5.218 7.976-12.414 14.649-20.703 19.177.532 4.158.84 8.349.84 12.526-.01 22.495-7.766 44.607-21.272 62.329v.009h-.028c-24.969 33.216-63.313 52.804-102.031 62.684h-.01l-.027.023a268.397 268.397 0 01-63.223 7.574c-31.729 0-63.433-5.722-93.018-17.585l-.009-.028h-.028c-30.672-12.643-59.897-32.739-77.819-62.184-9.642-15.71-14.935-34.141-14.935-52.659 0-4.19.283-8.387.843-12.536a60.094 60.094 0 01-20.255-18.687c-5.542-8.266-9.056-17.95-9.5-28.187v-.159c.009-14.337 6.237-27.918 15.915-37.932 9.677-10.011 22.896-16.554 37.075-16.554h.588a66.294 66.294 0 014.488-.159c7.122 0 14.26 1.153 21.039 3.752l.037.028.038.012c5.787 2.437 11.537 5.377 16.662 9.449 1.661-.871 3.472-1.851 5.504-2.625 31.064-18.395 67.171-25.491 102.358-27.538.306-17.431 2.448-35.68 10.949-51.65 7.08-13.269 19.369-23.599 34-27.179l.061-.03.079-.009c5.573-1.078 11.192-1.575 16.774-1.575 14.869 0 29.561 3.521 43.31 9.017 6.086-9.185 14.776-16.354 24.97-20.375l.098-.056.098-.037c5.983-1.864 12.303-2.954 18.646-2.954 6.692 0 13.437 1.223 19.756 4.046v-.023c.009.023.019.023.019.023.047.016.084.044.116.044 9.059 3.489 16.727 9.937 22.164 17.95 5.442 8.048 8.644 17.688 8.644 27.599 0 1.827-.103 3.657-.317 5.489l-.019.037c0 .028 0 .068-.01.096-1.063 12.809-7.551 24.047-16.736 32.063-9.24 8.048-21.207 12.909-33.49 12.909-1.97 0-3.958-.11-5.937-.374-12.182-.931-23.541-6.826-31.886-15.595-8.373-8.755-13.768-20.453-13.768-33.08 0-.611.056-1.237.074-1.843-11.435-5.092-23.578-9.316-35.646-9.306-1.746 0-3.491.096-5.237.273h-.019c-9.035.871-17.436 6.566-21.506 14.757v.037c-6.179 12.034-7.411 26.101-7.598 40.064 34.639 2.259 69.483 10.571 100.043 28.138h.047l.438.259c.579.343 1.652.931 2.623 1.449 2.101-1.704 4.322-3.456 6.856-4.966 9.264-6.17 20.241-9.238 31.223-9.238 4.872 0 9.749.621 14.481 1.834h.019l.196.058c.07.01.121.033.178.033v.009c11.183 2.845 21.3 9.267 28.917 17.927 7.612 8.674 12.731 19.648 13.73 31.561v.025h-.012zM328.002 84.733c0 .469.01.95.057 1.44v.084c.224 6.018 3.065 11.619 7.383 15.756 4.34 4.14 10.1 6.702 15.942 6.725h.159c.42.033.85.033 1.26.033 5.899.009 11.752-2.532 16.148-6.655 4.405-4.144 7.309-9.78 7.542-15.849l.009-.028v-.037c.038-.464.057-.903.057-1.377 0-6.247-2.922-12.202-7.496-16.612-4.555-4.406-10.688-7.136-16.735-7.12-1.951 0-3.884.266-5.778.854l-.065.005-.056.023c-4.984 1.295-9.656 4.368-13.012 8.449-3.371 4.062-5.415 9.084-5.415 14.309zm-255.69 92.845c-4.63-2.156-9.418-3.696-14.15-3.676-.794 0-1.597.047-2.39.133h-.11l-.11.014c-6.795.187-13.653 3.15-18.801 7.899-5.152 4.732-8.559 11.122-8.821 18.167v.065l-.012.058a21 21 0 00-.065 1.683c0 4.345 1.333 8.545 3.593 12.368 1.673 2.847 3.867 5.441 6.348 7.701 7.941-17.388 20.348-32.145 34.518-44.412zm301.754 85.057c0-15.5-5.592-31.069-14.646-43.604-18.053-25.119-46.055-41.502-75.187-50.636l-.205-.072a239.667 239.667 0 00-16.933-4.534c-17.025-3.876-34.48-5.806-51.917-5.806-23.414 0-46.827 3.465-69.245 10.379-29.125 9.243-57.221 25.51-75.233 50.71v.019c-9.129 12.587-14.475 28.208-14.475 43.763 0 5.727.716 11.453 2.23 17.025l.019.01c3.278 12.508 9.689 23.671 17.989 33.393 8.295 9.745 18.472 18.058 29.176 24.839 2.371 1.47 4.751 2.87 7.187 4.237 31.094 17.356 66.898 24.964 102.445 24.964 6.012 0 12.06-.214 18.033-.644 35.797-2.959 71.742-13.525 100.8-35.115l.01-.023c9.25-6.837 17.818-15.112 24.595-24.525 6.805-9.418 11.789-19.947 14.002-31.382v-.033l.009-.01a62.283 62.283 0 001.346-12.955zm28.254-61.685c-.009-3.762-.868-7.507-2.753-11l-.047-.044-.019-.056c-2.521-5.19-6.479-9.11-11.248-11.782-4.77-2.69-10.352-4.056-15.952-4.056-5.063 0-10.1 1.132-14.57 3.379 14.216 12.344 26.687 27.179 34.746 44.636a29.093 29.093 0 006.464-8.084c2.157-4.023 3.379-8.538 3.379-12.993z\"></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">reddit </span>\r\n {showCounter && <span class=\"ssb_counter\">5</span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-reddit-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">Reddit</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_reddit_counter\"> 5 </span>\r\n )}\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"whatsapp\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_whatsapp-icon simplesocial-whatsapp-share\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"512\"\r\n height=\"512\"\r\n x=\"0\"\r\n y=\"0\"\r\n enableBackground=\"new 0 0 90 90\"\r\n version=\"1.1\"\r\n viewBox=\"0 0 90 90\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path d=\"M90 43.841c0 24.213-19.779 43.841-44.182 43.841a44.256 44.256 0 01-21.357-5.455L0 90l7.975-23.522a43.38 43.38 0 01-6.34-22.637C1.635 19.628 21.416 0 45.818 0 70.223 0 90 19.628 90 43.841zM45.818 6.982c-20.484 0-37.146 16.535-37.146 36.859 0 8.065 2.629 15.534 7.076 21.61L11.107 79.14l14.275-4.537A37.122 37.122 0 0045.819 80.7c20.481 0 37.146-16.533 37.146-36.857S66.301 6.982 45.818 6.982zm22.311 46.956c-.273-.447-.994-.717-2.076-1.254-1.084-.537-6.41-3.138-7.4-3.495-.993-.358-1.717-.538-2.438.537-.721 1.076-2.797 3.495-3.43 4.212-.632.719-1.263.809-2.347.271-1.082-.537-4.571-1.673-8.708-5.333-3.219-2.848-5.393-6.364-6.025-7.441-.631-1.075-.066-1.656.475-2.191.488-.482 1.084-1.255 1.625-1.882.543-.628.723-1.075 1.082-1.793.363-.717.182-1.344-.09-1.883-.27-.537-2.438-5.825-3.34-7.977-.902-2.15-1.803-1.792-2.436-1.792-.631 0-1.354-.09-2.076-.09s-1.896.269-2.889 1.344c-.992 1.076-3.789 3.676-3.789 8.963 0 5.288 3.879 10.397 4.422 11.113.541.716 7.49 11.92 18.5 16.223C58.2 65.771 58.2 64.336 60.186 64.156c1.984-.179 6.406-2.599 7.312-5.107.9-2.512.9-4.663.631-5.111z\"></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Whatsapp</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-whatsapp-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">WhatsApp</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"viber\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"simplesocial-viber-share ssb_viber-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n aria-labelledby=\"simpleicons-viber-icon\"\r\n role=\"img\"\r\n viewBox=\"0 0 24 24\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <title id=\"simpleicons-viber-icon\">Viber icon</title>\r\n <path d=\"M20.812 2.343c-.596-.549-3.006-2.3-8.376-2.325 0 0-6.331-.38-9.415 2.451C1.302 4.189.698 6.698.634 9.82.569 12.934.487 18.774 6.12 20.36h.005l-.005 2.416s-.034.979.609 1.178c.779.24 1.236-.504 1.98-1.303.409-.439.972-1.088 1.397-1.582 3.851.322 6.813-.416 7.149-.525.777-.254 5.176-.816 5.893-6.658.738-6.021-.357-9.83-2.338-11.547v.004zm.652 11.112c-.615 4.876-4.184 5.187-4.83 5.396-.285.092-2.895.738-6.164.525 0 0-2.445 2.941-3.195 3.705-.121.121-.271.166-.361.145-.135-.029-.164-.18-.164-.404l.015-4.006c-.015 0 0 0 0 0-4.771-1.336-4.485-6.301-4.425-8.91.044-2.596.538-4.726 1.994-6.167 2.611-2.371 7.997-2.012 7.997-2.012 4.543.016 6.721 1.385 7.223 1.846 1.674 1.432 2.529 4.865 1.904 9.893l.006-.011zM7.741 4.983c.242 0 .459.109.629.311.004.002.58.695.83 1.034.235.32.551.83.711 1.115.285.51.104 1.032-.172 1.248l-.566.45c-.285.229-.25.653-.25.653s.84 3.157 3.959 3.953c0 0 .426.039.654-.246l.451-.569c.213-.285.734-.465 1.244-.181.285.15.795.466 1.116.704.339.24 1.032.826 1.036.826.33.271.404.689.18 1.109v.016c-.23.405-.541.78-.934 1.141h-.008c-.314.27-.629.42-.944.449-.03 0-.075.016-.136 0-.135 0-.27-.029-.404-.061v-.014c-.48-.135-1.275-.48-2.596-1.216-.855-.479-1.574-.96-2.189-1.455-.315-.255-.645-.54-.976-.87l-.076-.028-.03-.03-.029-.029c-.331-.33-.615-.66-.871-.98-.48-.609-.96-1.327-1.439-2.189-.735-1.32-1.08-2.115-1.215-2.596H5.7c-.045-.134-.075-.269-.06-.404-.015-.061 0-.105 0-.141.03-.299.189-.614.458-.944h.005c.355-.39.738-.704 1.146-.933.164-.091.329-.135.479-.135h.016l-.003.012zm4.095-.683h.116l.076.002h.02l.089.005h.511l.135.015h.074l.15.016h.03l.104.015h.016l.074.015c.046 0 .076.016.105.016h.091l.075.029.06.016.06.015.03.015h.045l.046.016h.029l.074.016.045.014.046.016.06.016.03.014c.03 0 .06.016.091.016l.044.015.046.016.119.044.061.031.135.06.045.015.045.016.09.045.061.015.029.015.076.031.029.014.061.031.045.014.045.03.059.03.046.029.03.016.061.03.044.03.075.045.045.016.074.044.016.015.045.031.09.074.046.03.044.03.031.014.045.031.074.074.061.045.045.03.016.015.029.016.074.061.046.044.03.03.045.029.045.031.029.015.12.12.06.061.135.135.031.029c.016.016.045.045.061.075l.029.03.166.194.045.06c.014.016.014.031.029.031l.09.135.045.045.09.12.076.12.045.09.059.105.045.09.016.029.029.061.076.15.074.149.031.075c.059.135.104.27.164.42.074.195.135.404.18.63.045.165.076.315.105.48l.029.27.045.3c.016.121.031.256.031.375.014.121.014.24.014.359v.256c0 .016-.006.029-.014.045-.016.03-.031.045-.061.075-.021.015-.049.046-.08.046-.029.014-.059.014-.09.014h-.045c-.029 0-.059-.014-.09-.029-.029-.016-.061-.03-.074-.061-.016-.029-.045-.061-.061-.09s-.031-.06-.031-.09v-.359c-.014-.209-.029-.425-.059-.639-.016-.146-.045-.284-.061-.42 0-.074-.016-.146-.029-.209l-.029-.15-.038-.141-.016-.09-.045-.15c-.029-.12-.074-.24-.119-.36-.029-.091-.061-.165-.105-.239l-.029-.076-.135-.27-.031-.045c-.061-.135-.135-.27-.225-.391l-.045-.074h-.201l-.064-.091c-.055-.089-.114-.165-.18-.239l-.125-.15-.015-.016-.046-.057-.035-.045-.075-.074-.015-.03-.07-.06-.045-.046-.083-.075-.04-.037-.046-.045-.015-.016c-.016-.015-.045-.045-.075-.06l-.076-.062-.03-.015-.061-.046-.074-.06-.045-.036-.03-.016-.06-.053c0-.016-.016-.016-.031-.016l-.029-.029-.015-.016v-.013l-.03-.014-.061-.037-.044-.031-.075-.045-.06-.045-.029-.016-.032-.013h-.09l-.019-.016-.065-.035-.009-.014-.03-.016-.045-.021h-.012l-.045-.016-.025-.015-.045-.015-.01-.011-.03-.016-.053-.029-.03-.015-.09-.03-.074-.029-.137-.016-.044-.029c-.015-.01-.03-.016-.046-.016l-.029-.015c-.029-.011-.045-.016-.075-.03l-.03-.016h-.029l-.061-.029-.029-.016-.045-.015h-.092c-.008 0-.019-.005-.03-.007h-.09l-.045-.016h-.015l-.045-.016h-.041c-.025-.014-.045-.014-.07-.014l-.01-.016-.06-.015c-.03-.016-.056-.016-.084-.016l-.045-.015-.05-.016-.045-.014-.061-.016h-.061l-.179-.022h-.09l-.116-.015h-.076l-.068-.008h-.03l-.054-.016h-.285l-.01-.015h-.061c-.03 0-.064-.015-.09-.03-.03-.016-.061-.029-.081-.06l-.03-.046c-.029-.029-.029-.06-.045-.09-.014-.028-.014-.059-.014-.089s0-.06.015-.09c.016-.029.029-.06.061-.075.015-.03.044-.044.074-.06.029-.016.061-.03.09-.03h.061l.015.066zm.554 1.574l.037.003.061.006c.008 0 .018 0 .029.003.022 0 .045.004.075.006l.06.008.024.016.045.015.048.015.045.016h.03l.042.015.07.015.056.016.026.014h.073l.119.028.046.015.045.015.045.016s.015 0 .015.015l.046.015.044.016.045.016c.015 0 .03.014.046.014.007 0 .014.016.025.016l.064.03h.029l.09.03.05.029.046.03.108.045.06.015.031.031c.045.014.09.044.135.059l.048.03.048.03.049.029c.045.03.082.046.121.076l.029.014.041.031.022.015.075.045.037.03.065.043.029.015.03.015.046.03.06.046c.015.014.022.014.034.029.01.015.016.015.025.03l.033.03.036.029.03.03.046.046.029.03.016.016.09.089.016.016c0 .015.015.03.029.03l.016.013.045.046.029.045.03.03.045.06.046.046.09.119.014.029.061.076.016.029.015.031.015.029.016.03c.016.015.016.03.029.06l.043.076.016.015.029.061.031.044c.014.015.014.029.029.045l.03.045.03.061.029.059.016.046c.015.044.045.075.06.12 0 .015.015.029.015.045l.045.119.061.195c0 .016.015.045.015.061l.046.135.044.18.046.24c.014.074.014.135.029.211.016.119.03.238.03.359l.015.21v.165c0 .016 0 .029-.015.045l-.044.043c-.029.023-.045.045-.074.061-.03.015-.061.029-.09.04-.031.016-.075.016-.105.016-.029 0-.061-.016-.09-.03-.016 0-.03-.016-.045-.021-.031-.014-.061-.039-.075-.065-.03-.03-.046-.06-.046-.091l-.014-.044v-.313c0-.133-.016-.256-.031-.385-.015-.135-.044-.285-.074-.42-.029-.09-.045-.18-.075-.26l-.03-.091-.029-.075-.016-.03-.045-.12-.045-.09-.075-.149-.069-.12v-.019l-.029-.047-.03-.038-.045-.075-.046-.061-.089-.119c-.046-.061-.09-.12-.142-.178-.014-.015-.029-.029-.029-.045l-.03-.029-.017-.016-.03-.014-.03-.027v-.146l-.119-.113-.075-.068v-.014l-.03-.031-.038-.029-.015-.016c0-.015-.016-.015-.029-.015l-.046-.016-.015-.015-.061-.045-.014-.016-.016-.015c-.012-.015-.023-.015-.03-.015l-.06-.045-.016-.016-.06-.029-.011-.016-.045-.029-.03-.016-.03-.029-.029-.031h-.016c-.029-.029-.06-.044-.105-.06l-.044-.03-.03-.014-.016-.016-.045-.03-.044-.015-.06-.03-.046-.015-.015-.016-.056-.014v-.012l-.091-.03-.06-.03-.03-.015h-.06c-.03-.015-.045-.015-.075-.03H13.2l-.045-.016h-.044l-.046-.014-.029-.016h-.061l-.061-.015-.029-.016h-.165l-.069-.015H12.3l-.046-.016c-.029-.014-.06-.029-.09-.06-.014-.03-.045-.06-.06-.089-.015-.031-.03-.061-.03-.091v-.09c.006-.046.016-.075.03-.105.008-.015.015-.03.03-.045.018-.03.045-.06.075-.075.015-.015.03-.015.044-.029.031-.016.061-.016.091-.016h.06l-.014.055zm.454 1.629c.015 0 .03 0 .044.004.016 0 .031 0 .046.002l.052.005c.104.009.213.024.318.046l.104.023.026.008.114.029.059.02.046.016c.045.014.091.045.135.06l.016.015.06.03.09.046.029.014c.016.016.031.016.046.03.015.016.045.03.06.045.061.03.105.075.15.105l.105.09.09.091.061.074.029.029.03.031.044.06.091.135.075.135.06.12.046.105c.044.104.06.195.09.299.029.091.045.196.06.285l.015.15.016.136V9.8c0 .045-.016.075-.03.105-.015.029-.046.074-.075.09-.03.029-.061.045-.105.061-.029.014-.06.014-.09.014-.029 0-.06 0-.09-.014l-.104-.046c-.03-.03-.06-.045-.091-.091-.015-.029-.029-.06-.045-.104v-.166l-.015-.105-.015-.119-.016-.105-.016-.06c0-.015-.014-.045-.014-.06-.03-.121-.09-.24-.15-.36l-.061-.06-.047-.06-.045-.045-.015-.03-.075-.06-.061-.061-.059-.045c-.016-.015-.03-.015-.061-.029l-.09-.061-.061-.03-.029-.015h-.016l-.076-.031-.09-.03-.09-.015h-.075l-.044-.015-.035-.007h-.045l-.06-.016h-.255l-.015-.075h-.039c-.03-.004-.055-.015-.08-.029-.035-.021-.064-.045-.09-.08-.018-.029-.034-.061-.045-.09-.008-.029-.012-.06-.012-.09 0-.037 0-.075.015-.113.015-.039.03-.07.06-.1l.061-.045c.029-.016.061-.03.09-.03l.062-.075h.032z\" />\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Viber</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-viber-share\">\r\n <span class=\"simplesocialtxt\">Viber</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"fblike\":\r\n const likeButtonClasses = classnames(\r\n \"fb-like\",\r\n \"ssb-fb-like\",\r\n \"fb_iframe_widget\",\r\n { [`${likeButtonSize}`]: likeButtonSize }\r\n );\r\n output.push(\r\n <div\r\n class={likeButtonClasses}\r\n data-layout=\"button_count\"\r\n data-action=\"like\"\r\n data-size=\"small\"\r\n data-show-faces=\"false\"\r\n data-share=\"false\"\r\n >\r\n <img src={SSB.plugin_url + \"/assets/images/fblike.svg\"} />{\" \"}\r\n </div>\r\n );\r\n break;\r\n case \"messenger\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"simplesocial-viber-share ssb_msng-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"18\"\r\n height=\"19\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-889.5 1161 18 19\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path\r\n fill=\"#FFF\"\r\n d=\"M-880.5 1161c-5 0-9 3.8-9 8.5 0 2.4 1 4.5 2.7 6v4.5l3.8-2.3c.8.2 1.6.3 2.5.3 5 0 9-3.8 9-8.5s-4-8.5-9-8.5zm.9 11.2l-2.4-2.4-4.3 2.4 4.7-5.2 2.4 2.4 4.2-2.4-4.6 5.2z\"\r\n opacity=\"0.99\"\r\n ></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Messenger</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-msng-share\">\r\n <span class=\"simplesocialtxt\">Messenger</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"email\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_email-icon simplesocial-email-share\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"16\"\r\n height=\"11.9\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-1214.1 1563.9 16 11.9\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path d=\"M-1214.1 1565.2v1l8 4 8-4v-1c0-.7-.6-1.3-1.3-1.3h-13.4c-.7 0-1.3.5-1.3 1.3zm0 2.2v7.1c0 .7.6 1.3 1.3 1.3h13.4c.7 0 1.3-.6 1.3-1.3v-7.1l-8 4-8-4z\"></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Email</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-email-share\">\r\n <span class=\"simplesocialtxt\">Email</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"print\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\" ssb_print-icon simplesocial-email-share\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"16\"\r\n height=\"13.7\"\r\n x=\"0\"\r\n y=\"0\"\r\n version=\"1.1\"\r\n viewBox=\"-1296.9 1876.4 16 13.7\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <g fill=\"#FFF\">\r\n <path d=\"M-1288.9 1879.7h6.9c.4 0 .7.1.9.5.1.2.1.4.1.6v5.1c0 .7-.4 1.1-1.1 1h-1.8c-.1 0-.2 0-.2.2v2c0 .6-.4 1-1 1H-1292.9c-.3 0-.5 0-.8-.1-.3-.2-.5-.5-.5-.9v-2c0-.2-.1-.2-.2-.2h-1.7c-.7 0-1-.4-1-1v-5.1c0-.4.2-.8.6-.9.2-.1.3-.1.5-.1 2.5-.1 4.8-.1 7.1-.1zm0 5.2h-4.2c-.1 0-.2 0-.2.2v4c0 .3.1.4.4.4h8c.2 0 .3-.2.3-.3v-4c0-.2 0-.2-.2-.2-1.3-.1-2.7-.1-4.1-.1zm4.7-2.5c.4 0 .7-.3.7-.7 0-.4-.3-.7-.8-.7-.4 0-.7.3-.7.7.1.4.4.7.8.7zM-1283.9 1879h-9.8c-.1 0-.2 0-.2-.2v-1.5c0-.5.4-1 .9-1h8.1c.6 0 1 .4 1 1v1.7z\"></path>\r\n <path d=\"M-1291.9 1886.9v-.6h6v.6h-6zM-1289.6 1888.2h-2.1c-.1 0-.2 0-.2-.2v-.3c0-.1 0-.2.2-.2h4.2c.3 0 .3 0 .3.3 0 .4 0 .4-.4.4h-2z\"></path>\r\n </g>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">Print</span>\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-print-share\">\r\n <span class=\"simplesocialtxt\">Print</span>\r\n </button>\r\n );\r\n }\r\n break;\r\n case \"tumblr\":\r\n if (\"simple-icons\" === theme) {\r\n output.push(\r\n <button class=\"ssb_tumblr-icon\">\r\n <span class=\"icon\">\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n width=\"12.6\"\r\n height=\"17.8\"\r\n x=\"0\"\r\n y=\"0\"\r\n enableBackground=\"new -299.1 388.3 12.6 17.8\"\r\n version=\"1.1\"\r\n viewBox=\"-299.1 388.3 12.6 17.8\"\r\n xmlSpace=\"preserve\"\r\n >\r\n <path\r\n fill=\"#FFF\"\r\n d=\"M-294.7 388.3h3.2v4.4h5v3.4h-5v5c0 1.2.6 1.8 1.8 2 1.1.1 2.1 0 3-.5.1 0 .1-.1.2-.1v2.5c0 .1 0 .2-.2.3-1.6.6-3.2.9-5 .8-1-.1-2-.3-2.9-.8-1.2-.7-1.8-1.7-1.8-3.1V396v-.3h-2.7v-.2-2.2c0-.1 0-.2.2-.2.3-.1.7-.2 1-.3 1.6-.6 2.6-1.8 3-3.5 0-.1.1-.3.1-.4 0-.3.1-.5.1-.6z\"\r\n ></path>\r\n </svg>\r\n </span>\r\n <span class=\"simplesocialtxt\">tumblr</span>\r\n {showCounter && <span class=\"ssb_counter\">5</span>}\r\n </button>\r\n );\r\n } else {\r\n output.push(\r\n <button class=\"simplesocial-tumblr-share\" style={buttonStyle}>\r\n <span class=\"simplesocialtxt\">Tumblr</span>\r\n {showCounter && (\r\n <span class=\"ssb_counter ssb_tumblr_counter\"> 5</span>\r\n )}\r\n </button>\r\n );\r\n }\r\n }\r\n });\r\n\r\n return <Fragment>{output}</Fragment>;\r\n }\r\n}\r\n\r\nexport default Buttons;\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/shortcode/buttons.js","/**\r\n * Block dependencies.\r\n */\r\nimport classnames from \"classnames\"\r\nimport twitterIcon from \"./icon\"\r\nimport Settings from \"./settings\";\r\nimport \"./editor.scss\"\r\n/**\r\n * Block libraries\r\n */\r\n\r\nconst { __ } = wp.i18n;\r\nconst { Fragment } = wp.element;\r\nconst {\r\n\tInspectorControls,\r\n\tBlockControls,\r\n\tBlockAlignmentToolbar,\r\n\tRichText\r\n} = wp.editor;\r\nconst { registerBlockType } = wp.blocks;\r\n\r\nexport default registerBlockType(\"ssb/click-to-tweet\", {\r\n\ttitle: __(\"Click to Tweet\"),\r\n\tdescription: __(\r\n\t\t\"SSB Click to tweet easy way to tweet your content.\"\r\n\t),\r\n\tcategory: \"common\",\r\n\ticon: twitterIcon,\r\n\tkeywords: [__(\"twiter\"), __(\"clicktotweet\"), __(\"ssb\")],\r\n\tattributes: {\r\n\t\ttheme: {\r\n\t\t\ttype: \"string\",\r\n\t\t\tdefault: \"twitter-round\"\r\n\t\t},\r\n\t\ttweet: {\r\n\t\t\ttype: \"string\",\r\n\t\t\tdefault: \"\"\r\n\t\t},\r\n\t\tfront: {\r\n\t\t\ttype: \"string\",\r\n\t\t\tdefault: \"\"\r\n\t\t},\r\n\t\tIncludePageLink: {\r\n\t\t\ttype: \"boolean\",\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\tIncludeVia: {\r\n\t\t\ttype: \"boolean\",\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\tshowTweetButton: {\r\n\t\t\ttype: \"boolean\",\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\talign: {\r\n\t\t\ttype: \"string\",\r\n\t\t\tdefault: \"\"\r\n\t\t},\r\n\t},\r\n\tsupports: {\r\n\t\t// Turn off ability to edit HTML of block content.\r\n\t\thtml: false,\r\n\t\t// Turn off reusable block feature.\r\n\t\treusable: false\r\n\r\n\t},\r\n\tgetEditWrapperProps({ align }) {\r\n\t\tif (\"center\" === align || \"wide\" === align || \"full\" === align) {\r\n\t\t\treturn { \"data-align\": align };\r\n\t\t}\r\n\t},\r\n\tedit: props => {\r\n\r\n\t\tconst { attributes: { front, theme, align, showTweetButton }, className, setAttributes } = props\r\n\t\tconst mainClasses = classnames(\r\n\t\t\tclassName,\r\n\t\t\t\"ssb-ctt-wrapper\",\r\n\t\t\t{ [`${theme}`]: theme },\r\n\t\t\t{ [`align${align}`]: align },\r\n\t\t\t{ [`hide-button`]: !showTweetButton },\r\n\t\t);\r\n\t\treturn (\r\n\t\t\t<Fragment>\r\n\t\t\t\t<BlockControls>\r\n\t\t\t\t\t<BlockAlignmentToolbar\r\n\t\t\t\t\t\tvalue={align}\r\n\t\t\t\t\t\tonChange={align => setAttributes({ align })}\r\n\t\t\t\t\t\tcontrols={[\"center\", \"wide\", \"full\"]}\r\n\t\t\t\t\t/>\r\n\t\t\t\t</BlockControls>\r\n\t\t\t\t<InspectorControls>\r\n\r\n\t\t\t\t\t<Settings {...props} />\r\n\r\n\t\t\t\t</InspectorControls>\r\n\t\t\t\t<div class={mainClasses} data-theme=\"twitter-round\">\r\n\t\t\t\t\t<div class=\"ssb-ctt\">\r\n\t\t\t\t\t\t<RichText\r\n\t\t\t\t\t\t\ttabName={'div'}\r\n\t\t\t\t\t\t\tclassName={\"ssb-ctt-text\"}\r\n\t\t\t\t\t\t\tvalue={front}\r\n\t\t\t\t\t\t\tonChange={front => setAttributes({ front })}\r\n\t\t\t\t\t\t\tplaceholder={__('Enter your content ...')}\r\n\t\t\t\t\t\t\tkeepPlaceholderOnFocus\r\n\t\t\t\t\t\t/>\r\n\r\n\t\t\t\t\t\t{showTweetButton &&\r\n\t\t\t\t\t\t\t<span class=\"ssb-ctt-btn\">\r\n\t\t\t\t\t\t\t\tClick to tweet\r\n {twitterIcon}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</Fragment>)\r\n\t},\r\n\tsave: props => {\r\n\t\treturn null;\r\n\t}\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/click-to-tweet/index.js"," const twitterIcon =<svg\r\nid=\"twitter_icon_ctt\"\r\nwidth=\"17.1\"\r\nheight=\"14\"\r\nx=\"0\"\r\ny=\"0\"\r\nversion=\"1.1\"\r\nviewBox=\"0 0 17.1 14\"\r\nxmlSpace=\"preserve\"\r\n>\r\n<path d=\"M8.7 1.7C9.4.5 10.8-.2 12.2 0c.9.1 1.5.6 2.2 1.1.7-.2 1.5-.5 2.2-.8-.3.7-.8 1.4-1.5 1.9.7-.1 1.3-.4 2-.5-.5.7-1.2 1.2-1.8 1.8.1 2.5-.7 5.1-2.4 7-1.7 2.2-4.7 3.5-7.5 3.5-1.9.1-3.8-.6-5.4-1.5 1.8.2 3.7-.4 5.1-1.5-1.5 0-2.7-1.1-3.2-2.4h1.5c-.8-.3-1.6-.9-2.2-1.8C.8 6.2.7 5.5.6 4.9c.5.2 1 .4 1.5.5C1.5 4.7.8 3.9.7 3c-.2-.8.1-1.6.4-2.4.7.7 1.4 1.5 2.2 2 1.5 1 3.2 1.6 5 1.7 0-.9-.1-1.8.4-2.6z\"></path>\r\n</svg>\r\n\r\nexport default twitterIcon\n\n\n// WEBPACK FOOTER //\n// blocks/click-to-tweet/icon.js","const { __ } = wp.i18n;\r\nconst { Component, Fragment } = wp.element;\r\n\r\nconst {\r\n PanelBody,\r\n PanelRow,\r\n SelectControl,\r\n TextareaControl,\r\n ToggleControl,\r\n TextControl\r\n} = wp.components;\r\nconst { AlignmentToolbar } = wp.editor;\r\nexport default class Settings extends Component {\r\n constructor() {\r\n super(...arguments);\r\n }\r\n render() {\r\n const {\r\n attributes: { theme, front, tweet, IncludePageLink, IncludeVia, showTweetButton },\r\n setAttributes\r\n } = this.props;\r\n return (\r\n <Fragment>\r\n <PanelBody\r\n title={__(\"Theme\")}\r\n initialOpen={true}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <SelectControl\r\n value={theme}\r\n options={[\r\n { label: \"Round\", value: \"twitter-round\" },\r\n { label: \"Dark\", value: \"twitter-dark\" },\r\n { label: \"Simple\", value: \"simple-twitter\" },\r\n { label: \"Side line\", value: \"twitter-side-line\" },\r\n { label: \"Own Style\", value: \"\" },\r\n ]}\r\n onChange={theme => setAttributes({ theme })}\r\n help={\"select the style for click to tweet \"}\r\n />\r\n\r\n\r\n </PanelRow>\r\n </PanelBody>\r\n <PanelBody\r\n title={__(\"Content\")}\r\n initialOpen={true}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <TextareaControl\r\n label={__(\"Quote Content\")}\r\n value={front}\r\n help={__(\"This text will be shown to the user.\")}\r\n onChange={front => setAttributes({ front })}\r\n />\r\n <TextareaControl\r\n label={__(\"Tweet Content\")}\r\n value={tweet}\r\n help={__(\"This text will be tweet . if empty Quote content will be used.\")}\r\n onChange={tweet => setAttributes({ tweet })}\r\n />\r\n </PanelRow>\r\n </PanelBody>\r\n\r\n <PanelBody\r\n title={__(\" Configuration\")}\r\n initialOpen={false}\r\n className={\"ssb_panel_wrapper\"}\r\n >\r\n <PanelRow>\r\n <ToggleControl\r\n label={__('Show Tweet Button')}\r\n checked={showTweetButton}\r\n onChange={showbtn => { setAttributes({ showTweetButton: !!showbtn }) }}\r\n />\r\n <ToggleControl\r\n label={__('Include Page/post Link')}\r\n checked={IncludePageLink}\r\n onChange={pageLink => { setAttributes({ IncludePageLink: !!pageLink }) }}\r\n help={__('\\n Link to this post will be appended to the Tweet. we have a filter if you want to modify it `ssb_ctt_url`.')}\r\n />\r\n <ToggleControl\r\n label={__('Include Via')}\r\n checked={IncludeVia}\r\n onChange={via => { setAttributes({ IncludeVia: !!via }) }}\r\n help={__('\\n Twitter username from SSB Settings Advanced tab will be appended to the end of the Tweet with the text “via @username”.')}\r\n />\r\n\r\n </PanelRow>\r\n </PanelBody>\r\n </Fragment>\r\n );\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// blocks/click-to-tweet/settings.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./blocks/click-to-tweet/editor.scss\n// module id = 96\n// module chunks = 0"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7DA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACfA;AACA;AACA;AACA;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACPA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACVA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACPA;;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;;;;;;;ACnDA;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;;;;;;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AChCA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACnBA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpEA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChBA;AACA;AACA;AACA;AACA;;;;;;;ACJA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AAAA;AAAA;AACA;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;;ACLA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AAMA;AAJA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AAEA;AACA;AACA;AAHA;AAMA;AACA;AACA;AAHA;AAMA;AACA;AACA;AAHA;AACA;AAMA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAzBA;AA8BA;AAAA;AACA;AAAA;AACA;AACA;AACA;AACA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAKA;AASA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAHA;AAKA;AACA;AACA;AAAA;AAAA;AACA;AAHA;AANA;AAYA;AAAA;AAAA;AACA;AADA;AAGA;AAAA;AAAA;AACA;AADA;AAhBA;AAqBA;AACA;AACA;AACA;AAzFA;;;;;;ACzCA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;;;;;;;ACHA;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;ACAA;AACA;AAAA;AAAA;AAQA;AALA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;;;AACA;AAAA;AACA;AADA;AAEA;AACA;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAIA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AASA;AAAA;AAAA;AAXA;AADA;AALA;AAqBA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AALA;AAOA;AAEA;AACA;AACA;AACA;AACA;AALA;AASA;AACA;AAGA;AACA;AACA;AACA;AACA;AARA;AAUA;AACA;AACA;AACA;AAIA;AAAA;AAAA;AAPA;AA5BA;AALA;AAtBA;AAoEA;;;;AA9EA;AACA;AADA;;;;;;ACXA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACTA;;;;;;ACAA;AACA;AACA;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACNA;AACA;;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACjCA;;;;;;;ACAA;AACA;AACA;;;;;;;ACFA;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACdA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;AClBA;;;;;;;ACAA;;;;;;;ACAA;;;;;;ACAA;AACA;;;;;;;ACDA;AACA;AACA;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACxBA;;;;;;ACAA;AACA;AACA;AACA;AACA;;;;;;;ACJA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACFA;;;AAGA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;;;AACA;AAAA;AACA;AADA;AAEA;AACA;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AACA;AACA;AACA;AACA;AAJA;AANA;AADA;AAeA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAjBA;AAoBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAHA;AAOA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAHA;AAFA;AADA;AAUA;AACA;AAAA;AAAA;AAAA;AAEA;AAAA;AAAA;AAAA;AAdA;AAkBA;AACA;AACA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAPA;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAAA;AAAA;AACA;AADA;AAVA;AADA;AAgBA;AAAA;AAAA;AAAA;AAAA;AAjBA;AAoBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAJA;AAMA;AACA;AACA;AAFA;AAPA;AANA;AADA;AAqBA;AAAA;AAAA;AAAA;AAAA;AAtBA;AAuBA;AAAA;AAAA;AAAA;AAAA;AAvBA;AA0BA;AACA;AACA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAPA;AAWA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AAXA;AADA;AAeA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAjBA;AAoBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAHA;AAOA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AAXA;AADA;AAeA;AAAA;AAAA;AAAA;AAAA;AAhBA;AAmBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAJA;AAMA;AAAA;AAAA;AAAA;AAAA;AACA;AAPA;AADA;AAWA;AAAA;AAAA;AAAA;AAAA;AAZA;AAeA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AAMA;AACA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AANA;AAQA;AAAA;AARA;AAWA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AACA;AACA;AACA;AAHA;AAVA;AADA;AAkBA;AAAA;AAAA;AAAA;AAAA;AAnBA;AAsBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAVA;AADA;AAcA;AAAA;AAAA;AAAA;AAAA;AAfA;AAkBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAAA;AAAA;AACA;AACA;AAFA;AAVA;AADA;AAiBA;AAAA;AAAA;AAAA;AAAA;AAlBA;AAqBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AADA;AAIA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAWA;AACA;AACA;AAFA;AAXA;AADA;AAkBA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AApBA;AAuBA;AACA;AACA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAAA;AAAA;AAAA;AAHA;AAOA;AAxYA;AA0YA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AACA;;;;AAhbA;AACA;AAkbA;;;;;;;;;;;;;;;;;AC3bA;;;AAGA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AAMA;AAJA;AACA;AACA;AACA;AAEA;AACA;AACA;AAAA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAIA;AACA;AACA;AAFA;AAzBA;AA8BA;AACA;AACA;AACA;AACA;AACA;AALA;AAOA;AAAA;AACA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAEA;AAOA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAHA;AADA;AAOA;AAAA;AAAA;AAEA;AAFA;AAKA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AANA;AASA;AACA;AAAA;AAAA;AAEA;AAFA;AAXA;AADA;AAbA;AAiCA;AACA;AACA;AACA;AAjGA;;;;;;;ACrBA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA;AAUA;AAVA;AACA;AAYA;;;;;;;;;;;;;;;;;;;;;;ACbA;AACA;AAAA;AAAA;AASA;AANA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAAA;;;AACA;AAAA;AACA;AADA;AAEA;AACA;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAIA;AACA;AAAA;AACA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AAOA;AAAA;AAAA;AACA;AAVA;AADA;AALA;AAsBA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAJA;AAMA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAJA;AAPA;AALA;AAqBA;AAAA;AAAA;AACA;AACA;AACA;AAHA;AAKA;AAAA;AAAA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAHA;AAKA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAJA;AAMA;AACA;AACA;AACA;AAAA;AAAA;AACA;AAJA;AAZA;AALA;AA5CA;AAwEA;;;;AAlFA;AACA;AADA;;;;;;ACZA;;;A","sourceRoot":""}
|
assets/js/blocks.frontend.js
CHANGED
@@ -60,12 +60,12 @@
|
|
60 |
/******/ __webpack_require__.p = "";
|
61 |
/******/
|
62 |
/******/ // Load entry module and return exports
|
63 |
-
/******/ return __webpack_require__(__webpack_require__.s =
|
64 |
/******/ })
|
65 |
/************************************************************************/
|
66 |
/******/ ({
|
67 |
|
68 |
-
/***/
|
69 |
/***/ (function(module, exports) {
|
70 |
|
71 |
console.log('frontend');
|
60 |
/******/ __webpack_require__.p = "";
|
61 |
/******/
|
62 |
/******/ // Load entry module and return exports
|
63 |
+
/******/ return __webpack_require__(__webpack_require__.s = 97);
|
64 |
/******/ })
|
65 |
/************************************************************************/
|
66 |
/******/ ({
|
67 |
|
68 |
+
/***/ 97:
|
69 |
/***/ (function(module, exports) {
|
70 |
|
71 |
console.log('frontend');
|
assets/js/blocks.frontend.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"./assets/js/blocks.frontend.js","sources":["webpack:///webpack/bootstrap
|
1 |
+
{"version":3,"file":"./assets/js/blocks.frontend.js","sources":["webpack:///webpack/bootstrap 313b63f2d1480143345d","webpack:///blocks/frontend.js"],"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// 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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 97);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 313b63f2d1480143345d","console.log('frontend');\n\n\n// WEBPACK FOOTER //\n// blocks/frontend.js"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7DA;;;;A","sourceRoot":""}
|
classes/ssb-admin.php
CHANGED
@@ -70,7 +70,10 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
|
|
70 |
wp_enqueue_script( 'ssb-blocks-editor-js', plugins_url( 'assets/js/blocks.editor.js', plugin_dir_path( __FILE__ ) ), $ssb_block_dependencies, SSB_VERSION );
|
71 |
wp_enqueue_style( 'ssb-blocks-editor-css', plugins_url( 'assets/css/blocks.editor.css', plugin_dir_path( __FILE__ ) ), array(), SSB_VERSION );
|
72 |
wp_enqueue_style( 'ssb-front-css', plugins_url( 'assets/css/front.css', plugin_dir_path( __FILE__ ) ), false, SSB_VERSION );
|
73 |
-
|
|
|
|
|
|
|
74 |
}
|
75 |
|
76 |
/**
|
70 |
wp_enqueue_script( 'ssb-blocks-editor-js', plugins_url( 'assets/js/blocks.editor.js', plugin_dir_path( __FILE__ ) ), $ssb_block_dependencies, SSB_VERSION );
|
71 |
wp_enqueue_style( 'ssb-blocks-editor-css', plugins_url( 'assets/css/blocks.editor.css', plugin_dir_path( __FILE__ ) ), array(), SSB_VERSION );
|
72 |
wp_enqueue_style( 'ssb-front-css', plugins_url( 'assets/css/front.css', plugin_dir_path( __FILE__ ) ), false, SSB_VERSION );
|
73 |
+
|
74 |
+
$is_pro = class_exists( 'Simple_Social_Buttons_Pro') ? true : false;
|
75 |
+
wp_localize_script( 'ssb-blocks-editor-js', 'SSB', array( 'plugin_url' => SSB_PLUGIN_URL, 'is_pro' => $is_pro ) );
|
76 |
+
|
77 |
}
|
78 |
|
79 |
/**
|
classes/ssb-settings-strucutre.php
CHANGED
@@ -101,7 +101,8 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
|
|
101 |
} else {
|
102 |
$callback = null;
|
103 |
}
|
104 |
-
|
|
|
105 |
add_settings_section( $section['id'], $section['title'], $callback, $section['id'] );
|
106 |
} else {
|
107 |
add_settings_section( $section['id'], $section['title'], $callback, 'ssb_networks' );
|
@@ -136,7 +137,7 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
|
|
136 |
'link' => isset( $option['link'] ) ? $option['link'] : '',
|
137 |
);
|
138 |
|
139 |
-
if ( 'ssb_advanced'
|
140 |
add_settings_field( "{$section}[{$name}]", $label, $callback, $section, $section, $args );
|
141 |
} else {
|
142 |
add_settings_field( "{$section}[{$name}]", $label, $callback, 'ssb_networks', $section, $args );
|
@@ -146,7 +147,7 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
|
|
146 |
|
147 |
// creates our settings in the options table
|
148 |
foreach ( $this->settings_sections as $section ) {
|
149 |
-
if (
|
150 |
register_setting( $section['id'], $section['id'], array( $this, 'sanitize_options' ) );
|
151 |
} else {
|
152 |
register_setting( 'ssb_networks', $section['id'], array( $this, 'sanitize_options' ) );
|
@@ -836,11 +837,20 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
|
|
836 |
'id' => 'ssb_settings',
|
837 |
'title' => '<span class="dashicons dashicons-admin-generic"></span>Settings',
|
838 |
),
|
839 |
-
array(
|
840 |
-
'id' => 'ssb_advanced',
|
841 |
-
'title' => '<span class="dashicons dashicons-editor-code"></span>Advanced',
|
842 |
-
),
|
843 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
844 |
if ( ! class_exists( 'Simple_Social_Buttons_Pro' ) ) {
|
845 |
$tabs[] = array(
|
846 |
'id' => 'ssb_go_pro',
|
@@ -880,13 +890,27 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
|
|
880 |
echo '</div>';
|
881 |
echo '</div>';
|
882 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
883 |
echo '<div class="ssb_settings_container ssb_advanced-tab group" id="ssb_advanced-tab-content">';
|
884 |
echo '<div class="metabox-holder">';
|
885 |
echo '<div id="poststuff">';
|
886 |
echo '<form method="post" action="options.php">';
|
887 |
$this->do_settings_sections( 'ssb_advanced' );
|
888 |
-
|
889 |
-
|
|
|
890 |
submit_button();
|
891 |
echo '</form>';
|
892 |
echo '</div>';
|
@@ -913,6 +937,35 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
|
|
913 |
|
914 |
}
|
915 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
916 |
/**
|
917 |
* Prints out all settings sections added to a particular settings page
|
918 |
*
|
101 |
} else {
|
102 |
$callback = null;
|
103 |
}
|
104 |
+
// 'ssb_advanced' == $section['id']
|
105 |
+
if ( in_array( $section['id'], array( 'ssb_advanced', 'ssb_click_to_tweet' ) ) ) {
|
106 |
add_settings_section( $section['id'], $section['title'], $callback, $section['id'] );
|
107 |
} else {
|
108 |
add_settings_section( $section['id'], $section['title'], $callback, 'ssb_networks' );
|
137 |
'link' => isset( $option['link'] ) ? $option['link'] : '',
|
138 |
);
|
139 |
|
140 |
+
if ( in_array( $section, array( 'ssb_advanced', 'ssb_click_to_tweet' ) ) ) {
|
141 |
add_settings_field( "{$section}[{$name}]", $label, $callback, $section, $section, $args );
|
142 |
} else {
|
143 |
add_settings_field( "{$section}[{$name}]", $label, $callback, 'ssb_networks', $section, $args );
|
147 |
|
148 |
// creates our settings in the options table
|
149 |
foreach ( $this->settings_sections as $section ) {
|
150 |
+
if ( in_array( $section['id'], array( 'ssb_advanced', 'ssb_click_to_tweet' ) ) ) {
|
151 |
register_setting( $section['id'], $section['id'], array( $this, 'sanitize_options' ) );
|
152 |
} else {
|
153 |
register_setting( 'ssb_networks', $section['id'], array( $this, 'sanitize_options' ) );
|
837 |
'id' => 'ssb_settings',
|
838 |
'title' => '<span class="dashicons dashicons-admin-generic"></span>Settings',
|
839 |
),
|
|
|
|
|
|
|
|
|
840 |
);
|
841 |
+
|
842 |
+
if( class_exists( 'Simple_Social_Buttons_Pro') ) {
|
843 |
+
$tabs[] = array(
|
844 |
+
'id' => 'ssb_click_to_tweet',
|
845 |
+
'title' => '<span class="dashicons dashicons-twitter"></span>Click To Tweet',
|
846 |
+
);
|
847 |
+
}
|
848 |
+
|
849 |
+
$tabs[] = array(
|
850 |
+
'id' => 'ssb_advanced',
|
851 |
+
'title' => '<span class="dashicons dashicons-editor-code"></span>Advanced',
|
852 |
+
);
|
853 |
+
|
854 |
if ( ! class_exists( 'Simple_Social_Buttons_Pro' ) ) {
|
855 |
$tabs[] = array(
|
856 |
'id' => 'ssb_go_pro',
|
890 |
echo '</div>';
|
891 |
echo '</div>';
|
892 |
|
893 |
+
echo '<div class="ssb_settings_container ssb_click_to_tweet-tab group" id="ssb_click_to_tweet-tab-content">';
|
894 |
+
echo '<div class="metabox-holder">';
|
895 |
+
echo '<div id="poststuff">';
|
896 |
+
echo '<form method="post" action="options.php">';
|
897 |
+
$this->do_settings_sections( 'ssb_click_to_tweet' );
|
898 |
+
settings_fields( 'ssb_click_to_tweet' );
|
899 |
+
$this->render_click_to_tweet();
|
900 |
+
submit_button();
|
901 |
+
echo '</form>';
|
902 |
+
echo '</div>';
|
903 |
+
echo '</div>';
|
904 |
+
echo '</div>';
|
905 |
+
|
906 |
echo '<div class="ssb_settings_container ssb_advanced-tab group" id="ssb_advanced-tab-content">';
|
907 |
echo '<div class="metabox-holder">';
|
908 |
echo '<div id="poststuff">';
|
909 |
echo '<form method="post" action="options.php">';
|
910 |
$this->do_settings_sections( 'ssb_advanced' );
|
911 |
+
settings_fields( 'ssb_advanced' );
|
912 |
+
// $this->render_instruction();
|
913 |
+
// $this->render_click_to_tweet();
|
914 |
submit_button();
|
915 |
echo '</form>';
|
916 |
echo '</div>';
|
937 |
|
938 |
}
|
939 |
|
940 |
+
|
941 |
+
function render_click_to_tweet() {
|
942 |
+
?>
|
943 |
+
<div class="postbox" id="ssb_click_to_tweet_design">
|
944 |
+
|
945 |
+
<div class="ssb_ctt_desgin">
|
946 |
+
<div class="ssb-ctt-wrapper twitter-round" data-theme="twitter-round">
|
947 |
+
<a data-href="https://twitter.com/share?text=Social media is about the people! Not about your business. Provide for the people and the people will provide you.&url=https://simplesocialbuttons.com&via=wpbrigade" rel="nofollow" onclick="javascript:window.open(this.dataset.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;">
|
948 |
+
<span class="ssb-ctt">
|
949 |
+
<span class="ssb-ctt-text"><?php echo __( 'Social media is about the people! Not about your business. Provide for the people and the people will provide you.' ); ?></span>
|
950 |
+
<span class="ssb-ctt-btn">
|
951 |
+
Click to tweet
|
952 |
+
<svg version="1.1" id="twitter_icon_ctt" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="17.1px" height="14px" viewBox="0 0 17.1 14" enable-background="new 0 0 17.1 14" xml:space="preserve">
|
953 |
+
<g>
|
954 |
+
<path fill="" d="M8.7,1.7c0.7-1.2,2.1-1.9,3.5-1.7c0.9,0.1,1.5,0.6,2.2,1.1c0.7-0.2,1.5-0.5,2.2-0.8
|
955 |
+
c-0.3,0.7-0.8,1.4-1.5,1.9c0.7-0.1,1.3-0.4,2-0.5c-0.5,0.7-1.2,1.2-1.8,1.8c0.1,2.5-0.7,5.1-2.4,7C11.2,12.7,8.2,14,5.4,14
|
956 |
+
c-1.9,0.1-3.8-0.6-5.4-1.5c1.8,0.2,3.7-0.4,5.1-1.5c-1.5,0-2.7-1.1-3.2-2.4c0.5,0,1,0,1.5,0C2.6,8.3,1.8,7.7,1.2,6.8
|
957 |
+
C0.8,6.2,0.7,5.5,0.6,4.9c0.5,0.2,1,0.4,1.5,0.5C1.5,4.7,0.8,3.9,0.7,3C0.5,2.2,0.8,1.4,1.1,0.6c0.7,0.7,1.4,1.5,2.2,2
|
958 |
+
c1.5,1,3.2,1.6,5,1.7C8.3,3.4,8.2,2.5,8.7,1.7z"></path>
|
959 |
+
</g>
|
960 |
+
</svg>
|
961 |
+
</span>
|
962 |
+
</span>
|
963 |
+
</a>
|
964 |
+
</div>
|
965 |
+
</div>
|
966 |
+
</div>
|
967 |
+
<?php
|
968 |
+
}
|
969 |
/**
|
970 |
* Prints out all settings sections added to a particular settings page
|
971 |
*
|
classes/ssb-settings.php
CHANGED
@@ -419,6 +419,12 @@ class Ssb_Settings {
|
|
419 |
'type' => 'ssb_checkbox',
|
420 |
'label' => __( 'Http/Https counts resolve:', 'simple-social-buttons' ),
|
421 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
array(
|
423 |
'name' => 'ssb_uninstall_data',
|
424 |
'type' => 'ssb_checkbox',
|
@@ -498,8 +504,11 @@ class Ssb_Settings {
|
|
498 |
$html .= '<h2>Help & Troubleshooting</h2>';
|
499 |
$html .= sprintf( __( 'Free support is available on the %1$s plugin support forums%2$s.', 'simple-social-buttons' ), '<a href="https://wordpress.org/support/plugin/simple-social-buttons" target="_blank">', '</a>' );
|
500 |
$html .= '<br /><br />';
|
|
|
501 |
$html .= sprintf( __( 'For premium features, add-ons and priority email support, %1$s upgrade to pro%2$s.', 'simple-social-buttons' ), '<a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=help-page&utm_campaign=pro-upgrade" target="_blank">', '</a>' );
|
502 |
$html .= '<br /><br />';
|
|
|
|
|
503 |
$html .= 'Found a bug or have a feature request? Please submit an issue <a href="https://wpbrigade.com/contact/" target="_blank">here</a>!';
|
504 |
$html .= '<pre><textarea rows="25" cols="75" readonly="readonly">';
|
505 |
$html .= Ssb_Logs_Info::get_sysinfo();
|
419 |
'type' => 'ssb_checkbox',
|
420 |
'label' => __( 'Http/Https counts resolve:', 'simple-social-buttons' ),
|
421 |
),
|
422 |
+
array(
|
423 |
+
'name' => 'ssb_og_tags',
|
424 |
+
'type' => 'ssb_checkbox',
|
425 |
+
'label' => __( 'Open Graph Tags', 'simple-social-buttons' ),
|
426 |
+
'default' => '1',
|
427 |
+
),
|
428 |
array(
|
429 |
'name' => 'ssb_uninstall_data',
|
430 |
'type' => 'ssb_checkbox',
|
504 |
$html .= '<h2>Help & Troubleshooting</h2>';
|
505 |
$html .= sprintf( __( 'Free support is available on the %1$s plugin support forums%2$s.', 'simple-social-buttons' ), '<a href="https://wordpress.org/support/plugin/simple-social-buttons" target="_blank">', '</a>' );
|
506 |
$html .= '<br /><br />';
|
507 |
+
if ( ! class_exists( 'Simple_Social_Buttons_Pro' ) ) {
|
508 |
$html .= sprintf( __( 'For premium features, add-ons and priority email support, %1$s upgrade to pro%2$s.', 'simple-social-buttons' ), '<a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=help-page&utm_campaign=pro-upgrade" target="_blank">', '</a>' );
|
509 |
$html .= '<br /><br />';
|
510 |
+
}
|
511 |
+
|
512 |
$html .= 'Found a bug or have a feature request? Please submit an issue <a href="https://wpbrigade.com/contact/" target="_blank">here</a>!';
|
513 |
$html .= '<pre><textarea rows="25" cols="75" readonly="readonly">';
|
514 |
$html .= Ssb_Logs_Info::get_sysinfo();
|
classes/ssb-widget.php
CHANGED
@@ -43,7 +43,7 @@ class Ssb_Follower_Widget extends WP_Widget {
|
|
43 |
extract( $args );
|
44 |
$display = '1';
|
45 |
|
46 |
-
$widget_title = apply_filters( '
|
47 |
|
48 |
$show_facebook = $instance['show_facebook'];
|
49 |
$show_twitter = $instance['show_twitter'];
|
43 |
extract( $args );
|
44 |
$display = '1';
|
45 |
|
46 |
+
$widget_title = apply_filters( 'ssb_follow_widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance );
|
47 |
|
48 |
$show_facebook = $instance['show_facebook'];
|
49 |
$show_twitter = $instance['show_twitter'];
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: hiddenpearls, WPBrigade, desideveloper
|
|
3 |
Donate link: https://simplesocialbuttons.com/
|
4 |
Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, twitter, pinterest, plus one
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.3
|
7 |
-
Stable tag: 3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -147,11 +147,19 @@ like_button_size = small(default), large
|
|
147 |
|
148 |
== Upgrade Notice ==
|
149 |
|
150 |
-
= 3.0
|
151 |
-
* Please upgrade immediately. Many enhancements, new features and
|
152 |
|
153 |
== Changelog ==
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
= 3.0.1 - 2019-12-09 =
|
156 |
* Enhancement: Speed Optimized and code refactored.
|
157 |
|
@@ -162,7 +170,7 @@ like_button_size = small(default), large
|
|
162 |
* New Feature: Custom JS code input field added.
|
163 |
* Enhancement: Show and hide sidebar option at front end.
|
164 |
* Enhancement: Default fan count display if API is not available in Social follow widget.
|
165 |
-
* Enhancement: New attributes to display total counts in
|
166 |
|
167 |
= 2.1.4 - 2019-10-21 =
|
168 |
* Enhancement: `ssb_buttons_output` filter added to add own button.
|
@@ -197,7 +205,7 @@ like_button_size = small(default), large
|
|
197 |
= 2.0.21 - 2019-02-04 =
|
198 |
* New Feature: Twitter share count tracking added.
|
199 |
* Compatibility: All in One SEO Plugin Compatibility added.
|
200 |
-
* Compatibility: Twenty
|
201 |
* Bug Fix: 404 page `Unexpected token ;` js error fixed.
|
202 |
* Bug Fix: Ajax request call on every page.
|
203 |
|
3 |
Donate link: https://simplesocialbuttons.com/
|
4 |
Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, twitter, pinterest, plus one
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.3.2
|
7 |
+
Stable tag: 3.1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
147 |
|
148 |
== Upgrade Notice ==
|
149 |
|
150 |
+
= 3.1.0 =
|
151 |
+
* Please upgrade immediately. Many enhancements, new features and bug fixes.
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 3.1.0 - 2020-02-06 =
|
156 |
+
* New Feature: OG Tags setting.
|
157 |
+
* Enhancement: Multi site compatibility.
|
158 |
+
* Enhancement: `ssb_network_counts` , `ssb_active_network`, `ssb_position_style` and other hooks added to control network on each position.
|
159 |
+
* Bug fix: Twenty Twenty theme linked network icon fix.
|
160 |
+
* Bug fix: Pro message on help page if pro already installed.
|
161 |
+
* Bug fix: Woo product short description with image og issue fix.
|
162 |
+
|
163 |
= 3.0.1 - 2019-12-09 =
|
164 |
* Enhancement: Speed Optimized and code refactored.
|
165 |
|
170 |
* New Feature: Custom JS code input field added.
|
171 |
* Enhancement: Show and hide sidebar option at front end.
|
172 |
* Enhancement: Default fan count display if API is not available in Social follow widget.
|
173 |
+
* Enhancement: New attributes to display total counts in short code.
|
174 |
|
175 |
= 2.1.4 - 2019-10-21 =
|
176 |
* Enhancement: `ssb_buttons_output` filter added to add own button.
|
205 |
= 2.0.21 - 2019-02-04 =
|
206 |
* New Feature: Twitter share count tracking added.
|
207 |
* Compatibility: All in One SEO Plugin Compatibility added.
|
208 |
+
* Compatibility: Twenty Nineteen theme Compatibility added.
|
209 |
* Bug Fix: 404 page `Unexpected token ;` js error fixed.
|
210 |
* Bug Fix: Ajax request call on every page.
|
211 |
|
simple-social-buttons.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Simple Social Buttons
|
4 |
* Plugin URI: https://simplesocialbuttons.com/
|
5 |
* Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
|
6 |
-
* Version: 3.0
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://www.WPBrigade.com/
|
9 |
* Text Domain: simple-social-buttons
|
@@ -44,7 +44,7 @@ class SimpleSocialButtonsPR {
|
|
44 |
* @isnce
|
45 |
* @var string
|
46 |
*/
|
47 |
-
public $pluginVersion = '3.0
|
48 |
|
49 |
/**
|
50 |
* Plugin Prefix
|
@@ -569,6 +569,32 @@ class SimpleSocialButtonsPR {
|
|
569 |
*/
|
570 |
public function plugin_install() {
|
571 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
572 |
if ( ! get_option( 'ssb_networks' ) ) {
|
573 |
$_default = array(
|
574 |
'icon_selection' => 'fbshare,twitter,linkedin,fblike',
|
@@ -602,11 +628,14 @@ class SimpleSocialButtonsPR {
|
|
602 |
update_option( 'ssb_inline', $_default );
|
603 |
}
|
604 |
|
605 |
-
|
606 |
-
|
|
|
|
|
|
|
|
|
607 |
}
|
608 |
|
609 |
-
|
610 |
public function _get_settings( $section, $value, $default = false ) {
|
611 |
$section = $section . '_option';
|
612 |
$_arr = $this->$section;
|
@@ -724,7 +753,12 @@ class SimpleSocialButtonsPR {
|
|
724 |
$extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
|
725 |
|
726 |
$_selected_network = apply_filters( 'ssb_inline_social_networks', $this->selected_networks );
|
727 |
-
|
|
|
|
|
|
|
|
|
|
|
728 |
|
729 |
$sharing_text = '';
|
730 |
|
@@ -835,6 +869,26 @@ class SimpleSocialButtonsPR {
|
|
835 |
$share_counts = ssb_fetch_cached_counts( array_flip( $arrButtons ), $post_id );
|
836 |
}
|
837 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
838 |
$arrButtonsCode = array();
|
839 |
foreach ( $arrButtons as $button_name => $button_sort ) {
|
840 |
switch ( $button_name ) {
|
@@ -1084,7 +1138,21 @@ class SimpleSocialButtonsPR {
|
|
1084 |
$class = $extra_data;
|
1085 |
}
|
1086 |
|
1087 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1088 |
$ssb_buttonscode .= implode( "\n", $arrButtonsCode ) . "\n";
|
1089 |
$ssb_buttonscode .= '</div>' . "\n";
|
1090 |
}
|
@@ -1163,7 +1231,11 @@ class SimpleSocialButtonsPR {
|
|
1163 |
|
1164 |
$class .= ' simplesocialbuttons-slide-' . $this->_get_settings( 'sidebar', 'animation', 'no-animation' );
|
1165 |
$_selected_network = apply_filters( 'ssb_sidebar_social_networks', $this->selected_networks );
|
1166 |
-
|
|
|
|
|
|
|
|
|
1167 |
}
|
1168 |
}
|
1169 |
}
|
@@ -1366,12 +1438,13 @@ class SimpleSocialButtonsPR {
|
|
1366 |
|
1367 |
$extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
|
1368 |
|
1369 |
-
|
1370 |
-
$extra_option = array(
|
1371 |
'class' => $extra_class,
|
1372 |
'theme' => $theme,
|
1373 |
'like-button-size' => $like_button_size,
|
|
|
1374 |
);
|
|
|
1375 |
$ssb_buttons_code = $this->generate_buttons_code( $selected_theme['order'], $show_count, $show_total, $extra_option );
|
1376 |
// }
|
1377 |
|
@@ -1379,363 +1452,21 @@ class SimpleSocialButtonsPR {
|
|
1379 |
|
1380 |
}
|
1381 |
|
1382 |
-
/**
|
1383 |
-
* Generate buttons html code with specified order for short code
|
1384 |
-
*
|
1385 |
-
* @param mixed $order - order of social buttons
|
1386 |
-
*
|
1387 |
-
* @access public
|
1388 |
-
* @since 2.0.2
|
1389 |
-
* @return mixed
|
1390 |
-
*/
|
1391 |
-
public function generate_buttons_short_code( $short_code_theme, $like_button_size, $short_code_order, $order = null, $show_count = false, $show_total = false, $extra_class = '' ) {
|
1392 |
-
|
1393 |
-
// googleplus,fbshare,twitter,pinterest,whatsapp,viber,reddit,linkedin,messenger,email,print
|
1394 |
-
// define empty buttons code to use
|
1395 |
-
$ssb_buttonscode = '';
|
1396 |
-
|
1397 |
-
// get post permalink and title
|
1398 |
-
$permalink = get_permalink();
|
1399 |
-
$title = urlencode( get_the_title() );
|
1400 |
-
$post_id = get_the_id();
|
1401 |
-
|
1402 |
-
if ( false == $permalink ) {
|
1403 |
-
$permalink = get_site_url();
|
1404 |
-
$title = get_bloginfo( 'name' );
|
1405 |
-
$post_id = 0;
|
1406 |
-
}
|
1407 |
-
|
1408 |
-
// Sorting the buttons
|
1409 |
-
$arrButtons = array();
|
1410 |
-
if ( $short_code_order == null ) {
|
1411 |
-
|
1412 |
-
foreach ( $this->arrKnownButtons as $button_name ) {
|
1413 |
-
if ( ! empty( $order[ $button_name ] ) && (int) $order[ $button_name ] != 0 ) {
|
1414 |
-
|
1415 |
-
$arrButtons[ $button_name ] = $order[ $button_name ];
|
1416 |
-
}
|
1417 |
-
}
|
1418 |
-
} else {
|
1419 |
-
|
1420 |
-
foreach ( $this->arrKnownButtons as $button_name ) {
|
1421 |
-
if ( ! empty( $short_code_order[ $button_name ] ) && (int) $short_code_order[ $button_name ] != 0 ) {
|
1422 |
-
$arrButtons[ $button_name ] = $short_code_order[ $button_name ];
|
1423 |
-
}
|
1424 |
-
}
|
1425 |
-
}
|
1426 |
-
// echo '<pre>'; print_r( $arrButtons ); echo '</pre>';
|
1427 |
-
@asort( $arrButtons );
|
1428 |
-
|
1429 |
-
// add total share index in array.
|
1430 |
-
if ( $show_total ) {
|
1431 |
-
$arrButtons['totalshare'] = '100';
|
1432 |
-
}
|
1433 |
-
|
1434 |
-
$non_exist_post_record = false;
|
1435 |
-
// special case if post id not exist for example short code run on widget out side the loop in archive page and old counts not exsist
|
1436 |
-
if ( 0 == $post_id ) {
|
1437 |
-
$non_exist_post_record = get_option( 'ssb_not_exist_post_old_counts' );
|
1438 |
-
$non_exist_post_record = true;
|
1439 |
-
}
|
1440 |
-
|
1441 |
-
// Reset the cache timestamp if needed
|
1442 |
-
// if false fetch the new share counts.
|
1443 |
-
if ( ( isset( $this->settings['cache'] ) && $this->settings['cache'] == 'off' ) || ( $non_exist_post_record ) ) {
|
1444 |
-
|
1445 |
-
$_share_links = array();
|
1446 |
-
$_alt_share_links = array();
|
1447 |
-
foreach ( $arrButtons as $social_name => $priority ) {
|
1448 |
-
if ( is_network_has_counts( $social_name ) ) {
|
1449 |
-
continue;
|
1450 |
-
}
|
1451 |
-
$_share_links[ $social_name ] = call_user_func( 'ssb_' . $social_name . '_generate_link', $permalink );
|
1452 |
-
|
1453 |
-
}
|
1454 |
-
$_alt_share_links = $this->http_or_https_link_generate( $permalink );
|
1455 |
-
$result = ssb_fetch_shares_via_curl_multi( array_filter( $_share_links ) );
|
1456 |
-
$share_counts = ssb_fetch_fresh_counts( $result, $post_id, $_alt_share_links );
|
1457 |
-
// update_post_meta( $post_id,'ssb_cache_timestamp',floor( ( ( date( 'U' ) / 60) / 60 ) ) );
|
1458 |
-
} else {
|
1459 |
-
$share_counts = ssb_fetch_cached_counts( array_flip( $arrButtons ), $post_id );
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
$arrButtonsCode = array();
|
1463 |
-
foreach ( $arrButtons as $button_name => $button_sort ) {
|
1464 |
-
switch ( $button_name ) {
|
1465 |
-
|
1466 |
-
case 'fbshare':
|
1467 |
-
$fbshare_share = $share_counts['fbshare'] ? $share_counts['fbshare'] : 0;
|
1468 |
-
|
1469 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1470 |
-
$_html = ' <button class="ssb_fbshare-icon" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
|
1471 |
-
<span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="_1pbq" color="#ffffff"><path fill="#ffffff" fill-rule="evenodd" class="icon" d="M8 14H3.667C2.733 13.9 2 13.167 2 12.233V3.667A1.65 1.65 0 0 1 3.667 2h8.666A1.65 1.65 0 0 1 14 3.667v8.566c0 .934-.733 1.667-1.667 1.767H10v-3.967h1.3l.7-2.066h-2V6.933c0-.466.167-.9.867-.9H12v-1.8c.033 0-.933-.266-1.533-.266-1.267 0-2.434.7-2.467 2.133v1.867H6v2.066h2V14z"></path></svg></span>
|
1472 |
-
<span class="simplesocialtxt">Share </span>';
|
1473 |
-
|
1474 |
-
if ( $show_count ) {
|
1475 |
-
$_html .= ' <span class="ssb_counter">' . $fbshare_share . '</span>';
|
1476 |
-
|
1477 |
-
}
|
1478 |
-
|
1479 |
-
$_html .= ' </button>';
|
1480 |
-
} else {
|
1481 |
-
|
1482 |
-
$_html = '<button class="simplesocial-fb-share" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Facebook </span> ';
|
1483 |
-
|
1484 |
-
if ( $show_count ) {
|
1485 |
-
$_html .= '<span class="ssb_counter ssb_fbshare_counter">' . $fbshare_share . '</span>';
|
1486 |
-
}
|
1487 |
-
$_html .= '</button>';
|
1488 |
-
}
|
1489 |
-
|
1490 |
-
$arrButtonsCode[] = $_html;
|
1491 |
-
|
1492 |
-
break;
|
1493 |
-
case 'twitter':
|
1494 |
-
$twitter_share = $share_counts['twitter'] ? $share_counts['twitter'] : 0;
|
1495 |
-
$via = ! empty( $this->extra_option['twitter_handle'] ) ? '&via=' . $this->extra_option['twitter_handle'] : '';
|
1496 |
-
|
1497 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1498 |
-
|
1499 |
-
$_html = '<button class="ssb_tweet-icon" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
|
1500 |
-
<span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72"><path fill="none" d="M0 0h72v72H0z"/><path class="icon" fill="#fff" d="M68.812 15.14c-2.348 1.04-4.87 1.744-7.52 2.06 2.704-1.62 4.78-4.186 5.757-7.243-2.53 1.5-5.33 2.592-8.314 3.176C56.35 10.59 52.948 9 49.182 9c-7.23 0-13.092 5.86-13.092 13.093 0 1.026.118 2.02.338 2.98C25.543 24.527 15.9 19.318 9.44 11.396c-1.125 1.936-1.77 4.184-1.77 6.58 0 4.543 2.312 8.552 5.824 10.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163 0 6.345 4.513 11.638 10.504 12.84-1.1.298-2.256.457-3.45.457-.845 0-1.666-.078-2.464-.23 1.667 5.2 6.5 8.985 12.23 9.09-4.482 3.51-10.13 5.605-16.26 5.605-1.055 0-2.096-.06-3.122-.184 5.794 3.717 12.676 5.882 20.067 5.882 24.083 0 37.25-19.95 37.25-37.25 0-.565-.013-1.133-.038-1.693 2.558-1.847 4.778-4.15 6.532-6.774z"/></svg></span>';
|
1501 |
-
|
1502 |
-
if ( $show_count ) {
|
1503 |
-
$_html .= '<span class="simplesocialtxt">Tweet ' . $twitter_share . '</span>';
|
1504 |
-
} else {
|
1505 |
-
$_html .= '<span class="simplesocialtxt">Tweet </span>';
|
1506 |
-
|
1507 |
-
}
|
1508 |
-
|
1509 |
-
$_html .= '</button>';
|
1510 |
-
|
1511 |
-
} else {
|
1512 |
-
|
1513 |
-
$_html = '<button class="simplesocial-twt-share" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Twitter</span> ';
|
1514 |
-
|
1515 |
-
if ( $show_count ) {
|
1516 |
-
$_html .= '<span class="ssb_counter ssb_twitter_counter">' . $twitter_share . '</span>';
|
1517 |
-
}
|
1518 |
-
$_html .= '</button>';
|
1519 |
-
}
|
1520 |
-
|
1521 |
-
$arrButtonsCode[] = $_html;
|
1522 |
-
|
1523 |
-
break;
|
1524 |
-
case 'linkedin':
|
1525 |
-
// $linkedin_share = $share_counts['linkedin'] ? $share_counts['linkedin'] : 0;
|
1526 |
-
|
1527 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1528 |
-
|
1529 |
-
$_html = '<button class="ssb_linkedin-icon" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" >
|
1530 |
-
<span class="icon">
|
1531 |
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="15px" height="14.1px" viewBox="-301.4 387.5 15 14.1" enable-background="new -301.4 387.5 15 14.1" xml:space="preserve"> <g id="XMLID_398_"> <path id="XMLID_399_" fill="#FFFFFF" d="M-296.2,401.6c0-3.2,0-6.3,0-9.5h0.1c1,0,2,0,2.9,0c0.1,0,0.1,0,0.1,0.1c0,0.4,0,0.8,0,1.2 c0.1-0.1,0.2-0.3,0.3-0.4c0.5-0.7,1.2-1,2.1-1.1c0.8-0.1,1.5,0,2.2,0.3c0.7,0.4,1.2,0.8,1.5,1.4c0.4,0.8,0.6,1.7,0.6,2.5 c0,1.8,0,3.6,0,5.4v0.1c-1.1,0-2.1,0-3.2,0c0-0.1,0-0.1,0-0.2c0-1.6,0-3.2,0-4.8c0-0.4,0-0.8-0.2-1.2c-0.2-0.7-0.8-1-1.6-1 c-0.8,0.1-1.3,0.5-1.6,1.2c-0.1,0.2-0.1,0.5-0.1,0.8c0,1.7,0,3.4,0,5.1c0,0.2,0,0.2-0.2,0.2c-1,0-1.9,0-2.9,0 C-296.1,401.6-296.2,401.6-296.2,401.6z"/> <path id="XMLID_400_" fill="#FFFFFF" d="M-298,401.6L-298,401.6c-1.1,0-2.1,0-3,0c-0.1,0-0.1,0-0.1-0.1c0-3.1,0-6.1,0-9.2 c0-0.1,0-0.1,0.1-0.1c1,0,2,0,2.9,0h0.1C-298,395.3-298,398.5-298,401.6z"/> <path id="XMLID_401_" fill="#FFFFFF" d="M-299.6,390.9c-0.7-0.1-1.2-0.3-1.6-0.8c-0.5-0.8-0.2-2.1,1-2.4c0.6-0.2,1.2-0.1,1.8,0.2 c0.5,0.4,0.7,0.9,0.6,1.5c-0.1,0.7-0.5,1.1-1.1,1.3C-299.1,390.8-299.4,390.8-299.6,390.9L-299.6,390.9z"/></g></svg> </span>
|
1532 |
-
<span class="simplesocialtxt">Share</span>';
|
1533 |
-
|
1534 |
-
// if ( $show_count ) {
|
1535 |
-
// $_html .= ' <span class="ssb_counter">' . $linkedin_share . '</span>';
|
1536 |
-
// }
|
1537 |
-
$_html .= ' </button>';
|
1538 |
-
} else {
|
1539 |
-
|
1540 |
-
$_html = '<button target="popup" class="simplesocial-linkedin-share" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">LinkedIn</span>';
|
1541 |
-
|
1542 |
-
// if ( $show_count ) {
|
1543 |
-
// $_html .= '<span class="ssb_counter ssb_linkedin_counter">' . $linkedin_share . '</span>';
|
1544 |
-
// }
|
1545 |
-
$_html .= '</button>';
|
1546 |
-
}
|
1547 |
-
|
1548 |
-
$arrButtonsCode[] = $_html;
|
1549 |
-
|
1550 |
-
break;
|
1551 |
-
case 'pinterest':
|
1552 |
-
$pinterest_share = $share_counts['pinterest'] ? $share_counts['pinterest'] : 0;
|
1553 |
-
|
1554 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1555 |
-
|
1556 |
-
$_html = ' <button class="ssb_pinterest-icon" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;">
|
1557 |
-
<span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" height="30px" width="30px" viewBox="-1 -1 31 31"><g><path d="M29.449,14.662 C29.449,22.722 22.868,29.256 14.75,29.256 C6.632,29.256 0.051,22.722 0.051,14.662 C0.051,6.601 6.632,0.067 14.75,0.067 C22.868,0.067 29.449,6.601 29.449,14.662" fill="#fff" stroke="#fff" stroke-width="1"></path><path d="M14.733,1.686 C7.516,1.686 1.665,7.495 1.665,14.662 C1.665,20.159 5.109,24.854 9.97,26.744 C9.856,25.718 9.753,24.143 10.016,23.022 C10.253,22.01 11.548,16.572 11.548,16.572 C11.548,16.572 11.157,15.795 11.157,14.646 C11.157,12.842 12.211,11.495 13.522,11.495 C14.637,11.495 15.175,12.326 15.175,13.323 C15.175,14.436 14.462,16.1 14.093,17.643 C13.785,18.935 14.745,19.988 16.028,19.988 C18.351,19.988 20.136,17.556 20.136,14.046 C20.136,10.939 17.888,8.767 14.678,8.767 C10.959,8.767 8.777,11.536 8.777,14.398 C8.777,15.513 9.21,16.709 9.749,17.359 C9.856,17.488 9.872,17.6 9.84,17.731 C9.741,18.141 9.52,19.023 9.477,19.203 C9.42,19.44 9.288,19.491 9.04,19.376 C7.408,18.622 6.387,16.252 6.387,14.349 C6.387,10.256 9.383,6.497 15.022,6.497 C19.555,6.497 23.078,9.705 23.078,13.991 C23.078,18.463 20.239,22.062 16.297,22.062 C14.973,22.062 13.728,21.379 13.302,20.572 C13.302,20.572 12.647,23.05 12.488,23.657 C12.193,24.784 11.396,26.196 10.863,27.058 C12.086,27.434 13.386,27.637 14.733,27.637 C21.95,27.637 27.801,21.828 27.801,14.662 C27.801,7.495 21.95,1.686 14.733,1.686" fill="#bd081c"></path></g></svg> </span>
|
1558 |
-
<span class="simplesocialtxt">Save</span>';
|
1559 |
-
if ( $show_count ) {
|
1560 |
-
$_html .= '<span class="ssb_counter">' . $pinterest_share . '</span>';
|
1561 |
-
}
|
1562 |
-
$_html .= ' </button>';
|
1563 |
-
} else {
|
1564 |
-
|
1565 |
-
$_html = '<button rel="nofollow" class="simplesocial-pinterest-share" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;" ><span class="simplesocialtxt">Pinterest</span>';
|
1566 |
-
|
1567 |
-
if ( $show_count ) {
|
1568 |
-
$_html .= '<span class="ssb_counter ssb_pinterest_counter">' . $pinterest_share . '</span>';
|
1569 |
-
}
|
1570 |
-
$_html .= '</button>';
|
1571 |
-
}
|
1572 |
-
|
1573 |
-
$arrButtonsCode[] = $_html;
|
1574 |
-
|
1575 |
-
break;
|
1576 |
-
case 'totalshare':
|
1577 |
-
$total_share = $share_counts['total'] ? $share_counts['total'] : 0;
|
1578 |
-
$arrButtonsCode[] = "<span class='ssb_total_counter'>" . $total_share . '<span>Shares</span></span>';
|
1579 |
-
break;
|
1580 |
-
|
1581 |
-
case 'reddit':
|
1582 |
-
$reddit_score = $share_counts['reddit'] ? $share_counts['reddit'] : 0;
|
1583 |
-
|
1584 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1585 |
-
$_html = ' <button class="ssb_reddit-icon" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
|
1586 |
-
<span class="icon"> <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
1587 |
-
width="430.117px" height="430.117px" viewBox="0 0 430.117 430.117" style="enable-background:new 0 0 430.117 430.117;"
|
1588 |
-
xml:space="preserve"> <g> <path id="reddit" d="M307.523,231.062c1.11,2.838,1.614,5.769,1.614,8.681c0,5.862-2.025,11.556-5.423,16.204 c-3.36,4.593-8.121,8.158-13.722,9.727h0.01c-0.047,0.019-0.094,0.019-0.117,0.037c-0.023,0-0.061,0.019-0.079,0.019 c-2.623,0.896-5.312,1.316-7.98,1.316c-6.254,0-12.396-2.254-17.306-6.096c-4.872-3.826-8.56-9.324-9.717-15.845h-0.01 c0-0.019,0-0.042-0.009-0.069c0-0.019,0-0.038-0.019-0.065h0.019c-0.364-1.681-0.551-3.36-0.551-5.021 c0-5.647,1.923-11.07,5.097-15.551c3.164-4.453,7.626-7.99,12.848-9.811c0.019,0,0.038-0.01,0.038-0.01 c0.027,0,0.027-0.027,0.051-0.027c2.954-1.092,6.072-1.639,9.157-1.639c5.619,0,11.154,1.704,15.821,4.821 c4.611,3.066,8.354,7.561,10.23,13.143c0.019,0.037,0.019,0.07,0.037,0.103c0,0.037,0.019,0.057,0.037,0.084H307.523z M290.329,300.349c-2.202-1.428-4.751-2.291-7.448-2.291c-2.175,0-4.434,0.621-6.445,1.955l0,0 c-19.004,11.342-41.355,17.558-63.547,17.558c-16.65,0-33.199-3.514-48.192-10.879l-0.077-0.037l-0.075-0.028 c-2.261-0.924-4.837-2.889-7.647-4.76c-1.428-0.925-2.919-1.844-4.574-2.521c-1.633-0.695-3.447-1.181-5.386-1.181 c-1.605,0-3.292,0.359-4.957,1.115c-0.086,0.033-0.168,0.065-0.252,0.098h0.009c-2.616,0.999-4.66,2.829-5.974,4.994 c-1.372,2.23-2.046,4.826-2.046,7.411c0,2.334,0.551,4.667,1.691,6.786c1.085,2.007,2.754,3.762,4.938,4.938 c21.429,14.454,46.662,21.002,71.992,20.979c22.838,0,45.814-5.287,66.27-14.911l0.107-0.065l0.103-0.056 c2.697-1.597,6.282-3.029,9.661-5.115c1.671-1.064,3.304-2.296,4.704-3.897c1.4-1.591,2.525-3.551,3.16-5.875v-0.01 c0.266-1.026,0.392-2.025,0.392-3.024c0-1.899-0.467-3.701-1.241-5.32C294.361,303.775,292.504,301.778,290.329,300.349z M139.875,265.589c0.037,0,0.086,0.014,0.128,0.037c2.735,0.999,5.554,1.493,8.345,1.493c6.963,0,13.73-2.852,18.853-7.5 c5.115-4.662,8.618-11.257,8.618-18.775c0-0.196,0-0.392-0.009-0.625c0.019-0.336,0.028-0.705,0.028-1.083 c0-7.458-3.456-14.08-8.522-18.762c-5.085-4.686-11.836-7.551-18.825-7.551c-1.867,0-3.769,0.219-5.628,0.653 c-0.028,0-0.049,0.009-0.077,0.009c0,0-0.019,0-0.028,0c-9.252,1.937-17.373,8.803-20.37,18.248l0,0v0.01 c0,0.019-0.009,0.037-0.009,0.037c-0.861,2.586-1.262,5.255-1.262,7.896c0,5.787,1.913,11.426,5.211,16.064 c3.269,4.56,7.894,8.145,13.448,9.819C139.816,265.561,139.835,265.571,139.875,265.589z M430.033,198.094v0.038 c0.066,0.94,0.084,1.878,0.084,2.81c0,10.447-3.351,20.493-8.941,29.016c-5.218,7.976-12.414,14.649-20.703,19.177 c0.532,4.158,0.84,8.349,0.84,12.526c-0.01,22.495-7.766,44.607-21.272,62.329v0.009h-0.028 c-24.969,33.216-63.313,52.804-102.031,62.684h-0.01l-0.027,0.023c-20.647,5.013-41.938,7.574-63.223,7.574 c-31.729,0-63.433-5.722-93.018-17.585l-0.009-0.028h-0.028c-30.672-12.643-59.897-32.739-77.819-62.184 c-9.642-15.71-14.935-34.141-14.935-52.659c0-4.19,0.283-8.387,0.843-12.536c-8.072-4.545-15.063-10.99-20.255-18.687 c-5.542-8.266-9.056-17.95-9.5-28.187v-0.04v-0.037v-0.082c0.009-14.337,6.237-27.918,15.915-37.932 c9.677-10.011,22.896-16.554,37.075-16.554c0.196,0,0.392,0,0.588,0c1.487-0.101,2.987-0.159,4.488-0.159 c7.122,0,14.26,1.153,21.039,3.752l0.037,0.028l0.038,0.012c5.787,2.437,11.537,5.377,16.662,9.449 c1.661-0.871,3.472-1.851,5.504-2.625c31.064-18.395,67.171-25.491,102.358-27.538c0.306-17.431,2.448-35.68,10.949-51.65 c7.08-13.269,19.369-23.599,34-27.179l0.061-0.03l0.079-0.009c5.573-1.078,11.192-1.575,16.774-1.575 c14.869,0,29.561,3.521,43.31,9.017c6.086-9.185,14.776-16.354,24.97-20.375l0.098-0.056l0.098-0.037 c5.983-1.864,12.303-2.954,18.646-2.954c6.692,0,13.437,1.223,19.756,4.046v-0.023c0.009,0.023,0.019,0.023,0.019,0.023 c0.047,0.016,0.084,0.044,0.116,0.044c9.059,3.489,16.727,9.937,22.164,17.95c5.442,8.048,8.644,17.688,8.644,27.599 c0,1.827-0.103,3.657-0.317,5.489l-0.019,0.037c0,0.028,0,0.068-0.01,0.096c-1.063,12.809-7.551,24.047-16.736,32.063 c-9.24,8.048-21.207,12.909-33.49,12.909c-1.97,0-3.958-0.11-5.937-0.374c-12.182-0.931-23.541-6.826-31.886-15.595 c-8.373-8.755-13.768-20.453-13.768-33.08c0-0.611,0.056-1.237,0.074-1.843c-11.435-5.092-23.578-9.316-35.646-9.306 c-1.746,0-3.491,0.096-5.237,0.273h-0.019c-9.035,0.871-17.436,6.566-21.506,14.757v0.009v0.028 c-6.179,12.034-7.411,26.101-7.598,40.064c34.639,2.259,69.483,10.571,100.043,28.138h0.047l0.438,0.259 c0.579,0.343,1.652,0.931,2.623,1.449c2.101-1.704,4.322-3.456,6.856-4.966c9.264-6.17,20.241-9.238,31.223-9.238 c4.872,0,9.749,0.621,14.481,1.834h0.019l0.196,0.058c0.07,0.01,0.121,0.033,0.178,0.033v0.009 c11.183,2.845,21.3,9.267,28.917,17.927c7.612,8.674,12.731,19.648,13.73,31.561v0.025H430.033z M328.002,84.733 c0,0.469,0.01,0.95,0.057,1.44v0.028v0.056c0.224,6.018,3.065,11.619,7.383,15.756c4.34,4.14,10.1,6.702,15.942,6.725h0.08h0.079 c0.42,0.033,0.85,0.033,1.26,0.033c5.899,0.009,11.752-2.532,16.148-6.655c4.405-4.144,7.309-9.78,7.542-15.849l0.009-0.028v-0.037 c0.038-0.464,0.057-0.903,0.057-1.377c0-6.247-2.922-12.202-7.496-16.612c-4.555-4.406-10.688-7.136-16.735-7.12 c-1.951,0-3.884,0.266-5.778,0.854l-0.065,0.005l-0.056,0.023c-4.984,1.295-9.656,4.368-13.012,8.449 C330.046,74.486,328.002,79.508,328.002,84.733z M72.312,177.578c-4.63-2.156-9.418-3.696-14.15-3.676 c-0.794,0-1.597,0.047-2.39,0.133h-0.11l-0.11,0.014c-6.795,0.187-13.653,3.15-18.801,7.899 c-5.152,4.732-8.559,11.122-8.821,18.167v0.065l-0.012,0.058c-0.046,0.57-0.065,1.137-0.065,1.683 c0,4.345,1.333,8.545,3.593,12.368c1.673,2.847,3.867,5.441,6.348,7.701C45.735,204.602,58.142,189.845,72.312,177.578z M374.066,262.635c0-15.5-5.592-31.069-14.646-43.604c-18.053-25.119-46.055-41.502-75.187-50.636l-0.205-0.072 c-5.592-1.715-11.238-3.234-16.933-4.534c-17.025-3.876-34.48-5.806-51.917-5.806c-23.414,0-46.827,3.465-69.245,10.379 c-29.125,9.243-57.221,25.51-75.233,50.71v0.019c-9.129,12.587-14.475,28.208-14.475,43.763c0,5.727,0.716,11.453,2.23,17.025 l0.019,0.01c3.278,12.508,9.689,23.671,17.989,33.393c8.295,9.745,18.472,18.058,29.176,24.839c2.371,1.47,4.751,2.87,7.187,4.237 c31.094,17.356,66.898,24.964,102.445,24.964c6.012,0,12.06-0.214,18.033-0.644c35.797-2.959,71.742-13.525,100.8-35.115 l0.01-0.023c9.25-6.837,17.818-15.112,24.595-24.525c6.805-9.418,11.789-19.947,14.002-31.382V275.6l0.009-0.01 C373.627,271.32,374.066,266.985,374.066,262.635z M402.32,200.95c-0.009-3.762-0.868-7.507-2.753-11l-0.047-0.044l-0.019-0.056 c-2.521-5.19-6.479-9.11-11.248-11.782c-4.77-2.69-10.352-4.056-15.952-4.056c-5.063,0-10.1,1.132-14.57,3.379 c14.216,12.344,26.687,27.179,34.746,44.636c2.595-2.259,4.808-5.018,6.464-8.084C401.098,209.92,402.32,205.405,402.32,200.95z"/></svg></span>
|
1589 |
-
<span class="simplesocialtxt">reddit </span>';
|
1590 |
-
if ( $show_count ) {
|
1591 |
-
$_html .= '<span class="ssb_counter">' . $reddit_score . '</span>';
|
1592 |
-
}
|
1593 |
-
|
1594 |
-
$_html .= '</button>';
|
1595 |
-
} else {
|
1596 |
-
$_html = '<button class="simplesocial-reddit-share" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" ><span class="simplesocialtxt">Reddit</span> ';
|
1597 |
-
|
1598 |
-
if ( $show_count ) {
|
1599 |
-
$_html .= '<span class="ssb_counter ssb_reddit_counter">' . $reddit_score . '</span>';
|
1600 |
-
}
|
1601 |
-
$_html .= '</button>';
|
1602 |
-
}
|
1603 |
-
|
1604 |
-
$arrButtonsCode[] = $_html;
|
1605 |
-
break;
|
1606 |
-
case 'whatsapp':
|
1607 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1608 |
-
$arrButtonsCode[] = ' <button onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="simplesocial-whatsapp-share ssb_whatsapp-icon" data-href="' . ssb_whats_app_share_link( $permalink ) . '"><span class="simplesocialtxt">
|
1609 |
-
<span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="512px" height="512px" viewBox="0 0 90 90" style="enable-background:new 0 0 90 90;" xml:space="preserve" class=""><g><g> <path id="WhatsApp" d="M90,43.841c0,24.213-19.779,43.841-44.182,43.841c-7.747,0-15.025-1.98-21.357-5.455L0,90l7.975-23.522 c-4.023-6.606-6.34-14.354-6.34-22.637C1.635,19.628,21.416,0,45.818,0C70.223,0,90,19.628,90,43.841z M45.818,6.982 c-20.484,0-37.146,16.535-37.146,36.859c0,8.065,2.629,15.534,7.076,21.61L11.107,79.14l14.275-4.537 c5.865,3.851,12.891,6.097,20.437,6.097c20.481,0,37.146-16.533,37.146-36.857S66.301,6.982,45.818,6.982z M68.129,53.938 c-0.273-0.447-0.994-0.717-2.076-1.254c-1.084-0.537-6.41-3.138-7.4-3.495c-0.993-0.358-1.717-0.538-2.438,0.537 c-0.721,1.076-2.797,3.495-3.43,4.212c-0.632,0.719-1.263,0.809-2.347,0.271c-1.082-0.537-4.571-1.673-8.708-5.333 c-3.219-2.848-5.393-6.364-6.025-7.441c-0.631-1.075-0.066-1.656,0.475-2.191c0.488-0.482,1.084-1.255,1.625-1.882 c0.543-0.628,0.723-1.075,1.082-1.793c0.363-0.717,0.182-1.344-0.09-1.883c-0.27-0.537-2.438-5.825-3.34-7.977 c-0.902-2.15-1.803-1.792-2.436-1.792c-0.631,0-1.354-0.09-2.076-0.09c-0.722,0-1.896,0.269-2.889,1.344 c-0.992,1.076-3.789,3.676-3.789,8.963c0,5.288,3.879,10.397,4.422,11.113c0.541,0.716,7.49,11.92,18.5,16.223 C58.2,65.771,58.2,64.336,60.186,64.156c1.984-0.179,6.406-2.599,7.312-5.107C68.398,56.537,68.398,54.386,68.129,53.938z"/> </g></g> </svg> </span>
|
1610 |
-
<span class="simplesocialtxt">Whatsapp</span>
|
1611 |
-
</button>';
|
1612 |
-
} else {
|
1613 |
-
|
1614 |
-
$arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="simplesocial-whatsapp-share" data-href="' . ssb_whats_app_share_link( $permalink ) . '"><span class="simplesocialtxt">WhatsApp</span></button>';
|
1615 |
-
}
|
1616 |
-
break;
|
1617 |
-
|
1618 |
-
case 'viber':
|
1619 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1620 |
-
$arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share ssb_viber-icon" data-href="viber://forward?text=' . $permalink . '">
|
1621 |
-
<span class="icon"> <svg aria-labelledby="simpleicons-viber-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-viber-icon">Viber icon</title><path d="M20.812 2.343c-.596-.549-3.006-2.3-8.376-2.325 0 0-6.331-.38-9.415 2.451C1.302 4.189.698 6.698.634 9.82.569 12.934.487 18.774 6.12 20.36h.005l-.005 2.416s-.034.979.609 1.178c.779.24 1.236-.504 1.98-1.303.409-.439.972-1.088 1.397-1.582 3.851.322 6.813-.416 7.149-.525.777-.254 5.176-.816 5.893-6.658.738-6.021-.357-9.83-2.338-11.547v.004zm.652 11.112c-.615 4.876-4.184 5.187-4.83 5.396-.285.092-2.895.738-6.164.525 0 0-2.445 2.941-3.195 3.705-.121.121-.271.166-.361.145-.135-.029-.164-.18-.164-.404l.015-4.006c-.015 0 0 0 0 0-4.771-1.336-4.485-6.301-4.425-8.91.044-2.596.538-4.726 1.994-6.167 2.611-2.371 7.997-2.012 7.997-2.012 4.543.016 6.721 1.385 7.223 1.846 1.674 1.432 2.529 4.865 1.904 9.893l.006-.011zM7.741 4.983c.242 0 .459.109.629.311.004.002.58.695.83 1.034.235.32.551.83.711 1.115.285.51.104 1.032-.172 1.248l-.566.45c-.285.229-.25.653-.25.653s.84 3.157 3.959 3.953c0 0 .426.039.654-.246l.451-.569c.213-.285.734-.465 1.244-.181.285.15.795.466 1.116.704.339.24 1.032.826 1.036.826.33.271.404.689.18 1.109v.016c-.23.405-.541.78-.934 1.141h-.008c-.314.27-.629.42-.944.449-.03 0-.075.016-.136 0-.135 0-.27-.029-.404-.061v-.014c-.48-.135-1.275-.48-2.596-1.216-.855-.479-1.574-.96-2.189-1.455-.315-.255-.645-.54-.976-.87l-.076-.028-.03-.03-.029-.029c-.331-.33-.615-.66-.871-.98-.48-.609-.96-1.327-1.439-2.189-.735-1.32-1.08-2.115-1.215-2.596H5.7c-.045-.134-.075-.269-.06-.404-.015-.061 0-.105 0-.141.03-.299.189-.614.458-.944h.005c.355-.39.738-.704 1.146-.933.164-.091.329-.135.479-.135h.016l-.003.012zm4.095-.683h.116l.076.002h.02l.089.005h.511l.135.015h.074l.15.016h.03l.104.015h.016l.074.015c.046 0 .076.016.105.016h.091l.075.029.06.016.06.015.03.015h.045l.046.016h.029l.074.016.045.014.046.016.06.016.03.014c.03 0 .06.016.091.016l.044.015.046.016.119.044.061.031.135.06.045.015.045.016.09.045.061.015.029.015.076.031.029.014.061.031.045.014.045.03.059.03.046.029.03.016.061.03.044.03.075.045.045.016.074.044.016.015.045.031.09.074.046.03.044.03.031.014.045.031.074.074.061.045.045.03.016.015.029.016.074.061.046.044.03.03.045.029.045.031.029.015.12.12.06.061.135.135.031.029c.016.016.045.045.061.075l.029.03.166.194.045.06c.014.016.014.031.029.031l.09.135.045.045.09.12.076.12.045.09.059.105.045.09.016.029.029.061.076.15.074.149.031.075c.059.135.104.27.164.42.074.195.135.404.18.63.045.165.076.315.105.48l.029.27.045.3c.016.121.031.256.031.375.014.121.014.24.014.359v.256c0 .016-.006.029-.014.045-.016.03-.031.045-.061.075-.021.015-.049.046-.08.046-.029.014-.059.014-.09.014h-.045c-.029 0-.059-.014-.09-.029-.029-.016-.061-.03-.074-.061-.016-.029-.045-.061-.061-.09s-.031-.06-.031-.09v-.359c-.014-.209-.029-.425-.059-.639-.016-.146-.045-.284-.061-.42 0-.074-.016-.146-.029-.209l-.029-.15-.038-.141-.016-.09-.045-.15c-.029-.12-.074-.24-.119-.36-.029-.091-.061-.165-.105-.239l-.029-.076-.135-.27-.031-.045c-.061-.135-.135-.27-.225-.391l-.045-.074h-.201l-.064-.091c-.055-.089-.114-.165-.18-.239l-.125-.15-.015-.016-.046-.057-.035-.045-.075-.074-.015-.03-.07-.06-.045-.046-.083-.075-.04-.037-.046-.045-.015-.016c-.016-.015-.045-.045-.075-.06l-.076-.062-.03-.015-.061-.046-.074-.06-.045-.036-.03-.016-.06-.053c0-.016-.016-.016-.031-.016l-.029-.029-.015-.016v-.013l-.03-.014-.061-.037-.044-.031-.075-.045-.06-.045-.029-.016-.032-.013h-.09l-.019-.016-.065-.035-.009-.014-.03-.016-.045-.021h-.012l-.045-.016-.025-.015-.045-.015-.01-.011-.03-.016-.053-.029-.03-.015-.09-.03-.074-.029-.137-.016-.044-.029c-.015-.01-.03-.016-.046-.016l-.029-.015c-.029-.011-.045-.016-.075-.03l-.03-.016h-.029l-.061-.029-.029-.016-.045-.015h-.092c-.008 0-.019-.005-.03-.007h-.09l-.045-.016h-.015l-.045-.016h-.041c-.025-.014-.045-.014-.07-.014l-.01-.016-.06-.015c-.03-.016-.056-.016-.084-.016l-.045-.015-.05-.016-.045-.014-.061-.016h-.061l-.179-.022h-.09l-.116-.015h-.076l-.068-.008h-.03l-.054-.016h-.285l-.01-.015h-.061c-.03 0-.064-.015-.09-.03-.03-.016-.061-.029-.081-.06l-.03-.046c-.029-.029-.029-.06-.045-.09-.014-.028-.014-.059-.014-.089s0-.06.015-.09c.016-.029.029-.06.061-.075.015-.03.044-.044.074-.06.029-.016.061-.03.09-.03h.061l.015.066zm.554 1.574l.037.003.061.006c.008 0 .018 0 .029.003.022 0 .045.004.075.006l.06.008.024.016.045.015.048.015.045.016h.03l.042.015.07.015.056.016.026.014h.073l.119.028.046.015.045.015.045.016s.015 0 .015.015l.046.015.044.016.045.016c.015 0 .03.014.046.014.007 0 .014.016.025.016l.064.03h.029l.09.03.05.029.046.03.108.045.06.015.031.031c.045.014.09.044.135.059l.048.03.048.03.049.029c.045.03.082.046.121.076l.029.014.041.031.022.015.075.045.037.03.065.043.029.015.03.015.046.03.06.046c.015.014.022.014.034.029.01.015.016.015.025.03l.033.03.036.029.03.03.046.046.029.03.016.016.09.089.016.016c0 .015.015.03.029.03l.016.013.045.046.029.045.03.03.045.06.046.046.09.119.014.029.061.076.016.029.015.031.015.029.016.03c.016.015.016.03.029.06l.043.076.016.015.029.061.031.044c.014.015.014.029.029.045l.03.045.03.061.029.059.016.046c.015.044.045.075.06.12 0 .015.015.029.015.045l.045.119.061.195c0 .016.015.045.015.061l.046.135.044.18.046.24c.014.074.014.135.029.211.016.119.03.238.03.359l.015.21v.165c0 .016 0 .029-.015.045l-.044.043c-.029.023-.045.045-.074.061-.03.015-.061.029-.09.04-.031.016-.075.016-.105.016-.029 0-.061-.016-.09-.03-.016 0-.03-.016-.045-.021-.031-.014-.061-.039-.075-.065-.03-.03-.046-.06-.046-.091l-.014-.044v-.313c0-.133-.016-.256-.031-.385-.015-.135-.044-.285-.074-.42-.029-.09-.045-.18-.075-.26l-.03-.091-.029-.075-.016-.03-.045-.12-.045-.09-.075-.149-.069-.12v-.019l-.029-.047-.03-.038-.045-.075-.046-.061-.089-.119c-.046-.061-.09-.12-.142-.178-.014-.015-.029-.029-.029-.045l-.03-.029-.017-.016-.03-.014-.03-.027v-.146l-.119-.113-.075-.068v-.014l-.03-.031-.038-.029-.015-.016c0-.015-.016-.015-.029-.015l-.046-.016-.015-.015-.061-.045-.014-.016-.016-.015c-.012-.015-.023-.015-.03-.015l-.06-.045-.016-.016-.06-.029-.011-.016-.045-.029-.03-.016-.03-.029-.029-.031h-.016c-.029-.029-.06-.044-.105-.06l-.044-.03-.03-.014-.016-.016-.045-.03-.044-.015-.06-.03-.046-.015-.015-.016-.056-.014v-.012l-.091-.03-.06-.03-.03-.015h-.06c-.03-.015-.045-.015-.075-.03H13.2l-.045-.016h-.044l-.046-.014-.029-.016h-.061l-.061-.015-.029-.016h-.165l-.069-.015H12.3l-.046-.016c-.029-.014-.06-.029-.09-.06-.014-.03-.045-.06-.06-.089-.015-.031-.03-.061-.03-.091v-.09c.006-.046.016-.075.03-.105.008-.015.015-.03.03-.045.018-.03.045-.06.075-.075.015-.015.03-.015.044-.029.031-.016.061-.016.091-.016h.06l-.014.055zm.454 1.629c.015 0 .03 0 .044.004.016 0 .031 0 .046.002l.052.005c.104.009.213.024.318.046l.104.023.026.008.114.029.059.02.046.016c.045.014.091.045.135.06l.016.015.06.03.09.046.029.014c.016.016.031.016.046.03.015.016.045.03.06.045.061.03.105.075.15.105l.105.09.09.091.061.074.029.029.03.031.044.06.091.135.075.135.06.12.046.105c.044.104.06.195.09.299.029.091.045.196.06.285l.015.15.016.136V9.8c0 .045-.016.075-.03.105-.015.029-.046.074-.075.09-.03.029-.061.045-.105.061-.029.014-.06.014-.09.014-.029 0-.06 0-.09-.014l-.104-.046c-.03-.03-.06-.045-.091-.091-.015-.029-.029-.06-.045-.104v-.166l-.015-.105-.015-.119-.016-.105-.016-.06c0-.015-.014-.045-.014-.06-.03-.121-.09-.24-.15-.36l-.061-.06-.047-.06-.045-.045-.015-.03-.075-.06-.061-.061-.059-.045c-.016-.015-.03-.015-.061-.029l-.09-.061-.061-.03-.029-.015h-.016l-.076-.031-.09-.03-.09-.015h-.075l-.044-.015-.035-.007h-.045l-.06-.016h-.255l-.015-.075h-.039c-.03-.004-.055-.015-.08-.029-.035-.021-.064-.045-.09-.08-.018-.029-.034-.061-.045-.09-.008-.029-.012-.06-.012-.09 0-.037 0-.075.015-.113.015-.039.03-.07.06-.1l.061-.045c.029-.016.061-.03.09-.03l.062-.075h.032z"/></svg> </span>
|
1622 |
-
<span class="simplesocialtxt">Viber</span>
|
1623 |
-
</button>';
|
1624 |
-
} else {
|
1625 |
-
|
1626 |
-
$arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share" data-href="viber://forward?text=' . $permalink . '"><span class="simplesocialtxt">Viber</span></button>';
|
1627 |
-
}
|
1628 |
-
break;
|
1629 |
-
|
1630 |
-
case 'fblike':
|
1631 |
-
$_html = '<div class="fb-like ssb-fb-like" data-href="' . $permalink . '" data-layout="button_count" data-action="like" data-size="' . $like_button_size . '" data-show-faces="false" data-share="false"></div>';
|
1632 |
-
$arrButtonsCode[] = $_html;
|
1633 |
-
|
1634 |
-
break;
|
1635 |
-
|
1636 |
-
case 'messenger':
|
1637 |
-
$link = urlencode( $permalink );
|
1638 |
-
$messenger_share_url = is_mobile() ? "fb-messenger://share/?link=$link?app_id=$this->fb_app_id" : "http://www.facebook.com/dialog/send?app_id=$this->fb_app_id&redirect_uri=$link&link=$link&display=popup";
|
1639 |
-
|
1640 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1641 |
-
$arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_blank\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\' );return false;" class="simplesocial-viber-share ssb_msng-icon" data-href=' . $messenger_share_url . '>
|
1642 |
-
<span class="icon"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18px" height="19px" viewBox="-889.5 1161 18 19" enable-background="new -889.5 1161 18 19" xml:space="preserve">
|
1643 |
-
<path opacity="0.99" fill="#FFFFFF" enable-background="new " d="M-880.5,1161c-5,0-9,3.8-9,8.5c0,2.4,1,4.5,2.7,6v4.5l3.8-2.3 c0.8,0.2,1.6,0.3,2.5,0.3c5,0,9-3.8,9-8.5S-875.5,1161-880.5,1161z M-879.6,1172.2l-2.4-2.4l-4.3,2.4l4.7-5.2l2.4,2.4l4.2-2.4 L-879.6,1172.2z"/>
|
1644 |
-
</svg> </span>
|
1645 |
-
<span class="simplesocialtxt">Messenger</span>
|
1646 |
-
</button>';
|
1647 |
-
} else {
|
1648 |
-
|
1649 |
-
$arrButtonsCode[] = '<button class="simplesocial-msng-share" onclick="javascript:window.open( this.dataset.href, \'_blank\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\' );return false;" data-href="' . $messenger_share_url . '" ><span class="simplesocialtxt">Messenger</span></button> ';
|
1650 |
-
}
|
1651 |
-
|
1652 |
-
break;
|
1653 |
-
case 'email':
|
1654 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1655 |
-
$arrButtonsCode[] = ' <button onclick="javascript:window.location.href = this.dataset.href;return false;" class="ssb_email-icon simplesocial-email-share" data-href="mailto:?subject=' . $title . '&body=' . $permalink . '"><span class="simplesocialtxt">
|
1656 |
-
<span class="icon"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="11.9px" viewBox="-1214.1 1563.9 16 11.9" enable-background="new -1214.1 1563.9 16 11.9" xml:space="preserve">
|
1657 |
-
<path d="M-1214.1,1565.2v1l8,4l8-4v-1c0-0.7-0.6-1.3-1.3-1.3h-13.4C-1213.5,1563.9-1214.1,1564.4-1214.1,1565.2z M-1214.1,1567.4v7.1c0,0.7,0.6,1.3,1.3,1.3h13.4c0.7,0,1.3-0.6,1.3-1.3v-7.1l-8,4L-1214.1,1567.4z"/> </svg> </span>
|
1658 |
-
<span class="simplesocialtxt">Email</span>
|
1659 |
-
</button>';
|
1660 |
-
} else {
|
1661 |
-
|
1662 |
-
$arrButtonsCode[] = '<button onclick="javascript:window.location.href = this.dataset.href;return false;" class="simplesocial-email-share" data-href="mailto:?subject=' . $title . '&body=' . $permalink . '"><span class="simplesocialtxt">Email</span></button>';
|
1663 |
-
}
|
1664 |
-
break;
|
1665 |
-
case 'print':
|
1666 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1667 |
-
$arrButtonsCode[] = ' <button onclick="javascript:window.print();return false;" class="ssb_print-icon simplesocial-email-share" ><span class="simplesocialtxt">
|
1668 |
-
<span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="16px" height="13.7px" viewBox="-1296.9 1876.4 16 13.7" enable-background="new -1296.9 1876.4 16 13.7" xml:space="preserve"><g>
|
1669 |
-
<path fill="#FFFFFF" d="M-1288.9,1879.7c2.3,0,4.6,0,6.9,0c0.4,0,0.7,0.1,0.9,0.5c0.1,0.2,0.1,0.4,0.1,0.6c0,1.7,0,3.4,0,5.1 c0,0.7-0.4,1.1-1.1,1c-0.6,0-1.2,0-1.8,0c-0.1,0-0.2,0-0.2,0.2c0,0.7,0,1.4,0,2c0,0.6-0.4,1-1,1c-0.1,0-0.3,0-0.4,0 c-2.5,0-4.9,0-7.4,0c-0.3,0-0.5,0-0.8-0.1c-0.3-0.2-0.5-0.5-0.5-0.9c0-0.7,0-1.4,0-2c0-0.2-0.1-0.2-0.2-0.2c-0.6,0-1.2,0-1.7,0 c-0.7,0-1-0.4-1-1c0-1.7,0-3.4,0-5.1c0-0.4,0.2-0.8,0.6-0.9c0.2-0.1,0.3-0.1,0.5-0.1C-1293.5,1879.7-1291.2,1879.7-1288.9,1879.7z M-1288.9,1884.9C-1288.9,1884.9-1288.9,1884.9-1288.9,1884.9c-1.4,0-2.8,0-4.2,0c-0.1,0-0.2,0-0.2,0.2c0,0.3,0,0.7,0,1 c0,1,0,2,0,3c0,0.3,0.1,0.4,0.4,0.4c2.5,0,5.1,0,7.6,0c0.1,0,0.3,0,0.4,0c0.2,0,0.3-0.2,0.3-0.3c0-1.3,0-2.7,0-4 c0-0.2,0-0.2-0.2-0.2C-1286.1,1884.9-1287.5,1884.9-1288.9,1884.9z M-1284.2,1882.4c0.4,0,0.7-0.3,0.7-0.7c0-0.4-0.3-0.7-0.8-0.7 c-0.4,0-0.7,0.3-0.7,0.7C-1284.9,1882.1-1284.6,1882.4-1284.2,1882.4z"/>
|
1670 |
-
<path fill="#FFFFFF" d="M-1283.9,1879c-0.2,0-0.4,0-0.5,0c-3.1,0-6.2,0-9.3,0c-0.1,0-0.2,0-0.2-0.2c0-0.5,0-1,0-1.5 c0-0.5,0.4-1,0.9-1c0.1,0,0.2,0,0.3,0c2.6,0,5.2,0,7.8,0c0.6,0,1,0.4,1,1c0,0.5,0,0.9,0,1.4 C-1283.9,1878.9-1283.9,1879-1283.9,1879z"/>
|
1671 |
-
<path fill="#FFFFFF" d="M-1291.9,1886.9c0-0.2,0-0.4,0-0.6c2,0,4,0,6,0c0,0.2,0,0.4,0,0.6 C-1287.9,1886.9-1289.9,1886.9-1291.9,1886.9z"/>
|
1672 |
-
<path fill="#FFFFFF" d="M-1289.6,1888.2c-0.7,0-1.4,0-2.1,0c-0.1,0-0.2,0-0.2-0.2c0-0.1,0-0.2,0-0.3c0-0.1,0-0.2,0.2-0.2 c0.1,0,0.2,0,0.3,0c1.3,0,2.6,0,3.9,0c0.3,0,0.3,0,0.3,0.3c0,0.4,0,0.4-0.4,0.4C-1288.3,1888.2-1288.9,1888.2-1289.6,1888.2 C-1289.6,1888.2-1289.6,1888.2-1289.6,1888.2z"/>
|
1673 |
-
</g></svg></span>
|
1674 |
-
<span class="simplesocialtxt">Print</span>
|
1675 |
-
</button>';
|
1676 |
-
} else {
|
1677 |
-
|
1678 |
-
$arrButtonsCode[] = '<button onclick="javascript:window.print();return false;" class="simplesocial-print-share" ><span class="simplesocialtxt">Print</span></button>';
|
1679 |
-
}
|
1680 |
-
break;
|
1681 |
-
case 'tumblr':
|
1682 |
-
$tumblr_score = $share_counts['tumblr'] ? $share_counts['tumblr'] : 0;
|
1683 |
-
|
1684 |
-
$link = urlencode( $permalink );
|
1685 |
-
$tumblr_share_url = "http://tumblr.com/widgets/share/tool?canonicalUrl=$link";
|
1686 |
-
if ( $this->selected_theme == 'simple-icons' ) {
|
1687 |
-
$_html = '<button class="ssb_tumblr-icon" data-href="' . $tumblr_share_url . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
|
1688 |
-
<span class="icon"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
1689 |
-
width="12.6px" height="17.8px" viewBox="-299.1 388.3 12.6 17.8" style="enable-background:new -299.1 388.3 12.6 17.8;" xml:space="preserve"><g> <path fill="#FFFFFF" d="M-294.7,388.3c1.1,0,2.1,0,3.2,0c0,1.5,0,2.9,0,4.4c1.7,0,3.3,0,5,0c0,1.1,0,2.2,0,3.4c-1.7,0-3.3,0-5,0 c0,0.1,0,0.2,0,0.2c0,1.6,0,3.2,0,4.8c0,1.2,0.6,1.8,1.8,2c1.1,0.1,2.1,0,3-0.5c0.1,0,0.1-0.1,0.2-0.1c0,0.1,0,0.1,0,0.2 c0,0.8,0,1.5,0,2.3c0,0.1,0,0.2-0.2,0.3c-1.6,0.6-3.2,0.9-5,0.8c-1-0.1-2-0.3-2.9-0.8c-1.2-0.7-1.8-1.7-1.8-3.1c0-2.1,0-4.1,0-6.2 c0-0.1,0-0.2,0-0.3c-0.9,0-1.8,0-2.7,0c0-0.1,0-0.1,0-0.2c0-0.7,0-1.5,0-2.2c0-0.1,0-0.2,0.2-0.2c0.3-0.1,0.7-0.2,1-0.3 c1.6-0.6,2.6-1.8,3-3.5c0-0.1,0.1-0.3,0.1-0.4C-294.8,388.6-294.7,388.4-294.7,388.3z"/> </g> </svg> </span>
|
1690 |
-
<span class="simplesocialtxt">tumblr </span>';
|
1691 |
-
if ( $show_count ) {
|
1692 |
-
$_html .= '<span class="ssb_counter">' . $tumblr_score . '</span>';
|
1693 |
-
}
|
1694 |
-
|
1695 |
-
$_html .= '</button>';
|
1696 |
-
} else {
|
1697 |
-
$_html = '<button class="simplesocial-tumblr-share" data-href="' . $tumblr_share_url . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" ><span class="simplesocialtxt">Tumblr</span> ';
|
1698 |
-
|
1699 |
-
if ( $show_count ) {
|
1700 |
-
$_html .= '<span class="ssb_counter ssb_tumblr_counter">' . $tumblr_score . '</span>';
|
1701 |
-
}
|
1702 |
-
$_html .= '</button>';
|
1703 |
-
|
1704 |
-
}
|
1705 |
-
|
1706 |
-
$arrButtonsCode[] = $_html;
|
1707 |
-
break;
|
1708 |
-
}
|
1709 |
-
}
|
1710 |
-
|
1711 |
-
if ( count( $arrButtonsCode ) > 0 ) {
|
1712 |
-
|
1713 |
-
$ssb_buttonscode .= '<div class="simplesocialbuttons simplesocial-' . $short_code_theme . ' ' . $extra_class . '">' . "\n";
|
1714 |
-
$ssb_buttonscode .= implode( "\n", $arrButtonsCode ) . "\n";
|
1715 |
-
$ssb_buttonscode .= '</div>' . "\n";
|
1716 |
-
|
1717 |
-
}
|
1718 |
-
|
1719 |
-
return $ssb_buttonscode;
|
1720 |
-
}
|
1721 |
-
|
1722 |
|
1723 |
/**
|
1724 |
* Add Meta Tags.
|
1725 |
*
|
1726 |
-
* @param int $post_id
|
1727 |
-
*
|
1728 |
* @access public
|
1729 |
* @since 2.0.9
|
|
|
1730 |
* @return string
|
1731 |
*/
|
1732 |
public function add_meta_tags() {
|
1733 |
|
1734 |
-
if (
|
1735 |
-
return;
|
1736 |
-
} elseif ( defined( 'WPSEO_VERSION' ) || defined( 'AIOSEOP_VERSION' ) ) { // Check ( Yoast , All in one Seo) Allactive.
|
1737 |
return;
|
1738 |
}
|
|
|
1739 |
$og_tag = '';
|
1740 |
$og_tag .= PHP_EOL . '<!-- Open Graph Meta Tags generated by Simple Social Buttons ' . $this->pluginVersion . ' -->' . PHP_EOL;
|
1741 |
if ( $this->og_get_title() ) {
|
@@ -1817,7 +1548,7 @@ class SimpleSocialButtonsPR {
|
|
1817 |
// Check if the post has an excerpt
|
1818 |
if ( has_excerpt() ) {
|
1819 |
$excerpt_length = apply_filters( 'excerpt_length', 35 );
|
1820 |
-
return trim( get_the_excerpt() );
|
1821 |
}
|
1822 |
|
1823 |
$the_post = get_post( $post_id ); // Gets post ID
|
@@ -2102,6 +1833,7 @@ class SimpleSocialButtonsPR {
|
|
2102 |
* Register Block.
|
2103 |
*
|
2104 |
* @since 2.0.0
|
|
|
2105 |
* @return void
|
2106 |
*/
|
2107 |
public function ssb_register_block() {
|
@@ -2145,12 +1877,50 @@ class SimpleSocialButtonsPR {
|
|
2145 |
),
|
2146 |
]
|
2147 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2148 |
}
|
|
|
2149 |
/**
|
2150 |
* Call for ssb block
|
2151 |
*
|
2152 |
* @param array $attr register attributes.
|
2153 |
-
* @since
|
2154 |
* @return void
|
2155 |
*/
|
2156 |
public function ssb_shortcode_block_callback( $attr ) {
|
@@ -2192,6 +1962,31 @@ class SimpleSocialButtonsPR {
|
|
2192 |
return "<div class='align$align'> [SSB $theme $order $counter $alignemnt $like_button_size $show_total_count] </div>";
|
2193 |
}
|
2194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2195 |
} // end class
|
2196 |
|
2197 |
global $_ssb_pr;
|
3 |
* Plugin Name: Simple Social Buttons
|
4 |
* Plugin URI: https://simplesocialbuttons.com/
|
5 |
* Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
|
6 |
+
* Version: 3.1.0
|
7 |
* Author: WPBrigade
|
8 |
* Author URI: https://www.WPBrigade.com/
|
9 |
* Text Domain: simple-social-buttons
|
44 |
* @isnce
|
45 |
* @var string
|
46 |
*/
|
47 |
+
public $pluginVersion = '3.1.0';
|
48 |
|
49 |
/**
|
50 |
* Plugin Prefix
|
569 |
*/
|
570 |
public function plugin_install() {
|
571 |
|
572 |
+
if ( ! is_multisite() ) {
|
573 |
+
|
574 |
+
$this->default_settings();
|
575 |
+
|
576 |
+
} else {
|
577 |
+
|
578 |
+
global $wpdb;
|
579 |
+
$ssb_blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
|
580 |
+
foreach ( $ssb_blog_ids as $blog_id ) {
|
581 |
+
switch_to_blog( $blog_id );
|
582 |
+
$this->default_settings();
|
583 |
+
restore_current_blog();
|
584 |
+
}
|
585 |
+
}
|
586 |
+
update_option( $this->pluginPrefix . 'version', $this->pluginVersion );
|
587 |
+
}
|
588 |
+
|
589 |
+
|
590 |
+
/**
|
591 |
+
* Plugin default settings.
|
592 |
+
*
|
593 |
+
* @version 3.1.0
|
594 |
+
* @return void
|
595 |
+
*/
|
596 |
+
public function default_settings() {
|
597 |
+
|
598 |
if ( ! get_option( 'ssb_networks' ) ) {
|
599 |
$_default = array(
|
600 |
'icon_selection' => 'fbshare,twitter,linkedin,fblike',
|
628 |
update_option( 'ssb_inline', $_default );
|
629 |
}
|
630 |
|
631 |
+
if ( ! get_option( 'ssb_advanced' ) ) {
|
632 |
+
$_default = array(
|
633 |
+
'ssb_og_tags' => '1',
|
634 |
+
);
|
635 |
+
update_option( 'ssb_advanced', $_default );
|
636 |
+
}
|
637 |
}
|
638 |
|
|
|
639 |
public function _get_settings( $section, $value, $default = false ) {
|
640 |
$section = $section . '_option';
|
641 |
$_arr = $this->$section;
|
753 |
$extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
|
754 |
|
755 |
$_selected_network = apply_filters( 'ssb_inline_social_networks', $this->selected_networks );
|
756 |
+
|
757 |
+
$extra_data = array(
|
758 |
+
'class' => $extra_class,
|
759 |
+
'position' => 'inline',
|
760 |
+
);
|
761 |
+
$ssb_buttonscode = $this->generate_buttons_code( $_selected_network, $show_count, $show_total, $extra_data );
|
762 |
|
763 |
$sharing_text = '';
|
764 |
|
869 |
$share_counts = ssb_fetch_cached_counts( array_flip( $arrButtons ), $post_id );
|
870 |
}
|
871 |
|
872 |
+
/**
|
873 |
+
* 'ssb_network_counts' is the filter for applying check is either show network counts after some amount of share.
|
874 |
+
*
|
875 |
+
* @since 3.0.2
|
876 |
+
*
|
877 |
+
* @param boolean $show_count is show count enable.
|
878 |
+
* @param array $show_count all network share counts.
|
879 |
+
*/
|
880 |
+
$show_count = apply_filters( 'ssb_network_counts', $show_count, $share_counts, $extra_data );
|
881 |
+
|
882 |
+
/**
|
883 |
+
* 'ssb_active_network' is the filter activated share network.
|
884 |
+
*
|
885 |
+
* @since 3.0.2
|
886 |
+
*
|
887 |
+
* @param array $arrButtons selected networks.
|
888 |
+
* @param array $show_count all network share counts.
|
889 |
+
*/
|
890 |
+
$arrButtons = apply_filters( 'ssb_active_network', $arrButtons, $share_counts, $extra_data );
|
891 |
+
|
892 |
$arrButtonsCode = array();
|
893 |
foreach ( $arrButtons as $button_name => $button_sort ) {
|
894 |
switch ( $button_name ) {
|
1138 |
$class = $extra_data;
|
1139 |
}
|
1140 |
|
1141 |
+
$position_style = 'simplesocialbuttons simplesocial-' . $theme . ' ' . $class;
|
1142 |
+
|
1143 |
+
/**
|
1144 |
+
* 'ssb_position_style' is the filter activated share network.
|
1145 |
+
*
|
1146 |
+
* @since 3.1.0
|
1147 |
+
*
|
1148 |
+
* @param string $position_style all classes.
|
1149 |
+
* @param string $theme current theme.
|
1150 |
+
* @param array $extra_data meta data for position style classes.
|
1151 |
+
* @param array $arrButtons selected networks.
|
1152 |
+
*/
|
1153 |
+
$position_style = apply_filters( 'ssb_position_style', $position_style, $theme , $extra_data, $arrButtons );
|
1154 |
+
|
1155 |
+
$ssb_buttonscode .= '<div class="' . $position_style . '">' . "\n";
|
1156 |
$ssb_buttonscode .= implode( "\n", $arrButtonsCode ) . "\n";
|
1157 |
$ssb_buttonscode .= '</div>' . "\n";
|
1158 |
}
|
1231 |
|
1232 |
$class .= ' simplesocialbuttons-slide-' . $this->_get_settings( 'sidebar', 'animation', 'no-animation' );
|
1233 |
$_selected_network = apply_filters( 'ssb_sidebar_social_networks', $this->selected_networks );
|
1234 |
+
$extra_data = array(
|
1235 |
+
'class' => $class,
|
1236 |
+
'position' => 'sidebar',
|
1237 |
+
);
|
1238 |
+
echo $this->generate_buttons_code( $_selected_network, $show_count, $show_total, $extra_data );
|
1239 |
}
|
1240 |
}
|
1241 |
}
|
1438 |
|
1439 |
$extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
|
1440 |
|
1441 |
+
$extra_option = array(
|
|
|
1442 |
'class' => $extra_class,
|
1443 |
'theme' => $theme,
|
1444 |
'like-button-size' => $like_button_size,
|
1445 |
+
'position' => 'shortcode',
|
1446 |
);
|
1447 |
+
|
1448 |
$ssb_buttons_code = $this->generate_buttons_code( $selected_theme['order'], $show_count, $show_total, $extra_option );
|
1449 |
// }
|
1450 |
|
1452 |
|
1453 |
}
|
1454 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1455 |
|
1456 |
/**
|
1457 |
* Add Meta Tags.
|
1458 |
*
|
|
|
|
|
1459 |
* @access public
|
1460 |
* @since 2.0.9
|
1461 |
+
* @version 3.1.0
|
1462 |
* @return string
|
1463 |
*/
|
1464 |
public function add_meta_tags() {
|
1465 |
|
1466 |
+
if ( '1' !== $this->extra_option['ssb_og_tags'] ) {
|
|
|
|
|
1467 |
return;
|
1468 |
}
|
1469 |
+
|
1470 |
$og_tag = '';
|
1471 |
$og_tag .= PHP_EOL . '<!-- Open Graph Meta Tags generated by Simple Social Buttons ' . $this->pluginVersion . ' -->' . PHP_EOL;
|
1472 |
if ( $this->og_get_title() ) {
|
1548 |
// Check if the post has an excerpt
|
1549 |
if ( has_excerpt() ) {
|
1550 |
$excerpt_length = apply_filters( 'excerpt_length', 35 );
|
1551 |
+
return trim( wp_strip_all_tags( get_the_excerpt() ) );
|
1552 |
}
|
1553 |
|
1554 |
$the_post = get_post( $post_id ); // Gets post ID
|
1833 |
* Register Block.
|
1834 |
*
|
1835 |
* @since 2.0.0
|
1836 |
+
* @version 3.2.0
|
1837 |
* @return void
|
1838 |
*/
|
1839 |
public function ssb_register_block() {
|
1877 |
),
|
1878 |
]
|
1879 |
);
|
1880 |
+
|
1881 |
+
register_block_type(
|
1882 |
+
'ssb/click-to-tweet',
|
1883 |
+
[
|
1884 |
+
'render_callback' => array( $this, 'ssb_click_to_tweet_block_callback' ),
|
1885 |
+
'attributes' => array(
|
1886 |
+
'theme' => array(
|
1887 |
+
'type' => 'string',
|
1888 |
+
'default' => 'twitter-round',
|
1889 |
+
),
|
1890 |
+
'tweet' => array(
|
1891 |
+
'type' => 'string',
|
1892 |
+
'default' => '',
|
1893 |
+
),
|
1894 |
+
'front' => array(
|
1895 |
+
'type' => 'string',
|
1896 |
+
'default' => '',
|
1897 |
+
),
|
1898 |
+
'IncludePageLink' => array(
|
1899 |
+
'type' => 'boolean',
|
1900 |
+
'default' => true,
|
1901 |
+
),
|
1902 |
+
'IncludeVia' => array(
|
1903 |
+
'type' => 'boolean',
|
1904 |
+
'default' => true,
|
1905 |
+
),
|
1906 |
+
'showTweetButton' => array(
|
1907 |
+
'type' => 'boolean',
|
1908 |
+
'default' => true,
|
1909 |
+
),
|
1910 |
+
'align' => array(
|
1911 |
+
'type' => 'string',
|
1912 |
+
'default' => '',
|
1913 |
+
),
|
1914 |
+
),
|
1915 |
+
]
|
1916 |
+
);
|
1917 |
}
|
1918 |
+
|
1919 |
/**
|
1920 |
* Call for ssb block
|
1921 |
*
|
1922 |
* @param array $attr register attributes.
|
1923 |
+
* @since 3.0.0
|
1924 |
* @return void
|
1925 |
*/
|
1926 |
public function ssb_shortcode_block_callback( $attr ) {
|
1962 |
return "<div class='align$align'> [SSB $theme $order $counter $alignemnt $like_button_size $show_total_count] </div>";
|
1963 |
}
|
1964 |
|
1965 |
+
/**
|
1966 |
+
* Call for click to tweet block.
|
1967 |
+
*
|
1968 |
+
* @param array $attr register attributes.
|
1969 |
+
* @since 3.2.0
|
1970 |
+
* @return void
|
1971 |
+
*/
|
1972 |
+
public function ssb_click_to_tweet_block_callback( $attr ) {
|
1973 |
+
|
1974 |
+
// var_dump( $theme );
|
1975 |
+
$attr['IncludePageLink'] = ! $attr['IncludePageLink'] ? 'true' : 'false';
|
1976 |
+
$attr['showTweetButton'] = ! $attr['showTweetButton'] ? 'true' : 'false';
|
1977 |
+
$attr['IncludeVia'] = $attr['IncludeVia'] ? 'true' : 'false';
|
1978 |
+
|
1979 |
+
$theme = "theme='{$attr['theme']}'";
|
1980 |
+
$front = "front='{$attr['front']}'";
|
1981 |
+
$tweet = "tweet='{$attr['tweet']}'";
|
1982 |
+
$hide_link = "hide_link='{$attr['IncludePageLink']}'";
|
1983 |
+
$hide_button = "hide_button='{$attr['showTweetButton']}'";
|
1984 |
+
$include_via = "include_via='{$attr['IncludeVia']}'";
|
1985 |
+
$align = $attr['align'];
|
1986 |
+
|
1987 |
+
return "<div class='align$align'> [SBCTT $theme $front $tweet $hide_link $hide_button $include_via] </div>";
|
1988 |
+
}
|
1989 |
+
|
1990 |
} // end class
|
1991 |
|
1992 |
global $_ssb_pr;
|
uninstall.php
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
* @package SimpleSocialButtons
|
6 |
* @author WPBrigade
|
7 |
* @since 2.1.5
|
|
|
8 |
*/
|
9 |
|
10 |
// Exit if accessed directly.
|
@@ -26,7 +27,11 @@ $ssb_unintstall_option = array(
|
|
26 |
'ssb_positions',
|
27 |
'ssb_inline',
|
28 |
'ssb_sidebar',
|
|
|
|
|
|
|
29 |
'ssb_advanced',
|
|
|
30 |
'ssb_active_time',
|
31 |
'ssb_follow_twitter_token',
|
32 |
'ssb_review_dismiss',
|
5 |
* @package SimpleSocialButtons
|
6 |
* @author WPBrigade
|
7 |
* @since 2.1.5
|
8 |
+
* @version 3.1.0
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly.
|
27 |
'ssb_positions',
|
28 |
'ssb_inline',
|
29 |
'ssb_sidebar',
|
30 |
+
'ssb_flyin',
|
31 |
+
'ssb_popup',
|
32 |
+
'ssb_media',
|
33 |
'ssb_advanced',
|
34 |
+
'ssb_click_to_tweet',
|
35 |
'ssb_active_time',
|
36 |
'ssb_follow_twitter_token',
|
37 |
'ssb_review_dismiss',
|