Version Description
- Tweak: Changed the way it loads Js files for better performance.
- Fix: Translation ready bug.
Download this release
Release Info
Developer | leap13 |
Plugin | ![]() |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- admin/settings-page.php +22 -22
- assets/js/lib/gomap.js +0 -11
- assets/js/lib/typedmin.js +0 -1
- elementor-helper.php +1 -1
- languages/premium-addons-for-elementor.mo +0 -0
- languages/premium-addons-for-elementor.pot +2736 -0
- premium-addons.php → premium-addons-for-elementor.php +27 -19
- readme.txt +12 -1
- widgets/premium-banner.php +51 -51
- widgets/premium-blog.php +66 -66
- widgets/premium-button.php +48 -48
- widgets/premium-carousel.php +66 -63
- widgets/premium-contactform.php +31 -28
- widgets/premium-countdown.php +50 -50
- widgets/premium-counter.php +51 -51
- widgets/premium-dual-header.php +29 -29
- widgets/premium-fancytext.php +44 -39
- widgets/premium-image-button.php +46 -46
- widgets/premium-imageseparator.php +22 -22
- widgets/premium-maps.php +47 -47
- widgets/premium-modalbox.php +75 -70
- widgets/premium-person.php +42 -42
- widgets/premium-pricing-table.php +114 -114
- widgets/premium-progressbar.php +28 -23
- widgets/premium-testimonials.php +41 -41
- widgets/premium-title.php +33 -33
- widgets/premium-videobox.php +40 -40
admin/settings-page.php
CHANGED
@@ -57,8 +57,8 @@ class PA_admin_settings {
|
|
57 |
<form action="" method="POST" id="pa-settings" name="pa-settings">
|
58 |
<div class="pa-header-wrapper">
|
59 |
<div class="pa-title-left">
|
60 |
-
<h1 class="pa-title-main"><?php echo esc_html__('Premium Addons for Elementor', '
|
61 |
-
<h3 class="pa-title-sub"><?php echo esc_html__('Thank you for using Premium Addons for Elementor. This plugin has been developed by Leap13 and we hope you enjoy using it.', '
|
62 |
</div>
|
63 |
<div class="pa-title-right">
|
64 |
|
@@ -131,14 +131,14 @@ class PA_admin_settings {
|
|
131 |
<table class="pa-elements-table">
|
132 |
<tbody>
|
133 |
<tr>
|
134 |
-
<th><?php echo esc_html__('Premium Banner', '
|
135 |
<td>
|
136 |
<label class="switch">
|
137 |
<input type="checkbox" id="premium-banner" name="premium-banner" <?php checked(1, $this->pa_get_settings['premium-banner'], true) ?>>
|
138 |
<span class="slider round"></span>
|
139 |
</label>
|
140 |
</td>
|
141 |
-
<th><?php echo esc_html__('Premium Blog', '
|
142 |
<td>
|
143 |
<label class="switch">
|
144 |
<input type="checkbox" id="premium-blog" name="premium-blog" <?php checked(1, $this->pa_get_settings['premium-blog'], true) ?>>
|
@@ -149,14 +149,14 @@ class PA_admin_settings {
|
|
149 |
|
150 |
|
151 |
<tr>
|
152 |
-
<th><?php echo esc_html__('Premium Carousel', '
|
153 |
<td>
|
154 |
<label class="switch">
|
155 |
<input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
|
156 |
<span class="slider round"></span>
|
157 |
</label>
|
158 |
</td>
|
159 |
-
<th><?php echo esc_html__('Premium Countdown', '
|
160 |
<td>
|
161 |
<label class="switch">
|
162 |
<input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
|
@@ -166,14 +166,14 @@ class PA_admin_settings {
|
|
166 |
</tr>
|
167 |
|
168 |
<tr>
|
169 |
-
<th><?php echo esc_html__('Premium Counter', '
|
170 |
<td>
|
171 |
<label class="switch">
|
172 |
<input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
|
173 |
<span class="slider round"></span>
|
174 |
</label>
|
175 |
</td>
|
176 |
-
<th><?php echo esc_html__('Premium Dual Header', '
|
177 |
<td>
|
178 |
<label class="switch">
|
179 |
<input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
|
@@ -184,14 +184,14 @@ class PA_admin_settings {
|
|
184 |
|
185 |
|
186 |
<tr>
|
187 |
-
<th><?php echo esc_html__('Premium Fancy Text', '
|
188 |
<td>
|
189 |
<label class="switch">
|
190 |
<input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
|
191 |
<span class="slider round"></span>
|
192 |
</label>
|
193 |
</td>
|
194 |
-
<th><?php echo esc_html__('Premium Image Separator', '
|
195 |
<td>
|
196 |
<label class="switch">
|
197 |
<input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
|
@@ -203,14 +203,14 @@ class PA_admin_settings {
|
|
203 |
|
204 |
<tr>
|
205 |
|
206 |
-
<th><?php echo esc_html__('Premium Maps', '
|
207 |
<td>
|
208 |
<label class="switch">
|
209 |
<input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
|
210 |
<span class="slider round"></span>
|
211 |
</label>
|
212 |
</td>
|
213 |
-
<th><?php echo esc_html__('Premium Modal Box', '
|
214 |
<td>
|
215 |
<label class="switch">
|
216 |
<input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
|
@@ -220,14 +220,14 @@ class PA_admin_settings {
|
|
220 |
</tr>
|
221 |
|
222 |
<tr>
|
223 |
-
<th><?php echo esc_html__('Premium Person', '
|
224 |
<td>
|
225 |
<label class="switch">
|
226 |
<input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
|
227 |
<span class="slider round"></span>
|
228 |
</label>
|
229 |
</td>
|
230 |
-
<th><?php echo esc_html__('Premium Progress Bar', '
|
231 |
<td>
|
232 |
<label class="switch">
|
233 |
<input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
|
@@ -238,14 +238,14 @@ class PA_admin_settings {
|
|
238 |
</tr>
|
239 |
|
240 |
<tr>
|
241 |
-
<th><?php echo esc_html__('Premium Testimonials', '
|
242 |
<td>
|
243 |
<label class="switch">
|
244 |
<input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
|
245 |
<span class="slider round"></span>
|
246 |
</label>
|
247 |
</td>
|
248 |
-
<th><?php echo esc_html__('Premium Title', '
|
249 |
<td>
|
250 |
<label class="switch">
|
251 |
<input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
|
@@ -255,14 +255,14 @@ class PA_admin_settings {
|
|
255 |
</tr>
|
256 |
|
257 |
<tr>
|
258 |
-
<th><?php echo esc_html__('Premium Video Box', '
|
259 |
<td>
|
260 |
<label class="switch">
|
261 |
<input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
|
262 |
<span class="slider round"></span>
|
263 |
</label>
|
264 |
</td>
|
265 |
-
<th><?php echo esc_html__('Premium Pricing Table', '
|
266 |
<td>
|
267 |
<label class="switch">
|
268 |
<input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
|
@@ -272,14 +272,14 @@ class PA_admin_settings {
|
|
272 |
</tr>
|
273 |
|
274 |
<tr>
|
275 |
-
<th><?php echo esc_html__('Premium Button', '
|
276 |
<td>
|
277 |
<label class="switch">
|
278 |
<input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
|
279 |
<span class="slider round"></span>
|
280 |
</label>
|
281 |
</td>
|
282 |
-
<th><?php echo esc_html__('Premium Contact Form7', '
|
283 |
<td>
|
284 |
<label class="switch">
|
285 |
<input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
|
@@ -289,7 +289,7 @@ class PA_admin_settings {
|
|
289 |
</tr>
|
290 |
|
291 |
<tr>
|
292 |
-
<th><?php echo esc_html__('Premium Image Button', '
|
293 |
<td>
|
294 |
<label class="switch">
|
295 |
<input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
|
@@ -319,7 +319,7 @@ class PA_admin_settings {
|
|
319 |
</div>
|
320 |
<div id="pa-system" class="pa-settings-tab">
|
321 |
<div class="pa-row">
|
322 |
-
<h3><?php echo esc_html__('System setup information useful for debugging purposes.','
|
323 |
<div class="pa-system-info-container">
|
324 |
<?php
|
325 |
echo nl2br(pa_get_sysinfo());
|
57 |
<form action="" method="POST" id="pa-settings" name="pa-settings">
|
58 |
<div class="pa-header-wrapper">
|
59 |
<div class="pa-title-left">
|
60 |
+
<h1 class="pa-title-main"><?php echo esc_html__('Premium Addons for Elementor', 'premium-addons-for-elementor'); ?></h1>
|
61 |
+
<h3 class="pa-title-sub"><?php echo esc_html__('Thank you for using Premium Addons for Elementor. This plugin has been developed by Leap13 and we hope you enjoy using it.', 'premium-addons-for-elementor'); ?></h3>
|
62 |
</div>
|
63 |
<div class="pa-title-right">
|
64 |
|
131 |
<table class="pa-elements-table">
|
132 |
<tbody>
|
133 |
<tr>
|
134 |
+
<th><?php echo esc_html__('Premium Banner', 'premium-addons-for-elementor'); ?></th>
|
135 |
<td>
|
136 |
<label class="switch">
|
137 |
<input type="checkbox" id="premium-banner" name="premium-banner" <?php checked(1, $this->pa_get_settings['premium-banner'], true) ?>>
|
138 |
<span class="slider round"></span>
|
139 |
</label>
|
140 |
</td>
|
141 |
+
<th><?php echo esc_html__('Premium Blog', 'premium-addons-for-elementor'); ?></th>
|
142 |
<td>
|
143 |
<label class="switch">
|
144 |
<input type="checkbox" id="premium-blog" name="premium-blog" <?php checked(1, $this->pa_get_settings['premium-blog'], true) ?>>
|
149 |
|
150 |
|
151 |
<tr>
|
152 |
+
<th><?php echo esc_html__('Premium Carousel', 'premium-addons-for-elementor'); ?></th>
|
153 |
<td>
|
154 |
<label class="switch">
|
155 |
<input type="checkbox" id="premium-carousel" name="premium-carousel" <?php checked(1, $this->pa_get_settings['premium-carousel'], true) ?>>
|
156 |
<span class="slider round"></span>
|
157 |
</label>
|
158 |
</td>
|
159 |
+
<th><?php echo esc_html__('Premium Countdown', 'premium-addons-for-elementor'); ?></th>
|
160 |
<td>
|
161 |
<label class="switch">
|
162 |
<input type="checkbox" id="premium-countdown" name="premium-countdown" <?php checked(1, $this->pa_get_settings['premium-countdown'], true) ?>>
|
166 |
</tr>
|
167 |
|
168 |
<tr>
|
169 |
+
<th><?php echo esc_html__('Premium Counter', 'premium-addons-for-elementor'); ?></th>
|
170 |
<td>
|
171 |
<label class="switch">
|
172 |
<input type="checkbox" id="premium-counter" name="premium-counter" <?php checked(1, $this->pa_get_settings['premium-counter'], true) ?>>
|
173 |
<span class="slider round"></span>
|
174 |
</label>
|
175 |
</td>
|
176 |
+
<th><?php echo esc_html__('Premium Dual Header', 'premium-addons-for-elementor'); ?></th>
|
177 |
<td>
|
178 |
<label class="switch">
|
179 |
<input type="checkbox" id="premium-dual-header" name="premium-dual-header" <?php checked(1, $this->pa_get_settings['premium-dual-header'], true) ?>>
|
184 |
|
185 |
|
186 |
<tr>
|
187 |
+
<th><?php echo esc_html__('Premium Fancy Text', 'premium-addons-for-elementor'); ?></th>
|
188 |
<td>
|
189 |
<label class="switch">
|
190 |
<input type="checkbox" id="premium-fancytext" name="premium-fancytext" <?php checked(1, $this->pa_get_settings['premium-fancytext'], true) ?>>
|
191 |
<span class="slider round"></span>
|
192 |
</label>
|
193 |
</td>
|
194 |
+
<th><?php echo esc_html__('Premium Image Separator', 'premium-addons-for-elementor'); ?></th>
|
195 |
<td>
|
196 |
<label class="switch">
|
197 |
<input type="checkbox" id="premium-image-separator" name="premium-image-separator" <?php checked(1, $this->pa_get_settings['premium-image-separator'], true) ?>>
|
203 |
|
204 |
<tr>
|
205 |
|
206 |
+
<th><?php echo esc_html__('Premium Maps', 'premium-addons-for-elementor'); ?></th>
|
207 |
<td>
|
208 |
<label class="switch">
|
209 |
<input type="checkbox" id="premium-maps" name="premium-maps" <?php checked(1, $this->pa_get_settings['premium-maps'], true) ?>>
|
210 |
<span class="slider round"></span>
|
211 |
</label>
|
212 |
</td>
|
213 |
+
<th><?php echo esc_html__('Premium Modal Box', 'premium-addons-for-elementor'); ?></th>
|
214 |
<td>
|
215 |
<label class="switch">
|
216 |
<input type="checkbox" id="premium-modalbox" name="premium-modalbox" <?php checked(1, $this->pa_get_settings['premium-modalbox'], true) ?>>
|
220 |
</tr>
|
221 |
|
222 |
<tr>
|
223 |
+
<th><?php echo esc_html__('Premium Person', 'premium-addons-for-elementor'); ?></th>
|
224 |
<td>
|
225 |
<label class="switch">
|
226 |
<input type="checkbox" id="premium-person" name="premium-person" <?php checked(1, $this->pa_get_settings['premium-person'], true) ?>>
|
227 |
<span class="slider round"></span>
|
228 |
</label>
|
229 |
</td>
|
230 |
+
<th><?php echo esc_html__('Premium Progress Bar', 'premium-addons-for-elementor'); ?></th>
|
231 |
<td>
|
232 |
<label class="switch">
|
233 |
<input type="checkbox" id="premium-progressbar" name="premium-progressbar" <?php checked(1, $this->pa_get_settings['premium-progressbar'], true) ?>>
|
238 |
</tr>
|
239 |
|
240 |
<tr>
|
241 |
+
<th><?php echo esc_html__('Premium Testimonials', 'premium-addons-for-elementor'); ?></th>
|
242 |
<td>
|
243 |
<label class="switch">
|
244 |
<input type="checkbox" id="premium-testimonials" name="premium-testimonials" <?php checked(1, $this->pa_get_settings['premium-testimonials'], true) ?>>
|
245 |
<span class="slider round"></span>
|
246 |
</label>
|
247 |
</td>
|
248 |
+
<th><?php echo esc_html__('Premium Title', 'premium-addons-for-elementor'); ?></th>
|
249 |
<td>
|
250 |
<label class="switch">
|
251 |
<input type="checkbox" id="premium-title" name="premium-title" <?php checked(1, $this->pa_get_settings['premium-title'], true) ?>>
|
255 |
</tr>
|
256 |
|
257 |
<tr>
|
258 |
+
<th><?php echo esc_html__('Premium Video Box', 'premium-addons-for-elementor'); ?></th>
|
259 |
<td>
|
260 |
<label class="switch">
|
261 |
<input type="checkbox" id="premium-videobox" name="premium-videobox" <?php checked(1, $this->pa_get_settings['premium-videobox'], true) ?>>
|
262 |
<span class="slider round"></span>
|
263 |
</label>
|
264 |
</td>
|
265 |
+
<th><?php echo esc_html__('Premium Pricing Table', 'premium-addons-for-elementor'); ?></th>
|
266 |
<td>
|
267 |
<label class="switch">
|
268 |
<input type="checkbox" id="premium-pricing-table" name="premium-pricing-table" <?php checked(1, $this->pa_get_settings['premium-pricing-table'], true) ?>>
|
272 |
</tr>
|
273 |
|
274 |
<tr>
|
275 |
+
<th><?php echo esc_html__('Premium Button', 'premium-addons-for-elementor'); ?></th>
|
276 |
<td>
|
277 |
<label class="switch">
|
278 |
<input type="checkbox" id="premium-button" name="premium-button" <?php checked(1, $this->pa_get_settings['premium-button'], true) ?>>
|
279 |
<span class="slider round"></span>
|
280 |
</label>
|
281 |
</td>
|
282 |
+
<th><?php echo esc_html__('Premium Contact Form7', 'premium-addons-for-elementor'); ?></th>
|
283 |
<td>
|
284 |
<label class="switch">
|
285 |
<input type="checkbox" id="premium-contactform" name="premium-contactform" <?php checked(1, $this->pa_get_settings['premium-contactform'], true) ?>>
|
289 |
</tr>
|
290 |
|
291 |
<tr>
|
292 |
+
<th><?php echo esc_html__('Premium Image Button', 'premium-addons-for-elementor'); ?></th>
|
293 |
<td>
|
294 |
<label class="switch">
|
295 |
<input type="checkbox" id="premium-image-button" name="premium-image-button" <?php checked(1, $this->pa_get_settings['premium-image-button'], true) ?>>
|
319 |
</div>
|
320 |
<div id="pa-system" class="pa-settings-tab">
|
321 |
<div class="pa-row">
|
322 |
+
<h3><?php echo esc_html__('System setup information useful for debugging purposes.','premium-addons-for-elementor');?></h3>
|
323 |
<div class="pa-system-info-container">
|
324 |
<?php
|
325 |
echo nl2br(pa_get_sysinfo());
|
assets/js/lib/gomap.js
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
|
2 |
-
/**
|
3 |
-
* jQuery goMap
|
4 |
-
*
|
5 |
-
* @url http://www.pittss.lv/jquery/gomap/
|
6 |
-
* @author Jevgenijs Shtrauss <pittss@gmail.com>
|
7 |
-
* @version 1.3.3 2014.11.27
|
8 |
-
* This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
|
9 |
-
*/
|
10 |
-
|
11 |
-
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(c($){b 2K=y h.g.3w();c 1o(t){3.16(t)};1o.1W=y h.g.3x();1o.1W.4h=c(){};1o.1W.42=c(){};1o.1W.3v=c(){};$.k={};$.3s.k=c(5){r 3.4f(c(){b k=$(3).o(\'k\');7(!k){b 1y=$.1H(B,{},$.1y);$(3).o(\'k\',1y.2H(3,5));$.k=1y}n{$.k=k}})};$.1y={2O:{D:\'\',G:3V.9,F:24.1,2B:4,1L:47,2X:B,38:B,39:\'3o\',3m:\'3u\',2F:\'3F\',1w:B,X:{u:\'49\',J:\'31\'},2j:B,Z:{u:\'3q\',J:\'31\'},2e:w,2d:B,3y:w,3E:H,2c:w,2A:w,e:[],C:[],1i:{O:\'#1j\',M:1.0,N:2},19:{O:\'#1j\',M:1.0,N:2,R:\'#1j\',S:0.2},U:{O:\'#1j\',M:1.0,N:2,R:\'#1j\',S:0.2},1Q:{O:\'#1j\',M:1.0,N:2,R:\'#1j\',S:0.2},3k:\'3J\',1p:\'<1l 3W="3Y">\',1v:\'</1l>\',1t:w},t:H,1K:0,e:[],2P:[],2Q:[],2R:[],2S:[],1A:[],1E:[],1g:w,1b:H,C:H,x:H,p:H,2g:H,29:H,2o:H,2z:H,8:H,1O:H,2H:c(2h,5){b 8=$.1H(B,{},$.1y.2O,5);3.p=$(2h);3.8=8;7(8.D)3.14({D:8.D,1d:B});n 7($.2T(8.e)&&8.e.v>0){7(8.e[0].D)3.14({D:8.e[0].D,1d:B});n 3.1O=y h.g.W(8.e[0].G,8.e[0].F)}n 3.1O=y h.g.W(8.G,8.F);b 33={1d:3.1O,2c:8.2c,2j:8.2j,2A:8.2A,Z:{u:h.g.1s[8.Z.u.11()],J:h.g.3b[8.Z.J.11()]},3f:h.g.3r[8.3k.11()],3g:8.1w,3i:8.1w,3j:{u:h.g.1s[8.X.u.11()]},1I:{u:h.g.1s[8.X.u.11()],J:h.g.28[8.X.J.11()]},2e:8.2e,2d:8.2d,2B:8.2B};3.t=y h.g.3B(2h,33);3.x=y 1o(3.t);3.C={1i:{q:\'2g\',z:\'2P\',1M:\'2I\'},19:{q:\'29\',z:\'2Q\',1M:\'2J\'},U:{q:\'2o\',z:\'2R\',1M:\'2L\'},1Q:{q:\'2z\',z:\'2S\',1M:\'2N\'}};3.2g=$(\'<1l J="Q:1Y;"/>\').21(3.p);3.29=$(\'<1l J="Q:1Y;"/>\').21(3.p);3.2o=$(\'<1l J="Q:1Y;"/>\').21(3.p);3.2z=$(\'<1l J="Q:1Y;"/>\').21(3.p);I(b j=0,l=8.e.v;j<l;j++)3.1J(8.e[j]);I(b j=0,l=8.C.v;j<l;j++)3[3.C[8.C[j].d].1M](8.C[j]);b k=3;7(8.1t==B||8.1t==\'3p\'){h.g.L.1n(k.t,\'2b\',c(L){b 5={u:L.3a,1z:B};b 6=k.1J(5);h.g.L.1n(6,\'2G\',c(L){6.16(H);k.2r(6.q)})})}n 7(8.1t==\'3D\'){h.g.L.1n(k.t,\'2b\',c(L){7(!k.1P){b 5={u:L.3a,1z:B};b 6=k.1J(5);k.1P=B;h.g.L.1n(6,\'2G\',c(L){6.16(H);k.2r(6.q);k.1P=w})}})}K 8.e;K 8.C;r 3},3G:c(f){h.g.L.3N(3.t,\'3R\',c(){r f()})},14:c(D,5){b k=3;1V(c(){2K.14({\'D\':D.D},c(1X,1F){7(1F==h.g.1Z.2k&&D.1d)k.t.44(1X[0].2l.2n);7(1F==h.g.1Z.2k&&5&&5.E)5.E.4a(1X[0].2l.2n);n 7(1F==h.g.1Z.2k&&5){7(k.1g){k.1g=w;5.u=1X[0].2l.2n;5.14=B;k.1J(5)}}n 7(1F==h.g.1Z.4c){k.14(D,5)}})},3.8.1L)},2q:c(){7(3.1E.v>0&&!3.1g){3.1g=B;b 18=3.1E.26(0,1);3.14({D:18[0].D},18[0])}n 7(3.1g){b k=3;1V(c(){k.2q()},3.8.1L)}},16:c(5){K 5.3f;7(5.D){3.14({D:5.D,1d:B});K 5.D}n 7(5.G&&5.F){5.1d=y h.g.W(5.G,5.F);K 5.F;K 5.G}7(5.Z&&5.Z.u)5.Z.u=h.g.1s[5.Z.u.11()];7(5.Z&&5.Z.J)5.Z.J=h.g.3b[5.Z.J.11()];7(1h 5.1w!==\'1G\'){5.3g=5.1w;5.3i=5.1w}7(5.X&&5.X.u){5.3j={u:h.g.1s[5.X.u.11()]};5.1I={u:h.g.1s[5.X.u.11()]}}7(5.X&&5.X.J){7(1h 5.1I===\'1G\')5.1I={J:h.g.28[5.X.J.11()]};n 5.1I.J=h.g.28[5.X.J.11()]}3.t.1U(5)},2U:c(){r 3.t},2W:c(d,L,o){b 1k;7(1h d!=\'2Y\')d={d:d};7(d.d==\'t\')1k=3.t;n 7(d.d==\'6\'&&d.6)1k=$(3.p).o(d.6);n 7(d.d==\'m\'&&d.6)1k=$(3.p).o(d.6+\'m\');7(1k)r h.g.L.1n(1k,L,o);n 7((d.d==\'6\'||d.d==\'m\')&&3.2E()!=3.2i())b k=3;1V(c(){k.2W(d,L,o)},3.8.1L)},34:c(35){h.g.L.34(35)},36:c(6,A){b k=3;A.1x=k.8.1p+A.1x+k.8.1v;b P=y h.g.3M(A);P.Y=w;$(k.p).o(6.q+\'m\',P);7(A.3O){k.2p(P,6,A);P.Y=B}h.g.L.1n(6,\'2b\',c(){7(P.Y&&k.8.2X){P.1u();P.Y=w}n{k.2p(P,6,A);P.Y=B}})},2p:c(P,6,A){b k=3;7(3.8.38)3.3h();7(A.25){P.2t(3.t,6);$.25({40:A.25,41:c(A){P.2u(k.8.1p+A+k.8.1v)}})}n 7(A.q){P.2u(k.8.1p+$(A.q).A()+k.8.1v);P.2t(3.t,6)}n P.2t(3.t,6)},43:c(q,1N){b m=$(3.p).o(q+\'m\');7(1h 1N==\'2Y\')m.1U(k.8.1p+1N+k.8.1v);n m.2u(k.8.1p+1N+k.8.1v)},45:c(q,3l){b m=$(3.p).o(q+\'m\').48();7(3l)r $(m).A();n r m},3h:c(){I(b i=0,l=3.e.v;i<l;i++){b m=$(3.p).o(3.e[i]+\'m\');7(m){m.1u();m.Y=w}}},2C:c(d,e){b k=3;7(3.2E()!=3.2i())1V(c(){k.2C(d,e)},3.8.1L);n{3.1b=y h.g.27();7(!d||(d&&d==\'4b\')){I(b i=0,l=3.e.v;i<l;i++){3.1b.1H($(3.p).o(3.e[i]).u)}}n 7(d&&d==\'1B\'){I(b i=0,l=3.e.v;i<l;i++){7(3.1C(3.e[i]))3.1b.1H($(3.p).o(3.e[i]).u)}}n 7(d&&d==\'e\'&&$.2T(e)){I(b i=0,l=e.v;i<l;i++){3.1b.1H($(3.p).o(e[i]).u)}}3.t.2C(3.1b)}},2a:c(){r 3.t.2a()},2I:c(a){a.d=\'1i\';r 3.1D(a)},2J:c(a){a.d=\'19\';r 3.1D(a)},2L:c(a){a.d=\'U\';r 3.1D(a)},2N:c(a){a.d=\'1Q\';r 3.1D(a)},1D:c(a){b x=[];7(!a.q){3.1K++;a.q=3.8.3m+3.1K}2M(a.d){17\'1i\':7(a.V.v>0){I(b j=0,l=a.V.v;j<l;j++)x.T(y h.g.W(a.V[j].G,a.V[j].F));x=y h.g.3t({t:3.t,2f:x,1R:a.O?a.O:3.8.1i.O,1S:a.M?a.M:3.8.1i.M,1T:a.N?a.N:3.8.1i.N})}n r w;10;17\'19\':7(a.V.v>0){I(b j=0,l=a.V.v;j<l;j++)x.T(y h.g.W(a.V[j].G,a.V[j].F));x=y h.g.3z({t:3.t,2f:x,1R:a.O?a.O:3.8.19.O,1S:a.M?a.M:3.8.19.M,1T:a.N?a.N:3.8.19.N,R:a.R?a.R:3.8.19.R,S:a.S?a.S:3.8.19.S})}n r w;10;17\'U\':x=y h.g.3A({t:3.t,1d:y h.g.W(a.G,a.F),2V:a.2V,1R:a.O?a.O:3.8.U.O,1S:a.M?a.M:3.8.U.M,1T:a.N?a.N:3.8.U.N,R:a.R?a.R:3.8.U.R,S:a.S?a.S:3.8.U.S});10;17\'1Q\':x=y h.g.3C({t:3.t,1b:y h.g.27(y h.g.W(a.1r.G,a.1r.F),y h.g.W(a.1q.G,a.1q.F)),1R:a.O?a.O:3.8.U.O,1S:a.M?a.M:3.8.U.M,1T:a.N?a.N:3.8.U.N,R:a.R?a.R:3.8.U.R,S:a.S?a.S:3.8.U.S});10;2m:r w;10}3.2Z(a,x);r x},2Z:c(a,x){$(3[3.C[a.d].q]).o(a.q,x);3[3.C[a.d].z].T(a.q)},3H:c(d,x,5){x=$(3[3.C[d].q]).o(x);7(5.V&&5.V.v>0){b z=[];I(b j=0,l=5.V.v;j<l;j++)z.T(y h.g.W(5.V[j].G,5.V[j].F));5.2f=z;K 5.V}n 7(5.1q&&5.1r){5.1b=y h.g.27(y h.g.W(5.1r.G,5.1r.F),y h.g.W(5.1q.G,5.1q.F));K 5.1q;K 5.1r}n 7(5.G&&5.F){5.1d=y h.g.W(5.G,5.F);K 5.G;K 5.F}x.1U(5)},3I:c(d,x,Q){7(1h Q===\'1G\'){7(3.30(d,x))Q=w;n Q=B}7(Q)$(3[3.C[d].q]).o(x).16(3.t);n $(3[3.C[d].q]).o(x).16(H)},30:c(d,x){7($(3[3.C[d].q]).o(x).2U())r B;n r w},3K:c(d){r 3[3.C[d].z].v},3L:c(d,x){b 1f=$.32(x,3[3.C[d].z]),18;7(1f>-1){18=3[3.C[d].z].26(1f,1);b E=18[0];$(3[3.C[d].q]).o(E).16(H);$(3[3.C[d].q]).1m(E);r B}r w},3P:c(d){I(b i=0,l=3[3.C[d].z].v;i<l;i++){b E=3[3.C[d].z][i];$(3[3.C[d].q]).o(E).16(H);$(3[3.C[d].q]).1m(E)}3[3.C[d].z]=[]},3Q:c(6,Q){7(1h Q===\'1G\'){7(3.1C(6)){$(3.p).o(6).1c(w);b m=$(3.p).o(6+\'m\');7(m&&m.Y){m.1u();m.Y=w}}n $(3.p).o(6).1c(B)}n $(3.p).o(6).1c(Q)},3S:c(13,Q){I(b i=0,l=3.e.v;i<l;i++){b E=3.e[i];b 6=$(3.p).o(E);7(6.13==13){7(1h Q===\'1G\'){7(3.1C(E)){6.1c(w);b m=$(3.p).o(E+\'m\');7(m&&m.Y){m.1u();m.Y=w}}n 6.1c(B)}n 6.1c(Q)}}},1C:c(6){r $(3.p).o(6).3T()},2E:c(){r 3.e.v},2i:c(){r 3.1A.v},3U:c(){r 3.20(\'37\').v},3X:c(13){r 3.20(\'13\',13).v},20:c(d,2s){b z=[];2M(d){17"3Z":I(b i=0,l=3.e.v;i<l;i++){b 1a="\'"+i+"\': \'"+$(3.p).o(3.e[i]).22().2v()+"\'";z.T(1a)}z="{\'e\':{"+z.3c(",")+"}}";10;17"o":I(b i=0,l=3.e.v;i<l;i++){b 1a="6["+i+"]="+$(3.p).o(3.e[i]).22().2v();z.T(1a)}z=z.3c("&");10;17"3d":I(b i=0,l=3.e.v;i<l;i++){7(3.3e($(3.p).o(3.e[i]).22()))z.T(3.e[i])}10;17"37":I(b i=0,l=3.e.v;i<l;i++){7(3.1C(3.e[i]))z.T(3.e[i])}10;17"13":7(2s)I(b i=0,l=3.e.v;i<l;i++){7($(3.p).o(3.e[i]).13==2s)z.T(3.e[i])}10;17"e":I(b i=0,l=3.e.v;i<l;i++){b 1a=$(3.p).o(3.e[i]);z.T(1a)}10;2m:I(b i=0,l=3.e.v;i<l;i++){b 1a=$(3.p).o(3.e[i]).22().2v();z.T(1a)}10}r z},46:c(){r 3.20(\'3d\')},1J:c(6){7(!6.14){3.1K++;7(!6.q)6.q=3.8.39+3.1K;3.1A.T(6.q)}7(6.D&&!6.14){3.1E.T(6);3.2q()}n 7(6.G&&6.F||6.u){b 5={t:3.t};5.q=6.q;5.13=6.13?6.13:3.8.2F;5.2w=6.2w?6.2w:0;5.2x=6.2x?6.2x:0;7(6.1B==w)5.1B=6.1B;7(6.2y)5.2y=6.2y;7(6.1z)5.1z=6.1z;7(6.s&&6.s.1e){5.s=6.s.1e;7(6.s.12)5.12=6.s.12}n 7(6.s)5.s=6.s;n 7(3.8.s&&3.8.s.1e){5.s=3.8.s.1e;7(3.8.s.12)5.12=3.8.s.12}n 7(3.8.s)5.s=3.8.s;5.u=6.u?6.u:y h.g.W(6.G,6.F);b 23=y h.g.4d(5);7(6.A){7(!6.A.1x&&!6.A.25&&!6.A.q)6.A={1x:6.A};n 7(!6.A.1x)6.A.1x=H;3.36(23,6.A)}3.1t(23);r 23}},1t:c(6){$(3.p).o(6.q,6);3.e.T(6.q)},4e:c(6,5){b 2D=$(3.p).o(6);K 5.q;K 5.1B;7(5.s){b 15=5.s;K 5.s;7(15&&15==\'2m\'){7(3.8.s&&3.8.s.1e){5.s=3.8.s.1e;7(3.8.s.12)5.12=3.8.s.12}n 7(3.8.s)5.s=3.8.s}n 7(15&&15.1e){5.s=15.1e;7(15.12)5.12=15.12}n 7(15)5.s=15}7(5.D){3.14({D:5.D},{E:2D});K 5.D;K 5.G;K 5.F;K 5.u}n 7(5.G&&5.F||5.u){7(!5.u)5.u=y h.g.W(5.G,5.F)}2D.1U(5)},2r:c(6){b 1f=$.32(6,3.e),18;7(1f>-1){3.1A.26(1f,1);18=3.e.26(1f,1);b E=18[0];b 6=$(3.p).o(E);b m=$(3.p).o(E+\'m\');6.1c(w);6.16(H);$(3.p).1m(E);7(m){m.1u();m.Y=w;$(3.p).1m(E+\'m\')}r B}r w},4g:c(){I(b i=0,l=3.e.v;i<l;i++){b E=3.e[i];b 6=$(3.p).o(E);b m=$(3.p).o(E+\'m\');6.1c(w);6.16(H);$(3.p).1m(E);7(m){m.1u();m.Y=w;$(3.p).1m(E+\'m\')}}3.1P=w;3.1g=w;3.e=[];3.1A=[];3.1E=[]},3e:c(3n){r 3.t.2a().4i(3n)}}})(4j);',62,268,'|||this||options|marker|if|opts||poly|var|function|type|markers||maps|google|||goMap||info|else|data|mapId|id|return|icon|map|position|length|false|overlay|new|array|html|true|overlays|address|markerId|longitude|latitude|null|for|style|delete|event|opacity|weight|color|infowindow|display|fillColor|fillOpacity|push|circle|coords|LatLng|navigationControlOptions|show|mapTypeControlOptions|break|toUpperCase|shadow|group|geocode|toption|setMap|case|current|polygon|temp|bounds|setVisible|center|image|index|lockGeocode|typeof|polyline|FF0000|target|div|removeData|addListener|MyOverlay|html_prepend|ne|sw|ControlPosition|addMarker|close|html_append|navigationControl|content|goMapBase|draggable|tmpMarkers|visible|getVisibleMarker|createOverlay|geoMarkers|status|undefined|extend|zoomControlOptions|createMarker|count|delay|create|text|centerLatLng|singleMarker|rectangle|strokeColor|strokeOpacity|strokeWeight|setOptions|setTimeout|prototype|results|none|GeocoderStatus|getMarkers|appendTo|getPosition|cmarker||ajax|splice|LatLngBounds|ZoomControlStyle|pgId|getBounds|click|disableDoubleClickZoom|scrollwheel|scaleControl|path|plId|el|getTmpMarkerCount|mapTypeControl|OK|geometry|default|location|cId|openWindow|geoMarker|removeMarker|name|open|setContent|toUrlValue|zIndex|zIndexOrg|title|rId|streetViewControl|zoom|fitBounds|tmarker|getMarkerCount|groupId|dblclick|init|createPolyline|createPolygon|geocoder|createCircle|switch|createRectangle|defaults|polylines|polygons|circles|rectangles|isArray|getMap|radius|createListener|hideByClick|object|addOverlay|getVisibleOverlay|DEFAULT|inArray|myOptions|removeListener|listener|setInfoWindow|visiblesInMap|oneInfoWindow|prefixId|latLng|MapTypeControlStyle|join|visiblesInBounds|isVisible|mapTypeId|panControl|clearInfo|zoomControl|panControlOptions|maptype|hideDiv|polyId|latlng|gomarker|multi|TOP_RIGHT|MapTypeId|fn|Polyline|gopoly|draw|Geocoder|OverlayView|directions|Polygon|Circle|Map|Rectangle|single|directionsResult|gogroup|ready|setOverlay|showHideOverlay|HYBRID|getOverlaysCount|removeOverlay|InfoWindow|addListenerOnce|popup|clearOverlays|showHideMarker|bounds_changed|showHideMarkerByGroup|getVisible|getVisibleMarkerCount|56|class|getMarkerByGroupCount|gomapMarker|json|url|success|onRemove|setInfo|setCenter|getInfo|getVisibleMarkers|200|getContent|TOP_LEFT|setPosition|all|OVER_QUERY_LIMIT|Marker|setMarker|each|clearMarkers|onAdd|contains|jQuery'.split('|'),0,{}))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/js/lib/typedmin.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
/* https://github.com/mattboldt/typed.js/ */
|
2 |
!function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s-1).charAt(0)&&(e-=t.substr(s).charAt(0),s--,!(s<0)););s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.setAttribute(i.attr,r):i.isInput?i.el.value=r:"html"===i.contentType?i.el.innerHTML=r:i.el.textContent=r,s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);
|
3 |
-
|
1 |
/* https://github.com/mattboldt/typed.js/ */
|
2 |
!function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s-1).charAt(0)&&(e-=t.substr(s).charAt(0),s--,!(s<0)););s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.setAttribute(i.attr,r):i.isInput?i.el.value=r:"html"===i.contentType?i.el.innerHTML=r:i.el.textContent=r,s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);
|
|
elementor-helper.php
CHANGED
@@ -75,7 +75,7 @@ class premium_Template_Tags {
|
|
75 |
|
76 |
if ( ! empty( $pagelist ) && ! is_wp_error( $pagelist ) ){
|
77 |
foreach ( $pagelist as $post ) {
|
78 |
-
$options[ $post->ID ] = __( $post->post_title, '
|
79 |
}
|
80 |
update_option( 'temp_count', $options );
|
81 |
return $options;
|
75 |
|
76 |
if ( ! empty( $pagelist ) && ! is_wp_error( $pagelist ) ){
|
77 |
foreach ( $pagelist as $post ) {
|
78 |
+
$options[ $post->ID ] = __( $post->post_title, 'premium-addons-for-elementor' );
|
79 |
}
|
80 |
update_option( 'temp_count', $options );
|
81 |
return $options;
|
languages/premium-addons-for-elementor.mo
ADDED
Binary file
|
languages/premium-addons-for-elementor.pot
ADDED
@@ -0,0 +1,2736 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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