Social Share Buttons – Social Pug - Version 1.19.0

Version Description

  • FEATURE: New setting to allow a second render to fix issues with missing inline content buttons on theme conflicts
  • FEATURE: Added new hook to allow plugin authors to exclude their custom post-types from being scraped by Facebook's API
  • FEATURE: Add setting to hide Floating Sidebar when it reaches a certain element, configurable in the settings.
  • FEATURE: Switches all users to optimized javascript with ability to roll back to jQuery until July 2021
  • FEATURE: Add feature flag capabilities for beta program.
  • FEATURE: Update Facebook Graph API Version
  • FEATURE: Add Settings API
  • FEATURE: Grow.me now available as a network for sharing
  • FIX: Added wprm_recipe to post-type exclusion array to prevent calls to Facebook's API
  • FIX: Fixes issue where missing Facebook token would cause 400 errors when updating share counts
  • FIX: Fixes issue with broken Inline Content buttons on WooCommerce products
  • FIX: Fixed an issue where individual share-counts were not displaying when the Minimum Share Count field was filled out.
  • FIX: Trigger attributes for Floating Sidebar
  • FIX: Hide Grow sharing elements from printers
  • FIX: Resolved an issue where share count numbers were overflowing buttons on certain style variations.
  • FIX: Resolve issue on some Trellis sites where mobile users needed to click twice on links to go to the target page.
  • FIX: Resolves an issue where old networks could cause fatal errors during share count retrieval.
  • COSMETIC: Remove Icon Font and use inline SVG for admin Icons
  • COSMETIC: Fix Floating Sidebar Icon alignment issue
  • COSMETIC: Fix gap between outline and icon on some button styles.
  • ENHANCE: Add a notification for new users to check out setup documentation.
Download this release

Release Info

Developer mediavine
Plugin Icon Social Share Buttons – Social Pug
Version 1.19.0
Comparing to
See all releases

Code changes from version 1.18.2 to 1.19.0

Files changed (111) hide show
  1. assets/dist/{custom-social-media-image-pinterest.1.18.2.png → custom-social-media-image-pinterest.1.19.0.png} +0 -0
  2. assets/dist/{custom-social-media-image.1.18.2.png → custom-social-media-image.1.19.0.png} +0 -0
  3. assets/dist/dashboard-pro.1.18.2.js +0 -3
  4. assets/dist/dashboard-pro.1.19.0.js +19 -0
  5. assets/dist/{dashboard-tinymce.1.18.2.js → dashboard-tinymce.1.19.0.js} +0 -0
  6. assets/dist/{dpsp-selectable-empty.1.18.2.png → dpsp-selectable-empty.1.19.0.png} +0 -0
  7. assets/dist/{extension-bitly.1.18.2.png → extension-bitly.1.19.0.png} +0 -0
  8. assets/dist/{extension-branch.1.18.2.png → extension-branch.1.19.0.png} +0 -0
  9. assets/dist/{extension-ctt.1.18.2.png → extension-ctt.1.19.0.png} +0 -0
  10. assets/dist/{extension-ga-utm-tracking.1.18.2.png → extension-ga-utm-tracking.1.19.0.png} +0 -0
  11. assets/dist/{extension-networks.1.18.2.png → extension-networks.1.19.0.png} +0 -0
  12. assets/dist/front-end-free.1.18.2.js +0 -55
  13. assets/dist/front-end-free.1.19.0.js +75 -0
  14. assets/dist/{grow-logo-sq-navy.1.18.2.png → grow-logo-sq-navy.1.19.0.png} +0 -0
  15. assets/dist/intercom.1.18.2.js +0 -3
  16. assets/dist/intercom.1.19.0.js +11 -0
  17. assets/dist/{jquery.ui.touch-punch.min.1.18.2.js → jquery.ui.touch-punch.min.1.19.0.js} +0 -0
  18. assets/dist/{social-pug-upgrade.1.18.2.png → social-pug-upgrade.1.19.0.png} +0 -0
  19. assets/dist/{socialpug.1.18.2.eot → socialpug.1.19.0.eot} +0 -0
  20. assets/dist/{socialpug.1.18.2.svg → socialpug.1.19.0.svg} +0 -0
  21. assets/dist/{socialpug.1.18.2.ttf → socialpug.1.19.0.ttf} +0 -0
  22. assets/dist/{socialpug.1.18.2.woff → socialpug.1.19.0.woff} +0 -0
  23. assets/dist/style-dashboard-pro.1.18.2.css +0 -1
  24. assets/dist/style-dashboard-pro.1.19.0.css +1 -0
  25. assets/dist/style-frontend-pro-jquery.1.18.2.css +0 -1
  26. assets/dist/style-frontend-pro-jquery.1.19.0.css +1 -0
  27. assets/dist/style-frontend-pro.1.18.2.css +0 -1
  28. assets/dist/style-frontend-pro.1.19.0.css +1 -0
  29. assets/dist/{tool-content.1.18.2.png → tool-content.1.19.0.png} +0 -0
  30. assets/dist/{tool-follow-widget.1.18.2.png → tool-follow-widget.1.19.0.png} +0 -0
  31. assets/dist/{tool-image-hover-pinterest.1.18.2.png → tool-image-hover-pinterest.1.19.0.png} +0 -0
  32. assets/dist/{tool-misc-import-export.1.18.2.png → tool-misc-import-export.1.19.0.png} +0 -0
  33. assets/dist/{tool-mobile.1.18.2.png → tool-mobile.1.19.0.png} +0 -0
  34. assets/dist/{tool-pop-up.1.18.2.png → tool-pop-up.1.19.0.png} +0 -0
  35. assets/dist/{tool-sidebar.1.18.2.png → tool-sidebar.1.19.0.png} +0 -0
  36. assets/src/css/abstract/_mixins.scss +63 -0
  37. assets/src/css/abstract/_variables.scss +28 -0
  38. assets/src/css/{lib/admin → abstract}/index.php +0 -0
  39. assets/src/css/base.scss +18 -27
  40. assets/src/css/components/_buttons-content.scss +14 -0
  41. assets/src/css/components/_buttons-general.scss +505 -0
  42. assets/src/css/components/_buttons-pin-it.scss +147 -0
  43. assets/src/css/components/_buttons-pop-up.scss +7 -0
  44. assets/src/css/{lib/buttons/shortcode.scss → components/_buttons-shortcode.scss} +3 -1
  45. assets/src/css/{lib/buttons/sidebar.scss → components/_buttons-sidebar.scss} +136 -80
  46. assets/src/css/{lib/buttons/sticky.scss → components/_buttons-sticky.scss} +24 -25
  47. assets/src/css/{lib/click-to-tweet.scss → components/_click-to-tweet.scss} +85 -77
  48. assets/src/css/{lib/follow-widget.scss → components/_follow-widget.scss} +1 -0
  49. assets/src/css/{lib/icons-general.scss → components/_icons-general.scss} +15 -16
  50. assets/src/css/components/_pop-up.scss +126 -0
  51. assets/src/css/{lib/top-shared-post.scss → components/_top-shared-post.scss} +9 -9
  52. assets/src/css/components/_total-shares.scss +103 -0
  53. assets/src/css/{lib/buttons → components}/index.php +0 -0
  54. assets/src/css/dashboard-base.scss +2106 -0
  55. assets/src/css/layouts/_admin-extensions.scss +37 -0
  56. assets/src/css/layouts/_admin-meta-boxes.scss +26 -0
  57. assets/src/css/{lib/admin/settings-sidebar.scss → layouts/_admin-settings-sidebar.scss} +15 -17
  58. assets/src/css/{lib → layouts}/index.php +0 -0
  59. assets/src/css/lib/admin/extensions.scss +0 -10
  60. assets/src/css/lib/buttons/content.scss +0 -7
  61. assets/src/css/lib/buttons/general.scss +0 -411
  62. assets/src/css/lib/buttons/mixins.scss +0 -45
  63. assets/src/css/lib/buttons/pin-it.scss +0 -45
  64. assets/src/css/lib/buttons/pop-up.scss +0 -7
  65. assets/src/css/lib/buttons/style-variations.scss +0 -261
  66. assets/src/css/lib/pop-up.scss +0 -110
  67. assets/src/css/lib/total-shares.scss +0 -102
  68. assets/src/css/style-dashboard-pro.css +1 -1320
  69. assets/src/css/themes/_style-variations.scss +379 -0
  70. assets/src/css/themes/index.php +2 -0
  71. assets/src/dev-entry.js +1 -0
  72. assets/src/entry.html +1 -1
  73. inc/admin/admin-metaboxes.php +104 -86
  74. inc/admin/feedback-form/functions-ajax.php +31 -27
  75. inc/admin/feedback-form/functions.php +4 -3
  76. inc/admin/feedback-form/views/view-feedback-form.php +27 -25
  77. inc/admin/submenu-page-extensions.php +3 -2
  78. inc/admin/submenu-page-settings.php +3 -3
  79. inc/admin/submenu-page-sidebar.php +0 -42
  80. inc/admin/views/view-submenu-page-debugger.php +6 -6
  81. inc/admin/views/view-submenu-page-extensions-sub-page-opt-in-hound.php +23 -23
  82. inc/admin/views/view-submenu-page-extensions.php +75 -72
  83. inc/admin/views/view-submenu-page-settings.php +69 -27
  84. inc/admin/views/view-submenu-page-sidebar.php +132 -110
  85. inc/admin/views/view-submenu-page-toolkit.php +4 -4
  86. inc/api/index.php +2 -0
  87. inc/api/v1/index.php +2 -0
  88. inc/api/v1/settings-args.php +139 -0
  89. inc/api/v1/settings-partials.php +413 -0
  90. inc/api/v1/settings-schema.php +44 -0
  91. inc/class-activation.php +174 -159
  92. inc/class-admin-notices.php +371 -0
  93. inc/class-asset-loader.php +144 -144
  94. inc/class-color-utilities.php +139 -139
  95. inc/class-compatibility.php +263 -0
  96. inc/class-custom-color.php +59 -41
  97. inc/class-data-sync.php +143 -142
  98. inc/{class-buttons-outputter.php → class-dpsp-network-buttons-outputter.php} +90 -152
  99. inc/class-frontend-data.php +148 -69
  100. inc/class-general-settings.php +24 -0
  101. inc/class-icon.php +73 -0
  102. inc/class-icons.php +101 -0
  103. inc/class-meta-tags.php +131 -0
  104. inc/class-mobile-detect.php +65 -61
  105. inc/class-settings-api.php +284 -0
  106. inc/class-settings.php +12 -12
  107. inc/class-share-counts.php +44 -42
  108. mediavine-grow.php → inc/class-social-pug.php +86 -58
  109. inc/class-view-loader.php +78 -0
  110. inc/feature-flags.php +22 -0
  111. inc/functions-admin.php +367 -521
assets/dist/{custom-social-media-image-pinterest.1.18.2.png → custom-social-media-image-pinterest.1.19.0.png} RENAMED
File without changes
assets/dist/{custom-social-media-image.1.18.2.png → custom-social-media-image.1.19.0.png} RENAMED
File without changes
assets/dist/dashboard-pro.1.18.2.js DELETED
@@ -1,3 +0,0 @@
1
- parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"dNy0":[function(require,module,exports) {
2
- jQuery(function(e){function t(e,t,s){var i=-1!==s.indexOf("?")?"&":"?";return s+i+e+"="+t}function s(t){e('.dpsp-social-platforms-sort-list li[data-network="'+t+'"]').remove(),e(".dpsp-social-platforms-sort-list li").removeClass("dpsp-last"),e(".dpsp-social-platforms-sort-list li").last().addClass("dpsp-last"),0==e(".dpsp-social-platforms-sort-list li").length&&(e(".dpsp-social-platforms-sort-list").fadeOut(1),e(".dpsp-social-platforms-sort-list").removeClass("dpsp-active"))}var i;function a(){$checkbox_total_shares.is(":checked")||$checkbox_shares.is(":checked")?($wrapper_checkbox_count_round.removeClass("disabled"),$checkbox_count_round.attr("disabled",!1)):($wrapper_checkbox_count_round.addClass("disabled"),$checkbox_count_round.attr("disabled",!0))}function n(){$checkbox_total_shares.is(":checked")||$checkbox_shares.is(":checked")?($wrapper_text_minimum_count.removeClass("disabled"),$text_minimum_count.attr("disabled",!1)):($wrapper_text_minimum_count.addClass("disabled"),$text_minimum_count.attr("disabled",!0))}function p(){$checkbox_total_shares.is(":checked")||$checkbox_shares.is(":checked")?($wrapper_text_minimum_individual_count.removeClass("disabled"),$text_minimum_individual_count.attr("disabled",!1)):($wrapper_text_minimum_individual_count.addClass("disabled"),$text_minimum_individual_count.attr("disabled",!0))}e(document).on("click",".dpsp-tool-wrapper .dpsp-switch label",function(t){var s=e(this).closest(".dpsp-tool-actions"),i=s.find(".dpsp-tool-settings");i.fadeOut(200),s.append('<div class="dpsp-tool-actions-overlay"><div class="spinner"></div></div>'),s.find(".dpsp-tool-actions-overlay").animate({opacity:1},200);var a=e(this).siblings("input").data("tool");e(this).siblings("input").data("tool-activation");"undefined"!=a&&(s.hasClass("dpsp-inactive")?function(t){var s={action:"dpsp_activate_tool",dpsptkn:e("#dpsptkn").val(),tool:t};return e.post(ajaxurl,s,function(){})}(a).done(function(t){1==t&&(s.find(".dpsp-tool-actions-overlay").animate({opacity:0},200,function(){e(this).remove()}),s.removeClass("dpsp-inactive").addClass("dpsp-active"),s.find("span").text("Active"),i.fadeIn(200))}):function(t){var s={action:"dpsp_deactivate_tool",dpsptkn:e("#dpsptkn").val(),tool:t};return e.post(ajaxurl,s,function(){})}(a).done(function(t){var i;1==t&&(s.find(".dpsp-tool-actions-overlay").animate({opacity:0},200,function(){e(this).remove()}),s.removeClass("dpsp-active").addClass("dpsp-inactive"),s.find("span").text("Inactive"),i=(i=a).replace("share_","").replace("follow_","").replace("misc_","").replace("_","-"),e("#toplevel_page_dpsp-social-pug .wp-submenu li a").each(function(){e(this).attr("href").indexOf(i),"images"!==i&&e(this).parent().hide()}))}))}),e.fn.wpColorPicker&&e(".dpsp-color-picker").wpColorPicker(),e.fn.select2&&e(".dpsp-setting-field-select select").select2({minimumResultsForSearch:1/0}).on("select2:open",function(){e(".select2-container").last().addClass("dpsp-select2")}),e(function(){e(".dpsp-social-platforms-sort-list").sortable({handle:".dpsp-sort-handle",placeholder:"dpsp-sort-placeholder",containment:"#wpwrap",stop:function(){e(".dpsp-social-platforms-sort-list li").removeClass("dpsp-last"),e(".dpsp-social-platforms-sort-list li").last().addClass("dpsp-last")}})}),e(document).on("click","#dpsp-networks-selector .dpsp-network-item",function(){$this=e(this),$checkbox=$this.children(".dpsp-network-item-checkbox"),$this.attr("data-checked")?$this.removeAttr("data-checked"):$this.attr("data-checked","true")}),e(document).on("click","#dpsp-select-networks",function(t){t.preventDefault(),e("#dpsp-networks-selector-wrapper").hasClass("dpsp-active")?(e("#dpsp-networks-selector-wrapper").removeClass("dpsp-active"),e("#dpsp-networks-selector-wrapper").stop().fadeOut(250,function(){0==e(".dpsp-social-platforms-sort-list").find("li").length?(e("#dpsp-sortable-networks-empty").stop().fadeIn(400),e("#dpsp-sortable-networks-empty").addClass("dpsp-active")):(e(".dpsp-social-platforms-sort-list").stop().fadeIn(400),e(".dpsp-social-platforms-sort-list").addClass("dpsp-active"))})):(e("#dpsp-select-networks").hide(),e("#dpsp-networks-selector-wrapper").addClass("dpsp-active"),0==e(".dpsp-social-platforms-sort-list").find("li").length?(e(".dpsp-social-platforms-sort-list").hide(),e("#dpsp-sortable-networks-empty").removeClass("dpsp-active"),e("#dpsp-sortable-networks-empty").stop().fadeOut(250,function(){e("#dpsp-networks-selector-wrapper").stop().fadeIn(250)})):(e(".dpsp-social-platforms-sort-list").removeClass("dpsp-active"),e(".dpsp-social-platforms-sort-list").stop().fadeOut(250,function(){e("#dpsp-networks-selector-wrapper").stop().fadeIn(250)})))}),e(document).on("click","#dpsp-networks-selector-footer a",function(t){t.preventDefault(),e("#dpsp-select-networks").show(),e("#dpsp-networks-selector .dpsp-network-item").each(function(){$this=e(this);var t=$this.attr("data-network"),i=$this.attr("data-network-name");if($this.attr("data-checked")){var a=!1;if(e(".dpsp-social-platforms-sort-list li").each(function(){e(this).attr("data-network")==t&&(a=!0)}),a)return a;!function(t,s){if("undefined"==t)return!1;if("undefined"==s)return!1;var i="",a=e('input[name="dpsp_buttons_location"]').val();i+='<li data-network="'+t+'">',i+='<div class="dpsp-sort-handle ui-sortable-handle">\x3c!-- --\x3e</div>',i+='<div class="dpsp-list-icon dpsp-list-icon-social dpsp-icon-'+t+" dpsp-background-color-network-"+t+'">\x3c!-- --\x3e</div>',i+='<div class="dpsp-list-input-wrapper"><input type="text" placeholder="This button has no label text." name="'+a+"[networks]["+t+'][label]" value="'+s+'"></div>',i+='<div class="dpsp-list-actions">',i+='<a class="dpsp-list-edit-label dpsp-transition" href="#"><span class="dashicons dashicons-edit"></span>Edit Label</a>',i+='<a class="dpsp-list-remove dpsp-transition" href="#"><span class="dashicons dashicons-no-alt"></span>Remove</a>',i+="</div>",i+="</li>",e(".dpsp-social-platforms-sort-list").append(i),e(".dpsp-social-platforms-sort-list li").removeClass("dpsp-last"),e(".dpsp-social-platforms-sort-list li").last().addClass("dpsp-last")}(t,i)}else s(t)}),e("#dpsp-networks-selector-wrapper").removeClass("dpsp-active").stop().fadeOut(250,function(){0==e(".dpsp-social-platforms-sort-list").find("li").length?(e("#dpsp-sortable-networks-empty").stop().fadeIn(250),e("#dpsp-sortable-networks-empty").addClass("dpsp-active")):(e(".dpsp-social-platforms-sort-list").stop().fadeIn(250),e(".dpsp-social-platforms-sort-list").addClass("dpsp-active"))})}),e(document).on("click",".dpsp-list-edit-label",function(t){t.preventDefault(),e(this).closest("li").find(".dpsp-list-input-wrapper input").focus().select()}),e(document).on("click",".dpsp-list-remove",function(t){t.preventDefault();var i=e(this).closest("li").attr("data-network");s(i),e('#dpsp-networks-selector .dpsp-network-item[data-network="'+i+'"]').removeAttr("data-checked"),0==e(".dpsp-social-platforms-sort-list").find("li").length&&(e("#dpsp-sortable-networks-empty").stop().fadeIn(250),e("#dpsp-sortable-networks-empty").addClass("dpsp-active"),e(".dpsp-social-platforms-sort-list").removeClass("dpsp-active"))}),e(document).ready(function(){e(".dpsp-network-btn").attr("href","#")}),e(document).on("click",".dpsp-network-btn",function(t){t.preventDefault(),e(this).closest("label").click()}),e(document).on("focus",".dpsp-page-mobile .dpsp-list-input-wrapper input",function(){e(this).blur()}),e(document).on("focus",".dpsp-page-sticky-bar .dpsp-list-input-wrapper input",function(){e(this).blur()}),e(document).on("focus",".dpsp-list-input-wrapper input",function(){e(this).attr("data-placeholder",e(this).attr("placeholder")),e(this).attr("placeholder"," ")}),e(document).on("blur",".dpsp-list-input-wrapper input",function(){e(this).attr("placeholder",e(this).attr("data-placeholder")),e(this).attr("data-placeholder"," ")}),e(document).on("change",".dpsp-setting-field-button-shape select",function(){e(this).closest(".dpsp-page-wrapper").find(".dpsp-networks-btns-wrapper").parent().removeClass("dpsp-shape-circle dpsp-shape-rounded dpsp-shape-rectangular").addClass("dpsp-shape-"+e(this).val())}),e(document).on("mouseenter",".dpsp-setting-field-tooltip-icon",function(){e(this).siblings("div").css("opacity",1).css("visibility","visible")}),e(document).on("mouseleave",".dpsp-setting-field-tooltip-icon",function(){e(this).siblings("div").css("opacity",0).css("visibility","hidden")}),e(document).on("mouseenter",".dpsp-setting-field-tooltip-wrapper.dpsp-has-link",function(){e(this).find("div").css("opacity",1).css("visibility","visible")}),e(document).on("mouseleave",".dpsp-setting-field-tooltip-wrapper.dpsp-has-link",function(){e(this).find("div").css("opacity",0).css("visibility","hidden")}),e(".dpsp-image-select").on("click",function(t){t.preventDefault(),$btn_select=e(this),$btn_remove=$btn_select.siblings(".dpsp-image-remove"),$image_id=$btn_select.siblings(".dpsp-image-id"),$image_src=$btn_select.siblings(".dpsp-image-src"),$image=$btn_select.siblings("div").find("img"),i?i.open():((i=wp.media({title:"Choose Image",button:{text:"Use Image"},multiple:!1})).on("select",function(){var e=i.state().get("selection").first().toJSON();$image_id.val(e.id),$image_src.val(e.url),$image.attr("src",""),$image.attr("src",e.url),$btn_select.addClass("dpsp-hidden"),$btn_remove.removeClass("dpsp-hidden");var t=new CustomEvent("dpsp_settings_field_image_select_image",{detail:{field:$btn_select.closest(".dpsp-setting-field-image"),attachment:e}});document.dispatchEvent(t)}),i.open())}),e(".dpsp-image-remove").on("click",function(t){t.preventDefault(),$btn_remove=e(this),$btn_select=$btn_remove.siblings(".dpsp-image-select"),$image_id=$btn_remove.siblings(".dpsp-image-id"),$image_src=$btn_remove.siblings(".dpsp-image-src"),$image=$btn_remove.siblings("div").find("img"),$btn_remove.addClass("dpsp-hidden"),$btn_select.removeClass("dpsp-hidden"),$image_id.val(""),$image_src.val(""),$image.attr("src",void 0!==$image.siblings(".dpsp-field-image-placeholder").data("src")?$image.siblings(".dpsp-field-image-placeholder").data("src"):"");var s=new CustomEvent("dpsp_settings_field_image_remove_image",{detail:{field:$btn_select.closest(".dpsp-setting-field-image")}});document.dispatchEvent(s)}),$checkbox_shares=e(".dpsp-setting-field-show-share-count input[type=checkbox]"),$checkbox_total_shares=e(".dpsp-setting-field-show-total-share-count input[type=checkbox]"),$checkbox_count_round=e(".dpsp-setting-field-share-count-round input[type=checkbox]"),$text_minimum_count=e(".dpsp-setting-field-minimum-global-share-count input[type=text]"),$text_minimum_individual_count=e(".dpsp-setting-field-minimum-individual-share-count input[type=text]"),$wrapper_checkbox_count_round=$checkbox_count_round.closest(".dpsp-setting-field-wrapper"),$wrapper_text_minimum_count=$text_minimum_count.closest(".dpsp-setting-field-wrapper"),$wrapper_text_minimum_individual_count=$text_minimum_individual_count.closest(".dpsp-setting-field-wrapper"),$checkbox_after_scrolling=e(".dpsp-setting-field-show-after-user-scrolls input[type=checkbox]"),$checkbox_scroll_distance_wrapper=$checkbox_after_scrolling.closest(".dpsp-setting-field-wrapper").next(".dpsp-setting-field-wrapper"),$checkbox_scroll_distance=$checkbox_scroll_distance_wrapper.find("input"),$checkbox_total_shares.is(":checked")||($checkbox_total_shares.closest(".dpsp-setting-field-wrapper").next().addClass("disabled"),$checkbox_total_shares.closest(".dpsp-setting-field-wrapper").next().find("select").attr("disabled",!0)),$checkbox_total_shares.change(function(){$checkbox_total_shares.is(":checked")?($checkbox_total_shares.closest(".dpsp-setting-field-wrapper").next().removeClass("disabled"),$checkbox_total_shares.closest(".dpsp-setting-field-wrapper").next().find("select").attr("disabled",!1)):($checkbox_total_shares.closest(".dpsp-setting-field-wrapper").next().addClass("disabled"),$checkbox_total_shares.closest(".dpsp-setting-field-wrapper").next().find("select").attr("disabled",!0))}),a(),n(),p(),$checkbox_shares.change(function(){a(),n(),p()}),$checkbox_total_shares.change(function(){a(),n(),p()}),$checkbox_after_scrolling.is(":checked")||($checkbox_scroll_distance_wrapper.addClass("disabled"),$checkbox_scroll_distance.attr("disabled",!0)),$checkbox_after_scrolling.change(function(){$checkbox_after_scrolling.is(":checked")?($checkbox_scroll_distance_wrapper.removeClass("disabled"),$checkbox_scroll_distance.attr("disabled",!1)):($checkbox_scroll_distance_wrapper.addClass("disabled"),$checkbox_scroll_distance.attr("disabled",!0))}),e(".dpsp-nav-tab").on("click",function(s){s.preventDefault(),"pinterest-image-hover"===e(this).attr("data-tab")&&(document.location.search="?page=dpsp-pinterest-images"),$_wp_http_referer=e("input[name=_wp_http_referer]");var i=$_wp_http_referer.val();i=function(e,t){var s=t.split("?")[0],i=[],a=-1!==t.indexOf("?")?t.split("?")[1]:"";if(""!==a){for(var n=(i=a.split("&")).length-1;n>=0;n-=1)i[n].split("=")[0]===e&&i.splice(n,1);s=s+"?"+i.join("&")}return""==s.split("?")[1]&&(s=s.split("?")[0]),s}("dpsp-tab",i),$_wp_http_referer.val(t("dpsp-tab",e(this).attr("data-tab"),i)),e(".dpsp-nav-tab").removeClass("dpsp-active"),e(this).addClass("dpsp-active"),e(".dpsp-tab").removeClass("dpsp-active");var a=e(this).attr("data-tab");e("#dpsp-tab-"+a).addClass("dpsp-active")}),e(document).on("click","#dpsp-refresh-share-counts",function(t){if(t.preventDefault(),e(this).hasClass("disabled"))return!1;const s=e(this),i=s.siblings(".spinner");s.addClass("disabled"),i.css("visibility","visible"),e(".dpsp-statistic-bar-wrapper-network").css("opacity",.6);var a={action:"dpsp_refresh_share_counts",nonce:s.siblings('[name="dpsp_refresh_share_counts"]').val(),post_id:parseInt(e("#post_ID").val())};e.post(ajaxurl,a,function(t){t&&e(".dpsp-statistic-bars-wrapper").replaceWith(t)})}),e(document).on("click","#dpsp-global-refresh-share-counts",function(t){if(t.preventDefault(),e(this).hasClass("disabled"))return!1;const s=e(this),i=s.siblings(".action-text");s.addClass("disabled"),i.fadeIn();var a={action:"dpsp_refresh_all_share_counts",nonce:e("#dpsp_refresh_all_share_counts").val()};e.post(ajaxurl,a)}),e(document).ready(function(){e('[name="dpsp_settings[shortening_service]"]').change(function(){e(".dpsp-subsection-link-shortening").hide(),e(".dpsp-subsection-link-shortening[data-link-shortening-service="+e(this).val()+"]").show(),e("#dpsp-purge-shortened-links span").text(e(this).find("option:selected").text())}),e('[name="dpsp_settings[shortening_service]"]').trigger("change")}),e(document).on("change",'[name="dpsp_location_sticky_bar[display][show_on_device]"]',function(){"all"==e(this).val()?(e(".dpsp-setting-field-desktop-position").show(),e(".dpsp-setting-field-mobile-position").show()):(e(".dpsp-setting-field-desktop-position").hide(),e(".dpsp-setting-field-mobile-position").hide()),"desktop"==e(this).val()&&e(".dpsp-setting-field-desktop-position").show(),"mobile"==e(this).val()&&e(".dpsp-setting-field-mobile-position").show()}),e('[name="dpsp_location_sticky_bar[display][show_on_device]"]').trigger("change"),e(document).on("change",'[name="dpsp_settings[facebook_share_counts_provider]"]',function(){e(".dpsp-setting-field-facebook-authorize-app").hide(),e(".dpsp-setting-field-facebook-app-id, .dpsp-setting-field-facebook-app-secret").hide(),"authorized_app"==e(this).val()&&e(".dpsp-setting-field-facebook-authorize-app").show(),"own_app"==e(this).val()&&e(".dpsp-setting-field-facebook-app-id, .dpsp-setting-field-facebook-app-secret").show()}),e('[name="dpsp_settings[facebook_share_counts_provider]"]').trigger("change"),e(document).on("click","#dpsp-purge-shortened-links",function(s){if(s.preventDefault(),!dpsp_confirm_shorten_link_purge)return!1;$button=e(this),$form=$button.closest("form");var i={action:"dpsp_purge_shortened_links",nonce:e("#_wpnonce").val(),shortening_service:e('[name="dpsp_settings[shortening_service]"]').val()};$form.find(":input").attr("disabled",!0),$button.closest(".dpsp-setting-field-button").addClass("dpsp-loading"),e.post(ajaxurl,i,function(e){if(void 0!==(e=JSON.parse(e)).success){var s=window.location,i="dpsp_purge_shortened_links_fail";1==e.success&&(i="dpsp_purge_shortened_links_success"),s=t("updated",i,window.location.href),window.location=s}})}),e(document).on("change",".dpsp-setting-field-enable-twitter-tweet-counts input[type=checkbox]",function(){e(this).is(":checked")?e(".dpsp-setting-field-tweet-counts-provider").show():e(".dpsp-setting-field-tweet-counts-provider").hide()}),e(".dpsp-setting-field-enable-twitter-tweet-counts input[type=checkbox]").trigger("change"),e(document).on("change",".dpsp-setting-field-show-button-label input[type=checkbox]",function(){e(this).is(":checked")?e(".dpsp-setting-field-button-text-label").show():e(".dpsp-setting-field-button-text-label").hide()}),e(".dpsp-setting-field-show-button-label input[type=checkbox]").trigger("change"),e(document).on("change","#dpsp_location_follow_widget\\[display\\]\\[column_count\\]",function(t){"auto"==e(this).val()?e(".dpsp-setting-field-button-alignment").show():e(".dpsp-setting-field-button-alignment").hide()}),e("#dpsp_location_follow_widget\\[display\\]\\[column_count\\]").trigger("change"),document.addEventListener("dpsp_settings_field_image_select_image",function(e){if(0==e.detail.field.parents("#dpsp_share_options_content").length)return!1;e.detail.field.find("img").height(parseInt(200*e.detail.attachment.height/e.detail.attachment.width)),e.detail.field.closest(".dpsp-section").css("min-height",e.detail.field.height())}),document.addEventListener("dpsp_settings_field_image_remove_image",function(e){if(0==e.detail.field.parents("#dpsp_share_options_content").length)return!1;e.detail.field.find('label[for="dpsp_share_options[custom_image]"]').length>0?e.detail.field.find("img").height(105):e.detail.field.find("img").height(300),e.detail.field.closest(".dpsp-section").css("min-height",e.detail.field.height())}),e(window).on("load",function(){e("#dpsp_share_options_content .dpsp-section").each(function(){e(this).css("min-height",e(this).find(".dpsp-setting-field-image").height())})}),e(".dpsp-setting-field-wrapper textarea").on("input",function(){var t=e(this),s=t.closest(".dpsp-setting-field-wrapper").find(".dpsp-textarea-characters-remaining"),i=parseInt(s.parent().data("maximum-count")),a=parseInt(i-t.val().length);s.text(a),a<0?s.parent().addClass("dpsp-excedeed"):s.parent().removeClass("dpsp-excedeed")}),e('.dpsp-setting-field-wrapper textarea[name="dpsp_share_options[custom_tweet]"]').on("input",function(){var t=e(this),s=t.closest(".dpsp-setting-field-wrapper").find(".dpsp-textarea-characters-remaining"),i=parseInt(s.parent().data("maximum-count"));urls=t.val().match(/(http(s?):\/\/[\S]*)/g),urls_char_counts=23*(urls?urls.length:0);var a=parseInt(i-t.val().replace(/(http(s?):\/\/[\S]*)/g,"").length-urls_char_counts);s.text(a),a<0?s.parent().addClass("dpsp-excedeed"):s.parent().removeClass("dpsp-excedeed")}),e(document).on("change",'select[name="dpsp_settings[ctt_style]"]',function(){e("#section-click-to-tweet-preview > a").removeClass("dpsp-click-to-tweet").attr("class",function(e,t){return t.replace(/(^|\s)dpsp-style-\S+/g,"")}),e("#section-click-to-tweet-preview > a").addClass("dpsp-click-to-tweet").addClass("dpsp-style-"+e(this).val())}),e(document).on("keyup",'input[name="dpsp_settings[ctt_link_text]"]',function(){e("#section-click-to-tweet-preview > a .dpsp-click-to-tweet-cta > span").html(e(this).val())}),e(document).on("change",'select[name="dpsp_settings[ctt_link_position]"]',function(){e("#section-click-to-tweet-preview > a").removeClass("dpsp-click-to-tweet-cta-left dpsp-click-to-tweet-cta-right").addClass("dpsp-click-to-tweet-cta-"+e(this).val())}),e(document).on("click",'input[name="dpsp_settings[ctt_link_icon_animation]"]',function(){e(this).is(":checked")?e("#section-click-to-tweet-preview > a").addClass("dpsp-click-to-tweet-cta-icon-animation"):e("#section-click-to-tweet-preview > a").removeClass("dpsp-click-to-tweet-cta-icon-animation")}),e('select[name="dpsp_settings[ctt_style]"]').trigger("change"),e('input[name="dpsp_settings[ctt_link_text]"]').trigger("keyup"),e('select[name="dpsp_settings[ctt_link_position]"]').trigger("change"),e('select[name="dpsp_settings[ctt_link_icon_animation]"]').trigger("click"),e("#section-click-to-tweet-preview").show(),e(document).on("change",".dpsp-setting-field-wrapper *",function(){e(".dpsp-card-inner").each(function(){e(this).find(".dpsp-setting-field-wrapper").removeClass("dpsp-last"),e(this).find(".dpsp-setting-field-wrapper:not(.disabled)").last().addClass("dpsp-last")})}),e(".dpsp-setting-field-wrapper *").first().trigger("change"),e(document).on("click","#dpsp-add-post-previous-url",function(t){t.preventDefault(),e("#dpsp-shares-recovery-post-previous-urls-empty").hide(),e(this).before(e(".dpsp-post-previous-url.dpsp-hidden").clone()),e(this).parent().find(".dpsp-post-previous-url.dpsp-hidden").hide().removeClass("dpsp-hidden").fadeIn(),e(this).parent().find(".dpsp-post-previous-url input").focus()}),e(document).on("click",".dpsp-post-previous-url a",function(t){t.preventDefault(),e(this).parent().remove(),0==e(".dpsp-post-previous-url:not(.dpsp-hidden)").length&&e("#dpsp-shares-recovery-post-previous-urls-empty").fadeIn()}),e(document).on("change",'[name="dpsp_settings[previous_permalink_structure]"]',function(){"custom"==e(this).val()&&setTimeout(function(){e('[name="dpsp_settings[previous_permalink_structure_custom]"]').focus()},100)}),e('[name="dpsp_settings[previous_base_domain]"]').attr("placeholder","eg. domain.com");var o,d=e("#tmpl-image-details");if(d.length>0&&void 0!==window.pagenow&&"widgets"!=window.pagenow&&"customize"!=window.pagenow){var l=d.html(),c='<label class="setting pin-title"><span>Pin Title</span><input type="text" data-setting="pin_title" value="{{ data.model.pin_title }}" /><p class="description" style="font-style: italic; margin-top: 5px;">Please note: Pinterest does not yet support pin titles. Pinterest is still in the process of releasing this feature. We\'ve added the field in advance, to make sure you\'re ready for when the feature rolls out.</p></label>',r='<label class="setting pin-description"><span>Pin Description</span><textarea data-setting="pin_description">{{ data.model.pin_description }}</textarea></label>',u='<label class="setting pin-repin-id"><span>Pin Repin ID</span><input type="text" data-setting="pin_repin_id" value="{{ data.model.pin_repin_id }}" /></label>',h='<label class="setting pin-nopin"><span>Disable Pinning</span><select data-setting="pin_nopin"><option value="">No</option><option value="1" <# if ( data.model.pin_nopin ) { #> selected="selected" <# } #>>Yes</option></select></label>';-1!=d.text().indexOf('<span class="setting alt-text')?d.text(l.replace(/(<span class="setting alt-text)/,c+r+u+h+"$1")):-1!=d.text().indexOf('<span class="setting caption')&&d.text(l.replace(/(<span class="setting caption)/,c+r+u+h+"$1")),-1!=d.text().indexOf('<label class="setting alt-text">')?d.text(l.replace(/(<label class="setting alt-text">)/,c+r+u+h+"$1")):-1!=d.text().indexOf('<label class="setting caption">')&&d.text(l.replace(/(<label class="setting caption">)/,c+r+u+h+"$1"))}"undefined"!=typeof wp&&void 0!==wp.media&&void 0!==wp.media.events&&(wp.media.events.on("editor:image-edit",function(e){e.metadata.pin_title=e.editor.$(e.image).attr("data-pin-title"),e.metadata.pin_description=e.editor.$(e.image).attr("data-pin-description"),e.metadata.pin_repin_id=e.editor.$(e.image).attr("data-pin-id"),e.metadata.pin_nopin=e.editor.$(e.image).attr("data-pin-nopin")?"1":""}),wp.media.events.on("editor:image-update",function(e){e.editor.$(e.image).attr("data-pin-title",e.metadata.pin_title),e.editor.$(e.image).attr("data-pin-description",e.metadata.pin_description),e.editor.$(e.image).attr("data-pin-id",e.metadata.pin_repin_id),e.metadata.pin_nopin?e.editor.$(e.image).attr("data-pin-nopin","true"):e.editor.$(e.image).removeAttr("data-pin-nopin")})),e(document).on("click","#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary",function(t){t.preventDefault(),e(this).parent().remove()}),e(document).on("click","#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new",function(t){t.preventDefault(),$btn_select=e(this),o?o.open():((o=wp.media({title:"Select Pinterest Hidden Images",button:{text:"Use Images"},library:{type:["image"]},multiple:!0})).on("select",function(){var t=o.state().get("selection").map(function(e){return e.toJSON()});for(var s in t)if("image"==t[s].type&&!(e('.dpsp-hidden-image-wrapper[data-image-id="'+t[s].id+'"]').length>0)){var i="",a=void 0!==t[s].sizes.thumbnail?t[s].sizes.thumbnail.url:t[s].sizes.full.url;i='<div class="dpsp-hidden-image-wrapper" data-image-id="'+t[s].id+'">',i+='<img src="'+a+'" data-pin-nopin="true" />',i+='<a href="#" class="dpsp-button-secondary" title="Remove image"><span class="dashicons dashicons-no-alt"></span></a>',i+='<input type="hidden" name="dpsp_pinterest_hidden_images[]" value="'+t[s].id+'" />',i+="</div>",$btn_select.before(i)}}),o.open())})});
3
- },{}]},{},["dNy0"], null)
 
 
 
assets/dist/dashboard-pro.1.19.0.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"LGpM":[function(require,module,exports) {
2
+ function e(e,o){(null==o||o>e.length)&&(o=e.length);for(var l=0,r=new Array(o);l<o;l++)r[l]=e[l];return r}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
3
+ },{}],"o3SL":[function(require,module,exports) {
4
+ var r=require("./arrayLikeToArray.js");function e(e){if(Array.isArray(e))return r(e)}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
5
+ },{"./arrayLikeToArray.js":"LGpM"}],"lZpU":[function(require,module,exports) {
6
+ function e(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
7
+ },{}],"Vzqv":[function(require,module,exports) {
8
+ var r=require("./arrayLikeToArray.js");function e(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
9
+ },{"./arrayLikeToArray.js":"LGpM"}],"NCaH":[function(require,module,exports) {
10
+ function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
11
+ },{}],"I9dH":[function(require,module,exports) {
12
+ var e=require("./arrayWithoutHoles.js"),r=require("./iterableToArray.js"),o=require("./unsupportedIterableToArray.js"),u=require("./nonIterableSpread.js");function t(t){return e(t)||r(t)||o(t)||u()}module.exports=t,module.exports.default=module.exports,module.exports.__esModule=!0;
13
+ },{"./arrayWithoutHoles.js":"o3SL","./iterableToArray.js":"lZpU","./unsupportedIterableToArray.js":"Vzqv","./nonIterableSpread.js":"NCaH"}],"Mzb7":[function(require,module,exports) {
14
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@babel/runtime/helpers/toConsumableArray"));function t(e){return e&&e.__esModule?e:{default:e}}var a=function(t){if(!t)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","svg");return[{name:"version",value:"1.1"},{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"viewBox",value:"0 0 ".concat(t.width," ").concat(t.height)},{name:"height",value:t.referenceHeight?t.referenceHeight:t.height},{name:"width",value:t.referenceHeight?"100%":t.width},{name:"class",value:t.class?t.class:""}].concat((0,e.default)(function(e){return e.fill?[{name:"fill",value:e.fill}]:[]}(t)),(0,e.default)(function(e){return e.y?[{name:"y",value:e.y}]:[]}(t)),(0,e.default)(function(e){return e.x?[{name:"x",value:e.x}]:[]}(t))).forEach(function(e){var t=e.name,n=e.value;return a.setAttribute(t,n)}),t.paths.forEach(function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","path");t.setAttribute("d",e),a.appendChild(t)}),a},n=a;exports.default=n;
15
+ },{"@babel/runtime/helpers/toConsumableArray":"I9dH"}],"tCTD":[function(require,module,exports) {
16
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mv-grow-data";return window.mvGrowData&&window.mvGrowData.init?window.mvGrowData:(document.getElementById(t)&&document.getElementById(t).dataset.settings&&(window.mvGrowData=JSON.parse(document.getElementById(t).dataset.settings),window.mvGrowData.init=!0),{init:!0})},e=t;exports.default=e;
17
+ },{}],"dNy0":[function(require,module,exports) {
18
+ "use strict";var t=s(require("./fn/utils/create-svg-icon")),e=s(require("./fn/utils/get-settings"));function s(t){return t&&t.__esModule?t:{default:t}}jQuery(function(s){function i(t,e,s){var i=-1!==s.indexOf("?")?"&":"?";return s+i+t+"="+e}function p(t){s('.dpsp-social-platforms-sort-list li[data-network="'+t+'"]').remove(),s(".dpsp-social-platforms-sort-list li").removeClass("dpsp-last"),s(".dpsp-social-platforms-sort-list li").last().addClass("dpsp-last"),0==s(".dpsp-social-platforms-sort-list li").length&&(s(".dpsp-social-platforms-sort-list").fadeOut(1),s(".dpsp-social-platforms-sort-list").removeClass("dpsp-active"))}(0,e.default)("mv-grow-admin-data"),s(document).on("click",".dpsp-tool-wrapper .dpsp-switch label",function(t){var e=s(this).closest(".dpsp-tool-actions"),i=e.find(".dpsp-tool-settings");i.fadeOut(200),e.append('<div class="dpsp-tool-actions-overlay"><div class="spinner"></div></div>'),e.find(".dpsp-tool-actions-overlay").animate({opacity:1},200);var p=s(this).siblings("input").data("tool");s(this).siblings("input").data("tool-activation");"undefined"!=p&&(e.hasClass("dpsp-inactive")?function(t){var e={action:"dpsp_activate_tool",dpsptkn:s("#dpsptkn").val(),tool:t};return s.post(ajaxurl,e,function(){})}(p).done(function(t){1==t&&(e.find(".dpsp-tool-actions-overlay").animate({opacity:0},200,function(){s(this).remove()}),e.removeClass("dpsp-inactive").addClass("dpsp-active"),e.find("span").text("Active"),i.fadeIn(200))}):function(t){var e={action:"dpsp_deactivate_tool",dpsptkn:s("#dpsptkn").val(),tool:t};return s.post(ajaxurl,e,function(){})}(p).done(function(t){var i;1==t&&(e.find(".dpsp-tool-actions-overlay").animate({opacity:0},200,function(){s(this).remove()}),e.removeClass("dpsp-active").addClass("dpsp-inactive"),e.find("span").text("Inactive"),i=(i=p).replace("share_","").replace("follow_","").replace("misc_","").replace("_","-"),s("#toplevel_page_dpsp-social-pug .wp-submenu li a").each(function(){s(this).attr("href").indexOf(i),"images"!==i&&s(this).parent().hide()}))}))}),s.fn.wpColorPicker&&s(".dpsp-color-picker").wpColorPicker(),s.fn.select2&&s(".dpsp-setting-field-select select").select2({minimumResultsForSearch:1/0}).on("select2:open",function(){s(".select2-container").last().addClass("dpsp-select2")}),s(function(){s(".dpsp-social-platforms-sort-list").sortable({handle:".dpsp-sort-handle",placeholder:"dpsp-sort-placeholder",containment:"#wpwrap",stop:function(){s(".dpsp-social-platforms-sort-list li").removeClass("dpsp-last"),s(".dpsp-social-platforms-sort-list li").last().addClass("dpsp-last")}})}),s(document).on("click","#dpsp-networks-selector .dpsp-network-item",function(){var t=s(this);t.children(".dpsp-network-item-checkbox");t.attr("data-checked")?t.removeAttr("data-checked"):t.attr("data-checked","true")}),s(document).on("click","#dpsp-select-networks",function(t){t.preventDefault(),s("#dpsp-networks-selector-wrapper").hasClass("dpsp-active")?(s("#dpsp-networks-selector-wrapper").removeClass("dpsp-active"),s("#dpsp-networks-selector-wrapper").stop().fadeOut(250,function(){0==s(".dpsp-social-platforms-sort-list").find("li").length?(s("#dpsp-sortable-networks-empty").stop().fadeIn(400),s("#dpsp-sortable-networks-empty").addClass("dpsp-active")):(s(".dpsp-social-platforms-sort-list").stop().fadeIn(400),s(".dpsp-social-platforms-sort-list").addClass("dpsp-active"))})):(s("#dpsp-select-networks").hide(),s("#dpsp-networks-selector-wrapper").addClass("dpsp-active"),0==s(".dpsp-social-platforms-sort-list").find("li").length?(s(".dpsp-social-platforms-sort-list").hide(),s("#dpsp-sortable-networks-empty").removeClass("dpsp-active"),s("#dpsp-sortable-networks-empty").stop().fadeOut(250,function(){s("#dpsp-networks-selector-wrapper").stop().fadeIn(250)})):(s(".dpsp-social-platforms-sort-list").removeClass("dpsp-active"),s(".dpsp-social-platforms-sort-list").stop().fadeOut(250,function(){s("#dpsp-networks-selector-wrapper").stop().fadeIn(250)})))}),s(document).on("click","#dpsp-networks-selector-footer a",function(e){e.preventDefault(),s("#dpsp-select-networks").show(),s("#dpsp-networks-selector .dpsp-network-item").each(function(){var e=s(this),i=e.attr("data-network"),a=e.attr("data-network-name");if(e.attr("data-checked")){var n=!1;if(s(".dpsp-social-platforms-sort-list li").each(function(){s(this).attr("data-network")==i&&(n=!0)}),n)return n;!function(e,i){if("undefined"==e)return!1;if("undefined"==i)return!1;var p="",a=s('input[name="dpsp_buttons_location"]').val(),n=window.mvGrowData.iconData[e];p+='<li data-network="'+e+'">',p+='<div class="dpsp-sort-handle ui-sortable-handle">\x3c!-- --\x3e</div>',p+='<div class="dpsp-list-icon dpsp-list-icon-social dpsp-icon-'+e+" dpsp-background-color-network-"+e+'">'+(0,t.default)(n).outerHTML+"</div>",p+='<div class="dpsp-list-input-wrapper"><input type="text" placeholder="This button has no label text." name="'+a+"[networks]["+e+'][label]" value="'+i+'"></div>',p+='<div class="dpsp-list-actions">',p+='<a class="dpsp-list-edit-label dpsp-transition" href="#"><span class="dashicons dashicons-edit"></span>Edit Label</a>',p+='<a class="dpsp-list-remove dpsp-transition" href="#"><span class="dashicons dashicons-no-alt"></span>Remove</a>',p+="</div>",p+="</li>",s(".dpsp-social-platforms-sort-list").append(p),s(".dpsp-social-platforms-sort-list li").removeClass("dpsp-last"),s(".dpsp-social-platforms-sort-list li").last().addClass("dpsp-last")}(i,a)}else p(i)}),s("#dpsp-networks-selector-wrapper").removeClass("dpsp-active").stop().fadeOut(250,function(){0==s(".dpsp-social-platforms-sort-list").find("li").length?(s("#dpsp-sortable-networks-empty").stop().fadeIn(250),s("#dpsp-sortable-networks-empty").addClass("dpsp-active")):(s(".dpsp-social-platforms-sort-list").stop().fadeIn(250),s(".dpsp-social-platforms-sort-list").addClass("dpsp-active"))})}),s(document).on("click",".dpsp-list-edit-label",function(t){t.preventDefault(),s(this).closest("li").find(".dpsp-list-input-wrapper input").focus().select()}),s(document).on("click",".dpsp-list-remove",function(t){t.preventDefault();var e=s(this).closest("li").attr("data-network");p(e),s('#dpsp-networks-selector .dpsp-network-item[data-network="'+e+'"]').removeAttr("data-checked"),0==s(".dpsp-social-platforms-sort-list").find("li").length&&(s("#dpsp-sortable-networks-empty").stop().fadeIn(250),s("#dpsp-sortable-networks-empty").addClass("dpsp-active"),s(".dpsp-social-platforms-sort-list").removeClass("dpsp-active"))}),s(document).ready(function(){s(".dpsp-network-btn").attr("href","#")}),s(document).on("click",".dpsp-network-btn",function(t){t.preventDefault(),s(this).closest("label").trigger("click")}),s(document).on("focus",".dpsp-page-mobile .dpsp-list-input-wrapper input",function(){s(this).blur()}),s(document).on("focus",".dpsp-page-sticky-bar .dpsp-list-input-wrapper input",function(){s(this).blur()}),s(document).on("focus",".dpsp-list-input-wrapper input",function(){s(this).attr("data-placeholder",s(this).attr("placeholder")),s(this).attr("placeholder"," ")}),s(document).on("blur",".dpsp-list-input-wrapper input",function(){s(this).attr("placeholder",s(this).attr("data-placeholder")),s(this).attr("data-placeholder"," ")}),s(document).on("change",".dpsp-setting-field-button-shape select",function(){s(this).closest(".dpsp-page-wrapper").find(".dpsp-networks-btns-wrapper").parent().removeClass("dpsp-shape-circle dpsp-shape-rounded dpsp-shape-rectangular").addClass("dpsp-shape-"+s(this).val())}),s(document).on("mouseenter",".dpsp-setting-field-tooltip-icon",function(){s(this).siblings("div").css("opacity",1).css("visibility","visible")}),s(document).on("mouseleave",".dpsp-setting-field-tooltip-icon",function(){s(this).siblings("div").css("opacity",0).css("visibility","hidden")}),s(document).on("mouseenter",".dpsp-setting-field-tooltip-wrapper.dpsp-has-link",function(){s(this).find("div").css("opacity",1).css("visibility","visible")}),s(document).on("mouseleave",".dpsp-setting-field-tooltip-wrapper.dpsp-has-link",function(){s(this).find("div").css("opacity",0).css("visibility","hidden")}),s(".dpsp-image-select").on("click",function(t){t.preventDefault();var e,i=s(this),p=i.siblings(".dpsp-image-remove"),a=i.siblings(".dpsp-image-id"),n=i.siblings(".dpsp-image-src"),d=i.siblings("div").find("img");e?e.open():((e=wp.media({title:"Choose Image",button:{text:"Use Image"},multiple:!1})).on("select",function(){var t=e.state().get("selection").first().toJSON();a.val(t.id),n.val(t.url),d.attr("src",""),d.attr("src",t.url),i.addClass("dpsp-hidden"),p.removeClass("dpsp-hidden");var s=new CustomEvent("dpsp_settings_field_image_select_image",{detail:{field:i.closest(".dpsp-setting-field-image"),attachment:t}});document.dispatchEvent(s)}),e.open())}),s(".dpsp-image-remove").on("click",function(t){t.preventDefault();var e=s(this),i=e.siblings(".dpsp-image-select"),p=e.siblings(".dpsp-image-id"),a=e.siblings(".dpsp-image-src"),n=e.siblings("div").find("img");e.addClass("dpsp-hidden"),i.removeClass("dpsp-hidden"),p.val(""),a.val(""),n.attr("src",void 0!==n.siblings(".dpsp-field-image-placeholder").data("src")?n.siblings(".dpsp-field-image-placeholder").data("src"):"");var d=new CustomEvent("dpsp_settings_field_image_remove_image",{detail:{field:i.closest(".dpsp-setting-field-image")}});document.dispatchEvent(d)});var a,n=s(".dpsp-setting-field-show-share-count input[type=checkbox]"),d=s(".dpsp-setting-field-show-total-share-count input[type=checkbox]"),o=s(".dpsp-setting-field-share-count-round input[type=checkbox]"),l=s(".dpsp-setting-field-minimum-global-share-count input[type=text]"),r=s(".dpsp-setting-field-minimum-individual-share-count input[type=text]"),c=o.closest(".dpsp-setting-field-wrapper"),u=l.closest(".dpsp-setting-field-wrapper"),f=r.closest(".dpsp-setting-field-wrapper"),h=s(".dpsp-setting-field-show-after-user-scrolls input[type=checkbox]"),m=h.closest(".dpsp-setting-field-wrapper").next(".dpsp-setting-field-wrapper"),g=m.find("input"),v=s(".dpsp-setting-field-hide-after-reaching-element input[type=checkbox]"),w=v.closest(".dpsp-setting-field-wrapper").next(".dpsp-setting-field-wrapper"),_=w.find("input");function b(){d.is(":checked")||n.is(":checked")?(c.removeClass("disabled"),o.attr("disabled",!1)):(c.addClass("disabled"),o.attr("disabled",!0))}function k(){d.is(":checked")||n.is(":checked")?(u.removeClass("disabled"),l.attr("disabled",!1)):(u.addClass("disabled"),l.attr("disabled",!0))}function x(){d.is(":checked")||n.is(":checked")?(f.removeClass("disabled"),r.attr("disabled",!1)):(f.addClass("disabled"),r.attr("disabled",!0))}if(d.is(":checked")||(d.closest(".dpsp-setting-field-wrapper").next().addClass("disabled"),d.closest(".dpsp-setting-field-wrapper").next().find("select").attr("disabled",!0)),d.on("change",function(){d.is(":checked")?(d.closest(".dpsp-setting-field-wrapper").next().removeClass("disabled"),d.closest(".dpsp-setting-field-wrapper").next().find("select").attr("disabled",!1)):(d.closest(".dpsp-setting-field-wrapper").next().addClass("disabled"),d.closest(".dpsp-setting-field-wrapper").next().find("select").attr("disabled",!0))}),b(),k(),x(),n.on("change",function(){b(),k(),x()}),d.on("change",function(){b(),k(),x()}),h.is(":checked")||(m.addClass("disabled"),g.attr("disabled",!0)),h.on("change",function(){h.is(":checked")?(m.removeClass("disabled"),g.attr("disabled",!1)):(m.addClass("disabled"),g.attr("disabled",!0))}),v.is(":checked")||(w.addClass("disabled"),_.attr("disabled",!0)),v.on("change",function(){v.is(":checked")?(w.removeClass("disabled"),_.attr("disabled",!1)):(w.addClass("disabled"),_.attr("disabled",!0))}),s(".dpsp-nav-tab").on("click",function(t){t.preventDefault(),"pinterest-image-hover"===s(this).attr("data-tab")&&(document.location.search="?page=dpsp-pinterest-images");var e=s("input[name=_wp_http_referer]"),p=e.val();p=function(t,e){var s=e.split("?")[0],i=[],p=-1!==e.indexOf("?")?e.split("?")[1]:"";if(""!==p){for(var a=(i=p.split("&")).length-1;a>=0;a-=1)i[a].split("=")[0]===t&&i.splice(a,1);s=s+"?"+i.join("&")}return""==s.split("?")[1]&&(s=s.split("?")[0]),s}("dpsp-tab",p),e.val(i("dpsp-tab",s(this).attr("data-tab"),p)),s(".dpsp-nav-tab").removeClass("dpsp-active"),s(this).addClass("dpsp-active"),s(".dpsp-tab").removeClass("dpsp-active");var a=s(this).attr("data-tab");s("#dpsp-tab-"+a).addClass("dpsp-active")}),s(document).on("click","#dpsp-refresh-share-counts",function(t){if(t.preventDefault(),s(this).hasClass("disabled"))return!1;var e=s(this),i=e.siblings(".spinner");e.addClass("disabled"),i.css("visibility","visible"),s(".dpsp-statistic-bar-wrapper-network").css("opacity",.6);var p={action:"dpsp_refresh_share_counts",nonce:e.siblings('[name="dpsp_refresh_share_counts"]').val(),post_id:parseInt(s("#post_ID").val())};s.post(ajaxurl,p,function(t){t&&s(".dpsp-statistic-bars-wrapper").replaceWith(t)})}),s(document).on("click","#dpsp-global-refresh-share-counts",function(t){if(t.preventDefault(),s(this).hasClass("disabled"))return!1;var e=s(this),i=e.siblings(".action-text");e.addClass("disabled"),i.fadeIn();var p={action:"dpsp_refresh_all_share_counts",nonce:s("#dpsp_refresh_all_share_counts").val()};s.post(ajaxurl,p)}),s(document).ready(function(){s('[name="dpsp_settings[shortening_service]"]').on("change",function(){s(".dpsp-subsection-link-shortening").hide(),s(".dpsp-subsection-link-shortening[data-link-shortening-service="+s(this).val()+"]").show(),s("#dpsp-purge-shortened-links span").text(s(this).find("option:selected").text())}),s('[name="dpsp_settings[shortening_service]"]').trigger("change")}),s(document).on("change",'[name="dpsp_location_sticky_bar[display][show_on_device]"]',function(){"all"==s(this).val()?(s(".dpsp-setting-field-desktop-position").show(),s(".dpsp-setting-field-mobile-position").show()):(s(".dpsp-setting-field-desktop-position").hide(),s(".dpsp-setting-field-mobile-position").hide()),"desktop"==s(this).val()&&s(".dpsp-setting-field-desktop-position").show(),"mobile"==s(this).val()&&s(".dpsp-setting-field-mobile-position").show()}),s('[name="dpsp_location_sticky_bar[display][show_on_device]"]').trigger("change"),s(document).on("change",'[name="dpsp_settings[facebook_share_counts_provider]"]',function(){s(".dpsp-setting-field-facebook-authorize-app").hide(),s(".dpsp-setting-field-facebook-app-id, .dpsp-setting-field-facebook-app-secret").hide(),"authorized_app"==s(this).val()&&s(".dpsp-setting-field-facebook-authorize-app").show(),"own_app"==s(this).val()&&s(".dpsp-setting-field-facebook-app-id, .dpsp-setting-field-facebook-app-secret").show()}),s('[name="dpsp_settings[facebook_share_counts_provider]"]').trigger("change"),s(document).on("click","#dpsp-purge-shortened-links",function(t){if(t.preventDefault(),!dpsp_confirm_shorten_link_purge)return!1;var e=s(this),p=e.closest("form"),a={action:"dpsp_purge_shortened_links",nonce:s("#_wpnonce").val(),shortening_service:s('[name="dpsp_settings[shortening_service]"]').val()};p.find(":input").attr("disabled",!0),e.closest(".dpsp-setting-field-button").addClass("dpsp-loading"),s.post(ajaxurl,a,function(t){if(void 0!==(t=JSON.parse(t)).success){var e=window.location,s="dpsp_purge_shortened_links_fail";1==t.success&&(s="dpsp_purge_shortened_links_success"),e=i("updated",s,window.location.href),window.location=e}})}),s(document).on("change",".dpsp-setting-field-enable-twitter-tweet-counts input[type=checkbox]",function(){s(this).is(":checked")?s(".dpsp-setting-field-tweet-counts-provider").show():s(".dpsp-setting-field-tweet-counts-provider").hide()}),s(".dpsp-setting-field-enable-twitter-tweet-counts input[type=checkbox]").trigger("change"),s(document).on("change",".dpsp-setting-field-show-button-label input[type=checkbox]",function(){s(this).is(":checked")?s(".dpsp-setting-field-button-text-label").show():s(".dpsp-setting-field-button-text-label").hide()}),s(".dpsp-setting-field-show-button-label input[type=checkbox]").trigger("change"),s(document).on("change","#dpsp_location_follow_widget\\[display\\]\\[column_count\\]",function(t){"auto"==s(this).val()?s(".dpsp-setting-field-button-alignment").show():s(".dpsp-setting-field-button-alignment").hide()}),s("#dpsp_location_follow_widget\\[display\\]\\[column_count\\]").trigger("change"),document.addEventListener("dpsp_settings_field_image_select_image",function(t){if(0==t.detail.field.parents("#dpsp_share_options_content").length)return!1;t.detail.field.find("img").height(parseInt(200*t.detail.attachment.height/t.detail.attachment.width)),t.detail.field.closest(".dpsp-section").css("min-height",t.detail.field.height())}),document.addEventListener("dpsp_settings_field_image_remove_image",function(t){if(0==t.detail.field.parents("#dpsp_share_options_content").length)return!1;t.detail.field.find('label[for="dpsp_share_options[custom_image]"]').length>0?t.detail.field.find("img").height(105):t.detail.field.find("img").height(300),t.detail.field.closest(".dpsp-section").css("min-height",t.detail.field.height())}),s(window).on("load",function(){s("#dpsp_share_options_content .dpsp-section").each(function(){s(this).css("min-height",s(this).find(".dpsp-setting-field-image").height())})}),s(".dpsp-setting-field-wrapper textarea").on("input",function(){var t=s(this),e=t.closest(".dpsp-setting-field-wrapper").find(".dpsp-textarea-characters-remaining"),i=parseInt(e.parent().data("maximum-count")),p=parseInt(i-t.val().length);e.text(p),p<0?e.parent().addClass("dpsp-excedeed"):e.parent().removeClass("dpsp-excedeed")}),s('.dpsp-setting-field-wrapper textarea[name="dpsp_share_options[custom_tweet]"]').on("input",function(){var t=s(this),e=t.closest(".dpsp-setting-field-wrapper").find(".dpsp-textarea-characters-remaining"),i=parseInt(e.parent().data("maximum-count")),p=t.val().match(/(http(s?):\/\/[\S]*)/g),a=23*(p?p.length:0),n=parseInt(i-t.val().replace(/(http(s?):\/\/[\S]*)/g,"").length-a);e.text(n),n<0?e.parent().addClass("dpsp-excedeed"):e.parent().removeClass("dpsp-excedeed")}),s(document).on("change",'select[name="dpsp_settings[ctt_style]"]',function(){s("#section-click-to-tweet-preview > a").removeClass("dpsp-click-to-tweet").attr("class",function(t,e){return e.replace(/(^|\s)dpsp-style-\S+/g,"")}),s("#section-click-to-tweet-preview > a").addClass("dpsp-click-to-tweet").addClass("dpsp-style-"+s(this).val())}),s(document).on("keyup",'input[name="dpsp_settings[ctt_link_text]"]',function(){s("#section-click-to-tweet-preview > a .dpsp-click-to-tweet-cta > span").html(s(this).val())}),s(document).on("change",'select[name="dpsp_settings[ctt_link_position]"]',function(){s("#section-click-to-tweet-preview > a").removeClass("dpsp-click-to-tweet-cta-left dpsp-click-to-tweet-cta-right").addClass("dpsp-click-to-tweet-cta-"+s(this).val())}),s(document).on("click",'input[name="dpsp_settings[ctt_link_icon_animation]"]',function(){s(this).is(":checked")?s("#section-click-to-tweet-preview > a").addClass("dpsp-click-to-tweet-cta-icon-animation"):s("#section-click-to-tweet-preview > a").removeClass("dpsp-click-to-tweet-cta-icon-animation")}),s('select[name="dpsp_settings[ctt_style]"]').trigger("change"),s('input[name="dpsp_settings[ctt_link_text]"]').trigger("keyup"),s('select[name="dpsp_settings[ctt_link_position]"]').trigger("change"),s('select[name="dpsp_settings[ctt_link_icon_animation]"]').trigger("click"),s("#section-click-to-tweet-preview").show(),s(document).on("change",".dpsp-setting-field-wrapper *",function(){s(".dpsp-card-inner").each(function(){s(this).find(".dpsp-setting-field-wrapper").removeClass("dpsp-last"),s(this).find(".dpsp-setting-field-wrapper:not(.disabled)").last().addClass("dpsp-last")})}),s(".dpsp-setting-field-wrapper *").first().trigger("change"),s(document).on("click","#dpsp-add-post-previous-url",function(t){t.preventDefault(),s("#dpsp-shares-recovery-post-previous-urls-empty").hide(),s(this).before(s(".dpsp-post-previous-url.dpsp-hidden").clone()),s(this).parent().find(".dpsp-post-previous-url.dpsp-hidden").hide().removeClass("dpsp-hidden").fadeIn(),s(this).parent().find(".dpsp-post-previous-url input").focus()}),s(document).on("click",".dpsp-post-previous-url a",function(t){t.preventDefault(),s(this).parent().remove(),0==s(".dpsp-post-previous-url:not(.dpsp-hidden)").length&&s("#dpsp-shares-recovery-post-previous-urls-empty").fadeIn()}),s(document).on("change",'[name="dpsp_settings[previous_permalink_structure]"]',function(){"custom"==s(this).val()&&setTimeout(function(){s('[name="dpsp_settings[previous_permalink_structure_custom]"]').focus()},100)}),s('[name="dpsp_settings[previous_base_domain]"]').attr("placeholder","eg. domain.com"),window.mvGrowData&&!window.mvGrowData.isFree){var C=s("#tmpl-image-details");if(C.length>0&&void 0!==window.pagenow&&"widgets"!=window.pagenow&&"customize"!=window.pagenow){var y=C.html(),I='<label class="setting pin-title"><span>Pin Title</span><input type="text" data-setting="pin_title" value="{{ data.model.pin_title }}" /><p class="description" style="font-style: italic; margin-top: 5px;">Please note: Pinterest does not yet support pin titles. Pinterest is still in the process of releasing this feature. We\'ve added the field in advance, to make sure you\'re ready for when the feature rolls out.</p></label>',D='<label class="setting pin-description"><span>Pin Description</span><textarea data-setting="pin_description">{{ data.model.pin_description }}</textarea></label>',O='<label class="setting pin-repin-id"><span>Pin Repin ID</span><input type="text" data-setting="pin_repin_id" value="{{ data.model.pin_repin_id }}" /></label>',$='<label class="setting pin-nopin"><span>Disable Pinning</span><select data-setting="pin_nopin"><option value="">No</option><option value="1" <# if ( data.model.pin_nopin ) { #> selected="selected" <# } #>>Yes</option></select></label>';-1!=C.text().indexOf('<span class="setting alt-text')?C.text(y.replace(/(<span class="setting alt-text)/,I+D+O+$+"$1")):-1!=C.text().indexOf('<span class="setting caption')&&C.text(y.replace(/(<span class="setting caption)/,I+D+O+$+"$1")),-1!=C.text().indexOf('<label class="setting alt-text">')?C.text(y.replace(/(<label class="setting alt-text">)/,I+D+O+$+"$1")):-1!=C.text().indexOf('<label class="setting caption">')&&C.text(y.replace(/(<label class="setting caption">)/,I+D+O+$+"$1"))}"undefined"!=typeof wp&&void 0!==wp.media&&void 0!==wp.media.events&&(wp.media.events.on("editor:image-edit",function(t){t.metadata.pin_title=t.editor.$(t.image).attr("data-pin-title"),t.metadata.pin_description=t.editor.$(t.image).attr("data-pin-description"),t.metadata.pin_repin_id=t.editor.$(t.image).attr("data-pin-id"),t.metadata.pin_nopin=t.editor.$(t.image).attr("data-pin-nopin")?"1":""}),wp.media.events.on("editor:image-update",function(t){t.editor.$(t.image).attr("data-pin-title",t.metadata.pin_title),t.editor.$(t.image).attr("data-pin-description",t.metadata.pin_description),t.editor.$(t.image).attr("data-pin-id",t.metadata.pin_repin_id),t.metadata.pin_nopin?t.editor.$(t.image).attr("data-pin-nopin","true"):t.editor.$(t.image).removeAttr("data-pin-nopin")}))}s(document).on("click","#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary",function(t){t.preventDefault(),s(this).parent().remove()}),s(document).on("click","#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new",function(t){t.preventDefault();var e=s(this);a?a.open():((a=wp.media({title:"Select Pinterest Hidden Images",button:{text:"Use Images"},library:{type:["image"]},multiple:!0})).on("select",function(){var t=a.state().get("selection").map(function(t){return t.toJSON()});for(var i in t)if("image"==t[i].type&&!(s('.dpsp-hidden-image-wrapper[data-image-id="'+t[i].id+'"]').length>0)){var p="",n=void 0!==t[i].sizes.thumbnail?t[i].sizes.thumbnail.url:t[i].sizes.full.url;p='<div class="dpsp-hidden-image-wrapper" data-image-id="'+t[i].id+'">',p+='<img src="'+n+'" data-pin-nopin="true" />',p+='<a href="#" class="dpsp-button-secondary" title="Remove image"><span class="dashicons dashicons-no-alt"></span></a>',p+='<input type="hidden" name="dpsp_pinterest_hidden_images[]" value="'+t[i].id+'" />',p+="</div>",e.before(p)}}),a.open())})});
19
+ },{"./fn/utils/create-svg-icon":"Mzb7","./fn/utils/get-settings":"tCTD"}]},{},["dNy0"], null)
assets/dist/{dashboard-tinymce.1.18.2.js → dashboard-tinymce.1.19.0.js} RENAMED
File without changes
assets/dist/{dpsp-selectable-empty.1.18.2.png → dpsp-selectable-empty.1.19.0.png} RENAMED
File without changes
assets/dist/{extension-bitly.1.18.2.png → extension-bitly.1.19.0.png} RENAMED
File without changes
assets/dist/{extension-branch.1.18.2.png → extension-branch.1.19.0.png} RENAMED
File without changes
assets/dist/{extension-ctt.1.18.2.png → extension-ctt.1.19.0.png} RENAMED
File without changes
assets/dist/{extension-ga-utm-tracking.1.18.2.png → extension-ga-utm-tracking.1.19.0.png} RENAMED
File without changes
assets/dist/{extension-networks.1.18.2.png → extension-networks.1.19.0.png} RENAMED
File without changes
assets/dist/front-end-free.1.18.2.js DELETED
@@ -1,55 +0,0 @@
1
- parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Mzb7":[function(require,module,exports) {
2
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=e=>{if(!e)return!1;const t=document.createElementNS("http://www.w3.org/2000/svg","svg"),a=document.createElementNS("http://www.w3.org/2000/svg","path"),r=[{name:"version",value:"1.1"},{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"width",value:e.width},{name:"height",value:e.height},{name:"viewBox",value:`0 0 ${e.width} ${e.height}`}],n=[{name:"d",value:e.path}];return r.forEach(({name:e,value:a})=>t.setAttribute(e,a)),n.forEach(({name:e,value:t})=>a.setAttribute(e,t)),t.appendChild(a),t};var t=e;exports.default=t;
3
- },{}],"LvEJ":[function(require,module,exports) {
4
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./utils/create-svg-icon"));function t(e){return e&&e.__esModule?e:{default:e}}const s=()=>{[].slice.call(document.getElementsByClassName("dpsp-network-btn")).forEach(t=>{if(t.getElementsByTagName("svg").length>0)return!0;const s=t.classList[1].split("-")[1],n=window.mvGrowData.buttonSVG[s];t.getElementsByClassName("dpsp-network-icon-inner")[0].appendChild((0,e.default)(n))})};var n=s;exports.default=n;
5
- },{"./utils/create-svg-icon":"Mzb7"}],"ZFee":[function(require,module,exports) {
6
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isDebug=exports.debugTimeLog=exports.debugTimeEnd=exports.debugTime=exports.debugTable=exports.debugGroupEnd=exports.debugGroupCollapsed=exports.debugGroup=exports.debugError=exports.debugWarn=exports.debugInfo=exports.debugLog=void 0;const e=e=>(...r)=>{o()&&console[e](...r)},o=()=>window.MV_GROW_DEBUG||new URLSearchParams(window.location.search).has("MV_GROW_DEBUG");exports.isDebug=o;const r=e("log");exports.debugLog=r;const s=e("info");exports.debugInfo=s;const t=e("warn");exports.debugWarn=t;const p=e("error");exports.debugError=p;const d=e("group");exports.debugGroup=d;const u=e("groupCollapsed");exports.debugGroupCollapsed=u;const g=e("groupEnd");exports.debugGroupEnd=g;const n=e("table");exports.debugTable=n;const b=e("time");exports.debugTime=b;const x=e("timeEnd");exports.debugTimeEnd=x;const c=e("timeLog");exports.debugTimeLog=c;
7
- },{}],"qbcG":[function(require,module,exports) {
8
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("./utils/debug");const e={width:700,height:300,toolbar:!1,location:!1,status:!1,menubar:!1,scrollbars:!1,resizable:!0,top:200},r={width:800,height:575},s={width:720,height:520,scrollbars:!0},i=r=>{r.blur();const s=Object.assign({},e,a(r.classList));return(0,t.debugTable)(s),window.open(r.href||r.getAttribute("data-href"),"targetWindow",n(s))},n=t=>{let e=Object.keys(t).reduce(function(e,r){return`${e}${r}=${o(t[r])},`},"");return t.hasOwnProperty("left")||(e=`${e}left=${(window.innerWidth-t.width)/2}`),e},o=t=>"boolean"!=typeof t?t:t?"yes":"no",a=t=>t.contains("dpsp-buffer")?r:t.contains("dpsp-pinterest")||t.contains("dpsp-pin-it-button")?s:{};var d=i;exports.default=d;
9
- },{"./utils/debug":"ZFee"}],"CR0T":[function(require,module,exports) {
10
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initializeButtonHover=s,exports.initializeButtons=r;var t=e(require("./open-popup"));function e(t){return t&&t.__esModule?t:{default:t}}function s(){const t=document.querySelectorAll(".dpsp-networks-btns-wrapper li .dpsp-network-btn");Array.prototype.forEach.call(t,t=>{t.addEventListener("mouseenter",({target:t})=>{t.parentNode.classList.add("dpsp-hover")}),t.addEventListener("mouseleave",({target:t})=>{t.parentNode.classList.remove("dpsp-hover")})})}function r(){const e=document.querySelectorAll(".dpsp-networks-btns-share .dpsp-network-btn, .dpsp-click-to-tweet, .dpsp-pin-it-button");Array.prototype.forEach.call(e,e=>{e.addEventListener("click",s=>{e.classList.contains("dpsp-whatsapp")||e.classList.contains("dpsp-email")||(s.preventDefault(),/#$/.test(e.href)||/#$/.test(e.getAttribute("data-href"))?s.stopPropagation():(0,t.default)(e))})})}
11
- },{"./open-popup":"qbcG"}],"jsG1":[function(require,module,exports) {
12
- "use strict";function e(){const e=document.querySelectorAll(".dpsp-network-btn.dpsp-print");Array.prototype.forEach.call(e,e=>{e.addEventListener("click",()=>{window.print()})})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=e;exports.default=t;
13
- },{}],"fkUf":[function(require,module,exports) {
14
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=()=>window.mvGrowData&&window.mvGrowData.shouldRun;exports.default=e;
15
- },{}],"VRvp":[function(require,module,exports) {
16
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./utils/should-run"));function t(e){return e&&e.__esModule?e:{default:e}}function d(){const t=document.getElementById("dpsp-floating-sidebar");if(!t||!(0,e.default)())return;const d=Number(t.getAttribute("data-trigger-scroll"));let r=0;d?window.addEventListener("scroll",()=>{(r=Number(window.scrollY/document.body.clientHeight*100))>d?t.classList.add("opened"):t.classList.remove("opened")}):t.classList.add("opened")}var r=d;exports.default=r;
17
- },{"./utils/should-run":"fkUf"}],"X18c":[function(require,module,exports) {
18
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.manageNoPinSingle=void 0;const e=({})=>e=>!e.classList.contains("dpsp-post-pinterest-image-hidden-inner")&&(e.setAttribute("data-pin-nopin","true"),!0),t=({content:e})=>t=>!e.contains(t)&&(t.setAttribute("data-pin-nopin","true"),!0),n={post_custom_images:e,post_images:t,all_images:()=>()=>!0},s=({pinnableImages:e,content:t})=>s=>(Object.keys(n).includes(e)||(e="all_images"),n[e]({content:t})(s));exports.manageNoPinSingle=s;
19
- },{}],"DKSj":[function(require,module,exports) {
20
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=()=>{if(window.mvGrowData&&window.mvGrowData.general&&window.mvGrowData.general.contentSelector)return document.querySelector(window.mvGrowData.general.contentSelector);if(document.getElementsByTagName("body")[0].classList.contains("mediavine-trellis"))return document.getElementById("content").getElementsByClassName("article")[0];const e=document.getElementById("theme-content-section");if(e)return e;const t=document.getElementById("dpsp-post-content-markup");return t&&t.parentNode?t.parentNode:document.body};var t=e;exports.default=t;
21
- },{}],"XSCr":[function(require,module,exports) {
22
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getSettings=void 0;var e=t(require("../utils/get-content-wrapper"));function t(e){return e&&e.__esModule?e:{default:e}}const i={minimumImageHeight:200,minimumImageWidth:200,buttonPosition:"top_left",buttonShareBehavior:"post_image",hoverButtonShareBehavior:"hover_image",showImageOverlay:!0,showButtonLabel:!0,buttonLabelText:"Save",buttonShape:"rectangular",pinImageURL:"",pinnableImages:"all_images",pinDescriptionSource:"image_alt_tag",pinDescription:"",pinTitle:"",postTypeDisplay:["post"],postImageHidden:!1,postImageHiddenMultiple:!1,lazyLoadCompatibility:!1,disableIframes:!1,imagePinIt:!1,hasContent:!1,shareURL:"",ignoreSelectors:[],bypassClasses:[]},a=()=>Object.assign({},i,window.mvGrowData.pinterest,{content:(0,e.default)()});exports.getSettings=a;
23
- },{"../utils/get-content-wrapper":"DKSj"}],"QgJj":[function(require,module,exports) {
24
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addButtonSingle=void 0;const t='<svg xmlns="http://www.w3.org/2000/svg" width="23" height="32" viewBox="0 0 23 32"><path d="M0 10.656q0-1.92 0.672-3.616t1.856-2.976 2.72-2.208 3.296-1.408 3.616-0.448q2.816 0 5.248 1.184t3.936 3.456 1.504 5.12q0 1.728-0.32 3.36t-1.088 3.168-1.792 2.656-2.56 1.856-3.392 0.672q-1.216 0-2.4-0.576t-1.728-1.568q-0.16 0.704-0.48 2.016t-0.448 1.696-0.352 1.28-0.48 1.248-0.544 1.12-0.832 1.408-1.12 1.536l-0.224 0.096-0.16-0.192q-0.288-2.816-0.288-3.36 0-1.632 0.384-3.68t1.184-5.152 0.928-3.616q-0.576-1.152-0.576-3.008 0-1.504 0.928-2.784t2.368-1.312q1.088 0 1.696 0.736t0.608 1.824q0 1.184-0.768 3.392t-0.8 3.36q0 1.12 0.8 1.856t1.952 0.736q0.992 0 1.824-0.448t1.408-1.216 0.992-1.696 0.672-1.952 0.352-1.984 0.128-1.792q0-3.072-1.952-4.8t-5.12-1.728q-3.552 0-5.952 2.304t-2.4 5.856q0 0.8 0.224 1.536t0.48 1.152 0.48 0.832 0.224 0.544q0 0.48-0.256 1.28t-0.672 0.8q-0.032 0-0.288-0.032-0.928-0.288-1.632-0.992t-1.088-1.696-0.576-1.92-0.192-1.92z"></path></svg>',e=e=>n=>{if(!i(e)(n))return!1;const{buttonPosition:s,hoverButtonShareBehavior:a,showImageOverlay:o,showButtonLabel:p,buttonLabelText:r,buttonShape:d,pinImageURL:l,pinDescription:c,shareURL:u}=e;let m=n.getAttribute("data-pin-media")||n.getAttribute("data-media")||n.getAttribute("data-lazy-src")||n.getAttribute("data-src")||n.getAttribute("src"),b=n.getAttribute("data-pin-description")||"";if("post_image"===a&&(m=l||m,b=c||b),!m)return!1;let g=n.getAttribute("class");const h=n.getAttribute("style");if(g){const t=["lazyloaded","lazyload","td-animation-stack"];g=g.split(" ").filter(e=>!t.includes(e)).join(" ")}const A=document.createElement("div");A.setAttribute("class",`dpsp-pin-it-wrapper ${g||""}`),h&&A.setAttribute("style",h),g&&g.split(" ").forEach(t=>{t.trim()&&n.classList.remove(t)}),n.setAttribute("style",""),n.parentNode.insertBefore(A,n),A.appendChild(n);const q=n.getAttribute("data-pin-id"),L=q?`https://pinterest.com/pin/${q}/repin/x`:`https://pinterest.com/pin/create/bookmarklet/?media=${encodeURIComponent(m)}&url=${encodeURIComponent(u)}&is_video=false&description=${encodeURIComponent(b)}`,v=document.createElement("a");if(v.classList.add("dpsp-pin-it-button"),v.classList.add(`dpsp-pin-it-button-${s}`),v.classList.add(`dpsp-pin-it-button-shape-${d}`),v.setAttribute("target","_blank"),v.rel="noopener",v.innerHTML='<span class="dpsp-network-icon">'+t+"</span>",p&&(v.classList.add("dpsp-pin-it-button-has-label"),v.title=r,v.setAttribute("aria-label",r)),v.href=L,o){const t=document.createElement("span");t.setAttribute("class","dpsp-pin-it-overlay"),A.appendChild(t)}return A.appendChild(v),!0};exports.addButtonSingle=e;const i=({imagePinIt:t,imageInContent:e,minimumImageWidth:i,minimumImageHeight:n})=>s=>"1"===t&&(!!e&&("IFRAME"!==s.nodeName&&(!s.parentNode.classList.contains("dpsp-pin-it-wrapper")&&(!(s.clientWidth<=0||s.clientHeight<=0)&&(!s.getAttribute("data-pin-nopin")&&(s.classList.contains("dpsp_no_pin")||s.classList.contains("nopin")||s.parentNode.classList.contains("nopin")?(s.setAttribute("data-pin-nopin","true"),!1):!(s.clientWidth<Number(i)||s.clientHeight<Number(n))&&!s.classList.contains("emoji")))))));
25
- },{}],"a47m":[function(require,module,exports) {
26
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addDescriptionSingle=void 0;const t=({pinDescriptionSource:t,pinDescription:i,imageInContent:n})=>r=>{if(!e({imageInContent:n})(r))return!1;let o="";"image_alt_tag"===t&&r.getAttribute("alt")&&(o=r.getAttribute("alt")),"image_title"===t&&r.getAttribute("title")&&(o=r.getAttribute("title")),i&&"post_pinterest_description"===t&&(o=i),!o&&i&&(o=i);const p=document.querySelector('[property="og:title"]');return!o&&p&&(o=p.getAttribute("content")),o&&r.setAttribute("data-pin-description",o),!0};exports.addDescriptionSingle=t;const e=({imageInContent:t})=>e=>!!t&&!e.getAttribute("data-pin-description");
27
- },{}],"QfZG":[function(require,module,exports) {
28
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addTitleSingle=void 0;const t=({pinTitle:t,imageInContent:n})=>i=>{if(!e({imageInContent:n})(i))return!1;let o="";!o&&t&&(o=t);const r=document.querySelector('[property="og:title"]');return!o&&r&&(o=r.getAttribute("content")),!!o&&(i.setAttribute("data-pin-title",o),!0)};exports.addTitleSingle=t;const e=({imageInContent:t})=>e=>!!t&&!e.getAttribute("data-pin-title");
29
- },{}],"UfYi":[function(require,module,exports) {
30
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.removeBrowserExtensionButton=void 0;const e=({})=>e=>!e.parentNode.classList.contains("dpsp-pin-it-wrapper")&&(e.addEventListener("mouseenter",()=>{const e=Array.prototype.slice.call(document.querySelectorAll('[style*="z-index: 8675309"][style*="data:image/svg+xml"]')),t=Array.prototype.slice.call(document.querySelectorAll('span[class^="PIN_"][data-pin-log^="button_pinit_floating"]'));e.concat(t).forEach(e=>e.remove())}),!0);exports.removeBrowserExtensionButton=e;
31
- },{}],"h63O":[function(require,module,exports) {
32
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addShareURL=void 0;const e=({shareURL:e})=>t=>!t.getAttribute("data-pin-url")&&(!!e&&(t.setAttribute("data-pin-url",e),!0));exports.addShareURL=e;
33
- },{}],"kZhX":[function(require,module,exports) {
34
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=({minimumImageHeight:e,minimumImageWidth:s,disableIframes:t,bypassClasses:i},a)=>!a.classList.contains("dpsp-post-pinterest-image-hidden-inner")&&("true"===a.dataset.pinNopin||(a.height<e||(a.width<s||("yes"===t&&"IFRAME"===a.nodeName||i.some(e=>a.classList.contains(e))))));var s=e;exports.default=s;
35
- },{}],"xUEp":[function(require,module,exports) {
36
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("./add-button"),t=require("./add-descriptions"),r=require("./add-titles"),i=require("./remove-extension"),n=require("./add-share-url"),d=o(require("./filter-image"));function o(e){return e&&e.__esModule?e:{default:e}}const a=o=>a=>(0,d.default)(o,a)?(a.setAttribute("data-pin-nopin","true"),!1):(o.imageInContent=o.content.contains(a),[t.addDescriptionSingle,r.addTitleSingle,e.addButtonSingle,n.addShareURL,i.removeBrowserExtensionButton].forEach(e=>e(o)(a)),!0);var u=a;exports.default=u;
37
- },{"./add-button":"QgJj","./add-descriptions":"a47m","./add-titles":"QfZG","./remove-extension":"UfYi","./add-share-url":"h63O","./filter-image":"kZhX"}],"f8H1":[function(require,module,exports) {
38
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=()=>{[].slice.call(document.getElementsByClassName("dpsp-post-pinterest-image-hidden")).map(e=>{e.style.cssText="position:absolute;height:0;width:0;",e.getElementsByTagName("img")[0].removeAttribute("loading")})};var t=e;exports.default=t;
39
- },{}],"axgK":[function(require,module,exports) {
40
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("../utils/debug");const e=()=>{const e=document.createElement("script"),s=(0,t.isDebug)()?"https://cdn.mediavine.com/pinmarklet.js":"https://assets.pinterest.com/js/pinmarklet.js";e.setAttribute("type","text/javascript"),e.setAttribute("charset","UTF-8"),e.setAttribute("src",s),document.body.appendChild(e)};var s=e;exports.default=s;
41
- },{"../utils/debug":"ZFee"}],"dCCy":[function(require,module,exports) {
42
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=({target:e,callback:t})=>{const r=new MutationObserver(t);return r.observe(e,{childList:!0,subtree:!0}),r};var t=e;exports.default=t;
43
- },{}],"AalF":[function(require,module,exports) {
44
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("../utils/observe-mutation")),t=require("../pinterest/manage-nopin"),r=require("../pinterest");function a(e){return e&&e.__esModule?e:{default:e}}const l=()=>{[].slice.call(document.getElementsByClassName("tl-widget-container")).forEach(a=>{(0,e.default)({target:a,callback:()=>{Array.prototype.forEach.call(document.querySelectorAll("img"),(0,t.manageNoPinSingle)((0,r.getPinterestSettings)()))}})})};var n=l;exports.default=n;
45
- },{"../utils/observe-mutation":"dCCy","../pinterest/manage-nopin":"X18c","../pinterest":"b4YO"}],"dRtE":[function(require,module,exports) {
46
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=({ignoreSelectors:e=[]})=>{e.forEach(e=>{[...document.querySelectorAll(`${e}, ${e} img`)].forEach(e=>"IMG"===e.tagName&&e.classList.add("mv-grow-bypass"))})};var t=e;exports.default=t;
47
- },{}],"b4YO":[function(require,module,exports) {
48
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initializePinterest=d,exports.initializeProPinterest=c,Object.defineProperty(exports,"getPinterestSettings",{enumerable:!0,get:function(){return t.getSettings}});var e=require("./manage-nopin"),t=require("./get-settings"),r=l(require("./process-image")),i=l(require("./un-lazy-hidden-images")),n=l(require("./load-grid")),a=l(require("../observations/thrive-leads")),o=l(require("../utils/get-content-wrapper")),u=l(require("../utils/should-run")),s=l(require("./ignore-images"));function l(e){return e&&e.__esModule?e:{default:e}}function d(){if(!(0,u.default)())return!1;[...document.querySelectorAll(".dpsp-networks-btns-share .dpsp-network-btn.dpsp-pinterest")].forEach(e=>{e.addEventListener("click",t=>{/#$/.test(e.href)||/#$/.test(e.getAttribute("data-href"))?(t.preventDefault(),(0,i.default)(),(0,n.default)()):t.preventDefault()}),e.addEventListener("keydown",t=>{"Space"!==t.code&&"Enter"!==t.code||e.click()})})}function c(){if(document.body.classList.contains("tve_editor_page"))return!1;if(!window.mvGrowData||!window.mvGrowData.pinterest)return!1;const i=(0,t.getSettings)();return!(!(0,u.default)()||"1"!==i.hasContent)&&([...document.querySelectorAll("img, iframe")].forEach((0,e.manageNoPinSingle)(i)),(0,s.default)(i),(0,a.default)(),Array.prototype.forEach.call((0,o.default)().querySelectorAll("img, iframe"),(0,r.default)(i)),!0)}
49
- },{"./manage-nopin":"X18c","./get-settings":"XSCr","./process-image":"xUEp","./un-lazy-hidden-images":"f8H1","./load-grid":"axgK","../observations/thrive-leads":"AalF","../utils/get-content-wrapper":"DKSj","../utils/should-run":"fkUf","./ignore-images":"dRtE"}],"tCTD":[function(require,module,exports) {
50
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const t=()=>window.mvGrowData&&window.mvGrowData.init?window.mvGrowData:(document.getElementById("mv-grow-data")&&document.getElementById("mv-grow-data").dataset.settings&&(window.mvGrowData=JSON.parse(document.getElementById("mv-grow-data").dataset.settings),window.mvGrowData.init=!0),{init:!0});var e=t;exports.default=e;
51
- },{}],"nDkI":[function(require,module,exports) {
52
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const e=()=>{if(document.querySelector(".dpsp-top-shared-post")||document.querySelector(".dpsp-click-to-tweet")||document.querySelector(".dpsp-network-btn")){const e=document.querySelector(".mv-grow-style");e&&(e.rel="stylesheet",e.type="text/css")}};var t=e;exports.default=t;
53
- },{}],"gSkV":[function(require,module,exports) {
54
- "use strict";var e=d(require("./fn/add-missing-icons")),t=require("./fn/init-buttons"),i=d(require("./fn/init-print")),n=d(require("./fn/init-sidebar")),r=require("./fn/pinterest"),u=require("./fn/utils/debug"),o=d(require("./fn/utils/get-settings")),s=d(require("./fn/load-styles"));function d(e){return e&&e.__esModule?e:{default:e}}const a=()=>{(0,o.default)(),(0,u.debugLog)(window.mvGrowData),(0,s.default)();let d=0;window.addEventListener("scroll",()=>{d=Number(window.scrollY/document.body.clientHeight*100)}),(0,t.initializeButtonHover)(),(0,r.initializePinterest)(),(0,i.default)(),(0,t.initializeButtons)(),(0,n.default)(),(0,e.default)(),window.removeEventListener("mousemove",a),window.removeEventListener("touchstart",a)};window.addEventListener("mousemove",a),window.addEventListener("touchstart",a);
55
- },{"./fn/add-missing-icons":"LvEJ","./fn/init-buttons":"CR0T","./fn/init-print":"jsG1","./fn/init-sidebar":"VRvp","./fn/pinterest":"b4YO","./fn/utils/debug":"ZFee","./fn/utils/get-settings":"tCTD","./fn/load-styles":"nDkI"}]},{},["gSkV"], null)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/dist/front-end-free.1.19.0.js ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"LGpM":[function(require,module,exports) {
2
+ function e(e,o){(null==o||o>e.length)&&(o=e.length);for(var l=0,r=new Array(o);l<o;l++)r[l]=e[l];return r}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
3
+ },{}],"o3SL":[function(require,module,exports) {
4
+ var r=require("./arrayLikeToArray.js");function e(e){if(Array.isArray(e))return r(e)}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
5
+ },{"./arrayLikeToArray.js":"LGpM"}],"lZpU":[function(require,module,exports) {
6
+ function e(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
7
+ },{}],"Vzqv":[function(require,module,exports) {
8
+ var r=require("./arrayLikeToArray.js");function e(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
9
+ },{"./arrayLikeToArray.js":"LGpM"}],"NCaH":[function(require,module,exports) {
10
+ function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
11
+ },{}],"I9dH":[function(require,module,exports) {
12
+ var e=require("./arrayWithoutHoles.js"),r=require("./iterableToArray.js"),o=require("./unsupportedIterableToArray.js"),u=require("./nonIterableSpread.js");function t(t){return e(t)||r(t)||o(t)||u()}module.exports=t,module.exports.default=module.exports,module.exports.__esModule=!0;
13
+ },{"./arrayWithoutHoles.js":"o3SL","./iterableToArray.js":"lZpU","./unsupportedIterableToArray.js":"Vzqv","./nonIterableSpread.js":"NCaH"}],"Mzb7":[function(require,module,exports) {
14
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@babel/runtime/helpers/toConsumableArray"));function t(e){return e&&e.__esModule?e:{default:e}}var a=function(t){if(!t)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","svg");return[{name:"version",value:"1.1"},{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"viewBox",value:"0 0 ".concat(t.width," ").concat(t.height)},{name:"height",value:t.referenceHeight?t.referenceHeight:t.height},{name:"width",value:t.referenceHeight?"100%":t.width},{name:"class",value:t.class?t.class:""}].concat((0,e.default)(function(e){return e.fill?[{name:"fill",value:e.fill}]:[]}(t)),(0,e.default)(function(e){return e.y?[{name:"y",value:e.y}]:[]}(t)),(0,e.default)(function(e){return e.x?[{name:"x",value:e.x}]:[]}(t))).forEach(function(e){var t=e.name,n=e.value;return a.setAttribute(t,n)}),t.paths.forEach(function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","path");t.setAttribute("d",e),a.appendChild(t)}),a},n=a;exports.default=n;
15
+ },{"@babel/runtime/helpers/toConsumableArray":"I9dH"}],"ZFee":[function(require,module,exports) {
16
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isDebug=exports.debugTimeLog=exports.debugTimeEnd=exports.debugTime=exports.debugTable=exports.debugGroupEnd=exports.debugGroupCollapsed=exports.debugGroup=exports.debugError=exports.debugWarn=exports.debugInfo=exports.debugLog=void 0;var e=function(e){return function(){var o;r()&&(o=console)[e].apply(o,arguments)}},r=function(){return window.MV_GROW_DEBUG||new URLSearchParams(window.location.search).has("MV_GROW_DEBUG")};exports.isDebug=r;var o=e("log");exports.debugLog=o;var u=e("info");exports.debugInfo=u;var p=e("warn");exports.debugWarn=p;var t=e("error");exports.debugError=t;var s=e("group");exports.debugGroup=s;var d=e("groupCollapsed");exports.debugGroupCollapsed=d;var g=e("groupEnd");exports.debugGroupEnd=g;var a=e("table");exports.debugTable=a;var b=e("time");exports.debugTime=b;var n=e("timeEnd");exports.debugTimeEnd=n;var x=e("timeLog");exports.debugTimeLog=x;
17
+ },{}],"LvEJ":[function(require,module,exports) {
18
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=o(require("./utils/create-svg-icon")),t=require("./utils/debug");function o(e){return e&&e.__esModule?e:{default:e}}var n=function(){[].slice.call(document.getElementsByClassName("dpsp-network-btn")).forEach(function(o){if(o.getElementsByTagName("svg").length>0)return!0;var n=o.classList[1].split("-")[1],a=window.mvGrowData.buttonSVG[n],r=(0,e.default)(a);try{o.getElementsByClassName("dpsp-network-icon-inner")[0].appendChild(r)}catch(s){(0,t.debugGroup)("MV Grow: Icon Loading Failed for ".concat(n)),(0,t.debugLog)(s),window.mvGrowData&&window.mvGrowData.buttonSVG?a?r||(0,t.debugLog)("Malformed SVG for ".concat(n)):(0,t.debugLog)("Missing Icon Data for ".concat(n)):(0,t.debugLog)("All Icon Data Missing"),(0,t.debugGroupEnd)()}})},a=n;exports.default=a;
19
+ },{"./utils/create-svg-icon":"Mzb7","./utils/debug":"ZFee"}],"qbcG":[function(require,module,exports) {
20
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("./utils/debug"),e={width:700,height:300,toolbar:!1,location:!1,status:!1,menubar:!1,scrollbars:!1,resizable:!0,top:200},n={width:800,height:575},r={width:720,height:520,scrollbars:!0},o=function(n){n.blur();var r=Object.assign({},e,s(n.classList));return(0,t.debugTable)(r),window.open(n.href||n.getAttribute("data-href"),"targetWindow",i(r))},i=function(t){var e=Object.keys(t).reduce(function(e,n){return"".concat(e).concat(n,"=").concat(a(t[n]),",")},"");return t.hasOwnProperty("left")||(e="".concat(e,"left=").concat((window.innerWidth-t.width)/2)),e},a=function(t){return"boolean"!=typeof t?t:t?"yes":"no"},s=function(t){return t.contains("dpsp-buffer")?n:t.contains("dpsp-pinterest")||t.contains("dpsp-pin-it-button")?r:{}},c=o;exports.default=c;
21
+ },{"./utils/debug":"ZFee"}],"CR0T":[function(require,module,exports) {
22
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initializeButtonHover=n,exports.initializeButtons=r;var t=e(require("./open-popup"));function e(t){return t&&t.__esModule?t:{default:t}}function n(){var t=document.querySelectorAll(".dpsp-networks-btns-wrapper li .dpsp-network-btn");Array.prototype.forEach.call(t,function(t){t.addEventListener("mouseenter",function(t){t.target.parentNode.classList.add("dpsp-hover")}),t.addEventListener("mouseleave",function(t){t.target.parentNode.classList.remove("dpsp-hover")})})}function r(){var e=document.querySelectorAll(".dpsp-networks-btns-share .dpsp-network-btn, .dpsp-click-to-tweet, .dpsp-pin-it-button");Array.prototype.forEach.call(e,function(e){e.addEventListener("click",function(n){e.classList.contains("dpsp-whatsapp")||e.classList.contains("dpsp-email")||(n.preventDefault(),/#$/.test(e.href)||/#$/.test(e.getAttribute("data-href"))?n.stopPropagation():(0,t.default)(e))})})}
23
+ },{"./open-popup":"qbcG"}],"jsG1":[function(require,module,exports) {
24
+ "use strict";function e(){var e=document.querySelectorAll(".dpsp-network-btn.dpsp-print");Array.prototype.forEach.call(e,function(e){e.addEventListener("click",function(){window.print()})})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=e;exports.default=t;
25
+ },{}],"fkUf":[function(require,module,exports) {
26
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(){return window.mvGrowData&&window.mvGrowData.shouldRun};exports.default=e;
27
+ },{}],"i355":[function(require,module,exports) {
28
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(e){var t=e.target,r=e.callback,o=e.options,s=new IntersectionObserver(r,o);return s.observe(t),s},t=e;exports.default=t;
29
+ },{}],"tCTD":[function(require,module,exports) {
30
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mv-grow-data";return window.mvGrowData&&window.mvGrowData.init?window.mvGrowData:(document.getElementById(t)&&document.getElementById(t).dataset.settings&&(window.mvGrowData=JSON.parse(document.getElementById(t).dataset.settings),window.mvGrowData.init=!0),{init:!0})},e=t;exports.default=e;
31
+ },{}],"VRvp":[function(require,module,exports) {
32
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=o(require("./utils/should-run")),t=o(require("./utils/observe-intersection")),r=o(require("./utils/get-settings"));function o(e){return e&&e.__esModule?e:{default:e}}function i(){var o=document.getElementById("dpsp-floating-sidebar");if(o&&(0,e.default)()){var i=(0,r.default)(),n=Number(o.getAttribute("data-trigger-scroll"));if(n?window.addEventListener("scroll",function(){Number(window.scrollY/document.body.clientHeight*100)>n?o.classList.add("opened"):o.classList.remove("opened")}):o.classList.add("opened"),i.floatingSidebar&&i.floatingSidebar.stopSelector){var d=document.querySelector(i.floatingSidebar.stopSelector);d&&(0,t.default)({target:d,callback:function(e){var t=e[0].intersectionRect,r=o.getBoundingClientRect();t.top-50<=r.bottom&&e[0].isIntersecting?o.classList.add("stop-hidden"):o.classList.remove("stop-hidden")},options:{threshold:s()}})}}}function s(){for(var e=[],t=1;t<=20;t++){var r=t/20;e.push(r)}return e.push(0),e}var n=i;exports.default=n;
33
+ },{"./utils/should-run":"fkUf","./utils/observe-intersection":"i355","./utils/get-settings":"tCTD"}],"rtwc":[function(require,module,exports) {
34
+ function e(e){if(null==e)throw new TypeError("Cannot destructure undefined")}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
35
+ },{}],"X18c":[function(require,module,exports) {
36
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.manageNoPinSingle=void 0;var t=e(require("@babel/runtime/helpers/objectDestructuringEmpty"));function e(t){return t&&t.__esModule?t:{default:t}}var n=function(e){return(0,t.default)(e),function(t){return!t.classList.contains("dpsp-post-pinterest-image-hidden-inner")&&(t.setAttribute("data-pin-nopin","true"),!0)}},r=function(t){var e=t.content;return function(t){return!e.contains(t)&&(t.setAttribute("data-pin-nopin","true"),!0)}},i={post_custom_images:n,post_images:r,all_images:function(){return function(){return!0}}},u=function(t){var e=t.pinnableImages,n=t.content;return function(t){return Object.keys(i).includes(e)||(e="all_images"),i[e]({content:n})(t)}};exports.manageNoPinSingle=u;
37
+ },{"@babel/runtime/helpers/objectDestructuringEmpty":"rtwc"}],"DKSj":[function(require,module,exports) {
38
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(){if(window.mvGrowData&&window.mvGrowData.general&&window.mvGrowData.general.contentSelector)return document.querySelector(window.mvGrowData.general.contentSelector);if(document.getElementsByTagName("body")[0].classList.contains("mediavine-trellis"))return document.getElementById("content").getElementsByClassName("article")[0];var e=document.getElementById("theme-content-section");if(e)return e;var t=document.getElementById("dpsp-post-content-markup");return t&&t.parentNode?t.parentNode:document.body},t=e;exports.default=t;
39
+ },{}],"XSCr":[function(require,module,exports) {
40
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getSettings=void 0;var e=t(require("../utils/get-content-wrapper"));function t(e){return e&&e.__esModule?e:{default:e}}var i={minimumImageHeight:200,minimumImageWidth:200,buttonPosition:"top_left",buttonShareBehavior:"post_image",hoverButtonShareBehavior:"hover_image",showImageOverlay:!0,showButtonLabel:!0,buttonLabelText:"Save",buttonShape:"rectangular",pinImageURL:"",pinnableImages:"all_images",pinDescriptionSource:"image_alt_tag",pinDescription:"",pinTitle:"",postTypeDisplay:["post"],postImageHidden:!1,postImageHiddenMultiple:!1,lazyLoadCompatibility:!1,disableIframes:!1,imagePinIt:!1,hasContent:!1,shareURL:"",ignoreSelectors:[],bypassClasses:[]},a=function(){return Object.assign({},i,window.mvGrowData.pinterest,{content:(0,e.default)()})};exports.getSettings=a;
41
+ },{"../utils/get-content-wrapper":"DKSj"}],"QgJj":[function(require,module,exports) {
42
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addButtonSingle=void 0;var t='<svg xmlns="http://www.w3.org/2000/svg" width="23" height="32" viewBox="0 0 23 32"><path d="M0 10.656q0-1.92 0.672-3.616t1.856-2.976 2.72-2.208 3.296-1.408 3.616-0.448q2.816 0 5.248 1.184t3.936 3.456 1.504 5.12q0 1.728-0.32 3.36t-1.088 3.168-1.792 2.656-2.56 1.856-3.392 0.672q-1.216 0-2.4-0.576t-1.728-1.568q-0.16 0.704-0.48 2.016t-0.448 1.696-0.352 1.28-0.48 1.248-0.544 1.12-0.832 1.408-1.12 1.536l-0.224 0.096-0.16-0.192q-0.288-2.816-0.288-3.36 0-1.632 0.384-3.68t1.184-5.152 0.928-3.616q-0.576-1.152-0.576-3.008 0-1.504 0.928-2.784t2.368-1.312q1.088 0 1.696 0.736t0.608 1.824q0 1.184-0.768 3.392t-0.8 3.36q0 1.12 0.8 1.856t1.952 0.736q0.992 0 1.824-0.448t1.408-1.216 0.992-1.696 0.672-1.952 0.352-1.984 0.128-1.792q0-3.072-1.952-4.8t-5.12-1.728q-3.552 0-5.952 2.304t-2.4 5.856q0 0.8 0.224 1.536t0.48 1.152 0.48 0.832 0.224 0.544q0 0.48-0.256 1.28t-0.672 0.8q-0.032 0-0.288-0.032-0.928-0.288-1.632-0.992t-1.088-1.696-0.576-1.92-0.192-1.92z"></path></svg>',e=function(e){return function(i){if(!n(e)(i))return!1;var a=e.buttonPosition,s=e.hoverButtonShareBehavior,r=e.showImageOverlay,o=e.showButtonLabel,p=e.buttonLabelText,c=e.buttonShape,d=e.pinImageURL,l=e.pinDescription,u=e.shareURL,m=i.getAttribute("data-pin-media")||i.getAttribute("data-media")||i.getAttribute("data-lazy-src")||i.getAttribute("data-src")||i.getAttribute("src"),b=i.getAttribute("data-pin-description")||"";if("post_image"===s&&(m=d||m,b=l||b),!m)return!1;var g=i.getAttribute("class"),h=i.getAttribute("style");if(g){var v=["lazyloaded","lazyload","td-animation-stack"];g=g.split(" ").filter(function(t){return!v.includes(t)}).join(" ")}var A=document.createElement("div");A.setAttribute("class","dpsp-pin-it-wrapper ".concat(g||"")),h&&A.setAttribute("style",h),g&&g.split(" ").forEach(function(t){t.trim()&&i.classList.remove(t)}),i.setAttribute("style",""),i.parentNode.insertBefore(A,i),A.appendChild(i);var L=i.getAttribute("data-pin-id"),f=L?"https://pinterest.com/pin/".concat(L,"/repin/x"):"https://pinterest.com/pin/create/bookmarklet/?media=".concat(encodeURIComponent(m),"&url=").concat(encodeURIComponent(u),"&is_video=false&description=").concat(encodeURIComponent(b)),q=document.createElement("a");if(q.classList.add("dpsp-pin-it-button"),q.classList.add("dpsp-pin-it-button-".concat(a)),q.classList.add("dpsp-pin-it-button-shape-".concat(c)),q.setAttribute("target","_blank"),q.rel="noopener",q.innerHTML='<span class="dpsp-network-icon">'+t+"</span>",o&&(q.classList.add("dpsp-pin-it-button-has-label"),q.title=p,q.setAttribute("aria-label",p)),q.href=f,r){var y=document.createElement("span");y.setAttribute("class","dpsp-pin-it-overlay"),A.appendChild(y)}return A.appendChild(q),!0}};exports.addButtonSingle=e;var n=function(t){var e=t.imagePinIt,n=t.imageInContent,i=t.minimumImageWidth,a=t.minimumImageHeight;return function(t){return"1"===e&&(!!n&&("IFRAME"!==t.nodeName&&(!t.parentNode.parentNode.classList.contains("rll-youtube-player")&&(!t.parentNode.classList.contains("dpsp-pin-it-wrapper")&&(!!t.parentNode.parentNode.classList.contains("blocks-gallery-item")||(!(t.clientWidth<=0||t.clientHeight<=0)||"lazy"===t.loading)&&(!t.getAttribute("data-pin-nopin")&&(t.classList.contains("dpsp_no_pin")||t.classList.contains("nopin")||t.parentNode.classList.contains("nopin")?(t.setAttribute("data-pin-nopin","true"),!1):!(t.clientWidth<Number(i)||t.clientHeight<Number(a))&&!t.classList.contains("emoji"))))))))}};
43
+ },{}],"a47m":[function(require,module,exports) {
44
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addDescriptionSingle=void 0;var t=function(t){var i=t.pinDescriptionSource,r=t.pinDescription,n=t.imageInContent;return function(t){if(!e({imageInContent:n})(t))return!1;var o="";"image_alt_tag"===i&&t.getAttribute("alt")&&(o=t.getAttribute("alt")),"image_title"===i&&t.getAttribute("title")&&(o=t.getAttribute("title")),r&&"post_pinterest_description"===i&&(o=r),!o&&r&&(o=r);var a=document.querySelector('[property="og:title"]');return!o&&a&&(o=a.getAttribute("content")),o&&t.setAttribute("data-pin-description",o),!0}};exports.addDescriptionSingle=t;var e=function(t){var e=t.imageInContent;return function(t){return!!e&&!t.getAttribute("data-pin-description")}};
45
+ },{}],"QfZG":[function(require,module,exports) {
46
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addTitleSingle=void 0;var t=function(t){var n=t.pinTitle,r=t.imageInContent;return function(t){if(!e({imageInContent:r})(t))return!1;var i="";!i&&n&&(i=n);var o=document.querySelector('[property="og:title"]');return!i&&o&&(i=o.getAttribute("content")),!!i&&(t.setAttribute("data-pin-title",i),!0)}};exports.addTitleSingle=t;var e=function(t){var e=t.imageInContent;return function(t){return!!e&&!t.getAttribute("data-pin-title")}};
47
+ },{}],"UfYi":[function(require,module,exports) {
48
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.removeBrowserExtensionButton=void 0;var e=t(require("@babel/runtime/helpers/objectDestructuringEmpty"));function t(e){return e&&e.__esModule?e:{default:e}}var r=function(t){return(0,e.default)(t),function(e){return!e.parentNode.classList.contains("dpsp-pin-it-wrapper")&&(e.addEventListener("mouseenter",function(){var e=Array.prototype.slice.call(document.querySelectorAll('[style*="z-index: 8675309"][style*="data:image/svg+xml"]')),t=Array.prototype.slice.call(document.querySelectorAll('span[class^="PIN_"][data-pin-log^="button_pinit_floating"]'));e.concat(t).forEach(function(e){return e.remove()})}),!0)}};exports.removeBrowserExtensionButton=r;
49
+ },{"@babel/runtime/helpers/objectDestructuringEmpty":"rtwc"}],"kZhX":[function(require,module,exports) {
50
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(e,s){var t=e.minimumImageHeight,a=e.minimumImageWidth,i=e.disableIframes,n=e.bypassClasses;return!e.bypassDenyClasses.some(function(e){return s.classList.contains(e)})&&("true"===s.dataset.pinNopin||!s.parentNode.parentNode.classList.contains("blocks-gallery-item")&&(s.height<t||(s.width<a||("yes"===i&&"IFRAME"===s.nodeName||n.some(function(e){return s.classList.contains(e)})))))},s=e;exports.default=s;
51
+ },{}],"xUEp":[function(require,module,exports) {
52
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("./add-button"),t=require("./add-descriptions"),r=require("./add-titles"),n=require("./remove-extension"),i=o(require("./filter-image"));function o(e){return e&&e.__esModule?e:{default:e}}var u=function(o){return function(u){return(0,i.default)(o,u)?(u.setAttribute("data-pin-nopin","true"),!1):(o.imageInContent=o.content.contains(u),[t.addDescriptionSingle,r.addTitleSingle,e.addButtonSingle,n.removeBrowserExtensionButton].forEach(function(e){return e(o)(u)}),!0)}},d=u;exports.default=d;
53
+ },{"./add-button":"QgJj","./add-descriptions":"a47m","./add-titles":"QfZG","./remove-extension":"UfYi","./filter-image":"kZhX"}],"Bmo8":[function(require,module,exports) {
54
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(){return function(e){e.parentNode.classList.contains("dpsp-post-pinterest-image-hidden")&&(e.parentNode.style.cssText="position:absolute;height:0;width:0;"),e.removeAttribute("loading")}},t=e;exports.default=t;
55
+ },{}],"xtn3":[function(require,module,exports) {
56
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("./get-settings"),t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(0,e.getSettings)();[].slice.call(document.getElementsByTagName("img")).map(function(e){t.forEach(function(t){return t(n)(e)})})},n=t;exports.default=n;
57
+ },{"./get-settings":"XSCr"}],"h63O":[function(require,module,exports) {
58
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.addShareURL=void 0;var t=function(t){var e=t.shareURL;return function(t){return!t.getAttribute("data-pin-url")&&(!!e&&(t.setAttribute("data-pin-url",e),!0))}};exports.addShareURL=t;
59
+ },{}],"axgK":[function(require,module,exports) {
60
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=require("../utils/debug"),e=function(){var e=document.createElement("script"),s=(0,t.isDebug)()?"https://cdn.mediavine.com/pinmarklet.js":"https://assets.pinterest.com/js/pinmarklet.js";e.setAttribute("type","text/javascript"),e.setAttribute("charset","UTF-8"),e.setAttribute("src",s),document.body.appendChild(e)},s=e;exports.default=s;
61
+ },{"../utils/debug":"ZFee"}],"dCCy":[function(require,module,exports) {
62
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(e){var t=e.target,r=e.callback,s=new MutationObserver(r);return s.observe(t,{childList:!0,subtree:!0}),s},t=e;exports.default=t;
63
+ },{}],"AalF":[function(require,module,exports) {
64
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=n(require("../utils/observe-mutation")),t=require("../pinterest/manage-nopin"),r=require("../pinterest");function n(e){return e&&e.__esModule?e:{default:e}}var a=function(){[].slice.call(document.getElementsByClassName("tl-widget-container")).forEach(function(n){(0,e.default)({target:n,callback:function(){Array.prototype.forEach.call(document.querySelectorAll("img"),(0,t.manageNoPinSingle)((0,r.getPinterestSettings)()))}})})},i=a;exports.default=i;
65
+ },{"../utils/observe-mutation":"dCCy","../pinterest/manage-nopin":"X18c","../pinterest":"b4YO"}],"dRtE":[function(require,module,exports) {
66
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("@babel/runtime/helpers/toConsumableArray"));function r(e){return e&&e.__esModule?e:{default:e}}var t=function(r){var t=r.ignoreSelectors;(void 0===t?[]:t).forEach(function(r){(0,e.default)(document.querySelectorAll("".concat(r,", ").concat(r," img"))).forEach(function(e){return"IMG"===e.tagName&&e.classList.add("mv-grow-bypass")})})},o=t;exports.default=o;
67
+ },{"@babel/runtime/helpers/toConsumableArray":"I9dH"}],"b4YO":[function(require,module,exports) {
68
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initializePinterest=p,exports.initializeProPinterest=g,Object.defineProperty(exports,"getPinterestSettings",{enumerable:!0,get:function(){return r.getSettings}});var e=c(require("@babel/runtime/helpers/toConsumableArray")),t=require("./manage-nopin"),r=require("./get-settings"),n=c(require("./process-image")),i=c(require("./un-lazy-image")),a=c(require("./on-demand-data")),u=require("./add-share-url"),o=c(require("./load-grid")),d=c(require("../observations/thrive-leads")),l=c(require("../utils/get-content-wrapper")),s=c(require("../utils/should-run")),f=c(require("./ignore-images"));function c(e){return e&&e.__esModule?e:{default:e}}function p(){if(!(0,s.default)())return!1;(0,e.default)(document.querySelectorAll(".dpsp-networks-btns-share .dpsp-network-btn.dpsp-pinterest")).forEach(function(e){e.addEventListener("click",function(t){/#$/.test(e.href)||/#$/.test(e.getAttribute("data-href"))?(t.preventDefault(),(0,a.default)([i.default,u.addShareURL]),(0,o.default)()):t.preventDefault()}),e.addEventListener("keydown",function(t){"Space"!==t.code&&"Enter"!==t.code||e.click()})})}function g(){if(document.body.classList.contains("tve_editor_page"))return!1;if(!window.mvGrowData||!window.mvGrowData.pinterest)return!1;var i=(0,r.getSettings)();return!(!(0,s.default)()||"1"!==i.hasContent)&&((0,e.default)(document.querySelectorAll("img, iframe")).forEach((0,t.manageNoPinSingle)(i)),(0,f.default)(i),(0,d.default)(),Array.prototype.forEach.call((0,l.default)().querySelectorAll("img, iframe"),(0,n.default)(i)),!0)}
69
+ },{"@babel/runtime/helpers/toConsumableArray":"I9dH","./manage-nopin":"X18c","./get-settings":"XSCr","./process-image":"xUEp","./un-lazy-image":"Bmo8","./on-demand-data":"xtn3","./add-share-url":"h63O","./load-grid":"axgK","../observations/thrive-leads":"AalF","../utils/get-content-wrapper":"DKSj","../utils/should-run":"fkUf","./ignore-images":"dRtE"}],"nDkI":[function(require,module,exports) {
70
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(){if(document.querySelector(".dpsp-top-shared-post")||document.querySelector(".dpsp-click-to-tweet")||document.querySelector(".dpsp-network-btn")){var e=document.querySelector(".mv-grow-style");e&&(e.rel="stylesheet",e.type="text/css")}},t=e;exports.default=t;
71
+ },{}],"YvVA":[function(require,module,exports) {
72
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@babel/runtime/helpers/toConsumableArray")),o=t(require("./utils/should-run")),r=t(require("./utils/create-svg-icon"));function t(e){return e&&e.__esModule?e:{default:e}}function n(){if(!(0,o.default)())return!1;window.growMe?window.growMe(d):(window.growMe=function(e){window.growMe._.push(e)},window.growMe._=[d])}var d=function(){var o=(0,e.default)(document.querySelectorAll(".dpsp-networks-btns-share .dpsp-network-list-item.dpsp-network-list-item-grow"));o.forEach(function(e){var r=e.querySelector(".dpsp-network-label"),t=e.querySelector(".dpsp-network-btn"),n=window.growMe.getIsBookmarked();i(t),n&&(r.innerText="Saved!"),window.growMe.on("isBookmarkedChanged",function(e){(n=e.isBookmarked)&&(r.innerText="Saved!")}),e.classList.add("dpsp-grow-load-in"),setTimeout(function(){e.classList.remove("dpsp-grow-load-in"),e.classList.add("dpsp-grow-loaded")},900),t.addEventListener("click",function(e){e.preventDefault(),window.growMe.addBookmark({source:"grow_social_pro",tooltipReferenceElement:t}).then(function(e){o.forEach(function(e){var o=e.querySelector(".dpsp-network-label");o&&(o.innerText="Saved!"),e.querySelector(".dpsp-network-btn").classList.add("dpsp-grow-saved")})}).catch(function(e){o.forEach(function(e){var o=e.querySelector(".dpsp-network-label");o&&(o.innerText="Saved!"),e.querySelector(".dpsp-network-btn").classList.add("dpsp-grow-saved")})})}),t.addEventListener("keydown",function(e){"Space"!==e.code&&"Enter"!==e.code||t.click()})})},i=function(e){var o=(0,r.default)({paths:["M9.19481 0L3.14304 6.31111L0.80576 3.8777L0 4.71887L3.14304 8L10 0.841163L9.19481 0Z"],height:8,width:10,class:"dpsp-grow-check-icon",referenceHeight:"5",y:3}),t=e.querySelector(".dpsp-network-icon-inner > svg");t&&t.appendChild(o.cloneNode(!0))},s=n;exports.default=s;
73
+ },{"@babel/runtime/helpers/toConsumableArray":"I9dH","./utils/should-run":"fkUf","./utils/create-svg-icon":"Mzb7"}],"gSkV":[function(require,module,exports) {
74
+ "use strict";var e=l(require("./fn/add-missing-icons")),i=require("./fn/init-buttons"),t=l(require("./fn/init-print")),n=l(require("./fn/init-sidebar")),r=require("./fn/pinterest"),u=require("./fn/utils/debug"),d=l(require("./fn/utils/get-settings")),o=l(require("./fn/load-styles")),a=l(require("./fn/init-grow-me"));function l(e){return e&&e.__esModule?e:{default:e}}var s=function(){(0,d.default)(),(0,u.debugLog)(window.mvGrowData),(0,o.default)();window.addEventListener("scroll",function(){Number(window.scrollY/document.body.clientHeight*100)}),(0,i.initializeButtonHover)(),(0,r.initializePinterest)(),(0,t.default)(),(0,i.initializeButtons)(),(0,n.default)(),(0,a.default)(),(0,e.default)()};"loading"===document.readyState?window.addEventListener("DOMContentLoaded",s):s();
75
+ },{"./fn/add-missing-icons":"LvEJ","./fn/init-buttons":"CR0T","./fn/init-print":"jsG1","./fn/init-sidebar":"VRvp","./fn/pinterest":"b4YO","./fn/utils/debug":"ZFee","./fn/utils/get-settings":"tCTD","./fn/load-styles":"nDkI","./fn/init-grow-me":"YvVA"}]},{},["gSkV"], null)
assets/dist/{grow-logo-sq-navy.1.18.2.png → grow-logo-sq-navy.1.19.0.png} RENAMED
File without changes
assets/dist/intercom.1.18.2.js DELETED
@@ -1,3 +0,0 @@
1
- parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"HVsC":[function(require,module,exports) {
2
- const t="j6qtyr66",e=JSON.parse(localStorage.getItem("mvGrowIntercomCache"))||{};async function n(){if(o())return;const n=window.mvgrow_intercom.options.license,{current_user_email:r,current_firstname:c,current_lastname:s}=window.mvgrow_intercom.user;let m,u,w;if(!r)return;const l=e.email,_=e.expirationDate;if(l&&l===r&&new Date<=_)m=l,u=e.name,w=e.user_hash;else{const{hash:t,customer_name:e,customer_email:o}=await a(r,n);m=o||r,u=e||`${c} ${s}`,w=t||null,localStorage.setItem("mvGrowIntercomCache",JSON.stringify({user_hash:t,name:e,email:o,expirationDate:i()}))}return window.intercomSettings={...w?{user_hash:w}:{},app_id:t,name:u,email:m,is_using_mv_grow_pro:!0},function(){var e=window,n=e.Intercom;if("function"==typeof n)n("reattach_activator"),n("update",e.intercomSettings);else{var r=document,o=function(){o.c(arguments)};o.q=[],o.c=function(t){o.q.push(t)},e.Intercom=o;var a=function(){var e=r.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://widget.intercom.io/widget/"+t;var n=r.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};"complete"===document.readyState?a():e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}}(),window.MV_HAS_GROW_INTERCOM_BOOTED=!0,window.Intercom("boot",{...w?{user_hash:w}:{},app_id:t,email:m})}function r(){if(window.Intercom)return window.MV_HAS_GROW_INTERCOM_BOOTED=!1,window.Intercom("shutdown")}function o(){return window.MV_HAS_GROW_INTERCOM_BOOTED}async function a(t,e){if(e)try{const r=await fetch("https://product-data-sync.herokuapp.com/validate_user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,grow_license:e,plugin_slug:"mediavine-grow"})});return 401===r.status||403===r.status?{hash:null}:r.json()}catch(n){console.error(n)}}function i(){let t=new Date;return t.setDate(t.getDate()+7),t}e||localStorage.setItem("mvGrowIntercomCache",JSON.stringify({})),o()||n();
3
- },{}]},{},["HVsC"], null)
 
 
 
assets/dist/intercom.1.19.0.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"x3DH":[function(require,module,exports) {
2
+ function e(e,o,r){return o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}module.exports=e,module.exports.default=module.exports,module.exports.__esModule=!0;
3
+ },{}],"Ittk":[function(require,module,exports) {
4
+ function e(e,o,t,n,r,u,i){try{var d=e[u](i),l=d.value}catch(s){return void t(s)}d.done?o(l):Promise.resolve(l).then(n,r)}function o(o){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=o.apply(t,n);function d(o){e(i,r,u,d,l,"next",o)}function l(o){e(i,r,u,d,l,"throw",o)}d(void 0)})}}module.exports=o,module.exports.default=module.exports,module.exports.__esModule=!0;
5
+ },{}],"VuXv":[function(require,module,exports) {
6
+ var t=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e,n){var o=r&&r.prototype instanceof v?r:v,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=function(t,r,e){var n=f;return function(o,i){if(n===l)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return N()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=_(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===f)throw n=p,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=l;var u=h(t,r,e);if("normal"===u.type){if(n=e.done?p:s,u.arg===y)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=p,e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(n){return{type:"throw",arg:n}}}t.wrap=u;var f="suspendedStart",s="suspendedYield",l="executing",p="completed",y={};function v(){}function d(){}function g(){}var m={};m[i]=function(){return this};var w=Object.getPrototypeOf,L=w&&w(w(G([])));L&&L!==e&&n.call(L,i)&&(m=L);var x=g.prototype=v.prototype=Object.create(m);function E(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function b(t,r){var e;this._invoke=function(o,i){function a(){return new r(function(e,a){!function e(o,i,a,c){var u=h(t[o],t,i);if("throw"!==u.type){var f=u.arg,s=f.value;return s&&"object"==typeof s&&n.call(s,"__await")?r.resolve(s.__await).then(function(t){e("next",t,a,c)},function(t){e("throw",t,a,c)}):r.resolve(s).then(function(t){f.value=t,a(f)},function(t){return e("throw",t,a,c)})}c(u.arg)}(o,i,e,a)})}return e=e?e.then(a,a):a()}}function _(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,_(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function j(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function O(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function G(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:N}}function N(){return{value:r,done:!0}}return d.prototype=x.constructor=g,g.constructor=d,g[c]=d.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===d||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},E(b.prototype),b.prototype[a]=function(){return this},t.AsyncIterator=b,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new b(u(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},E(x),x[c]="Generator",x[i]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=G,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),h=n.call(a,"finallyLoc");if(u&&h){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),y},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),O(e),y}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;O(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:G(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}},t}("object"==typeof module?module.exports:{});try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}
7
+ },{}],"y2KZ":[function(require,module,exports) {
8
+ module.exports=require("regenerator-runtime");
9
+ },{"regenerator-runtime":"VuXv"}],"HVsC":[function(require,module,exports) {
10
+ "use strict";var e=n(require("@babel/runtime/helpers/defineProperty")),t=n(require("@babel/runtime/helpers/asyncToGenerator")),r=n(require("@babel/runtime/regenerator"));function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?a(Object(n),!0).forEach(function(r){(0,e.default)(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var c="j6qtyr66",i=JSON.parse(localStorage.getItem("mvGrowIntercomCache")||"{}");function u(){return s.apply(this,arguments)}function s(){return(s=(0,t.default)(r.default.mark(function e(){var t,n,a,u,s,p,m,w,h,_,b,O,v,g;return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!l()){e.next=2;break}return e.abrupt("return");case 2:if(t=window.mvgrow_intercom.options.license,n=window.mvgrow_intercom.user,a=n.current_user_email,u=n.current_firstname,s=n.current_lastname,a){e.next=6;break}return e.abrupt("return");case 6:if(h=i.email,_=i.expirationDate,!(h&&h===a&&new Date<=_)){e.next=14;break}p=h,m=i.name,w=i.user_hash,e.next=24;break;case 14:return e.next=16,f(a,t);case 16:b=e.sent,O=b.hash,v=b.customer_name,g=b.customer_email,p=g||a,m=v||"".concat(u," ").concat(s),w=O||null,localStorage.setItem("mvGrowIntercomCache",JSON.stringify({user_hash:O,name:v,email:g,expirationDate:d()}));case 24:return window.intercomSettings=o(o({},w?{user_hash:w}:{}),{},{app_id:c,name:m,email:p,is_using_mv_grow_pro:!0}),function(){var e=window,t=e.Intercom;if("function"==typeof t)t("reattach_activator"),t("update",e.intercomSettings);else{var r=document,n=function e(){e.c(arguments)};n.q=[],n.c=function(e){n.q.push(e)},e.Intercom=n;var a=function(){var e=r.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://widget.intercom.io/widget/"+c;var t=r.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)};"complete"===document.readyState?a():e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}}(),window.MV_HAS_GROW_INTERCOM_BOOTED=!0,e.abrupt("return",window.Intercom("boot",o(o({},w?{user_hash:w}:{}),{},{app_id:c,email:p})));case 29:case"end":return e.stop()}},e)}))).apply(this,arguments)}function p(){if(window.Intercom)return window.MV_HAS_GROW_INTERCOM_BOOTED=!1,window.Intercom("shutdown")}function l(){return window.MV_HAS_GROW_INTERCOM_BOOTED}function f(e,t){return m.apply(this,arguments)}function m(){return(m=(0,t.default)(r.default.mark(function e(t,n){var a;return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",void 0);case 2:return e.prev=2,e.next=5,fetch("https://product-data-sync.herokuapp.com/validate_user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,grow_license:n,plugin_slug:"mediavine-grow"})});case 5:if(401!==(a=e.sent).status&&403!==a.status){e.next=8;break}return e.abrupt("return",{hash:null});case 8:return e.abrupt("return",a.json());case 11:e.prev=11,e.t0=e.catch(2),console.error(e.t0);case 14:case"end":return e.stop()}},e,null,[[2,11]])}))).apply(this,arguments)}function d(){var e=new Date;return e.setDate(e.getDate()+7),e}i||localStorage.setItem("mvGrowIntercomCache",JSON.stringify({})),l()||u();
11
+ },{"@babel/runtime/helpers/defineProperty":"x3DH","@babel/runtime/helpers/asyncToGenerator":"Ittk","@babel/runtime/regenerator":"y2KZ"}]},{},["HVsC"], null)
assets/dist/{jquery.ui.touch-punch.min.1.18.2.js → jquery.ui.touch-punch.min.1.19.0.js} RENAMED
File without changes
assets/dist/{social-pug-upgrade.1.18.2.png → social-pug-upgrade.1.19.0.png} RENAMED
File without changes
assets/dist/{socialpug.1.18.2.eot → socialpug.1.19.0.eot} RENAMED
File without changes
assets/dist/{socialpug.1.18.2.svg → socialpug.1.19.0.svg} RENAMED
File without changes
assets/dist/{socialpug.1.18.2.ttf → socialpug.1.19.0.ttf} RENAMED
File without changes
assets/dist/{socialpug.1.18.2.woff → socialpug.1.19.0.woff} RENAMED
File without changes
assets/dist/style-dashboard-pro.1.18.2.css DELETED
@@ -1 +0,0 @@
1
- .dpsp-settings-sidebar{float:left;margin-top:63px;padding-left:20px;width:365px;-moz-box-sizing:border-box;box-sizing:border-box}.dpsp-settings-sidebar p{color:#767676}@media screen and (max-width:1225px){.dpsp-settings-sidebar{border-left:0;padding-left:0}}#dpsp-settings-sidebar-social-pug-pro img{max-width:100%;height:auto;padding:0 20px;box-sizing:border-box}#dpsp-settings-sidebar-social-pug-pro h3{text-align:center;line-height:1.7em;font-weight:700}#dpsp-settings-sidebar-social-pug-pro p{position:relative;padding-left:45px;color:#454545;margin-bottom:20px}#dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons{position:absolute;top:-5px;left:0;display:inline-block;width:30px;height:30px}#dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons:after{content:"";display:block;position:absolute;z-index:1;top:-1px;left:2px;width:30px;height:30px;border-radius:20px;background:#41a4a9}#dpsp-settings-sidebar-social-pug-pro p .dashicons{position:absolute;top:0;left:0;width:30px;height:30px;font-size:24px;line-height:30px;color:#fff;z-index:2}#dpsp-settings-sidebar-social-pug-pro .dpsp-button-primary{width:100%;text-align:center;padding:10px 0;box-sizing:border-box}.dpsp-page-wrapper.dpsp-page-extensions{max-width:1000px}.dpsp-page-extensions .dpsp-card{margin-top:0;margin-bottom:0}.dpsp-unavailable>a{display:block;line-height:0}.dpsp-unavailable h4{padding-bottom:0;border-bottom:0;border-top:1px solid #f1f1f1;text-align:left}.dpsp-unavailable p.dpsp-description{margin:0;padding:10px}.dpsp-unavailable .dpsp-tool-actions{padding:15px 10px;overflow:hidden;text-align:center;background:#f9f9f9;border-top:1px solid #f1f1f1}.dpsp-unavailable .dpsp-tool-actions .button{padding-left:25px;padding-right:25px}.dpsp-unavailable .dpsp-description{height:57px}@import url("https://fonts.googleapis.com/css?family=Raleway:400,700,800");@font-face{font-family:Social Pug;src:url(./socialpug.1.18.2.eot?gd6mr8);src:url(./socialpug.1.18.2.eot?#iefix) format("embedded-opentype"),url(./socialpug.1.18.2.woff) format("woff"),url(./socialpug.1.18.2.ttf) format("truetype"),url(./socialpug.1.18.2.svg#socialpug) format("svg");font-weight:400;font-style:normal}[class*=" dpsp-icon-"]:before,[class^=dpsp-icon-]:before{font-family:Social Pug,sans-serif;font-style:normal;font-weight:400;display:inline-block;text-decoration:inherit;text-align:center;font-variant:normal;text-transform:none;line-height:1em}.dpsp-icon-ok:before{content:"\e880"}.dpsp-icon-remove:before{content:"\e881"}.dpsp-icon-edit:before{content:"\e882"}.dpsp-icon-share:before{content:"\e883"}.dpsp-icon-facebook:before{content:"\e800"}.dpsp-icon-twitter:before{content:"\e801"}.dpsp-icon-google-plus:before{content:"\e802"}.dpsp-icon-pinterest:before{content:"\e803"}.dpsp-icon-linkedin:before{content:"\e804"}.dpsp-icon-reddit:before{content:"\e806"}.dpsp-icon-vkontakte:before{content:"\e807"}.dpsp-icon-whatsapp:before{content:"\e808"}.dpsp-icon-instagram:before{content:"\e809"}.dpsp-icon-youtube:before{content:"\e810"}.dpsp-icon-vimeo:before{content:"\e811"}.dpsp-icon-soundcloud:before{content:"\e812"}.dpsp-icon-twitch:before{content:"\e813"}.dpsp-icon-behance:before{content:"\e814"}.dpsp-icon-yummly:before{content:"\e815"}.dpsp-icon-email:before{content:"\e816"}.dpsp-icon-print:before{content:"\e817"}.dpsp-icon-pocket:before{content:"\e819"}.dpsp-icon-buffer:before{content:"\e820"}.dpsp-icon-tumblr:before{content:"\e821"}.dpsp-icon-github:before{content:"\e822"}.dpsp-icon-xing:before{content:"\e823"}.dpsp-icon-flipboard:before{content:"\e824"}.dpsp-icon-telegram:before{content:"\e825"}.dpsp-icon-medium:before{content:"\e826"}.dpsp-icon-mix:before{content:"\e827"}.dpsp-transition{-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}[class*=dpsp-col-]{float:left;padding:5px;-moz-box-sizing:border-box;box-sizing:border-box}.dpsp-row{margin:0 -5px}.dpsp-row.dpsp-m-padding{margin:0 -8px}.dpsp-row.dpsp-m-padding [class*=dpsp-col-]{padding:8px}.dpsp-row.dpsp-big-padding{margin:0 -15px}.dpsp-row.dpsp-big-padding [class*=dpsp-col-]{padding:15px}.dpsp-col-1-1{width:100%}.dpsp-col-1-2{width:50%}.dpsp-col-1-3{width:33.3333%}.dpsp-col-2-3{width:66.6666%}.dpsp-col-1-4{width:25%}.dpsp-col-3-4{width:75%}.dpsp-col-1-5{width:20%}.dpsp-col-2-5{width:40%}.dpsp-col-3-5{width:60%}.dpsp-col-4-5{width:80%}.dpsp-col-3-8{width:37.5%}.dpsp-row:after{content:"";display:block;clear:both}.dpsp-page-wrapper{position:relative;max-width:675px;float:left;width:100%}h1.dpsp-page-title{padding-right:0;padding-bottom:15px}.dpsp-section{margin-bottom:50px}.dpsp-section:after{content:"";display:block;clear:both}.dpsp-section-title{margin:2.75em 0 1.3em;padding-bottom:15px;border-bottom:1px solid #e5e5e5}.dpsp-background-color-network-facebook{background:#3a579a}.dpsp-background-color-network-twitter{background:#00abf0}.dpsp-background-color-network-google-plus{background:#df4a32}.dpsp-background-color-network-pinterest{background:#c92228}.dpsp-background-color-network-linkedin{background:#0077b5}.dpsp-background-color-network-reddit{background:#ff5700}.dpsp-background-color-network-vkontakte{background:#4d75a3}.dpsp-background-color-network-whatsapp{background:#25d366}.dpsp-background-color-network-instagram{background:#bc2a8d}.dpsp-background-color-network-youtube{background:#b00}.dpsp-background-color-network-vimeo{background:#4bf}.dpsp-background-color-network-soundcloud{background:#f50}.dpsp-background-color-network-twitch{background:#6441a5}.dpsp-background-color-network-yummly{background:#e55a27}.dpsp-background-color-network-behance{background:#005cff}.dpsp-background-color-network-email{background:#27ae60}.dpsp-background-color-network-print{background:#bdc3c7}.dpsp-background-color-network-pocket{background:#ed4055}.dpsp-background-color-network-buffer{background:#29323b}.dpsp-background-color-network-tumblr{background:#35465c}.dpsp-background-color-network-xing{background:#00888d}.dpsp-background-color-network-github{background:#333}.dpsp-background-color-network-flipboard{background:#e12828}.dpsp-background-color-network-telegram{background:#08c}.dpsp-background-color-network-medium{background:#333}.dpsp-background-color-network-mix{background:#fd8235}body.dpsp-pagestyles{background:#f3f6f8}.dpsp-page-header{background:#41a4a9;margin-left:-20px;line-height:60px;color:#fff}.dpsp-page-header .dpsp-logo{padding:0 10px 0 20px}.dpsp-page-header .dpsp-logo-inner{font-family:Raleway,sans-serif;font-weight:700;font-size:22px}.dpsp-page-header .dpsp-logo-inner span{font-weight:300}.mv-grow-logo{max-width:50px;display:inline-block;vertical-align:top;padding-right:.5rem;padding-top:.25rem}.dpsp-page-header:after{content:"";display:block;clear:both}.dpsp-page-header nav{display:inline-block;margin-left:25px;line-height:62px}.dpsp-page-header nav a{display:inline-block;color:#fff;background:hsla(0,0%,100%,.2);text-decoration:none;font-size:.9em;line-height:1;padding:8px 12px;border-radius:3px;font-weight:700;margin:0 5px;box-shadow:0 0 2px 2px rgba(52,152,219,.15)}.dpsp-page-header nav a .dashicons{font-size:14px;height:auto;width:auto;margin-right:5px;margin-top:-2px}.dpsp-page-header nav a:hover{background:hsla(0,0%,100%,.3)}.dpsp-card{margin-bottom:2em;margin-top:1.5em;background:#fff;box-shadow:0 3px 10px -2px rgba(94,135,161,.3);max-width:675px;border-radius:3px;box-sizing:border-box}.dpsp-card-header{position:relative;padding:20px;border-bottom:1px solid rgba(200,215,225,.5);font-size:14px;font-weight:700}.dpsp-card-inner{padding:20px}.dpsp-card-inner:after{content:"";display:block;clear:both}.dpsp-card-footer{position:relative;padding:20px;border-top:1px solid rgba(200,215,225,.5);background:rgba(200,215,225,.15)}.dpsp-card-footer-actions{text-align:right}.dpsp-card-footer-actions:after{content:"";display:block;clear:both}.dpsp-card-footer-actions a{float:left;color:#777;line-height:34px;outline:0;box-shadow:none}.dpsp-card-footer-actions a:hover{color:#444}.dpsp-nav-tab-wrapper{margin:0}.dpsp-nav-tab-wrapper:after{content:"";display:block;clear:both}.dpsp-nav-tab{float:left;border-bottom:2px solid transparent;margin:0}.dpsp-nav-tab.dpsp-active{border-bottom-color:#2e4453}.dpsp-nav-tab.dpsp-active a{color:#2e4453}.dpsp-nav-tab a{display:block;width:auto;padding:16px 16px 14px;text-decoration:none;box-sizing:border-box;box-shadow:none}.dpsp-tab{display:none;margin-top:25px}.dpsp-tab.dpsp-active{display:block}.dpsp-button-primary{display:inline-block;border:none;background:#41a4a9;color:#fff!important;cursor:pointer;margin:0;outline:0;overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:middle;box-sizing:border-box;line-height:21px;border-radius:3em;padding:.5em 2em;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none!important}.dpsp-button-primary:hover{color:#fff;background-color:#243c4a}.dpsp-button-primary:focus{color:#fff}.dpsp-button-primary.dpsp-active,.dpsp-button-primary:active{border-width:2px 1px 1px}.dpsp-button-primary.dpsp-hidden{display:none}.dpsp-button-secondary{display:inline-block;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;margin:0;outline:0;overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:middle;box-sizing:border-box;line-height:21px;border-radius:4px;padding:5px 11px;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none!important}.dpsp-button-secondary:hover{color:#2e4453;border-color:#a8bece}.dpsp-button-secondary:focus{color:#2e4453}.dpsp-button-secondary.dpsp-active,.dpsp-button-secondary:active{border-width:2px 1px 1px}.dpsp-button-secondary.dpsp-hidden{display:none}.dpsp-button-secondary.disabled,.dpsp-button-secondary[disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}.dpsp-widget-section-title{display:block;margin-top:20px;margin-bottom:5px;font-weight:700}.dpsp-widget-label{display:inline-block;width:200px}.widget-content .dpsp-settings-field-checkbox{margin-right:12px}.dpsp-setting-field-button-alignment{display:none}.wrap div.dpsp-admin-notice{position:relative;margin-top:16px}.wrap div.dpsp-admin-notice h4{font-size:16px}.wrap div.dpsp-admin-notice p{font-size:14px}.wrap div.dpsp-admin-notice.dpsp-serial-missing{border-color:rgba(52,152,219,.75)}.wrap div.dpsp-admin-notice.dpsp-serial-missing .dpsp-get-license{margin-left:10px}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts{border-color:rgba(52,152,219,.75)}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts h4{font-size:1.05em}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts a{text-decoration:none}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link{display:inline-block;padding:6px 8px;margin-bottom:18px;color:#3498db;font-weight:500;background:#e9e9e9;border-radius:2px;margin-right:10px}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link span{display:inline-block;text-decoration:none;margin-right:10px}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link:hover{color:#fff;background:rgba(52,152,219,.75)}.wrap div.dpsp-admin-notice-icon-animation .button-primary{display:inline-block;margin-bottom:1.33em}.wrap div.dpsp-admin-notice-icon-animation h4{margin-bottom:0}.wrap div.dpsp-admin-notice-icon-animation p{margin-bottom:.75em}.wrap div.dpsp-admin-notice.dpsp-admin-grow-notice{display:flex;flex-flow:row}@media screen and (max-width:500px){.wrap div.dpsp-admin-notice.dpsp-admin-grow-notice{flex-flow:column}}.wrap div.dpsp-admin-notice .notice-img-wrap{padding:1em;flex:0 0 150px}.wrap div.dpsp-admin-notice .notice-img-wrap img{float:left}.wrap div.dpsp-admin-notice .notice-text-wrap{flex:1 1 auto}.wrap div.dpsp-admin-notice .notice-subtext{font-style:italic;font-size:.9em}#dpsp-select-networks{position:absolute;top:50%;margin-top:-17px;right:10px}#dpsp-sortable-networks-empty{display:none;position:relative;text-align:center;color:#848484}#dpsp-sortable-networks-empty:after{content:"";display:block;width:130px;height:70px;position:absolute;top:-17px;right:80px;background:url(./dpsp-selectable-empty.1.18.2.png) no-repeat 50%;background-size:100%;opacity:0;transition:all .15s ease-in}#dpsp-sortable-networks-empty.dpsp-active{display:block}#dpsp-sortable-networks-empty.dpsp-active:after{opacity:1}.dpsp-social-platforms-sort-list{margin-top:0;margin-bottom:0}.dpsp-social-platforms-sort-list li{position:relative;margin:0;overflow:hidden;background:#fff;border-bottom:1px solid #f1f1f1;padding-top:5px;padding-bottom:5px;box-sizing:border-box}.dpsp-social-platforms-sort-list li.dpsp-last{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.dpsp-social-platforms-sort-list li.ui-sortable-helper{box-shadow:0 3px 12px 3px rgba(0,0,0,.1)}.dpsp-social-platforms-sort-list.empty li{background:none;border:2px dashed #c1c1c1;padding:20px}.dpsp-social-platforms-sort-list li:after{content:"";display:block;clear:both;height:0}.dpsp-social-platforms-sort-list li:last-of-type{margin-bottom:0}.dpsp-social-platforms-sort-list li.dpsp-sort-placeholder{background:#f9f9f9;height:55px;box-shadow:inset 0 3px 12px 3px rgba(0,0,0,.02);border-radius:0}.dpsp-social-platforms-sort-list li .dpsp-sort-handle{float:left;display:block;width:44px;height:44px;cursor:move}.dpsp-social-platforms-sort-list li .dpsp-sort-handle:before{content:"";position:absolute;left:12px;top:23px;width:20px;height:1px;background:#c1c1c1;box-shadow:0 .25em 0 0 #c1c1c1,0 .5em 0 0 #c1c1c1}.dpsp-social-platforms-sort-list li .dpsp-list-icon{float:left;display:block;width:44px;height:44px;line-height:44px;text-align:center;font-size:1.1em}.dpsp-social-platforms-sort-list li .dpsp-list-icon-social{color:#fff}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper{position:relative;float:left;padding:8px}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input{border:0;line-height:28px;width:250px;border-radius:3px;margin:0;outline:0;padding:0 7px;font-weight:700;font-size:1em;color:#444;box-shadow:none;transition:background-color .1s ease-in-out}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:placeholder-shown{font-weight:400;font-style:italic}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input,.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus{background:#f5f5f5}.dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input{cursor:default;background-color:initial!important}.dpsp-social-platforms-sort-list li .dpsp-list-actions{float:right;margin-right:6px}.dpsp-social-platforms-sort-list li .dpsp-list-actions a{position:relative;display:inline-block;color:#747474;text-decoration:none;line-height:28px;vertical-align:middle;margin:8px 2px 8px 0;padding:0 6px 0 3px;border-radius:3px;box-shadow:none;transition:background-color .1s ease-in-out,color .1s ease-in-out}.dpsp-social-platforms-sort-list li .dpsp-list-actions a .dashicons{position:relative;top:-1px;vertical-align:text-top;line-height:18px;height:18px;width:18px;font-size:18px;margin-right:2px}.dpsp-social-platforms-sort-list li .dpsp-list-actions a:hover{background:#f4f4f4;color:#353535}#dpsp-networks-selector-wrapper,.dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-actions .dpsp-list-edit-label{display:none}#dpsp-networks-selector{padding:20px;margin:0}#dpsp-networks-selector li{position:relative;float:left;width:33.3333%;margin-bottom:1em;padding:0 10px;box-sizing:border-box}#dpsp-networks-selector:after{content:"";display:block;clear:both;height:0}#dpsp-networks-selector .dpsp-network-item{position:relative;overflow:hidden;padding-left:35px;box-sizing:border-box;cursor:pointer}#dpsp-networks-selector .dpsp-network-item-checkbox{position:absolute;top:0;left:0;width:26px;height:26px;line-height:26px;font-size:16px;vertical-align:middle;text-align:center;color:#555;background:#fff;border:2px solid #c8d7e1;border-radius:15px;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#dpsp-networks-selector .dpsp-network-item-checkbox:before{position:relative;opacity:0;transition:all .15s ease-in}#dpsp-networks-selector .dpsp-network-item:hover .dpsp-network-item-checkbox:before{opacity:.15}#dpsp-networks-selector .dpsp-network-item[data-checked=true] .dpsp-network-item-checkbox:before,#dpsp-networks-selector .dpsp-network-item[data-checked=true]:hover .dpsp-network-item-checkbox:before{opacity:1}#dpsp-networks-selector .dpsp-network-item-name-wrapper{height:30px;line-height:30px;color:#fff;vertical-align:middle;padding-left:10px;border-radius:3px;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1)}#dpsp-networks-selector .dpsp-network-item-name-wrapper .dpsp-list-icon{display:inline-block;margin-right:12px;margin-left:5px}#dpsp-networks-selector .dpsp-network-item-name-wrapper h4{display:inline-block;margin:0}.dpsp-setting-field-wrapper{position:relative;left:auto;margin-bottom:12px;min-height:39px;transition:opacity .4s ease-in-out}.dpsp-setting-field-wrapper.disabled{position:absolute;left:-9999px;visibility:hidden;opacity:0}.dpsp-setting-field-wrapper.dpsp-last{margin-bottom:0}.dpsp-setting-field-label{position:absolute;top:2px;left:0;display:inline-block;width:235px;vertical-align:top;padding-right:15px;box-sizing:border-box}.dpsp-setting-field-wrapper.dpsp-has-field-label{padding-left:243px}.dpsp-setting-field-wrapper.dpsp-has-field-label .dpsp-setting-field-inner{position:relative;top:-18px;margin-left:243px}.dpsp-setting-field-wrapper input[type=text]{margin:0;box-shadow:none;padding:10px 12px;border-radius:2px;border:1px solid #c8d7e1;width:100%}.dpsp-setting-field-wrapper input[type=text]:disabled{background:#edf2f5}.dpsp-setting-field-wrapper input[type=text]:focus{border-color:#0087be;box-shadow:0 0 1px 0 #78dcfa}.dpsp-setting-field-wrapper button{vertical-align:middle!important}.dpsp-setting-field-button .spinner{float:none;position:absolute;left:auto;right:auto}.dpsp-setting-field-button .action-text{margin-left:2rem;color:#333;display:none}.dpsp-setting-field-button.dpsp-loading .action-text,.dpsp-setting-field-button.dpsp-loading .spinner{visibility:visible}.dpsp-setting-field-wrapper select{min-width:200px}.dpsp-setting-field-select :focus{outline:0!important}.dpsp-setting-field-select .select2-container{width:100%!important}.dpsp-setting-field-select .select2-selection{height:39px;border-radius:2px;border:1px solid #c8d7e1}.dpsp-setting-field-select .select2-selection .select2-selection__rendered{line-height:37px!important;padding-left:10px}.dpsp-setting-field-select .select2-selection .select2-selection__arrow{height:37px;padding-right:10px}.dpsp-select2 .select2-dropdown{border-color:#c8d7e1;border-radius:0}.dpsp-select2 .select2-dropdown li{margin:0;line-height:36px;padding:0 10px}.dpsp-select2 .select2-results__option[aria-selected=true]{background:#e8eaeb}.dpsp-select2 .select2-results__option--highlighted{background:#00aadc!important}.dpsp-select2 .select2-dropdown--below{top:32px;box-shadow:0 4px 3px 2px rgba(0,0,0,.08)}.dpsp-select2 .select2-dropdown--above{box-shadow:0 -4px 3px 2px rgba(0,0,0,.08)}.dpsp-setting-field-select .select2-container--open{box-shadow:0 0 3px 2px rgba(0,0,0,.08)}.dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button{height:32px;border:solid #c8d7e1;border-width:1px 1px 2px;cursor:pointer;box-shadow:none;margin-bottom:0}.dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button span{line-height:19px;background:#fff;font-size:13px;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;padding:5px 11px}.dpsp-setting-field-wrapper .wp-picker-container .wp-picker-input-wrap .button{height:32px;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;cursor:pointer;box-shadow:none}.dpsp-setting-field-wrapper .wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;padding:7px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.dpsp-setting-field-wrapper textarea{min-height:100px;min-width:450px;padding:5px 8px;border-radius:3px}.dpsp-page-wrapper .dpsp-setting-field-wrapper textarea{border:0;box-shadow:none}.postbox .dpsp-setting-field-wrapper textarea{min-height:80px}.dpsp-setting-field-wrapper input[type=checkbox],.dpsp-setting-field-wrapper input[type=radio]{display:none}.dpsp-setting-field-checkbox.dpsp-single .dpsp-setting-field-label{padding-right:20px;width:260px;box-sizing:border-box}.dpsp-setting-field-checkbox.dpsp-multiple .dpsp-settings-field-checkbox,.dpsp-setting-field-radio.dpsp-multiple .dpsp-settings-field-radio{display:inline-block;margin-right:12px;position:relative;padding-left:23px}.dpsp-setting-field-checkbox input[type=checkbox]+label span,.dpsp-setting-field-radio input[type=radio]+label span{content:"";display:block;position:absolute;width:16px;height:16px;background:#fff;border:1px solid #e7e7e7;border-radius:3px;transition:background .1s ease-in-out,border-color .1s ease-in-out;box-sizing:initial!important}.dpsp-setting-field-radio input[type=radio]+label span{border-radius:50%}.dpsp-setting-field-checkbox.dpsp-single input[type=checkbox]+label span{top:0;right:0}.dpsp-setting-field-checkbox.dpsp-multiple input[type=checkbox]+label span,.dpsp-setting-field-radio.dpsp-multiple input[type=radio]+label span{top:0;left:0}.dpsp-setting-field-checkbox input[type=checkbox]+label span:before{display:inline-block;content:"\f147";font:400 20px/1 dashicons;width:16px;height:16px;line-height:16px;vertical-align:middle;margin:-5px 0 0 -3px;color:transparent;transition:color .1s ease-in-out}.dpsp-setting-field-radio input[type=radio]+label span:before{content:"";position:relative;top:5px;left:5px;display:block;width:6px;height:6px;border-radius:50%}.dpsp-setting-field-checkbox input[type=checkbox]:checked+label span{background:#41a4a9;border-color:transparent}.dpsp-setting-field-checkbox input[type=checkbox]:checked+label span:before{color:#fff}.dpsp-setting-field-radio input[type=radio]:checked+label span{background:#41a4a9;border-color:transparent}.dpsp-setting-field-radio input[type=radio]:checked+label span:before{background:#fff}.dpsp-setting-field-wrapper img{max-width:200px;height:auto;border-radius:2px}.dpsp-setting-field-tooltip-wrapper{position:absolute;top:2px;left:217px;display:inline-block;width:18px;height:18px;margin-left:5px}.dpsp-setting-field-tooltip-icon:before{content:"?";display:inline-block;width:14px;height:14px;line-height:14px;font-size:10px;font-weight:700;vertical-align:middle;text-align:center;color:#fff;background:#34495e;border-radius:9px;cursor:pointer;transition:all .15s ease-in}.dpsp-setting-field-tooltip-icon:hover:before{background:#34495e}.dpsp-setting-field-tooltip{z-index:10;opacity:0;visibility:hidden;position:absolute;top:28px;left:-25px;width:220px;background:rgba(52,73,94,.975);color:#fff;border-radius:4px;padding:8px 12px}.dpsp-setting-field-tooltip a{color:#3498db}.dpsp-setting-field-tooltip:before{content:"";display:block;position:absolute;top:-6px;left:27px;width:0;height:0;border-color:transparent transparent rgba(52,73,94,.975);border-style:solid;border-width:0 4.5px 6px}.dpsp-settings-button-style{cursor:pointer;width:12%;margin-right:1.5%;margin-bottom:10px;padding:12px;border-radius:5px;border:1px solid transparent;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.dpsp-setting-field-wrapper .dpsp-switch{float:none;margin-left:0}.dpsp-setting-field-share-text input{width:350px}.dpsp-page-pop-up .dpsp-setting-field-title input{min-width:450px}.dpsp-setting-field-button-text-label,.dpsp-setting-field-desktop-position,.dpsp-setting-field-mobile-position,.dpsp-setting-field-tweet-counts-provider{display:none}.dpsp-setting-field-facebook-app-authorized{background:rgba(0,184,148,.3);padding:9px;border-radius:3px;color:#27ae60}.dpsp-setting-field-facebook-app-authorized-expired{background:rgba(192,57,43,.3);padding:9px;border-radius:3px;color:#c0392b;margin-bottom:10px}.dpsp-setting-field-facebook-app-id,.dpsp-setting-field-facebook-app-secret,.dpsp-setting-field-facebook-authorize-app{display:none}.dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li{margin-bottom:6px}.dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li:last-of-type{margin-bottom:0}.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn{margin:0 auto}.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{border-radius:5px}.dpsp-page-content .dpsp-settings-button-style,.dpsp-page-pop-up .dpsp-settings-button-style{width:32.3333%;margin-right:1%}.dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n),.dpsp-page-pop-up .dpsp-section-button-style label:nth-of-type(4n){margin-right:0}.dpsp-settings-button-style:hover{border-color:#e1e1e1}.dpsp-settings-button-style-input{display:none!important}.dpsp-settings-button-style-input:checked+label{border-color:rgba(52,152,219,.3);background:rgba(52,152,219,.075)}#section-click-to-tweet-preview,.dpsp-subsection-link-shortening{display:none}#section-click-to-tweet-preview>a{margin-top:0;margin-bottom:0}#dpsp-serial-key-status{display:none;position:relative;top:-1px;padding:4px 0;line-height:20px;border-bottom-left-radius:3px;border-bottom-right-radius:3px}#dpsp-serial-key-status span{vertical-align:middle}#dpsp-serial-key-status.dpsp-valid{background:rgba(0,184,148,.3);color:#27ae60}#dpsp-serial-key-status .dashicons{margin-left:5px;margin-right:5px}#dpsp-serial-key-status .dashicons-yes{color:#27ae60}#dpsp-serial-key-status .dashicons-warning{color:#c0392b}#dpsp-bitly-key-status{position:relative;top:-1px;padding:4px 0;line-height:20px;border-bottom-left-radius:3px;border-bottom-right-radius:3px;text-align:right;margin-bottom:12px;margin-top:-6px}#dpsp-bitly-key-status span{vertical-align:middle}#dpsp-bitly-key-status.dpsp-valid{background:rgba(0,184,148,.3);color:#27ae60}#dpsp-serial-key-status.dpsp-invalid{background:rgba(192,57,43,.3);color:#c0392b}#dpsp-bitly-key-status .dashicons{margin-left:5px;margin-right:5px}#dpsp-bitly-key-status .dashicons-yes{color:#27ae60}#dpsp-bitly-key-status .dashicons-warning{color:#c0392b}#dpsp-card-settings-social-shares-recovery .dpsp-card-inner{border-bottom:1px solid rgba(200,215,225,.5)}#dpsp-card-settings-social-shares-recovery .dpsp-card-inner.dpsp-last{border-bottom:0}#dpsp-toolkit-welcome{padding:5px 20px;background:#fff;margin-left:-20px}.dpsp-page-toolkit:not(.dpsp-page-free){max-width:1000px}.dpsp-page-toolkit .dpsp-row{margin-bottom:2.5em}.dpsp-page-toolkit .dpsp-card{margin-top:0;margin-bottom:0}.dpsp-tool-wrapper{background:#fff;border-radius:3px;overflow:hidden}.dpsp-tool-wrapper img{max-width:100%;height:auto}.dpsp-tool-wrapper a{color:#777;text-decoration:none}.dpsp-tool-wrapper a:hover{color:rgba(52,152,219,.75)}.dpsp-tool-wrapper h4{font-size:15px;margin-bottom:0;margin-top:0;padding:10px;text-align:center}.dpsp-tool-wrapper .dpsp-tool-actions{position:relative;padding:15px}.dpsp-tool-wrapper .dpsp-tool-actions:after{content:"";display:block;clear:both}.dpsp-tool-wrapper .dpsp-tool-actions-overlay{z-index:1;position:absolute;top:0;left:0;height:100%;width:100%;background:hsla(0,0%,100%,.6);opacity:0}.dpsp-tool-wrapper .dpsp-tool-actions-overlay .spinner{float:none;visibility:visible;opacity:1;margin:15px 0 0 15px}.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-active span{opacity:0}.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive span{opacity:.4}.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings{line-height:1;vertical-align:middle}.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings:focus{box-shadow:none}.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive .dpsp-tool-settings{display:none}.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings i{margin-right:3px}.dpsp-tool-wrapper .dpsp-switch span{text-transform:uppercase;font-size:.85em;margin-right:5px}.dpsp-tool-wrapper .dpsp-switch label{display:inline-block!important}.dpsp-switch{position:relative;display:inline-block;margin-left:20px;float:right}.dpsp-page-wrapper .cmn-toggle{position:absolute;margin-left:-9999px;visibility:hidden}.dpsp-page-wrapper .cmn-toggle+label{display:block;position:relative;cursor:pointer;outline:none;user-select:none}.dpsp-page-wrapper input.cmn-toggle-round+label{padding:3px;width:36px;height:18px;background-color:#c9d6e0;border-radius:20px;transition:background .4s;box-sizing:initial}.dpsp-page-wrapper input.cmn-toggle-round+label:after,.dpsp-page-wrapper input.cmn-toggle-round+label:before{display:block;position:absolute;top:2px;left:2px;bottom:2px;content:""}.dpsp-page-wrapper input.cmn-toggle-round+label:before{right:2px;border-radius:18px;transition:background .4s}.dpsp-page-wrapper input.cmn-toggle-round+label:after{width:20px;background-color:#fff;border-radius:100%;box-shadow:0 2px 5px rgba(0,0,0,.1);transition:margin .4s}.dpsp-page-wrapper input.cmn-toggle-round:checked+label{background-color:#41a4a9}.dpsp-page-wrapper input.cmn-toggle-round:checked+label:after{margin-left:18px}.dpsp-switch.small input.cmn-toggle-round+label{width:30px;height:15px}.dpsp-switch.small input.cmn-toggle-round+label:after{width:17px}.dpsp-switch.small input.cmn-toggle-round:checked+label:after{margin-left:15px}.dpsp-statistic-bars-wrapper{padding-top:10px}.dpsp-statistic-bars-wrapper:after{content:"";display:block;width:0;clear:both}.dpsp-statistic-bar-header{opacity:.6;margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #f1f1f1}.dpsp-statistic-bar-wrapper.dpsp-statistic-bar-header:hover{background:none}.dpsp-statistic-bar-wrapper{position:relative;height:30px;padding-left:110px;padding-right:110px;transition:opacity .2s ease-in-out}.dpsp-statistic-bar-wrapper:hover{background:#f7f7f7}.dpsp-statistic-bar-wrapper label{position:absolute;left:10px;top:0;height:30px;width:109px;line-height:30px;font-weight:700;font-size:12px}.dpsp-statistic-bar-wrapper .dpsp-network-share-count{position:absolute;top:0;right:0;height:30px;width:110px;line-height:30px;font-weight:700;font-size:12px}.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-count{display:inline-block;width:55px;text-align:center}.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-percentage{display:inline-block;width:40px;text-align:center}.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-divider{width:1px;margin:0 2px;opacity:.5}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar{position:relative;top:10px;height:10px;width:100%;background:#e7e7e7;border-radius:5px}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-inner{height:10px;width:0;border-radius:5px}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-facebook .dpsp-statistic-bar-inner{background:#3a579a}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-twitter .dpsp-statistic-bar-inner{background:#00abf0}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-google-plus .dpsp-statistic-bar-inner{background:#df4a32}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-pinterest .dpsp-statistic-bar-inner{background:#c92228}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-linkedin .dpsp-statistic-bar-inner{background:#0077b5}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-reddit .dpsp-statistic-bar-inner{background:#ff5700}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-vkontakte .dpsp-statistic-bar-inner{background:#4d75a3}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-buffer .dpsp-statistic-bar-inner{background:#29323b}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-tumblr .dpsp-statistic-bar-inner{background:#35465c}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-yummly .dpsp-statistic-bar-inner{background:#e55a27}.dpsp-statistic-bar-footer{opacity:.6;margin:10px 0;border-top:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1}.dpsp-statistic-bar-wrapper.dpsp-statistic-bar-footer:hover{background:none}#dpsp-refresh-share-counts-wrapper:after{content:"";display:block;width:0;clear:both}#dpsp-refresh-share-counts{float:right}#dpsp_share_options span[class*=dpsp-icon-]{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;margin-right:10px;color:#fff;border-radius:2px}#dpsp_share_options .dpsp-icon-share{background:#34495e}#dpsp_share_options .dpsp-icon-twitter{background:#00abf0}#dpsp_share_options .dpsp-icon-pinterest{background:#c92228}#dpsp_share_options_content .dpsp-section{position:relative;padding-left:220px;margin:15px 0 25px}#dpsp_share_options_content label{display:block;margin-bottom:10px;font-weight:700}#dpsp_share_options_content textarea{width:100%;min-height:70px}#dpsp_share_options_content .dpsp-setting-field-image{position:absolute;top:0;left:0;max-width:200px;width:100%}#dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-primary,#dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-secondary{width:100%;text-align:center}#dpsp_share_options .dpsp-setting-field-tooltip-wrapper{position:relative;top:-2px;left:auto}.dpsp-textarea-characters-remaining-wrapper{float:right;background:#f1f1f1;font-size:12px;padding:0 10px;height:24px;line-height:24px;border-radius:2px}.dpsp-textarea-characters-remaining-wrapper.dpsp-excedeed{background:rgba(192,57,43,.75);color:#fff}#dpsp-meta-box-section-multiple-pinterest-images{padding-left:0!important}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper{float:left;position:relative;margin-right:5px;margin-bottom:5px;max-width:125px;line-height:0}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper img{max-width:100%;max-height:auto;height:auto}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary{position:absolute;top:5px;right:5px;padding:1px 2px;opacity:0;visibility:hidden;transition:all .1s ease-in}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper:hover .dpsp-button-secondary{opacity:1;visibility:visible}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new{float:left;width:125px;height:125px;border-radius:2px;text-align:center;box-sizing:border-box}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons{display:inline-block;padding:5px;border-radius:50px;background:#ebf0f4;margin-top:28px;margin-bottom:5px;box-sizing:initial}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons:before{position:relative;top:1px}#dpsp-meta-box-section-multiple-pinterest-images:after{content:"";display:block;clear:both}.mce-i-dpsp-icon-twitter{position:relative;top:-2px}.mce-i-dpsp-icon-twitter:before{content:"\e801";font-family:Social Pug,sans-serif;font-style:normal;font-weight:400;font-size:20px;color:#00abf0}#dpsp_click_to_tweet_dialog #dpsp_tweet_length{position:absolute;top:105px;right:0;padding-right:25px;color:#a1a1a1}#dpsp_click_to_tweet_dialog #dpsp_tweet_length em,#dpsp_click_to_tweet_dialog #dpsp_tweet_length span{font-weight:700;font-size:12px}#dpsp_click_to_tweet_dialog #dpsp_tweet_length span{position:absolute;top:0;right:0}#dpsp_click_to_tweet_dialog #dpsp_tweet_hide_url-al,#dpsp_click_to_tweet_dialog #dpsp_tweet_hide_via-al{position:relative;top:-3px}table.wp-list-table .column-dpsp_shares{width:5.5em}#screen-options-wrap .dpsp-list-table-shares i,table.wp-list-table .dpsp-list-table-shares span{display:none}.dpsp-list-table-post-share-count{display:inline-block;margin-top:5px;padding:0 8px;background:#b6b6b6;color:#fff;border-radius:5px;line-height:24px;vertical-align:middle;text-align:center}body.post-type-attachment.post-php table.compat-attachment-fields{width:100%;border-spacing:0}body.post-type-attachment.post-php table .compat-field-pin_description td,body.post-type-attachment.post-php table .compat-field-pin_description th,body.post-type-attachment.post-php table .compat-field-pin_nopin td,body.post-type-attachment.post-php table .compat-field-pin_nopin th,body.post-type-attachment.post-php table .compat-field-pin_repin_id td,body.post-type-attachment.post-php table .compat-field-pin_repin_id th,body.post-type-attachment.post-php table .compat-field-pin_title td,body.post-type-attachment.post-php table .compat-field-pin_title th{display:block;width:100%}body.post-type-attachment.post-php table .compat-field-pin_description textarea{width:100%;min-height:75px}body.post-type-attachment.post-php table .compat-field-pin_repin_id input,body.post-type-attachment.post-php table .compat-field-pin_title input{width:100%}@media screen and (max-width:785px){.dpsp-page-title-wrapper h2{position:relative;padding-right:50px}.dpsp-page-title-wrapper h2 .dpsp-switch{position:absolute;top:15px;right:0}.dpsp-social-platforms-sort-list{overflow:auto}}@media screen and (max-width:720px){.dpsp-col-1-4{width:50%}#dpsp-networks-selector li{width:100%;padding:0}#dpsp-networks-selector-footer{text-align:center}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper{width:auto}.dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input,.dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input{width:150px;padding-right:10px}.dpsp-settings-button-style{width:auto}.dpsp-page-content .dpsp-settings-button-style{width:49.5%}.dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n){margin-right:1%}.dpsp-page-content .dpsp-section-button-style label:nth-of-type(2n){margin-right:0}.dpsp-setting-field-label{width:100%;margin-bottom:10px}.dpsp-setting-field-wrapper{margin-bottom:30px}}#dpsp-shares-recovery-post-previous-urls h4{border-bottom:1px solid #f1f1f1;padding:10px 0;margin:10px 0}#dpsp-shares-recovery-post-previous-urls h4 .dpsp-setting-field-tooltip-wrapper{position:relative;left:auto}#dpsp-shares-recovery-post-previous-urls-empty{background:#f1f1f1;padding:10px 15px}#dpsp-shares-recovery-post-previous-urls-empty>:first-child{margin-top:0}#dpsp-shares-recovery-post-previous-urls-empty>:last-child{margin-bottom:0}.dpsp-post-previous-url{display:flex;margin-top:5px}.dpsp-post-previous-url.dpsp-hidden{display:none}.dpsp-post-previous-url input{flex:1;margin-right:5px}.dpsp-post-previous-url a{padding:3px 10px}#dpsp-add-post-previous-url{margin-top:10px}
 
assets/dist/style-dashboard-pro.1.19.0.css ADDED
@@ -0,0 +1 @@
 
1
+ @charset "UTF-8";@import url("https://fonts.googleapis.com/css?family=Raleway:400,700,800");.dpsp-settings-sidebar{float:left;-moz-box-sizing:border-box;box-sizing:border-box;width:365px;margin-top:63px;padding-left:20px}.dpsp-settings-sidebar p{color:#767676}@media screen and (max-width:1225px){.dpsp-settings-sidebar{padding-left:0;border-left:0}}#dpsp-settings-sidebar-social-pug-pro img{box-sizing:border-box;max-width:100%;height:auto;padding:0 20px}#dpsp-settings-sidebar-social-pug-pro h3{font-weight:700;line-height:1.7em;text-align:center}#dpsp-settings-sidebar-social-pug-pro p{position:relative;margin-bottom:20px;padding-left:45px;color:#454545}#dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons{display:inline-block;position:absolute;top:-5px;left:0;width:30px;height:30px}#dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons:after{display:block;position:absolute;top:-1px;left:2px;width:30px;height:30px;border-radius:20px;background:#41a4a9;content:"";z-index:1}#dpsp-settings-sidebar-social-pug-pro p .dashicons{position:absolute;top:0;left:0;width:30px;height:30px;color:#fff;font-size:24px;line-height:30px;z-index:2}#dpsp-settings-sidebar-social-pug-pro .dpsp-button-primary{box-sizing:border-box;width:100%;padding:10px 0;text-align:center}.dpsp-page-wrapper.dpsp-page-extensions{max-width:1000px}.dpsp-page-extensions .dpsp-card{margin-top:0;margin-bottom:0}.dpsp-unavailable>a{display:block;line-height:0}.dpsp-unavailable h4{padding-bottom:0;border-top:1px solid #f1f1f1;border-bottom:0;text-align:left}.dpsp-unavailable p.dpsp-description{margin:0;padding:10px}.dpsp-unavailable .dpsp-tool-actions{overflow:hidden;padding:15px 10px;border-top:1px solid #f1f1f1;background:#f9f9f9;text-align:center}.dpsp-unavailable .dpsp-tool-actions .button{padding-right:25px;padding-left:25px}.dpsp-unavailable .dpsp-description{height:57px}@font-face{font-family:Social Pug;src:url(./socialpug.1.19.0.eot?gd6mr8);src:url(./socialpug.1.19.0.eot?#iefix) format("embedded-opentype"),url(./socialpug.1.19.0.woff) format("woff"),url(./socialpug.1.19.0.ttf) format("truetype"),url(./socialpug.1.19.0.svg#socialpug) format("svg");font-weight:400;font-style:normal}[class*=" dpsp-icon-"]:before,[class^=dpsp-icon-]:before{display:inline-block;font-family:Social Pug,sans-serif;font-weight:400;font-style:normal;font-variant:normal;line-height:1em;text-align:center;text-decoration:inherit;text-transform:none}.dpsp-transition{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}[class*=dpsp-col-]{float:left;-moz-box-sizing:border-box;box-sizing:border-box;padding:5px}.dpsp-row{margin:0 -5px}.dpsp-row.dpsp-m-padding{margin:0 -8px}.dpsp-row.dpsp-m-padding [class*=dpsp-col-]{padding:8px}.dpsp-row.dpsp-big-padding{margin:0 -15px}.dpsp-row.dpsp-big-padding [class*=dpsp-col-]{padding:15px}.dpsp-col-1-1{width:100%}.dpsp-col-1-2{width:50%}.dpsp-col-1-3{width:33.3333%}.dpsp-col-2-3{width:66.6666%}.dpsp-col-1-4{width:25%}.dpsp-col-3-4{width:75%}.dpsp-col-1-5{width:20%}.dpsp-col-2-5{width:40%}.dpsp-col-3-5{width:60%}.dpsp-col-4-5{width:80%}.dpsp-col-3-8{width:37.5%}.dpsp-row:after{display:block;clear:both;content:""}.dpsp-page-wrapper{position:relative;float:left;width:100%;max-width:675px}h1.dpsp-page-title{padding-right:0;padding-bottom:15px}.dpsp-section{margin-bottom:50px}.dpsp-section:after{display:block;clear:both;content:""}.dpsp-section-title{margin:2.75em 0 1.3em;padding-bottom:15px;border-bottom:1px solid #e5e5e5}.dpsp-background-color-network-facebook{background:#3a579a}.dpsp-background-color-network-twitter{background:#00abf0}.dpsp-background-color-network-pinterest{background:#c92228}.dpsp-background-color-network-linkedin{background:#0077b5}.dpsp-background-color-network-reddit{background:#ff5700}.dpsp-background-color-network-vkontakte{background:#4d75a3}.dpsp-background-color-network-whatsapp{background:#25d366}.dpsp-background-color-network-instagram{background:#bc2a8d}.dpsp-background-color-network-youtube{background:#b00}.dpsp-background-color-network-vimeo{background:#4bf}.dpsp-background-color-network-soundcloud{background:#f50}.dpsp-background-color-network-twitch{background:#6441a5}.dpsp-background-color-network-yummly{background:#e55a27}.dpsp-background-color-network-behance{background:#005cff}.dpsp-background-color-network-email{background:#27ae60}.dpsp-background-color-network-print{background:#bdc3c7}.dpsp-background-color-network-pocket{background:#ed4055}.dpsp-background-color-network-buffer{background:#29323b}.dpsp-background-color-network-tumblr{background:#35465c}.dpsp-background-color-network-xing{background:#00888d}.dpsp-background-color-network-github{background:#333}.dpsp-background-color-network-flipboard{background:#e12828}.dpsp-background-color-network-telegram{background:#08c}.dpsp-background-color-network-medium{background:#333}.dpsp-background-color-network-mix{background:#fd8235}.dpsp-background-color-network-grow{background:#41a4a9}body.dpsp-pagestyles{background:#f3f6f8}.dpsp-page-header{margin-left:-20px;color:#fff;background:#41a4a9;line-height:60px}.dpsp-page-header .dpsp-logo{padding:0 10px 0 20px}.dpsp-page-header .dpsp-logo-inner{font-family:Raleway,sans-serif;font-size:22px;font-weight:700}.dpsp-page-header .dpsp-logo-inner span{font-weight:300}.mv-grow-logo{display:inline-block;max-width:50px;padding-top:.25rem;padding-right:.5rem;vertical-align:top}.dpsp-page-header:after{display:block;clear:both;content:""}.dpsp-page-header nav{display:inline-block;margin-left:25px;line-height:62px}.dpsp-page-header nav a{display:inline-block;margin:0 5px;padding:8px 12px;border-radius:3px;color:#fff;background:hsla(0,0%,100%,.2);box-shadow:0 0 2px 2px rgba(52,152,219,.15);font-size:.9em;font-weight:700;line-height:1;text-decoration:none}.dpsp-page-header nav a .dashicons{width:auto;height:auto;margin-top:-2px;margin-right:5px;font-size:14px}.dpsp-page-header nav a:hover{background:hsla(0,0%,100%,.3)}.dpsp-card{box-sizing:border-box;max-width:675px;margin-top:1.5em;margin-bottom:2em;border-radius:3px;background:#fff;box-shadow:0 3px 10px -2px rgba(94,135,161,.3)}.dpsp-card-header{position:relative;padding:20px;border-bottom:1px solid rgba(200,215,225,.5);font-size:14px;font-weight:700}.dpsp-card-inner{padding:20px}.dpsp-card-inner:after{display:block;clear:both;content:""}.dpsp-card-footer{position:relative;padding:20px;border-top:1px solid rgba(200,215,225,.5);background:rgba(200,215,225,.15)}.dpsp-card-footer-actions{text-align:right}.dpsp-card-footer-actions:after{display:block;clear:both;content:""}.dpsp-card-footer-actions a{float:left;outline:0;color:#777;box-shadow:none;line-height:34px}.dpsp-card-footer-actions a:hover{color:#444}.dpsp-nav-tab-wrapper{margin:0}.dpsp-nav-tab-wrapper:after{display:block;clear:both;content:""}.dpsp-nav-tab{float:left;margin:0;border-bottom:2px solid transparent}.dpsp-nav-tab.dpsp-active{border-bottom-color:#2e4453}.dpsp-nav-tab.dpsp-active a{color:#2e4453}.dpsp-nav-tab a{display:block;box-sizing:border-box;width:auto;padding:16px 16px 14px;box-shadow:none;text-decoration:none}.dpsp-tab{display:none;margin-top:25px}.dpsp-tab.dpsp-active{display:block}.dpsp-button-primary{display:inline-block;overflow:hidden;box-sizing:border-box;margin:0;padding:.5em 2em;border:none;border-radius:3em;outline:0;color:#fff!important;background:#41a4a9;box-shadow:none!important;font-size:13px;font-weight:500;line-height:21px;vertical-align:middle;text-decoration:none;text-overflow:ellipsis;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dpsp-button-primary:hover{color:#fff;background-color:#243c4a}.dpsp-button-primary:focus{color:#fff}.dpsp-button-primary.dpsp-active,.dpsp-button-primary:active{border-width:2px 1px 1px}.dpsp-button-primary.dpsp-hidden{display:none}.dpsp-button-secondary{display:inline-block;overflow:hidden;box-sizing:border-box;margin:0;padding:5px 11px;border:solid #c8d7e1;border-width:1px 1px 2px;border-radius:4px;outline:0;color:#2e4453;background:#fff;box-shadow:none!important;font-size:13px;font-weight:500;line-height:21px;vertical-align:middle;text-decoration:none;text-overflow:ellipsis;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dpsp-button-secondary:hover{border-color:#a8bece;color:#2e4453}.dpsp-button-secondary:focus{color:#2e4453}.dpsp-button-secondary.dpsp-active,.dpsp-button-secondary:active{border-width:2px 1px 1px}.dpsp-button-secondary.dpsp-hidden{display:none}.dpsp-button-secondary.disabled,.dpsp-button-secondary[disabled]{border-color:#e9eff3;color:#e9eff3;background:#fff;cursor:default}.dpsp-widget-section-title{display:block;margin-top:20px;margin-bottom:5px;font-weight:700}.dpsp-widget-label{display:inline-block;width:200px}.widget-content .dpsp-settings-field-checkbox{margin-right:12px}.dpsp-setting-field-button-alignment{display:none}.wrap div.dpsp-admin-notice{position:relative;margin-top:16px}.wrap div.dpsp-admin-notice h4{font-size:16px}.wrap div.dpsp-admin-notice p{font-size:14px}.wrap div.dpsp-admin-notice.dpsp-serial-missing{border-color:rgba(52,152,219,.75)}.wrap div.dpsp-admin-notice.dpsp-serial-missing .dpsp-get-license{margin-left:10px}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts{border-color:rgba(52,152,219,.75)}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts h4{font-size:1.05em}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts a{text-decoration:none}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link{display:inline-block;margin-right:10px;margin-bottom:18px;padding:6px 8px;border-radius:2px;color:#3498db;background:#e9e9e9;font-weight:500}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link span{display:inline-block;margin-right:10px;text-decoration:none}.wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link:hover{color:#fff;background:rgba(52,152,219,.75)}.wrap div.dpsp-admin-notice-icon-animation .button-primary{display:inline-block;margin-bottom:1.33em}.wrap div.dpsp-admin-notice-icon-animation h4{margin-bottom:0}.wrap div.dpsp-admin-notice-icon-animation p{margin-bottom:.75em}.wrap div.dpsp-admin-notice.dpsp-admin-grow-notice{display:flex;flex-flow:row}@media screen and (max-width:500px){.wrap div.dpsp-admin-notice.dpsp-admin-grow-notice{flex-flow:column}}.wrap div.dpsp-admin-notice .notice-img-wrap{padding:1em;flex:0 0 150px}.wrap div.dpsp-admin-notice .notice-img-wrap img{float:left}.wrap div.dpsp-admin-notice .notice-text-wrap{flex:1 1 auto}.wrap div.dpsp-admin-notice .notice-subtext{font-size:.9em;font-style:italic}#dpsp-select-networks{position:absolute;top:50%;right:10px;margin-top:-17px}#dpsp-sortable-networks-empty{display:none;position:relative;color:#848484;text-align:center}#dpsp-sortable-networks-empty:after{display:block;position:absolute;top:-17px;right:80px;width:130px;height:70px;opacity:0;background:url(./dpsp-selectable-empty.1.19.0.png) no-repeat 50%;background-size:100%;content:"";transition:all .15s ease-in}#dpsp-sortable-networks-empty.dpsp-active{display:block}#dpsp-sortable-networks-empty.dpsp-active:after{opacity:1}.dpsp-social-platforms-sort-list{margin-top:0;margin-bottom:0}.dpsp-social-platforms-sort-list li{position:relative;overflow:hidden;box-sizing:border-box;margin:0;padding-top:5px;padding-bottom:5px;border-bottom:1px solid #f1f1f1;background:#fff}.dpsp-social-platforms-sort-list li.dpsp-last{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.dpsp-social-platforms-sort-list li.ui-sortable-helper{box-shadow:0 3px 12px 3px rgba(0,0,0,.1)}.dpsp-social-platforms-sort-list.empty li{padding:20px;border:2px dashed #c1c1c1;background:none}.dpsp-social-platforms-sort-list li:after{display:block;clear:both;height:0;content:""}.dpsp-social-platforms-sort-list li:last-of-type{margin-bottom:0}.dpsp-social-platforms-sort-list li.dpsp-sort-placeholder{height:55px;border-radius:0;background:#f9f9f9;box-shadow:inset 0 3px 12px 3px rgba(0,0,0,.02)}.dpsp-social-platforms-sort-list li .dpsp-sort-handle{display:block;float:left;width:44px;height:44px;cursor:move}.dpsp-social-platforms-sort-list li .dpsp-sort-handle:before{position:absolute;top:23px;left:12px;width:20px;height:1px;background:#c1c1c1;box-shadow:0 .25em 0 0 #c1c1c1,0 .5em 0 0 #c1c1c1;content:""}.dpsp-social-platforms-sort-list li .dpsp-list-icon{display:flex;float:left;width:44px;height:44px;font-size:1.1em;line-height:44px;text-align:center;align-items:center;justify-content:center}.dpsp-social-platforms-sort-list li .dpsp-list-icon-social svg{width:auto;height:20px;fill:#fff}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper{position:relative;float:left;padding:8px}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input{width:250px;margin:0;padding:0 7px;border:0;border-radius:3px;outline:0;color:#444;box-shadow:none;font-size:1em;font-weight:700;line-height:28px;transition:background-color .1s ease-in-out}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:placeholder-shown{font-weight:400;font-style:italic}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input,.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus{background:#f5f5f5}.dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input{background-color:initial!important;cursor:default}.dpsp-social-platforms-sort-list li .dpsp-list-actions{float:right;margin-right:6px}.dpsp-social-platforms-sort-list li .dpsp-list-actions a{display:inline-block;position:relative;margin:8px 2px 8px 0;padding:0 6px 0 3px;border-radius:3px;color:#747474;box-shadow:none;line-height:28px;vertical-align:middle;text-decoration:none;transition:background-color .1s ease-in-out,color .1s ease-in-out}.dpsp-social-platforms-sort-list li .dpsp-list-actions a .dashicons{position:relative;top:-1px;width:18px;height:18px;margin-right:2px;font-size:18px;line-height:18px;vertical-align:text-top}.dpsp-social-platforms-sort-list li .dpsp-list-actions a:hover{color:#353535;background:#f4f4f4}#dpsp-networks-selector-wrapper,.dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-actions .dpsp-list-edit-label{display:none}#dpsp-networks-selector{margin:0;padding:20px}#dpsp-networks-selector li{position:relative;float:left;box-sizing:border-box;width:33.3333%;margin-bottom:1em;padding:0 10px}#dpsp-networks-selector:after{display:block;clear:both;height:0;content:""}#dpsp-networks-selector .dpsp-network-item{position:relative;box-sizing:border-box;padding-left:35px;cursor:pointer}#dpsp-networks-selector .dpsp-network-item-checkbox{position:absolute;top:0;left:0;width:26px;height:26px;border:2px solid #c8d7e1;border-radius:15px;color:#555;background:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);font-size:16px;line-height:26px;text-align:center;vertical-align:middle}#dpsp-networks-selector .dpsp-network-item-checkbox svg{position:relative;max-width:1rem;opacity:0;transition:all .15s ease-in;fill:currentColor}#dpsp-networks-selector .dpsp-network-item:hover .dpsp-network-item-checkbox svg{opacity:.15}#dpsp-networks-selector .dpsp-network-item[data-checked=true] .dpsp-network-item-checkbox svg,#dpsp-networks-selector .dpsp-network-item[data-checked=true]:hover .dpsp-network-item-checkbox svg{opacity:1}#dpsp-networks-selector .dpsp-network-item-name-wrapper{height:30px;padding-left:10px;border-radius:3px;color:#fff;-webkit-box-shadow:0 1px 1px -1px rgba(0,0,0,.1);box-shadow:0 1px 1px -1px rgba(0,0,0,.1);line-height:30px;vertical-align:middle}#dpsp-networks-selector .dpsp-network-item-name-wrapper .dpsp-list-icon{display:inline-block;margin-right:12px;margin-left:5px}#dpsp-networks-selector .dpsp-network-item-name-wrapper .dpsp-list-icon svg{position:relative;width:auto;max-height:14px;vertical-align:text-top;fill:#fff}#dpsp-networks-selector .dpsp-network-item-name-wrapper h4{display:inline-block;margin:0}.dpsp-setting-field-wrapper{position:relative;left:auto;min-height:39px;margin-bottom:12px;transition:opacity .4s ease-in-out}.dpsp-setting-field-wrapper.disabled{position:absolute;left:-9999px;visibility:hidden;opacity:0}.dpsp-setting-field-wrapper.dpsp-last{margin-bottom:0}.dpsp-setting-field-label{display:inline-block;position:absolute;top:2px;left:0;box-sizing:border-box;width:235px;padding-right:15px;vertical-align:top}.dpsp-setting-field-wrapper.dpsp-has-field-label{padding-left:243px}.dpsp-setting-field-wrapper.dpsp-has-field-label .dpsp-setting-field-inner{position:relative;top:-18px;margin-left:243px}.dpsp-setting-field-wrapper input[type=text]{width:100%;margin:0;padding:10px 12px;border:1px solid #c8d7e1;border-radius:2px;box-shadow:none}.dpsp-setting-field-wrapper input[type=text]:disabled{background:#edf2f5}.dpsp-setting-field-wrapper input[type=text]:focus{border-color:#0087be;box-shadow:0 0 1px 0 #78dcfa}.dpsp-setting-field-wrapper button{vertical-align:middle!important}.dpsp-setting-field-button .spinner{position:absolute;right:auto;left:auto;float:none}.dpsp-setting-field-button .action-text{display:none;margin-left:2rem;color:#333}.dpsp-setting-field-button.dpsp-loading .action-text,.dpsp-setting-field-button.dpsp-loading .spinner{visibility:visible}.dpsp-setting-field-wrapper select{min-width:200px}.dpsp-setting-field-select :focus{outline:0!important}.dpsp-setting-field-select .select2-container{width:100%!important}.dpsp-setting-field-select .select2-selection{height:39px;border:1px solid #c8d7e1;border-radius:2px}.dpsp-setting-field-select .select2-selection .select2-selection__rendered{padding-left:10px;line-height:37px!important}.dpsp-setting-field-select .select2-selection .select2-selection__arrow{height:37px;padding-right:10px}.dpsp-select2 .select2-dropdown{border-color:#c8d7e1;border-radius:0}.dpsp-select2 .select2-dropdown li{margin:0;padding:0 10px;line-height:36px}.dpsp-select2 .select2-results__option[aria-selected=true]{background:#e8eaeb}.dpsp-select2 .select2-results__option--highlighted{background:#00aadc!important}.dpsp-select2 .select2-dropdown--below{top:32px;box-shadow:0 4px 3px 2px rgba(0,0,0,.08)}.dpsp-select2 .select2-dropdown--above{box-shadow:0 -4px 3px 2px rgba(0,0,0,.08)}.dpsp-setting-field-select .select2-container--open{box-shadow:0 0 3px 2px rgba(0,0,0,.08)}.dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button{height:32px;margin-bottom:0;border:solid #c8d7e1;border-width:1px 1px 2px;box-shadow:none;cursor:pointer}.dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button span{box-sizing:border-box;padding:5px 11px;background:#fff;font-size:13px;font-weight:500;line-height:19px;vertical-align:top;text-decoration:none;text-overflow:ellipsis}.dpsp-setting-field-wrapper .wp-picker-container .wp-picker-input-wrap .button{height:32px;border:solid #c8d7e1;border-width:1px 1px 2px;background:#fff;box-shadow:none;cursor:pointer}.dpsp-setting-field-wrapper .wp-picker-container input[type=text].wp-color-picker{width:65px;margin:0;padding:7px;font-family:monospace;font-size:12px;line-height:16px;vertical-align:top}.dpsp-setting-field-wrapper textarea{min-width:450px;min-height:100px;padding:5px 8px;border-radius:3px}.dpsp-page-wrapper .dpsp-setting-field-wrapper textarea{border:0;box-shadow:none}.postbox .dpsp-setting-field-wrapper textarea{min-height:80px}.dpsp-setting-field-wrapper input[type=checkbox],.dpsp-setting-field-wrapper input[type=radio]{display:none}.dpsp-setting-field-checkbox.dpsp-single .dpsp-setting-field-label{box-sizing:border-box;width:260px;padding-right:20px}.dpsp-setting-field-checkbox.dpsp-multiple .dpsp-settings-field-checkbox,.dpsp-setting-field-radio.dpsp-multiple .dpsp-settings-field-radio{display:inline-block;position:relative;margin-right:12px;padding-left:23px}.dpsp-setting-field-checkbox input[type=checkbox]+label span,.dpsp-setting-field-radio input[type=radio]+label span{display:block;position:absolute;box-sizing:initial!important;width:16px;height:16px;border:1px solid #e7e7e7;border-radius:3px;background:#fff;content:"";transition:background .1s ease-in-out,border-color .1s ease-in-out}.dpsp-setting-field-radio input[type=radio]+label span{border-radius:50%}.dpsp-setting-field-checkbox.dpsp-single input[type=checkbox]+label span{top:0;right:0}.dpsp-setting-field-checkbox.dpsp-multiple input[type=checkbox]+label span,.dpsp-setting-field-radio.dpsp-multiple input[type=radio]+label span{top:0;left:0}.dpsp-setting-field-checkbox input[type=checkbox]+label span:before{display:inline-block;width:16px;height:16px;margin:-5px 0 0 -3px;color:transparent;font:400 20px/1 dashicons;line-height:16px;vertical-align:middle;content:"";transition:color .1s ease-in-out}.dpsp-setting-field-radio input[type=radio]+label span:before{display:block;position:relative;top:5px;left:5px;width:6px;height:6px;border-radius:50%;content:""}.dpsp-setting-field-checkbox input[type=checkbox]:checked+label span{border-color:transparent;background:#41a4a9}.dpsp-setting-field-checkbox input[type=checkbox]:checked+label span:before{color:#fff}.dpsp-setting-field-radio input[type=radio]:checked+label span{border-color:transparent;background:#41a4a9}.dpsp-setting-field-radio input[type=radio]:checked+label span:before{background:#fff}.dpsp-setting-field-wrapper img{max-width:200px;height:auto;border-radius:2px}.dpsp-setting-field-tooltip-wrapper{display:inline-block;position:absolute;top:2px;left:217px;width:18px;height:18px;margin-left:5px}.dpsp-network-item .dpsp-setting-field-tooltip-wrapper{top:5px;right:0;left:auto}.dpsp-network-item .dpsp-setting-field-tooltip-wrapper a{color:#fff}.dpsp-network-item .dpsp-setting-field-tooltip-wrapper a:hover{opacity:.9;text-decoration:none}.dpsp-setting-field-tooltip-icon:before{display:inline-block;width:14px;height:14px;border-radius:9px;color:#fff;background:#34495e;font-size:10px;font-weight:700;line-height:14px;text-align:center;vertical-align:middle;content:"?";cursor:pointer;transition:all .15s ease-in}.dpsp-setting-field-tooltip-icon:hover:before{background:#34495e}.dpsp-setting-field-tooltip{position:absolute;top:28px;left:-25px;visibility:hidden;width:220px;padding:8px 12px;border-radius:4px;opacity:0;color:#fff;background:rgba(52,73,94,.975);z-index:10}.dpsp-setting-field-tooltip a{color:#3498db}.dpsp-setting-field-tooltip:before{display:block;position:absolute;top:-6px;left:27px;width:0;height:0;border-color:transparent transparent rgba(52,73,94,.975);border-style:solid;border-width:0 4.5px 6px;content:""}.dpsp-settings-button-style{float:left;-moz-box-sizing:border-box;box-sizing:border-box;width:12%;margin-right:1.5%;margin-bottom:10px;padding:12px;border:1px solid transparent;border-radius:5px;cursor:pointer}.dpsp-setting-field-wrapper .dpsp-switch{float:none;margin-left:0}.dpsp-setting-field-share-text input{width:350px}.dpsp-page-pop-up .dpsp-setting-field-title input{min-width:450px}.dpsp-setting-field-button-text-label,.dpsp-setting-field-desktop-position,.dpsp-setting-field-mobile-position,.dpsp-setting-field-tweet-counts-provider{display:none}.dpsp-setting-field-facebook-app-authorized{padding:9px;border-radius:3px;color:#27ae60;background:rgba(0,184,148,.3)}.dpsp-setting-field-facebook-app-authorized-expired{margin-bottom:10px;padding:9px;border-radius:3px;color:#c0392b;background:rgba(192,57,43,.3)}.dpsp-setting-field-facebook-app-id,.dpsp-setting-field-facebook-app-secret,.dpsp-setting-field-facebook-authorize-app{display:none}.dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li{margin-bottom:6px}.dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li:last-of-type{margin-bottom:0}.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn{margin:0 auto}.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{border-radius:5px}.dpsp-page-sidebar .dpsp-settings-button-style :not(.dpsp-button-style-8) .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{left:0}.dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon svg{top:1px}.dpsp-page-content .dpsp-settings-button-style,.dpsp-page-pop-up .dpsp-settings-button-style{width:32.3333%;margin-right:1%}.dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n),.dpsp-page-pop-up .dpsp-section-button-style label:nth-of-type(4n){margin-right:0}.dpsp-settings-button-style:hover{border-color:#e1e1e1}.dpsp-settings-button-style-input{display:none!important}.dpsp-settings-button-style-input:checked+label{border-color:rgba(52,152,219,.3);background:rgba(52,152,219,.075)}#section-click-to-tweet-preview,.dpsp-subsection-link-shortening{display:none}#section-click-to-tweet-preview>a{margin-top:0;margin-bottom:0}#dpsp-serial-key-status{display:none;position:relative;top:-1px;padding:4px 0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;line-height:20px}#dpsp-serial-key-status span{vertical-align:middle}#dpsp-serial-key-status.dpsp-valid{color:#27ae60;background:rgba(0,184,148,.3)}#dpsp-serial-key-status .dashicons{margin-right:5px;margin-left:5px}#dpsp-serial-key-status .dashicons-yes{color:#27ae60}#dpsp-serial-key-status .dashicons-warning{color:#c0392b}#dpsp-bitly-key-status{position:relative;top:-1px;margin-top:-6px;margin-bottom:12px;padding:4px 0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;line-height:20px;text-align:right}#dpsp-bitly-key-status span{vertical-align:middle}#dpsp-bitly-key-status.dpsp-valid{color:#27ae60;background:rgba(0,184,148,.3)}#dpsp-serial-key-status.dpsp-invalid{color:#c0392b;background:rgba(192,57,43,.3)}#dpsp-bitly-key-status .dashicons{margin-right:5px;margin-left:5px}#dpsp-bitly-key-status .dashicons-yes{color:#27ae60}#dpsp-bitly-key-status .dashicons-warning{color:#c0392b}#dpsp-card-settings-social-shares-recovery .dpsp-card-inner{border-bottom:1px solid rgba(200,215,225,.5)}#dpsp-card-settings-social-shares-recovery .dpsp-card-inner.dpsp-last{border-bottom:0}#dpsp-toolkit-welcome{margin-left:-20px;padding:5px 20px;background:#fff}.dpsp-page-toolkit:not(.dpsp-page-free){max-width:1000px}.dpsp-page-toolkit .dpsp-row{margin-bottom:2.5em}.dpsp-page-toolkit .dpsp-card{margin-top:0;margin-bottom:0}.dpsp-tool-wrapper{overflow:hidden;border-radius:3px;background:#fff}.dpsp-tool-wrapper img{max-width:100%;height:auto}.dpsp-tool-wrapper a{color:#777;text-decoration:none}.dpsp-tool-wrapper a:hover{color:rgba(52,152,219,.75)}.dpsp-tool-wrapper h4{margin-top:0;margin-bottom:0;padding:10px;font-size:15px;text-align:center}.dpsp-tool-wrapper .dpsp-tool-actions{position:relative;padding:15px}.dpsp-tool-wrapper .dpsp-tool-actions:after{display:block;clear:both;content:""}.dpsp-tool-wrapper .dpsp-tool-actions-overlay{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;background:hsla(0,0%,100%,.6);z-index:1}.dpsp-tool-wrapper .dpsp-tool-actions-overlay .spinner{visibility:visible;float:none;margin:15px 0 0 15px;opacity:1}.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-active span{opacity:0}.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive span{opacity:.4}.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings{line-height:1;vertical-align:middle}.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings:focus{box-shadow:none}.dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive .dpsp-tool-settings{display:none}.dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings i{margin-right:3px}.dpsp-tool-wrapper .dpsp-switch span{margin-right:5px;font-size:.85em;text-transform:uppercase}.dpsp-tool-wrapper .dpsp-switch label{display:inline-block!important}.dpsp-switch{display:inline-block;position:relative;float:right;margin-left:20px}.dpsp-page-wrapper .cmn-toggle{position:absolute;visibility:hidden;margin-left:-9999px}.dpsp-page-wrapper .cmn-toggle+label{display:block;position:relative;outline:none;cursor:pointer;user-select:none}.dpsp-page-wrapper input.cmn-toggle-round+label{box-sizing:initial;width:36px;height:18px;padding:3px;border-radius:20px;background-color:#c9d6e0;transition:background .4s}.dpsp-page-wrapper input.cmn-toggle-round+label:after,.dpsp-page-wrapper input.cmn-toggle-round+label:before{display:block;position:absolute;top:2px;bottom:2px;left:2px;content:""}.dpsp-page-wrapper input.cmn-toggle-round+label:before{right:2px;border-radius:18px;transition:background .4s}.dpsp-page-wrapper input.cmn-toggle-round+label:after{width:20px;border-radius:100%;background-color:#fff;box-shadow:0 2px 5px rgba(0,0,0,.1);transition:margin .4s}.dpsp-page-wrapper input.cmn-toggle-round:checked+label{background-color:#41a4a9}.dpsp-page-wrapper input.cmn-toggle-round:checked+label:after{margin-left:18px}.dpsp-switch.small input.cmn-toggle-round+label{width:30px;height:15px}.dpsp-switch.small input.cmn-toggle-round+label:after{width:17px}.dpsp-switch.small input.cmn-toggle-round:checked+label:after{margin-left:15px}.dpsp-statistic-bars-wrapper{padding-top:10px}.dpsp-statistic-bars-wrapper:after{display:block;clear:both;width:0;content:""}.dpsp-statistic-bar-header{margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #f1f1f1;opacity:.6}.dpsp-statistic-bar-wrapper.dpsp-statistic-bar-header:hover{background:none}.dpsp-statistic-bar-wrapper{position:relative;height:30px;padding-right:110px;padding-left:110px;transition:opacity .2s ease-in-out}.dpsp-statistic-bar-wrapper:hover{background:#f7f7f7}.dpsp-statistic-bar-wrapper label{position:absolute;top:0;left:10px;width:109px;height:30px;font-size:12px;font-weight:700;line-height:30px}.dpsp-statistic-bar-wrapper .dpsp-network-share-count{position:absolute;top:0;right:0;width:110px;height:30px;font-size:12px;font-weight:700;line-height:30px}.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-count{display:inline-block;width:55px;text-align:center}.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-percentage{display:inline-block;width:40px;text-align:center}.dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-divider{width:1px;margin:0 2px;opacity:.5}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar{position:relative;top:10px;width:100%;height:10px;border-radius:5px;background:#e7e7e7}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-inner{width:0;height:10px;border-radius:5px}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-facebook .dpsp-statistic-bar-inner{background:#3a579a}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-twitter .dpsp-statistic-bar-inner{background:#00abf0}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-google-plus .dpsp-statistic-bar-inner{background:#df4a32}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-pinterest .dpsp-statistic-bar-inner{background:#c92228}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-linkedin .dpsp-statistic-bar-inner{background:#0077b5}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-reddit .dpsp-statistic-bar-inner{background:#ff5700}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-vkontakte .dpsp-statistic-bar-inner{background:#4d75a3}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-buffer .dpsp-statistic-bar-inner{background:#29323b}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-tumblr .dpsp-statistic-bar-inner{background:#35465c}.dpsp-statistic-bar-wrapper .dpsp-statistic-bar-yummly .dpsp-statistic-bar-inner{background:#e55a27}.dpsp-statistic-bar-footer{margin:10px 0;border-top:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1;opacity:.6}.dpsp-statistic-bar-wrapper.dpsp-statistic-bar-footer:hover{background:none}#dpsp-refresh-share-counts-wrapper:after{display:block;clear:both;width:0;content:""}#dpsp-refresh-share-counts{float:right}#dpsp_share_options span[class*=dpsp-icon-]{display:inline-block;width:24px;height:24px;margin-right:10px;border-radius:2px;color:#fff;line-height:24px;text-align:center}#dpsp_share_options .dpsp-icon-share{background:#34495e}#dpsp_share_options .dpsp-icon-twitter{background:#00abf0}#dpsp_share_options .dpsp-icon-pinterest{background:#c92228}#dpsp_share_options_content .dpsp-section{position:relative;margin:15px 0 25px;padding-left:220px}#dpsp_share_options_content label{display:block;margin-bottom:10px;font-weight:700}#dpsp_share_options_content textarea{width:100%;min-height:70px}#dpsp_share_options_content .dpsp-setting-field-image{position:absolute;top:0;left:0;width:100%;max-width:200px}#dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-primary,#dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-secondary{width:100%;text-align:center}#dpsp_share_options .dpsp-setting-field-tooltip-wrapper{position:relative;top:-2px;left:auto}.dpsp-textarea-characters-remaining-wrapper{float:right;height:24px;padding:0 10px;border-radius:2px;background:#f1f1f1;font-size:12px;line-height:24px}.dpsp-textarea-characters-remaining-wrapper.dpsp-excedeed{color:#fff;background:rgba(192,57,43,.75)}#dpsp-meta-box-section-multiple-pinterest-images{padding-left:0!important}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper{position:relative;float:left;max-width:125px;margin-right:5px;margin-bottom:5px;line-height:0}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper img{max-width:100%;height:auto;max-height:auto}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary{position:absolute;top:5px;right:5px;visibility:hidden;padding:1px 2px;opacity:0;transition:all .1s ease-in}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper:hover .dpsp-button-secondary{visibility:visible;opacity:1}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new{float:left;box-sizing:border-box;width:125px;height:125px;border-radius:2px;text-align:center}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons{display:inline-block;box-sizing:initial;margin-top:28px;margin-bottom:5px;padding:5px;border-radius:50px;background:#ebf0f4}#dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons:before{position:relative;top:1px}#dpsp-meta-box-section-multiple-pinterest-images:after{display:block;clear:both;content:""}.mce-i-dpsp-icon-twitter{position:relative;top:-2px}.mce-i-dpsp-icon-twitter:before{color:#00abf0;font-family:Social Pug,sans-serif;font-size:20px;font-weight:400;font-style:normal;content:""}#dpsp_click_to_tweet_dialog #dpsp_tweet_length{position:absolute;top:105px;right:0;padding-right:25px;color:#a1a1a1}#dpsp_click_to_tweet_dialog #dpsp_tweet_length em,#dpsp_click_to_tweet_dialog #dpsp_tweet_length span{font-size:12px;font-weight:700}#dpsp_click_to_tweet_dialog #dpsp_tweet_length span{position:absolute;top:0;right:0}#dpsp_click_to_tweet_dialog #dpsp_tweet_hide_url-al,#dpsp_click_to_tweet_dialog #dpsp_tweet_hide_via-al{position:relative;top:-3px}table.wp-list-table .column-dpsp_shares{width:5.5em}#screen-options-wrap .dpsp-list-table-shares i,table.wp-list-table .dpsp-list-table-shares span{display:none}.dpsp-list-table-post-share-count{display:inline-block;margin-top:5px;padding:0 8px;border-radius:5px;color:#fff;background:#b6b6b6;line-height:24px;text-align:center;vertical-align:middle}body.post-type-attachment.post-php table.compat-attachment-fields{width:100%;border-spacing:0}body.post-type-attachment.post-php table .compat-field-pin_description td,body.post-type-attachment.post-php table .compat-field-pin_description th,body.post-type-attachment.post-php table .compat-field-pin_nopin td,body.post-type-attachment.post-php table .compat-field-pin_nopin th,body.post-type-attachment.post-php table .compat-field-pin_repin_id td,body.post-type-attachment.post-php table .compat-field-pin_repin_id th,body.post-type-attachment.post-php table .compat-field-pin_title td,body.post-type-attachment.post-php table .compat-field-pin_title th{display:block;width:100%}body.post-type-attachment.post-php table .compat-field-pin_description textarea{width:100%;min-height:75px}body.post-type-attachment.post-php table .compat-field-pin_repin_id input,body.post-type-attachment.post-php table .compat-field-pin_title input{width:100%}@media screen and (max-width:785px){.dpsp-page-title-wrapper h2{position:relative;padding-right:50px}.dpsp-page-title-wrapper h2 .dpsp-switch{position:absolute;top:15px;right:0}.dpsp-social-platforms-sort-list{overflow:auto}}@media screen and (max-width:720px){.dpsp-col-1-4{width:50%}#dpsp-networks-selector li{width:100%;padding:0}#dpsp-networks-selector-footer{text-align:center}.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper{width:auto}.dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input,.dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,.dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input{width:150px;padding-right:10px}.dpsp-settings-button-style{width:auto}.dpsp-page-content .dpsp-settings-button-style{width:49.5%}.dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n){margin-right:1%}.dpsp-page-content .dpsp-section-button-style label:nth-of-type(2n){margin-right:0}.dpsp-setting-field-label{width:100%;margin-bottom:10px}.dpsp-setting-field-wrapper{margin-bottom:30px}}#dpsp-shares-recovery-post-previous-urls{position:relative}.dpsp-shares-recovery-post-previous-urls-header{display:flex;align-items:center}#dpsp-shares-recovery-post-previous-urls h4{margin:10px 0;padding:10px 0;border-bottom:1px solid #f1f1f1}#dpsp-shares-recovery-post-previous-urls .dpsp-setting-field-tooltip-wrapper{position:relative;left:auto;padding-bottom:.5rem}#dpsp-shares-recovery-post-previous-urls-empty{padding:10px 15px;background:#f1f1f1}#dpsp-shares-recovery-post-previous-urls-empty>:first-child{margin-top:0}#dpsp-shares-recovery-post-previous-urls-empty>:last-child{margin-bottom:0}.dpsp-post-previous-url{display:flex;margin-top:5px}.dpsp-post-previous-url.dpsp-hidden{display:none}.dpsp-post-previous-url input{margin-right:5px;flex:1}.dpsp-post-previous-url a{padding:3px 10px}#dpsp-add-post-previous-url{margin-top:10px}.dpsp-admin-icon{display:inline-block;width:24px;height:24px;margin-right:10px;border-radius:2px;color:#fff;line-height:24px;text-align:center}.dpsp-admin-icon svg{max-width:14px;max-height:14px;margin:5px;fill:#fff}.dpsp-admin-icon-share{background:#34495e}.dpsp-admin-icon-twitter{background:#00abf0}.dpsp-admin-icon-pinterest{background:#c92228}
assets/dist/style-frontend-pro-jquery.1.18.2.css DELETED
@@ -1 +0,0 @@
1
- .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{align-self:start;display:block;font-size:14px;line-height:36px;width:40px;height:40px;position:relative;top:-2px;left:-2px;text-align:center;border:2px solid;flex:0 0 auto;-moz-box-sizing:border-box;box-sizing:border-box;-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}.dpsp-icon-total-share svg,.dpsp-network-icon .dpsp-network-icon-inner svg{position:relative;top:.1em;max-height:14px;width:auto;overflow:visible;transition:fill .15s ease-in-out}.dpsp-size-large .dpsp-icon-total-share svg,.dpsp-size-large .dpsp-network-icon .dpsp-network-icon-inner svg{max-height:22px}.widget_dpsp_social_media_follow .dpsp-network-icon .dpsp-network-icon-inner svg{top:.05em}.dpsp-icon-total-share,.dpsp-network-icon-inner{display:flex;align-items:center;justify-content:center}.dpsp-network-icon-inner{transition:all .2s ease;height:36px}.dpsp-networks-btns-wrapper.dpsp-has-button-icon-animation .dpsp-network-btn:hover .dpsp-network-icon-inner{transition:all .2s cubic-bezier(.62,3.15,.4,-.64);transform:scale(1.5)}#dpsp-floating-sidebar{position:fixed;top:50%;transform:translateY(-50%);z-index:9998}#dpsp-floating-sidebar.dpsp-position-left{left:0}#dpsp-floating-sidebar.dpsp-position-right{right:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar li{float:none;margin-left:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn{padding:0;width:40px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important;background:transparent!important}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:41px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:46px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:22px;line-height:22px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner{height:18px}#dpsp-floating-sidebar.dpsp-no-animation{display:none}#dpsp-floating-sidebar.dpsp-no-animation.opened{display:block}#dpsp-floating-sidebar.dpsp-animation-1{opacity:0;transition:opacity .2s ease-in-out}#dpsp-floating-sidebar.dpsp-animation-1.opened{opacity:1}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2{left:-60px;transition:left .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2.opened{left:0}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2.opened{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2{right:-60px;transition:right .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2.opened{right:0}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2.opened{right:10px}.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:0}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded.dpsp-has-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:4px}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle{right:10px}.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{margin-bottom:6px}.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}#dpsp-floating-sidebar.dpsp-style-2 .dpsp-network-btn .dpsp-network-icon{background:none}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper li{position:relative;overflow:visible}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label{position:absolute;z-index:1;display:inline-block;width:auto;white-space:nowrap;top:50%;margin-top:-15px;height:30px;padding:6px 12px;color:#fff;font-size:12px;font-weight:400;line-height:18px;background:#34495e;border-radius:3px;visibility:hidden;opacity:0;transition:all .2s ease-in-out;box-sizing:border-box}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label{left:100%}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label{right:100%}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{transform:translateX(10px);visibility:visible;opacity:1}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{transform:translateX(-10px);visibility:visible;opacity:1}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label:before{content:"";display:block;position:absolute;top:50%;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label:before{left:-5px;border-right:5px solid #34495e}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label:before{right:-5px;border-left:5px solid #34495e}.dpsp-settings-button-style .dpsp-networks-btns-sidebar .dpsp-network-label{display:none}#dpsp-content-top{margin-bottom:1.2em}#dpsp-content-bottom{margin-top:1.2em}.dpsp-share-text{font-weight:700;margin-bottom:10px}.dpsp-shortcode-wrapper{margin-bottom:1.2em}#dpsp-sticky-bar-wrapper{position:fixed;z-index:1000;bottom:0;left:0;width:100%;background:#fff}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-top{bottom:auto;top:0}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-bottom{bottom:0;top:auto}#dpsp-sticky-bar-wrapper.dpsp-no-animation{visibility:hidden;opacity:0}#dpsp-sticky-bar-wrapper.dpsp-no-animation.opened{visibility:visible;opacity:1}#dpsp-sticky-bar{display:none;position:relative;margin:7px 0;box-sizing:border-box}#dpsp-sticky-bar .dpsp-networks-btns-wrapper{display:flex}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li{float:none;flex:1;margin-bottom:0;margin-left:3px;margin-right:3px}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li:last-of-type{margin-right:0}#dpsp-sticky-bar .dpsp-network-btn{padding-left:1em;padding-right:1em;text-align:center}#dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{display:inline-block;position:relative;width:20px;overflow:visible}#dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{margin-right:5px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top{bottom:auto;top:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom{bottom:0;top:auto}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar{position:static;margin:0;width:100%!important;padding:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-networks-btns-wrapper li{margin:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn{padding-left:0;padding-right:0;text-align:center;height:44px;max-height:44px;line-height:40px;border-radius:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{position:relative;left:auto;display:inline-block;float:none;font-size:18px;line-height:40px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{position:absolute;display:block;width:100%;height:26px;line-height:26px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;margin-left:0;font-size:11px;text-align:center;height:20px;line-height:20px}#dpsp-sticky-bar-wrapper.dpsp-animation-1{visibility:hidden;opacity:0;transition:opacity .2s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-animation-1.opened{visibility:visible;opacity:1}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2{visibility:hidden;bottom:-88px;transition:bottom .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2.opened{visibility:visible;bottom:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2{visibility:hidden;top:-88px;bottom:auto;transition:top .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2.opened{visibility:visible;top:0}@media screen and (min-width:782px){body.admin-bar #dpsp-sticky-bar-wrapper{margin-top:32px}}.dpsp-networks-btns-wrapper{list-style:none!important;padding:0!important;margin:0!important}.dpsp-networks-btns-wrapper:after{content:"";display:block;height:0;clear:both}.dpsp-networks-btns-wrapper li{float:left;-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;margin:0;padding:0;border:0;list-style-type:none!important}.dpsp-networks-btns-wrapper li:before{display:none!important}.dpsp-networks-btns-wrapper li:first-child{margin-left:0!important}.dpsp-networks-btns-wrapper .dpsp-network-btn{position:relative;text-align:center;display:inline-flex;text-decoration:none!important;text-transform:unset!important;height:40px;min-width:40px;font-family:Arial,sans-serif;font-weight:700;font-size:14px;line-height:36px;vertical-align:middle;padding:0;border:2px solid;max-height:40px;width:100%;-moz-box-sizing:border-box;box-sizing:border-box;-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;box-shadow:none;cursor:pointer;border-radius:0}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-label{padding-left:.5em;padding-right:.5em}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-label{padding-right:.25em}.dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border:2px solid;box-shadow:0 0 0 3px rgba(21,156,228,.4);box-shadow:0 0 0 3px var(--networkHover);outline:none}.dpsp-networks-btns-wrapper .dpsp-network-btn:after{content:"";display:block;height:0;clear:both}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label{padding-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:28px}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-count{font-size:13px;font-weight:400;padding-left:.25em;padding-right:.5em;white-space:nowrap}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;margin-left:0;font-size:11px;text-align:center;height:20px;line-height:20px}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-label-wrapper{display:none}.dpsp-button-style-6 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper,.dpsp-button-style-7 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper{display:inline-block;text-indent:2em}.dpsp-networks-btns-wrapper.dpsp-column-1 li{width:100%;margin-left:0}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-1 li{margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-2 li{width:50%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-2 li{width:49%}.dpsp-networks-btns-wrapper.dpsp-column-2 li:nth-child(2n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-3 li{width:33.3333%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-3 li{width:32%}.dpsp-networks-btns-wrapper.dpsp-column-3 li:nth-child(3n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-4 li{width:25%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-4 li{width:23.5%}.dpsp-networks-btns-wrapper.dpsp-column-4 li:nth-child(4n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-5 li{width:20%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-5 li{width:18.4%}.dpsp-networks-btns-wrapper.dpsp-column-5 li:nth-child(5n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-6 li{width:16.6666%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-6 li{width:15%}.dpsp-networks-btns-wrapper.dpsp-column-6 li:nth-child(6n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-7 li{width:14.285%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-7 li{width:13%}.dpsp-networks-btns-wrapper.dpsp-column-7 li:nth-child(6n){margin-right:0}.dpsp-shape-circle .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:not(.dpsp-no-label){padding-right:10px}.dpsp-no-labels .dpsp-networks-btns-wrapper .dpsp-network-btn{padding:0!important;text-align:center}.dpsp-facebook{--networkColor:rgba(58,87,154,0.4);--networkHover:rgba(51,77,135,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon{border-color:#3a579a;background:#3a579a;color:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon svg{fill:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon{border-color:#334d87;background:#334d87;color:#334d87}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon svg{fill:#334d87}.dpsp-twitter{--networkColor:rgba(0,171,240,0.4);--networkHover:rgba(0,153,215,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon{border-color:#00abf0;background:#00abf0;color:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon svg{fill:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon{border-color:#0099d7;background:#0099d7;color:#0099d7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon svg{fill:#0099d7}.dpsp-pinterest{--networkColor:rgba(201,34,40,0.4);--networkHover:rgba(179,30,36,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon{border-color:#c92228;background:#c92228;color:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon svg{fill:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon{border-color:#b31e24;background:#b31e24;color:#b31e24}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon svg{fill:#b31e24}.dpsp-linkedin{--networkColor:rgba(0,119,181,0.4);--networkHover:rgba(0,102,156,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon{border-color:#0077b5;background:#0077b5;color:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon svg{fill:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon{border-color:#00669c;background:#00669c;color:#00669c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon svg{fill:#00669c}.dpsp-reddit{--networkColor:rgba(255,87,0,0.4);--networkHover:rgba(255,66,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon{border-color:#ff5700;background:#ff5700;color:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon svg{fill:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon{border-color:#ff4200;background:#ff4200;color:#ff4200}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon svg{fill:#ff4200}.dpsp-vkontakte{--networkColor:rgba(77,117,163,0.4);--networkHover:rgba(69,105,146,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon{border-color:#4d75a3;background:#4d75a3;color:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon svg{fill:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon{border-color:#456992;background:#456992;color:#456992}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon svg{fill:#456992}.dpsp-whatsapp{--networkColor:rgba(37,211,102,0.4);--networkHover:rgba(33,201,96,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon{border-color:#25d366;background:#25d366;color:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon svg{fill:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon{border-color:#21c960;background:#21c960;color:#21c960}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon svg{fill:#21c960}.dpsp-instagram{--networkColor:rgba(188,42,141,0.4);--networkHover:rgba(169,37,126,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon{border-color:#bc2a8d;background:#bc2a8d;color:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon svg{fill:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon{border-color:#a9257e;background:#a9257e;color:#a9257e}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon svg{fill:#a9257e}.dpsp-youtube{--networkColor:rgba(187,0,0,0.4);--networkHover:rgba(162,0,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon{border-color:#b00;background:#b00;color:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon svg{fill:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon{border-color:#a20000;background:#a20000;color:#a20000}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon svg{fill:#a20000}.dpsp-vimeo{--networkColor:rgba(68,187,255,0.4);--networkHover:rgba(43,178,255,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon{border-color:#4bf;background:#4bf;color:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon svg{fill:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon{border-color:#2bb2ff;background:#2bb2ff;color:#2bb2ff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon svg{fill:#2bb2ff}.dpsp-soundcloud{--networkColor:rgba(255,85,0,0.4);--networkHover:rgba(230,76,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon{border-color:#f50;background:#f50;color:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon svg{fill:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon{border-color:#e64c00;background:#e64c00;color:#e64c00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon svg{fill:#e64c00}.dpsp-twitch{--networkColor:rgba(100,65,165,0.4);--networkHover:rgba(89,58,147,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon{border-color:#6441a5;background:#6441a5;color:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon svg{fill:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon{border-color:#593a93;background:#593a93;color:#593a93}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon svg{fill:#593a93}.dpsp-yummly{--networkColor:rgba(229,90,39,0.4);--networkHover:rgba(216,77,26,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon{border-color:#e55a27;background:#e55a27;color:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon svg{fill:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon{border-color:#d84d1a;background:#d84d1a;color:#d84d1a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon svg{fill:#d84d1a}.dpsp-behance{--networkColor:rgba(0,92,255,0.4);--networkHover:rgba(0,83,230,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon{border-color:#005cff;background:#005cff;color:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon svg{fill:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon{border-color:#0053e6;background:#0053e6;color:#0053e6}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon svg{fill:#0053e6}.dpsp-email{--networkColor:rgba(39,174,96,0.4);--networkHover:rgba(35,158,87,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon{border-color:#27ae60;background:#27ae60;color:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon svg{fill:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon{border-color:#239e57;background:#239e57;color:#239e57}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon svg{fill:#239e57}.dpsp-print{--networkColor:rgba(189,195,199,0.4);--networkHover:rgba(175,182,187,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon{border-color:#bdc3c7;background:#bdc3c7;color:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon svg{fill:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon{border-color:#afb6bb;background:#afb6bb;color:#afb6bb}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon svg{fill:#afb6bb}.dpsp-pocket{--networkColor:rgba(237,64,85,0.4);--networkHover:rgba(230,60,81,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon{border-color:#ed4055;background:#ed4055;color:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon svg{fill:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon{border-color:#e63c51;background:#e63c51;color:#e63c51}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon svg{fill:#e63c51}.dpsp-buffer{--networkColor:rgba(41,50,59,0.4);--networkHover:rgba(33,40,47,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon{border-color:#29323b;background:#29323b;color:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon svg{fill:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon{border-color:#21282f;background:#21282f;color:#21282f}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon svg{fill:#21282f}.dpsp-tumblr{--networkColor:rgba(53,70,92,0.4);--networkHover:rgba(46,61,80,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon{border-color:#35465c;background:#35465c;color:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon svg{fill:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon{border-color:#2e3d50;background:#2e3d50;color:#2e3d50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon svg{fill:#2e3d50}.dpsp-xing{--networkColor:rgba(0,136,141,0.4);--networkHover:rgba(0,106,108,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon{border-color:#00888d;background:#00888d;color:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon svg{fill:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon{border-color:#006a6c;background:#006a6c;color:#006a6c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon svg{fill:#006a6c}.dpsp-github{--networkColor:rgba(51,51,51,0.4);--networkHover:rgba(34,34,34,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon{border-color:#333;background:#333;color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon svg{fill:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon{border-color:#222;background:#222;color:#222}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon svg{fill:#222}.dpsp-flipboard{--networkColor:rgba(225,40,40,0.4);--networkHover:rgba(210,29,29,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon{border-color:#e12828;background:#e12828;color:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon svg{fill:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon{border-color:#d21d1d;background:#d21d1d;color:#d21d1d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon svg{fill:#d21d1d}.dpsp-telegram{--networkColor:rgba(0,136,204,0.4);--networkHover:rgba(0,119,179,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon{border-color:#08c;background:#08c;color:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon svg{fill:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon{border-color:#0077b3;background:#0077b3;color:#0077b3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon svg{fill:#0077b3}.dpsp-medium{--networkColor:rgba(51,51,51,0.4);--networkHover:rgba(17,17,17,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon{border-color:#333;background:#333;color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon svg{fill:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon{border-color:#111;background:#111;color:#111}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon svg{fill:#111}.dpsp-mix{--networkColor:rgba(253,130,53,0.4);--networkHover:rgba(253,114,28,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon{border-color:#fd8235;background:#fd8235;color:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon svg{fill:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon{border-color:#fd721c;background:#fd721c;color:#fd721c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon svg{fill:#fd721c}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-bottomleft:4px;border-top-left-radius:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-no-label.dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}.dpsp-shape-circle .dpsp-network-btn{border-radius:30px}.dpsp-shape-circle .dpsp-network-btn .dpsp-network-icon{border-radius:30px;overflow:hidden}.dpsp-has-spacing .dpsp-networks-btns-wrapper li{margin-bottom:10px;margin-right:2%;margin-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn{height:32px;min-width:32px;line-height:28px;max-height:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon{line-height:28px;width:32px;height:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon-inner{height:28px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{height:46px;min-width:46px;line-height:42px;max-height:46px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{line-height:42px;width:46px;height:46px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon-inner{height:42px}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn{height:45px;min-width:45px;line-height:41px;max-height:45px;padding-left:0}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{line-height:41px;width:45px}.dpsp-size-medium .dpsp-networks-btns-sidebar.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:26px;line-height:26px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn{height:50px;min-width:50px;line-height:46px;max-height:50px;padding-left:0}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{line-height:46px;width:50px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:30px;line-height:30px}@media screen and (max-width:720px){.dpsp-hide-on-mobile{display:none!important}}.dpsp-button-style-1 .dpsp-network-btn{color:#fff!important}.dpsp-button-style-1 .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-1 .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-1 .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{color:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-facebook.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-facebook .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-facebook.dpsp-no-label{background:#334d87;border-color:#334d87}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitter.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitter .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitter.dpsp-no-label{background:#0099d7;border-color:#0099d7}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pinterest.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pinterest .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pinterest.dpsp-no-label{background:#b31e24;border-color:#b31e24}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-linkedin.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-linkedin .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-linkedin.dpsp-no-label{background:#00669c;border-color:#00669c}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-reddit.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-reddit .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-reddit.dpsp-no-label{background:#ff4200;border-color:#ff4200}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vkontakte.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vkontakte .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vkontakte.dpsp-no-label{background:#456992;border-color:#456992}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-whatsapp.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-whatsapp .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-whatsapp.dpsp-no-label{background:#21c960;border-color:#21c960}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-instagram.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-instagram .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-instagram.dpsp-no-label{background:#a9257e;border-color:#a9257e}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-youtube.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-youtube .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-youtube.dpsp-no-label{background:#a20000;border-color:#a20000}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vimeo.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vimeo .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vimeo.dpsp-no-label{background:#2bb2ff;border-color:#2bb2ff}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-soundcloud.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-soundcloud .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-soundcloud.dpsp-no-label{background:#e64c00;border-color:#e64c00}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitch.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitch .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitch.dpsp-no-label{background:#593a93;border-color:#593a93}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-yummly.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-yummly .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-yummly.dpsp-no-label{background:#d84d1a;border-color:#d84d1a}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-behance.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-behance .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-behance.dpsp-no-label{background:#0053e6;border-color:#0053e6}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-email.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-email .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-email.dpsp-no-label{background:#239e57;border-color:#239e57}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-print.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-print .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-print.dpsp-no-label{background:#afb6bb;border-color:#afb6bb}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pocket.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pocket .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pocket.dpsp-no-label{background:#e63c51;border-color:#e63c51}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-buffer.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-buffer .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-buffer.dpsp-no-label{background:#21282f;border-color:#21282f}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-tumblr.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-tumblr .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-tumblr.dpsp-no-label{background:#2e3d50;border-color:#2e3d50}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-xing.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-xing .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-xing.dpsp-no-label{background:#006a6c;border-color:#006a6c}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-github.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-github .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-github.dpsp-no-label{background:#222;border-color:#222}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-flipboard.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-flipboard .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-flipboard.dpsp-no-label{background:#d21d1d;border-color:#d21d1d}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-telegram.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-telegram .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-telegram.dpsp-no-label{background:#0077b3;border-color:#0077b3}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-medium.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-medium .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-medium.dpsp-no-label{background:#111;border-color:#111}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-mix.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-mix .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-mix.dpsp-no-label{background:#fd721c;border-color:#fd721c}.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{background:transparent!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count.dpsp-has-label:not(:hover):not(:focus),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn:not(.dpsp-no-label):not(:hover):not(:focus):not(.dpsp-has-count){background:transparent}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover{color:#fff}.dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{background:transparent;border-color:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover{border-color:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover .dpsp-network-icon{background:transparent;border-color:transparent}.dpsp-button-style-4.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-label{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label):not(:hover):not(:focus),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(:hover):not(:focus){background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label) .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{border-color:transparent;background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon svg,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon svg{fill:#fff}.dpsp-button-style-5 .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{color:#fff!important;border-color:transparent!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon svg,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-6.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn{background:transparent!important;border-color:transparent!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:40px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border-color:transparent!important}.dpsp-button-style-6.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-6.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:32px}.dpsp-button-style-7.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{border-color:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:40px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{background:transparent!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon svg,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:32px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:40px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{margin-right:-10px}.dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:32px}.dpsp-pin-it-wrapper{position:relative!important;display:inline-table!important;line-height:0}.dpsp-pin-it-wrapper.aligncenter,.dpsp-pin-it-wrapper.alignleft,.dpsp-pin-it-wrapper.alignright{display:table!important}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-button{visibility:visible;background-color:#c92228!important;color:#fff!important}.dpsp-pin-it-wrapper.aligncenter{margin-left:auto;margin-right:auto}.wp-block-gallery.is-cropped .blocks-gallery-item .dpsp-pin-it-wrapper{height:100%;flex:1;object-fit:cover}.dpsp-pin-it-button{display:inline-block;position:absolute;background:transparent;color:transparent!important;text-decoration:none!important;border:0!important;height:40px!important;width:auto!important;font-family:Arial;font-weight:700;font-size:14px;line-height:40px;vertical-align:middle;transition:all .25s ease-in-out;visibility:hidden;box-shadow:none!important;background-image:none!important}.dpsp-pin-it-button:hover{color:#fff;background:#b31e24;box-shadow:none!important}.dpsp-pin-it-button.dpsp-pin-it-button-has-label{padding-right:20px}.dpsp-pin-it-button.dpsp-pin-it-button-has-label:after{display:inline-block;content:attr(title)}.dpsp-pin-it-button .dpsp-network-icon{display:inline-block;width:40px;height:40px;text-align:center;vertical-align:top}.dpsp-pin-it-button .dpsp-network-icon svg{height:20px;display:inline-block;vertical-align:middle;fill:#fff}.dpsp-pin-it-button.dpsp-pin-it-button-top-left{top:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-top-right{top:10px;right:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-left{bottom:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-right{bottom:10px;right:10px}.dpsp-pin-it-button.dpsp-pin-it-button-center{top:50%;left:50%;transform:translate(-50%,-50%);white-space:nowrap}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rectangular{border-radius:0}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rounded{border-radius:4px}.dpsp-pin-it-button.dpsp-pin-it-button-shape-circle{border-radius:40px}.dpsp-pin-it-wrapper .dpsp-pin-it-overlay{display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;opacity:0;visibility:hidden;transition:all .25s ease-in-out;pointer-events:none}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-overlay{opacity:.4;visibility:visible}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto{text-align:center}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto li{display:inline-block;float:none}.dpsp-show-total-share-count{position:relative}.dpsp-total-share-wrapper{position:relative;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;margin-top:10px;line-height:1.345;color:#5d6368}.dpsp-total-share-wrapper .dpsp-total-share-count{font-size:15px;line-height:18px;white-space:nowrap}.dpsp-total-share-wrapper .dpsp-icon-total-share{position:absolute;top:6px;left:0;margin-left:0;margin-top:0}.dpsp-total-share-wrapper .dpsp-icon-total-share svg{max-height:16px;top:2px;width:auto;fill:#5d6368}#dpsp-floating-sidebar .dpsp-total-share-wrapper{margin-bottom:10px}#dpsp-floating-sidebar .dpsp-total-share-wrapper .dpsp-icon-total-share{display:none}.dpsp-total-share-wrapper span{display:block;font-size:9px;font-weight:700;text-transform:uppercase;text-align:center}.dpsp-content-wrapper .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper .dpsp-total-share-wrapper{position:absolute;width:60px;height:40px;margin-top:-21px;top:50%;padding-left:20px;box-sizing:border-box}#dpsp-sticky-bar .dpsp-total-share-wrapper{height:32px;margin-top:-16px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile .dpsp-total-share-wrapper{display:none}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before{padding-left:70px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after{padding-right:70px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper{left:0}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper{right:0}#dpsp-pop-up{position:fixed;max-width:750px;width:100%;padding:40px;background:#fff;border-radius:10px;z-index:9999;opacity:0;transform:translate(-50%,-50%);-moz-transition:all .25s ease-in-out;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}#dpsp-pop-up.dpsp-animation-1{transform:translate(-50%,-50%) scale(.1)}#dpsp-pop-up.dpsp-animation-3{transform:translate(-50%)}#dpsp-pop-up.dpsp-animation-4{transform:translate(-50%,-100%)}#dpsp-pop-up-overlay.no-animation,#dpsp-pop-up.no-animation{-moz-transition:none;-webkit-transition:none;-o-transition:none;transition:none}#dpsp-pop-up.opened{top:50%;left:50%;transform:scale(1) translate(-50%,-50%);opacity:1}#dpsp-pop-up-overlay{display:block;position:fixed;top:0;left:0;width:0;height:0;z-index:9998;background:#000;opacity:0;-moz-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-o-transition:opacity .25s ease-in-out,margin .25s ease-in-out;transition:opacity .25s ease-in-out,margin .25s ease-in-out}#dpsp-pop-up-overlay.opened{width:100%;height:100%;opacity:.65}#dpsp-pop-up-content{text-align:center}#dpsp-pop-up-close{position:absolute;top:10px;right:10px;display:block;width:22px;height:22px;line-height:22px;vertical-align:middle;text-align:center;cursor:pointer}#dpsp-pop-up-close svg{position:relative;top:2px;max-height:16px;width:auto;vertical-align:top;fill:#999}#dpsp-pop-up h2{margin-bottom:1em}#dpsp-pop-up h2 p{font-size:inherit}#dpsp-pop-up h2 p:last-of-type{margin-top:0;margin-bottom:0}#dpsp-pop-up p{margin-top:1em;margin-bottom:1em}#dpsp-post-bottom{height:0;width:0;padding:0;margin:0}@media screen and (max-width:800px){#dpsp-pop-up{width:90%}}@media screen and (max-width:720px){#dpsp-pop-up .dpsp-networks-btns-wrapper li{width:100%;margin-left:0;margin-right:0}}.dpsp-top-shared-post{margin-bottom:2em}.dpsp-top-shared-post-thumbnail{display:block;margin-bottom:1.2em}.dpsp-top-shared-post-thumbnail img{max-width:100%;height:auto}.dpsp-top-shared-post-title{display:inline-block;margin-bottom:.5em}.dpsp-shortcode-follow-wrapper>.dpsp-networks-btns-follow-widget{display:flex;flex-flow:row wrap}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-left>.dpsp-networks-btns-follow-widget{justify-content:flex-start}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-center>.dpsp-networks-btns-follow-widget{justify-content:center}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-right>.dpsp-networks-btns-follow-widget{justify-content:flex-end}.dpsp-click-to-tweet{position:relative;display:block;margin:1.5em 0;font-size:105%;text-decoration:none;transition:all .15s ease-in}.dpsp-click-to-tweet,.dpsp-click-to-tweet:hover{box-shadow:none!important}.dpsp-click-to-tweet.dpsp-has-avatar{padding-left:120px!important;min-height:115px}.dpsp-click-to-tweet.dpsp-has-avatar .avatar{position:absolute;top:15px;left:15px;border-radius:50%;box-shadow:none!important}.dpsp-click-to-tweet-footer:after,.dpsp-click-to-tweet:after{content:"";display:block;clear:both}.dpsp-click-to-tweet-content{display:block;position:relative;z-index:2;font-family:Georgia;font-size:18px;line-height:1.5;text-align:left}.dpsp-click-to-tweet-footer{display:block;font-family:Arial;font-weight:700;font-size:14px;color:#999;margin-top:1em}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-left .dpsp-click-to-tweet-cta{float:left}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-right .dpsp-click-to-tweet-cta{float:right}.dpsp-click-to-tweet-cta{color:#00abf0;line-height:1}.dpsp-click-to-tweet-cta svg{fill:#00abf0}.dpsp-click-to-tweet-cta .dpsp-twitter{display:inline-block;position:relative;font-size:20px;width:20px;height:20px;vertical-align:middle}.dpsp-click-to-tweet-cta>span{margin-right:10px;vertical-align:middle}.dpsp-click-to-tweet:hover .dpsp-twitter .dpsp-network-icon-inner{transition:all .2s ease-in-out}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-after{margin-left:-10px;opacity:1}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-before{margin-left:10px;opacity:0}a.dpsp-click-to-tweet.dpsp-style-1{border:0;border-left:5px solid #00abf0;color:#555;padding:15px 5px 5px 30px}a.dpsp-click-to-tweet.dpsp-style-1:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-2{border:0;border-left:5px solid #00abf0;color:#555;background:#f6f6f6;padding:20px 30px}a.dpsp-click-to-tweet.dpsp-style-2:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-3{border:1px solid #e1e1e1;border-radius:3px;color:#838383;padding:20px 30px}a.dpsp-click-to-tweet.dpsp-style-3:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-4{border:4px double #e1e1e1;border-radius:0;color:#838383;padding:20px 30px}a.dpsp-click-to-tweet.dpsp-style-4:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-5{border:0;border-left:0 solid transparent;border-radius:3px;color:#fff;background:#00abf0;padding:20px 30px;transition:border .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta{color:#fff}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta svg{fill:#fff}a.dpsp-click-to-tweet.dpsp-style-5:hover{color:#fff;border-left:9px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5>img{transition:margin-left .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5:hover>img{margin-left:-9px}
 
assets/dist/style-frontend-pro-jquery.1.19.0.css ADDED
@@ -0,0 +1 @@
 
1
+ #dpsp-content-top{margin-bottom:1.2em}#dpsp-content-bottom{margin-top:1.2em}.dpsp-share-text{margin-bottom:10px;font-weight:700}.dpsp-networks-btns-wrapper{margin:0!important;padding:0!important;list-style:none!important}.dpsp-networks-btns-wrapper:after{display:block;clear:both;height:0;content:""}.dpsp-networks-btns-wrapper li{float:left;margin:0;padding:0;border:0;list-style-type:none!important;-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}.dpsp-networks-btns-wrapper li:before{display:none!important}.dpsp-networks-btns-wrapper li:first-child{margin-left:0!important}.dpsp-networks-btns-wrapper .dpsp-network-btn{display:flex;position:relative;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;min-width:40px;height:40px;max-height:40px;padding:0;border:2px solid;border-radius:0;box-shadow:none;font-family:Arial,sans-serif;font-size:14px;font-weight:700;line-height:36px;text-align:center;vertical-align:middle;text-decoration:none!important;text-transform:unset!important;cursor:pointer;-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-label{padding-right:.5em;padding-left:.5em}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-label{padding-right:.25em}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label{width:40px}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:0}.dpsp-button-style-6 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-button-style-7 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:-2px}.dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border:2px solid;outline:none;box-shadow:0 0 0 3px rgba(21,156,228,.4);box-shadow:0 0 0 3px var(--networkHover)}.dpsp-networks-btns-wrapper .dpsp-network-btn:after{display:block;clear:both;height:0;content:""}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label{padding-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:28px}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-count{padding-right:.5em;padding-left:.25em;font-size:13px;font-weight:400;white-space:nowrap}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;height:20px;margin-left:0;padding-left:.5em;font-size:11px;line-height:20px;text-align:center}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sticky-bar .dpsp-network-btn .dpsp-network-count{padding-left:.5em}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-label-wrapper{display:none}.dpsp-button-style-6 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper,.dpsp-button-style-7 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper{display:inline-block;text-indent:2em}.dpsp-networks-btns-wrapper.dpsp-column-1 li{width:100%;margin-left:0}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-1 li{margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-2 li{width:50%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-2 li{width:49%}.dpsp-networks-btns-wrapper.dpsp-column-2 li:nth-child(2n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-3 li{width:33.3333%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-3 li{width:32%}.dpsp-networks-btns-wrapper.dpsp-column-3 li:nth-child(3n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-4 li{width:25%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-4 li{width:23.5%}.dpsp-networks-btns-wrapper.dpsp-column-4 li:nth-child(4n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-5 li{width:20%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-5 li{width:18.4%}.dpsp-networks-btns-wrapper.dpsp-column-5 li:nth-child(5n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-6 li{width:16.6666%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-6 li{width:15%}.dpsp-networks-btns-wrapper.dpsp-column-6 li:nth-child(6n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-7 li{width:14.285%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-7 li{width:13%}.dpsp-networks-btns-wrapper.dpsp-column-7 li:nth-child(6n){margin-right:0}.dpsp-shape-circle .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:not(.dpsp-no-label){padding-right:10px}.dpsp-no-labels .dpsp-networks-btns-wrapper .dpsp-network-btn{padding:0!important;text-align:center}.dpsp-facebook{--networkAccent:#334d87;--networkColor:#3a579a;--networkHover:rgba(51,77,135,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook{border-color:#3a579a;color:#3a579a;background:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:not(:hover):not(:active){color:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon{border-color:#3a579a;color:#3a579a;background:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#3a579a));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#3a579a))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#3a579a));stroke:var(--customNetworkColor,var(--networkColor,#3a579a));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon{border-color:#334d87;color:#334d87;background:#334d87}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#334d87}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#334d87));stroke:var(--customNetworkHoverColor,var(--networkHover,#334d87))}.dpsp-twitter{--networkAccent:#0099d7;--networkColor:#00abf0;--networkHover:rgba(0,153,215,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter{border-color:#00abf0;color:#00abf0;background:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:not(:hover):not(:active){color:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon{border-color:#00abf0;color:#00abf0;background:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#00abf0));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#00abf0))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#00abf0));stroke:var(--customNetworkColor,var(--networkColor,#00abf0));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon{border-color:#0099d7;color:#0099d7;background:#0099d7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#0099d7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#0099d7));stroke:var(--customNetworkHoverColor,var(--networkHover,#0099d7))}.dpsp-pinterest{--networkAccent:#b31e24;--networkColor:#c92228;--networkHover:rgba(179,30,36,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest{border-color:#c92228;color:#c92228;background:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:not(:hover):not(:active){color:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon{border-color:#c92228;color:#c92228;background:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#c92228));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#c92228))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#c92228));stroke:var(--customNetworkColor,var(--networkColor,#c92228));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon{border-color:#b31e24;color:#b31e24;background:#b31e24}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#b31e24}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#b31e24));stroke:var(--customNetworkHoverColor,var(--networkHover,#b31e24))}.dpsp-linkedin{--networkAccent:#00669c;--networkColor:#0077b5;--networkHover:rgba(0,102,156,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin{border-color:#0077b5;color:#0077b5;background:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:not(:hover):not(:active){color:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon{border-color:#0077b5;color:#0077b5;background:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#0077b5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#0077b5))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#0077b5));stroke:var(--customNetworkColor,var(--networkColor,#0077b5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon{border-color:#00669c;color:#00669c;background:#00669c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#00669c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#00669c));stroke:var(--customNetworkHoverColor,var(--networkHover,#00669c))}.dpsp-reddit{--networkAccent:#ff4200;--networkColor:#ff5700;--networkHover:rgba(255,66,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit{border-color:#ff5700;color:#ff5700;background:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:not(:hover):not(:active){color:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon{border-color:#ff5700;color:#ff5700;background:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#ff5700));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#ff5700))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#ff5700));stroke:var(--customNetworkColor,var(--networkColor,#ff5700));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon{border-color:#ff4200;color:#ff4200;background:#ff4200}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#ff4200}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#ff4200));stroke:var(--customNetworkHoverColor,var(--networkHover,#ff4200))}.dpsp-vkontakte{--networkAccent:#456992;--networkColor:#4d75a3;--networkHover:rgba(69,105,146,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte{border-color:#4d75a3;color:#4d75a3;background:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:not(:hover):not(:active){color:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon{border-color:#4d75a3;color:#4d75a3;background:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#4d75a3));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#4d75a3))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#4d75a3));stroke:var(--customNetworkColor,var(--networkColor,#4d75a3));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon{border-color:#456992;color:#456992;background:#456992}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#456992}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#456992));stroke:var(--customNetworkHoverColor,var(--networkHover,#456992))}.dpsp-whatsapp{--networkAccent:#21c960;--networkColor:#25d366;--networkHover:rgba(33,201,96,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp{border-color:#25d366;color:#25d366;background:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:not(:hover):not(:active){color:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon{border-color:#25d366;color:#25d366;background:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#25d366));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#25d366))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#25d366));stroke:var(--customNetworkColor,var(--networkColor,#25d366));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon{border-color:#21c960;color:#21c960;background:#21c960}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#21c960}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#21c960));stroke:var(--customNetworkHoverColor,var(--networkHover,#21c960))}.dpsp-instagram{--networkAccent:#a9257e;--networkColor:#bc2a8d;--networkHover:rgba(169,37,126,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram{border-color:#bc2a8d;color:#bc2a8d;background:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:not(:hover):not(:active){color:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon{border-color:#bc2a8d;color:#bc2a8d;background:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#bc2a8d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#bc2a8d))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#bc2a8d));stroke:var(--customNetworkColor,var(--networkColor,#bc2a8d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon{border-color:#a9257e;color:#a9257e;background:#a9257e}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#a9257e}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#a9257e));stroke:var(--customNetworkHoverColor,var(--networkHover,#a9257e))}.dpsp-youtube{--networkAccent:#a20000;--networkColor:#b00;--networkHover:rgba(162,0,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube{border-color:#b00;color:#b00;background:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:not(:hover):not(:active){color:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon{border-color:#b00;color:#b00;background:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#b00));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#b00))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#b00));stroke:var(--customNetworkColor,var(--networkColor,#b00));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon{border-color:#a20000;color:#a20000;background:#a20000}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#a20000}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#a20000));stroke:var(--customNetworkHoverColor,var(--networkHover,#a20000))}.dpsp-vimeo{--networkAccent:#2bb2ff;--networkColor:#4bf;--networkHover:rgba(43,178,255,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo{border-color:#4bf;color:#4bf;background:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:not(:hover):not(:active){color:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon{border-color:#4bf;color:#4bf;background:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#4bf));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#4bf))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#4bf));stroke:var(--customNetworkColor,var(--networkColor,#4bf));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon{border-color:#2bb2ff;color:#2bb2ff;background:#2bb2ff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#2bb2ff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#2bb2ff));stroke:var(--customNetworkHoverColor,var(--networkHover,#2bb2ff))}.dpsp-soundcloud{--networkAccent:#e64c00;--networkColor:#f50;--networkHover:rgba(230,76,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud{border-color:#f50;color:#f50;background:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:not(:hover):not(:active){color:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon{border-color:#f50;color:#f50;background:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#f50));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#f50))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#f50));stroke:var(--customNetworkColor,var(--networkColor,#f50));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon{border-color:#e64c00;color:#e64c00;background:#e64c00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#e64c00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#e64c00));stroke:var(--customNetworkHoverColor,var(--networkHover,#e64c00))}.dpsp-twitch{--networkAccent:#593a93;--networkColor:#6441a5;--networkHover:rgba(89,58,147,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch{border-color:#6441a5;color:#6441a5;background:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:not(:hover):not(:active){color:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon{border-color:#6441a5;color:#6441a5;background:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#6441a5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#6441a5))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#6441a5));stroke:var(--customNetworkColor,var(--networkColor,#6441a5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon{border-color:#593a93;color:#593a93;background:#593a93}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#593a93}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#593a93));stroke:var(--customNetworkHoverColor,var(--networkHover,#593a93))}.dpsp-yummly{--networkAccent:#d84d1a;--networkColor:#e55a27;--networkHover:rgba(216,77,26,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly{border-color:#e55a27;color:#e55a27;background:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:not(:hover):not(:active){color:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon{border-color:#e55a27;color:#e55a27;background:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#e55a27));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#e55a27))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#e55a27));stroke:var(--customNetworkColor,var(--networkColor,#e55a27));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon{border-color:#d84d1a;color:#d84d1a;background:#d84d1a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#d84d1a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#d84d1a));stroke:var(--customNetworkHoverColor,var(--networkHover,#d84d1a))}.dpsp-behance{--networkAccent:#0053e6;--networkColor:#005cff;--networkHover:rgba(0,83,230,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance{border-color:#005cff;color:#005cff;background:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:not(:hover):not(:active){color:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon{border-color:#005cff;color:#005cff;background:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#005cff));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#005cff))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#005cff));stroke:var(--customNetworkColor,var(--networkColor,#005cff));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon{border-color:#0053e6;color:#0053e6;background:#0053e6}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#0053e6}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#0053e6));stroke:var(--customNetworkHoverColor,var(--networkHover,#0053e6))}.dpsp-email{--networkAccent:#239e57;--networkColor:#27ae60;--networkHover:rgba(35,158,87,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email{border-color:#27ae60;color:#27ae60;background:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:not(:hover):not(:active){color:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon{border-color:#27ae60;color:#27ae60;background:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#27ae60));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#27ae60))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#27ae60));stroke:var(--customNetworkColor,var(--networkColor,#27ae60));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon{border-color:#239e57;color:#239e57;background:#239e57}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#239e57}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#239e57));stroke:var(--customNetworkHoverColor,var(--networkHover,#239e57))}.dpsp-print{--networkAccent:#afb6bb;--networkColor:#bdc3c7;--networkHover:rgba(175,182,187,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print{border-color:#bdc3c7;color:#bdc3c7;background:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:not(:hover):not(:active){color:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon{border-color:#bdc3c7;color:#bdc3c7;background:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#bdc3c7));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#bdc3c7))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#bdc3c7));stroke:var(--customNetworkColor,var(--networkColor,#bdc3c7));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon{border-color:#afb6bb;color:#afb6bb;background:#afb6bb}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#afb6bb}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#afb6bb));stroke:var(--customNetworkHoverColor,var(--networkHover,#afb6bb))}.dpsp-pocket{--networkAccent:#e63c51;--networkColor:#ed4055;--networkHover:rgba(230,60,81,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket{border-color:#ed4055;color:#ed4055;background:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:not(:hover):not(:active){color:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon{border-color:#ed4055;color:#ed4055;background:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#ed4055));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#ed4055))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#ed4055));stroke:var(--customNetworkColor,var(--networkColor,#ed4055));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon{border-color:#e63c51;color:#e63c51;background:#e63c51}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#e63c51}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#e63c51));stroke:var(--customNetworkHoverColor,var(--networkHover,#e63c51))}.dpsp-buffer{--networkAccent:#21282f;--networkColor:#29323b;--networkHover:rgba(33,40,47,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer{border-color:#29323b;color:#29323b;background:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:not(:hover):not(:active){color:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon{border-color:#29323b;color:#29323b;background:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#29323b));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#29323b))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#29323b));stroke:var(--customNetworkColor,var(--networkColor,#29323b));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon{border-color:#21282f;color:#21282f;background:#21282f}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#21282f}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#21282f));stroke:var(--customNetworkHoverColor,var(--networkHover,#21282f))}.dpsp-tumblr{--networkAccent:#2e3d50;--networkColor:#35465c;--networkHover:rgba(46,61,80,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr{border-color:#35465c;color:#35465c;background:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:not(:hover):not(:active){color:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon{border-color:#35465c;color:#35465c;background:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#35465c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#35465c))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#35465c));stroke:var(--customNetworkColor,var(--networkColor,#35465c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon{border-color:#2e3d50;color:#2e3d50;background:#2e3d50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#2e3d50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#2e3d50));stroke:var(--customNetworkHoverColor,var(--networkHover,#2e3d50))}.dpsp-xing{--networkAccent:#006a6c;--networkColor:#00888d;--networkHover:rgba(0,106,108,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing{border-color:#00888d;color:#00888d;background:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:not(:hover):not(:active){color:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon{border-color:#00888d;color:#00888d;background:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#00888d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#00888d))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#00888d));stroke:var(--customNetworkColor,var(--networkColor,#00888d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon{border-color:#006a6c;color:#006a6c;background:#006a6c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#006a6c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#006a6c));stroke:var(--customNetworkHoverColor,var(--networkHover,#006a6c))}.dpsp-github{--networkAccent:#222;--networkColor:#333;--networkHover:rgba(34,34,34,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:not(:hover):not(:active){color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#333))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#333));stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon{border-color:#222;color:#222;background:#222}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#222}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#222));stroke:var(--customNetworkHoverColor,var(--networkHover,#222))}.dpsp-flipboard{--networkAccent:#d21d1d;--networkColor:#e12828;--networkHover:rgba(210,29,29,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard{border-color:#e12828;color:#e12828;background:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:not(:hover):not(:active){color:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon{border-color:#e12828;color:#e12828;background:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#e12828));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#e12828))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#e12828));stroke:var(--customNetworkColor,var(--networkColor,#e12828));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon{border-color:#d21d1d;color:#d21d1d;background:#d21d1d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#d21d1d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#d21d1d));stroke:var(--customNetworkHoverColor,var(--networkHover,#d21d1d))}.dpsp-telegram{--networkAccent:#0077b3;--networkColor:#08c;--networkHover:rgba(0,119,179,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram{border-color:#08c;color:#08c;background:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:not(:hover):not(:active){color:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon{border-color:#08c;color:#08c;background:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#08c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#08c))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#08c));stroke:var(--customNetworkColor,var(--networkColor,#08c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon{border-color:#0077b3;color:#0077b3;background:#0077b3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#0077b3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#0077b3));stroke:var(--customNetworkHoverColor,var(--networkHover,#0077b3))}.dpsp-medium{--networkAccent:#111;--networkColor:#333;--networkHover:rgba(17,17,17,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:not(:hover):not(:active){color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#333))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#333));stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon{border-color:#111;color:#111;background:#111}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#111}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#111));stroke:var(--customNetworkHoverColor,var(--networkHover,#111))}.dpsp-mix{--networkAccent:#fd721c;--networkColor:#fd8235;--networkHover:rgba(253,114,28,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix{border-color:#fd8235;color:#fd8235;background:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:not(:hover):not(:active){color:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon{border-color:#fd8235;color:#fd8235;background:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#fd8235));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#fd8235))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#fd8235));stroke:var(--customNetworkColor,var(--networkColor,#fd8235));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon{border-color:#fd721c;color:#fd721c;background:#fd721c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fd721c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#fd721c));stroke:var(--customNetworkHoverColor,var(--networkHover,#fd721c))}.dpsp-grow{--networkAccent:#243c4a;--networkColor:#41a4a9;--networkHover:rgba(36,60,74,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow{border-color:#41a4a9;color:#41a4a9;background:#41a4a9}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:not(:hover):not(:active){color:#41a4a9}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon{border-color:#41a4a9;color:#41a4a9;background:#41a4a9}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#41a4a9));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#41a4a9))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#41a4a9));stroke:var(--customNetworkColor,var(--networkColor,#41a4a9));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover .dpsp-network-icon{border-color:#243c4a;color:#243c4a;background:#243c4a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#243c4a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#243c4a));stroke:var(--customNetworkHoverColor,var(--networkHover,#243c4a))}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-no-label.dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-shape-circle .dpsp-network-btn{border-radius:30px}.dpsp-shape-circle .dpsp-network-btn .dpsp-network-icon{overflow:hidden;border-radius:30px}.dpsp-has-spacing .dpsp-networks-btns-wrapper li{margin-right:2%;margin-bottom:10px;margin-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn{min-width:32px;height:32px;max-height:32px;line-height:28px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon{width:32px;height:32px;line-height:28px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon-inner{height:28px}.dpsp-size-small .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label{width:32px}.dpsp-size-small .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:0}.dpsp-size-small.dpsp-button-style-6 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-small.dpsp-button-style-7 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-small.dpsp-button-style-8 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:-2px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{min-width:46px;height:46px;max-height:46px;line-height:42px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{width:46px;height:46px;line-height:42px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon-inner{height:42px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label{width:46px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:0}.dpsp-size-large.dpsp-button-style-6 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-large.dpsp-button-style-7 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-large.dpsp-button-style-8 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:-2px}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn{min-width:45px;height:45px;max-height:45px;padding-left:0;line-height:41px}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{width:45px;line-height:41px}.dpsp-size-medium .dpsp-networks-btns-sidebar.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:26px;line-height:26px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn{min-width:50px;height:50px;max-height:50px;padding-left:0;line-height:46px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{width:50px;line-height:46px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:30px;line-height:30px}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow{max-width:0;max-height:0;opacity:0;transition:all .4s ease;transform-origin:top}.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow{max-width:unset;max-height:unset;opacity:unset}.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-count,.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-icon,.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-label{opacity:unset}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-count,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-label{opacity:0}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in{max-width:20rem;max-height:70px;opacity:1;transition:all .5s ease}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in .dpsp-network-count,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in .dpsp-network-label{opacity:1;transition:opacity .4s ease .5s}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded{max-width:20rem;max-height:70px;opacity:1;transition:all .2s ease}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded .dpsp-network-count,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded .dpsp-network-label{opacity:1;transition:all .2s ease}.dpsp-grow-check-icon{opacity:0;transition:all .2s ease;transform-origin:center center}.dpsp-grow-saved .dpsp-grow-check-icon{opacity:1}@media print{#dpsp-content-bottom,#dpsp-content-top,#dpsp-floating-sidebar,#dpsp-pop-up,#dpsp-pop-up-overlay,#dpsp-sticky-bar-wrapper,.dpsp-share-text{display:none!important}}.dpsp-pin-it-wrapper{display:inline-table;position:relative!important;line-height:0}.blocks-gallery-item .dpsp-pin-it-wrapper{display:inline-block}.dpsp-pin-it-wrapper.aligncenter,.dpsp-pin-it-wrapper.alignleft,.dpsp-pin-it-wrapper.alignright{display:table!important}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-button{visibility:visible;color:#fff!important;background-color:#c92228!important}.dpsp-pin-it-wrapper.aligncenter{margin-right:auto;margin-left:auto}.wp-block-gallery.is-cropped .blocks-gallery-item .dpsp-pin-it-wrapper{height:100%;flex:1;object-fit:cover}.dpsp-pin-it-button{display:inline-block;position:absolute;visibility:hidden;width:auto!important;height:40px!important;border:0!important;color:transparent!important;background:transparent;background-image:none!important;box-shadow:none!important;font-family:Arial;font-size:14px;font-weight:700;line-height:40px;vertical-align:middle;text-decoration:none!important;transition:all .25s ease-in-out}.dpsp-pin-it-button:hover{color:#fff;background:#b31e24;box-shadow:none!important}.dpsp-pin-it-button.dpsp-pin-it-button-has-label{padding-right:20px}.dpsp-pin-it-button.dpsp-pin-it-button-has-label:after{display:inline-block;content:attr(title)}.dpsp-pin-it-button .dpsp-network-icon{display:inline-block;width:40px;height:40px;text-align:center;vertical-align:top}.dpsp-pin-it-button .dpsp-network-icon svg{display:inline-block;height:20px;vertical-align:middle;fill:#fff}.dpsp-pin-it-button.dpsp-pin-it-button-top-left{top:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-top-right{top:10px;right:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-left{bottom:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-right{right:10px;bottom:10px}.dpsp-pin-it-button.dpsp-pin-it-button-center{top:50%;left:50%;white-space:nowrap;transform:translate(-50%,-50%)}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rectangular{border-radius:0}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rounded{border-radius:4px}.dpsp-pin-it-button.dpsp-pin-it-button-shape-circle{border-radius:40px}.dpsp-pin-it-wrapper .dpsp-pin-it-overlay{display:block;position:absolute;top:0;left:0;visibility:hidden;width:100%;height:100%;opacity:0;background:#fff;transition:all .25s ease-in-out;pointer-events:none}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-overlay{visibility:visible;opacity:.4}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto{text-align:center}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto li{display:inline-block;float:none}.dpsp-shortcode-wrapper{margin-bottom:1.2em}#dpsp-floating-sidebar{position:fixed;top:50%;transform:translateY(-50%);z-index:9998}#dpsp-floating-sidebar.dpsp-position-left{left:0}#dpsp-floating-sidebar.dpsp-position-right{right:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar li{float:none;margin-left:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn{width:40px;padding:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important;background:transparent!important}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:41px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:46px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:22px;line-height:22px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner{height:18px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner{height:30px}#dpsp-floating-sidebar.dpsp-no-animation{display:none}#dpsp-floating-sidebar.dpsp-no-animation.opened{display:block}#dpsp-floating-sidebar.stop-hidden,#dpsp-floating-sidebar.stop-hidden.opened{visibility:hidden}#dpsp-floating-sidebar.dpsp-animation-1{opacity:0;transition:opacity .2s ease-in-out}#dpsp-floating-sidebar.dpsp-animation-1.opened{opacity:1}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2{left:-60px;transition:left .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2.opened{left:0}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2.opened{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2{right:-60px;transition:right .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2.opened{right:0}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2.opened{right:10px}.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:0}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded.dpsp-has-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:4px}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle{right:10px}.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{margin-bottom:6px}.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}#dpsp-floating-sidebar.dpsp-style-2 .dpsp-network-btn .dpsp-network-icon{background:none}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper li{position:relative;overflow:visible}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label{display:inline-block;position:absolute;top:50%;visibility:hidden;box-sizing:border-box;width:auto;height:30px;margin-top:-15px;padding:6px 12px;border-radius:3px;opacity:0;color:#fff;background:#34495e;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;transition:all .2s ease-in-out;z-index:1}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label{left:100%}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label{right:100%}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{visibility:visible;opacity:1;transform:translateX(10px)}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{visibility:visible;opacity:1;transform:translateX(-10px)}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label:before{display:block;position:absolute;top:50%;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;content:""}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label:before{left:-5px;border-right:5px solid #34495e}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label:before{right:-5px;border-left:5px solid #34495e}.dpsp-settings-button-style .dpsp-networks-btns-sidebar .dpsp-network-label{display:none}#dpsp-sticky-bar-wrapper{position:fixed;bottom:0;left:0;width:100%;background:#fff;z-index:1000}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-top{top:0;bottom:auto}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-bottom{top:auto;bottom:0}#dpsp-sticky-bar-wrapper.dpsp-no-animation{visibility:hidden;opacity:0}#dpsp-sticky-bar-wrapper.dpsp-no-animation.opened{visibility:visible;opacity:1}#dpsp-sticky-bar{display:none;position:relative;box-sizing:border-box;margin:7px 0}#dpsp-sticky-bar .dpsp-networks-btns-wrapper{display:flex}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li{float:none;margin-right:3px;margin-bottom:0;margin-left:3px;flex:1}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li:last-of-type{margin-right:0}#dpsp-sticky-bar .dpsp-network-btn{padding-right:1em;padding-left:1em;text-align:center}#dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{display:inline-block;position:relative;overflow:visible;width:20px}#dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{margin-right:5px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top{top:0;bottom:auto}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom{top:auto;bottom:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar{position:static;width:100%!important;margin:0;padding:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-networks-btns-wrapper li{margin:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn{height:44px;max-height:44px;padding-right:0;padding-left:0;border-radius:0;line-height:40px;text-align:center}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{display:inline-block;position:relative;left:auto;float:none;font-size:18px;line-height:40px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{display:block;position:absolute;width:100%;height:26px;line-height:26px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;height:20px;margin-left:0;font-size:11px;line-height:20px;text-align:center}#dpsp-sticky-bar-wrapper.dpsp-animation-1{visibility:hidden;opacity:0;transition:opacity .2s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-animation-1.opened{visibility:visible;opacity:1}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2{bottom:-88px;visibility:hidden;transition:bottom .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2.opened{bottom:0;visibility:visible}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2{top:-88px;bottom:auto;visibility:hidden;transition:top .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2.opened{top:0;visibility:visible}@media screen and (min-width:782px){body.admin-bar #dpsp-sticky-bar-wrapper{margin-top:32px}}.dpsp-click-to-tweet{display:block;position:relative;margin:1.5em 0;font-size:105%;text-decoration:none;transition:all .15s ease-in}.dpsp-click-to-tweet,.dpsp-click-to-tweet:hover{box-shadow:none!important}.dpsp-click-to-tweet.dpsp-has-avatar{min-height:115px;padding-left:120px!important}.dpsp-click-to-tweet.dpsp-has-avatar .avatar{position:absolute;top:15px;left:15px;border-radius:50%;box-shadow:none!important}.dpsp-click-to-tweet-footer:after,.dpsp-click-to-tweet:after{display:block;clear:both;content:""}.dpsp-click-to-tweet-content{display:block;position:relative;font-family:Georgia;font-size:18px;line-height:1.5;text-align:left;z-index:2}.dpsp-click-to-tweet-footer{display:block;margin-top:1em;color:#999;font-family:Arial;font-size:14px;font-weight:700}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-left .dpsp-click-to-tweet-cta{float:left}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-right .dpsp-click-to-tweet-cta{float:right}.dpsp-click-to-tweet-cta{color:#00abf0;line-height:1}.dpsp-click-to-tweet-cta svg{fill:#00abf0}.dpsp-click-to-tweet-cta .dpsp-twitter{display:inline-block;vertical-align:middle}.dpsp-click-to-tweet-cta>span{margin-right:10px;vertical-align:middle}.dpsp-click-to-tweet:hover .dpsp-twitter .dpsp-network-icon-inner{transition:all .2s ease-in-out}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-after{margin-left:-10px;opacity:1}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-before{margin-left:10px;opacity:0}a.dpsp-click-to-tweet.dpsp-style-1{padding:15px 5px 5px 30px;border:0;border-left:5px solid #00abf0;color:#555}a.dpsp-click-to-tweet.dpsp-style-1:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-2{padding:20px 30px;border:0;border-left:5px solid #00abf0;color:#555;background:#f6f6f6}a.dpsp-click-to-tweet.dpsp-style-2:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-3{padding:20px 30px;border:1px solid #e1e1e1;border-radius:3px;color:#838383}a.dpsp-click-to-tweet.dpsp-style-3:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-4{padding:20px 30px;border:4px double #e1e1e1;border-radius:0;color:#838383}a.dpsp-click-to-tweet.dpsp-style-4:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-5{padding:20px 30px;border:0;border-left:0 solid transparent;border-radius:3px;color:#fff;background:#00abf0;transition:border .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta{color:#fff}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta svg{fill:#fff}a.dpsp-click-to-tweet.dpsp-style-5:hover{border-left:9px solid #0099d7;color:#fff}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5>img{transition:margin-left .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5:hover>img{margin-left:-9px}.dpsp-shortcode-follow-wrapper>.dpsp-networks-btns-follow-widget{display:flex;flex-flow:row wrap}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-left>.dpsp-networks-btns-follow-widget{justify-content:flex-start}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-center>.dpsp-networks-btns-follow-widget{justify-content:center}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-right>.dpsp-networks-btns-follow-widget{justify-content:flex-end}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{display:block;position:relative;top:-2px;left:-2px;-moz-box-sizing:border-box;box-sizing:border-box;width:40px;height:40px;border:2px solid;font-size:14px;line-height:36px;text-align:center;-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;align-self:start;flex:0 0 auto}.dpsp-icon-total-share svg,.dpsp-network-icon .dpsp-network-icon-inner svg{position:relative;overflow:visible;width:auto;max-height:14px;transition:fill .15s ease-in-out}.dpsp-size-large .dpsp-icon-total-share svg,.dpsp-size-large .dpsp-network-icon .dpsp-network-icon-inner svg{max-height:22px}.widget_dpsp_social_media_follow .dpsp-network-icon .dpsp-network-icon-inner svg{top:.05em}.dpsp-icon-total-share,.dpsp-network-icon-inner{display:flex;align-items:center;justify-content:center}.dpsp-network-icon-inner{height:36px;transition:all .2s ease}.dpsp-networks-btns-wrapper.dpsp-has-button-icon-animation .dpsp-network-btn:hover .dpsp-network-icon-inner{transition:all .2s cubic-bezier(.62,3.15,.4,-.64);transform:scale(1.5)}#dpsp-pop-up{position:fixed;width:100%;max-width:750px;padding:40px;border-radius:10px;opacity:0;background:#fff;-webkit-transition:all .25s ease-in-out;-moz-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out;transform:translate(-50%,-50%);z-index:9999}#dpsp-pop-up.dpsp-animation-1{transform:translate(-50%,-50%) scale(.1)}#dpsp-pop-up.dpsp-animation-3{transform:translate(-50%)}#dpsp-pop-up.dpsp-animation-4{transform:translate(-50%,-100%)}#dpsp-pop-up-overlay.no-animation,#dpsp-pop-up.no-animation{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}#dpsp-pop-up.opened{top:50%;left:50%;opacity:1;transform:scale(1) translate(-50%,-50%)}#dpsp-pop-up-overlay{display:block;position:fixed;top:0;left:0;width:0;height:0;opacity:0;background:#000;-webkit-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-moz-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-o-transition:opacity .25s ease-in-out,margin .25s ease-in-out;transition:opacity .25s ease-in-out,margin .25s ease-in-out;z-index:9998}#dpsp-pop-up-overlay.opened{width:100%;height:100%;opacity:.65}#dpsp-pop-up-content{text-align:center}#dpsp-pop-up-close{display:block;position:absolute;top:10px;right:10px;width:22px;height:22px;line-height:22px;text-align:center;vertical-align:middle;cursor:pointer}#dpsp-pop-up-close svg{position:relative;top:2px;width:auto;max-height:16px;vertical-align:top;fill:#999}#dpsp-pop-up h2{margin-bottom:1em}#dpsp-pop-up h2 p{font-size:inherit}#dpsp-pop-up h2 p:last-of-type{margin-top:0;margin-bottom:0}#dpsp-pop-up p{margin-top:1em;margin-bottom:1em}#dpsp-post-bottom{width:0;height:0;margin:0;padding:0}@media screen and (max-width:800px){#dpsp-pop-up{width:90%}}@media screen and (max-width:720px){#dpsp-pop-up .dpsp-networks-btns-wrapper li{width:100%;margin-right:0;margin-left:0}}.dpsp-top-shared-post{margin-bottom:2em}.dpsp-top-shared-post-thumbnail{display:block;margin-bottom:1.2em}.dpsp-top-shared-post-thumbnail img{max-width:100%;height:auto}.dpsp-top-shared-post-title{display:inline-block;margin-bottom:.5em}.dpsp-show-total-share-count{position:relative}.dpsp-total-share-wrapper{position:relative;margin-top:10px;color:#5d6368;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;line-height:1.345}.dpsp-total-share-wrapper .dpsp-total-share-count{font-size:15px;line-height:18px;white-space:nowrap}.dpsp-total-share-wrapper .dpsp-icon-total-share{position:absolute;top:6px;left:0;margin-top:0;margin-left:0}.dpsp-total-share-wrapper .dpsp-icon-total-share svg{top:2px;width:auto;max-height:16px;fill:#5d6368}#dpsp-floating-sidebar .dpsp-total-share-wrapper{margin-bottom:10px}#dpsp-floating-sidebar .dpsp-total-share-wrapper .dpsp-icon-total-share{display:none}.dpsp-total-share-wrapper span{display:block;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;text-transform:uppercase}.dpsp-content-wrapper .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper .dpsp-total-share-wrapper{position:absolute;top:50%;box-sizing:border-box;width:60px;height:40px;margin-top:-21px;padding-left:20px}#dpsp-sticky-bar .dpsp-total-share-wrapper{height:32px;margin-top:-16px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile .dpsp-total-share-wrapper{display:none}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before{padding-left:75px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after{padding-right:70px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper{left:0}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper{right:0}.dpsp-button-style-1 .dpsp-network-btn{color:#fff!important}.dpsp-button-style-1 .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-1 .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-1 .dpsp-network-btn .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-1 .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-1 .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-1 .dpsp-network-btn:focus .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-1 .dpsp-network-btn:hover .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{color:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{border-color:var(--customNetworkHoverColor,var(--networkAccent));background-color:var(--customNetworkHoverColor,var(--networkAccent))}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{background:transparent!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count.dpsp-has-label:not(:hover):not(:focus),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(:hover):not(:focus),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn:not(.dpsp-no-label):not(:hover):not(:focus):not(.dpsp-has-count){background:#fff}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{background:var(--customNetworkColor,var(--networkColor,#fff))}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover{color:#fff}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover{border-color:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-4.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-label{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label):not(:hover):not(:focus),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-no-label:not(:hover):not(:focus){background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label) .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{border-color:transparent;background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn .dpsp-network-icon{background:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:focus,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:hover{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important;stroke:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-5 .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border-color:transparent!important;color:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:#fff!important;stroke:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-6.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn{border-color:transparent!important;background:transparent!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:40px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border-color:transparent!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner>svg,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-6.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}.dpsp-button-style-7.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{border-color:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{background:transparent!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important;stroke:#fff}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:40px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkHoverColor,var(--networkAccent))!important;stroke:var(--customNetworkHoverColor,var(--networkAccent))!important}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{margin-right:-10px}.dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}
assets/dist/style-frontend-pro.1.18.2.css DELETED
@@ -1 +0,0 @@
1
- .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{align-self:start;display:block;font-size:14px;line-height:36px;width:40px;height:40px;position:relative;top:-2px;left:-2px;text-align:center;border:2px solid;flex:0 0 auto;-moz-box-sizing:border-box;box-sizing:border-box;-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}.dpsp-icon-total-share svg,.dpsp-network-icon .dpsp-network-icon-inner svg{position:relative;top:.1em;max-height:14px;width:auto;overflow:visible;transition:fill .15s ease-in-out}.dpsp-size-large .dpsp-icon-total-share svg,.dpsp-size-large .dpsp-network-icon .dpsp-network-icon-inner svg{max-height:22px}.widget_dpsp_social_media_follow .dpsp-network-icon .dpsp-network-icon-inner svg{top:.05em}.dpsp-icon-total-share,.dpsp-network-icon-inner{display:flex;align-items:center;justify-content:center}.dpsp-network-icon-inner{transition:all .2s ease;height:36px}.dpsp-networks-btns-wrapper.dpsp-has-button-icon-animation .dpsp-network-btn:hover .dpsp-network-icon-inner{transition:all .2s cubic-bezier(.62,3.15,.4,-.64);transform:scale(1.5)}#dpsp-floating-sidebar{position:fixed;top:50%;transform:translateY(-50%);z-index:9998}#dpsp-floating-sidebar.dpsp-position-left{left:0}#dpsp-floating-sidebar.dpsp-position-right{right:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar li{float:none;margin-left:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn{padding:0;width:40px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important;background:transparent!important}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:41px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:46px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:22px;line-height:22px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner{height:18px}#dpsp-floating-sidebar.dpsp-no-animation{display:none}#dpsp-floating-sidebar.dpsp-no-animation.opened{display:block}#dpsp-floating-sidebar.dpsp-animation-1{opacity:0;transition:opacity .2s ease-in-out}#dpsp-floating-sidebar.dpsp-animation-1.opened{opacity:1}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2{left:-60px;transition:left .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2.opened{left:0}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2.opened{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2{right:-60px;transition:right .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2.opened{right:0}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2.opened{right:10px}.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:0}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded.dpsp-has-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:4px}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle{right:10px}.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{margin-bottom:6px}.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}#dpsp-floating-sidebar.dpsp-style-2 .dpsp-network-btn .dpsp-network-icon{background:none}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper li{position:relative;overflow:visible}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label{position:absolute;z-index:1;display:inline-block;width:auto;white-space:nowrap;top:50%;margin-top:-15px;height:30px;padding:6px 12px;color:#fff;font-size:12px;font-weight:400;line-height:18px;background:#34495e;border-radius:3px;visibility:hidden;opacity:0;transition:all .2s ease-in-out;box-sizing:border-box}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label{left:100%}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label{right:100%}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{transform:translateX(10px);visibility:visible;opacity:1}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{transform:translateX(-10px);visibility:visible;opacity:1}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label:before{content:"";display:block;position:absolute;top:50%;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label:before{left:-5px;border-right:5px solid #34495e}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label:before{right:-5px;border-left:5px solid #34495e}.dpsp-settings-button-style .dpsp-networks-btns-sidebar .dpsp-network-label{display:none}#dpsp-content-top{margin-bottom:1.2em}#dpsp-content-bottom{margin-top:1.2em}.dpsp-share-text{font-weight:700;margin-bottom:10px}.dpsp-shortcode-wrapper{margin-bottom:1.2em}#dpsp-sticky-bar-wrapper{position:fixed;z-index:1000;bottom:0;left:0;width:100%;background:#fff}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-top{bottom:auto;top:0}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-bottom{bottom:0;top:auto}#dpsp-sticky-bar-wrapper.dpsp-no-animation{visibility:hidden;opacity:0}#dpsp-sticky-bar-wrapper.dpsp-no-animation.opened{visibility:visible;opacity:1}#dpsp-sticky-bar{display:none;position:relative;margin:7px 0;box-sizing:border-box}#dpsp-sticky-bar .dpsp-networks-btns-wrapper{display:flex}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li{float:none;flex:1;margin-bottom:0;margin-left:3px;margin-right:3px}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li:last-of-type{margin-right:0}#dpsp-sticky-bar .dpsp-network-btn{padding-left:1em;padding-right:1em;text-align:center}#dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{display:inline-block;position:relative;width:20px;overflow:visible}#dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{margin-right:5px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top{bottom:auto;top:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom{bottom:0;top:auto}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar{position:static;margin:0;width:100%!important;padding:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-networks-btns-wrapper li{margin:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn{padding-left:0;padding-right:0;text-align:center;height:44px;max-height:44px;line-height:40px;border-radius:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{position:relative;left:auto;display:inline-block;float:none;font-size:18px;line-height:40px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{position:absolute;display:block;width:100%;height:26px;line-height:26px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;margin-left:0;font-size:11px;text-align:center;height:20px;line-height:20px}#dpsp-sticky-bar-wrapper.dpsp-animation-1{visibility:hidden;opacity:0;transition:opacity .2s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-animation-1.opened{visibility:visible;opacity:1}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2{visibility:hidden;bottom:-88px;transition:bottom .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2.opened{visibility:visible;bottom:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2{visibility:hidden;top:-88px;bottom:auto;transition:top .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2.opened{visibility:visible;top:0}@media screen and (min-width:782px){body.admin-bar #dpsp-sticky-bar-wrapper{margin-top:32px}}.dpsp-networks-btns-wrapper{list-style:none!important;padding:0!important;margin:0!important}.dpsp-networks-btns-wrapper:after{content:"";display:block;height:0;clear:both}.dpsp-networks-btns-wrapper li{float:left;-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;margin:0;padding:0;border:0;list-style-type:none!important}.dpsp-networks-btns-wrapper li:before{display:none!important}.dpsp-networks-btns-wrapper li:first-child{margin-left:0!important}.dpsp-networks-btns-wrapper .dpsp-network-btn{position:relative;text-align:center;display:inline-flex;text-decoration:none!important;text-transform:unset!important;height:40px;min-width:40px;font-family:Arial,sans-serif;font-weight:700;font-size:14px;line-height:36px;vertical-align:middle;padding:0;border:2px solid;max-height:40px;width:100%;-moz-box-sizing:border-box;box-sizing:border-box;-moz-transition:all .15s ease-in;-webkit-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;box-shadow:none;cursor:pointer;border-radius:0}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-label{padding-left:.5em;padding-right:.5em}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-label{padding-right:.25em}.dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border:2px solid;box-shadow:0 0 0 3px rgba(21,156,228,.4);box-shadow:0 0 0 3px var(--networkHover);outline:none}.dpsp-networks-btns-wrapper .dpsp-network-btn:after{content:"";display:block;height:0;clear:both}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label{padding-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:28px}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-count{font-size:13px;font-weight:400;padding-left:.25em;padding-right:.5em;white-space:nowrap}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;margin-left:0;font-size:11px;text-align:center;height:20px;line-height:20px}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-label-wrapper{display:none}.dpsp-button-style-6 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper,.dpsp-button-style-7 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper{display:inline-block;text-indent:2em}.dpsp-networks-btns-wrapper.dpsp-column-1 li{width:100%;margin-left:0}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-1 li{margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-2 li{width:50%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-2 li{width:49%}.dpsp-networks-btns-wrapper.dpsp-column-2 li:nth-child(2n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-3 li{width:33.3333%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-3 li{width:32%}.dpsp-networks-btns-wrapper.dpsp-column-3 li:nth-child(3n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-4 li{width:25%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-4 li{width:23.5%}.dpsp-networks-btns-wrapper.dpsp-column-4 li:nth-child(4n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-5 li{width:20%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-5 li{width:18.4%}.dpsp-networks-btns-wrapper.dpsp-column-5 li:nth-child(5n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-6 li{width:16.6666%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-6 li{width:15%}.dpsp-networks-btns-wrapper.dpsp-column-6 li:nth-child(6n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-7 li{width:14.285%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-7 li{width:13%}.dpsp-networks-btns-wrapper.dpsp-column-7 li:nth-child(6n){margin-right:0}.dpsp-shape-circle .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:not(.dpsp-no-label){padding-right:10px}.dpsp-no-labels .dpsp-networks-btns-wrapper .dpsp-network-btn{padding:0!important;text-align:center}.dpsp-facebook{--networkColor:rgba(58,87,154,0.4);--networkHover:rgba(51,77,135,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon{border-color:#3a579a;background:#3a579a;color:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon svg{fill:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon{border-color:#334d87;background:#334d87;color:#334d87}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon svg{fill:#334d87}.dpsp-twitter{--networkColor:rgba(0,171,240,0.4);--networkHover:rgba(0,153,215,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon{border-color:#00abf0;background:#00abf0;color:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon svg{fill:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon{border-color:#0099d7;background:#0099d7;color:#0099d7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon svg{fill:#0099d7}.dpsp-pinterest{--networkColor:rgba(201,34,40,0.4);--networkHover:rgba(179,30,36,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon{border-color:#c92228;background:#c92228;color:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon svg{fill:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon{border-color:#b31e24;background:#b31e24;color:#b31e24}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon svg{fill:#b31e24}.dpsp-linkedin{--networkColor:rgba(0,119,181,0.4);--networkHover:rgba(0,102,156,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon{border-color:#0077b5;background:#0077b5;color:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon svg{fill:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon{border-color:#00669c;background:#00669c;color:#00669c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon svg{fill:#00669c}.dpsp-reddit{--networkColor:rgba(255,87,0,0.4);--networkHover:rgba(255,66,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon{border-color:#ff5700;background:#ff5700;color:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon svg{fill:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon{border-color:#ff4200;background:#ff4200;color:#ff4200}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon svg{fill:#ff4200}.dpsp-vkontakte{--networkColor:rgba(77,117,163,0.4);--networkHover:rgba(69,105,146,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon{border-color:#4d75a3;background:#4d75a3;color:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon svg{fill:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon{border-color:#456992;background:#456992;color:#456992}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon svg{fill:#456992}.dpsp-whatsapp{--networkColor:rgba(37,211,102,0.4);--networkHover:rgba(33,201,96,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon{border-color:#25d366;background:#25d366;color:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon svg{fill:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon{border-color:#21c960;background:#21c960;color:#21c960}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon svg{fill:#21c960}.dpsp-instagram{--networkColor:rgba(188,42,141,0.4);--networkHover:rgba(169,37,126,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon{border-color:#bc2a8d;background:#bc2a8d;color:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon svg{fill:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon{border-color:#a9257e;background:#a9257e;color:#a9257e}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon svg{fill:#a9257e}.dpsp-youtube{--networkColor:rgba(187,0,0,0.4);--networkHover:rgba(162,0,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon{border-color:#b00;background:#b00;color:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon svg{fill:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon{border-color:#a20000;background:#a20000;color:#a20000}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon svg{fill:#a20000}.dpsp-vimeo{--networkColor:rgba(68,187,255,0.4);--networkHover:rgba(43,178,255,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon{border-color:#4bf;background:#4bf;color:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon svg{fill:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon{border-color:#2bb2ff;background:#2bb2ff;color:#2bb2ff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon svg{fill:#2bb2ff}.dpsp-soundcloud{--networkColor:rgba(255,85,0,0.4);--networkHover:rgba(230,76,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon{border-color:#f50;background:#f50;color:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon svg{fill:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon{border-color:#e64c00;background:#e64c00;color:#e64c00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon svg{fill:#e64c00}.dpsp-twitch{--networkColor:rgba(100,65,165,0.4);--networkHover:rgba(89,58,147,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon{border-color:#6441a5;background:#6441a5;color:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon svg{fill:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon{border-color:#593a93;background:#593a93;color:#593a93}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon svg{fill:#593a93}.dpsp-yummly{--networkColor:rgba(229,90,39,0.4);--networkHover:rgba(216,77,26,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon{border-color:#e55a27;background:#e55a27;color:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon svg{fill:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon{border-color:#d84d1a;background:#d84d1a;color:#d84d1a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon svg{fill:#d84d1a}.dpsp-behance{--networkColor:rgba(0,92,255,0.4);--networkHover:rgba(0,83,230,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon{border-color:#005cff;background:#005cff;color:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon svg{fill:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon{border-color:#0053e6;background:#0053e6;color:#0053e6}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon svg{fill:#0053e6}.dpsp-email{--networkColor:rgba(39,174,96,0.4);--networkHover:rgba(35,158,87,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon{border-color:#27ae60;background:#27ae60;color:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon svg{fill:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon{border-color:#239e57;background:#239e57;color:#239e57}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon svg{fill:#239e57}.dpsp-print{--networkColor:rgba(189,195,199,0.4);--networkHover:rgba(175,182,187,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon{border-color:#bdc3c7;background:#bdc3c7;color:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon svg{fill:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon{border-color:#afb6bb;background:#afb6bb;color:#afb6bb}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon svg{fill:#afb6bb}.dpsp-pocket{--networkColor:rgba(237,64,85,0.4);--networkHover:rgba(230,60,81,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon{border-color:#ed4055;background:#ed4055;color:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon svg{fill:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon{border-color:#e63c51;background:#e63c51;color:#e63c51}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon svg{fill:#e63c51}.dpsp-buffer{--networkColor:rgba(41,50,59,0.4);--networkHover:rgba(33,40,47,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon{border-color:#29323b;background:#29323b;color:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon svg{fill:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon{border-color:#21282f;background:#21282f;color:#21282f}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon svg{fill:#21282f}.dpsp-tumblr{--networkColor:rgba(53,70,92,0.4);--networkHover:rgba(46,61,80,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon{border-color:#35465c;background:#35465c;color:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon svg{fill:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon{border-color:#2e3d50;background:#2e3d50;color:#2e3d50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon svg{fill:#2e3d50}.dpsp-xing{--networkColor:rgba(0,136,141,0.4);--networkHover:rgba(0,106,108,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon{border-color:#00888d;background:#00888d;color:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon svg{fill:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon{border-color:#006a6c;background:#006a6c;color:#006a6c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon svg{fill:#006a6c}.dpsp-github{--networkColor:rgba(51,51,51,0.4);--networkHover:rgba(34,34,34,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon{border-color:#333;background:#333;color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon svg{fill:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon{border-color:#222;background:#222;color:#222}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon svg{fill:#222}.dpsp-flipboard{--networkColor:rgba(225,40,40,0.4);--networkHover:rgba(210,29,29,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon{border-color:#e12828;background:#e12828;color:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon svg{fill:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon{border-color:#d21d1d;background:#d21d1d;color:#d21d1d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon svg{fill:#d21d1d}.dpsp-telegram{--networkColor:rgba(0,136,204,0.4);--networkHover:rgba(0,119,179,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon{border-color:#08c;background:#08c;color:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon svg{fill:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon{border-color:#0077b3;background:#0077b3;color:#0077b3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon svg{fill:#0077b3}.dpsp-medium{--networkColor:rgba(51,51,51,0.4);--networkHover:rgba(17,17,17,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon{border-color:#333;background:#333;color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon svg{fill:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon{border-color:#111;background:#111;color:#111}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon svg{fill:#111}.dpsp-mix{--networkColor:rgba(253,130,53,0.4);--networkHover:rgba(253,114,28,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon{border-color:#fd8235;background:#fd8235;color:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon svg{fill:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon{border-color:#fd721c;background:#fd721c;color:#fd721c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon svg{fill:#fd721c}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-bottomleft:4px;border-top-left-radius:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-no-label.dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}.dpsp-shape-circle .dpsp-network-btn{border-radius:30px}.dpsp-shape-circle .dpsp-network-btn .dpsp-network-icon{border-radius:30px;overflow:hidden}.dpsp-has-spacing .dpsp-networks-btns-wrapper li{margin-bottom:10px;margin-right:2%;margin-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn{height:32px;min-width:32px;line-height:28px;max-height:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon{line-height:28px;width:32px;height:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon-inner{height:28px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{height:46px;min-width:46px;line-height:42px;max-height:46px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{line-height:42px;width:46px;height:46px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon-inner{height:42px}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn{height:45px;min-width:45px;line-height:41px;max-height:45px;padding-left:0}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{line-height:41px;width:45px}.dpsp-size-medium .dpsp-networks-btns-sidebar.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:26px;line-height:26px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn{height:50px;min-width:50px;line-height:46px;max-height:50px;padding-left:0}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{line-height:46px;width:50px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:30px;line-height:30px}@media screen and (max-width:720px){.dpsp-hide-on-mobile{display:none!important}}.dpsp-button-style-1 .dpsp-network-btn{color:#fff!important}.dpsp-button-style-1 .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-1 .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-1 .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{color:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-facebook.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-facebook .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-facebook.dpsp-no-label{background:#334d87;border-color:#334d87}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitter.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitter .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitter.dpsp-no-label{background:#0099d7;border-color:#0099d7}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pinterest.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pinterest .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pinterest.dpsp-no-label{background:#b31e24;border-color:#b31e24}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-linkedin.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-linkedin .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-linkedin.dpsp-no-label{background:#00669c;border-color:#00669c}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-reddit.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-reddit .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-reddit.dpsp-no-label{background:#ff4200;border-color:#ff4200}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vkontakte.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vkontakte .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vkontakte.dpsp-no-label{background:#456992;border-color:#456992}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-whatsapp.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-whatsapp .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-whatsapp.dpsp-no-label{background:#21c960;border-color:#21c960}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-instagram.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-instagram .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-instagram.dpsp-no-label{background:#a9257e;border-color:#a9257e}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-youtube.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-youtube .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-youtube.dpsp-no-label{background:#a20000;border-color:#a20000}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vimeo.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vimeo .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-vimeo.dpsp-no-label{background:#2bb2ff;border-color:#2bb2ff}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-soundcloud.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-soundcloud .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-soundcloud.dpsp-no-label{background:#e64c00;border-color:#e64c00}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitch.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitch .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-twitch.dpsp-no-label{background:#593a93;border-color:#593a93}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-yummly.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-yummly .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-yummly.dpsp-no-label{background:#d84d1a;border-color:#d84d1a}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-behance.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-behance .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-behance.dpsp-no-label{background:#0053e6;border-color:#0053e6}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-email.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-email .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-email.dpsp-no-label{background:#239e57;border-color:#239e57}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-print.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-print .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-print.dpsp-no-label{background:#afb6bb;border-color:#afb6bb}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pocket.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pocket .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-pocket.dpsp-no-label{background:#e63c51;border-color:#e63c51}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-buffer.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-buffer .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-buffer.dpsp-no-label{background:#21282f;border-color:#21282f}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-tumblr.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-tumblr .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-tumblr.dpsp-no-label{background:#2e3d50;border-color:#2e3d50}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-xing.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-xing .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-xing.dpsp-no-label{background:#006a6c;border-color:#006a6c}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-github.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-github .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-github.dpsp-no-label{background:#222;border-color:#222}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-flipboard.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-flipboard .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-flipboard.dpsp-no-label{background:#d21d1d;border-color:#d21d1d}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-telegram.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-telegram .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-telegram.dpsp-no-label{background:#0077b3;border-color:#0077b3}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-medium.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-medium .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-medium.dpsp-no-label{background:#111;border-color:#111}.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-mix.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-mix .dpsp-network-icon,.dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-mix.dpsp-no-label{background:#fd721c;border-color:#fd721c}.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{background:transparent!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count.dpsp-has-label:not(:hover):not(:focus),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn:not(.dpsp-no-label):not(:hover):not(:focus):not(.dpsp-has-count){background:transparent}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover{color:#fff}.dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{background:transparent;border-color:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover{border-color:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover .dpsp-network-icon{background:transparent;border-color:transparent}.dpsp-button-style-4.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-label{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label):not(:hover):not(:focus),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(:hover):not(:focus){background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label) .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{border-color:transparent;background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon svg,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon svg{fill:#fff}.dpsp-button-style-5 .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{color:#fff!important;border-color:transparent!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon svg,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-6.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn{background:transparent!important;border-color:transparent!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:40px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border-color:transparent!important}.dpsp-button-style-6.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-6.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:32px}.dpsp-button-style-7.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{border-color:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:40px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{background:transparent!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon svg,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon svg{fill:#fff!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:32px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:40px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{margin-right:-10px}.dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{max-width:32px}.dpsp-pin-it-wrapper{position:relative!important;display:inline-table!important;line-height:0}.dpsp-pin-it-wrapper.aligncenter,.dpsp-pin-it-wrapper.alignleft,.dpsp-pin-it-wrapper.alignright{display:table!important}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-button{visibility:visible;background-color:#c92228!important;color:#fff!important}.dpsp-pin-it-wrapper.aligncenter{margin-left:auto;margin-right:auto}.wp-block-gallery.is-cropped .blocks-gallery-item .dpsp-pin-it-wrapper{height:100%;flex:1;object-fit:cover}.dpsp-pin-it-button{display:inline-block;position:absolute;background:transparent;color:transparent!important;text-decoration:none!important;border:0!important;height:40px!important;width:auto!important;font-family:Arial;font-weight:700;font-size:14px;line-height:40px;vertical-align:middle;transition:all .25s ease-in-out;visibility:hidden;box-shadow:none!important;background-image:none!important}.dpsp-pin-it-button:hover{color:#fff;background:#b31e24;box-shadow:none!important}.dpsp-pin-it-button.dpsp-pin-it-button-has-label{padding-right:20px}.dpsp-pin-it-button.dpsp-pin-it-button-has-label:after{display:inline-block;content:attr(title)}.dpsp-pin-it-button .dpsp-network-icon{display:inline-block;width:40px;height:40px;text-align:center;vertical-align:top}.dpsp-pin-it-button .dpsp-network-icon svg{height:20px;display:inline-block;vertical-align:middle;fill:#fff}.dpsp-pin-it-button.dpsp-pin-it-button-top-left{top:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-top-right{top:10px;right:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-left{bottom:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-right{bottom:10px;right:10px}.dpsp-pin-it-button.dpsp-pin-it-button-center{top:50%;left:50%;transform:translate(-50%,-50%);white-space:nowrap}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rectangular{border-radius:0}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rounded{border-radius:4px}.dpsp-pin-it-button.dpsp-pin-it-button-shape-circle{border-radius:40px}.dpsp-pin-it-wrapper .dpsp-pin-it-overlay{display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;opacity:0;visibility:hidden;transition:all .25s ease-in-out;pointer-events:none}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-overlay{opacity:.4;visibility:visible}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto{text-align:center}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto li{display:inline-block;float:none}.dpsp-show-total-share-count{position:relative}.dpsp-total-share-wrapper{position:relative;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;margin-top:10px;line-height:1.345;color:#5d6368}.dpsp-total-share-wrapper .dpsp-total-share-count{font-size:15px;line-height:18px;white-space:nowrap}.dpsp-total-share-wrapper .dpsp-icon-total-share{position:absolute;top:6px;left:0;margin-left:0;margin-top:0}.dpsp-total-share-wrapper .dpsp-icon-total-share svg{max-height:16px;top:2px;width:auto;fill:#5d6368}#dpsp-floating-sidebar .dpsp-total-share-wrapper{margin-bottom:10px}#dpsp-floating-sidebar .dpsp-total-share-wrapper .dpsp-icon-total-share{display:none}.dpsp-total-share-wrapper span{display:block;font-size:9px;font-weight:700;text-transform:uppercase;text-align:center}.dpsp-content-wrapper .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper .dpsp-total-share-wrapper{position:absolute;width:60px;height:40px;margin-top:-21px;top:50%;padding-left:20px;box-sizing:border-box}#dpsp-sticky-bar .dpsp-total-share-wrapper{height:32px;margin-top:-16px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile .dpsp-total-share-wrapper{display:none}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before{padding-left:70px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after{padding-right:70px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper{left:0}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper{right:0}#dpsp-pop-up{position:fixed;max-width:750px;width:100%;padding:40px;background:#fff;border-radius:10px;z-index:9999;opacity:0;transform:translate(-50%,-50%);-moz-transition:all .25s ease-in-out;-webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out}#dpsp-pop-up.dpsp-animation-1{transform:translate(-50%,-50%) scale(.1)}#dpsp-pop-up.dpsp-animation-3{transform:translate(-50%)}#dpsp-pop-up.dpsp-animation-4{transform:translate(-50%,-100%)}#dpsp-pop-up-overlay.no-animation,#dpsp-pop-up.no-animation{-moz-transition:none;-webkit-transition:none;-o-transition:none;transition:none}#dpsp-pop-up.opened{top:50%;left:50%;transform:scale(1) translate(-50%,-50%);opacity:1}#dpsp-pop-up-overlay{display:block;position:fixed;top:0;left:0;width:0;height:0;z-index:9998;background:#000;opacity:0;-moz-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-o-transition:opacity .25s ease-in-out,margin .25s ease-in-out;transition:opacity .25s ease-in-out,margin .25s ease-in-out}#dpsp-pop-up-overlay.opened{width:100%;height:100%;opacity:.65}#dpsp-pop-up-content{text-align:center}#dpsp-pop-up-close{position:absolute;top:10px;right:10px;display:block;width:22px;height:22px;line-height:22px;vertical-align:middle;text-align:center;cursor:pointer}#dpsp-pop-up-close svg{position:relative;top:2px;max-height:16px;width:auto;vertical-align:top;fill:#999}#dpsp-pop-up h2{margin-bottom:1em}#dpsp-pop-up h2 p{font-size:inherit}#dpsp-pop-up h2 p:last-of-type{margin-top:0;margin-bottom:0}#dpsp-pop-up p{margin-top:1em;margin-bottom:1em}#dpsp-post-bottom{height:0;width:0;padding:0;margin:0}@media screen and (max-width:800px){#dpsp-pop-up{width:90%}}@media screen and (max-width:720px){#dpsp-pop-up .dpsp-networks-btns-wrapper li{width:100%;margin-left:0;margin-right:0}}.dpsp-top-shared-post{margin-bottom:2em}.dpsp-top-shared-post-thumbnail{display:block;margin-bottom:1.2em}.dpsp-top-shared-post-thumbnail img{max-width:100%;height:auto}.dpsp-top-shared-post-title{display:inline-block;margin-bottom:.5em}.dpsp-shortcode-follow-wrapper>.dpsp-networks-btns-follow-widget{display:flex;flex-flow:row wrap}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-left>.dpsp-networks-btns-follow-widget{justify-content:flex-start}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-center>.dpsp-networks-btns-follow-widget{justify-content:center}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-right>.dpsp-networks-btns-follow-widget{justify-content:flex-end}.dpsp-click-to-tweet{position:relative;display:block;margin:1.5em 0;font-size:105%;text-decoration:none;transition:all .15s ease-in}.dpsp-click-to-tweet,.dpsp-click-to-tweet:hover{box-shadow:none!important}.dpsp-click-to-tweet.dpsp-has-avatar{padding-left:120px!important;min-height:115px}.dpsp-click-to-tweet.dpsp-has-avatar .avatar{position:absolute;top:15px;left:15px;border-radius:50%;box-shadow:none!important}.dpsp-click-to-tweet-footer:after,.dpsp-click-to-tweet:after{content:"";display:block;clear:both}.dpsp-click-to-tweet-content{display:block;position:relative;z-index:2;font-family:Georgia;font-size:18px;line-height:1.5;text-align:left}.dpsp-click-to-tweet-footer{display:block;font-family:Arial;font-weight:700;font-size:14px;color:#999;margin-top:1em}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-left .dpsp-click-to-tweet-cta{float:left}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-right .dpsp-click-to-tweet-cta{float:right}.dpsp-click-to-tweet-cta{color:#00abf0;line-height:1}.dpsp-click-to-tweet-cta svg{fill:#00abf0}.dpsp-click-to-tweet-cta .dpsp-twitter{display:inline-block;position:relative;font-size:20px;width:20px;height:20px;vertical-align:middle}.dpsp-click-to-tweet-cta>span{margin-right:10px;vertical-align:middle}.dpsp-click-to-tweet:hover .dpsp-twitter .dpsp-network-icon-inner{transition:all .2s ease-in-out}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-after{margin-left:-10px;opacity:1}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-before{margin-left:10px;opacity:0}a.dpsp-click-to-tweet.dpsp-style-1{border:0;border-left:5px solid #00abf0;color:#555;padding:15px 5px 5px 30px}a.dpsp-click-to-tweet.dpsp-style-1:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-2{border:0;border-left:5px solid #00abf0;color:#555;background:#f6f6f6;padding:20px 30px}a.dpsp-click-to-tweet.dpsp-style-2:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-3{border:1px solid #e1e1e1;border-radius:3px;color:#838383;padding:20px 30px}a.dpsp-click-to-tweet.dpsp-style-3:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-4{border:4px double #e1e1e1;border-radius:0;color:#838383;padding:20px 30px}a.dpsp-click-to-tweet.dpsp-style-4:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-5{border:0;border-left:0 solid transparent;border-radius:3px;color:#fff;background:#00abf0;padding:20px 30px;transition:border .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta{color:#fff}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta svg{fill:#fff}a.dpsp-click-to-tweet.dpsp-style-5:hover{color:#fff;border-left:9px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5>img{transition:margin-left .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5:hover>img{margin-left:-9px}
 
assets/dist/style-frontend-pro.1.19.0.css ADDED
@@ -0,0 +1 @@
 
1
+ #dpsp-content-top{margin-bottom:1.2em}#dpsp-content-bottom{margin-top:1.2em}.dpsp-share-text{margin-bottom:10px;font-weight:700}.dpsp-networks-btns-wrapper{margin:0!important;padding:0!important;list-style:none!important}.dpsp-networks-btns-wrapper:after{display:block;clear:both;height:0;content:""}.dpsp-networks-btns-wrapper li{float:left;margin:0;padding:0;border:0;list-style-type:none!important;-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}.dpsp-networks-btns-wrapper li:before{display:none!important}.dpsp-networks-btns-wrapper li:first-child{margin-left:0!important}.dpsp-networks-btns-wrapper .dpsp-network-btn{display:flex;position:relative;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;min-width:40px;height:40px;max-height:40px;padding:0;border:2px solid;border-radius:0;box-shadow:none;font-family:Arial,sans-serif;font-size:14px;font-weight:700;line-height:36px;text-align:center;vertical-align:middle;text-decoration:none!important;text-transform:unset!important;cursor:pointer;-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-label{padding-right:.5em;padding-left:.5em}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-label{padding-right:.25em}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label{width:40px}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:0}.dpsp-button-style-6 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-button-style-7 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:-2px}.dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border:2px solid;outline:none;box-shadow:0 0 0 3px rgba(21,156,228,.4);box-shadow:0 0 0 3px var(--networkHover)}.dpsp-networks-btns-wrapper .dpsp-network-btn:after{display:block;clear:both;height:0;content:""}.dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label{padding-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:28px}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-count{padding-right:.5em;padding-left:.25em;font-size:13px;font-weight:400;white-space:nowrap}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;height:20px;margin-left:0;padding-left:.5em;font-size:11px;line-height:20px;text-align:center}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sticky-bar .dpsp-network-btn .dpsp-network-count{padding-left:.5em}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-label-wrapper{display:none}.dpsp-button-style-6 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper,.dpsp-button-style-7 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper{display:inline-block;text-indent:2em}.dpsp-networks-btns-wrapper.dpsp-column-1 li{width:100%;margin-left:0}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-1 li{margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-2 li{width:50%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-2 li{width:49%}.dpsp-networks-btns-wrapper.dpsp-column-2 li:nth-child(2n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-3 li{width:33.3333%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-3 li{width:32%}.dpsp-networks-btns-wrapper.dpsp-column-3 li:nth-child(3n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-4 li{width:25%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-4 li{width:23.5%}.dpsp-networks-btns-wrapper.dpsp-column-4 li:nth-child(4n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-5 li{width:20%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-5 li{width:18.4%}.dpsp-networks-btns-wrapper.dpsp-column-5 li:nth-child(5n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-6 li{width:16.6666%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-6 li{width:15%}.dpsp-networks-btns-wrapper.dpsp-column-6 li:nth-child(6n){margin-right:0}.dpsp-networks-btns-wrapper.dpsp-column-7 li{width:14.285%}.dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-7 li{width:13%}.dpsp-networks-btns-wrapper.dpsp-column-7 li:nth-child(6n){margin-right:0}.dpsp-shape-circle .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:not(.dpsp-no-label){padding-right:10px}.dpsp-no-labels .dpsp-networks-btns-wrapper .dpsp-network-btn{padding:0!important;text-align:center}.dpsp-facebook{--networkAccent:#334d87;--networkColor:#3a579a;--networkHover:rgba(51,77,135,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook{border-color:#3a579a;color:#3a579a;background:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:not(:hover):not(:active){color:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon{border-color:#3a579a;color:#3a579a;background:#3a579a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#3a579a));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#3a579a))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#3a579a));stroke:var(--customNetworkColor,var(--networkColor,#3a579a));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon{border-color:#334d87;color:#334d87;background:#334d87}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#334d87}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-facebook:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#334d87));stroke:var(--customNetworkHoverColor,var(--networkHover,#334d87))}.dpsp-twitter{--networkAccent:#0099d7;--networkColor:#00abf0;--networkHover:rgba(0,153,215,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter{border-color:#00abf0;color:#00abf0;background:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:not(:hover):not(:active){color:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon{border-color:#00abf0;color:#00abf0;background:#00abf0}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#00abf0));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#00abf0))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#00abf0));stroke:var(--customNetworkColor,var(--networkColor,#00abf0));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon{border-color:#0099d7;color:#0099d7;background:#0099d7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#0099d7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitter:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#0099d7));stroke:var(--customNetworkHoverColor,var(--networkHover,#0099d7))}.dpsp-pinterest{--networkAccent:#b31e24;--networkColor:#c92228;--networkHover:rgba(179,30,36,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest{border-color:#c92228;color:#c92228;background:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:not(:hover):not(:active){color:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon{border-color:#c92228;color:#c92228;background:#c92228}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#c92228));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#c92228))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#c92228));stroke:var(--customNetworkColor,var(--networkColor,#c92228));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon{border-color:#b31e24;color:#b31e24;background:#b31e24}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#b31e24}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pinterest:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#b31e24));stroke:var(--customNetworkHoverColor,var(--networkHover,#b31e24))}.dpsp-linkedin{--networkAccent:#00669c;--networkColor:#0077b5;--networkHover:rgba(0,102,156,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin{border-color:#0077b5;color:#0077b5;background:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:not(:hover):not(:active){color:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon{border-color:#0077b5;color:#0077b5;background:#0077b5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#0077b5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#0077b5))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#0077b5));stroke:var(--customNetworkColor,var(--networkColor,#0077b5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon{border-color:#00669c;color:#00669c;background:#00669c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#00669c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-linkedin:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#00669c));stroke:var(--customNetworkHoverColor,var(--networkHover,#00669c))}.dpsp-reddit{--networkAccent:#ff4200;--networkColor:#ff5700;--networkHover:rgba(255,66,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit{border-color:#ff5700;color:#ff5700;background:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:not(:hover):not(:active){color:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon{border-color:#ff5700;color:#ff5700;background:#ff5700}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#ff5700));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#ff5700))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#ff5700));stroke:var(--customNetworkColor,var(--networkColor,#ff5700));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon{border-color:#ff4200;color:#ff4200;background:#ff4200}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#ff4200}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-reddit:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#ff4200));stroke:var(--customNetworkHoverColor,var(--networkHover,#ff4200))}.dpsp-vkontakte{--networkAccent:#456992;--networkColor:#4d75a3;--networkHover:rgba(69,105,146,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte{border-color:#4d75a3;color:#4d75a3;background:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:not(:hover):not(:active){color:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon{border-color:#4d75a3;color:#4d75a3;background:#4d75a3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#4d75a3));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#4d75a3))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#4d75a3));stroke:var(--customNetworkColor,var(--networkColor,#4d75a3));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon{border-color:#456992;color:#456992;background:#456992}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#456992}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vkontakte:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#456992));stroke:var(--customNetworkHoverColor,var(--networkHover,#456992))}.dpsp-whatsapp{--networkAccent:#21c960;--networkColor:#25d366;--networkHover:rgba(33,201,96,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp{border-color:#25d366;color:#25d366;background:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:not(:hover):not(:active){color:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon{border-color:#25d366;color:#25d366;background:#25d366}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#25d366));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#25d366))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#25d366));stroke:var(--customNetworkColor,var(--networkColor,#25d366));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon{border-color:#21c960;color:#21c960;background:#21c960}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#21c960}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-whatsapp:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#21c960));stroke:var(--customNetworkHoverColor,var(--networkHover,#21c960))}.dpsp-instagram{--networkAccent:#a9257e;--networkColor:#bc2a8d;--networkHover:rgba(169,37,126,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram{border-color:#bc2a8d;color:#bc2a8d;background:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:not(:hover):not(:active){color:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon{border-color:#bc2a8d;color:#bc2a8d;background:#bc2a8d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#bc2a8d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#bc2a8d))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#bc2a8d));stroke:var(--customNetworkColor,var(--networkColor,#bc2a8d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon{border-color:#a9257e;color:#a9257e;background:#a9257e}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#a9257e}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-instagram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#a9257e));stroke:var(--customNetworkHoverColor,var(--networkHover,#a9257e))}.dpsp-youtube{--networkAccent:#a20000;--networkColor:#b00;--networkHover:rgba(162,0,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube{border-color:#b00;color:#b00;background:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:not(:hover):not(:active){color:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon{border-color:#b00;color:#b00;background:#b00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#b00));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#b00))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#b00));stroke:var(--customNetworkColor,var(--networkColor,#b00));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon{border-color:#a20000;color:#a20000;background:#a20000}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#a20000}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-youtube:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#a20000));stroke:var(--customNetworkHoverColor,var(--networkHover,#a20000))}.dpsp-vimeo{--networkAccent:#2bb2ff;--networkColor:#4bf;--networkHover:rgba(43,178,255,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo{border-color:#4bf;color:#4bf;background:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:not(:hover):not(:active){color:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon{border-color:#4bf;color:#4bf;background:#4bf}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#4bf));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#4bf))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#4bf));stroke:var(--customNetworkColor,var(--networkColor,#4bf));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon{border-color:#2bb2ff;color:#2bb2ff;background:#2bb2ff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#2bb2ff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-vimeo:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#2bb2ff));stroke:var(--customNetworkHoverColor,var(--networkHover,#2bb2ff))}.dpsp-soundcloud{--networkAccent:#e64c00;--networkColor:#f50;--networkHover:rgba(230,76,0,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud{border-color:#f50;color:#f50;background:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:not(:hover):not(:active){color:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon{border-color:#f50;color:#f50;background:#f50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#f50));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#f50))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#f50));stroke:var(--customNetworkColor,var(--networkColor,#f50));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon{border-color:#e64c00;color:#e64c00;background:#e64c00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#e64c00}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-soundcloud:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#e64c00));stroke:var(--customNetworkHoverColor,var(--networkHover,#e64c00))}.dpsp-twitch{--networkAccent:#593a93;--networkColor:#6441a5;--networkHover:rgba(89,58,147,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch{border-color:#6441a5;color:#6441a5;background:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:not(:hover):not(:active){color:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon{border-color:#6441a5;color:#6441a5;background:#6441a5}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#6441a5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#6441a5))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#6441a5));stroke:var(--customNetworkColor,var(--networkColor,#6441a5));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon{border-color:#593a93;color:#593a93;background:#593a93}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#593a93}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-twitch:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#593a93));stroke:var(--customNetworkHoverColor,var(--networkHover,#593a93))}.dpsp-yummly{--networkAccent:#d84d1a;--networkColor:#e55a27;--networkHover:rgba(216,77,26,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly{border-color:#e55a27;color:#e55a27;background:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:not(:hover):not(:active){color:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon{border-color:#e55a27;color:#e55a27;background:#e55a27}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#e55a27));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#e55a27))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#e55a27));stroke:var(--customNetworkColor,var(--networkColor,#e55a27));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon{border-color:#d84d1a;color:#d84d1a;background:#d84d1a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#d84d1a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-yummly:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#d84d1a));stroke:var(--customNetworkHoverColor,var(--networkHover,#d84d1a))}.dpsp-behance{--networkAccent:#0053e6;--networkColor:#005cff;--networkHover:rgba(0,83,230,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance{border-color:#005cff;color:#005cff;background:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:not(:hover):not(:active){color:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon{border-color:#005cff;color:#005cff;background:#005cff}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#005cff));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#005cff))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#005cff));stroke:var(--customNetworkColor,var(--networkColor,#005cff));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon{border-color:#0053e6;color:#0053e6;background:#0053e6}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#0053e6}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-behance:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#0053e6));stroke:var(--customNetworkHoverColor,var(--networkHover,#0053e6))}.dpsp-email{--networkAccent:#239e57;--networkColor:#27ae60;--networkHover:rgba(35,158,87,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email{border-color:#27ae60;color:#27ae60;background:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:not(:hover):not(:active){color:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon{border-color:#27ae60;color:#27ae60;background:#27ae60}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#27ae60));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#27ae60))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#27ae60));stroke:var(--customNetworkColor,var(--networkColor,#27ae60));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon{border-color:#239e57;color:#239e57;background:#239e57}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#239e57}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-email:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#239e57));stroke:var(--customNetworkHoverColor,var(--networkHover,#239e57))}.dpsp-print{--networkAccent:#afb6bb;--networkColor:#bdc3c7;--networkHover:rgba(175,182,187,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print{border-color:#bdc3c7;color:#bdc3c7;background:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:not(:hover):not(:active){color:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon{border-color:#bdc3c7;color:#bdc3c7;background:#bdc3c7}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#bdc3c7));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#bdc3c7))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#bdc3c7));stroke:var(--customNetworkColor,var(--networkColor,#bdc3c7));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon{border-color:#afb6bb;color:#afb6bb;background:#afb6bb}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#afb6bb}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-print:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#afb6bb));stroke:var(--customNetworkHoverColor,var(--networkHover,#afb6bb))}.dpsp-pocket{--networkAccent:#e63c51;--networkColor:#ed4055;--networkHover:rgba(230,60,81,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket{border-color:#ed4055;color:#ed4055;background:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:not(:hover):not(:active){color:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon{border-color:#ed4055;color:#ed4055;background:#ed4055}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#ed4055));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#ed4055))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#ed4055));stroke:var(--customNetworkColor,var(--networkColor,#ed4055));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon{border-color:#e63c51;color:#e63c51;background:#e63c51}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#e63c51}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-pocket:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#e63c51));stroke:var(--customNetworkHoverColor,var(--networkHover,#e63c51))}.dpsp-buffer{--networkAccent:#21282f;--networkColor:#29323b;--networkHover:rgba(33,40,47,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer{border-color:#29323b;color:#29323b;background:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:not(:hover):not(:active){color:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon{border-color:#29323b;color:#29323b;background:#29323b}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#29323b));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#29323b))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#29323b));stroke:var(--customNetworkColor,var(--networkColor,#29323b));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon{border-color:#21282f;color:#21282f;background:#21282f}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#21282f}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-buffer:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#21282f));stroke:var(--customNetworkHoverColor,var(--networkHover,#21282f))}.dpsp-tumblr{--networkAccent:#2e3d50;--networkColor:#35465c;--networkHover:rgba(46,61,80,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr{border-color:#35465c;color:#35465c;background:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:not(:hover):not(:active){color:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon{border-color:#35465c;color:#35465c;background:#35465c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#35465c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#35465c))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#35465c));stroke:var(--customNetworkColor,var(--networkColor,#35465c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon{border-color:#2e3d50;color:#2e3d50;background:#2e3d50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#2e3d50}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-tumblr:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#2e3d50));stroke:var(--customNetworkHoverColor,var(--networkHover,#2e3d50))}.dpsp-xing{--networkAccent:#006a6c;--networkColor:#00888d;--networkHover:rgba(0,106,108,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing{border-color:#00888d;color:#00888d;background:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:not(:hover):not(:active){color:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon{border-color:#00888d;color:#00888d;background:#00888d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#00888d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#00888d))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#00888d));stroke:var(--customNetworkColor,var(--networkColor,#00888d));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon{border-color:#006a6c;color:#006a6c;background:#006a6c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#006a6c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-xing:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#006a6c));stroke:var(--customNetworkHoverColor,var(--networkHover,#006a6c))}.dpsp-github{--networkAccent:#222;--networkColor:#333;--networkHover:rgba(34,34,34,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:not(:hover):not(:active){color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#333))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#333));stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon{border-color:#222;color:#222;background:#222}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#222}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-github:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#222));stroke:var(--customNetworkHoverColor,var(--networkHover,#222))}.dpsp-flipboard{--networkAccent:#d21d1d;--networkColor:#e12828;--networkHover:rgba(210,29,29,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard{border-color:#e12828;color:#e12828;background:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:not(:hover):not(:active){color:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon{border-color:#e12828;color:#e12828;background:#e12828}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#e12828));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#e12828))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#e12828));stroke:var(--customNetworkColor,var(--networkColor,#e12828));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon{border-color:#d21d1d;color:#d21d1d;background:#d21d1d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#d21d1d}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-flipboard:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#d21d1d));stroke:var(--customNetworkHoverColor,var(--networkHover,#d21d1d))}.dpsp-telegram{--networkAccent:#0077b3;--networkColor:#08c;--networkHover:rgba(0,119,179,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram{border-color:#08c;color:#08c;background:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:not(:hover):not(:active){color:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon{border-color:#08c;color:#08c;background:#08c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#08c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#08c))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#08c));stroke:var(--customNetworkColor,var(--networkColor,#08c));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon{border-color:#0077b3;color:#0077b3;background:#0077b3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#0077b3}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-telegram:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#0077b3));stroke:var(--customNetworkHoverColor,var(--networkHover,#0077b3))}.dpsp-medium{--networkAccent:#111;--networkColor:#333;--networkHover:rgba(17,17,17,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:not(:hover):not(:active){color:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon{border-color:#333;color:#333;background:#333}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#333))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#333));stroke:var(--customNetworkColor,var(--networkColor,#333));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon{border-color:#111;color:#111;background:#111}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#111}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-medium:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#111));stroke:var(--customNetworkHoverColor,var(--networkHover,#111))}.dpsp-mix{--networkAccent:#fd721c;--networkColor:#fd8235;--networkHover:rgba(253,114,28,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix{border-color:#fd8235;color:#fd8235;background:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:not(:hover):not(:active){color:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon{border-color:#fd8235;color:#fd8235;background:#fd8235}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#fd8235));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#fd8235))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#fd8235));stroke:var(--customNetworkColor,var(--networkColor,#fd8235));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon{border-color:#fd721c;color:#fd721c;background:#fd721c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fd721c}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-mix:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#fd721c));stroke:var(--customNetworkHoverColor,var(--networkHover,#fd721c))}.dpsp-grow{--networkAccent:#243c4a;--networkColor:#41a4a9;--networkHover:rgba(36,60,74,0.4)}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow{border-color:#41a4a9;color:#41a4a9;background:#41a4a9}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:not(:hover):not(:active){color:#41a4a9}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon{border-color:#41a4a9;color:#41a4a9;background:#41a4a9}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:none!important;stroke:var(--customNetworkColor,var(--networkColor,#41a4a9));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor,#41a4a9))}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkColor,var(--networkColor,#41a4a9));stroke:var(--customNetworkColor,var(--networkColor,#41a4a9));stroke-width:1}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover .dpsp-network-icon{border-color:#243c4a;color:#243c4a;background:#243c4a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#243c4a}.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:var(--customNetworkHoverColor,var(--networkHover,#243c4a));stroke:var(--customNetworkHoverColor,var(--networkHover,#243c4a))}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded .dpsp-network-btn,.dpsp-shape-rounded .dpsp-no-label.dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-shape-circle .dpsp-network-btn{border-radius:30px}.dpsp-shape-circle .dpsp-network-btn .dpsp-network-icon{overflow:hidden;border-radius:30px}.dpsp-has-spacing .dpsp-networks-btns-wrapper li{margin-right:2%;margin-bottom:10px;margin-left:0!important}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn{min-width:32px;height:32px;max-height:32px;line-height:28px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{width:32px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon{width:32px;height:32px;line-height:28px}.dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn .dpsp-network-icon-inner{height:28px}.dpsp-size-small .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label{width:32px}.dpsp-size-small .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:0}.dpsp-size-small.dpsp-button-style-6 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-small.dpsp-button-style-7 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-small.dpsp-button-style-8 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:-2px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{min-width:46px;height:46px;max-height:46px;line-height:42px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{width:46px;height:46px;line-height:42px}.dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon-inner{height:42px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label{width:46px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:0}.dpsp-size-large.dpsp-button-style-6 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-large.dpsp-button-style-7 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon,.dpsp-size-large.dpsp-button-style-8 .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{left:-2px}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn{min-width:45px;height:45px;max-height:45px;padding-left:0;line-height:41px}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{width:45px;line-height:41px}.dpsp-size-medium .dpsp-networks-btns-sidebar.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:26px;line-height:26px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn{min-width:50px;height:50px;max-height:50px;padding-left:0;line-height:46px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{width:50px;line-height:46px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:30px;line-height:30px}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow{max-width:0;max-height:0;opacity:0;transition:all .4s ease;transform-origin:top}.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow{max-width:unset;max-height:unset;opacity:unset}.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-count,.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-icon,.dpsp-card-inner .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-label{opacity:unset}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-count,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow .dpsp-network-label{opacity:0}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in{max-width:20rem;max-height:70px;opacity:1;transition:all .5s ease}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in .dpsp-network-count,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-load-in .dpsp-network-label{opacity:1;transition:opacity .4s ease .5s}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded{max-width:20rem;max-height:70px;opacity:1;transition:all .2s ease}.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded .dpsp-network-count,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded .dpsp-network-icon,.dpsp-networks-btns-wrapper .dpsp-network-list-item-grow.dpsp-grow-loaded .dpsp-network-label{opacity:1;transition:all .2s ease}.dpsp-grow-check-icon{opacity:0;transition:all .2s ease;transform-origin:center center}.dpsp-grow-saved .dpsp-grow-check-icon{opacity:1}@media print{#dpsp-content-bottom,#dpsp-content-top,#dpsp-floating-sidebar,#dpsp-pop-up,#dpsp-pop-up-overlay,#dpsp-sticky-bar-wrapper,.dpsp-share-text{display:none!important}}.dpsp-pin-it-wrapper{display:inline-table;position:relative!important;line-height:0}.blocks-gallery-item .dpsp-pin-it-wrapper{display:inline-block}.dpsp-pin-it-wrapper.aligncenter,.dpsp-pin-it-wrapper.alignleft,.dpsp-pin-it-wrapper.alignright{display:table!important}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-button{visibility:visible;color:#fff!important;background-color:#c92228!important}.dpsp-pin-it-wrapper.aligncenter{margin-right:auto;margin-left:auto}.wp-block-gallery.is-cropped .blocks-gallery-item .dpsp-pin-it-wrapper{height:100%;flex:1;object-fit:cover}.dpsp-pin-it-button{display:inline-block;position:absolute;visibility:hidden;width:auto!important;height:40px!important;border:0!important;color:transparent!important;background:transparent;background-image:none!important;box-shadow:none!important;font-family:Arial;font-size:14px;font-weight:700;line-height:40px;vertical-align:middle;text-decoration:none!important;transition:all .25s ease-in-out}.dpsp-pin-it-button:hover{color:#fff;background:#b31e24;box-shadow:none!important}.dpsp-pin-it-button.dpsp-pin-it-button-has-label{padding-right:20px}.dpsp-pin-it-button.dpsp-pin-it-button-has-label:after{display:inline-block;content:attr(title)}.dpsp-pin-it-button .dpsp-network-icon{display:inline-block;width:40px;height:40px;text-align:center;vertical-align:top}.dpsp-pin-it-button .dpsp-network-icon svg{display:inline-block;height:20px;vertical-align:middle;fill:#fff}.dpsp-pin-it-button.dpsp-pin-it-button-top-left{top:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-top-right{top:10px;right:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-left{bottom:10px;left:10px}.dpsp-pin-it-button.dpsp-pin-it-button-bottom-right{right:10px;bottom:10px}.dpsp-pin-it-button.dpsp-pin-it-button-center{top:50%;left:50%;white-space:nowrap;transform:translate(-50%,-50%)}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rectangular{border-radius:0}.dpsp-pin-it-button.dpsp-pin-it-button-shape-rounded{border-radius:4px}.dpsp-pin-it-button.dpsp-pin-it-button-shape-circle{border-radius:40px}.dpsp-pin-it-wrapper .dpsp-pin-it-overlay{display:block;position:absolute;top:0;left:0;visibility:hidden;width:100%;height:100%;opacity:0;background:#fff;transition:all .25s ease-in-out;pointer-events:none}.dpsp-pin-it-wrapper:hover .dpsp-pin-it-overlay{visibility:visible;opacity:.4}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto{text-align:center}.dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto li{display:inline-block;float:none}.dpsp-shortcode-wrapper{margin-bottom:1.2em}#dpsp-floating-sidebar{position:fixed;top:50%;transform:translateY(-50%);z-index:9998}#dpsp-floating-sidebar.dpsp-position-left{left:0}#dpsp-floating-sidebar.dpsp-position-right{right:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar li{float:none;margin-left:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn{width:40px;padding:0}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important;background:transparent!important}.dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:41px}.dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner{height:46px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{height:22px;line-height:22px}.dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner{height:18px}.dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner{height:30px}#dpsp-floating-sidebar.dpsp-no-animation{display:none}#dpsp-floating-sidebar.dpsp-no-animation.opened{display:block}#dpsp-floating-sidebar.stop-hidden,#dpsp-floating-sidebar.stop-hidden.opened{visibility:hidden}#dpsp-floating-sidebar.dpsp-animation-1{opacity:0;transition:opacity .2s ease-in-out}#dpsp-floating-sidebar.dpsp-animation-1.opened{opacity:1}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2{left:-60px;transition:left .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2.opened{left:0}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2.opened{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2,#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2{right:-60px;transition:right .2s ease-in-out}#dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2.opened{right:0}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2.opened{right:10px}.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:0}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,.dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.dpsp-shape-rounded.dpsp-has-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-radius:4px}#dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle{left:12px}#dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle{right:10px}.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{margin-bottom:6px}.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}#dpsp-floating-sidebar.dpsp-style-2 .dpsp-network-btn .dpsp-network-icon{background:none}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper li{position:relative;overflow:visible}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label{display:inline-block;position:absolute;top:50%;visibility:hidden;box-sizing:border-box;width:auto;height:30px;margin-top:-15px;padding:6px 12px;border-radius:3px;opacity:0;color:#fff;background:#34495e;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;transition:all .2s ease-in-out;z-index:1}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label{left:100%}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label{right:100%}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{visibility:visible;opacity:1;transform:translateX(10px)}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label{visibility:visible;opacity:1;transform:translateX(-10px)}#dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label:before{display:block;position:absolute;top:50%;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;content:""}#dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label:before{left:-5px;border-right:5px solid #34495e}#dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label:before{right:-5px;border-left:5px solid #34495e}.dpsp-settings-button-style .dpsp-networks-btns-sidebar .dpsp-network-label{display:none}#dpsp-sticky-bar-wrapper{position:fixed;bottom:0;left:0;width:100%;background:#fff;z-index:1000}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-top{top:0;bottom:auto}#dpsp-sticky-bar-wrapper.dpsp-position-desktop-bottom{top:auto;bottom:0}#dpsp-sticky-bar-wrapper.dpsp-no-animation{visibility:hidden;opacity:0}#dpsp-sticky-bar-wrapper.dpsp-no-animation.opened{visibility:visible;opacity:1}#dpsp-sticky-bar{display:none;position:relative;box-sizing:border-box;margin:7px 0}#dpsp-sticky-bar .dpsp-networks-btns-wrapper{display:flex}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li{float:none;margin-right:3px;margin-bottom:0;margin-left:3px;flex:1}#dpsp-sticky-bar .dpsp-networks-btns-wrapper li:last-of-type{margin-right:0}#dpsp-sticky-bar .dpsp-network-btn{padding-right:1em;padding-left:1em;text-align:center}#dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{display:inline-block;position:relative;overflow:visible;width:20px}#dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{margin-right:5px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top{top:0;bottom:auto}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom{top:auto;bottom:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar{position:static;width:100%!important;margin:0;padding:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-networks-btns-wrapper li{margin:0}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn{height:44px;max-height:44px;padding-right:0;padding-left:0;border-radius:0;line-height:40px;text-align:center}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-icon{display:inline-block;position:relative;left:auto;float:none;font-size:18px;line-height:40px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon{display:block;position:absolute;width:100%;height:26px;line-height:26px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile #dpsp-sticky-bar .dpsp-network-btn .dpsp-network-count{position:absolute;bottom:0;left:0;width:100%;height:20px;margin-left:0;font-size:11px;line-height:20px;text-align:center}#dpsp-sticky-bar-wrapper.dpsp-animation-1{visibility:hidden;opacity:0;transition:opacity .2s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-animation-1.opened{visibility:visible;opacity:1}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2{bottom:-88px;visibility:hidden;transition:bottom .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2.opened{bottom:0;visibility:visible}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2{top:-88px;bottom:auto;visibility:hidden;transition:top .3s ease-in-out,visibility .3s ease-in-out}#dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2.opened,#dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2.opened{top:0;visibility:visible}@media screen and (min-width:782px){body.admin-bar #dpsp-sticky-bar-wrapper{margin-top:32px}}.dpsp-click-to-tweet{display:block;position:relative;margin:1.5em 0;font-size:105%;text-decoration:none;transition:all .15s ease-in}.dpsp-click-to-tweet,.dpsp-click-to-tweet:hover{box-shadow:none!important}.dpsp-click-to-tweet.dpsp-has-avatar{min-height:115px;padding-left:120px!important}.dpsp-click-to-tweet.dpsp-has-avatar .avatar{position:absolute;top:15px;left:15px;border-radius:50%;box-shadow:none!important}.dpsp-click-to-tweet-footer:after,.dpsp-click-to-tweet:after{display:block;clear:both;content:""}.dpsp-click-to-tweet-content{display:block;position:relative;font-family:Georgia;font-size:18px;line-height:1.5;text-align:left;z-index:2}.dpsp-click-to-tweet-footer{display:block;margin-top:1em;color:#999;font-family:Arial;font-size:14px;font-weight:700}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-left .dpsp-click-to-tweet-cta{float:left}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-right .dpsp-click-to-tweet-cta{float:right}.dpsp-click-to-tweet-cta{color:#00abf0;line-height:1}.dpsp-click-to-tweet-cta svg{fill:#00abf0}.dpsp-click-to-tweet-cta .dpsp-twitter{display:inline-block;vertical-align:middle}.dpsp-click-to-tweet-cta>span{margin-right:10px;vertical-align:middle}.dpsp-click-to-tweet:hover .dpsp-twitter .dpsp-network-icon-inner{transition:all .2s ease-in-out}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-after{margin-left:-10px;opacity:1}.dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-before{margin-left:10px;opacity:0}a.dpsp-click-to-tweet.dpsp-style-1{padding:15px 5px 5px 30px;border:0;border-left:5px solid #00abf0;color:#555}a.dpsp-click-to-tweet.dpsp-style-1:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-2{padding:20px 30px;border:0;border-left:5px solid #00abf0;color:#555;background:#f6f6f6}a.dpsp-click-to-tweet.dpsp-style-2:hover{border-left:5px solid #0099d7}a.dpsp-click-to-tweet.dpsp-style-3{padding:20px 30px;border:1px solid #e1e1e1;border-radius:3px;color:#838383}a.dpsp-click-to-tweet.dpsp-style-3:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-4{padding:20px 30px;border:4px double #e1e1e1;border-radius:0;color:#838383}a.dpsp-click-to-tweet.dpsp-style-4:hover{color:#555}a.dpsp-click-to-tweet.dpsp-style-5{padding:20px 30px;border:0;border-left:0 solid transparent;border-radius:3px;color:#fff;background:#00abf0;transition:border .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta{color:#fff}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta svg{fill:#fff}a.dpsp-click-to-tweet.dpsp-style-5:hover{border-left:9px solid #0099d7;color:#fff}a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5>img{transition:margin-left .2s ease-in-out}a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-content,a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-footer,a.dpsp-click-to-tweet.dpsp-style-5:hover>img{margin-left:-9px}.dpsp-shortcode-follow-wrapper>.dpsp-networks-btns-follow-widget{display:flex;flex-flow:row wrap}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-left>.dpsp-networks-btns-follow-widget{justify-content:flex-start}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-center>.dpsp-networks-btns-follow-widget{justify-content:center}.dpsp-shortcode-follow-wrapper.dpsp-follow-align-right>.dpsp-networks-btns-follow-widget{justify-content:flex-end}.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{display:block;position:relative;top:-2px;left:-2px;-moz-box-sizing:border-box;box-sizing:border-box;width:40px;height:40px;border:2px solid;font-size:14px;line-height:36px;text-align:center;-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;align-self:start;flex:0 0 auto}.dpsp-icon-total-share svg,.dpsp-network-icon .dpsp-network-icon-inner svg{position:relative;overflow:visible;width:auto;max-height:14px;transition:fill .15s ease-in-out}.dpsp-size-large .dpsp-icon-total-share svg,.dpsp-size-large .dpsp-network-icon .dpsp-network-icon-inner svg{max-height:22px}.widget_dpsp_social_media_follow .dpsp-network-icon .dpsp-network-icon-inner svg{top:.05em}.dpsp-icon-total-share,.dpsp-network-icon-inner{display:flex;align-items:center;justify-content:center}.dpsp-network-icon-inner{height:36px;transition:all .2s ease}.dpsp-networks-btns-wrapper.dpsp-has-button-icon-animation .dpsp-network-btn:hover .dpsp-network-icon-inner{transition:all .2s cubic-bezier(.62,3.15,.4,-.64);transform:scale(1.5)}#dpsp-pop-up{position:fixed;width:100%;max-width:750px;padding:40px;border-radius:10px;opacity:0;background:#fff;-webkit-transition:all .25s ease-in-out;-moz-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out;transform:translate(-50%,-50%);z-index:9999}#dpsp-pop-up.dpsp-animation-1{transform:translate(-50%,-50%) scale(.1)}#dpsp-pop-up.dpsp-animation-3{transform:translate(-50%)}#dpsp-pop-up.dpsp-animation-4{transform:translate(-50%,-100%)}#dpsp-pop-up-overlay.no-animation,#dpsp-pop-up.no-animation{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}#dpsp-pop-up.opened{top:50%;left:50%;opacity:1;transform:scale(1) translate(-50%,-50%)}#dpsp-pop-up-overlay{display:block;position:fixed;top:0;left:0;width:0;height:0;opacity:0;background:#000;-webkit-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-moz-transition:opacity .25s ease-in-out,margin .25s ease-in-out;-o-transition:opacity .25s ease-in-out,margin .25s ease-in-out;transition:opacity .25s ease-in-out,margin .25s ease-in-out;z-index:9998}#dpsp-pop-up-overlay.opened{width:100%;height:100%;opacity:.65}#dpsp-pop-up-content{text-align:center}#dpsp-pop-up-close{display:block;position:absolute;top:10px;right:10px;width:22px;height:22px;line-height:22px;text-align:center;vertical-align:middle;cursor:pointer}#dpsp-pop-up-close svg{position:relative;top:2px;width:auto;max-height:16px;vertical-align:top;fill:#999}#dpsp-pop-up h2{margin-bottom:1em}#dpsp-pop-up h2 p{font-size:inherit}#dpsp-pop-up h2 p:last-of-type{margin-top:0;margin-bottom:0}#dpsp-pop-up p{margin-top:1em;margin-bottom:1em}#dpsp-post-bottom{width:0;height:0;margin:0;padding:0}@media screen and (max-width:800px){#dpsp-pop-up{width:90%}}@media screen and (max-width:720px){#dpsp-pop-up .dpsp-networks-btns-wrapper li{width:100%;margin-right:0;margin-left:0}}.dpsp-top-shared-post{margin-bottom:2em}.dpsp-top-shared-post-thumbnail{display:block;margin-bottom:1.2em}.dpsp-top-shared-post-thumbnail img{max-width:100%;height:auto}.dpsp-top-shared-post-title{display:inline-block;margin-bottom:.5em}.dpsp-show-total-share-count{position:relative}.dpsp-total-share-wrapper{position:relative;margin-top:10px;color:#5d6368;font-family:Helvetica,Helvetica Neue,Arial,sans-serif;line-height:1.345}.dpsp-total-share-wrapper .dpsp-total-share-count{font-size:15px;line-height:18px;white-space:nowrap}.dpsp-total-share-wrapper .dpsp-icon-total-share{position:absolute;top:6px;left:0;margin-top:0;margin-left:0}.dpsp-total-share-wrapper .dpsp-icon-total-share svg{top:2px;width:auto;max-height:16px;fill:#5d6368}#dpsp-floating-sidebar .dpsp-total-share-wrapper{margin-bottom:10px}#dpsp-floating-sidebar .dpsp-total-share-wrapper .dpsp-icon-total-share{display:none}.dpsp-total-share-wrapper span{display:block;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;text-transform:uppercase}.dpsp-content-wrapper .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper .dpsp-total-share-wrapper{position:absolute;top:50%;box-sizing:border-box;width:60px;height:40px;margin-top:-21px;padding-left:20px}#dpsp-sticky-bar .dpsp-total-share-wrapper{height:32px;margin-top:-16px}#dpsp-sticky-bar-wrapper.dpsp-is-mobile .dpsp-total-share-wrapper{display:none}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before{padding-left:75px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after{padding-right:70px}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper{left:0}.dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper,.dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper{right:0}.dpsp-button-style-1 .dpsp-network-btn{color:#fff!important}.dpsp-button-style-1 .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-1 .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-1 .dpsp-network-btn .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-1 .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-1 .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-1 .dpsp-network-btn:focus .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-1 .dpsp-network-btn:hover .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn{color:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{border-color:var(--customNetworkHoverColor,var(--networkAccent));background-color:var(--customNetworkHoverColor,var(--networkAccent))}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{background:transparent!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count.dpsp-has-label:not(:hover):not(:focus),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(:hover):not(:focus),.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn:not(.dpsp-no-label):not(:hover):not(:focus):not(.dpsp-has-count){background:#fff}.dpsp-button-style-3 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{background:var(--customNetworkColor,var(--networkColor,#fff))}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover{color:#fff}.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-3 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-networks-btns-sidebar .dpsp-network-btn,.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover{border-color:transparent}.dpsp-networks-btns-sidebar .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-networks-btns-sidebar .dpsp-network-btn:hover .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-4.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-label{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label):not(:hover):not(:focus),.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-no-label:not(:hover):not(:focus){background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label) .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-no-label .dpsp-network-icon{border-color:transparent;background-color:initial}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn .dpsp-network-icon{background:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:focus,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:hover{color:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important;stroke:#fff}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-4 .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-5 .dpsp-network-btn .dpsp-network-icon{border-color:transparent!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border-color:transparent!important;color:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{background:transparent}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg,.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:#fff!important;stroke:#fff!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label),.dpsp-button-style-5 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{justify-content:center}.dpsp-button-style-6.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn{border-color:transparent!important;background:transparent!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:40px}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{border-color:transparent!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner>svg,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important}.dpsp-button-style-6 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner>svg{stroke:#fff!important}.dpsp-button-style-6.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}.dpsp-button-style-7.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon{border-radius:4px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label{border-color:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{background:transparent}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover{background:transparent!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:#fff!important;stroke:#fff}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn,.dpsp-button-style-7 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:40px}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkHoverColor,var(--networkAccent))!important;stroke:var(--customNetworkHoverColor,var(--networkAccent))!important}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:focus .dpsp-network-icon .dpsp-network-icon-inner>svg>svg,.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg{fill:var(--customNetworkColor,var(--networkColor))!important}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-grow-saved:not(:hover):not(:focus) .dpsp-network-icon .dpsp-network-icon-inner>svg>svg{fill:#fff;stroke:#fff}.dpsp-button-style-8 .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon{border-color:transparent;background:transparent}.dpsp-button-style-8 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon{margin-right:-10px}.dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label:not(.dpsp-has-count){max-width:32px}
assets/dist/{tool-content.1.18.2.png → tool-content.1.19.0.png} RENAMED
File without changes
assets/dist/{tool-follow-widget.1.18.2.png → tool-follow-widget.1.19.0.png} RENAMED
File without changes
assets/dist/{tool-image-hover-pinterest.1.18.2.png → tool-image-hover-pinterest.1.19.0.png} RENAMED
File without changes
assets/dist/{tool-misc-import-export.1.18.2.png → tool-misc-import-export.1.19.0.png} RENAMED
File without changes
assets/dist/{tool-mobile.1.18.2.png → tool-mobile.1.19.0.png} RENAMED
File without changes
assets/dist/{tool-pop-up.1.18.2.png → tool-pop-up.1.19.0.png} RENAMED
File without changes
assets/dist/{tool-sidebar.1.18.2.png → tool-sidebar.1.19.0.png} RENAMED
File without changes
assets/src/css/abstract/_mixins.scss ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // `@include network-color('facebook',#3a579a, #334d87)` will add the styling for the facebook icon with the appropriate brand and hover colors
2
+ @mixin network-color($slug, $default, $hover) {
3
+ .dpsp-#{$slug} {
4
+ --networkAccent: #{$hover};
5
+ --networkColor: #{rgba($default, 1)};
6
+ --networkHover: #{rgba($hover, 0.4)};
7
+ }
8
+ .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-#{$slug} {
9
+ border-color: $default;
10
+ color: $default;
11
+ background: $default;
12
+ &:not(:hover):not(:active) {
13
+ color: $default;
14
+ }
15
+ .dpsp-network-icon {
16
+ border-color: $default;
17
+ color: $default;
18
+ background: $default;
19
+ &.dpsp-network-icon-outlined {
20
+ .dpsp-network-icon-inner > svg {
21
+ fill: none !important;
22
+ stroke: var(--customNetworkColor, var(--networkColor, $default));
23
+ stroke-width: 1;
24
+ }
25
+ }
26
+ .dpsp-network-icon-inner > svg {
27
+ fill: var(--customNetworkColor, var(--networkColor, $default));
28
+ & > svg {
29
+ fill: var(--customNetworkColor, var(--networkColor, $default));
30
+ stroke: var(--customNetworkColor, var(--networkColor, $default));
31
+ stroke-width: 1;
32
+ }
33
+ }
34
+ }
35
+
36
+ &:hover,
37
+ &:focus {
38
+ border-color: $hover;
39
+ color: $hover;
40
+ background: $hover;
41
+
42
+ .dpsp-network-icon {
43
+ border-color: $hover;
44
+ color: $hover;
45
+ background: $hover;
46
+
47
+ .dpsp-network-icon-inner > svg {
48
+ fill: $hover;
49
+ & > svg {
50
+ fill: var(--customNetworkHoverColor, var(--networkHover, $hover));
51
+ stroke: var(--customNetworkHoverColor, var(--networkHover, $hover));
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ // `@include css-var('color','color-body', red)` will add a css variable call to --mv-trellis-color-body, with a fallback color
60
+ @mixin css-var($property, $css-var, $default) {
61
+ #{$property}: $default;
62
+ #{$property}: var(--mv-grow-#{$css-var}, $default);
63
+ }
assets/src/css/abstract/_variables.scss ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $network-colors: (
2
+ 'facebook': (#3a579a, #334d87),
3
+ 'twitter': (#00abf0, #0099d7),
4
+ 'pinterest': (#c92228, #b31e24),
5
+ 'linkedin': (#0077b5, #00669c),
6
+ 'reddit': (#ff5700, #ff4200),
7
+ 'vkontakte': (#4d75a3, #456992),
8
+ 'whatsapp': (#25d366, #21c960),
9
+ 'instagram': (#bc2a8d, #a9257e),
10
+ 'youtube': (#b00, #a20000),
11
+ 'vimeo': (#4bf, #2bb2ff),
12
+ 'soundcloud': (#f50, #e64c00),
13
+ 'twitch': (#6441a5, #593a93),
14
+ 'yummly': (#e55a27, #d84d1a),
15
+ 'behance': (#005cff, #0053e6),
16
+ 'email': (#27ae60, #239e57),
17
+ 'print': (#bdc3c7, #afb6bb),
18
+ 'pocket': (#ed4055, #e63c51),
19
+ 'buffer': (#29323b, #21282f),
20
+ 'tumblr': (#35465c, #2e3d50),
21
+ 'xing': (#00888d, #006a6c),
22
+ 'github': (#333, #222),
23
+ 'flipboard': (#e12828, #d21d1d),
24
+ 'telegram': (#08c, #0077b3),
25
+ 'medium': (#333, #111),
26
+ 'mix': (#fd8235, #fd721c),
27
+ 'grow': (#41a4a9, #243c4a),
28
+ );
assets/src/css/{lib/admin → abstract}/index.php RENAMED
File without changes
assets/src/css/base.scss CHANGED
@@ -1,27 +1,18 @@
1
- @import './lib/icons-general.scss';
2
-
3
- @import './lib/buttons/sidebar.scss';
4
-
5
- @import './lib/buttons/content.scss';
6
-
7
- @import './lib/buttons/shortcode.scss';
8
-
9
- @import './lib/buttons/sticky.scss';
10
-
11
- @import './lib/buttons/general.scss';
12
-
13
- @import './lib/buttons/style-variations.scss';
14
-
15
- @import './lib/buttons/pin-it.scss';
16
-
17
- @import './lib/buttons/pop-up.scss';
18
-
19
- @import './lib/total-shares.scss';
20
-
21
- @import './lib/pop-up.scss';
22
-
23
- @import './lib/top-shared-post.scss';
24
-
25
- @import './lib/follow-widget.scss';
26
-
27
- @import './lib/click-to-tweet.scss';
1
+ @import 'abstract/variables';
2
+ @import 'abstract/mixins';
3
+
4
+ @import 'components/buttons-content';
5
+ @import 'components/buttons-general';
6
+ @import 'components/buttons-pin-it';
7
+ @import 'components/buttons-pop-up';
8
+ @import 'components/buttons-shortcode';
9
+ @import 'components/buttons-sidebar';
10
+ @import 'components/buttons-sticky';
11
+ @import 'components/click-to-tweet';
12
+ @import 'components/follow-widget';
13
+ @import 'components/icons-general';
14
+ @import 'components/pop-up';
15
+ @import 'components/top-shared-post';
16
+ @import 'components/total-shares';
17
+
18
+ @import 'themes/style-variations';
 
 
 
 
 
 
 
 
 
assets/src/css/components/_buttons-content.scss ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*****************************************/
2
+ /* Content Buttons
3
+ /*****************************************/
4
+ #dpsp-content-top {
5
+ margin-bottom: 1.2em;
6
+ }
7
+ #dpsp-content-bottom {
8
+ margin-top: 1.2em;
9
+ }
10
+
11
+ .dpsp-share-text {
12
+ margin-bottom: 10px;
13
+ font-weight: bold;
14
+ }
assets/src/css/components/_buttons-general.scss ADDED
@@ -0,0 +1,505 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**************************************************/
2
+ /* General button styling, for content and other
3
+ /**************************************************/
4
+ .dpsp-networks-btns-wrapper {
5
+ margin: 0 !important;
6
+ padding: 0 !important;
7
+ list-style: none !important;
8
+ }
9
+
10
+ .dpsp-networks-btns-wrapper:after {
11
+ display: block;
12
+ clear: both;
13
+ height: 0;
14
+ content: '';
15
+ }
16
+
17
+ .dpsp-networks-btns-wrapper li {
18
+ float: left;
19
+ margin: 0;
20
+ padding: 0;
21
+ border: 0;
22
+ list-style-type: none !important;
23
+ -webkit-transition: all 0.15s ease-in;
24
+ -moz-transition: all 0.15s ease-in;
25
+ -o-transition: all 0.15s ease-in;
26
+ transition: all 0.15s ease-in;
27
+ }
28
+
29
+ .dpsp-networks-btns-wrapper li:before {
30
+ display: none !important;
31
+ }
32
+
33
+ .dpsp-networks-btns-wrapper li:first-child {
34
+ margin-left: 0 !important;
35
+ }
36
+
37
+ /*
38
+ * Share button
39
+ */
40
+ .dpsp-networks-btns-wrapper .dpsp-network-btn {
41
+ display: flex;
42
+ position: relative;
43
+ -moz-box-sizing: border-box;
44
+ box-sizing: border-box;
45
+ width: 100%;
46
+ min-width: 40px;
47
+ height: 40px;
48
+ max-height: 40px;
49
+ padding: 0;
50
+ border: 2px solid;
51
+ border-radius: 0;
52
+ box-shadow: none;
53
+ font-family: 'Arial', sans-serif;
54
+ font-size: 14px;
55
+ font-weight: bold;
56
+ line-height: 36px;
57
+ text-align: center;
58
+ vertical-align: middle;
59
+ text-decoration: none !important;
60
+ text-transform: unset !important;
61
+ cursor: pointer;
62
+ -webkit-transition: all 0.15s ease-in;
63
+ -moz-transition: all 0.15s ease-in;
64
+ -o-transition: all 0.15s ease-in;
65
+ transition: all 0.15s ease-in;
66
+
67
+ .dpsp-network-label {
68
+ padding-right: 0.5em;
69
+ padding-left: 0.5em;
70
+ }
71
+
72
+ &.dpsp-has-count .dpsp-network-label {
73
+ padding-right: 0.25em;
74
+ }
75
+ }
76
+
77
+ .dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn.dpsp-no-label {
78
+ width: 40px;
79
+ .dpsp-network-icon {
80
+ left: 0;
81
+ }
82
+ }
83
+
84
+ .dpsp-button-style-6, .dpsp-button-style-7, .dpsp-button-style-8 {
85
+ .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) {
86
+ .dpsp-network-btn.dpsp-no-label {
87
+ .dpsp-network-icon {
88
+ left: -2px;
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+ .dpsp-networks-btns-wrapper .dpsp-network-btn {
95
+ &:hover,
96
+ &:focus {
97
+ border: 2px solid;
98
+ outline: none;
99
+ box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.4);
100
+ box-shadow: 0 0 0 3px var(--networkHover);
101
+ }
102
+ }
103
+
104
+ .dpsp-networks-btns-wrapper .dpsp-network-btn:after {
105
+ display: block;
106
+ clear: both;
107
+ height: 0;
108
+ content: '';
109
+ }
110
+
111
+ /*
112
+ * Buttons with no labels
113
+ */
114
+
115
+
116
+ .dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn {
117
+ &.dpsp-no-label {
118
+ padding-left: 0 !important;
119
+ }
120
+ }
121
+
122
+ // Inline content and pop-up buttons with no labels
123
+
124
+
125
+ // Small size
126
+ .dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon {
127
+ width: 28px;
128
+ }
129
+
130
+
131
+ /*
132
+ * Button label
133
+ */
134
+
135
+
136
+ .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-count {
137
+ padding-right: 0.5em;
138
+ padding-left: 0.25em;
139
+ font-size: 13px;
140
+ font-weight: normal;
141
+ white-space: nowrap;
142
+ }
143
+
144
+
145
+
146
+ .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-count {
147
+ position: absolute;
148
+ bottom: 0;
149
+ left: 0;
150
+ width: 100%;
151
+ height: 20px;
152
+ margin-left: 0;
153
+ padding-left: 0.5em;
154
+ font-size: 11px;
155
+ line-height: 20px;
156
+ text-align: center;
157
+ }
158
+
159
+ .dpsp-networks-btns-wrapper.dpsp-networks-btns-sticky-bar .dpsp-network-btn .dpsp-network-count {
160
+ padding-left: 0.5em;
161
+ }
162
+
163
+ .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-label-wrapper {
164
+ display: none;
165
+ }
166
+
167
+ .dpsp-button-style-6,
168
+ .dpsp-button-style-7 {
169
+ .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper {
170
+ display: inline-block;
171
+ text-indent: 2em;
172
+ }
173
+ }
174
+
175
+
176
+ /*
177
+ * Buttons columns
178
+ */
179
+ .dpsp-networks-btns-wrapper.dpsp-column-1 li {
180
+ width: 100%;
181
+ margin-left: 0;
182
+ }
183
+
184
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-1 li {
185
+ margin-right: 0;
186
+ }
187
+
188
+ .dpsp-networks-btns-wrapper.dpsp-column-2 li {
189
+ width: 50%;
190
+ }
191
+
192
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-2 li {
193
+ width: 49%;
194
+ }
195
+
196
+ .dpsp-networks-btns-wrapper.dpsp-column-2 li:nth-child(2n) {
197
+ margin-right: 0;
198
+ }
199
+
200
+ .dpsp-networks-btns-wrapper.dpsp-column-3 li {
201
+ width: 33.3333%;
202
+ }
203
+
204
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-3 li {
205
+ width: 32%;
206
+ }
207
+
208
+ .dpsp-networks-btns-wrapper.dpsp-column-3 li:nth-child(3n) {
209
+ margin-right: 0;
210
+ }
211
+
212
+ .dpsp-networks-btns-wrapper.dpsp-column-4 li {
213
+ width: 25%;
214
+ }
215
+
216
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-4 li {
217
+ width: 23.5%;
218
+ }
219
+
220
+ .dpsp-networks-btns-wrapper.dpsp-column-4 li:nth-child(4n) {
221
+ margin-right: 0;
222
+ }
223
+
224
+ .dpsp-networks-btns-wrapper.dpsp-column-5 li {
225
+ width: 20%;
226
+ }
227
+
228
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-5 li {
229
+ width: 18.4%;
230
+ }
231
+
232
+ .dpsp-networks-btns-wrapper.dpsp-column-5 li:nth-child(5n) {
233
+ margin-right: 0;
234
+ }
235
+
236
+ .dpsp-networks-btns-wrapper.dpsp-column-6 li {
237
+ width: 16.6666%;
238
+ }
239
+
240
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-6 li {
241
+ width: 15%;
242
+ }
243
+
244
+ .dpsp-networks-btns-wrapper.dpsp-column-6 li:nth-child(6n) {
245
+ margin-right: 0;
246
+ }
247
+
248
+ .dpsp-networks-btns-wrapper.dpsp-column-7 li {
249
+ width: 14.285%;
250
+ }
251
+
252
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-7 li {
253
+ width: 13%;
254
+ }
255
+
256
+ .dpsp-networks-btns-wrapper.dpsp-column-7 li:nth-child(6n) {
257
+ margin-right: 0;
258
+ }
259
+
260
+ .dpsp-shape-circle .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:not(.dpsp-no-label) {
261
+ padding-right: 10px;
262
+ }
263
+
264
+ /*
265
+ * Buttons width no labels
266
+ */
267
+ .dpsp-no-labels .dpsp-networks-btns-wrapper .dpsp-network-btn {
268
+ padding: 0 !important;
269
+ text-align: center;
270
+ }
271
+
272
+
273
+ /*
274
+ * Buttons colors
275
+ */
276
+ @each $slug, $colors in $network-colors {
277
+ @include network-color($slug, nth($colors, 1), nth($colors, 2));
278
+ }
279
+
280
+ /*
281
+ * Buttons Shapes
282
+ */
283
+ .dpsp-shape-rounded .dpsp-network-btn,
284
+ .dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
285
+ -webkit-border-top-left-radius: 4px;
286
+ -moz-border-radius-topleft: 4px;
287
+ border-top-left-radius: 4px;
288
+ -webkit-border-bottom-left-radius: 4px;
289
+ -moz-border-radius-bottomleft: 4px;
290
+ border-bottom-left-radius: 4px;
291
+ }
292
+
293
+ .dpsp-shape-rounded .dpsp-network-btn,
294
+ .dpsp-shape-rounded .dpsp-no-label.dpsp-network-btn .dpsp-network-icon {
295
+ -webkit-border-top-right-radius: 4px;
296
+ -moz-border-radius-topright: 4px;
297
+ border-top-right-radius: 4px;
298
+ -webkit-border-bottom-right-radius: 4px;
299
+ -moz-border-radius-bottomright: 4px;
300
+ border-bottom-right-radius: 4px;
301
+ }
302
+
303
+ .dpsp-shape-circle .dpsp-network-btn {
304
+ border-radius: 30px;
305
+
306
+ .dpsp-network-icon {
307
+ overflow: hidden;
308
+ border-radius: 30px;
309
+ }
310
+ }
311
+
312
+ /*
313
+ * Buttons Margins/Spacings
314
+ */
315
+ .dpsp-has-spacing .dpsp-networks-btns-wrapper li {
316
+ margin-right: 2%;
317
+ margin-bottom: 10px;
318
+ margin-left: 0 !important;
319
+ }
320
+
321
+ /*
322
+ * Button sizes
323
+ */
324
+ /* Size Small */
325
+ .dpsp-size-small {
326
+ .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn {
327
+ min-width: 32px;
328
+ height: 32px;
329
+ max-height: 32px;
330
+ line-height: 28px;
331
+ &.dpsp-no-label {
332
+ .dpsp-network-icon {
333
+ width: 32px;
334
+ }
335
+ }
336
+ .dpsp-network-icon {
337
+ width: 32px;
338
+ height: 32px;
339
+ line-height: 28px;
340
+ }
341
+ .dpsp-network-icon-inner {
342
+ height: 28px;
343
+ }
344
+ }
345
+ .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) {
346
+ .dpsp-network-btn.dpsp-no-label {
347
+ width: 32px;
348
+ .dpsp-network-icon {
349
+ left: 0;
350
+ }
351
+ }
352
+ }
353
+ &.dpsp-button-style-6, &.dpsp-button-style-7, &.dpsp-button-style-8 {
354
+ .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) {
355
+ .dpsp-network-btn.dpsp-no-label {
356
+ .dpsp-network-icon {
357
+ left: -2px;
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+
364
+ /* Size Large */
365
+ .dpsp-size-large {
366
+ .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
367
+ min-width: 46px;
368
+ height: 46px;
369
+ max-height: 46px;
370
+ line-height: 42px;
371
+
372
+ .dpsp-network-icon {
373
+ width: 46px;
374
+ height: 46px;
375
+ line-height: 42px;
376
+ }
377
+
378
+ .dpsp-network-icon-inner {
379
+ height: 42px;
380
+ }
381
+ }
382
+ .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) {
383
+ .dpsp-network-btn.dpsp-no-label {
384
+ width: 46px;
385
+ .dpsp-network-icon {
386
+ left: 0;
387
+ }
388
+ }
389
+ }
390
+ &.dpsp-button-style-6, &.dpsp-button-style-7, &.dpsp-button-style-8 {
391
+ .dpsp-networks-btns-wrapper.dpsp-column-auto:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) {
392
+ .dpsp-network-btn.dpsp-no-label {
393
+ .dpsp-network-icon {
394
+ left: -2px;
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+
401
+ /* Floating Sidebar */
402
+ .dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn {
403
+ min-width: 45px;
404
+ height: 45px;
405
+ max-height: 45px;
406
+ padding-left: 0;
407
+ line-height: 41px;
408
+
409
+ .dpsp-network-icon {
410
+ width: 45px;
411
+ line-height: 41px;
412
+ }
413
+ }
414
+
415
+ .dpsp-size-medium .dpsp-networks-btns-sidebar.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-icon {
416
+ height: 26px;
417
+ line-height: 26px;
418
+ }
419
+
420
+ .dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn {
421
+ min-width: 50px;
422
+ height: 50px;
423
+ max-height: 50px;
424
+ padding-left: 0;
425
+ line-height: 46px;
426
+
427
+ .dpsp-network-icon {
428
+ width: 50px;
429
+ line-height: 46px;
430
+ }
431
+ }
432
+
433
+ .dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon {
434
+ height: 30px;
435
+ line-height: 30px;
436
+ }
437
+
438
+
439
+ /* Grow.me Loading Functions */
440
+ .dpsp-networks-btns-wrapper .dpsp-network-list-item-grow {
441
+ max-width: 0;
442
+ max-height: 0;
443
+ opacity: 0;
444
+ transition: all 0.4s ease;
445
+ transform-origin: top;
446
+ .dpsp-card-inner & {
447
+ max-width: unset;
448
+ max-height: unset;
449
+ opacity: unset;
450
+ .dpsp-network-icon,
451
+ .dpsp-network-label,
452
+ .dpsp-network-count {
453
+ opacity: unset;
454
+ }
455
+ }
456
+ .dpsp-network-icon,
457
+ .dpsp-network-label,
458
+ .dpsp-network-count {
459
+ opacity: 0;
460
+ }
461
+ &.dpsp-grow-load-in {
462
+ max-width: 20rem;
463
+ max-height: 70px;
464
+ opacity: 1;
465
+ transition: all ease 0.5s;
466
+ .dpsp-network-icon,
467
+ .dpsp-network-label,
468
+ .dpsp-network-count {
469
+ opacity: 1;
470
+ transition: opacity 0.4s ease 0.5s;
471
+ }
472
+ }
473
+ &.dpsp-grow-loaded {
474
+ max-width: 20rem;
475
+ max-height: 70px;
476
+ opacity: 1;
477
+ transition: all 0.2s ease;
478
+ .dpsp-network-icon,
479
+ .dpsp-network-label,
480
+ .dpsp-network-count {
481
+ opacity: 1;
482
+ transition: all 0.2s ease;
483
+ }
484
+ }
485
+ }
486
+ .dpsp-grow-check-icon {
487
+ opacity: 0;
488
+ transition: all 0.2s ease;
489
+ transform-origin: center center;
490
+ .dpsp-grow-saved & {
491
+ opacity: 1;
492
+ }
493
+ }
494
+
495
+ @media print {
496
+ #dpsp-floating-sidebar,
497
+ #dpsp-content-top,
498
+ #dpsp-content-bottom,
499
+ #dpsp-sticky-bar-wrapper,
500
+ #dpsp-pop-up,
501
+ #dpsp-pop-up-overlay,
502
+ .dpsp-share-text {
503
+ display: none !important;
504
+ }
505
+ }
assets/src/css/components/_buttons-pin-it.scss ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Pinterest Pin it button style
3
+ */
4
+ .dpsp-pin-it-wrapper {
5
+ display: inline-table;
6
+ position: relative !important;
7
+ line-height: 0;
8
+ }
9
+
10
+ .blocks-gallery-item .dpsp-pin-it-wrapper {
11
+ display: inline-block;
12
+ }
13
+
14
+ .dpsp-pin-it-wrapper.aligncenter,
15
+ .dpsp-pin-it-wrapper.alignleft,
16
+ .dpsp-pin-it-wrapper.alignright {
17
+ display: table !important;
18
+ }
19
+
20
+ .dpsp-pin-it-wrapper:hover .dpsp-pin-it-button {
21
+ visibility: visible;
22
+ color: #fff !important;
23
+ background-color: #c92228 !important;
24
+ }
25
+
26
+ /* Fix for images that */
27
+ .dpsp-pin-it-wrapper.aligncenter {
28
+ margin-right: auto;
29
+ margin-left: auto;
30
+ }
31
+
32
+ /* Fix for Gutenberg cropped images */
33
+ .wp-block-gallery.is-cropped .blocks-gallery-item .dpsp-pin-it-wrapper {
34
+ height: 100%;
35
+
36
+ flex: 1;
37
+ object-fit: cover;
38
+ }
39
+
40
+ .dpsp-pin-it-button {
41
+ display: inline-block;
42
+ position: absolute;
43
+ visibility: hidden;
44
+ width: auto !important;
45
+ height: 40px !important;
46
+ border: 0 !important;
47
+ color: transparent !important;
48
+ background: transparent;
49
+ background-image: none !important;
50
+ box-shadow: none !important;
51
+ font-family: 'Arial';
52
+ font-size: 14px;
53
+ font-weight: bold;
54
+ line-height: 40px;
55
+ vertical-align: middle;
56
+ text-decoration: none !important;
57
+ transition: all 0.25s ease-in-out;
58
+ }
59
+
60
+ .dpsp-pin-it-button:hover {
61
+ color: #fff;
62
+ background: #b31e24;
63
+ box-shadow: none !important;
64
+ }
65
+
66
+ .dpsp-pin-it-button.dpsp-pin-it-button-has-label {
67
+ padding-right: 20px;
68
+ }
69
+
70
+ .dpsp-pin-it-button.dpsp-pin-it-button-has-label:after {
71
+ display: inline-block;
72
+ content: attr(title);
73
+ }
74
+
75
+ .dpsp-pin-it-button .dpsp-network-icon {
76
+ display: inline-block;
77
+ width: 40px;
78
+ height: 40px;
79
+ text-align: center;
80
+ vertical-align: top;
81
+ }
82
+
83
+ .dpsp-pin-it-button .dpsp-network-icon svg {
84
+ display: inline-block;
85
+ height: 20px;
86
+ vertical-align: middle;
87
+
88
+ fill: #fff;
89
+ }
90
+
91
+ .dpsp-pin-it-button.dpsp-pin-it-button-top-left {
92
+ top: 10px;
93
+ left: 10px;
94
+ }
95
+
96
+ .dpsp-pin-it-button.dpsp-pin-it-button-top-right {
97
+ top: 10px;
98
+ right: 10px;
99
+ }
100
+
101
+ .dpsp-pin-it-button.dpsp-pin-it-button-bottom-left {
102
+ bottom: 10px;
103
+ left: 10px;
104
+ }
105
+
106
+ .dpsp-pin-it-button.dpsp-pin-it-button-bottom-right {
107
+ right: 10px;
108
+ bottom: 10px;
109
+ }
110
+
111
+ .dpsp-pin-it-button.dpsp-pin-it-button-center {
112
+ top: 50%;
113
+ left: 50%;
114
+ white-space: nowrap;
115
+ transform: translate(-50%, -50%);
116
+ }
117
+
118
+ .dpsp-pin-it-button.dpsp-pin-it-button-shape-rectangular {
119
+ border-radius: 0;
120
+ }
121
+
122
+ .dpsp-pin-it-button.dpsp-pin-it-button-shape-rounded {
123
+ border-radius: 4px;
124
+ }
125
+
126
+ .dpsp-pin-it-button.dpsp-pin-it-button-shape-circle {
127
+ border-radius: 40px;
128
+ }
129
+
130
+ .dpsp-pin-it-wrapper .dpsp-pin-it-overlay {
131
+ display: block;
132
+ position: absolute;
133
+ top: 0;
134
+ left: 0;
135
+ visibility: hidden;
136
+ width: 100%;
137
+ height: 100%;
138
+ opacity: 0;
139
+ background: #fff;
140
+ transition: all 0.25s ease-in-out;
141
+ pointer-events: none;
142
+ }
143
+
144
+ .dpsp-pin-it-wrapper:hover .dpsp-pin-it-overlay {
145
+ visibility: visible;
146
+ opacity: 0.4;
147
+ }
assets/src/css/components/_buttons-pop-up.scss ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ .dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto {
2
+ text-align: center;
3
+ li {
4
+ display: inline-block;
5
+ float: none;
6
+ }
7
+ }
assets/src/css/{lib/buttons/shortcode.scss → components/_buttons-shortcode.scss} RENAMED
@@ -1,4 +1,6 @@
1
  /*****************************************/
2
  /* Shortcode Buttons
3
  /*****************************************/
4
- .dpsp-shortcode-wrapper { margin-bottom: 1.2em; }
 
 
1
  /*****************************************/
2
  /* Shortcode Buttons
3
  /*****************************************/
4
+ .dpsp-shortcode-wrapper {
5
+ margin-bottom: 1.2em;
6
+ }
assets/src/css/{lib/buttons/sidebar.scss → components/_buttons-sidebar.scss} RENAMED
@@ -2,183 +2,190 @@
2
  /* Floating Sidebar Buttons
3
  /*****************************************/
4
  #dpsp-floating-sidebar {
5
- position: fixed;
6
- top: 50%;
7
- transform: translateY(-50%);
8
- z-index: 9998;
9
  }
10
 
11
  #dpsp-floating-sidebar.dpsp-position-left {
12
- left: 0;
13
  }
14
 
15
  #dpsp-floating-sidebar.dpsp-position-right {
16
- right: 0;
17
  }
18
 
19
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar li {
20
- float: none;
21
- margin-left: 0;
22
  }
23
 
24
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn {
25
- padding: 0;
26
- width: 40px;
27
  }
28
 
29
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
30
- border-color: transparent !important;
31
- background: transparent !important;
32
  }
33
 
34
 
35
  .dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner {
36
- height: 41px;
37
  }
38
 
39
  .dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner {
40
- height: 46px;
41
  }
42
 
43
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon {
44
- height: 22px;
45
- line-height: 22px;
46
  }
47
 
48
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner {
49
- height: 18px;
 
 
 
 
50
  }
51
 
52
  /* Sidebar animations */
53
  #dpsp-floating-sidebar.dpsp-no-animation {
54
- display: none;
55
  }
56
  #dpsp-floating-sidebar.dpsp-no-animation.opened {
57
- display: block;
 
 
 
 
58
  }
59
 
60
  /* Animation 1 */
61
  #dpsp-floating-sidebar.dpsp-animation-1 {
62
- opacity: 0;
63
- transition: opacity 0.2s ease-in-out;
64
  }
65
  #dpsp-floating-sidebar.dpsp-animation-1.opened {
66
- opacity: 1;
67
  }
68
 
69
  /* Animation 2 */
70
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2,
71
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2 {
72
- left: -60px;
73
- transition: left 0.2s ease-in-out;
74
  }
75
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2.opened {
76
- left: 0;
77
  }
78
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2.opened {
79
- left: 12px;
80
  }
81
 
82
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2,
83
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2 {
84
- right: -60px;
85
- transition: right 0.2s ease-in-out;
86
  }
87
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2.opened {
88
- right: 0;
89
  }
90
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2.opened {
91
- right: 10px;
92
  }
93
 
94
  /* Sidebar buttons option - rounded */
95
  .dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn,
96
  .dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
97
- border-radius: 0;
98
  }
99
 
100
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,
101
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon {
102
- -webkit-border-top-right-radius: 4px;
103
- -moz-border-radius-topright: 4px;
104
- border-top-right-radius: 4px;
105
  }
106
 
107
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,
108
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon {
109
- -webkit-border-bottom-right-radius: 4px;
110
- -moz-border-radius-bottomright: 4px;
111
- border-bottom-right-radius: 4px;
112
  }
113
 
114
  .dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,
115
  .dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
116
- -webkit-border-top-right-radius: 4px;
117
- -moz-border-radius-topright: 4px;
118
- border-top-right-radius: 4px;
119
- -webkit-border-bottom-right-radius: 4px;
120
- -moz-border-radius-bottomright: 4px;
121
- border-bottom-right-radius: 4px;
122
  }
123
 
124
 
125
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,
126
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon {
127
- -webkit-border-top-left-radius: 4px;
128
- -moz-border-radius-topleft: 4px;
129
- border-top-left-radius: 4px;
130
  }
131
 
132
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,
133
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon {
134
- -webkit-border-bottom-left-radius: 4px;
135
- -moz-border-radius-bottomleft: 4px;
136
- border-bottom-left-radius: 4px;
137
  }
138
 
139
  .dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,
140
  .dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
141
- -webkit-border-top-left-radius: 4px;
142
- -moz-border-radius-topleft: 4px;
143
- border-top-left-radius: 4px;
144
- -webkit-border-bottom-left-radius: 4px;
145
- -moz-border-radius-bottomleft: 4px;
146
- border-bottom-left-radius: 4px;
147
  }
148
 
149
  .dpsp-shape-rounded.dpsp-has-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
150
- border-radius: 4px;
151
  }
152
 
153
  /* Sidebar buttons option - circle */
154
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle {
155
- left: 12px;
156
  }
157
 
158
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle {
159
- right: 10px;
160
  }
161
 
162
  /* Sidebar buttons bottom spacing */
163
  .dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn {
164
- margin-bottom: 6px;
165
  }
166
 
167
  .dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn {
168
- -webkit-border-top-right-radius: 4px;
169
- -moz-border-radius-topright: 4px;
170
- border-top-right-radius: 4px;
171
-
172
- -webkit-border-bottom-right-radius: 4px;
173
- -moz-border-radius-bottomright: 4px;
174
- border-bottom-right-radius: 4px;
175
  }
176
 
177
  /*
178
  * Sidebar buttons style 2
179
  */
180
  #dpsp-floating-sidebar.dpsp-style-2 .dpsp-network-btn .dpsp-network-icon {
181
- background: none;
182
  }
183
 
184
 
@@ -186,20 +193,69 @@
186
  * Sidebar button hover label
187
  *
188
  */
189
- #dpsp-floating-sidebar .dpsp-networks-btns-wrapper li { position: relative; overflow: visible; }
190
-
191
- #dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label { position: absolute; z-index: 1; display: inline-block; width: auto; white-space: nowrap; top: 50%; margin-top: -15px; height: 30px; padding: 6px 12px; color: #fff; font-size: 12px; font-weight: normal; line-height: 18px; background: #34495e; border-radius: 3px; visibility: hidden; opacity: 0; transition: all 0.2s ease-in-out; box-sizing: border-box; }
192
- #dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label { left: 100%; }
193
- #dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label { right: 100%; }
194
-
195
- #dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label { transform: translateX(10px); visibility: visible; opacity: 1; }
196
- #dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label { transform: translateX(-10px); visibility: visible; opacity: 1; }
197
-
198
- #dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label:before { content: ''; display: block; position: absolute; top: 50%; margin-top: -5px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
199
- #dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label:before { left: -5px; border-right: 5px solid #34495e; }
200
- #dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label:before { right: -5px; border-left: 5px solid #34495e; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
 
202
  /** Hide Labels on admin **/
203
  .dpsp-settings-button-style .dpsp-networks-btns-sidebar .dpsp-network-label {
204
- display: none;
205
  }
2
  /* Floating Sidebar Buttons
3
  /*****************************************/
4
  #dpsp-floating-sidebar {
5
+ position: fixed;
6
+ top: 50%;
7
+ transform: translateY(-50%);
8
+ z-index: 9998;
9
  }
10
 
11
  #dpsp-floating-sidebar.dpsp-position-left {
12
+ left: 0;
13
  }
14
 
15
  #dpsp-floating-sidebar.dpsp-position-right {
16
+ right: 0;
17
  }
18
 
19
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar li {
20
+ float: none;
21
+ margin-left: 0;
22
  }
23
 
24
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn {
25
+ width: 40px;
26
+ padding: 0;
27
  }
28
 
29
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
30
+ border-color: transparent !important;
31
+ background: transparent !important;
32
  }
33
 
34
 
35
  .dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner {
36
+ height: 41px;
37
  }
38
 
39
  .dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon-inner {
40
+ height: 46px;
41
  }
42
 
43
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon {
44
+ height: 22px;
45
+ line-height: 22px;
46
  }
47
 
48
  .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner {
49
+ height: 18px;
50
+ }
51
+
52
+ .dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon-inner {
53
+ height: 30px;
54
  }
55
 
56
  /* Sidebar animations */
57
  #dpsp-floating-sidebar.dpsp-no-animation {
58
+ display: none;
59
  }
60
  #dpsp-floating-sidebar.dpsp-no-animation.opened {
61
+ display: block;
62
+ }
63
+ #dpsp-floating-sidebar.stop-hidden.opened,
64
+ #dpsp-floating-sidebar.stop-hidden {
65
+ visibility: hidden;
66
  }
67
 
68
  /* Animation 1 */
69
  #dpsp-floating-sidebar.dpsp-animation-1 {
70
+ opacity: 0;
71
+ transition: opacity 0.2s ease-in-out;
72
  }
73
  #dpsp-floating-sidebar.dpsp-animation-1.opened {
74
+ opacity: 1;
75
  }
76
 
77
  /* Animation 2 */
78
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2,
79
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2 {
80
+ left: -60px;
81
+ transition: left 0.2s ease-in-out;
82
  }
83
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-animation-2.opened {
84
+ left: 0;
85
  }
86
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle.dpsp-animation-2.opened {
87
+ left: 12px;
88
  }
89
 
90
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2,
91
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2 {
92
+ right: -60px;
93
+ transition: right 0.2s ease-in-out;
94
  }
95
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-animation-2.opened {
96
+ right: 0;
97
  }
98
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle.dpsp-animation-2.opened {
99
+ right: 10px;
100
  }
101
 
102
  /* Sidebar buttons option - rounded */
103
  .dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn,
104
  .dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
105
+ border-radius: 0;
106
  }
107
 
108
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,
109
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon {
110
+ -webkit-border-top-right-radius: 4px;
111
+ -moz-border-radius-topright: 4px;
112
+ border-top-right-radius: 4px;
113
  }
114
 
115
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,
116
  .dpsp-position-left.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon {
117
+ -webkit-border-bottom-right-radius: 4px;
118
+ -moz-border-radius-bottomright: 4px;
119
+ border-bottom-right-radius: 4px;
120
  }
121
 
122
  .dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,
123
  .dpsp-position-left.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
124
+ -webkit-border-top-right-radius: 4px;
125
+ -moz-border-radius-topright: 4px;
126
+ border-top-right-radius: 4px;
127
+ -webkit-border-bottom-right-radius: 4px;
128
+ -moz-border-radius-bottomright: 4px;
129
+ border-bottom-right-radius: 4px;
130
  }
131
 
132
 
133
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first,
134
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-first .dpsp-network-icon {
135
+ -webkit-border-top-left-radius: 4px;
136
+ -moz-border-radius-topleft: 4px;
137
+ border-top-left-radius: 4px;
138
  }
139
 
140
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last,
141
  .dpsp-position-right.dpsp-shape-rounded .dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-last .dpsp-network-icon {
142
+ -webkit-border-bottom-left-radius: 4px;
143
+ -moz-border-radius-bottomleft: 4px;
144
+ border-bottom-left-radius: 4px;
145
  }
146
 
147
  .dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn,
148
  .dpsp-position-right.dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
149
+ -webkit-border-top-left-radius: 4px;
150
+ -moz-border-radius-topleft: 4px;
151
+ border-top-left-radius: 4px;
152
+ -webkit-border-bottom-left-radius: 4px;
153
+ -moz-border-radius-bottomleft: 4px;
154
+ border-bottom-left-radius: 4px;
155
  }
156
 
157
  .dpsp-shape-rounded.dpsp-has-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
158
+ border-radius: 4px;
159
  }
160
 
161
  /* Sidebar buttons option - circle */
162
  #dpsp-floating-sidebar.dpsp-position-left.dpsp-shape-circle {
163
+ left: 12px;
164
  }
165
 
166
  #dpsp-floating-sidebar.dpsp-position-right.dpsp-shape-circle {
167
+ right: 10px;
168
  }
169
 
170
  /* Sidebar buttons bottom spacing */
171
  .dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn {
172
+ margin-bottom: 6px;
173
  }
174
 
175
  .dpsp-shape-rounded.dpsp-bottom-spacing .dpsp-networks-btns-sidebar .dpsp-network-btn {
176
+ -webkit-border-top-right-radius: 4px;
177
+ -moz-border-radius-topright: 4px;
178
+ border-top-right-radius: 4px;
179
+ -webkit-border-bottom-right-radius: 4px;
180
+ -moz-border-radius-bottomright: 4px;
181
+ border-bottom-right-radius: 4px;
 
182
  }
183
 
184
  /*
185
  * Sidebar buttons style 2
186
  */
187
  #dpsp-floating-sidebar.dpsp-style-2 .dpsp-network-btn .dpsp-network-icon {
188
+ background: none;
189
  }
190
 
191
 
193
  * Sidebar button hover label
194
  *
195
  */
196
+ #dpsp-floating-sidebar .dpsp-networks-btns-wrapper li {
197
+ position: relative;
198
+ overflow: visible;
199
+ }
200
+
201
+ #dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label {
202
+ display: inline-block;
203
+ position: absolute;
204
+ top: 50%;
205
+ visibility: hidden;
206
+ box-sizing: border-box;
207
+ width: auto;
208
+ height: 30px;
209
+ margin-top: -15px;
210
+ padding: 6px 12px;
211
+ border-radius: 3px;
212
+ opacity: 0;
213
+ color: #fff;
214
+ background: #34495e;
215
+ font-size: 12px;
216
+ font-weight: normal;
217
+ line-height: 18px;
218
+ white-space: nowrap;
219
+ transition: all 0.2s ease-in-out;
220
+ z-index: 1;
221
+ }
222
+ #dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label {
223
+ left: 100%;
224
+ }
225
+ #dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label {
226
+ right: 100%;
227
+ }
228
+
229
+ #dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label {
230
+ visibility: visible;
231
+ opacity: 1;
232
+ transform: translateX(10px);
233
+ }
234
+ #dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper li.dpsp-hover .dpsp-network-label {
235
+ visibility: visible;
236
+ opacity: 1;
237
+ transform: translateX(-10px);
238
+ }
239
+
240
+ #dpsp-floating-sidebar .dpsp-networks-btns-wrapper .dpsp-network-label:before {
241
+ display: block;
242
+ position: absolute;
243
+ top: 50%;
244
+ margin-top: -5px;
245
+ border-top: 5px solid transparent;
246
+ border-bottom: 5px solid transparent;
247
+ content: '';
248
+ }
249
+ #dpsp-floating-sidebar.dpsp-position-left .dpsp-networks-btns-wrapper .dpsp-network-label:before {
250
+ left: -5px;
251
+ border-right: 5px solid #34495e;
252
+ }
253
+ #dpsp-floating-sidebar.dpsp-position-right .dpsp-networks-btns-wrapper .dpsp-network-label:before {
254
+ right: -5px;
255
+ border-left: 5px solid #34495e;
256
+ }
257
 
258
  /** Hide Labels on admin **/
259
  .dpsp-settings-button-style .dpsp-networks-btns-sidebar .dpsp-network-label {
260
+ display: none;
261
  }
assets/src/css/{lib/buttons/sticky.scss → components/_buttons-sticky.scss} RENAMED
@@ -5,19 +5,19 @@
5
  /* Desktop */
6
  #dpsp-sticky-bar-wrapper {
7
  position: fixed;
8
- z-index: 1000;
9
  bottom: 0;
10
  left: 0;
11
  width: 100%;
12
  background: #fff;
 
13
  /* Position */
14
  &.dpsp-position-desktop-top {
15
- bottom: auto;
16
  top: 0;
 
17
  }
18
  &.dpsp-position-desktop-bottom {
19
- bottom: 0;
20
  top: auto;
 
21
  }
22
  &.dpsp-no-animation {
23
  visibility: hidden;
@@ -32,30 +32,31 @@
32
  #dpsp-sticky-bar {
33
  display: none;
34
  position: relative;
35
- margin: 7px 0;
36
  box-sizing: border-box;
 
37
  .dpsp-networks-btns-wrapper {
38
  display: flex;
39
  li {
40
  float: none;
41
- flex: 1;
42
  margin-bottom: 0;
43
  margin-left: 3px;
44
- margin-right: 3px;
 
45
  &:last-of-type {
46
  margin-right: 0;
47
  }
48
  }
49
  }
50
  .dpsp-network-btn {
51
- padding-left: 1em;
52
  padding-right: 1em;
 
53
  text-align: center;
54
  .dpsp-network-icon {
55
  display: inline-block;
56
  position: relative;
57
- width: 20px;
58
  overflow: visible;
 
59
  }
60
  &.dpsp-has-count .dpsp-network-icon {
61
  margin-right: 5px;
@@ -66,17 +67,17 @@
66
  /* Mobile */
67
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile {
68
  &.dpsp-position-mobile-top {
69
- bottom: auto;
70
  top: 0;
 
71
  }
72
  &.dpsp-position-mobile-bottom {
73
- bottom: 0;
74
  top: auto;
 
75
  }
76
  #dpsp-sticky-bar {
77
  position: static;
78
- margin: 0;
79
  width: 100% !important;
 
80
  padding: 0;
81
 
82
  .dpsp-networks-btns-wrapper li {
@@ -84,26 +85,26 @@
84
  }
85
 
86
  .dpsp-network-btn {
87
- padding-left: 0;
88
- padding-right: 0;
89
- text-align: center;
90
  height: 44px;
91
  max-height: 44px;
92
- line-height: 40px;
 
93
  border-radius: 0;
 
 
94
 
95
  .dpsp-network-icon {
 
96
  position: relative;
97
  left: auto;
98
- display: inline-block;
99
  float: none;
100
  font-size: 18px;
101
  line-height: 40px;
102
  }
103
 
104
  &.dpsp-has-count .dpsp-network-icon {
105
- position: absolute;
106
  display: block;
 
107
  width: 100%;
108
  height: 26px;
109
  line-height: 26px;
@@ -114,11 +115,11 @@
114
  bottom: 0;
115
  left: 0;
116
  width: 100%;
 
117
  margin-left: 0;
118
  font-size: 11px;
119
- text-align: center;
120
- height: 20px;
121
  line-height: 20px;
 
122
  }
123
  }
124
  }
@@ -139,36 +140,34 @@
139
  /* Animation 2 */
140
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2,
141
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2 {
142
- visibility: hidden;
143
  bottom: -88px;
 
144
  transition: bottom 0.3s ease-in-out, visibility 0.3s ease-in-out;
145
  }
146
 
147
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2.opened,
148
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2.opened {
 
149
  visibility: visible;
150
- bottom: 0px;
151
  }
152
 
153
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2,
154
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2 {
155
- visibility: hidden;
156
  top: -88px;
157
  bottom: auto;
 
158
  transition: top 0.3s ease-in-out, visibility 0.3s ease-in-out;
159
  }
160
 
161
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2.opened,
162
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2.opened {
 
163
  visibility: visible;
164
- top: 0px;
165
  }
166
 
167
  /* Admin bar */
168
  @media screen and (min-width: 782px) {
169
-
170
  body.admin-bar #dpsp-sticky-bar-wrapper {
171
  margin-top: 32px;
172
  }
173
-
174
  }
5
  /* Desktop */
6
  #dpsp-sticky-bar-wrapper {
7
  position: fixed;
 
8
  bottom: 0;
9
  left: 0;
10
  width: 100%;
11
  background: #fff;
12
+ z-index: 1000;
13
  /* Position */
14
  &.dpsp-position-desktop-top {
 
15
  top: 0;
16
+ bottom: auto;
17
  }
18
  &.dpsp-position-desktop-bottom {
 
19
  top: auto;
20
+ bottom: 0;
21
  }
22
  &.dpsp-no-animation {
23
  visibility: hidden;
32
  #dpsp-sticky-bar {
33
  display: none;
34
  position: relative;
 
35
  box-sizing: border-box;
36
+ margin: 7px 0;
37
  .dpsp-networks-btns-wrapper {
38
  display: flex;
39
  li {
40
  float: none;
41
+ margin-right: 3px;
42
  margin-bottom: 0;
43
  margin-left: 3px;
44
+
45
+ flex: 1;
46
  &:last-of-type {
47
  margin-right: 0;
48
  }
49
  }
50
  }
51
  .dpsp-network-btn {
 
52
  padding-right: 1em;
53
+ padding-left: 1em;
54
  text-align: center;
55
  .dpsp-network-icon {
56
  display: inline-block;
57
  position: relative;
 
58
  overflow: visible;
59
+ width: 20px;
60
  }
61
  &.dpsp-has-count .dpsp-network-icon {
62
  margin-right: 5px;
67
  /* Mobile */
68
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile {
69
  &.dpsp-position-mobile-top {
 
70
  top: 0;
71
+ bottom: auto;
72
  }
73
  &.dpsp-position-mobile-bottom {
 
74
  top: auto;
75
+ bottom: 0;
76
  }
77
  #dpsp-sticky-bar {
78
  position: static;
 
79
  width: 100% !important;
80
+ margin: 0;
81
  padding: 0;
82
 
83
  .dpsp-networks-btns-wrapper li {
85
  }
86
 
87
  .dpsp-network-btn {
 
 
 
88
  height: 44px;
89
  max-height: 44px;
90
+ padding-right: 0;
91
+ padding-left: 0;
92
  border-radius: 0;
93
+ line-height: 40px;
94
+ text-align: center;
95
 
96
  .dpsp-network-icon {
97
+ display: inline-block;
98
  position: relative;
99
  left: auto;
 
100
  float: none;
101
  font-size: 18px;
102
  line-height: 40px;
103
  }
104
 
105
  &.dpsp-has-count .dpsp-network-icon {
 
106
  display: block;
107
+ position: absolute;
108
  width: 100%;
109
  height: 26px;
110
  line-height: 26px;
115
  bottom: 0;
116
  left: 0;
117
  width: 100%;
118
+ height: 20px;
119
  margin-left: 0;
120
  font-size: 11px;
 
 
121
  line-height: 20px;
122
+ text-align: center;
123
  }
124
  }
125
  }
140
  /* Animation 2 */
141
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2,
142
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2 {
 
143
  bottom: -88px;
144
+ visibility: hidden;
145
  transition: bottom 0.3s ease-in-out, visibility 0.3s ease-in-out;
146
  }
147
 
148
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-bottom.dpsp-animation-2.opened,
149
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-bottom.dpsp-animation-2.opened {
150
+ bottom: 0;
151
  visibility: visible;
 
152
  }
153
 
154
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2,
155
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2 {
 
156
  top: -88px;
157
  bottom: auto;
158
+ visibility: hidden;
159
  transition: top 0.3s ease-in-out, visibility 0.3s ease-in-out;
160
  }
161
 
162
  #dpsp-sticky-bar-wrapper:not(.dpsp-is-mobile).dpsp-position-desktop-top.dpsp-animation-2.opened,
163
  #dpsp-sticky-bar-wrapper.dpsp-is-mobile.dpsp-position-mobile-top.dpsp-animation-2.opened {
164
+ top: 0;
165
  visibility: visible;
 
166
  }
167
 
168
  /* Admin bar */
169
  @media screen and (min-width: 782px) {
 
170
  body.admin-bar #dpsp-sticky-bar-wrapper {
171
  margin-top: 32px;
172
  }
 
173
  }
assets/src/css/{lib/click-to-tweet.scss → components/_click-to-tweet.scss} RENAMED
@@ -2,158 +2,166 @@
2
  /* Click to Tweet
3
  /*****************************************/
4
  .dpsp-click-to-tweet {
5
- position: relative;
6
- display: block;
7
- margin: 1.5em 0;
8
- font-size: 105%;
9
- text-decoration: none;
10
- box-shadow: none !important;
11
- transition: all 0.15s ease-in;
12
  }
13
 
14
  .dpsp-click-to-tweet:hover {
15
- box-shadow: none !important;
16
  }
17
 
18
  .dpsp-click-to-tweet.dpsp-has-avatar {
19
- padding-left: 120px !important;
20
- min-height: 115px;
21
  }
22
 
23
  .dpsp-click-to-tweet.dpsp-has-avatar .avatar {
24
- position: absolute;
25
- top: 15px;
26
- left: 15px;
27
- border-radius: 50%;
28
- box-shadow: none !important;
29
  }
30
 
31
  .dpsp-click-to-tweet:after,
32
  .dpsp-click-to-tweet-footer:after {
33
- content: '';
34
- display: block;
35
- clear: both;
36
  }
37
 
38
- .dpsp-click-to-tweet-content { display: block; position: relative; z-index: 2; font-family: 'Georgia'; font-size: 18px; line-height: 1.5; text-align: left; }
 
 
 
 
 
 
 
 
39
 
40
  .dpsp-click-to-tweet-footer {
41
- display: block;
42
- font-family: 'Arial';
43
- font-weight: bold;
44
- font-size: 14px;
45
- color: #999;
46
- margin-top: 1em;
47
  }
48
 
49
  /* Call to Action with Icon */
50
- .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-left .dpsp-click-to-tweet-cta { float: left; }
51
- .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-right .dpsp-click-to-tweet-cta { float: right; }
 
 
 
 
52
 
53
  .dpsp-click-to-tweet-cta {
54
- color: #00abf0;
55
- line-height: 1;
56
  }
57
  .dpsp-click-to-tweet-cta svg {
58
- fill: #00abf0;
59
  }
60
  .dpsp-click-to-tweet-cta .dpsp-twitter {
61
- display: inline-block;
62
- position: relative;
63
- font-size: 20px;
64
- width: 20px;
65
- height: 20px;
66
- vertical-align: middle;
67
  }
68
  .dpsp-click-to-tweet-cta > span {
69
- margin-right: 10px;
70
- vertical-align: middle;
71
  }
72
  .dpsp-click-to-tweet:hover .dpsp-twitter .dpsp-network-icon-inner {
73
- transition: all 0.2s ease-in-out;
74
  }
75
  .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-after {
76
- margin-left: -10px;
77
- opacity: 1;
78
  }
79
  .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-before {
80
- margin-left: 10px;
81
- opacity: 0;
82
  }
83
 
84
 
85
  /* Click to Tweet Style 1 */
86
  a.dpsp-click-to-tweet.dpsp-style-1 {
87
- border: 0;
88
- border-left: 5px solid #00abf0;
89
- color: #555;
90
- padding: 15px 5px 5px 30px;
91
  }
92
  a.dpsp-click-to-tweet.dpsp-style-1:hover {
93
- border-left: 5px solid #0099d7;
94
  }
95
 
96
  /* Click to Tweet Style 2 */
97
  a.dpsp-click-to-tweet.dpsp-style-2 {
98
- border: 0;
99
- border-left: 5px solid #00abf0;
100
- color: #555;
101
- background: #f6f6f6;
102
- padding: 20px 30px 20px 30px;
103
  }
104
  a.dpsp-click-to-tweet.dpsp-style-2:hover {
105
- border-left: 5px solid #0099d7;
106
  }
107
 
108
  /* Click to Tweet Style 3 */
109
  a.dpsp-click-to-tweet.dpsp-style-3 {
110
- border: 1px solid #e1e1e1;
111
- border-radius: 3px;
112
- color: #838383;
113
- padding: 20px 30px 20px 30px;
114
  }
115
  a.dpsp-click-to-tweet.dpsp-style-3:hover {
116
- color: #555;
117
  }
118
 
119
  /* Click to Tweet Style 4 */
120
  a.dpsp-click-to-tweet.dpsp-style-4 {
121
- border: 4px double #e1e1e1;
122
- border-radius: 0;
123
- color: #838383;
124
- padding: 20px 30px 20px 30px;
125
  }
126
  a.dpsp-click-to-tweet.dpsp-style-4:hover {
127
- color: #555;
128
  }
129
 
130
  /* Click to Tweet Style 5 */
131
  a.dpsp-click-to-tweet.dpsp-style-5 {
132
- border: 0;
133
- border-left: 0px solid transparent;
134
- border-radius: 3px;
135
- color: #fff;
136
- background: #00abf0;
137
- padding: 20px 30px 20px 30px;
138
- transition: border 0.2s ease-in-out;
139
  }
140
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta {
141
- color: #fff;
142
  }
143
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta svg {
144
- fill: #fff;
145
  }
146
  a.dpsp-click-to-tweet.dpsp-style-5:hover {
147
- color: #fff;
148
- border-left: 9px solid #0099D7;
149
  }
150
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-content,
151
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-footer,
152
  a.dpsp-click-to-tweet.dpsp-style-5 > img {
153
- transition: margin-left 0.2s ease-in-out;
154
  }
155
  a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-content,
156
  a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-footer,
157
  a.dpsp-click-to-tweet.dpsp-style-5:hover > img {
158
- margin-left: -9px;
159
  }
2
  /* Click to Tweet
3
  /*****************************************/
4
  .dpsp-click-to-tweet {
5
+ display: block;
6
+ position: relative;
7
+ margin: 1.5em 0;
8
+ box-shadow: none !important;
9
+ font-size: 105%;
10
+ text-decoration: none;
11
+ transition: all 0.15s ease-in;
12
  }
13
 
14
  .dpsp-click-to-tweet:hover {
15
+ box-shadow: none !important;
16
  }
17
 
18
  .dpsp-click-to-tweet.dpsp-has-avatar {
19
+ min-height: 115px;
20
+ padding-left: 120px !important;
21
  }
22
 
23
  .dpsp-click-to-tweet.dpsp-has-avatar .avatar {
24
+ position: absolute;
25
+ top: 15px;
26
+ left: 15px;
27
+ border-radius: 50%;
28
+ box-shadow: none !important;
29
  }
30
 
31
  .dpsp-click-to-tweet:after,
32
  .dpsp-click-to-tweet-footer:after {
33
+ display: block;
34
+ clear: both;
35
+ content: '';
36
  }
37
 
38
+ .dpsp-click-to-tweet-content {
39
+ display: block;
40
+ position: relative;
41
+ font-family: 'Georgia';
42
+ font-size: 18px;
43
+ line-height: 1.5;
44
+ text-align: left;
45
+ z-index: 2;
46
+ }
47
 
48
  .dpsp-click-to-tweet-footer {
49
+ display: block;
50
+ margin-top: 1em;
51
+ color: #999;
52
+ font-family: 'Arial';
53
+ font-size: 14px;
54
+ font-weight: bold;
55
  }
56
 
57
  /* Call to Action with Icon */
58
+ .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-left .dpsp-click-to-tweet-cta {
59
+ float: left;
60
+ }
61
+ .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-right .dpsp-click-to-tweet-cta {
62
+ float: right;
63
+ }
64
 
65
  .dpsp-click-to-tweet-cta {
66
+ color: #00abf0;
67
+ line-height: 1;
68
  }
69
  .dpsp-click-to-tweet-cta svg {
70
+ fill: #00abf0;
71
  }
72
  .dpsp-click-to-tweet-cta .dpsp-twitter {
73
+ display: inline-block;
74
+ vertical-align: middle;
 
 
 
 
75
  }
76
  .dpsp-click-to-tweet-cta > span {
77
+ margin-right: 10px;
78
+ vertical-align: middle;
79
  }
80
  .dpsp-click-to-tweet:hover .dpsp-twitter .dpsp-network-icon-inner {
81
+ transition: all 0.2s ease-in-out;
82
  }
83
  .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-after {
84
+ margin-left: -10px;
85
+ opacity: 1;
86
  }
87
  .dpsp-click-to-tweet.dpsp-click-to-tweet-cta-icon-animation:hover .dpsp-click-to-tweet-cta .dpsp-twitter .dpsp-network-icon-before {
88
+ margin-left: 10px;
89
+ opacity: 0;
90
  }
91
 
92
 
93
  /* Click to Tweet Style 1 */
94
  a.dpsp-click-to-tweet.dpsp-style-1 {
95
+ padding: 15px 5px 5px 30px;
96
+ border: 0;
97
+ border-left: 5px solid #00abf0;
98
+ color: #555;
99
  }
100
  a.dpsp-click-to-tweet.dpsp-style-1:hover {
101
+ border-left: 5px solid #0099d7;
102
  }
103
 
104
  /* Click to Tweet Style 2 */
105
  a.dpsp-click-to-tweet.dpsp-style-2 {
106
+ padding: 20px 30px 20px 30px;
107
+ border: 0;
108
+ border-left: 5px solid #00abf0;
109
+ color: #555;
110
+ background: #f6f6f6;
111
  }
112
  a.dpsp-click-to-tweet.dpsp-style-2:hover {
113
+ border-left: 5px solid #0099d7;
114
  }
115
 
116
  /* Click to Tweet Style 3 */
117
  a.dpsp-click-to-tweet.dpsp-style-3 {
118
+ padding: 20px 30px 20px 30px;
119
+ border: 1px solid #e1e1e1;
120
+ border-radius: 3px;
121
+ color: #838383;
122
  }
123
  a.dpsp-click-to-tweet.dpsp-style-3:hover {
124
+ color: #555;
125
  }
126
 
127
  /* Click to Tweet Style 4 */
128
  a.dpsp-click-to-tweet.dpsp-style-4 {
129
+ padding: 20px 30px 20px 30px;
130
+ border: 4px double #e1e1e1;
131
+ border-radius: 0;
132
+ color: #838383;
133
  }
134
  a.dpsp-click-to-tweet.dpsp-style-4:hover {
135
+ color: #555;
136
  }
137
 
138
  /* Click to Tweet Style 5 */
139
  a.dpsp-click-to-tweet.dpsp-style-5 {
140
+ padding: 20px 30px 20px 30px;
141
+ border: 0;
142
+ border-left: 0 solid transparent;
143
+ border-radius: 3px;
144
+ color: #fff;
145
+ background: #00abf0;
146
+ transition: border 0.2s ease-in-out;
147
  }
148
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta {
149
+ color: #fff;
150
  }
151
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-cta svg {
152
+ fill: #fff;
153
  }
154
  a.dpsp-click-to-tweet.dpsp-style-5:hover {
155
+ border-left: 9px solid #0099d7;
156
+ color: #fff;
157
  }
158
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-content,
159
  a.dpsp-click-to-tweet.dpsp-style-5 .dpsp-click-to-tweet-footer,
160
  a.dpsp-click-to-tweet.dpsp-style-5 > img {
161
+ transition: margin-left 0.2s ease-in-out;
162
  }
163
  a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-content,
164
  a.dpsp-click-to-tweet.dpsp-style-5:hover .dpsp-click-to-tweet-footer,
165
  a.dpsp-click-to-tweet.dpsp-style-5:hover > img {
166
+ margin-left: -9px;
167
  }
assets/src/css/{lib/follow-widget.scss → components/_follow-widget.scss} RENAMED
@@ -4,6 +4,7 @@
4
  .dpsp-shortcode-follow-wrapper {
5
  & > .dpsp-networks-btns-follow-widget {
6
  display: flex;
 
7
  flex-flow: row wrap;
8
  }
9
  &.dpsp-follow-align-left {
4
  .dpsp-shortcode-follow-wrapper {
5
  & > .dpsp-networks-btns-follow-widget {
6
  display: flex;
7
+
8
  flex-flow: row wrap;
9
  }
10
  &.dpsp-follow-align-left {
assets/src/css/{lib/icons-general.scss → components/_icons-general.scss} RENAMED
@@ -2,34 +2,33 @@
2
  /* General: Icons
3
  /*****************************************/
4
  .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
5
- align-self: start;
6
  display: block;
7
- font-size: 14px;
8
- line-height: 36px;
9
- width: 40px;
10
- height:40px;
11
  position: relative;
12
  top: -2px;
13
  left: -2px;
14
- text-align: center;
15
- border: 2px solid;
16
- flex: 0 0 auto;
17
  -moz-box-sizing: border-box;
18
  box-sizing: border-box;
19
-
20
- -moz-transition: all 0.15s ease-in;
 
 
 
 
21
  -webkit-transition: all 0.15s ease-in;
 
22
  -o-transition: all 0.15s ease-in;
23
  transition: all 0.15s ease-in;
 
 
 
24
  }
25
 
26
  .dpsp-network-icon .dpsp-network-icon-inner svg,
27
  .dpsp-icon-total-share svg {
28
  position: relative;
29
- top: 0.1em;
30
- max-height: 14px;
31
  width: auto;
32
- overflow:visible;
33
  transition: fill 0.15s ease-in-out;
34
  .dpsp-size-large & {
35
  max-height: 22px;
@@ -43,18 +42,18 @@
43
  .dpsp-network-icon-inner,
44
  .dpsp-icon-total-share {
45
  display: flex;
 
46
  align-items: center;
47
  justify-content: center;
48
  }
49
  .dpsp-network-icon-inner {
50
- transition: all 0.2s ease;
51
  height: 36px;
 
52
  }
53
 
54
 
55
  /* Button animations */
56
  .dpsp-networks-btns-wrapper.dpsp-has-button-icon-animation .dpsp-network-btn:hover .dpsp-network-icon-inner {
57
- transition: all 0.2s cubic-bezier(.62, 3.15, .4, -0.64);
58
  transform: scale(1.5);
59
  }
60
-
2
  /* General: Icons
3
  /*****************************************/
4
  .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
 
5
  display: block;
 
 
 
 
6
  position: relative;
7
  top: -2px;
8
  left: -2px;
 
 
 
9
  -moz-box-sizing: border-box;
10
  box-sizing: border-box;
11
+ width: 40px;
12
+ height: 40px;
13
+ border: 2px solid;
14
+ font-size: 14px;
15
+ line-height: 36px;
16
+ text-align: center;
17
  -webkit-transition: all 0.15s ease-in;
18
+ -moz-transition: all 0.15s ease-in;
19
  -o-transition: all 0.15s ease-in;
20
  transition: all 0.15s ease-in;
21
+
22
+ align-self: start;
23
+ flex: 0 0 auto;
24
  }
25
 
26
  .dpsp-network-icon .dpsp-network-icon-inner svg,
27
  .dpsp-icon-total-share svg {
28
  position: relative;
29
+ overflow: visible;
 
30
  width: auto;
31
+ max-height: 14px;
32
  transition: fill 0.15s ease-in-out;
33
  .dpsp-size-large & {
34
  max-height: 22px;
42
  .dpsp-network-icon-inner,
43
  .dpsp-icon-total-share {
44
  display: flex;
45
+
46
  align-items: center;
47
  justify-content: center;
48
  }
49
  .dpsp-network-icon-inner {
 
50
  height: 36px;
51
+ transition: all 0.2s ease;
52
  }
53
 
54
 
55
  /* Button animations */
56
  .dpsp-networks-btns-wrapper.dpsp-has-button-icon-animation .dpsp-network-btn:hover .dpsp-network-icon-inner {
57
+ transition: all 0.2s cubic-bezier(0.62, 3.15, 0.4, -0.64);
58
  transform: scale(1.5);
59
  }
 
assets/src/css/components/_pop-up.scss ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*****************************************/
2
+ /* Pop-Up Buttons
3
+ /*****************************************/
4
+ #dpsp-pop-up {
5
+ position: fixed;
6
+ width: 100%;
7
+ max-width: 750px;
8
+ padding: 40px;
9
+ border-radius: 10px;
10
+ opacity: 0;
11
+ background: #fff;
12
+ -webkit-transition: all 0.25s ease-in-out;
13
+ -moz-transition: all 0.25s ease-in-out;
14
+ -o-transition: all 0.25s ease-in-out;
15
+ transition: all 0.25s ease-in-out;
16
+ transform: translate(-50%,-50%);
17
+ z-index: 9999;
18
+ }
19
+ #dpsp-pop-up.dpsp-animation-1 {
20
+ transform: translate(-50%,-50%) scale(0.1);
21
+ }
22
+ #dpsp-pop-up.dpsp-animation-3 {
23
+ transform: translate(-50%,0%);
24
+ }
25
+ #dpsp-pop-up.dpsp-animation-4 {
26
+ transform: translate(-50%,-100%);
27
+ }
28
+
29
+ #dpsp-pop-up.no-animation,
30
+ #dpsp-pop-up-overlay.no-animation {
31
+ -webkit-transition: none;
32
+ -moz-transition: none;
33
+ -o-transition: none;
34
+ transition: none;
35
+ }
36
+
37
+ #dpsp-pop-up.opened {
38
+ top: 50%;
39
+ left: 50%;
40
+ opacity: 1;
41
+ transform: scale(1) translate(-50%,-50%);
42
+ }
43
+
44
+ #dpsp-pop-up-overlay {
45
+ display: block;
46
+ position: fixed;
47
+ top: 0;
48
+ left: 0;
49
+ width: 0;
50
+ height: 0;
51
+ opacity: 0;
52
+ background: #000;
53
+ -webkit-transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
54
+ -moz-transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
55
+ -o-transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
56
+ transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
57
+ z-index: 9998;
58
+ }
59
+ #dpsp-pop-up-overlay.opened {
60
+ width: 100%;
61
+ height: 100%;
62
+ opacity: 0.65;
63
+ }
64
+
65
+ #dpsp-pop-up-content {
66
+ text-align: center;
67
+ }
68
+
69
+ #dpsp-pop-up-close {
70
+ display: block;
71
+ position: absolute;
72
+ top: 10px;
73
+ right: 10px;
74
+ width: 22px;
75
+ height: 22px;
76
+ line-height: 22px;
77
+ text-align: center;
78
+ vertical-align: middle;
79
+ cursor: pointer;
80
+ }
81
+
82
+ #dpsp-pop-up-close svg {
83
+ position: relative;
84
+ top: 2px;
85
+ width: auto;
86
+ max-height: 16px;
87
+ vertical-align: top;
88
+
89
+ fill: #999;
90
+ }
91
+
92
+ #dpsp-pop-up h2 {
93
+ margin-bottom: 1em;
94
+ }
95
+ #dpsp-pop-up h2 p {
96
+ font-size: inherit;
97
+ }
98
+ #dpsp-pop-up h2 p:last-of-type {
99
+ margin-top: 0;
100
+ margin-bottom: 0;
101
+ }
102
+ #dpsp-pop-up p {
103
+ margin-top: 1em;
104
+ margin-bottom: 1em;
105
+ }
106
+
107
+ #dpsp-post-bottom {
108
+ width: 0;
109
+ height: 0;
110
+ margin: 0;
111
+ padding: 0;
112
+ }
113
+
114
+ @media screen and ( max-width : 800px ) {
115
+ #dpsp-pop-up {
116
+ width: 90%;
117
+ }
118
+ }
119
+
120
+ @media screen and ( max-width : 720px ) {
121
+ #dpsp-pop-up .dpsp-networks-btns-wrapper li {
122
+ width: 100%;
123
+ margin-right: 0;
124
+ margin-left: 0;
125
+ }
126
+ }
assets/src/css/{lib/top-shared-post.scss → components/_top-shared-post.scss} RENAMED
@@ -2,20 +2,20 @@
2
  /* Widget: Top Shared Posts
3
  /*****************************************/
4
  .dpsp-top-shared-post {
5
- margin-bottom: 2em;
6
  }
7
 
8
- .dpsp-top-shared-post-thumbnail {
9
- display: block;
10
- margin-bottom: 1.2em;
11
  }
12
 
13
  .dpsp-top-shared-post-thumbnail img {
14
- max-width: 100%;
15
- height: auto;
16
  }
17
 
18
  .dpsp-top-shared-post-title {
19
- display: inline-block;
20
- margin-bottom: 0.5em;
21
- }
2
  /* Widget: Top Shared Posts
3
  /*****************************************/
4
  .dpsp-top-shared-post {
5
+ margin-bottom: 2em;
6
  }
7
 
8
+ .dpsp-top-shared-post-thumbnail {
9
+ display: block;
10
+ margin-bottom: 1.2em;
11
  }
12
 
13
  .dpsp-top-shared-post-thumbnail img {
14
+ max-width: 100%;
15
+ height: auto;
16
  }
17
 
18
  .dpsp-top-shared-post-title {
19
+ display: inline-block;
20
+ margin-bottom: 0.5em;
21
+ }
assets/src/css/components/_total-shares.scss ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*****************************************/
2
+ /* Total shares
3
+ /*****************************************/
4
+ .dpsp-show-total-share-count {
5
+ position: relative;
6
+ }
7
+
8
+ .dpsp-total-share-wrapper {
9
+ position: relative;
10
+ margin-top: 10px;
11
+ color: #5d6368;
12
+ font-family: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
13
+ line-height: 1.345;
14
+ .dpsp-total-share-count {
15
+ font-size: 15px;
16
+ line-height: 18px;
17
+ white-space: nowrap;
18
+ }
19
+ .dpsp-icon-total-share {
20
+ position: absolute;
21
+ top: 6px;
22
+ left: 0;
23
+ margin-top: 0;
24
+ margin-left: 0;
25
+ svg {
26
+ top: 2px;
27
+ width: auto;
28
+ max-height: 16px;
29
+
30
+ fill: #5d6368;
31
+ }
32
+ }
33
+ #dpsp-floating-sidebar & {
34
+ margin-bottom: 10px;
35
+ .dpsp-icon-total-share {
36
+ display: none;
37
+ }
38
+ }
39
+ span {
40
+ display: block;
41
+ font-size: 11px;
42
+ font-weight: bold;
43
+ text-align: center;
44
+ white-space: nowrap;
45
+ text-transform: uppercase;
46
+ }
47
+ .dpsp-share-buttons-wrapper &,
48
+ .dpsp-content-wrapper &,
49
+ .dpsp-pop-up-buttons-wrapper &,
50
+ .dpsp-shortcode-wrapper & {
51
+ position: absolute;
52
+ top: 50%;
53
+ box-sizing: border-box;
54
+ width: 60px;
55
+ height: 40px;
56
+ margin-top: -21px;
57
+ padding-left: 20px;
58
+ }
59
+ #dpsp-sticky-bar & {
60
+ height: 32px;
61
+ margin-top: -16px;
62
+ }
63
+ #dpsp-sticky-bar-wrapper.dpsp-is-mobile & {
64
+ display: none;
65
+ }
66
+ }
67
+
68
+
69
+
70
+
71
+ .dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,
72
+ .dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,
73
+ .dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,
74
+ .dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before {
75
+ padding-left: 75px;
76
+ }
77
+
78
+ .dpsp-share-buttons-wrapper,
79
+ .dpsp-content-wrapper,
80
+ .dpsp-pop-up-buttons-wrapper,
81
+ .dpsp-shortcode-wrapper {
82
+ &.dpsp-show-total-share-count.dpsp-show-total-share-count-after {
83
+ padding-right: 70px;
84
+ }
85
+ }
86
+
87
+ .dpsp-share-buttons-wrapper,
88
+ .dpsp-content-wrapper,
89
+ .dpsp-pop-up-buttons-wrapper,
90
+ .dpsp-shortcode-wrapper {
91
+ &.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper {
92
+ left: 0;
93
+ }
94
+ }
95
+
96
+ .dpsp-share-buttons-wrapper,
97
+ .dpsp-content-wrapper,
98
+ .dpsp-pop-up-buttons-wrapper,
99
+ .dpsp-shortcode-wrapper {
100
+ &.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper {
101
+ right: 0;
102
+ }
103
+ }
assets/src/css/{lib/buttons → components}/index.php RENAMED
File without changes
assets/src/css/dashboard-base.scss ADDED
@@ -0,0 +1,2106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import 'abstract/variables';
2
+
3
+ /******************************************************************************************/
4
+ /* Fonts
5
+ /******************************************************************************************/
6
+ @import url('https://fonts.googleapis.com/css?family=Raleway:400,700,800');
7
+ @import 'layouts/admin-settings-sidebar';
8
+ @import 'layouts/admin-extensions';
9
+
10
+ @font-face {
11
+ font-family: 'Social Pug';
12
+ src: url('../fonts/socialpug.eot?gd6mr8');
13
+ src: url('../fonts/socialpug.eot?#iefix') format('embedded-opentype'),
14
+ url('../fonts/socialpug.woff') format('woff'),
15
+ url('../fonts/socialpug.ttf') format('truetype'),
16
+ url('../fonts/socialpug.svg#socialpug') format('svg');
17
+ font-weight: normal;
18
+ font-style: normal;
19
+ }
20
+
21
+ [class^='dpsp-icon-']:before,
22
+ [class*=' dpsp-icon-']:before {
23
+ display: inline-block;
24
+ font-family: 'Social Pug', sans-serif;
25
+ font-weight: normal;
26
+ font-style: normal;
27
+ font-variant: normal;
28
+ line-height: 1em;
29
+ text-align: center;
30
+ text-decoration: inherit;
31
+ text-transform: none;
32
+ }
33
+
34
+ /******************************************************************************************/
35
+ /* General
36
+ /******************************************************************************************/
37
+
38
+ /* Transitions */
39
+ .dpsp-transition {
40
+ -webkit-transition: all 0.15s ease-in;
41
+ -moz-transition: all 0.15s ease-in;
42
+ -o-transition: all 0.15s ease-in;
43
+ transition: all 0.15s ease-in;
44
+ }
45
+
46
+ /* Grid system */
47
+ [class*='dpsp-col-'] {
48
+ float: left;
49
+ -moz-box-sizing: border-box;
50
+ box-sizing: border-box;
51
+ padding: 5px;
52
+ }
53
+ .dpsp-row {
54
+ margin: 0 -5px;
55
+ }
56
+ .dpsp-row.dpsp-m-padding {
57
+ margin: 0 -8px;
58
+ }
59
+ .dpsp-row.dpsp-m-padding [class*='dpsp-col-'] {
60
+ padding: 8px;
61
+ }
62
+ .dpsp-row.dpsp-big-padding {
63
+ margin: 0 -15px;
64
+ }
65
+ .dpsp-row.dpsp-big-padding [class*='dpsp-col-'] {
66
+ padding: 15px;
67
+ }
68
+
69
+ .dpsp-col-1-1 {
70
+ width: 100%;
71
+ }
72
+ .dpsp-col-1-2 {
73
+ width: 50%;
74
+ }
75
+ .dpsp-col-1-3 {
76
+ width: 33.3333%;
77
+ }
78
+ .dpsp-col-2-3 {
79
+ width: 66.6666%;
80
+ }
81
+ .dpsp-col-1-4 {
82
+ width: 25%;
83
+ }
84
+ .dpsp-col-3-4 {
85
+ width: 75%;
86
+ }
87
+ .dpsp-col-1-5 {
88
+ width: 20%;
89
+ }
90
+ .dpsp-col-2-5 {
91
+ width: 40%;
92
+ }
93
+ .dpsp-col-3-5 {
94
+ width: 60%;
95
+ }
96
+ .dpsp-col-4-5 {
97
+ width: 80%;
98
+ }
99
+ .dpsp-col-3-8 {
100
+ width: 37.5%;
101
+ }
102
+
103
+ .dpsp-row:after {
104
+ display: block;
105
+ clear: both;
106
+ content: '';
107
+ }
108
+
109
+ /* Other */
110
+ .dpsp-page-wrapper {
111
+ position: relative;
112
+ float: left;
113
+ width: 100%;
114
+ max-width: 675px;
115
+ }
116
+
117
+ h1.dpsp-page-title {
118
+ padding-right: 0;
119
+ padding-bottom: 15px;
120
+ }
121
+
122
+ .dpsp-section {
123
+ margin-bottom: 50px;
124
+ }
125
+
126
+ .dpsp-section:after {
127
+ display: block;
128
+ clear: both;
129
+ content: '';
130
+ }
131
+
132
+ .dpsp-section-title {
133
+ margin: 2.75em 0 1.3em 0;
134
+ padding-bottom: 15px;
135
+ border-bottom: 1px solid #e5e5e5;
136
+ }
137
+
138
+ /* Social Networks background colors */
139
+ @each $slug, $colors in $network-colors {
140
+ .dpsp-background-color-network-#{$slug} {
141
+ background: nth($colors, 1);
142
+ }
143
+ }
144
+
145
+
146
+ /******************************************************************************************/
147
+ /* General Page Styles
148
+ /******************************************************************************************/
149
+ body.dpsp-pagestyles {
150
+ background: #f3f6f8;
151
+ }
152
+
153
+
154
+ /******************************************************************************************/
155
+ /* General Pages Header
156
+ /******************************************************************************************/
157
+ .dpsp-page-header {
158
+ margin-left: -20px;
159
+ color: #fff;
160
+ background: #41a4a9;
161
+ line-height: 60px;
162
+ }
163
+ .dpsp-page-header .dpsp-logo {
164
+ padding: 0 10px 0 20px;
165
+ }
166
+ .dpsp-page-header .dpsp-logo-inner {
167
+ font-family: 'Raleway', sans-serif;
168
+ font-size: 22px;
169
+ font-weight: 700;
170
+ }
171
+ .dpsp-page-header .dpsp-logo-inner span {
172
+ font-weight: 300;
173
+ }
174
+ .mv-grow-logo {
175
+ display: inline-block;
176
+ max-width: 50px;
177
+ padding-top: 0.25rem;
178
+ padding-right: 0.5rem;
179
+ vertical-align: top;
180
+ }
181
+ .dpsp-page-header:after {
182
+ display: block;
183
+ clear: both;
184
+ content: '';
185
+ }
186
+
187
+ .dpsp-page-header nav {
188
+ display: inline-block;
189
+ margin-left: 25px;
190
+ line-height: 62px;
191
+ }
192
+ .dpsp-page-header nav a {
193
+ display: inline-block;
194
+ margin: 0 5px;
195
+ padding: 8px 12px;
196
+ border-radius: 3px;
197
+ color: #fff;
198
+ background: rgba(255,255,255,0.20);
199
+ box-shadow: 0 0 2px 2px rgba(52,152,219,0.15);
200
+ font-size: 0.9em;
201
+ font-weight: bold;
202
+ line-height: 1;
203
+ text-decoration: none;
204
+ }
205
+ .dpsp-page-header nav a .dashicons {
206
+ width: auto;
207
+ height: auto;
208
+ margin-top: -2px;
209
+ margin-right: 5px;
210
+ font-size: 14px;
211
+ }
212
+ .dpsp-page-header nav a:hover {
213
+ background: rgba(255,255,255,0.30);
214
+ }
215
+
216
+
217
+ /******************************************************************************************/
218
+ /* General Cards
219
+ /******************************************************************************************/
220
+ .dpsp-card {
221
+ box-sizing: border-box;
222
+ max-width: 675px;
223
+ margin-top: 1.5em;
224
+ margin-bottom: 2em;
225
+ border-radius: 3px;
226
+ background: #fff;
227
+ box-shadow: 0 3px 10px -2px rgba(94,135,161,0.3);
228
+ }
229
+
230
+ .dpsp-card-header {
231
+ position: relative;
232
+ padding: 20px;
233
+ border-bottom: 1px solid rgba(200, 215, 225, 0.5);
234
+ font-size: 14px;
235
+ font-weight: bold;
236
+ }
237
+
238
+ .dpsp-card-inner {
239
+ padding: 20px;
240
+ }
241
+ .dpsp-card-inner:after {
242
+ display: block;
243
+ clear: both;
244
+ content: '';
245
+ }
246
+
247
+ .dpsp-card-footer {
248
+ position: relative;
249
+ padding: 20px;
250
+ border-top: 1px solid rgba(200, 215, 225, 0.5);
251
+ background: rgba(200, 215, 225, 0.15);
252
+ }
253
+
254
+ .dpsp-card-footer-actions {
255
+ text-align: right;
256
+ }
257
+ .dpsp-card-footer-actions:after {
258
+ display: block;
259
+ clear: both;
260
+ content: '';
261
+ }
262
+ .dpsp-card-footer-actions a {
263
+ float: left;
264
+ outline: 0;
265
+ color: #777;
266
+ box-shadow: none;
267
+ line-height: 34px;
268
+ }
269
+ .dpsp-card-footer-actions a:hover {
270
+ color: #444;
271
+ }
272
+
273
+
274
+ /******************************************************************************************/
275
+ /* General Tabs and Nav Tabs
276
+ /******************************************************************************************/
277
+ .dpsp-nav-tab-wrapper {
278
+ margin: 0;
279
+ }
280
+ .dpsp-nav-tab-wrapper:after {
281
+ display: block;
282
+ clear: both;
283
+ content: '';
284
+ }
285
+
286
+ .dpsp-nav-tab {
287
+ float: left;
288
+ margin: 0;
289
+ border-bottom: 2px solid transparent;
290
+ }
291
+ .dpsp-nav-tab.dpsp-active {
292
+ border-bottom-color: #2e4453;
293
+ }
294
+ .dpsp-nav-tab.dpsp-active a {
295
+ color: #2e4453;
296
+ }
297
+ .dpsp-nav-tab a {
298
+ display: block;
299
+ box-sizing: border-box;
300
+ width: auto;
301
+ padding: 16px 16px 14px 16px;
302
+ box-shadow: none;
303
+ text-decoration: none;
304
+ }
305
+
306
+ .dpsp-tab {
307
+ display: none;
308
+ margin-top: 25px;
309
+ }
310
+ .dpsp-tab.dpsp-active {
311
+ display: block;
312
+ }
313
+
314
+
315
+ /******************************************************************************************/
316
+ /* General Buttons
317
+ /******************************************************************************************/
318
+ .dpsp-button-primary {
319
+ display: inline-block;
320
+ overflow: hidden;
321
+ box-sizing: border-box;
322
+ margin: 0;
323
+ padding: 0.5em 2em;
324
+ border: none;
325
+ border-radius: 3em;
326
+ outline: 0;
327
+ color: #fff !important;
328
+ background: #41a4a9;
329
+ box-shadow: none !important;
330
+ font-size: 13px;
331
+ font-weight: 500;
332
+ line-height: 21px;
333
+ vertical-align: middle;
334
+ text-decoration: none;
335
+ text-overflow: ellipsis;
336
+ cursor: pointer;
337
+
338
+ -webkit-appearance: none;
339
+ -moz-appearance: none;
340
+ appearance: none;
341
+ }
342
+ .dpsp-button-primary:hover {
343
+ color: #fff;
344
+ background-color: #243c4a;
345
+ }
346
+ .dpsp-button-primary:focus {
347
+ color: #fff;
348
+ }
349
+ .dpsp-button-primary.dpsp-active,
350
+ .dpsp-button-primary:active {
351
+ border-width: 2px 1px 1px;
352
+ }
353
+ .dpsp-button-primary.dpsp-hidden {
354
+ display: none;
355
+ }
356
+
357
+ .dpsp-button-secondary {
358
+ display: inline-block;
359
+ overflow: hidden;
360
+ box-sizing: border-box;
361
+ margin: 0;
362
+ padding: 5px 11px;
363
+ border-width: 1px 1px 2px;
364
+ border-style: solid;
365
+ border-color: #c8d7e1;
366
+ border-radius: 4px;
367
+ outline: 0;
368
+ color: #2e4453;
369
+ background: #fff;
370
+ box-shadow: none !important;
371
+ font-size: 13px;
372
+ font-weight: 500;
373
+ line-height: 21px;
374
+ vertical-align: middle;
375
+ text-decoration: none;
376
+ text-overflow: ellipsis;
377
+ cursor: pointer;
378
+
379
+ -webkit-appearance: none;
380
+ -moz-appearance: none;
381
+ appearance: none;
382
+ }
383
+ .dpsp-button-secondary:hover {
384
+ border-color: #a8bece;
385
+ color: #2e4453;
386
+ }
387
+ .dpsp-button-secondary:focus {
388
+ color: #2e4453;
389
+ }
390
+ .dpsp-button-secondary.dpsp-active,
391
+ .dpsp-button-secondary:active {
392
+ border-width: 2px 1px 1px;
393
+ }
394
+ .dpsp-button-secondary.dpsp-hidden {
395
+ display: none;
396
+ }
397
+ .dpsp-button-secondary[disabled],
398
+ .dpsp-button-secondary.disabled {
399
+ border-color: #e9eff3;
400
+ color: #e9eff3;
401
+ background: #fff;
402
+ cursor: default;
403
+ }
404
+
405
+
406
+ /******************************************************************************************/
407
+ /* Widgets
408
+ /******************************************************************************************/
409
+ .dpsp-widget-section-title {
410
+ display: block;
411
+ margin-top: 20px;
412
+ margin-bottom: 5px;
413
+ font-weight: bold;
414
+ }
415
+
416
+ .dpsp-widget-label {
417
+ display: inline-block;
418
+ width: 200px;
419
+ }
420
+
421
+ .widget-content .dpsp-settings-field-checkbox {
422
+ margin-right: 12px;
423
+ }
424
+
425
+ /* Settings - Pinterest Button Text Label */
426
+ .dpsp-setting-field-button-alignment {
427
+ display: none;
428
+ }
429
+
430
+
431
+ /**********************************************/
432
+ /* Admin Notices
433
+ /**********************************************/
434
+ .wrap div.dpsp-admin-notice {
435
+ position: relative;
436
+ margin-top: 16px;
437
+ }
438
+ .wrap div.dpsp-admin-notice h4 {
439
+ font-size: 16px;
440
+ }
441
+ .wrap div.dpsp-admin-notice p {
442
+ font-size: 14px;
443
+ }
444
+
445
+ .wrap div.dpsp-admin-notice.dpsp-serial-missing {
446
+ border-color: rgba(52,152,219,0.75);
447
+ }
448
+ .wrap div.dpsp-admin-notice.dpsp-serial-missing .dpsp-get-license {
449
+ margin-left: 10px;
450
+ }
451
+
452
+ .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts {
453
+ border-color: rgba(52,152,219,0.75);
454
+ }
455
+ .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts h4 {
456
+ font-size: 1.05em;
457
+ }
458
+ .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts a {
459
+ text-decoration: none;
460
+ }
461
+ .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link {
462
+ display: inline-block;
463
+ margin-right: 10px;
464
+ margin-bottom: 18px;
465
+ padding: 6px 8px;
466
+ border-radius: 2px;
467
+ color: rgba(52,152,219,1);
468
+ background: #e9e9e9;
469
+ font-weight: 500;
470
+ }
471
+ .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link span {
472
+ display: inline-block;
473
+ margin-right: 10px;
474
+ text-decoration: none;
475
+ }
476
+ .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link:hover {
477
+ color: #fff;
478
+ background: rgba(52,152,219,0.75);
479
+ }
480
+
481
+ .wrap div.dpsp-admin-notice-icon-animation .button-primary {
482
+ display: inline-block;
483
+ margin-bottom: 1.33em;
484
+ }
485
+ .wrap div.dpsp-admin-notice-icon-animation h4 {
486
+ margin-bottom: 0;
487
+ }
488
+ .wrap div.dpsp-admin-notice-icon-animation p {
489
+ margin-bottom: 0.75em;
490
+ }
491
+
492
+ .wrap div.dpsp-admin-notice.dpsp-admin-grow-notice {
493
+ display: flex;
494
+
495
+ flex-flow: row;
496
+ }
497
+
498
+ @media screen and (max-width: 500px) {
499
+ .wrap div.dpsp-admin-notice.dpsp-admin-grow-notice {
500
+ flex-flow: column;
501
+ }
502
+ }
503
+
504
+ .wrap div.dpsp-admin-notice .notice-img-wrap {
505
+ padding: 1em;
506
+
507
+ flex: 0 0 150px;
508
+ }
509
+
510
+ .wrap div.dpsp-admin-notice .notice-img-wrap img {
511
+ float: left;
512
+ }
513
+
514
+ .wrap div.dpsp-admin-notice .notice-text-wrap {
515
+ flex: 1 1 auto;
516
+ }
517
+
518
+
519
+ .wrap div.dpsp-admin-notice .notice-subtext {
520
+ font-size: 0.9em;
521
+ font-style: italic;
522
+ }
523
+
524
+ /**********************************************/
525
+ /* Sortable Networks Panel
526
+ /**********************************************/
527
+
528
+ /* Select Networks button */
529
+ #dpsp-select-networks {
530
+ position: absolute;
531
+ top: 50%;
532
+ right: 10px;
533
+ margin-top: -17px;
534
+ }
535
+
536
+ /* Empty Networks Placeholder */
537
+ #dpsp-sortable-networks-empty {
538
+ display: none;
539
+ position: relative;
540
+ color: #848484;
541
+ text-align: center;
542
+ }
543
+
544
+ #dpsp-sortable-networks-empty:after {
545
+ display: block;
546
+ position: absolute;
547
+ top: -17px;
548
+ right: 80px;
549
+ width: 130px;
550
+ height: 70px;
551
+ opacity: 0;
552
+ background: url('../img/dpsp-selectable-empty.png') no-repeat center;
553
+ background-size: 100%;
554
+ content: '';
555
+ transition: all 0.15s ease-in;
556
+ }
557
+
558
+ #dpsp-sortable-networks-empty.dpsp-active {
559
+ display: block;
560
+ }
561
+
562
+ #dpsp-sortable-networks-empty.dpsp-active:after {
563
+ opacity: 1;
564
+ }
565
+
566
+ .dpsp-social-platforms-sort-list {
567
+ margin-top: 0;
568
+ margin-bottom: 0;
569
+ }
570
+
571
+ .dpsp-social-platforms-sort-list li {
572
+ position: relative;
573
+ overflow: hidden;
574
+ box-sizing: border-box;
575
+ margin: 0;
576
+ padding-top: 5px;
577
+ padding-bottom: 5px;
578
+ border-bottom: 1px solid #f1f1f1;
579
+ background: #fff;
580
+ }
581
+
582
+ .dpsp-social-platforms-sort-list li.dpsp-last {
583
+ border-bottom: 0;
584
+ border-bottom-right-radius: 3px;
585
+ border-bottom-left-radius: 3px;
586
+ }
587
+
588
+ .dpsp-social-platforms-sort-list li.ui-sortable-helper {
589
+ box-shadow: 0 3px 12px 3px rgba( 0, 0, 0, 0.1 );
590
+ }
591
+
592
+ .dpsp-social-platforms-sort-list.empty li {
593
+ padding: 20px;
594
+ border: 2px dashed #c1c1c1;
595
+ background: none;
596
+ }
597
+
598
+ .dpsp-social-platforms-sort-list li:after {
599
+ display: block;
600
+ clear: both;
601
+ height: 0;
602
+ content: '';
603
+ }
604
+
605
+ .dpsp-social-platforms-sort-list li:last-of-type {
606
+ margin-bottom: 0;
607
+ }
608
+
609
+ .dpsp-social-platforms-sort-list li.dpsp-sort-placeholder {
610
+ height: 55px;
611
+ border-radius: 0;
612
+ background: #f9f9f9;
613
+ box-shadow: inset 0 3px 12px 3px rgba( 0, 0, 0, 0.02 );
614
+ }
615
+
616
+ .dpsp-social-platforms-sort-list li .dpsp-sort-handle {
617
+ display: block;
618
+ float: left;
619
+ width: 44px;
620
+ height: 44px;
621
+ cursor: move;
622
+ }
623
+
624
+ .dpsp-social-platforms-sort-list li .dpsp-sort-handle:before {
625
+ position: absolute;
626
+ top: 23px;
627
+ left: 12px;
628
+ width: 20px;
629
+ height: 1px;
630
+ background: #c1c1c1;
631
+ box-shadow: 0 0.25em 0 0 #c1c1c1,
632
+ 0 0.5em 0 0 #c1c1c1;
633
+ content: '';
634
+ }
635
+
636
+ .dpsp-social-platforms-sort-list li .dpsp-list-icon {
637
+ display: flex;
638
+ float: left;
639
+ width: 44px;
640
+ height: 44px;
641
+ font-size: 1.1em;
642
+ line-height: 44px;
643
+ text-align: center;
644
+
645
+ align-items: center;
646
+ justify-content: center;
647
+ }
648
+
649
+ .dpsp-social-platforms-sort-list li .dpsp-list-icon-social svg {
650
+ width: auto;
651
+ height: 20px;
652
+
653
+ fill: #fff;
654
+ }
655
+
656
+
657
+ /**
658
+ * Sort list label input field
659
+ *
660
+ */
661
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper {
662
+ position: relative;
663
+ float: left;
664
+ padding: 8px;
665
+ }
666
+
667
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input {
668
+ width: 250px;
669
+ margin: 0;
670
+ padding: 0 7px;
671
+ border: 0;
672
+ border-radius: 3px;
673
+ outline: 0;
674
+ color: #444;
675
+ box-shadow: none;
676
+ font-size: 1em;
677
+ font-weight: bold;
678
+ line-height: 28px;
679
+ transition: background-color 0.1s ease-in-out;
680
+ }
681
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:placeholder-shown {
682
+ font-weight: normal;
683
+ font-style: italic;
684
+ }
685
+
686
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,
687
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input {
688
+ background: #f5f5f5;
689
+ }
690
+
691
+ /* Remove styling for the edit label field from the sticky bar tool */
692
+ .dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input {
693
+ background-color: transparent !important;
694
+ cursor: default;
695
+ }
696
+
697
+
698
+ /**
699
+ * Sort list actions
700
+ *
701
+ */
702
+ .dpsp-social-platforms-sort-list li .dpsp-list-actions {
703
+ float: right;
704
+ margin-right: 6px;
705
+ }
706
+ .dpsp-social-platforms-sort-list li .dpsp-list-actions a {
707
+ display: inline-block;
708
+ position: relative;
709
+ margin: 8px 2px 8px 0;
710
+ padding: 0 6px 0 3px;
711
+ border-radius: 3px;
712
+ color: #747474;
713
+ box-shadow: none;
714
+ line-height: 28px;
715
+ vertical-align: middle;
716
+ text-decoration: none;
717
+ transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
718
+ }
719
+ .dpsp-social-platforms-sort-list li .dpsp-list-actions a .dashicons {
720
+ position: relative;
721
+ top: -1px;
722
+ width: 18px;
723
+ height: 18px;
724
+ margin-right: 2px;
725
+ font-size: 18px;
726
+ line-height: 18px;
727
+ vertical-align: text-top;
728
+ }
729
+
730
+ .dpsp-social-platforms-sort-list li .dpsp-list-actions a:hover {
731
+ color: #353535;
732
+ background: #f4f4f4;
733
+ }
734
+
735
+ /* Remove Edit Label action from sticky bar tool */
736
+ .dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-actions .dpsp-list-edit-label {
737
+ display: none;
738
+ }
739
+
740
+
741
+ /**********************************************/
742
+ /* All networks selector list
743
+ /**********************************************/
744
+ #dpsp-networks-selector-wrapper {
745
+ display: none;
746
+ }
747
+
748
+ #dpsp-networks-selector {
749
+ margin: 0;
750
+ padding: 20px;
751
+ }
752
+
753
+ #dpsp-networks-selector li {
754
+ position: relative;
755
+ float: left;
756
+ box-sizing: border-box;
757
+ width: 33.3333%;
758
+ margin-bottom: 1em;
759
+ padding: 0 10px;
760
+ }
761
+
762
+ #dpsp-networks-selector:after {
763
+ display: block;
764
+ clear: both;
765
+ height: 0;
766
+ content: '';
767
+ }
768
+
769
+ #dpsp-networks-selector .dpsp-network-item {
770
+ position: relative;
771
+ box-sizing: border-box;
772
+ padding-left: 35px;
773
+ cursor: pointer;
774
+ }
775
+
776
+ #dpsp-networks-selector .dpsp-network-item-checkbox {
777
+ position: absolute;
778
+ top: 0;
779
+ left: 0;
780
+ width: 26px;
781
+ height: 26px;
782
+ border: 2px solid #c8d7e1;
783
+ border-radius: 15px;
784
+ color: #555;
785
+ background: #fff;
786
+ -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
787
+ box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
788
+ font-size: 16px;
789
+ line-height: 26px;
790
+ text-align: center;
791
+ vertical-align: middle;
792
+ }
793
+
794
+ #dpsp-networks-selector .dpsp-network-item-checkbox svg {
795
+ position: relative;
796
+ max-width: 1rem;
797
+ opacity: 0;
798
+ transition: all 0.15s ease-in;
799
+
800
+ fill: currentColor;
801
+ }
802
+
803
+ #dpsp-networks-selector .dpsp-network-item:hover .dpsp-network-item-checkbox svg {
804
+ opacity: 0.15;
805
+ }
806
+
807
+ #dpsp-networks-selector .dpsp-network-item[data-checked='true'] .dpsp-network-item-checkbox svg {
808
+ opacity: 1;
809
+ }
810
+
811
+ #dpsp-networks-selector .dpsp-network-item[data-checked='true']:hover .dpsp-network-item-checkbox svg {
812
+ opacity: 1;
813
+ }
814
+
815
+ #dpsp-networks-selector .dpsp-network-item-name-wrapper {
816
+ height: 30px;
817
+ padding-left: 10px;
818
+ border-radius: 3px;
819
+ color: #fff;
820
+ -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
821
+ box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
822
+ line-height: 30px;
823
+ vertical-align: middle;
824
+ }
825
+
826
+ #dpsp-networks-selector .dpsp-network-item-name-wrapper .dpsp-list-icon {
827
+ display: inline-block;
828
+ margin-right: 12px;
829
+ margin-left: 5px;
830
+ & svg {
831
+ position: relative;
832
+ width: auto;
833
+ max-height: 14px;
834
+ vertical-align: text-top;
835
+
836
+ fill: white;
837
+ }
838
+ }
839
+
840
+ #dpsp-networks-selector .dpsp-network-item-name-wrapper h4 {
841
+ display: inline-block;
842
+ margin: 0;
843
+ }
844
+
845
+
846
+ /**********************************************/
847
+ /* Settings fields
848
+ /**********************************************/
849
+ .dpsp-setting-field-wrapper {
850
+ position: relative;
851
+ left: auto;
852
+ min-height: 39px;
853
+ margin-bottom: 12px;
854
+ transition: opacity 0.4s ease-in-out;
855
+ }
856
+
857
+ .dpsp-setting-field-wrapper.disabled {
858
+ position: absolute;
859
+ left: -9999px;
860
+ visibility: hidden;
861
+ opacity: 0;
862
+ }
863
+
864
+ .dpsp-setting-field-wrapper.dpsp-last {
865
+ margin-bottom: 0;
866
+ }
867
+
868
+ .dpsp-setting-field-label {
869
+ display: inline-block;
870
+ position: absolute;
871
+ top: 2px;
872
+ left: 0;
873
+ box-sizing: border-box;
874
+ width: 235px;
875
+ padding-right: 15px;
876
+ vertical-align: top;
877
+ }
878
+
879
+ .dpsp-setting-field-wrapper.dpsp-has-field-label {
880
+ padding-left: 243px;
881
+ }
882
+
883
+ .dpsp-setting-field-wrapper.dpsp-has-field-label .dpsp-setting-field-inner {
884
+ position: relative;
885
+ top: -18px;
886
+ margin-left: 243px;
887
+ }
888
+
889
+ /* Text */
890
+ .dpsp-setting-field-wrapper input[type=text] {
891
+ width: 100%;
892
+ margin: 0;
893
+ padding: 10px 12px;
894
+ border: 1px solid #c8d7e1;
895
+ border-radius: 2px;
896
+ box-shadow: none;
897
+ }
898
+
899
+ .dpsp-setting-field-wrapper input[type=text]:disabled {
900
+ background: #edf2f5;
901
+ }
902
+
903
+ .dpsp-setting-field-wrapper input[type=text]:focus {
904
+ border-color: #0087be;
905
+ box-shadow: 0 0 1px 0 #78dcfa;
906
+ }
907
+
908
+ /* Button */
909
+ .dpsp-setting-field-wrapper button {
910
+ vertical-align: middle !important;
911
+ }
912
+
913
+ .dpsp-setting-field-button .spinner {
914
+ position: absolute;
915
+ right: auto;
916
+ left: auto;
917
+ float: none;
918
+ }
919
+
920
+ .dpsp-setting-field-button .action-text {
921
+ display: none;
922
+ margin-left: 2rem;
923
+ color: #333;
924
+ }
925
+
926
+ .dpsp-setting-field-button.dpsp-loading .spinner {
927
+ visibility: visible;
928
+ }
929
+ .dpsp-setting-field-button.dpsp-loading .action-text {
930
+ visibility: visible;
931
+ }
932
+
933
+ /* Select2 */
934
+ .dpsp-setting-field-wrapper select {
935
+ min-width: 200px;
936
+ }
937
+
938
+ .dpsp-setting-field-select *:focus {
939
+ outline: 0 !important;
940
+ }
941
+
942
+ .dpsp-setting-field-select .select2-container {
943
+ width: 100% !important;
944
+ }
945
+
946
+ .dpsp-setting-field-select .select2-selection {
947
+ height: 39px;
948
+ border: 1px solid #c8d7e1;
949
+ border-radius: 2px;
950
+ }
951
+
952
+ .dpsp-setting-field-select .select2-selection .select2-selection__rendered {
953
+ padding-left: 10px;
954
+ line-height: 37px !important;
955
+ }
956
+
957
+ .dpsp-setting-field-select .select2-selection .select2-selection__arrow {
958
+ height: 37px;
959
+ padding-right: 10px;
960
+ }
961
+
962
+ .dpsp-select2 .select2-dropdown {
963
+ border-color: #c8d7e1;
964
+ border-radius: 0;
965
+ }
966
+
967
+ .dpsp-select2 .select2-dropdown li {
968
+ margin: 0;
969
+ padding: 0 10px;
970
+ line-height: 36px;
971
+ }
972
+
973
+ .dpsp-select2 .select2-results__option[aria-selected='true'] {
974
+ background: #e8eaeb;
975
+ }
976
+
977
+ .dpsp-select2 .select2-results__option--highlighted {
978
+ background: #00aadc !important;
979
+ }
980
+
981
+ .dpsp-select2 .select2-dropdown--below {
982
+ top: 32px;
983
+ box-shadow: 0 4px 3px 2px rgba(0,0,0,0.08);
984
+ }
985
+
986
+ .dpsp-select2 .select2-dropdown--above {
987
+ box-shadow: 0 -4px 3px 2px rgba(0,0,0,0.08);
988
+ }
989
+
990
+ .dpsp-setting-field-select .select2-container--open {
991
+ box-shadow: 0 0 3px 2px rgba(0,0,0,0.08);
992
+ }
993
+
994
+ /* Colorpicker */
995
+ .dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button {
996
+ height: 32px;
997
+ margin-bottom: 0;
998
+ border-width: 1px 1px 2px;
999
+ border-style: solid;
1000
+ border-color: #c8d7e1;
1001
+ box-shadow: none;
1002
+ cursor: pointer;
1003
+ }
1004
+ .dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button span {
1005
+ box-sizing: border-box;
1006
+ padding: 5px 11px;
1007
+ background: #fff;
1008
+ font-size: 13px;
1009
+ font-weight: 500;
1010
+ line-height: 19px;
1011
+ vertical-align: top;
1012
+ text-decoration: none;
1013
+ text-overflow: ellipsis;
1014
+ }
1015
+
1016
+ .dpsp-setting-field-wrapper .wp-picker-container .wp-picker-input-wrap .button {
1017
+ height: 32px;
1018
+ border-width: 1px 1px 2px;
1019
+ border-style: solid;
1020
+ border-color: #c8d7e1;
1021
+ background: #fff;
1022
+ box-shadow: none;
1023
+ cursor: pointer;
1024
+ }
1025
+
1026
+ .dpsp-setting-field-wrapper .wp-picker-container input[type=text].wp-color-picker {
1027
+ width: 65px;
1028
+ margin: 0;
1029
+ padding: 7px;
1030
+ font-family: monospace;
1031
+ font-size: 12px;
1032
+ line-height: 16px;
1033
+ vertical-align: top;
1034
+ }
1035
+
1036
+ /* Textarea */
1037
+ .dpsp-setting-field-wrapper textarea {
1038
+ min-width: 450px;
1039
+ min-height: 100px;
1040
+ padding: 5px 8px;
1041
+ border-radius: 3px;
1042
+ }
1043
+
1044
+ .dpsp-page-wrapper .dpsp-setting-field-wrapper textarea {
1045
+ border: 0;
1046
+ box-shadow: none;
1047
+ }
1048
+
1049
+ .postbox .dpsp-setting-field-wrapper textarea {
1050
+ min-height: 80px;
1051
+ }
1052
+
1053
+ /* Checkbox and Radio */
1054
+ .dpsp-setting-field-wrapper input[type=checkbox],
1055
+ .dpsp-setting-field-wrapper input[type=radio] {
1056
+ display: none;
1057
+ }
1058
+
1059
+ .dpsp-setting-field-checkbox.dpsp-single .dpsp-setting-field-label {
1060
+ box-sizing: border-box;
1061
+ width: 260px;
1062
+ padding-right: 20px;
1063
+ }
1064
+
1065
+ .dpsp-setting-field-checkbox.dpsp-multiple .dpsp-settings-field-checkbox,
1066
+ .dpsp-setting-field-radio.dpsp-multiple .dpsp-settings-field-radio {
1067
+ display: inline-block;
1068
+ position: relative;
1069
+ margin-right: 12px;
1070
+ padding-left: 23px;
1071
+ }
1072
+
1073
+ .dpsp-setting-field-checkbox input[type=checkbox] + label span,
1074
+ .dpsp-setting-field-radio input[type=radio] + label span {
1075
+ display: block;
1076
+ position: absolute;
1077
+ box-sizing: content-box !important;
1078
+ width: 16px;
1079
+ height: 16px;
1080
+ border: 1px solid #e7e7e7;
1081
+ border-radius: 3px;
1082
+ background: #fff;
1083
+ content: '';
1084
+ transition: background 0.1s ease-in-out, border-color 0.1s ease-in-out;
1085
+ }
1086
+
1087
+ .dpsp-setting-field-radio input[type=radio] + label span {
1088
+ border-radius: 50%;
1089
+ }
1090
+
1091
+ .dpsp-setting-field-checkbox.dpsp-single input[type=checkbox] + label span {
1092
+ top: 0;
1093
+ right: 0;
1094
+ }
1095
+
1096
+ .dpsp-setting-field-checkbox.dpsp-multiple input[type=checkbox] + label span,
1097
+ .dpsp-setting-field-radio.dpsp-multiple input[type=radio] + label span {
1098
+ top: 0;
1099
+ left: 0;
1100
+ }
1101
+
1102
+ .dpsp-setting-field-checkbox input[type=checkbox] + label span:before {
1103
+ display: inline-block;
1104
+ width: 16px;
1105
+ height: 16px;
1106
+ margin: -5px 0 0 -3px;
1107
+ color: transparent;
1108
+ font: 400 20px/1 'dashicons';
1109
+ line-height: 16px;
1110
+ vertical-align: middle;
1111
+ content: '\f147';
1112
+ transition: color 0.1s ease-in-out;
1113
+ }
1114
+
1115
+ .dpsp-setting-field-radio input[type=radio] + label span:before {
1116
+ display: block;
1117
+ position: relative;
1118
+ top: 5px;
1119
+ left: 5px;
1120
+ width: 6px;
1121
+ height: 6px;
1122
+ border-radius: 50%;
1123
+ content: '';
1124
+ }
1125
+
1126
+
1127
+ .dpsp-setting-field-checkbox input[type=checkbox]:checked + label span {
1128
+ border-color: transparent;
1129
+ background: #41a4a9;
1130
+ }
1131
+
1132
+ .dpsp-setting-field-checkbox input[type=checkbox]:checked + label span:before {
1133
+ color: #fff;
1134
+ }
1135
+
1136
+
1137
+ .dpsp-setting-field-radio input[type=radio]:checked + label span {
1138
+ border-color: transparent;
1139
+ background: #41a4a9;
1140
+ }
1141
+
1142
+ .dpsp-setting-field-radio input[type=radio]:checked + label span:before {
1143
+ background: #fff;
1144
+ }
1145
+
1146
+ /* Image */
1147
+ .dpsp-setting-field-wrapper img {
1148
+ max-width: 200px;
1149
+ height: auto;
1150
+ border-radius: 2px;
1151
+ }
1152
+
1153
+ /* Tooltip */
1154
+ .dpsp-setting-field-tooltip-wrapper {
1155
+ display: inline-block;
1156
+ position: absolute;
1157
+ top: 2px;
1158
+ left: 217px;
1159
+ width: 18px;
1160
+ height: 18px;
1161
+ margin-left: 5px;
1162
+ }
1163
+
1164
+ /* Network Selector Tooltip */
1165
+ .dpsp-network-item .dpsp-setting-field-tooltip-wrapper {
1166
+ top: 5px;
1167
+ right: 0;
1168
+ left: initial;
1169
+ a {
1170
+ color: white;
1171
+ &:hover {
1172
+ opacity: 0.9;
1173
+ text-decoration: none;
1174
+ }
1175
+ }
1176
+ }
1177
+
1178
+ .dpsp-setting-field-tooltip-icon:before {
1179
+ display: inline-block;
1180
+ width: 14px;
1181
+ height: 14px;
1182
+ border-radius: 9px;
1183
+ color: #fff;
1184
+ background: #34495e;
1185
+ font-size: 10px;
1186
+ font-weight: bold;
1187
+ line-height: 14px;
1188
+ text-align: center;
1189
+ vertical-align: middle;
1190
+ content: '?';
1191
+ cursor: pointer;
1192
+ transition: all 0.15s ease-in;
1193
+ }
1194
+
1195
+ .dpsp-setting-field-tooltip-icon:hover:before {
1196
+ background: #34495e;
1197
+ }
1198
+
1199
+ .dpsp-setting-field-tooltip {
1200
+ position: absolute;
1201
+ top: 28px;
1202
+ left: -25px;
1203
+ visibility: hidden;
1204
+ width: 220px;
1205
+ padding: 8px 12px;
1206
+ border-radius: 4px;
1207
+ opacity: 0;
1208
+ color: #fff;
1209
+ background: rgba( 52, 73, 94, 0.975 );
1210
+ z-index: 10;
1211
+ }
1212
+
1213
+ .dpsp-setting-field-tooltip a {
1214
+ color: rgba( 52,152,219,1 );
1215
+ }
1216
+
1217
+ .dpsp-setting-field-tooltip:before {
1218
+ display: block;
1219
+ position: absolute;
1220
+ top: -6px;
1221
+ left: 27px;
1222
+ width: 0;
1223
+ height: 0;
1224
+ border-width: 0 4.5px 6px 4.5px;
1225
+ border-style: solid;
1226
+ border-color: transparent transparent rgba( 52, 73, 94, 0.975 ) transparent;
1227
+ content: '';
1228
+ }
1229
+
1230
+
1231
+ .dpsp-settings-button-style {
1232
+ float: left;
1233
+ -moz-box-sizing: border-box;
1234
+ box-sizing: border-box;
1235
+ width: 12%;
1236
+ margin-right: 1.5%;
1237
+ margin-bottom: 10px;
1238
+ padding: 12px;
1239
+ border: 1px solid transparent;
1240
+ border-radius: 5px;
1241
+ cursor: pointer;
1242
+ }
1243
+
1244
+ /* Switches */
1245
+ .dpsp-setting-field-wrapper .dpsp-switch {
1246
+ float: none;
1247
+ margin-left: 0;
1248
+ }
1249
+
1250
+ /* Share text */
1251
+ .dpsp-setting-field-share-text input {
1252
+ width: 350px;
1253
+ }
1254
+
1255
+ /* Pop-up Page */
1256
+ .dpsp-page-pop-up .dpsp-setting-field-title input {
1257
+ min-width: 450px;
1258
+ }
1259
+
1260
+ /* Sticky bar */
1261
+ .dpsp-setting-field-desktop-position,
1262
+ .dpsp-setting-field-mobile-position {
1263
+ display: none;
1264
+ }
1265
+
1266
+ /* Settings - Tweet Counts */
1267
+ .dpsp-setting-field-tweet-counts-provider {
1268
+ display: none;
1269
+ }
1270
+
1271
+ /* Settings - Pinterest Button Text Label */
1272
+ .dpsp-setting-field-button-text-label {
1273
+ display: none;
1274
+ }
1275
+
1276
+ /* Settings - Facebook App Authorized */
1277
+ .dpsp-setting-field-facebook-app-authorized {
1278
+ padding: 9px;
1279
+ border-radius: 3px;
1280
+ color: #27ae60;
1281
+ background: rgba(0, 184, 148, 0.3);
1282
+ }
1283
+ .dpsp-setting-field-facebook-app-authorized-expired {
1284
+ margin-bottom: 10px;
1285
+ padding: 9px;
1286
+ border-radius: 3px;
1287
+ color: #c0392b;
1288
+ background: rgba( 192, 57, 43, 0.3);
1289
+ }
1290
+
1291
+ .dpsp-setting-field-facebook-authorize-app,
1292
+ .dpsp-setting-field-facebook-app-id,
1293
+ .dpsp-setting-field-facebook-app-secret {
1294
+ display: none;
1295
+ }
1296
+
1297
+ /**********************************************/
1298
+ /* Settings page styles
1299
+ /**********************************************/
1300
+ .dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li {
1301
+ margin-bottom: 6px;
1302
+ }
1303
+
1304
+ .dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li:last-of-type {
1305
+ margin-bottom: 0;
1306
+ }
1307
+
1308
+ /* Page sidebar specific styles */
1309
+ .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn {
1310
+ margin: 0 auto;
1311
+ }
1312
+
1313
+ .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn,
1314
+ .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
1315
+ border-radius: 5px;
1316
+ }
1317
+
1318
+ .dpsp-page-sidebar .dpsp-settings-button-style :not(.dpsp-button-style-8) .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
1319
+ left: 0;
1320
+ }
1321
+
1322
+ .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon svg {
1323
+ top: 1px;
1324
+ }
1325
+
1326
+ /* Page content and pop-up specific styles */
1327
+ .dpsp-page-content .dpsp-settings-button-style,
1328
+ .dpsp-page-pop-up .dpsp-settings-button-style {
1329
+ width: 32.3333%;
1330
+ margin-right: 1%;
1331
+ }
1332
+
1333
+ .dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n),
1334
+ .dpsp-page-pop-up .dpsp-section-button-style label:nth-of-type(4n) {
1335
+ margin-right: 0;
1336
+ }
1337
+
1338
+
1339
+ .dpsp-settings-button-style:hover {
1340
+ border-color: #e1e1e1;
1341
+ }
1342
+
1343
+ .dpsp-settings-button-style-input {
1344
+ display: none !important;
1345
+ }
1346
+
1347
+ .dpsp-settings-button-style-input:checked + label {
1348
+ border-color: rgba(52, 152, 219, 0.3);
1349
+ background: rgba(52, 152, 219, 0.075);
1350
+ }
1351
+
1352
+ /* Link Shortening Services */
1353
+ .dpsp-subsection-link-shortening {
1354
+ display: none;
1355
+ }
1356
+
1357
+ /* Click to Tweet */
1358
+ #section-click-to-tweet-preview {
1359
+ display: none;
1360
+ }
1361
+ #section-click-to-tweet-preview > a {
1362
+ margin-top: 0;
1363
+ margin-bottom: 0;
1364
+ }
1365
+
1366
+ /* Serial Key */
1367
+ #dpsp-serial-key-status {
1368
+ display: none;
1369
+ position: relative;
1370
+ top: -1px;
1371
+ padding: 4px 0;
1372
+ border-bottom-right-radius: 3px;
1373
+ border-bottom-left-radius: 3px;
1374
+ line-height: 20px;
1375
+ }
1376
+ #dpsp-serial-key-status span {
1377
+ vertical-align: middle;
1378
+ }
1379
+
1380
+ #dpsp-serial-key-status.dpsp-valid {
1381
+ color: #27ae60;
1382
+ background: rgba(0, 184, 148, 0.3);
1383
+ }
1384
+ #dpsp-serial-key-status.dpsp-invalid {
1385
+ color: #c0392b;
1386
+ background: rgba(192, 57, 43, 0.3);
1387
+ }
1388
+
1389
+ #dpsp-serial-key-status .dashicons {
1390
+ margin-right: 5px;
1391
+ margin-left: 5px;
1392
+ }
1393
+ #dpsp-serial-key-status .dashicons-yes {
1394
+ color: #27ae60;
1395
+ }
1396
+ #dpsp-serial-key-status .dashicons-warning {
1397
+ color: #c0392b;
1398
+ }
1399
+
1400
+ #dpsp-bitly-key-status {
1401
+ position: relative;
1402
+ top: -1px;
1403
+ margin-top: -6px;
1404
+ margin-bottom: 12px;
1405
+ padding: 4px 0;
1406
+ border-bottom-right-radius: 3px;
1407
+ border-bottom-left-radius: 3px;
1408
+ line-height: 20px;
1409
+ text-align: right;;
1410
+ }
1411
+ #dpsp-bitly-key-status span {
1412
+ vertical-align: middle;
1413
+ }
1414
+
1415
+ #dpsp-bitly-key-status.dpsp-valid {
1416
+ color: #27ae60;
1417
+ background: rgba(0, 184, 148, 0.3);
1418
+ }
1419
+ #dpsp-serial-key-status.dpsp-invalid {
1420
+ color: #c0392b;
1421
+ background: rgba(192, 57, 43, 0.3);
1422
+ }
1423
+
1424
+ #dpsp-bitly-key-status .dashicons {
1425
+ margin-right: 5px;
1426
+ margin-left: 5px;
1427
+ }
1428
+ #dpsp-bitly-key-status .dashicons-yes {
1429
+ color: #27ae60;
1430
+ }
1431
+ #dpsp-bitly-key-status .dashicons-warning {
1432
+ color: #c0392b;
1433
+ }
1434
+
1435
+ /* Social Shares Recovery System */
1436
+ #dpsp-card-settings-social-shares-recovery .dpsp-card-inner {
1437
+ border-bottom: 1px solid rgba(200, 215, 225, 0.5);
1438
+ }
1439
+ #dpsp-card-settings-social-shares-recovery .dpsp-card-inner.dpsp-last {
1440
+ border-bottom: 0;
1441
+ }
1442
+
1443
+
1444
+ /**********************************************/
1445
+ /* Toolkit Page
1446
+ /**********************************************/
1447
+ #dpsp-toolkit-welcome {
1448
+ margin-left: -20px;
1449
+ padding: 5px 20px;
1450
+ background: #fff;
1451
+ }
1452
+
1453
+ .dpsp-page-toolkit:not(.dpsp-page-free) {
1454
+ max-width: 1000px;
1455
+ }
1456
+ .dpsp-page-toolkit .dpsp-row {
1457
+ margin-bottom: 2.5em;
1458
+ }
1459
+ .dpsp-page-toolkit .dpsp-card {
1460
+ margin-top: 0;
1461
+ margin-bottom: 0;
1462
+ }
1463
+
1464
+ .dpsp-tool-wrapper {
1465
+ overflow: hidden;
1466
+ border-radius: 3px;
1467
+ background: #fff;
1468
+ }
1469
+ .dpsp-tool-wrapper img {
1470
+ max-width: 100%;
1471
+ height: auto;
1472
+ }
1473
+ .dpsp-tool-wrapper a {
1474
+ color: #777;
1475
+ text-decoration: none;
1476
+ }
1477
+ .dpsp-tool-wrapper a:hover {
1478
+ color: rgba(52,152,219,0.75);
1479
+ }
1480
+ .dpsp-tool-wrapper h4 {
1481
+ margin-top: 0;
1482
+ margin-bottom: 0;
1483
+ padding: 10px;
1484
+ font-size: 15px;
1485
+ text-align: center;
1486
+ }
1487
+
1488
+ .dpsp-tool-wrapper .dpsp-tool-actions {
1489
+ position: relative;
1490
+ padding: 15px;
1491
+ }
1492
+ .dpsp-tool-wrapper .dpsp-tool-actions:after {
1493
+ display: block;
1494
+ clear: both;
1495
+ content: '';
1496
+ }
1497
+
1498
+ .dpsp-tool-wrapper .dpsp-tool-actions-overlay {
1499
+ position: absolute;
1500
+ top: 0;
1501
+ left: 0;
1502
+ width: 100%;
1503
+ height: 100%;
1504
+ opacity: 0;
1505
+ background: rgba(255,255,255,0.6);
1506
+ z-index: 1;
1507
+ }
1508
+ .dpsp-tool-wrapper .dpsp-tool-actions-overlay .spinner {
1509
+ visibility: visible;
1510
+ float: none;
1511
+ margin: 15px 0 0 15px;
1512
+ opacity: 1;
1513
+ }
1514
+
1515
+ .dpsp-tool-wrapper .dpsp-tool-actions.dpsp-active span {
1516
+ opacity: 0;
1517
+ }
1518
+ .dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive span {
1519
+ opacity: 0.4;
1520
+ }
1521
+
1522
+ .dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings {
1523
+ line-height: 1;
1524
+ vertical-align: middle;
1525
+ }
1526
+ .dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings:focus {
1527
+ box-shadow: none;
1528
+ }
1529
+ .dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive .dpsp-tool-settings {
1530
+ display: none;
1531
+ }
1532
+
1533
+ .dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings i {
1534
+ margin-right: 3px;
1535
+ }
1536
+
1537
+ .dpsp-tool-wrapper .dpsp-switch span {
1538
+ margin-right: 5px;
1539
+ font-size: 0.85em;
1540
+ text-transform: uppercase;
1541
+ }
1542
+ .dpsp-tool-wrapper .dpsp-switch label {
1543
+ display: inline-block !important;
1544
+ }
1545
+
1546
+
1547
+
1548
+ /**********************************************/
1549
+ /* Checkbox switch
1550
+ /**********************************************/
1551
+
1552
+ /* Default */
1553
+ .dpsp-switch {
1554
+ display: inline-block;
1555
+ position: relative;
1556
+ float: right;
1557
+ margin-left: 20px;
1558
+ }
1559
+ .dpsp-page-wrapper .cmn-toggle {
1560
+ position: absolute;
1561
+ visibility: hidden;
1562
+ margin-left: -9999px;
1563
+ }
1564
+ .dpsp-page-wrapper .cmn-toggle + label {
1565
+ display: block;
1566
+ position: relative;
1567
+ outline: none;
1568
+ cursor: pointer;
1569
+ user-select: none;
1570
+ }
1571
+ .dpsp-page-wrapper input.cmn-toggle-round + label {
1572
+ box-sizing: content-box;
1573
+ width: 36px;
1574
+ height: 18px;
1575
+ padding: 3px;
1576
+ border-radius: 20px;
1577
+ background-color: #c9d6e0;
1578
+ transition: background 0.4s;
1579
+ }
1580
+ .dpsp-page-wrapper input.cmn-toggle-round + label:before,
1581
+ .dpsp-page-wrapper input.cmn-toggle-round + label:after {
1582
+ display: block;
1583
+ position: absolute;
1584
+ top: 2px;
1585
+ bottom: 2px;
1586
+ left: 2px;
1587
+ content: '';
1588
+ }
1589
+ .dpsp-page-wrapper input.cmn-toggle-round + label:before {
1590
+ right: 2px;
1591
+ border-radius: 18px;
1592
+ transition: background 0.4s;
1593
+ }
1594
+ .dpsp-page-wrapper input.cmn-toggle-round + label:after {
1595
+ width: 20px;
1596
+ border-radius: 100%;
1597
+ background-color: #fff;
1598
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
1599
+ transition: margin 0.4s;
1600
+ }
1601
+ .dpsp-page-wrapper input.cmn-toggle-round:checked + label {
1602
+ background-color: #41a4a9;
1603
+ }
1604
+
1605
+ .dpsp-page-wrapper input.cmn-toggle-round:checked + label:after {
1606
+ margin-left: 18px;
1607
+ }
1608
+
1609
+ /* Small */
1610
+ .dpsp-switch.small input.cmn-toggle-round + label {
1611
+ width: 30px;
1612
+ height: 15px;
1613
+ }
1614
+ .dpsp-switch.small input.cmn-toggle-round + label:after {
1615
+ width: 17px;
1616
+ }
1617
+ .dpsp-switch.small input.cmn-toggle-round:checked + label:after {
1618
+ margin-left: 15px;
1619
+ }
1620
+
1621
+
1622
+ /**********************************************/
1623
+ /* Meta-box: Statistics
1624
+ /**********************************************/
1625
+ .dpsp-statistic-bars-wrapper {
1626
+ padding-top: 10px;
1627
+ }
1628
+ .dpsp-statistic-bars-wrapper:after {
1629
+ display: block;
1630
+ clear: both;
1631
+ width: 0;
1632
+ content: '';
1633
+ }
1634
+
1635
+ .dpsp-statistic-bar-header {
1636
+ margin-bottom: 10px;
1637
+ padding-bottom: 5px;
1638
+ border-bottom: 1px solid #f1f1f1;
1639
+ opacity: 0.6;
1640
+ }
1641
+ .dpsp-statistic-bar-wrapper.dpsp-statistic-bar-header:hover {
1642
+ background: none;
1643
+ }
1644
+
1645
+ .dpsp-statistic-bar-wrapper {
1646
+ position: relative;
1647
+ height: 30px;
1648
+ padding-right: 110px;
1649
+ padding-left: 110px;
1650
+ transition: opacity 0.2s ease-in-out;
1651
+ }
1652
+ .dpsp-statistic-bar-wrapper:hover {
1653
+ background: #f7f7f7;
1654
+ }
1655
+ .dpsp-statistic-bar-wrapper label {
1656
+ position: absolute;
1657
+ top: 0;
1658
+ left: 10px;
1659
+ width: 109px;
1660
+ height: 30px;
1661
+ font-size: 12px;
1662
+ font-weight: bold;
1663
+ line-height: 30px;
1664
+ }
1665
+ .dpsp-statistic-bar-wrapper .dpsp-network-share-count {
1666
+ position: absolute;
1667
+ top: 0;
1668
+ right: 0;
1669
+ width: 110px;
1670
+ height: 30px;
1671
+ font-size: 12px;
1672
+ font-weight: bold;
1673
+ line-height: 30px;
1674
+ }
1675
+ .dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-count {
1676
+ display: inline-block;
1677
+ width: 55px;
1678
+ text-align: center;
1679
+ }
1680
+ .dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-percentage {
1681
+ display: inline-block;
1682
+ width: 40px;
1683
+ text-align: center;
1684
+ }
1685
+ .dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-divider {
1686
+ width: 1px;
1687
+ margin: 0 2px;
1688
+ opacity: 0.5;
1689
+ }
1690
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar {
1691
+ position: relative;
1692
+ top: 10px;
1693
+ width: 100%;
1694
+ height: 10px;
1695
+ border-radius: 5px;
1696
+ background: #e7e7e7;
1697
+ }
1698
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-inner {
1699
+ width: 0;
1700
+ height: 10px;
1701
+ border-radius: 5px;
1702
+ }
1703
+
1704
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-facebook .dpsp-statistic-bar-inner {
1705
+ background: #3a579a;
1706
+ }
1707
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-twitter .dpsp-statistic-bar-inner {
1708
+ background: #00abf0;
1709
+ }
1710
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-google-plus .dpsp-statistic-bar-inner {
1711
+ background: #df4a32;
1712
+ }
1713
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-pinterest .dpsp-statistic-bar-inner {
1714
+ background: #c92228;
1715
+ }
1716
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-linkedin .dpsp-statistic-bar-inner {
1717
+ background: #0077b5;
1718
+ }
1719
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-reddit .dpsp-statistic-bar-inner {
1720
+ background: #ff5700;
1721
+ }
1722
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-vkontakte .dpsp-statistic-bar-inner {
1723
+ background: #4d75a3;
1724
+ }
1725
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-buffer .dpsp-statistic-bar-inner {
1726
+ background: #29323b;
1727
+ }
1728
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-tumblr .dpsp-statistic-bar-inner {
1729
+ background: #35465c;
1730
+ }
1731
+ .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-yummly .dpsp-statistic-bar-inner {
1732
+ background: #e55a27;
1733
+ }
1734
+
1735
+ .dpsp-statistic-bar-footer {
1736
+ margin: 10px 0;
1737
+ border-top: 1px solid #f1f1f1;
1738
+ border-bottom: 1px solid #f1f1f1;
1739
+ opacity: 0.6;
1740
+ }
1741
+ .dpsp-statistic-bar-wrapper.dpsp-statistic-bar-footer:hover {
1742
+ background: none;
1743
+ }
1744
+
1745
+ #dpsp-refresh-share-counts-wrapper:after {
1746
+ display: block;
1747
+ clear: both;
1748
+ width: 0;
1749
+ content: '';
1750
+ }
1751
+ #dpsp-refresh-share-counts {
1752
+ float: right;
1753
+ }
1754
+
1755
+
1756
+ /**********************************************/
1757
+ /* Meta-box: Share Options
1758
+ /**********************************************/
1759
+ #dpsp_share_options span[class*=dpsp-icon-] {
1760
+ display: inline-block;
1761
+ width: 24px;
1762
+ height: 24px;
1763
+ margin-right: 10px;
1764
+ border-radius: 2px;
1765
+ color: #fff;
1766
+ line-height: 24px;
1767
+ text-align: center;
1768
+ }
1769
+ #dpsp_share_options .dpsp-icon-share {
1770
+ background: #34495e;
1771
+ }
1772
+ #dpsp_share_options .dpsp-icon-twitter {
1773
+ background: #00abf0;
1774
+ }
1775
+ #dpsp_share_options .dpsp-icon-pinterest {
1776
+ background: #c92228;
1777
+ }
1778
+
1779
+ #dpsp_share_options_content .dpsp-section {
1780
+ position: relative;
1781
+ margin: 15px 0 25px 0;
1782
+ padding-left: 220px;
1783
+ }
1784
+ #dpsp_share_options_content label {
1785
+ display: block;
1786
+ margin-bottom: 10px;
1787
+ font-weight: bold;
1788
+ }
1789
+ #dpsp_share_options_content textarea {
1790
+ width: 100%;
1791
+ min-height: 70px;
1792
+ }
1793
+
1794
+ #dpsp_share_options_content .dpsp-setting-field-image {
1795
+ position: absolute;
1796
+ top: 0;
1797
+ left: 0;
1798
+ width: 100%;
1799
+ max-width: 200px;
1800
+ }
1801
+ #dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-primary,
1802
+ #dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-secondary {
1803
+ width: 100%;
1804
+ text-align: center;
1805
+ }
1806
+
1807
+ #dpsp_share_options .dpsp-setting-field-tooltip-wrapper {
1808
+ position: relative;
1809
+ top: -2px;
1810
+ left: auto;
1811
+ }
1812
+
1813
+ .dpsp-textarea-characters-remaining-wrapper {
1814
+ float: right;
1815
+ height: 24px;
1816
+ padding: 0 10px;
1817
+ border-radius: 2px;
1818
+ background: #f1f1f1;
1819
+ font-size: 12px;
1820
+ line-height: 24px;
1821
+ }
1822
+ .dpsp-textarea-characters-remaining-wrapper.dpsp-excedeed {
1823
+ color: #fff;
1824
+ background: rgba(192, 57, 43, 0.75);
1825
+ }
1826
+
1827
+ /* Multiple Pinterest hidden images */
1828
+ #dpsp-meta-box-section-multiple-pinterest-images {
1829
+ padding-left: 0 !important;
1830
+ }
1831
+
1832
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper {
1833
+ position: relative;
1834
+ float: left;
1835
+ max-width: 125px;
1836
+ margin-right: 5px;
1837
+ margin-bottom: 5px;
1838
+ line-height: 0;
1839
+ }
1840
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper img {
1841
+ max-width: 100%;
1842
+ height: auto;
1843
+ max-height: auto;
1844
+ }
1845
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary {
1846
+ position: absolute;
1847
+ top: 5px;
1848
+ right: 5px;
1849
+ visibility: hidden;
1850
+ padding: 1px 2px;
1851
+ opacity: 0;
1852
+ transition: all 0.1s ease-in;
1853
+ }
1854
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper:hover .dpsp-button-secondary {
1855
+ visibility: visible;
1856
+ opacity: 1;
1857
+ }
1858
+
1859
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new {
1860
+ float: left;
1861
+ box-sizing: border-box;
1862
+ width: 125px;
1863
+ height: 125px;
1864
+ border-radius: 2px;
1865
+ text-align: center;
1866
+ }
1867
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons {
1868
+ display: inline-block;
1869
+ box-sizing: content-box;
1870
+ margin-top: 28px;
1871
+ margin-bottom: 5px;
1872
+ padding: 5px;
1873
+ border-radius: 50px;
1874
+ background: #ebf0f4;
1875
+ }
1876
+ #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons:before {
1877
+ position: relative;
1878
+ top: 1px;
1879
+ }
1880
+
1881
+ #dpsp-meta-box-section-multiple-pinterest-images:after {
1882
+ display: block;
1883
+ clear: both;
1884
+ content: '';
1885
+ }
1886
+
1887
+ /**********************************************/
1888
+ /* TinyMCE
1889
+ /**********************************************/
1890
+ .mce-i-dpsp-icon-twitter {
1891
+ position: relative;
1892
+ top: -2px;
1893
+ }
1894
+ .mce-i-dpsp-icon-twitter:before {
1895
+ color: #00abf0;
1896
+ font-family: 'Social Pug', sans-serif;
1897
+ font-size: 20px;
1898
+ font-weight: normal;
1899
+ font-style: normal;
1900
+ content: '\e801';
1901
+ }
1902
+
1903
+ /* Click to Tweet Dialog */
1904
+ #dpsp_click_to_tweet_dialog #dpsp_tweet_length {
1905
+ position: absolute;
1906
+ top: 105px;
1907
+ right: 0;
1908
+ padding-right: 25px;
1909
+ color: #a1a1a1;
1910
+ }
1911
+ #dpsp_click_to_tweet_dialog #dpsp_tweet_length em,
1912
+ #dpsp_click_to_tweet_dialog #dpsp_tweet_length span {
1913
+ font-size: 12px;
1914
+ font-weight: bold;
1915
+ }
1916
+ #dpsp_click_to_tweet_dialog #dpsp_tweet_length span {
1917
+ position: absolute;
1918
+ top: 0;
1919
+ right: 0;
1920
+ }
1921
+ #dpsp_click_to_tweet_dialog #dpsp_tweet_hide_via-al,
1922
+ #dpsp_click_to_tweet_dialog #dpsp_tweet_hide_url-al {
1923
+ position: relative;
1924
+ top: -3px;
1925
+ }
1926
+
1927
+
1928
+ /**********************************************/
1929
+ /* WP List Table
1930
+ /**********************************************/
1931
+ table.wp-list-table .column-dpsp_shares {
1932
+ width: 5.5em;
1933
+ }
1934
+ table.wp-list-table .dpsp-list-table-shares span {
1935
+ display: none;
1936
+ }
1937
+ #screen-options-wrap .dpsp-list-table-shares i {
1938
+ display: none;
1939
+ }
1940
+
1941
+ .dpsp-list-table-post-share-count {
1942
+ display: inline-block;
1943
+ margin-top: 5px;
1944
+ padding: 0 8px;
1945
+ border-radius: 5px;
1946
+ color: #fff;
1947
+ background: #b6b6b6;
1948
+ line-height: 24px;
1949
+ text-align: center;
1950
+ vertical-align: middle;
1951
+ }
1952
+
1953
+ /**********************************************/
1954
+ /* Attachment Pages
1955
+ /**********************************************/
1956
+ body.post-type-attachment.post-php table.compat-attachment-fields {
1957
+ width: 100%;
1958
+ border-spacing: 0;
1959
+ }
1960
+ body.post-type-attachment.post-php table .compat-field-pin_title th,
1961
+ body.post-type-attachment.post-php table .compat-field-pin_title td,
1962
+ body.post-type-attachment.post-php table .compat-field-pin_description th,
1963
+ body.post-type-attachment.post-php table .compat-field-pin_description td,
1964
+ body.post-type-attachment.post-php table .compat-field-pin_repin_id th,
1965
+ body.post-type-attachment.post-php table .compat-field-pin_repin_id td,
1966
+ body.post-type-attachment.post-php table .compat-field-pin_nopin th,
1967
+ body.post-type-attachment.post-php table .compat-field-pin_nopin td {
1968
+ display: block;
1969
+ width: 100%;
1970
+ }
1971
+
1972
+ body.post-type-attachment.post-php table .compat-field-pin_description textarea {
1973
+ width: 100%;
1974
+ min-height: 75px;
1975
+ }
1976
+ body.post-type-attachment.post-php table .compat-field-pin_title input,
1977
+ body.post-type-attachment.post-php table .compat-field-pin_repin_id input {
1978
+ width: 100%;
1979
+ }
1980
+
1981
+
1982
+ /**********************************************/
1983
+ /* Mobile Display
1984
+ /**********************************************/
1985
+ @media screen and ( max-width : 785px ) {
1986
+ .dpsp-page-title-wrapper h2 {
1987
+ position: relative;
1988
+ padding-right: 50px;
1989
+ }
1990
+
1991
+ .dpsp-page-title-wrapper h2 .dpsp-switch {
1992
+ position: absolute;
1993
+ top: 15px;
1994
+ right: 0;
1995
+ }
1996
+
1997
+ .dpsp-social-platforms-sort-list {
1998
+ overflow: auto;
1999
+ }
2000
+ }
2001
+
2002
+ @media screen and ( max-width : 720px ) {
2003
+ .dpsp-col-1-4 {
2004
+ width: 50%;
2005
+ }
2006
+
2007
+ #dpsp-networks-selector li {
2008
+ width: 100%;
2009
+ padding: 0;
2010
+ }
2011
+
2012
+ #dpsp-networks-selector-footer {
2013
+ text-align: center;
2014
+ }
2015
+
2016
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper {
2017
+ width: auto;
2018
+ }
2019
+
2020
+ .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input,
2021
+ .dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,
2022
+ .dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input {
2023
+ width: 150px;
2024
+ padding-right: 10px;
2025
+ }
2026
+
2027
+ .dpsp-settings-button-style {
2028
+ width: auto;
2029
+ }
2030
+
2031
+ .dpsp-page-content .dpsp-settings-button-style {
2032
+ width: 49.5%;
2033
+ }
2034
+
2035
+ .dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n) {
2036
+ margin-right: 1%;
2037
+ }
2038
+
2039
+ .dpsp-page-content .dpsp-section-button-style label:nth-of-type(2n) {
2040
+ margin-right: 0;
2041
+ }
2042
+
2043
+ .dpsp-setting-field-label {
2044
+ width: 100%;
2045
+ margin-bottom: 10px;
2046
+ }
2047
+
2048
+ .dpsp-setting-field-wrapper {
2049
+ margin-bottom: 30px;
2050
+ }
2051
+ }
2052
+
2053
+
2054
+ /******************************************************************************************/
2055
+ /* Social Shares Recovery Meta-Box
2056
+ /******************************************************************************************/
2057
+ #dpsp-shares-recovery-post-previous-urls {
2058
+ position: relative;
2059
+ }
2060
+ .dpsp-shares-recovery-post-previous-urls-header {
2061
+ display: flex;
2062
+ align-items: center;
2063
+ }
2064
+ #dpsp-shares-recovery-post-previous-urls h4 {
2065
+ margin: 10px 0;
2066
+ padding: 10px 0;
2067
+ border-bottom: 1px solid #f1f1f1;
2068
+ }
2069
+ #dpsp-shares-recovery-post-previous-urls .dpsp-setting-field-tooltip-wrapper {
2070
+ position: relative;
2071
+ left: auto;
2072
+ padding-bottom: 0.5rem;
2073
+ }
2074
+
2075
+ #dpsp-shares-recovery-post-previous-urls-empty {
2076
+ padding: 10px 15px;
2077
+ background: #f1f1f1;
2078
+ }
2079
+ #dpsp-shares-recovery-post-previous-urls-empty > :first-child {
2080
+ margin-top: 0;
2081
+ }
2082
+ #dpsp-shares-recovery-post-previous-urls-empty > :last-child {
2083
+ margin-bottom: 0;
2084
+ }
2085
+
2086
+ .dpsp-post-previous-url {
2087
+ display: flex;
2088
+ margin-top: 5px;
2089
+ }
2090
+ .dpsp-post-previous-url.dpsp-hidden {
2091
+ display: none;
2092
+ }
2093
+ .dpsp-post-previous-url input {
2094
+ margin-right: 5px;
2095
+
2096
+ flex: 1;
2097
+ }
2098
+ .dpsp-post-previous-url a {
2099
+ padding: 3px 10px;
2100
+ }
2101
+
2102
+ #dpsp-add-post-previous-url {
2103
+ margin-top: 10px;
2104
+ }
2105
+
2106
+ @import 'layouts/admin-meta-boxes';
assets/src/css/layouts/_admin-extensions.scss ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dpsp-page-wrapper.dpsp-page-extensions {
2
+ max-width: 1000px;
3
+ }
4
+
5
+ .dpsp-page-extensions .dpsp-card {
6
+ margin-top: 0;
7
+ margin-bottom: 0;
8
+ }
9
+
10
+ .dpsp-unavailable > a {
11
+ display: block;
12
+ line-height: 0;
13
+ }
14
+ .dpsp-unavailable h4 {
15
+ padding-bottom: 0;
16
+ border-top: 1px solid #f1f1f1;
17
+ border-bottom: 0;
18
+ text-align: left;
19
+ }
20
+ .dpsp-unavailable p.dpsp-description {
21
+ margin: 0;
22
+ padding: 10px;
23
+ }
24
+ .dpsp-unavailable .dpsp-tool-actions {
25
+ overflow: hidden;
26
+ padding: 15px 10px;
27
+ border-top: 1px solid #f1f1f1;
28
+ background: #f9f9f9;
29
+ text-align: center;
30
+ }
31
+ .dpsp-unavailable .dpsp-tool-actions .button {
32
+ padding-right: 25px;
33
+ padding-left: 25px;
34
+ }
35
+ .dpsp-unavailable .dpsp-description {
36
+ height: 57px;
37
+ }
assets/src/css/layouts/_admin-meta-boxes.scss ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dpsp-admin-icon {
2
+ display: inline-block;
3
+ width: 24px;
4
+ height: 24px;
5
+ margin-right: 10px;
6
+ border-radius: 2px;
7
+ color: #fff;
8
+ line-height: 24px;
9
+ text-align: center;
10
+ & svg {
11
+ max-width: 14px;
12
+ max-height: 14px;
13
+ margin: 5px;
14
+
15
+ fill: white;
16
+ }
17
+ &-share {
18
+ background: #34495e;
19
+ }
20
+ &-twitter {
21
+ background: #00abf0;
22
+ }
23
+ &-pinterest {
24
+ background: #c92228;
25
+ }
26
+ }
assets/src/css/{lib/admin/settings-sidebar.scss → layouts/_admin-settings-sidebar.scss} RENAMED
@@ -1,10 +1,10 @@
1
  .dpsp-settings-sidebar {
2
  float: left;
3
- margin-top: 63px;
4
- padding-left: 20px;
5
- width: 365px;
6
  -moz-box-sizing: border-box;
7
  box-sizing: border-box;
 
 
 
8
  }
9
 
10
  .dpsp-settings-sidebar p {
@@ -12,54 +12,52 @@
12
  }
13
 
14
  @media screen and (max-width: 1225px) {
15
-
16
  .dpsp-settings-sidebar {
17
- border-left: 0;
18
  padding-left: 0;
 
19
  }
20
-
21
  }
22
 
23
  #dpsp-settings-sidebar-social-pug-pro img {
 
24
  max-width: 100%;
25
  height: auto;
26
  padding: 0 20px;
27
- box-sizing: border-box;
28
  }
29
 
30
  #dpsp-settings-sidebar-social-pug-pro h3 {
31
- text-align: center;
32
- line-height: 1.7em;
33
  font-weight: bold;
 
 
34
  }
35
 
36
  #dpsp-settings-sidebar-social-pug-pro p {
37
  position: relative;
 
38
  padding-left: 45px;
39
  color: #454545;
40
- margin-bottom: 20px;
41
  }
42
 
43
  #dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons {
 
44
  position: absolute;
45
  top: -5px;
46
  left: 0;
47
- display: inline-block;
48
  width: 30px;
49
  height: 30px;
50
  }
51
 
52
  #dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons:after {
53
- content: '';
54
  display: block;
55
  position: absolute;
56
- z-index: 1;
57
  top: -1px;
58
  left: 2px;
59
  width: 30px;
60
  height: 30px;
61
  border-radius: 20px;
62
- background: #41a4a9
 
 
63
  }
64
 
65
  #dpsp-settings-sidebar-social-pug-pro p .dashicons {
@@ -68,15 +66,15 @@
68
  left: 0;
69
  width: 30px;
70
  height: 30px;
 
71
  font-size: 24px;
72
  line-height: 30px;
73
- color: #fff;
74
  z-index: 2;
75
  }
76
 
77
  #dpsp-settings-sidebar-social-pug-pro .dpsp-button-primary {
 
78
  width: 100%;
79
- text-align: center;
80
  padding: 10px 0;
81
- box-sizing: border-box;
82
  }
1
  .dpsp-settings-sidebar {
2
  float: left;
 
 
 
3
  -moz-box-sizing: border-box;
4
  box-sizing: border-box;
5
+ width: 365px;
6
+ margin-top: 63px;
7
+ padding-left: 20px;
8
  }
9
 
10
  .dpsp-settings-sidebar p {
12
  }
13
 
14
  @media screen and (max-width: 1225px) {
 
15
  .dpsp-settings-sidebar {
 
16
  padding-left: 0;
17
+ border-left: 0;
18
  }
 
19
  }
20
 
21
  #dpsp-settings-sidebar-social-pug-pro img {
22
+ box-sizing: border-box;
23
  max-width: 100%;
24
  height: auto;
25
  padding: 0 20px;
 
26
  }
27
 
28
  #dpsp-settings-sidebar-social-pug-pro h3 {
 
 
29
  font-weight: bold;
30
+ line-height: 1.7em;
31
+ text-align: center;
32
  }
33
 
34
  #dpsp-settings-sidebar-social-pug-pro p {
35
  position: relative;
36
+ margin-bottom: 20px;
37
  padding-left: 45px;
38
  color: #454545;
 
39
  }
40
 
41
  #dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons {
42
+ display: inline-block;
43
  position: absolute;
44
  top: -5px;
45
  left: 0;
 
46
  width: 30px;
47
  height: 30px;
48
  }
49
 
50
  #dpsp-settings-sidebar-social-pug-pro p .dpsp-dashicons:after {
 
51
  display: block;
52
  position: absolute;
 
53
  top: -1px;
54
  left: 2px;
55
  width: 30px;
56
  height: 30px;
57
  border-radius: 20px;
58
+ background: #41a4a9;;
59
+ content: '';
60
+ z-index: 1;
61
  }
62
 
63
  #dpsp-settings-sidebar-social-pug-pro p .dashicons {
66
  left: 0;
67
  width: 30px;
68
  height: 30px;
69
+ color: #fff;
70
  font-size: 24px;
71
  line-height: 30px;
 
72
  z-index: 2;
73
  }
74
 
75
  #dpsp-settings-sidebar-social-pug-pro .dpsp-button-primary {
76
+ box-sizing: border-box;
77
  width: 100%;
 
78
  padding: 10px 0;
79
+ text-align: center;
80
  }
assets/src/css/{lib → layouts}/index.php RENAMED
File without changes
assets/src/css/lib/admin/extensions.scss DELETED
@@ -1,10 +0,0 @@
1
- .dpsp-page-wrapper.dpsp-page-extensions { max-width: 1000px; }
2
-
3
- .dpsp-page-extensions .dpsp-card { margin-top: 0; margin-bottom: 0; }
4
-
5
- .dpsp-unavailable > a { display: block; line-height: 0; }
6
- .dpsp-unavailable h4 { padding-bottom: 0; border-bottom: 0; border-top: 1px solid #f1f1f1; text-align: left; }
7
- .dpsp-unavailable p.dpsp-description { margin: 0; padding: 10px; }
8
- .dpsp-unavailable .dpsp-tool-actions { padding: 15px 10px; overflow: hidden; text-align: center; background: #f9f9f9; border-top: 1px solid #f1f1f1; }
9
- .dpsp-unavailable .dpsp-tool-actions .button { padding-left: 25px; padding-right: 25px; }
10
- .dpsp-unavailable .dpsp-description { height: 57px; }
 
 
 
 
 
 
 
 
 
 
assets/src/css/lib/buttons/content.scss DELETED
@@ -1,7 +0,0 @@
1
- /*****************************************/
2
- /* Content Buttons
3
- /*****************************************/
4
- #dpsp-content-top { margin-bottom: 1.2em; }
5
- #dpsp-content-bottom { margin-top: 1.2em; }
6
-
7
- .dpsp-share-text { font-weight: bold; margin-bottom: 10px; }
 
 
 
 
 
 
 
assets/src/css/lib/buttons/general.scss DELETED
@@ -1,411 +0,0 @@
1
- @import './mixins';
2
-
3
- /**************************************************/
4
- /* General button styling, for content and other
5
- /**************************************************/
6
- .dpsp-networks-btns-wrapper {
7
- list-style: none !important;
8
- padding: 0 !important;
9
- margin: 0 !important;
10
- }
11
-
12
- .dpsp-networks-btns-wrapper:after {
13
- content: '';
14
- display: block;
15
- height: 0;
16
- clear: both;
17
- }
18
-
19
- .dpsp-networks-btns-wrapper li {
20
- float: left;
21
-
22
- -moz-transition: all 0.15s ease-in;
23
- -webkit-transition: all 0.15s ease-in;
24
- -o-transition: all 0.15s ease-in;
25
- transition: all 0.15s ease-in;
26
-
27
- margin: 0;
28
- padding: 0;
29
- border: 0;
30
- list-style-type: none !important;
31
- }
32
-
33
- .dpsp-networks-btns-wrapper li:before {
34
- display: none !important;
35
- }
36
-
37
- .dpsp-networks-btns-wrapper li:first-child {
38
- margin-left: 0 !important;
39
- }
40
-
41
- /*
42
- * Share button
43
- */
44
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
45
- position: relative;
46
- text-align: center;
47
- display: inline-flex;
48
- text-decoration: none !important;
49
- text-transform: unset !important;
50
- height: 40px;
51
- min-width: 40px;
52
-
53
- font-family: 'Arial', sans-serif;
54
- font-weight: bold;
55
- font-size: 14px;
56
- line-height: 36px;
57
- vertical-align: middle;
58
-
59
- padding: 0;
60
- border: 2px solid;
61
- max-height: 40px;
62
-
63
- width: 100%;
64
- -moz-box-sizing: border-box;
65
- box-sizing: border-box;
66
-
67
- -moz-transition: all 0.15s ease-in;
68
- -webkit-transition: all 0.15s ease-in;
69
- -o-transition: all 0.15s ease-in;
70
- transition: all 0.15s ease-in;
71
-
72
- box-shadow: none;
73
-
74
- cursor: pointer;
75
-
76
- border-radius: 0;
77
- .dpsp-network-label {
78
- padding-left: 0.5em;
79
- padding-right: 0.5em;
80
- }
81
- &.dpsp-has-count .dpsp-network-label {
82
- padding-right: 0.25em;
83
- }
84
- }
85
-
86
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
87
- &:hover, &:focus {
88
- border: 2px solid;
89
- box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.4);
90
- box-shadow: 0 0 0 3px var(--networkHover);
91
- outline: none;
92
- }
93
- }
94
-
95
- .dpsp-networks-btns-wrapper .dpsp-network-btn:after {
96
- content: '';
97
- display: block;
98
- height: 0;
99
- clear: both;
100
- }
101
-
102
- /*
103
- * Buttons with no labels
104
- */
105
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
106
- &.dpsp-no-label {
107
- }
108
- }
109
-
110
- .dpsp-networks-btns-wrapper.dpsp-column-auto .dpsp-network-btn {
111
- &.dpsp-no-label {
112
- padding-left: 0 !important;
113
- }
114
- }
115
-
116
- // Inline content and pop-up buttons with no labels
117
- .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon {
118
- }
119
- // Small size
120
- .dpsp-size-small .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn.dpsp-no-label .dpsp-network-icon {
121
- width: 28px;
122
- }
123
-
124
-
125
- /*
126
- * Button label
127
- */
128
-
129
-
130
- .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-count {
131
- font-size: 13px;
132
- font-weight: normal;
133
- padding-left: 0.25em;
134
- padding-right: 0.5em;
135
- white-space: nowrap;
136
- }
137
- .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar ) {
138
- &.dpsp-column-2, &.dpsp-column-1 {
139
- .dpsp-network-btn .dpsp-network-icon + .dpsp-network-count {
140
-
141
- }
142
- }
143
- }
144
-
145
- .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-count {
146
- position: absolute;
147
- bottom: 0;
148
- left: 0;
149
- width: 100%;
150
- margin-left: 0;
151
- font-size: 11px;
152
- text-align: center;
153
- height: 20px;
154
- line-height: 20px;
155
- }
156
-
157
- .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-no-label .dpsp-network-label-wrapper {
158
- display: none;
159
- }
160
-
161
- .dpsp-button-style-6, .dpsp-button-style-7 {
162
- .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-column-auto):not(.dpsp-column-6) .dpsp-network-btn.dpsp-has-count-only .dpsp-network-label-wrapper {
163
- display: inline-block;
164
- text-indent: 2em;
165
- }
166
- }
167
-
168
-
169
-
170
- /*
171
- * Buttons columns
172
- */
173
- .dpsp-networks-btns-wrapper.dpsp-column-1 li { width: 100%; margin-left: 0;}
174
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-1 li { margin-right: 0; }
175
-
176
- .dpsp-networks-btns-wrapper.dpsp-column-2 li { width: 50%; }
177
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-2 li { width: 49%; }
178
- .dpsp-networks-btns-wrapper.dpsp-column-2 li:nth-child(2n) { margin-right: 0; }
179
-
180
- .dpsp-networks-btns-wrapper.dpsp-column-3 li { width: 33.3333%; }
181
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-3 li { width: 32%; }
182
- .dpsp-networks-btns-wrapper.dpsp-column-3 li:nth-child(3n) { margin-right: 0; }
183
-
184
- .dpsp-networks-btns-wrapper.dpsp-column-4 li { width: 25%; }
185
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-4 li { width: 23.5%; }
186
- .dpsp-networks-btns-wrapper.dpsp-column-4 li:nth-child(4n) { margin-right: 0; }
187
-
188
- .dpsp-networks-btns-wrapper.dpsp-column-5 li { width: 20%; }
189
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-5 li { width: 18.4%; }
190
- .dpsp-networks-btns-wrapper.dpsp-column-5 li:nth-child(5n) { margin-right: 0; }
191
-
192
- .dpsp-networks-btns-wrapper.dpsp-column-6 li { width: 16.6666%; }
193
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-6 li { width: 15%; }
194
- .dpsp-networks-btns-wrapper.dpsp-column-6 li:nth-child(6n) { margin-right: 0; }
195
-
196
- .dpsp-networks-btns-wrapper.dpsp-column-7 li { width: 14.285%; }
197
- .dpsp-has-spacing .dpsp-networks-btns-wrapper.dpsp-column-7 li { width: 13%; }
198
- .dpsp-networks-btns-wrapper.dpsp-column-7 li:nth-child(6n) { margin-right: 0; }
199
-
200
- .dpsp-shape-circle .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn:not(.dpsp-no-label) { padding-right: 10px; }
201
-
202
- /*
203
- * Buttons width no labels
204
- */
205
- .dpsp-no-labels .dpsp-networks-btns-wrapper .dpsp-network-btn { padding: 0 !important; text-align: center; }
206
-
207
-
208
- /*
209
- * Buttons colors
210
- */
211
- /* Facebook */
212
- @include networkColor( "facebook", #3a579a, #334d87 );
213
-
214
- /* Twitter */
215
- @include networkColor( "twitter", #00abf0, #0099d7 );
216
-
217
- /* Pinterest */
218
- @include networkColor( "pinterest", #c92228, #b31e24 );
219
-
220
- /* LinkedIn */
221
- @include networkColor( "linkedin", #0077b5, #00669c );
222
-
223
- /* Reddit */
224
- @include networkColor( "reddit", #ff5700, #ff4200 );
225
-
226
- /* VK */
227
- @include networkColor( "vkontakte", #4d75a3, #456992 );
228
-
229
- /* WhatsApp */
230
- @include networkColor( "whatsapp", #25D366, #21c960 );
231
-
232
- /* Instagram */
233
- @include networkColor( "instagram", #bc2a8d, #a9257e );
234
-
235
- /* YouTube */
236
- @include networkColor( "youtube", #bb0000, #a20000 );
237
-
238
- /* Vimeo */
239
- @include networkColor( "vimeo", #4bf, #2bb2ff );
240
-
241
- /* SoundCloud */
242
- @include networkColor( "soundcloud", #f50, #e64c00 );
243
-
244
- /* Twitch */
245
- @include networkColor( "twitch", #6441A5, #593a93 );
246
-
247
- /* Yummly */
248
- @include networkColor( "yummly", #e55a27, #d84d1a );
249
-
250
- /* Behance */
251
- @include networkColor( "behance", #005cff, #0053e6 );
252
-
253
- /* Email */
254
- @include networkColor( "email", #27ae60, #239e57 );
255
-
256
- /* Print */
257
- @include networkColor( "print", #bdc3c7, #afb6bb );
258
-
259
- /* Pocket */
260
- @include networkColor( "pocket", #ed4055, #e63c51 );
261
-
262
- /* Buffer */
263
- @include networkColor( "buffer", #29323b, #21282f );
264
-
265
- /* Tumblr */
266
- @include networkColor( "tumblr", #35465c, #2e3d50 );
267
-
268
- /* Xing */
269
- @include networkColor( "xing", #00888d, #006a6c );
270
-
271
- /* Github */
272
- @include networkColor( "github", #333333, #222222 );
273
-
274
- /* Flipboard */
275
- @include networkColor( "flipboard", #e12828, #d21d1d );
276
-
277
- /* Telegram */
278
- @include networkColor( "telegram", #0088cc, #0077b3 );
279
-
280
- /* Medium */
281
- @include networkColor( "medium", #333, #111 );
282
-
283
- /* Mix */
284
- @include networkColor( "mix", #fd8235, #fd721c );
285
-
286
-
287
- /*
288
- * Buttons Shapes
289
- */
290
- .dpsp-shape-rounded .dpsp-network-btn,
291
- .dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
292
- -webkit-border-top-left-radius: 4px;
293
- -webkit-border-bottom-left-radius: 4px;
294
- -moz-border-radius-topleft: 4px;
295
- -moz-border-radius-bottomleft: 4px;
296
- border-top-left-radius: 4px;
297
- border-bottom-left-radius: 4px;
298
- }
299
-
300
- .dpsp-shape-rounded .dpsp-network-btn,
301
- .dpsp-shape-rounded .dpsp-no-label.dpsp-network-btn .dpsp-network-icon {
302
- -webkit-border-top-right-radius: 4px;
303
- -webkit-border-bottom-right-radius: 4px;
304
- -moz-border-radius-topright: 4px;
305
- -moz-border-radius-bottomright: 4px;
306
- border-top-right-radius: 4px;
307
- border-bottom-right-radius: 4px;
308
- }
309
-
310
- .dpsp-shape-circle .dpsp-network-btn {
311
- border-radius: 30px;
312
- .dpsp-network-icon {
313
- border-radius: 30px; overflow: hidden;
314
- }
315
- }
316
-
317
- /*
318
- * Buttons Margins/Spacings
319
- */
320
- .dpsp-has-spacing .dpsp-networks-btns-wrapper li {
321
- margin-bottom: 10px;
322
- margin-right: 2%;
323
- margin-left: 0 !important;
324
- }
325
-
326
- /*
327
- * Button sizes
328
- */
329
- /* Size Small */
330
- .dpsp-size-small {
331
- .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar):not(.dpsp-networks-btns-sticky-bar) .dpsp-network-btn {
332
- height: 32px;
333
- min-width: 32px;
334
- line-height: 28px;
335
- max-height: 32px;
336
- &.dpsp-no-label {
337
- .dpsp-network-icon {
338
- width: 32px;
339
- }
340
- }
341
- .dpsp-network-icon {
342
- line-height: 28px;
343
- width: 32px;
344
- height: 32px;
345
- }
346
- .dpsp-network-icon-inner {
347
- height: 28px;
348
- }
349
- }
350
- }
351
-
352
- /* Size Large */
353
- .dpsp-size-large .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
354
- height: 46px;
355
- min-width: 46px;
356
- line-height: 42px;
357
- max-height: 46px;
358
- .dpsp-network-icon {
359
- line-height: 42px;
360
- width: 46px;
361
- height: 46px;
362
- }
363
- .dpsp-network-icon-inner {
364
- height: 42px;
365
- }
366
- }
367
-
368
- /* Floating Sidebar */
369
- .dpsp-size-medium .dpsp-networks-btns-sidebar .dpsp-network-btn {
370
- height: 45px;
371
- min-width: 45px;
372
- line-height: 41px;
373
- max-height: 45px;
374
- padding-left: 0;
375
- .dpsp-network-icon {
376
- line-height: 41px;
377
- width: 45px;
378
- }
379
- }
380
-
381
- .dpsp-size-medium .dpsp-networks-btns-sidebar.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count .dpsp-network-icon {
382
- height: 26px;
383
- line-height: 26px;
384
- }
385
-
386
- .dpsp-size-large .dpsp-networks-btns-sidebar .dpsp-network-btn {
387
- height: 50px;
388
- min-width: 50px;
389
- line-height: 46px;
390
- max-height: 50px;
391
- padding-left: 0;
392
- .dpsp-network-icon {
393
- line-height: 46px;
394
- width: 50px;
395
- }
396
- }
397
-
398
- .dpsp-size-large .dpsp-networks-btns-wrapper.dpsp-networks-btns-sidebar .dpsp-network-btn.dpsp-has-count .dpsp-network-icon {
399
- height: 30px;
400
- line-height: 30px;
401
- }
402
-
403
-
404
- /*
405
- * Buttons on mobile
406
- */
407
- @media screen and ( max-width : 720px ) {
408
- .dpsp-hide-on-mobile {
409
- display: none !important;
410
- }
411
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/lib/buttons/mixins.scss DELETED
@@ -1,45 +0,0 @@
1
- @mixin networkColor($slug, $default, $hover) {
2
- .dpsp-#{$slug} {
3
- --networkColor: #{rgba($default, 0.4)};
4
- --networkHover: #{rgba($hover, 0.4)};
5
- }
6
- .dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-#{$slug} {
7
- border-color: $default;
8
- background: $default;
9
- color: $default;
10
- .dpsp-network-icon {
11
- border-color: $default;
12
- background: $default;
13
- color: $default;
14
-
15
- svg {
16
- fill: $default;
17
- }
18
- }
19
-
20
- &:hover, &:focus {
21
- border-color: $hover;
22
- background: $hover;
23
- color: $hover;
24
-
25
- .dpsp-network-icon {
26
- border-color: $hover;
27
- background: $hover;
28
- color: $hover;
29
-
30
- svg {
31
- fill: $hover;
32
- }
33
- }
34
- }
35
- }
36
- }
37
-
38
- @mixin style2Colors($slug, $default, $hover) {
39
- .dpsp-button-style-2 .dpsp-networks-btns-wrapper .dpsp-#{$slug} {
40
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label), .dpsp-network-icon {
41
- background: $default;
42
- border-color: $default;
43
- }
44
- }
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/lib/buttons/pin-it.scss DELETED
@@ -1,45 +0,0 @@
1
- /*
2
- * Pinterest Pin it button style
3
- */
4
- .dpsp-pin-it-wrapper { position: relative !important; display: inline-table !important; line-height: 0; }
5
- .dpsp-pin-it-wrapper.aligncenter,.dpsp-pin-it-wrapper.alignleft,.dpsp-pin-it-wrapper.alignright {
6
- display: table !important;
7
- }
8
- .dpsp-pin-it-wrapper:hover .dpsp-pin-it-button { visibility: visible; background-color:#c92228 !important; color: #fff !important; }
9
-
10
- /* Fix for images that */
11
- .dpsp-pin-it-wrapper.aligncenter { margin-left: auto; margin-right: auto; }
12
-
13
- /* Fix for Gutenberg cropped images */
14
- .wp-block-gallery.is-cropped .blocks-gallery-item .dpsp-pin-it-wrapper { height: 100%; flex: 1; object-fit: cover; }
15
-
16
- .dpsp-pin-it-button { display: inline-block; position: absolute; background: transparent; color: transparent !important; text-decoration: none !important; border: 0 !important; height: 40px !important; width: auto !important; font-family: 'Arial'; font-weight: bold; font-size: 14px; line-height: 40px; vertical-align: middle; transition: all 0.25s ease-in-out; visibility: hidden; box-shadow: none !important; background-image: none !important; }
17
- .dpsp-pin-it-button:hover { color: #fff; background: #b31e24; box-shadow: none !important; }
18
-
19
- .dpsp-pin-it-button.dpsp-pin-it-button-has-label { padding-right: 20px; }
20
- .dpsp-pin-it-button.dpsp-pin-it-button-has-label:after {
21
- display: inline-block;
22
- content: attr(title);
23
- }
24
-
25
- .dpsp-pin-it-button .dpsp-network-icon { display: inline-block; width: 40px; height: 40px; text-align: center; vertical-align: top; }
26
-
27
- .dpsp-pin-it-button .dpsp-network-icon svg {
28
- height: 20px;
29
- display: inline-block;
30
- vertical-align: middle;
31
- fill: #fff;
32
- }
33
-
34
- .dpsp-pin-it-button.dpsp-pin-it-button-top-left { top: 10px; left: 10px; }
35
- .dpsp-pin-it-button.dpsp-pin-it-button-top-right { top: 10px; right: 10px; }
36
- .dpsp-pin-it-button.dpsp-pin-it-button-bottom-left { bottom: 10px; left: 10px; }
37
- .dpsp-pin-it-button.dpsp-pin-it-button-bottom-right { bottom: 10px; right: 10px; }
38
- .dpsp-pin-it-button.dpsp-pin-it-button-center { top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;}
39
-
40
- .dpsp-pin-it-button.dpsp-pin-it-button-shape-rectangular { border-radius: 0; }
41
- .dpsp-pin-it-button.dpsp-pin-it-button-shape-rounded { border-radius: 4px; }
42
- .dpsp-pin-it-button.dpsp-pin-it-button-shape-circle { border-radius: 40px; }
43
-
44
- .dpsp-pin-it-wrapper .dpsp-pin-it-overlay { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; opacity: 0; visibility: hidden; transition: all 0.25s ease-in-out; pointer-events: none; }
45
- .dpsp-pin-it-wrapper:hover .dpsp-pin-it-overlay { opacity: 0.4; visibility: visible; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/lib/buttons/pop-up.scss DELETED
@@ -1,7 +0,0 @@
1
- .dpsp-networks-btns-wrapper.dpsp-networks-btns-pop-up.dpsp-column-auto {
2
- text-align: center;
3
- li {
4
- display: inline-block;
5
- float: none;
6
- }
7
- }
 
 
 
 
 
 
 
assets/src/css/lib/buttons/style-variations.scss DELETED
@@ -1,261 +0,0 @@
1
-
2
- @import './mixins';
3
-
4
- /*****************************************/
5
- /* Button styles
6
- /*****************************************/
7
-
8
- /*
9
- * Buttons Style 1
10
- */
11
- .dpsp-button-style-1 .dpsp-network-btn {
12
- color: #fff !important;
13
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
14
- justify-content: center;
15
- }
16
- .dpsp-network-icon svg {
17
- fill: #fff !important;
18
- }
19
- }
20
-
21
- /*
22
- * Buttons Style 2
23
- */
24
- .dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
25
- color: #fff !important;
26
- .dpsp-network-icon svg {
27
- fill: #fff !important;
28
- }
29
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
30
- justify-content: center;
31
- }
32
- }
33
- @include style2Colors( "facebook", #334d87, #334d87 );
34
- @include style2Colors( "twitter", #0099d7, #0099d7 );
35
- @include style2Colors( "pinterest", #b31e24, #b31e24 );
36
- @include style2Colors( "linkedin", #00669c, #00669c );
37
- @include style2Colors( "reddit", #ff4200, #ff4200 );
38
- @include style2Colors( "vkontakte", #456992, #456992 );
39
- @include style2Colors( "whatsapp", #21c960, #21c960 );
40
- @include style2Colors( "instagram", #a9257e, #a9257e );
41
- @include style2Colors( "youtube", #a20000, #a20000 );
42
- @include style2Colors( "vimeo", #2bb2ff, #2bb2ff );
43
- @include style2Colors( "soundcloud", #e64c00, #e64c00 );
44
- @include style2Colors( "twitch", #593a93, #593a93 );
45
- @include style2Colors( "yummly", #d84d1a, #d84d1a );
46
- @include style2Colors( "behance", #0053e6, #0053e6 );
47
- @include style2Colors( "email", #239e57, #239e57 );
48
- @include style2Colors( "print", #afb6bb, #afb6bb );
49
- @include style2Colors( "pocket", #e63c51, #e63c51 );
50
- @include style2Colors( "buffer", #21282f, #21282f );
51
- @include style2Colors( "tumblr", #2e3d50, #2e3d50 );
52
- @include style2Colors( "xing", #006a6c, #006a6c );
53
- @include style2Colors( "github", #222222, #222222 );
54
- @include style2Colors( "flipboard", #d21d1d, #d21d1d );
55
- @include style2Colors( "telegram", #0077b3, #0077b3 );
56
- @include style2Colors( "medium", #111, #111 );
57
- @include style2Colors( "mix", #fd721c, #fd721c );
58
-
59
- /* For floating sidebar */
60
- .dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn,
61
- .dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon { background: transparent !important; }
62
-
63
- /*
64
- * Buttons Style 3
65
- */
66
- .dpsp-button-style-3 .dpsp-networks-btns-wrapper {
67
- .dpsp-network-btn.dpsp-no-label,
68
- .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label) {
69
- justify-content: center;
70
- }
71
- &:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn .dpsp-network-icon svg {
72
- fill: #fff !important;
73
- }
74
- }
75
- .dpsp-button-style-3 .dpsp-networks-btns-wrapper {
76
- .dpsp-network-btn:not(.dpsp-no-label):not(:hover):not(:focus):not(.dpsp-has-count),
77
- .dpsp-network-btn.dpsp-has-count.dpsp-has-label:not(:hover):not(:focus) {
78
- background: transparent;
79
- }
80
- &:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
81
- &:hover, &:focus, &.dpsp-has-count:not(.dpsp-has-label) {
82
- color: #fff;
83
- }
84
- }
85
- }
86
-
87
- /*
88
- * Sidebar buttons
89
- */
90
- .dpsp-networks-btns-sidebar .dpsp-network-btn {
91
- background: transparent;
92
- border-color: transparent;
93
- .dpsp-network-icon {
94
- background: transparent;
95
- border-color: transparent;
96
- }
97
- &:hover, &:focus {
98
- border-color: transparent;
99
- .dpsp-network-icon {
100
- background: transparent;
101
- border-color: transparent;
102
- }
103
- }
104
- }
105
-
106
- .dpsp-button-style-4 {
107
- &.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
108
- border-radius: 4px;
109
- }
110
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
111
- &.dpsp-has-label {
112
- color: #fff;
113
- }
114
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
115
- justify-content: center;
116
- &:not(:hover):not(:focus) {
117
- background-color: transparent;
118
- }
119
- .dpsp-network-icon {
120
- border-color: transparent;
121
- background-color: transparent;
122
- }
123
- }
124
- .dpsp-network-icon {
125
- background: #fff;
126
- }
127
- &:hover, &:focus {
128
- color: #fff;
129
- .dpsp-network-icon {
130
- background: transparent;
131
- svg {
132
- fill: #fff;
133
- }
134
- }
135
- }
136
- }
137
- }
138
-
139
- /*
140
- * Buttons Style 5
141
- */
142
- .dpsp-button-style-5 {
143
- .dpsp-network-btn {
144
- .dpsp-network-icon {
145
- border-color: transparent !important;
146
- }
147
- }
148
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
149
- background: transparent;
150
- .dpsp-network-icon {
151
- background: transparent;
152
- }
153
- &:hover, &:focus {
154
- color: #fff !important;
155
- border-color: transparent !important;
156
- .dpsp-network-icon {
157
- background: transparent;
158
- svg {
159
- fill: #fff !important;
160
- }
161
- }
162
- }
163
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
164
- justify-content: center;
165
- }
166
- }
167
- }
168
-
169
- /*
170
- * Buttons Style 6
171
- */
172
- .dpsp-button-style-6 {
173
- &.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
174
- border-radius: 4px;
175
- }
176
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
177
- background: transparent !important;
178
- border-color: transparent !important;
179
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
180
- max-width: 40px;
181
- }
182
- .dpsp-network-icon svg {
183
- fill: #fff !important;
184
- }
185
- &:hover, &:focus {
186
- border-color: transparent !important;
187
- }
188
- }
189
- &.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn {
190
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
191
- max-width: 32px;
192
- }
193
- }
194
- }
195
-
196
- /*
197
- * Buttons Style 7
198
- */
199
- .dpsp-button-style-7 {
200
- &.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
201
- border-radius: 4px;
202
- }
203
- .dpsp-networks-btns-wrapper .dpsp-network-btn {
204
- background: transparent;
205
- &.dpsp-no-label {
206
- border-color: transparent;
207
- }
208
- .dpsp-network-icon {
209
- background: transparent;
210
- }
211
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
212
- max-width: 40px;
213
- }
214
- &:hover, &:focus {
215
- background: transparent !important;
216
- .dpsp-network-icon svg {
217
- fill: #fff !important;
218
- }
219
- }
220
- &.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn {
221
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
222
- max-width: 32px;
223
- }
224
- }
225
- }
226
- }
227
-
228
- /*
229
- * Buttons Style 8
230
- */
231
- .dpsp-button-style-8 .dpsp-networks-btns-wrapper {
232
- .dpsp-network-btn {
233
- border-color: transparent;
234
- background: transparent;
235
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
236
- max-width: 40px;
237
- }
238
- &:hover, &:focus {
239
- border-color: transparent;
240
- background: transparent;
241
- .dpsp-network-icon {
242
- border-color: transparent;
243
- background: transparent;
244
- }
245
- }
246
- .dpsp-network-icon {
247
- border-color: transparent;
248
- background: transparent;
249
- }
250
- }
251
- &:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
252
- .dpsp-network-icon {
253
- margin-right: -10px;
254
- }
255
- }
256
- }
257
- .dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn {
258
- &.dpsp-no-label, &.dpsp-has-count:not(.dpsp-has-label) {
259
- max-width: 32px;
260
- }
261
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/lib/pop-up.scss DELETED
@@ -1,110 +0,0 @@
1
- /*****************************************/
2
- /* Pop-Up Buttons
3
- /*****************************************/
4
- #dpsp-pop-up {
5
- position: fixed;
6
- max-width: 750px;
7
- width: 100%;
8
- padding: 40px;
9
- background: #fff;
10
- border-radius: 10px;
11
- z-index: 9999;
12
- opacity: 0;
13
- transform: translate(-50%,-50%);
14
- -moz-transition: all 0.25s ease-in-out;
15
- -webkit-transition: all 0.25s ease-in-out;
16
- -o-transition: all 0.25s ease-in-out;
17
- transition: all 0.25s ease-in-out;
18
- }
19
- #dpsp-pop-up.dpsp-animation-1 { transform:translate(-50%,-50%) scale(0.1); }
20
- #dpsp-pop-up.dpsp-animation-3 { transform:translate(-50%,0%) }
21
- #dpsp-pop-up.dpsp-animation-4 { transform:translate(-50%,-100%) }
22
-
23
- #dpsp-pop-up.no-animation,
24
- #dpsp-pop-up-overlay.no-animation {
25
- -moz-transition: none;
26
- -webkit-transition: none;
27
- -o-transition: none;
28
- transition: none;
29
- }
30
-
31
- #dpsp-pop-up.opened {
32
- top: 50%;
33
- left: 50%;
34
- transform: scale(1) translate(-50%,-50%);
35
- opacity: 1;
36
- }
37
-
38
- #dpsp-pop-up-overlay {
39
- display: block;
40
- position: fixed;
41
- top: 0;
42
- left: 0;
43
- width: 0;
44
- height: 0;
45
- z-index: 9998;
46
- background: #000;
47
- opacity: 0;
48
-
49
- -moz-transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
50
- -webkit-transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
51
- -o-transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
52
- transition: opacity 0.25s ease-in-out, margin 0.25s ease-in-out;
53
- }
54
- #dpsp-pop-up-overlay.opened {
55
- width: 100%;
56
- height: 100%;
57
- opacity: 0.65;
58
- }
59
-
60
- #dpsp-pop-up-content {
61
- text-align: center;
62
- }
63
-
64
- #dpsp-pop-up-close {
65
- position: absolute;
66
- top: 10px;
67
- right: 10px;
68
- display: block;
69
- width: 22px;
70
- height: 22px;
71
- line-height: 22px;
72
- vertical-align: middle;
73
- text-align: center;
74
- cursor: pointer;
75
- }
76
-
77
- #dpsp-pop-up-close svg {
78
- position: relative;
79
- top: 2px;
80
- max-height: 16px;
81
- width: auto;
82
- vertical-align: top;
83
- fill: #999;
84
- }
85
-
86
- #dpsp-pop-up h2 { margin-bottom: 1em; }
87
- #dpsp-pop-up h2 p { font-size: inherit; }
88
- #dpsp-pop-up h2 p:last-of-type { margin-top: 0; margin-bottom: 0; }
89
- #dpsp-pop-up p { margin-top: 1em; margin-bottom: 1em; }
90
-
91
- #dpsp-post-bottom {
92
- height: 0;
93
- width: 0;
94
- padding: 0;
95
- margin: 0;
96
- }
97
-
98
- @media screen and ( max-width : 800px ) {
99
- #dpsp-pop-up {
100
- width: 90%;
101
- }
102
- }
103
-
104
- @media screen and ( max-width : 720px ) {
105
- #dpsp-pop-up .dpsp-networks-btns-wrapper li {
106
- width: 100%;
107
- margin-left: 0;
108
- margin-right: 0;
109
- }
110
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/lib/total-shares.scss DELETED
@@ -1,102 +0,0 @@
1
- /*****************************************/
2
- /* Total shares
3
- /*****************************************/
4
- .dpsp-show-total-share-count {
5
- position: relative;
6
- }
7
-
8
- .dpsp-total-share-wrapper {
9
- position: relative;
10
- font-family: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
11
- margin-top: 10px;
12
- line-height: 1.345;
13
- color: #5d6368;
14
- .dpsp-total-share-count {
15
- font-size: 15px;
16
- line-height: 18px;
17
- white-space: nowrap;
18
- }
19
- .dpsp-icon-total-share {
20
- position: absolute;
21
- top: 6px;
22
- left: 0;
23
- margin-left: 0;
24
- margin-top: 0;
25
- svg {
26
- max-height: 16px;
27
- top: 2px;
28
- width: auto;
29
- fill: #5d6368;
30
- }
31
-
32
- }
33
- #dpsp-floating-sidebar & {
34
- margin-bottom: 10px;
35
- .dpsp-icon-total-share {
36
- display: none;
37
- }
38
- }
39
- span {
40
- display: block;
41
- font-size: 9px;
42
- font-weight: bold;
43
- text-transform: uppercase;
44
- text-align: center;
45
- }
46
- .dpsp-share-buttons-wrapper &,
47
- .dpsp-content-wrapper &,
48
- .dpsp-pop-up-buttons-wrapper &,
49
- .dpsp-shortcode-wrapper & {
50
- position: absolute;
51
- width: 60px;
52
- height: 40px;
53
- margin-top: -21px;
54
- top: 50%;
55
- padding-left: 20px;
56
- box-sizing: border-box;
57
- }
58
- #dpsp-sticky-bar & {
59
- height: 32px; margin-top: -16px;
60
- }
61
- #dpsp-sticky-bar-wrapper.dpsp-is-mobile & {
62
- display: none;
63
- }
64
-
65
- }
66
-
67
-
68
-
69
-
70
- .dpsp-share-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,
71
- .dpsp-content-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,
72
- .dpsp-pop-up-buttons-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before,
73
- .dpsp-shortcode-wrapper.dpsp-show-total-share-count.dpsp-show-total-share-count-before {
74
- padding-left: 70px;
75
- }
76
-
77
- .dpsp-share-buttons-wrapper,
78
- .dpsp-content-wrapper,
79
- .dpsp-pop-up-buttons-wrapper,
80
- .dpsp-shortcode-wrapper {
81
- &.dpsp-show-total-share-count.dpsp-show-total-share-count-after {
82
- padding-right: 70px;
83
- }
84
- }
85
-
86
- .dpsp-share-buttons-wrapper,
87
- .dpsp-content-wrapper,
88
- .dpsp-pop-up-buttons-wrapper,
89
- .dpsp-shortcode-wrapper {
90
- &.dpsp-show-total-share-count.dpsp-show-total-share-count-before .dpsp-total-share-wrapper {
91
- left: 0;
92
- }
93
- }
94
-
95
- .dpsp-share-buttons-wrapper,
96
- .dpsp-content-wrapper,
97
- .dpsp-pop-up-buttons-wrapper,
98
- .dpsp-shortcode-wrapper {
99
- &.dpsp-show-total-share-count.dpsp-show-total-share-count-after .dpsp-total-share-wrapper {
100
- right: 0;
101
- }
102
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/style-dashboard-pro.css CHANGED
@@ -1,1320 +1 @@
1
- /******************************************************************************************/
2
- /* Fonts
3
- /******************************************************************************************/
4
- @import url('https://fonts.googleapis.com/css?family=Raleway:400,700,800');
5
- @import './lib/admin/settings-sidebar.scss';
6
- @import './lib/admin/extensions.scss';
7
-
8
- @font-face {
9
- font-family: 'Social Pug';
10
- src:url('../fonts/socialpug.eot?gd6mr8');
11
- src:url('../fonts/socialpug.eot?#iefix') format('embedded-opentype'),
12
- url('../fonts/socialpug.woff') format('woff'),
13
- url('../fonts/socialpug.ttf') format('truetype'),
14
- url('../fonts/socialpug.svg#socialpug') format('svg');
15
- font-weight: normal;
16
- font-style: normal;
17
- }
18
-
19
- [class^="dpsp-icon-"]:before, [class*=" dpsp-icon-"]:before {
20
- font-family: "Social Pug", sans-serif;
21
- font-style: normal;
22
- font-weight: normal;
23
- display: inline-block;
24
- text-decoration: inherit;
25
- text-align: center;
26
- font-variant: normal;
27
- text-transform: none;
28
- line-height: 1em;
29
- }
30
-
31
- .dpsp-icon-ok:before { content: '\e880'; }
32
- .dpsp-icon-remove:before { content: '\e881'; }
33
- .dpsp-icon-edit:before { content: '\e882'; }
34
- .dpsp-icon-share:before { content: '\e883'; }
35
- .dpsp-icon-facebook:before { content: '\e800'; }
36
- .dpsp-icon-twitter:before { content: '\e801'; }
37
- .dpsp-icon-google-plus:before { content: '\e802'; }
38
- .dpsp-icon-pinterest:before { content: '\e803'; }
39
- .dpsp-icon-linkedin:before { content: '\e804'; }
40
- .dpsp-icon-reddit:before { content: '\e806'; }
41
- .dpsp-icon-vkontakte:before { content: '\e807'; }
42
- .dpsp-icon-whatsapp:before { content: '\e808'; }
43
- .dpsp-icon-instagram:before { content: '\e809'; }
44
- .dpsp-icon-youtube:before { content: '\e810'; }
45
- .dpsp-icon-vimeo:before { content: '\e811'; }
46
- .dpsp-icon-soundcloud:before { content: '\e812'; }
47
- .dpsp-icon-twitch:before { content: '\e813'; }
48
- .dpsp-icon-behance:before { content: '\e814'; }
49
- .dpsp-icon-yummly:before { content: '\e815'; }
50
- .dpsp-icon-email:before { content: '\e816'; }
51
- .dpsp-icon-print:before { content: '\e817'; }
52
- .dpsp-icon-pocket:before { content: '\e819'; }
53
- .dpsp-icon-buffer:before { content: '\e820'; }
54
- .dpsp-icon-tumblr:before { content: '\e821'; }
55
- .dpsp-icon-github:before { content: '\e822'; }
56
- .dpsp-icon-xing:before { content: '\e823'; }
57
- .dpsp-icon-flipboard:before { content: '\e824'; }
58
- .dpsp-icon-telegram:before { content: '\e825'; }
59
- .dpsp-icon-medium:before { content: '\e826'; }
60
- .dpsp-icon-mix:before { content: '\e827'; }
61
-
62
-
63
- /******************************************************************************************/
64
- /* General
65
- /******************************************************************************************/
66
-
67
- /* Transitions */
68
- .dpsp-transition {
69
- -moz-transition: all 0.15s ease-in;
70
- -webkit-transition: all 0.15s ease-in;
71
- -o-transition: all 0.15s ease-in;
72
- transition: all 0.15s ease-in;
73
- }
74
-
75
- /* Grid system */
76
- [class*="dpsp-col-"] { float: left; padding: 5px; -moz-box-sizing: border-box; box-sizing: border-box; }
77
- .dpsp-row { margin: 0 -5px; }
78
- .dpsp-row.dpsp-m-padding { margin: 0 -8px; }
79
- .dpsp-row.dpsp-m-padding [class*="dpsp-col-"] { padding: 8px; }
80
- .dpsp-row.dpsp-big-padding { margin: 0 -15px; }
81
- .dpsp-row.dpsp-big-padding [class*="dpsp-col-"] { padding: 15px; }
82
-
83
- .dpsp-col-1-1 { width: 100%; }
84
- .dpsp-col-1-2 { width: 50%; }
85
- .dpsp-col-1-3 { width: 33.3333%; }
86
- .dpsp-col-2-3 { width: 66.6666%; }
87
- .dpsp-col-1-4 { width: 25%; }
88
- .dpsp-col-3-4 { width: 75%; }
89
- .dpsp-col-1-5 { width: 20%; }
90
- .dpsp-col-2-5 { width: 40%; }
91
- .dpsp-col-3-5 { width: 60%; }
92
- .dpsp-col-4-5 { width: 80%; }
93
- .dpsp-col-3-8 { width: 37.5%; }
94
-
95
- .dpsp-row:after { content: ''; display: block; clear: both; }
96
-
97
- /* Other */
98
- .dpsp-page-wrapper {
99
- position: relative;
100
- max-width: 675px;
101
- float: left;
102
- width: 100%;
103
- }
104
-
105
- h1.dpsp-page-title {
106
- padding-right: 0;
107
- padding-bottom: 15px;
108
- }
109
-
110
- .dpsp-section {
111
- margin-bottom: 50px;
112
- }
113
-
114
- .dpsp-section:after {
115
- content: '';
116
- display: block;
117
- clear: both;
118
- }
119
-
120
- .dpsp-section-title {
121
- margin: 2.75em 0 1.3em 0;
122
- padding-bottom: 15px;
123
- border-bottom: 1px solid #e5e5e5;
124
- }
125
-
126
- /* Social Networks background colors */
127
- .dpsp-background-color-network-facebook { background: #3a579a; }
128
- .dpsp-background-color-network-twitter { background: #00abf0; }
129
- .dpsp-background-color-network-google-plus { background: #df4a32; }
130
- .dpsp-background-color-network-pinterest { background: #c92228; }
131
- .dpsp-background-color-network-linkedin { background: #0077b5; }
132
- .dpsp-background-color-network-reddit { background: #ff5700; }
133
- .dpsp-background-color-network-vkontakte { background: #4d75a3; }
134
- .dpsp-background-color-network-whatsapp { background: #25D366; }
135
- .dpsp-background-color-network-instagram { background: #bc2a8d; }
136
- .dpsp-background-color-network-youtube { background: #bb0000; }
137
- .dpsp-background-color-network-vimeo { background: #4bf; }
138
- .dpsp-background-color-network-soundcloud { background: #f50; }
139
- .dpsp-background-color-network-twitch { background: #6441A5; }
140
- .dpsp-background-color-network-yummly { background: #e55a27; }
141
- .dpsp-background-color-network-behance { background: #005cff; }
142
- .dpsp-background-color-network-email { background: #27ae60; }
143
- .dpsp-background-color-network-print { background: #bdc3c7; }
144
- .dpsp-background-color-network-pocket { background: #ed4055; }
145
- .dpsp-background-color-network-buffer { background: #29323b; }
146
- .dpsp-background-color-network-tumblr { background: #35465c; }
147
- .dpsp-background-color-network-xing { background: #00888d; }
148
- .dpsp-background-color-network-github { background: #333333; }
149
- .dpsp-background-color-network-flipboard { background: #e12828; }
150
- .dpsp-background-color-network-telegram { background: #0088cc; }
151
- .dpsp-background-color-network-medium { background: #333; }
152
- .dpsp-background-color-network-mix { background: #fd8235; }
153
-
154
-
155
- /******************************************************************************************/
156
- /* General Page Styles
157
- /******************************************************************************************/
158
- body.dpsp-pagestyles { background: #f3f6f8; }
159
-
160
-
161
- /******************************************************************************************/
162
- /* General Pages Header
163
- /******************************************************************************************/
164
- .dpsp-page-header { background: #41a4a9; margin-left: -20px; line-height: 60px; color: #fff; }
165
- .dpsp-page-header .dpsp-logo { padding: 0 10px 0 20px; }
166
- .dpsp-page-header .dpsp-logo-inner { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 22px; }
167
- .dpsp-page-header .dpsp-logo-inner span { font-weight: 300; }
168
- .mv-grow-logo {
169
- max-width: 50px;
170
- display: inline-block;
171
- vertical-align: top;
172
- padding-right: 0.5rem;
173
- padding-top: 0.25rem;
174
- }
175
- .dpsp-page-header:after { content: ''; display: block; clear: both; }
176
-
177
- .dpsp-page-header nav { display: inline-block; margin-left: 25px; line-height: 62px; }
178
- .dpsp-page-header nav a { display: inline-block; color: #fff; background: rgba(255,255,255,0.20); text-decoration: none; font-size: 0.9em; line-height: 1; padding: 8px 12px; border-radius: 3px; font-weight: bold; margin: 0 5px; box-shadow: 0 0 2px 2px rgba(52,152,219,0.15); }
179
- .dpsp-page-header nav a .dashicons { font-size: 14px; height: auto; width: auto; margin-right: 5px; margin-top: -2px; }
180
- .dpsp-page-header nav a:hover { background: rgba(255,255,255,0.30); }
181
-
182
-
183
- /******************************************************************************************/
184
- /* General Cards
185
- /******************************************************************************************/
186
- .dpsp-card { margin-bottom: 2em; margin-top: 1.5em; background: #fff; box-shadow: 0 3px 10px -2px rgba(94,135,161,0.3); max-width: 675px; border-radius: 3px; box-sizing: border-box; }
187
-
188
- .dpsp-card-header { position: relative; padding: 20px; border-bottom: 1px solid rgba(200, 215, 225, 0.5); font-size: 14px; font-weight: bold; }
189
-
190
- .dpsp-card-inner { padding: 20px; }
191
- .dpsp-card-inner:after { content: ''; display: block; clear: both; }
192
-
193
- .dpsp-card-footer { position: relative; padding: 20px; border-top: 1px solid rgba(200, 215, 225, 0.5); background: rgba(200, 215, 225, 0.15); }
194
-
195
- .dpsp-card-footer-actions { text-align: right; }
196
- .dpsp-card-footer-actions:after { content: ''; display: block; clear: both; }
197
- .dpsp-card-footer-actions a { float: left; color: #777; line-height: 34px; outline: 0; box-shadow: none; }
198
- .dpsp-card-footer-actions a:hover { color: #444; }
199
-
200
-
201
- /******************************************************************************************/
202
- /* General Tabs and Nav Tabs
203
- /******************************************************************************************/
204
- .dpsp-nav-tab-wrapper { margin: 0; }
205
- .dpsp-nav-tab-wrapper:after { content: ''; display: block; clear: both; }
206
-
207
- .dpsp-nav-tab { float: left; border-bottom: 2px solid transparent; margin: 0; }
208
- .dpsp-nav-tab.dpsp-active { border-bottom-color: #2e4453; }
209
- .dpsp-nav-tab.dpsp-active a { color: #2e4453; }
210
- .dpsp-nav-tab a { display: block; width: auto; padding: 16px 16px 14px 16px; text-decoration: none; box-sizing: border-box; box-shadow: none; }
211
-
212
- .dpsp-tab { display: none; margin-top: 25px; }
213
- .dpsp-tab.dpsp-active { display: block; }
214
-
215
-
216
- /******************************************************************************************/
217
- /* General Buttons
218
- /******************************************************************************************/
219
- .dpsp-button-primary { display: inline-block; border:none; background: #41a4a9; color: #fff !important; cursor: pointer; margin: 0; outline: 0; overflow: hidden; font-size: 13px; font-weight: 500; text-overflow: ellipsis; text-decoration: none; vertical-align: middle; box-sizing: border-box; line-height: 21px; border-radius: 3em; padding: 0.5em 2em; -webkit-appearance: none; -moz-appearance: none; appearance: none; box-shadow: none !important; }
220
- .dpsp-button-primary:hover { color: #fff; background-color: #243c4a; }
221
- .dpsp-button-primary:focus { color: #fff; }
222
- .dpsp-button-primary.dpsp-active,
223
- .dpsp-button-primary:active { border-width: 2px 1px 1px; }
224
- .dpsp-button-primary.dpsp-hidden { display: none; }
225
-
226
- .dpsp-button-secondary { display: inline-block; background: #fff; border-color: #c8d7e1; border-style: solid; border-width: 1px 1px 2px; color: #2e4453; cursor: pointer; margin: 0; outline: 0; overflow: hidden; font-size: 13px; font-weight: 500; text-overflow: ellipsis; text-decoration: none; vertical-align: middle; box-sizing: border-box; line-height: 21px; border-radius: 4px; padding: 5px 11px; -webkit-appearance: none; -moz-appearance: none; appearance: none; box-shadow: none !important; }
227
- .dpsp-button-secondary:hover { color: #2e4453; border-color: #a8bece; }
228
- .dpsp-button-secondary:focus { color: #2e4453; }
229
- .dpsp-button-secondary.dpsp-active,
230
- .dpsp-button-secondary:active { border-width: 2px 1px 1px; }
231
- .dpsp-button-secondary.dpsp-hidden { display: none; }
232
- .dpsp-button-secondary[disabled],
233
- .dpsp-button-secondary.disabled { color: #e9eff3; background: #fff; border-color: #e9eff3; cursor: default; }
234
-
235
-
236
- /******************************************************************************************/
237
- /* Widgets
238
- /******************************************************************************************/
239
- .dpsp-widget-section-title { display: block; margin-top: 20px; margin-bottom: 5px; font-weight: bold; }
240
-
241
- .dpsp-widget-label { display: inline-block; width: 200px; }
242
-
243
- .widget-content .dpsp-settings-field-checkbox { margin-right: 12px; }
244
-
245
- /* Settings - Pinterest Button Text Label */
246
- .dpsp-setting-field-button-alignment { display: none; }
247
-
248
-
249
- /**********************************************/
250
- /* Admin Notices
251
- /**********************************************/
252
- .wrap div.dpsp-admin-notice { position: relative; margin-top: 16px; }
253
- .wrap div.dpsp-admin-notice h4 { font-size: 16px; }
254
- .wrap div.dpsp-admin-notice p { font-size: 14px; }
255
-
256
- .wrap div.dpsp-admin-notice.dpsp-serial-missing { border-color: rgba(52,152,219,0.75); }
257
- .wrap div.dpsp-admin-notice.dpsp-serial-missing .dpsp-get-license { margin-left: 10px; }
258
-
259
- .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts { border-color: rgba(52,152,219,0.75); }
260
- .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts h4 { font-size: 1.05em; }
261
- .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts a { text-decoration: none; }
262
- .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link { display: inline-block; padding: 6px 8px; margin-bottom: 18px; color: rgba(52,152,219,1); font-weight: 500; background: #e9e9e9; border-radius: 2px; margin-right: 10px; }
263
- .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link span { display: inline-block; text-decoration: none; margin-right: 10px; }
264
- .wrap div.dpsp-admin-notice.dpsp-admin-notice-twitter-counts .dpsp-admin-notice-link:hover { color: #fff; background: rgba(52,152,219,0.75); }
265
-
266
- .wrap div.dpsp-admin-notice-icon-animation .button-primary { display: inline-block; margin-bottom: 1.33em; }
267
- .wrap div.dpsp-admin-notice-icon-animation h4 { margin-bottom: 0; }
268
- .wrap div.dpsp-admin-notice-icon-animation p { margin-bottom: 0.75em; }
269
-
270
- .wrap div.dpsp-admin-notice.dpsp-admin-grow-notice {
271
- display: flex;
272
- flex-flow: row;
273
- }
274
-
275
- @media screen and (max-width: 500px) {
276
- .wrap div.dpsp-admin-notice.dpsp-admin-grow-notice {
277
- flex-flow: column;
278
- }
279
-
280
- }
281
-
282
- .wrap div.dpsp-admin-notice .notice-img-wrap {
283
- padding: 1em;
284
- flex: 0 0 150px;
285
- }
286
-
287
- .wrap div.dpsp-admin-notice .notice-img-wrap img {
288
- float: left;
289
- }
290
-
291
- .wrap div.dpsp-admin-notice .notice-text-wrap {
292
- flex: 1 1 auto;
293
- }
294
-
295
-
296
- .wrap div.dpsp-admin-notice .notice-subtext {
297
- font-style: italic;
298
- font-size: 0.9em;
299
- }
300
-
301
- /**********************************************/
302
- /* Sortable Networks Panel
303
- /**********************************************/
304
-
305
- /* Select Networks button */
306
- #dpsp-select-networks { position: absolute; top: 50%; margin-top: -17px; right: 10px; }
307
-
308
- /* Empty Networks Placeholder */
309
- #dpsp-sortable-networks-empty {
310
- display: none;
311
- position: relative;
312
- text-align: center;
313
- color: #848484;
314
- }
315
-
316
- #dpsp-sortable-networks-empty:after {
317
- content: '';
318
- display: block;
319
- width: 130px;
320
- height: 70px;
321
- position: absolute;
322
- top: -17px;
323
- right: 80px;
324
- background: url('../img/dpsp-selectable-empty.png') no-repeat center;
325
- background-size: 100%;
326
- opacity: 0;
327
- transition: all 0.15s ease-in;
328
- }
329
-
330
- #dpsp-sortable-networks-empty.dpsp-active {
331
- display: block;
332
- }
333
-
334
- #dpsp-sortable-networks-empty.dpsp-active:after {
335
- opacity: 1;
336
- }
337
-
338
- .dpsp-social-platforms-sort-list {
339
- margin-top: 0;
340
- margin-bottom: 0;
341
- }
342
-
343
- .dpsp-social-platforms-sort-list li {
344
- position: relative;
345
- margin: 0;
346
- overflow: hidden;
347
- background: #fff;
348
- border-bottom: 1px solid #f1f1f1;
349
- padding-top: 5px;
350
- padding-bottom: 5px;
351
- box-sizing: border-box;
352
- }
353
-
354
- .dpsp-social-platforms-sort-list li.dpsp-last {
355
- border-bottom: 0;
356
- border-bottom-right-radius: 3px;
357
- border-bottom-left-radius: 3px;
358
- }
359
-
360
- .dpsp-social-platforms-sort-list li.ui-sortable-helper {
361
- box-shadow: 0 3px 12px 3px rgba( 0, 0, 0, 0.1 );
362
- }
363
-
364
- .dpsp-social-platforms-sort-list.empty li {
365
- background: none;
366
- border: 2px dashed #c1c1c1;
367
- padding: 20px;
368
- }
369
-
370
- .dpsp-social-platforms-sort-list li:after {
371
- content: '';
372
- display: block;
373
- clear: both;
374
- height: 0;
375
- }
376
-
377
- .dpsp-social-platforms-sort-list li:last-of-type {
378
- margin-bottom: 0;
379
- }
380
-
381
- .dpsp-social-platforms-sort-list li.dpsp-sort-placeholder {
382
- background: #f9f9f9;
383
- height: 55px;
384
- box-shadow: inset 0 3px 12px 3px rgba( 0, 0, 0, 0.02 );
385
- border-radius: 0;
386
- }
387
-
388
- .dpsp-social-platforms-sort-list li .dpsp-sort-handle {
389
- float: left;
390
- display: block;
391
- width: 44px;
392
- height: 44px;
393
- cursor: move;
394
- }
395
-
396
- .dpsp-social-platforms-sort-list li .dpsp-sort-handle:before {
397
- content: "";
398
- position: absolute;
399
- left: 12px;
400
- top: 23px;
401
- width: 20px;
402
- height: 1px;
403
- background: #c1c1c1;
404
- box-shadow:
405
- 0 0.25em 0 0 #c1c1c1,
406
- 0 0.5em 0 0 #c1c1c1;
407
- }
408
-
409
- .dpsp-social-platforms-sort-list li .dpsp-list-icon {
410
- float: left;
411
- display: block;
412
- width: 44px;
413
- height: 44px;
414
- line-height: 44px;
415
- text-align: center;
416
- font-size: 1.1em;
417
- }
418
-
419
- .dpsp-social-platforms-sort-list li .dpsp-list-icon-social {
420
- color: #fff;
421
- }
422
-
423
-
424
- /**
425
- * Sort list label input field
426
- *
427
- */
428
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper { position: relative; float: left; padding: 8px; }
429
-
430
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input { border: 0; line-height: 28px; width: 250px; border-radius: 3px; margin: 0; outline: 0; padding: 0 7px; font-weight: bold; font-size: 1em; color: #444; box-shadow: none; transition: background-color 0.1s ease-in-out; }
431
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:placeholder-shown { font-weight: normal; font-style: italic; }
432
-
433
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,
434
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input { background: #f5f5f5; }
435
-
436
- /* Remove styling for the edit label field from the sticky bar tool */
437
- .dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input { cursor: default; background-color: transparent !important; }
438
-
439
-
440
- /**
441
- * Sort list actions
442
- *
443
- */
444
- .dpsp-social-platforms-sort-list li .dpsp-list-actions { float: right; margin-right: 6px; }
445
- .dpsp-social-platforms-sort-list li .dpsp-list-actions a { position: relative; display: inline-block; color: #747474; text-decoration: none; line-height: 28px; vertical-align: middle; margin: 8px 2px 8px 0; padding: 0 6px 0 3px; border-radius: 3px; box-shadow: none; transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out; }
446
- .dpsp-social-platforms-sort-list li .dpsp-list-actions a .dashicons { position: relative; top: -1px; vertical-align: text-top; line-height: 18px; height: 18px; width: 18px; font-size: 18px; margin-right: 2px; }
447
-
448
- .dpsp-social-platforms-sort-list li .dpsp-list-actions a:hover { background: #f4f4f4; color: #353535; }
449
-
450
- /* Remove Edit Label action from sticky bar tool */
451
- .dpsp-page-sticky-bar .dpsp-social-platforms-sort-list li .dpsp-list-actions .dpsp-list-edit-label { display: none; }
452
-
453
-
454
- /**********************************************/
455
- /* All networks selector list
456
- /**********************************************/
457
- #dpsp-networks-selector-wrapper {
458
- display: none;
459
- }
460
-
461
- #dpsp-networks-selector {
462
- padding: 20px;
463
- margin: 0;
464
- }
465
-
466
- #dpsp-networks-selector li {
467
- position: relative;
468
- float: left;
469
- width: 33.3333%;
470
- margin-bottom: 1em;
471
- padding: 0 10px;
472
- box-sizing: border-box;
473
- }
474
-
475
- #dpsp-networks-selector:after {
476
- content: '';
477
- display: block;
478
- clear: both;
479
- height: 0;
480
- }
481
-
482
- #dpsp-networks-selector .dpsp-network-item {
483
- position: relative;
484
- overflow: hidden;
485
- padding-left: 35px;
486
- box-sizing: border-box;
487
- cursor: pointer;
488
- }
489
-
490
- #dpsp-networks-selector .dpsp-network-item-checkbox {
491
- position: absolute;
492
- top: 0;
493
- left: 0;
494
- width: 26px;
495
- height: 26px;
496
- line-height: 26px;
497
- font-size: 16px;
498
- vertical-align: middle;
499
- text-align: center;
500
- color: #555;
501
- background: #fff;
502
- border: 2px solid #c8d7e1;
503
- border-radius: 15px;
504
- -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,.1);
505
- box-shadow: 0 1px 1px -1px rgba(0,0,0,.1);
506
- }
507
-
508
- #dpsp-networks-selector .dpsp-network-item-checkbox:before {
509
- position: relative;
510
- opacity: 0;
511
- transition: all 0.15s ease-in;
512
- }
513
-
514
- #dpsp-networks-selector .dpsp-network-item:hover .dpsp-network-item-checkbox:before {
515
- opacity: 0.15;
516
- }
517
-
518
- #dpsp-networks-selector .dpsp-network-item[data-checked="true"] .dpsp-network-item-checkbox:before {
519
- opacity: 1;
520
- }
521
-
522
- #dpsp-networks-selector .dpsp-network-item[data-checked="true"]:hover .dpsp-network-item-checkbox:before {
523
- opacity: 1;
524
- }
525
-
526
- #dpsp-networks-selector .dpsp-network-item-name-wrapper {
527
- height: 30px;
528
- line-height: 30px;
529
- color: #fff;
530
- vertical-align: middle;
531
- padding-left: 10px;
532
- border-radius: 3px;
533
- -webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,.1);
534
- box-shadow: 0 1px 1px -1px rgba(0,0,0,.1);
535
- }
536
-
537
- #dpsp-networks-selector .dpsp-network-item-name-wrapper .dpsp-list-icon {
538
- display: inline-block;
539
- margin-right: 12px;
540
- margin-left: 5px;
541
- }
542
-
543
- #dpsp-networks-selector .dpsp-network-item-name-wrapper h4 {
544
- display: inline-block;
545
- margin: 0;
546
- }
547
-
548
-
549
- /**********************************************/
550
- /* Settings fields
551
- /**********************************************/
552
- .dpsp-setting-field-wrapper {
553
- position: relative;
554
- left: auto;
555
- margin-bottom: 12px;
556
- min-height: 39px;
557
- transition: opacity 0.4s ease-in-out;
558
- }
559
-
560
- .dpsp-setting-field-wrapper.disabled {
561
- position: absolute;
562
- left: -9999px;
563
- visibility: hidden;
564
- opacity: 0;
565
- }
566
-
567
- .dpsp-setting-field-wrapper.dpsp-last {
568
- margin-bottom: 0;
569
- }
570
-
571
- .dpsp-setting-field-label {
572
- position: absolute;
573
- top: 2px;
574
- left: 0;
575
- display: inline-block;
576
- width: 235px;
577
- vertical-align: top;
578
- padding-right: 15px;
579
- box-sizing: border-box;
580
- }
581
-
582
- .dpsp-setting-field-wrapper.dpsp-has-field-label {
583
- padding-left: 243px;
584
- }
585
-
586
- .dpsp-setting-field-wrapper.dpsp-has-field-label .dpsp-setting-field-inner {
587
- position: relative;
588
- top: -18px;
589
- margin-left: 243px;
590
- }
591
-
592
- /* Text */
593
- .dpsp-setting-field-wrapper input[type=text] {
594
- margin: 0;
595
- box-shadow: none;
596
- padding: 10px 12px;
597
- border-radius: 2px;
598
- border: 1px solid #c8d7e1;
599
- width: 100%;
600
- }
601
-
602
- .dpsp-setting-field-wrapper input[type=text]:disabled {
603
- background: #edf2f5;
604
- }
605
-
606
- .dpsp-setting-field-wrapper input[type=text]:focus {
607
- border-color: #0087be;
608
- box-shadow: 0 0 1px 0px #78dcfa;
609
- }
610
-
611
- /* Button */
612
- .dpsp-setting-field-wrapper button {
613
- vertical-align: middle !important;
614
- }
615
-
616
- .dpsp-setting-field-button .spinner {
617
- float: none;
618
- position: absolute;
619
- left: auto;
620
- right: auto;
621
- }
622
-
623
- .dpsp-setting-field-button .action-text {
624
- margin-left: 2rem;
625
- color: #333;
626
- display: none;
627
- }
628
-
629
- .dpsp-setting-field-button.dpsp-loading .spinner {
630
- visibility: visible;
631
- }
632
- .dpsp-setting-field-button.dpsp-loading .action-text {
633
- visibility: visible;
634
- }
635
-
636
- /* Select2 */
637
- .dpsp-setting-field-wrapper select {
638
- min-width: 200px;
639
- }
640
-
641
- .dpsp-setting-field-select *:focus {
642
- outline: 0 !important;
643
- }
644
-
645
- .dpsp-setting-field-select .select2-container {
646
- width: 100% !important;
647
- }
648
-
649
- .dpsp-setting-field-select .select2-selection {
650
- border-color: #fff;
651
- height: 39px;
652
- border-radius: 2px;
653
- border: 1px solid #c8d7e1;
654
- }
655
-
656
- .dpsp-setting-field-select .select2-selection .select2-selection__rendered {
657
- line-height: 37px !important;
658
- padding-left: 10px;
659
- }
660
-
661
- .dpsp-setting-field-select .select2-selection .select2-selection__arrow {
662
- height: 37px;
663
- padding-right: 10px;
664
- }
665
-
666
- .dpsp-select2 .select2-dropdown {
667
- border-color: #c8d7e1;
668
- border-radius: 0;
669
- }
670
-
671
- .dpsp-select2 .select2-dropdown li {
672
- margin: 0;
673
- line-height: 36px;
674
- padding: 0 10px;
675
- }
676
-
677
- .dpsp-select2 .select2-results__option[aria-selected="true"] {
678
- background: #e8eaeb;
679
- }
680
-
681
- .dpsp-select2 .select2-results__option--highlighted {
682
- background: #00aadc !important;
683
- }
684
-
685
- .dpsp-select2 .select2-dropdown--below {
686
- top: 32px;
687
- box-shadow: 0 4px 3px 2px rgba(0,0,0,0.08);
688
- }
689
-
690
- .dpsp-select2 .select2-dropdown--above {
691
- box-shadow: 0 -4px 3px 2px rgba(0,0,0,0.08);
692
- }
693
-
694
- .dpsp-setting-field-select .select2-container--open {
695
- box-shadow: 0 0 3px 2px rgba(0,0,0,0.08);
696
- }
697
-
698
- /* Colorpicker */
699
- .dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button { height: 32px; border-color: #c8d7e1; border-style: solid; border-width: 1px 1px 2px; cursor: pointer; box-shadow: none; margin-bottom: 0; }
700
- .dpsp-setting-field-wrapper .wp-picker-container .wp-color-result.button span { line-height: 19px; background: #fff; font-size: 13px; font-weight: 500; text-overflow: ellipsis; text-decoration: none; vertical-align: top; box-sizing: border-box; padding: 5px 11px; }
701
-
702
- .dpsp-setting-field-wrapper .wp-picker-container .wp-picker-input-wrap .button { height: 32px; background: #fff; border-color: #c8d7e1; border-style: solid; border-width: 1px 1px 2px; cursor: pointer; box-shadow: none; }
703
-
704
- .dpsp-setting-field-wrapper .wp-picker-container input[type=text].wp-color-picker { width: 65px; font-size: 12px; padding: 7px; font-family: monospace; line-height: 16px; margin: 0; vertical-align: top; }
705
-
706
- /* Textarea */
707
- .dpsp-setting-field-wrapper textarea {
708
- min-height: 100px;
709
- min-width: 450px;
710
- padding: 5px 8px;
711
- border-radius: 3px;
712
- }
713
-
714
- .dpsp-page-wrapper .dpsp-setting-field-wrapper textarea {
715
- border: 0;
716
- box-shadow: none;
717
- }
718
-
719
- .postbox .dpsp-setting-field-wrapper textarea {
720
- min-height: 80px;
721
- }
722
-
723
- /* Checkbox and Radio */
724
- .dpsp-setting-field-wrapper input[type=checkbox],
725
- .dpsp-setting-field-wrapper input[type=radio] {
726
- display: none;
727
- }
728
-
729
- .dpsp-setting-field-checkbox.dpsp-single .dpsp-setting-field-label {
730
- padding-right: 20px;
731
- width: 260px;
732
- box-sizing: border-box;
733
- }
734
-
735
- .dpsp-setting-field-checkbox.dpsp-multiple .dpsp-settings-field-checkbox,
736
- .dpsp-setting-field-radio.dpsp-multiple .dpsp-settings-field-radio {
737
- display: inline-block;
738
- margin-right: 12px;
739
- position: relative;
740
- padding-left: 23px;
741
- }
742
-
743
- .dpsp-setting-field-checkbox input[type=checkbox] + label span,
744
- .dpsp-setting-field-radio input[type=radio] + label span {
745
- content: '';
746
- display: block;
747
- position: absolute;
748
- width: 16px;
749
- height: 16px;
750
- background: #fff;
751
- border: 1px solid #e7e7e7;
752
- border-radius: 3px;
753
- transition: background 0.1s ease-in-out, border-color 0.1s ease-in-out;
754
- box-sizing: content-box !important;
755
- }
756
-
757
- .dpsp-setting-field-radio input[type=radio] + label span {
758
- border-radius: 50%;
759
- }
760
-
761
- .dpsp-setting-field-checkbox.dpsp-single input[type=checkbox] + label span {
762
- top: 0;
763
- right: 0;
764
- }
765
-
766
- .dpsp-setting-field-checkbox.dpsp-multiple input[type=checkbox] + label span,
767
- .dpsp-setting-field-radio.dpsp-multiple input[type=radio] + label span {
768
- top: 0;
769
- left: 0;
770
- }
771
-
772
- .dpsp-setting-field-checkbox input[type=checkbox] + label span:before {
773
- display: inline-block;
774
- content: '\f147';
775
- font: 400 20px/1 'dashicons';
776
- width: 16px;
777
- height: 16px;
778
- line-height: 16px;
779
- vertical-align: middle;
780
- margin: -5px 0 0 -3px;
781
- color: transparent;
782
- transition: color 0.1s ease-in-out;
783
- }
784
-
785
- .dpsp-setting-field-radio input[type=radio] + label span:before {
786
- content: '';
787
- position: relative;
788
- top: 5px;
789
- left: 5px;
790
- display: block;
791
- width: 6px;
792
- height: 6px;
793
- border-radius: 50%;
794
- }
795
-
796
-
797
- .dpsp-setting-field-checkbox input[type=checkbox]:checked + label span {
798
- background: #41a4a9;
799
- border-color: transparent;
800
- }
801
-
802
- .dpsp-setting-field-checkbox input[type=checkbox]:checked + label span:before {
803
- color: #fff;
804
- }
805
-
806
-
807
- .dpsp-setting-field-radio input[type=radio]:checked + label span {
808
- background: #41a4a9;
809
- border-color: transparent;
810
- }
811
-
812
- .dpsp-setting-field-radio input[type=radio]:checked + label span:before {
813
- background: #fff;
814
- }
815
-
816
- /* Image */
817
- .dpsp-setting-field-wrapper img { max-width: 200px; height: auto; border-radius: 2px; }
818
-
819
- /* Tooltip */
820
- .dpsp-setting-field-tooltip-wrapper {
821
- position: absolute;
822
- top: 2px;
823
- left: 217px;
824
- display: inline-block;
825
- width: 18px;
826
- height: 18px;
827
- margin-left: 5px;
828
- }
829
-
830
- .dpsp-setting-field-tooltip-icon:before {
831
- content: '?';
832
- display: inline-block;
833
- width: 14px;
834
- height: 14px;
835
- line-height: 14px;
836
- font-size: 10px;
837
- font-weight: bold;
838
- vertical-align: middle;
839
- text-align: center;
840
- color: #fff;
841
- background: #34495e;
842
- border-radius: 9px;
843
- cursor: pointer;
844
- transition: all 0.15s ease-in;
845
- }
846
-
847
- .dpsp-setting-field-tooltip-icon:hover:before {
848
- background: #34495e;
849
- }
850
-
851
- .dpsp-setting-field-tooltip {
852
- z-index: 10;
853
- opacity: 0;
854
- visibility: hidden;
855
- position: absolute;
856
- top: 28px;
857
- left: -25px;
858
- width: 220px;
859
- background: rgba( 52, 73, 94, 0.975 );
860
- color: #fff;
861
- border-radius: 4px;
862
- padding: 8px 12px;
863
- }
864
-
865
- .dpsp-setting-field-tooltip a {
866
- color: rgba( 52,152,219,1 );
867
- }
868
-
869
- .dpsp-setting-field-tooltip:before {
870
- content: '';
871
- display: block;
872
- position: absolute;
873
- top: -6px;
874
- left: 27px;
875
- width: 0;
876
- height: 0;
877
- border-style: solid;
878
- border-width: 0 4.5px 6px 4.5px;
879
- border-color: transparent transparent rgba( 52, 73, 94, 0.975 ) transparent;
880
- }
881
-
882
-
883
- .dpsp-settings-button-style {
884
- cursor: pointer;
885
- width: 12%;
886
- margin-right: 1.5%;
887
- margin-bottom: 10px;
888
- padding: 12px;
889
- border-radius: 5px;
890
- border: 1px solid transparent;
891
- float: left;
892
- -moz-box-sizing: border-box;
893
- box-sizing: border-box;
894
- }
895
-
896
- /* Switches */
897
- .dpsp-setting-field-wrapper .dpsp-switch { float: none; margin-left: 0; }
898
-
899
- /* Share text */
900
- .dpsp-setting-field-share-text input { width: 350px; }
901
-
902
- /* Pop-up Page */
903
- .dpsp-page-pop-up .dpsp-setting-field-title input { min-width: 450px; }
904
-
905
- /* Sticky bar */
906
- .dpsp-setting-field-desktop-position,
907
- .dpsp-setting-field-mobile-position { display: none; }
908
-
909
- /* Settings - Tweet Counts */
910
- .dpsp-setting-field-tweet-counts-provider { display: none; }
911
-
912
- /* Settings - Pinterest Button Text Label */
913
- .dpsp-setting-field-button-text-label { display: none; }
914
-
915
- /* Settings - Facebook App Authorized */
916
- .dpsp-setting-field-facebook-app-authorized { background: rgba(0, 184, 148, 0.3); padding: 9px; border-radius: 3px; color: #27ae60; }
917
- .dpsp-setting-field-facebook-app-authorized-expired { background: rgba( 192, 57, 43, 0.3); padding: 9px; border-radius: 3px; color: #c0392b; margin-bottom: 10px; }
918
-
919
- .dpsp-setting-field-facebook-authorize-app,
920
- .dpsp-setting-field-facebook-app-id,
921
- .dpsp-setting-field-facebook-app-secret { display: none; }
922
-
923
- /**********************************************/
924
- /* Settings page styles
925
- /**********************************************/
926
- .dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li {
927
- margin-bottom: 6px;
928
- }
929
-
930
- .dpsp-page-wrapper .dpsp-settings-button-style .dpsp-networks-btns-wrapper li:last-of-type {
931
- margin-bottom: 0;
932
- }
933
-
934
- /* Page sidebar specific styles */
935
- .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-networks-btns-wrapper .dpsp-network-btn {
936
- margin: 0 auto;
937
- }
938
-
939
- .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn,
940
- .dpsp-page-sidebar .dpsp-settings-button-style .dpsp-shape-rounded .dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
941
- border-radius: 5px;
942
- }
943
-
944
-
945
- /* Page content and pop-up specific styles */
946
- .dpsp-page-content .dpsp-settings-button-style,
947
- .dpsp-page-pop-up .dpsp-settings-button-style {
948
- width: 32.3333%;
949
- margin-right: 1%
950
- }
951
-
952
- .dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n),
953
- .dpsp-page-pop-up .dpsp-section-button-style label:nth-of-type(4n) {
954
- margin-right: 0;
955
- }
956
-
957
-
958
- .dpsp-settings-button-style:hover {
959
- border-color: #e1e1e1;
960
- }
961
-
962
- .dpsp-settings-button-style-input {
963
- display: none !important;
964
- }
965
-
966
- .dpsp-settings-button-style-input:checked + label {
967
- border-color: rgba(52, 152, 219, 0.3);
968
- background: rgba(52, 152, 219, 0.075);
969
- }
970
-
971
- /* Link Shortening Services */
972
- .dpsp-subsection-link-shortening { display: none; }
973
-
974
- /* Click to Tweet */
975
- #section-click-to-tweet-preview { display: none; }
976
- #section-click-to-tweet-preview > a { margin-top: 0; margin-bottom: 0; }
977
-
978
- /* Serial Key */
979
- #dpsp-serial-key-status { display: none; position: relative; top: -1px; padding: 4px 0; line-height: 20px; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
980
- #dpsp-serial-key-status span { vertical-align: middle; }
981
-
982
- #dpsp-serial-key-status.dpsp-valid { background: rgba(0, 184, 148, 0.3); color: #27ae60; }
983
- #dpsp-serial-key-status.dpsp-invalid { background: rgba(192, 57, 43, 0.3); color: #c0392b; }
984
-
985
- #dpsp-serial-key-status .dashicons { margin-left: 5px; margin-right: 5px; }
986
- #dpsp-serial-key-status .dashicons-yes { color: #27ae60; }
987
- #dpsp-serial-key-status .dashicons-warning { color: #c0392b; }
988
-
989
- #dpsp-bitly-key-status { position: relative; top: -1px; padding: 4px 0; line-height: 20px; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; text-align: right; margin-bottom: 12px; margin-top: -6px }
990
- #dpsp-bitly-key-status span { vertical-align: middle; }
991
-
992
- #dpsp-bitly-key-status.dpsp-valid { background: rgba(0, 184, 148, 0.3); color: #27ae60; }
993
- #dpsp-serial-key-status.dpsp-invalid { background: rgba(192, 57, 43, 0.3); color: #c0392b; }
994
-
995
- #dpsp-bitly-key-status .dashicons { margin-left: 5px; margin-right: 5px; }
996
- #dpsp-bitly-key-status .dashicons-yes { color: #27ae60; }
997
- #dpsp-bitly-key-status .dashicons-warning { color: #c0392b; }
998
-
999
- /* Social Shares Recovery System */
1000
- #dpsp-card-settings-social-shares-recovery .dpsp-card-inner { border-bottom: 1px solid rgba(200, 215, 225, 0.5); }
1001
- #dpsp-card-settings-social-shares-recovery .dpsp-card-inner.dpsp-last { border-bottom: 0; }
1002
-
1003
-
1004
- /**********************************************/
1005
- /* Toolkit Page
1006
- /**********************************************/
1007
- #dpsp-toolkit-welcome { padding: 5px 20px; background: #fff; margin-left: -20px; }
1008
-
1009
- .dpsp-page-toolkit:not(.dpsp-page-free) { max-width: 1000px; }
1010
- .dpsp-page-toolkit .dpsp-row { margin-bottom: 2.5em; }
1011
- .dpsp-page-toolkit .dpsp-card { margin-top: 0; margin-bottom: 0; }
1012
-
1013
- .dpsp-tool-wrapper { background: #fff; border-radius: 3px; overflow: hidden; }
1014
- .dpsp-tool-wrapper img { max-width: 100%; height: auto; }
1015
- .dpsp-tool-wrapper a { color: #777; text-decoration: none; }
1016
- .dpsp-tool-wrapper a:hover { color: rgba(52,152,219,0.75); }
1017
- .dpsp-tool-wrapper h4 { font-size: 15px; margin-bottom: 0; margin-top: 0; padding: 10px; text-align: center; }
1018
-
1019
- .dpsp-tool-wrapper .dpsp-tool-actions { position: relative; padding: 15px; }
1020
- .dpsp-tool-wrapper .dpsp-tool-actions:after { content: ''; display: block; clear: both; }
1021
-
1022
- .dpsp-tool-wrapper .dpsp-tool-actions-overlay { z-index: 1; position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: rgba(255,255,255,0.6); opacity: 0; }
1023
- .dpsp-tool-wrapper .dpsp-tool-actions-overlay .spinner { float: none; visibility: visible; opacity: 1; margin: 15px 0 0 15px; }
1024
-
1025
- .dpsp-tool-wrapper .dpsp-tool-actions.dpsp-active span { opacity: 0; }
1026
- .dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive span { opacity: 0.4; }
1027
-
1028
- .dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings { line-height: 1; vertical-align: middle; }
1029
- .dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings:focus { box-shadow: none; }
1030
- .dpsp-tool-wrapper .dpsp-tool-actions.dpsp-inactive .dpsp-tool-settings { display: none; }
1031
-
1032
- .dpsp-tool-wrapper .dpsp-tool-actions .dpsp-tool-settings i { margin-right: 3px; }
1033
-
1034
- .dpsp-tool-wrapper .dpsp-switch span { text-transform: uppercase; font-size: 0.85em; margin-right: 5px; }
1035
- .dpsp-tool-wrapper .dpsp-switch label { display: inline-block !important; }
1036
-
1037
-
1038
-
1039
- /**********************************************/
1040
- /* Checkbox switch
1041
- /**********************************************/
1042
-
1043
- /* Default */
1044
- .dpsp-switch {
1045
- position: relative;
1046
- display: inline-block;
1047
- margin-left: 20px;
1048
- float: right;
1049
- }
1050
- .dpsp-page-wrapper .cmn-toggle {
1051
- position: absolute;
1052
- margin-left: -9999px;
1053
- visibility: hidden;
1054
- }
1055
- .dpsp-page-wrapper .cmn-toggle + label {
1056
- display: block;
1057
- position: relative;
1058
- cursor: pointer;
1059
- outline: none;
1060
- user-select: none;
1061
- }
1062
- .dpsp-page-wrapper input.cmn-toggle-round + label {
1063
- padding: 3px;
1064
- width: 36px;
1065
- height: 18px;
1066
- background-color: #c9d6e0;
1067
- border-radius: 20px;
1068
- transition: background 0.4s;
1069
- box-sizing: content-box;
1070
- }
1071
- .dpsp-page-wrapper input.cmn-toggle-round + label:before,
1072
- .dpsp-page-wrapper input.cmn-toggle-round + label:after {
1073
- display: block;
1074
- position: absolute;
1075
- top: 2px;
1076
- left: 2px;
1077
- bottom: 2px;
1078
- content: "";
1079
- }
1080
- .dpsp-page-wrapper input.cmn-toggle-round + label:before {
1081
- right: 2px;
1082
- border-radius: 18px;
1083
- transition: background 0.4s;
1084
- }
1085
- .dpsp-page-wrapper input.cmn-toggle-round + label:after {
1086
- width: 20px;
1087
- background-color: #fff;
1088
- border-radius: 100%;
1089
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
1090
- transition: margin 0.4s;
1091
- }
1092
- .dpsp-page-wrapper input.cmn-toggle-round:checked + label {
1093
- background-color: #41a4a9;
1094
- }
1095
-
1096
- .dpsp-page-wrapper input.cmn-toggle-round:checked + label:after {
1097
- margin-left: 18px;
1098
- }
1099
-
1100
- /* Small */
1101
- .dpsp-switch.small input.cmn-toggle-round + label {
1102
- width: 30px;
1103
- height: 15px;
1104
- }
1105
- .dpsp-switch.small input.cmn-toggle-round + label:after {
1106
- width: 17px;
1107
- }
1108
- .dpsp-switch.small input.cmn-toggle-round:checked + label:after {
1109
- margin-left: 15px;
1110
- }
1111
-
1112
-
1113
- /**********************************************/
1114
- /* Meta-box: Statistics
1115
- /**********************************************/
1116
- .dpsp-statistic-bars-wrapper { padding-top: 10px; }
1117
- .dpsp-statistic-bars-wrapper:after { content: ''; display: block; width: 0; clear: both; }
1118
-
1119
- .dpsp-statistic-bar-header { opacity: 0.6; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #f1f1f1; }
1120
- .dpsp-statistic-bar-wrapper.dpsp-statistic-bar-header:hover { background: none; }
1121
-
1122
- .dpsp-statistic-bar-wrapper { position: relative; height: 30px; padding-left: 110px; padding-right: 110px; transition: opacity 0.2s ease-in-out; }
1123
- .dpsp-statistic-bar-wrapper:hover { background: #f7f7f7; }
1124
- .dpsp-statistic-bar-wrapper label { position: absolute; left: 10px; top: 0; height: 30px; width: 109px; line-height: 30px; font-weight: bold; font-size: 12px; }
1125
- .dpsp-statistic-bar-wrapper .dpsp-network-share-count { position: absolute; top: 0; right: 0; height: 30px; width: 110px; line-height: 30px; font-weight: bold; font-size: 12px; }
1126
- .dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-count { display: inline-block; width: 55px; text-align: center; }
1127
- .dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-percentage { display: inline-block; width: 40px; text-align: center; }
1128
- .dpsp-statistic-bar-wrapper .dpsp-network-share-count .dpsp-divider { width: 1px; margin: 0 2px; opacity: 0.5; }
1129
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar { position: relative; top: 10px; height: 10px; width: 100%; background: #e7e7e7; border-radius: 5px; }
1130
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-inner { height: 10px; width: 0; border-radius: 5px; }
1131
-
1132
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-facebook .dpsp-statistic-bar-inner { background: #3a579a; }
1133
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-twitter .dpsp-statistic-bar-inner { background: #00abf0; }
1134
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-google-plus .dpsp-statistic-bar-inner { background: #df4a32; }
1135
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-pinterest .dpsp-statistic-bar-inner { background: #c92228; }
1136
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-linkedin .dpsp-statistic-bar-inner { background: #0077b5; }
1137
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-reddit .dpsp-statistic-bar-inner { background: #ff5700; }
1138
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-vkontakte .dpsp-statistic-bar-inner { background: #4d75a3; }
1139
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-buffer .dpsp-statistic-bar-inner { background: #29323b; }
1140
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-tumblr .dpsp-statistic-bar-inner { background: #35465c; }
1141
- .dpsp-statistic-bar-wrapper .dpsp-statistic-bar-yummly .dpsp-statistic-bar-inner { background: #e55a27; }
1142
-
1143
- .dpsp-statistic-bar-footer { opacity: 0.6; margin: 10px 0; border-top: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1; }
1144
- .dpsp-statistic-bar-wrapper.dpsp-statistic-bar-footer:hover { background: none; }
1145
-
1146
- #dpsp-refresh-share-counts-wrapper:after { content: ''; display: block; width: 0; clear: both; }
1147
- #dpsp-refresh-share-counts { float: right; }
1148
-
1149
-
1150
- /**********************************************/
1151
- /* Meta-box: Share Options
1152
- /**********************************************/
1153
- #dpsp_share_options span[class*=dpsp-icon-] { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; margin-right: 10px; color: #fff; border-radius: 2px; }
1154
- #dpsp_share_options .dpsp-icon-share { background: #34495e; }
1155
- #dpsp_share_options .dpsp-icon-twitter { background: #00abf0; }
1156
- #dpsp_share_options .dpsp-icon-pinterest { background: #c92228; }
1157
-
1158
- #dpsp_share_options_content .dpsp-section { position: relative; padding-left: 220px; margin: 15px 0 25px 0; }
1159
- #dpsp_share_options_content label { display: block; margin-bottom: 10px; font-weight: bold; }
1160
- #dpsp_share_options_content textarea { width: 100%; min-height: 70px; }
1161
-
1162
- #dpsp_share_options_content .dpsp-setting-field-image { position: absolute; top: 0; left: 0; max-width: 200px; width: 100%; }
1163
- #dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-primary,
1164
- #dpsp_share_options_content .dpsp-setting-field-image .dpsp-button-secondary { width: 100%; text-align: center; }
1165
-
1166
- #dpsp_share_options .dpsp-setting-field-tooltip-wrapper { position: relative; top: -2px; left: auto; }
1167
-
1168
- .dpsp-textarea-characters-remaining-wrapper { float: right; background: #f1f1f1; font-size: 12px; padding: 0 10px; height: 24px; line-height: 24px; border-radius: 2px; }
1169
- .dpsp-textarea-characters-remaining-wrapper.dpsp-excedeed { background: rgba(192, 57, 43, 0.75); color: #fff; }
1170
-
1171
- /* Multiple Pinterest hidden images */
1172
- #dpsp-meta-box-section-multiple-pinterest-images { padding-left: 0 !important; }
1173
-
1174
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper { float: left; position: relative; margin-right: 5px; margin-bottom: 5px; max-width: 125px; line-height: 0; }
1175
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper img { max-width: 100%; max-height: auto; height: auto; }
1176
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper .dpsp-button-secondary { position: absolute; top: 5px; right: 5px; padding: 1px 2px; opacity: 0; visibility: hidden; transition: all 0.1s ease-in; }
1177
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-wrapper:hover .dpsp-button-secondary { opacity: 1; visibility: visible; }
1178
-
1179
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new { float: left; width: 125px; height: 125px; border-radius: 2px; text-align: center; box-sizing: border-box; }
1180
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons { display: inline-block; padding: 5px; border-radius: 50px; background: #ebf0f4; margin-top: 28px; margin-bottom: 5px; box-sizing: content-box; }
1181
- #dpsp-meta-box-section-multiple-pinterest-images .dpsp-hidden-image-add-new .dashicons:before { position: relative; top: 1px; }
1182
-
1183
- #dpsp-meta-box-section-multiple-pinterest-images:after { content: ''; display: block; clear: both; }
1184
-
1185
- /**********************************************/
1186
- /* TinyMCE
1187
- /**********************************************/
1188
- .mce-i-dpsp-icon-twitter { position: relative; top: -2px; }
1189
- .mce-i-dpsp-icon-twitter:before { content: '\e801'; font-family: "Social Pug", sans-serif; font-style: normal; font-weight: normal; font-size: 20px; color: #00abf0; }
1190
-
1191
- /* Click to Tweet Dialog */
1192
- #dpsp_click_to_tweet_dialog #dpsp_tweet_length { position: absolute; top: 105px; right: 0; padding-right: 25px; color: #a1a1a1; }
1193
- #dpsp_click_to_tweet_dialog #dpsp_tweet_length em,
1194
- #dpsp_click_to_tweet_dialog #dpsp_tweet_length span { font-weight: bold; font-size: 12px; }
1195
- #dpsp_click_to_tweet_dialog #dpsp_tweet_length span { position: absolute; top: 0; right: 0; }
1196
- #dpsp_click_to_tweet_dialog #dpsp_tweet_hide_via-al,
1197
- #dpsp_click_to_tweet_dialog #dpsp_tweet_hide_url-al { position: relative; top: -3px; }
1198
-
1199
-
1200
- /**********************************************/
1201
- /* WP List Table
1202
- /**********************************************/
1203
- table.wp-list-table .column-dpsp_shares { width: 5.5em; }
1204
- table.wp-list-table .dpsp-list-table-shares span { display: none; }
1205
- #screen-options-wrap .dpsp-list-table-shares i { display: none; }
1206
-
1207
- .dpsp-list-table-post-share-count { display: inline-block; margin-top: 5px; padding: 0 8px; background: #b6b6b6; color: #fff; border-radius: 5px; line-height: 24px; vertical-align: middle; text-align: center; }
1208
-
1209
- /**********************************************/
1210
- /* Attachment Pages
1211
- /**********************************************/
1212
- body.post-type-attachment.post-php table.compat-attachment-fields { width: 100%; border-spacing: 0; }
1213
- body.post-type-attachment.post-php table .compat-field-pin_title th,
1214
- body.post-type-attachment.post-php table .compat-field-pin_title td,
1215
- body.post-type-attachment.post-php table .compat-field-pin_description th,
1216
- body.post-type-attachment.post-php table .compat-field-pin_description td,
1217
- body.post-type-attachment.post-php table .compat-field-pin_repin_id th,
1218
- body.post-type-attachment.post-php table .compat-field-pin_repin_id td,
1219
- body.post-type-attachment.post-php table .compat-field-pin_nopin th,
1220
- body.post-type-attachment.post-php table .compat-field-pin_nopin td { display: block; width: 100%; }
1221
-
1222
- body.post-type-attachment.post-php table .compat-field-pin_description textarea { width: 100%; min-height: 75px; }
1223
- body.post-type-attachment.post-php table .compat-field-pin_title input,
1224
- body.post-type-attachment.post-php table .compat-field-pin_repin_id input { width: 100%; }
1225
-
1226
-
1227
- /**********************************************/
1228
- /* Mobile Display
1229
- /**********************************************/
1230
- @media screen and ( max-width : 785px ) {
1231
-
1232
- .dpsp-page-title-wrapper h2 {
1233
- position: relative;
1234
- padding-right: 50px;
1235
- }
1236
-
1237
- .dpsp-page-title-wrapper h2 .dpsp-switch {
1238
- position: absolute;
1239
- top: 15px;
1240
- right: 0;
1241
- }
1242
-
1243
- .dpsp-social-platforms-sort-list {
1244
- overflow: auto;
1245
- }
1246
-
1247
- }
1248
-
1249
- @media screen and ( max-width : 720px ) {
1250
-
1251
- .dpsp-col-1-4 {
1252
- width: 50%;
1253
- }
1254
-
1255
- #dpsp-networks-selector li {
1256
- width: 100%;
1257
- padding: 0;
1258
- }
1259
-
1260
- #dpsp-networks-selector-footer {
1261
- text-align: center;
1262
- }
1263
-
1264
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper {
1265
- width: auto;
1266
- }
1267
-
1268
- .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input,
1269
- .dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper input:focus,
1270
- .dpsp-page-sidebar .dpsp-social-platforms-sort-list li .dpsp-list-input-wrapper:hover input {
1271
- width: 150px;
1272
- padding-right: 10px;
1273
- }
1274
-
1275
- .dpsp-settings-button-style {
1276
- width: auto;
1277
- }
1278
-
1279
- .dpsp-page-content .dpsp-settings-button-style {
1280
- width: 49.5%;
1281
- }
1282
-
1283
- .dpsp-page-content .dpsp-section-button-style label:nth-of-type(4n) {
1284
- margin-right: 1%;
1285
- }
1286
-
1287
- .dpsp-page-content .dpsp-section-button-style label:nth-of-type(2n) {
1288
- margin-right: 0;
1289
- }
1290
-
1291
- .dpsp-setting-field-label {
1292
- width: 100%;
1293
- margin-bottom: 10px;
1294
- }
1295
-
1296
- .dpsp-setting-field-wrapper {
1297
- margin-bottom: 30px;
1298
- }
1299
-
1300
- }
1301
-
1302
-
1303
- /******************************************************************************************/
1304
- /* Social Shares Recovery Meta-Box
1305
- /******************************************************************************************/
1306
- #dpsp-shares-recovery-post-previous-urls h4 { border-bottom: 1px solid #f1f1f1; padding: 10px 0; margin: 10px 0; }
1307
- #dpsp-shares-recovery-post-previous-urls h4 .dpsp-setting-field-tooltip-wrapper { position: relative; left: auto; }
1308
-
1309
- #dpsp-shares-recovery-post-previous-urls-empty { background: #f1f1f1; padding: 10px 15px; }
1310
- #dpsp-shares-recovery-post-previous-urls-empty > :first-child { margin-top: 0; }
1311
- #dpsp-shares-recovery-post-previous-urls-empty > :last-child { margin-bottom: 0; }
1312
-
1313
- .dpsp-post-previous-url { display: flex; margin-top: 5px; }
1314
- .dpsp-post-previous-url.dpsp-hidden { display: none; }
1315
- .dpsp-post-previous-url input { flex: 1; margin-right: 5px; }
1316
- .dpsp-post-previous-url a { padding: 3px 10px; }
1317
-
1318
- #dpsp-add-post-previous-url { margin-top: 10px; }
1319
-
1320
-
1
+ @import './dashboard-base.scss';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/src/css/themes/_style-variations.scss ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /*****************************************/
3
+ /* Button styles
4
+ /*****************************************/
5
+
6
+ /*
7
+ * Buttons Style 1
8
+ */
9
+ .dpsp-button-style-1 {
10
+ .dpsp-network-btn {
11
+ color: #fff !important;
12
+ &.dpsp-no-label,
13
+ &.dpsp-has-count:not(.dpsp-has-label) {
14
+ justify-content: center;
15
+ }
16
+ .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner > svg {
17
+ fill: #fff !important;
18
+ }
19
+ .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner > svg {
20
+ stroke: #fff !important;
21
+ }
22
+ &:hover,
23
+ &:focus,
24
+ &.dpsp-grow-saved {
25
+ .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner > svg {
26
+ fill: #fff !important;
27
+ }
28
+ }
29
+ }
30
+ }
31
+
32
+ /*
33
+ * Buttons Style 2
34
+ */
35
+ .dpsp-button-style-2 .dpsp-networks-btns-wrapper:not(.dpsp-networks-btns-sidebar) {
36
+ .dpsp-network-btn {
37
+ color: #fff !important;
38
+ .dpsp-network-icon {
39
+ border-color: var(--customNetworkHoverColor, var(--networkAccent));
40
+ background-color: var(--customNetworkHoverColor, var(--networkAccent));
41
+ }
42
+ &.dpsp-no-label,
43
+ &.dpsp-has-count:not(.dpsp-has-label) {
44
+ justify-content: center;
45
+ }
46
+ .dpsp-network-icon:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner > svg {
47
+ fill: #fff !important;
48
+ }
49
+ .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner > svg {
50
+ stroke: #fff !important;
51
+ }
52
+ &:hover,
53
+ &:focus,
54
+ &.dpsp-grow-saved {
55
+ .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner > svg {
56
+ fill: #fff !important;
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ /* For floating sidebar */
63
+ .dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn,
64
+ .dpsp-button-style-2 .dpsp-networks-btns-sidebar .dpsp-network-btn .dpsp-network-icon {
65
+ background: transparent !important;
66
+ }
67
+
68
+ /*
69
+ * Buttons Style 3
70
+ */
71
+ .dpsp-button-style-3 .dpsp-networks-btns-wrapper {
72
+ .dpsp-network-btn.dpsp-no-label,
73
+ .dpsp-network-btn.dpsp-has-count:not(.dpsp-has-label) {
74
+ justify-content: center;
75
+ }
76
+ &:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
77
+ .dpsp-network-icon .dpsp-network-icon-inner > svg {
78
+ fill: #fff !important;
79
+ }
80
+ .dpsp-network-icon.dpsp-network-icon-outlined .dpsp-network-icon-inner > svg {
81
+ stroke: #fff !important;
82
+ }
83
+ }
84
+ }
85
+ .dpsp-button-style-3 .dpsp-networks-btns-wrapper {
86
+ .dpsp-network-btn:not(.dpsp-no-label):not(:hover):not(:focus):not(.dpsp-has-count),
87
+ .dpsp-network-btn.dpsp-has-count.dpsp-has-label:not(:hover):not(:focus),
88
+ .dpsp-network-btn.dpsp-has-count:not(:hover):not(:focus) {
89
+ background: #fff;
90
+ }
91
+ .dpsp-network-btn.dpsp-no-label {
92
+ background: var(--customNetworkColor, var(--networkColor, #fff));
93
+ }
94
+ &:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
95
+ &:hover,
96
+ &:focus {
97
+ color: #fff;
98
+ }
99
+ &:hover,
100
+ &:focus,
101
+ &.dpsp-grow-saved {
102
+ .dpsp-network-icon .dpsp-network-icon-inner > svg {
103
+ fill: #fff !important;
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ /*
110
+ * Sidebar buttons
111
+ */
112
+ .dpsp-networks-btns-sidebar .dpsp-network-btn {
113
+ border-color: transparent;
114
+ background: transparent;
115
+ .dpsp-network-icon {
116
+ border-color: transparent;
117
+ background: transparent;
118
+ }
119
+ &:hover,
120
+ &:focus {
121
+ border-color: transparent;
122
+ .dpsp-network-icon {
123
+ border-color: transparent;
124
+ background: transparent;
125
+ }
126
+ }
127
+ }
128
+
129
+ .dpsp-button-style-4 {
130
+ &.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
131
+ border-radius: 4px;
132
+ }
133
+ .dpsp-networks-btns-wrapper .dpsp-network-list-item .dpsp-network-btn {
134
+ &.dpsp-has-label {
135
+ color: #fff;
136
+ }
137
+ &.dpsp-no-label,
138
+ &.dpsp-has-count:not(.dpsp-has-label) {
139
+ justify-content: center;
140
+ &:not(:hover):not(:focus) {
141
+ background-color: transparent;
142
+ }
143
+ .dpsp-network-icon {
144
+ border-color: transparent;
145
+ background-color: transparent;
146
+ }
147
+ }
148
+ .dpsp-network-icon {
149
+ background: #fff;
150
+ }
151
+ &:hover,
152
+ &:focus {
153
+ color: #fff;
154
+ .dpsp-network-icon {
155
+ background: transparent;
156
+ }
157
+ }
158
+ &:hover,
159
+ &:focus {
160
+ .dpsp-network-icon {
161
+ .dpsp-network-icon-inner > svg {
162
+ fill: #fff !important;
163
+ stroke: #fff;
164
+ }
165
+ }
166
+ }
167
+ &.dpsp-grow-saved:not(:hover):not(:focus) {
168
+ .dpsp-network-icon {
169
+ .dpsp-network-icon-inner > svg {
170
+ fill: var(--customNetworkColor, var(--networkColor)) !important;
171
+ & > svg {
172
+ fill: #fff;
173
+ stroke: #fff;
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+
181
+ /*
182
+ * Buttons Style 5
183
+ */
184
+ .dpsp-button-style-5 {
185
+ .dpsp-network-btn {
186
+ .dpsp-network-icon {
187
+ border-color: transparent !important;
188
+ }
189
+ }
190
+ .dpsp-networks-btns-wrapper .dpsp-network-btn {
191
+ background: transparent;
192
+ .dpsp-network-icon {
193
+ background: transparent;
194
+ }
195
+
196
+ &:hover,
197
+ &:focus {
198
+ border-color: transparent !important;
199
+ color: #fff !important;
200
+ .dpsp-network-icon {
201
+ background: transparent;
202
+ .dpsp-network-icon-inner > svg {
203
+ fill: #fff !important;
204
+ }
205
+ }
206
+ }
207
+ &:hover,
208
+ &:focus {
209
+ .dpsp-network-icon.dpsp-network-icon-outlined {
210
+ .dpsp-network-icon-inner > svg {
211
+ fill: #fff !important;
212
+ stroke: #fff !important;
213
+ }
214
+ }
215
+ }
216
+ &.dpsp-grow-saved:not(:hover):not(:focus) {
217
+ .dpsp-network-icon.dpsp-network-icon-outlined {
218
+ .dpsp-network-icon-inner > svg {
219
+ fill: var(--customNetworkColor, var(--networkColor)) !important;
220
+ & > svg {
221
+ fill: #fff;
222
+ stroke: #fff;
223
+ }
224
+ }
225
+ }
226
+ }
227
+ &.dpsp-no-label,
228
+ &.dpsp-has-count:not(.dpsp-has-label) {
229
+ justify-content: center;
230
+ }
231
+ }
232
+ }
233
+
234
+ /*
235
+ * Buttons Style 6
236
+ */
237
+ .dpsp-button-style-6 {
238
+ &.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
239
+ border-radius: 4px;
240
+ }
241
+ .dpsp-networks-btns-wrapper {
242
+ .dpsp-network-btn {
243
+ border-color: transparent !important;
244
+ background: transparent !important;
245
+ &.dpsp-no-label:not(.dpsp-has-count) {
246
+ max-width: 40px;
247
+ }
248
+ &:hover,
249
+ &:focus {
250
+ border-color: transparent !important;
251
+ }
252
+ &:hover,
253
+ &:focus,
254
+ &.dpsp-grow-saved {
255
+ .dpsp-network-icon .dpsp-network-icon-inner > svg {
256
+ fill: #fff !important;
257
+ }
258
+ }
259
+ }
260
+ .dpsp-network-btn {
261
+ .dpsp-network-icon {
262
+ &:not(.dpsp-network-icon-outlined) .dpsp-network-icon-inner > svg {
263
+ fill: #fff !important;
264
+ }
265
+ &.dpsp-network-icon-outlined .dpsp-network-icon-inner > svg {
266
+ stroke: #fff !important;
267
+ }
268
+ }
269
+ }
270
+ }
271
+ &.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn {
272
+ &.dpsp-no-label:not(.dpsp-has-count) {
273
+ max-width: 32px;
274
+ }
275
+ }
276
+ }
277
+
278
+ /*
279
+ * Buttons Style 7
280
+ */
281
+ .dpsp-button-style-7 {
282
+ &.dpsp-shape-rounded .dpsp-network-btn .dpsp-network-icon {
283
+ border-radius: 4px;
284
+ }
285
+ .dpsp-networks-btns-wrapper .dpsp-network-btn {
286
+ background: transparent;
287
+ &.dpsp-no-label {
288
+ border-color: transparent;
289
+ }
290
+ .dpsp-network-icon {
291
+ background: transparent;
292
+ }
293
+ &.dpsp-no-label:not(.dpsp-has-count) {
294
+ max-width: 32px;
295
+ }
296
+ &:hover,
297
+ &:focus {
298
+ background: transparent !important;
299
+ }
300
+ &:hover,
301
+ &:focus {
302
+ .dpsp-network-icon .dpsp-network-icon-inner > svg {
303
+ fill: #fff !important;
304
+ stroke: #fff;
305
+ }
306
+ }
307
+ &.dpsp-grow-saved:not(:hover):not(:focus) {
308
+ .dpsp-network-icon .dpsp-network-icon-inner > svg {
309
+ fill: var(--customNetworkColor, var(--networkColor)) !important;
310
+ & > svg {
311
+ fill: #fff;
312
+ stroke: #fff;
313
+ }
314
+ }
315
+ }
316
+ &.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn {
317
+ max-width: 32px;
318
+ &.dpsp-no-label:not(.dpsp-has-count) {
319
+ max-width: 32px;
320
+ }
321
+ }
322
+ }
323
+ }
324
+
325
+ /*
326
+ * Buttons Style 8
327
+ */
328
+ .dpsp-button-style-8 .dpsp-networks-btns-wrapper {
329
+ .dpsp-network-btn {
330
+ border-color: transparent;
331
+ background: transparent;
332
+ &.dpsp-no-label:not(.dpsp-has-count) {
333
+ max-width: 40px;
334
+ }
335
+ &:hover,
336
+ &:focus {
337
+ border-color: transparent;
338
+ background: transparent;
339
+ .dpsp-network-icon {
340
+ border-color: transparent;
341
+ background: transparent;
342
+ .dpsp-network-icon-inner > svg {
343
+ fill: var(--customNetworkHoverColor, var(--networkAccent)) !important;
344
+ stroke: var(--customNetworkHoverColor, var(--networkAccent)) !important;
345
+ & > svg {
346
+ fill: #fff;
347
+ stroke: #fff;
348
+ }
349
+ }
350
+ }
351
+ }
352
+ &.dpsp-grow-saved:not(:hover):not(:focus) {
353
+ .dpsp-network-icon {
354
+ .dpsp-network-icon-inner > svg {
355
+ fill: var(--customNetworkColor, var(--networkColor)) !important;
356
+ & > svg {
357
+ fill: #fff;
358
+ stroke: #fff;
359
+ }
360
+ }
361
+ }
362
+ }
363
+
364
+ .dpsp-network-icon {
365
+ border-color: transparent;
366
+ background: transparent;
367
+ }
368
+ }
369
+ &:not(.dpsp-networks-btns-sidebar) .dpsp-network-btn {
370
+ .dpsp-network-icon {
371
+ margin-right: -10px;
372
+ }
373
+ }
374
+ }
375
+ .dpsp-button-style-8.dpsp-size-small .dpsp-networks-btns-wrapper .dpsp-network-btn {
376
+ &.dpsp-no-label:not(.dpsp-has-count) {
377
+ max-width: 32px;
378
+ }
379
+ }
assets/src/css/themes/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
assets/src/dev-entry.js CHANGED
@@ -2,3 +2,4 @@ import './css/style-frontend-pro.css'
2
  import './css/style-dashboard-pro.css'
3
  import './js/front-end-pro'
4
  import './js/front-end-free'
 
2
  import './css/style-dashboard-pro.css'
3
  import './js/front-end-pro'
4
  import './js/front-end-free'
5
+ import './js/block-editor'
assets/src/entry.html CHANGED
@@ -8,7 +8,7 @@
8
  <script src="js/front-end-pro-jquery.js"></script>
9
  <script src="js/dashboard-pro.js"></script>
10
  <script src="js/jquery.ui.touch-punch.min.js"></script>
11
- <script src="js/gutenberg-image-pinterest-pro.js"></script>
12
  <script src="js/intercom.js"></script>
13
  <script src="js/dashboard-tinymce.js"></script>
14
 
8
  <script src="js/front-end-pro-jquery.js"></script>
9
  <script src="js/dashboard-pro.js"></script>
10
  <script src="js/jquery.ui.touch-punch.min.js"></script>
11
+ <script src="js/block-editor.js"></script>
12
  <script src="js/intercom.js"></script>
13
  <script src="js/dashboard-tinymce.js"></script>
14
 
inc/admin/admin-metaboxes.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Meta-boxes file
4
  */
5
-
6
  /**
7
  * Individual posts share statistics meta-box.
8
  */
@@ -65,11 +65,10 @@ function dpsp_share_options_output( $post ) {
65
 
66
  // General social media content
67
  echo '<div class="dpsp-section">';
68
-
69
  // Social media image
70
  echo '<div class="dpsp-setting-field-wrapper dpsp-setting-field-image">';
71
- echo '<label for="dpsp_share_options[custom_image]">' . '<span class="dpsp-icon-share"></span>' . __( 'Social Media Image', 'social-pug' );
72
- echo dpsp_output_backend_tooltip( __( 'Add an image that will populate the "og:image" Open Graph meta tag. For maximum exposure on Facebook, Google+ or LinkedIn we recommend an image size of 1200px X 630px.', 'social-pug' ) );
73
  echo '</label>';
74
  echo '<div>';
75
 
@@ -90,12 +89,12 @@ function dpsp_share_options_output( $post ) {
90
  }
91
 
92
  echo '<div>';
93
- echo '<img src="' . esc_attr( $thumb_src ) . '" data-pin-nopin="true" />';
94
- echo '<span class="dpsp-field-image-placeholder" data-src="' . DPSP_PLUGIN_DIR_URL . 'assets/dist/custom-social-media-image.' . DPSP_VERSION . '.png"></span>';
95
  echo '</div>';
96
 
97
- echo '<a class="dpsp-image-select dpsp-button-primary ' . ( ! empty( $share_options['custom_image']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . __( 'Select Image', 'social-pug' ) . '</a>';
98
- echo '<a class="dpsp-image-remove dpsp-button-secondary ' . ( empty( $share_options['custom_image']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . __( 'Remove Image', 'social-pug' ) . '</a>';
99
 
100
  echo '<input class="dpsp-image-id" type="hidden" name="dpsp_share_options[custom_image][id]" value="' . ( ! empty( $share_options['custom_image']['id'] ) ? esc_attr( $share_options['custom_image']['id'] ) : '' ) . '" />';
101
  echo '<input class="dpsp-image-src" type="hidden" name="dpsp_share_options[custom_image][src]" value="' . esc_attr( $image_src ) . '" />';
@@ -110,10 +109,10 @@ function dpsp_share_options_output( $post ) {
110
  $current_count = ( ! empty( $share_options['custom_title'] ) ? strlen( wp_kses_post( $share_options['custom_title'] ) ) : 0 );
111
  $remaining_count = $maximum_count - $current_count;
112
 
113
- echo '<label for="dpsp_share_options[custom_title]">' . '<span class="dpsp-icon-share"></span>' . __( 'Social Media Title', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . $maximum_count . '"><span class="dpsp-textarea-characters-remaining">' . $remaining_count . '</span> ' . __( 'Characters Remaining', 'social-pug' ) . '</span>';
114
- echo dpsp_output_backend_tooltip( __( 'Add a title that will populate the "og:title" Open Graph meta tag. This will be used when users share your content on Facebook, Google+ or LinkedIn. The title of the post will be used if this field is empty.', 'social-pug' ) );
115
  echo '</label>';
116
- echo '<textarea id="dpsp_share_options[custom_title]" name="dpsp_share_options[custom_title]" placeholder="' . __( 'Write a social media title...', 'social-pug' ) . '">' . ( isset( $share_options['custom_title'] ) ? wp_kses_post( $share_options['custom_title'] ) : '' ) . '</textarea>';
117
  echo '</div>';
118
 
119
  // Social media description
@@ -123,10 +122,10 @@ function dpsp_share_options_output( $post ) {
123
  $current_count = ( ! empty( $share_options['custom_description'] ) ? strlen( wp_kses_post( $share_options['custom_description'] ) ) : 0 );
124
  $remaining_count = $maximum_count - $current_count;
125
 
126
- echo '<label for="dpsp_share_options[custom_description]">' . '<span class="dpsp-icon-share"></span>' . __( 'Social Media Description', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . $maximum_count . '"><span class="dpsp-textarea-characters-remaining">' . $remaining_count . '</span> ' . __( 'Characters Remaining', 'social-pug' ) . '</span>';
127
- echo dpsp_output_backend_tooltip( __( 'Add a description that will populate the "og:description" Open Graph meta tag. This will be used when users share your content on Facebook, Google+ or LinkedIn.', 'social-pug' ) );
128
  echo '</label>';
129
- echo '<textarea id="dpsp_share_options[custom_description]" name="dpsp_share_options[custom_description]" placeholder="' . __( 'Write a social media description...', 'social-pug' ) . '">' . ( isset( $share_options['custom_description'] ) ? wp_kses_post( $share_options['custom_description'] ) : '' ) . '</textarea>';
130
  echo '</div>';
131
 
132
  echo '</div>';
@@ -136,8 +135,8 @@ function dpsp_share_options_output( $post ) {
136
 
137
  // Pinterest image
138
  echo '<div class="dpsp-setting-field-wrapper dpsp-setting-field-image">';
139
- echo '<label for="dpsp_share_options[custom_image_pinterest]">' . '<span class="dpsp-icon-pinterest"></span>' . __( 'Pinterest Image', 'social-pug' );
140
- echo dpsp_output_backend_tooltip( __( 'Add an image that will be used when this post is shared on Pinterest. For maximum exposure we recommend using an image that has a 2:3 aspect ratio, for example 800px X 1200px.', 'social-pug' ) );
141
  echo '</label>';
142
  echo '<div>';
143
 
@@ -159,11 +158,11 @@ function dpsp_share_options_output( $post ) {
159
 
160
  echo '<div>';
161
  echo '<img src="' . esc_attr( $thumb_src ) . '" data-pin-nopin="true" />';
162
- echo '<span class="dpsp-field-image-placeholder" data-src="' . DPSP_PLUGIN_DIR_URL . 'assets/dist/custom-social-media-image-pinterest.' . DPSP_VERSION . '.png"></span>';
163
  echo '</div>';
164
 
165
- echo '<a class="dpsp-image-select dpsp-button-primary ' . ( ! empty( $share_options['custom_image_pinterest']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . __( 'Select Image', 'social-pug' ) . '</a>';
166
- echo '<a class="dpsp-image-remove dpsp-button-secondary ' . ( empty( $share_options['custom_image_pinterest']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . __( 'Remove Image', 'social-pug' ) . '</a>';
167
 
168
  echo '<input class="dpsp-image-id" type="hidden" name="dpsp_share_options[custom_image_pinterest][id]" value="' . ( ! empty( $share_options['custom_image_pinterest']['id'] ) ? esc_attr( $share_options['custom_image_pinterest']['id'] ) : '' ) . '" />';
169
  echo '<input class="dpsp-image-src" type="hidden" name="dpsp_share_options[custom_image_pinterest][src]" value="' . esc_attr( $image_src ) . '" />';
@@ -178,9 +177,9 @@ function dpsp_share_options_output( $post ) {
178
  $current_count = ( ! empty( $share_options['custom_title_pinterest'] ) ? strlen( wp_kses_post( $share_options['custom_title_pinterest'] ) ) : 0 );
179
  $remaining_count = $maximum_count - $current_count;
180
 
181
- echo '<label for="dpsp_share_options[custom_title_pinterest]">' . '<span class="dpsp-icon-pinterest"></span>' . __( 'Pinterest Title', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . $maximum_count . '"><span class="dpsp-textarea-characters-remaining">' . $remaining_count . '</span> ' . __( 'Characters Remaining', 'social-pug' ) . '</span></label>';
182
- echo '<textarea id="dpsp_share_options[custom_title_pinterest]" name="dpsp_share_options[custom_title_pinterest]" placeholder="' . __( 'Write a custom Pinterest title...', 'social-pug' ) . '">' . ( isset( $share_options['custom_title_pinterest'] ) ? wp_kses_post( $share_options['custom_title_pinterest'] ) : '' ) . '</textarea>';
183
- echo '<p class="description">' . __( "Please note: Pinterest does not yet support pin titles. Pinterest is still in the process of releasing this feature. We've added the field in advance, to make sure you're ready for when the feature rolls out.", 'social-pug' ) . '</p>';
184
  echo '</div>';
185
 
186
  // Pinterest description
@@ -190,10 +189,10 @@ function dpsp_share_options_output( $post ) {
190
  $current_count = ( ! empty( $share_options['custom_description_pinterest'] ) ? strlen( wp_kses_post( $share_options['custom_description_pinterest'] ) ) : 0 );
191
  $remaining_count = $maximum_count - $current_count;
192
 
193
- echo '<label for="dpsp_share_options[custom_description_pinterest]">' . '<span class="dpsp-icon-pinterest"></span>' . __( 'Pinterest Description', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . $maximum_count . '"><span class="dpsp-textarea-characters-remaining">' . $remaining_count . '</span> ' . __( 'Characters Remaining', 'social-pug' ) . '</span>';
194
- echo dpsp_output_backend_tooltip( __( 'Add a customized message that will be used when this post is shared on Pinterest.', 'social-pug' ) );
195
  echo '</label>';
196
- echo '<textarea id="dpsp_share_options[custom_description_pinterest]" name="dpsp_share_options[custom_description_pinterest]" placeholder="' . __( 'Write a custom Pinterest description...', 'social-pug' ) . '">' . ( isset( $share_options['custom_description_pinterest'] ) ? wp_kses_post( $share_options['custom_description_pinterest'] ) : '' ) . '</textarea>';
197
  echo '</div>';
198
 
199
  // Twitter custom tweet
@@ -202,17 +201,17 @@ function dpsp_share_options_output( $post ) {
202
  $has_via = ! empty( $settings['twitter_username'] ) && ! empty( $settings['tweets_have_username'] );
203
  $tweet_via = $has_via ? ' via @' . $settings['twitter_username'] : '';
204
 
205
- $tweet_meta_content_length = 24 + strlen( $tweet_via ); /* 23 is the lenth of the URL as Twitter sees it + 1 for the empty space before it */
206
 
207
  $maximum_count = apply_filters( 'dpsp_tweet_maximum_count', 280 ) - $tweet_meta_content_length;
208
  $current_count = ( ! empty( $share_options['custom_tweet'] ) ? strlen( wp_kses_post( $share_options['custom_tweet'] ) ) : 0 );
209
  $remaining_count = $maximum_count - $current_count;
210
 
211
- echo '<label for="dpsp_share_options[custom_tweet]">' . '<span class="dpsp-icon-twitter"></span>' . __( 'Custom Tweet', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . $maximum_count . '"><span class="dpsp-textarea-characters-remaining">' . $remaining_count . '</span> ' . __( 'Characters Remaining', 'social-pug' ) . '</span>';
212
- echo dpsp_output_backend_tooltip( __( 'Add a customized tweet that will be used when this post is shared on Twitter.', 'social-pug' ) );
213
  echo '</label>';
214
- echo '<textarea id="dpsp_share_options[custom_tweet]" name="dpsp_share_options[custom_tweet]" placeholder="' . __( 'Write a custom tweet...', 'social-pug' ) . '">' . ( isset( $share_options['custom_tweet'] ) ? wp_kses_post( $share_options['custom_tweet'] ) : '' ) . '</textarea>';
215
- echo '<p class="description">' . __( 'Maximum characters is based off of the Twitter maximum, the post permalink, and whether your Twitter username is included in the tweet.', 'social-pug' ) . '</p>';
216
  echo '</div>';
217
 
218
  echo '</div>';
@@ -227,7 +226,7 @@ function dpsp_share_options_output( $post ) {
227
 
228
  echo '<div class="dpsp-setting-field-wrapper">';
229
 
230
- echo '<label>' . '<span class="dpsp-icon-pinterest"></span>' . __( 'Pinterest Hidden Images', 'social-pug' ) . '</label>';
231
 
232
  $hidden_images = dpsp_maybe_unserialize( get_post_meta( $post->ID, 'dpsp_pinterest_hidden_images', true ) );
233
  $hidden_images = ( ! empty( $hidden_images ) && is_array( $hidden_images ) ? $hidden_images : [] );
@@ -247,7 +246,7 @@ function dpsp_share_options_output( $post ) {
247
  echo '<img src="' . esc_url( $image_src[0] ) . '" data-pin-nopin="true" />';
248
 
249
  // Remove image button
250
- echo '<a href="#" class="dpsp-button-secondary" title="' . __( 'Remove image', 'social-pug' ) . '"><span class="dashicons dashicons-no-alt"></span></a>';
251
 
252
  // Add hidden field with the image_id
253
  echo '<input type="hidden" name="dpsp_pinterest_hidden_images[]" value="' . absint( $image_id ) . '" />';
@@ -259,7 +258,7 @@ function dpsp_share_options_output( $post ) {
259
  // Add the add new images button
260
  echo '<div class="dpsp-hidden-image-add-new dpsp-button-secondary">';
261
  echo '<span class="dashicons dashicons-plus"></span>';
262
- echo '<div>' . __( 'Add images', 'social-pug' ) . '</div>';
263
  echo '</div>';
264
 
265
  echo '</div>';
@@ -271,7 +270,7 @@ function dpsp_share_options_output( $post ) {
271
  echo '</div>';
272
 
273
  // Overwrite options
274
- echo '<h4 class="dpsp-section-title">' . __( 'Display Options', 'social-pug' ) . '</h4>';
275
  echo '<div>';
276
  dpsp_settings_field( 'checkbox', 'dpsp_share_options[locations_overwrite][]', ( isset( $share_options['locations_overwrite'] ) ? $share_options['locations_overwrite'] : [] ), __( 'Hide buttons for the', 'social-pug' ), dpsp_get_network_locations( 'all', false ) );
277
  echo '</div>';
@@ -291,6 +290,8 @@ function dpsp_share_statistics_output( $post ) {
291
 
292
  if ( ! empty( $networks ) ) {
293
 
 
 
294
  echo '<div class="dpsp-statistic-bars-wrapper">';
295
 
296
  // Get share counts
@@ -301,48 +302,47 @@ function dpsp_share_statistics_output( $post ) {
301
 
302
  // Shares header
303
  echo '<div class="dpsp-statistic-bar-wrapper dpsp-statistic-bar-header">';
304
- echo '<label>' . __( 'Network', 'social-pug' ) . '</label>';
305
- echo '<div class="dpsp-network-share-count"><span class="dpsp-count">' . __( 'Shares', 'social-pug' ) . '</span><span class="dpsp-divider">|</span><span class="dpsp-percentage">%</span></div>';
306
  echo '</div>';
307
-
308
  // Actual shares per network
309
  foreach ( $networks as $network_slug ) {
310
-
311
  // Jump to the next one if the network by some chance does not support
312
  // share count
313
- if ( ! in_array( $network_slug, dpsp_get_networks_with_social_count() ) ) {
314
  continue;
315
  }
316
 
317
  // Get current network social share count
318
- $network_shares = ( isset( $networks_shares[ $network_slug ] ) ? $networks_shares[ $network_slug ] : 0 );
319
 
320
  // Get the percentage of the total shares for current network
321
- $share_percentage = ( $total_shares != 0 ? (float) ( $network_shares / $total_shares * 100 ) : 0 );
322
 
323
  echo '<div class="dpsp-statistic-bar-wrapper dpsp-statistic-bar-wrapper-network">';
324
- echo '<label>' . dpsp_get_network_name( $network_slug ) . '</label>';
325
 
326
- echo '<div class="dpsp-statistic-bar dpsp-statistic-bar-' . $network_slug . '">';
327
- echo '<div class="dpsp-statistic-bar-inner" style="width:' . round( $share_percentage, 1 ) . '%"></div>';
328
  echo '</div>';
329
 
330
- echo '<div class="dpsp-network-share-count"><span class="dpsp-count">' . $network_shares . '</span><span class="dpsp-divider">|</span><span class="dpsp-percentage">' . round( $share_percentage, 2 ) . '</span></div>';
331
  echo '</div>';
332
 
333
  }
334
 
335
  // Shares footer with total count
336
  echo '<div class="dpsp-statistic-bar-wrapper dpsp-statistic-bar-footer">';
337
- echo '<label>' . __( 'Total shares', 'social-pug' ) . '</label>';
338
- echo '<div class="dpsp-network-share-count"><span class="dpsp-count">' . $total_shares . '</span></div>';
339
  echo '</div>';
340
 
341
  // Refresh counts button
342
  echo '<div id="dpsp-refresh-share-counts-wrapper">';
343
- echo '<a id="dpsp-refresh-share-counts" class="dpsp-button-secondary" href="#">' . __( 'Refresh shares', 'social-pug' ) . '</a>';
344
  echo '<span class="spinner"></span>';
345
- echo wp_nonce_field( 'dpsp_refresh_share_counts', 'dpsp_refresh_share_counts', false, false );
346
  echo '</div>';
347
 
348
  echo '</div>';
@@ -354,17 +354,23 @@ function dpsp_share_statistics_output( $post ) {
354
  * AJAX when the Refresh Shares button is clicked, we need to only add it on pageload
355
  *
356
  */
357
- if ( ! wp_doing_ajax() ) {
358
 
359
  echo '<div id="dpsp-shares-recovery-post-previous-urls">';
360
 
361
  $urls = dpsp_maybe_unserialize( get_post_meta( $post->ID, 'dpsp_post_single_previous_urls', true ) );
362
 
363
- echo '<h4>' . __( 'Social Shares Recovery', 'social-pug' ) . dpsp_output_backend_tooltip( __( 'If you have modified the permalink for this particular post, add the previous URL variations for the post, so that Grow can recover the social shares for each individual URL.', 'social-pug' ), true ) . '</h4>';
 
 
 
 
 
 
364
 
365
  // Add the empty placeholder with a message, when previous URLs don't exist
366
  echo '<div id="dpsp-shares-recovery-post-previous-urls-empty" ' . ( ! empty( $urls ) ? 'style="display: none;"' : '' ) . '>';
367
- echo '<p>' . __( 'If you have ever modified the permalink for this particular post and want to recover lost shares for any previous links this post had, add the old links by pressing the Add Link button.', 'social-pug' ) . '</p>';
368
  echo '</div>';
369
 
370
  // Add each previous URL for the post
@@ -376,14 +382,14 @@ function dpsp_share_statistics_output( $post ) {
376
 
377
  echo '<input type="text" name="dpsp_post_single_previous_urls[]" placeholder="eg. http://www.domain.com/sample-post/" value="' . esc_attr( $url ) . '" />';
378
 
379
- echo '<a href="#" class="dpsp-button-secondary">' . __( 'Remove', 'social-pug' ) . '</a>';
380
 
381
  echo '</div>';
382
 
383
  }
384
  }
385
 
386
- echo '<a href="#" id="dpsp-add-post-previous-url" class="dpsp-button-secondary">' . __( 'Add Link', 'social-pug' ) . '</a>';
387
 
388
  echo '</div>';
389
 
@@ -392,7 +398,7 @@ function dpsp_share_statistics_output( $post ) {
392
 
393
  echo '<input type="text" name="dpsp_post_single_previous_urls[]" placeholder="eg. http://www.domain.com/sample-post/" value="" />';
394
 
395
- echo '<a href="#" class="dpsp-button-secondary">' . __( 'Remove', 'social-pug' ) . '</a>';
396
 
397
  echo '</div>';
398
  }
@@ -409,36 +415,40 @@ function dpsp_post_debugger_output( $post ) {
409
  echo '<textarea readonly style="width: 100%; min-height: 600px;">';
410
 
411
  // Add post data
412
- echo '----------------------------------------------------------------------------------' . PHP_EOL;
413
- echo 'post_id' . PHP_EOL;
414
- echo '----------------------------------------------------------------------------------' . PHP_EOL;
415
- echo $post->ID;
416
- echo PHP_EOL . PHP_EOL;
417
-
418
- echo '----------------------------------------------------------------------------------' . PHP_EOL;
419
- echo 'post_permalink' . PHP_EOL;
420
- echo '----------------------------------------------------------------------------------' . PHP_EOL;
421
- echo get_permalink( $post->ID );
422
- echo PHP_EOL . PHP_EOL;
 
423
 
424
  // Add Social Pug related meta-data
 
425
  foreach ( $post_meta as $meta_key => $meta_value ) {
426
 
427
  if ( false === strpos( $meta_key, 'dpsp' ) ) {
428
  continue;
429
  }
430
 
431
- echo '----------------------------------------------------------------------------------' . PHP_EOL;
432
- echo $meta_key . PHP_EOL;
433
- echo '----------------------------------------------------------------------------------' . PHP_EOL;
434
 
435
  if ( is_serialized( $meta_value[0] ) ) {
436
- print_r( unserialize( $meta_value[0] ) );
437
  } else {
438
- print_r( $meta_value[0] . PHP_EOL );
439
  }
440
 
441
- echo PHP_EOL;
 
 
442
  }
443
 
444
  echo '</textarea>';
@@ -455,18 +465,20 @@ function dpsp_refresh_share_counts() {
455
  return;
456
  }
457
 
458
- if ( $_POST['action'] != 'dpsp_refresh_share_counts' ) {
 
459
  return;
460
  }
461
 
462
- if ( ! wp_verify_nonce( $_POST['nonce'], 'dpsp_refresh_share_counts' ) ) {
 
463
  return;
464
  }
465
 
466
  $post_id = (int) $_POST['post_id'];
467
  $post = get_post( $post_id );
468
 
469
- if ( ! in_array( $post->post_status, [ 'future', 'draft', 'pending', 'trash', 'auto-draft' ] ) ) {
470
 
471
  // Flush existing shares before pulling a new set
472
  update_post_meta( $post_id, 'dpsp_networks_shares', '' );
@@ -494,8 +506,9 @@ function dpsp_save_post_meta( $post_id ) {
494
  return;
495
  }
496
 
 
497
  // Verify that the nonce is valid.
498
- if ( ! wp_verify_nonce( $_POST['dpsptkn'], 'dpsp_meta_box' ) ) {
499
  return;
500
  }
501
 
@@ -505,7 +518,8 @@ function dpsp_save_post_meta( $post_id ) {
505
  }
506
 
507
  // Check the user's permissions.
508
- if ( isset( $_POST['post_type'] ) && 'page' == $_POST['post_type'] ) {
 
509
  if ( ! current_user_can( 'edit_page', $post_id ) ) {
510
  return;
511
  }
@@ -519,8 +533,9 @@ function dpsp_save_post_meta( $post_id ) {
519
  delete_post_meta( $post_id, 'dpsp_short_link_bitly' );
520
 
521
  // Save information for the Share Options meta-box
522
- if ( isset( $_POST['dpsp_share_options'] ) ) {
523
- $share_options = $_POST['dpsp_share_options'];
 
524
  } else {
525
  $share_options = '';
526
  }
@@ -528,13 +543,15 @@ function dpsp_save_post_meta( $post_id ) {
528
  update_post_meta( $post_id, 'dpsp_share_options', $share_options );
529
 
530
  // Save information for the Pinterest hidden images
531
- if ( ! empty( $_POST['dpsp_save_multiple_pinterest_images'] ) && wp_verify_nonce( $_POST['dpsp_save_multiple_pinterest_images'], 'dpsp_save_multiple_pinterest_images' ) ) {
 
532
 
 
533
  // Remove the images if none are present
534
- if ( ! empty( $_POST['dpsp_pinterest_hidden_images'] ) ) {
535
 
536
  // Sanitize the values
537
- $hidden_images = array_map( 'absint', $_POST['dpsp_pinterest_hidden_images'] );
538
  $hidden_images = array_filter( $hidden_images );
539
 
540
  } else {
@@ -546,9 +563,10 @@ function dpsp_save_post_meta( $post_id ) {
546
  }
547
 
548
  // Save information for the Share Statistics meta-box
549
- if ( ! empty( $_POST['dpsp_post_single_previous_urls'] ) ) {
 
550
 
551
- $previous_urls = ( is_array( $_POST['dpsp_post_single_previous_urls'] ) ? $_POST['dpsp_post_single_previous_urls'] : [] );
552
 
553
  foreach ( $previous_urls as $key => $previous_url ) {
554
  // Sanitize the URL
@@ -577,11 +595,11 @@ function dpsp_refresh_all_share_counts_ajax() {
577
  return;
578
  }
579
 
580
- if ( $_POST['action'] != 'dpsp_refresh_all_share_counts' ) {
581
  return;
582
  }
583
 
584
- if ( ! wp_verify_nonce( $_POST['nonce'], 'dpsp_refresh_all_share_counts' ) ) {
585
  return;
586
  }
587
 
2
  /**
3
  * Meta-boxes file
4
  */
5
+ use Mediavine\Grow\View_Loader;
6
  /**
7
  * Individual posts share statistics meta-box.
8
  */
65
 
66
  // General social media content
67
  echo '<div class="dpsp-section">';
 
68
  // Social media image
69
  echo '<div class="dpsp-setting-field-wrapper dpsp-setting-field-image">';
70
+ echo '<label for="dpsp_share_options[custom_image]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-share">' . wp_kses( dpsp_get_svg_icon_output( 'share' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Social Media Image', 'social-pug' );
71
+ dpsp_output_backend_tooltip( __( 'Add an image that will populate the "og:image" Open Graph meta tag. For maximum exposure on Facebook, Google, or LinkedIn we recommend an image size of 1200px X 630px.', 'social-pug' ), false );
72
  echo '</label>';
73
  echo '<div>';
74
 
89
  }
90
 
91
  echo '<div>';
92
+ echo '<img src="' . esc_url( $thumb_src ) . '" data-pin-nopin="true" />';
93
+ echo '<span class="dpsp-field-image-placeholder" data-src="' . esc_url( DPSP_PLUGIN_DIR_URL . 'assets/dist/custom-social-media-image.' . DPSP_VERSION . '.png' ) . '"></span>';
94
  echo '</div>';
95
 
96
+ echo '<a class="dpsp-image-select dpsp-button-primary ' . ( ! empty( $share_options['custom_image']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . esc_html__( 'Select Image', 'social-pug' ) . '</a>';
97
+ echo '<a class="dpsp-image-remove dpsp-button-secondary ' . ( empty( $share_options['custom_image']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . esc_html__( 'Remove Image', 'social-pug' ) . '</a>';
98
 
99
  echo '<input class="dpsp-image-id" type="hidden" name="dpsp_share_options[custom_image][id]" value="' . ( ! empty( $share_options['custom_image']['id'] ) ? esc_attr( $share_options['custom_image']['id'] ) : '' ) . '" />';
100
  echo '<input class="dpsp-image-src" type="hidden" name="dpsp_share_options[custom_image][src]" value="' . esc_attr( $image_src ) . '" />';
109
  $current_count = ( ! empty( $share_options['custom_title'] ) ? strlen( wp_kses_post( $share_options['custom_title'] ) ) : 0 );
110
  $remaining_count = $maximum_count - $current_count;
111
 
112
+ echo '<label for="dpsp_share_options[custom_title]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-share">' . wp_kses( dpsp_get_svg_icon_output( 'share' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Social Media Title', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . esc_attr( $maximum_count ) . '"><span class="dpsp-textarea-characters-remaining">' . esc_attr( $remaining_count ) . '</span> ' . esc_html__( 'Characters Remaining', 'social-pug' ) . '</span>';
113
+ dpsp_output_backend_tooltip( __( 'Add a title that will populate the "og:title" Open Graph meta tag. This will be used when users share your content on Facebook, Google+ or LinkedIn. The title of the post will be used if this field is empty.', 'social-pug' ), false );
114
  echo '</label>';
115
+ echo '<textarea id="dpsp_share_options[custom_title]" name="dpsp_share_options[custom_title]" placeholder="' . esc_attr__( 'Write a social media title...', 'social-pug' ) . '">' . ( isset( $share_options['custom_title'] ) ? wp_kses_post( $share_options['custom_title'] ) : '' ) . '</textarea>';
116
  echo '</div>';
117
 
118
  // Social media description
122
  $current_count = ( ! empty( $share_options['custom_description'] ) ? strlen( wp_kses_post( $share_options['custom_description'] ) ) : 0 );
123
  $remaining_count = $maximum_count - $current_count;
124
 
125
+ echo '<label for="dpsp_share_options[custom_description]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-share">' . wp_kses( dpsp_get_svg_icon_output( 'share' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Social Media Description', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . esc_attr( $maximum_count ) . '"><span class="dpsp-textarea-characters-remaining">' . esc_attr( $remaining_count ) . '</span> ' . esc_html__( 'Characters Remaining', 'social-pug' ) . '</span>';
126
+ dpsp_output_backend_tooltip( __( 'Add a description that will populate the "og:description" Open Graph meta tag. This will be used when users share your content on Facebook, Google+ or LinkedIn.', 'social-pug' ), false );
127
  echo '</label>';
128
+ echo '<textarea id="dpsp_share_options[custom_description]" name="dpsp_share_options[custom_description]" placeholder="' . esc_html__( 'Write a social media description...', 'social-pug' ) . '">' . ( isset( $share_options['custom_description'] ) ? wp_kses_post( $share_options['custom_description'] ) : '' ) . '</textarea>';
129
  echo '</div>';
130
 
131
  echo '</div>';
135
 
136
  // Pinterest image
137
  echo '<div class="dpsp-setting-field-wrapper dpsp-setting-field-image">';
138
+ echo '<label for="dpsp_share_options[custom_image_pinterest]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-pinterest">' . wp_kses( dpsp_get_svg_icon_output( 'pinterest' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Pinterest Image', 'social-pug' );
139
+ dpsp_output_backend_tooltip( __( 'Add an image that will be used when this post is shared on Pinterest. For maximum exposure we recommend using an image that has a 2:3 aspect ratio, for example 800px X 1200px.', 'social-pug' ), false );
140
  echo '</label>';
141
  echo '<div>';
142
 
158
 
159
  echo '<div>';
160
  echo '<img src="' . esc_attr( $thumb_src ) . '" data-pin-nopin="true" />';
161
+ echo '<span class="dpsp-field-image-placeholder" data-src="' . esc_url( DPSP_PLUGIN_DIR_URL . 'assets/dist/custom-social-media-image-pinterest.' . DPSP_VERSION . '.png' ) . '"></span>';
162
  echo '</div>';
163
 
164
+ echo '<a class="dpsp-image-select dpsp-button-primary ' . ( ! empty( $share_options['custom_image_pinterest']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . esc_html__( 'Select Image', 'social-pug' ) . '</a>';
165
+ echo '<a class="dpsp-image-remove dpsp-button-secondary ' . ( empty( $share_options['custom_image_pinterest']['id'] ) ? 'dpsp-hidden' : '' ) . '" href="#">' . esc_html__( 'Remove Image', 'social-pug' ) . '</a>';
166
 
167
  echo '<input class="dpsp-image-id" type="hidden" name="dpsp_share_options[custom_image_pinterest][id]" value="' . ( ! empty( $share_options['custom_image_pinterest']['id'] ) ? esc_attr( $share_options['custom_image_pinterest']['id'] ) : '' ) . '" />';
168
  echo '<input class="dpsp-image-src" type="hidden" name="dpsp_share_options[custom_image_pinterest][src]" value="' . esc_attr( $image_src ) . '" />';
177
  $current_count = ( ! empty( $share_options['custom_title_pinterest'] ) ? strlen( wp_kses_post( $share_options['custom_title_pinterest'] ) ) : 0 );
178
  $remaining_count = $maximum_count - $current_count;
179
 
180
+ echo '<label for="dpsp_share_options[custom_title_pinterest]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-pinterest">' . wp_kses( dpsp_get_svg_icon_output( 'pinterest' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Pinterest Title', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . esc_attr( $maximum_count ) . '"><span class="dpsp-textarea-characters-remaining">' . esc_attr( $remaining_count ) . '</span> ' . esc_html__( 'Characters Remaining', 'social-pug' ) . '</span></label>';
181
+ echo '<textarea id="dpsp_share_options[custom_title_pinterest]" name="dpsp_share_options[custom_title_pinterest]" placeholder="' . esc_attr__( 'Write a custom Pinterest title...', 'social-pug' ) . '">' . ( isset( $share_options['custom_title_pinterest'] ) ? wp_kses_post( $share_options['custom_title_pinterest'] ) : '' ) . '</textarea>';
182
+ echo '<p class="description">' . esc_attr__( "Please note: Pinterest does not yet support pin titles. Pinterest is still in the process of releasing this feature. We've added the field in advance, to make sure you're ready for when the feature rolls out.", 'social-pug' ) . '</p>';
183
  echo '</div>';
184
 
185
  // Pinterest description
189
  $current_count = ( ! empty( $share_options['custom_description_pinterest'] ) ? strlen( wp_kses_post( $share_options['custom_description_pinterest'] ) ) : 0 );
190
  $remaining_count = $maximum_count - $current_count;
191
 
192
+ echo '<label for="dpsp_share_options[custom_description_pinterest]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-pinterest">' . wp_kses( dpsp_get_svg_icon_output( 'pinterest' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Pinterest Description', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . esc_attr( $maximum_count ) . '"><span class="dpsp-textarea-characters-remaining">' . esc_attr( $remaining_count ) . '</span> ' . esc_html__( 'Characters Remaining', 'social-pug' ) . '</span>';
193
+ dpsp_output_backend_tooltip( __( 'Add a customized message that will be used when this post is shared on Pinterest.', 'social-pug' ), false );
194
  echo '</label>';
195
+ echo '<textarea id="dpsp_share_options[custom_description_pinterest]" name="dpsp_share_options[custom_description_pinterest]" placeholder="' . esc_attr__( 'Write a custom Pinterest description...', 'social-pug' ) . '">' . ( isset( $share_options['custom_description_pinterest'] ) ? wp_kses_post( $share_options['custom_description_pinterest'] ) : '' ) . '</textarea>';
196
  echo '</div>';
197
 
198
  // Twitter custom tweet
201
  $has_via = ! empty( $settings['twitter_username'] ) && ! empty( $settings['tweets_have_username'] );
202
  $tweet_via = $has_via ? ' via @' . $settings['twitter_username'] : '';
203
 
204
+ $tweet_meta_content_length = 24 + strlen( $tweet_via ); /* 23 is the length of the URL as Twitter sees it + 1 for the empty space before it */
205
 
206
  $maximum_count = apply_filters( 'dpsp_tweet_maximum_count', 280 ) - $tweet_meta_content_length;
207
  $current_count = ( ! empty( $share_options['custom_tweet'] ) ? strlen( wp_kses_post( $share_options['custom_tweet'] ) ) : 0 );
208
  $remaining_count = $maximum_count - $current_count;
209
 
210
+ echo '<label for="dpsp_share_options[custom_tweet]">' . '<span class="dpsp-admin-icon dpsp-admin-icon-twitter">' . wp_kses( dpsp_get_svg_icon_output( 'pinterest' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_attr__( 'Custom Tweet', 'social-pug' ) . '<span class="dpsp-textarea-characters-remaining-wrapper" data-maximum-count="' . esc_attr( $maximum_count ) . '"><span class="dpsp-textarea-characters-remaining">' . esc_attr( $remaining_count ) . '</span> ' . esc_html__( 'Characters Remaining', 'social-pug' ) . '</span>';
211
+ dpsp_output_backend_tooltip( __( 'Add a customized tweet that will be used when this post is shared on Twitter.', 'social-pug' ), false );
212
  echo '</label>';
213
+ echo '<textarea id="dpsp_share_options[custom_tweet]" name="dpsp_share_options[custom_tweet]" placeholder="' . esc_attr__( 'Write a custom tweet...', 'social-pug' ) . '">' . ( isset( $share_options['custom_tweet'] ) ? wp_kses_post( $share_options['custom_tweet'] ) : '' ) . '</textarea>';
214
+ echo '<p class="description">' . esc_html__( 'Maximum characters is based off of the Twitter maximum, the post permalink, and whether your Twitter username is included in the tweet.', 'social-pug' ) . '</p>';
215
  echo '</div>';
216
 
217
  echo '</div>';
226
 
227
  echo '<div class="dpsp-setting-field-wrapper">';
228
 
229
+ echo '<label>' . '<span class="dpsp-admin-icon dpsp-admin-icon-pinterest">' . wp_kses( dpsp_get_svg_icon_output( 'pinterest' ), View_Loader::get_allowed_tags() ) . '</span>' . esc_html__( 'Pinterest Hidden Images', 'social-pug' ) . '</label>';
230
 
231
  $hidden_images = dpsp_maybe_unserialize( get_post_meta( $post->ID, 'dpsp_pinterest_hidden_images', true ) );
232
  $hidden_images = ( ! empty( $hidden_images ) && is_array( $hidden_images ) ? $hidden_images : [] );
246
  echo '<img src="' . esc_url( $image_src[0] ) . '" data-pin-nopin="true" />';
247
 
248
  // Remove image button
249
+ echo '<a href="#" class="dpsp-button-secondary" title="' . esc_attr__( 'Remove image', 'social-pug' ) . '"><span class="dashicons dashicons-no-alt"></span></a>';
250
 
251
  // Add hidden field with the image_id
252
  echo '<input type="hidden" name="dpsp_pinterest_hidden_images[]" value="' . absint( $image_id ) . '" />';
258
  // Add the add new images button
259
  echo '<div class="dpsp-hidden-image-add-new dpsp-button-secondary">';
260
  echo '<span class="dashicons dashicons-plus"></span>';
261
+ echo '<div>' . esc_html__( 'Add images', 'social-pug' ) . '</div>';
262
  echo '</div>';
263
 
264
  echo '</div>';
270
  echo '</div>';
271
 
272
  // Overwrite options
273
+ echo '<h4 class="dpsp-section-title">' . esc_html__( 'Display Options', 'social-pug' ) . '</h4>';
274
  echo '<div>';
275
  dpsp_settings_field( 'checkbox', 'dpsp_share_options[locations_overwrite][]', ( isset( $share_options['locations_overwrite'] ) ? $share_options['locations_overwrite'] : [] ), __( 'Hide buttons for the', 'social-pug' ), dpsp_get_network_locations( 'all', false ) );
276
  echo '</div>';
290
 
291
  if ( ! empty( $networks ) ) {
292
 
293
+ $networks_container = \Mediavine\Grow\Networks::get_instance();
294
+
295
  echo '<div class="dpsp-statistic-bars-wrapper">';
296
 
297
  // Get share counts
302
 
303
  // Shares header
304
  echo '<div class="dpsp-statistic-bar-wrapper dpsp-statistic-bar-header">';
305
+ echo '<label>' . esc_html__( 'Network', 'social-pug' ) . '</label>';
306
+ echo '<div class="dpsp-network-share-count"><span class="dpsp-count">' . esc_html__( 'Shares', 'social-pug' ) . '</span><span class="dpsp-divider">|</span><span class="dpsp-percentage">%</span></div>';
307
  echo '</div>';
 
308
  // Actual shares per network
309
  foreach ( $networks as $network_slug ) {
310
+ $network = $networks_container->get( $network_slug );
311
  // Jump to the next one if the network by some chance does not support
312
  // share count
313
+ if ( ! $network || ! $network->has_count() ) {
314
  continue;
315
  }
316
 
317
  // Get current network social share count
318
+ $network_shares = ( isset( $networks_shares[ $network->get_slug() ] ) ? $networks_shares[ $network->get_slug() ] : 0 );
319
 
320
  // Get the percentage of the total shares for current network
321
+ $share_percentage = ( 0 !== $total_shares ? (float) ( $network_shares / $total_shares * 100 ) : 0 );
322
 
323
  echo '<div class="dpsp-statistic-bar-wrapper dpsp-statistic-bar-wrapper-network">';
324
+ echo '<label>' . esc_html( $network->get_name() ) . '</label>';
325
 
326
+ echo '<div class="dpsp-statistic-bar dpsp-statistic-bar-' . esc_attr( $network->get_slug() ) . '">';
327
+ echo '<div class="dpsp-statistic-bar-inner" style="width:' . esc_attr( round( $share_percentage, 1 ) ) . '%"></div>';
328
  echo '</div>';
329
 
330
+ echo '<div class="dpsp-network-share-count"><span class="dpsp-count">' . esc_html( $network_shares ) . '</span><span class="dpsp-divider">|</span><span class="dpsp-percentage">' . esc_html( round( $share_percentage, 2 ) ) . '</span></div>';
331
  echo '</div>';
332
 
333
  }
334
 
335
  // Shares footer with total count
336
  echo '<div class="dpsp-statistic-bar-wrapper dpsp-statistic-bar-footer">';
337
+ echo '<label>' . esc_html__( 'Total shares', 'social-pug' ) . '</label>';
338
+ echo '<div class="dpsp-network-share-count"><span class="dpsp-count">' . esc_html( $total_shares ) . '</span></div>';
339
  echo '</div>';
340
 
341
  // Refresh counts button
342
  echo '<div id="dpsp-refresh-share-counts-wrapper">';
343
+ echo '<a id="dpsp-refresh-share-counts" class="dpsp-button-secondary" href="#">' . esc_html__( 'Refresh shares', 'social-pug' ) . '</a>';
344
  echo '<span class="spinner"></span>';
345
+ wp_nonce_field( 'dpsp_refresh_share_counts', 'dpsp_refresh_share_counts', false, true );
346
  echo '</div>';
347
 
348
  echo '</div>';
354
  * AJAX when the Refresh Shares button is clicked, we need to only add it on pageload
355
  *
356
  */
357
+ if ( ! Social_Pug::is_free() && ! wp_doing_ajax() ) {
358
 
359
  echo '<div id="dpsp-shares-recovery-post-previous-urls">';
360
 
361
  $urls = dpsp_maybe_unserialize( get_post_meta( $post->ID, 'dpsp_post_single_previous_urls', true ) );
362
 
363
+ echo '<div class="dpsp-shares-recovery-post-previous-urls-header">';
364
+
365
+ echo '<h4>' . esc_html__( 'Social Shares Recovery', 'social-pug' ) . '</h4>';
366
+
367
+ echo wp_kses_post( dpsp_output_backend_tooltip( __( 'If you have modified the permalink for this particular post, add the previous URL variations for the post, so that Grow can recover the social shares for each individual URL.', 'social-pug' ), false ) );
368
+
369
+ echo '</div>';
370
 
371
  // Add the empty placeholder with a message, when previous URLs don't exist
372
  echo '<div id="dpsp-shares-recovery-post-previous-urls-empty" ' . ( ! empty( $urls ) ? 'style="display: none;"' : '' ) . '>';
373
+ echo '<p>' . esc_html__( 'If you have ever modified the permalink for this particular post and want to recover lost shares for any previous links this post had, add the old links by pressing the Add Link button.', 'social-pug' ) . '</p>';
374
  echo '</div>';
375
 
376
  // Add each previous URL for the post
382
 
383
  echo '<input type="text" name="dpsp_post_single_previous_urls[]" placeholder="eg. http://www.domain.com/sample-post/" value="' . esc_attr( $url ) . '" />';
384
 
385
+ echo '<a href="#" class="dpsp-button-secondary">' . esc_html__( 'Remove', 'social-pug' ) . '</a>';
386
 
387
  echo '</div>';
388
 
389
  }
390
  }
391
 
392
+ echo '<a href="#" id="dpsp-add-post-previous-url" class="dpsp-button-secondary">' . esc_html__( 'Add Link', 'social-pug' ) . '</a>';
393
 
394
  echo '</div>';
395
 
398
 
399
  echo '<input type="text" name="dpsp_post_single_previous_urls[]" placeholder="eg. http://www.domain.com/sample-post/" value="" />';
400
 
401
+ echo '<a href="#" class="dpsp-button-secondary">' . esc_html__( 'Remove', 'social-pug' ) . '</a>';
402
 
403
  echo '</div>';
404
  }
415
  echo '<textarea readonly style="width: 100%; min-height: 600px;">';
416
 
417
  // Add post data
418
+ $output = '----------------------------------------------------------------------------------' . PHP_EOL;
419
+ $output .= 'post_id' . PHP_EOL;
420
+ $output .= '----------------------------------------------------------------------------------' . PHP_EOL;
421
+ $output .= $post->ID;
422
+ $output .= PHP_EOL . PHP_EOL;
423
+ $output .= '----------------------------------------------------------------------------------' . PHP_EOL;
424
+ $output .= 'post_permalink' . PHP_EOL;
425
+ $output .= '----------------------------------------------------------------------------------' . PHP_EOL;
426
+ $output .= get_permalink( $post->ID );
427
+ $output .= PHP_EOL . PHP_EOL;
428
+
429
+ echo esc_textarea( $output );
430
 
431
  // Add Social Pug related meta-data
432
+ $output = '';
433
  foreach ( $post_meta as $meta_key => $meta_value ) {
434
 
435
  if ( false === strpos( $meta_key, 'dpsp' ) ) {
436
  continue;
437
  }
438
 
439
+ $output = '----------------------------------------------------------------------------------' . PHP_EOL;
440
+ $output .= $meta_key . PHP_EOL;
441
+ $output .= '----------------------------------------------------------------------------------' . PHP_EOL;
442
 
443
  if ( is_serialized( $meta_value[0] ) ) {
444
+ $output .= print_r( unserialize( $meta_value[0] ), true ); // @codingStandardsIgnoreLine
445
  } else {
446
+ $output .= print_r( $meta_value[0] . PHP_EOL, true ); // @codingStandardsIgnoreLine
447
  }
448
 
449
+ $output .= PHP_EOL;
450
+
451
+ echo esc_textarea( $output );
452
  }
453
 
454
  echo '</textarea>';
465
  return;
466
  }
467
 
468
+ $action = filter_input( INPUT_POST, 'action' );
469
+ if ( 'dpsp_refresh_share_counts' !== $action ) {
470
  return;
471
  }
472
 
473
+ $nonce = filter_input( INPUT_POST, 'nonce' );
474
+ if ( ! wp_verify_nonce( $nonce, 'dpsp_refresh_share_counts' ) ) {
475
  return;
476
  }
477
 
478
  $post_id = (int) $_POST['post_id'];
479
  $post = get_post( $post_id );
480
 
481
+ if ( ! in_array( $post->post_status, [ 'future', 'draft', 'pending', 'trash', 'auto-draft' ], true ) ) {
482
 
483
  // Flush existing shares before pulling a new set
484
  update_post_meta( $post_id, 'dpsp_networks_shares', '' );
506
  return;
507
  }
508
 
509
+ $nonce = filter_input( INPUT_POST, 'dpsptkn' );
510
  // Verify that the nonce is valid.
511
+ if ( ! wp_verify_nonce( $nonce, 'dpsp_meta_box' ) ) {
512
  return;
513
  }
514
 
518
  }
519
 
520
  // Check the user's permissions.
521
+ $post_type = filter_input( INPUT_POST, 'post_type' );
522
+ if ( 'page' === $post_type ) {
523
  if ( ! current_user_can( 'edit_page', $post_id ) ) {
524
  return;
525
  }
533
  delete_post_meta( $post_id, 'dpsp_short_link_bitly' );
534
 
535
  // Save information for the Share Options meta-box
536
+ $dpsp_share_options = isset( $_POST['dpsp_share_options'] ) ? wp_unslash( $_POST['dpsp_share_options'] ) : false; // @codingStandardsIgnoreLine
537
+ if ( ! empty( $dpsp_share_options ) ) {
538
+ $share_options = $dpsp_share_options;
539
  } else {
540
  $share_options = '';
541
  }
543
  update_post_meta( $post_id, 'dpsp_share_options', $share_options );
544
 
545
  // Save information for the Pinterest hidden images
546
+ $save_multiple_pinterest_images_nonce = filter_input( INPUT_POST, 'dpsp_save_multiple_pinterest_images' );
547
+ if ( ! empty( $save_multiple_pinterest_images_nonce ) && wp_verify_nonce( $save_multiple_pinterest_images_nonce, 'dpsp_save_multiple_pinterest_images' ) ) {
548
 
549
+ $dpsp_pinterest_hidden_images = filter_input( INPUT_POST, 'dpsp_pinterest_hidden_images', FILTER_DEFAULT, FILTER_REQUIRE_ARRAY );
550
  // Remove the images if none are present
551
+ if ( ! empty( $dpsp_pinterest_hidden_images ) ) {
552
 
553
  // Sanitize the values
554
+ $hidden_images = array_map( 'absint', $dpsp_pinterest_hidden_images );
555
  $hidden_images = array_filter( $hidden_images );
556
 
557
  } else {
563
  }
564
 
565
  // Save information for the Share Statistics meta-box
566
+ $dpsp_post_single_previous_urls = filter_input( INPUT_POST, 'dpsp_post_single_previous_urls' );
567
+ if ( ! empty( $dpsp_post_single_previous_urls ) ) {
568
 
569
+ $previous_urls = ( is_array( $dpsp_post_single_previous_urls ) ? $dpsp_post_single_previous_urls : [] );
570
 
571
  foreach ( $previous_urls as $key => $previous_url ) {
572
  // Sanitize the URL
595
  return;
596
  }
597
 
598
+ if ( 'dpsp_refresh_all_share_counts' !== filter_input( INPUT_POST, 'action' ) ) {
599
  return;
600
  }
601
 
602
+ if ( ! wp_verify_nonce( filter_input( INPUT_POST, 'nonce' ), 'dpsp_refresh_all_share_counts' ) ) {
603
  return;
604
  }
605
 
inc/admin/feedback-form/functions-ajax.php CHANGED
@@ -5,48 +5,52 @@
5
  *
6
  */
7
  function dpsp_ajax_send_feedback() {
8
-
9
- if( empty( $_POST['dpsp_token'] ) || ! wp_verify_nonce( $_POST['dpsp_token'], 'dpsp_feedback_form' ) ) {
10
  echo 0;
11
  wp_die();
12
  }
13
 
14
- $_POST = stripslashes_deep( $_POST );
15
 
16
- if( empty( $_POST['user_email'] ) ) {
17
  echo 0;
18
  wp_die();
19
  }
20
 
 
 
21
  // Set headers
22
- $headers = array(
23
- "From: " . sanitize_email( $_POST['user_email'] ),
24
- "Reply-To: " . sanitize_email( $_POST['user_email'] ),
25
- );
 
 
26
 
27
  // Message type
28
  $message = 'Type:';
29
- $message .= "\n";
30
- $message .= "---------------------------------------------------------";
31
- $message .= "\n";
32
- $message .= sanitize_text_field( $_POST['type'] );
33
 
 
34
  // Message content
35
- $message .= "\n\r";
36
- $message .= 'Message:';
37
- $message .= "\n";
38
- $message .= "---------------------------------------------------------";
39
- $message .= "\n";
40
- $message .= sanitize_text_field( $_POST['message'] );
41
-
42
- // Message user email
43
- $message .= "\n\r";
44
- $message .= 'User email:';
45
- $message .= "\n";
46
- $message .= "---------------------------------------------------------";
47
- $message .= "\n";
48
- $message .= sanitize_text_field( $_POST['user_email'] );
49
-
50
 
51
  // Send the email
52
  $sent = wp_mail( 'grow@mediavine.com', 'Grow Social by Mediavine User Feedback', $message, $headers );
5
  *
6
  */
7
  function dpsp_ajax_send_feedback() {
8
+ $dpsp_token = filter_input( INPUT_POST, 'dpsp_token' );
9
+ if ( empty( $dpsp_token ) || ! wp_verify_nonce( $dpsp_token, 'dpsp_feedback_form' ) ) {
10
  echo 0;
11
  wp_die();
12
  }
13
 
14
+ $post = stripslashes_deep( $_POST );
15
 
16
+ if ( empty( $post['user_email'] ) ) {
17
  echo 0;
18
  wp_die();
19
  }
20
 
21
+ $email = $post['user_email']; // Input var okay; sanitization okay.
22
+
23
  // Set headers
24
+ $headers = [
25
+ 'From: ' . sanitize_email( $email ),
26
+ 'Reply-To: ' . sanitize_email( $email ),
27
+ ];
28
+
29
+ $type = $post['type']; // Input var okay; sanitization okay.
30
 
31
  // Message type
32
  $message = 'Type:';
33
+ $message .= "\n";
34
+ $message .= '---------------------------------------------------------';
35
+ $message .= "\n";
36
+ $message .= sanitize_text_field( $type );
37
 
38
+ $msg = $post['message']; // Input var okay; sanitization okay.
39
  // Message content
40
+ $message .= "\n\r";
41
+ $message .= 'Message:';
42
+ $message .= "\n";
43
+ $message .= '---------------------------------------------------------';
44
+ $message .= "\n";
45
+ $message .= sanitize_text_field( $msg );
46
+
47
+ // Message user email
48
+ $message .= "\n\r";
49
+ $message .= 'User email:';
50
+ $message .= "\n";
51
+ $message .= '---------------------------------------------------------';
52
+ $message .= "\n";
53
+ $message .= sanitize_text_field( $email );
 
54
 
55
  // Send the email
56
  $sent = wp_mail( 'grow@mediavine.com', 'Grow Social by Mediavine User Feedback', $message, $headers );
inc/admin/feedback-form/functions.php CHANGED
@@ -5,11 +5,11 @@
5
  */
6
  function dpsp_enqueue_admin_scripts_feedback() {
7
  // Plugin styles
8
- wp_register_style( 'dpsp-style-feedback', DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/css/style-admin-feedback-form.css', array(), DPSP_VERSION );
9
  wp_enqueue_style( 'dpsp-style-feedback' );
10
 
11
  // Plugin script
12
- wp_register_script( 'dpsp-script-feedback', DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/js/script-admin-feedback-form.js', array( 'jquery' ), DPSP_VERSION );
13
  wp_enqueue_script( 'dpsp-script-feedback' );
14
  }
15
 
@@ -17,7 +17,8 @@ function dpsp_enqueue_admin_scripts_feedback() {
17
  * Outputs the feedback form in the admin footer.
18
  */
19
  function dpsp_output_feedback_form() {
20
- if ( empty( $_GET['page'] ) || false === strpos( $_GET['page'], 'dpsp' ) ) {
 
21
  return;
22
  }
23
  include 'views/view-feedback-form.php';
5
  */
6
  function dpsp_enqueue_admin_scripts_feedback() {
7
  // Plugin styles
8
+ wp_register_style( 'dpsp-style-feedback', DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/css/style-admin-feedback-form.css', [], DPSP_VERSION );
9
  wp_enqueue_style( 'dpsp-style-feedback' );
10
 
11
  // Plugin script
12
+ wp_register_script( 'dpsp-script-feedback', DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/js/script-admin-feedback-form.js', [ 'jquery' ], DPSP_VERSION );
13
  wp_enqueue_script( 'dpsp-script-feedback' );
14
  }
15
 
17
  * Outputs the feedback form in the admin footer.
18
  */
19
  function dpsp_output_feedback_form() {
20
+ $page = filter_input( INPUT_GET, 'page' );
21
+ if ( empty( $page ) || false === strpos( $page, 'dpsp' ) ) {
22
  return;
23
  }
24
  include 'views/view-feedback-form.php';
inc/admin/feedback-form/views/view-feedback-form.php CHANGED
@@ -1,14 +1,16 @@
1
  <?php
2
 
3
  // Exit if accessed directly
4
- if ( ! defined( 'ABSPATH' ) ) exit;
 
 
5
 
6
  ?>
7
 
8
  <!-- Feedback form button -->
9
  <div id="dpsp-feedback-button" class="dpsp-inactive">
10
-
11
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/src/img/corgi-100x100.png' ?>" />
12
  <span class="dpsp-close dashicons dashicons-no-alt"></span>
13
 
14
  </div>
@@ -20,55 +22,55 @@ if ( ! defined( 'ABSPATH' ) ) exit;
20
  <div id="dpsp-feedback-form-header">
21
 
22
  <div id="dpsp-feedback-form-header-image">
23
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/src/img/corgi-100x100.png' ?>" />
24
  </div>
25
 
26
- <strong><?php echo __( "I'm here to help", 'social-pug' ); ?></strong>
27
 
28
  </div>
29
 
30
  <!-- Form Inner -->
31
  <div id="dpsp-feedback-form-inner">
32
-
33
  <!-- Panel 1 -->
34
  <div id="dpsp-feedback-form-panel-1" class="dpsp-feedback-form-panel dpsp-doing">
35
 
36
- <label class="dpsp-feedback-form-panel-label"><?php echo __( 'Hey there! How can I help you?', 'social-pug' ); ?></label>
37
 
38
  <input id="dpsp-feedback-form-radio-bug" type="radio" name="issue" value="Bug" />
39
- <label for="dpsp-feedback-form-radio-bug" class="dpsp-selection-label"><?php echo __( 'I think I found a bug. Something is not working right.', 'social-pug' ); ?></label>
40
 
41
  <input id="dpsp-feedback-form-radio-setup" type="radio" name="issue" value="Setup" />
42
- <label for="dpsp-feedback-form-radio-setup" class="dpsp-selection-label"><?php echo __( "I don't know how to set up the plugin.", 'social-pug' ); ?></label>
43
 
44
  <input id="dpsp-feedback-form-radio-feature" type="radio" name="issue" value="Feature" />
45
- <label for="dpsp-feedback-form-radio-feature" class="dpsp-selection-label"><?php echo __( 'I want to propose a new feature for the plugin.', 'social-pug' ); ?></label>
46
 
47
  <input id="dpsp-feedback-form-radio-other" type="radio" name="issue" value="Other" />
48
- <label for="dpsp-feedback-form-radio-other" class="dpsp-selection-label"><?php echo __( 'Some other thing...', 'social-pug' ); ?></label>
49
 
50
  </div>
51
 
52
  <!-- Panel 2 -->
53
- <div id="dpsp-feedback-form-panel-2" class="dpsp-feedback-form-panel dpsp-todo">
54
 
55
- <label class="dpsp-feedback-form-panel-label"><?php echo __( 'Please detail a bit more:', 'social-pug' ); ?></label>
56
 
57
- <textarea placeholder="<?php echo __( 'Write the details here...', 'social-pug' ); ?>"></textarea>
58
 
59
- <p id="dpsp-feedback-form-description-char-count-1" class="description"><?php echo __( 'Minimum 80 characters', 'social-pug' ); ?></p>
60
- <p id="dpsp-feedback-form-description-char-count-2" class="description"><?php echo sprintf( __( '%s characters remaining', 'social-pug' ), '<span id="dpsp-feedback-form-char-count">80</span>' ); ?></p>
61
 
62
  </div>
63
 
64
  <!-- Panel 3 -->
65
- <div id="dpsp-feedback-form-panel-3" class="dpsp-feedback-form-panel dpsp-todo">
66
 
67
- <label class="dpsp-feedback-form-panel-label"><?php echo __( 'Please enter your email address:', 'social-pug' ); ?></label>
68
 
69
- <input type="email" value="" placeholder="<?php echo __( 'Write the email address here...', 'social-pug' ); ?>" />
70
 
71
- <p class="description"><?php echo __( "Let us know where to contact you regarding your request.", 'social-pug' ); ?></p>
 
72
 
73
  </div>
74
 
@@ -76,7 +78,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
76
  <div id="dpsp-feedback-form-panel-4" class="dpsp-feedback-form-panel dpsp-todo">
77
 
78
  <span class="dashicons dashicons-yes"></span>
79
- <p><?php echo __( 'Thank you for reaching out! We will get back to you as soon as possible.', 'social-pug' ); ?></p>
80
 
81
  </div>
82
 
@@ -85,9 +87,9 @@ if ( ! defined( 'ABSPATH' ) ) exit;
85
  <!-- Form Navigation -->
86
  <div id="dpsp-feedback-form-navigation">
87
 
88
- <a id="dpsp-feedback-form-back" href="#"><?php echo __( 'Back', 'social-pug' ); ?></a>
89
- <a id="dpsp-feedback-form-next" class="dpsp-inactive" href="#"><?php echo __( 'Next', 'social-pug' ); ?></a>
90
- <a id="dpsp-feedback-form-send" class="dpsp-inactive" href="#"><?php echo __( 'Send', 'social-pug' ); ?></a>
91
 
92
  <div class="spinner"><!-- --></div>
93
 
@@ -96,4 +98,4 @@ if ( ! defined( 'ABSPATH' ) ) exit;
96
  <!-- Nonce -->
97
  <?php wp_nonce_field( 'dpsp_feedback_form', 'dpsp_token', false ); ?>
98
 
99
- </div>
1
  <?php
2
 
3
  // Exit if accessed directly
4
+ if ( ! defined( 'ABSPATH' ) ) {
5
+ exit;
6
+ }
7
 
8
  ?>
9
 
10
  <!-- Feedback form button -->
11
  <div id="dpsp-feedback-button" class="dpsp-inactive">
12
+
13
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/src/img/corgi-100x100.png' ); ?>" />
14
  <span class="dpsp-close dashicons dashicons-no-alt"></span>
15
 
16
  </div>
22
  <div id="dpsp-feedback-form-header">
23
 
24
  <div id="dpsp-feedback-form-header-image">
25
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . 'inc/admin/feedback-form/assets/src/img/corgi-100x100.png' ); ?>" />
26
  </div>
27
 
28
+ <strong><?php esc_html_e( "I'm here to help", 'social-pug' ); ?></strong>
29
 
30
  </div>
31
 
32
  <!-- Form Inner -->
33
  <div id="dpsp-feedback-form-inner">
34
+
35
  <!-- Panel 1 -->
36
  <div id="dpsp-feedback-form-panel-1" class="dpsp-feedback-form-panel dpsp-doing">
37
 
38
+ <label class="dpsp-feedback-form-panel-label"><?php esc_html_e( 'Hey there! How can I help you?', 'social-pug' ); ?></label>
39
 
40
  <input id="dpsp-feedback-form-radio-bug" type="radio" name="issue" value="Bug" />
41
+ <label for="dpsp-feedback-form-radio-bug" class="dpsp-selection-label"><?php esc_html_e( 'I think I found a bug. Something is not working right.', 'social-pug' ); ?></label>
42
 
43
  <input id="dpsp-feedback-form-radio-setup" type="radio" name="issue" value="Setup" />
44
+ <label for="dpsp-feedback-form-radio-setup" class="dpsp-selection-label"><?php esc_html_e( "I don't know how to set up the plugin.", 'social-pug' ); ?></label>
45
 
46
  <input id="dpsp-feedback-form-radio-feature" type="radio" name="issue" value="Feature" />
47
+ <label for="dpsp-feedback-form-radio-feature" class="dpsp-selection-label"><?php esc_html_e( 'I want to propose a new feature for the plugin.', 'social-pug' ); ?></label>
48
 
49
  <input id="dpsp-feedback-form-radio-other" type="radio" name="issue" value="Other" />
50
+ <label for="dpsp-feedback-form-radio-other" class="dpsp-selection-label"><?php esc_html_e( 'Some other thing...', 'social-pug' ); ?></label>
51
 
52
  </div>
53
 
54
  <!-- Panel 2 -->
55
+ <div id="dpsp-feedback-form-panel-3" class="dpsp-feedback-form-panel dpsp-todo">
56
 
57
+ <label class="dpsp-feedback-form-panel-label"><?php esc_html_e( 'Please enter your email address:', 'social-pug' ); ?></label>
58
 
59
+ <input type="email" value="" placeholder="<?php esc_html_e( 'Write the email address here...', 'social-pug' ); ?>" />
60
 
61
+ <p class="description"><?php esc_html_e( 'Let us know where to contact you regarding your request.', 'social-pug' ); ?></p>
 
62
 
63
  </div>
64
 
65
  <!-- Panel 3 -->
66
+ <div id="dpsp-feedback-form-panel-2" class="dpsp-feedback-form-panel dpsp-todo">
67
 
68
+ <label class="dpsp-feedback-form-panel-label"><?php esc_html_e( 'Please detail a bit more:', 'social-pug' ); ?></label>
69
 
70
+ <textarea placeholder="<?php esc_html_e( 'Write the details here...', 'social-pug' ); ?>"></textarea>
71
 
72
+ <p id="dpsp-feedback-form-description-char-count-1" class="description"><?php esc_html_e( 'Minimum 80 characters', 'social-pug' ); ?></p>
73
+ <p id="dpsp-feedback-form-description-char-count-2" class="description"><?php /* translators: %s */ echo sprintf( esc_html__( '%s characters remaining', 'social-pug' ), '<span id="dpsp-feedback-form-char-count">80</span>' ); ?></p>
74
 
75
  </div>
76
 
78
  <div id="dpsp-feedback-form-panel-4" class="dpsp-feedback-form-panel dpsp-todo">
79
 
80
  <span class="dashicons dashicons-yes"></span>
81
+ <p><?php esc_html_e( 'Thank you for reaching out! We will get back to you as soon as possible.', 'social-pug' ); ?></p>
82
 
83
  </div>
84
 
87
  <!-- Form Navigation -->
88
  <div id="dpsp-feedback-form-navigation">
89
 
90
+ <a id="dpsp-feedback-form-back" href="#"><?php esc_html_e( 'Back', 'social-pug' ); ?></a>
91
+ <a id="dpsp-feedback-form-next" class="dpsp-inactive" href="#"><?php esc_html_e( 'Next', 'social-pug' ); ?></a>
92
+ <a id="dpsp-feedback-form-send" class="dpsp-inactive" href="#"><?php esc_html_e( 'Send', 'social-pug' ); ?></a>
93
 
94
  <div class="spinner"><!-- --></div>
95
 
98
  <!-- Nonce -->
99
  <?php wp_nonce_field( 'dpsp_feedback_form', 'dpsp_token', false ); ?>
100
 
101
+ </div>
inc/admin/submenu-page-extensions.php CHANGED
@@ -4,7 +4,7 @@
4
  * Function that creates the sub-menu item and page for the extra tools page.
5
  */
6
  function dpsp_register_extensions_subpage() {
7
- add_submenu_page( 'dpsp-social-pug', __('Extensions', 'social-pug'), '<span style="color: orange;">' . __('Extensions', 'social-pug') . '</span>', 'manage_options', 'dpsp-extensions', 'dpsp_extensions_subpage' );
8
  }
9
 
10
  /**
@@ -13,7 +13,8 @@ function dpsp_register_extensions_subpage() {
13
  * @return string
14
  */
15
  function dpsp_extensions_subpage() {
16
- if( ! empty( $_GET['sub-page'] ) && $_GET['sub-page'] == 'opt-in-hound' ) {
 
17
  include_once 'views/view-submenu-page-extensions-sub-page-opt-in-hound.php';
18
  } else {
19
  include_once 'views/view-submenu-page-extensions.php';
4
  * Function that creates the sub-menu item and page for the extra tools page.
5
  */
6
  function dpsp_register_extensions_subpage() {
7
+ add_submenu_page( 'dpsp-social-pug', __( 'Extensions', 'social-pug' ), '<span style="color: orange;">' . __( 'Extensions', 'social-pug' ) . '</span>', 'manage_options', 'dpsp-extensions', 'dpsp_extensions_subpage' );
8
  }
9
 
10
  /**
13
  * @return string
14
  */
15
  function dpsp_extensions_subpage() {
16
+ $sub_page = filter_input( INPUT_GET, 'sub-page', FILTER_SANITIZE_STRING );
17
+ if ( 'opt-in-hound' === $sub_page ) {
18
  include_once 'views/view-submenu-page-extensions-sub-page-opt-in-hound.php';
19
  } else {
20
  include_once 'views/view-submenu-page-extensions.php';
inc/admin/submenu-page-settings.php CHANGED
@@ -100,7 +100,7 @@ function dpsp_update_serial_key_status( $old_settings = [], $new_settings = [] )
100
  */
101
  function dpsp_add_serial_status_icon( $slug, $type, $name ) {
102
 
103
- if ( $slug != 'serial-key' ) {
104
  return;
105
  }
106
 
@@ -118,10 +118,10 @@ function dpsp_add_serial_status_icon( $slug, $type, $name ) {
118
  switch ( $dpsp_serial_status ) {
119
  case 1:
120
  case 2:
121
- echo '<div id="dpsp-serial-key-status" class="dpsp-valid"><span title="' . __( 'Serial key is valid.', 'social-pug' ) . '" class="dashicons dashicons-yes"></span><span>' . __( 'Serial key is valid.', 'social-pug' ) . '</span></div>';
122
  break;
123
  default:
124
- echo '<div id="dpsp-serial-key-status" class="dpsp-invalid"><span title="' . __( 'Serial key is invalid or expired.', 'social-pug' ) . '" class="dashicons dashicons-warning"></span><span>' . __( 'Serial key is invalid or expired.', 'social-pug' ) . '</span></div>';
125
  break;
126
  }
127
  }
100
  */
101
  function dpsp_add_serial_status_icon( $slug, $type, $name ) {
102
 
103
+ if ( 'serial-key' === $slug ) {
104
  return;
105
  }
106
 
118
  switch ( $dpsp_serial_status ) {
119
  case 1:
120
  case 2:
121
+ echo '<div id="dpsp-serial-key-status" class="dpsp-valid"><span title="' . esc_html__( 'Serial key is valid.', 'social-pug' ) . '" class="dashicons dashicons-yes"></span><span>' . esc_html__( 'Serial key is valid.', 'social-pug' ) . '</span></div>';
122
  break;
123
  default:
124
+ echo '<div id="dpsp-serial-key-status" class="dpsp-invalid"><span title="' . esc_html__( 'Serial key is invalid or expired.', 'social-pug' ) . '" class="dashicons dashicons-warning"></span><span>' . esc_html__( 'Serial key is invalid or expired.', 'social-pug' ) . '</span></div>';
125
  break;
126
  }
127
  }
inc/admin/submenu-page-sidebar.php DELETED
@@ -1,42 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Function that creates the sub-menu item and page for the floating sidebar location of the share buttons.
5
- *
6
- * @return void
7
- */
8
- function dpsp_register_floating_sidebar_subpage() {
9
- add_submenu_page( 'dpsp-social-pug', __('Floating Sidebar', 'social-pug'), __('Floating Sidebar', 'social-pug'), 'manage_options', 'dpsp-sidebar', 'dpsp_sidebar_subpage' );
10
- }
11
-
12
- /**
13
- * Function that adds content to the floating sidebar subpage.
14
- *
15
- * @return string
16
- */
17
- function dpsp_sidebar_subpage() {
18
- include_once 'views/view-submenu-page-sidebar.php';
19
- }
20
-
21
- function dpsp_sidebar_register_settings() {
22
- register_setting( 'dpsp_location_sidebar', 'dpsp_location_sidebar', 'dpsp_sidebar_settings_sanitize' );
23
- }
24
-
25
- /**
26
- * Filter and sanitize settings.
27
- *
28
- * @param array $new_settings
29
- * @return array
30
- */
31
- function dpsp_sidebar_settings_sanitize( $new_settings ) {
32
- // Save default values even if values do not exist
33
- if( !isset( $new_settings['networks'] ) )
34
- $new_settings['networks'] = array();
35
-
36
- if( !isset( $new_settings['button_style'] ) )
37
- $new_settings['button_style'] = 1;
38
-
39
- $new_settings = dpsp_array_strip_script_tags( $new_settings );
40
-
41
- return $new_settings;
42
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/admin/views/view-submenu-page-debugger.php CHANGED
@@ -74,15 +74,15 @@ $serial_response = null;
74
 
75
  <div class="dpsp-page-wrapper dpsp-page-content wrap">
76
 
77
- <h1 class="dpsp-page-title"><?php echo __( 'System Status', 'social-pug' ); ?></h1>
78
 
79
  <textarea readonly style="width: 100%; min-height: 600px;">
80
  System Versions:
81
  ---------------------------------------------------------------------------------------------------&#13;
82
- PHP Version: <?php echo $php_version; ?> &#13;
83
- cURL Version: <?php echo $curl_version; ?> &#13;
84
- WP Version: <?php echo $wp_version; ?> &#13;
85
- Grow Version: <?php echo $dpsp_version; ?> &#13;
86
  &#13;
87
  All Plugins:
88
  ---------------------------------------------------------------------------------------------------&#13;
@@ -114,7 +114,7 @@ Grow Cron Jobs:
114
  <?php
115
  if ( ! empty( $cron_jobs ) ) {
116
  foreach ( $cron_jobs as $cron_job ) {
117
- echo $cron_job . '&#13;';
118
  }
119
  } else {
120
  echo 'None' . '&#13;';
74
 
75
  <div class="dpsp-page-wrapper dpsp-page-content wrap">
76
 
77
+ <h1 class="dpsp-page-title"><?php esc_html_e( 'System Status', 'social-pug' ); ?></h1>
78
 
79
  <textarea readonly style="width: 100%; min-height: 600px;">
80
  System Versions:
81
  ---------------------------------------------------------------------------------------------------&#13;
82
+ PHP Version: <?php echo esc_html( $php_version ); ?> &#13;
83
+ cURL Version: <?php echo esc_html( $curl_version ); ?> &#13;
84
+ WP Version: <?php echo esc_html( $wp_version ); ?> &#13;
85
+ Grow Version: <?php echo esc_html( $dpsp_version ); ?> &#13;
86
  &#13;
87
  All Plugins:
88
  ---------------------------------------------------------------------------------------------------&#13;
114
  <?php
115
  if ( ! empty( $cron_jobs ) ) {
116
  foreach ( $cron_jobs as $cron_job ) {
117
+ echo esc_attr( $cron_job ) . '&#13;';
118
  }
119
  } else {
120
  echo 'None' . '&#13;';
inc/admin/views/view-submenu-page-extensions-sub-page-opt-in-hound.php CHANGED
@@ -2,50 +2,50 @@
2
 
3
  <div id="opt-in-hound-promo-box">
4
  <div id="opt-in-hound-promo-box-banner">
5
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . '/assets/src/img/opt-in-hound-banner.png'; ?>" />
6
  </div>
7
 
8
  <div id="opt-in-hound-promo-box-inner">
9
 
10
  <!-- Title and Sub-title -->
11
- <br /><h1 class="opt-in-hound-promo-box-title"><?php echo __( 'Grow Your Email List in a Simple Way', 'social-pug' ); ?><br /><span style="display: block; margin-top: 20px;"><?php echo __( 'Create beautiful email subscription popup and widget forms<br /> with just a few clicks.', 'social-pug' ); ?></span></h1>
12
 
13
  <!-- Call to Action -->
14
  <div class="opt-in-hound-promo-box-cta">
15
- <a class="button-primary" href="<?php echo wp_nonce_url( admin_url( 'update.php?action=install-plugin&plugin=opt-in-hound' ), 'install-plugin_opt-in-hound' ); ?>"><?php echo __( 'Install Now', 'social-pug' ); ?></a>
16
  </div>
17
 
18
  <hr />
19
 
20
  <!-- Subscribe from custom opt-ins -->
21
- <h2 class="opt-in-hound-promo-box-sub-title"><strong><?php echo __( 'Subscribe users from custom opt-ins', 'social-pug' ); ?></strong></h2>
22
 
23
  <div class="dpsp-row dpsp-big-padding">
24
  <div class="dpsp-col-1-3">
25
  <div class="browser-window">
26
  <div class="browser-header"></div>
27
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-pop-up.png'; ?>" />
28
  </div>
29
- <h4><?php echo __( 'Email Opt-in Pop-up', 'social-pug' ); ?></h4>
30
- <p><?php echo __( 'Add email opt-in pop-up forms in your posts and pages.', 'social-pug' ); ?></p>
31
  </div>
32
 
33
  <div class="dpsp-col-1-3">
34
  <div class="browser-window">
35
  <div class="browser-header"></div>
36
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-widget.png'; ?>" />
37
  </div>
38
- <h4><?php echo __( 'Email Opt-in Widget', 'social-pug' ); ?></h4>
39
- <p><?php echo __( 'Add email opt-in widget forms in any widget area.', 'social-pug' ); ?></p>
40
  </div>
41
 
42
  <div class="dpsp-col-1-3">
43
  <div class="browser-window">
44
  <div class="browser-header"></div>
45
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-fly-in.png'; ?>" />
46
  </div>
47
- <h4><?php echo __( 'Email Opt-in Fly-in', 'social-pug' ); ?></h4>
48
- <p><?php echo __( 'Add email opt-in fly-in forms in your posts and pages.', 'social-pug' ); ?></p>
49
  </div>
50
  </div>
51
 
@@ -53,29 +53,29 @@
53
  <div class="dpsp-col-1-3">
54
  <div class="browser-window">
55
  <div class="browser-header"></div>
56
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-shortcode.png'; ?>" />
57
  </div>
58
- <h4><?php echo __( 'Email Opt-in Shortcode', 'social-pug' ); ?></h4>
59
- <p><?php echo __( 'Place email opt-in forms anywhere in your pages with the shortcode.', 'social-pug' ); ?></p>
60
  </div>
61
 
62
  <div class="dpsp-col-1-3">
63
  <div class="browser-window">
64
  <div class="browser-header"></div>
65
- <img src="<?php echo DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-after-content.png'; ?>" />
66
  </div>
67
- <h4><?php echo __( 'Email Opt-in After Content', 'social-pug' ); ?></h4>
68
- <p><?php echo __( 'Add email opt-in forms after your posts and pages content.', 'social-pug' ); ?></p>
69
  </div>
70
  </div>
71
 
72
  <hr />
73
 
74
- <h1 class="opt-in-hound-promo-box-title"><span style="display: block;"><?php echo __( 'Simple. Flexible. Reliable.', 'social-pug' ); ?></span></h1>
75
-
76
  <!-- Call to Action -->
77
  <div class="opt-in-hound-promo-box-cta">
78
- <a class="button-primary" href="<?php echo wp_nonce_url( admin_url( 'update.php?action=install-plugin&plugin=opt-in-hound' ), 'install-plugin_opt-in-hound' ); ?>"><?php echo __( 'Install Now', 'social-pug' ); ?></a>
79
  </div>
80
 
81
  <br />
@@ -83,4 +83,4 @@
83
  </div>
84
  </div>
85
 
86
- </div>
2
 
3
  <div id="opt-in-hound-promo-box">
4
  <div id="opt-in-hound-promo-box-banner">
5
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . '/assets/src/img/opt-in-hound-banner.png' ); ?>" />
6
  </div>
7
 
8
  <div id="opt-in-hound-promo-box-inner">
9
 
10
  <!-- Title and Sub-title -->
11
+ <br /><h1 class="opt-in-hound-promo-box-title"><?php esc_html_e( 'Grow Your Email List in a Simple Way', 'social-pug' ); ?><br /><span style="display: block; margin-top: 20px;"><?php esc_html_e( 'Create beautiful email subscription popup and widget forms<br /> with just a few clicks.', 'social-pug' ); ?></span></h1>
12
 
13
  <!-- Call to Action -->
14
  <div class="opt-in-hound-promo-box-cta">
15
+ <a class="button-primary" href="<?php echo esc_url( wp_nonce_url( admin_url( 'update.php?action=install-plugin&plugin=opt-in-hound' ), 'install-plugin_opt-in-hound' ) ); ?>"><?php esc_html_e( 'Install Now', 'social-pug' ); ?></a>
16
  </div>
17
 
18
  <hr />
19
 
20
  <!-- Subscribe from custom opt-ins -->
21
+ <h2 class="opt-in-hound-promo-box-sub-title"><strong><?php esc_html_e( 'Subscribe users from custom opt-ins', 'social-pug' ); ?></strong></h2>
22
 
23
  <div class="dpsp-row dpsp-big-padding">
24
  <div class="dpsp-col-1-3">
25
  <div class="browser-window">
26
  <div class="browser-header"></div>
27
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-pop-up.png' ); ?>" />
28
  </div>
29
+ <h4><?php esc_html_e( 'Email Opt-in Pop-up', 'social-pug' ); ?></h4>
30
+ <p><?php esc_html_e( 'Add email opt-in pop-up forms in your posts and pages.', 'social-pug' ); ?></p>
31
  </div>
32
 
33
  <div class="dpsp-col-1-3">
34
  <div class="browser-window">
35
  <div class="browser-header"></div>
36
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-widget.png' ); ?>" />
37
  </div>
38
+ <h4><?php esc_html_e( 'Email Opt-in Widget', 'social-pug' ); ?></h4>
39
+ <p><?php esc_html_e( 'Add email opt-in widget forms in any widget area.', 'social-pug' ); ?></p>
40
  </div>
41
 
42
  <div class="dpsp-col-1-3">
43
  <div class="browser-window">
44
  <div class="browser-header"></div>
45
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-fly-in.png' ); ?>" />
46
  </div>
47
+ <h4><?php esc_html_e( 'Email Opt-in Fly-in', 'social-pug' ); ?></h4>
48
+ <p><?php esc_html_e( 'Add email opt-in fly-in forms in your posts and pages.', 'social-pug' ); ?></p>
49
  </div>
50
  </div>
51
 
53
  <div class="dpsp-col-1-3">
54
  <div class="browser-window">
55
  <div class="browser-header"></div>
56
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-shortcode.png' ); ?>" />
57
  </div>
58
+ <h4><?php esc_html_e( 'Email Opt-in Shortcode', 'social-pug' ); ?></h4>
59
+ <p><?php esc_html_e( 'Place email opt-in forms anywhere in your pages with the shortcode.', 'social-pug' ); ?></p>
60
  </div>
61
 
62
  <div class="dpsp-col-1-3">
63
  <div class="browser-window">
64
  <div class="browser-header"></div>
65
+ <img src="<?php echo esc_url( DPSP_PLUGIN_DIR_URL . '/assets/src/img/tool-opt-in-icon-after-content.png' ); ?>" />
66
  </div>
67
+ <h4><?php esc_html_e( 'Email Opt-in After Content', 'social-pug' ); ?></h4>
68
+ <p><?php esc_html_e( 'Add email opt-in forms after your posts and pages content.', 'social-pug' ); ?></p>
69
  </div>
70
  </div>
71
 
72
  <hr />
73
 
74
+ <h1 class="opt-in-hound-promo-box-title"><span style="display: block;"><?php esc_html_e( 'Simple. Flexible. Reliable.', 'social-pug' ); ?></span></h1>
75
+
76
  <!-- Call to Action -->
77
  <div class="opt-in-hound-promo-box-cta">
78
+ <a class="button-primary" href="<?php echo esc_url( wp_nonce_url( admin_url( 'update.php?action=install-plugin&plugin=opt-in-hound' ), 'install-plugin_opt-in-hound' ) ); ?>"><?php esc_html_e( 'Install Now', 'social-pug' ); ?></a>
79
  </div>
80
 
81
  <br />
83
  </div>
84
  </div>
85
 
86
+ </div>
inc/admin/views/view-submenu-page-extensions.php CHANGED
@@ -1,86 +1,88 @@
1
  <div class="dpsp-page-wrapper dpsp-page-extensions wrap">
2
 
3
- <h1 class="dpsp-page-title"><?php echo __( 'All Social Share Tools in One Plugin', 'social-pug' ); ?></h1>
4
 
5
- <p><?php echo __( 'Get <a href="https://marketplace.mediavine.com/grow-social-pro/" target="_blank">Grow by Mediavine, Social Pro</a> to have access to even more tools and offer your users a beautiful social sharing experience.', 'social-pug' ); ?></p>
6
 
7
- <p><?php echo __( 'To gain immediate access to the tools below, <a href="https://marketplace.mediavine.com/grow-social-pro/" target="_blank">have a look at our pricing.</a>', 'social-pug' ); ?></p>
8
 
9
  <div class="dpsp-row dpsp-m-padding">
10
  <?php
11
- $tools = array();
12
-
13
- $tools['premium_networks'] = array(
14
- 'name' => __( 'Social Networks Pack', 'social-pug' ),
15
- 'img' => 'assets/dist/extension-networks.' . DPSP_VERSION . '.png',
16
- 'desc' => __( 'Take advantage of all the social networks available.', 'social-pug' ),
17
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=social-networks-pack&amp;utm_campaign=social-pug#social-share-buttons'
18
- );
19
-
20
- $tools['share_mobile'] = array(
21
- 'name' => __( 'Share Mobile Sticky', 'social-pug' ),
22
- 'img' => 'assets/dist/tool-mobile.' . DPSP_VERSION . '.png',
23
- 'desc' => __( 'Add a mobile sticky share footer to your posts and pages.', 'social-pug' ),
24
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-mobile-sticky&amp;utm_campaign=social-pug#share-mobile-sticky'
25
- );
26
-
27
- $tools['share_pop_up'] = array(
28
- 'name' => __( 'Share Pop-Up', 'social-pug' ),
29
- 'img' => 'assets/dist/tool-pop-up.' . DPSP_VERSION . '.png',
30
- 'desc' => __( 'Add a simple share pop-up that has custom triggers.', 'social-pug' ),
31
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-pop-up&amp;utm_campaign=social-pug#share-pop-up'
32
- );
33
-
34
- $tools['share_image'] = array(
35
- 'name' => __( 'Image Hover Pinterest Button', 'social-pug' ),
36
- 'img' => 'assets/dist/tool-image-hover-pinterest.' . DPSP_VERSION . '.png',
37
- 'desc' => __( 'Add a Pinterest button to your single posts images when a user hovers on them.', 'social-pug' ),
38
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-image&amp;utm_campaign=social-pug#share-pinterest-hover'
39
- );
40
-
41
- $tools['follow_widget'] = array(
42
- 'name' => __( 'Follow Buttons Widget', 'social-pug' ),
43
- 'img' => 'assets/dist/tool-follow-widget.' . DPSP_VERSION . '.png',
44
- 'desc' => __( 'Link your social profiles with the help of the follow buttons.', 'social-pug' ),
45
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=follow-buttons-widget&amp;utm_campaign=social-pug#social-share-buttons'
46
- );
47
-
48
- $tools['click_to_tweet'] = array(
49
- 'name' => __( 'Click to Tweet', 'social-pug' ),
50
- 'img' => 'assets/dist/extension-ctt.' . DPSP_VERSION . '.png',
51
- 'desc' => __( 'Add custom tweetable quotes anywhere in your content.', 'social-pug' ),
52
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=click-to-tweet&amp;utm_campaign=social-pug#sharable-quotes'
53
- );
54
-
55
- $tools['branch_shortening'] = array(
56
- 'name' => __( 'Branch Integration', 'social-pug' ),
57
- 'img' => 'assets/dist/extension-branch.' . DPSP_VERSION . '.png',
58
- 'desc' => __( 'Shorten share links with the help of Branch.', 'social-pug' ),
59
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-branch&amp;utm_campaign=social-pug#share-bitly-ga'
60
- );
61
-
62
- $tools['bitly_shortening'] = array(
63
- 'name' => __( 'Bitly Integration', 'social-pug' ),
64
- 'img' => 'assets/dist/extension-bitly.' . DPSP_VERSION . '.png',
65
- 'desc' => __( 'Shorten share links with the help of Bitly.', 'social-pug' ),
66
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-bitly&amp;utm_campaign=social-pug#share-bitly-ga'
67
- );
68
-
69
- $tools['ga_utm_tracking'] = array(
70
- 'name' => __( 'Analytics UTM Tracking', 'social-pug' ),
71
- 'img' => 'assets/dist/extension-ga-utm-tracking.' . DPSP_VERSION . '.png',
72
- 'desc' => __( 'Track shared links with the help of the UTM parameters.', 'social-pug' ),
73
- 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-utm-tracking&amp;utm_campaign=social-pug#share-bitly-ga'
74
- );
75
-
76
- foreach( $tools as $tool_slug => $tool )
77
  dpsp_output_tool_box( $tool_slug, $tool );
 
78
  ?>
79
  </div><!-- End of Share Tools -->
80
 
81
 
82
- <?php /*
83
- <h1 class="dpsp-page-title" style="margin-top: 25px;"><?php echo __( 'Recommended Plugins', 'social-pug' ); ?></h1>
 
84
 
85
  <div class="dpsp-row dpsp-m-padding">
86
  <?php
@@ -97,6 +99,7 @@
97
  dpsp_output_tool_box( $tool_slug, $tool );
98
  ?>
99
  </div><!-- End of Our Plugins -->
100
- */ ?>
 
101
 
102
  </div>
1
  <div class="dpsp-page-wrapper dpsp-page-extensions wrap">
2
 
3
+ <h1 class="dpsp-page-title"><?php esc_html_e( 'All Social Share Tools in One Plugin', 'social-pug' ); ?></h1>
4
 
5
+ <p><?php _e( 'Get <a href="https://marketplace.mediavine.com/grow-social-pro/" target="_blank">Grow Social Pro by Mediavine</a> to have access to even more tools and offer your users a beautiful social sharing experience.', 'social-pug' ); // @codingStandardsIgnoreLine - no user-entered content that needs escaping ?></p>
6
 
7
+ <p><?php _e( 'To gain immediate access to the tools below, <a href="https://marketplace.mediavine.com/grow-social-pro/" target="_blank">have a look at our pricing.</a>', 'social-pug' ); // @codingStandardsIgnoreLine - no user-entered content that needs escaping ?></p>
8
 
9
  <div class="dpsp-row dpsp-m-padding">
10
  <?php
11
+ $tools = [];
12
+
13
+ $tools['premium_networks'] = [
14
+ 'name' => __( 'Social Networks Pack', 'social-pug' ),
15
+ 'img' => 'assets/dist/extension-networks.' . DPSP_VERSION . '.png',
16
+ 'desc' => __( 'Take advantage of all the social networks available.', 'social-pug' ),
17
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=social-networks-pack&amp;utm_campaign=social-pug#social-share-buttons',
18
+ ];
19
+
20
+ $tools['share_mobile'] = [
21
+ 'name' => __( 'Share Mobile Sticky', 'social-pug' ),
22
+ 'img' => 'assets/dist/tool-mobile.' . DPSP_VERSION . '.png',
23
+ 'desc' => __( 'Add a mobile sticky share footer to your posts and pages.', 'social-pug' ),
24
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-mobile-sticky&amp;utm_campaign=social-pug#share-mobile-sticky',
25
+ ];
26
+
27
+ $tools['share_pop_up'] = [
28
+ 'name' => __( 'Share Pop-Up', 'social-pug' ),
29
+ 'img' => 'assets/dist/tool-pop-up.' . DPSP_VERSION . '.png',
30
+ 'desc' => __( 'Add a simple share pop-up that has custom triggers.', 'social-pug' ),
31
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-pop-up&amp;utm_campaign=social-pug#share-pop-up',
32
+ ];
33
+
34
+ $tools['share_image'] = [
35
+ 'name' => __( 'Image Hover Pinterest Button', 'social-pug' ),
36
+ 'img' => 'assets/dist/tool-image-hover-pinterest.' . DPSP_VERSION . '.png',
37
+ 'desc' => __( 'Add a Pinterest button to your single posts images when a user hovers on them.', 'social-pug' ),
38
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-image&amp;utm_campaign=social-pug#share-pinterest-hover',
39
+ ];
40
+
41
+ $tools['follow_widget'] = [
42
+ 'name' => __( 'Follow Buttons Widget', 'social-pug' ),
43
+ 'img' => 'assets/dist/tool-follow-widget.' . DPSP_VERSION . '.png',
44
+ 'desc' => __( 'Link your social profiles with the help of the follow buttons.', 'social-pug' ),
45
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=follow-buttons-widget&amp;utm_campaign=social-pug#social-share-buttons',
46
+ ];
47
+
48
+ $tools['click_to_tweet'] = [
49
+ 'name' => __( 'Click to Tweet', 'social-pug' ),
50
+ 'img' => 'assets/dist/extension-ctt.' . DPSP_VERSION . '.png',
51
+ 'desc' => __( 'Add custom tweetable quotes anywhere in your content.', 'social-pug' ),
52
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=click-to-tweet&amp;utm_campaign=social-pug#sharable-quotes',
53
+ ];
54
+
55
+ $tools['branch_shortening'] = [
56
+ 'name' => __( 'Branch Integration', 'social-pug' ),
57
+ 'img' => 'assets/dist/extension-branch.' . DPSP_VERSION . '.png',
58
+ 'desc' => __( 'Shorten share links with the help of Branch.', 'social-pug' ),
59
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-branch&amp;utm_campaign=social-pug#share-bitly-ga',
60
+ ];
61
+
62
+ $tools['bitly_shortening'] = [
63
+ 'name' => __( 'Bitly Integration', 'social-pug' ),
64
+ 'img' => 'assets/dist/extension-bitly.' . DPSP_VERSION . '.png',
65
+ 'desc' => __( 'Shorten share links with the help of Bitly.', 'social-pug' ),
66
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-bitly&amp;utm_campaign=social-pug#share-bitly-ga',
67
+ ];
68
+
69
+ $tools['ga_utm_tracking'] = [
70
+ 'name' => __( 'Analytics UTM Tracking', 'social-pug' ),
71
+ 'img' => 'assets/dist/extension-ga-utm-tracking.' . DPSP_VERSION . '.png',
72
+ 'desc' => __( 'Track shared links with the help of the UTM parameters.', 'social-pug' ),
73
+ 'url' => 'https://marketplace.mediavine.com/grow-social-pro/?utm_source=plugin-extensions&amp;utm_medium=share-utm-tracking&amp;utm_campaign=social-pug#share-bitly-ga',
74
+ ];
75
+
76
+ foreach ( $tools as $tool_slug => $tool ) {
77
  dpsp_output_tool_box( $tool_slug, $tool );
78
+ }
79
  ?>
80
  </div><!-- End of Share Tools -->
81
 
82
 
83
+ <?php
84
+ /*
85
+ <h1 class="dpsp-page-title" style="margin-top: 25px;"><?php esc_html_e( 'Recommended Plugins', 'social-pug' ); ?></h1>
86
 
87
  <div class="dpsp-row dpsp-m-padding">
88
  <?php
99
  dpsp_output_tool_box( $tool_slug, $tool );
100
  ?>
101
  </div><!-- End of Our Plugins -->
102
+ */
103
+ ?>
104
 
105
  </div>
inc/admin/views/view-submenu-page-settings.php CHANGED
@@ -1,12 +1,11 @@
1
  <div class="dpsp-page-wrapper dpsp-page-settings wrap">
2
 
3
- <h1 class="dpsp-page-title"><?php echo __( 'Settings', 'social-pug' ); ?></h1>
4
 
5
  <form method="post" action="options.php">
6
-
7
  <?php
8
- $dpsp_settings = get_option( 'dpsp_settings', 'not_set' );
9
- settings_fields( 'dpsp_settings' );
10
  ?>
11
 
12
  <!-- General Settings Tab Content -->
@@ -15,13 +14,13 @@
15
  <div class="dpsp-card">
16
 
17
  <div class="dpsp-card-header">
18
- <?php _e( 'Social Identity', 'social-pug' ); ?>
19
  </div>
20
 
21
  <div class="dpsp-card-inner">
22
 
23
- <?php dpsp_settings_field( 'text', 'dpsp_settings[twitter_username]', ( isset($dpsp_settings['twitter_username']) ? $dpsp_settings['twitter_username'] : '' ), __( 'Twitter Username', 'social-pug' ), '' ); ?>
24
- <?php dpsp_settings_field( 'switch', 'dpsp_settings[tweets_have_username]', ( isset( $dpsp_settings['tweets_have_username']) ? $dpsp_settings['tweets_have_username'] : '' ), __( 'Add Twitter Username to all tweets', 'social-pug' ), array('yes') ); ?>
25
 
26
  </div>
27
 
@@ -31,51 +30,94 @@
31
  <div id="dpsp-card-misc" class="dpsp-card">
32
 
33
  <div class="dpsp-card-header">
34
- <?php _e( 'Misc', 'social-pug' ); ?>
35
  </div>
36
 
37
  <div class="dpsp-card-inner">
38
 
39
- <?php dpsp_settings_field( 'select', 'dpsp_settings[facebook_share_counts_provider]', ( isset($dpsp_settings['facebook_share_counts_provider']) ? $dpsp_settings['facebook_share_counts_provider'] : '' ), __( 'Facebook Share Counts Provider', 'social-pug' ), array( 'authorized_app' => __( 'Grow by Mediavine App', 'social-pug' ), 'own_app' => __( 'Facebook Graph API', 'social-pug' ) ) ); ?>
 
 
 
 
 
 
 
40
 
41
  <div class="dpsp-setting-field-wrapper dpsp-setting-field-text dpsp-has-field-label dpsp-setting-field-facebook-authorize-app">
42
 
43
  <?php $facebook_access_token = Mediavine\Grow\Settings::get_setting( 'dpsp_facebook_access_token' ); ?>
44
 
45
- <?php if( ! empty( $facebook_access_token['access_token'] ) && ! empty( $facebook_access_token['expires_in'] ) ): ?>
46
 
47
- <?php if( time() < $facebook_access_token['expires_in'] ): ?>
48
 
49
  <div class="dpsp-setting-field-facebook-app-authorized">
50
  <span class="dashicons dashicons-yes"></span>
51
- <strong><?php echo __( 'Authorized', 'social-pug' ); ?></strong>
52
- <?php echo '- ' . sprintf( __( 'Expires on %s', 'social-pug' ), date( 'F d, Y', absint( $facebook_access_token['expires_in'] ) ) ); ?>
 
 
 
53
  </div>
54
 
55
- <?php else: ?>
56
 
57
  <div class="dpsp-setting-field-facebook-app-authorized-expired">
58
  <span class="dashicons dashicons-warning"></span>
59
- <strong><?php echo __( 'Authorization Expired', 'social-pug' ); ?></strong>
60
- <?php echo '- ' . __( 'Please reauthorize.', 'social-pug' ); ?>
61
  </div>
62
-
63
- <a class="dpsp-button-primary" href="<?php echo add_query_arg( array( 'action' => 'authorize_facebook_app_free', 'referer' => home_url(), 'tkn' => wp_create_nonce( 'dpsp_authorize_facebook_app' ), 'client_url' => urlencode( add_query_arg( array( 'page' => 'dpsp-settings' ), admin_url( 'admin.php' ) ) ) ), 'http://apitest.devpups.com/1.0/' ); ?>"><?php echo __( 'Reauthorize Grow', 'social-pug' ); ?></a>
 
 
 
 
 
 
 
 
 
64
 
65
  <?php endif; ?>
66
 
67
- <?php else: ?>
68
-
69
- <a class="dpsp-button-primary" href="<?php echo add_query_arg( array( 'action' => 'authorize_facebook_app_free', 'referer' => home_url(), 'tkn' => wp_create_nonce( 'dpsp_authorize_facebook_app' ), 'client_url' => urlencode( add_query_arg( array( 'page' => 'dpsp-settings' ), admin_url( 'admin.php' ) ) ) ), 'http://apitest.devpups.com/1.0/' ); ?>"><?php echo __( 'Authorize Grow', 'social-pug' ); ?></a>
 
 
 
 
 
 
 
 
 
 
70
 
71
  <?php endif; ?>
72
 
73
  </div>
74
 
75
- <?php dpsp_settings_field( 'text', 'dpsp_settings[facebook_app_id]', ( isset($dpsp_settings['facebook_app_id']) ? $dpsp_settings['facebook_app_id'] : '' ), __( 'Facebook App ID', 'social-pug' ), '' ); ?>
76
- <?php dpsp_settings_field( 'text', 'dpsp_settings[facebook_app_secret]', ( isset($dpsp_settings['facebook_app_secret']) ? $dpsp_settings['facebook_app_secret'] : '' ), __( 'Facebook App Secret', 'social-pug' ), '' ); ?>
77
- <?php dpsp_settings_field( 'switch', 'dpsp_settings[disable_meta_tags]', ( isset($dpsp_settings['disable_meta_tags']) ? $dpsp_settings['disable_meta_tags'] : '' ), __( 'Disable Open Graph Meta Tags', 'social-pug' ), array('yes') ); ?>
78
- <?php dpsp_settings_field( 'switch', 'dpsp_settings[twitter_share_counts]', ( isset($dpsp_settings['twitter_share_counts']) ? $dpsp_settings['twitter_share_counts'] : '' ), __( 'Enable Twitter Tweet Counts', 'social-pug' ), array('yes'), sprintf( __( 'You will need to register your website on %1$sTwitCount%2$s in order for Growto be able to return the share counts.', 'social-pug' ), '<a href="http://twitcount.com/" target="_blank">', '</a>' ) ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
 
80
  </div>
81
 
@@ -84,8 +126,8 @@
84
  </div><!-- End of General Settings Tab Content -->
85
 
86
  <input type="hidden" name="action" value="update" />
87
- <input type="hidden" name="dpsp_settings[always_update]" value="<?php echo ( isset( $dpsp_settings['always_update'] ) && $dpsp_settings['always_update'] == 1 ? 0 : 1 ); ?>" />
88
- <p class="submit"><input type="submit" class="dpsp-button-primary" value="<?php _e( 'Save Changes' ); ?>" /></p>
89
  </form>
90
  </div>
91
 
1
  <div class="dpsp-page-wrapper dpsp-page-settings wrap">
2
 
3
+ <h1 class="dpsp-page-title"><?php esc_html_e( 'Settings', 'social-pug' ); ?></h1>
4
 
5
  <form method="post" action="options.php">
 
6
  <?php
7
+ $dpsp_settings = get_option( 'dpsp_settings', 'not_set' );
8
+ settings_fields( 'dpsp_settings' );
9
  ?>
10
 
11
  <!-- General Settings Tab Content -->
14
  <div class="dpsp-card">
15
 
16
  <div class="dpsp-card-header">
17
+ <?php esc_html_e( 'Social Identity', 'social-pug' ); ?>
18
  </div>
19
 
20
  <div class="dpsp-card-inner">
21
 
22
+ <?php dpsp_settings_field( 'text', 'dpsp_settings[twitter_username]', ( isset( $dpsp_settings['twitter_username'] ) ? $dpsp_settings['twitter_username'] : '' ), __( 'Twitter Username', 'social-pug' ), '' ); ?>
23
+ <?php dpsp_settings_field( 'switch', 'dpsp_settings[tweets_have_username]', ( isset( $dpsp_settings['tweets_have_username'] ) ? $dpsp_settings['tweets_have_username'] : '' ), __( 'Add Twitter Username to all tweets', 'social-pug' ), [ 'yes' ] ); ?>
24
 
25
  </div>
26
 
30
  <div id="dpsp-card-misc" class="dpsp-card">
31
 
32
  <div class="dpsp-card-header">
33
+ <?php esc_html_e( 'Misc', 'social-pug' ); ?>
34
  </div>
35
 
36
  <div class="dpsp-card-inner">
37
 
38
+ <?php
39
+ dpsp_settings_field(
40
+ 'select', 'dpsp_settings[facebook_share_counts_provider]', ( isset( $dpsp_settings['facebook_share_counts_provider'] ) ? $dpsp_settings['facebook_share_counts_provider'] : '' ), __( 'Facebook Share Counts Provider', 'social-pug' ), [
41
+ 'authorized_app' => __( 'Grow by Mediavine App', 'social-pug' ),
42
+ 'own_app' => __( 'Facebook Graph API', 'social-pug' ),
43
+ ]
44
+ );
45
+ ?>
46
 
47
  <div class="dpsp-setting-field-wrapper dpsp-setting-field-text dpsp-has-field-label dpsp-setting-field-facebook-authorize-app">
48
 
49
  <?php $facebook_access_token = Mediavine\Grow\Settings::get_setting( 'dpsp_facebook_access_token' ); ?>
50
 
51
+ <?php if ( ! empty( $facebook_access_token['access_token'] ) && ! empty( $facebook_access_token['expires_in'] ) ) : ?>
52
 
53
+ <?php if ( time() < $facebook_access_token['expires_in'] ) : ?>
54
 
55
  <div class="dpsp-setting-field-facebook-app-authorized">
56
  <span class="dashicons dashicons-yes"></span>
57
+ <strong><?php esc_html_e( 'Authorized', 'social-pug' ); ?></strong>
58
+ <?php
59
+ // translators: %s
60
+ echo wp_kses_post( '- ' . sprintf( __( 'Expires on %s', 'social-pug' ), date( 'F d, Y', absint( $facebook_access_token['expires_in'] ) ) ) );
61
+ ?>
62
  </div>
63
 
64
+ <?php else : ?>
65
 
66
  <div class="dpsp-setting-field-facebook-app-authorized-expired">
67
  <span class="dashicons dashicons-warning"></span>
68
+ <strong><?php esc_html_e( 'Authorization Expired', 'social-pug' ); ?></strong>
69
+ <?php esc_html_e( '- Please reauthorize.', 'social-pug' ); ?>
70
  </div>
71
+ <?php
72
+ $api_url = add_query_arg(
73
+ [
74
+ 'action' => 'authorize_facebook_app_free',
75
+ 'referer' => home_url(),
76
+ 'tkn' => wp_create_nonce( 'dpsp_authorize_facebook_app' ),
77
+ 'client_url' => urlencode( add_query_arg( [ 'page' => 'dpsp-settings' ], admin_url( 'admin.php' ) ) ), // @codingStandardsIgnoreLine
78
+ ], 'http://apitest.devpups.com/1.0/'
79
+ );
80
+ ?>
81
+ <a class="dpsp-button-primary" href="<?php echo esc_url( $api_url ); ?>"><?php esc_html_e( 'Reauthorize Grow', 'social-pug' ); ?></a>
82
 
83
  <?php endif; ?>
84
 
85
+ <?php else : ?>
86
+ <?php
87
+ $api_url =
88
+ add_query_arg(
89
+ [
90
+ 'action' => 'authorize_facebook_app_free',
91
+ 'referer' => home_url(),
92
+ 'tkn' => wp_create_nonce( 'dpsp_authorize_facebook_app' ),
93
+ 'client_url' => urlencode( add_query_arg( [ 'page' => 'dpsp-settings' ], admin_url( 'admin.php' ) ) ), // @codingStandardsIgnoreLine
94
+ ], 'http://apitest.devpups.com/1.0/'
95
+ );
96
+ ?>
97
+ <a class="dpsp-button-primary" href="<?php echo esc_url( $api_url ); ?>"><?php esc_html_e( 'Authorize Grow', 'social-pug' ); ?></a>
98
 
99
  <?php endif; ?>
100
 
101
  </div>
102
 
103
+ <?php dpsp_settings_field( 'text', 'dpsp_settings[facebook_app_id]', ( isset( $dpsp_settings['facebook_app_id'] ) ? $dpsp_settings['facebook_app_id'] : '' ), __( 'Facebook App ID', 'social-pug' ), '' ); ?>
104
+ <?php dpsp_settings_field( 'text', 'dpsp_settings[facebook_app_secret]', ( isset( $dpsp_settings['facebook_app_secret'] ) ? $dpsp_settings['facebook_app_secret'] : '' ), __( 'Facebook App Secret', 'social-pug' ), '' ); ?>
105
+ <?php dpsp_settings_field( 'switch', 'dpsp_settings[disable_meta_tags]', ( isset( $dpsp_settings['disable_meta_tags'] ) ? $dpsp_settings['disable_meta_tags'] : '' ), __( 'Disable Open Graph Meta Tags', 'social-pug' ), [ 'yes' ] ); ?>
106
+ <?php
107
+ dpsp_settings_field(
108
+ 'switch',
109
+ 'dpsp_settings[twitter_share_counts]',
110
+ ( isset( $dpsp_settings['twitter_share_counts'] ) ? $dpsp_settings['twitter_share_counts'] : '' ),
111
+ __( 'Enable Twitter Tweet Counts', 'social-pug' ),
112
+ [ 'yes' ],
113
+ sprintf(
114
+ // translators: %1$s, %2$s
115
+ __( 'You will need to register your website on %1$sTwitCount%2$s in order for Grow to be able to return the share counts.', 'social-pug' ),
116
+ '<a href="http://twitcount.com/" target="_blank">',
117
+ '</a>'
118
+ )
119
+ );
120
+ ?>
121
 
122
  </div>
123
 
126
  </div><!-- End of General Settings Tab Content -->
127
 
128
  <input type="hidden" name="action" value="update" />
129
+ <input type="hidden" name="dpsp_settings[always_update]" value="<?php echo ( isset( $dpsp_settings['always_update'] ) && 1 === $dpsp_settings['always_update'] ? 0 : 1 ); ?>" />
130
+ <p class="submit"><input type="submit" class="dpsp-button-primary" value="<?php esc_html_e( 'Save Changes' ); ?>" /></p>
131
  </form>
132
  </div>
133
 
inc/admin/views/view-submenu-page-sidebar.php CHANGED
@@ -1,110 +1,132 @@
1
- <form method="post" action="options.php">
2
- <div class="dpsp-page-wrapper dpsp-page-sidebar wrap">
3
-
4
- <?php
5
- $dpsp_location_sidebar = get_option( 'dpsp_location_sidebar', 'not_set' );
6
- settings_fields( 'dpsp_location_sidebar' );
7
- ?>
8
-
9
-
10
- <!-- Page Title -->
11
- <h1 class="dpsp-page-title">
12
- <?php _e('Configure Sidebar Sharing Buttons', 'social-pug'); ?>
13
-
14
- <input type="hidden" name="dpsp_buttons_location" value="dpsp_location_sidebar" />
15
- <input type="hidden" name="dpsp_location_sidebar[active]" value="<?php echo ( isset( $dpsp_location_sidebar["active"] ) ? 1 : '' ); ?>" <?php echo ( !isset( $dpsp_location_sidebar["active"] ) ? 'disabled' : '' ); ?> />
16
- </h1>
17
-
18
- <!-- Networks Selectable and Sortable Panels -->
19
- <div id="dpsp-social-platforms-wrapper" class="dpsp-card">
20
-
21
- <div class="dpsp-card-header">
22
- <?php _e( 'Social Networks', 'social-pug' ); ?>
23
- <a id="dpsp-select-networks" class="dpsp-button-secondary" href="#"><?php echo __( 'Select Networks', 'social-pug' ) ?></a>
24
- </div>
25
-
26
- <div id="dpsp-sortable-networks-empty" class="dpsp-card-inner <?php echo ( empty( $dpsp_location_sidebar['networks'] ) ? 'dpsp-active' : '' ); ?>">
27
- <p><?php _e( 'Select which social buttons to display', 'social-pug' ); ?></p>
28
- </div>
29
-
30
- <?php echo dpsp_output_sortable_networks( ( ! empty( $dpsp_location_sidebar['networks'] ) ? $dpsp_location_sidebar['networks'] : array() ), 'dpsp_location_sidebar' ); ?>
31
-
32
- <?php
33
- $available_networks = dpsp_get_networks();
34
- echo dpsp_output_selectable_networks( $available_networks, ( ! empty( $dpsp_location_sidebar['networks'] ) ? $dpsp_location_sidebar['networks'] : array() ) );
35
- ?>
36
-
37
- </div>
38
-
39
- <!-- General Display Settings -->
40
- <div class="dpsp-card">
41
-
42
- <div class="dpsp-card-header">
43
- <?php _e( 'Display Settings', 'social-pug' ); ?>
44
- </div>
45
-
46
- <div class="dpsp-card-inner">
47
-
48
- <?php dpsp_settings_field( 'select', 'dpsp_location_sidebar[display][shape]', $dpsp_location_sidebar['display']['shape'], __( 'Button shape', 'social-pug' ), array( 'rectangular' => __( 'Rectangular', 'social-pug' ), 'rounded' => __( 'Rounded', 'social-pug' ), 'circle' => __( 'Circle', 'social-pug' ) ) ); ?>
49
-
50
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][icon_animation]', ( isset( $dpsp_location_sidebar['display']['icon_animation']) ? $dpsp_location_sidebar['display']['icon_animation'] : '' ), __( 'Show icon animation', 'social-pug' ), array('yes'), __( 'Will animate the social media icon when the user hovers over the button.', 'social-pug' ) ); ?>
51
-
52
- <?php dpsp_settings_field( 'select', 'dpsp_location_sidebar[display][position]', $dpsp_location_sidebar['display']['position'], __( 'Buttons position', 'social-pug' ), array( 'left' => __( 'Left', 'social-pug' ), 'right' => __( 'Right', 'social-pug' ) ) ); ?>
53
-
54
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_labels]', ( isset( $dpsp_location_sidebar['display']['show_labels']) ? $dpsp_location_sidebar['display']['show_labels'] : '' ), __( 'Show button labels', 'social-pug' ), array('yes') ); ?>
55
-
56
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][spacing]', ( isset( $dpsp_location_sidebar['display']['spacing']) ? $dpsp_location_sidebar['display']['spacing'] : '' ), __( 'Button spacing', 'social-pug' ), array('yes'), __( 'Adds bottom spacing for each button.', 'social-pug' ) ); ?>
57
-
58
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_mobile]', ( isset( $dpsp_location_sidebar['display']['show_mobile']) ? $dpsp_location_sidebar['display']['show_mobile'] : '' ), __( 'Show on mobile', 'social-pug' ), array('yes') ); ?>
59
-
60
- <?php dpsp_settings_field( 'text', 'dpsp_location_sidebar[display][screen_size]', ( isset( $dpsp_location_sidebar['display']['screen_size']) ? $dpsp_location_sidebar['display']['screen_size'] : '' ), __( 'Mobile screen width (pixels)', 'social-pug' ), '', __( 'For screen widths smaller than this value ( in pixels ) the buttons will be displayed on screen if the show on mobile option is checked.', 'social-pug' ) ); ?>
61
-
62
- </div>
63
-
64
- </div>
65
-
66
- <!-- Share Counts -->
67
- <div class="dpsp-card">
68
-
69
- <div class="dpsp-card-header">
70
- <?php _e( 'Buttons Share Counts', 'social-pug' ); ?>
71
- </div>
72
-
73
- <div class="dpsp-card-inner">
74
-
75
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_count]', ( isset( $dpsp_location_sidebar['display']['show_count']) ? $dpsp_location_sidebar['display']['show_count'] : '' ), __( 'Show share count', 'social-pug' ), array('yes'), __( 'Display the share count for each social network.', 'social-pug' ) ); ?>
76
-
77
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_count_total]', ( isset( $dpsp_location_sidebar['display']['show_count_total']) ? $dpsp_location_sidebar['display']['show_count_total'] : '' ), __( 'Show total share count', 'social-pug' ), array('yes'), __( 'Display the share count for all social networks.', 'social-pug' ) ); ?>
78
-
79
- <?php dpsp_settings_field( 'select', 'dpsp_location_sidebar[display][total_count_position]', ( isset( $dpsp_location_sidebar['display']['total_count_position'] ) ? $dpsp_location_sidebar['display']['total_count_position'] : '' ), __( 'Total count position', 'social-pug' ), array( 'before' => __( 'Before Buttons', 'social-pug' ), 'after' => __( 'After Buttons', 'social-pug' ) ) ); ?>
80
-
81
- <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][count_round]', ( isset( $dpsp_location_sidebar['display']['count_round']) ? $dpsp_location_sidebar['display']['count_round'] : '' ), __( 'Share count round', 'social-pug' ), array('yes'), __( 'If the share count for each network is bigger than 1000 it will be rounded to one decimal ( eg. 1267 will show as 1.2k ). Applies to Total Share Counts as well.', 'social-pug' ) ); ?>
82
-
83
- </div>
84
-
85
- </div>
86
-
87
- <!-- Post Type Display Settings -->
88
- <div class="dpsp-card">
89
-
90
- <div class="dpsp-card-header">
91
- <?php _e( 'Post Type Display Settings', 'social-pug' ); ?>
92
- </div>
93
-
94
- <div class="dpsp-card-inner">
95
-
96
- <?php dpsp_settings_field( 'checkbox', 'dpsp_location_sidebar[post_type_display][]', ( isset( $dpsp_location_sidebar['post_type_display']) ? $dpsp_location_sidebar['post_type_display'] : array() ), '', dpsp_get_post_types() ); ?>
97
-
98
- </div>
99
-
100
- </div>
101
-
102
- <!-- Save Changes Button -->
103
- <input type="hidden" name="action" value="update" />
104
- <p class="submit"><input type="submit" class="dpsp-button-primary" value="<?php _e( 'Save Changes' ); ?>" /></p>
105
-
106
- </div>
107
-
108
- </form>
109
-
110
- <?php do_action( 'dpsp_submenu_page_bottom' ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <form method="post" action="options.php">
2
+ <div class="dpsp-page-wrapper dpsp-page-sidebar wrap">
3
+
4
+ <?php
5
+ $dpsp_location_sidebar = get_option( 'dpsp_location_sidebar', 'not_set' );
6
+ settings_fields( 'dpsp_location_sidebar' );
7
+ ?>
8
+
9
+
10
+ <!-- Page Title -->
11
+ <h1 class="dpsp-page-title">
12
+ <?php esc_html_e( 'Configure Sidebar Sharing Buttons', 'social-pug' ); ?>
13
+
14
+ <input type="hidden" name="dpsp_buttons_location" value="dpsp_location_sidebar" />
15
+ <input type="hidden" name="dpsp_location_sidebar[active]" value="<?php echo ( isset( $dpsp_location_sidebar['active'] ) ? 1 : '' ); ?>" <?php echo ( ! isset( $dpsp_location_sidebar['active'] ) ? 'disabled' : '' ); ?> />
16
+ </h1>
17
+
18
+ <!-- Networks Selectable and Sortable Panels -->
19
+ <div id="dpsp-social-platforms-wrapper" class="dpsp-card">
20
+
21
+ <div class="dpsp-card-header">
22
+ <?php esc_html_e( 'Social Networks', 'social-pug' ); ?>
23
+ <a id="dpsp-select-networks" class="dpsp-button-secondary" href="#"><?php esc_html_e( 'Select Networks', 'social-pug' ); ?></a>
24
+ </div>
25
+
26
+ <div id="dpsp-sortable-networks-empty" class="dpsp-card-inner <?php echo ( empty( $dpsp_location_sidebar['networks'] ) ? 'dpsp-active' : '' ); ?>">
27
+ <p><?php esc_html_e( 'Select which social buttons to display', 'social-pug' ); ?></p>
28
+ </div>
29
+
30
+ <?php echo dpsp_output_sortable_networks( ( ! empty( $dpsp_location_sidebar['networks'] ) ? $dpsp_location_sidebar['networks'] : [] ), 'dpsp_location_sidebar' ); // @codingStandardsIgnoreLine — escaping is done in the function ?>
31
+
32
+ <?php
33
+ $available_networks = dpsp_get_networks();
34
+ echo dpsp_output_selectable_networks( $available_networks, ( ! empty( $dpsp_location_sidebar['networks'] ) ? $dpsp_location_sidebar['networks'] : [] ) ); // @codingStandardsIgnoreLine — escaping is done in the function
35
+ ?>
36
+
37
+ </div>
38
+
39
+ <!-- General Display Settings -->
40
+ <div class="dpsp-card">
41
+
42
+ <div class="dpsp-card-header">
43
+ <?php esc_html_e( 'Display Settings', 'social-pug' ); ?>
44
+ </div>
45
+
46
+ <div class="dpsp-card-inner">
47
+
48
+ <?php
49
+ dpsp_settings_field(
50
+ 'select', 'dpsp_location_sidebar[display][shape]', $dpsp_location_sidebar['display']['shape'], __( 'Button shape', 'social-pug' ), [
51
+ 'rectangular' => __( 'Rectangular', 'social-pug' ),
52
+ 'rounded' => __( 'Rounded', 'social-pug' ),
53
+ 'circle' => __( 'Circle', 'social-pug' ),
54
+ ]
55
+ );
56
+ ?>
57
+
58
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][icon_animation]', ( isset( $dpsp_location_sidebar['display']['icon_animation'] ) ? $dpsp_location_sidebar['display']['icon_animation'] : '' ), __( 'Show icon animation', 'social-pug' ), [ 'yes' ], __( 'Will animate the social media icon when the user hovers over the button.', 'social-pug' ) ); ?>
59
+
60
+ <?php
61
+ dpsp_settings_field(
62
+ 'select', 'dpsp_location_sidebar[display][position]', $dpsp_location_sidebar['display']['position'], __( 'Buttons position', 'social-pug' ), [
63
+ 'left' => __( 'Left', 'social-pug' ),
64
+ 'right' => __( 'Right', 'social-pug' ),
65
+ ]
66
+ );
67
+ ?>
68
+
69
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_labels]', ( isset( $dpsp_location_sidebar['display']['show_labels'] ) ? $dpsp_location_sidebar['display']['show_labels'] : '' ), __( 'Show button labels', 'social-pug' ), [ 'yes' ] ); ?>
70
+
71
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][spacing]', ( isset( $dpsp_location_sidebar['display']['spacing'] ) ? $dpsp_location_sidebar['display']['spacing'] : '' ), __( 'Button spacing', 'social-pug' ), [ 'yes' ], __( 'Adds bottom spacing for each button.', 'social-pug' ) ); ?>
72
+
73
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_mobile]', ( isset( $dpsp_location_sidebar['display']['show_mobile'] ) ? $dpsp_location_sidebar['display']['show_mobile'] : '' ), __( 'Show on mobile', 'social-pug' ), [ 'yes' ] ); ?>
74
+
75
+ <?php dpsp_settings_field( 'text', 'dpsp_location_sidebar[display][screen_size]', ( isset( $dpsp_location_sidebar['display']['screen_size'] ) ? $dpsp_location_sidebar['display']['screen_size'] : '' ), __( 'Mobile screen width (pixels)', 'social-pug' ), '', __( 'For screen widths smaller than this value ( in pixels ) the buttons will be displayed on screen if the show on mobile option is checked.', 'social-pug' ) ); ?>
76
+
77
+ </div>
78
+
79
+ </div>
80
+
81
+ <!-- Share Counts -->
82
+ <div class="dpsp-card">
83
+
84
+ <div class="dpsp-card-header">
85
+ <?php esc_html_e( 'Buttons Share Counts', 'social-pug' ); ?>
86
+ </div>
87
+
88
+ <div class="dpsp-card-inner">
89
+
90
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_count]', ( isset( $dpsp_location_sidebar['display']['show_count'] ) ? $dpsp_location_sidebar['display']['show_count'] : '' ), __( 'Show share count', 'social-pug' ), [ 'yes' ], __( 'Display the share count for each social network.', 'social-pug' ) ); ?>
91
+
92
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][show_count_total]', ( isset( $dpsp_location_sidebar['display']['show_count_total'] ) ? $dpsp_location_sidebar['display']['show_count_total'] : '' ), __( 'Show total share count', 'social-pug' ), [ 'yes' ], __( 'Display the share count for all social networks.', 'social-pug' ) ); ?>
93
+
94
+ <?php
95
+ dpsp_settings_field(
96
+ 'select', 'dpsp_location_sidebar[display][total_count_position]', ( isset( $dpsp_location_sidebar['display']['total_count_position'] ) ? $dpsp_location_sidebar['display']['total_count_position'] : '' ), __( 'Total count position', 'social-pug' ), [
97
+ 'before' => __( 'Before Buttons', 'social-pug' ),
98
+ 'after' => __( 'After Buttons', 'social-pug' ),
99
+ ]
100
+ );
101
+ ?>
102
+
103
+ <?php dpsp_settings_field( 'switch', 'dpsp_location_sidebar[display][count_round]', ( isset( $dpsp_location_sidebar['display']['count_round'] ) ? $dpsp_location_sidebar['display']['count_round'] : '' ), __( 'Share count round', 'social-pug' ), [ 'yes' ], __( 'If the share count for each network is bigger than 1000 it will be rounded to one decimal ( eg. 1267 will show as 1.2k ). Applies to Total Share Counts as well.', 'social-pug' ) ); ?>
104
+
105
+ </div>
106
+
107
+ </div>
108
+
109
+ <!-- Post Type Display Settings -->
110
+ <div class="dpsp-card">
111
+
112
+ <div class="dpsp-card-header">
113
+ <?php esc_html_e( 'Post Type Display Settings', 'social-pug' ); ?>
114
+ </div>
115
+
116
+ <div class="dpsp-card-inner">
117
+
118
+ <?php dpsp_settings_field( 'checkbox', 'dpsp_location_sidebar[post_type_display][]', ( isset( $dpsp_location_sidebar['post_type_display'] ) ? $dpsp_location_sidebar['post_type_display'] : [] ), '', dpsp_get_post_types() ); ?>
119
+
120
+ </div>
121
+
122
+ </div>
123
+
124
+ <!-- Save Changes Button -->
125
+ <input type="hidden" name="action" value="update" />
126
+ <p class="submit"><input type="submit" class="dpsp-button-primary" value="<?php esc_html_e( 'Save Changes' ); ?>" /></p>
127
+
128
+ </div>
129
+
130
+ </form>
131
+
132
+ <?php do_action( 'dpsp_submenu_page_bottom' ); ?>
inc/admin/views/view-submenu-page-toolkit.php CHANGED
@@ -1,9 +1,9 @@
1
- <div class="dpsp-page-wrapper dpsp-page-toolkit wrap <?php echo Social_Pug::is_free() ? 'dpsp-page-free' : 'dpsp-page-pro' ?>">
2
 
3
  <?php wp_nonce_field( 'dpsptkn', 'dpsptkn' ); ?>
4
 
5
  <!-- Share Tools -->
6
- <h1 class="dpsp-page-title"><?php echo __( 'Social Share Tools', 'social-pug' ); ?></h1>
7
 
8
  <div class="dpsp-row dpsp-m-padding">
9
  <?php
@@ -20,7 +20,7 @@
20
  <!-- Follow Tools -->
21
  <?php $tools = dpsp_get_tools( 'follow_tool' ); ?>
22
  <?php if ( count( $tools ) ) : ?>
23
- <h1 class="dpsp-page-title"><?php echo __( 'Social Follow Tools', 'social-pug' ); ?></h1>
24
  <div class="dpsp-row dpsp-m-padding">
25
  <?php
26
  foreach ( $tools as $tool_slug => $tool ) {
@@ -34,7 +34,7 @@
34
  <!-- Misc Tools -->
35
  <?php $tools = dpsp_get_tools( 'misc_tool' ); ?>
36
  <?php if ( count( $tools ) ) : ?>
37
- <h1 class="dpsp-page-title"><?php echo __( 'Misc Tools', 'social-pug' ); ?></h1>
38
 
39
  <div class="dpsp-row dpsp-m-padding">
40
  <?php
1
+ <div class="dpsp-page-wrapper dpsp-page-toolkit wrap <?php echo Social_Pug::is_free() ? 'dpsp-page-free' : 'dpsp-page-pro'; ?>">
2
 
3
  <?php wp_nonce_field( 'dpsptkn', 'dpsptkn' ); ?>
4
 
5
  <!-- Share Tools -->
6
+ <h1 class="dpsp-page-title"><?php esc_html_e( 'Social Share Tools', 'social-pug' ); ?></h1>
7
 
8
  <div class="dpsp-row dpsp-m-padding">
9
  <?php
20
  <!-- Follow Tools -->
21
  <?php $tools = dpsp_get_tools( 'follow_tool' ); ?>
22
  <?php if ( count( $tools ) ) : ?>
23
+ <h1 class="dpsp-page-title"><?php esc_html_e( 'Social Follow Tools', 'social-pug' ); ?></h1>
24
  <div class="dpsp-row dpsp-m-padding">
25
  <?php
26
  foreach ( $tools as $tool_slug => $tool ) {
34
  <!-- Misc Tools -->
35
  <?php $tools = dpsp_get_tools( 'misc_tool' ); ?>
36
  <?php if ( count( $tools ) ) : ?>
37
+ <h1 class="dpsp-page-title"><?php esc_html_e( 'Misc Tools', 'social-pug' ); ?></h1>
38
 
39
  <div class="dpsp-row dpsp-m-padding">
40
  <?php
inc/api/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
inc/api/v1/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
inc/api/v1/settings-args.php ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Mediavine\Grow\API\V1\SettingsArgs;
4
+
5
+ use Mediavine\Grow\API\V1\Partials;
6
+
7
+ /**
8
+ * Args accepted by /settings/tool/<slug> endpoint.
9
+ *
10
+ * @return array
11
+ */
12
+ function get_tool_settings() {
13
+ $args = [];
14
+
15
+ $args['slug'] = [
16
+ 'description' => esc_html__( 'Unique slug of the tool for which settings should be got', 'mediavine' ),
17
+ 'validate_callback' => function ( $param, $request, $key ) {
18
+ return is_string( $param );
19
+ },
20
+ 'required' => true,
21
+ ];
22
+
23
+ return $args;
24
+ }
25
+
26
+ function put_tool_settings() {
27
+ $schema = Partials\get_settings_partials();
28
+
29
+ return [
30
+ 'active' => $schema['active'],
31
+ 'button_style' => $schema['button_style'],
32
+ 'display' => [
33
+ 'type' => 'object',
34
+ 'description' => esc_html__( 'Display properties of the button', 'mediavine' ),
35
+ 'properties' => Partials\get_partials_by_keys(
36
+ [
37
+ 'count_round',
38
+ 'custom_color',
39
+ 'custom_hover_color',
40
+ 'icon_animation',
41
+ 'intro_animation',
42
+ 'minimum_individual_count',
43
+ 'position',
44
+ 'column_count',
45
+ 'message',
46
+ 'screen_size',
47
+ 'shape',
48
+ 'show_after_scrolling',
49
+ 'show_count',
50
+ 'show_count_total',
51
+ 'show_labels',
52
+ 'show_mobile',
53
+ 'size',
54
+ 'spacing',
55
+ 'double_inline_content_markup',
56
+ ]
57
+ ),
58
+ ],
59
+ 'networks' => $schema['networks'],
60
+ 'post_type_display' => $schema['post_type_display'],
61
+ ];
62
+ }
63
+
64
+ /**
65
+ * Args accepted by /settings/general endpoint.
66
+ *
67
+ * @return array
68
+ */
69
+ function get_general_settings() {
70
+ $args = [];
71
+
72
+ $args['slug'] = [
73
+ 'description' => esc_html__( 'Unique slug of the tool for which settings should be got', 'mediavine' ),
74
+ 'validate_callback' => function ( $param, $request, $key ) {
75
+ return is_string( $param );
76
+ },
77
+ 'required' => true,
78
+ ];
79
+
80
+ return $args;
81
+ }
82
+
83
+ function put_general_settings() {
84
+ return Partials\get_partials_by_keys(
85
+ [
86
+ 'utm_tracking',
87
+ 'utm_source',
88
+ 'utm_medium',
89
+ 'utm_campaign',
90
+ 'http_and_https_share_counts',
91
+ 'previous_permalink_share_counts',
92
+ 'previous_permalink_structure',
93
+ 'previous_permalink_structure_custom',
94
+ 'previous_domain_share_counts',
95
+ 'previous_base_domain',
96
+ 'branch_key',
97
+ 'branch_custom_id_parameter',
98
+ 'branch_custom_title_parameter',
99
+ 'branch_custom_description_parameter',
100
+ 'branch_custom_image_url_parameter',
101
+ 'branch_custom_date_parameter',
102
+ 'branch_custom_post_url_parameter',
103
+ 'ctt_style',
104
+ 'ctt_link_position',
105
+ 'ctt_link_text',
106
+ 'ctt_link_icon_animation',
107
+ 'product_serial',
108
+ 'mv_grow_license',
109
+ 'facebook_app_id',
110
+ 'facebook_app_secret',
111
+ 'facebook_app_access_token',
112
+ 'facebook_share_counts_provider',
113
+ 'twitter_share_counts',
114
+ 'twitter_share_counts_provider',
115
+ 'shortening_service',
116
+ 'debugger_enabled',
117
+ 'legacy_javascript',
118
+ 'tweets_have_username',
119
+ 'twitter_username',
120
+ 'facebook_username',
121
+ 'pinterest_username',
122
+ 'linkedin_username',
123
+ 'reddit_username',
124
+ 'vkontakte_username',
125
+ 'tumblr_username',
126
+ 'instagram_username',
127
+ 'youtube_username',
128
+ 'vimeo_username',
129
+ 'soundcloud_username',
130
+ 'twitch_username',
131
+ 'yummly_username',
132
+ 'behance_username',
133
+ 'xing_username',
134
+ 'github_username',
135
+ 'telegram_username',
136
+ 'medium_username',
137
+ ]
138
+ );
139
+ }
inc/api/v1/settings-partials.php ADDED
@@ -0,0 +1,413 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ namespace Mediavine\Grow\API\V1\Partials;
5
+
6
+ function get_settings_partials() {
7
+ return [
8
+ 'active' => [
9
+ 'type' => 'boolean',
10
+ 'description' => esc_html__( 'Whether or not this tool is active', 'mediavine' ),
11
+ ],
12
+ 'button_style' => [
13
+ 'type' => 'integer',
14
+ 'description' => esc_html__( 'The style of button to render', 'mediavine' ),
15
+
16
+ ],
17
+ 'count_round' => [
18
+ 'type' => 'boolean',
19
+ 'description' => esc_html__( 'Whether or not to round the share counts', 'mediavine' ),
20
+
21
+ ],
22
+ 'custom_color' => [
23
+ 'type' => 'string',
24
+ 'description' => esc_html__( 'A custom color for the buttons', 'mediavine' ),
25
+ 'format' => 'hex-color',
26
+
27
+ ],
28
+ 'custom_hover_color' => [
29
+ 'type' => 'string',
30
+ 'description' => esc_html__( 'A custom hover color for the buttons', 'mediavine' ),
31
+ 'format' => 'hex-color',
32
+ ],
33
+ 'icon_animation' => [
34
+ 'type' => 'boolean',
35
+ 'description' => esc_html__( 'Whether or not icons can be animated', 'mediavine' ),
36
+
37
+ ],
38
+ 'intro_animation' => [
39
+ 'type' => 'integer',
40
+ 'description' => esc_html__( 'What intro animation to use', 'mediavine' ),
41
+ 'enum' => [
42
+ - 1,
43
+ 0,
44
+ 1,
45
+ ],
46
+ ],
47
+ 'minimum_individual_count' => [
48
+ 'type' => 'integer',
49
+ 'description' => esc_html__( 'Minimum number of share counts for a particular network for those counts to show in the front end', 'mediavine' ),
50
+ ],
51
+ 'position' => [
52
+ 'type' => 'string',
53
+ 'description' => esc_html__( 'Button Position', 'mediavine' ),
54
+ 'enum' => [
55
+ 'left',
56
+ 'right',
57
+ 'top',
58
+ 'bottom',
59
+ 'both',
60
+ ],
61
+ ],
62
+ 'column_count' => [
63
+ 'type' => 'string',
64
+ 'description' => esc_html__( 'Column Count', 'mediavine' ),
65
+ 'enum' => [
66
+ 'auto',
67
+ '1',
68
+ '2',
69
+ '3',
70
+ '4',
71
+ '5',
72
+ '6',
73
+ ],
74
+ ],
75
+ 'message' => [
76
+ 'type' => 'string',
77
+ 'description' => esc_html__( 'Message to appear above share buttons', 'mediavine' ),
78
+ ],
79
+ 'screen_size' => [
80
+ 'type' => 'integer',
81
+ 'description' => esc_html__( 'Number of pixels for a screen width to determine mobile or desktop', 'mediavine' ),
82
+ ],
83
+ 'shape' => [
84
+ 'type' => 'string',
85
+ 'description' => esc_html__( 'Shape of the buttons', 'mediavine' ),
86
+ 'enum' => [
87
+ 'circular',
88
+ 'rounded',
89
+ 'rectangle',
90
+ ],
91
+ ],
92
+ 'show_after_scrolling' => [
93
+ 'type' => 'boolean',
94
+ 'description' => esc_html__( 'Whether or not to show the sidebar only after scrolling', 'mediavine' ),
95
+
96
+ ],
97
+ 'show_count' => [
98
+ 'type' => 'boolean',
99
+ 'description' => esc_html__( 'Whether to show the share count per network', 'mediavine' ),
100
+
101
+ ],
102
+ 'show_count_total' => [
103
+ 'type' => 'boolean',
104
+ 'description' => esc_html__( 'Whether to show the total share count', 'mediavine' ),
105
+
106
+ ],
107
+ 'show_labels' => [
108
+ 'type' => 'boolean',
109
+ 'description' => esc_html__( 'Whether to show labels or not', 'mediavine' ),
110
+
111
+ ],
112
+ 'show_mobile' => [
113
+ 'type' => 'boolean',
114
+ 'description' => esc_html__( 'Whether to show on mobile or not', 'mediavine' ),
115
+
116
+ ],
117
+ 'size' => [
118
+ 'type' => 'string',
119
+ 'description' => esc_html__( 'Button Size', 'mediavine' ),
120
+ 'enum' => [
121
+ 'small',
122
+ 'medium',
123
+ 'large',
124
+ ],
125
+ ],
126
+ 'spacing' => [
127
+ 'type' => 'boolean',
128
+ 'description' => esc_html__( 'Whether buttons should be spaced out or not', 'mediavine' ),
129
+
130
+ ],
131
+
132
+ 'double_inline_content_markup' => [
133
+ 'type' => 'boolean',
134
+ 'description' => esc_html__( 'Whether to allow dupblicate renders of inline content', 'mediavine' ),
135
+ ],
136
+ 'networks' => [
137
+ 'type' => 'array',
138
+ 'items' => [
139
+ 'type' => 'object',
140
+ 'properties' => [
141
+ 'slug' => [
142
+ 'type' => 'string',
143
+ 'description' => esc_html__( 'Slug value for this particular network', 'mediavine' ),
144
+ ],
145
+ 'label' => [
146
+ 'type' => 'string',
147
+ 'description' => esc_html__( 'Label for this particular network', 'mediavine' ),
148
+ ],
149
+ ],
150
+ ],
151
+ ],
152
+ 'post_type_display' => [
153
+ 'type' => 'object',
154
+ 'description' => esc_html__( 'Post types to display the sidebar on', 'mediavine' ),
155
+ 'properties' => [
156
+ 'post' => [
157
+ 'type' => 'boolean',
158
+ 'description' => esc_html__( 'Should this tool show on Posts', 'mediavine' ),
159
+ ],
160
+ 'page' => [
161
+ 'type' => 'boolean',
162
+ 'description' => esc_html__( 'Should this tool show on pages', 'mediavine' ),
163
+ ],
164
+ ],
165
+ ],
166
+ 'utm_tracking' => [
167
+ 'type' => 'boolean',
168
+ 'description' => esc_html__( ' Enable UTM Tracking?', 'mediavine' ),
169
+ ],
170
+ 'utm_source' => [
171
+ 'type' => 'string',
172
+ 'description' => esc_html__( 'UTM Campaign Source', 'mediavine' ),
173
+ ],
174
+ 'utm_medium' => [
175
+ 'type' => 'string',
176
+ 'description' => esc_html__( 'UTM Campaign Medium', 'mediavine' ),
177
+ ],
178
+ 'utm_campaign' => [
179
+ 'type' => 'string',
180
+ 'description' => esc_html__( 'UTM Campaign Name', 'mediavine' ),
181
+ ],
182
+ 'http_and_https_share_counts' => [
183
+ 'type' => 'boolean',
184
+ 'description' => esc_html__( 'Combine HTTP & HTTPS Protocols', 'mediavine' ),
185
+ ],
186
+ 'previous_permalink_share_counts' => [
187
+ 'type' => 'boolean',
188
+ 'description' => esc_html__( 'Combine Previous Permalink Format', 'mediavine' ),
189
+ ],
190
+ 'previous_permalink_structure' => [
191
+ 'type' => 'string',
192
+ 'description' => esc_html__(
193
+ 'Previous Permalink Format
194
+ ', 'mediavine'
195
+ ),
196
+ 'enum' => [
197
+ 'plain',
198
+ '/%year%/%monthnum%/%day%/%postname%/',
199
+ '/%year%/%monthnum%/%postname%/',
200
+ '/archives/%post_id%',
201
+ '/%postname%/',
202
+ 'custom',
203
+ ],
204
+ ],
205
+ 'previous_permalink_structure_custom' => [
206
+ 'type' => 'string',
207
+ 'description' => esc_html__( 'Custom Permalink Format', 'mediavine' ),
208
+ ],
209
+ 'previous_domain_share_counts' => [
210
+ 'type' => 'boolean',
211
+ 'description' => esc_html__( 'Combine Previous Domain', 'mediavine' ),
212
+ ],
213
+ 'previous_base_domain' => [
214
+ 'type' => 'string',
215
+ 'description' => esc_html__( 'Previous Base Domain', 'mediavine' ),
216
+ ],
217
+ 'branch_key' => [
218
+ 'type' => 'string',
219
+ 'description' => esc_html__( 'Branch Key', 'mediavine' ),
220
+ ],
221
+ 'branch_custom_id_parameter' => [
222
+ 'type' => 'string',
223
+ 'description' => esc_html__( 'Branch ID Parameter', 'mediavine' ),
224
+ ],
225
+ 'branch_custom_title_parameter' => [
226
+ 'type' => 'string',
227
+ 'description' => esc_html__( 'Branch Title Parameter', 'mediavine' ),
228
+ ],
229
+ 'branch_custom_description_parameter' => [
230
+ 'type' => 'string',
231
+ 'description' => esc_html__( 'Branch Description Parameter', 'mediavine' ),
232
+ ],
233
+ 'branch_custom_image_url_parameter' => [
234
+ 'type' => 'string',
235
+ 'description' => esc_html__( 'Branch Image URL Parameter', 'mediavine' ),
236
+ ],
237
+ 'branch_custom_date_parameter' => [
238
+ 'type' => 'string',
239
+ 'description' => esc_html__( 'Branch Date Parameter', 'mediavine' ),
240
+ ],
241
+ 'branch_custom_post_url_parameter' => [
242
+ 'type' => 'string',
243
+ 'description' => esc_html__( 'Branch URL Parameter', 'mediavine' ),
244
+ ],
245
+ 'ctt_style' => [
246
+ 'type' => 'string',
247
+ 'description' => esc_html__( 'Tweet Box Theme', 'mediavine' ),
248
+ 'enum' => [
249
+ '1',
250
+ '2',
251
+ '3',
252
+ '4',
253
+ '5',
254
+ ],
255
+ ],
256
+ 'ctt_link_position' => [
257
+ 'type' => 'string',
258
+ 'description' => esc_html__( 'Call to Action Position', 'mediavine' ),
259
+ 'enum' => [
260
+ 'left',
261
+ 'right',
262
+ ],
263
+ ],
264
+ 'ctt_link_text' => [
265
+ 'type' => 'string',
266
+ 'description' => esc_html__( 'Call to Action Text', 'mediavine' ),
267
+ ],
268
+ 'ctt_link_icon_animation' => [
269
+ 'type' => 'boolean',
270
+ 'description' => esc_html__( 'Show Icon Animation', 'mediavine' ),
271
+ ],
272
+ 'product_serial' => [
273
+ 'type' => 'string',
274
+ 'description' => esc_html__( 'Old Serial Number for Social Pug', 'mediavine' ),
275
+ ],
276
+ 'mv_grow_license' => [
277
+ 'type' => 'string',
278
+ 'description' => esc_html__( 'License for Grow Social Pro', 'mediavine' ),
279
+ ],
280
+ 'facebook_app_id' => [
281
+ 'type' => 'string',
282
+ 'description' => esc_html__( 'Facebook App ID for the Graph API', 'mediavine' ),
283
+ ],
284
+ 'facebook_app_secret' => [
285
+ 'type' => 'string',
286
+ 'description' => esc_html__( 'Facebook App Secret for the Graph API', 'mediavine' ),
287
+ ],
288
+ 'facebook_app_access_token' => [
289
+ 'type' => 'string',
290
+ 'description' => esc_html__( 'FB Access token for the Grow Social Pro Facebook App', 'mediavine' ),
291
+ ],
292
+ 'facebook_share_counts_provider' => [
293
+ 'type' => 'string',
294
+ 'description' => esc_html__( 'Provider to use for Facebook Share Counts', 'mediavine' ),
295
+ 'enum' => [
296
+ 'authorized_app',
297
+ 'own_app',
298
+ ],
299
+ ],
300
+ 'twitter_share_counts' => [
301
+ 'type' => 'boolean',
302
+ 'description' => esc_html__( 'Enable Twitter Tweet Counts', 'mediavine' ),
303
+ ],
304
+ 'twitter_share_counts_provider' => [
305
+ 'type' => 'string',
306
+ 'description' => esc_html__( 'Tweet Counts Provider', 'mediavine' ),
307
+ 'enum' => [ 'twitcount' ],
308
+ ],
309
+ 'shortening_service' => [
310
+ 'type' => 'string',
311
+ 'description' => esc_html__( 'WHich Shortening Service to use', 'mediavine' ),
312
+ 'enum' => [
313
+ 'branch',
314
+ 'bitly',
315
+ ],
316
+ ],
317
+ 'debugger_enabled' => [
318
+ 'type' => 'boolean',
319
+ 'description' => esc_html__( 'Enable System Debugger', 'mediavine' ),
320
+ ],
321
+ 'legacy_javascript' => [
322
+ 'type' => 'boolean',
323
+ 'description' => esc_html__( 'Use Legacy jQuery javascript', 'mediavine' ),
324
+ ],
325
+ 'tweets_have_username' => [
326
+ 'type' => 'boolean',
327
+ 'description' => esc_html__( 'Add Twitter Username to all tweets', 'mediavine' ),
328
+ ],
329
+ 'twitter_username' => [
330
+ 'type' => 'string',
331
+ 'description' => esc_html__( 'Twitter Username', 'mediavine' ),
332
+ ],
333
+ 'facebook_username' => [
334
+ 'type' => 'string',
335
+ 'description' => esc_html__( 'Facebook Username', 'mediavine' ),
336
+ ],
337
+ 'pinterest_username' => [
338
+ 'type' => 'string',
339
+ 'description' => esc_html__( 'Pinterest Username', 'mediavine' ),
340
+ ],
341
+ 'linkedin_username' => [
342
+ 'type' => 'string',
343
+ 'description' => esc_html__( 'LinkedIn Username', 'mediavine' ),
344
+ ],
345
+ 'reddit_username' => [
346
+ 'type' => 'string',
347
+ 'description' => esc_html__( 'Reddit Username', 'mediavine' ),
348
+ ],
349
+ 'vkontakte_username' => [
350
+ 'type' => 'string',
351
+ 'description' => esc_html__( 'VKontakte Username', 'mediavine' ),
352
+ ],
353
+ 'tumblr_username' => [
354
+ 'type' => 'string',
355
+ 'description' => esc_html__( 'Tumblr Username', 'mediavine' ),
356
+ ],
357
+ 'instagram_username' => [
358
+ 'type' => 'string',
359
+ 'description' => esc_html__( 'Instagram Username', 'mediavine' ),
360
+ ],
361
+ 'youtube_username' => [
362
+ 'type' => 'string',
363
+ 'description' => esc_html__( 'YouTube Username', 'mediavine' ),
364
+ ],
365
+ 'vimeo_username' => [
366
+ 'type' => 'string',
367
+ 'description' => esc_html__( 'Vimeo Username', 'mediavine' ),
368
+ ],
369
+ 'soundcloud_username' => [
370
+ 'type' => 'string',
371
+ 'description' => esc_html__( 'SoundCloud Username', 'mediavine' ),
372
+ ],
373
+ 'twitch_username' => [
374
+ 'type' => 'string',
375
+ 'description' => esc_html__( 'Twitch Username', 'mediavine' ),
376
+ ],
377
+ 'yummly_username' => [
378
+ 'type' => 'string',
379
+ 'description' => esc_html__( 'Yummly Username', 'mediavine' ),
380
+ ],
381
+ 'behance_username' => [
382
+ 'type' => 'string',
383
+ 'description' => esc_html__( 'Behance Username', 'mediavine' ),
384
+ ],
385
+ 'xing_username' => [
386
+ 'type' => 'string',
387
+ 'description' => esc_html__( 'Xing Username', 'mediavine' ),
388
+ ],
389
+ 'github_username' => [
390
+ 'type' => 'string',
391
+ 'description' => esc_html__( 'GitHub Username', 'mediavine' ),
392
+ ],
393
+ 'telegram_username' => [
394
+ 'type' => 'string',
395
+ 'description' => esc_html__( 'Telegram Username', 'mediavine' ),
396
+ ],
397
+ 'medium_username' => [
398
+ 'type' => 'string',
399
+ 'description' => esc_html__( 'Medium Username', 'mediavine' ),
400
+ ],
401
+ ];
402
+ }
403
+
404
+ /**
405
+ * Get an array of array partials based on the passed keys.
406
+ * @param string[] $properties Array of keys for partials to get
407
+ *
408
+ * @return array[] Array of settings partials
409
+ */
410
+ function get_partials_by_keys( $properties ) {
411
+ $partials = get_settings_partials();
412
+ return array_intersect_key( $partials, array_fill_keys( $properties, '' ) );
413
+ }
inc/api/v1/settings-schema.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Mediavine\Grow\API\V1\SettingsSchema;
4
+
5
+ use Mediavine\Grow\API\V1\Partials;
6
+
7
+ function get_tool_settings() {
8
+ $schema = Partials\get_settings_partials();
9
+
10
+ return [
11
+ 'active' => $schema['active'],
12
+ 'button_style' => $schema['button_style'],
13
+ 'display' => [
14
+ 'type' => 'object',
15
+ 'description' => esc_html__( 'Display properties of the button', 'mediavine' ),
16
+ 'properties' => Partials\get_partials_by_keys(
17
+ [
18
+ 'count_round',
19
+ 'custom_color',
20
+ 'custom_hover_color',
21
+ 'icon_animation',
22
+ 'intro_animation',
23
+ 'minimum_individual_count',
24
+ 'position',
25
+ 'column_count',
26
+ 'message',
27
+ 'screen_size',
28
+ 'shape',
29
+ 'show_after_scrolling',
30
+ 'show_count',
31
+ 'show_count_total',
32
+ 'show_labels',
33
+ 'show_mobile',
34
+ 'size',
35
+ 'spacing',
36
+ 'double_inline_content_markup',
37
+ ]
38
+ ),
39
+ ],
40
+ 'networks' => $schema['networks'],
41
+ 'post_type_display' => $schema['post_type_display'],
42
+ ];
43
+
44
+ }
inc/class-activation.php CHANGED
@@ -1,185 +1,200 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
4
 
5
- if ( class_exists( '\Social_Pug' ) ) {
6
- class Activation extends \Social_Pug {
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
- private static $instance = null;
 
9
 
10
- public static function get_instance() {
11
- if ( null === self::$instance ) {
12
- self::$instance = new self;
13
- self::$instance->init();
14
- }
 
 
 
 
 
 
 
15
 
16
- return self::$instance;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
 
19
- public function init() {
20
- add_action( 'update_option_dpsp_settings', [ $this, 'manage_grow_license' ], 10, 2 );
21
- add_action( 'wp_loaded', [ $this, 'plugin_updated_check' ] );
22
- add_action( 'mv_grow_plugin_updated', [ $this, 'relicense' ], 10 );
23
- add_action( 'wp_loaded', [ $this, 'relicense_check' ] );
 
 
 
 
 
 
 
24
 
25
- register_activation_hook( mv_grow_get_activation_path(), [ $this, 'plugin_activation' ] );
26
- register_deactivation_hook( mv_grow_get_activation_path(), [ $this, 'plugin_deactivation' ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
 
29
- /**
30
- * Runs hook at plugin activation.
31
- *
32
- * The update hook will run a bit later through its own hook.
33
- *
34
- * @return void
35
- */
36
- public function plugin_activation() {
37
- do_action( 'mv_grow_plugin_activated' );
38
  }
39
 
40
- /**
41
- * Runs hook at plugin update.
42
- *
43
- * This runs after all plugins are loaded so it can run after update. It also performs a
44
- * check based on version number, just in case someone updates in a non-conventional way.
45
- * After completing hooks, Grow version number is updated in the db.
46
- *
47
- * @return void
48
- */
49
- public function plugin_updated_check() {
50
- // Only progress if version has changed
51
- if ( get_option( 'mv_grow_version' ) === self::$VERSION ) {
52
- return;
53
- }
54
-
55
- do_action( 'mv_grow_plugin_updated' );
56
- update_option( 'mv_grow_version', self::$VERSION );
57
  }
 
 
 
 
 
58
 
59
- /**
60
- * Runs hook at plugin deactivation.
61
- *
62
- * @return void
63
- */
64
- public function plugin_deactivation() {
65
- do_action( 'mv_grow_plugin_deactivated' );
66
  }
 
 
67
 
68
- /**
69
- * Checks to make sure there's a license, and runs relicense if not found
70
- *
71
- * @return void
72
- */
73
- public function relicense_check() {
74
- if ( ! get_option( 'mv_grow_license' ) ) {
75
- $this->relicense();
76
- }
77
  }
 
 
78
 
79
- public function relicense() {
80
- if ( get_transient( 'mv_grow_relicense_lockout' ) == 'LOCK' ) {
81
- return;
82
- }
83
- set_transient( 'mv_grow_relicense_lockout', 'LOCK', 300 );
84
- $settings = get_option( 'dpsp_settings', [] );
85
- $grow_license = get_option( 'mv_grow_license', false );
86
-
87
- // Remove serial key if it exists, we don't want it exposed
88
- if ( empty( $settings['product_serial'] ) ) {
89
- return;
90
- }
91
-
92
- if ( ! empty( $settings['mv_grow_license'] ) ) {
93
- return;
94
- }
95
-
96
- $params = [
97
- 'serial' => $settings['product_serial'],
98
- 'url' => get_site_url(),
99
- ];
100
-
101
- $url_string = http_build_query( $params );
102
- $response = wp_remote_get( 'https://marketplace.mediavine.com/wp-json/mv-edd/v1/convert?' . $url_string );
103
-
104
- if ( ! is_array( $response ) || is_wp_error( $response ) ) {
105
- return;
106
- }
107
- $headers = $response['headers']; // array of http header lines
108
- $body = json_decode( $response['body'] ); // use the content
109
- error_log( print_r( $body, true ) );
110
- if ( ! $body ) {
111
- error_log( 'No Body Response from Marketplace' );
112
-
113
- return;
114
- }
115
- if ( isset( $body->data ) && $body->data->status === 401 ) {
116
- error_log( 'Access to Marketplace REST API forbidden' );
117
-
118
- return;
119
- }
120
- if ( ! isset( $body->license ) ) {
121
- error_log( 'Response received but no license in response from Marketplace' );
122
-
123
- return;
124
- }
125
- if ( ! isset( $body->license->license_key ) ) {
126
- error_log( print_r( $body->license, true ) );
127
- error_log( 'License in response but missing actual key.' );
128
-
129
- return;
130
- }
131
- $settings['mv_grow_license'] = $body->license->license_key;
132
- update_option( 'dpsp_settings', $settings );
133
- update_option( 'mv_grow_license', $body->license->license_key );
134
- $KernlUpdater = new \MV_GROW_PRO_PluginUpdateChecker_2_0(
135
- 'https://kernl.us/api/v1/updates/5d9de9137dd3c26d2ebaad23/',
136
- mv_grow_get_activation_path(),
137
- 'social-pug',
138
- 1,
139
- 'Grow Social Pro by Mediavine',
140
- 'external_updates-mv-grow'
141
- );
142
-
143
- $KernlUpdater->license = $body->license->license_key;
144
- add_filter( 'puc_check_now-social-pug', '__return_true' );
145
- $KernlUpdater->handleManualCheck();
146
  }
 
 
 
147
 
148
- function validate_license( $old_values, $new_values ) {
149
- $grow_license = $new_values['mv_grow_license'];
150
- update_option( 'mv_grow_license', $new_values['mv_grow_license'] );
151
-
152
- $params = [
153
- 'edd_action' => 'activate_license',
154
- 'item_id' => '28',
155
- 'license' => $grow_license,
156
- 'url' => get_site_url(),
157
- ];
158
-
159
- $url_string = http_build_query( $params );
160
- $result = wp_remote_get( 'https://marketplace.mediavine.com/?' . $url_string );
161
-
162
- $KernlUpdater = new \MV_GROW_PRO_PluginUpdateChecker_2_0(
163
- 'https://kernl.us/api/v1/updates/5d9de9137dd3c26d2ebaad23/',
164
- mv_grow_get_activation_path(),
165
- 'social-pug',
166
- 1,
167
- 'Grow Social Pro by Mediavine',
168
- 'external_updates-mv-grow'
169
- );
170
- $KernlUpdater->license = $grow_license;
171
- add_filter( 'puc_check_now-social-pug', '__return_true' );
172
- $KernlUpdater->handleManualCheck();
173
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
- function manage_grow_license( $old_values, $new_values ) {
176
- $grow_license = null;
177
- if (
178
- isset( $new_values['mv_grow_license'] ) &&
179
- ( $old_values['mv_grow_license'] !== $new_values['mv_grow_license'] )
180
- ) {
181
- $this->validate_license( $old_values, $new_values );
182
- }
 
 
 
 
 
183
  }
184
  }
185
  }
1
  <?php
 
2
  namespace Mediavine\Grow;
3
 
4
+ class Activation extends \Social_Pug {
5
+
6
+ /** @var null */
7
+ private static $instance = null;
8
+
9
+ /**
10
+ *
11
+ *
12
+ * @return Activation|\Social_Pug|null
13
+ */
14
+ public static function get_instance() {
15
+ if ( null === self::$instance ) {
16
+ self::$instance = new self;
17
+ self::$instance->init();
18
+ }
19
 
20
+ return self::$instance;
21
+ }
22
 
23
+ /**
24
+ *
25
+ */
26
+ public function init() {
27
+ add_action( 'update_option_dpsp_settings', [ $this, 'manage_grow_license' ], 10, 2 );
28
+ add_action( 'wp_loaded', [ $this, 'plugin_updated_check' ] );
29
+ add_action( 'mv_grow_plugin_updated', [ $this, 'relicense' ], 10 );
30
+ add_action( 'wp_loaded', [ $this, 'relicense_check' ] );
31
+
32
+ register_activation_hook( mv_grow_get_activation_path(), [ $this, 'plugin_activation' ] );
33
+ register_deactivation_hook( mv_grow_get_activation_path(), [ $this, 'plugin_deactivation' ] );
34
+ }
35
 
36
+ /**
37
+ * Runs hook at plugin activation.
38
+ *
39
+ * The update hook will run a bit later through its own hook.
40
+ *
41
+ * @return void
42
+ */
43
+ public function plugin_activation() {
44
+ do_action( 'mv_grow_plugin_activated' );
45
+ }
46
+
47
+ /**
48
+ * Runs hook at plugin update.
49
+ *
50
+ * This runs after all plugins are loaded so it can run after update. It also performs a
51
+ * check based on version number, just in case someone updates in a non-conventional way.
52
+ * After completing hooks, Grow version number is updated in the db.
53
+ *
54
+ * @return void
55
+ */
56
+ public function plugin_updated_check() {
57
+ // Only progress if version has changed
58
+ if ( get_option( 'mv_grow_version' ) === self::$VERSION ) {
59
+ return;
60
  }
61
 
62
+ do_action( 'mv_grow_plugin_updated' );
63
+ update_option( 'mv_grow_version', self::$VERSION );
64
+ }
65
+
66
+ /**
67
+ * Runs hook at plugin deactivation.
68
+ *
69
+ * @return void
70
+ */
71
+ public function plugin_deactivation() {
72
+ do_action( 'mv_grow_plugin_deactivated' );
73
+ }
74
 
75
+ /**
76
+ * Checks to make sure there's a license, and runs relicense if not found.
77
+ *
78
+ * @return void
79
+ */
80
+ public function relicense_check() {
81
+ if ( ! get_option( 'mv_grow_license' ) ) {
82
+ $this->relicense();
83
+ }
84
+ }
85
+
86
+ /**
87
+ *
88
+ */
89
+ public function relicense() {
90
+ if ( 'LOCK' === get_transient( 'mv_grow_relicense_lockout' ) ) {
91
+ return;
92
+ }
93
+ set_transient( 'mv_grow_relicense_lockout', 'LOCK', 300 );
94
+ $settings = get_option( 'dpsp_settings', [] );
95
+ $grow_license = get_option( 'mv_grow_license', false );
96
+
97
+ // Remove serial key if it exists, we don't want it exposed
98
+ if ( empty( $settings['product_serial'] ) ) {
99
+ return;
100
  }
101
 
102
+ if ( ! empty( $settings['mv_grow_license'] ) ) {
103
+ return;
 
 
 
 
 
 
 
104
  }
105
 
106
+ $params = [
107
+ 'serial' => $settings['product_serial'],
108
+ 'url' => get_site_url(),
109
+ ];
110
+
111
+ $url_string = http_build_query( $params );
112
+ $response = wp_remote_get( 'https://marketplace.mediavine.com/wp-json/mv-edd/v1/convert?' . $url_string );
113
+
114
+ if ( ! is_array( $response ) || is_wp_error( $response ) ) {
115
+ return;
 
 
 
 
 
 
 
116
  }
117
+ $headers = $response['headers']; // array of http header lines
118
+ $body = json_decode( $response['body'] ); // use the content
119
+ error_log( print_r( $body, true ) ); // @codingStandardsIgnoreLine
120
+ if ( ! $body ) {
121
+ error_log( 'No Body Response from Marketplace' ); // @codingStandardsIgnoreLine
122
 
123
+ return;
 
 
 
 
 
 
124
  }
125
+ if ( isset( $body->data ) && 401 === $body->data->status ) {
126
+ error_log( 'Access to Marketplace REST API forbidden' ); // @codingStandardsIgnoreLine
127
 
128
+ return;
 
 
 
 
 
 
 
 
129
  }
130
+ if ( ! isset( $body->license ) ) {
131
+ error_log( 'Response received but no license in response from Marketplace' ); // @codingStandardsIgnoreLine
132
 
133
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  }
135
+ if ( ! isset( $body->license->license_key ) ) {
136
+ error_log( print_r( $body->license, true ) ); // @codingStandardsIgnoreLine
137
+ error_log( 'License in response but missing actual key.' ); // @codingStandardsIgnoreLine
138
 
139
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  }
141
+ $settings['mv_grow_license'] = $body->license->license_key;
142
+ update_option( 'dpsp_settings', $settings );
143
+ update_option( 'mv_grow_license', $body->license->license_key );
144
+ $KernlUpdater = new \MV_GROW_PRO_PluginUpdateChecker_2_0(
145
+ 'https://kernl.us/api/v1/updates/5d9de9137dd3c26d2ebaad23/',
146
+ mv_grow_get_activation_path(),
147
+ 'social-pug',
148
+ 1,
149
+ 'Grow Social Pro by Mediavine',
150
+ 'external_updates-mv-grow'
151
+ );
152
+
153
+ $KernlUpdater->license = $body->license->license_key;
154
+ add_filter( 'puc_check_now-social-pug', '__return_true' );
155
+ $KernlUpdater->handleManualCheck();
156
+ }
157
+
158
+ function validate_license( $old_values, $new_values ) {
159
+ $grow_license = $new_values['mv_grow_license'];
160
+ update_option( 'mv_grow_license', $new_values['mv_grow_license'] );
161
+
162
+ $params = [
163
+ 'edd_action' => 'activate_license',
164
+ 'item_id' => '28',
165
+ 'license' => $grow_license,
166
+ 'url' => get_site_url(),
167
+ ];
168
+
169
+ $url_string = http_build_query( $params );
170
+ $result = wp_remote_get( 'https://marketplace.mediavine.com/?' . $url_string );
171
+
172
+ $KernlUpdater = new \MV_GROW_PRO_PluginUpdateChecker_2_0(
173
+ 'https://kernl.us/api/v1/updates/5d9de9137dd3c26d2ebaad23/',
174
+ mv_grow_get_activation_path(),
175
+ 'social-pug',
176
+ 1,
177
+ 'Grow Social Pro by Mediavine',
178
+ 'external_updates-mv-grow'
179
+ );
180
+ $KernlUpdater->license = $grow_license;
181
+ add_filter( 'puc_check_now-social-pug', '__return_true' );
182
+ $KernlUpdater->handleManualCheck();
183
+ }
184
 
185
+ /**
186
+ *
187
+ *
188
+ * @param $old_values
189
+ * @param $new_values
190
+ */
191
+ function manage_grow_license( $old_values, $new_values ) {
192
+ $grow_license = null;
193
+ if (
194
+ isset( $new_values['mv_grow_license'] ) &&
195
+ ( $old_values['mv_grow_license'] !== $new_values['mv_grow_license'] )
196
+ ) {
197
+ $this->validate_license( $old_values, $new_values );
198
  }
199
  }
200
  }
inc/class-admin-notices.php ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Mediavine\Grow;
3
+
4
+ class Admin_Notices {
5
+
6
+ /** @var null */
7
+ private static $instance = null;
8
+
9
+ /**
10
+ *
11
+ *
12
+ * @return Admin_Notices
13
+ */
14
+ public static function get_instance() {
15
+ if ( null === self::$instance ) {
16
+ self::$instance = new self;
17
+ self::$instance->init();
18
+ }
19
+
20
+ return self::$instance;
21
+ }
22
+
23
+ /**
24
+ *
25
+ */
26
+ public function init() {
27
+ add_action( 'admin_notices', [ $this, 'dpsp_admin_notices' ] );
28
+ add_action( 'admin_notices', [ $this, 'dpsp_admin_notice_initial_setup_nag' ] );
29
+ add_action( 'admin_notices', [ $this, 'dpsp_admin_notice_facebook_access_token_expired' ] );
30
+ add_action( 'admin_notices', [ $this, 'dpsp_admin_notice_google_plus_removal' ] );
31
+ add_action( 'admin_notices', [ $this, 'dpsp_admin_notice_grow_name_change' ] );
32
+ add_action( 'admin_init', [ $this, 'dpsp_admin_notice_dismiss' ] );
33
+ add_action( 'dpsp_first_activation', [ $this, 'dpsp_setup_activation_notices' ] );
34
+ add_filter( 'removable_query_args', [ $this, 'dpsp_removable_query_args' ] );
35
+
36
+ if ( ! \Social_Pug::is_free() ) {
37
+ add_action( 'admin_notices', [ $this, 'dpsp_serial_admin_notification' ] );
38
+ add_action( 'admin_notices', [ $this, 'dpsp_admin_notice_jquery_deprecation' ] );
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Determines if first activation was before or after a specific date
44
+ *
45
+ * @param string $date Date in format: 'h:i m d Y'
46
+ * @return boolean
47
+ */
48
+ public function was_first_activation_after( $date ) {
49
+ $first_activation = Settings::get_setting( 'dpsp_first_activation', '' );
50
+ if ( empty( $first_activation ) ) {
51
+ return true;
52
+ }
53
+
54
+ $date = strtotime( $date );
55
+ if ( ! empty( $date ) && $first_activation > $date ) {
56
+ return true;
57
+ }
58
+
59
+ return false;
60
+ }
61
+
62
+ /**
63
+ * Display admin notices for our pages.
64
+ */
65
+ function dpsp_admin_notices() {
66
+ // Exit if settings updated is not present
67
+ if ( empty( filter_input( INPUT_GET, 'settings-updated' ) ) ) {
68
+ return;
69
+ }
70
+
71
+ $admin_page = ( ! empty( filter_input( INPUT_GET, 'page' ) ) ? filter_input( INPUT_GET, 'page', FILTER_SANITIZE_STRING ) : '' );
72
+
73
+ // Show these notices only on dpsp pages
74
+ if ( false === strpos( $admin_page, 'dpsp' ) || 'dpsp-register-version' === $admin_page ) {
75
+ return;
76
+ }
77
+
78
+ // Get messages
79
+ $message_id = ( ! empty( filter_input( INPUT_GET, 'dpsp_message_id' ) ) ? filter_input( INPUT_GET, 'dpsp_message_id', FILTER_SANITIZE_NUMBER_INT ) : 0 );
80
+ $message = $this->dpsp_get_admin_notice_message( $message_id );
81
+
82
+ $class = ( ! empty( filter_input( INPUT_GET, 'dpsp_message_class' ) ) ? filter_input( INPUT_GET, 'dpsp_message_class', FILTER_SANITIZE_STRING ) : 'updated' );
83
+
84
+ if ( isset( $message ) ) {
85
+ echo '<div class="dpsp-admin-notice notice is-dismissible ' . esc_attr( $class ) . '">';
86
+ echo '<p>' . esc_attr( $message ) . '</p>';
87
+ echo '</div>';
88
+ }
89
+ }
90
+
91
+ /**
92
+ * Returns a human readable message given a message id.
93
+ *
94
+ * @param int $message_id
95
+ * @return mixed
96
+ */
97
+ function dpsp_get_admin_notice_message( $message_id ) {
98
+ $messages = apply_filters(
99
+ 'dpsp_get_admin_notice_message',
100
+ [
101
+ __( 'Settings saved.', 'social-pug' ),
102
+ __( 'Settings imported.', 'social-pug' ),
103
+ __( 'Please select an import file.', 'social-pug' ),
104
+ __( 'Import file is not valid.', 'social-pug' ),
105
+ __( 'Grow Social by Mediavine App authorized successfully.', 'social-pug' ),
106
+ ]
107
+ );
108
+
109
+ return $messages[ $message_id ];
110
+ }
111
+
112
+ /**
113
+ * Adds admin notifications for entering the license serial key.
114
+ */
115
+ function dpsp_serial_admin_notification() {
116
+ if ( ! current_user_can( 'manage_options' ) ) {
117
+ return;
118
+ }
119
+
120
+ $dpsp_settings = Settings::get_setting( 'dpsp_settings' );
121
+
122
+ $serial = ( ! empty( $dpsp_settings['product_serial'] ) ? $dpsp_settings['product_serial'] : '' );
123
+ $license = ( ! empty( $dpsp_settings['mv_grow_license'] ) ? $dpsp_settings['mv_grow_license'] : '' );
124
+ // Check to see if serial is saved in the database
125
+ if ( empty( $serial ) && empty( $license ) ) {
126
+
127
+ $notice_classes = 'dpsp-serial-missing';
128
+ // translators: %1$s is replaced by admin url, %2$s is replaced by store url
129
+ $message = sprintf( __( 'Your <strong>Grow Social Pro by Mediavine</strong> license key is empty. Please <a href="%1$s">register your copy</a> to receive automatic updates and support. <br /><br /> Need a license key? <a class="dpsp-get-license button button-primary" target="_blank" href="%2$s">Get your license here</a>', 'social-pug' ), admin_url( 'admin.php?page=dpsp-settings' ), 'https://marketplace.mediavine.com/grow-social-pro/' );
130
+
131
+ }
132
+
133
+ // Display the notice if notice classes have been added
134
+ if ( isset( $notice_classes ) ) {
135
+ echo '<div class="dpsp-admin-notice notice ' . esc_attr( $notice_classes ) . '">';
136
+ echo '<p>' . wp_kses( $message, View_Loader::get_allowed_tags() ) . '</p>';
137
+
138
+ if ( isset( $extra_content ) ) {
139
+ echo wp_kses_post( $extra_content );
140
+ }
141
+
142
+ echo '</div>';
143
+ }
144
+ }
145
+
146
+ /**
147
+ * Add admin notice to let you know the Facebook access token has expired.
148
+ */
149
+ function dpsp_admin_notice_facebook_access_token_expired() {
150
+ // Do not display this notice if user cannot activate plugins
151
+ if ( ! current_user_can( 'activate_plugins' ) ) {
152
+ return;
153
+ }
154
+
155
+ $facebook_access_token = Settings::get_setting( 'dpsp_facebook_access_token' );
156
+
157
+ // Do not display the notice if the access token is missing
158
+ if ( empty( $facebook_access_token['access_token'] ) || empty( $facebook_access_token['expires_in'] ) ) {
159
+ return;
160
+ }
161
+
162
+ // Do not display the notice if the token isn't expired
163
+ if ( time() < absint( $facebook_access_token['expires_in'] ) ) {
164
+ return;
165
+ }
166
+
167
+ $settings = Settings::get_setting( 'dpsp_settings', [] );
168
+
169
+ // Do not display the notice if the Facebook share count provider isn't set to Grow Social by Mediavine's app
170
+ if ( ! empty( $settings['facebook_share_counts_provider'] ) && 'authorized_app' !== $settings['facebook_share_counts_provider'] ) {
171
+ return;
172
+ }
173
+
174
+ $branding = \Social_Pug::get_branding_name();
175
+
176
+ // Echo the admin notice
177
+ echo '<div class="dpsp-admin-notice notice notice-error">';
178
+ // translators: %s Branding name, free or pro version
179
+ echo '<h4>' . sprintf( esc_html__( '%s Important Notification', 'social-pug' ), esc_html( $branding ) ) . '</h4>';
180
+ // translators: %s Branding name, free or pro version
181
+ echo '<p>' . sprintf( esc_html__( 'Your %s Facebook app authorization has expired. Please reauthorize the app for continued Facebook share counts functionality.', 'social-pug' ), esc_html( $branding ) ) . '</p>';
182
+ echo '<p><a class="dpsp-button-primary" href="' . esc_url( add_query_arg( [ 'page' => 'dpsp-settings' ], admin_url( 'admin.php' ) ) ) . '#dpsp-card-misc">' . esc_html__( 'Reauthorize Grow Social by Mediavine App', 'social-pug' ) . '</a></p>';
183
+ echo '</div>';
184
+ }
185
+
186
+ /**
187
+ * Add admin notice to anounce the removal of Google+.
188
+ */
189
+ function dpsp_admin_notice_google_plus_removal() {
190
+ // Do not display this notice if user cannot activate plugins
191
+ if ( ! current_user_can( 'activate_plugins' ) ) {
192
+ return;
193
+ }
194
+
195
+ // Don't show this if the plugin has been activated after 4th of October 2019
196
+ if ( $this->was_first_activation_after( '2019-04-10 00:00:00' ) ) {
197
+ return;
198
+ }
199
+
200
+ // Do not display this notice for users that have dismissed it
201
+ if ( '' !== get_user_meta( get_current_user_id(), 'dpsp_admin_notice_google_plus_removal', true ) ) {
202
+ return;
203
+ }
204
+
205
+ $branding = \Social_Pug::get_branding_name();
206
+
207
+ // Echo the admin notice
208
+ echo '<div class="dpsp-admin-notice notice notice-error">';
209
+ // translators: %s Branding name, free or pro version
210
+ echo '<h4>' . sprintf( esc_html__( '%s Important Notification', 'social-pug' ), esc_html( $branding ) ) . '</h4>';
211
+ // translators: %s Branding name, free or pro version
212
+ echo '<p>' . sprintf( esc_html__( 'As you may already know, Google+ has shut down on April 2nd. As a result, with this latest update, %s no longer supports Google+ functionality.', 'social-pug' ), esc_html( $branding ) ) . '</p>';
213
+ echo '<p>' . esc_html__( 'Please make sure to verify your settings, your widgets, your shortcodes, and remove any Google+ buttons you may have placed within your website.', 'social-pug' ) . '</p>';
214
+ echo '<p><a href="' . esc_attr( add_query_arg( [ 'dpsp_admin_notice_google_plus_removal' => 1 ] ) ) . '">' . esc_html__( 'Thank you, I understand.', 'social-pug' ) . '</a></p>';
215
+ echo '</div>';
216
+ }
217
+
218
+ /**
219
+ * Add admin notice to announce the name change.
220
+ */
221
+ function dpsp_admin_notice_grow_name_change() {
222
+ // Do not display this notice if user cannot activate plugins
223
+ if ( ! current_user_can( 'activate_plugins' ) ) {
224
+ return;
225
+ }
226
+
227
+ // Don't show this if the plugin has been activated after 30th of November 2019
228
+ if ( $this->was_first_activation_after( '2019-11-30 00:00:00' ) ) {
229
+ return;
230
+ }
231
+
232
+ // Do not display this notice for users that have dismissed it
233
+ if ( '' !== get_user_meta( get_current_user_id(), 'dpsp_admin_notice_grow_name_change', true ) ) {
234
+ return;
235
+ }
236
+
237
+ // Echo the admin notice
238
+ echo '<div class="dpsp-admin-notice dpsp-admin-grow-notice notice notice-info">';
239
+ echo '<div class="notice-img-wrap" >';
240
+ echo '<img src="' . esc_url( DPSP_PLUGIN_DIR_URL . 'assets/dist/grow-logo-sq-navy.' . DPSP_VERSION . '.png' ) . '" />';
241
+ echo '</div>';
242
+ echo '<div class="notice-text-wrap">';
243
+ echo '<h4>' . esc_html__( 'Social Pug is now Grow Social by Mediavine!', 'social-pug' ) . '</h4>';
244
+ echo '<p>' . esc_html__( 'You\'re going to notice some new paint and a new name today and we wanted to let you know what that\'s all about. The short version is that Grow Social by Mediavine is the same plugin you know and love but with a new, larger development team!', 'social-pug' ) . '</p>';
245
+ echo '<p><a href="https://www.mediavine.com/social-pug-is-now-grow-mediavines-new-social-sharing-buttons-marketplace-more/" target="_blank">' . esc_html__( 'Check out the blog post', 'social-pug' ) . '</a>' . esc_html__( ' for all the details on this development and our exciting plans to continue Growing an already awesome plugin.', 'social-pug' ) . '</p>';
246
+ echo '<p class="notice-subtext">' . esc_html__( '(Those who are familiar with Mediavine for our full-service ad management, rest assured that this plugin is totally independent of ads and available to anyone and everyone who wants to Grow their social presence.)', 'social-pug' ) . '</p>';
247
+ echo '<p><a href="' . esc_attr( add_query_arg( [ 'dpsp_admin_notice_grow_name_change' => 1 ] ) ) . '">' . esc_html__( 'Thank you, I understand.', 'social-pug' ) . '</a></p>';
248
+ echo '</div>';
249
+ echo '</div>';
250
+ }
251
+
252
+ /**
253
+ * Add admin notice to announce the deprecation of jQuery JS.
254
+ */
255
+ function dpsp_admin_notice_jquery_deprecation() {
256
+ // Do not display this notice if user cannot activate plugins
257
+ if ( ! current_user_can( 'activate_plugins' ) ) {
258
+ return;
259
+ }
260
+
261
+ // Don't show this if the plugin has been activated after February 28 2021
262
+ if ( $this->was_first_activation_after( '2021-02-28 00:00:00' ) ) {
263
+ return;
264
+ }
265
+
266
+ // Do not display this notice for users that have dismissed it
267
+ if ( '' !== get_user_meta( get_current_user_id(), 'dpsp_admin_notice_optimized_js', true ) ) {
268
+ return;
269
+ }
270
+
271
+ $notice =
272
+ __( '<strong>Your Grow Social Pro by Mediavine JavaScript has been optimized!</strong>', 'social-pug' ) .
273
+ '</p><p>' .
274
+ __( 'The Legacy jQuery version of our JavaScript is now deprecated, and all users have been switched to the Optimized JavaScipt. ', 'social-pug' ) .
275
+ sprintf(
276
+ // translators: Link to contact Mediavine
277
+ __( 'If you find an issue with the optimized settings where you need to revert to the jQuery JavaScript, %s. ', 'social-pug' ),
278
+ '<a href="mailto:grow@mediavine.com">' . __( 'please contact Mediavine', 'social-pug' ) . '</a>'
279
+ ) .
280
+ sprintf(
281
+ // translators: Link to settings
282
+ __( 'You can revert the JavaScript so on the %s.', 'social-pug' ),
283
+ '<a href="' . admin_url( 'admin.php?page=dpsp-settings' ) . '">' . __( 'Grow Settings page under Misc', 'social-pug' ) . '</a>'
284
+ ) .
285
+ '</p><p>' .
286
+ __( '<strong>After July 2021, the jQuery JavaScript will be removed completely.</strong>', 'social-pug' ) .
287
+ '</p><p>' .
288
+ '<a href="' . esc_attr( add_query_arg( [ 'dpsp_admin_notice_optimized_js' => 1 ] ) ) . '">' . __( 'Thank you, I understand.', 'social-pug' ) . '</a>';
289
+
290
+ mv_grow_admin_error_notice( $notice, 'warning dpsp-admin-notice is-dismissible' );
291
+ }
292
+
293
+ /**
294
+ * Add admin notice for initial setup help documentation
295
+ */
296
+ function dpsp_admin_notice_initial_setup_nag() {
297
+ // Do not display this notice if user cannot activate plugins
298
+ if ( ! current_user_can( 'activate_plugins' ) ) {
299
+ return;
300
+ }
301
+
302
+ // Do not display this notice after it has been dismissed
303
+ if ( 'yes' !== Settings::get_setting( 'dpsp_run_setup_info_nag', 'no' ) ) {
304
+ return;
305
+ }
306
+
307
+ // Echo the admin notice
308
+ echo '<div class="dpsp-admin-notice notice notice-info">';
309
+ echo '<a class="notice-dismiss" href="' . esc_attr( add_query_arg( [ 'dpsp_admin_notice_initial_setup_nag' => 1 ] ) ) . '"></a>';
310
+ echo '<h4>' . esc_html__( 'Grow Social by Mediavine Notification', 'social-pug' ) . '</h4>';
311
+ echo '<p>' . esc_html__( 'Looking to get started with Grow Social? Click the button below for a step by step guide to setting everything up!', 'social-pug' ) . '</p>';
312
+ echo '<p><a class="dpsp-button-primary" target="_blank" href="https://product-help.mediavine.com/en/articles/4868647-getting-started-with-grow-social-and-grow-social-pro">' . esc_html__( 'Learn how to set up Grow Social', 'social-pug' ) . '</a></p>';
313
+ echo '</div>';
314
+ }
315
+
316
+ /**
317
+ * Adds an option on first install so initial admin notice is displayed.
318
+ */
319
+ function dpsp_setup_activation_notices() {
320
+ update_option( 'dpsp_run_setup_info_nag', 'yes' );
321
+ }
322
+
323
+ /**
324
+ * Handle admin notices dismissals.
325
+ */
326
+ function dpsp_admin_notice_dismiss() {
327
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_twitter_counts' ) ) ) {
328
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_twitter_counts', 1, true );
329
+ }
330
+
331
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_renew_1' ) ) ) {
332
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_renew_1', 1, true );
333
+ }
334
+
335
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_recovery_system' ) ) ) {
336
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_recovery_system', 1, true );
337
+ }
338
+
339
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_major_update_2_6_0' ) ) ) {
340
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_major_update_2_6_0', 1, true );
341
+ }
342
+
343
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_google_plus_removal' ) ) ) {
344
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_google_plus_removal', 1, true );
345
+ }
346
+
347
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_grow_name_change' ) ) ) {
348
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_grow_name_change', 1, true );
349
+ }
350
+
351
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_optimized_js' ) ) ) {
352
+ add_user_meta( get_current_user_id(), 'dpsp_admin_notice_optimized_js', 1, true );
353
+ }
354
+
355
+ if ( ! empty( filter_input( INPUT_GET, 'dpsp_admin_notice_initial_setup_nag' ) ) ) {
356
+ update_option( 'dpsp_run_setup_info_nag', 'no' );
357
+ }
358
+ }
359
+
360
+ /**
361
+ * Remove dpsp query args from the URL.
362
+ *
363
+ * @param array $removable_query_args The args that WP will remove
364
+ * @return array
365
+ */
366
+ function dpsp_removable_query_args( $removable_query_args ) {
367
+ $new_args = [ 'dpsp_message_id', 'dpsp_message_class', 'dpsp_admin_notice_dismiss_button_icon_animation', 'dpsp_admin_notice_activate_button_icon_animation', 'dpsp_admin_notice_activate_button_icon_animation_done' ];
368
+
369
+ return array_merge( $new_args, $removable_query_args );
370
+ }
371
+ }
inc/class-asset-loader.php CHANGED
@@ -1,175 +1,175 @@
1
  <?php
2
  namespace Mediavine\Grow;
3
 
4
- if ( class_exists( 'Social_Pug' ) ) {
5
-
6
- class Asset_Loader extends \Social_Pug {
7
- private static $instance = null;
8
-
9
- /**
10
- * @var string $script_handle WordPress handle for front end js
11
- */
12
- public static $script_handle = 'dpsp-frontend-js-pro';
13
-
14
- /**
15
- * @var string $style_handle WordPress handle for front end css
16
- */
17
- public static $style_handle = 'dpsp-frontend-style-pro';
18
-
19
- /**
20
- * Get instance of Class
21
- * @return Asset_Loader
22
- */
23
- public static function get_instance() {
24
- if ( null === self::$instance ) {
25
- self::$instance = new self();
26
- self::$instance->init();
27
- }
28
-
29
- return self::$instance;
30
  }
31
 
32
- /**
33
- * Set up hooks
34
- */
35
- public function init() {
36
- add_filter( 'script_loader_tag', [ $this, 'add_async_attribute' ], 10, 2 );
37
- add_filter( 'style_loader_tag', [ $this, 'add_async_styles' ], 10, 3 );
38
- }
39
 
40
- /**
41
- * Add async attributes to Script tag
42
- * @param $tag
43
- * @param $handle
44
- *
45
- * @return string|string[]
46
- */
47
- public function add_async_attribute( $tag, $handle ) {
48
- if ( substr( $handle, 0, strlen( self::$script_handle ) ) === self::$script_handle ) {
49
- $tag = str_replace( ' src', ' async data-noptimize src', $tag );
50
- }
51
 
52
- return $tag;
 
 
 
 
 
 
 
 
 
53
  }
54
 
55
- /**
56
- * Adds async when we aren't sure if styles are needed
57
- *
58
- * @param string $tag script tag to be outputted
59
- * @param string $handle enqueue handle
60
- * @param string $href Value for tag
61
- *
62
- * @return string script tag to be outputted
63
- */
64
- public static function add_async_styles( $tag, $handle, $href ) {
65
- if ( self::will_style() ) {
66
- return $tag;
67
- }
68
- $prefix = self::$style_handle;
69
- if ( substr( $handle, 0, strlen( $prefix ) ) === $prefix ) {
70
- $tag = '<link rel="preload" class="mv-grow-style" href="' . $href . '" as="style">' .
71
- "<noscript>$tag</noscript>";
72
- }
73
 
 
 
 
 
 
 
 
 
 
 
74
  return $tag;
75
  }
 
 
 
 
76
 
 
 
77
 
78
- /**
79
- * Register the Scripts and Styles that will run in the front end
80
- */
81
- public static function register_front_end_scripts() {
82
-
83
- // Development mode activated via filter
84
- $IS_DEVELOPMENT = apply_filters( 'mv_grow_dev_mode', false );
85
 
86
- $settings = Settings::get_setting( 'dpsp_settings' );
87
 
88
- $is_free = \Social_Pug::is_free();
89
 
90
- $script_filename = $is_free ? 'front-end-free' : 'front-end-pro';
91
 
92
- if ( $IS_DEVELOPMENT ) {
93
- if ( isset( $settings['legacy_javascript'] ) && $settings['legacy_javascript'] ) {
94
- wp_register_style( self::$style_handle, self::$PLUGIN_DIR . 'assets/dist/dev-entry-jquery.css', [], self::$VERSION );
95
- wp_register_script( self::$script_handle, self::$PLUGIN_DIR . 'assets/dist/dev-entry-jquery.js', [ 'jquery' ], self::$VERSION, true );
96
- } else {
97
- wp_register_style( self::$style_handle, self::$PLUGIN_DIR . 'assets/dist/dev-entry.css', [], self::$VERSION );
98
- wp_register_script( self::$script_handle, self::$PLUGIN_DIR . 'assets/dist/dev-entry.js', [], self::$VERSION, true );
99
- }
100
  } else {
101
- if ( isset( $settings['legacy_javascript'] ) && $settings['legacy_javascript'] && ! $is_free ) {
102
- wp_register_style( self::$style_handle, self::$PLUGIN_DIR . 'assets/dist/style-frontend-pro-jquery.' . self::$VERSION . '.css', [], self::$VERSION );
103
- wp_register_script( self::$script_handle, self::$PLUGIN_DIR . 'assets/dist/front-end-pro-jquery.' . self::$VERSION . '.js', [ 'jquery' ], self::$VERSION, true );
104
- } else {
105
- wp_register_style( self::$style_handle, self::$PLUGIN_DIR . 'assets/dist/style-frontend-pro.' . self::$VERSION . '.css', [], self::$VERSION );
106
- wp_register_script( self::$script_handle, self::$PLUGIN_DIR . 'assets/dist/' . $script_filename . '.' . self::$VERSION . '.js', [], self::$VERSION, true );
107
- }
 
 
 
108
  }
109
-
110
  }
 
111
 
112
- /**
113
- * Enqueue Style and Script
114
- */
115
- public static function enqueue_scripts() {
116
- do_action( 'dpsp_pre_enqueue_frontend_scripts' );
117
- wp_enqueue_style( self::$style_handle );
118
- wp_enqueue_script( self::$script_handle );
119
- do_action( 'dpsp_post_enqueue_frontend_scripts' );
120
- }
121
 
122
- /**
123
- * Determine if Styles are definitely needed, or defer that decision later on
124
- * @return bool
125
- */
126
- public static function will_style() {
127
- $should_load = false;
128
- // Always load if on admin
129
- if ( is_admin() ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  $should_load = true;
131
  }
132
- $active_tools = dpsp_get_active_tools();
133
- $single_only_tools = [
134
- 'share_content',
135
- 'share_sidebar',
136
- 'share_images',
137
- 'share_sticky_bar',
138
- 'share_pop_up',
139
- ];
140
- $widget_tools = [ 'follow_widget' ];
141
- if ( is_singular() ) {
142
- $should_load = $should_load ? true : count( array_intersect( $single_only_tools, $active_tools ) ) > 0;
143
- }
144
- foreach ( $widget_tools as $tool ) {
145
- if ( in_array( $tool, $active_tools ) ) {
146
- $should_load = true;
147
- }
148
- }
149
- return apply_filters( 'mv_grow_styles_should_enqueue', $should_load );
150
  }
151
 
152
- /**
153
- * Dequeue Scripts if not needed
154
- */
155
- public static function maybe_dequeue() {
156
- $should_load = false;
157
- $active_tools = dpsp_get_active_tools();
158
- $single_only_tools = [
159
- 'share_content',
160
- 'share_sidebar',
161
- 'share_images',
162
- 'share_sticky_bar',
163
- 'share_pop_up',
164
- ];
165
- if ( is_singular() ) {
166
- $should_load = $should_load ? true : count( array_intersect( $single_only_tools, $active_tools ) ) > 0;
167
- }
168
- $should_load = apply_filters( 'mv_grow_scripts_should_enqueue', $should_load );
169
- if ( ! $should_load ) {
170
- wp_dequeue_script( self::$script_handle );
171
- }
 
 
172
  }
173
  }
174
 
 
 
 
 
 
 
175
  }
1
  <?php
2
  namespace Mediavine\Grow;
3
 
4
+ class Asset_Loader extends \Social_Pug {
5
+
6
+ /** @var null|self Singleton instance of the class */
7
+ private static $instance = null;
8
+
9
+ /** @var string $script_handle WordPress handle for front end JS */
10
+ public static $script_handle = 'dpsp-frontend-js-pro';
11
+
12
+ /** @var string $style_handle WordPress handle for front end CSS */
13
+ public static $style_handle = 'dpsp-frontend-style-pro';
14
+
15
+ /**
16
+ * Get instance of Class.
17
+ *
18
+ * @return Asset_Loader
19
+ */
20
+ public static function get_instance() {
21
+ if ( null === self::$instance ) {
22
+ self::$instance = new self();
23
+ self::$instance->init();
 
 
 
 
 
 
24
  }
25
 
26
+ return self::$instance;
27
+ }
 
 
 
 
 
28
 
29
+ /**
30
+ * Set up hooks.
31
+ */
32
+ public function init() {
33
+ add_filter( 'script_loader_tag', [ $this, 'add_async_attribute' ], 10, 2 );
34
+ add_filter( 'style_loader_tag', [ $this, 'add_async_styles' ], 10, 3 );
35
+ add_action( 'wp_head', [ $this, 'output_inline_styles' ] );
36
+ }
 
 
 
37
 
38
+ /**
39
+ * Add async attributes to Script tag.
40
+ *
41
+ * @param $tag
42
+ * @param $handle
43
+ * @return string|string[]
44
+ */
45
+ public function add_async_attribute( $tag, $handle ) {
46
+ if ( substr( $handle, 0, strlen( self::$script_handle ) ) === self::$script_handle ) {
47
+ $tag = str_replace( ' src', ' async data-noptimize src', $tag );
48
  }
49
 
50
+ return $tag;
51
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
+ /**
54
+ * Adds async when we aren't sure if styles are needed
55
+ *
56
+ * @param string $tag script tag to be outputted
57
+ * @param string $handle enqueue handle
58
+ * @param string $href Value for tag
59
+ * @return string script tag to be outputted
60
+ */
61
+ public static function add_async_styles( $tag, $handle, $href ) {
62
+ if ( self::will_style() ) {
63
  return $tag;
64
  }
65
+ $prefix = self::$style_handle;
66
+ if ( substr( $handle, 0, strlen( $prefix ) ) === $prefix ) {
67
+ $tag = '<link rel="preload" class="mv-grow-style" href="' . $href . '" as="style">' . "<noscript>$tag</noscript>";
68
+ }
69
 
70
+ return $tag;
71
+ }
72
 
73
+ /**
74
+ * Register the Scripts and Styles that will run in the front end.
75
+ */
76
+ public static function register_front_end_scripts() {
77
+ // Development mode activated via filter
78
+ $IS_DEVELOPMENT = apply_filters( 'mv_grow_dev_mode', false );
 
79
 
80
+ $settings = Settings::get_setting( 'dpsp_settings' );
81
 
82
+ $is_free = \Social_Pug::is_free();
83
 
84
+ $script_filename = $is_free ? 'front-end-free' : 'front-end-pro';
85
 
86
+ if ( $IS_DEVELOPMENT ) {
87
+ if ( isset( $settings['legacy_javascript'] ) && $settings['legacy_javascript'] ) {
88
+ wp_register_style( self::$style_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/dev-entry-jquery.css', [], self::$VERSION );
89
+ wp_register_script( self::$script_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/dev-entry-jquery.js', [ 'jquery' ], self::$VERSION, true );
 
 
 
 
90
  } else {
91
+ wp_register_style( self::$style_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/dev-entry.css', [], self::$VERSION );
92
+ wp_register_script( self::$script_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/dev-entry.js', [], self::$VERSION, true );
93
+ }
94
+ } else {
95
+ if ( isset( $settings['legacy_javascript'] ) && $settings['legacy_javascript'] && ! $is_free ) {
96
+ wp_register_style( self::$style_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/style-frontend-pro-jquery.' . self::$VERSION . '.css', [], self::$VERSION );
97
+ wp_register_script( self::$script_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/front-end-pro-jquery.' . self::$VERSION . '.js', [ 'jquery' ], self::$VERSION, true );
98
+ } else {
99
+ wp_register_style( self::$style_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/style-frontend-pro.' . self::$VERSION . '.css', [], self::$VERSION );
100
+ wp_register_script( self::$script_handle, DPSP_PLUGIN_DIR_URL . 'assets/dist/' . $script_filename . '.' . self::$VERSION . '.js', [], self::$VERSION, true );
101
  }
 
102
  }
103
+ }
104
 
105
+ /**
106
+ * Enqueue Style and Script.
107
+ */
108
+ public static function enqueue_scripts() {
109
+ do_action( 'dpsp_pre_enqueue_frontend_scripts' );
110
+ wp_enqueue_style( self::$style_handle );
111
+ wp_enqueue_script( self::$script_handle );
112
+ do_action( 'dpsp_post_enqueue_frontend_scripts' );
113
+ }
114
 
115
+ /**
116
+ * Determine if Styles are definitely needed, or defer that decision later on.
117
+ *
118
+ * @return bool
119
+ */
120
+ public static function will_style() {
121
+ $should_load = false;
122
+ // Always load if on admin
123
+ if ( is_admin() ) {
124
+ $should_load = true;
125
+ }
126
+ $active_tools = dpsp_get_active_tools();
127
+ $single_only_tools = [
128
+ 'share_content',
129
+ 'share_sidebar',
130
+ 'share_images',
131
+ 'share_sticky_bar',
132
+ 'share_pop_up',
133
+ ];
134
+ $widget_tools = [ 'follow_widget' ];
135
+ if ( is_singular() ) {
136
+ $should_load = $should_load ? true : count( array_intersect( $single_only_tools, $active_tools ) ) > 0;
137
+ }
138
+ foreach ( $widget_tools as $tool ) {
139
+ if ( in_array( $tool, $active_tools, true ) ) {
140
  $should_load = true;
141
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  }
143
 
144
+ return apply_filters( 'mv_grow_styles_should_enqueue', $should_load );
145
+ }
146
+
147
+ /**
148
+ * Dequeue Scripts if not needed.
149
+ */
150
+ public static function maybe_dequeue() {
151
+ $should_load = false;
152
+ $active_tools = dpsp_get_active_tools();
153
+ $single_only_tools = [
154
+ 'share_content',
155
+ 'share_sidebar',
156
+ 'share_images',
157
+ 'share_sticky_bar',
158
+ 'share_pop_up',
159
+ ];
160
+ if ( is_singular() ) {
161
+ $should_load = $should_load ? true : count( array_intersect( $single_only_tools, $active_tools ) ) > 0;
162
+ }
163
+ $should_load = apply_filters( 'mv_grow_scripts_should_enqueue', $should_load );
164
+ if ( ! $should_load ) {
165
+ wp_dequeue_script( self::$script_handle );
166
  }
167
  }
168
 
169
+ /**
170
+ * Echo accumulated inline styles into the <head> of the document, this function called by wp_head hook.
171
+ */
172
+ public function output_inline_styles() {
173
+ echo '<style type="text/css" data-source="Grow Social by Mediavine">' . esc_attr( apply_filters( 'dpsp_output_inline_style', '' ) ) . '</style>';
174
+ }
175
  }
inc/class-color-utilities.php CHANGED
@@ -1,166 +1,166 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
4
 
5
- if ( class_exists( 'Social_Pug' ) ) {
 
 
 
6
 
7
  /**
8
- * Class Color_Utilities
9
- * @package Mediavine\Grow
 
10
  */
11
- class Color_Utilities extends \Social_Pug {
12
- private static $instance = null;
 
 
 
13
 
14
- public static function get_instance() {
15
- if ( null === self::$instance ) {
16
- self::$instance = new self();
17
- self::$instance->init();
18
- }
19
 
20
- return self::$instance;
21
- }
 
 
 
22
 
23
- /**
24
- * Init function in case it is needed in the future
25
- */
26
- public function init() {
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
28
-
29
- /**
30
- * @param $hex string Hexadecimal value to convert to rgb component array
31
- *
32
- * @return array rgb component array
33
- */
34
- public static function hex_to_rgb( $hex ) {
35
- $hex = ltrim( $hex, '#' );
36
- if ( strlen( $hex ) === 3 ) {
37
- $hex_component = str_split( $hex );
38
- } else {
39
- $hex_component = [
40
- $hex[0] . $hex[1],
41
- $hex[2] . $hex[3],
42
- $hex[4] . $hex[5],
43
- ];
44
- }
45
- $rgb_component = [];
46
- foreach ( $hex_component as $component ) {
47
- $rgb_component[] = hexdec( $component );
48
- }
49
-
50
- return $rgb_component;
51
  }
52
 
53
- /**
54
- * Convert an RGB component array into a hexadecimal string ready for css
55
- *
56
- * @param array $color Array of decimal values representing an RGB color
57
- *
58
- * @return string Representation of a color as a hexadecimal string ready to be used in css strings
59
- */
60
- public static function rgb_to_hex( $color ) {
61
- // Join converted components together to create color string
62
- return '#' . implode( '', array_map( function ( $component ) {
 
 
 
 
63
  // Convert Decimal value to a hex string then make sure it has two characters
64
  return str_pad( strval( dechex( $component ) ), 2, '0', STR_PAD_LEFT );
65
- }, $color ) );
66
- }
 
 
67
 
68
- /**
69
- * Determine if a given color is light
70
- * @link https://www.w3.org/TR/AERT/#color-contrast for reference on the luminance constants for RGB values
71
- *
72
- * @param $color array|string Color to check against, it will be converted to component array format if it is not already in that format
73
- *
74
- * @return bool
75
- */
76
- public static function is_light( $color ) {
77
- $color = self::convert_color( $color );
78
- // Apply constants for perceived brightness against RGB values for sRGB color space, add together, then reduce to a value between 0 and 1 to compare against.
79
- $luminance = ( 0.299 * $color[0] + 0.587 * $color[1] + 0.114 * $color[2] ) / 255;
80
-
81
- return $luminance > 0.5;
82
- }
83
 
84
- /**
85
- * Determine if a given color is considered dark
86
- *
87
- * @param $color
88
- *
89
- * @return bool
90
- */
91
- public static function is_dark( $color ) {
92
- return ! self::is_light( $color );
93
- }
94
 
95
- /**
96
- * If a color passed in needs to be converted to a component array format, do so, otherwise
97
- * return the color passed in.
98
- *
99
- * @param $color array|string the color to be converted
100
- *
101
- * @return array|string The color passed in in the proper format
102
- */
103
- public static function convert_color( $color ) {
104
- if ( is_array( $color ) ) {
105
- // Color is already in a format we want it
106
- return $color;
107
- }
108
- if ( is_string( $color ) && strpos( $color, '#' ) === 0 ) {
109
- // Color is hexadecimal string
110
- return self::hex_to_rgb( $color );
111
- };
112
- // @TODO Add detection for rgb css strings
113
- // If it's not a format recognized by the class, return white to fail somewhat gracefully
114
- return [ 255, 255, 255 ];
115
- }
116
 
117
- /**
118
- * Get an appropriate color for text based on given background color
119
- *
120
- * @param $bg_color string|array Background Color to get appropriate text color for
121
- *
122
- * @return string $text_color Hexadecimal string representing appropriately contrasting color for text given the background color
123
- */
124
- public static function get_readable_text( $bg_color ) {
125
- $bg_color = self::convert_color( $bg_color );
126
- $text_color = '#eee';
127
- if ( self::is_light( $bg_color ) ) {
128
- $text_color = '#333';
129
- }
130
-
131
- return $text_color;
132
  }
 
 
 
 
 
 
 
 
133
 
 
 
 
 
 
 
 
 
 
 
 
 
134
 
135
- /**
136
- * @param string|array $color Hexadecimal string or RGB component array representing a color
137
- * @param number $darker Amount to darken color by
138
- *
139
- * @return string Hexadecimal representation of darker color ready for css inclusion
140
- */
141
- public static function darken( $color, $darker ) {
142
- $color = self::convert_color( $color );
143
- $darker = ( $darker > 1 ) ? $darker : 1;
144
-
145
- $darkened = array_map( function ( $component ) use ( $darker ) {
146
- return floor( $component / $darker );
147
- }, $color );
148
 
149
- return self::rgb_to_hex( $darkened );
150
- }
 
 
 
 
 
 
 
 
151
 
152
- /**
153
- * @param string|array $color Hexadecimal string or RGB component array representing a color
154
- * @param number $opacity How opaque the color should be, range from 0 to 1
155
- *
156
- * @return string RGBA string ready for css inclusion
157
- */
158
- public static function opacity( $color, $opacity ) {
159
- $color = self::convert_color( $color );
160
 
161
- return 'rgba(' . implode( ', ', $color ) . ', ' . $opacity . ')';
162
- }
163
  }
164
 
165
-
 
 
 
 
 
 
 
 
 
 
166
  }
1
  <?php
 
2
  namespace Mediavine\Grow;
3
 
4
+ class Color_Utilities extends \Social_Pug {
5
+
6
+ /** @var null */
7
+ private static $instance = null;
8
 
9
  /**
10
+ *
11
+ *
12
+ * @return Color_Utilities|\Social_Pug|null
13
  */
14
+ public static function get_instance() {
15
+ if ( null === self::$instance ) {
16
+ self::$instance = new self();
17
+ self::$instance->init();
18
+ }
19
 
20
+ return self::$instance;
21
+ }
 
 
 
22
 
23
+ /**
24
+ * Init function in case it is needed in the future.
25
+ */
26
+ public function init() {
27
+ }
28
 
29
+ /**
30
+ *
31
+ *
32
+ * @param $hex string Hexadecimal value to convert to rgb component array
33
+ * @return array rgb component array
34
+ */
35
+ public static function hex_to_rgb( $hex ) {
36
+ $hex = ltrim( $hex, '#' );
37
+ if ( strlen( $hex ) === 3 ) {
38
+ $hex_component = str_split( $hex );
39
+ } else {
40
+ $hex_component = [
41
+ $hex[0] . $hex[1],
42
+ $hex[2] . $hex[3],
43
+ $hex[4] . $hex[5],
44
+ ];
45
  }
46
+ $rgb_component = [];
47
+ foreach ( $hex_component as $component ) {
48
+ $rgb_component[] = hexdec( $component );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
 
51
+ return $rgb_component;
52
+ }
53
+
54
+ /**
55
+ * Convert an RGB component array into a hexadecimal string ready for CSS.
56
+ *
57
+ * @param array $color Array of decimal values representing an RGB color
58
+ * @return string Representation of a color as a hexadecimal string ready to be used in css strings
59
+ */
60
+ public static function rgb_to_hex( $color ) {
61
+ // Join converted components together to create color string
62
+ return '#' . implode(
63
+ '', array_map(
64
+ function ( $component ) {
65
  // Convert Decimal value to a hex string then make sure it has two characters
66
  return str_pad( strval( dechex( $component ) ), 2, '0', STR_PAD_LEFT );
67
+ }, $color
68
+ )
69
+ );
70
+ }
71
 
72
+ /**
73
+ * Determine if a given color is light.
74
+ *
75
+ * @link https://www.w3.org/TR/AERT/#color-contrast for reference on the luminance constants for RGB values
76
+ *
77
+ * @param $color array|string Color to check against, it will be converted to component array format if it is not already in that format
78
+ * @return bool
79
+ */
80
+ public static function is_light( $color ) {
81
+ $color = self::convert_color( $color );
82
+ // Apply constants for perceived brightness against RGB values for sRGB color space, add together, then reduce to a value between 0 and 1 to compare against.
83
+ $luminance = ( 0.299 * $color[0] + 0.587 * $color[1] + 0.114 * $color[2] ) / 255;
 
 
 
84
 
85
+ return $luminance > 0.5;
86
+ }
 
 
 
 
 
 
 
 
87
 
88
+ /**
89
+ * Determine if a given color is considered dark.
90
+ *
91
+ * @param $color
92
+ * @return bool
93
+ */
94
+ public static function is_dark( $color ) {
95
+ return ! self::is_light( $color );
96
+ }
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
+ /**
99
+ * If a color passed in needs to be converted to a component array format, do so, otherwise
100
+ * return the color passed in.
101
+ *
102
+ * @param $color array|string the color to be converted
103
+ * @return array|string The color passed in in the proper format
104
+ */
105
+ public static function convert_color( $color ) {
106
+ if ( is_array( $color ) ) {
107
+ // Color is already in a format we want it
108
+ return $color;
 
 
 
 
109
  }
110
+ if ( is_string( $color ) && strpos( $color, '#' ) === 0 ) {
111
+ // Color is hexadecimal string
112
+ return self::hex_to_rgb( $color );
113
+ };
114
+ // @TODO Add detection for rgb css strings
115
+ // If it's not a format recognized by the class, return white to fail somewhat gracefully
116
+ return [ 255, 255, 255 ];
117
+ }
118
 
119
+ /**
120
+ * Get an appropriate color for text based on given background color.
121
+ *
122
+ * @param $bg_color string|array Background Color to get appropriate text color for
123
+ * @return string $text_color Hexadecimal string representing appropriately contrasting color for text given the background color
124
+ */
125
+ public static function get_readable_text( $bg_color ) {
126
+ $bg_color = self::convert_color( $bg_color );
127
+ $text_color = '#eee';
128
+ if ( self::is_light( $bg_color ) ) {
129
+ $text_color = '#333';
130
+ }
131
 
132
+ return $text_color;
133
+ }
 
 
 
 
 
 
 
 
 
 
 
134
 
135
+ /**
136
+ *
137
+ *
138
+ * @param string|array $color Hexadecimal string or RGB component array representing a color
139
+ * @param number $darker Amount to darken color by
140
+ * @return string Hexadecimal representation of darker color ready for css inclusion
141
+ */
142
+ public static function darken( $color, $darker ) {
143
+ $color = self::convert_color( $color );
144
+ $darker = ( $darker > 1 ) ? $darker : 1;
145
 
146
+ $darkened = array_map(
147
+ function ( $component ) use ( $darker ) {
148
+ return floor( $component / $darker );
149
+ }, $color
150
+ );
 
 
 
151
 
152
+ return self::rgb_to_hex( $darkened );
 
153
  }
154
 
155
+ /**
156
+ *
157
+ *
158
+ * @param string|array $color Hexadecimal string or RGB component array representing a color
159
+ * @param number $opacity How opaque the color should be, range from 0 to 1
160
+ * @return string RGBA string ready for css inclusion
161
+ */
162
+ public static function opacity( $color, $opacity ) {
163
+ $color = self::convert_color( $color );
164
+ return 'rgba(' . implode( ', ', $color ) . ', ' . $opacity . ')';
165
+ }
166
  }
inc/class-compatibility.php ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Mediavine\Grow;
3
+
4
+ class Compatibility {
5
+
6
+ /** @var string[] Yoast classes to have output blocked. */
7
+ const MV_YOAST_PRESENTER_DENYLIST = [
8
+ 'Open_Graph\Locale_Presenter',
9
+ 'Open_Graph\Type_Presenter',
10
+ 'Open_Graph\Title_Presenter',
11
+ 'Open_Graph\Description_Presenter',
12
+ 'Open_Graph\Url_Presenter',
13
+ 'Open_Graph\Site_Name_Presenter',
14
+ 'Open_Graph\Article_Publisher_Presenter',
15
+ 'Open_Graph\Article_Author_Presenter',
16
+ 'Open_Graph\Article_Published_Time_Presenter',
17
+ 'Open_Graph\Article_Modified_Time_Presenter',
18
+ 'Open_Graph\Image_Presenter',
19
+ 'Twitter\Card_Presenter',
20
+ 'Twitter\Title_Presenter',
21
+ 'Twitter\Description_Presenter',
22
+ 'Twitter\Image_Presenter',
23
+ 'Twitter\Creator_Presenter',
24
+ 'Twitter\Site_Presenter',
25
+ ];
26
+
27
+ /**
28
+ * Determine whether Yoast is available & enabled.
29
+ *
30
+ * @return bool
31
+ */
32
+ public static function is_yoast_enabled() {
33
+ return apply_filters( 'mv_grow_dev_yoast_enabled', defined( 'WPSEO_VERSION' ) );
34
+ }
35
+
36
+ /**
37
+ * Provide compatibility with Yoast when rendering meta tags.
38
+ *
39
+ * Set Yoast data as fallbacks and add extra Yoast tags to our output.
40
+ */
41
+ public static function set_yoast_meta_data() {
42
+ if ( self::is_yoast_enabled() ) {
43
+ add_filter( 'dpsp_get_post_title', [ 'Mediavine\Grow\Compatibility', 'set_yoast_fallback_title' ], 10, 2 );
44
+ add_filter( 'dpsp_get_post_description', [ 'Mediavine\Grow\Compatibility', 'set_yoast_fallback_description' ], 10, 2 );
45
+ add_filter( 'dpsp_get_post_image_data', [ 'Mediavine\Grow\Compatibility', 'set_yoast_fallback_image_data' ], 10, 2 );
46
+ add_filter( 'mv_grow_build_tags', [ 'Mediavine\Grow\Compatibility', 'get_yoast_tags' ], 10, 2 );
47
+ }
48
+ }
49
+
50
+ /**
51
+ * Render our meta tags in Yoast's location.
52
+ *
53
+ * @param $hook_name
54
+ * @return string
55
+ */
56
+ public static function set_yoast_meta_tag_hook( $hook_name ) {
57
+ if ( self::is_yoast_enabled() ) {
58
+ $hook_name = 'wpseo_head';
59
+ }
60
+ return $hook_name;
61
+ }
62
+
63
+ /**
64
+ * Get & parse a Yoast meta value from the database.
65
+ *
66
+ * @param int $post_id
67
+ * @param string $attribute_slug
68
+ * @param string $fallback
69
+ * @return string Yoast meta value or fallback if none is found.
70
+ */
71
+ public static function get_yoast_value( $post_id, $attribute_slug, $fallback = '' ) {
72
+ // Require a Yoast dependency.
73
+ if ( ! function_exists( 'wpseo_replace_vars' ) ) {
74
+ return $fallback;
75
+ }
76
+
77
+ $pattern = get_post_meta( $post_id, '_yoast_wpseo_' . $attribute_slug, true );
78
+ if ( ! $pattern ) {
79
+ return $fallback;
80
+ }
81
+
82
+ return wpseo_replace_vars( $pattern, get_post( $post_id ) );
83
+ }
84
+
85
+ /**
86
+ * Get OG tags that are not handled by Grow but may be set by Yoast.
87
+ *
88
+ * @param array $tags
89
+ * @param \WP_Post $post
90
+ * @return array
91
+ */
92
+ public static function get_yoast_tags( array $tags, \WP_Post $post ) {
93
+ // Yoast extra Open Graph tag.
94
+ $facebook = apply_filters( 'wpseo_opengraph_author_facebook', get_the_author_meta( 'facebook', $post->post_author ) );
95
+ if ( ! empty( $facebook ) && is_string( $facebook ) ) {
96
+ $tags['article:author'] = $facebook;
97
+ }
98
+
99
+ // Yoast extra Twitter tag.
100
+ $twitter = apply_filters( 'wpseo_twitter_creator_account', ltrim( trim( get_the_author_meta( 'twitter', $post->post_author ) ), '@' ) );
101
+ if ( ! empty( $twitter ) && is_string( $twitter ) ) {
102
+ $tags['twitter:creator'] = '@' . $twitter;
103
+ }
104
+
105
+ return $tags;
106
+ }
107
+
108
+ /**
109
+ * Build a Yoast image's data array.
110
+ *
111
+ * @param int $post_id
112
+ * @param string $attribute_slug
113
+ * @return array Image data.
114
+ */
115
+ public static function get_yoast_image_data( $post_id, $attribute_slug ) {
116
+ // Require a Yoast dependency.
117
+ if ( ! class_exists( '\WPSEO_Image_Utils' ) ) {
118
+ return [];
119
+ }
120
+
121
+ $image_url = get_post_meta( $post_id, '_yoast_wpseo_' . $attribute_slug, true );
122
+ if ( empty( $image_url ) ) {
123
+ return [];
124
+ }
125
+
126
+ $image_id = \WPSEO_Image_Utils::get_attachment_by_url( $image_url );
127
+ if ( empty( $image_id ) ) {
128
+ return [];
129
+ }
130
+
131
+ $data = wp_get_attachment_image_src( $image_id, 'full' );
132
+ if ( ! is_array( $data ) ) {
133
+ return [];
134
+ }
135
+
136
+ return $data;
137
+ }
138
+
139
+ /**
140
+ * Allow use of Yoast's title if none was found for Grow Social.
141
+ *
142
+ * @param $post_title
143
+ * @param $post_id
144
+ * @return string
145
+ */
146
+ public static function set_yoast_fallback_title( $post_title, $post_id ) {
147
+ $yoast_title = self::get_yoast_value( $post_id, 'title' );
148
+ $yoast_title = self::get_yoast_value( $post_id, 'opengraph-title', $yoast_title );
149
+ if ( ! empty( $yoast_title ) ) {
150
+ return $yoast_title;
151
+ }
152
+
153
+ return $post_title;
154
+ }
155
+
156
+ /**
157
+ * Allow use of Yoast's description if none was found for Grow Social.
158
+ *
159
+ * @param $post_desc
160
+ * @param $post_id
161
+ * @return string
162
+ */
163
+ public static function set_yoast_fallback_description( $post_desc, $post_id ) {
164
+ $yoast_desc = self::get_yoast_value( $post_id, 'metadesc' );
165
+ $yoast_desc = self::get_yoast_value( $post_id, 'opengraph-description', $yoast_desc );
166
+ if ( ! empty( $yoast_desc ) ) {
167
+ return $yoast_desc;
168
+ }
169
+
170
+ return $post_desc;
171
+ }
172
+
173
+ /**
174
+ * Allow use of Yoast's image data if none was found for Grow Social.
175
+ *
176
+ * @param $post_image_data
177
+ * @param $post_id
178
+ * @return array
179
+ */
180
+ public static function set_yoast_fallback_image_data( $post_image_data, $post_id ) {
181
+ $yoast_image_data = self::get_yoast_image_data( $post_id, 'twitter-image' );
182
+
183
+ if ( empty( $yoast_image_data ) ) {
184
+ // Fallback to Open Graph if no Twitter image found.
185
+ $yoast_image_data = self::get_yoast_image_data( $post_id, 'opengraph-image' );
186
+ }
187
+
188
+ if ( ! empty( $yoast_image_data ) ) {
189
+ return $yoast_image_data;
190
+ }
191
+
192
+ return $post_image_data;
193
+ }
194
+
195
+ /**
196
+ * Determine if a given Yoast Presenter class instance should be blocked from output.
197
+ *
198
+ * @param object $presenter Yoast presenter class instance
199
+ * @return bool
200
+ */
201
+ public static function is_yoast_presenter_on_denylist( $presenter ) {
202
+ $yoast_namespace = 'Yoast\WP\SEO\Presenters\\';
203
+ foreach ( self::MV_YOAST_PRESENTER_DENYLIST as $class ) {
204
+ if ( class_exists( $yoast_namespace . $class ) && is_a( $presenter, $yoast_namespace . $class ) ) {
205
+ return true;
206
+ }
207
+ }
208
+
209
+ return false;
210
+ }
211
+
212
+ /**
213
+ * Filter the presenters list from Yoast to remove the denylist.
214
+ *
215
+ * @param array $presenters
216
+ * @return array Presenters not on the denylist.
217
+ */
218
+ public static function filter_yoast_presenters( $presenters ) {
219
+ $pass = [];
220
+ foreach ( $presenters as $presenter ) {
221
+ if ( ! self::is_yoast_presenter_on_denylist( $presenter ) ) {
222
+ $pass[] = $presenter;
223
+ }
224
+ }
225
+
226
+ return $pass;
227
+ }
228
+
229
+ /**
230
+ * Disable known Open Graph & Twitter meta tags generated by other plugins.
231
+ *
232
+ * Plugins covered: Jetpack, Yoast SEO.
233
+ */
234
+ public static function disable_known_meta_tags() {
235
+ // Do nothing on singular pages.
236
+ if ( ! is_singular() ) {
237
+ return;
238
+ }
239
+
240
+ // Require meta-tags option enabled.
241
+ $settings = Settings::get_setting( 'dpsp_settings', [] );
242
+ if ( ! empty( $settings['disable_meta_tags'] ) ) {
243
+ return;
244
+ }
245
+
246
+ // Require current post.
247
+ if ( is_null( dpsp_get_current_post() ) ) {
248
+ return;
249
+ }
250
+
251
+ // Disable Jackpack Open Graph tags.
252
+ add_filter( 'jetpack_enable_opengraph', '__return_false', 99 );
253
+ add_filter( 'jetpack_enable_open_graph', '__return_false', 99 );
254
+
255
+ // Remove the Open Graph and Twitter tags added by Yoast.
256
+ add_filter( 'wpseo_frontend_presenters', [ 'Mediavine\Grow\Compatibility', 'filter_yoast_presenters' ] );
257
+ if ( self::is_yoast_enabled() ) {
258
+ global $wpseo_og;
259
+ remove_action( 'wpseo_head', [ $wpseo_og, 'opengraph' ], 30 );
260
+ remove_action( 'wpseo_head', [ 'WPSEO_Twitter', 'get_instance' ], 40 );
261
+ }
262
+ }
263
+ }
inc/class-custom-color.php CHANGED
@@ -1,14 +1,11 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
4
 
5
  class Custom_Color {
6
-
7
  /**
8
- * Get CSS output of custom color styles for all passed locations
9
  *
10
  * @param array $locations Array of location slugs to get custom color styles for
11
- *
12
  * @return string CSS output of custom color styles for all passed locations
13
  */
14
  public static function get_multiple_locations( $locations = [] ) {
@@ -21,22 +18,23 @@ class Custom_Color {
21
  }
22
 
23
  /**
24
- * @param string $location Slug of location to get custom color styles for.
25
  *
 
 
26
  * @return string CSS output of custom color styles for the passed location
27
  */
28
  public static function get_style( $location = '' ) {
29
  if ( empty( $location ) ) {
30
  return '';
31
  }
 
32
  $location_settings = dpsp_get_location_settings( $location );
33
  if ( empty( $location_settings['active'] ) ) {
34
  return '';
35
  }
36
  $output = '';
37
- /**
38
- * Custom colors
39
- */
40
  $color = ! empty( $location_settings['display']['custom_color'] ) ? $location_settings['display']['custom_color'] : false;
41
  $hover_color = ! empty( $location_settings['display']['custom_hover_color'] ) ? $location_settings['display']['custom_hover_color'] : false;
42
 
@@ -51,17 +49,16 @@ class Custom_Color {
51
  $output .= self::style_variation( $location_settings['button_style'], $location, $color, $hover_color );
52
 
53
  if ( $hover_color ) {
54
- $output .= '.dpsp-networks-btns-wrapper.dpsp-networks-btns-' . $location . ' .dpsp-network-btn {--networkHover: ' . Color_Utilities::opacity( $hover_color, 0.4 ) . ' }';
55
  }
56
 
57
  return $output;
58
  }
59
 
60
  /**
61
- * Generate styles for custom Sticky Bar Background
62
  *
63
  * @param array $settings Sticky bar location settings
64
- *
65
  * @return string Styles for Sticky Bar custom background
66
  */
67
  private static function sticky_bar( $settings ) {
@@ -76,22 +73,22 @@ class Custom_Color {
76
  }
77
 
78
  /**
79
- * Get Custom Color styles for a particular style variation and location
80
  *
81
  * @param number $style_variation The style variation to get styles for
82
  * @param string $location Slug for the location to get stlyes for
83
  * @param string $color The color for the default state
84
  * @param string $hover_color The color for when the button is hovered
85
- *
86
  * @return string Styles for the given style variation and location
87
  */
88
  private static function style_variation( $style_variation, $location, $color, $hover_color ) {
89
  $variations = [
90
  1 => [
91
-
92
- 'color' => '
93
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon,
94
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
95
  background: %2$s;
96
  border-color: %2$s;
97
  }
@@ -109,8 +106,10 @@ class Custom_Color {
109
  ],
110
 
111
  2 => [
112
- 'color' => '
113
- .dpsp-button-style-2 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn {
 
 
114
  background: %2$s;
115
  border-color: %2$s;
116
  }
@@ -124,7 +123,10 @@ class Custom_Color {
124
  .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover,
125
  .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus,
126
  .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus .dpsp-network-icon,
127
- .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover .dpsp-network-icon {
 
 
 
128
  background: %3$s;
129
  border-color: %3$s;
130
  }
@@ -132,11 +134,12 @@ class Custom_Color {
132
  ],
133
 
134
  3 => [
135
- 'color' => '
136
- .dpsp-button-style-3 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn {
 
 
137
  border-color: %2$s;
138
  color: %2$s;
139
- background-color: %2$s;
140
  }
141
  .dpsp-button-style-3 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
142
  background: %2$s;
@@ -155,15 +158,17 @@ class Custom_Color {
155
  ',
156
  ],
157
  4 => [
158
- 'color' => '
159
- .dpsp-button-style-4 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
160
  background: %2$s;
161
  border-color: %2$s;
162
  }
163
  .dpsp-button-style-4 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon {
164
  border-color: %2$s;
165
  }
166
- .dpsp-button-style-4 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon svg {
167
  fill: %2$s;
168
  }
169
  ',
@@ -179,13 +184,15 @@ class Custom_Color {
179
  ',
180
  ],
181
  5 => [
182
- 'color' => '
183
  .dpsp-button-style-5 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon,
184
- .dpsp-button-style-5 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
185
  border-color: %2$s;
186
  color: %2$s;
187
  }
188
- .dpsp-button-style-5 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon svg {
189
  fill: %2$s;
190
  }
191
  ',
@@ -199,8 +206,10 @@ class Custom_Color {
199
  ',
200
  ],
201
  6 => [
202
- 'color' => '
203
- .dpsp-button-style-6 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
204
  color: %2$s;
205
  }
206
  .dpsp-button-style-6 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon {
@@ -223,15 +232,17 @@ class Custom_Color {
223
  ],
224
 
225
  7 => [
226
- 'color' => '
227
- .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
228
  color: %2$s;
229
  border-color: %2$s;
230
  }
231
- .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon {
232
  border-color: %2$s;
233
  }
234
- .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon svg {
235
  fill: %2$s;
236
  }
237
  ',
@@ -239,6 +250,7 @@ class Custom_Color {
239
  'hover_color' => '
240
  .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover,
241
  .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus {
 
242
  color: %3$s;
243
  border-color: %3$s;
244
  }
@@ -250,11 +262,13 @@ class Custom_Color {
250
  ',
251
  ],
252
  8 => [
253
- 'color' => '
254
- .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
255
  color: %2$s;
256
  }
257
- .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon svg {
258
  fill: %2$s;
259
  }
260
  ',
@@ -262,19 +276,22 @@ class Custom_Color {
262
  'hover_color' => '
263
  .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover,
264
  .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus {
 
265
  color: %3$s;
266
  }
267
  .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus .dpsp-network-icon svg,
268
- .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover .dpsp-network-icon svg {
269
  fill: %3$s;
270
  }
271
  ',
272
- ]
273
  ];
274
- if ( 'sidebar' == $location ) {
275
  $variations[1] = [
276
- 'color' => '
277
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn {
 
 
278
  background: %2$s;
279
  border-color: %2$s;
280
  }',
@@ -284,9 +301,10 @@ class Custom_Color {
284
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus {
285
  border-color: %3$s !important;
286
  background: %3$s !important;
287
- }'
288
  ];
289
  }
 
290
  $output = '';
291
  $darker_color = Color_Utilities::darken( $color, 1.1 );
292
  if ( $color ) {
1
  <?php
 
2
  namespace Mediavine\Grow;
3
 
4
  class Custom_Color {
 
5
  /**
6
+ * Get CSS output of custom color styles for all passed locations.
7
  *
8
  * @param array $locations Array of location slugs to get custom color styles for
 
9
  * @return string CSS output of custom color styles for all passed locations
10
  */
11
  public static function get_multiple_locations( $locations = [] ) {
18
  }
19
 
20
  /**
 
21
  *
22
+ *
23
+ * @param string $location Slug of location to get custom color styles for.
24
  * @return string CSS output of custom color styles for the passed location
25
  */
26
  public static function get_style( $location = '' ) {
27
  if ( empty( $location ) ) {
28
  return '';
29
  }
30
+
31
  $location_settings = dpsp_get_location_settings( $location );
32
  if ( empty( $location_settings['active'] ) ) {
33
  return '';
34
  }
35
  $output = '';
36
+
37
+ // Custom colors
 
38
  $color = ! empty( $location_settings['display']['custom_color'] ) ? $location_settings['display']['custom_color'] : false;
39
  $hover_color = ! empty( $location_settings['display']['custom_hover_color'] ) ? $location_settings['display']['custom_hover_color'] : false;
40
 
49
  $output .= self::style_variation( $location_settings['button_style'], $location, $color, $hover_color );
50
 
51
  if ( $hover_color ) {
52
+ $output .= '.dpsp-networks-btns-wrapper.dpsp-networks-btns-' . $location . ' .dpsp-network-btn {--networkHover: ' . Color_Utilities::opacity( $hover_color, 0.4 ) . '; --networkAccent: ' . Color_Utilities::opacity( $hover_color, 1 ) . ';}';
53
  }
54
 
55
  return $output;
56
  }
57
 
58
  /**
59
+ * Generate styles for custom Sticky Bar Background.
60
  *
61
  * @param array $settings Sticky bar location settings
 
62
  * @return string Styles for Sticky Bar custom background
63
  */
64
  private static function sticky_bar( $settings ) {
73
  }
74
 
75
  /**
76
+ * Get Custom Color styles for a particular style variation and location.
77
  *
78
  * @param number $style_variation The style variation to get styles for
79
  * @param string $location Slug for the location to get stlyes for
80
  * @param string $color The color for the default state
81
  * @param string $hover_color The color for when the button is hovered
 
82
  * @return string Styles for the given style variation and location
83
  */
84
  private static function style_variation( $style_variation, $location, $color, $hover_color ) {
85
  $variations = [
86
  1 => [
87
+ 'color' => '
 
88
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon,
89
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn {
90
+ --customNetworkColor: %2$s;
91
+ --customNetworkHoverColor: %3$s;
92
  background: %2$s;
93
  border-color: %2$s;
94
  }
106
  ],
107
 
108
  2 => [
109
+ 'color' => '
110
+ .dpsp-button-style-2 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn, .dpsp-button-style-2 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn.dpsp-has-count {
111
+ --customNetworkColor: %2$s;
112
+ --customNetworkHoverColor: %3$s;
113
  background: %2$s;
114
  border-color: %2$s;
115
  }
123
  .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover,
124
  .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus,
125
  .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus .dpsp-network-icon,
126
+ .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover .dpsp-network-icon,
127
+ .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn.dpsp-has-count:focus,
128
+ .dpsp-button-style-2 .dpsp-networks-btns-%1$s .dpsp-network-btn.dpsp-has-count:hover {
129
+
130
  background: %3$s;
131
  border-color: %3$s;
132
  }
134
  ],
135
 
136
  3 => [
137
+ 'color' => '
138
+ .dpsp-button-style-3 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn:not(:hover):not(:active) {
139
+ --customNetworkColor: %2$s;
140
+ --customNetworkHoverColor: %3$s;
141
  border-color: %2$s;
142
  color: %2$s;
 
143
  }
144
  .dpsp-button-style-3 .dpsp-networks-btns-%1$s.dpsp-networks-btns-wrapper .dpsp-network-btn .dpsp-network-icon {
145
  background: %2$s;
158
  ',
159
  ],
160
  4 => [
161
+ 'color' => '
162
+ .dpsp-button-style-4 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:active):not(:hover) {
163
+ --customNetworkColor: %2$s;
164
+ --customNetworkHoverColor: %3$s;
165
  background: %2$s;
166
  border-color: %2$s;
167
  }
168
  .dpsp-button-style-4 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon {
169
  border-color: %2$s;
170
  }
171
+ .dpsp-button-style-4 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:active):not(:hover) .dpsp-network-icon .dpsp-network-icon-inner > svg {
172
  fill: %2$s;
173
  }
174
  ',
184
  ',
185
  ],
186
  5 => [
187
+ 'color' => '
188
  .dpsp-button-style-5 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon,
189
+ .dpsp-button-style-5 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:hover):not(:active) {
190
+ --customNetworkColor: %2$s;
191
+ --customNetworkHoverColor: %3$s;
192
  border-color: %2$s;
193
  color: %2$s;
194
  }
195
+ .dpsp-button-style-5 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon .dpsp-network-icon-inner > svg {
196
  fill: %2$s;
197
  }
198
  ',
206
  ',
207
  ],
208
  6 => [
209
+ 'color' => '
210
+ .dpsp-button-style-6 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:hover):not(:active) {
211
+ --customNetworkColor: %2$s;
212
+ --customNetworkHoverColor: %3$s;
213
  color: %2$s;
214
  }
215
  .dpsp-button-style-6 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon {
232
  ],
233
 
234
  7 => [
235
+ 'color' => '
236
+ .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:hover):not(:active) {
237
+ --customNetworkColor: %2$s;
238
+ --customNetworkHoverColor: %3$s;
239
  color: %2$s;
240
  border-color: %2$s;
241
  }
242
+ .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:active):not(:hover) .dpsp-network-icon {
243
  border-color: %2$s;
244
  }
245
+ .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:active):not(:hover) .dpsp-network-icon .dpsp-network-icon-inner > svg {
246
  fill: %2$s;
247
  }
248
  ',
250
  'hover_color' => '
251
  .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover,
252
  .dpsp-button-style-7 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus {
253
+
254
  color: %3$s;
255
  border-color: %3$s;
256
  }
262
  ',
263
  ],
264
  8 => [
265
+ 'color' => '
266
+ .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:not(:hover):not(:active) {
267
+ --customNetworkColor: %2$s;
268
+ --customNetworkHoverColor: %3$s;
269
  color: %2$s;
270
  }
271
+ .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn .dpsp-network-icon .dpsp-network-icon-inner > svg {
272
  fill: %2$s;
273
  }
274
  ',
276
  'hover_color' => '
277
  .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover,
278
  .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus {
279
+
280
  color: %3$s;
281
  }
282
  .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus .dpsp-network-icon svg,
283
+ .dpsp-button-style-8 .dpsp-networks-btns-%1$s .dpsp-network-btn:hover .dpsp-network-icon .dpsp-network-icon-inner > svg {
284
  fill: %3$s;
285
  }
286
  ',
287
+ ],
288
  ];
289
+ if ( 'sidebar' === $location ) {
290
  $variations[1] = [
291
+ 'color' => '
292
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn {
293
+ --customNetworkColor: %2$s;
294
+ --customNetworkHoverColor: %3$s;
295
  background: %2$s;
296
  border-color: %2$s;
297
  }',
301
  .dpsp-button-style-1 .dpsp-networks-btns-%1$s .dpsp-network-btn:focus {
302
  border-color: %3$s !important;
303
  background: %3$s !important;
304
+ }',
305
  ];
306
  }
307
+
308
  $output = '';
309
  $darker_color = Color_Utilities::darken( $color, 1.1 );
310
  if ( $color ) {
inc/class-data-sync.php CHANGED
@@ -1,170 +1,171 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
4
 
5
- if ( class_exists( '\Social_Pug' ) ) {
6
- class Data_Sync extends \Social_Pug {
7
 
8
- private static $instance = null;
 
9
 
10
- private static $data_sync_run = false;
 
11
 
12
- /**
13
- * Makes sure class is only instantiated once
14
- *
15
- * @return object Instantiated class
16
- */
17
- public static function get_instance() {
18
- if ( null === self::$instance ) {
19
- self::$instance = new self;
20
- self::$instance->init();
21
- }
22
- return self::$instance;
23
  }
 
 
24
 
25
- /**
26
- * Hooks to be run on class instantiation
27
- *
28
- * @return void
29
- */
30
- public function init() {
31
- add_action( 'mv_grow_plugin_activated', [ $this, 'sync_data' ], 10 );
32
- add_action( 'mv_grow_plugin_activated', [ $this, 'schedule_data_sync' ], 20 );
33
- add_action( 'mv_grow_plugin_updated', [ $this, 'sync_data' ], 20 );
34
- add_action( 'mv_grow_sync_data', [ $this, 'sync_data' ] );
35
- add_action( 'mv_grow_plugin_deactivated', [ $this, 'sync_data' ], 10 );
36
- add_action( 'mv_grow_plugin_deactivated', [ $this, 'remove_scheduled_data_sync' ], 20 );
37
- }
38
 
39
- /**
40
- * Schedules data sync to run every 12 hours
41
- *
42
- * @return void
43
- */
44
- public function schedule_data_sync() {
45
- // Make sure who don't already have something scheduled
46
- if ( ! wp_next_scheduled( 'mv_grow_sync_data' ) ) {
47
- // Because we are also running data sync on every activation,
48
- // we wait 12 hours before running the first scheduled event
49
- wp_schedule_event( time() + HOUR_IN_SECONDS * 12, 'twicedaily', 'mv_grow_sync_data' );
50
- }
51
  }
 
52
 
53
- /**
54
- * Removes Schedules data sync event
55
- *
56
- * @return void
57
- */
58
- public function remove_scheduled_data_sync() {
59
- wp_clear_scheduled_hook( 'mv_grow_sync_data' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
 
62
- /**
63
- * Determines whether MCP is enabled
64
- *
65
- * @return boolean True if enabled
66
- */
67
- public function is_mcp_enabled() {
68
- if (
69
- (
70
- class_exists( 'MV_Control_Panel' ) ||
71
- class_exists( 'MVCP' )
72
- ) && get_option( 'MVCP_site_id' )
73
- ) {
74
- return true;
75
- }
76
 
77
- return false;
 
 
 
 
 
 
 
 
78
  }
79
 
80
- /**
81
- * Get MCP site id
82
- *
83
- * @return string|null|false Site id if exists and MCP active; false if doesn't exist; null if MCP not active
84
- */
85
- public function get_mcp_site_id() {
86
- $mcp_site_id = null;
87
- if ( $this->is_mcp_enabled() ) {
88
- $mcp_site_id = get_option( 'MVCP_site_id', false );
89
- }
90
 
91
- return $mcp_site_id;
 
 
 
 
 
 
 
 
92
  }
93
 
94
- /**
95
- * Syncs site and plugin data with Mediavine Product Data Sync API
96
- *
97
- * @return void
98
- */
99
- public function sync_data() {
100
- // Check if the data sync has already run
101
- if ( $this::$data_sync_run ) {
102
- return;
103
- }
104
-
105
- global $wp_version;
106
 
107
- // Find what action was run
108
- $action_run = null;
109
- if ( did_action( 'mv_grow_sync_data' ) ) {
110
- $action_run = 'scheduled_event';
111
- }
112
- if ( empty( $action_run ) && did_action( 'mv_grow_plugin_updated' ) ) {
113
- $action_run = 'plugin_updated';
114
- }
115
- if ( empty( $action_run ) && did_action( 'mv_grow_plugin_activated' ) ) {
116
- $action_run = 'plugin_activated';
117
- }
118
- if ( empty( $action_run ) && did_action( 'mv_grow_plugin_deactivated' ) ) {
119
- $action_run = 'plugin_deactivated';
120
- }
121
 
122
- // Get site domain and remove www if exists
123
- $site_domain = $_SERVER['HTTP_HOST'];
 
124
  if ( strpos( $site_domain, 'www.' ) === 0 ) {
125
  $site_domain = substr( $site_domain, 4 );
126
  }
 
127
 
128
- // Get admin email addresses
129
- $admins = get_users( [ 'role__in' => [ 'administrator' ] ] );
130
- $admin_emails = wp_list_pluck( $admins, 'user_email' );
131
-
132
- // Build data array for sync
133
- $data_to_send = [
134
- 'action_run' => $action_run,
135
- 'php_version' => PHP_VERSION,
136
- 'wp_version' => $wp_version,
137
- // We quickly want to pull the db version, which is not easily pulled from $wpdb
138
- // phpcs:disable
139
- 'mysql_version' => mysqli_get_client_info(),
140
- // phpcs:enable
141
- 'email' => wp_get_current_user()->user_email,
142
- 'grow_license' => get_option( 'mv_grow_license', false ),
143
- 'grow_version' => $this::$VERSION,
144
- 'plugin_name' => 'Grow Social Pro by Mediavine',
145
- 'plugin_slug' => 'mediavine-grow',
146
- 'plugin_dir' => dirname( plugin_basename( mv_grow_get_activation_path() ) ),
147
- 'site_url' => site_url(),
148
- 'site_domain' => $site_domain,
149
- 'site_admin_emails' => $admin_emails,
150
- 'mcp_status' => $this->is_mcp_enabled(),
151
- 'mcp_site_id' => $this->get_mcp_site_id(),
152
- ];
153
-
154
- $data_sync = wp_remote_post(
155
- 'https://product-data-sync.herokuapp.com/record',
156
- [
157
- 'headers' => [
158
- 'Content-Type' => 'application/json; charset=utf-8',
159
- ],
160
- 'body' => wp_json_encode( $data_to_send ),
161
- ]
162
- );
163
-
164
- // Prevent duplicate data syncs from running
165
- if ( ! empty( $data_sync ) ) {
166
- $this::$data_sync_run = true;
167
- }
168
  }
169
  }
170
  }
1
  <?php
 
2
  namespace Mediavine\Grow;
3
 
4
+ class Data_Sync extends \Social_Pug {
 
5
 
6
+ /** @var null */
7
+ private static $instance = null;
8
 
9
+ /** @var bool */
10
+ private static $data_sync_run = false;
11
 
12
+ /**
13
+ * Makes sure class is only instantiated once.
14
+ *
15
+ * @return object Instantiated class
16
+ */
17
+ public static function get_instance() {
18
+ if ( null === self::$instance ) {
19
+ self::$instance = new self;
20
+ self::$instance->init();
 
 
21
  }
22
+ return self::$instance;
23
+ }
24
 
25
+ /**
26
+ * Hooks to be run on class instantiation.
27
+ *
28
+ * @return void
29
+ */
30
+ public function init() {
31
+ add_action( 'mv_grow_plugin_activated', [ $this, 'sync_data' ], 10 );
32
+ add_action( 'mv_grow_plugin_activated', [ $this, 'schedule_data_sync' ], 20 );
33
+ add_action( 'mv_grow_plugin_updated', [ $this, 'sync_data' ], 20 );
34
+ add_action( 'mv_grow_sync_data', [ $this, 'sync_data' ] );
35
+ add_action( 'mv_grow_plugin_deactivated', [ $this, 'sync_data' ], 10 );
36
+ add_action( 'mv_grow_plugin_deactivated', [ $this, 'remove_scheduled_data_sync' ], 20 );
37
+ }
38
 
39
+ /**
40
+ * Schedules data sync to run every 12 hours.
41
+ *
42
+ * @return void
43
+ */
44
+ public function schedule_data_sync() {
45
+ // Make sure who don't already have something scheduled
46
+ if ( ! wp_next_scheduled( 'mv_grow_sync_data' ) ) {
47
+ // Because we are also running data sync on every activation,
48
+ // we wait 12 hours before running the first scheduled event
49
+ wp_schedule_event( time() + HOUR_IN_SECONDS * 12, 'twicedaily', 'mv_grow_sync_data' );
 
50
  }
51
+ }
52
 
53
+ /**
54
+ * Removes Schedules data sync event.
55
+ *
56
+ * @return void
57
+ */
58
+ public function remove_scheduled_data_sync() {
59
+ wp_clear_scheduled_hook( 'mv_grow_sync_data' );
60
+ }
61
+
62
+ /**
63
+ * Determines whether MCP is enabled.
64
+ *
65
+ * @return boolean True if enabled
66
+ */
67
+ public function is_mcp_enabled() {
68
+ if (
69
+ (
70
+ class_exists( 'MV_Control_Panel' ) ||
71
+ class_exists( 'MVCP' )
72
+ ) && get_option( 'MVCP_site_id' )
73
+ ) {
74
+ return true;
75
  }
76
 
77
+ return false;
78
+ }
 
 
 
 
 
 
 
 
 
 
 
 
79
 
80
+ /**
81
+ * Get MCP site id.
82
+ *
83
+ * @return string|null|false Site id if exists and MCP active; false if doesn't exist; null if MCP not active
84
+ */
85
+ public function get_mcp_site_id() {
86
+ $mcp_site_id = null;
87
+ if ( $this->is_mcp_enabled() ) {
88
+ $mcp_site_id = get_option( 'MVCP_site_id', false );
89
  }
90
 
91
+ return $mcp_site_id;
92
+ }
 
 
 
 
 
 
 
 
93
 
94
+ /**
95
+ * Syncs site and plugin data with Mediavine Product Data Sync API.
96
+ *
97
+ * @return void
98
+ */
99
+ public function sync_data() {
100
+ // Check if the data sync has already run
101
+ if ( $this::$data_sync_run ) {
102
+ return;
103
  }
104
 
105
+ global $wp_version;
 
 
 
 
 
 
 
 
 
 
 
106
 
107
+ // Find what action was run
108
+ $action_run = null;
109
+ if ( did_action( 'mv_grow_sync_data' ) ) {
110
+ $action_run = 'scheduled_event';
111
+ }
112
+ if ( empty( $action_run ) && did_action( 'mv_grow_plugin_updated' ) ) {
113
+ $action_run = 'plugin_updated';
114
+ }
115
+ if ( empty( $action_run ) && did_action( 'mv_grow_plugin_activated' ) ) {
116
+ $action_run = 'plugin_activated';
117
+ }
118
+ if ( empty( $action_run ) && did_action( 'mv_grow_plugin_deactivated' ) ) {
119
+ $action_run = 'plugin_deactivated';
120
+ }
121
 
122
+ // Get site domain and remove www if exists
123
+ if ( isset( $_SERVER['HTTP_HOST'] ) ) { // Input var okay
124
+ $site_domain = wp_unslash( $_SERVER['HTTP_HOST'] ); // Input var okay; sanitization okay.
125
  if ( strpos( $site_domain, 'www.' ) === 0 ) {
126
  $site_domain = substr( $site_domain, 4 );
127
  }
128
+ }
129
 
130
+ // Get admin email addresses
131
+ $admins = get_users( [ 'role__in' => [ 'administrator' ] ] );
132
+ $admin_emails = wp_list_pluck( $admins, 'user_email' );
133
+
134
+ // Build data array for sync
135
+ $data_to_send = [
136
+ 'action_run' => $action_run,
137
+ 'php_version' => PHP_VERSION,
138
+ 'wp_version' => $wp_version,
139
+ // We quickly want to pull the db version, which is not easily pulled from $wpdb
140
+ // phpcs:disable
141
+ 'mysql_version' => mysqli_get_client_info(),
142
+ // phpcs:enable
143
+ 'email' => wp_get_current_user()->user_email,
144
+ 'grow_license' => get_option( 'mv_grow_license', false ),
145
+ 'grow_version' => $this::$VERSION,
146
+ 'plugin_name' => 'Grow Social Pro by Mediavine',
147
+ 'plugin_slug' => 'mediavine-grow',
148
+ 'plugin_dir' => dirname( plugin_basename( mv_grow_get_activation_path() ) ),
149
+ 'site_url' => site_url(),
150
+ 'site_domain' => $site_domain,
151
+ 'site_admin_emails' => $admin_emails,
152
+ 'mcp_status' => $this->is_mcp_enabled(),
153
+ 'mcp_site_id' => $this->get_mcp_site_id(),
154
+ ];
155
+
156
+ $data_sync = wp_remote_post(
157
+ 'https://product-data-sync.herokuapp.com/record',
158
+ [
159
+ 'headers' => [
160
+ 'Content-Type' => 'application/json; charset=utf-8',
161
+ ],
162
+ 'body' => wp_json_encode( $data_to_send ),
163
+ ]
164
+ );
165
+
166
+ // Prevent duplicate data syncs from running
167
+ if ( ! empty( $data_sync ) ) {
168
+ $this::$data_sync_run = true;
 
169
  }
170
  }
171
  }
inc/{class-buttons-outputter.php → class-dpsp-network-buttons-outputter.php} RENAMED
@@ -1,11 +1,10 @@
1
  <?php
2
 
3
- /*
4
- * Class that handles the output of the social button list items and unordered
5
- * list wrapper
6
- *
7
  */
8
-
9
  class DPSP_Network_Buttons_Outputter {
10
 
11
  private static $button_defaults = [
@@ -25,13 +24,12 @@ class DPSP_Network_Buttons_Outputter {
25
  ];
26
 
27
  /**
28
- * Return the output for a button location
29
- *
30
- * @param {Array[]} $settings Array of settings for this location
31
- * @param {string} $action The action these buttons will be used for, either share or follow
32
- * @param {string} $location The location slug where these buttons will be output
33
- * @param {Array[]} $data Other data about how these buttons should be output
34
  *
 
 
 
 
35
  * @return string
36
  */
37
  public static function get_render( $settings = [], $action = '', $location = '', $data = [] ) {
@@ -50,12 +48,20 @@ class DPSP_Network_Buttons_Outputter {
50
  // Loop through each network and create the button
51
  end( $data['settings']['networks'] );
52
  $last_key = key( $data['settings']['networks'] );
53
- foreach ( $data['settings']['networks'] as $network_slug => $network ) {
 
54
  // Check if we are at the last position to for the css class
55
  if ( $last_key === $network_slug ) {
56
  $array_position[] = 'last';
57
  }
58
- $output .= self::single_button_html( self::single_button_data( $data, $network_slug, $network, $array_position ) );
 
 
 
 
 
 
 
59
  // Set position to false after first iteration
60
  $array_position = [];
61
  }
@@ -66,9 +72,9 @@ class DPSP_Network_Buttons_Outputter {
66
  }
67
 
68
  /**
69
- * Collects general data about the current post
70
- * @param array $data Data about the current call for buttons
71
  *
 
72
  * @return array $post_details
73
  */
74
  public static function get_post_details( $data ) {
@@ -76,7 +82,10 @@ class DPSP_Network_Buttons_Outputter {
76
  return [];
77
  }
78
  // Set networks shares and post details
79
- $post_obj = dpsp_get_current_post();
 
 
 
80
  $post_details = [];
81
  // Get post url and title
82
 
@@ -112,11 +121,10 @@ class DPSP_Network_Buttons_Outputter {
112
  $post_details['networks_shares'] = ( ! empty( $networks_shares ) ? $networks_shares : [] );
113
 
114
  return $post_details;
115
-
116
  }
117
 
118
  /**
119
- * Generate the wrapper class string
120
  *
121
  * @param array $settings settings for this location
122
  * @param string $action string representing the action, either share or follow
@@ -137,100 +145,38 @@ class DPSP_Network_Buttons_Outputter {
137
  return implode( ' ', $wrapper_classes );
138
  }
139
 
140
-
141
- /**
142
- * Generate the string html output of a single button
143
- *
144
- * @param array $button_data
145
- *
146
- * @return string
147
- * @see self::single_button_data
148
- *
149
- */
150
- public static function single_button_html( $button_data ) {
151
- // Merge data with defaults
152
- $button_data = array_merge( self::$button_defaults, $button_data );
153
- $output = sprintf(
154
- '
155
- <li>
156
- <%1$s rel="%2$s" %3$s class="%4$s" target="_blank" aria-label="%5$s" title="%5$s">
157
- <span class="dpsp-network-icon">
158
- <span class="dpsp-network-icon-inner">%6$s</span>
159
- </span>
160
- %7$s
161
- %8$s
162
- </%1$s>
163
- %9$s
164
- </li>
165
- ',
166
- $button_data['tag'], // The block html element to use, either <a> or <button>
167
- $button_data['rel'], // The rel attribute for the element
168
- $button_data['href_attribute'], // The href attribute for the element, either href or data-href
169
- $button_data['button_classes'], // A list of classes ( should be a space separated string)
170
- $button_data['title_attribute'], // Text to use for the title attribute, also applied to aria-label to cover more assistive tech
171
- $button_data['icon_svg'], // A string of the svg element representing the icon
172
- $button_data['show_labels'] && 'sidebar' != $button_data['location'] ? self::make_label( $button_data['network_label'] ) : '', // A string representing an html span for the label, inside the block for everything except Floating sidebar
173
- $button_data['show_share_counts'] ? self::make_count( $button_data['network_shares'] ) : '', // A string representing an html span with the count inside
174
- $button_data['show_labels'] && 'sidebar' == $button_data['location'] ? self::make_label( $button_data['network_label'] ) : '' // Only for floating sidebar, A string representing an html span for the label
175
- );
176
-
177
- // Filter the output
178
- return apply_filters( 'dpsp_get_button_output', $output, $button_data['network_slug'], $button_data['action'], $button_data['location'] );
179
- }
180
-
181
- /**
182
- * Generate a html span string for the network label
183
- *
184
- * @param {string} $label Network Label
185
- *
186
- * @return string
187
- */
188
- private static function make_label( $label ) {
189
- return '<span class="dpsp-network-label">' . $label . '</span>';
190
- }
191
-
192
- /**
193
- * Generate a html span string for the network share count
194
- *
195
- * @param $network_shares
196
- *
197
- * @return string
198
- */
199
- private static function make_count( $network_shares ) {
200
- return '<span class="dpsp-network-count">' . $network_shares . '</span>';
201
- }
202
-
203
  /**
204
- * Returns an array of data that contains all information for button output
205
- *
206
- * @param {Array[]} $data Data about how button should be output
207
- * @param {string} $network_slug Slug of network
208
- * @param {Array[]} $network Associative array of network data
209
- * @param {Array} $array_position An array of string identifiers for css classes to indicate the position
210
  *
 
 
 
 
211
  * @return array
212
  */
213
- private static function single_button_data( $data, $network_slug, $network, $array_position ) {
 
 
214
  $button_data = [
215
- 'network_slug' => $network_slug,
216
- 'icon_svg' => dpsp_get_svg_icon_output( $network_slug ),
217
- 'title_attribute' => esc_attr( 'share' === $data['action'] ? self::get_share_link_title_attribute( $network_slug, $network['label'] ) : self::get_follow_link_title_attribute( $network_slug, $network['label'] ) ),
218
- 'network_label' => esc_attr( $network['label'] ),
219
- 'network_shares' => ! empty( $data['post_details']['networks_shares'] ) ? self::get_network_shares( $network_slug, $data['post_details']['networks_shares'], $data['location'] ) : 0,
220
  'location' => $data['location'],
221
  'action' => $data['action'],
222
  ];
223
 
224
- $button_data['show_share_counts'] = self::should_count_show( $data['settings'], $network_slug, $button_data['network_shares'] );
225
  $button_data['show_labels'] = self::should_label_show( $data['settings'] );
226
 
227
  // Get the link of the button
228
- $network_share_link = 'share' === $data['action'] ? self::get_button_share_link( $network_slug, $data ) : self::get_button_follow_link( $network_slug );
229
 
230
  // Set button classes
231
  $button_data['button_classes'] = [ 'dpsp-network-btn' ];
232
- $button_data['button_classes'][] = ( isset( $network_slug ) ? 'dpsp-' . $network_slug : '' );
233
- $button_data['button_classes'][] = ( ( empty( $network['label'] ) || ! isset( $data['settings']['display']['show_labels'] ) ) && ( ! in_array( $network_slug, dpsp_get_networks_with_social_count() ) || ! $button_data['show_share_counts'] ) ? 'dpsp-no-label' : '' );
234
  $button_data['button_classes'][] = ( $button_data['show_share_counts'] ? 'dpsp-has-count' : '' );
235
  foreach ( $array_position as $position ) {
236
  $button_data['button_classes'][] = 'dpsp-' . $position;
@@ -241,8 +187,8 @@ class DPSP_Network_Buttons_Outputter {
241
  $button_data['button_classes'] = apply_filters( 'dpsp_button_classes', $button_data['button_classes'], $data['location'], $button_data['network_shares'] );
242
  $button_data['button_classes'] = esc_attr( implode( ' ', array_filter( $button_data['button_classes'] ) ) );
243
 
244
- // Load pinterest as a button when no href value is used
245
- if ( 'pinterest' == $network_slug && 'share' == $data['action'] ) {
246
  $button_data['tag'] = 'button';
247
  $button_data['href_attribute'] = 'data-href="' . $network_share_link . '"';
248
  } else {
@@ -250,43 +196,48 @@ class DPSP_Network_Buttons_Outputter {
250
  $button_data['href_attribute'] = 'href="' . $network_share_link . '"';
251
  }
252
 
253
- /**
254
- * Filter the "rel" attribute before adding it
255
- *
256
- * @param array $rel
257
- *
258
- */
259
- $button_data['rel'] = esc_attr( implode( ' ', apply_filters( 'dpsp_network_button_attribute_rel', [ 'nofollow', 'noopener' ] ) ) );
 
 
 
 
260
 
261
  return $button_data;
262
  }
263
 
264
  /**
265
- * Returns the value that should be populated in the link's "title" attribute,
266
- * based on the provided network
267
  *
268
  * @param string $network_slug
269
  * @param string $network_label
270
- *
271
  * @return string
272
- *
273
  */
274
  private static function get_share_link_title_attribute( $network_slug, $network_label ) {
275
-
276
  $title = sprintf( __( 'Share on %s', 'social-pug' ), $network_label );
277
 
278
- if ( 'pinterest' == $network_slug ) {
279
  $title = __( 'Save to Pinterest', 'social-pug' );
280
  }
281
 
282
- if ( 'email' == $network_slug ) {
283
  $title = __( 'Send over email', 'social-pug' );
284
  }
285
 
286
- if ( 'print' == $network_slug ) {
287
  $title = __( 'Print this webpage', 'social-pug' );
288
  }
289
 
 
 
 
 
290
  /**
291
  * Filter the title before returning it
292
  *
@@ -300,46 +251,39 @@ class DPSP_Network_Buttons_Outputter {
300
  }
301
 
302
  /**
303
- * Returns the value that should be populated in the link's "title" attribute,
304
- * based on the provided network
305
  *
306
  * @param string $network_slug
307
  * @param string $network_label
308
- *
309
  * @return string
310
- *
311
  */
312
  private static function get_follow_link_title_attribute( $network_slug, $network_label ) {
313
-
314
  $title = sprintf( __( 'Follow on %s', 'social-pug' ), $network_label );
315
-
316
  $title = apply_filters( 'dpsp_link_title_attribute', $title, $network_slug );
317
-
318
  return $title;
319
  }
320
 
321
  /**
322
- * Get the network shares for a given network
323
  *
324
- * @param {string} $network_slug Machine readable name of network
325
- * @param {number[]} $networks_shares Array representing share counts from various networks
326
- * @param {string} $location Location where these buttons are being output
327
  *
328
- * @return number|string Number or String (in the case of rounded counts) that represents the count that will be displayed on the front end
329
  */
330
  private static function get_network_shares( $network_slug, $networks_shares, $location ) {
331
  $network_shares = ( isset( $networks_shares[ $network_slug ] ) ? $networks_shares[ $network_slug ] : 0 );
332
-
333
  return apply_filters( 'dpsp_get_output_post_network_share_count', $network_shares, $location );
334
  }
335
 
336
  /**
337
- * Determine if the share count should be output for a given button
338
- *
339
- * @param {Array} $settings Array of settings for this location
340
- * @param {string} $network_slug
341
- * @param {number} $network_shares
342
  *
 
 
 
343
  * @return bool
344
  */
345
  private static function should_count_show( $settings, $network_slug, $network_shares ) {
@@ -347,7 +291,7 @@ class DPSP_Network_Buttons_Outputter {
347
  // Settings are not set for showing count
348
  return false;
349
  }
350
- if ( ! in_array( $network_slug, dpsp_get_networks_with_social_count() ) ) {
351
  // Network doesn't support share counts
352
  return false;
353
  }
@@ -368,10 +312,9 @@ class DPSP_Network_Buttons_Outputter {
368
  }
369
 
370
  /**
371
- * Determine if the label for a button should show
372
- *
373
- * @param {Array} $settings Array of settings for this location
374
  *
 
375
  * @return bool
376
  */
377
  private static function should_label_show( $settings ) {
@@ -379,11 +322,10 @@ class DPSP_Network_Buttons_Outputter {
379
  }
380
 
381
  /**
382
- * Get the url string that a button or link will point to
383
- *
384
- * @param {string} $network_slug Machine readable name of the network
385
- * @param {Array} $data Data bout the post and button output
386
  *
 
 
387
  * @return string
388
  */
389
  private static function get_button_share_link( $network_slug, $data ) {
@@ -397,9 +339,9 @@ class DPSP_Network_Buttons_Outputter {
397
  $post_description = sanitize_text_field( $data['post_details']['post_description'] );
398
 
399
  // Replace post title with custom tweet for Twitter
400
- if ( 'twitter' == $network_slug && ! empty( $data['post_details']['custom_tweet'] ) ) {
401
  $post_title = $data['post_details']['custom_tweet'];
402
- } elseif ( 'pinterest' == $network_slug ) {
403
  // Replace post title with custom pinterest description
404
  // and post image with custom image for Pinterest
405
  $pinterest_custom_description = self::get_post_custom_description_pinterest();
@@ -410,7 +352,7 @@ class DPSP_Network_Buttons_Outputter {
410
  if ( ! empty( $data['post_details']['post_custom_image_pinterest'] ) ) {
411
  $post_image = $data['post_details']['post_custom_image_pinterest'];
412
  }
413
- } elseif ( 'yummly' == $network_slug ) {
414
  $post_image = $data['post_details']['post_featured_image_url'];
415
  }
416
 
@@ -419,18 +361,16 @@ class DPSP_Network_Buttons_Outputter {
419
  $post_title = apply_filters( 'dpsp_get_button_share_link_title', $post_title, $data['post_details']['post_id'], $network_slug, $data['location'] );
420
  $post_description = apply_filters( 'dpsp_get_button_share_link_description', $post_description, $data['post_details']['post_id'], $network_slug, $data['location'] );
421
  $post_image = apply_filters( 'dpsp_get_button_share_link_image', $post_image, $data['post_details']['post_id'], $network_slug, $data['location'] );
422
- return dpsp_get_network_share_link( $network_slug, $post_url, $post_title, $post_description, $post_image );
423
 
 
424
  }
425
 
426
  /**
427
- * Returns the Pinterest description for the post
428
  *
429
  * @return string
430
- *
431
  */
432
  private static function get_post_custom_description_pinterest() {
433
-
434
  $pinterest_description = '';
435
 
436
  $post_obj = dpsp_get_current_post();
@@ -458,26 +398,24 @@ class DPSP_Network_Buttons_Outputter {
458
  $pin_source = ( ! empty( $settings['share_image_pin_description_source'] ) ? $settings['share_image_pin_description_source'] : 'image_alt_tag' );
459
 
460
  // Get the alt text
461
- if ( 'image_alt_tag' == $pin_source ) {
462
  $pinterest_description = get_post_meta( $image_id, '_wp_attachment_image_alt', true );
463
  }
464
 
465
  // Get the title text
466
- if ( 'image_title' == $pin_source ) {
467
  $pinterest_description = get_the_title( $image_id );
468
  }
469
  }
470
  }
471
 
472
  return $pinterest_description;
473
-
474
  }
475
 
476
  /**
477
- * Get the url string that a follow link will point to
478
  *
479
  * @param {string} $network_slug Machine readable name of the network
480
- *
481
  * @return string
482
  */
483
  private static function get_button_follow_link( $network_slug ) {
1
  <?php
2
 
3
+ use Mediavine\Grow\Network;
4
+ use Mediavine\Grow\Networks;
5
+ /**
6
+ * Class that handles the output of the social button list items and unordered list wrapper.
7
  */
 
8
  class DPSP_Network_Buttons_Outputter {
9
 
10
  private static $button_defaults = [
24
  ];
25
 
26
  /**
27
+ * Return the output for a button location.
 
 
 
 
 
28
  *
29
+ * @param array $settings Array of settings for this location
30
+ * @param string $action The action these buttons will be used for, either share or follow
31
+ * @param string $location The location slug where these buttons will be output
32
+ * @param array $data Other data about how these buttons should be output
33
  * @return string
34
  */
35
  public static function get_render( $settings = [], $action = '', $location = '', $data = [] ) {
48
  // Loop through each network and create the button
49
  end( $data['settings']['networks'] );
50
  $last_key = key( $data['settings']['networks'] );
51
+ $networks = Networks::get_instance();
52
+ foreach ( $data['settings']['networks'] as $network_slug => $network_data ) {
53
  // Check if we are at the last position to for the css class
54
  if ( $last_key === $network_slug ) {
55
  $array_position[] = 'last';
56
  }
57
+ $network = $networks->get( $network_slug );
58
+ if ( ! $network ) {
59
+ continue;
60
+ }
61
+ $args = array_merge( self::$button_defaults, self::single_button_data( $data, $network, $network_data['label'], $array_position ) );
62
+ $button = \Mediavine\Grow\View_Loader::get_view( '/inc/views/single-button.php', $args );
63
+
64
+ $output .= apply_filters( 'dpsp_get_button_output', $button, $args['network_slug'], $args['action'], $args['location'] );
65
  // Set position to false after first iteration
66
  $array_position = [];
67
  }
72
  }
73
 
74
  /**
75
+ * Collects general data about the current post.
 
76
  *
77
+ * @param array $data Data about the current call for buttons
78
  * @return array $post_details
79
  */
80
  public static function get_post_details( $data ) {
82
  return [];
83
  }
84
  // Set networks shares and post details
85
+ $post_obj = dpsp_get_current_post();
86
+ if ( ! is_object( $post_obj ) ) {
87
+ return false;
88
+ }
89
  $post_details = [];
90
  // Get post url and title
91
 
121
  $post_details['networks_shares'] = ( ! empty( $networks_shares ) ? $networks_shares : [] );
122
 
123
  return $post_details;
 
124
  }
125
 
126
  /**
127
+ * Generate the wrapper class string.
128
  *
129
  * @param array $settings settings for this location
130
  * @param string $action string representing the action, either share or follow
145
  return implode( ' ', $wrapper_classes );
146
  }
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  /**
149
+ * Returns an array of data that contains all information for button output.
 
 
 
 
 
150
  *
151
+ * @param array $data Data about how button should be output
152
+ * @param Network $network Associative array of network data
153
+ * @param string $network_label Network Label for Display
154
+ * @param array $array_position An array of string identifiers for css classes to indicate the position
155
  * @return array
156
  */
157
+ private static function single_button_data( $data, $network, $network_label, $array_position ) {
158
+ $slug = $network->get_slug();
159
+ $icon_slug = empty( $network->get_icon_override() ) ? $slug : $network->get_icon_override()->get_slug();
160
  $button_data = [
161
+ 'network_slug' => $slug,
162
+ 'icon_svg' => dpsp_get_svg_icon_output( $icon_slug ),
163
+ 'title_attribute' => esc_attr( 'share' === $data['action'] ? self::get_share_link_title_attribute( $slug, $network->get_label() ) : self::get_follow_link_title_attribute( $slug, $network->get_label() ) ),
164
+ 'network_label' => esc_attr( ( ( $network_label === $network->get_name() ) && ( $network_label !== $network->get_label() ) ) ? $network->get_label() : $network_label ),
165
+ 'network_shares' => ! empty( $data['post_details']['networks_shares'] ) ? self::get_network_shares( $slug, $data['post_details']['networks_shares'], $data['location'] ) : 0,
166
  'location' => $data['location'],
167
  'action' => $data['action'],
168
  ];
169
 
170
+ $button_data['show_share_counts'] = self::should_count_show( $data['settings'], $slug, $button_data['network_shares'] );
171
  $button_data['show_labels'] = self::should_label_show( $data['settings'] );
172
 
173
  // Get the link of the button
174
+ $network_share_link = 'share' === $data['action'] ? self::get_button_share_link( $slug, $data ) : self::get_button_follow_link( $slug );
175
 
176
  // Set button classes
177
  $button_data['button_classes'] = [ 'dpsp-network-btn' ];
178
+ $button_data['button_classes'][] = ( isset( $slug ) ? 'dpsp-' . $slug : '' );
179
+ $button_data['button_classes'][] = ( ( empty( $network->get_label() ) || ! isset( $data['settings']['display']['show_labels'] ) ) && ( ! in_array( $slug, dpsp_get_networks_with_social_count(), true ) || ! $button_data['show_share_counts'] ) ? 'dpsp-no-label' : '' );
180
  $button_data['button_classes'][] = ( $button_data['show_share_counts'] ? 'dpsp-has-count' : '' );
181
  foreach ( $array_position as $position ) {
182
  $button_data['button_classes'][] = 'dpsp-' . $position;
187
  $button_data['button_classes'] = apply_filters( 'dpsp_button_classes', $button_data['button_classes'], $data['location'], $button_data['network_shares'] );
188
  $button_data['button_classes'] = esc_attr( implode( ' ', array_filter( $button_data['button_classes'] ) ) );
189
 
190
+ // Load pinterest and grow as a button when no href value is used
191
+ if ( ( 'pinterest' === $slug || 'grow' === $slug ) && 'share' === $data['action'] ) {
192
  $button_data['tag'] = 'button';
193
  $button_data['href_attribute'] = 'data-href="' . $network_share_link . '"';
194
  } else {
196
  $button_data['href_attribute'] = 'href="' . $network_share_link . '"';
197
  }
198
 
199
+ // Filter the "rel" attribute before adding it.
200
+ $button_data['rel'] = esc_attr(
201
+ implode(
202
+ ' ', apply_filters(
203
+ 'dpsp_network_button_attribute_rel', [
204
+ 'nofollow',
205
+ 'noopener',
206
+ ]
207
+ )
208
+ )
209
+ );
210
 
211
  return $button_data;
212
  }
213
 
214
  /**
215
+ * Returns the value that should be populated in the link's "title" attribute, based on the provided network.
 
216
  *
217
  * @param string $network_slug
218
  * @param string $network_label
 
219
  * @return string
 
220
  */
221
  private static function get_share_link_title_attribute( $network_slug, $network_label ) {
222
+ // translators: %s
223
  $title = sprintf( __( 'Share on %s', 'social-pug' ), $network_label );
224
 
225
+ if ( 'pinterest' === $network_slug ) {
226
  $title = __( 'Save to Pinterest', 'social-pug' );
227
  }
228
 
229
+ if ( 'email' === $network_slug ) {
230
  $title = __( 'Send over email', 'social-pug' );
231
  }
232
 
233
+ if ( 'print' === $network_slug ) {
234
  $title = __( 'Print this webpage', 'social-pug' );
235
  }
236
 
237
+ if ( 'grow' === $network_slug ) {
238
+ $title = __( 'Save on Grow.me', 'social-pug' );
239
+ }
240
+
241
  /**
242
  * Filter the title before returning it
243
  *
251
  }
252
 
253
  /**
254
+ * Returns the value that should be populated in the link's "title" attribute, based on the provided network.
 
255
  *
256
  * @param string $network_slug
257
  * @param string $network_label
 
258
  * @return string
 
259
  */
260
  private static function get_follow_link_title_attribute( $network_slug, $network_label ) {
261
+ // translators: %s
262
  $title = sprintf( __( 'Follow on %s', 'social-pug' ), $network_label );
 
263
  $title = apply_filters( 'dpsp_link_title_attribute', $title, $network_slug );
 
264
  return $title;
265
  }
266
 
267
  /**
268
+ * Get the network shares for a given network.
269
  *
270
+ * @param string $network_slug Machine readable name of network
271
+ * @param int $networks_shares Array representing share counts from various networks
272
+ * @param string $location Location where these buttons are being output
273
  *
274
+ * @return int|string Represents the count that will be displayed on the front end
275
  */
276
  private static function get_network_shares( $network_slug, $networks_shares, $location ) {
277
  $network_shares = ( isset( $networks_shares[ $network_slug ] ) ? $networks_shares[ $network_slug ] : 0 );
 
278
  return apply_filters( 'dpsp_get_output_post_network_share_count', $network_shares, $location );
279
  }
280
 
281
  /**
282
+ * Determine if the share count should be output for a given button.
 
 
 
 
283
  *
284
+ * @param array $settings Array of settings for this location
285
+ * @param string $network_slug
286
+ * @param int $network_shares
287
  * @return bool
288
  */
289
  private static function should_count_show( $settings, $network_slug, $network_shares ) {
291
  // Settings are not set for showing count
292
  return false;
293
  }
294
+ if ( ! in_array( $network_slug, dpsp_get_networks_with_social_count(), true ) ) {
295
  // Network doesn't support share counts
296
  return false;
297
  }
312
  }
313
 
314
  /**
315
+ * Determine if the label for a button should show.
 
 
316
  *
317
+ * @param array $settings Array of settings for this location
318
  * @return bool
319
  */
320
  private static function should_label_show( $settings ) {
322
  }
323
 
324
  /**
325
+ * Get the url string that a button or link will point to.
 
 
 
326
  *
327
+ * @param string $network_slug Machine readable name of the network
328
+ * @param array $data Data bout the post and button output
329
  * @return string
330
  */
331
  private static function get_button_share_link( $network_slug, $data ) {
339
  $post_description = sanitize_text_field( $data['post_details']['post_description'] );
340
 
341
  // Replace post title with custom tweet for Twitter
342
+ if ( 'twitter' === $network_slug && ! empty( $data['post_details']['custom_tweet'] ) ) {
343
  $post_title = $data['post_details']['custom_tweet'];
344
+ } elseif ( 'pinterest' === $network_slug ) {
345
  // Replace post title with custom pinterest description
346
  // and post image with custom image for Pinterest
347
  $pinterest_custom_description = self::get_post_custom_description_pinterest();
352
  if ( ! empty( $data['post_details']['post_custom_image_pinterest'] ) ) {
353
  $post_image = $data['post_details']['post_custom_image_pinterest'];
354
  }
355
+ } elseif ( 'yummly' === $network_slug ) {
356
  $post_image = $data['post_details']['post_featured_image_url'];
357
  }
358
 
361
  $post_title = apply_filters( 'dpsp_get_button_share_link_title', $post_title, $data['post_details']['post_id'], $network_slug, $data['location'] );
362
  $post_description = apply_filters( 'dpsp_get_button_share_link_description', $post_description, $data['post_details']['post_id'], $network_slug, $data['location'] );
363
  $post_image = apply_filters( 'dpsp_get_button_share_link_image', $post_image, $data['post_details']['post_id'], $network_slug, $data['location'] );
 
364
 
365
+ return dpsp_get_network_share_link( $network_slug, $post_url, $post_title, $post_description, $post_image );
366
  }
367
 
368
  /**
369
+ * Returns the Pinterest description for the post.
370
  *
371
  * @return string
 
372
  */
373
  private static function get_post_custom_description_pinterest() {
 
374
  $pinterest_description = '';
375
 
376
  $post_obj = dpsp_get_current_post();
398
  $pin_source = ( ! empty( $settings['share_image_pin_description_source'] ) ? $settings['share_image_pin_description_source'] : 'image_alt_tag' );
399
 
400
  // Get the alt text
401
+ if ( 'image_alt_tag' === $pin_source ) {
402
  $pinterest_description = get_post_meta( $image_id, '_wp_attachment_image_alt', true );
403
  }
404
 
405
  // Get the title text
406
+ if ( 'image_title' === $pin_source ) {
407
  $pinterest_description = get_the_title( $image_id );
408
  }
409
  }
410
  }
411
 
412
  return $pinterest_description;
 
413
  }
414
 
415
  /**
416
+ * Get the url string that a follow link will point to.
417
  *
418
  * @param {string} $network_slug Machine readable name of the network
 
419
  * @return string
420
  */
421
  private static function get_button_follow_link( $network_slug ) {
inc/class-frontend-data.php CHANGED
@@ -1,91 +1,170 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
4
 
5
- if ( class_exists( 'Social_Pug' ) ) {
6
- class Frontend_Data extends Asset_Loader {
7
 
8
- private static $instance = null;
9
 
10
- /**
11
- * @var $data array|null
12
- */
13
- private $data = null;
14
 
15
- public static function get_instance() {
16
- if ( null === self::$instance ) {
17
- self::$instance = new self();
18
- self::$instance->init();
19
- }
20
 
21
- return self::$instance;
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
 
 
 
24
 
25
- /**
26
- * Set up data and add hook for output
27
- */
28
- public function init() {
29
- $this->data = [];
30
- add_action( 'wp_footer', [ $this, 'output_data' ] );
31
- add_filter( 'mv_grow_frontend_data', [ $this, 'general_data' ] );
32
- add_filter( 'mv_grow_frontend_data', [ $this, 'get_counts' ] );
33
- add_filter( 'mv_grow_frontend_data', [ $this, 'should_run' ] );
34
- }
 
 
 
 
 
35
 
36
- /**
37
- * Run hook to collect all data
38
- */
39
- public function get_data() {
40
- $this->data = apply_filters( 'mv_grow_frontend_data', $this->data );
41
- }
 
 
 
42
 
 
 
 
 
 
 
 
 
 
43
 
44
- /**
45
- * Get share counts for post if they exist
46
- *
47
- * @param $data array Data that will be output
48
- *
49
- * @return array Data to be output
50
- */
51
- public function get_counts( $data ) {
52
- $post = dpsp_get_current_post();
53
- if ( $post ) {
54
- $data['shareCounts'] = dpsp_get_post_share_counts( $post->ID );
 
 
55
  }
56
-
57
- return $data;
58
  }
59
 
60
- /**
61
- * Output data as data attribute on div
62
- */
63
- public function output_data() {
64
- $this->get_data();
65
- $data = htmlspecialchars( json_encode( $this->data ), ENT_QUOTES, 'UTF-8' );
66
- echo wp_kses_post( '<div id="mv-grow-data" data-settings=\'' . $data . '\'></div>' );
 
 
 
67
  }
68
 
69
- public function general_data( $data ) {
70
- $general = [
71
- 'contentSelector' => apply_filters( 'mv_grow_content_wrapper_selector', false ),
72
- ];
73
- $data['general'] = $general;
74
 
75
- return $data;
76
- }
 
 
 
 
 
77
 
78
- /**
79
- * Determine if Grow should do anything based on if the page is singular or not
80
- *
81
- * @param $data array Existing data that will be output to frontend
82
- *
83
- * @return array
84
- */
85
- public function should_run( $data ) {
86
- $data['shouldRun'] = is_singular();
87
-
88
- return $data;
89
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  }
91
  }
1
  <?php
 
2
  namespace Mediavine\Grow;
3
 
4
+ use Social_Pug;
 
5
 
6
+ class Frontend_Data extends Asset_Loader {
7
 
8
+ /** @var Frontend_Data|null $instance */
9
+ private static $instance = null;
 
 
10
 
11
+ /** @var array|null $data Data to be output to frontend scripts */
12
+ private $data = null;
 
 
 
13
 
14
+ /** @var array|null $data Data for admin screens to be output to frontend scripts */
15
+ private $admin_data = null;
16
+
17
+ /**
18
+ *
19
+ *
20
+ * @return Asset_Loader|Frontend_Data|null
21
+ */
22
+ public static function get_instance() {
23
+ if ( null === self::$instance ) {
24
+ self::$instance = new self();
25
+ self::$instance->init();
26
  }
27
 
28
+ return self::$instance;
29
+ }
30
 
31
+ /**
32
+ * Set up data and add hook for output.
33
+ */
34
+ public function init() {
35
+ $this->data = [];
36
+ $this->admin_data = [];
37
+ add_action( 'wp_footer', [ $this, 'output_data' ] );
38
+ add_action( 'admin_footer', [ $this, 'output_admin_data' ] );
39
+ add_filter( 'mv_grow_frontend_data', [ $this, 'general_data' ] );
40
+ add_filter( 'mv_grow_frontend_data', [ $this, 'get_counts' ] );
41
+ add_filter( 'mv_grow_frontend_data', [ $this, 'should_run' ] );
42
+ add_filter( 'mv_grow_frontend_admin_data', [ $this, 'get_admin_svg' ] );
43
+ add_filter( 'mv_grow_frontend_admin_data', [ $this, 'get_admin_is_free' ] );
44
+ add_filter( 'mv_grow_frontend_admin_data', [ $this, 'get_admin_api_data' ] );
45
+ }
46
 
47
+ /**
48
+ * Run hook to collect all data.
49
+ *
50
+ * @return array
51
+ */
52
+ public function get_data() {
53
+ $this->data = apply_filters( 'mv_grow_frontend_data', $this->data );
54
+ return $this->data;
55
+ }
56
 
57
+ /**
58
+ * Run hook to collect all data for admin.
59
+ *
60
+ * @return array
61
+ */
62
+ public function get_admin_data() {
63
+ $this->admin_data = apply_filters( 'mv_grow_frontend_admin_data', $this->admin_data );
64
+ return $this->admin_data;
65
+ }
66
 
67
+ /**
68
+ * Get share counts for post if they exist.
69
+ *
70
+ * @param $data array Data that will be output
71
+ * @return array Data to be output
72
+ */
73
+ public function get_counts( $data = [] ) {
74
+ $post = dpsp_get_current_post();
75
+ if ( $post ) {
76
+ $data['shareCounts'] = dpsp_get_post_share_counts( $post->ID );
77
+
78
+ foreach ( $data['shareCounts'] as $social => $value ) {
79
+ $data['shareCounts'][ $social ] = (int) $value;
80
  }
 
 
81
  }
82
 
83
+ return $data;
84
+ }
85
+
86
+ /**
87
+ * Output data as data attribute on div.
88
+ */
89
+ public function output_data() {
90
+ if ( ( is_home() && is_front_page() ) || is_archive() ) {
91
+ // If this is an archive or a non static front page, don't output data
92
+ return;
93
  }
94
 
95
+ $data = htmlspecialchars( json_encode( $this->get_data() ), ENT_QUOTES, 'UTF-8' );
96
+ echo wp_kses( '<div id="mv-grow-data" data-settings=\'' . $data . '\'></div>', View_Loader::get_allowed_tags() );
97
+ }
 
 
98
 
99
+ /**
100
+ * Output data as data attribute on div for admin screens.
101
+ */
102
+ public function output_admin_data() {
103
+ $admin_data = htmlspecialchars( json_encode( $this->get_admin_data() ), ENT_QUOTES, 'UTF-8' );
104
+ echo wp_kses( '<div id="mv-grow-admin-data" data-settings=\'' . $admin_data . '\'></div>', View_Loader::get_allowed_tags() );
105
+ }
106
 
107
+ /**
108
+ * Add some general data to the output.
109
+ *
110
+ * @param array $data
111
+ * @return array
112
+ */
113
+ public function general_data( $data = [] ) {
114
+ $general = [
115
+ 'contentSelector' => apply_filters( 'mv_grow_content_wrapper_selector', false ),
116
+ ];
117
+ $data['general'] = $general;
118
+
119
+ return $data;
120
+ }
121
+
122
+ /**
123
+ * Determine if Grow should do anything based on if the page is singular or not.
124
+ *
125
+ * @param $data array Existing data that will be output to frontend
126
+ * @return array
127
+ */
128
+ public function should_run( $data = [] ) {
129
+ $data['shouldRun'] = is_singular();
130
+
131
+ return $data;
132
+ }
133
+
134
+ /**
135
+ * Output Icon Data for all networks.
136
+ *
137
+ * @param $admin_data array Existing data that will be output to frontend
138
+ * @return array
139
+ */
140
+ public function get_admin_svg( $admin_data = [] ) {
141
+ $networks = Networks::get_instance();
142
+ $admin_data['iconData'] = dpsp_get_svg_data_for_networks( $networks->get_all() );
143
+ return $admin_data;
144
+ }
145
+
146
+ /**
147
+ * Output Whether or not the free version of the plugin is running
148
+ *
149
+ * @param $admin_data array Existing data that will be output to frontend
150
+ * @return array
151
+ */
152
+ public function get_admin_is_free( $admin_data = [] ) {
153
+ $admin_data['isFree'] = Social_Pug::is_free();
154
+ return $admin_data;
155
+ }
156
+
157
+ /**
158
+ * Output API Data for Admin
159
+ *
160
+ * @param $admin_data array Existing data that will be output to frontend
161
+ * @return array
162
+ */
163
+ public function get_admin_api_data( $admin_data = [] ) {
164
+ $admin_data['apiData'] = [
165
+ 'root' => get_rest_url(),
166
+ 'nonce' => wp_create_nonce( 'wp_rest' ),
167
+ ];
168
+ return $admin_data;
169
  }
170
  }
inc/class-general-settings.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ use Mediavine\Grow\Settings;
3
+ use Mediavine\Grow\Has_Settings_API;
4
+
5
+ /**
6
+ * Class General_Settings Representation of the General Settings for the Plugin
7
+ */
8
+ class General_Settings implements Has_Settings_API {
9
+ private $api_slug = 'general';
10
+
11
+ private $settings_slug = 'dpsp_settings';
12
+
13
+ public function update_settings( $settings ) {
14
+ return update_option( $this->settings_slug, $settings );
15
+ }
16
+
17
+ public function get_settings() {
18
+ return ! empty( $this->settings_slug ) ? Settings::get_setting( $this->settings_slug, [] ) : [];
19
+ }
20
+
21
+ public function get_api_slug() {
22
+ return $this->api_slug;
23
+ }
24
+ }
inc/class-icon.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Mediavine\Grow;
3
+
4
+ class Icon {
5
+
6
+ /** @var int Width of icon that represents pixel width and SVG coordinate width, used for width and viewBox attributes */
7
+ private $width;
8
+
9
+ /** @var int Height of icon that represents pixel height and SVG coordinate height, used for height and viewBox attributes */
10
+ private $height;
11
+
12
+ /** @var string[] Array of SVG path data strings */
13
+ private $paths;
14
+
15
+ /** @var int[] Array of integers for SVG offset for viewBox property */
16
+ private $svg_offset;
17
+
18
+ /** @var string Identifier string for this icon */
19
+ private $slug;
20
+
21
+ /**
22
+ * Icon constructor.
23
+ *
24
+ * @param string $slug Identifier for this icon
25
+ * @param array $args Icon Data to regsiter with
26
+ */
27
+ public function __construct( $slug = '', $args ) {
28
+ $this->slug = $slug;
29
+ $this->width = $args['width'];
30
+ $this->height = $args['height'];
31
+ $this->paths = is_array( $args['paths'] ) ? $args['paths'] : [ $args['paths'] ];
32
+ $this->svg_offset = isset( $args['svg_offset'] ) ? $args['svg_offset'] : [];
33
+ }
34
+
35
+ /**
36
+ * Get the data for this Icon.
37
+ *
38
+ * @return array
39
+ */
40
+ public function get_data() {
41
+ return [
42
+ 'height' => $this->height,
43
+ 'width' => $this->width,
44
+ 'paths' => $this->paths,
45
+ ];
46
+ }
47
+
48
+ /**
49
+ * Get the slug for this icon.
50
+ *
51
+ * @return string
52
+ */
53
+ public function get_slug() {
54
+ return $this->slug;
55
+ }
56
+
57
+ /**
58
+ * Turn the data for this icon into an string representing the SVG Element with path inside.
59
+ *
60
+ * @return string
61
+ */
62
+ public function compose_svg() {
63
+ $svg_offset_x = isset( $this->svg_offset['x'] ) ? $this->svg_offset['x'] : 0;
64
+ $svg_offset_y = isset( $this->svg_offset['y'] ) ? $this->svg_offset['y'] : 0;
65
+ $output = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="' . $svg_offset_x . ' ' . $svg_offset_y . ' ' . absint( $this->width ) . ' ' . absint( $this->height ) . '">';
66
+ foreach ( $this->paths as $path ) {
67
+ $output .= '<path d="' . $path . '"></path>';
68
+ }
69
+ $output .= '</svg>';
70
+
71
+ return $output;
72
+ }
73
+ }
inc/class-icons.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Mediavine\Grow;
3
+
4
+ class Icons {
5
+
6
+ /** @var Icons */
7
+ private static $instance = null;
8
+
9
+ /** @var Icon[] Array of Icon classes registered with the plugin */
10
+ private $icons = [];
11
+
12
+ /**
13
+ * Get instance of Class.
14
+ *
15
+ * @return Icons
16
+ */
17
+ public static function get_instance() {
18
+ if ( null === self::$instance ) {
19
+ self::$instance = new self();
20
+ self::$instance->init();
21
+ }
22
+
23
+ return self::$instance;
24
+ }
25
+
26
+ /**
27
+ * Register generic icons on initialization.
28
+ */
29
+ public function init() {
30
+ $this->register_generic();
31
+ }
32
+
33
+ /**
34
+ * Register generic icons not associated with any networks.
35
+ */
36
+ private function register_generic() {
37
+ $utility = [
38
+
39
+ 'share' => [
40
+ 'paths' => [ 'M20.8 20.8q1.984 0 3.392 1.376t1.408 3.424q0 1.984-1.408 3.392t-3.392 1.408-3.392-1.408-1.408-3.392q0-0.192 0.032-0.448t0.032-0.384l-8.32-4.992q-1.344 1.024-2.944 1.024-1.984 0-3.392-1.408t-1.408-3.392 1.408-3.392 3.392-1.408q1.728 0 2.944 0.96l8.32-4.992q0-0.128-0.032-0.384t-0.032-0.384q0-1.984 1.408-3.392t3.392-1.408 3.392 1.376 1.408 3.424q0 1.984-1.408 3.392t-3.392 1.408q-1.664 0-2.88-1.024l-8.384 4.992q0.064 0.256 0.064 0.832 0 0.512-0.064 0.768l8.384 4.992q1.152-0.96 2.88-0.96z' ],
41
+ 'width' => 26,
42
+ 'height' => 32,
43
+ ],
44
+ 'cancel' => [
45
+ 'paths' => [ 'M23.168 23.616q0 0.704-0.48 1.216l-2.432 2.432q-0.512 0.48-1.216 0.48t-1.216-0.48l-5.248-5.28-5.248 5.28q-0.512 0.48-1.216 0.48t-1.216-0.48l-2.432-2.432q-0.512-0.512-0.512-1.216t0.512-1.216l5.248-5.248-5.248-5.248q-0.512-0.512-0.512-1.216t0.512-1.216l2.432-2.432q0.512-0.512 1.216-0.512t1.216 0.512l5.248 5.248 5.248-5.248q0.512-0.512 1.216-0.512t1.216 0.512l2.432 2.432q0.48 0.48 0.48 1.216t-0.48 1.216l-5.248 5.248 5.248 5.248q0.48 0.48 0.48 1.216z' ],
46
+ 'width' => 25,
47
+ 'height' => 32,
48
+ ],
49
+ 'ok' => [
50
+ 'paths' => [ 'M31.4,3.4l-2.8-2.8C28.2,0.2,27.7,0,27.2,0c-0.5,0-1,0.2-1.4,0.6L12.2,14.2L6.2,8.1C5.8,7.7,5.3,7.5,4.8,7.5 s-1,0.2-1.4,0.6l-2.8,2.8C0.2,11.3,0,11.7,0,12.3c0,0.5,0.2,1,0.6,1.4L8,21.1l2.8,2.8c0.4,0.4,0.9,0.6,1.4,0.6c0.5,0,1-0.2,1.4-0.6 l2.8-2.8L31.4,6.2C31.8,5.8,32,5.3,32,4.8C32,4.2,31.8,3.8,31.4,3.4z' ],
51
+ 'width' => 32,
52
+ 'height' => 25,
53
+ ],
54
+ 'pencil' => [
55
+ 'paths' => [ 'M31.3,24.5c0.5-0.5,0.7-1.1,0.7-1.8s-0.2-1.3-0.7-1.8l-19-19c-0.5-0.5-1.2-0.9-2-1.3C9.4,0.2,8.6,0,7.8,0H0 v7.8c0,0.8,0.2,1.6,0.6,2.5s0.8,1.5,1.3,2l19,19c0.5,0.5,1.1,0.7,1.8,0.7c0.7,0,1.3-0.2,1.8-0.7L31.3,24.5z M4.8,10.3L7,8.2 l14.4,14.4l-2.1,2.1L4.8,10.3z M7.8,3.5c0.3,0,0.7,0.1,1.1,0.3C8.7,4,8.4,4.2,8,4.6C7.7,5,7.1,5.5,6.4,6.3S5,7.6,4.5,8.1L3.8,8.9 C3.6,8.4,3.5,8,3.5,7.8V5.2l1.7-1.7H7.8z M10.3,4.8l14.4,14.4l-2.1,2.1L8.2,7L10.3,4.8z M25.9,20.4l2.2,2.2l-5.5,5.5L20.4,26 L25.9,20.4z' ],
56
+ 'width' => 32,
57
+ 'height' => 32,
58
+ ],
59
+ ];
60
+ foreach ( $utility as $slug => $data ) {
61
+ $this->register_icon( new Icon( $slug, $data ) );
62
+ }
63
+ }
64
+
65
+ /**
66
+ * Register an Icon class instance with this class.
67
+ *
68
+ * @param Icon $icon
69
+ * @return bool True if the icon is successfully register, False if it fails because an Icon with that slug exists
70
+ */
71
+ public function register_icon( Icon $icon ) {
72
+ if ( array_key_exists( $icon->get_slug(), $this->icons ) ) {
73
+ error_log( 'MV Grow Error: Attempting to add icon that already exists ' . $icon->get_slug() ); // @codingStandardsIgnoreLine
74
+
75
+ return false;
76
+ }
77
+ $this->icons[ $icon->get_slug() ] = $icon;
78
+
79
+ return true;
80
+ }
81
+
82
+ /**
83
+ * Get an Icon class instance with the given slug.
84
+ *
85
+ * @param string $slug Icon to get
86
+ * @return Icon|null
87
+ */
88
+ public function get( $slug ) {
89
+ return isset( $this->icons[ $slug ] ) ? $this->icons[ $slug ] : null;
90
+ }
91
+
92
+ /**
93
+ * Get an array of icons from an array of slugs
94
+ *
95
+ * @param array $slugs
96
+ * @return Icons[] Icons array corresponding to passed slugs
97
+ */
98
+ public function get_many( $slugs ) {
99
+ return array_map( [ $this, 'get' ], $slugs );
100
+ }
101
+ }
inc/class-meta-tags.php ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Mediavine\Grow;
3
+
4
+ use Social_Pug;
5
+
6
+ /**
7
+ * Manage all meta tag building & output.
8
+ */
9
+ class Meta_Tags {
10
+ /**
11
+ * All-in-one main process called via WordPress hook.
12
+ */
13
+ public static function build_and_output() {
14
+ // Require single-post context.
15
+ if ( ! is_singular() ) {
16
+ return;
17
+ }
18
+
19
+ // Require meta tags to be enabled.
20
+ $settings = Settings::get_setting( 'dpsp_settings', [] );
21
+ if ( ! empty( $settings['disable_meta_tags'] ) ) {
22
+ return;
23
+ }
24
+
25
+ // Require post data.
26
+ $post = dpsp_get_current_post();
27
+ if ( is_null( $post ) ) {
28
+ return;
29
+ }
30
+
31
+ // Get all the tag data.
32
+ $tags = self::get_data( $post, $settings );
33
+
34
+ // Allow plugins to add other tags.
35
+ $tags = apply_filters( 'mv_grow_build_tags', $tags, $post );
36
+
37
+ self::render( $tags );
38
+ }
39
+
40
+ /**
41
+ * Output meta tags HTML.
42
+ *
43
+ * @param array $tags
44
+ */
45
+ public static function render( array $tags ) {
46
+ $attribution = 'Grow Social by Mediavine v.' . esc_attr( DPSP_VERSION ) . ' https://marketplace.mediavine.com/grow-social-pro/';
47
+
48
+ echo '<!-- ' . esc_attr( $attribution ) . ' -->';
49
+
50
+ echo self::build_html( $tags ); // @codingStandardsIgnoreLine
51
+ do_action( 'dpsp_output_meta_tags' );
52
+
53
+ echo esc_attr( PHP_EOL ) . '<!-- ' . esc_attr( $attribution ) . ' -->' . esc_attr( PHP_EOL );
54
+ }
55
+
56
+ /**
57
+ * Fetches data for Open Graph, Twitter, and Facebook meta tags.
58
+ *
59
+ * The indices used in the array map to their final attribute names.
60
+ *
61
+ * @param \WP_Post $post
62
+ * @param array $settings WordPress settings for this plugin.
63
+ * @return array Meta tag data.
64
+ */
65
+ public static function get_data( \WP_Post $post, array $settings ) {
66
+ // Get default title, description, and image.
67
+ $title = dpsp_get_post_title( $post->ID );
68
+ $desc = dpsp_get_post_description( $post->ID );
69
+ $image_data = dpsp_get_post_image_data( $post->ID );
70
+
71
+ // Only pull custom share data if Pro.
72
+ if ( ! Social_Pug::is_free() ) {
73
+ $title = dpsp_get_post_custom_title( $post->ID ) ?: $title;
74
+ $desc = dpsp_get_post_custom_description( $post->ID ) ?: $desc;
75
+ $image_data = dpsp_get_post_custom_image_data( $post->ID ) ?: $image_data;
76
+ }
77
+
78
+ // Set basic meta tag data.
79
+ $tag_data = [
80
+ 'og:locale' => get_locale(),
81
+ 'og:type' => 'article',
82
+ 'og:title' => $title,
83
+ 'og:description' => $desc,
84
+ 'og:url' => dpsp_get_post_url( $post->ID ),
85
+ 'og:site_name' => get_bloginfo( 'name' ),
86
+ 'og:updated_time' => date( 'c', strtotime( $post->post_modified ) ),
87
+ 'article:published_time' => date( 'c', strtotime( $post->post_date ) ),
88
+ 'article:modified_time' => date( 'c', strtotime( $post->post_modified ) ),
89
+ 'twitter:card' => 'summary_large_image',
90
+ 'twitter:title' => $title,
91
+ 'twitter:description' => $desc,
92
+ ];
93
+
94
+ // Set Facebook App ID.
95
+ if ( ! empty( $settings['facebook_app_id'] ) ) {
96
+ $tag_data['fb:app_id'] = $settings['facebook_app_id'];
97
+ }
98
+
99
+ // Set image data.
100
+ if ( is_array( $image_data ) ) {
101
+ $tag_data['og:image'] = $image_data[0];
102
+ $tag_data['twitter:image'] = $image_data[0];
103
+
104
+ if ( ! empty( $image_data[1] ) ) {
105
+ $tag_data['og:image:width'] = $image_data[1];
106
+ }
107
+ if ( ! empty( $image_data[2] ) ) {
108
+ $tag_data['og:image:height'] = $image_data[2];
109
+ }
110
+ }
111
+
112
+ return $tag_data;
113
+ }
114
+
115
+ /**
116
+ * Builds HTML for meta tags with the given attributes.
117
+ *
118
+ * @param array $tags Unindexed array of indexed arrays containing data for each `meta` tag.
119
+ * @return string HTML.
120
+ */
121
+ public static function build_html( array $tags ) {
122
+ $output = '';
123
+ foreach ( $tags as $property => $value ) {
124
+ // Only Twitter uses the `meta` tag properly with a `name` attribute. The rest use `property`.
125
+ $attr_name = ( 0 === strpos( $property, 'twitter:' ) ) ? 'name' : 'property';
126
+ $output .= esc_attr( PHP_EOL ) . '<meta ' . $attr_name . '="' . esc_attr( $property ) . '" content="' . esc_attr( $value ) . '" />';
127
+ }
128
+
129
+ return $output;
130
+ }
131
+ }
inc/class-mobile-detect.php CHANGED
@@ -1,9 +1,8 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
 
4
  /**
5
- * Mobile Detect Library
6
- * =====================
7
  *
8
  * Motto: "Every business should have a mobile detection script to detect mobile readers"
9
  *
@@ -78,7 +77,7 @@ class Mobile_Detect {
78
  */
79
  const VERSION_TYPE_FLOAT = 'float';
80
  /**
81
- * HTTP headers that trigger the 'isMobile' detection
82
  * to be true.
83
  *
84
  * @var array
@@ -408,8 +407,8 @@ class Mobile_Detect {
408
  array $headers = null,
409
  $userAgent = null
410
  ) {
411
- $this->setHttpHeaders( $headers );
412
- $this->setUserAgent( $userAgent );
413
  }
414
 
415
  /**
@@ -420,7 +419,7 @@ class Mobile_Detect {
420
  *
421
  * @return string The version number in semantic version format.
422
  */
423
- public static function getScriptVersion() {
424
  return self::$VERSION;
425
  }
426
 
@@ -429,17 +428,17 @@ class Mobile_Detect {
429
  *
430
  * @return array List of phone devices.
431
  */
432
- public static function getPhoneDevices() {
433
  return self::$phoneDevices;
434
  }
435
 
436
  /**
437
- * Alias for getBrowsers() method.
438
  *
439
  * @return array List of user agents.
440
  */
441
- public static function getUserAgents() {
442
- return self::getBrowsers();
443
  }
444
 
445
  /**
@@ -447,7 +446,7 @@ class Mobile_Detect {
447
  *
448
  * @return array List of browsers / user agents.
449
  */
450
- public static function getBrowsers() {
451
  return self::$browsers;
452
  }
453
 
@@ -456,7 +455,7 @@ class Mobile_Detect {
456
  *
457
  * @return array List of utilities.
458
  */
459
- public static function getUtilities() {
460
  return self::$utilities;
461
  }
462
 
@@ -465,7 +464,7 @@ class Mobile_Detect {
465
  *
466
  * @return array The list of mobile operating systems.
467
  */
468
- public static function getOperatingSystems() {
469
  return self::$operatingSystems;
470
  }
471
 
@@ -474,7 +473,7 @@ class Mobile_Detect {
474
  *
475
  * @return array
476
  */
477
- public function getHttpHeaders() {
478
  return $this->httpHeaders;
479
  }
480
 
@@ -484,7 +483,7 @@ class Mobile_Detect {
484
  * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract
485
  * the headers. The default null is left for backwards compatibility.
486
  */
487
- public function setHttpHeaders( $httpHeaders = null ) {
488
  // use global _SERVER if $httpHeaders aren't defined
489
  if ( ! is_array( $httpHeaders ) || ! count( $httpHeaders ) ) {
490
  $httpHeaders = $_SERVER;
@@ -502,7 +501,7 @@ class Mobile_Detect {
502
  }
503
 
504
  // In case we're dealing with CloudFront, we need to know.
505
- $this->setCfHeaders( $httpHeaders );
506
  }
507
 
508
  /**
@@ -515,7 +514,7 @@ class Mobile_Detect {
515
  *
516
  * @return string|null The value of the header.
517
  */
518
- public function getHttpHeader( $header ) {
519
  // are we using PHP-flavored headers?
520
  if ( strpos( $header, '_' ) === false ) {
521
  $header = str_replace( '-', '_', $header );
@@ -541,7 +540,7 @@ class Mobile_Detect {
541
  *
542
  * @return array List of HTTP headers.
543
  */
544
- public function getUaHttpHeaders() {
545
  return self::$uaHttpHeaders;
546
  }
547
 
@@ -553,7 +552,7 @@ class Mobile_Detect {
553
  *
554
  * @return boolean If there were CloudFront headers to be set
555
  */
556
- public function setCfHeaders( $cfHeaders = null ) {
557
  // use global _SERVER if $cfHeaders aren't defined
558
  if ( ! is_array( $cfHeaders ) || ! count( $cfHeaders ) ) {
559
  $cfHeaders = $_SERVER;
@@ -575,11 +574,11 @@ class Mobile_Detect {
575
  return $response;
576
  }
577
 
578
- public function getMatchingRegex() {
579
  return $this->matchingRegex;
580
  }
581
 
582
- public function getMatchesArray() {
583
  return $this->matchesArray;
584
  }
585
 
@@ -599,11 +598,11 @@ class Mobile_Detect {
599
  throw new BadMethodCallException( "No such method exists: $name" );
600
  }
601
 
602
- $this->setDetectionType( self::DETECTION_TYPE_MOBILE );
603
 
604
  $key = substr( $name, 2 );
605
 
606
- return $this->matchUAAgainstKey( $key );
607
  }
608
 
609
  /**
@@ -616,12 +615,12 @@ class Mobile_Detect {
616
  * @deprecated since version 2.6.9
617
  *
618
  */
619
- public function setDetectionType( $type = null ) {
620
- if ( $type === null ) {
621
  $type = self::DETECTION_TYPE_MOBILE;
622
  }
623
 
624
- if ( $type !== self::DETECTION_TYPE_MOBILE && $type !== self::DETECTION_TYPE_EXTENDED ) {
625
  return;
626
  }
627
 
@@ -637,13 +636,13 @@ class Mobile_Detect {
637
  *
638
  * @return boolean
639
  */
640
- protected function matchUAAgainstKey( $key ) {
641
  // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc.
642
  $key = strtolower( $key );
643
  if ( false === isset( $this->cache[ $key ] ) ) {
644
 
645
  // change the keys to lower case
646
- $_rules = array_change_key_case( $this->getRules() );
647
 
648
  if ( false === empty( $_rules[ $key ] ) ) {
649
  $this->cache[ $key ] = $this->match( $_rules[ $key ] );
@@ -664,11 +663,11 @@ class Mobile_Detect {
664
  * @deprecated since version 2.6.9
665
  *
666
  */
667
- public function getRules() {
668
- if ( $this->detectionType == self::DETECTION_TYPE_EXTENDED ) {
669
- return self::getMobileDetectionRulesExtended();
670
  } else {
671
- return self::getMobileDetectionRules();
672
  }
673
  }
674
 
@@ -682,7 +681,7 @@ class Mobile_Detect {
682
  * @deprecated since version 2.6.9
683
  *
684
  */
685
- public function getMobileDetectionRulesExtended() {
686
  static $rules;
687
 
688
  if ( ! $rules ) {
@@ -706,7 +705,7 @@ class Mobile_Detect {
706
  * @deprecated since version 2.6.9
707
  *
708
  */
709
- public static function getMobileDetectionRules() {
710
  static $rules;
711
 
712
  if ( ! $rules ) {
@@ -758,30 +757,30 @@ class Mobile_Detect {
758
  *
759
  * @return bool
760
  */
761
- public function isMobile( $userAgent = null, $httpHeaders = null ) {
762
 
763
  if ( $httpHeaders ) {
764
- $this->setHttpHeaders( $httpHeaders );
765
  }
766
 
767
  if ( $userAgent ) {
768
- $this->setUserAgent( $userAgent );
769
  }
770
 
771
  // Check specifically for cloudfront headers if the useragent === 'Amazon CloudFront'
772
- if ( $this->getUserAgent() === 'Amazon CloudFront' ) {
773
- $cfHeaders = $this->getCfHeaders();
774
- if ( array_key_exists( 'HTTP_CLOUDFRONT_IS_MOBILE_VIEWER', $cfHeaders ) && $cfHeaders['HTTP_CLOUDFRONT_IS_MOBILE_VIEWER'] === 'true' ) {
775
  return true;
776
  }
777
  }
778
 
779
- $this->setDetectionType( self::DETECTION_TYPE_MOBILE );
780
 
781
- if ( $this->checkHttpHeadersForMobile() ) {
782
  return true;
783
  } else {
784
- return $this->matchDetectionRulesAgainstUA();
785
  }
786
 
787
  }
@@ -791,7 +790,7 @@ class Mobile_Detect {
791
  *
792
  * @return string|null The user agent if it's set.
793
  */
794
- public function getUserAgent() {
795
  return $this->userAgent;
796
  }
797
 
@@ -802,30 +801,35 @@ class Mobile_Detect {
802
  *
803
  * @return string|null
804
  */
805
- public function setUserAgent( $userAgent = null ) {
806
  // Invalidate cache due to #375
807
  $this->cache = [];
808
 
809
- if ( false === empty( $userAgent ) ) {
810
- return $this->userAgent = $userAgent;
 
 
811
  } else {
812
  $this->userAgent = null;
813
- foreach ( $this->getUaHttpHeaders() as $altHeader ) {
814
- if ( false === empty( $this->httpHeaders[ $altHeader ] ) ) { // @todo: should use getHttpHeader(), but it would be slow. (Serban)
815
  $this->userAgent .= $this->httpHeaders[ $altHeader ] . ' ';
816
  }
817
  }
818
 
819
  if ( ! empty( $this->userAgent ) ) {
820
- return $this->userAgent = trim( $this->userAgent );
 
821
  }
822
  }
823
 
824
- if ( count( $this->getCfHeaders() ) > 0 ) {
825
- return $this->userAgent = 'Amazon CloudFront';
 
 
826
  }
827
 
828
- return $this->userAgent = null;
829
  }
830
 
831
  /**
@@ -833,20 +837,20 @@ class Mobile_Detect {
833
  *
834
  * @return array
835
  */
836
- public function getCfHeaders() {
837
  return $this->cloudfrontHeaders;
838
  }
839
 
840
  /**
841
  * Check the HTTP headers for signs of mobile.
842
  * This is the fastest mobile check possible; it's used
843
- * inside isMobile() method.
844
  *
845
  * @return bool
846
  */
847
- public function checkHttpHeadersForMobile() {
848
 
849
- foreach ( $this->getMobileHeaders() as $mobileHeader => $matchType ) {
850
  if ( isset( $this->httpHeaders[ $mobileHeader ] ) ) {
851
  if ( is_array( $matchType['matches'] ) ) {
852
  foreach ( $matchType['matches'] as $_match ) {
@@ -866,7 +870,7 @@ class Mobile_Detect {
866
 
867
  }
868
 
869
- public function getMobileHeaders() {
870
  return self::$mobileHeaders;
871
  }
872
 
@@ -877,9 +881,9 @@ class Mobile_Detect {
877
  *
878
  * @return boolean
879
  */
880
- protected function matchDetectionRulesAgainstUA( $userAgent = null ) {
881
  // Begin general search.
882
- foreach ( $this->getRules() as $_regex ) {
883
  if ( empty( $_regex ) ) {
884
  continue;
885
  }
1
  <?php
 
2
  namespace Mediavine\Grow;
3
+
4
  /**
5
+ * Mobile Detect Library.
 
6
  *
7
  * Motto: "Every business should have a mobile detection script to detect mobile readers"
8
  *
77
  */
78
  const VERSION_TYPE_FLOAT = 'float';
79
  /**
80
+ * HTTP headers that trigger the 'is_mobile' detection
81
  * to be true.
82
  *
83
  * @var array
407
  array $headers = null,
408
  $userAgent = null
409
  ) {
410
+ $this->set_http_headers( $headers );
411
+ $this->set_user_agent( $userAgent );
412
  }
413
 
414
  /**
419
  *
420
  * @return string The version number in semantic version format.
421
  */
422
+ public static function get_script_version() {
423
  return self::$VERSION;
424
  }
425
 
428
  *
429
  * @return array List of phone devices.
430
  */
431
+ public static function get_phone_devices() {
432
  return self::$phoneDevices;
433
  }
434
 
435
  /**
436
+ * Alias for get_browsers() method.
437
  *
438
  * @return array List of user agents.
439
  */
440
+ public static function get_user_agents() {
441
+ return self::get_browsers();
442
  }
443
 
444
  /**
446
  *
447
  * @return array List of browsers / user agents.
448
  */
449
+ public static function get_browsers() {
450
  return self::$browsers;
451
  }
452
 
455
  *
456
  * @return array List of utilities.
457
  */
458
+ public static function get_utilities() {
459
  return self::$utilities;
460
  }
461
 
464
  *
465
  * @return array The list of mobile operating systems.
466
  */
467
+ public static function get_operating_systems() {
468
  return self::$operatingSystems;
469
  }
470
 
473
  *
474
  * @return array
475
  */
476
+ public function get_http_headers() {
477
  return $this->httpHeaders;
478
  }
479
 
483
  * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract
484
  * the headers. The default null is left for backwards compatibility.
485
  */
486
+ public function set_http_headers( $httpHeaders = null ) {
487
  // use global _SERVER if $httpHeaders aren't defined
488
  if ( ! is_array( $httpHeaders ) || ! count( $httpHeaders ) ) {
489
  $httpHeaders = $_SERVER;
501
  }
502
 
503
  // In case we're dealing with CloudFront, we need to know.
504
+ $this->set_cf_headers( $httpHeaders );
505
  }
506
 
507
  /**
514
  *
515
  * @return string|null The value of the header.
516
  */
517
+ public function get_http_header( $header ) {
518
  // are we using PHP-flavored headers?
519
  if ( strpos( $header, '_' ) === false ) {
520
  $header = str_replace( '-', '_', $header );
540
  *
541
  * @return array List of HTTP headers.
542
  */
543
+ public function get_ua_http_headers() {
544
  return self::$uaHttpHeaders;
545
  }
546
 
552
  *
553
  * @return boolean If there were CloudFront headers to be set
554
  */
555
+ public function set_cf_headers( $cfHeaders = null ) {
556
  // use global _SERVER if $cfHeaders aren't defined
557
  if ( ! is_array( $cfHeaders ) || ! count( $cfHeaders ) ) {
558
  $cfHeaders = $_SERVER;
574
  return $response;
575
  }
576
 
577
+ public function get_matching_regex() {
578
  return $this->matchingRegex;
579
  }
580
 
581
+ public function get_matches_array() {
582
  return $this->matchesArray;
583
  }
584
 
598
  throw new BadMethodCallException( "No such method exists: $name" );
599
  }
600
 
601
+ $this->set_detection_type( self::DETECTION_TYPE_MOBILE );
602
 
603
  $key = substr( $name, 2 );
604
 
605
+ return $this->match_ua_against_key( $key );
606
  }
607
 
608
  /**
615
  * @deprecated since version 2.6.9
616
  *
617
  */
618
+ public function set_detection_type( $type = null ) {
619
+ if ( null === $type ) {
620
  $type = self::DETECTION_TYPE_MOBILE;
621
  }
622
 
623
+ if ( self::DETECTION_TYPE_MOBILE !== $type && self::DETECTION_TYPE_EXTENDED !== $type ) {
624
  return;
625
  }
626
 
636
  *
637
  * @return boolean
638
  */
639
+ protected function match_ua_against_key( $key ) {
640
  // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc.
641
  $key = strtolower( $key );
642
  if ( false === isset( $this->cache[ $key ] ) ) {
643
 
644
  // change the keys to lower case
645
+ $_rules = array_change_key_case( $this->get_rules() );
646
 
647
  if ( false === empty( $_rules[ $key ] ) ) {
648
  $this->cache[ $key ] = $this->match( $_rules[ $key ] );
663
  * @deprecated since version 2.6.9
664
  *
665
  */
666
+ public function get_rules() {
667
+ if ( self::DETECTION_TYPE_EXTENDED === $this->detectionType ) {
668
+ return self::get_mobile_detection_rules_extended();
669
  } else {
670
+ return self::get_mobile_detection_rules();
671
  }
672
  }
673
 
681
  * @deprecated since version 2.6.9
682
  *
683
  */
684
+ public function get_mobile_detection_rules_extended() {
685
  static $rules;
686
 
687
  if ( ! $rules ) {
705
  * @deprecated since version 2.6.9
706
  *
707
  */
708
+ public static function get_mobile_detection_rules() {
709
  static $rules;
710
 
711
  if ( ! $rules ) {
757
  *
758
  * @return bool
759
  */
760
+ public function is_mobile( $userAgent = null, $httpHeaders = null ) {
761
 
762
  if ( $httpHeaders ) {
763
+ $this->set_http_headers( $httpHeaders );
764
  }
765
 
766
  if ( $userAgent ) {
767
+ $this->set_user_agent( $userAgent );
768
  }
769
 
770
  // Check specifically for cloudfront headers if the useragent === 'Amazon CloudFront'
771
+ if ( 'Amazon CloudFront' === $this->get_user_agent() ) {
772
+ $cfHeaders = $this->get_cf_headers();
773
+ if ( array_key_exists( 'HTTP_CLOUDFRONT_IS_MOBILE_VIEWER', $cfHeaders, true ) && 'true' === $cfHeaders['HTTP_CLOUDFRONT_IS_MOBILE_VIEWER'] ) {
774
  return true;
775
  }
776
  }
777
 
778
+ $this->set_detection_type( self::DETECTION_TYPE_MOBILE );
779
 
780
+ if ( $this->check_http_headers_for_mobile() ) {
781
  return true;
782
  } else {
783
+ return $this->match_detection_rules_against_ua();
784
  }
785
 
786
  }
790
  *
791
  * @return string|null The user agent if it's set.
792
  */
793
+ public function get_user_agent() {
794
  return $this->userAgent;
795
  }
796
 
801
  *
802
  * @return string|null
803
  */
804
+ public function set_user_agent( $userAgent = null ) {
805
  // Invalidate cache due to #375
806
  $this->cache = [];
807
 
808
+ if ( empty( $userAgent ) ) {
809
+ $this->userAgent = $userAgent;
810
+
811
+ return $this->userAgent;
812
  } else {
813
  $this->userAgent = null;
814
+ foreach ( $this->get_ua_http_headers() as $altHeader ) {
815
+ if ( false === empty( $this->httpHeaders[ $altHeader ] ) ) { // @todo: should use get_http_header(), but it would be slow. (Serban)
816
  $this->userAgent .= $this->httpHeaders[ $altHeader ] . ' ';
817
  }
818
  }
819
 
820
  if ( ! empty( $this->userAgent ) ) {
821
+ $this->userAgent = trim( $this->userAgent );
822
+ return $this->userAgent;
823
  }
824
  }
825
 
826
+ if ( count( $this->get_cf_headers() ) > 0 ) {
827
+ $this->userAgent = 'Amazon CloudFront';
828
+
829
+ return $this->userAgent;
830
  }
831
 
832
+ return null;
833
  }
834
 
835
  /**
837
  *
838
  * @return array
839
  */
840
+ public function get_cf_headers() {
841
  return $this->cloudfrontHeaders;
842
  }
843
 
844
  /**
845
  * Check the HTTP headers for signs of mobile.
846
  * This is the fastest mobile check possible; it's used
847
+ * inside is_mobile() method.
848
  *
849
  * @return bool
850
  */
851
+ public function check_http_headers_for_mobile() {
852
 
853
+ foreach ( $this->get_mobile_headers() as $mobileHeader => $matchType ) {
854
  if ( isset( $this->httpHeaders[ $mobileHeader ] ) ) {
855
  if ( is_array( $matchType['matches'] ) ) {
856
  foreach ( $matchType['matches'] as $_match ) {
870
 
871
  }
872
 
873
+ public function get_mobile_headers() {
874
  return self::$mobileHeaders;
875
  }
876
 
881
  *
882
  * @return boolean
883
  */
884
+ protected function match_detection_rules_against_ua( $userAgent = null ) {
885
  // Begin general search.
886
+ foreach ( $this->get_rules() as $_regex ) {
887
  if ( empty( $_regex ) ) {
888
  continue;
889
  }
inc/class-settings-api.php ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ namespace Mediavine\Grow;
5
+ use Mediavine\Grow\Tools\Toolkit;
6
+
7
+ /**
8
+ * Class Settings_API handles the API for changing Grow Social Settings
9
+ */
10
+ class Settings_API {
11
+
12
+ /** @var string Added to endpoints for REST API. */
13
+ const API_NAMESPACE = 'mv-grow-social/v1';
14
+
15
+ /** @var Settings_API singleton */
16
+ public static $instance;
17
+
18
+ /** @var array Settings registered through the API */
19
+ private $registered_settings = [];
20
+
21
+ /**
22
+ * Makes sure class is only instantiated once and runs init.
23
+ *
24
+ * @return self Instantiated class.
25
+ */
26
+ public static function get_instance() {
27
+ if ( ! self::$instance ) {
28
+ self::$instance = new self();
29
+ self::$instance->init();
30
+ }
31
+ return self::$instance;
32
+ }
33
+
34
+ /**
35
+ * Register routes
36
+ */
37
+ public function init() {
38
+ // Add REST API endpoints.
39
+ add_action( 'rest_api_init', [ $this, 'register_routes' ] );
40
+ }
41
+
42
+ /**
43
+ * Add REST API routes for feature flags to WordPress.
44
+ */
45
+ public function register_routes() {
46
+ // Prebuild the permissions callback.
47
+ $admin_permission = function () {
48
+ return current_user_can( 'manage_options' );
49
+ };
50
+
51
+ register_rest_route(
52
+ self::API_NAMESPACE, '/settings/tool/(?P<slug>\S+)', [
53
+ [
54
+ 'methods' => \WP_REST_Server::READABLE,
55
+ 'permission_callback' => $admin_permission,
56
+ 'args' => \Mediavine\Grow\API\V1\SettingsArgs\get_tool_settings(),
57
+ 'callback' => [ $this, 'get_tool_settings' ],
58
+ ],
59
+ [
60
+ 'methods' => \WP_REST_Server::EDITABLE,
61
+ 'permission_callback' => $admin_permission,
62
+ 'args' => \Mediavine\Grow\API\V1\SettingsArgs\put_tool_settings(),
63
+ 'callback' => [ $this, 'put_tool_settings' ],
64
+ ],
65
+ 'schema' => function () {
66
+ return self::build_api_schema( 'Grow Social Setting Schema', 'get_tool_settings' );
67
+ },
68
+ ]
69
+ );
70
+
71
+ register_rest_route(
72
+ self::API_NAMESPACE, '/settings/general', [
73
+ [
74
+ 'methods' => \WP_REST_Server::READABLE,
75
+ 'permission_callback' => $admin_permission,
76
+ 'args' => \Mediavine\Grow\API\V1\SettingsArgs\get_general_settings(),
77
+ 'callback' => [ $this, 'get_general_settings' ],
78
+ ],
79
+ [
80
+ 'methods' => \WP_REST_Server::EDITABLE,
81
+ 'permission_callback' => $admin_permission,
82
+ 'args' => \Mediavine\Grow\API\V1\SettingsArgs\put_general_settings(),
83
+ 'callback' => [ $this, 'put_general_settings' ],
84
+ ],
85
+ 'schema' => function () {
86
+ return self::build_api_schema( 'Grow Social Setting Schema', 'get_general_settings' );
87
+ },
88
+ ]
89
+ );
90
+ }
91
+
92
+ /**
93
+ * Put Settings for a given tool
94
+ *
95
+ * Mapped to the REST API.
96
+ *
97
+ * @param \WP_REST_Request $request
98
+ * @return \WP_REST_Response|\WP_Error
99
+ */
100
+ public function put_tool_settings( $request ) {
101
+ if ( ! $request['slug'] ) {
102
+ return new \WP_Error( 'missing slug', 'The Request is missing a setting API slug', [ 'status' => \WP_Http::BAD_REQUEST ] );
103
+ }
104
+ if ( ! array_key_exists( $request['slug'], $this->registered_settings ) ) {
105
+ return new \WP_Error( 'no-setting', 'Setting Not Found', [ 'status' => \WP_Http::NOT_FOUND ] );
106
+ }
107
+ $setting = $this->registered_settings[ $request['slug'] ];
108
+
109
+ return $this->put_settings( $setting, $request );
110
+ }
111
+ /**
112
+ * Get settings for a tool.
113
+ *
114
+ * Mapped to the REST API.
115
+ *
116
+ * @param \WP_REST_Request $request
117
+ * @return \WP_REST_Response|\WP_Error
118
+ */
119
+ public function get_tool_settings( $request ) {
120
+ if ( ! $request['slug'] ) {
121
+ return new \WP_Error( 'missing slug', 'The Request is missing a setting API slug', [ 'status' => \WP_Http::BAD_REQUEST ] );
122
+ }
123
+ if ( ! array_key_exists( $request['slug'], $this->registered_settings ) ) {
124
+ return new \WP_Error( 'no-setting', 'Setting Not Found', [ 'status' => \WP_Http::NOT_FOUND ] );
125
+ }
126
+ $setting = $this->registered_settings[ $request['slug'] ];
127
+
128
+ return $this->get_settings( $setting, $request );
129
+ }
130
+
131
+ /**
132
+ * Put Settings for General Settings
133
+ *
134
+ * Mapped to the REST API.
135
+ *
136
+ * @param \WP_REST_Request $request
137
+ * @return \WP_REST_Response|\WP_Error
138
+ */
139
+ public function put_general_settings( $request ) {
140
+ $slug = 'general';
141
+ if ( ! array_key_exists( $slug, $this->registered_settings ) ) {
142
+ return new \WP_Error( 'no-setting', 'Setting Not Found', [ 'status' => \WP_Http::NOT_FOUND ] );
143
+ }
144
+ $setting = $this->registered_settings[ $slug ];
145
+
146
+ return $this->put_settings( $setting, $request );
147
+ }
148
+ /**
149
+ * Get settings for general settings
150
+ *
151
+ * Mapped to the REST API.
152
+ *
153
+ * @param \WP_REST_Request $request
154
+ * @return \WP_REST_Response|\WP_Error
155
+ */
156
+ public function get_general_settings( $request ) {
157
+ $slug = 'general';
158
+ if ( ! array_key_exists( $slug, $this->registered_settings ) ) {
159
+ return new \WP_Error( 'no-setting', 'Setting Not Found', [ 'status' => \WP_Http::NOT_FOUND ] );
160
+ }
161
+ $setting = $this->registered_settings[ $slug ];
162
+
163
+ return $this->get_settings( $setting, $request );
164
+ }
165
+
166
+ /**
167
+ * Put Settings for a setting with API
168
+ *
169
+ * Mapped to the REST API.
170
+ *
171
+ * @param Has_Settings_API $setting
172
+ * @param \WP_REST_Request $request
173
+ * @return \WP_REST_Response|\WP_Error
174
+ */
175
+ public function put_settings( $setting, $request ) {
176
+
177
+ $is_options_sanitized = $request->sanitize_params();
178
+ if ( is_wp_error( $is_options_sanitized ) ) {
179
+ return $is_options_sanitized;
180
+ }
181
+ $values = $request->get_json_params();
182
+ $updated_options = $setting->update_settings( $this->key_network_array( $values ) );
183
+
184
+ if ( ! $updated_options ) {
185
+ return new \WP_Error( 'bad-update', 'There was an error while updating options' );
186
+ }
187
+
188
+ return new \WP_REST_Response( $values );
189
+ }
190
+
191
+ /**
192
+ * Get settings for a tool.
193
+ *
194
+ * Mapped to the REST API.
195
+ *
196
+ * @param Has_Settings_API $setting
197
+ * @param \WP_REST_Request $request
198
+ * @return \WP_REST_Response|\WP_Error
199
+ */
200
+ public function get_settings( $setting, $request ) {
201
+ $is_options_sanitized = $request->sanitize_params();
202
+ if ( is_wp_error( $is_options_sanitized ) ) {
203
+ return $is_options_sanitized;
204
+ }
205
+ return new \WP_REST_Response( $setting->get_settings() );
206
+ }
207
+
208
+ /**
209
+ * Build schema for an endpoint.
210
+ *
211
+ * @param string $title
212
+ * @param string $properties_callback
213
+ * @return array
214
+ */
215
+ public static function build_api_schema( $title, $properties_callback ) {
216
+ return [
217
+ '$schema' => 'http://json-schema.org/draft-04/schema#',
218
+ 'title' => $title, // Identity of the resource.
219
+ 'type' => 'object',
220
+ 'properties' => call_user_func( '\Mediavine\Grow\API\V1\SettingsSchema\\' . $properties_callback ),
221
+ ];
222
+ }
223
+
224
+ /**
225
+ * Turns the 'networks' property on a passed settings array from an keyed array to a numerically indexed array
226
+ * @param array $values Settings array
227
+ *
228
+ * @return array
229
+ */
230
+ public function index_network_array( $values ) {
231
+ if ( ! array_key_exists( 'networks', $values ) ) {
232
+ return $values;
233
+ }
234
+ $indexed_networks = [];
235
+ foreach ( $values['networks'] as $slug => $data ) {
236
+ $indexed_networks[] = [
237
+ 'slug' => $slug,
238
+ 'label' => $data['label'],
239
+ ];
240
+ }
241
+ $values['networks'] = $indexed_networks;
242
+ return $values;
243
+ }
244
+
245
+ /**
246
+ * Turns the 'networks' property on a passed settings array from an indexed array to a keyed array based on the slug
247
+ * @param array $values Settings array
248
+ *
249
+ * @return array
250
+ */
251
+ public function key_network_array( $values ) {
252
+ if ( ! array_key_exists( 'networks', $values ) ) {
253
+ return $values;
254
+ }
255
+ $keyed_networks = [];
256
+ foreach ( $values['networks'] as $network ) {
257
+ $keyed_networks[ $network['slug'] ] = [ 'label' => $network['label'] ];
258
+ }
259
+ $values['networks'] = $keyed_networks;
260
+ return $values;
261
+ }
262
+
263
+ /**
264
+ * Register a setting so that the Settings API can handle it.=
265
+ * @param Has_Settings_API $setting Object that implements the Has_Settings_API interface
266
+ *
267
+ * @return bool Whether or not the setting was sucessfully registered
268
+ */
269
+ public function register_setting( $setting ) {
270
+ if ( ! $setting instanceof Has_Settings_API ) {
271
+ return false;
272
+ }
273
+ $this->registered_settings[ $setting->get_api_slug() ] = $setting;
274
+ return true;
275
+ }
276
+
277
+ /**
278
+ * Gets the registered settings
279
+ * @return array Settings registered with the class
280
+ */
281
+ public function get_registered_settings() {
282
+ return $this->registered_settings;
283
+ }
284
+ }
inc/class-settings.php CHANGED
@@ -3,12 +3,15 @@ namespace Mediavine\Grow;
3
 
4
  class Settings extends \Social_Pug {
5
 
 
6
  private static $instance = null;
7
 
 
8
  private $no_setting_flag = 'NO_SETTING';
9
 
10
  /**
11
- * Get instance of Class
 
12
  * @return Settings
13
  */
14
  public static function get_instance() {
@@ -21,22 +24,20 @@ class Settings extends \Social_Pug {
21
  }
22
 
23
  /**
24
- * Set up hooks
25
  */
26
  public function init() {
27
  }
28
 
29
  /**
30
- * Internal get settings implementation,Allows the output to be filtered, and set via Query Parameters for QA
31
  *
32
  * @param string $slug
33
  * @param mixed $default
34
- *
35
  * @return mixed
36
  */
37
  private function get_setting_internal( $slug, $default = [] ) {
38
  $setting = get_option( $slug, $default );
39
-
40
  $setting = apply_filters( 'mv_grow_setting_' . $slug, $setting );
41
  if ( apply_filters( 'mv_grow_flag_allow_settings_query', false ) ) {
42
  // For QA purposes, allow settings to be programmatically set via query params, this code should only be reachable in development
@@ -54,26 +55,25 @@ class Settings extends \Social_Pug {
54
  }
55
 
56
  /**
57
- * Public facing static get setting method, uses the same function signature as the native WordPress get option for easy replacement
 
58
  * @param string $slug
59
  * @param array $default
60
- *
61
  * @return mixed
62
  */
63
  public static function get_setting( $slug, $default = [] ) {
64
  $settings_instance = self::get_instance();
65
-
66
  return $settings_instance->get_setting_internal( $slug, $default );
67
  }
68
 
69
  /**
70
- * Get settings values from the Get Query Parameter
71
- * Warning, this path should not be able to be reached in production
72
- * @param string $slug Setting slug to look for
73
  *
 
74
  * @return array|mixed
75
  */
76
  public function parse_setting_from_query( $slug ) {
77
- return $_GET && isset( $_GET[ $slug ] ) ? $_GET[ $slug ] : $this->no_setting_flag;
 
78
  }
79
  }
3
 
4
  class Settings extends \Social_Pug {
5
 
6
+ /** @var null */
7
  private static $instance = null;
8
 
9
+ /** @var string */
10
  private $no_setting_flag = 'NO_SETTING';
11
 
12
  /**
13
+ * Get instance of Class.
14
+ *
15
  * @return Settings
16
  */
17
  public static function get_instance() {
24
  }
25
 
26
  /**
27
+ * Set up hooks.
28
  */
29
  public function init() {
30
  }
31
 
32
  /**
33
+ * Internal get settings implementation,Allows the output to be filtered, and set via Query Parameters for QA.
34
  *
35
  * @param string $slug
36
  * @param mixed $default
 
37
  * @return mixed
38
  */
39
  private function get_setting_internal( $slug, $default = [] ) {
40
  $setting = get_option( $slug, $default );
 
41
  $setting = apply_filters( 'mv_grow_setting_' . $slug, $setting );
42
  if ( apply_filters( 'mv_grow_flag_allow_settings_query', false ) ) {
43
  // For QA purposes, allow settings to be programmatically set via query params, this code should only be reachable in development
55
  }
56
 
57
  /**
58
+ * Public facing static get setting method, uses the same function signature as the native WordPress get option for easy replacement.
59
+ *
60
  * @param string $slug
61
  * @param array $default
 
62
  * @return mixed
63
  */
64
  public static function get_setting( $slug, $default = [] ) {
65
  $settings_instance = self::get_instance();
 
66
  return $settings_instance->get_setting_internal( $slug, $default );
67
  }
68
 
69
  /**
70
+ * Get settings values from the Get Query Parameter Warning, this path should not be able to be reached in production.
 
 
71
  *
72
+ * @param string $slug Setting slug to look for
73
  * @return array|mixed
74
  */
75
  public function parse_setting_from_query( $slug ) {
76
+ $setting = filter_input( INPUT_GET, $slug );
77
+ return ! empty( $setting ) ? $setting : $this->no_setting_flag;
78
  }
79
  }
inc/class-share-counts.php CHANGED
@@ -1,56 +1,58 @@
1
  <?php
2
-
3
  namespace Mediavine\Grow;
4
 
5
- if ( class_exists( 'Social_Pug' ) ) {
6
- class Share_Counts extends \Social_Pug {
7
-
8
- /**
9
- * WordPress post meta key for the last updated timestamp
10
- * @var string $last_updated_key
11
- */
12
- public static $last_updated_key = 'dpsp_networks_shares_last_updated';
13
 
14
- private static $instance = null;
 
15
 
16
- public static function get_instance() {
17
- if ( null === self::$instance ) {
18
- self::$instance = new self;
19
- self::$instance->init();
20
- }
21
 
22
- return self::$instance;
 
 
 
 
 
 
23
  }
24
 
25
- public function init() {
26
- }
27
 
28
- /**
29
- * Set the last updated timestamp to a value very far in the past so that the value will be updated when it is next checked
30
- */
31
- public static function invalidate_all() {
32
- $posts = self::get_all_posts_with_counts();
33
- foreach ( $posts as $post ) {
34
- \update_post_meta( $post->ID, self::$last_updated_key, 1 );
35
- }
 
 
36
  }
 
37
 
38
- /**
39
- * Return an array with all posts that have share counts
40
- * @return \WP_Post[]
41
- */
42
- public static function get_all_posts_with_counts() {
43
- $args = [
44
- 'meta_query' => [
45
- [
46
- 'key' => self::$last_updated_key,
47
- 'compare' => 'EXISTS',
48
- ],
49
  ],
50
- 'nopaging' => true,
51
- ];
52
-
53
- return \get_posts( $args );
54
- }
 
 
 
55
  }
56
  }
1
  <?php
 
2
  namespace Mediavine\Grow;
3
 
4
+ class Share_Counts extends \Social_Pug {
 
 
 
 
 
 
 
5
 
6
+ /** @var string WordPress post meta key for the last updated timestamp. */
7
+ public static $last_updated_key = 'dpsp_networks_shares_last_updated';
8
 
9
+ /** @var null */
10
+ private static $instance = null;
 
 
 
11
 
12
+ /**
13
+ * @return Share_Counts|\Social_Pug|null
14
+ */
15
+ public static function get_instance() {
16
+ if ( null === self::$instance ) {
17
+ self::$instance = new self;
18
+ self::$instance->init();
19
  }
20
 
21
+ return self::$instance;
22
+ }
23
 
24
+ public function init() {
25
+ }
26
+
27
+ /**
28
+ * Set the last updated timestamp to a value very far in the past so that the value will be updated when it is next checked.
29
+ */
30
+ public static function invalidate_all() {
31
+ $posts = self::get_all_posts_with_counts();
32
+ foreach ( $posts as $post ) {
33
+ \update_post_meta( $post->ID, self::$last_updated_key, 1 );
34
  }
35
+ }
36
 
37
+ /**
38
+ * Return an array with all posts that have share counts.
39
+ *
40
+ * @return \WP_Post[]
41
+ */
42
+ public static function get_all_posts_with_counts() {
43
+ $args = [
44
+ 'meta_query' => [ // @codingStandardsIgnoreLine
45
+ [
46
+ 'key' => self::$last_updated_key,
47
+ 'compare' => 'EXISTS',
48
  ],
49
+ ],
50
+ // WordPress.VIP.PostsPerPage.posts_per_page_nopaging —
51
+ // Disabling pagination is prohibited in VIP context, do not set `nopaging` to `true` ever.
52
+ // @todo Discussion: would a custom SQL call be faster than using WP_Query?
53
+ 'nopaging' => true, // @codingStandardsIgnoreLine
54
+ ];
55
+
56
+ return \get_posts( $args );
57
  }
58
  }
mediavine-grow.php → inc/class-social-pug.php RENAMED
@@ -3,33 +3,34 @@
3
  class Social_Pug {
4
 
5
  /** @var string|null Build tool sets this. */
6
- const VERSION = '1.18.2';
 
7
 
8
- /** @var string|null Version number for this release. */
9
  public static $VERSION;
10
 
11
- public static $PLUGIN_DIR;
12
-
13
  private static $instance = null;
14
 
 
15
  public $asset_loader = null;
16
 
 
17
  public $frontend_data = null;
18
 
 
 
19
 
20
- /**
21
- * @var \Mediavine\Grow\Tools\Toolkit $tools Container for all the tools
22
- */
23
- public $tools = null;
24
 
25
- /**
26
- * The Constructor
27
- *
28
- */
29
- public function __construct() {
30
- $this->set_version();
31
- self::$PLUGIN_DIR = plugin_dir_url( __FILE__ );
32
- }
33
 
34
  /**
35
  * Determine our version number depending on whether plugin has been built or is in development.
@@ -38,15 +39,23 @@ class Social_Pug {
38
  if ( ! is_null( self::VERSION ) ) {
39
  // If the build tool has run, use its version.
40
  self::$VERSION = self::VERSION;
 
41
  } else {
42
- // Dynamically set version in `prod.version`.
43
- self::$VERSION = explode( "\n", file_get_contents( __DIR__ . '/kernl.version' ) )[0]; // {{-KERNL_VERSION-}} DO NOT REMOVE: WILL BE REPLACED IN BUILD
 
 
44
  }
45
  }
46
 
 
 
 
 
 
47
  public static function get_instance() {
48
  if ( null === self::$instance ) {
49
- self::$instance = new self;
50
  self::$instance->init();
51
  }
52
 
@@ -57,16 +66,35 @@ class Social_Pug {
57
  * Plugin bootstrap.
58
  */
59
  public function init() {
 
60
  define( 'DPSP_VERSION', self::$VERSION );
61
- define( 'DPSP_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . dirname( plugin_basename( __FILE__ ) ) );
62
- define( 'DPSP_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
63
  define( 'DPSP_TRANSLATION_TEXTDOMAIN', 'social-pug' );
64
 
 
 
 
 
 
 
 
 
 
 
65
  $this->setup_integrations();
66
  $this->setup_free_tools();
67
 
68
  $this->asset_loader = \Mediavine\Grow\Asset_Loader::get_instance();
69
  $this->frontend_data = \Mediavine\Grow\Frontend_Data::get_instance();
 
 
 
 
 
 
 
 
 
 
70
 
71
  add_action( 'init', [ $this, 'init_translation' ] );
72
  add_action( 'admin_menu', [ $this, 'add_main_menu_page' ], 10 );
@@ -91,12 +119,10 @@ class Social_Pug {
91
  dpsp_register_functions();
92
  dpsp_register_functions_admin();
93
  dpsp_register_functions_cron();
94
- dpsp_register_functions_frontend();
95
  dpsp_register_functions_mobile();
96
  dpsp_register_functions_post();
97
  dpsp_register_functions_share_counts();
98
  dpsp_register_functions_tools();
99
- dpsp_register_functions_version_update();
100
 
101
  // Hook registration in tools files.
102
  dpsp_register_floating_sidebar();
@@ -115,12 +141,17 @@ class Social_Pug {
115
  } else {
116
  $this->register_free_features();
117
  }
 
 
 
118
  }
119
 
120
  /**
121
  * Register Pro-only features.
122
  */
123
  public function register_pro_features() {
 
 
124
  \Mediavine\Grow\Shortcodes::register_shortcodes();
125
  \Mediavine\Grow\Activation::get_instance();
126
  \Mediavine\Grow\Data_Sync::get_instance();
@@ -128,7 +159,6 @@ class Social_Pug {
128
  $this->setup_pro_tools();
129
 
130
  add_action( 'admin_init', 'Mediavine\Grow\Intercom::get_instance' );
131
- add_action( 'admin_notices', 'dpsp_serial_admin_notification' );
132
 
133
  // Register Gutenberg editor assets
134
  add_action( 'enqueue_block_editor_assets', [ $this, 'init_gutenberg_scripts' ] );
@@ -147,10 +177,6 @@ class Social_Pug {
147
  dpsp_register_images_pinterest();
148
  dpsp_register_pop_up();
149
  dpsp_register_sticky_bar();
150
-
151
- // Social networks
152
- add_filter( 'dpsp_follow_networks', 'dpsp_get_pro_follow_networks' );
153
- add_filter( 'dpsp_share_networks', 'dpsp_get_pro_share_networks' );
154
  }
155
 
156
  /**
@@ -162,7 +188,7 @@ class Social_Pug {
162
  //add_action( 'wp_ajax_dpsp_ajax_send_feedback', 'dpsp_ajax_send_feedback' );
163
  add_action( 'dpsp_submenu_page_bottom', 'dpsp_add_submenu_page_sidebar' );
164
  add_action( 'admin_menu', 'dpsp_register_extensions_subpage', 102 );
165
- add_filter('mv_grow_is_free', '__return_true');
166
  }
167
 
168
  /**
@@ -189,8 +215,12 @@ class Social_Pug {
189
  new \Mediavine\Grow\Tools\Floating_Sidebar(),
190
  new \Mediavine\Grow\Tools\Import_Export(),
191
  new \Mediavine\Grow\Tools\Follow_Widget(),
 
192
  ];
193
  $tool_container->add( $tools );
 
 
 
194
  $this->tools = $tool_container;
195
  }
196
 
@@ -204,6 +234,9 @@ class Social_Pug {
204
  new \Mediavine\Grow\Tools\Floating_Sidebar(),
205
  ];
206
  $tool_container->add( $tools );
 
 
 
207
  $this->tools = $tool_container;
208
  }
209
 
@@ -303,10 +336,11 @@ class Social_Pug {
303
  *
304
  */
305
  public function init_gutenberg_scripts() {
306
-
 
307
  wp_enqueue_script(
308
- 'dpsp-gutenberg-image-pinterest-pro',
309
- DPSP_PLUGIN_DIR_URL . 'assets/dist/gutenberg-image-pinterest-pro.' . self::$VERSION . '.js',
310
  [
311
  'wp-components',
312
  'wp-blocks',
@@ -329,13 +363,13 @@ class Social_Pug {
329
 
330
  $dpsp_db_version = Mediavine\Grow\Settings::get_setting( 'dpsp_version', '' );
331
 
332
- if ( $dpsp_db_version != self::$VERSION ) {
333
 
334
  dpsp_default_settings();
335
  update_option( 'dpsp_version', self::$VERSION );
336
 
337
  // Add first time activation
338
- if ( Mediavine\Grow\Settings::get_setting( 'dpsp_first_activation', '' ) == '' ) {
339
 
340
  update_option( 'dpsp_first_activation', time() );
341
 
@@ -350,11 +384,11 @@ class Social_Pug {
350
  // Update Sidebar button style from 1,2,3 to 1,5,8
351
  $dpsp_location_sidebar = dpsp_get_location_settings( 'sidebar' );
352
 
353
- if ( 2 == $dpsp_location_sidebar['button_style'] ) {
354
  $dpsp_location_sidebar['button_style'] = 5;
355
  }
356
 
357
- if ( 3 == $dpsp_location_sidebar['button_style'] ) {
358
  $dpsp_location_sidebar['button_style'] = 8;
359
  }
360
 
@@ -378,12 +412,12 @@ class Social_Pug {
378
  *
379
  */
380
  public function admin_body_class( $classes ) {
381
-
382
- if ( empty( $_GET['page'] ) ) {
383
  return $classes;
384
  }
385
 
386
- if ( false === strpos( $_GET['page'], 'dpsp-' ) ) {
387
  return $classes;
388
  }
389
 
@@ -415,25 +449,19 @@ class Social_Pug {
415
  * @return bool
416
  */
417
  public static function is_free() {
418
- return (bool) apply_filters('mv_grow_is_free', false);
419
  }
420
- }
421
-
422
- // MUST bootstrap Composer in this _precious moment_ between class definition & instantiation.
423
- require_once __DIR__ . '/vendor/autoload.php';
424
-
425
- // Let's get the party started
426
- $social_pug = Social_Pug::get_instance();
427
 
428
- /*
429
- * Activation hooks
430
- *
431
- */
432
- register_activation_hook( mv_grow_get_activation_path(), 'dpsp_default_settings' );
433
- register_activation_hook( mv_grow_get_activation_path(), 'dpsp_set_cron_jobs' );
 
 
 
434
 
435
- /*
436
- * Deactivation hooks
437
- *
438
- */
439
- register_deactivation_hook( mv_grow_get_activation_path(), 'dpsp_stop_cron_jobs' );
3
  class Social_Pug {
4
 
5
  /** @var string|null Build tool sets this. */
6
+ const VERSION = '1.19.0
7
+ ';
8
 
9
+ /** @var string|null Version number for this release. @deprecated Use MV_GROW_VERSION */
10
  public static $VERSION;
11
 
 
 
12
  private static $instance = null;
13
 
14
+ /** @var \Mediavine\Grow\Asset_Loader */
15
  public $asset_loader = null;
16
 
17
+ /** @var \Mediavine\Grow\Frontend_Data */
18
  public $frontend_data = null;
19
 
20
+ /** @var \Mediavine\Grow\Admin_Notices */
21
+ public $admin_notices = null;
22
 
23
+ /** @var \Mediavine\Grow\Settings_API */
24
+ public $settings_api = null;
 
 
25
 
26
+ /** @var \Mediavine\Grow\Networks */
27
+ public $networks = null;
28
+
29
+ /** @var \Mediavine\Grow\Icons */
30
+ public $icons = null;
31
+
32
+ /** @var \Mediavine\Grow\Tools\Toolkit Container for all the tools. */
33
+ public $tools = null;
34
 
35
  /**
36
  * Determine our version number depending on whether plugin has been built or is in development.
39
  if ( ! is_null( self::VERSION ) ) {
40
  // If the build tool has run, use its version.
41
  self::$VERSION = self::VERSION;
42
+ define( 'MV_GROW_VERSION', self::VERSION );
43
  } else {
44
+ // Dynamically set version in `kernl.version`.
45
+ $kernl_version = explode( "\n", file_get_contents( __DIR__ . '/../kernl.version' ) )[0]; // {{-KERNL_VERSION-}} DO NOT REMOVE: WILL BE REPLACED IN BUILD
46
+ self::$VERSION = $kernl_version;
47
+ define( 'MV_GROW_VERSION', $kernl_version );
48
  }
49
  }
50
 
51
+ /**
52
+ * Singleton factory.
53
+ *
54
+ * @return Social_Pug|null
55
+ */
56
  public static function get_instance() {
57
  if ( null === self::$instance ) {
58
+ self::$instance = new self();
59
  self::$instance->init();
60
  }
61
 
66
  * Plugin bootstrap.
67
  */
68
  public function init() {
69
+ $this->set_version();
70
  define( 'DPSP_VERSION', self::$VERSION );
 
 
71
  define( 'DPSP_TRANSLATION_TEXTDOMAIN', 'social-pug' );
72
 
73
+ // Register feature flags early.
74
+ add_action( 'after_setup_theme', '\Mediavine\Grow\register_flags' );
75
+
76
+ // Setup compatibility hooks.
77
+ add_action( 'wp_head', [ 'Mediavine\Grow\Compatibility', 'disable_known_meta_tags' ], 1 );
78
+ add_action( 'wp', [ 'Mediavine\Grow\Compatibility', 'set_yoast_meta_data' ], 10 );
79
+ add_action( 'mv_grow_meta_tag_hook', [ 'Mediavine\Grow\Compatibility', 'set_yoast_meta_tag_hook' ], 10 );
80
+
81
+ $this->settings_api = \Mediavine\Grow\Settings_API::get_instance();
82
+
83
  $this->setup_integrations();
84
  $this->setup_free_tools();
85
 
86
  $this->asset_loader = \Mediavine\Grow\Asset_Loader::get_instance();
87
  $this->frontend_data = \Mediavine\Grow\Frontend_Data::get_instance();
88
+ $this->networks = \Mediavine\Grow\Networks::get_instance();
89
+ $this->icons = \Mediavine\Grow\Icons::get_instance();
90
+
91
+ // Meta tags
92
+ add_action( apply_filters( 'mv_grow_meta_tag_hook', 'wp_head' ), [ 'Mediavine\Grow\Meta_Tags', 'build_and_output' ], 1 );
93
+
94
+ // Activation & deativation hooks.
95
+ register_activation_hook( mv_grow_get_activation_path(), 'dpsp_default_settings' );
96
+ register_activation_hook( mv_grow_get_activation_path(), 'dpsp_set_cron_jobs' );
97
+ register_deactivation_hook( mv_grow_get_activation_path(), 'dpsp_stop_cron_jobs' );
98
 
99
  add_action( 'init', [ $this, 'init_translation' ] );
100
  add_action( 'admin_menu', [ $this, 'add_main_menu_page' ], 10 );
119
  dpsp_register_functions();
120
  dpsp_register_functions_admin();
121
  dpsp_register_functions_cron();
 
122
  dpsp_register_functions_mobile();
123
  dpsp_register_functions_post();
124
  dpsp_register_functions_share_counts();
125
  dpsp_register_functions_tools();
 
126
 
127
  // Hook registration in tools files.
128
  dpsp_register_floating_sidebar();
141
  } else {
142
  $this->register_free_features();
143
  }
144
+
145
+ // This must happen after register_free_features() otherwise pro notices will show up on free
146
+ $this->admin_notices = \Mediavine\Grow\Admin_Notices::get_instance();
147
  }
148
 
149
  /**
150
  * Register Pro-only features.
151
  */
152
  public function register_pro_features() {
153
+ dpsp_register_functions_version_update();
154
+
155
  \Mediavine\Grow\Shortcodes::register_shortcodes();
156
  \Mediavine\Grow\Activation::get_instance();
157
  \Mediavine\Grow\Data_Sync::get_instance();
159
  $this->setup_pro_tools();
160
 
161
  add_action( 'admin_init', 'Mediavine\Grow\Intercom::get_instance' );
 
162
 
163
  // Register Gutenberg editor assets
164
  add_action( 'enqueue_block_editor_assets', [ $this, 'init_gutenberg_scripts' ] );
177
  dpsp_register_images_pinterest();
178
  dpsp_register_pop_up();
179
  dpsp_register_sticky_bar();
 
 
 
 
180
  }
181
 
182
  /**
188
  //add_action( 'wp_ajax_dpsp_ajax_send_feedback', 'dpsp_ajax_send_feedback' );
189
  add_action( 'dpsp_submenu_page_bottom', 'dpsp_add_submenu_page_sidebar' );
190
  add_action( 'admin_menu', 'dpsp_register_extensions_subpage', 102 );
191
+ add_filter( 'mv_grow_is_free', '__return_true' );
192
  }
193
 
194
  /**
215
  new \Mediavine\Grow\Tools\Floating_Sidebar(),
216
  new \Mediavine\Grow\Tools\Import_Export(),
217
  new \Mediavine\Grow\Tools\Follow_Widget(),
218
+ new \Mediavine\Grow\Tools\Sticky_Bar(),
219
  ];
220
  $tool_container->add( $tools );
221
+ foreach ( $tools as $tool ) {
222
+ $this->settings_api->register_setting( $tool );
223
+ }
224
  $this->tools = $tool_container;
225
  }
226
 
234
  new \Mediavine\Grow\Tools\Floating_Sidebar(),
235
  ];
236
  $tool_container->add( $tools );
237
+ foreach ( $tools as $tool ) {
238
+ $this->settings_api->register_setting( $tool );
239
+ }
240
  $this->tools = $tool_container;
241
  }
242
 
336
  *
337
  */
338
  public function init_gutenberg_scripts() {
339
+ $IS_DEVELOPMENT = apply_filters( 'mv_grow_dev_mode', false );
340
+ $script_url = $IS_DEVELOPMENT ? DPSP_PLUGIN_DIR_URL . 'assets/dist/dev-entry.js' : DPSP_PLUGIN_DIR_URL . 'assets/dist/block-editor.' . self::$VERSION . '.js';
341
  wp_enqueue_script(
342
+ 'dpsp-block-editor',
343
+ $script_url,
344
  [
345
  'wp-components',
346
  'wp-blocks',
363
 
364
  $dpsp_db_version = Mediavine\Grow\Settings::get_setting( 'dpsp_version', '' );
365
 
366
+ if ( self::$VERSION !== $dpsp_db_version ) {
367
 
368
  dpsp_default_settings();
369
  update_option( 'dpsp_version', self::$VERSION );
370
 
371
  // Add first time activation
372
+ if ( '' === Mediavine\Grow\Settings::get_setting( 'dpsp_first_activation', '' ) ) {
373
 
374
  update_option( 'dpsp_first_activation', time() );
375
 
384
  // Update Sidebar button style from 1,2,3 to 1,5,8
385
  $dpsp_location_sidebar = dpsp_get_location_settings( 'sidebar' );
386
 
387
+ if ( '2' === $dpsp_location_sidebar['button_style'] ) {
388
  $dpsp_location_sidebar['button_style'] = 5;
389
  }
390
 
391
+ if ( '3' === $dpsp_location_sidebar['button_style'] ) {
392
  $dpsp_location_sidebar['button_style'] = 8;
393
  }
394
 
412
  *
413
  */
414
  public function admin_body_class( $classes ) {
415
+ $page = filter_input( INPUT_GET, 'page' );
416
+ if ( empty( $page ) ) {
417
  return $classes;
418
  }
419
 
420
+ if ( false === strpos( $page, 'dpsp-' ) ) {
421
  return $classes;
422
  }
423
 
449
  * @return bool
450
  */
451
  public static function is_free() {
452
+ return (bool) apply_filters( 'mv_grow_is_free', false );
453
  }
 
 
 
 
 
 
 
454
 
455
+ /**
456
+ * Return the branding name based on free vs pro
457
+ *
458
+ * @return string
459
+ */
460
+ public static function get_branding_name() {
461
+ if ( Social_Pug::is_free() ) {
462
+ return __( 'Grow Social by Mediavine', 'social-pug' );
463
+ }
464
 
465
+ return __( 'Grow Social Pro by Mediavine', 'social-pug' );
466
+ }
467
+ }
 
 
inc/class-view-loader.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Mediavine\Grow;
3
+
4
+ class View_Loader {
5
+
6
+ /** @var string */
7
+ public static $plugin_path = DPSP_PLUGIN_DIR;
8
+
9
+ /**
10
+ * Returns the output of the passed view.
11
+ *
12
+ * @param string $view_file Relative path to view file from plugin root
13
+ * @param array $args Array that will be passed to the included view
14
+ * @return false|string Output from the view
15
+ */
16
+ public static function get_view( $view_file, $args = [] ) {
17
+ $view_path = self::$plugin_path . $view_file;
18
+ ob_start();
19
+
20
+ try {
21
+ include( $view_path );
22
+ } catch ( \Exception $exception ) {
23
+ // @TODO: More robust Exception handling here
24
+ error_log( 'MV Grow: View File not Found ' . $view_path ); // @codingStandardsIgnoreLine — Logging allowed if on purpose
25
+ ob_get_clean();
26
+ return '';
27
+ }
28
+
29
+ return ob_get_clean();
30
+ }
31
+
32
+ /**
33
+ * Custom version of wp_kses to allow SVG tags.
34
+ *
35
+ * @return string
36
+ */
37
+ public static function get_allowed_tags() {
38
+ $kses_defaults = wp_kses_allowed_html( 'post' );
39
+ $svg_kses = [
40
+ 'svg' => [
41
+ 'class' => true,
42
+ 'aria-hidden' => true,
43
+ 'preserveaspectratio' => true,
44
+ 'aria-labelledby' => true,
45
+ 'version' => true,
46
+ 'xmlns' => true,
47
+ 'width' => true,
48
+ 'height' => true,
49
+ 'viewbox' => true, // <= Must be lower case!
50
+ ],
51
+ 'g' => [ 'fill' => true ],
52
+ 'title' => [ 'title' => true ],
53
+ 'path' => [
54
+ 'd' => true,
55
+ 'fill' => true,
56
+ 'class' => true,
57
+ ],
58
+ 'rect' => [
59
+ 'x' => true,
60
+ 'y' => true,
61
+ 'height' => true,
62
+ 'width' => true,
63
+ 'class' => true,
64
+ 'rx' => true,
65
+ 'ry' => true,
66
+ ],
67
+ 'ellipse' => [
68
+ 'x' => true,
69
+ 'y' => true,
70
+ 'height' => true,
71
+ 'width' => true,
72
+ 'class' => true,
73
+ ],
74
+ ];
75
+
76
+ return array_merge( $kses_defaults, $svg_kses );
77
+ }
78
+ }
inc/feature-flags.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The feature flag manifest for Grow Social.
4
+ *
5
+ * Do not put this in the autoloader.
6
+ * Start all feature flag slugs with the short plugin name.
7
+ *
8
+ * @see \Mediavine\Grow\register_flags
9
+ */
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
+ exit( 'This plugin requires WordPress' );
12
+ }
13
+
14
+ return [ /*
15
+ 'grow_test_flag' => [
16
+ 'name' => 'Test Flag', // User-friendly reference
17
+ 'description' => 'A test feature flag to show how the system works, sorta.',
18
+ 'visible' => false, // Does not appear in Dashboard without entering key
19
+ 'on_enable' => '\Mediavine\Create\enable_test_flag', // Callback
20
+ 'on_disable' => '\Mediavine\Create\disable_test_flag', // Callback
21
+ ], */
22
+ ];
inc/functions-admin.php CHANGED
@@ -1,927 +1,569 @@
1
  <?php
2
 
3
- /**
4
- * Displays the HTML of the plugin admin header
5
- *
6
- */
7
- function dpsp_admin_header() {
8
-
9
- if ( empty( $_GET['page'] ) ) {
10
- return;
11
- }
12
-
13
- if ( strpos( $_GET['page'], 'dpsp' ) === false ) {
14
- return;
15
- }
16
-
17
- $page = trim( $_GET['page'] );
18
-
19
- echo '<div class="dpsp-page-header">';
20
- echo '<span class="dpsp-logo">';
21
- echo '<svg version="1.1" class="mv-grow-logo" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 20 20" fill="white" xml:space="preserve">
22
- <path d="M0 7.2c0 .1-.6 4.7 2 7.2 1.7 1.8 4.3 2 5.9 2h.9A12.7 12.7 0 014.4 14a6.7 6.7 0 01-1.6-2.3c-.3-.9-.5-1.9-.4-3 0-.7.2-1.6.5-2.4h-2l-.7.1-.1.8zM4.7 3.4l-.4.6-.8 1.8 2.4.5 1.3-2c-1-.5-1.7-.7-1.8-.7l-.7-.2z"/>
23
- <path d="M3.3 11.5c1.1 2.8 4.3 4 5.5 4.4l-.5-.4-.4-.4a10.7 10.7 0 01-2.2-3c-.4-1-.6-1.9-.6-2.8 0-.7.2-1.4.4-2.1l.1-.2.1-.3a10.8 10.8 0 00-2.1-.4h-.3v.4a7.4 7.4 0 000 4.8zM10.6 2.8l-.6-.4-.6.4L8 4.2l2 1.3c.6-.5 1.3-1 2-1.3l-1.4-1.4zM6.5 6.6h.2l1.6 1.1a6.4 6.4 0 011.4-1.9L8 4.8l-.2-.2-.2-.1-.2.2-.1.2c-.4.4-.8 1-1 1.6h.1z"/>
24
- <path d="M6 7.1v.2a6 6 0 00-.4 2c0 3 2.4 5.4 3.4 6.2l-.3-.5-.2-.6a12.5 12.5 0 01-.8-3.4A7 7 0 018 8.4l.1-.3a6 6 0 00-1.6-1L6.3 7h-.2V7zM15.3 3.5l-.7.1s-.8.2-1.8.7c.5.7 1 1.3 1.3 2l.5-.1a11 11 0 011.9-.4l-.8-1.7-.4-.6zM13.4 6.6l.3-.1-1-1.6-.2-.2-.2-.2-.2.1-.2.1-1.6 1.1.2.2.1.2c.5.4.8 1 1 1.5a6.6 6.6 0 011.8-1.1zM10.3 6.5l-.2-.2-.1-.1-.2.1-.1.2a5.8 5.8 0 00-1 1.6v.1h.1l.2.2c.4.5.7 1.1 1 1.8a7 7 0 011-1.8l.1-.2.2-.2c-.2-.6-.6-1-1-1.5z"/>
25
- <path d="M8.7 8.9v-.2h-.1l-.2-.2V9h-.1c-.6 2.5.5 5 1 6.1v-.6-.6-1.1l.2-1 .1-.5.1-.4a6.9 6.9 0 00-1-2zM17 6.3h-.4c-.7 0-1.5.2-2.3.4l-.2.1-.3.1h-.2l-.2.2A6 6 0 0012 8l-.2.2-.2.2-.2.2-.1.2c-.5.6-.8 1.3-1 2l-.1.4-.1.3v.2l-.1.5v.2a12 12 0 000 3V16.4h.5l.2.1H12c1.6 0 4.2-.2 6-2 2.5-2.5 1.8-7 1.8-7.3v-.7H19a10.2 10.2 0 00-2-.1zm-.4 6.8c-1.3 1.2-3.3 1.4-4.6 1.4h-.3c0-1.3.1-3.6 1.4-4.9 1.2-1.2 3.3-1.4 4.5-1.4h.4c0 1.2 0 3.5-1.4 4.9z"/>
26
- </svg>
27
- ';
28
- echo '<span class="dpsp-logo-inner">Grow Social by Mediavine</span>';
29
- echo '<small class="dpsp-version">v.' . DPSP_VERSION . '</small>';
30
- echo '</span>';
31
-
32
- echo '<nav>';
33
- echo '<a href="' . dpsp_get_documentation_link( $page ) . '" target="_blank"><i class="dashicons dashicons-book"></i>Documentation</a>';
34
- echo '</nav>';
35
- echo '</div>';
36
 
 
 
 
 
 
 
37
  }
38
 
39
- /*
40
- * Returns the link to the docs depending on the page the user is on
41
- *
42
- */
43
- function dpsp_get_documentation_link( $page ) {
44
-
45
- $page = str_replace( 'dpsp-', '', $page );
46
-
47
- switch ( $page ) {
48
 
49
- case 'sidebar':
50
- $url = 'https://help.mediavine.com/en/articles/3625801-how-to-add-social-sharing-buttons-as-a-floating-sidebar';
51
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
- case 'content':
54
- $url = 'https://help.mediavine.com/en/articles/3667466-how-to-add-social-share-buttons-before-and-after-your-post-s-content';
55
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
 
57
- case 'sticky-bar':
58
- case 'mobile':
59
- $url = 'https://help.mediavine.com/en/articles/3667616-sticky-bar-sharing-buttons';
60
- break;
61
 
62
- case 'pinterest-images':
63
- $url = 'https://help.mediavine.com/en/articles/3667495-how-to-add-a-pin-it-button-to-your-post-s-images';
64
- break;
 
 
 
 
 
 
 
 
 
65
 
66
- case 'import-export':
67
- case 'follow-widget':
68
- case 'pop-up':
69
- default:
70
- $url = 'https://help.mediavine.com/en/collections/2071158-grow-by-mediavine';
71
- break;
72
  }
73
 
74
- return $url;
75
-
76
  }
77
 
 
 
78
 
79
- /**
80
- * Displays the HTML for a given tool
81
- *
82
- * @param array $tool
83
- *
84
- */
85
- function dpsp_output_tool_box( $tool_slug, $tool ) {
86
- $grow_url = 'https://marketplace.mediavine.com/grow-social-pro/';
87
- $is_extension = empty( $tool['admin_page'] );
88
- $box_class = Social_Pug::is_free() && ! $is_extension ? 'dpsp-col-3-8' : 'dpsp-col-1-4';
89
- echo '<div class="' . $box_class . '">';
90
- echo '<div class="dpsp-tool-wrapper dpsp-card ' . ( $is_extension ? 'dpsp-unavailable' : '' ) . '">';
91
-
92
-
93
- if( $is_extension ) {
94
- if( empty( $tool['url'] ) )
95
- $tool['url'] = $grow_url;
96
-
97
- echo '<a href="' . $tool['url'] . '">';
98
- }
99
-
100
- // Tool image
101
- echo '<img src="' . ( strpos( $tool['img'], 'http' ) === false ? DPSP_PLUGIN_DIR_URL . $tool['img'] : $tool['img'] ) . '" />';
102
-
103
- if( $is_extension ) {
104
- echo '</a>';
105
- }
106
-
107
- // Tool name
108
- echo '<h4 class="dpsp-tool-name">' . $tool['name'] . '</h4>';
109
-
110
- if( !empty( $tool['desc'] ) ) {
111
- echo '<p class="dpsp-description">' . $tool['desc'] . '</p>';
112
- }
113
-
114
- $tool_active = dpsp_is_tool_active( $tool_slug );
115
-
116
- // Tool actions
117
- echo '<div class="dpsp-tool-actions dpsp-card-footer dpsp-' . ( $tool_active ? 'active' : 'inactive' ) . '">';
118
-
119
- if (! $is_extension) {
120
- // Tool admin page
121
- echo '<a class="dpsp-tool-settings" href="' . admin_url( $tool['admin_page'] ) . '"><i class="dashicons dashicons-admin-generic"></i>' . __( 'Settings', 'social-pug' ) . '</a>';
122
-
123
- // Tool activation switch
124
- echo '<div class="dpsp-switch small">';
125
-
126
- echo( $tool_active ? '<span>' . __( 'Active', 'social-pug' ) . '</span>' : '<span>' . __( 'Inactive', 'social-pug' ) . '</span>' );
127
-
128
- echo '<input id="dpsp-' . $tool_slug . '-active" data-tool="' . esc_attr( $tool_slug ) . '" data-tool-activation="' . esc_attr( ! empty( $tool['activation_setting'] ) ? $tool['activation_setting'] : '' ) . '" class="cmn-toggle cmn-toggle-round" type="checkbox" value="1"' . ( $tool_active ? 'checked' : '' ) . ' />';
129
- echo '<label for="dpsp-' . $tool_slug . '-active"></label>';
130
-
131
- echo '</div>';
132
- } else {
133
- if( empty( $tool['url'] ) )
134
- $tool['url'] = $grow_url;
135
-
136
- echo '<a href="' . $tool['url'] . '" class="dpsp-button-primary">' . __( 'Learn More', 'social-pug' ) . '</a>';
137
-
138
- }
139
- echo '</div>';
140
-
141
- echo '</div>';
142
- echo '</div>';
143
-
144
  }
145
 
 
 
146
 
147
- /**
148
- * Function that displays the HTML for a settings field
149
- *
150
- */
151
- function dpsp_settings_field( $type, $name, $saved_value = '', $label = '', $options = [], $tooltip = '', $editor_settings = [], $disabled = '' ) {
152
-
153
- $settings_field_slug = ( ! empty( $label ) ? strtolower( str_replace( ' ', '-', $label ) ) : '' );
154
 
155
- echo '<div class="dpsp-setting-field-wrapper dpsp-setting-field-' . $type . ( is_array( $options ) && count( $options ) == 1 ? ' dpsp-single' : ( is_array( $options ) && count( $options ) > 1 ? ' dpsp-multiple' : '' ) ) . ' ' . ( ! empty( $label ) ? 'dpsp-has-field-label dpsp-setting-field-' . $settings_field_slug : '' ) . '">';
156
 
157
- switch ( $type ) {
 
158
 
159
- // Display input type text
160
- case 'text':
161
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '</label>' : '';
162
 
163
- echo '<input type="text" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" value="' . esc_attr( $saved_value ) . '" ' . $disabled . ' />';
164
- break;
165
 
166
- // Display textareas
167
- case 'textarea':
168
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '</label>' : '';
169
 
170
- echo '<textarea ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '">' . $saved_value . '</textarea>';
 
171
 
172
- break;
 
 
 
 
173
 
174
- // Display wp_editors
175
- case 'editor':
176
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '</label>' : '';
177
 
178
- wp_editor( $saved_value, $name, $editor_settings );
 
179
 
180
- break;
 
 
181
 
182
- // Display input type radio
183
- case 'radio':
184
- echo ! empty( $label ) ? '<label class="dpsp-setting-field-label">' . $label . '</label>' : '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
 
 
 
186
  if ( ! empty( $options ) ) {
187
  foreach ( $options as $option_value => $option_name ) {
188
- echo '<input type="radio" id="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" name="' . esc_attr( $name ) . '" value="' . esc_attr( $option_value ) . '" ' . checked( $option_value, $saved_value, false ) . ' />';
189
- echo '<label for="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" class="dpsp-settings-field-radio">' . ( isset( $option_name ) ? $option_name : $option_value ) . '<span></span></label>';
190
  }
191
  }
192
- break;
193
-
194
- // Display input type checkbox
195
- case 'checkbox':
196
- // If no options are passed make the main label as the label for the checkbox
197
- if ( count( $options ) == 1 ) {
198
-
199
- if ( is_array( $saved_value ) ) {
200
- $saved_value = $saved_value[0];
201
- }
202
-
203
- echo '<input type="checkbox" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" value="' . esc_attr( $options[0] ) . '" ' . checked( $options[0], $saved_value, false ) . ' />';
204
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '<span></span></label>' : '';
205
-
206
- // Else display checkboxes just like radios
207
- } else {
208
-
209
- echo ! empty( $label ) ? '<label class="dpsp-setting-field-label">' . $label . '</label>' : '';
210
-
211
- if ( ! empty( $options ) ) {
212
- foreach ( $options as $option_value => $option_name ) {
213
- echo '<input type="checkbox" id="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" name="' . esc_attr( $name ) . '" value="' . esc_attr( $option_value ) . '" ' . ( in_array( $option_value, $saved_value ) ? 'checked' : '' ) . ' />';
214
- echo '<label for="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" class="dpsp-settings-field-checkbox">' . ( isset( $option_name ) ? $option_name : $option_value ) . '<span></span></label>';
215
- }
216
- }
217
- }
218
- break;
219
-
220
- // Display switch
221
- case 'switch':
222
- if ( count( $options ) == 1 ) {
223
-
224
- if ( is_array( $saved_value ) ) {
225
- $saved_value = $saved_value[0];
226
- }
227
-
228
- echo '<div class="dpsp-switch">';
229
- echo '<input type="checkbox" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" class="cmn-toggle cmn-toggle-round" value="' . esc_attr( $options[0] ) . '" ' . checked( $options[0], $saved_value, false ) . ' />';
230
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '"></label>' : '';
231
- echo '</div>';
232
-
233
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '<span></span></label>' : '';
234
 
 
 
 
 
 
235
  }
236
-
237
- /*
238
- $echo .= '<div class="oih-switch small">';
239
-
240
- $echo .= '<input id="' . esc_attr( $field['name'] ) . '" name="' . esc_attr( $field['name'] ) . '" class="oih-toggle oih-toggle-round ' . ( ! empty( $field['input_class'] ) ? esc_attr( $field['input_class'] ) : '' ) . '" type="checkbox" value="1" ' . ( ! empty( $value ) ? 'checked' : '' ) . ' />';
241
- $echo .= '<label for="' . esc_attr( $field['name'] ) . '"></label>';
242
-
243
- $echo .= '</div>';
244
- */
245
-
246
- break;
247
-
248
- case 'select':
249
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '</label>' : '';
250
- echo '<select id="' . esc_attr( $name ) . '" name="' . esc_attr( $name ) . '"' . $disabled . '>';
251
-
252
- foreach ( $options as $option_value => $option_name ) {
253
- echo '<option value="' . esc_attr( $option_value ) . '" ' . selected( $saved_value, $option_value, false ) . '>' . $option_name . '</option>';
254
- }
255
-
256
- echo '</select>';
257
-
258
- break;
259
-
260
- case 'color-picker':
261
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '</label>' : '';
262
-
263
- echo '<input class="dpsp-color-picker" type="text" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" value="' . esc_attr( $saved_value ) . '" />';
264
- break;
265
-
266
- case 'image':
267
- echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . $label . '</label>' : '';
268
-
269
- echo '<div>';
270
-
271
- if ( ! empty( $saved_value['id'] ) ) {
272
- $thumb_details = wp_get_attachment_image_src( $saved_value['id'], 'medium' );
273
- $image_details = wp_get_attachment_image_src( $saved_value['id'], 'full' );
274
- }
275
-
276
- if ( ! empty( $thumb_details[0] ) && ! empty( $image_details[0] ) ) {
277
- $thumb_src = $thumb_details[0];
278
- $image_src = $image_details[0];
279
- } else {
280
- $thumb_src = '';
281
- $image_src = '';
282
- $saved_value['id'] = '';
283
- }
284
-
285
- echo '<div>';
286
- echo '<img src="' . esc_attr( $thumb_src ) . '">';
287
- echo '</div>';
288
-
289
- echo '<a class="dpsp-image-select button button-primary ' . ( ! empty( $saved_value['id'] ) ? 'hidden' : '' ) . '" href="#">' . __( 'Select Image', 'social-pug' ) . '</a>';
290
- echo '<a class="dpsp-image-remove button button-secondary ' . ( empty( $saved_value['id'] ) ? 'hidden' : '' ) . '" href="#">' . __( 'Remove Image', 'social-pug' ) . '</a>';
291
-
292
- echo '<input class="dpsp-image-id" type="hidden" name="' . esc_attr( $name ) . '[id]" value="' . esc_attr( $saved_value['id'] ) . '" />';
293
- echo '<input class="dpsp-image-src" type="hidden" name="' . esc_attr( $name ) . '[src]" value="' . esc_attr( $image_src ) . '" />';
294
-
295
  echo '</div>';
 
 
 
296
 
297
- break;
298
-
299
- } // end of switch
300
-
301
- // Tooltip
302
- if ( ! empty( $tooltip ) ) {
303
-
304
- dpsp_output_backend_tooltip( $tooltip );
305
-
306
- }
307
-
308
- do_action( 'dpsp_inner_after_settings_field', $settings_field_slug, $type, $name );
309
-
310
- echo '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
 
 
 
 
312
  }
313
 
 
 
 
314
 
315
- /**
316
- * Set the column_count option to 1 when displaying the buttons inside the WP dashboard admin
317
- *
318
- * @param array $settings - the settings array for the current location
319
- * @param string $action - the current type of action ( share/follow )
320
- * @param string $location - the display location for the buttons
321
- *
322
- * @return array
323
- *
324
- */
325
- function dpsp_admin_buttons_display_column_count_to_one( $settings, $action, $location ) {
326
-
327
- if ( empty( $settings['display']['column_count'] ) ) {
328
- return $settings;
329
- }
330
-
331
- if ( ! is_admin() ) {
332
- return $settings;
333
- }
334
-
335
- $settings['display']['column_count'] = 1;
336
 
 
 
 
 
 
 
 
 
 
 
 
337
  return $settings;
338
-
339
  }
340
-
341
- /**
342
- * Returns the HTML output with the selectable networks
343
- *
344
- * @param array $networks - the networks available to be sorted
345
- * @param array $settings_networks - the networks saved for the location
346
- *
347
- */
348
- function dpsp_output_selectable_networks( $networks = [], $settings_networks ) {
349
-
350
- $output = '<div id="dpsp-networks-selector-wrapper">';
351
-
352
- $output .= '<ul id="dpsp-networks-selector">';
353
-
354
- if ( ! empty( $networks ) ) {
355
- foreach ( $networks as $network_slug => $network_name ) {
356
- $output .= '<li>';
357
- $output .= '<div class="dpsp-network-item" data-network="' . $network_slug . '" data-network-name="' . $network_name . '" ' . ( isset( $settings_networks[ $network_slug ] ) ? 'data-checked="true"' : '' ) . '>';
358
- $output .= '<div class="dpsp-network-item-checkbox dpsp-icon-ok"></div>';
359
- $output .= '<div class="dpsp-network-item-name-wrapper dpsp-network-' . $network_slug . ' dpsp-background-color-network-' . $network_slug . '">';
360
- $output .= '<span class="dpsp-list-icon dpsp-list-icon-social dpsp-icon-' . $network_slug . ' dpsp-background-color-network-' . $network_slug . '"><!-- --></span>';
361
- $output .= '<h4>' . $network_name . '</h4>';
362
- $output .= '</div>';
363
- $output .= '</li>';
364
- }
365
- }
366
-
367
- $output .= '</ul>';
368
-
369
- $output .= '<div id="dpsp-networks-selector-footer" class="dpsp-card-footer">';
370
- $output .= '<a href="#" class="dpsp-button-primary">' . __( 'Apply Selection', 'social-pug' ) . '</a>';
371
- $output .= '</div>';
372
-
373
- $output .= '</div>';
374
-
375
- return $output;
376
  }
377
 
 
378
 
379
- /*
380
- * Returns the HTML output with the sortable networks
381
- *
382
- */
383
- function dpsp_output_sortable_networks( $networks, $settings_name ) {
384
-
385
- $output = '<ul class="dpsp-social-platforms-sort-list sortable">';
386
-
387
- $current_network = 1;
388
-
389
- if ( ! empty( $networks ) ) {
390
-
391
- foreach ( $networks as $network_slug => $network ) {
392
-
393
- $output .= '<li data-network="' . $network_slug . '" ' . ( $current_network == count( $networks ) ? 'class="dpsp-last"' : '' ) . '>';
394
-
395
- // The sort handle
396
- $output .= '<div class="dpsp-sort-handle"><!-- --></div>';
397
-
398
- // The social network icon
399
- $output .= '<div class="dpsp-list-icon dpsp-list-icon-social dpsp-icon-' . $network_slug . ' dpsp-background-color-network-' . $network_slug . '"><!-- --></div>';
400
-
401
- // The label edit field
402
- $output .= '<div class="dpsp-list-input-wrapper">';
403
- $output .= '<input type="text" placeholder="' . __( 'This button has no label text.', 'social-pug' ) . '" name="' . $settings_name . '[networks][' . $network_slug . '][label]" value="' . ( isset( $network['label'] ) ? esc_attr( $network['label'] ) : dpsp_get_network_name( $network_slug ) ) . '" />';
404
- $output .= '</div>';
405
-
406
- // List item actions
407
- $output .= '<div class="dpsp-list-actions">';
408
- $output .= '<a class="dpsp-list-edit-label" href="#"><span class="dashicons dashicons-edit"></span>' . __( 'Edit Label' ) . '</a>';
409
- $output .= '<a class="dpsp-list-remove" href="#"><span class="dashicons dashicons-no-alt"></span>' . __( 'Remove' ) . '</a>';
410
- $output .= '</div>';
411
- $output .= '</li>';
412
-
413
- $current_network++;
414
-
415
- }
416
  }
417
 
418
- $output .= '</ul>';
419
-
420
- return $output;
421
- }
422
-
423
-
424
- /*
425
- * Outputs the HTML of the tooltip
426
- *
427
- * @param string tooltip - the text of the tooltip
428
- * @param bool $return - wether to return or to output the HTML
429
- *
430
- */
431
- function dpsp_output_backend_tooltip( $tooltip = '', $return = false ) {
432
-
433
- $output = '<div class="dpsp-setting-field-tooltip-wrapper ' . ( ( strpos( $tooltip, '</a>' ) !== false ) ? 'dpsp-has-link' : '' ) . '">';
434
- $output .= '<span class="dpsp-setting-field-tooltip-icon"></span>';
435
- $output .= '<div class="dpsp-setting-field-tooltip dpsp-transition">' . $tooltip . '</div>';
436
- $output .= '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
437
 
438
- if ( $return ) {
439
- return $output;
440
- } else {
441
- echo $output;
442
  }
443
-
444
  }
445
 
446
- /*
447
- * Registers an extra column for the shares with all active custom post types
448
- *
449
- */
450
- function dpsp_register_custom_post_type_columns() {
 
 
 
451
 
452
- $active_post_types = dpsp_get_active_post_types();
453
 
454
- if ( ! empty( $active_post_types ) ) {
455
- foreach ( $active_post_types as $post_type ) {
456
- add_filter( 'manage_' . $post_type . '_posts_columns', 'dpsp_set_shares_column' );
457
- add_filter( 'manage_edit-' . $post_type . '_sortable_columns', 'dpsp_set_shares_column_sortable' );
458
- add_action( 'manage_' . $post_type . '_posts_custom_column', 'dpsp_output_shares_column', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
  }
460
- }
461
- }
462
-
463
- /**
464
- * Adds the Shares column to all active post types
465
- *
466
- * @param array $columns
467
- *
468
- * @return array
469
- *
470
- */
471
- function dpsp_set_shares_column( $columns ) {
472
 
473
- $column_output = '<span class="dpsp-list-table-shares"><i class="dashicons dashicons-share"></i><span>' . __( 'Shares', 'social-pug' ) . '</span></span>';
 
474
 
475
- if ( isset( $columns['date'] ) ) {
 
476
 
477
- $array = array_slice( $columns, 0, array_search( 'date', array_keys( $columns ) ) );
 
 
 
478
 
479
- $array['dpsp_shares'] = $column_output;
 
 
 
 
 
480
 
481
- $columns = array_merge( $array, $columns );
482
 
483
- } else {
484
- $columns['dpsp_shares'] = $column_output;
485
  }
486
-
487
- return $columns;
488
  }
489
 
 
490
 
491
- /**
492
- * Defines the total shares column as sortable
493
- *
494
- * @param array $columns
495
- *
496
- * @return array
497
- *
498
- */
499
- function dpsp_set_shares_column_sortable( $columns ) {
500
-
501
- $columns['dpsp_shares'] = 'dpsp_shares';
502
-
503
- return $columns;
504
- }
505
-
506
-
507
- /**
508
- * Outputs the share counts in the Shares columns
509
- *
510
- * @param string $column_name
511
- * @param int $post_id
512
- *
513
- */
514
- function dpsp_output_shares_column( $column_name, $post_id ) {
515
-
516
- if ( $column_name == 'dpsp_shares' ) {
517
 
518
- echo '<span class="dpsp-list-table-post-share-count">' . dpsp_get_post_total_share_count( $post_id ) . '</span>';
519
 
520
- }
 
 
 
 
 
 
 
 
 
 
 
 
521
 
 
 
 
 
522
  }
 
523
 
 
 
 
 
 
524
 
525
- /**
526
- * Check to see if the user selected to order the posts by share counts and
527
- * changes the query accordingly
528
- *
529
- * @param WP_Query $query
530
- *
531
- */
532
- function dpsp_pre_get_posts_shares_query( $query ) {
533
-
534
- if ( ! is_admin() ) {
535
- return;
536
- }
537
-
538
- $orderby = $query->get( 'orderby' );
539
-
540
- if ( $orderby == 'dpsp_shares' ) {
541
- $query->set( 'meta_key', 'dpsp_networks_shares_total' );
542
- $query->set( 'orderby', 'meta_value_num' );
543
  }
544
-
545
  }
 
546
 
547
- /**
548
- * Makes a call to Facebook to scrape the post's Open Graph data after the post has been saved
549
- *
550
- * @param int $post_id
551
- * @param WP_Post $post
552
- *
553
- */
554
- function dpsp_save_post_facebook_scrape_url( $post_id, $post ) {
555
-
556
- if ( ! is_admin() ) {
557
- return;
558
- }
559
-
560
- $not_allowed_post_statuses = [ 'draft', 'auto-draft', 'future', 'pending', 'trash' ];
561
-
562
- if ( in_array( $post->post_status, $not_allowed_post_statuses ) ) {
563
- return;
564
- }
565
 
566
- $post_url = get_permalink( $post );
567
- $post_url = rawurlencode( $post_url );
568
 
569
- $url = add_query_arg(
570
- [
571
- 'id' => $post_url,
572
- 'scrape' => 'true',
573
- ],
574
- 'https://graph.facebook.com/'
575
- );
576
 
577
- $response = wp_remote_post( $url );
 
 
578
  }
579
 
580
- /*
581
- * Display admin notices for our pages
582
- *
583
- */
584
- function dpsp_admin_notices() {
585
-
586
- // Exit if settings updated is not present
587
- if ( ! isset( $_GET['settings-updated'] ) ) {
588
- return;
589
- }
590
-
591
- $admin_page = ( isset( $_GET['page'] ) ? $_GET['page'] : '' );
592
-
593
- // Show these notices only on dpsp pages
594
- if ( strpos( $admin_page, 'dpsp' ) === false || $admin_page == 'dpsp-register-version' ) {
595
- return;
596
- }
597
-
598
- // Get messages
599
- $message_id = ( isset( $_GET['dpsp_message_id'] ) ? $_GET['dpsp_message_id'] : 0 );
600
- $message = dpsp_get_admin_notice_message( $message_id );
601
-
602
- $class = ( isset( $_GET['
1
  <?php
2
 
3
+ use Mediavine\Grow\View_Loader;
4
+ use Mediavine\Grow\Networks;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
+ /**
7
+ * Displays the HTML of the plugin admin header.
8
+ */
9
+ function dpsp_admin_header() {
10
+ if ( empty( filter_input( INPUT_GET, 'page' ) ) ) {
11
+ return;
12
  }
13
 
14
+ if ( strpos( filter_input( INPUT_GET, 'page' ), 'dpsp' ) === false ) {
15
+ return;
16
+ }
 
 
 
 
 
 
17
 
18
+ $page = esc_attr( wp_unslash( trim( filter_input( INPUT_GET, 'page' ) ) ) );
19
+
20
+ echo '<div class="dpsp-page-header">';
21
+ echo '<span class="dpsp-logo">';
22
+ echo '<svg version="1.1" class="mv-grow-logo" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 20 20" fill="white" xml:space="preserve">
23
+ <path d="M0 7.2c0 .1-.6 4.7 2 7.2 1.7 1.8 4.3 2 5.9 2h.9A12.7 12.7 0 014.4 14a6.7 6.7 0 01-1.6-2.3c-.3-.9-.5-1.9-.4-3 0-.7.2-1.6.5-2.4h-2l-.7.1-.1.8zM4.7 3.4l-.4.6-.8 1.8 2.4.5 1.3-2c-1-.5-1.7-.7-1.8-.7l-.7-.2z"/>
24
+ <path d="M3.3 11.5c1.1 2.8 4.3 4 5.5 4.4l-.5-.4-.4-.4a10.7 10.7 0 01-2.2-3c-.4-1-.6-1.9-.6-2.8 0-.7.2-1.4.4-2.1l.1-.2.1-.3a10.8 10.8 0 00-2.1-.4h-.3v.4a7.4 7.4 0 000 4.8zM10.6 2.8l-.6-.4-.6.4L8 4.2l2 1.3c.6-.5 1.3-1 2-1.3l-1.4-1.4zM6.5 6.6h.2l1.6 1.1a6.4 6.4 0 011.4-1.9L8 4.8l-.2-.2-.2-.1-.2.2-.1.2c-.4.4-.8 1-1 1.6h.1z"/>
25
+ <path d="M6 7.1v.2a6 6 0 00-.4 2c0 3 2.4 5.4 3.4 6.2l-.3-.5-.2-.6a12.5 12.5 0 01-.8-3.4A7 7 0 018 8.4l.1-.3a6 6 0 00-1.6-1L6.3 7h-.2V7zM15.3 3.5l-.7.1s-.8.2-1.8.7c.5.7 1 1.3 1.3 2l.5-.1a11 11 0 011.9-.4l-.8-1.7-.4-.6zM13.4 6.6l.3-.1-1-1.6-.2-.2-.2-.2-.2.1-.2.1-1.6 1.1.2.2.1.2c.5.4.8 1 1 1.5a6.6 6.6 0 011.8-1.1zM10.3 6.5l-.2-.2-.1-.1-.2.1-.1.2a5.8 5.8 0 00-1 1.6v.1h.1l.2.2c.4.5.7 1.1 1 1.8a7 7 0 011-1.8l.1-.2.2-.2c-.2-.6-.6-1-1-1.5z"/>
26
+ <path d="M8.7 8.9v-.2h-.1l-.2-.2V9h-.1c-.6 2.5.5 5 1 6.1v-.6-.6-1.1l.2-1 .1-.5.1-.4a6.9 6.9 0 00-1-2zM17 6.3h-.4c-.7 0-1.5.2-2.3.4l-.2.1-.3.1h-.2l-.2.2A6 6 0 0012 8l-.2.2-.2.2-.2.2-.1.2c-.5.6-.8 1.3-1 2l-.1.4-.1.3v.2l-.1.5v.2a12 12 0 000 3V16.4h.5l.2.1H12c1.6 0 4.2-.2 6-2 2.5-2.5 1.8-7 1.8-7.3v-.7H19a10.2 10.2 0 00-2-.1zm-.4 6.8c-1.3 1.2-3.3 1.4-4.6 1.4h-.3c0-1.3.1-3.6 1.4-4.9 1.2-1.2 3.3-1.4 4.5-1.4h.4c0 1.2 0 3.5-1.4 4.9z"/>
27
+ </svg>
28
+ ';
29
+ echo '<span class="dpsp-logo-inner">Grow Social by Mediavine</span>';
30
+ echo '<small class="dpsp-version">v.' . esc_attr( DPSP_VERSION ) . '</small>';
31
+ echo '</span>';
32
+
33
+ echo '<nav>';
34
+ echo '<a href="' . esc_url( dpsp_get_documentation_link( $page ) ) . '" target="_blank"><i class="dashicons dashicons-book"></i>Documentation</a>';
35
+ echo '</nav>';
36
+ echo '</div>';
37
+ }
38
 
39
+ /**
40
+ * Returns the link to the docs depending on the page the user is on.
41
+ *
42
+ * @param $page
43
+ *
44
+ * @return string
45
+ */
46
+ function dpsp_get_documentation_link( $page ) {
47
+ $page = str_replace( 'dpsp-', '', $page );
48
+
49
+ switch ( $page ) {
50
+ case 'sidebar':
51
+ $url = 'https://help.mediavine.com/en/articles/3625801-how-to-add-social-sharing-buttons-as-a-floating-sidebar';
52
+ break;
53
+ case 'content':
54
+ $url = 'https://help.mediavine.com/en/articles/3667466-how-to-add-social-share-buttons-before-and-after-your-post-s-content';
55
+ break;
56
+ case 'sticky-bar':
57
+ case 'mobile':
58
+ $url = 'https://help.mediavine.com/en/articles/3667616-sticky-bar-sharing-buttons';
59
+ break;
60
+ case 'pinterest-images':
61
+ $url = 'https://help.mediavine.com/en/articles/3667495-how-to-add-a-pin-it-button-to-your-post-s-images';
62
+ break;
63
+ case 'import-export':
64
+ case 'follow-widget':
65
+ case 'pop-up':
66
+ default:
67
+ $url = 'https://help.mediavine.com/en/collections/2071158-grow-by-mediavine';
68
+ break;
69
+ }
70
 
71
+ return $url;
72
+ }
 
 
73
 
74
+ /**
75
+ * Displays the HTML for a given tool.
76
+ *
77
+ * @param string $tool_slug
78
+ * @param array $tool
79
+ */
80
+ function dpsp_output_tool_box( $tool_slug, $tool ) {
81
+ $grow_url = 'https://marketplace.mediavine.com/grow-social-pro/';
82
+ $is_extension = empty( $tool['admin_page'] );
83
+ $box_class = Social_Pug::is_free() && ! $is_extension ? 'dpsp-col-3-8' : 'dpsp-col-1-4';
84
+ echo '<div class="' . esc_attr( $box_class ) . '">';
85
+ echo '<div class="dpsp-tool-wrapper dpsp-card ' . ( $is_extension ? 'dpsp-unavailable' : '' ) . '">';
86
 
87
+ if ( $is_extension ) {
88
+ if ( empty( $tool['url'] ) ) {
89
+ $tool['url'] = $grow_url;
 
 
 
90
  }
91
 
92
+ echo '<a href="' . esc_url( $tool['url'] ) . '">';
 
93
  }
94
 
95
+ // Tool image
96
+ echo '<img src="' . esc_url( strpos( $tool['img'], 'http' ) === false ? DPSP_PLUGIN_DIR_URL . $tool['img'] : $tool['img'] ) . '" />';
97
 
98
+ if ( $is_extension ) {
99
+ echo '</a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
101
 
102
+ // Tool name
103
+ echo '<h4 class="dpsp-tool-name">' . esc_html( $tool['name'] ) . '</h4>';
104
 
105
+ if ( ! empty( $tool['desc'] ) ) {
106
+ echo '<p class="dpsp-description">' . esc_html( $tool['desc'] ) . '</p>';
107
+ }
 
 
 
 
108
 
109
+ $tool_active = dpsp_is_tool_active( $tool_slug );
110
 
111
+ // Tool actions
112
+ echo '<div class="dpsp-tool-actions dpsp-card-footer dpsp-' . ( (bool) $tool_active ? 'active' : 'inactive' ) . '">';
113
 
114
+ if ( ! $is_extension ) {
115
+ // Tool admin page
116
+ echo '<a class="dpsp-tool-settings" href="' . esc_url( admin_url( $tool['admin_page'] ) ) . '"><i class="dashicons dashicons-admin-generic"></i>' . esc_html__( 'Settings', 'social-pug' ) . '</a>';
117
 
118
+ // Tool activation switch
119
+ echo '<div class="dpsp-switch small">';
120
 
121
+ echo( (bool) $tool_active ? '<span>' . esc_html__( 'Active', 'social-pug' ) . '</span>' : '<span>' . esc_html__( 'Inactive', 'social-pug' ) . '</span>' );
 
 
122
 
123
+ echo '<input id="dpsp-' . esc_attr( $tool_slug ) . '-active" data-tool="' . esc_attr( $tool_slug ) . '" data-tool-activation="' . esc_attr( ! empty( $tool['activation_setting'] ) ? $tool['activation_setting'] : '' ) . '" class="cmn-toggle cmn-toggle-round" type="checkbox" value="1"' . ( $tool_active ? 'checked' : '' ) . ' />';
124
+ echo '<label for="dpsp-' . esc_attr( $tool_slug ) . '-active"></label>';
125
 
126
+ echo '</div>';
127
+ } else {
128
+ if ( empty( $tool['url'] ) ) {
129
+ $tool['url'] = $grow_url;
130
+ }
131
 
132
+ echo '<a href="' . esc_url( $tool['url'] ) . '" class="dpsp-button-primary">' . esc_html__( 'Learn More', 'social-pug' ) . '</a>';
 
 
133
 
134
+ }
135
+ echo '</div>';
136
 
137
+ echo '</div>';
138
+ echo '</div>';
139
+ }
140
 
141
+ /**
142
+ * Function that displays the HTML for a settings field.
143
+ *
144
+ * @param $type
145
+ * @param $name
146
+ * @param string $saved_value
147
+ * @param string $label
148
+ * @param array $options
149
+ * @param string $tooltip
150
+ * @param array $editor_settings
151
+ * @param string $disabled
152
+ */
153
+ function dpsp_settings_field( $type, $name, $saved_value = '', $label = '', $options = [], $tooltip = '', $editor_settings = [], $disabled = '' ) {
154
+
155
+ $settings_field_slug = ( ! empty( $label ) ? strtolower( str_replace( ' ', '-', $label ) ) : '' );
156
+
157
+ echo '<div class="dpsp-setting-field-wrapper dpsp-setting-field-' . esc_attr( $type ) . ( is_array( $options ) && count( $options ) === 1 ? ' dpsp-single' : ( is_array( $options ) && count( $options ) > 1 ? ' dpsp-multiple' : '' ) ) . ' ' . ( ! empty( $label ) ? 'dpsp-has-field-label dpsp-setting-field-' . esc_attr( $settings_field_slug ) : '' ) . '">';
158
+
159
+ switch ( $type ) {
160
+ // Display input type text
161
+ case 'text':
162
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
163
+ echo '<input type="text" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" value="' . esc_attr( $saved_value ) . '" ' . esc_attr( $disabled ) . ' />'; // @todo WordPress' disabled() function should be used instead
164
+ break;
165
+
166
+ // Display textareas
167
+ case 'textarea':
168
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
169
+ echo '<textarea ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '">' . esc_attr( $saved_value ) . '</textarea>';
170
+ break;
171
+
172
+ // Display wp_editors
173
+ case 'editor':
174
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
175
+ wp_editor( $saved_value, $name, $editor_settings );
176
+ break;
177
+
178
+ // Display input type radio
179
+ case 'radio':
180
+ echo ! empty( $label ) ? '<label class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
181
+ if ( ! empty( $options ) ) {
182
+ foreach ( $options as $option_value => $option_name ) {
183
+ echo '<input type="radio" id="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" name="' . esc_attr( $name ) . '" value="' . esc_attr( $option_value ) . '" ' . checked( $option_value, $saved_value, false ) . ' />';
184
+ echo '<label for="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" class="dpsp-settings-field-radio">' . ( isset( $option_name ) ? esc_attr( $option_name ) : esc_attr( $option_value ) ) . '<span></span></label>';
185
+ }
186
+ }
187
+ break;
188
+
189
+ // Display input type checkbox
190
+ case 'checkbox':
191
+ // If no options are passed make the main label as the label for the checkbox
192
+ if ( count( $options ) === 1 ) {
193
+ if ( is_array( $saved_value ) ) {
194
+ $saved_value = $saved_value[0];
195
+ }
196
+ echo '<input type="checkbox" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" value="' . esc_attr( $options[0] ) . '" ' . checked( $options[0], $saved_value, false ) . ' />';
197
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '<span></span></label>' : '';
198
 
199
+ // Else display checkboxes just like radios
200
+ } else {
201
+ echo ! empty( $label ) ? '<label class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
202
  if ( ! empty( $options ) ) {
203
  foreach ( $options as $option_value => $option_name ) {
204
+ echo '<input type="checkbox" id="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" name="' . esc_attr( $name ) . '" value="' . esc_attr( $option_value ) . '" ' . ( in_array( $option_value, $saved_value, true ) ? 'checked' : '' ) . ' />';
205
+ echo '<label for="' . esc_attr( $name ) . '[' . esc_attr( $option_value ) . ']' . '" class="dpsp-settings-field-checkbox">' . ( isset( $option_name ) ? esc_attr( $option_name ) : esc_attr( $option_value ) ) . '<span></span></label>';
206
  }
207
  }
208
+ }
209
+ break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
+ // Display switch
212
+ case 'switch':
213
+ if ( count( $options ) === 1 ) {
214
+ if ( is_array( $saved_value ) ) {
215
+ $saved_value = $saved_value[0];
216
  }
217
+ echo '<div class="dpsp-switch">';
218
+ echo '<input type="checkbox" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" class="cmn-toggle cmn-toggle-round" value="' . esc_attr( $options[0] ) . '" ' . checked( $options[0], $saved_value, false ) . ' />';
219
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '"></label>' : '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  echo '</div>';
221
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '<span></span></label>' : '';
222
+ }
223
+ break;
224
 
225
+ case 'select':
226
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
227
+ echo '<select id="' . esc_attr( $name ) . '" name="' . esc_attr( $name ) . '"' . esc_attr( $disabled ) . '>';
228
+ foreach ( $options as $option_value => $option_name ) {
229
+ echo '<option value="' . esc_attr( $option_value ) . '" ' . selected( $saved_value, $option_value, false ) . '>' . esc_attr( $option_name ) . '</option>';
230
+ }
231
+ echo '</select>';
232
+ break;
233
+
234
+ case 'color-picker':
235
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
236
+ echo '<input class="dpsp-color-picker" type="text" ' . ( isset( $label ) ? 'id="' . esc_attr( $name ) . '"' : '' ) . ' name="' . esc_attr( $name ) . '" value="' . esc_attr( $saved_value ) . '" />';
237
+ break;
238
+
239
+ case 'image':
240
+ echo ! empty( $label ) ? '<label for="' . esc_attr( $name ) . '" class="dpsp-setting-field-label">' . esc_attr( $label ) . '</label>' : '';
241
+ echo '<div>';
242
+ if ( ! empty( $saved_value['id'] ) ) {
243
+ $thumb_details = wp_get_attachment_image_src( $saved_value['id'], 'medium' );
244
+ $image_details = wp_get_attachment_image_src( $saved_value['id'], 'full' );
245
+ }
246
+ if ( ! empty( $thumb_details[0] ) && ! empty( $image_details[0] ) ) {
247
+ $thumb_src = $thumb_details[0];
248
+ $image_src = $image_details[0];
249
+ } else {
250
+ $thumb_src = '';
251
+ $image_src = '';
252
+ $saved_value['id'] = '';
253
+ }
254
+ echo '<div>';
255
+ echo '<img src="' . esc_attr( $thumb_src ) . '">';
256
+ echo '</div>';
257
+ echo '<a class="dpsp-image-select button button-primary ' . ( ! empty( $saved_value['id'] ) ? 'hidden' : '' ) . '" href="#">' . esc_html__( 'Select Image', 'social-pug' ) . '</a>';
258
+ echo '<a class="dpsp-image-remove button button-secondary ' . ( empty( $saved_value['id'] ) ? 'hidden' : '' ) . '" href="#">' . esc_html__( 'Remove Image', 'social-pug' ) . '</a>';
259
+ echo '<input class="dpsp-image-id" type="hidden" name="' . esc_attr( $name ) . '[id]" value="' . esc_attr( $saved_value['id'] ) . '" />';
260
+ echo '<input class="dpsp-image-src" type="hidden" name="' . esc_attr( $name ) . '[src]" value="' . esc_attr( $image_src ) . '" />';
261
+ echo '</div>';
262
+ break;
263
+ } // end of switch
264
 
265
+ // Tooltip
266
+ if ( ! empty( $tooltip ) ) {
267
+ dpsp_output_backend_tooltip( $tooltip );
268
  }
269
 
270
+ do_action( 'dpsp_inner_after_settings_field', $settings_field_slug, $type, $name );
271
+ echo '</div>';
272
+ }
273
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
 
275
+ /**
276
+ * Set the column_count option to 1 when displaying the buttons inside the WP dashboard admin
277
+ *
278
+ * @param array $settings - the settings array for the current location
279
+ * @param string $action - the current type of action ( share/follow )
280
+ * @param string $location - the display location for the buttons
281
+ *
282
+ * @return array
283
+ */
284
+ function dpsp_admin_buttons_display_column_count_to_one( $settings, $action, $location ) {
285
+ if ( empty( $settings['display']['column_count'] ) ) {
286
  return $settings;
 
287
  }
288
+ if ( ! is_admin() ) {
289
+ return $settings;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
  }
291
 
292
+ $settings['display']['column_count'] = 1;
293
 
294
+ return $settings;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  }
296
 
297
+ /**
298
+ * Returns the HTML output with the selectable networks.
299
+ *
300
+ * @param array $networks - the networks available to be sorted
301
+ * @param array $settings_networks - the networks saved for the location
302
+ *
303
+ * @return string
304
+ */
305
+ function dpsp_output_selectable_networks( $networks = [], $settings_networks ) {
306
+ $networks_container = Networks::get_instance();
307
+ $output = '<div id="dpsp-networks-selector-wrapper">';
308
+ $output .= '<ul id="dpsp-networks-selector">';
309
+
310
+ if ( ! empty( $networks ) ) {
311
+ foreach ( $networks as $network_slug => $network_name ) {
312
+ $network = $networks_container->get( $network_slug );
313
+ if ( ! $network ) {
314
+ continue;
315
+ }
316
+ $tooltip = $network->get_tooltip();
317
+ $output .= '<li>';
318
+ $output .= '<div class="dpsp-network-item" data-network="' . $network_slug . '" data-network-name="' . $network->get_name() . '" ' . ( isset( $settings_networks[ $network_slug ] ) ? 'data-checked="true"' : '' ) . '>';
319
+ $output .= '<div class="dpsp-network-item-checkbox dpsp-icon-ok">' . dpsp_get_svg_icon_output( 'ok' ) . '</div>';
320
+ $output .= '<div class="dpsp-network-item-name-wrapper dpsp-network-' . $network_slug . ' dpsp-background-color-network-' . $network_slug . '">';
321
+ $output .= '<span class="dpsp-list-icon dpsp-list-icon-social dpsp-icon-' . $network_slug . ' dpsp-background-color-network-' . $network_slug . '">' . dpsp_get_svg_icon_output( $network_slug ) . '</span>';
322
+ $output .= '<h4>' . $network->get_name() . '</h4>';
323
+ $output .= '</div>';
324
+ if ( ! empty( $tooltip ) ) {
325
+ $output .= dpsp_output_backend_tooltip( $tooltip, true );
326
+ }
327
+ $output .= '</li>';
328
 
 
 
 
 
329
  }
 
330
  }
331
 
332
+ $output .= '</ul>';
333
+ $output .= '<div id="dpsp-networks-selector-footer" class="dpsp-card-footer">';
334
+ $output .= '<a href="#" class="dpsp-button-primary">' . esc_html__( 'Apply Selection', 'social-pug' ) . '</a>';
335
+ $output .= '</div>';
336
+ $output .= '</div>';
337
+
338
+ return $output;
339
+ }
340
 
 
341
 
342
+ /**
343
+ * Returns the HTML output with the sortable networks.
344
+ *
345
+ * @param $networks
346
+ * @param $settings_name
347
+ *
348
+ * @return string
349
+ */
350
+ function dpsp_output_sortable_networks( $networks, $settings_name ) {
351
+ $networks_container = Networks::get_instance();
352
+ $output = '<ul class="dpsp-social-platforms-sort-list sortable">';
353
+ $current_network = 1;
354
+ if ( ! empty( $networks ) ) {
355
+
356
+ foreach ( $networks as $network_slug => $network_name ) {
357
+ //var_dump($networks[$network_slug]);
358
+ $network = $networks_container->get( $network_slug );
359
+ if ( ! $network ) {
360
+ continue;
361
  }
362
+ $output .= '<li data-network="' . esc_attr( $network_slug ) . '" ' . ( count( $networks ) === $current_network ? 'class="dpsp-last"' : '' ) . '>';
 
 
 
 
 
 
 
 
 
 
 
363
 
364
+ // The sort handle
365
+ $output .= '<div class="dpsp-sort-handle"><!-- --></div>';
366
 
367
+ // The social network icon
368
+ $output .= '<div class="dpsp-list-icon dpsp-list-icon-social dpsp-icon-' . esc_attr( $network_slug ) . ' dpsp-background-color-network-' . esc_attr( $network_slug ) . '">' . dpsp_get_svg_icon_output( $network_slug ) . '</div>';
369
 
370
+ // The label edit field
371
+ $output .= '<div class="dpsp-list-input-wrapper">';
372
+ $output .= '<input type="text" placeholder="' . __( 'This button has no label text.', 'social-pug' ) . '" name="' . esc_attr( $settings_name ) . '[networks][' . $network_slug . '][label]" value="' . ( $networks[ $network_slug ]['label'] ? $networks[ $network_slug ]['label'] : $network->get_label() ) . '" />';
373
+ $output .= '</div>';
374
 
375
+ // List item actions
376
+ $output .= '<div class="dpsp-list-actions">';
377
+ $output .= '<a class="dpsp-list-edit-label" href="#"><span class="dashicons dashicons-edit"></span>' . esc_html__( 'Edit Label' ) . '</a>';
378
+ $output .= '<a class="dpsp-list-remove" href="#"><span class="dashicons dashicons-no-alt"></span>' . esc_html__( 'Remove' ) . '</a>';
379
+ $output .= '</div>';
380
+ $output .= '</li>';
381
 
382
+ $current_network ++;
383
 
 
 
384
  }
 
 
385
  }
386
 
387
+ $output .= '</ul>';
388
 
389
+ return $output;
390
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
 
 
392
 
393
+ /**
394
+ * Outputs the HTML of the tooltip
395
+ *
396
+ * @param string tooltip - the text of the tooltip
397
+ * @param bool $return - wether to return or to output the HTML
398
+ *
399
+ * @return string
400
+ */
401
+ function dpsp_output_backend_tooltip( $tooltip = '', $return = false ) {
402
+ $output = '<div class="dpsp-setting-field-tooltip-wrapper ' . ( ( strpos( $tooltip, '</a>' ) !== false ) ? 'dpsp-has-link' : '' ) . '">';
403
+ $output .= '<span class="dpsp-setting-field-tooltip-icon"></span>';
404
+ $output .= '<div class="dpsp-setting-field-tooltip dpsp-transition">' . $tooltip . '</div>';
405
+ $output .= '</div>';
406
 
407
+ if ( $return ) {
408
+ return $output;
409
+ } else {
410
+ echo wp_kses( $output, View_Loader::get_allowed_tags() );
411
  }
412
+ }
413
 
414
+ /**
415
+ * Registers an extra column for the shares with all active custom post types.
416
+ */
417
+ function dpsp_register_custom_post_type_columns() {
418
+ $active_post_types = dpsp_get_active_post_types();
419
 
420
+ if ( ! empty( $active_post_types ) ) {
421
+ foreach ( $active_post_types as $post_type ) {
422
+ add_filter( 'manage_' . $post_type . '_posts_columns', 'dpsp_set_shares_column' );
423
+ add_filter( 'manage_edit-' . $post_type . '_sortable_columns', 'dpsp_set_shares_column_sortable' );
424
+ add_action( 'manage_' . $post_type . '_posts_custom_column', 'dpsp_output_shares_column', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  }
 
426
  }
427
+ }
428
 
429
+ /**
430
+ * Adds the Shares column to all active post types.
431
+ *
432
+ * @param array $columns
433
+ *
434
+ * @return array
435
+ */
436
+ function dpsp_set_shares_column( $columns ) {
437
+ $column_output = '<span class="dpsp-list-table-shares"><i class="dashicons dashicons-share"></i><span>' . __( 'Shares', 'social-pug' ) . '</span></span>';
 
 
 
 
 
 
 
 
 
438
 
439
+ if ( isset( $columns['date'] ) ) {
440
+ $array = array_slice( $columns, 0, array_search( 'date', array_keys( $columns ), true ) );
441
 
442
+ $array['dpsp_shares'] = $column_output;
 
 
 
 
 
 
443
 
444
+ $columns = array_merge( $array, $columns );
445
+ } else {
446
+ $columns['dpsp_shares'] = $column_output;
447
  }
448