WP Statistics - Version 13.2.0

Version Description

= 13.0 = IMPORTANT NOTE Welcome to WP-Statistics v13.0, our biggest update! Thank you for being part of our community. Weve been working hard for one year to develop this version and make WP-Statistics better for you. Before updating, make sure you disabled all your add-ons, then after that, try to update add-ons.

If you encounter any bug, please create an issue on GitHub where we can act upon them more efficiently. Since GitHub is not a support forum, just bugs are welcomed, and any other request will be closed.

Download this release

Release Info

Developer mostafa.s1990
Plugin Icon 128x128 WP Statistics
Version 13.2.0
Comparing to
See all releases

Code changes from version 13.1.7 to 13.2.0

Files changed (76) hide show
  1. assets/css/admin.min.css +1 -1
  2. assets/css/frontend.min.css +1 -1
  3. assets/dev/javascript/helper.js +3 -0
  4. assets/dev/javascript/meta-box/browsers.js +6 -6
  5. assets/dev/javascript/meta-box/exclusions.js +2 -1
  6. assets/dev/javascript/meta-box/hits.js +4 -2
  7. assets/dev/javascript/meta-box/pages-chart.js +2 -1
  8. assets/dev/javascript/meta-box/pages.js +1 -1
  9. assets/dev/javascript/meta-box/platforms.js +5 -4
  10. assets/dev/javascript/meta-box/post.js +3 -2
  11. assets/dev/javascript/meta-box/recent.js +2 -0
  12. assets/dev/javascript/meta-box/search.js +4 -2
  13. assets/dev/javascript/meta-box/top-pages-chart.js +2 -1
  14. assets/dev/javascript/meta-box/useronline.js +1 -1
  15. assets/dev/sass/component/admin-bar.scss +28 -0
  16. assets/dev/sass/component/global.scss +0 -9
  17. assets/dev/sass/component/table.scss +6 -1
  18. assets/dev/sass/component/ui.admin.scss +26 -18
  19. assets/dev/sass/frontend.scss +2 -4
  20. assets/dev/sass/pages/add-one.scss +4 -0
  21. assets/dev/sass/pages/admin.scss +41 -1
  22. assets/dev/sass/pages/pages.scss +71 -1
  23. assets/dev/sass/pages/setting.scss +4 -0
  24. assets/images/mini-chart-admin-bar-preview.png +0 -0
  25. assets/images/mini-chart-posts-preview.png +0 -0
  26. assets/images/pages-visitor-preview.png +0 -0
  27. assets/js/admin.min.js +1 -1
  28. includes/admin/class-wp-statistics-admin-ajax.php +3 -3
  29. includes/admin/class-wp-statistics-admin-export.php +2 -2
  30. includes/admin/class-wp-statistics-admin-post.php +21 -3
  31. includes/admin/class-wp-statistics-admin-taxonomy.php +18 -2
  32. includes/admin/class-wp-statistics-admin-template.php +13 -3
  33. includes/admin/meta-box/wp-statistics-meta-box-post.php +6 -0
  34. includes/admin/pages/class-wp-statistics-admin-page-authors.php +1 -1
  35. includes/admin/pages/class-wp-statistics-admin-page-optimization.php +5 -5
  36. includes/admin/pages/class-wp-statistics-admin-page-pages.php +13 -7
  37. includes/admin/pages/class-wp-statistics-admin-page-refer.php +1 -1
  38. includes/admin/pages/class-wp-statistics-admin-page-settings.php +5 -5
  39. includes/admin/pages/class-wp-statistics-admin-page-top-visitors-today.php +1 -1
  40. includes/admin/pages/class-wp-statistics-admin-page-visitors.php +8 -7
  41. includes/admin/templates/add-ons.php +1 -1
  42. includes/admin/templates/layout/date.range.php +9 -9
  43. includes/admin/templates/layout/select.php +3 -3
  44. includes/admin/templates/layout/visitors.filter.php +1 -1
  45. includes/admin/templates/meta-box/about.php +1 -1
  46. includes/admin/templates/meta-box/pages-visitor-preview.php +9 -0
  47. includes/admin/templates/optimization/resources.php +3 -3
  48. includes/admin/templates/pages/author.php +1 -1
  49. includes/admin/templates/pages/category.php +1 -1
  50. includes/admin/templates/pages/exclusions.php +1 -1
  51. includes/admin/templates/pages/online.php +3 -3
  52. includes/admin/templates/pages/page-chart.php +18 -0
  53. includes/admin/templates/pages/pages.php +1 -1
  54. includes/admin/templates/pages/refer.url.php +3 -3
  55. includes/admin/templates/pages/tag.php +1 -1
  56. includes/admin/templates/pages/top-visitors.php +6 -4
  57. includes/admin/templates/pages/top.refer.php +1 -1
  58. includes/admin/templates/pages/visitors.php +14 -9
  59. includes/admin/templates/pages/words.php +3 -3
  60. includes/admin/templates/postbox.php +1 -4
  61. includes/admin/templates/settings/about.php +6 -12
  62. includes/admin/templates/settings/general.php +8 -8
  63. includes/admin/templates/settings/notifications.php +2 -2
  64. includes/admin/templates/settings/visitor-ip.php +2 -2
  65. includes/class-wp-statistics-admin-bar.php +53 -18
  66. includes/class-wp-statistics-exclusion.php +2 -1
  67. includes/class-wp-statistics-frontend.php +1 -1
  68. includes/class-wp-statistics-helper.php +5 -3
  69. includes/class-wp-statistics-install.php +7 -4
  70. includes/class-wp-statistics-menus.php +1 -1
  71. includes/class-wp-statistics-pages.php +1 -1
  72. includes/class-wp-statistics-referred.php +1 -1
  73. includes/class-wp-statistics-widget.php +27 -31
  74. includes/class-wp-statistics.php +3 -1
  75. readme.txt +15 -2
  76. wp-statistics.php +1 -1
assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .wps-text-danger{color:#DC3545 !important}.wps-text-success{color:#459605 !important}.wps-text-warning{color:#dc6b26 !important}.wps-text-muted{color:#797979 !important}.wps-center{text-align:center !important}.wps-d-none{display:none}.wps-d-inline-block{display:inline-block}.wps-middle-vertical{vertical-align:middle}a[href*='?page=wps_break_menu']{pointer-events:none}.wps-cursor-default{cursor:default}.wp-core-ui .btn-danger{background:rgba(186,0,0,0.74);border-color:rgba(170,0,0,0.77) rgba(153,0,0,0.74) rgba(153,0,0,0.74);box-shadow:0 1px 0 rgba(153,0,0,0.74);color:#fff;text-decoration:none;text-shadow:0 -1px 1px rgba(153,0,0,0.74),1px 0 1px rgba(153,0,0,0.74),0 1px 1px rgba(153,0,0,0.74),-1px 0 1px rgba(153,0,0,0.74)}.wp-core-ui .btn-danger:hover{background:#c20000;border-color:#990000;color:#fff}.wp-core-ui .btn-danger:active{background:rgba(170,0,0,0.75);border-color:rgba(153,0,0,0.74);box-shadow:inset 0 2px 0 rgba(153,0,0,0.75)}.wp-core-ui .btn-danger:focus{box-shadow:0 1px 0 rgba(170,0,0,0.75),0 0 2px 1px rgba(219,51,51,0.75);background:rgba(194,0,0,0.75);border-color:rgba(153,0,0,0.75);color:#fff;outline:0 !important}.wps-btn-inline{vertical-align:-2px;margin:0 5px}.wps-m-top-20{margin-top:20px}.wps-text-wrap{display:inline-block;overflow:hidden;white-space:nowrap;width:100% !important}.wps-width-100{width:100% !important}.wps-200-px{width:200px !important}.wps-inline{display:inline}.wps_page_title{display:inline-block;vertical-align:-15px;margin-top:10px;margin-bottom:10px;margin-right:5px}.wps_title{display:inline;font-size:1.6em}.wp-statistics-container{margin:0 auto}.wps-pull-right{float:right}.wps-pull-left{float:left}.column-wp-statistics-post-hits,.column-visits{width:10%}.column-wp-statistics-tax-hits{width:15%}@media print{#wpadminbar,#adminmenuback,#adminmenuwrap,#show-settings-link{display:none}#wpcontent,#wpfooter{margin-left:0px}}#wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before{content:'\f184';top:2px}.pagination-wrap{clear:both;display:block;overflow:hidden;text-align:center;margin-top:25px}.pagination-wrap .wps-page-number{color:#148e00;direction:rtl;margin-top:4px}.pagination-wrap .page-numbers li{margin-bottom:0;display:inline-block}.pagination-wrap .page-numbers li a,.pagination-wrap .pagination-wrap .page-numbers li span{display:inline-block;padding:6px 12px;margin-right:4px;border-radius:3px;border:solid 1px #c0c0c0;background:#e9e9e9;box-shadow:inset 0px 1px 0px rgba(255,255,255,0.8),0px 1px 3px rgba(0,0,0,0.1);font-size:.875em;font-weight:bold;text-decoration:none;color:#717171;text-shadow:0px 1px 0px #fff}.pagination-wrap .page-numbers>li>a:hover,.pagination-wrap .page-numbers>li>span:hover,.pagination-wrap .page-numbers>li>a:focus,.pagination-wrap .page-numbers>li>span:focus{background:#fefefe;background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));background:-moz-linear-gradient(#FEFEFE, #f0f0f0)}.pagination-wrap .page-numbers li .current{border:none;background:#616161 !important;box-shadow:inset 0px 0px 8px rgba(0,0,0,0.5),0px 1px 0px rgba(255,255,255,0.8) !important;color:#f0f0f0;text-shadow:0px 0px 3px rgba(0,0,0,0.5);padding:7.5px 14px;vertical-align:-1.5px;margin:-8px 5px -5px 5px;border-radius:5px}i.mce-i-icon-statistic{font:400 20px/1 dashicons;padding:0;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:-2px;padding-right:2px}.wp-statistic-mce-desc{color:#b1b1b1 !important;margin-left:82px !important}html[dir="rtl"] .wp-statistic-mce-desc{text-align:right !important;margin:0 82px 0px 0px !important}.wps-gutenberg-chart-js{height:350px}.wps_loading_box{width:100%;text-align:center;min-height:65px;padding-top:15px}.wps-more span,.wps-refresh span{transition:transform .6s ease-in-out;-webkit-transition:-webkit-transform .6s ease-in-out}.wps-more:hover span,.wps-refresh:hover span{color:#00a0d2}.wps-refresh:hover span{transform:rotate(360deg);-webkit-transform:rotate(360deg);color:#00a0d2}.button-link.wps-more,.button-link.wps-refresh{text-decoration:none !important}.wps-postbox-full{width:100%;float:left;margin-right:20px}#wps-big-postbox{width:100%;direction:ltr;margin-top:5px}.log-url{direction:ltr;float:left;font-size:10px;margin:0 0 0 2px;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}#wp_statistics_editor_meta_box,#wp-statistics-browsers-widget,#wp-statistics-countries-widget,#wp-statistics-hitsmap-widget,#wp-statistics-hits-widget,#wp-statistics-pages-widget,#wp-statistics-recent-widget,#wp-statistics-referring-widget,#wp-statistics-search-widget,#wp-statistics-summary-widget,#wp-statistics-words-widget,#wp-statistics-top-visitors-widget,#wps_hits_postbox,#wps_top_visitors_postbox,#wps_search_postbox,#wps_words_postbox,#wps_recent_postbox,#wps_map_postbox,#wps_pages_postbox,#wps_summary_postbox,#wps_browsers_postbox,#wps_referring_postbox,#wps_countries_postbox,#wps_words_postbox{overflow:hidden}#time_zone a{font-size:11px;text-decoration:none}#about-links{margin:0 0 10px}#about-links p{display:inline;font-size:12px;margin:0 2px;font-style:italic}.left-div{float:left}.right-div{float:right}#donate-text{float:left}#donate-button{float:right;margin:-2px 0 0 0}#donate-button a{height:23px;line-height:22px}.wp-statistics-sub-fullwidth{width:100%}.wp-statistics-responsive-table{overflow-x:auto}.wps-postbox-veronalabs{margin:18px 0 0 0}.wps-postbox-veronalabs img{width:116px}.wps-btn-group{text-align:center;margin:25px auto}.wps-btn-group .btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wps-btn-group .btn:focus,.wps-btn-group .btn:active:focus,.wps-btn-group .btn.active:focus,.wps-btn-group .btn.focus,.wps-btn-group .btn:active.focus,.wps-btn-group .btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.wps-btn-group .btn:hover,.wps-btn-group .btn:focus,.wps-btn-group .btn.focus{color:#333333;text-decoration:none}.wps-btn-group .btn:active,.wps-btn-group .btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.wps-btn-group .btn.disabled,.wps-btn-group .btn[disabled],.wps-btn-group fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);opacity:0.65;-webkit-box-shadow:none;box-shadow:none}.wps-btn-group a.btn.disabled,.wps-btn-group fieldset[disabled] a.btn{pointer-events:none}.wps-btn-group .btn-default{color:#333333;background-color:#ffffff;border-color:#e0e0e0}.wps-btn-group .btn-default:focus,.wps-btn-group .btn-default.focus{color:#333333;background-color:#e6e6e6;border-color:#8c8c8c}.wps-btn-group .btn-default:hover{color:#333333;background-color:#e6e6e6;border-color:#adadad}.wps-btn-group .btn-default:active,.wps-btn-group .btn-default.active,.wps-btn-group .open>.dropdown-toggle.btn-default{color:#333333;background-color:#e6e6e6;background-image:none;border-color:#adadad}.wps-btn-group .btn-default:active:hover,.wps-btn-group .btn-default.active:hover,.wps-btn-group .open>.dropdown-toggle.btn-default:hover,.wps-btn-group .btn-default:active:focus,.wps-btn-group .btn-default.active:focus,.wps-btn-group .open>.dropdown-toggle.btn-default:focus,.wps-btn-group .btn-default:active.focus,.wps-btn-group .btn-default.active.focus,.wps-btn-group .open>.dropdown-toggle.btn-default.focus{color:#333333;background-color:#d4d4d4;border-color:#8c8c8c}.wps-btn-group .btn-default.disabled:hover,.wps-btn-group .btn-default[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-default:hover,.wps-btn-group .btn-default.disabled:focus,.wps-btn-group .btn-default[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-default:focus,.wps-btn-group .btn-default.disabled.focus,.wps-btn-group .btn-default[disabled].focus,.wps-btn-group fieldset[disabled] .btn-default.focus{background-color:#ffffff;border-color:#cccccc}.wps-btn-group .btn-default .badge{color:#ffffff;background-color:#333333}.wps-btn-group .btn-primary{color:#ffffff;background-color:#00a0d2;border-color:#00A0D2}.wps-btn-group .btn-primary:focus,.wps-btn-group .btn-primary.focus{color:#ffffff;background-color:#286090;border-color:#122b40}.wps-btn-group .btn-primary:hover{color:#ffffff;background-color:#286090;border-color:#204d74}.wps-btn-group .btn-primary:active,.wps-btn-group .btn-primary.active,.wps-btn-group .open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#286090;background-image:none;border-color:#204d74}.wps-btn-group .btn-primary:active:hover,.wps-btn-group .btn-primary.active:hover,.wps-btn-group .open>.dropdown-toggle.btn-primary:hover,.wps-btn-group .btn-primary:active:focus,.wps-btn-group .btn-primary.active:focus,.wps-btn-group .open>.dropdown-toggle.btn-primary:focus,.wps-btn-group .btn-primary:active.focus,.wps-btn-group .btn-primary.active.focus,.wps-btn-group .open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#204d74;border-color:#122b40}.wps-btn-group .btn-primary.disabled:hover,.wps-btn-group .btn-primary[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-primary:hover,.wps-btn-group .btn-primary.disabled:focus,.wps-btn-group .btn-primary[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-primary:focus,.wps-btn-group .btn-primary.disabled.focus,.wps-btn-group .btn-primary[disabled].focus,.wps-btn-group fieldset[disabled] .btn-primary.focus{background-color:#337ab7;border-color:#2e6da4}.wps-btn-group .btn-primary .badge{color:#337ab7;background-color:#ffffff}.wps-btn-group .btn-danger{color:#ffffff;background-color:#d9534f;border-color:#d43f3a}.wps-btn-group .btn-danger:focus,.wps-btn-group .btn-danger.focus{color:#ffffff;background-color:#c9302c;border-color:#761c19}.wps-btn-group .btn-danger:hover{color:#ffffff;background-color:#c9302c;border-color:#ac2925}.wps-btn-group .btn-danger:active,.wps-btn-group .btn-danger.active,.wps-btn-group .open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#c9302c;background-image:none;border-color:#ac2925}.wps-btn-group .btn-danger:active:hover,.wps-btn-group .btn-danger.active:hover,.wps-btn-group .open>.dropdown-toggle.btn-danger:hover,.wps-btn-group .btn-danger:active:focus,.wps-btn-group .btn-danger.active:focus,.wps-btn-group .open>.dropdown-toggle.btn-danger:focus,.wps-btn-group .btn-danger:active.focus,.wps-btn-group .btn-danger.active.focus,.wps-btn-group .open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#ac2925;border-color:#761c19}.wps-btn-group .btn-danger.disabled:hover,.wps-btn-group .btn-danger[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-danger:hover,.wps-btn-group .btn-danger.disabled:focus,.wps-btn-group .btn-danger[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-danger:focus,.wps-btn-group .btn-danger.disabled.focus,.wps-btn-group .btn-danger[disabled].focus,.wps-btn-group fieldset[disabled] .btn-danger.focus{background-color:#d9534f;border-color:#d43f3a}.wps-btn-group .btn-danger .badge{color:#d9534f;background-color:#ffffff}.wps-btn-group .btn-link{font-weight:400;color:#337ab7;border-radius:0}.wps-btn-group .btn-link,.wps-btn-group .btn-link:active,.wps-btn-group .btn-link.active,.wps-btn-group .btn-link[disabled],.wps-btn-group fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.wps-btn-group .btn-link,.wps-btn-group .btn-link:hover,.wps-btn-group .btn-link:focus,.wps-btn-group .btn-link:active{border-color:transparent}.wps-btn-group .btn-link:hover,.wps-btn-group .btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.wps-btn-group .btn-link[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-link:hover,.wps-btn-group .btn-link[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-link:focus{color:#777777;text-decoration:none}.wps-btn-group .btn-block{display:block;width:100%}.wps-btn-group .btn-block+.btn-block{margin-top:5px}.wps-btn-group input[type="submit"].btn-block,.wps-btn-group input[type="reset"].btn-block,.wps-btn-group input[type="button"].btn-block{width:100%}.wps-btn-group .btn-group,.wps-btn-group .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.wps-btn-group .btn-group>.btn,.wps-btn-group .btn-group-vertical>.btn{position:relative;float:left}.wps-btn-group .btn-group>.btn:hover,.wps-btn-group .btn-group-vertical>.btn:hover,.wps-btn-group .btn-group>.btn:focus,.wps-btn-group .btn-group-vertical>.btn:focus,.wps-btn-group .btn-group>.btn:active,.wps-btn-group .btn-group-vertical>.btn:active,.wps-btn-group .btn-group>.btn.active,.wps-btn-group .btn-group-vertical>.btn.active{z-index:2}.wps-btn-group .btn-group .btn+.btn,.wps-btn-group .btn-group .btn+.btn-group,.wps-btn-group .btn-group .btn-group+.btn,.wps-btn-group .btn-group .btn-group+.btn-group{margin-left:-1px}.wps-btn-group .btn-toolbar{margin-left:-5px}.wps-btn-group .btn-toolbar .btn,.wps-btn-group .btn-toolbar .btn-group,.wps-btn-group .btn-toolbar .input-group{float:left}.wps-btn-group .btn-toolbar>.btn,.wps-btn-group .btn-toolbar>.btn-group,.wps-btn-group .btn-toolbar>.input-group{margin-left:5px}.wps-btn-group .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.wps-btn-group .btn-group>.btn:first-child{margin-left:0}.wps-btn-group .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.wps-btn-group .btn-group>.btn:last-child:not(:first-child),.wps-btn-group .btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group>.btn-group{float:left}.wps-btn-group .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.wps-btn-group .btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.wps-btn-group .btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.wps-btn-group .btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group .dropdown-toggle:active,.wps-btn-group .btn-group.open .dropdown-toggle{outline:0}.wps-btn-group .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.wps-btn-group .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.wps-btn-group .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.wps-btn-group .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.wps-btn-group .btn .caret{margin-left:0}.wps-btn-group .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.wps-btn-group .dropup .btn-lg .caret{border-width:0 5px 5px}.wps-btn-group .btn-group-vertical>.btn,.wps-btn-group .btn-group-vertical>.btn-group,.wps-btn-group .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.wps-btn-group .btn-group-vertical>.btn-group>.btn{float:none}.wps-btn-group .btn-group-vertical>.btn+.btn,.wps-btn-group .btn-group-vertical>.btn+.btn-group,.wps-btn-group .btn-group-vertical>.btn-group+.btn,.wps-btn-group .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.wps-btn-group .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.wps-btn-group .btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.wps-btn-group .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.wps-btn-group .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.wps-btn-group .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.wps-btn-group .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.wps-btn-group .btn-group-justified>.btn,.wps-btn-group .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.wps-btn-group .btn-group-justified>.btn-group .btn{width:100%}.wps-btn-group .btn-group-justified>.btn-group .dropdown-menu{left:auto}.wps-btn-group [data-toggle="buttons"]>.btn input[type="radio"],.wps-btn-group [data-toggle="buttons"]>.btn-group>.btn input[type="radio"],.wps-btn-group [data-toggle="buttons"]>.btn input[type="checkbox"],.wps-btn-group [data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.wps-btn-group .clearfix:before,.wps-btn-group .clearfix:after,.wps-btn-group .btn-toolbar:before,.wps-btn-group .btn-toolbar:after,.wps-btn-group .btn-group-vertical>.btn-group:before,.wps-btn-group .btn-group-vertical>.btn-group:after{display:table;content:" "}.wps-btn-group .clearfix:after,.wps-btn-group .btn-toolbar:after,.wps-btn-group .btn-group-vertical>.btn-group:after{clear:both}.wps-btn-group .center-block{display:block;margin-right:auto;margin-left:auto}.wps-btn-group .pull-right{float:right !important}.wps-btn-group .pull-left{float:left !important}.wps-btn-group .hide{display:none !important}div[data-chart-date-picker]{text-align:center;margin-bottom:20px;transition:1s all}div[data-chart-date-picker] input{margin:0px 8px;border-radius:5px;box-shadow:none;padding:5px}div[data-chart-date-picker] input[type=submit]{vertical-align:2px}.wps-ph-item{position:relative;display:flex;flex-wrap:wrap;overflow:hidden;background-color:#fff;direction:ltr}.wps-ph-item,.wps-ph-item *,.wps-ph-item ::after,.wps-ph-item ::before{box-sizing:border-box}.wps-ph-item::before{content:" ";position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;animation:phAnimation 1s linear infinite;background:linear-gradient(to right, rgba(255,255,255,0) 46%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 54%) 50% 50%}.wps-ph-item>*{flex:1 1 auto;display:flex;flex-flow:column;padding-right:10px;padding-left:10px}.wps-ph-row{display:flex;flex-wrap:wrap;margin-bottom:7.5px}.wps-ph-row div{height:15px;margin-bottom:7.5px;background-color:#dee4ea}.wps-ph-row .big,.wps-ph-row.big div{height:20px;margin-bottom:15px}.wps-ph-row .empty{background-color:rgba(255,255,255,0)}.wps-ph-col-2{flex:0 0 16.66667%}.wps-ph-col-4{flex:0 0 33.33333%}.wps-ph-col-6{flex:0 0 50%}.wps-ph-col-8{flex:0 0 66.66667%}.wps-ph-col-10{flex:0 0 83.33333%}.wps-ph-col-12{flex:0 0 100%}.wps-ph-avatar{position:relative;width:100%;min-width:60px;background-color:#dee4ea;margin-bottom:15px;border-radius:50%;overflow:hidden}.wps-ph-avatar::before{content:" ";display:block;padding-top:100%}.wps-ph-picture{width:100%;height:120px;background-color:#dee4ea;margin-bottom:15px}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}.wps-text-placeholder{width:90px;height:25px;margin:0px auto}.wps-badge{display:inline-block;min-width:8px;padding:3px 7px;font-size:12px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:1px;background-color:#DC3545;border-radius:10px}#post-stats{border:none}#th-colspan{text-align:center}#th-colspan span{color:#459605 !important;font-size:30px}#last-visitor tr{text-align:center}#last-visitor tr:first-child{background:none repeat scroll 0 0 #EEEEEE;font-weight:bold;text-align:center}#last-search tr{text-align:center}#last-search tr:first-child{background:none repeat scroll 0 0 #EEEEEE;font-weight:bold;text-align:center}table.wps-table-fixed{table-layout:fixed;width:100%}.wps-report-table tr{text-align:left}.wps-report-table tr:first-child{background:none repeat scroll 0 0 #EEEEEE;font-weight:bold;text-align:center}.th-center{text-align:center !important}.td-align{text-align:left}.td-url{color:#009936 !important;direction:ltr;font-size:10px !important;text-align:left;white-space:nowrap}.log-item{border-bottom:1px solid #efeeee;border-top:1px solid #FFFFFF;min-height:46px;padding:3px 7px}.log-item:hover{background:none repeat scroll 0 0 #f7f7f7}.show-map{float:left}.log-referred{float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto}.log-page-title{float:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.log-ip{direction:ltr;float:right;font-size:10px;margin-bottom:5px;white-space:pre;overflow:hidden;text-overflow:ellipsis;text-align:right}.log-tools{float:left;margin:0 2px}.log-agent{float:left}.table-stats tr,.table-stats td{border-bottom:1px solid #efeeee;background-color:white;transition:1s all}.table-stats tr:last-child td{border-bottom:0}.table-stats tr:hover:not(:first-child) td{background-color:rgba(241,241,241,0.65) !important}.table-stats tr:first-child td{border:0 none;text-align:left}.rtl .table-stats.left-align tr,.rtl .table-stats.left-align td{text-align:left !important}.rtl .table-stats tr,.rtl .table-stats td{text-align:right !important}.rtl .table-stats .log-tools{float:right}.rtl .table-stats .th-center{text-align:center !important}.table-stats{border:0 none !important}#visits-log{direction:ltr;height:290px;width:100%}#search-engine-log{direction:ltr}#platform-log{direction:ltr}#visits-stats{direction:ltr}#exclusion-stats{direction:ltr}#search-stats{direction:ltr}#page-stats{direction:ltr}.wp-statistics-settings .widefat{float:left}.wp-statistics-settings .note{color:#FF0000;font-size:11px !important;font-weight:bold}.wp-statistics-settings .postbox-container{margin-top:51px}.wp-statistics-settings ul.tabs{margin:0;padding:0;list-style:none}.wp-statistics-settings ul.tabs li{background:none;color:#222;display:inline-block;padding:10px 8px;cursor:pointer;border:1px solid #f1f1f1;margin:0}.wp-statistics-settings ul.tabs li.current{background:#ffffff;color:#222;border-right-color:#e5e5e5;border-left-color:#e5e5e5;border-bottom-color:#ffffff;border-top-color:#e5e5e5;padding-bottom:11px}.wp-statistics-settings .tab-content{display:none;margin:-1px 0 0 0}.wp-statistics-settings .tab-content.current{display:inherit}.wp-statistics-settings #update_geoip{margin-left:5px;margin-top:-5px;line-height:19px;font-size:12px;height:25px}@media only screen and (max-width: 1327px){.wp-statistics-settings ul.tabs li{padding:10px 5px}}.wp-statistics-plugins .widefat>*{float:left}.wp-statistics-plugins .widefat .plugin-card{position:relative}.wp-statistics-plugins .widefat .plugin-card .desc,.wp-statistics-plugins .widefat .plugin-card .name{margin-right:0}.wp-statistics-plugins .widefat .plugin-card-bottom{float:initial}.wp-statistics-plugins .widefat .column-downloaded p{margin:2px 0 0 0}.wp-statistics-plugins .column-price{display:inline;margin:0 8px;font-size:15px;color:#589616}.wp-statistics-plugins .plugin-card .cover-ribbon{height:115px;width:115px;position:absolute;left:-8px;top:-7px;overflow:hidden}.wp-statistics-plugins .plugin-card .cover-ribbon .cover-ribbon-inside{background:#EA4335;color:#FFF;transform:rotate(-45deg);position:absolute;left:-35px;top:16px;padding:10px;min-width:127px;text-align:center;z-index:9}.wp-statistics-plugins .plugin-card .cover-ribbon .cover-ribbon-inside:before{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:10px solid #992C23;position:absolute;left:-5px;bottom:0;content:"";top:34px;transform:rotate(-45deg)}.wp-statistics-plugins .plugin-card .cover-ribbon .cover-ribbon-inside:after{width:0;height:0;border-top:7px solid transparent;border-left:7px solid #992C23;border-bottom:7px solid transparent;position:absolute;top:33px;bottom:0;right:4px;content:"";transform:rotate(-45deg)}.wp-statistics-welcome .wp-badge{background-image:url("../images/logo-250-white.png");background-color:#1aabec}.wp-statistics-welcome .nav-tab.donate{background-color:#459605;color:#ffffff}.wp-statistics-welcome .tab-content{display:none}.wp-statistics-welcome .tab-content.current{display:block}.wp-statistics-welcome ul li{margin:0 31px}.wp-statistics-welcome ul{list-style-type:square;line-height:28px;margin:0 0 20px 0}.wp-statistics-welcome img{width:auto}.wp-statistics-welcome .center-section{padding:41px 0 60px;clear:both;text-align:center}.wp-statistics-welcome .normal-section .left{float:left;width:50%;text-align:left}.wp-statistics-welcome .normal-section .right{float:right;width:50%}.wp-statistics-welcome .normal-section{float:left;width:100%;padding:36px 0 44px;border-bottom:1px solid #dedede}.wp-statistics-welcome .normal-section h2{text-align:left}.wp-statistics-welcome .text-center{text-align:center !important}.wp-statistics-welcome .content-padding{padding:0 43px}.wp-statistics-welcome .addons-item img{width:120px;border-radius:4px}.wp-statistics-welcome .addons-item a{display:inline-block;margin:0 5px}.wp-statistics-welcome .center-section.logo img{width:150px}.wp-statistics-welcome .center-section.logo>a{display:inline-block}.wp-statistics-welcome .plugin-icon{width:128px;height:128px}.wp-statistics-welcome .plugin-card h3{margin:0 0 12px;font-size:18px;line-height:1.3}.wp-statistics-welcome .plugin-card{text-align:left}.wp-statistics-welcome .about-text img{width:90px}.wps-return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:600}.wps-return-to-dashboard a{text-decoration:none;padding:0 5px}#wps-postbox-container-1{width:30%;float:left}#wps-postbox-container-2{margin:0 0 0 1%;width:68%;float:right}@media screen and (max-width: 998px){#wps-postbox-container-1{width:35%}#wps-postbox-container-2{margin:0 0 0 1%;width:63%}}@media screen and (max-width: 758px){#wps-postbox-container-1{width:100%}#wps-postbox-container-2{margin:0 0 0 1%;width:100%}}@media screen and (max-width: 524px){#wps-postbox-container-1{width:100%}#wps-postbox-container-2{margin:0 0 0 1%;width:100%}}#wps-postbox-container-1 a,#wps-postbox-container-2 a,#wps-big-postbox a{text-decoration:none}body.toplevel_page_wps_overview_page fieldset.columns-prefs,body.toplevel_page_wps_overview_page label[for=wp-statistics-about-widget-hide]{display:none !important}#wps_overview_ads_postbox .inside{padding:0 !important;margin:0;line-height:0}#wps_overview_ads_postbox .inside a img{width:100%;height:auto}#wps_overview_ads_postbox .inside a:focus{box-shadow:none}#wps_overview_ads_postbox .inside .close-overview-ads{position:absolute;right:0;margin:15px 20px;opacity:0;transition:1s all}#wps_overview_ads_postbox .inside .close-overview-ads span.dashicons{font-size:21px;color:#72777c;cursor:pointer}#wps_overview_ads_postbox .inside:hover .close-overview-ads{opacity:1}#wps_overview_ads_postbox{padding:0}.toplevel_page_wps_overview_page #screen-meta-links{margin-bottom:-30px}.wps-equal-postbox{display:flex}.wps-postbox-half{width:calc((100% / 2) - 20px);margin-right:10px}.wps-postbox-half .title-center{text-align:center;margin:25px auto;color:#828282}.wps-postbox-half .inside{padding:5px 10px !important;margin:5px 0 5px 0 !important}.wps-title-group{margin:15px 0 20px 0;border-bottom:1px solid #d2d2d2;padding-bottom:13px;width:98%}body[class*="wps_visitors_page"] #TB_closeWindowButton:focus .tb-close-icon{-webkit-box-shadow:none !important;box-shadow:none !important}body[class*="wps_visitors_page"] #visitors-filter{cursor:pointer;color:#666;transition:0.5s all;margin-top:5px}body[class*="wps_visitors_page"] #visitors-filter .dashicons{vertical-align:-5px}body[class*="wps_visitors_page"] #visitors-filter:hover{color:#d82424}body[class*="wps_visitors_page"] .select2-dropdown{z-index:9999999999 !important}body[class*="wps_visitors_page"] .select2-container{width:100% !important}body[class*="wps_visitors_page"] .tbl-page-column{width:220px}body[class*="wps_visitors_page"] .tbl-page-column span.txt-overflow{white-space:nowrap;overflow:hidden;width:210px !important;display:block}#wps-visitors-filter-form{padding:10px 5px}#wps-visitors-filter-form table.widefat{border:0 !important;box-shadow:none !important}html[dir=rtl] body[class*="wps_visitors_page"] #TB_ajaxContent{text-align:right !important}form#wp-statistics-select-pages{margin-bottom:-15px;margin-top:6px}form#wp-statistics-select-pages .select-title{vertical-align:-2px}form#wp-statistics-select-pages select[name=ID]{width:300px;margin:0 8px}form#wp-statistics-select-pages input[type=submit]{margin:0 5px;vertical-align:-2px}form#wp-statistics-select-pages .submit-form{padding:0 5px;vertical-align:-3px}.wps-about-logo{max-width:170px;margin:0 0 9px 0}.wps-summary-stats{background:none repeat scroll 0 0 rgba(0,0,0,0);border:1px none;margin:0 0 10px}.wps-summary-stats tr:first-child th{border-top:0 none}.wps-summary-stats span{color:#21759B !important;font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:21px}.wps-engine-logo{vertical-align:-3px}#wp-statistics-visitors-map{direction:ltr;height:300px;width:100%}.map-html-marker{max-height:170px;width:200px}.map-html-marker p{border-bottom:1px dashed #EFEFEF;font-size:10px;margin:2px 0;padding:3px 0;text-align:left}.map-html-marker p:last-child{border-bottom:0 none}.jqvmap-label{z-index:10000}.jqvmap-zoomin,.jqvmap-zoomout{background:#717171 !important}.wps-referring-widget-ip{display:block;padding:0 15px;font-size:10px;color:#a2a2a2;margin-left:6px}.wps-wrap__main{padding:20px}.wps-wrap .postbox{padding:0}.wps-wrap .postbox .postbox-header{padding:7px 15px}.wps-wrap .postbox .postbox-header h2{padding:0}.wps-wrap .postbox .inside{padding:15px}.wps-wrap .postbox table tr:first-child th{padding:0}.wps-wrap .postbox table tr:first-child th h3{margin-top:0}.toplevel_page_wps_overview_page .wps-wrap,.statistics_page_wps_hits_page .wps-wrap,.statistics_page_wps_online_page .wps-wrap,.statistics_page_wps_online_page .wps-wrap,.statistics_page_wps_referrers_page .wps-wrap,.statistics_page_wps_words_page .wps-wrap,.statistics_page_wps_visitors_page .wps-wrap,.statistics_page_wps_searches_page .wps-wrap,.statistics_page_wps_pages_page .wps-wrap,.statistics_page_wps_categories_page .wps-wrap,.statistics_page_wps_tags_page .wps-wrap,.statistics_page_wps_authors_page .wps-wrap,.statistics_page_wps_browser_page .wps-wrap,.statistics_page_wps_platform_page .wps-wrap,.statistics_page_wps_top-visitors_page .wps-wrap,.statistics_page_wps_optimization_page .wps-wrap,.statistics_page_wps_settings_page .wps-wrap,.statistics_page_wps_plugins_page .wps-wrap{margin:0 !important}.toplevel_page_wps_overview_page #wpcontent,.statistics_page_wps_hits_page #wpcontent,.statistics_page_wps_online_page #wpcontent,.statistics_page_wps_visitors_page #wpcontent,.statistics_page_wps_referrers_page #wpcontent,.statistics_page_wps_words_page #wpcontent,.statistics_page_wps_searches_page #wpcontent,.statistics_page_wps_pages_page #wpcontent,.statistics_page_wps_categories_page #wpcontent,.statistics_page_wps_tags_page #wpcontent,.statistics_page_wps_authors_page #wpcontent,.statistics_page_wps_browser_page #wpcontent,.statistics_page_wps_platform_page #wpcontent,.statistics_page_wps_top-visitors_page #wpcontent,.statistics_page_wps_optimization_page #wpcontent,.statistics_page_wps_settings_page #wpcontent,.statistics_page_wps_plugins_page #wpcontent{padding:0 !important}.toplevel_page_wps_overview_page #wpbody-content>.notice,.statistics_page_wps_hits_page #wpbody-content>.notice,.statistics_page_wps_online_page #wpbody-content>.notice,.statistics_page_wps_visitors_page #wpbody-content>.notice,.statistics_page_wps_referrers_page #wpbody-content>.notice,.statistics_page_wps_words_page #wpbody-content>.notice,.statistics_page_wps_searches_page #wpbody-content>.notice,.statistics_page_wps_pages_page #wpbody-content>.notice,.statistics_page_wps_categories_page #wpbody-content>.notice,.statistics_page_wps_tags_page #wpbody-content>.notice,.statistics_page_wps_authors_page #wpbody-content>.notice,.statistics_page_wps_browser_page #wpbody-content>.notice,.statistics_page_wps_platform_page #wpbody-content>.notice,.statistics_page_wps_top-visitors_page #wpbody-content>.notice,.statistics_page_wps_optimization_page #wpbody-content>.notice,.statistics_page_wps_settings_page #wpbody-content>.notice,.statistics_page_wps_plugins_page #wpbody-content>.notice{margin:20px !important}.statistics_page_wps_plugins_page .wps-wrap .notice{margin:20px !important}.wps-wrap__main .notice{margin:20px 0 !important}.wps-header-banner{width:100%;max-width:100%;background:url("../images/page-header.svg") center center/100% no-repeat;min-height:150px;display:flex;justify-content:flex-end;align-items:center;padding:0 0 20px}@media screen and (max-width: 1300px){.wps-header-banner{background:url("../images/page-header.svg") 5% center/cover no-repeat;min-height:113px;display:flex;justify-content:flex-end;align-items:center;padding:20px}}#screen-meta-links+br+.wps-wrap .wps-header-banner{transform:translateY(-31px);z-index:-1;position:relative}#screen-meta-links+br+.wps-wrap .wps-wrap__main{transform:translateY(-31px)}.wps-wrap input[type="text"].small-text{padding:12px 8px !important;min-width:80px}.wps-wrap .notice:not(.hidden){padding:2px 14px;border-radius:4px;color:#242A31;font-weight:normal;font-size:14px;line-height:24px;border:1px solid #D6D6D6;box-sizing:border-box;border-left:6px solid #F2BB08;box-shadow:0px 2px 4px rgba(0,0,0,0.08);margin:10px 0 24px;display:flex;align-items:flex-start}.wps-wrap .notice::before{content:'';min-width:20px;min-height:20px;display:inline-block;vertical-align:middle;margin-right:10px;margin-top:10px;background:center center/auto no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V12.5C9 12.2239 9.22386 12 9.5 12H10.5C10.7761 12 11 12.2239 11 12.5V13.5ZM10.53 10C10.6572 10.0009 10.7647 9.90624 10.78 9.78L11.18 6.56C11.1972 6.41735 11.1523 6.27417 11.0566 6.16698C10.9609 6.05979 10.8237 5.99896 10.68 6H9.32C9.17631 5.99896 9.03912 6.05979 8.94342 6.16698C8.84771 6.27417 8.80275 6.41735 8.82 6.56L9.22 9.78C9.23526 9.90624 9.34284 10.0009 9.47 10H10.53Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-error{border-left-color:#FF0000}.wps-wrap .notice-error::before{min-width:23px;margin-right:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-info{border-left-color:#0090AD}.wps-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-success{border-left-color:#22BB3F}.wps-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice{border-left:0;border-right:6px solid #F2BB08}.rtl .wps-wrap .notice::before{margin-right:0;margin-left:10px}.rtl .wps-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice-danger{border-right-color:#FF0000}.rtl .wps-wrap .notice-danger::before{margin-right:0;margin-left:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice-info{border-right-color:#0090AD}.rtl .wps-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice-success{border-right-color:#22BB3F}.rtl .wps-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wpsms-header-banner{justify-content:flex-start;align-items:center}.wpsms-header-banner .license-status{min-width:200px;padding:15px 17px;width:auto;background:#fff;box-shadow:0px 2px 4px rgba(0,0,0,0.08);border-radius:4px}.wpsms-header-banner .license-status h3{margin:0 0 5px;font-weight:600;font-size:14px;line-height:24px;letter-spacing:0.02em;text-transform:uppercase}.wpsms-header-banner .license-status span,.wpsms-header-banner .license-status a{font-weight:normal;font-size:14px;line-height:24px;color:#000;text-decoration:none;transition:0.2s;display:flex;align-items:center}.wpsms-header-banner .license-status a:hover{color:#404BF2}.wpsms-header-banner .license-status--free a::after{content:'';width:14px;height:10px;margin-left:12px;background:center center/100% no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.333008 5.33335V4.66668C0.333008 4.48259 0.482246 4.33335 0.666341 4.33335H11.4463L8.47968 1.37335C8.41657 1.31076 8.38107 1.22556 8.38107 1.13668C8.38107 1.0478 8.41657 0.962602 8.47968 0.900013L8.95301 0.433347C9.0156 0.370243 9.1008 0.334747 9.18967 0.334747C9.27855 0.334747 9.36375 0.370243 9.42634 0.433347L13.5197 4.52001C13.6135 4.61369 13.6662 4.74078 13.6663 4.87335V5.12668C13.6648 5.25896 13.6123 5.38553 13.5197 5.48001L9.42634 9.56668C9.36375 9.62978 9.27855 9.66528 9.18967 9.66528C9.1008 9.66528 9.0156 9.62978 8.95301 9.56668L8.47968 9.09335C8.41697 9.03191 8.38163 8.94781 8.38163 8.86001C8.38163 8.77222 8.41697 8.68812 8.47968 8.62668L11.4463 5.66668H0.666341C0.482246 5.66668 0.333008 5.51744 0.333008 5.33335Z' fill='black'/%3E%3C/svg%3E%0A")}.wpsms-header-banner .license-status--invalid span::before,.wpsms-header-banner .license-status--valid span::before{content:'';width:19px;height:16px;margin-right:5px;background:center center/19px 16px no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.wpsms-header-banner .license-status--valid span::before{content:'';width:19px;height:19px;margin-right:5px;background:center center/100% no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.0142 8.0389C16.7723 8.66066 16.7723 9.35048 17.0142 9.97224L17.1559 10.3806C17.6721 11.7288 17.0469 13.2456 15.7304 13.8389L15.3553 14.0056C14.74 14.2707 14.2422 14.7505 13.9549 15.3556L13.7881 15.7306C13.1946 17.0467 11.6774 17.6716 10.3287 17.1556L9.94523 17.0139C9.32327 16.7721 8.63323 16.7721 8.01127 17.0139L7.62781 17.1556C6.27912 17.6716 4.76187 17.0467 4.16836 15.7306L4.00164 15.3556C3.73645 14.7405 3.25645 14.2429 2.6512 13.9556L2.27608 13.7889C0.959569 13.1956 0.334388 11.6788 0.850617 10.3306L0.992329 9.94724C1.23424 9.32548 1.23424 8.63566 0.992329 8.0139L0.850617 7.63057C0.334388 6.28232 0.959569 4.76556 2.27608 4.17224L2.6512 4.00557C3.24775 3.73062 3.72659 3.25192 4.00164 2.65557L4.19336 2.28057C4.78753 0.951276 6.32204 0.323725 7.67783 0.85557L8.06128 0.997236C8.68324 1.23907 9.37328 1.23907 9.99524 0.997236L10.3787 0.85557C11.7274 0.339508 13.2446 0.964487 13.8382 2.28057L14.0049 2.65557C14.2799 3.25192 14.7588 3.73062 15.3553 4.00557L15.7304 4.19724C17.0469 4.79056 17.6721 6.30732 17.1559 7.65557L17.0142 8.0389ZM7.94444 11.7972L12.6293 7.1139C12.7828 6.95295 12.7828 6.69986 12.6293 6.5389L12.1875 6.09724C12.0254 5.93843 11.766 5.93843 11.604 6.09724L7.65268 10.0472L6.40228 8.80557C6.32664 8.72501 6.22104 8.6793 6.11052 8.6793C5.99999 8.6793 5.89439 8.72501 5.81875 8.80557L5.37694 9.24724C5.29804 9.32547 5.25366 9.43197 5.25366 9.54307C5.25366 9.65417 5.29804 9.76067 5.37694 9.8389L7.36092 11.7972C7.43656 11.8778 7.54216 11.9235 7.65268 11.9235C7.76321 11.9235 7.86881 11.8778 7.94444 11.7972Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wpsms-header-banner .license-status span::before{margin-left:5px;margin-right:0}.wps-wrap .postbox{background:#FFFFFF;border:0;box-shadow:0px 2px 4px rgba(0,0,0,0.08);border-radius:2px}.wps-wrap .postbox-header{border-bottom:1px solid #E7E7E7}.wps-wrap .thickbox.button,.wps-wrap .button{background:#fff;border:1px solid #D6D6D6;box-sizing:border-box;box-shadow:0px 2px 4px rgba(0,0,0,0.05);border-radius:2px;color:#000;transition:0.2s;margin:10px 0}.wps-wrap .wpsms-button-group{margin-top:20px}.wps-wrap .button:hover{background:#fff;border-color:#404BF2;color:#000}.wps-wrap .button,.wps-wrap .thickbox.button{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 24px;border-radius:2px;transition:0.2s}.rtl .wps-wrap .button{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 16px;border-radius:2px;transition:0.2s}.wps-wrap .button:disabled{background-color:#808080 !important}.wps-wrap .button-primary{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 24px;border-radius:2px;transition:0.2s;background:#404BF2;border-color:#404BF2;color:#fff !important;margin:10px 0}.wps-wrap textarea{max-width:calc(100% - 45px)}.wps-wrap .button-primary:hover{background-color:#1E27BF;border-color:#1E27BF}.wps-wrap .button:focus{background-color:#fff;border-color:#1E27BF;color:#000 !important;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent}.wps-wrap .button-primary:focus{background-color:#1E27BF;border-color:#1E27BF;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent;color:#fff !important}.wps-wrap input[type="checkbox"]:focus{box-shadow:none !important;outline:unset !important}.wps-wrap input[type="text"],.wps-wrap input[type="number"],.chosen-container-multi .chosen-choices,.wps-wrap select{padding:12px 16px !important;font-weight:normal;font-size:14px;line-height:20px;border:1px solid #5B5B5B !important;box-sizing:border-box;border-radius:2px}.wps-wrap select{padding:12px 24px 12px 8px !important}.rtl .wps-wrap select{padding:12px 8px 12px 24px !important}.wps-wrap input[type="text"]:focus,.wps-wrap input[type="number"]:focus,.wps-wrap select:focus{border-color:#404BF2;box-shadow:0 0 0 1px #404BF2;outline:2px solid transparent}.wps-wrap input[type="text"]::placeholder,.wps-wrap input[type="number"]::placeholder,.wps-wrap select::placeholder{font-weight:normal;font-size:14px;line-height:20px;color:#000000}.wps-wrap input[type="checkbox"],.wps-wrap input[type="radio"]{background:#fff;width:24px;height:24px;border-radius:2px;border:1px solid #5B5B5B !important;transition:0.2s}.wps-wrap input[type="radio"]{border-radius:50%;transition:0.2s}.wps-wrap input[type="radio"]:checked{background-color:#404AF2 !important;border-color:#404AF2 !important}.wps-wrap input[type="radio"]:checked::before{background-color:#fff !important;transition:0.2s;width:10px;height:10px;margin:.38rem !important}.wps-wrap input[type="checkbox"]:hover{border-color:#404BF2 !important}.wps-wrap input[type="checkbox"]:checked{background:#404BF2;border-color:#404BF2 !important}.wps-wrap input[type="checkbox"]:checked::before{margin:-.07rem 0 0 -.12rem !important;content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E") !important;height:1.5rem !important;width:1.5rem !important}.wps-wrap .btn-danger:hover{background:#c20000 !important;background-color:#c20000;border-color:#990000 !important;color:#fff}.wps-wrap .wps-inline select{padding:12px 24px 12px 16px !important}.wps-wrap .wp-statistics-sub-fullwidth input{padding:6px !important}.wps-wrap .wp-statistics-sub-fullwidth .button-primary{padding:7px 14px !important}.wps-wrap .meta-box-sortables .inside{padding:15px !important}.statistics_page_wps_categories_page .wps-wrap .postbox,.statistics_page_wps_tags_page .wps-wrap .postbox,.statistics_page_wps_authors_page .wps-wrap .postbox,.statistics_page_wps_pages_page .wps-wrap .postbox{padding:10px 3px !important}.statistics_page_wps_optimization_page .wps-wrap .postbox,.statistics_page_wps_settings_page .wps-wrap .postbox,.-d8-a2-d9-85-d8-a7-d8-b1_page_wps_settings_page .wps-wrap .postbox{padding:15px}.wps-wrap .btn-danger{background:rgba(186,0,0,0.74) !important;border-color:rgba(170,0,0,0.77) rgba(153,0,0,0.74) rgba(153,0,0,0.74) !important;box-shadow:0 1px 0 rgba(153,0,0,0.74);color:#fff;text-decoration:none;padding:12px 16px !important;text-shadow:0 -1px 1px rgba(153,0,0,0.74),1px 0 1px rgba(153,0,0,0.74),0 1px 1px rgba(153,0,0,0.74),-1px 0 1px rgba(153,0,0,0.74)}.wps-wrap #wps-plugins-support .button{padding:12px !important;margin-top:8px}.wps-wrap ul.tabs{background-color:#fff;margin-bottom:10px;box-shadow:0px 2px 4px rgba(0,0,0,0.08);padding:0 20px;display:flex}.wps-wrap ul.tabs li{border:0;border-bottom:4px solid transparent !important;padding:20px 8px;margin-right:8px;transition:0.2s;color:#4A4A4A;font-weight:600;font-size:14px;line-height:24px;letter-spacing:0.02em;text-transform:capitalize;word-break:keep-all;white-space:nowrap}.wps-wrap ul.tabs li:hover{color:#000}.wps-wrap ul.tabs li.current{border:0;border-bottom-color:#404BF2 !important;padding:20px 8px;color:#000}@media screen and (max-width: 1460px){.wps-wrap ul.tabs{overflow-x:scroll}}.wp-statistics-settings #update_geoip{padding:5px 15px}.wps-wrap #poststuff .postbox-container{margin-top:0 !important}.wps-widgets-settings-wrap #tab_container,.wps-mini-chart-settings-wrap #tab_container,.wps-rest-api-settings-wrap #tab_container,.wps-realtime-stats-settings-wrap #tab_container{background-color:#fff;padding:15px;box-shadow:0px 2px 4px rgba(0,0,0,0.08)}.wps-widgets-settings-wrap .nav-tab-wrapper,.wps-mini-chart-settings-wrap .nav-tab-wrapper,.wps-rest-api-settings-wrap .nav-tab-wrapper,.wps-realtime-stats-settings-wrap .nav-tab-wrapper{padding-top:0 !important}.wps-rest-api-settings-wrap .nav-tab-wrapper .nav-tab-active,.wps-widgets-settings-wrap .nav-tab-wrapper .nav-tab-active,.wps-mini-chart-settings-wrap .nav-tab-wrapper .nav-tab-active,.wps-realtime-stats-settings-wrap .nav-tab-wrapper .nav-tab-active{background-color:#fff;border-bottom-color:#fff}.wps-widgets-settings-wrap .nav-tab-wrapper,.wps-mini-chart-settings-wrap .nav-tab-wrapper,.wps-rest-api-settings-wrap .nav-tab-wrapper,.wps-realtime-stats-settings-wrap .nav-tab-wrapper{background-color:#fff;margin:20px 0 !important;box-shadow:0px 2px 4px rgba(0,0,0,0.08);padding:0 15px;display:flex;border:none !important}.wps-widgets-settings-wrap .nav-tab-wrapper a,.wps-mini-chart-settings-wrap .nav-tab-wrapper a,.wps-rest-api-settings-wrap .nav-tab-wrapper a,.wps-realtime-stats-settings-wrap .nav-tab-wrapper a{border:0;border-top:4px solid transparent !important;border-bottom:4px solid transparent !important;padding:20px 8px;margin-right:8px;transition:0.2s;color:#4A4A4A;font-weight:600;font-size:14px;line-height:19px;letter-spacing:0.02em;text-transform:capitalize;word-break:keep-all;white-space:nowrap;background-color:transparent !important}.wps-widgets-settings-wrap .nav-tab-wrapper a:hover,.wps-mini-chart-settings-wrap .nav-tab-wrapper a:hover,.wps-rest-api-settings-wrap .nav-tab-wrapper a:hover,.wps-realtime-stats-settings-wrap .nav-tab-wrapper a:hover{color:#000}.wps-widgets-settings-wrap .nav-tab-wrapper a.nav-tab-active,.wps-mini-chart-settings-wrap .nav-tab-wrapper a.nav-tab-active,.wps-rest-api-settings-wrap .nav-tab-wrapper a.nav-tab-active,.wps-realtime-stats-settings-wrap .nav-tab-wrapper a.nav-tab-active{border:0;border-bottom-color:#404BF2 !important;padding:20px 8px;color:#000}.wps-widgets-settings-wrap input[type="checkbox"],.wps-widgets-settings-wrap input[type="radio"],.wps-mini-chart-settings-wrap input[type="checkbox"],.wps-mini-chart-settings-wrap input[type="radio"],.wps-rest-api-settings-wrap input[type="checkbox"],.wps-rest-api-settings-wrap input[type="radio"],.wps-realtime-stats-settings-wrap input[type="checkbox"],.wps-realtime-stats-settings-wrap input[type="radio"]{background:#fff;width:24px;height:24px;border-radius:2px;border:1px solid #5B5B5B !important;transition:0.2s}.wps-widgets-settings-wrap input[type="radio"],.wps-mini-chart-settings-wrap input[type="radio"],.wps-rest-api-settings-wrap input[type="radio"],.wps-realtime-stats-settings-wrap input[type="radio"]{border-radius:50%;transition:0.2s}.wps-widgets-settings-wrap input[type="radio"]:checked,.wps-mini-chart-settings-wrap input[type="radio"]:checked,.wps-rest-api-settings-wrap input[type="radio"]:checked,.wps-realtime-stats-settings-wrap input[type="radio"]:checked{background-color:#404AF2 !important;border-color:#404AF2 !important}.wps-widgets-settings-wrap input[type="radio"]:checked::before,.wps-mini-chart-settings-wrap input[type="radio"]:checked::before,.wps-rest-api-settings-wrap input[type="radio"]:checked::before,.wps-realtime-stats-settings-wrap input[type="radio"]:checked::before{background-color:#fff !important;transition:0.2s;width:10px;height:10px;margin:.38rem !important}.wps-widgets-settings-wrap input[type="checkbox"]:hover,.wps-mini-chart-settings-wrap input[type="checkbox"]:hover,.wps-rest-api-settings-wrap input[type="checkbox"]:hover,.wps-realtime-stats-settings-wrap input[type="checkbox"]:hover{border-color:#404BF2 !important}.wps-widgets-settings-wrap input[type="checkbox"]:checked,.wps-mini-chart-settings-wrap input[type="checkbox"]:checked,.wps-rest-api-settings-wrap input[type="checkbox"]:checked,.wps-realtime-stats-settings-wrap input[type="checkbox"]:checked{background:#404BF2;border-color:#404BF2 !important}.wps-widgets-settings-wrap input[type="checkbox"]:checked::before,.wps-mini-chart-settings-wrap input[type="checkbox"]:checked::before,.wps-rest-api-settings-wrap input[type="checkbox"]:checked::before,.wps-realtime-stats-settings-wrap input[type="checkbox"]:checked::before{margin:-.07rem 0 0 -.12rem !important;content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E") !important;height:1.5rem !important;width:1.5rem !important}.wps-widgets-settings-wrap .thickbox.button,.wps-widgets-settings-wrap .button,.wps-widgets-settings-wrap input[type="button"],.wps-mini-chart-settings-wrap .thickbox.button,.wps-mini-chart-settings-wrap .button,.wps-mini-chart-settings-wrap input[type="button"],.wps-rest-api-settings-wrap .thickbox.button,.wps-rest-api-settings-wrap .button,.wps-rest-api-settings-wrap input[type="button"],.wps-realtime-stats-settings-wrap .thickbox.button,.wps-realtime-stats-settings-wrap .button,.wps-realtime-stats-settings-wrap input[type="button"]{background:#fff;border:1px solid #D6D6D6;box-sizing:border-box;box-shadow:0px 2px 4px rgba(0,0,0,0.05);border-radius:2px;color:#000;transition:0.2s}.wps-widgets-settings-wrap .wpsms-button-group,.wps-mini-chart-settings-wrap .wpsms-button-group,.wps-rest-api-settings-wrap .wpsms-button-group,.wps-realtime-stats-settings-wrap .wpsms-button-group{margin-top:20px}.wps-widgets-settings-wrap .button:hover,.wps-widgets-settings-wrap input[type="button"]:hover,.wps-mini-chart-settings-wrap .button:hover,.wps-mini-chart-settings-wrap input[type="button"]:hover,.wps-rest-api-settings-wrap .button:hover,.wps-rest-api-settings-wrap input[type="button"]:hover,.wps-realtime-stats-settings-wrap .button:hover,.wps-realtime-stats-settings-wrap input[type="button"]:hover{background:#fff;border-color:#404BF2;color:#000}.wps-widgets-settings-wrap .button,.wps-widgets-settings-wrap input[type="button"],.wps-widgets-settings-wrap .thickbox.button,.wps-mini-chart-settings-wrap .button,.wps-mini-chart-settings-wrap input[type="button"],.wps-mini-chart-settings-wrap .thickbox.button,.wps-rest-api-settings-wrap .button,.wps-rest-api-settings-wrap input[type="button"],.wps-rest-api-settings-wrap .thickbox.button,.wps-realtime-stats-settings-wrap .button,.wps-realtime-stats-settings-wrap input[type="button"],.wps-realtime-stats-settings-wrap .thickbox.button{font-weight:600 !important;font-size:14px;line-height:17px;padding:14px 24px;border-radius:2px;transition:0.2s}.rtl .wps-widgets-settings-wrap .button,.rtl .wps-mini-chart-settings-wrap .button,.rtl .wps-rest-api-settings-wrap .button,.rtl .wps-realtime-stats-settings-wrap .button{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 16px;border-radius:2px;transition:0.2s}.wps-widgets-settings-wrap .button:disabled,.wps-mini-chart-settings-wrap .button:disabled,.wps-rest-api-settings-wrap .button:disabled,.wps-realtime-stats-settings-wrap-wrap .button:disabled{background-color:#808080 !important}.wps-widgets-settings-wrap .button-primary,.wps-mini-chart-settings-wrap .button-primary,.wps-rest-api-settings-wrap .button-primary,.wps-realtime-stats-settings-wrap .button-primary{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 24px;border-radius:2px;transition:0.2s;background:#404BF2;border-color:#404BF2;color:#fff !important}.wps-widgets-settings-wrap textarea,.wps-mini-chart-settings-wrap textarea,.wps-rest-api-settings-wrap textarea,.wps-realtime-stats-settings-wrap textarea{max-width:calc(100% - 45px)}.wps-widgets-settings-wrap .button-primary:hover,.wps-mini-chart-settings-wrap .button-primary:hover,.wps-rest-api-settings-wrap .button-primary:hover,.wps-realtime-stats-settings-wrap .button-primary:hover{background-color:#1E27BF;border-color:#1E27BF}.wps-widgets-settings-wrap .button:focus,.wps-widgets-settings-wrap input[type="button"]:focus,.wps-mini-chart-settings-wrap .button:focus,.wps-mini-chart-settings-wrap input[type="button"]:focus,.wps-rest-api-settings-wrap .button:focus,.wps-rest-api-settings-wrap input[type="button"]:focus,.wps-realtime-stats-settings-wrap .button:focus,.wps-realtime-stats-settings-wrap input[type="button"]:focus{background-color:#fff;border-color:#1E27BF;color:#000 !important;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent}.wps-widgets-settings-wrap .button-primary:focus,.wps-mini-chart-settings-wrap .button-primary:focus,.wps-rest-api-settings-wrap .button-primary:focus,.wps-realtime-stats-settings-wrap .button-primary:focus{background-color:#1E27BF;border-color:#1E27BF;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent;color:#fff !important}.wps-widgets-settings-wrap input[type="text"],.wps-widgets-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-widgets-settings-wrap .chosen-container-multi .chosen-choices,.wps-widgets-settings-wrap select,.wps-mini-chart-settings-wrap input[type="text"],.wps-mini-chart-settings-wrap input[type="number"],.wps-mini-chart-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices,.wps-mini-chart-settings-wrap select,.wps-rest-api-settings-wrap input[type="text"],.wps-rest-api-settings-wrap input[type="number"],.wps-rest-api-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices,.wps-rest-api-settings-wrap select,.wps-realtime-stats-settings-wrap input[type="text"],.wps-realtime-stats-settings-wrap input[type="number"],.wps-rest-api-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-realtime-stats-settings-wrap .chosen-container-multi .chosen-choices,.wps-realtime-stats-settings-wrap select{padding:12px 16px !important;font-weight:normal;font-size:14px;line-height:20px;border:1px solid #5B5B5B !important;box-sizing:border-box;border-radius:2px}.wps-mini-chart-settings-wrap input[type="number"],.wps-rest-api-settings-wrap input[type="number"],.wps-realtime-stats-settings-wrap input[type="number"]{padding-right:2px !important}.wps-widgets-settings-wrap .button.insert-media.add_media,.wps-mini-chart-settings-wrap .button.insert-media.add_media,.wps-rest-api-settings-wrap .button.insert-media.add_media,.wps-realtime-stats-settings-wrap .button.insert-media.add_media{padding:3px 12px !important}.wps-widgets-settings-wrap select,.wps-mini-chart-settings-wrap select,.wps-realtime-stats-settings-wrap select{padding:12px 24px 12px 14px !important}.wps-widgets-settings-wrap input[type="text"]+.button,.wps-mini-chart-settings-wrap input[type="text"]+.button,.wps-rest-api-settings-wrap input[type="text"]+.button,.wps-realtime-stats-settings-wrap input[type="text"]+.button{margin-left:5px}.wps-wrap .notice .notice-dismiss,.wps-widgets-settings-wrap .notice .notice-dismiss,.wps-mini-chart-settings-wrap .notice .notice-dismiss,.wps-rest-api-settings-wrap .notice .notice-dismiss,.wps-realtime-stats-settings-wrap .notice .notice-dismiss{margin-top:5.5px}.wps-wrap .notice .notice-dismiss::before,.wps-widgets-settings-wrap .notice .notice-dismiss::before,.wps-mini-chart-settings-wrap .notice .notice-dismiss::before,.wps-rest-api-settings-wrap .notice .notice-dismiss::before,.wps-realtime-stats-settings-wrap .notice .notice-dismiss::before{font-size:20px}.wps-widgets-settings-wrap .notice,.wps-mini-chart-settings-wrap .notice,.wps-rest-api-settings-wrap .notice,.wps-realtime-stats-settings-wrap .notice{padding:2px 14px;border-radius:4px;color:#242A31;font-weight:normal;font-size:14px;line-height:24px;border:1px solid #D6D6D6;box-sizing:border-box;border-left:6px solid #F2BB08;box-shadow:0px 2px 4px rgba(0,0,0,0.08);margin:10px 0 24px;display:flex;align-items:flex-start}.wps-widgets-settings-wrap .notice::before,.wps-mini-chart-settings-wrap .notice::before,.wps-rest-api-settings-wrap .notice::before,.wps-realtime-stats-settings-wrap .notice::before{content:'';min-width:20px;min-height:20px;display:inline-block;vertical-align:middle;margin-right:10px;margin-top:10px;background:center center/auto no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V12.5C9 12.2239 9.22386 12 9.5 12H10.5C10.7761 12 11 12.2239 11 12.5V13.5ZM10.53 10C10.6572 10.0009 10.7647 9.90624 10.78 9.78L11.18 6.56C11.1972 6.41735 11.1523 6.27417 11.0566 6.16698C10.9609 6.05979 10.8237 5.99896 10.68 6H9.32C9.17631 5.99896 9.03912 6.05979 8.94342 6.16698C8.84771 6.27417 8.80275 6.41735 8.82 6.56L9.22 9.78C9.23526 9.90624 9.34284 10.0009 9.47 10H10.53Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-warning::before,.wps-mini-chart-settings-wrap .notice-warning::before,.wps-rest-api-settings-wrap .notice-warning::before,.wps-realtime-stats-settings-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-error,.wps-mini-chart-settings-wrap .notice-error,.wps-rest-api-settings-wrap .notice-error,.wps-realtime-stats-settings-wrap .notice-error{border-left-color:#FF0000}.wps-widgets-settings-wrap .notice-error::before,.wps-mini-chart-settings-wrap .notice-error::before,.wps-rest-api-settings-wrap .notice-error::before,.wps-realtime-stats-settings-wrap .notice-error::before{min-width:23px;margin-right:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-info,.wps-mini-chart-settings-wrap .notice-info,.wps-rest-api-settings-wrap .notice-info,.wps-realtime-stats-settings-wrap .notice-info{border-left-color:#0090AD}.wps-widgets-settings-wrap .notice-info::before,.wps-mini-chart-settings-wrap .notice-info::before,.wps-rest-api-settings-wrap .notice-info::before,.wps-realtime-stats-settings-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-success,.wps-mini-chart-settings-wrap .notice-success,.wps-rest-api-settings-wrap .notice-success,.wps-realtime-stats-settings-wrap .notice-success{border-left-color:#22BB3F}.wps-widgets-settings-wrap .notice-success::before,.wps-mini-chart-settings-wrap .notice-success::before,.wps-rest-api-settings-wrap .notice-success::before,.wps-realtime-stats-settings-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice,.rtl .wps-mini-chart-settings-wrap .notice,.rtl .wps-rest-api-settings-wrap .notice,.rtl .wps-realtime-stats-settings-wrap .notice{border-left:0;border-right:6px solid #F2BB08}.rtl .wps-widgets-settings-wrap .notice::before,.rtl .wps-mini-chart-settings-wrap .notice::before,.rtl .wps-rest-api-settings-wrap .notice::before,.rtl .wps-realtime-stats-settings-wrap .notice::before{margin-right:0;margin-left:10px}.rtl .wps-widgets-settings-wrap .notice-warning::before,.rtl .wps-mini-chart-settings-wrap .notice-warning::before,.rtl .wps-rest-api-settings-wrap .notice-warning::before,.rtl .wps-realtime-stats-settings-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice-danger,.rtl .wps-mini-chart-settings-wrap .notice-danger,.rtl .wps-rest-api-settings-wrap .notice-danger,.rtl .wps-realtime-stats-settings-wrap .notice-danger{border-right-color:#FF0000}.rtl .wps-widgets-settings-wrap .notice-danger::before,.rtl .wps-mini-chart-settings-wrap .notice-danger::before,.rtl .wps-rest-api-settings-wrap .notice-danger::before,.rtl .wps-realtime-stats-settings-wrap .notice-danger::before{margin-right:0;margin-left:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice-info,.rtl .wps-mini-chart-settings-wrap .notice-info,.rtl .wps-rest-api-settings-wrap .notice-info,.rtl .wps-realtime-stats-settings-wrap .notice-info{border-right-color:#0090AD}.rtl .wps-widgets-settings-wrap .notice-info::before,.rtl .wps-mini-chart-settings-wrap .notice-info::before,.rtl .wps-rest-api-settings-wrap .notice-info::before,.rtl .wps-realtime-stats-settings-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice-success,.rtl .wps-mini-chart-settings-wrap .notice-success,.rtl .wps-rest-api-settings-wrap .notice-success,.rtl .wps-realtime-stats-settings-wrap .notice-success{border-right-color:#22BB3F}.rtl .wps-widgets-settings-wrap .notice-success::before,.rtl .wps-mini-chart-settings-wrap .notice-success::before,.rtl .wps-rest-api-settings-wrap .notice-success::before,.rtl .wps-realtime-stats-settings-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.wps-mini-chart-settings-wrap input[type="text"].wp-color-picker,.wps-rest-api-settings-wrap input[type="text"].wp-color-picker,.wps-realtime-stats-settings-wrap input[type="text"].wp-color-picker{padding:2px 3px !important}.wps-wrap label{color:#000}.wps-wrap td .description{margin-top:12px !important;color:#5B5B5B}.wps-wrap select+input[type="submit"],.wps-wrap select+button{margin-left:4px}
1
+ .wps-text-danger{color:#DC3545 !important}.wps-text-success{color:#459605 !important}.wps-text-warning{color:#dc6b26 !important}.wps-text-muted{color:#797979 !important}.wps-center{text-align:center !important}.wps-d-none{display:none}.wps-d-inline-block{display:inline-block}.wps-middle-vertical{vertical-align:middle}a[href*='?page=wps_break_menu']{pointer-events:none}.wps-cursor-default{cursor:default}.wp-core-ui .btn-danger{background:rgba(186,0,0,0.74);border-color:rgba(170,0,0,0.77) rgba(153,0,0,0.74) rgba(153,0,0,0.74);box-shadow:0 1px 0 rgba(153,0,0,0.74);color:#fff;text-decoration:none;text-shadow:0 -1px 1px rgba(153,0,0,0.74),1px 0 1px rgba(153,0,0,0.74),0 1px 1px rgba(153,0,0,0.74),-1px 0 1px rgba(153,0,0,0.74)}.wp-core-ui .btn-danger:hover{background:#c20000;border-color:#990000;color:#fff}.wp-core-ui .btn-danger:active{background:rgba(170,0,0,0.75);border-color:rgba(153,0,0,0.74);box-shadow:inset 0 2px 0 rgba(153,0,0,0.75)}.wp-core-ui .btn-danger:focus{box-shadow:0 1px 0 rgba(170,0,0,0.75),0 0 2px 1px rgba(219,51,51,0.75);background:rgba(194,0,0,0.75);border-color:rgba(153,0,0,0.75);color:#fff;outline:0 !important}.wps-btn-inline{vertical-align:-2px;margin:0 5px}.wps-m-top-20{margin-top:20px}.wps-text-wrap{display:inline-block;overflow:hidden;white-space:nowrap;width:100% !important}.wps-width-100{width:100% !important}.wps-200-px{width:200px !important}.wps-inline{display:inline}.wps_page_title{display:inline-block;vertical-align:-15px;margin-top:10px;margin-bottom:10px;margin-right:5px}.wps_title{display:inline;font-size:1.6em}.wp-statistics-container{margin:0 auto}.wps-pull-right{float:right}.wps-pull-left{float:left}@media print{#wpadminbar,#adminmenuback,#adminmenuwrap,#show-settings-link{display:none}#wpcontent,#wpfooter{margin-left:0px}}#wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before{content:'\f184';top:2px}#wp-admin-bar-wp-statistics-menu-page{text-align:center}#wp-admin-bar-wp-statistics-menu-page .ab-item{height:auto !important}#wp-admin-bar-wp-statistics-menu-page a{padding-bottom:4px !important}#wp-admin-bar-wp-statistics-menu-page a img{max-width:200px}#wp-admin-bar-wp-statistics-menu-page .wps-admin-bar__chart__unlock-button{background-color:#2f5a82;padding:1px 0px;color:#ffffff;line-height:21px;font-size:12px;border-radius:2px;display:table;margin:0 auto;width:100%}.pagination-wrap{clear:both;display:block;overflow:hidden;text-align:center;margin-top:25px}.pagination-wrap .wps-page-number{color:#148e00;direction:rtl;margin-top:4px}.pagination-wrap .page-numbers li{margin-bottom:0;display:inline-block}.pagination-wrap .page-numbers li a,.pagination-wrap .pagination-wrap .page-numbers li span{display:inline-block;padding:6px 12px;margin-right:4px;border-radius:3px;border:solid 1px #c0c0c0;background:#e9e9e9;box-shadow:inset 0px 1px 0px rgba(255,255,255,0.8),0px 1px 3px rgba(0,0,0,0.1);font-size:.875em;font-weight:bold;text-decoration:none;color:#717171;text-shadow:0px 1px 0px #fff}.pagination-wrap .page-numbers>li>a:hover,.pagination-wrap .page-numbers>li>span:hover,.pagination-wrap .page-numbers>li>a:focus,.pagination-wrap .page-numbers>li>span:focus{background:#fefefe;background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));background:-moz-linear-gradient(#FEFEFE, #f0f0f0)}.pagination-wrap .page-numbers li .current{border:none;background:#616161 !important;box-shadow:inset 0px 0px 8px rgba(0,0,0,0.5),0px 1px 0px rgba(255,255,255,0.8) !important;color:#f0f0f0;text-shadow:0px 0px 3px rgba(0,0,0,0.5);padding:7.5px 14px;vertical-align:-1.5px;margin:-8px 5px -5px 5px;border-radius:5px}i.mce-i-icon-statistic{font:400 20px/1 dashicons;padding:0;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:-2px;padding-right:2px}.wp-statistic-mce-desc{color:#b1b1b1 !important;margin-left:82px !important}html[dir="rtl"] .wp-statistic-mce-desc{text-align:right !important;margin:0 82px 0px 0px !important}.wps-gutenberg-chart-js{height:350px}.wps_loading_box{width:100%;text-align:center;min-height:65px;padding-top:15px}.wps-more span,.wps-refresh span{transition:transform .6s ease-in-out;-webkit-transition:-webkit-transform .6s ease-in-out}.wps-more:hover span,.wps-refresh:hover span{color:#00a0d2}.wps-refresh:hover span{transform:rotate(360deg);-webkit-transform:rotate(360deg);color:#00a0d2}.button-link.wps-more,.button-link.wps-refresh{text-decoration:none !important}.wps-postbox-full{width:100%;float:left;margin-right:20px}#wps-big-postbox{width:100%;direction:ltr;margin-top:5px}.log-url{direction:ltr;float:left;font-size:10px;margin:0 0 0 2px;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}#wp_statistics_editor_meta_box,#wp-statistics-browsers-widget,#wp-statistics-countries-widget,#wp-statistics-hitsmap-widget,#wp-statistics-hits-widget,#wp-statistics-pages-widget,#wp-statistics-recent-widget,#wp-statistics-referring-widget,#wp-statistics-search-widget,#wp-statistics-summary-widget,#wp-statistics-words-widget,#wp-statistics-top-visitors-widget,#wps_hits_postbox,#wps_top_visitors_postbox,#wps_search_postbox,#wps_words_postbox,#wps_recent_postbox,#wps_map_postbox,#wps_pages_postbox,#wps_summary_postbox,#wps_browsers_postbox,#wps_referring_postbox,#wps_countries_postbox,#wps_words_postbox{overflow:hidden}#time_zone a{font-size:11px;text-decoration:none}#about-links{margin:0 0 10px}#about-links p{display:inline;font-size:12px;margin:0 2px;font-style:italic}.left-div{float:left}.right-div{float:right}#donate-text{float:left}#donate-button{float:right;margin:-2px 0 0 0}#donate-button a{height:23px;line-height:22px}.wp-statistics-sub-fullwidth{width:100%}.wp-statistics-responsive-table{overflow-x:auto}.wps-postbox-veronalabs{margin:18px 0 0 0}.wps-postbox-veronalabs img{width:116px}.wps-btn-group{text-align:center;margin:25px auto}.wps-btn-group .btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wps-btn-group .btn:focus,.wps-btn-group .btn:active:focus,.wps-btn-group .btn.active:focus,.wps-btn-group .btn.focus,.wps-btn-group .btn:active.focus,.wps-btn-group .btn.active.focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.wps-btn-group .btn:hover,.wps-btn-group .btn:focus,.wps-btn-group .btn.focus{color:#333333;text-decoration:none}.wps-btn-group .btn:active,.wps-btn-group .btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.wps-btn-group .btn.disabled,.wps-btn-group .btn[disabled],.wps-btn-group fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);opacity:0.65;-webkit-box-shadow:none;box-shadow:none}.wps-btn-group a.btn.disabled,.wps-btn-group fieldset[disabled] a.btn{pointer-events:none}.wps-btn-group .btn-default{color:#333333;background-color:#ffffff;border-color:#e0e0e0}.wps-btn-group .btn-default:focus,.wps-btn-group .btn-default.focus{color:#333333;background-color:#e6e6e6;border-color:#8c8c8c}.wps-btn-group .btn-default:hover{color:#333333;background-color:#e6e6e6;border-color:#adadad}.wps-btn-group .btn-default:active,.wps-btn-group .btn-default.active,.wps-btn-group .open>.dropdown-toggle.btn-default{color:#333333;background-color:#e6e6e6;background-image:none;border-color:#adadad}.wps-btn-group .btn-default:active:hover,.wps-btn-group .btn-default.active:hover,.wps-btn-group .open>.dropdown-toggle.btn-default:hover,.wps-btn-group .btn-default:active:focus,.wps-btn-group .btn-default.active:focus,.wps-btn-group .open>.dropdown-toggle.btn-default:focus,.wps-btn-group .btn-default:active.focus,.wps-btn-group .btn-default.active.focus,.wps-btn-group .open>.dropdown-toggle.btn-default.focus{color:#333333;background-color:#d4d4d4;border-color:#8c8c8c}.wps-btn-group .btn-default.disabled:hover,.wps-btn-group .btn-default[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-default:hover,.wps-btn-group .btn-default.disabled:focus,.wps-btn-group .btn-default[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-default:focus,.wps-btn-group .btn-default.disabled.focus,.wps-btn-group .btn-default[disabled].focus,.wps-btn-group fieldset[disabled] .btn-default.focus{background-color:#ffffff;border-color:#cccccc}.wps-btn-group .btn-default .badge{color:#ffffff;background-color:#333333}.wps-btn-group .btn-primary{color:#ffffff;background-color:#00a0d2;border-color:#00A0D2}.wps-btn-group .btn-primary:focus,.wps-btn-group .btn-primary.focus{color:#ffffff;background-color:#286090;border-color:#122b40}.wps-btn-group .btn-primary:hover{color:#ffffff;background-color:#286090;border-color:#204d74}.wps-btn-group .btn-primary:active,.wps-btn-group .btn-primary.active,.wps-btn-group .open>.dropdown-toggle.btn-primary{color:#ffffff;background-color:#286090;background-image:none;border-color:#204d74}.wps-btn-group .btn-primary:active:hover,.wps-btn-group .btn-primary.active:hover,.wps-btn-group .open>.dropdown-toggle.btn-primary:hover,.wps-btn-group .btn-primary:active:focus,.wps-btn-group .btn-primary.active:focus,.wps-btn-group .open>.dropdown-toggle.btn-primary:focus,.wps-btn-group .btn-primary:active.focus,.wps-btn-group .btn-primary.active.focus,.wps-btn-group .open>.dropdown-toggle.btn-primary.focus{color:#ffffff;background-color:#204d74;border-color:#122b40}.wps-btn-group .btn-primary.disabled:hover,.wps-btn-group .btn-primary[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-primary:hover,.wps-btn-group .btn-primary.disabled:focus,.wps-btn-group .btn-primary[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-primary:focus,.wps-btn-group .btn-primary.disabled.focus,.wps-btn-group .btn-primary[disabled].focus,.wps-btn-group fieldset[disabled] .btn-primary.focus{background-color:#337ab7;border-color:#2e6da4}.wps-btn-group .btn-primary .badge{color:#337ab7;background-color:#ffffff}.wps-btn-group .btn-danger{color:#ffffff;background-color:#d9534f;border-color:#d43f3a}.wps-btn-group .btn-danger:focus,.wps-btn-group .btn-danger.focus{color:#ffffff;background-color:#c9302c;border-color:#761c19}.wps-btn-group .btn-danger:hover{color:#ffffff;background-color:#c9302c;border-color:#ac2925}.wps-btn-group .btn-danger:active,.wps-btn-group .btn-danger.active,.wps-btn-group .open>.dropdown-toggle.btn-danger{color:#ffffff;background-color:#c9302c;background-image:none;border-color:#ac2925}.wps-btn-group .btn-danger:active:hover,.wps-btn-group .btn-danger.active:hover,.wps-btn-group .open>.dropdown-toggle.btn-danger:hover,.wps-btn-group .btn-danger:active:focus,.wps-btn-group .btn-danger.active:focus,.wps-btn-group .open>.dropdown-toggle.btn-danger:focus,.wps-btn-group .btn-danger:active.focus,.wps-btn-group .btn-danger.active.focus,.wps-btn-group .open>.dropdown-toggle.btn-danger.focus{color:#ffffff;background-color:#ac2925;border-color:#761c19}.wps-btn-group .btn-danger.disabled:hover,.wps-btn-group .btn-danger[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-danger:hover,.wps-btn-group .btn-danger.disabled:focus,.wps-btn-group .btn-danger[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-danger:focus,.wps-btn-group .btn-danger.disabled.focus,.wps-btn-group .btn-danger[disabled].focus,.wps-btn-group fieldset[disabled] .btn-danger.focus{background-color:#d9534f;border-color:#d43f3a}.wps-btn-group .btn-danger .badge{color:#d9534f;background-color:#ffffff}.wps-btn-group .btn-link{font-weight:400;color:#337ab7;border-radius:0}.wps-btn-group .btn-link,.wps-btn-group .btn-link:active,.wps-btn-group .btn-link.active,.wps-btn-group .btn-link[disabled],.wps-btn-group fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.wps-btn-group .btn-link,.wps-btn-group .btn-link:hover,.wps-btn-group .btn-link:focus,.wps-btn-group .btn-link:active{border-color:transparent}.wps-btn-group .btn-link:hover,.wps-btn-group .btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.wps-btn-group .btn-link[disabled]:hover,.wps-btn-group fieldset[disabled] .btn-link:hover,.wps-btn-group .btn-link[disabled]:focus,.wps-btn-group fieldset[disabled] .btn-link:focus{color:#777777;text-decoration:none}.wps-btn-group .btn-block{display:block;width:100%}.wps-btn-group .btn-block+.btn-block{margin-top:5px}.wps-btn-group input[type="submit"].btn-block,.wps-btn-group input[type="reset"].btn-block,.wps-btn-group input[type="button"].btn-block{width:100%}.wps-btn-group .btn-group,.wps-btn-group .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.wps-btn-group .btn-group>.btn,.wps-btn-group .btn-group-vertical>.btn{position:relative;float:left}.wps-btn-group .btn-group>.btn:hover,.wps-btn-group .btn-group-vertical>.btn:hover,.wps-btn-group .btn-group>.btn:focus,.wps-btn-group .btn-group-vertical>.btn:focus,.wps-btn-group .btn-group>.btn:active,.wps-btn-group .btn-group-vertical>.btn:active,.wps-btn-group .btn-group>.btn.active,.wps-btn-group .btn-group-vertical>.btn.active{z-index:2}.wps-btn-group .btn-group .btn+.btn,.wps-btn-group .btn-group .btn+.btn-group,.wps-btn-group .btn-group .btn-group+.btn,.wps-btn-group .btn-group .btn-group+.btn-group{margin-left:-1px}.wps-btn-group .btn-toolbar{margin-left:-5px}.wps-btn-group .btn-toolbar .btn,.wps-btn-group .btn-toolbar .btn-group,.wps-btn-group .btn-toolbar .input-group{float:left}.wps-btn-group .btn-toolbar>.btn,.wps-btn-group .btn-toolbar>.btn-group,.wps-btn-group .btn-toolbar>.input-group{margin-left:5px}.wps-btn-group .btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.wps-btn-group .btn-group>.btn:first-child{margin-left:0}.wps-btn-group .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.wps-btn-group .btn-group>.btn:last-child:not(:first-child),.wps-btn-group .btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group>.btn-group{float:left}.wps-btn-group .btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.wps-btn-group .btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.wps-btn-group .btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.wps-btn-group .btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group .dropdown-toggle:active,.wps-btn-group .btn-group.open .dropdown-toggle{outline:0}.wps-btn-group .btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.wps-btn-group .btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.wps-btn-group .btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.wps-btn-group .btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.wps-btn-group .btn .caret{margin-left:0}.wps-btn-group .btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.wps-btn-group .dropup .btn-lg .caret{border-width:0 5px 5px}.wps-btn-group .btn-group-vertical>.btn,.wps-btn-group .btn-group-vertical>.btn-group,.wps-btn-group .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.wps-btn-group .btn-group-vertical>.btn-group>.btn{float:none}.wps-btn-group .btn-group-vertical>.btn+.btn,.wps-btn-group .btn-group-vertical>.btn+.btn-group,.wps-btn-group .btn-group-vertical>.btn-group+.btn,.wps-btn-group .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.wps-btn-group .btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.wps-btn-group .btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.wps-btn-group .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.wps-btn-group .btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.wps-btn-group .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.wps-btn-group .btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.wps-btn-group .btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.wps-btn-group .btn-group-justified>.btn,.wps-btn-group .btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.wps-btn-group .btn-group-justified>.btn-group .btn{width:100%}.wps-btn-group .btn-group-justified>.btn-group .dropdown-menu{left:auto}.wps-btn-group [data-toggle="buttons"]>.btn input[type="radio"],.wps-btn-group [data-toggle="buttons"]>.btn-group>.btn input[type="radio"],.wps-btn-group [data-toggle="buttons"]>.btn input[type="checkbox"],.wps-btn-group [data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.wps-btn-group .clearfix:before,.wps-btn-group .clearfix:after,.wps-btn-group .btn-toolbar:before,.wps-btn-group .btn-toolbar:after,.wps-btn-group .btn-group-vertical>.btn-group:before,.wps-btn-group .btn-group-vertical>.btn-group:after{display:table;content:" "}.wps-btn-group .clearfix:after,.wps-btn-group .btn-toolbar:after,.wps-btn-group .btn-group-vertical>.btn-group:after{clear:both}.wps-btn-group .center-block{display:block;margin-right:auto;margin-left:auto}.wps-btn-group .pull-right{float:right !important}.wps-btn-group .pull-left{float:left !important}.wps-btn-group .hide{display:none !important}div[data-chart-date-picker]{text-align:center;margin-bottom:20px;transition:1s all}div[data-chart-date-picker] input{margin:0px 8px;border-radius:5px;box-shadow:none;padding:5px}div[data-chart-date-picker] input[type=submit]{vertical-align:2px}.wps-ph-item{position:relative;display:flex;flex-wrap:wrap;overflow:hidden;background-color:#fff;direction:ltr}.wps-ph-item,.wps-ph-item *,.wps-ph-item ::after,.wps-ph-item ::before{box-sizing:border-box}.wps-ph-item::before{content:" ";position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;animation:phAnimation 1s linear infinite;background:linear-gradient(to right, rgba(255,255,255,0) 46%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 54%) 50% 50%}.wps-ph-item>*{flex:1 1 auto;display:flex;flex-flow:column;padding-right:10px;padding-left:10px}.wps-ph-row{display:flex;flex-wrap:wrap;margin-bottom:7.5px}.wps-ph-row div{height:15px;margin-bottom:7.5px;background-color:#dee4ea}.wps-ph-row .big,.wps-ph-row.big div{height:20px;margin-bottom:15px}.wps-ph-row .empty{background-color:rgba(255,255,255,0)}.wps-ph-col-2{flex:0 0 16.66667%}.wps-ph-col-4{flex:0 0 33.33333%}.wps-ph-col-6{flex:0 0 50%}.wps-ph-col-8{flex:0 0 66.66667%}.wps-ph-col-10{flex:0 0 83.33333%}.wps-ph-col-12{flex:0 0 100%}.wps-ph-avatar{position:relative;width:100%;min-width:60px;background-color:#dee4ea;margin-bottom:15px;border-radius:50%;overflow:hidden}.wps-ph-avatar::before{content:" ";display:block;padding-top:100%}.wps-ph-picture{width:100%;height:120px;background-color:#dee4ea;margin-bottom:15px}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}.wps-text-placeholder{width:90px;height:25px;margin:0px auto}.wps-badge{display:inline-block;min-width:8px;padding:3px 7px;font-size:12px;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:1px;background-color:#DC3545;border-radius:10px}#post-stats{border:none}#th-colspan{text-align:center}#th-colspan span{color:#459605 !important;font-size:30px}#last-visitor tr{text-align:center}#last-visitor tr:first-child{background:none repeat scroll 0 0 #EEEEEE;font-weight:bold;text-align:center}#last-search tr{text-align:center}#last-search tr:first-child{background:none repeat scroll 0 0 #EEEEEE;font-weight:bold;text-align:center}table.wps-table-fixed{table-layout:fixed;width:100%}table.wps-table-auto{table-layout:auto;width:100%}.wps-report-table tr{text-align:left}.wps-report-table tr:first-child{background:none repeat scroll 0 0 #EEEEEE;font-weight:bold;text-align:center}.th-center{text-align:center !important}.td-align{text-align:left}.td-url{color:#009936 !important;direction:ltr;font-size:10px !important;text-align:left;white-space:nowrap}.log-item{border-bottom:1px solid #efeeee;border-top:1px solid #FFFFFF;min-height:46px;padding:3px 7px}.log-item:hover{background:none repeat scroll 0 0 #f7f7f7}.log-referred{float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto}.log-page-title{float:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.log-ip{direction:ltr;float:right;font-size:10px;margin-bottom:5px;white-space:pre;overflow:hidden;text-overflow:ellipsis;text-align:right}.log-tools{float:left;margin:0 2px}.log-agent{float:left}.table-stats tr,.table-stats td{border-bottom:1px solid #efeeee;background-color:white;transition:1s all}.table-stats tr:last-child td{border-bottom:0}.table-stats tr:hover:not(:first-child) td{background-color:rgba(241,241,241,0.65) !important}.table-stats tr:first-child td{border:0 none;text-align:left}.rtl .table-stats.left-align tr,.rtl .table-stats.left-align td{text-align:left !important}.rtl .table-stats tr,.rtl .table-stats td{text-align:right !important}.rtl .table-stats .log-tools{float:right}.rtl .table-stats .th-center{text-align:center !important}.table-stats{border:0 none !important}#visits-log{direction:ltr;height:290px;width:100%}#search-engine-log{direction:ltr}#platform-log{direction:ltr}#visits-stats{direction:ltr}#exclusion-stats{direction:ltr}#search-stats{direction:ltr}#page-stats{direction:ltr}.wp-statistics-settings .widefat{float:left}.wp-statistics-settings .note{color:#FF0000;font-size:11px !important;font-weight:bold}.wp-statistics-settings .postbox-container{margin-top:51px}.wp-statistics-settings .postbox-container .postbox{padding:12px !important}.wp-statistics-settings ul.tabs{margin:0;padding:0;list-style:none}.wp-statistics-settings ul.tabs li{background:none;color:#222;display:inline-block;padding:10px 8px;cursor:pointer;border:1px solid #f1f1f1;margin:0}.wp-statistics-settings ul.tabs li.current{background:#ffffff;color:#222;border-right-color:#e5e5e5;border-left-color:#e5e5e5;border-bottom-color:#ffffff;border-top-color:#e5e5e5;padding-bottom:11px}.wp-statistics-settings .tab-content{display:none;margin:-1px 0 0 0}.wp-statistics-settings .tab-content.current{display:inherit}.wp-statistics-settings #update_geoip{margin-left:5px;margin-top:-5px;line-height:19px;font-size:12px;height:25px}@media only screen and (max-width: 1327px){.wp-statistics-settings ul.tabs li{padding:10px 5px}}.wp-statistics-plugins .widefat>*{float:left}.wp-statistics-plugins .widefat .plugin-card{position:relative}.wp-statistics-plugins .widefat .plugin-card .desc,.wp-statistics-plugins .widefat .plugin-card .name{margin-right:0}.wp-statistics-plugins .widefat .plugin-card-bottom{float:initial}.wp-statistics-plugins .widefat .plugin-card-bottom span.from{display:none}.wp-statistics-plugins .widefat .column-downloaded p{margin:2px 0 0 0}.wp-statistics-plugins .column-price{display:inline;margin:0 8px;font-size:15px;color:#589616}.wp-statistics-plugins .plugin-card .cover-ribbon{height:115px;width:115px;position:absolute;left:-8px;top:-7px;overflow:hidden}.wp-statistics-plugins .plugin-card .cover-ribbon .cover-ribbon-inside{background:#EA4335;color:#FFF;transform:rotate(-45deg);position:absolute;left:-35px;top:16px;padding:10px;min-width:127px;text-align:center;z-index:9}.wp-statistics-plugins .plugin-card .cover-ribbon .cover-ribbon-inside:before{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:10px solid #992C23;position:absolute;left:-5px;bottom:0;content:"";top:34px;transform:rotate(-45deg)}.wp-statistics-plugins .plugin-card .cover-ribbon .cover-ribbon-inside:after{width:0;height:0;border-top:7px solid transparent;border-left:7px solid #992C23;border-bottom:7px solid transparent;position:absolute;top:33px;bottom:0;right:4px;content:"";transform:rotate(-45deg)}.wp-statistics-welcome .wp-badge{background-image:url("../images/logo-250-white.png");background-color:#1aabec}.wp-statistics-welcome .nav-tab.donate{background-color:#459605;color:#ffffff}.wp-statistics-welcome .tab-content{display:none}.wp-statistics-welcome .tab-content.current{display:block}.wp-statistics-welcome ul li{margin:0 31px}.wp-statistics-welcome ul{list-style-type:square;line-height:28px;margin:0 0 20px 0}.wp-statistics-welcome img{width:auto}.wp-statistics-welcome .center-section{padding:41px 0 60px;clear:both;text-align:center}.wp-statistics-welcome .normal-section .left{float:left;width:50%;text-align:left}.wp-statistics-welcome .normal-section .right{float:right;width:50%}.wp-statistics-welcome .normal-section{float:left;width:100%;padding:36px 0 44px;border-bottom:1px solid #dedede}.wp-statistics-welcome .normal-section h2{text-align:left}.wp-statistics-welcome .text-center{text-align:center !important}.wp-statistics-welcome .content-padding{padding:0 43px}.wp-statistics-welcome .addons-item img{width:120px;border-radius:4px}.wp-statistics-welcome .addons-item a{display:inline-block;margin:0 5px}.wp-statistics-welcome .center-section.logo img{width:150px}.wp-statistics-welcome .center-section.logo>a{display:inline-block}.wp-statistics-welcome .plugin-icon{width:128px;height:128px}.wp-statistics-welcome .plugin-card h3{margin:0 0 12px;font-size:18px;line-height:1.3}.wp-statistics-welcome .plugin-card{text-align:left}.wp-statistics-welcome .about-text img{width:90px}.wps-return-to-dashboard{margin:30px 0 0 -5px;font-size:14px;font-weight:600}.wps-return-to-dashboard a{text-decoration:none;padding:0 5px}#wps-postbox-container-1{width:30%;float:left}#wps-postbox-container-2{margin:0 0 0 1%;width:68%;float:right}@media screen and (max-width: 998px){#wps-postbox-container-1{width:35%}#wps-postbox-container-2{margin:0 0 0 1%;width:63%}}@media screen and (max-width: 758px){#wps-postbox-container-1{width:100%}#wps-postbox-container-2{margin:0 0 0 1%;width:100%}}@media screen and (max-width: 524px){#wps-postbox-container-1{width:100%}#wps-postbox-container-2{margin:0 0 0 1%;width:100%}}#wps-postbox-container-1 a,#wps-postbox-container-2 a,#wps-big-postbox a{text-decoration:none}.column-wp-statistics-tax-hits{width:15%;text-align:center}.column-wp-statistics-post-hits{width:10%;text-align:center}.wps-admin-column__unlock a{color:#ffffff;font-size:12px;display:flex;justify-content:center}.wps-admin-column__unlock a span{background:#347ab6;padding:1px 3px;border-radius:2px;position:absolute;visibility:hidden;font-size:9px;line-height:14px;z-index:1;margin-top:7px}.wps-admin-column__unlock a img{width:100%;opacity:0.5}.wps-admin-column__unlock a:hover span{visibility:visible}body.toplevel_page_wps_overview_page fieldset.columns-prefs,body.toplevel_page_wps_overview_page label[for=wp-statistics-about-widget-hide]{display:none !important}#wps_overview_ads_postbox .inside{padding:0 !important;margin:0;line-height:0}#wps_overview_ads_postbox .inside a img{width:100%;height:auto}#wps_overview_ads_postbox .inside a:focus{box-shadow:none}#wps_overview_ads_postbox .inside .close-overview-ads{position:absolute;right:0;margin:15px 20px;opacity:0;transition:1s all}#wps_overview_ads_postbox .inside .close-overview-ads span.dashicons{font-size:21px;color:#72777c;cursor:pointer}#wps_overview_ads_postbox .inside:hover .close-overview-ads{opacity:1}#wps_overview_ads_postbox{padding:0}.toplevel_page_wps_overview_page #screen-meta-links{margin-bottom:-30px}.wps-equal-postbox{display:flex}.wps-postbox-half{width:calc((100% / 2) - 20px);margin-right:10px}.wps-postbox-half .title-center{text-align:center;margin:25px auto;color:#828282}.wps-postbox-half .inside{padding:5px 10px !important;margin:5px 0 5px 0 !important}.wps-title-group{margin:15px 0 20px 0;border-bottom:1px solid #d2d2d2;padding-bottom:13px;width:98%}body[class*="wps_visitors_page"] #TB_closeWindowButton:focus .tb-close-icon{-webkit-box-shadow:none !important;box-shadow:none !important}body[class*="wps_visitors_page"] #visitors-filter{cursor:pointer;color:#666;transition:0.5s all;margin-top:5px}body[class*="wps_visitors_page"] #visitors-filter .dashicons{vertical-align:-5px}body[class*="wps_visitors_page"] #visitors-filter:hover{color:#d82424}body[class*="wps_visitors_page"] .select2-dropdown{z-index:9999999999 !important}body[class*="wps_visitors_page"] .select2-container{width:100% !important}body[class*="wps_visitors_page"] .tbl-page-column{width:220px}body[class*="wps_visitors_page"] .tbl-page-column span.txt-overflow{white-space:nowrap;overflow:hidden;width:210px !important;display:block}#wps-visitors-filter-form{padding:10px 5px}#wps-visitors-filter-form table.widefat{border:0 !important;box-shadow:none !important}html[dir=rtl] body[class*="wps_visitors_page"] #TB_ajaxContent{text-align:right !important}form#wp-statistics-select-pages{margin-bottom:-15px;margin-top:16px}form#wp-statistics-select-pages .select-title{vertical-align:-2px}form#wp-statistics-select-pages select[name=ID]{width:300px;margin:0 8px}form#wp-statistics-select-pages input[type=submit]{margin:0 5px;vertical-align:-2px}form#wp-statistics-select-pages .submit-form{padding:0 5px;vertical-align:-3px}.wps-wrap.wps-meta-box-footer{padding-top:14px}.wps-admin-pages-visitors__preview{max-height:230px;overflow:hidden;position:relative}.wps-admin-pages-visitors__preview img{width:100%}.wps-admin-pages-visitors__preview:after{content:"";position:absolute;z-index:1;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);width:100%;height:4em}#wps-big-postbox .wps-admin-pages-visitors__preview{max-height:290px}.wps-admin-pages-visitors__promotion{background-color:#fff;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);padding:7px 20px 15px;width:52%;text-align:center;box-shadow:rgba(0,0,0,0.3) 0px 19px 38px,rgba(0,0,0,0) 0px 0px 12px}.wps-admin-pages-visitors__promotion p{margin:5px !important}.wps-admin-pages-visitors__promotion a{padding:10px 14px !important}.misc-pub-hits:before{content:"\f184";font:normal 20px/1 dashicons;display:inline-block;margin-left:-1px;padding-right:3px;vertical-align:top;color:#8c8f94}.wps-about-logo{max-width:170px;margin:0 0 9px 0}.wps-summary-stats{background:none repeat scroll 0 0 rgba(0,0,0,0);border:1px none;margin:0 0 10px}.wps-summary-stats tr:first-child th{border-top:0 none}.wps-summary-stats span{color:#21759B !important;font-family:Georgia, "Times New Roman", "Bitstream Charter", Times, serif;font-size:21px}.wps-engine-logo{vertical-align:-3px}#wp-statistics-visitors-map{direction:ltr;height:300px;width:100%}.map-html-marker{max-height:170px;width:200px}.map-html-marker p{border-bottom:1px dashed #EFEFEF;font-size:10px;margin:2px 0;padding:3px 0;text-align:left}.map-html-marker p:last-child{border-bottom:0 none}.jqvmap-label{z-index:10000}.jqvmap-zoomin,.jqvmap-zoomout{background:#717171 !important}.wps-referring-widget-ip{display:block;padding:0 15px;font-size:10px;color:#a2a2a2;margin-left:6px}.wps-wrap__main{padding:20px}.wps-wrap .postbox{padding:0}.wps-wrap .postbox .postbox-header{padding:7px 15px}.wps-wrap .postbox .postbox-header h2{padding:0}.wps-wrap .postbox .inside{padding:15px}.wps-wrap .postbox table tr:first-child th{padding:0}.wps-wrap .postbox table tr:first-child th h3{margin-top:0}.toplevel_page_wps_overview_page .wps-wrap,.statistics_page_wps_hits_page .wps-wrap,.statistics_page_wps_online_page .wps-wrap,.statistics_page_wps_online_page .wps-wrap,.statistics_page_wps_referrers_page .wps-wrap,.statistics_page_wps_words_page .wps-wrap,.statistics_page_wps_visitors_page .wps-wrap,.statistics_page_wps_searches_page .wps-wrap,.statistics_page_wps_pages_page .wps-wrap,.statistics_page_wps_categories_page .wps-wrap,.statistics_page_wps_tags_page .wps-wrap,.statistics_page_wps_authors_page .wps-wrap,.statistics_page_wps_browser_page .wps-wrap,.statistics_page_wps_platform_page .wps-wrap,.statistics_page_wps_top-visitors_page .wps-wrap,.statistics_page_wps_optimization_page .wps-wrap,.statistics_page_wps_settings_page .wps-wrap,.statistics_page_wps_plugins_page .wps-wrap{margin:0 !important}.toplevel_page_wps_overview_page #wpcontent,.statistics_page_wps_hits_page #wpcontent,.statistics_page_wps_online_page #wpcontent,.statistics_page_wps_visitors_page #wpcontent,.statistics_page_wps_referrers_page #wpcontent,.statistics_page_wps_words_page #wpcontent,.statistics_page_wps_searches_page #wpcontent,.statistics_page_wps_pages_page #wpcontent,.statistics_page_wps_categories_page #wpcontent,.statistics_page_wps_tags_page #wpcontent,.statistics_page_wps_authors_page #wpcontent,.statistics_page_wps_browser_page #wpcontent,.statistics_page_wps_platform_page #wpcontent,.statistics_page_wps_top-visitors_page #wpcontent,.statistics_page_wps_optimization_page #wpcontent,.statistics_page_wps_settings_page #wpcontent,.statistics_page_wps_plugins_page #wpcontent{padding:0 !important}.toplevel_page_wps_overview_page #wpbody-content>.notice,.statistics_page_wps_hits_page #wpbody-content>.notice,.statistics_page_wps_online_page #wpbody-content>.notice,.statistics_page_wps_visitors_page #wpbody-content>.notice,.statistics_page_wps_referrers_page #wpbody-content>.notice,.statistics_page_wps_words_page #wpbody-content>.notice,.statistics_page_wps_searches_page #wpbody-content>.notice,.statistics_page_wps_pages_page #wpbody-content>.notice,.statistics_page_wps_categories_page #wpbody-content>.notice,.statistics_page_wps_tags_page #wpbody-content>.notice,.statistics_page_wps_authors_page #wpbody-content>.notice,.statistics_page_wps_browser_page #wpbody-content>.notice,.statistics_page_wps_platform_page #wpbody-content>.notice,.statistics_page_wps_top-visitors_page #wpbody-content>.notice,.statistics_page_wps_optimization_page #wpbody-content>.notice,.statistics_page_wps_settings_page #wpbody-content>.notice,.statistics_page_wps_plugins_page #wpbody-content>.notice{margin:20px !important}.statistics_page_wps_plugins_page .wps-wrap .notice{margin:20px !important}.wps-wrap__main .notice{margin:20px 0 !important}.wps-header-banner{width:100%;max-width:100%;background:url("../images/page-header.svg") center center/100% no-repeat;min-height:138px;display:flex;justify-content:flex-end;align-items:center;padding:0 0 20px}@media screen and (max-width: 1300px){.wps-header-banner{background:url("../images/page-header.svg") 5% center/cover no-repeat;min-height:113px;display:flex;justify-content:flex-end;align-items:center;padding:20px}}#screen-meta-links+br+.wps-wrap .wps-header-banner{transform:translateY(-31px);z-index:-1;position:relative;min-height:150px}#screen-meta-links+br+.wps-wrap .wps-wrap__main{transform:translateY(-31px)}.wps-wrap input[type="text"].small-text{padding:12px 8px !important;min-width:80px}.wps-wrap .notice:not(.hidden){padding:2px 14px;border-radius:4px;color:#242A31;font-weight:normal;font-size:14px;line-height:24px;border:1px solid #D6D6D6;box-sizing:border-box;border-left:6px solid #F2BB08;box-shadow:0px 2px 4px rgba(0,0,0,0.08);margin:10px 0 24px;display:flex;align-items:flex-start}.wps-wrap .notice::before{content:'';min-width:20px;min-height:20px;display:inline-block;vertical-align:middle;margin-right:10px;margin-top:10px;background:center center/auto no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V12.5C9 12.2239 9.22386 12 9.5 12H10.5C10.7761 12 11 12.2239 11 12.5V13.5ZM10.53 10C10.6572 10.0009 10.7647 9.90624 10.78 9.78L11.18 6.56C11.1972 6.41735 11.1523 6.27417 11.0566 6.16698C10.9609 6.05979 10.8237 5.99896 10.68 6H9.32C9.17631 5.99896 9.03912 6.05979 8.94342 6.16698C8.84771 6.27417 8.80275 6.41735 8.82 6.56L9.22 9.78C9.23526 9.90624 9.34284 10.0009 9.47 10H10.53Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-error{border-left-color:#FF0000}.wps-wrap .notice-error::before{min-width:23px;margin-right:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-info{border-left-color:#0090AD}.wps-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.wps-wrap .notice-success{border-left-color:#22BB3F}.wps-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice{border-left:0;border-right:6px solid #F2BB08}.rtl .wps-wrap .notice::before{margin-right:0;margin-left:10px}.rtl .wps-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice-danger{border-right-color:#FF0000}.rtl .wps-wrap .notice-danger::before{margin-right:0;margin-left:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice-info{border-right-color:#0090AD}.rtl .wps-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.rtl .wps-wrap .notice-success{border-right-color:#22BB3F}.rtl .wps-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wpsms-header-banner{justify-content:flex-start;align-items:center}.wpsms-header-banner .license-status{min-width:200px;padding:15px 17px;width:auto;background:#fff;box-shadow:0px 2px 4px rgba(0,0,0,0.08);border-radius:4px}.wpsms-header-banner .license-status h3{margin:0 0 5px;font-weight:600;font-size:14px;line-height:24px;letter-spacing:0.02em;text-transform:uppercase}.wpsms-header-banner .license-status span,.wpsms-header-banner .license-status a{font-weight:normal;font-size:14px;line-height:24px;color:#000;text-decoration:none;transition:0.2s;display:flex;align-items:center}.wpsms-header-banner .license-status a:hover{color:#404BF2}.wpsms-header-banner .license-status--free a::after{content:'';width:14px;height:10px;margin-left:12px;background:center center/100% no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.333008 5.33335V4.66668C0.333008 4.48259 0.482246 4.33335 0.666341 4.33335H11.4463L8.47968 1.37335C8.41657 1.31076 8.38107 1.22556 8.38107 1.13668C8.38107 1.0478 8.41657 0.962602 8.47968 0.900013L8.95301 0.433347C9.0156 0.370243 9.1008 0.334747 9.18967 0.334747C9.27855 0.334747 9.36375 0.370243 9.42634 0.433347L13.5197 4.52001C13.6135 4.61369 13.6662 4.74078 13.6663 4.87335V5.12668C13.6648 5.25896 13.6123 5.38553 13.5197 5.48001L9.42634 9.56668C9.36375 9.62978 9.27855 9.66528 9.18967 9.66528C9.1008 9.66528 9.0156 9.62978 8.95301 9.56668L8.47968 9.09335C8.41697 9.03191 8.38163 8.94781 8.38163 8.86001C8.38163 8.77222 8.41697 8.68812 8.47968 8.62668L11.4463 5.66668H0.666341C0.482246 5.66668 0.333008 5.51744 0.333008 5.33335Z' fill='black'/%3E%3C/svg%3E%0A")}.wpsms-header-banner .license-status--invalid span::before,.wpsms-header-banner .license-status--valid span::before{content:'';width:19px;height:16px;margin-right:5px;background:center center/19px 16px no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.wpsms-header-banner .license-status--valid span::before{content:'';width:19px;height:19px;margin-right:5px;background:center center/100% no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.0142 8.0389C16.7723 8.66066 16.7723 9.35048 17.0142 9.97224L17.1559 10.3806C17.6721 11.7288 17.0469 13.2456 15.7304 13.8389L15.3553 14.0056C14.74 14.2707 14.2422 14.7505 13.9549 15.3556L13.7881 15.7306C13.1946 17.0467 11.6774 17.6716 10.3287 17.1556L9.94523 17.0139C9.32327 16.7721 8.63323 16.7721 8.01127 17.0139L7.62781 17.1556C6.27912 17.6716 4.76187 17.0467 4.16836 15.7306L4.00164 15.3556C3.73645 14.7405 3.25645 14.2429 2.6512 13.9556L2.27608 13.7889C0.959569 13.1956 0.334388 11.6788 0.850617 10.3306L0.992329 9.94724C1.23424 9.32548 1.23424 8.63566 0.992329 8.0139L0.850617 7.63057C0.334388 6.28232 0.959569 4.76556 2.27608 4.17224L2.6512 4.00557C3.24775 3.73062 3.72659 3.25192 4.00164 2.65557L4.19336 2.28057C4.78753 0.951276 6.32204 0.323725 7.67783 0.85557L8.06128 0.997236C8.68324 1.23907 9.37328 1.23907 9.99524 0.997236L10.3787 0.85557C11.7274 0.339508 13.2446 0.964487 13.8382 2.28057L14.0049 2.65557C14.2799 3.25192 14.7588 3.73062 15.3553 4.00557L15.7304 4.19724C17.0469 4.79056 17.6721 6.30732 17.1559 7.65557L17.0142 8.0389ZM7.94444 11.7972L12.6293 7.1139C12.7828 6.95295 12.7828 6.69986 12.6293 6.5389L12.1875 6.09724C12.0254 5.93843 11.766 5.93843 11.604 6.09724L7.65268 10.0472L6.40228 8.80557C6.32664 8.72501 6.22104 8.6793 6.11052 8.6793C5.99999 8.6793 5.89439 8.72501 5.81875 8.80557L5.37694 9.24724C5.29804 9.32547 5.25366 9.43197 5.25366 9.54307C5.25366 9.65417 5.29804 9.76067 5.37694 9.8389L7.36092 11.7972C7.43656 11.8778 7.54216 11.9235 7.65268 11.9235C7.76321 11.9235 7.86881 11.8778 7.94444 11.7972Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wpsms-header-banner .license-status span::before{margin-left:5px;margin-right:0}.wps-wrap .postbox{background:#FFFFFF;border:0;box-shadow:0px 2px 4px rgba(0,0,0,0.08);border-radius:2px}.wps-wrap .postbox-header{border-bottom:1px solid #E7E7E7}.wps-wrap .thickbox.button,.wps-wrap .button{background:#fff;border:1px solid #D6D6D6;box-sizing:border-box;box-shadow:0px 2px 4px rgba(0,0,0,0.05);border-radius:2px;color:#000;transition:0.2s;margin:10px 0}.wps-wrap .wpsms-button-group{margin-top:20px}.wps-wrap .button:hover{background:#fff;border-color:#404BF2;color:#000}.wps-wrap .button,.wps-wrap .thickbox.button{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 24px;border-radius:2px;transition:0.2s}.rtl .wps-wrap .button{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 16px;border-radius:2px;transition:0.2s}.wps-wrap .button:disabled{background-color:#808080 !important}.wps-wrap .button-primary{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 24px;border-radius:2px;transition:0.2s;background:#404BF2;border-color:#404BF2;color:#fff !important;margin:10px 0}.wps-wrap textarea{max-width:calc(100% - 45px)}.wps-wrap .button-primary:hover{background-color:#1E27BF;border-color:#1E27BF}.wps-wrap .button:focus{background-color:#fff;border-color:#1E27BF;color:#000 !important;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent}.wps-wrap .button-primary:focus{background-color:#1E27BF;border-color:#1E27BF;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent;color:#fff !important}.wps-wrap input[type="checkbox"]:focus{box-shadow:none !important;outline:unset !important}.wps-wrap input[type="text"],.wps-wrap input[type="number"],.chosen-container-multi .chosen-choices,.wps-wrap select{padding:12px 16px !important;font-weight:normal;font-size:14px;line-height:20px;border:1px solid #5B5B5B !important;box-sizing:border-box;border-radius:2px}.wps-wrap select{padding:12px 24px 12px 8px !important}.rtl .wps-wrap select{padding:12px 8px 12px 24px !important}.wps-wrap input[type="text"]:focus,.wps-wrap input[type="number"]:focus,.wps-wrap select:focus{border-color:#404BF2;box-shadow:0 0 0 1px #404BF2;outline:2px solid transparent}.wps-wrap input[type="text"]::placeholder,.wps-wrap input[type="number"]::placeholder,.wps-wrap select::placeholder{font-weight:normal;font-size:14px;line-height:20px;color:#000000}.wps-wrap input[type="checkbox"],.wps-wrap input[type="radio"]{background:#fff;width:24px;height:24px;border-radius:2px;border:1px solid #5B5B5B !important;transition:0.2s}.wps-wrap input[type="radio"]{border-radius:50%;transition:0.2s}.wps-wrap input[type="radio"]:checked{background-color:#404AF2 !important;border-color:#404AF2 !important}.wps-wrap input[type="radio"]:checked::before{background-color:#fff !important;transition:0.2s;width:10px;height:10px;margin:.38rem !important}.wps-wrap input[type="checkbox"]:hover{border-color:#404BF2 !important}.wps-wrap input[type="checkbox"]:checked{background:#404BF2;border-color:#404BF2 !important}.wps-wrap input[type="checkbox"]:checked::before{margin:-.07rem 0 0 -.12rem !important;content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E") !important;height:1.5rem !important;width:1.5rem !important}.wps-wrap .btn-danger:hover{background:#c20000 !important;background-color:#c20000;border-color:#990000 !important;color:#fff}.wps-wrap .wps-inline select{padding:12px 24px 12px 16px !important}.wps-wrap .wp-statistics-sub-fullwidth input{padding:6px !important}.wps-wrap .wp-statistics-sub-fullwidth .button-primary{padding:7px 14px !important}.wps-wrap .meta-box-sortables .inside{padding:15px !important}.wps-wrap .meta-box-sortables .inside-no-padding{margin-bottom:20px;display:flex}.statistics_page_wps_categories_page .wps-wrap .postbox,.statistics_page_wps_tags_page .wps-wrap .postbox,.statistics_page_wps_authors_page .wps-wrap .postbox,.statistics_page_wps_pages_page .wps-wrap .postbox{padding:10px 3px !important}.statistics_page_wps_optimization_page .wps-wrap .postbox,.statistics_page_wps_settings_page .wps-wrap .postbox,.-d8-a2-d9-85-d8-a7-d8-b1_page_wps_settings_page .wps-wrap .postbox{padding:15px}.wps-wrap .btn-danger{background:rgba(186,0,0,0.74) !important;border-color:rgba(170,0,0,0.77) rgba(153,0,0,0.74) rgba(153,0,0,0.74) !important;box-shadow:0 1px 0 rgba(153,0,0,0.74);color:#fff;text-decoration:none;padding:12px 16px !important;text-shadow:0 -1px 1px rgba(153,0,0,0.74),1px 0 1px rgba(153,0,0,0.74),0 1px 1px rgba(153,0,0,0.74),-1px 0 1px rgba(153,0,0,0.74)}.wps-wrap #wps-plugins-support .button{padding:12px !important;margin-top:8px}.wps-wrap ul.tabs{background-color:#fff;margin-bottom:10px;box-shadow:0px 2px 4px rgba(0,0,0,0.08);padding:0 20px;display:flex}.wps-wrap ul.tabs li{border:0;border-bottom:4px solid transparent !important;padding:20px 8px;margin-right:8px;transition:0.2s;color:#4A4A4A;font-weight:600;font-size:14px;line-height:24px;letter-spacing:0.02em;text-transform:capitalize;word-break:keep-all;white-space:nowrap}.wps-wrap ul.tabs li:hover{color:#000}.wps-wrap ul.tabs li.current{border:0;border-bottom-color:#404BF2 !important;padding:20px 8px;color:#000}@media screen and (max-width: 1460px){.wps-wrap ul.tabs{overflow-x:scroll}}.wp-statistics-settings #update_geoip{padding:5px 15px}.wps-wrap #poststuff .postbox-container{margin-top:0 !important}.wps-widgets-settings-wrap #tab_container,.wps-mini-chart-settings-wrap #tab_container,.wps-rest-api-settings-wrap #tab_container,.wps-realtime-stats-settings-wrap #tab_container{background-color:#fff;padding:15px;box-shadow:0px 2px 4px rgba(0,0,0,0.08)}.wps-widgets-settings-wrap .nav-tab-wrapper,.wps-mini-chart-settings-wrap .nav-tab-wrapper,.wps-rest-api-settings-wrap .nav-tab-wrapper,.wps-realtime-stats-settings-wrap .nav-tab-wrapper{padding-top:0 !important}.wps-rest-api-settings-wrap .nav-tab-wrapper .nav-tab-active,.wps-widgets-settings-wrap .nav-tab-wrapper .nav-tab-active,.wps-mini-chart-settings-wrap .nav-tab-wrapper .nav-tab-active,.wps-realtime-stats-settings-wrap .nav-tab-wrapper .nav-tab-active{background-color:#fff;border-bottom-color:#fff}.wps-widgets-settings-wrap .nav-tab-wrapper,.wps-mini-chart-settings-wrap .nav-tab-wrapper,.wps-rest-api-settings-wrap .nav-tab-wrapper,.wps-realtime-stats-settings-wrap .nav-tab-wrapper{background-color:#fff;margin:20px 0 !important;box-shadow:0px 2px 4px rgba(0,0,0,0.08);padding:0 15px;display:flex;border:none !important}.wps-widgets-settings-wrap .nav-tab-wrapper a,.wps-mini-chart-settings-wrap .nav-tab-wrapper a,.wps-rest-api-settings-wrap .nav-tab-wrapper a,.wps-realtime-stats-settings-wrap .nav-tab-wrapper a{border:0;border-top:4px solid transparent !important;border-bottom:4px solid transparent !important;padding:20px 8px;margin-right:8px;transition:0.2s;color:#4A4A4A;font-weight:600;font-size:14px;line-height:19px;letter-spacing:0.02em;text-transform:capitalize;word-break:keep-all;white-space:nowrap;background-color:transparent !important}.wps-widgets-settings-wrap .nav-tab-wrapper a:hover,.wps-mini-chart-settings-wrap .nav-tab-wrapper a:hover,.wps-rest-api-settings-wrap .nav-tab-wrapper a:hover,.wps-realtime-stats-settings-wrap .nav-tab-wrapper a:hover{color:#000}.wps-widgets-settings-wrap .nav-tab-wrapper a.nav-tab-active,.wps-mini-chart-settings-wrap .nav-tab-wrapper a.nav-tab-active,.wps-rest-api-settings-wrap .nav-tab-wrapper a.nav-tab-active,.wps-realtime-stats-settings-wrap .nav-tab-wrapper a.nav-tab-active{border:0;border-bottom-color:#404BF2 !important;padding:20px 8px;color:#000}.wps-widgets-settings-wrap input[type="checkbox"],.wps-widgets-settings-wrap input[type="radio"],.wps-mini-chart-settings-wrap input[type="checkbox"],.wps-mini-chart-settings-wrap input[type="radio"],.wps-rest-api-settings-wrap input[type="checkbox"],.wps-rest-api-settings-wrap input[type="radio"],.wps-realtime-stats-settings-wrap input[type="checkbox"],.wps-realtime-stats-settings-wrap input[type="radio"]{background:#fff;width:24px;height:24px;border-radius:2px;border:1px solid #5B5B5B !important;transition:0.2s}.wps-widgets-settings-wrap input[type="radio"],.wps-mini-chart-settings-wrap input[type="radio"],.wps-rest-api-settings-wrap input[type="radio"],.wps-realtime-stats-settings-wrap input[type="radio"]{border-radius:50%;transition:0.2s}.wps-widgets-settings-wrap input[type="radio"]:checked,.wps-mini-chart-settings-wrap input[type="radio"]:checked,.wps-rest-api-settings-wrap input[type="radio"]:checked,.wps-realtime-stats-settings-wrap input[type="radio"]:checked{background-color:#404AF2 !important;border-color:#404AF2 !important}.wps-widgets-settings-wrap input[type="radio"]:checked::before,.wps-mini-chart-settings-wrap input[type="radio"]:checked::before,.wps-rest-api-settings-wrap input[type="radio"]:checked::before,.wps-realtime-stats-settings-wrap input[type="radio"]:checked::before{background-color:#fff !important;transition:0.2s;width:10px;height:10px;margin:.38rem !important}.wps-widgets-settings-wrap input[type="checkbox"]:hover,.wps-mini-chart-settings-wrap input[type="checkbox"]:hover,.wps-rest-api-settings-wrap input[type="checkbox"]:hover,.wps-realtime-stats-settings-wrap input[type="checkbox"]:hover{border-color:#404BF2 !important}.wps-widgets-settings-wrap input[type="checkbox"]:checked,.wps-mini-chart-settings-wrap input[type="checkbox"]:checked,.wps-rest-api-settings-wrap input[type="checkbox"]:checked,.wps-realtime-stats-settings-wrap input[type="checkbox"]:checked{background:#404BF2;border-color:#404BF2 !important}.wps-widgets-settings-wrap input[type="checkbox"]:checked::before,.wps-mini-chart-settings-wrap input[type="checkbox"]:checked::before,.wps-rest-api-settings-wrap input[type="checkbox"]:checked::before,.wps-realtime-stats-settings-wrap input[type="checkbox"]:checked::before{margin:-.07rem 0 0 -.12rem !important;content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E") !important;height:1.5rem !important;width:1.5rem !important}.wps-widgets-settings-wrap .thickbox.button,.wps-widgets-settings-wrap .button,.wps-widgets-settings-wrap input[type="button"],.wps-mini-chart-settings-wrap .thickbox.button,.wps-mini-chart-settings-wrap .button,.wps-mini-chart-settings-wrap input[type="button"],.wps-rest-api-settings-wrap .thickbox.button,.wps-rest-api-settings-wrap .button,.wps-rest-api-settings-wrap input[type="button"],.wps-realtime-stats-settings-wrap .thickbox.button,.wps-realtime-stats-settings-wrap .button,.wps-realtime-stats-settings-wrap input[type="button"]{background:#fff;border:1px solid #D6D6D6;box-sizing:border-box;box-shadow:0px 2px 4px rgba(0,0,0,0.05);border-radius:2px;color:#000;transition:0.2s}.wps-widgets-settings-wrap .wpsms-button-group,.wps-mini-chart-settings-wrap .wpsms-button-group,.wps-rest-api-settings-wrap .wpsms-button-group,.wps-realtime-stats-settings-wrap .wpsms-button-group{margin-top:20px}.wps-widgets-settings-wrap .button:hover,.wps-widgets-settings-wrap input[type="button"]:hover,.wps-mini-chart-settings-wrap .button:hover,.wps-mini-chart-settings-wrap input[type="button"]:hover,.wps-rest-api-settings-wrap .button:hover,.wps-rest-api-settings-wrap input[type="button"]:hover,.wps-realtime-stats-settings-wrap .button:hover,.wps-realtime-stats-settings-wrap input[type="button"]:hover{background:#fff;border-color:#404BF2;color:#000}.wps-widgets-settings-wrap .button,.wps-widgets-settings-wrap input[type="button"],.wps-widgets-settings-wrap .thickbox.button,.wps-mini-chart-settings-wrap .button,.wps-mini-chart-settings-wrap input[type="button"],.wps-mini-chart-settings-wrap .thickbox.button,.wps-rest-api-settings-wrap .button,.wps-rest-api-settings-wrap input[type="button"],.wps-rest-api-settings-wrap .thickbox.button,.wps-realtime-stats-settings-wrap .button,.wps-realtime-stats-settings-wrap input[type="button"],.wps-realtime-stats-settings-wrap .thickbox.button{font-weight:600 !important;font-size:14px;line-height:17px;padding:14px 24px;border-radius:2px;transition:0.2s}.rtl .wps-widgets-settings-wrap .button,.rtl .wps-mini-chart-settings-wrap .button,.rtl .wps-rest-api-settings-wrap .button,.rtl .wps-realtime-stats-settings-wrap .button{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 16px;border-radius:2px;transition:0.2s}.wps-widgets-settings-wrap .button:disabled,.wps-mini-chart-settings-wrap .button:disabled,.wps-rest-api-settings-wrap .button:disabled,.wps-realtime-stats-settings-wrap-wrap .button:disabled{background-color:#808080 !important}.wps-widgets-settings-wrap .button-primary,.wps-mini-chart-settings-wrap .button-primary,.wps-rest-api-settings-wrap .button-primary,.wps-realtime-stats-settings-wrap .button-primary{font-weight:600 !important;font-size:14px;line-height:17px;padding:15px 24px;border-radius:2px;transition:0.2s;background:#404BF2;border-color:#404BF2;color:#fff !important}.wps-widgets-settings-wrap textarea,.wps-mini-chart-settings-wrap textarea,.wps-rest-api-settings-wrap textarea,.wps-realtime-stats-settings-wrap textarea{max-width:calc(100% - 45px)}.wps-widgets-settings-wrap .button-primary:hover,.wps-mini-chart-settings-wrap .button-primary:hover,.wps-rest-api-settings-wrap .button-primary:hover,.wps-realtime-stats-settings-wrap .button-primary:hover{background-color:#1E27BF;border-color:#1E27BF}.wps-widgets-settings-wrap .button:focus,.wps-widgets-settings-wrap input[type="button"]:focus,.wps-mini-chart-settings-wrap .button:focus,.wps-mini-chart-settings-wrap input[type="button"]:focus,.wps-rest-api-settings-wrap .button:focus,.wps-rest-api-settings-wrap input[type="button"]:focus,.wps-realtime-stats-settings-wrap .button:focus,.wps-realtime-stats-settings-wrap input[type="button"]:focus{background-color:#fff;border-color:#1E27BF;color:#000 !important;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent}.wps-widgets-settings-wrap .button-primary:focus,.wps-mini-chart-settings-wrap .button-primary:focus,.wps-rest-api-settings-wrap .button-primary:focus,.wps-realtime-stats-settings-wrap .button-primary:focus{background-color:#1E27BF;border-color:#1E27BF;box-shadow:0 0 0 1px #1E27BF;outline:2px solid transparent;color:#fff !important}.wps-widgets-settings-wrap input[type="text"],.wps-widgets-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-widgets-settings-wrap .chosen-container-multi .chosen-choices,.wps-widgets-settings-wrap select,.wps-mini-chart-settings-wrap input[type="text"],.wps-mini-chart-settings-wrap input[type="number"],.wps-mini-chart-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices,.wps-mini-chart-settings-wrap select,.wps-rest-api-settings-wrap input[type="text"],.wps-rest-api-settings-wrap input[type="number"],.wps-rest-api-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices,.wps-rest-api-settings-wrap select,.wps-realtime-stats-settings-wrap input[type="text"],.wps-realtime-stats-settings-wrap input[type="number"],.wps-rest-api-settings-wrap input[type="date"],.wps-widgets-settings-wrap input[type="number"],.wps-realtime-stats-settings-wrap .chosen-container-multi .chosen-choices,.wps-realtime-stats-settings-wrap select{padding:12px 16px !important;font-weight:normal;font-size:14px;line-height:20px;border:1px solid #5B5B5B !important;box-sizing:border-box;border-radius:2px}.wps-mini-chart-settings-wrap input[type="number"],.wps-rest-api-settings-wrap input[type="number"],.wps-realtime-stats-settings-wrap input[type="number"]{padding-right:2px !important}.wps-widgets-settings-wrap .button.insert-media.add_media,.wps-mini-chart-settings-wrap .button.insert-media.add_media,.wps-rest-api-settings-wrap .button.insert-media.add_media,.wps-realtime-stats-settings-wrap .button.insert-media.add_media{padding:3px 12px !important}.wps-widgets-settings-wrap select,.wps-mini-chart-settings-wrap select,.wps-realtime-stats-settings-wrap select{padding:12px 24px 12px 14px !important}.wps-widgets-settings-wrap input[type="text"]+.button,.wps-mini-chart-settings-wrap input[type="text"]+.button,.wps-rest-api-settings-wrap input[type="text"]+.button,.wps-realtime-stats-settings-wrap input[type="text"]+.button{margin-left:5px}.wps-wrap .notice .notice-dismiss,.wps-widgets-settings-wrap .notice .notice-dismiss,.wps-mini-chart-settings-wrap .notice .notice-dismiss,.wps-rest-api-settings-wrap .notice .notice-dismiss,.wps-realtime-stats-settings-wrap .notice .notice-dismiss{margin-top:5.5px}.wps-wrap .notice .notice-dismiss::before,.wps-widgets-settings-wrap .notice .notice-dismiss::before,.wps-mini-chart-settings-wrap .notice .notice-dismiss::before,.wps-rest-api-settings-wrap .notice .notice-dismiss::before,.wps-realtime-stats-settings-wrap .notice .notice-dismiss::before{font-size:20px}.wps-widgets-settings-wrap .notice,.wps-mini-chart-settings-wrap .notice,.wps-rest-api-settings-wrap .notice,.wps-realtime-stats-settings-wrap .notice{padding:2px 14px;border-radius:4px;color:#242A31;font-weight:normal;font-size:14px;line-height:24px;border:1px solid #D6D6D6;box-sizing:border-box;border-left:6px solid #F2BB08;box-shadow:0px 2px 4px rgba(0,0,0,0.08);margin:10px 0 24px;display:flex;align-items:flex-start}.wps-widgets-settings-wrap .notice::before,.wps-mini-chart-settings-wrap .notice::before,.wps-rest-api-settings-wrap .notice::before,.wps-realtime-stats-settings-wrap .notice::before{content:'';min-width:20px;min-height:20px;display:inline-block;vertical-align:middle;margin-right:10px;margin-top:10px;background:center center/auto no-repeat;background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V12.5C9 12.2239 9.22386 12 9.5 12H10.5C10.7761 12 11 12.2239 11 12.5V13.5ZM10.53 10C10.6572 10.0009 10.7647 9.90624 10.78 9.78L11.18 6.56C11.1972 6.41735 11.1523 6.27417 11.0566 6.16698C10.9609 6.05979 10.8237 5.99896 10.68 6H9.32C9.17631 5.99896 9.03912 6.05979 8.94342 6.16698C8.84771 6.27417 8.80275 6.41735 8.82 6.56L9.22 9.78C9.23526 9.90624 9.34284 10.0009 9.47 10H10.53Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-warning::before,.wps-mini-chart-settings-wrap .notice-warning::before,.wps-rest-api-settings-wrap .notice-warning::before,.wps-realtime-stats-settings-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-error,.wps-mini-chart-settings-wrap .notice-error,.wps-rest-api-settings-wrap .notice-error,.wps-realtime-stats-settings-wrap .notice-error{border-left-color:#FF0000}.wps-widgets-settings-wrap .notice-error::before,.wps-mini-chart-settings-wrap .notice-error::before,.wps-rest-api-settings-wrap .notice-error::before,.wps-realtime-stats-settings-wrap .notice-error::before{min-width:23px;margin-right:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-info,.wps-mini-chart-settings-wrap .notice-info,.wps-rest-api-settings-wrap .notice-info,.wps-realtime-stats-settings-wrap .notice-info{border-left-color:#0090AD}.wps-widgets-settings-wrap .notice-info::before,.wps-mini-chart-settings-wrap .notice-info::before,.wps-rest-api-settings-wrap .notice-info::before,.wps-realtime-stats-settings-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.wps-widgets-settings-wrap .notice-success,.wps-mini-chart-settings-wrap .notice-success,.wps-rest-api-settings-wrap .notice-success,.wps-realtime-stats-settings-wrap .notice-success{border-left-color:#22BB3F}.wps-widgets-settings-wrap .notice-success::before,.wps-mini-chart-settings-wrap .notice-success::before,.wps-rest-api-settings-wrap .notice-success::before,.wps-realtime-stats-settings-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice,.rtl .wps-mini-chart-settings-wrap .notice,.rtl .wps-rest-api-settings-wrap .notice,.rtl .wps-realtime-stats-settings-wrap .notice{border-left:0;border-right:6px solid #F2BB08}.rtl .wps-widgets-settings-wrap .notice::before,.rtl .wps-mini-chart-settings-wrap .notice::before,.rtl .wps-rest-api-settings-wrap .notice::before,.rtl .wps-realtime-stats-settings-wrap .notice::before{margin-right:0;margin-left:10px}.rtl .wps-widgets-settings-wrap .notice-warning::before,.rtl .wps-mini-chart-settings-wrap .notice-warning::before,.rtl .wps-rest-api-settings-wrap .notice-warning::before,.rtl .wps-realtime-stats-settings-wrap .notice-warning::before{background-image:url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.88 12.88L15.71 13.71C15.8947 13.8963 15.9989 14.1477 16 14.41V15C16 15.5523 15.5523 16 15 16H1C0.447715 16 0 15.5523 0 15V14.41C0.00110462 14.1477 0.105256 13.8963 0.29 13.71L1.12 12.88C1.68277 12.3179 1.9993 11.5554 2 10.76V8C2 6.70178 2.42107 5.43858 3.2 4.4L4.1 3.2C4.66656 2.44458 5.55573 2 6.5 2H7V0.5C7 0.223858 7.22386 0 7.5 0H8.5C8.77614 0 9 0.223858 9 0.5V2H9.5C10.4443 2 11.3334 2.44458 11.9 3.2L12.8 4.4C13.5789 5.43858 14 6.70178 14 8V10.76C14.0007 11.5554 14.3172 12.3179 14.88 12.88ZM8 20C9.10457 20 10 19.1046 10 18H6C6 19.1046 6.89543 20 8 20Z' fill='%23F2BB08'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice-danger,.rtl .wps-mini-chart-settings-wrap .notice-danger,.rtl .wps-rest-api-settings-wrap .notice-danger,.rtl .wps-realtime-stats-settings-wrap .notice-danger{border-right-color:#FF0000}.rtl .wps-widgets-settings-wrap .notice-danger::before,.rtl .wps-mini-chart-settings-wrap .notice-danger::before,.rtl .wps-rest-api-settings-wrap .notice-danger::before,.rtl .wps-realtime-stats-settings-wrap .notice-danger::before{margin-right:0;margin-left:8px;background-image:url("data:image/svg+xml,%3Csvg width='23' height='19' viewBox='0 0 23 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.9055 17.63L11.8131 0.37C11.6763 0.141211 11.4296 0.0008087 11.163 0H10.8629C10.5963 0.0008087 10.3496 0.141211 10.2127 0.37L0.100349 17.63C-0.0295434 17.8667 -0.0295434 18.1533 0.100349 18.39L0.240382 18.62C0.370004 18.8573 0.620158 19.0035 0.890536 19H21.1153C21.3857 19.0035 21.6359 18.8573 21.7655 18.62L21.9055 18.39C22.0354 18.1533 22.0354 17.8667 21.9055 17.63ZM12.0032 14.5C12.0032 14.7761 11.7793 15 11.503 15H10.5028C10.2266 15 10.0027 14.7761 10.0027 14.5V13.5C10.0027 13.2239 10.2266 13 10.5028 13H11.503C11.7793 13 12.0032 13.2239 12.0032 13.5V14.5ZM11.5331 11C11.6602 11.0009 11.7679 10.9062 11.7831 10.78L12.1832 7.56C12.2005 7.41735 12.1555 7.27417 12.0598 7.16698C11.964 7.05979 11.8268 6.99896 11.6831 7H10.3228C10.179 6.99896 10.0418 7.05979 9.9461 7.16698C9.85037 7.27417 9.8054 7.41735 9.82265 7.56L10.2227 10.78C10.238 10.9062 10.3456 11.0009 10.4728 11H11.5331Z' fill='%23FF0000'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice-info,.rtl .wps-mini-chart-settings-wrap .notice-info,.rtl .wps-rest-api-settings-wrap .notice-info,.rtl .wps-realtime-stats-settings-wrap .notice-info{border-right-color:#0090AD}.rtl .wps-widgets-settings-wrap .notice-info::before,.rtl .wps-mini-chart-settings-wrap .notice-info::before,.rtl .wps-rest-api-settings-wrap .notice-info::before,.rtl .wps-realtime-stats-settings-wrap .notice-info::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 7.34784 18.9464 4.8043 17.0711 2.92893C15.1957 1.05357 12.6522 0 10 0ZM11 13.5C11 13.7761 10.7761 14 10.5 14H9.5C9.22386 14 9 13.7761 9 13.5V10.5C9 10.2239 9.22386 10 9.5 10H10.5C10.7761 10 11 10.2239 11 10.5V13.5ZM10.5 8C10.7761 8 11 7.77614 11 7.5V6.5C11 6.22386 10.7761 6 10.5 6H9.5C9.22386 6 9 6.22386 9 6.5V7.5C9 7.77614 9.22386 8 9.5 8H10.5Z' fill='%230090AD'/%3E%3C/svg%3E%0A")}.rtl .wps-widgets-settings-wrap .notice-success,.rtl .wps-mini-chart-settings-wrap .notice-success,.rtl .wps-rest-api-settings-wrap .notice-success,.rtl .wps-realtime-stats-settings-wrap .notice-success{border-right-color:#22BB3F}.rtl .wps-widgets-settings-wrap .notice-success::before,.rtl .wps-mini-chart-settings-wrap .notice-success::before,.rtl .wps-rest-api-settings-wrap .notice-success::before,.rtl .wps-realtime-stats-settings-wrap .notice-success::before{background-image:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 10C0 4.47715 4.47715 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM8.73 13.35L14.35 7.73C14.5341 7.53685 14.5341 7.23315 14.35 7.04L13.82 6.51C13.6256 6.31943 13.3144 6.31943 13.12 6.51L8.38 11.25L6.88 9.76C6.78927 9.66332 6.66259 9.60848 6.53 9.60848C6.39741 9.60848 6.27073 9.66332 6.18 9.76L5.65 10.29C5.55534 10.3839 5.5021 10.5117 5.5021 10.645C5.5021 10.7783 5.55534 10.9061 5.65 11L8.03 13.35C8.12073 13.4467 8.24741 13.5015 8.38 13.5015C8.51259 13.5015 8.63927 13.4467 8.73 13.35Z' fill='%2322BB3F'/%3E%3C/svg%3E%0A")}.wps-mini-chart-settings-wrap input[type="text"].wp-color-picker,.wps-rest-api-settings-wrap input[type="text"].wp-color-picker,.wps-realtime-stats-settings-wrap input[type="text"].wp-color-picker{padding:2px 3px !important}.wps-wrap label{color:#000}.wps-wrap td .description{margin-top:12px !important;color:#5B5B5B}.wps-wrap select+input[type="submit"],.wps-wrap select+button{margin-left:4px}
assets/css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- #wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before{content:'\f184';top:2px}
1
+ #wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before{content:'\f184';top:2px}#wp-admin-bar-wp-statistics-menu-page{text-align:center}#wp-admin-bar-wp-statistics-menu-page .ab-item{height:auto !important}#wp-admin-bar-wp-statistics-menu-page a{padding-bottom:4px !important}#wp-admin-bar-wp-statistics-menu-page a img{max-width:200px}#wp-admin-bar-wp-statistics-menu-page .wps-admin-bar__chart__unlock-button{background-color:#2f5a82;padding:1px 0px;color:#ffffff;line-height:21px;font-size:12px;border-radius:2px;display:table;margin:0 auto;width:100%}
assets/dev/javascript/helper.js CHANGED
@@ -83,6 +83,9 @@ wps_js.line_chart = function (tag_id, title, label, data) {
83
  mode: 'index',
84
  intersect: false,
85
  },
 
 
 
86
  scales: {
87
  yAxes: [{
88
  ticks: {
83
  mode: 'index',
84
  intersect: false,
85
  },
86
+ interaction: {
87
+ intersect: false,
88
+ },
89
  scales: {
90
  yAxes: [{
91
  ticks: {
assets/dev/javascript/meta-box/browsers.js CHANGED
@@ -56,9 +56,9 @@ wps_js.browsers_meta_box = {
56
  let tbl = `<div class="title-center">${args.title}</div>
57
  <table width="100%" class="widefat table-stats">
58
  <tr>
59
- <td class="wps-text-danger">${wps_js._('browser')}</td>
60
- <td class="wps-text-danger">${wps_js._('visitor_count')}</td>
61
- <td class="wps-text-danger">${wps_js._('percentage')}</td>
62
  </tr>`;
63
 
64
  for (let i = 0; i < args.browsers_name.length; i++) {
@@ -168,9 +168,9 @@ wps_js.show_custom_agent = function (args) {
168
  let tbl = `<div class="title-center">${args.title}</div>
169
  <table width="100%" class="widefat table-stats">
170
  <tr>
171
- <td class="wps-text-danger">${wps_js._('version_list')}</td>
172
- <td class="wps-text-danger">${wps_js._('visitor_count')}</td>
173
- <td class="wps-text-danger">${wps_js._('percentage')}</td>
174
  </tr>`;
175
 
176
  for (let i = 0; i < args.browsers_name.length; i++) {
56
  let tbl = `<div class="title-center">${args.title}</div>
57
  <table width="100%" class="widefat table-stats">
58
  <tr>
59
+ <td class="wps-text-muted">${wps_js._('browser')}</td>
60
+ <td class="wps-text-muted">${wps_js._('visitor_count')}</td>
61
+ <td class="wps-text-muted">${wps_js._('percentage')}</td>
62
  </tr>`;
63
 
64
  for (let i = 0; i < args.browsers_name.length; i++) {
168
  let tbl = `<div class="title-center">${args.title}</div>
169
  <table width="100%" class="widefat table-stats">
170
  <tr>
171
+ <td class="wps-text-muted">${wps_js._('version_list')}</td>
172
+ <td class="wps-text-muted">${wps_js._('visitor_count')}</td>
173
+ <td class="wps-text-muted">${wps_js._('percentage')}</td>
174
  </tr>`;
175
 
176
  for (let i = 0; i < args.browsers_name.length; i++) {
assets/dev/javascript/meta-box/exclusions.js CHANGED
@@ -57,7 +57,8 @@ wps_js.exclusions_meta_box = {
57
  backgroundColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '0.3)',
58
  borderColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '1)',
59
  borderWidth: 1,
60
- fill: true
 
61
  });
62
 
63
  // Push to Table List
57
  backgroundColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '0.3)',
58
  borderColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '1)',
59
  borderWidth: 1,
60
+ fill: true,
61
+ tension: 0.4
62
  });
63
 
64
  // Push to Table List
assets/dev/javascript/meta-box/hits.js CHANGED
@@ -61,7 +61,8 @@ wps_js.hits_meta_box = {
61
  backgroundColor: 'rgba(255, 99, 132, 0.2)',
62
  borderColor: 'rgba(255, 99, 132, 1)',
63
  borderWidth: 1,
64
- fill: true
 
65
  });
66
  }
67
  if (wps_js.is_active('visits')) {
@@ -71,7 +72,8 @@ wps_js.hits_meta_box = {
71
  backgroundColor: 'rgba(54, 162, 235, 0.2)',
72
  borderColor: 'rgba(54, 162, 235, 1)',
73
  borderWidth: 1,
74
- fill: true
 
75
  });
76
  }
77
  wps_js.line_chart(tag_id, params['title'], params['date'], datasets);
61
  backgroundColor: 'rgba(255, 99, 132, 0.2)',
62
  borderColor: 'rgba(255, 99, 132, 1)',
63
  borderWidth: 1,
64
+ fill: true,
65
+ tension: 0.4
66
  });
67
  }
68
  if (wps_js.is_active('visits')) {
72
  backgroundColor: 'rgba(54, 162, 235, 0.2)',
73
  borderColor: 'rgba(54, 162, 235, 1)',
74
  borderWidth: 1,
75
+ fill: true,
76
+ tension: 0.4
77
  });
78
  }
79
  wps_js.line_chart(tag_id, params['title'], params['date'], datasets);
assets/dev/javascript/meta-box/pages-chart.js CHANGED
@@ -29,7 +29,8 @@ wps_js.pages_chart_meta_box = {
29
  backgroundColor: 'rgba(54, 162, 235, 0.2)',
30
  borderColor: 'rgba(54, 162, 235, 1)',
31
  borderWidth: 1,
32
- fill: true
 
33
  }]);
34
  }
35
  };
29
  backgroundColor: 'rgba(54, 162, 235, 0.2)',
30
  borderColor: 'rgba(54, 162, 235, 1)',
31
  borderWidth: 1,
32
+ fill: true,
33
+ tension: 0.4
34
  }]);
35
  }
36
  };
assets/dev/javascript/meta-box/pages.js CHANGED
@@ -16,7 +16,7 @@ wps_js.pages_meta_box = {
16
  <td style='text-align: left;'>${i}</td>
17
  <td style='text-align: left;'><span title='${value['title']}' class='wps-cursor-default wps-text-wrap'>${value['title']}</span></td>
18
  <td style='text-align: left;'><a href="${value['link']}" title="${value['title']}" target="_blank">${value['str_url']}</a></td>
19
- <td style="text-align: left"><a href="${value['hits_page']}" class="wps-text-danger">${value['number']}</a></td>
20
  </tr>`;
21
  i++;
22
  });
16
  <td style='text-align: left;'>${i}</td>
17
  <td style='text-align: left;'><span title='${value['title']}' class='wps-cursor-default wps-text-wrap'>${value['title']}</span></td>
18
  <td style='text-align: left;'><a href="${value['link']}" title="${value['title']}" target="_blank">${value['str_url']}</a></td>
19
+ <td style="text-align: left"><a href="${value['hits_page']}" class="wps-text-muted">${value['number']}</a></td>
20
  </tr>`;
21
  i++;
22
  });
assets/dev/javascript/meta-box/platforms.js CHANGED
@@ -38,7 +38,8 @@ wps_js.platforms_meta_box = {
38
  let data = [{
39
  label: wps_js._('platform'),
40
  data: args['platform_value'],
41
- backgroundColor: backgroundColor
 
42
  }];
43
 
44
  // Show Chart
@@ -56,9 +57,9 @@ wps_js.platforms_meta_box = {
56
  let tbl = `<div class="title-center">${args.title}</div>
57
  <table width="100%" class="widefat table-stats">
58
  <tr>
59
- <td class="wps-text-danger">${wps_js._('platform')}</td>
60
- <td class="wps-text-danger">${wps_js._('visitor_count')}</td>
61
- <td class="wps-text-danger">${wps_js._('percentage')}</td>
62
  </tr>`;
63
 
64
  for (let i = 0; i < args.platform_name.length; i++) {
38
  let data = [{
39
  label: wps_js._('platform'),
40
  data: args['platform_value'],
41
+ backgroundColor: backgroundColor,
42
+ tension: 0.4
43
  }];
44
 
45
  // Show Chart
57
  let tbl = `<div class="title-center">${args.title}</div>
58
  <table width="100%" class="widefat table-stats">
59
  <tr>
60
+ <td class="wps-text-muted">${wps_js._('platform')}</td>
61
+ <td class="wps-text-muted">${wps_js._('visitor_count')}</td>
62
+ <td class="wps-text-muted">${wps_js._('percentage')}</td>
63
  </tr>`;
64
 
65
  for (let i = 0; i < args.platform_name.length; i++) {
assets/dev/javascript/meta-box/post.js CHANGED
@@ -5,7 +5,7 @@ wps_js.post_meta_box = {
5
  },
6
 
7
  view: function (args = []) {
8
- return (args.hasOwnProperty('content') ? '<div class="wps-center" style="padding: 15px;"> ' + args['content'] + '</div>' : '<canvas id="' + wps_js.chart_id('post') + '" height="85"></canvas>');
9
  },
10
 
11
  meta_box_init: function (args = []) {
@@ -23,7 +23,8 @@ wps_js.post_meta_box = {
23
  backgroundColor: 'rgba(255, 99, 132, 0.2)',
24
  borderColor: 'rgba(255, 99, 132, 1)',
25
  borderWidth: 1,
26
- fill: true
 
27
  }]);
28
  }
29
  };
5
  },
6
 
7
  view: function (args = []) {
8
+ return (args.hasOwnProperty('content') ? '<div class="wps-center" style="padding: 15px;"> ' + args['content'] + '</div>' : '<canvas id="' + wps_js.chart_id('post') + '" height="85"></canvas>') + '<div class="wps-wrap wps-meta-box-footer">' + args['visitors'] + '</div>';
9
  },
10
 
11
  meta_box_init: function (args = []) {
23
  backgroundColor: 'rgba(255, 99, 132, 0.2)',
24
  borderColor: 'rgba(255, 99, 132, 1)',
25
  borderWidth: 1,
26
+ fill: true,
27
+ tension: 0.4
28
  }]);
29
  }
30
  };
assets/dev/javascript/meta-box/recent.js CHANGED
@@ -9,6 +9,7 @@ wps_js.recent_meta_box = {
9
  ` + (wps_js.is_active('geo_ip') ? `<td>${wps_js._('country')}</td>` : ``) + `
10
  ` + (wps_js.is_active('geo_city') ? `<td>${wps_js._('city')}</td>` : ``) + `
11
  <td>${wps_js._('date')}</td>
 
12
  <td>${wps_js._('ip')}</td>
13
  <td>${wps_js._('referrer')}</td>
14
  </tr>`;
@@ -19,6 +20,7 @@ wps_js.recent_meta_box = {
19
  ` + (wps_js.is_active('geo_ip') ? `<td style="text-align: left"><img src='${value['country']['flag']}' alt='${value['country']['name']}' title='${value['country']['name']}' class='log-tools'/></td>` : ``) + `
20
  ` + (wps_js.is_active('geo_city') ? `<td>${value['city']}</td>` : ``) + `
21
  <td style="text-align: left">${value['date']}</td>
 
22
  <td style="text-align: left">` + (value['hash_ip'] ? value['hash_ip'] : `<a href='${value['ip']['link']}'>${value['ip']['value']}</a>`) + `</td>
23
  <td style="text-align: left">${value['referred']}</td>
24
  </tr>`;
9
  ` + (wps_js.is_active('geo_ip') ? `<td>${wps_js._('country')}</td>` : ``) + `
10
  ` + (wps_js.is_active('geo_city') ? `<td>${wps_js._('city')}</td>` : ``) + `
11
  <td>${wps_js._('date')}</td>
12
+ <td>${wps_js._('hits')}</td>
13
  <td>${wps_js._('ip')}</td>
14
  <td>${wps_js._('referrer')}</td>
15
  </tr>`;
20
  ` + (wps_js.is_active('geo_ip') ? `<td style="text-align: left"><img src='${value['country']['flag']}' alt='${value['country']['name']}' title='${value['country']['name']}' class='log-tools'/></td>` : ``) + `
21
  ` + (wps_js.is_active('geo_city') ? `<td>${value['city']}</td>` : ``) + `
22
  <td style="text-align: left">${value['date']}</td>
23
+ <td style="text-align: left">${value['hits']}</td>
24
  <td style="text-align: left">` + (value['hash_ip'] ? value['hash_ip'] : `<a href='${value['ip']['link']}'>${value['ip']['value']}</a>`) + `</td>
25
  <td style="text-align: left">${value['referred']}</td>
26
  </tr>`;
assets/dev/javascript/meta-box/search.js CHANGED
@@ -44,7 +44,8 @@ wps_js.search_meta_box = {
44
  backgroundColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '0.3)',
45
  borderColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '1)',
46
  borderWidth: 1,
47
- fill: true
 
48
  });
49
  i++;
50
  });
@@ -57,7 +58,8 @@ wps_js.search_meta_box = {
57
  backgroundColor: 'rgba(' + args['total']['color'] + ', 0.2)',
58
  borderColor: 'rgba(' + args['total']['color'] + ', 1)',
59
  borderWidth: 1,
60
- fill: true
 
61
  });
62
  }
63
  wps_js.line_chart(wps_js.chart_id('search'), args['title'], args['date'], datasets);
44
  backgroundColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '0.3)',
45
  borderColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '1)',
46
  borderWidth: 1,
47
+ fill: true,
48
+ tension: 0.4
49
  });
50
  i++;
51
  });
58
  backgroundColor: 'rgba(' + args['total']['color'] + ', 0.2)',
59
  borderColor: 'rgba(' + args['total']['color'] + ', 1)',
60
  borderWidth: 1,
61
+ fill: true,
62
+ tension: 0.4
63
  });
64
  }
65
  wps_js.line_chart(wps_js.chart_id('search'), args['title'], args['date'], datasets);
assets/dev/javascript/meta-box/top-pages-chart.js CHANGED
@@ -39,7 +39,8 @@ wps_js.top_pages_chart_meta_box = {
39
  backgroundColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '0.3)',
40
  borderColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '1)',
41
  borderWidth: 1,
42
- fill: true
 
43
  });
44
  i++;
45
  });
39
  backgroundColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '0.3)',
40
  borderColor: 'rgba(' + color[0] + ',' + color[1] + ',' + color[2] + ',' + '1)',
41
  borderWidth: 1,
42
+ fill: true,
43
+ tension: 0.4
44
  });
45
  i++;
46
  });
assets/dev/javascript/meta-box/useronline.js CHANGED
@@ -14,7 +14,7 @@ wps_js.useronline_meta_box = {
14
  t += `<tr>
15
  ` + (wps_js.is_active('geo_ip') ? `<td style="text-align: left"><img src='${value['country']['flag']}' alt='${value['country']['name']}' title='${value['country']['name']}' class='log-tools'/></td>` : ``) + `
16
  <td style='text-align: left !important'>` + (value['hash_ip'] ? value['hash_ip'] : value['ip']['value']) + `</td>
17
- <td style='text-align: left !important;'><span class="wps-text-wrap">` + (value['page']['link'].length > 2 ? `<a href="${value['page']['link']}" title="${value['page']['title']}" target="_blank" class="wps-text-danger">` : ``) + value['page']['title'] + (value['page']['link'].length > 2 ? `</a>` : ``) + `</span></td>
18
  <td style="text-align: left !important">${value['referred']}</td>
19
  </tr>`;
20
  });
14
  t += `<tr>
15
  ` + (wps_js.is_active('geo_ip') ? `<td style="text-align: left"><img src='${value['country']['flag']}' alt='${value['country']['name']}' title='${value['country']['name']}' class='log-tools'/></td>` : ``) + `
16
  <td style='text-align: left !important'>` + (value['hash_ip'] ? value['hash_ip'] : value['ip']['value']) + `</td>
17
+ <td style='text-align: left !important;'><span class="wps-text-wrap">` + (value['page']['link'].length > 2 ? `<a href="${value['page']['link']}" title="${value['page']['title']}" target="_blank" class="wps-text-muted">` : ``) + value['page']['title'] + (value['page']['link'].length > 2 ? `</a>` : ``) + `</span></td>
18
  <td style="text-align: left !important">${value['referred']}</td>
19
  </tr>`;
20
  });
assets/dev/sass/component/admin-bar.scss CHANGED
@@ -1,4 +1,32 @@
1
  #wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before {
2
  content: '\f184';
3
  top: 2px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
1
  #wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before {
2
  content: '\f184';
3
  top: 2px;
4
+ }
5
+
6
+ #wp-admin-bar-wp-statistics-menu-page {
7
+ text-align: center;
8
+
9
+ .ab-item {
10
+ height: auto !important;
11
+ }
12
+
13
+ a {
14
+ padding-bottom: 4px !important;
15
+
16
+ img {
17
+ max-width: 200px;
18
+ }
19
+ }
20
+
21
+ .wps-admin-bar__chart__unlock-button {
22
+ background-color: #2f5a82;
23
+ padding: 1px 0px;
24
+ color: #ffffff;
25
+ line-height: 21px;
26
+ font-size: 12px;
27
+ border-radius: 2px;
28
+ display: table;
29
+ margin: 0 auto;
30
+ width: 100%;
31
+ }
32
  }
assets/dev/sass/component/global.scss CHANGED
@@ -130,13 +130,4 @@ a[href*='?page=wps_break_menu'] {
130
 
131
  .wps-pull-left {
132
  float: left;
133
- }
134
-
135
- /* WP Admin List Table */
136
- .column-wp-statistics-post-hits, .column-visits {
137
- width: 10%;
138
- }
139
-
140
- .column-wp-statistics-tax-hits {
141
- width: 15%;
142
  }
130
 
131
  .wps-pull-left {
132
  float: left;
 
 
 
 
 
 
 
 
 
133
  }
assets/dev/sass/component/table.scss CHANGED
@@ -36,6 +36,11 @@ table.wps-table-fixed {
36
  width: 100%;
37
  }
38
 
 
 
 
 
 
39
  .wps-report-table tr {
40
  text-align: left;
41
  }
@@ -74,7 +79,7 @@ table.wps-table-fixed {
74
  }
75
 
76
  .show-map {
77
- float: left;
78
  }
79
 
80
  .log-referred {
36
  width: 100%;
37
  }
38
 
39
+ table.wps-table-auto {
40
+ table-layout: auto;
41
+ width: 100%;
42
+ }
43
+
44
  .wps-report-table tr {
45
  text-align: left;
46
  }
79
  }
80
 
81
  .show-map {
82
+
83
  }
84
 
85
  .log-referred {
assets/dev/sass/component/ui.admin.scss CHANGED
@@ -100,14 +100,14 @@
100
  width: 100%;
101
  max-width: 100%;
102
  background: url('../images/page-header.svg') center center/100% no-repeat;
103
- min-height: 150px;
104
  display: flex;
105
  justify-content: flex-end;
106
  align-items: center;
107
  padding: 0 0 20px;
108
  }
109
 
110
- @media screen and (max-width: 1300px) {
111
  .wps-header-banner {
112
  background: url('../images/page-header.svg') 5% center/cover no-repeat;
113
  min-height: 113px;
@@ -122,6 +122,7 @@
122
  transform: translateY(-31px);
123
  z-index: -1;
124
  position: relative;
 
125
  }
126
 
127
  #screen-meta-links + br + .wps-wrap .wps-wrap__main {
@@ -488,15 +489,23 @@
488
  .wps-wrap .wp-statistics-sub-fullwidth input {
489
  padding: 6px !important;
490
  }
 
491
  .wps-wrap .wp-statistics-sub-fullwidth .button-primary {
492
  padding: 7px 14px !important;
493
  }
494
 
495
- .wps-wrap .meta-box-sortables .inside {
496
- padding: 15px !important;
 
 
 
 
 
 
 
497
  }
498
 
499
- .statistics_page_wps_categories_page , .statistics_page_wps_tags_page, .statistics_page_wps_authors_page, .statistics_page_wps_pages_page {
500
  .wps-wrap .postbox {
501
  padding: 10px 3px !important;
502
  }
@@ -509,13 +518,13 @@
509
  }
510
 
511
  .wps-wrap .btn-danger {
512
- background: rgba(186,0,0,0.74) !important;
513
- border-color: rgba(170,0,0,0.77) rgba(153,0,0,0.74) rgba(153,0,0,0.74) !important;
514
- box-shadow: 0 1px 0 rgba(153,0,0,0.74);
515
  color: #fff;
516
  text-decoration: none;
517
  padding: 12px 16px !important;
518
- text-shadow: 0 -1px 1px rgba(153,0,0,0.74),1px 0 1px rgba(153,0,0,0.74),0 1px 1px rgba(153,0,0,0.74),-1px 0 1px rgba(153,0,0,0.74);
519
  }
520
 
521
 
@@ -697,7 +706,7 @@
697
  border-color: #404BF2 !important;
698
  }
699
 
700
- .wps-widgets-settings-wrap input[type="checkbox"]:checked ,
701
  .wps-mini-chart-settings-wrap input[type="checkbox"]:checked,
702
  .wps-rest-api-settings-wrap input[type="checkbox"]:checked,
703
  .wps-realtime-stats-settings-wrap input[type="checkbox"]:checked {
@@ -716,10 +725,10 @@
716
  }
717
 
718
 
719
- .wps-widgets-settings-wrap .thickbox.button, .wps-widgets-settings-wrap .button, .wps-widgets-settings-wrap input[type="button"],
720
- .wps-mini-chart-settings-wrap .thickbox.button, .wps-mini-chart-settings-wrap .button, .wps-mini-chart-settings-wrap input[type="button"],
721
- .wps-rest-api-settings-wrap .thickbox.button, .wps-rest-api-settings-wrap .button, .wps-rest-api-settings-wrap input[type="button"],
722
- .wps-realtime-stats-settings-wrap .thickbox.button, .wps-realtime-stats-settings-wrap .button, .wps-realtime-stats-settings-wrap input[type="button"] {
723
  background: #fff;
724
  border: 1px solid #D6D6D6;
725
  box-sizing: border-box;
@@ -829,9 +838,9 @@
829
  }
830
 
831
  .wps-widgets-settings-wrap input[type="text"], .wps-widgets-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-widgets-settings-wrap .chosen-container-multi .chosen-choices, .wps-widgets-settings-wrap select,
832
- .wps-mini-chart-settings-wrap input[type="text"],.wps-mini-chart-settings-wrap input[type="number"], .wps-mini-chart-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices, .wps-mini-chart-settings-wrap select,
833
- .wps-rest-api-settings-wrap input[type="text"],.wps-rest-api-settings-wrap input[type="number"], .wps-rest-api-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices, .wps-rest-api-settings-wrap select,
834
- .wps-realtime-stats-settings-wrap input[type="text"],.wps-realtime-stats-settings-wrap input[type="number"], .wps-rest-api-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-realtime-stats-settings-wrap .chosen-container-multi .chosen-choices, .wps-realtime-stats-settings-wrap select {
835
  padding: 12px 16px !important;
836
  font-weight: normal;
837
  font-size: 14px;
@@ -905,7 +914,6 @@
905
  }
906
 
907
 
908
-
909
  .wps-widgets-settings-wrap .notice::before,
910
  .wps-mini-chart-settings-wrap .notice::before,
911
  .wps-rest-api-settings-wrap .notice::before,
100
  width: 100%;
101
  max-width: 100%;
102
  background: url('../images/page-header.svg') center center/100% no-repeat;
103
+ min-height: 138px;
104
  display: flex;
105
  justify-content: flex-end;
106
  align-items: center;
107
  padding: 0 0 20px;
108
  }
109
 
110
+ @media screen and (max-width: 1300px) {
111
  .wps-header-banner {
112
  background: url('../images/page-header.svg') 5% center/cover no-repeat;
113
  min-height: 113px;
122
  transform: translateY(-31px);
123
  z-index: -1;
124
  position: relative;
125
+ min-height: 150px;
126
  }
127
 
128
  #screen-meta-links + br + .wps-wrap .wps-wrap__main {
489
  .wps-wrap .wp-statistics-sub-fullwidth input {
490
  padding: 6px !important;
491
  }
492
+
493
  .wps-wrap .wp-statistics-sub-fullwidth .button-primary {
494
  padding: 7px 14px !important;
495
  }
496
 
497
+ .wps-wrap .meta-box-sortables {
498
+ .inside {
499
+ padding: 15px !important;
500
+ }
501
+
502
+ .inside-no-padding {
503
+ margin-bottom: 20px;
504
+ display: flex;
505
+ }
506
  }
507
 
508
+ .statistics_page_wps_categories_page, .statistics_page_wps_tags_page, .statistics_page_wps_authors_page, .statistics_page_wps_pages_page {
509
  .wps-wrap .postbox {
510
  padding: 10px 3px !important;
511
  }
518
  }
519
 
520
  .wps-wrap .btn-danger {
521
+ background: rgba(186, 0, 0, 0.74) !important;
522
+ border-color: rgba(170, 0, 0, 0.77) rgba(153, 0, 0, 0.74) rgba(153, 0, 0, 0.74) !important;
523
+ box-shadow: 0 1px 0 rgba(153, 0, 0, 0.74);
524
  color: #fff;
525
  text-decoration: none;
526
  padding: 12px 16px !important;
527
+ text-shadow: 0 -1px 1px rgba(153, 0, 0, 0.74), 1px 0 1px rgba(153, 0, 0, 0.74), 0 1px 1px rgba(153, 0, 0, 0.74), -1px 0 1px rgba(153, 0, 0, 0.74);
528
  }
529
 
530
 
706
  border-color: #404BF2 !important;
707
  }
708
 
709
+ .wps-widgets-settings-wrap input[type="checkbox"]:checked,
710
  .wps-mini-chart-settings-wrap input[type="checkbox"]:checked,
711
  .wps-rest-api-settings-wrap input[type="checkbox"]:checked,
712
  .wps-realtime-stats-settings-wrap input[type="checkbox"]:checked {
725
  }
726
 
727
 
728
+ .wps-widgets-settings-wrap .thickbox.button, .wps-widgets-settings-wrap .button, .wps-widgets-settings-wrap input[type="button"],
729
+ .wps-mini-chart-settings-wrap .thickbox.button, .wps-mini-chart-settings-wrap .button, .wps-mini-chart-settings-wrap input[type="button"],
730
+ .wps-rest-api-settings-wrap .thickbox.button, .wps-rest-api-settings-wrap .button, .wps-rest-api-settings-wrap input[type="button"],
731
+ .wps-realtime-stats-settings-wrap .thickbox.button, .wps-realtime-stats-settings-wrap .button, .wps-realtime-stats-settings-wrap input[type="button"] {
732
  background: #fff;
733
  border: 1px solid #D6D6D6;
734
  box-sizing: border-box;
838
  }
839
 
840
  .wps-widgets-settings-wrap input[type="text"], .wps-widgets-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-widgets-settings-wrap .chosen-container-multi .chosen-choices, .wps-widgets-settings-wrap select,
841
+ .wps-mini-chart-settings-wrap input[type="text"], .wps-mini-chart-settings-wrap input[type="number"], .wps-mini-chart-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices, .wps-mini-chart-settings-wrap select,
842
+ .wps-rest-api-settings-wrap input[type="text"], .wps-rest-api-settings-wrap input[type="number"], .wps-rest-api-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-mini-chart-settings-wrap .chosen-container-multi .chosen-choices, .wps-rest-api-settings-wrap select,
843
+ .wps-realtime-stats-settings-wrap input[type="text"], .wps-realtime-stats-settings-wrap input[type="number"], .wps-rest-api-settings-wrap input[type="date"], .wps-widgets-settings-wrap input[type="number"], .wps-realtime-stats-settings-wrap .chosen-container-multi .chosen-choices, .wps-realtime-stats-settings-wrap select {
844
  padding: 12px 16px !important;
845
  font-weight: normal;
846
  font-size: 14px;
914
  }
915
 
916
 
 
917
  .wps-widgets-settings-wrap .notice::before,
918
  .wps-mini-chart-settings-wrap .notice::before,
919
  .wps-rest-api-settings-wrap .notice::before,
assets/dev/sass/frontend.scss CHANGED
@@ -1,4 +1,2 @@
1
- #wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before {
2
- content: '\f184';
3
- top: 2px;
4
- }
1
+ // Components
2
+ @import "component/admin-bar";
 
 
assets/dev/sass/pages/add-one.scss CHANGED
@@ -17,6 +17,10 @@
17
 
18
  .widefat .plugin-card-bottom {
19
  float: initial;
 
 
 
 
20
  }
21
 
22
  .widefat .column-downloaded p {
17
 
18
  .widefat .plugin-card-bottom {
19
  float: initial;
20
+
21
+ span.from {
22
+ display: none;
23
+ }
24
  }
25
 
26
  .widefat .column-downloaded p {
assets/dev/sass/pages/admin.scss CHANGED
@@ -1,5 +1,4 @@
1
 
2
-
3
  #wps-postbox-container-1 {
4
  width: 30%;
5
  float: left;
@@ -46,4 +45,45 @@
46
 
47
  #wps-postbox-container-1 a, #wps-postbox-container-2 a, #wps-big-postbox a {
48
  text-decoration: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
1
 
 
2
  #wps-postbox-container-1 {
3
  width: 30%;
4
  float: left;
45
 
46
  #wps-postbox-container-1 a, #wps-postbox-container-2 a, #wps-big-postbox a {
47
  text-decoration: none;
48
+ }
49
+
50
+ /* WP Admin List Table */
51
+ .column-wp-statistics-tax-hits {
52
+ width: 15%;
53
+ text-align: center;
54
+ }
55
+
56
+ .column-wp-statistics-post-hits {
57
+ width: 10%;
58
+ text-align: center;
59
+ }
60
+
61
+ .wps-admin-column__unlock {
62
+ a {
63
+ color: #ffffff;
64
+ font-size: 12px;
65
+ display: flex;
66
+ justify-content: center;
67
+
68
+ span {
69
+ background: #347ab6;
70
+ padding: 1px 3px;
71
+ border-radius: 2px;
72
+ position: absolute;
73
+ visibility: hidden;
74
+ font-size: 9px;
75
+ line-height: 14px;
76
+ z-index: 1;
77
+ margin-top: 7px;
78
+ }
79
+
80
+ img {
81
+ width: 100%;
82
+ opacity: 0.5;
83
+ }
84
+ }
85
+
86
+ a:hover span {
87
+ visibility: visible;
88
+ }
89
  }
assets/dev/sass/pages/pages.scss CHANGED
@@ -1,6 +1,6 @@
1
  form#wp-statistics-select-pages {
2
  margin-bottom: -15px;
3
- margin-top: 6px;
4
 
5
  .select-title {
6
  vertical-align: -2px;
@@ -21,4 +21,74 @@ form#wp-statistics-select-pages {
21
  vertical-align: -3px;
22
  }
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
1
  form#wp-statistics-select-pages {
2
  margin-bottom: -15px;
3
+ margin-top: 16px;
4
 
5
  .select-title {
6
  vertical-align: -2px;
21
  vertical-align: -3px;
22
  }
23
 
24
+ }
25
+
26
+ .wps-wrap.wps-meta-box-footer {
27
+ padding-top: 14px;
28
+ }
29
+
30
+ .wps-admin-pages-visitors__preview {
31
+ max-height: 230px;
32
+ overflow: hidden;
33
+ position: relative;
34
+
35
+ img {
36
+ width: 100%;
37
+ }
38
+
39
+ &:after {
40
+ content: "";
41
+ position: absolute;
42
+ z-index: 1;
43
+ bottom: 0;
44
+ left: 0;
45
+ pointer-events: none;
46
+ background-image: linear-gradient(to bottom,
47
+ rgba(255, 255, 255, 0),
48
+ rgba(255, 255, 255, 1) 90%);
49
+ width: 100%;
50
+ height: 4em;
51
+ }
52
+ }
53
+
54
+ #wps-big-postbox .wps-admin-pages-visitors__preview {
55
+ max-height: 290px;
56
+ }
57
+
58
+ .wps-admin-pages-visitors__promotion {
59
+ background-color: #fff;
60
+ position: absolute;
61
+ left: 50%;
62
+ top: 50%;
63
+ transform: translate(-50%, -50%);
64
+ padding: 7px 20px 15px;
65
+ width: 52%;
66
+ text-align: center;
67
+ box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
68
+ rgba(0, 0, 0, 0) 0px 0px 12px;
69
+
70
+ h2 {
71
+
72
+ }
73
+
74
+ p {
75
+ margin: 5px !important;
76
+ }
77
+
78
+ a {
79
+ padding: 10px 14px !important;
80
+ }
81
+ }
82
+
83
+ .misc-pub-hits {
84
+
85
+ &:before {
86
+ content: "\f184";
87
+ font: normal 20px/1 dashicons;
88
+ display: inline-block;
89
+ margin-left: -1px;
90
+ padding-right: 3px;
91
+ vertical-align: top;
92
+ color: #8c8f94;
93
+ }
94
  }
assets/dev/sass/pages/setting.scss CHANGED
@@ -15,6 +15,10 @@
15
 
16
  .postbox-container {
17
  margin-top: 51px;
 
 
 
 
18
  }
19
 
20
  ul.tabs {
15
 
16
  .postbox-container {
17
  margin-top: 51px;
18
+
19
+ .postbox {
20
+ padding: 12px !important;
21
+ }
22
  }
23
 
24
  ul.tabs {
assets/images/mini-chart-admin-bar-preview.png ADDED
Binary file
assets/images/mini-chart-posts-preview.png ADDED
Binary file
assets/images/pages-visitor-preview.png ADDED
Binary file
assets/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}jQuery(document).ready(function(e){var t;t=function(c){var l={},d={};c.ajaxq=function(e,a){if(void 0===a)throw"AjaxQ: queue name is not provided";var r=c.Deferred(),t=r.promise();t.success=t.done,t.error=t.fail,t.complete=t.always;var o,s="function"==typeof a,n=s?null:c.extend(!0,{},a);return o=function(){var t=c.ajax.apply(window,[s?a():n]);return t.done(function(){r.resolve.apply(this,arguments)}),t.fail(function(){r.reject.apply(this,arguments)}),t.always(i),t},l[e]?l[e].push(o):(l[e]=[],o=o(),d[e]=o),t;function i(){var t;l[e]&&((t=l[e].shift())?(t=t(),d[e]=t):(delete l[e],delete d[e]))}},c.each(["getq","postq"],function(t,s){c[s]=function(t,e,a,r,o){return c.isFunction(a)&&(o=o||r,r=a,a=void 0),c.ajaxq(t,{type:"postq"===s?"post":"get",url:e,data:a,success:r,dataType:o})}});function e(t){return l.hasOwnProperty(t)&&0<l[t].length||d.hasOwnProperty(t)}c.ajaxq.isRunning=function(t){return t?e(t):function(){for(var t in l)if(e(t))return!0;return!1}()},c.ajaxq.getActiveRequest=function(t){if(!t)throw"AjaxQ: queue name is required";return d[t]},c.ajaxq.abort=function(t){if(!t)throw"AjaxQ: queue name is required";var e=c.ajaxq.getActiveRequest(t);delete l[t],delete d[t],e&&e.abort()},c.ajaxq.clear=function(t){if(t)l[t]&&(l[t]=[]);else for(var e in l)l.hasOwnProperty(e)&&(l[e]=[])}},"function"==typeof define&&define.amd?define(["jquery"],t):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=t(require("jquery")):t(jQuery);var a,r,o,s,n,i,c,l,d,p,u,_,h={};function m(t){jQuery(".wp-statistics-settings ul.tabs li").removeClass("current"),jQuery(".wp-statistics-settings .tab-content").removeClass("current"),jQuery("[data-tab="+t+"]").addClass("current"),jQuery("#"+t).addClass("current"),jQuery("#wp-statistics-settings-form").length&&(t=jQuery(location).attr("href")+"&tab="+t,jQuery("#wp-statistics-settings-form").attr("action",t).submit())}function g(t,e){jQuery(document).on("change",t,function(t){t.preventDefault();t=jQuery(e);this.checked?t.show("slow"):(t.hide("slow"),t.find("input[type=checkbox]").prop("checked",!1))})}h.global="undefined"!=typeof wps_global?wps_global:[],h._=function(t){return t in this.global.i18n?this.global.i18n[t]:""},h.is_active=function(t){return 1===h.global.options[t]},h.ajax_queue={key:"wp-statistics",time:400},h.ajaxQ=function(r,o,e,s){var t=4<arguments.length&&void 0!==arguments[4]?arguments[4]:"GET",n=!(5<arguments.length&&void 0!==arguments[5])||arguments[5],t={url:r=!1===r||"metabox"===r?h.global.meta_box_api:r,type:t,dataType:"json",crossDomain:!0,cache:!1,data:o,success:function(t){r===h.global.meta_box_api&&!0===n?t.no_data?jQuery(h.meta_box_inner(o.name)).empty().html(h.no_meta_box_data()):(jQuery(h.meta_box_inner(o.name)).empty().html(h[e].view(t)),h[e].meta_box_init&&setTimeout(function(){h[e].meta_box_init(t)},150)):h[e](t)},error:function(t,e,a){r===h.global.meta_box_api&&!0===n?jQuery(h.meta_box_inner(o.name)).empty().html(h[s](t.responseText)):h[s](t.responseText)}};r===h.global.meta_box_api&&(t.beforeSend=function(t){t.setRequestHeader("X-WP-Nonce",h.global.rest_api_nonce),t.setRequestHeader("Access-Control-Allow-Origin","*")}),jQuery.ajaxq(h.ajax_queue.key,t)},h.placeholder=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return'<div class="wps-ph-item"><div class="wps-ph-col-12">'.concat(h.placeholder_content("picture"),"").concat(h.placeholder_content("line"),"</div>")+(!1!==t?t:"")+"</div>"},h.line_placeholder=function(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,e='<div class="wps-ph-item">',a=0;a<t;a++)e+='<div class="wps-ph-col-12"> <div class="wps-ph-row"><div class="wps-ph-col-6 big"></div><div class="wps-ph-col-4 empty big"></div><div class="wps-ph-col-4"></div><div class="wps-ph-col-8 empty"></div><div class="wps-ph-col-6"></div><div class="wps-ph-col-6 empty"></div><div class="wps-ph-col-12"></div> </div></div>';return e+="</div>"},h.circle_placeholder=function(){return'<div class="wps-ph-item"> '.concat(h.placeholder_content("circle"),"</div>")},h.rectangle_placeholder=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return'<div class="wps-ph-item'+(0<t.length?" "+t:"")+'"><div class="wps-ph-col-12">'.concat(h.placeholder_content("picture"),"</div></div>")},h.placeholder_content=function(){var t="";switch(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"line"){case"picture":t='<div class="wps-ph-picture"></div>';break;case"line":t='<div class="wps-ph-row"><div class="wps-ph-col-6 big"></div><div class="wps-ph-col-4 empty big"></div><div class="wps-ph-col-2 big"></div><div class="wps-ph-col-4"></div><div class="wps-ph-col-8 empty"></div><div class="wps-ph-col-6"></div><div class="wps-ph-col-6 empty"></div><div class="wps-ph-col-12"></div> </div>';break;case"circle":t='<div class="wps-ph-col-2"></div><div class="wps-ph-col-8"><div class="wps-ph-avatar"></div></div>'}return t},h.exist_tag=function(t){return jQuery(t).length},h.date_picker=function(){jQuery.fn.datepicker&&"undefined"!=typeof wps_i18n_jquery_datepicker&&jQuery("input[data-wps-date-picker]").datepicker({monthNames:wps_i18n_jquery_datepicker.monthNames,monthNamesShort:wps_i18n_jquery_datepicker.monthNamesShort,dayNames:wps_i18n_jquery_datepicker.dayNames,dayNamesShort:wps_i18n_jquery_datepicker.dayNamesShort,dayNamesMin:wps_i18n_jquery_datepicker.dayNamesMin,dateFormat:wps_i18n_jquery_datepicker.dateFormat,firstDay:wps_i18n_jquery_datepicker.firstDay,isRTL:wps_i18n_jquery_datepicker.isRTL,onSelect:function(t){var e=jQuery(this).attr("data-wps-date-picker");0<t.length&&jQuery("input[id=date-"+e+"]").val(t)}})},h.select2=function(){jQuery("select[data-type-show=select2]").select2()},h.redirect=function(t){window.location.replace(t)},h.line_chart=function(t,e,a,r){t=document.getElementById(t).getContext("2d");h.is_active("rtl")&&(Chart.defaults.global={defaultFontFamily:"Tahoma"}),new Chart(t,{type:"line",data:{labels:a,datasets:r},options:{responsive:!0,legend:{position:"bottom"},animation:{duration:1500},title:{display:!0,text:e},tooltips:{mode:"index",intersect:!1},scales:{yAxes:[{ticks:{beginAtZero:!0}}]}}})},h.pie_chart=function(t,e,a){var r=3<arguments.length&&void 0!==arguments[3]&&arguments[3],t=document.getElementById(t).getContext("2d");h.is_active("rtl")&&(Chart.defaults.global={defaultFontFamily:"Tahoma"}),!1===r&&(r=function(t,e){var a=e.datasets[t.datasetIndex],r=a.data.reduce(function(t,e,a,r){return t+e}),a=a.data[t.index];return Math.floor(a/r*100+.5)+"% - "+e.labels[t.index]}),new Chart(t,{type:"pie",data:{labels:e,datasets:a},options:{responsive:!0,legend:{position:"bottom"},animation:{duration:1500},tooltips:{callbacks:{label:r}}},plugins:[{afterDraw:function(t){var e,a,r;!0===t.data.datasets[0].data.every(function(t){return 0==t})&&(e=t.chart.ctx,a=t.chart.width,r=t.chart.height,t.clear(),e.save(),e.textAlign="center",e.textBaseline="middle",e.font="14px normal 'Tahoma'",e.fillText(h._("no_data"),a/2,r/2),e.restore())}}]})},h.chart_id=function(t){return"wp-statistics-"+t+"-meta-box-chart"},h.random_color=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=[[243,156,18,"#f39c12"],[52,152,219,"#3498db"],[192,57,43,"#c0392b"],[155,89,182,"#9b59b6"],[39,174,96,"#27ae60"],[230,126,34,"#e67e22"],[142,68,173,"#8e44ad"],[46,204,113,"#2ecc71"],[41,128,185,"#2980b9"],[22,160,133,"#16a085"],[211,84,0,"#d35400"],[44,62,80,"#2c3e50"],[241,196,15,"#f1c40f"],[231,76,60,"#e74c3c"],[26,188,156,"#1abc9c"],[46,204,113,"#2ecc71"],[52,152,219,"#3498db"],[155,89,182,"#9b59b6"],[52,73,94,"#34495e"],[22,160,133,"#16a085"],[39,174,96,"#27ae60"],[44,62,80,"#2c3e50"],[241,196,15,"#f1c40f"],[230,126,34,"#e67e22"],[231,76,60,"#e74c3c"],[236,240,241,"#9b9e9f"],[149,165,166,"#a65d20"]];return e[!1===t?Math.floor(Math.random()*e.length):t]},h.site_icon=function(t){return'<img src="https://www.google.com/s2/favicons?domain='.concat(t,'" width="16" height="16" alt="').concat(t,'" style="vertical-align: -3px;" />')},h.wordpress_postbox_ajax=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"enable",e=jQuery(".postbox .hndle, .postbox .handlediv");"enable"===t?e.on("click",window.postboxes.handle_click):e.off("click",window.postboxes.handle_click)},h.isset=function(t){for(var e=Array.prototype.slice.call(arguments,1),a=0;a<e.length;a++){if(!t||!t.hasOwnProperty(e[a]))return!1;t=t[e[a]]}return!0},h.number_format=function(t,e,a,r){if(null==t||!isFinite(t))throw new TypeError("number is not valid");var o;e||(e=1<(o=t.toString().split(".").length)?o:0),a=a||".",r=r||",";e=(t=(t=parseFloat(t).toFixed(e)).replace(".",a)).split(a);return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,r),t=e.join(a)},h.set_equal_height=function(t,e){var a=jQuery(t).height(),r=jQuery(e).height(),o=e,e=a;a<r&&(o=t,e=r),jQuery(o).css("height",e+"px")},h.Create_Half_PostBox=function(t,e){return'<div class="postbox-container wps-postbox-half '.concat(t,'"><div class="metabox-holder"><div class="meta-box-sortables"> <div class="postbox" id="').concat(e,'"> <div class="inside"></div></div></div></div></div>')},h.isIP=function(t){var e="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]?|0)";return new RegExp("^".concat(e,"\\.").concat(e,"\\.").concat(e,"\\.").concat(e,"$")).test(t)},h.getLinkParams=function(t){t=(1<arguments.length&&void 0!==arguments[1]&&arguments[1]||window.location.href).match(new RegExp("(?:[?&]"+t+"=)([^&]+)"));return t?t[1]:null},h.sum=function(t){return t.reduce(function(t,e){return t+e},0)},h.sanitize_meta_box_name=function(t){return t.replace(new RegExp("-","g"),"_")},h.get_meta_box_method=function(t){return this.sanitize_meta_box_name(t)+"_meta_box"},h.getMetaBoxKey=function(t){return"wp-statistics-"+t+"-widget"},h.no_meta_box_data=function(){return h._("no_data")},h.error_meta_box_data=function(t){t=JSON.parse(t);return h.isset(t,"message")?t.message:h._("rest_connect")},h.get_meta_box_info=function(t){return t in h.global.meta_boxes?h.global.meta_boxes[t]:[]},h.meta_box_lang=function(t,e){return e in h.global.meta_boxes[t].lang?h.global.meta_boxes[t].lang[e]:""},h.meta_box_inner=function(t){return"#"+h.getMetaBoxKey(t)+" div.inside"},h.meta_box_name_by_id=function(t){return t.split("statistics-").pop().split("-widget")[0]},h.meta_box_button=function(t){var e="#"+h.getMetaBoxKey(t)+" .handle-actions button:first",a=h.get_meta_box_info(t),r="z-index: 9999;position: absolute;top: 1px;",o="right";h.is_active("rtl")&&(o="left"),jQuery("#"+h.getMetaBoxKey(t)+" button[class*=wps-refresh], #"+h.getMetaBoxKey(t)+" button[class*=wps-more]").remove(),h.is_active("more_btn")&&h.isset(a,"page_url")&&jQuery('<button class="handlediv wps-more"'+(h.is_active("gutenberg")?' style="'.concat(r).concat(o,': 3%;" '):'style="line-height: 28px;"')+' type="button" onclick="location.href = \''+h.global.admin_url+"admin.php?page="+a.page_url+'\';"><span class="screen-reader-text">'+h._("more_detail")+'</span> <span class="dashicons dashicons-external"></span></button>').insertBefore(e),h.is_active("more_btn")&&h.isset(a,"page_url")?jQuery('<button class="handlediv wps-refresh"'+(h.is_active("gutenberg")?' style="'.concat(r).concat(o,': 6%;" '):'style="line-height: 28px;"')+' type="button"><span class="screen-reader-text">'+h._("reload")+'</span> <span class="dashicons dashicons-update"></span> </button>').insertAfter("#"+h.getMetaBoxKey(t)+" button[class*=wps-more]"):jQuery('<button class="handlediv wps-refresh"'+(h.is_active("gutenberg")?' style="'.concat(r).concat(o,': 3%;" '):'style="line-height: 28px;"')+' type="button"><span class="screen-reader-text">'+h._("reload")+'</span> <span class="dashicons dashicons-update"></span> </button>').insertBefore(e)},h.run_meta_box=function(t){var e,a,r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];h.exist_tag("#"+h.getMetaBoxKey(t))&&(h.is_active("gutenberg")||!h.is_active("gutenberg")&&jQuery("#"+h.getMetaBoxKey(t)).is(":visible"))&&(e=jQuery(h.meta_box_inner(t)),(a=h.get_meta_box_method(t))in h&&("placeholder"in h[a]?e.html(h[a].placeholder()):e.html(h.placeholder()),!0===o&&h.meta_box_button(t),!(t={name:t})!==r&&(t=Object.assign(r,t)),"params"in h[a]&&(t=Object.assign(t,h[a].params())),h.ajaxQ("metabox",t,a,"error_meta_box_data")))},h.run_meta_boxes=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];(t=!1===t?Object.keys(h.global.meta_boxes):t).forEach(function(t){h.run_meta_box(t)})},jQuery(document).on("mouseenter mouseleave",".wps-refresh, .wps-more",function(t){"mouseenter"===t.type?h.wordpress_postbox_ajax("disable"):h.wordpress_postbox_ajax("enable")}),jQuery(document).on("click",".wps-refresh",function(t){t.preventDefault();t=jQuery(this).closest(".postbox").attr("id"),t=h.meta_box_name_by_id(t);h.run_meta_box(t)}),jQuery(document).on("click",'input[type=checkbox][id^="wp-statistics-"][id$="-widget-hide"]',function(){var t;jQuery(this).is(":checked")&&(t=jQuery(this).attr("id"),t=h.meta_box_name_by_id(t),h.run_meta_box(t))}),h.btn_group_chart=function(e){var a,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r={7:h._("str_week"),30:h._("str_month"),365:h._("str_year")};"ago"==t.type&&(a=parseInt(t.days));var o='<div class="wps-btn-group"><div class="btn-group" role="group">';return Object.keys(r).forEach(function(t){o+='<button type="button" class="btn '+(t==a?"btn-primary":"btn-default")+'" data-chart-time="'.concat(e,'" data-time="').concat(t,'">').concat(r[t],"</button>")}),o+='<button type="button" class="btn '+("between"==t.type?"btn-primary":"btn-default")+'" data-custom-date-picker="'.concat(e,'">').concat(h._("custom"),"</button>"),o+="</div></div>",o+='<div data-chart-date-picker="'.concat(e,'"')+("ago"==t.type?' style="display:none;"':"")+'><input type="text" size="18" name="date-from" data-wps-date-picker="from" value="'.concat(t.from,'" placeholder="YYYY-MM-DD" autocomplete="off">')+h._("to")+'<input type="text" size="18" name="date-to" data-wps-date-picker="to" value="'.concat(t.to,'" placeholder="YYYY-MM-DD" autocomplete="off"><input type="submit" value="')+h._("go")+'" data-between-chart-show="'.concat(e,'" class="button-primary"><input type="hidden" name="" id="date-from" value="').concat(t.from,'"><input type="hidden" name="" id="date-to" value="').concat(t.to,'"></div>')},jQuery(document).on("click",".wps-btn-group button",function(){jQuery(".wps-btn-group button").attr("class","btn btn-default"),jQuery(this).attr("class","btn btn-primary")}),jQuery(document).on("click","button[data-custom-date-picker]",function(){jQuery("div[data-chart-date-picker= "+jQuery(this).attr("data-custom-date-picker")+"]").slideDown()}),jQuery(document).on("click","button[data-chart-time]",function(){h.run_meta_box(jQuery(this).attr("data-chart-time"),{ago:jQuery(this).attr("data-time"),"no-data":"no"})}),jQuery(document).on("click","input[data-between-chart-show]",function(){var t=jQuery(this).attr("data-between-chart-show");h.run_meta_box(t,{from:jQuery("div[data-chart-date-picker="+t+"] input[id=date-from]").val(),to:jQuery("div[data-chart-date-picker="+t+"] input[id=date-to]").val(),"no-data":"no"})}),h.browsers_meta_box={placeholder:function(){return h.circle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return h.is_active("overview_page")&&(e+=h.btn_group_chart("browsers",t),setTimeout(function(){h.date_picker()},1e3)),e+='<canvas id="'+h.chart_id("browsers")+'" height="220"></canvas>'},meta_box_init:function(){for(var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a=[],r=0;r<=10;r++)t=h.random_color(r),a.push("rgba("+t[0]+","+t[1]+","+t[2]+",0.4)");var o=[{label:h._("browsers"),data:e.browsers_value,backgroundColor:a}];if(h.pie_chart(h.chart_id("browsers"),e.browsers_name,o),h.exist_tag("#"+h.getMetaBoxKey("browsers-table"))){["browsers-table","browsers"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").removeAttr("style")});for(var s='<div class="title-center">'.concat(e.title,'</div><table width="100%" class="widefat table-stats"><tr><td class="wps-text-danger">').concat(h._("browser"),'</td><td class="wps-text-danger">').concat(h._("visitor_count"),'</td><td class="wps-text-danger">').concat(h._("percentage"),"</td></tr>"),n=0;n<e.browsers_name.length;n++)s+=" <tr><td>".concat(e.browsers_name[n],"</td><td>").concat(0<parseInt(e.browsers_value[n])?"".concat("other"!==e.info.agent[n]?'<a href="'+e.info.visitor_page+"&agent="+e.info.agent[n]+"&from="+e.from+"&to="+e.to+'" target="_blank">':""," ").concat(h.number_format(e.browsers_value[n])," ").concat("other"!==e.info.agent[n]?"</a>":""):e.browsers_value[n],"</td><td>").concat(h.number_format(e.browsers_value[n]/e.total*100),"%</td> </tr>");s+=" <tr><td>".concat(h._("total"),"</td><td>").concat(h.number_format(e.total),"</td><td></td></tr>"),s+="</table>",jQuery("#"+h.getMetaBoxKey("browsers-table")+" .inside").html(s),h.set_equal_height(".postBox-table .inside",".postBox-chart .inside");for(var i="",c=0;c<e.browsers_name.length;c++)0<parseInt(e.browsers_value[c])&&e.info.agent[c]&&(i+='<div class="wps-title-group"><img src="'.concat(e.info.logo[c],'" alt="').concat(e.browsers_name[c],'" style="vertical-align: -3px;"> ').concat(e.browsers_name[c],'</div><div class="wp-clearfix"></div>'),i+=h.Create_Half_PostBox("postBox-chart-"+e.info.agent[c],"browser-"+e.info.agent[c]+"-chart"),i+=h.Create_Half_PostBox("postBox-table-"+e.info.agent[c],"browser-"+e.info.agent[c]+"-table"),i+='<div class="wp-clearfix"></div>');jQuery(i).insertAfter("#browsers-table");for(var l=0;l<e.browsers_name.length;l++)0<parseInt(e.browsers_value[l])&&e.info.agent[l]&&this.run_custom_browser(e.info.agent[l])}},run_custom_browser:function(t){["browser-"+t+"-chart","browser-"+t+"-table"].forEach(function(t){jQuery("#"+t+" .inside").css("height","430px")}),jQuery("#browser-"+t+"-table .inside").html(h.placeholder()),jQuery("#browser-"+t+"-chart .inside").html(h.circle_placeholder()),jQuery(".wps-ph-picture").attr("style","height: 310px;");var e={name:"browsers",browser:t};["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(e[t]=h.global.request_params[t])}),h.ajaxQ(h.global.meta_box_api,e,"show_custom_agent","error_custom_agent","GET",!1)}},h.show_custom_agent=function(n){var i=n.info.agent[0];jQuery("#browser-"+i+"-chart .inside").html('<canvas id="'+h.chart_id("browser-"+i)+'" height="220"></canvas>'),setTimeout(function(){for(var t,e=[],a=0;a<=10;a++)t=h.random_color(a),e.push("rgba("+t[0]+","+t[1]+","+t[2]+",0.4)");var r=[{label:h._("browsers"),data:n.browsers_value,backgroundColor:e}];h.pie_chart(h.chart_id("browser-"+i),n.browsers_name,r),["browser-"+i+"-chart","browser-"+i+"-table"].forEach(function(t){jQuery("#"+t+" .inside").removeAttr("style")});for(var o='<div class="title-center">'.concat(n.title,'</div><table width="100%" class="widefat table-stats"><tr><td class="wps-text-danger">').concat(h._("version_list"),'</td><td class="wps-text-danger">').concat(h._("visitor_count"),'</td><td class="wps-text-danger">').concat(h._("percentage"),"</td></tr>"),s=0;s<n.browsers_name.length;s++)o+=" <tr><td>".concat(n.browsers_name[s],"</td><td>").concat(0<parseInt(n.browsers_value[s])?h.number_format(n.browsers_value[s]):n.browsers_value[s],"</td><td>").concat(h.number_format(n.browsers_value[s]/n.total*100),"%</td></tr>");o+=" <tr><td>".concat(h._("total"),"</td><td>").concat(h.number_format(n.total),"</td><td></td></tr>"),o+="</table>";r="#browser-"+i+"-table .inside";jQuery(r).html(o),h.set_equal_height(r,"#browser-"+i+"-chart .inside")},500)},h.error_custom_agent=function(t){},h.countries_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td width="10%" style=\'text-align: left\'>'.concat(h._("rank"),"</td><td width=\"10%\" style='text-align: left'>").concat(h._("flag"),"</td><td width=\"40%\" style='text-align: left'>").concat(h._("country"),"</td><td width=\"40%\" style='text-align: left'>").concat(h._("visitor_count"),"</td></tr>");var a=1;return t.forEach(function(t){e+="<tr><td style='text-align: left;'>".concat(a,"</td><td style='text-align: left;'><img src=\"").concat(t.flag,'" title="').concat(t.name,'" alt="').concat(t.name,"\"/></td><td style='text-align: left;'>").concat(t.name,"</td><td style='text-align: left;'><a href=\"").concat(t.link,'" title="').concat(t.name,'" target="_blank">').concat(h.number_format(t.number),"</a></td></tr>"),a++}),e+="</tbody></table>"}},h.exclusions_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t=h.is_active("overview_page")?110:210;h.isset(h.global,"request_params","page")&&"exclusions"===h.global.request_params.page&&(t=80);var e="";return e+='<canvas id="'+h.chart_id("exclusions")+'" height="'+t+'"></canvas>'},meta_box_init:function(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.show_chart(h.chart_id("exclusions"),e),!h.isset(h.global,"request_params","page")||"exclusions"!==h.global.request_params.page||h.exist_tag(t="span[id='number-total-chart-exclusions']")&&(e=h.sum(Object.values(e.total)),jQuery(t).html(h.number_format(e)))},show_chart:function(t){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],s="",n=[],i=0;Object.keys(o.exclusions).forEach(function(t){var e,a,r=h.sum(Object.values(o.value[t]));0<r&&(e=o.exclusions[t],a=h.random_color(i),n.push({label:e,data:o.value[t],backgroundColor:"rgba("+a[0]+","+a[1]+","+a[2]+",0.3)",borderColor:"rgba("+a[0]+","+a[1]+","+a[2]+",1)",borderWidth:1,fill:!0}),s+="<tr><th>".concat(e,'</th> <th class="th-center"><span style="color: #9a9494 !important;">').concat(h.number_format(r),"</span></th></tr>"),i++)}),h.exist_tag("table[data-table=exclusions]")&&jQuery(s).insertAfter("table[data-table=exclusions] tr:first"),h.line_chart(t,o.title,o.date,n)}},h.hits_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=h.is_active("overview_page")?110:210;h.isset(h.global,"request_params","page")&&"hits"===h.global.request_params.page&&(e=80);var a="";return h.is_active("overview_page")&&(a+=h.btn_group_chart("hits",t),setTimeout(function(){h.date_picker()},1e3)),a+='<canvas id="'+h.chart_id("hits")+'" height="'+e+'"></canvas>'},meta_box_init:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.hits_chart(h.chart_id("hits"),a),h.isset(h.global,"request_params","page")&&"hits"===h.global.request_params.page&&["visits","visitors"].forEach(function(t){var e="span[id^='number-total-chart-"+t+"']";h.exist_tag(e)&&jQuery(e).html(a.total[t])})},hits_chart:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],a=e;"hits-chart"in e&&(a=e["hits-chart"]);e=[];h.is_active("visitors")&&e.push({label:h._("visitors"),data:a.visitors,backgroundColor:"rgba(255, 99, 132, 0.2)",borderColor:"rgba(255, 99, 132, 1)",borderWidth:1,fill:!0}),h.is_active("visits")&&e.push({label:h._("visits"),data:a.visits,backgroundColor:"rgba(54, 162, 235, 0.2)",borderColor:"rgba(54, 162, 235, 1)",borderWidth:1,fill:!0}),h.line_chart(t,a.title,a.date,e)}},h.hitsmap_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){return'<div id="wp-statistics-visitors-map"></div>'},meta_box_init:function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],o=Array();r.hasOwnProperty("country")&&Object.keys(r.country).forEach(function(e){var a="<div class='map-html-marker'><img src='".concat(r.country[e].flag,"' alt=\"").concat(r.country[e].name,"\" title='").concat(r.country[e].name,"' class='log-tools'/> ").concat(r.country[e].name," [").concat(r.total_country[e],"]<hr />");Object.keys(r.visitor[e]).forEach(function(t){a+="<p><img src='".concat(r.visitor[e][t].browser.logo,"' alt=\"").concat(r.visitor[e][t].browser.name,"\" class='log-tools' title='").concat(r.visitor[e][t].browser.name,"'/> ").concat(r.visitor[e][t].ip," ")+("Unknown"!==r.visitor[e][t].city?"- "+r.visitor[e][t].city:"")+"</p>"}),a+="</div>",o[e]=a}),jQuery("#wp-statistics-visitors-map").vectorMap({map:"world_en",backgroundColor:"#fff",borderColor:"#7e7e7e",borderOpacity:.6,color:"#e6e5e2",hoverColor:"#c3403c",colors:r.color,onLabelShow:function(t,e,a){void 0!==o[a]?e.html(o[a]):e.html(e.html()+" [0]<hr />")}})}},h.pages_chart_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){return'<canvas id="'+h.chart_id("pages-chart")+'" height="80"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.show_chart(h.chart_id("pages-chart"),t),h.exist_tag("span[id=number-total-visits]")&&jQuery("span[id=number-total-visits]").html(t.total),h.exist_tag("span[id=number-total-chart-visits]")&&jQuery("span[id=number-total-chart-visits]").html(t.total_dates)},show_chart:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];h.line_chart(t,e.title,e.date,[{label:h._("visits"),data:e.stat,backgroundColor:"rgba(54, 162, 235, 0.2)",borderColor:"rgba(54, 162, 235, 1)",borderWidth:1,fill:!0}])}},h.pages_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<table width="100%" class="widefat table-stats wps-report-table wps-table-fixed"><tbody><tr><td width=\'10%\'>'.concat(h._("id"),"</td><td width='40%'>").concat(h._("title"),"</td><td width='40%'>").concat(h._("link"),"</td><td width='10%'>").concat(h._("visits"),"</td></tr>");var a=1;return t.forEach(function(t){e+="<tr><td style='text-align: left;'>".concat(a,"</td><td style='text-align: left;'><span title='").concat(t.title,"' class='wps-cursor-default wps-text-wrap'>").concat(t.title,"</span></td><td style='text-align: left;'><a href=\"").concat(t.link,'" title="').concat(t.title,'" target="_blank">').concat(t.str_url,'</a></td><td style="text-align: left"><a href="').concat(t.hits_page,'" class="wps-text-danger">').concat(t.number,"</a></td></tr>"),a++}),e+="</tbody></table>"}},h.platforms_meta_box={placeholder:function(){return h.circle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return h.is_active("overview_page")&&(e+=h.btn_group_chart("platforms",t),setTimeout(function(){h.date_picker()},1e3)),e+='<canvas id="'+h.chart_id("platforms")+'" height="220"></canvas>'},meta_box_init:function(){for(var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a=[],r=0;r<=20;r++)t=h.random_color(),a.push("rgba("+t[0]+","+t[1]+","+t[2]+",0.4)");var o=[{label:h._("platform"),data:e.platform_value,backgroundColor:a}];if(h.pie_chart(h.chart_id("platforms"),e.platform_name,o),h.exist_tag("#"+h.getMetaBoxKey("platforms-table"))){["platforms-table","platforms"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").removeAttr("style")});for(var s='<div class="title-center">'.concat(e.title,'</div><table width="100%" class="widefat table-stats"><tr><td class="wps-text-danger">').concat(h._("platform"),'</td><td class="wps-text-danger">').concat(h._("visitor_count"),'</td><td class="wps-text-danger">').concat(h._("percentage"),"</td></tr>"),n=0;n<e.platform_name.length;n++)s+=" <tr><td>".concat(e.platform_name[n],"</td><td>").concat(0<parseInt(e.platform_value[n])?'<a href="'+e.info.visitor_page+"&platform="+e.platform_name[n]+"&from="+e.from+"&to="+e.to+'" target="_blank"> '.concat(h.number_format(e.platform_value[n])," </a>"):h.number_format(e.platform_value[n]),"</td><td>").concat(h.number_format(e.platform_value[n]/e.total*100),"%</td> </tr>");s+=" <tr><td>".concat(h._("total"),"</td><td>").concat(h.number_format(e.total),"</td><td></td></tr>"),s+="</table>",jQuery("#"+h.getMetaBoxKey("platforms-table")+" .inside").html(s),h.set_equal_height(".postBox-table .inside",".postBox-chart .inside")}}},h.post_meta_box={params:function(){return{ID:h.global.page.ID}},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return t.hasOwnProperty("content")?'<div class="wps-center" style="padding: 15px;"> '+t.content+"</div>":'<canvas id="'+h.chart_id("post")+'" height="85"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];t.hasOwnProperty("content")?jQuery("#"+h.getMetaBoxKey("post")+" button[onclick]").remove():this.post_hits_chart(h.chart_id("post"),t)},post_hits_chart:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];h.line_chart(t,e.title,e.date,[{label:e.post_title,data:e.state,backgroundColor:"rgba(255, 99, 132, 0.2)",borderColor:"rgba(255, 99, 132, 1)",borderWidth:1,fill:!0}])}},h.quickstats_meta_box={view:function(){var t="";return t+='<table width="100%" class="widefat table-stats wps-summary-stats"><tbody>',t+=h.summary_meta_box.summary_statistics(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]),t+="</tbody></table>",t+='<br><hr width="80%"/><br>',t+='<canvas id="'+h.chart_id("quickstats")+'" height="210"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];h.hits_meta_box.hits_chart(h.chart_id("quickstats"),t)}},h.recent_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return e+='<div class="wp-statistics-responsive-table">',e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td>'.concat(h._("browser"),"</td>")+(h.is_active("geo_ip")?"<td>".concat(h._("country"),"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(h._("city"),"</td>"):"")+"<td>".concat(h._("date"),"</td><td>").concat(h._("ip"),"</td><td>").concat(h._("referrer"),"</td></tr>"),t.forEach(function(t){e+='<tr><td style="text-align: left"><a href="'.concat(t.browser.link,'" title="').concat(t.browser.name,'"><img src="').concat(t.browser.logo,'" alt="').concat(t.browser.name,"\" class='log-tools' title='").concat(t.browser.name,"'/></a></td>")+(h.is_active("geo_ip")?'<td style="text-align: left"><img src=\''.concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(t.city,"</td>"):"")+'<td style="text-align: left">'.concat(t.date,'</td><td style="text-align: left">')+(t.hash_ip||"<a href='".concat(t.ip.link,"'>").concat(t.ip.value,"</a>"))+'</td><td style="text-align: left">'.concat(t.referred,"</td></tr>")}),e+="</tbody></table>",e+="</div>"}},h.referring_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td width="80%">'.concat(h._("address"),'</td><td width="20%">').concat(h.meta_box_lang("referring","references"),"</td></tr>"),t.forEach(function(t){e+="<tr><td>"+h.site_icon(t.domain)+" <a href='//".concat(t.domain,"' title='").concat(t.title,'\' target="_blank">').concat(t.domain,"</a><span class='wps-cursor-default wps-referring-widget-ip'")+(2<t.country.length?' title="'.concat(t.country,'"'):"")+">".concat(t.ip,'</span></td><td class="wps-middle-vertical"><a href="').concat(t.page_link,'">').concat(t.number,"</a></td></tr>")}),e+="</tbody></table>"}},h.search_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=h.is_active("overview_page")?110:210;h.isset(h.global,"request_params","page")&&"searches"===h.global.request_params.page&&(e=80);var a="";return h.is_active("overview_page")&&(a+=h.btn_group_chart("search",t),setTimeout(function(){h.date_picker()},1e3)),a+='<canvas id="'+h.chart_id("search")+'" height="'+e+'"></canvas>'},meta_box_init:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r=[],o=0;Object.keys(a["search-engine"]).forEach(function(t){var e=a["search-engine"][t].name,t=h.random_color(o);r.push({label:e,data:a.stat[e],backgroundColor:"rgba("+t[0]+","+t[1]+","+t[2]+",0.3)",borderColor:"rgba("+t[0]+","+t[1]+","+t[2]+",1)",borderWidth:1,fill:!0}),o++}),1===a.total.active&&r.push({label:h._("total"),data:a.total.stat,backgroundColor:"rgba("+a.total.color+", 0.2)",borderColor:"rgba("+a.total.color+", 1)",borderWidth:1,fill:!0}),h.line_chart(h.chart_id("search"),a.title,a.date,r)}},h.summary_meta_box={summary_statistics:function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],o="";return r.user_online&&(o="<tr><th>".concat(h._("online_users"),':</th><th colspan="2" id="th-colspan"><span><a href="').concat(r.user_online.link,'">').concat(r.user_online.value,"</a></span></th></tr>")),(h.is_active("visitors")||h.is_active("visits"))&&function(){o+='<tr><th width="60%"></th>',["visitors","visits"].forEach(function(t){o+='<th class="th-center">'+(h.is_active(t)?h._(t):"")+"</th>"}),o+="</tr>";for(var a=["today","yesterday","week","month","year","total"],t=0;t<a.length;t++)!function(e){o+="<tr><th>".concat(h._(a[e]),": </th>"),["visitors","visits"].forEach(function(t){o+='<th class="th-center">'+(h.is_active(t)?'<a href="'.concat(r[t][a[e]].link,'"><span>').concat(r[t][a[e]].value,"</span></a>"):"")+"</th>"}),o+="</tr>"}(t)}(),o},view:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a="";return a+='<table width="100%" class="widefat table-stats wps-summary-stats"><tbody>',a+=this.summary_statistics(e),h.is_active("visitors")&&(a+='<tr><th colspan="3"><br><hr></th></tr>',a+='<tr><th colspan="3" style="text-align: center;">'.concat(h.meta_box_lang("summary","search_engine"),'</th></tr><tr><th width="60%"></th><th class="th-center">').concat(h._("today"),'</th><th class="th-center">').concat(h._("yesterday"),"</th></tr>"),Object.keys(e["search-engine"]).forEach(function(t){a+='<tr><th><img src="'.concat(e["search-engine"][t].logo,'" alt="').concat(e["search-engine"][t].name,'" class="wps-engine-logo"> ').concat(e["search-engine"][t].name,':</th><th class="th-center"><span>').concat(e["search-engine"][t].today,'</span></th><th class="th-center"><span>').concat(e["search-engine"][t].yesterday,"</span></th></tr>")}),a+="<tr><th>".concat(h._("daily_total"),':</th><td id="th-colspan" class="th-center"><span>').concat(e["search-engine-total"].today,'</span></td><td id="th-colspan" class="th-center"><span>').concat(e["search-engine-total"].yesterday,"</span></td></tr><tr><th>").concat(h._("total"),':</th><th colspan="2" id="th-colspan"><span>').concat(e["search-engine-total"].total,"</span></th></tr>")),a+=' <tr><th colspan="3"><br><hr></th></tr><tr><th colspan="3" style="text-align: center;">'.concat(h.meta_box_lang("summary","current_time_date"),'<span id="time_zone"><a href="').concat(e.timezone["option-link"],'"> ').concat(h.meta_box_lang("summary","adjustment"),'</a></span></th></tr><tr><th colspan="3">').concat(h._("date"),': <code dir="ltr">').concat(e.timezone.date,'</code></th></tr><tr> <th colspan="3">').concat(h._("time"),': <code dir="ltr">').concat(e.timezone.time,"</code></th></tr>"),a+="</tbody></table>"}},h.top_pages_chart_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t="";return setTimeout(function(){h.date_picker()},1e3),t+='<canvas id="'+h.chart_id("top-pages-chart")+'" height="80"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.top_pages_chart(h.chart_id("top-pages-chart"),t)},top_pages_chart:function(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=[],o=0;Object.keys(a.stat).forEach(function(t){var e=h.random_color(o);r.push({label:t,data:a.stat[t],backgroundColor:"rgba("+e[0]+","+e[1]+","+e[2]+",0.3)",borderColor:"rgba("+e[0]+","+e[1]+","+e[2]+",1)",borderWidth:1,fill:!0}),o++}),h.line_chart(t,a.title,a.date,r)}},h.top_visitors_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<div class="wp-statistics-responsive-table">',e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td>'.concat(h._("rank"),"</td><td>").concat(h._("hits"),"</td>")+(h.is_active("geo_ip")?"<td>".concat(h._("flag"),"</td><td>").concat(h._("country"),"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(h._("city"),"</td>"):"")+"<td>".concat(h._("ip"),"</td><td>").concat(h._("agent"),"</td><td>").concat(h._("platform"),"</td><td>").concat(h._("version"),"</td></tr>");var a=1;return t.forEach(function(t){e+="<tr><td>".concat(a,"</td><td>").concat(t.hits,"</td>")+(h.is_active("geo_ip")?"<td><img src='".concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td><td>").concat(t.country.name,"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(t.city,"</td>"):"")+"<td>"+(t.hash_ip||"<a href='".concat(t.ip.link,"'>").concat(t.ip.value,"</a>"))+"</td><td>".concat(t.agent,"</td><td>").concat(t.platform,"</td><td>").concat(t.version,"</td></tr>"),a++}),e+="</tbody></table>",e+="</div>"}},h.useronline_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return e+='<table class="widefat table-stats wps-report-table wps-table-fixed"><tr>'+(h.is_active("geo_ip")?"<td style='text-align: left;'>".concat(h._("country"),"</td>"):"")+"<td style='text-align: left;'>".concat(h._("ip"),"</td><td width=\"35%\" style='text-align: left;'>").concat(h._("page"),"</td><td style='text-align: left;'>").concat(h._("referrer"),"</td></tr>"),t.forEach(function(t){e+="<tr>"+(h.is_active("geo_ip")?'<td style="text-align: left"><img src=\''.concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td>"):"")+"<td style='text-align: left !important'>"+(t.hash_ip||t.ip.value)+"</td><td style='text-align: left !important;'><span class=\"wps-text-wrap\">"+(2<t.page.link.length?'<a href="'.concat(t.page.link,'" title="').concat(t.page.title,'" target="_blank" class="wps-text-danger">'):"")+t.page.title+(2<t.page.link.length?"</a>":"")+'</span></td><td style="text-align: left !important">'.concat(t.referred,"</td></tr>")}),e+="</table>"}},h.words_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<div class="wp-statistics-responsive-table">',e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td>'.concat(h._("word"),"</td><td>").concat(h._("browser"),"</td>")+(h.is_active("geo_ip")?"<td>".concat(h._("country"),"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(h._("city"),"</td>"):"")+"<td>".concat(h._("date"),"</td><td>").concat(h._("ip"),"</td><td>").concat(h._("referrer"),"</td></tr>");return t.forEach(function(t){e+='<tr><td style="text-align: left"><span title=\''.concat(t.word,"' class='wps-cursor-default wps-text-wrap")+(h.is_active("overview_page")?" wps-200-px":"")+"'>".concat(t.word,'</span></td><td style="text-align: left"><a href="').concat(t.browser.link,'" title="').concat(t.browser.name,'"><img src="').concat(t.browser.logo,'" alt="').concat(t.browser.name,"\" class='log-tools' title='").concat(t.browser.name,"'/></a></td>")+(h.is_active("geo_ip")?'<td style="text-align: left"><img src=\''.concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td>"):"")+(h.is_active("geo_city")?'<td style="text-align: left">'.concat(t.city,"</td>"):"")+'<td style="text-align: left">'.concat(t.date,'</td><td style="text-align: left">')+(t.hash_ip||"<a href='".concat(t.ip.link,"'>").concat(t.ip.value,"</a>"))+'</td><td style="text-align: left">'.concat(t.referred,"</td></tr>"),0}),e+="</tbody></table>",e+="</div>"}},h.isset(h.global,"request_params","page")&&"authors"===h.global.request_params.page&&(a={ago:30,type:"author",ID:0},["from","to","ID"].forEach(function(t){h.isset(h.global,"request_params",t)&&(a[t]=h.global.request_params[t])}),jQuery("span[id^='number-total-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("pages-chart",a,!1)),h.isset(h.global,"request_params","page")&&"browser"===h.global.request_params.page&&(r={},["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(r[t]=h.global.request_params[t])}),["browsers-table","browsers"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").css("height","430px")}),jQuery("#wp-statistics-browsers-table-widget .inside").html(h.placeholder()),jQuery(".wps-ph-picture").attr("style","height: 310px;"),h.run_meta_box("browsers",r,!1)),h.isset(h.global,"request_params","page")&&"categories"===h.global.request_params.page&&(o={ago:30,type:"category",ID:0},["from","to","ID"].forEach(function(t){h.isset(h.global,"request_params",t)&&(o[t]=h.global.request_params[t])}),jQuery("span[id^='number-total-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("pages-chart",o,!1)),h.isset(h.global,"request_params","page")&&"countries"===h.global.request_params.page&&(s={limit:0},["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(s[t]=h.global.request_params[t])}),h.run_meta_box("countries",s,!1)),h.isset(h.global,"request_params","page")&&"exclusions"===h.global.request_params.page&&(n=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},jQuery("span[id^='number-total-chart-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("exclusions",n,!1)),h.isset(h.global,"request_params","page")&&"hits"===h.global.request_params.page&&(n={},n=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},jQuery("span[id^='number-total-chart-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("hits",n,!1)),h.isset(h.global,"request_params","page")&&"overview"===h.global.request_params.page&&h.isset(h.global,"overview","ads")&&h.is_active("overview_ads")&&(i='<div id="wps_overview_ads_postbox" class="postbox"><div class="inside"><div class="close-overview-ads"><span class="dashicons dashicons-dismiss"></span></div><a href="'.concat(h.global.overview.ads.link,'" title="').concat(h.global.overview.ads.title,'" ').concat("yes"==h.global.overview.ads._target?' target="_blank"':"",'><img src="').concat(h.global.overview.ads.image,'" id="wps_overview_ads_image" alt="').concat(h.global.overview.ads.title,'"></a></div></div>'),jQuery(i).insertAfter("#wps-postbox-container-2 #normal-sortables div.postbox:first"),jQuery(document).on("click",".close-overview-ads",function(){jQuery("#wps_overview_ads_postbox").fadeOut("normal"),jQuery.ajax({url:h.global.admin_url+"admin-ajax.php",type:"get",data:{action:"wp_statistics_close_overview_ads",ads_id:""+h.global.overview.ads.ID,wps_nonce:""+h.global.rest_api_nonce},datatype:"json"})}),jQuery("#wps-donate-notice").on("click",".notice-dismiss",function(){jQuery.ajax({url:h.global.admin_url+"admin-ajax.php",type:"get",data:{action:"wp_statistics_close_notice",notice:"donate",wps_nonce:""+h.global.rest_api_nonce},datatype:"json"})}),jQuery("#wps_overview_ads_image").on("error",function(){jQuery("#wps_overview_ads_postbox").remove()})),h.isset(h.global,"request_params","page")&&"pages"===h.global.request_params.page&&(h.isset(h.global,"request_params","ID")&&h.isset(h.global,"request_params","type")?(i=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},i=Object.assign(i,{ID:h.global.request_params.ID,type:h.global.request_params.type}),h.run_meta_box("pages-chart",i,!1),h.exist_tag("form#wp-statistics-select-pages")&&h.select2(),jQuery(document).on("change","select[name=ID]",function(){jQuery("span.submit-form").html(h._("please_wait")),jQuery(this).closest("form").trigger("submit")})):(l={},h.isset(h.global,"request_params","pagination-page")&&(l.paged=h.global.request_params["pagination-page"]),h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?(l.from=h.global.request_params.from,l.to=h.global.request_params.to):l.ago=30,h.run_meta_box("top-pages-chart",l,!1))),h.isset(h.global,"request_params","page")&&"platform"===h.global.request_params.page&&(c={},["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(c[t]=h.global.request_params[t])}),["platforms-table","platforms"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").css("height","430px")}),jQuery("#wp-statistics-platforms-table-widget .inside").html(h.placeholder()),jQuery(".wps-ph-picture").attr("style","height: 310px;"),h.run_meta_box("platforms",c,!1)),h.isset(h.global,"request_params","page")&&"searches"===h.global.request_params.page&&(l=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},h.run_meta_box("search",l,!1)),jQuery(".wp-statistics-settings").length&&((d=function(t){if(t=new RegExp("[?&]"+t+"=([^&#]*)").exec(window.location.href))return t[1]}("tab"))&&m(d),jQuery(".wp-statistics-settings ul.tabs li").click(function(){m(jQuery(this).attr("data-tab"))})),g("input[name=wps_visitors]","tr[data-view=visitors_log_tr]"),g("input[name=wps_referrerspam]","tr.referrerspam_field"),h.isset(h.global,"request_params","page")&&"settings"===h.global.request_params.page&&(jQuery("#wp-statistics-settings-form ul.tabs li").click(function(t){t.preventDefault();t=e(this).attr("data-tab");"undefined"!=typeof localStorage&&localStorage.setItem("wp-statistics-settings-active-tab",t)}),"undefined"==typeof localStorage||!h.isset(h.global,"request_params","save_setting")||"yes"!==h.global.request_params.save_setting||0<(d=localStorage.getItem("wp-statistics-settings-active-tab")).length&&e("#wp-statistics-settings-form ul.tabs li[data-tab="+d+"]").click()),h.isset(h.global,"request_params","page")&&"tags"===h.global.request_params.page&&(p={ago:30,type:"post_tag",ID:0},["from","to","ID"].forEach(function(t){h.isset(h.global,"request_params",t)&&(p[t]=h.global.request_params[t])}),jQuery("span[id^='number-total-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("pages-chart",p,!1)),h.isset(h.global,"request_params","page")&&"visitors"===h.global.request_params.page&&(u=function(t,r){var o='<table class="widefat">',s={browsers:["agent","browsers"],country:["location","location"],platform:["platform","platform"],referrer:["referrer","referrer"],user:["user_id","users"]};Object.keys(s).forEach(function(e){o+="<tr><td>".concat(h._(e),"</td></tr>"),o+='<tr><td><select name="'.concat(s[e][0],'" class="select2 wps-width-100" data-type-show="select2">'),o+="<option value=''>".concat(h._("all"),"</option>");var a=h.getLinkParams(s[e][0]);Object.keys(r[s[e][1]]).forEach(function(t){o+="<option value='".concat(t,"' ").concat(null!=a&&a==t?"selected":"",">").concat(r[s[e][1]][t],"</option>")}),o+="</select></td></tr>"}),o+="<tr><td>".concat(h._("ip"),"</td></tr>"),o+='<tr><td><input name="ip" value="'.concat(null!=h.getLinkParams("ip")?h.getLinkParams("ip"):"",'" class="wps-width-100" placeholder=\'xxx.xxx.xxx.xxx\' autocomplete="off"></td></tr>'),o+="<tr><td>".concat(h._("date"),"</td></tr>");var e="width: calc(50% - 5px);display: inline-block;";o+='<tr><td><div style="'.concat(e,'">').concat(h._("from"),': <input name="date-from" data-wps-date-picker="from" value="').concat(null!=h.getLinkParams("from")?h.getLinkParams("from"):"",'" style="width: calc(100% - 5px);" placeholder="YYYY-MM-DD" autocomplete="off"></div><div style="').concat(e,'">').concat(h._("to"),': <input name="date-to" data-wps-date-picker="to" value="').concat(null!=h.getLinkParams("to")?h.getLinkParams("to"):"",'" style="width: 100%;" placeholder="YYYY-MM-DD" autocomplete="off"></div><input type="hidden" name="from" id="date-from" value="').concat(null!=h.getLinkParams("from")?h.getLinkParams("from"):"",'"><input type="hidden" name="to" id="date-to" value="').concat(null!=h.getLinkParams("to")?h.getLinkParams("to"):"",'"></td></tr>'),o+="<tr><td></td></tr>",o+='<tr><td><input type="submit" value="'.concat(h._("filter"),'" class="button-primary"> &nbsp; <span class="filter-loading"></span></td></tr>'),o+="</table>",jQuery(t).html(o),setTimeout(function(){h.date_picker(),h.select2()},200)},jQuery(document).on("click","div#visitors-filter",function(t){t.preventDefault(),tb_show("","#TB_inline?&width=430&height=668&inlineId=visitors-filter-popup"),setTimeout(function(){var t,e,a="#wps-visitors-filter-form";h.exist_tag(a+" input[type=submit]")||(jQuery(a).html('<div style="height: 50px;"></div>'+h.line_placeholder(5)),t=localStorage.getItem("wp-statistics-visitors-filter")?JSON.parse(localStorage.getItem("wp-statistics-visitors-filter")):{},!h.isset(t,"timestamp")||!h.isset(t,"value")||h.isset(t,"timestamp")&&h.isset(t,"value")&&(new Date).getTime().toString()>parseInt(t.timestamp)?(e={wps_nonce:h.global.rest_api_nonce,action:"wp_statistics_visitors_page_filters"},e=Object.assign(e,h.global.request_params),jQuery.ajax({url:h.global.admin_url+"admin-ajax.php",type:"GET",dataType:"json",data:e,timeout:3e4,success:function(t){localStorage.setItem("wp-statistics-visitors-filter",JSON.stringify({value:t,timestamp:(new Date).getTime()+216e5})),u(a,t)},error:function(t,e,a){jQuery("span.tb-close-icon").click()}})):u(a,t.value))},500)}),_="#wp_statistics_visitors_filter_form",jQuery(document).on("submit",_,function(){var t=jQuery(_+" input[name=date-from]"),e=jQuery(_+" input[name=date-to]");if(0<t.val().length&&e.val().length<1||t.val().length<1&&1<e.val().length)return alert(h._("er_datepicker")),!1;e=jQuery(_+" input[name=ip]").val();if(0<e.length&&!1===h.isIP(e))return alert(h._("er_valid_ip")),!1;jQuery("input[data-wps-date-picker]").prop("disabled",!0);var r={input:["date-from","date-to","ip"],select:["agent","platform","location","referrer","user_id"]};Object.keys(r).forEach(function(a){r[a].forEach(function(e){var t=jQuery(_+" "+a+"[name="+e+"]");t.val().length<1&&(t.prop("disabled",!0),["from","to"].forEach(function(t){e=="date-"+t&&jQuery(_+" input[name="+t+"]").prop("disabled",!0)}))})});e=h.getLinkParams("order");return null!=e&&jQuery(this).append('<input type="hidden" name="order" value="'+e+'" /> '),jQuery("span.filter-loading").html(h._("please_wait")),!0})),h.date_picker(),("index.php"===h.global.page.file||h.is_active("overview_page")||"post-new.php"===h.global.page.file||"post.php"===h.global.page.file&&h.isset(h.global,"page","ID"))&&h.run_meta_boxes()});
1
+ "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}jQuery(document).ready(function(e){var t;t=function(c){var l={},d={};c.ajaxq=function(e,a){if(void 0===a)throw"AjaxQ: queue name is not provided";var o=c.Deferred(),t=o.promise();t.success=t.done,t.error=t.fail,t.complete=t.always;var r,s="function"==typeof a,n=s?null:c.extend(!0,{},a);return r=function(){var t=c.ajax.apply(window,[s?a():n]);return t.done(function(){o.resolve.apply(this,arguments)}),t.fail(function(){o.reject.apply(this,arguments)}),t.always(i),t},l[e]?l[e].push(r):(l[e]=[],r=r(),d[e]=r),t;function i(){var t;l[e]&&((t=l[e].shift())?(t=t(),d[e]=t):(delete l[e],delete d[e]))}},c.each(["getq","postq"],function(t,s){c[s]=function(t,e,a,o,r){return c.isFunction(a)&&(r=r||o,o=a,a=void 0),c.ajaxq(t,{type:"postq"===s?"post":"get",url:e,data:a,success:o,dataType:r})}});function e(t){return l.hasOwnProperty(t)&&0<l[t].length||d.hasOwnProperty(t)}c.ajaxq.isRunning=function(t){return t?e(t):function(){for(var t in l)if(e(t))return!0;return!1}()},c.ajaxq.getActiveRequest=function(t){if(!t)throw"AjaxQ: queue name is required";return d[t]},c.ajaxq.abort=function(t){if(!t)throw"AjaxQ: queue name is required";var e=c.ajaxq.getActiveRequest(t);delete l[t],delete d[t],e&&e.abort()},c.ajaxq.clear=function(t){if(t)l[t]&&(l[t]=[]);else for(var e in l)l.hasOwnProperty(e)&&(l[e]=[])}},"function"==typeof define&&define.amd?define(["jquery"],t):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=t(require("jquery")):t(jQuery);var a,o,r,s,n,i,c,l,d,p,u,_,h={};function m(t){jQuery(".wp-statistics-settings ul.tabs li").removeClass("current"),jQuery(".wp-statistics-settings .tab-content").removeClass("current"),jQuery("[data-tab="+t+"]").addClass("current"),jQuery("#"+t).addClass("current"),jQuery("#wp-statistics-settings-form").length&&(t=jQuery(location).attr("href")+"&tab="+t,jQuery("#wp-statistics-settings-form").attr("action",t).submit())}function g(t,e){jQuery(document).on("change",t,function(t){t.preventDefault();t=jQuery(e);this.checked?t.show("slow"):(t.hide("slow"),t.find("input[type=checkbox]").prop("checked",!1))})}h.global="undefined"!=typeof wps_global?wps_global:[],h._=function(t){return t in this.global.i18n?this.global.i18n[t]:""},h.is_active=function(t){return 1===h.global.options[t]},h.ajax_queue={key:"wp-statistics",time:400},h.ajaxQ=function(o,r,e,s){var t=4<arguments.length&&void 0!==arguments[4]?arguments[4]:"GET",n=!(5<arguments.length&&void 0!==arguments[5])||arguments[5],t={url:o=!1===o||"metabox"===o?h.global.meta_box_api:o,type:t,dataType:"json",crossDomain:!0,cache:!1,data:r,success:function(t){o===h.global.meta_box_api&&!0===n?t.no_data?jQuery(h.meta_box_inner(r.name)).empty().html(h.no_meta_box_data()):(jQuery(h.meta_box_inner(r.name)).empty().html(h[e].view(t)),h[e].meta_box_init&&setTimeout(function(){h[e].meta_box_init(t)},150)):h[e](t)},error:function(t,e,a){o===h.global.meta_box_api&&!0===n?jQuery(h.meta_box_inner(r.name)).empty().html(h[s](t.responseText)):h[s](t.responseText)}};o===h.global.meta_box_api&&(t.beforeSend=function(t){t.setRequestHeader("X-WP-Nonce",h.global.rest_api_nonce),t.setRequestHeader("Access-Control-Allow-Origin","*")}),jQuery.ajaxq(h.ajax_queue.key,t)},h.placeholder=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return'<div class="wps-ph-item"><div class="wps-ph-col-12">'.concat(h.placeholder_content("picture"),"").concat(h.placeholder_content("line"),"</div>")+(!1!==t?t:"")+"</div>"},h.line_placeholder=function(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,e='<div class="wps-ph-item">',a=0;a<t;a++)e+='<div class="wps-ph-col-12"> <div class="wps-ph-row"><div class="wps-ph-col-6 big"></div><div class="wps-ph-col-4 empty big"></div><div class="wps-ph-col-4"></div><div class="wps-ph-col-8 empty"></div><div class="wps-ph-col-6"></div><div class="wps-ph-col-6 empty"></div><div class="wps-ph-col-12"></div> </div></div>';return e+="</div>"},h.circle_placeholder=function(){return'<div class="wps-ph-item"> '.concat(h.placeholder_content("circle"),"</div>")},h.rectangle_placeholder=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return'<div class="wps-ph-item'+(0<t.length?" "+t:"")+'"><div class="wps-ph-col-12">'.concat(h.placeholder_content("picture"),"</div></div>")},h.placeholder_content=function(){var t="";switch(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"line"){case"picture":t='<div class="wps-ph-picture"></div>';break;case"line":t='<div class="wps-ph-row"><div class="wps-ph-col-6 big"></div><div class="wps-ph-col-4 empty big"></div><div class="wps-ph-col-2 big"></div><div class="wps-ph-col-4"></div><div class="wps-ph-col-8 empty"></div><div class="wps-ph-col-6"></div><div class="wps-ph-col-6 empty"></div><div class="wps-ph-col-12"></div> </div>';break;case"circle":t='<div class="wps-ph-col-2"></div><div class="wps-ph-col-8"><div class="wps-ph-avatar"></div></div>'}return t},h.exist_tag=function(t){return jQuery(t).length},h.date_picker=function(){jQuery.fn.datepicker&&"undefined"!=typeof wps_i18n_jquery_datepicker&&jQuery("input[data-wps-date-picker]").datepicker({monthNames:wps_i18n_jquery_datepicker.monthNames,monthNamesShort:wps_i18n_jquery_datepicker.monthNamesShort,dayNames:wps_i18n_jquery_datepicker.dayNames,dayNamesShort:wps_i18n_jquery_datepicker.dayNamesShort,dayNamesMin:wps_i18n_jquery_datepicker.dayNamesMin,dateFormat:wps_i18n_jquery_datepicker.dateFormat,firstDay:wps_i18n_jquery_datepicker.firstDay,isRTL:wps_i18n_jquery_datepicker.isRTL,onSelect:function(t){var e=jQuery(this).attr("data-wps-date-picker");0<t.length&&jQuery("input[id=date-"+e+"]").val(t)}})},h.select2=function(){jQuery("select[data-type-show=select2]").select2()},h.redirect=function(t){window.location.replace(t)},h.line_chart=function(t,e,a,o){t=document.getElementById(t).getContext("2d");h.is_active("rtl")&&(Chart.defaults.global={defaultFontFamily:"Tahoma"}),new Chart(t,{type:"line",data:{labels:a,datasets:o},options:{responsive:!0,legend:{position:"bottom"},animation:{duration:1500},title:{display:!0,text:e},tooltips:{mode:"index",intersect:!1},interaction:{intersect:!1},scales:{yAxes:[{ticks:{beginAtZero:!0}}]}}})},h.pie_chart=function(t,e,a){var o=3<arguments.length&&void 0!==arguments[3]&&arguments[3],t=document.getElementById(t).getContext("2d");h.is_active("rtl")&&(Chart.defaults.global={defaultFontFamily:"Tahoma"}),!1===o&&(o=function(t,e){var a=e.datasets[t.datasetIndex],o=a.data.reduce(function(t,e,a,o){return t+e}),a=a.data[t.index];return Math.floor(a/o*100+.5)+"% - "+e.labels[t.index]}),new Chart(t,{type:"pie",data:{labels:e,datasets:a},options:{responsive:!0,legend:{position:"bottom"},animation:{duration:1500},tooltips:{callbacks:{label:o}}},plugins:[{afterDraw:function(t){var e,a,o;!0===t.data.datasets[0].data.every(function(t){return 0==t})&&(e=t.chart.ctx,a=t.chart.width,o=t.chart.height,t.clear(),e.save(),e.textAlign="center",e.textBaseline="middle",e.font="14px normal 'Tahoma'",e.fillText(h._("no_data"),a/2,o/2),e.restore())}}]})},h.chart_id=function(t){return"wp-statistics-"+t+"-meta-box-chart"},h.random_color=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=[[243,156,18,"#f39c12"],[52,152,219,"#3498db"],[192,57,43,"#c0392b"],[155,89,182,"#9b59b6"],[39,174,96,"#27ae60"],[230,126,34,"#e67e22"],[142,68,173,"#8e44ad"],[46,204,113,"#2ecc71"],[41,128,185,"#2980b9"],[22,160,133,"#16a085"],[211,84,0,"#d35400"],[44,62,80,"#2c3e50"],[241,196,15,"#f1c40f"],[231,76,60,"#e74c3c"],[26,188,156,"#1abc9c"],[46,204,113,"#2ecc71"],[52,152,219,"#3498db"],[155,89,182,"#9b59b6"],[52,73,94,"#34495e"],[22,160,133,"#16a085"],[39,174,96,"#27ae60"],[44,62,80,"#2c3e50"],[241,196,15,"#f1c40f"],[230,126,34,"#e67e22"],[231,76,60,"#e74c3c"],[236,240,241,"#9b9e9f"],[149,165,166,"#a65d20"]];return e[!1===t?Math.floor(Math.random()*e.length):t]},h.site_icon=function(t){return'<img src="https://www.google.com/s2/favicons?domain='.concat(t,'" width="16" height="16" alt="').concat(t,'" style="vertical-align: -3px;" />')},h.wordpress_postbox_ajax=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"enable",e=jQuery(".postbox .hndle, .postbox .handlediv");"enable"===t?e.on("click",window.postboxes.handle_click):e.off("click",window.postboxes.handle_click)},h.isset=function(t){for(var e=Array.prototype.slice.call(arguments,1),a=0;a<e.length;a++){if(!t||!t.hasOwnProperty(e[a]))return!1;t=t[e[a]]}return!0},h.number_format=function(t,e,a,o){if(null==t||!isFinite(t))throw new TypeError("number is not valid");var r;e||(e=1<(r=t.toString().split(".").length)?r:0),a=a||".",o=o||",";e=(t=(t=parseFloat(t).toFixed(e)).replace(".",a)).split(a);return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,o),t=e.join(a)},h.set_equal_height=function(t,e){var a=jQuery(t).height(),o=jQuery(e).height(),r=e,e=a;a<o&&(r=t,e=o),jQuery(r).css("height",e+"px")},h.Create_Half_PostBox=function(t,e){return'<div class="postbox-container wps-postbox-half '.concat(t,'"><div class="metabox-holder"><div class="meta-box-sortables"> <div class="postbox" id="').concat(e,'"> <div class="inside"></div></div></div></div></div>')},h.isIP=function(t){var e="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]?|0)";return new RegExp("^".concat(e,"\\.").concat(e,"\\.").concat(e,"\\.").concat(e,"$")).test(t)},h.getLinkParams=function(t){t=(1<arguments.length&&void 0!==arguments[1]&&arguments[1]||window.location.href).match(new RegExp("(?:[?&]"+t+"=)([^&]+)"));return t?t[1]:null},h.sum=function(t){return t.reduce(function(t,e){return t+e},0)},h.sanitize_meta_box_name=function(t){return t.replace(new RegExp("-","g"),"_")},h.get_meta_box_method=function(t){return this.sanitize_meta_box_name(t)+"_meta_box"},h.getMetaBoxKey=function(t){return"wp-statistics-"+t+"-widget"},h.no_meta_box_data=function(){return h._("no_data")},h.error_meta_box_data=function(t){t=JSON.parse(t);return h.isset(t,"message")?t.message:h._("rest_connect")},h.get_meta_box_info=function(t){return t in h.global.meta_boxes?h.global.meta_boxes[t]:[]},h.meta_box_lang=function(t,e){return e in h.global.meta_boxes[t].lang?h.global.meta_boxes[t].lang[e]:""},h.meta_box_inner=function(t){return"#"+h.getMetaBoxKey(t)+" div.inside"},h.meta_box_name_by_id=function(t){return t.split("statistics-").pop().split("-widget")[0]},h.meta_box_button=function(t){var e="#"+h.getMetaBoxKey(t)+" .handle-actions button:first",a=h.get_meta_box_info(t),o="z-index: 9999;position: absolute;top: 1px;",r="right";h.is_active("rtl")&&(r="left"),jQuery("#"+h.getMetaBoxKey(t)+" button[class*=wps-refresh], #"+h.getMetaBoxKey(t)+" button[class*=wps-more]").remove(),h.is_active("more_btn")&&h.isset(a,"page_url")&&jQuery('<button class="handlediv wps-more"'+(h.is_active("gutenberg")?' style="'.concat(o).concat(r,': 3%;" '):'style="line-height: 28px;"')+' type="button" onclick="location.href = \''+h.global.admin_url+"admin.php?page="+a.page_url+'\';"><span class="screen-reader-text">'+h._("more_detail")+'</span> <span class="dashicons dashicons-external"></span></button>').insertBefore(e),h.is_active("more_btn")&&h.isset(a,"page_url")?jQuery('<button class="handlediv wps-refresh"'+(h.is_active("gutenberg")?' style="'.concat(o).concat(r,': 6%;" '):'style="line-height: 28px;"')+' type="button"><span class="screen-reader-text">'+h._("reload")+'</span> <span class="dashicons dashicons-update"></span> </button>').insertAfter("#"+h.getMetaBoxKey(t)+" button[class*=wps-more]"):jQuery('<button class="handlediv wps-refresh"'+(h.is_active("gutenberg")?' style="'.concat(o).concat(r,': 3%;" '):'style="line-height: 28px;"')+' type="button"><span class="screen-reader-text">'+h._("reload")+'</span> <span class="dashicons dashicons-update"></span> </button>').insertBefore(e)},h.run_meta_box=function(t){var e,a,o=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];h.exist_tag("#"+h.getMetaBoxKey(t))&&(h.is_active("gutenberg")||!h.is_active("gutenberg")&&jQuery("#"+h.getMetaBoxKey(t)).is(":visible"))&&(e=jQuery(h.meta_box_inner(t)),(a=h.get_meta_box_method(t))in h&&("placeholder"in h[a]?e.html(h[a].placeholder()):e.html(h.placeholder()),!0===r&&h.meta_box_button(t),!(t={name:t})!==o&&(t=Object.assign(o,t)),"params"in h[a]&&(t=Object.assign(t,h[a].params())),h.ajaxQ("metabox",t,a,"error_meta_box_data")))},h.run_meta_boxes=function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0];(t=!1===t?Object.keys(h.global.meta_boxes):t).forEach(function(t){h.run_meta_box(t)})},jQuery(document).on("mouseenter mouseleave",".wps-refresh, .wps-more",function(t){"mouseenter"===t.type?h.wordpress_postbox_ajax("disable"):h.wordpress_postbox_ajax("enable")}),jQuery(document).on("click",".wps-refresh",function(t){t.preventDefault();t=jQuery(this).closest(".postbox").attr("id"),t=h.meta_box_name_by_id(t);h.run_meta_box(t)}),jQuery(document).on("click",'input[type=checkbox][id^="wp-statistics-"][id$="-widget-hide"]',function(){var t;jQuery(this).is(":checked")&&(t=jQuery(this).attr("id"),t=h.meta_box_name_by_id(t),h.run_meta_box(t))}),h.btn_group_chart=function(e){var a,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o={7:h._("str_week"),30:h._("str_month"),365:h._("str_year")};"ago"==t.type&&(a=parseInt(t.days));var r='<div class="wps-btn-group"><div class="btn-group" role="group">';return Object.keys(o).forEach(function(t){r+='<button type="button" class="btn '+(t==a?"btn-primary":"btn-default")+'" data-chart-time="'.concat(e,'" data-time="').concat(t,'">').concat(o[t],"</button>")}),r+='<button type="button" class="btn '+("between"==t.type?"btn-primary":"btn-default")+'" data-custom-date-picker="'.concat(e,'">').concat(h._("custom"),"</button>"),r+="</div></div>",r+='<div data-chart-date-picker="'.concat(e,'"')+("ago"==t.type?' style="display:none;"':"")+'><input type="text" size="18" name="date-from" data-wps-date-picker="from" value="'.concat(t.from,'" placeholder="YYYY-MM-DD" autocomplete="off">')+h._("to")+'<input type="text" size="18" name="date-to" data-wps-date-picker="to" value="'.concat(t.to,'" placeholder="YYYY-MM-DD" autocomplete="off"><input type="submit" value="')+h._("go")+'" data-between-chart-show="'.concat(e,'" class="button-primary"><input type="hidden" name="" id="date-from" value="').concat(t.from,'"><input type="hidden" name="" id="date-to" value="').concat(t.to,'"></div>')},jQuery(document).on("click",".wps-btn-group button",function(){jQuery(".wps-btn-group button").attr("class","btn btn-default"),jQuery(this).attr("class","btn btn-primary")}),jQuery(document).on("click","button[data-custom-date-picker]",function(){jQuery("div[data-chart-date-picker= "+jQuery(this).attr("data-custom-date-picker")+"]").slideDown()}),jQuery(document).on("click","button[data-chart-time]",function(){h.run_meta_box(jQuery(this).attr("data-chart-time"),{ago:jQuery(this).attr("data-time"),"no-data":"no"})}),jQuery(document).on("click","input[data-between-chart-show]",function(){var t=jQuery(this).attr("data-between-chart-show");h.run_meta_box(t,{from:jQuery("div[data-chart-date-picker="+t+"] input[id=date-from]").val(),to:jQuery("div[data-chart-date-picker="+t+"] input[id=date-to]").val(),"no-data":"no"})}),h.browsers_meta_box={placeholder:function(){return h.circle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return h.is_active("overview_page")&&(e+=h.btn_group_chart("browsers",t),setTimeout(function(){h.date_picker()},1e3)),e+='<canvas id="'+h.chart_id("browsers")+'" height="220"></canvas>'},meta_box_init:function(){for(var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a=[],o=0;o<=10;o++)t=h.random_color(o),a.push("rgba("+t[0]+","+t[1]+","+t[2]+",0.4)");var r=[{label:h._("browsers"),data:e.browsers_value,backgroundColor:a}];if(h.pie_chart(h.chart_id("browsers"),e.browsers_name,r),h.exist_tag("#"+h.getMetaBoxKey("browsers-table"))){["browsers-table","browsers"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").removeAttr("style")});for(var s='<div class="title-center">'.concat(e.title,'</div><table width="100%" class="widefat table-stats"><tr><td class="wps-text-muted">').concat(h._("browser"),'</td><td class="wps-text-muted">').concat(h._("visitor_count"),'</td><td class="wps-text-muted">').concat(h._("percentage"),"</td></tr>"),n=0;n<e.browsers_name.length;n++)s+=" <tr><td>".concat(e.browsers_name[n],"</td><td>").concat(0<parseInt(e.browsers_value[n])?"".concat("other"!==e.info.agent[n]?'<a href="'+e.info.visitor_page+"&agent="+e.info.agent[n]+"&from="+e.from+"&to="+e.to+'" target="_blank">':""," ").concat(h.number_format(e.browsers_value[n])," ").concat("other"!==e.info.agent[n]?"</a>":""):e.browsers_value[n],"</td><td>").concat(h.number_format(e.browsers_value[n]/e.total*100),"%</td> </tr>");s+=" <tr><td>".concat(h._("total"),"</td><td>").concat(h.number_format(e.total),"</td><td></td></tr>"),s+="</table>",jQuery("#"+h.getMetaBoxKey("browsers-table")+" .inside").html(s),h.set_equal_height(".postBox-table .inside",".postBox-chart .inside");for(var i="",c=0;c<e.browsers_name.length;c++)0<parseInt(e.browsers_value[c])&&e.info.agent[c]&&(i+='<div class="wps-title-group"><img src="'.concat(e.info.logo[c],'" alt="').concat(e.browsers_name[c],'" style="vertical-align: -3px;"> ').concat(e.browsers_name[c],'</div><div class="wp-clearfix"></div>'),i+=h.Create_Half_PostBox("postBox-chart-"+e.info.agent[c],"browser-"+e.info.agent[c]+"-chart"),i+=h.Create_Half_PostBox("postBox-table-"+e.info.agent[c],"browser-"+e.info.agent[c]+"-table"),i+='<div class="wp-clearfix"></div>');jQuery(i).insertAfter("#browsers-table");for(var l=0;l<e.browsers_name.length;l++)0<parseInt(e.browsers_value[l])&&e.info.agent[l]&&this.run_custom_browser(e.info.agent[l])}},run_custom_browser:function(t){["browser-"+t+"-chart","browser-"+t+"-table"].forEach(function(t){jQuery("#"+t+" .inside").css("height","430px")}),jQuery("#browser-"+t+"-table .inside").html(h.placeholder()),jQuery("#browser-"+t+"-chart .inside").html(h.circle_placeholder()),jQuery(".wps-ph-picture").attr("style","height: 310px;");var e={name:"browsers",browser:t};["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(e[t]=h.global.request_params[t])}),h.ajaxQ(h.global.meta_box_api,e,"show_custom_agent","error_custom_agent","GET",!1)}},h.show_custom_agent=function(n){var i=n.info.agent[0];jQuery("#browser-"+i+"-chart .inside").html('<canvas id="'+h.chart_id("browser-"+i)+'" height="220"></canvas>'),setTimeout(function(){for(var t,e=[],a=0;a<=10;a++)t=h.random_color(a),e.push("rgba("+t[0]+","+t[1]+","+t[2]+",0.4)");var o=[{label:h._("browsers"),data:n.browsers_value,backgroundColor:e}];h.pie_chart(h.chart_id("browser-"+i),n.browsers_name,o),["browser-"+i+"-chart","browser-"+i+"-table"].forEach(function(t){jQuery("#"+t+" .inside").removeAttr("style")});for(var r='<div class="title-center">'.concat(n.title,'</div><table width="100%" class="widefat table-stats"><tr><td class="wps-text-muted">').concat(h._("version_list"),'</td><td class="wps-text-muted">').concat(h._("visitor_count"),'</td><td class="wps-text-muted">').concat(h._("percentage"),"</td></tr>"),s=0;s<n.browsers_name.length;s++)r+=" <tr><td>".concat(n.browsers_name[s],"</td><td>").concat(0<parseInt(n.browsers_value[s])?h.number_format(n.browsers_value[s]):n.browsers_value[s],"</td><td>").concat(h.number_format(n.browsers_value[s]/n.total*100),"%</td></tr>");r+=" <tr><td>".concat(h._("total"),"</td><td>").concat(h.number_format(n.total),"</td><td></td></tr>"),r+="</table>";o="#browser-"+i+"-table .inside";jQuery(o).html(r),h.set_equal_height(o,"#browser-"+i+"-chart .inside")},500)},h.error_custom_agent=function(t){},h.countries_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td width="10%" style=\'text-align: left\'>'.concat(h._("rank"),"</td><td width=\"10%\" style='text-align: left'>").concat(h._("flag"),"</td><td width=\"40%\" style='text-align: left'>").concat(h._("country"),"</td><td width=\"40%\" style='text-align: left'>").concat(h._("visitor_count"),"</td></tr>");var a=1;return t.forEach(function(t){e+="<tr><td style='text-align: left;'>".concat(a,"</td><td style='text-align: left;'><img src=\"").concat(t.flag,'" title="').concat(t.name,'" alt="').concat(t.name,"\"/></td><td style='text-align: left;'>").concat(t.name,"</td><td style='text-align: left;'><a href=\"").concat(t.link,'" title="').concat(t.name,'" target="_blank">').concat(h.number_format(t.number),"</a></td></tr>"),a++}),e+="</tbody></table>"}},h.exclusions_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t=h.is_active("overview_page")?110:210;h.isset(h.global,"request_params","page")&&"exclusions"===h.global.request_params.page&&(t=80);var e="";return e+='<canvas id="'+h.chart_id("exclusions")+'" height="'+t+'"></canvas>'},meta_box_init:function(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.show_chart(h.chart_id("exclusions"),e),!h.isset(h.global,"request_params","page")||"exclusions"!==h.global.request_params.page||h.exist_tag(t="span[id='number-total-chart-exclusions']")&&(e=h.sum(Object.values(e.total)),jQuery(t).html(h.number_format(e)))},show_chart:function(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],s="",n=[],i=0;Object.keys(r.exclusions).forEach(function(t){var e,a,o=h.sum(Object.values(r.value[t]));0<o&&(e=r.exclusions[t],a=h.random_color(i),n.push({label:e,data:r.value[t],backgroundColor:"rgba("+a[0]+","+a[1]+","+a[2]+",0.3)",borderColor:"rgba("+a[0]+","+a[1]+","+a[2]+",1)",borderWidth:1,fill:!0,tension:.4}),s+="<tr><th>".concat(e,'</th> <th class="th-center"><span style="color: #9a9494 !important;">').concat(h.number_format(o),"</span></th></tr>"),i++)}),h.exist_tag("table[data-table=exclusions]")&&jQuery(s).insertAfter("table[data-table=exclusions] tr:first"),h.line_chart(t,r.title,r.date,n)}},h.hits_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=h.is_active("overview_page")?110:210;h.isset(h.global,"request_params","page")&&"hits"===h.global.request_params.page&&(e=80);var a="";return h.is_active("overview_page")&&(a+=h.btn_group_chart("hits",t),setTimeout(function(){h.date_picker()},1e3)),a+='<canvas id="'+h.chart_id("hits")+'" height="'+e+'"></canvas>'},meta_box_init:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.hits_chart(h.chart_id("hits"),a),h.isset(h.global,"request_params","page")&&"hits"===h.global.request_params.page&&["visits","visitors"].forEach(function(t){var e="span[id^='number-total-chart-"+t+"']";h.exist_tag(e)&&jQuery(e).html(a.total[t])})},hits_chart:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],a=e;"hits-chart"in e&&(a=e["hits-chart"]);e=[];h.is_active("visitors")&&e.push({label:h._("visitors"),data:a.visitors,backgroundColor:"rgba(255, 99, 132, 0.2)",borderColor:"rgba(255, 99, 132, 1)",borderWidth:1,fill:!0,tension:.4}),h.is_active("visits")&&e.push({label:h._("visits"),data:a.visits,backgroundColor:"rgba(54, 162, 235, 0.2)",borderColor:"rgba(54, 162, 235, 1)",borderWidth:1,fill:!0,tension:.4}),h.line_chart(t,a.title,a.date,e)}},h.hitsmap_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){return'<div id="wp-statistics-visitors-map"></div>'},meta_box_init:function(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r=Array();o.hasOwnProperty("country")&&Object.keys(o.country).forEach(function(e){var a="<div class='map-html-marker'><img src='".concat(o.country[e].flag,"' alt=\"").concat(o.country[e].name,"\" title='").concat(o.country[e].name,"' class='log-tools'/> ").concat(o.country[e].name," [").concat(o.total_country[e],"]<hr />");Object.keys(o.visitor[e]).forEach(function(t){a+="<p><img src='".concat(o.visitor[e][t].browser.logo,"' alt=\"").concat(o.visitor[e][t].browser.name,"\" class='log-tools' title='").concat(o.visitor[e][t].browser.name,"'/> ").concat(o.visitor[e][t].ip," ")+("Unknown"!==o.visitor[e][t].city?"- "+o.visitor[e][t].city:"")+"</p>"}),a+="</div>",r[e]=a}),jQuery("#wp-statistics-visitors-map").vectorMap({map:"world_en",backgroundColor:"#fff",borderColor:"#7e7e7e",borderOpacity:.6,color:"#e6e5e2",hoverColor:"#c3403c",colors:o.color,onLabelShow:function(t,e,a){void 0!==r[a]?e.html(r[a]):e.html(e.html()+" [0]<hr />")}})}},h.pages_chart_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){return'<canvas id="'+h.chart_id("pages-chart")+'" height="80"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.show_chart(h.chart_id("pages-chart"),t),h.exist_tag("span[id=number-total-visits]")&&jQuery("span[id=number-total-visits]").html(t.total),h.exist_tag("span[id=number-total-chart-visits]")&&jQuery("span[id=number-total-chart-visits]").html(t.total_dates)},show_chart:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];h.line_chart(t,e.title,e.date,[{label:h._("visits"),data:e.stat,backgroundColor:"rgba(54, 162, 235, 0.2)",borderColor:"rgba(54, 162, 235, 1)",borderWidth:1,fill:!0,tension:.4}])}},h.pages_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<table width="100%" class="widefat table-stats wps-report-table wps-table-fixed"><tbody><tr><td width=\'10%\'>'.concat(h._("id"),"</td><td width='40%'>").concat(h._("title"),"</td><td width='40%'>").concat(h._("link"),"</td><td width='10%'>").concat(h._("visits"),"</td></tr>");var a=1;return t.forEach(function(t){e+="<tr><td style='text-align: left;'>".concat(a,"</td><td style='text-align: left;'><span title='").concat(t.title,"' class='wps-cursor-default wps-text-wrap'>").concat(t.title,"</span></td><td style='text-align: left;'><a href=\"").concat(t.link,'" title="').concat(t.title,'" target="_blank">').concat(t.str_url,'</a></td><td style="text-align: left"><a href="').concat(t.hits_page,'" class="wps-text-muted">').concat(t.number,"</a></td></tr>"),a++}),e+="</tbody></table>"}},h.platforms_meta_box={placeholder:function(){return h.circle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return h.is_active("overview_page")&&(e+=h.btn_group_chart("platforms",t),setTimeout(function(){h.date_picker()},1e3)),e+='<canvas id="'+h.chart_id("platforms")+'" height="220"></canvas>'},meta_box_init:function(){for(var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a=[],o=0;o<=20;o++)t=h.random_color(),a.push("rgba("+t[0]+","+t[1]+","+t[2]+",0.4)");var r=[{label:h._("platform"),data:e.platform_value,backgroundColor:a,tension:.4}];if(h.pie_chart(h.chart_id("platforms"),e.platform_name,r),h.exist_tag("#"+h.getMetaBoxKey("platforms-table"))){["platforms-table","platforms"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").removeAttr("style")});for(var s='<div class="title-center">'.concat(e.title,'</div><table width="100%" class="widefat table-stats"><tr><td class="wps-text-muted">').concat(h._("platform"),'</td><td class="wps-text-muted">').concat(h._("visitor_count"),'</td><td class="wps-text-muted">').concat(h._("percentage"),"</td></tr>"),n=0;n<e.platform_name.length;n++)s+=" <tr><td>".concat(e.platform_name[n],"</td><td>").concat(0<parseInt(e.platform_value[n])?'<a href="'+e.info.visitor_page+"&platform="+e.platform_name[n]+"&from="+e.from+"&to="+e.to+'" target="_blank"> '.concat(h.number_format(e.platform_value[n])," </a>"):h.number_format(e.platform_value[n]),"</td><td>").concat(h.number_format(e.platform_value[n]/e.total*100),"%</td> </tr>");s+=" <tr><td>".concat(h._("total"),"</td><td>").concat(h.number_format(e.total),"</td><td></td></tr>"),s+="</table>",jQuery("#"+h.getMetaBoxKey("platforms-table")+" .inside").html(s),h.set_equal_height(".postBox-table .inside",".postBox-chart .inside")}}},h.post_meta_box={params:function(){return{ID:h.global.page.ID}},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return(t.hasOwnProperty("content")?'<div class="wps-center" style="padding: 15px;"> '+t.content+"</div>":'<canvas id="'+h.chart_id("post")+'" height="85"></canvas>')+'<div class="wps-wrap wps-meta-box-footer">'+t.visitors+"</div>"},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];t.hasOwnProperty("content")?jQuery("#"+h.getMetaBoxKey("post")+" button[onclick]").remove():this.post_hits_chart(h.chart_id("post"),t)},post_hits_chart:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];h.line_chart(t,e.title,e.date,[{label:e.post_title,data:e.state,backgroundColor:"rgba(255, 99, 132, 0.2)",borderColor:"rgba(255, 99, 132, 1)",borderWidth:1,fill:!0,tension:.4}])}},h.quickstats_meta_box={view:function(){var t="";return t+='<table width="100%" class="widefat table-stats wps-summary-stats"><tbody>',t+=h.summary_meta_box.summary_statistics(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]),t+="</tbody></table>",t+='<br><hr width="80%"/><br>',t+='<canvas id="'+h.chart_id("quickstats")+'" height="210"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];h.hits_meta_box.hits_chart(h.chart_id("quickstats"),t)}},h.recent_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return e+='<div class="wp-statistics-responsive-table">',e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td>'.concat(h._("browser"),"</td>")+(h.is_active("geo_ip")?"<td>".concat(h._("country"),"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(h._("city"),"</td>"):"")+"<td>".concat(h._("date"),"</td><td>").concat(h._("hits"),"</td><td>").concat(h._("ip"),"</td><td>").concat(h._("referrer"),"</td></tr>"),t.forEach(function(t){e+='<tr><td style="text-align: left"><a href="'.concat(t.browser.link,'" title="').concat(t.browser.name,'"><img src="').concat(t.browser.logo,'" alt="').concat(t.browser.name,"\" class='log-tools' title='").concat(t.browser.name,"'/></a></td>")+(h.is_active("geo_ip")?'<td style="text-align: left"><img src=\''.concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(t.city,"</td>"):"")+'<td style="text-align: left">'.concat(t.date,'</td><td style="text-align: left">').concat(t.hits,'</td><td style="text-align: left">')+(t.hash_ip||"<a href='".concat(t.ip.link,"'>").concat(t.ip.value,"</a>"))+'</td><td style="text-align: left">'.concat(t.referred,"</td></tr>")}),e+="</tbody></table>",e+="</div>"}},h.referring_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td width="80%">'.concat(h._("address"),'</td><td width="20%">').concat(h.meta_box_lang("referring","references"),"</td></tr>"),t.forEach(function(t){e+="<tr><td>"+h.site_icon(t.domain)+" <a href='//".concat(t.domain,"' title='").concat(t.title,'\' target="_blank">').concat(t.domain,"</a><span class='wps-cursor-default wps-referring-widget-ip'")+(2<t.country.length?' title="'.concat(t.country,'"'):"")+">".concat(t.ip,'</span></td><td class="wps-middle-vertical"><a href="').concat(t.page_link,'">').concat(t.number,"</a></td></tr>")}),e+="</tbody></table>"}},h.search_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=h.is_active("overview_page")?110:210;h.isset(h.global,"request_params","page")&&"searches"===h.global.request_params.page&&(e=80);var a="";return h.is_active("overview_page")&&(a+=h.btn_group_chart("search",t),setTimeout(function(){h.date_picker()},1e3)),a+='<canvas id="'+h.chart_id("search")+'" height="'+e+'"></canvas>'},meta_box_init:function(){var a=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],o=[],r=0;Object.keys(a["search-engine"]).forEach(function(t){var e=a["search-engine"][t].name,t=h.random_color(r);o.push({label:e,data:a.stat[e],backgroundColor:"rgba("+t[0]+","+t[1]+","+t[2]+",0.3)",borderColor:"rgba("+t[0]+","+t[1]+","+t[2]+",1)",borderWidth:1,fill:!0,tension:.4}),r++}),1===a.total.active&&o.push({label:h._("total"),data:a.total.stat,backgroundColor:"rgba("+a.total.color+", 0.2)",borderColor:"rgba("+a.total.color+", 1)",borderWidth:1,fill:!0,tension:.4}),h.line_chart(h.chart_id("search"),a.title,a.date,o)}},h.summary_meta_box={summary_statistics:function(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],r="";return o.user_online&&(r="<tr><th>".concat(h._("online_users"),':</th><th colspan="2" id="th-colspan"><span><a href="').concat(o.user_online.link,'">').concat(o.user_online.value,"</a></span></th></tr>")),(h.is_active("visitors")||h.is_active("visits"))&&function(){r+='<tr><th width="60%"></th>',["visitors","visits"].forEach(function(t){r+='<th class="th-center">'+(h.is_active(t)?h._(t):"")+"</th>"}),r+="</tr>";for(var a=["today","yesterday","week","month","year","total"],t=0;t<a.length;t++)!function(e){r+="<tr><th>".concat(h._(a[e]),": </th>"),["visitors","visits"].forEach(function(t){r+='<th class="th-center">'+(h.is_active(t)?'<a href="'.concat(o[t][a[e]].link,'"><span>').concat(o[t][a[e]].value,"</span></a>"):"")+"</th>"}),r+="</tr>"}(t)}(),r},view:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],a="";return a+='<table width="100%" class="widefat table-stats wps-summary-stats"><tbody>',a+=this.summary_statistics(e),h.is_active("visitors")&&(a+='<tr><th colspan="3"><br><hr></th></tr>',a+='<tr><th colspan="3" style="text-align: center;">'.concat(h.meta_box_lang("summary","search_engine"),'</th></tr><tr><th width="60%"></th><th class="th-center">').concat(h._("today"),'</th><th class="th-center">').concat(h._("yesterday"),"</th></tr>"),Object.keys(e["search-engine"]).forEach(function(t){a+='<tr><th><img src="'.concat(e["search-engine"][t].logo,'" alt="').concat(e["search-engine"][t].name,'" class="wps-engine-logo"> ').concat(e["search-engine"][t].name,':</th><th class="th-center"><span>').concat(e["search-engine"][t].today,'</span></th><th class="th-center"><span>').concat(e["search-engine"][t].yesterday,"</span></th></tr>")}),a+="<tr><th>".concat(h._("daily_total"),':</th><td id="th-colspan" class="th-center"><span>').concat(e["search-engine-total"].today,'</span></td><td id="th-colspan" class="th-center"><span>').concat(e["search-engine-total"].yesterday,"</span></td></tr><tr><th>").concat(h._("total"),':</th><th colspan="2" id="th-colspan"><span>').concat(e["search-engine-total"].total,"</span></th></tr>")),a+=' <tr><th colspan="3"><br><hr></th></tr><tr><th colspan="3" style="text-align: center;">'.concat(h.meta_box_lang("summary","current_time_date"),'<span id="time_zone"><a href="').concat(e.timezone["option-link"],'"> ').concat(h.meta_box_lang("summary","adjustment"),'</a></span></th></tr><tr><th colspan="3">').concat(h._("date"),': <code dir="ltr">').concat(e.timezone.date,'</code></th></tr><tr> <th colspan="3">').concat(h._("time"),': <code dir="ltr">').concat(e.timezone.time,"</code></th></tr>"),a+="</tbody></table>"}},h.top_pages_chart_meta_box={placeholder:function(){return h.rectangle_placeholder()},view:function(){var t="";return setTimeout(function(){h.date_picker()},1e3),t+='<canvas id="'+h.chart_id("top-pages-chart")+'" height="80"></canvas>'},meta_box_init:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.top_pages_chart(h.chart_id("top-pages-chart"),t)},top_pages_chart:function(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],o=[],r=0;Object.keys(a.stat).forEach(function(t){var e=h.random_color(r);o.push({label:t,data:a.stat[t],backgroundColor:"rgba("+e[0]+","+e[1]+","+e[2]+",0.3)",borderColor:"rgba("+e[0]+","+e[1]+","+e[2]+",1)",borderWidth:1,fill:!0,tension:.4}),r++}),h.line_chart(t,a.title,a.date,o)}},h.top_visitors_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<div class="wp-statistics-responsive-table">',e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td>'.concat(h._("rank"),"</td><td>").concat(h._("hits"),"</td>")+(h.is_active("geo_ip")?"<td>".concat(h._("flag"),"</td><td>").concat(h._("country"),"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(h._("city"),"</td>"):"")+"<td>".concat(h._("ip"),"</td><td>").concat(h._("agent"),"</td><td>").concat(h._("platform"),"</td><td>").concat(h._("version"),"</td></tr>");var a=1;return t.forEach(function(t){e+="<tr><td>".concat(a,"</td><td>").concat(t.hits,"</td>")+(h.is_active("geo_ip")?"<td><img src='".concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td><td>").concat(t.country.name,"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(t.city,"</td>"):"")+"<td>"+(t.hash_ip||"<a href='".concat(t.ip.link,"'>").concat(t.ip.value,"</a>"))+"</td><td>".concat(t.agent,"</td><td>").concat(t.platform,"</td><td>").concat(t.version,"</td></tr>"),a++}),e+="</tbody></table>",e+="</div>"}},h.useronline_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";return e+='<table class="widefat table-stats wps-report-table wps-table-fixed"><tr>'+(h.is_active("geo_ip")?"<td style='text-align: left;'>".concat(h._("country"),"</td>"):"")+"<td style='text-align: left;'>".concat(h._("ip"),"</td><td width=\"35%\" style='text-align: left;'>").concat(h._("page"),"</td><td style='text-align: left;'>").concat(h._("referrer"),"</td></tr>"),t.forEach(function(t){e+="<tr>"+(h.is_active("geo_ip")?'<td style="text-align: left"><img src=\''.concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td>"):"")+"<td style='text-align: left !important'>"+(t.hash_ip||t.ip.value)+"</td><td style='text-align: left !important;'><span class=\"wps-text-wrap\">"+(2<t.page.link.length?'<a href="'.concat(t.page.link,'" title="').concat(t.page.title,'" target="_blank" class="wps-text-muted">'):"")+t.page.title+(2<t.page.link.length?"</a>":"")+'</span></td><td style="text-align: left !important">'.concat(t.referred,"</td></tr>")}),e+="</table>"}},h.words_meta_box={view:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e="";e+='<div class="wp-statistics-responsive-table">',e+='<table width="100%" class="widefat table-stats wps-report-table"><tbody><tr><td>'.concat(h._("word"),"</td><td>").concat(h._("browser"),"</td>")+(h.is_active("geo_ip")?"<td>".concat(h._("country"),"</td>"):"")+""+(h.is_active("geo_city")?"<td>".concat(h._("city"),"</td>"):"")+"<td>".concat(h._("date"),"</td><td>").concat(h._("ip"),"</td><td>").concat(h._("referrer"),"</td></tr>");return t.forEach(function(t){e+='<tr><td style="text-align: left"><span title=\''.concat(t.word,"' class='wps-cursor-default wps-text-wrap")+(h.is_active("overview_page")?" wps-200-px":"")+"'>".concat(t.word,'</span></td><td style="text-align: left"><a href="').concat(t.browser.link,'" title="').concat(t.browser.name,'"><img src="').concat(t.browser.logo,'" alt="').concat(t.browser.name,"\" class='log-tools' title='").concat(t.browser.name,"'/></a></td>")+(h.is_active("geo_ip")?'<td style="text-align: left"><img src=\''.concat(t.country.flag,"' alt='").concat(t.country.name,"' title='").concat(t.country.name,"' class='log-tools'/></td>"):"")+(h.is_active("geo_city")?'<td style="text-align: left">'.concat(t.city,"</td>"):"")+'<td style="text-align: left">'.concat(t.date,'</td><td style="text-align: left">')+(t.hash_ip||"<a href='".concat(t.ip.link,"'>").concat(t.ip.value,"</a>"))+'</td><td style="text-align: left">'.concat(t.referred,"</td></tr>"),0}),e+="</tbody></table>",e+="</div>"}},h.isset(h.global,"request_params","page")&&"authors"===h.global.request_params.page&&(a={ago:30,type:"author",ID:0},["from","to","ID"].forEach(function(t){h.isset(h.global,"request_params",t)&&(a[t]=h.global.request_params[t])}),jQuery("span[id^='number-total-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("pages-chart",a,!1)),h.isset(h.global,"request_params","page")&&"browser"===h.global.request_params.page&&(o={},["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(o[t]=h.global.request_params[t])}),["browsers-table","browsers"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").css("height","430px")}),jQuery("#wp-statistics-browsers-table-widget .inside").html(h.placeholder()),jQuery(".wps-ph-picture").attr("style","height: 310px;"),h.run_meta_box("browsers",o,!1)),h.isset(h.global,"request_params","page")&&"categories"===h.global.request_params.page&&(r={ago:30,type:"category",ID:0},["from","to","ID"].forEach(function(t){h.isset(h.global,"request_params",t)&&(r[t]=h.global.request_params[t])}),jQuery("span[id^='number-total-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("pages-chart",r,!1)),h.isset(h.global,"request_params","page")&&"countries"===h.global.request_params.page&&(s={limit:0},["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(s[t]=h.global.request_params[t])}),h.run_meta_box("countries",s,!1)),h.isset(h.global,"request_params","page")&&"exclusions"===h.global.request_params.page&&(n=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},jQuery("span[id^='number-total-chart-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("exclusions",n,!1)),h.isset(h.global,"request_params","page")&&"hits"===h.global.request_params.page&&(n={},n=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},jQuery("span[id^='number-total-chart-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("hits",n,!1)),h.isset(h.global,"request_params","page")&&"overview"===h.global.request_params.page&&h.isset(h.global,"overview","ads")&&h.is_active("overview_ads")&&(i='<div id="wps_overview_ads_postbox" class="postbox"><div class="inside"><div class="close-overview-ads"><span class="dashicons dashicons-dismiss"></span></div><a href="'.concat(h.global.overview.ads.link,'" title="').concat(h.global.overview.ads.title,'" ').concat("yes"==h.global.overview.ads._target?' target="_blank"':"",'><img src="').concat(h.global.overview.ads.image,'" id="wps_overview_ads_image" alt="').concat(h.global.overview.ads.title,'"></a></div></div>'),jQuery(i).insertAfter("#wps-postbox-container-2 #normal-sortables div.postbox:first"),jQuery(document).on("click",".close-overview-ads",function(){jQuery("#wps_overview_ads_postbox").fadeOut("normal"),jQuery.ajax({url:h.global.admin_url+"admin-ajax.php",type:"get",data:{action:"wp_statistics_close_overview_ads",ads_id:""+h.global.overview.ads.ID,wps_nonce:""+h.global.rest_api_nonce},datatype:"json"})}),jQuery("#wps-donate-notice").on("click",".notice-dismiss",function(){jQuery.ajax({url:h.global.admin_url+"admin-ajax.php",type:"get",data:{action:"wp_statistics_close_notice",notice:"donate",wps_nonce:""+h.global.rest_api_nonce},datatype:"json"})}),jQuery("#wps_overview_ads_image").on("error",function(){jQuery("#wps_overview_ads_postbox").remove()})),h.isset(h.global,"request_params","page")&&"pages"===h.global.request_params.page&&(h.isset(h.global,"request_params","ID")&&h.isset(h.global,"request_params","type")?(i=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},i=Object.assign(i,{ID:h.global.request_params.ID,type:h.global.request_params.type}),h.run_meta_box("pages-chart",i,!1),h.exist_tag("form#wp-statistics-select-pages")&&h.select2(),jQuery(document).on("change","select[name=ID]",function(){jQuery("span.submit-form").html(h._("please_wait")),jQuery(this).closest("form").trigger("submit")})):(l={},h.isset(h.global,"request_params","pagination-page")&&(l.paged=h.global.request_params["pagination-page"]),h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?(l.from=h.global.request_params.from,l.to=h.global.request_params.to):l.ago=30,h.run_meta_box("top-pages-chart",l,!1))),h.isset(h.global,"request_params","page")&&"platform"===h.global.request_params.page&&(c={},["from","to"].forEach(function(t){h.isset(h.global,"request_params",t)&&(c[t]=h.global.request_params[t])}),["platforms-table","platforms"].forEach(function(t){jQuery("#"+h.getMetaBoxKey(t)+" .inside").css("height","430px")}),jQuery("#wp-statistics-platforms-table-widget .inside").html(h.placeholder()),jQuery(".wps-ph-picture").attr("style","height: 310px;"),h.run_meta_box("platforms",c,!1)),h.isset(h.global,"request_params","page")&&"searches"===h.global.request_params.page&&(l=h.isset(h.global,"request_params","from")&&h.isset(h.global,"request_params","to")?{from:h.global.request_params.from,to:h.global.request_params.to}:{ago:30},h.run_meta_box("search",l,!1)),jQuery(".wp-statistics-settings").length&&((d=function(t){if(t=new RegExp("[?&]"+t+"=([^&#]*)").exec(window.location.href))return t[1]}("tab"))&&m(d),jQuery(".wp-statistics-settings ul.tabs li").click(function(){m(jQuery(this).attr("data-tab"))})),g("input[name=wps_visitors]","tr[data-view=visitors_log_tr]"),g("input[name=wps_referrerspam]","tr.referrerspam_field"),h.isset(h.global,"request_params","page")&&"settings"===h.global.request_params.page&&(jQuery("#wp-statistics-settings-form ul.tabs li").click(function(t){t.preventDefault();t=e(this).attr("data-tab");"undefined"!=typeof localStorage&&localStorage.setItem("wp-statistics-settings-active-tab",t)}),"undefined"==typeof localStorage||!h.isset(h.global,"request_params","save_setting")||"yes"!==h.global.request_params.save_setting||0<(d=localStorage.getItem("wp-statistics-settings-active-tab")).length&&e("#wp-statistics-settings-form ul.tabs li[data-tab="+d+"]").click()),h.isset(h.global,"request_params","page")&&"tags"===h.global.request_params.page&&(p={ago:30,type:"post_tag",ID:0},["from","to","ID"].forEach(function(t){h.isset(h.global,"request_params",t)&&(p[t]=h.global.request_params[t])}),jQuery("span[id^='number-total-']").html(h.rectangle_placeholder("wps-text-placeholder")),h.run_meta_box("pages-chart",p,!1)),h.isset(h.global,"request_params","page")&&"visitors"===h.global.request_params.page&&(u=function(t,o){var r='<table class="widefat">',s={browsers:["agent","browsers"],country:["location","location"],platform:["platform","platform"],referrer:["referrer","referrer"],user:["user_id","users"]};Object.keys(s).forEach(function(e){r+="<tr><td>".concat(h._(e),"</td></tr>"),r+='<tr><td><select name="'.concat(s[e][0],'" class="select2 wps-width-100" data-type-show="select2">'),r+="<option value=''>".concat(h._("all"),"</option>");var a=h.getLinkParams(s[e][0]);Object.keys(o[s[e][1]]).forEach(function(t){r+="<option value='".concat(t,"' ").concat(null!=a&&a==t?"selected":"",">").concat(o[s[e][1]][t],"</option>")}),r+="</select></td></tr>"}),r+="<tr><td>".concat(h._("ip"),"</td></tr>"),r+='<tr><td><input name="ip" value="'.concat(null!=h.getLinkParams("ip")?h.getLinkParams("ip"):"",'" class="wps-width-100" placeholder=\'xxx.xxx.xxx.xxx\' autocomplete="off"></td></tr>'),r+="<tr><td>".concat(h._("date"),"</td></tr>");var e="width: calc(50% - 5px);display: inline-block;";r+='<tr><td><div style="'.concat(e,'">').concat(h._("from"),': <input name="date-from" data-wps-date-picker="from" value="').concat(null!=h.getLinkParams("from")?h.getLinkParams("from"):"",'" style="width: calc(100% - 5px);" placeholder="YYYY-MM-DD" autocomplete="off"></div><div style="').concat(e,'">').concat(h._("to"),': <input name="date-to" data-wps-date-picker="to" value="').concat(null!=h.getLinkParams("to")?h.getLinkParams("to"):"",'" style="width: 100%;" placeholder="YYYY-MM-DD" autocomplete="off"></div><input type="hidden" name="from" id="date-from" value="').concat(null!=h.getLinkParams("from")?h.getLinkParams("from"):"",'"><input type="hidden" name="to" id="date-to" value="').concat(null!=h.getLinkParams("to")?h.getLinkParams("to"):"",'"></td></tr>'),r+="<tr><td></td></tr>",r+='<tr><td><input type="submit" value="'.concat(h._("filter"),'" class="button-primary"> &nbsp; <span class="filter-loading"></span></td></tr>'),r+="</table>",jQuery(t).html(r),setTimeout(function(){h.date_picker(),h.select2()},200)},jQuery(document).on("click","div#visitors-filter",function(t){t.preventDefault(),tb_show("","#TB_inline?&width=430&height=668&inlineId=visitors-filter-popup"),setTimeout(function(){var t,e,a="#wps-visitors-filter-form";h.exist_tag(a+" input[type=submit]")||(jQuery(a).html('<div style="height: 50px;"></div>'+h.line_placeholder(5)),t=localStorage.getItem("wp-statistics-visitors-filter")?JSON.parse(localStorage.getItem("wp-statistics-visitors-filter")):{},!h.isset(t,"timestamp")||!h.isset(t,"value")||h.isset(t,"timestamp")&&h.isset(t,"value")&&(new Date).getTime().toString()>parseInt(t.timestamp)?(e={wps_nonce:h.global.rest_api_nonce,action:"wp_statistics_visitors_page_filters"},e=Object.assign(e,h.global.request_params),jQuery.ajax({url:h.global.admin_url+"admin-ajax.php",type:"GET",dataType:"json",data:e,timeout:3e4,success:function(t){localStorage.setItem("wp-statistics-visitors-filter",JSON.stringify({value:t,timestamp:(new Date).getTime()+216e5})),u(a,t)},error:function(t,e,a){jQuery("span.tb-close-icon").click()}})):u(a,t.value))},500)}),_="#wp_statistics_visitors_filter_form",jQuery(document).on("submit",_,function(){var t=jQuery(_+" input[name=date-from]"),e=jQuery(_+" input[name=date-to]");if(0<t.val().length&&e.val().length<1||t.val().length<1&&1<e.val().length)return alert(h._("er_datepicker")),!1;e=jQuery(_+" input[name=ip]").val();if(0<e.length&&!1===h.isIP(e))return alert(h._("er_valid_ip")),!1;jQuery("input[data-wps-date-picker]").prop("disabled",!0);var o={input:["date-from","date-to","ip"],select:["agent","platform","location","referrer","user_id"]};Object.keys(o).forEach(function(a){o[a].forEach(function(e){var t=jQuery(_+" "+a+"[name="+e+"]");t.val().length<1&&(t.prop("disabled",!0),["from","to"].forEach(function(t){e=="date-"+t&&jQuery(_+" input[name="+t+"]").prop("disabled",!0)}))})});e=h.getLinkParams("order");return null!=e&&jQuery(this).append('<input type="hidden" name="order" value="'+e+'" /> '),jQuery("span.filter-loading").html(h._("please_wait")),!0})),h.date_picker(),("index.php"===h.global.page.file||h.is_active("overview_page")||"post-new.php"===h.global.page.file||"post.php"===h.global.page.file&&h.isset(h.global,"page","ID"))&&h.run_meta_boxes()});
includes/admin/class-wp-statistics-admin-ajax.php CHANGED
@@ -74,7 +74,7 @@ class Ajax
74
 
75
  // Update Option
76
  $get_opt = get_option('wp_statistics_overview_page_ads');
77
- $get_opt['view'] = $_REQUEST['ads_id'];
78
  update_option('wp_statistics_overview_page_ads', $get_opt, 'no');
79
  }
80
  exit;
@@ -252,7 +252,7 @@ class Ajax
252
  // Check Number Day
253
  $purge_days = 0;
254
  if (isset($_POST['purge-days'])) {
255
- $purge_days = intval($_POST['purge-days']);
256
  }
257
 
258
  echo Purge::purge_data($purge_days);
@@ -277,7 +277,7 @@ class Ajax
277
  // Check Number Day
278
  $purge_hits = 10;
279
  if (isset($_POST['purge-hits'])) {
280
- $purge_hits = intval($_POST['purge-hits']);
281
  }
282
 
283
  if ($purge_hits < 10) {
74
 
75
  // Update Option
76
  $get_opt = get_option('wp_statistics_overview_page_ads');
77
+ $get_opt['view'] = sanitize_text_field($_REQUEST['ads_id']);
78
  update_option('wp_statistics_overview_page_ads', $get_opt, 'no');
79
  }
80
  exit;
252
  // Check Number Day
253
  $purge_days = 0;
254
  if (isset($_POST['purge-days'])) {
255
+ $purge_days = intval(sanitize_text_field($_POST['purge-days']));
256
  }
257
 
258
  echo Purge::purge_data($purge_days);
277
  // Check Number Day
278
  $purge_hits = 10;
279
  if (isset($_POST['purge-hits'])) {
280
+ $purge_hits = intval(sanitize_text_field($_POST['purge-hits']));
281
  }
282
 
283
  if ($purge_hits < 10) {
includes/admin/class-wp-statistics-admin-export.php CHANGED
@@ -38,8 +38,8 @@ class Export
38
 
39
  //Check Current User Capability
40
  if (User::Access('manage')) {
41
- $table = $_POST['table-to-export'];
42
- $type = $_POST['export-file-type'];
43
 
44
  // Validate the table name the user passed to us.
45
  $allow_tbl = array("useronline", "visit", "visitor", "exclusions", "pages", "search");
38
 
39
  //Check Current User Capability
40
  if (User::Access('manage')) {
41
+ $table = sanitize_text_field($_POST['table-to-export']);
42
+ $type = sanitize_text_field($_POST['export-file-type']);
43
 
44
  // Validate the table name the user passed to us.
45
  $allow_tbl = array("useronline", "visit", "visitor", "exclusions", "pages", "search");
includes/admin/class-wp-statistics-admin-post.php CHANGED
@@ -70,7 +70,25 @@ class Admin_Post
70
  public function render_hit_column($column_name, $post_id)
71
  {
72
  if ($column_name == 'wp-statistics-post-hits') {
73
- echo "<a href='" . Menus::admin_url('pages', array('ID' => $post_id, 'type' => Pages::get_post_type($post_id))) . "'>" . wp_statistics_pages('total', "", $post_id) . "</a>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
  }
76
 
@@ -134,7 +152,7 @@ class Admin_Post
134
  {
135
  global $post;
136
  if ($post->post_status == 'publish') {
137
- echo "<div class='misc-pub-section'>" . __('WP Statistics - Hits', 'wp-statistics') . ": <b><a href='" . Menus::admin_url('pages', array('ID' => $post->ID, 'type' => Pages::get_post_type($post->ID))) . "'>" . wp_statistics_pages('total', "", $post->ID) . "</a></b></div>";
138
  }
139
  }
140
 
@@ -155,4 +173,4 @@ class Admin_Post
155
 
156
  }
157
 
158
- new Admin_Post;
70
  public function render_hit_column($column_name, $post_id)
71
  {
72
  if ($column_name == 'wp-statistics-post-hits') {
73
+
74
+ $post_type = Pages::get_post_type($post_id);
75
+ $hit_number = wp_statistics_pages('total', "", $post_id, null, null, $post_type);
76
+
77
+ if ($hit_number) {
78
+ $preview_chart_unlock_html = sprintf('<div class="wps-admin-column__unlock"><a href="%s" target="_blank"><span>%s</span><img src="%s"/></a></div>',
79
+ 'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
80
+ __('Unlock!', 'wp-statistics'),
81
+ WP_STATISTICS_URL . 'assets/images/mini-chart-posts-preview.png',
82
+ );
83
+
84
+ echo apply_filters("wp_statistics_before_hit_column_{$post_type}", $preview_chart_unlock_html, $post_id, $post_type);
85
+
86
+ echo sprintf('<a href="%s" class="wps-admin-column__link">%s</a>',
87
+ Menus::admin_url('pages', array('ID' => $post_id, 'type' => $post_type)),
88
+ number_format($hit_number)
89
+ );
90
+ }
91
+
92
  }
93
  }
94
 
152
  {
153
  global $post;
154
  if ($post->post_status == 'publish') {
155
+ echo "<div class='misc-pub-section misc-pub-hits'>" . __('Hits', 'wp-statistics') . ": <a href='" . Menus::admin_url('pages', array('ID' => $post->ID, 'type' => Pages::get_post_type($post->ID))) . "'>" . number_format(wp_statistics_pages('total', "", $post->ID)) . "</a></div>";
156
  }
157
  }
158
 
173
 
174
  }
175
 
176
+ new Admin_Post;
includes/admin/class-wp-statistics-admin-taxonomy.php CHANGED
@@ -75,8 +75,24 @@ class Admin_Taxonomy
75
  public function render_column($value, $column_name, $term_id)
76
  {
77
  if ($column_name == 'wp-statistics-tax-hits') {
78
- $term = get_term($term_id);
79
- return "<a href='" . Menus::admin_url('pages', array('type' => $term->taxonomy, 'ID' => $term_id)) . "'>" . wp_statistics_pages('total', "", $term_id, null, null, $term->taxonomy) . "</a>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
 
82
  return $value;
75
  public function render_column($value, $column_name, $term_id)
76
  {
77
  if ($column_name == 'wp-statistics-tax-hits') {
78
+ $term = get_term($term_id);
79
+ $hit_number = wp_statistics_pages('total', "", $term_id, null, null, $term->taxonomy);
80
+
81
+ if ($hit_number) {
82
+ $preview_chart_unlock_html = sprintf('<div class="wps-admin-column__unlock"><a href="%s" target="_blank"><span>%s</span><img src="%s"/></a></div>',
83
+ 'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
84
+ __('Unlock!', 'wp-statistics'),
85
+ WP_STATISTICS_URL . 'assets/images/mini-chart-posts-preview.png',
86
+ );
87
+
88
+ $value = apply_filters("wp_statistics_before_hit_column", $preview_chart_unlock_html, $term_id, $term->taxonomy);
89
+
90
+ $value .= sprintf('<a href="%s">%s</a>',
91
+ Menus::admin_url('pages', array('type' => $term->taxonomy, 'ID' => $term_id)),
92
+ number_format($hit_number)
93
+ );
94
+ }
95
+
96
  }
97
 
98
  return $value;
includes/admin/class-wp-statistics-admin-template.php CHANGED
@@ -16,7 +16,7 @@ class Admin_Template
16
  *
17
  * @var int
18
  */
19
- public static $item_per_page = 10;
20
 
21
  /**
22
  * Jquery UI Datepicker Format in PHP
@@ -45,8 +45,10 @@ class Admin_Template
45
  *
46
  * @param $template
47
  * @param array $args
 
 
48
  */
49
- public static function get_template($template, $args = array())
50
  {
51
 
52
  // Push Args
@@ -62,12 +64,20 @@ class Admin_Template
62
  // Load File
63
  foreach ($template as $file) {
64
 
65
- $template_file = WP_STATISTICS_DIR . "includes/admin/templates/" . $file . ".php";
 
66
  if (!file_exists($template_file)) {
67
  Helper::doing_it_wrong(__FUNCTION__, __('Template not found.', 'wp-statistics'));
68
  continue;
69
  }
70
 
 
 
 
 
 
 
 
71
  // include File
72
  include $template_file;
73
  }
16
  *
17
  * @var int
18
  */
19
+ public static $item_per_page = 25;
20
 
21
  /**
22
  * Jquery UI Datepicker Format in PHP
45
  *
46
  * @param $template
47
  * @param array $args
48
+ * @param bool $return
49
+ * @return string|void
50
  */
51
+ public static function get_template($template, $args = array(), $return = false)
52
  {
53
 
54
  // Push Args
64
  // Load File
65
  foreach ($template as $file) {
66
 
67
+ $template_file = WP_STATISTICS_DIR . "includes/admin/templates/{$file}.php";
68
+
69
  if (!file_exists($template_file)) {
70
  Helper::doing_it_wrong(__FUNCTION__, __('Template not found.', 'wp-statistics'));
71
  continue;
72
  }
73
 
74
+ if ($return) {
75
+ ob_start();
76
+ require $template_file;
77
+
78
+ return ob_get_clean();
79
+ }
80
+
81
  // include File
82
  include $template_file;
83
  }
includes/admin/meta-box/wp-statistics-meta-box-post.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  namespace WP_STATISTICS\MetaBox;
4
 
 
5
  use WP_STATISTICS\TimeZone;
6
 
7
  class post
@@ -68,6 +69,11 @@ class post
68
  $response['no_data'] = 1;
69
  }
70
 
 
 
 
 
 
71
  // Response
72
  return $response;
73
  }
2
 
3
  namespace WP_STATISTICS\MetaBox;
4
 
5
+ use WP_STATISTICS\Admin_Template;
6
  use WP_STATISTICS\TimeZone;
7
 
8
  class post
69
  $response['no_data'] = 1;
70
  }
71
 
72
+ $response['visitors'] = apply_filters('wp_statistics_meta_box_post_visitors',
73
+ Admin_Template::get_template(array('meta-box/pages-visitor-preview'), null, true),
74
+ $post
75
+ );
76
+
77
  // Response
78
  return $response;
79
  }
includes/admin/pages/class-wp-statistics-admin-page-authors.php CHANGED
@@ -92,7 +92,7 @@ class authors_page
92
  // Get Top Posts From Category
93
  $post_lists = Helper::get_post_list(array(
94
  'post_type' => 'post',
95
- 'author' => $_GET['ID']
96
  ));
97
  foreach ($post_lists as $post_id => $post_title) {
98
  $args['top_list'][$post_id] = array('ID' => $post_id, 'name' => $post_title, 'link' => Menus::admin_url('pages', array('ID' => $post_id)), 'count_visit' => (int)wp_statistics_pages('total', null, $post_id, null, null, 'post'));
92
  // Get Top Posts From Category
93
  $post_lists = Helper::get_post_list(array(
94
  'post_type' => 'post',
95
+ 'author' => sanitize_text_field($_GET['ID'])
96
  ));
97
  foreach ($post_lists as $post_id => $post_title) {
98
  $args['top_list'][$post_id] = array('ID' => $post_id, 'name' => $post_title, 'link' => Menus::admin_url('pages', array('ID' => $post_id)), 'count_visit' => (int)wp_statistics_pages('total', null, $post_id, null, null, 'post'));
includes/admin/pages/class-wp-statistics-admin-page-optimization.php CHANGED
@@ -69,19 +69,19 @@ class optimization_page
69
  if (isset($_POST['wps_historical_visitors'])) {
70
 
71
  // Update DB
72
- $result = $wpdb->update($historical_table, array('value' => $_POST['wps_historical_visitors']), array('category' => 'visitors'));
73
  if ($result == 0) {
74
- $result = $wpdb->insert($historical_table, array('value' => $_POST['wps_historical_visitors'], 'category' => 'visitors', 'page_id' => -1, 'uri' => '-1'));
75
  }
76
  }
77
 
78
  // Historical Visits
79
  if (isset($_POST['wps_historical_visits'])) {
80
  // Update DB
81
- $result = $wpdb->update($historical_table, array('value' => $_POST['wps_historical_visits']), array('category' => 'visits'));
82
 
83
  if ($result == 0) {
84
- $result = $wpdb->insert($historical_table, array('value' => $_POST['wps_historical_visits'], 'category' => 'visits', 'page_id' => -2, 'uri' => '-2'));
85
  }
86
  }
87
 
@@ -98,7 +98,7 @@ class optimization_page
98
  global $wpdb;
99
 
100
  if (Menus::in_page('optimization') and isset($_GET['optimize-table']) and !empty($_GET['optimize-table'])) {
101
- $tbl = trim($_GET['optimize-table']);
102
  if ($tbl == "all") {
103
  $tables = array_filter(array_values(DB::table('all')));
104
  } else {
69
  if (isset($_POST['wps_historical_visitors'])) {
70
 
71
  // Update DB
72
+ $result = $wpdb->update($historical_table, array('value' => sanitize_text_field($_POST['wps_historical_visitors'])), array('category' => 'visitors'));
73
  if ($result == 0) {
74
+ $result = $wpdb->insert($historical_table, array('value' => sanitize_text_field($_POST['wps_historical_visitors']), 'category' => 'visitors', 'page_id' => -1, 'uri' => '-1'));
75
  }
76
  }
77
 
78
  // Historical Visits
79
  if (isset($_POST['wps_historical_visits'])) {
80
  // Update DB
81
+ $result = $wpdb->update($historical_table, array('value' => sanitize_text_field($_POST['wps_historical_visits'])), array('category' => 'visits'));
82
 
83
  if ($result == 0) {
84
+ $result = $wpdb->insert($historical_table, array('value' => sanitize_text_field($_POST['wps_historical_visits']), 'category' => 'visits', 'page_id' => -2, 'uri' => '-2'));
85
  }
86
  }
87
 
98
  global $wpdb;
99
 
100
  if (Menus::in_page('optimization') and isset($_GET['optimize-table']) and !empty($_GET['optimize-table'])) {
101
+ $tbl = trim(sanitize_text_field($_GET['optimize-table']));
102
  if ($tbl == "all") {
103
  $tables = array_filter(array_values(DB::table('all')));
104
  } else {
includes/admin/pages/class-wp-statistics-admin-page-pages.php CHANGED
@@ -23,8 +23,8 @@ class pages_page
23
  $pageTablePage = DB::table('pages');
24
  $preparedSql = $wpdb->prepare(
25
  "SELECT COUNT(*) FROM {$pageTablePage} WHERE `id` = %s AND `type` = %s",
26
- esc_sql($_GET['ID']),
27
- esc_sql($_GET['type'])
28
  );
29
  $page_count = $wpdb->get_var($preparedSql);
30
 
@@ -71,9 +71,10 @@ class pages_page
71
 
72
  // Get List
73
  $args['lists'] = \WP_STATISTICS\Pages::getTop(array(
74
- 'paged' => Admin_Template::getCurrentPaged(),
75
- 'from' => $args['DateRang']['from'],
76
- 'to' => $args['DateRang']['to']
 
77
  ));
78
 
79
  // Total Number
@@ -101,8 +102,8 @@ class pages_page
101
  global $wpdb;
102
 
103
  // Page ID
104
- $ID = esc_html($_GET['ID']);
105
- $Type = esc_html($_GET['type']);
106
 
107
  // Page title
108
  $args['title'] = __('Page Statistics', 'wp-statistics');
@@ -150,6 +151,11 @@ class pages_page
150
  }
151
  }
152
 
 
 
 
 
 
153
  // Show Template Page
154
  Admin_Template::get_template(array('layout/header', 'layout/title', 'layout/select', 'layout/date.range', 'pages/page-chart', 'layout/footer'), $args);
155
  }
23
  $pageTablePage = DB::table('pages');
24
  $preparedSql = $wpdb->prepare(
25
  "SELECT COUNT(*) FROM {$pageTablePage} WHERE `id` = %s AND `type` = %s",
26
+ sanitize_text_field($_GET['ID']),
27
+ sanitize_text_field($_GET['type'])
28
  );
29
  $page_count = $wpdb->get_var($preparedSql);
30
 
71
 
72
  // Get List
73
  $args['lists'] = \WP_STATISTICS\Pages::getTop(array(
74
+ 'per_page' => Admin_Template::$item_per_page,
75
+ 'paged' => Admin_Template::getCurrentPaged(),
76
+ 'from' => $args['DateRang']['from'],
77
+ 'to' => $args['DateRang']['to']
78
  ));
79
 
80
  // Total Number
102
  global $wpdb;
103
 
104
  // Page ID
105
+ $ID = sanitize_text_field($_GET['ID']);
106
+ $Type = sanitize_text_field($_GET['type']);
107
 
108
  // Page title
109
  $args['title'] = __('Page Statistics', 'wp-statistics');
151
  }
152
  }
153
 
154
+ $args['visitors'] = apply_filters('wp_statistics_pages_chart_visitors',
155
+ Admin_Template::get_template(array('meta-box/pages-visitor-preview'), null, true),
156
+ $args
157
+ );
158
+
159
  // Show Template Page
160
  Admin_Template::get_template(array('layout/header', 'layout/title', 'layout/select', 'layout/date.range', 'pages/page-chart', 'layout/footer'), $args);
161
  }
includes/admin/pages/class-wp-statistics-admin-page-refer.php CHANGED
@@ -73,7 +73,7 @@ class refer_page
73
 
74
  } else {
75
  // Get Special domain Refer List
76
- $referrer = esc_html($_GET['referrer']);
77
  $args['domain'] = trim($referrer);
78
  $args['custom_get'] = array('referrer' => $referrer);
79
  $args['title'] = sprintf(__('Referring site: %s', 'wp-statistics'), Referred::html_sanitize_referrer($args['domain']));
73
 
74
  } else {
75
  // Get Special domain Refer List
76
+ $referrer = sanitize_text_field($_GET['referrer']);
77
  $args['domain'] = trim($referrer);
78
  $args['custom_get'] = array('referrer' => $referrer);
79
  $args['title'] = sprintf(__('Referring site: %s', 'wp-statistics'), Referred::html_sanitize_referrer($args['domain']));
includes/admin/pages/class-wp-statistics-admin-page-settings.php CHANGED
@@ -164,7 +164,7 @@ class settings_page
164
  wp_unschedule_event(wp_next_scheduled('wp_statistics_report_hook'), 'wp_statistics_report_hook');
165
  }
166
 
167
- wp_schedule_event(time(), $_POST['wps_time_report'], 'wp_statistics_report_hook');
168
  }
169
  }
170
 
@@ -181,7 +181,7 @@ class settings_page
181
  );
182
 
183
  foreach ($wps_option_list as $option) {
184
- $wp_statistics_options[self::input_name_to_option($option)] = (isset($_POST[$option]) ? stripslashes($_POST[$option]) : '');
185
  }
186
 
187
  return $wp_statistics_options;
@@ -197,7 +197,7 @@ class settings_page
197
  {
198
  $wps_option_list = array('wps_disable_map', 'wps_disable_dashboard', 'wps_disable_editor');
199
  foreach ($wps_option_list as $option) {
200
- $wp_statistics_options[self::input_name_to_option($option)] = (isset($_POST[$option]) ? $_POST[$option] : '');
201
  }
202
 
203
  return $wp_statistics_options;
@@ -218,7 +218,7 @@ class settings_page
218
  'wps_schedule_dbmaint_visitor_hits',
219
  );
220
  foreach ($wps_option_list as $option) {
221
- $wp_statistics_options[self::input_name_to_option($option)] = (isset($_POST[$option]) ? $_POST[$option] : '');
222
  }
223
 
224
  return $wp_statistics_options;
@@ -246,7 +246,7 @@ class settings_page
246
 
247
  // For country codes we always use upper case, otherwise default to 000 which is 'unknown'.
248
  if (array_key_exists('wps_private_country_code', $_POST)) {
249
- $_POST['wps_private_country_code'] = trim(strtoupper($_POST['wps_private_country_code']));
250
  } else {
251
  $_POST['wps_private_country_code'] = GeoIP::$private_country;
252
  }
164
  wp_unschedule_event(wp_next_scheduled('wp_statistics_report_hook'), 'wp_statistics_report_hook');
165
  }
166
 
167
+ wp_schedule_event(time(), sanitize_text_field($_POST['wps_time_report']), 'wp_statistics_report_hook');
168
  }
169
  }
170
 
181
  );
182
 
183
  foreach ($wps_option_list as $option) {
184
+ $wp_statistics_options[self::input_name_to_option($option)] = (isset($_POST[$option]) ? stripslashes(sanitize_textarea_field($_POST[$option])) : '');
185
  }
186
 
187
  return $wp_statistics_options;
197
  {
198
  $wps_option_list = array('wps_disable_map', 'wps_disable_dashboard', 'wps_disable_editor');
199
  foreach ($wps_option_list as $option) {
200
+ $wp_statistics_options[self::input_name_to_option($option)] = (isset($_POST[$option]) ? sanitize_text_field($_POST[$option]) : '');
201
  }
202
 
203
  return $wp_statistics_options;
218
  'wps_schedule_dbmaint_visitor_hits',
219
  );
220
  foreach ($wps_option_list as $option) {
221
+ $wp_statistics_options[self::input_name_to_option($option)] = (isset($_POST[$option]) ? sanitize_text_field($_POST[$option]) : '');
222
  }
223
 
224
  return $wp_statistics_options;
246
 
247
  // For country codes we always use upper case, otherwise default to 000 which is 'unknown'.
248
  if (array_key_exists('wps_private_country_code', $_POST)) {
249
+ $_POST['wps_private_country_code'] = trim(strtoupper(sanitize_text_field($_POST['wps_private_country_code'])));
250
  } else {
251
  $_POST['wps_private_country_code'] = GeoIP::$private_country;
252
  }
includes/admin/pages/class-wp-statistics-admin-page-top-visitors-today.php CHANGED
@@ -36,7 +36,7 @@ class top_visitors_page
36
  $args['paged'] = Admin_Template::getCurrentPaged();
37
 
38
  // Get Day
39
- $args['day'] = (isset($_GET['day']) ? esc_html($_GET['day']) : TimeZone::getCurrentDate('Y-m-d'));
40
 
41
  //Get Total List
42
  $args['total'] = Visitor::Count(array('key' => 'last_counter', 'compare' => '=', 'value' => trim($args['day'])));
36
  $args['paged'] = Admin_Template::getCurrentPaged();
37
 
38
  // Get Day
39
+ $args['day'] = (isset($_GET['day']) ? sanitize_text_field($_GET['day']) : TimeZone::getCurrentDate('Y-m-d'));
40
 
41
  //Get Total List
42
  $args['total'] = Visitor::Count(array('key' => 'last_counter', 'compare' => '=', 'value' => trim($args['day'])));
includes/admin/pages/class-wp-statistics-admin-page-visitors.php CHANGED
@@ -61,7 +61,7 @@ class visitors_page
61
  */
62
  if (isset($_GET['user_id'])) {
63
  // Add Params To SQL
64
- $user_id = esc_html($_GET['user_id']);
65
  $sql[] = array('key' => 'user_id', 'compare' => '=', 'value' => trim($user_id));
66
 
67
  // Get User Data
@@ -78,7 +78,7 @@ class visitors_page
78
  */
79
  if (isset($_GET['ip'])) {
80
  // Add Params To SQL
81
- $ip = esc_html($_GET['ip']);
82
  $sql[] = array('key' => 'ip', 'compare' => 'LIKE', 'value' => trim($ip));
83
 
84
  // Set New Sub List
@@ -92,7 +92,7 @@ class visitors_page
92
  */
93
  if (isset($_GET['location']) and !empty($_GET['location'])) {
94
  // Add Params To SQL
95
- $location = esc_html($_GET['location']);
96
  $sql[] = array('key' => 'location', 'compare' => 'LIKE', 'value' => trim($location));
97
 
98
  // Set New Sub List
@@ -106,7 +106,7 @@ class visitors_page
106
  */
107
  if (isset($_GET['platform']) and !empty($_GET['platform'])) {
108
  // Add Params To SQL
109
- $platform = esc_html($_GET['platform']);
110
  $sql[] = array('key' => 'platform', 'compare' => 'LIKE', 'value' => trim(Helper::getUrlDecode($platform)));
111
 
112
  // Set New Sub List
@@ -120,7 +120,7 @@ class visitors_page
120
  */
121
  if (isset($_GET['referrer']) and !empty($_GET['referrer'])) {
122
  // Add Params To SQL
123
- $referrer = esc_html($_GET['referrer']);
124
  $sql[] = array('key' => 'referred', 'compare' => 'LIKE', 'value' => "%" . trim($referrer) . "%");
125
 
126
  // Set New Sub List
@@ -135,7 +135,7 @@ class visitors_page
135
  $browsers = UserAgent::BrowserList();
136
  if (isset($_GET['agent']) and !empty($_GET['agent'])) {
137
  // Add Params To SQL
138
- $agent = esc_html($_GET['agent']);
139
  $sql[] = array('key' => 'agent', 'compare' => 'LIKE', 'value' => trim($agent));
140
 
141
  // Set New Sub List
@@ -192,7 +192,8 @@ class visitors_page
192
  public static function Filter()
193
  {
194
  // Remove unused $_GET
195
- $params = (isset($_GET) ? $_GET : array());
 
196
  foreach (array('page', 'from', 'to', 'order', 'orderby') as $i) {
197
  if (isset($params[$i])) {
198
  unset($params[$i]);
61
  */
62
  if (isset($_GET['user_id'])) {
63
  // Add Params To SQL
64
+ $user_id = sanitize_text_field($_GET['user_id']);
65
  $sql[] = array('key' => 'user_id', 'compare' => '=', 'value' => trim($user_id));
66
 
67
  // Get User Data
78
  */
79
  if (isset($_GET['ip'])) {
80
  // Add Params To SQL
81
+ $ip = sanitize_text_field($_GET['ip']);
82
  $sql[] = array('key' => 'ip', 'compare' => 'LIKE', 'value' => trim($ip));
83
 
84
  // Set New Sub List
92
  */
93
  if (isset($_GET['location']) and !empty($_GET['location'])) {
94
  // Add Params To SQL
95
+ $location = sanitize_text_field($_GET['location']);
96
  $sql[] = array('key' => 'location', 'compare' => 'LIKE', 'value' => trim($location));
97
 
98
  // Set New Sub List
106
  */
107
  if (isset($_GET['platform']) and !empty($_GET['platform'])) {
108
  // Add Params To SQL
109
+ $platform = sanitize_text_field($_GET['platform']);
110
  $sql[] = array('key' => 'platform', 'compare' => 'LIKE', 'value' => trim(Helper::getUrlDecode($platform)));
111
 
112
  // Set New Sub List
120
  */
121
  if (isset($_GET['referrer']) and !empty($_GET['referrer'])) {
122
  // Add Params To SQL
123
+ $referrer = sanitize_text_field($_GET['referrer']);
124
  $sql[] = array('key' => 'referred', 'compare' => 'LIKE', 'value' => "%" . trim($referrer) . "%");
125
 
126
  // Set New Sub List
135
  $browsers = UserAgent::BrowserList();
136
  if (isset($_GET['agent']) and !empty($_GET['agent'])) {
137
  // Add Params To SQL
138
+ $agent = sanitize_text_field($_GET['agent']);
139
  $sql[] = array('key' => 'agent', 'compare' => 'LIKE', 'value' => trim($agent));
140
 
141
  // Set New Sub List
192
  public static function Filter()
193
  {
194
  // Remove unused $_GET
195
+ $params = (isset($_GET) ? $_GET : array()); // don't need to be sanitized since we need the count of the array elements, not data directly.
196
+
197
  foreach (array('page', 'from', 'to', 'order', 'orderby') as $i) {
198
  if (isset($params[$i])) {
199
  unset($params[$i]);
includes/admin/templates/add-ons.php CHANGED
@@ -52,7 +52,7 @@
52
  <a href="<?php echo wp_nonce_url(WP_STATISTICS\Menus::admin_url('plugins', array('action' => 'activate', 'plugin' => $plugin->slug)), $plugin->slug); ?>" class="button"><?php _e('Activate Add-On', 'wp-statistics'); ?></a>
53
  <?php } else { ?>
54
  <div class="column-price">
55
- <strong>$<?php echo $plugin->price; ?></strong>
56
  </div><a target="_blank" href="<?php echo $plugin->url; ?>" class="button-primary"><?php _e('Buy Add-On', 'wp-statistics'); ?></a>
57
  <?php } ?><?php } ?>
58
  </div>
52
  <a href="<?php echo wp_nonce_url(WP_STATISTICS\Menus::admin_url('plugins', array('action' => 'activate', 'plugin' => $plugin->slug)), $plugin->slug); ?>" class="button"><?php _e('Activate Add-On', 'wp-statistics'); ?></a>
53
  <?php } else { ?>
54
  <div class="column-price">
55
+ <strong><?php echo $plugin->price; ?></strong>
56
  </div><a target="_blank" href="<?php echo $plugin->url; ?>" class="button-primary"><?php _e('Buy Add-On', 'wp-statistics'); ?></a>
57
  <?php } ?><?php } ?>
58
  </div>
includes/admin/templates/layout/date.range.php CHANGED
@@ -3,12 +3,12 @@
3
  if (isset($select_box)) {
4
  ?>
5
  <br/>
6
- <?php echo $select_box['title']; ?>:&nbsp;<select name="<?php echo $select_box['name']; ?>" id="<?php echo $select_box['name']; ?>">
7
  <?php
8
  foreach ($select_box['list'] as $value => $name) {
9
  $selected = ((isset($select_box['active']) and $select_box['active'] == $value) ? ' selected' : '');
10
  ?>
11
- <option value="<?php echo $value; ?>"<?php echo $selected; ?>><?php echo $name; ?></option>
12
  <?php
13
  }
14
  ?>
@@ -22,7 +22,7 @@
22
  foreach ($DateRang['list'] as $number_days => $value) {
23
  ?>
24
  <li class="all">
25
- <a <?php if ($value['active'] === true) { ?> class="current" <?php } ?> href="<?php echo $value['link']; ?>"><?php echo $value['title']; ?></a>
26
  </li> |
27
  <?php } ?>
28
 
@@ -30,26 +30,26 @@
30
  <?php _e('Time Frame', 'wp-statistics'); ?>:
31
 
32
  <!-- Set Page name To Form -->
33
- <input name="page" type="hidden" value="<?php echo $pageName; ?>">
34
 
35
  <!-- Set Custom Input -->
36
  <?php
37
  if (isset($custom_get)) {
38
  foreach ($custom_get as $key => $val) {
39
  ?>
40
- <input name="<?php echo $key; ?>" type="hidden" value="<?php echo $val; ?>">
41
  <?php
42
  }
43
  }
44
  ?>
45
 
46
  <!-- Set Jquery DatePicker -->
47
- <input type="text" size="18" name="date-from" data-wps-date-picker="from" value="<?php echo $DateRang['from']; ?>" placeholder="YYYY-MM-DD" autocomplete="off">
48
  <?php _e('to', 'wp-statistics'); ?>
49
- <input type="text" size="18" name="date-to" data-wps-date-picker="to" value="<?php echo $DateRang['to']; ?>" placeholder="YYYY-MM-DD" autocomplete="off">
50
  <input type="submit" value="<?php _e('Go', 'wp-statistics'); ?>" class="button-primary">
51
- <input type="hidden" name="<?php echo \WP_STATISTICS\Admin_Template::$request_from_date; ?>" id="date-from" value="<?php echo $DateRang['from']; ?>">
52
- <input type="hidden" name="<?php echo \WP_STATISTICS\Admin_Template::$request_to_date; ?>" id="date-to" value="<?php echo $DateRang['to']; ?>">
53
  </form>
54
  <?php
55
  if (isset($filter) and isset($filter['code'])) {
3
  if (isset($select_box)) {
4
  ?>
5
  <br/>
6
+ <?php echo esc_attr($select_box['title']); ?>:&nbsp;<select name="<?php echo esc_attr($select_box['name']); ?>" id="<?php echo esc_attr($select_box['name']); ?>">
7
  <?php
8
  foreach ($select_box['list'] as $value => $name) {
9
  $selected = ((isset($select_box['active']) and $select_box['active'] == $value) ? ' selected' : '');
10
  ?>
11
+ <option value="<?php echo esc_attr($value); ?>"<?php echo esc_attr($selected); ?>><?php echo esc_attr($name); ?></option>
12
  <?php
13
  }
14
  ?>
22
  foreach ($DateRang['list'] as $number_days => $value) {
23
  ?>
24
  <li class="all">
25
+ <a <?php if ($value['active'] === true) { ?> class="current" <?php } ?> href="<?php echo esc_url($value['link']); ?>"><?php echo esc_attr($value['title']); ?></a>
26
  </li> |
27
  <?php } ?>
28
 
30
  <?php _e('Time Frame', 'wp-statistics'); ?>:
31
 
32
  <!-- Set Page name To Form -->
33
+ <input name="page" type="hidden" value="<?php echo esc_attr($pageName); ?>">
34
 
35
  <!-- Set Custom Input -->
36
  <?php
37
  if (isset($custom_get)) {
38
  foreach ($custom_get as $key => $val) {
39
  ?>
40
+ <input name="<?php echo esc_attr($key); ?>" type="hidden" value="<?php echo esc_attr($val); ?>">
41
  <?php
42
  }
43
  }
44
  ?>
45
 
46
  <!-- Set Jquery DatePicker -->
47
+ <input type="text" size="18" name="date-from" data-wps-date-picker="from" value="<?php echo esc_attr($DateRang['from']); ?>" placeholder="YYYY-MM-DD" autocomplete="off">
48
  <?php _e('to', 'wp-statistics'); ?>
49
+ <input type="text" size="18" name="date-to" data-wps-date-picker="to" value="<?php echo esc_attr($DateRang['to']); ?>" placeholder="YYYY-MM-DD" autocomplete="off">
50
  <input type="submit" value="<?php _e('Go', 'wp-statistics'); ?>" class="button-primary">
51
+ <input type="hidden" name="<?php echo \WP_STATISTICS\Admin_Template::$request_from_date; ?>" id="date-from" value="<?php echo esc_attr($DateRang['from']); ?>">
52
+ <input type="hidden" name="<?php echo \WP_STATISTICS\Admin_Template::$request_to_date; ?>" id="date-to" value="<?php echo esc_attr($DateRang['to']); ?>">
53
  </form>
54
  <?php
55
  if (isset($filter) and isset($filter['code'])) {
includes/admin/templates/layout/select.php CHANGED
@@ -3,7 +3,7 @@ if (isset($list) and is_array($list) and count($list) > 0) {
3
  ?>
4
  <form action="" method="get" id="wp-statistics-select-pages">
5
  <span class="select-title"><?php _e('Select Page', 'wp-statistics'); ?>:</span>
6
- <input name="page" type="hidden" value="<?php echo $pageName; ?>">
7
  <?php
8
  if (isset($custom_get)) {
9
  foreach ($custom_get as $key => $val) {
@@ -11,7 +11,7 @@ if (isset($list) and is_array($list) and count($list) > 0) {
11
  continue;
12
  }
13
  ?>
14
- <input name="<?php echo $key; ?>" type="hidden" value="<?php echo $val; ?>">
15
  <?php
16
  }
17
  }
@@ -20,7 +20,7 @@ if (isset($list) and is_array($list) and count($list) > 0) {
20
  <?php
21
  foreach ($list as $id => $name) {
22
  ?>
23
- <option value="<?php echo $id; ?>" <?php selected($_GET['ID'], $id); ?>><?php echo $name; ?></option>
24
  <?php
25
  }
26
  ?>
3
  ?>
4
  <form action="" method="get" id="wp-statistics-select-pages">
5
  <span class="select-title"><?php _e('Select Page', 'wp-statistics'); ?>:</span>
6
+ <input name="page" type="hidden" value="<?php echo esc_attr($pageName); ?>">
7
  <?php
8
  if (isset($custom_get)) {
9
  foreach ($custom_get as $key => $val) {
11
  continue;
12
  }
13
  ?>
14
+ <input name="<?php echo esc_attr($key); ?>" type="hidden" value="<?php echo esc_attr($val); ?>">
15
  <?php
16
  }
17
  }
20
  <?php
21
  foreach ($list as $id => $name) {
22
  ?>
23
+ <option value="<?php echo $id; ?>" <?php selected($_GET['ID'], $id); ?>><?php echo esc_attr($name); ?></option>
24
  <?php
25
  }
26
  ?>
includes/admin/templates/layout/visitors.filter.php CHANGED
@@ -1,6 +1,6 @@
1
  <div id="visitors-filter-popup" dir="<?php echo(is_rtl() ? 'rtl' : 'ltr') ?>" style="display:none;">
2
  <form action="<?php echo admin_url('admin.php'); ?>" method="get" id="wp_statistics_visitors_filter_form">
3
- <input type="hidden" name="page" value="<?php echo $pageName; ?>">
4
 
5
  <div id="wps-visitors-filter-form">
6
  <!-- DO JS -->
1
  <div id="visitors-filter-popup" dir="<?php echo(is_rtl() ? 'rtl' : 'ltr') ?>" style="display:none;">
2
  <form action="<?php echo admin_url('admin.php'); ?>" method="get" id="wp_statistics_visitors_filter_form">
3
+ <input type="hidden" name="page" value="<?php echo esc_attr($pageName); ?>">
4
 
5
  <div id="wps-visitors-filter-form">
6
  <!-- DO JS -->
includes/admin/templates/meta-box/about.php CHANGED
@@ -27,6 +27,6 @@ if ($aboutWidgetContent) {
27
 
28
  <?php if (!is_plugin_active('wp-statistics-customization/wp-statistics-customization.php')) { ?>
29
  <div style="margin: 0 -15px;border-top: 1px solid #e7e7e7;padding: 15px 15px 0; font-size: 12px;">
30
- <?php echo sprintf(__('Disable or customize this widget by <a href="%1$s" target="_blank">Customization Add-On!</a>', 'wp-statistics'), 'https://wp-statistics.com/product/wp-statistics-customization/'); ?>
31
  </div>
32
  <?php } ?>
27
 
28
  <?php if (!is_plugin_active('wp-statistics-customization/wp-statistics-customization.php')) { ?>
29
  <div style="margin: 0 -15px;border-top: 1px solid #e7e7e7;padding: 15px 15px 0; font-size: 12px;">
30
+ <?php echo sprintf(__('Disable or customize this widget by <a href="%1$s" target="_blank">Customization Add-On!</a>', 'wp-statistics'), 'https://wp-statistics.com/product/wp-statistics-customization?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress'); ?>
31
  </div>
32
  <?php } ?>
includes/admin/templates/meta-box/pages-visitor-preview.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <div class="wps-admin-pages-visitors__preview">
2
+ <div class="wps-admin-pages-visitors__promotion">
3
+ <h3><?php _e('View Page\'s Visitors information inside the Meta Box', 'wp-statistics'); ?> 🤩</h3>
4
+ <p><?php _e('Discover the latest visitor statistics and learn more about the page', 'wp-statistics'); ?></p>
5
+ <a href="https://wp-statistics.com/product/wp-statistics-widgets?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress" class="button-primary" target="_blank"><?php _e('Unlock Visitors Information by Advanced Widgets!', 'wp-statistics'); ?></a>
6
+ </div>
7
+
8
+ <img src="<?php echo WP_STATISTICS_URL . 'assets/images/pages-visitor-preview.png'; ?>">
9
+ </div>
includes/admin/templates/optimization/resources.php CHANGED
@@ -269,7 +269,7 @@
269
 
270
  <td>
271
  <strong><?php $agent = \WP_STATISTICS\UserAgent::getUserAgent();
272
- echo $agent['browser'];
273
  ?></strong>
274
 
275
  <p class="description"><?php _e('The detected client browser.', 'wp-statistics'); ?></p>
@@ -282,7 +282,7 @@
282
  </th>
283
 
284
  <td>
285
- <strong><?php echo $agent['version']; ?></strong>
286
  <p class="description"><?php _e('The detected client browser version.', 'wp-statistics'); ?></p>
287
  </td>
288
  </tr>
@@ -293,7 +293,7 @@
293
  </th>
294
 
295
  <td>
296
- <strong><?php echo $agent['platform']; ?></strong>
297
  <p class="description"><?php _e('The detected client platform.', 'wp-statistics'); ?></p>
298
  </td>
299
  </tr>
269
 
270
  <td>
271
  <strong><?php $agent = \WP_STATISTICS\UserAgent::getUserAgent();
272
+ echo esc_attr($agent['browser']);
273
  ?></strong>
274
 
275
  <p class="description"><?php _e('The detected client browser.', 'wp-statistics'); ?></p>
282
  </th>
283
 
284
  <td>
285
+ <strong><?php echo esc_attr($agent['version']); ?></strong>
286
  <p class="description"><?php _e('The detected client browser version.', 'wp-statistics'); ?></p>
287
  </td>
288
  </tr>
293
  </th>
294
 
295
  <td>
296
+ <strong><?php echo esc_attr($agent['platform']); ?></strong>
297
  <p class="description"><?php _e('The detected client platform.', 'wp-statistics'); ?></p>
298
  </td>
299
  </tr>
includes/admin/templates/pages/author.php CHANGED
@@ -83,7 +83,7 @@
83
  ?>
84
  <tr>
85
  <th>
86
- <a href="<?php echo $item['link']; ?>" title="<?php echo $item['name']; ?>"><?php echo $item['name']; ?></a>
87
  </th>
88
  <th class="th-center">
89
  <span><?php echo number_format_i18n($item['count_visit']); ?></span></th>
83
  ?>
84
  <tr>
85
  <th>
86
+ <a href="<?php echo esc_url($item['link']); ?>" title="<?php echo esc_attr($item['name']); ?>"><?php echo esc_attr($item['name']); ?></a>
87
  </th>
88
  <th class="th-center">
89
  <span><?php echo number_format_i18n($item['count_visit']); ?></span></th>
includes/admin/templates/pages/category.php CHANGED
@@ -83,7 +83,7 @@
83
  ?>
84
  <tr>
85
  <th>
86
- <a href="<?php echo $item['link']; ?>" title="<?php echo $item['name']; ?>"><?php echo $item['name']; ?></a>
87
  </th>
88
  <th class="th-center">
89
  <span><?php echo number_format_i18n($item['count_visit']); ?></span></th>
83
  ?>
84
  <tr>
85
  <th>
86
+ <a href="<?php echo esc_url($item['link']); ?>" title="<?php echo esc_attr($item['name']); ?>"><?php echo esc_attr($item['name']); ?></a>
87
  </th>
88
  <th class="th-center">
89
  <span><?php echo number_format_i18n($item['count_visit']); ?></span></th>
includes/admin/templates/pages/exclusions.php CHANGED
@@ -28,7 +28,7 @@
28
  </tr>
29
 
30
  <tr>
31
- <th class="wps-text-danger"><?php _e('All Time Total:', 'wp-statistics'); ?></th>
32
  <th class="th-center"><span style="color: #DC3545 !important;"><?php echo number_format_i18n($total_exclusions); ?></span></th>
33
  </tr>
34
  </tbody>
28
  </tr>
29
 
30
  <tr>
31
+ <th class="wps-text-muted"><?php _e('All Time Total:', 'wp-statistics'); ?></th>
32
  <th class="th-center"><span style="color: #DC3545 !important;"><?php echo number_format_i18n($total_exclusions); ?></span></th>
33
  </tr>
34
  </tbody>
includes/admin/templates/pages/online.php CHANGED
@@ -26,11 +26,11 @@
26
  <?php foreach ($user_online_list as $item) { ?>
27
  <tr>
28
  <td style="text-align: left">
29
- <a href="<?php echo $item['browser']['link']; ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
30
  </td>
31
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
32
  <td style="text-align: left">
33
- <img src="<?php echo $item['country']['flag']; ?>" alt="<?php echo $item['country']['name']; ?>" title="<?php echo $item['country']['name']; ?>" class="log-tools"/>
34
  </td>
35
  <?php } ?>
36
  <?php if (WP_STATISTICS\GeoIP::active('city')) { ?>
@@ -38,7 +38,7 @@
38
  <?php } ?>
39
  <td style='text-align: left'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "'>" . $item['ip']['value'] . "</a>"); ?></td>
40
  <td style='text-align: left'><span><?php echo $item['online_for']; ?></span></td>
41
- <td style='text-align: left'><?php echo ($item['page']['link'] != '' ? '<a href="' . $item['page']['link'] . '" target="_blank" class="wps-text-danger">' : '') . $item['page']['title'] . ($item['page']['link'] != '' ? '</a>' : ''); ?></td>
42
  <td style='text-align: left'><?php echo $item['referred']; ?></td>
43
  <td style='text-align: left'>
44
  <?php if (isset($item['user']) and isset($item['user']['ID']) and $item['user']['ID'] > 0) { ?>
26
  <?php foreach ($user_online_list as $item) { ?>
27
  <tr>
28
  <td style="text-align: left">
29
+ <a href="<?php echo esc_url($item['browser']['link']); ?>" title="<?php echo esc_attr($item['browser']['name']); ?>"><img src="<?php echo esc_url($item['browser']['logo']); ?>" alt="<?php echo esc_attr($item['browser']['name']); ?>" class="log-tools" title="<?php echo esc_attr($item['browser']['name']); ?>"/></a>
30
  </td>
31
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
32
  <td style="text-align: left">
33
+ <img src="<?php echo esc_url($item['country']['flag']); ?>" alt="<?php echo esc_attr($item['country']['name']); ?>" title="<?php echo esc_attr($item['country']['name']); ?>" class="log-tools"/>
34
  </td>
35
  <?php } ?>
36
  <?php if (WP_STATISTICS\GeoIP::active('city')) { ?>
38
  <?php } ?>
39
  <td style='text-align: left'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "'>" . $item['ip']['value'] . "</a>"); ?></td>
40
  <td style='text-align: left'><span><?php echo $item['online_for']; ?></span></td>
41
+ <td style='text-align: left'><?php echo ($item['page']['link'] != '' ? '<a href="' . $item['page']['link'] . '" target="_blank" class="wps-text-muted">' : '') . $item['page']['title'] . ($item['page']['link'] != '' ? '</a>' : ''); ?></td>
42
  <td style='text-align: left'><?php echo $item['referred']; ?></td>
43
  <td style='text-align: left'>
44
  <?php if (isset($item['user']) and isset($item['user']['ID']) and $item['user']['ID'] > 0) { ?>
includes/admin/templates/pages/page-chart.php CHANGED
@@ -7,5 +7,23 @@
7
  </div>
8
  </div>
9
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  </div>
11
  </div>
7
  </div>
8
  </div>
9
  </div>
10
+ </div
11
+ </div>
12
+
13
+ <div class="postbox-container wps-postbox-full">
14
+ <div class="metabox-holder">
15
+ <div class="meta-box-sortables">
16
+ <div class="postbox" id="wp-statistics-pages-widget">
17
+ <button class="handlediv" type="button" aria-expanded="true">
18
+ <span class="screen-reader-text">Toggle panel: Top Pages</span>
19
+ <span class="toggle-indicator" aria-hidden="true"></span>
20
+ </button>
21
+
22
+ <h2 class="hndle wps-d-inline-block"><span>Visitors</span></h2>
23
+ <div class="inside wps-wrap">
24
+ <?php echo $visitors; ?>
25
+ </div>
26
+ </div>
27
+ </div>
28
  </div>
29
  </div>
includes/admin/templates/pages/pages.php CHANGED
@@ -58,7 +58,7 @@
58
  </a>
59
  </td>
60
  <td style="text-align: left">
61
- <a href="<?php echo $li['hits_page']; ?>" class="wps-text-danger">
62
  <?php echo $li['number']; ?>
63
  </a>
64
  </td>
58
  </a>
59
  </td>
60
  <td style="text-align: left">
61
+ <a href="<?php echo $li['hits_page']; ?>" class="wps-text-muted">
62
  <?php echo $li['number']; ?>
63
  </a>
64
  </td>
includes/admin/templates/pages/refer.url.php CHANGED
@@ -38,15 +38,15 @@
38
  <?php foreach ($list as $item) { ?>
39
  <tr>
40
  <td style="text-align: left">
41
- <a href="<?php echo $item['refer']; ?>" target="_blank" title="<?php echo $item['refer']; ?>"><?php echo preg_replace("(^https?://)", "", trim($item['refer'])); ?></a>
42
  </td>
43
  <td style='text-align: left;'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "' class='wps-text-success'>" . $item['ip']['value'] . "</a>"); ?></td>
44
  <td style="text-align: left">
45
- <a href="<?php echo $item['browser']['link']; ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
46
  </td>
47
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
48
  <td style="text-align: left">
49
- <img src="<?php echo $item['country']['flag']; ?>" alt="<?php echo $item['country']['name']; ?>" title="<?php echo $item['country']['name']; ?>" class="log-tools"/>
50
  </td>
51
  <?php } ?>
52
  <td style="text-align: left"><?php echo $item['date']; ?></td>
38
  <?php foreach ($list as $item) { ?>
39
  <tr>
40
  <td style="text-align: left">
41
+ <a href="<?php echo esc_url($item['refer']); ?>" target="_blank" title="<?php echo esc_attr($item['refer']); ?>"><?php echo preg_replace("(^https?://)", "", trim($item['refer'])); ?></a>
42
  </td>
43
  <td style='text-align: left;'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "' class='wps-text-success'>" . $item['ip']['value'] . "</a>"); ?></td>
44
  <td style="text-align: left">
45
+ <a href="<?php echo esc_url($item['browser']['link']); ?>" title="<?php echo esc_attr($item['browser']['name']); ?>"><img src="<?php echo esc_url($item['browser']['logo']); ?>" alt="<?php echo esc_attr($item['browser']['name']); ?>" class="log-tools" title="<?php echo esc_attr($item['browser']['name']); ?>"/></a>
46
  </td>
47
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
48
  <td style="text-align: left">
49
+ <img src="<?php echo esc_url($item['country']['flag']); ?>" alt="<?php echo esc_attr($item['country']['name']); ?>" title="<?php echo esc_attr($item['country']['name']); ?>" class="log-tools"/>
50
  </td>
51
  <?php } ?>
52
  <td style="text-align: left"><?php echo $item['date']; ?></td>
includes/admin/templates/pages/tag.php CHANGED
@@ -83,7 +83,7 @@
83
  ?>
84
  <tr>
85
  <th>
86
- <a href="<?php echo $item['link']; ?>" title="<?php echo $item['name']; ?>"><?php echo $item['name']; ?></a>
87
  </th>
88
  <th class="th-center">
89
  <span><?php echo number_format_i18n($item['count_visit']); ?></span></th>
83
  ?>
84
  <tr>
85
  <th>
86
+ <a href="<?php echo esc_url($item['link']); ?>" title="<?php echo esc_attr($item['name']); ?>"><?php echo esc_attr($item['name']); ?></a>
87
  </th>
88
  <th class="th-center">
89
  <span><?php echo number_format_i18n($item['count_visit']); ?></span></th>
includes/admin/templates/pages/top-visitors.php CHANGED
@@ -34,7 +34,7 @@
34
  <?php foreach ($list as $item) { ?>
35
  <tr>
36
  <td style="text-align: left">
37
- <a href="<?php echo $item['browser']['link']; ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
38
  </td>
39
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
40
  <td style="text-align: left">
@@ -45,12 +45,14 @@
45
  <td><?php echo $item['city']; ?></td>
46
  <?php } ?>
47
  <td style='text-align: left'><span><?php echo $item['date']; ?></span></td>
48
- <td style='text-align: left'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "' class='wps-text-danger'>" . $item['ip']['value'] . "</a>"); ?></td>
49
- <td style='text-align: left'><?php echo $item['platform']; ?></td>
50
  <td style='text-align: left'>
51
  <?php if (isset($item['user']) and isset($item['user']['ID']) and $item['user']['ID'] > 0) { ?>
52
  <a href="<?php echo \WP_STATISTICS\Menus::admin_url('visitors', array('user_id' => $item['user']['ID'])); ?>" class="wps-text-success"><?php echo $item['user']['user_login']; ?></a>
53
- <?php } else { ?><?php echo \WP_STATISTICS\Admin_Template::UnknownColumn(); ?><?php } ?>
 
 
54
  </td>
55
  <td style='text-align: left'><?php echo $item['referred']; ?></td>
56
  <td style='text-align: left'><?php echo $item['hits']; ?></td>
34
  <?php foreach ($list as $item) { ?>
35
  <tr>
36
  <td style="text-align: left">
37
+ <a href="<?php echo esc_url($item['browser']['link']); ?>" title="<?php echo esc_attr($item['browser']['name']); ?>"><img src="<?php echo esc_url($item['browser']['logo']); ?>" alt="<?php echo esc_attr($item['browser']['name']); ?>" class="log-tools" title="<?php echo esc_attr($item['browser']['name']); ?>"/></a>
38
  </td>
39
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
40
  <td style="text-align: left">
45
  <td><?php echo $item['city']; ?></td>
46
  <?php } ?>
47
  <td style='text-align: left'><span><?php echo $item['date']; ?></span></td>
48
+ <td style='text-align: left'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "' class='wps-text-muted'>" . $item['ip']['value'] . "</a>"); ?></td>
49
+ <td style='text-align: left'><?php echo esc_attr($item['platform']); ?></td>
50
  <td style='text-align: left'>
51
  <?php if (isset($item['user']) and isset($item['user']['ID']) and $item['user']['ID'] > 0) { ?>
52
  <a href="<?php echo \WP_STATISTICS\Menus::admin_url('visitors', array('user_id' => $item['user']['ID'])); ?>" class="wps-text-success"><?php echo $item['user']['user_login']; ?></a>
53
+ <?php } else { ?>
54
+ <?php echo \WP_STATISTICS\Admin_Template::UnknownColumn(); ?>
55
+ <?php } ?>
56
  </td>
57
  <td style='text-align: left'><?php echo $item['referred']; ?></td>
58
  <td style='text-align: left'><?php echo $item['hits']; ?></td>
includes/admin/templates/pages/top.refer.php CHANGED
@@ -39,7 +39,7 @@
39
  <td><?php echo(trim($item['country']) == "" ? \WP_STATISTICS\Admin_Template::UnknownColumn() : "<img src='" . $item['flag'] . "' title='" . $item['country'] . "' alt='" . $item['country'] . "' class='log-tools'/>"); ?></td>
40
  <?php } ?>
41
  <td>
42
- <a class='wps-text-success' href='<?php echo $item['page_link']; ?>'><?php echo $item['number']; ?></a>
43
  </td>
44
  </tr>
45
 
39
  <td><?php echo(trim($item['country']) == "" ? \WP_STATISTICS\Admin_Template::UnknownColumn() : "<img src='" . $item['flag'] . "' title='" . $item['country'] . "' alt='" . $item['country'] . "' class='log-tools'/>"); ?></td>
40
  <?php } ?>
41
  <td>
42
+ <a class='wps-text-success' href='<?php echo esc_url($item['page_link']); ?>'><?php echo $item['number']; ?></a>
43
  </td>
44
  </tr>
45
 
includes/admin/templates/pages/visitors.php CHANGED
@@ -3,8 +3,8 @@
3
  foreach ($sub as $key => $item) {
4
  ?>
5
  <li class="all">
6
- <a <?php if ($item['active'] === true) { ?> class="current" <?php } ?> href="<?php echo $item['link']; ?>">
7
- <?php echo $item['title']; ?>
8
  <span class='count'>(<?php echo number_format_i18n($item['count']); ?>)</span>
9
  </a>
10
  </li>
@@ -37,6 +37,7 @@
37
  </td>
38
  <td><?php _e('IP', 'wp-statistics'); ?></td>
39
  <td><?php _e('Platform', 'wp-statistics'); ?></td>
 
40
  <td><?php _e('User', 'wp-statistics'); ?></td>
41
  <?php
42
  if (\WP_STATISTICS\Option::get('visitors_log')) {
@@ -46,13 +47,12 @@
46
  }
47
  ?>
48
  <td><?php _e('Referrer', 'wp-statistics'); ?></td>
49
- <td></td>
50
  </tr>
51
 
52
  <?php foreach ($list as $item) { ?>
53
  <tr>
54
  <td style="text-align: left">
55
- <a href="<?php echo $item['browser']['link']; ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
56
  </td>
57
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
58
  <td style="text-align: left">
@@ -63,24 +63,29 @@
63
  <td><?php echo $item['city']; ?></td>
64
  <?php } ?>
65
  <td style='text-align: left'><span><?php echo $item['date']; ?></span></td>
66
- <td style='text-align: left'><?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "' class='wps-text-danger'>" . $item['ip']['value'] . "</a>"); ?></td>
67
- <td style='text-align: left'><?php echo $item['platform']; ?></td>
 
 
 
 
68
  <td style='text-align: left'>
69
  <?php if (isset($item['user']) and isset($item['user']['ID']) and $item['user']['ID'] > 0) { ?>
70
  <a href="<?php echo \WP_STATISTICS\Menus::admin_url('visitors', array('user_id' => $item['user']['ID'])); ?>" class="wps-text-success"><?php echo $item['user']['user_login']; ?></a>
71
- <?php } else { ?><?php echo \WP_STATISTICS\Admin_Template::UnknownColumn(); ?><?php } ?>
 
 
72
  </td>
73
  <?php
74
  if (\WP_STATISTICS\Option::get('visitors_log')) {
75
  ?>
76
  <td style='text-align: left;' class="tbl-page-column">
77
- <span class="txt-overflow" title="<?php echo($item['page']['title'] != "" ? $item['page']['title'] : ''); ?>"><?php echo ($item['page']['link'] != '' ? '<a href="' . $item['page']['link'] . '" target="_blank" class="wps-text-danger">' : '') . ($item['page']['title'] != "" ? $item['page']['title'] : \WP_STATISTICS\Admin_Template::UnknownColumn()) . ($item['page']['link'] != '' ? '</a>' : ''); ?></span>
78
  </td>
79
  <?php
80
  }
81
  ?>
82
  <td style='text-align: left'><?php echo $item['referred']; ?></td>
83
- <td style='text-align: center'><?php echo(isset($item['map']) ? "<a class='wps-text-muted' href='" . $item['ip']['link'] . "'>" . WP_STATISTICS\Admin_Template::icons('dashicons-visibility') . "</a><a class='show-map wps-text-muted' href='" . $item['map'] . "' target='_blank' title='" . __('Map', 'wp-statistics') . "'>" . WP_STATISTICS\Admin_Template::icons('dashicons-location-alt') . "</a>" : ""); ?></td>
84
  </tr>
85
  <?php } ?>
86
  </table>
3
  foreach ($sub as $key => $item) {
4
  ?>
5
  <li class="all">
6
+ <a <?php if ($item['active'] === true) { ?> class="current" <?php } ?> href="<?php echo esc_url($item['link']); ?>">
7
+ <?php echo esc_attr($item['title']); ?>
8
  <span class='count'>(<?php echo number_format_i18n($item['count']); ?>)</span>
9
  </a>
10
  </li>
37
  </td>
38
  <td><?php _e('IP', 'wp-statistics'); ?></td>
39
  <td><?php _e('Platform', 'wp-statistics'); ?></td>
40
+ <td><?php _e('Hits', 'wp-statistics'); ?></td>
41
  <td><?php _e('User', 'wp-statistics'); ?></td>
42
  <?php
43
  if (\WP_STATISTICS\Option::get('visitors_log')) {
47
  }
48
  ?>
49
  <td><?php _e('Referrer', 'wp-statistics'); ?></td>
 
50
  </tr>
51
 
52
  <?php foreach ($list as $item) { ?>
53
  <tr>
54
  <td style="text-align: left">
55
+ <a href="<?php echo esc_url($item['browser']['link']); ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
56
  </td>
57
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
58
  <td style="text-align: left">
63
  <td><?php echo $item['city']; ?></td>
64
  <?php } ?>
65
  <td style='text-align: left'><span><?php echo $item['date']; ?></span></td>
66
+ <td style='text-align: left'>
67
+ <?php echo(isset($item['map']) ? "<a class='show-map' href='" . $item['map'] . "' target='_blank' title='" . __('Map', 'wp-statistics') . "'>" . WP_STATISTICS\Admin_Template::icons('dashicons-location-alt') . "</a>" : ""); ?>
68
+ <?php echo(isset($item['hash_ip']) ? $item['hash_ip'] : "<a href='" . $item['ip']['link'] . "'>" . $item['ip']['value'] . "</a>"); ?>
69
+ </td>
70
+ <td style='text-align: left'><?php echo esc_attr($item['platform']); ?></td>
71
+ <td style='text-align: left'><?php echo $item['hits']; ?></td>
72
  <td style='text-align: left'>
73
  <?php if (isset($item['user']) and isset($item['user']['ID']) and $item['user']['ID'] > 0) { ?>
74
  <a href="<?php echo \WP_STATISTICS\Menus::admin_url('visitors', array('user_id' => $item['user']['ID'])); ?>" class="wps-text-success"><?php echo $item['user']['user_login']; ?></a>
75
+ <?php } else { ?>
76
+ <?php echo \WP_STATISTICS\Admin_Template::UnknownColumn(); ?>
77
+ <?php } ?>
78
  </td>
79
  <?php
80
  if (\WP_STATISTICS\Option::get('visitors_log')) {
81
  ?>
82
  <td style='text-align: left;' class="tbl-page-column">
83
+ <span class="txt-overflow" title="<?php echo($item['page']['title'] != "" ? $item['page']['title'] : ''); ?>"><?php echo ($item['page']['link'] != '' ? '<a href="' . $item['page']['link'] . '" target="_blank" class="wps-text-muted">' : '') . ($item['page']['title'] != "" ? $item['page']['title'] : \WP_STATISTICS\Admin_Template::UnknownColumn()) . ($item['page']['link'] != '' ? '</a>' : ''); ?></span>
84
  </td>
85
  <?php
86
  }
87
  ?>
88
  <td style='text-align: left'><?php echo $item['referred']; ?></td>
 
89
  </tr>
90
  <?php } ?>
91
  </table>
includes/admin/templates/pages/words.php CHANGED
@@ -3,8 +3,8 @@
3
  foreach ($search_engine as $key => $item) {
4
  ?>
5
  <li class="all">
6
- <a <?php if ($item['active'] === true) { ?> class="current" <?php } ?> href="<?php echo $item['link']; ?>">
7
- <?php echo $item['title']; ?>
8
  <span class='count'>(<?php echo number_format_i18n($item['count']); ?>)</span>
9
  </a>
10
  </li>
@@ -39,7 +39,7 @@
39
  <tr>
40
  <td style="text-align: left"><?php echo $item['word']; ?></td>
41
  <td style="text-align: left">
42
- <a href="<?php echo $item['browser']['link']; ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
43
  </td>
44
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
45
  <td style="text-align: left">
3
  foreach ($search_engine as $key => $item) {
4
  ?>
5
  <li class="all">
6
+ <a <?php if ($item['active'] === true) { ?> class="current" <?php } ?> href="<?php echo esc_url($item['link']); ?>">
7
+ <?php echo esc_attr($item['title']); ?>
8
  <span class='count'>(<?php echo number_format_i18n($item['count']); ?>)</span>
9
  </a>
10
  </li>
39
  <tr>
40
  <td style="text-align: left"><?php echo $item['word']; ?></td>
41
  <td style="text-align: left">
42
+ <a href="<?php echo esc_url($item['browser']['link']); ?>" title="<?php echo $item['browser']['name']; ?>"><img src="<?php echo $item['browser']['logo']; ?>" alt="<?php echo $item['browser']['name']; ?>" class="log-tools" title="<?php echo $item['browser']['name']; ?>"/></a>
43
  </td>
44
  <?php if (WP_STATISTICS\GeoIP::active()) { ?>
45
  <td style="text-align: left">
includes/admin/templates/postbox.php CHANGED
@@ -28,10 +28,7 @@
28
  $result = json_decode($response['body']);
29
  foreach ($result->items as $item) : ?>
30
  <div class="meta-box-sortables">
31
- <div id="wps-plugins-support" class="postbox">
32
- <h2 class="hndle"><span><?php echo $item->title; ?></span></h2>
33
- <div class="inside"><?php echo $item->content; ?></div>
34
- </div>
35
  </div>
36
  <?php
37
  endforeach;
28
  $result = json_decode($response['body']);
29
  foreach ($result->items as $item) : ?>
30
  <div class="meta-box-sortables">
31
+ <div class="inside-no-padding"><?php echo $item->content; ?></div>
 
 
 
32
  </div>
33
  <?php
34
  endforeach;
includes/admin/templates/settings/about.php CHANGED
@@ -11,15 +11,16 @@
11
 
12
  <tr valign="top">
13
  <td scope="row" align="center">
14
- <h2><?php echo sprintf(__('WP Statistics V%s', 'wp-statistics'), WP_STATISTICS_VERSION); ?></h2>
15
  </td>
16
  </tr>
17
 
18
  <tr valign="top">
19
  <td scope="row" align="center">
20
  <?php echo sprintf(
21
- __('This product includes GeoLite2 data created by %s.', 'wp-statistics'),
22
- '<a href="http://www.maxmind.com" target=_blank>MaxMind</a>'
 
23
  ); ?>
24
  </td>
25
  </tr>
@@ -119,7 +120,7 @@
119
  ); ?></li>
120
  <li><?php echo sprintf(
121
  __('Have you search the %ssupport forum%s for a similar issue?', 'wp-statistics'),
122
- '<a href="http://wordpress.org/support/plugin/wp-statistics" target="_blank">',
123
  '</a>'
124
  ); ?></li>
125
  <li><?php _e(
@@ -152,14 +153,7 @@
152
  <li><?php _e('Have you checked your PHP and web server error logs?', 'wp-statistics'); ?></li>
153
  </ul>
154
 
155
- <p><?php _e('Still not having any luck?', 'wp-statistics'); ?><?php echo sprintf(
156
- __(
157
- 'Then please open a new thread on the %sWordPress.org support forum%s and we\'ll respond as soon as possible.',
158
- 'wp-statistics'
159
- ),
160
- '<a href="http://wordpress.org/support/plugin/wp-statistics" target="_blank">',
161
- '</a>'
162
- ); ?></p>
163
  </td>
164
  </tr>
165
  </tbody>
11
 
12
  <tr valign="top">
13
  <td scope="row" align="center">
14
+ <h2><?php echo sprintf(__('WP-Statistics v%s', 'wp-statistics'), WP_STATISTICS_VERSION); ?></h2>
15
  </td>
16
  </tr>
17
 
18
  <tr valign="top">
19
  <td scope="row" align="center">
20
  <?php echo sprintf(
21
+ __('This product is developed by %s and includes GeoLite2 data created by %s.', 'wp-statistics'),
22
+ '<a href="https://veronalabs.com" target=_blank>VeronaLabs</a>',
23
+ '<a href="https://www.maxmind.com" target=_blank>MaxMind</a>'
24
  ); ?>
25
  </td>
26
  </tr>
120
  ); ?></li>
121
  <li><?php echo sprintf(
122
  __('Have you search the %ssupport forum%s for a similar issue?', 'wp-statistics'),
123
+ '<a href="https://wordpress.org/support/plugin/wp-statistics" target="_blank">',
124
  '</a>'
125
  ); ?></li>
126
  <li><?php _e(
153
  <li><?php _e('Have you checked your PHP and web server error logs?', 'wp-statistics'); ?></li>
154
  </ul>
155
 
156
+ <p><?php _e('Still not having any luck?', 'wp-statistics'); ?> <?php echo sprintf(__('Then please open a new thread on the %sWordPress.org support forum%s and we\'ll respond as soon as possible.', 'wp-statistics'), '<a href="https://wordpress.org/support/plugin/wp-statistics" target="_blank">', '</a>'); ?></p>
 
 
 
 
 
 
 
157
  </td>
158
  </tr>
159
  </tbody>
includes/admin/templates/settings/general.php CHANGED
@@ -176,13 +176,13 @@
176
 
177
  <tr valign="top">
178
  <th scope="row">
179
- <label for="disable-editor"><?php _e('Hits Chart', 'wp-statistics'); ?></label>
180
  </th>
181
 
182
  <td>
183
  <input id="disable-editor" type="checkbox" value="1" name="wps_disable_editor" <?php echo WP_STATISTICS\Option::get('disable_editor') == true ? "checked='checked'" : ''; ?>>
184
  <label for="disable-editor"><?php _e('Disable', 'wp-statistics'); ?></label>
185
- <p class="description"><?php _e('Show Hits Chart in the WordPress page/post editor.', 'wp-statistics'); ?></p>
186
  </td>
187
  </tr>
188
 
@@ -193,31 +193,31 @@
193
  <td>
194
  <input id="disable_column" type="checkbox" value="1" name="wps_disable_column" <?php echo WP_STATISTICS\Option::get('disable_column') == true ? "checked='checked'" : ''; ?>>
195
  <label for="disable_column"><?php _e('Disable', 'wp-statistics'); ?></label>
196
- <p class="description"><?php _e('Show the Hits Column in posts/pages list', 'wp-statistics'); ?></p>
197
  </td>
198
  </tr>
199
 
200
  <tr valign="top">
201
  <th scope="row">
202
- <label for="hit_post_metabox"><?php _e('Hits Metabox Chart:', 'wp-statistics'); ?></label>
203
  </th>
204
 
205
  <td>
206
  <input id="hit_post_metabox" type="checkbox" value="1" name="wps_hit_post_metabox" <?php echo WP_STATISTICS\Option::get('hit_post_metabox') == true ? "checked='checked'" : ''; ?>>
207
  <label for="hit_post_metabox"><?php _e('Enable', 'wp-statistics'); ?></label>
208
- <p class="description"><?php _e('Enable this option to show hits metabox chart on the edit page of all post types', 'wp-statistics'); ?></p>
209
  </td>
210
  </tr>
211
 
212
  <tr valign="top">
213
  <th scope="row">
214
- <label for="show_hits"><?php _e('Hits in Single Page:', 'wp-statistics'); ?></label>
215
  </th>
216
 
217
  <td>
218
  <input id="show_hits" type="checkbox" value="1" name="wps_show_hits" <?php echo WP_STATISTICS\Option::get('show_hits') == true ? "checked='checked'" : ''; ?> onClick='ToggleShowHitsOptions();'>
219
  <label for="show_hits"><?php _e('Enable', 'wp-statistics'); ?></label>
220
- <p class="description"><?php _e('Enable it to show hits in content', 'wp-statistics'); ?></p>
221
  </td>
222
  </tr>
223
 
@@ -279,8 +279,8 @@
279
 
280
  <td>
281
  <select name="wps_menu_bar" id="menu-bar">
282
- <option value="0" <?php selected(WP_STATISTICS\Option::get('menu_bar'), '0'); ?>><?php _e('No', 'wp-statistics'); ?></option>
283
  <option value="1" <?php selected(WP_STATISTICS\Option::get('menu_bar'), '1'); ?>><?php _e('Yes', 'wp-statistics'); ?></option>
 
284
  </select>
285
  <p class="description"><?php _e('Select Yes to show stats in the admin menu bar', 'wp-statistics'); ?></p>
286
  </td>
176
 
177
  <tr valign="top">
178
  <th scope="row">
179
+ <label for="disable-editor"><?php _e('Hits Chart Metabox', 'wp-statistics'); ?></label>
180
  </th>
181
 
182
  <td>
183
  <input id="disable-editor" type="checkbox" value="1" name="wps_disable_editor" <?php echo WP_STATISTICS\Option::get('disable_editor') == true ? "checked='checked'" : ''; ?>>
184
  <label for="disable-editor"><?php _e('Disable', 'wp-statistics'); ?></label>
185
+ <p class="description"><?php _e('Disable showing the hits chart metabox in the edit pages.', 'wp-statistics'); ?></p>
186
  </td>
187
  </tr>
188
 
193
  <td>
194
  <input id="disable_column" type="checkbox" value="1" name="wps_disable_column" <?php echo WP_STATISTICS\Option::get('disable_column') == true ? "checked='checked'" : ''; ?>>
195
  <label for="disable_column"><?php _e('Disable', 'wp-statistics'); ?></label>
196
+ <p class="description"><?php _e('Disable showing the hits column in list pages.', 'wp-statistics'); ?></p>
197
  </td>
198
  </tr>
199
 
200
  <tr valign="top">
201
  <th scope="row">
202
+ <label for="hit_post_metabox"><?php _e('Hits in Publish Metabox', 'wp-statistics'); ?></label>
203
  </th>
204
 
205
  <td>
206
  <input id="hit_post_metabox" type="checkbox" value="1" name="wps_hit_post_metabox" <?php echo WP_STATISTICS\Option::get('hit_post_metabox') == true ? "checked='checked'" : ''; ?>>
207
  <label for="hit_post_metabox"><?php _e('Enable', 'wp-statistics'); ?></label>
208
+ <p class="description"><?php _e('Enable this option to show hits on the edit page » Publish meta box of all post types', 'wp-statistics'); ?></p>
209
  </td>
210
  </tr>
211
 
212
  <tr valign="top">
213
  <th scope="row">
214
+ <label for="show_hits"><?php _e('Hits in Single Pages', 'wp-statistics'); ?></label>
215
  </th>
216
 
217
  <td>
218
  <input id="show_hits" type="checkbox" value="1" name="wps_show_hits" <?php echo WP_STATISTICS\Option::get('show_hits') == true ? "checked='checked'" : ''; ?> onClick='ToggleShowHitsOptions();'>
219
  <label for="show_hits"><?php _e('Enable', 'wp-statistics'); ?></label>
220
+ <p class="description"><?php _e('Enable this option to show the hits in post content', 'wp-statistics'); ?></p>
221
  </td>
222
  </tr>
223
 
279
 
280
  <td>
281
  <select name="wps_menu_bar" id="menu-bar">
 
282
  <option value="1" <?php selected(WP_STATISTICS\Option::get('menu_bar'), '1'); ?>><?php _e('Yes', 'wp-statistics'); ?></option>
283
+ <option value="0" <?php selected(WP_STATISTICS\Option::get('menu_bar'), '0'); ?>><?php _e('No', 'wp-statistics'); ?></option>
284
  </select>
285
  <p class="description"><?php _e('Select Yes to show stats in the admin menu bar', 'wp-statistics'); ?></p>
286
  </td>
includes/admin/templates/settings/notifications.php CHANGED
@@ -150,7 +150,7 @@
150
 
151
  <p class="description data">
152
  <?php _e('Any shortcode supported by your installation of WordPress, include all shortcodes for WP Statistics (see the documentation for a list of codes available) are supported in the body of the message. Here are some examples:', 'wp-statistics'); ?>
153
- <br><br>&nbsp;
154
  <?php _e('Online User', 'wp-statistics'); ?>:
155
  <code>[wpstatistics stat=usersonline]</code><br>
156
  <?php _e('Today\'s Visitors', 'wp-statistics'); ?>:
@@ -167,7 +167,7 @@
167
  <code>[wpstatistics stat=visits time=total]</code><br>
168
  </p>
169
 
170
- <h4>Looking for chart reporting? check out <a target="_blank" href="https://wp-statistics.com/product/wp-statistics-advanced-reporting/">Advanced Reporting</a>. </h4>
171
  </td>
172
  </tr>
173
  </tbody>
150
 
151
  <p class="description data">
152
  <?php _e('Any shortcode supported by your installation of WordPress, include all shortcodes for WP Statistics (see the documentation for a list of codes available) are supported in the body of the message. Here are some examples:', 'wp-statistics'); ?>
153
+ <br><br>
154
  <?php _e('Online User', 'wp-statistics'); ?>:
155
  <code>[wpstatistics stat=usersonline]</code><br>
156
  <?php _e('Today\'s Visitors', 'wp-statistics'); ?>:
167
  <code>[wpstatistics stat=visits time=total]</code><br>
168
  </p>
169
 
170
+ <h4>Looking for chart reporting? check out <a target="_blank" href="https://wp-statistics.com/product/wp-statistics-advanced-reporting?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress">Advanced Reporting!</a></h4>
171
  </td>
172
  </tr>
173
  </tbody>
includes/admin/templates/settings/visitor-ip.php CHANGED
@@ -87,7 +87,7 @@ add_thickbox();
87
  <td style="width: 250px;"> <?php printf(__('Use %1$s', 'wp-statistics'), $method); ?></td>
88
  <td><code><?php
89
  if (isset($_SERVER[$method]) and !empty($_SERVER[$method])) {
90
- echo $_SERVER[$method];
91
  } else {
92
  _e('No available data.', 'wp-statistics');
93
  } ?>
@@ -126,7 +126,7 @@ add_thickbox();
126
  <?php if (!in_array($ip_method, \WP_STATISTICS\IP::$ip_methods_server)) {
127
  echo '<code>';
128
  if (isset($_SERVER[$ip_method]) and !empty($_SERVER[$ip_method])) {
129
- echo $_SERVER[$ip_method];
130
  } else {
131
  _e('No available data.', 'wp-statistics');
132
  }
87
  <td style="width: 250px;"> <?php printf(__('Use %1$s', 'wp-statistics'), $method); ?></td>
88
  <td><code><?php
89
  if (isset($_SERVER[$method]) and !empty($_SERVER[$method])) {
90
+ echo sanitize_text_field(wp_unslash($_SERVER[$method]));
91
  } else {
92
  _e('No available data.', 'wp-statistics');
93
  } ?>
126
  <?php if (!in_array($ip_method, \WP_STATISTICS\IP::$ip_methods_server)) {
127
  echo '<code>';
128
  if (isset($_SERVER[$ip_method]) and !empty($_SERVER[$ip_method])) {
129
+ echo sanitize_text_field(wp_unslash($_SERVER[$ip_method]));
130
  } else {
131
  _e('No available data.', 'wp-statistics');
132
  }
includes/class-wp-statistics-admin-bar.php CHANGED
@@ -10,8 +10,8 @@ class AdminBar
10
  public function __construct()
11
  {
12
 
13
- # Show Wordpress Admin Bar
14
- add_action('admin_bar_menu', array($this, 'admin_bar'), 20);
15
  }
16
 
17
  /**
@@ -29,30 +29,61 @@ class AdminBar
29
 
30
  /**
31
  * Show WordPress Admin Bar
 
32
  */
33
- public function admin_bar()
34
  {
35
- global $wp_admin_bar;
36
-
37
  // Check Show WordPress Admin Bar
38
  if (self::show_admin_bar() and is_admin_bar_showing() and User::Access()) {
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  /**
41
- * List Of Admin Bar Wordpress
42
  *
43
  * --- Array Arg ---
44
  * Key : ID of Admin bar
45
  */
46
  $admin_bar_list = array(
47
  'wp-statistic-menu' => array(
48
- 'title' => '<span class="ab-icon"></span>',
49
  'href' => Menus::admin_url('overview')
50
  ),
51
- 'wp-statistics-menu-useronline' => array(
52
- 'parent' => 'wp-statistic-menu',
53
- 'title' => __('Online User', 'wp-statistics') . ": " . wp_statistics_useronline(),
54
- 'href' => Menus::admin_url('online')
55
- ),
56
  'wp-statistics-menu-todayvisitor' => array(
57
  'parent' => 'wp-statistic-menu',
58
  'title' => __('Today\'s Visitors', 'wp-statistics') . ": " . wp_statistics_visitor('today'),
@@ -69,19 +100,23 @@ class AdminBar
69
  'parent' => 'wp-statistic-menu',
70
  'title' => __('Yesterday\'s Visits', 'wp-statistics') . ": " . wp_statistics_visit('yesterday')
71
  ),
72
- 'wp-statistics-menu-viewstats' => array(
73
  'parent' => 'wp-statistic-menu',
74
- 'title' => __('View Stats', 'wp-statistics'),
75
- 'href' => Menus::admin_url('overview')
 
 
 
 
 
 
76
  )
77
  );
78
 
79
  /**
80
  * WP-Statistics Admin Bar List
81
- *
82
- * @example add_filter('wp_statistics_admin_bar', function( $admin_bar_list ){ unset( $admin_bar_list['wp-statistics-menu-useronline'] ); return $admin_bar_list; });
83
  */
84
- $admin_bar_list = apply_filters('wp_statistics_admin_bar', $admin_bar_list);
85
 
86
  # Show Admin Bar
87
  foreach ($admin_bar_list as $id => $v_admin_bar) {
10
  public function __construct()
11
  {
12
 
13
+ # Show WordPress Admin Bar
14
+ add_action('admin_bar_menu', array($this, 'admin_bar'), 69);
15
  }
16
 
17
  /**
29
 
30
  /**
31
  * Show WordPress Admin Bar
32
+ * @param \WP_Admin_Bar $wp_admin_bar
33
  */
34
+ public function admin_bar($wp_admin_bar)
35
  {
 
 
36
  // Check Show WordPress Admin Bar
37
  if (self::show_admin_bar() and is_admin_bar_showing() and User::Access()) {
38
 
39
+ $menu_title = '<span class="ab-icon"></span>';
40
+ $object_id = get_queried_object_ID();
41
+
42
+ $view_type = false;
43
+ $view_title = false;
44
+
45
+ if ((is_single() or is_page()) and !is_front_page()) {
46
+
47
+ $view_type = Pages::get_post_type($object_id);
48
+ $view_title = __('Page Views', 'wp-statistics');
49
+
50
+ } elseif (is_category()) {
51
+
52
+ $view_type = 'category';
53
+ $view_title = __('Category Views', 'wp-statistics');
54
+
55
+ } elseif (is_tag()) {
56
+
57
+ $view_type = 'post_tag';
58
+ $view_title = __('Tag Views', 'wp-statistics');
59
+
60
+ } elseif (is_author()) {
61
+
62
+ $view_type = 'author';
63
+ $view_title = __('Author Views', 'wp-statistics');
64
+
65
+ }
66
+
67
+ if ($view_type && $view_title) {
68
+ $hit_number = wp_statistics_pages('total', '', $object_id, null, null, $view_type);
69
+
70
+ $menu_title .= sprintf('%s: %s', $view_title, number_format($hit_number));
71
+ $menu_title .= ' - ';
72
+ }
73
+
74
+ $menu_title .= sprintf('Online: %s', number_format(wp_statistics_useronline()));
75
+
76
  /**
77
+ * List Of Admin Bar WordPress
78
  *
79
  * --- Array Arg ---
80
  * Key : ID of Admin bar
81
  */
82
  $admin_bar_list = array(
83
  'wp-statistic-menu' => array(
84
+ 'title' => $menu_title,
85
  'href' => Menus::admin_url('overview')
86
  ),
 
 
 
 
 
87
  'wp-statistics-menu-todayvisitor' => array(
88
  'parent' => 'wp-statistic-menu',
89
  'title' => __('Today\'s Visitors', 'wp-statistics') . ": " . wp_statistics_visitor('today'),
100
  'parent' => 'wp-statistic-menu',
101
  'title' => __('Yesterday\'s Visits', 'wp-statistics') . ": " . wp_statistics_visit('yesterday')
102
  ),
103
+ 'wp-statistics-menu-page' => array(
104
  'parent' => 'wp-statistic-menu',
105
+ 'title' => sprintf('<img src="%s"/><span class="wps-admin-bar__chart__unlock-button">%s</span>',
106
+ WP_STATISTICS_URL . 'assets/images/mini-chart-admin-bar-preview.png',
107
+ __('Unlock Mini Chart!', 'wp-statistics'),
108
+ ),
109
+ 'href' => 'https://wp-statistics.com/product/wp-statistics-mini-chart?utm_source=wp_statistics&utm_medium=display&utm_campaign=wordpress',
110
+ 'meta' => [
111
+ 'target' => '_blank',
112
+ ],
113
  )
114
  );
115
 
116
  /**
117
  * WP-Statistics Admin Bar List
 
 
118
  */
119
+ $admin_bar_list = apply_filters('wp_statistics_admin_bar', $admin_bar_list, $object_id, $view_type);
120
 
121
  # Show Admin Bar
122
  foreach ($admin_bar_list as $id => $v_admin_bar) {
includes/class-wp-statistics-exclusion.php CHANGED
@@ -181,8 +181,9 @@ class Exclusion
181
  {
182
 
183
  if (Option::get('excluded_urls')) {
184
- $script = $_SERVER['REQUEST_URI'];
185
  $delimiter = strpos($script, '?');
 
186
  if ($delimiter > 0) {
187
  $script = substr($script, 0, $delimiter);
188
  }
181
  {
182
 
183
  if (Option::get('excluded_urls')) {
184
+ $script = sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI']));
185
  $delimiter = strpos($script, '?');
186
+
187
  if ($delimiter > 0) {
188
  $script = substr($script, 0, $delimiter);
189
  }
includes/class-wp-statistics-frontend.php CHANGED
@@ -45,7 +45,7 @@ class Frontend
45
  {
46
  if (Option::get('use_honeypot') && Option::get('honeypot_postid') > 0) {
47
  $post_url = get_permalink(Option::get('honeypot_postid'));
48
- echo '<a href="' . $post_url . '" style="display: none;">&nbsp;</a>';
49
  }
50
  }
51
 
45
  {
46
  if (Option::get('use_honeypot') && Option::get('honeypot_postid') > 0) {
47
  $post_url = get_permalink(Option::get('honeypot_postid'));
48
+ echo '<a href="' . esc_html($post_url) . '" style="display: none;">&nbsp;</a>';
49
  }
50
  }
51
 
includes/class-wp-statistics-helper.php CHANGED
@@ -98,10 +98,11 @@ class Helper
98
 
99
  // Check Native php
100
  $protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === false ? 'http' : 'https';
101
- $host = $_SERVER['HTTP_HOST'];
102
- $script = $_SERVER['SCRIPT_NAME'];
103
  $currentURL = $protocol . '://' . $host . $script;
104
  $loginURL = wp_login_url();
 
105
  if ($currentURL == $loginURL) {
106
  return true;
107
  }
@@ -110,7 +111,7 @@ class Helper
110
  }
111
 
112
  /**
113
- * Show Admin Wordpress Ui Notice
114
  *
115
  * @param $text
116
  * @param string $model
@@ -127,6 +128,7 @@ class Helper
127
  <div style="' . $style_extra . '">' . $text . '</div>
128
  </div>
129
  ';
 
130
  if ($echo) {
131
  echo $text;
132
  } else {
98
 
99
  // Check Native php
100
  $protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === false ? 'http' : 'https';
101
+ $host = sanitize_text_field(wp_unslash($_SERVER['HTTP_HOST']));
102
+ $script = sanitize_text_field(wp_unslash($_SERVER['SCRIPT_NAME']));
103
  $currentURL = $protocol . '://' . $host . $script;
104
  $loginURL = wp_login_url();
105
+
106
  if ($currentURL == $loginURL) {
107
  return true;
108
  }
111
  }
112
 
113
  /**
114
+ * Show Admin WordPress UI Notice
115
  *
116
  * @param $text
117
  * @param string $model
128
  <div style="' . $style_extra . '">' . $text . '</div>
129
  </div>
130
  ';
131
+
132
  if ($echo) {
133
  echo $text;
134
  } else {
includes/class-wp-statistics-install.php CHANGED
@@ -602,19 +602,22 @@ class Install
602
  $i++;
603
  }
604
 
605
- if ($_GET['number_all'] > $number_per_query) {
 
 
 
606
  # calculate number process
607
- $return['number_process'] = $_GET['number_all'] - ($number_process - $i);
608
 
609
  # Calculate Per
610
- $return['percentage'] = round(($return['number_process'] / $_GET['number_all']) * 100);
611
 
612
  # Set Process
613
  $return['process_status'] = 'incomplete';
614
 
615
  } else {
616
 
617
- $return['number_process'] = $_GET['number_all'];
618
  $return['percentage'] = 100;
619
  update_option('wp_statistics_update_page_type', 'yes');
620
  }
602
  $i++;
603
  }
604
 
605
+ # Sanitize the data
606
+ $number_all = sanitize_text_field($_GET['number_all']);
607
+
608
+ if ($number_all > $number_per_query) {
609
  # calculate number process
610
+ $return['number_process'] = $number_all - ($number_process - $i);
611
 
612
  # Calculate Per
613
+ $return['percentage'] = round(($return['number_process'] / $number_all) * 100);
614
 
615
  # Set Process
616
  $return['process_status'] = 'incomplete';
617
 
618
  } else {
619
 
620
+ $return['number_process'] = $number_all;
621
  $return['percentage'] = 100;
622
  update_option('wp_statistics_update_page_type', 'yes');
623
  }
includes/class-wp-statistics-menus.php CHANGED
@@ -97,7 +97,7 @@ class Menus
97
  {
98
  global $pagenow;
99
  if (is_admin() and $pagenow == "admin.php" and isset($_REQUEST['page'])) {
100
- $page_name = self::getPageKeyFromSlug($_REQUEST['page']);
101
  if (is_array($page_name) and count($page_name) > 0) {
102
  return true;
103
  }
97
  {
98
  global $pagenow;
99
  if (is_admin() and $pagenow == "admin.php" and isset($_REQUEST['page'])) {
100
+ $page_name = self::getPageKeyFromSlug(sanitize_text_field($_REQUEST['page']));
101
  if (is_array($page_name) and count($page_name) > 0) {
102
  return true;
103
  }
includes/class-wp-statistics-pages.php CHANGED
@@ -132,7 +132,7 @@ class Pages
132
  $home_uri_len = strlen($home_uri);
133
 
134
  // Get the current page URI.
135
- $page_uri = $_SERVER["REQUEST_URI"];
136
 
137
  /*
138
  * We need to check which URI is longer in case one contains the other.
132
  $home_uri_len = strlen($home_uri);
133
 
134
  // Get the current page URI.
135
+ $page_uri = sanitize_text_field(wp_unslash($_SERVER["REQUEST_URI"]));
136
 
137
  /*
138
  * We need to check which URI is longer in case one contains the other.
includes/class-wp-statistics-referred.php CHANGED
@@ -41,7 +41,7 @@ class Referred
41
  */
42
  public static function getRefererURL()
43
  {
44
- return (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '');
45
  }
46
 
47
  /**
41
  */
42
  public static function getRefererURL()
43
  {
44
+ return (isset($_SERVER['HTTP_REFERER']) ? sanitize_text_field(wp_unslash($_SERVER['HTTP_REFERER'])) : '');
45
  }
46
 
47
  /**
includes/class-wp-statistics-widget.php CHANGED
@@ -250,68 +250,64 @@ class WP_Statistics_Widget extends \WP_Widget
250
  {
251
  $widget_options = WP_STATISTICS\Option::get('widget');
252
 
253
- if (!is_array($widget_options)) {
254
- return;
255
- }
256
-
257
  ?>
258
  <p>
259
  <label for="name_widget"><?php _e('Name', 'wp-statistics'); ?>:
260
- <input id="name_widget" name="<?php echo $this->get_field_name('name_widget'); ?>" type="text" value="<?php echo esc_attr($widget_options['name_widget']); ?>"/>
261
  </label>
262
  </p>
263
 
264
  <?php _e('Items', 'wp-statistics'); ?>:<br/>
265
  <ul>
266
  <li>
267
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('useronline_widget')); ?>" name="<?php echo $this->get_field_name('useronline_widget'); ?>" <?php checked('on', $widget_options['useronline_widget']); ?>/>
268
  <label for="<?php echo esc_attr($this->get_field_id('useronline_widget')); ?>"><?php _e('Online Users', 'wp-statistics'); ?></label>
269
  </li>
270
  <li>
271
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tvisit_widget')); ?>" name="<?php echo $this->get_field_name('tvisit_widget'); ?>" <?php checked('on', $widget_options['tvisit_widget']); ?>/>
272
  <label for="<?php echo esc_attr($this->get_field_id('tvisit_widget')); ?>"><?php _e('Today\'s Visits', 'wp-statistics'); ?></label>
273
  </li>
274
  <li>
275
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tvisitor_widget')); ?>" name="<?php echo $this->get_field_name('tvisitor_widget'); ?>" <?php checked('on', $widget_options['tvisitor_widget']); ?>/>
276
  <label for="<?php echo esc_attr($this->get_field_id('tvisitor_widget')); ?>"><?php _e('Today\'s Visitors', 'wp-statistics'); ?></label>
277
  </li>
278
  <li>
279
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('yvisit_widget')); ?>" name="<?php echo $this->get_field_name('yvisit_widget'); ?>" <?php checked('on', $widget_options['yvisit_widget']); ?>/>
280
  <label for="<?php echo esc_attr($this->get_field_id('yvisit_widget')); ?>"><?php _e('Yesterday\'s Visits', 'wp-statistics'); ?></label>
281
  </li>
282
  <li>
283
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('yvisitor_widget')); ?>" name="<?php echo $this->get_field_name('yvisitor_widget'); ?>" <?php checked('on', $widget_options['yvisitor_widget']); ?>/>
284
  <label for="<?php echo esc_attr($this->get_field_id('yvisitor_widget')); ?>"><?php _e('Yesterday\'s Visitors', 'wp-statistics'); ?></label>
285
  </li>
286
  <li>
287
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('wvisit_widget')); ?>" name="<?php echo $this->get_field_name('wvisit_widget'); ?>" <?php checked('on', $widget_options['wvisit_widget']); ?>/>
288
  <label for="<?php echo esc_attr($this->get_field_id('wvisit_widget')); ?>"><?php _e('Last 7 Days Visits', 'wp-statistics'); ?></label>
289
  </li>
290
  <li>
291
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('mvisit_widget')); ?>" name="<?php echo $this->get_field_name('mvisit_widget'); ?>" <?php checked('on', $widget_options['mvisit_widget']); ?>/>
292
  <label for="<?php echo esc_attr($this->get_field_id('mvisit_widget')); ?>"><?php _e('Last 30 Days Visits', 'wp-statistics'); ?></label>
293
  </li>
294
  <li>
295
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ysvisit_widget')); ?>" name="<?php echo $this->get_field_name('ysvisit_widget'); ?>" <?php checked('on', $widget_options['ysvisit_widget']); ?>/>
296
  <label for="<?php echo esc_attr($this->get_field_id('ysvisit_widget')); ?>"><?php _e('Last 365 Days Visits', 'wp-statistics'); ?></label>
297
  </li>
298
  <li>
299
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ttvisit_widget')); ?>" name="<?php echo $this->get_field_name('ttvisit_widget'); ?>" <?php checked('on', $widget_options['ttvisit_widget']); ?>/>
300
  <label for="<?php echo esc_attr($this->get_field_id('ttvisit_widget')); ?>"><?php _e('Total Visits', 'wp-statistics'); ?></label>
301
  </li>
302
  <li>
303
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ttvisitor_widget')); ?>" name="<?php echo $this->get_field_name('ttvisitor_widget'); ?>" <?php checked('on', $widget_options['ttvisitor_widget']); ?>/>
304
  <label for="<?php echo esc_attr($this->get_field_id('ttvisitor_widget')); ?>"><?php _e('Total Visitors', 'wp-statistics'); ?></label>
305
  </li>
306
  <li>
307
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tpviews_widget')); ?>" name="<?php echo $this->get_field_name('tpviews_widget'); ?>" <?php checked('on', $widget_options['tpviews_widget']); ?>/>
308
  <label for="<?php echo esc_attr($this->get_field_id('tpviews_widget')); ?>"><?php _e('Total Page Views', 'wp-statistics'); ?></label>
309
  </li>
310
  <li>
311
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ser_widget')); ?>" class="ser_widget" name="<?php echo $this->get_field_name('ser_widget'); ?>" <?php checked('on', $widget_options['ser_widget']); ?>/>
312
  <label for="<?php echo esc_attr($this->get_field_id('ser_widget')); ?>"><?php _e('Search Engine Referrals', 'wp-statistics'); ?></label>
313
 
314
- <p id="ser_option" style="<?php if (!$widget_options['ser_widget']) {
315
  echo "display: none;";
316
  } ?>">
317
  <?php _e('Select type of search engine', 'wp-statistics'); ?>:<br/>
@@ -319,51 +315,51 @@ class WP_Statistics_Widget extends \WP_Widget
319
  $search_engines = WP_STATISTICS\SearchEngine::getList();
320
 
321
  foreach ($search_engines as $se) {
322
- echo '<input type="radio" id="select_' . $se['tag'] . '" name="select_se" value="' . $se['tag'] . '" ';
323
- checked($se['tag'], $widget_options['select_se']);
324
  echo "/>\n";
325
- echo '<label for="' . $se['name'] . '">' . $se['translated'] . "</label>\n";
326
  echo "\n";
327
  }
328
  ?>
329
- <input type="radio" id="select_all" name="select_se" value="all" <?php checked('all', $widget_options['select_se']); ?>/>
330
  <label for="select_all"><?php _e('All', 'wp-statistics'); ?></label>
331
  </p>
332
  </li>
333
  <li>
334
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tp_widget')); ?>" name="<?php echo $this->get_field_name('tp_widget'); ?>" <?php checked('on', $widget_options['tp_widget']); ?>/>
335
  <label for="<?php echo esc_attr($this->get_field_id('tp_widget')); ?>"><?php _e('Total Posts', 'wp-statistics'); ?></label>
336
  </li>
337
  <li>
338
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tpg_widget')); ?>" name="<?php echo $this->get_field_name('tpg_widget'); ?>" <?php checked('on', $widget_options['tpg_widget']); ?>/>
339
  <label for="<?php echo esc_attr($this->get_field_id('tpg_widget')); ?>"><?php _e('Total Pages', 'wp-statistics'); ?></label>
340
  </li>
341
  <li>
342
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tc_widget')); ?>" name="<?php echo $this->get_field_name('tc_widget'); ?>" <?php checked('on', $widget_options['tc_widget']); ?>/>
343
  <label for="<?php echo esc_attr($this->get_field_id('tc_widget')); ?>"><?php _e('Total Comments', 'wp-statistics'); ?></label>
344
  </li>
345
  <li>
346
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ts_widget')); ?>" name="<?php echo $this->get_field_name('ts_widget'); ?>" <?php checked('on', $widget_options['ts_widget']); ?>/>
347
  <label for="<?php echo esc_attr($this->get_field_id('ts_widget')); ?>"><?php _e('Total Spams', 'wp-statistics'); ?></label>
348
  </li>
349
  <li>
350
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tu_widget')); ?>" name="<?php echo $this->get_field_name('tu_widget'); ?>" <?php checked('on', $widget_options['tu_widget']); ?>/>
351
  <label for="<?php echo esc_attr($this->get_field_id('tu_widget')); ?>"><?php _e('Total Users', 'wp-statistics'); ?></label>
352
  </li>
353
  <li>
354
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ap_widget')); ?>" name="<?php echo $this->get_field_name('ap_widget'); ?>" <?php checked('on', $widget_options['ap_widget']); ?>/>
355
  <label for="<?php echo esc_attr($this->get_field_id('ap_widget')); ?>"><?php _e('Post Average', 'wp-statistics'); ?></label>
356
  </li>
357
  <li>
358
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ac_widget')); ?>" name="<?php echo $this->get_field_name('ac_widget'); ?>" <?php checked('on', $widget_options['ac_widget']); ?>/>
359
  <label for="<?php echo esc_attr($this->get_field_id('ac_widget')); ?>"><?php _e('Comment Average', 'wp-statistics'); ?></label>
360
  </li>
361
  <li>
362
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('au_widget')); ?>" name="<?php echo $this->get_field_name('au_widget'); ?>" <?php checked('on', $widget_options['au_widget']); ?>/>
363
  <label for="<?php echo esc_attr($this->get_field_id('au_widget')); ?>"><?php _e('User Average', 'wp-statistics'); ?></label>
364
  </li>
365
  <li>
366
- <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('lpd_widget')); ?>" class="lpd_widget" name="<?php echo $this->get_field_name('lpd_widget'); ?>" <?php checked('on', $widget_options['lpd_widget']); ?>/>
367
  <label for="<?php echo esc_attr($this->get_field_id('lpd_widget')); ?>"><?php _e('Last Post Date', 'wp-statistics'); ?></label>
368
  </li>
369
  </ul>
250
  {
251
  $widget_options = WP_STATISTICS\Option::get('widget');
252
 
 
 
 
 
253
  ?>
254
  <p>
255
  <label for="name_widget"><?php _e('Name', 'wp-statistics'); ?>:
256
+ <input id="name_widget" name="<?php echo $this->get_field_name('name_widget'); ?>" type="text" value="<?php if (isset($widget_options['name_widget'])) echo esc_attr($widget_options['name_widget']); ?>"/>
257
  </label>
258
  </p>
259
 
260
  <?php _e('Items', 'wp-statistics'); ?>:<br/>
261
  <ul>
262
  <li>
263
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('useronline_widget')); ?>" name="<?php echo $this->get_field_name('useronline_widget'); ?>" <?php if (isset($widget_options['useronline_widget'])) checked('on', $widget_options['useronline_widget']); ?>/>
264
  <label for="<?php echo esc_attr($this->get_field_id('useronline_widget')); ?>"><?php _e('Online Users', 'wp-statistics'); ?></label>
265
  </li>
266
  <li>
267
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tvisit_widget')); ?>" name="<?php echo $this->get_field_name('tvisit_widget'); ?>" <?php if (isset($widget_options['tvisit_widget'])) checked('on', $widget_options['tvisit_widget']); ?>/>
268
  <label for="<?php echo esc_attr($this->get_field_id('tvisit_widget')); ?>"><?php _e('Today\'s Visits', 'wp-statistics'); ?></label>
269
  </li>
270
  <li>
271
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tvisitor_widget')); ?>" name="<?php echo $this->get_field_name('tvisitor_widget'); ?>" <?php if (isset($widget_options['tvisitor_widget'])) checked('on', $widget_options['tvisitor_widget']); ?>/>
272
  <label for="<?php echo esc_attr($this->get_field_id('tvisitor_widget')); ?>"><?php _e('Today\'s Visitors', 'wp-statistics'); ?></label>
273
  </li>
274
  <li>
275
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('yvisit_widget')); ?>" name="<?php echo $this->get_field_name('yvisit_widget'); ?>" <?php if (isset($widget_options['yvisit_widget'])) checked('on', $widget_options['yvisit_widget']); ?>/>
276
  <label for="<?php echo esc_attr($this->get_field_id('yvisit_widget')); ?>"><?php _e('Yesterday\'s Visits', 'wp-statistics'); ?></label>
277
  </li>
278
  <li>
279
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('yvisitor_widget')); ?>" name="<?php echo $this->get_field_name('yvisitor_widget'); ?>" <?php if(isset($widget_options['yvisitor_widget'])) checked('on', $widget_options['yvisitor_widget']); ?>/>
280
  <label for="<?php echo esc_attr($this->get_field_id('yvisitor_widget')); ?>"><?php _e('Yesterday\'s Visitors', 'wp-statistics'); ?></label>
281
  </li>
282
  <li>
283
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('wvisit_widget')); ?>" name="<?php echo $this->get_field_name('wvisit_widget'); ?>" <?php if(isset($widget_options['wvisit_widget'])) checked('on', $widget_options['wvisit_widget']); ?>/>
284
  <label for="<?php echo esc_attr($this->get_field_id('wvisit_widget')); ?>"><?php _e('Last 7 Days Visits', 'wp-statistics'); ?></label>
285
  </li>
286
  <li>
287
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('mvisit_widget')); ?>" name="<?php echo $this->get_field_name('mvisit_widget'); ?>" <?php if(isset($widget_options['mvisit_widget'])) checked('on', $widget_options['mvisit_widget']); ?>/>
288
  <label for="<?php echo esc_attr($this->get_field_id('mvisit_widget')); ?>"><?php _e('Last 30 Days Visits', 'wp-statistics'); ?></label>
289
  </li>
290
  <li>
291
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ysvisit_widget')); ?>" name="<?php echo $this->get_field_name('ysvisit_widget'); ?>" <?php if(isset($widget_options['ysvisit_widget'])) checked('on', $widget_options['ysvisit_widget']); ?>/>
292
  <label for="<?php echo esc_attr($this->get_field_id('ysvisit_widget')); ?>"><?php _e('Last 365 Days Visits', 'wp-statistics'); ?></label>
293
  </li>
294
  <li>
295
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ttvisit_widget')); ?>" name="<?php echo $this->get_field_name('ttvisit_widget'); ?>" <?php if(isset($widget_options['ttvisit_widget'])) checked('on', $widget_options['ttvisit_widget']); ?>/>
296
  <label for="<?php echo esc_attr($this->get_field_id('ttvisit_widget')); ?>"><?php _e('Total Visits', 'wp-statistics'); ?></label>
297
  </li>
298
  <li>
299
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ttvisitor_widget')); ?>" name="<?php echo $this->get_field_name('ttvisitor_widget'); ?>" <?php if(isset($widget_options['ttvisitor_widget'])) checked('on', $widget_options['ttvisitor_widget']); ?>/>
300
  <label for="<?php echo esc_attr($this->get_field_id('ttvisitor_widget')); ?>"><?php _e('Total Visitors', 'wp-statistics'); ?></label>
301
  </li>
302
  <li>
303
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tpviews_widget')); ?>" name="<?php echo $this->get_field_name('tpviews_widget'); ?>" <?php if(isset($widget_options['tpviews_widget'])) checked('on', $widget_options['tpviews_widget']); ?>/>
304
  <label for="<?php echo esc_attr($this->get_field_id('tpviews_widget')); ?>"><?php _e('Total Page Views', 'wp-statistics'); ?></label>
305
  </li>
306
  <li>
307
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ser_widget')); ?>" class="ser_widget" name="<?php echo $this->get_field_name('ser_widget'); ?>" <?php if(isset($widget_options['ser_widget'])) checked('on', $widget_options['ser_widget']); ?>/>
308
  <label for="<?php echo esc_attr($this->get_field_id('ser_widget')); ?>"><?php _e('Search Engine Referrals', 'wp-statistics'); ?></label>
309
 
310
+ <p id="ser_option" style="<?php if (isset($widget_options['ser_widget']) and !$widget_options['ser_widget']) {
311
  echo "display: none;";
312
  } ?>">
313
  <?php _e('Select type of search engine', 'wp-statistics'); ?>:<br/>
315
  $search_engines = WP_STATISTICS\SearchEngine::getList();
316
 
317
  foreach ($search_engines as $se) {
318
+ echo '<input type="radio" id="select_' . esc_html($se['tag']) . '" name="select_se" value="' . esc_html($se['tag']) . '" ';
319
+ if (isset($widget_options['select_se'])) checked($se['tag'], $widget_options['select_se']);
320
  echo "/>\n";
321
+ echo '<label for="' . esc_html($se['name']) . '">' . esc_html($se['translated']) . "</label>\n";
322
  echo "\n";
323
  }
324
  ?>
325
+ <input type="radio" id="select_all" name="select_se" value="all" <?php if (isset($widget_options['select_se'])) checked('all', $widget_options['select_se']); ?>/>
326
  <label for="select_all"><?php _e('All', 'wp-statistics'); ?></label>
327
  </p>
328
  </li>
329
  <li>
330
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tp_widget')); ?>" name="<?php echo $this->get_field_name('tp_widget'); ?>" <?php if (isset($widget_options['tp_widget'])) checked('on', $widget_options['tp_widget']); ?>/>
331
  <label for="<?php echo esc_attr($this->get_field_id('tp_widget')); ?>"><?php _e('Total Posts', 'wp-statistics'); ?></label>
332
  </li>
333
  <li>
334
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tpg_widget')); ?>" name="<?php echo $this->get_field_name('tpg_widget'); ?>" <?php if (isset($widget_options['tpg_widget'])) checked('on', $widget_options['tpg_widget']); ?>/>
335
  <label for="<?php echo esc_attr($this->get_field_id('tpg_widget')); ?>"><?php _e('Total Pages', 'wp-statistics'); ?></label>
336
  </li>
337
  <li>
338
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tc_widget')); ?>" name="<?php echo $this->get_field_name('tc_widget'); ?>" <?php if (isset($widget_options['tc_widget'])) checked('on', $widget_options['tc_widget']); ?>/>
339
  <label for="<?php echo esc_attr($this->get_field_id('tc_widget')); ?>"><?php _e('Total Comments', 'wp-statistics'); ?></label>
340
  </li>
341
  <li>
342
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ts_widget')); ?>" name="<?php echo $this->get_field_name('ts_widget'); ?>" <?php if (isset($widget_options['ts_widget'])) checked('on', $widget_options['ts_widget']); ?>/>
343
  <label for="<?php echo esc_attr($this->get_field_id('ts_widget')); ?>"><?php _e('Total Spams', 'wp-statistics'); ?></label>
344
  </li>
345
  <li>
346
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('tu_widget')); ?>" name="<?php echo $this->get_field_name('tu_widget'); ?>" <?php if (isset($widget_options['tu_widget'])) checked('on', $widget_options['tu_widget']); ?>/>
347
  <label for="<?php echo esc_attr($this->get_field_id('tu_widget')); ?>"><?php _e('Total Users', 'wp-statistics'); ?></label>
348
  </li>
349
  <li>
350
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ap_widget')); ?>" name="<?php echo $this->get_field_name('ap_widget'); ?>" <?php if (isset($widget_options['ap_widget'])) checked('on', $widget_options['ap_widget']); ?>/>
351
  <label for="<?php echo esc_attr($this->get_field_id('ap_widget')); ?>"><?php _e('Post Average', 'wp-statistics'); ?></label>
352
  </li>
353
  <li>
354
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('ac_widget')); ?>" name="<?php echo $this->get_field_name('ac_widget'); ?>" <?php if (isset($widget_options['ac_widget'])) checked('on', $widget_options['ac_widget']); ?>/>
355
  <label for="<?php echo esc_attr($this->get_field_id('ac_widget')); ?>"><?php _e('Comment Average', 'wp-statistics'); ?></label>
356
  </li>
357
  <li>
358
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('au_widget')); ?>" name="<?php echo $this->get_field_name('au_widget'); ?>" <?php if (isset($widget_options['au_widget'])) checked('on', $widget_options['au_widget']); ?>/>
359
  <label for="<?php echo esc_attr($this->get_field_id('au_widget')); ?>"><?php _e('User Average', 'wp-statistics'); ?></label>
360
  </li>
361
  <li>
362
+ <input type="checkbox" id="<?php echo esc_attr($this->get_field_id('lpd_widget')); ?>" class="lpd_widget" name="<?php echo $this->get_field_name('lpd_widget'); ?>" <?php if (isset($widget_options['lpd_widget'])) checked('on', $widget_options['lpd_widget']); ?>/>
363
  <label for="<?php echo esc_attr($this->get_field_id('lpd_widget')); ?>"><?php _e('Last Post Date', 'wp-statistics'); ?></label>
364
  </li>
365
  </ul>
includes/class-wp-statistics.php CHANGED
@@ -160,11 +160,13 @@ final class WP_Statistics
160
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-exclusion.php';
161
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-hits.php';
162
 
 
 
 
163
  // Admin classes
164
  if (is_admin()) {
165
 
166
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-install.php';
167
- require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-template.php';
168
  require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-ajax.php';
169
  require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-dashboard.php';
170
  require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-export.php';
160
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-exclusion.php';
161
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-hits.php';
162
 
163
+ // Ajax area
164
+ require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-template.php';
165
+
166
  // Admin classes
167
  if (is_admin()) {
168
 
169
  require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-install.php';
 
170
  require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-ajax.php';
171
  require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-dashboard.php';
172
  require_once WP_STATISTICS_DIR . 'includes/admin/class-wp-statistics-admin-export.php';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wp-statistics.com/donate/
4
  Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
5
  Requires at least: 3.0
6
  Tested up to: 5.9
7
- Stable tag: 13.1.7
8
  Requires PHP: 5.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -123,9 +123,22 @@ Welcome to WP-Statistics v13.0, our biggest update!
123
  Thank you for being part of our community. We’ve been working hard for one year to develop this version and make WP-Statistics better for you.
124
  Before updating, make sure you disabled all your add-ons, then after that, try to update add-ons.
125
 
126
- If you encounter any bug, please create an issue on [Github](https://github.com/wp-statistics/wp-statistics/issues/new) where we can act upon them more efficiently. Since [Github](https://github.com/wp-statistics/wp-statistics) is not a support forum, just bugs are welcomed, and any other request will be closed.
127
 
128
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  = v13.1.7 - 18.03.2022 =
130
  * Update: Chart.js library updated to v3.7.1
131
  * Update: New filter `wp_statistics_cache_status` has been added
4
  Tags: analytics, wordpress analytics, stats, statistics, visit, visitors, hits, chart, browser, today, yesterday, week, month, year, total, post, page, sidebar, google, live visit, search word, agent, google analytics, webmasters, google webmasters, geoip, location
5
  Requires at least: 3.0
6
  Tested up to: 5.9
7
+ Stable tag: 13.2.0
8
  Requires PHP: 5.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
123
  Thank you for being part of our community. We’ve been working hard for one year to develop this version and make WP-Statistics better for you.
124
  Before updating, make sure you disabled all your add-ons, then after that, try to update add-ons.
125
 
126
+ If you encounter any bug, please create an issue on [GitHub](https://github.com/wp-statistics/wp-statistics/issues/new) where we can act upon them more efficiently. Since [GitHub](https://github.com/wp-statistics/wp-statistics) is not a support forum, just bugs are welcomed, and any other request will be closed.
127
 
128
  == Changelog ==
129
+ = v13.2.0 - 25.04.2022 =
130
+ * Enhancement: The admin bar statistical is smarter and shows the Hits based on the current page, category, tag, author, etc.
131
+ * Enhancement: The number of page hits in the render hit column has been improvement
132
+ * Enhancement: The ChartJs is more user-friendly
133
+ * Enhancement: The render column has been updated
134
+ * Enhancement: The Hits in publish Metabox has been improvement
135
+ * Update: The Hits column added in all visitor's table.
136
+ * Update: Styles and assets
137
+ * Update: Increase showing statistical items per page up to 25
138
+ * Update: GeoIP City & Countries Databases has been updated to the latest version
139
+ * Bugfix: Hardened plugin security and improvement
140
+ * Bugfix: Showing the widget form bug has been fixed
141
+
142
  = v13.1.7 - 18.03.2022 =
143
  * Update: Chart.js library updated to v3.7.1
144
  * Update: New filter `wp_statistics_cache_status` has been added
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: This plugin gives you the complete information on your website's visitors.
6
- * Version: 13.1.7
7
  * Author: VeronaLabs
8
  * Author URI: https://veronalabs.com/
9
  * Text Domain: wp-statistics
3
  * Plugin Name: WP Statistics
4
  * Plugin URI: https://wp-statistics.com/
5
  * Description: This plugin gives you the complete information on your website's visitors.
6
+ * Version: 13.2.0
7
  * Author: VeronaLabs
8
  * Author URI: https://veronalabs.com/
9
  * Text Domain: wp-statistics