Instagram Gallery - Version 2.4.0

Version Description

  • Fix. multiple hooks for developers
  • Improvement. Instagram Premium compatibility
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 Instagram Gallery
Version 2.4.0
Comparing to
See all releases

Code changes from version 2.3.3 to 2.4.0

Files changed (50) hide show
  1. assets/css/qligg-admin.css +69 -44
  2. assets/css/qligg-admin.min.css +1 -1
  3. assets/css/qligg.css +62 -9
  4. assets/css/qligg.min.css +1 -1
  5. assets/img/carousel.png +0 -0
  6. assets/img/grid.png +0 -0
  7. assets/img/highlight.png +0 -0
  8. assets/img/highlight2.png +0 -0
  9. assets/img/instagram-feed-accounts.png +0 -0
  10. assets/img/instagram-feed-load-more.png +0 -0
  11. assets/img/instagram-feed-masonry.png +0 -0
  12. assets/img/instagram-feed-popup-macbook.png +0 -0
  13. assets/img/instagram-feed-popup.png +0 -0
  14. assets/img/instagram-feed.png +0 -0
  15. assets/img/instagram.png +0 -0
  16. assets/img/masonry.png +0 -0
  17. assets/js/qligg-admin.js +480 -484
  18. assets/js/qligg-admin.min.js +1 -1
  19. assets/js/qligg.js +1 -1
  20. assets/js/qligg.min.js +1 -1
  21. assets/magnific-popup/jquery.magnific-popup.min.js +3 -3
  22. assets/magnific-popup/magnific-popup.css +351 -351
  23. assets/magnific-popup/magnific-popup.min.css +1 -1
  24. assets/masonry/masonry.pkgd.min.js +8 -8
  25. assets/rgba/wp-color-picker-alpha.js +483 -483
  26. assets/rgba/wp-color-picker-alpha.min.js +1 -1
  27. assets/swiper/swiper.min.css +11 -11
  28. assets/swiper/swiper.min.js +13 -13
  29. includes/{AJAX.php → ajax.php} +223 -229
  30. includes/{API.php → api.php} +5 -1
  31. includes/defaults.php +217 -192
  32. includes/frontend.php +19 -25
  33. includes/pages/premium.php +82 -0
  34. includes/pages/token.php +29 -31
  35. includes/pages/views/edit.php +140 -56
  36. includes/pages/views/list.php +14 -14
  37. includes/settings.php +248 -239
  38. includes/utis.php +27 -38
  39. index.php +3 -1
  40. insta-gallery.php +18 -23
  41. languages/index.php +1 -1
  42. languages/insta-gallery-es_ES.po +428 -428
  43. languages/insta-gallery.pot +412 -412
  44. readme.txt +282 -279
  45. templates/alert.php +9 -9
  46. templates/carousel.php +11 -12
  47. templates/gallery.php +7 -9
  48. templates/parts/actions.php +5 -0
  49. templates/parts/spinner.php +1 -0
  50. uninstall.php +16 -15
assets/css/qligg-admin.css CHANGED
@@ -14,6 +14,12 @@
14
  transform: rotate(360deg);
15
  }
16
  }
 
 
 
 
 
 
17
  .qligg-box {
18
  background-color: #fff;
19
  border: 1px solid #ddd;
@@ -25,11 +31,33 @@
25
  .qligg-box h4 {
26
  margin: 0;
27
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  .ig-table .iris-picker .iris-slider {
29
  margin-left: 8px!important;
30
  }
31
- .ig-table .iris-picker .iris-slider:nth-child(2) {
32
- display: none!important;
 
 
 
33
  }
34
  .ig-table td {
35
  vertical-align: middle;
@@ -38,6 +66,13 @@
38
  width: 46px;
39
  border-radius: 50%;
40
  }
 
 
 
 
 
 
 
41
  .ig-table input[type="text"]:read-only {
42
  font-weight: bold;
43
  font-size: 110%;
@@ -52,14 +87,6 @@
52
  border-color: transparent;
53
  box-shadow: none;
54
  }
55
- .ig-thm-color {
56
- color: #e23565;
57
- }
58
- .ig-page-header .ig-logo {
59
- float: left;
60
- margin-right: 20px;
61
- max-height: 35px;
62
- }
63
  .ig-list-images {
64
  display: inline-block;
65
  margin: 0px;
@@ -176,39 +203,44 @@
176
  -webkit-transition: all 0.25s linear;
177
  transition: all 0.25s linear;
178
  }
179
- .btn-instagram {
180
- display: inline-block;
181
- height: auto;
182
- box-shadow: none;
183
- text-shadow: none;
184
- border: none;
185
  text-transform: uppercase;
186
- cursor: pointer;
187
- padding: 5px 20px;
188
- border-radius: 3px;
189
- -webkit-transition: all .5s;
190
- transition: all .5s;
191
  text-decoration: none;
192
- line-height: 1.5;
193
- background: #972dbe;
194
- color: #fff;
 
 
 
 
 
 
 
195
  }
 
196
  .btn-instagram:focus {
197
  display: inline-block;
198
  height: auto;
199
  box-shadow: none;
200
  text-shadow: none;
201
- border: none;
202
  text-transform: uppercase;
203
  cursor: pointer;
204
- padding: 5px 20px;
205
  border-radius: 3px;
206
- -webkit-transition: all .5s;
207
  transition: all .5s;
208
  text-decoration: none;
209
- line-height: 1.5;
210
- background: #feb547;
211
  color: #fff;
 
 
 
 
 
212
  }
213
  .btn-instagram:hover {
214
  background: #feb547;
@@ -216,10 +248,12 @@
216
  }
217
  .btn-instagram .dashicons {
218
  text-decoration: none;
219
- line-height: normal;
220
  vertical-align: middle;
221
  height: initial;
222
  padding-right: 5px;
 
 
 
223
  }
224
  .btn-instagram.secondary {
225
  background: #e23565;
@@ -258,16 +292,7 @@
258
  width: 50px;
259
  height: 26px;
260
  }
261
- .ig_adv-setting {
262
- display: none;
263
- }
264
- .ig_adv-setting input[type="checkbox"] {
265
- zoom: 1.5;
266
- }
267
- .ig_adv-setting input[type="url"] {
268
- min-width: 75%;
269
- }
270
- .ig_adv-setting .insta-gallery-spinner {
271
  position: relative;
272
  padding: 10px 30px;
273
  height: 60px;
@@ -336,17 +361,17 @@ input.ig-doc-red-url {
336
  margin: auto;
337
  display: inline-block;
338
  }
339
- .ig_adv-setting-toggle {
340
  cursor: pointer;
341
  border: 0px;
342
  }
343
- .ig_adv-setting-toggle .dashicons-minus {
344
  display: none;
345
  }
346
- .ig_adv-setting-toggle.active .dashicons-minus {
347
  display: initial;
348
  }
349
- .ig_adv-setting-toggle.active .dashicons-plus {
350
  display: none;
351
  }
352
  .ig_donation-wrap {
14
  transform: rotate(360deg);
15
  }
16
  }
17
+ .qlwrap .nav-tab i {
18
+ line-height: 26px;
19
+ }
20
+ .qlwrap hr {
21
+ margin: 3em 0 1em 0;
22
+ }
23
  .qligg-box {
24
  background-color: #fff;
25
  border: 1px solid #ddd;
31
  .qligg-box h4 {
32
  margin: 0;
33
  }
34
+ div.premium,
35
+ tr.premium,
36
+ li.premium {
37
+ position: relative;
38
+ pointer-events: none;
39
+ opacity: 0.5;
40
+ }
41
+ div.premium:before,
42
+ tr.premium:before,
43
+ li.premium:before {
44
+ content: '';
45
+ position: absolute;
46
+ top: 0;
47
+ bottom: -1px;
48
+ left: 0;
49
+ right: 0;
50
+ background-color: #eee;
51
+ opacity: 0.25;
52
+ }
53
  .ig-table .iris-picker .iris-slider {
54
  margin-left: 8px!important;
55
  }
56
+ .ig-table tr.premium {
57
+ display: block!important;
58
+ }
59
+ .ig-table tr.premium td p.description {
60
+ display: none;
61
  }
62
  .ig-table td {
63
  vertical-align: middle;
66
  width: 46px;
67
  border-radius: 50%;
68
  }
69
+ .ig-table td p.premium,
70
+ .ig-table td span.premium {
71
+ font-size: 11px;
72
+ font-weight: 600;
73
+ font-style: italic;
74
+ color: #747474;
75
+ }
76
  .ig-table input[type="text"]:read-only {
77
  font-weight: bold;
78
  font-size: 110%;
87
  border-color: transparent;
88
  box-shadow: none;
89
  }
 
 
 
 
 
 
 
 
90
  .ig-list-images {
91
  display: inline-block;
92
  margin: 0px;
203
  -webkit-transition: all 0.25s linear;
204
  transition: all 0.25s linear;
205
  }
206
+ .btn-instagram-account {
207
+ padding: 0 24px 0 120px;
208
+ height: 44px;
209
+ line-height: 44px;
 
 
210
  text-transform: uppercase;
211
+ color: rgba(255, 255, 255, 0.8) !important;
 
 
 
 
212
  text-decoration: none;
213
+ border-radius: 3px;
214
+ transition: all 0.5s ease-in-out;
215
+ font-weight: 600;
216
+ display: inline-block;
217
+ background: #408bd1 url(../img/instagram.png) no-repeat 16px 13.5px;
218
+ background-size: auto 20px;
219
+ }
220
+ .btn-instagram-account:focus,
221
+ .btn-instagram-account:hover {
222
+ box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0.2);
223
  }
224
+ .btn-instagram,
225
  .btn-instagram:focus {
226
  display: inline-block;
227
  height: auto;
228
  box-shadow: none;
229
  text-shadow: none;
230
+ border: 0;
231
  text-transform: uppercase;
232
  cursor: pointer;
233
+ padding: 8px 24px;
234
  border-radius: 3px;
 
235
  transition: all .5s;
236
  text-decoration: none;
237
+ background: #972dbe;
 
238
  color: #fff;
239
+ font-size: 12px;
240
+ font-weight: 600;
241
+ }
242
+ .btn-instagram:focus {
243
+ background: #feb547;
244
  }
245
  .btn-instagram:hover {
246
  background: #feb547;
248
  }
249
  .btn-instagram .dashicons {
250
  text-decoration: none;
 
251
  vertical-align: middle;
252
  height: initial;
253
  padding-right: 5px;
254
+ font-size: 14px;
255
+ line-height: 12px;
256
+ position: relative;
257
  }
258
  .btn-instagram.secondary {
259
  background: #e23565;
292
  width: 50px;
293
  height: 26px;
294
  }
295
+ #ig-save-settings .insta-gallery-spinner {
 
 
 
 
 
 
 
 
 
296
  position: relative;
297
  padding: 10px 30px;
298
  height: 60px;
361
  margin: auto;
362
  display: inline-block;
363
  }
364
+ #ig-save-settings-toggle {
365
  cursor: pointer;
366
  border: 0px;
367
  }
368
+ #ig-save-settings-toggle .dashicons-minus {
369
  display: none;
370
  }
371
+ #ig-save-settings-toggle.active .dashicons-minus {
372
  display: initial;
373
  }
374
+ #ig-save-settings-toggle.active .dashicons-plus {
375
  display: none;
376
  }
377
  .ig_donation-wrap {
assets/css/qligg-admin.min.css CHANGED
@@ -1,2 +1,2 @@
1
 
2
- @-moz-keyframes "igspin"{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes "igspin"{100%{-webkit-transform:rotate(360deg)}}@keyframes "igspin"{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.qligg-box{background-color:#fff;border:1px solid #ddd;padding:15px;word-break:break-word;margin:0 0 15px 0;min-width:350px}.qligg-box h4{margin:0}.ig-table .iris-picker .iris-slider{margin-left:8px!important}.ig-table .iris-picker .iris-slider:nth-child(2){display:none!important}.ig-table td{vertical-align:middle}.ig-table td.profile-picture img{width:46px;border-radius:50%}.ig-table input[type="text"]:read-only{font-weight:bold;font-size:110%;padding:3px 10px;background:#f7f7f7;color:#72777c;cursor:copy;border-color:transparent;box-shadow:none}.ig-table input[type="text"]:read-only:focus{border-color:transparent;box-shadow:none}.ig-thm-color{color:#e23565}.ig-page-header .ig-logo{float:left;margin-right:20px;max-height:35px}.ig-list-images{display:inline-block;margin:0}.ig-list-images li{display:inline-block;margin:0 10px 0 0;margin-bottom:0;vertical-align:middle;color:#aaa;position:relative;border:1px solid #f1f1f1;border-radius:3px;padding:10px;background-color:#fff;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,0.07)}.ig-list-images li:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background-color:#eee;opacity:.2}.ig-list-images li.active:before,.ig-list-images li:hover:before{opacity:0}.ig-list-images li.active label,.ig-list-images li:hover label{color:#e23565}.ig-list-images label{display:block;position:relative;line-height:2em;z-index:9;cursor:pointer;transition:all .25s linear;text-align:center;font-weight:bold;color:#23282d}.ig-list-images input[type=radio]{display:none}.ig-list-buttons{display:inline-block;margin:0}.ig-list-buttons li{display:inline-block;margin-right:20px;margin-bottom:0;vertical-align:middle;color:#aaa;position:relative}.ig-list-buttons li:hover label{color:#e23565}.ig-list-buttons li:hover .check{border-color:#e23565}.ig-list-buttons li .check{display:block;position:absolute;border:5px solid #aaa;border-radius:50%;height:25px;width:25px;top:5px;z-index:5;-webkit-transition:border .25s linear;transition:border .25s linear}.ig-list-buttons li .check::before{display:block;position:absolute;content:'';border-radius:100%;height:15px;width:15px;top:5px;left:5px;margin:auto;-webkit-transition:background .25s linear;transition:background .25s linear}.ig-list-buttons input[type=radio]{position:absolute;visibility:hidden}.ig-list-buttons input[type=radio]:checked ~ .check{border-color:#e23565}.ig-list-buttons input[type=radio]:checked ~ .check::before{background:#e23565}.ig-list-buttons input[type=radio]:checked ~ label{color:#e23565}.ig-list-buttons label{display:block;position:relative;font-size:1.35em;padding:10px 5px 10px 50px;z-index:9;cursor:pointer;-webkit-transition:all .25s linear;transition:all .25s linear}.btn-instagram{display:inline-block;height:auto;box-shadow:none;text-shadow:none;border:0;text-transform:uppercase;cursor:pointer;padding:5px 20px;border-radius:3px;-webkit-transition:all .5s;transition:all .5s;text-decoration:none;line-height:1.5;background:#972dbe;color:#fff}.btn-instagram:focus{display:inline-block;height:auto;box-shadow:none;text-shadow:none;border:0;text-transform:uppercase;cursor:pointer;padding:5px 20px;border-radius:3px;-webkit-transition:all .5s;transition:all .5s;text-decoration:none;line-height:1.5;background:#feb547;color:#fff}.btn-instagram:hover{background:#feb547;color:#fff}.btn-instagram .dashicons{text-decoration:none;line-height:normal;vertical-align:middle;height:initial;padding-right:5px}.btn-instagram.secondary{background:#e23565}.btn-instagram.secondary:focus{background:#feb547;color:#fff}.btn-instagram.secondary:hover{background:#feb547;color:#fff}.ig-tab-content-row{display:none;border-bottom:1px solid #f1f1f1}.ig-tab-content-row.active{display:table-row}.ig_page_msg p{font-size:20px;color:#e93b59}.ig-table-edit td{vertical-align:top}.ig-table-edit input[type="checkbox"]{zoom:1.5}.ig-table-edit input[type="checkbox"]:checked:before{color:#e23565}.ig-table-edit input[type="color"]{vertical-align:top;padding:1px 2px;width:50px;height:26px}.ig_adv-setting{display:none}.ig_adv-setting input[type="checkbox"]{zoom:1.5}.ig_adv-setting input[type="url"]{min-width:75%}.ig_adv-setting .ig-spinner{position:relative;padding:10px 30px;height:60px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.ig_adv-setting .ig-spinner .ig-spin{position:absolute;top:50%;left:50%;width:60px;margin:-30px 0 0 -30px;-webkit-animation:igspin 4s linear infinite;-moz-animation:igspin 4s linear infinite;animation:igspin 4s linear infinite}.igf-response{font-size:16px;color:#e93b59;padding:5px}.ig-account-section{border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#fff;padding:10px}.ig-account-section .notice p{color:#e93b59;font-size:14px}.ig-doc-header{background:#fff;padding:1px 10px 5px 10px;border:1px solid #ddd;margin-bottom:10px}.ig-doc-body article{background:#fff;padding:1px 10px 5px 10px;border:1px solid #ddd;margin-bottom:10px;-webkit-transition:.3s;transition:.3s}.ig-doc-body article:hover{box-shadow:0 0 11px rgba(33,33,33,0.2)}.ig-doc-body article table{border-collapse:collapse}.ig-doc-body article table th{text-align:left;padding:3px 5px;border:1px solid #ddd}.ig-doc-body article table td{padding:3px 5px;border:1px solid #ddd}.ig-doc-body figure img{border:1px solid #e93b59;box-shadow:0 3px 10px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.2)}input.ig-doc-red-url{cursor:copy;min-width:650px;color:#e93b59}.ig-doc-figure{border:1px solid #e93b59;box-shadow:0 3px 10px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.2)}#TB_window figure.ig-doc-figure{margin:auto;display:inline-block}.ig_adv-setting-toggle{cursor:pointer;border:0}.ig_adv-setting-toggle .dashicons-minus{display:none}.ig_adv-setting-toggle.active .dashicons-minus{display:initial}.ig_adv-setting-toggle.active .dashicons-plus{display:none}.ig_donation-wrap{padding:10px 20px;background:lightgoldenrodyellow;margin-top:35px;font-weight:bold}.ig_donation-wrap p{font-size:125%}.ig_donation_text{display:inline-block;vertical-align:middle;line-height:normal}.ig_donation_btn{display:inline-block;margin-left:20px;text-decoration:none;padding:6px 20px;background:#fecb5d;color:#23282d;text-transform:uppercase;box-shadow:1px 1px 5px #888;font:bold 100%/24px sans-serif}.ig_donation_btn:hover{color:#fff;background:#972dbe}.ig_donation_btn img{vertical-align:middle;height:24px}
1
 
2
+ @-moz-keyframes "igspin"{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes "igspin"{100%{-webkit-transform:rotate(360deg)}}@keyframes "igspin"{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.qlwrap .nav-tab i{line-height:26px}.qlwrap hr{margin:3em 0 1em 0}.qligg-box{background-color:#fff;border:1px solid #ddd;padding:15px;word-break:break-word;margin:0 0 15px 0;min-width:350px}.qligg-box h4{margin:0}div.premium,tr.premium,li.premium{position:relative;pointer-events:none;opacity:.5}div.premium:before,tr.premium:before,li.premium:before{content:'';position:absolute;top:0;bottom:-1px;left:0;right:0;background-color:#eee;opacity:.25}.ig-table .iris-picker .iris-slider{margin-left:8px!important}.ig-table tr.premium{display:block!important}.ig-table tr.premium td p.description{display:none}.ig-table td{vertical-align:middle}.ig-table td.profile-picture img{width:46px;border-radius:50%}.ig-table td p.premium,.ig-table td span.premium{font-size:11px;font-weight:600;font-style:italic;color:#747474}.ig-table input[type="text"]:read-only{font-weight:bold;font-size:110%;padding:3px 10px;background:#f7f7f7;color:#72777c;cursor:copy;border-color:transparent;box-shadow:none}.ig-table input[type="text"]:read-only:focus{border-color:transparent;box-shadow:none}.ig-list-images{display:inline-block;margin:0}.ig-list-images li{display:inline-block;margin:0 10px 0 0;margin-bottom:0;vertical-align:middle;color:#aaa;position:relative;border:1px solid #f1f1f1;border-radius:3px;padding:10px;background-color:#fff;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,0.07)}.ig-list-images li:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;background-color:#eee;opacity:.2}.ig-list-images li.active:before,.ig-list-images li:hover:before{opacity:0}.ig-list-images li.active label,.ig-list-images li:hover label{color:#e23565}.ig-list-images label{display:block;position:relative;line-height:2em;z-index:9;cursor:pointer;transition:all .25s linear;text-align:center;font-weight:bold;color:#23282d}.ig-list-images input[type=radio]{display:none}.ig-list-buttons{display:inline-block;margin:0}.ig-list-buttons li{display:inline-block;margin-right:20px;margin-bottom:0;vertical-align:middle;color:#aaa;position:relative}.ig-list-buttons li:hover label{color:#e23565}.ig-list-buttons li:hover .check{border-color:#e23565}.ig-list-buttons li .check{display:block;position:absolute;border:5px solid #aaa;border-radius:50%;height:25px;width:25px;top:5px;z-index:5;-webkit-transition:border .25s linear;transition:border .25s linear}.ig-list-buttons li .check::before{display:block;position:absolute;content:'';border-radius:100%;height:15px;width:15px;top:5px;left:5px;margin:auto;-webkit-transition:background .25s linear;transition:background .25s linear}.ig-list-buttons input[type=radio]{position:absolute;visibility:hidden}.ig-list-buttons input[type=radio]:checked ~ .check{border-color:#e23565}.ig-list-buttons input[type=radio]:checked ~ .check::before{background:#e23565}.ig-list-buttons input[type=radio]:checked ~ label{color:#e23565}.ig-list-buttons label{display:block;position:relative;font-size:1.35em;padding:10px 5px 10px 50px;z-index:9;cursor:pointer;-webkit-transition:all .25s linear;transition:all .25s linear}.btn-instagram-account{padding:0 24px 0 120px;height:44px;line-height:44px;text-transform:uppercase;color:rgba(255,255,255,0.8)!important;text-decoration:none;border-radius:3px;transition:all .5s ease-in-out;font-weight:600;display:inline-block;background:#408bd1 url(../img/instagram.png) no-repeat 16px 13.5px;background-size:auto 20px}.btn-instagram-account:focus,.btn-instagram-account:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,0.2)}.btn-instagram,.btn-instagram:focus{display:inline-block;height:auto;box-shadow:none;text-shadow:none;border:0;text-transform:uppercase;cursor:pointer;padding:8px 24px;border-radius:3px;transition:all .5s;text-decoration:none;background:#972dbe;color:#fff;font-size:12px;font-weight:600}.btn-instagram:focus{background:#feb547}.btn-instagram:hover{background:#feb547;color:#fff}.btn-instagram .dashicons{text-decoration:none;vertical-align:middle;height:initial;padding-right:5px;font-size:14px;line-height:12px;position:relative}.btn-instagram.secondary{background:#e23565}.btn-instagram.secondary:focus{background:#feb547;color:#fff}.btn-instagram.secondary:hover{background:#feb547;color:#fff}.ig-tab-content-row{display:none;border-bottom:1px solid #f1f1f1}.ig-tab-content-row.active{display:table-row}.ig_page_msg p{font-size:20px;color:#e93b59}.ig-table-edit td{vertical-align:top}.ig-table-edit input[type="checkbox"]{zoom:1.5}.ig-table-edit input[type="checkbox"]:checked:before{color:#e23565}.ig-table-edit input[type="color"]{vertical-align:top;padding:1px 2px;width:50px;height:26px}#ig-save-settings .insta-gallery-spinner{position:relative;padding:10px 30px;height:60px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.igf-response{font-size:16px;color:#e93b59;padding:5px}.ig-account-section{border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#fff;padding:10px}.ig-account-section .notice p{color:#e93b59;font-size:14px}.ig-doc-header{background:#fff;padding:1px 10px 5px 10px;border:1px solid #ddd;margin-bottom:10px}.ig-doc-body article{background:#fff;padding:1px 10px 5px 10px;border:1px solid #ddd;margin-bottom:10px;-webkit-transition:.3s;transition:.3s}.ig-doc-body article:hover{box-shadow:0 0 11px rgba(33,33,33,0.2)}.ig-doc-body article table{border-collapse:collapse}.ig-doc-body article table th{text-align:left;padding:3px 5px;border:1px solid #ddd}.ig-doc-body article table td{padding:3px 5px;border:1px solid #ddd}.ig-doc-body figure img{border:1px solid #e93b59;box-shadow:0 3px 10px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.2)}input.ig-doc-red-url{cursor:copy;min-width:650px;color:#e93b59}.ig-doc-figure{border:1px solid #e93b59;box-shadow:0 3px 10px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.2)}#TB_window figure.ig-doc-figure{margin:auto;display:inline-block}#ig-save-settings-toggle{cursor:pointer;border:0}#ig-save-settings-toggle .dashicons-minus{display:none}#ig-save-settings-toggle.active .dashicons-minus{display:initial}#ig-save-settings-toggle.active .dashicons-plus{display:none}.ig_donation-wrap{padding:10px 20px;background:lightgoldenrodyellow;margin-top:35px;font-weight:bold}.ig_donation-wrap p{font-size:125%}.ig_donation_text{display:inline-block;vertical-align:middle;line-height:normal}.ig_donation_btn{display:inline-block;margin-left:20px;text-decoration:none;padding:6px 20px;background:#fecb5d;color:#23282d;text-transform:uppercase;box-shadow:1px 1px 5px #888;font:bold 100%/24px sans-serif}.ig_donation_btn:hover{color:#fff;background:#972dbe}.ig_donation_btn img{vertical-align:middle;height:24px}
assets/css/qligg.css CHANGED
@@ -80,6 +80,12 @@
80
  .qligg-icon-instagram-o:before {
81
  content: "\ea92";
82
  }
 
 
 
 
 
 
83
  .insta-gallery-feed .insta-gallery-item,
84
  .insta-gallery-feed .insta-gallery-image,
85
  .insta-gallery-feed .insta-gallery-actions {
@@ -216,6 +222,56 @@
216
  opacity: 1;
217
  transition: all 0.5s ease-out;
218
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  .insta-gallery-feed .insta-gallery-actions {
220
  text-align: center;
221
  margin: 15px 0px;
@@ -224,7 +280,7 @@
224
  display: inline-block;
225
  margin: 0 3px;
226
  font-size: 14px;
227
- padding: 6px 24px;
228
  transition: all .3s;
229
  text-decoration: none;
230
  border-radius: 2px;
@@ -555,25 +611,22 @@
555
  margin: 0 5px 0px 0;
556
  }
557
  .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user {
 
 
558
  border-bottom: 1px solid #eee;
559
  width: auto;
560
  }
561
- .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a img,
562
- .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a p {
563
- display: inline-block;
564
- }
565
- .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a img {
566
  border: none;
567
  width: 32px;
568
  height: 32px;
569
  margin-right: 10px;
570
  border-radius: 40px;
571
  }
572
- .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a p {
573
  margin: 0;
574
  padding: 0;
575
- line-height: 32px;
576
- font-weight: bold;
577
  font-size: 13px;
578
  }
579
  .instagal-ie-8 .insta-gallery-spinner {
80
  .qligg-icon-instagram-o:before {
81
  content: "\ea92";
82
  }
83
+ .mfp-wrap,
84
+ .insta-gallery-feed {
85
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
86
+ font-size: 16px;
87
+ line-height: 1;
88
+ }
89
  .insta-gallery-feed .insta-gallery-item,
90
  .insta-gallery-feed .insta-gallery-image,
91
  .insta-gallery-feed .insta-gallery-actions {
222
  opacity: 1;
223
  transition: all 0.5s ease-out;
224
  }
225
+ .insta-gallery-feed .insta-gallery-profile {
226
+ width: auto;
227
+ margin: 15px 0;
228
+ }
229
+ .insta-gallery-feed .insta-gallery-profile,
230
+ .insta-gallery-feed .insta-gallery-profile .avatar,
231
+ .insta-gallery-feed .insta-gallery-profile .info {
232
+ height: 46px;
233
+ display: flex;
234
+ align-items: center;
235
+ }
236
+ .insta-gallery-feed .insta-gallery-profile img {
237
+ border: none;
238
+ width: 46px;
239
+ height: 46px;
240
+ margin-right: 10px;
241
+ border-radius: 60px;
242
+ }
243
+ .insta-gallery-feed .insta-gallery-profile .avatar {
244
+ margin: 0 10px 0 0;
245
+ }
246
+ .insta-gallery-feed .insta-gallery-profile .separator,
247
+ .insta-gallery-feed .insta-gallery-profile .follow,
248
+ .insta-gallery-feed .insta-gallery-profile .user {
249
+ margin: 0;
250
+ padding: 0;
251
+ text-decoration: none;
252
+ font-weight: 600;
253
+ font-size: 16px;
254
+ color: #262626;
255
+ display: inline-block;
256
+ vertical-align: middle;
257
+ line-height: 18px;
258
+ }
259
+ .insta-gallery-feed .insta-gallery-profile .separator {
260
+ color: #262626;
261
+ margin-left: 4px;
262
+ margin-right: 4px;
263
+ }
264
+ .insta-gallery-feed .insta-gallery-profile .follow {
265
+ color: #3897f0;
266
+ }
267
+ .insta-gallery-feed .insta-gallery-profile .follow:hover {
268
+ color: #262626;
269
+ }
270
+ .insta-gallery-feed .insta-gallery-profile .description {
271
+ line-height: 18px;
272
+ font-size: 12px;
273
+ font-weight: 600;
274
+ }
275
  .insta-gallery-feed .insta-gallery-actions {
276
  text-align: center;
277
  margin: 15px 0px;
280
  display: inline-block;
281
  margin: 0 3px;
282
  font-size: 14px;
283
+ padding: 12px 24px;
284
  transition: all .3s;
285
  text-decoration: none;
286
  border-radius: 2px;
611
  margin: 0 5px 0px 0;
612
  }
613
  .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user {
614
+ display: inline-flex;
615
+ align-items: center;
616
  border-bottom: 1px solid #eee;
617
  width: auto;
618
  }
619
+ .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user img {
 
 
 
 
620
  border: none;
621
  width: 32px;
622
  height: 32px;
623
  margin-right: 10px;
624
  border-radius: 40px;
625
  }
626
+ .mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a {
627
  margin: 0;
628
  padding: 0;
629
+ text-decoration: none;
 
630
  font-size: 13px;
631
  }
632
  .instagal-ie-8 .insta-gallery-spinner {
assets/css/qligg.min.css CHANGED
@@ -1,2 +1,2 @@
1
 
2
- @-moz-keyframes "insta-gallery-spin"{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes "insta-gallery-spin"{100%{-webkit-transform:rotate(360deg)}}@keyframes "insta-gallery-spin"{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:'qligg';src:url(data:font/opentype;charset=utf-8;base64,TBEAALAQAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA5cMM+AAAAAAAAAAAAAAAAAAAAAAAAAoAcQBsAGkAZwBnAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHEAbABpAGcAZwAAAAAAAAEAAAALAIAAAwAwT1MvMg8SB5QAAAC8AAAAYGNtYXDqzunMAAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZpBTx8kAAAGAAAAMsGhlYWQVTiJdAAAOMAAAADZoaGVhB8cD0AAADmgAAAAkaG10eEGABdkAAA6MAAAATGxvY2EWvhqaAAAO2AAAAChtYXhwABkAyQAADwAAAAAgbmFtZaNwe4sAAA8gAAABbnBvc3QAAwAAAAAQkAAAACAAAwPYAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAAD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MjYzLTI2MyAyNjN6TTUxMiAyNzcuNGMtOTQuMiAwLTE3MC42IDc2LjQtMTcwLjYgMTcwLjZzNzYuNCAxNzAuNiAxNzAuNiAxNzAuNmM5NC4yIDAgMTcwLjYtNzYuNCAxNzAuNi0xNzAuNnMtNzYuNC0xNzAuNi0xNzAuNi0xNzAuNnpNODQ2LjggNzIxLjRjMC0zMy45MS0yNy40OS02MS40LTYxLjQtNjEuNHMtNjEuNCAyNy40OS02MS40IDYxLjRjMCAzMy45MSAyNy40OSA2MS40IDYxLjQgNjEuNHM2MS40LTI3LjQ5IDYxLjQtNjEuNHoiIC8+CjwvZm9udD48L2RlZnM+PC9zdmc+) format('svg');font-weight:normal;font-style:normal}[class^="qligg-icon-"],[class*=" qligg-icon-"]{font-family:'qligg'!important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.qligg-icon-video:before{content:"\e901"}.qligg-icon-gallery:before{content:"\e90d"}.qligg-icon-clock-o:before{content:"\e90c"}.qligg-icon-upload:before{content:"\e900"}.qligg-icon-share-o:before{content:"\e902"}.qligg-icon-comment:before{content:"\e903"}.qligg-icon-heart:before{content:"\e904"}.qligg-icon-instagram:before{content:"\e905"}.qligg-icon-prev:before{content:"\e906"}.qligg-icon-prev-o:before{content:"\e907"}.qligg-icon-next:before{content:"\e908"}.qligg-icon-next-o:before{content:"\e909"}.qligg-icon-heart-o:before{content:"\e90a"}.qligg-icon-comment-o:before{content:"\e90b"}.qligg-icon-instagram-o:before{content:"\ea92"}.insta-gallery-feed .insta-gallery-item,.insta-gallery-feed .insta-gallery-image,.insta-gallery-feed .insta-gallery-actions{opacity:0}.insta-gallery-feed.loaded .insta-gallery-list .insta-gallery-item{transition:opacity .4s;opacity:1}.insta-gallery-feed.loaded .insta-gallery-list .insta-gallery-item.ig-image-loaded .insta-gallery-image{transition:all .4s;opacity:1}.insta-gallery-feed.loaded .insta-gallery-actions{transition:all .4s ease-in;opacity:1}.insta-gallery-feed .insta-gallery-spinner{position:relative;height:60px;width:auto;box-sizing:content-box;background-size:60px;background-position:50% 50%;background-repeat:no-repeat;background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJsb2FkZXItMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA1MCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAgNTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjZTJlMmUyIiBkPSJNNDMuOTM1LDI1LjE0NWMwLTEwLjMxOC04LjM2NC0xOC42ODMtMTguNjgzLTE4LjY4M2MtMTAuMzE4LDAtMTguNjgzLDguMzY1LTE4LjY4MywxOC42ODNoNC4wNjhjMC04LjA3MSw2LjU0My0xNC42MTUsMTQuNjE1LTE0LjYxNWM4LjA3MiwwLDE0LjYxNSw2LjU0MywxNC42MTUsMTQuNjE1SDQzLjkzNXoiIHRyYW5zZm9ybT0icm90YXRlKDE3OS4yNzMgMjUgMjUpIj48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVUeXBlPSJ4bWwiIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDI1IDI1IiB0bz0iMzYwIDI1IDI1IiBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGVUcmFuc2Zvcm0+PC9wYXRoPjwvc3ZnPg==)}.insta-gallery-feed .insta-gallery-list .insta-gallery-item{overflow:hidden;display:block;line-height:0}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon,.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-image{transition:all .3s}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon{position:absolute;z-index:1;font-size:16px;color:#fff;opacity:.66;top:0;margin:10px;right:0;text-shadow:1px 1px rgba(0,0,0,0.15);display:block;text-decoration:none}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon.qligg-icon-video{top:50%;left:50%;margin:-12px auto auto -8px;font-size:24px;width:24px;height:24px}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon.qligg-icon-instagram{top:auto;bottom:0;opacity:0;pointer-events:none}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap{display:block;position:relative;text-align:center;background-color:#eee;cursor:pointer}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image{width:100%;height:auto;overflow:hidden;vertical-align:middle}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask{position:absolute;content:'';top:0;bottom:0;left:0;right:0;z-index:8;transition:all .5s ease-out;opacity:0;background:rgba(0,122,255,0.55);width:100%;height:100%}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask-content{position:absolute;top:50%;left:0;right:0;margin:-10px 0 0 0;z-index:9;width:100%;color:#fff;transition:all .5s ease;opacity:0;line-height:20px;font-size:18px;text-align:center}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask-content>span{padding:0 4px;font-size:15px;font-weight:600;vertical-align:middle;line-height:20px}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask-content>span>i{font-size:12px;margin-right:3px}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-instagram{opacity:.8;pointer-events:all;z-index:99}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-instagram:hover{opacity:1}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-video,.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-gallery{opacity:0;pointer-events:none}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-item-wrap .insta-gallery-image-mask-content{opacity:1}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-item-wrap .insta-gallery-image-mask{opacity:1;transition:all .5s ease-out}.insta-gallery-feed .insta-gallery-actions{text-align:center;margin:15px 0}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button{display:inline-block;margin:0 3px;font-size:14px;padding:6px 24px;transition:all .3s;text-decoration:none;border-radius:2px;background-color:#c32a67;color:#fff}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button>i{margin:0 8px 0 0;font-size:12px}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button:focus,.insta-gallery-feed .insta-gallery-actions .insta-gallery-button:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,0.2)}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button.follow{background-color:#408bd1}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button.load{background-color:#262626}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{display:flex;justify-content:center;align-items:stretch;box-sizing:border-box}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap{display:flex;justify-content:center;align-items:center;overflow:hidden;width:100%;padding-top:100%}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image{overflow:hidden;object-fit:cover;width:100%;height:100%;position:absolute;top:0;bottom:0;right:0;left:0}.insta-gallery-feed[data-feed_layout=carousel]{overflow:hidden}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list{display:flex;align-items:center}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next,.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev{transition:all .3s;background:0;top:0;bottom:0;height:100%;margin:0;background:transparent;width:32px;display:flex;align-items:center}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next>i,.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev>i{text-align:center;color:#e23565;width:32px;font-size:26px}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next:hover,.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev:hover{background-color:rgba(0,0,0,0.2)}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev{left:0}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next{right:0}.insta-gallery-feed[data-feed_layout=carousel] .swiper-pagination-bullet-active{background-color:#e23565}.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:start;overflow:hidden}@media screen and (max-width:1023px) and (min-width:768px){.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{min-width:33.333%}}@media screen and (max-width:767px){.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{min-width:33.333%}}@media screen and (max-width:480px){.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{min-width:50%}}.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item{position:absolute}.insta-gallery-alert{background-color:#e23565;padding:15px;color:#fff;border-radius:3px;margin:0 0 15px 0;width:100%;display:block}.insta-gallery-alert::after,.insta-gallery-alert::before{content:' ';display:table}.insta-gallery-alert::after{clear:both}.insta-gallery-alert .button{float:right}.insta-gallery-alert ul{padding:0;margin:0}.insta-gallery-alert li{list-style:none outside!important;padding-left:0!important;margin-left:0!important}.mfp-wrap .mfp-arrow{font-family:'qligg'!important;speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:30px;font-weight:bold}.mfp-wrap .mfp-arrow:after{display:none}.mfp-wrap .mfp-arrow:before{border:0}.mfp-wrap .mfp-arrow.mfp-arrow-left:before{content:"\e906"}.mfp-wrap .mfp-arrow.mfp-arrow-right:before{content:"\e908"}.mfp-wrap .mfp-container{cursor:pointer!important}.mfp-wrap .mfp-container .mfp-close{position:fixed;top:30px;right:10px;color:#fff;font-weight:normal;font-size:30px;margin:0;height:auto;line-height:1;cursor:pointer!important;font-size:24px;content:'×'}.mfp-wrap .mfp-container .mfp-content{width:auto;margin:0 auto}.mfp-wrap .mfp-container .mfp-content .mfp-figure,.mfp-wrap .mfp-container .mfp-content .mfp-figure>img,.mfp-wrap .mfp-container .mfp-content .mfp-figure>video{max-height:70vh!important;max-width:80vw!important}.mfp-wrap .mfp-container .mfp-content .mfp-img{padding:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure{position:relative;padding:0;overflow:hidden!important;border-radius:3px}.mfp-wrap .mfp-container .mfp-content .mfp-figure:after{display:none}.mfp-wrap .mfp-container .mfp-content .mfp-figure.left{padding-left:300px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.left .mfp-bottom-bar{border-right:1px solid #eee;top:0;bottom:0;left:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure.right{padding-right:300px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.right .mfp-bottom-bar{border-left:1px solid #eee;top:0;bottom:0;right:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure.left .mfp-bottom-bar,.mfp-wrap .mfp-container .mfp-content .mfp-figure.right .mfp-bottom-bar{width:300px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.top .mfp-bottom-bar,.mfp-wrap .mfp-container .mfp-content .mfp-figure.bottom .mfp-bottom-bar{left:0;right:0;overflow-y:auto;overflow-x:hidden;width:100%;min-height:50px;max-height:100px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.bottom{padding-bottom:50px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.bottom .mfp-bottom-bar{border-top:1px solid #eee;bottom:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure.top{padding-top:50px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.top .mfp-bottom-bar{border-bottom:1px solid #eee;top:0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar{top:auto;bottom:auto;right:auto;left:auto;background-color:#fff;margin:0;padding:0;line-height:1.4;text-align:left}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title{font-size:13px;font-weight:400;color:#262626;padding:0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title a{font-weight:bold;color:#262626}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title a:hover{color:#3897f0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-caption{display:block;clear:both;margin:0;padding:15px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-caption{padding-top:0;padding-bottom:0;margin-bottom:15px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons .mfp-link,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons .mfp-counter{position:inherit;display:inline-block;font-size:12px;font-weight:400;color:#999;margin:0 15px 0 0;line-height:1}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons .mfp-link:hover{color:#3897f0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-link i,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-comments i,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-likes i{margin:0 4px 0 0;font-size:11px;font-weight:bold}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info{border-top:1px solid #eee}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-date{text-transform:uppercase;font-size:12px;color:#999;float:right;position:relative;bottom:-1px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-date,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-comments,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-likes{display:inline-block;margin:0 5px 0 0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user{border-bottom:1px solid #eee;width:auto}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a img,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a p{display:inline-block}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a img{border:0;width:32px;height:32px;margin-right:10px;border-radius:40px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a p{margin:0;padding:0;line-height:32px;font-weight:bold;font-size:13px}.instagal-ie-8 .insta-gallery-spinner{display:none}.instagal-ie-8 insta-gallery-list .insta-gallery-item{max-width:33.333%;float:left}.instagal-ie-8 insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap:hover:after{background:0}.instagal-ie-8 .swiper-button-prev{display:none}.instagal-ie-8 .swiper-button-next{display:none}.instagal-ie-9 .insta-gallery-spinner{display:none}.instagal-ie-9 insta-gallery-list .insta-gallery-item{max-width:33.333%;float:left}.instagal-ie-9 .swiper-button-prev{display:none}.instagal-ie-9 .swiper-button-next{display:none}.igblock-wrap-IElte8 insta-gallery-list .insta-gallery-item{width:25%;float:left}.igblock-wrap-IElte8 insta-gallery-list:after{clear:both;display:block;content:""}
1
 
2
+ @-moz-keyframes "insta-gallery-spin"{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes "insta-gallery-spin"{100%{-webkit-transform:rotate(360deg)}}@keyframes "insta-gallery-spin"{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:'qligg';src:url(data:font/opentype;charset=utf-8;base64,TBEAALAQAAABAAIAAAAAAAAAAAAAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA5cMM+AAAAAAAAAAAAAAAAAAAAAAAAAoAcQBsAGkAZwBnAAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAKAHEAbABpAGcAZwAAAAAAAAEAAAALAIAAAwAwT1MvMg8SB5QAAAC8AAAAYGNtYXDqzunMAAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZpBTx8kAAAGAAAAMsGhlYWQVTiJdAAAOMAAAADZoaGVhB8cD0AAADmgAAAAkaG10eEGABdkAAA6MAAAATGxvY2EWvhqaAAAO2AAAAChtYXhwABkAyQAADwAAAAAgbmFtZaNwe4sAAA8gAAABbnBvc3QAAwAAAAAQkAAAACAAAwPYAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADqkgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAAB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ABQALAA8AAQAAAAAABgAFAD8AAQAAAAAACgAaAHIAAwABBAkAAQAKAAUAAwABBAkAAgAOAFUAAwABBAkAAwAKADUAAwABBAkABAAKAGgAAwABBAkABQAWABoAAwABBAkABgAKAEQAAwABBAkACgA0AIxxbGlnZwBxAGwAaQBnAGdWZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBxbGlnZwBxAGwAaQBnAGdxbGlnZwBxAGwAaQBnAGdSZWd1bGFyAFIAZQBnAHUAbABhAHJxbGlnZwBxAGwAaQBnAGdGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('embedded-opentype'),url(data:font/opentype;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SB5QAAAC8AAAAYGNtYXDqzunMAAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZpBTx8kAAAGAAAAMsGhlYWQVTiJdAAAOMAAAADZoaGVhB8cD0AAADmgAAAAkaG10eEGABdkAAA6MAAAATGxvY2EWvhqaAAAO2AAAAChtYXhwABkAyQAADwAAAAAgbmFtZaNwe4sAAA8gAAABbnBvc3QAAwAAAAAQkAAAACAAAwPYAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADqkgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAQAAAAAwACAACAAQAAQAg6Q3qkv/9//8AAAAAACDpAOqS//3//wAB/+MXBBWAAAMAAQAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAIAgP/r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jQtMTcwLjYgMTcwLjZzNzYuNCAxNzAuNiAxNzAuNiAxNzAuNmM5NC4yIDAgMTcwLjYtNzYuNCAxNzAuNi0xNzAuNnMtNzYuNC0xNzAuNi0xNzAuNi0xNzAuNnpNODQ2LjggNzIxLjRjMC0zMy45MS0yNy40OS02MS40LTYxLjQtNjEuNHMtNjEuNCAyNy40OS02MS40IDYxLjRjMCAzMy45MSAyNy40OSA2MS40IDYxLjQgNjEuNHM2MS40LTI3LjQ5IDYxLjQtNjEuNHoiIC8+CjwvZm9udD48L2RlZnM+PC9zdmc+) format('svg');font-weight:normal;font-style:normal}[class^="qligg-icon-"],[class*=" qligg-icon-"]{font-family:'qligg'!important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.qligg-icon-video:before{content:"\e901"}.qligg-icon-gallery:before{content:"\e90d"}.qligg-icon-clock-o:before{content:"\e90c"}.qligg-icon-upload:before{content:"\e900"}.qligg-icon-share-o:before{content:"\e902"}.qligg-icon-comment:before{content:"\e903"}.qligg-icon-heart:before{content:"\e904"}.qligg-icon-instagram:before{content:"\e905"}.qligg-icon-prev:before{content:"\e906"}.qligg-icon-prev-o:before{content:"\e907"}.qligg-icon-next:before{content:"\e908"}.qligg-icon-next-o:before{content:"\e909"}.qligg-icon-heart-o:before{content:"\e90a"}.qligg-icon-comment-o:before{content:"\e90b"}.qligg-icon-instagram-o:before{content:"\ea92"}.mfp-wrap,.insta-gallery-feed{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1}.insta-gallery-feed .insta-gallery-item,.insta-gallery-feed .insta-gallery-image,.insta-gallery-feed .insta-gallery-actions{opacity:0}.insta-gallery-feed.loaded .insta-gallery-list .insta-gallery-item{transition:opacity .4s;opacity:1}.insta-gallery-feed.loaded .insta-gallery-list .insta-gallery-item.ig-image-loaded .insta-gallery-image{transition:all .4s;opacity:1}.insta-gallery-feed.loaded .insta-gallery-actions{transition:all .4s ease-in;opacity:1}.insta-gallery-feed .insta-gallery-spinner{position:relative;height:60px;width:auto;box-sizing:content-box;background-size:60px;background-position:50% 50%;background-repeat:no-repeat;background-image:url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJsb2FkZXItMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA1MCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAgNTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjZTJlMmUyIiBkPSJNNDMuOTM1LDI1LjE0NWMwLTEwLjMxOC04LjM2NC0xOC42ODMtMTguNjgzLTE4LjY4M2MtMTAuMzE4LDAtMTguNjgzLDguMzY1LTE4LjY4MywxOC42ODNoNC4wNjhjMC04LjA3MSw2LjU0My0xNC42MTUsMTQuNjE1LTE0LjYxNWM4LjA3MiwwLDE0LjYxNSw2LjU0MywxNC42MTUsMTQuNjE1SDQzLjkzNXoiIHRyYW5zZm9ybT0icm90YXRlKDE3OS4yNzMgMjUgMjUpIj48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVUeXBlPSJ4bWwiIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDI1IDI1IiB0bz0iMzYwIDI1IDI1IiBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIj48L2FuaW1hdGVUcmFuc2Zvcm0+PC9wYXRoPjwvc3ZnPg==)}.insta-gallery-feed .insta-gallery-list .insta-gallery-item{overflow:hidden;display:block;line-height:0}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon,.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-image{transition:all .3s}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon{position:absolute;z-index:1;font-size:16px;color:#fff;opacity:.66;top:0;margin:10px;right:0;text-shadow:1px 1px rgba(0,0,0,0.15);display:block;text-decoration:none}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon.qligg-icon-video{top:50%;left:50%;margin:-12px auto auto -8px;font-size:24px;width:24px;height:24px}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-icon.qligg-icon-instagram{top:auto;bottom:0;opacity:0;pointer-events:none}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap{display:block;position:relative;text-align:center;background-color:#eee;cursor:pointer}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image{width:100%;height:auto;overflow:hidden;vertical-align:middle}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask{position:absolute;content:'';top:0;bottom:0;left:0;right:0;z-index:8;transition:all .5s ease-out;opacity:0;background:rgba(0,122,255,0.55);width:100%;height:100%}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask-content{position:absolute;top:50%;left:0;right:0;margin:-10px 0 0 0;z-index:9;width:100%;color:#fff;transition:all .5s ease;opacity:0;line-height:20px;font-size:18px;text-align:center}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask-content>span{padding:0 4px;font-size:15px;font-weight:600;vertical-align:middle;line-height:20px}.insta-gallery-feed .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask-content>span>i{font-size:12px;margin-right:3px}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-instagram{opacity:.8;pointer-events:all;z-index:99}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-instagram:hover{opacity:1}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-video,.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-icon.qligg-icon-gallery{opacity:0;pointer-events:none}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-item-wrap .insta-gallery-image-mask-content{opacity:1}.insta-gallery-feed .insta-gallery-list .insta-gallery-item:hover .insta-gallery-item-wrap .insta-gallery-image-mask{opacity:1;transition:all .5s ease-out}.insta-gallery-feed .insta-gallery-profile{width:auto;margin:15px 0}.insta-gallery-feed .insta-gallery-profile,.insta-gallery-feed .insta-gallery-profile .avatar,.insta-gallery-feed .insta-gallery-profile .info{height:46px;display:flex;align-items:center}.insta-gallery-feed .insta-gallery-profile img{border:0;width:46px;height:46px;margin-right:10px;border-radius:60px}.insta-gallery-feed .insta-gallery-profile .avatar{margin:0 10px 0 0}.insta-gallery-feed .insta-gallery-profile .separator,.insta-gallery-feed .insta-gallery-profile .follow,.insta-gallery-feed .insta-gallery-profile .user{margin:0;padding:0;text-decoration:none;font-weight:600;font-size:16px;color:#262626;display:inline-block;vertical-align:middle;line-height:18px}.insta-gallery-feed .insta-gallery-profile .separator{color:#262626;margin-left:4px;margin-right:4px}.insta-gallery-feed .insta-gallery-profile .follow{color:#3897f0}.insta-gallery-feed .insta-gallery-profile .follow:hover{color:#262626}.insta-gallery-feed .insta-gallery-profile .description{line-height:18px;font-size:12px;font-weight:600}.insta-gallery-feed .insta-gallery-actions{text-align:center;margin:15px 0}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button{display:inline-block;margin:0 3px;font-size:14px;padding:12px 24px;transition:all .3s;text-decoration:none;border-radius:2px;background-color:#c32a67;color:#fff}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button>i{margin:0 8px 0 0;font-size:12px}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button:focus,.insta-gallery-feed .insta-gallery-actions .insta-gallery-button:hover{box-shadow:inset 0 0 20px 20px rgba(255,255,255,0.2)}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button.follow{background-color:#408bd1}.insta-gallery-feed .insta-gallery-actions .insta-gallery-button.load{background-color:#262626}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{display:flex;justify-content:center;align-items:stretch;box-sizing:border-box}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap{display:flex;justify-content:center;align-items:center;overflow:hidden;width:100%;padding-top:100%}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image{overflow:hidden;object-fit:cover;width:100%;height:100%;position:absolute;top:0;bottom:0;right:0;left:0}.insta-gallery-feed[data-feed_layout=carousel]{overflow:hidden}.insta-gallery-feed[data-feed_layout=carousel] .insta-gallery-list{display:flex;align-items:center}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next,.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev{transition:all .3s;background:0;top:0;bottom:0;height:100%;margin:0;background:transparent;width:32px;display:flex;align-items:center}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next>i,.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev>i{text-align:center;color:#e23565;width:32px;font-size:26px}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next:hover,.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev:hover{background-color:rgba(0,0,0,0.2)}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-prev{left:0}.insta-gallery-feed[data-feed_layout=carousel] .swiper-button-next{right:0}.insta-gallery-feed[data-feed_layout=carousel] .swiper-pagination-bullet-active{background-color:#e23565}.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:start;overflow:hidden}@media screen and (max-width:1023px) and (min-width:768px){.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{min-width:33.333%}}@media screen and (max-width:767px){.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{min-width:33.333%}}@media screen and (max-width:480px){.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item,.insta-gallery-feed[data-feed_layout=gallery] .insta-gallery-list .insta-gallery-item{min-width:50%}}.insta-gallery-feed[data-feed_layout=masonry] .insta-gallery-list .insta-gallery-item{position:absolute}.insta-gallery-alert{background-color:#e23565;padding:15px;color:#fff;border-radius:3px;margin:0 0 15px 0;width:100%;display:block}.insta-gallery-alert::after,.insta-gallery-alert::before{content:' ';display:table}.insta-gallery-alert::after{clear:both}.insta-gallery-alert .button{float:right}.insta-gallery-alert ul{padding:0;margin:0}.insta-gallery-alert li{list-style:none outside!important;padding-left:0!important;margin-left:0!important}.mfp-wrap .mfp-arrow{font-family:'qligg'!important;speak:none;font-style:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:30px;font-weight:bold}.mfp-wrap .mfp-arrow:after{display:none}.mfp-wrap .mfp-arrow:before{border:0}.mfp-wrap .mfp-arrow.mfp-arrow-left:before{content:"\e906"}.mfp-wrap .mfp-arrow.mfp-arrow-right:before{content:"\e908"}.mfp-wrap .mfp-container{cursor:pointer!important}.mfp-wrap .mfp-container .mfp-close{position:fixed;top:30px;right:10px;color:#fff;font-weight:normal;font-size:30px;margin:0;height:auto;line-height:1;cursor:pointer!important;font-size:24px;content:'×'}.mfp-wrap .mfp-container .mfp-content{width:auto;margin:0 auto}.mfp-wrap .mfp-container .mfp-content .mfp-figure,.mfp-wrap .mfp-container .mfp-content .mfp-figure>img,.mfp-wrap .mfp-container .mfp-content .mfp-figure>video{max-height:70vh!important;max-width:80vw!important}.mfp-wrap .mfp-container .mfp-content .mfp-img{padding:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure{position:relative;padding:0;overflow:hidden!important;border-radius:3px}.mfp-wrap .mfp-container .mfp-content .mfp-figure:after{display:none}.mfp-wrap .mfp-container .mfp-content .mfp-figure.left{padding-left:300px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.left .mfp-bottom-bar{border-right:1px solid #eee;top:0;bottom:0;left:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure.right{padding-right:300px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.right .mfp-bottom-bar{border-left:1px solid #eee;top:0;bottom:0;right:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure.left .mfp-bottom-bar,.mfp-wrap .mfp-container .mfp-content .mfp-figure.right .mfp-bottom-bar{width:300px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.top .mfp-bottom-bar,.mfp-wrap .mfp-container .mfp-content .mfp-figure.bottom .mfp-bottom-bar{left:0;right:0;overflow-y:auto;overflow-x:hidden;width:100%;min-height:50px;max-height:100px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.bottom{padding-bottom:50px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.bottom .mfp-bottom-bar{border-top:1px solid #eee;bottom:0}.mfp-wrap .mfp-container .mfp-content .mfp-figure.top{padding-top:50px}.mfp-wrap .mfp-container .mfp-content .mfp-figure.top .mfp-bottom-bar{border-bottom:1px solid #eee;top:0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar{top:auto;bottom:auto;right:auto;left:auto;background-color:#fff;margin:0;padding:0;line-height:1.4;text-align:left}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title{font-size:13px;font-weight:400;color:#262626;padding:0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title a{font-weight:bold;color:#262626}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title a:hover{color:#3897f0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-caption{display:block;clear:both;margin:0;padding:15px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-caption{padding-top:0;padding-bottom:0;margin-bottom:15px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons .mfp-link,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons .mfp-counter{position:inherit;display:inline-block;font-size:12px;font-weight:400;color:#999;margin:0 15px 0 0;line-height:1}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-icons .mfp-link:hover{color:#3897f0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-link i,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-comments i,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-likes i{margin:0 4px 0 0;font-size:11px;font-weight:bold}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info{border-top:1px solid #eee}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-date{text-transform:uppercase;font-size:12px;color:#999;float:right;position:relative;bottom:-1px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-date,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-comments,.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-info .mfp-likes{display:inline-block;margin:0 5px 0 0}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user{display:inline-flex;align-items:center;border-bottom:1px solid #eee;width:auto}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user img{border:0;width:32px;height:32px;margin-right:10px;border-radius:40px}.mfp-wrap .mfp-container .mfp-content .mfp-bottom-bar .mfp-title .mfp-user a{margin:0;padding:0;text-decoration:none;font-size:13px}.instagal-ie-8 .insta-gallery-spinner{display:none}.instagal-ie-8 insta-gallery-list .insta-gallery-item{max-width:33.333%;float:left}.instagal-ie-8 insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap:hover:after{background:0}.instagal-ie-8 .swiper-button-prev{display:none}.instagal-ie-8 .swiper-button-next{display:none}.instagal-ie-9 .insta-gallery-spinner{display:none}.instagal-ie-9 insta-gallery-list .insta-gallery-item{max-width:33.333%;float:left}.instagal-ie-9 .swiper-button-prev{display:none}.instagal-ie-9 .swiper-button-next{display:none}.igblock-wrap-IElte8 insta-gallery-list .insta-gallery-item{width:25%;float:left}.igblock-wrap-IElte8 insta-gallery-list:after{clear:both;display:block;content:""}
assets/img/carousel.png CHANGED
Binary file
assets/img/grid.png ADDED
Binary file
assets/img/highlight.png CHANGED
Binary file
assets/img/highlight2.png ADDED
Binary file
assets/img/instagram-feed-accounts.png ADDED
Binary file
assets/img/instagram-feed-load-more.png ADDED
Binary file
assets/img/instagram-feed-masonry.png ADDED
Binary file
assets/img/instagram-feed-popup-macbook.png ADDED
Binary file
assets/img/instagram-feed-popup.png ADDED
Binary file
assets/img/instagram-feed.png ADDED
Binary file
assets/img/instagram.png ADDED
Binary file
assets/img/masonry.png CHANGED
Binary file
assets/js/qligg-admin.js CHANGED
@@ -1,485 +1,481 @@
1
- (function ($) {
2
-
3
- $.fn.serializeArrayAll = function () {
4
- var o = {};
5
- var a = this.serializeArray();
6
- $.each(a, function () {
7
- if (o[this.name] !== undefined) {
8
- if (!o[this.name].push) {
9
- o[this.name] = [o[this.name]];
10
- }
11
- o[this.name].push(this.value || '');
12
- } else {
13
- o[this.name] = this.value || '';
14
- }
15
- });
16
- var $radio = $('input[type=radio],input[type=checkbox]', this);
17
- $.each($radio, function () {
18
- if (!o.hasOwnProperty(this.name)) {
19
- o[this.name] = '';
20
- }
21
- });
22
- return o;
23
- };
24
-
25
- // Toggles
26
- // ---------------------------------------------------------------------------
27
-
28
- $('.ig-list-images > li').on('click', function (e) {
29
- $(this).addClass('active');
30
- $(this).siblings().removeClass('active');
31
- $(this).find('input[type=radio]').prop('checked', true).trigger('change');
32
- $(this).siblings().find('input[type=radio]').prop('checked', false);
33
- });
34
-
35
- $('input[name=insta_source]').on('change', function (e) {
36
- if (this.value == 'username') {
37
- $('#ig-select-tag-wrap').hide(500, function (e) {
38
- $('#ig-select-username-wrap').show().addClass('active');
39
- }).removeClass('active');
40
- } else {
41
- $('#ig-select-username-wrap').hide(500, function (e) {
42
- $('#ig-select-tag-wrap').show().addClass('active');
43
- }).removeClass('active');
44
- }
45
- });
46
-
47
- $('input[name=insta_layout]').on('change', function (e) {
48
- if (this.value == 'carousel') {
49
- $('#ig-section-gallery').hide(500, function (e) {
50
- $('#ig-section-carousel').show().addClass('active');
51
- }).removeClass('active');
52
- } else {
53
- $('#ig-section-carousel').hide(500, function (e) {
54
- $('#ig-section-gallery').show().addClass('active');
55
- }).removeClass('active');
56
- }
57
- });
58
-
59
- $('input[name=insta_button]').on('change', function (e) {
60
- if (this.checked) {
61
- $('#ig-section-button').show('slow').addClass('active');
62
- } else {
63
- $('#ig-section-button').hide('slow').removeClass('active');
64
- }
65
- });
66
-
67
- $('input[name=insta_button_load]').on('change', function (e) {
68
- if (this.checked) {
69
- $('#ig-section-button_load').show('slow').addClass('active');
70
- } else {
71
- $('#ig-section-button_load').hide('slow').removeClass('active');
72
- }
73
- });
74
-
75
- $('input[name=insta_hover]').on('change', function (e) {
76
- if (this.checked) {
77
- $('#ig-section-hover').show('slow').addClass('active');
78
- } else {
79
- $('#ig-section-hover').hide('slow').removeClass('active');
80
- }
81
- });
82
-
83
- $('input[name=insta_popup]').on('change', function (e) {
84
- if (this.checked) {
85
- $('#ig-section-popup').show('slow').addClass('active');
86
- } else {
87
- $('#ig-section-popup').hide('slow').removeClass('active');
88
- }
89
- });
90
-
91
- // Spinner
92
- // -------------------------------------------------------------------------
93
-
94
- function ig_change_spinner(link) {
95
- if (link) {
96
- if (!$('.ig_adv-setting .insta-gallery-spinner img').length) {
97
- var img = '<img src="' + link + '" class="ig-spin" />';
98
- $('.ig_adv-setting .insta-gallery-spinner').append(img);
99
- } else {
100
- $('.ig_adv-setting .insta-gallery-spinner img').attr('src', link);
101
- }
102
- $('.ig_adv-setting .insta-gallery-spinner .ig-spin').hide();
103
- $('.ig_adv-setting .insta-gallery-spinner img').show();
104
- } else {
105
- $('.ig_adv-setting .insta-gallery-spinner .ig-spin').show();
106
- $('.ig_adv-setting .insta-gallery-spinner img').remove();
107
- }
108
-
109
- }
110
-
111
- var $igs_image_id = $('input[name=igs_spinner_image_id]'),
112
- $igs_reset = $('#igs-spinner_reset');
113
-
114
- $('.ig_adv-setting input[name=igs-spinner]').trigger('change');
115
-
116
- $('.ig_adv-setting-toggle').on('click', function () {
117
- $(this).toggleClass('active');
118
- $('.ig_adv-setting').slideToggle();
119
- });
120
-
121
- $('#ig-adv-setting').on('submit', function (e) {
122
- e.preventDefault();
123
-
124
- var $form = $(this),
125
- $spinner = $form.find('.spinner');
126
-
127
- $.ajax({
128
- url: ajaxurl,
129
- type: 'post',
130
- dataType: 'JSON',
131
- data: {
132
- action: 'qligg_save_igadvs',
133
- igs_flush: $form.find('input[name=igs_flush]').is(':checked') || 0,
134
- igs_spinner_image_id: $form.find('input[name=igs_spinner_image_id]').val(),
135
- ig_nonce: $form.find('input[name=ig_nonce]').val()
136
- },
137
- beforeSend: function () {
138
- $spinner.addClass('is-active');
139
- },
140
- success: function (response) {
141
- if (response.success) {
142
- console.log(response.data);
143
- }
144
- },
145
- complete: function () {
146
- $spinner.removeClass('is-active');
147
- },
148
- error: function (jqXHR, textStatus) {
149
- console.log(textStatus);
150
- }
151
- });
152
- });
153
-
154
- // reset spinner to default
155
- $igs_reset.click(function () {
156
- $igs_image_id.val('');
157
- ig_change_spinner();
158
- $(this).hide();
159
- });
160
-
161
- if ($igs_image_id.val() == '')
162
- $igs_reset.hide();
163
- if ($igs_image_id.data('misrc') != '')
164
- ig_change_spinner($igs_image_id.data('misrc'));
165
-
166
- // select media image
167
- $('#igs-spinner_media_manager').click(function (e) {
168
- e.preventDefault();
169
- var image_frame;
170
-
171
- if (image_frame) {
172
- image_frame.open();
173
- }
174
- // Define image_frame as wp.media object
175
- image_frame = wp.media({
176
- title: 'Select Media',
177
- multiple: false,
178
- library: {
179
- type: 'image',
180
- }
181
- });
182
-
183
- image_frame.on('close', function () {
184
- // On close, get selections and save to the hidden input
185
- // plus other AJAX stuff to refresh the image preview
186
- var selection = image_frame.state().get('selection');
187
-
188
- if (selection.length) {
189
-
190
- var gallery_ids = new Array();
191
- var i = 0, attachment_url;
192
-
193
- selection.each(function (attachment) {
194
- gallery_ids[i] = attachment['id'];
195
- attachment_url = attachment.attributes.url;
196
- i++;
197
- });
198
- var ids = gallery_ids.join(",");
199
- $igs_image_id.val(ids);
200
- ig_change_spinner(attachment_url)
201
- }
202
-
203
- // toggle reset button
204
- if ($igs_image_id.val() == '') {
205
- $igs_reset.hide();
206
- } else {
207
- $igs_reset.show();
208
- }
209
-
210
- });
211
-
212
- image_frame.on('open', function () {
213
- // On open, get the id from the hidden input
214
- // and select the appropiate images in the media manager
215
- var selection = image_frame.state().get('selection');
216
- var ids = $igs_image_id.val().split(',');
217
-
218
- ids.forEach(function (id) {
219
- attachment = wp.media.attachment(id);
220
- attachment.fetch();
221
- selection.add(attachment ? [attachment] : []);
222
- });
223
-
224
- });
225
-
226
- image_frame.open();
227
- });
228
-
229
- // Actions
230
- // ---------------------------------------------------------------------------
231
-
232
- $(document).on('click', '[data-qligg-toggle]', function (e) {
233
- e.preventDefault();
234
-
235
- $($(this).data('qligg-toggle')).slideToggle();
236
-
237
- });
238
-
239
- $(document).on('click', '[data-qligg-copy]', function (e) {
240
- e.preventDefault();
241
-
242
- $($(this).data('qligg-copy')).select();
243
- document.execCommand('copy');
244
-
245
- });
246
-
247
- $('#ig-remove-data').on('click', function (e) {
248
-
249
- var checked = $(this).is(':checked');
250
-
251
- if (checked) {
252
-
253
- var c = confirm(qligg.remove_data);
254
-
255
- if (!c) {
256
- return false;
257
- }
258
-
259
- }
260
-
261
- });
262
-
263
- // Generate token
264
- // ---------------------------------------------------------------------------
265
- $(document).on('ready', function (e) {
266
-
267
- var hash = window.location.hash,
268
- access_token = hash.substring(14);
269
-
270
- if (access_token.length > 40) {
271
-
272
- var $button = $('#ig-generate-token').find('.btn-instagram'),
273
- $spinner = $('#ig-generate-token').find('.spinner');
274
-
275
- $.ajax({
276
- url: ajaxurl,
277
- type: 'post',
278
- data: {
279
- action: 'qligg_generate_token',
280
- ig_access_token: access_token,
281
- ig_nonce: qligg.nonce
282
- },
283
- beforeSend: function () {
284
- $button.css({'opacity': '.5', 'pointer-events': 'none'});
285
- $spinner.addClass('is-active');
286
- },
287
- success: function (response) {
288
- if (response.success) {
289
- setTimeout(function () {
290
- window.location.reload();
291
- }, 300);
292
- } else {
293
- alert(response.data);
294
- }
295
- },
296
- complete: function () {
297
- $button.removeAttr('style');
298
- $spinner.removeClass('is-active');
299
- window.location.hash = '';
300
- window.location.href.split('#')[0]
301
- },
302
- error: function (jqXHR, textStatus) {
303
- console.log(textStatus);
304
- }
305
- });
306
-
307
- }
308
-
309
- });
310
-
311
- // Update token
312
- // -------------------------------------------------------------------------
313
-
314
- $('#ig-update-token').on('submit', function (e) {
315
- e.preventDefault();
316
-
317
- var $form = $(this),
318
- $spinner = $form.find('.spinner');
319
-
320
- $.ajax({
321
- url: ajaxurl,
322
- type: 'post',
323
- data: {
324
- action: 'qligg_generate_token',
325
- ig_access_token: $form.find('input[name=ig_access_token]').val(),
326
- ig_nonce: qligg.nonce
327
- },
328
- beforeSend: function () {
329
- $spinner.addClass('is-active');
330
- },
331
- success: function (response) {
332
- if (response.success) {
333
- setTimeout(function () {
334
- window.location.reload();
335
- }, 300);
336
- } else {
337
- alert(response.data);
338
- }
339
- },
340
- complete: function () {
341
- $spinner.removeClass('is-active');
342
- },
343
- error: function (jqXHR, textStatus) {
344
- console.log(textStatus);
345
- },
346
- });
347
- });
348
-
349
-
350
- // Remove token
351
- // -------------------------------------------------------------------------
352
-
353
- $('.ig-remove-token').on('click', function (e) {
354
- e.preventDefault();
355
-
356
- var c = confirm(qligg.remove_token);
357
-
358
- if (!c) {
359
- return false;
360
- }
361
-
362
- var $item = $(this),
363
- $tr = $item.closest('tr'),
364
- $spinner = $tr.find('.spinner');
365
-
366
- $.ajax({
367
- url: ajaxurl,
368
- type: 'post',
369
- data: {
370
- action: 'qligg_remove_token',
371
- item_id: $item.data('item_id'),
372
- ig_nonce: qligg.nonce
373
- },
374
- beforeSend: function () {
375
- $spinner.addClass('is-active');
376
- },
377
- success: function (response) {
378
- if (response.success) {
379
- $tr.fadeOut();
380
-
381
- setTimeout(function () {
382
- window.location.href = window.location.href;
383
- }, 300);
384
-
385
- } else {
386
- alert(response.data);
387
- }
388
- },
389
- complete: function () {
390
- $spinner.removeClass('is-active');
391
- },
392
- error: function (jqXHR, textStatus) {
393
- console.log(textStatus);
394
- }
395
- });
396
-
397
- });
398
-
399
- // Gallery
400
- // ---------------------------------------------------------------------------
401
-
402
- $('#ig-update-form').on('submit', function (e) {
403
- e.preventDefault();
404
-
405
- var $form = $(this),
406
- $spinner = $form.find('.spinner');
407
-
408
- $.ajax({
409
- url: ajaxurl,
410
- type: 'post',
411
- data: $.param($form.serializeArrayAll()) + '&' + $.param({action: 'qligg_update_form'}),
412
- beforeSend: function () {
413
- $spinner.addClass('is-active');
414
- },
415
- success: function (response) {
416
- if (response.success) {
417
- setTimeout(function () {
418
- window.location.href = response.data;
419
- }, 300);
420
- } else {
421
- alert(response.data);
422
- }
423
- },
424
- complete: function () {
425
- $spinner.removeClass('is-active');
426
- },
427
- error: function (jqXHR, textStatus) {
428
- console.log(textStatus);
429
- },
430
- });
431
- });
432
-
433
- $('.ig-form-item-delete').on('click', function (e) {
434
- e.preventDefault();
435
-
436
- var c = confirm(qligg.remove_gallery);
437
-
438
- if (!c) {
439
- return false;
440
- }
441
-
442
- var $item = $(this),
443
- $tr = $item.closest('tr'),
444
- $spinner = $tr.find('.spinner');
445
-
446
- $.ajax({
447
- url: ajaxurl,
448
- type: 'post',
449
- data: {
450
- action: 'qligg_form_item_delete',
451
- item_id: $item.data('item_id')
452
- },
453
- beforeSend: function () {
454
- $spinner.addClass('is-active');
455
- },
456
- success: function (response) {
457
- if (response.success) {
458
- setTimeout(function () {
459
- window.location.href = response.data;
460
- }, 300);
461
- } else {
462
- alert(response.data);
463
- }
464
- //if (response.success) {
465
- // $tr.fadeOut();
466
- //} else {
467
- // alert(response.data);
468
- //}
469
- },
470
- complete: function () {
471
- setTimeout(function () {
472
- $tr.remove();
473
- }, 600);
474
- },
475
- error: function (jqXHR, textStatus) {
476
- console.log(textStatus);
477
- },
478
- });
479
- });
480
-
481
- $(document).on('ready', function () {
482
- $('.color-picker').wpColorPicker();
483
- });
484
-
485
  })(jQuery);
1
+ (function ($) {
2
+
3
+ $.fn.serializeArrayAll = function () {
4
+ var o = {};
5
+ var a = this.serializeArray();
6
+ $.each(a, function () {
7
+ if (o[this.name] !== undefined) {
8
+ if (!o[this.name].push) {
9
+ o[this.name] = [o[this.name]];
10
+ }
11
+ o[this.name].push(this.value || '');
12
+ } else {
13
+ o[this.name] = this.value || '';
14
+ }
15
+ });
16
+ var $radio = $('input[type=radio],input[type=checkbox]', this);
17
+ $.each($radio, function () {
18
+ if (!o.hasOwnProperty(this.name)) {
19
+ o[this.name] = '';
20
+ }
21
+ });
22
+ return o;
23
+ };
24
+
25
+ // Toggles
26
+ // ---------------------------------------------------------------------------
27
+
28
+ $('.ig-list-images > li').on('click', function (e) {
29
+ $(this).addClass('active');
30
+ $(this).siblings().removeClass('active');
31
+ $(this).find('input[type=radio]').prop('checked', true).trigger('change');
32
+ $(this).siblings().find('input[type=radio]').prop('checked', false);
33
+ });
34
+
35
+ $('input[name=insta_source]').on('change', function (e) {
36
+ if (this.value == 'username') {
37
+ $('#ig-select-tag-wrap').hide(500, function (e) {
38
+ $('#ig-select-username-wrap').show().addClass('active');
39
+ }).removeClass('active');
40
+ } else {
41
+ $('#ig-select-username-wrap').hide(500, function (e) {
42
+ $('#ig-select-tag-wrap').show().addClass('active');
43
+ }).removeClass('active');
44
+ }
45
+ });
46
+
47
+ $('input[name=insta_box]').on('change', function (e) {
48
+ if (this.checked) {
49
+ $('#ig-section-box').show('slow').addClass('active');
50
+ } else {
51
+ $('#ig-section-box').hide('slow').removeClass('active');
52
+ }
53
+ });
54
+
55
+ $('input[name=insta_layout]').on('change', function (e) {
56
+ if (this.value == 'carousel') {
57
+ $('#ig-section-gallery').hide(500, function (e) {
58
+ $('#ig-section-carousel').show().addClass('active');
59
+ }).removeClass('active');
60
+ } else {
61
+ $('#ig-section-carousel').hide(500, function (e) {
62
+ $('#ig-section-gallery').show().addClass('active');
63
+ }).removeClass('active');
64
+ }
65
+ });
66
+
67
+ $('input[name=insta_button]').on('change', function (e) {
68
+ if (this.checked) {
69
+ $('#ig-section-button').show('slow').addClass('active');
70
+ } else {
71
+ $('#ig-section-button').hide('slow').removeClass('active');
72
+ }
73
+ });
74
+
75
+ $('input[name=insta_button_load]').on('change', function (e) {
76
+ if (this.checked) {
77
+ $('#ig-section-button_load').show('slow').addClass('active');
78
+ } else {
79
+ $('#ig-section-button_load').hide('slow').removeClass('active');
80
+ }
81
+ });
82
+
83
+ $('input[name=insta_hover]').on('change', function (e) {
84
+ if (this.checked) {
85
+ $('#ig-section-hover').show('slow').addClass('active');
86
+ } else {
87
+ $('#ig-section-hover').hide('slow').removeClass('active');
88
+ }
89
+ });
90
+
91
+ $('input[name=insta_popup]').on('change', function (e) {
92
+ if (this.checked) {
93
+ $('#ig-section-popup').show('slow').addClass('active');
94
+ } else {
95
+ $('#ig-section-popup').hide('slow').removeClass('active');
96
+ }
97
+ });
98
+
99
+ // Spinner
100
+ // -------------------------------------------------------------------------
101
+
102
+ function ig_change_spinner(link) {
103
+ if (link) {
104
+ if (!$('#ig-save-settings .insta-gallery-spinner img').length) {
105
+ var img = '<img src="' + link + '" class="ig-spin" />';
106
+ $('#ig-save-settings .insta-gallery-spinner').append(img);
107
+ } else {
108
+ $('#ig-save-settings .insta-gallery-spinner img').attr('src', link);
109
+ }
110
+ $('#ig-save-settings .insta-gallery-spinner .ig-spin').hide();
111
+ $('#ig-save-settings .insta-gallery-spinner img').show();
112
+ } else {
113
+ $('#ig-save-settings .insta-gallery-spinner .ig-spin').show();
114
+ $('#ig-save-settings .insta-gallery-spinner img').remove();
115
+ }
116
+
117
+ }
118
+
119
+ var $igs_image_id = $('input[name=insta_spinner_image_id]'),
120
+ $igs_reset = $('#ig-spinner-reset');
121
+
122
+ $('#ig-save-settings').on('submit', function (e) {
123
+ e.preventDefault();
124
+
125
+ var $form = $(this),
126
+ $spinner = $form.find('.spinner');
127
+
128
+ $.ajax({
129
+ url: ajaxurl,
130
+ type: 'post',
131
+ dataType: 'JSON',
132
+ data: $.param($form.serializeArrayAll()) + '&' + $.param({action: 'qligg_save_settings'}),
133
+ beforeSend: function () {
134
+ $spinner.addClass('is-active');
135
+ },
136
+ success: function (response) {
137
+ if (response.success) {
138
+ window.location.reload();
139
+ }
140
+ },
141
+ complete: function () {
142
+ $spinner.removeClass('is-active');
143
+ },
144
+ error: function (jqXHR, textStatus) {
145
+ console.log(textStatus);
146
+ }
147
+ });
148
+ });
149
+
150
+ // reset spinner to default
151
+ $igs_reset.click(function () {
152
+ $igs_image_id.val('');
153
+ ig_change_spinner();
154
+ $(this).hide();
155
+ });
156
+
157
+ if ($igs_image_id.val() == '')
158
+ $igs_reset.hide();
159
+ if ($igs_image_id.data('misrc') != '')
160
+ ig_change_spinner($igs_image_id.data('misrc'));
161
+
162
+ // select media image
163
+ $('#ig-spinner-upload').click(function (e) {
164
+ e.preventDefault();
165
+ var image_frame;
166
+
167
+ if (image_frame) {
168
+ image_frame.open();
169
+ }
170
+ // Define image_frame as wp.media object
171
+ image_frame = wp.media({
172
+ title: 'Select Media',
173
+ multiple: false,
174
+ library: {
175
+ type: 'image',
176
+ }
177
+ });
178
+
179
+ image_frame.on('close', function () {
180
+ // On close, get selections and save to the hidden input
181
+ // plus other AJAX stuff to refresh the image preview
182
+ var selection = image_frame.state().get('selection');
183
+
184
+ if (selection.length) {
185
+
186
+ var gallery_ids = new Array();
187
+ var i = 0, attachment_url;
188
+
189
+ selection.each(function (attachment) {
190
+ gallery_ids[i] = attachment['id'];
191
+ attachment_url = attachment.attributes.url;
192
+ i++;
193
+ });
194
+ var ids = gallery_ids.join(",");
195
+ $igs_image_id.val(ids);
196
+ ig_change_spinner(attachment_url)
197
+ }
198
+
199
+ // toggle reset button
200
+ if ($igs_image_id.val() == '') {
201
+ $igs_reset.hide();
202
+ } else {
203
+ $igs_reset.show();
204
+ }
205
+
206
+ });
207
+
208
+ image_frame.on('open', function () {
209
+ // On open, get the id from the hidden input
210
+ // and select the appropiate images in the media manager
211
+ var selection = image_frame.state().get('selection');
212
+ var ids = $igs_image_id.val().split(',');
213
+
214
+ ids.forEach(function (id) {
215
+ attachment = wp.media.attachment(id);
216
+ attachment.fetch();
217
+ selection.add(attachment ? [attachment] : []);
218
+ });
219
+
220
+ });
221
+
222
+ image_frame.open();
223
+ });
224
+
225
+ // Actions
226
+ // ---------------------------------------------------------------------------
227
+
228
+ $(document).on('click', '[data-qligg-toggle]', function (e) {
229
+ e.preventDefault();
230
+
231
+ $($(this).data('qligg-toggle')).slideToggle();
232
+
233
+ });
234
+
235
+ $(document).on('click', '[data-qligg-copy]', function (e) {
236
+ e.preventDefault();
237
+
238
+ $($(this).data('qligg-copy')).select();
239
+ document.execCommand('copy');
240
+
241
+ });
242
+
243
+ $('#ig-remove-data').on('click', function (e) {
244
+
245
+ var checked = $(this).is(':checked');
246
+
247
+ if (checked) {
248
+
249
+ var c = confirm(qligg.remove_data);
250
+
251
+ if (!c) {
252
+ return false;
253
+ }
254
+
255
+ }
256
+
257
+ });
258
+
259
+ // Generate token
260
+ // ---------------------------------------------------------------------------
261
+ $(document).on('ready', function (e) {
262
+
263
+ var hash = window.location.hash,
264
+ access_token = hash.substring(14);
265
+
266
+ if (access_token.length > 40) {
267
+
268
+ var $button = $('#ig-generate-token').find('.btn-instagram'),
269
+ $spinner = $('#ig-generate-token').find('.spinner');
270
+
271
+ $.ajax({
272
+ url: ajaxurl,
273
+ type: 'post',
274
+ data: {
275
+ action: 'qligg_generate_token',
276
+ ig_access_token: access_token,
277
+ ig_nonce: qligg.nonce
278
+ },
279
+ beforeSend: function () {
280
+ $button.css({'opacity': '.5', 'pointer-events': 'none'});
281
+ $spinner.addClass('is-active');
282
+ },
283
+ success: function (response) {
284
+ if (response.success) {
285
+ setTimeout(function () {
286
+ window.location.reload();
287
+ }, 300);
288
+ } else {
289
+ alert(response.data);
290
+ }
291
+ },
292
+ complete: function () {
293
+ $button.removeAttr('style');
294
+ $spinner.removeClass('is-active');
295
+ window.location.hash = '';
296
+ window.location.href.split('#')[0]
297
+ },
298
+ error: function (jqXHR, textStatus) {
299
+ console.log(textStatus);
300
+ }
301
+ });
302
+
303
+ }
304
+
305
+ });
306
+
307
+ // Update token
308
+ // -------------------------------------------------------------------------
309
+
310
+ $('#ig-update-token').on('submit', function (e) {
311
+ e.preventDefault();
312
+
313
+ var $form = $(this),
314
+ $spinner = $form.find('.spinner');
315
+
316
+ $.ajax({
317
+ url: ajaxurl,
318
+ type: 'post',
319
+ data: {
320
+ action: 'qligg_generate_token',
321
+ ig_access_token: $form.find('input[name=ig_access_token]').val(),
322
+ ig_nonce: qligg.nonce
323
+ },
324
+ beforeSend: function () {
325
+ $spinner.addClass('is-active');
326
+ },
327
+ success: function (response) {
328
+ if (response.success) {
329
+ setTimeout(function () {
330
+ window.location.reload();
331
+ }, 300);
332
+ } else {
333
+ alert(response.data);
334
+ }
335
+ },
336
+ complete: function () {
337
+ $spinner.removeClass('is-active');
338
+ },
339
+ error: function (jqXHR, textStatus) {
340
+ console.log(textStatus);
341
+ },
342
+ });
343
+ });
344
+
345
+
346
+ // Remove token
347
+ // -------------------------------------------------------------------------
348
+
349
+ $('.ig-remove-token').on('click', function (e) {
350
+ e.preventDefault();
351
+
352
+ var c = confirm(qligg.remove_token);
353
+
354
+ if (!c) {
355
+ return false;
356
+ }
357
+
358
+ var $item = $(this),
359
+ $tr = $item.closest('tr'),
360
+ $spinner = $tr.find('.spinner');
361
+
362
+ $.ajax({
363
+ url: ajaxurl,
364
+ type: 'post',
365
+ data: {
366
+ action: 'qligg_remove_token',
367
+ item_id: $item.data('item_id'),
368
+ ig_nonce: qligg.nonce
369
+ },
370
+ beforeSend: function () {
371
+ $spinner.addClass('is-active');
372
+ },
373
+ success: function (response) {
374
+ if (response.success) {
375
+ $tr.fadeOut();
376
+
377
+ setTimeout(function () {
378
+ window.location.reload();
379
+ }, 300);
380
+
381
+ } else {
382
+ alert(response.data);
383
+ }
384
+ },
385
+ complete: function () {
386
+ $spinner.removeClass('is-active');
387
+ },
388
+ error: function (jqXHR, textStatus) {
389
+ console.log(textStatus);
390
+ }
391
+ });
392
+
393
+ });
394
+
395
+ // Gallery
396
+ // ---------------------------------------------------------------------------
397
+
398
+ $('#ig-update-form').on('submit', function (e) {
399
+ e.preventDefault();
400
+
401
+ var $form = $(this),
402
+ $spinner = $form.find('.spinner');
403
+
404
+ $.ajax({
405
+ url: ajaxurl,
406
+ type: 'post',
407
+ data: $.param($form.serializeArrayAll()) + '&' + $.param({action: 'qligg_update_form'}),
408
+ beforeSend: function () {
409
+ $spinner.addClass('is-active');
410
+ },
411
+ success: function (response) {
412
+ if (response.success) {
413
+ setTimeout(function () {
414
+ window.location.href = response.data;
415
+ }, 300);
416
+ } else {
417
+ alert(response.data);
418
+ }
419
+ },
420
+ complete: function () {
421
+ $spinner.removeClass('is-active');
422
+ },
423
+ error: function (jqXHR, textStatus) {
424
+ console.log(textStatus);
425
+ },
426
+ });
427
+ });
428
+
429
+ $('.ig-form-item-delete').on('click', function (e) {
430
+ e.preventDefault();
431
+
432
+ var c = confirm(qligg.remove_gallery);
433
+
434
+ if (!c) {
435
+ return false;
436
+ }
437
+
438
+ var $item = $(this),
439
+ $tr = $item.closest('tr'),
440
+ $spinner = $tr.find('.spinner');
441
+
442
+ $.ajax({
443
+ url: ajaxurl,
444
+ type: 'post',
445
+ data: {
446
+ action: 'qligg_form_item_delete',
447
+ item_id: $item.data('item_id')
448
+ },
449
+ beforeSend: function () {
450
+ $spinner.addClass('is-active');
451
+ },
452
+ success: function (response) {
453
+ if (response.success) {
454
+ setTimeout(function () {
455
+ window.location.href = response.data;
456
+ }, 300);
457
+ } else {
458
+ alert(response.data);
459
+ }
460
+ //if (response.success) {
461
+ // $tr.fadeOut();
462
+ //} else {
463
+ // alert(response.data);
464
+ //}
465
+ },
466
+ complete: function () {
467
+ setTimeout(function () {
468
+ $tr.remove();
469
+ }, 600);
470
+ },
471
+ error: function (jqXHR, textStatus) {
472
+ console.log(textStatus);
473
+ },
474
+ });
475
+ });
476
+
477
+ $(document).on('ready', function () {
478
+ $('.color-picker').wpColorPicker();
479
+ });
480
+
 
 
 
 
481
  })(jQuery);
assets/js/qligg-admin.min.js CHANGED
@@ -1 +1 @@
1
- (function(c){c.fn.serializeArrayAll=function(){var g={};var f=this.serializeArray();c.each(f,function(){if(g[this.name]!==undefined){if(!g[this.name].push){g[this.name]=[g[this.name]]}g[this.name].push(this.value||"")}else{g[this.name]=this.value||""}});var e=c("input[type=radio],input[type=checkbox]",this);c.each(e,function(){if(!g.hasOwnProperty(this.name)){g[this.name]=""}});return g};c(".ig-list-images > li").on("click",function(f){c(this).addClass("active");c(this).siblings().removeClass("active");c(this).find("input[type=radio]").prop("checked",true).trigger("change");c(this).siblings().find("input[type=radio]").prop("checked",false)});c("input[name=insta_source]").on("change",function(f){if(this.value=="username"){c("#ig-select-tag-wrap").hide(500,function(g){c("#ig-select-username-wrap").show().addClass("active")}).removeClass("active")}else{c("#ig-select-username-wrap").hide(500,function(g){c("#ig-select-tag-wrap").show().addClass("active")}).removeClass("active")}});c("input[name=insta_layout]").on("change",function(f){if(this.value=="carousel"){c("#ig-section-gallery").hide(500,function(g){c("#ig-section-carousel").show().addClass("active")}).removeClass("active")}else{c("#ig-section-carousel").hide(500,function(g){c("#ig-section-gallery").show().addClass("active")}).removeClass("active")}});c("input[name=insta_button]").on("change",function(f){if(this.checked){c("#ig-section-button").show("slow").addClass("active")}else{c("#ig-section-button").hide("slow").removeClass("active")}});c("input[name=insta_button_load]").on("change",function(f){if(this.checked){c("#ig-section-button_load").show("slow").addClass("active")}else{c("#ig-section-button_load").hide("slow").removeClass("active")}});c("input[name=insta_hover]").on("change",function(f){if(this.checked){c("#ig-section-hover").show("slow").addClass("active")}else{c("#ig-section-hover").hide("slow").removeClass("active")}});c("input[name=insta_popup]").on("change",function(f){if(this.checked){c("#ig-section-popup").show("slow").addClass("active")}else{c("#ig-section-popup").hide("slow").removeClass("active")}});function b(f){if(f){if(!c(".ig_adv-setting .insta-gallery-spinner img").length){var e='<img src="'+f+'" class="ig-spin" />';c(".ig_adv-setting .insta-gallery-spinner").append(e)}else{c(".ig_adv-setting .insta-gallery-spinner img").attr("src",f)}c(".ig_adv-setting .insta-gallery-spinner .ig-spin").hide();c(".ig_adv-setting .insta-gallery-spinner img").show()}else{c(".ig_adv-setting .insta-gallery-spinner .ig-spin").show();c(".ig_adv-setting .insta-gallery-spinner img").remove()}}var d=c("input[name=igs_spinner_image_id]"),a=c("#igs-spinner_reset");c(".ig_adv-setting input[name=igs-spinner]").trigger("change");c(".ig_adv-setting-toggle").on("click",function(){c(this).toggleClass("active");c(".ig_adv-setting").slideToggle()});c("#ig-adv-setting").on("submit",function(h){h.preventDefault();var f=c(this),g=f.find(".spinner");c.ajax({url:ajaxurl,type:"post",dataType:"JSON",data:{action:"qligg_save_igadvs",igs_flush:f.find("input[name=igs_flush]").is(":checked")||0,igs_spinner_image_id:f.find("input[name=igs_spinner_image_id]").val(),ig_nonce:f.find("input[name=ig_nonce]").val()},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){console.log(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,i){console.log(i)}})});a.click(function(){d.val("");b();c(this).hide()});if(d.val()==""){a.hide()}if(d.data("misrc")!=""){b(d.data("misrc"))}c("#igs-spinner_media_manager").click(function(g){g.preventDefault();var f;if(f){f.open()}f=wp.media({title:"Select Media",multiple:false,library:{type:"image",}});f.on("close",function(){var k=f.state().get("selection");if(k.length){var e=new Array();var h=0,l;k.each(function(i){e[h]=i.id;l=i.attributes.url;h++});var j=e.join(",");d.val(j);b(l)}if(d.val()==""){a.hide()}else{a.show()}});f.on("open",function(){var h=f.state().get("selection");var e=d.val().split(",");e.forEach(function(i){attachment=wp.media.attachment(i);attachment.fetch();h.add(attachment?[attachment]:[])})});f.open()});c(document).on("click","[data-qligg-toggle]",function(f){f.preventDefault();c(c(this).data("qligg-toggle")).slideToggle()});c(document).on("click","[data-qligg-copy]",function(f){f.preventDefault();c(c(this).data("qligg-copy")).select();document.execCommand("copy")});c("#ig-remove-data").on("click",function(g){var f=c(this).is(":checked");if(f){var h=confirm(qligg.remove_data);if(!h){return false}}});c(document).on("ready",function(i){var h=window.location.hash,j=h.substring(14);if(j.length>40){var g=c("#ig-generate-token").find(".btn-instagram"),f=c("#ig-generate-token").find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_generate_token",ig_access_token:j,ig_nonce:qligg.nonce},beforeSend:function(){g.css({opacity:".5","pointer-events":"none"});f.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.reload()},300)}else{alert(e.data)}},complete:function(){g.removeAttr("style");f.removeClass("is-active");window.location.hash="";window.location.href.split("#")[0]},error:function(e,k){console.log(k)}})}});c("#ig-update-token").on("submit",function(h){h.preventDefault();var f=c(this),g=f.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_generate_token",ig_access_token:f.find("input[name=ig_access_token]").val(),ig_nonce:qligg.nonce},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.reload()},300)}else{alert(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,i){console.log(i)},})});c(".ig-remove-token").on("click",function(i){i.preventDefault();var j=confirm(qligg.remove_token);if(!j){return false}var f=c(this),h=f.closest("tr"),g=h.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_remove_token",item_id:f.data("item_id"),ig_nonce:qligg.nonce},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){h.fadeOut();setTimeout(function(){window.location.href=window.location.href},300)}else{alert(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,k){console.log(k)}})});c("#ig-update-form").on("submit",function(h){h.preventDefault();var f=c(this),g=f.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:c.param(f.serializeArrayAll())+"&"+c.param({action:"qligg_update_form"}),beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.href=e.data},300)}else{alert(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,i){console.log(i)},})});c(".ig-form-item-delete").on("click",function(i){i.preventDefault();var j=confirm(qligg.remove_gallery);if(!j){return false}var f=c(this),h=f.closest("tr"),g=h.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_form_item_delete",item_id:f.data("item_id")},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.href=e.data},300)}else{alert(e.data)}},complete:function(){setTimeout(function(){h.remove()},600)},error:function(e,k){console.log(k)},})});c(document).on("ready",function(){c(".color-picker").wpColorPicker()})})(jQuery);
1
+ (function(c){c.fn.serializeArrayAll=function(){var g={};var f=this.serializeArray();c.each(f,function(){if(g[this.name]!==undefined){if(!g[this.name].push){g[this.name]=[g[this.name]]}g[this.name].push(this.value||"")}else{g[this.name]=this.value||""}});var e=c("input[type=radio],input[type=checkbox]",this);c.each(e,function(){if(!g.hasOwnProperty(this.name)){g[this.name]=""}});return g};c(".ig-list-images > li").on("click",function(f){c(this).addClass("active");c(this).siblings().removeClass("active");c(this).find("input[type=radio]").prop("checked",true).trigger("change");c(this).siblings().find("input[type=radio]").prop("checked",false)});c("input[name=insta_source]").on("change",function(f){if(this.value=="username"){c("#ig-select-tag-wrap").hide(500,function(g){c("#ig-select-username-wrap").show().addClass("active")}).removeClass("active")}else{c("#ig-select-username-wrap").hide(500,function(g){c("#ig-select-tag-wrap").show().addClass("active")}).removeClass("active")}});c("input[name=insta_box]").on("change",function(f){if(this.checked){c("#ig-section-box").show("slow").addClass("active")}else{c("#ig-section-box").hide("slow").removeClass("active")}});c("input[name=insta_layout]").on("change",function(f){if(this.value=="carousel"){c("#ig-section-gallery").hide(500,function(g){c("#ig-section-carousel").show().addClass("active")}).removeClass("active")}else{c("#ig-section-carousel").hide(500,function(g){c("#ig-section-gallery").show().addClass("active")}).removeClass("active")}});c("input[name=insta_button]").on("change",function(f){if(this.checked){c("#ig-section-button").show("slow").addClass("active")}else{c("#ig-section-button").hide("slow").removeClass("active")}});c("input[name=insta_button_load]").on("change",function(f){if(this.checked){c("#ig-section-button_load").show("slow").addClass("active")}else{c("#ig-section-button_load").hide("slow").removeClass("active")}});c("input[name=insta_hover]").on("change",function(f){if(this.checked){c("#ig-section-hover").show("slow").addClass("active")}else{c("#ig-section-hover").hide("slow").removeClass("active")}});c("input[name=insta_popup]").on("change",function(f){if(this.checked){c("#ig-section-popup").show("slow").addClass("active")}else{c("#ig-section-popup").hide("slow").removeClass("active")}});function b(f){if(f){if(!c("#ig-save-settings .insta-gallery-spinner img").length){var e='<img src="'+f+'" class="ig-spin" />';c("#ig-save-settings .insta-gallery-spinner").append(e)}else{c("#ig-save-settings .insta-gallery-spinner img").attr("src",f)}c("#ig-save-settings .insta-gallery-spinner .ig-spin").hide();c("#ig-save-settings .insta-gallery-spinner img").show()}else{c("#ig-save-settings .insta-gallery-spinner .ig-spin").show();c("#ig-save-settings .insta-gallery-spinner img").remove()}}var d=c("input[name=insta_spinner_image_id]"),a=c("#ig-spinner-reset");c("#ig-save-settings").on("submit",function(h){h.preventDefault();var f=c(this),g=f.find(".spinner");c.ajax({url:ajaxurl,type:"post",dataType:"JSON",data:c.param(f.serializeArrayAll())+"&"+c.param({action:"qligg_save_settings"}),beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){window.location.reload()}},complete:function(){g.removeClass("is-active")},error:function(e,i){console.log(i)}})});a.click(function(){d.val("");b();c(this).hide()});if(d.val()==""){a.hide()}if(d.data("misrc")!=""){b(d.data("misrc"))}c("#ig-spinner-upload").click(function(g){g.preventDefault();var f;if(f){f.open()}f=wp.media({title:"Select Media",multiple:false,library:{type:"image",}});f.on("close",function(){var k=f.state().get("selection");if(k.length){var e=new Array();var h=0,l;k.each(function(i){e[h]=i.id;l=i.attributes.url;h++});var j=e.join(",");d.val(j);b(l)}if(d.val()==""){a.hide()}else{a.show()}});f.on("open",function(){var h=f.state().get("selection");var e=d.val().split(",");e.forEach(function(i){attachment=wp.media.attachment(i);attachment.fetch();h.add(attachment?[attachment]:[])})});f.open()});c(document).on("click","[data-qligg-toggle]",function(f){f.preventDefault();c(c(this).data("qligg-toggle")).slideToggle()});c(document).on("click","[data-qligg-copy]",function(f){f.preventDefault();c(c(this).data("qligg-copy")).select();document.execCommand("copy")});c("#ig-remove-data").on("click",function(g){var f=c(this).is(":checked");if(f){var h=confirm(qligg.remove_data);if(!h){return false}}});c(document).on("ready",function(i){var h=window.location.hash,j=h.substring(14);if(j.length>40){var g=c("#ig-generate-token").find(".btn-instagram"),f=c("#ig-generate-token").find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_generate_token",ig_access_token:j,ig_nonce:qligg.nonce},beforeSend:function(){g.css({opacity:".5","pointer-events":"none"});f.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.reload()},300)}else{alert(e.data)}},complete:function(){g.removeAttr("style");f.removeClass("is-active");window.location.hash="";window.location.href.split("#")[0]},error:function(e,k){console.log(k)}})}});c("#ig-update-token").on("submit",function(h){h.preventDefault();var f=c(this),g=f.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_generate_token",ig_access_token:f.find("input[name=ig_access_token]").val(),ig_nonce:qligg.nonce},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.reload()},300)}else{alert(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,i){console.log(i)},})});c(".ig-remove-token").on("click",function(i){i.preventDefault();var j=confirm(qligg.remove_token);if(!j){return false}var f=c(this),h=f.closest("tr"),g=h.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_remove_token",item_id:f.data("item_id"),ig_nonce:qligg.nonce},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){h.fadeOut();setTimeout(function(){window.location.reload()},300)}else{alert(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,k){console.log(k)}})});c("#ig-update-form").on("submit",function(h){h.preventDefault();var f=c(this),g=f.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:c.param(f.serializeArrayAll())+"&"+c.param({action:"qligg_update_form"}),beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.href=e.data},300)}else{alert(e.data)}},complete:function(){g.removeClass("is-active")},error:function(e,i){console.log(i)},})});c(".ig-form-item-delete").on("click",function(i){i.preventDefault();var j=confirm(qligg.remove_gallery);if(!j){return false}var f=c(this),h=f.closest("tr"),g=h.find(".spinner");c.ajax({url:ajaxurl,type:"post",data:{action:"qligg_form_item_delete",item_id:f.data("item_id")},beforeSend:function(){g.addClass("is-active")},success:function(e){if(e.success){setTimeout(function(){window.location.href=e.data},300)}else{alert(e.data)}},complete:function(){setTimeout(function(){h.remove()},600)},error:function(e,k){console.log(k)},})});c(document).on("ready",function(){c(".color-picker").wpColorPicker()})})(jQuery);
assets/js/qligg.js CHANGED
@@ -247,7 +247,7 @@
247
  counter = '<div class="mfp-icons"><div class="mfp-counter">' + (item.index + 1) + ' / ' + $('.insta-gallery-item', $wrap).length + '</div><a class="mfp-link" href="' + item.el.data('item').link + '" target="_blank" rel="noopener"><i class="qligg-icon-instagram"></i>Instagram</a></div>';
248
 
249
  if (options.popup.profile) {
250
- profile = '<div class="mfp-user"><a href="' + options.profile.link + '" title="' + options.profile.name + '" target="_blank" rel="noopener"><img src="' + options.profile.picture + '"><p>@' + options.profile.user + '</p></a></div>';
251
  }
252
 
253
  if (options.popup.caption) {
247
  counter = '<div class="mfp-icons"><div class="mfp-counter">' + (item.index + 1) + ' / ' + $('.insta-gallery-item', $wrap).length + '</div><a class="mfp-link" href="' + item.el.data('item').link + '" target="_blank" rel="noopener"><i class="qligg-icon-instagram"></i>Instagram</a></div>';
248
 
249
  if (options.popup.profile) {
250
+ profile = '<div class="mfp-user"><img src="' + options.profile.picture + '"><a href="' + options.profile.link + '" title="' + options.profile.name + '" target="_blank" rel="noopener">' + options.profile.user + '</a></div>';
251
  }
252
 
253
  if (options.popup.caption) {
assets/js/qligg.min.js CHANGED
@@ -1 +1 @@
1
- (function(c){var b=0,d={};function a(f,i){var e=c(".insta-gallery-list",f),h=c(".insta-gallery-spinner",f),g=f.data("feed");c.ajax({url:qligg.ajax_url,type:"post",timeout:30000,data:{action:"qligg_load_item_images",next_max_id:i,feed:g},beforeSend:function(){h.show()},success:function(j){if(j.success!==true){e.append(c(j.data));h.hide();return}var k=c(j.data);e.append(k).trigger("qligg.loaded",[k])},complete:function(){},error:function(j,k){h.hide();console.log(k)}})}c(".insta-gallery-feed").on("qligg.loaded",function(i,j){var l=c(i.delegateTarget),n=c(".insta-gallery-list",l),g=c(".insta-gallery-spinner",l),f=c(".insta-gallery-button.load",l),m=l.data("feed"),k=c(j).length,h=0;if(k){n.find(".insta-gallery-image").load(function(o){h++;if(h>=k){n.trigger("qligg.imagesLoaded",[j])}})}if(k<m.limit){g.hide();setTimeout(function(){f.fadeOut()},300)}});c(".insta-gallery-feed").on("qligg.imagesLoaded",function(h){var f=c(h.delegateTarget),g=c(".insta-gallery-spinner",f);g.hide()});c(".insta-gallery-feed[data-feed_layout=gallery]").on("qligg.imagesLoaded",function(h,f){var g=c(h.delegateTarget);g.addClass("loaded");c(f).each(function(e,j){setTimeout(function(){c(j).addClass("ig-image-loaded")},150+(e*30))})});c(".insta-gallery-feed[data-feed_layout=carousel]").on("qligg.imagesLoaded",function(h,f){var g=c(h.delegateTarget);g.addClass("loaded");c(f).each(function(e,j){c(j).addClass("ig-image-loaded")})});c(".insta-gallery-feed[data-feed_layout=carousel]").on("qligg.imagesLoaded",function(j,f){var g=c(j.delegateTarget),i=c(".swiper-container",g),h=g.data("feed");b++;d[b]=new Swiper(i,{loop:true,autoHeight:true,observer:true,observeParents:true,spaceBetween:parseInt(h.spacing),slidesPerView:parseInt(h.carousel.slides),autoplay:h.carousel.autoplay?{delay:parseInt(h.carousel.interval),}:false,pagination:{el:".swiper-pagination",dynamicBullets:true,clickable:true,type:"bullets",},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",},breakpoints:{420:{slidesPerView:1,spaceBetween:2,},767:{slidesPerView:Math.min(2,h.carousel.slides)},1023:{slidesPerView:Math.min(3,h.carousel.slides)}}})});c(".insta-gallery-feed[data-feed_layout=masonry]").on("qligg.imagesLoaded",function(i,f){var h=c(i.delegateTarget),g=c(".insta-gallery-list",h);if(!g.data("masonry")){g.masonry({itemSelector:".insta-gallery-item",isResizable:true,isAnimated:false,transitionDuration:0})}else{g.masonry("appended",f,false)}});c(".insta-gallery-feed[data-feed_layout=masonry]").on("layoutComplete",function(h,g){var f=c(h.delegateTarget);f.addClass("loaded");c(g).each(function(e,j){setTimeout(function(){c(j.element).addClass("ig-image-loaded")},500+(e*50))})});c(".insta-gallery-feed").on("qligg.loaded",function(i){var g=c(i.delegateTarget),f=c(".insta-gallery-list",g),h=g.data("feed");c(".insta-gallery-item .insta-gallery-icon.qligg-icon-instagram",f).on("click",function(j){j.stopPropagation()});if(!h.popup.display){return}c(".insta-gallery-item",f).magnificPopup({type:"inline",callbacks:{elementParse:function(m){var n="",l="",e="",k="",j="";n='<img src="'+m.el.data("item").images.standard+'"/>';e='<div class="mfp-icons"><div class="mfp-counter">'+(m.index+1)+" / "+c(".insta-gallery-item",f).length+'</div><a class="mfp-link" href="'+m.el.data("item").link+'" target="_blank" rel="noopener"><i class="qligg-icon-instagram"></i>Instagram</a></div>';if(h.popup.profile){l='<div class="mfp-user"><a href="'+h.profile.link+'" title="'+h.profile.name+'" target="_blank" rel="noopener"><img src="'+h.profile.picture+'"><p>@'+h.profile.user+"</p></a></div>"}if(h.popup.caption){k='<div class="mfp-caption">'+m.el.data("item").caption+"</div>"}if(h.popup.likes){j='<div class="mfp-info"><div class="mfp-likes"><i class="qligg-icon-heart"></i>'+m.el.data("item").likes+'</div><div class="mfp-comments"><i class="qligg-icon-comment"></i>'+m.el.data("item").comments+'</div><div class="mfp-date">'+m.el.data("item").date+"</div></div>"}m.src='<div class="mfp-figure '+h.popup.align+'">'+n+'<div class="mfp-close"></div><div class="mfp-bottom-bar"><div class="mfp-title">'+l+e+k+j+"</div></div></div>"}},gallery:{enabled:true}})});c(".insta-gallery-feed").on("click",".insta-gallery-button.load",function(h){h.preventDefault();var f=c(h.delegateTarget);if(!f.hasClass("loaded")){return false}var g=c(".insta-gallery-list .insta-gallery-item:last-child",f).attr("id");a(f,g)});c(".insta-gallery-feed").each(function(f,g){var e=c(this);if(e.hasClass("loaded")){return false}a(e,0)});if(navigator.appVersion.indexOf("MSIE 8.")!=-1){document.body.className+=" instagal-ie-8"}if(navigator.appVersion.indexOf("MSIE 9.")!=-1){document.body.className+=" instagal-ie-9"}})(jQuery);
1
+ (function(c){var b=0,d={};function a(f,i){var e=c(".insta-gallery-list",f),h=c(".insta-gallery-spinner",f),g=f.data("feed");c.ajax({url:qligg.ajax_url,type:"post",timeout:30000,data:{action:"qligg_load_item_images",next_max_id:i,feed:g},beforeSend:function(){h.show()},success:function(j){if(j.success!==true){e.append(c(j.data));h.hide();return}var k=c(j.data);e.append(k).trigger("qligg.loaded",[k])},complete:function(){},error:function(j,k){h.hide();console.log(k)}})}c(".insta-gallery-feed").on("qligg.loaded",function(i,j){var l=c(i.delegateTarget),n=c(".insta-gallery-list",l),g=c(".insta-gallery-spinner",l),f=c(".insta-gallery-button.load",l),m=l.data("feed"),k=c(j).length,h=0;if(k){n.find(".insta-gallery-image").load(function(o){h++;if(h>=k){n.trigger("qligg.imagesLoaded",[j])}})}if(k<m.limit){g.hide();setTimeout(function(){f.fadeOut()},300)}});c(".insta-gallery-feed").on("qligg.imagesLoaded",function(h){var f=c(h.delegateTarget),g=c(".insta-gallery-spinner",f);g.hide()});c(".insta-gallery-feed[data-feed_layout=gallery]").on("qligg.imagesLoaded",function(h,f){var g=c(h.delegateTarget);g.addClass("loaded");c(f).each(function(e,j){setTimeout(function(){c(j).addClass("ig-image-loaded")},150+(e*30))})});c(".insta-gallery-feed[data-feed_layout=carousel]").on("qligg.imagesLoaded",function(h,f){var g=c(h.delegateTarget);g.addClass("loaded");c(f).each(function(e,j){c(j).addClass("ig-image-loaded")})});c(".insta-gallery-feed[data-feed_layout=carousel]").on("qligg.imagesLoaded",function(j,f){var g=c(j.delegateTarget),i=c(".swiper-container",g),h=g.data("feed");b++;d[b]=new Swiper(i,{loop:true,autoHeight:true,observer:true,observeParents:true,spaceBetween:parseInt(h.spacing),slidesPerView:parseInt(h.carousel.slides),autoplay:h.carousel.autoplay?{delay:parseInt(h.carousel.interval),}:false,pagination:{el:".swiper-pagination",dynamicBullets:true,clickable:true,type:"bullets",},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",},breakpoints:{420:{slidesPerView:1,spaceBetween:2,},767:{slidesPerView:Math.min(2,h.carousel.slides)},1023:{slidesPerView:Math.min(3,h.carousel.slides)}}})});c(".insta-gallery-feed[data-feed_layout=masonry]").on("qligg.imagesLoaded",function(i,f){var h=c(i.delegateTarget),g=c(".insta-gallery-list",h);if(!g.data("masonry")){g.masonry({itemSelector:".insta-gallery-item",isResizable:true,isAnimated:false,transitionDuration:0})}else{g.masonry("appended",f,false)}});c(".insta-gallery-feed[data-feed_layout=masonry]").on("layoutComplete",function(h,g){var f=c(h.delegateTarget);f.addClass("loaded");c(g).each(function(e,j){setTimeout(function(){c(j.element).addClass("ig-image-loaded")},500+(e*50))})});c(".insta-gallery-feed").on("qligg.loaded",function(i){var g=c(i.delegateTarget),f=c(".insta-gallery-list",g),h=g.data("feed");c(".insta-gallery-item .insta-gallery-icon.qligg-icon-instagram",f).on("click",function(j){j.stopPropagation()});if(!h.popup.display){return}c(".insta-gallery-item",f).magnificPopup({type:"inline",callbacks:{elementParse:function(m){var n="",l="",e="",k="",j="";n='<img src="'+m.el.data("item").images.standard+'"/>';e='<div class="mfp-icons"><div class="mfp-counter">'+(m.index+1)+" / "+c(".insta-gallery-item",f).length+'</div><a class="mfp-link" href="'+m.el.data("item").link+'" target="_blank" rel="noopener"><i class="qligg-icon-instagram"></i>Instagram</a></div>';if(h.popup.profile){l='<div class="mfp-user"><img src="'+h.profile.picture+'"><a href="'+h.profile.link+'" title="'+h.profile.name+'" target="_blank" rel="noopener">'+h.profile.user+"</a></div>"}if(h.popup.caption){k='<div class="mfp-caption">'+m.el.data("item").caption+"</div>"}if(h.popup.likes){j='<div class="mfp-info"><div class="mfp-likes"><i class="qligg-icon-heart"></i>'+m.el.data("item").likes+'</div><div class="mfp-comments"><i class="qligg-icon-comment"></i>'+m.el.data("item").comments+'</div><div class="mfp-date">'+m.el.data("item").date+"</div></div>"}m.src='<div class="mfp-figure '+h.popup.align+'">'+n+'<div class="mfp-close"></div><div class="mfp-bottom-bar"><div class="mfp-title">'+l+e+k+j+"</div></div></div>"}},gallery:{enabled:true}})});c(".insta-gallery-feed").on("click",".insta-gallery-button.load",function(h){h.preventDefault();var f=c(h.delegateTarget);if(!f.hasClass("loaded")){return false}var g=c(".insta-gallery-list .insta-gallery-item:last-child",f).attr("id");a(f,g)});c(".insta-gallery-feed").each(function(f,g){var e=c(this);if(e.hasClass("loaded")){return false}a(e,0)});if(navigator.appVersion.indexOf("MSIE 8.")!=-1){document.body.className+=" instagal-ie-8"}if(navigator.appVersion.indexOf("MSIE 9.")!=-1){document.body.className+=" instagal-ie-9"}})(jQuery);
assets/magnific-popup/jquery.magnific-popup.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Magnific Popup - v1.1.0 - 2016-02-20
2
- * http://dimsemenov.com/plugins/magnific-popup/
3
- * Copyright (c) 2016 Dmitry Semenov; */
4
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});
1
+ /*! Magnific Popup - v1.1.0 - 2016-02-20
2
+ * http://dimsemenov.com/plugins/magnific-popup/
3
+ * Copyright (c) 2016 Dmitry Semenov; */
4
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});
assets/magnific-popup/magnific-popup.css CHANGED
@@ -1,351 +1,351 @@
1
- /* Magnific Popup CSS */
2
- .mfp-bg {
3
- top: 0;
4
- left: 0;
5
- width: 100%;
6
- height: 100%;
7
- z-index: 1042;
8
- overflow: hidden;
9
- position: fixed;
10
- background: #0b0b0b;
11
- opacity: 0.8; }
12
-
13
- .mfp-wrap {
14
- top: 0;
15
- left: 0;
16
- width: 100%;
17
- height: 100%;
18
- z-index: 1043;
19
- position: fixed;
20
- outline: none !important;
21
- -webkit-backface-visibility: hidden; }
22
-
23
- .mfp-container {
24
- text-align: center;
25
- position: absolute;
26
- width: 100%;
27
- height: 100%;
28
- left: 0;
29
- top: 0;
30
- padding: 0 8px;
31
- box-sizing: border-box; }
32
-
33
- .mfp-container:before {
34
- content: '';
35
- display: inline-block;
36
- height: 100%;
37
- vertical-align: middle; }
38
-
39
- .mfp-align-top .mfp-container:before {
40
- display: none; }
41
-
42
- .mfp-content {
43
- position: relative;
44
- display: inline-block;
45
- vertical-align: middle;
46
- margin: 0 auto;
47
- text-align: left;
48
- z-index: 1045; }
49
-
50
- .mfp-inline-holder .mfp-content,
51
- .mfp-ajax-holder .mfp-content {
52
- width: 100%;
53
- cursor: auto; }
54
-
55
- .mfp-ajax-cur {
56
- cursor: progress; }
57
-
58
- .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
59
- cursor: -moz-zoom-out;
60
- cursor: -webkit-zoom-out;
61
- cursor: zoom-out; }
62
-
63
- .mfp-zoom {
64
- cursor: pointer;
65
- cursor: -webkit-zoom-in;
66
- cursor: -moz-zoom-in;
67
- cursor: zoom-in; }
68
-
69
- .mfp-auto-cursor .mfp-content {
70
- cursor: auto; }
71
-
72
- .mfp-close,
73
- .mfp-arrow,
74
- .mfp-preloader,
75
- .mfp-counter {
76
- -webkit-user-select: none;
77
- -moz-user-select: none;
78
- user-select: none; }
79
-
80
- .mfp-loading.mfp-figure {
81
- display: none; }
82
-
83
- .mfp-hide {
84
- display: none !important; }
85
-
86
- .mfp-preloader {
87
- color: #CCC;
88
- position: absolute;
89
- top: 50%;
90
- width: auto;
91
- text-align: center;
92
- margin-top: -0.8em;
93
- left: 8px;
94
- right: 8px;
95
- z-index: 1044; }
96
- .mfp-preloader a {
97
- color: #CCC; }
98
- .mfp-preloader a:hover {
99
- color: #FFF; }
100
-
101
- .mfp-s-ready .mfp-preloader {
102
- display: none; }
103
-
104
- .mfp-s-error .mfp-content {
105
- display: none; }
106
-
107
- button.mfp-close,
108
- button.mfp-arrow {
109
- overflow: visible;
110
- cursor: pointer;
111
- background: transparent;
112
- border: 0;
113
- -webkit-appearance: none;
114
- display: block;
115
- outline: none;
116
- padding: 0;
117
- z-index: 1046;
118
- box-shadow: none;
119
- touch-action: manipulation; }
120
-
121
- button::-moz-focus-inner {
122
- padding: 0;
123
- border: 0; }
124
-
125
- .mfp-close {
126
- width: 44px;
127
- height: 44px;
128
- line-height: 44px;
129
- position: absolute;
130
- right: 0;
131
- top: 0;
132
- text-decoration: none;
133
- text-align: center;
134
- opacity: 0.65;
135
- padding: 0 0 18px 10px;
136
- color: #FFF;
137
- font-style: normal;
138
- font-size: 28px;
139
- font-family: Arial, Baskerville, monospace; }
140
- .mfp-close:hover,
141
- .mfp-close:focus {
142
- opacity: 1; }
143
- .mfp-close:active {
144
- top: 1px; }
145
-
146
- .mfp-close-btn-in .mfp-close {
147
- color: #333; }
148
-
149
- .mfp-image-holder .mfp-close,
150
- .mfp-iframe-holder .mfp-close {
151
- color: #FFF;
152
- right: -6px;
153
- text-align: right;
154
- padding-right: 6px;
155
- width: 100%; }
156
-
157
- .mfp-counter {
158
- position: absolute;
159
- top: 0;
160
- right: 0;
161
- color: #CCC;
162
- font-size: 12px;
163
- line-height: 18px;
164
- white-space: nowrap; }
165
-
166
- .mfp-arrow {
167
- position: absolute;
168
- opacity: 0.65;
169
- margin: 0;
170
- top: 50%;
171
- margin-top: -55px;
172
- padding: 0;
173
- width: 90px;
174
- height: 110px;
175
- -webkit-tap-highlight-color: transparent; }
176
- .mfp-arrow:active {
177
- margin-top: -54px; }
178
- .mfp-arrow:hover,
179
- .mfp-arrow:focus {
180
- opacity: 1; }
181
- .mfp-arrow:before,
182
- .mfp-arrow:after {
183
- content: '';
184
- display: block;
185
- width: 0;
186
- height: 0;
187
- position: absolute;
188
- left: 0;
189
- top: 0;
190
- margin-top: 35px;
191
- margin-left: 35px;
192
- border: medium inset transparent; }
193
- .mfp-arrow:after {
194
- border-top-width: 13px;
195
- border-bottom-width: 13px;
196
- top: 8px; }
197
- .mfp-arrow:before {
198
- border-top-width: 21px;
199
- border-bottom-width: 21px;
200
- opacity: 0.7; }
201
-
202
- .mfp-arrow-left {
203
- left: 0; }
204
- .mfp-arrow-left:after {
205
- border-right: 17px solid #FFF;
206
- margin-left: 31px; }
207
- .mfp-arrow-left:before {
208
- margin-left: 25px;
209
- border-right: 27px solid #3F3F3F; }
210
-
211
- .mfp-arrow-right {
212
- right: 0; }
213
- .mfp-arrow-right:after {
214
- border-left: 17px solid #FFF;
215
- margin-left: 39px; }
216
- .mfp-arrow-right:before {
217
- border-left: 27px solid #3F3F3F; }
218
-
219
- .mfp-iframe-holder {
220
- padding-top: 40px;
221
- padding-bottom: 40px; }
222
- .mfp-iframe-holder .mfp-content {
223
- line-height: 0;
224
- width: 100%;
225
- max-width: 900px; }
226
- .mfp-iframe-holder .mfp-close {
227
- top: -40px; }
228
-
229
- .mfp-iframe-scaler {
230
- width: 100%;
231
- height: 0;
232
- overflow: hidden;
233
- padding-top: 56.25%; }
234
- .mfp-iframe-scaler iframe {
235
- position: absolute;
236
- display: block;
237
- top: 0;
238
- left: 0;
239
- width: 100%;
240
- height: 100%;
241
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
242
- background: #000; }
243
-
244
- /* Main image in popup */
245
- img.mfp-img {
246
- width: auto;
247
- max-width: 100%;
248
- height: auto;
249
- display: block;
250
- line-height: 0;
251
- box-sizing: border-box;
252
- padding: 40px 0 40px;
253
- margin: 0 auto; }
254
-
255
- /* The shadow behind the image */
256
- .mfp-figure {
257
- line-height: 0; }
258
- .mfp-figure:after {
259
- content: '';
260
- position: absolute;
261
- left: 0;
262
- top: 40px;
263
- bottom: 40px;
264
- display: block;
265
- right: 0;
266
- width: auto;
267
- height: auto;
268
- z-index: -1;
269
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
270
- background: #444; }
271
- .mfp-figure small {
272
- color: #BDBDBD;
273
- display: block;
274
- font-size: 12px;
275
- line-height: 14px; }
276
- .mfp-figure figure {
277
- margin: 0; }
278
-
279
- .mfp-bottom-bar {
280
- margin-top: -36px;
281
- position: absolute;
282
- top: 100%;
283
- left: 0;
284
- width: 100%;
285
- cursor: auto; }
286
-
287
- .mfp-title {
288
- text-align: left;
289
- line-height: 18px;
290
- color: #F3F3F3;
291
- word-wrap: break-word;
292
- padding-right: 36px; }
293
-
294
- .mfp-image-holder .mfp-content {
295
- max-width: 100%; }
296
-
297
- .mfp-gallery .mfp-image-holder .mfp-figure {
298
- cursor: pointer; }
299
-
300
- @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
301
- /**
302
- * Remove all paddings around the image on small screen
303
- */
304
- .mfp-img-mobile .mfp-image-holder {
305
- padding-left: 0;
306
- padding-right: 0; }
307
- .mfp-img-mobile img.mfp-img {
308
- padding: 0; }
309
- .mfp-img-mobile .mfp-figure:after {
310
- top: 0;
311
- bottom: 0; }
312
- .mfp-img-mobile .mfp-figure small {
313
- display: inline;
314
- margin-left: 5px; }
315
- .mfp-img-mobile .mfp-bottom-bar {
316
- background: rgba(0, 0, 0, 0.6);
317
- bottom: 0;
318
- margin: 0;
319
- top: auto;
320
- padding: 3px 5px;
321
- position: fixed;
322
- box-sizing: border-box; }
323
- .mfp-img-mobile .mfp-bottom-bar:empty {
324
- padding: 0; }
325
- .mfp-img-mobile .mfp-counter {
326
- right: 5px;
327
- top: 3px; }
328
- .mfp-img-mobile .mfp-close {
329
- top: 0;
330
- right: 0;
331
- width: 35px;
332
- height: 35px;
333
- line-height: 35px;
334
- background: rgba(0, 0, 0, 0.6);
335
- position: fixed;
336
- text-align: center;
337
- padding: 0; } }
338
-
339
- @media all and (max-width: 900px) {
340
- .mfp-arrow {
341
- -webkit-transform: scale(0.75);
342
- transform: scale(0.75); }
343
- .mfp-arrow-left {
344
- -webkit-transform-origin: 0;
345
- transform-origin: 0; }
346
- .mfp-arrow-right {
347
- -webkit-transform-origin: 100%;
348
- transform-origin: 100%; }
349
- .mfp-container {
350
- padding-left: 6px;
351
- padding-right: 6px; } }
1
+ /* Magnific Popup CSS */
2
+ .mfp-bg {
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ z-index: 1042;
8
+ overflow: hidden;
9
+ position: fixed;
10
+ background: #0b0b0b;
11
+ opacity: 0.8; }
12
+
13
+ .mfp-wrap {
14
+ top: 0;
15
+ left: 0;
16
+ width: 100%;
17
+ height: 100%;
18
+ z-index: 1043;
19
+ position: fixed;
20
+ outline: none !important;
21
+ -webkit-backface-visibility: hidden; }
22
+
23
+ .mfp-container {
24
+ text-align: center;
25
+ position: absolute;
26
+ width: 100%;
27
+ height: 100%;
28
+ left: 0;
29
+ top: 0;
30
+ padding: 0 8px;
31
+ box-sizing: border-box; }
32
+
33
+ .mfp-container:before {
34
+ content: '';
35
+ display: inline-block;
36
+ height: 100%;
37
+ vertical-align: middle; }
38
+
39
+ .mfp-align-top .mfp-container:before {
40
+ display: none; }
41
+
42
+ .mfp-content {
43
+ position: relative;
44
+ display: inline-block;
45
+ vertical-align: middle;
46
+ margin: 0 auto;
47
+ text-align: left;
48
+ z-index: 1045; }
49
+
50
+ .mfp-inline-holder .mfp-content,
51
+ .mfp-ajax-holder .mfp-content {
52
+ width: 100%;
53
+ cursor: auto; }
54
+
55
+ .mfp-ajax-cur {
56
+ cursor: progress; }
57
+
58
+ .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
59
+ cursor: -moz-zoom-out;
60
+ cursor: -webkit-zoom-out;
61
+ cursor: zoom-out; }
62
+
63
+ .mfp-zoom {
64
+ cursor: pointer;
65
+ cursor: -webkit-zoom-in;
66
+ cursor: -moz-zoom-in;
67
+ cursor: zoom-in; }
68
+
69
+ .mfp-auto-cursor .mfp-content {
70
+ cursor: auto; }
71
+
72
+ .mfp-close,
73
+ .mfp-arrow,
74
+ .mfp-preloader,
75
+ .mfp-counter {
76
+ -webkit-user-select: none;
77
+ -moz-user-select: none;
78
+ user-select: none; }
79
+
80
+ .mfp-loading.mfp-figure {
81
+ display: none; }
82
+
83
+ .mfp-hide {
84
+ display: none !important; }
85
+
86
+ .mfp-preloader {
87
+ color: #CCC;
88
+ position: absolute;
89
+ top: 50%;
90
+ width: auto;
91
+ text-align: center;
92
+ margin-top: -0.8em;
93
+ left: 8px;
94
+ right: 8px;
95
+ z-index: 1044; }
96
+ .mfp-preloader a {
97
+ color: #CCC; }
98
+ .mfp-preloader a:hover {
99
+ color: #FFF; }
100
+
101
+ .mfp-s-ready .mfp-preloader {
102
+ display: none; }
103
+
104
+ .mfp-s-error .mfp-content {
105
+ display: none; }
106
+
107
+ button.mfp-close,
108
+ button.mfp-arrow {
109
+ overflow: visible;
110
+ cursor: pointer;
111
+ background: transparent;
112
+ border: 0;
113
+ -webkit-appearance: none;
114
+ display: block;
115
+ outline: none;
116
+ padding: 0;
117
+ z-index: 1046;
118
+ box-shadow: none;
119
+ touch-action: manipulation; }
120
+
121
+ button::-moz-focus-inner {
122
+ padding: 0;
123
+ border: 0; }
124
+
125
+ .mfp-close {
126
+ width: 44px;
127
+ height: 44px;
128
+ line-height: 44px;
129
+ position: absolute;
130
+ right: 0;
131
+ top: 0;
132
+ text-decoration: none;
133
+ text-align: center;
134
+ opacity: 0.65;
135
+ padding: 0 0 18px 10px;
136
+ color: #FFF;
137
+ font-style: normal;
138
+ font-size: 28px;
139
+ font-family: Arial, Baskerville, monospace; }
140
+ .mfp-close:hover,
141
+ .mfp-close:focus {
142
+ opacity: 1; }
143
+ .mfp-close:active {
144
+ top: 1px; }
145
+
146
+ .mfp-close-btn-in .mfp-close {
147
+ color: #333; }
148
+
149
+ .mfp-image-holder .mfp-close,
150
+ .mfp-iframe-holder .mfp-close {
151
+ color: #FFF;
152
+ right: -6px;
153
+ text-align: right;
154
+ padding-right: 6px;
155
+ width: 100%; }
156
+
157
+ .mfp-counter {
158
+ position: absolute;
159
+ top: 0;
160
+ right: 0;
161
+ color: #CCC;
162
+ font-size: 12px;
163
+ line-height: 18px;
164
+ white-space: nowrap; }
165
+
166
+ .mfp-arrow {
167
+ position: absolute;
168
+ opacity: 0.65;
169
+ margin: 0;
170
+ top: 50%;
171
+ margin-top: -55px;
172
+ padding: 0;
173
+ width: 90px;
174
+ height: 110px;
175
+ -webkit-tap-highlight-color: transparent; }
176
+ .mfp-arrow:active {
177
+ margin-top: -54px; }
178
+ .mfp-arrow:hover,
179
+ .mfp-arrow:focus {
180
+ opacity: 1; }
181
+ .mfp-arrow:before,
182
+ .mfp-arrow:after {
183
+ content: '';
184
+ display: block;
185
+ width: 0;
186
+ height: 0;
187
+ position: absolute;
188
+ left: 0;
189
+ top: 0;
190
+ margin-top: 35px;
191
+ margin-left: 35px;
192
+ border: medium inset transparent; }
193
+ .mfp-arrow:after {
194
+ border-top-width: 13px;
195
+ border-bottom-width: 13px;
196
+ top: 8px; }
197
+ .mfp-arrow:before {
198
+ border-top-width: 21px;
199
+ border-bottom-width: 21px;
200
+ opacity: 0.7; }
201
+
202
+ .mfp-arrow-left {
203
+ left: 0; }
204
+ .mfp-arrow-left:after {
205
+ border-right: 17px solid #FFF;
206
+ margin-left: 31px; }
207
+ .mfp-arrow-left:before {
208
+ margin-left: 25px;
209
+ border-right: 27px solid #3F3F3F; }
210
+
211
+ .mfp-arrow-right {
212
+ right: 0; }
213
+ .mfp-arrow-right:after {
214
+ border-left: 17px solid #FFF;
215
+ margin-left: 39px; }
216
+ .mfp-arrow-right:before {
217
+ border-left: 27px solid #3F3F3F; }
218
+
219
+ .mfp-iframe-holder {
220
+ padding-top: 40px;
221
+ padding-bottom: 40px; }
222
+ .mfp-iframe-holder .mfp-content {
223
+ line-height: 0;
224
+ width: 100%;
225
+ max-width: 900px; }
226
+ .mfp-iframe-holder .mfp-close {
227
+ top: -40px; }
228
+
229
+ .mfp-iframe-scaler {
230
+ width: 100%;
231
+ height: 0;
232
+ overflow: hidden;
233
+ padding-top: 56.25%; }
234
+ .mfp-iframe-scaler iframe {
235
+ position: absolute;
236
+ display: block;
237
+ top: 0;
238
+ left: 0;
239
+ width: 100%;
240
+ height: 100%;
241
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
242
+ background: #000; }
243
+
244
+ /* Main image in popup */
245
+ img.mfp-img {
246
+ width: auto;
247
+ max-width: 100%;
248
+ height: auto;
249
+ display: block;
250
+ line-height: 0;
251
+ box-sizing: border-box;
252
+ padding: 40px 0 40px;
253
+ margin: 0 auto; }
254
+
255
+ /* The shadow behind the image */
256
+ .mfp-figure {
257
+ line-height: 0; }
258
+ .mfp-figure:after {
259
+ content: '';
260
+ position: absolute;
261
+ left: 0;
262
+ top: 40px;
263
+ bottom: 40px;
264
+ display: block;
265
+ right: 0;
266
+ width: auto;
267
+ height: auto;
268
+ z-index: -1;
269
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
270
+ background: #444; }
271
+ .mfp-figure small {
272
+ color: #BDBDBD;
273
+ display: block;
274
+ font-size: 12px;
275
+ line-height: 14px; }
276
+ .mfp-figure figure {
277
+ margin: 0; }
278
+
279
+ .mfp-bottom-bar {
280
+ margin-top: -36px;
281
+ position: absolute;
282
+ top: 100%;
283
+ left: 0;
284
+ width: 100%;
285
+ cursor: auto; }
286
+
287
+ .mfp-title {
288
+ text-align: left;
289
+ line-height: 18px;
290
+ color: #F3F3F3;
291
+ word-wrap: break-word;
292
+ padding-right: 36px; }
293
+
294
+ .mfp-image-holder .mfp-content {
295
+ max-width: 100%; }
296
+
297
+ .mfp-gallery .mfp-image-holder .mfp-figure {
298
+ cursor: pointer; }
299
+
300
+ @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
301
+ /**
302
+ * Remove all paddings around the image on small screen
303
+ */
304
+ .mfp-img-mobile .mfp-image-holder {
305
+ padding-left: 0;
306
+ padding-right: 0; }
307
+ .mfp-img-mobile img.mfp-img {
308
+ padding: 0; }
309
+ .mfp-img-mobile .mfp-figure:after {
310
+ top: 0;
311
+ bottom: 0; }
312
+ .mfp-img-mobile .mfp-figure small {
313
+ display: inline;
314
+ margin-left: 5px; }
315
+ .mfp-img-mobile .mfp-bottom-bar {
316
+ background: rgba(0, 0, 0, 0.6);
317
+ bottom: 0;
318
+ margin: 0;
319
+ top: auto;
320
+ padding: 3px 5px;
321
+ position: fixed;
322
+ box-sizing: border-box; }
323
+ .mfp-img-mobile .mfp-bottom-bar:empty {
324
+ padding: 0; }
325
+ .mfp-img-mobile .mfp-counter {
326
+ right: 5px;
327
+ top: 3px; }
328
+ .mfp-img-mobile .mfp-close {
329
+ top: 0;
330
+ right: 0;
331
+ width: 35px;
332
+ height: 35px;
333
+ line-height: 35px;
334
+ background: rgba(0, 0, 0, 0.6);
335
+ position: fixed;
336
+ text-align: center;
337
+ padding: 0; } }
338
+
339
+ @media all and (max-width: 900px) {
340
+ .mfp-arrow {
341
+ -webkit-transform: scale(0.75);
342
+ transform: scale(0.75); }
343
+ .mfp-arrow-left {
344
+ -webkit-transform-origin: 0;
345
+ transform-origin: 0; }
346
+ .mfp-arrow-right {
347
+ -webkit-transform-origin: 100%;
348
+ transform-origin: 100%; }
349
+ .mfp-container {
350
+ padding-left: 6px;
351
+ padding-right: 6px; } }
assets/magnific-popup/magnific-popup.min.css CHANGED
@@ -1,2 +1,2 @@
1
-
2
  .mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#CCC;position:absolute;top:50%;width:auto;text-align:center;margin-top:-0.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#CCC}.mfp-preloader a:hover{color:#FFF}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#FFF;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:hover,.mfp-close:focus{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1}.mfp-arrow:before,.mfp-arrow:after{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #FFF;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #FFF;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0 0;transform-origin:0 0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}
1
+
2
  .mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#CCC;position:absolute;top:50%;width:auto;text-align:center;margin-top:-0.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#CCC}.mfp-preloader a:hover{color:#FFF}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#FFF;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:hover,.mfp-close:focus{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1}.mfp-arrow:before,.mfp-arrow:after{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #FFF;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #FFF;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0 0;transform-origin:0 0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}
assets/masonry/masonry.pkgd.min.js CHANGED
@@ -1,9 +1,9 @@
1
- /*!
2
- * Masonry PACKAGED v4.2.2
3
- * Cascading grid layout library
4
- * https://masonry.desandro.com
5
- * MIT License
6
- * by David DeSandro
7
- */
8
-
9
  !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});
1
+ /*!
2
+ * Masonry PACKAGED v4.2.2
3
+ * Cascading grid layout library
4
+ * https://masonry.desandro.com
5
+ * MIT License
6
+ * by David DeSandro
7
+ */
8
+
9
  !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});
assets/rgba/wp-color-picker-alpha.js CHANGED
@@ -1,483 +1,483 @@
1
- /**
2
- * wp-color-picker-alpha
3
- *
4
- * Version 1.0
5
- * Copyright (c) 2017 Elegant Themes.
6
- * Licensed under the GPLv2 license.
7
- *
8
- * Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
9
- * Only run in input and is defined data alpha in true
10
- * Add custom colorpicker UI
11
- *
12
- * This is modified version made by Elegant Themes based on the work covered by
13
- * the following copyright:
14
- *
15
- * wp-color-picker-alpha Version: 1.1
16
- * https://github.com/23r9i0/wp-color-picker-alpha
17
- * Copyright (c) 2015 Sergio P.A. (23r9i0).
18
- * Licensed under the GPLv2 license.
19
- */
20
- (function ($) {
21
- // Variable for some backgrounds
22
- var image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==';
23
- // html stuff for wpColorPicker copy of the original color-picker.js
24
- var _before = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>',
25
- _after = '<div class="wp-picker-holder" />',
26
- _wrap = '<div class="wp-picker-container" />',
27
- _button = '<input type="button" class="button button-small button-clear hidden" />',
28
- _wrappingLabel = '<label></label>',
29
- _wrappingLabelText = '<span class="screen-reader-text"></span>',
30
- _close_button = '<button type="button" class="button button-confirm" />',
31
- _close_button_icon = '<div style="fill: #3EF400; width: 25px; height: 25px; margin-top: -1px;"><svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><g><path d="M19.203 9.21a.677.677 0 0 0-.98 0l-5.71 5.9-2.85-2.95a.675.675 0 0 0-.98 0l-1.48 1.523a.737.737 0 0 0 0 1.015l4.82 4.979a.677.677 0 0 0 .98 0l7.68-7.927a.737.737 0 0 0 0-1.015l-1.48-1.525z" fillRule="evenodd" /></g></svg></div>';
32
-
33
- /**
34
- * Overwrite Color
35
- * for enable support rbga
36
- */
37
- Color.fn.toString = function () {
38
- if (this._alpha < 1)
39
- return this.toCSS('rgba', this._alpha).replace(/\s+/g, '');
40
-
41
- var hex = parseInt(this._color, 10).toString(16);
42
-
43
- if (this.error)
44
- return '';
45
-
46
- if (hex.length < 6) {
47
- for (var i = 6 - hex.length - 1; i >= 0; i--) {
48
- hex = '0' + hex;
49
- }
50
- }
51
-
52
- return '#' + hex;
53
- };
54
-
55
- /**
56
- * Overwrite wpColorPicker
57
- */
58
- $.widget('wp.wpColorPicker', $.wp.wpColorPicker, {
59
- _create: function () {
60
- // Return early if Iris support is missing.
61
- if (!$.support.iris) {
62
- return;
63
- }
64
-
65
- var self = this,
66
- el = self.element;
67
-
68
- // Override default options with options bound to the element.
69
- $.extend(self.options, el.data());
70
-
71
- // Create a color picker which only allows adjustments to the hue.
72
- if (self.options.type === 'hue') {
73
- return self._createHueOnly();
74
- }
75
-
76
- // Bind the close event.
77
- self.close = $.proxy(self.close, self);
78
-
79
- self.initialValue = el.val();
80
-
81
- // Add a CSS class to the input field.
82
- el.addClass('wp-color-picker');
83
-
84
- /*
85
- * Check if there's already a wrapping label, e.g. in the Customizer.
86
- * If there's no label, add a default one to match the Customizer template.
87
- */
88
- if (!el.parent('label').length) {
89
- // Wrap the input field in the default label.
90
- el.wrap(_wrappingLabel);
91
- // Insert the default label text.
92
- self.wrappingLabelText = $(_wrappingLabelText)
93
- .insertBefore(el)
94
- .text(wpColorPickerL10n.defaultLabel);
95
- }
96
-
97
- /*
98
- * At this point, either it's the standalone version or the Customizer
99
- * one, we have a wrapping label to use as hook in the DOM, let's store it.
100
- */
101
- self.wrappingLabel = el.parent();
102
-
103
- // Wrap the label in the main wrapper.
104
- self.wrappingLabel.wrap(_wrap);
105
- // Store a reference to the main wrapper.
106
- self.wrap = self.wrappingLabel.parent();
107
- // Set up the toggle button and insert it before the wrapping label.
108
- self.toggler = $(_before)
109
- .insertBefore(self.wrappingLabel)
110
- .css({backgroundColor: self.initialValue})
111
- .attr('title', wpColorPickerL10n.pick)
112
- .addClass('et-wp-color-result-updated');
113
-
114
- // some strings were changed in recent colorpicker update, but we still need to use legacy strings in some places
115
- if (typeof et_pb_color_picker_strings !== 'undefined') {
116
- self.toggler.attr('data-legacy_title', et_pb_color_picker_strings.legacy_pick).attr('data-current', et_pb_color_picker_strings.legacy_current);
117
- }
118
-
119
- // Set the toggle button span element text.
120
- self.toggler.find('.wp-color-result-text').text(wpColorPickerL10n.pick);
121
- // Set up the Iris container and insert it after the wrapping label.
122
- self.pickerContainer = $(_after).insertAfter(self.wrappingLabel);
123
- // Store a reference to the Clear/Default button.
124
- self.button = $(_button);
125
- self.close_button = $(_close_button).html(_close_button_icon);
126
-
127
- if (self.options.diviColorpicker) {
128
- el.after(self.close_button);
129
- }
130
-
131
- // Set up the Clear/Default button.
132
- if (self.options.defaultColor) {
133
- self.button
134
- .addClass('wp-picker-default')
135
- .val(wpColorPickerL10n.defaultString)
136
- .attr('aria-label', wpColorPickerL10n.defaultAriaLabel);
137
- } else {
138
- self.button
139
- .addClass('wp-picker-clear')
140
- .val(wpColorPickerL10n.clear)
141
- .attr('aria-label', wpColorPickerL10n.clearAriaLabel);
142
- }
143
-
144
- // Wrap the wrapping label in its wrapper and append the Clear/Default button.
145
- self.wrappingLabel
146
- .wrap('<span class="wp-picker-input-wrap hidden" />')
147
- .after(self.button);
148
-
149
- /*
150
- * The input wrapper now contains the label+input+Clear/Default button.
151
- * Store a reference to the input wrapper: we'll use this to toggle
152
- * the controls visibility.
153
- */
154
- self.inputWrapper = el.closest('.wp-picker-input-wrap');
155
-
156
- /*
157
- * CSS for support < 4.9
158
- */
159
- self.toggler.css({
160
- 'height': '24px',
161
- 'margin': '0 6px 6px 0',
162
- 'padding': '0 0 0 30px',
163
- 'font-size': '11px'
164
- });
165
-
166
-
167
- el.iris({
168
- target: self.pickerContainer,
169
- hide: self.options.hide,
170
- width: self.options.width,
171
- height: self.options.height,
172
- mode: self.options.mode,
173
- palettes: self.options.palettes,
174
- diviColorpicker: self.options.diviColorpicker,
175
- change: function (event, ui) {
176
- if (self.options.alpha) {
177
- self.toggler.css({
178
- 'background-image': 'url(' + image + ')',
179
- 'position': 'relative'
180
- });
181
- if (self.toggler.find('span.color-alpha').length == 0) {
182
- self.toggler.append('<span class="color-alpha" />');
183
- }
184
- self.toggler.find('span.color-alpha').css({
185
- 'width': '100%',
186
- 'height': '100%',
187
- 'position': 'absolute',
188
- 'top': 0,
189
- 'left': 0,
190
- 'border-top-left-radius': '3px',
191
- 'border-bottom-left-radius': '3px',
192
- 'background': ui.color.toString()
193
- });
194
- } else {
195
- self.toggler.css({backgroundColor: ui.color.toString()});
196
- }
197
-
198
- // check for a custom cb
199
- if ($.isFunction(self.options.change)) {
200
- self.options.change.call(this, event, ui);
201
- }
202
- }
203
- });
204
-
205
- el.val(self.initialValue);
206
- self._addListeners();
207
-
208
- // Force the color picker to always be closed on initial load.
209
- if (!self.options.hide) {
210
- self.toggler.click();
211
- }
212
- },
213
- _addListeners: function () {
214
- var self = this;
215
-
216
- // Prevent any clicks inside this widget from leaking to the top and closing it.
217
- self.wrap.on('click.wpcolorpicker', function (event) {
218
- event.stopPropagation();
219
- return false;
220
- });
221
-
222
- self.toggler.click(function () {
223
- if (self.toggler.hasClass('wp-picker-open')) {
224
- self.close();
225
- } else {
226
- self.open();
227
- }
228
- });
229
-
230
- self.element.on('change', function (event) {
231
- // Empty or Error = clear
232
- if ($(this).val() === '' || self.element.hasClass('iris-error')) {
233
- if (self.options.alpha) {
234
- self.toggler.find('span.color-alpha').css('backgroundColor', '');
235
- } else {
236
- self.toggler.css('backgroundColor', '');
237
- }
238
-
239
- // fire clear callback if we have one
240
- if ($.isFunction(self.options.clear))
241
- self.options.clear.call(this, event);
242
- }
243
- });
244
-
245
- self.button.on('click', function (event) {
246
- if ($(this).hasClass('wp-picker-clear')) {
247
- self.element.val('');
248
- if (self.options.alpha) {
249
- self.toggler.find('span.color-alpha').css('backgroundColor', '');
250
- } else {
251
- self.toggler.css('backgroundColor', '');
252
- }
253
-
254
- if ($.isFunction(self.options.clear))
255
- self.options.clear.call(this, event);
256
-
257
- } else if ($(this).hasClass('wp-picker-default')) {
258
- self.element.val(self.options.defaultColor).change();
259
- }
260
- });
261
-
262
- self.close_button.click(function (event) {
263
- event.preventDefault();
264
- self.close();
265
- });
266
- },
267
- });
268
-
269
- /**
270
- * Overwrite iris
271
- */
272
- $.widget('a8c.iris', $.a8c.iris, {
273
- _create: function () {
274
- this._super();
275
-
276
- // Global option for check is mode rbga is enabled
277
- this.options.alpha = this.element.data('alpha') || false;
278
-
279
- // Is not input disabled
280
- if (!this.element.is(':input')) {
281
- this.options.alpha = false;
282
- }
283
-
284
- if (typeof this.options.alpha !== 'undefined' && this.options.alpha) {
285
- var self = this,
286
- el = self.element,
287
- _html = '<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>',
288
- aContainer = $(_html).appendTo(self.picker.find('.iris-picker-inner')),
289
- aSlider = aContainer.find('.iris-slider-offset-alpha'),
290
- controls = {
291
- aContainer: aContainer,
292
- aSlider: aSlider
293
- };
294
-
295
- // Set default width for input reset
296
- self.options.defaultWidth = el.width();
297
-
298
- // Update width for input
299
- if (self._color._alpha < 1 || self._color.toString().indexOf('rgb') != 1) {
300
- el.width(parseInt(self.options.defaultWidth + 100));
301
- }
302
-
303
- // Push new controls
304
- $.each(controls, function (k, v) {
305
- self.controls[k] = v;
306
- });
307
-
308
- // Change size strip and add margin for sliders
309
- self.controls.square.css({'margin-right': '0'});
310
- var emptyWidth = (self.picker.width() - self.controls.square.width() - 20),
311
- stripsMargin = emptyWidth / 6,
312
- stripsWidth = (emptyWidth / 2) - stripsMargin;
313
-
314
- $.each(['aContainer', 'strip'], function (k, v) {
315
- self.controls[v].width(stripsWidth).css({'margin-left': stripsMargin + 'px'});
316
- });
317
-
318
- // Add new slider
319
- self._initControls();
320
-
321
- // For updated widget
322
- // 1326
323
- //self._change();
324
- }
325
- },
326
- _initControls: function () {
327
- this._super();
328
-
329
- if (this.options.alpha) {
330
- var self = this,
331
- controls = self.controls;
332
-
333
- controls.aSlider.slider({
334
- orientation: 'vertical',
335
- min: 0,
336
- max: 100,
337
- step: 1,
338
- value: parseInt(self._color._alpha * 100),
339
- slide: function (event, ui) {
340
- // Update alpha value
341
- self._color._alpha = parseFloat(ui.value / 100);
342
- self._change.apply(self, arguments);
343
- }
344
- });
345
- }
346
- },
347
- _change: function () {
348
- this._super();
349
- var self = this,
350
- el = self.element;
351
-
352
- if (this.options.alpha) {
353
- var controls = self.controls,
354
- alpha = parseInt(self._color._alpha * 100),
355
- color = self._color.toRgb(),
356
- gradient = [
357
- 'rgb(' + color.r + ',' + color.g + ',' + color.b + ') 0%',
358
- 'rgba(' + color.r + ',' + color.g + ',' + color.b + ', 0) 100%'
359
- ],
360
- defaultWidth = self.options.defaultWidth,
361
- target = self.picker.closest('.wp-picker-container').find('.wp-color-result');
362
-
363
- // Generate background slider alpha, only for CSS3 old browser fuck!! :)
364
- controls.aContainer.css({'background': 'linear-gradient(to bottom, ' + gradient.join(', ') + '), url(' + image + ')'});
365
-
366
- if (target.hasClass('wp-picker-open')) {
367
- // Update alpha value
368
- controls.aSlider.slider('value', alpha);
369
-
370
- /**
371
- * Disabled change opacity in default slider Saturation ( only is alpha enabled )
372
- * and change input width for view all value
373
- */
374
- if (self._color._alpha < 1) {
375
- var style = controls.strip.attr('style').replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g, 'rgb($1$3$5)');
376
-
377
- controls.strip.attr('style', style);
378
-
379
- el.width(parseInt(defaultWidth + 100));
380
- } else {
381
- el.width(defaultWidth);
382
- }
383
- }
384
- }
385
-
386
- var reset = el.data('reset-alpha') || false;
387
- if (reset) {
388
- self.picker.find('.iris-palette-container').on('click.palette', '.iris-palette', function () {
389
- self._color._alpha = 1;
390
- self.active = 'external';
391
- self._change();
392
- });
393
- }
394
- },
395
- _addInputListeners: function (input) {
396
- var self = this,
397
- debounceTimeout = 700, // originally set to 100, but some user perceive it as "jumps to random colors at third digit"
398
- callback = function (event) {
399
- var color = new Color(input.val()),
400
- val = input.val();
401
-
402
- input.removeClass('iris-error');
403
- // we gave a bad color
404
- if (color.error) {
405
- // don't error on an empty input
406
- if (val !== '') {
407
- input.addClass('iris-error');
408
- }
409
- } else {
410
- if (color.toString() !== self._color.toString()) {
411
- // let's not do this on keyup for hex shortcodes
412
- if (!(event.type === 'keyup' && val.match(/^[0-9a-fA-F]{3}$/))) {
413
- self._setOption('color', color.toString());
414
- }
415
- }
416
- }
417
- };
418
-
419
- input.on('change', callback).on('keyup', self._debounce(callback, debounceTimeout));
420
-
421
- // If we initialized hidden, show on first focus. The rest is up to you.
422
- if (self.options.hide) {
423
- input.one('focus', function () {
424
- self.show();
425
- });
426
- }
427
- },
428
- _dimensions: function (reset) {
429
- // whatever size
430
- var self = this,
431
- opts = self.options,
432
- controls = self.controls,
433
- square = controls.square,
434
- strip = self.picker.find('.iris-strip'),
435
- squareWidth = '77.5%',
436
- stripWidth = '12%',
437
- totalPadding = 20,
438
- innerWidth = opts.border ? opts.width - totalPadding : opts.width,
439
- controlsHeight,
440
- paletteCount = $.isArray(opts.palettes) ? opts.palettes.length : self._palettes.length,
441
- paletteMargin, paletteWidth, paletteContainerWidth;
442
-
443
- if (reset) {
444
- square.css('width', '');
445
- strip.css('width', '');
446
- self.picker.css({width: '', height: ''});
447
- }
448
-
449
- squareWidth = innerWidth * (parseFloat(squareWidth) / 100);
450
- stripWidth = innerWidth * (parseFloat(stripWidth) / 100);
451
- controlsHeight = opts.border ? squareWidth + totalPadding : squareWidth;
452
-
453
- if (opts.diviColorpicker) {
454
- square.width(opts.width).height(opts.height);
455
- controlsHeight = opts.height;
456
- } else {
457
- square.width(squareWidth).height(squareWidth);
458
- }
459
-
460
- strip.height(squareWidth).width(stripWidth);
461
- self.picker.css({width: opts.width, height: controlsHeight});
462
-
463
- if (!opts.palettes) {
464
- return self.picker.css('paddingBottom', '');
465
- }
466
-
467
- // single margin at 2%
468
- paletteMargin = squareWidth * 2 / 100;
469
- paletteContainerWidth = squareWidth - ((paletteCount - 1) * paletteMargin);
470
- paletteWidth = paletteContainerWidth / paletteCount;
471
- self.picker.find('.iris-palette').each(function (i) {
472
- var margin = i === 0 ? 0 : paletteMargin;
473
- $(this).css({
474
- width: paletteWidth,
475
- height: paletteWidth,
476
- marginLeft: margin
477
- });
478
- });
479
- self.picker.css('paddingBottom', paletteWidth + paletteMargin);
480
- strip.height(paletteWidth + paletteMargin + squareWidth);
481
- }
482
- });
483
- }(jQuery));
1
+ /**
2
+ * wp-color-picker-alpha
3
+ *
4
+ * Version 1.0
5
+ * Copyright (c) 2017 Elegant Themes.
6
+ * Licensed under the GPLv2 license.
7
+ *
8
+ * Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
9
+ * Only run in input and is defined data alpha in true
10
+ * Add custom colorpicker UI
11
+ *
12
+ * This is modified version made by Elegant Themes based on the work covered by
13
+ * the following copyright:
14
+ *
15
+ * wp-color-picker-alpha Version: 1.1
16
+ * https://github.com/23r9i0/wp-color-picker-alpha
17
+ * Copyright (c) 2015 Sergio P.A. (23r9i0).
18
+ * Licensed under the GPLv2 license.
19
+ */
20
+ (function ($) {
21
+ // Variable for some backgrounds
22
+ var image = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==';
23
+ // html stuff for wpColorPicker copy of the original color-picker.js
24
+ var _before = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>',
25
+ _after = '<div class="wp-picker-holder" />',
26
+ _wrap = '<div class="wp-picker-container" />',
27
+ _button = '<input type="button" class="button button-small button-clear hidden" />',
28
+ _wrappingLabel = '<label></label>',
29
+ _wrappingLabelText = '<span class="screen-reader-text"></span>',
30
+ _close_button = '<button type="button" class="button button-confirm" />',
31
+ _close_button_icon = '<div style="fill: #3EF400; width: 25px; height: 25px; margin-top: -1px;"><svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><g><path d="M19.203 9.21a.677.677 0 0 0-.98 0l-5.71 5.9-2.85-2.95a.675.675 0 0 0-.98 0l-1.48 1.523a.737.737 0 0 0 0 1.015l4.82 4.979a.677.677 0 0 0 .98 0l7.68-7.927a.737.737 0 0 0 0-1.015l-1.48-1.525z" fillRule="evenodd" /></g></svg></div>';
32
+
33
+ /**
34
+ * Overwrite Color
35
+ * for enable support rbga
36
+ */
37
+ Color.fn.toString = function () {
38
+ if (this._alpha < 1)
39
+ return this.toCSS('rgba', this._alpha).replace(/\s+/g, '');
40
+
41
+ var hex = parseInt(this._color, 10).toString(16);
42
+
43
+ if (this.error)
44
+ return '';
45
+
46
+ if (hex.length < 6) {
47
+ for (var i = 6 - hex.length - 1; i >= 0; i--) {
48
+ hex = '0' + hex;
49
+ }
50
+ }
51
+
52
+ return '#' + hex;
53
+ };
54
+
55
+ /**
56
+ * Overwrite wpColorPicker
57
+ */
58
+ $.widget('wp.wpColorPicker', $.wp.wpColorPicker, {
59
+ _create: function () {
60
+ // Return early if Iris support is missing.
61
+ if (!$.support.iris) {
62
+ return;
63
+ }
64
+
65
+ var self = this,
66
+ el = self.element;
67
+
68
+ // Override default options with options bound to the element.
69
+ $.extend(self.options, el.data());
70
+
71
+ // Create a color picker which only allows adjustments to the hue.
72
+ if (self.options.type === 'hue') {
73
+ return self._createHueOnly();
74
+ }
75
+
76
+ // Bind the close event.
77
+ self.close = $.proxy(self.close, self);
78
+
79
+ self.initialValue = el.val();
80
+
81
+ // Add a CSS class to the input field.
82
+ el.addClass('wp-color-picker');
83
+
84
+ /*
85
+ * Check if there's already a wrapping label, e.g. in the Customizer.
86
+ * If there's no label, add a default one to match the Customizer template.
87
+ */
88
+ if (!el.parent('label').length) {
89
+ // Wrap the input field in the default label.
90
+ el.wrap(_wrappingLabel);
91
+ // Insert the default label text.
92
+ self.wrappingLabelText = $(_wrappingLabelText)
93
+ .insertBefore(el)
94
+ .text(wpColorPickerL10n.defaultLabel);
95
+ }
96
+
97
+ /*
98
+ * At this point, either it's the standalone version or the Customizer
99
+ * one, we have a wrapping label to use as hook in the DOM, let's store it.
100
+ */
101
+ self.wrappingLabel = el.parent();
102
+
103
+ // Wrap the label in the main wrapper.
104
+ self.wrappingLabel.wrap(_wrap);
105
+ // Store a reference to the main wrapper.
106
+ self.wrap = self.wrappingLabel.parent();
107
+ // Set up the toggle button and insert it before the wrapping label.
108
+ self.toggler = $(_before)
109
+ .insertBefore(self.wrappingLabel)
110
+ .css({backgroundColor: self.initialValue})
111
+ .attr('title', wpColorPickerL10n.pick)
112
+ .addClass('et-wp-color-result-updated');
113
+
114
+ // some strings were changed in recent colorpicker update, but we still need to use legacy strings in some places
115
+ if (typeof et_pb_color_picker_strings !== 'undefined') {
116
+ self.toggler.attr('data-legacy_title', et_pb_color_picker_strings.legacy_pick).attr('data-current', et_pb_color_picker_strings.legacy_current);
117
+ }
118
+
119
+ // Set the toggle button span element text.
120
+ self.toggler.find('.wp-color-result-text').text(wpColorPickerL10n.pick);
121
+ // Set up the Iris container and insert it after the wrapping label.
122
+ self.pickerContainer = $(_after).insertAfter(self.wrappingLabel);
123
+ // Store a reference to the Clear/Default button.
124
+ self.button = $(_button);
125
+ self.close_button = $(_close_button).html(_close_button_icon);
126
+
127
+ if (self.options.diviColorpicker) {
128
+ el.after(self.close_button);
129
+ }
130
+
131
+ // Set up the Clear/Default button.
132
+ if (self.options.defaultColor) {
133
+ self.button
134
+ .addClass('wp-picker-default')
135
+ .val(wpColorPickerL10n.defaultString)
136
+ .attr('aria-label', wpColorPickerL10n.defaultAriaLabel);
137
+ } else {
138
+ self.button
139
+ .addClass('wp-picker-clear')
140
+ .val(wpColorPickerL10n.clear)
141
+ .attr('aria-label', wpColorPickerL10n.clearAriaLabel);
142
+ }
143
+
144
+ // Wrap the wrapping label in its wrapper and append the Clear/Default button.
145
+ self.wrappingLabel
146
+ .wrap('<span class="wp-picker-input-wrap hidden" />')
147
+ .after(self.button);
148
+
149
+ /*
150
+ * The input wrapper now contains the label+input+Clear/Default button.
151
+ * Store a reference to the input wrapper: we'll use this to toggle
152
+ * the controls visibility.
153
+ */
154
+ self.inputWrapper = el.closest('.wp-picker-input-wrap');
155
+
156
+ /*
157
+ * CSS for support < 4.9
158
+ */
159
+ self.toggler.css({
160
+ 'height': '24px',
161
+ 'margin': '0 6px 6px 0',
162
+ 'padding': '0 0 0 30px',
163
+ 'font-size': '11px'
164
+ });
165
+
166
+
167
+ el.iris({
168
+ target: self.pickerContainer,
169
+ hide: self.options.hide,
170
+ width: self.options.width,
171
+ height: self.options.height,
172
+ mode: self.options.mode,
173
+ palettes: self.options.palettes,
174
+ diviColorpicker: self.options.diviColorpicker,
175
+ change: function (event, ui) {
176
+ if (self.options.alpha) {
177
+ self.toggler.css({
178
+ 'background-image': 'url(' + image + ')',
179
+ 'position': 'relative'
180
+ });
181
+ if (self.toggler.find('span.color-alpha').length == 0) {
182
+ self.toggler.append('<span class="color-alpha" />');
183
+ }
184
+ self.toggler.find('span.color-alpha').css({
185
+ 'width': '100%',
186
+ 'height': '100%',
187
+ 'position': 'absolute',
188
+ 'top': 0,
189
+ 'left': 0,
190
+ 'border-top-left-radius': '3px',
191
+ 'border-bottom-left-radius': '3px',
192
+ 'background': ui.color.toString()
193
+ });
194
+ } else {
195
+ self.toggler.css({backgroundColor: ui.color.toString()});
196
+ }
197
+
198
+ // check for a custom cb
199
+ if ($.isFunction(self.options.change)) {
200
+ self.options.change.call(this, event, ui);
201
+ }
202
+ }
203
+ });
204
+
205
+ el.val(self.initialValue);
206
+ self._addListeners();
207
+
208
+ // Force the color picker to always be closed on initial load.
209
+ if (!self.options.hide) {
210
+ self.toggler.click();
211
+ }
212
+ },
213
+ _addListeners: function () {
214
+ var self = this;
215
+
216
+ // Prevent any clicks inside this widget from leaking to the top and closing it.
217
+ self.wrap.on('click.wpcolorpicker', function (event) {
218
+ event.stopPropagation();
219
+ return false;
220
+ });
221
+
222
+ self.toggler.click(function () {
223
+ if (self.toggler.hasClass('wp-picker-open')) {
224
+ self.close();
225
+ } else {
226
+ self.open();
227
+ }
228
+ });
229
+
230
+ self.element.on('change', function (event) {
231
+ // Empty or Error = clear
232
+ if ($(this).val() === '' || self.element.hasClass('iris-error')) {
233
+ if (self.options.alpha) {
234
+ self.toggler.find('span.color-alpha').css('backgroundColor', '');
235
+ } else {
236
+ self.toggler.css('backgroundColor', '');
237
+ }
238
+
239
+ // fire clear callback if we have one
240
+ if ($.isFunction(self.options.clear))
241
+ self.options.clear.call(this, event);
242
+ }
243
+ });
244
+
245
+ self.button.on('click', function (event) {
246
+ if ($(this).hasClass('wp-picker-clear')) {
247
+ self.element.val('');
248
+ if (self.options.alpha) {
249
+ self.toggler.find('span.color-alpha').css('backgroundColor', '');
250
+ } else {
251
+ self.toggler.css('backgroundColor', '');
252
+ }
253
+
254
+ if ($.isFunction(self.options.clear))
255
+ self.options.clear.call(this, event);
256
+
257
+ } else if ($(this).hasClass('wp-picker-default')) {
258
+ self.element.val(self.options.defaultColor).change();
259
+ }
260
+ });
261
+
262
+ self.close_button.click(function (event) {
263
+ event.preventDefault();
264
+ self.close();
265
+ });
266
+ },
267
+ });
268
+
269
+ /**
270
+ * Overwrite iris
271
+ */
272
+ $.widget('a8c.iris', $.a8c.iris, {
273
+ _create: function () {
274
+ this._super();
275
+
276
+ // Global option for check is mode rbga is enabled
277
+ this.options.alpha = this.element.data('alpha') || false;
278
+
279
+ // Is not input disabled
280
+ if (!this.element.is(':input')) {
281
+ this.options.alpha = false;
282
+ }
283
+
284
+ if (typeof this.options.alpha !== 'undefined' && this.options.alpha) {
285
+ var self = this,
286
+ el = self.element,
287
+ _html = '<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>',
288
+ aContainer = $(_html).appendTo(self.picker.find('.iris-picker-inner')),
289
+ aSlider = aContainer.find('.iris-slider-offset-alpha'),
290
+ controls = {
291
+ aContainer: aContainer,
292
+ aSlider: aSlider
293
+ };
294
+
295
+ // Set default width for input reset
296
+ self.options.defaultWidth = el.width();
297
+
298
+ // Update width for input
299
+ if (self._color._alpha < 1 || self._color.toString().indexOf('rgb') != 1) {
300
+ el.width(parseInt(self.options.defaultWidth + 100));
301
+ }
302
+
303
+ // Push new controls
304
+ $.each(controls, function (k, v) {
305
+ self.controls[k] = v;
306
+ });
307
+
308
+ // Change size strip and add margin for sliders
309
+ self.controls.square.css({'margin-right': '0'});
310
+ var emptyWidth = (self.picker.width() - self.controls.square.width() - 20),
311
+ stripsMargin = emptyWidth / 6,
312
+ stripsWidth = (emptyWidth / 2) - stripsMargin;
313
+
314
+ $.each(['aContainer', 'strip'], function (k, v) {
315
+ self.controls[v].width(stripsWidth).css({'margin-left': stripsMargin + 'px'});
316
+ });
317
+
318
+ // Add new slider
319
+ self._initControls();
320
+
321
+ // For updated widget
322
+ // 1326
323
+ //self._change();
324
+ }
325
+ },
326
+ _initControls: function () {
327
+ this._super();
328
+
329
+ if (this.options.alpha) {
330
+ var self = this,
331
+ controls = self.controls;
332
+
333
+ controls.aSlider.slider({
334
+ orientation: 'vertical',
335
+ min: 0,
336
+ max: 100,
337
+ step: 1,
338
+ value: parseInt(self._color._alpha * 100),
339
+ slide: function (event, ui) {
340
+ // Update alpha value
341
+ self._color._alpha = parseFloat(ui.value / 100);
342
+ self._change.apply(self, arguments);
343
+ }
344
+ });
345
+ }
346
+ },
347
+ _change: function () {
348
+ this._super();
349
+ var self = this,
350
+ el = self.element;
351
+
352
+ if (this.options.alpha) {
353
+ var controls = self.controls,
354
+ alpha = parseInt(self._color._alpha * 100),
355
+ color = self._color.toRgb(),
356
+ gradient = [
357
+ 'rgb(' + color.r + ',' + color.g + ',' + color.b + ') 0%',
358
+ 'rgba(' + color.r + ',' + color.g + ',' + color.b + ', 0) 100%'
359
+ ],
360
+ defaultWidth = self.options.defaultWidth,
361
+ target = self.picker.closest('.wp-picker-container').find('.wp-color-result');
362
+
363
+ // Generate background slider alpha, only for CSS3 old browser fuck!! :)
364
+ controls.aContainer.css({'background': 'linear-gradient(to bottom, ' + gradient.join(', ') + '), url(' + image + ')'});
365
+
366
+ if (target.hasClass('wp-picker-open')) {
367
+ // Update alpha value
368
+ controls.aSlider.slider('value', alpha);
369
+
370
+ /**
371
+ * Disabled change opacity in default slider Saturation ( only is alpha enabled )
372
+ * and change input width for view all value
373
+ */
374
+ if (self._color._alpha < 1) {
375
+ var style = controls.strip.attr('style').replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g, 'rgb($1$3$5)');
376
+
377
+ controls.strip.attr('style', style);
378
+
379
+ el.width(parseInt(defaultWidth + 100));
380
+ } else {
381
+ el.width(defaultWidth);
382
+ }
383
+ }
384
+ }
385
+
386
+ var reset = el.data('reset-alpha') || false;
387
+ if (reset) {
388
+ self.picker.find('.iris-palette-container').on('click.palette', '.iris-palette', function () {
389
+ self._color._alpha = 1;
390
+ self.active = 'external';
391
+ self._change();
392
+ });
393
+ }
394
+ },
395
+ _addInputListeners: function (input) {
396
+ var self = this,
397
+ debounceTimeout = 700, // originally set to 100, but some user perceive it as "jumps to random colors at third digit"
398
+ callback = function (event) {
399
+ var color = new Color(input.val()),
400
+ val = input.val();
401
+
402
+ input.removeClass('iris-error');
403
+ // we gave a bad color
404
+ if (color.error) {
405
+ // don't error on an empty input
406
+ if (val !== '') {
407
+ input.addClass('iris-error');
408
+ }
409
+ } else {
410
+ if (color.toString() !== self._color.toString()) {
411
+ // let's not do this on keyup for hex shortcodes
412
+ if (!(event.type === 'keyup' && val.match(/^[0-9a-fA-F]{3}$/))) {
413
+ self._setOption('color', color.toString());
414
+ }
415
+ }
416
+ }
417
+ };
418
+
419
+ input.on('change', callback).on('keyup', self._debounce(callback, debounceTimeout));
420
+
421
+ // If we initialized hidden, show on first focus. The rest is up to you.
422
+ if (self.options.hide) {
423
+ input.one('focus', function () {
424
+ self.show();
425
+ });
426
+ }
427
+ },
428
+ _dimensions: function (reset) {
429
+ // whatever size
430
+ var self = this,
431
+ opts = self.options,
432
+ controls = self.controls,
433
+ square = controls.square,
434
+ strip = self.picker.find('.iris-strip'),
435
+ squareWidth = '77.5%',
436
+ stripWidth = '12%',
437
+ totalPadding = 20,
438
+ innerWidth = opts.border ? opts.width - totalPadding : opts.width,
439
+ controlsHeight,
440
+ paletteCount = $.isArray(opts.palettes) ? opts.palettes.length : self._palettes.length,
441
+ paletteMargin, paletteWidth, paletteContainerWidth;
442
+
443
+ if (reset) {
444
+ square.css('width', '');
445
+ strip.css('width', '');
446
+ self.picker.css({width: '', height: ''});
447
+ }
448
+
449
+ squareWidth = innerWidth * (parseFloat(squareWidth) / 100);
450
+ stripWidth = innerWidth * (parseFloat(stripWidth) / 100);
451
+ controlsHeight = opts.border ? squareWidth + totalPadding : squareWidth;
452
+
453
+ if (opts.diviColorpicker) {
454
+ square.width(opts.width).height(opts.height);
455
+ controlsHeight = opts.height;
456
+ } else {
457
+ square.width(squareWidth).height(squareWidth);
458
+ }
459
+
460
+ strip.height(squareWidth).width(stripWidth);
461
+ self.picker.css({width: opts.width, height: controlsHeight});
462
+
463
+ if (!opts.palettes) {
464
+ return self.picker.css('paddingBottom', '');
465
+ }
466
+
467
+ // single margin at 2%
468
+ paletteMargin = squareWidth * 2 / 100;
469
+ paletteContainerWidth = squareWidth - ((paletteCount - 1) * paletteMargin);
470
+ paletteWidth = paletteContainerWidth / paletteCount;
471
+ self.picker.find('.iris-palette').each(function (i) {
472
+ var margin = i === 0 ? 0 : paletteMargin;
473
+ $(this).css({
474
+ width: paletteWidth,
475
+ height: paletteWidth,
476
+ marginLeft: margin
477
+ });
478
+ });
479
+ self.picker.css('paddingBottom', paletteWidth + paletteMargin);
480
+ strip.height(paletteWidth + paletteMargin + squareWidth);
481
+ }
482
+ });
483
+ }(jQuery));
assets/rgba/wp-color-picker-alpha.min.js CHANGED
@@ -1,2 +1,2 @@
1
-
2
  (function(g){var f = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg=="; var e = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>', d = '<div class="wp-picker-holder" />', i = '<div class="wp-picker-container" />', j = '<input type="button" class="button button-small button-clear hidden" />', b = "<label></label>", c = '<span class="screen-reader-text"></span>', h = '<button type="button" class="button button-confirm" />', a = '<div style="fill: #3EF400; width: 25px; height: 25px; margin-top: -1px;"><svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><g><path d="M19.203 9.21a.677.677 0 0 0-.98 0l-5.71 5.9-2.85-2.95a.675.675 0 0 0-.98 0l-1.48 1.523a.737.737 0 0 0 0 1.015l4.82 4.979a.677.677 0 0 0 .98 0l7.68-7.927a.737.737 0 0 0 0-1.015l-1.48-1.525z" fillRule="evenodd" /></g></svg></div>'; Color.fn.toString = function(){if (this._alpha < 1){return this.toCSS("rgba", this._alpha).replace(/\s+/g, "")}var l = parseInt(this._color, 10).toString(16); if (this.error){return""}if (l.length < 6){for (var k = 6 - l.length - 1; k >= 0; k--){l = "0" + l}}return"#" + l}; g.widget("wp.wpColorPicker", g.wp.wpColorPicker, {_create:function(){if (!g.support.iris){return}var k = this, l = k.element; g.extend(k.options, l.data()); if (k.options.type === "hue"){return k._createHueOnly()}k.close = g.proxy(k.close, k); k.initialValue = l.val(); l.addClass("wp-color-picker"); if (!l.parent("label").length){l.wrap(b); k.wrappingLabelText = g(c).insertBefore(l).text(wpColorPickerL10n.defaultLabel)}k.wrappingLabel = l.parent(); k.wrappingLabel.wrap(i); k.wrap = k.wrappingLabel.parent(); k.toggler = g(e).insertBefore(k.wrappingLabel).css({backgroundColor:k.initialValue}).attr("title", wpColorPickerL10n.pick).addClass("et-wp-color-result-updated"); if (typeof et_pb_color_picker_strings !== "undefined"){k.toggler.attr("data-legacy_title", et_pb_color_picker_strings.legacy_pick).attr("data-current", et_pb_color_picker_strings.legacy_current)}k.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick); k.pickerContainer = g(d).insertAfter(k.wrappingLabel); k.button = g(j); k.close_button = g(h).html(a); if (k.options.diviColorpicker){l.after(k.close_button)}if (k.options.defaultColor){k.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString).attr("aria-label", wpColorPickerL10n.defaultAriaLabel)} else{k.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear).attr("aria-label", wpColorPickerL10n.clearAriaLabel)}k.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(k.button); k.inputWrapper = l.closest(".wp-picker-input-wrap"); k.toggler.css({height:"24px", margin:"0 6px 6px 0", padding:"0 0 0 30px", "font-size":"11px"}); l.iris({target:k.pickerContainer, hide:k.options.hide, width:k.options.width, height:k.options.height, mode:k.options.mode, palettes:k.options.palettes, diviColorpicker:k.options.diviColorpicker, change:function(m, n){if (k.options.alpha){k.toggler.css({"background-image":"url(" + f + ")", position:"relative"}); if (k.toggler.find("span.color-alpha").length == 0){k.toggler.append('<span class="color-alpha" />')}k.toggler.find("span.color-alpha").css({width:"100%", height:"100%", position:"absolute", top:0, left:0, "border-top-left-radius":"3px", "border-bottom-left-radius":"3px", background:n.color.toString()})} else{k.toggler.css({backgroundColor:n.color.toString()})}if (g.isFunction(k.options.change)){k.options.change.call(this, m, n)}}}); l.val(k.initialValue); k._addListeners(); if (!k.options.hide){k.toggler.click()}}, _addListeners:function(){var k = this; k.wrap.on("click.wpcolorpicker", function(l){l.stopPropagation(); return false}); k.toggler.click(function(){if (k.toggler.hasClass("wp-picker-open")){k.close()} else{k.open()}}); k.element.on("change", function(l){if (g(this).val() === "" || k.element.hasClass("iris-error")){if (k.options.alpha){k.toggler.find("span.color-alpha").css("backgroundColor", "")} else{k.toggler.css("backgroundColor", "")}if (g.isFunction(k.options.clear)){k.options.clear.call(this, l)}}}); k.button.on("click", function(l){if (g(this).hasClass("wp-picker-clear")){k.element.val(""); if (k.options.alpha){k.toggler.find("span.color-alpha").css("backgroundColor", "")} else{k.toggler.css("backgroundColor", "")}if (g.isFunction(k.options.clear)){k.options.clear.call(this, l)}} else{if (g(this).hasClass("wp-picker-default")){k.element.val(k.options.defaultColor).change()}}}); k.close_button.click(function(l){l.preventDefault(); k.close()})}, }); g.widget("a8c.iris", g.a8c.iris, {_create:function(){this._super(); this.options.alpha = this.element.data("alpha") || false; if (!this.element.is(":input")){this.options.alpha = false}if (typeof this.options.alpha !== "undefined" && this.options.alpha){var r = this, m = r.element, n = '<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>', l = g(n).appendTo(r.picker.find(".iris-picker-inner")), s = l.find(".iris-slider-offset-alpha"), q = {aContainer:l, aSlider:s}; r.options.defaultWidth = m.width(); if (r._color._alpha < 1 || r._color.toString().indexOf("rgb") != 1){m.width(parseInt(r.options.defaultWidth + 100))}g.each(q, function(u, t){r.controls[u] = t}); r.controls.square.css({"margin-right":"0"}); var p = (r.picker.width() - r.controls.square.width() - 20), o = p / 6, k = (p / 2) - o; g.each(["aContainer", "strip"], function(u, t){r.controls[t].width(k).css({"margin-left":o + "px"})}); r._initControls()}}, _initControls:function(){this._super(); if (this.options.alpha){var l = this, k = l.controls; k.aSlider.slider({orientation:"vertical", min:0, max:100, step:1, value:parseInt(l._color._alpha * 100), slide:function(m, n){l._color._alpha = parseFloat(n.value / 100); l._change.apply(l, arguments)}})}}, _change:function(){this._super(); var s = this, l = s.element; if (this.options.alpha){var r = s.controls, m = parseInt(s._color._alpha * 100), n = s._color.toRgb(), q = ["rgb(" + n.r + "," + n.g + "," + n.b + ") 0%", "rgba(" + n.r + "," + n.g + "," + n.b + ", 0) 100%"], t = s.options.defaultWidth, p = s.picker.closest(".wp-picker-container").find(".wp-color-result"); r.aContainer.css({background:"linear-gradient(to bottom, " + q.join(", ") + "), url(" + f + ")"}); if (p.hasClass("wp-picker-open")){r.aSlider.slider("value", m); if (s._color._alpha < 1){var k = r.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g, "rgb($1$3$5)"); r.strip.attr("style", k); l.width(parseInt(t + 100))} else{l.width(t)}}}var o = l.data("reset-alpha") || false; if (o){s.picker.find(".iris-palette-container").on("click.palette", ".iris-palette", function(){s._color._alpha = 1; s.active = "external"; s._change()})}}, _addInputListeners:function(l){var k = this, m = 700, n = function(p){var o = new Color(l.val()), q = l.val(); l.removeClass("iris-error"); if (o.error){if (q !== ""){l.addClass("iris-error")}} else{if (o.toString() !== k._color.toString()){if (!(p.type === "keyup" && q.match(/^[0-9a-fA-F]{3}$/))){k._setOption("color", o.toString())}}}}; l.on("change", n).on("keyup", k._debounce(n, m)); if (k.options.hide){l.one("focus", function(){k.show()})}}, _dimensions:function(t){var y = this, l = y.options, v = y.controls, x = v.square, m = y.picker.find(".iris-strip"), q = "77.5%", o = "12%", n = 20, u = l.border?l.width - n:l.width, s, p = g.isArray(l.palettes)?l.palettes.length:y._palettes.length, r, w, k; if (t){x.css("width", ""); m.css("width", ""); y.picker.css({width:"", height:""})}q = u * (parseFloat(q) / 100); o = u * (parseFloat(o) / 100); s = l.border?q + n:q; if (l.diviColorpicker){x.width(l.width).height(l.height); s = l.height} else{x.width(q).height(q)}m.height(q).width(o); y.picker.css({width:l.width, height:s}); if (!l.palettes){return y.picker.css("paddingBottom", "")}r = q * 2 / 100; k = q - ((p - 1) * r); w = k / p; y.picker.find(".iris-palette").each(function(z){var A = z === 0?0:r; g(this).css({width:w, height:w, marginLeft:A})}); y.picker.css("paddingBottom", w + r); m.height(w + r + q)}})}(jQuery));
1
+
2
  (function(g){var f = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg=="; var e = '<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>', d = '<div class="wp-picker-holder" />', i = '<div class="wp-picker-container" />', j = '<input type="button" class="button button-small button-clear hidden" />', b = "<label></label>", c = '<span class="screen-reader-text"></span>', h = '<button type="button" class="button button-confirm" />', a = '<div style="fill: #3EF400; width: 25px; height: 25px; margin-top: -1px;"><svg viewBox="0 0 28 28" preserveAspectRatio="xMidYMid meet" shapeRendering="geometricPrecision"><g><path d="M19.203 9.21a.677.677 0 0 0-.98 0l-5.71 5.9-2.85-2.95a.675.675 0 0 0-.98 0l-1.48 1.523a.737.737 0 0 0 0 1.015l4.82 4.979a.677.677 0 0 0 .98 0l7.68-7.927a.737.737 0 0 0 0-1.015l-1.48-1.525z" fillRule="evenodd" /></g></svg></div>'; Color.fn.toString = function(){if (this._alpha < 1){return this.toCSS("rgba", this._alpha).replace(/\s+/g, "")}var l = parseInt(this._color, 10).toString(16); if (this.error){return""}if (l.length < 6){for (var k = 6 - l.length - 1; k >= 0; k--){l = "0" + l}}return"#" + l}; g.widget("wp.wpColorPicker", g.wp.wpColorPicker, {_create:function(){if (!g.support.iris){return}var k = this, l = k.element; g.extend(k.options, l.data()); if (k.options.type === "hue"){return k._createHueOnly()}k.close = g.proxy(k.close, k); k.initialValue = l.val(); l.addClass("wp-color-picker"); if (!l.parent("label").length){l.wrap(b); k.wrappingLabelText = g(c).insertBefore(l).text(wpColorPickerL10n.defaultLabel)}k.wrappingLabel = l.parent(); k.wrappingLabel.wrap(i); k.wrap = k.wrappingLabel.parent(); k.toggler = g(e).insertBefore(k.wrappingLabel).css({backgroundColor:k.initialValue}).attr("title", wpColorPickerL10n.pick).addClass("et-wp-color-result-updated"); if (typeof et_pb_color_picker_strings !== "undefined"){k.toggler.attr("data-legacy_title", et_pb_color_picker_strings.legacy_pick).attr("data-current", et_pb_color_picker_strings.legacy_current)}k.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick); k.pickerContainer = g(d).insertAfter(k.wrappingLabel); k.button = g(j); k.close_button = g(h).html(a); if (k.options.diviColorpicker){l.after(k.close_button)}if (k.options.defaultColor){k.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString).attr("aria-label", wpColorPickerL10n.defaultAriaLabel)} else{k.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear).attr("aria-label", wpColorPickerL10n.clearAriaLabel)}k.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(k.button); k.inputWrapper = l.closest(".wp-picker-input-wrap"); k.toggler.css({height:"24px", margin:"0 6px 6px 0", padding:"0 0 0 30px", "font-size":"11px"}); l.iris({target:k.pickerContainer, hide:k.options.hide, width:k.options.width, height:k.options.height, mode:k.options.mode, palettes:k.options.palettes, diviColorpicker:k.options.diviColorpicker, change:function(m, n){if (k.options.alpha){k.toggler.css({"background-image":"url(" + f + ")", position:"relative"}); if (k.toggler.find("span.color-alpha").length == 0){k.toggler.append('<span class="color-alpha" />')}k.toggler.find("span.color-alpha").css({width:"100%", height:"100%", position:"absolute", top:0, left:0, "border-top-left-radius":"3px", "border-bottom-left-radius":"3px", background:n.color.toString()})} else{k.toggler.css({backgroundColor:n.color.toString()})}if (g.isFunction(k.options.change)){k.options.change.call(this, m, n)}}}); l.val(k.initialValue); k._addListeners(); if (!k.options.hide){k.toggler.click()}}, _addListeners:function(){var k = this; k.wrap.on("click.wpcolorpicker", function(l){l.stopPropagation(); return false}); k.toggler.click(function(){if (k.toggler.hasClass("wp-picker-open")){k.close()} else{k.open()}}); k.element.on("change", function(l){if (g(this).val() === "" || k.element.hasClass("iris-error")){if (k.options.alpha){k.toggler.find("span.color-alpha").css("backgroundColor", "")} else{k.toggler.css("backgroundColor", "")}if (g.isFunction(k.options.clear)){k.options.clear.call(this, l)}}}); k.button.on("click", function(l){if (g(this).hasClass("wp-picker-clear")){k.element.val(""); if (k.options.alpha){k.toggler.find("span.color-alpha").css("backgroundColor", "")} else{k.toggler.css("backgroundColor", "")}if (g.isFunction(k.options.clear)){k.options.clear.call(this, l)}} else{if (g(this).hasClass("wp-picker-default")){k.element.val(k.options.defaultColor).change()}}}); k.close_button.click(function(l){l.preventDefault(); k.close()})}, }); g.widget("a8c.iris", g.a8c.iris, {_create:function(){this._super(); this.options.alpha = this.element.data("alpha") || false; if (!this.element.is(":input")){this.options.alpha = false}if (typeof this.options.alpha !== "undefined" && this.options.alpha){var r = this, m = r.element, n = '<div class="iris-strip iris-slider iris-alpha-slider"><div class="iris-slider-offset iris-slider-offset-alpha"></div></div>', l = g(n).appendTo(r.picker.find(".iris-picker-inner")), s = l.find(".iris-slider-offset-alpha"), q = {aContainer:l, aSlider:s}; r.options.defaultWidth = m.width(); if (r._color._alpha < 1 || r._color.toString().indexOf("rgb") != 1){m.width(parseInt(r.options.defaultWidth + 100))}g.each(q, function(u, t){r.controls[u] = t}); r.controls.square.css({"margin-right":"0"}); var p = (r.picker.width() - r.controls.square.width() - 20), o = p / 6, k = (p / 2) - o; g.each(["aContainer", "strip"], function(u, t){r.controls[t].width(k).css({"margin-left":o + "px"})}); r._initControls()}}, _initControls:function(){this._super(); if (this.options.alpha){var l = this, k = l.controls; k.aSlider.slider({orientation:"vertical", min:0, max:100, step:1, value:parseInt(l._color._alpha * 100), slide:function(m, n){l._color._alpha = parseFloat(n.value / 100); l._change.apply(l, arguments)}})}}, _change:function(){this._super(); var s = this, l = s.element; if (this.options.alpha){var r = s.controls, m = parseInt(s._color._alpha * 100), n = s._color.toRgb(), q = ["rgb(" + n.r + "," + n.g + "," + n.b + ") 0%", "rgba(" + n.r + "," + n.g + "," + n.b + ", 0) 100%"], t = s.options.defaultWidth, p = s.picker.closest(".wp-picker-container").find(".wp-color-result"); r.aContainer.css({background:"linear-gradient(to bottom, " + q.join(", ") + "), url(" + f + ")"}); if (p.hasClass("wp-picker-open")){r.aSlider.slider("value", m); if (s._color._alpha < 1){var k = r.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g, "rgb($1$3$5)"); r.strip.attr("style", k); l.width(parseInt(t + 100))} else{l.width(t)}}}var o = l.data("reset-alpha") || false; if (o){s.picker.find(".iris-palette-container").on("click.palette", ".iris-palette", function(){s._color._alpha = 1; s.active = "external"; s._change()})}}, _addInputListeners:function(l){var k = this, m = 700, n = function(p){var o = new Color(l.val()), q = l.val(); l.removeClass("iris-error"); if (o.error){if (q !== ""){l.addClass("iris-error")}} else{if (o.toString() !== k._color.toString()){if (!(p.type === "keyup" && q.match(/^[0-9a-fA-F]{3}$/))){k._setOption("color", o.toString())}}}}; l.on("change", n).on("keyup", k._debounce(n, m)); if (k.options.hide){l.one("focus", function(){k.show()})}}, _dimensions:function(t){var y = this, l = y.options, v = y.controls, x = v.square, m = y.picker.find(".iris-strip"), q = "77.5%", o = "12%", n = 20, u = l.border?l.width - n:l.width, s, p = g.isArray(l.palettes)?l.palettes.length:y._palettes.length, r, w, k; if (t){x.css("width", ""); m.css("width", ""); y.picker.css({width:"", height:""})}q = u * (parseFloat(q) / 100); o = u * (parseFloat(o) / 100); s = l.border?q + n:q; if (l.diviColorpicker){x.width(l.width).height(l.height); s = l.height} else{x.width(q).height(q)}m.height(q).width(o); y.picker.css({width:l.width, height:s}); if (!l.palettes){return y.picker.css("paddingBottom", "")}r = q * 2 / 100; k = q - ((p - 1) * r); w = k / p; y.picker.find(".iris-palette").each(function(z){var A = z === 0?0:r; g(this).css({width:w, height:w, marginLeft:A})}); y.picker.css("paddingBottom", w + r); m.height(w + r + q)}})}(jQuery));
assets/swiper/swiper.min.css CHANGED
@@ -1,12 +1,12 @@
1
- /**
2
- * Swiper 4.5.0
3
- * Most modern mobile touch slider and framework with hardware accelerated transitions
4
- * http://www.idangero.us/swiper/
5
- *
6
- * Copyright 2014-2019 Vladimir Kharlampidi
7
- *
8
- * Released under the MIT License
9
- *
10
- * Released on: February 22, 2019
11
- */
12
  .swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;-o-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s top,.2s -webkit-transform;transition:.2s top,.2s -webkit-transform;-o-transition:.2s transform,.2s top;transition:.2s transform,.2s top;transition:.2s transform,.2s top,.2s -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s left,.2s -webkit-transform;transition:.2s left,.2s -webkit-transform;-o-transition:.2s transform,.2s left;transition:.2s transform,.2s left;transition:.2s transform,.2s left,.2s -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s right,.2s -webkit-transform;transition:.2s right,.2s -webkit-transform;-o-transition:.2s transform,.2s right;transition:.2s transform,.2s right;transition:.2s transform,.2s right,.2s -webkit-transform}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255,255,255,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader:after{display:block;content:'';width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}
1
+ /**
2
+ * Swiper 4.5.0
3
+ * Most modern mobile touch slider and framework with hardware accelerated transitions
4
+ * http://www.idangero.us/swiper/
5
+ *
6
+ * Copyright 2014-2019 Vladimir Kharlampidi
7
+ *
8
+ * Released under the MIT License
9
+ *
10
+ * Released on: February 22, 2019
11
+ */
12
  .swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;-o-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s top,.2s -webkit-transform;transition:.2s top,.2s -webkit-transform;-o-transition:.2s transform,.2s top;transition:.2s transform,.2s top;transition:.2s transform,.2s top,.2s -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s left,.2s -webkit-transform;transition:.2s left,.2s -webkit-transform;-o-transition:.2s transform,.2s left;transition:.2s transform,.2s left;transition:.2s transform,.2s left,.2s -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s right,.2s -webkit-transform;transition:.2s right,.2s -webkit-transform;-o-transition:.2s transform,.2s right;transition:.2s transform,.2s right;transition:.2s transform,.2s right,.2s -webkit-transform}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255,255,255,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader:after{display:block;content:'';width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}
assets/swiper/swiper.min.js CHANGED
@@ -1,13 +1,13 @@
1
- /**
2
- * Swiper 4.5.0
3
- * Most modern mobile touch slider and framework with hardware accelerated transitions
4
- * http://www.idangero.us/swiper/
5
- *
6
- * Copyright 2014-2019 Vladimir Kharlampidi
7
- *
8
- * Released under the MIT License
9
- *
10
- * Released on: February 22, 2019
11
- */
12
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,function(){"use strict";var f="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,J="undefined"==typeof window?{document:f,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,l=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function L(e,t){var a=[],i=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){var s,r,n=e.trim();if(0<=n.indexOf("<")&&0<=n.indexOf(">")){var o="div";for(0===n.indexOf("<li")&&(o="ul"),0===n.indexOf("<tr")&&(o="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(o="tr"),0===n.indexOf("<tbody")&&(o="table"),0===n.indexOf("<option")&&(o="select"),(r=f.createElement(o)).innerHTML=n,i=0;i<r.childNodes.length;i+=1)a.push(r.childNodes[i])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||f).querySelectorAll(e.trim()):[f.getElementById(e.trim().split("#")[1])],i=0;i<s.length;i+=1)s[i]&&a.push(s[i])}else if(e.nodeType||e===J||e===f)a.push(e);else if(0<e.length&&e[0].nodeType)for(i=0;i<e.length;i+=1)a.push(e[i]);return new l(a)}function r(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}L.fn=l.prototype,L.Class=l,L.Dom7=l;var t={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[a]);return this},removeClass:function(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[a]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[a]);return this},attr:function(e,t){var a=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===a.length)this[i].setAttribute(e,t);else for(var s in e)this[i][s]=e[s],this[i].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var a;if(void 0!==t){for(var i=0;i<this.length;i+=1)(a=this[i]).dom7ElementDataStorage||(a.dom7ElementDataStorage={}),a.dom7ElementDataStorage[e]=t;return this}if(a=this[0]){if(a.dom7ElementDataStorage&&e in a.dom7ElementDataStorage)return a.dom7ElementDataStorage[e];var s=a.getAttribute("data-"+e);return s||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransform=e,a.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransitionDuration=e,a.transitionDuration=e}return this},on:function(){for(var e,t=[],a=arguments.length;a--;)t[a]=arguments[a];var i=t[0],r=t[1],n=t[2],s=t[3];function o(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),L(t).is(r))n.apply(t,a);else for(var i=L(t).parents(),s=0;s<i.length;s+=1)L(i[s]).is(r)&&n.apply(i[s],a)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(i=(e=t)[0],n=e[1],s=e[2],r=void 0),s||(s=!1);for(var d,p=i.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(d=0;d<p.length;d+=1){var h=p[d];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[h]||(u.dom7LiveListeners[h]=[]),u.dom7LiveListeners[h].push({listener:n,proxyListener:o}),u.addEventListener(h,o,s)}else for(d=0;d<p.length;d+=1){var v=p[d];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[v]||(u.dom7Listeners[v]=[]),u.dom7Listeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,s)}}return this},off:function(){for(var e,t=[],a=arguments.length;a--;)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(i=(e=t)[0],r=e[1],n=e[2],s=void 0),n||(n=!1);for(var o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],p=0;p<this.length;p+=1){var c=this[p],u=void 0;if(!s&&c.dom7Listeners?u=c.dom7Listeners[d]:s&&c.dom7LiveListeners&&(u=c.dom7LiveListeners[d]),u&&u.length)for(var h=u.length-1;0<=h;h-=1){var v=u[h];r&&v.listener===r?(c.removeEventListener(d,v.proxyListener,n),u.splice(h,1)):r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(c.removeEventListener(d,v.proxyListener,n),u.splice(h,1)):r||(c.removeEventListener(d,v.proxyListener,n),u.splice(h,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var a=e[0].split(" "),i=e[1],s=0;s<a.length;s+=1)for(var r=a[s],n=0;n<this.length;n+=1){var o=this[n],l=void 0;try{l=new J.CustomEvent(r,{detail:i,bubbles:!0,cancelable:!0})}catch(e){(l=f.createEvent("Event")).initEvent(r,!0,!0),l.detail=i}o.dom7EventData=e.filter(function(e,t){return 0<t}),o.dispatchEvent(l),o.dom7EventData=[],delete o.dom7EventData}return this},transitionEnd:function(t){var a,i=["webkitTransitionEnd","transitionend"],s=this;function r(e){if(e.target===this)for(t.call(this,e),a=0;a<i.length;a+=1)s.off(i[a],r)}if(t)for(a=0;a<i.length;a+=1)s.on(i[a],r);return this},outerWidth:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(0<this.length){var e=this[0],t=e.getBoundingClientRect(),a=f.body,i=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,r=e===J?J.scrollY:e.scrollTop,n=e===J?J.scrollX:e.scrollLeft;return{top:t.top+r-i,left:t.left+n-s}}return null},css:function(e,t){var a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var i in e)this[a].style[i]=e[i];return this}if(this[0])return J.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,a,i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=L(e),a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}if(e===f)return i===f;if(e===J)return i===J;if(e.nodeType||e instanceof l){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,a=this.length;return new l(a-1<e?[]:e<0?(t=a+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],a=arguments.length;a--;)t[a]=arguments[a];for(var i=0;i<t.length;i+=1){e=t[i];for(var s=0;s<this.length;s+=1)if("string"==typeof e){var r=f.createElement("div");for(r.innerHTML=e;r.firstChild;)this[s].appendChild(r.firstChild)}else if(e instanceof l)for(var n=0;n<e.length;n+=1)this[s].appendChild(e[n]);else this[s].appendChild(e)}return this},prepend:function(e){var t,a;for(t=0;t<this.length;t+=1)if("string"==typeof e){var i=f.createElement("div");for(i.innerHTML=e,a=i.childNodes.length-1;0<=a;a-=1)this[t].insertBefore(i.childNodes[a],this[t].childNodes[0])}else if(e instanceof l)for(a=0;a<e.length;a+=1)this[t].insertBefore(e[a],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&L(this[0].nextElementSibling).is(e)?new l([this[0].nextElementSibling]):new l([]):this[0].nextElementSibling?new l([this[0].nextElementSibling]):new l([]):new l([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new l([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e?L(i).is(e)&&t.push(i):t.push(i),a=i}return new l(t)},prev:function(e){if(0<this.length){var t=this[0];return e?t.previousElementSibling&&L(t.previousElementSibling).is(e)?new l([t.previousElementSibling]):new l([]):t.previousElementSibling?new l([t.previousElementSibling]):new l([])}return new l([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new l([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e?L(i).is(e)&&t.push(i):t.push(i),a=i}return new l(t)},parent:function(e){for(var t=[],a=0;a<this.length;a+=1)null!==this[a].parentNode&&(e?L(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return L(r(t))},parents:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e?L(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return L(r(t))},closest:function(e){var t=this;return void 0===e?new l([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].querySelectorAll(e),s=0;s<i.length;s+=1)t.push(i[s]);return new l(t)},children:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].childNodes,s=0;s<i.length;s+=1)e?1===i[s].nodeType&&L(i[s]).is(e)&&t.push(i[s]):1===i[s].nodeType&&t.push(i[s]);return new l(r(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var a,i;for(a=0;a<e.length;a+=1){var s=L(e[a]);for(i=0;i<s.length;i+=1)this[this.length]=s[i],this.length+=1}return this},styles:function(){return this[0]?J.getComputedStyle(this[0],null):{}}};Object.keys(t).forEach(function(e){L.fn[e]=t[e]});var e,a,i,s,ee={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var a,i,s;void 0===t&&(t="x");var r=J.getComputedStyle(e,null);return J.WebKitCSSMatrix?(6<(i=r.transform||r.webkitTransform).split(",").length&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new J.WebKitCSSMatrix("none"===i?"":i)):a=(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=J.WebKitCSSMatrix?s.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=J.WebKitCSSMatrix?s.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0},parseUrlQuery:function(e){var t,a,i,s,r={},n=e||J.location.href;if("string"==typeof n&&n.length)for(s=(a=(n=-1<n.indexOf("?")?n.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<s;t+=1)i=a[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var a=Object(e[0]),i=1;i<e.length;i+=1){var s=e[i];if(null!=s)for(var r=Object.keys(Object(s)),n=0,o=r.length;n<o;n+=1){var l=r[n],d=Object.getOwnPropertyDescriptor(s,l);void 0!==d&&d.enumerable&&(ee.isObject(a[l])&&ee.isObject(s[l])?ee.extend(a[l],s[l]):!ee.isObject(a[l])&&ee.isObject(s[l])?(a[l]={},ee.extend(a[l],s[l])):a[l]=s[l])}}return a}},te=(i=f.createElement("div"),{touch:J.Modernizr&&!0===J.Modernizr.touch||!!(0<J.navigator.maxTouchPoints||"ontouchstart"in J||J.DocumentTouch&&f instanceof J.DocumentTouch),pointerEvents:!!(J.navigator.pointerEnabled||J.PointerEvent||"maxTouchPoints"in J.navigator&&0<J.navigator.maxTouchPoints),prefixedPointerEvents:!!J.navigator.msPointerEnabled,transition:(a=i.style,"transition"in a||"webkitTransition"in a||"MozTransition"in a),transforms3d:J.Modernizr&&!0===J.Modernizr.csstransforms3d||(e=i.style,"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e),flexbox:function(){for(var e=i.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),a=0;a<t.length;a+=1)if(t[a]in e)return!0;return!1}(),observer:"MutationObserver"in J||"WebkitMutationObserver"in J,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});J.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in J}),I={isIE:!!J.navigator.userAgent.match(/Trident/g)||!!J.navigator.userAgent.match(/MSIE/g),isEdge:!!J.navigator.userAgent.match(/Edge/g),isSafari:(s=J.navigator.userAgent.toLowerCase(),0<=s.indexOf("safari")&&s.indexOf("chrome")<0&&s.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(J.navigator.userAgent)},n=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},o={components:{configurable:!0}};n.prototype.on=function(e,t,a){var i=this;if("function"!=typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)}),i},n.prototype.once=function(a,i,e){var s=this;if("function"!=typeof i)return s;function r(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i.apply(s,e),s.off(a,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=i,s.on(a,r,e)},n.prototype.off=function(e,i){var s=this;return s.eventsListeners&&e.split(" ").forEach(function(a){void 0===i?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].length&&s.eventsListeners[a].forEach(function(e,t){(e===i||e.f7proxy&&e.f7proxy===i)&&s.eventsListeners[a].splice(t,1)})}),s},n.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var a,i,s,r=this;return r.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(a=e[0],i=e.slice(1,e.length),s=r):(a=e[0].events,i=e[0].data,s=e[0].context||r),(Array.isArray(a)?a:a.split(" ")).forEach(function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(s,i)})}})),r},n.prototype.useModulesParams=function(a){var i=this;i.modules&&Object.keys(i.modules).forEach(function(e){var t=i.modules[e];t.params&&ee.extend(a,t.params)})},n.prototype.useModules=function(i){void 0===i&&(i={});var s=this;s.modules&&Object.keys(s.modules).forEach(function(e){var a=s.modules[e],t=i[e]||{};a.instance&&Object.keys(a.instance).forEach(function(e){var t=a.instance[e];s[e]="function"==typeof t?t.bind(s):t}),a.on&&s.on&&Object.keys(a.on).forEach(function(e){s.on(e,a.on[e])}),a.create&&a.create.bind(s)(t)})},o.components.set=function(e){this.use&&this.use(e)},n.installModule=function(t){for(var e=[],a=arguments.length-1;0<a--;)e[a]=arguments[a+1];var i=this;i.prototype.modules||(i.prototype.modules={});var s=t.name||Object.keys(i.prototype.modules).length+"_"+ee.now();return(i.prototype.modules[s]=t).proto&&Object.keys(t.proto).forEach(function(e){i.prototype[e]=t.proto[e]}),t.static&&Object.keys(t.static).forEach(function(e){i[e]=t.static[e]}),t.install&&t.install.apply(i,e),i},n.use=function(e){for(var t=[],a=arguments.length-1;0<a--;)t[a]=arguments[a+1];var i=this;return Array.isArray(e)?(e.forEach(function(e){return i.installModule(e)}),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(n,o);var d={updateSize:function(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),ee.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,a=e.$wrapperEl,i=e.size,s=e.rtlTranslate,r=e.wrongRTL,n=e.virtual&&t.virtual.enabled,o=n?e.virtual.slides.length:e.slides.length,l=a.children("."+e.params.slideClass),d=n?e.virtual.slides.length:l.length,p=[],c=[],u=[],h=t.slidesOffsetBefore;"function"==typeof h&&(h=t.slidesOffsetBefore.call(e));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));var f=e.snapGrid.length,m=e.snapGrid.length,g=t.spaceBetween,b=-h,w=0,y=0;if(void 0!==i){var x,T;"string"==typeof g&&0<=g.indexOf("%")&&(g=parseFloat(g.replace("%",""))/100*i),e.virtualSize=-g,s?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),1<t.slidesPerColumn&&(x=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(x=Math.max(x,t.slidesPerView*t.slidesPerColumn)));for(var E,S=t.slidesPerColumn,C=x/S,M=Math.floor(d/t.slidesPerColumn),z=0;z<d;z+=1){T=0;var P=l.eq(z);if(1<t.slidesPerColumn){var k=void 0,$=void 0,L=void 0;"column"===t.slidesPerColumnFill?(L=z-($=Math.floor(z/S))*S,(M<$||$===M&&L===S-1)&&S<=(L+=1)&&(L=0,$+=1),k=$+L*x/S,P.css({"-webkit-box-ordinal-group":k,"-moz-box-ordinal-group":k,"-ms-flex-order":k,"-webkit-order":k,order:k})):$=z-(L=Math.floor(z/C))*C,P.css("margin-"+(e.isHorizontal()?"top":"left"),0!==L&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",$).attr("data-swiper-row",L)}if("none"!==P.css("display")){if("auto"===t.slidesPerView){var I=J.getComputedStyle(P[0],null),D=P[0].style.transform,O=P[0].style.webkitTransform;if(D&&(P[0].style.transform="none"),O&&(P[0].style.webkitTransform="none"),t.roundLengths)T=e.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0);else if(e.isHorizontal()){var A=parseFloat(I.getPropertyValue("width")),H=parseFloat(I.getPropertyValue("padding-left")),N=parseFloat(I.getPropertyValue("padding-right")),G=parseFloat(I.getPropertyValue("margin-left")),B=parseFloat(I.getPropertyValue("margin-right")),X=I.getPropertyValue("box-sizing");T=X&&"border-box"===X?A+G+B:A+H+N+G+B}else{var Y=parseFloat(I.getPropertyValue("height")),V=parseFloat(I.getPropertyValue("padding-top")),F=parseFloat(I.getPropertyValue("padding-bottom")),R=parseFloat(I.getPropertyValue("margin-top")),q=parseFloat(I.getPropertyValue("margin-bottom")),W=I.getPropertyValue("box-sizing");T=W&&"border-box"===W?Y+R+q:Y+V+F+R+q}D&&(P[0].style.transform=D),O&&(P[0].style.webkitTransform=O),t.roundLengths&&(T=Math.floor(T))}else T=(i-(t.slidesPerView-1)*g)/t.slidesPerView,t.roundLengths&&(T=Math.floor(T)),l[z]&&(e.isHorizontal()?l[z].style.width=T+"px":l[z].style.height=T+"px");l[z]&&(l[z].swiperSlideSize=T),u.push(T),t.centeredSlides?(b=b+T/2+w/2+g,0===w&&0!==z&&(b=b-i/2-g),0===z&&(b=b-i/2-g),Math.abs(b)<.001&&(b=0),t.roundLengths&&(b=Math.floor(b)),y%t.slidesPerGroup==0&&p.push(b),c.push(b)):(t.roundLengths&&(b=Math.floor(b)),y%t.slidesPerGroup==0&&p.push(b),c.push(b),b=b+T+g),e.virtualSize+=T+g,w=T,y+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+v,s&&r&&("slide"===t.effect||"coverflow"===t.effect)&&a.css({width:e.virtualSize+t.spaceBetween+"px"}),te.flexbox&&!t.setWrapperSize||(e.isHorizontal()?a.css({width:e.virtualSize+t.spaceBetween+"px"}):a.css({height:e.virtualSize+t.spaceBetween+"px"})),1<t.slidesPerColumn&&(e.virtualSize=(T+t.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?a.css({width:e.virtualSize+t.spaceBetween+"px"}):a.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){E=[];for(var j=0;j<p.length;j+=1){var U=p[j];t.roundLengths&&(U=Math.floor(U)),p[j]<e.virtualSize+p[0]&&E.push(U)}p=E}if(!t.centeredSlides){E=[];for(var K=0;K<p.length;K+=1){var _=p[K];t.roundLengths&&(_=Math.floor(_)),p[K]<=e.virtualSize-i&&E.push(_)}p=E,1<Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])&&p.push(e.virtualSize-i)}if(0===p.length&&(p=[0]),0!==t.spaceBetween&&(e.isHorizontal()?s?l.css({marginLeft:g+"px"}):l.css({marginRight:g+"px"}):l.css({marginBottom:g+"px"})),t.centerInsufficientSlides){var Z=0;if(u.forEach(function(e){Z+=e+(t.spaceBetween?t.spaceBetween:0)}),(Z-=t.spaceBetween)<i){var Q=(i-Z)/2;p.forEach(function(e,t){p[t]=e-Q}),c.forEach(function(e,t){c[t]=e+Q})}}ee.extend(e,{slides:l,snapGrid:p,slidesGrid:c,slidesSizesGrid:u}),d!==o&&e.emit("slidesLengthChange"),p.length!==f&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),c.length!==m&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,a=this,i=[],s=0;if("number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed),"auto"!==a.params.slidesPerView&&1<a.params.slidesPerView)for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var r=a.activeIndex+t;if(r>a.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var n=i[t].offsetHeight;s=s<n?n:s}s&&a.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;s&&(r=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(a.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),p=d+t.slidesSizesGrid[n];(0<=d&&d<t.size||0<p&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(n),i.eq(n).addClass(a.slideVisibleClass))}o.progress=s?-l:l}t.visibleSlides=L(t.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,n=t.isEnd,o=r,l=n;0===i?n=r=!(s=0):(r=(s=(e-t.minTranslate())/i)<=0,n=1<=s),ee.extend(t,{progress:s,isBeginning:r,isEnd:n}),(a.watchSlidesProgress||a.watchSlidesVisibility)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!n)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperEl,r=t.activeIndex,n=t.realIndex,o=t.virtual&&i.virtual.enabled;a.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=a.eq(0)).addClass(i.slideNextClass);var d=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,s=a.slidesGrid,r=a.snapGrid,n=a.params,o=a.activeIndex,l=a.realIndex,d=a.snapIndex,p=e;if(void 0===p){for(var c=0;c<s.length;c+=1)void 0!==s[c+1]?i>=s[c]&&i<s[c+1]-(s[c+1]-s[c])/2?p=c:i>=s[c]&&i<s[c+1]&&(p=c+1):i>=s[c]&&(p=c);n.normalizeSlideIndex&&(p<0||void 0===p)&&(p=0)}if((t=0<=r.indexOf(i)?r.indexOf(i):Math.floor(p/n.slidesPerGroup))>=r.length&&(t=r.length-1),p!==o){var u=parseInt(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);ee.extend(a,{snapIndex:t,realIndex:u,previousIndex:o,activeIndex:p}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==u&&a.emit("realIndexChange"),a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,a=t.params,i=L(e.target).closest("."+a.slideClass)[0],s=!1;if(i)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===i&&(s=!0);if(!i||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(L(i).attr("data-swiper-slide-index"),10):t.clickedIndex=L(i).index(),a.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var p={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,a=this.rtlTranslate,i=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return a?-i:i;var r=ee.getTranslate(s[0],e);return a&&(r=-r),r||0},setTranslate:function(e,t){var a=this,i=a.rtlTranslate,s=a.params,r=a.$wrapperEl,n=a.progress,o=0,l=0;a.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.virtualTranslate||(te.transforms3d?r.transform("translate3d("+o+"px, "+l+"px, 0px)"):r.transform("translate("+o+"px, "+l+"px)")),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?o:l;var d=a.maxTranslate()-a.minTranslate();(0===d?0:(e-a.minTranslate())/d)!==n&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var c={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;s.autoHeight&&a.updateAutoHeight();var n=t;if(n||(n=r<i?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r){if("reset"===n)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===n?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex;a.animating=!1,a.setTransition(0);var r=t;if(r||(r=s<i?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s){if("reset"===r)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===r?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}};var u={slideTo:function(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;r<0&&(r=0);var n=s.params,o=s.snapGrid,l=s.slidesGrid,d=s.previousIndex,p=s.activeIndex,c=s.rtlTranslate;if(s.animating&&n.preventInteractionOnTransition)return!1;var u=Math.floor(r/n.slidesPerGroup);u>=o.length&&(u=o.length-1),(p||n.initialSlide||0)===(d||0)&&a&&s.emit("beforeSlideChangeStart");var h,v=-o[u];if(s.updateProgress(v),n.normalizeSlideIndex)for(var f=0;f<l.length;f+=1)-Math.floor(100*v)>=Math.floor(100*l[f])&&(r=f);if(s.initialized&&r!==p){if(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate())return!1;if(!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(p||0)!==r)return!1}return h=p<r?"next":r<p?"prev":"reset",c&&-v===s.translate||!c&&v===s.translate?(s.updateActiveIndex(r),n.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==n.effect&&s.setTranslate(v),"reset"!==h&&(s.transitionStart(a,h),s.transitionEnd(a,h)),!1):(0!==t&&te.transition?(s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,h),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(a,h))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))):(s.setTransition(0),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,h),s.transitionEnd(a,h)),!0)},slideToLoop:function(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,a,i)},slideNext:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;return s.loop?!r&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)):i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)},slidePrev:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(s.loop){if(r)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p,c=d(l?i.translate:-i.translate),u=n.map(function(e){return d(e)}),h=(o.map(function(e){return d(e)}),n[u.indexOf(c)],n[u.indexOf(c)-1]);return void 0!==h&&(p=o.indexOf(h))<0&&(p=i.activeIndex-1),i.slideTo(p,e,t,a)},slideReset:function(e,t,a){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,a)},slideToClosest:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.activeIndex,r=Math.floor(s/i.params.slidesPerGroup);if(r<i.snapGrid.length-1){var n=i.rtlTranslate?i.translate:-i.translate,o=i.snapGrid[r];(i.snapGrid[r+1]-o)/2<n-o&&(s=i.params.slidesPerGroup)}return i.slideTo(s,e,t,a)},slideToClickedSlide:function(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,r=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(L(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?r<t.loopedSlides-s/2||r>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ee.nextTick(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ee.nextTick(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}};var h={loopCreate:function(){var i=this,e=i.params,t=i.$wrapperEl;t.children("."+e.slideClass+"."+e.slideDuplicateClass).remove();var s=t.children("."+e.slideClass);if(e.loopFillGroupWithBlank){var a=e.slidesPerGroup-s.length%e.slidesPerGroup;if(a!==e.slidesPerGroup){for(var r=0;r<a;r+=1){var n=L(f.createElement("div")).addClass(e.slideClass+" "+e.slideBlankClass);t.append(n)}s=t.children("."+e.slideClass)}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=s.length),i.loopedSlides=parseInt(e.loopedSlides||e.slidesPerView,10),i.loopedSlides+=e.loopAdditionalSlides,i.loopedSlides>s.length&&(i.loopedSlides=s.length);var o=[],l=[];s.each(function(e,t){var a=L(t);e<i.loopedSlides&&l.push(t),e<s.length&&e>=s.length-i.loopedSlides&&o.push(t),a.attr("data-swiper-slide-index",e)});for(var d=0;d<l.length;d+=1)t.append(L(l[d].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var p=o.length-1;0<=p;p-=1)t.prepend(L(o[p].cloneNode(!0)).addClass(e.slideDuplicateClass))},loopFix:function(){var e,t=this,a=t.params,i=t.activeIndex,s=t.slides,r=t.loopedSlides,n=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var p=-l[i]-t.getTranslate();i<r?(e=s.length-3*r+i,e+=r,t.slideTo(e,0,!1,!0)&&0!==p&&t.setTranslate((d?-t.translate:t.translate)-p)):("auto"===a.slidesPerView&&2*r<=i||i>=s.length-r)&&(e=-s.length+i+r,e+=r,t.slideTo(e,0,!1,!0)&&0!==p&&t.setTranslate((d?-t.translate:t.translate)-p));t.allowSlidePrev=n,t.allowSlideNext=o},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,a=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),a.removeAttr("data-swiper-slide-index")}};var v={setGrabCursor:function(e){if(!(te.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){te.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}};var m={appendSlide:function(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&te.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&te.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex;s.loop&&(r-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass));var n=a.slides.length;if(e<=0)a.prependSlide(t);else if(n<=e)a.appendSlide(t);else{for(var o=e<r?r+1:r,l=[],d=n-1;e<=d;d-=1){var p=a.slides.eq(d);p.remove(),l.unshift(p)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);o=e<r?r+t.length:r}else i.append(t);for(var u=0;u<l.length;u+=1)i.append(l[u]);s.loop&&a.loopCreate(),s.observer&&te.observer||a.update(),s.loop?a.slideTo(o+a.loopedSlides,0,!1):a.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);a.loop&&t.loopCreate(),a.observer&&te.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},g=function(){var e=J.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:J.cordova||J.phonegap,phonegap:J.cordova||J.phonegap},a=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),s=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),n=!s&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(t.os="windows",t.osVersion=a[2],t.windows=!0),i&&!a&&(t.os="android",t.osVersion=i[2],t.android=!0,t.androidChrome=0<=e.toLowerCase().indexOf("chrome")),(s||n||r)&&(t.os="ios",t.ios=!0),n&&!r&&(t.osVersion=n[2].replace(/_/g,"."),t.iphone=!0),s&&(t.osVersion=s[2].replace(/_/g,"."),t.ipad=!0),r&&(t.osVersion=r[3]?r[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&0<=e.indexOf("Version/")&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(n||s||r)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=f.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(r||n)&&(1*o[0]==7?1<=1*o[1]:7<1*o[0])&&l&&0<=l.getAttribute("content").indexOf("minimal-ui")}return t.pixelRatio=J.devicePixelRatio||1,t}();function b(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev,r=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var n=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||1<t.slidesPerView)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}var w={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},y={update:d,translate:p,transition:c,slide:u,loop:h,grabCursor:v,manipulation:m,events:{attachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl;e.onTouchStart=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches;if(!t.animating||!i.preventInteractionOnTransition){var r=e;if(r.originalEvent&&(r=r.originalEvent),a.isTouchEvent="touchstart"===r.type,(a.isTouchEvent||!("which"in r)||3!==r.which)&&!(!a.isTouchEvent&&"button"in r&&0<r.button||a.isTouched&&a.isMoved))if(i.noSwiping&&L(r.target).closest(i.noSwipingSelector?i.noSwipingSelector:"."+i.noSwipingClass)[0])t.allowClick=!0;else if(!i.swipeHandler||L(r).closest(i.swipeHandler)[0]){s.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,s.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var n=s.currentX,o=s.currentY,l=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,d=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!l||!(n<=d||n>=J.screen.width-d)){if(ee.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=n,s.startY=o,a.touchStartTime=ee.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,0<i.threshold&&(a.allowThresholdMove=!1),"touchstart"!==r.type){var p=!0;L(r.target).is(a.formElements)&&(p=!1),f.activeElement&&L(f.activeElement).is(a.formElements)&&f.activeElement!==r.target&&f.activeElement.blur();var c=p&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||c)&&r.preventDefault()}t.emit("touchStart",r)}}}}.bind(e),e.onTouchMove=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=e;if(n.originalEvent&&(n=n.originalEvent),a.isTouched){if(!a.isTouchEvent||"mousemove"!==n.type){var o="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,l="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY;if(n.preventedByNestedSwiper)return s.startX=o,void(s.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(a.isTouched&&(ee.extend(s,{startX:o,startY:l,currentX:o,currentY:l}),a.touchStartTime=ee.now()));if(a.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(l<s.startY&&t.translate<=t.maxTranslate()||l>s.startY&&t.translate>=t.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(o<s.startX&&t.translate<=t.maxTranslate()||o>s.startX&&t.translate>=t.minTranslate())return;if(a.isTouchEvent&&f.activeElement&&n.target===f.activeElement&&L(n.target).is(a.formElements))return a.isMoved=!0,void(t.allowClick=!1);if(a.allowTouchCallbacks&&t.emit("touchMove",n),!(n.targetTouches&&1<n.targetTouches.length)){s.currentX=o,s.currentY=l;var d,p=s.currentX-s.startX,c=s.currentY-s.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(c,2))<t.params.threshold))if(void 0===a.isScrolling&&(t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?a.isScrolling=!1:25<=p*p+c*c&&(d=180*Math.atan2(Math.abs(c),Math.abs(p))/Math.PI,a.isScrolling=t.isHorizontal()?d>i.touchAngle:90-d>i.touchAngle)),a.isScrolling&&t.emit("touchMoveOpposite",n),void 0===a.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){t.allowClick=!1,n.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&n.stopPropagation(),a.isMoved||(i.loop&&t.loopFix(),a.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",n)),t.emit("sliderMove",n),a.isMoved=!0;var u=t.isHorizontal()?p:c;s.diff=u,u*=i.touchRatio,r&&(u=-u),t.swipeDirection=0<u?"prev":"next",a.currentTranslate=u+a.startTranslate;var h=!0,v=i.resistanceRatio;if(i.touchReleaseOnEdges&&(v=0),0<u&&a.currentTranslate>t.minTranslate()?(h=!1,i.resistance&&(a.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+a.startTranslate+u,v))):u<0&&a.currentTranslate<t.maxTranslate()&&(h=!1,i.resistance&&(a.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-a.startTranslate-u,v))),h&&(n.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),0<i.threshold){if(!(Math.abs(u)>i.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,a.currentTranslate=a.startTranslate,void(s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}i.followFinger&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===a.velocities.length&&a.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:ee.now()})),t.updateProgress(a.currentTranslate),t.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&t.emit("touchMoveOpposite",n)}.bind(e),e.onTouchEnd=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=ee.now(),u=c-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),u<300&&300<c-a.lastClickTime&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=ee.nextTick(function(){t&&!t.destroyed&&t.emit("click",d)},300)),u<300&&c-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",d))),a.lastClickTime=ee.now(),ee.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(1<a.velocities.length){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,m=h.time-v.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(150<m||300<ee.now()-h.time)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,b=t.velocity*g,w=t.translate+b;r&&(w=-w);var y,x,T=!1,E=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-E&&(w=t.maxTranslate()-E),y=t.maxTranslate(),T=!0,a.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(w>t.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>E&&(w=t.minTranslate()+E),y=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(i.freeModeSticky){for(var S,C=0;C<l.length;C+=1)if(l[C]>-w){S=C;break}w=-(w=Math.abs(l[S]-w)<Math.abs(l[S-1]-w)||"next"===t.swipeDirection?l[S]:l[S-1])}if(x&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)g=r?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&T?(t.updateProgress(y),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(y),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(w),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||u>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,z=t.slidesSizesGrid[0],P=0;P<o.length;P+=i.slidesPerGroup)void 0!==o[P+i.slidesPerGroup]?p>=o[P]&&p<o[P+i.slidesPerGroup]&&(z=o[(M=P)+i.slidesPerGroup]-o[P]):p>=o[P]&&(M=P,z=o[o.length-1]-o[o.length-2]);var k=(p-o[M])/z;if(u>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(k>=i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M)),"prev"===t.swipeDirection&&(k>1-i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(M+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(M)}}}.bind(e),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var r="container"===t.touchEventsTarget?i:s,n=!!t.nested;if(te.touch||!te.pointerEvents&&!te.prefixedPointerEvents){if(te.touch){var o=!("touchstart"!==a.start||!te.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(a.start,e.onTouchStart,o),r.addEventListener(a.move,e.onTouchMove,te.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!te.touch&&g.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),f.addEventListener("mousemove",e.onTouchMove,n),f.addEventListener("mouseup",e.onTouchEnd,!1))}else r.addEventListener(a.start,e.onTouchStart,!1),f.addEventListener(a.move,e.onTouchMove,n),f.addEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),e.on(g.ios||g.android?"resize orientationchange observerUpdate":"resize observerUpdate",b,!0)},detachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl,r="container"===t.touchEventsTarget?i:s,n=!!t.nested;if(te.touch||!te.pointerEvents&&!te.prefixedPointerEvents){if(te.touch){var o=!("onTouchStart"!==a.start||!te.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(a.start,e.onTouchStart,o),r.removeEventListener(a.move,e.onTouchMove,n),r.removeEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!te.touch&&g.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),f.removeEventListener("mousemove",e.onTouchMove,n),f.removeEventListener("mouseup",e.onTouchEnd,!1))}else r.removeEventListener(a.start,e.onTouchStart,!1),f.removeEventListener(a.move,e.onTouchMove,n),f.removeEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),e.off(g.ios||g.android?"resize orientationchange observerUpdate":"resize observerUpdate",b)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var n=e.getBreakpoint(r);if(n&&e.currentBreakpoint!==n){var o=n in r?r[n]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var l=o||e.originalParams,d=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||d);d&&a&&e.changeDirection(),ee.extend(e.params,l),ee.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=n,p&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var t=!1,a=[];Object.keys(e).forEach(function(e){a.push(e)}),a.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var i=0;i<a.length;i+=1){var s=a[i];this.params.breakpointsInverse?s<=J.innerWidth&&(t=s):s>=J.innerWidth&&!t&&(t=s)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,a=this.params,e=this.rtl,i=this.$el,s=[];s.push("initialized"),s.push(a.direction),a.freeMode&&s.push("free-mode"),te.flexbox||s.push("no-flexbox"),a.autoHeight&&s.push("autoheight"),e&&s.push("rtl"),1<a.slidesPerColumn&&s.push("multirow"),g.android&&s.push("android"),g.ios&&s.push("ios"),(I.isIE||I.isEdge)&&(te.pointerEvents||te.prefixedPointerEvents)&&s.push("wp8-"+a.direction),s.forEach(function(e){t.push(a.containerModifierClass+e)}),i.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,a,i,s,r){var n;function o(){r&&r()}e.complete&&s?o():t?((n=new J.Image).onload=o,n.onerror=o,i&&(n.sizes=i),a&&(n.srcset=a),t&&(n.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},x={},T=function(u){function h(){for(var e,t,s,a=[],i=arguments.length;i--;)a[i]=arguments[i];1===a.length&&a[0].constructor&&a[0].constructor===Object?s=a[0]:(t=(e=a)[0],s=e[1]),s||(s={}),s=ee.extend({},s),t&&!s.el&&(s.el=t),u.call(this,s),Object.keys(y).forEach(function(t){Object.keys(y[t]).forEach(function(e){h.prototype[e]||(h.prototype[e]=y[t][e])})});var r=this;void 0===r.modules&&(r.modules={}),Object.keys(r.modules).forEach(function(e){var t=r.modules[e];if(t.params){var a=Object.keys(t.params)[0],i=t.params[a];if("object"!=typeof i||null===i)return;if(!(a in s&&"enabled"in i))return;!0===s[a]&&(s[a]={enabled:!0}),"object"!=typeof s[a]||"enabled"in s[a]||(s[a].enabled=!0),s[a]||(s[a]={enabled:!1})}});var n=ee.extend({},w);r.useModulesParams(n),r.params=ee.extend({},n,x,s),r.originalParams=ee.extend({},r.params),r.passedParams=ee.extend({},s);var o=(r.$=L)(r.params.el);if(t=o[0]){if(1<o.length){var l=[];return o.each(function(e,t){var a=ee.extend({},s,{el:t});l.push(new h(a))}),l}t.swiper=r,o.data("swiper",r);var d,p,c=o.children("."+r.params.wrapperClass);return ee.extend(r,{$el:o,el:t,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:L(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===r.params.direction},isVertical:function(){return"vertical"===r.params.direction},rtl:"rtl"===t.dir.toLowerCase()||"rtl"===o.css("direction"),rtlTranslate:"horizontal"===r.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===o.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:(d=["touchstart","touchmove","touchend"],p=["mousedown","mousemove","mouseup"],te.pointerEvents?p=["pointerdown","pointermove","pointerup"]:te.prefixedPointerEvents&&(p=["MSPointerDown","MSPointerMove","MSPointerUp"]),r.touchEventsTouch={start:d[0],move:d[1],end:d[2]},r.touchEventsDesktop={start:p[0],move:p[1],end:p[2]},te.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:ee.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.params.init&&r.init(),r}}u&&(h.__proto__=u);var e={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return((h.prototype=Object.create(u&&u.prototype)).constructor=h).prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var o,l=a[r].swiperSlideSize,d=r+1;d<a.length;d+=1)a[d]&&!o&&(n+=1,s<(l+=a[d].swiperSlideSize)&&(o=!0));for(var p=r-1;0<=p;p-=1)a[p]&&!o&&(n+=1,s<(l+=a[p].swiperSlideSize)&&(o=!0))}else for(var c=r+1;c<a.length;c+=1)i[c]-i[r]<s&&(n+=1);return n},h.prototype.update=function(){var a=this;if(a&&!a.destroyed){var e=a.snapGrid,t=a.params;t.breakpoints&&a.setBreakpoint(),a.updateSize(),a.updateSlides(),a.updateProgress(),a.updateSlidesClasses(),a.params.freeMode?(i(),a.params.autoHeight&&a.updateAutoHeight()):(("auto"===a.params.slidesPerView||1<a.params.slidesPerView)&&a.isEnd&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0))||i(),t.watchOverflow&&e!==a.snapGrid&&a.checkOverflow(),a.emit("update")}function i(){var e=a.rtlTranslate?-1*a.translate:a.translate,t=Math.min(Math.max(e,a.maxTranslate()),a.minTranslate());a.setTranslate(t),a.updateActiveIndex(),a.updateSlidesClasses()}},h.prototype.changeDirection=function(a,e){void 0===e&&(e=!0);var t=this,i=t.params.direction;return a||(a="horizontal"===i?"vertical":"horizontal"),a===i||"horizontal"!==a&&"vertical"!==a||("vertical"===i&&(t.$el.removeClass(t.params.containerModifierClass+"vertical wp8-vertical").addClass(""+t.params.containerModifierClass+a),(I.isIE||I.isEdge)&&(te.pointerEvents||te.prefixedPointerEvents)&&t.$el.addClass(t.params.containerModifierClass+"wp8-"+a)),"horizontal"===i&&(t.$el.removeClass(t.params.containerModifierClass+"horizontal wp8-horizontal").addClass(""+t.params.containerModifierClass+a),(I.isIE||I.isEdge)&&(te.pointerEvents||te.prefixedPointerEvents)&&t.$el.addClass(t.params.containerModifierClass+"wp8-"+a)),t.params.direction=a,t.slides.each(function(e,t){"vertical"===a?t.style.width="":t.style.height=""}),t.emit("changeDirection"),e&&t.update()),t},h.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},h.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(function(e){a.off(e)}),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),ee.deleteProps(a)),a.destroyed=!0),null},h.extendDefaults=function(e){ee.extend(x,e)},e.extendedDefaults.get=function(){return x},e.defaults.get=function(){return w},e.Class.get=function(){return u},e.$.get=function(){return L},Object.defineProperties(h,e),h}(n),E={name:"device",proto:{device:g},static:{device:g}},S={name:"support",proto:{support:te},static:{support:te}},C={name:"browser",proto:{browser:I},static:{browser:I}},M={name:"resize",create:function(){var e=this;ee.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){J.addEventListener("resize",this.resize.resizeHandler),J.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){J.removeEventListener("resize",this.resize.resizeHandler),J.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},z={func:J.MutationObserver||J.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var a=this,i=new z.func(function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};J.requestAnimationFrame?J.requestAnimationFrame(t):J.setTimeout(t,0)}else a.emit("observerUpdate",e[0])});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(i)},init:function(){var e=this;if(te.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},P={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ee.extend(this,{observer:{init:z.init.bind(this),attach:z.attach.bind(this),destroy:z.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},k={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,r=a.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,d=t.virtual,p=d.from,c=d.to,u=d.slides,h=d.slidesGrid,v=d.renderSlide,f=d.offset;t.updateActiveIndex();var m,g,b,w=t.activeIndex||0;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(g=Math.floor(i/2)+s+o,b=Math.floor(i/2)+s+l):(g=i+(s-1)+o,b=s+l);var y=Math.max((w||0)-b,0),x=Math.min((w||0)+g,u.length-1),T=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function E(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(ee.extend(t.virtual,{from:y,to:x,offset:T,slidesGrid:t.slidesGrid}),p===y&&c===x&&!e)return t.slidesGrid!==h&&T!==f&&t.slides.css(m,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:y,to:x,slides:function(){for(var e=[],t=y;t<=x;t+=1)e.push(u[t]);return e}()}),void E();var S=[],C=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var M=p;M<=c;M+=1)(M<y||x<M)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var z=0;z<u.length;z+=1)y<=z&&z<=x&&(void 0===c||e?C.push(z):(c<z&&C.push(z),z<p&&S.push(z)));C.forEach(function(e){t.$wrapperEl.append(v(u[e],e))}),S.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(v(u[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,T+"px"),E()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];var s=i.renderSlide?L(i.renderSlide.call(a,e,t)):L('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,s=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);i=a+e.length,s=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var n=t.virtual.cache,o={};Object.keys(n).forEach(function(e){o[parseInt(e,10)+s]=n[e]}),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},$={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;ee.extend(e,{virtual:{update:k.update.bind(e),appendSlide:k.appendSlide.bind(e),prependSlide:k.prependSlide.bind(e),removeSlide:k.removeSlide.bind(e),removeAllSlides:k.removeAllSlides.bind(e),renderSlide:k.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},D={handle:function(e){var t=this,a=t.rtlTranslate,i=e;i.originalEvent&&(i=i.originalEvent);var s=i.keyCode||i.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===s||t.isVertical()&&40===s))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===s||t.isVertical()&&38===s))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||f.activeElement&&f.activeElement.nodeName&&("input"===f.activeElement.nodeName.toLowerCase()||"textarea"===f.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(37===s||39===s||38===s||40===s)){var r=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var n=J.innerWidth,o=J.innerHeight,l=t.$el.offset();a&&(l.left-=t.$el[0].scrollLeft);for(var d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],p=0;p<d.length;p+=1){var c=d[p];0<=c[0]&&c[0]<=n&&0<=c[1]&&c[1]<=o&&(r=!0)}if(!r)return}t.isHorizontal()?(37!==s&&39!==s||(i.preventDefault?i.preventDefault():i.returnValue=!1),(39===s&&!a||37===s&&a)&&t.slideNext(),(37===s&&!a||39===s&&a)&&t.slidePrev()):(38!==s&&40!==s||(i.preventDefault?i.preventDefault():i.returnValue=!1),40===s&&t.slideNext(),38===s&&t.slidePrev()),t.emit("keyPress",s)}},enable:function(){this.keyboard.enabled||(L(f).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(L(f).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},O={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){ee.extend(this,{keyboard:{enabled:!1,enable:D.enable.bind(this),disable:D.disable.bind(this),handle:D.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var A={lastScrollTime:ee.now(),event:-1<J.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":function(){var e="onwheel",t=e in f;if(!t){var a=f.createElement("div");a.setAttribute(e,"return;"),t="function"==typeof a[e]}return!t&&f.implementation&&f.implementation.hasFeature&&!0!==f.implementation.hasFeature("","")&&(t=f.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,a=0,i=0,s=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,s=10*a,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||s)&&e.deltaMode&&(1===e.deltaMode?(i*=40,s*=40):(i*=800,s*=800)),i&&!t&&(t=i<1?-1:1),s&&!a&&(a=s<1?-1:1),{spinX:t,spinY:a,pixelX:i,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel;if(!a.mouseEntered&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,r=a.rtlTranslate?-1:1,n=A.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(n.pixelX)>Math.abs(n.pixelY)))return!0;s=n.pixelX*r}else{if(!(Math.abs(n.pixelY)>Math.abs(n.pixelX)))return!0;s=n.pixelY}else s=Math.abs(n.pixelX)>Math.abs(n.pixelY)?-n.pixelX*r:-n.pixelY;if(0===s)return!0;if(i.invert&&(s=-s),a.params.freeMode){a.params.loop&&a.loopFix();var o=a.getTranslate()+s*i.sensitivity,l=a.isBeginning,d=a.isEnd;if(o>=a.minTranslate()&&(o=a.minTranslate()),o<=a.maxTranslate()&&(o=a.maxTranslate()),a.setTransition(0),a.setTranslate(o),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!l&&a.isBeginning||!d&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=ee.nextTick(function(){a.slideToClosest()},300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),o===a.minTranslate()||o===a.maxTranslate())return!0}else{if(60<ee.now()-a.mousewheel.lastScrollTime)if(s<0)if(a.isEnd&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slideNext(),a.emit("scroll",t);else if(a.isBeginning&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slidePrev(),a.emit("scroll",t);a.mousewheel.lastScrollTime=(new J.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!A.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=L(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(A.event,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=this;if(!A.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=L(e.params.mousewheel.eventsTarged)),t.off(A.event,e.mousewheel.handle),!(e.mousewheel.enabled=!1)}},H={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,s=a.$prevEl;s&&0<s.length&&(e.isBeginning?s.addClass(t.disabledClass):s.removeClass(t.disabledClass),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&0<i.length&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=L(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&1<e.length&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=L(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&1<t.length&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&0<e.length&&e.on("click",a.navigation.onNextClick),t&&0<t.length&&t.on("click",a.navigation.onPrevClick),ee.extend(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},N={update:function(){var e=this,t=e.rtl,s=e.params.pagination;if(s.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,n=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(r-=a-2*e.loopedSlides),n-1<r&&(r-=n),r<0&&"bullets"!==e.params.paginationType&&(r=n+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var o,l,d,p=e.pagination.bullets;if(s.dynamicBullets&&(e.pagination.bulletSize=p.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),i.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(s.dynamicMainBullets+4)+"px"),1<s.dynamicMainBullets&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>s.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=s.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=r-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(p.length,s.dynamicMainBullets)-1))+o)/2),p.removeClass(s.bulletActiveClass+" "+s.bulletActiveClass+"-next "+s.bulletActiveClass+"-next-next "+s.bulletActiveClass+"-prev "+s.bulletActiveClass+"-prev-prev "+s.bulletActiveClass+"-main"),1<i.length)p.each(function(e,t){var a=L(t),i=a.index();i===r&&a.addClass(s.bulletActiveClass),s.dynamicBullets&&(o<=i&&i<=l&&a.addClass(s.bulletActiveClass+"-main"),i===o&&a.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),i===l&&a.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next"))});else if(p.eq(r).addClass(s.bulletActiveClass),s.dynamicBullets){for(var c=p.eq(o),u=p.eq(l),h=o;h<=l;h+=1)p.eq(h).addClass(s.bulletActiveClass+"-main");c.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),u.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next")}if(s.dynamicBullets){var v=Math.min(p.length,s.dynamicMainBullets+4),f=(e.pagination.bulletSize*v-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,m=t?"right":"left";p.css(e.isHorizontal()?m:"top",f+"px")}}if("fraction"===s.type&&(i.find("."+s.currentClass).text(s.formatFractionCurrent(r+1)),i.find("."+s.totalClass).text(s.formatFractionTotal(n))),"progressbar"===s.type){var g;g=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var b=(r+1)/n,w=1,y=1;"horizontal"===g?w=b:y=b,i.find("."+s.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+y+")").transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(i.html(s.renderCustom(e,r+1,n)),e.emit("paginationRender",e,i[0])):e.emit("paginationUpdate",e,i[0]),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](s.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,n=0;n<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var a=this,e=a.params.pagination;if(e.el){var t=L(e.el);0!==t.length&&(a.params.uniqueNavElements&&"string"==typeof e.el&&1<t.length&&1===a.$el.find(e.el).length&&(t=a.$el.find(e.el)),"bullets"===e.type&&e.clickable&&t.addClass(e.clickableClass),t.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(t.addClass(""+e.modifierClass+e.type+"-dynamic"),a.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&t.addClass(e.progressbarOppositeClass),e.clickable&&t.on("click","."+e.bulletClass,function(e){e.preventDefault();var t=L(this).index()*a.params.slidesPerGroup;a.params.loop&&(t+=a.loopedSlides),a.slideTo(t)}),ee.extend(a.pagination,{$el:t,el:t[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click","."+t.bulletClass)}}},G={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,s=t.dragSize,r=t.trackSize,n=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=s,p=(r-s)*i;a?0<(p=-p)?(d=s-p,p=0):r<-p+s&&(d=r+p):p<0?(d=s+p,p=0):r<p+s&&(d=r-p),e.isHorizontal()?(te.transforms3d?n.transform("translate3d("+p+"px, 0, 0)"):n.transform("translateX("+p+"px)"),n[0].style.width=d+"px"):(te.transforms3d?n.transform("translate3d(0px, "+p+"px, 0)"):n.transform("translateY("+p+"px)"),n[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,o=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=1<=n?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),ee.extend(t,{trackSize:r,divider:n,moveDivider:o,dragSize:s}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,r=i.$el,n=i.dragSize,o=i.trackSize;t=((a.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-r.offset()[a.isHorizontal()?"left":"top"]-n/2)/(o-n),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(l),a.setTranslate(l),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,a=this.$wrapperEl,i=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),a.transition(0),i.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=ee.nextTick(function(){i.css("opacity",0),i.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,s=e.params,r=t.$el[0],n=!(!te.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!te.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};te.touch?(r.addEventListener(a.start,e.scrollbar.onDragStart,n),r.addEventListener(a.move,e.scrollbar.onDragMove,n),r.addEventListener(a.end,e.scrollbar.onDragEnd,o)):(r.addEventListener(i.start,e.scrollbar.onDragStart,n),f.addEventListener(i.move,e.scrollbar.onDragMove,n),f.addEventListener(i.end,e.scrollbar.onDragEnd,o))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,s=e.params,r=t.$el[0],n=!(!te.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!te.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};te.touch?(r.removeEventListener(a.start,e.scrollbar.onDragStart,n),r.removeEventListener(a.move,e.scrollbar.onDragMove,n),r.removeEventListener(a.end,e.scrollbar.onDragEnd,o)):(r.removeEventListener(i.start,e.scrollbar.onDragStart,n),f.removeEventListener(i.move,e.scrollbar.onDragMove,n),f.removeEventListener(i.end,e.scrollbar.onDragEnd,o))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,i=e.params.scrollbar,s=L(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&1<s.length&&1===a.find(i.el).length&&(s=a.find(i.el));var r=s.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=L('<div class="'+e.params.scrollbar.dragClass+'"></div>'),s.append(r)),ee.extend(t,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},B={setTransform:function(e,t){var a=this.rtl,i=L(e),s=a?-1:1,r=i.attr("data-swiper-parallax")||"0",n=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(n||o?(n=n||"0",o=o||"0"):this.isHorizontal()?(n=r,o="0"):(o=r,n="0"),n=0<=n.indexOf("%")?parseInt(n,10)*t*s+"%":n*t*s+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=d){var p=d-(d-1)*(1-Math.abs(t));i[0].style.opacity=p}if(null==l)i.transform("translate3d("+n+", "+o+", 0px)");else{var c=l-(l-1)*(1-Math.abs(t));i.transform("translate3d("+n+", "+o+", 0px) scale("+c+")")}},setTranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.setTransform(t,s)}),t.each(function(e,t){var a=t.progress;1<i.params.slidesPerGroup&&"auto"!==i.params.slidesPerView&&(a+=Math.ceil(e/2)-s*(r.length-1)),a=Math.min(Math.max(a,-1),1),L(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.setTransform(t,a)})})},setTransition:function(s){void 0===s&&(s=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){var a=L(t),i=parseInt(a.attr("data-swiper-parallax-duration"),10)||s;0===s&&(i=0),a.transition(i)})}},X={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2))},onGestureStart:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!te.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=X.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=L(e.target).closest(".swiper-slide"),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+a.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,a=this.zoom,i=a.gesture;if(!te.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,i.scaleMove=X.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=te.gestures?e.scale*a.currentScale:i.scaleMove/i.scaleStart*a.currentScale,a.scale>i.maxRatio&&(a.scale=i.maxRatio-1+Math.pow(a.scale-i.maxRatio+1,.5)),a.scale<t.minRatio&&(a.scale=t.minRatio+1-Math.pow(t.minRatio-a.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+a.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,a=this.zoom,i=a.gesture;if(!te.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!g.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,a=t.gesture,i=t.image;a.$imageEl&&0!==a.$imageEl.length&&(i.isTouched||(g.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=ee.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=ee.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,o=s.height*a.scale;if(!(n<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var s=300,r=300,n=i.x*s,o=a.currentX+n,l=i.y*r,d=a.currentY+l;0!==i.x&&(s=Math.abs((o-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((d-a.currentY)/i.y));var p=Math.max(s,r);a.currentX=o,a.currentY=d;var c=a.width*e.scale,u=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-c/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-u/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(p).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,o,l,d,p,c,u,h,v,f,m,g=this,b=g.zoom,w=g.params.zoom,y=b.gesture,x=b.image;(y.$slideEl||(y.$slideEl=g.clickedSlide?L(g.clickedSlide):g.slides.eq(g.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length)&&(y.$slideEl.addClass(""+w.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,a=x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(f=y.$slideEl[0].offsetWidth,m=y.$slideEl[0].offsetHeight,i=y.$slideEl.offset().left+f/2-t,s=y.$slideEl.offset().top+m/2-a,o=y.$imageEl[0].offsetWidth,l=y.$imageEl[0].offsetHeight,d=o*b.scale,p=l*b.scale,h=-(c=Math.min(f/2-d/2,0)),v=-(u=Math.min(m/2-p/2,0)),(r=i*b.scale)<c&&(r=c),h<r&&(r=h),(n=s*b.scale)<u&&(n=u),v<n&&(n=v)):n=r=0,y.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+n+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=e.clickedSlide?L(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+a.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!te.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};te.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!te.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};te.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},Y={loadInSlide:function(e,l){void 0===l&&(l=!0);var d=this,p=d.params.lazy;if(void 0!==e&&0!==d.slides.length){var c=d.virtual&&d.params.virtual.enabled?d.$wrapperEl.children("."+d.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):d.slides.eq(e),t=c.find("."+p.elementClass+":not(."+p.loadedClass+"):not(."+p.loadingClass+")");!c.hasClass(p.elementClass)||c.hasClass(p.loadedClass)||c.hasClass(p.loadingClass)||(t=t.add(c[0])),0!==t.length&&t.each(function(e,t){var i=L(t);i.addClass(p.loadingClass);var s=i.attr("data-background"),r=i.attr("data-src"),n=i.attr("data-srcset"),o=i.attr("data-sizes");d.loadImage(i[0],r||s,n,o,!1,function(){if(null!=d&&d&&(!d||d.params)&&!d.destroyed){if(s?(i.css("background-image",'url("'+s+'")'),i.removeAttr("data-background")):(n&&(i.attr("srcset",n),i.removeAttr("data-srcset")),o&&(i.attr("sizes",o),i.removeAttr("data-sizes")),r&&(i.attr("src",r),i.removeAttr("data-src"))),i.addClass(p.loadedClass).removeClass(p.loadingClass),c.find("."+p.preloaderClass).remove(),d.params.loop&&l){var e=c.attr("data-swiper-slide-index");if(c.hasClass(d.params.slideDuplicateClass)){var t=d.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+d.params.slideDuplicateClass+")");d.lazy.loadInSlide(t.index(),!1)}else{var a=d.$wrapperEl.children("."+d.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');d.lazy.loadInSlide(a.index(),!1)}}d.emit("lazyImageReady",c[0],i[0])}}),d.emit("lazyImageLoad",c[0],i[0])})}},load:function(){var i=this,t=i.$wrapperEl,a=i.params,s=i.slides,e=i.activeIndex,r=i.virtual&&a.virtual.enabled,n=a.lazy,o=a.slidesPerView;function l(e){if(r){if(t.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(s[e])return!0;return!1}function d(e){return r?L(e).attr("data-swiper-slide-index"):L(e).index()}if("auto"===o&&(o=0),i.lazy.initialImageLoaded||(i.lazy.initialImageLoaded=!0),i.params.watchSlidesVisibility)t.children("."+a.slideVisibleClass).each(function(e,t){var a=r?L(t).attr("data-swiper-slide-index"):L(t).index();i.lazy.loadInSlide(a)});else if(1<o)for(var p=e;p<e+o;p+=1)l(p)&&i.lazy.loadInSlide(p);else i.lazy.loadInSlide(e);if(n.loadPrevNext)if(1<o||n.loadPrevNextAmount&&1<n.loadPrevNextAmount){for(var c=n.loadPrevNextAmount,u=o,h=Math.min(e+u+Math.max(c,u),s.length),v=Math.max(e-Math.max(u,c),0),f=e+o;f<h;f+=1)l(f)&&i.lazy.loadInSlide(f);for(var m=v;m<e;m+=1)l(m)&&i.lazy.loadInSlide(m)}else{var g=t.children("."+a.slideNextClass);0<g.length&&i.lazy.loadInSlide(d(g));var b=t.children("."+a.slidePrevClass);0<b.length&&i.lazy.loadInSlide(d(b))}}},V={LinearSpline:function(e,t){var a,i,s,r,n,o=function(e,t){for(i=-1,a=e.length;1<a-i;)e[s=a+i>>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new V.LinearSpline(t.slidesGrid,e.slidesGrid):new V.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control;function n(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),i=(t-s.minTranslate())*a+e.minTranslate()),s.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof T&&n(r[o]);else r instanceof T&&t!==r&&n(r)},setTransition:function(t,e){var a,i=this,s=i.controller.control;function r(e){e.setTransition(t,i),0!==t&&(e.transitionStart(),e.params.autoHeight&&ee.nextTick(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){s&&(e.params.loop&&"slide"===i.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(s))for(a=0;a<s.length;a+=1)s[a]!==e&&s[a]instanceof T&&r(s[a]);else s instanceof T&&e!==s&&r(s)}},F={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,a=t.params.a11y;if(13===e.keyCode){var i=L(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&i.is("."+t.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&0<i.length&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&0<a.length&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(a))}},updatePagination:function(){var i=this,s=i.params.a11y;i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.bullets.each(function(e,t){var a=L(t);i.a11y.makeElFocusable(a),i.a11y.addElRole(a,"button"),i.a11y.addElLabel(a,s.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&0<a.a11y.liveRegion.length&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterKey),t&&t.off("keydown",a.a11y.onEnterKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown","."+a.params.pagination.bulletClass,a.a11y.onEnterKey)}},R={init:function(){var e=this;if(e.params.history){if(!J.history||!J.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=R.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||J.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||J.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=R.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=J.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var a=this.slides.eq(t),i=R.slugify(a.attr("data-history"));J.location.pathname.includes(e)||(i=e+"/"+i);var s=J.history.state;s&&s.value===i||(this.params.history.replaceState?J.history.replaceState({value:i},null,i):J.history.pushState({value:i},null,i))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s<r;s+=1){var n=i.slides.eq(s);if(R.slugify(n.attr("data-history"))===t&&!n.hasClass(i.params.slideDuplicateClass)){var o=n.index();i.slideTo(o,e,a)}}else i.slideTo(0,e,a)}},q={onHashCange:function(){var e=this,t=f.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){var a=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===a)return;e.slideTo(a)}},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&J.history&&J.history.replaceState)J.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||"");else{var t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");f.location.hash=a||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=f.location.hash.replace("#","");if(t)for(var a=0,i=e.slides.length;a<i;a+=1){var s=e.slides.eq(a);if((s.attr("data-hash")||s.attr("data-history"))===t&&!s.hasClass(e.params.slideDuplicateClass)){var r=s.index();e.slideTo(r,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&L(J).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&L(J).off("hashchange",this.hashNavigation.onHashCange)}},W={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),e.autoplay.timeout=ee.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},j={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);var r=0;e.isHorizontal()||(r=s,s=0);var n=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var a=this,t=a.slides,i=a.$wrapperEl;if(t.transition(e),a.params.virtualTranslate&&0!==e){var s=!1;t.transitionEnd(function(){if(!s&&a&&!a.destroyed){s=!0,a.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)i.trigger(e[t])}})}}},U={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,s=t.slides,r=t.width,n=t.height,o=t.rtlTranslate,l=t.size,d=t.params.cubeEffect,p=t.isHorizontal(),c=t.virtual&&t.params.virtual.enabled,u=0;d.shadow&&(p?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=L('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=L('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var h=0;h<s.length;h+=1){var v=s.eq(h),f=h;c&&(f=parseInt(v.attr("data-swiper-slide-index"),10));var m=90*f,g=Math.floor(m/360);o&&(m=-m,g=Math.floor(-m/360));var b=Math.max(Math.min(v[0].progress,1),-1),w=0,y=0,x=0;f%4==0?(w=4*-g*l,x=0):(f-1)%4==0?(w=0,x=4*-g*l):(f-2)%4==0?(w=l+4*g*l,x=l):(f-3)%4==0&&(w=-l,x=3*l+4*l*g),o&&(w=-w),p||(y=w,w=0);var T="rotateX("+(p?0:-m)+"deg) rotateY("+(p?m:0)+"deg) translate3d("+w+"px, "+y+"px, "+x+"px)";if(b<=1&&-1<b&&(u=90*f+90*b,o&&(u=90*-f-90*b)),v.transform(T),d.slideShadows){var E=p?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),S=p?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===E.length&&(E=L('<div class="swiper-slide-shadow-'+(p?"left":"top")+'"></div>'),v.append(E)),0===S.length&&(S=L('<div class="swiper-slide-shadow-'+(p?"right":"bottom")+'"></div>'),v.append(S)),E.length&&(E[0].style.opacity=Math.max(-b,0)),S.length&&(S[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(p)e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var C=Math.abs(u)-90*Math.floor(Math.abs(u)/90),M=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),z=d.shadowScale,P=d.shadowScale/M,k=d.shadowOffset;e.transform("scale3d("+z+", 1, "+P+") translate3d(0px, "+(n/2+k)+"px, "+-n/2/P+"px) rotateX(-90deg)")}var $=I.isSafari||I.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+$+"px) rotateX("+(t.isHorizontal()?0:u)+"deg) rotateY("+(t.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},K={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i<t.length;i+=1){var s=t.eq(i),r=s[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,1),-1));var n=-180*r,o=0,l=-s[0].swiperSlideOffset,d=0;if(e.isHorizontal()?a&&(n=-n):(d=l,o=-n,n=l=0),s[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var p=e.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),c=e.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===p.length&&(p=L('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),s.append(p)),0===c.length&&(c=L('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),s.append(c)),p.length&&(p[0].style.opacity=Math.max(-r,0)),c.length&&(c[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var a=this,t=a.slides,i=a.activeIndex,s=a.$wrapperEl;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),a.params.virtualTranslate&&0!==e){var r=!1;t.eq(i).transitionEnd(function(){if(!r&&a&&!a.destroyed){r=!0,a.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}})}}},_={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,s=e.$wrapperEl,r=e.slidesSizesGrid,n=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,d=o?t/2-l:a/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,h=i.length;u<h;u+=1){var v=i.eq(u),f=r[u],m=(d-v[0].swiperSlideOffset-f/2)/f*n.modifier,g=o?p*m:0,b=o?0:p*m,w=-c*Math.abs(m),y=o?0:n.stretch*m,x=o?n.stretch*m:0;Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(w)<.001&&(w=0),Math.abs(g)<.001&&(g=0),Math.abs(b)<.001&&(b=0);var T="translate3d("+x+"px,"+y+"px,"+w+"px) rotateX("+b+"deg) rotateY("+g+"deg)";if(v.transform(T),v[0].style.zIndex=1-Math.abs(Math.round(m)),n.slideShadows){var E=o?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),S=o?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===E.length&&(E=L('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),v.append(E)),0===S.length&&(S=L('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),v.append(S)),E.length&&(E[0].style.opacity=0<m?m:0),S.length&&(S[0].style.opacity=0<-m?-m:0)}}(te.pointerEvents||te.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=d+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},Z={init:function(){var e=this,t=e.params.thumbs,a=e.constructor;t.swiper instanceof a?(e.thumbs.swiper=t.swiper,ee.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),ee.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):ee.isObject(t.swiper)&&(e.thumbs.swiper=new a(ee.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if(!(i&&L(i).hasClass(e.params.thumbs.slideThumbActiveClass)||null==a)){var s;if(s=t.params.loop?parseInt(L(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var n=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),o=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===n?o:void 0===o?n:o-r<r-n?o:n}e.slideTo(s)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView;if(t.realIndex!==a.realIndex){var s,r=a.activeIndex;if(a.params.loop){a.slides.eq(r).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,r=a.activeIndex);var n=a.slides.eq(r).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),o=a.slides.eq(r).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();s=void 0===n?o:void 0===o?n:o-r==r-n?r:o-r<r-n?o:n}else s=t.realIndex;a.visibleSlidesIndexes.indexOf(s)<0&&(a.params.centeredSlides?s=r<s?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:r<s&&(s=s-i+1),a.slideTo(s,e?0:void 0))}var l=1,d=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(l=t.params.slidesPerView),a.slides.removeClass(d),a.params.loop)for(var p=0;p<l;p+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+p)+'"]').addClass(d);else for(var c=0;c<l;c+=1)a.slides.eq(t.realIndex+c).addClass(d)}}},Q=[E,S,C,M,P,$,O,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;ee.extend(e,{mousewheel:{enabled:!1,enable:A.enable.bind(e),disable:A.disable.bind(e),handle:A.handle.bind(e),handleMouseEnter:A.handleMouseEnter.bind(e),handleMouseLeave:A.handleMouseLeave.bind(e),lastScrollTime:ee.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;ee.extend(e,{navigation:{init:H.init.bind(e),update:H.update.bind(e),destroy:H.destroy.bind(e),onNextClick:H.onNextClick.bind(e),onPrevClick:H.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,a=this,i=a.navigation,s=i.$nextEl,r=i.$prevEl;!a.params.navigation.hideOnClick||L(e.target).is(r)||L(e.target).is(s)||(s?t=s.hasClass(a.params.navigation.hiddenClass):r&&(t=r.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),s&&s.toggleClass(a.params.navigation.hiddenClass),r&&r.toggleClass(a.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;ee.extend(e,{pagination:{init:N.init.bind(e),render:N.render.bind(e),update:N.update.bind(e),destroy:N.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&0<t.pagination.$el.length&&!L(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;ee.extend(e,{scrollbar:{init:G.init.bind(e),destroy:G.destroy.bind(e),updateSize:G.updateSize.bind(e),setTranslate:G.setTranslate.bind(e),setTransition:G.setTransition.bind(e),enableDraggable:G.enableDraggable.bind(e),disableDraggable:G.disableDraggable.bind(e),setDragPosition:G.setDragPosition.bind(e),onDragStart:G.onDragStart.bind(e),onDragMove:G.onDragMove.bind(e),onDragEnd:G.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){ee.extend(this,{parallax:{setTransform:B.setTransform.bind(this),setTranslate:B.setTranslate.bind(this),setTransition:B.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var i=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(e){t[e]=X[e].bind(i)}),ee.extend(i,{zoom:t});var s=1;Object.defineProperty(i.zoom,"scale",{get:function(){return s},set:function(e){if(s!==e){var t=i.zoom.gesture.$imageEl?i.zoom.gesture.$imageEl[0]:void 0,a=i.zoom.gesture.$slideEl?i.zoom.gesture.$slideEl[0]:void 0;i.emit("zoomChange",e,t,a)}s=e}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){ee.extend(this,{lazy:{initialImageLoaded:!1,load:Y.load.bind(this),loadInSlide:Y.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;ee.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:V.getInterpolateFunction.bind(e),setTranslate:V.setTranslate.bind(e),setTransition:V.setTransition.bind(e)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;ee.extend(t,{a11y:{liveRegion:L('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(F).forEach(function(e){t.a11y[e]=F[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;ee.extend(e,{history:{init:R.init.bind(e),setHistory:R.setHistory.bind(e),setHistoryPopState:R.setHistoryPopState.bind(e),scrollToSlide:R.scrollToSlide.bind(e),destroy:R.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;ee.extend(e,{hashNavigation:{initialized:!1,init:q.init.bind(e),destroy:q.destroy.bind(e),setHash:q.setHash.bind(e),onHashCange:q.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;ee.extend(t,{autoplay:{running:!1,paused:!1,run:W.run.bind(t),start:W.start.bind(t),stop:W.stop.bind(t),pause:W.pause.bind(t),onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){ee.extend(this,{fadeEffect:{setTranslate:j.setTranslate.bind(this),setTransition:j.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){ee.extend(this,{cubeEffect:{setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){ee.extend(this,{flipEffect:{setTranslate:K.setTranslate.bind(this),setTransition:K.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){ee.extend(this,{coverflowEffect:{setTranslate:_.setTranslate.bind(this),setTransition:_.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){ee.extend(this,{thumbs:{swiper:null,init:Z.init.bind(this),update:Z.update.bind(this),onThumbClick:Z.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===T.use&&(T.use=T.Class.use,T.installModule=T.Class.installModule),T.use(Q),T});
13
- //# sourceMappingURL=swiper.min.js.map
1
+ /**
2
+ * Swiper 4.5.0
3
+ * Most modern mobile touch slider and framework with hardware accelerated transitions
4
+ * http://www.idangero.us/swiper/
5
+ *
6
+ * Copyright 2014-2019 Vladimir Kharlampidi
7
+ *
8
+ * Released under the MIT License
9
+ *
10
+ * Released on: February 22, 2019
11
+ */
12
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Swiper=t()}(this,function(){"use strict";var f="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,J="undefined"==typeof window?{document:f,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,l=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function L(e,t){var a=[],i=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){var s,r,n=e.trim();if(0<=n.indexOf("<")&&0<=n.indexOf(">")){var o="div";for(0===n.indexOf("<li")&&(o="ul"),0===n.indexOf("<tr")&&(o="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(o="tr"),0===n.indexOf("<tbody")&&(o="table"),0===n.indexOf("<option")&&(o="select"),(r=f.createElement(o)).innerHTML=n,i=0;i<r.childNodes.length;i+=1)a.push(r.childNodes[i])}else for(s=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||f).querySelectorAll(e.trim()):[f.getElementById(e.trim().split("#")[1])],i=0;i<s.length;i+=1)s[i]&&a.push(s[i])}else if(e.nodeType||e===J||e===f)a.push(e);else if(0<e.length&&e[0].nodeType)for(i=0;i<e.length;i+=1)a.push(e[i]);return new l(a)}function r(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}L.fn=l.prototype,L.Class=l,L.Dom7=l;var t={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[a]);return this},removeClass:function(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[a]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[a]);return this},attr:function(e,t){var a=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===a.length)this[i].setAttribute(e,t);else for(var s in e)this[i][s]=e[s],this[i].setAttribute(s,e[s]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var a;if(void 0!==t){for(var i=0;i<this.length;i+=1)(a=this[i]).dom7ElementDataStorage||(a.dom7ElementDataStorage={}),a.dom7ElementDataStorage[e]=t;return this}if(a=this[0]){if(a.dom7ElementDataStorage&&e in a.dom7ElementDataStorage)return a.dom7ElementDataStorage[e];var s=a.getAttribute("data-"+e);return s||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransform=e,a.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransitionDuration=e,a.transitionDuration=e}return this},on:function(){for(var e,t=[],a=arguments.length;a--;)t[a]=arguments[a];var i=t[0],r=t[1],n=t[2],s=t[3];function o(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),L(t).is(r))n.apply(t,a);else for(var i=L(t).parents(),s=0;s<i.length;s+=1)L(i[s]).is(r)&&n.apply(i[s],a)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(i=(e=t)[0],n=e[1],s=e[2],r=void 0),s||(s=!1);for(var d,p=i.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(d=0;d<p.length;d+=1){var h=p[d];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[h]||(u.dom7LiveListeners[h]=[]),u.dom7LiveListeners[h].push({listener:n,proxyListener:o}),u.addEventListener(h,o,s)}else for(d=0;d<p.length;d+=1){var v=p[d];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[v]||(u.dom7Listeners[v]=[]),u.dom7Listeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,s)}}return this},off:function(){for(var e,t=[],a=arguments.length;a--;)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(i=(e=t)[0],r=e[1],n=e[2],s=void 0),n||(n=!1);for(var o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],p=0;p<this.length;p+=1){var c=this[p],u=void 0;if(!s&&c.dom7Listeners?u=c.dom7Listeners[d]:s&&c.dom7LiveListeners&&(u=c.dom7LiveListeners[d]),u&&u.length)for(var h=u.length-1;0<=h;h-=1){var v=u[h];r&&v.listener===r?(c.removeEventListener(d,v.proxyListener,n),u.splice(h,1)):r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(c.removeEventListener(d,v.proxyListener,n),u.splice(h,1)):r||(c.removeEventListener(d,v.proxyListener,n),u.splice(h,1))}}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var a=e[0].split(" "),i=e[1],s=0;s<a.length;s+=1)for(var r=a[s],n=0;n<this.length;n+=1){var o=this[n],l=void 0;try{l=new J.CustomEvent(r,{detail:i,bubbles:!0,cancelable:!0})}catch(e){(l=f.createEvent("Event")).initEvent(r,!0,!0),l.detail=i}o.dom7EventData=e.filter(function(e,t){return 0<t}),o.dispatchEvent(l),o.dom7EventData=[],delete o.dom7EventData}return this},transitionEnd:function(t){var a,i=["webkitTransitionEnd","transitionend"],s=this;function r(e){if(e.target===this)for(t.call(this,e),a=0;a<i.length;a+=1)s.off(i[a],r)}if(t)for(a=0;a<i.length;a+=1)s.on(i[a],r);return this},outerWidth:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(0<this.length){var e=this[0],t=e.getBoundingClientRect(),a=f.body,i=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,r=e===J?J.scrollY:e.scrollTop,n=e===J?J.scrollX:e.scrollLeft;return{top:t.top+r-i,left:t.left+n-s}}return null},css:function(e,t){var a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var i in e)this[a].style[i]=e[i];return this}if(this[0])return J.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,a,i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=L(e),a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}if(e===f)return i===f;if(e===J)return i===J;if(e.nodeType||e instanceof l){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===i)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,a=this.length;return new l(a-1<e?[]:e<0?(t=a+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],a=arguments.length;a--;)t[a]=arguments[a];for(var i=0;i<t.length;i+=1){e=t[i];for(var s=0;s<this.length;s+=1)if("string"==typeof e){var r=f.createElement("div");for(r.innerHTML=e;r.firstChild;)this[s].appendChild(r.firstChild)}else if(e instanceof l)for(var n=0;n<e.length;n+=1)this[s].appendChild(e[n]);else this[s].appendChild(e)}return this},prepend:function(e){var t,a;for(t=0;t<this.length;t+=1)if("string"==typeof e){var i=f.createElement("div");for(i.innerHTML=e,a=i.childNodes.length-1;0<=a;a-=1)this[t].insertBefore(i.childNodes[a],this[t].childNodes[0])}else if(e instanceof l)for(a=0;a<e.length;a+=1)this[t].insertBefore(e[a],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&L(this[0].nextElementSibling).is(e)?new l([this[0].nextElementSibling]):new l([]):this[0].nextElementSibling?new l([this[0].nextElementSibling]):new l([]):new l([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new l([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e?L(i).is(e)&&t.push(i):t.push(i),a=i}return new l(t)},prev:function(e){if(0<this.length){var t=this[0];return e?t.previousElementSibling&&L(t.previousElementSibling).is(e)?new l([t.previousElementSibling]):new l([]):t.previousElementSibling?new l([t.previousElementSibling]):new l([])}return new l([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new l([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e?L(i).is(e)&&t.push(i):t.push(i),a=i}return new l(t)},parent:function(e){for(var t=[],a=0;a<this.length;a+=1)null!==this[a].parentNode&&(e?L(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return L(r(t))},parents:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e?L(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return L(r(t))},closest:function(e){var t=this;return void 0===e?new l([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].querySelectorAll(e),s=0;s<i.length;s+=1)t.push(i[s]);return new l(t)},children:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].childNodes,s=0;s<i.length;s+=1)e?1===i[s].nodeType&&L(i[s]).is(e)&&t.push(i[s]):1===i[s].nodeType&&t.push(i[s]);return new l(r(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var a,i;for(a=0;a<e.length;a+=1){var s=L(e[a]);for(i=0;i<s.length;i+=1)this[this.length]=s[i],this.length+=1}return this},styles:function(){return this[0]?J.getComputedStyle(this[0],null):{}}};Object.keys(t).forEach(function(e){L.fn[e]=t[e]});var e,a,i,s,ee={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var a,i,s;void 0===t&&(t="x");var r=J.getComputedStyle(e,null);return J.WebKitCSSMatrix?(6<(i=r.transform||r.webkitTransform).split(",").length&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new J.WebKitCSSMatrix("none"===i?"":i)):a=(s=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=J.WebKitCSSMatrix?s.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=J.WebKitCSSMatrix?s.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0},parseUrlQuery:function(e){var t,a,i,s,r={},n=e||J.location.href;if("string"==typeof n&&n.length)for(s=(a=(n=-1<n.indexOf("?")?n.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<s;t+=1)i=a[t].replace(/#\S+/g,"").split("="),r[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return r},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var a=Object(e[0]),i=1;i<e.length;i+=1){var s=e[i];if(null!=s)for(var r=Object.keys(Object(s)),n=0,o=r.length;n<o;n+=1){var l=r[n],d=Object.getOwnPropertyDescriptor(s,l);void 0!==d&&d.enumerable&&(ee.isObject(a[l])&&ee.isObject(s[l])?ee.extend(a[l],s[l]):!ee.isObject(a[l])&&ee.isObject(s[l])?(a[l]={},ee.extend(a[l],s[l])):a[l]=s[l])}}return a}},te=(i=f.createElement("div"),{touch:J.Modernizr&&!0===J.Modernizr.touch||!!(0<J.navigator.maxTouchPoints||"ontouchstart"in J||J.DocumentTouch&&f instanceof J.DocumentTouch),pointerEvents:!!(J.navigator.pointerEnabled||J.PointerEvent||"maxTouchPoints"in J.navigator&&0<J.navigator.maxTouchPoints),prefixedPointerEvents:!!J.navigator.msPointerEnabled,transition:(a=i.style,"transition"in a||"webkitTransition"in a||"MozTransition"in a),transforms3d:J.Modernizr&&!0===J.Modernizr.csstransforms3d||(e=i.style,"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e),flexbox:function(){for(var e=i.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),a=0;a<t.length;a+=1)if(t[a]in e)return!0;return!1}(),observer:"MutationObserver"in J||"WebkitMutationObserver"in J,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});J.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in J}),I={isIE:!!J.navigator.userAgent.match(/Trident/g)||!!J.navigator.userAgent.match(/MSIE/g),isEdge:!!J.navigator.userAgent.match(/Edge/g),isSafari:(s=J.navigator.userAgent.toLowerCase(),0<=s.indexOf("safari")&&s.indexOf("chrome")<0&&s.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(J.navigator.userAgent)},n=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},o={components:{configurable:!0}};n.prototype.on=function(e,t,a){var i=this;if("function"!=typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)}),i},n.prototype.once=function(a,i,e){var s=this;if("function"!=typeof i)return s;function r(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i.apply(s,e),s.off(a,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=i,s.on(a,r,e)},n.prototype.off=function(e,i){var s=this;return s.eventsListeners&&e.split(" ").forEach(function(a){void 0===i?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].length&&s.eventsListeners[a].forEach(function(e,t){(e===i||e.f7proxy&&e.f7proxy===i)&&s.eventsListeners[a].splice(t,1)})}),s},n.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var a,i,s,r=this;return r.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(a=e[0],i=e.slice(1,e.length),s=r):(a=e[0].events,i=e[0].data,s=e[0].context||r),(Array.isArray(a)?a:a.split(" ")).forEach(function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(s,i)})}})),r},n.prototype.useModulesParams=function(a){var i=this;i.modules&&Object.keys(i.modules).forEach(function(e){var t=i.modules[e];t.params&&ee.extend(a,t.params)})},n.prototype.useModules=function(i){void 0===i&&(i={});var s=this;s.modules&&Object.keys(s.modules).forEach(function(e){var a=s.modules[e],t=i[e]||{};a.instance&&Object.keys(a.instance).forEach(function(e){var t=a.instance[e];s[e]="function"==typeof t?t.bind(s):t}),a.on&&s.on&&Object.keys(a.on).forEach(function(e){s.on(e,a.on[e])}),a.create&&a.create.bind(s)(t)})},o.components.set=function(e){this.use&&this.use(e)},n.installModule=function(t){for(var e=[],a=arguments.length-1;0<a--;)e[a]=arguments[a+1];var i=this;i.prototype.modules||(i.prototype.modules={});var s=t.name||Object.keys(i.prototype.modules).length+"_"+ee.now();return(i.prototype.modules[s]=t).proto&&Object.keys(t.proto).forEach(function(e){i.prototype[e]=t.proto[e]}),t.static&&Object.keys(t.static).forEach(function(e){i[e]=t.static[e]}),t.install&&t.install.apply(i,e),i},n.use=function(e){for(var t=[],a=arguments.length-1;0<a--;)t[a]=arguments[a+1];var i=this;return Array.isArray(e)?(e.forEach(function(e){return i.installModule(e)}),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(n,o);var d={updateSize:function(){var e,t,a=this,i=a.$el;e=void 0!==a.params.width?a.params.width:i[0].clientWidth,t=void 0!==a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),ee.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,a=e.$wrapperEl,i=e.size,s=e.rtlTranslate,r=e.wrongRTL,n=e.virtual&&t.virtual.enabled,o=n?e.virtual.slides.length:e.slides.length,l=a.children("."+e.params.slideClass),d=n?e.virtual.slides.length:l.length,p=[],c=[],u=[],h=t.slidesOffsetBefore;"function"==typeof h&&(h=t.slidesOffsetBefore.call(e));var v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));var f=e.snapGrid.length,m=e.snapGrid.length,g=t.spaceBetween,b=-h,w=0,y=0;if(void 0!==i){var x,T;"string"==typeof g&&0<=g.indexOf("%")&&(g=parseFloat(g.replace("%",""))/100*i),e.virtualSize=-g,s?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),1<t.slidesPerColumn&&(x=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(x=Math.max(x,t.slidesPerView*t.slidesPerColumn)));for(var E,S=t.slidesPerColumn,C=x/S,M=Math.floor(d/t.slidesPerColumn),z=0;z<d;z+=1){T=0;var P=l.eq(z);if(1<t.slidesPerColumn){var k=void 0,$=void 0,L=void 0;"column"===t.slidesPerColumnFill?(L=z-($=Math.floor(z/S))*S,(M<$||$===M&&L===S-1)&&S<=(L+=1)&&(L=0,$+=1),k=$+L*x/S,P.css({"-webkit-box-ordinal-group":k,"-moz-box-ordinal-group":k,"-ms-flex-order":k,"-webkit-order":k,order:k})):$=z-(L=Math.floor(z/C))*C,P.css("margin-"+(e.isHorizontal()?"top":"left"),0!==L&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",$).attr("data-swiper-row",L)}if("none"!==P.css("display")){if("auto"===t.slidesPerView){var I=J.getComputedStyle(P[0],null),D=P[0].style.transform,O=P[0].style.webkitTransform;if(D&&(P[0].style.transform="none"),O&&(P[0].style.webkitTransform="none"),t.roundLengths)T=e.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0);else if(e.isHorizontal()){var A=parseFloat(I.getPropertyValue("width")),H=parseFloat(I.getPropertyValue("padding-left")),N=parseFloat(I.getPropertyValue("padding-right")),G=parseFloat(I.getPropertyValue("margin-left")),B=parseFloat(I.getPropertyValue("margin-right")),X=I.getPropertyValue("box-sizing");T=X&&"border-box"===X?A+G+B:A+H+N+G+B}else{var Y=parseFloat(I.getPropertyValue("height")),V=parseFloat(I.getPropertyValue("padding-top")),F=parseFloat(I.getPropertyValue("padding-bottom")),R=parseFloat(I.getPropertyValue("margin-top")),q=parseFloat(I.getPropertyValue("margin-bottom")),W=I.getPropertyValue("box-sizing");T=W&&"border-box"===W?Y+R+q:Y+V+F+R+q}D&&(P[0].style.transform=D),O&&(P[0].style.webkitTransform=O),t.roundLengths&&(T=Math.floor(T))}else T=(i-(t.slidesPerView-1)*g)/t.slidesPerView,t.roundLengths&&(T=Math.floor(T)),l[z]&&(e.isHorizontal()?l[z].style.width=T+"px":l[z].style.height=T+"px");l[z]&&(l[z].swiperSlideSize=T),u.push(T),t.centeredSlides?(b=b+T/2+w/2+g,0===w&&0!==z&&(b=b-i/2-g),0===z&&(b=b-i/2-g),Math.abs(b)<.001&&(b=0),t.roundLengths&&(b=Math.floor(b)),y%t.slidesPerGroup==0&&p.push(b),c.push(b)):(t.roundLengths&&(b=Math.floor(b)),y%t.slidesPerGroup==0&&p.push(b),c.push(b),b=b+T+g),e.virtualSize+=T+g,w=T,y+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+v,s&&r&&("slide"===t.effect||"coverflow"===t.effect)&&a.css({width:e.virtualSize+t.spaceBetween+"px"}),te.flexbox&&!t.setWrapperSize||(e.isHorizontal()?a.css({width:e.virtualSize+t.spaceBetween+"px"}):a.css({height:e.virtualSize+t.spaceBetween+"px"})),1<t.slidesPerColumn&&(e.virtualSize=(T+t.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?a.css({width:e.virtualSize+t.spaceBetween+"px"}):a.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){E=[];for(var j=0;j<p.length;j+=1){var U=p[j];t.roundLengths&&(U=Math.floor(U)),p[j]<e.virtualSize+p[0]&&E.push(U)}p=E}if(!t.centeredSlides){E=[];for(var K=0;K<p.length;K+=1){var _=p[K];t.roundLengths&&(_=Math.floor(_)),p[K]<=e.virtualSize-i&&E.push(_)}p=E,1<Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])&&p.push(e.virtualSize-i)}if(0===p.length&&(p=[0]),0!==t.spaceBetween&&(e.isHorizontal()?s?l.css({marginLeft:g+"px"}):l.css({marginRight:g+"px"}):l.css({marginBottom:g+"px"})),t.centerInsufficientSlides){var Z=0;if(u.forEach(function(e){Z+=e+(t.spaceBetween?t.spaceBetween:0)}),(Z-=t.spaceBetween)<i){var Q=(i-Z)/2;p.forEach(function(e,t){p[t]=e-Q}),c.forEach(function(e,t){c[t]=e+Q})}}ee.extend(e,{slides:l,snapGrid:p,slidesGrid:c,slidesSizesGrid:u}),d!==o&&e.emit("slidesLengthChange"),p.length!==f&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),c.length!==m&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,a=this,i=[],s=0;if("number"==typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed),"auto"!==a.params.slidesPerView&&1<a.params.slidesPerView)for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var r=a.activeIndex+t;if(r>a.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var n=i[t].offsetHeight;s=s<n?n:s}s&&a.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=-e;s&&(r=e),i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(a.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),p=d+t.slidesSizesGrid[n];(0<=d&&d<t.size||0<p&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(n),i.eq(n).addClass(a.slideVisibleClass))}o.progress=s?-l:l}t.visibleSlides=L(t.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,n=t.isEnd,o=r,l=n;0===i?n=r=!(s=0):(r=(s=(e-t.minTranslate())/i)<=0,n=1<=s),ee.extend(t,{progress:s,isBeginning:r,isEnd:n}),(a.watchSlidesProgress||a.watchSlidesVisibility)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!l&&t.emit("reachEnd toEdge"),(o&&!r||l&&!n)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperEl,r=t.activeIndex,n=t.realIndex,o=t.virtual&&i.virtual.enabled;a.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass));var l=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=a.eq(0)).addClass(i.slideNextClass);var d=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,a=this,i=a.rtlTranslate?a.translate:-a.translate,s=a.slidesGrid,r=a.snapGrid,n=a.params,o=a.activeIndex,l=a.realIndex,d=a.snapIndex,p=e;if(void 0===p){for(var c=0;c<s.length;c+=1)void 0!==s[c+1]?i>=s[c]&&i<s[c+1]-(s[c+1]-s[c])/2?p=c:i>=s[c]&&i<s[c+1]&&(p=c+1):i>=s[c]&&(p=c);n.normalizeSlideIndex&&(p<0||void 0===p)&&(p=0)}if((t=0<=r.indexOf(i)?r.indexOf(i):Math.floor(p/n.slidesPerGroup))>=r.length&&(t=r.length-1),p!==o){var u=parseInt(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);ee.extend(a,{snapIndex:t,realIndex:u,previousIndex:o,activeIndex:p}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==u&&a.emit("realIndexChange"),a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,a=t.params,i=L(e.target).closest("."+a.slideClass)[0],s=!1;if(i)for(var r=0;r<t.slides.length;r+=1)t.slides[r]===i&&(s=!0);if(!i||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(L(i).attr("data-swiper-slide-index"),10):t.clickedIndex=L(i).index(),a.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var p={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,a=this.rtlTranslate,i=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return a?-i:i;var r=ee.getTranslate(s[0],e);return a&&(r=-r),r||0},setTranslate:function(e,t){var a=this,i=a.rtlTranslate,s=a.params,r=a.$wrapperEl,n=a.progress,o=0,l=0;a.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.virtualTranslate||(te.transforms3d?r.transform("translate3d("+o+"px, "+l+"px, 0px)"):r.transform("translate("+o+"px, "+l+"px)")),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?o:l;var d=a.maxTranslate()-a.minTranslate();(0===d?0:(e-a.minTranslate())/d)!==n&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}};var c={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;s.autoHeight&&a.updateAutoHeight();var n=t;if(n||(n=r<i?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r){if("reset"===n)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===n?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex;a.animating=!1,a.setTransition(0);var r=t;if(r||(r=s<i?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s){if("reset"===r)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===r?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}};var u={slideTo:function(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;r<0&&(r=0);var n=s.params,o=s.snapGrid,l=s.slidesGrid,d=s.previousIndex,p=s.activeIndex,c=s.rtlTranslate;if(s.animating&&n.preventInteractionOnTransition)return!1;var u=Math.floor(r/n.slidesPerGroup);u>=o.length&&(u=o.length-1),(p||n.initialSlide||0)===(d||0)&&a&&s.emit("beforeSlideChangeStart");var h,v=-o[u];if(s.updateProgress(v),n.normalizeSlideIndex)for(var f=0;f<l.length;f+=1)-Math.floor(100*v)>=Math.floor(100*l[f])&&(r=f);if(s.initialized&&r!==p){if(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate())return!1;if(!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(p||0)!==r)return!1}return h=p<r?"next":r<p?"prev":"reset",c&&-v===s.translate||!c&&v===s.translate?(s.updateActiveIndex(r),n.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==n.effect&&s.setTranslate(v),"reset"!==h&&(s.transitionStart(a,h),s.transitionEnd(a,h)),!1):(0!==t&&te.transition?(s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,h),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(a,h))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))):(s.setTransition(0),s.setTranslate(v),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,h),s.transitionEnd(a,h)),!0)},slideToLoop:function(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,a,i)},slideNext:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;return s.loop?!r&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)):i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)},slidePrev:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(s.loop){if(r)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p,c=d(l?i.translate:-i.translate),u=n.map(function(e){return d(e)}),h=(o.map(function(e){return d(e)}),n[u.indexOf(c)],n[u.indexOf(c)-1]);return void 0!==h&&(p=o.indexOf(h))<0&&(p=i.activeIndex-1),i.slideTo(p,e,t,a)},slideReset:function(e,t,a){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,a)},slideToClosest:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.activeIndex,r=Math.floor(s/i.params.slidesPerGroup);if(r<i.snapGrid.length-1){var n=i.rtlTranslate?i.translate:-i.translate,o=i.snapGrid[r];(i.snapGrid[r+1]-o)/2<n-o&&(s=i.params.slidesPerGroup)}return i.slideTo(s,e,t,a)},slideToClickedSlide:function(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,r=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(L(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?r<t.loopedSlides-s/2||r>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ee.nextTick(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),ee.nextTick(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}};var h={loopCreate:function(){var i=this,e=i.params,t=i.$wrapperEl;t.children("."+e.slideClass+"."+e.slideDuplicateClass).remove();var s=t.children("."+e.slideClass);if(e.loopFillGroupWithBlank){var a=e.slidesPerGroup-s.length%e.slidesPerGroup;if(a!==e.slidesPerGroup){for(var r=0;r<a;r+=1){var n=L(f.createElement("div")).addClass(e.slideClass+" "+e.slideBlankClass);t.append(n)}s=t.children("."+e.slideClass)}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=s.length),i.loopedSlides=parseInt(e.loopedSlides||e.slidesPerView,10),i.loopedSlides+=e.loopAdditionalSlides,i.loopedSlides>s.length&&(i.loopedSlides=s.length);var o=[],l=[];s.each(function(e,t){var a=L(t);e<i.loopedSlides&&l.push(t),e<s.length&&e>=s.length-i.loopedSlides&&o.push(t),a.attr("data-swiper-slide-index",e)});for(var d=0;d<l.length;d+=1)t.append(L(l[d].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var p=o.length-1;0<=p;p-=1)t.prepend(L(o[p].cloneNode(!0)).addClass(e.slideDuplicateClass))},loopFix:function(){var e,t=this,a=t.params,i=t.activeIndex,s=t.slides,r=t.loopedSlides,n=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var p=-l[i]-t.getTranslate();i<r?(e=s.length-3*r+i,e+=r,t.slideTo(e,0,!1,!0)&&0!==p&&t.setTranslate((d?-t.translate:t.translate)-p)):("auto"===a.slidesPerView&&2*r<=i||i>=s.length-r)&&(e=-s.length+i+r,e+=r,t.slideTo(e,0,!1,!0)&&0!==p&&t.setTranslate((d?-t.translate:t.translate)-p));t.allowSlidePrev=n,t.allowSlideNext=o},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,a=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),a.removeAttr("data-swiper-slide-index")}};var v={setGrabCursor:function(e){if(!(te.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){te.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}};var m={appendSlide:function(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&te.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&te.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex;s.loop&&(r-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass));var n=a.slides.length;if(e<=0)a.prependSlide(t);else if(n<=e)a.appendSlide(t);else{for(var o=e<r?r+1:r,l=[],d=n-1;e<=d;d-=1){var p=a.slides.eq(d);p.remove(),l.unshift(p)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);o=e<r?r+t.length:r}else i.append(t);for(var u=0;u<l.length;u+=1)i.append(l[u]);s.loop&&a.loopCreate(),s.observer&&te.observer||a.update(),s.loop?a.slideTo(o+a.loopedSlides,0,!1):a.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&(n-=1),n=Math.max(n,0);a.loop&&t.loopCreate(),a.observer&&te.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},g=function(){var e=J.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:J.cordova||J.phonegap,phonegap:J.cordova||J.phonegap},a=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),s=e.match(/(iPad).*OS\s([\d_]+)/),r=e.match(/(iPod)(.*OS\s([\d_]+))?/),n=!s&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(t.os="windows",t.osVersion=a[2],t.windows=!0),i&&!a&&(t.os="android",t.osVersion=i[2],t.android=!0,t.androidChrome=0<=e.toLowerCase().indexOf("chrome")),(s||n||r)&&(t.os="ios",t.ios=!0),n&&!r&&(t.osVersion=n[2].replace(/_/g,"."),t.iphone=!0),s&&(t.osVersion=s[2].replace(/_/g,"."),t.ipad=!0),r&&(t.osVersion=r[3]?r[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&0<=e.indexOf("Version/")&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(n||s||r)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=f.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(r||n)&&(1*o[0]==7?1<=1*o[1]:7<1*o[0])&&l&&0<=l.getAttribute("content").indexOf("minimal-ui")}return t.pixelRatio=J.devicePixelRatio||1,t}();function b(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev,r=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var n=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||1<t.slidesPerView)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}var w={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},y={update:d,translate:p,transition:c,slide:u,loop:h,grabCursor:v,manipulation:m,events:{attachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl;e.onTouchStart=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches;if(!t.animating||!i.preventInteractionOnTransition){var r=e;if(r.originalEvent&&(r=r.originalEvent),a.isTouchEvent="touchstart"===r.type,(a.isTouchEvent||!("which"in r)||3!==r.which)&&!(!a.isTouchEvent&&"button"in r&&0<r.button||a.isTouched&&a.isMoved))if(i.noSwiping&&L(r.target).closest(i.noSwipingSelector?i.noSwipingSelector:"."+i.noSwipingClass)[0])t.allowClick=!0;else if(!i.swipeHandler||L(r).closest(i.swipeHandler)[0]){s.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,s.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var n=s.currentX,o=s.currentY,l=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,d=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(!l||!(n<=d||n>=J.screen.width-d)){if(ee.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=n,s.startY=o,a.touchStartTime=ee.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,0<i.threshold&&(a.allowThresholdMove=!1),"touchstart"!==r.type){var p=!0;L(r.target).is(a.formElements)&&(p=!1),f.activeElement&&L(f.activeElement).is(a.formElements)&&f.activeElement!==r.target&&f.activeElement.blur();var c=p&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||c)&&r.preventDefault()}t.emit("touchStart",r)}}}}.bind(e),e.onTouchMove=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=e;if(n.originalEvent&&(n=n.originalEvent),a.isTouched){if(!a.isTouchEvent||"mousemove"!==n.type){var o="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,l="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY;if(n.preventedByNestedSwiper)return s.startX=o,void(s.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(a.isTouched&&(ee.extend(s,{startX:o,startY:l,currentX:o,currentY:l}),a.touchStartTime=ee.now()));if(a.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(t.isVertical()){if(l<s.startY&&t.translate<=t.maxTranslate()||l>s.startY&&t.translate>=t.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(o<s.startX&&t.translate<=t.maxTranslate()||o>s.startX&&t.translate>=t.minTranslate())return;if(a.isTouchEvent&&f.activeElement&&n.target===f.activeElement&&L(n.target).is(a.formElements))return a.isMoved=!0,void(t.allowClick=!1);if(a.allowTouchCallbacks&&t.emit("touchMove",n),!(n.targetTouches&&1<n.targetTouches.length)){s.currentX=o,s.currentY=l;var d,p=s.currentX-s.startX,c=s.currentY-s.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(c,2))<t.params.threshold))if(void 0===a.isScrolling&&(t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?a.isScrolling=!1:25<=p*p+c*c&&(d=180*Math.atan2(Math.abs(c),Math.abs(p))/Math.PI,a.isScrolling=t.isHorizontal()?d>i.touchAngle:90-d>i.touchAngle)),a.isScrolling&&t.emit("touchMoveOpposite",n),void 0===a.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){t.allowClick=!1,n.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&n.stopPropagation(),a.isMoved||(i.loop&&t.loopFix(),a.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!i.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",n)),t.emit("sliderMove",n),a.isMoved=!0;var u=t.isHorizontal()?p:c;s.diff=u,u*=i.touchRatio,r&&(u=-u),t.swipeDirection=0<u?"prev":"next",a.currentTranslate=u+a.startTranslate;var h=!0,v=i.resistanceRatio;if(i.touchReleaseOnEdges&&(v=0),0<u&&a.currentTranslate>t.minTranslate()?(h=!1,i.resistance&&(a.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+a.startTranslate+u,v))):u<0&&a.currentTranslate<t.maxTranslate()&&(h=!1,i.resistance&&(a.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-a.startTranslate-u,v))),h&&(n.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),0<i.threshold){if(!(Math.abs(u)>i.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,a.currentTranslate=a.startTranslate,void(s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}i.followFinger&&((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&(0===a.velocities.length&&a.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:ee.now()})),t.updateProgress(a.currentTranslate),t.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&t.emit("touchMoveOpposite",n)}.bind(e),e.onTouchEnd=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=ee.now(),u=c-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),u<300&&300<c-a.lastClickTime&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=ee.nextTick(function(){t&&!t.destroyed&&t.emit("click",d)},300)),u<300&&c-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",d))),a.lastClickTime=ee.now(),ee.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(1<a.velocities.length){var h=a.velocities.pop(),v=a.velocities.pop(),f=h.position-v.position,m=h.time-v.time;t.velocity=f/m,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(150<m||300<ee.now()-h.time)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,b=t.velocity*g,w=t.translate+b;r&&(w=-w);var y,x,T=!1,E=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-E&&(w=t.maxTranslate()-E),y=t.maxTranslate(),T=!0,a.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(w>t.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>E&&(w=t.minTranslate()+E),y=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(i.freeModeSticky){for(var S,C=0;C<l.length;C+=1)if(l[C]>-w){S=C;break}w=-(w=Math.abs(l[S]-w)<Math.abs(l[S-1]-w)||"next"===t.swipeDirection?l[S]:l[S-1])}if(x&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)g=r?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&T?(t.updateProgress(y),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(y),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(w),t.setTransition(g),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||u>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,z=t.slidesSizesGrid[0],P=0;P<o.length;P+=i.slidesPerGroup)void 0!==o[P+i.slidesPerGroup]?p>=o[P]&&p<o[P+i.slidesPerGroup]&&(z=o[(M=P)+i.slidesPerGroup]-o[P]):p>=o[P]&&(M=P,z=o[o.length-1]-o[o.length-2]);var k=(p-o[M])/z;if(u>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(k>=i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M)),"prev"===t.swipeDirection&&(k>1-i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(M+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(M)}}}.bind(e),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var r="container"===t.touchEventsTarget?i:s,n=!!t.nested;if(te.touch||!te.pointerEvents&&!te.prefixedPointerEvents){if(te.touch){var o=!("touchstart"!==a.start||!te.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(a.start,e.onTouchStart,o),r.addEventListener(a.move,e.onTouchMove,te.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!te.touch&&g.ios)&&(r.addEventListener("mousedown",e.onTouchStart,!1),f.addEventListener("mousemove",e.onTouchMove,n),f.addEventListener("mouseup",e.onTouchEnd,!1))}else r.addEventListener(a.start,e.onTouchStart,!1),f.addEventListener(a.move,e.onTouchMove,n),f.addEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",e.onClick,!0),e.on(g.ios||g.android?"resize orientationchange observerUpdate":"resize observerUpdate",b,!0)},detachEvents:function(){var e=this,t=e.params,a=e.touchEvents,i=e.el,s=e.wrapperEl,r="container"===t.touchEventsTarget?i:s,n=!!t.nested;if(te.touch||!te.pointerEvents&&!te.prefixedPointerEvents){if(te.touch){var o=!("onTouchStart"!==a.start||!te.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(a.start,e.onTouchStart,o),r.removeEventListener(a.move,e.onTouchMove,n),r.removeEventListener(a.end,e.onTouchEnd,o)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!te.touch&&g.ios)&&(r.removeEventListener("mousedown",e.onTouchStart,!1),f.removeEventListener("mousemove",e.onTouchMove,n),f.removeEventListener("mouseup",e.onTouchEnd,!1))}else r.removeEventListener(a.start,e.onTouchStart,!1),f.removeEventListener(a.move,e.onTouchMove,n),f.removeEventListener(a.end,e.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",e.onClick,!0),e.off(g.ios||g.android?"resize orientationchange observerUpdate":"resize observerUpdate",b)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,a=e.initialized,i=e.loopedSlides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var n=e.getBreakpoint(r);if(n&&e.currentBreakpoint!==n){var o=n in r?r[n]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var l=o||e.originalParams,d=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||d);d&&a&&e.changeDirection(),ee.extend(e.params,l),ee.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=n,p&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var t=!1,a=[];Object.keys(e).forEach(function(e){a.push(e)}),a.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var i=0;i<a.length;i+=1){var s=a[i];this.params.breakpointsInverse?s<=J.innerWidth&&(t=s):s>=J.innerWidth&&!t&&(t=s)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.isLocked;e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),t&&t!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var t=this.classNames,a=this.params,e=this.rtl,i=this.$el,s=[];s.push("initialized"),s.push(a.direction),a.freeMode&&s.push("free-mode"),te.flexbox||s.push("no-flexbox"),a.autoHeight&&s.push("autoheight"),e&&s.push("rtl"),1<a.slidesPerColumn&&s.push("multirow"),g.android&&s.push("android"),g.ios&&s.push("ios"),(I.isIE||I.isEdge)&&(te.pointerEvents||te.prefixedPointerEvents)&&s.push("wp8-"+a.direction),s.forEach(function(e){t.push(a.containerModifierClass+e)}),i.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,a,i,s,r){var n;function o(){r&&r()}e.complete&&s?o():t?((n=new J.Image).onload=o,n.onerror=o,i&&(n.sizes=i),a&&(n.srcset=a),t&&(n.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},x={},T=function(u){function h(){for(var e,t,s,a=[],i=arguments.length;i--;)a[i]=arguments[i];1===a.length&&a[0].constructor&&a[0].constructor===Object?s=a[0]:(t=(e=a)[0],s=e[1]),s||(s={}),s=ee.extend({},s),t&&!s.el&&(s.el=t),u.call(this,s),Object.keys(y).forEach(function(t){Object.keys(y[t]).forEach(function(e){h.prototype[e]||(h.prototype[e]=y[t][e])})});var r=this;void 0===r.modules&&(r.modules={}),Object.keys(r.modules).forEach(function(e){var t=r.modules[e];if(t.params){var a=Object.keys(t.params)[0],i=t.params[a];if("object"!=typeof i||null===i)return;if(!(a in s&&"enabled"in i))return;!0===s[a]&&(s[a]={enabled:!0}),"object"!=typeof s[a]||"enabled"in s[a]||(s[a].enabled=!0),s[a]||(s[a]={enabled:!1})}});var n=ee.extend({},w);r.useModulesParams(n),r.params=ee.extend({},n,x,s),r.originalParams=ee.extend({},r.params),r.passedParams=ee.extend({},s);var o=(r.$=L)(r.params.el);if(t=o[0]){if(1<o.length){var l=[];return o.each(function(e,t){var a=ee.extend({},s,{el:t});l.push(new h(a))}),l}t.swiper=r,o.data("swiper",r);var d,p,c=o.children("."+r.params.wrapperClass);return ee.extend(r,{$el:o,el:t,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:L(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===r.params.direction},isVertical:function(){return"vertical"===r.params.direction},rtl:"rtl"===t.dir.toLowerCase()||"rtl"===o.css("direction"),rtlTranslate:"horizontal"===r.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===o.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:(d=["touchstart","touchmove","touchend"],p=["mousedown","mousemove","mouseup"],te.pointerEvents?p=["pointerdown","pointermove","pointerup"]:te.prefixedPointerEvents&&(p=["MSPointerDown","MSPointerMove","MSPointerUp"]),r.touchEventsTouch={start:d[0],move:d[1],end:d[2]},r.touchEventsDesktop={start:p[0],move:p[1],end:p[2]},te.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:ee.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.params.init&&r.init(),r}}u&&(h.__proto__=u);var e={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return((h.prototype=Object.create(u&&u.prototype)).constructor=h).prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var o,l=a[r].swiperSlideSize,d=r+1;d<a.length;d+=1)a[d]&&!o&&(n+=1,s<(l+=a[d].swiperSlideSize)&&(o=!0));for(var p=r-1;0<=p;p-=1)a[p]&&!o&&(n+=1,s<(l+=a[p].swiperSlideSize)&&(o=!0))}else for(var c=r+1;c<a.length;c+=1)i[c]-i[r]<s&&(n+=1);return n},h.prototype.update=function(){var a=this;if(a&&!a.destroyed){var e=a.snapGrid,t=a.params;t.breakpoints&&a.setBreakpoint(),a.updateSize(),a.updateSlides(),a.updateProgress(),a.updateSlidesClasses(),a.params.freeMode?(i(),a.params.autoHeight&&a.updateAutoHeight()):(("auto"===a.params.slidesPerView||1<a.params.slidesPerView)&&a.isEnd&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0))||i(),t.watchOverflow&&e!==a.snapGrid&&a.checkOverflow(),a.emit("update")}function i(){var e=a.rtlTranslate?-1*a.translate:a.translate,t=Math.min(Math.max(e,a.maxTranslate()),a.minTranslate());a.setTranslate(t),a.updateActiveIndex(),a.updateSlidesClasses()}},h.prototype.changeDirection=function(a,e){void 0===e&&(e=!0);var t=this,i=t.params.direction;return a||(a="horizontal"===i?"vertical":"horizontal"),a===i||"horizontal"!==a&&"vertical"!==a||("vertical"===i&&(t.$el.removeClass(t.params.containerModifierClass+"vertical wp8-vertical").addClass(""+t.params.containerModifierClass+a),(I.isIE||I.isEdge)&&(te.pointerEvents||te.prefixedPointerEvents)&&t.$el.addClass(t.params.containerModifierClass+"wp8-"+a)),"horizontal"===i&&(t.$el.removeClass(t.params.containerModifierClass+"horizontal wp8-horizontal").addClass(""+t.params.containerModifierClass+a),(I.isIE||I.isEdge)&&(te.pointerEvents||te.prefixedPointerEvents)&&t.$el.addClass(t.params.containerModifierClass+"wp8-"+a)),t.params.direction=a,t.slides.each(function(e,t){"vertical"===a?t.style.width="":t.style.height=""}),t.emit("changeDirection"),e&&t.update()),t},h.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},h.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;return void 0===a.params||a.destroyed||(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(function(e){a.off(e)}),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),ee.deleteProps(a)),a.destroyed=!0),null},h.extendDefaults=function(e){ee.extend(x,e)},e.extendedDefaults.get=function(){return x},e.defaults.get=function(){return w},e.Class.get=function(){return u},e.$.get=function(){return L},Object.defineProperties(h,e),h}(n),E={name:"device",proto:{device:g},static:{device:g}},S={name:"support",proto:{support:te},static:{support:te}},C={name:"browser",proto:{browser:I},static:{browser:I}},M={name:"resize",create:function(){var e=this;ee.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){J.addEventListener("resize",this.resize.resizeHandler),J.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){J.removeEventListener("resize",this.resize.resizeHandler),J.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},z={func:J.MutationObserver||J.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var a=this,i=new z.func(function(e){if(1!==e.length){var t=function(){a.emit("observerUpdate",e[0])};J.requestAnimationFrame?J.requestAnimationFrame(t):J.setTimeout(t,0)}else a.emit("observerUpdate",e[0])});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),a.observer.observers.push(i)},init:function(){var e=this;if(te.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},P={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){ee.extend(this,{observer:{init:z.init.bind(this),attach:z.attach.bind(this),destroy:z.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},k={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,r=a.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,d=t.virtual,p=d.from,c=d.to,u=d.slides,h=d.slidesGrid,v=d.renderSlide,f=d.offset;t.updateActiveIndex();var m,g,b,w=t.activeIndex||0;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(g=Math.floor(i/2)+s+o,b=Math.floor(i/2)+s+l):(g=i+(s-1)+o,b=s+l);var y=Math.max((w||0)-b,0),x=Math.min((w||0)+g,u.length-1),T=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function E(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(ee.extend(t.virtual,{from:y,to:x,offset:T,slidesGrid:t.slidesGrid}),p===y&&c===x&&!e)return t.slidesGrid!==h&&T!==f&&t.slides.css(m,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:y,to:x,slides:function(){for(var e=[],t=y;t<=x;t+=1)e.push(u[t]);return e}()}),void E();var S=[],C=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var M=p;M<=c;M+=1)(M<y||x<M)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var z=0;z<u.length;z+=1)y<=z&&z<=x&&(void 0===c||e?C.push(z):(c<z&&C.push(z),z<p&&S.push(z)));C.forEach(function(e){t.$wrapperEl.append(v(u[e],e))}),S.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(v(u[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,T+"px"),E()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];var s=i.renderSlide?L(i.renderSlide.call(a,e,t)):L('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,s=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);i=a+e.length,s=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var n=t.virtual.cache,o={};Object.keys(n).forEach(function(e){o[parseInt(e,10)+s]=n[e]}),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},$={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;ee.extend(e,{virtual:{update:k.update.bind(e),appendSlide:k.appendSlide.bind(e),prependSlide:k.prependSlide.bind(e),removeSlide:k.removeSlide.bind(e),removeAllSlides:k.removeAllSlides.bind(e),renderSlide:k.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},D={handle:function(e){var t=this,a=t.rtlTranslate,i=e;i.originalEvent&&(i=i.originalEvent);var s=i.keyCode||i.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===s||t.isVertical()&&40===s))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===s||t.isVertical()&&38===s))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||f.activeElement&&f.activeElement.nodeName&&("input"===f.activeElement.nodeName.toLowerCase()||"textarea"===f.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(37===s||39===s||38===s||40===s)){var r=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var n=J.innerWidth,o=J.innerHeight,l=t.$el.offset();a&&(l.left-=t.$el[0].scrollLeft);for(var d=[[l.left,l.top],[l.left+t.width,l.top],[l.left,l.top+t.height],[l.left+t.width,l.top+t.height]],p=0;p<d.length;p+=1){var c=d[p];0<=c[0]&&c[0]<=n&&0<=c[1]&&c[1]<=o&&(r=!0)}if(!r)return}t.isHorizontal()?(37!==s&&39!==s||(i.preventDefault?i.preventDefault():i.returnValue=!1),(39===s&&!a||37===s&&a)&&t.slideNext(),(37===s&&!a||39===s&&a)&&t.slidePrev()):(38!==s&&40!==s||(i.preventDefault?i.preventDefault():i.returnValue=!1),40===s&&t.slideNext(),38===s&&t.slidePrev()),t.emit("keyPress",s)}},enable:function(){this.keyboard.enabled||(L(f).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(L(f).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},O={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){ee.extend(this,{keyboard:{enabled:!1,enable:D.enable.bind(this),disable:D.disable.bind(this),handle:D.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var A={lastScrollTime:ee.now(),event:-1<J.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":function(){var e="onwheel",t=e in f;if(!t){var a=f.createElement("div");a.setAttribute(e,"return;"),t="function"==typeof a[e]}return!t&&f.implementation&&f.implementation.hasFeature&&!0!==f.implementation.hasFeature("","")&&(t=f.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,a=0,i=0,s=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,s=10*a,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||s)&&e.deltaMode&&(1===e.deltaMode?(i*=40,s*=40):(i*=800,s*=800)),i&&!t&&(t=i<1?-1:1),s&&!a&&(a=s<1?-1:1),{spinX:t,spinY:a,pixelX:i,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel;if(!a.mouseEntered&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,r=a.rtlTranslate?-1:1,n=A.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(n.pixelX)>Math.abs(n.pixelY)))return!0;s=n.pixelX*r}else{if(!(Math.abs(n.pixelY)>Math.abs(n.pixelX)))return!0;s=n.pixelY}else s=Math.abs(n.pixelX)>Math.abs(n.pixelY)?-n.pixelX*r:-n.pixelY;if(0===s)return!0;if(i.invert&&(s=-s),a.params.freeMode){a.params.loop&&a.loopFix();var o=a.getTranslate()+s*i.sensitivity,l=a.isBeginning,d=a.isEnd;if(o>=a.minTranslate()&&(o=a.minTranslate()),o<=a.maxTranslate()&&(o=a.maxTranslate()),a.setTransition(0),a.setTranslate(o),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!l&&a.isBeginning||!d&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=ee.nextTick(function(){a.slideToClosest()},300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),o===a.minTranslate()||o===a.maxTranslate())return!0}else{if(60<ee.now()-a.mousewheel.lastScrollTime)if(s<0)if(a.isEnd&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slideNext(),a.emit("scroll",t);else if(a.isBeginning&&!a.params.loop||a.animating){if(i.releaseOnEdges)return!0}else a.slidePrev(),a.emit("scroll",t);a.mousewheel.lastScrollTime=(new J.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!A.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=L(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(A.event,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=this;if(!A.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=L(e.params.mousewheel.eventsTarged)),t.off(A.event,e.mousewheel.handle),!(e.mousewheel.enabled=!1)}},H={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,s=a.$prevEl;s&&0<s.length&&(e.isBeginning?s.addClass(t.disabledClass):s.removeClass(t.disabledClass),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&0<i.length&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=L(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&1<e.length&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=L(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&1<t.length&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&0<e.length&&e.on("click",a.navigation.onNextClick),t&&0<t.length&&t.on("click",a.navigation.onPrevClick),ee.extend(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},N={update:function(){var e=this,t=e.rtl,s=e.params.pagination;if(s.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,n=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(r-=a-2*e.loopedSlides),n-1<r&&(r-=n),r<0&&"bullets"!==e.params.paginationType&&(r=n+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var o,l,d,p=e.pagination.bullets;if(s.dynamicBullets&&(e.pagination.bulletSize=p.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),i.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(s.dynamicMainBullets+4)+"px"),1<s.dynamicMainBullets&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=r-e.previousIndex,e.pagination.dynamicBulletIndex>s.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=s.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=r-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(p.length,s.dynamicMainBullets)-1))+o)/2),p.removeClass(s.bulletActiveClass+" "+s.bulletActiveClass+"-next "+s.bulletActiveClass+"-next-next "+s.bulletActiveClass+"-prev "+s.bulletActiveClass+"-prev-prev "+s.bulletActiveClass+"-main"),1<i.length)p.each(function(e,t){var a=L(t),i=a.index();i===r&&a.addClass(s.bulletActiveClass),s.dynamicBullets&&(o<=i&&i<=l&&a.addClass(s.bulletActiveClass+"-main"),i===o&&a.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),i===l&&a.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next"))});else if(p.eq(r).addClass(s.bulletActiveClass),s.dynamicBullets){for(var c=p.eq(o),u=p.eq(l),h=o;h<=l;h+=1)p.eq(h).addClass(s.bulletActiveClass+"-main");c.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),u.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next")}if(s.dynamicBullets){var v=Math.min(p.length,s.dynamicMainBullets+4),f=(e.pagination.bulletSize*v-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,m=t?"right":"left";p.css(e.isHorizontal()?m:"top",f+"px")}}if("fraction"===s.type&&(i.find("."+s.currentClass).text(s.formatFractionCurrent(r+1)),i.find("."+s.totalClass).text(s.formatFractionTotal(n))),"progressbar"===s.type){var g;g=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var b=(r+1)/n,w=1,y=1;"horizontal"===g?w=b:y=b,i.find("."+s.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+y+")").transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(i.html(s.renderCustom(e,r+1,n)),e.emit("paginationRender",e,i[0])):e.emit("paginationUpdate",e,i[0]),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](s.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,n=0;n<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var a=this,e=a.params.pagination;if(e.el){var t=L(e.el);0!==t.length&&(a.params.uniqueNavElements&&"string"==typeof e.el&&1<t.length&&1===a.$el.find(e.el).length&&(t=a.$el.find(e.el)),"bullets"===e.type&&e.clickable&&t.addClass(e.clickableClass),t.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(t.addClass(""+e.modifierClass+e.type+"-dynamic"),a.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&t.addClass(e.progressbarOppositeClass),e.clickable&&t.on("click","."+e.bulletClass,function(e){e.preventDefault();var t=L(this).index()*a.params.slidesPerGroup;a.params.loop&&(t+=a.loopedSlides),a.slideTo(t)}),ee.extend(a.pagination,{$el:t,el:t[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click","."+t.bulletClass)}}},G={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,s=t.dragSize,r=t.trackSize,n=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=s,p=(r-s)*i;a?0<(p=-p)?(d=s-p,p=0):r<-p+s&&(d=r+p):p<0?(d=s+p,p=0):r<p+s&&(d=r-p),e.isHorizontal()?(te.transforms3d?n.transform("translate3d("+p+"px, 0, 0)"):n.transform("translateX("+p+"px)"),n[0].style.width=d+"px"):(te.transforms3d?n.transform("translate3d(0px, "+p+"px, 0)"):n.transform("translateY("+p+"px)"),n[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,o=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=1<=n?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),ee.extend(t,{trackSize:r,divider:n,moveDivider:o,dragSize:s}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,r=i.$el,n=i.dragSize,o=i.trackSize;t=((a.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-r.offset()[a.isHorizontal()?"left":"top"]-n/2)/(o-n),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(l),a.setTranslate(l),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,a=this.$wrapperEl,i=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),a.transition(0),i.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=ee.nextTick(function(){i.css("opacity",0),i.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,s=e.params,r=t.$el[0],n=!(!te.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!te.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};te.touch?(r.addEventListener(a.start,e.scrollbar.onDragStart,n),r.addEventListener(a.move,e.scrollbar.onDragMove,n),r.addEventListener(a.end,e.scrollbar.onDragEnd,o)):(r.addEventListener(i.start,e.scrollbar.onDragStart,n),f.addEventListener(i.move,e.scrollbar.onDragMove,n),f.addEventListener(i.end,e.scrollbar.onDragEnd,o))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.touchEventsTouch,i=e.touchEventsDesktop,s=e.params,r=t.$el[0],n=!(!te.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},o=!(!te.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};te.touch?(r.removeEventListener(a.start,e.scrollbar.onDragStart,n),r.removeEventListener(a.move,e.scrollbar.onDragMove,n),r.removeEventListener(a.end,e.scrollbar.onDragEnd,o)):(r.removeEventListener(i.start,e.scrollbar.onDragStart,n),f.removeEventListener(i.move,e.scrollbar.onDragMove,n),f.removeEventListener(i.end,e.scrollbar.onDragEnd,o))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,i=e.params.scrollbar,s=L(i.el);e.params.uniqueNavElements&&"string"==typeof i.el&&1<s.length&&1===a.find(i.el).length&&(s=a.find(i.el));var r=s.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=L('<div class="'+e.params.scrollbar.dragClass+'"></div>'),s.append(r)),ee.extend(t,{$el:s,el:s[0],$dragEl:r,dragEl:r[0]}),i.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},B={setTransform:function(e,t){var a=this.rtl,i=L(e),s=a?-1:1,r=i.attr("data-swiper-parallax")||"0",n=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(n||o?(n=n||"0",o=o||"0"):this.isHorizontal()?(n=r,o="0"):(o=r,n="0"),n=0<=n.indexOf("%")?parseInt(n,10)*t*s+"%":n*t*s+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=d){var p=d-(d-1)*(1-Math.abs(t));i[0].style.opacity=p}if(null==l)i.transform("translate3d("+n+", "+o+", 0px)");else{var c=l-(l-1)*(1-Math.abs(t));i.transform("translate3d("+n+", "+o+", 0px) scale("+c+")")}},setTranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.setTransform(t,s)}),t.each(function(e,t){var a=t.progress;1<i.params.slidesPerGroup&&"auto"!==i.params.slidesPerView&&(a+=Math.ceil(e/2)-s*(r.length-1)),a=Math.min(Math.max(a,-1),1),L(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.setTransform(t,a)})})},setTransition:function(s){void 0===s&&(s=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){var a=L(t),i=parseInt(a.attr("data-swiper-parallax-duration"),10)||s;0===s&&(i=0),a.transition(i)})}},X={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2))},onGestureStart:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!te.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,s.scaleStart=X.getDistanceBetweenTouches(e)}s.$slideEl&&s.$slideEl.length||(s.$slideEl=L(e.target).closest(".swiper-slide"),0===s.$slideEl.length&&(s.$slideEl=t.slides.eq(t.activeIndex)),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+a.containerClass),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==s.$imageWrapEl.length)?(s.$imageEl.transition(0),t.zoom.isScaling=!0):s.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,a=this.zoom,i=a.gesture;if(!te.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,i.scaleMove=X.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=te.gestures?e.scale*a.currentScale:i.scaleMove/i.scaleStart*a.currentScale,a.scale>i.maxRatio&&(a.scale=i.maxRatio-1+Math.pow(a.scale-i.maxRatio+1,.5)),a.scale<t.minRatio&&(a.scale=t.minRatio+1-Math.pow(t.minRatio-a.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+a.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,a=this.zoom,i=a.gesture;if(!te.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!g.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,a=t.gesture,i=t.image;a.$imageEl&&0!==a.$imageEl.length&&(i.isTouched||(g.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=ee.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=ee.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,o=s.height*a.scale;if(!(n<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var s=300,r=300,n=i.x*s,o=a.currentX+n,l=i.y*r,d=a.currentY+l;0!==i.x&&(s=Math.abs((o-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((d-a.currentY)/i.y));var p=Math.max(s,r);a.currentX=o,a.currentY=d;var c=a.width*e.scale,u=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-c/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-u/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(p).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,o,l,d,p,c,u,h,v,f,m,g=this,b=g.zoom,w=g.params.zoom,y=b.gesture,x=b.image;(y.$slideEl||(y.$slideEl=g.clickedSlide?L(g.clickedSlide):g.slides.eq(g.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length)&&(y.$slideEl.addClass(""+w.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,a=x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(f=y.$slideEl[0].offsetWidth,m=y.$slideEl[0].offsetHeight,i=y.$slideEl.offset().left+f/2-t,s=y.$slideEl.offset().top+m/2-a,o=y.$imageEl[0].offsetWidth,l=y.$imageEl[0].offsetHeight,d=o*b.scale,p=l*b.scale,h=-(c=Math.min(f/2-d/2,0)),v=-(u=Math.min(m/2-p/2,0)),(r=i*b.scale)<c&&(r=c),h<r&&(r=h),(n=s*b.scale)<u&&(n=u),v<n&&(n=v)):n=r=0,y.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+n+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(i.$slideEl=e.clickedSlide?L(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+a.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!te.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};te.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!te.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};te.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},Y={loadInSlide:function(e,l){void 0===l&&(l=!0);var d=this,p=d.params.lazy;if(void 0!==e&&0!==d.slides.length){var c=d.virtual&&d.params.virtual.enabled?d.$wrapperEl.children("."+d.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):d.slides.eq(e),t=c.find("."+p.elementClass+":not(."+p.loadedClass+"):not(."+p.loadingClass+")");!c.hasClass(p.elementClass)||c.hasClass(p.loadedClass)||c.hasClass(p.loadingClass)||(t=t.add(c[0])),0!==t.length&&t.each(function(e,t){var i=L(t);i.addClass(p.loadingClass);var s=i.attr("data-background"),r=i.attr("data-src"),n=i.attr("data-srcset"),o=i.attr("data-sizes");d.loadImage(i[0],r||s,n,o,!1,function(){if(null!=d&&d&&(!d||d.params)&&!d.destroyed){if(s?(i.css("background-image",'url("'+s+'")'),i.removeAttr("data-background")):(n&&(i.attr("srcset",n),i.removeAttr("data-srcset")),o&&(i.attr("sizes",o),i.removeAttr("data-sizes")),r&&(i.attr("src",r),i.removeAttr("data-src"))),i.addClass(p.loadedClass).removeClass(p.loadingClass),c.find("."+p.preloaderClass).remove(),d.params.loop&&l){var e=c.attr("data-swiper-slide-index");if(c.hasClass(d.params.slideDuplicateClass)){var t=d.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+d.params.slideDuplicateClass+")");d.lazy.loadInSlide(t.index(),!1)}else{var a=d.$wrapperEl.children("."+d.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');d.lazy.loadInSlide(a.index(),!1)}}d.emit("lazyImageReady",c[0],i[0])}}),d.emit("lazyImageLoad",c[0],i[0])})}},load:function(){var i=this,t=i.$wrapperEl,a=i.params,s=i.slides,e=i.activeIndex,r=i.virtual&&a.virtual.enabled,n=a.lazy,o=a.slidesPerView;function l(e){if(r){if(t.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(s[e])return!0;return!1}function d(e){return r?L(e).attr("data-swiper-slide-index"):L(e).index()}if("auto"===o&&(o=0),i.lazy.initialImageLoaded||(i.lazy.initialImageLoaded=!0),i.params.watchSlidesVisibility)t.children("."+a.slideVisibleClass).each(function(e,t){var a=r?L(t).attr("data-swiper-slide-index"):L(t).index();i.lazy.loadInSlide(a)});else if(1<o)for(var p=e;p<e+o;p+=1)l(p)&&i.lazy.loadInSlide(p);else i.lazy.loadInSlide(e);if(n.loadPrevNext)if(1<o||n.loadPrevNextAmount&&1<n.loadPrevNextAmount){for(var c=n.loadPrevNextAmount,u=o,h=Math.min(e+u+Math.max(c,u),s.length),v=Math.max(e-Math.max(u,c),0),f=e+o;f<h;f+=1)l(f)&&i.lazy.loadInSlide(f);for(var m=v;m<e;m+=1)l(m)&&i.lazy.loadInSlide(m)}else{var g=t.children("."+a.slideNextClass);0<g.length&&i.lazy.loadInSlide(d(g));var b=t.children("."+a.slidePrevClass);0<b.length&&i.lazy.loadInSlide(d(b))}}},V={LinearSpline:function(e,t){var a,i,s,r,n,o=function(e,t){for(i=-1,a=e.length;1<a-i;)e[s=a+i>>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new V.LinearSpline(t.slidesGrid,e.slidesGrid):new V.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control;function n(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),i=(t-s.minTranslate())*a+e.minTranslate()),s.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof T&&n(r[o]);else r instanceof T&&t!==r&&n(r)},setTransition:function(t,e){var a,i=this,s=i.controller.control;function r(e){e.setTransition(t,i),0!==t&&(e.transitionStart(),e.params.autoHeight&&ee.nextTick(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){s&&(e.params.loop&&"slide"===i.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(s))for(a=0;a<s.length;a+=1)s[a]!==e&&s[a]instanceof T&&r(s[a]);else s instanceof T&&e!==s&&r(s)}},F={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,a=t.params.a11y;if(13===e.keyCode){var i=L(e.target);t.navigation&&t.navigation.$nextEl&&i.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&i.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&i.is("."+t.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&0<i.length&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&0<a.length&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(a))}},updatePagination:function(){var i=this,s=i.params.a11y;i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.bullets.each(function(e,t){var a=L(t);i.a11y.makeElFocusable(a),i.a11y.addElRole(a,"button"),i.a11y.addElLabel(a,s.paginationBulletMessage.replace(/{{index}}/,a.index()+1))})},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&0<a.a11y.liveRegion.length&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterKey),t&&t.off("keydown",a.a11y.onEnterKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown","."+a.params.pagination.bulletClass,a.a11y.onEnterKey)}},R={init:function(){var e=this;if(e.params.history){if(!J.history||!J.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=R.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||J.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||J.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=R.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=J.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var a=this.slides.eq(t),i=R.slugify(a.attr("data-history"));J.location.pathname.includes(e)||(i=e+"/"+i);var s=J.history.state;s&&s.value===i||(this.params.history.replaceState?J.history.replaceState({value:i},null,i):J.history.pushState({value:i},null,i))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s<r;s+=1){var n=i.slides.eq(s);if(R.slugify(n.attr("data-history"))===t&&!n.hasClass(i.params.slideDuplicateClass)){var o=n.index();i.slideTo(o,e,a)}}else i.slideTo(0,e,a)}},q={onHashCange:function(){var e=this,t=f.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){var a=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===a)return;e.slideTo(a)}},setHash:function(){var e=this;if(e.hashNavigation.initialized&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&J.history&&J.history.replaceState)J.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||"");else{var t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");f.location.hash=a||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=f.location.hash.replace("#","");if(t)for(var a=0,i=e.slides.length;a<i;a+=1){var s=e.slides.eq(a);if((s.attr("data-hash")||s.attr("data-history"))===t&&!s.hasClass(e.params.slideDuplicateClass)){var r=s.index();e.slideTo(r,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&L(J).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&L(J).off("hashchange",this.hashNavigation.onHashCange)}},W={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),e.autoplay.timeout=ee.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},j={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);var r=0;e.isHorizontal()||(r=s,s=0);var n=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var a=this,t=a.slides,i=a.$wrapperEl;if(t.transition(e),a.params.virtualTranslate&&0!==e){var s=!1;t.transitionEnd(function(){if(!s&&a&&!a.destroyed){s=!0,a.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)i.trigger(e[t])}})}}},U={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,s=t.slides,r=t.width,n=t.height,o=t.rtlTranslate,l=t.size,d=t.params.cubeEffect,p=t.isHorizontal(),c=t.virtual&&t.params.virtual.enabled,u=0;d.shadow&&(p?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=L('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=L('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var h=0;h<s.length;h+=1){var v=s.eq(h),f=h;c&&(f=parseInt(v.attr("data-swiper-slide-index"),10));var m=90*f,g=Math.floor(m/360);o&&(m=-m,g=Math.floor(-m/360));var b=Math.max(Math.min(v[0].progress,1),-1),w=0,y=0,x=0;f%4==0?(w=4*-g*l,x=0):(f-1)%4==0?(w=0,x=4*-g*l):(f-2)%4==0?(w=l+4*g*l,x=l):(f-3)%4==0&&(w=-l,x=3*l+4*l*g),o&&(w=-w),p||(y=w,w=0);var T="rotateX("+(p?0:-m)+"deg) rotateY("+(p?m:0)+"deg) translate3d("+w+"px, "+y+"px, "+x+"px)";if(b<=1&&-1<b&&(u=90*f+90*b,o&&(u=90*-f-90*b)),v.transform(T),d.slideShadows){var E=p?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),S=p?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===E.length&&(E=L('<div class="swiper-slide-shadow-'+(p?"left":"top")+'"></div>'),v.append(E)),0===S.length&&(S=L('<div class="swiper-slide-shadow-'+(p?"right":"bottom")+'"></div>'),v.append(S)),E.length&&(E[0].style.opacity=Math.max(-b,0)),S.length&&(S[0].style.opacity=Math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(p)e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var C=Math.abs(u)-90*Math.floor(Math.abs(u)/90),M=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),z=d.shadowScale,P=d.shadowScale/M,k=d.shadowOffset;e.transform("scale3d("+z+", 1, "+P+") translate3d(0px, "+(n/2+k)+"px, "+-n/2/P+"px) rotateX(-90deg)")}var $=I.isSafari||I.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+$+"px) rotateX("+(t.isHorizontal()?0:u)+"deg) rotateY("+(t.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},K={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i<t.length;i+=1){var s=t.eq(i),r=s[0].progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s[0].progress,1),-1));var n=-180*r,o=0,l=-s[0].swiperSlideOffset,d=0;if(e.isHorizontal()?a&&(n=-n):(d=l,o=-n,n=l=0),s[0].style.zIndex=-Math.abs(Math.round(r))+t.length,e.params.flipEffect.slideShadows){var p=e.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),c=e.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===p.length&&(p=L('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),s.append(p)),0===c.length&&(c=L('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),s.append(c)),p.length&&(p[0].style.opacity=Math.max(-r,0)),c.length&&(c[0].style.opacity=Math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var a=this,t=a.slides,i=a.activeIndex,s=a.$wrapperEl;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),a.params.virtualTranslate&&0!==e){var r=!1;t.eq(i).transitionEnd(function(){if(!r&&a&&!a.destroyed){r=!0,a.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}})}}},_={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,s=e.$wrapperEl,r=e.slidesSizesGrid,n=e.params.coverflowEffect,o=e.isHorizontal(),l=e.translate,d=o?t/2-l:a/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,h=i.length;u<h;u+=1){var v=i.eq(u),f=r[u],m=(d-v[0].swiperSlideOffset-f/2)/f*n.modifier,g=o?p*m:0,b=o?0:p*m,w=-c*Math.abs(m),y=o?0:n.stretch*m,x=o?n.stretch*m:0;Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(w)<.001&&(w=0),Math.abs(g)<.001&&(g=0),Math.abs(b)<.001&&(b=0);var T="translate3d("+x+"px,"+y+"px,"+w+"px) rotateX("+b+"deg) rotateY("+g+"deg)";if(v.transform(T),v[0].style.zIndex=1-Math.abs(Math.round(m)),n.slideShadows){var E=o?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),S=o?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===E.length&&(E=L('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),v.append(E)),0===S.length&&(S=L('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),v.append(S)),E.length&&(E[0].style.opacity=0<m?m:0),S.length&&(S[0].style.opacity=0<-m?-m:0)}}(te.pointerEvents||te.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=d+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},Z={init:function(){var e=this,t=e.params.thumbs,a=e.constructor;t.swiper instanceof a?(e.thumbs.swiper=t.swiper,ee.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),ee.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):ee.isObject(t.swiper)&&(e.thumbs.swiper=new a(ee.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,i=t.clickedSlide;if(!(i&&L(i).hasClass(e.params.thumbs.slideThumbActiveClass)||null==a)){var s;if(s=t.params.loop?parseInt(L(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var n=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+s+'"]').eq(0).index(),o=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+s+'"]').eq(0).index();s=void 0===n?o:void 0===o?n:o-r<r-n?o:n}e.slideTo(s)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView;if(t.realIndex!==a.realIndex){var s,r=a.activeIndex;if(a.params.loop){a.slides.eq(r).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,r=a.activeIndex);var n=a.slides.eq(r).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),o=a.slides.eq(r).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();s=void 0===n?o:void 0===o?n:o-r==r-n?r:o-r<r-n?o:n}else s=t.realIndex;a.visibleSlidesIndexes.indexOf(s)<0&&(a.params.centeredSlides?s=r<s?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:r<s&&(s=s-i+1),a.slideTo(s,e?0:void 0))}var l=1,d=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(l=t.params.slidesPerView),a.slides.removeClass(d),a.params.loop)for(var p=0;p<l;p+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+p)+'"]').addClass(d);else for(var c=0;c<l;c+=1)a.slides.eq(t.realIndex+c).addClass(d)}}},Q=[E,S,C,M,P,$,O,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;ee.extend(e,{mousewheel:{enabled:!1,enable:A.enable.bind(e),disable:A.disable.bind(e),handle:A.handle.bind(e),handleMouseEnter:A.handleMouseEnter.bind(e),handleMouseLeave:A.handleMouseLeave.bind(e),lastScrollTime:ee.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;ee.extend(e,{navigation:{init:H.init.bind(e),update:H.update.bind(e),destroy:H.destroy.bind(e),onNextClick:H.onNextClick.bind(e),onPrevClick:H.onPrevClick.bind(e)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,a=this,i=a.navigation,s=i.$nextEl,r=i.$prevEl;!a.params.navigation.hideOnClick||L(e.target).is(r)||L(e.target).is(s)||(s?t=s.hasClass(a.params.navigation.hiddenClass):r&&(t=r.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),s&&s.toggleClass(a.params.navigation.hiddenClass),r&&r.toggleClass(a.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;ee.extend(e,{pagination:{init:N.init.bind(e),render:N.render.bind(e),update:N.update.bind(e),destroy:N.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&0<t.pagination.$el.length&&!L(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;ee.extend(e,{scrollbar:{init:G.init.bind(e),destroy:G.destroy.bind(e),updateSize:G.updateSize.bind(e),setTranslate:G.setTranslate.bind(e),setTransition:G.setTransition.bind(e),enableDraggable:G.enableDraggable.bind(e),disableDraggable:G.disableDraggable.bind(e),setDragPosition:G.setDragPosition.bind(e),onDragStart:G.onDragStart.bind(e),onDragMove:G.onDragMove.bind(e),onDragEnd:G.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){ee.extend(this,{parallax:{setTransform:B.setTransform.bind(this),setTranslate:B.setTranslate.bind(this),setTransition:B.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var i=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(e){t[e]=X[e].bind(i)}),ee.extend(i,{zoom:t});var s=1;Object.defineProperty(i.zoom,"scale",{get:function(){return s},set:function(e){if(s!==e){var t=i.zoom.gesture.$imageEl?i.zoom.gesture.$imageEl[0]:void 0,a=i.zoom.gesture.$slideEl?i.zoom.gesture.$slideEl[0]:void 0;i.emit("zoomChange",e,t,a)}s=e}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){ee.extend(this,{lazy:{initialImageLoaded:!1,load:Y.load.bind(this),loadInSlide:Y.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;ee.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:V.getInterpolateFunction.bind(e),setTranslate:V.setTranslate.bind(e),setTransition:V.setTransition.bind(e)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;ee.extend(t,{a11y:{liveRegion:L('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(F).forEach(function(e){t.a11y[e]=F[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;ee.extend(e,{history:{init:R.init.bind(e),setHistory:R.setHistory.bind(e),setHistoryPopState:R.setHistoryPopState.bind(e),scrollToSlide:R.scrollToSlide.bind(e),destroy:R.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;ee.extend(e,{hashNavigation:{initialized:!1,init:q.init.bind(e),destroy:q.destroy.bind(e),setHash:q.setHash.bind(e),onHashCange:q.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;ee.extend(t,{autoplay:{running:!1,paused:!1,run:W.run.bind(t),start:W.start.bind(t),stop:W.stop.bind(t),pause:W.pause.bind(t),onTransitionEnd:function(e){t&&!t.destroyed&&t.$wrapperEl&&e.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){ee.extend(this,{fadeEffect:{setTranslate:j.setTranslate.bind(this),setTransition:j.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){ee.extend(this,{cubeEffect:{setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){ee.extend(this,{flipEffect:{setTranslate:K.setTranslate.bind(this),setTransition:K.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};ee.extend(e.params,t),ee.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){ee.extend(this,{coverflowEffect:{setTranslate:_.setTranslate.bind(this),setTransition:_.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){ee.extend(this,{thumbs:{swiper:null,init:Z.init.bind(this),update:Z.update.bind(this),onThumbClick:Z.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===T.use&&(T.use=T.Class.use,T.installModule=T.Class.installModule),T.use(Q),T});
13
+ //# sourceMappingURL=swiper.min.js.map
includes/{AJAX.php → ajax.php} RENAMED
@@ -1,229 +1,223 @@
1
- <?php
2
-
3
- if (!defined('ABSPATH'))
4
- exit;
5
-
6
- if (!class_exists('QLIGG_AJAX')) {
7
-
8
- class QLIGG_AJAX {
9
-
10
- protected static $instance;
11
-
12
- function save_igadvs() {
13
-
14
- if (!empty($_REQUEST) && check_admin_referer('qligg_save_igadvs', 'ig_nonce')) {
15
-
16
- $igs_flush = isset($_REQUEST['igs_flush']) && $_REQUEST['igs_flush'] ? true : false;
17
- $igs_spinner_image_id = isset($_REQUEST['igs_spinner_image_id']) ? absint($_REQUEST['igs_spinner_image_id']) : '';
18
-
19
- $insta_gallery_setting = array(
20
- 'igs_flush' => $igs_flush,
21
- 'igs_spinner_image_id' => $igs_spinner_image_id
22
- );
23
-
24
- update_option('insta_gallery_setting', $insta_gallery_setting, false);
25
-
26
- wp_send_json_success(__('Settings updated successfully', 'insta-gallery'));
27
- }
28
-
29
- wp_send_json_error(__('Invalid Request', 'insta-gallery'));
30
- }
31
-
32
- function generate_token() {
33
-
34
- global $qligg, $qligg_api;
35
-
36
- if (!empty($_REQUEST) && check_admin_referer('qligg_generate_token', 'ig_nonce')) {
37
-
38
- if (empty($_REQUEST['ig_access_token'])) {
39
- wp_send_json_error(__('Invalid access token', 'insta-gallery'));
40
- }
41
-
42
- $access_token = sanitize_text_field($_REQUEST['ig_access_token']);
43
-
44
- if (count($access_token_id = explode('.', $access_token)) == 1) {
45
- wp_send_json_error(__('Invalid access token', 'insta-gallery'));
46
- }
47
-
48
- if (!$qligg_api->validate_token($access_token)) {
49
- wp_send_json_error(__('Invalid access token', 'insta-gallery'));
50
- }
51
-
52
- if (isset($qligg[$access_token_id[0]]) && $qligg[$access_token_id[0]] == $access_token) {
53
- wp_send_json_error(__('Account already connected. To connect a new account logout from Instagram in this browser.', 'insta-gallery'));
54
- }
55
-
56
- $qligg[$access_token_id[0]] = $access_token;
57
-
58
- qligg_save_options();
59
-
60
- wp_send_json_success(__('Access token created', 'insta-gallery'));
61
- }
62
-
63
- wp_send_json_error(__('Invalid Request', 'insta-gallery'));
64
- }
65
-
66
- function remove_token() {
67
-
68
- global $qligg;
69
-
70
- if (!empty($_REQUEST) && check_admin_referer('qligg_generate_token', 'ig_nonce')) {
71
-
72
- if (!isset($_REQUEST['item_id'])) {
73
- wp_send_json_error(__('Invalid item id', 'insta-gallery'));
74
- }
75
-
76
- $item_id = sanitize_text_field($_REQUEST['item_id']);
77
-
78
- unset($qligg[$item_id]);
79
-
80
- qligg_save_options();
81
-
82
- wp_send_json_success(__('Token removed successfully', 'insta-gallery'));
83
- }
84
-
85
- wp_send_json_error(__('Invalid Request', 'insta-gallery'));
86
- }
87
-
88
- function update_form() {
89
-
90
- global $qligg, $qligg_api;
91
-
92
- if (!empty($_REQUEST) && check_admin_referer('qligg_update_form', 'ig_nonce')) {
93
-
94
- $item_id = isset($_REQUEST['item_id']) ? absint($_REQUEST['item_id']) : 0;
95
-
96
- if (empty($item_type = $_REQUEST['insta_source'])) {
97
- wp_send_json_error(__('Select gallery item type', 'insta-gallery'));
98
- }
99
- if ($item_type == 'username' && empty($_REQUEST['insta_username'])) {
100
- wp_send_json_error(__('Username is empty', 'insta-gallery'));
101
- }
102
- if ($item_type == 'tag' && empty($_REQUEST['insta_tag'])) {
103
- wp_send_json_error(__('Tag is empty', 'insta-gallery'));
104
- }
105
-
106
- $instagram_feed = array();
107
-
108
- $instagram_feed['insta_source'] = @$_REQUEST['insta_source'];
109
- $instagram_feed['insta_layout'] = @$_REQUEST['insta_layout'];
110
- $instagram_feed['insta_username'] = @$_REQUEST['insta_username'];
111
- $instagram_feed['insta_tag'] = @$_REQUEST['insta_tag'];
112
- $instagram_feed['insta_limit'] = @$_REQUEST['insta_limit'];
113
- $instagram_feed['insta_gal-cols'] = @$_REQUEST['insta_gal-cols'];
114
- $instagram_feed['insta_spacing'] = @$_REQUEST['insta_spacing'];
115
- $instagram_feed['insta_button'] = @$_REQUEST['insta_button'];
116
- $instagram_feed['insta_button-text'] = trim(esc_html(@$_REQUEST['insta_button-text']));
117
- $instagram_feed['insta_button-background'] = sanitize_text_field(@$_REQUEST['insta_button-background']);
118
- $instagram_feed['insta_button-background-hover'] = sanitize_text_field(@$_REQUEST['insta_button-background-hover']);
119
- $instagram_feed['insta_button_load'] = @$_REQUEST['insta_button_load'];
120
- $instagram_feed['insta_button_load-text'] = trim(esc_html(@$_REQUEST['insta_button_load-text']));
121
- $instagram_feed['insta_button_load-background'] = sanitize_text_field(@$_REQUEST['insta_button_load-background']);
122
- $instagram_feed['insta_button_load-background-hover'] = sanitize_text_field(@$_REQUEST['insta_button_load-background-hover']);
123
- $instagram_feed['insta_car-slidespv'] = @$_REQUEST['insta_car-slidespv'];
124
- $instagram_feed['insta_car-autoplay'] = @$_REQUEST['insta_car-autoplay'];
125
- $instagram_feed['insta_car-autoplay-interval'] = @$_REQUEST['insta_car-autoplay-interval'];
126
- $instagram_feed['insta_car-navarrows'] = @$_REQUEST['insta_car-navarrows'];
127
- $instagram_feed['insta_car-navarrows-color'] = sanitize_text_field(@$_REQUEST['insta_car-navarrows-color']);
128
- $instagram_feed['insta_car-pagination'] = @$_REQUEST['insta_car-pagination'];
129
- $instagram_feed['insta_car-pagination-color'] = sanitize_text_field(@$_REQUEST['insta_car-pagination-color']);
130
- $instagram_feed['insta_thumb-size'] = @$_REQUEST['insta_thumb-size'];
131
- $instagram_feed['insta_hover'] = @$_REQUEST['insta_hover'];
132
- $instagram_feed['insta_hover-color'] = sanitize_text_field(@$_REQUEST['insta_hover-color']);
133
- $instagram_feed['insta_popup'] = @$_REQUEST['insta_popup'];
134
- $instagram_feed['insta_popup-profile'] = @$_REQUEST['insta_popup-profile'];
135
- $instagram_feed['insta_popup-caption'] = @$_REQUEST['insta_popup-caption'];
136
- $instagram_feed['insta_popup-likes'] = @$_REQUEST['insta_popup-likes'];
137
- $instagram_feed['insta_popup-align'] = @$_REQUEST['insta_popup-align'];
138
- $instagram_feed['insta_likes'] = @$_REQUEST['insta_likes'];
139
- $instagram_feed['insta_comments'] = @$_REQUEST['insta_comments'];
140
-
141
- // Removing @, # and trimming input
142
- // ---------------------------------------------------------------------
143
- $instagram_feed['insta_username'] = trim($instagram_feed['insta_username']);
144
- $instagram_feed['insta_username'] = str_replace('@', '', $instagram_feed['insta_username']);
145
- $instagram_feed['insta_username'] = str_replace('#', '', $instagram_feed['insta_username']);
146
- $instagram_feed['insta_username'] = str_replace($qligg_api->instagram_url, '', $instagram_feed['insta_username']);
147
- $instagram_feed['insta_username'] = str_replace('/', '', $instagram_feed['insta_username']);
148
-
149
- $instagram_feed['insta_tag'] = trim($instagram_feed['insta_tag']);
150
- $instagram_feed['insta_tag'] = str_replace('@', '', $instagram_feed['insta_tag']);
151
- $instagram_feed['insta_tag'] = str_replace('#', '', $instagram_feed['insta_tag']);
152
- $instagram_feed['insta_tag'] = str_replace("{$qligg_api->instagram_url}/explore/tags/", '', $instagram_feed['insta_tag']);
153
- $instagram_feed['insta_tag'] = str_replace('/', '', $instagram_feed['insta_tag']);
154
-
155
- $instagram_feeds = get_option('insta_gallery_items', array());
156
-
157
- if ($item_id > 0) {
158
- $instagram_feeds[$item_id] = $instagram_feed;
159
- } else {
160
- $instagram_feeds[] = $instagram_feed;
161
-
162
- if (isset($instagram_feeds[0])) {
163
- $instagram_feeds[] = $instagram_feeds[0];
164
- unset($instagram_feeds[0]);
165
- }
166
-
167
- $item_id = count($instagram_feeds);
168
- }
169
-
170
- update_option('insta_gallery_items', $instagram_feeds);
171
-
172
- wp_send_json_success(admin_url("admin.php?page=qligg_feeds&tab=edit&item_id={$item_id}"));
173
- }
174
-
175
- wp_send_json_error(__('Invalid Request', 'insta-gallery'));
176
- }
177
-
178
- function form_item_delete() {
179
-
180
- if (isset($_REQUEST['item_id'])) {
181
-
182
- $instagram_feeds = get_option('insta_gallery_items');
183
-
184
- $item_id = absint($_REQUEST['item_id']);
185
-
186
- if (isset($instagram_feeds[$item_id])) {
187
-
188
- unset($instagram_feeds[$item_id]);
189
-
190
- update_option('insta_gallery_items', $instagram_feeds, false);
191
- }
192
-
193
- wp_send_json_success(admin_url("admin.php?page=qligg_feeds"));
194
- }
195
-
196
- wp_send_json_error(__('Invalid Request', 'insta-gallery'));
197
- }
198
-
199
- function init() {
200
- // Settings
201
- add_action('wp_ajax_qligg_save_igadvs', array($this, 'save_igadvs'));
202
-
203
- // Token
204
- // -----------------------------------------------------------------------
205
- //add_action('wp_ajax_qligg_update_token', array($this, 'update_token'));
206
- add_action('wp_ajax_qligg_generate_token', array($this, 'generate_token'));
207
- add_action('wp_ajax_qligg_remove_token', array($this, 'remove_token'));
208
-
209
- // Settings
210
- // -----------------------------------------------------------------------
211
- add_action('wp_ajax_qligg_update_form', array($this, 'update_form'));
212
- add_action('wp_ajax_qligg_form_item_delete', array($this, 'form_item_delete'));
213
-
214
-
215
- //add_action('admin_init', array($this, 'admin_init'));
216
- }
217
-
218
- public static function instance() {
219
- if (!isset(self::$instance)) {
220
- self::$instance = new self();
221
- self::$instance->init();
222
- }
223
- return self::$instance;
224
- }
225
-
226
- }
227
-
228
- QLIGG_AJAX::instance();
229
- }
1
+ <?php
2
+
3
+ if (!defined('ABSPATH'))
4
+ exit;
5
+
6
+ if (!class_exists('QLIGG_AJAX')) {
7
+
8
+ class QLIGG_AJAX {
9
+
10
+ protected static $instance;
11
+
12
+ function save_settings() {
13
+
14
+ global $qligg;
15
+
16
+ if (check_admin_referer('qligg_save_settings', 'ig_nonce')) {
17
+
18
+ $keys = array(
19
+ 'insta_license' => 0,
20
+ 'insta_flush' => 0,
21
+ 'insta_spinner_image_id' => 0
22
+ );
23
+
24
+ $qligg = wp_parse_args(array_intersect_key($_REQUEST, $keys), $qligg);
25
+
26
+ update_option('insta_gallery_settings', $qligg, false);
27
+
28
+ wp_send_json_success(__('Settings updated successfully', 'insta-gallery'));
29
+ }
30
+
31
+ wp_send_json_error(__('Invalid Request', 'insta-gallery'));
32
+ }
33
+
34
+ function generate_token() {
35
+
36
+ global $qligg_token, $qligg_api;
37
+
38
+ if (!empty($_REQUEST) && check_admin_referer('qligg_generate_token', 'ig_nonce')) {
39
+
40
+ if (empty($_REQUEST['ig_access_token'])) {
41
+ wp_send_json_error(__('Invalid access token', 'insta-gallery'));
42
+ }
43
+
44
+ $access_token = sanitize_text_field($_REQUEST['ig_access_token']);
45
+
46
+ if (count($access_token_id = explode('.', $access_token)) == 1) {
47
+ wp_send_json_error(__('Invalid access token', 'insta-gallery'));
48
+ }
49
+
50
+ if (!$qligg_api->validate_token($access_token)) {
51
+ wp_send_json_error(__('Invalid access token', 'insta-gallery'));
52
+ }
53
+
54
+ if (isset($qligg_token[$access_token_id[0]]) && $qligg_token[$access_token_id[0]] == $access_token) {
55
+ wp_send_json_error(__('Account already connected. To connect a new account logout from Instagram in this browser.', 'insta-gallery'));
56
+ }
57
+
58
+ $new_token = array(
59
+ $access_token_id[0] => $access_token
60
+ );
61
+
62
+ update_option('insta_gallery_token', apply_filters('qligg_update_insta_gallery_token', $new_token), false);
63
+ delete_transient('insta_gallery_user_profile');
64
+
65
+ wp_send_json_success(__('Access token created', 'insta-gallery'));
66
+ }
67
+
68
+ wp_send_json_error(__('Invalid Request', 'insta-gallery'));
69
+ }
70
+
71
+ function remove_token() {
72
+
73
+ global $qligg_token;
74
+
75
+ if (!empty($_REQUEST) && check_admin_referer('qligg_generate_token', 'ig_nonce')) {
76
+
77
+ if (!isset($_REQUEST['item_id'])) {
78
+ wp_send_json_error(__('Invalid item id', 'insta-gallery'));
79
+ }
80
+
81
+ $item_id = sanitize_text_field($_REQUEST['item_id']);
82
+
83
+ unset($qligg_token[$item_id]);
84
+
85
+ update_option('insta_gallery_token', $qligg_token, false);
86
+ delete_transient('insta_gallery_user_profile');
87
+
88
+ wp_send_json_success(__('Token removed successfully', 'insta-gallery'));
89
+ }
90
+
91
+ wp_send_json_error(__('Invalid Request', 'insta-gallery'));
92
+ }
93
+
94
+ function update_form() {
95
+
96
+ global $qligg_token, $qligg_api;
97
+
98
+ if (!empty($_REQUEST) && check_admin_referer('qligg_update_form', 'ig_nonce')) {
99
+
100
+ if (empty($item_type = $_REQUEST['insta_source'])) {
101
+ wp_send_json_error(__('Select gallery item type', 'insta-gallery'));
102
+ }
103
+ if ($item_type == 'username' && empty($_REQUEST['insta_username'])) {
104
+ wp_send_json_error(__('Username is empty', 'insta-gallery'));
105
+ }
106
+ if ($item_type == 'tag' && empty($_REQUEST['insta_tag'])) {
107
+ wp_send_json_error(__('Tag is empty', 'insta-gallery'));
108
+ }
109
+
110
+ $instagram_feed = array();
111
+
112
+ $instagram_feed['insta_source'] = @$_REQUEST['insta_source'];
113
+ $instagram_feed['insta_layout'] = @$_REQUEST['insta_layout'];
114
+ $instagram_feed['insta_username'] = @$_REQUEST['insta_username'];
115
+ $instagram_feed['insta_tag'] = @$_REQUEST['insta_tag'];
116
+ $instagram_feed['insta_limit'] = @$_REQUEST['insta_limit'];
117
+ $instagram_feed['insta_gal-cols'] = @$_REQUEST['insta_gal-cols'];
118
+ $instagram_feed['insta_spacing'] = @$_REQUEST['insta_spacing'];
119
+ $instagram_feed['insta_button'] = @$_REQUEST['insta_button'];
120
+ $instagram_feed['insta_button-text'] = trim(esc_html(@$_REQUEST['insta_button-text']));
121
+ $instagram_feed['insta_button-background'] = sanitize_text_field(@$_REQUEST['insta_button-background']);
122
+ $instagram_feed['insta_button-background-hover'] = sanitize_text_field(@$_REQUEST['insta_button-background-hover']);
123
+ //$instagram_feed['insta_button_load'] = @$_REQUEST['insta_button_load'];
124
+ //$instagram_feed['insta_button_load-text'] = trim(esc_html(@$_REQUEST['insta_button_load-text']));
125
+ //$instagram_feed['insta_button_load-background'] = sanitize_text_field(@$_REQUEST['insta_button_load-background']);
126
+ //$instagram_feed['insta_button_load-background-hover'] = sanitize_text_field(@$_REQUEST['insta_button_load-background-hover']);
127
+ $instagram_feed['insta_car-slidespv'] = @$_REQUEST['insta_car-slidespv'];
128
+ $instagram_feed['insta_car-autoplay'] = @$_REQUEST['insta_car-autoplay'];
129
+ $instagram_feed['insta_car-autoplay-interval'] = @$_REQUEST['insta_car-autoplay-interval'];
130
+ $instagram_feed['insta_car-navarrows'] = @$_REQUEST['insta_car-navarrows'];
131
+ $instagram_feed['insta_car-navarrows-color'] = sanitize_text_field(@$_REQUEST['insta_car-navarrows-color']);
132
+ $instagram_feed['insta_car-pagination'] = @$_REQUEST['insta_car-pagination'];
133
+ $instagram_feed['insta_car-pagination-color'] = sanitize_text_field(@$_REQUEST['insta_car-pagination-color']);
134
+ $instagram_feed['insta_size'] = @$_REQUEST['insta_size'];
135
+ $instagram_feed['insta_hover'] = @$_REQUEST['insta_hover'];
136
+ $instagram_feed['insta_hover-color'] = sanitize_text_field(@$_REQUEST['insta_hover-color']);
137
+ $instagram_feed['insta_popup'] = @$_REQUEST['insta_popup'];
138
+ //$instagram_feed['insta_popup-profile'] = @$_REQUEST['insta_popup-profile'];
139
+ //$instagram_feed['insta_popup-caption'] = @$_REQUEST['insta_popup-caption'];
140
+ //$instagram_feed['insta_popup-likes'] = @$_REQUEST['insta_popup-likes'];
141
+ //$instagram_feed['insta_popup-align'] = @$_REQUEST['insta_popup-align'];
142
+ $instagram_feed['insta_likes'] = @$_REQUEST['insta_likes'];
143
+ $instagram_feed['insta_comments'] = @$_REQUEST['insta_comments'];
144
+
145
+ // Removing @, # and trimming input
146
+ // ---------------------------------------------------------------------
147
+ $instagram_feed['insta_username'] = trim($instagram_feed['insta_username']);
148
+ $instagram_feed['insta_username'] = str_replace('@', '', $instagram_feed['insta_username']);
149
+ $instagram_feed['insta_username'] = str_replace('#', '', $instagram_feed['insta_username']);
150
+ $instagram_feed['insta_username'] = str_replace($qligg_api->instagram_url, '', $instagram_feed['insta_username']);
151
+ $instagram_feed['insta_username'] = str_replace('/', '', $instagram_feed['insta_username']);
152
+
153
+ $instagram_feed['insta_tag'] = trim($instagram_feed['insta_tag']);
154
+ $instagram_feed['insta_tag'] = str_replace('@', '', $instagram_feed['insta_tag']);
155
+ $instagram_feed['insta_tag'] = str_replace('#', '', $instagram_feed['insta_tag']);
156
+ $instagram_feed['insta_tag'] = str_replace("{$qligg_api->instagram_url}/explore/tags/", '', $instagram_feed['insta_tag']);
157
+ $instagram_feed['insta_tag'] = str_replace('/', '', $instagram_feed['insta_tag']);
158
+
159
+ $instagram_feeds = get_option('insta_gallery_items', array());
160
+
161
+ $item_id = isset($_REQUEST['item_id']) ? absint($_REQUEST['item_id']) : count($instagram_feeds) + 1;
162
+
163
+ $instagram_feeds[$item_id] = $instagram_feed;
164
+
165
+ update_option('insta_gallery_items', apply_filters('qligg_update_insta_gallery_items', $instagram_feeds, $item_id));
166
+
167
+ wp_send_json_success(admin_url("admin.php?page=qligg_feeds&tab=edit&item_id={$item_id}"));
168
+ }
169
+
170
+ wp_send_json_error(__('Invalid Request', 'insta-gallery'));
171
+ }
172
+
173
+ function form_item_delete() {
174
+
175
+ if (isset($_REQUEST['item_id'])) {
176
+
177
+ $instagram_feeds = get_option('insta_gallery_items');
178
+
179
+ $item_id = absint($_REQUEST['item_id']);
180
+
181
+ if (isset($instagram_feeds[$item_id])) {
182
+
183
+ unset($instagram_feeds[$item_id]);
184
+
185
+ update_option('insta_gallery_items', $instagram_feeds, false);
186
+ }
187
+
188
+ wp_send_json_success(admin_url("admin.php?page=qligg_feeds"));
189
+ }
190
+
191
+ wp_send_json_error(__('Invalid Request', 'insta-gallery'));
192
+ }
193
+
194
+ function init() {
195
+ // Settings
196
+ add_action('wp_ajax_qligg_save_settings', array($this, 'save_settings'));
197
+
198
+ // Token
199
+ // -----------------------------------------------------------------------
200
+ add_action('wp_ajax_qligg_generate_token', array($this, 'generate_token'));
201
+ add_action('wp_ajax_qligg_remove_token', array($this, 'remove_token'));
202
+
203
+ // Settings
204
+ // -----------------------------------------------------------------------
205
+ add_action('wp_ajax_qligg_update_form', array($this, 'update_form'));
206
+ add_action('wp_ajax_qligg_form_item_delete', array($this, 'form_item_delete'));
207
+
208
+
209
+ //add_action('admin_init', array($this, 'admin_init'));
210
+ }
211
+
212
+ public static function instance() {
213
+ if (!isset(self::$instance)) {
214
+ self::$instance = new self();
215
+ self::$instance->init();
216
+ }
217
+ return self::$instance;
218
+ }
219
+
220
+ }
221
+
222
+ QLIGG_AJAX::instance();
223
+ }
 
 
 
 
 
 
includes/{API.php → api.php} RENAMED
@@ -13,7 +13,11 @@ if (!class_exists('QLIGG_API')) {
13
  private $api_url = 'https://api.instagram.com';
14
 
15
  public function get_create_account_link() {
16
- return $this->instagram_url . '/oauth/authorize/?client_id=6e628e63145746bcb684912009514665&scope=basic+public_content&redirect_uri=https://instagram.quadlayers.com/index.php?return_uri=' . admin_url('admin.php?page-qligg_token') . '&response_type=token&state=' . admin_url('admin.php?page-qligg_token') . '&hl=en';
 
 
 
 
17
  }
18
 
19
  // API generate code generation url
13
  private $api_url = 'https://api.instagram.com';
14
 
15
  public function get_create_account_link() {
16
+
17
+ $admin_url = admin_url('admin.php?page-qligg_token');
18
+ $client_id = '6e628e63145746bcb684912009514665';
19
+
20
+ return "{$this->instagram_url}/oauth/authorize/?client_id={$client_id}&scope=basic+public_content&redirect_uri=https://instagram.quadlayers.com/index.php?return_uri={$admin_url}&response_type=token&state={$admin_url}&hl=en";
21
  }
22
 
23
  // API generate code generation url
includes/defaults.php CHANGED
@@ -1,192 +1,217 @@
1
- <?php
2
-
3
- if (!defined('ABSPATH'))
4
- exit;
5
-
6
- if (!class_exists('QLIGG_Options')) {
7
-
8
- class QLIGG_Options {
9
-
10
- protected static $instance;
11
- public $instagram_feed = array(
12
- 'insta_source' => 'username',
13
- 'insta_layout' => 'gallery',
14
- 'insta_tag' => '',
15
- 'insta_username' => '',
16
- 'insta_limit' => 12,
17
- 'insta_spacing' => 10,
18
- 'insta_button' => true,
19
- 'insta_button-text' => 'View on Instagram',
20
- 'insta_button-background' => '',
21
- 'insta_button-background-hover' => '',
22
- 'insta_button_load' => true,
23
- 'insta_button_load-text' => 'Load more...',
24
- 'insta_button_load-background' => '',
25
- 'insta_button_load-background-hover' => '',
26
- 'insta_gal-cols' => 3,
27
- 'insta_car-slidespv' => 5,
28
- 'insta_car-autoplay' => true,
29
- 'insta_car-autoplay-interval' => '3000',
30
- 'insta_car-navarrows' => true,
31
- 'insta_car-navarrows-color' => '',
32
- 'insta_car-pagination' => true,
33
- 'insta_car-pagination-color' => '',
34
- 'insta_thumb-size' => 'standard',
35
- 'insta_hover' => true,
36
- 'insta_hover-color' => '',
37
- 'insta_popup' => true,
38
- 'insta_popup-profile' => false,
39
- 'insta_popup-caption' => false,
40
- 'insta_popup-likes' => false,
41
- 'insta_popup-align' => 'bottom',
42
- 'insta_likes' => true,
43
- 'insta_comments' => true
44
- );
45
-
46
- /* function defaults() {
47
-
48
- $this->defaults = array(
49
- '3617511663' => '3617511663.6e628e6.b9ce4730be83482f84943bc2cbfdd077',
50
- );
51
-
52
- return $this->defaults;
53
- } */
54
-
55
- function options() {
56
-
57
- global $qligg;
58
-
59
- $qligg = get_option('insta_gallery_token', get_option('insta_gallery_iac', array()));
60
- }
61
-
62
- function rename_insta_gallery_token($qligg = array()) {
63
-
64
- if (isset($qligg['access_token'])) {
65
-
66
- $access_token = base64_decode($qligg['access_token']);
67
-
68
- $access_token_id = explode('.', $access_token);
69
-
70
- $qligg = array(
71
- $access_token_id[0] => $access_token
72
- );
73
- }
74
-
75
- return $qligg;
76
- }
77
-
78
- function rename_insta_gallery_items($instagram_feeds = array()) {
79
-
80
- global $qligg;
81
-
82
- // Backward compatibility v2.2.3
83
- // -----------------------------------------------------------------------
84
-
85
- foreach ($instagram_feeds as $id => $instagram_feed) {
86
-
87
- if (!isset($instagram_feed['insta_username']) && !empty($instagram_feed['insta_user'])) {
88
- $instagram_feeds[$id]['insta_username'] = key($qligg);
89
- }
90
-
91
- if (!isset($instagram_feed['insta_source']) && !empty($instagram_feed['ig_select_from'])) {
92
- $instagram_feeds[$id]['insta_source'] = $instagram_feed['ig_select_from'];
93
- }
94
-
95
- if (!isset($instagram_feed['insta_layout']) && !empty($instagram_feed['ig_display_type'])) {
96
- $instagram_feeds[$id]['insta_layout'] = $instagram_feed['ig_display_type'];
97
- }
98
-
99
- if (empty($instagram_feed['insta_button-text'])) {
100
- $instagram_feeds[$id]['insta_button-text'] = 'View on Instagram';
101
- }
102
-
103
- if (empty($instagram_feed['insta_button']) && !empty($instagram_feed['insta_instalink'])) {
104
- $instagram_feeds[$id]['insta_button'] = $instagram_feed['insta_instalink'];
105
- }
106
- if (empty($instagram_feed['insta_button-text']) && !empty($instagram_feed['insta_instalink-text'])) {
107
- $instagram_feeds[$id]['insta_button-text'] = $instagram_feed['insta_instalink-text'];
108
- }
109
- if (empty($instagram_feed['insta_button-background']) && !empty($instagram_feed['insta_instalink-bgcolor'])) {
110
- $instagram_feeds[$id]['insta_button-background'] = $instagram_feed['insta_instalink-bgcolor'];
111
- }
112
- if (empty($instagram_feed['insta_button-background-hover']) && !empty($instagram_feed['insta_instalink-hvrcolor'])) {
113
- $instagram_feeds[$id]['insta_button-background-hover'] = $instagram_feed['insta_instalink-hvrcolor'];
114
- }
115
-
116
- if (!isset($instagram_feed['insta_limit'])) {
117
-
118
- $instagram_feeds[$id]['insta_limit'] = 12;
119
-
120
- if (isset($instagram_feed['insta_source']) && $instagram_feed['insta_source'] == 'username') {
121
- $instagram_feeds[$id]['insta_limit'] = absint($instagram_feed['insta_user-limit']);
122
- }
123
-
124
- if (isset($instagram_feed['insta_source']) && $instagram_feed['insta_source'] == 'tag') {
125
- $instagram_feeds[$id]['insta_limit'] = absint($instagram_feed['insta_tag-limit']);
126
- }
127
- }
128
-
129
- if (!isset($instagram_feed['insta_spacing'])) {
130
-
131
- $instagram_feeds[$id]['insta_spacing'] = 0;
132
-
133
- if (!empty($instagram_feed['insta_gal-spacing']) && $instagram_feed['insta_layout'] == 'gallery') {
134
- $instagram_feeds[$id]['insta_spacing'] = 10;
135
- }
136
-
137
- if (!empty($instagram_feed['insta_car-spacing']) && $instagram_feed['insta_layout'] == 'carousel') {
138
- $instagram_feeds[$id]['insta_spacing'] = 10;
139
- }
140
- }
141
-
142
- if (!isset($instagram_feed['insta_hover'])) {
143
-
144
- $instagram_feeds[$id]['insta_hover'] = true;
145
-
146
- if (isset($instagram_feed['insta_gal-hover']) && $instagram_feed['insta_layout'] == 'gallery') {
147
- $instagram_feeds[$id]['insta_hover'] = $instagram_feed['insta_gal-hover'];
148
- }
149
-
150
- if (isset($instagram_feed['insta_car-hover']) && $instagram_feed['insta_layout'] == 'carousel') {
151
- $instagram_feeds[$id]['insta_hover'] = $instagram_feed['insta_car-hover'];
152
- }
153
- }
154
-
155
- if (!isset($instagram_feed['insta_popup'])) {
156
-
157
- $instagram_feeds[$id]['insta_popup'] = true;
158
-
159
- if (isset($instagram_feed['insta_gal-popup']) && $instagram_feed['insta_layout'] == 'gallery') {
160
- $instagram_feeds[$id]['insta_popup'] = $instagram_feed['insta_gal-popup'];
161
- }
162
-
163
- if (isset($instagram_feed['insta_car-popup']) && $instagram_feed['insta_layout'] == 'carousel') {
164
- $instagram_feeds[$id]['insta_popup'] = $instagram_feed['insta_car-popup'];
165
- }
166
- }
167
- }
168
-
169
- return $instagram_feeds;
170
- }
171
-
172
- function init() {
173
- add_filter('option_insta_gallery_iac', array($this, 'rename_insta_gallery_token'), 10);
174
- add_filter('option_insta_gallery_token', array($this, 'rename_insta_gallery_token'), 10);
175
- add_filter('option_insta_gallery_items', array($this, 'rename_insta_gallery_items'), 10);
176
- add_action('init', array($this, 'options'));
177
- //add_filter('default_option_insta_gallery_items', array($this, 'insta_gallery_items'), 10);
178
- }
179
-
180
- public static function instance() {
181
- if (!isset(self::$instance)) {
182
- self::$instance = new self();
183
- //self::$instance->defaults();
184
- self::$instance->init();
185
- }
186
- return self::$instance;
187
- }
188
-
189
- }
190
-
191
- QLIGG_Options::instance();
192
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!defined('ABSPATH'))
4
+ exit;
5
+
6
+ if (!class_exists('QLIGG_Options')) {
7
+
8
+ class QLIGG_Options {
9
+
10
+ protected static $instance;
11
+ public $instagram_feed = array(
12
+ 'insta_source' => 'username',
13
+ 'insta_tag' => '',
14
+ 'insta_username' => '',
15
+ 'insta_layout' => 'gallery',
16
+ // Box
17
+ // ---------------------------------------------------------------------
18
+ 'insta_box' => false,
19
+ 'insta_box-padding' => 0,
20
+ 'insta_box-radius' => 0,
21
+ 'insta_box-background' => false,
22
+ 'insta_box-profile' => false,
23
+ 'insta_box-desc' => false,
24
+ // Carousel
25
+ // ---------------------------------------------------------------------
26
+ 'insta_car-slidespv' => 5,
27
+ 'insta_car-autoplay' => true,
28
+ 'insta_car-autoplay-interval' => '3000',
29
+ 'insta_car-navarrows' => true,
30
+ 'insta_car-navarrows-color' => '',
31
+ 'insta_car-pagination' => true,
32
+ 'insta_car-pagination-color' => '',
33
+ // Gallery
34
+ // ---------------------------------------------------------------------
35
+ 'insta_gal-cols' => 3,
36
+ // General
37
+ // ---------------------------------------------------------------------
38
+ 'insta_limit' => 12,
39
+ 'insta_spacing' => 10,
40
+ 'insta_size' => 'standard',
41
+ // Mask
42
+ // ---------------------------------------------------------------------
43
+ 'insta_hover' => true,
44
+ 'insta_hover-color' => '',
45
+ 'insta_likes' => true,
46
+ 'insta_comments' => true,
47
+ // Button
48
+ // ---------------------------------------------------------------------
49
+ 'insta_button' => true,
50
+ 'insta_button-text' => 'View on Instagram',
51
+ 'insta_button-background' => '',
52
+ 'insta_button-background-hover' => '',
53
+ // Popup
54
+ // ---------------------------------------------------------------------
55
+ 'insta_popup' => true,
56
+ // Premium
57
+ // ---------------------------------------------------------------------
58
+ 'insta_popup-profile' => false,
59
+ 'insta_popup-caption' => false,
60
+ 'insta_popup-likes' => false,
61
+ 'insta_popup-align' => 'bottom',
62
+ 'insta_button_load' => false,
63
+ 'insta_button_load-text' => 'Load more...',
64
+ 'insta_button_load-background' => '',
65
+ 'insta_button_load-background-hover' => '',
66
+ );
67
+
68
+ /* function defaults() {
69
+
70
+ $this->defaults = array(
71
+ '3617511663' => '3617511663.6e628e6.b9ce4730be83482f84943bc2cbfdd077',
72
+ );
73
+
74
+ return $this->defaults;
75
+ } */
76
+
77
+ function options() {
78
+
79
+ global $qligg, $qligg_token;
80
+
81
+ $qligg = get_option('insta_gallery_settings', array());
82
+
83
+ $qligg_token = get_option('insta_gallery_token', get_option('insta_gallery_iac', array()));
84
+ }
85
+
86
+ function rename_insta_gallery_token($qligg_token = array()) {
87
+
88
+ if (isset($qligg_token['access_token'])) {
89
+
90
+ $access_token = base64_decode($qligg_token['access_token']);
91
+
92
+ $access_token_id = explode('.', $access_token);
93
+
94
+ $qligg_token = array(
95
+ $access_token_id[0] => $access_token
96
+ );
97
+ }
98
+
99
+ return $qligg_token;
100
+ }
101
+
102
+ function rename_insta_gallery_items($instagram_feeds = array()) {
103
+
104
+ global $qligg_token;
105
+
106
+ // Backward compatibility v2.2.3
107
+ // -----------------------------------------------------------------------
108
+
109
+ foreach ($instagram_feeds as $id => $instagram_feed) {
110
+
111
+ if (!isset($instagram_feed['insta_username']) && !empty($instagram_feed['insta_user'])) {
112
+ $instagram_feeds[$id]['insta_username'] = key($qligg_token);
113
+ }
114
+
115
+ if (!isset($instagram_feed['insta_source']) && !empty($instagram_feed['ig_select_from'])) {
116
+ $instagram_feeds[$id]['insta_source'] = $instagram_feed['ig_select_from'];
117
+ }
118
+
119
+ if (!isset($instagram_feed['insta_layout']) && !empty($instagram_feed['ig_display_type'])) {
120
+ $instagram_feeds[$id]['insta_layout'] = $instagram_feed['ig_display_type'];
121
+ }
122
+
123
+ if (empty($instagram_feed['insta_button-text'])) {
124
+ $instagram_feeds[$id]['insta_button-text'] = 'View on Instagram';
125
+ }
126
+ if (empty($instagram_feed['insta_thumb']) && !empty($instagram_feed['insta_thumb-size'])) {
127
+ $instagram_feeds[$id]['insta_size'] = $instagram_feed['insta_thumb-size'];
128
+ }
129
+ if (empty($instagram_feed['insta_button']) && !empty($instagram_feed['insta_instalink'])) {
130
+ $instagram_feeds[$id]['insta_button'] = $instagram_feed['insta_instalink'];
131
+ }
132
+ if (empty($instagram_feed['insta_button-text']) && !empty($instagram_feed['insta_instalink-text'])) {
133
+ $instagram_feeds[$id]['insta_button-text'] = $instagram_feed['insta_instalink-text'];
134
+ }
135
+ if (empty($instagram_feed['insta_button-background']) && !empty($instagram_feed['insta_instalink-bgcolor'])) {
136
+ $instagram_feeds[$id]['insta_button-background'] = $instagram_feed['insta_instalink-bgcolor'];
137
+ }
138
+ if (empty($instagram_feed['insta_button-background-hover']) && !empty($instagram_feed['insta_instalink-hvrcolor'])) {
139
+ $instagram_feeds[$id]['insta_button-background-hover'] = $instagram_feed['insta_instalink-hvrcolor'];
140
+ }
141
+
142
+ if (!isset($instagram_feed['insta_limit'])) {
143
+
144
+ $instagram_feeds[$id]['insta_limit'] = 12;
145
+
146
+ if (isset($instagram_feed['insta_source']) && $instagram_feed['insta_source'] == 'username') {
147
+ $instagram_feeds[$id]['insta_limit'] = absint($instagram_feed['insta_user-limit']);
148
+ }
149
+
150
+ if (isset($instagram_feed['insta_source']) && $instagram_feed['insta_source'] == 'tag') {
151
+ $instagram_feeds[$id]['insta_limit'] = absint($instagram_feed['insta_tag-limit']);
152
+ }
153
+ }
154
+
155
+ if (!isset($instagram_feed['insta_spacing'])) {
156
+
157
+ $instagram_feeds[$id]['insta_spacing'] = 0;
158
+
159
+ if (!empty($instagram_feed['insta_gal-spacing']) && $instagram_feed['insta_layout'] == 'gallery') {
160
+ $instagram_feeds[$id]['insta_spacing'] = 10;
161
+ }
162
+
163
+ if (!empty($instagram_feed['insta_car-spacing']) && $instagram_feed['insta_layout'] == 'carousel') {
164
+ $instagram_feeds[$id]['insta_spacing'] = 10;
165
+ }
166
+ }
167
+
168
+ if (!isset($instagram_feed['insta_hover'])) {
169
+
170
+ $instagram_feeds[$id]['insta_hover'] = true;
171
+
172
+ if (isset($instagram_feed['insta_gal-hover']) && $instagram_feed['insta_layout'] == 'gallery') {
173
+ $instagram_feeds[$id]['insta_hover'] = $instagram_feed['insta_gal-hover'];
174
+ }
175
+
176
+ if (isset($instagram_feed['insta_car-hover']) && $instagram_feed['insta_layout'] == 'carousel') {
177
+ $instagram_feeds[$id]['insta_hover'] = $instagram_feed['insta_car-hover'];
178
+ }
179
+ }
180
+
181
+ if (!isset($instagram_feed['insta_popup'])) {
182
+
183
+ $instagram_feeds[$id]['insta_popup'] = true;
184
+
185
+ if (isset($instagram_feed['insta_gal-popup']) && $instagram_feed['insta_layout'] == 'gallery') {
186
+ $instagram_feeds[$id]['insta_popup'] = $instagram_feed['insta_gal-popup'];
187
+ }
188
+
189
+ if (isset($instagram_feed['insta_car-popup']) && $instagram_feed['insta_layout'] == 'carousel') {
190
+ $instagram_feeds[$id]['insta_popup'] = $instagram_feed['insta_car-popup'];
191
+ }
192
+ }
193
+ }
194
+
195
+ return $instagram_feeds;
196
+ }
197
+
198
+ function init() {
199
+ add_filter('option_insta_gallery_iac', array($this, 'rename_insta_gallery_token'), 10);
200
+ add_filter('option_insta_gallery_token', array($this, 'rename_insta_gallery_token'), 10);
201
+ add_filter('option_insta_gallery_items', array($this, 'rename_insta_gallery_items'), 10);
202
+ add_action('init', array($this, 'options'));
203
+ }
204
+
205
+ public static function instance() {
206
+ if (!isset(self::$instance)) {
207
+ self::$instance = new self();
208
+ //self::$instance->defaults();
209
+ self::$instance->init();
210
+ }
211
+ return self::$instance;
212
+ }
213
+
214
+ }
215
+
216
+ QLIGG_Options::instance();
217
+ }
includes/frontend.php CHANGED
@@ -50,7 +50,7 @@ if (!class_exists('QLIGG_Frontend')) {
50
 
51
  function load_item_images() {
52
 
53
- global $qligg, $qligg_api;
54
 
55
  if (!isset($_REQUEST['feed']['id'])) {
56
  wp_send_json_error(__('Invalid item id', 'insta-gallery'));
@@ -89,25 +89,27 @@ if (!class_exists('QLIGG_Frontend')) {
89
  $qligg_api->get_message()
90
  );
91
 
92
- include_once($this->template_path('alert.php'));
93
 
94
  wp_send_json_error(ob_get_clean());
95
  }
96
 
97
- function template_path($template_name) {
98
 
99
  if (file_exists(trailingslashit(get_stylesheet_directory()) . "insta-gallery/{$template_name}")) {
100
- return trailingslashit(get_stylesheet_directory()) . "insta-gallery/{$template_name}";
101
  }
102
 
103
  if (file_exists(QLIGG_PLUGIN_DIR . "templates/{$template_name}")) {
104
- return QLIGG_PLUGIN_DIR . "templates/{$template_name}";
105
  }
 
 
106
  }
107
 
108
  function do_shortcode($atts, $content = null) {
109
 
110
- global $qligg, $qligg_api;
111
 
112
  $atts = shortcode_atts(array(
113
  'id' => 0), $atts);
@@ -168,7 +170,7 @@ if (!class_exists('QLIGG_Frontend')) {
168
  'tag' => $instagram_feed['insta_tag'],
169
  'limit' => $instagram_feed['insta_limit'],
170
  'spacing' => $instagram_feed['insta_spacing'],
171
- 'size' => $instagram_feed['insta_thumb-size'],
172
  'hover' => $instagram_feed['insta_hover'],
173
  'comments' => $instagram_feed['insta_comments'],
174
  'likes' => $instagram_feed['insta_likes'],
@@ -208,37 +210,29 @@ if (!class_exists('QLIGG_Frontend')) {
208
  }
209
  }
210
  if (!empty($instagram_feed['insta_hover-color'])) {
211
- echo "#{$item_selector} .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask {background: {$instagram_feed['insta_hover-color']};}";
212
  }
213
  if (!empty($instagram_feed['insta_button-background'])) {
214
- echo "#{$item_selector} .insta-gallery-actions .insta-gallery-button {background: {$instagram_feed['insta_button-background']};}";
215
  }
216
  if (!empty($instagram_feed['insta_button-background-hover'])) {
217
- echo "#{$item_selector} .insta-gallery-actions .insta-gallery-button:hover {background: {$instagram_feed['insta_button-background-hover']};}";
218
- }
219
- if (!empty($instagram_feed['insta_button_load-background'])) {
220
- echo "#{$item_selector} .insta-gallery-actions .insta-gallery-button.load {background: {$instagram_feed['insta_button_load-background']};}";
221
  }
222
- if (!empty($instagram_feed['insta_button_load-background-hover'])) {
223
- echo "#{$item_selector} .insta-gallery-actions .insta-gallery-button.load:hover {background: {$instagram_feed['insta_button_load-background-hover']};}";
224
- }
225
-
226
- if ($instagram_settings = get_option('insta_gallery_setting')) {
227
 
228
- if (!empty($instagram_settings['igs_spinner_image_id'])) {
229
 
230
- $spinner = wp_get_attachment_image_src($instagram_settings['igs_spinner_image_id'], 'full');
231
 
232
- if (!empty($spinner[0])) {
233
- echo "#{$item_selector} .insta-gallery-spinner {background-image:url($spinner[0])}";
234
- }
235
  }
236
  }
 
237
  ?>
238
  </style>
239
  <?php
240
- if ($instagram_feed['insta_layout']) {
241
- include($this->template_path("{$instagram_feed['insta_layout']}.php"));
242
  return ob_get_clean();
243
  }
244
 
50
 
51
  function load_item_images() {
52
 
53
+ global $qligg_token, $qligg_api;
54
 
55
  if (!isset($_REQUEST['feed']['id'])) {
56
  wp_send_json_error(__('Invalid item id', 'insta-gallery'));
89
  $qligg_api->get_message()
90
  );
91
 
92
+ include($this->template_path('alert.php'));
93
 
94
  wp_send_json_error(ob_get_clean());
95
  }
96
 
97
+ function template_path($template_name, $template_file = false) {
98
 
99
  if (file_exists(trailingslashit(get_stylesheet_directory()) . "insta-gallery/{$template_name}")) {
100
+ $template_file = trailingslashit(get_stylesheet_directory()) . "insta-gallery/{$template_name}";
101
  }
102
 
103
  if (file_exists(QLIGG_PLUGIN_DIR . "templates/{$template_name}")) {
104
+ $template_file = QLIGG_PLUGIN_DIR . "templates/{$template_name}";
105
  }
106
+
107
+ return apply_filters('qligg_template_file', $template_file, $template_name);
108
  }
109
 
110
  function do_shortcode($atts, $content = null) {
111
 
112
+ global $qligg, $qligg_token, $qligg_api;
113
 
114
  $atts = shortcode_atts(array(
115
  'id' => 0), $atts);
170
  'tag' => $instagram_feed['insta_tag'],
171
  'limit' => $instagram_feed['insta_limit'],
172
  'spacing' => $instagram_feed['insta_spacing'],
173
+ 'size' => $instagram_feed['insta_size'],
174
  'hover' => $instagram_feed['insta_hover'],
175
  'comments' => $instagram_feed['insta_comments'],
176
  'likes' => $instagram_feed['insta_likes'],
210
  }
211
  }
212
  if (!empty($instagram_feed['insta_hover-color'])) {
213
+ echo "#{$item_selector} .insta-gallery-list .insta-gallery-item .insta-gallery-item-wrap .insta-gallery-image-mask {background-color: {$instagram_feed['insta_hover-color']};}";
214
  }
215
  if (!empty($instagram_feed['insta_button-background'])) {
216
+ echo "#{$item_selector} .insta-gallery-actions .insta-gallery-button {background-color: {$instagram_feed['insta_button-background']};}";
217
  }
218
  if (!empty($instagram_feed['insta_button-background-hover'])) {
219
+ echo "#{$item_selector} .insta-gallery-actions .insta-gallery-button:hover {background-color: {$instagram_feed['insta_button-background-hover']};}";
 
 
 
220
  }
 
 
 
 
 
221
 
222
+ if (!empty($qligg['insta_spinner_image_id'])) {
223
 
224
+ $spinner = wp_get_attachment_image_src($qligg['insta_spinner_image_id'], 'full');
225
 
226
+ if (!empty($spinner[0])) {
227
+ echo "#{$item_selector} .insta-gallery-spinner {background-image:url($spinner[0])}";
 
228
  }
229
  }
230
+ do_action('qligg_template_style', $item_selector, $instagram_feed);
231
  ?>
232
  </style>
233
  <?php
234
+ if ($template_file = $this->template_path("{$instagram_feed['insta_layout']}.php")) {
235
+ include($template_file);
236
  return ob_get_clean();
237
  }
238
 
includes/pages/premium.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="has-2-columns" style="max-width: 100%">
2
+ <div class="column">
3
+ <div class="welcome-header">
4
+ <h1><?php esc_html_e('Premium', 'insta-gallery'); ?></h1>
5
+ <div class="about-description">
6
+ <?php esc_html_e('Unlock the power of our premium Instagram Gallery plugin which allows you to add unlimited Instagram accounts and offers you more layout options.', 'insta-gallery'); ?>
7
+ </div>
8
+ <br/>
9
+ <a class="btn-instagram" target="_blank" href="<?php echo esc_url(QLIGG_PURCHASE_URL); ?>"><?php esc_html_e('Purchase Now', 'insta-gallery'); ?></a>
10
+ <a class="btn-instagram secondary" target="_blank" href="<?php echo esc_url(QLIGG_SUPPORT_URL); ?>"><?php esc_html_e('Get Support', 'insta-gallery'); ?></a>
11
+ </div>
12
+ <hr/>
13
+ <div class="feature-section">
14
+ <h3><?php esc_html_e('Multiple accounts', 'insta-gallery'); ?></h3>
15
+ <p>
16
+ <?php esc_html_e('Include unlimited user accounts and create feeds galleries for different users with their own layout and settings.', 'insta-gallery'); ?>
17
+ </p>
18
+ </div>
19
+ <div class="feature-section">
20
+ <h3><?php esc_html_e('Customize colors', 'insta-gallery'); ?></h3>
21
+ <p>
22
+ <?php esc_html_e('Customize the colors of the Instagram Feed with a custom background, padding, and a rounded border. It also includes the user or tag profile info in the header of the box.', 'insta-gallery'); ?>
23
+ </p>
24
+ </div>
25
+ <div class="feature-section">
26
+ <h3><?php esc_html_e('Load more button', 'insta-gallery'); ?></h3>
27
+ <p>
28
+ <?php esc_html_e('Allow your users to load more images in the gallery providing an improved user experience.', 'insta-gallery'); ?>
29
+ </p>
30
+ </div>
31
+ </div>
32
+ <div class="column">
33
+ <img src="<?php echo plugins_url('/assets/img/instagram-feed.png', QLIGG_PLUGIN_FILE); ?>">
34
+ </div>
35
+ </div>
36
+ <div class="has-2-columns" style="max-width: 100%">
37
+ <div class="column">
38
+ <img src="<?php echo plugins_url('/assets/img/instagram-feed-popup-macbook.png', QLIGG_PLUGIN_FILE); ?>">
39
+ </div>
40
+ <div class="column">
41
+ <br/>
42
+ <div class="welcome-header">
43
+ <h1><?php esc_html_e('More content', 'insta-gallery'); ?></h1>
44
+ <div class="about-description">
45
+ <?php esc_html_e('Include some extra content for the images and the images popup.', 'insta-gallery'); ?>
46
+ </div>
47
+ </div>
48
+ <hr/>
49
+ <div class="feature-section">
50
+ <h3><?php esc_html_e('Popup content', 'wp-whatsapp-chat'); ?></h3>
51
+ <p>
52
+ <?php esc_html_e('Our premium version allows you to include some extra content in the image popup, like the user profile, the image caption, and the number of comments and likes.', 'wp-whatsapp-chat'); ?>
53
+ </p>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ <div class="has-2-columns is-wider-left" style="max-width: 100%">
58
+ <div class="column">
59
+ <div class="welcome-header">
60
+ <h1><?php esc_html_e('Layouts', 'insta-gallery'); ?></h1>
61
+ <div class="about-description">
62
+ <?php esc_html_e('Unlock the power of the masonry and highlight layouts that allows you to display the Instagram Feeds in a grid that supports items of variable size.', 'insta-gallery'); ?>
63
+ </div>
64
+ </div>
65
+ <hr/>
66
+ <div class="feature-section">
67
+ <h3><?php esc_html_e('Masonry layout', 'insta-gallery'); ?></h3>
68
+ <p>
69
+ <?php esc_html_e('The masonry layout is a grid that displays the images with a fixed with and variable height size.', 'insta-gallery'); ?>
70
+ </p>
71
+ </div>
72
+ <div class="feature-section">
73
+ <h3><?php esc_html_e('Highlight layout', 'insta-gallery'); ?></h3>
74
+ <p>
75
+ <?php esc_html_e('The highlight layout is a masonry grid that allows you to stand out some images with two or three columns width size.', 'insta-gallery'); ?>
76
+ </p>
77
+ </div>
78
+ </div>
79
+ <div class="column">
80
+ <img src="<?php echo plugins_url('/assets/img/instagram-feed-load-more.png', QLIGG_PLUGIN_FILE); ?>">
81
+ </div>
82
+ </div>
includes/pages/token.php CHANGED
@@ -2,28 +2,26 @@
2
  if (!defined('ABSPATH'))
3
  exit;
4
  ?>
5
- <?php if (empty($qligg) || !is_array($qligg)) : ?>
6
- <div id="ig-generate-token">
7
- <p>
8
- <a class="btn-instagram" target="_self" href="<?php echo esc_url($qligg_api->get_create_account_link()); ?>" title="<?php _e('Add New Account', 'insta-gallery'); ?>">
9
- <span class="dashicons dashicons-plus"></span>
10
- <?php _e('Add New Account', 'insta-gallery'); ?>
11
- </a>
12
- <span style="float: none; margin-top: 0;" class="spinner"></span>
13
- <a data-qligg-toggle="#ig-update-token" href="#"><?php _e('Button not working?', 'insta-gallery'); ?></a>
 
 
 
14
  </p>
15
- <form id="ig-update-token" class="qligg-box hidden" method="post">
16
- <h4><?php _e('Manually connect an account', 'insta-gallery'); ?></h4>
17
- <p class="field-item">
18
- <input class="widefat" name="ig_access_token" type="text" maxlength="200" placeholder="<?php _e('Enter a valid Access Token', 'insta-gallery'); ?>" required />
19
- </p>
20
- <button type="submit" class="btn-instagram secondary"><?php _e('Update', 'insta-gallery'); ?></button>
21
- <span style="float: none; margin-top: 0;" class="spinner"></span>
22
- <a target="_blank" href="https://quadlayers.com/insta-token/"><?php _e('Get access token', 'insta-gallery'); ?></a>
23
- <?php wp_nonce_field('qligg_update_token', 'ig_nonce'); ?>
24
- </form>
25
- </div>
26
- <?php elseif (count($qligg)) : ?>
27
  <table class="widefat ig-table">
28
  <thead>
29
  <tr>
@@ -37,13 +35,13 @@ if (!defined('ABSPATH'))
37
  </thead>
38
  <tbody>
39
  <?php
40
- foreach ($qligg as $id => $access_token) {
41
  $profile_info = qligg_get_user_profile($id);
42
  ?>
43
  <tr>
44
  <td class="profile-picture"><img src="<?php echo esc_url($profile_info['picture']); ?>" width="30" /></td>
45
  <td><?php echo esc_attr($id); ?></td>
46
- <td>@<?php echo esc_html($profile_info['user']); ?></td>
47
  <td><?php echo esc_html($profile_info['name']); ?></td>
48
  <td>
49
  <input id="<?php echo esc_attr($id); ?>-access-token" type="text" value="<?php echo esc_attr($access_token); ?>" readonly />
@@ -64,7 +62,7 @@ if (!defined('ABSPATH'))
64
  </tbody>
65
  </table>
66
  <?php endif; ?>
67
- <form id="ig-adv-setting" method="post">
68
  <table class="widefat form-table ig-table">
69
  <tbody>
70
  <tr>
@@ -77,17 +75,17 @@ if (!defined('ABSPATH'))
77
  <?php
78
  $mid = '';
79
  $misrc = '';
80
- if (isset($instagram_settings['igs_spinner_image_id'])) {
81
- $mid = $instagram_settings['igs_spinner_image_id'];
82
  $image = wp_get_attachment_image_src($mid);
83
  if ($image) {
84
  $misrc = $image[0];
85
  }
86
  }
87
  ?>
88
- <input type="hidden" name="igs_spinner_image_id" value="<?php echo esc_attr($mid); ?>" data-misrc="<?php echo esc_attr($misrc); ?>" />
89
- <a class="btn-instagram" id="igs-spinner_media_manager" /><?php _e('Upload', 'insta-gallery'); ?></a>
90
- <a class="btn-instagram" id="igs-spinner_reset" /><?php _e('Reset Spinner', 'insta-gallery'); ?></a>
91
  <span class="description">
92
  <?php _e('Please select the image from media to replace with default loader icon.', 'insta-gallery'); ?>
93
  </span>
@@ -100,7 +98,7 @@ if (!defined('ABSPATH'))
100
  <tr>
101
  <th><?php _e('Remove data on uninstall', 'insta-gallery'); ?></th>
102
  <td>
103
- <input id="ig-remove-data" type="checkbox" name="igs_flush" value="1" <?php if (!empty($instagram_settings['igs_flush'])) echo 'checked'; ?> />
104
  <span class="description">
105
  <?php _e('Check this box to remove all data related to this plugin when removing the plugin.', 'insta-gallery'); ?>
106
  </span>
@@ -123,5 +121,5 @@ if (!defined('ABSPATH'))
123
  </tr>
124
  </tfoot>
125
  </table>
126
- <?php wp_nonce_field('qligg_save_igadvs', 'ig_nonce'); ?>
127
  </form>
2
  if (!defined('ABSPATH'))
3
  exit;
4
  ?>
5
+ <div id="ig-generate-token" class="<?php echo!empty($qligg_token) ? 'premium' : ''; ?>">
6
+ <p>
7
+ <a class="btn-instagram-account" target="_self" href="<?php echo esc_url($qligg_api->get_create_account_link()); ?>" title="<?php _e('Add New Account', 'insta-gallery'); ?>">
8
+ <?php _e('Add New Account', 'insta-gallery'); ?>
9
+ </a>
10
+ <span style="float: none; margin-top: 0;" class="spinner"></span>
11
+ <a data-qligg-toggle="#ig-update-token" href="#"><?php _e('Button not working?', 'insta-gallery'); ?></a>
12
+ </p>
13
+ <form id="ig-update-token" class="qligg-box hidden" method="post">
14
+ <h4><?php _e('Manually connect an account', 'insta-gallery'); ?></h4>
15
+ <p class="field-item">
16
+ <input class="widefat" name="ig_access_token" type="text" maxlength="200" placeholder="<?php _e('Enter a valid Access Token', 'insta-gallery'); ?>" required />
17
  </p>
18
+ <button type="submit" class="btn-instagram secondary"><?php _e('Update', 'insta-gallery'); ?></button>
19
+ <span style="float: none; margin-top: 0;" class="spinner"></span>
20
+ <a target="_blank" href="https://quadlayers.com/insta-token/"><?php _e('Get access token', 'insta-gallery'); ?></a>
21
+ <?php wp_nonce_field('qligg_update_token', 'ig_nonce'); ?>
22
+ </form>
23
+ </div>
24
+ <?php if (count($qligg_token)) : ?>
 
 
 
 
 
25
  <table class="widefat ig-table">
26
  <thead>
27
  <tr>
35
  </thead>
36
  <tbody>
37
  <?php
38
+ foreach ($qligg_token as $id => $access_token) {
39
  $profile_info = qligg_get_user_profile($id);
40
  ?>
41
  <tr>
42
  <td class="profile-picture"><img src="<?php echo esc_url($profile_info['picture']); ?>" width="30" /></td>
43
  <td><?php echo esc_attr($id); ?></td>
44
+ <td><?php echo esc_html($profile_info['user']); ?></td>
45
  <td><?php echo esc_html($profile_info['name']); ?></td>
46
  <td>
47
  <input id="<?php echo esc_attr($id); ?>-access-token" type="text" value="<?php echo esc_attr($access_token); ?>" readonly />
62
  </tbody>
63
  </table>
64
  <?php endif; ?>
65
+ <form id="ig-save-settings" method="post">
66
  <table class="widefat form-table ig-table">
67
  <tbody>
68
  <tr>
75
  <?php
76
  $mid = '';
77
  $misrc = '';
78
+ if (isset($qligg['insta_spinner_image_id'])) {
79
+ $mid = $qligg['insta_spinner_image_id'];
80
  $image = wp_get_attachment_image_src($mid);
81
  if ($image) {
82
  $misrc = $image[0];
83
  }
84
  }
85
  ?>
86
+ <input type="hidden" name="insta_spinner_image_id" value="<?php echo esc_attr($mid); ?>" data-misrc="<?php echo esc_attr($misrc); ?>" />
87
+ <a class="btn-instagram" id="ig-spinner-upload" /><?php _e('Upload', 'insta-gallery'); ?></a>
88
+ <a class="btn-instagram" id="ig-spinner-reset" /><?php _e('Reset Spinner', 'insta-gallery'); ?></a>
89
  <span class="description">
90
  <?php _e('Please select the image from media to replace with default loader icon.', 'insta-gallery'); ?>
91
  </span>
98
  <tr>
99
  <th><?php _e('Remove data on uninstall', 'insta-gallery'); ?></th>
100
  <td>
101
+ <input id="ig-remove-data" type="checkbox" name="insta_flush" value="1" <?php if (!empty($qligg['insta_flush'])) echo 'checked'; ?> />
102
  <span class="description">
103
  <?php _e('Check this box to remove all data related to this plugin when removing the plugin.', 'insta-gallery'); ?>
104
  </span>
121
  </tr>
122
  </tfoot>
123
  </table>
124
+ <?php wp_nonce_field('qligg_save_settings', 'ig_nonce'); ?>
125
  </form>
includes/pages/views/edit.php CHANGED
@@ -2,7 +2,7 @@
2
  if (!defined('ABSPATH'))
3
  exit;
4
  ?>
5
- <form method="post" id="ig-update-form" class="<?php //echo!isset($ig_item_id) ? 'hidden' : ''; ?>">
6
  <table class="widefat form-table ig-table">
7
  <tbody>
8
  <tr>
@@ -37,20 +37,22 @@ if (!defined('ABSPATH'))
37
  <tr>
38
  <th scope="row"><?php _e('User', 'insta-gallery'); ?></th>
39
  <td>
40
- <?php if (!count($qligg)): ?>
41
- <p class="ig-thm-color">
42
  <strong><?php printf(__('No Instagram account connected. Please connect your account <a href="%s">here</a>.', 'insta-gallery'), $qligg_api->get_create_account_link()); ?></strong></strong>
43
  </p>
44
  <?php
45
  else :
46
  ?>
47
  <select name="insta_username">
48
- <?php foreach ($qligg as $id => $access_token) : ?>
49
  <?php $profile_info = qligg_get_user_profile($id); ?>
50
- <option value="<?php echo esc_attr($id) ?>" <?php selected($id, $instagram_feed['insta_username']); ?>>@<?php echo esc_html($profile_info['user']); ?></option>
51
  <?php endforeach; ?>
52
  </select>
53
- <p><?php _e('Please enter Instagram username', 'insta-gallery'); ?></p>
 
 
54
  <?php endif; ?>
55
  </td>
56
  </tr>
@@ -64,7 +66,7 @@ if (!defined('ABSPATH'))
64
  <th scope="row"><?php _e('Tag', 'insta-gallery'); ?></th>
65
  <td>
66
  <input name="insta_tag" type="text" placeholder="beautiful" value="<?php echo esc_attr($instagram_feed['insta_tag']); ?>" />
67
- <p><?php _e('Please enter Instagram tag', 'insta-gallery'); ?></p>
68
  </td>
69
  </tr>
70
  </table>
@@ -87,29 +89,101 @@ if (!defined('ABSPATH'))
87
  <label for="insta_layout-carousel"><?php _e('Carousel', 'insta-gallery'); ?></label>
88
  <img src="<?php echo plugins_url('/assets/img/carousel.png', QLIGG_PLUGIN_FILE); ?>"/>
89
  </li>
90
- <!--<li class="<?php if ($instagram_feed['insta_layout'] == 'masonry') echo 'active'; ?>">
91
  <input type="radio" id="insta_layout-masonry" name="insta_layout" value="masonry" <?php checked('masonry', $instagram_feed['insta_layout']); ?> />
92
- <label for="insta_layout-masonry"><?php _e('Masonry', 'insta-gallery'); ?></label>
93
  <img src="<?php echo plugins_url('/assets/img/masonry.png', QLIGG_PLUGIN_FILE); ?>"/>
94
  </li>
95
- <li class="<?php if ($instagram_feed['insta_layout'] == 'highlight') echo 'active'; ?>">
96
  <input type="radio" id="insta_layout-highlight" name="insta_layout" value="highlight" <?php checked('highlight', $instagram_feed['insta_layout']); ?> />
97
- <label for="insta_layout-highlight"><?php _e('Highlight', 'insta-gallery'); ?></label>
98
  <img src="<?php echo plugins_url('/assets/img/highlight.png', QLIGG_PLUGIN_FILE); ?>"/>
99
- </li>-->
100
  </ul>
101
  </td>
102
  </tr>
103
  </table>
104
  </td>
105
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  <tr>
107
  <td colspan="100%">
108
  <table>
109
  <tr>
110
  <th scope="row"><?php _e('Limit', 'insta-gallery'); ?></th>
111
  <td><input name="insta_limit" type="number" min="1" max="33" value="<?php echo esc_attr($instagram_feed['insta_limit']); ?>" />
112
- <p class="description"><?php _e('Number of images to display', 'insta-gallery'); ?></span>
113
  </td>
114
  </tr>
115
  </table>
@@ -192,10 +266,10 @@ if (!defined('ABSPATH'))
192
  <tr>
193
  <th scope="row"><?php _e('Images size', 'insta-gallery'); ?></th>
194
  <td>
195
- <select name="insta_thumb-size">
196
  <option value="standard"><?php _e('Standard', 'insta-gallery'); ?> (640 x auto)</option>
197
- <option value="medium" <?php echo (isset($instagram_feed['insta_thumb-size']) && ($instagram_feed['insta_thumb-size'] == 'medium')) ? 'selected' : ''; ?>><?php _e('Medium', 'insta-gallery'); ?> (320 x auto)</option>
198
- <option value="small" <?php echo (isset($instagram_feed['insta_thumb-size']) && ($instagram_feed['insta_thumb-size'] == 'small')) ? 'selected' : ''; ?>><?php _e('Small', 'insta-gallery'); ?> (150 x 150)</option>
199
  </select>
200
  </td>
201
  </tr>
@@ -225,23 +299,25 @@ if (!defined('ABSPATH'))
225
  </table>
226
  </td>
227
  </tr>
228
- <tr id="ig-section-popup" class="ig-tab-content-row <?php if (!empty($instagram_feed['insta_popup'])) echo 'active'; ?>">
229
  <td colspan="100%">
230
  <table>
231
- <!--<tr>
232
  <th scope="row"><?php _e('Images popup profile', 'insta-gallery'); ?></th>
233
  <td>
234
  <input name="insta_popup-profile" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_popup-profile']); ?>/>
235
  <p class="description">
236
- <?php _e('Display user profile or tag info', 'insta-gallery'); ?>
237
  </p>
 
238
  </td>
239
  </tr>
240
  <tr>
241
  <th scope="row"><?php _e('Images popup caption', 'insta-gallery'); ?></th>
242
  <td>
243
- <input name="insta_popup-caption" type="checkbox" readonly value="1" <?php checked(1, $instagram_feed['insta_popup-caption']); ?>/>
244
- <p class="description"><?php _e('Display images caption in the popup', 'insta-gallery'); ?>
 
245
  </td>
246
  </tr>
247
  <tr>
@@ -249,10 +325,11 @@ if (!defined('ABSPATH'))
249
  <td>
250
  <input name="insta_popup-likes" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_popup-likes']); ?>/>
251
  <p class="description">
252
- <?php _e('Display likes count of images', 'insta-gallery'); ?>
253
  </p>
 
254
  </td>
255
- </tr>-->
256
  <tr>
257
  <th scope="row"><?php _e('Images popup align', 'insta-gallery'); ?></th>
258
  <td>
@@ -262,9 +339,8 @@ if (!defined('ABSPATH'))
262
  <option value="right" <?php selected('right', $instagram_feed['insta_popup-align']); ?>><?php esc_html_e('Right', 'insta-gallery'); ?></option>
263
  <option value="bottom" <?php selected('bottom', $instagram_feed['insta_popup-align']); ?>><?php esc_html_e('Bottom', 'insta-gallery'); ?></option>
264
  </select>
265
- <p class="description">
266
- <?php _e('Display likes count of images', 'insta-gallery'); ?>
267
- </p>
268
  </td>
269
  </tr>
270
  </table>
@@ -318,101 +394,109 @@ if (!defined('ABSPATH'))
318
  </table>
319
  </td>
320
  </tr>
321
- <tr>
322
  <td colspan="100%">
323
  <table>
324
  <tr>
325
- <th scope="row"><?php _e('Instagram button', 'insta-gallery'); ?></th>
326
  <td>
327
- <input name="insta_button" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_button']); ?>/>
328
  <p class="description">
329
- <?php _e('Display the button to open Instagram site link', 'insta-gallery'); ?>
330
  </p>
 
331
  </td>
332
  </tr>
333
  </table>
334
  </td>
335
  </tr>
336
- <tr id="ig-section-button" class="ig-tab-content-row <?php if (!empty($instagram_feed['insta_button'])) echo 'active'; ?>">
337
  <td colspan="100%">
338
  <table>
339
  <tr>
340
- <th scope="row"><?php _e('Instagram button text', 'insta-gallery'); ?></th>
341
  <td>
342
- <input name="insta_button-text" type="text" placeholder="Instagram" value="<?php echo esc_html($instagram_feed['insta_button-text']); ?>" />
343
  <p class="description">
344
- <?php _e('Instagram button text here', 'insta-gallery'); ?>
345
  </p>
 
346
  </td>
347
  </tr>
348
  <tr>
349
- <th scope="row"><?php _e('Instagram button background', 'insta-gallery'); ?></th>
350
  <td>
351
- <input class="color-picker" data-alpha="true" name="insta_button-background" type="text" placeholder="#c32a67" value="<?php echo esc_html($instagram_feed['insta_button-background']); ?>" />
352
- <p class="description"><?php _e('Color which is displayed on button background', 'insta-gallery'); ?></p>
 
 
 
353
  </td>
354
  </tr>
355
  <tr>
356
- <th scope="row"><?php _e('Instagram button hover color', 'insta-gallery'); ?></th>
357
  <td>
358
- <input class="color-picker" data-alpha="true" name="insta_button-background-hover" type="text" placeholder="#da894a" value="<?php echo esc_html($instagram_feed['insta_button-background-hover']); ?>" />
359
- <p class="description"><?php _e('Color which is displayed when hovered over button', 'insta-gallery'); ?></p>
 
 
 
360
  </td>
361
  </tr>
362
  </table>
363
  </td>
364
  </tr>
365
- <!--<tr>
366
  <td colspan="100%">
367
  <table>
368
  <tr>
369
- <th scope="row"><?php _e('Instagram button load more', 'insta-gallery'); ?></th>
370
  <td>
371
- <input name="insta_button_load" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_button_load']); ?>/>
372
  <p class="description">
373
- <?php _e('Display the button load to open Instagram site link', 'insta-gallery'); ?>
374
  </p>
375
  </td>
376
  </tr>
377
  </table>
378
  </td>
379
  </tr>
380
- <tr id="ig-section-button_load" class="ig-tab-content-row <?php if (!empty($instagram_feed['insta_button_load'])) echo 'active'; ?>">
381
  <td colspan="100%">
382
  <table>
383
  <tr>
384
- <th scope="row"><?php _e('Instagram button load text', 'insta-gallery'); ?></th>
385
  <td>
386
- <input name="insta_button_load-text" type="text" placeholder="Instagram" value="<?php echo esc_html($instagram_feed['insta_button_load-text']); ?>" />
387
  <p class="description">
388
- <?php _e('Instagram button load text here', 'insta-gallery'); ?>
389
  </p>
390
  </td>
391
  </tr>
392
  <tr>
393
- <th scope="row"><?php _e('Instagram button load background', 'insta-gallery'); ?></th>
394
  <td>
395
- <input class="color-picker" data-alpha="true" name="insta_button_load-background" type="text" placeholder="#c32a67" value="<?php echo esc_html($instagram_feed['insta_button_load-background']); ?>" />
396
- <p class="description"><?php _e('Color which is displayed on button load background', 'insta-gallery'); ?></p>
397
  </td>
398
  </tr>
399
  <tr>
400
- <th scope="row"><?php _e('Instagram button load hover color', 'insta-gallery'); ?></th>
401
  <td>
402
- <input class="color-picker" data-alpha="true" name="insta_button_load-background-hover" type="text" placeholder="#da894a" value="<?php echo esc_html($instagram_feed['insta_button_load-background-hover']); ?>" />
403
- <p class="description"><?php _e('Color which is displayed when hovered over button load more', 'insta-gallery'); ?></p>
404
  </td>
405
  </tr>
406
  </table>
407
  </td>
408
- </tr>-->
409
  </tbody>
410
  <tfoot>
411
  <tr>
412
  <td colspan="3">
413
  <span class="spinner"></span>
414
  <button type="submit" class="btn-instagram secondary"><?php _e('Update', 'insta-gallery'); ?></button>
415
- <span class="description">
416
  <?php _e('Update settings and copy/paste generated shortcode in your post/pages or go to Widgets and use Instagram Gallery widget', 'insta-gallery'); ?>
417
  </span>
418
  </td>
2
  if (!defined('ABSPATH'))
3
  exit;
4
  ?>
5
+ <form method="post" id="ig-update-form" class="<?php //echo!isset($ig_item_id) ? 'hidden' : ''; ?>">
6
  <table class="widefat form-table ig-table">
7
  <tbody>
8
  <tr>
37
  <tr>
38
  <th scope="row"><?php _e('User', 'insta-gallery'); ?></th>
39
  <td>
40
+ <?php if (!count($qligg_token)): ?>
41
+ <p class="description">
42
  <strong><?php printf(__('No Instagram account connected. Please connect your account <a href="%s">here</a>.', 'insta-gallery'), $qligg_api->get_create_account_link()); ?></strong></strong>
43
  </p>
44
  <?php
45
  else :
46
  ?>
47
  <select name="insta_username">
48
+ <?php foreach ($qligg_token as $id => $access_token) : ?>
49
  <?php $profile_info = qligg_get_user_profile($id); ?>
50
+ <option value="<?php echo esc_attr($id) ?>" <?php selected($id, $instagram_feed['insta_username']); ?>><?php echo esc_html($profile_info['user']); ?></option>
51
  <?php endforeach; ?>
52
  </select>
53
+ <p class="description">
54
+ <?php _e('Please enter Instagram username', 'insta-gallery'); ?>
55
+ </p>
56
  <?php endif; ?>
57
  </td>
58
  </tr>
66
  <th scope="row"><?php _e('Tag', 'insta-gallery'); ?></th>
67
  <td>
68
  <input name="insta_tag" type="text" placeholder="beautiful" value="<?php echo esc_attr($instagram_feed['insta_tag']); ?>" />
69
+ <p class="description"><?php _e('Please enter Instagram tag', 'insta-gallery'); ?></p>
70
  </td>
71
  </tr>
72
  </table>
89
  <label for="insta_layout-carousel"><?php _e('Carousel', 'insta-gallery'); ?></label>
90
  <img src="<?php echo plugins_url('/assets/img/carousel.png', QLIGG_PLUGIN_FILE); ?>"/>
91
  </li>
92
+ <li class="<?php if ($instagram_feed['insta_layout'] == 'masonry') echo 'active'; ?> premium">
93
  <input type="radio" id="insta_layout-masonry" name="insta_layout" value="masonry" <?php checked('masonry', $instagram_feed['insta_layout']); ?> />
94
+ <label for="insta_layout-masonry"><?php _e('Masonry', 'insta-gallery'); ?><span class="premium"> (<?php _e('Premium', 'insta-gallery'); ?>)</span></label>
95
  <img src="<?php echo plugins_url('/assets/img/masonry.png', QLIGG_PLUGIN_FILE); ?>"/>
96
  </li>
97
+ <li class="<?php if ($instagram_feed['insta_layout'] == 'highlight') echo 'active'; ?> premium">
98
  <input type="radio" id="insta_layout-highlight" name="insta_layout" value="highlight" <?php checked('highlight', $instagram_feed['insta_layout']); ?> />
99
+ <label for="insta_layout-highlight"><?php _e('Highlight', 'insta-gallery'); ?><span class="premium"> (<?php _e('Coming soon', 'insta-gallery'); ?>)</span></label>
100
  <img src="<?php echo plugins_url('/assets/img/highlight.png', QLIGG_PLUGIN_FILE); ?>"/>
101
+ </li>
102
  </ul>
103
  </td>
104
  </tr>
105
  </table>
106
  </td>
107
  </tr>
108
+ <tr class="premium">
109
+ <td colspan="100%">
110
+ <table>
111
+ <tr>
112
+ <th scope="row"><?php _e('Box', 'insta-gallery'); ?></th>
113
+ <td>
114
+ <input name="insta_box" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_box']); ?>/>
115
+ <p class="description">
116
+ <?php _e('Display the Instagram Feed inside a customizable box', 'insta-gallery'); ?>
117
+ </p>
118
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
119
+ </td>
120
+ </tr>
121
+ </table>
122
+ </td>
123
+ </tr>
124
+ <tr id="ig-section-box" class="ig-tab-content-row premium <?php if (!empty($instagram_feed['insta_box'])) echo 'active'; ?>">
125
+ <td colspan="100%">
126
+ <table>
127
+ <tr>
128
+ <th scope="row"><?php _e('Box padding', 'insta-gallery'); ?></th>
129
+ <td>
130
+ <input name="insta_box-padding" type="number" value="<?php echo esc_attr($instagram_feed['insta_box-padding']); ?>" />
131
+ <p class="description">
132
+ <?php _e('Add padding to the Instagram Feed', 'insta-gallery'); ?>
133
+ </p>
134
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
135
+ </td>
136
+ </tr>
137
+ <tr>
138
+ <th scope="row"><?php _e('Box radius', 'insta-gallery'); ?></th>
139
+ <td>
140
+ <input name="insta_box-radius" type="number" value="<?php echo esc_attr($instagram_feed['insta_box-radius']); ?>" />
141
+ <p class="description">
142
+ <?php _e('Add radius to the Instagram Feed', 'insta-gallery'); ?>
143
+ </p>
144
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
145
+ </td>
146
+ </tr>
147
+ <tr>
148
+ <th scope="row"><?php _e('Box background', 'insta-gallery'); ?></th>
149
+ <td>
150
+ <input class="color-picker" data-alpha="true" name="insta_box-background" type="text" placeholder="#c32a67" value="<?php echo esc_html($instagram_feed['insta_box-background']); ?>" />
151
+ <p class="description">
152
+ <?php _e('Color which is displayed on box background', 'insta-gallery'); ?>
153
+ </p>
154
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
155
+ </td>
156
+ </tr>
157
+ <tr>
158
+ <th scope="row"><?php _e('Box profile', 'insta-gallery'); ?></th>
159
+ <td>
160
+ <input name="insta_box-profile" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_box-profile']); ?>/>
161
+ <p class="description">
162
+ <?php _e('Display user profile or tag info', 'insta-gallery'); ?>
163
+ </p>
164
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
165
+ </td>
166
+ </tr>
167
+ <tr>
168
+ <th scope="row"><?php _e('Box description', 'insta-gallery'); ?></th>
169
+ <td>
170
+ <input name="insta_box-desc" type="text" placeholder="Instagram" value="<?php echo esc_html($instagram_feed['insta_box-desc']); ?>" />
171
+ <p class="description">
172
+ <?php _e('Box description here', 'insta-gallery'); ?>
173
+ </p>
174
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
175
+ </td>
176
+ </tr>
177
+ </table>
178
+ </td>
179
+ </tr>
180
  <tr>
181
  <td colspan="100%">
182
  <table>
183
  <tr>
184
  <th scope="row"><?php _e('Limit', 'insta-gallery'); ?></th>
185
  <td><input name="insta_limit" type="number" min="1" max="33" value="<?php echo esc_attr($instagram_feed['insta_limit']); ?>" />
186
+ <p class="description"><?php _e('Number of images to display', 'insta-gallery'); ?></p>
187
  </td>
188
  </tr>
189
  </table>
266
  <tr>
267
  <th scope="row"><?php _e('Images size', 'insta-gallery'); ?></th>
268
  <td>
269
+ <select name="insta_size">
270
  <option value="standard"><?php _e('Standard', 'insta-gallery'); ?> (640 x auto)</option>
271
+ <option value="medium" <?php echo (isset($instagram_feed['insta_size']) && ($instagram_feed['insta_size'] == 'medium')) ? 'selected' : ''; ?>><?php _e('Medium', 'insta-gallery'); ?> (320 x auto)</option>
272
+ <option value="small" <?php echo (isset($instagram_feed['insta_size']) && ($instagram_feed['insta_size'] == 'small')) ? 'selected' : ''; ?>><?php _e('Small', 'insta-gallery'); ?> (150 x 150)</option>
273
  </select>
274
  </td>
275
  </tr>
299
  </table>
300
  </td>
301
  </tr>
302
+ <tr id="ig-section-popup" class="ig-tab-content-row premium <?php if (!empty($instagram_feed['insta_popup'])) echo 'active'; ?>">
303
  <td colspan="100%">
304
  <table>
305
+ <tr>
306
  <th scope="row"><?php _e('Images popup profile', 'insta-gallery'); ?></th>
307
  <td>
308
  <input name="insta_popup-profile" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_popup-profile']); ?>/>
309
  <p class="description">
310
+ <?php _e('Display user profile or tag info', 'insta-gallery'); ?>
311
  </p>
312
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
313
  </td>
314
  </tr>
315
  <tr>
316
  <th scope="row"><?php _e('Images popup caption', 'insta-gallery'); ?></th>
317
  <td>
318
+ <input name="insta_popup-caption" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_popup-caption']); ?>/>
319
+ <p class="description"><?php _e('Display caption in the popup', 'insta-gallery'); ?></p>
320
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
321
  </td>
322
  </tr>
323
  <tr>
325
  <td>
326
  <input name="insta_popup-likes" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_popup-likes']); ?>/>
327
  <p class="description">
328
+ <?php _e('Display likes count of images', 'insta-gallery'); ?>
329
  </p>
330
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
331
  </td>
332
+ </tr>
333
  <tr>
334
  <th scope="row"><?php _e('Images popup align', 'insta-gallery'); ?></th>
335
  <td>
339
  <option value="right" <?php selected('right', $instagram_feed['insta_popup-align']); ?>><?php esc_html_e('Right', 'insta-gallery'); ?></option>
340
  <option value="bottom" <?php selected('bottom', $instagram_feed['insta_popup-align']); ?>><?php esc_html_e('Bottom', 'insta-gallery'); ?></option>
341
  </select>
342
+ <p class="description"><?php _e('Display likes count of images', 'insta-gallery'); ?></p>
343
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
 
344
  </td>
345
  </tr>
346
  </table>
394
  </table>
395
  </td>
396
  </tr>
397
+ <tr class="premium">
398
  <td colspan="100%">
399
  <table>
400
  <tr>
401
+ <th scope="row"><?php _e('Instagram load more', 'insta-gallery'); ?></th>
402
  <td>
403
+ <input name="insta_button_load" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_button_load']); ?>/>
404
  <p class="description">
405
+ <?php _e('Display the load more button', 'insta-gallery'); ?>
406
  </p>
407
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
408
  </td>
409
  </tr>
410
  </table>
411
  </td>
412
  </tr>
413
+ <tr id="ig-section-button_load" class="ig-tab-content-row premium <?php if (!empty($instagram_feed['insta_button_load'])) echo 'active'; ?>">
414
  <td colspan="100%">
415
  <table>
416
  <tr>
417
+ <th scope="row"><?php _e('Instagram load more text', 'insta-gallery'); ?></th>
418
  <td>
419
+ <input name="insta_button_load-text" type="text" placeholder="Instagram" value="<?php echo esc_html($instagram_feed['insta_button_load-text']); ?>" />
420
  <p class="description">
421
+ <?php _e('Instagram load more text here', 'insta-gallery'); ?>
422
  </p>
423
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
424
  </td>
425
  </tr>
426
  <tr>
427
+ <th scope="row"><?php _e('Instagram load more background', 'insta-gallery'); ?></th>
428
  <td>
429
+ <input class="color-picker" data-alpha="true" name="insta_button_load-background" type="text" placeholder="#c32a67" value="<?php echo esc_html($instagram_feed['insta_button_load-background']); ?>" />
430
+ <p class="description">
431
+ <?php _e('Color which is displayed on button load background', 'insta-gallery'); ?>
432
+ </p>
433
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
434
  </td>
435
  </tr>
436
  <tr>
437
+ <th scope="row"><?php _e('Instagram load more hover background', 'insta-gallery'); ?></th>
438
  <td>
439
+ <input class="color-picker" data-alpha="true" name="insta_button_load-background-hover" type="text" placeholder="#da894a" value="<?php echo esc_html($instagram_feed['insta_button_load-background-hover']); ?>" />
440
+ <p class="description">
441
+ <?php _e('Color which is displayed when hovered over button load more', 'insta-gallery'); ?>
442
+ </p>
443
+ <p class="premium"><?php _e('This is a premium feature.', 'insta-gallery'); ?></p>
444
  </td>
445
  </tr>
446
  </table>
447
  </td>
448
  </tr>
449
+ <tr>
450
  <td colspan="100%">
451
  <table>
452
  <tr>
453
+ <th scope="row"><?php _e('Instagram button', 'insta-gallery'); ?></th>
454
  <td>
455
+ <input name="insta_button" type="checkbox" value="1" <?php checked(1, $instagram_feed['insta_button']); ?>/>
456
  <p class="description">
457
+ <?php _e('Display the button to open Instagram site link', 'insta-gallery'); ?>
458
  </p>
459
  </td>
460
  </tr>
461
  </table>
462
  </td>
463
  </tr>
464
+ <tr id="ig-section-button" class="ig-tab-content-row <?php if (!empty($instagram_feed['insta_button'])) echo 'active'; ?>">
465
  <td colspan="100%">
466
  <table>
467
  <tr>
468
+ <th scope="row"><?php _e('Instagram button text', 'insta-gallery'); ?></th>
469
  <td>
470
+ <input name="insta_button-text" type="text" placeholder="Instagram" value="<?php echo esc_html($instagram_feed['insta_button-text']); ?>" />
471
  <p class="description">
472
+ <?php _e('Instagram button text here', 'insta-gallery'); ?>
473
  </p>
474
  </td>
475
  </tr>
476
  <tr>
477
+ <th scope="row"><?php _e('Instagram button background', 'insta-gallery'); ?></th>
478
  <td>
479
+ <input class="color-picker" data-alpha="true" name="insta_button-background" type="text" placeholder="#c32a67" value="<?php echo esc_html($instagram_feed['insta_button-background']); ?>" />
480
+ <p class="description"><?php _e('Color which is displayed on button background', 'insta-gallery'); ?></p>
481
  </td>
482
  </tr>
483
  <tr>
484
+ <th scope="row"><?php _e('Instagram button hover background', 'insta-gallery'); ?></th>
485
  <td>
486
+ <input class="color-picker" data-alpha="true" name="insta_button-background-hover" type="text" placeholder="#da894a" value="<?php echo esc_html($instagram_feed['insta_button-background-hover']); ?>" />
487
+ <p class="description"><?php _e('Color which is displayed when hovered over button', 'insta-gallery'); ?></p>
488
  </td>
489
  </tr>
490
  </table>
491
  </td>
492
+ </tr>
493
  </tbody>
494
  <tfoot>
495
  <tr>
496
  <td colspan="3">
497
  <span class="spinner"></span>
498
  <button type="submit" class="btn-instagram secondary"><?php _e('Update', 'insta-gallery'); ?></button>
499
+ <span>
500
  <?php _e('Update settings and copy/paste generated shortcode in your post/pages or go to Widgets and use Instagram Gallery widget', 'insta-gallery'); ?>
501
  </span>
502
  </td>
includes/pages/views/list.php CHANGED
@@ -10,12 +10,12 @@ if (!defined('ABSPATH'))
10
  </a>
11
  </p>
12
  </div>
13
- <?php if (count($instagram_feeds)) : ?>
14
  <table class="widefat ig-table">
15
  <thead>
16
  <tr>
17
- <th>#</th>
18
- <th><?php _e('Feeds', 'insta-gallery'); ?></th>
19
  <th><?php _e('Type', 'insta-gallery'); ?></th>
20
  <th><?php _e('Shortcode', 'insta-gallery'); ?></th>
21
  <th><?php _e('Action', 'insta-gallery'); ?></th>
@@ -25,20 +25,20 @@ if (!defined('ABSPATH'))
25
  <?php
26
  $i = 1;
27
  foreach ($instagram_feeds as $id => $instagram_feed) {
 
 
 
 
 
 
 
 
 
28
  ?>
29
  <tr>
30
- <td><?php echo esc_attr($i++); ?></td>
31
  <td>
32
- <?php
33
- if ($instagram_feed['insta_source'] == 'username') {
34
-
35
- $profile_info = qligg_get_user_profile($instagram_feed['insta_username']);
36
-
37
- echo __('User', 'insta-gallery') . ' / @' . $profile_info['user'];
38
- } else {
39
- echo __('Tag', 'insta-gallery') . ' / #' . $instagram_feed['insta_tag'];
40
- }
41
- ?>
42
  </td>
43
  <td>
44
  <?php echo esc_html(ucfirst($instagram_feed['insta_layout'])); ?>
10
  </a>
11
  </p>
12
  </div>
13
+ <?php if (count($instagram_feeds)) : //var_dump($instagram_feeds);?>
14
  <table class="widefat ig-table">
15
  <thead>
16
  <tr>
17
+ <th><?php _e('Image', 'insta-gallery'); ?></th>
18
+ <th><?php _e('Source', 'insta-gallery'); ?></th>
19
  <th><?php _e('Type', 'insta-gallery'); ?></th>
20
  <th><?php _e('Shortcode', 'insta-gallery'); ?></th>
21
  <th><?php _e('Action', 'insta-gallery'); ?></th>
25
  <?php
26
  $i = 1;
27
  foreach ($instagram_feeds as $id => $instagram_feed) {
28
+
29
+ if (!isset($instagram_feed['insta_source']))
30
+ continue;
31
+
32
+ if ($instagram_feed['insta_source'] == 'username') {
33
+ $profile_info = qligg_get_user_profile($instagram_feed['insta_username']);
34
+ } else {
35
+ $profile_info = qligg_get_tag_profile($instagram_feed['insta_tag']);
36
+ }
37
  ?>
38
  <tr>
39
+ <td class="profile-picture"><img src="<?php echo esc_url($profile_info['picture']); ?>" width="30" /></td>
40
  <td>
41
+ <?php echo esc_html($profile_info['user']); ?>
 
 
 
 
 
 
 
 
 
42
  </td>
43
  <td>
44
  <?php echo esc_html(ucfirst($instagram_feed['insta_layout'])); ?>
includes/settings.php CHANGED
@@ -1,239 +1,248 @@
1
- <?php
2
- if (!defined('ABSPATH'))
3
- exit;
4
-
5
- if (!class_exists('QLIGG_Settings')) {
6
-
7
- class QLIGG_Settings {
8
-
9
- protected static $instance;
10
-
11
- function ajax_dismiss_notice() {
12
-
13
- if ($notice_id = ( isset($_POST['notice_id']) ) ? sanitize_key($_POST['notice_id']) : '') {
14
-
15
- update_user_meta(get_current_user_id(), $notice_id, true);
16
-
17
- wp_send_json($notice_id);
18
- }
19
-
20
- wp_die();
21
- }
22
-
23
- function add_notices() {
24
-
25
- if (/* !get_transient('qligg-first-rating') && */!get_user_meta(get_current_user_id(), 'qligg-user-rating', true)) {
26
- ?>
27
- <div id="qligg-admin-rating" class="qligg-notice notice is-dismissible" data-notice_id="qligg-user-rating">
28
- <div class="notice-container" style="padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: left; align-items: center;">
29
- <div class="notice-image">
30
- <img style="border-radius:50%;max-width: 90px;" src="<?php echo plugins_url('/assets/img/logo.png', QLIGG_PLUGIN_FILE); ?>" alt="<?php echo esc_html(QLIGG_PLUGIN_NAME); ?>>">
31
- </div>
32
- <div class="notice-content" style="margin-left: 15px;">
33
- <p>
34
- <?php printf(esc_html__('Hello! Thank you for choosing the %s plugin!', 'insta-gallery'), QLIGG_PLUGIN_NAME); ?>
35
- <br/>
36
- <?php esc_html_e('This is another big update and lot of things have been improved in the frontend. Please make sure you clear all your server and browser caches.', 'insta-gallery'); ?>
37
- </p>
38
- <a href="<?php echo admin_url('admin.php?page=qligg_feeds'); ?>" class="button-primary" target="_blank">
39
- <?php esc_html_e('Check Settings!', 'insta-gallery'); ?>
40
- </a>
41
- <a href="<?php echo esc_url(QLIGG_SUPPORT_URL); ?>" class="button-secondary" target="_blank">
42
- <?php esc_html_e('Report a bug', 'insta-gallery'); ?>
43
- </a>
44
- </div>
45
- </div>
46
- </div>
47
- <script>
48
- (function ($) {
49
- $('.qligg-notice').on('click', '.notice-dismiss', function (e) {
50
- e.preventDefault();
51
- var notice_id = $(e.delegateTarget).data('notice_id');
52
- $.ajax({
53
- type: 'POST',
54
- url: ajaxurl,
55
- data: {
56
- notice_id: notice_id,
57
- action: 'qligg_dismiss_notice',
58
- },
59
- success: function (response) {
60
- console.log(response);
61
- },
62
- });
63
- });
64
- })(jQuery);
65
- </script>
66
- <?php
67
- }
68
- }
69
-
70
- function add_action_links($links) {
71
-
72
- $links[] = '<a target="_blank" href="' . QLIGG_PURCHASE_URL . '">' . esc_html__('Premium', 'insta-gallery') . '</a>';
73
-
74
- $links[] = '<a href="' . admin_url('admin.php?page=qligg') . '">' . esc_html__('Settings', 'insta-gallery') . '</a>';
75
-
76
- return $links;
77
- }
78
-
79
- function settings_header() {
80
-
81
- global $submenu;
82
-
83
- if (isset($submenu[QLIGG_DOMAIN])) {
84
- $welcome_menu_items = $submenu[QLIGG_DOMAIN];
85
- }
86
-
87
- if (is_array($welcome_menu_items)) {
88
- ?>
89
- <div class="wrap about-wrap full-width-layout qlwrap">
90
-
91
- <h1><?php esc_html_e('Instagram Gallery', 'insta-gallery'); ?></h1>
92
-
93
- <p class="about-text"><?php esc_html_e('Thanks for using Instagram Gallery! We will do our best to offer you the best and improved experience.', 'insta-gallery'); ?></p>
94
-
95
- <p class="about-text">
96
- <?php printf('<a href="%s" target="_blank">%s</a>', QLIGG_DEMO_URL, esc_html__('Check out our demo', 'insta-gallery')); ?></a>
97
- </p>
98
-
99
- <?php printf('<a href="%s" target="_blank"><div style="
100
- background: #006bff url(%s) no-repeat;
101
- background-position: top center;
102
- background-size: 130px 130px;
103
- color: #fff;
104
- font-size: 14px;
105
- text-align: center;
106
- font-weight: 600;
107
- margin: 5px 0 0;
108
- padding-top: 120px;
109
- height: 40px;
110
- display: inline-block;
111
- width: 140px;
112
- position: absolute;
113
- top: 0;
114
- right: 0;
115
- " class="ql-badge">%s</div></a>', 'https://quadlayers.com/?utm_source=qligg_admin', plugins_url('/assets/img/quadlayers.jpg', QLIGG_PLUGIN_FILE), esc_html__('QuadLayers', 'insta-gallery')); ?>
116
-
117
- </div>
118
- <div class="wrap about-wrap full-width-layout qlwrap">
119
- <h2 class="nav-tab-wrapper">
120
- <?php
121
- foreach ($welcome_menu_items as $welcome_menu_item) {
122
- if (strpos($welcome_menu_item[2], '.php') !== false)
123
- continue;
124
- ?>
125
- <a href="<?php echo admin_url('admin.php?page=' . esc_attr($welcome_menu_item[2])); ?>" class="nav-tab<?php echo (isset($_GET['page']) && $_GET['page'] == $welcome_menu_item[2]) ? ' nav-tab-active' : ''; ?>"><?php echo esc_html($welcome_menu_item[0]); ?></a>
126
- <?php
127
- }
128
- ?>
129
- </h2>
130
- </div>
131
- <?php
132
- }
133
- }
134
-
135
- function settings_welcome() {
136
-
137
- global $qligg;
138
- ?>
139
- <?php $this->settings_header(); ?>
140
- <div class="wrap about-wrap full-width-layout">
141
- <?php include_once('pages/welcome.php'); ?>
142
- </div>
143
- <?php
144
- }
145
-
146
- function settings_token() {
147
-
148
- global $qligg, $qligg_api;
149
-
150
- $instagram_settings = get_option('insta_gallery_setting', array());
151
- ?>
152
- <?php $this->settings_header(); ?>
153
- <div class="wrap about-wrap full-width-layout">
154
- <?php include_once('pages/token.php'); ?>
155
- </div>
156
- <?php
157
- }
158
-
159
- function settings_feeds() {
160
- global $qligg, $qligg_api;
161
- $instagram_feeds = get_option('insta_gallery_items', array());
162
- $instagram_settings = get_option('insta_gallery_setting', array());
163
- ?>
164
- <?php $this->settings_header(); ?>
165
- <div class="wrap about-wrap full-width-layout">
166
- <?php include_once('pages/views/list.php'); ?>
167
- <?php
168
- $instagram_feed = QLIGG_Options::instance()->instagram_feed;
169
-
170
- if (isset($_GET['tab']) && $_GET['tab'] == 'edit') {
171
-
172
- if (isset($_GET['item_id'])) {
173
-
174
- $ig_item_id = absint($_GET['item_id']);
175
-
176
- if (isset($instagram_feeds[$ig_item_id])) {
177
-
178
- $instagram_feed = wp_parse_args($instagram_feeds[$ig_item_id], $instagram_feed);
179
- }
180
- }
181
-
182
- include_once('pages/views/edit.php');
183
- }
184
- ?>
185
- </div>
186
- <?php
187
- }
188
-
189
- function add_menu() {
190
- add_menu_page(QLIGG_PLUGIN_NAME, QLIGG_PLUGIN_NAME, 'manage_options', QLIGG_DOMAIN, array($this, 'settings_welcome'), 'dashicons-camera');
191
- add_submenu_page(QLIGG_DOMAIN, __('Welcome', 'insta-gallery'), esc_html__('Welcome', 'insta-gallery'), 'manage_options', QLIGG_DOMAIN, array($this, 'settings_welcome'));
192
- add_submenu_page(QLIGG_DOMAIN, __('Account', 'insta-gallery'), esc_html__('Account', 'insta-gallery'), 'edit_posts', QLIGG_DOMAIN . '_token', array($this, 'settings_token'));
193
- add_submenu_page(QLIGG_DOMAIN, __('Feeds', 'insta-gallery'), esc_html__('Feeds', 'insta-gallery'), 'edit_posts', QLIGG_DOMAIN . '_feeds', array($this, 'settings_feeds'));
194
- }
195
-
196
- function add_admin_js($hook) {
197
- if (isset($_GET['page']) && strpos($_GET['page'], QLIGG_DOMAIN) !== false) {
198
- wp_enqueue_style('qligg-admin', plugins_url('/assets/css/qligg-admin.min.css', QLIGG_PLUGIN_FILE), array('wp-color-picker'), QLIGG_PLUGIN_VERSION, 'all');
199
- wp_enqueue_script('wp-color-picker-rgba', plugins_url('/assets/rgba/wp-color-picker-alpha.min.js', QLIGG_PLUGIN_FILE), array('jquery', 'wp-color-picker'), QLIGG_PLUGIN_VERSION, true);
200
- wp_enqueue_script('qligg-admin', plugins_url('/assets/js/qligg-admin.min.js', QLIGG_PLUGIN_FILE), array('jquery', 'wp-color-picker-rgba'), QLIGG_PLUGIN_VERSION, true);
201
- wp_localize_script('qligg-admin', 'qligg', array(
202
- 'nonce' => wp_create_nonce('qligg_generate_token'),
203
- 'remove_gallery' => __('Are you sure want to delete this item?', 'insta-gallery'),
204
- 'remove_token' => __('Are you sure want to delete this access token?', 'insta-gallery'),
205
- 'remove_data' => __('Are you sure want to delete all settings on plugin uninstall?', 'insta-gallery')
206
- ));
207
- wp_enqueue_media();
208
- }
209
- }
210
-
211
- function dequeue_admin_js() {
212
- // Fix Instagram Feed compatibility
213
- if (isset($_GET['page']) && strpos($_GET['page'], QLIGG_DOMAIN) !== false) {
214
- wp_deregister_script('sb_instagram_admin_js');
215
- wp_dequeue_script('sb_instagram_admin_js');
216
- }
217
- }
218
-
219
- function init() {
220
- add_action('wp_ajax_qligg_dismiss_notice', array($this, 'ajax_dismiss_notice'));
221
- add_action('admin_notices', array($this, 'add_notices'));
222
- add_action('admin_enqueue_scripts', array($this, 'add_admin_js'));
223
- add_action('admin_enqueue_scripts', array($this, 'dequeue_admin_js'), 999);
224
- add_action('admin_menu', array($this, 'add_menu'));
225
- add_filter('plugin_action_links_' . plugin_basename(QLIGG_PLUGIN_FILE), array($this, 'add_action_links'));
226
- }
227
-
228
- public static function instance() {
229
- if (!isset(self::$instance)) {
230
- self::$instance = new self();
231
- self::$instance->init();
232
- }
233
- return self::$instance;
234
- }
235
-
236
- }
237
-
238
- QLIGG_Settings::instance();
239
- }
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (!defined('ABSPATH'))
3
+ exit;
4
+
5
+ if (!class_exists('QLIGG_Settings')) {
6
+
7
+ class QLIGG_Settings {
8
+
9
+ protected static $instance;
10
+
11
+ function ajax_dismiss_notice() {
12
+
13
+ if ($notice_id = ( isset($_POST['notice_id']) ) ? sanitize_key($_POST['notice_id']) : '') {
14
+
15
+ update_user_meta(get_current_user_id(), $notice_id, true);
16
+
17
+ wp_send_json($notice_id);
18
+ }
19
+
20
+ wp_die();
21
+ }
22
+
23
+ function add_notices() {
24
+
25
+ if (/* !get_transient('qligg-first-rating') && */!get_user_meta(get_current_user_id(), 'qligg-user-rating', true)) {
26
+ ?>
27
+ <div id="qligg-admin-rating" class="qligg-notice notice is-dismissible" data-notice_id="qligg-user-rating">
28
+ <div class="notice-container" style="padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: left; align-items: center;">
29
+ <div class="notice-image">
30
+ <img style="border-radius:50%;max-width: 90px;" src="<?php echo plugins_url('/assets/img/logo.png', QLIGG_PLUGIN_FILE); ?>" alt="<?php echo esc_html(QLIGG_PLUGIN_NAME); ?>>">
31
+ </div>
32
+ <div class="notice-content" style="margin-left: 15px;">
33
+ <p>
34
+ <?php printf(esc_html__('Hello! Thank you for choosing the %s plugin!', 'insta-gallery'), QLIGG_PLUGIN_NAME); ?>
35
+ <br/>
36
+ <?php esc_html_e('This is another big update and lot of things have been improved in the frontend. Please make sure you clear all your server and browser caches.', 'insta-gallery'); ?>
37
+ </p>
38
+ <a href="<?php echo admin_url('admin.php?page=qligg_feeds'); ?>" class="button-primary" target="_blank">
39
+ <?php esc_html_e('Check Settings!', 'insta-gallery'); ?>
40
+ </a>
41
+ <a href="<?php echo esc_url(QLIGG_SUPPORT_URL); ?>" class="button-secondary" target="_blank">
42
+ <?php esc_html_e('Report a bug', 'insta-gallery'); ?>
43
+ </a>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <script>
48
+ (function ($) {
49
+ $('.qligg-notice').on('click', '.notice-dismiss', function (e) {
50
+ e.preventDefault();
51
+ var notice_id = $(e.delegateTarget).data('notice_id');
52
+ $.ajax({
53
+ type: 'POST',
54
+ url: ajaxurl,
55
+ data: {
56
+ notice_id: notice_id,
57
+ action: 'qligg_dismiss_notice',
58
+ },
59
+ success: function (response) {
60
+ console.log(response);
61
+ },
62
+ });
63
+ });
64
+ })(jQuery);
65
+ </script>
66
+ <?php
67
+ }
68
+ }
69
+
70
+ function add_action_links($links) {
71
+
72
+ $links[] = '<a target="_blank" href="' . QLIGG_PURCHASE_URL . '">' . esc_html__('Premium', 'insta-gallery') . '</a>';
73
+
74
+ $links[] = '<a href="' . admin_url('admin.php?page=qligg') . '">' . esc_html__('Settings', 'insta-gallery') . '</a>';
75
+
76
+ return $links;
77
+ }
78
+
79
+ function settings_header() {
80
+
81
+ global $submenu;
82
+
83
+ if (isset($submenu[QLIGG_DOMAIN])) {
84
+ $welcome_menu_items = $submenu[QLIGG_DOMAIN];
85
+ }
86
+
87
+ if (is_array($welcome_menu_items)) {
88
+ ?>
89
+ <div class="qlwrap wrap about-wrap full-width-layout">
90
+
91
+ <h1><?php esc_html_e('Instagram Gallery', 'insta-gallery'); ?></h1>
92
+
93
+ <p class="about-text"><?php esc_html_e('Thanks for using Instagram Gallery! We will do our best to offer you the best and improved experience.', 'insta-gallery'); ?></p>
94
+
95
+ <p class="about-text">
96
+ <?php printf('<a href="%s" target="_blank">%s</a>', QLIGG_DEMO_URL, esc_html__('Check out our demo', 'insta-gallery')); ?></a>
97
+ </p>
98
+
99
+ <?php printf('<a href="%s" target="_blank"><div style="
100
+ background: #006bff url(%s) no-repeat;
101
+ background-position: top center;
102
+ background-size: 130px 130px;
103
+ color: #fff;
104
+ font-size: 14px;
105
+ text-align: center;
106
+ font-weight: 600;
107
+ margin: 5px 0 0;
108
+ padding-top: 120px;
109
+ height: 40px;
110
+ display: inline-block;
111
+ width: 140px;
112
+ position: absolute;
113
+ top: 0;
114
+ right: 0;
115
+ " class="ql-badge">%s</div></a>', 'https://quadlayers.com/?utm_source=qligg_admin', plugins_url('/assets/img/quadlayers.jpg', QLIGG_PLUGIN_FILE), esc_html__('QuadLayers', 'insta-gallery')); ?>
116
+
117
+ </div>
118
+ <div class="qlwrap wrap about-wrap full-width-layout">
119
+ <h2 class="nav-tab-wrapper">
120
+ <?php
121
+ foreach ($welcome_menu_items as $welcome_menu_item) {
122
+ if (strpos($welcome_menu_item[2], '.php') !== false)
123
+ continue;
124
+ ?>
125
+ <a href="<?php echo admin_url('admin.php?page=' . esc_attr($welcome_menu_item[2])); ?>" class="nav-tab<?php echo (isset($_GET['page']) && $_GET['page'] == $welcome_menu_item[2]) ? ' nav-tab-active' : ''; ?>"><?php echo wp_kses_post($welcome_menu_item[0]); ?></a>
126
+ <?php
127
+ }
128
+ ?>
129
+ </h2>
130
+ </div>
131
+ <?php
132
+ }
133
+ }
134
+
135
+ function settings_welcome() {
136
+
137
+ global $qligg_token;
138
+ ?>
139
+ <?php $this->settings_header(); ?>
140
+ <div class="qlwrap wrap about-wrap full-width-layout">
141
+ <?php include_once('pages/welcome.php'); ?>
142
+ </div>
143
+ <?php
144
+ }
145
+
146
+ function settings_token() {
147
+
148
+ global $qligg, $qligg_token, $qligg_api;
149
+ ?>
150
+ <?php $this->settings_header(); ?>
151
+ <div class="qlwrap wrap about-wrap full-width-layout">
152
+ <?php include_once('pages/token.php'); ?>
153
+ </div>
154
+ <?php
155
+ }
156
+
157
+ function settings_feeds() {
158
+ global $qligg, $qligg_token, $qligg_api;
159
+ $instagram_feeds = get_option('insta_gallery_items', array());
160
+ ?>
161
+ <?php $this->settings_header(); ?>
162
+ <div class="qlwrap wrap about-wrap full-width-layout">
163
+ <?php include_once('pages/views/list.php'); ?>
164
+ <?php
165
+ $instagram_feed = QLIGG_Options::instance()->instagram_feed;
166
+
167
+ if (isset($_GET['tab']) && $_GET['tab'] == 'edit') {
168
+
169
+ if (isset($_GET['item_id'])) {
170
+
171
+ $ig_item_id = absint($_GET['item_id']);
172
+
173
+ if (isset($instagram_feeds[$ig_item_id])) {
174
+
175
+ $instagram_feed = wp_parse_args($instagram_feeds[$ig_item_id], $instagram_feed);
176
+ }
177
+ }
178
+
179
+ include_once('pages/views/edit.php');
180
+ }
181
+ ?>
182
+ </div>
183
+ <?php
184
+ }
185
+
186
+ function settings_premium() {
187
+
188
+ global $qligg_token, $qligg_api;
189
+ ?>
190
+ <?php $this->settings_header(); ?>
191
+ <div class="qlwrap wrap about-wrap full-width-layout">
192
+ <?php include_once('pages/premium.php'); ?>
193
+ </div>
194
+ <?php
195
+ }
196
+
197
+ function add_menu() {
198
+ add_menu_page(QLIGG_PLUGIN_NAME, QLIGG_PLUGIN_NAME, 'manage_options', QLIGG_DOMAIN, array($this, 'settings_welcome'), 'dashicons-camera');
199
+ add_submenu_page(QLIGG_DOMAIN, __('Welcome', 'insta-gallery'), esc_html__('Welcome', 'insta-gallery'), 'manage_options', QLIGG_DOMAIN, array($this, 'settings_welcome'));
200
+ add_submenu_page(QLIGG_DOMAIN, __('Account', 'insta-gallery'), esc_html__('Account', 'insta-gallery'), 'edit_posts', QLIGG_DOMAIN . '_token', array($this, 'settings_token'));
201
+ add_submenu_page(QLIGG_DOMAIN, __('Feeds', 'insta-gallery'), esc_html__('Feeds', 'insta-gallery'), 'edit_posts', QLIGG_DOMAIN . '_feeds', array($this, 'settings_feeds'));
202
+ add_submenu_page(QLIGG_DOMAIN, __('Premium', 'insta-gallery'), sprintf('<i class="dashicons dashicons-awards"></i> %s', __('Premium', 'insta-gallery')), 'edit_posts', QLIGG_DOMAIN . '_premium', array($this, 'settings_premium'));
203
+ }
204
+
205
+ function add_admin_js($hook) {
206
+ if (isset($_GET['page']) && strpos($_GET['page'], QLIGG_DOMAIN) !== false) {
207
+ wp_enqueue_style('qligg-admin', plugins_url('/assets/css/qligg-admin.min.css', QLIGG_PLUGIN_FILE), array('wp-color-picker'), QLIGG_PLUGIN_VERSION, 'all');
208
+ wp_enqueue_script('wp-color-picker-alpha', plugins_url('/assets/rgba/wp-color-picker-alpha.min.js', QLIGG_PLUGIN_FILE), array('jquery', 'wp-color-picker'), QLIGG_PLUGIN_VERSION, true);
209
+ wp_enqueue_script('qligg-admin', plugins_url('/assets/js/qligg-admin.min.js', QLIGG_PLUGIN_FILE), array('jquery', 'wp-color-picker-alpha'), QLIGG_PLUGIN_VERSION, true);
210
+ wp_localize_script('qligg-admin', 'qligg', array(
211
+ 'nonce' => wp_create_nonce('qligg_generate_token'),
212
+ 'remove_gallery' => __('Are you sure want to delete this item?', 'insta-gallery'),
213
+ 'remove_token' => __('Are you sure want to delete this access token?', 'insta-gallery'),
214
+ 'remove_data' => __('Are you sure want to delete all settings on plugin uninstall?', 'insta-gallery')
215
+ ));
216
+ wp_enqueue_media();
217
+ }
218
+ }
219
+
220
+ function dequeue_admin_js() {
221
+ // Fix Instagram Feed compatibility
222
+ if (isset($_GET['page']) && strpos($_GET['page'], QLIGG_DOMAIN) !== false) {
223
+ wp_deregister_script('sb_instagram_admin_js');
224
+ wp_dequeue_script('sb_instagram_admin_js');
225
+ }
226
+ }
227
+
228
+ function init() {
229
+ add_action('wp_ajax_qligg_dismiss_notice', array($this, 'ajax_dismiss_notice'));
230
+ add_action('admin_notices', array($this, 'add_notices'));
231
+ add_action('admin_enqueue_scripts', array($this, 'add_admin_js'));
232
+ add_action('admin_enqueue_scripts', array($this, 'dequeue_admin_js'), 999);
233
+ add_action('admin_menu', array($this, 'add_menu'));
234
+ add_filter('plugin_action_links_' . plugin_basename(QLIGG_PLUGIN_FILE), array($this, 'add_action_links'));
235
+ }
236
+
237
+ public static function instance() {
238
+ if (!isset(self::$instance)) {
239
+ self::$instance = new self();
240
+ self::$instance->init();
241
+ }
242
+ return self::$instance;
243
+ }
244
+
245
+ }
246
+
247
+ QLIGG_Settings::instance();
248
+ }
includes/utis.php CHANGED
@@ -3,29 +3,16 @@
3
  if (!defined('ABSPATH'))
4
  exit;
5
 
6
- global $qligg, $qligg_api;
7
-
8
- // Save account info
9
- // -----------------------------------------------------------------------------
10
- function qligg_save_options() {
11
- global $qligg;
12
- $option = $qligg;
13
- //$option = array_map(function ($value) {
14
- // return base64_encode($value);
15
- //}, $option);
16
- update_option('insta_gallery_token', $option, false);
17
- delete_option('insta_gallery_iac');
18
- delete_transient('insta_gallery_user_profile');
19
- }
20
-
21
  // Return user profile
22
  // -----------------------------------------------------------------------------
23
- function qligg_get_user_profile($id = null) {
24
 
25
- global $qligg, $qligg_api;
26
 
27
  $profile_info = array();
28
 
 
 
29
  $defaults = array(
30
  'id' => '',
31
  'user' => 'nousername',
@@ -34,25 +21,27 @@ function qligg_get_user_profile($id = null) {
34
  'link' => ''
35
  );
36
 
37
- $tk = "insta_gallery_user_profile"; // transient key
 
 
38
 
39
  if (QLIGG_DEVELOPER || false === ($profile_info = get_transient($tk))) {
40
-
41
- if (empty($id) || !isset($qligg[$id])) {
42
- return $defaults;
43
  }
 
 
44
 
45
- if ($profile_info[$id] = $qligg_api->get_user_profile($qligg[$id])) {
46
- set_transient($tk, $profile_info, 2 * HOUR_IN_SECONDS);
47
- }
48
  }
49
 
50
  return wp_parse_args(array(
51
- 'id' => @$profile_info[$id]['id'],
52
- 'user' => @$profile_info[$id]['username'],
53
- 'name' => @$profile_info[$id]['full_name'],
54
- 'picture' => @$profile_info[$id]['profile_picture'],
55
- 'link' => "{$qligg_api->instagram_url}/{$profile_info[$id]['username']}"
56
  ), $defaults);
57
  }
58
 
@@ -60,7 +49,7 @@ function qligg_get_user_profile($id = null) {
60
  // -----------------------------------------------------------------------------
61
  function qligg_get_tag_profile($tag = null) {
62
 
63
- global $qligg, $qligg_api;
64
 
65
  if (!$tag) {
66
  return;
@@ -88,10 +77,10 @@ function qligg_get_tag_profile($tag = null) {
88
  }
89
 
90
  return wp_parse_args(array(
91
- 'id' => @$response['graphql']['hashtag']['id'],
92
- 'user' => @$response['graphql']['hashtag']['name'],
93
- 'name' => sprintf(__('Tag #%s', 'insta-gallery'), @$response['graphql']['hashtag']['name']),
94
- 'picture' => @$response['graphql']['hashtag']['profile_pic_url'],
95
  'link' => "{$qligg_api->instagram_url}/explore/tags/{$tag}"
96
  ), $defaults);
97
  }
@@ -100,14 +89,14 @@ function qligg_get_tag_profile($tag = null) {
100
  // -----------------------------------------------------------------------------
101
  function qligg_get_user_items($user_id = null, $limit = 12, $next_max_id = null, $max_id = null) {
102
 
103
- global $qligg, $qligg_api;
104
 
105
  if (!$user_id) {
106
  $qligg_api->set_message(__('Please update Instagram User in the gallery settings tab.', 'insta-gallery'));
107
  return;
108
  }
109
 
110
- if (empty($qligg[$user_id])) {
111
  $qligg_api->set_message(__('Please update Instagram Access Token in the account settings tab.', 'insta-gallery'));
112
  return;
113
  }
@@ -116,7 +105,7 @@ function qligg_get_user_items($user_id = null, $limit = 12, $next_max_id = null,
116
 
117
  // Get any existing copy of our transient data
118
  if (QLIGG_DEVELOPER || false === ($response = get_transient($tk))) {
119
- if ($response = $qligg_api->get_user_items($qligg[$user_id], $max_id)) {
120
  set_transient($tk, $response, 2 * HOUR_IN_SECONDS);
121
  }
122
  }
@@ -145,7 +134,7 @@ function qligg_get_user_items($user_id = null, $limit = 12, $next_max_id = null,
145
  // Get tag items
146
  // -----------------------------------------------------------------------------
147
  function qligg_get_tag_items($tag = null, $limit = 12, $next_max_id = null, $max_id = null) {
148
- global $qligg, $qligg_api;
149
 
150
  if (!$tag) {
151
  return;
3
  if (!defined('ABSPATH'))
4
  exit;
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  // Return user profile
7
  // -----------------------------------------------------------------------------
8
+ function qligg_get_user_profile($user_id = null) {
9
 
10
+ global $qligg_token, $qligg_api;
11
 
12
  $profile_info = array();
13
 
14
+ $tk = "insta_gallery_user_profile"; // transient key
15
+
16
  $defaults = array(
17
  'id' => '',
18
  'user' => 'nousername',
21
  'link' => ''
22
  );
23
 
24
+ if (empty($user_id) || !isset($qligg_token[$user_id])) {
25
+ return $defaults;
26
+ }
27
 
28
  if (QLIGG_DEVELOPER || false === ($profile_info = get_transient($tk))) {
29
+ foreach ($qligg_token as $id => $access_token) {
30
+ $profile_info[$id] = $qligg_api->get_user_profile($access_token);
 
31
  }
32
+ set_transient($tk, $profile_info, 2 * HOUR_IN_SECONDS);
33
+ }
34
 
35
+ if (!isset($profile_info[$user_id])) {
36
+ return $defaults;
 
37
  }
38
 
39
  return wp_parse_args(array(
40
+ 'id' => $profile_info[$user_id]['id'],
41
+ 'user' => "@{$profile_info[$user_id]['username']}",
42
+ 'name' => $profile_info[$user_id]['full_name'],
43
+ 'picture' => $profile_info[$user_id]['profile_picture'],
44
+ 'link' => "{$qligg_api->instagram_url}/{$profile_info[$user_id]['username']}"
45
  ), $defaults);
46
  }
47
 
49
  // -----------------------------------------------------------------------------
50
  function qligg_get_tag_profile($tag = null) {
51
 
52
+ global $qligg_token, $qligg_api;
53
 
54
  if (!$tag) {
55
  return;
77
  }
78
 
79
  return wp_parse_args(array(
80
+ 'id' => $response['graphql']['hashtag']['id'],
81
+ 'user' => "#{$response['graphql']['hashtag']['name']}",
82
+ 'name' => sprintf(__('Tag #%s', 'insta-gallery'), $response['graphql']['hashtag']['name']),
83
+ 'picture' => $response['graphql']['hashtag']['profile_pic_url'],
84
  'link' => "{$qligg_api->instagram_url}/explore/tags/{$tag}"
85
  ), $defaults);
86
  }
89
  // -----------------------------------------------------------------------------
90
  function qligg_get_user_items($user_id = null, $limit = 12, $next_max_id = null, $max_id = null) {
91
 
92
+ global $qligg_token, $qligg_api;
93
 
94
  if (!$user_id) {
95
  $qligg_api->set_message(__('Please update Instagram User in the gallery settings tab.', 'insta-gallery'));
96
  return;
97
  }
98
 
99
+ if (empty($qligg_token[$user_id])) {
100
  $qligg_api->set_message(__('Please update Instagram Access Token in the account settings tab.', 'insta-gallery'));
101
  return;
102
  }
105
 
106
  // Get any existing copy of our transient data
107
  if (QLIGG_DEVELOPER || false === ($response = get_transient($tk))) {
108
+ if ($response = $qligg_api->get_user_items($qligg_token[$user_id], $max_id)) {
109
  set_transient($tk, $response, 2 * HOUR_IN_SECONDS);
110
  }
111
  }
134
  // Get tag items
135
  // -----------------------------------------------------------------------------
136
  function qligg_get_tag_items($tag = null, $limit = 12, $next_max_id = null, $max_id = null) {
137
+ global $qligg_token, $qligg_api;
138
 
139
  if (!$tag) {
140
  return;
index.php CHANGED
@@ -1 +1,3 @@
1
- Silence is Golden!
 
 
1
+ <?php
2
+ // Silence is golden.
3
+ ?>
insta-gallery.php CHANGED
@@ -1,19 +1,16 @@
1
  <?php
2
-
3
- /*
4
- * Plugin Name: Instagram Feed Gallery
5
- * Description: Display beautifull and responsive galleries on your website from your Instagram feed account.
6
- * Author: QuadLayers
7
- * Author URI: https://www.quadlayers.com
8
- * Requires at least: 3.8
9
- * Requires PHP: 5.3
10
- * Tested up to: 5.2
11
- * Version: 2.3.3
12
- * Stable tag: 2.3.3
13
- * Text Domain: insta-gallery
14
- * Domain Path: /languages/
15
  */
16
-
17
  if (!defined('ABSPATH'))
18
  exit;
19
 
@@ -21,7 +18,7 @@ if (!defined('QLIGG_PLUGIN_NAME')) {
21
  define('QLIGG_PLUGIN_NAME', 'Instagram Gallery');
22
  }
23
  if (!defined('QLIGG_PLUGIN_VERSION')) {
24
- define('QLIGG_PLUGIN_VERSION', '2.3.3');
25
  }
26
  if (!defined('QLIGG_PLUGIN_FILE')) {
27
  define('QLIGG_PLUGIN_FILE', __FILE__);
@@ -70,8 +67,8 @@ if (!class_exists('QLIGG')) {
70
 
71
  if (!class_exists('QLIGG_API')) {
72
 
73
- include_once ('includes/API.php');
74
- include_once ('includes/AJAX.php');
75
 
76
  $qligg_api = new QLIGG_API();
77
  }
@@ -90,16 +87,10 @@ if (!class_exists('QLIGG')) {
90
  }
91
 
92
  function init() {
93
- //register_activation_hook(__FILE__, array($this, 'activate'));
94
- //register_deactivation_hook(__FILE__, array($this, 'deactivate'));
95
  add_action('widgets_init', array($this, 'register_widget'));
96
  add_action('plugins_loaded', array($this, 'i18n'));
97
  }
98
 
99
- public static function do_activation() {
100
- set_transient('qligg-first-rating', true, MONTH_IN_SECONDS);
101
- }
102
-
103
  public static function instance() {
104
  if (!isset(self::$instance)) {
105
  self::$instance = new self();
@@ -110,6 +101,10 @@ if (!class_exists('QLIGG')) {
110
  return self::$instance;
111
  }
112
 
 
 
 
 
113
  }
114
 
115
  QLIGG::instance();
1
  <?php
2
+ /**
3
+ * Plugin Name: Instagram Feed Gallery
4
+ * Plugin URI: https://quadlayers.com/portfolio/instagram-gallery/
5
+ * Description: Display beautifull and responsive galleries on your website from your Instagram feed account.
6
+ * Version: 2.4.0
7
+ * Author: Instagram Feed
8
+ * Author URI: https://quadlayers.com
9
+ * License: GPL-2.0+
10
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
11
+ * Text Domain: insta-gallery
12
+ * Domain Path: /languages
 
 
13
  */
 
14
  if (!defined('ABSPATH'))
15
  exit;
16
 
18
  define('QLIGG_PLUGIN_NAME', 'Instagram Gallery');
19
  }
20
  if (!defined('QLIGG_PLUGIN_VERSION')) {
21
+ define('QLIGG_PLUGIN_VERSION', '2.4.0');
22
  }
23
  if (!defined('QLIGG_PLUGIN_FILE')) {
24
  define('QLIGG_PLUGIN_FILE', __FILE__);
67
 
68
  if (!class_exists('QLIGG_API')) {
69
 
70
+ include_once ('includes/api.php');
71
+ include_once ('includes/ajax.php');
72
 
73
  $qligg_api = new QLIGG_API();
74
  }
87
  }
88
 
89
  function init() {
 
 
90
  add_action('widgets_init', array($this, 'register_widget'));
91
  add_action('plugins_loaded', array($this, 'i18n'));
92
  }
93
 
 
 
 
 
94
  public static function instance() {
95
  if (!isset(self::$instance)) {
96
  self::$instance = new self();
101
  return self::$instance;
102
  }
103
 
104
+ public static function do_activation() {
105
+ set_transient('qligg-first-rating', true, MONTH_IN_SECONDS);
106
+ }
107
+
108
  }
109
 
110
  QLIGG::instance();
languages/index.php CHANGED
@@ -1,2 +1,2 @@
1
- <?php
2
  // Silence is golden.
1
+ <?php
2
  // Silence is golden.
languages/insta-gallery-es_ES.po CHANGED
@@ -1,428 +1,428 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2018-05-15 16:33+0000\n"
5
- "PO-Revision-Date: 2018-05-15 16:34+0000\n"
6
- "Last-Translator: bunti <buntisoft@gmail.com>\n"
7
- "Language-Team: Spanish (Spain)\n"
8
- "Language: es_ES\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Loco https://localise.biz/\n"
13
- "X-Poedit-Basepath: ..\n"
14
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
- "X-Poedit-KeywordsList: _e;__\n"
16
- "X-Poedit-SearchPath-0: .\n"
17
- "Report-Msgid-Bugs-To: "
18
-
19
- #: insta-gallery.php:95
20
- msgid "settings updated successfully"
21
- msgstr "opciones actualizadas correctamente"
22
-
23
- #: insta-gallery.php:117 app/wp-front.php:144 app/wp-front.php:149
24
- #: app/wp-panel.php:82 app/wp-widget.php:19
25
- msgid "Instagram Gallery"
26
- msgstr "Instagram Gallery"
27
-
28
- #: insta-gallery.php:138
29
- msgid "Settings"
30
- msgstr "Configuración"
31
-
32
- #: app/wp-front.php:339
33
- msgid "ERROR: invalid display type, please check gallery settings."
34
- msgstr ""
35
- "ERROR: display inválido, por favor revisa la configuración de la galería."
36
-
37
- #: app/wp-front.php:346
38
- msgid "Instagram account may be private or inavalid username/tagname."
39
- msgstr ""
40
- "La cuenta de Instagram puede ser privada o el usuario/hashtag inválido."
41
-
42
- #: app/wp-front.php:347
43
- msgid "network or server side issue."
44
- msgstr "problema de red o del servidor."
45
-
46
- #: app/wp-panel.php:64
47
- msgid "Gallery item updated successfully."
48
- msgstr "El ítem se actualizó correctamente."
49
-
50
- #: app/wp-panel.php:74
51
- msgid "Gallery item deleted successfully."
52
- msgstr "El ítem se eliminó correctamente."
53
-
54
- #: app/wp-panel.php:83
55
- msgid "easy way to display Instagram pictures on the website."
56
- msgstr "una manera fácil de mostrar fotos de Instagram en un sitio web."
57
-
58
- #: app/wp-widget.php:21
59
- msgid "Displays your Instagram Gallery"
60
- msgstr ""
61
-
62
- #: app/wp-widget.php:55
63
- msgid "Title"
64
- msgstr ""
65
-
66
- #: app/wp-widget.php:62
67
- msgid "Select Instagram Gallery"
68
- msgstr ""
69
-
70
- #: app/wp-widget.php:68 app/views/edit.php:47 app/views/list.php:34
71
- msgid "Username"
72
- msgstr "Usuario"
73
-
74
- #: app/wp-widget.php:70 app/views/edit.php:49 app/views/list.php:36
75
- msgid "Tagname"
76
- msgstr "Hashtag"
77
-
78
- #: app/wp-widget.php:79
79
- msgid ""
80
- "Please add Gallery item in plugin panel, Then come back and select your "
81
- "Gallery to display."
82
- msgstr ""
83
- "Por favor agrega un ítem desde el panel del plugin, luego vuelve y "
84
- "selecciona la galería a mostrar."
85
-
86
- #: app/wp-widget.php:83 app/views/list.php:11 app/views/list.php:11
87
- msgid "Add New Gallery"
88
- msgstr "Nueva Galería"
89
-
90
- #: app/views/edit.php:37
91
- msgid "View Galleries List"
92
- msgstr "Ver Lista de Galerías"
93
-
94
- #: app/views/edit.php:37
95
- msgid "Back to List"
96
- msgstr "Volver a listas"
97
-
98
- #: app/views/edit.php:43
99
- msgid "Display Instagram Gallery from"
100
- msgstr "Mostrar Galería desde"
101
-
102
- #: app/views/edit.php:51
103
- msgid ""
104
- "Please select option to display pictures from Instagram Username OR # Tag."
105
- msgstr ""
106
- "Por favor selecciona una opción para mostrar fotos desde un usuario o # Tag."
107
-
108
- #: app/views/edit.php:59
109
- msgid "Instagram Username"
110
- msgstr "Usuario de Instagram"
111
-
112
- #: app/views/edit.php:65
113
- msgid "Please enter Instagram Username."
114
- msgstr "Por favor ingresa un nombre de usuario."
115
-
116
- #: app/views/edit.php:68 app/views/edit.php:88
117
- msgid "Pictures Limit"
118
- msgstr "Limite de fotos"
119
-
120
- #: app/views/edit.php:70
121
- msgid "number of pictures to display (max: 12)"
122
- msgstr "número de fotos a mostrar (max: 12)"
123
-
124
- #: app/views/edit.php:79
125
- msgid "Instagram Tagname"
126
- msgstr "Hashtag"
127
-
128
- #: app/views/edit.php:85
129
- msgid "Please enter Instagram Tagname."
130
- msgstr "Por favor ingresa un Hashtag."
131
-
132
- #: app/views/edit.php:90
133
- msgid "number of pictures to display."
134
- msgstr "número de fotos a mostrar."
135
-
136
- #: app/views/edit.php:96
137
- msgid "Show As"
138
- msgstr "Mostrar como"
139
-
140
- #: app/views/edit.php:99
141
- msgid "Gallery"
142
- msgstr "Galería"
143
-
144
- #: app/views/edit.php:102
145
- msgid "Carousel"
146
- msgstr "Carrusel"
147
-
148
- #: app/views/edit.php:110
149
- msgid "Pictures will be displayed as Grid."
150
- msgstr "Las fotos se mostrarán en una cuadrícula."
151
-
152
- #: app/views/edit.php:114
153
- msgid "No. of Grid Columns"
154
- msgstr "No. de columnas"
155
-
156
- #: app/views/edit.php:116
157
- msgid "number of pictures in a row"
158
- msgstr "número de fotos por fila"
159
-
160
- #: app/views/edit.php:120
161
- msgid "Image hover effect"
162
- msgstr "Efecto hover"
163
-
164
- #: app/views/edit.php:122
165
- msgid "mouseover animation effect on image"
166
- msgstr "animación al pasar el mouse"
167
-
168
- #: app/views/edit.php:125
169
- msgid "Space between images"
170
- msgstr "Espacio entre imágenes"
171
-
172
- #: app/views/edit.php:127
173
- msgid "add blank space between images"
174
- msgstr "agregar espacio entre imágenes"
175
-
176
- #: app/views/edit.php:135
177
- msgid "Pictures will be displayed as Carousel slider."
178
- msgstr "Las fotos se mostrarán como carrusel."
179
-
180
- #: app/views/edit.php:139
181
- msgid "Slides per view"
182
- msgstr "Imágenes por vista"
183
-
184
- #: app/views/edit.php:141
185
- msgid "display number of pictures per slide view."
186
- msgstr "número de fotos por slide."
187
-
188
- #: app/views/edit.php:145
189
- msgid "Autoplay"
190
- msgstr "Autoplay"
191
-
192
- #: app/views/edit.php:147
193
- msgid "autoplay carousel items."
194
- msgstr "activa el autoplay."
195
-
196
- #: app/views/edit.php:150
197
- msgid "Navigation arrows"
198
- msgstr "Flechas de navegación"
199
-
200
- #: app/views/edit.php:152
201
- msgid "show prev-next navigation arrows."
202
- msgstr "mostrar flechas anterior-siguiente."
203
-
204
- #: app/views/edit.php:155
205
- msgid "Navigation arrows color"
206
- msgstr ""
207
-
208
- #: app/views/edit.php:159
209
- msgid "change navigation arrows color here."
210
- msgstr ""
211
-
212
- #: app/views/edit.php:162
213
- msgid "Dotted navigation"
214
- msgstr "Puntos de navegación"
215
-
216
- #: app/views/edit.php:164
217
- msgid "show dotted navigation buttons."
218
- msgstr "mostrar puntos de navegación."
219
-
220
- #: app/views/edit.php:165 app/views/edit.php:204
221
- msgid "Deprecated: this option will be removed in the future updates."
222
- msgstr ""
223
-
224
- #: app/views/edit.php:169
225
- msgid "Space between slides"
226
- msgstr "Espacio ente slides"
227
-
228
- #: app/views/edit.php:171
229
- msgid "add blank space between carousel items."
230
- msgstr "agregar espacio en blanco entre las imágenes del carrusel."
231
-
232
- #: app/views/edit.php:177
233
- msgid "Images thumbnail size"
234
- msgstr "Tamaño de imágen"
235
-
236
- #: app/views/edit.php:179
237
- msgid "Medium"
238
- msgstr "Mediano"
239
-
240
- #: app/views/edit.php:180
241
- msgid "Small"
242
- msgstr "Pequeño"
243
-
244
- #: app/views/edit.php:185
245
- msgid "Images hover effect color"
246
- msgstr "Color de efecto hover"
247
-
248
- #: app/views/edit.php:188
249
- msgid "select color which is displayed when hovered over images."
250
- msgstr "selecciona el color que será mostrado al pasar sobre las imágenes."
251
-
252
- #: app/views/edit.php:189
253
- msgid "color name should be in Hexadecimal notation. e.g. #dddddd"
254
- msgstr "el color debe ser un valor Hexadecimal. ej: #dddddd"
255
-
256
- #: app/views/edit.php:193
257
- msgid "Popup images on click"
258
- msgstr "Activar popup al hacer click"
259
-
260
- #: app/views/edit.php:195
261
- msgid ""
262
- "show popup gallery by clicking on image thumbnail. else it will open "
263
- "Instagram page."
264
- msgstr ""
265
- "muestra una galería en formato popup al hacer clic en la imagen, si no, "
266
- "abrirá la página de Instagram."
267
-
268
- #: app/views/edit.php:196
269
- msgid ""
270
- "uncheck this if it conflicts with other plugins, like: fancybox, prettyphoto "
271
- "etc."
272
- msgstr ""
273
- "desmarca esta opción si hace conflicto con otros plugins como: fancybox, "
274
- "prettyphoto, etc."
275
-
276
- #: app/views/edit.php:200
277
- msgid "Display image caption"
278
- msgstr "Mostrar descripción de la imágen"
279
-
280
- #: app/views/edit.php:202
281
- msgid "Display caption/tags below images when popup."
282
- msgstr "Mostrar texto/tags debajo de la imagen en modo popup."
283
-
284
- #: app/views/edit.php:208
285
- msgid "Display Likes"
286
- msgstr "Mostrar likes"
287
-
288
- #: app/views/edit.php:210
289
- msgid "display likes count of images."
290
- msgstr "mostrar cantidad de likes."
291
-
292
- #: app/views/edit.php:213
293
- msgid "Display Comments"
294
- msgstr "Mostrar comentarios"
295
-
296
- #: app/views/edit.php:215
297
- msgid "display comments count of images."
298
- msgstr "mostrar cantidad de comentarios."
299
-
300
- #: app/views/edit.php:218
301
- msgid "Display Instagram Link Button"
302
- msgstr "Mostrar botón de enlace a Instagram"
303
-
304
- #: app/views/edit.php:220
305
- msgid "show the button to open Instagram site link"
306
- msgstr "suestra el botón para abrir la página de Instagram"
307
-
308
- #: app/views/edit.php:226
309
- msgid "Instagram Button Text"
310
- msgstr "Texto del botón"
311
-
312
- #: app/views/edit.php:228
313
- msgid "update Instagram button text here."
314
- msgstr "actualiza el texto del botón."
315
-
316
- #: app/views/edit.php:231
317
- msgid "Button Background Color"
318
- msgstr "Color de fondo del botón"
319
-
320
- #: app/views/edit.php:235
321
- msgid "color which is displayed on button background."
322
- msgstr "el color de fondo que tendrá el botón."
323
-
324
- #: app/views/edit.php:238
325
- msgid "Button Hover Color"
326
- msgstr "Color secundario del botón"
327
-
328
- #: app/views/edit.php:242
329
- msgid "color which is displayed when hovered over button."
330
- msgstr "el color que será mostrado al pasar el mouse por el botón."
331
-
332
- #: app/views/edit.php:251 app/views/list.php:133
333
- msgid "Update"
334
- msgstr "Actualizar"
335
-
336
- #: app/views/edit.php:253
337
- msgid ""
338
- "update settings and copy/paste generated shortcode in your post/pages or "
339
- "goto Widgets and use Instagram Gallery widget."
340
- msgstr ""
341
- "actualiza las opciones y copia/pega el shortcode generado en tu post/página "
342
- "o ve a Widgets para usar el widget de Instagram Gallery."
343
-
344
- #: app/views/list.php:21
345
- msgid "Gallery Item"
346
- msgstr "Item"
347
-
348
- #: app/views/list.php:22
349
- msgid "Shortcode"
350
- msgstr "Shortcode"
351
-
352
- #: app/views/list.php:23
353
- msgid "Action"
354
- msgstr "Acción"
355
-
356
- #: app/views/list.php:41
357
- msgid "Edit"
358
- msgstr "Editar"
359
-
360
- #: app/views/list.php:42
361
- msgid "Delete"
362
- msgstr "Borrar"
363
-
364
- #: app/views/list.php:53
365
- msgid "Additional Setting"
366
- msgstr "Opciones adicionales"
367
-
368
- #: app/views/list.php:61
369
- msgid "Gallery Loader Icon"
370
- msgstr "Icono de carga"
371
-
372
- #: app/views/list.php:75
373
- msgid "Update Spinner"
374
- msgstr "Actualizar Spinner"
375
-
376
- #: app/views/list.php:76
377
- msgid "Reset Spinner"
378
- msgstr "Resetear Spinner"
379
-
380
- #: app/views/list.php:79
381
- msgid ""
382
- "please select the image from media to replace with default Gallery loader "
383
- "icon."
384
- msgstr "por favor selecciona una imagen para remplazar el icono de carga."
385
-
386
- #: app/views/list.php:126
387
- msgid "Remove everything on uninstall"
388
- msgstr "Remover todo al desinstalar"
389
-
390
- #: app/views/list.php:128
391
- msgid ""
392
- "check this box to remove all data related to this plugin when removing the "
393
- "plugin."
394
- msgstr ""
395
- "marca esta opción para remover todos los datos relacionados a este plugin al "
396
- "desinstalarlo."
397
-
398
- #: app/views/list.php:142
399
- msgid ""
400
- "Please Donate now to support the Maintainance and Advancement of this plugin."
401
- " Thanks"
402
- msgstr ""
403
- "Por favor dona ahora para apoyar el mantenimiento y avance de este plugin. "
404
- "Gracias"
405
-
406
- #: app/views/list.php:143
407
- msgid "Donate"
408
- msgstr "Donar"
409
-
410
- #: app/views/list.php:151
411
- msgid "Are you sure want to delete this item?"
412
- msgstr "Estás seguro/a de que quieres borrar este ítem?"
413
-
414
- #: app/views/list.php:174
415
- msgid "please make sure every settings will be removed on plugin uninstall."
416
- msgstr "por favor asegúrate de que cada opción sea removida al desinstalar."
417
-
418
- #. Description of the plugin
419
- msgid "Display Gallery on the website from Instagram."
420
- msgstr ""
421
-
422
- #. Author of the plugin
423
- msgid "Karan Singh"
424
- msgstr ""
425
-
426
- #. Author URI of the plugin
427
- msgid "https://www.karansingh.ml/"
428
- msgstr ""
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2018-05-15 16:33+0000\n"
5
+ "PO-Revision-Date: 2018-05-15 16:34+0000\n"
6
+ "Last-Translator: bunti <buntisoft@gmail.com>\n"
7
+ "Language-Team: Spanish (Spain)\n"
8
+ "Language: es_ES\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Loco https://localise.biz/\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "Report-Msgid-Bugs-To: "
18
+
19
+ #: insta-gallery.php:95
20
+ msgid "settings updated successfully"
21
+ msgstr "opciones actualizadas correctamente"
22
+
23
+ #: insta-gallery.php:117 app/wp-front.php:144 app/wp-front.php:149
24
+ #: app/wp-panel.php:82 app/wp-widget.php:19
25
+ msgid "Instagram Gallery"
26
+ msgstr "Instagram Gallery"
27
+
28
+ #: insta-gallery.php:138
29
+ msgid "Settings"
30
+ msgstr "Configuración"
31
+
32
+ #: app/wp-front.php:339
33
+ msgid "ERROR: invalid display type, please check gallery settings."
34
+ msgstr ""
35
+ "ERROR: display inválido, por favor revisa la configuración de la galería."
36
+
37
+ #: app/wp-front.php:346
38
+ msgid "Instagram account may be private or inavalid username/tagname."
39
+ msgstr ""
40
+ "La cuenta de Instagram puede ser privada o el usuario/hashtag inválido."
41
+
42
+ #: app/wp-front.php:347
43
+ msgid "network or server side issue."
44
+ msgstr "problema de red o del servidor."
45
+
46
+ #: app/wp-panel.php:64
47
+ msgid "Gallery item updated successfully."
48
+ msgstr "El ítem se actualizó correctamente."
49
+
50
+ #: app/wp-panel.php:74
51
+ msgid "Gallery item deleted successfully."
52
+ msgstr "El ítem se eliminó correctamente."
53
+
54
+ #: app/wp-panel.php:83
55
+ msgid "easy way to display Instagram pictures on the website."
56
+ msgstr "una manera fácil de mostrar fotos de Instagram en un sitio web."
57
+
58
+ #: app/wp-widget.php:21
59
+ msgid "Displays your Instagram Gallery"
60
+ msgstr ""
61
+
62
+ #: app/wp-widget.php:55
63
+ msgid "Title"
64
+ msgstr ""
65
+
66
+ #: app/wp-widget.php:62
67
+ msgid "Select Instagram Gallery"
68
+ msgstr ""
69
+
70
+ #: app/wp-widget.php:68 app/views/edit.php:47 app/views/list.php:34
71
+ msgid "Username"
72
+ msgstr "Usuario"
73
+
74
+ #: app/wp-widget.php:70 app/views/edit.php:49 app/views/list.php:36
75
+ msgid "Tagname"
76
+ msgstr "Hashtag"
77
+
78
+ #: app/wp-widget.php:79
79
+ msgid ""
80
+ "Please add Gallery item in plugin panel, Then come back and select your "
81
+ "Gallery to display."
82
+ msgstr ""
83
+ "Por favor agrega un ítem desde el panel del plugin, luego vuelve y "
84
+ "selecciona la galería a mostrar."
85
+
86
+ #: app/wp-widget.php:83 app/views/list.php:11 app/views/list.php:11
87
+ msgid "Add New Gallery"
88
+ msgstr "Nueva Galería"
89
+
90
+ #: app/views/edit.php:37
91
+ msgid "View Galleries List"
92
+ msgstr "Ver Lista de Galerías"
93
+
94
+ #: app/views/edit.php:37
95
+ msgid "Back to List"
96
+ msgstr "Volver a listas"
97
+
98
+ #: app/views/edit.php:43
99
+ msgid "Display Instagram Gallery from"
100
+ msgstr "Mostrar Galería desde"
101
+
102
+ #: app/views/edit.php:51
103
+ msgid ""
104
+ "Please select option to display pictures from Instagram Username OR # Tag."
105
+ msgstr ""
106
+ "Por favor selecciona una opción para mostrar fotos desde un usuario o # Tag."
107
+
108
+ #: app/views/edit.php:59
109
+ msgid "Instagram Username"
110
+ msgstr "Usuario de Instagram"
111
+
112
+ #: app/views/edit.php:65
113
+ msgid "Please enter Instagram Username."
114
+ msgstr "Por favor ingresa un nombre de usuario."
115
+
116
+ #: app/views/edit.php:68 app/views/edit.php:88
117
+ msgid "Pictures Limit"
118
+ msgstr "Limite de fotos"
119
+
120
+ #: app/views/edit.php:70
121
+ msgid "number of pictures to display (max: 12)"
122
+ msgstr "número de fotos a mostrar (max: 12)"
123
+
124
+ #: app/views/edit.php:79
125
+ msgid "Instagram Tagname"
126
+ msgstr "Hashtag"
127
+
128
+ #: app/views/edit.php:85
129
+ msgid "Please enter Instagram Tagname."
130
+ msgstr "Por favor ingresa un Hashtag."
131
+
132
+ #: app/views/edit.php:90
133
+ msgid "number of pictures to display."
134
+ msgstr "número de fotos a mostrar."
135
+
136
+ #: app/views/edit.php:96
137
+ msgid "Show As"
138
+ msgstr "Mostrar como"
139
+
140
+ #: app/views/edit.php:99
141
+ msgid "Gallery"
142
+ msgstr "Galería"
143
+
144
+ #: app/views/edit.php:102
145
+ msgid "Carousel"
146
+ msgstr "Carrusel"
147
+
148
+ #: app/views/edit.php:110
149
+ msgid "Pictures will be displayed as Grid."
150
+ msgstr "Las fotos se mostrarán en una cuadrícula."
151
+
152
+ #: app/views/edit.php:114
153
+ msgid "No. of Grid Columns"
154
+ msgstr "No. de columnas"
155
+
156
+ #: app/views/edit.php:116
157
+ msgid "number of pictures in a row"
158
+ msgstr "número de fotos por fila"
159
+
160
+ #: app/views/edit.php:120
161
+ msgid "Image hover effect"
162
+ msgstr "Efecto hover"
163
+
164
+ #: app/views/edit.php:122
165
+ msgid "mouseover animation effect on image"
166
+ msgstr "animación al pasar el mouse"
167
+
168
+ #: app/views/edit.php:125
169
+ msgid "Space between images"
170
+ msgstr "Espacio entre imágenes"
171
+
172
+ #: app/views/edit.php:127
173
+ msgid "add blank space between images"
174
+ msgstr "agregar espacio entre imágenes"
175
+
176
+ #: app/views/edit.php:135
177
+ msgid "Pictures will be displayed as Carousel slider."
178
+ msgstr "Las fotos se mostrarán como carrusel."
179
+
180
+ #: app/views/edit.php:139
181
+ msgid "Slides per view"
182
+ msgstr "Imágenes por vista"
183
+
184
+ #: app/views/edit.php:141
185
+ msgid "display number of pictures per slide view."
186
+ msgstr "número de fotos por slide."
187
+
188
+ #: app/views/edit.php:145
189
+ msgid "Autoplay"
190
+ msgstr "Autoplay"
191
+
192
+ #: app/views/edit.php:147
193
+ msgid "autoplay carousel items."
194
+ msgstr "activa el autoplay."
195
+
196
+ #: app/views/edit.php:150
197
+ msgid "Navigation arrows"
198
+ msgstr "Flechas de navegación"
199
+
200
+ #: app/views/edit.php:152
201
+ msgid "show prev-next navigation arrows."
202
+ msgstr "mostrar flechas anterior-siguiente."
203
+
204
+ #: app/views/edit.php:155
205
+ msgid "Navigation arrows color"
206
+ msgstr ""
207
+
208
+ #: app/views/edit.php:159
209
+ msgid "change navigation arrows color here."
210
+ msgstr ""
211
+
212
+ #: app/views/edit.php:162
213
+ msgid "Dotted navigation"
214
+ msgstr "Puntos de navegación"
215
+
216
+ #: app/views/edit.php:164
217
+ msgid "show dotted navigation buttons."
218
+ msgstr "mostrar puntos de navegación."
219
+
220
+ #: app/views/edit.php:165 app/views/edit.php:204
221
+ msgid "Deprecated: this option will be removed in the future updates."
222
+ msgstr ""
223
+
224
+ #: app/views/edit.php:169
225
+ msgid "Space between slides"
226
+ msgstr "Espacio ente slides"
227
+
228
+ #: app/views/edit.php:171
229
+ msgid "add blank space between carousel items."
230
+ msgstr "agregar espacio en blanco entre las imágenes del carrusel."
231
+
232
+ #: app/views/edit.php:177
233
+ msgid "Images thumbnail size"
234
+ msgstr "Tamaño de imágen"
235
+
236
+ #: app/views/edit.php:179
237
+ msgid "Medium"
238
+ msgstr "Mediano"
239
+
240
+ #: app/views/edit.php:180
241
+ msgid "Small"
242
+ msgstr "Pequeño"
243
+
244
+ #: app/views/edit.php:185
245
+ msgid "Images hover effect color"
246
+ msgstr "Color de efecto hover"
247
+
248
+ #: app/views/edit.php:188
249
+ msgid "select color which is displayed when hovered over images."
250
+ msgstr "selecciona el color que será mostrado al pasar sobre las imágenes."
251
+
252
+ #: app/views/edit.php:189
253
+ msgid "color name should be in Hexadecimal notation. e.g. #dddddd"
254
+ msgstr "el color debe ser un valor Hexadecimal. ej: #dddddd"
255
+
256
+ #: app/views/edit.php:193
257
+ msgid "Popup images on click"
258
+ msgstr "Activar popup al hacer click"
259
+
260
+ #: app/views/edit.php:195
261
+ msgid ""
262
+ "show popup gallery by clicking on image thumbnail. else it will open "
263
+ "Instagram page."
264
+ msgstr ""
265
+ "muestra una galería en formato popup al hacer clic en la imagen, si no, "
266
+ "abrirá la página de Instagram."
267
+
268
+ #: app/views/edit.php:196
269
+ msgid ""
270
+ "uncheck this if it conflicts with other plugins, like: fancybox, prettyphoto "
271
+ "etc."
272
+ msgstr ""
273
+ "desmarca esta opción si hace conflicto con otros plugins como: fancybox, "
274
+ "prettyphoto, etc."
275
+
276
+ #: app/views/edit.php:200
277
+ msgid "Display image caption"
278
+ msgstr "Mostrar descripción de la imágen"
279
+
280
+ #: app/views/edit.php:202
281
+ msgid "Display caption/tags below images when popup."
282
+ msgstr "Mostrar texto/tags debajo de la imagen en modo popup."
283
+
284
+ #: app/views/edit.php:208
285
+ msgid "Display Likes"
286
+ msgstr "Mostrar likes"
287
+
288
+ #: app/views/edit.php:210
289
+ msgid "display likes count of images."
290
+ msgstr "mostrar cantidad de likes."
291
+
292
+ #: app/views/edit.php:213
293
+ msgid "Display Comments"
294
+ msgstr "Mostrar comentarios"
295
+
296
+ #: app/views/edit.php:215
297
+ msgid "display comments count of images."
298
+ msgstr "mostrar cantidad de comentarios."
299
+
300
+ #: app/views/edit.php:218
301
+ msgid "Display Instagram Link Button"
302
+ msgstr "Mostrar botón de enlace a Instagram"
303
+
304
+ #: app/views/edit.php:220
305
+ msgid "show the button to open Instagram site link"
306
+ msgstr "suestra el botón para abrir la página de Instagram"
307
+
308
+ #: app/views/edit.php:226
309
+ msgid "Instagram Button Text"
310
+ msgstr "Texto del botón"
311
+
312
+ #: app/views/edit.php:228
313
+ msgid "update Instagram button text here."
314
+ msgstr "actualiza el texto del botón."
315
+
316
+ #: app/views/edit.php:231
317
+ msgid "Button Background Color"
318
+ msgstr "Color de fondo del botón"
319
+
320
+ #: app/views/edit.php:235
321
+ msgid "color which is displayed on button background."
322
+ msgstr "el color de fondo que tendrá el botón."
323
+
324
+ #: app/views/edit.php:238
325
+ msgid "Button Hover Color"
326
+ msgstr "Color secundario del botón"
327
+
328
+ #: app/views/edit.php:242
329
+ msgid "color which is displayed when hovered over button."
330
+ msgstr "el color que será mostrado al pasar el mouse por el botón."
331
+
332
+ #: app/views/edit.php:251 app/views/list.php:133
333
+ msgid "Update"
334
+ msgstr "Actualizar"
335
+
336
+ #: app/views/edit.php:253
337
+ msgid ""
338
+ "update settings and copy/paste generated shortcode in your post/pages or "
339
+ "goto Widgets and use Instagram Gallery widget."
340
+ msgstr ""
341
+ "actualiza las opciones y copia/pega el shortcode generado en tu post/página "
342
+ "o ve a Widgets para usar el widget de Instagram Gallery."
343
+
344
+ #: app/views/list.php:21
345
+ msgid "Gallery Item"
346
+ msgstr "Item"
347
+
348
+ #: app/views/list.php:22
349
+ msgid "Shortcode"
350
+ msgstr "Shortcode"
351
+
352
+ #: app/views/list.php:23
353
+ msgid "Action"
354
+ msgstr "Acción"
355
+
356
+ #: app/views/list.php:41
357
+ msgid "Edit"
358
+ msgstr "Editar"
359
+
360
+ #: app/views/list.php:42
361
+ msgid "Delete"
362
+ msgstr "Borrar"
363
+
364
+ #: app/views/list.php:53
365
+ msgid "Additional Setting"
366
+ msgstr "Opciones adicionales"
367
+
368
+ #: app/views/list.php:61
369
+ msgid "Gallery Loader Icon"
370
+ msgstr "Icono de carga"
371
+
372
+ #: app/views/list.php:75
373
+ msgid "Update Spinner"
374
+ msgstr "Actualizar Spinner"
375
+
376
+ #: app/views/list.php:76
377
+ msgid "Reset Spinner"
378
+ msgstr "Resetear Spinner"
379
+
380
+ #: app/views/list.php:79
381
+ msgid ""
382
+ "please select the image from media to replace with default Gallery loader "
383
+ "icon."
384
+ msgstr "por favor selecciona una imagen para remplazar el icono de carga."
385
+
386
+ #: app/views/list.php:126
387
+ msgid "Remove everything on uninstall"
388
+ msgstr "Remover todo al desinstalar"
389
+
390
+ #: app/views/list.php:128
391
+ msgid ""
392
+ "check this box to remove all data related to this plugin when removing the "
393
+ "plugin."
394
+ msgstr ""
395
+ "marca esta opción para remover todos los datos relacionados a este plugin al "
396
+ "desinstalarlo."
397
+
398
+ #: app/views/list.php:142
399
+ msgid ""
400
+ "Please Donate now to support the Maintainance and Advancement of this plugin."
401
+ " Thanks"
402
+ msgstr ""
403
+ "Por favor dona ahora para apoyar el mantenimiento y avance de este plugin. "
404
+ "Gracias"
405
+
406
+ #: app/views/list.php:143
407
+ msgid "Donate"
408
+ msgstr "Donar"
409
+
410
+ #: app/views/list.php:151
411
+ msgid "Are you sure want to delete this item?"
412
+ msgstr "Estás seguro/a de que quieres borrar este ítem?"
413
+
414
+ #: app/views/list.php:174
415
+ msgid "please make sure every settings will be removed on plugin uninstall."
416
+ msgstr "por favor asegúrate de que cada opción sea removida al desinstalar."
417
+
418
+ #. Description of the plugin
419
+ msgid "Display Gallery on the website from Instagram."
420
+ msgstr ""
421
+
422
+ #. Author of the plugin
423
+ msgid "Karan Singh"
424
+ msgstr ""
425
+
426
+ #. Author URI of the plugin
427
+ msgid "https://www.karansingh.ml/"
428
+ msgstr ""
languages/insta-gallery.pot CHANGED
@@ -1,412 +1,412 @@
1
- #, fuzzy
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: Instagram Gallery\n"
5
- "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2018-05-15 16:33+0000\n"
7
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
- "Language-Team: \n"
10
- "Language: \n"
11
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
12
- "MIME-Version: 1.0\n"
13
- "Content-Type: text/plain; charset=UTF-8\n"
14
- "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Loco https://localise.biz/"
16
-
17
- #: insta-gallery.php:95
18
- msgid "settings updated successfully"
19
- msgstr ""
20
-
21
- #. Name of the plugin
22
- #: insta-gallery.php:117 app/wp-front.php:144 app/wp-front.php:149
23
- #: app/wp-panel.php:82 app/wp-widget.php:19
24
- msgid "Instagram Gallery"
25
- msgstr ""
26
-
27
- #: insta-gallery.php:138
28
- msgid "Settings"
29
- msgstr ""
30
-
31
- #: app/wp-front.php:339
32
- msgid "ERROR: invalid display type, please check gallery settings."
33
- msgstr ""
34
-
35
- #: app/wp-front.php:346
36
- msgid "Instagram account may be private or inavalid username/tagname."
37
- msgstr ""
38
-
39
- #: app/wp-front.php:347
40
- msgid "network or server side issue."
41
- msgstr ""
42
-
43
- #: app/wp-panel.php:64
44
- msgid "Gallery item updated successfully."
45
- msgstr ""
46
-
47
- #: app/wp-panel.php:74
48
- msgid "Gallery item deleted successfully."
49
- msgstr ""
50
-
51
- #: app/wp-panel.php:83
52
- msgid "easy way to display Instagram pictures on the website."
53
- msgstr ""
54
-
55
- #: app/wp-widget.php:21
56
- msgid "Displays your Instagram Gallery"
57
- msgstr ""
58
-
59
- #: app/wp-widget.php:55
60
- msgid "Title"
61
- msgstr ""
62
-
63
- #: app/wp-widget.php:62
64
- msgid "Select Instagram Gallery"
65
- msgstr ""
66
-
67
- #: app/wp-widget.php:68 app/views/edit.php:47 app/views/list.php:34
68
- msgid "Username"
69
- msgstr ""
70
-
71
- #: app/wp-widget.php:70 app/views/edit.php:49 app/views/list.php:36
72
- msgid "Tagname"
73
- msgstr ""
74
-
75
- #: app/wp-widget.php:79
76
- msgid ""
77
- "Please add Gallery item in plugin panel, Then come back and select your "
78
- "Gallery to display."
79
- msgstr ""
80
-
81
- #: app/wp-widget.php:83 app/views/list.php:11 app/views/list.php:11
82
- msgid "Add New Gallery"
83
- msgstr ""
84
-
85
- #: app/views/edit.php:37
86
- msgid "View Galleries List"
87
- msgstr ""
88
-
89
- #: app/views/edit.php:37
90
- msgid "Back to List"
91
- msgstr ""
92
-
93
- #: app/views/edit.php:43
94
- msgid "Display Instagram Gallery from"
95
- msgstr ""
96
-
97
- #: app/views/edit.php:51
98
- msgid ""
99
- "Please select option to display pictures from Instagram Username OR # Tag."
100
- msgstr ""
101
-
102
- #: app/views/edit.php:59
103
- msgid "Instagram Username"
104
- msgstr ""
105
-
106
- #: app/views/edit.php:65
107
- msgid "Please enter Instagram Username."
108
- msgstr ""
109
-
110
- #: app/views/edit.php:68 app/views/edit.php:88
111
- msgid "Pictures Limit"
112
- msgstr ""
113
-
114
- #: app/views/edit.php:70
115
- msgid "number of pictures to display (max: 12)"
116
- msgstr ""
117
-
118
- #: app/views/edit.php:79
119
- msgid "Instagram Tagname"
120
- msgstr ""
121
-
122
- #: app/views/edit.php:85
123
- msgid "Please enter Instagram Tagname."
124
- msgstr ""
125
-
126
- #: app/views/edit.php:90
127
- msgid "number of pictures to display."
128
- msgstr ""
129
-
130
- #: app/views/edit.php:96
131
- msgid "Show As"
132
- msgstr ""
133
-
134
- #: app/views/edit.php:99
135
- msgid "Gallery"
136
- msgstr ""
137
-
138
- #: app/views/edit.php:102
139
- msgid "Carousel"
140
- msgstr ""
141
-
142
- #: app/views/edit.php:110
143
- msgid "Pictures will be displayed as Grid."
144
- msgstr ""
145
-
146
- #: app/views/edit.php:114
147
- msgid "No. of Grid Columns"
148
- msgstr ""
149
-
150
- #: app/views/edit.php:116
151
- msgid "number of pictures in a row"
152
- msgstr ""
153
-
154
- #: app/views/edit.php:120
155
- msgid "Image hover effect"
156
- msgstr ""
157
-
158
- #: app/views/edit.php:122
159
- msgid "mouseover animation effect on image"
160
- msgstr ""
161
-
162
- #: app/views/edit.php:125
163
- msgid "Space between images"
164
- msgstr ""
165
-
166
- #: app/views/edit.php:127
167
- msgid "add blank space between images"
168
- msgstr ""
169
-
170
- #: app/views/edit.php:135
171
- msgid "Pictures will be displayed as Carousel slider."
172
- msgstr ""
173
-
174
- #: app/views/edit.php:139
175
- msgid "Slides per view"
176
- msgstr ""
177
-
178
- #: app/views/edit.php:141
179
- msgid "display number of pictures per slide view."
180
- msgstr ""
181
-
182
- #: app/views/edit.php:145
183
- msgid "Autoplay"
184
- msgstr ""
185
-
186
- #: app/views/edit.php:147
187
- msgid "autoplay carousel items."
188
- msgstr ""
189
-
190
- #: app/views/edit.php:150
191
- msgid "Navigation arrows"
192
- msgstr ""
193
-
194
- #: app/views/edit.php:152
195
- msgid "show prev-next navigation arrows."
196
- msgstr ""
197
-
198
- #: app/views/edit.php:155
199
- msgid "Navigation arrows color"
200
- msgstr ""
201
-
202
- #: app/views/edit.php:159
203
- msgid "change navigation arrows color here."
204
- msgstr ""
205
-
206
- #: app/views/edit.php:162
207
- msgid "Dotted navigation"
208
- msgstr ""
209
-
210
- #: app/views/edit.php:164
211
- msgid "show dotted navigation buttons."
212
- msgstr ""
213
-
214
- #: app/views/edit.php:165 app/views/edit.php:204
215
- msgid "Deprecated: this option will be removed in the future updates."
216
- msgstr ""
217
-
218
- #: app/views/edit.php:169
219
- msgid "Space between slides"
220
- msgstr ""
221
-
222
- #: app/views/edit.php:171
223
- msgid "add blank space between carousel items."
224
- msgstr ""
225
-
226
- #: app/views/edit.php:177
227
- msgid "Images thumbnail size"
228
- msgstr ""
229
-
230
- #: app/views/edit.php:179
231
- msgid "Medium"
232
- msgstr ""
233
-
234
- #: app/views/edit.php:180
235
- msgid "Small"
236
- msgstr ""
237
-
238
- #: app/views/edit.php:185
239
- msgid "Images hover effect color"
240
- msgstr ""
241
-
242
- #: app/views/edit.php:188
243
- msgid "select color which is displayed when hovered over images."
244
- msgstr ""
245
-
246
- #: app/views/edit.php:189
247
- msgid "color name should be in Hexadecimal notation. e.g. #dddddd"
248
- msgstr ""
249
-
250
- #: app/views/edit.php:193
251
- msgid "Popup images on click"
252
- msgstr ""
253
-
254
- #: app/views/edit.php:195
255
- msgid ""
256
- "show popup gallery by clicking on image thumbnail. else it will open "
257
- "Instagram page."
258
- msgstr ""
259
-
260
- #: app/views/edit.php:196
261
- msgid ""
262
- "uncheck this if it conflicts with other plugins, like: fancybox, prettyphoto "
263
- "etc."
264
- msgstr ""
265
-
266
- #: app/views/edit.php:200
267
- msgid "Display image caption"
268
- msgstr ""
269
-
270
- #: app/views/edit.php:202
271
- msgid "Display caption/tags below images when popup."
272
- msgstr ""
273
-
274
- #: app/views/edit.php:208
275
- msgid "Display Likes"
276
- msgstr ""
277
-
278
- #: app/views/edit.php:210
279
- msgid "display likes count of images."
280
- msgstr ""
281
-
282
- #: app/views/edit.php:213
283
- msgid "Display Comments"
284
- msgstr ""
285
-
286
- #: app/views/edit.php:215
287
- msgid "display comments count of images."
288
- msgstr ""
289
-
290
- #: app/views/edit.php:218
291
- msgid "Display Instagram Link Button"
292
- msgstr ""
293
-
294
- #: app/views/edit.php:220
295
- msgid "show the button to open Instagram site link"
296
- msgstr ""
297
-
298
- #: app/views/edit.php:226
299
- msgid "Instagram Button Text"
300
- msgstr ""
301
-
302
- #: app/views/edit.php:228
303
- msgid "update Instagram button text here."
304
- msgstr ""
305
-
306
- #: app/views/edit.php:231
307
- msgid "Button Background Color"
308
- msgstr ""
309
-
310
- #: app/views/edit.php:235
311
- msgid "color which is displayed on button background."
312
- msgstr ""
313
-
314
- #: app/views/edit.php:238
315
- msgid "Button Hover Color"
316
- msgstr ""
317
-
318
- #: app/views/edit.php:242
319
- msgid "color which is displayed when hovered over button."
320
- msgstr ""
321
-
322
- #: app/views/edit.php:251 app/views/list.php:133
323
- msgid "Update"
324
- msgstr ""
325
-
326
- #: app/views/edit.php:253
327
- msgid ""
328
- "update settings and copy/paste generated shortcode in your post/pages or "
329
- "goto Widgets and use Instagram Gallery widget."
330
- msgstr ""
331
-
332
- #: app/views/list.php:21
333
- msgid "Gallery Item"
334
- msgstr ""
335
-
336
- #: app/views/list.php:22
337
- msgid "Shortcode"
338
- msgstr ""
339
-
340
- #: app/views/list.php:23
341
- msgid "Action"
342
- msgstr ""
343
-
344
- #: app/views/list.php:41
345
- msgid "Edit"
346
- msgstr ""
347
-
348
- #: app/views/list.php:42
349
- msgid "Delete"
350
- msgstr ""
351
-
352
- #: app/views/list.php:53
353
- msgid "Additional Setting"
354
- msgstr ""
355
-
356
- #: app/views/list.php:61
357
- msgid "Gallery Loader Icon"
358
- msgstr ""
359
-
360
- #: app/views/list.php:75
361
- msgid "Update Spinner"
362
- msgstr ""
363
-
364
- #: app/views/list.php:76
365
- msgid "Reset Spinner"
366
- msgstr ""
367
-
368
- #: app/views/list.php:79
369
- msgid ""
370
- "please select the image from media to replace with default Gallery loader "
371
- "icon."
372
- msgstr ""
373
-
374
- #: app/views/list.php:126
375
- msgid "Remove everything on uninstall"
376
- msgstr ""
377
-
378
- #: app/views/list.php:128
379
- msgid ""
380
- "check this box to remove all data related to this plugin when removing the "
381
- "plugin."
382
- msgstr ""
383
-
384
- #: app/views/list.php:142
385
- msgid ""
386
- "Please Donate now to support the Maintainance and Advancement of this plugin."
387
- " Thanks"
388
- msgstr ""
389
-
390
- #: app/views/list.php:143
391
- msgid "Donate"
392
- msgstr ""
393
-
394
- #: app/views/list.php:151
395
- msgid "Are you sure want to delete this item?"
396
- msgstr ""
397
-
398
- #: app/views/list.php:174
399
- msgid "please make sure every settings will be removed on plugin uninstall."
400
- msgstr ""
401
-
402
- #. Description of the plugin
403
- msgid "Display Gallery on the website from Instagram."
404
- msgstr ""
405
-
406
- #. Author of the plugin
407
- msgid "Karan Singh"
408
- msgstr ""
409
-
410
- #. Author URI of the plugin
411
- msgid "https://www.karansingh.ml/"
412
- msgstr ""
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: Instagram Gallery\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2018-05-15 16:33+0000\n"
7
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
+ "Language-Team: \n"
10
+ "Language: \n"
11
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Loco https://localise.biz/"
16
+
17
+ #: insta-gallery.php:95
18
+ msgid "settings updated successfully"
19
+ msgstr ""
20
+
21
+ #. Name of the plugin
22
+ #: insta-gallery.php:117 app/wp-front.php:144 app/wp-front.php:149
23
+ #: app/wp-panel.php:82 app/wp-widget.php:19
24
+ msgid "Instagram Gallery"
25
+ msgstr ""
26
+
27
+ #: insta-gallery.php:138
28
+ msgid "Settings"
29
+ msgstr ""
30
+
31
+ #: app/wp-front.php:339
32
+ msgid "ERROR: invalid display type, please check gallery settings."
33
+ msgstr ""
34
+
35
+ #: app/wp-front.php:346
36
+ msgid "Instagram account may be private or inavalid username/tagname."
37
+ msgstr ""
38
+
39
+ #: app/wp-front.php:347
40
+ msgid "network or server side issue."
41
+ msgstr ""
42
+
43
+ #: app/wp-panel.php:64
44
+ msgid "Gallery item updated successfully."
45
+ msgstr ""
46
+
47
+ #: app/wp-panel.php:74
48
+ msgid "Gallery item deleted successfully."
49
+ msgstr ""
50
+
51
+ #: app/wp-panel.php:83
52
+ msgid "easy way to display Instagram pictures on the website."
53
+ msgstr ""
54
+
55
+ #: app/wp-widget.php:21
56
+ msgid "Displays your Instagram Gallery"
57
+ msgstr ""
58
+
59
+ #: app/wp-widget.php:55
60
+ msgid "Title"
61
+ msgstr ""
62
+
63
+ #: app/wp-widget.php:62
64
+ msgid "Select Instagram Gallery"
65
+ msgstr ""
66
+
67
+ #: app/wp-widget.php:68 app/views/edit.php:47 app/views/list.php:34
68
+ msgid "Username"
69
+ msgstr ""
70
+
71
+ #: app/wp-widget.php:70 app/views/edit.php:49 app/views/list.php:36
72
+ msgid "Tagname"
73
+ msgstr ""
74
+
75
+ #: app/wp-widget.php:79
76
+ msgid ""
77
+ "Please add Gallery item in plugin panel, Then come back and select your "
78
+ "Gallery to display."
79
+ msgstr ""
80
+
81
+ #: app/wp-widget.php:83 app/views/list.php:11 app/views/list.php:11
82
+ msgid "Add New Gallery"
83
+ msgstr ""
84
+
85
+ #: app/views/edit.php:37
86
+ msgid "View Galleries List"
87
+ msgstr ""
88
+
89
+ #: app/views/edit.php:37
90
+ msgid "Back to List"
91
+ msgstr ""
92
+
93
+ #: app/views/edit.php:43
94
+ msgid "Display Instagram Gallery from"
95
+ msgstr ""
96
+
97
+ #: app/views/edit.php:51
98
+ msgid ""
99
+ "Please select option to display pictures from Instagram Username OR # Tag."
100
+ msgstr ""
101
+
102
+ #: app/views/edit.php:59
103
+ msgid "Instagram Username"
104
+ msgstr ""
105
+
106
+ #: app/views/edit.php:65
107
+ msgid "Please enter Instagram Username."
108
+ msgstr ""
109
+
110
+ #: app/views/edit.php:68 app/views/edit.php:88
111
+ msgid "Pictures Limit"
112
+ msgstr ""
113
+
114
+ #: app/views/edit.php:70
115
+ msgid "number of pictures to display (max: 12)"
116
+ msgstr ""
117
+
118
+ #: app/views/edit.php:79
119
+ msgid "Instagram Tagname"
120
+ msgstr ""
121
+
122
+ #: app/views/edit.php:85
123
+ msgid "Please enter Instagram Tagname."
124
+ msgstr ""
125
+
126
+ #: app/views/edit.php:90
127
+ msgid "number of pictures to display."
128
+ msgstr ""
129
+
130
+ #: app/views/edit.php:96
131
+ msgid "Show As"
132
+ msgstr ""
133
+
134
+ #: app/views/edit.php:99
135
+ msgid "Gallery"
136
+ msgstr ""
137
+
138
+ #: app/views/edit.php:102
139
+ msgid "Carousel"
140
+ msgstr ""
141
+
142
+ #: app/views/edit.php:110
143
+ msgid "Pictures will be displayed as Grid."
144
+ msgstr ""
145
+
146
+ #: app/views/edit.php:114
147
+ msgid "No. of Grid Columns"
148
+ msgstr ""
149
+
150
+ #: app/views/edit.php:116
151
+ msgid "number of pictures in a row"
152
+ msgstr ""
153
+
154
+ #: app/views/edit.php:120
155
+ msgid "Image hover effect"
156
+ msgstr ""
157
+
158
+ #: app/views/edit.php:122
159
+ msgid "mouseover animation effect on image"
160
+ msgstr ""
161
+
162
+ #: app/views/edit.php:125
163
+ msgid "Space between images"
164
+ msgstr ""
165
+
166
+ #: app/views/edit.php:127
167
+ msgid "add blank space between images"
168
+ msgstr ""
169
+
170
+ #: app/views/edit.php:135
171
+ msgid "Pictures will be displayed as Carousel slider."
172
+ msgstr ""
173
+
174
+ #: app/views/edit.php:139
175
+ msgid "Slides per view"
176
+ msgstr ""
177
+
178
+ #: app/views/edit.php:141
179
+ msgid "display number of pictures per slide view."
180
+ msgstr ""
181
+
182
+ #: app/views/edit.php:145
183
+ msgid "Autoplay"
184
+ msgstr ""
185
+
186
+ #: app/views/edit.php:147
187
+ msgid "autoplay carousel items."
188
+ msgstr ""
189
+
190
+ #: app/views/edit.php:150
191
+ msgid "Navigation arrows"
192
+ msgstr ""
193
+
194
+ #: app/views/edit.php:152
195
+ msgid "show prev-next navigation arrows."
196
+ msgstr ""
197
+
198
+ #: app/views/edit.php:155
199
+ msgid "Navigation arrows color"
200
+ msgstr ""
201
+
202
+ #: app/views/edit.php:159
203
+ msgid "change navigation arrows color here."
204
+ msgstr ""
205
+
206
+ #: app/views/edit.php:162
207
+ msgid "Dotted navigation"
208
+ msgstr ""
209
+
210
+ #: app/views/edit.php:164
211
+ msgid "show dotted navigation buttons."
212
+ msgstr ""
213
+
214
+ #: app/views/edit.php:165 app/views/edit.php:204
215
+ msgid "Deprecated: this option will be removed in the future updates."
216
+ msgstr ""
217
+
218
+ #: app/views/edit.php:169
219
+ msgid "Space between slides"
220
+ msgstr ""
221
+
222
+ #: app/views/edit.php:171
223
+ msgid "add blank space between carousel items."
224
+ msgstr ""
225
+
226
+ #: app/views/edit.php:177
227
+ msgid "Images thumbnail size"
228
+ msgstr ""
229
+
230
+ #: app/views/edit.php:179
231
+ msgid "Medium"
232
+ msgstr ""
233
+
234
+ #: app/views/edit.php:180
235
+ msgid "Small"
236
+ msgstr ""
237
+
238
+ #: app/views/edit.php:185
239
+ msgid "Images hover effect color"
240
+ msgstr ""
241
+
242
+ #: app/views/edit.php:188
243
+ msgid "select color which is displayed when hovered over images."
244
+ msgstr ""
245
+
246
+ #: app/views/edit.php:189
247
+ msgid "color name should be in Hexadecimal notation. e.g. #dddddd"
248
+ msgstr ""
249
+
250
+ #: app/views/edit.php:193
251
+ msgid "Popup images on click"
252
+ msgstr ""
253
+
254
+ #: app/views/edit.php:195
255
+ msgid ""
256
+ "show popup gallery by clicking on image thumbnail. else it will open "
257
+ "Instagram page."
258
+ msgstr ""
259
+
260
+ #: app/views/edit.php:196
261
+ msgid ""
262
+ "uncheck this if it conflicts with other plugins, like: fancybox, prettyphoto "
263
+ "etc."
264
+ msgstr ""
265
+
266
+ #: app/views/edit.php:200
267
+ msgid "Display image caption"
268
+ msgstr ""
269
+
270
+ #: app/views/edit.php:202
271
+ msgid "Display caption/tags below images when popup."
272
+ msgstr ""
273
+
274
+ #: app/views/edit.php:208
275
+ msgid "Display Likes"
276
+ msgstr ""
277
+
278
+ #: app/views/edit.php:210
279
+ msgid "display likes count of images."
280
+ msgstr ""
281
+
282
+ #: app/views/edit.php:213
283
+ msgid "Display Comments"
284
+ msgstr ""
285
+
286
+ #: app/views/edit.php:215
287
+ msgid "display comments count of images."
288
+ msgstr ""
289
+
290
+ #: app/views/edit.php:218
291
+ msgid "Display Instagram Link Button"
292
+ msgstr ""
293
+
294
+ #: app/views/edit.php:220
295
+ msgid "show the button to open Instagram site link"
296
+ msgstr ""
297
+
298
+ #: app/views/edit.php:226
299
+ msgid "Instagram Button Text"
300
+ msgstr ""
301
+
302
+ #: app/views/edit.php:228
303
+ msgid "update Instagram button text here."
304
+ msgstr ""
305
+
306
+ #: app/views/edit.php:231
307
+ msgid "Button Background Color"
308
+ msgstr ""
309
+
310
+ #: app/views/edit.php:235
311
+ msgid "color which is displayed on button background."
312
+ msgstr ""
313
+
314
+ #: app/views/edit.php:238
315
+ msgid "Button Hover Color"
316
+ msgstr ""
317
+
318
+ #: app/views/edit.php:242
319
+ msgid "color which is displayed when hovered over button."
320
+ msgstr ""
321
+
322
+ #: app/views/edit.php:251 app/views/list.php:133
323
+ msgid "Update"
324
+ msgstr ""
325
+
326
+ #: app/views/edit.php:253
327
+ msgid ""
328
+ "update settings and copy/paste generated shortcode in your post/pages or "
329
+ "goto Widgets and use Instagram Gallery widget."
330
+ msgstr ""
331
+
332
+ #: app/views/list.php:21
333
+ msgid "Gallery Item"
334
+ msgstr ""
335
+
336
+ #: app/views/list.php:22
337
+ msgid "Shortcode"
338
+ msgstr ""
339
+
340
+ #: app/views/list.php:23
341
+ msgid "Action"
342
+ msgstr ""
343
+
344
+ #: app/views/list.php:41
345
+ msgid "Edit"
346
+ msgstr ""
347
+
348
+ #: app/views/list.php:42
349
+ msgid "Delete"
350
+ msgstr ""
351
+
352
+ #: app/views/list.php:53
353
+ msgid "Additional Setting"
354
+ msgstr ""
355
+
356
+ #: app/views/list.php:61
357
+ msgid "Gallery Loader Icon"
358
+ msgstr ""
359
+
360
+ #: app/views/list.php:75
361
+ msgid "Update Spinner"
362
+ msgstr ""
363
+
364
+ #: app/views/list.php:76
365
+ msgid "Reset Spinner"
366
+ msgstr ""
367
+
368
+ #: app/views/list.php:79
369
+ msgid ""
370
+ "please select the image from media to replace with default Gallery loader "
371
+ "icon."
372
+ msgstr ""
373
+
374
+ #: app/views/list.php:126
375
+ msgid "Remove everything on uninstall"
376
+ msgstr ""
377
+
378
+ #: app/views/list.php:128
379
+ msgid ""
380
+ "check this box to remove all data related to this plugin when removing the "
381
+ "plugin."
382
+ msgstr ""
383
+
384
+ #: app/views/list.php:142
385
+ msgid ""
386
+ "Please Donate now to support the Maintainance and Advancement of this plugin."
387
+ " Thanks"
388
+ msgstr ""
389
+
390
+ #: app/views/list.php:143
391
+ msgid "Donate"
392
+ msgstr ""
393
+
394
+ #: app/views/list.php:151
395
+ msgid "Are you sure want to delete this item?"
396
+ msgstr ""
397
+
398
+ #: app/views/list.php:174
399
+ msgid "please make sure every settings will be removed on plugin uninstall."
400
+ msgstr ""
401
+
402
+ #. Description of the plugin
403
+ msgid "Display Gallery on the website from Instagram."
404
+ msgstr ""
405
+
406
+ #. Author of the plugin
407
+ msgid "Karan Singh"
408
+ msgstr ""
409
+
410
+ #. Author URI of the plugin
411
+ msgid "https://www.karansingh.ml/"
412
+ msgstr ""
readme.txt CHANGED
@@ -1,280 +1,283 @@
1
- === Instagram Feed Gallery ===
2
- Contributors: quadlayers
3
- Tags: instagram, instagram feed, instagram widget, gallery widget, pictures, carousel slider, image gallery, image slider, instagram gallery, instagram pictures
4
- Requires at least: 3.8.0
5
- Requires PHP: 5.3
6
- Tested up to: 5.2
7
- Version: 2.3.3
8
- Stable tag: 2.3.3
9
- License: GPLv2 or later
10
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
- Donate link: https://www.quadlayers.com
12
-
13
- Instagram Gallery is an easy way to display your Instagram feeds pictures your website.
14
-
15
- == Description ==
16
-
17
- Easy and simple way to display your Instagram Feed and Tag Gallery on your website.
18
-
19
- Display pictures from your Instagram account as gallery or as carousel Slider. Just press the button to generate your Instagram Access Token and configure gallery settings and display your pictures on your website.
20
-
21
- == Installation ==
22
-
23
- 1. Go to the Plugins Menu in WordPress
24
- 2. Search for "Instagram Feed Gallery"
25
- 3. Click "Install"
26
- 4. Go to Instagram Gallery / Account in your admin dashboard
27
- 5. Press the "Add new account" button and generate the access token
28
- 6. Go to Instagram Gallery / Gallery and press the "Add new gallery" button
29
- 7. Configure your gallery
30
- 8. Press "Update" button and copy & paste your shortcode
31
-
32
- == Frequently Asked Questions ==
33
-
34
- = Why my pictures are not showing on page? =
35
-
36
- You have to update valid Instagram access token to display user media.
37
-
38
- = Can I display pictures from Instagram Tag? =
39
-
40
- Yes, you can.
41
-
42
- = How to add gallery to Widget? =
43
-
44
- Go to your admin dashboard, and add new gallery, then go to widgets, add Instagram Gallery widget and select the Gallery item from the dropdown list.
45
-
46
- = Why there are two popups on image click? =
47
-
48
- There may be some other plugins(like: fancybox, elementor) which also uses image links to open popup. Try to disable popup images option in the setting panel of this plugin, which will allow other plugins to work.
49
-
50
- = Error: No working transports found =
51
-
52
- This error visible sometimes in PHP 7+ installations due to the missing CURL extension.
53
-
54
- == Screenshots ==
55
-
56
- 1. Gallery front-end view
57
- 2. Gallery front-end view with image popup
58
- 3. Carousel Slider view
59
- 4. Plugin backend
60
- 5. Gallery Widget
61
-
62
- == Changelog ==
63
-
64
- = 2.3.3 =
65
- * Fix. Instagram Icon text decoration none
66
-
67
- = 2.3.3 =
68
- * Fix. Instagram Feed compatibility
69
- * Fix. Instagram Carousel Firefox issue
70
- * New. Instagram Carousel pagination option
71
- * Improvement. Instagram Tag Feed caption
72
- * Improvement. Instagram Tag Feed types
73
- * Improvement. Instagram Tag Feed consistency
74
- * Improvement. Instagram Feed core consistency
75
- * Improvement. Instagram Feed JS consistency
76
- * Improvement. Instagram Feed CSS speed
77
- * Improvement. Instagram Feed API consistency
78
- * Premium. Instagram User Feed load more button
79
- * Premium. Instagram User Feed load more button colors
80
- * Premium. Instagram User Feed popup caption and likes options
81
- * Premium. Instagram Tag Feed load more button
82
- * Premium. Instagram Tag Feed load more button colors
83
- * Premium. Instagram Tag Feed popup caption and likes options
84
-
85
- = 2.3.1 =
86
- * Fix. Reload on Instagram token removal
87
- * Fix. Show Instagram token even if user profile id is empty
88
- * Fix. Undefined Instagram username
89
-
90
- = 2.3.0 =
91
- * Improvement. Instagram token generation simplified
92
- * Improvement. Instagram Gallery settings consistency
93
- * Improvement. Instagram Carousel settings consistency
94
- * Improvement. Instagram Gallery CSS consistency
95
- * Improvement. Instagram Carousel CSS consistency
96
- * Improvement. Instagram Gallery JS simplified
97
- * Improvement. Instagram Carousel JS simplified
98
- * Improvement. Instagram backend improvement
99
- * Improvement. Instagram localization fixed
100
-
101
- = 2.2.2 =
102
- * Improvement. Instagram token and gallery transients consistency
103
-
104
- = 2.2.1 =
105
- * Improvement. Instagram Gallery un-install improvement
106
-
107
- = 2.2.0 =
108
- * Noce. Instagram Gallery author change notice
109
-
110
- = 2.1.9 =
111
- * Fix. Minor code changes
112
-
113
- = 2.1.8 =
114
- * Fix. Double popup issue with elementor plugin
115
- * Fix. Instagram Gallery Swiper carousel library updated
116
- * Fix. minor text changes
117
-
118
- = 2.1.7 =
119
- * Fix. Code bug
120
-
121
- = 2.1.6 =
122
- * Fix. connection issue on new access token update
123
-
124
- = 2.1.5 =
125
- * Fix. Instagram carousel image links
126
- * Fix. Instagram gallery image alignment
127
-
128
- = 2.1.4 =
129
- * Fix. Instagram thumbnail imagessizes updated
130
-
131
- = 2.1.3 =
132
- * Fix. Code bug
133
-
134
- = 2.1.2 =
135
- * Fix. Security fixes
136
-
137
- = 2.1.1 =
138
- * Fix. Major update with lots-of changes
139
- * Fix. Instagram API support added
140
- * Fix. Access Token is required to display profile media
141
- * Fix. Instagram pictures limit increased
142
-
143
- = 1.6.6 =
144
- * Fix. Code bug
145
-
146
- = 1.6.5 =
147
- * Fix. JS files issue with WP5 solved
148
-
149
- = 1.6.4 =
150
- * Fix. speed improvements and small changes
151
-
152
- = 1.6.3 =
153
- * Fix. Instagram Carousel autoplay time option
154
- * Fix. Imstagram Carousel dotted nav removed
155
- * Fix. Instagram Carousel removed zoom image on hover
156
-
157
- = 1.6.2 =
158
- * Fix. Elementor confliction fixed
159
- * Fix. code optimised
160
- * Fix. IE 8,9 Carousel support dropped
161
-
162
- = 1.6.1 =
163
- * Fix. Spanish Translation added
164
- * Fix. Tags picture limit removed
165
- * Fix. Caption option removed
166
- * Fix. Post link added in popup
167
-
168
- = 1.5.11 =
169
- * Fix. Code bug
170
-
171
- = 1.5.10 =
172
- * Fix. added option to change carousel arrow color
173
-
174
- = 1.5.9 =
175
- * Fix. CSS issue fixed
176
-
177
- = 1.5.8 =
178
- * Fix. some API code fixes
179
-
180
- = 1.5.7 =
181
- * Fix. user media API update
182
-
183
- = 1.5.6 =
184
- * Fix. option to hide images caption
185
- * Fix. open Instagram page on image click
186
-
187
- = 1.5.5 =
188
- * Fix. Carousel autoplay toggle
189
- * Fix. dashicons removed
190
- * Fix. assets minified
191
-
192
- = 1.5.4 =
193
- * Fix. API update for Tags fixed
194
-
195
- = 1.5.3 =
196
- * Fix. added FIX for localization code issue
197
-
198
- = 1.5.2 =
199
- * Fix. prepared for localization
200
-
201
- = 1.5.1 =
202
- * Fix. Gallery widget added
203
- * Fix. Transients support added
204
- * Fix. template customisation added
205
- * Fix. code updated for better performance
206
-
207
- = 1.4.6 =
208
- * Fix. Instagram API error quick FIX added
209
-
210
- = 1.4.5 =
211
- * Fix. Instagram button color options added
212
- * Fix. two gallery pics in a row in mobile
213
- * Fix. browser online check status removed
214
- * Fix. fetch items via WP built-in option
215
-
216
- = 1.4.4 =
217
- * Fix. Carousel spacing bug fixed
218
- * Fix. some CSS updates
219
-
220
- = 1.4.3 =
221
- * Fix. Carousel popup bug fixed
222
- * Fix. added version to assets
223
-
224
- = 1.4.2 =
225
- * Fix. Gallery image sizes fixed to square display
226
- * Fix. some CSS fixes
227
-
228
- = 1.4.1 =
229
- * Fix. Carousel image sizes fixed to square display
230
- * Fix. added caching of images to speedup loading
231
- * Fix. display type Slider removed
232
- * Fix. old-shortcode warning message removed
233
-
234
- = 1.3.7 =
235
- * Fix. Instagram profile link/button added in Carousel view
236
- * Fix. wp_nonce removed because of conflicts with cache plugins
237
-
238
- = 1.3.6 =
239
- * Fix. Instagram profile link/button added in gallery view
240
- * Fix. added option to choose custom hover color
241
-
242
- = 1.3.5 =
243
- * Fix. cURL warning issue fixed
244
-
245
- = 1.3.4 =
246
- * Fix. cURL warning added
247
-
248
- = 1.3.3 =
249
- * Fix. ajax gallery loading
250
- * Fix. speed optimised
251
- * Fix. clean setting on un-install
252
-
253
- = 1.3.2 =
254
- * Fix. display likes and comments
255
- * Fix. old shortcode support ended
256
- * Fix. deprecated Slider view option
257
-
258
- = 1.3.1 =
259
- * Fix. Carousel view feature added
260
- * Fix. non-english tag/account supported
261
-
262
- = 1.2.4 =
263
- * Fix. IE images issue fixed
264
-
265
- = 1.2.3 =
266
- * Fix. Admin Panel UI updated
267
- * Fix. added #tag support
268
- * Fix. shortcode updated
269
-
270
- = 1.1.3 =
271
- * Fix. some issues fixed
272
- * Fix. css added to head for removing SEO and HTML validation issues
273
- * Fix. demo pictures added to backend
274
-
275
- = 1.1.2 =
276
- * Fix. some issues fixed
277
- * Fix. small modification in plugin backend
278
-
279
- = 1.1.1 =
 
 
 
280
  * Fix. Initial Release
1
+ === Instagram Feed Gallery ===
2
+ Contributors: quadlayers
3
+ Donate link: https://quadlayers.com/portfolio/instagram-gallery/
4
+ Tags: instagram, instagram feed, instagram widget, gallery widget, pictures, carousel slider, image gallery, image slider, instagram gallery, instagram pictures
5
+ Requires at least: 4.6
6
+ Tested up to: 5.2
7
+ Requires PHP: 5.3
8
+ Stable tag: 2.3.3
9
+ License: GPLv2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+
12
+ Instagram Gallery is an easy way to display your Instagram feeds pictures your website.
13
+
14
+ == Description ==
15
+
16
+ Easy and simple way to display your Instagram Feed and Tag Gallery on your website.
17
+
18
+ Display pictures from your Instagram account as gallery or as carousel Slider. Just press the button to generate your Instagram Access Token and configure gallery settings and display your pictures on your website.
19
+
20
+ == Installation ==
21
+
22
+ 1. Go to the Plugins Menu in WordPress
23
+ 2. Search for "Instagram Feed Gallery"
24
+ 3. Click "Install"
25
+ 4. Go to Instagram Gallery / Account in your admin dashboard
26
+ 5. Press the "Add new account" button and generate the access token
27
+ 6. Go to Instagram Gallery / Gallery and press the "Add new gallery" button
28
+ 7. Configure your gallery
29
+ 8. Press "Update" button and copy & paste your shortcode
30
+
31
+ == Frequently Asked Questions ==
32
+
33
+ = Why my pictures are not showing on page? =
34
+
35
+ You have to update valid Instagram access token to display user media.
36
+
37
+ = Can I display pictures from Instagram Tag? =
38
+
39
+ Yes, you can.
40
+
41
+ = How to add gallery to Widget? =
42
+
43
+ Go to your admin dashboard, and add new gallery, then go to widgets, add Instagram Gallery widget and select the Gallery item from the dropdown list.
44
+
45
+ = Why there are two popups on image click? =
46
+
47
+ There may be some other plugins(like: fancybox, elementor) which also uses image links to open popup. Try to disable popup images option in the setting panel of this plugin, which will allow other plugins to work.
48
+
49
+ = Error: No working transports found =
50
+
51
+ This error visible sometimes in PHP 7+ installations due to the missing CURL extension.
52
+
53
+ == Screenshots ==
54
+
55
+ 1. Gallery front-end view
56
+ 2. Gallery front-end view with image popup
57
+ 3. Carousel Slider view
58
+ 4. Plugin backend
59
+ 5. Gallery Widget
60
+
61
+ == Changelog ==
62
+
63
+ = 2.4.0 =
64
+ * Fix. multiple hooks for developers
65
+ * Improvement. Instagram Premium compatibility
66
+
67
+ = 2.3.3 =
68
+ * Fix. Instagram Icon text decoration none
69
+
70
+ = 2.3.2 =
71
+ * Fix. Instagram Feed compatibility
72
+ * Fix. Instagram Carousel Firefox issue
73
+ * New. Instagram Carousel pagination option
74
+ * Improvement. Instagram Tag Feed caption
75
+ * Improvement. Instagram Tag Feed types
76
+ * Improvement. Instagram Tag Feed consistency
77
+ * Improvement. Instagram Feed core consistency
78
+ * Improvement. Instagram Feed JS consistency
79
+ * Improvement. Instagram Feed CSS speed
80
+ * Improvement. Instagram Feed API consistency
81
+ * Premium. Instagram User Feed load more button
82
+ * Premium. Instagram User Feed load more button colors
83
+ * Premium. Instagram User Feed popup caption and likes options
84
+ * Premium. Instagram Tag Feed load more button
85
+ * Premium. Instagram Tag Feed load more button colors
86
+ * Premium. Instagram Tag Feed popup caption and likes options
87
+
88
+ = 2.3.1 =
89
+ * Fix. Reload on Instagram token removal
90
+ * Fix. Show Instagram token even if user profile id is empty
91
+ * Fix. Undefined Instagram username
92
+
93
+ = 2.3.0 =
94
+ * Improvement. Instagram token generation simplified
95
+ * Improvement. Instagram Gallery settings consistency
96
+ * Improvement. Instagram Carousel settings consistency
97
+ * Improvement. Instagram Gallery CSS consistency
98
+ * Improvement. Instagram Carousel CSS consistency
99
+ * Improvement. Instagram Gallery JS simplified
100
+ * Improvement. Instagram Carousel JS simplified
101
+ * Improvement. Instagram backend improvement
102
+ * Improvement. Instagram localization fixed
103
+
104
+ = 2.2.2 =
105
+ * Improvement. Instagram token and gallery transients consistency
106
+
107
+ = 2.2.1 =
108
+ * Improvement. Instagram Gallery un-install improvement
109
+
110
+ = 2.2.0 =
111
+ * Noce. Instagram Gallery author change notice
112
+
113
+ = 2.1.9 =
114
+ * Fix. Minor code changes
115
+
116
+ = 2.1.8 =
117
+ * Fix. Double popup issue with elementor plugin
118
+ * Fix. Instagram Gallery Swiper carousel library updated
119
+ * Fix. minor text changes
120
+
121
+ = 2.1.7 =
122
+ * Fix. Code bug
123
+
124
+ = 2.1.6 =
125
+ * Fix. connection issue on new access token update
126
+
127
+ = 2.1.5 =
128
+ * Fix. Instagram carousel image links
129
+ * Fix. Instagram gallery image alignment
130
+
131
+ = 2.1.4 =
132
+ * Fix. Instagram thumbnail imagessizes updated
133
+
134
+ = 2.1.3 =
135
+ * Fix. Code bug
136
+
137
+ = 2.1.2 =
138
+ * Fix. Security fixes
139
+
140
+ = 2.1.1 =
141
+ * Fix. Major update with lots-of changes
142
+ * Fix. Instagram API support added
143
+ * Fix. Access Token is required to display profile media
144
+ * Fix. Instagram pictures limit increased
145
+
146
+ = 1.6.6 =
147
+ * Fix. Code bug
148
+
149
+ = 1.6.5 =
150
+ * Fix. JS files issue with WP5 solved
151
+
152
+ = 1.6.4 =
153
+ * Fix. speed improvements and small changes
154
+
155
+ = 1.6.3 =
156
+ * Fix. Instagram Carousel autoplay time option
157
+ * Fix. Imstagram Carousel dotted nav removed
158
+ * Fix. Instagram Carousel removed zoom image on hover
159
+
160
+ = 1.6.2 =
161
+ * Fix. Elementor confliction fixed
162
+ * Fix. code optimised
163
+ * Fix. IE 8,9 Carousel support dropped
164
+
165
+ = 1.6.1 =
166
+ * Fix. Spanish Translation added
167
+ * Fix. Tags picture limit removed
168
+ * Fix. Caption option removed
169
+ * Fix. Post link added in popup
170
+
171
+ = 1.5.11 =
172
+ * Fix. Code bug
173
+
174
+ = 1.5.10 =
175
+ * Fix. added option to change carousel arrow color
176
+
177
+ = 1.5.9 =
178
+ * Fix. CSS issue fixed
179
+
180
+ = 1.5.8 =
181
+ * Fix. some API code fixes
182
+
183
+ = 1.5.7 =
184
+ * Fix. user media API update
185
+
186
+ = 1.5.6 =
187
+ * Fix. option to hide images caption
188
+ * Fix. open Instagram page on image click
189
+
190
+ = 1.5.5 =
191
+ * Fix. Carousel autoplay toggle
192
+ * Fix. dashicons removed
193
+ * Fix. assets minified
194
+
195
+ = 1.5.4 =
196
+ * Fix. API update for Tags fixed
197
+
198
+ = 1.5.3 =
199
+ * Fix. added FIX for localization code issue
200
+
201
+ = 1.5.2 =
202
+ * Fix. prepared for localization
203
+
204
+ = 1.5.1 =
205
+ * Fix. Gallery widget added
206
+ * Fix. Transients support added
207
+ * Fix. template customisation added
208
+ * Fix. code updated for better performance
209
+
210
+ = 1.4.6 =
211
+ * Fix. Instagram API error quick FIX added
212
+
213
+ = 1.4.5 =
214
+ * Fix. Instagram button color options added
215
+ * Fix. two gallery pics in a row in mobile
216
+ * Fix. browser online check status removed
217
+ * Fix. fetch items via WP built-in option
218
+
219
+ = 1.4.4 =
220
+ * Fix. Carousel spacing bug fixed
221
+ * Fix. some CSS updates
222
+
223
+ = 1.4.3 =
224
+ * Fix. Carousel popup bug fixed
225
+ * Fix. added version to assets
226
+
227
+ = 1.4.2 =
228
+ * Fix. Gallery image sizes fixed to square display
229
+ * Fix. some CSS fixes
230
+
231
+ = 1.4.1 =
232
+ * Fix. Carousel image sizes fixed to square display
233
+ * Fix. added caching of images to speedup loading
234
+ * Fix. display type Slider removed
235
+ * Fix. old-shortcode warning message removed
236
+
237
+ = 1.3.7 =
238
+ * Fix. Instagram profile link/button added in Carousel view
239
+ * Fix. wp_nonce removed because of conflicts with cache plugins
240
+
241
+ = 1.3.6 =
242
+ * Fix. Instagram profile link/button added in gallery view
243
+ * Fix. added option to choose custom hover color
244
+
245
+ = 1.3.5 =
246
+ * Fix. cURL warning issue fixed
247
+
248
+ = 1.3.4 =
249
+ * Fix. cURL warning added
250
+
251
+ = 1.3.3 =
252
+ * Fix. ajax gallery loading
253
+ * Fix. speed optimised
254
+ * Fix. clean setting on un-install
255
+
256
+ = 1.3.2 =
257
+ * Fix. display likes and comments
258
+ * Fix. old shortcode support ended
259
+ * Fix. deprecated Slider view option
260
+
261
+ = 1.3.1 =
262
+ * Fix. Carousel view feature added
263
+ * Fix. non-english tag/account supported
264
+
265
+ = 1.2.4 =
266
+ * Fix. IE images issue fixed
267
+
268
+ = 1.2.3 =
269
+ * Fix. Admin Panel UI updated
270
+ * Fix. added #tag support
271
+ * Fix. shortcode updated
272
+
273
+ = 1.1.3 =
274
+ * Fix. some issues fixed
275
+ * Fix. css added to head for removing SEO and HTML validation issues
276
+ * Fix. demo pictures added to backend
277
+
278
+ = 1.1.2 =
279
+ * Fix. some issues fixed
280
+ * Fix. small modification in plugin backend
281
+
282
+ = 1.1.1 =
283
  * Fix. Initial Release
templates/alert.php CHANGED
@@ -1,10 +1,10 @@
1
- <div class="insta-gallery-alert">
2
- <b><?php esc_html_e('Unable to get results', 'insta-gallery'); ?></b>
3
- <?php if ($messages) : ?>
4
- <ul>
5
- <?php foreach ($messages as $id => $message) : ?>
6
- <li><?php esc_html_e($message); ?></li>
7
- <?php endforeach; ?>
8
- </ul>
9
- <?php endif; ?>
10
  </div>
1
+ <div class="insta-gallery-alert">
2
+ <b><?php esc_html_e('Unable to get results', 'insta-gallery'); ?></b>
3
+ <?php if ($messages) : ?>
4
+ <ul>
5
+ <?php foreach ($messages as $id => $message) : ?>
6
+ <li><?php esc_html_e($message); ?></li>
7
+ <?php endforeach; ?>
8
+ </ul>
9
+ <?php endif; ?>
10
  </div>
templates/carousel.php CHANGED
@@ -1,8 +1,14 @@
1
  <div id="<?php echo esc_attr($item_selector); ?>" class="insta-gallery-feed" data-feed="<?php echo htmlentities(json_encode($feed_options), ENT_QUOTES, 'UTF-8'); ?>" data-feed_layout="<?php echo esc_attr($instagram_feed['insta_layout']); ?>">
2
- <div class="swiper-container">
3
- <div class="insta-gallery-list swiper-wrapper">
 
 
 
 
 
4
  </div>
5
- <?php if ($instagram_feed['insta_car-pagination']) : ?>
 
6
  <div class="swiper-pagination"></div>
7
  <?php endif; ?>
8
  <?php if ($instagram_feed['insta_car-navarrows']) : ?>
@@ -13,14 +19,7 @@
13
  <i class="qligg-icon-next"></i>
14
  </div>
15
  <?php endif; ?>
16
- <div class="insta-gallery-spinner"></div>
17
- </div>
18
- <div class="insta-gallery-actions">
19
- <!--<?php if ($instagram_feed['insta_button_load']) : ?>
20
- <a href="#" target="blank" class="insta-gallery-button load"><?php _e('Load more...', 'insta-gallery'); ?></a>
21
- <?php endif; ?>-->
22
- <?php if ($instagram_feed['insta_button']) : ?>
23
- <a href="<?php echo esc_url($profile_info['link']); ?>" target="blank" class="insta-gallery-button follow"><i class="qligg-icon-instagram-o"></i><?php echo esc_html($instagram_feed['insta_button-text']); ?></a>
24
- <?php endif; ?>
25
  </div>
 
26
  </div>
1
  <div id="<?php echo esc_attr($item_selector); ?>" class="insta-gallery-feed" data-feed="<?php echo htmlentities(json_encode($feed_options), ENT_QUOTES, 'UTF-8'); ?>" data-feed_layout="<?php echo esc_attr($instagram_feed['insta_layout']); ?>">
2
+ <?php
3
+ if ($instagram_feed['insta_box-profile'] && ($template_file = $this->template_path('parts/profile.php'))) {
4
+ include($template_file);
5
+ }
6
+ ?>
7
+ <div class = "swiper-container">
8
+ <div class = "insta-gallery-list swiper-wrapper">
9
  </div>
10
+ <?php if ($instagram_feed['insta_car-pagination']) :
11
+ ?>
12
  <div class="swiper-pagination"></div>
13
  <?php endif; ?>
14
  <?php if ($instagram_feed['insta_car-navarrows']) : ?>
19
  <i class="qligg-icon-next"></i>
20
  </div>
21
  <?php endif; ?>
22
+ <?php include($this->template_path('parts/spinner.php')); ?>
 
 
 
 
 
 
 
 
23
  </div>
24
+ <?php include($this->template_path('parts/actions.php')); ?>
25
  </div>
templates/gallery.php CHANGED
@@ -1,13 +1,11 @@
1
  <div id="<?php echo esc_attr($item_selector); ?>" class="insta-gallery-feed" data-feed="<?php echo htmlentities(json_encode($feed_options), ENT_QUOTES, 'UTF-8'); ?>" data-feed_layout="<?php echo esc_attr($instagram_feed['insta_layout']); ?>">
 
 
 
 
 
2
  <div class="insta-gallery-list">
3
  </div>
4
- <div class="insta-gallery-spinner"></div>
5
- <div class="insta-gallery-actions">
6
- <?php if ($instagram_feed['insta_button_load']) : ?>
7
- <a href="#" target="blank" class="insta-gallery-button load"><?php _e('Load more...', 'insta-gallery'); ?></a>
8
- <?php endif; ?>
9
- <?php if ($instagram_feed['insta_button']) : ?>
10
- <a href="<?php echo esc_url($profile_info['link']); ?>" target="blank" class="insta-gallery-button follow"><i class="qligg-icon-instagram-o"></i><?php echo esc_html($instagram_feed['insta_button-text']); ?></a>
11
- <?php endif; ?>
12
- </div>
13
  </div>
1
  <div id="<?php echo esc_attr($item_selector); ?>" class="insta-gallery-feed" data-feed="<?php echo htmlentities(json_encode($feed_options), ENT_QUOTES, 'UTF-8'); ?>" data-feed_layout="<?php echo esc_attr($instagram_feed['insta_layout']); ?>">
2
+ <?php
3
+ if ($instagram_feed['insta_box-profile'] && ($template_file = $this->template_path('parts/profile.php'))) {
4
+ include($template_file);
5
+ }
6
+ ?>
7
  <div class="insta-gallery-list">
8
  </div>
9
+ <?php include($this->template_path('parts/spinner.php')); ?>
10
+ <?php include($this->template_path('parts/actions.php')); ?>
 
 
 
 
 
 
 
11
  </div>
templates/parts/actions.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <div class="insta-gallery-actions">
2
+ <?php if ($instagram_feed['insta_button']) : ?>
3
+ <a href="<?php echo esc_url($profile_info['link']); ?>" target="blank" class="insta-gallery-button follow"><i class="qligg-icon-instagram-o"></i><?php echo esc_html($instagram_feed['insta_button-text']); ?></a>
4
+ <?php endif; ?>
5
+ </div>
templates/parts/spinner.php ADDED
@@ -0,0 +1 @@
 
1
+ <div class="insta-gallery-spinner"></div>
uninstall.php CHANGED
@@ -1,15 +1,16 @@
1
- <?php
2
-
3
- if (!defined('WP_UNINSTALL_PLUGIN')) {
4
- die(-1);
5
- }
6
-
7
- if (!is_multisite()) {
8
- $qligg = get_option('insta_gallery_setting');
9
- if (!empty($qligg['igs_flush'])) {
10
- delete_option('insta_gallery_setting');
11
- delete_option('insta_gallery_items');
12
- delete_option('insta_gallery_token');
13
- delete_option('insta_gallery_iac');
14
- }
15
- }
 
1
+ <?php
2
+
3
+ if (!defined('WP_UNINSTALL_PLUGIN')) {
4
+ die(-1);
5
+ }
6
+
7
+ if (!is_multisite()) {
8
+ $qligg = get_option('insta_gallery_settings');
9
+ if (!empty($qligg['insta_flush'])) {
10
+ delete_option('insta_gallery_settings');
11
+ delete_option('insta_gallery_setting');
12
+ delete_option('insta_gallery_items');
13
+ delete_option('insta_gallery_token');
14
+ delete_option('insta_gallery_iac');
15
+ }
16
+ }