Widgets for SiteOrigin - Version 1.3.4

Version Description

  • December 22 2017 =
  • TESTIMONIAL WIDGET : Added boxed designs.
  • BAR COUNTER WIDGET : Added option to position the bar info below the bar.
  • Updated Visibility CSS.
  • IMAGE WIDGET : Added , New.
  • Bug Fixes.
Download this release

Release Info

Developer iamadi
Plugin Icon 128x128 Widgets for SiteOrigin
Version 1.3.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.3.4

Files changed (49) hide show
  1. admin/admin.php +20 -0
  2. css/defaults.css +28 -22
  3. inc/activate.php +3 -3
  4. inc/admin-notice.php +9 -0
  5. inc/functions.php +0 -0
  6. inc/template-functions.php +4 -4
  7. js/countto.min.js +1 -1
  8. js/easypie.min.js +1 -1
  9. js/match-height.min.js +1 -1
  10. js/mixitup.min.js +1 -1
  11. js/slick.min.js +2 -2
  12. js/waypoints.min.js +1 -1
  13. lang/widgets-for-siteorigin.pot +19 -0
  14. readme.txt +17 -2
  15. widgets-for-siteorigin.php +34 -27
  16. widgets/ink-alrt-widget/ink-alrt-widget.php +0 -0
  17. widgets/ink-alrt-widget/styles/alert.less +0 -0
  18. widgets/ink-alrt-widget/tpl/alert.php +0 -0
  19. widgets/ink-ardn-widget/ink-ardn-widget.php +19 -0
  20. widgets/ink-ardn-widget/js/accordion.min.js +1 -1
  21. widgets/ink-ardn-widget/tpl/accordion.php +6 -13
  22. widgets/ink-auds-widget/ink-auds-widget.php +0 -0
  23. widgets/ink-auds-widget/tpl/audio.php +0 -0
  24. widgets/ink-barc-widget/ink-barc-widget.php +22 -0
  25. widgets/ink-barc-widget/styles/bar.less +19 -2
  26. widgets/ink-barc-widget/tpl/bar.php +15 -7
  27. widgets/ink-blgs-widget/ink-blgs-widget.php +0 -0
  28. widgets/ink-blgs-widget/js/blog.min.js +1 -1
  29. widgets/ink-blgs-widget/tpl/thumb-above.php +0 -0
  30. widgets/ink-blgs-widget/tpl/thumb-behind.php +0 -0
  31. widgets/ink-blgs-widget/tpl/thumb-left.php +0 -0
  32. widgets/ink-blgs-widget/tpl/thumb-none.php +0 -0
  33. widgets/ink-blgs-widget/tpl/thumb-right.php +0 -0
  34. widgets/ink-btns-widget/ink-btns-widget.php +23 -7
  35. widgets/ink-btns-widget/tpl/buttons.php +0 -0
  36. widgets/ink-dvdr-widget/ink-dvdr-widget.php +0 -0
  37. widgets/ink-dvdr-widget/tpl/divider.php +0 -0
  38. widgets/ink-fard-widget/js/filter-accordion.min.js +1 -1
  39. widgets/ink-imge-widget/assets/banner.svg +23 -0
  40. widgets/ink-imge-widget/css/image.css +50 -0
  41. widgets/ink-imge-widget/ink-imge-widget.php +339 -0
  42. widgets/ink-imge-widget/styles/image.less +391 -0
  43. widgets/ink-imge-widget/tpl/image.php +27 -0
  44. widgets/ink-prsn-widget/styles/person.less +0 -0
  45. widgets/ink-ptfl-widget/ink-ptfl-widget.php +0 -0
  46. widgets/ink-tabb-widget/js/tabs.min.js +1 -1
  47. widgets/ink-tsml-widget/css/testimonial.css +46 -11
  48. widgets/ink-tsml-widget/ink-tsml-widget.php +24 -8
  49. widgets/ink-tsml-widget/styles/testimonial.less +16 -0
admin/admin.php CHANGED
@@ -124,6 +124,22 @@ function wpinked_so_admin_page_content() {
124
  <p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
125
  <p class="feature-links"><a href="http://widgets.wpinked.com/testimonial-slider-widget/" target="_blank">Demo</a> &bull; <a href="http://widgets-docs.wpinked.com/article/46-testimonial-slider-widget" target="_blank">Documentation</a></p>
126
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  <div class="feature">
128
  <h3 class="feature-title">Animations</h3>
129
  <p class="feature-content">This feature gives you an easy way to animate widgets and rows. Choose from 18 different animation effects.</p>
@@ -138,6 +154,10 @@ function wpinked_so_admin_page_content() {
138
  <h3 class="feature-title">Custom Fonts</h3>
139
  <p class="feature-content">This feature lets you apply custom fonts to important elements in your widgets. Choose from hundreds of fonts.</p>
140
  </div>
 
 
 
 
141
  <div class="row-sep"></div>
142
  <div class="buy-pro">
143
  <a href="https://wpinked.com/downloads/widgets-for-siteorigin-pro/" target="_blank">
124
  <p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
125
  <p class="feature-links"><a href="http://widgets.wpinked.com/testimonial-slider-widget/" target="_blank">Demo</a> &bull; <a href="http://widgets-docs.wpinked.com/article/46-testimonial-slider-widget" target="_blank">Documentation</a></p>
126
  </div>
127
+ <div class="feature">
128
+ <h3 class="feature-title">Flip Box</h3>
129
+ <p class="feature-content">The Flip Box widget is a simple and elegant combination of text and media. This widget is a fantastic way to highlight small bits of information, such as skills, features or services you offer.</p>
130
+ <p class="feature-links"><a href="http://widgets.wpinked.com/flip-box-widget/" target="_blank">Demo</a> &bull; <a href="http://widgets-docs.wpinked.com/article/61-flip-box-widget" target="_blank">Documentation</a></p>
131
+ </div>
132
+ <div class="row-sep"></div>
133
+ <div class="feature">
134
+ <h3 class="feature-title">Gallery</h3>
135
+ <p class="feature-content">Present your image collections in a visually rich masonry layout. It is complemented well with the lightbox feature.</p>
136
+ <p class="feature-links"><a href="http://widgets.wpinked.com/gallery-widget/" target="_blank">Demo</a> &bull; <a href="http://widgets-docs.wpinked.com/article/58-gallery-widget" target="_blank">Documentation</a></p>
137
+ </div>
138
+ <div class="feature">
139
+ <h3 class="feature-title">Slider Pro</h3>
140
+ <p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
141
+ <p class="feature-links"><a href="http://widgets.wpinked.com/slider-pro-widget/" target="_blank">Demo</a> &bull; <a href="http://widgets-docs.wpinked.com/article/60-slider-pro-widget" target="_blank">Documentation</a></p>
142
+ </div>
143
  <div class="feature">
144
  <h3 class="feature-title">Animations</h3>
145
  <p class="feature-content">This feature gives you an easy way to animate widgets and rows. Choose from 18 different animation effects.</p>
154
  <h3 class="feature-title">Custom Fonts</h3>
155
  <p class="feature-content">This feature lets you apply custom fonts to important elements in your widgets. Choose from hundreds of fonts.</p>
156
  </div>
157
+ <div class="feature">
158
+ <h3 class="feature-title">Image Lightbox</h3>
159
+ <p class="feature-content">Let users have a closer look at photos and images with the image and gallery widgets.</p>
160
+ </div>
161
  <div class="row-sep"></div>
162
  <div class="buy-pro">
163
  <a href="https://wpinked.com/downloads/widgets-for-siteorigin-pro/" target="_blank">
css/defaults.css CHANGED
@@ -11,34 +11,25 @@
11
  .iw-text-justify {
12
  text-align: justify !important; }
13
 
14
- /* small displays */
15
- @media only screen {
16
- .iw-small,
17
- .iw-med-dw {
18
- display: inherit !important; }
19
- .iw-med-up,
20
- .iw-medium,
21
- .iw-large {
22
  display: none !important; } }
23
 
24
- /* medium displays */
25
- @media only screen and (min-width: 640px) {
26
- .iw-med-dw,
27
- .iw-med-up,
 
28
  .iw-medium {
29
- display: inherit !important; }
30
- .iw-small,
31
- .iw-large {
32
  display: none !important; } }
33
 
34
- /* large displays */
35
- @media only screen and (min-width: 1024px) {
36
- .iw-med-up,
 
 
37
  .iw-large {
38
- display: inherit !important; }
39
- .iw-small,
40
- .iw-med-dw,
41
- .iw-medium {
42
  display: none !important; } }
43
 
44
  /* Orientation targeting */
@@ -65,3 +56,18 @@
65
  .iw-hide-p,
66
  .iw-show-l {
67
  display: none !important; } }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  .iw-text-justify {
12
  text-align: justify !important; }
13
 
14
+ /* Visibility */
15
+ @media screen and (min-width: 640px) {
16
+ .iw-small {
 
 
 
 
 
17
  display: none !important; } }
18
 
19
+ @media screen and (max-width: 640px) {
20
+ .iw-med-up {
21
+ display: none !important; } }
22
+
23
+ @media screen and (max-width: 640px), screen and (min-width: 1024px) {
24
  .iw-medium {
 
 
 
25
  display: none !important; } }
26
 
27
+ @media screen and (min-width: 1024px) {
28
+ .iw-med-dw {
29
+ display: none !important; } }
30
+
31
+ @media screen and (max-width: 1024px) {
32
  .iw-large {
 
 
 
 
33
  display: none !important; } }
34
 
35
  /* Orientation targeting */
56
  .iw-hide-p,
57
  .iw-show-l {
58
  display: none !important; } }
59
+
60
+ .iw-row {
61
+ margin: 0 auto;
62
+ width: 100%; }
63
+ .iw-row:before, .iw-row:after {
64
+ content: " ";
65
+ display: table; }
66
+ .iw-row:after {
67
+ clear: both; }
68
+
69
+ .iw-cols {
70
+ width: 100%;
71
+ float: left;
72
+ box-sizing: border-box;
73
+ position: relative; }
inc/activate.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ( ! function_exists( 'wpinked_so_wb_default_active' ) ) :
3
  // Activating widgets on install
4
- function wpinked_so_wb_default_active( $group ) {
5
  $active_widgets = array(
6
  'ink-alert' => true,
7
  'ink-accordion' => true,
@@ -22,7 +22,7 @@ function wpinked_so_wb_default_active( $group ) {
22
  'ink-testimonial' => true,
23
  'ink-video' => true,
24
  );
25
- return $active_widgets;
26
  }
27
  endif;
28
- add_filter( 'siteorigin_widgets_default_active', 'wpinked_so_wb_default_active', 20 );
1
  <?php
2
  if ( ! function_exists( 'wpinked_so_wb_default_active' ) ) :
3
  // Activating widgets on install
4
+ function wpinked_so_wb_default_active( $default_widgets ) {
5
  $active_widgets = array(
6
  'ink-alert' => true,
7
  'ink-accordion' => true,
22
  'ink-testimonial' => true,
23
  'ink-video' => true,
24
  );
25
+ return wp_parse_args( $active_widgets, $default_widgets );
26
  }
27
  endif;
28
+ add_filter( 'siteorigin_widgets_default_active', 'wpinked_so_wb_default_active' );
inc/admin-notice.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function wpinked_so_admin_notice__info() {
3
+ ?>
4
+ <div class="notice notice-info is-dismissible">
5
+ <p><?php _e( 'Hey guys. Sorry I have not been dedicating enought time to the plugin. I\'ll catch up with all outstanding issues as well as add new widgets in the next couple of weeks. Thanks for your support and understanding.', 'wpinked-widgets' ); ?></p>
6
+ </div>
7
+ <?php
8
+ }
9
+ add_action( 'admin_notices', 'wpinked_so_admin_notice__info' );
inc/functions.php CHANGED
File without changes
inc/template-functions.php CHANGED
@@ -6,11 +6,11 @@
6
  if ( ! function_exists ( 'wpinked_so_testimonial_template' ) ) :
7
  function wpinked_so_testimonial_template( $name, $testimonial, $styling ) {
8
 
9
- if ( in_array( $styling['design'], array( 'by-above', 'by-below' ), true ) ) : ?>
10
 
11
  <div class="iw-so-testimonial <?php echo 'iw-so-testimonial-' . $styling['design']; ?>">
12
 
13
- <?php if ( ( $styling['design'] == 'by-above' ) ) : ?>
14
  <div class="iw-so-testimonial-byline iw-so-testi-<?php echo $styling['text'] ?>">
15
  <div class="iw-so-testimonial-byline-wrapper<?php echo ( $testimonial['image'] ? ' iw-so-testimonial-has-image' : '' ) ?>">
16
  <?php echo wp_get_attachment_image( $testimonial['image'], array( '50', '50' ) ); ?>
@@ -19,13 +19,13 @@ function wpinked_so_testimonial_template( $name, $testimonial, $styling ) {
19
  </div>
20
  <?php endif; ?>
21
 
22
- <div class="iw-so-testimonial-content">
23
  <?php if ( $testimonial['content'] ) : ?>
24
  <div class="iw-so-testimonial-message <?php echo $testimonial['text']; ?>"><?php echo wpinked_so_editor( $testimonial['content'], $testimonial['autop'] ); ?></div>
25
  <?php endif; ?>
26
  </div>
27
 
28
- <?php if ( ( $styling['design'] == 'by-below' ) ) : ?>
29
  <div class="iw-so-testimonial-byline iw-so-testi-<?php echo $styling['text'] ?>">
30
  <div class="iw-so-testimonial-byline-wrapper<?php echo ( $testimonial['image'] ? ' iw-so-testimonial-has-image' : '' ) ?>">
31
  <?php echo wp_get_attachment_image( $testimonial['image'], array( '50', '50' ) ); ?>
6
  if ( ! function_exists ( 'wpinked_so_testimonial_template' ) ) :
7
  function wpinked_so_testimonial_template( $name, $testimonial, $styling ) {
8
 
9
+ if ( in_array( $styling['design'], array( 'by-above', 'by-below', 'boxed-by-above', 'boxed-by-below' ), true ) ) : ?>
10
 
11
  <div class="iw-so-testimonial <?php echo 'iw-so-testimonial-' . $styling['design']; ?>">
12
 
13
+ <?php if ( $styling['design'] == 'by-above' || $styling['design'] == 'boxed-by-above' ) : ?>
14
  <div class="iw-so-testimonial-byline iw-so-testi-<?php echo $styling['text'] ?>">
15
  <div class="iw-so-testimonial-byline-wrapper<?php echo ( $testimonial['image'] ? ' iw-so-testimonial-has-image' : '' ) ?>">
16
  <?php echo wp_get_attachment_image( $testimonial['image'], array( '50', '50' ) ); ?>
19
  </div>
20
  <?php endif; ?>
21
 
22
+ <div class="iw-so-testimonial-content boxed-<?php echo $styling['text'] ?>">
23
  <?php if ( $testimonial['content'] ) : ?>
24
  <div class="iw-so-testimonial-message <?php echo $testimonial['text']; ?>"><?php echo wpinked_so_editor( $testimonial['content'], $testimonial['autop'] ); ?></div>
25
  <?php endif; ?>
26
  </div>
27
 
28
+ <?php if ( $styling['design'] == 'by-below' || $styling['design'] == 'boxed-by-below' ) : ?>
29
  <div class="iw-so-testimonial-byline iw-so-testi-<?php echo $styling['text'] ?>">
30
  <div class="iw-so-testimonial-byline-wrapper<?php echo ( $testimonial['image'] ? ' iw-so-testimonial-has-image' : '' ) ?>">
31
  <?php echo wp_get_attachment_image( $testimonial['image'], array( '50', '50' ) ); ?>
js/countto.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){function e(t,e){return t.toFixed(e.decimals)}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,this.dataOptions(),i),this.init()};o.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:e,onUpdate:null,onComplete:null},o.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},o.prototype.dataOptions=function(){var t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},e=Object.keys(t);for(var o in e){var i=e[o];"undefined"==typeof t[i]&&delete t[i]}return t},o.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete&&this.options.onComplete.call(this.$element,this.value))},o.prototype.render=function(){var t=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(t)},o.prototype.restart=function(){this.stop(),this.init(),this.start()},o.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},o.prototype.stop=function(){this.interval&&clearInterval(this.interval)},o.prototype.toggle=function(){this.interval?this.stop():this.start()},t.fn.countTo=function(e){return this.each(function(){var i=t(this),n=i.data("countTo"),s=!n||"object"==typeof e,r="object"==typeof e?e:{},a="string"==typeof e?e:"start";s&&(n&&n.stop(),i.data("countTo",n=new o(this,r))),n[a].call(n)})}});
1
+ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){function e(t,e){return t.toFixed(e.decimals)}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,this.dataOptions(),i),this.init()};o.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:e,onUpdate:null,onComplete:null},o.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},o.prototype.dataOptions=function(){var t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},e=Object.keys(t);for(var o in e){var i=e[o];void 0===t[i]&&delete t[i]}return t},o.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete&&this.options.onComplete.call(this.$element,this.value))},o.prototype.render=function(){var t=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(t)},o.prototype.restart=function(){this.stop(),this.init(),this.start()},o.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},o.prototype.stop=function(){this.interval&&clearInterval(this.interval)},o.prototype.toggle=function(){this.interval?this.stop():this.start()},t.fn.countTo=function(e){return this.each(function(){var i=t(this),n=i.data("countTo"),s=!n||"object"==typeof e,r="object"==typeof e?e:{},a="string"==typeof e?e:"start";s&&(n&&n.stop(),i.data("countTo",n=new o(this,r))),n[a].call(n)})}});
js/easypie.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(e){var t=function(e,t){var n,a=document.createElement("canvas");e.appendChild(a),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(a);var i=a.getContext("2d");a.width=a.height=t.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,a.style.width=a.style.height=[t.size,"px"].join(""),a.width=a.height=t.size*r,i.scale(r,r)),i.translate(t.size/2,t.size/2),i.rotate((-.5+t.rotate/180)*Math.PI);var o=(t.size-t.lineWidth)/2;t.scaleColor&&t.scaleLength&&(o-=t.scaleLength+2),Date.now=Date.now||function(){return+new Date};var s=function(e,t,n){n=Math.min(Math.max(-1,n||0),1);var a=n<=0;i.beginPath(),i.arc(0,0,o,0,2*Math.PI*n,a),i.strokeStyle=e,i.lineWidth=t,i.stroke()},d=function(){var e,n;i.lineWidth=1,i.fillStyle=t.scaleColor,i.save();for(var a=24;a>0;--a)a%6===0?(n=t.scaleLength,e=0):(n=.6*t.scaleLength,e=t.scaleLength-n),i.fillRect(-t.size/2+e,0,n,1),i.rotate(Math.PI/12);i.restore()},h=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),u=function(){t.scaleColor&&d(),t.trackColor&&s(t.trackColor,t.trackWidth||t.lineWidth,1)};this.getCanvas=function(){return a},this.getCtx=function(){return i},this.clear=function(){i.clearRect(t.size/-2,t.size/-2,t.size,t.size)},this.draw=function(e){t.scaleColor||t.trackColor?i.getImageData&&i.putImageData?n?i.putImageData(n,0,0):(u(),n=i.getImageData(0,0,t.size*r,t.size*r)):(this.clear(),u()):this.clear(),i.lineCap=t.lineCap;var a;a="function"==typeof t.barColor?t.barColor(e):t.barColor,s(a,t.lineWidth,e/100)}.bind(this),this.animate=function(e,n){var a=Date.now();t.onStart(e,n);var i=function(){var r=Math.min(Date.now()-a,t.animate.duration),o=t.easing(this,r,e,n-e,t.animate.duration);this.draw(o),t.onStep(e,n,o),r>=t.animate.duration?t.onStop(e,n):h(i)}.bind(this);h(i)}.bind(this)},n=function(e,n){var a={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,n,a,i){return t/=i/2,t<1?a/2*t*t+n:-a/2*(--t*(t-2)-1)+n},onStart:function(e,t){},onStep:function(e,t,n){},onStop:function(e,t){}};if("undefined"!=typeof t)a.renderer=t;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");a.renderer=SVGRenderer}var i={},r=0,o=function(){this.el=e,this.options=i;for(var t in a)a.hasOwnProperty(t)&&(i[t]=n&&"undefined"!=typeof n[t]?n[t]:a[t],"function"==typeof i[t]&&(i[t]=i[t].bind(this)));"string"==typeof i.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[i.easing])?i.easing=jQuery.easing[i.easing]:i.easing=a.easing,"number"==typeof i.animate&&(i.animate={duration:i.animate,enabled:!0}),"boolean"!=typeof i.animate||i.animate||(i.animate={duration:1e3,enabled:i.animate}),this.renderer=new i.renderer(e,i),this.renderer.draw(r),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),i.animate.enabled?this.renderer.animate(r,e):this.renderer.draw(e),r=e,this}.bind(this),this.disableAnimation=function(){return i.animate.enabled=!1,this},this.enableAnimation=function(){return i.animate.enabled=!0,this},o()};e.fn.easyPieChart=function(t){return this.each(function(){var a;e.data(this,"easyPieChart")||(a=e.extend({},t,e(this).data()),e.data(this,"easyPieChart",new n(this,a)))})}});
1
+ !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(0,function(e){var t=function(e,t){var n,a=document.createElement("canvas");e.appendChild(a),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(a);var i=a.getContext("2d");a.width=a.height=t.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,a.style.width=a.style.height=[t.size,"px"].join(""),a.width=a.height=t.size*r,i.scale(r,r)),i.translate(t.size/2,t.size/2),i.rotate((t.rotate/180-.5)*Math.PI);var o=(t.size-t.lineWidth)/2;t.scaleColor&&t.scaleLength&&(o-=t.scaleLength+2),Date.now=Date.now||function(){return+new Date};var s=function(e,t,n){n=Math.min(Math.max(-1,n||0),1);var a=n<=0;i.beginPath(),i.arc(0,0,o,0,2*Math.PI*n,a),i.strokeStyle=e,i.lineWidth=t,i.stroke()},d=function(){var e,n;i.lineWidth=1,i.fillStyle=t.scaleColor,i.save();for(var a=24;a>0;--a)a%6==0?(n=t.scaleLength,e=0):(n=.6*t.scaleLength,e=t.scaleLength-n),i.fillRect(-t.size/2+e,0,n,1),i.rotate(Math.PI/12);i.restore()},h=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}(),u=function(){t.scaleColor&&d(),t.trackColor&&s(t.trackColor,t.trackWidth||t.lineWidth,1)};this.getCanvas=function(){return a},this.getCtx=function(){return i},this.clear=function(){i.clearRect(t.size/-2,t.size/-2,t.size,t.size)},this.draw=function(e){t.scaleColor||t.trackColor?i.getImageData&&i.putImageData?n?i.putImageData(n,0,0):(u(),n=i.getImageData(0,0,t.size*r,t.size*r)):(this.clear(),u()):this.clear(),i.lineCap=t.lineCap;var a;a="function"==typeof t.barColor?t.barColor(e):t.barColor,s(a,t.lineWidth,e/100)}.bind(this),this.animate=function(e,n){var a=Date.now();t.onStart(e,n);var i=function(){var r=Math.min(Date.now()-a,t.animate.duration),o=t.easing(this,r,e,n-e,t.animate.duration);this.draw(o),t.onStep(e,n,o),r>=t.animate.duration?t.onStop(e,n):h(i)}.bind(this);h(i)}.bind(this)},n=function(e,n){var a={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,n,a,i){return t/=i/2,t<1?a/2*t*t+n:-a/2*(--t*(t-2)-1)+n},onStart:function(e,t){},onStep:function(e,t,n){},onStop:function(e,t){}};if(void 0!==t)a.renderer=t;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");a.renderer=SVGRenderer}var i={},r=0,o=function(){this.el=e,this.options=i;for(var t in a)a.hasOwnProperty(t)&&(i[t]=n&&void 0!==n[t]?n[t]:a[t],"function"==typeof i[t]&&(i[t]=i[t].bind(this)));"string"==typeof i.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[i.easing])?i.easing=jQuery.easing[i.easing]:i.easing=a.easing,"number"==typeof i.animate&&(i.animate={duration:i.animate,enabled:!0}),"boolean"!=typeof i.animate||i.animate||(i.animate={duration:1e3,enabled:i.animate}),this.renderer=new i.renderer(e,i),this.renderer.draw(r),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),i.animate.enabled?this.renderer.animate(r,e):this.renderer.draw(e),r=e,this}.bind(this),this.disableAnimation=function(){return i.animate.enabled=!1,this},this.enableAnimation=function(){return i.animate.enabled=!0,this},o()};e.fn.easyPieChart=function(t){return this.each(function(){var a;e.data(this,"easyPieChart")||(a=e.extend({},t,e(this).data()),e.data(this,"easyPieChart",new n(this,a)))})}});
js/match-height.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,o=-1,i=function(t){return parseFloat(t)||0},a=function(e){var o=1,a=t(e),n=null,r=[];return a.each(function(){var e=t(this),a=e.offset().top-i(e.css("margin-top")),s=r.length>0?r[r.length-1]:null;null===s?r.push(e):Math.floor(Math.abs(n-a))<=o?r[r.length-1]=s.add(e):r.push(e),n=a}),r},n=function(e){var o={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=n(e);if(o.remove){var i=this;return this.css(o.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!o.target?this:(r._groups.push({elements:this,options:o}),r._apply(this,o),this)};r.version="0.7.0",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=a,r._parse=i,r._parseOptions=n,r._apply=function(e,o){var s=n(o),h=t(e),l=[h],c=t(window).scrollTop(),p=t("html").outerHeight(!0),d=h.parents().filter(":hidden");return d.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),d.css("display","block"),s.byRow&&!s.target&&(h.each(function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),l=a(h),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(l,function(e,o){var a=t(o),n=0;if(s.target)n=s.target.outerHeight(!1);else{if(s.byRow&&a.length<=1)return void a.css(s.property,"");a.each(function(){var e=t(this),o=e.attr("style"),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var a={display:i};a[s.property]="",e.css(a),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")})}a.each(function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=i(e.css("border-top-width"))+i(e.css("border-bottom-width")),o+=i(e.css("padding-top"))+i(e.css("padding-bottom"))),e.css(s.property,n-o+"px"))})}),d.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var o=t(this),i=o.attr("data-mh")||o.attr("data-match-height");i in e?e[i]=e[i].add(o):e[i]=o}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(i,a){if(a&&"resize"===a.type){var n=t(window).width();if(n===e)return;e=n}i?o===-1&&(o=setTimeout(function(){s(a),o=-1},r._throttle)):s(a)},t(r._applyDataApi),t(window).bind("load",function(t){r._update(!1,t)}),t(window).bind("resize orientationchange",function(t){r._update(!0,t)})});
1
+ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,o=-1,i=function(t){return parseFloat(t)||0},a=function(e){var o=t(e),a=null,n=[];return o.each(function(){var e=t(this),o=e.offset().top-i(e.css("margin-top")),r=n.length>0?n[n.length-1]:null;null===r?n.push(e):Math.floor(Math.abs(a-o))<=1?n[n.length-1]=r.add(e):n.push(e),a=o}),n},n=function(e){var o={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=n(e);if(o.remove){var i=this;return this.css(o.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!o.target?this:(r._groups.push({elements:this,options:o}),r._apply(this,o),this)};r.version="0.7.0",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=a,r._parse=i,r._parseOptions=n,r._apply=function(e,o){var s=n(o),h=t(e),l=[h],c=t(window).scrollTop(),p=t("html").outerHeight(!0),d=h.parents().filter(":hidden");return d.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),d.css("display","block"),s.byRow&&!s.target&&(h.each(function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),l=a(h),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(l,function(e,o){var a=t(o),n=0;if(s.target)n=s.target.outerHeight(!1);else{if(s.byRow&&a.length<=1)return void a.css(s.property,"");a.each(function(){var e=t(this),o=e.attr("style"),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var a={display:i};a[s.property]="",e.css(a),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")})}a.each(function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=i(e.css("border-top-width"))+i(e.css("border-bottom-width")),o+=i(e.css("padding-top"))+i(e.css("padding-bottom"))),e.css(s.property,n-o+"px"))})}),d.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var o=t(this),i=o.attr("data-mh")||o.attr("data-match-height");e[i]=i in e?e[i].add(o):o}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(i,a){if(a&&"resize"===a.type){var n=t(window).width();if(n===e)return;e=n}i?-1===o&&(o=setTimeout(function(){s(a),o=-1},r._throttle)):s(a)},t(r._applyDataApi),t(window).bind("load",function(t){r._update(!1,t)}),t(window).bind("resize orientationchange",function(t){r._update(!0,t)})});
js/mixitup.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"use strict";t.MixItUp=function(){var e=this;e._execAction("_constructor",0),t.extend(e,{selectors:{target:".mix",filter:".filter",sort:".sort"},animation:{enable:!0,effects:"fade scale",duration:600,easing:"ease",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",queue:!0,queueLimit:1,animateChangeLayout:!1,animateResizeContainer:!0,animateResizeTargets:!1,staggerSequence:!1,reverseOut:!1},callbacks:{onMixLoad:!1,onMixStart:!1,onMixBusy:!1,onMixEnd:!1,onMixFail:!1,_user:!1},controls:{enable:!0,live:!1,toggleFilterButtons:!1,toggleLogic:"or",activeClass:"active"},layout:{display:"inline-block",containerClass:"",containerClassFail:"fail"},load:{filter:"all",sort:!1},_$body:null,_$container:null,_$targets:null,_$parent:null,_$sortButtons:null,_$filterButtons:null,_suckMode:!1,_mixing:!1,_sorting:!1,_clicking:!1,_loading:!0,_changingLayout:!1,_changingClass:!1,_changingDisplay:!1,_origOrder:[],_startOrder:[],_newOrder:[],_activeFilter:null,_toggleArray:[],_toggleString:"",_activeSort:"default:asc",_newSort:null,_startHeight:null,_newHeight:null,_incPadding:!0,_newDisplay:null,_newClass:null,_targetsBound:0,_targetsDone:0,_queue:[],_$show:t(),_$hide:t()}),e._execAction("_constructor",1)},t.MixItUp.prototype={constructor:t.MixItUp,_instances:{},_handled:{_filter:{},_sort:{}},_bound:{_filter:{},_sort:{}},_actions:{},_filters:{},extend:function(e){for(var a in e)t.MixItUp.prototype[a]=e[a]},addAction:function(e,a,i,n){t.MixItUp.prototype._addHook("_actions",e,a,i,n)},addFilter:function(e,a,i,n){t.MixItUp.prototype._addHook("_filters",e,a,i,n)},_addHook:function(e,a,i,n,r){var o=t.MixItUp.prototype[e],s={};r=1===r||"post"===r?"post":"pre",s[a]={},s[a][r]={},s[a][r][i]=n,t.extend(!0,o,s)},_init:function(e,a){var i=this;if(i._execAction("_init",0,arguments),a&&t.extend(!0,i,a),i._$body=t("body"),i._domNode=e,i._$container=t(e),i._$container.addClass(i.layout.containerClass),i._id=e.id,i._platformDetect(),i._brake=i._getPrefixedCSS("transition","none"),i._refresh(!0),i._$parent=i._$targets.parent().length?i._$targets.parent():i._$container,i.load.sort&&(i._newSort=i._parseSort(i.load.sort),i._newSortString=i.load.sort,i._activeSort=i.load.sort,i._sort(),i._printSort()),i._activeFilter="all"===i.load.filter?i.selectors.target:"none"===i.load.filter?"":i.load.filter,i.controls.enable&&i._bindHandlers(),i.controls.toggleFilterButtons){i._buildToggleArray();for(var n=0;n<i._toggleArray.length;n++)i._updateControls({filter:i._toggleArray[n],sort:i._activeSort},!0)}else i.controls.enable&&i._updateControls({filter:i._activeFilter,sort:i._activeSort});i._filter(),i._init=!0,i._$container.data("mixItUp",i),i._execAction("_init",1,arguments),i._buildState(),i._$targets.css(i._brake),i._goMix(i.animation.enable)},_platformDetect:function(){var t=this,a=["Webkit","Moz","O","ms"],i=["webkit","moz"],n=window.navigator.appVersion.match(/Chrome\/(\d+)\./)||!1,r="undefined"!=typeof InstallTrigger,o=function(t){for(var e=0;e<a.length;e++)if(a[e]+"Transition"in t.style)return{prefix:"-"+a[e].toLowerCase()+"-",vendor:a[e]};return"transition"in t.style&&""},s=o(t._domNode);t._execAction("_platformDetect",0),t._chrome=!!n&&parseInt(n[1],10),t._ff=!!r&&parseInt(window.navigator.userAgent.match(/rv:([^)]+)\)/)[1]),t._prefix=s.prefix,t._vendor=s.vendor,t._suckMode=!window.atob||!t._prefix,t._suckMode&&(t.animation.enable=!1),t._ff&&t._ff<=4&&(t.animation.enable=!1);for(var l=0;l<i.length&&!window.requestAnimationFrame;l++)window.requestAnimationFrame=window[i[l]+"RequestAnimationFrame"];"function"!=typeof Object.getPrototypeOf&&("object"==typeof"test".__proto__?Object.getPrototypeOf=function(t){return t.__proto__}:Object.getPrototypeOf=function(t){return t.constructor.prototype}),t._domNode.nextElementSibling===e&&Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var t=this.nextSibling;t;){if(1===t.nodeType)return t;t=t.nextSibling}return null}}),t._execAction("_platformDetect",1)},_refresh:function(t,a){var i=this;i._execAction("_refresh",0,arguments),i._$targets=i._$container.find(i.selectors.target);for(var n=0;n<i._$targets.length;n++){var r=i._$targets[n];if(r.dataset===e||a){r.dataset={};for(var o=0;o<r.attributes.length;o++){var s=r.attributes[o],l=s.name,c=s.value;if(l.indexOf("data-")>-1){var _=i._helpers._camelCase(l.substring(5,l.length));r.dataset[_]=c}}}r.mixParent===e&&(r.mixParent=i._id)}if(i._$targets.length&&t||!i._origOrder.length&&i._$targets.length){i._origOrder=[];for(var n=0;n<i._$targets.length;n++){var r=i._$targets[n];i._origOrder.push(r)}}i._execAction("_refresh",1,arguments)},_bindHandlers:function(){var a=this,i=t.MixItUp.prototype._bound._filter,n=t.MixItUp.prototype._bound._sort;a._execAction("_bindHandlers",0),a.controls.live?a._$body.on("click.mixItUp."+a._id,a.selectors.sort,function(){a._processClick(t(this),"sort")}).on("click.mixItUp."+a._id,a.selectors.filter,function(){a._processClick(t(this),"filter")}):(a._$sortButtons=t(a.selectors.sort),a._$filterButtons=t(a.selectors.filter),a._$sortButtons.on("click.mixItUp."+a._id,function(){a._processClick(t(this),"sort")}),a._$filterButtons.on("click.mixItUp."+a._id,function(){a._processClick(t(this),"filter")})),i[a.selectors.filter]=i[a.selectors.filter]===e?1:i[a.selectors.filter]+1,n[a.selectors.sort]=n[a.selectors.sort]===e?1:n[a.selectors.sort]+1,a._execAction("_bindHandlers",1)},_processClick:function(a,i){var n=this,r=function(a,i,r){var o=t.MixItUp.prototype;o._handled["_"+i][n.selectors[i]]=o._handled["_"+i][n.selectors[i]]===e?1:o._handled["_"+i][n.selectors[i]]+1,o._handled["_"+i][n.selectors[i]]===o._bound["_"+i][n.selectors[i]]&&(a[(r?"remove":"add")+"Class"](n.controls.activeClass),delete o._handled["_"+i][n.selectors[i]])};if(n._execAction("_processClick",0,arguments),!n._mixing||n.animation.queue&&n._queue.length<n.animation.queueLimit){if(n._clicking=!0,"sort"===i){var o=a.attr("data-sort");(!a.hasClass(n.controls.activeClass)||o.indexOf("random")>-1)&&(t(n.selectors.sort).removeClass(n.controls.activeClass),r(a,i),n.sort(o))}if("filter"===i){var s,l=a.attr("data-filter"),c="or"===n.controls.toggleLogic?",":"";n.controls.toggleFilterButtons?(n._buildToggleArray(),a.hasClass(n.controls.activeClass)?(r(a,i,!0),s=n._toggleArray.indexOf(l),n._toggleArray.splice(s,1)):(r(a,i),n._toggleArray.push(l)),n._toggleArray=t.grep(n._toggleArray,function(t){return t}),n._toggleString=n._toggleArray.join(c),n.filter(n._toggleString)):a.hasClass(n.controls.activeClass)||(t(n.selectors.filter).removeClass(n.controls.activeClass),r(a,i),n.filter(l))}n._execAction("_processClick",1,arguments)}else"function"==typeof n.callbacks.onMixBusy&&n.callbacks.onMixBusy.call(n._domNode,n._state,n),n._execAction("_processClickBusy",1,arguments)},_buildToggleArray:function(){var t=this,e=t._activeFilter.replace(/\s/g,"");if(t._execAction("_buildToggleArray",0,arguments),"or"===t.controls.toggleLogic)t._toggleArray=e.split(",");else{t._toggleArray=e.split("."),!t._toggleArray[0]&&t._toggleArray.shift();for(var a,i=0;a=t._toggleArray[i];i++)t._toggleArray[i]="."+a}t._execAction("_buildToggleArray",1,arguments)},_updateControls:function(a,i){var n=this,r={filter:a.filter,sort:a.sort},o=function(t,e){try{i&&"filter"===s&&"none"!==r.filter&&""!==r.filter?t.filter(e).addClass(n.controls.activeClass):t.removeClass(n.controls.activeClass).filter(e).addClass(n.controls.activeClass)}catch(a){}},s="filter",l=null;n._execAction("_updateControls",0,arguments),a.filter===e&&(r.filter=n._activeFilter),a.sort===e&&(r.sort=n._activeSort),r.filter===n.selectors.target&&(r.filter="all");for(var c=0;c<2;c++)l=n.controls.live?t(n.selectors[s]):n["_$"+s+"Buttons"],l&&o(l,"[data-"+s+'="'+r[s]+'"]'),s="sort";n._execAction("_updateControls",1,arguments)},_filter:function(){var e=this;e._execAction("_filter",0);for(var a=0;a<e._$targets.length;a++){var i=t(e._$targets[a]);i.is(e._activeFilter)?e._$show=e._$show.add(i):e._$hide=e._$hide.add(i)}e._execAction("_filter",1)},_sort:function(){var t=this,e=function(t){for(var e=t.slice(),a=e.length,i=a;i--;){var n=parseInt(Math.random()*a),r=e[i];e[i]=e[n],e[n]=r}return e};t._execAction("_sort",0),t._startOrder=[];for(var a=0;a<t._$targets.length;a++){var i=t._$targets[a];t._startOrder.push(i)}switch(t._newSort[0].sortBy){case"default":t._newOrder=t._origOrder;break;case"random":t._newOrder=e(t._startOrder);break;case"custom":t._newOrder=t._newSort[0].order;break;default:t._newOrder=t._startOrder.concat().sort(function(e,a){return t._compare(e,a)})}t._execAction("_sort",1)},_compare:function(t,e,a){a=a?a:0;var i=this,n=i._newSort[a].order,r=function(t){return t.dataset[i._newSort[a].sortBy]||0},o=isNaN(1*r(t))?r(t).toLowerCase():1*r(t),s=isNaN(1*r(e))?r(e).toLowerCase():1*r(e);return o<s?"asc"===n?-1:1:o>s?"asc"===n?1:-1:o===s&&i._newSort.length>a+1?i._compare(t,e,a+1):0},_printSort:function(t){var e=this,a=t?e._startOrder:e._newOrder,i=e._$parent[0].querySelectorAll(e.selectors.target),n=i.length?i[i.length-1].nextElementSibling:null,r=document.createDocumentFragment();e._execAction("_printSort",0,arguments);for(var o=0;o<i.length;o++){var s=i[o],l=s.nextSibling;"absolute"!==s.style.position&&(l&&"#text"===l.nodeName&&e._$parent[0].removeChild(l),e._$parent[0].removeChild(s))}for(var o=0;o<a.length;o++){var c=a[o];if("default"!==e._newSort[0].sortBy||"desc"!==e._newSort[0].order||t)r.appendChild(c),r.appendChild(document.createTextNode(" "));else{var _=r.firstChild;r.insertBefore(c,_),r.insertBefore(document.createTextNode(" "),c)}}n?e._$parent[0].insertBefore(r,n):e._$parent[0].appendChild(r),e._execAction("_printSort",1,arguments)},_parseSort:function(t){for(var e=this,a="string"==typeof t?t.split(" "):[t],i=[],n=0;n<a.length;n++){var r="string"==typeof t?a[n].split(":"):["custom",a[n]],o={sortBy:e._helpers._camelCase(r[0]),order:r[1]||"asc"};if(i.push(o),"default"===o.sortBy||"random"===o.sortBy)break}return e._execFilter("_parseSort",i,arguments)},_parseEffects:function(){var t=this,e={opacity:"",transformIn:"",transformOut:"",filter:""},a=function(e,a,i){if(t.animation.effects.indexOf(e)>-1){if(a){var n=t.animation.effects.indexOf(e+"(");if(n>-1){var r=t.animation.effects.substring(n),o=/\(([^)]+)\)/.exec(r),s=o[1];return{val:s}}}return!0}return!1},i=function(t,e){return e?"-"===t.charAt(0)?t.substr(1,t.length):"-"+t:t},n=function(t,n){for(var r=[["scale",".01"],["translateX","20px"],["translateY","20px"],["translateZ","20px"],["rotateX","90deg"],["rotateY","90deg"],["rotateZ","180deg"]],o=0;o<r.length;o++){var s=r[o][0],l=r[o][1],c=n&&"scale"!==s;e[t]+=a(s)?s+"("+i(a(s,!0).val||l,c)+") ":""}};return e.opacity=a("fade")?a("fade",!0).val||"0":"1",n("transformIn"),t.animation.reverseOut?n("transformOut",!0):e.transformOut=e.transformIn,e.transition={},e.transition=t._getPrefixedCSS("transition","all "+t.animation.duration+"ms "+t.animation.easing+", opacity "+t.animation.duration+"ms linear"),t.animation.stagger=!!a("stagger"),t.animation.staggerDuration=parseInt(a("stagger")&&a("stagger",!0).val?a("stagger",!0).val:100),t._execFilter("_parseEffects",e)},_buildState:function(t){var e=this,a={};return e._execAction("_buildState",0),a={activeFilter:""===e._activeFilter?"none":e._activeFilter,activeSort:t&&e._newSortString?e._newSortString:e._activeSort,fail:!e._$show.length&&""!==e._activeFilter,$targets:e._$targets,$show:e._$show,$hide:e._$hide,totalTargets:e._$targets.length,totalShow:e._$show.length,totalHide:e._$hide.length,display:t&&e._newDisplay?e._newDisplay:e.layout.display},t?e._execFilter("_buildState",a):(e._state=a,void e._execAction("_buildState",1))},_goMix:function(t){var e=this,a=function(){e._chrome&&31===e._chrome&&r(e._$parent[0]),e._setInter(),i()},i=function(){var t=window.pageYOffset,a=window.pageXOffset;document.documentElement.scrollHeight;e._getInterMixData(),e._setFinal(),e._getFinalMixData(),window.pageYOffset!==t&&window.scrollTo(a,t),e._prepTargets(),window.requestAnimationFrame?requestAnimationFrame(n):setTimeout(function(){n()},20)},n=function(){e._animateTargets(),0===e._targetsBound&&e._cleanUp()},r=function(t){var e=t.parentElement,a=document.createElement("div"),i=document.createDocumentFragment();e.insertBefore(a,t),i.appendChild(t),e.replaceChild(t,a)},o=e._buildState(!0);e._execAction("_goMix",0,arguments),!e.animation.duration&&(t=!1),e._mixing=!0,e._$container.removeClass(e.layout.containerClassFail),"function"==typeof e.callbacks.onMixStart&&e.callbacks.onMixStart.call(e._domNode,e._state,o,e),e._$container.trigger("mixStart",[e._state,o,e]),e._getOrigMixData(),t&&!e._suckMode?window.requestAnimationFrame?requestAnimationFrame(a):a():e._cleanUp(),e._execAction("_goMix",1,arguments)},_getTargetData:function(t,e){var a,i=this;t.dataset[e+"PosX"]=t.offsetLeft,t.dataset[e+"PosY"]=t.offsetTop,i.animation.animateResizeTargets&&(a=i._suckMode?{marginBottom:"",marginRight:""}:window.getComputedStyle(t),t.dataset[e+"MarginBottom"]=parseInt(a.marginBottom),t.dataset[e+"MarginRight"]=parseInt(a.marginRight),t.dataset[e+"Width"]=t.offsetWidth,t.dataset[e+"Height"]=t.offsetHeight)},_getOrigMixData:function(){var t=this,e=t._suckMode?{boxSizing:""}:window.getComputedStyle(t._$parent[0]),a=e.boxSizing||e[t._vendor+"BoxSizing"];t._incPadding="border-box"===a,t._execAction("_getOrigMixData",0),!t._suckMode&&(t.effects=t._parseEffects()),t._$toHide=t._$hide.filter(":visible"),t._$toShow=t._$show.filter(":hidden"),t._$pre=t._$targets.filter(":visible"),t._startHeight=t._incPadding?t._$parent.outerHeight():t._$parent.height();for(var i=0;i<t._$pre.length;i++){var n=t._$pre[i];t._getTargetData(n,"orig")}t._execAction("_getOrigMixData",1)},_setInter:function(){var t=this;t._execAction("_setInter",0),t._changingLayout&&t.animation.animateChangeLayout?(t._$toShow.css("display",t._newDisplay),t._changingClass&&t._$container.removeClass(t.layout.containerClass).addClass(t._newClass)):t._$toShow.css("display",t.layout.display),t._execAction("_setInter",1)},_getInterMixData:function(){var t=this;t._execAction("_getInterMixData",0);for(var e=0;e<t._$toShow.length;e++){var a=t._$toShow[e];t._getTargetData(a,"inter")}for(var e=0;e<t._$pre.length;e++){var a=t._$pre[e];t._getTargetData(a,"inter")}t._execAction("_getInterMixData",1)},_setFinal:function(){var t=this;t._execAction("_setFinal",0),t._sorting&&t._printSort(),t._$toHide.removeStyle("display"),t._changingLayout&&t.animation.animateChangeLayout&&t._$pre.css("display",t._newDisplay),t._execAction("_setFinal",1)},_getFinalMixData:function(){var t=this;t._execAction("_getFinalMixData",0);for(var e=0;e<t._$toShow.length;e++){var a=t._$toShow[e];t._getTargetData(a,"final")}for(var e=0;e<t._$pre.length;e++){var a=t._$pre[e];t._getTargetData(a,"final")}t._newHeight=t._incPadding?t._$parent.outerHeight():t._$parent.height(),t._sorting&&t._printSort(!0),t._$toShow.removeStyle("display"),t._$pre.css("display",t.layout.display),t._changingClass&&t.animation.animateChangeLayout&&t._$container.removeClass(t._newClass).addClass(t.layout.containerClass),t._execAction("_getFinalMixData",1)},_prepTargets:function(){var e=this,a={_in:e._getPrefixedCSS("transform",e.effects.transformIn),_out:e._getPrefixedCSS("transform",e.effects.transformOut)};e._execAction("_prepTargets",0),e.animation.animateResizeContainer&&e._$parent.css("height",e._startHeight+"px");for(var i=0;i<e._$toShow.length;i++){var n=e._$toShow[i],r=t(n);n.style.opacity=e.effects.opacity,n.style.display=e._changingLayout&&e.animation.animateChangeLayout?e._newDisplay:e.layout.display,r.css(a._in),e.animation.animateResizeTargets&&(n.style.width=n.dataset.finalWidth+"px",n.style.height=n.dataset.finalHeight+"px",n.style.marginRight=-(n.dataset.finalWidth-n.dataset.interWidth)+1*n.dataset.finalMarginRight+"px",n.style.marginBottom=-(n.dataset.finalHeight-n.dataset.interHeight)+1*n.dataset.finalMarginBottom+"px")}for(var i=0;i<e._$pre.length;i++){var n=e._$pre[i],r=t(n),o={x:n.dataset.origPosX-n.dataset.interPosX,y:n.dataset.origPosY-n.dataset.interPosY},a=e._getPrefixedCSS("transform","translate("+o.x+"px,"+o.y+"px)");r.css(a),e.animation.animateResizeTargets&&(n.style.width=n.dataset.origWidth+"px",n.style.height=n.dataset.origHeight+"px",n.dataset.origWidth-n.dataset.finalWidth&&(n.style.marginRight=-(n.dataset.origWidth-n.dataset.interWidth)+1*n.dataset.origMarginRight+"px"),n.dataset.origHeight-n.dataset.finalHeight&&(n.style.marginBottom=-(n.dataset.origHeight-n.dataset.interHeight)+1*n.dataset.origMarginBottom+"px"))}e._execAction("_prepTargets",1)},_animateTargets:function(){var e=this;e._execAction("_animateTargets",0),e._targetsDone=0,e._targetsBound=0,e._$parent.css(e._getPrefixedCSS("perspective",e.animation.perspectiveDistance+"px")).css(e._getPrefixedCSS("perspective-origin",e.animation.perspectiveOrigin)),e.animation.animateResizeContainer&&e._$parent.css(e._getPrefixedCSS("transition","height "+e.animation.duration+"ms ease")).css("height",e._newHeight+"px");for(var a=0;a<e._$toShow.length;a++){var i=e._$toShow[a],n=t(i),r={x:i.dataset.finalPosX-i.dataset.interPosX,y:i.dataset.finalPosY-i.dataset.interPosY},o=e._getDelay(a),s={};i.style.opacity="";for(var l=0;l<2;l++){var c=0===l?c=e._prefix:"";e._ff&&e._ff<=20&&(s[c+"transition-property"]="all",s[c+"transition-timing-function"]=e.animation.easing+"ms",s[c+"transition-duration"]=e.animation.duration+"ms"),s[c+"transition-delay"]=o+"ms",s[c+"transform"]="translate("+r.x+"px,"+r.y+"px)"}(e.effects.transform||e.effects.opacity)&&e._bindTargetDone(n),e._ff&&e._ff<=20?n.css(s):n.css(e.effects.transition).css(s)}for(var a=0;a<e._$pre.length;a++){var i=e._$pre[a],n=t(i),r={x:i.dataset.finalPosX-i.dataset.interPosX,y:i.dataset.finalPosY-i.dataset.interPosY},o=e._getDelay(a);i.dataset.finalPosX===i.dataset.origPosX&&i.dataset.finalPosY===i.dataset.origPosY||e._bindTargetDone(n),n.css(e._getPrefixedCSS("transition","all "+e.animation.duration+"ms "+e.animation.easing+" "+o+"ms")),n.css(e._getPrefixedCSS("transform","translate("+r.x+"px,"+r.y+"px)")),e.animation.animateResizeTargets&&(i.dataset.origWidth-i.dataset.finalWidth&&1*i.dataset.finalWidth&&(i.style.width=i.dataset.finalWidth+"px",i.style.marginRight=-(i.dataset.finalWidth-i.dataset.interWidth)+1*i.dataset.finalMarginRight+"px"),i.dataset.origHeight-i.dataset.finalHeight&&1*i.dataset.finalHeight&&(i.style.height=i.dataset.finalHeight+"px",i.style.marginBottom=-(i.dataset.finalHeight-i.dataset.interHeight)+1*i.dataset.finalMarginBottom+"px"))}e._changingClass&&e._$container.removeClass(e.layout.containerClass).addClass(e._newClass);for(var a=0;a<e._$toHide.length;a++){for(var i=e._$toHide[a],n=t(i),o=e._getDelay(a),_={},l=0;l<2;l++){var c=0===l?c=e._prefix:"";_[c+"transition-delay"]=o+"ms",_[c+"transform"]=e.effects.transformOut,_.opacity=e.effects.opacity}n.css(e.effects.transition).css(_),(e.effects.transform||e.effects.opacity)&&e._bindTargetDone(n)}e._execAction("_animateTargets",1)},_bindTargetDone:function(e){var a=this,i=e[0];a._execAction("_bindTargetDone",0,arguments),i.dataset.bound||(i.dataset.bound=!0,a._targetsBound++,e.on("webkitTransitionEnd.mixItUp transitionend.mixItUp",function(n){(n.originalEvent.propertyName.indexOf("transform")>-1||n.originalEvent.propertyName.indexOf("opacity")>-1)&&t(n.originalEvent.target).is(a.selectors.target)&&(e.off(".mixItUp"),i.dataset.bound="",a._targetDone())})),a._execAction("_bindTargetDone",1,arguments)},_targetDone:function(){var t=this;t._execAction("_targetDone",0),t._targetsDone++,t._targetsDone===t._targetsBound&&t._cleanUp(),t._execAction("_targetDone",1)},_cleanUp:function(){var e=this,a=e.animation.animateResizeTargets?"transform opacity width height margin-bottom margin-right":"transform opacity",i=function(){e._$targets.removeStyle("transition",e._prefix)};e._execAction("_cleanUp",0),e._changingLayout?e._$show.css("display",e._newDisplay):e._$show.css("display",e.layout.display),e._$targets.css(e._brake),e._$targets.removeStyle(a,e._prefix).removeAttr("data-inter-pos-x data-inter-pos-y data-final-pos-x data-final-pos-y data-orig-pos-x data-orig-pos-y data-orig-height data-orig-width data-final-height data-final-width data-inter-width data-inter-height data-orig-margin-right data-orig-margin-bottom data-inter-margin-right data-inter-margin-bottom data-final-margin-right data-final-margin-bottom"),e._$hide.removeStyle("display"),e._$parent.removeStyle("height transition perspective-distance perspective perspective-origin-x perspective-origin-y perspective-origin perspectiveOrigin",e._prefix),e._sorting&&(e._printSort(),e._activeSort=e._newSortString,e._sorting=!1),e._changingLayout&&(e._changingDisplay&&(e.layout.display=e._newDisplay,e._changingDisplay=!1),e._changingClass&&(e._$parent.removeClass(e.layout.containerClass).addClass(e._newClass),e.layout.containerClass=e._newClass,e._changingClass=!1),e._changingLayout=!1),e._refresh(),e._buildState(),e._state.fail&&e._$container.addClass(e.layout.containerClassFail),e._$show=t(),e._$hide=t(),window.requestAnimationFrame&&requestAnimationFrame(i),e._mixing=!1,"function"==typeof e.callbacks._user&&e.callbacks._user.call(e._domNode,e._state,e),"function"==typeof e.callbacks.onMixEnd&&e.callbacks.onMixEnd.call(e._domNode,e._state,e),e._$container.trigger("mixEnd",[e._state,e]),e._state.fail&&("function"==typeof e.callbacks.onMixFail&&e.callbacks.onMixFail.call(e._domNode,e._state,e),e._$container.trigger("mixFail",[e._state,e])),e._loading&&("function"==typeof e.callbacks.onMixLoad&&e.callbacks.onMixLoad.call(e._domNode,e._state,e),e._$container.trigger("mixLoad",[e._state,e])),e._queue.length&&(e._execAction("_queue",0),e.multiMix(e._queue[0][0],e._queue[0][1],e._queue[0][2]),e._queue.splice(0,1)),e._execAction("_cleanUp",1),e._loading=!1},_getPrefixedCSS:function(t,e,a){var i=this,n={},r="",o=-1;for(o=0;o<2;o++)r=0===o?i._prefix:"",a?n[r+t]=r+e:n[r+t]=e;return i._execFilter("_getPrefixedCSS",n,arguments)},_getDelay:function(t){var e=this,a="function"==typeof e.animation.staggerSequence?e.animation.staggerSequence.call(e._domNode,t,e._state):t,i=e.animation.stagger?a*e.animation.staggerDuration:0;return e._execFilter("_getDelay",i,arguments)},_parseMultiMixArgs:function(t){for(var e=this,a={command:null,animate:e.animation.enable,callback:null},i=0;i<t.length;i++){var n=t[i];null!==n&&("object"==typeof n||"string"==typeof n?a.command=n:"boolean"==typeof n?a.animate=n:"function"==typeof n&&(a.callback=n))}return e._execFilter("_parseMultiMixArgs",a,arguments)},_parseInsertArgs:function(e){for(var a=this,i={index:0,$object:t(),multiMix:{filter:a._state.activeFilter},callback:null},n=0;n<e.length;n++){var r=e[n];"number"==typeof r?i.index=r:"object"==typeof r&&r instanceof t?i.$object=r:"object"==typeof r&&a._helpers._isElement(r)?i.$object=t(r):"object"==typeof r&&null!==r?i.multiMix=r:"boolean"!=typeof r||r?"function"==typeof r&&(i.callback=r):i.multiMix=!1}return a._execFilter("_parseInsertArgs",i,arguments)},_execAction:function(t,e,a){var i=this,n=e?"post":"pre";if(!i._actions.isEmptyObject&&i._actions.hasOwnProperty(t))for(var r in i._actions[t][n])i._actions[t][n][r].call(i,a)},_execFilter:function(t,e,a){var i=this;if(i._filters.isEmptyObject||!i._filters.hasOwnProperty(t))return e;for(var n in i._filters[t])return i._filters[t][n].call(i,a)},_helpers:{_camelCase:function(t){return t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})},_isElement:function(t){return window.HTMLElement?t instanceof HTMLElement:null!==t&&1===t.nodeType&&"string"===t.nodeName}},isMixing:function(){var t=this;return t._execFilter("isMixing",t._mixing)},filter:function(){var t=this,e=t._parseMultiMixArgs(arguments);t._clicking&&(t._toggleString=""),t.multiMix({filter:e.command},e.animate,e.callback)},sort:function(){var t=this,e=t._parseMultiMixArgs(arguments);t.multiMix({sort:e.command},e.animate,e.callback)},changeLayout:function(){var t=this,e=t._parseMultiMixArgs(arguments);t.multiMix({changeLayout:e.command},e.animate,e.callback)},multiMix:function(){var t=this,a=t._parseMultiMixArgs(arguments);if(t._execAction("multiMix",0,arguments),t._mixing)t.animation.queue&&t._queue.length<t.animation.queueLimit?(t._queue.push(arguments),t.controls.enable&&!t._clicking&&t._updateControls(a.command),t._execAction("multiMixQueue",1,arguments)):("function"==typeof t.callbacks.onMixBusy&&t.callbacks.onMixBusy.call(t._domNode,t._state,t),t._$container.trigger("mixBusy",[t._state,t]),t._execAction("multiMixBusy",1,arguments));else{t.controls.enable&&!t._clicking&&(t.controls.toggleFilterButtons&&t._buildToggleArray(),t._updateControls(a.command,t.controls.toggleFilterButtons)),t._queue.length<2&&(t._clicking=!1),delete t.callbacks._user,a.callback&&(t.callbacks._user=a.callback);var i=a.command.sort,n=a.command.filter,r=a.command.changeLayout;t._refresh(),i&&(t._newSort=t._parseSort(i),t._newSortString=i,t._sorting=!0,t._sort()),n!==e&&(n="all"===n?t.selectors.target:n,t._activeFilter=n),t._filter(),r&&(t._newDisplay="string"==typeof r?r:r.display||t.layout.display,t._newClass=r.containerClass||"",t._newDisplay===t.layout.display&&t._newClass===t.layout.containerClass||(t._changingLayout=!0,t._changingClass=t._newClass!==t.layout.containerClass,t._changingDisplay=t._newDisplay!==t.layout.display)),t._$targets.css(t._brake),t._goMix(a.animate^t.animation.enable?a.animate:t.animation.enable),t._execAction("multiMix",1,arguments)}},insert:function(){var t=this,e=t._parseInsertArgs(arguments),a="function"==typeof e.callback?e.callback:null,i=document.createDocumentFragment(),n=function(){return t._refresh(),t._$targets.length?e.index<t._$targets.length||!t._$targets.length?t._$targets[e.index]:t._$targets[t._$targets.length-1].nextElementSibling:t._$parent[0].children[0]}();if(t._execAction("insert",0,arguments),e.$object){for(var r=0;r<e.$object.length;r++){var o=e.$object[r];i.appendChild(o),i.appendChild(document.createTextNode(" "))}t._$parent[0].insertBefore(i,n)}t._execAction("insert",1,arguments),"object"==typeof e.multiMix&&t.multiMix(e.multiMix,a)},prepend:function(){var t=this,e=t._parseInsertArgs(arguments);t.insert(0,e.$object,e.multiMix,e.callback)},append:function(){var t=this,e=t._parseInsertArgs(arguments);t.insert(t._state.totalTargets,e.$object,e.multiMix,e.callback)},getOption:function(t){var a=this,i=function(t,a){for(var i=a.split("."),n=i.pop(),r=i.length,o=1,s=i[0]||a;(t=t[s])&&o<r;)s=i[o],o++;if(t!==e)return t[n]!==e?t[n]:t};return t?a._execFilter("getOption",i(a,t),arguments):a},setOptions:function(e){var a=this;a._execAction("setOptions",0,arguments),"object"==typeof e&&t.extend(!0,a,e),a._execAction("setOptions",1,arguments)},getState:function(){var t=this;return t._execFilter("getState",t._state,t)},forceRefresh:function(){var t=this;t._refresh(!1,!0)},destroy:function(e){var a=this,i=t.MixItUp.prototype._bound._filter,n=t.MixItUp.prototype._bound._sort;a._execAction("destroy",0,arguments),a._$body.add(t(a.selectors.sort)).add(t(a.selectors.filter)).off(".mixItUp");for(var r=0;r<a._$targets.length;r++){var o=a._$targets[r];e&&(o.style.display=""),delete o.mixParent}a._execAction("destroy",1,arguments),i[a.selectors.filter]&&i[a.selectors.filter]>1?i[a.selectors.filter]--:1===i[a.selectors.filter]&&delete i[a.selectors.filter],n[a.selectors.sort]&&n[a.selectors.sort]>1?n[a.selectors.sort]--:1===n[a.selectors.sort]&&delete n[a.selectors.sort],delete t.MixItUp.prototype._instances[a._id]}},t.fn.mixItUp=function(){var a,i=arguments,n=[],r=function(e,a){var i=new t.MixItUp,n=function(){return("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase()};i._execAction("_instantiate",0,arguments),e.id=e.id?e.id:"MixItUp"+n(),i._instances[e.id]||(i._instances[e.id]=i,i._init(e,a)),i._execAction("_instantiate",1,arguments)};return a=this.each(function(){if(i&&"string"==typeof i[0]){var a=t.MixItUp.prototype._instances[this.id];if("isLoaded"===i[0])n.push(!!a);else{var o=a[i[0]](i[1],i[2],i[3]);o!==e&&n.push(o)}}else r(this,i[0])}),n.length?n.length>1?n:n[0]:a},t.fn.removeStyle=function(a,i){return i=i?i:"",this.each(function(){for(var n=this,r=a.split(" "),o=0;o<r.length;o++)for(var s=0;s<4;s++){switch(s){case 0:var l=r[o];break;case 1:var l=t.MixItUp.prototype._helpers._camelCase(l);break;case 2:var l=i+r[o];break;case 3:var l=t.MixItUp.prototype._helpers._camelCase(i+r[o])}if(n.style[l]!==e&&"unknown"!=typeof n.style[l]&&n.style[l].length>0&&(n.style[l]=""),!i&&1===s)break}n.attributes&&n.attributes.style&&n.attributes.style!==e&&""===n.attributes.style.value&&n.attributes.removeNamedItem("style")})}}(jQuery);
1
+ !function(t,e){"use strict";t.MixItUp=function(){var e=this;e._execAction("_constructor",0),t.extend(e,{selectors:{target:".mix",filter:".filter",sort:".sort"},animation:{enable:!0,effects:"fade scale",duration:600,easing:"ease",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",queue:!0,queueLimit:1,animateChangeLayout:!1,animateResizeContainer:!0,animateResizeTargets:!1,staggerSequence:!1,reverseOut:!1},callbacks:{onMixLoad:!1,onMixStart:!1,onMixBusy:!1,onMixEnd:!1,onMixFail:!1,_user:!1},controls:{enable:!0,live:!1,toggleFilterButtons:!1,toggleLogic:"or",activeClass:"active"},layout:{display:"inline-block",containerClass:"",containerClassFail:"fail"},load:{filter:"all",sort:!1},_$body:null,_$container:null,_$targets:null,_$parent:null,_$sortButtons:null,_$filterButtons:null,_suckMode:!1,_mixing:!1,_sorting:!1,_clicking:!1,_loading:!0,_changingLayout:!1,_changingClass:!1,_changingDisplay:!1,_origOrder:[],_startOrder:[],_newOrder:[],_activeFilter:null,_toggleArray:[],_toggleString:"",_activeSort:"default:asc",_newSort:null,_startHeight:null,_newHeight:null,_incPadding:!0,_newDisplay:null,_newClass:null,_targetsBound:0,_targetsDone:0,_queue:[],_$show:t(),_$hide:t()}),e._execAction("_constructor",1)},t.MixItUp.prototype={constructor:t.MixItUp,_instances:{},_handled:{_filter:{},_sort:{}},_bound:{_filter:{},_sort:{}},_actions:{},_filters:{},extend:function(e){for(var a in e)t.MixItUp.prototype[a]=e[a]},addAction:function(e,a,i,n){t.MixItUp.prototype._addHook("_actions",e,a,i,n)},addFilter:function(e,a,i,n){t.MixItUp.prototype._addHook("_filters",e,a,i,n)},_addHook:function(e,a,i,n,r){var o=t.MixItUp.prototype[e],s={};r=1===r||"post"===r?"post":"pre",s[a]={},s[a][r]={},s[a][r][i]=n,t.extend(!0,o,s)},_init:function(e,a){var i=this;if(i._execAction("_init",0,arguments),a&&t.extend(!0,i,a),i._$body=t("body"),i._domNode=e,i._$container=t(e),i._$container.addClass(i.layout.containerClass),i._id=e.id,i._platformDetect(),i._brake=i._getPrefixedCSS("transition","none"),i._refresh(!0),i._$parent=i._$targets.parent().length?i._$targets.parent():i._$container,i.load.sort&&(i._newSort=i._parseSort(i.load.sort),i._newSortString=i.load.sort,i._activeSort=i.load.sort,i._sort(),i._printSort()),i._activeFilter="all"===i.load.filter?i.selectors.target:"none"===i.load.filter?"":i.load.filter,i.controls.enable&&i._bindHandlers(),i.controls.toggleFilterButtons){i._buildToggleArray();for(var n=0;n<i._toggleArray.length;n++)i._updateControls({filter:i._toggleArray[n],sort:i._activeSort},!0)}else i.controls.enable&&i._updateControls({filter:i._activeFilter,sort:i._activeSort});i._filter(),i._init=!0,i._$container.data("mixItUp",i),i._execAction("_init",1,arguments),i._buildState(),i._$targets.css(i._brake),i._goMix(i.animation.enable)},_platformDetect:function(){var t=this,a=["Webkit","Moz","O","ms"],i=["webkit","moz"],n=window.navigator.appVersion.match(/Chrome\/(\d+)\./)||!1,r="undefined"!=typeof InstallTrigger,o=function(t){for(var e=0;e<a.length;e++)if(a[e]+"Transition"in t.style)return{prefix:"-"+a[e].toLowerCase()+"-",vendor:a[e]};return"transition"in t.style&&""}(t._domNode);t._execAction("_platformDetect",0),t._chrome=!!n&&parseInt(n[1],10),t._ff=!!r&&parseInt(window.navigator.userAgent.match(/rv:([^)]+)\)/)[1]),t._prefix=o.prefix,t._vendor=o.vendor,t._suckMode=!window.atob||!t._prefix,t._suckMode&&(t.animation.enable=!1),t._ff&&t._ff<=4&&(t.animation.enable=!1);for(var s=0;s<i.length&&!window.requestAnimationFrame;s++)window.requestAnimationFrame=window[i[s]+"RequestAnimationFrame"];"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(t){return t.__proto__}:function(t){return t.constructor.prototype}),t._domNode.nextElementSibling===e&&Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var t=this.nextSibling;t;){if(1===t.nodeType)return t;t=t.nextSibling}return null}}),t._execAction("_platformDetect",1)},_refresh:function(t,a){var i=this;i._execAction("_refresh",0,arguments),i._$targets=i._$container.find(i.selectors.target);for(var n=0;n<i._$targets.length;n++){var r=i._$targets[n];if(r.dataset===e||a){r.dataset={};for(var o=0;o<r.attributes.length;o++){var s=r.attributes[o],l=s.name,c=s.value;if(l.indexOf("data-")>-1){var _=i._helpers._camelCase(l.substring(5,l.length));r.dataset[_]=c}}}r.mixParent===e&&(r.mixParent=i._id)}if(i._$targets.length&&t||!i._origOrder.length&&i._$targets.length){i._origOrder=[];for(var n=0;n<i._$targets.length;n++){var r=i._$targets[n];i._origOrder.push(r)}}i._execAction("_refresh",1,arguments)},_bindHandlers:function(){var a=this,i=t.MixItUp.prototype._bound._filter,n=t.MixItUp.prototype._bound._sort;a._execAction("_bindHandlers",0),a.controls.live?a._$body.on("click.mixItUp."+a._id,a.selectors.sort,function(){a._processClick(t(this),"sort")}).on("click.mixItUp."+a._id,a.selectors.filter,function(){a._processClick(t(this),"filter")}):(a._$sortButtons=t(a.selectors.sort),a._$filterButtons=t(a.selectors.filter),a._$sortButtons.on("click.mixItUp."+a._id,function(){a._processClick(t(this),"sort")}),a._$filterButtons.on("click.mixItUp."+a._id,function(){a._processClick(t(this),"filter")})),i[a.selectors.filter]=i[a.selectors.filter]===e?1:i[a.selectors.filter]+1,n[a.selectors.sort]=n[a.selectors.sort]===e?1:n[a.selectors.sort]+1,a._execAction("_bindHandlers",1)},_processClick:function(a,i){var n=this,r=function(a,i,r){var o=t.MixItUp.prototype;o._handled["_"+i][n.selectors[i]]=o._handled["_"+i][n.selectors[i]]===e?1:o._handled["_"+i][n.selectors[i]]+1,o._handled["_"+i][n.selectors[i]]===o._bound["_"+i][n.selectors[i]]&&(a[(r?"remove":"add")+"Class"](n.controls.activeClass),delete o._handled["_"+i][n.selectors[i]])};if(n._execAction("_processClick",0,arguments),!n._mixing||n.animation.queue&&n._queue.length<n.animation.queueLimit){if(n._clicking=!0,"sort"===i){var o=a.attr("data-sort");(!a.hasClass(n.controls.activeClass)||o.indexOf("random")>-1)&&(t(n.selectors.sort).removeClass(n.controls.activeClass),r(a,i),n.sort(o))}if("filter"===i){var s,l=a.attr("data-filter"),c="or"===n.controls.toggleLogic?",":"";n.controls.toggleFilterButtons?(n._buildToggleArray(),a.hasClass(n.controls.activeClass)?(r(a,i,!0),s=n._toggleArray.indexOf(l),n._toggleArray.splice(s,1)):(r(a,i),n._toggleArray.push(l)),n._toggleArray=t.grep(n._toggleArray,function(t){return t}),n._toggleString=n._toggleArray.join(c),n.filter(n._toggleString)):a.hasClass(n.controls.activeClass)||(t(n.selectors.filter).removeClass(n.controls.activeClass),r(a,i),n.filter(l))}n._execAction("_processClick",1,arguments)}else"function"==typeof n.callbacks.onMixBusy&&n.callbacks.onMixBusy.call(n._domNode,n._state,n),n._execAction("_processClickBusy",1,arguments)},_buildToggleArray:function(){var t=this,e=t._activeFilter.replace(/\s/g,"");if(t._execAction("_buildToggleArray",0,arguments),"or"===t.controls.toggleLogic)t._toggleArray=e.split(",");else{t._toggleArray=e.split("."),!t._toggleArray[0]&&t._toggleArray.shift();for(var a,i=0;a=t._toggleArray[i];i++)t._toggleArray[i]="."+a}t._execAction("_buildToggleArray",1,arguments)},_updateControls:function(a,i){var n=this,r={filter:a.filter,sort:a.sort},o="filter",s=null;n._execAction("_updateControls",0,arguments),a.filter===e&&(r.filter=n._activeFilter),a.sort===e&&(r.sort=n._activeSort),r.filter===n.selectors.target&&(r.filter="all");for(var l=0;l<2;l++)s=n.controls.live?t(n.selectors[o]):n["_$"+o+"Buttons"],s&&function(t,e){try{i&&"filter"===o&&"none"!==r.filter&&""!==r.filter?t.filter(e).addClass(n.controls.activeClass):t.removeClass(n.controls.activeClass).filter(e).addClass(n.controls.activeClass)}catch(t){}}(s,"[data-"+o+'="'+r[o]+'"]'),o="sort";n._execAction("_updateControls",1,arguments)},_filter:function(){var e=this;e._execAction("_filter",0);for(var a=0;a<e._$targets.length;a++){var i=t(e._$targets[a]);i.is(e._activeFilter)?e._$show=e._$show.add(i):e._$hide=e._$hide.add(i)}e._execAction("_filter",1)},_sort:function(){var t=this;t._execAction("_sort",0),t._startOrder=[];for(var e=0;e<t._$targets.length;e++){var a=t._$targets[e];t._startOrder.push(a)}switch(t._newSort[0].sortBy){case"default":t._newOrder=t._origOrder;break;case"random":t._newOrder=function(t){for(var e=t.slice(),a=e.length,i=a;i--;){var n=parseInt(Math.random()*a),r=e[i];e[i]=e[n],e[n]=r}return e}(t._startOrder);break;case"custom":t._newOrder=t._newSort[0].order;break;default:t._newOrder=t._startOrder.concat().sort(function(e,a){return t._compare(e,a)})}t._execAction("_sort",1)},_compare:function(t,e,a){a=a||0;var i=this,n=i._newSort[a].order,r=function(t){return t.dataset[i._newSort[a].sortBy]||0},o=isNaN(1*r(t))?r(t).toLowerCase():1*r(t),s=isNaN(1*r(e))?r(e).toLowerCase():1*r(e);return o<s?"asc"===n?-1:1:o>s?"asc"===n?1:-1:o===s&&i._newSort.length>a+1?i._compare(t,e,a+1):0},_printSort:function(t){var e=this,a=t?e._startOrder:e._newOrder,i=e._$parent[0].querySelectorAll(e.selectors.target),n=i.length?i[i.length-1].nextElementSibling:null,r=document.createDocumentFragment();e._execAction("_printSort",0,arguments);for(var o=0;o<i.length;o++){var s=i[o],l=s.nextSibling;"absolute"!==s.style.position&&(l&&"#text"===l.nodeName&&e._$parent[0].removeChild(l),e._$parent[0].removeChild(s))}for(var o=0;o<a.length;o++){var c=a[o];if("default"!==e._newSort[0].sortBy||"desc"!==e._newSort[0].order||t)r.appendChild(c),r.appendChild(document.createTextNode(" "));else{var _=r.firstChild;r.insertBefore(c,_),r.insertBefore(document.createTextNode(" "),c)}}n?e._$parent[0].insertBefore(r,n):e._$parent[0].appendChild(r),e._execAction("_printSort",1,arguments)},_parseSort:function(t){for(var e=this,a="string"==typeof t?t.split(" "):[t],i=[],n=0;n<a.length;n++){var r="string"==typeof t?a[n].split(":"):["custom",a[n]],o={sortBy:e._helpers._camelCase(r[0]),order:r[1]||"asc"};if(i.push(o),"default"===o.sortBy||"random"===o.sortBy)break}return e._execFilter("_parseSort",i,arguments)},_parseEffects:function(){var t=this,e={opacity:"",transformIn:"",transformOut:"",filter:""},a=function(e,a,i){if(t.animation.effects.indexOf(e)>-1){if(a){var n=t.animation.effects.indexOf(e+"(");if(n>-1){return{val:/\(([^)]+)\)/.exec(t.animation.effects.substring(n))[1]}}}return!0}return!1},i=function(t,e){return e?"-"===t.charAt(0)?t.substr(1,t.length):"-"+t:t},n=function(t,n){for(var r=[["scale",".01"],["translateX","20px"],["translateY","20px"],["translateZ","20px"],["rotateX","90deg"],["rotateY","90deg"],["rotateZ","180deg"]],o=0;o<r.length;o++){var s=r[o][0],l=r[o][1],c=n&&"scale"!==s;e[t]+=a(s)?s+"("+i(a(s,!0).val||l,c)+") ":""}};return e.opacity=a("fade")?a("fade",!0).val||"0":"1",n("transformIn"),t.animation.reverseOut?n("transformOut",!0):e.transformOut=e.transformIn,e.transition={},e.transition=t._getPrefixedCSS("transition","all "+t.animation.duration+"ms "+t.animation.easing+", opacity "+t.animation.duration+"ms linear"),t.animation.stagger=!!a("stagger"),t.animation.staggerDuration=parseInt(a("stagger")&&a("stagger",!0).val?a("stagger",!0).val:100),t._execFilter("_parseEffects",e)},_buildState:function(t){var e=this,a={};if(e._execAction("_buildState",0),a={activeFilter:""===e._activeFilter?"none":e._activeFilter,activeSort:t&&e._newSortString?e._newSortString:e._activeSort,fail:!e._$show.length&&""!==e._activeFilter,$targets:e._$targets,$show:e._$show,$hide:e._$hide,totalTargets:e._$targets.length,totalShow:e._$show.length,totalHide:e._$hide.length,display:t&&e._newDisplay?e._newDisplay:e.layout.display},t)return e._execFilter("_buildState",a);e._state=a,e._execAction("_buildState",1)},_goMix:function(t){var e=this,a=function(){e._chrome&&31===e._chrome&&r(e._$parent[0]),e._setInter(),i()},i=function(){var t=window.pageYOffset,a=window.pageXOffset;document.documentElement.scrollHeight;e._getInterMixData(),e._setFinal(),e._getFinalMixData(),window.pageYOffset!==t&&window.scrollTo(a,t),e._prepTargets(),window.requestAnimationFrame?requestAnimationFrame(n):setTimeout(function(){n()},20)},n=function(){e._animateTargets(),0===e._targetsBound&&e._cleanUp()},r=function(t){var e=t.parentElement,a=document.createElement("div"),i=document.createDocumentFragment();e.insertBefore(a,t),i.appendChild(t),e.replaceChild(t,a)},o=e._buildState(!0);e._execAction("_goMix",0,arguments),!e.animation.duration&&(t=!1),e._mixing=!0,e._$container.removeClass(e.layout.containerClassFail),"function"==typeof e.callbacks.onMixStart&&e.callbacks.onMixStart.call(e._domNode,e._state,o,e),e._$container.trigger("mixStart",[e._state,o,e]),e._getOrigMixData(),t&&!e._suckMode?window.requestAnimationFrame?requestAnimationFrame(a):a():e._cleanUp(),e._execAction("_goMix",1,arguments)},_getTargetData:function(t,e){var a,i=this;t.dataset[e+"PosX"]=t.offsetLeft,t.dataset[e+"PosY"]=t.offsetTop,i.animation.animateResizeTargets&&(a=i._suckMode?{marginBottom:"",marginRight:""}:window.getComputedStyle(t),t.dataset[e+"MarginBottom"]=parseInt(a.marginBottom),t.dataset[e+"MarginRight"]=parseInt(a.marginRight),t.dataset[e+"Width"]=t.offsetWidth,t.dataset[e+"Height"]=t.offsetHeight)},_getOrigMixData:function(){var t=this,e=t._suckMode?{boxSizing:""}:window.getComputedStyle(t._$parent[0]),a=e.boxSizing||e[t._vendor+"BoxSizing"];t._incPadding="border-box"===a,t._execAction("_getOrigMixData",0),!t._suckMode&&(t.effects=t._parseEffects()),t._$toHide=t._$hide.filter(":visible"),t._$toShow=t._$show.filter(":hidden"),t._$pre=t._$targets.filter(":visible"),t._startHeight=t._incPadding?t._$parent.outerHeight():t._$parent.height();for(var i=0;i<t._$pre.length;i++){var n=t._$pre[i];t._getTargetData(n,"orig")}t._execAction("_getOrigMixData",1)},_setInter:function(){var t=this;t._execAction("_setInter",0),t._changingLayout&&t.animation.animateChangeLayout?(t._$toShow.css("display",t._newDisplay),t._changingClass&&t._$container.removeClass(t.layout.containerClass).addClass(t._newClass)):t._$toShow.css("display",t.layout.display),t._execAction("_setInter",1)},_getInterMixData:function(){var t=this;t._execAction("_getInterMixData",0);for(var e=0;e<t._$toShow.length;e++){var a=t._$toShow[e];t._getTargetData(a,"inter")}for(var e=0;e<t._$pre.length;e++){var a=t._$pre[e];t._getTargetData(a,"inter")}t._execAction("_getInterMixData",1)},_setFinal:function(){var t=this;t._execAction("_setFinal",0),t._sorting&&t._printSort(),t._$toHide.removeStyle("display"),t._changingLayout&&t.animation.animateChangeLayout&&t._$pre.css("display",t._newDisplay),t._execAction("_setFinal",1)},_getFinalMixData:function(){var t=this;t._execAction("_getFinalMixData",0);for(var e=0;e<t._$toShow.length;e++){var a=t._$toShow[e];t._getTargetData(a,"final")}for(var e=0;e<t._$pre.length;e++){var a=t._$pre[e];t._getTargetData(a,"final")}t._newHeight=t._incPadding?t._$parent.outerHeight():t._$parent.height(),t._sorting&&t._printSort(!0),t._$toShow.removeStyle("display"),t._$pre.css("display",t.layout.display),t._changingClass&&t.animation.animateChangeLayout&&t._$container.removeClass(t._newClass).addClass(t.layout.containerClass),t._execAction("_getFinalMixData",1)},_prepTargets:function(){var e=this,a={_in:e._getPrefixedCSS("transform",e.effects.transformIn),_out:e._getPrefixedCSS("transform",e.effects.transformOut)};e._execAction("_prepTargets",0),e.animation.animateResizeContainer&&e._$parent.css("height",e._startHeight+"px");for(var i=0;i<e._$toShow.length;i++){var n=e._$toShow[i],r=t(n);n.style.opacity=e.effects.opacity,n.style.display=e._changingLayout&&e.animation.animateChangeLayout?e._newDisplay:e.layout.display,r.css(a._in),e.animation.animateResizeTargets&&(n.style.width=n.dataset.finalWidth+"px",n.style.height=n.dataset.finalHeight+"px",n.style.marginRight=-(n.dataset.finalWidth-n.dataset.interWidth)+1*n.dataset.finalMarginRight+"px",n.style.marginBottom=-(n.dataset.finalHeight-n.dataset.interHeight)+1*n.dataset.finalMarginBottom+"px")}for(var i=0;i<e._$pre.length;i++){var n=e._$pre[i],r=t(n),o={x:n.dataset.origPosX-n.dataset.interPosX,y:n.dataset.origPosY-n.dataset.interPosY},a=e._getPrefixedCSS("transform","translate("+o.x+"px,"+o.y+"px)");r.css(a),e.animation.animateResizeTargets&&(n.style.width=n.dataset.origWidth+"px",n.style.height=n.dataset.origHeight+"px",n.dataset.origWidth-n.dataset.finalWidth&&(n.style.marginRight=-(n.dataset.origWidth-n.dataset.interWidth)+1*n.dataset.origMarginRight+"px"),n.dataset.origHeight-n.dataset.finalHeight&&(n.style.marginBottom=-(n.dataset.origHeight-n.dataset.interHeight)+1*n.dataset.origMarginBottom+"px"))}e._execAction("_prepTargets",1)},_animateTargets:function(){var e=this;e._execAction("_animateTargets",0),e._targetsDone=0,e._targetsBound=0,e._$parent.css(e._getPrefixedCSS("perspective",e.animation.perspectiveDistance+"px")).css(e._getPrefixedCSS("perspective-origin",e.animation.perspectiveOrigin)),e.animation.animateResizeContainer&&e._$parent.css(e._getPrefixedCSS("transition","height "+e.animation.duration+"ms ease")).css("height",e._newHeight+"px");for(var a=0;a<e._$toShow.length;a++){var i=e._$toShow[a],n=t(i),r={x:i.dataset.finalPosX-i.dataset.interPosX,y:i.dataset.finalPosY-i.dataset.interPosY},o=e._getDelay(a),s={};i.style.opacity="";for(var l=0;l<2;l++){var c=0===l?c=e._prefix:"";e._ff&&e._ff<=20&&(s[c+"transition-property"]="all",s[c+"transition-timing-function"]=e.animation.easing+"ms",s[c+"transition-duration"]=e.animation.duration+"ms"),s[c+"transition-delay"]=o+"ms",s[c+"transform"]="translate("+r.x+"px,"+r.y+"px)"}(e.effects.transform||e.effects.opacity)&&e._bindTargetDone(n),e._ff&&e._ff<=20?n.css(s):n.css(e.effects.transition).css(s)}for(var a=0;a<e._$pre.length;a++){var i=e._$pre[a],n=t(i),r={x:i.dataset.finalPosX-i.dataset.interPosX,y:i.dataset.finalPosY-i.dataset.interPosY},o=e._getDelay(a);i.dataset.finalPosX===i.dataset.origPosX&&i.dataset.finalPosY===i.dataset.origPosY||e._bindTargetDone(n),n.css(e._getPrefixedCSS("transition","all "+e.animation.duration+"ms "+e.animation.easing+" "+o+"ms")),n.css(e._getPrefixedCSS("transform","translate("+r.x+"px,"+r.y+"px)")),e.animation.animateResizeTargets&&(i.dataset.origWidth-i.dataset.finalWidth&&1*i.dataset.finalWidth&&(i.style.width=i.dataset.finalWidth+"px",i.style.marginRight=-(i.dataset.finalWidth-i.dataset.interWidth)+1*i.dataset.finalMarginRight+"px"),i.dataset.origHeight-i.dataset.finalHeight&&1*i.dataset.finalHeight&&(i.style.height=i.dataset.finalHeight+"px",i.style.marginBottom=-(i.dataset.finalHeight-i.dataset.interHeight)+1*i.dataset.finalMarginBottom+"px"))}e._changingClass&&e._$container.removeClass(e.layout.containerClass).addClass(e._newClass);for(var a=0;a<e._$toHide.length;a++){for(var i=e._$toHide[a],n=t(i),o=e._getDelay(a),_={},l=0;l<2;l++){var c=0===l?c=e._prefix:"";_[c+"transition-delay"]=o+"ms",_[c+"transform"]=e.effects.transformOut,_.opacity=e.effects.opacity}n.css(e.effects.transition).css(_),(e.effects.transform||e.effects.opacity)&&e._bindTargetDone(n)}e._execAction("_animateTargets",1)},_bindTargetDone:function(e){var a=this,i=e[0];a._execAction("_bindTargetDone",0,arguments),i.dataset.bound||(i.dataset.bound=!0,a._targetsBound++,e.on("webkitTransitionEnd.mixItUp transitionend.mixItUp",function(n){(n.originalEvent.propertyName.indexOf("transform")>-1||n.originalEvent.propertyName.indexOf("opacity")>-1)&&t(n.originalEvent.target).is(a.selectors.target)&&(e.off(".mixItUp"),i.dataset.bound="",a._targetDone())})),a._execAction("_bindTargetDone",1,arguments)},_targetDone:function(){var t=this;t._execAction("_targetDone",0),t._targetsDone++,t._targetsDone===t._targetsBound&&t._cleanUp(),t._execAction("_targetDone",1)},_cleanUp:function(){var e=this,a=e.animation.animateResizeTargets?"transform opacity width height margin-bottom margin-right":"transform opacity",i=function(){e._$targets.removeStyle("transition",e._prefix)};e._execAction("_cleanUp",0),e._changingLayout?e._$show.css("display",e._newDisplay):e._$show.css("display",e.layout.display),e._$targets.css(e._brake),e._$targets.removeStyle(a,e._prefix).removeAttr("data-inter-pos-x data-inter-pos-y data-final-pos-x data-final-pos-y data-orig-pos-x data-orig-pos-y data-orig-height data-orig-width data-final-height data-final-width data-inter-width data-inter-height data-orig-margin-right data-orig-margin-bottom data-inter-margin-right data-inter-margin-bottom data-final-margin-right data-final-margin-bottom"),e._$hide.removeStyle("display"),e._$parent.removeStyle("height transition perspective-distance perspective perspective-origin-x perspective-origin-y perspective-origin perspectiveOrigin",e._prefix),e._sorting&&(e._printSort(),e._activeSort=e._newSortString,e._sorting=!1),e._changingLayout&&(e._changingDisplay&&(e.layout.display=e._newDisplay,e._changingDisplay=!1),e._changingClass&&(e._$parent.removeClass(e.layout.containerClass).addClass(e._newClass),e.layout.containerClass=e._newClass,e._changingClass=!1),e._changingLayout=!1),e._refresh(),e._buildState(),e._state.fail&&e._$container.addClass(e.layout.containerClassFail),e._$show=t(),e._$hide=t(),window.requestAnimationFrame&&requestAnimationFrame(i),e._mixing=!1,"function"==typeof e.callbacks._user&&e.callbacks._user.call(e._domNode,e._state,e),"function"==typeof e.callbacks.onMixEnd&&e.callbacks.onMixEnd.call(e._domNode,e._state,e),e._$container.trigger("mixEnd",[e._state,e]),e._state.fail&&("function"==typeof e.callbacks.onMixFail&&e.callbacks.onMixFail.call(e._domNode,e._state,e),e._$container.trigger("mixFail",[e._state,e])),e._loading&&("function"==typeof e.callbacks.onMixLoad&&e.callbacks.onMixLoad.call(e._domNode,e._state,e),e._$container.trigger("mixLoad",[e._state,e])),e._queue.length&&(e._execAction("_queue",0),e.multiMix(e._queue[0][0],e._queue[0][1],e._queue[0][2]),e._queue.splice(0,1)),e._execAction("_cleanUp",1),e._loading=!1},_getPrefixedCSS:function(t,e,a){var i=this,n={},r="",o=-1;for(o=0;o<2;o++)r=0===o?i._prefix:"",n[r+t]=a?r+e:e;return i._execFilter("_getPrefixedCSS",n,arguments)},_getDelay:function(t){var e=this,a="function"==typeof e.animation.staggerSequence?e.animation.staggerSequence.call(e._domNode,t,e._state):t,i=e.animation.stagger?a*e.animation.staggerDuration:0;return e._execFilter("_getDelay",i,arguments)},_parseMultiMixArgs:function(t){for(var e=this,a={command:null,animate:e.animation.enable,callback:null},i=0;i<t.length;i++){var n=t[i];null!==n&&("object"==typeof n||"string"==typeof n?a.command=n:"boolean"==typeof n?a.animate=n:"function"==typeof n&&(a.callback=n))}return e._execFilter("_parseMultiMixArgs",a,arguments)},_parseInsertArgs:function(e){for(var a=this,i={index:0,$object:t(),multiMix:{filter:a._state.activeFilter},callback:null},n=0;n<e.length;n++){var r=e[n];"number"==typeof r?i.index=r:"object"==typeof r&&r instanceof t?i.$object=r:"object"==typeof r&&a._helpers._isElement(r)?i.$object=t(r):"object"==typeof r&&null!==r?i.multiMix=r:"boolean"!=typeof r||r?"function"==typeof r&&(i.callback=r):i.multiMix=!1}return a._execFilter("_parseInsertArgs",i,arguments)},_execAction:function(t,e,a){var i=this,n=e?"post":"pre";if(!i._actions.isEmptyObject&&i._actions.hasOwnProperty(t))for(var r in i._actions[t][n])i._actions[t][n][r].call(i,a)},_execFilter:function(t,e,a){var i=this;if(i._filters.isEmptyObject||!i._filters.hasOwnProperty(t))return e;for(var n in i._filters[t])return i._filters[t][n].call(i,a)},_helpers:{_camelCase:function(t){return t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})},_isElement:function(t){return window.HTMLElement?t instanceof HTMLElement:null!==t&&1===t.nodeType&&"string"===t.nodeName}},isMixing:function(){var t=this;return t._execFilter("isMixing",t._mixing)},filter:function(){var t=this,e=t._parseMultiMixArgs(arguments);t._clicking&&(t._toggleString=""),t.multiMix({filter:e.command},e.animate,e.callback)},sort:function(){var t=this,e=t._parseMultiMixArgs(arguments);t.multiMix({sort:e.command},e.animate,e.callback)},changeLayout:function(){var t=this,e=t._parseMultiMixArgs(arguments);t.multiMix({changeLayout:e.command},e.animate,e.callback)},multiMix:function(){var t=this,a=t._parseMultiMixArgs(arguments);if(t._execAction("multiMix",0,arguments),t._mixing)t.animation.queue&&t._queue.length<t.animation.queueLimit?(t._queue.push(arguments),t.controls.enable&&!t._clicking&&t._updateControls(a.command),t._execAction("multiMixQueue",1,arguments)):("function"==typeof t.callbacks.onMixBusy&&t.callbacks.onMixBusy.call(t._domNode,t._state,t),t._$container.trigger("mixBusy",[t._state,t]),t._execAction("multiMixBusy",1,arguments));else{t.controls.enable&&!t._clicking&&(t.controls.toggleFilterButtons&&t._buildToggleArray(),t._updateControls(a.command,t.controls.toggleFilterButtons)),t._queue.length<2&&(t._clicking=!1),delete t.callbacks._user,a.callback&&(t.callbacks._user=a.callback);var i=a.command.sort,n=a.command.filter,r=a.command.changeLayout;t._refresh(),i&&(t._newSort=t._parseSort(i),t._newSortString=i,t._sorting=!0,t._sort()),n!==e&&(n="all"===n?t.selectors.target:n,t._activeFilter=n),t._filter(),r&&(t._newDisplay="string"==typeof r?r:r.display||t.layout.display,t._newClass=r.containerClass||"",t._newDisplay===t.layout.display&&t._newClass===t.layout.containerClass||(t._changingLayout=!0,t._changingClass=t._newClass!==t.layout.containerClass,t._changingDisplay=t._newDisplay!==t.layout.display)),t._$targets.css(t._brake),t._goMix(a.animate^t.animation.enable?a.animate:t.animation.enable),t._execAction("multiMix",1,arguments)}},insert:function(){var t=this,e=t._parseInsertArgs(arguments),a="function"==typeof e.callback?e.callback:null,i=document.createDocumentFragment(),n=function(){return t._refresh(),t._$targets.length?e.index<t._$targets.length||!t._$targets.length?t._$targets[e.index]:t._$targets[t._$targets.length-1].nextElementSibling:t._$parent[0].children[0]}();if(t._execAction("insert",0,arguments),e.$object){for(var r=0;r<e.$object.length;r++){var o=e.$object[r];i.appendChild(o),i.appendChild(document.createTextNode(" "))}t._$parent[0].insertBefore(i,n)}t._execAction("insert",1,arguments),"object"==typeof e.multiMix&&t.multiMix(e.multiMix,a)},prepend:function(){var t=this,e=t._parseInsertArgs(arguments);t.insert(0,e.$object,e.multiMix,e.callback)},append:function(){var t=this,e=t._parseInsertArgs(arguments);t.insert(t._state.totalTargets,e.$object,e.multiMix,e.callback)},getOption:function(t){var a=this;return t?a._execFilter("getOption",function(t,a){for(var i=a.split("."),n=i.pop(),r=i.length,o=1,s=i[0]||a;(t=t[s])&&o<r;)s=i[o],o++;if(t!==e)return t[n]!==e?t[n]:t}(a,t),arguments):a},setOptions:function(e){var a=this;a._execAction("setOptions",0,arguments),"object"==typeof e&&t.extend(!0,a,e),a._execAction("setOptions",1,arguments)},getState:function(){var t=this;return t._execFilter("getState",t._state,t)},forceRefresh:function(){this._refresh(!1,!0)},destroy:function(e){var a=this,i=t.MixItUp.prototype._bound._filter,n=t.MixItUp.prototype._bound._sort;a._execAction("destroy",0,arguments),a._$body.add(t(a.selectors.sort)).add(t(a.selectors.filter)).off(".mixItUp");for(var r=0;r<a._$targets.length;r++){var o=a._$targets[r];e&&(o.style.display=""),delete o.mixParent}a._execAction("destroy",1,arguments),i[a.selectors.filter]&&i[a.selectors.filter]>1?i[a.selectors.filter]--:1===i[a.selectors.filter]&&delete i[a.selectors.filter],n[a.selectors.sort]&&n[a.selectors.sort]>1?n[a.selectors.sort]--:1===n[a.selectors.sort]&&delete n[a.selectors.sort],delete t.MixItUp.prototype._instances[a._id]}},t.fn.mixItUp=function(){var a,i=arguments,n=[],r=function(e,a){var i=new t.MixItUp;i._execAction("_instantiate",0,arguments),e.id=e.id?e.id:"MixItUp"+function(){return("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase()}(),i._instances[e.id]||(i._instances[e.id]=i,i._init(e,a)),i._execAction("_instantiate",1,arguments)};return a=this.each(function(){if(i&&"string"==typeof i[0]){var a=t.MixItUp.prototype._instances[this.id];if("isLoaded"===i[0])n.push(!!a);else{var o=a[i[0]](i[1],i[2],i[3]);o!==e&&n.push(o)}}else r(this,i[0])}),n.length?n.length>1?n:n[0]:a},t.fn.removeStyle=function(a,i){return i=i||"",this.each(function(){for(var n=this,r=a.split(" "),o=0;o<r.length;o++)for(var s=0;s<4;s++){switch(s){case 0:var l=r[o];break;case 1:var l=t.MixItUp.prototype._helpers._camelCase(l);break;case 2:var l=i+r[o];break;case 3:var l=t.MixItUp.prototype._helpers._camelCase(i+r[o])}if(n.style[l]!==e&&"unknown"!=typeof n.style[l]&&n.style[l].length>0&&(n.style[l]=""),!i&&1===s)break}n.attributes&&n.attributes.style&&n.attributes.style!==e&&""===n.attributes.style.value&&n.attributes.removeNamedItem("style")})}}(jQuery);
js/slick.min.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" data-role="none" role="button" tabindex="0" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(e),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(e).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,"undefined"!=typeof document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=t++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}var t=0;return e}(),e.prototype.activateADA=function(){var i=this;i.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):o===!0?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),s.options.rtl===!0&&s.options.vertical===!1&&(e=-e),s.transformsEnabled===!1?s.options.vertical===!1?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):s.cssTransitions===!1?(s.options.rtl===!0&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),s.options.vertical===!1?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),s.options.vertical===!1?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this,o=t.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};e.options.fade===!1?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(i.options.infinite===!1&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1===0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),e.options.centerMode!==!0&&e.options.swipeToSlide!==!0||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(r.originalSettings.mobileFirst===!1?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||l===!1||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!==0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t,o=this;if(e=o.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(i<e[s]){i=t;break}t=e[s]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),i(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&(i=e.$slides.children().children(),i.removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){var e=this;e.shouldClick===!1&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;t.cssTransitions===!1?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;e.cssTransitions===!1?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var i=this;return i.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(i.options.infinite===!0)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(i.options.centerMode===!0)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s=this,n=0;return s.slideOffset=0,t=s.$slides.first().outerHeight(!0),s.options.infinite===!0?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,n=t*s.options.slidesToShow*-1),s.slideCount%s.options.slidesToScroll!==0&&i+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(i>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(i-s.slideCount))*s.slideWidth*-1,n=(s.options.slidesToShow-(i-s.slideCount))*t*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,n=s.slideCount%s.options.slidesToScroll*t*-1))):i+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(i+s.options.slidesToShow-s.slideCount)*s.slideWidth,n=(i+s.options.slidesToShow-s.slideCount)*t),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,n=0),s.options.centerMode===!0&&s.options.infinite===!0?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:s.options.centerMode===!0&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=s.options.vertical===!1?i*s.slideWidth*-1+s.slideOffset:i*t*-1+n,s.options.variableWidth===!0&&(o=s.slideCount<=s.options.slidesToShow||s.options.infinite===!1?s.$slideTrack.children(".slick-slide").eq(i):s.$slideTrack.children(".slick-slide").eq(i+s.options.slidesToShow),e=s.options.rtl===!0?o[0]?(s.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,s.options.centerMode===!0&&(o=s.slideCount<=s.options.slidesToShow||s.options.infinite===!1?s.$slideTrack.children(".slick-slide").eq(i):s.$slideTrack.children(".slick-slide").eq(i+s.options.slidesToShow+1),e=s.options.rtl===!0?o[0]?(s.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,e+=(s.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){var e=this;return e.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(e.options.infinite===!1?i=e.slideCount:(t=e.options.slidesToScroll*-1,o=e.options.slidesToScroll*-1,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o,s=this;return o=s.options.centerMode===!0?s.slideWidth*Math.floor(s.options.slidesToShow/2):0,s.options.swipeToSlide===!0?(s.$slideTrack.find(".slick-slide").each(function(e,n){if(n.offsetLeft-o+i(n).outerWidth()/2>s.swipeLeft*-1)return t=n,!1}),e=Math.abs(i(t).attr("data-slick-index")-s.currentSlide)||1):s.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){var t=this;t.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),t.options.accessibility===!0&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){i(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+t})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(t){i(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+t,id:"slick-slide"+e.instanceUid+t})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===i.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0},100,function(){e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,t])})},o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t])},o.src=t})}var t,o,s,n,r=this;r.options.centerMode===!0?r.options.infinite===!0?(s=r.currentSlide+(r.options.slidesToShow/2+1),n=s+r.options.slidesToShow+2):(s=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=2+(r.options.slidesToShow/2+1)+r.currentSlide):(s=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(s+r.options.slidesToShow),r.options.fade===!0&&(s>0&&s--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(s,n),e(t),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),e(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(r.options.slidesToShow*-1),e(o))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var i=this;i.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(i){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,i]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),e.options.accessibility===!0&&e.initADA())},e.prototype.prev=e.prototype.slickPrev=function(){var i=this;i.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n=this,r=i("img[data-lazy]",n.$slider);r.length?(t=r.first(),o=t.attr("data-lazy"),s=document.createElement("img"),s.onload=function(){t.attr("src",o).removeAttr("data-lazy").removeClass("slick-loading"),n.options.adaptiveHeight===!0&&n.setPosition(),n.$slider.trigger("lazyLoaded",[n,t,o]),n.progressiveLazyLoad()},s.onerror=function(){e<3?setTimeout(function(){n.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,t,o]),n.progressiveLazyLoad())},s.src=o):n.$slider.trigger("allImagesLoaded",[n])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,t=n[e].breakpoint,n.hasOwnProperty(e)){for(;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;return"boolean"==typeof i?(e=i,i=e===!0?0:o.slideCount-1):i=e===!0?--i:i,!(o.slideCount<1||i<0||i>o.slideCount-1)&&(o.unload(),t===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},e.prototype.setCSS=function(i){var e,t,o=this,s={};o.options.rtl===!0&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,o.transformsEnabled===!1?o.$slideTrack.css(s):(s={},o.cssTransitions===!1?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;i.options.vertical===!1?i.options.centerMode===!0&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),i.options.centerMode===!0&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),i.options.vertical===!1&&i.options.variableWidth===!1?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):i.options.variableWidth===!0?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();i.options.variableWidth===!1&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,t.options.rtl===!0?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":"undefined"!=typeof arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),i.options.fade===!1?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=i.options.vertical===!0?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||i.options.useCSS===!0&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&i.animType!==!1&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&i.animType!==!1},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),n.options.centerMode===!0?(e=Math.floor(n.options.slidesToShow/2),n.options.infinite===!0&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,
2
- t.slice(o-e+1,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")):i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=n.options.infinite===!0?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(s.options.fade===!0&&(s.options.centerMode=!1),s.options.infinite===!0&&s.options.fade===!1&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=s.options.centerMode===!0?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));return s||(s=0),t.slideCount<=t.options.slidesToShow?(t.setSlideClasses(s),void t.asNavFor(s)):void t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,(a.animating!==!0||a.options.waitForAnimate!==!0)&&!(a.options.fade===!0&&a.currentSlide===i||a.slideCount<=a.options.slidesToShow))return e===!1&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,a.options.infinite===!1&&a.options.centerMode===!1&&(i<0||i>a.getDotCount()*a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):a.options.infinite===!1&&a.options.centerMode===!0&&(i<0||i>a.slideCount-a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!==0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!==0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=a.getNavTarget(),l=l.slick("getSlick"),l.slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide)),a.updateDots(),a.updateArrows(),a.options.fade===!0?(t!==!0?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight()):void(t!==!0?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)))},e.prototype.startLoad=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),o=Math.round(180*t/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0?s.options.rtl===!1?"left":"right":o<=360&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&o<=225?s.options.rtl===!1?"right":"left":s.options.verticalSwiping===!0?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(o.touchObject.edgeHit===!0&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&i.type.indexOf("mouse")!==-1))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!r.dragging||n&&1!==n.length)&&(e=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,r.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),r.options.verticalSwiping===!0&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),t=r.swipeDirection(),"vertical"!==t?(void 0!==i.originalEvent&&r.touchObject.swipeLength>4&&i.preventDefault(),s=(r.options.rtl===!1?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),r.options.verticalSwiping===!0&&(s=r.touchObject.curY>r.touchObject.startY?1:-1),o=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,r.options.infinite===!1&&(0===r.currentSlide&&"right"===t||r.currentSlide>=r.getDotCount()&&"left"===t)&&(o=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),r.options.vertical===!1?r.swipeLeft=e+o*s:r.swipeLeft=e+o*(r.$list.height()/r.listWidth)*s,r.options.verticalSwiping===!0&&(r.swipeLeft=e+o*s),r.options.fade!==!0&&r.options.touchMove!==!1&&(r.animating===!0?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft))):void 0)},e.prototype.swipeStart=function(i){var e,t=this;return t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow?(t.touchObject={},!1):(void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,void(t.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i,e=this;i=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||"undefined"==typeof s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),"undefined"!=typeof t)return t;return o}});
1
+ !function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" data-role="none" role="button" tabindex="0" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(e),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(e).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=t++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}var t=0;return e}(),e.prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this,o=t.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>1){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!=0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t,o=this;if(e=o.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(i<e[s]){i=t;break}t=e[s]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide)),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),i(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>1&&(i=e.$slides.children().children(),i.removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(t){t.stopImmediatePropagation();var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())},0)})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s=this,n=0;return s.slideOffset=0,t=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,n=t*s.options.slidesToShow*-1),s.slideCount%s.options.slidesToScroll!=0&&i+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(i>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(i-s.slideCount))*s.slideWidth*-1,n=(s.options.slidesToShow-(i-s.slideCount))*t*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,n=s.slideCount%s.options.slidesToScroll*t*-1))):i+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(i+s.options.slidesToShow-s.slideCount)*s.slideWidth,n=(i+s.options.slidesToShow-s.slideCount)*t),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,n=0),!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=!1===s.options.vertical?i*s.slideWidth*-1+s.slideOffset:i*t*-1+n,!0===s.options.variableWidth&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(i):s.$slideTrack.children(".slick-slide").eq(i+s.options.slidesToShow),e=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===s.options.centerMode&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(i):s.$slideTrack.children(".slick-slide").eq(i+s.options.slidesToShow+1),e=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(s.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each(function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1}),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){i(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+t})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(t){i(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+t,id:"slick-slide"+e.instanceUid+t})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0},100,function(){e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,t])})},o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t])},o.src=t})}var t,o,s,n,r=this;!0===r.options.centerMode?!0===r.options.infinite?(s=r.currentSlide+(r.options.slidesToShow/2+1),n=s+r.options.slidesToShow+2):(s=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=r.options.slidesToShow/2+1+2+r.currentSlide):(s=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(s+r.options.slidesToShow),!0===r.options.fade&&(s>0&&s--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(s,n),e(t),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),e(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow),e(o))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(i){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,i]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n=this,r=i("img[data-lazy]",n.$slider);r.length?(t=r.first(),o=t.attr("data-lazy"),s=document.createElement("img"),s.onload=function(){t.attr("src",o).removeAttr("data-lazy").removeClass("slick-loading"),!0===n.options.adaptiveHeight&&n.setPosition(),n.$slider.trigger("lazyLoaded",[n,t,o]),n.progressiveLazyLoad()},s.onerror=function(){e<3?setTimeout(function(){n.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,t,o]),n.progressiveLazyLoad())},s.src=o):n.$slider.trigger("allImagesLoaded",[n])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,t=n[e].breakpoint,n.hasOwnProperty(e)){for(;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if("boolean"==typeof i?(e=i,i=!0===e?0:o.slideCount-1):i=!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode?(e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,
2
+ t.slice(o-e+1,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")):i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));if(s||(s=0),t.slideCount<=t.options.slidesToShow)return t.setSlideClasses(s),void t.asNavFor(s);t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,(!0!==a.animating||!0!==a.options.waitForAnimate)&&!(!0===a.options.fade&&a.currentSlide===i||a.slideCount<=a.options.slidesToShow)){if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))return void(!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o)));if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))return void(!1===a.options.fade&&(o=a.currentSlide,!0!==t?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o)));if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=a.getNavTarget(),l=l.slick("getSlick"),l.slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide)),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight();!0!==t?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),o=Math.round(180*t/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0?!1===s.options.rtl?"left":"right":o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!r.dragging||n&&1!==n.length)&&(e=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,r.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),!0===r.options.verticalSwiping&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),"vertical"!==(t=r.swipeDirection())?(void 0!==i.originalEvent&&r.touchObject.swipeLength>4&&i.preventDefault(),s=(!1===r.options.rtl?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),!0===r.options.verticalSwiping&&(s=r.touchObject.curY>r.touchObject.startY?1:-1),o=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,!1===r.options.infinite&&(0===r.currentSlide&&"right"===t||r.currentSlide>=r.getDotCount()&&"left"===t)&&(o=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),!1===r.options.vertical?r.swipeLeft=e+o*s:r.swipeLeft=e+o*(r.$list.height()/r.listWidth)*s,!0===r.options.verticalSwiping&&(r.swipeLeft=e+o*s),!0!==r.options.fade&&!1!==r.options.touchMove&&(!0===r.animating?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft))):void 0)},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode?(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}});
js/waypoints.min.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;n<r;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!n.isTouch||(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s],l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,c=!l&&!h;(p||c)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}for(var u in t)t[u].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,c,u,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=y+l-f,h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,c=h&&p,u=!h&&!p,!g&&c?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&u?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;r<s;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();
1
+ !function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;n<r;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!n.isTouch||(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s],l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,c=!l&&!h;(p||c)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}for(var u in t)t[u].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,c,u,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=y+l-f,h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,c=h&&p,u=!h&&!p,!g&&c?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&u?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;r<s;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();
lang/widgets-for-siteorigin.pot ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2017 widgets-for-siteorigin
2
+ # This file is distributed under the same license as the widgets-for-siteorigin package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: widgets-for-siteorigin\n"
6
+ "Report-Msgid-Bugs-To: http://www.siteorigin.com\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
11
+ "Last-Translator: SiteOrigin <support@siteorigin.com>\n"
12
+ "Language-Team: SiteOrigin <support@siteorigin.com>\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: iamadi
3
  Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
4
  Requires at least: 3.9
5
- Tested up to: 4.7.2
6
- Stable tag: 1.3.3
7
  License: GPLv3 or later
8
 
9
  A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
@@ -36,6 +36,8 @@ Included widgets
36
 
37
  > 1. **Pricing Table Widget** allows you to easily create pricing elements for your products or services. Create as many plans as you want, and control the title, features and pricing for each. You can also choose to make one or more plans featured. The widget is responsive and highly customizable.
38
 
 
 
39
  > 1. **Slider Widget** lets you choose from a number of slider settings and styling options to create simple image slider.
40
 
41
  > 1. **Alert widgets** are useful elements that can be dropped into a form or inline on a page. It can communicate success, warnings, failure or just information. Choose between 6 beautiful designs and an option to add a close button.
@@ -66,6 +68,12 @@ Additional Feature:
66
 
67
  > 1. **Chart Widget** allows you to visualize your data in a number of different ways. Choose from 6 chart types, each of them animated, fully customizable and engaging.
68
 
 
 
 
 
 
 
69
  > 1. **Animation feature** lets you an easily animate widgets. Choose from 18 different animation effects.
70
 
71
  Check out <a target="_blank" href="http://widgets.wpinked.com/">**DEMO**</a> and <a target="_blank" href="http://widgets-docs.wpinked.com/">**DOCS**</a>.
@@ -88,6 +96,13 @@ Once installed, you can choose to Active/Deactivate widget from Plugins -> SiteO
88
 
89
  == Changelog ==
90
 
 
 
 
 
 
 
 
91
  = 1.3.3 - March 1 2017 =
92
  * BLOG WIDGET : Fixed bug with AJAX pagination on homepage.
93
  * BLOG WIDGET : Added tags to byline.
2
  Contributors: iamadi
3
  Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
4
  Requires at least: 3.9
5
+ Tested up to: 4.9
6
+ Stable tag: 1.3.4
7
  License: GPLv3 or later
8
 
9
  A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
36
 
37
  > 1. **Pricing Table Widget** allows you to easily create pricing elements for your products or services. Create as many plans as you want, and control the title, features and pricing for each. You can also choose to make one or more plans featured. The widget is responsive and highly customizable.
38
 
39
+ > 1. **Image Widget** allows you to add images with a premium lightbox feature.
40
+
41
  > 1. **Slider Widget** lets you choose from a number of slider settings and styling options to create simple image slider.
42
 
43
  > 1. **Alert widgets** are useful elements that can be dropped into a form or inline on a page. It can communicate success, warnings, failure or just information. Choose between 6 beautiful designs and an option to add a close button.
68
 
69
  > 1. **Chart Widget** allows you to visualize your data in a number of different ways. Choose from 6 chart types, each of them animated, fully customizable and engaging.
70
 
71
+ > 1. **Gallery Widget** spice up your image collections. The images are neatly arranged in a masonry layout with a lightbox feature which allows users to have a closer look.
72
+
73
+ > 1. **Slider Pro Widget** lets you choose from a number of slider settings and styling options to create simple image slider. In addition you can add animated text and a customizable button.
74
+
75
+ > 1. **Flip Box Widget** Interactive media box with flip animations. is a simple and elegant combination of text and media. This widget is a fantastic way to highlight small bits of information, such as skills, features or services you offer. The box also has 3D animated which flips the box on hover. Choose to use icons or images. In addition you can easily link to other webpages using a highly customizable button.
76
+
77
  > 1. **Animation feature** lets you an easily animate widgets. Choose from 18 different animation effects.
78
 
79
  Check out <a target="_blank" href="http://widgets.wpinked.com/">**DEMO**</a> and <a target="_blank" href="http://widgets-docs.wpinked.com/">**DOCS**</a>.
96
 
97
  == Changelog ==
98
 
99
+ = 1.3.4 - December 22 2017 =
100
+ * TESTIMONIAL WIDGET : Added boxed designs.
101
+ * BAR COUNTER WIDGET : Added option to position the bar info below the bar.
102
+ * Updated Visibility CSS.
103
+ * IMAGE WIDGET : Added , New.
104
+ * Bug Fixes.
105
+
106
  = 1.3.3 - March 1 2017 =
107
  * BLOG WIDGET : Fixed bug with AJAX pagination on homepage.
108
  * BLOG WIDGET : Added tags to byline.
widgets-for-siteorigin.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Widgets for SiteOrigin
5
  * Plugin URI: http://widgets.wpinked.com/
6
  * Description: A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
7
- * Version: 1.3.3
8
  * Author: wpinked
9
  * Author URI: widgets.wpinked.com
10
  * License: GPL-2.0+
@@ -18,32 +18,38 @@
18
  *
19
  */
20
 
21
- define( 'INKED_SO_VER', '1.3.3' );
22
 
23
  // Allow JS suffix to be pre-set
24
- if( !defined( 'INKED_JS_SUFFIX' ) ) {
25
- define('INKED_JS_SUFFIX', '.min');
26
  }
27
 
 
28
  define( 'INKED_PLUGIN_PATH', plugin_dir_url( __FILE__ ) );
29
 
 
30
  require_once ( 'inc/visibility.php' );
31
 
 
32
  require_once ( 'inc/enqueue.php' );
33
 
 
34
  require_once ( 'inc/functions.php' );
35
-
36
  require_once ( 'inc/template-functions.php' );
37
 
38
- // Widgets.... Come out and play!
39
- function wpinked_so_widgets($folders){
 
 
 
40
  $folders[] = plugin_dir_path(__FILE__) . '/widgets/';
41
  return $folders;
42
  }
43
  add_filter( 'siteorigin_widgets_widget_folders', 'wpinked_so_widgets' );
44
 
45
  // Placing all widgets under the 'Widgets for SiteOrigin' Tab
46
- function wpinked_so_add_widget_tabs($tabs) {
47
  $tabs[] = array(
48
  'title' => __( 'Widgets for SiteOrigin', 'wpinked-widgets' ),
49
  'filter' => array(
@@ -55,16 +61,16 @@ function wpinked_so_add_widget_tabs($tabs) {
55
  add_filter( 'siteorigin_panels_widget_dialog_tabs', 'wpinked_so_add_widget_tabs', 5);
56
 
57
  // Adding Icon for all Widgets
58
- function wpinked_so_widget_add_bundle_groups($widgets){
59
- foreach( $widgets as $class => &$widget ) {
60
- if( preg_match( '/Inked_(.*)_SO_Widget/', $class, $matches) ) {
61
  $widget['icon'] = 'wpinked-widget dashicons dashicons-editor-code';
62
  $widget['groups'] = array( 'widgets-for-so' );
63
  }
64
  }
65
  return $widgets;
66
  }
67
- add_filter( 'siteorigin_panels_widgets', 'wpinked_so_widget_add_bundle_groups', 11);
68
 
69
  // Making the plugin translation ready
70
  function wpinked_so_translation() {
@@ -83,25 +89,26 @@ require_once ( 'inc/activate.php' );
83
  require_once ( 'admin/admin.php' );
84
 
85
  function wpinked_so_class_prefixes( $class_prefixes ) {
86
- $class_prefixes[] = 'Inked_Widget_Field_';
87
- return $class_prefixes;
88
  }
89
  add_filter( 'siteorigin_widgets_field_class_prefixes', 'wpinked_so_class_prefixes' );
90
 
91
  function wpinked_so_fields_class_paths( $class_paths ) {
92
- $class_paths[] = plugin_dir_path( __FILE__ ) . 'fields/';
93
- return $class_paths;
94
  }
95
  add_filter( 'siteorigin_widgets_field_class_paths', 'wpinked_so_fields_class_paths' );
96
 
97
- function wpinked_so_plugin_activate() {
98
- add_option( 'simian_redirect', true );
99
- }
100
- register_activation_hook( __FILE__, 'wpinked_so_plugin_activate' );
101
- function wpinked_so_plugin_redirect() {
102
- if ( get_option( 'simian_redirect', false ) ) {
103
- delete_option( 'simian_redirect' );
104
- wp_redirect( admin_url( 'admin.php?page=wpinked-widgets' ) );
105
- }
106
- }
107
- add_action( 'admin_init', 'wpinked_so_plugin_redirect' );
 
4
  * Plugin Name: Widgets for SiteOrigin
5
  * Plugin URI: http://widgets.wpinked.com/
6
  * Description: A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
7
+ * Version: 1.3.4
8
  * Author: wpinked
9
  * Author URI: widgets.wpinked.com
10
  * License: GPL-2.0+
18
  *
19
  */
20
 
21
+ define( 'INKED_SO_VER', '1.3.4' );
22
 
23
  // Allow JS suffix to be pre-set
24
+ if ( ! defined( 'INKED_JS_SUFFIX' ) ) {
25
+ define( 'INKED_JS_SUFFIX', '.min' );
26
  }
27
 
28
+ // Path to plugin
29
  define( 'INKED_PLUGIN_PATH', plugin_dir_url( __FILE__ ) );
30
 
31
+ // Visibility
32
  require_once ( 'inc/visibility.php' );
33
 
34
+ // Enqueue JS and CSS files
35
  require_once ( 'inc/enqueue.php' );
36
 
37
+ // Template Functions
38
  require_once ( 'inc/functions.php' );
 
39
  require_once ( 'inc/template-functions.php' );
40
 
41
+ // Admin Notices
42
+ require_once ( 'inc/admin-notice.php' );
43
+
44
+ // Loading widget folders
45
+ function wpinked_so_widgets( $folders ) {
46
  $folders[] = plugin_dir_path(__FILE__) . '/widgets/';
47
  return $folders;
48
  }
49
  add_filter( 'siteorigin_widgets_widget_folders', 'wpinked_so_widgets' );
50
 
51
  // Placing all widgets under the 'Widgets for SiteOrigin' Tab
52
+ function wpinked_so_add_widget_tabs( $tabs ) {
53
  $tabs[] = array(
54
  'title' => __( 'Widgets for SiteOrigin', 'wpinked-widgets' ),
55
  'filter' => array(
61
  add_filter( 'siteorigin_panels_widget_dialog_tabs', 'wpinked_so_add_widget_tabs', 5);
62
 
63
  // Adding Icon for all Widgets
64
+ function wpinked_so_widget_add_bundle_groups( $widgets ) {
65
+ foreach ( $widgets as $class => &$widget ) {
66
+ if ( preg_match( '/Inked_(.*)_SO_Widget/', $class, $matches ) ) {
67
  $widget['icon'] = 'wpinked-widget dashicons dashicons-editor-code';
68
  $widget['groups'] = array( 'widgets-for-so' );
69
  }
70
  }
71
  return $widgets;
72
  }
73
+ add_filter( 'siteorigin_panels_widgets', 'wpinked_so_widget_add_bundle_groups', 11 );
74
 
75
  // Making the plugin translation ready
76
  function wpinked_so_translation() {
89
  require_once ( 'admin/admin.php' );
90
 
91
  function wpinked_so_class_prefixes( $class_prefixes ) {
92
+ $class_prefixes[] = 'Inked_Widget_Field_';
93
+ return $class_prefixes;
94
  }
95
  add_filter( 'siteorigin_widgets_field_class_prefixes', 'wpinked_so_class_prefixes' );
96
 
97
  function wpinked_so_fields_class_paths( $class_paths ) {
98
+ $class_paths[] = plugin_dir_path( __FILE__ ) . 'fields/';
99
+ return $class_paths;
100
  }
101
  add_filter( 'siteorigin_widgets_field_class_paths', 'wpinked_so_fields_class_paths' );
102
 
103
+ // function wpinked_so_plugin_activate() {
104
+ // add_option( 'simian_redirect', true );
105
+ // }
106
+ // register_activation_hook( __FILE__, 'wpinked_so_plugin_activate' );
107
+ //
108
+ // function wpinked_so_plugin_redirect() {
109
+ // if ( get_option( 'simian_redirect', false ) ) {
110
+ // delete_option( 'simian_redirect' );
111
+ // wp_redirect( admin_url( 'admin.php?page=wpinked-widgets' ) );
112
+ // }
113
+ // }
114
+ // add_action( 'admin_init', 'wpinked_so_plugin_redirect' );
widgets/ink-alrt-widget/ink-alrt-widget.php CHANGED
File without changes
widgets/ink-alrt-widget/styles/alert.less CHANGED
File without changes
widgets/ink-alrt-widget/tpl/alert.php CHANGED
File without changes
widgets/ink-ardn-widget/ink-ardn-widget.php CHANGED
@@ -274,6 +274,25 @@ class Inked_Accordion_SO_Widget extends SiteOrigin_Widget {
274
  return $less_variables;
275
  }
276
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  function get_google_font_fields( $instance ) {
278
  if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
279
 
274
  return $less_variables;
275
  }
276
 
277
+ function get_template_variables( $instance, $args ) {
278
+ if( empty( $instance ) ) return array();
279
+
280
+ $icon_styles = array();
281
+ $icon_styles[] = 'font-size: 2em';
282
+ if( ! empty($instance['styling']['icon'] ) ) $icon_styles[] = 'color: ' . $instance['styling']['icon'];
283
+
284
+ return array(
285
+ 'expand' => ( $instance['settings']['expand'] ) ? '' : ' iw-so-acc-singleExpand',
286
+ 'toggle' => ( $instance['settings']['toggleable'] ) ? ' iw-so-acc-toggle' : '',
287
+ 'icon_styles' => $icon_styles,
288
+ 'icon_open' => $instance['settings']['icon-open'],
289
+ 'icon_close' => $instance['settings']['icon-close'],
290
+ 'title_align' => $instance['styling']['text'],
291
+ 'id' => $instance['settings']['id'],
292
+ 'toggles' => $instance['toggles']
293
+ );
294
+ }
295
+
296
  function get_google_font_fields( $instance ) {
297
  if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
298
 
widgets/ink-ardn-widget/js/accordion.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){i.fn.iwInitAccordion=function(){"use strict";i(".iw-so-accordion-plain.iw-so-accordion").length&&i(".iw-so-accordion-plain.iw-so-accordion").each(function(){i(this).find(".iw-so-acc-item .iw-so-acc-content").hide(),i(this).find(".iw-so-acc-item.iw-so-acc-item-active .iw-so-acc-content").show(),i(this).find(".iw-so-acc-item").children(".iw-so-acc-title").click(function(c){(!i(this).parent().parent().hasClass("iw-so-acc-toggle")||!i(this).parent().siblings().hasClass("iw-so-acc-item-active")&&i(this).parent().parent().children().hasClass("iw-so-acc-item-active"))&&i(this).parent().parent().hasClass("iw-so-acc-toggle")?c.preventDefault():(c.preventDefault(),i(this).parent().toggleClass("iw-so-acc-item-active"),i(this).siblings(".iw-so-acc-content").slideToggle("300ms")),i(this).parent().parent().hasClass("iw-so-acc-singleExpand")&&i(this).parent().siblings(".iw-so-acc-item.iw-so-acc-item-active").removeClass("iw-so-acc-item-active").children(".iw-so-acc-content").slideUp("300ms")})})},i.fn.iwAccordionRemoteLink=function(){i('a[href*="#"]:not([href="#"])').click(function(c){var t=i(this),s=i(i("[name="+this.hash.slice(1)+"]").length?"[name="+this.hash.slice(1)+"]":t.get(0).hash);s.length&&s.hasClass("iw-so-acc-item")&&(s.children(".iw-so-acc-title").trigger("click"),i(window).scrollTop(s.offset().top))})}}(jQuery),jQuery(function(i){if(i(document).iwInitAccordion(),i(document).iwAccordionRemoteLink(),window.location.hash){var c=i("body").find(window.location.hash);c.hasClass("iw-so-acc-item")&&i(window.location.hash).children(".iw-so-acc-title").trigger("click")}});
1
+ !function(i){i.fn.iwInitAccordion=function(){"use strict";i(".iw-so-accordion-plain.iw-so-accordion").length&&i(".iw-so-accordion-plain.iw-so-accordion").each(function(){i(this).find(".iw-so-acc-item .iw-so-acc-content").hide(),i(this).find(".iw-so-acc-item.iw-so-acc-item-active .iw-so-acc-content").show(),i(this).find(".iw-so-acc-item").children(".iw-so-acc-title").click(function(c){(!i(this).parent().parent().hasClass("iw-so-acc-toggle")||!i(this).parent().siblings().hasClass("iw-so-acc-item-active")&&i(this).parent().parent().children().hasClass("iw-so-acc-item-active"))&&i(this).parent().parent().hasClass("iw-so-acc-toggle")?c.preventDefault():(c.preventDefault(),i(this).parent().toggleClass("iw-so-acc-item-active"),i(this).siblings(".iw-so-acc-content").slideToggle("300ms")),i(this).parent().parent().hasClass("iw-so-acc-singleExpand")&&i(this).parent().siblings(".iw-so-acc-item.iw-so-acc-item-active").removeClass("iw-so-acc-item-active").children(".iw-so-acc-content").slideUp("300ms")})})},i.fn.iwAccordionRemoteLink=function(){i('a[href*="#"]:not([href="#"])').click(function(c){var t=i(this),s=i(i("[name="+this.hash.slice(1)+"]").length?"[name="+this.hash.slice(1)+"]":t.get(0).hash);s.length&&s.hasClass("iw-so-acc-item")&&(s.children(".iw-so-acc-title").trigger("click"),i(window).scrollTop(s.offset().top))})}}(jQuery),jQuery(function(i){if(i(document).iwInitAccordion(),i(document).iwAccordionRemoteLink(),window.location.hash){i("body").find(window.location.hash).hasClass("iw-so-acc-item")&&i(window.location.hash).children(".iw-so-acc-title").trigger("click")}});
widgets/ink-ardn-widget/tpl/accordion.php CHANGED
@@ -1,17 +1,10 @@
1
  <?php
2
  global $wpinked_widget_count;
3
 
4
- $icon_styles = array();
5
- $icon_styles[] = 'font-size: 2em';
6
- if(!empty($instance['styling']['icon'])) $icon_styles[] = 'color: '.$instance['styling']['icon'];
7
-
8
- $expand = ( $instance['settings']['expand'] ) ? '' : ' iw-so-acc-singleExpand';
9
- $toggle = ( $instance['settings']['toggleable'] ) ? ' iw-so-acc-toggle' : '';
10
-
11
  $acc_no = 1;
12
 
13
- if( $instance['settings']['id'] ):
14
- $unique = $instance['settings']['id'];
15
  else :
16
  $unique = 'toggle-' . ++$wpinked_widget_count;
17
  endif;
@@ -19,14 +12,14 @@ endif;
19
 
20
  <div class="iw-so-accordion-plain iw-so-accordion<?php echo $expand . $toggle; ?>">
21
 
22
- <?php foreach( $instance['toggles'] as $i => $toggle ) { ?>
23
 
24
  <div class="iw-so-acc-item<?php echo ( $toggle['active'] == 1 ? ' iw-so-acc-item-active' : '' ); ?>" id="<?php echo $unique . '-' . $acc_no; ?>">
25
 
26
- <a href="#" class="iw-so-acc-title <?php echo $instance['styling']['text']; ?>">
27
  <?php echo esc_html( $toggle['title'] ); ?>
28
- <span class="iw-so-tgl-open"><?php echo siteorigin_widget_get_icon( $instance['settings']['icon-open'], $icon_styles ); ?></span>
29
- <span class="iw-so-tgl-close"><?php echo siteorigin_widget_get_icon( $instance['settings']['icon-close'], $icon_styles ); ?></span>
30
  </a>
31
 
32
  <div class="iw-so-acc-content">
1
  <?php
2
  global $wpinked_widget_count;
3
 
 
 
 
 
 
 
 
4
  $acc_no = 1;
5
 
6
+ if( $id ):
7
+ $unique = $id;
8
  else :
9
  $unique = 'toggle-' . ++$wpinked_widget_count;
10
  endif;
12
 
13
  <div class="iw-so-accordion-plain iw-so-accordion<?php echo $expand . $toggle; ?>">
14
 
15
+ <?php foreach( $toggles as $i => $toggle ) { ?>
16
 
17
  <div class="iw-so-acc-item<?php echo ( $toggle['active'] == 1 ? ' iw-so-acc-item-active' : '' ); ?>" id="<?php echo $unique . '-' . $acc_no; ?>">
18
 
19
+ <a href="#" class="iw-so-acc-title <?php echo $title_align; ?>">
20
  <?php echo esc_html( $toggle['title'] ); ?>
21
+ <span class="iw-so-tgl-open"><?php echo siteorigin_widget_get_icon( $icon_open, $icon_styles ); ?></span>
22
+ <span class="iw-so-tgl-close"><?php echo siteorigin_widget_get_icon( $icon_close, $icon_styles ); ?></span>
23
  </a>
24
 
25
  <div class="iw-so-acc-content">
widgets/ink-auds-widget/ink-auds-widget.php CHANGED
File without changes
widgets/ink-auds-widget/tpl/audio.php CHANGED
File without changes
widgets/ink-barc-widget/ink-barc-widget.php CHANGED
@@ -93,6 +93,16 @@ class Inked_Bar_Counter_SO_Widget extends SiteOrigin_Widget {
93
  'default' => ''
94
  ),
95
 
 
 
 
 
 
 
 
 
 
 
96
  'percent' => array(
97
  'type' => 'color',
98
  'label' => __( 'Percentage Color', 'wpinked-widgets' ),
@@ -174,6 +184,18 @@ class Inked_Bar_Counter_SO_Widget extends SiteOrigin_Widget {
174
 
175
  }
176
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  }
178
 
179
  siteorigin_widget_register( 'ink-bar-count', __FILE__, 'Inked_Bar_Counter_SO_Widget' );
93
  'default' => ''
94
  ),
95
 
96
+ 'info-position' => array(
97
+ 'type' => 'select',
98
+ 'label' => __( 'Info Position', 'wpinked-widgets' ),
99
+ 'default' => 'above',
100
+ 'options' => array(
101
+ 'above' => __( 'Above bar', 'wpinked-widgets' ),
102
+ 'below' => __( 'Below bar', 'wpinked-widgets' ),
103
+ ),
104
+ ),
105
+
106
  'percent' => array(
107
  'type' => 'color',
108
  'label' => __( 'Percentage Color', 'wpinked-widgets' ),
184
 
185
  }
186
 
187
+ function get_template_variables( $instance, $args ) {
188
+
189
+ if( empty( $instance ) ) return array();
190
+
191
+ return array(
192
+ 'animation' => $instance['styling']['animation'],
193
+ 'bars' => $instance['bars'],
194
+ 'show_percent' => $instance['styling']['percent-show'],
195
+ 'info_position' => $instance['styling']['info-position']
196
+ );
197
+ }
198
+
199
  }
200
 
201
  siteorigin_widget_register( 'ink-bar-count', __FILE__, 'Inked_Bar_Counter_SO_Widget' );
widgets/ink-barc-widget/styles/bar.less CHANGED
@@ -40,18 +40,35 @@
40
  }
41
  }
42
 
43
- .iw-so-bar-title{
44
  color: @title;
45
  margin-bottom: 0;
 
46
  }
47
 
48
- .iw-so-bar-percent{
49
  color: @percent;
50
  position: absolute;
51
  right: 3px;
52
  top: 0;
53
  }
54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  }
56
 
57
  }
40
  }
41
  }
42
 
43
+ .iw-so-bar-title {
44
  color: @title;
45
  margin-bottom: 0;
46
+ margin-top: 15px;
47
  }
48
 
49
+ .iw-so-bar-percent {
50
  color: @percent;
51
  position: absolute;
52
  right: 3px;
53
  top: 0;
54
  }
55
 
56
+ &.info-position-below {
57
+ .iw-so-bar-title {
58
+ margin-top: 0;
59
+ margin-bottom: 15px;
60
+ }
61
+
62
+ .iw-so-bar-percent {
63
+ top: 4px;
64
+ }
65
+
66
+ .iw-so-bar-container {
67
+ margin-bottom: 0;
68
+ margin-top: 0.625rem;
69
+ }
70
+ }
71
+
72
  }
73
 
74
  }
widgets/ink-barc-widget/tpl/bar.php CHANGED
@@ -1,15 +1,23 @@
1
- <div class="iw-so-bar-counter <?php echo ( $instance['styling']['animation'] ? 'iw-so-bars-animated' : '' ); ?>">
2
 
3
- <?php foreach( $instance['bars'] as $i => $bar ) { ?>
4
 
5
- <div class="iw-so-bar">
6
- <p class="iw-so-bar-title"><?php echo esc_html ( $bar['title'] ); ?></p>
7
- <?php if ( $instance['styling']['percent-show'] ) : ?>
8
- <span class="iw-so-bar-percent"><?php echo esc_html ( $bar['percent'] ); ?>%</span>
 
 
9
  <?php endif; ?>
10
  <div class="iw-so-bar-container">
11
- <span class="iw-so-bar-meter" <?php echo ( $instance['styling']['animation'] ? 'aria-valuenow="' . esc_attr ( $bar['percent'] ) . '"' : 'style="width:' . esc_html ( $bar['percent'] ) . '%"' ); ?>></span>
12
  </div>
 
 
 
 
 
 
13
  </div>
14
 
15
  <?php } ?>
1
+ <div class="iw-so-bar-counter <?php echo ( $animation ? 'iw-so-bars-animated' : '' ); ?>">
2
 
3
+ <?php foreach( $bars as $i => $bar ) { ?>
4
 
5
+ <div class="iw-so-bar info-position-<?php echo esc_attr( $info_position ); ?>">
6
+ <?php if ( $info_position == 'above' ) : ?>
7
+ <p class="iw-so-bar-title"><?php echo esc_html ( $bar['title'] ); ?></p>
8
+ <?php if ( $show_percent ) : ?>
9
+ <span class="iw-so-bar-percent"><?php echo esc_html ( $bar['percent'] ); ?>%</span>
10
+ <?php endif; ?>
11
  <?php endif; ?>
12
  <div class="iw-so-bar-container">
13
+ <span class="iw-so-bar-meter" <?php echo ( $animation ? 'aria-valuenow="' . esc_attr ( $bar['percent'] ) . '"' : 'style="width:' . esc_html ( $bar['percent'] ) . '%"' ); ?>></span>
14
  </div>
15
+ <?php if ( $info_position == 'below' ) : ?>
16
+ <p class="iw-so-bar-title"><?php echo esc_html ( $bar['title'] ); ?></p>
17
+ <?php if ( $show_percent ) : ?>
18
+ <span class="iw-so-bar-percent"><?php echo esc_html ( $bar['percent'] ); ?>%</span>
19
+ <?php endif; ?>
20
+ <?php endif; ?>
21
  </div>
22
 
23
  <?php } ?>
widgets/ink-blgs-widget/ink-blgs-widget.php CHANGED
File without changes
widgets/ink-blgs-widget/js/blog.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){e.fn.iwInitBlog=function(){e(".iw-so-blog").length&&e(".iw-so-blog .iw-so-blog-equal-height").each(function(){e(this).find(".iw-so-article").matchHeight({byRow:!1,property:"height",target:null,remove:!1})})}}(jQuery),jQuery(function(e){function t(e,t){var i,n=e.clientHeight;!function o(){i=e.clientHeight,n!=i&&t(),n=i,e.onElementHeightChangeTimer&&clearTimeout(e.onElementHeightChangeTimer),e.onElementHeightChangeTimer=setTimeout(o,200)}()}e(document).iwInitBlog(),t(document.body,function(){e(document).iwInitBlog()})});
1
+ !function(e){e.fn.iwInitBlog=function(){e(".iw-so-blog").length&&e(".iw-so-blog .iw-so-blog-equal-height").each(function(){e(this).find(".iw-so-article").matchHeight({byRow:!1,property:"height",target:null,remove:!1})})}}(jQuery),jQuery(function(e){e(document).iwInitBlog(),function(e,t){var i,n=e.clientHeight;!function o(){i=e.clientHeight,n!=i&&t(),n=i,e.onElementHeightChangeTimer&&clearTimeout(e.onElementHeightChangeTimer),e.onElementHeightChangeTimer=setTimeout(o,200)}()}(document.body,function(){e(document).iwInitBlog()})});
widgets/ink-blgs-widget/tpl/thumb-above.php CHANGED
File without changes
widgets/ink-blgs-widget/tpl/thumb-behind.php CHANGED
File without changes
widgets/ink-blgs-widget/tpl/thumb-left.php CHANGED
File without changes
widgets/ink-blgs-widget/tpl/thumb-none.php CHANGED
File without changes
widgets/ink-blgs-widget/tpl/thumb-right.php CHANGED
File without changes
widgets/ink-btns-widget/ink-btns-widget.php CHANGED
@@ -18,8 +18,7 @@ class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
18
  'description' => __( 'The power of click!', 'wpinked-widgets' ),
19
  'help' => 'http://widgets-docs.wpinked.com/article/30-button-widget'
20
  ),
21
- array(
22
- ),
23
  false,
24
  plugin_dir_path(__FILE__)
25
  );
@@ -201,15 +200,25 @@ class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
201
  }
202
 
203
  function initialize() {
204
-
205
  $this->register_frontend_styles(
206
  array(
207
- array( 'iw-buttons-css', plugin_dir_url(__FILE__) . 'css/buttons.css', array(), INKED_SO_VER )
 
 
 
 
 
208
  )
209
  );
210
-
211
  }
212
 
 
 
 
 
 
 
 
213
  function get_less_variables( $instance ) {
214
 
215
  if( empty( $instance ) ) return array();
@@ -236,7 +245,7 @@ class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
236
  }
237
 
238
  function get_google_font_fields( $instance ) {
239
- if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
240
 
241
  $fonts = array();
242
  if ( $instance['styling']['font'] ) {
@@ -245,9 +254,16 @@ class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
245
  return $fonts;
246
  }
247
 
 
 
 
 
 
 
 
248
  function get_template_variables( $instance, $args ) {
249
 
250
- if( empty( $instance ) ) return array();
251
 
252
  return array(
253
  'text' => $instance['text'],
18
  'description' => __( 'The power of click!', 'wpinked-widgets' ),
19
  'help' => 'http://widgets-docs.wpinked.com/article/30-button-widget'
20
  ),
21
+ array(),
 
22
  false,
23
  plugin_dir_path(__FILE__)
24
  );
200
  }
201
 
202
  function initialize() {
 
203
  $this->register_frontend_styles(
204
  array(
205
+ array(
206
+ 'iw-buttons-css',
207
+ plugin_dir_url(__FILE__) . 'css/buttons.css',
208
+ array(),
209
+ INKED_SO_VER
210
+ )
211
  )
212
  );
 
213
  }
214
 
215
+ /**
216
+ * Get the variables that we'll be injecting into the less stylesheet.
217
+ *
218
+ * @param $instance
219
+ *
220
+ * @return array
221
+ */
222
  function get_less_variables( $instance ) {
223
 
224
  if( empty( $instance ) ) return array();
245
  }
246
 
247
  function get_google_font_fields( $instance ) {
248
+ if ( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
249
 
250
  $fonts = array();
251
  if ( $instance['styling']['font'] ) {
254
  return $fonts;
255
  }
256
 
257
+ /**
258
+ * Make sure the instance is the most up to date version.
259
+ *
260
+ * @param $instance
261
+ *
262
+ * @return mixed
263
+ */
264
  function get_template_variables( $instance, $args ) {
265
 
266
+ if ( empty( $instance ) ) return array();
267
 
268
  return array(
269
  'text' => $instance['text'],
widgets/ink-btns-widget/tpl/buttons.php CHANGED
File without changes
widgets/ink-dvdr-widget/ink-dvdr-widget.php CHANGED
File without changes
widgets/ink-dvdr-widget/tpl/divider.php CHANGED
File without changes
widgets/ink-fard-widget/js/filter-accordion.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){i.fn.iwInitFtrAccordion=function(){"use strict";i(".iw-so-filter-accordion.iw-so-accordion").length&&i(".iw-so-filter-accordion.iw-so-accordion").each(function(){i(this).find(".iw-so-acc-item .iw-so-acc-content").hide(),i(this).find(".iw-so-acc-item.iw-so-acc-item-active .iw-so-acc-content").show(),i(this).find(".iw-so-acc-item").children(".iw-so-acc-title").click(function(c){(!i(this).parent().parent().hasClass("iw-so-acc-toggle")||!i(this).parent().siblings().hasClass("iw-so-acc-item-active")&&i(this).parent().parent().children().hasClass("iw-so-acc-item-active"))&&i(this).parent().parent().hasClass("iw-so-acc-toggle")?c.preventDefault():(c.preventDefault(),i(this).parent().toggleClass("iw-so-acc-item-active"),i(this).siblings(".iw-so-acc-content").slideToggle("300ms")),i(this).parent().parent().hasClass("iw-so-acc-singleExpand")&&i(this).parent().siblings(".iw-so-acc-item.iw-so-acc-item-active").removeClass("iw-so-acc-item-active").children(".iw-so-acc-content").slideUp("300ms")})})}}(jQuery),jQuery(function(i){if(i(document).iwInitFtrAccordion(),window.location.hash){var c=i("body").find(window.location.hash);c.hasClass("iw-so-acc-title")&&i(window.location.hash).trigger("click")}});
1
+ !function(i){i.fn.iwInitFtrAccordion=function(){"use strict";i(".iw-so-filter-accordion.iw-so-accordion").length&&i(".iw-so-filter-accordion.iw-so-accordion").each(function(){i(this).find(".iw-so-acc-item .iw-so-acc-content").hide(),i(this).find(".iw-so-acc-item.iw-so-acc-item-active .iw-so-acc-content").show(),i(this).find(".iw-so-acc-item").children(".iw-so-acc-title").click(function(c){(!i(this).parent().parent().hasClass("iw-so-acc-toggle")||!i(this).parent().siblings().hasClass("iw-so-acc-item-active")&&i(this).parent().parent().children().hasClass("iw-so-acc-item-active"))&&i(this).parent().parent().hasClass("iw-so-acc-toggle")?c.preventDefault():(c.preventDefault(),i(this).parent().toggleClass("iw-so-acc-item-active"),i(this).siblings(".iw-so-acc-content").slideToggle("300ms")),i(this).parent().parent().hasClass("iw-so-acc-singleExpand")&&i(this).parent().siblings(".iw-so-acc-item.iw-so-acc-item-active").removeClass("iw-so-acc-item-active").children(".iw-so-acc-content").slideUp("300ms")})})}}(jQuery),jQuery(function(i){if(i(document).iwInitFtrAccordion(),window.location.hash){i("body").find(window.location.hash).hasClass("iw-so-acc-title")&&i(window.location.hash).trigger("click")}});
widgets/ink-imge-widget/assets/banner.svg ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="240px" height="240px" viewBox="0 0 240 240" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
4
+ <title>Image</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs>
7
+ <radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" gradientTransform="translate(0.500000,0.500000),rotate(90.000000),scale(1.000000,0.991386),translate(-0.500000,-0.500000)" id="radialGradient-1">
8
+ <stop stop-color="#F5515F" offset="0%"></stop>
9
+ <stop stop-color="#9F031B" offset="100%"></stop>
10
+ </radialGradient>
11
+ </defs>
12
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
13
+ <g id="Widget-Icons" transform="translate(-335.000000, -1447.000000)">
14
+ <g id="Image" transform="translate(335.000000, 1447.000000)">
15
+ <rect id="Rectangle" fill="url(#radialGradient-1)" x="0" y="0" width="240" height="240"></rect>
16
+ <path d="M107.813335,26.5137311 C114.455584,23.0943863 125.546156,23.095282 132.186665,26.5137311 L205.524833,64.2672818 C212.054511,67.6286766 217.5,76.5587553 217.5,83.9055336 L217.5,156.866109 C217.5,164.210816 212.050814,173.14487 205.524833,176.504361 L132.186665,214.257912 C125.544416,217.677257 114.453844,217.676361 107.813335,214.257912 L34.4751675,176.504361 C27.9454892,173.142966 22.5,164.212888 22.5,156.866109 L22.5,83.9055336 C22.5,76.5608267 27.949186,67.6267735 34.4751675,64.2672818 L107.813335,26.5137311 Z" id="Polygon" stroke="#FFFFFF" stroke-width="5"></path>
17
+ <g id="Group" transform="translate(77.000000, 77.000000)" stroke="#F7EBE8" stroke-width="4">
18
+ <rect id="Rectangle-Copy-13" x="2" y="2" width="83" height="83"></rect>
19
+ </g>
20
+ </g>
21
+ </g>
22
+ </g>
23
+ </svg>
widgets/ink-imge-widget/css/image.css ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .iw-so-image-wrapper::after {
2
+ clear: both;
3
+ content: "";
4
+ display: table; }
5
+
6
+ .iw-so-image-wrapper .iw-so-image {
7
+ position: relative;
8
+ display: inline-block; }
9
+ .iw-so-image-wrapper .iw-so-image a {
10
+ display: inline-block;
11
+ vertical-align: middle;
12
+ position: absolute;
13
+ top: 0;
14
+ left: 0;
15
+ width: 100%;
16
+ height: 100%;
17
+ outline: none; }
18
+ .iw-so-image-wrapper .iw-so-image img {
19
+ vertical-align: middle;
20
+ border-style: solid; }
21
+ .iw-so-image-wrapper .iw-so-image .iw-so-caption-wrapper {
22
+ position: absolute;
23
+ top: 0;
24
+ width: 100%;
25
+ height: 100%; }
26
+ .iw-so-image-wrapper .iw-so-image .iw-so-image-caption {
27
+ width: 100%;
28
+ height: 100%;
29
+ -webkit-transition: all 450ms ease-out;
30
+ -moz-transition: all 450ms ease-out;
31
+ transition: all 450ms ease-out;
32
+ position: relative; }
33
+ .iw-so-image-wrapper .iw-so-image .iw-so-image-caption figcaption {
34
+ display: inline-block;
35
+ line-height: 1.5;
36
+ position: absolute;
37
+ width: 100%; }
38
+ .iw-so-image-wrapper .iw-so-image .iw-so-image-caption .iw-so-cap-title,
39
+ .iw-so-image-wrapper .iw-so-image .iw-so-image-caption .iw-so-cap-desc {
40
+ opacity: 0;
41
+ visibility: hidden;
42
+ margin: 0;
43
+ padding: 30px;
44
+ -webkit-transition: all 450ms ease-out;
45
+ -moz-transition: all 450ms ease-out;
46
+ transition: all 450ms ease-out; }
47
+ .iw-so-image-wrapper .iw-so-image:hover .iw-so-image-caption .iw-so-cap-title,
48
+ .iw-so-image-wrapper .iw-so-image:hover .iw-so-image-caption .iw-so-cap-desc {
49
+ opacity: 1;
50
+ visibility: visible; }
widgets/ink-imge-widget/ink-imge-widget.php ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Widget Name: Inked Image
5
+ Description: Spice up your images.
6
+ Author: wpinked
7
+ Author URI: http://widgets.wpinked.com
8
+ */
9
+
10
+ class Inked_Image_SO_Widget extends SiteOrigin_Widget {
11
+
12
+ function __construct() {
13
+ parent::__construct(
14
+
15
+ 'ink-image',
16
+ __( 'Inked Image', 'wpinked-widgets' ),
17
+ array(
18
+ 'description' => __( 'Spice up your images.', 'wpinked-widgets' ),
19
+ 'help' => 'http://widgets-docs.wpinked.com/article/59-image-widget'
20
+ ),
21
+ array(
22
+ ),
23
+ false,
24
+ plugin_dir_path(__FILE__)
25
+ );
26
+ }
27
+
28
+ function get_widget_form() {
29
+ return array(
30
+ 'image' => array(
31
+ 'type' => 'section',
32
+ 'label' => __( 'Image' , 'wpinked-widgets' ),
33
+ 'hide' => true,
34
+ 'fields' => array(
35
+
36
+ 'image' => array(
37
+ 'type' => 'media',
38
+ 'fallback' => false,
39
+ 'label' => __( 'Image', 'wpinked-widgets' ),
40
+ 'default' => '',
41
+ 'library' => 'image',
42
+ ),
43
+
44
+ 'img-size' => array(
45
+ 'type' => 'image-size',
46
+ 'label' => __( 'Image Size', 'wpinked-widgets' ),
47
+ 'description' => __( 'You can change the default size widths by going to <b>Settings</b> &rarr; <b>Media</b>.', 'wpinked-widgets' ),
48
+ ),
49
+
50
+ 'alignment' => array(
51
+ 'type' => 'select',
52
+ 'label' => __( 'Image Alignment', 'wpinked-widgets' ),
53
+ 'default' => 'default',
54
+ 'options' => array(
55
+ 'default' => __( 'Default', 'wpinked-widgets' ),
56
+ 'left' => __( 'Left', 'wpinked-widgets' ),
57
+ 'center' => __( 'Center', 'wpinked-widgets' ),
58
+ 'right' => __( 'Right', 'wpinked-widgets' ),
59
+ )
60
+ ),
61
+
62
+ 'link-type' => array(
63
+ 'type' => 'select',
64
+ 'label' => __( 'Image Link', 'wpinked-widgets' ),
65
+ 'default' => '0',
66
+ 'options' => array(
67
+ 'none' => __( 'None', 'wpinked-widgets' ),
68
+ 'url' => __( 'URL', 'wpinked-widgets' ),
69
+ 'lightbox' => __( 'Lightbox', 'wpinked-widgets' ),
70
+ ),
71
+ 'state_emitter' => array(
72
+ 'callback' => 'select',
73
+ 'args' => array( 'link_type' )
74
+ )
75
+ ),
76
+
77
+ )
78
+ ),
79
+
80
+ 'caption' => array(
81
+ 'type' => 'section',
82
+ 'label' => __( 'Caption' , 'wpinked-widgets' ),
83
+ 'hide' => true,
84
+ 'fields' => array(
85
+
86
+ 'title' => array(
87
+ 'type' => 'text',
88
+ 'label' => __( 'Caption Title', 'wpinked-widgets' ),
89
+ 'default' => '',
90
+ ),
91
+
92
+ 'desc' => array(
93
+ 'type' => 'textarea',
94
+ 'label' => __( 'Caption Description', 'wpinked-widgets' ),
95
+ 'rows' => 3
96
+ ),
97
+
98
+ 'design' => array(
99
+ 'type' => 'select',
100
+ 'label' => __( 'Caption Design', 'wpinked-widgets' ),
101
+ 'default' => 'bottom',
102
+ 'options' => array(
103
+ 'bottom' => __( 'Bottom', 'wpinked-widgets' ),
104
+ 'center' => __( 'Center', 'wpinked-widgets' ),
105
+ 'topbottom' => __( 'Title top - Description bottom', 'wpinked-widgets' ),
106
+ 'diatop' => __( 'Diagonal - Title top', 'wpinked-widgets' ),
107
+ 'diabottom' => __( 'Diagonal - Title bottom', 'wpinked-widgets' ),
108
+ )
109
+ ),
110
+
111
+ 'display-title' => array(
112
+ 'type' => 'checkbox',
113
+ 'label' => __( 'Show caption title by default', 'wpinked-widgets' ),
114
+ 'default' => false,
115
+ 'description' => __( 'Caption title is shown even without hover', 'wpinked-widgets' ),
116
+ ),
117
+
118
+ )
119
+ ),
120
+
121
+ 'link' => array(
122
+ 'type' => 'section',
123
+ 'label' => __( 'Link' , 'wpinked-widgets' ),
124
+ 'hide' => true,
125
+ 'state_handler' => array(
126
+ 'link_type[none]' => array( 'hide' ),
127
+ 'link_type[url]' => array( 'show' ),
128
+ 'link_type[lightbox]' => array( 'hide' ),
129
+ ),
130
+ 'fields' => array(
131
+
132
+ 'url' => array(
133
+ 'type' => 'link',
134
+ 'label' => __( 'Destination URL', 'wpinked-widgets' ),
135
+ ),
136
+
137
+ 'window' => array(
138
+ 'type' => 'checkbox',
139
+ 'default' => false,
140
+ 'label' => __( 'Open in a new window', 'wpinked-widgets' ),
141
+ ),
142
+
143
+ )
144
+ ),
145
+
146
+ 'lightbox' => array(
147
+ 'type' => 'section',
148
+ 'label' => __( 'Lightbox' , 'wpinked-widgets' ),
149
+ 'hide' => true,
150
+ 'state_handler' => array(
151
+ 'link_type[none]' => array( 'hide' ),
152
+ 'link_type[url]' => array( 'hide' ),
153
+ 'link_type[lightbox]' => array( 'show' ),
154
+ ),
155
+ 'fields' => array(
156
+
157
+ 'img-size' => array(
158
+ 'type' => 'premium',
159
+ 'label' => __( 'Lightbox Image Size', 'wpinked-widgets' ),
160
+ 'description' => __( 'You can change the default size widths by going to <b>Settings</b> &rarr; <b>Media</b>.', 'wpinked-widgets' ),
161
+ ),
162
+
163
+ )
164
+ ),
165
+
166
+ 'styling' => array(
167
+ 'type' => 'section',
168
+ 'label' => __( 'Styling' , 'wpinked-widgets' ),
169
+ 'hide' => true,
170
+ 'fields' => array(
171
+
172
+ 'shadow' => array(
173
+ 'type' => 'select',
174
+ 'label' => __( 'Image Shadow', 'wpinked-widgets' ),
175
+ 'default' => 'none',
176
+ 'options' => array(
177
+ 'none' => __( 'None', 'wpinked-widgets' ),
178
+ 'bottom' => __( 'Bottom', 'wpinked-widgets' ),
179
+ 'bottomsides' => __( 'Bottom Sides', 'wpinked-widgets' ),
180
+ 'bottomleft' => __( 'Bottom Left', 'wpinked-widgets' ),
181
+ 'bottomright' => __( 'Bottom Right', 'wpinked-widgets' ),
182
+ 'topbottom' => __( 'Top Bottom', 'wpinked-widgets' ),
183
+ 'leftright' => __( 'Left Right', 'wpinked-widgets' ),
184
+ 'surround' => __( 'All Sides', 'wpinked-widgets' ),
185
+ )
186
+ ),
187
+
188
+ 'image-border-width' => array(
189
+ 'type' => 'measurement',
190
+ 'label' => __( 'Image Border Width', 'wpinked-widgets' ),
191
+ 'default' => '0',
192
+ ),
193
+
194
+ 'image-border-clr' => array(
195
+ 'type' => 'color',
196
+ 'label' => __( 'Image Border Color', 'wpinked-widgets' ),
197
+ 'default' => '',
198
+ ),
199
+
200
+ 'image-shape' => array(
201
+ 'type' => 'select',
202
+ 'label' => __( 'Image Border Shape', 'wpinked-widgets' ),
203
+ 'default' => '0',
204
+ 'options' => array(
205
+ '0' => __( 'Sharp', 'wpinked-widgets' ),
206
+ '3px' => __( 'Slight Curve', 'wpinked-widgets' ),
207
+ '20px' => __( 'High Curve', 'wpinked-widgets' ),
208
+ ),
209
+ ),
210
+
211
+ 'image-ol' => array(
212
+ 'type' => 'color',
213
+ 'label' => __( 'Image Overlay Color', 'wpinked-widgets' ),
214
+ 'default' => '#333'
215
+ ),
216
+
217
+ 'image-ol-o' => array(
218
+ 'type' => 'slider',
219
+ 'label' => __( 'Image Overlay Opacity', 'wpinked-widgets' ),
220
+ 'default' => 0,
221
+ 'min' => 0,
222
+ 'max' => 100,
223
+ 'integer' => true,
224
+ ),
225
+
226
+ 'image-ol-o-h' => array(
227
+ 'type' => 'slider',
228
+ 'label' => __( 'Image Overlay Hover Opacity', 'wpinked-widgets' ),
229
+ 'default' => 60,
230
+ 'min' => 0,
231
+ 'max' => 100,
232
+ 'integer' => true,
233
+ ),
234
+
235
+ 'image-o-margin' => array(
236
+ 'type' => 'measurement',
237
+ 'label' => __( 'Image Overlay margin', 'wpinked-widgets' ),
238
+ 'default' => '0',
239
+ ),
240
+
241
+ 'caption-clr' => array(
242
+ 'type' => 'color',
243
+ 'label' => __( 'Caption Color', 'wpinked-widgets' ),
244
+ 'default' => '#f1f1f1'
245
+ ),
246
+
247
+ 'caption-font' => array(
248
+ 'type' => 'premium',
249
+ 'label' => __( 'Caption Font', 'wpinked-widgets' ),
250
+ ),
251
+
252
+ 'caption-title-size' => array(
253
+ 'type' => 'measurement',
254
+ 'label' => __( 'Caption Title Size', 'wpinked-widgets' ),
255
+ 'default' => '25px',
256
+ ),
257
+
258
+ 'caption-desc-size' => array(
259
+ 'type' => 'measurement',
260
+ 'label' => __( 'Caption Description Size', 'wpinked-widgets' ),
261
+ 'default' => '14px',
262
+ ),
263
+
264
+ )
265
+ ),
266
+
267
+ );
268
+ }
269
+
270
+ function get_template_name( $instance ) {
271
+ return 'image';
272
+ }
273
+
274
+ function get_style_name( $instance ) {
275
+ return 'image';
276
+ }
277
+
278
+ function initialize() {
279
+
280
+ $this->register_frontend_styles(
281
+ array(
282
+ array( 'iw-image-css', plugin_dir_url(__FILE__) . 'css/image.css', array(), INKED_SO_VER )
283
+ )
284
+ );
285
+
286
+ }
287
+
288
+ function get_less_variables( $instance ) {
289
+
290
+ if( empty( $instance ) ) return array();
291
+
292
+ $less_variables = array(
293
+ 'img-align' => $instance['image']['alignment'],
294
+ 'shadow' => $instance['styling']['shadow'],
295
+ 'img-bor-width' => $instance['styling']['image-border-width'],
296
+ 'img-bor-clr' => $instance['styling']['image-border-clr'],
297
+ 'img-bor-rad' => $instance['styling']['image-shape'],
298
+ 'image-ol' => $instance['styling']['image-ol'],
299
+ 'image-ol-o' => $instance['styling']['image-ol-o'],
300
+ 'image-ol-o-h' => $instance['styling']['image-ol-o-h'],
301
+ 'image-o-margin' => $instance['styling']['image-o-margin'],
302
+ 'cap-clr' => $instance['styling']['caption-clr'],
303
+ 'cap-title-size' => $instance['styling']['caption-title-size'],
304
+ 'cap-desc-size' => $instance['styling']['caption-desc-size'],
305
+ 'cap-title' => $instance['caption']['display-title'],
306
+ 'cap-design' => $instance['caption']['design'],
307
+ );
308
+ if ( $instance['styling']['caption-font'] && function_exists( 'wpinked_pro_so_widgets' ) ) {
309
+ $selected_font = siteorigin_widget_get_font( $instance['styling']['caption-font'] );
310
+ $less_variables['cap-fly'] = $selected_font['family'];
311
+ if( ! empty( $selected_font['weight'] ) ) {
312
+ $less_variables['cap-wt'] = $selected_font['weight'];
313
+ }
314
+ }
315
+ return $less_variables;
316
+
317
+ }
318
+
319
+ function get_template_variables( $instance, $args ) {
320
+
321
+ if ( empty( $instance ) ) return array();
322
+
323
+ return array(
324
+ );
325
+ }
326
+
327
+ function get_google_font_fields( $instance ) {
328
+ if ( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
329
+
330
+ $fonts = array();
331
+ if ( $instance['styling']['caption-font'] ) {
332
+ $fonts[] = $instance['styling']['caption-font'];
333
+ }
334
+ return $fonts;
335
+ }
336
+
337
+ }
338
+
339
+ siteorigin_widget_register( 'ink-image', __FILE__, 'Inked_Image_SO_Widget' );
widgets/ink-imge-widget/styles/image.less ADDED
@@ -0,0 +1,391 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "../mixins/less/mixins";
2
+
3
+ .widget-function('import_google_font');
4
+
5
+ @img-align: default;
6
+ @cap-pos: bottom-left;
7
+ @shadow: none;
8
+ @img-bor-width: 1px;
9
+ @img-bor-clr: transparent;
10
+ @img-bor-rad: 0;
11
+
12
+ @cap-fly: default;
13
+ @cap-wt: bold;
14
+
15
+ @image-ol: #333333;
16
+ @image-ol-o: 0;
17
+ @image-ol-o-h: 60;
18
+ @image-o-margin: 0;
19
+
20
+ @cap-clr: #f1f1f1;
21
+ @cap-title-size: 20px;
22
+ @cap-desc-size: 12px;
23
+ @cap-title: 0;
24
+ @cap-design: bottom;
25
+
26
+ .iw-so-image-wrapper {
27
+ .iw-so-image {
28
+ .img-align() when (@img-align = left) {
29
+ float: left;
30
+ }
31
+ .img-align() when (@img-align = right) {
32
+ float: right;
33
+ }
34
+ .img-align();
35
+
36
+ .iw-so-caption-wrapper {
37
+ padding: @image-o-margin;
38
+ }
39
+
40
+ .iw-so-image-caption {
41
+ .font(@cap-fly, @cap-wt);
42
+ background: fade(@image-ol, @image-ol-o);
43
+ }
44
+
45
+ &:hover {
46
+ .iw-so-image-caption {
47
+ background: fade(@image-ol, @image-ol-o-h);
48
+ }
49
+ }
50
+
51
+ .iw-so-image-container {
52
+ .shadow() when (@shadow = bottom) {
53
+ -webkit-box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.6);
54
+ -moz-box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.6);
55
+ box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.6);
56
+ }
57
+ .shadow() when (@shadow = bottomsides) {
58
+ position: relative;
59
+
60
+ &:before,
61
+ &:after {
62
+ z-index: -1;
63
+ position: absolute;
64
+ content: "";
65
+ bottom: 15px;
66
+ left: 10px;
67
+ width: 50%;
68
+ top: 80%;
69
+ max-width:300px;
70
+ background: rgba(0, 0, 0, 0.6);
71
+ -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
72
+ -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
73
+ box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
74
+ -webkit-transform: rotate(-3deg);
75
+ -moz-transform: rotate(-3deg);
76
+ -o-transform: rotate(-3deg);
77
+ -ms-transform: rotate(-3deg);
78
+ transform: rotate(-3deg);
79
+ }
80
+
81
+ &:after {
82
+ -webkit-transform: rotate(3deg);
83
+ -moz-transform: rotate(3deg);
84
+ -o-transform: rotate(3deg);
85
+ -ms-transform: rotate(3deg);
86
+ transform: rotate(3deg);
87
+ right: 10px;
88
+ left: auto;
89
+ }
90
+ }
91
+ .shadow() when (@shadow = bottomleft) {
92
+ position: relative;
93
+
94
+ &:before {
95
+ z-index: -1;
96
+ position: absolute;
97
+ content: "";
98
+ bottom: 15px;
99
+ left: 10px;
100
+ width: 50%;
101
+ top: 80%;
102
+ max-width:300px;
103
+ background: rgba(0, 0, 0, 0.6);
104
+ -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
105
+ -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
106
+ box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
107
+ -webkit-transform: rotate(-3deg);
108
+ -moz-transform: rotate(-3deg);
109
+ -o-transform: rotate(-3deg);
110
+ -ms-transform: rotate(-3deg);
111
+ transform: rotate(-3deg);
112
+ }
113
+ }
114
+ .shadow() when (@shadow = bottomright) {
115
+ position: relative;
116
+
117
+ &:after {
118
+ z-index: -1;
119
+ position: absolute;
120
+ content: "";
121
+ bottom: 15px;
122
+ right: 10px;
123
+ left: auto;
124
+ width: 50%;
125
+ top: 80%;
126
+ max-width:300px;
127
+ background: rgba(0, 0, 0, 0.6);
128
+ -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
129
+ -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
130
+ box-shadow: 0 15px 10px rgba(0, 0, 0, 0.6);
131
+ -webkit-transform: rotate(3deg);
132
+ -moz-transform: rotate(3deg);
133
+ -o-transform: rotate(3deg);
134
+ -ms-transform: rotate(3deg);
135
+ transform: rotate(3deg);
136
+ }
137
+ }
138
+ .shadow() when (@shadow = topbottom) {
139
+ position:relative;
140
+ -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
141
+ -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
142
+ box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
143
+
144
+ &:before,
145
+ &:after {
146
+ content:"";
147
+ position:absolute;
148
+ z-index:-1;
149
+ -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
150
+ -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
151
+ box-shadow:0 0 20px rgba(0,0,0,0.8);
152
+ top:0;
153
+ bottom:0;
154
+ left:10px;
155
+ right:10px;
156
+ -moz-border-radius:100px / 10px;
157
+ border-radius:100px / 10px;
158
+ }
159
+
160
+ &:after {
161
+ right:10px;
162
+ left:auto;
163
+ -webkit-transform:skew(8deg) rotate(3deg);
164
+ -moz-transform:skew(8deg) rotate(3deg);
165
+ -ms-transform:skew(8deg) rotate(3deg);
166
+ -o-transform:skew(8deg) rotate(3deg);
167
+ transform:skew(8deg) rotate(3deg);
168
+ }
169
+ }
170
+ .shadow() when (@shadow = leftright) {
171
+ position:relative;
172
+ -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
173
+ -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
174
+ box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
175
+
176
+ &:before,
177
+ &:after {
178
+ content:"";
179
+ position:absolute;
180
+ z-index:-1;
181
+ -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
182
+ -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
183
+ box-shadow:0 0 20px rgba(0,0,0,0.8);
184
+ top:10px;
185
+ bottom:10px;
186
+ left:0;
187
+ right:0;
188
+ -moz-border-radius:100px / 10px;
189
+ border-radius:100px / 10px;
190
+ }
191
+
192
+ &:after {
193
+ right:10px;
194
+ left:auto;
195
+ -webkit-transform:skew(8deg) rotate(3deg);
196
+ -moz-transform:skew(8deg) rotate(3deg);
197
+ -ms-transform:skew(8deg) rotate(3deg);
198
+ -o-transform:skew(8deg) rotate(3deg);
199
+ transform:skew(8deg) rotate(3deg);
200
+ }
201
+ }
202
+ .shadow() when (@shadow = surround) {
203
+ -webkit-box-shadow:0 0 15px rgba(0, 0, 0, 0.6);
204
+ -moz-box-shadow:0 0 15px rgba(0, 0, 0, 0.6);
205
+ box-shadow:0 0 15px rgba(0, 0, 0, 0.6);
206
+ }
207
+ .shadow();
208
+
209
+ border-radius: @img-bor-rad;
210
+ }
211
+
212
+ img {
213
+ border-radius: @img-bor-rad;
214
+ border-width: @img-bor-width;
215
+ border-color: @img-bor-clr;
216
+ }
217
+
218
+ .iw-so-image-caption {
219
+ border-radius: @img-bor-rad;
220
+
221
+ .iw-so-cap-title {
222
+ color: @cap-clr;
223
+ font-size: @cap-title-size;
224
+
225
+ .title-display() when (@cap-title = 1) {
226
+ visibility: visible;
227
+ opacity: 1;
228
+ }
229
+ .title-display();
230
+ }
231
+
232
+ .iw-so-cap-desc {
233
+ color: @cap-clr;
234
+ font-size: @cap-desc-size;
235
+ }
236
+
237
+ figcaption {
238
+ .cap-design() when (@cap-design = bottom) {
239
+ bottom: 0;
240
+ left: 0;
241
+
242
+ .iw-so-cap-title,
243
+ .iw-so-cap-desc {
244
+ text-align: left;
245
+ }
246
+
247
+ .iw-so-cap-title {
248
+ padding-bottom: 0;
249
+ }
250
+
251
+ .iw-so-cap-desc {
252
+ padding-top: 10px;
253
+ }
254
+ }
255
+ .cap-design() when (@cap-design = center) {
256
+ top: 48%;
257
+ left: 50%;
258
+ -webkit-transform: translate(-50%, -50%);
259
+ -moz-transform: translate(-50%, -50%);
260
+ -ms-transform: translate(-50%, -50%);
261
+ -o-transform: translate(-50%, -50%);
262
+ transform: translate(-50%, -50%);
263
+
264
+ .iw-so-cap-title,
265
+ .iw-so-cap-desc {
266
+ text-align: center;
267
+ }
268
+
269
+ .iw-so-cap-title {
270
+ padding-bottom: 0;
271
+ }
272
+
273
+ .iw-so-cap-desc {
274
+ padding-top: 10px;
275
+ }
276
+ }
277
+ .cap-design() when (@cap-design = topbottom) {
278
+ top: 0;
279
+ left: 0;
280
+ width: 100%;
281
+ height:100%;
282
+
283
+ .iw-so-cap-title,
284
+ .iw-so-cap-desc {
285
+ position: absolute;
286
+ text-align: center;
287
+ width: 100%;
288
+ }
289
+
290
+ .iw-so-cap-title {
291
+ top: 0;
292
+ }
293
+
294
+ .iw-so-cap-desc {
295
+ bottom: 0;
296
+ }
297
+ }
298
+ .cap-design() when (@cap-design = diatop) {
299
+ top: 0;
300
+ left: 0;
301
+ width: 100%;
302
+ height:100%;
303
+
304
+ .iw-so-cap-title,
305
+ .iw-so-cap-desc {
306
+ position: absolute;
307
+ text-align: left;
308
+ width: 100%;
309
+ }
310
+
311
+ .iw-so-cap-title {
312
+ top: 0;
313
+ }
314
+
315
+ .iw-so-cap-desc {
316
+ bottom: 0;
317
+ right: 0;
318
+ max-width: 45%;
319
+ text-align: right;
320
+ }
321
+ }
322
+ .cap-design() when (@cap-design = diabottom) {
323
+ top: 0;
324
+ left: 0;
325
+ width: 100%;
326
+ height:100%;
327
+
328
+ .iw-so-cap-title,
329
+ .iw-so-cap-desc {
330
+ position: absolute;
331
+ width: 100%;
332
+ text-align: right;
333
+ }
334
+
335
+ .iw-so-cap-title {
336
+ bottom: 0;
337
+ }
338
+
339
+ .iw-so-cap-desc {
340
+ top: 0;
341
+ left: 0;
342
+ max-width: 45%;
343
+ }
344
+ }
345
+ .cap-design();
346
+ }
347
+ }
348
+
349
+ .iw-so-img-libox-icon {
350
+ .lb-pos() when (@lb-pos = bottom-left) {
351
+ bottom: 20px;
352
+ left: 20px;
353
+ }
354
+ .lb-pos() when (@lb-pos = bottom-right) {
355
+ bottom: 20px;
356
+ right: 20px;
357
+ }
358
+ .lb-pos() when (@lb-pos = top-left) {
359
+ top: 20px;
360
+ left: 20px;
361
+ }
362
+ .lb-pos() when (@lb-pos = top-right) {
363
+ top: 20px;
364
+ right: 20px;
365
+ }
366
+ .lb-pos() when (@lb-pos = center) {
367
+ top: 48%;
368
+ left: 50%;
369
+ -webkit-transform: translate(-50%, -50%);
370
+ -moz-transform: translate(-50%, -50%);
371
+ -ms-transform: translate(-50%, -50%);
372
+ -o-transform: translate(-50%, -50%);
373
+ transform: translate(-50%, -50%);
374
+ }
375
+ .lb-pos();
376
+
377
+ [class^="sow-icon-"] {
378
+ color: @icon-clr;
379
+ font-size: @icon-size;
380
+ }
381
+
382
+ background: @icon-bg;
383
+ opacity: @icon-o;
384
+ border-radius: @icon-rad;
385
+
386
+ &:hover {
387
+ opacity: @icon-oh;
388
+ }
389
+ }
390
+ }
391
+ }
widgets/ink-imge-widget/tpl/image.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="iw-so-image-wrapper">
2
+ <?php if ( $instance['image']['alignment'] == 'center' ) : ?><center><?php endif; ?>
3
+ <div class="iw-so-image">
4
+
5
+ <div class="iw-so-image-container">
6
+ <?php echo wp_get_attachment_image( $instance['image']['image'], $instance['image']['img-size'] ); ?>
7
+ </div>
8
+
9
+ <div class="iw-so-caption-wrapper">
10
+ <div class="iw-so-image-caption">
11
+ <figcaption>
12
+ <?php echo $instance['caption']['title'] ? '<h3 class="iw-so-cap-title">' . $instance['caption']['title'] . '</h3>' : '' ?>
13
+ <?php echo $instance['caption']['desc'] ? '<p class="iw-so-cap-desc">' . $instance['caption']['desc'] . '</p>' : '' ?>
14
+ </figcaption>
15
+ </div>
16
+ </div>
17
+
18
+ <?php if ( $instance['image']['link-type'] == 'url' ) : ?>
19
+ <a href="<?php echo sow_esc_url( $instance['link']['url'] ) ?>" target="<?php echo $instance['link']['window'] ? _blank : _self ?>"></a>
20
+ <?php elseif ( $instance['image']['link-type'] == 'lightbox' && function_exists( 'wpinked_pro_so_widgets' ) ) : ?>
21
+ <?php $lb_image_url = wp_get_attachment_image_src( $instance['image']['image'], $instance['lightbox']['img-size'], false ) ?>
22
+ <a class="iw-so-image-popup" href="<?php echo $lb_image_url[0] ?>"></a>
23
+ <?php endif; ?>
24
+
25
+ </div>
26
+ <?php if ( $instance['image']['alignment'] == 'center' ) : ?></center><?php endif; ?>
27
+ </div>
widgets/ink-prsn-widget/styles/person.less CHANGED
File without changes
widgets/ink-ptfl-widget/ink-ptfl-widget.php CHANGED
File without changes
widgets/ink-tabb-widget/js/tabs.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){i.fn.iwInitTabs=function(){"use strict";i(".iw-so-tabs").length&&i(".iw-so-tabs").each(function(){i(this).children(".iw-so-tabs-nav").children().hasClass("iw-so-tab-active")||(i(this).children(".iw-so-tabs-nav").children().first().addClass("iw-so-tab-active"),i(this).children(".iw-so-tabs-content").children().first().addClass("iw-so-tab-active")),i(this).find(".iw-so-tabs-nav a").click(function(s){s.preventDefault(),i(this).closest(".iw-so-tabs").find(".iw-so-tab-active").removeClass("iw-so-tab-active"),i(this).parent().addClass("iw-so-tab-active");var t=i(this).attr("href");i(this).closest(".iw-so-tabs").find(t).addClass("iw-so-tab-active")})})}}(jQuery),jQuery(function(i){if(i(document).iwInitTabs(),window.location.hash){var s=i("body").find(window.location.hash);s.hasClass("iw-so-tab-title")&&i(window.location.hash).find("a").trigger("click")}});
1
+ !function(i){i.fn.iwInitTabs=function(){"use strict";i(".iw-so-tabs").length&&i(".iw-so-tabs").each(function(){i(this).children(".iw-so-tabs-nav").children().hasClass("iw-so-tab-active")||(i(this).children(".iw-so-tabs-nav").children().first().addClass("iw-so-tab-active"),i(this).children(".iw-so-tabs-content").children().first().addClass("iw-so-tab-active")),i(this).find(".iw-so-tabs-nav a").click(function(s){s.preventDefault(),i(this).closest(".iw-so-tabs").find(".iw-so-tab-active").removeClass("iw-so-tab-active"),i(this).parent().addClass("iw-so-tab-active");var t=i(this).attr("href");i(this).closest(".iw-so-tabs").find(t).addClass("iw-so-tab-active")})})}}(jQuery),jQuery(function(i){if(i(document).iwInitTabs(),window.location.hash){i("body").find(window.location.hash).hasClass("iw-so-tab-title")&&i(window.location.hash).find("a").trigger("click")}});
widgets/ink-tsml-widget/css/testimonial.css CHANGED
@@ -19,36 +19,71 @@
19
  .iw-so-testimonial.iw-so-testimonial-between .iw-so-testimonial-img {
20
  margin-top: 20px;
21
  margin-bottom: 20px; }
22
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline {
23
  margin-bottom: 20px; }
24
- .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline {
25
  margin-top: 20px; }
26
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline {
27
  position: relative;
28
  text-align: center; }
29
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline::after, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline::after {
30
  clear: both;
31
  content: "";
32
  display: table; }
33
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-message p, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-message p {
34
  margin-bottom: 0; }
35
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper {
36
  display: inline-block;
37
  position: relative;
38
  padding-bottom: 15px; }
39
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper img, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper img {
40
  position: absolute;
41
  left: 0; }
42
  .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-name,
43
  .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-company, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-name,
44
- .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-company {
 
 
45
  margin-left: 70px; }
46
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-left .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-left .iw-so-testimonial-byline-wrapper {
47
  float: left; }
48
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-right .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-right .iw-so-testimonial-byline-wrapper {
49
  float: right; }
50
- .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-center .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-center .iw-so-testimonial-byline-wrapper {
51
  margin: 0 auto; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  .iw-so-testimonial .iw-so-testimonial-img img {
53
  display: block;
54
  vertical-align: top;
19
  .iw-so-testimonial.iw-so-testimonial-between .iw-so-testimonial-img {
20
  margin-top: 20px;
21
  margin-bottom: 20px; }
22
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline {
23
  margin-bottom: 20px; }
24
+ .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline {
25
  margin-top: 20px; }
26
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline {
27
  position: relative;
28
  text-align: center; }
29
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline::after, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline::after, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline::after, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline::after {
30
  clear: both;
31
  content: "";
32
  display: table; }
33
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-message p, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-message p, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline .iw-so-testimonial-message p, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline .iw-so-testimonial-message p {
34
  margin-bottom: 0; }
35
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper {
36
  display: inline-block;
37
  position: relative;
38
  padding-bottom: 15px; }
39
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper img, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper img, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper img, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper img {
40
  position: absolute;
41
  left: 0; }
42
  .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-name,
43
  .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-company, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-name,
44
+ .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-company, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-name,
45
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-company, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-name,
46
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline .iw-so-testimonial-byline-wrapper.iw-so-testimonial-has-image .iw-so-testimonial-company {
47
  margin-left: 70px; }
48
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-left .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-left .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-left .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-left .iw-so-testimonial-byline-wrapper {
49
  float: left; }
50
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-right .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-right .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-right .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-right .iw-so-testimonial-byline-wrapper {
51
  float: right; }
52
+ .iw-so-testimonial.iw-so-testimonial-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-center .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-center .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-byline.iw-so-testi-iw-text-center .iw-so-testimonial-byline-wrapper, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-byline.iw-so-testi-iw-text-center .iw-so-testimonial-byline-wrapper {
53
  margin: 0 auto; }
54
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-content, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-content {
55
+ position: relative; }
56
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-content:before, .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-content:before {
57
+ position: absolute;
58
+ display: block;
59
+ width: 14px;
60
+ height: 14px;
61
+ content: "";
62
+ -webkit-transform: rotate(45deg);
63
+ -moz-transform: rotate(45deg);
64
+ -ms-transform: rotate(45deg);
65
+ -o-transform: rotate(45deg);
66
+ transform: rotate(45deg); }
67
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-content:before {
68
+ top: -8px;
69
+ border-bottom: none !important;
70
+ border-right: none !important; }
71
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-content.boxed-iw-text-left:before {
72
+ left: 15%; }
73
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-content.boxed-iw-text-right:before {
74
+ right: 15%; }
75
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-above .iw-so-testimonial-content.boxed-iw-text-center:before {
76
+ left: 48%; }
77
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-content:before {
78
+ bottom: -8px;
79
+ border-top: none !important;
80
+ border-left: none !important; }
81
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-content.boxed-iw-text-left:before {
82
+ left: 15%; }
83
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-content.boxed-iw-text-right:before {
84
+ right: 15%; }
85
+ .iw-so-testimonial.iw-so-testimonial-boxed-by-below .iw-so-testimonial-content.boxed-iw-text-center:before {
86
+ left: 48%; }
87
  .iw-so-testimonial .iw-so-testimonial-img img {
88
  display: block;
89
  vertical-align: top;
widgets/ink-tsml-widget/ink-tsml-widget.php CHANGED
@@ -104,6 +104,8 @@ class Inked_Testimonial_SO_Widget extends SiteOrigin_Widget {
104
  'right' => __( 'Image to the right', 'wpinked-widgets' ),
105
  'by-above' => __( 'Byline above', 'wpinked-widgets' ),
106
  'by-below' => __( 'Byline below', 'wpinked-widgets' ),
 
 
107
  )
108
  ),
109
 
@@ -157,7 +159,19 @@ class Inked_Testimonial_SO_Widget extends SiteOrigin_Widget {
157
  'type' => 'checkbox',
158
  'label' => __( 'Remove testimonial padding', 'wpinked-widgets' ),
159
  'default' => false
160
- )
 
 
 
 
 
 
 
 
 
 
 
 
161
 
162
  )
163
  ),
@@ -186,13 +200,15 @@ class Inked_Testimonial_SO_Widget extends SiteOrigin_Widget {
186
  if( empty( $instance ) ) return array();
187
 
188
  return array(
189
- 'design' => $instance['styling']['design'],
190
- 'bg' => $instance['styling']['background'],
191
- 'img-r' => $instance['styling']['img-radius'],
192
- 'img-w' => $instance['styling']['img-width'],
193
- 'name' => $instance['styling']['name'],
194
- 'company' => $instance['styling']['company'],
195
- 'padding' => $instance['styling']['padding']
 
 
196
  );
197
  }
198
 
104
  'right' => __( 'Image to the right', 'wpinked-widgets' ),
105
  'by-above' => __( 'Byline above', 'wpinked-widgets' ),
106
  'by-below' => __( 'Byline below', 'wpinked-widgets' ),
107
+ 'boxed-by-above' => __( 'Boxed byline above', 'wpinked-widgets' ),
108
+ 'boxed-by-below' => __( 'Boxed byline below', 'wpinked-widgets' ),
109
  )
110
  ),
111
 
159
  'type' => 'checkbox',
160
  'label' => __( 'Remove testimonial padding', 'wpinked-widgets' ),
161
  'default' => false
162
+ ),
163
+
164
+ 'boxed-background' => array(
165
+ 'type' => 'color',
166
+ 'label' => __( 'Boxed Background Color', 'wpinked-widgets' ),
167
+ 'default' => ''
168
+ ),
169
+
170
+ 'boxed-border' => array(
171
+ 'type' => 'color',
172
+ 'label' => __( 'Boxed Border Color', 'wpinked-widgets' ),
173
+ 'default' => ''
174
+ ),
175
 
176
  )
177
  ),
200
  if( empty( $instance ) ) return array();
201
 
202
  return array(
203
+ 'design' => $instance['styling']['design'],
204
+ 'bg' => $instance['styling']['background'],
205
+ 'img-r' => $instance['styling']['img-radius'],
206
+ 'img-w' => $instance['styling']['img-width'],
207
+ 'name' => $instance['styling']['name'],
208
+ 'company' => $instance['styling']['company'],
209
+ 'padding' => $instance['styling']['padding'],
210
+ 'box-bg' => $instance['styling']['boxed-background'],
211
+ 'box-border' => $instance['styling']['boxed-border'],
212
  );
213
  }
214
 
widgets/ink-tsml-widget/styles/testimonial.less CHANGED
@@ -7,6 +7,8 @@
7
  @company: '';
8
  @design: 'above';
9
  @padding: 0;
 
 
10
 
11
  .iw-so-testimonial {
12
  background: @bg;
@@ -55,4 +57,18 @@
55
  }
56
  }
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
7
  @company: '';
8
  @design: 'above';
9
  @padding: 0;
10
+ @box-bg: transparent;
11
+ @box-border: transparent;
12
 
13
  .iw-so-testimonial {
14
  background: @bg;
57
  }
58
  }
59
 
60
+ &.iw-so-testimonial-boxed-by-above,
61
+ &.iw-so-testimonial-boxed-by-below {
62
+ .iw-so-testimonial-content {
63
+ background: @box-bg;
64
+ border: 1px solid @box-border;
65
+ border-radius: 5px;
66
+
67
+ &:before {
68
+ background: @box-bg;
69
+ border: 1px solid @box-border;
70
+ }
71
+ }
72
+ }
73
+
74
  }