Google Maps Easy - Version 1.11.1

Version Description

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Google Maps Easy
Version 1.11.1
Comparing to
See all releases

Code changes from version 1.11.0 to 1.11.1

assets/lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-borderless.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tooltipster-sidetip.tooltipster-borderless .tooltipster-box{border:none;background:#1b1b1b;background:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow{height:8px;margin-left:-8px;width:16px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow{height:16px;margin-left:0;margin-top:-8px;width:8px}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow-border{border:8px solid transparent}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#1b1b1b;border-bottom-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-arrow-border{border-left-color:#1b1b1b;border-left-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow-border{border-right-color:#1b1b1b;border-right-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-top .tooltipster-arrow-border{border-top-color:#1b1b1b;border-top-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-arrow-uncropped{top:-8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow-uncropped{left:-8px}
assets/lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tooltipster-sidetip.tooltipster-light .tooltipster-box{border-radius:3px;border:1px solid #ccc;background:#ededed}.tooltipster-sidetip.tooltipster-light .tooltipster-content{color:#666}.tooltipster-sidetip.tooltipster-light .tooltipster-arrow{height:9px;margin-left:-9px;width:18px}.tooltipster-sidetip.tooltipster-light.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow{height:18px;margin-left:0;margin-top:-9px;width:9px}.tooltipster-sidetip.tooltipster-light .tooltipster-arrow-background{border:9px solid transparent}.tooltipster-sidetip.tooltipster-light.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#ededed;top:1px}.tooltipster-sidetip.tooltipster-light.tooltipster-left .tooltipster-arrow-background{border-left-color:#ededed;left:-1px}.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow-background{border-right-color:#ededed;left:1px}.tooltipster-sidetip.tooltipster-light.tooltipster-top .tooltipster-arrow-background{border-top-color:#ededed;top:-1px}.tooltipster-sidetip.tooltipster-light .tooltipster-arrow-border{border:9px solid transparent}.tooltipster-sidetip.tooltipster-light.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-left .tooltipster-arrow-border{border-left-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow-border{border-right-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-top .tooltipster-arrow-border{border-top-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-bottom .tooltipster-arrow-uncropped{top:-9px}.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow-uncropped{left:-9px}
assets/lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-noir.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tooltipster-sidetip.tooltipster-noir .tooltipster-box{border-radius:0;border:3px solid #000;background:#fff}.tooltipster-sidetip.tooltipster-noir .tooltipster-content{color:#000}.tooltipster-sidetip.tooltipster-noir .tooltipster-arrow{height:11px;margin-left:-11px;width:22px}.tooltipster-sidetip.tooltipster-noir.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow{height:22px;margin-left:0;margin-top:-11px;width:11px}.tooltipster-sidetip.tooltipster-noir .tooltipster-arrow-background{border:11px solid transparent}.tooltipster-sidetip.tooltipster-noir.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#fff;top:4px}.tooltipster-sidetip.tooltipster-noir.tooltipster-left .tooltipster-arrow-background{border-left-color:#fff;left:-4px}.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow-background{border-right-color:#fff;left:4px}.tooltipster-sidetip.tooltipster-noir.tooltipster-top .tooltipster-arrow-background{border-top-color:#fff;top:-4px}.tooltipster-sidetip.tooltipster-noir .tooltipster-arrow-border{border-width:11px}.tooltipster-sidetip.tooltipster-noir.tooltipster-bottom .tooltipster-arrow-uncropped{top:-11px}.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow-uncropped{left:-11px}
assets/lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tooltipster-sidetip.tooltipster-punk .tooltipster-box{border-radius:5px;border:none;border-bottom:3px solid #f71169;background:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-top .tooltipster-box{margin-bottom:7px}.tooltipster-sidetip.tooltipster-punk .tooltipster-content{color:#fff;padding:8px 16px}.tooltipster-sidetip.tooltipster-punk .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-punk.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-left .tooltipster-arrow-border{border-left-color:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-right .tooltipster-arrow-border{border-right-color:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-top .tooltipster-arrow-border{border-top-color:#f71169}
assets/lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tooltipster-sidetip.tooltipster-shadow .tooltipster-box{border:none;border-radius:5px;background:#fff;box-shadow:0 0 10px 6px rgba(0,0,0,.1)}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom .tooltipster-box{margin-top:6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left .tooltipster-box{margin-right:6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-box{margin-left:6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-top .tooltipster-box{margin-bottom:6px}.tooltipster-sidetip.tooltipster-shadow .tooltipster-content{color:#8d8d8d}.tooltipster-sidetip.tooltipster-shadow .tooltipster-arrow{height:6px;margin-left:-6px;width:12px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-arrow{height:12px;margin-left:0;margin-top:-6px;width:6px}.tooltipster-sidetip.tooltipster-shadow .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-shadow .tooltipster-arrow-border{border:6px solid transparent}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left .tooltipster-arrow-border{border-left-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-arrow-border{border-right-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-top .tooltipster-arrow-border{border-top-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom .tooltipster-arrow-uncropped{top:-6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-arrow-uncropped{left:-6px}
assets/lib/tooltipster/dist/css/tooltipster.bundle.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tooltipster-fall,.tooltipster-grow.tooltipster-show{-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-base{display:flex;pointer-events:none;position:absolute}.tooltipster-box{flex:1 1 auto}.tooltipster-content{box-sizing:border-box;max-height:100%;max-width:100%;overflow:auto}.tooltipster-ruler{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;visibility:hidden}.tooltipster-fade{opacity:0;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;-ms-transition-property:opacity;transition-property:opacity}.tooltipster-fade.tooltipster-show{opacity:1}.tooltipster-grow{-webkit-transform:scale(0,0);-moz-transform:scale(0,0);-o-transform:scale(0,0);-ms-transform:scale(0,0);transform:scale(0,0);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-backface-visibility:hidden}.tooltipster-grow.tooltipster-show{-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1);-ms-transform:scale(1,1);transform:scale(1,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-swing{opacity:0;-webkit-transform:rotateZ(4deg);-moz-transform:rotateZ(4deg);-o-transform:rotateZ(4deg);-ms-transform:rotateZ(4deg);transform:rotateZ(4deg);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform}.tooltipster-swing.tooltipster-show{opacity:1;-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-o-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,1);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-moz-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-ms-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-o-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);transition-timing-function:cubic-bezier(.23,.635,.495,2.4)}.tooltipster-fall{-webkit-transition-property:top;-moz-transition-property:top;-o-transition-property:top;-ms-transition-property:top;transition-property:top;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-fall.tooltipster-initial{top:0!important}.tooltipster-fall.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;top:0!important;opacity:0}.tooltipster-slide{-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;-ms-transition-property:left;transition-property:left;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-slide.tooltipster-initial{left:-40px!important}.tooltipster-slide.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;left:0!important;opacity:0}@keyframes tooltipster-fading{0%{opacity:0}100%{opacity:1}}.tooltipster-update-fade{animation:tooltipster-fading .4s}@keyframes tooltipster-rotating{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}100%{transform:rotate(0)}}.tooltipster-update-rotate{animation:tooltipster-rotating .6s}@keyframes tooltipster-scaling{50%{transform:scale(1.1)}100%{transform:scale(1)}}.tooltipster-update-scale{animation:tooltipster-scaling .6s}.tooltipster-sidetip .tooltipster-box{background:#565656;border:2px solid #000;border-radius:4px}.tooltipster-sidetip.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip .tooltipster-content{color:#fff;line-height:18px;padding:6px 14px}.tooltipster-sidetip .tooltipster-arrow{overflow:hidden;position:absolute}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{height:10px;margin-left:-10px;top:0;width:20px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow{height:20px;margin-top:-10px;right:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{height:20px;margin-top:-10px;left:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:0;height:10px;margin-left:-10px;width:20px}.tooltipster-sidetip .tooltipster-arrow-background,.tooltipster-sidetip .tooltipster-arrow-border{height:0;position:absolute;width:0}.tooltipster-sidetip .tooltipster-arrow-background{border:10px solid transparent}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#565656;left:0;top:3px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-left-color:#565656;left:-3px;top:0}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-right-color:#565656;left:3px;top:0}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-top-color:#565656;left:0;top:-3px}.tooltipster-sidetip .tooltipster-arrow-border{border:10px solid transparent;left:0;top:0}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#000}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{border-left-color:#000}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{border-right-color:#000}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{border-top-color:#000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped{top:-10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped{left:-10px}
assets/lib/tooltipster/dist/js/plugins/tooltipster/SVG/tooltipster-SVG.js ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd) {
3
+ // AMD. Register as an anonymous module unless amdModuleId is set
4
+ define(["tooltipster"], function (a0) {
5
+ return (factory(a0));
6
+ });
7
+ } else if (typeof exports === 'object') {
8
+ // Node. Does not work with strict CommonJS, but
9
+ // only CommonJS-like environments that support module.exports,
10
+ // like Node.
11
+ module.exports = factory(require("tooltipster"));
12
+ } else {
13
+ factory(jQuery);
14
+ }
15
+ }(this, function ($) {
16
+
17
+ (function (root, factory) {
18
+ if (typeof define === 'function' && define.amd) {
19
+ // AMD. Register as an anonymous module unless amdModuleId is set
20
+ define(["jquery"], function (a0) {
21
+ return (factory(a0));
22
+ });
23
+ } else if (typeof exports === 'object') {
24
+ // Node. Does not work with strict CommonJS, but
25
+ // only CommonJS-like environments that support module.exports,
26
+ // like Node.
27
+ module.exports = factory(require("jquery"));
28
+ } else {
29
+ factory(jQuery);
30
+ }
31
+ }(this, function ($) {
32
+
33
+ var pluginName = 'tooltipster.SVG';
34
+
35
+ $.tooltipster._plugin({
36
+ name: pluginName,
37
+ core: {
38
+ __init: function() {
39
+
40
+ $.tooltipster._on('init', function(event) {
41
+
42
+ var win = $.tooltipster._env.window;
43
+
44
+ if ( win.SVGElement
45
+ && event.origin instanceof win.SVGElement
46
+ ) {
47
+
48
+ // auto-activation of the plugin on the instance
49
+ event.instance._plug(pluginName);
50
+ }
51
+ });
52
+ }
53
+ },
54
+ instance: {
55
+ __init: function(instance) {
56
+
57
+ var self = this;
58
+
59
+ //list of instance variables
60
+ self.__hadTitleTag = false;
61
+ self.__instance = instance;
62
+
63
+ // jQuery < v3.0's addClass and hasClass do not work on SVG elements.
64
+ // However, $('.tooltipstered') does find elements having the class.
65
+ if (!self.__instance._$origin.hasClass('tooltipstered')) {
66
+
67
+ var c = self.__instance._$origin.attr('class') || '';
68
+
69
+ if (c.indexOf('tooltipstered') == -1) {
70
+ self.__instance._$origin.attr('class', c + ' tooltipstered');
71
+ }
72
+ }
73
+
74
+ // if there is no content yet, let's look for a <title> child element
75
+ if (self.__instance.content() === null) {
76
+
77
+ // TODO: when there are several <title> tags (not supported in
78
+ // today's browsers yet though, still an RFC draft), pick the right
79
+ // one based on its "lang" attribute
80
+ var $title = self.__instance._$origin.find('>title');
81
+
82
+ if ($title[0]) {
83
+
84
+ var title = $title.text();
85
+
86
+ self.__hadTitleTag = true;
87
+ self.__instance._$origin.data('tooltipster-initialTitle', title);
88
+ self.__instance.content(title);
89
+
90
+ $title.remove();
91
+ }
92
+ }
93
+
94
+ // rectify the geometry if SVG.js and its screenBBox plugin have been included
95
+ self.__instance
96
+ ._on('geometry.'+ self.namespace, function(event) {
97
+
98
+ var win = $.tooltipster._env.window;
99
+
100
+ // SVG coordinates may need fixing but we need svg.screenbox.js
101
+ // to provide it. SVGElement is IE8+
102
+ if (win.SVG.svgjs) {
103
+
104
+ if (!win.SVG.parser) {
105
+ win.SVG.prepare();
106
+ }
107
+
108
+ var svgEl = win.SVG.adopt(event.origin);
109
+
110
+ // not all figures need (and have) screenBBox
111
+ if (svgEl && svgEl.screenBBox) {
112
+
113
+ var bbox = svgEl.screenBBox();
114
+
115
+ event.edit({
116
+ height: bbox.height,
117
+ left: bbox.x,
118
+ top: bbox.y,
119
+ width: bbox.width
120
+ });
121
+ }
122
+ }
123
+ })
124
+ // if jQuery < v3.0, we have to remove the class ourselves
125
+ ._on('destroy.'+ self.namespace, function() {
126
+ self.__destroy();
127
+ });
128
+ },
129
+
130
+ __destroy: function() {
131
+
132
+ var self = this;
133
+
134
+ if (!self.__instance._$origin.hasClass('tooltipstered')) {
135
+ var c = self.__instance._$origin.attr('class').replace('tooltipstered', '');
136
+ self.__instance._$origin.attr('class', c);
137
+ }
138
+
139
+ self.__instance._off('.'+ self.namespace);
140
+
141
+ // if the content was provided as a title tag, we may need to restore it
142
+ if (self.__hadTitleTag) {
143
+
144
+ // this must happen after Tooltipster restored (or not) the title attr
145
+ self.__instance.one('destroyed', function() {
146
+
147
+ // if a title attribute was restored, we just need to replace it with a tag
148
+ var title = self.__instance._$origin.attr('title');
149
+
150
+ if (title) {
151
+
152
+ // must be namespaced to work
153
+ $(document.createElementNS('http://www.w3.org/2000/svg', 'title'))
154
+ .text(title)
155
+ .appendTo(self.__instance._$origin);
156
+
157
+ self.__instance._$origin.removeAttr('title');
158
+ }
159
+ });
160
+ }
161
+ }
162
+ }
163
+ });
164
+
165
+ /* a build task will add "return $;" here */
166
+ return $;
167
+
168
+ }));
169
+
170
+
171
+ }));
assets/lib/tooltipster/dist/js/plugins/tooltipster/SVG/tooltipster-SVG.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(a,b){"function"==typeof define&&define.amd?define(["tooltipster"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("tooltipster")):b(jQuery)}(this,function(a){!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b="tooltipster.SVG";return a.tooltipster._plugin({name:b,core:{__init:function(){a.tooltipster._on("init",function(c){var d=a.tooltipster._env.window;d.SVGElement&&c.origin instanceof d.SVGElement&&c.instance._plug(b)})}},instance:{__init:function(b){var c=this;if(c.__hadTitleTag=!1,c.__instance=b,!c.__instance._$origin.hasClass("tooltipstered")){var d=c.__instance._$origin.attr("class")||"";-1==d.indexOf("tooltipstered")&&c.__instance._$origin.attr("class",d+" tooltipstered")}if(null===c.__instance.content()){var e=c.__instance._$origin.find(">title");if(e[0]){var f=e.text();c.__hadTitleTag=!0,c.__instance._$origin.data("tooltipster-initialTitle",f),c.__instance.content(f),e.remove()}}c.__instance._on("geometry."+c.namespace,function(b){var c=a.tooltipster._env.window;if(c.SVG.svgjs){c.SVG.parser||c.SVG.prepare();var d=c.SVG.adopt(b.origin);if(d&&d.screenBBox){var e=d.screenBBox();b.edit({height:e.height,left:e.x,top:e.y,width:e.width})}}})._on("destroy."+c.namespace,function(){c.__destroy()})},__destroy:function(){var b=this;if(!b.__instance._$origin.hasClass("tooltipstered")){var c=b.__instance._$origin.attr("class").replace("tooltipstered","");b.__instance._$origin.attr("class",c)}b.__instance._off("."+b.namespace),b.__hadTitleTag&&b.__instance.one("destroyed",function(){var c=b.__instance._$origin.attr("title");c&&(a(document.createElementNS("http://www.w3.org/2000/svg","title")).text(c).appendTo(b.__instance._$origin),b.__instance._$origin.removeAttr("title"))})}}}),a})});
assets/lib/tooltipster/dist/js/tooltipster.bundle.min.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*! tooltipster v4.2.8 */!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){function b(a){this.$container,this.constraints=null,this.__$tooltip,this.__init(a)}function c(b,c){var d=!0;return a.each(b,function(a,e){return void 0===c[a]||b[a]!==c[a]?(d=!1,!1):void 0}),d}function d(b){var c=b.attr("id"),d=c?h.window.document.getElementById(c):null;return d?d===b[0]:a.contains(h.window.document.body,b[0])}function e(){if(!g)return!1;var a=g.document.body||g.document.documentElement,b=a.style,c="transition",d=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof b[c])return!0;c=c.charAt(0).toUpperCase()+c.substr(1);for(var e=0;e<d.length;e++)if("string"==typeof b[d[e]+c])return!0;return!1}var f={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},g="undefined"!=typeof window?window:null,h={hasTouchCapability:!(!g||!("ontouchstart"in g||g.DocumentTouch&&g.document instanceof g.DocumentTouch||g.navigator.maxTouchPoints)),hasTransitions:e(),IE:!1,semVer:"4.2.8",window:g},i=function(){this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__instancesLatestArr=[],this.__plugins={},this._env=h};i.prototype={__bridge:function(b,c,d){if(!c[d]){var e=function(){};e.prototype=b;var g=new e;g.__init&&g.__init(c),a.each(b,function(a,b){0!=a.indexOf("__")&&(c[a]?f.debug&&console.log("The "+a+" method of the "+d+" plugin conflicts with another plugin or native methods"):(c[a]=function(){return g[a].apply(g,Array.prototype.slice.apply(arguments))},c[a].bridged=g))}),c[d]=g}return this},__setWindow:function(a){return h.window=a,this},_getRuler:function(a){return new b(a)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(b){var c=this;if("string"==typeof b){var d=b,e=null;return d.indexOf(".")>0?e=c.__plugins[d]:a.each(c.__plugins,function(a,b){return b.name.substring(b.name.length-d.length-1)=="."+d?(e=b,!1):void 0}),e}if(b.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return c.__plugins[b.name]=b,b.core&&c.__bridge(b.core,c,b.name),this},_trigger:function(){var a=Array.prototype.slice.apply(arguments);return"string"==typeof a[0]&&(a[0]={type:a[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,a),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,a),this},instances:function(b){var c=[],d=b||".tooltipstered";return a(d).each(function(){var b=a(this),d=b.data("tooltipster-ns");d&&a.each(d,function(a,d){c.push(b.data(d))})}),c},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(b){var c=b?b+" ":"";return a(c+".tooltipstered").toArray()},setDefaults:function(b){return a.extend(f,b),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.tooltipster=new i,a.Tooltipster=function(b,c){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(b,c)},a.Tooltipster.prototype={__init:function(b,c){var d=this;if(d._$origin=a(b),d.__options=a.extend(!0,{},f,c),d.__optionsFormat(),!h.IE||h.IE>=d.__options.IEmin){var e=null;if(void 0===d._$origin.data("tooltipster-initialTitle")&&(e=d._$origin.attr("title"),void 0===e&&(e=null),d._$origin.data("tooltipster-initialTitle",e)),null!==d.__options.content)d.__contentSet(d.__options.content);else{var g,i=d._$origin.attr("data-tooltip-content");i&&(g=a(i)),g&&g[0]?d.__contentSet(g.first()):d.__contentSet(e)}d._$origin.removeAttr("title").addClass("tooltipstered"),d.__prepareOrigin(),d.__prepareGC(),a.each(d.__options.plugins,function(a,b){d._plug(b)}),h.hasTouchCapability&&a(h.window.document.body).on("touchmove."+d.__namespace+"-triggerOpen",function(a){d._touchRecordEvent(a)}),d._on("created",function(){d.__prepareTooltip()})._on("repositioned",function(a){d.__lastPosition=a.position})}else d.__options.disabled=!0},__contentInsert:function(){var a=this,b=a._$tooltip.find(".tooltipster-content"),c=a.__Content,d=function(a){c=a};return a._trigger({type:"format",content:a.__Content,format:d}),a.__options.functionFormat&&(c=a.__options.functionFormat.call(a,a,{origin:a._$origin[0]},a.__Content)),"string"!=typeof c||a.__options.contentAsHTML?b.empty().append(c):b.text(c),a},__contentSet:function(b){return b instanceof a&&this.__options.contentCloning&&(b=b.clone(!0)),this.__Content=b,this._trigger({type:"updated",content:b}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var b=this,c=b._$origin,d=b._$origin.is("area");if(d){var e=b._$origin.parent().attr("name");c=a('img[usemap="#'+e+'"]')}var f=c[0].getBoundingClientRect(),g=a(h.window.document),i=a(h.window),j=c,k={available:{document:null,window:null},document:{size:{height:g.height(),width:g.width()}},window:{scroll:{left:h.window.scrollX||h.window.document.documentElement.scrollLeft,top:h.window.scrollY||h.window.document.documentElement.scrollTop},size:{height:i.height(),width:i.width()}},origin:{fixedLineage:!1,offset:{},size:{height:f.bottom-f.top,width:f.right-f.left},usemapImage:d?c[0]:null,windowOffset:{bottom:f.bottom,left:f.left,right:f.right,top:f.top}}};if(d){var l=b._$origin.attr("shape"),m=b._$origin.attr("coords");if(m&&(m=m.split(","),a.map(m,function(a,b){m[b]=parseInt(a)})),"default"!=l)switch(l){case"circle":var n=m[0],o=m[1],p=m[2],q=o-p,r=n-p;k.origin.size.height=2*p,k.origin.size.width=k.origin.size.height,k.origin.windowOffset.left+=r,k.origin.windowOffset.top+=q;break;case"rect":var s=m[0],t=m[1],u=m[2],v=m[3];k.origin.size.height=v-t,k.origin.size.width=u-s,k.origin.windowOffset.left+=s,k.origin.windowOffset.top+=t;break;case"poly":for(var w=0,x=0,y=0,z=0,A="even",B=0;B<m.length;B++){var C=m[B];"even"==A?(C>y&&(y=C,0===B&&(w=y)),w>C&&(w=C),A="odd"):(C>z&&(z=C,1==B&&(x=z)),x>C&&(x=C),A="even")}k.origin.size.height=z-x,k.origin.size.width=y-w,k.origin.windowOffset.left+=w,k.origin.windowOffset.top+=x}}var D=function(a){k.origin.size.height=a.height,k.origin.windowOffset.left=a.left,k.origin.windowOffset.top=a.top,k.origin.size.width=a.width};for(b._trigger({type:"geometry",edit:D,geometry:{height:k.origin.size.height,left:k.origin.windowOffset.left,top:k.origin.windowOffset.top,width:k.origin.size.width}}),k.origin.windowOffset.right=k.origin.windowOffset.left+k.origin.size.width,k.origin.windowOffset.bottom=k.origin.windowOffset.top+k.origin.size.height,k.origin.offset.left=k.origin.windowOffset.left+k.window.scroll.left,k.origin.offset.top=k.origin.windowOffset.top+k.window.scroll.top,k.origin.offset.bottom=k.origin.offset.top+k.origin.size.height,k.origin.offset.right=k.origin.offset.left+k.origin.size.width,k.available.document={bottom:{height:k.document.size.height-k.origin.offset.bottom,width:k.document.size.width},left:{height:k.document.size.height,width:k.origin.offset.left},right:{height:k.document.size.height,width:k.document.size.width-k.origin.offset.right},top:{height:k.origin.offset.top,width:k.document.size.width}},k.available.window={bottom:{height:Math.max(k.window.size.height-Math.max(k.origin.windowOffset.bottom,0),0),width:k.window.size.width},left:{height:k.window.size.height,width:Math.max(k.origin.windowOffset.left,0)},right:{height:k.window.size.height,width:Math.max(k.window.size.width-Math.max(k.origin.windowOffset.right,0),0)},top:{height:Math.max(k.origin.windowOffset.top,0),width:k.window.size.width}};"html"!=j[0].tagName.toLowerCase();){if("fixed"==j.css("position")){k.origin.fixedLineage=!0;break}j=j.parent()}return k},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=a(h.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=a(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var b=this;return b.__options.selfDestruction?b.__garbageCollector=setInterval(function(){var c=(new Date).getTime();b.__touchEvents=a.grep(b.__touchEvents,function(a,b){return c-a.time>6e4}),d(b._$origin)||b.close(function(){b.destroy()})},2e4):clearInterval(b.__garbageCollector),b},__prepareOrigin:function(){var a=this;if(a._$origin.off("."+a.__namespace+"-triggerOpen"),h.hasTouchCapability&&a._$origin.on("touchstart."+a.__namespace+"-triggerOpen touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen",function(b){a._touchRecordEvent(b)}),a.__options.triggerOpen.click||a.__options.triggerOpen.tap&&h.hasTouchCapability){var b="";a.__options.triggerOpen.click&&(b+="click."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.tap&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&a._open(b)})}if(a.__options.triggerOpen.mouseenter||a.__options.triggerOpen.touchstart&&h.hasTouchCapability){var b="";a.__options.triggerOpen.mouseenter&&(b+="mouseenter."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.touchstart&&h.hasTouchCapability&&(b+="touchstart."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){!a._touchIsTouchEvent(b)&&a._touchIsEmulatedEvent(b)||(a.__pointerIsOverOrigin=!0,a._openShortly(b))})}if(a.__options.triggerClose.mouseleave||a.__options.triggerClose.touchleave&&h.hasTouchCapability){var b="";a.__options.triggerClose.mouseleave&&(b+="mouseleave."+a.__namespace+"-triggerOpen "),a.__options.triggerClose.touchleave&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&(a.__pointerIsOverOrigin=!1)})}return a},__prepareTooltip:function(){var b=this,c=b.__options.interactive?"auto":"";return b._$tooltip.attr("id",b.__namespace).css({"pointer-events":c,zIndex:b.__options.zIndex}),a.each(b.__previousThemes,function(a,c){b._$tooltip.removeClass(c)}),a.each(b.__options.theme,function(a,c){b._$tooltip.addClass(c)}),b.__previousThemes=a.merge([],b.__options.theme),b},__scrollHandler:function(b){var c=this;if(c.__options.triggerClose.scroll)c._close(b);else if(d(c._$origin)&&d(c._$tooltip)){var e=null;if(b.target===h.window.document)c.__Geometry.origin.fixedLineage||c.__options.repositionOnScroll&&c.reposition(b);else{e=c.__geometry();var f=!1;if("fixed"!=c._$origin.css("position")&&c.__$originParents.each(function(b,c){var d=a(c),g=d.css("overflow-x"),h=d.css("overflow-y");if("visible"!=g||"visible"!=h){var i=c.getBoundingClientRect();if("visible"!=g&&(e.origin.windowOffset.left<i.left||e.origin.windowOffset.right>i.right))return f=!0,!1;if("visible"!=h&&(e.origin.windowOffset.top<i.top||e.origin.windowOffset.bottom>i.bottom))return f=!0,!1}return"fixed"==d.css("position")?!1:void 0}),f)c._$tooltip.css("visibility","hidden");else if(c._$tooltip.css("visibility","visible"),c.__options.repositionOnScroll)c.reposition(b);else{var g=e.origin.offset.left-c.__Geometry.origin.offset.left,i=e.origin.offset.top-c.__Geometry.origin.offset.top;c._$tooltip.css({left:c.__lastPosition.coord.left+g,top:c.__lastPosition.coord.top+i})}}c._trigger({type:"scroll",event:b,geo:e})}return c},__stateSet:function(a){return this.__state=a,this._trigger({type:"state",state:a}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,a.each(this.__timeouts.close,function(a,b){clearTimeout(b)}),this.__timeouts.close=[],this},__trackerStart:function(){var a=this,b=a._$tooltip.find(".tooltipster-content");return a.__options.trackTooltip&&(a.__contentBcr=b[0].getBoundingClientRect()),a.__tracker=setInterval(function(){if(d(a._$origin)&&d(a._$tooltip)){if(a.__options.trackOrigin){var e=a.__geometry(),f=!1;c(e.origin.size,a.__Geometry.origin.size)&&(a.__Geometry.origin.fixedLineage?c(e.origin.windowOffset,a.__Geometry.origin.windowOffset)&&(f=!0):c(e.origin.offset,a.__Geometry.origin.offset)&&(f=!0)),f||(a.__options.triggerClose.mouseleave?a._close():a.reposition())}if(a.__options.trackTooltip){var g=b[0].getBoundingClientRect();g.height===a.__contentBcr.height&&g.width===a.__contentBcr.width||(a.reposition(),a.__contentBcr=g)}}else a._close()},a.__options.trackerInterval),a},_close:function(b,c,d){var e=this,f=!0;if(e._trigger({type:"close",event:b,stop:function(){f=!1}}),f||d){c&&e.__callbacks.close.push(c),e.__callbacks.open=[],e.__timeoutsClear();var g=function(){a.each(e.__callbacks.close,function(a,c){c.call(e,e,{event:b,origin:e._$origin[0]})}),e.__callbacks.close=[]};if("closed"!=e.__state){var i=!0,j=new Date,k=j.getTime(),l=k+e.__options.animationDuration[1];if("disappearing"==e.__state&&l>e.__closingTime&&e.__options.animationDuration[1]>0&&(i=!1),i){e.__closingTime=l,"disappearing"!=e.__state&&e.__stateSet("disappearing");var m=function(){clearInterval(e.__tracker),e._trigger({type:"closing",event:b}),e._$tooltip.off("."+e.__namespace+"-triggerClose").removeClass("tooltipster-dying"),a(h.window).off("."+e.__namespace+"-triggerClose"),e.__$originParents.each(function(b,c){a(c).off("scroll."+e.__namespace+"-triggerClose")}),e.__$originParents=null,a(h.window.document.body).off("."+e.__namespace+"-triggerClose"),e._$origin.off("."+e.__namespace+"-triggerClose"),e._off("dismissable"),e.__stateSet("closed"),e._trigger({type:"after",event:b}),e.__options.functionAfter&&e.__options.functionAfter.call(e,e,{event:b,origin:e._$origin[0]}),g()};h.hasTransitions?(e._$tooltip.css({"-moz-animation-duration":e.__options.animationDuration[1]+"ms","-ms-animation-duration":e.__options.animationDuration[1]+"ms","-o-animation-duration":e.__options.animationDuration[1]+"ms","-webkit-animation-duration":e.__options.animationDuration[1]+"ms","animation-duration":e.__options.animationDuration[1]+"ms","transition-duration":e.__options.animationDuration[1]+"ms"}),e._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),e.__options.animationDuration[1]>0&&e._$tooltip.delay(e.__options.animationDuration[1]),e._$tooltip.queue(m)):e._$tooltip.stop().fadeOut(e.__options.animationDuration[1],m)}}else g()}return e},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(b,c){var e=this;if(!e.__destroying&&d(e._$origin)&&e.__enabled){var f=!0;if("closed"==e.__state&&(e._trigger({type:"before",event:b,stop:function(){f=!1}}),f&&e.__options.functionBefore&&(f=e.__options.functionBefore.call(e,e,{event:b,origin:e._$origin[0]}))),f!==!1&&null!==e.__Content){c&&e.__callbacks.open.push(c),e.__callbacks.close=[],e.__timeoutsClear();var g,i=function(){"stable"!=e.__state&&e.__stateSet("stable"),a.each(e.__callbacks.open,function(a,b){b.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}),e.__callbacks.open=[]};if("closed"!==e.__state)g=0,"disappearing"===e.__state?(e.__stateSet("appearing"),h.hasTransitions?(e._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i)):e._$tooltip.stop().fadeIn(i)):"stable"==e.__state&&i();else{if(e.__stateSet("appearing"),g=e.__options.animationDuration[0],e.__contentInsert(),e.reposition(b,!0),h.hasTransitions?(e._$tooltip.addClass("tooltipster-"+e.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":e.__options.animationDuration[0]+"ms","-ms-animation-duration":e.__options.animationDuration[0]+"ms","-o-animation-duration":e.__options.animationDuration[0]+"ms","-webkit-animation-duration":e.__options.animationDuration[0]+"ms","animation-duration":e.__options.animationDuration[0]+"ms","transition-duration":e.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=e.__state&&(e._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i))},0)):e._$tooltip.css("display","none").fadeIn(e.__options.animationDuration[0],i),e.__trackerStart(),a(h.window).on("resize."+e.__namespace+"-triggerClose",function(b){var c=a(document.activeElement);(c.is("input")||c.is("textarea"))&&a.contains(e._$tooltip[0],c[0])||e.reposition(b)}).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)}),e.__$originParents=e._$origin.parents(),e.__$originParents.each(function(b,c){a(c).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)})}),e.__options.triggerClose.mouseleave||e.__options.triggerClose.touchleave&&h.hasTouchCapability){e._on("dismissable",function(a){a.dismissable?a.delay?(m=setTimeout(function(){e._close(a.event)},a.delay),e.__timeouts.close.push(m)):e._close(a):clearTimeout(m)});var j=e._$origin,k="",l="",m=null;e.__options.interactive&&(j=j.add(e._$tooltip)),e.__options.triggerClose.mouseleave&&(k+="mouseenter."+e.__namespace+"-triggerClose ",l+="mouseleave."+e.__namespace+"-triggerClose "),e.__options.triggerClose.touchleave&&h.hasTouchCapability&&(k+="touchstart."+e.__namespace+"-triggerClose",l+="touchend."+e.__namespace+"-triggerClose touchcancel."+e.__namespace+"-triggerClose"),j.on(l,function(a){if(e._touchIsTouchEvent(a)||!e._touchIsEmulatedEvent(a)){var b="mouseleave"==a.type?e.__options.delay:e.__options.delayTouch;e._trigger({delay:b[1],dismissable:!0,event:a,type:"dismissable"})}}).on(k,function(a){!e._touchIsTouchEvent(a)&&e._touchIsEmulatedEvent(a)||e._trigger({dismissable:!1,event:a,type:"dismissable"})})}e.__options.triggerClose.originClick&&e._$origin.on("click."+e.__namespace+"-triggerClose",function(a){e._touchIsTouchEvent(a)||e._touchIsEmulatedEvent(a)||e._close(a)}),(e.__options.triggerClose.click||e.__options.triggerClose.tap&&h.hasTouchCapability)&&setTimeout(function(){if("closed"!=e.__state){var b="",c=a(h.window.document.body);e.__options.triggerClose.click&&(b+="click."+e.__namespace+"-triggerClose "),e.__options.triggerClose.tap&&h.hasTouchCapability&&(b+="touchend."+e.__namespace+"-triggerClose"),c.on(b,function(b){e._touchIsMeaningfulEvent(b)&&(e._touchRecordEvent(b),e.__options.interactive&&a.contains(e._$tooltip[0],b.target)||e._close(b))}),e.__options.triggerClose.tap&&h.hasTouchCapability&&c.on("touchstart."+e.__namespace+"-triggerClose",function(a){e._touchRecordEvent(a)})}},0),e._trigger("ready"),e.__options.functionReady&&e.__options.functionReady.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}if(e.__options.timer>0){var m=setTimeout(function(){e._close()},e.__options.timer+g);e.__timeouts.close.push(m)}}}return e},_openShortly:function(a){var b=this,c=!0;if("stable"!=b.__state&&"appearing"!=b.__state&&!b.__timeouts.open&&(b._trigger({type:"start",event:a,stop:function(){c=!1}}),c)){var d=0==a.type.indexOf("touch")?b.__options.delayTouch:b.__options.delay;d[0]?b.__timeouts.open=setTimeout(function(){b.__timeouts.open=null,b.__pointerIsOverOrigin&&b._touchIsMeaningfulEvent(a)?(b._trigger("startend"),b._open(a)):b._trigger("startcancel")},d[0]):(b._trigger("startend"),b._open(a))}return b},_optionsExtract:function(b,c){var d=this,e=a.extend(!0,{},c),f=d.__options[b];return f||(f={},a.each(c,function(a,b){var c=d.__options[a];void 0!==c&&(f[a]=c)})),a.each(e,function(b,c){void 0!==f[b]&&("object"!=typeof c||c instanceof Array||null==c||"object"!=typeof f[b]||f[b]instanceof Array||null==f[b]?e[b]=f[b]:a.extend(e[b],f[b]))}),e},_plug:function(b){var c=a.tooltipster._plugin(b);if(!c)throw new Error('The "'+b+'" plugin is not defined');return c.instance&&a.tooltipster.__bridge(c.instance,this,c.name),this},_touchIsEmulatedEvent:function(a){for(var b=!1,c=(new Date).getTime(),d=this.__touchEvents.length-1;d>=0;d--){var e=this.__touchEvents[d];if(!(c-e.time<500))break;e.target===a.target&&(b=!0)}return b},_touchIsMeaningfulEvent:function(a){return this._touchIsTouchEvent(a)&&!this._touchSwiped(a.target)||!this._touchIsTouchEvent(a)&&!this._touchIsEmulatedEvent(a)},_touchIsTouchEvent:function(a){return 0==a.type.indexOf("touch")},_touchRecordEvent:function(a){return this._touchIsTouchEvent(a)&&(a.time=(new Date).getTime(),this.__touchEvents.push(a)),this},_touchSwiped:function(a){for(var b=!1,c=this.__touchEvents.length-1;c>=0;c--){var d=this.__touchEvents[c];if("touchmove"==d.type){b=!0;break}if("touchstart"==d.type&&a===d.target)break}return b},_trigger:function(){var b=Array.prototype.slice.apply(arguments);return"string"==typeof b[0]&&(b[0]={type:b[0]}),b[0].instance=this,b[0].origin=this._$origin?this._$origin[0]:null,b[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,b),a.tooltipster._trigger.apply(a.tooltipster,b),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,b),this},_unplug:function(b){var c=this;if(c[b]){var d=a.tooltipster._plugin(b);d.instance&&a.each(d.instance,function(a,d){c[a]&&c[a].bridged===c[b]&&delete c[a]}),c[b].__destroy&&c[b].__destroy(),delete c[b]}return c},close:function(a){return this.__destroyed?this.__destroyError():this._close(null,a),this},content:function(a){var b=this;if(void 0===a)return b.__Content;if(b.__destroyed)b.__destroyError();else if(b.__contentSet(a),null!==b.__Content){if("closed"!==b.__state&&(b.__contentInsert(),b.reposition(),b.__options.updateAnimation))if(h.hasTransitions){var c=b.__options.updateAnimation;b._$tooltip.addClass("tooltipster-update-"+c),setTimeout(function(){"closed"!=b.__state&&b._$tooltip.removeClass("tooltipster-update-"+c)},1e3)}else b._$tooltip.fadeTo(200,.5,function(){"closed"!=b.__state&&b._$tooltip.fadeTo(200,1)})}else b._close();return b},destroy:function(){var b=this;if(b.__destroyed)b.__destroyError();else{"closed"!=b.__state?b.option("animationDuration",0)._close(null,null,!0):b.__timeoutsClear(),b._trigger("destroy"),b.__destroyed=!0,b._$origin.removeData(b.__namespace).off("."+b.__namespace+"-triggerOpen"),a(h.window.document.body).off("."+b.__namespace+"-triggerOpen");var c=b._$origin.data("tooltipster-ns");if(c)if(1===c.length){var d=null;"previous"==b.__options.restoration?d=b._$origin.data("tooltipster-initialTitle"):"current"==b.__options.restoration&&(d="string"==typeof b.__Content?b.__Content:a("<div></div>").append(b.__Content).html()),d&&b._$origin.attr("title",d),b._$origin.removeClass("tooltipstered"),b._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else c=a.grep(c,function(a,c){return a!==b.__namespace}),b._$origin.data("tooltipster-ns",c);b._trigger("destroyed"),b._off(),b.off(),b.__Content=null,b.__$emitterPrivate=null,b.__$emitterPublic=null,b.__options.parent=null,b._$origin=null,b._$tooltip=null,a.tooltipster.__instancesLatestArr=a.grep(a.tooltipster.__instancesLatestArr,function(a,c){return b!==a}),clearInterval(b.__garbageCollector)}return b},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(a){return this.close(a)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(a){return this.__destroyed?this.__destroyError():this._open(null,a),this},option:function(b,c){return void 0===c?this.__options[b]:(this.__destroyed?this.__destroyError():(this.__options[b]=c,this.__optionsFormat(),a.inArray(b,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===b&&this.__prepareGC()),this)},reposition:function(a,b){var c=this;return c.__destroyed?c.__destroyError():"closed"!=c.__state&&d(c._$origin)&&(b||d(c._$tooltip))&&(b||c._$tooltip.detach(),c.__Geometry=c.__geometry(),c._trigger({type:"reposition",event:a,helper:{geo:c.__Geometry}})),c},show:function(a){return this.open(a)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.fn.tooltipster=function(){var b=Array.prototype.slice.apply(arguments),c="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof b[0]){var d="#*$~&";return this.each(function(){var e=a(this).data("tooltipster-ns"),f=e?a(this).data(e[0]):null;if(!f)throw new Error("You called Tooltipster's \""+b[0]+'" method on an uninitialized element');if("function"!=typeof f[b[0]])throw new Error('Unknown method "'+b[0]+'"');this.length>1&&"content"==b[0]&&(b[1]instanceof a||"object"==typeof b[1]&&null!=b[1]&&b[1].tagName)&&!f.__options.contentCloning&&f.__options.debug&&console.log(c);var g=f[b[0]](b[1],b[2]);return g!==f||"instance"===b[0]?(d=g,!1):void 0}),"#*$~&"!==d?d:this}a.tooltipster.__instancesLatestArr=[];var e=b[0]&&void 0!==b[0].multiple,g=e&&b[0].multiple||!e&&f.multiple,h=b[0]&&void 0!==b[0].content,i=h&&b[0].content||!h&&f.content,j=b[0]&&void 0!==b[0].contentCloning,k=j&&b[0].contentCloning||!j&&f.contentCloning,l=b[0]&&void 0!==b[0].debug,m=l&&b[0].debug||!l&&f.debug;return this.length>1&&(i instanceof a||"object"==typeof i&&null!=i&&i.tagName)&&!k&&m&&console.log(c),this.each(function(){var c=!1,d=a(this),e=d.data("tooltipster-ns"),f=null;e?g?c=!0:m&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):c=!0,c&&(f=new a.Tooltipster(this,b[0]),e||(e=[]),e.push(f.__namespace),d.data("tooltipster-ns",e),d.data(f.__namespace,f),f.__options.functionInit&&f.__options.functionInit.call(f,f,{origin:this}),f._trigger("init")),a.tooltipster.__instancesLatestArr.push(f)}),this},b.prototype={__init:function(b){this.__$tooltip=b,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=a('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(h.window.document.body)},__forceRedraw:function(){var a=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(a)},constrain:function(a,b){return this.constraints={width:a,height:b},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:a}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var a=this.__$tooltip[0].getBoundingClientRect(),b={size:{height:a.height||a.bottom-a.top,width:a.width||a.right-a.left}};if(this.constraints){var c=this.__$tooltip.find(".tooltipster-content"),d=this.__$tooltip.outerHeight(),e=c[0].getBoundingClientRect(),f={height:d<=this.constraints.height,width:a.width<=this.constraints.width&&e.width>=c[0].scrollWidth-1};b.fits=f.height&&f.width}return h.IE&&h.IE<=11&&b.size.width!==h.window.document.documentElement.clientWidth&&(b.size.width=Math.ceil(b.size.width)+1),b}};var j=navigator.userAgent.toLowerCase();-1!=j.indexOf("msie")?h.IE=parseInt(j.split("msie")[1]):-1!==j.toLowerCase().indexOf("trident")&&-1!==j.indexOf(" rv:11")?h.IE=11:-1!=j.toLowerCase().indexOf("edge/")&&(h.IE=parseInt(j.toLowerCase().split("edge/")[1]));var k="tooltipster.sideTip";return a.tooltipster._plugin({name:k,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(a){var b=this;b.__instance=a,b.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),b.__previousState="closed",b.__options,b.__optionsFormat(),b.__instance._on("state."+b.__namespace,function(a){"closed"==a.state?b.__close():"appearing"==a.state&&"closed"==b.__previousState&&b.__create(),b.__previousState=a.state}),b.__instance._on("options."+b.__namespace,function(){b.__optionsFormat()}),b.__instance._on("reposition."+b.__namespace,function(a){b.__reposition(a.event,a.helper)})},__close:function(){this.__instance.content()instanceof a&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var b=a('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||b.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&b.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&b.css("max-width",this.__options.maxWidth+"px"),
2
+ this.__instance._$tooltip=b,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var b=this;if(b.__options=b.__instance._optionsExtract(k,b.__defaults()),b.__options.position&&(b.__options.side=b.__options.position),"object"!=typeof b.__options.distance&&(b.__options.distance=[b.__options.distance]),b.__options.distance.length<4&&(void 0===b.__options.distance[1]&&(b.__options.distance[1]=b.__options.distance[0]),void 0===b.__options.distance[2]&&(b.__options.distance[2]=b.__options.distance[0]),void 0===b.__options.distance[3]&&(b.__options.distance[3]=b.__options.distance[1])),b.__options.distance={top:b.__options.distance[0],right:b.__options.distance[1],bottom:b.__options.distance[2],left:b.__options.distance[3]},"string"==typeof b.__options.side){var c={top:"bottom",right:"left",bottom:"top",left:"right"};b.__options.side=[b.__options.side,c[b.__options.side]],"left"==b.__options.side[0]||"right"==b.__options.side[0]?b.__options.side.push("top","bottom"):b.__options.side.push("right","left")}6===a.tooltipster._env.IE&&b.__options.arrow!==!0&&(b.__options.arrow=!1)},__reposition:function(b,c){var d,e=this,f=e.__targetFind(c),g=[];e.__instance._$tooltip.detach();var h=e.__instance._$tooltip.clone(),i=a.tooltipster._getRuler(h),j=!1,k=e.__instance.option("animation");switch(k&&h.removeClass("tooltipster-"+k),a.each(["window","document"],function(d,k){var l=null;if(e.__instance._trigger({container:k,helper:c,satisfied:j,takeTest:function(a){l=a},results:g,type:"positionTest"}),1==l||0!=l&&0==j&&("window"!=k||e.__options.viewportAware))for(var d=0;d<e.__options.side.length;d++){var m={horizontal:0,vertical:0},n=e.__options.side[d];"top"==n||"bottom"==n?m.vertical=e.__options.distance[n]:m.horizontal=e.__options.distance[n],e.__sideChange(h,n),a.each(["natural","constrained"],function(a,d){if(l=null,e.__instance._trigger({container:k,event:b,helper:c,mode:d,results:g,satisfied:j,side:n,takeTest:function(a){l=a},type:"positionTest"}),1==l||0!=l&&0==j){var h={container:k,distance:m,fits:null,mode:d,outerSize:null,side:n,size:null,target:f[n],whole:null},o="natural"==d?i.free():i.constrain(c.geo.available[k][n].width-m.horizontal,c.geo.available[k][n].height-m.vertical),p=o.measure();if(h.size=p.size,h.outerSize={height:p.size.height+m.vertical,width:p.size.width+m.horizontal},"natural"==d?c.geo.available[k][n].width>=h.outerSize.width&&c.geo.available[k][n].height>=h.outerSize.height?h.fits=!0:h.fits=!1:h.fits=p.fits,"window"==k&&(h.fits?"top"==n||"bottom"==n?h.whole=c.geo.origin.windowOffset.right>=e.__options.minIntersection&&c.geo.window.size.width-c.geo.origin.windowOffset.left>=e.__options.minIntersection:h.whole=c.geo.origin.windowOffset.bottom>=e.__options.minIntersection&&c.geo.window.size.height-c.geo.origin.windowOffset.top>=e.__options.minIntersection:h.whole=!1),g.push(h),h.whole)j=!0;else if("natural"==h.mode&&(h.fits||h.size.width<=c.geo.available[k][n].width))return!1}})}}),e.__instance._trigger({edit:function(a){g=a},event:b,helper:c,results:g,type:"positionTested"}),g.sort(function(a,b){if(a.whole&&!b.whole)return-1;if(!a.whole&&b.whole)return 1;if(a.whole&&b.whole){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}if(a.fits&&!b.fits)return-1;if(!a.fits&&b.fits)return 1;if(a.fits&&b.fits){var c=e.__options.side.indexOf(a.side),d=e.__options.side.indexOf(b.side);return d>c?-1:c>d?1:"natural"==a.mode?-1:1}return"document"==a.container&&"bottom"==a.side&&"natural"==a.mode?-1:1}),d=g[0],d.coord={},d.side){case"left":case"right":d.coord.top=Math.floor(d.target-d.size.height/2);break;case"bottom":case"top":d.coord.left=Math.floor(d.target-d.size.width/2)}switch(d.side){case"left":d.coord.left=c.geo.origin.windowOffset.left-d.outerSize.width;break;case"right":d.coord.left=c.geo.origin.windowOffset.right+d.distance.horizontal;break;case"top":d.coord.top=c.geo.origin.windowOffset.top-d.outerSize.height;break;case"bottom":d.coord.top=c.geo.origin.windowOffset.bottom+d.distance.vertical}"window"==d.container?"top"==d.side||"bottom"==d.side?d.coord.left<0?c.geo.origin.windowOffset.right-this.__options.minIntersection>=0?d.coord.left=0:d.coord.left=c.geo.origin.windowOffset.right-this.__options.minIntersection-1:d.coord.left>c.geo.window.size.width-d.size.width&&(c.geo.origin.windowOffset.left+this.__options.minIntersection<=c.geo.window.size.width?d.coord.left=c.geo.window.size.width-d.size.width:d.coord.left=c.geo.origin.windowOffset.left+this.__options.minIntersection+1-d.size.width):d.coord.top<0?c.geo.origin.windowOffset.bottom-this.__options.minIntersection>=0?d.coord.top=0:d.coord.top=c.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:d.coord.top>c.geo.window.size.height-d.size.height&&(c.geo.origin.windowOffset.top+this.__options.minIntersection<=c.geo.window.size.height?d.coord.top=c.geo.window.size.height-d.size.height:d.coord.top=c.geo.origin.windowOffset.top+this.__options.minIntersection+1-d.size.height):(d.coord.left>c.geo.window.size.width-d.size.width&&(d.coord.left=c.geo.window.size.width-d.size.width),d.coord.left<0&&(d.coord.left=0)),e.__sideChange(h,d.side),c.tooltipClone=h[0],c.tooltipParent=e.__instance.option("parent").parent[0],c.mode=d.mode,c.whole=d.whole,c.origin=e.__instance._$origin[0],c.tooltip=e.__instance._$tooltip[0],delete d.container,delete d.fits,delete d.mode,delete d.outerSize,delete d.whole,d.distance=d.distance.horizontal||d.distance.vertical;var l=a.extend(!0,{},d);if(e.__instance._trigger({edit:function(a){d=a},event:b,helper:c,position:l,type:"position"}),e.__options.functionPosition){var m=e.__options.functionPosition.call(e,e.__instance,c,l);m&&(d=m)}i.destroy();var n,o;"top"==d.side||"bottom"==d.side?(n={prop:"left",val:d.target-d.coord.left},o=d.size.width-this.__options.minIntersection):(n={prop:"top",val:d.target-d.coord.top},o=d.size.height-this.__options.minIntersection),n.val<this.__options.minIntersection?n.val=this.__options.minIntersection:n.val>o&&(n.val=o);var p;p=c.geo.origin.fixedLineage?c.geo.origin.windowOffset:{left:c.geo.origin.windowOffset.left+c.geo.window.scroll.left,top:c.geo.origin.windowOffset.top+c.geo.window.scroll.top},d.coord={left:p.left+(d.coord.left-c.geo.origin.windowOffset.left),top:p.top+(d.coord.top-c.geo.origin.windowOffset.top)},e.__sideChange(e.__instance._$tooltip,d.side),c.geo.origin.fixedLineage?e.__instance._$tooltip.css("position","fixed"):e.__instance._$tooltip.css("position",""),e.__instance._$tooltip.css({left:d.coord.left,top:d.coord.top,height:d.size.height,width:d.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(n.prop,n.val),e.__instance._$tooltip.appendTo(e.__instance.option("parent")),e.__instance._trigger({type:"repositioned",event:b,position:d})},__sideChange:function(a,b){a.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+b)},__targetFind:function(a){var b={},c=this.__instance._$origin[0].getClientRects();if(c.length>1){var d=this.__instance._$origin.css("opacity");1==d&&(this.__instance._$origin.css("opacity",.99),c=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1))}if(c.length<2)b.top=Math.floor(a.geo.origin.windowOffset.left+a.geo.origin.size.width/2),b.bottom=b.top,b.left=Math.floor(a.geo.origin.windowOffset.top+a.geo.origin.size.height/2),b.right=b.left;else{var e=c[0];b.top=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil(c.length/2)-1]:c[0],b.right=Math.floor(e.top+(e.bottom-e.top)/2),e=c[c.length-1],b.bottom=Math.floor(e.left+(e.right-e.left)/2),e=c.length>2?c[Math.ceil((c.length+1)/2)-1]:c[c.length-1],b.left=Math.floor(e.top+(e.bottom-e.top)/2)}return b}}}),a});
assets/lib/tooltipster/jquery.tooltipster.min.js DELETED
@@ -1 +0,0 @@
1
- /* Tooltipster v3.3.0 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace="tooltipster-"+Math.round(Math.random()*1e5);this.Status="hidden";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(".","");this.options.theme=this.options.theme.replace(".","");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]==="undefined"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r="transition";if(typeof t[r]=="string"){return true}v=["Moz","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i<v.length;i++){if(typeof t[v[i]+r]=="string"){return true}}return false}var r="tooltipster",i={animation:"fade",arrow:true,arrowColor:"",autoClose:true,content:null,contentAsHTML:false,contentCloning:true,debug:true,delay:200,minWidth:0,maxWidth:null,functionInit:function(e,t){},functionBefore:function(e,t){t()},functionReady:function(e,t){},functionAfter:function(e){},hideOnClick:false,icon:"(?)",iconCloning:true,iconDesktop:false,iconTouch:false,iconTheme:"tooltipster-icon",interactive:false,interactiveTolerance:350,multiple:false,offsetX:0,offsetY:0,onlyOne:false,position:"top",positionTracker:false,positionTrackerCallback:function(e){if(this.option("trigger")=="hover"&&this.option("autoClose")){this.hide()}},restoration:"current",speed:350,timer:0,theme:"tooltipster-default",touchDevices:true,trigger:"hover",updateAnimation:true};s.prototype={_init:function(){var t=this;if(n.querySelector){var r=null;if(t.$el.data("tooltipster-initialTitle")===undefined){r=t.$el.attr("title");if(r===undefined)r=null;t.$el.data("tooltipster-initialTitle",r)}if(t.options.content!==null){t._content_set(t.options.content)}else{t._content_set(r)}var i=t.options.functionInit.call(t.$el,t.$el,t.Content);if(typeof i!=="undefined")t._content_set(i);t.$el.addClass("tooltipstered");if(!u&&t.options.iconDesktop||u&&t.options.iconTouch){if(typeof t.options.icon==="string"){t.$elProxy=e('<span class="'+t.options.iconTheme+'"></span>');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger=="hover"){t.$elProxy.on("mouseenter."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on("mouseleave."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on("touchstart."+t.namespace,function(){t._showNow()})}}else if(t.options.trigger=="click"){t.$elProxy.on("click."+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!="shown"&&e.Status!="appearing"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger=="click"||e.options.trigger=="hover"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(".tooltipstered").not(r.$el).each(function(t,n){var r=e(n),i=r.data("tooltipster-ns");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option("autoClose");if(i!=="hidden"&&i!=="disappearing"&&s){n.hide()}})})}var i=function(){r.Status="shown";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!=="hidden"){var s=0;if(r.Status==="disappearing"){r.Status="appearing";if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+r.options.animation+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status==="shown"){i()}}else{r.Status="appearing";var s=r.options.speed;r.bodyOverflowX=e("body").css("overflow-x");e("body").css("overflow-x","hidden");var o="tooltipster-"+r.options.animation,a="-webkit-transition-duration: "+r.options.speed+"ms; -webkit-animation-duration: "+r.options.speed+"ms; -moz-transition-duration: "+r.options.speed+"ms; -moz-animation-duration: "+r.options.speed+"ms; -o-transition-duration: "+r.options.speed+"ms; -o-animation-duration: "+r.options.speed+"ms; -ms-transition-duration: "+r.options.speed+"ms; -ms-animation-duration: "+r.options.speed+"ms; transition-duration: "+r.options.speed+"ms; animation-duration: "+r.options.speed+"ms;",f=r.options.minWidth?"min-width:"+Math.round(r.options.minWidth)+"px;":"",c=r.options.maxWidth?"max-width:"+Math.round(r.options.maxWidth)+"px;":"",h=r.options.interactive?"pointer-events: auto;":"";r.$tooltip=e('<div class="tooltipster-base '+r.options.theme+'" style="'+f+" "+c+" "+h+" "+a+'"><div class="tooltipster-content"></div></div>');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css("display","none").fadeIn(r.options.speed,i)}r._interval_set();e(t).on("scroll."+r.namespace+" resize."+r.namespace,function(){r.reposition()});if(r.options.autoClose){e("body").off("."+r.namespace);if(r.options.trigger=="hover"){if(u){setTimeout(function(){e("body").on("touchstart."+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on("touchstart."+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on("mouseleave."+r.namespace+"-autoClose",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on("mouseenter."+r.namespace+"-autoClose",function(){clearTimeout(p)})}else{r.$elProxy.on("mouseleave."+r.namespace+"-autoClose",function(){r.hide()})}if(r.options.hideOnClick){r.$elProxy.on("click."+r.namespace+"-autoClose",function(){r.hide()})}}else if(r.options.trigger=="click"){setTimeout(function(){e("body").on("click."+r.namespace+" touchstart."+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on("click."+r.namespace+" touchstart."+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e("body").find(t.$el).length===0||e("body").find(t.$elProxy).length===0||t.Status=="hidden"||e("body").find(t.$tooltip).length===0){if(t.Status=="shown"||t.Status=="appearing")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css("position")==="fixed"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition();t.options.positionTrackerCallback.call(t,t.$el)}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e==="object"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(".tooltipster-content");if(typeof e.Content==="string"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!=="hidden"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:"","-webkit-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!="hidden"){t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!=="hidden"){t.$tooltip.css({"-webkit-transition":t.options.speed+"ms","-moz-transition":t.options.speed+"ms","-o-transition":t.options.speed+"ms","-ms-transition":t.options.speed+"ms",transition:t.options.speed+"ms"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!="hidden"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css("left")),top:parseInt(e.css("top"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status=="shown"||r.Status=="appearing"){r.Status="disappearing";var s=function(){r.Status="hidden";if(typeof r.Content=="object"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off("."+r.namespace);e("body").off("."+r.namespace).css("overflow-x",r.bodyOverflowX);e("body").off("."+r.namespace);r.$elProxy.off("."+r.namespace+"-autoClose");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-"+r.options.animation+"-show").addClass("tooltipster-dying");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status=="hidden"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e==="undefined"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e("body").find(n.$tooltip).length!==0){n.$tooltip.css("width","");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is("area")){var f=n.$elProxy.attr("shape"),l=n.$elProxy.parent().attr("name"),c=e('img[usemap="#'+l+'"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr("coords")!==undefined?n.$elProxy.attr("coords").split(","):undefined;if(f=="circle"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f=="rect"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f=="poly"){var w=[],E=[],S=0,x=0,T=0,N=0,C="even";for(var k=0;k<d.length;k++){var L=parseInt(d[k]);if(C=="even"){if(L>T){T=L;if(k===0){S=T}}if(L<S){S=L}C="odd"}else{if(L>N){N=L;if(k==1){x=N}}if(L<x){x=L}C="even"}}s.dimension.height=N-x;s.dimension.width=T-S;s.offset.top=p+x;s.offset.left=h+S}else{s.dimension.height=c.outerHeight(false);s.dimension.width=c.outerWidth(false);s.offset.top=p;s.offset.left=h}}var A=0,O=0,M=0,_=parseInt(n.options.offsetY),D=parseInt(n.options.offsetX),P=n.options.position;function H(){var n=e(t).scrollLeft();if(A-n<0){r=A-n;A=n}if(A+o-n>i){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf("top")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf("bottom")>-1){P=n;M=s.offset.top-a-_-12}}if(P=="top"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B("bottom","top")}if(P=="top-left"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B("bottom-left","top-left")}if(P=="top-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B("bottom-right","top-right")}if(P=="bottom"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B("top","bottom")}if(P=="bottom-left"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B("top-left","bottom-left")}if(P=="bottom-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B("top-right","bottom-right")}if(P=="left"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=o+A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r="left"}}if(P=="right"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=i-A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r="right"}}if(n.options.arrow){var R="tooltipster-arrow-"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css("background-color")}else{var U=n.options.arrowColor}if(!r){r=""}else if(r=="left"){R="tooltipster-arrow-right";r=""}else if(r=="right"){R="tooltipster-arrow-left";r=""}else{r="left:"+Math.round(r)+"px;"}if(P=="top"||P=="top-left"||P=="top-right"){var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}else if(P=="bottom"||P=="bottom-left"||P=="bottom-right"){var z=parseFloat(n.$tooltip.css("border-top-width")),W=n.$tooltip.css("border-top-color")}else if(P=="left"){var z=parseFloat(n.$tooltip.css("border-right-width")),W=n.$tooltip.css("border-right-color")}else if(P=="right"){var z=parseFloat(n.$tooltip.css("border-left-width")),W=n.$tooltip.css("border-left-color")}else{var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}if(z>1){z++}var X="";if(z!==0){var V="",J="border-color: "+W+";";if(R.indexOf("bottom")!==-1){V="margin-top: -"+Math.round(z)+"px;"}else if(R.indexOf("top")!==-1){V="margin-bottom: -"+Math.round(z)+"px;"}else if(R.indexOf("left")!==-1){V="margin-right: -"+Math.round(z)+"px;"}else if(R.indexOf("right")!==-1){V="margin-left: -"+Math.round(z)+"px;"}X='<span class="tooltipster-arrow-border" style="'+V+" "+J+';"></span>'}n.$tooltip.find(".tooltipster-arrow").remove();var K='<div class="'+R+' tooltipster-arrow" style="'+r+'">'+X+'<span style="border-color:'+U+';"></span></div>';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+"px",left:Math.round(A)+"px"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0]){t.$elProxy.remove()}t.$el.removeData(t.namespace).off("."+t.namespace);var n=t.$el.data("tooltipster-ns");if(n.length===1){var r=null;if(t.options.restoration==="previous"){r=t.$el.data("tooltipster-initialTitle")}else if(t.options.restoration==="current"){r=typeof t.Content==="string"?t.Content:e("<div></div>").append(t.Content).html()}if(r){t.$el.attr("title",r)}t.$el.removeClass("tooltipstered").removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data("tooltipster-ns",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t=="undefined")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]==="string"){var n=true;switch(t[0]){case"setDefaults":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]==="string"){var r="#*$~&";this.each(function(){var n=e(this).data("tooltipster-ns"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]==="function"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster("'+t[0]+'")')}if(s!==i){r=s;return false}}else{throw new Error("You called Tooltipster's \""+t[0]+'" method on an uninitialized element')}});return r!=="#*$~&"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!=="undefined",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!=="undefined",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data("tooltipster-ns"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data("tooltipster-ns",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!("ontouchstart"in t);var a=false;e("body").one("mousemove",function(){a=true})})(jQuery,window,document);
 
assets/lib/tooltipster/tooltipster-new.css DELETED
@@ -1,256 +0,0 @@
1
- html {
2
- -webkit-font-smoothing: antialiased;
3
- }
4
- /* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
5
- .tooltipster-default {
6
- /*border-radius: 5px; */
7
- border: none;
8
- background: #52bac5;
9
- color: #fff;
10
- border-radius: 5px;
11
- }
12
- /* Use this next selector to style things like font-size and line-height: */
13
- .tooltipster-default .tooltipster-content {
14
- font-family: Arial, sans-serif;
15
- font-size: 14px;
16
- line-height: 16px;
17
- padding: 8px 10px;
18
- overflow: hidden;
19
- }
20
- /* This next selector defines the color of the border on the outside of the arrow. This will automatically match the color and size of the border set on the main tooltip styles. Set display: none; if you would like a border around the tooltip but no border around the arrow */
21
- .tooltipster-default .tooltipster-arrow .tooltipster-arrow-border {
22
- /* border-color: ... !important; */
23
- }
24
- /* If you're using the icon option, use this next selector to style them */
25
- .tooltipster-icon {
26
- cursor: help;
27
- margin-left: 4px;
28
- }
29
- /* This is the base styling required to make all Tooltipsters work */
30
- .tooltipster-base {
31
- padding: 0;
32
- font-size: 0;
33
- line-height: 0;
34
- position: absolute;
35
- z-index: 9999999;
36
- pointer-events: none;
37
- width: auto;
38
- overflow: visible;
39
- }
40
- .tooltipster-base .tooltipster-content {
41
- overflow: hidden;
42
- }
43
- /* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */
44
- .tooltipster-arrow {
45
- display: block;
46
- text-align: center;
47
- width: 100%;
48
- height: 100%;
49
- position: absolute;
50
- top: 0;
51
- left: 0;
52
- z-index: -1;
53
- }
54
- .tooltipster-arrow span, .tooltipster-arrow-border {
55
- display: block;
56
- width: 0;
57
- height: 0;
58
- position: absolute;
59
- }
60
- .tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {
61
- border-left: 8px solid transparent !important;
62
- border-right: 8px solid transparent !important;
63
- border-top: 8px solid;
64
- bottom: -7px;
65
- }
66
- .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {
67
- border-left: 9px solid transparent !important;
68
- border-right: 9px solid transparent !important;
69
- border-top: 9px solid;
70
- bottom: -7px;
71
- }
72
-
73
- .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {
74
- border-left: 8px solid transparent !important;
75
- border-right: 8px solid transparent !important;
76
- border-bottom: 8px solid;
77
- top: -7px;
78
- }
79
- .tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
80
- border-left: 9px solid transparent !important;
81
- border-right: 9px solid transparent !important;
82
- border-bottom: 9px solid;
83
- top: -7px;
84
- }
85
- .tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {
86
- left: 0;
87
- right: 0;
88
- margin: 0 auto;
89
- position: absolute;
90
- }
91
- .tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {
92
- left: 6px;
93
- }
94
- .tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
95
- left: 5px;
96
- }
97
- .tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span {
98
- right: 6px;
99
- }
100
- .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {
101
- right: 5px;
102
- }
103
- .tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {
104
- border-top: 8px solid transparent !important;
105
- border-bottom: 8px solid transparent !important;
106
- border-left: 8px solid;
107
- top: 50%;
108
- margin-top: -7px;
109
- right: -7px;
110
- }
111
- .tooltipster-arrow-left .tooltipster-arrow-border {
112
- border-top: 9px solid transparent !important;
113
- border-bottom: 9px solid transparent !important;
114
- border-left: 9px solid;
115
- margin-top: -7px;
116
- }
117
- .tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {
118
- border-top: 8px solid transparent !important;
119
- border-bottom: 8px solid transparent !important;
120
- border-right: 8px solid;
121
- top: 50%;
122
- margin-top: -7px;
123
- left: -7px;
124
- }
125
- .tooltipster-arrow-right .tooltipster-arrow-border {
126
- border-top: 9px solid transparent !important;
127
- border-bottom: 9px solid transparent !important;
128
- border-right: 9px solid;
129
- margin-top: -7px;
130
- }
131
- /* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */
132
- .tooltipster-fade {
133
- opacity: 0;
134
- -webkit-transition-property: opacity;
135
- -moz-transition-property: opacity;
136
- -o-transition-property: opacity;
137
- -ms-transition-property: opacity;
138
- transition-property: opacity;
139
- }
140
- .tooltipster-fade-show {
141
- opacity: 1;
142
- }
143
- .tooltipster-grow {
144
- -webkit-transform: scale(0,0);
145
- -moz-transform: scale(0,0);
146
- -o-transform: scale(0,0);
147
- -ms-transform: scale(0,0);
148
- transform: scale(0,0);
149
- -webkit-transition-property: -webkit-transform;
150
- -moz-transition-property: -moz-transform;
151
- -o-transition-property: -o-transform;
152
- -ms-transition-property: -ms-transform;
153
- transition-property: transform;
154
- -webkit-backface-visibility: hidden;
155
- }
156
- .tooltipster-grow-show {
157
- -webkit-transform: scale(1,1);
158
- -moz-transform: scale(1,1);
159
- -o-transform: scale(1,1);
160
- -ms-transform: scale(1,1);
161
- transform: scale(1,1);
162
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
163
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
164
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
165
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
166
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
167
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
168
- }
169
-
170
- .tooltipster-swing {
171
- opacity: 0;
172
- -webkit-transform: rotateZ(4deg);
173
- -moz-transform: rotateZ(4deg);
174
- -o-transform: rotateZ(4deg);
175
- -ms-transform: rotateZ(4deg);
176
- transform: rotateZ(4deg);
177
- -webkit-transition-property: -webkit-transform, opacity;
178
- -moz-transition-property: -moz-transform;
179
- -o-transition-property: -o-transform;
180
- -ms-transition-property: -ms-transform;
181
- transition-property: transform;
182
- }
183
- .tooltipster-swing-show {
184
- opacity: 1;
185
- -webkit-transform: rotateZ(0deg);
186
- -moz-transform: rotateZ(0deg);
187
- -o-transform: rotateZ(0deg);
188
- -ms-transform: rotateZ(0deg);
189
- transform: rotateZ(0deg);
190
- -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);
191
- -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
192
- -moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
193
- -ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
194
- -o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
195
- transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
196
- }
197
-
198
- .tooltipster-fall {
199
- top: 0;
200
- -webkit-transition-property: top;
201
- -moz-transition-property: top;
202
- -o-transition-property: top;
203
- -ms-transition-property: top;
204
- transition-property: top;
205
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
206
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
207
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
208
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
209
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
210
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
211
- }
212
- .tooltipster-fall-show {
213
- }
214
- .tooltipster-fall.tooltipster-dying {
215
- -webkit-transition-property: all;
216
- -moz-transition-property: all;
217
- -o-transition-property: all;
218
- -ms-transition-property: all;
219
- transition-property: all;
220
- top: 0px !important;
221
- opacity: 0;
222
- }
223
- .tooltipster-slide {
224
- left: -40px;
225
- -webkit-transition-property: left;
226
- -moz-transition-property: left;
227
- -o-transition-property: left;
228
- -ms-transition-property: left;
229
- transition-property: left;
230
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
231
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
232
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
233
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
234
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
235
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
236
- }
237
- .tooltipster-slide.tooltipster-slide-show {
238
- }
239
- .tooltipster-slide.tooltipster-dying {
240
- -webkit-transition-property: all;
241
- -moz-transition-property: all;
242
- -o-transition-property: all;
243
- -ms-transition-property: all;
244
- transition-property: all;
245
- left: 0px !important;
246
- opacity: 0;
247
- }
248
- /* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */
249
- .tooltipster-content-changing {
250
- opacity: 0.5;
251
- -webkit-transform: scale(1.1, 1.1);
252
- -moz-transform: scale(1.1, 1.1);
253
- -o-transform: scale(1.1, 1.1);
254
- -ms-transform: scale(1.1, 1.1);
255
- transform: scale(1.1, 1.1);
256
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/lib/tooltipster/tooltipster.css DELETED
@@ -1,258 +0,0 @@
1
- html {
2
- -webkit-font-smoothing: antialiased;
3
- }
4
- /* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
5
- .tooltipster-default {
6
- /*border-radius: 5px; */
7
- border: none;
8
- background: #fff;
9
- color: #a4aaac;
10
- -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
11
- -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
12
- box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
13
- }
14
- /* Use this next selector to style things like font-size and line-height: */
15
- .tooltipster-default .tooltipster-content {
16
- font-family: Arial, sans-serif;
17
- font-size: 14px;
18
- line-height: 16px;
19
- padding: 8px 10px;
20
- overflow: hidden;
21
- }
22
- /* This next selector defines the color of the border on the outside of the arrow. This will automatically match the color and size of the border set on the main tooltip styles. Set display: none; if you would like a border around the tooltip but no border around the arrow */
23
- .tooltipster-default .tooltipster-arrow .tooltipster-arrow-border {
24
- /* border-color: ... !important; */
25
- }
26
- /* If you're using the icon option, use this next selector to style them */
27
- .tooltipster-icon {
28
- cursor: help;
29
- margin-left: 4px;
30
- }
31
- /* This is the base styling required to make all Tooltipsters work */
32
- .tooltipster-base {
33
- padding: 0;
34
- font-size: 0;
35
- line-height: 0;
36
- position: absolute;
37
- z-index: 9999999;
38
- pointer-events: none;
39
- width: auto;
40
- overflow: visible;
41
- }
42
- .tooltipster-base .tooltipster-content {
43
- overflow: hidden;
44
- }
45
- /* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */
46
- .tooltipster-arrow {
47
- display: block;
48
- text-align: center;
49
- width: 100%;
50
- height: 100%;
51
- position: absolute;
52
- top: 0;
53
- left: 0;
54
- z-index: -1;
55
- }
56
- .tooltipster-arrow span, .tooltipster-arrow-border {
57
- display: block;
58
- width: 0;
59
- height: 0;
60
- position: absolute;
61
- }
62
- .tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {
63
- border-left: 8px solid transparent !important;
64
- border-right: 8px solid transparent !important;
65
- border-top: 8px solid;
66
- bottom: -8px;
67
- }
68
- .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {
69
- border-left: 9px solid transparent !important;
70
- border-right: 9px solid transparent !important;
71
- border-top: 9px solid;
72
- bottom: -8px;
73
- }
74
-
75
- .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {
76
- border-left: 8px solid transparent !important;
77
- border-right: 8px solid transparent !important;
78
- border-bottom: 8px solid;
79
- top: -8px;
80
- }
81
- .tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
82
- border-left: 9px solid transparent !important;
83
- border-right: 9px solid transparent !important;
84
- border-bottom: 9px solid;
85
- top: -8px;
86
- }
87
- .tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {
88
- left: 0;
89
- right: 0;
90
- margin: 0 auto;
91
- position: absolute;
92
- }
93
- .tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {
94
- left: 6px;
95
- }
96
- .tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
97
- left: 5px;
98
- }
99
- .tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span {
100
- right: 6px;
101
- }
102
- .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {
103
- right: 5px;
104
- }
105
- .tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {
106
- border-top: 8px solid transparent !important;
107
- border-bottom: 8px solid transparent !important;
108
- border-left: 8px solid;
109
- top: 50%;
110
- margin-top: -7px;
111
- right: -8px;
112
- }
113
- .tooltipster-arrow-left .tooltipster-arrow-border {
114
- border-top: 9px solid transparent !important;
115
- border-bottom: 9px solid transparent !important;
116
- border-left: 9px solid;
117
- margin-top: -8px;
118
- }
119
- .tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {
120
- border-top: 8px solid transparent !important;
121
- border-bottom: 8px solid transparent !important;
122
- border-right: 8px solid;
123
- top: 50%;
124
- margin-top: -7px;
125
- left: -8px;
126
- }
127
- .tooltipster-arrow-right .tooltipster-arrow-border {
128
- border-top: 9px solid transparent !important;
129
- border-bottom: 9px solid transparent !important;
130
- border-right: 9px solid;
131
- margin-top: -8px;
132
- }
133
- /* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */
134
- .tooltipster-fade {
135
- opacity: 0;
136
- -webkit-transition-property: opacity;
137
- -moz-transition-property: opacity;
138
- -o-transition-property: opacity;
139
- -ms-transition-property: opacity;
140
- transition-property: opacity;
141
- }
142
- .tooltipster-fade-show {
143
- opacity: 1;
144
- }
145
- .tooltipster-grow {
146
- -webkit-transform: scale(0,0);
147
- -moz-transform: scale(0,0);
148
- -o-transform: scale(0,0);
149
- -ms-transform: scale(0,0);
150
- transform: scale(0,0);
151
- -webkit-transition-property: -webkit-transform;
152
- -moz-transition-property: -moz-transform;
153
- -o-transition-property: -o-transform;
154
- -ms-transition-property: -ms-transform;
155
- transition-property: transform;
156
- -webkit-backface-visibility: hidden;
157
- }
158
- .tooltipster-grow-show {
159
- -webkit-transform: scale(1,1);
160
- -moz-transform: scale(1,1);
161
- -o-transform: scale(1,1);
162
- -ms-transform: scale(1,1);
163
- transform: scale(1,1);
164
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
165
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
166
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
167
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
168
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
169
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
170
- }
171
-
172
- .tooltipster-swing {
173
- opacity: 0;
174
- -webkit-transform: rotateZ(4deg);
175
- -moz-transform: rotateZ(4deg);
176
- -o-transform: rotateZ(4deg);
177
- -ms-transform: rotateZ(4deg);
178
- transform: rotateZ(4deg);
179
- -webkit-transition-property: -webkit-transform, opacity;
180
- -moz-transition-property: -moz-transform;
181
- -o-transition-property: -o-transform;
182
- -ms-transition-property: -ms-transform;
183
- transition-property: transform;
184
- }
185
- .tooltipster-swing-show {
186
- opacity: 1;
187
- -webkit-transform: rotateZ(0deg);
188
- -moz-transform: rotateZ(0deg);
189
- -o-transform: rotateZ(0deg);
190
- -ms-transform: rotateZ(0deg);
191
- transform: rotateZ(0deg);
192
- -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);
193
- -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
194
- -moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
195
- -ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
196
- -o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
197
- transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
198
- }
199
-
200
- .tooltipster-fall {
201
- top: 0;
202
- -webkit-transition-property: top;
203
- -moz-transition-property: top;
204
- -o-transition-property: top;
205
- -ms-transition-property: top;
206
- transition-property: top;
207
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
208
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
209
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
210
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
211
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
212
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
213
- }
214
- .tooltipster-fall-show {
215
- }
216
- .tooltipster-fall.tooltipster-dying {
217
- -webkit-transition-property: all;
218
- -moz-transition-property: all;
219
- -o-transition-property: all;
220
- -ms-transition-property: all;
221
- transition-property: all;
222
- top: 0px !important;
223
- opacity: 0;
224
- }
225
- .tooltipster-slide {
226
- left: -40px;
227
- -webkit-transition-property: left;
228
- -moz-transition-property: left;
229
- -o-transition-property: left;
230
- -ms-transition-property: left;
231
- transition-property: left;
232
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
233
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
234
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
235
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
236
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
237
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
238
- }
239
- .tooltipster-slide.tooltipster-slide-show {
240
- }
241
- .tooltipster-slide.tooltipster-dying {
242
- -webkit-transition-property: all;
243
- -moz-transition-property: all;
244
- -o-transition-property: all;
245
- -ms-transition-property: all;
246
- transition-property: all;
247
- left: 0px !important;
248
- opacity: 0;
249
- }
250
- /* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */
251
- .tooltipster-content-changing {
252
- opacity: 0.5;
253
- -webkit-transform: scale(1.1, 1.1);
254
- -moz-transform: scale(1.1, 1.1);
255
- -o-transform: scale(1.1, 1.1);
256
- -ms-transform: scale(1.1, 1.1);
257
- transform: scale(1.1, 1.1);
258
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/html.php CHANGED
@@ -5,72 +5,10 @@ class htmlGmp {
5
 
6
  static protected $_allowedHtml;
7
 
8
- static public function getAllowedHtml() {
9
- if (empty(self::$_allowedHtml)) {
10
- $allowedHtml = wp_kses_allowed_html();
11
-
12
- $newAllowedHtml = array( 'nav' => array( 'style' => 1, 'class' => 1, 'id' => 1, 'data-tab-key' => 1 ) , 'li' => array( 'style' => 1, 'class' => 1, 'id' => 1, 'data-tab-key' => 1 ) ,'button' => array( 'style' => 1, 'class' => 1, 'id' => 1, 'data-tab-key' => 1 ) , 'ul' => array( 'style' => 1, 'class' => 1, 'id' => 1, ) , 'ol' => array( 'style' => 1, 'class' => 1, 'id' => 1, ) , 'i' => array( 'style' => 1, 'class' => 1, 'id' => 1, 'title' => 1 ) , 'img' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'alt' => 1, 'border' => 1, ) , 'video' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'poster' => 1, 'autoplay' => 1, 'controls' => 1, 'crossorigin' => 1, 'autobuffer' => 1, 'buffered' => 1, 'played' => 1, 'loop' => 1, 'muted' => 1, 'preload' => 1, ) , 'track' => array( 'src' => 1, 'kind' => 1, 'label' => 1, 'srclang' => 1, ) , 'source' => array( 'src' => 1, 'type' => 1, ) , 'audio' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'autoplay' => 1, 'controls' => 1, 'crossorigin' => 1, 'loop' => 1, 'muted' => 1, 'preload' => 1, ) , 'iframe' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'title' => 1, 'allow' => 1, 'allowfullscreen' => 1, 'allowpaymentrequest' => 1, 'csp' => 1, 'height' => 1, 'loading' => 1, 'name' => 1, 'referrerpolicy' => 1, 'sandbox' => 1, 'srcdoc' => 1, ) , );
13
-
14
- $allowedDiv = array( 'div' => array( 'data-number' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'title' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-enb-color' => 1, 'data-enb-schedule' => 1, 'data-schedule-from' => 1, 'data-schedule-to' => 1, 'data-enb-badge' => 1, 'data-badge-badge_txt_color' => 1, 'data-badge-badge_bg_color' => 1, 'data-badge-badge_name' => 1, 'data-badge-badge_pos' => 1, 'data-old-number' => 1, 'data-selected-number' => 1, 'data-switch-type' => 1, 'data-toggle-0' => 1, 'data-toggle-1' => 1, 'data-toggle-2' => 1, 'data-toggle-3' => 1, 'data-toggle-4' => 1, 'data-toggle-5' => 1, 'data-toggle-6' => 1, 'data-toggle-7' => 1, 'data-toggle-8' => 1, 'data-toggle-9' => 1, 'data-toggle-10' => 1, ) , 'small' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ), 'span' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'pre' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'p' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'br' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'hr' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'hgroup' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'h1' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'h2' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'h3' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'h4' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'h5' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'h6' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'ul' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'ol' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'li' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'dl' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'dt' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'dd' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'strong' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'em' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'b' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'i' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'u' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'img' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'a' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'link' => 1, 'rel' => 1, 'href' => 1, 'target' => 1, ) , 'abbr' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'address' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'blockquote' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'area' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'audio' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'video' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'form' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'action' => 1, 'target' => 1, 'method' => 1, ) , 'fieldset' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'label' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'input' => array( 'disabled' => 1, 'checked' => 1, 'selected' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'value' => 1, 'type' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'name' => 1, 'src' => 1, 'border' => 1, 'alt' => 1, 'name' => 1, 'maxlength' => 1, ) , 'textarea' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'caption' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'table' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'tbody' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'td' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'tfoot' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'th' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'thead' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'tr' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'iframe' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'select' => array( 'multiple' => 1, 'style' => 1, 'id' => 1, 'name' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, ) , 'option' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'data-type' => 1, 'data-el' => 1, 'data-color' => 1, 'data-icon' => 1, 'data-bgcolor-elements' => 1, 'data-bgcolor-to' => 1, 'data-mce-style' => 1, 'selected' => 1, 'data-number' => 1, 'value' => 1, ) , 'sup' => array( ) , 'sub' => array( ) , );
15
-
16
- $allowedHtml = array_merge($allowedHtml, $allowedDiv);
17
- self::$_allowedHtml = array_merge($allowedHtml, $newAllowedHtml);
18
- }
19
- return self::$_allowedHtml;
20
- }
21
-
22
- static public function supStrRgbToHex($color) {
23
- preg_match_all("/\((.+?)\)/", $color, $matches);
24
- if (!empty($matches[1][0])) {
25
- $rgb = explode(',', $matches[1][0]);
26
- $size = count($rgb);
27
- if ($size == 3 || $size == 4) {
28
- if ($size == 4) {
29
- $alpha = array_pop($rgb);
30
- $alpha = floatval(trim($alpha));
31
- $alpha = ceil(($alpha * (255 * 100)) / 100);
32
- array_push($rgb, $alpha);
33
- }
34
-
35
- $result = '#';
36
- foreach ($rgb as $row) {
37
- $result .= str_pad(dechex(trim($row)), 2, '0', STR_PAD_LEFT);
38
- }
39
-
40
- return $result;
41
- }
42
- }
43
-
44
- return false;
45
- }
46
-
47
  static public function wpKsesHtml($inputHtml) {
48
- $str = $inputHtml;
49
- $allowedHtml = self::getAllowedHtml();
50
- if (!empty($str) && is_string($str)) {
51
- $str = htmlspecialchars_decode($str);
52
-
53
- $re = '/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/';
54
- $str = preg_replace_callback(
55
- $re,
56
- function($m) {
57
- return self::supStrRgbToHex($m[0]);
58
- },
59
- $str);
60
-
61
- $re = '/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\d*(?:\.\d+)?\)/';
62
- $str = preg_replace_callback(
63
- $re,
64
- function($m) {
65
- return self::supStrRgbToHex($m[0]);
66
- },
67
- $str);
68
-
69
- echo wp_kses($str, $allowedHtml);
70
- }
71
  }
72
 
73
-
74
  static public function block($name, $params= array('attrs' => '', 'value' => '')){
75
  $output .= '<p class="toe_'. self::nameToClassId($name). '">'.$params['value'].'</p>';
76
  //$output .= self::hidden($name, $params);
5
 
6
  static protected $_allowedHtml;
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  static public function wpKsesHtml($inputHtml) {
9
+ return $inputHtml;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  }
11
 
 
12
  static public function block($name, $params= array('attrs' => '', 'value' => '')){
13
  $output .= '<p class="toe_'. self::nameToClassId($name). '">'.$params['value'].'</p>';
14
  //$output .= self::hidden($name, $params);
classes/view.php CHANGED
@@ -12,12 +12,119 @@ abstract class viewGmp extends baseObjectGmp {
12
  * @var string module code for this view
13
  */
14
  protected $_code = '';
15
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  public function display($tpl = '') {
17
  $tpl = (empty($tpl)) ? $this->_tpl : $tpl;
18
-
19
  if(($content = $this->getContent($tpl)) !== false) {
20
- echo $content;
21
  }
22
  }
23
  public function getPath($tpl) {
12
  * @var string module code for this view
13
  */
14
  protected $_code = '';
15
+ static protected $_allowedHtml;
16
+ static public function supStrRgbToHex($color) {
17
+ preg_match_all("/\((.+?)\)/", $color, $matches);
18
+ if (!empty($matches[1][0])) {
19
+ $rgb = explode(',', $matches[1][0]);
20
+ $size = count($rgb);
21
+ if ($size == 3 || $size == 4) {
22
+ if ($size == 4) {
23
+ $alpha = array_pop($rgb);
24
+ $alpha = floatval(trim($alpha));
25
+ $alpha = ceil(($alpha * (255 * 100)) / 100);
26
+ array_push($rgb, $alpha);
27
+ }
28
+ $result = '#';
29
+ foreach ($rgb as $row) {
30
+ $result .= str_pad(dechex(trim($row)), 2, '0', STR_PAD_LEFT);
31
+ }
32
+ return $result;
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+ static public function sanitizeString($str) {
38
+ $allowedHtml = self::getAllowedHtml();
39
+ if (!empty($str) && is_string($str)) {
40
+ $str = htmlspecialchars_decode($str);
41
+ $re = '/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/';
42
+ $str = preg_replace_callback(
43
+ $re,
44
+ function($m) {
45
+ return self::supStrRgbToHex($m[0]);
46
+ },
47
+ $str);
48
+ $re = '/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\d*(?:\.\d+)?\)/';
49
+ $str = preg_replace_callback(
50
+ $re,
51
+ function($m) {
52
+ return self::supStrRgbToHex($m[0]);
53
+ },
54
+ $str);
55
+ $str = wp_kses($str, $allowedHtml);
56
+ }
57
+ return $str;
58
+ }
59
+ static public function getAllowedHtml() {
60
+ if (empty(self::$_allowedHtml)) {
61
+ $allowedHtml = wp_kses_allowed_html();
62
+ $allowedDiv = array(
63
+ 'div' => array( 'data-tabs-for' => 1, 'data-type' => 1,'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'title' => 1, 'id' => 1, 'data-tooltip-content' => 1,),
64
+ 'section' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'title' => 1, 'id' => 1,),
65
+ 'nav' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'title' => 1, 'id' => 1,),
66
+ 'small' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
67
+ 'span' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
68
+ 'pre' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
69
+ 'p' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
70
+ 'br' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
71
+ 'hr' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
72
+ 'hgroup' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
73
+ 'h1' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
74
+ 'h2' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
75
+ 'h3' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
76
+ 'h4' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
77
+ 'h5' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
78
+ 'h6' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
79
+ 'ul' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
80
+ 'ol' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
81
+ 'li' => array( 'data-key' => 1, 'data-id' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
82
+ 'dl' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
83
+ 'dt' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
84
+ 'dd' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
85
+ 'strong' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
86
+ 'em' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
87
+ 'b' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
88
+ 'i' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'data-tooltip-content' => 1,),
89
+ 'u' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
90
+ 'img' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
91
+ 'a' => array( 'data-active-label' => 1, 'data-apply-label' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'link' => 1, 'rel' => 1, 'href' => 1, 'target' => 1, ),
92
+ 'abbr' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
93
+ 'address' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,),
94
+ 'blockquote' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1,) ,
95
+ 'area' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
96
+ 'form' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'action' => 1, 'target' => 1, 'method' => 1, ),
97
+ 'fieldset' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
98
+ 'label' => array( 'for' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
99
+ 'input' => array( 'onclick' => 1, 'data-type' => 1, 'data-hideid' => 1, 'placeholder' => 1, 'readonly' => 1, 'checked' => 1, 'disabled' => 1, 'selected' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'value' => 1, 'type' => 1, 'id' => 1, 'name' => 1, 'src' => 1, 'border' => 1, 'alt' => 1, 'name' => 1, 'maxlength' => 1, ) ,
100
+ 'textarea' => array( 'rows' => 1, 'cols' => 1, 'name' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
101
+ 'caption' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
102
+ 'table' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
103
+ 'tbody' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
104
+ 'td' => array( 'colspan' => 1, 'rowspan' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
105
+ 'tfoot' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
106
+ 'th' => array( 'colspan' => 1, 'rowspan' => 1, 'scope' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
107
+ 'thead' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
108
+ 'tr' => array( 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
109
+ 'select' => array( 'name' => 1, 'checked' => 1, 'disabled' => 1, 'selected' => 1, 'multiple' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, ) ,
110
+ 'option' => array( 'name' => 1, 'checked' => 1, 'disabled' => 1, 'selected' => 1, 'style' => 1, 'title' => 1, 'align' => 1, 'class' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'value' => 1, ),
111
+ 'sup' => array() ,
112
+ 'sub' => array() ,
113
+ 'button' => array( 'style' => 1, 'class' => 1, 'id' => 1 ) ,
114
+ 'img' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'alt' => 1, 'border' => 1, ) ,
115
+ 'track' => array( 'src' => 1, 'kind' => 1, 'label' => 1, 'srclang' => 1, ) ,
116
+ 'source' => array( 'src' => 1, 'type' => 1, ) ,
117
+ 'audio' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'autoplay' => 1, 'controls' => 1, 'crossorigin' => 1, 'loop' => 1, 'muted' => 1, 'preload' => 1, ) ,
118
+ 'iframe' => array( 'src' => 1, 'style' => 1, 'width' => 1, 'height' => 1, 'id' => 1, 'class' => 1, 'title' => 1, 'allow' => 1, 'allowfullscreen' => 1, 'allowpaymentrequest' => 1, 'csp' => 1, 'height' => 1, 'loading' => 1, 'name' => 1, 'referrerpolicy' => 1, 'sandbox' => 1, 'srcdoc' => 1, ) ,
119
+ );
120
+ self::$_allowedHtml = array_merge($allowedHtml, $allowedDiv);
121
+ }
122
+ return self::$_allowedHtml;
123
+ }
124
  public function display($tpl = '') {
125
  $tpl = (empty($tpl)) ? $this->_tpl : $tpl;
 
126
  if(($content = $this->getContent($tpl)) !== false) {
127
+ echo self::sanitizeString($content);
128
  }
129
  }
130
  public function getPath($tpl) {
config.php CHANGED
@@ -49,7 +49,7 @@
49
  define('GMP_EOL', "\n");
50
 
51
  define('GMP_PLUGIN_INSTALLED', true);
52
- define('GMP_VERSION_PLUGIN', '1.11.0'); //GMP_VERSION is pre-defined constant for PHP GMP module http://php.net/manual/en/book.gmp.php
53
  define('GMP_USER', 'user');
54
 
55
  define('GMP_CLASS_PREFIX', 'gmpc');
49
  define('GMP_EOL', "\n");
50
 
51
  define('GMP_PLUGIN_INSTALLED', true);
52
+ define('GMP_VERSION_PLUGIN', '1.11.1'); //GMP_VERSION is pre-defined constant for PHP GMP module http://php.net/manual/en/book.gmp.php
53
  define('GMP_USER', 'user');
54
 
55
  define('GMP_CLASS_PREFIX', 'gmpc');
css/style.css CHANGED
@@ -8,7 +8,7 @@
8
  border: 1px #fa4e7f solid !important;
9
  }
10
  .toeUpdateQtyButtonsWrapper {float:left; margin:4px 0 0 -22px;}
11
-
12
  .toeIncDecButton {
13
  width: 8px;
14
  height: 7px;
@@ -20,4 +20,4 @@
20
  .toeIncButton {
21
  margin-bottom:5px;
22
  background-position: top left;
23
- }
8
  border: 1px #fa4e7f solid !important;
9
  }
10
  .toeUpdateQtyButtonsWrapper {float:left; margin:4px 0 0 -22px;}
11
+
12
  .toeIncDecButton {
13
  width: 8px;
14
  height: 7px;
20
  .toeIncButton {
21
  margin-bottom:5px;
22
  background-position: top left;
23
+ }
css/supsystic-ui.css CHANGED
@@ -373,7 +373,7 @@ input[type="color"] {
373
  -o-transition-property: none;
374
  transition-property: none;
375
  }
376
- .supsystic-plugin .nav-tab-active,
377
  .supsystic-plugin .nav-tab-active:hover {
378
  background-color: #fff;
379
  border-bottom-color: #fff !important;
@@ -390,7 +390,7 @@ input[type="color"] {
390
  display: none;
391
  }
392
  /*buttons*/
393
- .supsystic-plugin .button,
394
  .supsystic-plugin .button-primary,
395
  .ui-dialog .button,
396
  .ui-dialog .button-primary,
@@ -439,7 +439,7 @@ input[type="color"] {
439
  .ui-dialog .button.active,
440
  .ui-dialog .button-primary.active,
441
  .ui-button.ui-state-hover,
442
- .ui-button:hover,
443
  .ui-button:focus {
444
  background: #4ae8ea !important;
445
  border-color: #4ae8ea !important;
@@ -808,4 +808,9 @@ html[dir="rtl"] .supsystic-plugin .supsystic-content .supsystic-container {
808
  }
809
  .ui-button .ui-button-text{
810
  display: none!important;
811
- }
 
 
 
 
 
373
  -o-transition-property: none;
374
  transition-property: none;
375
  }
376
+ .supsystic-plugin .nav-tab-active,
377
  .supsystic-plugin .nav-tab-active:hover {
378
  background-color: #fff;
379
  border-bottom-color: #fff !important;
390
  display: none;
391
  }
392
  /*buttons*/
393
+ .supsystic-plugin .button,
394
  .supsystic-plugin .button-primary,
395
  .ui-dialog .button,
396
  .ui-dialog .button-primary,
439
  .ui-dialog .button.active,
440
  .ui-dialog .button-primary.active,
441
  .ui-button.ui-state-hover,
442
+ .ui-button:hover,
443
  .ui-button:focus {
444
  background: #4ae8ea !important;
445
  border-color: #4ae8ea !important;
808
  }
809
  .ui-button .ui-button-text{
810
  display: none!important;
811
+ }
812
+ .tooltipContent { display: none; }
813
+ .tooltip_templates { display: none; }
814
+ #gmpMapAuthorizationFailWnd {display:none;}
815
+ #markerDescription-tmce {display:none !important}
816
+ table { table-layout: fixed; }
gmp.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Google Maps
4
  * Plugin URI: https://supsystic.com/plugins/google-maps-plugin/
5
  * Description: The easiest way to create Google Map with markers or locations. Display any data on the map: text, images, videos. Custom map marker icons
6
- * Version: 1.11.0
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: google-maps-easy
3
  * Plugin Name: Easy Google Maps
4
  * Plugin URI: https://supsystic.com/plugins/google-maps-plugin/
5
  * Description: The easiest way to create Google Map with markers or locations. Display any data on the map: text, images, videos. Custom map marker icons
6
+ * Version: 1.11.1
7
  * Author: supsystic.com
8
  * Author URI: https://supsystic.com
9
  * Text Domain: google-maps-easy
js/admin.options.js CHANGED
@@ -5,6 +5,9 @@ var gmpAdminFormChanged = [];
5
  return 'Some changes were not-saved. Are you sure you want to leave?';
6
  };*/
7
  jQuery(document).ready(function(){
 
 
 
8
  gmpInitMainPromoPopup();
9
  if(typeof(gmpActiveTab) != 'undefined' && gmpActiveTab != 'main_page' && jQuery('#toplevel_page_'+ gmpMainSlug).hasClass('wp-has-current-submenu')) {
10
  var subMenus = jQuery('#toplevel_page_'+ gmpMainSlug).find('.wp-submenu li');
@@ -116,44 +119,37 @@ function gmpResetCopyTextCodeFields(selector) {
116
  });
117
  }
118
  }
119
- function tooltipsterize(shell) {
120
  var tooltipsterSettings = {
121
  contentAsHTML: true
122
  , interactive: true
 
 
 
 
123
  , speed: 250
124
- , delay: 0
125
  , animation: 'swing'
126
  , maxWidth: 450
127
- , functionInit: function(origin, content) {
128
- // Check if there are image in tooltip
129
- if(content && typeof(content) === 'string' && content.indexOf('<img') !== -1) {
130
- // Preload all images from tooltip - to make it calc position correctly
131
- var $tmpDiv = jQuery('<div style="display: none;" />').appendTo('body').html(content);
132
- $tmpDiv.on('load',function(){
133
- $tmpDiv.remove();
134
- });
135
- }
136
- }
137
- }
138
- , classToPos = {
139
- '.supsystic-tooltip': 'top-left'
140
- , '.supsystic-tooltip-bottom': 'bottom-left'
141
- , '.supsystic-tooltip-left': 'left'
142
- , '.supsystic-tooltip-right': 'right'
143
  };
144
- for(var className in classToPos) {
145
- if(shell) {
146
- if(jQuery(shell).find( className ).length) {
147
- tooltipsterSettings.position = classToPos[ className ];
148
- jQuery(shell).find( className ).tooltipster( tooltipsterSettings );
149
- }
150
- } else {
151
- if(jQuery( className ).length) {
152
- tooltipsterSettings.position = classToPos[ className ];
153
- jQuery( className ).tooltipster( tooltipsterSettings );
154
- }
 
 
 
 
155
  }
156
- }
 
 
157
  }
158
  function changeAdminFormGmp(formId) {
159
  if(jQuery.inArray(formId, gmpAdminFormChanged) == -1)
5
  return 'Some changes were not-saved. Are you sure you want to leave?';
6
  };*/
7
  jQuery(document).ready(function(){
8
+
9
+ jQuery("body").find(".ui-button").html('');
10
+
11
  gmpInitMainPromoPopup();
12
  if(typeof(gmpActiveTab) != 'undefined' && gmpActiveTab != 'main_page' && jQuery('#toplevel_page_'+ gmpMainSlug).hasClass('wp-has-current-submenu')) {
13
  var subMenus = jQuery('#toplevel_page_'+ gmpMainSlug).find('.wp-submenu li');
119
  });
120
  }
121
  }
122
+ function tooltipsterize() {
123
  var tooltipsterSettings = {
124
  contentAsHTML: true
125
  , interactive: true
126
+ , theme: 'tooltipster-shadow'
127
+ , contentCloning: true
128
+ , animation: 'fade'
129
+ , delay: 200
130
  , speed: 250
 
131
  , animation: 'swing'
132
  , maxWidth: 450
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  };
134
+ jQuery('body').append('<div class="tooltip_templates"></div>');
135
+ jQuery('.tooltipContent').each(function() {
136
+ var html = jQuery(this).prop('outerHTML');
137
+ jQuery('.tooltip_templates').append(html);
138
+ jQuery(this).remove();
139
+ });
140
+ var counter = 101;
141
+ jQuery('body').find('.supsystic-tooltip').each(function(){
142
+ counter = counter + 1;
143
+ var title = jQuery(this).attr('title');
144
+ if (title) {
145
+ jQuery(this).attr('title','');
146
+ jQuery(this).attr('data-tooltip-content', '#tooltip_'+counter+'');
147
+ var html = '<span class="tooltipContent" id="tooltip_'+counter+'">'+title+'</span>';
148
+ jQuery('.tooltip_templates').append(html);
149
  }
150
+ });
151
+ jQuery('body').find('.tooltipContent').show();
152
+ jQuery('[data-tooltip-content]').tooltipster( tooltipsterSettings );
153
  }
154
  function changeAdminFormGmp(formId) {
155
  if(jQuery.inArray(formId, gmpAdminFormChanged) == -1)
modules/gmap/js/admin.gmap.edit.js CHANGED
@@ -185,17 +185,20 @@ jQuery(document).ready(function(){
185
  mrParams['map_id'] = res.data.map_id;
186
  mrParams = ArrayToURL(mrParams);
187
  newMarkersTblUrl += mrParams;
188
- jQuery("#gmpMarkersListGrid").jqGrid('setGridParam', { url: newMarkersTblUrl });
 
189
 
190
  // Update Shapes table link
191
  if(GMP_DATA.isPro) {
 
192
  var shParams = URLToArray(gmpShapesTblDataUrl)
193
  , newShapesTblUrl = gmpShapesTblDataUrl.substring(0, gmpShapesTblDataUrl.indexOf('?') + 1);
194
 
195
  shParams['map_id'] = res.data.map_id;
196
  shParams = ArrayToURL(shParams);
197
  newShapesTblUrl += shParams;
198
- jQuery("#gmpShapesListGrid").jqGrid('setGridParam', { url: newShapesTblUrl });
 
199
  }
200
  }
201
  if(firstTime) {
185
  mrParams['map_id'] = res.data.map_id;
186
  mrParams = ArrayToURL(mrParams);
187
  newMarkersTblUrl += mrParams;
188
+ jQuery("#gmpMarkersListGrid").jqGrid('setGridParam', { url: newMarkersTblUrl, width: null,
189
+ shrinkToFit: false, });
190
 
191
  // Update Shapes table link
192
  if(GMP_DATA.isPro) {
193
+ gmpMarkersTblDataUrl = gmpMarkersTblDataUrl[0];
194
  var shParams = URLToArray(gmpShapesTblDataUrl)
195
  , newShapesTblUrl = gmpShapesTblDataUrl.substring(0, gmpShapesTblDataUrl.indexOf('?') + 1);
196
 
197
  shParams['map_id'] = res.data.map_id;
198
  shParams = ArrayToURL(shParams);
199
  newShapesTblUrl += shParams;
200
+ jQuery("#gmpShapesListGrid").jqGrid('setGridParam', { url: newShapesTblUrl, width: null,
201
+ shrinkToFit: false, });
202
  }
203
  }
204
  if(firstTime) {
modules/gmap/js/admin.gmap.list.js CHANGED
@@ -1,6 +1,6 @@
1
  jQuery(document).ready(function(){
2
  var tblId = 'gmpGmapTbl';
3
- jQuery('#'+ tblId).jqGrid({
4
  url: gmpTblDataUrl
5
  , datatype: 'json'
6
  , autowidth: true
@@ -26,7 +26,7 @@ jQuery(document).ready(function(){
26
  , sortorder: 'desc'
27
  , jsonReader: { repeatitems : false, id: '0' }
28
  , caption: toeLangGmp('Current Map')
29
- , height: '100%'
30
  , emptyrecords: toeLangGmp('You have no Map for now.')
31
  , multiselect: true
32
  , onSelectRow: function(rowid, e) {
@@ -65,7 +65,7 @@ jQuery(document).ready(function(){
65
  // Custom checkbox manipulation
66
  gmpInitCustomCheckRadio('#'+ jQuery(this).attr('id') );
67
  gmpCheckUpdate('#cb_'+ jQuery(this).attr('id'));
68
- tooltipsterize( jQuery('#'+ tblId) );
69
  }
70
  , loadComplete: function() {
71
  var tblId = jQuery(this).attr('id');
@@ -95,7 +95,7 @@ jQuery(document).ready(function(){
95
  }, tblId);
96
  }
97
  });
98
-
99
  jQuery('#'+ tblId+ 'EmptyMsg').insertAfter(jQuery('#'+ tblId+ '').parent());
100
  jQuery('#'+ tblId+ '').jqGrid('navGrid', '#'+ tblId+ 'Nav', {edit: false, add: false, del: false});
101
  jQuery('#cb_'+ tblId+ '').change(function(){
@@ -178,7 +178,7 @@ jQuery(document).ready(function(){
178
  }
179
  return false;
180
  });*/
181
-
182
  gmpInitCustomCheckRadio('#'+ tblId+ '_cb');
183
  });
184
  function gmpRemoveMapFromTblClick(mapId){
@@ -189,7 +189,7 @@ function gmpRemoveMapFromTblClick(mapId){
189
  return false;
190
  }
191
  var msgEl = jQuery('#gmpRemoveElemLoader__'+ mapId);
192
-
193
  jQuery.sendFormGmp({
194
  msgElID: msgEl
195
  , data: {action: 'remove', mod: 'gmap', id: mapId}
1
  jQuery(document).ready(function(){
2
  var tblId = 'gmpGmapTbl';
3
+ jQuery('#'+ tblId).jqGrid({
4
  url: gmpTblDataUrl
5
  , datatype: 'json'
6
  , autowidth: true
26
  , sortorder: 'desc'
27
  , jsonReader: { repeatitems : false, id: '0' }
28
  , caption: toeLangGmp('Current Map')
29
+ , height: '100%'
30
  , emptyrecords: toeLangGmp('You have no Map for now.')
31
  , multiselect: true
32
  , onSelectRow: function(rowid, e) {
65
  // Custom checkbox manipulation
66
  gmpInitCustomCheckRadio('#'+ jQuery(this).attr('id') );
67
  gmpCheckUpdate('#cb_'+ jQuery(this).attr('id'));
68
+ //tooltipsterize( jQuery('#'+ tblId) );
69
  }
70
  , loadComplete: function() {
71
  var tblId = jQuery(this).attr('id');
95
  }, tblId);
96
  }
97
  });
98
+
99
  jQuery('#'+ tblId+ 'EmptyMsg').insertAfter(jQuery('#'+ tblId+ '').parent());
100
  jQuery('#'+ tblId+ '').jqGrid('navGrid', '#'+ tblId+ 'Nav', {edit: false, add: false, del: false});
101
  jQuery('#cb_'+ tblId+ '').change(function(){
178
  }
179
  return false;
180
  });*/
181
+
182
  gmpInitCustomCheckRadio('#'+ tblId+ '_cb');
183
  });
184
  function gmpRemoveMapFromTblClick(mapId){
189
  return false;
190
  }
191
  var msgEl = jQuery('#gmpRemoveElemLoader__'+ mapId);
192
+
193
  jQuery.sendFormGmp({
194
  msgElID: msgEl
195
  , data: {action: 'remove', mod: 'gmap', id: mapId}
modules/gmap/views/tpl/gmapEditMap.php CHANGED
@@ -85,7 +85,10 @@
85
  <label class="label-big" for="map_opts_title">
86
  <?php _e('Map Name', GMP_LANG_CODE)?>:
87
  </label>
88
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Your map name', GMP_LANG_CODE)?>"></i>
 
 
 
89
  </th>
90
  <td>
91
  <?php echo htmlGmp::wpKsesHtml(htmlGmp::text('map_opts[title]', array(
@@ -99,7 +102,10 @@
99
  <label for="map_opts_width">
100
  <?php _e('Map Width', GMP_LANG_CODE)?>:
101
  </label>
102
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Your map width', GMP_LANG_CODE)?>"></i>
 
 
 
103
  </th>
104
  <td>
105
  <div class="sup-col sup-w-25">
@@ -125,13 +131,16 @@
125
  <label for="map_opts_height">
126
  <?php _e('Map Height', GMP_LANG_CODE)?>:
127
  </label>
128
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Your map height.' .
129
- '<br /><br />If Adapt map to screen height option is checked - map height will be recalculated on frontend and can be equals to:' .
130
- '<ul>' .
131
- '<li>1) your device screen height - height from top of page to top of map (if screen height > height from top of page to top of map)</li>' .
132
- '<li>2) your device screen height (in other cases)</li>' .
133
- '</ul>' .
134
- 'Recalculation will be done for maps in page content and widgets except of maps which displaying in Easy Google Maps widget popup (Display as image mode).', GMP_LANG_CODE)?>"></i>
 
 
 
135
  </th>
136
  <td>
137
  <div class="gmpMainHeightOpts sup-col sup-w-50 no-p">
@@ -191,7 +200,10 @@
191
  <label for="map_opts_type_control">
192
  <?php _e('Map type control', GMP_LANG_CODE)?>:
193
  </label>
194
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Control view for map type - you can see it in left upper corner by default', GMP_LANG_CODE)?>"></i>
 
 
 
195
  </th>
196
  <td>
197
  <div class="sup-col sup-w-50">
@@ -278,52 +290,6 @@
278
  </div>
279
  </td>
280
  </tr>
281
- <?php /* ?>
282
- <tr>
283
- <th scope="row">
284
- <label for="map_optspan_control_check">
285
- <?php _e('Pan control', GMP_LANG_CODE)?>:
286
- </label>
287
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Pan control - allow you to pan over your map using mouse, usually is located on left upper corner of your map', GMP_LANG_CODE)?>"></i>
288
- </th>
289
- <td>
290
- <div class="sup-col sup-w-50">
291
- <?php echo htmlGmp::checkboxHiddenVal('map_opts[pan_control]', array(
292
- 'value' => $this->editMap && isset($this->map['params']['pan_control']) ? $this->map['params']['pan_control'] : false,
293
- ))?>
294
- </div>
295
- <div class="sup-col sup-w-50">
296
- <?php $proLink =frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=pan_control_position&utm_campaign=googlemaps'); ?>
297
- <i class="fa fa-arrows supsystic-tooltip" title="<?php _e('Change pan control position on map', GMP_LANG_CODE)?>"></i>
298
- <?php echo htmlGmp::selectbox('map_opts[pan_control_position]', array(
299
- 'options' => $this->positionsList,
300
- 'value' => $this->editMap && isset($this->map['params']['pan_control_position']) ? $this->map['params']['pan_control_position'] : 'TOP_LEFT',
301
- 'attrs' => 'data-for="panControlOptions" class="gmpMapPosChangeSelect '. $addProElementClass. '"'. (empty($addProElementAttrs) ? '' : sprintf($addProElementAttrs, $proLink, $proLink))
302
- ))?>
303
- <?php if(!$this->isPro) { ?>
304
- <span class="gmpProOptMiniLabel" style="padding-left: 20px;"><a target="_blank" href="<?php echo $proLink?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
305
- <?php }?>
306
- </div>
307
- </td>
308
- </tr>
309
- <tr>
310
- <th scope="row">
311
- <label for="map_opts_overview_control">
312
- <?php _e('Overview control', GMP_LANG_CODE)?>:
313
- </label>
314
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Overview control for your map, by default is disabled, and if enabled - is located on the right bottom corner', GMP_LANG_CODE)?>"></i>
315
- </th>
316
- <td>
317
- <div class="sup-col" style="width: 100%;">
318
- <?php echo htmlGmp::selectbox('map_opts[overview_control]', array(
319
- 'options' => array('none' => __('None', GMP_LANG_CODE), 'opened' => __('Opened', GMP_LANG_CODE), 'collapsed' => __('Collapsed', GMP_LANG_CODE)),
320
- 'value' => $this->editMap && isset($this->map['params']['overview_control']) ? $this->map['params']['overview_control'] : 'none',
321
- 'attrs' => 'style="width: 100%;" id="map_opts_overview_control"'))?>
322
- </div>
323
- </td>
324
- </tr>
325
- <?php */ ?>
326
-
327
  <tr>
328
  <td colspan="2" style="padding: 0;">
329
  <table class="form-table">
@@ -423,12 +389,15 @@
423
  <label for="map_opts_zoom_type" class="sup-medium-label">
424
  <?php _e('Map Zoom', GMP_LANG_CODE)?>:
425
  </label>
426
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Sets map zoom.<br /><br />
427
- <b>Preset Zoom</b> - sets zoom value for map. You can change this value just change zoom on the map preview.<br /><br />
428
- <b>Fit Bounds</b> - map zoom will be changed on frontend in a way that all markers and figures will be visible.<br /><br />
429
- <b>Min Zoom Level</b> - sets minimum zoom level (maximum estrangement), which can be applied for map.<br /><br />
430
- <b>Max Zoom Level</b> - sets maximum zoom level (maximum approximation), which can be applied for map.
431
- ', GMP_LANG_CODE)?>"></i>
 
 
 
432
  </th>
433
  <td>
434
  <?php
@@ -442,7 +411,7 @@
442
  'attrs' => 'style="width: 100%;"')))?>
443
  <div id="zoom_type_options">
444
  <div>
445
- <div class="zoom_level sup-col sup-w-50" style="display: none; margin-top: 10px;">
446
  <label for="map_opts_zoom">
447
  <?php _e('Zoom Level', GMP_LANG_CODE)?>
448
  </label>
@@ -452,7 +421,7 @@
452
  'attrs' => 'style="width: 100%;"')))?>
453
  <?php //echo htmlGmp::hidden('map_opts[zoom]', array('value' => $this->editMap ? $this->map['params']['zoom'] : ''))?>
454
  </div>
455
- <div class="zoom_level sup-col sup-w-50" style="display: none; margin-top: 10px;">
456
  <label for="map_opts_zoom_mobile">
457
  <?php _e('Mobile Zoom Level', GMP_LANG_CODE)?>
458
  </label>
@@ -643,7 +612,10 @@
643
  <div class="sup-col" style="width: 100%;">
644
  <h4>
645
  <span><?php _e('Autoplay options', GMP_LANG_CODE)?></span>
646
- <i class="fa fa-question supsystic-tooltip" title="<?php _e('Using for all markers lists types with slides.<br /><br /><b>Steps</b>: Steps to go for each auto play request. Possible value can be 1, 2, -1, -2 ...<br /><br /><b>Idle</b>: Interval to go for next slide since the previous stopped if the slider is auto playing, default value is 3000<br /><br /><b>Duration</b>: Specifies default duration (swipe) for slide in milliseconds, default value is 160', GMP_LANG_CODE)?>" style="float: right;margin-right: -15px;"></i>
 
 
 
647
  </h4>
648
  </div>
649
  </div>
@@ -745,12 +717,14 @@
745
  <label for="map_opts_add_kml_layers">
746
  <?php _e('Add KML layers', GMP_LANG_CODE)?>:
747
  </label>
748
- <i class="fa fa-question supsystic-tooltip" style="float: right;" title="<?php _e('Add KML files to display custom layers on the map. Additional options:' .
749
- '<br /><br /><b>Enable KML layers filter</b> - add form to map for dynamically enable / disable KML layers and sublayers. <br /><br /> <b>Load KML faster</b> - Use for large KML files. <b>Warning </b>- filters will stop working!<br', GMP_LANG_CODE);
750
- if(!$this->isPro){
751
- echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/kml/kml.png" /></a>');
752
- }?>"
753
- ></i>
 
 
754
  <?php if(!$this->isPro) { ?>
755
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
756
  <?php }?>
@@ -839,14 +813,15 @@
839
  <label for="map_opts_enable_custom_map_controls">
840
  <?php _e('Custom Map Controls', GMP_LANG_CODE)?>:
841
  </label>
842
- <i
843
- style="float: right;"
844
- class="fa fa-question supsystic-tooltip"
845
- title="<?php _e('Add custom map controls to the map.', GMP_LANG_CODE);
846
  if(!$this->isPro){
847
  echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/custom_controls/custom_map_controls.png" /></a>');
848
- }?>"
849
- ></i>
 
850
  <?php if(!$this->isPro) { ?>
851
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
852
  <?php }?>
@@ -1102,16 +1077,19 @@
1102
  <label for="map_opts_frontend_add_markers">
1103
  <?php _e('Add markers on frontend', GMP_LANG_CODE)?>:
1104
  </label>
1105
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e("You can add markers at the current map with the frontend using the form, which can be displayed using the shortcode (it placed below preview map). Additional options that affect the operation of the form:" .
1106
- "<br /><br /><b>Logged In Users Only</b> - form will be displayed only for logged in users." .
1107
- "<br /><br /><b>Disable WP Editor</b> - disable / enable WP Editor for the Marker Description field of the form." .
1108
- "<br /><br /><b>Delete markers</b> - disable / enable interface for deleting markers on frontend. Each user can delete only his own markers." .
1109
- "<br /><br /><b>Use markers categories</b> - disable / enable interface for choose the marker category on frontend." .
1110
- "<br /><br /><b>Use limits for marker's adding</b> - allows you to limit the number of markers, which user can add from one IP address at the current map for a certain amount of time." .
1111
- "<br /><br /><b>Max marker's count</b> - the maximum number of markers, which can be added over certain amount of time." .
1112
- "<br /><br /><b>For allotted time (minutes)</b> - the number of minutes, during which you can add the maximum number of markers." .
1113
- "<br /><br />For example, during three minutes you can add only two markers at the map. If you try to add a third marker - the form will not be saved and you will see the notice with amount of time you must wait. After the right amount of time will pass - you can add next two markers, etc." .
1114
- "<br /><br />You can add markers at the current map with the frontend using the form, which can be displayed using the shortcode. Please place this shortcode at the same page as it's map map. Please note that the page will be overloaded after adding marker.", GMP_LANG_CODE)?>"></i>
 
 
 
1115
  <?php if(!$this->isPro) { ?>
1116
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=frontend_add_markers&utm_campaign=googlemaps'); ?>
1117
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
@@ -1189,11 +1167,14 @@
1189
  <label for="map_opts_places_en_toolbar">
1190
  <?php _e('Use Places Toolbar', GMP_LANG_CODE)?>:
1191
  </label>
1192
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e("Activate the toolbar for search Places (restaurants, schools, museums, etc.) on the map. Use the shortcode to display toolbar on wherever you need, but toolbar must be placed on the same page as its map.", GMP_LANG_CODE);
1193
- echo '<br />';
1194
- if(!$this->isPro){
1195
- echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/places/places.png" /></a>');
1196
- }?>"></i>
 
 
 
1197
  <?php if(!$this->isPro) { ?>
1198
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=places_toolbar&utm_campaign=googlemaps'); ?>
1199
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
@@ -1464,12 +1445,13 @@
1464
  <label for="map_opts_enable_directions_btn">
1465
  <?php _e('Directions Button', GMP_LANG_CODE)?>:
1466
  </label>
1467
- <i style="float: right;" class="fa fa-question supsystic-tooltip"
1468
- title="<?php _e('Add a button at marker info window to get direction from the entered address to the marker. If Show route data option is enabled - the total route time and distance will be shown by click on the route polyline.', GMP_LANG_CODE);
 
1469
  if(!$this->isPro){
1470
  echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/directions/get_directions.png" /></a>');
1471
- }?>"
1472
- ></i>
1473
  <?php if(!$this->isPro) { ?>
1474
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1475
  <?php }?>
@@ -1715,39 +1697,6 @@
1715
  'checked' => '')))?>
1716
  </td>
1717
  </tr>
1718
- <tr style="display: none;">
1719
- <th scope="row">
1720
- <label for="marker_opts_marker_list_def_img">
1721
- <?php _e('Marker List Default Image', GMP_LANG_CODE)?>:
1722
- </label>
1723
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('If there is no image tag in the marker description - this image will be used for displaying in the map\'s markers list', GMP_LANG_CODE)?>"></i>
1724
- </th>
1725
- <td>
1726
- <?php echo htmlGmp::wpKsesHtml(htmlGmp::checkbox('marker_opts[params][marker_list_def_img]', array(
1727
- 'checked' => '')))?>
1728
- <div id="gmpMarkerListDefImgOptions" style="display: none;">
1729
- <a href="#"
1730
- id="gmpMarkerListDefImgUploadFileBtn"
1731
- class="button gmpProOpt"
1732
- title="<?php _e('Upload', GMP_LANG_CODE)?>"
1733
- data-nonce="<?php echo wp_create_nonce('upload-marker-list-def-img-file')?>"
1734
- data-url="<?php echo uriGmp::_(array(
1735
- 'baseUrl' => admin_url('admin-ajax.php'),
1736
- 'page' => 'add_map_options',
1737
- 'action' => 'addFromFile',
1738
- 'reqType' => 'ajax',
1739
- 'pl' => GMP_CODE))?>"
1740
- style="float: right;">
1741
- <i class="fa fa-upload"></i>
1742
- </a>
1743
- <?php echo htmlGmp::wpKsesHtml(htmlGmp::text('marker_opts[params][marker_list_def_img_url]', array(
1744
- 'value' => '',
1745
- 'attrs' => 'id="gmpMarkerListDefImgUrl" style="width: 78%; margin-right: 5px; float: right;"',
1746
- )))?>
1747
- <span class="gmpMarkerListDefImgUploadMsg" style=" float: right; width: 100%; text-align: right;" ></span>
1748
- </div>
1749
- </td>
1750
- </tr>
1751
  <tr>
1752
  <th scope="row">
1753
  <label for="marker_opts_clasterer_exclude">
@@ -1766,7 +1715,11 @@
1766
  <label>
1767
  <?php _e('Display period for the markers', GMP_LANG_CODE)?>:
1768
  </label>
1769
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Display markers on the map by a selected period. A marker will automatically start to appear on the specified date and disappear automatically at the appointed time.', GMP_LANG_CODE)?> </br> <a href='https://supsystic.com/example/markers-displaying-by-period/'>https://supsystic.com/example/markers-displaying-by-period/</a> </br></br> <img style='width:100%' src=''>"></i>
 
 
 
 
1770
  <?php if(!$this->isPro) { ?>
1771
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=marker_period_from&utm_campaign=googlemaps'); ?>
1772
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
@@ -1780,7 +1733,7 @@
1780
  <label>
1781
  <?php _e('Period From', GMP_LANG_CODE);?>
1782
  </label>
1783
- <!-- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="--><?php //_e('', GMP_LANG_CODE); ?><!--"></i>-->
1784
  <?php if(!$this->isPro) { ?>
1785
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=marker_period_from&utm_campaign=googlemaps'); ?>
1786
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
@@ -1802,7 +1755,7 @@
1802
  <label>
1803
  <?php _e('Period To', GMP_LANG_CODE);?>
1804
  </label>
1805
- <!-- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="--><?php //_e('', GMP_LANG_CODE); ?><!--"></i>-->
1806
  <?php if(!$this->isPro) { ?>
1807
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=marker_period_to&utm_campaign=googlemaps'); ?>
1808
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo $proLink?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
@@ -1849,10 +1802,12 @@
1849
  <label class="label-big" for="shape_opts_type">
1850
  <?php _e('Figure Type', GMP_LANG_CODE)?>:
1851
  </label>
1852
- <i style="float: right;" class="fa fa-question supsystic-tooltip" title="<?php _e('Type of your figure:' .
1853
- '<br /><br /><b>Polyline</b> - a series of straight segments on the map.' .
1854
- '<br /><br /><b>Polygon</b> - area enclosed by a closed path (or loop), which is defined by a series of coordinates.' .
1855
- '<br /><br /><b>Circle</b> - circle shape,defined by center coordinates and radius.', GMP_LANG_CODE)?>"></i>
 
 
1856
  </th>
1857
  <td>
1858
  <?php echo htmlGmp::wpKsesHtml(htmlGmp::selectbox('shape_opts[type]', array(
85
  <label class="label-big" for="map_opts_title">
86
  <?php _e('Map Name', GMP_LANG_CODE)?>:
87
  </label>
88
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_01"></i>
89
+ <span class="tooltipContent" id="tooltip_01">
90
+ <?php _e('Your map name', GMP_LANG_CODE)?>
91
+ </span>
92
  </th>
93
  <td>
94
  <?php echo htmlGmp::wpKsesHtml(htmlGmp::text('map_opts[title]', array(
102
  <label for="map_opts_width">
103
  <?php _e('Map Width', GMP_LANG_CODE)?>:
104
  </label>
105
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_02"></i>
106
+ <span class="tooltipContent" id="tooltip_02">
107
+ <?php _e('Your map width', GMP_LANG_CODE)?>
108
+ </span>
109
  </th>
110
  <td>
111
  <div class="sup-col sup-w-25">
131
  <label for="map_opts_height">
132
  <?php _e('Map Height', GMP_LANG_CODE)?>:
133
  </label>
134
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_03"></i>
135
+ <span class="tooltipContent" id="tooltip_03">
136
+ <?php _e('Your map height.' .
137
+ '<br /><br />If Adapt map to screen height option is checked - map height will be recalculated on frontend and can be equals to:' .
138
+ '<ul>' .
139
+ '<li>1) your device screen height - height from top of page to top of map (if screen height > height from top of page to top of map)</li>' .
140
+ '<li>2) your device screen height (in other cases)</li>' .
141
+ '</ul>' .
142
+ 'Recalculation will be done for maps in page content and widgets except of maps which displaying in Easy Google Maps widget popup (Display as image mode).', GMP_LANG_CODE)?>
143
+ </span>
144
  </th>
145
  <td>
146
  <div class="gmpMainHeightOpts sup-col sup-w-50 no-p">
200
  <label for="map_opts_type_control">
201
  <?php _e('Map type control', GMP_LANG_CODE)?>:
202
  </label>
203
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_04"></i>
204
+ <span class="tooltipContent" id="tooltip_04">
205
+ <?php _e('Control view for map type - you can see it in left upper corner by default', GMP_LANG_CODE)?>
206
+ </span>
207
  </th>
208
  <td>
209
  <div class="sup-col sup-w-50">
290
  </div>
291
  </td>
292
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  <tr>
294
  <td colspan="2" style="padding: 0;">
295
  <table class="form-table">
389
  <label for="map_opts_zoom_type" class="sup-medium-label">
390
  <?php _e('Map Zoom', GMP_LANG_CODE)?>:
391
  </label>
392
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_05"></i>
393
+ <span class="tooltipContent" id="tooltip_05">
394
+ <?php _e('Sets map zoom.<br /><br />
395
+ <b>Preset Zoom</b> - sets zoom value for map. You can change this value just change zoom on the map preview.<br /><br />
396
+ <b>Fit Bounds</b> - map zoom will be changed on frontend in a way that all markers and figures will be visible.<br /><br />
397
+ <b>Min Zoom Level</b> - sets minimum zoom level (maximum estrangement), which can be applied for map.<br /><br />
398
+ <b>Max Zoom Level</b> - sets maximum zoom level (maximum approximation), which can be applied for map.
399
+ ', GMP_LANG_CODE)?>
400
+ </span>
401
  </th>
402
  <td>
403
  <?php
411
  'attrs' => 'style="width: 100%;"')))?>
412
  <div id="zoom_type_options">
413
  <div>
414
+ <div class="zoom_level sup-col sup-w-50" style="margin-top: 10px;">
415
  <label for="map_opts_zoom">
416
  <?php _e('Zoom Level', GMP_LANG_CODE)?>
417
  </label>
421
  'attrs' => 'style="width: 100%;"')))?>
422
  <?php //echo htmlGmp::hidden('map_opts[zoom]', array('value' => $this->editMap ? $this->map['params']['zoom'] : ''))?>
423
  </div>
424
+ <div class="zoom_level sup-col sup-w-50" style="margin-top: 10px;">
425
  <label for="map_opts_zoom_mobile">
426
  <?php _e('Mobile Zoom Level', GMP_LANG_CODE)?>
427
  </label>
612
  <div class="sup-col" style="width: 100%;">
613
  <h4>
614
  <span><?php _e('Autoplay options', GMP_LANG_CODE)?></span>
615
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_12" style="float: right;margin-right: -15px;"></i>
616
+ <span class="tooltipContent" id="tooltip_12">
617
+ <?php _e('Using for all markers lists types with slides.<br /><br /><b>Steps</b>: Steps to go for each auto play request. Possible value can be 1, 2, -1, -2 ...<br /><br /><b>Idle</b>: Interval to go for next slide since the previous stopped if the slider is auto playing, default value is 3000<br /><br /><b>Duration</b>: Specifies default duration (swipe) for slide in milliseconds, default value is 160', GMP_LANG_CODE)?>
618
+ </span>
619
  </h4>
620
  </div>
621
  </div>
717
  <label for="map_opts_add_kml_layers">
718
  <?php _e('Add KML layers', GMP_LANG_CODE)?>:
719
  </label>
720
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_06"></i>
721
+ <span class="tooltipContent" id="tooltip_06">
722
+ <?php _e('Add KML files to display custom layers on the map. Additional options:' .
723
+ '<br /><br /><b>Enable KML layers filter</b> - add form to map for dynamically enable / disable KML layers and sublayers. <br /><br /> <b>Load KML faster</b> - Use for large KML files. <b>Warning </b>- filters will stop working!<br', GMP_LANG_CODE);
724
+ if(!$this->isPro){
725
+ echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/kml/kml.png" /></a>');
726
+ }?>
727
+ </span>
728
  <?php if(!$this->isPro) { ?>
729
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
730
  <?php }?>
813
  <label for="map_opts_enable_custom_map_controls">
814
  <?php _e('Custom Map Controls', GMP_LANG_CODE)?>:
815
  </label>
816
+
817
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_08"></i>
818
+ <span class="tooltipContent" id="tooltip_08">
819
+ <?php _e('Add custom map controls to the map.', GMP_LANG_CODE);
820
  if(!$this->isPro){
821
  echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/custom_controls/custom_map_controls.png" /></a>');
822
+ }?>
823
+ </span>
824
+
825
  <?php if(!$this->isPro) { ?>
826
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
827
  <?php }?>
1077
  <label for="map_opts_frontend_add_markers">
1078
  <?php _e('Add markers on frontend', GMP_LANG_CODE)?>:
1079
  </label>
1080
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_07"></i>
1081
+ <span class="tooltipContent" id="tooltip_07">
1082
+ <?php _e("You can add markers at the current map with the frontend using the form, which can be displayed using the shortcode (it placed below preview map). Additional options that affect the operation of the form:" .
1083
+ "<br /><br /><b>Logged In Users Only</b> - form will be displayed only for logged in users." .
1084
+ "<br /><br /><b>Disable WP Editor</b> - disable / enable WP Editor for the Marker Description field of the form." .
1085
+ "<br /><br /><b>Delete markers</b> - disable / enable interface for deleting markers on frontend. Each user can delete only his own markers." .
1086
+ "<br /><br /><b>Use markers categories</b> - disable / enable interface for choose the marker category on frontend." .
1087
+ "<br /><br /><b>Use limits for marker's adding</b> - allows you to limit the number of markers, which user can add from one IP address at the current map for a certain amount of time." .
1088
+ "<br /><br /><b>Max marker's count</b> - the maximum number of markers, which can be added over certain amount of time." .
1089
+ "<br /><br /><b>For allotted time (minutes)</b> - the number of minutes, during which you can add the maximum number of markers." .
1090
+ "<br /><br />For example, during three minutes you can add only two markers at the map. If you try to add a third marker - the form will not be saved and you will see the notice with amount of time you must wait. After the right amount of time will pass - you can add next two markers, etc." .
1091
+ "<br /><br />You can add markers at the current map with the frontend using the form, which can be displayed using the shortcode. Please place this shortcode at the same page as it's map map. Please note that the page will be overloaded after adding marker.", GMP_LANG_CODE)?>
1092
+ </span>
1093
  <?php if(!$this->isPro) { ?>
1094
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=frontend_add_markers&utm_campaign=googlemaps'); ?>
1095
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1167
  <label for="map_opts_places_en_toolbar">
1168
  <?php _e('Use Places Toolbar', GMP_LANG_CODE)?>:
1169
  </label>
1170
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_10"></i>
1171
+ <span class="tooltipContent" id="tooltip_10">
1172
+ <?php _e("Activate the toolbar for search Places (restaurants, schools, museums, etc.) on the map. Use the shortcode to display toolbar on wherever you need, but toolbar must be placed on the same page as its map.", GMP_LANG_CODE);
1173
+ echo '<br />';
1174
+ if(!$this->isPro){
1175
+ echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/places/places.png" /></a>');
1176
+ }?>
1177
+ </span>
1178
  <?php if(!$this->isPro) { ?>
1179
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=places_toolbar&utm_campaign=googlemaps'); ?>
1180
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1445
  <label for="map_opts_enable_directions_btn">
1446
  <?php _e('Directions Button', GMP_LANG_CODE)?>:
1447
  </label>
1448
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_11"></i>
1449
+ <span class="tooltipContent" id="tooltip_11">
1450
+ <?php _e('Add a button at marker info window to get direction from the entered address to the marker. If Show route data option is enabled - the total route time and distance will be shown by click on the route polyline.', GMP_LANG_CODE);
1451
  if(!$this->isPro){
1452
  echo esc_html('<a href="'. esc_attr($proLink). '" target="_blank"><img src="'. esc_attr($this->promoModPath). 'img/directions/get_directions.png" /></a>');
1453
+ }?>
1454
+ </span>
1455
  <?php if(!$this->isPro) { ?>
1456
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1457
  <?php }?>
1697
  'checked' => '')))?>
1698
  </td>
1699
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1700
  <tr>
1701
  <th scope="row">
1702
  <label for="marker_opts_clasterer_exclude">
1715
  <label>
1716
  <?php _e('Display period for the markers', GMP_LANG_CODE)?>:
1717
  </label>
1718
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_12"></i>
1719
+ <span class="tooltipContent" id="tooltip_12">
1720
+ <?php _e('Display markers on the map by a selected period. A marker will automatically start to appear on the specified date and disappear automatically at the appointed time.', GMP_LANG_CODE)?> </br> <a href='https://supsystic.com/example/markers-displaying-by-period/'>https://supsystic.com/example/markers-displaying-by-period/</a> </br></br> <img style='width:100%' src=''>
1721
+ </span>
1722
+
1723
  <?php if(!$this->isPro) { ?>
1724
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=marker_period_from&utm_campaign=googlemaps'); ?>
1725
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1733
  <label>
1734
  <?php _e('Period From', GMP_LANG_CODE);?>
1735
  </label>
1736
+
1737
  <?php if(!$this->isPro) { ?>
1738
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=marker_period_from&utm_campaign=googlemaps'); ?>
1739
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo esc_attr($proLink)?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1755
  <label>
1756
  <?php _e('Period To', GMP_LANG_CODE);?>
1757
  </label>
1758
+
1759
  <?php if(!$this->isPro) { ?>
1760
  <?php $proLink = frameGmp::_()->getModule('supsystic_promo')->generateMainLink('utm_source=plugin&utm_medium=marker_period_to&utm_campaign=googlemaps'); ?>
1761
  <br /><span class="gmpProOptMiniLabel"><a target="_blank" href="<?php echo $proLink?>"><?php _e('PRO option', GMP_LANG_CODE)?></a></span>
1802
  <label class="label-big" for="shape_opts_type">
1803
  <?php _e('Figure Type', GMP_LANG_CODE)?>:
1804
  </label>
1805
+ <i style="float: right;" class="fa fa-question supsystic-tooltip" data-tooltip-content="#tooltip_15"></i>
1806
+ <span class="tooltipContent" id="tooltip_15">
1807
+ <?php _e('Type of your figure:' .
1808
+ '<br /><br /><b>Polyline</b> - a series of straight segments on the map.' .
1809
+ '<br /><br /><b>Polygon</b> - area enclosed by a closed path (or loop), which is defined by a series of coordinates.' .
1810
+ '<br /><br /><b>Circle</b> - circle shape,defined by center coordinates and radius.', GMP_LANG_CODE)?>"></span>
1811
  </th>
1812
  <td>
1813
  <?php echo htmlGmp::wpKsesHtml(htmlGmp::selectbox('shape_opts[type]', array(
modules/marker/js/admin.marker.edit.js CHANGED
@@ -17,10 +17,11 @@ jQuery(document).ready(function(){
17
  , { name: 'coords', index: 'coords', sortable: false, width: '90', align: 'center' }
18
  , { name: 'actions', index: 'actions', sortable: false, width: '100', align: 'center' }
19
  ]
20
- , width: jQuery('#gmpMapRightStickyBar').width()
 
 
21
  , height: 200
22
  //, autowidth: true
23
- , shrinkToFit: false
24
  , sortname: 'sort_order'
25
  , rowNum: 1000000000000
26
  , viewrecords: true
17
  , { name: 'coords', index: 'coords', sortable: false, width: '90', align: 'center' }
18
  , { name: 'actions', index: 'actions', sortable: false, width: '100', align: 'center' }
19
  ]
20
+ //, width: jQuery('#gmpMapRightStickyBar').width()
21
+ , autowidth: true
22
+ , shrinkToFit: true
23
  , height: 200
24
  //, autowidth: true
 
25
  , sortname: 'sort_order'
26
  , rowNum: 1000000000000
27
  , viewrecords: true
modules/options/views/tpl/optionsSettingsTabContent.php CHANGED
@@ -73,7 +73,10 @@
73
  <?php }?>
74
  </th>
75
  <td class="col-perc col-w-1perc">
76
- <i class="fa fa-question supsystic-tooltip" title="<?php _e($opt['desc'], GMP_LANG_CODE);?>"></i>
 
 
 
77
  </td>
78
  <td class="col-perc col-w-8perc">
79
  <?php echo htmlGmp::wpKsesHtml($htmlInput);?>
73
  <?php }?>
74
  </th>
75
  <td class="col-perc col-w-1perc">
76
+ <i class="fa fa-question supsystic-tooltip tooltip" data-tooltip-content="#tooltip_<?php echo $optKey;?>"></i>
77
+ <span class="tooltipContent" id="tooltip_<?php echo $optKey;?>">
78
+ <?php _e($opt['desc'], GMP_LANG_CODE);?>
79
+ </span>
80
  </td>
81
  <td class="col-perc col-w-8perc">
82
  <?php echo htmlGmp::wpKsesHtml($htmlInput);?>
modules/templates/mod.php CHANGED
@@ -35,6 +35,11 @@ class templatesGmp extends moduleGmp {
35
  frameGmp::_()->addScript('jquery-ui-autocomplete', '', array('jquery'));
36
  $this->loadTooltipstered();
37
  $this->loadChosenSelects(); // Init Chosen library
 
 
 
 
 
38
  }
39
  public function loadCoreJs() {
40
  static $loaded = false;
@@ -99,8 +104,10 @@ class templatesGmp extends moduleGmp {
99
  }
100
  }
101
  public function loadTooltipstered() {
102
- frameGmp::_()->addScript('tooltipster', GMP_ASSETS_PATH. 'lib/tooltipster/jquery.tooltipster.min.js');
103
- frameGmp::_()->addStyle('tooltipster', GMP_ASSETS_PATH. 'lib/tooltipster/tooltipster.css');
 
 
104
  }
105
  public function loadSlimscroll() {
106
  frameGmp::_()->addScript('jquery.slimscroll', GMP_ASSETS_PATH. 'lib/js/jquery.slimscroll.js'); // Don't use CDN here - as this lib is modified
35
  frameGmp::_()->addScript('jquery-ui-autocomplete', '', array('jquery'));
36
  $this->loadTooltipstered();
37
  $this->loadChosenSelects(); // Init Chosen library
38
+
39
+ add_filter( 'safe_style_css', function( $styles ) {
40
+ $styles[] = 'display';
41
+ return $styles;
42
+ } );
43
  }
44
  public function loadCoreJs() {
45
  static $loaded = false;
104
  }
105
  }
106
  public function loadTooltipstered() {
107
+ frameGmp::_()->addScript('tooltipster', GMP_ASSETS_PATH. 'lib/tooltipster/dist/js/tooltipster.bundle.min.js');
108
+ frameGmp::_()->addStyle('tooltipster', GMP_ASSETS_PATH. 'lib/tooltipster/dist/css/tooltipster.bundle.min.css');
109
+ frameGmp::_()->addStyle('tooltipster-theme', GMP_ASSETS_PATH. 'lib/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css');
110
+ frameGmp::_()->addStyle('editor-buttons-css', includes_url() . '/css/editor.min.css');
111
  }
112
  public function loadSlimscroll() {
113
  frameGmp::_()->addScript('jquery.slimscroll', GMP_ASSETS_PATH. 'lib/js/jquery.slimscroll.js'); // Don't use CDN here - as this lib is modified
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://supsystic.com/plugins/google-maps-plugin
5
  Donate link: https://supsystic.com/plugins/google-maps-plugin
6
  Tags: google map, map, Google Maps, map markers, location
7
  Tested up to: 5.8
8
- Stable tag: 1.11.0
9
 
10
  Google Maps with markers, locations and clusterization, KML layers and filters. Custom Google map markers with text, images, videos, links.
11
 
@@ -289,6 +289,12 @@ Easy Google Maps Plugin admin area. Add a marker to the google map.
289
 
290
 
291
  == Changelog ==
 
 
 
 
 
 
292
  = Easy Google Map Plugin v1.11.0 / 05.11.2021 =
293
  * Add fix for wp_kses_post()
294
  * Add fixes for markers
5
  Donate link: https://supsystic.com/plugins/google-maps-plugin
6
  Tags: google map, map, Google Maps, map markers, location
7
  Tested up to: 5.8
8
+ Stable tag: 1.11.1
9
 
10
  Google Maps with markers, locations and clusterization, KML layers and filters. Custom Google map markers with text, images, videos, links.
11
 
289
 
290
 
291
  == Changelog ==
292
+ = Easy Google Map Plugin v1.11.1 / 17.11.2021 =
293
+ * Add fix for installer
294
+ * Added wp_kses for render class
295
+ * changed tooltip lib
296
+ * Add fix tooltip for license tab
297
+
298
  = Easy Google Map Plugin v1.11.0 / 05.11.2021 =
299
  * Add fix for wp_kses_post()
300
  * Add fixes for markers