Simple Social Media Share Buttons – Social Sharing for Everyone - Version 3.0.0

Version Description

  • Please upgrade immediately. Many enhancements, new features and bugfixes.

=

Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.1.4 to 3.0.0

assets/css/admin.css CHANGED
@@ -16,7 +16,7 @@
16
  }
17
 
18
  .ssb_right_sidebar {
19
- width: 255px;
20
  float: right;
21
  min-width: inherit;
22
  box-sizing: border-box;
@@ -2019,5 +2019,8 @@ html[dir="rtl"] .simplesocial-inline-form-section label{
2019
  .checkbox[checked="checked"] ~ #share-count-message{
2020
  display:block;
2021
  }
 
 
 
2022
  /*===== End Code for instruction ======*/
2023
 
16
  }
17
 
18
  .ssb_right_sidebar {
19
+ width: 255px !important;
20
  float: right;
21
  min-width: inherit;
22
  box-sizing: border-box;
2019
  .checkbox[checked="checked"] ~ #share-count-message{
2020
  display:block;
2021
  }
2022
+ .ssb_uninstall_data{
2023
+ padding-left:10px;
2024
+ }
2025
  /*===== End Code for instruction ======*/
2026
 
assets/css/blocks.editor.css ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ssb_panel_wrapper .components-panel__row {
2
+ display: block;
3
+ padding-top: 10px; }
4
+
5
+ .ssb_panel_wrapper .components-base-control {
6
+ width: 100%; }
7
+
8
+ .ssb_panel_wrapper .components-base-control__help {
9
+ overflow-wrap: break-word; }
10
+
11
+ .editor {
12
+ color: black; }
13
+
14
+ .fb-like.small img {
15
+ width: 50px;
16
+ height: 20px; }
17
+
18
+ .fb-like.large img {
19
+ height: 23px; }
20
+
21
+ /*# sourceMappingURL=blocks.editor.css.map*/
assets/css/blocks.editor.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"./assets/css/blocks.editor.css","sources":[],"mappings":";;;;;;;;;;;;;;;;;;;","sourceRoot":""}
assets/css/blocks.style.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ .style {
2
+ color: #eeeeee; }
3
+
4
+ /*# sourceMappingURL=blocks.style.css.map*/
assets/css/blocks.style.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"./assets/css/blocks.style.css","sources":[],"mappings":";;","sourceRoot":""}
assets/css/front.css CHANGED
@@ -2173,7 +2173,7 @@ div[class*="simplesocialbuttons-float"]:not(.simplesocial-simple-icons) button
2173
  div[class*="simplesocialbuttons-float"].simplesocialbuttons:not(.simplesocial-simple-icons) button{
2174
  padding-left: 34px;
2175
  padding-right: 0 !important;
2176
- margin: 10px 0;
2177
  }
2178
  div[class*="simplesocialbuttons-float"].simplesocialbuttons-round-txt:not(.simplesocial-simple-icons) button{
2179
  padding-left: 34px;
@@ -2518,6 +2518,97 @@ div[class*="simplesocialbuttons-float-left-post"] button .ssb_counter{
2518
  .float-lefted-sidebar{
2519
  left: 0;
2520
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2521
  /*===== End of Code for floating share buttons ======*/
2522
  .simplesocialbuttons-float-left-post.float-touched-sidebar{
2523
  left: 52px !important;
@@ -2778,6 +2869,12 @@ div[class*="simplesocialbuttons-float"].simplesocial-simple-round button[class*
2778
  display: none;
2779
  }
2780
 
 
 
 
 
 
 
2781
  /*========================================
2782
  = End of compaitabilty code =
2783
  ========================================*/
2173
  div[class*="simplesocialbuttons-float"].simplesocialbuttons:not(.simplesocial-simple-icons) button{
2174
  padding-left: 34px;
2175
  padding-right: 0 !important;
2176
+ margin: 3px 0;
2177
  }
2178
  div[class*="simplesocialbuttons-float"].simplesocialbuttons-round-txt:not(.simplesocial-simple-icons) button{
2179
  padding-left: 34px;
2518
  .float-lefted-sidebar{
2519
  left: 0;
2520
  }
2521
+
2522
+ /*----Hide sidebar-----*/
2523
+
2524
+ .ssb-hide-floating-bar {
2525
+ -webkit-box-sizing: border-box;
2526
+ box-sizing: border-box;
2527
+ width: 24px;
2528
+ height: 24px;
2529
+ line-height: 22px;
2530
+ border-radius: 13px;
2531
+ vertical-align: middle;
2532
+ display: -webkit-box;
2533
+ display: -ms-flexbox;
2534
+ display: flex;
2535
+ -webkit-box-align: center;
2536
+ -ms-flex-align: center;
2537
+ align-items: center;
2538
+ -webkit-box-pack: center;
2539
+ -ms-flex-pack: center;
2540
+ justify-content: center;
2541
+ cursor: pointer;
2542
+ text-align: center;
2543
+ opacity: 0;
2544
+ fill: #232323;
2545
+ -webkit-transition: opacity .25s,fill .15s,background .15s,-webkit-transform .15s;
2546
+ transition: opacity .25s,fill .15s,background .15s,transform .15s,-webkit-transform .15s;
2547
+ -webkit-transform: translateX(-10px);
2548
+ -ms-transform: translateX(-10px);
2549
+ transform: translateX(-10px);
2550
+ margin-top: 6px;
2551
+ position: relative;
2552
+ left: 50%;
2553
+ margin-left: -13px;
2554
+ }
2555
+ .simplesocialbuttons-float-right-center .ssb-hide-floating-bar{
2556
+ clear: both;
2557
+ }
2558
+ .simplesocialbuttons-float-left-center:hover .ssb-hide-floating-bar,
2559
+ .simplesocialbuttons-float-right-center:hover .ssb-hide-floating-bar{
2560
+ opacity: .6;
2561
+ -webkit-transform: translateX(0);
2562
+ -ms-transform: translateX(0);
2563
+ transform: translateX(0);
2564
+ }
2565
+ .ssb-hide-floating-bar:hover {
2566
+ background-color: rgba(0,0,0,.4);
2567
+ fill: #fff;
2568
+ opacity: 1;
2569
+ }
2570
+
2571
+ div[class*="simplesocialbuttons-float"] button,
2572
+ div[class*="simplesocialbuttons-float"] .ssb-fb-like,
2573
+ div[class*="simplesocialbuttons-float"] .ssb_total_counter{
2574
+ transition: all 0.2s linear;
2575
+ }
2576
+ .ssb-hide-float-buttons button,
2577
+ .ssb-hide-float-buttons .ssb-fb-like,
2578
+ .ssb-hide-float-buttons .ssb_total_counter{
2579
+
2580
+ transform: translatex(-100%);
2581
+ opacity:0;
2582
+ }
2583
+ .simplesocialbuttons-float-right-center.ssb-hide-float-buttons button,
2584
+ .simplesocialbuttons-float-right-center.ssb-hide-float-buttons .ssb-fb-like,
2585
+ .simplesocialbuttons-float-right-center.ssb-hide-float-buttons .ssb_total_counter{
2586
+ transform: translatex(100%);
2587
+ }
2588
+ .ssb-hide-float-buttons .ssb-hide-floating-bar{
2589
+ background-color: rgba(0,0,0,.4);
2590
+ fill: #fff;
2591
+ opacity: 1;
2592
+ -webkit-transform: translateX(0);
2593
+ -ms-transform: translateX(0);
2594
+ transform: translateX(0);
2595
+ }
2596
+ .ssb-hide-floating-bar svg {
2597
+ transition: all 0.2s linear;
2598
+ }
2599
+ .ssb-hide-float-buttons .ssb-hide-floating-bar svg{
2600
+ transform: rotate(180deg);
2601
+
2602
+ }
2603
+ .simplesocialbuttons-float-right-center .ssb-hide-floating-bar svg{
2604
+ transform: rotate(180deg);
2605
+ }
2606
+ .simplesocialbuttons-float-right-center.ssb-hide-float-buttons .ssb-hide-floating-bar svg{
2607
+ transform: rotate(0deg);
2608
+
2609
+ }
2610
+
2611
+
2612
  /*===== End of Code for floating share buttons ======*/
2613
  .simplesocialbuttons-float-left-post.float-touched-sidebar{
2614
  left: 52px !important;
2869
  display: none;
2870
  }
2871
 
2872
+ /* tweenty */
2873
+
2874
+ .ssb-twenty-twenty .simplesocialbuttons_inline {
2875
+ margin-left: auto;
2876
+ }
2877
+
2878
  /*========================================
2879
  = End of compaitabilty code =
2880
  ========================================*/
assets/js/admin.js CHANGED
@@ -134,7 +134,8 @@
134
 
135
 
136
  //widget js
137
- $(document).on('click', '.get_fb_token', function () {
 
138
  var fb_content = $(this).parent().parent().parent().parent();
139
  var client_id = $(fb_content).find('.fb_app_id').val().trim();
140
  var secret_key = $(fb_content).find('.fb_secret_key').val().trim();
134
 
135
 
136
  //widget js
137
+ $(document).on('click', '.get_fb_token', function (e) {
138
+ e.preventDefault();
139
  var fb_content = $(this).parent().parent().parent().parent();
140
  var client_id = $(fb_content).find('.fb_app_id').val().trim();
141
  var secret_key = $(fb_content).find('.fb_secret_key').val().trim();
assets/js/blocks.editor.js ADDED
@@ -0,0 +1,2727 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 49);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ([
67
+ /* 0 */
68
+ /***/ (function(module, exports) {
69
+
70
+ var core = module.exports = { version: '2.6.10' };
71
+ if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
72
+
73
+
74
+ /***/ }),
75
+ /* 1 */
76
+ /***/ (function(module, exports) {
77
+
78
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
79
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
80
+ ? window : typeof self != 'undefined' && self.Math == Math ? self
81
+ // eslint-disable-next-line no-new-func
82
+ : Function('return this')();
83
+ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
84
+
85
+
86
+ /***/ }),
87
+ /* 2 */
88
+ /***/ (function(module, exports, __webpack_require__) {
89
+
90
+ var anObject = __webpack_require__(10);
91
+ var IE8_DOM_DEFINE = __webpack_require__(32);
92
+ var toPrimitive = __webpack_require__(15);
93
+ var dP = Object.defineProperty;
94
+
95
+ exports.f = __webpack_require__(3) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
96
+ anObject(O);
97
+ P = toPrimitive(P, true);
98
+ anObject(Attributes);
99
+ if (IE8_DOM_DEFINE) try {
100
+ return dP(O, P, Attributes);
101
+ } catch (e) { /* empty */ }
102
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
103
+ if ('value' in Attributes) O[P] = Attributes.value;
104
+ return O;
105
+ };
106
+
107
+
108
+ /***/ }),
109
+ /* 3 */
110
+ /***/ (function(module, exports, __webpack_require__) {
111
+
112
+ // Thank's IE8 for his funny defineProperty
113
+ module.exports = !__webpack_require__(11)(function () {
114
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
115
+ });
116
+
117
+
118
+ /***/ }),
119
+ /* 4 */
120
+ /***/ (function(module, exports) {
121
+
122
+ var hasOwnProperty = {}.hasOwnProperty;
123
+ module.exports = function (it, key) {
124
+ return hasOwnProperty.call(it, key);
125
+ };
126
+
127
+
128
+ /***/ }),
129
+ /* 5 */
130
+ /***/ (function(module, exports, __webpack_require__) {
131
+
132
+ var global = __webpack_require__(1);
133
+ var core = __webpack_require__(0);
134
+ var ctx = __webpack_require__(31);
135
+ var hide = __webpack_require__(6);
136
+ var has = __webpack_require__(4);
137
+ var PROTOTYPE = 'prototype';
138
+
139
+ var $export = function (type, name, source) {
140
+ var IS_FORCED = type & $export.F;
141
+ var IS_GLOBAL = type & $export.G;
142
+ var IS_STATIC = type & $export.S;
143
+ var IS_PROTO = type & $export.P;
144
+ var IS_BIND = type & $export.B;
145
+ var IS_WRAP = type & $export.W;
146
+ var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
147
+ var expProto = exports[PROTOTYPE];
148
+ var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
149
+ var key, own, out;
150
+ if (IS_GLOBAL) source = name;
151
+ for (key in source) {
152
+ // contains in native
153
+ own = !IS_FORCED && target && target[key] !== undefined;
154
+ if (own && has(exports, key)) continue;
155
+ // export native or passed
156
+ out = own ? target[key] : source[key];
157
+ // prevent global pollution for namespaces
158
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
159
+ // bind timers to global for call from export context
160
+ : IS_BIND && own ? ctx(out, global)
161
+ // wrap global constructors for prevent change them in library
162
+ : IS_WRAP && target[key] == out ? (function (C) {
163
+ var F = function (a, b, c) {
164
+ if (this instanceof C) {
165
+ switch (arguments.length) {
166
+ case 0: return new C();
167
+ case 1: return new C(a);
168
+ case 2: return new C(a, b);
169
+ } return new C(a, b, c);
170
+ } return C.apply(this, arguments);
171
+ };
172
+ F[PROTOTYPE] = C[PROTOTYPE];
173
+ return F;
174
+ // make static versions for prototype methods
175
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
176
+ // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
177
+ if (IS_PROTO) {
178
+ (exports.virtual || (exports.virtual = {}))[key] = out;
179
+ // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
180
+ if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
181
+ }
182
+ }
183
+ };
184
+ // type bitmap
185
+ $export.F = 1; // forced
186
+ $export.G = 2; // global
187
+ $export.S = 4; // static
188
+ $export.P = 8; // proto
189
+ $export.B = 16; // bind
190
+ $export.W = 32; // wrap
191
+ $export.U = 64; // safe
192
+ $export.R = 128; // real proto method for `library`
193
+ module.exports = $export;
194
+
195
+
196
+ /***/ }),
197
+ /* 6 */
198
+ /***/ (function(module, exports, __webpack_require__) {
199
+
200
+ var dP = __webpack_require__(2);
201
+ var createDesc = __webpack_require__(12);
202
+ module.exports = __webpack_require__(3) ? function (object, key, value) {
203
+ return dP.f(object, key, createDesc(1, value));
204
+ } : function (object, key, value) {
205
+ object[key] = value;
206
+ return object;
207
+ };
208
+
209
+
210
+ /***/ }),
211
+ /* 7 */
212
+ /***/ (function(module, exports) {
213
+
214
+ module.exports = function (it) {
215
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
216
+ };
217
+
218
+
219
+ /***/ }),
220
+ /* 8 */
221
+ /***/ (function(module, exports, __webpack_require__) {
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__(17);
226
+ module.exports = function (it) {
227
+ return IObject(defined(it));
228
+ };
229
+
230
+
231
+ /***/ }),
232
+ /* 9 */
233
+ /***/ (function(module, exports, __webpack_require__) {
234
+
235
+ var store = __webpack_require__(19)('wks');
236
+ var uid = __webpack_require__(14);
237
+ var Symbol = __webpack_require__(1).Symbol;
238
+ var USE_SYMBOL = typeof Symbol == 'function';
239
+
240
+ var $exports = module.exports = function (name) {
241
+ return store[name] || (store[name] =
242
+ USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
243
+ };
244
+
245
+ $exports.store = store;
246
+
247
+
248
+ /***/ }),
249
+ /* 10 */
250
+ /***/ (function(module, exports, __webpack_require__) {
251
+
252
+ var isObject = __webpack_require__(7);
253
+ module.exports = function (it) {
254
+ if (!isObject(it)) throw TypeError(it + ' is not an object!');
255
+ return it;
256
+ };
257
+
258
+
259
+ /***/ }),
260
+ /* 11 */
261
+ /***/ (function(module, exports) {
262
+
263
+ module.exports = function (exec) {
264
+ try {
265
+ return !!exec();
266
+ } catch (e) {
267
+ return true;
268
+ }
269
+ };
270
+
271
+
272
+ /***/ }),
273
+ /* 12 */
274
+ /***/ (function(module, exports) {
275
+
276
+ module.exports = function (bitmap, value) {
277
+ return {
278
+ enumerable: !(bitmap & 1),
279
+ configurable: !(bitmap & 2),
280
+ writable: !(bitmap & 4),
281
+ value: value
282
+ };
283
+ };
284
+
285
+
286
+ /***/ }),
287
+ /* 13 */
288
+ /***/ (function(module, exports) {
289
+
290
+ module.exports = true;
291
+
292
+
293
+ /***/ }),
294
+ /* 14 */
295
+ /***/ (function(module, exports) {
296
+
297
+ var id = 0;
298
+ var px = Math.random();
299
+ module.exports = function (key) {
300
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
301
+ };
302
+
303
+
304
+ /***/ }),
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
311
+ // and the second argument - flag - preferred type is a string
312
+ module.exports = function (it, S) {
313
+ if (!isObject(it)) return it;
314
+ var fn, val;
315
+ if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
316
+ if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
317
+ if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
318
+ throw TypeError("Can't convert object to primitive value");
319
+ };
320
+
321
+
322
+ /***/ }),
323
+ /* 16 */
324
+ /***/ (function(module, exports, __webpack_require__) {
325
+
326
+ // 7.1.13 ToObject(argument)
327
+ var defined = __webpack_require__(17);
328
+ module.exports = function (it) {
329
+ return Object(defined(it));
330
+ };
331
+
332
+
333
+ /***/ }),
334
+ /* 17 */
335
+ /***/ (function(module, exports) {
336
+
337
+ // 7.2.1 RequireObjectCoercible(argument)
338
+ module.exports = function (it) {
339
+ if (it == undefined) throw TypeError("Can't call method on " + it);
340
+ return it;
341
+ };
342
+
343
+
344
+ /***/ }),
345
+ /* 18 */
346
+ /***/ (function(module, exports, __webpack_require__) {
347
+
348
+ var shared = __webpack_require__(19)('keys');
349
+ var uid = __webpack_require__(14);
350
+ module.exports = function (key) {
351
+ return shared[key] || (shared[key] = uid(key));
352
+ };
353
+
354
+
355
+ /***/ }),
356
+ /* 19 */
357
+ /***/ (function(module, exports, __webpack_require__) {
358
+
359
+ var core = __webpack_require__(0);
360
+ var global = __webpack_require__(1);
361
+ var SHARED = '__core-js_shared__';
362
+ var store = global[SHARED] || (global[SHARED] = {});
363
+
364
+ (module.exports = function (key, value) {
365
+ return store[key] || (store[key] = value !== undefined ? value : {});
366
+ })('versions', []).push({
367
+ version: core.version,
368
+ mode: __webpack_require__(13) ? 'pure' : 'global',
369
+ copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
370
+ });
371
+
372
+
373
+ /***/ }),
374
+ /* 20 */
375
+ /***/ (function(module, exports) {
376
+
377
+ // 7.1.4 ToInteger
378
+ var ceil = Math.ceil;
379
+ var floor = Math.floor;
380
+ module.exports = function (it) {
381
+ return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
382
+ };
383
+
384
+
385
+ /***/ }),
386
+ /* 21 */
387
+ /***/ (function(module, exports) {
388
+
389
+ module.exports = {};
390
+
391
+
392
+ /***/ }),
393
+ /* 22 */
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__(24);
400
+ var IE_PROTO = __webpack_require__(18)('IE_PROTO');
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__(33)('iframe');
408
+ var i = enumBugKeys.length;
409
+ var lt = '<';
410
+ var gt = '>';
411
+ var iframeDocument;
412
+ iframe.style.display = 'none';
413
+ __webpack_require__(70).appendChild(iframe);
414
+ iframe.src = 'javascript:'; // eslint-disable-line no-script-url
415
+ // createDict = iframe.contentWindow.Object;
416
+ // html.removeChild(iframe);
417
+ iframeDocument = iframe.contentWindow.document;
418
+ iframeDocument.open();
419
+ iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
420
+ iframeDocument.close();
421
+ createDict = iframeDocument.F;
422
+ while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
423
+ return createDict();
424
+ };
425
+
426
+ module.exports = Object.create || function create(O, Properties) {
427
+ var result;
428
+ if (O !== null) {
429
+ Empty[PROTOTYPE] = anObject(O);
430
+ result = new Empty();
431
+ Empty[PROTOTYPE] = null;
432
+ // add "__proto__" for Object.getPrototypeOf polyfill
433
+ result[IE_PROTO] = O;
434
+ } else result = createDict();
435
+ return Properties === undefined ? result : dPs(result, Properties);
436
+ };
437
+
438
+
439
+ /***/ }),
440
+ /* 23 */
441
+ /***/ (function(module, exports, __webpack_require__) {
442
+
443
+ // 19.1.2.14 / 15.2.3.14 Object.keys(O)
444
+ var $keys = __webpack_require__(43);
445
+ var enumBugKeys = __webpack_require__(24);
446
+
447
+ module.exports = Object.keys || function keys(O) {
448
+ return $keys(O, enumBugKeys);
449
+ };
450
+
451
+
452
+ /***/ }),
453
+ /* 24 */
454
+ /***/ (function(module, exports) {
455
+
456
+ // IE 8- don't enum bug keys
457
+ module.exports = (
458
+ 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
459
+ ).split(',');
460
+
461
+
462
+ /***/ }),
463
+ /* 25 */
464
+ /***/ (function(module, exports, __webpack_require__) {
465
+
466
+ var def = __webpack_require__(2).f;
467
+ var has = __webpack_require__(4);
468
+ var TAG = __webpack_require__(9)('toStringTag');
469
+
470
+ module.exports = function (it, tag, stat) {
471
+ if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
472
+ };
473
+
474
+
475
+ /***/ }),
476
+ /* 26 */
477
+ /***/ (function(module, exports, __webpack_require__) {
478
+
479
+ exports.f = __webpack_require__(9);
480
+
481
+
482
+ /***/ }),
483
+ /* 27 */
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__(26);
490
+ var defineProperty = __webpack_require__(2).f;
491
+ module.exports = function (name) {
492
+ var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
493
+ if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
494
+ };
495
+
496
+
497
+ /***/ }),
498
+ /* 28 */
499
+ /***/ (function(module, exports) {
500
+
501
+ exports.f = {}.propertyIsEnumerable;
502
+
503
+
504
+ /***/ }),
505
+ /* 29 */
506
+ /***/ (function(module, exports, __webpack_require__) {
507
+
508
+ "use strict";
509
+
510
+
511
+ exports.__esModule = true;
512
+
513
+ var _defineProperty = __webpack_require__(30);
514
+
515
+ var _defineProperty2 = _interopRequireDefault(_defineProperty);
516
+
517
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
518
+
519
+ exports.default = function (obj, key, value) {
520
+ if (key in obj) {
521
+ (0, _defineProperty2.default)(obj, key, {
522
+ value: value,
523
+ enumerable: true,
524
+ configurable: true,
525
+ writable: true
526
+ });
527
+ } else {
528
+ obj[key] = value;
529
+ }
530
+
531
+ return obj;
532
+ };
533
+
534
+ /***/ }),
535
+ /* 30 */
536
+ /***/ (function(module, exports, __webpack_require__) {
537
+
538
+ module.exports = { "default": __webpack_require__(51), __esModule: true };
539
+
540
+ /***/ }),
541
+ /* 31 */
542
+ /***/ (function(module, exports, __webpack_require__) {
543
+
544
+ // optional / simple context binding
545
+ var aFunction = __webpack_require__(53);
546
+ module.exports = function (fn, that, length) {
547
+ aFunction(fn);
548
+ if (that === undefined) return fn;
549
+ switch (length) {
550
+ case 1: return function (a) {
551
+ return fn.call(that, a);
552
+ };
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
+ return function (Constructor, protoProps, staticProps) {
714
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
715
+ if (staticProps) defineProperties(Constructor, staticProps);
716
+ return Constructor;
717
+ };
718
+ }();
719
+
720
+ /***/ }),
721
+ /* 39 */
722
+ /***/ (function(module, exports, __webpack_require__) {
723
+
724
+ "use strict";
725
+
726
+
727
+ exports.__esModule = true;
728
+
729
+ var _typeof2 = __webpack_require__(40);
730
+
731
+ var _typeof3 = _interopRequireDefault(_typeof2);
732
+
733
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
734
+
735
+ exports.default = function (self, call) {
736
+ if (!self) {
737
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
738
+ }
739
+
740
+ return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
741
+ };
742
+
743
+ /***/ }),
744
+ /* 40 */
745
+ /***/ (function(module, exports, __webpack_require__) {
746
+
747
+ "use strict";
748
+
749
+
750
+ exports.__esModule = true;
751
+
752
+ var _iterator = __webpack_require__(60);
753
+
754
+ var _iterator2 = _interopRequireDefault(_iterator);
755
+
756
+ var _symbol = __webpack_require__(75);
757
+
758
+ var _symbol2 = _interopRequireDefault(_symbol);
759
+
760
+ var _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; };
761
+
762
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
763
+
764
+ exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) {
765
+ return typeof obj === "undefined" ? "undefined" : _typeof(obj);
766
+ } : function (obj) {
767
+ return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj);
768
+ };
769
+
770
+ /***/ }),
771
+ /* 41 */
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__(42);
779
+ var hide = __webpack_require__(6);
780
+ var Iterators = __webpack_require__(21);
781
+ var $iterCreate = __webpack_require__(64);
782
+ var setToStringTag = __webpack_require__(25);
783
+ var getPrototypeOf = __webpack_require__(36);
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';
787
+ var KEYS = 'keys';
788
+ var VALUES = 'values';
789
+
790
+ var returnThis = function () { return this; };
791
+
792
+ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
793
+ $iterCreate(Constructor, NAME, next);
794
+ var getMethod = function (kind) {
795
+ if (!BUGGY && kind in proto) return proto[kind];
796
+ switch (kind) {
797
+ case KEYS: return function keys() { return new Constructor(this, kind); };
798
+ case VALUES: return function values() { return new Constructor(this, kind); };
799
+ } return function entries() { return new Constructor(this, kind); };
800
+ };
801
+ var TAG = NAME + ' Iterator';
802
+ var DEF_VALUES = DEFAULT == VALUES;
803
+ var VALUES_BUG = false;
804
+ var proto = Base.prototype;
805
+ var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
806
+ var $default = $native || getMethod(DEFAULT);
807
+ var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
808
+ var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
809
+ var methods, key, IteratorPrototype;
810
+ // Fix native
811
+ if ($anyNative) {
812
+ IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
813
+ if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
814
+ // Set @@toStringTag to native iterators
815
+ setToStringTag(IteratorPrototype, TAG, true);
816
+ // fix for some old engines
817
+ if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
818
+ }
819
+ }
820
+ // fix Array#{values, @@iterator}.name in V8 / FF
821
+ if (DEF_VALUES && $native && $native.name !== VALUES) {
822
+ VALUES_BUG = true;
823
+ $default = function values() { return $native.call(this); };
824
+ }
825
+ // Define iterator
826
+ if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
827
+ hide(proto, ITERATOR, $default);
828
+ }
829
+ // Plug for library
830
+ Iterators[NAME] = $default;
831
+ Iterators[TAG] = returnThis;
832
+ if (DEFAULT) {
833
+ methods = {
834
+ values: DEF_VALUES ? $default : getMethod(VALUES),
835
+ keys: IS_SET ? $default : getMethod(KEYS),
836
+ entries: $entries
837
+ };
838
+ if (FORCED) for (key in methods) {
839
+ if (!(key in proto)) redefine(proto, key, methods[key]);
840
+ } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
841
+ }
842
+ return methods;
843
+ };
844
+
845
+
846
+ /***/ }),
847
+ /* 42 */
848
+ /***/ (function(module, exports, __webpack_require__) {
849
+
850
+ module.exports = __webpack_require__(6);
851
+
852
+
853
+ /***/ }),
854
+ /* 43 */
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__(18)('IE_PROTO');
861
+
862
+ module.exports = function (object, names) {
863
+ var O = toIObject(object);
864
+ var i = 0;
865
+ var result = [];
866
+ var key;
867
+ for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
868
+ // Don't enum bug & hidden keys
869
+ while (names.length > i) if (has(O, key = names[i++])) {
870
+ ~arrayIndexOf(result, key) || result.push(key);
871
+ }
872
+ return result;
873
+ };
874
+
875
+
876
+ /***/ }),
877
+ /* 44 */
878
+ /***/ (function(module, exports) {
879
+
880
+ var toString = {}.toString;
881
+
882
+ module.exports = function (it) {
883
+ return toString.call(it).slice(8, -1);
884
+ };
885
+
886
+
887
+ /***/ }),
888
+ /* 45 */
889
+ /***/ (function(module, exports) {
890
+
891
+ exports.f = Object.getOwnPropertySymbols;
892
+
893
+
894
+ /***/ }),
895
+ /* 46 */
896
+ /***/ (function(module, exports, __webpack_require__) {
897
+
898
+ // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
899
+ var $keys = __webpack_require__(43);
900
+ var hiddenKeys = __webpack_require__(24).concat('length', 'prototype');
901
+
902
+ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
903
+ return $keys(O, hiddenKeys);
904
+ };
905
+
906
+
907
+ /***/ }),
908
+ /* 47 */
909
+ /***/ (function(module, exports, __webpack_require__) {
910
+
911
+ var pIE = __webpack_require__(28);
912
+ var createDesc = __webpack_require__(12);
913
+ var toIObject = __webpack_require__(8);
914
+ var toPrimitive = __webpack_require__(15);
915
+ var has = __webpack_require__(4);
916
+ var IE8_DOM_DEFINE = __webpack_require__(32);
917
+ var gOPD = Object.getOwnPropertyDescriptor;
918
+
919
+ exports.f = __webpack_require__(3) ? gOPD : function getOwnPropertyDescriptor(O, P) {
920
+ O = toIObject(O);
921
+ P = toPrimitive(P, true);
922
+ if (IE8_DOM_DEFINE) try {
923
+ return gOPD(O, P);
924
+ } catch (e) { /* empty */ }
925
+ if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
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__) {
971
+
972
+ "use strict";
973
+ 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__(29);
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__(34);
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__);
988
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(55);
989
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);
990
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__settings__ = __webpack_require__(56);
991
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__buttons__ = __webpack_require__(92);
992
+
993
+ /**
994
+ * Block dependencies.
995
+ */
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+ /**
1003
+ * Block libraries
1004
+ */
1005
+
1006
+ var __ = wp.i18n.__;
1007
+ var Fragment = wp.element.Fragment;
1008
+ var _wp$editor = wp.editor,
1009
+ InspectorControls = _wp$editor.InspectorControls,
1010
+ AlignmentToolbar = _wp$editor.AlignmentToolbar,
1011
+ BlockControls = _wp$editor.BlockControls,
1012
+ BlockAlignmentToolbar = _wp$editor.BlockAlignmentToolbar;
1013
+ var registerBlockType = wp.blocks.registerBlockType;
1014
+
1015
+
1016
+ var SSB_ALIGNMENT_CONTROLS = [{
1017
+ icon: "editor-alignleft",
1018
+ title: __("Align Left"),
1019
+ align: "left"
1020
+ }, {
1021
+ icon: "editor-aligncenter",
1022
+ title: __("Align Center"),
1023
+ align: "centered"
1024
+ }, {
1025
+ icon: "editor-alignright",
1026
+ title: __("Align Right"),
1027
+ align: "right"
1028
+ }];
1029
+
1030
+ /* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType("ssb/shortcode", {
1031
+ title: __("Simple Social Buttons"),
1032
+ description: __("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."),
1033
+ category: "common",
1034
+ icon: "networking",
1035
+ keywords: [__("Social Share"), __("Button"), __("ssb")],
1036
+ attributes: {
1037
+ theme: {
1038
+ type: "string",
1039
+ default: "simple-icons"
1040
+ },
1041
+ counter: {
1042
+ type: "boolean",
1043
+ default: false
1044
+ },
1045
+ showTotalCount: {
1046
+ type: "boolean",
1047
+ default: false
1048
+ },
1049
+ align: {
1050
+ type: "string",
1051
+ default: ""
1052
+ },
1053
+ order: {
1054
+ type: "string",
1055
+ default: "fbshare,twitter,linkedin"
1056
+ },
1057
+ likeButtonSize: {
1058
+ type: "string",
1059
+ default: "small"
1060
+ },
1061
+ alignment: {
1062
+ type: "string",
1063
+ default: "left"
1064
+ }
1065
+ },
1066
+ getEditWrapperProps: function getEditWrapperProps(_ref) {
1067
+ var align = _ref.align;
1068
+
1069
+ if ("center" === align || "wide" === align || "full" === align) {
1070
+ return { "data-align": align };
1071
+ }
1072
+ },
1073
+
1074
+ supports: {
1075
+ // Turn off ability to edit HTML of block content
1076
+ html: false,
1077
+ // Turn off reusable block feature
1078
+ reusable: false
1079
+ },
1080
+ edit: function edit(props) {
1081
+ var _props$attributes = props.attributes,
1082
+ alignment = _props$attributes.alignment,
1083
+ align = _props$attributes.align,
1084
+ theme = _props$attributes.theme,
1085
+ counter = _props$attributes.counter,
1086
+ className = props.className,
1087
+ setAttributes = props.setAttributes;
1088
+
1089
+ var mainClasses = __WEBPACK_IMPORTED_MODULE_1_classnames___default()(className, "simplesocialbuttons", "simplesocialbuttons_inline", __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "simplesocial-" + theme, theme), __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "align" + align, align), { "ssb_counter-activate": counter }, __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "simplesocialbuttons-align-" + alignment, alignment));
1090
+ return wp.element.createElement(
1091
+ Fragment,
1092
+ null,
1093
+ wp.element.createElement(
1094
+ BlockControls,
1095
+ null,
1096
+ wp.element.createElement(BlockAlignmentToolbar, {
1097
+ value: align,
1098
+ onChange: function onChange(align) {
1099
+ return setAttributes({ align: align });
1100
+ },
1101
+ controls: ["center", "wide", "full"]
1102
+ }),
1103
+ wp.element.createElement(AlignmentToolbar, {
1104
+ value: alignment,
1105
+ onChange: function onChange(alignment) {
1106
+ return setAttributes({ alignment: alignment });
1107
+ },
1108
+ alignmentControls: SSB_ALIGNMENT_CONTROLS
1109
+ })
1110
+ ),
1111
+ wp.element.createElement(
1112
+ InspectorControls,
1113
+ null,
1114
+ wp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__settings__["a" /* default */], props)
1115
+ ),
1116
+ wp.element.createElement(
1117
+ "div",
1118
+ { className: mainClasses },
1119
+ wp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__buttons__["a" /* default */], props)
1120
+ )
1121
+ );
1122
+ },
1123
+ save: function save(props) {
1124
+ return null;
1125
+ }
1126
+ }));
1127
+
1128
+ /***/ }),
1129
+ /* 51 */
1130
+ /***/ (function(module, exports, __webpack_require__) {
1131
+
1132
+ __webpack_require__(52);
1133
+ var $Object = __webpack_require__(0).Object;
1134
+ module.exports = function defineProperty(it, key, desc) {
1135
+ return $Object.defineProperty(it, key, desc);
1136
+ };
1137
+
1138
+
1139
+ /***/ }),
1140
+ /* 52 */
1141
+ /***/ (function(module, exports, __webpack_require__) {
1142
+
1143
+ var $export = __webpack_require__(5);
1144
+ // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
1145
+ $export($export.S + $export.F * !__webpack_require__(3), 'Object', { defineProperty: __webpack_require__(2).f });
1146
+
1147
+
1148
+ /***/ }),
1149
+ /* 53 */
1150
+ /***/ (function(module, exports) {
1151
+
1152
+ module.exports = function (it) {
1153
+ if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1154
+ return it;
1155
+ };
1156
+
1157
+
1158
+ /***/ }),
1159
+ /* 54 */
1160
+ /***/ (function(module, exports) {
1161
+
1162
+ // removed by extract-text-webpack-plugin
1163
+
1164
+ /***/ }),
1165
+ /* 55 */
1166
+ /***/ (function(module, exports) {
1167
+
1168
+ // removed by extract-text-webpack-plugin
1169
+
1170
+ /***/ }),
1171
+ /* 56 */
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__(35);
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__(37);
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__(38);
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__(39);
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__(48);
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
+
1187
+
1188
+
1189
+
1190
+ var __ = wp.i18n.__;
1191
+ var _wp$element = wp.element,
1192
+ Component = _wp$element.Component,
1193
+ Fragment = _wp$element.Fragment;
1194
+ var _wp$components = wp.components,
1195
+ PanelBody = _wp$components.PanelBody,
1196
+ PanelRow = _wp$components.PanelRow,
1197
+ SelectControl = _wp$components.SelectControl,
1198
+ ToggleControl = _wp$components.ToggleControl,
1199
+ TextControl = _wp$components.TextControl;
1200
+ var AlignmentToolbar = wp.editor.AlignmentToolbar;
1201
+
1202
+ var Settings = function (_Component) {
1203
+ __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default()(Settings, _Component);
1204
+
1205
+ function Settings() {
1206
+ __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_classCallCheck___default()(this, Settings);
1207
+
1208
+ 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));
1209
+ }
1210
+
1211
+ __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_createClass___default()(Settings, [{
1212
+ key: "render",
1213
+ value: function render() {
1214
+ var _props = this.props,
1215
+ _props$attributes = _props.attributes,
1216
+ theme = _props$attributes.theme,
1217
+ counter = _props$attributes.counter,
1218
+ order = _props$attributes.order,
1219
+ likeButtonSize = _props$attributes.likeButtonSize,
1220
+ showTotalCount = _props$attributes.showTotalCount,
1221
+ setAttributes = _props.setAttributes;
1222
+
1223
+ return wp.element.createElement(
1224
+ Fragment,
1225
+ null,
1226
+ wp.element.createElement(
1227
+ PanelBody,
1228
+ {
1229
+ title: __("Theme"),
1230
+ initialOpen: true,
1231
+ className: "ssb_panel_wrapper"
1232
+ },
1233
+ wp.element.createElement(
1234
+ PanelRow,
1235
+ null,
1236
+ wp.element.createElement(SelectControl, {
1237
+ value: theme,
1238
+ options: [{ label: "Theme1", value: "sm-round" }, { label: "Theme2", value: "simple-round" }, { label: "Theme3", value: "round-txt" }, { label: "Theme4", value: "round-btm-border" }, { label: "Flat", value: "flat-button-border" }, { label: "Circle", value: "round-icon" }, { label: "Official", value: "simple-icons" }],
1239
+ onChange: function onChange(theme) {
1240
+ return setAttributes({ theme: theme });
1241
+ }
1242
+ })
1243
+ )
1244
+ ),
1245
+ wp.element.createElement(
1246
+ PanelBody,
1247
+ {
1248
+ title: __("Configuration"),
1249
+ initialOpen: true,
1250
+ className: "ssb_panel_wrapper"
1251
+ },
1252
+ wp.element.createElement(
1253
+ PanelRow,
1254
+ null,
1255
+ wp.element.createElement(ToggleControl, {
1256
+ label: __("Share Counter"),
1257
+ checked: counter,
1258
+ onChange: function onChange(counter) {
1259
+ setAttributes({ counter: !!counter });
1260
+ }
1261
+ }),
1262
+ counter && wp.element.createElement(ToggleControl, {
1263
+ label: __("Total Counts"),
1264
+ checked: showTotalCount,
1265
+ onChange: function onChange(showTotalCount) {
1266
+ setAttributes({ showTotalCount: !!showTotalCount });
1267
+ }
1268
+ }),
1269
+ wp.element.createElement(TextControl, {
1270
+ help: "Supported Networks: fbshare,twitter,linkedin,pinterest,reddit,whatsapp,viber,tumblr,messenger,email,print,fblike",
1271
+ label: __("Order"),
1272
+ value: order,
1273
+ onChange: function onChange(order) {
1274
+ setAttributes({ order: order });
1275
+ }
1276
+ }),
1277
+ wp.element.createElement(SelectControl, {
1278
+ label: __("Like button size"),
1279
+ value: likeButtonSize,
1280
+ options: [{ label: "Small", value: "small" }, { label: "Large", value: "large" }],
1281
+ onChange: function onChange(size) {
1282
+ return setAttributes({ likeButtonSize: size });
1283
+ }
1284
+ })
1285
+ )
1286
+ )
1287
+ );
1288
+ }
1289
+ }]);
1290
+
1291
+ return Settings;
1292
+ }(Component);
1293
+
1294
+ /* harmony default export */ __webpack_exports__["a"] = (Settings);
1295
+
1296
+ /***/ }),
1297
+ /* 57 */
1298
+ /***/ (function(module, exports, __webpack_require__) {
1299
+
1300
+ __webpack_require__(58);
1301
+ module.exports = __webpack_require__(0).Object.getPrototypeOf;
1302
+
1303
+
1304
+ /***/ }),
1305
+ /* 58 */
1306
+ /***/ (function(module, exports, __webpack_require__) {
1307
+
1308
+ // 19.1.2.9 Object.getPrototypeOf(O)
1309
+ var toObject = __webpack_require__(16);
1310
+ var $getPrototypeOf = __webpack_require__(36);
1311
+
1312
+ __webpack_require__(59)('getPrototypeOf', function () {
1313
+ return function getPrototypeOf(it) {
1314
+ return $getPrototypeOf(toObject(it));
1315
+ };
1316
+ });
1317
+
1318
+
1319
+ /***/ }),
1320
+ /* 59 */
1321
+ /***/ (function(module, exports, __webpack_require__) {
1322
+
1323
+ // most Object methods by ES6 should accept primitives
1324
+ var $export = __webpack_require__(5);
1325
+ var core = __webpack_require__(0);
1326
+ var fails = __webpack_require__(11);
1327
+ module.exports = function (KEY, exec) {
1328
+ var fn = (core.Object || {})[KEY] || Object[KEY];
1329
+ var exp = {};
1330
+ exp[KEY] = exec(fn);
1331
+ $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
1332
+ };
1333
+
1334
+
1335
+ /***/ }),
1336
+ /* 60 */
1337
+ /***/ (function(module, exports, __webpack_require__) {
1338
+
1339
+ module.exports = { "default": __webpack_require__(61), __esModule: true };
1340
+
1341
+ /***/ }),
1342
+ /* 61 */
1343
+ /***/ (function(module, exports, __webpack_require__) {
1344
+
1345
+ __webpack_require__(62);
1346
+ __webpack_require__(71);
1347
+ module.exports = __webpack_require__(26).f('iterator');
1348
+
1349
+
1350
+ /***/ }),
1351
+ /* 62 */
1352
+ /***/ (function(module, exports, __webpack_require__) {
1353
+
1354
+ "use strict";
1355
+
1356
+ var $at = __webpack_require__(63)(true);
1357
+
1358
+ // 21.1.3.27 String.prototype[@@iterator]()
1359
+ __webpack_require__(41)(String, 'String', function (iterated) {
1360
+ this._t = String(iterated); // target
1361
+ this._i = 0; // next index
1362
+ // 21.1.5.2.1 %StringIteratorPrototype%.next()
1363
+ }, function () {
1364
+ var O = this._t;
1365
+ var index = this._i;
1366
+ var point;
1367
+ if (index >= O.length) return { value: undefined, done: true };
1368
+ point = $at(O, index);
1369
+ this._i += point.length;
1370
+ return { value: point, done: false };
1371
+ });
1372
+
1373
+
1374
+ /***/ }),
1375
+ /* 63 */
1376
+ /***/ (function(module, exports, __webpack_require__) {
1377
+
1378
+ var toInteger = __webpack_require__(20);
1379
+ var defined = __webpack_require__(17);
1380
+ // true -> String#at
1381
+ // false -> String#codePointAt
1382
+ module.exports = function (TO_STRING) {
1383
+ return function (that, pos) {
1384
+ var s = String(defined(that));
1385
+ var i = toInteger(pos);
1386
+ var l = s.length;
1387
+ var a, b;
1388
+ if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
1389
+ a = s.charCodeAt(i);
1390
+ return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
1391
+ ? TO_STRING ? s.charAt(i) : a
1392
+ : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
1393
+ };
1394
+ };
1395
+
1396
+
1397
+ /***/ }),
1398
+ /* 64 */
1399
+ /***/ (function(module, exports, __webpack_require__) {
1400
+
1401
+ "use strict";
1402
+
1403
+ var create = __webpack_require__(22);
1404
+ var descriptor = __webpack_require__(12);
1405
+ var setToStringTag = __webpack_require__(25);
1406
+ var IteratorPrototype = {};
1407
+
1408
+ // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
1409
+ __webpack_require__(6)(IteratorPrototype, __webpack_require__(9)('iterator'), function () { return this; });
1410
+
1411
+ module.exports = function (Constructor, NAME, next) {
1412
+ Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
1413
+ setToStringTag(Constructor, NAME + ' Iterator');
1414
+ };
1415
+
1416
+
1417
+ /***/ }),
1418
+ /* 65 */
1419
+ /***/ (function(module, exports, __webpack_require__) {
1420
+
1421
+ var dP = __webpack_require__(2);
1422
+ var anObject = __webpack_require__(10);
1423
+ var getKeys = __webpack_require__(23);
1424
+
1425
+ module.exports = __webpack_require__(3) ? Object.defineProperties : function defineProperties(O, Properties) {
1426
+ anObject(O);
1427
+ var keys = getKeys(Properties);
1428
+ var length = keys.length;
1429
+ var i = 0;
1430
+ var P;
1431
+ while (length > i) dP.f(O, P = keys[i++], Properties[P]);
1432
+ return O;
1433
+ };
1434
+
1435
+
1436
+ /***/ }),
1437
+ /* 66 */
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__(44);
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);
1445
+ };
1446
+
1447
+
1448
+ /***/ }),
1449
+ /* 67 */
1450
+ /***/ (function(module, exports, __webpack_require__) {
1451
+
1452
+ // false -> Array#indexOf
1453
+ // true -> Array#includes
1454
+ var toIObject = __webpack_require__(8);
1455
+ var toLength = __webpack_require__(68);
1456
+ var toAbsoluteIndex = __webpack_require__(69);
1457
+ module.exports = function (IS_INCLUDES) {
1458
+ return function ($this, el, fromIndex) {
1459
+ var O = toIObject($this);
1460
+ var length = toLength(O.length);
1461
+ var index = toAbsoluteIndex(fromIndex, length);
1462
+ var value;
1463
+ // Array#includes uses SameValueZero equality algorithm
1464
+ // eslint-disable-next-line no-self-compare
1465
+ if (IS_INCLUDES && el != el) while (length > index) {
1466
+ value = O[index++];
1467
+ // eslint-disable-next-line no-self-compare
1468
+ if (value != value) return true;
1469
+ // Array#indexOf ignores holes, Array#includes - not
1470
+ } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
1471
+ if (O[index] === el) return IS_INCLUDES || index || 0;
1472
+ } return !IS_INCLUDES && -1;
1473
+ };
1474
+ };
1475
+
1476
+
1477
+ /***/ }),
1478
+ /* 68 */
1479
+ /***/ (function(module, exports, __webpack_require__) {
1480
+
1481
+ // 7.1.15 ToLength
1482
+ var toInteger = __webpack_require__(20);
1483
+ var min = Math.min;
1484
+ module.exports = function (it) {
1485
+ return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1486
+ };
1487
+
1488
+
1489
+ /***/ }),
1490
+ /* 69 */
1491
+ /***/ (function(module, exports, __webpack_require__) {
1492
+
1493
+ var toInteger = __webpack_require__(20);
1494
+ var max = Math.max;
1495
+ var min = Math.min;
1496
+ module.exports = function (index, length) {
1497
+ index = toInteger(index);
1498
+ return index < 0 ? max(index + length, 0) : min(index, length);
1499
+ };
1500
+
1501
+
1502
+ /***/ }),
1503
+ /* 70 */
1504
+ /***/ (function(module, exports, __webpack_require__) {
1505
+
1506
+ var document = __webpack_require__(1).document;
1507
+ module.exports = document && document.documentElement;
1508
+
1509
+
1510
+ /***/ }),
1511
+ /* 71 */
1512
+ /***/ (function(module, exports, __webpack_require__) {
1513
+
1514
+ __webpack_require__(72);
1515
+ var global = __webpack_require__(1);
1516
+ var hide = __webpack_require__(6);
1517
+ var Iterators = __webpack_require__(21);
1518
+ var TO_STRING_TAG = __webpack_require__(9)('toStringTag');
1519
+
1520
+ var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
1521
+ 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
1522
+ 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
1523
+ 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
1524
+ 'TextTrackList,TouchList').split(',');
1525
+
1526
+ for (var i = 0; i < DOMIterables.length; i++) {
1527
+ var NAME = DOMIterables[i];
1528
+ var Collection = global[NAME];
1529
+ var proto = Collection && Collection.prototype;
1530
+ if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
1531
+ Iterators[NAME] = Iterators.Array;
1532
+ }
1533
+
1534
+
1535
+ /***/ }),
1536
+ /* 72 */
1537
+ /***/ (function(module, exports, __webpack_require__) {
1538
+
1539
+ "use strict";
1540
+
1541
+ var addToUnscopables = __webpack_require__(73);
1542
+ var step = __webpack_require__(74);
1543
+ var Iterators = __webpack_require__(21);
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__(41)(Array, 'Array', function (iterated, kind) {
1551
+ this._t = toIObject(iterated); // target
1552
+ this._i = 0; // next index
1553
+ this._k = kind; // kind
1554
+ // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
1555
+ }, function () {
1556
+ var O = this._t;
1557
+ var kind = this._k;
1558
+ var index = this._i++;
1559
+ if (!O || index >= O.length) {
1560
+ this._t = undefined;
1561
+ return step(1);
1562
+ }
1563
+ if (kind == 'keys') return step(0, index);
1564
+ if (kind == 'values') return step(0, O[index]);
1565
+ return step(0, [index, O[index]]);
1566
+ }, 'values');
1567
+
1568
+ // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
1569
+ Iterators.Arguments = Iterators.Array;
1570
+
1571
+ addToUnscopables('keys');
1572
+ addToUnscopables('values');
1573
+ addToUnscopables('entries');
1574
+
1575
+
1576
+ /***/ }),
1577
+ /* 73 */
1578
+ /***/ (function(module, exports) {
1579
+
1580
+ module.exports = function () { /* empty */ };
1581
+
1582
+
1583
+ /***/ }),
1584
+ /* 74 */
1585
+ /***/ (function(module, exports) {
1586
+
1587
+ module.exports = function (done, value) {
1588
+ return { value: value, done: !!done };
1589
+ };
1590
+
1591
+
1592
+ /***/ }),
1593
+ /* 75 */
1594
+ /***/ (function(module, exports, __webpack_require__) {
1595
+
1596
+ module.exports = { "default": __webpack_require__(76), __esModule: true };
1597
+
1598
+ /***/ }),
1599
+ /* 76 */
1600
+ /***/ (function(module, exports, __webpack_require__) {
1601
+
1602
+ __webpack_require__(77);
1603
+ __webpack_require__(82);
1604
+ __webpack_require__(83);
1605
+ __webpack_require__(84);
1606
+ module.exports = __webpack_require__(0).Symbol;
1607
+
1608
+
1609
+ /***/ }),
1610
+ /* 77 */
1611
+ /***/ (function(module, exports, __webpack_require__) {
1612
+
1613
+ "use strict";
1614
+
1615
+ // ECMAScript 6 symbols shim
1616
+ 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__(42);
1621
+ var META = __webpack_require__(78).KEY;
1622
+ var $fails = __webpack_require__(11);
1623
+ var shared = __webpack_require__(19);
1624
+ var setToStringTag = __webpack_require__(25);
1625
+ var uid = __webpack_require__(14);
1626
+ var wks = __webpack_require__(9);
1627
+ var wksExt = __webpack_require__(26);
1628
+ var wksDefine = __webpack_require__(27);
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__(16);
1634
+ var toIObject = __webpack_require__(8);
1635
+ var toPrimitive = __webpack_require__(15);
1636
+ var createDesc = __webpack_require__(12);
1637
+ var _create = __webpack_require__(22);
1638
+ var gOPNExt = __webpack_require__(81);
1639
+ var $GOPD = __webpack_require__(47);
1640
+ var $GOPS = __webpack_require__(45);
1641
+ var $DP = __webpack_require__(2);
1642
+ var $keys = __webpack_require__(23);
1643
+ var gOPD = $GOPD.f;
1644
+ var dP = $DP.f;
1645
+ var gOPN = gOPNExt.f;
1646
+ var $Symbol = global.Symbol;
1647
+ var $JSON = global.JSON;
1648
+ var _stringify = $JSON && $JSON.stringify;
1649
+ var PROTOTYPE = 'prototype';
1650
+ var HIDDEN = wks('_hidden');
1651
+ var TO_PRIMITIVE = wks('toPrimitive');
1652
+ var isEnum = {}.propertyIsEnumerable;
1653
+ var SymbolRegistry = shared('symbol-registry');
1654
+ var AllSymbols = shared('symbols');
1655
+ var OPSymbols = shared('op-symbols');
1656
+ var ObjectProto = Object[PROTOTYPE];
1657
+ var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
1658
+ var QObject = global.QObject;
1659
+ // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
1660
+ var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
1661
+
1662
+ // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
1663
+ var setSymbolDesc = DESCRIPTORS && $fails(function () {
1664
+ return _create(dP({}, 'a', {
1665
+ get: function () { return dP(this, 'a', { value: 7 }).a; }
1666
+ })).a != 7;
1667
+ }) ? function (it, key, D) {
1668
+ var protoDesc = gOPD(ObjectProto, key);
1669
+ if (protoDesc) delete ObjectProto[key];
1670
+ dP(it, key, D);
1671
+ if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
1672
+ } : dP;
1673
+
1674
+ var wrap = function (tag) {
1675
+ var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
1676
+ sym._k = tag;
1677
+ return sym;
1678
+ };
1679
+
1680
+ var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
1681
+ return typeof it == 'symbol';
1682
+ } : function (it) {
1683
+ return it instanceof $Symbol;
1684
+ };
1685
+
1686
+ var $defineProperty = function defineProperty(it, key, D) {
1687
+ if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
1688
+ anObject(it);
1689
+ key = toPrimitive(key, true);
1690
+ anObject(D);
1691
+ if (has(AllSymbols, key)) {
1692
+ if (!D.enumerable) {
1693
+ if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
1694
+ it[HIDDEN][key] = true;
1695
+ } else {
1696
+ if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
1697
+ D = _create(D, { enumerable: createDesc(0, false) });
1698
+ } return setSymbolDesc(it, key, D);
1699
+ } return dP(it, key, D);
1700
+ };
1701
+ var $defineProperties = function defineProperties(it, P) {
1702
+ anObject(it);
1703
+ var keys = enumKeys(P = toIObject(P));
1704
+ var i = 0;
1705
+ var l = keys.length;
1706
+ var key;
1707
+ while (l > i) $defineProperty(it, key = keys[i++], P[key]);
1708
+ return it;
1709
+ };
1710
+ var $create = function create(it, P) {
1711
+ return P === undefined ? _create(it) : $defineProperties(_create(it), P);
1712
+ };
1713
+ var $propertyIsEnumerable = function propertyIsEnumerable(key) {
1714
+ var E = isEnum.call(this, key = toPrimitive(key, true));
1715
+ if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
1716
+ return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
1717
+ };
1718
+ var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
1719
+ it = toIObject(it);
1720
+ key = toPrimitive(key, true);
1721
+ if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
1722
+ var D = gOPD(it, key);
1723
+ if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
1724
+ return D;
1725
+ };
1726
+ var $getOwnPropertyNames = function getOwnPropertyNames(it) {
1727
+ var names = gOPN(toIObject(it));
1728
+ var result = [];
1729
+ var i = 0;
1730
+ var key;
1731
+ while (names.length > i) {
1732
+ if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
1733
+ } return result;
1734
+ };
1735
+ var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
1736
+ var IS_OP = it === ObjectProto;
1737
+ var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
1738
+ var result = [];
1739
+ var i = 0;
1740
+ var key;
1741
+ while (names.length > i) {
1742
+ if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
1743
+ } return result;
1744
+ };
1745
+
1746
+ // 19.4.1.1 Symbol([description])
1747
+ if (!USE_NATIVE) {
1748
+ $Symbol = function Symbol() {
1749
+ if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
1750
+ var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
1751
+ var $set = function (value) {
1752
+ if (this === ObjectProto) $set.call(OPSymbols, value);
1753
+ if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
1754
+ setSymbolDesc(this, tag, createDesc(1, value));
1755
+ };
1756
+ if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
1757
+ return wrap(tag);
1758
+ };
1759
+ redefine($Symbol[PROTOTYPE], 'toString', function toString() {
1760
+ return this._k;
1761
+ });
1762
+
1763
+ $GOPD.f = $getOwnPropertyDescriptor;
1764
+ $DP.f = $defineProperty;
1765
+ __webpack_require__(46).f = gOPNExt.f = $getOwnPropertyNames;
1766
+ __webpack_require__(28).f = $propertyIsEnumerable;
1767
+ $GOPS.f = $getOwnPropertySymbols;
1768
+
1769
+ if (DESCRIPTORS && !__webpack_require__(13)) {
1770
+ redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
1771
+ }
1772
+
1773
+ wksExt.f = function (name) {
1774
+ return wrap(wks(name));
1775
+ };
1776
+ }
1777
+
1778
+ $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
1779
+
1780
+ for (var es6Symbols = (
1781
+ // 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
1782
+ 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
1783
+ ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
1784
+
1785
+ for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
1786
+
1787
+ $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
1788
+ // 19.4.2.1 Symbol.for(key)
1789
+ 'for': function (key) {
1790
+ return has(SymbolRegistry, key += '')
1791
+ ? SymbolRegistry[key]
1792
+ : SymbolRegistry[key] = $Symbol(key);
1793
+ },
1794
+ // 19.4.2.5 Symbol.keyFor(sym)
1795
+ keyFor: function keyFor(sym) {
1796
+ if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
1797
+ for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
1798
+ },
1799
+ useSetter: function () { setter = true; },
1800
+ useSimple: function () { setter = false; }
1801
+ });
1802
+
1803
+ $export($export.S + $export.F * !USE_NATIVE, 'Object', {
1804
+ // 19.1.2.2 Object.create(O [, Properties])
1805
+ create: $create,
1806
+ // 19.1.2.4 Object.defineProperty(O, P, Attributes)
1807
+ defineProperty: $defineProperty,
1808
+ // 19.1.2.3 Object.defineProperties(O, Properties)
1809
+ defineProperties: $defineProperties,
1810
+ // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
1811
+ getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
1812
+ // 19.1.2.7 Object.getOwnPropertyNames(O)
1813
+ getOwnPropertyNames: $getOwnPropertyNames,
1814
+ // 19.1.2.8 Object.getOwnPropertySymbols(O)
1815
+ getOwnPropertySymbols: $getOwnPropertySymbols
1816
+ });
1817
+
1818
+ // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
1819
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3443
1820
+ var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
1821
+
1822
+ $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
1823
+ getOwnPropertySymbols: function getOwnPropertySymbols(it) {
1824
+ return $GOPS.f(toObject(it));
1825
+ }
1826
+ });
1827
+
1828
+ // 24.3.2 JSON.stringify(value [, replacer [, space]])
1829
+ $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
1830
+ var S = $Symbol();
1831
+ // MS Edge converts symbol values to JSON as {}
1832
+ // WebKit converts symbol values to JSON as null
1833
+ // V8 throws on boxed symbols
1834
+ return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
1835
+ })), 'JSON', {
1836
+ stringify: function stringify(it) {
1837
+ var args = [it];
1838
+ var i = 1;
1839
+ var replacer, $replacer;
1840
+ while (arguments.length > i) args.push(arguments[i++]);
1841
+ $replacer = replacer = args[1];
1842
+ if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
1843
+ if (!isArray(replacer)) replacer = function (key, value) {
1844
+ if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
1845
+ if (!isSymbol(value)) return value;
1846
+ };
1847
+ args[1] = replacer;
1848
+ return _stringify.apply($JSON, args);
1849
+ }
1850
+ });
1851
+
1852
+ // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
1853
+ $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(6)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
1854
+ // 19.4.3.5 Symbol.prototype[@@toStringTag]
1855
+ setToStringTag($Symbol, 'Symbol');
1856
+ // 20.2.1.9 Math[@@toStringTag]
1857
+ setToStringTag(Math, 'Math', true);
1858
+ // 24.3.3 JSON[@@toStringTag]
1859
+ setToStringTag(global.JSON, 'JSON', true);
1860
+
1861
+
1862
+ /***/ }),
1863
+ /* 78 */
1864
+ /***/ (function(module, exports, __webpack_require__) {
1865
+
1866
+ var META = __webpack_require__(14)('meta');
1867
+ var isObject = __webpack_require__(7);
1868
+ var has = __webpack_require__(4);
1869
+ var setDesc = __webpack_require__(2).f;
1870
+ var id = 0;
1871
+ var isExtensible = Object.isExtensible || function () {
1872
+ return true;
1873
+ };
1874
+ var FREEZE = !__webpack_require__(11)(function () {
1875
+ return isExtensible(Object.preventExtensions({}));
1876
+ });
1877
+ var setMeta = function (it) {
1878
+ setDesc(it, META, { value: {
1879
+ i: 'O' + ++id, // object ID
1880
+ w: {} // weak collections IDs
1881
+ } });
1882
+ };
1883
+ var fastKey = function (it, create) {
1884
+ // return primitive with prefix
1885
+ if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1886
+ if (!has(it, META)) {
1887
+ // can't set metadata to uncaught frozen object
1888
+ if (!isExtensible(it)) return 'F';
1889
+ // not necessary to add metadata
1890
+ if (!create) return 'E';
1891
+ // add missing metadata
1892
+ setMeta(it);
1893
+ // return object ID
1894
+ } return it[META].i;
1895
+ };
1896
+ var getWeak = function (it, create) {
1897
+ if (!has(it, META)) {
1898
+ // can't set metadata to uncaught frozen object
1899
+ if (!isExtensible(it)) return true;
1900
+ // not necessary to add metadata
1901
+ if (!create) return false;
1902
+ // add missing metadata
1903
+ setMeta(it);
1904
+ // return hash weak collections IDs
1905
+ } return it[META].w;
1906
+ };
1907
+ // add metadata on freeze-family methods calling
1908
+ var onFreeze = function (it) {
1909
+ if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1910
+ return it;
1911
+ };
1912
+ var meta = module.exports = {
1913
+ KEY: META,
1914
+ NEED: false,
1915
+ fastKey: fastKey,
1916
+ getWeak: getWeak,
1917
+ onFreeze: onFreeze
1918
+ };
1919
+
1920
+
1921
+ /***/ }),
1922
+ /* 79 */
1923
+ /***/ (function(module, exports, __webpack_require__) {
1924
+
1925
+ // all enumerable object keys, includes symbols
1926
+ var getKeys = __webpack_require__(23);
1927
+ var gOPS = __webpack_require__(45);
1928
+ var pIE = __webpack_require__(28);
1929
+ module.exports = function (it) {
1930
+ var result = getKeys(it);
1931
+ var getSymbols = gOPS.f;
1932
+ if (getSymbols) {
1933
+ var symbols = getSymbols(it);
1934
+ var isEnum = pIE.f;
1935
+ var i = 0;
1936
+ var key;
1937
+ while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
1938
+ } return result;
1939
+ };
1940
+
1941
+
1942
+ /***/ }),
1943
+ /* 80 */
1944
+ /***/ (function(module, exports, __webpack_require__) {
1945
+
1946
+ // 7.2.2 IsArray(argument)
1947
+ var cof = __webpack_require__(44);
1948
+ module.exports = Array.isArray || function isArray(arg) {
1949
+ return cof(arg) == 'Array';
1950
+ };
1951
+
1952
+
1953
+ /***/ }),
1954
+ /* 81 */
1955
+ /***/ (function(module, exports, __webpack_require__) {
1956
+
1957
+ // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
1958
+ var toIObject = __webpack_require__(8);
1959
+ var gOPN = __webpack_require__(46).f;
1960
+ var toString = {}.toString;
1961
+
1962
+ var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
1963
+ ? Object.getOwnPropertyNames(window) : [];
1964
+
1965
+ var getWindowNames = function (it) {
1966
+ try {
1967
+ return gOPN(it);
1968
+ } catch (e) {
1969
+ return windowNames.slice();
1970
+ }
1971
+ };
1972
+
1973
+ module.exports.f = function getOwnPropertyNames(it) {
1974
+ return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
1975
+ };
1976
+
1977
+
1978
+ /***/ }),
1979
+ /* 82 */
1980
+ /***/ (function(module, exports) {
1981
+
1982
+
1983
+
1984
+ /***/ }),
1985
+ /* 83 */
1986
+ /***/ (function(module, exports, __webpack_require__) {
1987
+
1988
+ __webpack_require__(27)('asyncIterator');
1989
+
1990
+
1991
+ /***/ }),
1992
+ /* 84 */
1993
+ /***/ (function(module, exports, __webpack_require__) {
1994
+
1995
+ __webpack_require__(27)('observable');
1996
+
1997
+
1998
+ /***/ }),
1999
+ /* 85 */
2000
+ /***/ (function(module, exports, __webpack_require__) {
2001
+
2002
+ module.exports = { "default": __webpack_require__(86), __esModule: true };
2003
+
2004
+ /***/ }),
2005
+ /* 86 */
2006
+ /***/ (function(module, exports, __webpack_require__) {
2007
+
2008
+ __webpack_require__(87);
2009
+ module.exports = __webpack_require__(0).Object.setPrototypeOf;
2010
+
2011
+
2012
+ /***/ }),
2013
+ /* 87 */
2014
+ /***/ (function(module, exports, __webpack_require__) {
2015
+
2016
+ // 19.1.3.19 Object.setPrototypeOf(O, proto)
2017
+ var $export = __webpack_require__(5);
2018
+ $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(88).set });
2019
+
2020
+
2021
+ /***/ }),
2022
+ /* 88 */
2023
+ /***/ (function(module, exports, __webpack_require__) {
2024
+
2025
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
2026
+ /* eslint-disable no-proto */
2027
+ var isObject = __webpack_require__(7);
2028
+ var anObject = __webpack_require__(10);
2029
+ var check = function (O, proto) {
2030
+ anObject(O);
2031
+ if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
2032
+ };
2033
+ module.exports = {
2034
+ set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2035
+ function (test, buggy, set) {
2036
+ try {
2037
+ set = __webpack_require__(31)(Function.call, __webpack_require__(47).f(Object.prototype, '__proto__').set, 2);
2038
+ set(test, []);
2039
+ buggy = !(test instanceof Array);
2040
+ } catch (e) { buggy = true; }
2041
+ return function setPrototypeOf(O, proto) {
2042
+ check(O, proto);
2043
+ if (buggy) O.__proto__ = proto;
2044
+ else set(O, proto);
2045
+ return O;
2046
+ };
2047
+ }({}, false) : undefined),
2048
+ check: check
2049
+ };
2050
+
2051
+
2052
+ /***/ }),
2053
+ /* 89 */
2054
+ /***/ (function(module, exports, __webpack_require__) {
2055
+
2056
+ module.exports = { "default": __webpack_require__(90), __esModule: true };
2057
+
2058
+ /***/ }),
2059
+ /* 90 */
2060
+ /***/ (function(module, exports, __webpack_require__) {
2061
+
2062
+ __webpack_require__(91);
2063
+ var $Object = __webpack_require__(0).Object;
2064
+ module.exports = function create(P, D) {
2065
+ return $Object.create(P, D);
2066
+ };
2067
+
2068
+
2069
+ /***/ }),
2070
+ /* 91 */
2071
+ /***/ (function(module, exports, __webpack_require__) {
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__(22) });
2076
+
2077
+
2078
+ /***/ }),
2079
+ /* 92 */
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__(29);
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__(35);
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__(37);
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__(38);
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__(39);
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__(48);
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__(34);
2096
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_classnames__);
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+ /**
2104
+ * External dependencies
2105
+ */
2106
+
2107
+
2108
+ var __ = wp.i18n.__;
2109
+ var _wp$element = wp.element,
2110
+ Component = _wp$element.Component,
2111
+ Fragment = _wp$element.Fragment;
2112
+
2113
+ var Buttons = function (_Component) {
2114
+ __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default()(Buttons, _Component);
2115
+
2116
+ function Buttons() {
2117
+ __WEBPACK_IMPORTED_MODULE_2_babel_runtime_helpers_classCallCheck___default()(this, Buttons);
2118
+
2119
+ return __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_possibleConstructorReturn___default()(this, (Buttons.__proto__ || __WEBPACK_IMPORTED_MODULE_1_babel_runtime_core_js_object_get_prototype_of___default()(Buttons)).apply(this, arguments));
2120
+ }
2121
+
2122
+ __WEBPACK_IMPORTED_MODULE_3_babel_runtime_helpers_createClass___default()(Buttons, [{
2123
+ key: "render",
2124
+ value: function render() {
2125
+ var _props$attributes = this.props.attributes,
2126
+ theme = _props$attributes.theme,
2127
+ order = _props$attributes.order,
2128
+ counter = _props$attributes.counter,
2129
+ likeButtonSize = _props$attributes.likeButtonSize,
2130
+ showTotalCount = _props$attributes.showTotalCount;
2131
+
2132
+
2133
+ var output = Array();
2134
+ var showCounter = counter;
2135
+ var buttonStyle = {};
2136
+ //fblike, totalshare -> having issue
2137
+ var knownNetworks = Array("twitter", "pinterest", "fbshare", "linkedin", "reddit", "whatsapp", "viber", "messenger", "email", "fblike", "print", "tumblr");
2138
+
2139
+ var selectedNetworks = order.split(",");
2140
+ if (counter && showTotalCount) {
2141
+ selectedNetworks.push("totalshare");
2142
+ }
2143
+ selectedNetworks.forEach(function (network, index) {
2144
+
2145
+ switch (network) {
2146
+ case "fbshare":
2147
+ if ("simple-icons" === theme) {
2148
+ output.push(wp.element.createElement(
2149
+ "button",
2150
+ { "class": "ssb_fbshare-icon", target: "_blank" },
2151
+ wp.element.createElement(
2152
+ "span",
2153
+ { "class": "icon" },
2154
+ wp.element.createElement(
2155
+ "svg",
2156
+ {
2157
+ xmlns: "http://www.w3.org/2000/svg",
2158
+ viewBox: "0 0 16 16",
2159
+ "class": "_1pbq",
2160
+ color: "#ffffff"
2161
+ },
2162
+ wp.element.createElement("path", {
2163
+ fill: "#ffffff",
2164
+ "fill-rule": "evenodd",
2165
+ "class": "icon",
2166
+ 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"
2167
+ })
2168
+ )
2169
+ ),
2170
+ wp.element.createElement(
2171
+ "span",
2172
+ { "class": "simplesocialtxt" },
2173
+ "Share "
2174
+ ),
2175
+ showCounter && wp.element.createElement(
2176
+ "span",
2177
+ { "class": "ssb_counter" },
2178
+ " 5 "
2179
+ )
2180
+ ));
2181
+ } else {
2182
+ output.push(wp.element.createElement(
2183
+ "button",
2184
+ { "class": "simplesocial-fb-share", style: buttonStyle },
2185
+ wp.element.createElement(
2186
+ "span",
2187
+ { "class": "simplesocialtxt" },
2188
+ "Facebook "
2189
+ ),
2190
+ showCounter && wp.element.createElement(
2191
+ "span",
2192
+ { "class": "ssb_counter ssb_fbshare_counter" },
2193
+ "5"
2194
+ )
2195
+ ));
2196
+ }
2197
+ break;
2198
+ case "twitter":
2199
+ if ("simple-icons" === theme) {
2200
+ output.push(wp.element.createElement(
2201
+ "button",
2202
+ { "class": "ssb_tweet-icon", rel: "nofollow" },
2203
+ wp.element.createElement(
2204
+ "span",
2205
+ { "class": "icon" },
2206
+ wp.element.createElement(
2207
+ "svg",
2208
+ { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72" },
2209
+ wp.element.createElement("path", { fill: "none", d: "M0 0h72v72H0z" }),
2210
+ wp.element.createElement("path", {
2211
+ "class": "icon",
2212
+ fill: "#fff",
2213
+ 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"
2214
+ })
2215
+ )
2216
+ ),
2217
+ showCounter ? wp.element.createElement(
2218
+ "i",
2219
+ { "class": "simplesocialtxt" },
2220
+ "Tweet 5 "
2221
+ ) : wp.element.createElement(
2222
+ "i",
2223
+ { "class": "simplesocialtxt" },
2224
+ "Tweet "
2225
+ )
2226
+ ));
2227
+ } else {
2228
+ output.push(wp.element.createElement(
2229
+ "button",
2230
+ {
2231
+ "class": "simplesocial-twt-share",
2232
+ rel: "nofollow",
2233
+ style: buttonStyle
2234
+ },
2235
+ wp.element.createElement(
2236
+ "span",
2237
+ { "class": "simplesocialtxt" },
2238
+ "Twitter"
2239
+ ),
2240
+ showCounter && wp.element.createElement(
2241
+ "span",
2242
+ { "class": "ssb_counter ssb_twitter_counter" },
2243
+ " 5 "
2244
+ )
2245
+ ));
2246
+ }
2247
+ break;
2248
+
2249
+ case "linkedin":
2250
+ if ("simple-icons" === theme) {
2251
+ output.push(wp.element.createElement(
2252
+ "button",
2253
+ { "class": "ssb_linkedin-icon" },
2254
+ wp.element.createElement(
2255
+ "span",
2256
+ { "class": "icon" },
2257
+ wp.element.createElement(
2258
+ "svg",
2259
+ {
2260
+ xmlns: "http://www.w3.org/2000/svg",
2261
+ width: "15",
2262
+ height: "14.1",
2263
+ x: "0",
2264
+ y: "0",
2265
+ version: "1.1",
2266
+ viewBox: "-301.4 387.5 15 14.1",
2267
+ xmlSpace: "preserve"
2268
+ },
2269
+ wp.element.createElement(
2270
+ "g",
2271
+ { fill: "#FFF" },
2272
+ wp.element.createElement("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" })
2273
+ )
2274
+ )
2275
+ ),
2276
+ wp.element.createElement(
2277
+ "span",
2278
+ { "class": "simplesocialtxt" },
2279
+ "Share"
2280
+ )
2281
+ ));
2282
+ } else {
2283
+ output.push(wp.element.createElement(
2284
+ "button",
2285
+ { target: "popup", "class": "simplesocial-linkedin-share" },
2286
+ wp.element.createElement(
2287
+ "span",
2288
+ { "class": "simplesocialtxt" },
2289
+ "LinkedIn"
2290
+ )
2291
+ ));
2292
+ }
2293
+ break;
2294
+ case "pinterest":
2295
+ if ("simple-icons" === theme) {
2296
+ output.push(wp.element.createElement(
2297
+ "button",
2298
+ { "class": "ssb_pinterest-icon" },
2299
+ wp.element.createElement(
2300
+ "span",
2301
+ { "class": "icon" },
2302
+ wp.element.createElement(
2303
+ "svg",
2304
+ {
2305
+ xmlns: "http://www.w3.org/2000/svg",
2306
+ height: "30px",
2307
+ width: "30px",
2308
+ viewBox: "-1 -1 31 31"
2309
+ },
2310
+ wp.element.createElement(
2311
+ "g",
2312
+ null,
2313
+ wp.element.createElement("path", {
2314
+ 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",
2315
+ fill: "#fff",
2316
+ stroke: "#fff",
2317
+ "stroke-width": "1"
2318
+ }),
2319
+ wp.element.createElement("path", {
2320
+ 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",
2321
+ fill: "#bd081c"
2322
+ })
2323
+ )
2324
+ )
2325
+ ),
2326
+ wp.element.createElement(
2327
+ "span",
2328
+ { "class": "simplesocialtxt" },
2329
+ "Pinterest"
2330
+ ),
2331
+ "';",
2332
+ showCounter && wp.element.createElement(
2333
+ "span",
2334
+ { "class": "ssb_counter" },
2335
+ "5"
2336
+ )
2337
+ ));
2338
+ } else {
2339
+ output.push(wp.element.createElement(
2340
+ "button",
2341
+ {
2342
+ rel: "nofollow",
2343
+ "class": "simplesocial-pinterest-share",
2344
+ style: buttonStyle
2345
+ },
2346
+ wp.element.createElement(
2347
+ "span",
2348
+ { "class": "simplesocialtxt" },
2349
+ "Pinterest"
2350
+ ),
2351
+ showCounter && wp.element.createElement(
2352
+ "span",
2353
+ { "class": "ssb_counter ssb_pinterest_counter" },
2354
+ "5"
2355
+ )
2356
+ ));
2357
+ }
2358
+ break;
2359
+ case "totalshare":
2360
+ output.push(wp.element.createElement(
2361
+ "span",
2362
+ { "class": "ssb_total_counter" },
2363
+ "555",
2364
+ wp.element.createElement(
2365
+ "span",
2366
+ null,
2367
+ "Shares"
2368
+ )
2369
+ ));
2370
+ break;
2371
+ case "reddit":
2372
+ if ("simple-icons" === theme) {
2373
+ output.push(wp.element.createElement(
2374
+ "button",
2375
+ { "class": "ssb_reddit-icon" },
2376
+ wp.element.createElement(
2377
+ "span",
2378
+ { "class": "icon" },
2379
+ wp.element.createElement(
2380
+ "svg",
2381
+ {
2382
+ xmlns: "http://www.w3.org/2000/svg",
2383
+ width: "430.117",
2384
+ height: "430.117",
2385
+ x: "0",
2386
+ y: "0",
2387
+ enableBackground: "new 0 0 430.117 430.117",
2388
+ version: "1.1",
2389
+ viewBox: "0 0 430.117 430.117",
2390
+ xmlSpace: "preserve"
2391
+ },
2392
+ wp.element.createElement("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" })
2393
+ )
2394
+ ),
2395
+ wp.element.createElement(
2396
+ "span",
2397
+ { "class": "simplesocialtxt" },
2398
+ "reddit "
2399
+ ),
2400
+ showCounter && wp.element.createElement(
2401
+ "span",
2402
+ { "class": "ssb_counter" },
2403
+ "5"
2404
+ )
2405
+ ));
2406
+ } else {
2407
+ output.push(wp.element.createElement(
2408
+ "button",
2409
+ { "class": "simplesocial-reddit-share", style: buttonStyle },
2410
+ wp.element.createElement(
2411
+ "span",
2412
+ { "class": "simplesocialtxt" },
2413
+ "Reddit"
2414
+ ),
2415
+ showCounter && wp.element.createElement(
2416
+ "span",
2417
+ { "class": "ssb_counter ssb_reddit_counter" },
2418
+ " 5 "
2419
+ )
2420
+ ));
2421
+ }
2422
+ break;
2423
+ case "whatsapp":
2424
+ if ("simple-icons" === theme) {
2425
+ output.push(wp.element.createElement(
2426
+ "button",
2427
+ { "class": "ssb_whatsapp-icon simplesocial-whatsapp-share" },
2428
+ wp.element.createElement(
2429
+ "span",
2430
+ { "class": "icon" },
2431
+ wp.element.createElement(
2432
+ "svg",
2433
+ {
2434
+ xmlns: "http://www.w3.org/2000/svg",
2435
+ width: "512",
2436
+ height: "512",
2437
+ x: "0",
2438
+ y: "0",
2439
+ enableBackground: "new 0 0 90 90",
2440
+ version: "1.1",
2441
+ viewBox: "0 0 90 90",
2442
+ xmlSpace: "preserve"
2443
+ },
2444
+ wp.element.createElement("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" })
2445
+ )
2446
+ ),
2447
+ wp.element.createElement(
2448
+ "span",
2449
+ { "class": "simplesocialtxt" },
2450
+ "Whatsapp"
2451
+ )
2452
+ ));
2453
+ } else {
2454
+ output.push(wp.element.createElement(
2455
+ "button",
2456
+ { "class": "simplesocial-whatsapp-share", style: buttonStyle },
2457
+ wp.element.createElement(
2458
+ "span",
2459
+ { "class": "simplesocialtxt" },
2460
+ "WhatsApp"
2461
+ )
2462
+ ));
2463
+ }
2464
+ break;
2465
+ case "viber":
2466
+ if ("simple-icons" === theme) {
2467
+ output.push(wp.element.createElement(
2468
+ "button",
2469
+ { "class": "simplesocial-viber-share ssb_viber-icon" },
2470
+ wp.element.createElement(
2471
+ "span",
2472
+ { "class": "icon" },
2473
+ wp.element.createElement(
2474
+ "svg",
2475
+ {
2476
+ "aria-labelledby": "simpleicons-viber-icon",
2477
+ role: "img",
2478
+ viewBox: "0 0 24 24",
2479
+ xmlns: "http://www.w3.org/2000/svg"
2480
+ },
2481
+ wp.element.createElement(
2482
+ "title",
2483
+ { id: "simpleicons-viber-icon" },
2484
+ "Viber icon"
2485
+ ),
2486
+ wp.element.createElement("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" })
2487
+ )
2488
+ ),
2489
+ wp.element.createElement(
2490
+ "span",
2491
+ { "class": "simplesocialtxt" },
2492
+ "Viber"
2493
+ )
2494
+ ));
2495
+ } else {
2496
+ output.push(wp.element.createElement(
2497
+ "button",
2498
+ { "class": "simplesocial-viber-share" },
2499
+ wp.element.createElement(
2500
+ "span",
2501
+ { "class": "simplesocialtxt" },
2502
+ "Viber"
2503
+ )
2504
+ ));
2505
+ }
2506
+ break;
2507
+ case "fblike":
2508
+ var likeButtonClasses = __WEBPACK_IMPORTED_MODULE_6_classnames___default()("fb-like", "ssb-fb-like", "fb_iframe_widget", __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, "" + likeButtonSize, likeButtonSize));
2509
+ output.push(wp.element.createElement(
2510
+ "div",
2511
+ {
2512
+ "class": likeButtonClasses,
2513
+ "data-layout": "button_count",
2514
+ "data-action": "like",
2515
+ "data-size": "small",
2516
+ "data-show-faces": "false",
2517
+ "data-share": "false"
2518
+ },
2519
+ wp.element.createElement("img", { src: SSB.plugin_url + "/assets/images/fblike.svg" }),
2520
+ " "
2521
+ ));
2522
+ break;
2523
+ case "messenger":
2524
+ if ("simple-icons" === theme) {
2525
+ output.push(wp.element.createElement(
2526
+ "button",
2527
+ { "class": "simplesocial-viber-share ssb_msng-icon" },
2528
+ wp.element.createElement(
2529
+ "span",
2530
+ { "class": "icon" },
2531
+ wp.element.createElement(
2532
+ "svg",
2533
+ {
2534
+ xmlns: "http://www.w3.org/2000/svg",
2535
+ width: "18",
2536
+ height: "19",
2537
+ x: "0",
2538
+ y: "0",
2539
+ version: "1.1",
2540
+ viewBox: "-889.5 1161 18 19",
2541
+ xmlSpace: "preserve"
2542
+ },
2543
+ wp.element.createElement("path", {
2544
+ fill: "#FFF",
2545
+ 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",
2546
+ opacity: "0.99"
2547
+ })
2548
+ )
2549
+ ),
2550
+ wp.element.createElement(
2551
+ "span",
2552
+ { "class": "simplesocialtxt" },
2553
+ "Messenger"
2554
+ )
2555
+ ));
2556
+ } else {
2557
+ output.push(wp.element.createElement(
2558
+ "button",
2559
+ { "class": "simplesocial-msng-share" },
2560
+ wp.element.createElement(
2561
+ "span",
2562
+ { "class": "simplesocialtxt" },
2563
+ "Messenger"
2564
+ )
2565
+ ));
2566
+ }
2567
+ break;
2568
+ case "email":
2569
+ if ("simple-icons" === theme) {
2570
+ output.push(wp.element.createElement(
2571
+ "button",
2572
+ { "class": "ssb_email-icon simplesocial-email-share" },
2573
+ wp.element.createElement(
2574
+ "span",
2575
+ { "class": "icon" },
2576
+ wp.element.createElement(
2577
+ "svg",
2578
+ {
2579
+ xmlns: "http://www.w3.org/2000/svg",
2580
+ width: "16",
2581
+ height: "11.9",
2582
+ x: "0",
2583
+ y: "0",
2584
+ version: "1.1",
2585
+ viewBox: "-1214.1 1563.9 16 11.9",
2586
+ xmlSpace: "preserve"
2587
+ },
2588
+ wp.element.createElement("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" })
2589
+ )
2590
+ ),
2591
+ wp.element.createElement(
2592
+ "span",
2593
+ { "class": "simplesocialtxt" },
2594
+ "Email"
2595
+ )
2596
+ ));
2597
+ } else {
2598
+ output.push(wp.element.createElement(
2599
+ "button",
2600
+ { "class": "simplesocial-email-share" },
2601
+ wp.element.createElement(
2602
+ "span",
2603
+ { "class": "simplesocialtxt" },
2604
+ "Email"
2605
+ )
2606
+ ));
2607
+ }
2608
+ break;
2609
+ case "print":
2610
+ if ("simple-icons" === theme) {
2611
+ output.push(wp.element.createElement(
2612
+ "button",
2613
+ { "class": " ssb_print-icon simplesocial-email-share" },
2614
+ wp.element.createElement(
2615
+ "span",
2616
+ { "class": "icon" },
2617
+ wp.element.createElement(
2618
+ "svg",
2619
+ {
2620
+ xmlns: "http://www.w3.org/2000/svg",
2621
+ width: "16",
2622
+ height: "13.7",
2623
+ x: "0",
2624
+ y: "0",
2625
+ version: "1.1",
2626
+ viewBox: "-1296.9 1876.4 16 13.7",
2627
+ xmlSpace: "preserve"
2628
+ },
2629
+ wp.element.createElement(
2630
+ "g",
2631
+ { fill: "#FFF" },
2632
+ wp.element.createElement("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" }),
2633
+ wp.element.createElement("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" })
2634
+ )
2635
+ )
2636
+ ),
2637
+ wp.element.createElement(
2638
+ "span",
2639
+ { "class": "simplesocialtxt" },
2640
+ "Print"
2641
+ )
2642
+ ));
2643
+ } else {
2644
+ output.push(wp.element.createElement(
2645
+ "button",
2646
+ { "class": "simplesocial-print-share" },
2647
+ wp.element.createElement(
2648
+ "span",
2649
+ { "class": "simplesocialtxt" },
2650
+ "Print"
2651
+ )
2652
+ ));
2653
+ }
2654
+ break;
2655
+ case "tumblr":
2656
+ if ("simple-icons" === theme) {
2657
+ output.push(wp.element.createElement(
2658
+ "button",
2659
+ { "class": "ssb_tumblr-icon" },
2660
+ wp.element.createElement(
2661
+ "span",
2662
+ { "class": "icon" },
2663
+ wp.element.createElement(
2664
+ "svg",
2665
+ {
2666
+ xmlns: "http://www.w3.org/2000/svg",
2667
+ width: "12.6",
2668
+ height: "17.8",
2669
+ x: "0",
2670
+ y: "0",
2671
+ enableBackground: "new -299.1 388.3 12.6 17.8",
2672
+ version: "1.1",
2673
+ viewBox: "-299.1 388.3 12.6 17.8",
2674
+ xmlSpace: "preserve"
2675
+ },
2676
+ wp.element.createElement("path", {
2677
+ fill: "#FFF",
2678
+ 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"
2679
+ })
2680
+ )
2681
+ ),
2682
+ wp.element.createElement(
2683
+ "span",
2684
+ { "class": "simplesocialtxt" },
2685
+ "tumblr"
2686
+ ),
2687
+ showCounter && wp.element.createElement(
2688
+ "span",
2689
+ { "class": "ssb_counter" },
2690
+ "5"
2691
+ )
2692
+ ));
2693
+ } else {
2694
+ output.push(wp.element.createElement(
2695
+ "button",
2696
+ { "class": "simplesocial-tumblr-share", style: buttonStyle },
2697
+ wp.element.createElement(
2698
+ "span",
2699
+ { "class": "simplesocialtxt" },
2700
+ "Tumblr"
2701
+ ),
2702
+ showCounter && wp.element.createElement(
2703
+ "span",
2704
+ { "class": "ssb_counter ssb_tumblr_counter" },
2705
+ " 5"
2706
+ )
2707
+ ));
2708
+ }
2709
+ }
2710
+ });
2711
+
2712
+ return wp.element.createElement(
2713
+ Fragment,
2714
+ null,
2715
+ output
2716
+ );
2717
+ }
2718
+ }]);
2719
+
2720
+ return Buttons;
2721
+ }(Component);
2722
+
2723
+ /* harmony default export */ __webpack_exports__["a"] = (Buttons);
2724
+
2725
+ /***/ })
2726
+ /******/ ]);
2727
+ //# sourceMappingURL=blocks.editor.js.map
assets/js/blocks.editor.js.map ADDED
@@ -0,0 +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":""}
assets/js/blocks.frontend.js ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // The module cache
3
+ /******/ var installedModules = {};
4
+ /******/
5
+ /******/ // The require function
6
+ /******/ function __webpack_require__(moduleId) {
7
+ /******/
8
+ /******/ // Check if module is in cache
9
+ /******/ if(installedModules[moduleId]) {
10
+ /******/ return installedModules[moduleId].exports;
11
+ /******/ }
12
+ /******/ // Create a new module (and put it into the cache)
13
+ /******/ var module = installedModules[moduleId] = {
14
+ /******/ i: moduleId,
15
+ /******/ l: false,
16
+ /******/ exports: {}
17
+ /******/ };
18
+ /******/
19
+ /******/ // Execute the module function
20
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
+ /******/
22
+ /******/ // Flag the module as loaded
23
+ /******/ module.l = true;
24
+ /******/
25
+ /******/ // Return the exports of the module
26
+ /******/ return module.exports;
27
+ /******/ }
28
+ /******/
29
+ /******/
30
+ /******/ // expose the modules object (__webpack_modules__)
31
+ /******/ __webpack_require__.m = modules;
32
+ /******/
33
+ /******/ // expose the module cache
34
+ /******/ __webpack_require__.c = installedModules;
35
+ /******/
36
+ /******/ // define getter function for harmony exports
37
+ /******/ __webpack_require__.d = function(exports, name, getter) {
38
+ /******/ if(!__webpack_require__.o(exports, name)) {
39
+ /******/ Object.defineProperty(exports, name, {
40
+ /******/ configurable: false,
41
+ /******/ enumerable: true,
42
+ /******/ get: getter
43
+ /******/ });
44
+ /******/ }
45
+ /******/ };
46
+ /******/
47
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
48
+ /******/ __webpack_require__.n = function(module) {
49
+ /******/ var getter = module && module.__esModule ?
50
+ /******/ function getDefault() { return module['default']; } :
51
+ /******/ function getModuleExports() { return module; };
52
+ /******/ __webpack_require__.d(getter, 'a', getter);
53
+ /******/ return getter;
54
+ /******/ };
55
+ /******/
56
+ /******/ // Object.prototype.hasOwnProperty.call
57
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
58
+ /******/
59
+ /******/ // __webpack_public_path__
60
+ /******/ __webpack_require__.p = "";
61
+ /******/
62
+ /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 93);
64
+ /******/ })
65
+ /************************************************************************/
66
+ /******/ ({
67
+
68
+ /***/ 93:
69
+ /***/ (function(module, exports) {
70
+
71
+ console.log('frontend');
72
+
73
+ /***/ })
74
+
75
+ /******/ });
76
+ //# sourceMappingURL=blocks.frontend.js.map
assets/js/blocks.frontend.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"./assets/js/blocks.frontend.js","sources":["webpack:///webpack/bootstrap 9ffe95c46c0b7dfc884d","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 = 93);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 9ffe95c46c0b7dfc884d","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":""}
assets/js/front.js CHANGED
@@ -126,7 +126,7 @@ var ssbPlugin = ssbPlugin || {};
126
  // $('.simplesocialbuttons_inline').addClass('simplesocialbuttons-inline-in');
127
  var sidebarwidth = $('div[class*="simplesocialbuttons-float"]>a:first-child').outerWidth(true);
128
  $('div[class*="simplesocialbuttons-float"]').css('width', sidebarwidth + 'px');
129
- $('.simplesocialbuttons.ssb_counter-activate:not(.simplesocial-round-txt):not(.simplesocial-round-icon) button:not(.simplesocial-viber-share):not(.simplesocial-whatsapp-share):not(.simplesocial-msng-share):not(.simplesocial-email-share):not(.simplesocial-print-share):not(.simplesocial-linkedin-share)').each(function(){
130
  var $elWidth = $(this).children('.ssb_counter').outerWidth();
131
  $(this).css('padding-right', $elWidth + 10);
132
  console.log($elWidth, $elWidth + 10, $(this).attr('class'));
@@ -180,3 +180,17 @@ var ssbPlugin = ssbPlugin || {};
180
  // })
181
 
182
  }(window.jQuery, window, document));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  // $('.simplesocialbuttons_inline').addClass('simplesocialbuttons-inline-in');
127
  var sidebarwidth = $('div[class*="simplesocialbuttons-float"]>a:first-child').outerWidth(true);
128
  $('div[class*="simplesocialbuttons-float"]').css('width', sidebarwidth + 'px');
129
+ $('.simplesocialbuttons.ssb_counter-activate:not(.simplesocial-round-txt):not(.simplesocial-round-icon):not(.simplesocial-simple-icons) button:not(.simplesocial-viber-share):not(.simplesocial-whatsapp-share):not(.simplesocial-msng-share):not(.simplesocial-email-share):not(.simplesocial-print-share):not(.simplesocial-linkedin-share)').each(function(){
130
  var $elWidth = $(this).children('.ssb_counter').outerWidth();
131
  $(this).css('padding-right', $elWidth + 10);
132
  console.log($elWidth, $elWidth + 10, $(this).attr('class'));
180
  // })
181
 
182
  }(window.jQuery, window, document));
183
+
184
+ function docLoadedFun(){
185
+ var hideSidebarButton = '<span class="ssb-hide-floating-bar"> <svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 370.814 370.814"><path d="M292.92 24.848L268.781 0 77.895 185.401l190.886 185.413 24.139-24.853-165.282-160.56"></path></svg> </span>';
186
+ if(document.querySelector('div[class*="simplesocialbuttons-float"]')){
187
+ document.querySelector('div[class*="simplesocialbuttons-float"]').insertAdjacentHTML( 'beforeend', hideSidebarButton )
188
+ document.querySelector('.ssb-hide-floating-bar').addEventListener( 'click' , toggleSidebarButtons)
189
+ }
190
+ }
191
+ document.addEventListener( 'DOMContentLoaded', docLoadedFun );
192
+
193
+ function toggleSidebarButtons(){
194
+ var leftSidebar = document.querySelector('div[class*="simplesocialbuttons-float"]');
195
+ leftSidebar.classList.toggle('ssb-hide-float-buttons')
196
+ }
classes/ssb-admin.php CHANGED
@@ -24,37 +24,18 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
24
  add_action( 'add_meta_boxes', array( $this, 'ssb_meta_box' ) );
25
  add_action( 'save_post', array( $this, 'ssb_save_meta' ), 10, 2 );
26
 
27
- add_filter( 'plugin_action_links', array( $this, 'plugin_action_links' ), 10, 2 );
28
 
29
  add_action( 'admin_footer', array( $this, 'add_deactive_modal' ) );
30
  add_action( 'wp_ajax_ssb_deactivate', array( $this, 'ssb_deactivate' ) );
31
  add_action( 'admin_init', array( $this, 'review_notice' ) );
32
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
33
  add_action( 'in_admin_header', array( $this, 'skip_notices' ), 100000 );
34
- }
35
-
36
- /**
37
- * Add Settings links in plugins.php
38
- *
39
- * @access public
40
- * @since 1.9
41
- * @return string link of the new action.
42
- */
43
- public function plugin_action_links( $links, $file ) {
44
- static $this_plugin;
45
-
46
- if ( ! $this_plugin ) {
47
- $this_plugin = plugin_basename( __FILE__ );
48
- }
49
-
50
- if ( $file == $this_plugin ) {
51
- $settings_link = '<a href="' . admin_url( 'admin.php?page=simple-social-buttons' ) . '">' . __( 'Settings', 'simple-social-buttons' ) . '</a>';
52
- array_unshift( $links, $settings_link );
53
- }
54
 
55
- return $links;
56
  }
57
 
 
58
  /**
59
  * Admin side enqueued script
60
  *
@@ -78,6 +59,20 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
78
  }
79
  }
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  /**
82
  * Register meta box to hide/show SSB plugin on single post or page
83
  *
@@ -92,7 +87,7 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
92
  $selected_post_type = array();
93
  foreach ( $ssb_positions['position'] as $key => $value ) {
94
  $options = get_option( 'ssb_' . $value );
95
- if ( $options['posts'] ) {
96
  foreach ( $options['posts'] as $allow_post_type ) {
97
  $selected_post_type[ $allow_post_type ] = $allow_post_type;
98
  }
@@ -417,6 +412,40 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
417
 
418
  }
419
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
420
  } // end SimpleSocialButtonsPR_Admin
421
 
422
  endif;
24
  add_action( 'add_meta_boxes', array( $this, 'ssb_meta_box' ) );
25
  add_action( 'save_post', array( $this, 'ssb_save_meta' ), 10, 2 );
26
 
27
+ add_filter( 'plugin_row_meta', array( $this, '_row_meta' ), 10, 2 );
28
 
29
  add_action( 'admin_footer', array( $this, 'add_deactive_modal' ) );
30
  add_action( 'wp_ajax_ssb_deactivate', array( $this, 'ssb_deactivate' ) );
31
  add_action( 'admin_init', array( $this, 'review_notice' ) );
32
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
33
  add_action( 'in_admin_header', array( $this, 'skip_notices' ), 100000 );
34
+ add_action( 'enqueue_block_editor_assets', array( $this, 'blocks_scripts' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
 
36
  }
37
 
38
+
39
  /**
40
  * Admin side enqueued script
41
  *
59
  }
60
  }
61
 
62
+ /**
63
+ * Ssb Block editor assets.
64
+ *
65
+ * @since 3.0.0
66
+ * @return void
67
+ */
68
+ public function blocks_scripts() {
69
+ $ssb_block_dependencies = [ 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-components', 'wp-editor' ];
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
+ wp_localize_script( 'ssb-blocks-editor-js', 'SSB', array( 'plugin_url' => SSB_PLUGIN_URL ) );
74
+ }
75
+
76
  /**
77
  * Register meta box to hide/show SSB plugin on single post or page
78
  *
87
  $selected_post_type = array();
88
  foreach ( $ssb_positions['position'] as $key => $value ) {
89
  $options = get_option( 'ssb_' . $value );
90
+ if ( isset( $options['posts'] ) ) {
91
  foreach ( $options['posts'] as $allow_post_type ) {
92
  $selected_post_type[ $allow_post_type ] = $allow_post_type;
93
  }
412
 
413
  }
414
 
415
+
416
+
417
+ /**
418
+ * Add Thumbs Up Icon
419
+ *
420
+ * @access public
421
+ * @since 1.9.0
422
+ * @version 2.1.5
423
+ * @return mixed
424
+ */
425
+ public function _row_meta( $links, $file ) {
426
+
427
+ if ( strpos( $file, 'simple-social-buttons.php' ) !== false ) {
428
+
429
+ echo '<style>.ssb-rate-stars { display: inline-block; color: #ffb900; position: relative; top: 3px; }.ssb-rate-stars svg{ fill:#ffb900; } .ssb-rate-stars svg:hover{ fill:#ffb900 } .ssb-rate-stars svg:hover ~ svg{ fill:none; } </style>';
430
+
431
+ $plugin_rate = 'https://wordpress.org/support/plugin/simple-social-buttons/reviews/?rate=5#new-post';
432
+ $plugin_filter = 'https://wordpress.org/support/plugin/simple-social-buttons/reviews/?filter=5';
433
+ $svg_xmlns = 'https://www.w3.org/2000/svg';
434
+ $svg_icon = '';
435
+
436
+ for ( $i = 0; $i < 5; $i++ ) {
437
+ $svg_icon .= "<svg xmlns='" . esc_url( $svg_xmlns ) . "' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-star'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>";
438
+ }
439
+ // Set link for Reviews.
440
+ $links [] = '<a href=' . esc_url( $plugin_filter ) . ' target="_blank"><span class="dashicons dashicons-thumbs-up"></span> ' . __( 'Vote!', 'simplesocialbuttons' ) . '</a>';
441
+
442
+ $links[] = "<a href='" . esc_url( $plugin_rate ) . "' target='_blank' title='" . esc_html__( 'Rate', 'simplesocialbuttons' ) . "'><i class='ssb-rate-stars'>" . $svg_icon . '</i></a>';
443
+
444
+ }
445
+
446
+ return $links;
447
+ }
448
+
449
  } // end SimpleSocialButtonsPR_Admin
450
 
451
  endif;
classes/ssb-settings-strucutre.php CHANGED
@@ -417,7 +417,7 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
417
  <a href="https://wpbrigade.com/"><img src="<?php echo plugins_url( 'assets/images/ssb_icon.png', plugin_dir_path( __FILE__ ) ); ?>" alt="Simple Social Buttons"></a>
418
  <div class="ssb-top-bar-content">
419
  <h2>Simple Social Buttons -->> <?php _e( 'makes Social Sharing easy for everyone' ); ?></h2>
420
- <p><?php _e( '<strong>Simple Social Buttons</strong> by <strong><a href="https://wpbrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=link-header&utm_campaign=pro-upgrade">WPBrigade</a></strong> adds an advanced set of social media sharing buttons to your WordPress sites, such as: <strong>Google +1</strong>, <strong>Facebook</strong>, <strong>WhatsApp</strong>, <strong>Viber</strong>, <strong>Twitter</strong>, <strong>Reddit</strong>, <strong>LinkedIn</strong> and <strong>Pinterest</strong>. This makes it the most flexible social sharing plugin ever for Everyone.', 'simplesocialbuttons' ); ?></p>
421
  </div>
422
  </div>
423
  <?php
417
  <a href="https://wpbrigade.com/"><img src="<?php echo plugins_url( 'assets/images/ssb_icon.png', plugin_dir_path( __FILE__ ) ); ?>" alt="Simple Social Buttons"></a>
418
  <div class="ssb-top-bar-content">
419
  <h2>Simple Social Buttons -->> <?php _e( 'makes Social Sharing easy for everyone' ); ?></h2>
420
+ <p><?php _e( '<strong>Simple Social Buttons</strong> by <strong><a href="https://wpbrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=link-header&utm_campaign=pro-upgrade">WPBrigade</a></strong> adds an advanced set of social media sharing buttons to your WordPress sites, such as: <strong>Facebook</strong>, <strong>Twitter</strong>, <strong>LinkedIn</strong>, <strong>WhatsApp</strong>, <strong>Viber</strong>, <strong>Reddit</strong> and <strong>Pinterest</strong>. This makes it the most flexible social sharing plugin ever for Everyone.', 'simplesocialbuttons' ); ?></p>
421
  </div>
422
  </div>
423
  <?php
classes/ssb-settings.php CHANGED
@@ -183,6 +183,7 @@ class Ssb_Settings {
183
  'name' => 'icon_space_value',
184
  'type' => 'ssb_text',
185
  'label' => 'Enter the Space in Pixel',
 
186
  'sanitize_callback' => 'sanitize_text_field',
187
  'priority' => '30',
188
  ),
@@ -279,6 +280,7 @@ class Ssb_Settings {
279
  'name' => 'icon_space_value',
280
  'type' => 'ssb_text',
281
  'label' => 'Enter the Space in Pixel',
 
282
  'sanitize_callback' => 'sanitize_text_field',
283
  'priority' => '35',
284
  ),
@@ -417,6 +419,12 @@ class Ssb_Settings {
417
  'type' => 'ssb_checkbox',
418
  'label' => __( 'Http/Https counts resolve:', 'simple-social-buttons' ),
419
  ),
 
 
 
 
 
 
420
  array(
421
  'name' => 'facebook_app_id',
422
  'desc' => '<h4> Facebook App</h4><a href="https://wpbrigade.com/how-to-create-facebook-app-and-get-app-id-and-secret/" target="_blank">how to make App</a>',
@@ -428,6 +436,16 @@ class Ssb_Settings {
428
  'type' => 'ssb_text',
429
  'label' => __( 'Facebook App Secret:', 'simple-social-buttons' ),
430
  ),
 
 
 
 
 
 
 
 
 
 
431
  ),
432
  );
433
 
183
  'name' => 'icon_space_value',
184
  'type' => 'ssb_text',
185
  'label' => 'Enter the Space in Pixel',
186
+ 'placeholder' => '5px',
187
  'sanitize_callback' => 'sanitize_text_field',
188
  'priority' => '30',
189
  ),
280
  'name' => 'icon_space_value',
281
  'type' => 'ssb_text',
282
  'label' => 'Enter the Space in Pixel',
283
+ 'placeholder' => '5px',
284
  'sanitize_callback' => 'sanitize_text_field',
285
  'priority' => '35',
286
  ),
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',
425
+ 'label' => __( 'Remove Settings on Uninstall', 'simple-social-buttons' ),
426
+ 'help' => __( '<span class="ssb_uninstall_data">This tool will remove all Simple Social Button settings upon uninstall.</span>', 'simple-social-button' ),
427
+ ),
428
  array(
429
  'name' => 'facebook_app_id',
430
  'desc' => '<h4> Facebook App</h4><a href="https://wpbrigade.com/how-to-create-facebook-app-and-get-app-id-and-secret/" target="_blank">how to make App</a>',
436
  'type' => 'ssb_text',
437
  'label' => __( 'Facebook App Secret:', 'simple-social-buttons' ),
438
  ),
439
+ array(
440
+ 'name' => 'ssb_css',
441
+ 'label' => __( 'Custom CSS', 'simple-social-buttons-pro' ),
442
+ 'type' => 'ssb_textarea',
443
+ ),
444
+ array(
445
+ 'name' => 'ssb_js',
446
+ 'label' => __( 'Custom JS', 'simple-social-buttons-pro' ),
447
+ 'type' => 'ssb_textarea',
448
+ ),
449
  ),
450
  );
451
 
classes/ssb-widget.php CHANGED
@@ -53,16 +53,18 @@ class Ssb_Follower_Widget extends WP_Widget {
53
  $show_instagram = $instance['show_instagram'];
54
  $show_whatsapp = $instance['show_whatsapp'];
55
 
56
- $facebook_id = $instance['facebook_id'];
57
- $facebook_show_counter = $instance['facebook_show_counter'];
58
- $facebook_text = $instance['facebook_text'];
59
- $facebook_access_token = $instance['facebook_access_token'];
60
-
61
- $twitter_id = $instance['twitter'];
62
- $twitter_show_counter = $instance['twitter_show_counter'];
63
- $twitter_text = $instance['twitter_text'];
64
- $twitter_api_key = $instance['twitter_api_key'];
65
- $twitter_secret_key = $instance['twitter_secret_key'];
 
 
66
 
67
  $youtube_id = $instance['youtube'];
68
  $youtube_show_counter = $instance['youtube_show_counter'];
@@ -89,6 +91,13 @@ class Ssb_Follower_Widget extends WP_Widget {
89
  $pinterest_follower = $this->get_pinterest_followers( $pinterest_id, $pinterest_show_counter );
90
  $instagram_follower = $this->get_instagram_id_followers( $instagram_access_token, $instagram_show_counter );
91
 
 
 
 
 
 
 
 
92
  include SSB_PLUGIN_DIR . '/inc/ssb-widget-front.php';
93
  }
94
 
@@ -126,18 +135,20 @@ class Ssb_Follower_Widget extends WP_Widget {
126
  $show_instagram = ! empty( $instance['show_instagram'] ) ? $instance['show_instagram'] : '';
127
  $show_whatsapp = ! empty( $instance['show_whatsapp'] ) ? $instance['show_whatsapp'] : '';
128
 
129
- $facebook_id = ! empty( $instance['facebook_id'] ) ? $instance['facebook_id'] : '';
130
- $facebook_show_counter = ! empty( $instance['facebook_show_counter'] ) ? $instance['facebook_show_counter'] : '';
131
- $facebook_text = ! empty( $instance['facebook_text'] ) ? $instance['facebook_text'] : '';
132
- $facebook_app_id = ! empty( $instance['facebook_app_id'] ) ? $instance['facebook_app_id'] : '';
133
- $facebook_security_key = ! empty( $instance['facebook_security_key'] ) ? $instance['facebook_security_key'] : '';
134
- $facebook_access_token = ! empty( $instance['facebook_access_token'] ) ? $instance['facebook_access_token'] : '';
135
-
136
- $twitter = ! empty( $instance['twitter'] ) ? $instance['twitter'] : '';
137
- $twitter_api_key = ! empty( $instance['twitter_api_key'] ) ? $instance['twitter_api_key'] : '';
138
- $twitter_show_counter = ! empty( $instance['twitter_show_counter'] ) ? $instance['twitter_show_counter'] : '';
139
- $twitter_text = ! empty( $instance['twitter_text'] ) ? $instance['twitter_text'] : '';
140
- $twitter_secret_key = ! empty( $instance['twitter_secret_key'] ) ? $instance['twitter_secret_key'] : '';
 
 
141
 
142
  $youtube = ! empty( $instance['youtube'] ) ? $instance['youtube'] : '';
143
  $youtube_text = ! empty( $instance['youtube_text'] ) ? $instance['youtube_text'] : '';
@@ -194,18 +205,20 @@ class Ssb_Follower_Widget extends WP_Widget {
194
  $instance['show_instagram'] = ! empty( $new_instance['show_instagram'] ) ? strip_tags( $new_instance['show_instagram'] ) : '0';
195
  $instance['show_whatsapp'] = ! empty( $new_instance['show_whatsapp'] ) ? strip_tags( $new_instance['show_whatsapp'] ) : '0';
196
 
197
- $instance['facebook_id'] = sanitize_text_field( wp_unslash( $new_instance['facebook_id'] ) );
198
- $instance['facebook_app_id'] = sanitize_text_field( wp_unslash( $new_instance['facebook_app_id'] ) );
199
- $instance['facebook_security_key'] = sanitize_text_field( wp_unslash( $new_instance['facebook_security_key'] ) );
200
- $instance['facebook_access_token'] = sanitize_text_field( wp_unslash( $new_instance['facebook_access_token'] ) );
201
- $instance['facebook_show_counter'] = ( ! empty( $new_instance['facebook_show_counter'] ) ) ? strip_tags( $new_instance['facebook_show_counter'] ) : '0';
202
- $instance['facebook_text'] = sanitize_text_field( wp_unslash( $new_instance['facebook_text'] ) );
203
-
204
- $instance['twitter'] = sanitize_text_field( wp_unslash( $new_instance['twitter'] ) );
205
- $instance['twitter_api_key'] = sanitize_text_field( wp_unslash( $new_instance['twitter_api_key'] ) );
206
- $instance['twitter_secret_key'] = sanitize_text_field( wp_unslash( $new_instance['twitter_secret_key'] ) );
207
- $instance['twitter_show_counter'] = ( ! empty( $new_instance['twitter_show_counter'] ) ) ? strip_tags( $new_instance['twitter_show_counter'] ) : '0';
208
- $instance['twitter_text'] = sanitize_text_field( wp_unslash( $new_instance['twitter_text'] ) );
 
 
209
 
210
  $instance['youtube'] = sanitize_text_field( wp_unslash( $new_instance['youtube'] ) );
211
  $instance['youtube_show_counter'] = ( ! empty( $new_instance['youtube_show_counter'] ) ) ? strip_tags( $new_instance['youtube_show_counter'] ) : '0';
@@ -428,7 +441,7 @@ class Ssb_Follower_Widget extends WP_Widget {
428
 
429
  if ( false === get_transient( 'ssb_follow_pinterest_counter' ) ) {
430
 
431
- $metas = get_meta_tags( "http://pinterest.com/$pinterest_id/" );
432
 
433
  $counter = isset( $metas['pinterestapp:followers'] ) ? intval( $metas['pinterestapp:followers'] ) : 0;
434
  $counter = $this->format_number( $counter );
@@ -447,7 +460,7 @@ class Ssb_Follower_Widget extends WP_Widget {
447
  }
448
 
449
  /**
450
- * Passing instagram access token for getting instagram follower
451
  *
452
  * @param $instagram_id
453
  * @param $show_counter
@@ -521,4 +534,4 @@ function ssb_register_widget() {
521
  register_widget( 'Ssb_Follower_Widget' );
522
  }
523
 
524
- add_action( 'widgets_init', 'ssb_register_widget' );
53
  $show_instagram = $instance['show_instagram'];
54
  $show_whatsapp = $instance['show_whatsapp'];
55
 
56
+ $facebook_id = $instance['facebook_id'];
57
+ $facebook_show_counter = $instance['facebook_show_counter'];
58
+ $facebook_text = $instance['facebook_text'];
59
+ $facebook_access_token = $instance['facebook_access_token'];
60
+ $facebook_default_count = $instance['facebook_default_count'];
61
+
62
+ $twitter_id = $instance['twitter'];
63
+ $twitter_show_counter = $instance['twitter_show_counter'];
64
+ $twitter_text = $instance['twitter_text'];
65
+ $twitter_api_key = $instance['twitter_api_key'];
66
+ $twitter_secret_key = $instance['twitter_secret_key'];
67
+ $twitter_default_count = $instance['twitter_default_count'];
68
 
69
  $youtube_id = $instance['youtube'];
70
  $youtube_show_counter = $instance['youtube_show_counter'];
91
  $pinterest_follower = $this->get_pinterest_followers( $pinterest_id, $pinterest_show_counter );
92
  $instagram_follower = $this->get_instagram_id_followers( $instagram_access_token, $instagram_show_counter );
93
 
94
+ if ( ! empty( $facebook_default_count ) && '0' == $fb_likes ) {
95
+ $fb_likes = $facebook_default_count;
96
+ }
97
+
98
+ if ( ! empty( $twitter_default_count ) && '0' == $twitter_follower ) {
99
+ $twitter_follower = $twitter_default_count;
100
+ }
101
  include SSB_PLUGIN_DIR . '/inc/ssb-widget-front.php';
102
  }
103
 
135
  $show_instagram = ! empty( $instance['show_instagram'] ) ? $instance['show_instagram'] : '';
136
  $show_whatsapp = ! empty( $instance['show_whatsapp'] ) ? $instance['show_whatsapp'] : '';
137
 
138
+ $facebook_id = ! empty( $instance['facebook_id'] ) ? $instance['facebook_id'] : '';
139
+ $facebook_show_counter = ! empty( $instance['facebook_show_counter'] ) ? $instance['facebook_show_counter'] : '';
140
+ $facebook_text = ! empty( $instance['facebook_text'] ) ? $instance['facebook_text'] : '';
141
+ $facebook_app_id = ! empty( $instance['facebook_app_id'] ) ? $instance['facebook_app_id'] : '';
142
+ $facebook_security_key = ! empty( $instance['facebook_security_key'] ) ? $instance['facebook_security_key'] : '';
143
+ $facebook_access_token = ! empty( $instance['facebook_access_token'] ) ? $instance['facebook_access_token'] : '';
144
+ $facebook_default_count = ! empty( $instance['facebook_default_count'] ) ? $instance['facebook_default_count'] : '';
145
+
146
+ $twitter = ! empty( $instance['twitter'] ) ? $instance['twitter'] : '';
147
+ $twitter_api_key = ! empty( $instance['twitter_api_key'] ) ? $instance['twitter_api_key'] : '';
148
+ $twitter_show_counter = ! empty( $instance['twitter_show_counter'] ) ? $instance['twitter_show_counter'] : '';
149
+ $twitter_text = ! empty( $instance['twitter_text'] ) ? $instance['twitter_text'] : '';
150
+ $twitter_secret_key = ! empty( $instance['twitter_secret_key'] ) ? $instance['twitter_secret_key'] : '';
151
+ $twitter_default_count = ! empty( $instance['twitter_default_count'] ) ? $instance['twitter_default_count'] : '';
152
 
153
  $youtube = ! empty( $instance['youtube'] ) ? $instance['youtube'] : '';
154
  $youtube_text = ! empty( $instance['youtube_text'] ) ? $instance['youtube_text'] : '';
205
  $instance['show_instagram'] = ! empty( $new_instance['show_instagram'] ) ? strip_tags( $new_instance['show_instagram'] ) : '0';
206
  $instance['show_whatsapp'] = ! empty( $new_instance['show_whatsapp'] ) ? strip_tags( $new_instance['show_whatsapp'] ) : '0';
207
 
208
+ $instance['facebook_id'] = sanitize_text_field( wp_unslash( $new_instance['facebook_id'] ) );
209
+ $instance['facebook_app_id'] = sanitize_text_field( wp_unslash( $new_instance['facebook_app_id'] ) );
210
+ $instance['facebook_security_key'] = sanitize_text_field( wp_unslash( $new_instance['facebook_security_key'] ) );
211
+ $instance['facebook_access_token'] = sanitize_text_field( wp_unslash( $new_instance['facebook_access_token'] ) );
212
+ $instance['facebook_show_counter'] = ( ! empty( $new_instance['facebook_show_counter'] ) ) ? strip_tags( $new_instance['facebook_show_counter'] ) : '0';
213
+ $instance['facebook_text'] = sanitize_text_field( wp_unslash( $new_instance['facebook_text'] ) );
214
+ $instance['facebook_default_count'] = sanitize_text_field( wp_unslash( $new_instance['facebook_default_count'] ) );
215
+
216
+ $instance['twitter'] = sanitize_text_field( wp_unslash( $new_instance['twitter'] ) );
217
+ $instance['twitter_api_key'] = sanitize_text_field( wp_unslash( $new_instance['twitter_api_key'] ) );
218
+ $instance['twitter_secret_key'] = sanitize_text_field( wp_unslash( $new_instance['twitter_secret_key'] ) );
219
+ $instance['twitter_show_counter'] = ( ! empty( $new_instance['twitter_show_counter'] ) ) ? strip_tags( $new_instance['twitter_show_counter'] ) : '0';
220
+ $instance['twitter_text'] = sanitize_text_field( wp_unslash( $new_instance['twitter_text'] ) );
221
+ $instance['twitter_default_count'] = sanitize_text_field( wp_unslash( $new_instance['twitter_default_count'] ) );
222
 
223
  $instance['youtube'] = sanitize_text_field( wp_unslash( $new_instance['youtube'] ) );
224
  $instance['youtube_show_counter'] = ( ! empty( $new_instance['youtube_show_counter'] ) ) ? strip_tags( $new_instance['youtube_show_counter'] ) : '0';
441
 
442
  if ( false === get_transient( 'ssb_follow_pinterest_counter' ) ) {
443
 
444
+ $metas = get_meta_tags( "https://pinterest.com/$pinterest_id/" );
445
 
446
  $counter = isset( $metas['pinterestapp:followers'] ) ? intval( $metas['pinterestapp:followers'] ) : 0;
447
  $counter = $this->format_number( $counter );
460
  }
461
 
462
  /**
463
+ * Passing instagram access tok en for getting instagram follower
464
  *
465
  * @param $instagram_id
466
  * @param $show_counter
534
  register_widget( 'Ssb_Follower_Widget' );
535
  }
536
 
537
+ add_action( 'widgets_init', 'ssb_register_widget');
inc/custom-css.php CHANGED
@@ -95,6 +95,12 @@
95
  margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
96
  }
97
  <?php endif ?>
 
98
 
 
 
 
 
 
99
 
100
  </style>
95
  margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
96
  }
97
  <?php endif ?>
98
+ <?php
99
 
100
+ if( isset( $this->extra_option['ssb_css'] ) && ! empty( $this->extra_option['ssb_css'] ) ){
101
+ esc_attr_e( $this->extra_option['ssb_css'] );
102
+ }
103
+
104
+ ?>
105
 
106
  </style>
inc/ssb-compitabilty.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ // =============== Twenty twenty====================== .
5
+ $current_theme = wp_get_theme();
6
+
7
+ if ( 'twentytwenty' == $current_theme->template ) {
8
+ add_filter( 'body_class', 'ssb_add_body_class' );
9
+ }
10
+
11
+ /**
12
+ * Add special class.
13
+ *
14
+ * @return void
15
+ */
16
+ function ssb_add_body_class( $classes ) {
17
+
18
+ $classes [] = 'ssb-twenty-twenty';
19
+
20
+ return $classes;
21
+ }
inc/ssb-widget-fields.php CHANGED
@@ -49,6 +49,8 @@
49
  <p>
50
  <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_access_token' ) ); ?>"><?php esc_attr_e( 'Facebook Access Token: ', 'simple-social-buttons' ); ?><a href="javascript:void(0)" class="get_fb_token" target="_blank">get access token</a> <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>" id="token_loader" style="display: none"></label>
51
  <input class="widefat fb_access_token" id="<?php echo esc_attr( $this->get_field_id( 'facebook_access_token' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_access_token' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_access_token ); ?>">
 
 
52
  </p>
53
  </div>
54
  <hr/>
@@ -80,6 +82,8 @@
80
  <p>
81
  <label for="<?php echo esc_attr( $this->get_field_id( 'twitter_secret_key' ) ); ?>"><?php esc_attr_e( 'Twitter Secret Key:', 'simple-social-buttons' ); ?></label>
82
  <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter_secret_key' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter_secret_key' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter_secret_key ); ?>">
 
 
83
  </p>
84
 
85
  </div>
49
  <p>
50
  <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_access_token' ) ); ?>"><?php esc_attr_e( 'Facebook Access Token: ', 'simple-social-buttons' ); ?><a href="javascript:void(0)" class="get_fb_token" target="_blank">get access token</a> <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>" id="token_loader" style="display: none"></label>
51
  <input class="widefat fb_access_token" id="<?php echo esc_attr( $this->get_field_id( 'facebook_access_token' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_access_token' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_access_token ); ?>">
52
+ <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_default_count' ) ); ?>"><small><?php esc_html_e( 'Default count to show instead of 0 when API\'s are not available.', 'simple-social-buttons' ); ?></small></label>
53
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'facebook_default_count' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_default_count' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_default_count ); ?>">
54
  </p>
55
  </div>
56
  <hr/>
82
  <p>
83
  <label for="<?php echo esc_attr( $this->get_field_id( 'twitter_secret_key' ) ); ?>"><?php esc_attr_e( 'Twitter Secret Key:', 'simple-social-buttons' ); ?></label>
84
  <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter_secret_key' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter_secret_key' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter_secret_key ); ?>">
85
+ <label for="<?php echo esc_attr( $this->get_field_id( 'twitter_default_count' ) ); ?>"><small><?php esc_html_e( 'Default count to show instead of 0 when API\'s are not available.', 'simple-social-buttons' ); ?></small></label>
86
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter_default_count' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter_default_count' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter_default_count ); ?>">
87
  </p>
88
 
89
  </div>
lang/simple-social-buttons.pot CHANGED
@@ -3,14 +3,14 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Simple Social Buttons\n"
6
- "POT-Creation-Date: 2017-10-28 11:18+0500\n"
7
  "PO-Revision-Date: 2017-10-28 11:17+0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.2\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: simple-social-buttons.php\n"
@@ -21,177 +21,221 @@ msgstr ""
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
- #: classes/ssb-admin.php:44
25
- msgid "Settings"
26
- msgstr ""
27
-
28
- #: classes/ssb-admin.php:83
29
  msgid "SSB Settings"
30
  msgstr ""
31
 
32
- #: classes/ssb-admin.php:101
33
  msgid "Hide Simple Social Buttons"
34
  msgstr ""
35
 
36
- #: classes/ssb-admin.php:268
37
  msgid "Leave A Review?"
38
  msgstr ""
39
 
40
- #: classes/ssb-admin.php:269
41
  msgid ""
42
  "We hope you've enjoyed using Simple Social Buttons! Would you consider "
43
  "leaving us a review on WordPress.org?"
44
  msgstr ""
45
 
46
- #: classes/ssb-admin.php:270
47
  msgid "Sure! I'd love to!"
48
  msgstr ""
49
 
50
- #: classes/ssb-admin.php:271
51
  msgid "I've already left a review"
52
  msgstr ""
53
 
54
- #: classes/ssb-admin.php:272
55
  msgid "Maybe Later"
56
  msgstr ""
57
 
58
- #: classes/ssb-admin.php:273
59
  msgid "Never show again"
60
  msgstr ""
61
 
62
- #: classes/ssb-settings-strucutre.php:409
 
 
 
 
 
 
 
 
63
  msgid "makes Social Sharing easy for everyone"
64
  msgstr ""
65
 
66
- #: classes/ssb-settings-strucutre.php:410
67
  msgid ""
68
  "<strong>Simple Social Buttons</strong> by <strong><a href=\"https://"
69
  "wpbrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=link-"
70
  "header&utm_campaign=pro-upgrade\">WPBrigade</a></strong> adds an advanced "
71
  "set of social media sharing buttons to your WordPress sites, such as: "
72
- "<strong>Google +1</strong>, <strong>Facebook</strong>, <strong>WhatsApp</"
73
- "strong>, <strong>Viber</strong>, <strong>Twitter</strong>, <strong>Reddit</"
74
- "strong>, <strong>LinkedIn</strong> and <strong>Pinterest</strong>. This "
75
- "makes it the most flexible social sharing plugin ever for Everyone."
76
  msgstr ""
77
 
78
- #: classes/ssb-settings-strucutre.php:422
79
  msgid "Spread the Word"
80
  msgstr ""
81
 
82
- #: classes/ssb-settings-strucutre.php:425
83
  msgid "Share on Twitter"
84
  msgstr ""
85
 
86
- #: classes/ssb-settings-strucutre.php:428
87
  msgid "Share on Facebook"
88
  msgstr ""
89
 
90
- #: classes/ssb-settings-strucutre.php:432
91
  msgid "Rate on WordPress.org"
92
  msgstr ""
93
 
94
- #: classes/ssb-settings-strucutre.php:441
95
  msgid "Subscribe Newsletter"
96
  msgstr ""
97
 
98
- #: classes/ssb-settings-strucutre.php:444
99
  msgid "Email"
100
  msgstr ""
101
 
102
- #: classes/ssb-settings-strucutre.php:449
103
  msgid "Name"
104
  msgstr ""
105
 
106
- #: classes/ssb-settings-strucutre.php:465
107
  msgid "Recommended Plugins"
108
  msgstr ""
109
 
110
- #: classes/ssb-settings-strucutre.php:687
111
  msgid "Choose File"
112
  msgstr ""
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  #: classes/ssb-settings.php:30
 
 
 
 
 
 
 
 
 
 
 
 
115
  msgid "Social Buttons"
116
  msgstr ""
117
 
118
- #: classes/ssb-settings.php:35
119
  msgid "Social Buttons Designs"
120
  msgstr ""
121
 
122
- #: classes/ssb-settings.php:40
123
  msgid "Social Buttons Postions"
124
  msgstr ""
125
 
126
- #: classes/ssb-settings.php:45
127
  msgid "Sidebar"
128
  msgstr ""
129
 
130
- #: classes/ssb-settings.php:50
131
  msgid "On Media"
132
  msgstr ""
133
 
134
- #: classes/ssb-settings.php:55
135
  msgid "Popup"
136
  msgstr ""
137
 
138
- #: classes/ssb-settings.php:60
139
  msgid "Fly In"
140
  msgstr ""
141
 
142
- #: classes/ssb-settings.php:65
143
  msgid "InLine"
144
  msgstr ""
145
 
146
- #: classes/ssb-settings.php:70
147
  msgid "Additional features"
148
  msgstr ""
149
 
150
- #: classes/ssb-settings.php:122
151
  msgid "Sidebar Orientation"
152
  msgstr ""
153
 
154
- #: classes/ssb-settings.php:123 classes/ssb-settings.php:201
155
  msgid "<h4>Display Settings</h4>"
156
  msgstr ""
157
 
158
- #: classes/ssb-settings.php:134
159
  msgid "Intro Animation"
160
  msgstr ""
161
 
162
- #: classes/ssb-settings.php:149 classes/ssb-settings.php:240
 
 
 
 
 
 
 
 
163
  msgid "Display Share Counts"
164
  msgstr ""
165
 
166
- #: classes/ssb-settings.php:155 classes/ssb-settings.php:246
167
  msgid "Display Total Shares"
168
  msgstr ""
169
 
170
- #: classes/ssb-settings.php:161 classes/ssb-settings.php:252
171
  msgid "Add Icon Spacing"
172
  msgstr ""
173
 
174
- #: classes/ssb-settings.php:174 classes/ssb-settings.php:265
175
  msgid "Hide On Mobile Devices"
176
  msgstr ""
177
 
178
- #: classes/ssb-settings.php:180 classes/ssb-settings.php:290
179
  msgid "Post type Settings"
180
  msgstr ""
181
 
182
- #: classes/ssb-settings.php:181 classes/ssb-settings.php:291
183
- #: classes/ssb-settings.php:333
184
  msgid "Multi checkbox description"
185
  msgstr ""
186
 
187
- #: classes/ssb-settings.php:189
188
  msgid ""
189
  "Want even more fine tuned control over your Sidebar Social Buttons Styling?"
190
  msgstr ""
191
 
192
- #: classes/ssb-settings.php:190 classes/ssb-settings.php:300
193
- #: classes/ssb-settings.php:347 classes/ssb-settings.php:356
194
- #: classes/ssb-settings.php:365
195
  msgid ""
196
  "By upgrading to Simple Social Buttons Pro, you get access to Styling Social "
197
  "buttons of your own choice that matches with your website color schemes. "
@@ -201,59 +245,133 @@ msgid ""
201
  "more!"
202
  msgstr ""
203
 
204
- #: classes/ssb-settings.php:200
205
  msgid "Icon Position"
206
  msgstr ""
207
 
208
- #: classes/ssb-settings.php:213
209
  msgid "Icon Alignment"
210
  msgstr ""
211
 
212
- #: classes/ssb-settings.php:225
213
  msgid "Animation"
214
  msgstr ""
215
 
216
- #: classes/ssb-settings.php:271
217
  msgid "Show at Category pages"
218
  msgstr ""
219
 
220
- #: classes/ssb-settings.php:277
221
  msgid "Show at Archive pages"
222
  msgstr ""
223
 
224
- #: classes/ssb-settings.php:284
225
  msgid "Show at Tag pages"
226
  msgstr ""
227
 
228
- #: classes/ssb-settings.php:299
 
 
 
 
 
 
 
 
229
  msgid "Want to style the Inline Social buttons matches your theme colors?"
230
  msgstr ""
231
 
232
- #: classes/ssb-settings.php:317
233
  msgid "Icon Style"
234
  msgstr ""
235
 
236
- #: classes/ssb-settings.php:332
237
  msgid "Postions"
238
  msgstr ""
239
 
240
- #: classes/ssb-settings.php:346
241
  msgid "Show Social Sharing buttons on images or photos in your posts/pages."
242
  msgstr ""
243
 
244
- #: classes/ssb-settings.php:355
245
  msgid ""
246
  "Get more engagement and shares on scrolling and exit intent to visitors."
247
  msgstr ""
248
 
249
- #: classes/ssb-settings.php:364
250
  msgid "Advanced Fly ins with animations to have more Social shares."
251
  msgstr ""
252
 
253
- #: classes/ssb-settings.php:373
254
  msgid "Twitter @username:"
255
  msgstr ""
256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  #: inc/ssb-deactivate-form.php:84
258
  msgid "Quick feedback about Simple Social Buttons"
259
  msgstr ""
@@ -306,8 +424,171 @@ msgstr ""
306
  msgid "Cancel"
307
  msgstr ""
308
 
309
- #: simple-social-buttons.php:371
310
- msgid "Vote!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  msgstr ""
312
 
313
  #. Plugin Name of the plugin/theme
@@ -320,9 +601,10 @@ msgstr ""
320
 
321
  #. Description of the plugin/theme
322
  msgid ""
323
- "Insert social buttons into posts, pages and archives: <code>Facebook</code> "
324
- "\"Like it\", \"Share\", <code>Google</code> Plus One \"+1\", <code>Twitter</"
325
- "code> share, <code>LinkedIn</code> and <code>Pinterest</code>."
 
326
  msgstr ""
327
 
328
  #. Author of the plugin/theme
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Simple Social Buttons\n"
6
+ "POT-Creation-Date: 2019-11-09 10:43+0500\n"
7
  "PO-Revision-Date: 2017-10-28 11:17+0500\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.2.4\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: simple-social-buttons.php\n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
+ #: classes/ssb-admin.php:116
 
 
 
 
25
  msgid "SSB Settings"
26
  msgstr ""
27
 
28
+ #: classes/ssb-admin.php:143
29
  msgid "Hide Simple Social Buttons"
30
  msgstr ""
31
 
32
+ #: classes/ssb-admin.php:327
33
  msgid "Leave A Review?"
34
  msgstr ""
35
 
36
+ #: classes/ssb-admin.php:328
37
  msgid ""
38
  "We hope you've enjoyed using Simple Social Buttons! Would you consider "
39
  "leaving us a review on WordPress.org?"
40
  msgstr ""
41
 
42
+ #: classes/ssb-admin.php:329
43
  msgid "Sure! I'd love to!"
44
  msgstr ""
45
 
46
+ #: classes/ssb-admin.php:330
47
  msgid "I've already left a review"
48
  msgstr ""
49
 
50
+ #: classes/ssb-admin.php:331
51
  msgid "Maybe Later"
52
  msgstr ""
53
 
54
+ #: classes/ssb-admin.php:332
55
  msgid "Never show again"
56
  msgstr ""
57
 
58
+ #: classes/ssb-admin.php:440
59
+ msgid "Vote!"
60
+ msgstr ""
61
+
62
+ #: classes/ssb-admin.php:442
63
+ msgid "Rate"
64
+ msgstr ""
65
+
66
+ #: classes/ssb-settings-strucutre.php:419
67
  msgid "makes Social Sharing easy for everyone"
68
  msgstr ""
69
 
70
+ #: classes/ssb-settings-strucutre.php:420
71
  msgid ""
72
  "<strong>Simple Social Buttons</strong> by <strong><a href=\"https://"
73
  "wpbrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=link-"
74
  "header&utm_campaign=pro-upgrade\">WPBrigade</a></strong> adds an advanced "
75
  "set of social media sharing buttons to your WordPress sites, such as: "
76
+ "<strong>Facebook</strong>, <strong>Twitter</strong>, <strong>LinkedIn</"
77
+ "strong>, <strong>WhatsApp</strong>, <strong>Viber</strong>, <strong>Reddit</"
78
+ "strong> and <strong>Pinterest</strong>. This makes it the most flexible "
79
+ "social sharing plugin ever for Everyone."
80
  msgstr ""
81
 
82
+ #: classes/ssb-settings-strucutre.php:432
83
  msgid "Spread the Word"
84
  msgstr ""
85
 
86
+ #: classes/ssb-settings-strucutre.php:435
87
  msgid "Share on Twitter"
88
  msgstr ""
89
 
90
+ #: classes/ssb-settings-strucutre.php:438
91
  msgid "Share on Facebook"
92
  msgstr ""
93
 
94
+ #: classes/ssb-settings-strucutre.php:442
95
  msgid "Rate on WordPress.org"
96
  msgstr ""
97
 
98
+ #: classes/ssb-settings-strucutre.php:451
99
  msgid "Subscribe Newsletter"
100
  msgstr ""
101
 
102
+ #: classes/ssb-settings-strucutre.php:454
103
  msgid "Email"
104
  msgstr ""
105
 
106
+ #: classes/ssb-settings-strucutre.php:459
107
  msgid "Name"
108
  msgstr ""
109
 
110
+ #: classes/ssb-settings-strucutre.php:475
111
  msgid "Recommended Plugins"
112
  msgstr ""
113
 
114
+ #: classes/ssb-settings-strucutre.php:697
115
  msgid "Choose File"
116
  msgstr ""
117
 
118
+ #: classes/ssb-settings-strucutre.php:907
119
+ msgid ""
120
+ "<span class=\"ssb_step\">Step 1: </span> <a target=\"_blank\" href=\"http://"
121
+ "twitcount.com\">Click here </a> to visit twitcount.com"
122
+ msgstr ""
123
+
124
+ #: classes/ssb-settings-strucutre.php:908
125
+ msgid ""
126
+ "<span class=\"ssb_step\">Step 2: </span> Click the Button “Give Me My "
127
+ "Twitter Count Back” on their website to create an account. If you see a "
128
+ "prompt to customize your button, ignore to click paste code. "
129
+ msgstr ""
130
+
131
+ #: classes/ssb-settings-strucutre.php:909
132
+ msgid ""
133
+ "<span class=\"ssb_step\">Step 3: </span> After creating an account Click "
134
+ "“Account and Settings” tab then add your website click save button to track "
135
+ "your Twitter share counts."
136
+ msgstr ""
137
+
138
  #: classes/ssb-settings.php:30
139
+ msgid "Help"
140
+ msgstr ""
141
+
142
+ #: classes/ssb-settings.php:32
143
+ msgid "Import and export settings"
144
+ msgstr ""
145
+
146
+ #: classes/ssb-settings.php:32
147
+ msgid "Import / Export"
148
+ msgstr ""
149
+
150
+ #: classes/ssb-settings.php:42
151
  msgid "Social Buttons"
152
  msgstr ""
153
 
154
+ #: classes/ssb-settings.php:47
155
  msgid "Social Buttons Designs"
156
  msgstr ""
157
 
158
+ #: classes/ssb-settings.php:52
159
  msgid "Social Buttons Postions"
160
  msgstr ""
161
 
162
+ #: classes/ssb-settings.php:57
163
  msgid "Sidebar"
164
  msgstr ""
165
 
166
+ #: classes/ssb-settings.php:62
167
  msgid "On Media"
168
  msgstr ""
169
 
170
+ #: classes/ssb-settings.php:67
171
  msgid "Popup"
172
  msgstr ""
173
 
174
+ #: classes/ssb-settings.php:72
175
  msgid "Fly In"
176
  msgstr ""
177
 
178
+ #: classes/ssb-settings.php:77
179
  msgid "InLine"
180
  msgstr ""
181
 
182
+ #: classes/ssb-settings.php:82
183
  msgid "Additional features"
184
  msgstr ""
185
 
186
+ #: classes/ssb-settings.php:138
187
  msgid "Sidebar Orientation"
188
  msgstr ""
189
 
190
+ #: classes/ssb-settings.php:139 classes/ssb-settings.php:223
191
  msgid "<h4>Display Settings</h4>"
192
  msgstr ""
193
 
194
+ #: classes/ssb-settings.php:150
195
  msgid "Intro Animation"
196
  msgstr ""
197
 
198
+ #: classes/ssb-settings.php:165 classes/ssb-settings.php:262
199
+ msgid ""
200
+ "<p id=\"share-count-message\" > For Facebook share count you need to add "
201
+ "Facebook App id and secret in Advance settings tab. <br> Also For Twitter "
202
+ "share count you need to connect your site with <a href=\"https://www."
203
+ "twitcount.com\" target=\"_blank\">twitcount.com</a> </p>"
204
+ msgstr ""
205
+
206
+ #: classes/ssb-settings.php:166 classes/ssb-settings.php:263
207
  msgid "Display Share Counts"
208
  msgstr ""
209
 
210
+ #: classes/ssb-settings.php:172 classes/ssb-settings.php:269
211
  msgid "Display Total Shares"
212
  msgstr ""
213
 
214
+ #: classes/ssb-settings.php:178 classes/ssb-settings.php:275
215
  msgid "Add Icon Spacing"
216
  msgstr ""
217
 
218
+ #: classes/ssb-settings.php:192 classes/ssb-settings.php:289
219
  msgid "Hide On Mobile Devices"
220
  msgstr ""
221
 
222
+ #: classes/ssb-settings.php:198 classes/ssb-settings.php:326
223
  msgid "Post type Settings"
224
  msgstr ""
225
 
226
+ #: classes/ssb-settings.php:199 classes/ssb-settings.php:327
227
+ #: classes/ssb-settings.php:374
228
  msgid "Multi checkbox description"
229
  msgstr ""
230
 
231
+ #: classes/ssb-settings.php:211
232
  msgid ""
233
  "Want even more fine tuned control over your Sidebar Social Buttons Styling?"
234
  msgstr ""
235
 
236
+ #: classes/ssb-settings.php:212 classes/ssb-settings.php:340
237
+ #: classes/ssb-settings.php:388 classes/ssb-settings.php:397
238
+ #: classes/ssb-settings.php:406
239
  msgid ""
240
  "By upgrading to Simple Social Buttons Pro, you get access to Styling Social "
241
  "buttons of your own choice that matches with your website color schemes. "
245
  "more!"
246
  msgstr ""
247
 
248
+ #: classes/ssb-settings.php:222
249
  msgid "Icon Position"
250
  msgstr ""
251
 
252
+ #: classes/ssb-settings.php:235
253
  msgid "Icon Alignment"
254
  msgstr ""
255
 
256
+ #: classes/ssb-settings.php:247
257
  msgid "Animation"
258
  msgstr ""
259
 
260
+ #: classes/ssb-settings.php:295
261
  msgid "Show at Category pages"
262
  msgstr ""
263
 
264
+ #: classes/ssb-settings.php:301
265
  msgid "Show at Archive pages"
266
  msgstr ""
267
 
268
+ #: classes/ssb-settings.php:308
269
  msgid "Show at Tag pages"
270
  msgstr ""
271
 
272
+ #: classes/ssb-settings.php:314
273
+ msgid "Show at Search pages"
274
+ msgstr ""
275
+
276
+ #: classes/ssb-settings.php:320
277
+ msgid "Share Title"
278
+ msgstr ""
279
+
280
+ #: classes/ssb-settings.php:339
281
  msgid "Want to style the Inline Social buttons matches your theme colors?"
282
  msgstr ""
283
 
284
+ #: classes/ssb-settings.php:357
285
  msgid "Icon Style"
286
  msgstr ""
287
 
288
+ #: classes/ssb-settings.php:373
289
  msgid "Postions"
290
  msgstr ""
291
 
292
+ #: classes/ssb-settings.php:387
293
  msgid "Show Social Sharing buttons on images or photos in your posts/pages."
294
  msgstr ""
295
 
296
+ #: classes/ssb-settings.php:396
297
  msgid ""
298
  "Get more engagement and shares on scrolling and exit intent to visitors."
299
  msgstr ""
300
 
301
+ #: classes/ssb-settings.php:405
302
  msgid "Advanced Fly ins with animations to have more Social shares."
303
  msgstr ""
304
 
305
+ #: classes/ssb-settings.php:414
306
  msgid "Twitter @username:"
307
  msgstr ""
308
 
309
+ #: classes/ssb-settings.php:420
310
+ msgid "Http/Https counts resolve:"
311
+ msgstr ""
312
+
313
+ #: classes/ssb-settings.php:425
314
+ msgid "Remove Settings on Uninstall"
315
+ msgstr ""
316
+
317
+ #: classes/ssb-settings.php:426
318
+ msgid ""
319
+ "<span class=\"ssb_uninstall_data\">This tool will remove all Simple Social "
320
+ "Button settings upon uninstall.</span>"
321
+ msgstr ""
322
+
323
+ #: classes/ssb-settings.php:432
324
+ msgid "Facebook App ID:"
325
+ msgstr ""
326
+
327
+ #: classes/ssb-settings.php:437
328
+ msgid "Facebook App Secret:"
329
+ msgstr ""
330
+
331
+ #: classes/ssb-settings.php:489
332
+ #, php-format
333
+ msgid "Free support is available on the %1$s plugin support forums%2$s."
334
+ msgstr ""
335
+
336
+ #: classes/ssb-settings.php:491
337
+ #, php-format
338
+ msgid ""
339
+ "For premium features, add-ons and priority email support, %1$s upgrade to pro"
340
+ "%2$s."
341
+ msgstr ""
342
+
343
+ #: classes/ssb-settings.php:497
344
+ msgid "Download Log File"
345
+ msgstr ""
346
+
347
+ #: classes/ssb-widget.php:119
348
+ msgid "Follow us on Facebook"
349
+ msgstr ""
350
+
351
+ #: classes/ssb-widget.php:120
352
+ msgid "Subscribe us on Youtube"
353
+ msgstr ""
354
+
355
+ #: classes/ssb-widget.php:121
356
+ msgid "Follow us on Twitter"
357
+ msgstr ""
358
+
359
+ #: classes/ssb-widget.php:122
360
+ msgid "Follow us on Pinterest"
361
+ msgstr ""
362
+
363
+ #: classes/ssb-widget.php:123
364
+ msgid "Follow us on Instagram"
365
+ msgstr ""
366
+
367
+ #: classes/ssb-widget.php:124
368
+ msgid "Contact us on WhatsApp"
369
+ msgstr ""
370
+
371
+ #: classes/ssb-widget.php:128
372
+ msgid "Follow Us"
373
+ msgstr ""
374
+
375
  #: inc/ssb-deactivate-form.php:84
376
  msgid "Quick feedback about Simple Social Buttons"
377
  msgstr ""
424
  msgid "Cancel"
425
  msgstr ""
426
 
427
+ #: inc/ssb-import-export.php:9
428
+ msgid "Import/Export Simple Social Share Buttons Settings"
429
+ msgstr ""
430
+
431
+ #: inc/ssb-import-export.php:10
432
+ msgid "Import/Export your Social share button Settings for/from other sites."
433
+ msgstr ""
434
+
435
+ #: inc/ssb-import-export.php:15
436
+ msgid "Import Settings:"
437
+ msgstr ""
438
+
439
+ #: inc/ssb-import-export.php:19
440
+ msgid "Import"
441
+ msgstr ""
442
+
443
+ #: inc/ssb-import-export.php:23
444
+ msgid "Simple Social Buttons Share Settings Imported Successfully."
445
+ msgstr ""
446
+
447
+ #: inc/ssb-import-export.php:25
448
+ msgid "Select a file and click on Import to start processing."
449
+ msgstr ""
450
+
451
+ #: inc/ssb-import-export.php:30
452
+ msgid "Export Settings:"
453
+ msgstr ""
454
+
455
+ #: inc/ssb-import-export.php:33
456
+ msgid "Export"
457
+ msgstr ""
458
+
459
+ #: inc/ssb-import-export.php:37
460
+ msgid "Simple Social Button Settings Exported Successfully!"
461
+ msgstr ""
462
+
463
+ #: inc/ssb-import-export.php:38
464
+ msgid "Export Simple Social Button Settings."
465
+ msgstr ""
466
+
467
+ #: inc/ssb-widget-fields.php:3
468
+ msgid "Title:"
469
+ msgstr ""
470
+
471
+ #: inc/ssb-widget-fields.php:24
472
+ msgid "Facebook Button Text"
473
+ msgstr ""
474
+
475
+ #: inc/ssb-widget-fields.php:41
476
+ msgid "Facebook App Id:"
477
+ msgstr ""
478
+
479
+ #: inc/ssb-widget-fields.php:46
480
+ msgid "Facebook Security Key:"
481
+ msgstr ""
482
+
483
+ #: inc/ssb-widget-fields.php:50
484
+ msgid "Facebook Access Token: "
485
+ msgstr ""
486
+
487
+ #: inc/ssb-widget-fields.php:52 inc/ssb-widget-fields.php:85
488
+ msgid "Default count to show instead of 0 when API's are not available."
489
+ msgstr ""
490
+
491
+ #: inc/ssb-widget-fields.php:62
492
+ msgid "Twitter Button Text:"
493
+ msgstr ""
494
+
495
+ #: inc/ssb-widget-fields.php:66
496
+ msgid "Twitter Handle:"
497
+ msgstr ""
498
+
499
+ #: inc/ssb-widget-fields.php:78
500
+ msgid "Twitter Api Key: "
501
+ msgstr ""
502
+
503
+ #: inc/ssb-widget-fields.php:83
504
+ msgid "Twitter Secret Key:"
505
+ msgstr ""
506
+
507
+ #: inc/ssb-widget-fields.php:96
508
+ msgid "YouTube Button Text:"
509
+ msgstr ""
510
+
511
+ #: inc/ssb-widget-fields.php:101
512
+ msgid "Type :"
513
+ msgstr ""
514
+
515
+ #: inc/ssb-widget-fields.php:109
516
+ msgid "YouTube Channel ID:"
517
+ msgstr ""
518
+
519
+ #: inc/ssb-widget-fields.php:117
520
+ msgid "YouTube Api Key: "
521
+ msgstr ""
522
+
523
+ #: inc/ssb-widget-fields.php:131
524
+ msgid "Pinterest Button Text:"
525
+ msgstr ""
526
+
527
+ #: inc/ssb-widget-fields.php:135
528
+ msgid "Pinterest User ID:"
529
+ msgstr ""
530
+
531
+ #: inc/ssb-widget-fields.php:143
532
+ msgid "Printerest Access Token: "
533
+ msgstr ""
534
+
535
+ #: inc/ssb-widget-fields.php:156
536
+ msgid "Instagram Button Text:"
537
+ msgstr ""
538
+
539
+ #: inc/ssb-widget-fields.php:160
540
+ msgid "Instagram User Name:"
541
+ msgstr ""
542
+
543
+ #: inc/ssb-widget-fields.php:167
544
+ msgid "Instagram Access Token: "
545
+ msgstr ""
546
+
547
+ #: inc/ssb-widget-fields.php:180
548
+ msgid "WhatsApp Button Text:"
549
+ msgstr ""
550
+
551
+ #: inc/ssb-widget-fields.php:184
552
+ msgid ""
553
+ "\n"
554
+ " WhatsApp Mobile Number:"
555
+ msgstr ""
556
+
557
+ #: simple-social-buttons.php:1231
558
+ msgid "Simple Social Buttons 2.0 (Relaunched)"
559
+ msgstr ""
560
+
561
+ #: simple-social-buttons.php:1232
562
+ msgid ""
563
+ "Simple Social Buttons had 50,000 Active installs and It was abondoned and "
564
+ "rarely updated since last 5 years.<br /> We at <a href=\"https://WPBrigade."
565
+ "com/?utm_source=simple-social-buttons-lite&utm_medium=link-notice-2-0\" "
566
+ "target=\"_blank\">WPBrigade</a> adopted this plugin and rewrote it "
567
+ "completely from scratch.<br /> <a href=\"https://wpbrigade.com/wordpress/"
568
+ "plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-"
569
+ "lite&utm_medium=link-notice-2-0&utm_campaign=pro-upgrade\" target=\"_blank"
570
+ "\">Check out</a> What's new in 2.0 version.<br /> Pardon me, If there is "
571
+ "anything broken. Please <a href=\"https://WPBrigade.com/contact/?"
572
+ "utm_source=simple-social-buttons-lite\" target=\"_blank\">report</a> us any "
573
+ "issue you see in the plugin."
574
+ msgstr ""
575
+
576
+ #. translators: If your word count is based on single characters (e.g. East Asian characters),
577
+ #. enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
578
+ #. Do not translate into your own language.
579
+ #.
580
+ #: simple-social-buttons.php:2030
581
+ msgctxt "Word count type. Do not translate!"
582
+ msgid "words"
583
+ msgstr ""
584
+
585
+ #: simple-social-buttons.php:2083
586
+ msgid "Settings"
587
+ msgstr ""
588
+
589
+ #: simple-social-buttons.php:2088
590
+ #, php-format
591
+ msgid "%1$s %3$s Upgrade Pro %4$s %2$s"
592
  msgstr ""
593
 
594
  #. Plugin Name of the plugin/theme
601
 
602
  #. Description of the plugin/theme
603
  msgid ""
604
+ "Simple Social Buttons adds an advanced set of social media sharing buttons "
605
+ "to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, "
606
+ "Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social "
607
+ "Sharing Plugin ever for Everyone.</code>"
608
  msgstr ""
609
 
610
  #. Author of the plugin/theme
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Simple Social Media Share Buttons - Social Sharing for Everyone ===
2
- Contributors: hiddenpearls, WPBrigade
3
- Donate link: https://wpbrigade.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.2
7
- Stable tag: 2.1.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -128,6 +128,7 @@ Yes, you can use ShortCode [SSB] to use in your Templates/Themes.
128
  Attributes with all the possible values.
129
 
130
  counter = true or false
 
131
  align = left or right or centered
132
  order = twitter,pinterest,fbshare,linkedin,reddit,whatsapp,viber,fblike
133
  theme = theme1 or theme2 or theme3 or theme4 or Flat or Circle or Official
@@ -146,11 +147,20 @@ like_button_size = small(default), large
146
 
147
  == Upgrade Notice ==
148
 
149
- = 2.1.4 =
150
- * Please upgrade immediately. Many enhancements and bugfixes.
151
 
152
  == Changelog ==
153
 
 
 
 
 
 
 
 
 
 
154
  = 2.1.4 - 2019-10-21 =
155
  * Enhancement: `ssb_buttons_output` filter added to add own button.
156
  * Enhancement: Settings link added at plugin listing page.
1
  === Simple Social Media Share Buttons - Social Sharing for Everyone ===
2
+ Contributors: hiddenpearls, WPBrigade, desideveloper
3
+ Donate link: https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/
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.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
128
  Attributes with all the possible values.
129
 
130
  counter = true or false
131
+ show_total_count = true or false
132
  align = left or right or centered
133
  order = twitter,pinterest,fbshare,linkedin,reddit,whatsapp,viber,fblike
134
  theme = theme1 or theme2 or theme3 or theme4 or Flat or Circle or Official
147
 
148
  == Upgrade Notice ==
149
 
150
+ = 3.0.0 =
151
+ * Please upgrade immediately. Many enhancements, new features and bugfixes.
152
 
153
  == Changelog ==
154
 
155
+ = 3.0.0 - 2019-11-19 =
156
+ * New Feature: Introducing Social Sharing Gutenberg Blocks.
157
+ * New Feature: Option to delete settings in database on uninstall.
158
+ * New Feature: Custom CSS code input field added.
159
+ * New Feature: Custom JS code input field added.
160
+ * Enhancement: Show and hide sidebar option at front end.
161
+ * Enhancement: Default fan count display if API is not available in Social follow widget.
162
+ * Enhancement: New attributes to display total counts in shortcode.
163
+
164
  = 2.1.4 - 2019-10-21 =
165
  * Enhancement: `ssb_buttons_output` filter added to add own button.
166
  * Enhancement: Settings link added at plugin listing page.
simple-social-buttons.php CHANGED
@@ -2,8 +2,8 @@
2
  /**
3
  * Plugin Name: Simple Social Buttons
4
  * Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
5
- * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
- * Version: 2.1.4
7
  * Author: WPBrigade
8
  * Author URI: http://www.WPBrigade.com/
9
  * Text Domain: simple-social-buttons
@@ -44,7 +44,7 @@ class SimpleSocialButtonsPR {
44
  * @isnce
45
  * @var string
46
  */
47
- public $pluginVersion = '2.1.4';
48
 
49
  /**
50
  * Plugin Prefix
@@ -164,7 +164,6 @@ class SimpleSocialButtonsPR {
164
  include_once SSB_PLUGIN_DIR . '/inc/upgrade-routine.php';
165
 
166
  register_activation_hook( __FILE__, array( $this, 'plugin_install' ) );
167
- register_deactivation_hook( __FILE__, array( $this, 'plugin_uninstall' ) );
168
 
169
  $this->_includes();
170
  $this->set_selected_networks();
@@ -185,11 +184,10 @@ class SimpleSocialButtonsPR {
185
 
186
  add_filter( 'the_excerpt', array( $this, 'insert_excerpt_buttons' ), $excerpt_filter_priority );
187
 
188
- add_filter( 'plugin_row_meta', array( $this, '_row_meta' ), 10, 2 );
189
-
190
  add_filter( 'wp_trim_words', array( $this, 'on_excerpt_content' ), 11, 4 );
191
 
192
  add_action( 'wp_enqueue_scripts', array( $this, 'front_enqueue_scripts' ) );
 
193
 
194
  add_filter( 'network_admin_plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'filter_plugin_action_links' ) );
195
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'filter_plugin_action_links' ) );
@@ -215,6 +213,8 @@ class SimpleSocialButtonsPR {
215
  add_action( 'wp_ajax_ssb_facebook_shares_update', array( $this, 'facebook_shares_update' ) );
216
  add_action( 'wp_ajax_nopriv_ssb_facebook_shares_update', array( $this, 'facebook_shares_update' ) );
217
 
 
 
218
  }
219
 
220
  /**
@@ -487,6 +487,21 @@ class SimpleSocialButtonsPR {
487
  wp_enqueue_style( 'ssb-front-css', plugins_url( 'assets/css/front.css', __FILE__ ), false, SSB_VERSION );
488
  }
489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
490
  /**
491
  * All third party api/ helper functions.
492
  *
@@ -497,6 +512,7 @@ class SimpleSocialButtonsPR {
497
  public function _includes() {
498
 
499
  include_once SSB_PLUGIN_DIR . '/inc/utils.php';
 
500
  include_once SSB_PLUGIN_DIR . '/ssb-social-counts/facebook.php';
501
  // include_once SSB_PLUGIN_DIR . '/ssb-social-counts/linkedin.php';
502
  include_once SSB_PLUGIN_DIR . '/ssb-social-counts/twitter.php';
@@ -536,6 +552,9 @@ class SimpleSocialButtonsPR {
536
  if ( ! defined( 'SSB_PLUGIN_DIR' ) ) {
537
  define( 'SSB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
538
  }
 
 
 
539
  }
540
 
541
 
@@ -585,23 +604,6 @@ class SimpleSocialButtonsPR {
585
 
586
  }
587
 
588
- /**
589
- * Plugin uninstall and database clean up routine.
590
- *
591
- * @access public
592
- * @since 1.0.0
593
- * @return void
594
- */
595
- public function plugin_uninstall() {
596
- if ( ! defined( 'ABSPATH' ) && ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
597
- exit();
598
- }
599
-
600
- delete_option( $this->pluginPrefix . 'settings' );
601
- delete_option( $this->pluginPrefix . 'version' );
602
-
603
- }
604
-
605
 
606
  public function _get_settings( $section, $value, $default = false ) {
607
  $section = $section . '_option';
@@ -629,29 +631,6 @@ class SimpleSocialButtonsPR {
629
  }
630
 
631
 
632
- /**
633
- * Add Thumbs Up Icon
634
- *
635
- * @access public
636
- * @since 1.9.0
637
- * @return mixed
638
- */
639
- public function _row_meta( $links, $file ) {
640
-
641
- if ( strpos( $file, 'simple-social-buttons.php' ) !== false ) {
642
-
643
- // Set link for Reviews.
644
- $new_links = array(
645
- '<a href="https://wordpress.org/support/plugin/simple-social-buttons/reviews/?filter=5" target="_blank"><span class="dashicons dashicons-thumbs-up"></span> ' . __( 'Vote!', 'simplesocialbuttons' ) . '</a>',
646
- );
647
-
648
- $links = array_merge( $links, $new_links );
649
- }
650
-
651
- return $links;
652
- }
653
-
654
-
655
  /**
656
  * Add inline for the excerpt.
657
  *
@@ -783,6 +762,7 @@ class SimpleSocialButtonsPR {
783
  $permalink = get_permalink();
784
  $title = urlencode( html_entity_decode( get_the_title(), ENT_COMPAT, 'UTF-8' ) );
785
  $post_id = get_the_id();
 
786
 
787
  // Sorting the buttons
788
  $arrButtons = array();
@@ -859,7 +839,7 @@ class SimpleSocialButtonsPR {
859
  case 'fbshare':
860
  $fbshare_share = $share_counts['fbshare'] ? $share_counts['fbshare'] : 0;
861
 
862
- if ( $this->selected_theme == 'simple-icons' ) {
863
  $_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;">
864
  <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>
865
  <span class="simplesocialtxt">Share </span>';
@@ -886,7 +866,7 @@ class SimpleSocialButtonsPR {
886
  $twitter_share = $share_counts['twitter'] ? $share_counts['twitter'] : 0;
887
  $via = ! empty( $this->extra_option['twitter_handle'] ) ? '&via=' . $this->extra_option['twitter_handle'] : '';
888
 
889
- if ( $this->selected_theme == 'simple-icons' ) {
890
 
891
  $_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;">
892
  <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>';
@@ -916,7 +896,7 @@ class SimpleSocialButtonsPR {
916
  case 'linkedin':
917
  // $linkedin_share = $share_counts['linkedin'] ? $share_counts['linkedin'] : 0;
918
 
919
- if ( $this->selected_theme == 'simple-icons' ) {
920
 
921
  $_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;" >
922
  <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="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>
@@ -942,11 +922,11 @@ class SimpleSocialButtonsPR {
942
  case 'pinterest':
943
  $pinterest_share = $share_counts['pinterest'] ? $share_counts['pinterest'] : 0;
944
 
945
- if ( $this->selected_theme == 'simple-icons' ) {
946
 
947
  $_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;">
948
  <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>
949
- <span class="simplesocialtxt">Save</span>';
950
  if ( $show_count ) {
951
  $_html .= '<span class="ssb_counter">' . ssb_count_format( $pinterest_share ) . '</span>';
952
  }
@@ -971,7 +951,7 @@ class SimpleSocialButtonsPR {
971
  case 'reddit':
972
  $reddit_score = $share_counts['reddit'] ? $share_counts['reddit'] : 0;
973
 
974
- if ( $this->selected_theme == 'simple-icons' ) {
975
  $_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;">
976
  <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"
977
  width="430.117px" height="430.117px" viewBox="0 0 430.117 430.117" style="enable-background:new 0 0 430.117 430.117;"
@@ -995,8 +975,8 @@ class SimpleSocialButtonsPR {
995
  $arrButtonsCode[] = $_html;
996
  break;
997
  case 'whatsapp':
998
- if ( $this->selected_theme == 'simple-icons' ) {
999
- $arrButtonsCode[] = ' <button onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="ssb_whatsapp-icon simplesocial-whatsapp-share" data-href="' . ssb_whats_app_share_link( $permalink ) . '"><span class="simplesocialtxt">
1000
  <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>
1001
  <span class="simplesocialtxt">Whatsapp</span>
1002
  </button>';
@@ -1006,7 +986,7 @@ class SimpleSocialButtonsPR {
1006
  }
1007
  break;
1008
  case 'viber':
1009
- if ( $this->selected_theme == 'simple-icons' ) {
1010
  $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 . '">
1011
  <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>
1012
  <span class="simplesocialtxt">Viber</span>
@@ -1025,7 +1005,7 @@ class SimpleSocialButtonsPR {
1025
  $link = urlencode( $permalink );
1026
  $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";
1027
 
1028
- if ( $this->selected_theme == 'simple-icons' ) {
1029
  $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 . '>
1030
  <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">
1031
  <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"/>
@@ -1038,7 +1018,7 @@ class SimpleSocialButtonsPR {
1038
  }
1039
  break;
1040
  case 'email':
1041
- if ( $this->selected_theme == 'simple-icons' ) {
1042
  $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 . '">
1043
  <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">
1044
  <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>
@@ -1050,7 +1030,7 @@ class SimpleSocialButtonsPR {
1050
  }
1051
  break;
1052
  case 'print':
1053
- if ( $this->selected_theme == 'simple-icons' ) {
1054
  $arrButtonsCode[] = ' <button onclick="javascript:window.print();return false;" class=" ssb_print-icon simplesocial-email-share" >
1055
  <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>
1056
  <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"/>
@@ -1070,7 +1050,7 @@ class SimpleSocialButtonsPR {
1070
 
1071
  $link = urlencode( $permalink );
1072
  $tumblr_share_url = "http://tumblr.com/widgets/share/tool?canonicalUrl=$link";
1073
- if ( $this->selected_theme == 'simple-icons' ) {
1074
  $_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;">
1075
  <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"
1076
  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>
@@ -1101,7 +1081,7 @@ class SimpleSocialButtonsPR {
1101
  if ( ! is_array( $extra_data ) ) {
1102
  $class = $extra_data;
1103
  }
1104
- $theme = isset( $extra_data['theme'] ) ? $extra_data['theme'] : $this->selected_theme;
1105
  $ssb_buttonscode .= '<div class="simplesocialbuttons simplesocial-' . $theme . ' ' . $class . '">' . "\n";
1106
  $ssb_buttonscode .= implode( "\n", $arrButtonsCode ) . "\n";
1107
  $ssb_buttonscode .= '</div>' . "\n";
@@ -1300,6 +1280,7 @@ class SimpleSocialButtonsPR {
1300
 
1301
  /*
1302
  counter = true,false
 
1303
  align = left ,right,centered,
1304
  order = googleplus,twitter,pinterest,fbshare,linkedin,reddit,whatsapp,viber,fblike,messenger,email
1305
  like_button_size = small or large , Default small
@@ -1319,6 +1300,7 @@ class SimpleSocialButtonsPR {
1319
  'order' => null,
1320
  'align' => '',
1321
  'counter' => 'false',
 
1322
  'like_button_size' => 'small',
1323
  ),
1324
  $atts
@@ -1345,6 +1327,7 @@ class SimpleSocialButtonsPR {
1345
  } else {
1346
  $theme = $this->selected_theme;
1347
  }
 
1348
  if ( null !== $selected_theme['order'] ) {
1349
  $selected_theme['order'] = array_flip( array_merge( array( 0 ), explode( ',', $selected_theme['order'] ) ) );
1350
 
@@ -1352,29 +1335,29 @@ class SimpleSocialButtonsPR {
1352
  $selected_theme['order'] = $this->selected_networks;
1353
  }
1354
 
1355
- if ( isset( $this->selected_position['inline'] ) ) {
1356
  // Show Total at the end.
1357
- if ( $this->_get_settings( 'inline', 'total_share' ) ) {
1358
- $show_total = true;
1359
- } else {
1360
- $show_total = false;
1361
- }
1362
 
1363
- if ( empty( $selected_theme['align'] ) ) {
1364
- $align_class = $this->_get_settings( 'inline', 'icon_alignment', 'left' );
1365
- } else {
1366
- $align_class = $selected_theme['align'];
1367
- }
1368
 
1369
  $extra_class = 'simplesocialbuttons_inline simplesocialbuttons-align-' . $align_class;
1370
 
1371
  // if ( $this->inline['share_counts'] ) {
1372
- if ( $selected_theme['counter'] == 'true' ) {
1373
- $show_count = true;
1374
- $extra_class .= ' ssb_counter-activate';
1375
- } else {
1376
- $show_count = false;
1377
- }
1378
 
1379
  // set fb like button size
1380
  $like_button_size = $selected_theme['like_button_size'];
@@ -1382,16 +1365,15 @@ class SimpleSocialButtonsPR {
1382
  $extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
1383
 
1384
  // $ssb_buttons_code = $this->generate_buttons_short_code( $theme, $like_button_size, $selected_theme['order'], $this->selected_networks, $show_count, $show_total, $extra_class );
1385
- $extra_option = array(
1386
  'class' => $extra_class,
1387
  'theme' => $theme,
1388
  'like-button-size' => $like_button_size,
1389
  );
1390
-
1391
  $ssb_buttons_code = $this->generate_buttons_code( $selected_theme['order'], $show_count, $show_total, $extra_option );
1392
- }
1393
 
1394
- return $ssb_buttons_code;
1395
 
1396
  }
1397
 
@@ -2101,18 +2083,114 @@ class SimpleSocialButtonsPR {
2101
  * @since 2.1.4
2102
  * @return array
2103
  */
2104
- public function filter_plugin_action_links( $actions ) {
2105
- return array_merge(
2106
- array(
2107
- 'settings' => '<a href="/wp-admin/admin.php?page=simple-social-buttons">' . esc_html__( 'Settings', 'simple-social-buttons' ) . '</a>',
2108
- ),
2109
- $actions
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2110
  );
2111
  }
 
 
 
 
 
 
 
 
2112
 
 
 
 
 
 
 
 
 
 
2113
 
2114
- } // end class
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2115
 
 
 
 
 
2116
 
2117
  global $_ssb_pr;
2118
  if ( is_admin() ) {
2
  /**
3
  * Plugin Name: Simple Social Buttons
4
  * Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
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.0
7
  * Author: WPBrigade
8
  * Author URI: http://www.WPBrigade.com/
9
  * Text Domain: simple-social-buttons
44
  * @isnce
45
  * @var string
46
  */
47
+ public $pluginVersion = '3.0.0';
48
 
49
  /**
50
  * Plugin Prefix
164
  include_once SSB_PLUGIN_DIR . '/inc/upgrade-routine.php';
165
 
166
  register_activation_hook( __FILE__, array( $this, 'plugin_install' ) );
 
167
 
168
  $this->_includes();
169
  $this->set_selected_networks();
184
 
185
  add_filter( 'the_excerpt', array( $this, 'insert_excerpt_buttons' ), $excerpt_filter_priority );
186
 
 
 
187
  add_filter( 'wp_trim_words', array( $this, 'on_excerpt_content' ), 11, 4 );
188
 
189
  add_action( 'wp_enqueue_scripts', array( $this, 'front_enqueue_scripts' ) );
190
+ add_action( 'enqueue_block_assets', array( $this, 'front_block_scripts' ) );
191
 
192
  add_filter( 'network_admin_plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'filter_plugin_action_links' ) );
193
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'filter_plugin_action_links' ) );
213
  add_action( 'wp_ajax_ssb_facebook_shares_update', array( $this, 'facebook_shares_update' ) );
214
  add_action( 'wp_ajax_nopriv_ssb_facebook_shares_update', array( $this, 'facebook_shares_update' ) );
215
 
216
+ add_action( 'init', array( $this, 'ssb_register_block' ) );
217
+
218
  }
219
 
220
  /**
487
  wp_enqueue_style( 'ssb-front-css', plugins_url( 'assets/css/front.css', __FILE__ ), false, SSB_VERSION );
488
  }
489
 
490
+ /**
491
+ * Block front scripts.
492
+ *
493
+ * @since 3.0.0
494
+ * @return void
495
+ */
496
+ public function front_block_scripts() {
497
+ wp_enqueue_script( 'ssb-blocks-front-js', plugins_url( 'assets/js/blocks.frontend.js', __FILE__ ), array(), SSB_VERSION );
498
+ wp_enqueue_style( 'ssb-blocks-front-css', plugins_url( 'assets/css/blocks.style.css', __FILE__ ), array(), SSB_VERSION );
499
+
500
+ if ( isset( $this->extra_option['ssb_js'] ) && ! empty( $this->extra_option['ssb_js'] ) ) {
501
+ wp_add_inline_script( 'ssb-blocks-front-js', $this->extra_option['ssb_js'] );
502
+ }
503
+ }
504
+
505
  /**
506
  * All third party api/ helper functions.
507
  *
512
  public function _includes() {
513
 
514
  include_once SSB_PLUGIN_DIR . '/inc/utils.php';
515
+ include_once SSB_PLUGIN_DIR . '/inc/ssb-compitabilty.php';
516
  include_once SSB_PLUGIN_DIR . '/ssb-social-counts/facebook.php';
517
  // include_once SSB_PLUGIN_DIR . '/ssb-social-counts/linkedin.php';
518
  include_once SSB_PLUGIN_DIR . '/ssb-social-counts/twitter.php';
552
  if ( ! defined( 'SSB_PLUGIN_DIR' ) ) {
553
  define( 'SSB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
554
  }
555
+ if ( ! defined( 'SSB_PLUGIN_URL' ) ) {
556
+ define( 'SSB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
557
+ }
558
  }
559
 
560
 
604
 
605
  }
606
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
607
 
608
  public function _get_settings( $section, $value, $default = false ) {
609
  $section = $section . '_option';
631
  }
632
 
633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
634
  /**
635
  * Add inline for the excerpt.
636
  *
762
  $permalink = get_permalink();
763
  $title = urlencode( html_entity_decode( get_the_title(), ENT_COMPAT, 'UTF-8' ) );
764
  $post_id = get_the_id();
765
+ $theme = isset( $extra_data['theme'] ) ? $extra_data['theme'] : $this->selected_theme;
766
 
767
  // Sorting the buttons
768
  $arrButtons = array();
839
  case 'fbshare':
840
  $fbshare_share = $share_counts['fbshare'] ? $share_counts['fbshare'] : 0;
841
 
842
+ if ( $theme == 'simple-icons' ) {
843
  $_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;">
844
  <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>
845
  <span class="simplesocialtxt">Share </span>';
866
  $twitter_share = $share_counts['twitter'] ? $share_counts['twitter'] : 0;
867
  $via = ! empty( $this->extra_option['twitter_handle'] ) ? '&via=' . $this->extra_option['twitter_handle'] : '';
868
 
869
+ if ( $theme == 'simple-icons' ) {
870
 
871
  $_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;">
872
  <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>';
896
  case 'linkedin':
897
  // $linkedin_share = $share_counts['linkedin'] ? $share_counts['linkedin'] : 0;
898
 
899
+ if ( $theme == 'simple-icons' ) {
900
 
901
  $_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;" >
902
  <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="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>
922
  case 'pinterest':
923
  $pinterest_share = $share_counts['pinterest'] ? $share_counts['pinterest'] : 0;
924
 
925
+ if ( $theme == 'simple-icons' ) {
926
 
927
  $_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;">
928
  <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>
929
+ <span class="simplesocialtxt">Pinterest</span>';
930
  if ( $show_count ) {
931
  $_html .= '<span class="ssb_counter">' . ssb_count_format( $pinterest_share ) . '</span>';
932
  }
951
  case 'reddit':
952
  $reddit_score = $share_counts['reddit'] ? $share_counts['reddit'] : 0;
953
 
954
+ if ( $theme == 'simple-icons' ) {
955
  $_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;">
956
  <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"
957
  width="430.117px" height="430.117px" viewBox="0 0 430.117 430.117" style="enable-background:new 0 0 430.117 430.117;"
975
  $arrButtonsCode[] = $_html;
976
  break;
977
  case 'whatsapp':
978
+ if ( $theme == 'simple-icons' ) {
979
+ $arrButtonsCode[] = ' <button onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="ssb_whatsapp-icon simplesocial-whatsapp-share" data-href="' . ssb_whats_app_share_link( $permalink ) . '">
980
  <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>
981
  <span class="simplesocialtxt">Whatsapp</span>
982
  </button>';
986
  }
987
  break;
988
  case 'viber':
989
+ if ( $theme == 'simple-icons' ) {
990
  $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 . '">
991
  <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>
992
  <span class="simplesocialtxt">Viber</span>
1005
  $link = urlencode( $permalink );
1006
  $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";
1007
 
1008
+ if ( $theme == 'simple-icons' ) {
1009
  $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 . '>
1010
  <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">
1011
  <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"/>
1018
  }
1019
  break;
1020
  case 'email':
1021
+ if ( $theme == 'simple-icons' ) {
1022
  $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 . '">
1023
  <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">
1024
  <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>
1030
  }
1031
  break;
1032
  case 'print':
1033
+ if ( $theme == 'simple-icons' ) {
1034
  $arrButtonsCode[] = ' <button onclick="javascript:window.print();return false;" class=" ssb_print-icon simplesocial-email-share" >
1035
  <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>
1036
  <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"/>
1050
 
1051
  $link = urlencode( $permalink );
1052
  $tumblr_share_url = "http://tumblr.com/widgets/share/tool?canonicalUrl=$link";
1053
+ if ( $theme == 'simple-icons' ) {
1054
  $_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;">
1055
  <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"
1056
  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>
1081
  if ( ! is_array( $extra_data ) ) {
1082
  $class = $extra_data;
1083
  }
1084
+
1085
  $ssb_buttonscode .= '<div class="simplesocialbuttons simplesocial-' . $theme . ' ' . $class . '">' . "\n";
1086
  $ssb_buttonscode .= implode( "\n", $arrButtonsCode ) . "\n";
1087
  $ssb_buttonscode .= '</div>' . "\n";
1280
 
1281
  /*
1282
  counter = true,false
1283
+ show_total = true,false
1284
  align = left ,right,centered,
1285
  order = googleplus,twitter,pinterest,fbshare,linkedin,reddit,whatsapp,viber,fblike,messenger,email
1286
  like_button_size = small or large , Default small
1300
  'order' => null,
1301
  'align' => '',
1302
  'counter' => 'false',
1303
+ 'show_total_count' => 'false',
1304
  'like_button_size' => 'small',
1305
  ),
1306
  $atts
1327
  } else {
1328
  $theme = $this->selected_theme;
1329
  }
1330
+
1331
  if ( null !== $selected_theme['order'] ) {
1332
  $selected_theme['order'] = array_flip( array_merge( array( 0 ), explode( ',', $selected_theme['order'] ) ) );
1333
 
1335
  $selected_theme['order'] = $this->selected_networks;
1336
  }
1337
 
1338
+ // if ( isset( $this->selected_position['inline'] ) ) {
1339
  // Show Total at the end.
1340
+ if ( $selected_theme['show_total_count'] == 'true' ) {
1341
+ $show_total = true;
1342
+ } else {
1343
+ $show_total = false;
1344
+ }
1345
 
1346
+ if ( empty( $selected_theme['align'] ) ) {
1347
+ $align_class = $this->_get_settings( 'inline', 'icon_alignment', 'left' );
1348
+ } else {
1349
+ $align_class = $selected_theme['align'];
1350
+ }
1351
 
1352
  $extra_class = 'simplesocialbuttons_inline simplesocialbuttons-align-' . $align_class;
1353
 
1354
  // if ( $this->inline['share_counts'] ) {
1355
+ if ( $selected_theme['counter'] == 'true' ) {
1356
+ $show_count = true;
1357
+ $extra_class .= ' ssb_counter-activate';
1358
+ } else {
1359
+ $show_count = false;
1360
+ }
1361
 
1362
  // set fb like button size
1363
  $like_button_size = $selected_theme['like_button_size'];
1365
  $extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
1366
 
1367
  // $ssb_buttons_code = $this->generate_buttons_short_code( $theme, $like_button_size, $selected_theme['order'], $this->selected_networks, $show_count, $show_total, $extra_class );
1368
+ $extra_option = array(
1369
  'class' => $extra_class,
1370
  'theme' => $theme,
1371
  'like-button-size' => $like_button_size,
1372
  );
 
1373
  $ssb_buttons_code = $this->generate_buttons_code( $selected_theme['order'], $show_count, $show_total, $extra_option );
1374
+ // }
1375
 
1376
+ return $ssb_buttons_code;
1377
 
1378
  }
1379
 
2083
  * @since 2.1.4
2084
  * @return array
2085
  */
2086
+ public function filter_plugin_action_links( $actions_links ) {
2087
+
2088
+ $settings_link = '<a href="' . admin_url( 'admin.php?page=simple-social-buttons' ) . '">' . __( 'Settings', 'simple-social-buttons' ) . '</a>';
2089
+ array_unshift( $actions_links, $settings_link );
2090
+
2091
+ if ( ! class_exists( 'Simple_Social_Buttons_Pro' ) ) {
2092
+
2093
+ $pro_link = sprintf( esc_html__( '%1$s %3$s Upgrade Pro %4$s %2$s', 'simple-social-buttons' ), '<a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons/" target="_blank">', '</a>', '<span class="simple-social-buttons-pro-link">', '</span>' );
2094
+ array_push( $actions_links, $pro_link );
2095
+ }
2096
+ return $actions_links;
2097
+ }
2098
+
2099
+ /**
2100
+ * Register Block.
2101
+ *
2102
+ * @since 2.0.0
2103
+ * @return void
2104
+ */
2105
+ public function ssb_register_block() {
2106
+
2107
+ if ( ! function_exists( 'register_block_type' ) ) { // Backward compitablity check
2108
+ return;
2109
+ }
2110
+ register_block_type(
2111
+ 'ssb/shortcode',
2112
+ [
2113
+ 'render_callback' => array( $this, 'ssb_shortcode_block_callback' ),
2114
+ 'attributes' => array(
2115
+ 'theme' => array(
2116
+ 'type' => 'string',
2117
+ 'default' => 'simple-icons',
2118
+ ),
2119
+ 'counter' => array(
2120
+ 'type' => 'boolean',
2121
+ 'default' => false,
2122
+ ),
2123
+ 'showTotalCount' => array(
2124
+ 'type' => 'boolean',
2125
+ 'default' => false,
2126
+ ),
2127
+ 'align' => array(
2128
+ 'type' => 'string',
2129
+ 'default' => '',
2130
+ ),
2131
+ 'order' => array(
2132
+ 'type' => 'string',
2133
+ 'default' => 'fbshare,twitter,linkedin',
2134
+ ),
2135
+ 'likeButtonSize' => array(
2136
+ 'type' => 'string',
2137
+ 'default' => 'small',
2138
+ ),
2139
+ 'alignment' => array(
2140
+ 'type' => 'string',
2141
+ 'default' => 'left',
2142
+ ),
2143
+ ),
2144
+ ]
2145
  );
2146
  }
2147
+ /**
2148
+ * Call for ssb block
2149
+ *
2150
+ * @param array $attr register attributes.
2151
+ * @since 2.0.0
2152
+ * @return void
2153
+ */
2154
+ public function ssb_shortcode_block_callback( $attr ) {
2155
 
2156
+ $themes = array(
2157
+ 'sm-round' => 'theme1',
2158
+ 'simple-round' => 'theme2',
2159
+ 'round-txt' => 'theme3',
2160
+ 'round-btm-border' => 'theme4',
2161
+ 'flat-button-border' => 'Flat',
2162
+ 'round-icon' => 'Circle',
2163
+ 'simple-icons' => 'Official',
2164
+ );
2165
 
2166
+ if ( array_key_exists( $attr['theme'], $themes ) ) {
2167
+ foreach ( $themes as $key => $value ) {
2168
+
2169
+ if ( $attr['theme'] == $key ) {
2170
+
2171
+ $theme = $themes[ $key ];
2172
+ }
2173
+ }
2174
+ } else {
2175
+ $theme = $this->selected_theme;
2176
+ }
2177
+
2178
+ // var_dump( $theme);
2179
+
2180
+ $attr['counter'] = $attr['counter'] ? 'true' : 'false';
2181
+ $attr['showTotalCount'] = $attr['showTotalCount'] ? 'true' : 'false';
2182
+ $theme = "theme='{$theme}'";
2183
+ $order = "order='{$attr['order']}'";
2184
+ $counter = "counter='" . $attr['counter'] . "'";
2185
+ $alignemnt = "align='{$attr['alignment']}'";
2186
+ $like_button_size = "like_button_size='{$attr['likeButtonSize']}'";
2187
+ $show_total_count = "show_total_count='{$attr['showTotalCount']}'";
2188
+ $align = $attr['align'];
2189
 
2190
+ return "<div class='align$align'> [SSB $theme $order $counter $alignemnt $like_button_size $show_total_count] </div>";
2191
+ }
2192
+
2193
+ } // end class
2194
 
2195
  global $_ssb_pr;
2196
  if ( is_admin() ) {
uninstall.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Uninstall Simple social button.
4
+ *
5
+ * @package SimpleSocialButtons
6
+ * @author WPBrigade
7
+ * @since 2.1.5
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
12
+ exit;
13
+ }
14
+
15
+ $ssb_advance_setting = get_option( 'ssb_advanced' );
16
+
17
+ if ( '1' != $ssb_advance_setting['ssb_uninstall_data'] ) {
18
+ return;
19
+ }
20
+
21
+
22
+ // Array of Plugin's Option.
23
+ $ssb_unintstall_option = array(
24
+ 'ssb_networks',
25
+ 'ssb_themes',
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',
33
+ 'widget_ssb_widget',
34
+ 'ssb_pr_version', // $this->pluginPrefix . 'version'.
35
+ );
36
+
37
+
38
+ if ( ! is_multisite() ) {
39
+ // Delete all plugin Options.
40
+ foreach ( $ssb_unintstall_option as $option ) {
41
+ if ( get_option( $option ) ) {
42
+ delete_option( $option );
43
+ }
44
+ }
45
+ } else {
46
+
47
+ global $wpdb;
48
+ $ssb_blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
49
+
50
+ foreach ( $ssb_blog_ids as $blog_id ) {
51
+
52
+ switch_to_blog( $blog_id );
53
+
54
+
55
+ // Delete all plugin Options.
56
+ foreach ( $ssb_unintstall_option as $option ) {
57
+ if ( get_option( $option ) ) {
58
+ delete_option( $option );
59
+ }
60
+ }
61
+
62
+ restore_current_blog();
63
+ }
64
+ }