Gallery – Photo Gallery and Images Gallery - Version 3.1.5

Version Description

  • Fixed lightbox right click content protection fix
  • Added doublicate post option
  • Added new draft option
Download this release

Release Info

Developer robosoft
Plugin Icon 128x128 Gallery – Photo Gallery and Images Gallery
Version 3.1.5
Comparing to
See all releases

Code changes from version 3.1.4 to 3.1.5

Files changed (119) hide show
  1. app/app.php +1 -1
  2. app/class.brand.php +1 -1
  3. app/class.listing.php +1 -1
  4. app/class.php +1 -1
  5. app/class.restapi.php +1 -1
  6. app/class.utils.php +1 -1
  7. app/class.view.php +1 -1
  8. app/extensions/dashboard/assets/style.css +1 -1
  9. app/extensions/dashboard/class.dashboard.php +1 -1
  10. app/extensions/dashboard/init.php +1 -1
  11. app/extensions/dashboard/overview.php +1 -1
  12. app/extensions/dashboard/video_guide.php +1 -1
  13. app/extensions/duplicate/class.duplicate.php +2 -4
  14. app/extensions/duplicate/init.php +2 -2
  15. app/extensions/fields/asset/core/js/app.js +1 -1
  16. app/extensions/fields/asset/fields/gallery/js/gallery.lib.min.js +1 -1
  17. app/extensions/fields/asset/fields/gallery/js/script.min.js +1 -1
  18. app/extensions/fields/asset/help/help.js +1 -1
  19. app/extensions/fields/config/main.php +1 -1
  20. app/extensions/fields/config/metabox/gallery_slider_animation.php +1 -1
  21. app/extensions/fields/config/metabox/gallery_slider_content.php +1 -1
  22. app/extensions/fields/config/metabox/gallery_slider_general.php +1 -1
  23. app/extensions/fields/config/metabox/gallery_slider_interface.php +1 -1
  24. app/extensions/fields/config/metabox/gallery_slider_lazyload.php +1 -1
  25. app/extensions/fields/config/metabox/gallery_type.php +1 -1
  26. app/extensions/fields/config/metabox/gallery_youtube.php +1 -1
  27. app/extensions/fields/config/metabox/image.php +1 -1
  28. app/extensions/fields/config/metabox/shortcode.php +1 -1
  29. app/extensions/fields/config/metabox/update_notice.php +1 -1
  30. app/extensions/fields/include/roboGalleryFields.php +1 -1
  31. app/extensions/fields/include/roboGalleryFieldsAjax.php +1 -1
  32. app/extensions/fields/include/roboGalleryFieldsConfig.php +1 -1
  33. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php +1 -1
  34. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php +1 -1
  35. app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderPhp.php +1 -1
  36. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsField.php +1 -1
  37. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php +1 -1
  38. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroup.php +1 -1
  39. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupButton.php +1 -1
  40. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php +1 -1
  41. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldGalleryType.php +1 -1
  42. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldHtml.php +1 -1
  43. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldSelectMultiple.php +1 -1
  44. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldText.php +1 -1
  45. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextColor.php +1 -1
  46. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextSlider.php +1 -1
  47. app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldThemes.php +1 -1
  48. app/extensions/fields/include/roboGalleryFieldsFieldFactory.php +1 -1
  49. app/extensions/fields/include/roboGalleryFieldsHelper.php +1 -1
  50. app/extensions/fields/include/roboGalleryFieldsMetaBoxClass.php +1 -1
  51. app/extensions/fields/include/roboGalleryFieldsView.php +1 -1
  52. app/extensions/fields/init.php +1 -1
  53. app/extensions/fields/template/content/gallery_type/content.tpl.php +1 -1
  54. app/extensions/fields/template/field/text/images.tpl.php +1 -1
  55. app/extensions/galleryType/css/theme.edit.css +1 -1
  56. app/extensions/galleryType/css/themes.listing.css +1 -1
  57. app/extensions/galleryType/init.php +1 -1
  58. app/extensions/galleryType/initThemeOptions.php +1 -1
  59. app/extensions/imageResize/init.php +1 -1
  60. app/extensions/manager/class.addons.action.php +1 -1
  61. app/extensions/manager/class.addons.php +1 -1
  62. app/extensions/manager/css/style.css +1 -1
  63. app/extensions/manager/init.php +1 -1
  64. app/extensions/manager/js/script.js +1 -1
  65. cmb2/fields/colums/cmb-field-colums.php +1 -1
  66. cmb2/fields/rbsgallery/cmb-field-rbsgallery.php +1 -1
  67. cmb2/fields/rbstext/cmb-field-rbstext.php +1 -1
  68. cmb2/fields/rbstextarea/cmb-field-rbstextarea.php +1 -1
  69. includes/frontend/modules/base-grid/assets.php +1 -1
  70. includes/frontend/modules/base-grid/effects.set1.php +1 -1
  71. includes/frontend/modules/base-grid/grid/grid.columns.v1.php +1 -1
  72. includes/frontend/modules/base-grid/grid/grid.v1.php +1 -1
  73. includes/frontend/modules/base-grid/hover.v1.php +1 -1
  74. includes/frontend/modules/base-grid/layout.v1.php +1 -1
  75. includes/frontend/modules/base-grid/lightbox.php +1 -1
  76. includes/frontend/modules/base-grid/menu/menu.php +1 -1
  77. includes/frontend/modules/base-grid/polaroid.php +1 -1
  78. includes/frontend/modules/base-grid/resize.php +1 -1
  79. includes/frontend/modules/base-grid/search.php +1 -1
  80. includes/frontend/modules/base-grid/seo.php +1 -1
  81. includes/frontend/modules/base-grid/size.php +1 -1
  82. includes/frontend/modules/base-grid/tags.php +1 -1
  83. includes/frontend/modules/class/abstraction.php +1 -1
  84. includes/frontend/modules/class/addtexts.php +1 -1
  85. includes/frontend/modules/class/assets.php +1 -1
  86. includes/frontend/modules/class/cache.php +1 -1
  87. includes/frontend/modules/class/cachedb.php +1 -1
  88. includes/frontend/modules/class/config.php +1 -1
  89. includes/frontend/modules/class/customcss.php +1 -1
  90. includes/frontend/modules/class/element.php +1 -1
  91. includes/frontend/modules/class/jsoptions.php +1 -1
  92. includes/frontend/modules/class/loader.php +1 -1
  93. includes/frontend/modules/class/protection.php +4 -1
  94. includes/frontend/modules/class/source/class.source.php +1 -1
  95. includes/frontend/modules/class/source/type/base.php +1 -1
  96. includes/frontend/modules/class/source/type/slider.php +1 -1
  97. includes/frontend/modules/class/source/type/youtube.php +1 -1
  98. includes/frontend/modules/class/stats.php +1 -1
  99. includes/frontend/modules/core.php +1 -1
  100. includes/frontend/modules/init.php +1 -1
  101. includes/frontend/modules/slider/assets.php +1 -1
  102. includes/frontend/modules/slider/content.php +1 -1
  103. includes/frontend/modules/slider/layout.php +1 -1
  104. includes/frontend/modules/slider/options.php +1 -1
  105. includes/frontend/rbs_gallery_class.php +1 -1
  106. includes/frontend/rbs_gallery_frontend.php +1 -1
  107. includes/options/rbs_gallery_options_copy.php +1 -1
  108. includes/options/rbs_gallery_options_css.php +1 -1
  109. includes/rbs_gallery_init.php +1 -1
  110. includes/rbs_gallery_media.php +1 -1
  111. includes/rbs_gallery_menu.php +1 -1
  112. includes/rbs_gallery_settings.php +1 -1
  113. includes/rbs_gallery_widget.php +1 -1
  114. includes/rbs_gallery_widget_last.php +1 -1
  115. js/admin/edit.js +1 -1
  116. js/robo_gallery.js +2 -2
  117. js/robo_gallery_alt.js +2 -2
  118. readme.txt +11 -6
  119. robogallery.php +2 -2
app/app.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.6 - 71791
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
app/class.brand.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.6 - 71791
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
app/class.listing.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.restapi.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.utils.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/class.view.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.6 - 71791
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
app/extensions/dashboard/assets/style.css CHANGED
@@ -1,7 +1,7 @@
1
 
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
 
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/class.dashboard.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/overview.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/dashboard/video_guide.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/duplicate/class.duplicate.php CHANGED
@@ -4,8 +4,6 @@
4
  if ( ! defined( 'WPINC' ) ) die;
5
  if ( ! defined( 'ABSPATH' ) ){ exit; }
6
 
7
- if ( class_exists( 'rbsGalleryDuplicate' ) ) return ;
8
-
9
  class rbsGalleryDuplicate{
10
 
11
  public function __construct(){
@@ -25,14 +23,14 @@ class rbsGalleryDuplicate{
25
  public function makeCopyLinkRow($actions, $post){
26
  if( $this->isAllowedCopy() && $this->isGallryPostType( $post->post_type ) ){
27
  $actions['clone'] = '<a href="'.$this->getCopyLink( $post->ID , 'display', false) .'" title="'.esc_attr(__("Clone this item", 'robo-gallery')). '">' .__('Clone', 'robo-gallery') .'</a>';
 
28
  $actions['edit_as_new_draft'] = '<a href="'.$this->getCopyLink( $post->ID ) .'" title="'.esc_attr(__('Copy to a new draft', 'robo-gallery')).'">' .__('New Draft', 'robo-gallery') .'</a>';
29
  }
30
  return $actions;
31
  }
32
 
33
  function isAllowedCopy(){
34
- //return current_user_can('copy_posts');
35
- return true;
36
  }
37
 
38
  function isGallryPostType( $post_type ){
4
  if ( ! defined( 'WPINC' ) ) die;
5
  if ( ! defined( 'ABSPATH' ) ){ exit; }
6
 
 
 
7
  class rbsGalleryDuplicate{
8
 
9
  public function __construct(){
23
  public function makeCopyLinkRow($actions, $post){
24
  if( $this->isAllowedCopy() && $this->isGallryPostType( $post->post_type ) ){
25
  $actions['clone'] = '<a href="'.$this->getCopyLink( $post->ID , 'display', false) .'" title="'.esc_attr(__("Clone this item", 'robo-gallery')). '">' .__('Clone', 'robo-gallery') .'</a>';
26
+
27
  $actions['edit_as_new_draft'] = '<a href="'.$this->getCopyLink( $post->ID ) .'" title="'.esc_attr(__('Copy to a new draft', 'robo-gallery')).'">' .__('New Draft', 'robo-gallery') .'</a>';
28
  }
29
  return $actions;
30
  }
31
 
32
  function isAllowedCopy(){
33
+ return current_user_can('edit_posts');
 
34
  }
35
 
36
  function isGallryPostType( $post_type ){
app/extensions/duplicate/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -12,4 +12,4 @@
12
 
13
  if ( ! defined( 'WPINC' ) ) exit;
14
 
15
- include_once plugin_dir_path( __FILE__ ).'class.duplicate.php';
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
12
 
13
  if ( ! defined( 'WPINC' ) ) exit;
14
 
15
+ include_once dirname( __FILE__ ).'/class.duplicate.php';
app/extensions/fields/asset/core/js/app.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/fields/asset/fields/gallery/js/gallery.lib.min.js CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
 
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  /*
2
 
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/asset/fields/gallery/js/script.min.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/fields/asset/help/help.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/fields/config/main.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_animation.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_content.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_general.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_interface.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_slider_lazyload.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_type.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/gallery_youtube.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/image.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/shortcode.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/config/metabox/update_notice.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFields.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsAjax.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReader.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderInterface.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsConfig/roboGalleryFieldsConfigReaderPhp.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsField.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroup.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupButton.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldCheckboxGroupSwitch.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldGalleryType.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldHtml.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldSelectMultiple.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldText.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextColor.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldTextSlider.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsField/roboGalleryFieldsFieldThemes.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsFieldFactory.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsHelper.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsMetaBoxClass.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/include/roboGalleryFieldsView.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/template/content/gallery_type/content.tpl.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/fields/template/field/text/images.tpl.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/galleryType/css/theme.edit.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/galleryType/css/themes.listing.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/galleryType/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/galleryType/initThemeOptions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/imageResize/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/class.addons.action.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/class.addons.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/css/style.css CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
app/extensions/manager/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
app/extensions/manager/js/script.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
cmb2/fields/colums/cmb-field-colums.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
cmb2/fields/rbsgallery/cmb-field-rbsgallery.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
cmb2/fields/rbstext/cmb-field-rbstext.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
cmb2/fields/rbstextarea/cmb-field-rbstextarea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/assets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/effects.set1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/grid/grid.columns.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/grid/grid.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/hover.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/layout.v1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/lightbox.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/menu/menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/polaroid.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/resize.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/search.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/seo.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/size.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/base-grid/tags.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/abstraction.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/addtexts.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/assets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/cache.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/cachedb.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/customcss.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/element.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/jsoptions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/loader.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/protection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
@@ -24,5 +24,8 @@ class roboGalleryModuleProtection extends roboGalleryModuleAbstraction{
24
  $this->core->element->setElementAttr('robo-gallery-wrap', 'oncontextmenu', 'return false');
25
  $this->core->element->setElementAttr('robo-gallery-wrap', 'onselectstart', 'return false');
26
  $this->core->element->setElementAttr('robo-gallery-wrap', 'ondragstart', 'return false');
 
 
 
27
  }
28
  }
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
24
  $this->core->element->setElementAttr('robo-gallery-wrap', 'oncontextmenu', 'return false');
25
  $this->core->element->setElementAttr('robo-gallery-wrap', 'onselectstart', 'return false');
26
  $this->core->element->setElementAttr('robo-gallery-wrap', 'ondragstart', 'return false');
27
+
28
+ $this->jsOptions->setValue( 'protectionEnable', true );
29
+
30
  }
31
  }
includes/frontend/modules/class/source/class.source.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/source/type/base.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.6 - 71791
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
includes/frontend/modules/class/source/type/slider.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.6 - 71791
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
includes/frontend/modules/class/source/type/youtube.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/class/stats.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/core.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/assets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/content.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/layout.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/modules/slider/options.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/rbs_gallery_class.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/frontend/rbs_gallery_frontend.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /*
4
  * Robo Gallery
5
- * Version: 3.1.16 - 28519
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
2
 
3
  /*
4
  * Robo Gallery
5
+ * Version: 3.1.6 - 71791
6
  * By Robosoft
7
  *
8
  * Contact: https://robogallery.co/
includes/options/rbs_gallery_options_copy.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/options/rbs_gallery_options_css.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_media.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_settings.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_widget.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
includes/rbs_gallery_widget_last.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Robo Gallery
4
- * Version: 3.1.16 - 28519
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
1
  <?php
2
  /*
3
  * Robo Gallery
4
+ * Version: 3.1.6 - 71791
5
  * By Robosoft
6
  *
7
  * Contact: https://robogallery.co/
js/admin/edit.js CHANGED
@@ -1,6 +1,6 @@
1
  /*
2
  * Robo Gallery
3
- * Version: 3.1.16 - 28519
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
1
  /*
2
  * Robo Gallery
3
+ * Version: 3.1.6 - 71791
4
  * By Robosoft
5
  *
6
  * Contact: https://robogallery.co/
js/robo_gallery.js CHANGED
@@ -56,7 +56,7 @@ jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeO
56
  /*! Magnific Popup - v1.0.0 - 2015-01-03
57
  * http://dimsemenov.com/plugins/magnific-popup/
58
  * Copyright (c) 2015 Dmitry Semenov; */
59
- !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.rbjQuer||window.jQuery||window.Zepto)}(function(c){function e(){}function d(e,t){m.ev.on(n+e+w,t)}function u(e,t,n,i){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),i?t&&t.appendChild(o):(o=c(o),t&&o.appendTo(t)),o}function p(e,t){m.ev.triggerHandler(n+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e]&&m.st.callbacks[e].apply(m,c.isArray(t)?t:[t]))}function f(e){return e===t&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),t=e),m.currTemplate.closeBtn}function a(){c.magnificPopup.instance||((m=new e).init(),c.magnificPopup.instance=m)}var m,i,g,o,h,t,l="Close",v="BeforeClose",C="MarkupParse",y="Open",r="Change",n="mfp",w="."+n,b="mfp-ready",s="mfp-removing",I="mfp-prevent-close",x=!!window.jQuery,k=c(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isIE7=-1!==e.indexOf("MSIE 7."),m.isIE8=-1!==e.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,i=0;i<n.length;i++)if((t=(t=n[i]).parsed?t.el[0]:t)===e.el[0]){m.index=i;break}}else m.items=c.isArray(e.items)?e.items:[e.items],m.index=e.index||0;var o=e.items[m.index];if(!c(o).hasClass("mfp-link")){if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=u("bg").on("click"+w,function(){m.close()}),m.wrap=u("wrap").attr("tabindex",-1).on("click"+w,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=u("container",m.wrap)),m.contentContainer=u("content"),m.st.preloader&&(m.preloader=u("preloader",m.container,m.st.tLoading));var a=c.magnificPopup.modules;for(i=0;i<a.length;i++){var r=(r=a[i]).charAt(0).toUpperCase()+r.slice(1);m["init"+r].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(d(C,function(e,t,n,i){n.close_replaceWith=f(i.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+w,function(e){27===e.keyCode&&m.close()}),k.on("resize"+w,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var s=m.wH=k.height(),o={};m.fixedContentPos&&(!m._hasScrollBar(s)||(l=m._getScrollbarSize())&&(o.marginRight=l)),m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):o.overflow="hidden");var l=m.st.mainClass;return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),p("BuildControls"),c("html").css(o),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(b),m._setFocus()):m.bgOverlay.addClass(b),g.on("focusin"+w,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(s),p(y),e}m.updateItemHTML()}},close:function(){m.isOpen&&(p(v),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(s),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(l);var e=s+" "+b+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),g.off("keyup.mfp focusin"+w),m.ev.off(w),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m._lastFocusedEl&&c(m._lastFocusedEl).focus(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,m.wrap.css("height",t),m.wH=t):m.wH=e||k.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var e=m.items[m.index];m.contentContainer.detach(),m.content&&m.content.detach();var t=(e=!e.parsed?m.parseEl(m.index):e).type;p("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,p("FirstMarkupParse",n),m.currTemplate[t]=!n||c(n)),o&&o!==e.type&&m.container.removeClass("mfp-"+o+"-holder");var n=m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]);m.appendContent(n,t),e.preloaded=!0,p(r,e),o=e.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:c(n)}:(t=n.type,{data:n,src:n.src})).el){for(var i=m.types,o=0;o<i.length;o++)if(n.el.hasClass("mfp-"+i[o])){t=i[o];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,p("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var i="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,e)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,e):(n.items=t).off(i).on(i,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n:c.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var i=(void 0!==n.disableOn?n:c.magnificPopup.defaults).disableOn;if(i)if(c.isFunction(i)){if(!i.call(m))return!0}else if(k.width()<i)return!0;e.type&&(e.preventDefault(),m.isOpen&&e.stopPropagation()),n.el=c(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(i!==e&&m.container.removeClass("mfp-s-"+i),n={status:e,text:t=!t&&"loading"===e?m.st.tLoading:t},p("UpdateStatus",n),e=n.status,m.preloader.html(t=n.text),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),i=e)},_checkIfClose:function(e){if(!c(e).hasClass(I)){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||c(e).hasClass("mfp-close")||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||c.contains(m.content[0],e)){if(t)return!0}else if(n&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||k.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!c.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(o,e,t){var a;t.data&&(e=c.extend(t.data,e)),p(C,[o,e,t]),c.each(e,function(e,t){return void 0===t||!1===t||void(1<(a=e.split("_")).length?0<(n=o.find(w+"-"+a[0])).length&&("replaceWith"===(i=a[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith('<img src="'+t+'" class="'+n.attr("class")+'" />'):n.attr(a[1],t)):o.find(w+"-"+e).html(t));var n,i})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},c.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return a(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},c.fn.magnificPopup=function(e){a();var t,n,i,o=c(this);return"string"==typeof e?"open"===e?(t=x?o.data("magnificPopup"):o[0].magnificPopup,n=parseInt(arguments[1],10)||0,i=t.items?t.items[n]:(i=o,(i=t.delegate?i.find(t.delegate):i).eq(n)),m._openClick({mfpEl:i},o,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),x?o.data("magnificPopup",e):o[0].magnificPopup=e,m.addGroup(o,e)),o};function T(){S&&(E.after(S.addClass(_)).detach(),S=null)}var _,E,S,P="inline";c.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(P),d(l+"."+P,function(){T()})},getInline:function(e,t){if(T(),e.src){var n,i=m.st.inline,o=c(e.src);return o.length?((n=o[0].parentNode)&&n.tagName&&(E||(_=i.hiddenClass,E=u(_),_="mfp-"+_),S=o.after(E).detach().removeClass(_)),m.updateStatus("ready")):(m.updateStatus("error",i.tNotFound),o=c("<div>")),e.inlineElement=o}return m.updateStatus("ready"),m._parseMarkup(t,{},e),t}}});function z(){M&&c(document.body).removeClass(M)}function O(){z(),m.req&&m.req.abort()}var M,B="ajax";c.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(B),M=m.st.ajax.cursor,d(l+"."+B,O),d("BeforeChange."+B,O)},getAjax:function(i){M&&c(document.body).addClass(M),m.updateStatus("loading");var e=c.extend({url:i.src,success:function(e,t,n){n={data:e,xhr:n};p("ParseAjax",n),m.appendContent(c(n.data),B),i.finished=!0,z(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){z(),i.finished=i.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",i.src))}},m.st.ajax.settings);return m.req=c.ajax(e),""}}});var F;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),d(y+t,function(){"image"===m.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d(l+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),k.off("resize"+w)}),d("Resize"+t,m.resizeImage),m.isLowIE&&d("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],o=function(e){F&&clearInterval(F),F=setInterval(function(){0<i.naturalWidth?m._onImageHasSize(t):(200<n&&clearInterval(F),3===++n?o(10):40===n?o(50):100===n&&o(500))},e)};o(1)},getImage:function(e,t){if(!(s=e.el).length||!s.hasClass("mfp-link")){var n,i=0,o=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++i<200?setTimeout(o,100):a())},a=function(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",r.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=m.st.image,s=t.find(".mfp-img");return(s.length&&((n=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(n.alt=e.el.find("img").attr("alt")),e.img=c(n).on("load.mfploader",o).on("error.mfploader",a),n.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(n=e.img[0]).naturalWidth?e.hasSize=!0:n.width||(e.hasSize=!1)),m._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize)?(F&&clearInterval(F),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",r.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready")),t):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e)),t)}m.close()}}});var H;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,i,o,a,r=m.st.zoom,s=".zoom";r.enabled&&m.supportsTransition&&(t=r.duration,n=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+r.duration/1e3+"s "+r.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},e="transition";return i["-webkit-"+e]=i["-moz-"+e]=i["-o-"+e]=i[e]=n,t.css(i),t},i=function(){m.content.css("visibility","visible")},d("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(o),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((a=n(e)).css(m._getOffset()),m.wrap.append(a),o=setTimeout(function(){a.css(m._getOffset(!0)),o=setTimeout(function(){i(),setTimeout(function(){a.remove(),e=a=null,p("ZoomAnimationEnded")},16)},t)},16)):i())}),d(v+s,function(){if(m._allowZoom()){if(clearTimeout(o),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;a=n(e)}a.css(m._getOffset(!0)),m.wrap.append(a),m.content.css("visibility","hidden"),setTimeout(function(){a.css(m._getOffset())},16)}}),d(l+s,function(){m._allowZoom()&&(i(),a&&a.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var t=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),n=t.offset(),i=parseInt(t.css("padding-top"),10),e=parseInt(t.css("padding-bottom"),10);n.top-=c(window).scrollTop()-i;i={width:t.width(),height:(x?t.innerHeight():t[0].offsetHeight)-e-i};return(H=void 0===H?void 0!==document.createElement("p").style.MozTransform:H)?i["-moz-transform"]=i.transform="translate("+n.left+"px,"+n.top+"px)":(i.left=n.left,i.top=n.top),i}}});function L(e){var t;!m.currTemplate[A]||(t=m.currTemplate[A].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8&&t.css("display",e?"block":"none"))}var A="iframe";c.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),d("BeforeChange",function(e,t,n){t!==n&&(t===A?L():n===A&&L(!0))}),d(l+"."+A,function(){L()})},getIframe:function(e,t){var n=e.src,i=m.st.iframe;c.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var o={};return i.srcAction&&(o[i.srcAction]=n),m._parseMarkup(t,o,e),m.updateStatus("ready"),t}}});function j(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var a=m.st.gallery,e=".mfp-gallery",i=Boolean(c.fn.mfpFastClick);if(m.direction=!0,!a||!a.enabled)return!1;h+=" mfp-gallery",d(y+e,function(){a.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?m.prev():39===e.keyCode&&m.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,m.currItem.index,m.items.length))}),d(C+e,function(e,t,n,i){var o=m.items.length;n.counter=1<o?N(a.tCounter,i.index,o):""}),d("BuildControls"+e,function(){var e,t,n;1<m.items.length&&a.arrows&&!m.arrowLeft&&(n=a.arrowMarkup,e=m.arrowLeft=c(n.replace(/%title%/gi,a.tPrev).replace(/%dir%/gi,"left")).addClass(I),t=m.arrowRight=c(n.replace(/%title%/gi,a.tNext).replace(/%dir%/gi,"right")).addClass(I),e[n=i?"mfpFastClick":"click"](function(){m.prev()}),t[n](function(){m.next()}),m.isIE7&&(u("b",e[0],!1,!0),u("a",e[0],!1,!0),u("b",t[0],!1,!0),u("a",t[0],!1,!0)),m.container.append(e.add(t)))}),d(r+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),d(l+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowLeft&&i&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=j(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=j(m.index-1),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),i=1;i<=(m.direction?n:t);i++)m._preloadItem(m.index+i);for(i=1;i<=(m.direction?t:n);i++)m._preloadItem(m.index-i)},_preloadItem:function(e){var t;e=j(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}});var W,R,Z="retina";function q(){k.off("touchmove"+R+" touchend"+R)}c.magnificPopup.registerModule(Z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,i;1<window.devicePixelRatio&&(n=m.st.retina,i=n.ratio,1<(i=isNaN(i)?i():i)&&(d("ImageHasSize."+Z,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse."+Z,function(e,t){t.src=n.replaceSrc(t,i)})))}}}),W="ontouchstart"in window,R=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var t,n,i,o,a,r,s,e=c(this);W&&e.on("touchstart"+R,function(e){a=!1,s=1,r=(e.originalEvent||e).touches[0],i=r.clientX,o=r.clientY,k.on("touchmove"+R,function(e){r=(e.originalEvent||e).touches,s=r.length,r=r[0],(10<Math.abs(r.clientX-i)||10<Math.abs(r.clientY-o))&&(a=!0,q())}).on("touchend"+R,function(e){q(),a||1<s||(t=!0,e.preventDefault(),clearTimeout(n),n=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+R,function(){t||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+R+" click"+R),W&&k.off("touchmove"+R+" touchend"+R)},a()});
60
  /*
61
  * @fileOverview TouchSwipe - jQuery Plugin
62
  * @version 1.6.15
@@ -70,7 +70,7 @@ jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeO
70
  Licensed under the MIT license - http://opensource.org/licenses/MIT
71
  Copyright (C) 2015 Andrew Prasetya
72
  */
73
- !function(S,P,E){function n(t,e){var m=P.extend({},P.fn.collagePlus.defaults,e),f=P(t).addClass("rbs-imges-container"),u=".rbs-img",g=".rbs-img-image",o="rbs-img",p="rbs-img-hidden",h=ModernizrL.csstransitions?"transition":"animate",i={},n=0;"default"==m.overlayEasing&&(m.overlayEasing="transition"==h?"_default":"swing");var s=P('<div class="rbs-imges-load-more button"></div>').insertAfter(f);function b(o,n){function i(t){var e=P(t.img),i=e.parents(".image-with-dimensions");i[0]!=E&&(t.isLoaded?e.fadeIn(400,function(){i.removeClass("image-with-dimensions")}):(i.removeClass("image-with-dimensions"),e.hide(),i.addClass("broken-image-here")))}o.find(u).find(g+":not([data-imageconverted])").each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0),a=e.data("thumbnail");e[0]==E&&(a=(e=i).data("popup")),(0!=n||0!=o.data("settings").waitForAllThumbsNoMatterWhat||e.data("width")==E&&e.data("height")==E)&&(t.attr("data-imageconverted","yes"),t=e.attr("title"),a=P('<img style="margin:auto !important;" alt="'+(t=t==E?a:t)+'" title="'+t+'" src="'+a+'" />'),1==n&&(a.attr("data-dont-wait-for-me","yes"),e.addClass("image-with-dimensions"),o.data("settings").waitUntilThumbLoads&&a.hide()),e.addClass("rbs-img-thumbnail-container").prepend(a))}),1==n&&o.find(".image-with-dimensions").imagesLoadedMB().always(function(t){for(index in t.images)i(t.images[index])}).progress(function(t,e){i(e)})}function v(n){n.find(u).each(function(){var t=P(this),e=t.find(g),i=e.find("div[data-thumbnail]").eq(0),a=e.find("div[data-popup]").eq(0);i[0]==E&&(i=a);var o=t.css("display");"none"==o&&t.css("margin-top",99999999999999).show();a=2*n.data("settings").borderSize;e.width(i.width()-a),e.height(i.height()-a),"none"==o&&t.css("margin-top",0).hide()})}function w(o){o.find(u).find(g).each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0);e[0]==E&&(e=i);var a=parseFloat(e.data("width")),i=parseFloat(e.data("height")),t=t.parents(u).width()-o.data("settings").horizontalSpaceBetweenBoxes,a=i*t/a;e.css("width",t),e.data("width")==E&&e.data("height")==E||e.css("height",Math.floor(a))})}function r(t,e,a){var i=t.find(u),o="auto"==e?Math.floor((t.width()-1)/a):e;t.find(".rbs-imges-grid-sizer").css("width",o),i.each(function(t){var e=P(this),i=e.data("columns");i!=E&&parseInt(a)>=parseInt(i)?e.css("width",o*parseInt(i)):e.css("width",o)})}function y(t){var e,i,a,o=!1;for(e in t.data("settings").resolutions){var n=t.data("settings").resolutions[e];if(n.maxWidth>=(a=i=void 0,a="inner","innerWidth"in(i=S)||(a="client",i=document.documentElement||document.body),[i[a+"Width"],i[a+"Height"]][0])){r(t,n.columnWidth,n.columns),o=!0;break}}0==o&&r(t,t.data("settings").columnWidth,t.data("settings").columns)}function d(t,e){f.addClass("filtering-isotope"),l(t,e),t=f.find(u+", ."+p),e=k(),t.filter(e).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),t.not(e).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter"),a()}function a(){(0<c().not(".rbs-img-loaded").length?C:B)(),function(){var t=c().length;if(t<m.minBoxesPerFilter&&0<x().length)return L(m.minBoxesPerFilter-t)}()}function l(t,e){i[e]=t,f.eveMB({filter:function(t){for(var e in t)(a=t[e])==E&&(t[e]="*");var i="";for(e in t){var a=t[e];(""==i||i.split(",").length<a.split(",").length)&&(i=e)}var o=t[i];for(e in t)if(e!=i)for(var n=t[e].split(","),s=0;s<n.length;s++){for(var r=o.split(","),d=[],l=0;l<r.length;l++)"*"==r[l]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==r[l]&&(r[l]="")),d.push(r[l]+n[s]);o=d.join(",")}return o}(i)})}function c(){var t=f.find(u),e=k();return t="*"!=e?t.filter(e):t}function k(){var t=f.data("eveMB").options.filter;return t=""==t||t==E?"*":t}function x(t){var e=f.find("."+p),i=k();return e="*"!=i&&t==E?e.filter(i):e}function C(){m.debug&&console.log(f.attr("id")+" run function loading"),s.html(m.LoadingWord),s.removeClass("rbs-imges-load-more"),s.addClass("rbs-imges-loading")}function B(){m.debug&&console.log(f.attr("id")+" run function fixLoadMoreButton"),s.removeClass("rbs-imges-load-more"),s.removeClass("rbs-imges-loading"),s.removeClass("rbs-imges-no-more-entries"),0<x().length?(s.html(m.loadMoreWord),s.addClass("rbs-imges-load-more")):(s.html(m.noMoreEntriesWord),s.addClass("rbs-imges-no-more-entries"))}function L(i,t){var a;m.debug&&console.log(f.attr("id")+" run function loadMore - 1"),1!=s.hasClass("rbs-imges-no-more-entries")?(m.debug&&console.log(f.attr("id")+" run function loadMore - 2"),m.debug&&console.log(f.attr("id")+" run function startLoading"),n++,C(),a=[],x(t).each(function(t){var e=P(this);t+1<=i?(e.removeClass(p).addClass(o),e.hide(),a.push(this)):m.debug&&console.log(f.attr("id")+" run function loadMore - hiddenBoxesWaitingToLoad = 0")}),f.eveMB("insert",P(a),function(){m.debug&&console.log(f.attr("id")+" run insert (newboxes) ",a),n--,m.debug&&console.log(f.attr("id")+" run function FinishLoading (loadingsCounter)="+n),0==n?B():n<=0&&(console.log("loadingsCounter was fixed"),B()),f.eveMB("layout")})):m.debug&&console.log(f.attr("id")+" run function loadMore - no more entries ")}if(s.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),s.addClass(m.loadMoreClass),m.debug&&console.log(f.attr("id")+"Init LoadMore After create "),m.resolutions.sort(function(t,e){return t.maxWidth-e.maxWidth}),f.data("settings",m),f.css({"margin-left":-m.horizontalSpaceBetweenBoxes}),f.find(u).removeClass(o).addClass(p),e=P(m.sortContainer).find(m.sort).filter(".selected"),t=e.attr("data-sort-by"),e=M(e),f.append('<div class="rbs-imges-grid-sizer"></div>'),f.eveMB({itemSelector:u,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:m.getSortData,sortBy:t,sortAscending:e}),m.debug&&console.log(f.attr("id")+"Init addPOPUPTriger function"),m.debug&&console.log(f.attr("id")+"Init convertDivs function"),m.debug&&console.log(f.attr("id")+"Init setDimensionsToImageContainer function"),P.extend(EveMB.prototype,{resize:function(){var i,t=P(this.element);y(t),w(t),v(t),(i=t).find(u).each(function(){var t=P(this).find(g),e=i.data("settings").overlayEffect;"direction"==(e=t.data("overlay-effect")!=E?t.data("overlay-effect"):e).substr(0,9)&&t.find(".thumbnail-overlay").hide()}),i.eveMB("layout"),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),P.extend(EveMB.prototype,{_setContainerMeasure:function(t,e){var i;t!==E&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px",t=P(this.element),P.waypoints("refresh"),t.addClass("lazy-load-ready"),t.removeClass("filtering-isotope"))}}),P.extend(EveMB.prototype,{insert:function(t,i){var a=this.addItems(t);if(a.length){for(var e,o=P(this.element),n=o.find("."+p)[0],s=a.length,r=0;r<s;r++)e=a[r],n!=E?this.element.insertBefore(e.element,n):this.element.appendChild(e.element);function d(t){var e=P(t.img),i=e.parents("div[data-thumbnail], div[data-popup]");0==t.isLoaded&&(e.hide(),i.addClass("broken-image-here"))}var l,c=this;l=o,t=P('<div class="rbs-img-container"></div').css({"margin-left":l.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":l.data("settings").verticalSpaceBetweenBoxes}),l.find(u+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(t),y(o),w(o),o.find(u+", ."+p).find(g+":not([data-popupTrigger])").each(function(){var t=P(this),e=t.find("div[data-popup]").eq(0);t.attr("data-popupTrigger","yes");var i="mfp-image";"iframe"==e.data("type")?i="mfp-iframe":"inline"==e.data("type")?i="mfp-inline":"ajax"==e.data("type")?i="mfp-ajax":"link"==e.data("type")?i="mfp-link":"blanklink"==e.data("type")&&(i="mfp-blanklink");t=t.find(".rbs-lightbox").addBack(".rbs-lightbox");t.attr("data-mfp-src",e.data("popup")).addClass(i),e.attr("title")!=E&&t.attr("mfp-title",e.attr("title")),e.attr("data-alt")!=E&&t.attr("mfp-alt",e.attr("data-alt"))}),b(o,!1),o.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){var t;for(index in 0==m.waitForAllThumbsNoMatterWhat&&b(o,!0),o.find(u).addClass("rbs-img-loaded"),function(){var t=this._filter(a);for(this._noTransition(function(){this.hide(t)}),r=0;r<s;r++)a[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<s;r++)delete a[r].isLayoutInstant;this.reveal(t)}.call(c),v(o),t={container:t=o,container_settings:t.data("settings"),settings:m,$container:f,itemSelector:u,boxImageSelector:g,animation:h},roboEffectClass.trigger(t),"function"==typeof i&&i(),c.images){var e=c.images[index];d(e)}}).progress(function(t,e){d(e)})}}}),L(m.boxesToLoadStart,!0),s.on("click",function(){L(m.boxesToLoad)}),m.lazyLoad){m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad");let e=1;f.waypoint(function(t){f.hasClass("lazy-load-ready")&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad initLazyLoad",e),"down"==t&&0==f.hasClass("filtering-isotope")&&1!=e&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad call"),f.removeClass("lazy-load-ready"),L(m.boxesToLoad)))},{context:S,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1}),e=0}function I(i){var t;i!=E&&(t=f.find("."+o+", ."+p),""==i?t.addClass("search-match"):(t.removeClass("search-match"),f.find(m.searchTarget).each(function(){var t=P(this),e=t.parents("."+o+", ."+p);-1!==t.text().toLowerCase().indexOf(i.toLowerCase())&&e.addClass("search-match")})),setTimeout(function(){d(".search-match","search")},100))}function M(t){var e=t.data("sort-ascending");return e==E&&(e=!0),t.data("sort-toggle")&&1==t.data("sort-toggle")&&t.data("sort-ascending",!e),e}(e=P(m.filterContainer)).find(m.filter).on("click",function(t){var e=P(this),i=e.parents(m.filterContainer);i.find(m.filter).removeClass(m.filterContainerSelectClass),e.addClass(m.filterContainerSelectClass);var a="filter";d(e.attr("data-filter"),a=i.data("id")!=E?i.data("id"):a),t.preventDefault(),s.is(".rbs-imges-no-more-entries")||s.click()}),e.each(function(){var t,e=P(this),i=e.find(m.filter).filter(".selected");i[0]!=E&&(t="filter",l(i.attr("data-filter"),t=e.data("id")!=E?e.data("id"):t))}),a(),I(P(m.search).val()),P(m.search).on("keyup",function(){I(P(this).val())}),P(m.sortContainer).find(m.sort).on("click",function(t){var e=P(this);e.parents(m.sortContainer).find(m.sort).removeClass("selected"),e.addClass("selected");var i=e.attr("data-sort-by");f.eveMB({sortBy:i,sortAscending:M(e)}),t.preventDefault()});var T,e=".rbs-lightbox[data-mfp-src]";function z(){if("#!"!=location.hash.substr(0,2))return null;var t=location.href.split("#!")[1];return{hash:t,src:t}}function W(){var i,a,t=P.magnificPopup.instance;t&&(!(i=z())&&t.isOpen?t.close():i&&(t.isOpen&&t.currItem&&t.currItem.el.parents(".rbs-imges-container").attr("id")==i.id?t.currItem.el.attr("data-mfp-src")!=i.src&&(a=null,P.each(t.items,function(t,e){if((e.parsed?e.el:P(e)).attr("data-mfp-src")==i.src)return a=t,!1}),null!==a&&t.goTo(a)):f.filter('[id="'+i.id+'"]').find('.rbs-lightbox[data-mfp-src="'+i.src+'"]').trigger("click")))}function _(t){S.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)}return m.considerFilteringInPopup&&(e=u+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+p+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),m.showOnlyLoadedBoxesInPopup&&(e=u+":visible .rbs-lightbox[data-mfp-src]"),m.magnificPopup&&(T={delegate:e,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:m.alignTop,preload:m.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:m.gallery},closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var n=P(this.currItem.el);return n.is(".mfp-link")?(S.location.href=P(this.currItem).attr("src"),!1):n.is(".mfp-blanklink")?(S.open(P(this.currItem).attr("src")),setTimeout(function(){P.magnificPopup.instance.close()},5),!1):(setTimeout(function(){var t="";m.descBox&&(P(".mfp-desc-block").remove(),void 0!==(o=n.attr("data-descbox"))&&P(".mfp-img").after("<div class='mfp-desc-block "+m.descBoxClass+"'>"+o+"</div>")),n.attr("mfp-title")==E||m.hideTitle?P(".mfp-title").html(""):P(".mfp-title").html(n.attr("mfp-title"));var e=n.attr("data-mfp-src"),t="";m.hideSourceImage&&(t=t+' <a class="image-source-link" href="'+e+'" target="_blank"></a>');var i=location.href,a=(location.href.replace(location.hash,""),n.attr("mfp-title")),o=n.attr("mfp-alt"),i=i;""==o&&(o=a),P(".mfp-img").attr("alt",o),P(".mfp-img").attr("title",a);o="";m.facebook&&(o+="<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.twitter&&(o+="<div class='rbs-imges-twitter fa fa-twitter-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.googleplus&&(o+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-src="+e+" data-url='"+i+"'></div>"),m.pinterest&&(o+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.vk&&(o+="<div class='rbs-imges-vk fa fa-vk' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>");o=o?"<div class='rbs-imges-social-container'>"+o+"</div>":"",a=P(".mfp-title").html();P(".mfp-title").html(a+o+t)},5),void(m.deepLinking&&(location.hash="#!"+n.attr("data-mfp-src"))))},beforeOpen:function(){P("body").addClass("robo-lightbox-id"+m.id).swipe("enable"),this.container.data("scrollTop",parseInt(P(S).scrollTop()))},open:function(){P("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){P("body").removeClass("robo-lightbox-id"+m.id).swipe("disable"),m.deepLinking&&(S.location.hash="#!")}}},P.extend(T,m.lightboxOptions),f.magnificPopup(T)),m.deepLinking&&((T=z())&&f.find('.rbs-lightbox[data-mfp-src="'+T.src+'"]').trigger("click"),S.addEventListener?S.addEventListener("hashchange",W,!1):S.attachEvent&&S.attachEvent("onhashchange",W)),P("body").on("click","div.rbs-imges-facebook",function(){var t=P(this),e=encodeURIComponent(t.find("div").html()),i=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.data("src"));_(i="https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+t+"&title="+e)}),P("body").on("click","div.rbs-imges-twitter",function(){var t=P(this),e=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.find("div").html());_(e="https://twitter.com/intent/tweet?url="+e+"&text="+t)}),P("body").on("click","div.rbs-imges-googleplus",function(){var t=P(this),t=encodeURIComponent(t.data("url"));_(t="https://plus.google.com/share?url="+t)}),P("body").on("click","div.rbs-imges-pinterest",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://pinterest.com/pin/create/button/?url="+e+"&media="+i+"&description="+t)}),P("body").on("click","div.rbs-imges-vk",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://vk.com/share.php?url="+e+"&image="+i+"&title="+t)}),this}function t(t){var e,i=t.find(".rbs-imges-drop-down-menu"),a=t.find(".rbs-imges-drop-down-header");function o(){i.hide()}function n(){i.show()}function s(){var t=i.find(".selected"),t=t.length?t.parents("li"):i.children().first();a.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function r(t){t.preventDefault(),t.stopPropagation(),P(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}s(),e=!1,t=navigator.userAgent||navigator.vendor||S.opera,(e=!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))||e)?(P("body").on("click",function(){i.is(":visible")&&o()}),a.bind("click",function(t){t.stopPropagation(),(i.is(":visible")?o:n)()}),i.find("> li > *").bind("click",r)):(a.bind("mouseout",o).bind("mouseover",n),i.find("> li > *").bind("mouseout",o).bind("mouseover",n).bind("click",r)),a.on("click","a",function(t){t.preventDefault()})}P.fn.collagePlus=function(o){return this.each(function(t,e){var i=P(this);if(i.data("collagePlus"))return i.data("collagePlus");var a=new n(this,o);i.data("collagePlus",a),P(".thumbnail-overlay a",this).click(function(t){t.preventDefault();t=P(this).attr("href");return"_blank"==P(this).attr("target")?S.open(t,"_blank"):location.href=t,!1})})},P.fn.collagePlus.defaults={debug:!1,boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!0,descBox:!1,descBoxClass:"",descBoxSource:"",id:0,effectType:"baseEffect",effectStyle:!1},P(".rbs-imges-drop-down").each(function(){t(P(this))})}(window,window.rbjQuer||window.jQuery);
74
  /*
75
  * RoboGallery Script Version: 1.0
76
  * Copyright (c) 2014-2019, Robosoft. All rights reserved.
56
  /*! Magnific Popup - v1.0.0 - 2015-01-03
57
  * http://dimsemenov.com/plugins/magnific-popup/
58
  * Copyright (c) 2015 Dmitry Semenov; */
59
+ !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.rbjQuer||window.jQuery||window.Zepto)}(function(c){function e(){}function u(e,t){m.ev.on(n+e+w,t)}function d(e,t,n,o){var i=document.createElement("div");return i.className="mfp-"+e,n&&(i.innerHTML=n),o?t&&t.appendChild(i):(i=c(i),t&&i.appendTo(t)),i}function p(e,t){m.ev.triggerHandler(n+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e]&&m.st.callbacks[e].apply(m,c.isArray(t)?t:[t]))}function f(e){return e===t&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),t=e),m.currTemplate.closeBtn}function r(){c.magnificPopup.instance||((m=new e).init(),c.magnificPopup.instance=m)}var m,o,g,i,h,t,l="Close",v="BeforeClose",C="MarkupParse",y="Open",a="Change",n="mfp",w="."+n,b="mfp-ready",s="mfp-removing",I="mfp-prevent-close",x=!!window.jQuery,k=c(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isIE7=-1!==e.indexOf("MSIE 7."),m.isIE8=-1!==e.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,o=0;o<n.length;o++)if((t=(t=n[o]).parsed?t.el[0]:t)===e.el[0]){m.index=o;break}}else m.items=c.isArray(e.items)?e.items:[e.items],m.index=e.index||0;var i=e.items[m.index];if(!c(i).hasClass("mfp-link")){if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=d("bg").on("click"+w,function(){m.close()}),m.wrap=d("wrap").attr("tabindex",-1).on("click"+w,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=d("container",m.wrap)),m.contentContainer=d("content"),m.st.preloader&&(m.preloader=d("preloader",m.container,m.st.tLoading)),m.st.protectionEnable&&(m.container[0].oncontextmenu=function(e){return e.preventDefault(),!1},m.container[0].onselectionstart=function(e){return e.preventDefault(),!1},m.container[0].ondragstart=function(e){return e.preventDefault(),!1});var r=c.magnificPopup.modules;for(o=0;o<r.length;o++){var a=(a=r[o]).charAt(0).toUpperCase()+a.slice(1);m["init"+a].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(u(C,function(e,t,n,o){n.close_replaceWith=f(o.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+w,function(e){27===e.keyCode&&m.close()}),k.on("resize"+w,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var s=m.wH=k.height(),i={};m.fixedContentPos&&(!m._hasScrollBar(s)||(l=m._getScrollbarSize())&&(i.marginRight=l)),m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):i.overflow="hidden");var l=m.st.mainClass;return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),p("BuildControls"),c("html").css(i),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(b),m._setFocus()):m.bgOverlay.addClass(b),g.on("focusin"+w,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(s),p(y),e}m.updateItemHTML()}},close:function(){m.isOpen&&(p(v),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(s),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(l);var e=s+" "+b+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),g.off("keyup.mfp focusin"+w),m.ev.off(w),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m._lastFocusedEl&&c(m._lastFocusedEl).focus(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,m.wrap.css("height",t),m.wH=t):m.wH=e||k.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var e=m.items[m.index];m.contentContainer.detach(),m.content&&m.content.detach();var t=(e=!e.parsed?m.parseEl(m.index):e).type;p("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,p("FirstMarkupParse",n),m.currTemplate[t]=!n||c(n)),i&&i!==e.type&&m.container.removeClass("mfp-"+i+"-holder");var n=m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]);m.appendContent(n,t),e.preloaded=!0,p(a,e),i=e.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:c(n)}:(t=n.type,{data:n,src:n.src})).el){for(var o=m.types,i=0;i<o.length;i++)if(n.el.hasClass("mfp-"+o[i])){t=o[i];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,p("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var o="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(o).on(o,e)):(n.isObj=!1,n.delegate?t.off(o).on(o,n.delegate,e):(n.items=t).off(o).on(o,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n:c.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var o=(void 0!==n.disableOn?n:c.magnificPopup.defaults).disableOn;if(o)if(c.isFunction(o)){if(!o.call(m))return!0}else if(k.width()<o)return!0;e.type&&(e.preventDefault(),m.isOpen&&e.stopPropagation()),n.el=c(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(o!==e&&m.container.removeClass("mfp-s-"+o),n={status:e,text:t=!t&&"loading"===e?m.st.tLoading:t},p("UpdateStatus",n),e=n.status,m.preloader.html(t=n.text),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),o=e)},_checkIfClose:function(e){if(!c(e).hasClass(I)){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||c(e).hasClass("mfp-close")||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||c.contains(m.content[0],e)){if(t)return!0}else if(n&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||k.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!c.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(i,e,t){var r;t.data&&(e=c.extend(t.data,e)),p(C,[i,e,t]),c.each(e,function(e,t){return void 0===t||!1===t||void(1<(r=e.split("_")).length?0<(n=i.find(w+"-"+r[0])).length&&("replaceWith"===(o=r[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===o?n.is("img")?n.attr("src",t):n.replaceWith('<img src="'+t+'" class="'+n.attr("class")+'" />'):n.attr(r[1],t)):i.find(w+"-"+e).html(t));var n,o})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},c.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return r(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading...",protectionEnable:!1}},c.fn.magnificPopup=function(e){r();var t,n,o,i=c(this);return"string"==typeof e?"open"===e?(t=x?i.data("magnificPopup"):i[0].magnificPopup,n=parseInt(arguments[1],10)||0,o=t.items?t.items[n]:(o=i,(o=t.delegate?o.find(t.delegate):o).eq(n)),m._openClick({mfpEl:o},i,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),x?i.data("magnificPopup",e):i[0].magnificPopup=e,m.addGroup(i,e)),i};function T(){S&&(_.after(S.addClass(E)).detach(),S=null)}var E,_,S,P="inline";c.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(P),u(l+"."+P,function(){T()})},getInline:function(e,t){if(T(),e.src){var n,o=m.st.inline,i=c(e.src);return i.length?((n=i[0].parentNode)&&n.tagName&&(_||(E=o.hiddenClass,_=d(E),E="mfp-"+E),S=i.after(_).detach().removeClass(E)),m.updateStatus("ready")):(m.updateStatus("error",o.tNotFound),i=c("<div>")),e.inlineElement=i}return m.updateStatus("ready"),m._parseMarkup(t,{},e),t}}});function z(){M&&c(document.body).removeClass(M)}function O(){z(),m.req&&m.req.abort()}var M,B="ajax";c.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(B),M=m.st.ajax.cursor,u(l+"."+B,O),u("BeforeChange."+B,O)},getAjax:function(o){M&&c(document.body).addClass(M),m.updateStatus("loading");var e=c.extend({url:o.src,success:function(e,t,n){n={data:e,xhr:n};p("ParseAjax",n),m.appendContent(c(n.data),B),o.finished=!0,z(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){z(),o.finished=o.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",o.src))}},m.st.ajax.settings);return m.req=c.ajax(e),""}}});var F;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),u(y+t,function(){"image"===m.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),u(l+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),k.off("resize"+w)}),u("Resize"+t,m.resizeImage),m.isLowIE&&u("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,o=t.img[0],i=function(e){F&&clearInterval(F),F=setInterval(function(){0<o.naturalWidth?m._onImageHasSize(t):(200<n&&clearInterval(F),3===++n?i(10):40===n?i(50):100===n&&i(500))},e)};i(1)},getImage:function(e,t){if(!(s=e.el).length||!s.hasClass("mfp-link")){var n,o=0,i=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++o<200?setTimeout(i,100):r())},r=function(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},a=m.st.image,s=t.find(".mfp-img");return(s.length&&((n=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(n.alt=e.el.find("img").attr("alt")),e.img=c(n).on("load.mfploader",i).on("error.mfploader",r),n.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(n=e.img[0]).naturalWidth?e.hasSize=!0:n.width||(e.hasSize=!1)),m._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize)?(F&&clearInterval(F),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready")),t):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e)),t)}m.close()}}});var H;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,o,i,r,a=m.st.zoom,s=".zoom";a.enabled&&m.supportsTransition&&(t=a.duration,n=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+a.duration/1e3+"s "+a.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},e="transition";return o["-webkit-"+e]=o["-moz-"+e]=o["-o-"+e]=o[e]=n,t.css(o),t},o=function(){m.content.css("visibility","visible")},u("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(i),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((r=n(e)).css(m._getOffset()),m.wrap.append(r),i=setTimeout(function(){r.css(m._getOffset(!0)),i=setTimeout(function(){o(),setTimeout(function(){r.remove(),e=r=null,p("ZoomAnimationEnded")},16)},t)},16)):o())}),u(v+s,function(){if(m._allowZoom()){if(clearTimeout(i),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;r=n(e)}r.css(m._getOffset(!0)),m.wrap.append(r),m.content.css("visibility","hidden"),setTimeout(function(){r.css(m._getOffset())},16)}}),u(l+s,function(){m._allowZoom()&&(o(),r&&r.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var t=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),n=t.offset(),o=parseInt(t.css("padding-top"),10),e=parseInt(t.css("padding-bottom"),10);n.top-=c(window).scrollTop()-o;o={width:t.width(),height:(x?t.innerHeight():t[0].offsetHeight)-e-o};return(H=void 0===H?void 0!==document.createElement("p").style.MozTransform:H)?o["-moz-transform"]=o.transform="translate("+n.left+"px,"+n.top+"px)":(o.left=n.left,o.top=n.top),o}}});function L(e){var t;!m.currTemplate[A]||(t=m.currTemplate[A].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8&&t.css("display",e?"block":"none"))}var A="iframe";c.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),u("BeforeChange",function(e,t,n){t!==n&&(t===A?L():n===A&&L(!0))}),u(l+"."+A,function(){L()})},getIframe:function(e,t){var n=e.src,o=m.st.iframe;c.each(o.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var i={};return o.srcAction&&(i[o.srcAction]=n),m._parseMarkup(t,i,e),m.updateStatus("ready"),t}}});function j(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=m.st.gallery,e=".mfp-gallery",o=Boolean(c.fn.mfpFastClick);if(m.direction=!0,!r||!r.enabled)return!1;h+=" mfp-gallery",u(y+e,function(){r.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?m.prev():39===e.keyCode&&m.next()})}),u("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,m.currItem.index,m.items.length))}),u(C+e,function(e,t,n,o){var i=m.items.length;n.counter=1<i?N(r.tCounter,o.index,i):""}),u("BuildControls"+e,function(){var e,t,n;1<m.items.length&&r.arrows&&!m.arrowLeft&&(n=r.arrowMarkup,e=m.arrowLeft=c(n.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(I),t=m.arrowRight=c(n.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(I),e[n=o?"mfpFastClick":"click"](function(){m.prev()}),t[n](function(){m.next()}),m.isIE7&&(d("b",e[0],!1,!0),d("a",e[0],!1,!0),d("b",t[0],!1,!0),d("a",t[0],!1,!0)),m.container.append(e.add(t)))}),u(a+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),u(l+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowLeft&&o&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=j(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=j(m.index-1),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),o=1;o<=(m.direction?n:t);o++)m._preloadItem(m.index+o);for(o=1;o<=(m.direction?t:n);o++)m._preloadItem(m.index-o)},_preloadItem:function(e){var t;e=j(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}});var W,R,Z="retina";function q(){k.off("touchmove"+R+" touchend"+R)}c.magnificPopup.registerModule(Z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,o;1<window.devicePixelRatio&&(n=m.st.retina,o=n.ratio,1<(o=isNaN(o)?o():o)&&(u("ImageHasSize."+Z,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/o,width:"100%"})}),u("ElementParse."+Z,function(e,t){t.src=n.replaceSrc(t,o)})))}}}),W="ontouchstart"in window,R=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var t,n,o,i,r,a,s,e=c(this);W&&e.on("touchstart"+R,function(e){r=!1,s=1,a=(e.originalEvent||e).touches[0],o=a.clientX,i=a.clientY,k.on("touchmove"+R,function(e){a=(e.originalEvent||e).touches,s=a.length,a=a[0],(10<Math.abs(a.clientX-o)||10<Math.abs(a.clientY-i))&&(r=!0,q())}).on("touchend"+R,function(e){q(),r||1<s||(t=!0,e.preventDefault(),clearTimeout(n),n=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+R,function(){t||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+R+" click"+R),W&&k.off("touchmove"+R+" touchend"+R)},r()});
60
  /*
61
  * @fileOverview TouchSwipe - jQuery Plugin
62
  * @version 1.6.15
70
  Licensed under the MIT license - http://opensource.org/licenses/MIT
71
  Copyright (C) 2015 Andrew Prasetya
72
  */
73
+ !function(S,P,E){function n(t,e){var m=P.extend({},P.fn.collagePlus.defaults,e),f=P(t).addClass("rbs-imges-container"),u=".rbs-img",g=".rbs-img-image",o="rbs-img",p="rbs-img-hidden",h=ModernizrL.csstransitions?"transition":"animate",i={},n=0;"default"==m.overlayEasing&&(m.overlayEasing="transition"==h?"_default":"swing");var s=P('<div class="rbs-imges-load-more button"></div>').insertAfter(f);function b(o,n){function i(t){var e=P(t.img),i=e.parents(".image-with-dimensions");i[0]!=E&&(t.isLoaded?e.fadeIn(400,function(){i.removeClass("image-with-dimensions")}):(i.removeClass("image-with-dimensions"),e.hide(),i.addClass("broken-image-here")))}o.find(u).find(g+":not([data-imageconverted])").each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0),a=e.data("thumbnail");e[0]==E&&(a=(e=i).data("popup")),(0!=n||0!=o.data("settings").waitForAllThumbsNoMatterWhat||e.data("width")==E&&e.data("height")==E)&&(t.attr("data-imageconverted","yes"),t=e.attr("title"),a=P('<img style="margin:auto !important;" alt="'+(t=t==E?a:t)+'" title="'+t+'" src="'+a+'" />'),1==n&&(a.attr("data-dont-wait-for-me","yes"),e.addClass("image-with-dimensions"),o.data("settings").waitUntilThumbLoads&&a.hide()),e.addClass("rbs-img-thumbnail-container").prepend(a))}),1==n&&o.find(".image-with-dimensions").imagesLoadedMB().always(function(t){for(index in t.images)i(t.images[index])}).progress(function(t,e){i(e)})}function v(n){n.find(u).each(function(){var t=P(this),e=t.find(g),i=e.find("div[data-thumbnail]").eq(0),a=e.find("div[data-popup]").eq(0);i[0]==E&&(i=a);var o=t.css("display");"none"==o&&t.css("margin-top",99999999999999).show();a=2*n.data("settings").borderSize;e.width(i.width()-a),e.height(i.height()-a),"none"==o&&t.css("margin-top",0).hide()})}function w(o){o.find(u).find(g).each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0);e[0]==E&&(e=i);var a=parseFloat(e.data("width")),i=parseFloat(e.data("height")),t=t.parents(u).width()-o.data("settings").horizontalSpaceBetweenBoxes,a=i*t/a;e.css("width",t),e.data("width")==E&&e.data("height")==E||e.css("height",Math.floor(a))})}function r(t,e,a){var i=t.find(u),o="auto"==e?Math.floor((t.width()-1)/a):e;t.find(".rbs-imges-grid-sizer").css("width",o),i.each(function(t){var e=P(this),i=e.data("columns");i!=E&&parseInt(a)>=parseInt(i)?e.css("width",o*parseInt(i)):e.css("width",o)})}function y(t){var e,i,a,o=!1;for(e in t.data("settings").resolutions){var n=t.data("settings").resolutions[e];if(n.maxWidth>=(a=i=void 0,a="inner","innerWidth"in(i=S)||(a="client",i=document.documentElement||document.body),[i[a+"Width"],i[a+"Height"]][0])){r(t,n.columnWidth,n.columns),o=!0;break}}0==o&&r(t,t.data("settings").columnWidth,t.data("settings").columns)}function d(t,e){f.addClass("filtering-isotope"),l(t,e),t=f.find(u+", ."+p),e=k(),t.filter(e).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),t.not(e).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter"),a()}function a(){(0<c().not(".rbs-img-loaded").length?C:B)(),function(){var t=c().length;if(t<m.minBoxesPerFilter&&0<x().length)return L(m.minBoxesPerFilter-t)}()}function l(t,e){i[e]=t,f.eveMB({filter:function(t){for(var e in t)(a=t[e])==E&&(t[e]="*");var i="";for(e in t){var a=t[e];(""==i||i.split(",").length<a.split(",").length)&&(i=e)}var o=t[i];for(e in t)if(e!=i)for(var n=t[e].split(","),s=0;s<n.length;s++){for(var r=o.split(","),d=[],l=0;l<r.length;l++)"*"==r[l]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==r[l]&&(r[l]="")),d.push(r[l]+n[s]);o=d.join(",")}return o}(i)})}function c(){var t=f.find(u),e=k();return t="*"!=e?t.filter(e):t}function k(){var t=f.data("eveMB").options.filter;return t=""==t||t==E?"*":t}function x(t){var e=f.find("."+p),i=k();return e="*"!=i&&t==E?e.filter(i):e}function C(){m.debug&&console.log(f.attr("id")+" run function loading"),s.html(m.LoadingWord),s.removeClass("rbs-imges-load-more"),s.addClass("rbs-imges-loading")}function B(){m.debug&&console.log(f.attr("id")+" run function fixLoadMoreButton"),s.removeClass("rbs-imges-load-more"),s.removeClass("rbs-imges-loading"),s.removeClass("rbs-imges-no-more-entries"),0<x().length?(s.html(m.loadMoreWord),s.addClass("rbs-imges-load-more")):(s.html(m.noMoreEntriesWord),s.addClass("rbs-imges-no-more-entries"))}function L(i,t){var a;m.debug&&console.log(f.attr("id")+" run function loadMore - 1"),1!=s.hasClass("rbs-imges-no-more-entries")?(m.debug&&console.log(f.attr("id")+" run function loadMore - 2"),m.debug&&console.log(f.attr("id")+" run function startLoading"),n++,C(),a=[],x(t).each(function(t){var e=P(this);t+1<=i?(e.removeClass(p).addClass(o),e.hide(),a.push(this)):m.debug&&console.log(f.attr("id")+" run function loadMore - hiddenBoxesWaitingToLoad = 0")}),f.eveMB("insert",P(a),function(){m.debug&&console.log(f.attr("id")+" run insert (newboxes) ",a),n--,m.debug&&console.log(f.attr("id")+" run function FinishLoading (loadingsCounter)="+n),0==n?B():n<=0&&(console.log("loadingsCounter was fixed"),B()),f.eveMB("layout")})):m.debug&&console.log(f.attr("id")+" run function loadMore - no more entries ")}if(s.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),s.addClass(m.loadMoreClass),m.debug&&console.log(f.attr("id")+"Init LoadMore After create "),m.resolutions.sort(function(t,e){return t.maxWidth-e.maxWidth}),f.data("settings",m),f.css({"margin-left":-m.horizontalSpaceBetweenBoxes}),f.find(u).removeClass(o).addClass(p),e=P(m.sortContainer).find(m.sort).filter(".selected"),t=e.attr("data-sort-by"),e=M(e),f.append('<div class="rbs-imges-grid-sizer"></div>'),f.eveMB({itemSelector:u,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:m.getSortData,sortBy:t,sortAscending:e}),m.debug&&console.log(f.attr("id")+"Init addPOPUPTriger function"),m.debug&&console.log(f.attr("id")+"Init convertDivs function"),m.debug&&console.log(f.attr("id")+"Init setDimensionsToImageContainer function"),P.extend(EveMB.prototype,{resize:function(){var i,t=P(this.element);y(t),w(t),v(t),(i=t).find(u).each(function(){var t=P(this).find(g),e=i.data("settings").overlayEffect;"direction"==(e=t.data("overlay-effect")!=E?t.data("overlay-effect"):e).substr(0,9)&&t.find(".thumbnail-overlay").hide()}),i.eveMB("layout"),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),P.extend(EveMB.prototype,{_setContainerMeasure:function(t,e){var i;t!==E&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px",t=P(this.element),P.waypoints("refresh"),t.addClass("lazy-load-ready"),t.removeClass("filtering-isotope"))}}),P.extend(EveMB.prototype,{insert:function(t,i){var a=this.addItems(t);if(a.length){for(var e,o=P(this.element),n=o.find("."+p)[0],s=a.length,r=0;r<s;r++)e=a[r],n!=E?this.element.insertBefore(e.element,n):this.element.appendChild(e.element);function d(t){var e=P(t.img),i=e.parents("div[data-thumbnail], div[data-popup]");0==t.isLoaded&&(e.hide(),i.addClass("broken-image-here"))}var l,c=this;l=o,t=P('<div class="rbs-img-container"></div').css({"margin-left":l.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":l.data("settings").verticalSpaceBetweenBoxes}),l.find(u+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(t),y(o),w(o),o.find(u+", ."+p).find(g+":not([data-popupTrigger])").each(function(){var t=P(this),e=t.find("div[data-popup]").eq(0);t.attr("data-popupTrigger","yes");var i="mfp-image";"iframe"==e.data("type")?i="mfp-iframe":"inline"==e.data("type")?i="mfp-inline":"ajax"==e.data("type")?i="mfp-ajax":"link"==e.data("type")?i="mfp-link":"blanklink"==e.data("type")&&(i="mfp-blanklink");t=t.find(".rbs-lightbox").addBack(".rbs-lightbox");t.attr("data-mfp-src",e.data("popup")).addClass(i),e.attr("title")!=E&&t.attr("mfp-title",e.attr("title")),e.attr("data-alt")!=E&&t.attr("mfp-alt",e.attr("data-alt"))}),b(o,!1),o.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){var t;for(index in 0==m.waitForAllThumbsNoMatterWhat&&b(o,!0),o.find(u).addClass("rbs-img-loaded"),function(){var t=this._filter(a);for(this._noTransition(function(){this.hide(t)}),r=0;r<s;r++)a[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<s;r++)delete a[r].isLayoutInstant;this.reveal(t)}.call(c),v(o),t={container:t=o,container_settings:t.data("settings"),settings:m,$container:f,itemSelector:u,boxImageSelector:g,animation:h},roboEffectClass.trigger(t),"function"==typeof i&&i(),c.images){var e=c.images[index];d(e)}}).progress(function(t,e){d(e)})}}}),L(m.boxesToLoadStart,!0),s.on("click",function(){L(m.boxesToLoad)}),m.lazyLoad){m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad");let e=1;f.waypoint(function(t){f.hasClass("lazy-load-ready")&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad initLazyLoad",e),"down"==t&&0==f.hasClass("filtering-isotope")&&1!=e&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad call"),f.removeClass("lazy-load-ready"),L(m.boxesToLoad)))},{context:S,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1}),e=0}function I(i){var t;i!=E&&(t=f.find("."+o+", ."+p),""==i?t.addClass("search-match"):(t.removeClass("search-match"),f.find(m.searchTarget).each(function(){var t=P(this),e=t.parents("."+o+", ."+p);-1!==t.text().toLowerCase().indexOf(i.toLowerCase())&&e.addClass("search-match")})),setTimeout(function(){d(".search-match","search")},100))}function M(t){var e=t.data("sort-ascending");return e==E&&(e=!0),t.data("sort-toggle")&&1==t.data("sort-toggle")&&t.data("sort-ascending",!e),e}(e=P(m.filterContainer)).find(m.filter).on("click",function(t){var e=P(this),i=e.parents(m.filterContainer);i.find(m.filter).removeClass(m.filterContainerSelectClass),e.addClass(m.filterContainerSelectClass);var a="filter";d(e.attr("data-filter"),a=i.data("id")!=E?i.data("id"):a),t.preventDefault(),s.is(".rbs-imges-no-more-entries")||s.click()}),e.each(function(){var t,e=P(this),i=e.find(m.filter).filter(".selected");i[0]!=E&&(t="filter",l(i.attr("data-filter"),t=e.data("id")!=E?e.data("id"):t))}),a(),I(P(m.search).val()),P(m.search).on("keyup",function(){I(P(this).val())}),P(m.sortContainer).find(m.sort).on("click",function(t){var e=P(this);e.parents(m.sortContainer).find(m.sort).removeClass("selected"),e.addClass("selected");var i=e.attr("data-sort-by");f.eveMB({sortBy:i,sortAscending:M(e)}),t.preventDefault()});var T,e=".rbs-lightbox[data-mfp-src]";function z(){if("#!"!=location.hash.substr(0,2))return null;var t=location.href.split("#!")[1];return{hash:t,src:t}}function W(){var i,a,t=P.magnificPopup.instance;t&&(!(i=z())&&t.isOpen?t.close():i&&(t.isOpen&&t.currItem&&t.currItem.el.parents(".rbs-imges-container").attr("id")==i.id?t.currItem.el.attr("data-mfp-src")!=i.src&&(a=null,P.each(t.items,function(t,e){if((e.parsed?e.el:P(e)).attr("data-mfp-src")==i.src)return a=t,!1}),null!==a&&t.goTo(a)):f.filter('[id="'+i.id+'"]').find('.rbs-lightbox[data-mfp-src="'+i.src+'"]').trigger("click")))}function _(t){S.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)}return m.considerFilteringInPopup&&(e=u+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+p+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),m.showOnlyLoadedBoxesInPopup&&(e=u+":visible .rbs-lightbox[data-mfp-src]"),m.magnificPopup&&(T={delegate:e,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:m.alignTop,preload:m.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:m.gallery},protectionEnable:m.protectionEnable,closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var n=P(this.currItem.el);return n.is(".mfp-link")?(S.location.href=P(this.currItem).attr("src"),!1):n.is(".mfp-blanklink")?(S.open(P(this.currItem).attr("src")),setTimeout(function(){P.magnificPopup.instance.close()},5),!1):(setTimeout(function(){var t="";m.descBox&&(P(".mfp-desc-block").remove(),void 0!==(o=n.attr("data-descbox"))&&P(".mfp-img").after("<div class='mfp-desc-block "+m.descBoxClass+"'>"+o+"</div>")),n.attr("mfp-title")==E||m.hideTitle?P(".mfp-title").html(""):P(".mfp-title").html(n.attr("mfp-title"));var e=n.attr("data-mfp-src"),t="";m.hideSourceImage&&(t=t+' <a class="image-source-link" href="'+e+'" target="_blank"></a>');var i=location.href,a=(location.href.replace(location.hash,""),n.attr("mfp-title")),o=n.attr("mfp-alt"),i=i;""==o&&(o=a),P(".mfp-img").attr("alt",o),P(".mfp-img").attr("title",a);o="";m.facebook&&(o+="<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.twitter&&(o+="<div class='rbs-imges-twitter fa fa-twitter-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.googleplus&&(o+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-src="+e+" data-url='"+i+"'></div>"),m.pinterest&&(o+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.vk&&(o+="<div class='rbs-imges-vk fa fa-vk' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>");o=o?"<div class='rbs-imges-social-container'>"+o+"</div>":"",a=P(".mfp-title").html();P(".mfp-title").html(a+o+t)},5),void(m.deepLinking&&(location.hash="#!"+n.attr("data-mfp-src"))))},beforeOpen:function(){P("body").addClass("robo-lightbox-id"+m.id).swipe("enable"),this.container.data("scrollTop",parseInt(P(S).scrollTop()))},open:function(){P("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){P("body").removeClass("robo-lightbox-id"+m.id).swipe("disable"),m.deepLinking&&(S.location.hash="#!")}}},P.extend(T,m.lightboxOptions),f.magnificPopup(T)),m.deepLinking&&((T=z())&&f.find('.rbs-lightbox[data-mfp-src="'+T.src+'"]').trigger("click"),S.addEventListener?S.addEventListener("hashchange",W,!1):S.attachEvent&&S.attachEvent("onhashchange",W)),P("body").on("click","div.rbs-imges-facebook",function(){var t=P(this),e=encodeURIComponent(t.find("div").html()),i=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.data("src"));_(i="https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+t+"&title="+e)}),P("body").on("click","div.rbs-imges-twitter",function(){var t=P(this),e=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.find("div").html());_(e="https://twitter.com/intent/tweet?url="+e+"&text="+t)}),P("body").on("click","div.rbs-imges-googleplus",function(){var t=P(this),t=encodeURIComponent(t.data("url"));_(t="https://plus.google.com/share?url="+t)}),P("body").on("click","div.rbs-imges-pinterest",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://pinterest.com/pin/create/button/?url="+e+"&media="+i+"&description="+t)}),P("body").on("click","div.rbs-imges-vk",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://vk.com/share.php?url="+e+"&image="+i+"&title="+t)}),this}function t(t){var e,i=t.find(".rbs-imges-drop-down-menu"),a=t.find(".rbs-imges-drop-down-header");function o(){i.hide()}function n(){i.show()}function s(){var t=i.find(".selected"),t=t.length?t.parents("li"):i.children().first();a.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function r(t){t.preventDefault(),t.stopPropagation(),P(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}s(),e=!1,t=navigator.userAgent||navigator.vendor||S.opera,(e=!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))||e)?(P("body").on("click",function(){i.is(":visible")&&o()}),a.bind("click",function(t){t.stopPropagation(),(i.is(":visible")?o:n)()}),i.find("> li > *").bind("click",r)):(a.bind("mouseout",o).bind("mouseover",n),i.find("> li > *").bind("mouseout",o).bind("mouseover",n).bind("click",r)),a.on("click","a",function(t){t.preventDefault()})}P.fn.collagePlus=function(o){return this.each(function(t,e){var i=P(this);if(i.data("collagePlus"))return i.data("collagePlus");var a=new n(this,o);i.data("collagePlus",a),P(".thumbnail-overlay a",this).click(function(t){t.preventDefault();t=P(this).attr("href");return"_blank"==P(this).attr("target")?S.open(t,"_blank"):location.href=t,!1})})},P.fn.collagePlus.defaults={debug:!1,boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!0,descBox:!1,descBoxClass:"",descBoxSource:"",id:0,protectionEnable:!1,effectType:"baseEffect",effectStyle:!1},P(".rbs-imges-drop-down").each(function(){t(P(this))})}(window,window.rbjQuer||window.jQuery);
74
  /*
75
  * RoboGallery Script Version: 1.0
76
  * Copyright (c) 2014-2019, Robosoft. All rights reserved.
js/robo_gallery_alt.js CHANGED
@@ -90,7 +90,7 @@ https://github.com/imakewebthings/rbjquer-waypoints/blob/master/licenses.txt
90
  /*! Magnific Popup - v1.0.0 - 2015-01-03
91
  * http://dimsemenov.com/plugins/magnific-popup/
92
  * Copyright (c) 2015 Dmitry Semenov; */
93
- !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.rbjQuer||window.jQuery||window.Zepto)}(function(c){function e(){}function d(e,t){m.ev.on(n+e+w,t)}function u(e,t,n,i){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),i?t&&t.appendChild(o):(o=c(o),t&&o.appendTo(t)),o}function p(e,t){m.ev.triggerHandler(n+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e]&&m.st.callbacks[e].apply(m,c.isArray(t)?t:[t]))}function f(e){return e===t&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),t=e),m.currTemplate.closeBtn}function a(){c.magnificPopup.instance||((m=new e).init(),c.magnificPopup.instance=m)}var m,i,g,o,h,t,l="Close",v="BeforeClose",C="MarkupParse",y="Open",r="Change",n="mfp",w="."+n,b="mfp-ready",s="mfp-removing",I="mfp-prevent-close",x=!!window.jQuery,k=c(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isIE7=-1!==e.indexOf("MSIE 7."),m.isIE8=-1!==e.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,i=0;i<n.length;i++)if((t=(t=n[i]).parsed?t.el[0]:t)===e.el[0]){m.index=i;break}}else m.items=c.isArray(e.items)?e.items:[e.items],m.index=e.index||0;var o=e.items[m.index];if(!c(o).hasClass("mfp-link")){if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=u("bg").on("click"+w,function(){m.close()}),m.wrap=u("wrap").attr("tabindex",-1).on("click"+w,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=u("container",m.wrap)),m.contentContainer=u("content"),m.st.preloader&&(m.preloader=u("preloader",m.container,m.st.tLoading));var a=c.magnificPopup.modules;for(i=0;i<a.length;i++){var r=(r=a[i]).charAt(0).toUpperCase()+r.slice(1);m["init"+r].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(d(C,function(e,t,n,i){n.close_replaceWith=f(i.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+w,function(e){27===e.keyCode&&m.close()}),k.on("resize"+w,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var s=m.wH=k.height(),o={};m.fixedContentPos&&(!m._hasScrollBar(s)||(l=m._getScrollbarSize())&&(o.marginRight=l)),m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):o.overflow="hidden");var l=m.st.mainClass;return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),p("BuildControls"),c("html").css(o),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(b),m._setFocus()):m.bgOverlay.addClass(b),g.on("focusin"+w,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(s),p(y),e}m.updateItemHTML()}},close:function(){m.isOpen&&(p(v),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(s),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(l);var e=s+" "+b+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),g.off("keyup.mfp focusin"+w),m.ev.off(w),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m._lastFocusedEl&&c(m._lastFocusedEl).focus(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,m.wrap.css("height",t),m.wH=t):m.wH=e||k.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var e=m.items[m.index];m.contentContainer.detach(),m.content&&m.content.detach();var t=(e=!e.parsed?m.parseEl(m.index):e).type;p("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,p("FirstMarkupParse",n),m.currTemplate[t]=!n||c(n)),o&&o!==e.type&&m.container.removeClass("mfp-"+o+"-holder");var n=m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]);m.appendContent(n,t),e.preloaded=!0,p(r,e),o=e.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:c(n)}:(t=n.type,{data:n,src:n.src})).el){for(var i=m.types,o=0;o<i.length;o++)if(n.el.hasClass("mfp-"+i[o])){t=i[o];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,p("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var i="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,e)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,e):(n.items=t).off(i).on(i,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n:c.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var i=(void 0!==n.disableOn?n:c.magnificPopup.defaults).disableOn;if(i)if(c.isFunction(i)){if(!i.call(m))return!0}else if(k.width()<i)return!0;e.type&&(e.preventDefault(),m.isOpen&&e.stopPropagation()),n.el=c(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(i!==e&&m.container.removeClass("mfp-s-"+i),n={status:e,text:t=!t&&"loading"===e?m.st.tLoading:t},p("UpdateStatus",n),e=n.status,m.preloader.html(t=n.text),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),i=e)},_checkIfClose:function(e){if(!c(e).hasClass(I)){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||c(e).hasClass("mfp-close")||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||c.contains(m.content[0],e)){if(t)return!0}else if(n&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||k.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!c.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(o,e,t){var a;t.data&&(e=c.extend(t.data,e)),p(C,[o,e,t]),c.each(e,function(e,t){return void 0===t||!1===t||void(1<(a=e.split("_")).length?0<(n=o.find(w+"-"+a[0])).length&&("replaceWith"===(i=a[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith('<img src="'+t+'" class="'+n.attr("class")+'" />'):n.attr(a[1],t)):o.find(w+"-"+e).html(t));var n,i})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},c.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return a(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},c.fn.magnificPopup=function(e){a();var t,n,i,o=c(this);return"string"==typeof e?"open"===e?(t=x?o.data("magnificPopup"):o[0].magnificPopup,n=parseInt(arguments[1],10)||0,i=t.items?t.items[n]:(i=o,(i=t.delegate?i.find(t.delegate):i).eq(n)),m._openClick({mfpEl:i},o,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),x?o.data("magnificPopup",e):o[0].magnificPopup=e,m.addGroup(o,e)),o};function T(){S&&(E.after(S.addClass(_)).detach(),S=null)}var _,E,S,P="inline";c.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(P),d(l+"."+P,function(){T()})},getInline:function(e,t){if(T(),e.src){var n,i=m.st.inline,o=c(e.src);return o.length?((n=o[0].parentNode)&&n.tagName&&(E||(_=i.hiddenClass,E=u(_),_="mfp-"+_),S=o.after(E).detach().removeClass(_)),m.updateStatus("ready")):(m.updateStatus("error",i.tNotFound),o=c("<div>")),e.inlineElement=o}return m.updateStatus("ready"),m._parseMarkup(t,{},e),t}}});function z(){M&&c(document.body).removeClass(M)}function O(){z(),m.req&&m.req.abort()}var M,B="ajax";c.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(B),M=m.st.ajax.cursor,d(l+"."+B,O),d("BeforeChange."+B,O)},getAjax:function(i){M&&c(document.body).addClass(M),m.updateStatus("loading");var e=c.extend({url:i.src,success:function(e,t,n){n={data:e,xhr:n};p("ParseAjax",n),m.appendContent(c(n.data),B),i.finished=!0,z(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){z(),i.finished=i.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",i.src))}},m.st.ajax.settings);return m.req=c.ajax(e),""}}});var F;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),d(y+t,function(){"image"===m.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),d(l+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),k.off("resize"+w)}),d("Resize"+t,m.resizeImage),m.isLowIE&&d("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],o=function(e){F&&clearInterval(F),F=setInterval(function(){0<i.naturalWidth?m._onImageHasSize(t):(200<n&&clearInterval(F),3===++n?o(10):40===n?o(50):100===n&&o(500))},e)};o(1)},getImage:function(e,t){if(!(s=e.el).length||!s.hasClass("mfp-link")){var n,i=0,o=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++i<200?setTimeout(o,100):a())},a=function(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",r.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=m.st.image,s=t.find(".mfp-img");return(s.length&&((n=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(n.alt=e.el.find("img").attr("alt")),e.img=c(n).on("load.mfploader",o).on("error.mfploader",a),n.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(n=e.img[0]).naturalWidth?e.hasSize=!0:n.width||(e.hasSize=!1)),m._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize)?(F&&clearInterval(F),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",r.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready")),t):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e)),t)}m.close()}}});var H;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,i,o,a,r=m.st.zoom,s=".zoom";r.enabled&&m.supportsTransition&&(t=r.duration,n=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+r.duration/1e3+"s "+r.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},e="transition";return i["-webkit-"+e]=i["-moz-"+e]=i["-o-"+e]=i[e]=n,t.css(i),t},i=function(){m.content.css("visibility","visible")},d("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(o),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((a=n(e)).css(m._getOffset()),m.wrap.append(a),o=setTimeout(function(){a.css(m._getOffset(!0)),o=setTimeout(function(){i(),setTimeout(function(){a.remove(),e=a=null,p("ZoomAnimationEnded")},16)},t)},16)):i())}),d(v+s,function(){if(m._allowZoom()){if(clearTimeout(o),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;a=n(e)}a.css(m._getOffset(!0)),m.wrap.append(a),m.content.css("visibility","hidden"),setTimeout(function(){a.css(m._getOffset())},16)}}),d(l+s,function(){m._allowZoom()&&(i(),a&&a.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var t=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),n=t.offset(),i=parseInt(t.css("padding-top"),10),e=parseInt(t.css("padding-bottom"),10);n.top-=c(window).scrollTop()-i;i={width:t.width(),height:(x?t.innerHeight():t[0].offsetHeight)-e-i};return(H=void 0===H?void 0!==document.createElement("p").style.MozTransform:H)?i["-moz-transform"]=i.transform="translate("+n.left+"px,"+n.top+"px)":(i.left=n.left,i.top=n.top),i}}});function L(e){var t;!m.currTemplate[A]||(t=m.currTemplate[A].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8&&t.css("display",e?"block":"none"))}var A="iframe";c.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),d("BeforeChange",function(e,t,n){t!==n&&(t===A?L():n===A&&L(!0))}),d(l+"."+A,function(){L()})},getIframe:function(e,t){var n=e.src,i=m.st.iframe;c.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var o={};return i.srcAction&&(o[i.srcAction]=n),m._parseMarkup(t,o,e),m.updateStatus("ready"),t}}});function j(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var a=m.st.gallery,e=".mfp-gallery",i=Boolean(c.fn.mfpFastClick);if(m.direction=!0,!a||!a.enabled)return!1;h+=" mfp-gallery",d(y+e,function(){a.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?m.prev():39===e.keyCode&&m.next()})}),d("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,m.currItem.index,m.items.length))}),d(C+e,function(e,t,n,i){var o=m.items.length;n.counter=1<o?N(a.tCounter,i.index,o):""}),d("BuildControls"+e,function(){var e,t,n;1<m.items.length&&a.arrows&&!m.arrowLeft&&(n=a.arrowMarkup,e=m.arrowLeft=c(n.replace(/%title%/gi,a.tPrev).replace(/%dir%/gi,"left")).addClass(I),t=m.arrowRight=c(n.replace(/%title%/gi,a.tNext).replace(/%dir%/gi,"right")).addClass(I),e[n=i?"mfpFastClick":"click"](function(){m.prev()}),t[n](function(){m.next()}),m.isIE7&&(u("b",e[0],!1,!0),u("a",e[0],!1,!0),u("b",t[0],!1,!0),u("a",t[0],!1,!0)),m.container.append(e.add(t)))}),d(r+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),d(l+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowLeft&&i&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=j(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=j(m.index-1),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),i=1;i<=(m.direction?n:t);i++)m._preloadItem(m.index+i);for(i=1;i<=(m.direction?t:n);i++)m._preloadItem(m.index-i)},_preloadItem:function(e){var t;e=j(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}});var W,R,Z="retina";function q(){k.off("touchmove"+R+" touchend"+R)}c.magnificPopup.registerModule(Z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,i;1<window.devicePixelRatio&&(n=m.st.retina,i=n.ratio,1<(i=isNaN(i)?i():i)&&(d("ImageHasSize."+Z,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),d("ElementParse."+Z,function(e,t){t.src=n.replaceSrc(t,i)})))}}}),W="ontouchstart"in window,R=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var t,n,i,o,a,r,s,e=c(this);W&&e.on("touchstart"+R,function(e){a=!1,s=1,r=(e.originalEvent||e).touches[0],i=r.clientX,o=r.clientY,k.on("touchmove"+R,function(e){r=(e.originalEvent||e).touches,s=r.length,r=r[0],(10<Math.abs(r.clientX-i)||10<Math.abs(r.clientY-o))&&(a=!0,q())}).on("touchend"+R,function(e){q(),a||1<s||(t=!0,e.preventDefault(),clearTimeout(n),n=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+R,function(){t||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+R+" click"+R),W&&k.off("touchmove"+R+" touchend"+R)},a()});
94
  /*
95
  * @fileOverview TouchSwipe - jQuery Plugin
96
  * @version 1.6.15
@@ -104,7 +104,7 @@ https://github.com/imakewebthings/rbjquer-waypoints/blob/master/licenses.txt
104
  Licensed under the MIT license - http://opensource.org/licenses/MIT
105
  Copyright (C) 2015 Andrew Prasetya
106
  */
107
- !function(S,P,E){function n(t,e){var m=P.extend({},P.fn.collagePlus.defaults,e),f=P(t).addClass("rbs-imges-container"),u=".rbs-img",g=".rbs-img-image",o="rbs-img",p="rbs-img-hidden",h=ModernizrL.csstransitions?"transition":"animate",i={},n=0;"default"==m.overlayEasing&&(m.overlayEasing="transition"==h?"_default":"swing");var s=P('<div class="rbs-imges-load-more button"></div>').insertAfter(f);function b(o,n){function i(t){var e=P(t.img),i=e.parents(".image-with-dimensions");i[0]!=E&&(t.isLoaded?e.fadeIn(400,function(){i.removeClass("image-with-dimensions")}):(i.removeClass("image-with-dimensions"),e.hide(),i.addClass("broken-image-here")))}o.find(u).find(g+":not([data-imageconverted])").each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0),a=e.data("thumbnail");e[0]==E&&(a=(e=i).data("popup")),(0!=n||0!=o.data("settings").waitForAllThumbsNoMatterWhat||e.data("width")==E&&e.data("height")==E)&&(t.attr("data-imageconverted","yes"),t=e.attr("title"),a=P('<img style="margin:auto !important;" alt="'+(t=t==E?a:t)+'" title="'+t+'" src="'+a+'" />'),1==n&&(a.attr("data-dont-wait-for-me","yes"),e.addClass("image-with-dimensions"),o.data("settings").waitUntilThumbLoads&&a.hide()),e.addClass("rbs-img-thumbnail-container").prepend(a))}),1==n&&o.find(".image-with-dimensions").imagesLoadedMB().always(function(t){for(index in t.images)i(t.images[index])}).progress(function(t,e){i(e)})}function v(n){n.find(u).each(function(){var t=P(this),e=t.find(g),i=e.find("div[data-thumbnail]").eq(0),a=e.find("div[data-popup]").eq(0);i[0]==E&&(i=a);var o=t.css("display");"none"==o&&t.css("margin-top",99999999999999).show();a=2*n.data("settings").borderSize;e.width(i.width()-a),e.height(i.height()-a),"none"==o&&t.css("margin-top",0).hide()})}function w(o){o.find(u).find(g).each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0);e[0]==E&&(e=i);var a=parseFloat(e.data("width")),i=parseFloat(e.data("height")),t=t.parents(u).width()-o.data("settings").horizontalSpaceBetweenBoxes,a=i*t/a;e.css("width",t),e.data("width")==E&&e.data("height")==E||e.css("height",Math.floor(a))})}function r(t,e,a){var i=t.find(u),o="auto"==e?Math.floor((t.width()-1)/a):e;t.find(".rbs-imges-grid-sizer").css("width",o),i.each(function(t){var e=P(this),i=e.data("columns");i!=E&&parseInt(a)>=parseInt(i)?e.css("width",o*parseInt(i)):e.css("width",o)})}function y(t){var e,i,a,o=!1;for(e in t.data("settings").resolutions){var n=t.data("settings").resolutions[e];if(n.maxWidth>=(a=i=void 0,a="inner","innerWidth"in(i=S)||(a="client",i=document.documentElement||document.body),[i[a+"Width"],i[a+"Height"]][0])){r(t,n.columnWidth,n.columns),o=!0;break}}0==o&&r(t,t.data("settings").columnWidth,t.data("settings").columns)}function d(t,e){f.addClass("filtering-isotope"),l(t,e),t=f.find(u+", ."+p),e=k(),t.filter(e).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),t.not(e).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter"),a()}function a(){(0<c().not(".rbs-img-loaded").length?C:B)(),function(){var t=c().length;if(t<m.minBoxesPerFilter&&0<x().length)return L(m.minBoxesPerFilter-t)}()}function l(t,e){i[e]=t,f.eveMB({filter:function(t){for(var e in t)(a=t[e])==E&&(t[e]="*");var i="";for(e in t){var a=t[e];(""==i||i.split(",").length<a.split(",").length)&&(i=e)}var o=t[i];for(e in t)if(e!=i)for(var n=t[e].split(","),s=0;s<n.length;s++){for(var r=o.split(","),d=[],l=0;l<r.length;l++)"*"==r[l]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==r[l]&&(r[l]="")),d.push(r[l]+n[s]);o=d.join(",")}return o}(i)})}function c(){var t=f.find(u),e=k();return t="*"!=e?t.filter(e):t}function k(){var t=f.data("eveMB").options.filter;return t=""==t||t==E?"*":t}function x(t){var e=f.find("."+p),i=k();return e="*"!=i&&t==E?e.filter(i):e}function C(){m.debug&&console.log(f.attr("id")+" run function loading"),s.html(m.LoadingWord),s.removeClass("rbs-imges-load-more"),s.addClass("rbs-imges-loading")}function B(){m.debug&&console.log(f.attr("id")+" run function fixLoadMoreButton"),s.removeClass("rbs-imges-load-more"),s.removeClass("rbs-imges-loading"),s.removeClass("rbs-imges-no-more-entries"),0<x().length?(s.html(m.loadMoreWord),s.addClass("rbs-imges-load-more")):(s.html(m.noMoreEntriesWord),s.addClass("rbs-imges-no-more-entries"))}function L(i,t){var a;m.debug&&console.log(f.attr("id")+" run function loadMore - 1"),1!=s.hasClass("rbs-imges-no-more-entries")?(m.debug&&console.log(f.attr("id")+" run function loadMore - 2"),m.debug&&console.log(f.attr("id")+" run function startLoading"),n++,C(),a=[],x(t).each(function(t){var e=P(this);t+1<=i?(e.removeClass(p).addClass(o),e.hide(),a.push(this)):m.debug&&console.log(f.attr("id")+" run function loadMore - hiddenBoxesWaitingToLoad = 0")}),f.eveMB("insert",P(a),function(){m.debug&&console.log(f.attr("id")+" run insert (newboxes) ",a),n--,m.debug&&console.log(f.attr("id")+" run function FinishLoading (loadingsCounter)="+n),0==n?B():n<=0&&(console.log("loadingsCounter was fixed"),B()),f.eveMB("layout")})):m.debug&&console.log(f.attr("id")+" run function loadMore - no more entries ")}if(s.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),s.addClass(m.loadMoreClass),m.debug&&console.log(f.attr("id")+"Init LoadMore After create "),m.resolutions.sort(function(t,e){return t.maxWidth-e.maxWidth}),f.data("settings",m),f.css({"margin-left":-m.horizontalSpaceBetweenBoxes}),f.find(u).removeClass(o).addClass(p),e=P(m.sortContainer).find(m.sort).filter(".selected"),t=e.attr("data-sort-by"),e=M(e),f.append('<div class="rbs-imges-grid-sizer"></div>'),f.eveMB({itemSelector:u,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:m.getSortData,sortBy:t,sortAscending:e}),m.debug&&console.log(f.attr("id")+"Init addPOPUPTriger function"),m.debug&&console.log(f.attr("id")+"Init convertDivs function"),m.debug&&console.log(f.attr("id")+"Init setDimensionsToImageContainer function"),P.extend(EveMB.prototype,{resize:function(){var i,t=P(this.element);y(t),w(t),v(t),(i=t).find(u).each(function(){var t=P(this).find(g),e=i.data("settings").overlayEffect;"direction"==(e=t.data("overlay-effect")!=E?t.data("overlay-effect"):e).substr(0,9)&&t.find(".thumbnail-overlay").hide()}),i.eveMB("layout"),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),P.extend(EveMB.prototype,{_setContainerMeasure:function(t,e){var i;t!==E&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px",t=P(this.element),P.waypoints("refresh"),t.addClass("lazy-load-ready"),t.removeClass("filtering-isotope"))}}),P.extend(EveMB.prototype,{insert:function(t,i){var a=this.addItems(t);if(a.length){for(var e,o=P(this.element),n=o.find("."+p)[0],s=a.length,r=0;r<s;r++)e=a[r],n!=E?this.element.insertBefore(e.element,n):this.element.appendChild(e.element);function d(t){var e=P(t.img),i=e.parents("div[data-thumbnail], div[data-popup]");0==t.isLoaded&&(e.hide(),i.addClass("broken-image-here"))}var l,c=this;l=o,t=P('<div class="rbs-img-container"></div').css({"margin-left":l.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":l.data("settings").verticalSpaceBetweenBoxes}),l.find(u+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(t),y(o),w(o),o.find(u+", ."+p).find(g+":not([data-popupTrigger])").each(function(){var t=P(this),e=t.find("div[data-popup]").eq(0);t.attr("data-popupTrigger","yes");var i="mfp-image";"iframe"==e.data("type")?i="mfp-iframe":"inline"==e.data("type")?i="mfp-inline":"ajax"==e.data("type")?i="mfp-ajax":"link"==e.data("type")?i="mfp-link":"blanklink"==e.data("type")&&(i="mfp-blanklink");t=t.find(".rbs-lightbox").addBack(".rbs-lightbox");t.attr("data-mfp-src",e.data("popup")).addClass(i),e.attr("title")!=E&&t.attr("mfp-title",e.attr("title")),e.attr("data-alt")!=E&&t.attr("mfp-alt",e.attr("data-alt"))}),b(o,!1),o.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){var t;for(index in 0==m.waitForAllThumbsNoMatterWhat&&b(o,!0),o.find(u).addClass("rbs-img-loaded"),function(){var t=this._filter(a);for(this._noTransition(function(){this.hide(t)}),r=0;r<s;r++)a[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<s;r++)delete a[r].isLayoutInstant;this.reveal(t)}.call(c),v(o),t={container:t=o,container_settings:t.data("settings"),settings:m,$container:f,itemSelector:u,boxImageSelector:g,animation:h},roboEffectClass.trigger(t),"function"==typeof i&&i(),c.images){var e=c.images[index];d(e)}}).progress(function(t,e){d(e)})}}}),L(m.boxesToLoadStart,!0),s.on("click",function(){L(m.boxesToLoad)}),m.lazyLoad){m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad");let e=1;f.waypoint(function(t){f.hasClass("lazy-load-ready")&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad initLazyLoad",e),"down"==t&&0==f.hasClass("filtering-isotope")&&1!=e&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad call"),f.removeClass("lazy-load-ready"),L(m.boxesToLoad)))},{context:S,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1}),e=0}function I(i){var t;i!=E&&(t=f.find("."+o+", ."+p),""==i?t.addClass("search-match"):(t.removeClass("search-match"),f.find(m.searchTarget).each(function(){var t=P(this),e=t.parents("."+o+", ."+p);-1!==t.text().toLowerCase().indexOf(i.toLowerCase())&&e.addClass("search-match")})),setTimeout(function(){d(".search-match","search")},100))}function M(t){var e=t.data("sort-ascending");return e==E&&(e=!0),t.data("sort-toggle")&&1==t.data("sort-toggle")&&t.data("sort-ascending",!e),e}(e=P(m.filterContainer)).find(m.filter).on("click",function(t){var e=P(this),i=e.parents(m.filterContainer);i.find(m.filter).removeClass(m.filterContainerSelectClass),e.addClass(m.filterContainerSelectClass);var a="filter";d(e.attr("data-filter"),a=i.data("id")!=E?i.data("id"):a),t.preventDefault(),s.is(".rbs-imges-no-more-entries")||s.click()}),e.each(function(){var t,e=P(this),i=e.find(m.filter).filter(".selected");i[0]!=E&&(t="filter",l(i.attr("data-filter"),t=e.data("id")!=E?e.data("id"):t))}),a(),I(P(m.search).val()),P(m.search).on("keyup",function(){I(P(this).val())}),P(m.sortContainer).find(m.sort).on("click",function(t){var e=P(this);e.parents(m.sortContainer).find(m.sort).removeClass("selected"),e.addClass("selected");var i=e.attr("data-sort-by");f.eveMB({sortBy:i,sortAscending:M(e)}),t.preventDefault()});var T,e=".rbs-lightbox[data-mfp-src]";function z(){if("#!"!=location.hash.substr(0,2))return null;var t=location.href.split("#!")[1];return{hash:t,src:t}}function W(){var i,a,t=P.magnificPopup.instance;t&&(!(i=z())&&t.isOpen?t.close():i&&(t.isOpen&&t.currItem&&t.currItem.el.parents(".rbs-imges-container").attr("id")==i.id?t.currItem.el.attr("data-mfp-src")!=i.src&&(a=null,P.each(t.items,function(t,e){if((e.parsed?e.el:P(e)).attr("data-mfp-src")==i.src)return a=t,!1}),null!==a&&t.goTo(a)):f.filter('[id="'+i.id+'"]').find('.rbs-lightbox[data-mfp-src="'+i.src+'"]').trigger("click")))}function _(t){S.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)}return m.considerFilteringInPopup&&(e=u+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+p+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),m.showOnlyLoadedBoxesInPopup&&(e=u+":visible .rbs-lightbox[data-mfp-src]"),m.magnificPopup&&(T={delegate:e,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:m.alignTop,preload:m.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:m.gallery},closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var n=P(this.currItem.el);return n.is(".mfp-link")?(S.location.href=P(this.currItem).attr("src"),!1):n.is(".mfp-blanklink")?(S.open(P(this.currItem).attr("src")),setTimeout(function(){P.magnificPopup.instance.close()},5),!1):(setTimeout(function(){var t="";m.descBox&&(P(".mfp-desc-block").remove(),void 0!==(o=n.attr("data-descbox"))&&P(".mfp-img").after("<div class='mfp-desc-block "+m.descBoxClass+"'>"+o+"</div>")),n.attr("mfp-title")==E||m.hideTitle?P(".mfp-title").html(""):P(".mfp-title").html(n.attr("mfp-title"));var e=n.attr("data-mfp-src"),t="";m.hideSourceImage&&(t=t+' <a class="image-source-link" href="'+e+'" target="_blank"></a>');var i=location.href,a=(location.href.replace(location.hash,""),n.attr("mfp-title")),o=n.attr("mfp-alt"),i=i;""==o&&(o=a),P(".mfp-img").attr("alt",o),P(".mfp-img").attr("title",a);o="";m.facebook&&(o+="<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.twitter&&(o+="<div class='rbs-imges-twitter fa fa-twitter-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.googleplus&&(o+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-src="+e+" data-url='"+i+"'></div>"),m.pinterest&&(o+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.vk&&(o+="<div class='rbs-imges-vk fa fa-vk' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>");o=o?"<div class='rbs-imges-social-container'>"+o+"</div>":"",a=P(".mfp-title").html();P(".mfp-title").html(a+o+t)},5),void(m.deepLinking&&(location.hash="#!"+n.attr("data-mfp-src"))))},beforeOpen:function(){P("body").addClass("robo-lightbox-id"+m.id).swipe("enable"),this.container.data("scrollTop",parseInt(P(S).scrollTop()))},open:function(){P("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){P("body").removeClass("robo-lightbox-id"+m.id).swipe("disable"),m.deepLinking&&(S.location.hash="#!")}}},P.extend(T,m.lightboxOptions),f.magnificPopup(T)),m.deepLinking&&((T=z())&&f.find('.rbs-lightbox[data-mfp-src="'+T.src+'"]').trigger("click"),S.addEventListener?S.addEventListener("hashchange",W,!1):S.attachEvent&&S.attachEvent("onhashchange",W)),P("body").on("click","div.rbs-imges-facebook",function(){var t=P(this),e=encodeURIComponent(t.find("div").html()),i=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.data("src"));_(i="https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+t+"&title="+e)}),P("body").on("click","div.rbs-imges-twitter",function(){var t=P(this),e=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.find("div").html());_(e="https://twitter.com/intent/tweet?url="+e+"&text="+t)}),P("body").on("click","div.rbs-imges-googleplus",function(){var t=P(this),t=encodeURIComponent(t.data("url"));_(t="https://plus.google.com/share?url="+t)}),P("body").on("click","div.rbs-imges-pinterest",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://pinterest.com/pin/create/button/?url="+e+"&media="+i+"&description="+t)}),P("body").on("click","div.rbs-imges-vk",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://vk.com/share.php?url="+e+"&image="+i+"&title="+t)}),this}function t(t){var e,i=t.find(".rbs-imges-drop-down-menu"),a=t.find(".rbs-imges-drop-down-header");function o(){i.hide()}function n(){i.show()}function s(){var t=i.find(".selected"),t=t.length?t.parents("li"):i.children().first();a.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function r(t){t.preventDefault(),t.stopPropagation(),P(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}s(),e=!1,t=navigator.userAgent||navigator.vendor||S.opera,(e=!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))||e)?(P("body").on("click",function(){i.is(":visible")&&o()}),a.bind("click",function(t){t.stopPropagation(),(i.is(":visible")?o:n)()}),i.find("> li > *").bind("click",r)):(a.bind("mouseout",o).bind("mouseover",n),i.find("> li > *").bind("mouseout",o).bind("mouseover",n).bind("click",r)),a.on("click","a",function(t){t.preventDefault()})}P.fn.collagePlus=function(o){return this.each(function(t,e){var i=P(this);if(i.data("collagePlus"))return i.data("collagePlus");var a=new n(this,o);i.data("collagePlus",a),P(".thumbnail-overlay a",this).click(function(t){t.preventDefault();t=P(this).attr("href");return"_blank"==P(this).attr("target")?S.open(t,"_blank"):location.href=t,!1})})},P.fn.collagePlus.defaults={debug:!1,boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!0,descBox:!1,descBoxClass:"",descBoxSource:"",id:0,effectType:"baseEffect",effectStyle:!1},P(".rbs-imges-drop-down").each(function(){t(P(this))})}(window,window.rbjQuer||window.jQuery);
108
  /*
109
  * RoboGallery Script Version: 1.0
110
  * Copyright (c) 2014-2019, Robosoft. All rights reserved.
90
  /*! Magnific Popup - v1.0.0 - 2015-01-03
91
  * http://dimsemenov.com/plugins/magnific-popup/
92
  * Copyright (c) 2015 Dmitry Semenov; */
93
+ !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.rbjQuer||window.jQuery||window.Zepto)}(function(c){function e(){}function u(e,t){m.ev.on(n+e+w,t)}function d(e,t,n,o){var i=document.createElement("div");return i.className="mfp-"+e,n&&(i.innerHTML=n),o?t&&t.appendChild(i):(i=c(i),t&&i.appendTo(t)),i}function p(e,t){m.ev.triggerHandler(n+e,t),m.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),m.st.callbacks[e]&&m.st.callbacks[e].apply(m,c.isArray(t)?t:[t]))}function f(e){return e===t&&m.currTemplate.closeBtn||(m.currTemplate.closeBtn=c(m.st.closeMarkup.replace("%title%",m.st.tClose)),t=e),m.currTemplate.closeBtn}function r(){c.magnificPopup.instance||((m=new e).init(),c.magnificPopup.instance=m)}var m,o,g,i,h,t,l="Close",v="BeforeClose",C="MarkupParse",y="Open",a="Change",n="mfp",w="."+n,b="mfp-ready",s="mfp-removing",I="mfp-prevent-close",x=!!window.jQuery,k=c(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;m.isIE7=-1!==e.indexOf("MSIE 7."),m.isIE8=-1!==e.indexOf("MSIE 8."),m.isLowIE=m.isIE7||m.isIE8,m.isAndroid=/android/gi.test(e),m.isIOS=/iphone|ipad|ipod/gi.test(e),m.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),m.probablyMobile=m.isAndroid||m.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),g=c(document),m.popupsCache={}},open:function(e){if(!1===e.isObj){m.items=e.items.toArray(),m.index=0;for(var t,n=e.items,o=0;o<n.length;o++)if((t=(t=n[o]).parsed?t.el[0]:t)===e.el[0]){m.index=o;break}}else m.items=c.isArray(e.items)?e.items:[e.items],m.index=e.index||0;var i=e.items[m.index];if(!c(i).hasClass("mfp-link")){if(!m.isOpen){m.types=[],h="",e.mainEl&&e.mainEl.length?m.ev=e.mainEl.eq(0):m.ev=g,e.key?(m.popupsCache[e.key]||(m.popupsCache[e.key]={}),m.currTemplate=m.popupsCache[e.key]):m.currTemplate={},m.st=c.extend(!0,{},c.magnificPopup.defaults,e),m.fixedContentPos="auto"===m.st.fixedContentPos?!m.probablyMobile:m.st.fixedContentPos,m.st.modal&&(m.st.closeOnContentClick=!1,m.st.closeOnBgClick=!1,m.st.showCloseBtn=!1,m.st.enableEscapeKey=!1),m.bgOverlay||(m.bgOverlay=d("bg").on("click"+w,function(){m.close()}),m.wrap=d("wrap").attr("tabindex",-1).on("click"+w,function(e){m._checkIfClose(e.target)&&m.close()}),m.container=d("container",m.wrap)),m.contentContainer=d("content"),m.st.preloader&&(m.preloader=d("preloader",m.container,m.st.tLoading)),m.st.protectionEnable&&(m.container[0].oncontextmenu=function(e){return e.preventDefault(),!1},m.container[0].onselectionstart=function(e){return e.preventDefault(),!1},m.container[0].ondragstart=function(e){return e.preventDefault(),!1});var r=c.magnificPopup.modules;for(o=0;o<r.length;o++){var a=(a=r[o]).charAt(0).toUpperCase()+a.slice(1);m["init"+a].call(m)}p("BeforeOpen"),m.st.showCloseBtn&&(m.st.closeBtnInside?(u(C,function(e,t,n,o){n.close_replaceWith=f(o.type)}),h+=" mfp-close-btn-in"):m.wrap.append(f())),m.st.alignTop&&(h+=" mfp-align-top"),m.fixedContentPos?m.wrap.css({overflow:m.st.overflowY,overflowX:"hidden",overflowY:m.st.overflowY}):m.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==m.st.fixedBgPos&&("auto"!==m.st.fixedBgPos||m.fixedContentPos)||m.bgOverlay.css({height:g.height(),position:"absolute"}),m.st.enableEscapeKey&&g.on("keyup"+w,function(e){27===e.keyCode&&m.close()}),k.on("resize"+w,function(){m.updateSize()}),m.st.closeOnContentClick||(h+=" mfp-auto-cursor"),h&&m.wrap.addClass(h);var s=m.wH=k.height(),i={};m.fixedContentPos&&(!m._hasScrollBar(s)||(l=m._getScrollbarSize())&&(i.marginRight=l)),m.fixedContentPos&&(m.isIE7?c("body, html").css("overflow","hidden"):i.overflow="hidden");var l=m.st.mainClass;return m.isIE7&&(l+=" mfp-ie7"),l&&m._addClassToMFP(l),m.updateItemHTML(),p("BuildControls"),c("html").css(i),m.bgOverlay.add(m.wrap).prependTo(m.st.prependTo||c(document.body)),m._lastFocusedEl=document.activeElement,setTimeout(function(){m.content?(m._addClassToMFP(b),m._setFocus()):m.bgOverlay.addClass(b),g.on("focusin"+w,m._onFocusIn)},16),m.isOpen=!0,m.updateSize(s),p(y),e}m.updateItemHTML()}},close:function(){m.isOpen&&(p(v),m.isOpen=!1,m.st.removalDelay&&!m.isLowIE&&m.supportsTransition?(m._addClassToMFP(s),setTimeout(function(){m._close()},m.st.removalDelay)):m._close())},_close:function(){p(l);var e=s+" "+b+" ";m.bgOverlay.detach(),m.wrap.detach(),m.container.empty(),m.st.mainClass&&(e+=m.st.mainClass+" "),m._removeClassFromMFP(e),m.fixedContentPos&&(e={marginRight:""},m.isIE7?c("body, html").css("overflow",""):e.overflow="",c("html").css(e)),g.off("keyup.mfp focusin"+w),m.ev.off(w),m.wrap.attr("class","mfp-wrap").removeAttr("style"),m.bgOverlay.attr("class","mfp-bg"),m.container.attr("class","mfp-container"),!m.st.showCloseBtn||m.st.closeBtnInside&&!0!==m.currTemplate[m.currItem.type]||m.currTemplate.closeBtn&&m.currTemplate.closeBtn.detach(),m._lastFocusedEl&&c(m._lastFocusedEl).focus(),m.currItem=null,m.content=null,m.currTemplate=null,m.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;m.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,t=window.innerHeight*t,m.wrap.css("height",t),m.wH=t):m.wH=e||k.height(),m.fixedContentPos||m.wrap.css("height",m.wH),p("Resize")},updateItemHTML:function(){var e=m.items[m.index];m.contentContainer.detach(),m.content&&m.content.detach();var t=(e=!e.parsed?m.parseEl(m.index):e).type;p("BeforeChange",[m.currItem?m.currItem.type:"",t]),m.currItem=e,m.currTemplate[t]||(n=!!m.st[t]&&m.st[t].markup,p("FirstMarkupParse",n),m.currTemplate[t]=!n||c(n)),i&&i!==e.type&&m.container.removeClass("mfp-"+i+"-holder");var n=m["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,m.currTemplate[t]);m.appendContent(n,t),e.preloaded=!0,p(a,e),i=e.type,m.container.prepend(m.contentContainer),p("AfterChange")},appendContent:function(e,t){(m.content=e)?m.st.showCloseBtn&&m.st.closeBtnInside&&!0===m.currTemplate[t]?m.content.find(".mfp-close").length||m.content.append(f()):m.content=e:m.content="",p("BeforeAppend"),m.container.addClass("mfp-"+t+"-holder"),m.contentContainer.append(m.content)},parseEl:function(e){var t,n=m.items[e];if((n=n.tagName?{el:c(n)}:(t=n.type,{data:n,src:n.src})).el){for(var o=m.types,i=0;i<o.length;i++)if(n.el.hasClass("mfp-"+o[i])){t=o[i];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||m.st.type||"inline",n.index=e,n.parsed=!0,m.items[e]=n,p("ElementParse",n),m.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,m._openClick(e,t,n)}var o="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(o).on(o,e)):(n.isObj=!1,n.delegate?t.off(o).on(o,n.delegate,e):(n.items=t).off(o).on(o,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n:c.magnificPopup.defaults).midClick||2!==e.which&&!e.ctrlKey&&!e.metaKey){var o=(void 0!==n.disableOn?n:c.magnificPopup.defaults).disableOn;if(o)if(c.isFunction(o)){if(!o.call(m))return!0}else if(k.width()<o)return!0;e.type&&(e.preventDefault(),m.isOpen&&e.stopPropagation()),n.el=c(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),m.open(n)}},updateStatus:function(e,t){var n;m.preloader&&(o!==e&&m.container.removeClass("mfp-s-"+o),n={status:e,text:t=!t&&"loading"===e?m.st.tLoading:t},p("UpdateStatus",n),e=n.status,m.preloader.html(t=n.text),m.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),m.container.addClass("mfp-s-"+e),o=e)},_checkIfClose:function(e){if(!c(e).hasClass(I)){var t=m.st.closeOnContentClick,n=m.st.closeOnBgClick;if(t&&n)return!0;if(!m.content||c(e).hasClass("mfp-close")||m.preloader&&e===m.preloader[0])return!0;if(e===m.content[0]||c.contains(m.content[0],e)){if(t)return!0}else if(n&&c.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){m.bgOverlay.addClass(e),m.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),m.wrap.removeClass(e)},_hasScrollBar:function(e){return(m.isIE7?g.height():document.body.scrollHeight)>(e||k.height())},_setFocus:function(){(m.st.focus?m.content.find(m.st.focus).eq(0):m.wrap).focus()},_onFocusIn:function(e){if(e.target!==m.wrap[0]&&!c.contains(m.wrap[0],e.target))return m._setFocus(),!1},_parseMarkup:function(i,e,t){var r;t.data&&(e=c.extend(t.data,e)),p(C,[i,e,t]),c.each(e,function(e,t){return void 0===t||!1===t||void(1<(r=e.split("_")).length?0<(n=i.find(w+"-"+r[0])).length&&("replaceWith"===(o=r[1])?n[0]!==t[0]&&n.replaceWith(t):"img"===o?n.is("img")?n.attr("src",t):n.replaceWith('<img src="'+t+'" class="'+n.attr("class")+'" />'):n.attr(r[1],t)):i.find(w+"-"+e).html(t));var n,o})},_getScrollbarSize:function(){var e;return void 0===m.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),m.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),m.scrollbarSize}},c.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return r(),(e=e?c.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(c.magnificPopup.defaults[e]=t.options),c.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading...",protectionEnable:!1}},c.fn.magnificPopup=function(e){r();var t,n,o,i=c(this);return"string"==typeof e?"open"===e?(t=x?i.data("magnificPopup"):i[0].magnificPopup,n=parseInt(arguments[1],10)||0,o=t.items?t.items[n]:(o=i,(o=t.delegate?o.find(t.delegate):o).eq(n)),m._openClick({mfpEl:o},i,t)):m.isOpen&&m[e].apply(m,Array.prototype.slice.call(arguments,1)):(e=c.extend(!0,{},e),x?i.data("magnificPopup",e):i[0].magnificPopup=e,m.addGroup(i,e)),i};function T(){S&&(_.after(S.addClass(E)).detach(),S=null)}var E,_,S,P="inline";c.magnificPopup.registerModule(P,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){m.types.push(P),u(l+"."+P,function(){T()})},getInline:function(e,t){if(T(),e.src){var n,o=m.st.inline,i=c(e.src);return i.length?((n=i[0].parentNode)&&n.tagName&&(_||(E=o.hiddenClass,_=d(E),E="mfp-"+E),S=i.after(_).detach().removeClass(E)),m.updateStatus("ready")):(m.updateStatus("error",o.tNotFound),i=c("<div>")),e.inlineElement=i}return m.updateStatus("ready"),m._parseMarkup(t,{},e),t}}});function z(){M&&c(document.body).removeClass(M)}function O(){z(),m.req&&m.req.abort()}var M,B="ajax";c.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){m.types.push(B),M=m.st.ajax.cursor,u(l+"."+B,O),u("BeforeChange."+B,O)},getAjax:function(o){M&&c(document.body).addClass(M),m.updateStatus("loading");var e=c.extend({url:o.src,success:function(e,t,n){n={data:e,xhr:n};p("ParseAjax",n),m.appendContent(c(n.data),B),o.finished=!0,z(),m._setFocus(),setTimeout(function(){m.wrap.addClass(b)},16),m.updateStatus("ready"),p("AjaxContentAdded")},error:function(){z(),o.finished=o.loadError=!0,m.updateStatus("error",m.st.ajax.tError.replace("%url%",o.src))}},m.st.ajax.settings);return m.req=c.ajax(e),""}}});var F;c.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=m.st.image,t=".image";m.types.push("image"),u(y+t,function(){"image"===m.currItem.type&&e.cursor&&c(document.body).addClass(e.cursor)}),u(l+t,function(){e.cursor&&c(document.body).removeClass(e.cursor),k.off("resize"+w)}),u("Resize"+t,m.resizeImage),m.isLowIE&&u("AfterChange",m.resizeImage)},resizeImage:function(){var e,t=m.currItem;t&&t.img&&m.st.image.verticalFit&&(e=0,m.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",m.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(m.content&&m.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,o=t.img[0],i=function(e){F&&clearInterval(F),F=setInterval(function(){0<o.naturalWidth?m._onImageHasSize(t):(200<n&&clearInterval(F),3===++n?i(10):40===n?i(50):100===n&&i(500))},e)};i(1)},getImage:function(e,t){if(!(s=e.el).length||!s.hasClass("mfp-link")){var n,o=0,i=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++o<200?setTimeout(i,100):r())},r=function(){e&&(e.img.off(".mfploader"),e===m.currItem&&(m._onImageHasSize(e),m.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},a=m.st.image,s=t.find(".mfp-img");return(s.length&&((n=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(n.alt=e.el.find("img").attr("alt")),e.img=c(n).on("load.mfploader",i).on("error.mfploader",r),n.src=e.src,s.is("img")&&(e.img=e.img.clone()),0<(n=e.img[0]).naturalWidth?e.hasSize=!0:n.width||(e.hasSize=!1)),m._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=m.st.image.titleSrc;if(t){if(c.isFunction(t))return t.call(m,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),m.resizeImage(),e.hasSize)?(F&&clearInterval(F),e.loadError?(t.addClass("mfp-loading"),m.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),m.updateStatus("ready")),t):(m.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),m.findImageSize(e)),t)}m.close()}}});var H;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,n,o,i,r,a=m.st.zoom,s=".zoom";a.enabled&&m.supportsTransition&&(t=a.duration,n=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+a.duration/1e3+"s "+a.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},e="transition";return o["-webkit-"+e]=o["-moz-"+e]=o["-o-"+e]=o[e]=n,t.css(o),t},o=function(){m.content.css("visibility","visible")},u("BuildControls"+s,function(){m._allowZoom()&&(clearTimeout(i),m.content.css("visibility","hidden"),(e=m._getItemToZoom())?((r=n(e)).css(m._getOffset()),m.wrap.append(r),i=setTimeout(function(){r.css(m._getOffset(!0)),i=setTimeout(function(){o(),setTimeout(function(){r.remove(),e=r=null,p("ZoomAnimationEnded")},16)},t)},16)):o())}),u(v+s,function(){if(m._allowZoom()){if(clearTimeout(i),m.st.removalDelay=t,!e){if(!(e=m._getItemToZoom()))return;r=n(e)}r.css(m._getOffset(!0)),m.wrap.append(r),m.content.css("visibility","hidden"),setTimeout(function(){r.css(m._getOffset())},16)}}),u(l+s,function(){m._allowZoom()&&(o(),r&&r.remove(),e=null)}))},_allowZoom:function(){return"image"===m.currItem.type},_getItemToZoom:function(){return!!m.currItem.hasSize&&m.currItem.img},_getOffset:function(e){var t=e?m.currItem.img:m.st.zoom.opener(m.currItem.el||m.currItem),n=t.offset(),o=parseInt(t.css("padding-top"),10),e=parseInt(t.css("padding-bottom"),10);n.top-=c(window).scrollTop()-o;o={width:t.width(),height:(x?t.innerHeight():t[0].offsetHeight)-e-o};return(H=void 0===H?void 0!==document.createElement("p").style.MozTransform:H)?o["-moz-transform"]=o.transform="translate("+n.left+"px,"+n.top+"px)":(o.left=n.left,o.top=n.top),o}}});function L(e){var t;!m.currTemplate[A]||(t=m.currTemplate[A].find("iframe")).length&&(e||(t[0].src="//about:blank"),m.isIE8&&t.css("display",e?"block":"none"))}var A="iframe";c.magnificPopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){m.types.push(A),u("BeforeChange",function(e,t,n){t!==n&&(t===A?L():n===A&&L(!0))}),u(l+"."+A,function(){L()})},getIframe:function(e,t){var n=e.src,o=m.st.iframe;c.each(o.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var i={};return o.srcAction&&(i[o.srcAction]=n),m._parseMarkup(t,i,e),m.updateStatus("ready"),t}}});function j(e){var t=m.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}c.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=m.st.gallery,e=".mfp-gallery",o=Boolean(c.fn.mfpFastClick);if(m.direction=!0,!r||!r.enabled)return!1;h+=" mfp-gallery",u(y+e,function(){r.navigateByImgClick&&m.wrap.on("click"+e,".mfp-img",function(){if(1<m.items.length)return m.next(),!1}),g.on("keydown"+e,function(e){37===e.keyCode?m.prev():39===e.keyCode&&m.next()})}),u("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,m.currItem.index,m.items.length))}),u(C+e,function(e,t,n,o){var i=m.items.length;n.counter=1<i?N(r.tCounter,o.index,i):""}),u("BuildControls"+e,function(){var e,t,n;1<m.items.length&&r.arrows&&!m.arrowLeft&&(n=r.arrowMarkup,e=m.arrowLeft=c(n.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(I),t=m.arrowRight=c(n.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(I),e[n=o?"mfpFastClick":"click"](function(){m.prev()}),t[n](function(){m.next()}),m.isIE7&&(d("b",e[0],!1,!0),d("a",e[0],!1,!0),d("b",t[0],!1,!0),d("a",t[0],!1,!0)),m.container.append(e.add(t)))}),u(a+e,function(){m._preloadTimeout&&clearTimeout(m._preloadTimeout),m._preloadTimeout=setTimeout(function(){m.preloadNearbyImages(),m._preloadTimeout=null},16)}),u(l+e,function(){g.off(e),m.wrap.off("click"+e),m.arrowLeft&&o&&m.arrowLeft.add(m.arrowRight).destroyMfpFastClick(),m.arrowRight=m.arrowLeft=null})},next:function(){m.direction=!0,m.index=j(m.index+1),m.updateItemHTML()},prev:function(){m.direction=!1,m.index=j(m.index-1),m.updateItemHTML()},goTo:function(e){m.direction=e>=m.index,m.index=e,m.updateItemHTML()},preloadNearbyImages:function(){for(var e=m.st.gallery.preload,t=Math.min(e[0],m.items.length),n=Math.min(e[1],m.items.length),o=1;o<=(m.direction?n:t);o++)m._preloadItem(m.index+o);for(o=1;o<=(m.direction?t:n);o++)m._preloadItem(m.index-o)},_preloadItem:function(e){var t;e=j(e),m.items[e].preloaded||((t=m.items[e]).parsed||(t=m.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=c('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}});var W,R,Z="retina";function q(){k.off("touchmove"+R+" touchend"+R)}c.magnificPopup.registerModule(Z,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,o;1<window.devicePixelRatio&&(n=m.st.retina,o=n.ratio,1<(o=isNaN(o)?o():o)&&(u("ImageHasSize."+Z,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/o,width:"100%"})}),u("ElementParse."+Z,function(e,t){t.src=n.replaceSrc(t,o)})))}}}),W="ontouchstart"in window,R=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var t,n,o,i,r,a,s,e=c(this);W&&e.on("touchstart"+R,function(e){r=!1,s=1,a=(e.originalEvent||e).touches[0],o=a.clientX,i=a.clientY,k.on("touchmove"+R,function(e){a=(e.originalEvent||e).touches,s=a.length,a=a[0],(10<Math.abs(a.clientX-o)||10<Math.abs(a.clientY-i))&&(r=!0,q())}).on("touchend"+R,function(e){q(),r||1<s||(t=!0,e.preventDefault(),clearTimeout(n),n=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+R,function(){t||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+R+" click"+R),W&&k.off("touchmove"+R+" touchend"+R)},r()});
94
  /*
95
  * @fileOverview TouchSwipe - jQuery Plugin
96
  * @version 1.6.15
104
  Licensed under the MIT license - http://opensource.org/licenses/MIT
105
  Copyright (C) 2015 Andrew Prasetya
106
  */
107
+ !function(S,P,E){function n(t,e){var m=P.extend({},P.fn.collagePlus.defaults,e),f=P(t).addClass("rbs-imges-container"),u=".rbs-img",g=".rbs-img-image",o="rbs-img",p="rbs-img-hidden",h=ModernizrL.csstransitions?"transition":"animate",i={},n=0;"default"==m.overlayEasing&&(m.overlayEasing="transition"==h?"_default":"swing");var s=P('<div class="rbs-imges-load-more button"></div>').insertAfter(f);function b(o,n){function i(t){var e=P(t.img),i=e.parents(".image-with-dimensions");i[0]!=E&&(t.isLoaded?e.fadeIn(400,function(){i.removeClass("image-with-dimensions")}):(i.removeClass("image-with-dimensions"),e.hide(),i.addClass("broken-image-here")))}o.find(u).find(g+":not([data-imageconverted])").each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0),a=e.data("thumbnail");e[0]==E&&(a=(e=i).data("popup")),(0!=n||0!=o.data("settings").waitForAllThumbsNoMatterWhat||e.data("width")==E&&e.data("height")==E)&&(t.attr("data-imageconverted","yes"),t=e.attr("title"),a=P('<img style="margin:auto !important;" alt="'+(t=t==E?a:t)+'" title="'+t+'" src="'+a+'" />'),1==n&&(a.attr("data-dont-wait-for-me","yes"),e.addClass("image-with-dimensions"),o.data("settings").waitUntilThumbLoads&&a.hide()),e.addClass("rbs-img-thumbnail-container").prepend(a))}),1==n&&o.find(".image-with-dimensions").imagesLoadedMB().always(function(t){for(index in t.images)i(t.images[index])}).progress(function(t,e){i(e)})}function v(n){n.find(u).each(function(){var t=P(this),e=t.find(g),i=e.find("div[data-thumbnail]").eq(0),a=e.find("div[data-popup]").eq(0);i[0]==E&&(i=a);var o=t.css("display");"none"==o&&t.css("margin-top",99999999999999).show();a=2*n.data("settings").borderSize;e.width(i.width()-a),e.height(i.height()-a),"none"==o&&t.css("margin-top",0).hide()})}function w(o){o.find(u).find(g).each(function(){var t=P(this),e=t.find("div[data-thumbnail]").eq(0),i=t.find("div[data-popup]").eq(0);e[0]==E&&(e=i);var a=parseFloat(e.data("width")),i=parseFloat(e.data("height")),t=t.parents(u).width()-o.data("settings").horizontalSpaceBetweenBoxes,a=i*t/a;e.css("width",t),e.data("width")==E&&e.data("height")==E||e.css("height",Math.floor(a))})}function r(t,e,a){var i=t.find(u),o="auto"==e?Math.floor((t.width()-1)/a):e;t.find(".rbs-imges-grid-sizer").css("width",o),i.each(function(t){var e=P(this),i=e.data("columns");i!=E&&parseInt(a)>=parseInt(i)?e.css("width",o*parseInt(i)):e.css("width",o)})}function y(t){var e,i,a,o=!1;for(e in t.data("settings").resolutions){var n=t.data("settings").resolutions[e];if(n.maxWidth>=(a=i=void 0,a="inner","innerWidth"in(i=S)||(a="client",i=document.documentElement||document.body),[i[a+"Width"],i[a+"Height"]][0])){r(t,n.columnWidth,n.columns),o=!0;break}}0==o&&r(t,t.data("settings").columnWidth,t.data("settings").columns)}function d(t,e){f.addClass("filtering-isotope"),l(t,e),t=f.find(u+", ."+p),e=k(),t.filter(e).removeClass("hidden-rbs-imges-by-filter").addClass("visible-rbs-imges-by-filter"),t.not(e).addClass("hidden-rbs-imges-by-filter").removeClass("visible-rbs-imges-by-filter"),a()}function a(){(0<c().not(".rbs-img-loaded").length?C:B)(),function(){var t=c().length;if(t<m.minBoxesPerFilter&&0<x().length)return L(m.minBoxesPerFilter-t)}()}function l(t,e){i[e]=t,f.eveMB({filter:function(t){for(var e in t)(a=t[e])==E&&(t[e]="*");var i="";for(e in t){var a=t[e];(""==i||i.split(",").length<a.split(",").length)&&(i=e)}var o=t[i];for(e in t)if(e!=i)for(var n=t[e].split(","),s=0;s<n.length;s++){for(var r=o.split(","),d=[],l=0;l<r.length;l++)"*"==r[l]&&"*"==n[s]?n[s]="":("*"==n[s]&&(n[s]=""),"*"==r[l]&&(r[l]="")),d.push(r[l]+n[s]);o=d.join(",")}return o}(i)})}function c(){var t=f.find(u),e=k();return t="*"!=e?t.filter(e):t}function k(){var t=f.data("eveMB").options.filter;return t=""==t||t==E?"*":t}function x(t){var e=f.find("."+p),i=k();return e="*"!=i&&t==E?e.filter(i):e}function C(){m.debug&&console.log(f.attr("id")+" run function loading"),s.html(m.LoadingWord),s.removeClass("rbs-imges-load-more"),s.addClass("rbs-imges-loading")}function B(){m.debug&&console.log(f.attr("id")+" run function fixLoadMoreButton"),s.removeClass("rbs-imges-load-more"),s.removeClass("rbs-imges-loading"),s.removeClass("rbs-imges-no-more-entries"),0<x().length?(s.html(m.loadMoreWord),s.addClass("rbs-imges-load-more")):(s.html(m.noMoreEntriesWord),s.addClass("rbs-imges-no-more-entries"))}function L(i,t){var a;m.debug&&console.log(f.attr("id")+" run function loadMore - 1"),1!=s.hasClass("rbs-imges-no-more-entries")?(m.debug&&console.log(f.attr("id")+" run function loadMore - 2"),m.debug&&console.log(f.attr("id")+" run function startLoading"),n++,C(),a=[],x(t).each(function(t){var e=P(this);t+1<=i?(e.removeClass(p).addClass(o),e.hide(),a.push(this)):m.debug&&console.log(f.attr("id")+" run function loadMore - hiddenBoxesWaitingToLoad = 0")}),f.eveMB("insert",P(a),function(){m.debug&&console.log(f.attr("id")+" run insert (newboxes) ",a),n--,m.debug&&console.log(f.attr("id")+" run function FinishLoading (loadingsCounter)="+n),0==n?B():n<=0&&(console.log("loadingsCounter was fixed"),B()),f.eveMB("layout")})):m.debug&&console.log(f.attr("id")+" run function loadMore - no more entries ")}if(s.wrap('<div class="rbs_gallery_button rbs_gallery_button_bottom"></div>'),s.addClass(m.loadMoreClass),m.debug&&console.log(f.attr("id")+"Init LoadMore After create "),m.resolutions.sort(function(t,e){return t.maxWidth-e.maxWidth}),f.data("settings",m),f.css({"margin-left":-m.horizontalSpaceBetweenBoxes}),f.find(u).removeClass(o).addClass(p),e=P(m.sortContainer).find(m.sort).filter(".selected"),t=e.attr("data-sort-by"),e=M(e),f.append('<div class="rbs-imges-grid-sizer"></div>'),f.eveMB({itemSelector:u,masonry:{columnWidth:".rbs-imges-grid-sizer"},getSortData:m.getSortData,sortBy:t,sortAscending:e}),m.debug&&console.log(f.attr("id")+"Init addPOPUPTriger function"),m.debug&&console.log(f.attr("id")+"Init convertDivs function"),m.debug&&console.log(f.attr("id")+"Init setDimensionsToImageContainer function"),P.extend(EveMB.prototype,{resize:function(){var i,t=P(this.element);y(t),w(t),v(t),(i=t).find(u).each(function(){var t=P(this).find(g),e=i.data("settings").overlayEffect;"direction"==(e=t.data("overlay-effect")!=E?t.data("overlay-effect"):e).substr(0,9)&&t.find(".thumbnail-overlay").hide()}),i.eveMB("layout"),this.isResizeBound&&this.needsResizeLayout()&&this.layout()}}),P.extend(EveMB.prototype,{_setContainerMeasure:function(t,e){var i;t!==E&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px",t=P(this.element),P.waypoints("refresh"),t.addClass("lazy-load-ready"),t.removeClass("filtering-isotope"))}}),P.extend(EveMB.prototype,{insert:function(t,i){var a=this.addItems(t);if(a.length){for(var e,o=P(this.element),n=o.find("."+p)[0],s=a.length,r=0;r<s;r++)e=a[r],n!=E?this.element.insertBefore(e.element,n):this.element.appendChild(e.element);function d(t){var e=P(t.img),i=e.parents("div[data-thumbnail], div[data-popup]");0==t.isLoaded&&(e.hide(),i.addClass("broken-image-here"))}var l,c=this;l=o,t=P('<div class="rbs-img-container"></div').css({"margin-left":l.data("settings").horizontalSpaceBetweenBoxes,"margin-bottom":l.data("settings").verticalSpaceBetweenBoxes}),l.find(u+":not([data-wrapper-added])").attr("data-wrapper-added","yes").wrapInner(t),y(o),w(o),o.find(u+", ."+p).find(g+":not([data-popupTrigger])").each(function(){var t=P(this),e=t.find("div[data-popup]").eq(0);t.attr("data-popupTrigger","yes");var i="mfp-image";"iframe"==e.data("type")?i="mfp-iframe":"inline"==e.data("type")?i="mfp-inline":"ajax"==e.data("type")?i="mfp-ajax":"link"==e.data("type")?i="mfp-link":"blanklink"==e.data("type")&&(i="mfp-blanklink");t=t.find(".rbs-lightbox").addBack(".rbs-lightbox");t.attr("data-mfp-src",e.data("popup")).addClass(i),e.attr("title")!=E&&t.attr("mfp-title",e.attr("title")),e.attr("data-alt")!=E&&t.attr("mfp-alt",e.attr("data-alt"))}),b(o,!1),o.find("img:not([data-dont-wait-for-me])").imagesLoadedMB().always(function(){var t;for(index in 0==m.waitForAllThumbsNoMatterWhat&&b(o,!0),o.find(u).addClass("rbs-img-loaded"),function(){var t=this._filter(a);for(this._noTransition(function(){this.hide(t)}),r=0;r<s;r++)a[r].isLayoutInstant=!0;for(this.arrange(),r=0;r<s;r++)delete a[r].isLayoutInstant;this.reveal(t)}.call(c),v(o),t={container:t=o,container_settings:t.data("settings"),settings:m,$container:f,itemSelector:u,boxImageSelector:g,animation:h},roboEffectClass.trigger(t),"function"==typeof i&&i(),c.images){var e=c.images[index];d(e)}}).progress(function(t,e){d(e)})}}}),L(m.boxesToLoadStart,!0),s.on("click",function(){L(m.boxesToLoad)}),m.lazyLoad){m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad");let e=1;f.waypoint(function(t){f.hasClass("lazy-load-ready")&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad initLazyLoad",e),"down"==t&&0==f.hasClass("filtering-isotope")&&1!=e&&(m.debug&&console.log(f.attr("id")+" run insert (newboxes) lazyLoad call"),f.removeClass("lazy-load-ready"),L(m.boxesToLoad)))},{context:S,continuous:!0,enabled:!0,horizontal:!1,offset:"bottom-in-view",triggerOnce:!1}),e=0}function I(i){var t;i!=E&&(t=f.find("."+o+", ."+p),""==i?t.addClass("search-match"):(t.removeClass("search-match"),f.find(m.searchTarget).each(function(){var t=P(this),e=t.parents("."+o+", ."+p);-1!==t.text().toLowerCase().indexOf(i.toLowerCase())&&e.addClass("search-match")})),setTimeout(function(){d(".search-match","search")},100))}function M(t){var e=t.data("sort-ascending");return e==E&&(e=!0),t.data("sort-toggle")&&1==t.data("sort-toggle")&&t.data("sort-ascending",!e),e}(e=P(m.filterContainer)).find(m.filter).on("click",function(t){var e=P(this),i=e.parents(m.filterContainer);i.find(m.filter).removeClass(m.filterContainerSelectClass),e.addClass(m.filterContainerSelectClass);var a="filter";d(e.attr("data-filter"),a=i.data("id")!=E?i.data("id"):a),t.preventDefault(),s.is(".rbs-imges-no-more-entries")||s.click()}),e.each(function(){var t,e=P(this),i=e.find(m.filter).filter(".selected");i[0]!=E&&(t="filter",l(i.attr("data-filter"),t=e.data("id")!=E?e.data("id"):t))}),a(),I(P(m.search).val()),P(m.search).on("keyup",function(){I(P(this).val())}),P(m.sortContainer).find(m.sort).on("click",function(t){var e=P(this);e.parents(m.sortContainer).find(m.sort).removeClass("selected"),e.addClass("selected");var i=e.attr("data-sort-by");f.eveMB({sortBy:i,sortAscending:M(e)}),t.preventDefault()});var T,e=".rbs-lightbox[data-mfp-src]";function z(){if("#!"!=location.hash.substr(0,2))return null;var t=location.href.split("#!")[1];return{hash:t,src:t}}function W(){var i,a,t=P.magnificPopup.instance;t&&(!(i=z())&&t.isOpen?t.close():i&&(t.isOpen&&t.currItem&&t.currItem.el.parents(".rbs-imges-container").attr("id")==i.id?t.currItem.el.attr("data-mfp-src")!=i.src&&(a=null,P.each(t.items,function(t,e){if((e.parsed?e.el:P(e)).attr("data-mfp-src")==i.src)return a=t,!1}),null!==a&&t.goTo(a)):f.filter('[id="'+i.id+'"]').find('.rbs-lightbox[data-mfp-src="'+i.src+'"]').trigger("click")))}function _(t){S.open(t,"ftgw","location=1,status=1,scrollbars=1,width=600,height=400").moveTo(screen.width/2-300,screen.height/2-200)}return m.considerFilteringInPopup&&(e=u+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src], ."+p+":not(.hidden-rbs-imges-by-filter) .rbs-lightbox[data-mfp-src]"),m.showOnlyLoadedBoxesInPopup&&(e=u+":visible .rbs-lightbox[data-mfp-src]"),m.magnificPopup&&(T={delegate:e,type:"image",removalDelay:200,closeOnContentClick:!1,alignTop:m.alignTop,preload:m.preload,mainClass:"my-mfp-slide-bottom",gallery:{enabled:m.gallery},protectionEnable:m.protectionEnable,closeMarkup:'<button title="%title%" class="mfp-close"></button>',titleSrc:"title",iframe:{patterns:{youtube:{index:"youtube.com/",id:"v=",src:"https://www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"https://player.vimeo.com/video/%id%?autoplay=1"}},markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe><div class="mfp-bottom-bar" style="margin-top:4px;"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>'},callbacks:{change:function(){var n=P(this.currItem.el);return n.is(".mfp-link")?(S.location.href=P(this.currItem).attr("src"),!1):n.is(".mfp-blanklink")?(S.open(P(this.currItem).attr("src")),setTimeout(function(){P.magnificPopup.instance.close()},5),!1):(setTimeout(function(){var t="";m.descBox&&(P(".mfp-desc-block").remove(),void 0!==(o=n.attr("data-descbox"))&&P(".mfp-img").after("<div class='mfp-desc-block "+m.descBoxClass+"'>"+o+"</div>")),n.attr("mfp-title")==E||m.hideTitle?P(".mfp-title").html(""):P(".mfp-title").html(n.attr("mfp-title"));var e=n.attr("data-mfp-src"),t="";m.hideSourceImage&&(t=t+' <a class="image-source-link" href="'+e+'" target="_blank"></a>');var i=location.href,a=(location.href.replace(location.hash,""),n.attr("mfp-title")),o=n.attr("mfp-alt"),i=i;""==o&&(o=a),P(".mfp-img").attr("alt",o),P(".mfp-img").attr("title",a);o="";m.facebook&&(o+="<div class='rbs-imges-facebook fa fa-facebook-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.twitter&&(o+="<div class='rbs-imges-twitter fa fa-twitter-square' data-src="+e+" data-url='"+i+"'><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.googleplus&&(o+="<div class='rbs-imges-googleplus fa fa-google-plus-square' data-src="+e+" data-url='"+i+"'></div>"),m.pinterest&&(o+="<div class='rbs-imges-pinterest fa fa-pinterest-square' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>"),m.vk&&(o+="<div class='rbs-imges-vk fa fa-vk' data-src='"+e+"' data-url='"+i+"' ><div class='robo_gallery_hide_block'>"+a+"</div></div>");o=o?"<div class='rbs-imges-social-container'>"+o+"</div>":"",a=P(".mfp-title").html();P(".mfp-title").html(a+o+t)},5),void(m.deepLinking&&(location.hash="#!"+n.attr("data-mfp-src"))))},beforeOpen:function(){P("body").addClass("robo-lightbox-id"+m.id).swipe("enable"),this.container.data("scrollTop",parseInt(P(S).scrollTop()))},open:function(){P("html, body").scrollTop(this.container.data("scrollTop"))},close:function(){P("body").removeClass("robo-lightbox-id"+m.id).swipe("disable"),m.deepLinking&&(S.location.hash="#!")}}},P.extend(T,m.lightboxOptions),f.magnificPopup(T)),m.deepLinking&&((T=z())&&f.find('.rbs-lightbox[data-mfp-src="'+T.src+'"]').trigger("click"),S.addEventListener?S.addEventListener("hashchange",W,!1):S.attachEvent&&S.attachEvent("onhashchange",W)),P("body").on("click","div.rbs-imges-facebook",function(){var t=P(this),e=encodeURIComponent(t.find("div").html()),i=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.data("src"));_(i="https://www.facebook.com/sharer/sharer.php?u="+i+"&picture="+t+"&title="+e)}),P("body").on("click","div.rbs-imges-twitter",function(){var t=P(this),e=encodeURIComponent(t.data("url")),t=encodeURIComponent(t.find("div").html());_(e="https://twitter.com/intent/tweet?url="+e+"&text="+t)}),P("body").on("click","div.rbs-imges-googleplus",function(){var t=P(this),t=encodeURIComponent(t.data("url"));_(t="https://plus.google.com/share?url="+t)}),P("body").on("click","div.rbs-imges-pinterest",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://pinterest.com/pin/create/button/?url="+e+"&media="+i+"&description="+t)}),P("body").on("click","div.rbs-imges-vk",function(){var t=P(this),e=encodeURIComponent(t.data("url")),i=encodeURIComponent(t.data("src")),t=encodeURIComponent(t.find("div").html());_(e="http://vk.com/share.php?url="+e+"&image="+i+"&title="+t)}),this}function t(t){var e,i=t.find(".rbs-imges-drop-down-menu"),a=t.find(".rbs-imges-drop-down-header");function o(){i.hide()}function n(){i.show()}function s(){var t=i.find(".selected"),t=t.length?t.parents("li"):i.children().first();a.html(t.clone().find("a").append('<span class="fa fa-sort-desc"></span>').end().html())}function r(t){t.preventDefault(),t.stopPropagation(),P(this).parents("li").siblings("li").find("a").removeClass("selected").end().end().find("a").addClass("selected"),s()}s(),e=!1,t=navigator.userAgent||navigator.vendor||S.opera,(e=!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))||e)?(P("body").on("click",function(){i.is(":visible")&&o()}),a.bind("click",function(t){t.stopPropagation(),(i.is(":visible")?o:n)()}),i.find("> li > *").bind("click",r)):(a.bind("mouseout",o).bind("mouseover",n),i.find("> li > *").bind("mouseout",o).bind("mouseover",n).bind("click",r)),a.on("click","a",function(t){t.preventDefault()})}P.fn.collagePlus=function(o){return this.each(function(t,e){var i=P(this);if(i.data("collagePlus"))return i.data("collagePlus");var a=new n(this,o);i.data("collagePlus",a),P(".thumbnail-overlay a",this).click(function(t){t.preventDefault();t=P(this).attr("href");return"_blank"==P(this).attr("target")?S.open(t,"_blank"):location.href=t,!1})})},P.fn.collagePlus.defaults={debug:!1,boxesToLoadStart:8,boxesToLoad:4,minBoxesPerFilter:0,lazyLoad:!0,horizontalSpaceBetweenBoxes:15,verticalSpaceBetweenBoxes:15,columnWidth:"auto",columns:3,borderSize:0,resolutions:[{maxWidth:960,columnWidth:"auto",columns:3},{maxWidth:650,columnWidth:"auto",columns:2},{maxWidth:450,columnWidth:"auto",columns:1}],filterContainer:"#filter",filterContainerSelectClass:"active",filter:"a",search:"",searchTarget:".rbs-img-title",sortContainer:"",sort:"a",getSortData:{title:".rbs-img-title",text:".rbs-img-text"},waitUntilThumbLoads:!0,waitForAllThumbsNoMatterWhat:!1,thumbnailOverlay:!0,overlayEffect:"fade",overlaySpeed:200,overlayEasing:"default",showOnlyLoadedBoxesInPopup:!1,considerFilteringInPopup:!0,deepLinking:!1,gallery:!0,LoadingWord:"Loading...",loadMoreWord:"Load More",loadMoreClass:"",noMoreEntriesWord:"No More Entries",alignTop:!1,preload:[0,2],magnificPopup:!0,facebook:!1,twitter:!1,googleplus:!1,pinterest:!1,vk:!1,hideTitle:!1,hideCounter:!1,lightboxOptions:{},hideSourceImage:!1,touch:!0,descBox:!1,descBoxClass:"",descBoxSource:"",id:0,protectionEnable:!1,effectType:"baseEffect",effectStyle:!1},P(".rbs-imges-drop-down").each(function(){t(P(this))})}(window,window.rbjQuer||window.jQuery);
108
  /*
109
  * RoboGallery Script Version: 1.0
110
  * Copyright (c) 2014-2019, Robosoft. All rights reserved.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://robosoft.co/robogallery
4
  Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
5
  Requires at least: 3.3
6
  Tested up to: 5.8
7
- Stable tag: 3.1.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -45,7 +45,7 @@ Gallery on your website it's really attractive and very important part of your p
45
 
46
  = Key Features =
47
  * **No Right click / Content protection** - in Robo gallery possible to disable right click to prevent copy of the gallery content. Content copy protection is very important for every photographer's portfolio photos.
48
- * **Lightbox no right click / Content protection ** - in Robo gallery possible to disable right click to prevent copy of the gallery lightbox content. Content copy protection is very important for every photographer's portfolio photos.
49
  * **One click setup** - implemented one click wizard with the 5 types: image grid, mosaic, masonry, polaroid, youtube gallery.
50
  * **No limits** - no limits for amount of instances with 5 free types: photo grid, mosaic, masonry, polaroid, youtube grid.
51
  * **No limits for images / photos** - no limits for amount of the images / photos in every album.
@@ -235,6 +235,11 @@ If any problem occurs, please contact us.
235
 
236
  == Changelog ==
237
 
 
 
 
 
 
238
  = 3.1.4 =
239
  * Right click protection for the gallery and lightbox
240
  * Fix of the PHP warnings
@@ -652,7 +657,7 @@ If any problem occurs, please contact us.
652
 
653
  == Upgrade Notice ==
654
 
655
- = 3.1.4 =
656
- Right click protection for the gallery and lightbox
657
- Fix of the PHP warnings
658
- Plugin admin section modifications and fixes
4
  Tags: gallery, photo gallery, image gallery, wordpress gallery plugin, responsive gallery
5
  Requires at least: 3.3
6
  Tested up to: 5.8
7
+ Stable tag: 3.1.5
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
45
 
46
  = Key Features =
47
  * **No Right click / Content protection** - in Robo gallery possible to disable right click to prevent copy of the gallery content. Content copy protection is very important for every photographer's portfolio photos.
48
+ * **Lightbox no right click / Content protection** - in Robo gallery possible to disable right click to prevent copy of the gallery lightbox content. Content copy protection is very important for every photographer's portfolio photos.
49
  * **One click setup** - implemented one click wizard with the 5 types: image grid, mosaic, masonry, polaroid, youtube gallery.
50
  * **No limits** - no limits for amount of instances with 5 free types: photo grid, mosaic, masonry, polaroid, youtube grid.
51
  * **No limits for images / photos** - no limits for amount of the images / photos in every album.
235
 
236
  == Changelog ==
237
 
238
+ = 3.1.5 =
239
+ * Fixed lightbox right click content protection fix
240
+ * Added doublicate post option
241
+ * Added new draft option
242
+
243
  = 3.1.4 =
244
  * Right click protection for the gallery and lightbox
245
  * Fix of the PHP warnings
657
 
658
  == Upgrade Notice ==
659
 
660
+ = 3.1.5 =
661
+ Fixed lightbox right click content protection fix
662
+ Added doublicate post option
663
+ Added new draft option
robogallery.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Robo Gallery
4
  Plugin URI: https://robosoft.co/gallery
5
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
6
- Version: 3.1.4
7
  Author: RoboSoft
8
  Author URI: https://robosoft.co/gallery
9
  License: GPLv3 or later
@@ -14,7 +14,7 @@ Domain Path: /languages
14
  if( !defined('WPINC') ) die;
15
  if( !defined("ABSPATH") ) exit;
16
 
17
- define("ROBO_GALLERY_VERSION", '3.1.4' );
18
 
19
 
20
  define("ROBO_GALLERY", 1 );
3
  Plugin Name: Robo Gallery
4
  Plugin URI: https://robosoft.co/gallery
5
  Description: Gallery modes photo gallery, images gallery, video gallery, Polaroid gallery, gallery lighbox, portfolio gallery, responsive gallery
6
+ Version: 3.1.5
7
  Author: RoboSoft
8
  Author URI: https://robosoft.co/gallery
9
  License: GPLv3 or later
14
  if( !defined('WPINC') ) die;
15
  if( !defined("ABSPATH") ) exit;
16
 
17
+ define("ROBO_GALLERY_VERSION", '3.1.5' );
18
 
19
 
20
  define("ROBO_GALLERY", 1 );